Skip to content

Latest commit

 

History

History
288 lines (178 loc) · 17.1 KB

File metadata and controls

288 lines (178 loc) · 17.1 KB

@storefront-ui/react

3.0.0

Major Changes

  • #3281 15e4549 Thanks @FRSgit! - - [BREAKING][CHANGED] Padding size for square variant of SfButton changed

  • #3281 15e4549 Thanks @FRSgit! - - [BREAKING][CHANGED] removed flex classes from wrapper for slot in SfListItem

  • #3281 15e4549 Thanks @FRSgit! - - [BREAKING][CHANGED] Padding left and right in SfSelect changed from 14px and 16px to 12px

  • #3289 6e609e7 Thanks @FRSgit! - - [BREAKING][CHANGED] default badge background color. Add className !bg-secondary-700 explicitly in order to migrate.

  • #3316 939a982 Thanks @FRSgit! - - [BREAKING][CHANGED] upgrade to React 19. There are no breaking changes specific to SFUI library itself. To upgrade, please follow official React guide.

  • #3281 15e4549 Thanks @FRSgit! - - [BREAKING][CHANGED] Deprecated option arrowKeysOn from useTrapFocus is removed. This option was separated and replaced by two more specialised options arrowKeysLeftRight and arrowKeysUpDown. In order to migrate please one of those options or both.

  • #3289 6e609e7 Thanks @FRSgit! - - [BREAKING][CHANGED] Moved from rounded-md to rounded-xl as a default styling for SfInput.

  • #3289 6e609e7 Thanks @FRSgit! - - [BREAKING][CHANGED] Changed SfCheckbox default text color. To brind the previous behaviour back, apply !text-gray !disabled:text-gray-300 !hover:text-gray-300 to your SfCheckbox element.

  • #3313 80a44dd Thanks @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.

  • #3313 80a44dd Thanks @FRSgit! - - [BREAKING][CHANGED] Added tailwind-merge to all base components & blocks. From now on it will be easier to override default SFUI styles. See tailwind-merge docs for more details.

Minor Changes

Patch Changes

2.7.1

Patch Changes

  • #3263 f534058 Thanks @lsliwaradioluz! - [FIXED] Fixed <SfSelect /> placeholder not appearing initially when no value had been selected.

2.7.0

Minor Changes

  • #3148 34b7107 Thanks @Razz21! - [CHANGED] Implemented use client directive in components:
    • SfAccordionItem
    • SfDrawer
    • SfDropdown
    • SfModal
    • SfRatingButton
    • SfScrollable
    • SfSelect
    • SfTextarea
    • SfTooltip

Patch Changes

2.7.0-rc.1

Patch Changes

2.7.0-rc.0

Minor Changes

  • #3148 34b7107 Thanks @Razz21! - [CHANGED] Implemented use client directive in components:
    • SfAccordionItem
    • SfDrawer
    • SfDropdown
    • SfModal
    • SfRatingButton
    • SfScrollable
    • SfSelect
    • SfTextarea
    • SfTooltip

2.6.4

Patch Changes

2.6.3

Patch Changes

2.6.2

Patch Changes

2.6.1

Patch Changes

2.6.0

Minor Changes

Patch Changes

2.5.0

Minor Changes

Patch Changes

  • Updated dependencies [aa9c2f328]:
    • @storefront-ui/shared@2.5.0

2.4.1

Patch Changes

  • fixing publish error with workspaces protocol handling

2.4.0

Minor Changes

Patch Changes

2.3.1 (2023-06-08)

Bug fixes

  • fix package cross-dependencies that caused released package to fail

2.3.0 (2023-06-07)

Components

  • SfBadge

Improvements

  • useScrollable: add missing methods, remove prop getter and add containerRef

Bug fixes

  • SfInput: replace div element with dynamic WrapperTag, remove spans around slots, styling issues
  • Breadcrumbs: replace anchor from last item to span
  • SfButton: ring border fixed
  • Filters: checkbox and radio components selecting, styling issues
  • Card Feature: styling issues
  • Icons: visibility on the list

2.2.1 (2023-05-24)

Overview

This is a patch release containing bug fixes to SFUI2.

Bug fixes

  • enable CJS support introduced by react-merge-refs dependency (#2699, c1c5b5fee).

2.2.0 (2023-05-11)

Improvements

  • Order Summary - alerts

Bug fixes

  • SfSelect chevron rotates on blur (#2569)
  • SfScrollable: general improvement
  • MegaMenu: styling issues and keyboard navigation
  • Pagination: improved mobile version
  • Order Summary: styling issues
  • Alert: styling issues
  • NavbarTop: double login button
  • Filters: issues with sort by and clear all

2.1.0 (2023-04-18)

Base UI Elements

  • SfScrollable

Hooks

  • useScrollable

Improvements

  • Modal - added animated block.

2.0.0 (2023-03-23)

Base components

  • AccordionItem component
  • Button component
  • Checkbox component
  • Checkbox
  • Chip component
  • Counter component
  • Drawer component
  • Dropdown component
  • IconBase component
  • Input component
  • Link component
  • ListItem component
  • LoaderCircular component
  • LoaderLinear component
  • Modal component
  • ProgressCircular component
  • ProgressLinear component
  • Radio component
  • Rating component
  • Select component
  • Switch component
  • Thumbnail component
  • Tooltip component

Hooks

  • useDisclosure
  • useDropdown
  • usePopover
  • useTooltip
  • useTrapFocus