Releases: vuestorefront/storefront-ui
@storefront-ui/[email protected]
@storefront-ui/[email protected]
Major Changes
-
#2885
a7e88e6Thanks @FRSgit! - - [BREAKING][CHANGED] Padding size for square variant of SfButton changed -
#2885
a7e88e6Thanks @FRSgit! - - [BREAKING][CHANGED] removed flex classes from wrapper for slot in SfListItem -
#2885
a7e88e6Thanks @FRSgit! - - [BREAKING][CHANGED] Padding left and right in SfSelect changed from 14px and 16px to 12px -
#2885
a7e88e6Thanks @FRSgit! - - [BREAKING][CHANGED] default badge background color. Add className!bg-secondary-700explicitly in order to migrate. -
#3333
2b3ad4aThanks @FRSgit! - - [CHANGED][BREAKING] UseuseIdmethod coming fromvuepackage instead of custom implementation. To migrate:- Update your
vuedependency version to at least 3.5.0. - Update every
useIdusage as follows:
-import { useId } from '@storefront-ui/vue'; +import { useId } from 'vue';
- Update your
-
#2885
a7e88e6Thanks @FRSgit! - - [BREAKING][UPDATED]@vueuse/corepackage to major version 12 with the biggest change being dropped support for Vue 2. Please consult@vuseuse/corerelease notes to see the details. -
#2885
a7e88e6Thanks @FRSgit! - - [BREAKING][CHANGED] Deprecated optionarrowKeysOnfromuseTrapFocusis removed.
This option was separated and replaced by two more specialised optionsarrowKeysLeftRightandarrowKeysUpDown.
In order to migrate please one of those options or both. -
#2885
a7e88e6Thanks @FRSgit! - - [BREAKING][CHANGED] Moved fromrounded-mdtorounded-xlas a default styling forSfInput. -
#2885
a7e88e6Thanks @FRSgit! - - [BREAKING][CHANGED] ChangedSfCheckboxdefault text color. To brind the previous behaviour back, apply!text-gray !disabled:text-gray-300 !hover:text-gray-300to yourSfCheckboxelement. -
#2885
a7e88e6Thanks @FRSgit! - - [BREAKING][CHANGED] Migrate to Tailwind@4. SFUI tries to defer some of Tailwinds' breaking changes, e.g. the default outline width or border-radius size scale, but not everything was possible. Please refer to all breaking changes described in the Tailwind upgrade guide and updated storefront-ui docs. -
#3332
55fa6a2Thanks @FRSgit! - - [FIXED][BREAKING] From now on,onClosecallback inuseDropdownwill be triggered only if outside click triggers closing of the dropdown. Previously onClose was also triggered when the dropdown was already closed. -
#2885
a7e88e6Thanks @FRSgit! - - [BREAKING][CHANGED] Addedtailwind-mergeto all base components & blocks. From now on it will be easier to override default SFUI styles. Seetailwind-mergedocs for more details.
Minor Changes
-
#3334
a708eafThanks @FRSgit! - - [ADDED] Support for settingidattribute on the content inSfTooltipcomponent.- [ADDED] Possibility to open tooltip programatically via
modelValueprop. - [ADDED]
useTooltipnow closes tooltip onEscapekeypress.
- [ADDED] Possibility to open tooltip programatically via
-
#2885
a7e88e6Thanks @FRSgit! - - [ADDED]blankprop for SfButton component that eases out creating custom buttons. See documentation for more details.
Patch Changes
-
#3325
023abe7Thanks @FRSgit! - - [FIXED] allow to change defaultdata-testidattribute onSfButtonandSfBadgecomponents. -
Updated dependencies [
a7e88e6,a7e88e6,a7e88e6,a7e88e6]:- @storefront-ui/[email protected]
- @storefront-ui/[email protected]
@storefront-ui/[email protected]
@storefront-ui/[email protected]
@storefront-ui/[email protected]
@storefront-ui/[email protected]
@storefront-ui/[email protected]
@storefront-ui/[email protected]
Major Changes
-
#2885
a7e88e6Thanks @FRSgit! - - [BREAKING][CHANGED] Migrate to Tailwind@4 new configuration syntax. If you're using Tailwind@3, please stick to@storefront-ui/tailwind-configin version 2.x.- [BREAKING][CHANGED] Introduce OOTB dark mode handling instead of relying on
@mertasan/tailwindcss-variablespackage. - [REMOVED] The
@mertasan/tailwindcss-variablesdependency has been removed as Tailwind support CSS variables out of the box now.
- [BREAKING][CHANGED] Introduce OOTB dark mode handling instead of relying on
-
#2885
a7e88e6Thanks @FRSgit! - - [BREAKING][CHANGED] The default color palette forprimary,neutralandsecondarycolors. Copy old color palette to your localtailwind.config.jsif you need to keep some of them.
Also, now the palette is converted from rgb to oklch colors to fit with tailwind 4.
Minor Changes
- #2885
a7e88e6Thanks @FRSgit! - - [ADDED] Add@tailwindcss/container-queries. Now container queries are available out-of-the-box when using@storefront-ui/tailwind-config.
Patch Changes
- Updated dependencies [
a7e88e6]:- @storefront-ui/[email protected]
@storefront-ui/[email protected]
@storefront-ui/[email protected]
Major Changes
- #2885
a7e88e6Thanks @FRSgit! - - [BREAKING][CHANGED] Migrate to Tailwind@4. SFUI tries to defer some of Tailwinds' breaking changes, e.g. the default outline width or border-radius size scale, but not everything was possible. Please refer to all breaking changes described in the Tailwind upgrade guide and updated storefront-ui docs.