Skip to content

Conversation

alionazherdetska
Copy link
Contributor

@alionazherdetska alionazherdetska commented Aug 19, 2025

📄 Problem

The overflow utilities component in Storybook has empty label options in the dropdown controls, similar to the issue that was recently addressed for position utilities in PR #6002. This creates a poor user experience as users can't understand what the empty option represents.
image

Description

In this PR I replaced empty string options with 'unset' in all overflow controls (overflow, overflowX, overflowY).


📝 Checklist

  • ✅ My code follows the style guidelines of this project
  • 🛠️ I have performed a self-review of my own code
  • 📄 I have made corresponding changes to the documentation
  • ⚠️ My changes generate no new warnings or errors
  • 🧪 I have added tests that prove my fix is effective or that my feature works
  • ✔️ New and existing unit tests pass locally with my changes

@alionazherdetska alionazherdetska requested review from a team as code owners August 19, 2025 13:33
Copy link

changeset-bot bot commented Aug 19, 2025

🦋 Changeset detected

Latest commit: 772213a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@swisspost/design-system-documentation Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

@swisspost-bot
Copy link
Contributor

swisspost-bot commented Aug 19, 2025

Related Previews

@alionazherdetska alionazherdetska changed the title chore(styles): replaced empty label option for overflow utilities with unset for better clarity chore(styles): replace empty label option for overflow utilities with unset for better clarity Aug 19, 2025
@alionazherdetska alionazherdetska merged commit d39ce84 into main Aug 20, 2025
17 checks passed
@alionazherdetska alionazherdetska deleted the replace-an-empty-label-option-with-unset-for-overflow-utilities branch August 20, 2025 09:09
gfellerph pushed a commit that referenced this pull request Aug 20, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`main` is currently in **pre mode** so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
`changeset pre exit` on `main`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## @swisspost/[email protected]

### Minor Changes

- Added generated SCSS files that expose each icon as a CSS custom
property (data URL). These SCSS files are included in the published
package and can be imported into projects using Sass. (by
[@alionazherdetska](https://github.com/alionazherdetska) with
[#6039](#6039))

## @swisspost/[email protected]

### Patch Changes

-   Updated dependencies:
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

-   Updated dependencies:
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

-   Updated dependencies:
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

-   Updated dependencies:
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

- Reverted Tailwind token generation format change introduced for
Tailwind v4 compatibility. This restores the previous format compatible
with Tailwind v3. (by
[@alionazherdetska](https://github.com/alionazherdetska) with
[#6059](#6059))

## @swisspost/[email protected]



## @swisspost/[email protected]

### Patch Changes

-   Updated dependencies:
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

- Replaced empty label option for overflow utilities with `unset` for
better clarity across all overflow controls (`overflow`, `overflowX`,
`overflowY`). (by
[@alionazherdetska](https://github.com/alionazherdetska) with
[#6049](#6049))
-   Updated dependencies:
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

-   Updated dependencies:
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

-   Updated dependencies:
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

-   Updated dependencies:
    -   @swisspost/[email protected]

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants