diff --git a/.changeset/long-shrimps-roll.md b/.changeset/long-shrimps-roll.md new file mode 100644 index 0000000000..9b3d2ec265 --- /dev/null +++ b/.changeset/long-shrimps-roll.md @@ -0,0 +1,6 @@ +--- +'@swisspost/design-system-documentation': minor +'@swisspost/design-system-styles': minor +--- + +Updated `.form-select` select to v2. diff --git a/.changeset/loud-peaches-hang.md b/.changeset/loud-peaches-hang.md new file mode 100644 index 0000000000..5cdda45838 --- /dev/null +++ b/.changeset/loud-peaches-hang.md @@ -0,0 +1,5 @@ +--- +'@swisspost/design-system-styles': major +--- + +Removed size variants for form select. diff --git a/packages/documentation/src/stories/components/forms/select/select.docs.mdx b/packages/documentation/src/stories/components/forms/select/select.docs.mdx index 78c610ee40..8a354f06f3 100644 --- a/packages/documentation/src/stories/components/forms/select/select.docs.mdx +++ b/packages/documentation/src/stories/components/forms/select/select.docs.mdx @@ -23,8 +23,7 @@ Custom `` when th -### Sizing - -
-

We're deprecating the regular and medium sizes for text input, textarea and select.

-

This will make it easier to select the appropriate size variant: small for internal applications, large for external applications.
`.form-select-rg` and `.form-select-md` are deprecated and will be removed in the next major version.

-
- -The size can be adjusted, by simply adding one of the following four classes: - -- Small: `.form-select-sm` -- Regular: `.form-select-rg` -- Medium: default or `.form-select-md` -- Large: `.form-select-lg` - -
- Regular and medium size classes are not available on floating-label elements -
- - - ### Validation Simply add the classes `is-valid` or `is-invalid` to the `