- #3369
9c49505
Thanks @castastrophe! - Remove the storybook assets from the shipped output for components
- Updated dependencies [
9c49505
]:- @spectrum-css/checkbox@9.2.0
- @spectrum-css/divider@3.2.0
- @spectrum-css/switch@5.2.0
- @spectrum-css/icon@7.2.0
- @spectrum-css/tray@3.2.0
- #3300
89797d0
Thanks @castastrophe! - Add passthrough markers to prevent unnecessary warnings about unused custom properties
-
#3107
83d5a17
Thanks @castastrophe! - Incorporate glob export for the dist directory in all component packages as well as glob markdown exports (to include both CHANGELOG and READMEs).Sort keys in the package.json assets.
-
Updated dependencies [
83d5a17
]:- @spectrum-css/checkbox@9.1.3
- @spectrum-css/divider@3.1.3
- @spectrum-css/switch@5.1.3
- @spectrum-css/icon@7.1.4
- @spectrum-css/tray@3.1.3
-
#3045
5d6e03f
Thanks @castastrophe! - Improve changeset suggestions by using exports instead of files in component packages -
Updated dependencies [
5d6e03f
]:- @spectrum-css/checkbox@9.1.2
- @spectrum-css/divider@3.1.2
- @spectrum-css/switch@5.1.2
- @spectrum-css/icon@7.1.3
- @spectrum-css/tray@3.1.2
- #2980
4b8e97e
Thanks @jawinn! - Increases the specificity for some icon related selectors, so the inclusion order of the icon component dependency does not affect the styles. Fixes a bug with how the picker displayed on the docs site UI for some components.
- #2842
4cd3a15
Thanks @castastrophe! - Updated CSSNano plugin to toggle reduceIdent off to prevent invalid abstractions from breaking named grid templates.
-
#2757
e945e26
Thanks @rise-erpelding! - Prevents overlap of checkbox and icon if both are used in a menu item.Also reduces a significant number of variants by consolidating menus, includes a refactor to enhance menu item understanding, and expands Chromatic testing coverage.
-
#2677
d83200c
Thanks @castastrophe! - Leveral local workspace versioning to prevent misalignment -
Updated dependencies [
d83200c
]:- @spectrum-css/checkbox@9.1.1
- @spectrum-css/divider@3.1.1
- @spectrum-css/switch@5.1.1
- @spectrum-css/icon@7.1.1
- @spectrum-css/tray@3.1.1
- #2740
c0dd6a4
Thanks @jawinn! - Build change to remove thepostcss-preset-env
polyfill for the dist output of:not
selectors containing multiple selectors, to avoid an unintended increase in specificity, which caused some visual regressions.
- #2616
7f45ea9
Thanks @castastrophe!
Output for all component CSS files is now being run through a lightweight optimizer (cssnano) which significantly reduces unnecessary whitespace. These changes reduce file size but should not have any impact on the rendering of the component. By removing unnecessary whitespace from var functions, we are making it easier to effectively minify our provided CSS assets.
- Updated peerDependencies [
7f45ea9
]:- @spectrum-css/checkbox@>=9
- @spectrum-css/divider@>=3
- @spectrum-css/icon@>=7
- @spectrum-css/switch@>=5
- @spectrum-css/tray@>=3
- @spectrum-css/tokens@>=14
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
🗓 2024-04-18 • 📝 Commits
*feat!: postcss config build and script; remove gulp (#2466)(b0f337b), closes#2466
###
🛑 BREAKING CHANGES
*
- Removes component-builder & component-builder-simple for script leveraging postcss
- Imports added to index.css and themes/express.css
🗓 2024-03-07 • 📝 Commits
🗓 2024-02-26 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2024-02-16 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2024-02-15 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2024-02-06
Note: Version bump only for package @spectrum-css/menu
🗓 2024-02-05 • 📝 Commits
- **menu:**use higher specificity to provide correct styling for disabled states(36e0183)
🗓 2024-01-16 • 📝 Commits
*remove theme files without content(1eadd4f)
*fix(menu)!: reimplement text truncating (#2299)(9752d02), closes#2299
###
🛑 BREAKING CHANGES
*
removes flex-based display, renames classes, reintroduces truncation
Additionally:
- fix(menu): truncating class
- docs(menu): add truncating example
- docs(menu): improve docs
- feat(menu): add truncate example to storybook
- refactor(menu): remove flex from itemLabel
- feat(menu): wip adds truncating to all stories
- refactor(menu): removes uneeded code
- refactor(menu): removes hard coded ellipsis
- docs(menu): improve description
- chore(menu): story indenting
- docs(menu): improve storybook max-width
- refactor(menu): improves story
- docs(menu): adds to migration guide
- fix(menu): post rebase issues
🗓 2023-12-12 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-12-04 • 📝 Commits
- **menu:**tray submenus(042ec45)
- **menu:**updated sizing of tray submenu back icon(3a5aebd)
🗓 2023-11-15 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-11-13 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-11-09 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-10-13 • 📝 Commits
🗓 2023-09-26 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-09-18 • 📝 Commits
🗓 2023-09-14 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-09-13 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-09-07 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-08-31 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-08-31 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-08-29 • 📝 Commits
*gulp and build updates (#2121)(03a37f5), closes#2099
🗓 2023-08-22 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-08-22 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-08-18 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-08-16 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-08-10 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-08-07 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-08-04 • 📝 Commits
-
**menu:**migrate to spectrum-tokens + add new features (#1942)(d961abd)
### 🛑 BREAKING CHANGES * **menu:** migrates the Menu to `@adobe/spectrum-tokens`
-
feat(menu)!: migrate to spectrum-tokens
-
docs(site): update menu usage in the docs site
-
fix(menu): use correct guidelines link in docs
-
feat(menu): make medium size styles the default
Make .spectrum-Menu--sizeM the default; move its custom properties to the parent class, and move sizing styles underneath the parent class custom property definitions.
- fix(menu): set color property where fill is used
Add color declaration wherever there is 'fill', per SWC request. Because "using fill to set the colour of icons in the menu css isn't compatible with the way we process our icons, so the icons aren't colouring properly or changing depending on the state".
- fix(menu): checkmark margin to fix alignment of selected items
Selected menu items with checkmark were shifting 2 pixels as compared to the non-selected menu items. Looking over the updated design, the text-to-control-* tokens are used for the space between the checkmark and the text.
- fix(menu): section heading top and bottom spacing
When a section heading was above menu items, it previously looked strange because of the lack of space. The sectionHeading also needs top and bottom padding.
-
fix(menu): organize stories under components category
-
feat(menu): simplify cjk style rules
Replace unnecessary CJK style rules with a change to the relevant custom property values.
- refactor(menu): simplify high contrast mode styles with fixes
- Simplify high contrast mode styles. Less custom properties are needed.
- Fix for hover causing things to disappear on collapsible items. Fix may need to be replaced later with one that addresses the regular styles for children of menu-item being applied to the nested menu items in the collapsible variant.
- Remove skin.css as part of tokens migration. Its rules should already be handled now by the index.css.
- feat(menu): create new stories and finalize existing stories
Updates the Menu stories to account for additional variants on the docs and changes to markup. Adds several new stories.
- fix(menu): update for selected states and keyboard focus
- Use state class naming instead of modifier class naming for is-selected and is-selectable.
- Show focus indicator line only with :focus-visible for keyboard focus
- Simplify RTL/LTR change of focus indicator with scalar custom prop
- feat(menu): story for drill-in variant
Add story for drill-in variant. Also makes isSelectable false by default and change some stories to set it to false to better align with docs examples.
- fix(menu): use child combinator to limit styles applied for nested
In the collapsible variant, style rules applying to children of a menu item were also applying to the nested menu child items. This was causing some issues with high contrast hovers and could also be noticed by changing a mod like --mod-menu-item-label-content-color-hover and then hovering over the parent menu item in the collapsible variant (this would also change the color of all the child menu items).
- docs(menu): remove submenu from drill-in example
The displayed submenu for the drill-in example was not how submenus should be displayed per the guidelines. They need to be positioned, and are shown as being within another popover. Showing this adjacent menu like this could cause some confusion as to its usage; the adjacent menu was not positioned properly and does not have any separate styles within the CSS for doing so.
- fix(menu): collapsible - remove extra indentation for sub items
For the collapsible variant: The child menu items under a parent menu item that contains a workflow icon should not show extra indentation, otherwise it looks like a different tier when next to a menu item without an icon. Confirmed with design team.
All sub-items are now indented to after the chevron and the start of the parent item text/heading.
- feat(menu): add collapsible story
Add Collapsible story to menu in Storybook, based on example from docs example.
- feat(menu): add t-shirt sizing to storybook
Add control for t-shirt sizing to menu stories. Adds the size class to various elements.
- fix(menu): fixes for menu usage in docs site search and popovers
Fixes for several issues with the menu that is displayed in the docs site search results, and theme/scale/direction popovers.
- Makes the adjacentText classes the default margin, allowing them to be removed (which fixes checkbox spacing in theme/scale popovers).
- Fixes extra top and bottom margin appearing in menu for docs theme/scale popovers. This was showing user agent values for top and bottom margin. In production, they were previously set to a popover padding token, which added more space than on the design (popover component already has padding).
- Fixes search results menu showing incorrectly because of difference in the JS created markup related to section headers.
-
chore(menu): manual version increase for beta release
-
fix(menu): spacing adjustments including divider inline margin
- Includes spacing on left and right of divider to match the same spacing used on left and right of menu item labels and heading.
- Remove extra padding on presentational list items used for section header and divider examples.
- Simplify rules for padding on sectionHeading. Default inline padding and remove inline padding on collapsible variant.
- feat(menu): use top to checkmark token and handle wrapping text
- Use new spectrum-menu-item-top-to-selected-icon-* tokens
- Handle alignment of icon and checkmark when text is wrapping, so icons are aligned top and not center, and stay in alignment with each other with use of new token.
- Updates stories to make sure edge case with selected + icon + wrapping text is represented.
- fix(menu): storybook - ensure long text wraps on wide screens
Wrapping text examples need a max-width on the container to ensure that they are wrapping when stories are viewed at higher resolutions.
Also updates generated mods file.
- refactor(menu): remove two withAdjacentIcon classes
Per PR feedback, these classes appear to be no longer needed as they are using the same token value.
-
chore(menu): new beta release
-
fix(menu): remove excess margin from drill-in chevron
Zero out the margin-inline-end for the chevron used at the end of the drill-in menu items.
-
chore(menu): version increase for beta release
-
fix(menu): divider margin update and new tokens package version
Update divider margin-block to agree with newly added token for the divider height. Sets minimum tokens package version to 11.0.2 where this --spectrum-menu-item-section-divider-height token was added.
- fix(menu): use smaller divider instead of medium
Replace medium divider with small divider in examples and storybook markup. Updates migration guide to note the change. Removes unnecessary large divider possibility from CSS, as that should never be used here according to divider guidelines.
- docs(menu): fix migration guide not appearing and add docs
Fix migration guide section no appearing in docs because it was named 'section' and not 'sections' in the YML.
Adds new standard section about -mod custom properties.
- chore(menu): manual version increase + update tokens dep
🗓 2023-08-03 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-07-24 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-07-17 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-07-14 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-07-11 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-06-29 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-06-28 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-06-21 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-06-15 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-06-12 • 📝 Commits
*restore files to pre-formatted state(491dbcb)
🗓 2023-06-02 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-06-01 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-05-30 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-05-23 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-05-23 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-05-22 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-05-18 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-05-17 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-05-11 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-05-10 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-05-10 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-05-08 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-05-04 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-05-02 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-04-26 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-04-25 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-04-25 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-04-25 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-04-21 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-04-20 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-04-17 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-04-17 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-04-14 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-04-03 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-03-13 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-03-09 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-02-21 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-02-06 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-02-01 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-02-01 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-01-27 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-01-25 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-01-18 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2023-01-13 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-12-16 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-11-11 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-06-16 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-06-07 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-05-09 • 📝 Commits
- menu WHCM (feee3be)
🗓 2022-04-28 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-04-11 • 📝 Commits
-
added margin back for dividers in menu (e4feb9a)
-
fix!: use divider component in menu, closes #1371 (5c901f1), closes #1371
- Add
.spectrum-Divider
andspectrum-Divider--sizeM
classes tospectrum-Menu-divider
🗓 2022-04-08 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-03-30 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-03-22 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-03-17 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-03-07 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-03-07 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-02-23 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-02-16 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-01-26 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2022-01-05 • 📝 Commits
- update peer dependencies (97810cf)
🗓 2022-01-05 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2021-12-14 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2021-12-06 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2021-11-16 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2021-11-10 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2021-11-09 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2021-11-08 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2021-10-25 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2021-09-29 • 📝 Commits
- updating version number on vars (f535b49)
🗓 2021-08-17 • 📝 Commits
- adjust menu item selectable padding again (034a2df)
🗓 2021-08-16 • 📝 Commits
- added padding to unselected listitem back (f167013)
🗓 2021-07-29 • 📝 Commits
- moved menu item selected checkmark back (1fa03a6)
🗓 2021-06-17 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2021-05-12 • 📝 Commits
- import scales since padding-left can change according to scale (c9f0162)
🗓 2021-04-27 • 📝 Commits
- updated progresscircle to use correct t-shirt tokens (3dbed89)
🗓 2021-04-15 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2021-03-10 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2021-02-02 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2020-12-04 • 📝 Commits
- correct Menu icon gap (e68bc31)
- correct Menu left padding (1ea92ac)
- make Menu work again (35d1302)
- update main, resolved conflicts (d7880a2)
🗓 2020-10-20 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2020-09-23 • 📝 Commits
- change workflow icon size to medium for most of the examples (#962) (db7b8b2)
- replacing deprecated tokens from menu (6281862)
- wip fix more components (b74dbb8)
🗓 2020-05-14 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2020-03-12 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2020-03-09 • 📝 Commits
- make Menu support RTL (1d3391b)
🗓 2020-03-06 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2020-02-10 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2020-01-23 • 📝 Commits
🗓 2019-12-14 • 📝 Commits
🗓 2019-11-08 • 📝 Commits
Note: Version bump only for package @spectrum-css/menu
🗓 2019-11-07 • 📝 Commits
🗓 2019-10-08