@nldd/design-system 0.8.94 → 0.8.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +114 -21
- package/custom-elements.json +295 -311
- package/dist/assets/styles/shadow-resets.d.ts +1 -1
- package/dist/assets/styles/shadow-resets.js +1 -1
- package/dist/components/actions/button/button.js +3 -3
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.js +273 -273
- package/dist/components/actions/button-bar/button-bar.styles.js +34 -34
- package/dist/components/actions/button-group/button-group.styles.js +11 -11
- package/dist/components/actions/icon-button/icon-button.js +3 -3
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +203 -203
- package/dist/components/actions/menu/menu.d.ts +3 -3
- package/dist/components/actions/menu/menu.js +15 -15
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +46 -41
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/split-button/split-button.js +3 -3
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +30 -30
- package/dist/components/actions/toolbar/toolbar.d.ts +8 -1
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +46 -26
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +57 -56
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/components.js +4405 -4267
- package/dist/components/content/avatar/avatar.d.ts +1 -1
- package/dist/components/content/avatar/avatar.js +3 -3
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +39 -39
- package/dist/components/content/avatar-group/avatar-group.styles.js +36 -36
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +15 -14
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +36 -36
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +16 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.js +14 -42
- package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +12 -0
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.js +2 -2
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/icon/icon.styles.js +48 -48
- package/dist/components/content/identity/identity.styles.js +17 -17
- package/dist/components/content/image/image.js +3 -3
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.js +153 -153
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +42 -40
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/tag/tag.styles.js +95 -95
- package/dist/components/content/text/text.styles.js +23 -23
- package/dist/components/content/title/title.styles.js +38 -38
- package/dist/components/content/token/token.styles.js +4 -4
- package/dist/components/content/tooltip/tooltip.js +5 -5
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +21 -18
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/{decorate-lwt_OrAG.js → decorate-CO88j7Lc.js} +1 -1
- package/dist/components/{dist-M6GKopqu.js → dist-BWEAw34D.js} +1 -1
- package/dist/components/{dist-OlffRM7-.js → dist-BWRYv3Mp.js} +1 -1
- package/dist/components/{dist-CSYXsT7W.js → dist-Bi4EHsFY.js} +2 -2
- package/dist/components/{dist-B5ie2Bo9.js → dist-C3uWRipu.js} +1 -1
- package/dist/components/{dist-CoUVHSu-.js → dist-CH9m014O.js} +1 -1
- package/dist/components/{dist-Dn3c5gfb.js → dist-CpW8MF-L.js} +42 -27
- package/dist/components/{dist-RPaf2J9c.js → dist-CvL6_ezZ.js} +2 -2
- package/dist/components/{dist-CGOykrJw.js → dist-DMHTTJRJ.js} +2 -2
- package/dist/components/{dist-BUu-NW5O.js → dist-DTOshgo1.js} +1 -1
- package/dist/components/{dist-Dxn9Up8K.js → dist-DV6Mp5N1.js} +3 -3
- package/dist/components/{dist-CQzaKTa8.js → dist-PlhQXXtE.js} +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +5 -5
- package/dist/components/forms/validation-list/validation-list.styles.js +7 -7
- package/dist/components/{icon-DWNVcttg.js → icon-DQHT2C7z.js} +71 -51
- package/dist/components/{icon-button-DHzLMmj0.js → icon-button-mevRsl4C.js} +283 -280
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +31 -16
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +2 -2
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +30 -30
- package/dist/components/inputs/combo-box/combo-box.js +2 -2
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +30 -30
- package/dist/components/inputs/date-field/date-field.js +4 -4
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +46 -46
- package/dist/components/inputs/date-picker/date-picker.js +3 -3
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +65 -65
- package/dist/components/inputs/dropdown/dropdown.js +2 -2
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +66 -66
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +33 -30
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +3 -3
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +30 -30
- package/dist/components/inputs/number-field/number-field.js +3 -3
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +18 -18
- package/dist/components/inputs/password-field/password-field.js +2 -2
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +37 -37
- package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +29 -13
- package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +2 -2
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +30 -30
- package/dist/components/inputs/segmented-control/segmented-control.js +4 -4
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +108 -108
- package/dist/components/inputs/stepper/stepper.styles.js +10 -10
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +39 -31
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +7 -7
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +138 -138
- package/dist/components/inputs/text-field/text-field.js +2 -2
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +27 -27
- package/dist/components/inputs/time-field/time-field.js +4 -4
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +40 -40
- package/dist/components/inputs/time-picker/time-picker.js +4 -4
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +30 -30
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +145 -145
- package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js +7 -3
- package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +28 -28
- package/dist/components/layout/app-view/app-view.d.ts +1 -1
- package/dist/components/layout/app-view/app-view.js +1 -1
- package/dist/components/layout/app-view/app-view.styles.js +3 -3
- package/dist/components/layout/box/box.styles.js +13 -13
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +24 -21
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.js +6 -6
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +19 -19
- package/dist/components/layout/container/container.d.ts +2 -2
- package/dist/components/layout/container/container.js +30 -30
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/container/container.styles.js +125 -125
- package/dist/components/layout/page/page.js +5 -5
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.js +20 -20
- package/dist/components/layout/page-footer/page-footer.js +4 -4
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +26 -26
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +3 -3
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +17 -17
- package/dist/components/layout/page-sections/hero/hero.js +6 -6
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.js +74 -74
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +3 -3
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +17 -17
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +3 -3
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +17 -17
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +5 -5
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +29 -27
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +3 -3
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +17 -17
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +3 -3
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +17 -17
- package/dist/components/layout/popover/popover.d.ts +1 -1
- package/dist/components/layout/popover/popover.js +5 -5
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +4 -3
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.js +4 -4
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +8 -8
- package/dist/components/layout/spacer/spacer.styles.js +76 -76
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +5 -5
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +4 -4
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +12 -12
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +6 -6
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +4 -4
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +4 -4
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +6 -6
- package/dist/components/layout/window/window.d.ts +1 -1
- package/dist/components/layout/window/window.js +1 -1
- package/dist/components/layout/window/window.styles.d.ts.map +1 -1
- package/dist/components/layout/window/window.styles.js +3 -1
- package/dist/components/layout/window/window.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js +8 -8
- package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.styles.js +9 -9
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +8 -8
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +10 -10
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js +9 -9
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +14 -14
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.js +20 -20
- package/dist/components/lists-and-tables/cells/{timeline-track-cell/timeline-track-cell.d.ts → step-cell/step-cell.d.ts} +19 -18
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{timeline-track-cell/timeline-track-cell.js → step-cell/step-cell.js} +34 -33
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js +184 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.d.ts +4 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{timeline-track-cell/timeline-track-cell.template.js → step-cell/step-cell.template.js} +10 -10
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +9 -9
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +37 -37
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +8 -8
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +37 -37
- package/dist/components/lists-and-tables/list/list.js +7 -7
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +49 -48
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +9 -9
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +69 -67
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +30 -30
- package/dist/components/lists-and-tables/table/table.js +2 -2
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +21 -21
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +3 -3
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +12 -12
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +51 -49
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +23 -17
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +29 -29
- package/dist/components/navigation/skip-link/skip-link.styles.js +8 -8
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +53 -53
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +3 -3
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +50 -33
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +3 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
- package/dist/components/{shadow-resets-aG-rgyNQ.js → shadow-resets-CPa58rmc.js} +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +46 -46
- package/dist/components/status-and-feedback/badge/badge.js +2 -2
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +120 -119
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +49 -49
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +19 -19
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +12 -12
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +58 -58
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +6 -6
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.js +45 -39
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notifications-area.js +2 -2
- package/dist/components/status-and-feedback/notification/notifications-area.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +121 -119
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +58 -58
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +36 -36
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +142 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts +9 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js +8 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.js +248 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts +3 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +294 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.template.d.ts +5 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.template.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js +69 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -0
- package/dist/components/{visibility-mixin-BU1vIMW7.js → visibility-mixin-Crbt8PFP.js} +1 -1
- package/dist/components/{with-translations-Dt2DTXJF.js → with-translations-C8_0-9y8.js} +1 -1
- package/dist/css/document-reset.css +7 -0
- package/dist/css/rich-text.css +35 -34
- package/dist/css/variables.css +54 -410
- package/dist/nldd.min.js +4367 -4232
- package/dist/translations/en-US.js +5 -5
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.js +5 -5
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +5 -5
- package/dist/translations/nl.generated.js +2 -2
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.js +5 -5
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.js +5 -5
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/vue.d.ts +64 -65
- package/dist/utilities/codemirror/theme.js +17 -17
- package/dist/utilities/codemirror/theme.js.map +1 -1
- package/dist/utilities/page-section-mixin.js +3 -3
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/spacing-scale.d.ts +1 -1
- package/dist/utilities/spacing-scale.js +1 -1
- package/package.json +13 -11
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.d.ts +0 -2
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +0 -184
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.d.ts +0 -4
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts +0 -127
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.d.ts +0 -9
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.d.ts.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.js +0 -8
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.js.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js +0 -216
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.d.ts +0 -3
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.d.ts.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.js +0 -294
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.js.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.d.ts +0 -5
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.d.ts.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js +0 -69
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js.map +0 -1
|
@@ -7,17 +7,19 @@ export const listItemStyles = css `
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
:host {
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
10
|
+
--_list-item-background-color: transparent;
|
|
11
|
+
--_list-item-content-z-index: 0;
|
|
12
|
+
--_list-item-focus-z-index: 1;
|
|
13
|
+
--_list-item-indicator-z-index: calc(var(--_list-item-content-z-index) - 1);
|
|
14
14
|
/* Set from JS by the divider-start/divider-end markers; initial keeps
|
|
15
15
|
them guaranteed-invalid so the var() fallbacks below apply. */
|
|
16
|
-
--
|
|
17
|
-
--
|
|
16
|
+
--_list-item-divider-inset-start: initial;
|
|
17
|
+
--_list-item-divider-inset-end: initial;
|
|
18
|
+
--_list-item-md-padding-block: var(--primitives-space-10);
|
|
19
|
+
--_list-item-sm-padding-block: var(--primitives-space-6);
|
|
18
20
|
|
|
19
21
|
--context-list-item-size: var(--semantics-controls-md-min-size);
|
|
20
|
-
--context-cell-padding-block: var(--
|
|
22
|
+
--context-cell-padding-block: var(--_list-item-md-padding-block);
|
|
21
23
|
container-type: inline-size;
|
|
22
24
|
display: block;
|
|
23
25
|
width: 100%;
|
|
@@ -25,7 +27,7 @@ export const listItemStyles = css `
|
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
:host([size="sm"]) {
|
|
28
|
-
--context-cell-padding-block: var(--
|
|
30
|
+
--context-cell-padding-block: var(--_list-item-sm-padding-block);
|
|
29
31
|
--context-list-item-size: var(--semantics-controls-sm-min-size);
|
|
30
32
|
}
|
|
31
33
|
|
|
@@ -36,11 +38,11 @@ export const listItemStyles = css `
|
|
|
36
38
|
/* !important: shields the widening from consumer universal resets, which
|
|
37
39
|
beat normal :host declarations per CSS Scoping. A negative margin
|
|
38
40
|
cannot move inward — an inner element cannot reach outside the host. */
|
|
39
|
-
margin-inline: calc(-1 * var(--
|
|
41
|
+
margin-inline: calc(-1 * var(--semantics-list-items-indicator-inline-inset)) !important;
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
:host(.is-interactive) .list-item {
|
|
43
|
-
padding-inline: var(--
|
|
45
|
+
padding-inline: var(--semantics-list-items-indicator-inline-inset);
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
:host(.is-interactive) .list-item:has(> .list-item__action) {
|
|
@@ -63,7 +65,7 @@ export const listItemStyles = css `
|
|
|
63
65
|
|
|
64
66
|
:host(:focus-within) {
|
|
65
67
|
position: relative;
|
|
66
|
-
z-index: var(--
|
|
68
|
+
z-index: var(--_list-item-focus-z-index);
|
|
67
69
|
}
|
|
68
70
|
|
|
69
71
|
/* The focus ring reaches past the row's own box, and a branch paints its
|
|
@@ -72,7 +74,7 @@ export const listItemStyles = css `
|
|
|
72
74
|
the row settles it in both directions: with focus in a child, the rule
|
|
73
75
|
matches this row too, and the group (later in the tree) still wins. */
|
|
74
76
|
:host(:focus-within) .list-item {
|
|
75
|
-
z-index: var(--
|
|
77
|
+
z-index: var(--_list-item-focus-z-index);
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
:host(.is-dragging) {
|
|
@@ -126,7 +128,7 @@ export const listItemStyles = css `
|
|
|
126
128
|
background: none;
|
|
127
129
|
width: 100%;
|
|
128
130
|
padding: 0;
|
|
129
|
-
padding-inline: var(--
|
|
131
|
+
padding-inline: var(--semantics-list-items-indicator-inline-inset);
|
|
130
132
|
flex-direction: row;
|
|
131
133
|
align-items: stretch;
|
|
132
134
|
text-align: start;
|
|
@@ -167,10 +169,10 @@ export const listItemStyles = css `
|
|
|
167
169
|
display: block;
|
|
168
170
|
position: absolute;
|
|
169
171
|
inset-block: 0;
|
|
170
|
-
inset-inline: calc(-1 * var(--
|
|
171
|
-
z-index: var(--
|
|
172
|
-
border-radius: var(--
|
|
173
|
-
background-color: var(--
|
|
172
|
+
inset-inline: calc(-1 * var(--semantics-list-items-indicator-inline-inset));
|
|
173
|
+
z-index: var(--_list-item-indicator-z-index);
|
|
174
|
+
border-radius: var(--semantics-list-items-indicator-corner-radius);
|
|
175
|
+
background-color: var(--_list-item-background-color);
|
|
174
176
|
pointer-events: none;
|
|
175
177
|
}
|
|
176
178
|
|
|
@@ -183,18 +185,18 @@ export const listItemStyles = css `
|
|
|
183
185
|
current, so a segmented row paints without one on the host. */
|
|
184
186
|
:host(:is([selected], [checkbox][checked])),
|
|
185
187
|
:host(:is([current], [data-current])) {
|
|
186
|
-
--
|
|
187
|
-
--context-content-color: var(--
|
|
188
|
-
--context-content-secondary-color: var(--
|
|
188
|
+
--_list-item-background-color: var(--semantics-list-items-is-selected-background-color);
|
|
189
|
+
--context-content-color: var(--semantics-list-items-is-selected-content-color);
|
|
190
|
+
--context-content-secondary-color: var(--semantics-list-items-is-selected-content-color);
|
|
189
191
|
}
|
|
190
192
|
|
|
191
193
|
|
|
192
194
|
/* A checked checkbox action selects the whole row, so the fill runs across
|
|
193
195
|
the disclosure action too instead of stopping at its boundary. */
|
|
194
196
|
.list-item.is-action-checked {
|
|
195
|
-
--
|
|
196
|
-
--context-content-color: var(--
|
|
197
|
-
--context-content-secondary-color: var(--
|
|
197
|
+
--_list-item-background-color: var(--semantics-list-items-is-selected-background-color);
|
|
198
|
+
--context-content-color: var(--semantics-list-items-is-selected-content-color);
|
|
199
|
+
--context-content-secondary-color: var(--semantics-list-items-is-selected-content-color);
|
|
198
200
|
}
|
|
199
201
|
|
|
200
202
|
/* Hover only on hover-capable devices, so a touch that turns into a scroll
|
|
@@ -206,23 +208,23 @@ export const listItemStyles = css `
|
|
|
206
208
|
row it sits in. */
|
|
207
209
|
@media (hover: hover) {
|
|
208
210
|
:host(:not([disabled])) .list-item__action:hover {
|
|
209
|
-
--
|
|
210
|
-
--context-content-color: var(--
|
|
211
|
-
--context-content-secondary-color: var(--
|
|
211
|
+
--_list-item-background-color: var(--semantics-list-items-is-hovered-background-color);
|
|
212
|
+
--context-content-color: var(--semantics-list-items-is-hovered-content-color);
|
|
213
|
+
--context-content-secondary-color: var(--semantics-list-items-is-hovered-content-color);
|
|
212
214
|
}
|
|
213
215
|
|
|
214
216
|
:host(:is([selected], [checkbox][checked]):not([disabled])) .list-item__action:hover,
|
|
215
217
|
:host(:is([current], [data-current]):not([disabled])) .list-item__action:hover {
|
|
216
|
-
--
|
|
217
|
-
--context-content-color: var(--
|
|
218
|
-
--context-content-secondary-color: var(--
|
|
218
|
+
--_list-item-background-color: var(--semantics-list-items-is-selected-is-hovered-background-color);
|
|
219
|
+
--context-content-color: var(--semantics-list-items-is-selected-content-color);
|
|
220
|
+
--context-content-secondary-color: var(--semantics-list-items-is-selected-content-color);
|
|
219
221
|
}
|
|
220
222
|
}
|
|
221
223
|
|
|
222
224
|
:host(:is([selected], [checkbox][checked])) {
|
|
223
|
-
--context-list-item-hovered-background-color: var(--
|
|
224
|
-
--context-list-item-hovered-content-color: var(--
|
|
225
|
-
--context-list-item-active-background-color: var(--
|
|
225
|
+
--context-list-item-hovered-background-color: var(--semantics-list-items-is-selected-is-hovered-background-color);
|
|
226
|
+
--context-list-item-hovered-content-color: var(--semantics-list-items-is-selected-content-color);
|
|
227
|
+
--context-list-item-active-background-color: var(--semantics-list-items-is-selected-is-active-background-color);
|
|
226
228
|
}
|
|
227
229
|
|
|
228
230
|
/* Pressing the row you are on lands on the accent whether or not focus got
|
|
@@ -230,10 +232,10 @@ export const listItemStyles = css `
|
|
|
230
232
|
waits for focus would go grey there while the other browsers go accent.
|
|
231
233
|
Hover still follows the focus: that is the state, not the gesture. */
|
|
232
234
|
:host(:is([current], [data-current])) {
|
|
233
|
-
--context-list-item-hovered-background-color: var(--
|
|
234
|
-
--context-list-item-hovered-content-color: var(--
|
|
235
|
-
--context-list-item-active-background-color: var(--
|
|
236
|
-
--context-list-item-active-content-color: var(--
|
|
235
|
+
--context-list-item-hovered-background-color: var(--semantics-list-items-is-selected-is-hovered-background-color);
|
|
236
|
+
--context-list-item-hovered-content-color: var(--semantics-list-items-is-selected-content-color);
|
|
237
|
+
--context-list-item-active-background-color: var(--semantics-list-items-is-highlighted-is-active-background-color);
|
|
238
|
+
--context-list-item-active-content-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
237
239
|
}
|
|
238
240
|
|
|
239
241
|
/* focus-within on the host, not on the row-wide control: focus inside a
|
|
@@ -244,19 +246,19 @@ export const listItemStyles = css `
|
|
|
244
246
|
hovering it as well, and the state it just gave focus to has to win. */
|
|
245
247
|
:host(:is([current], [data-current]):focus-within) .list-item,
|
|
246
248
|
:host(:is([current], [data-current]):focus-within) .list-item__action {
|
|
247
|
-
--context-content-color: var(--
|
|
248
|
-
--context-content-secondary-color: var(--
|
|
249
|
+
--context-content-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
250
|
+
--context-content-secondary-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
249
251
|
}
|
|
250
252
|
|
|
251
253
|
:host(:is([current], [data-current]):focus-within) {
|
|
252
|
-
--context-list-item-hovered-background-color: var(--
|
|
253
|
-
--context-list-item-hovered-content-color: var(--
|
|
254
|
-
--context-list-item-active-background-color: var(--
|
|
254
|
+
--context-list-item-hovered-background-color: var(--semantics-list-items-is-highlighted-is-hovered-background-color);
|
|
255
|
+
--context-list-item-hovered-content-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
256
|
+
--context-list-item-active-background-color: var(--semantics-list-items-is-highlighted-is-active-background-color);
|
|
255
257
|
}
|
|
256
258
|
|
|
257
259
|
:host(:is([current], [data-current]):focus-within) .list-item::before,
|
|
258
260
|
:host(:is([current], [data-current]):focus-within) .list-item__action::before {
|
|
259
|
-
background-color: var(--
|
|
261
|
+
background-color: var(--semantics-list-items-is-highlighted-background-color);
|
|
260
262
|
}
|
|
261
263
|
|
|
262
264
|
/* Only the row-wide control, never the row itself: on a segmented row the
|
|
@@ -264,7 +266,7 @@ export const listItemStyles = css `
|
|
|
264
266
|
would hide which segment you are on. */
|
|
265
267
|
@media (hover: hover) {
|
|
266
268
|
:host(:is([current], [data-current]):focus-within:not([disabled])) .list-item__action:hover::before {
|
|
267
|
-
background-color: var(--
|
|
269
|
+
background-color: var(--semantics-list-items-is-highlighted-is-hovered-background-color);
|
|
268
270
|
}
|
|
269
271
|
}
|
|
270
272
|
|
|
@@ -274,50 +276,50 @@ export const listItemStyles = css `
|
|
|
274
276
|
down means the row is not focused at all. */
|
|
275
277
|
:host(:is([current], [data-current]):not([disabled])) .list-item__action.is-pressed::before,
|
|
276
278
|
:host(:is([current], [data-current]):focus-within:not([disabled])) .list-item__action.is-pressed::before {
|
|
277
|
-
background-color: var(--
|
|
279
|
+
background-color: var(--semantics-list-items-is-highlighted-is-active-background-color);
|
|
278
280
|
}
|
|
279
281
|
|
|
280
282
|
/* The content color has to travel with the fill: the neutral press rule
|
|
281
283
|
above sets it too, and black on a deep accent is unreadable. */
|
|
282
284
|
:host(:is([current], [data-current]):focus-within:not([disabled])) .list-item__action:hover {
|
|
283
|
-
--context-content-color: var(--
|
|
284
|
-
--context-content-secondary-color: var(--
|
|
285
|
+
--context-content-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
286
|
+
--context-content-secondary-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
285
287
|
}
|
|
286
288
|
|
|
287
289
|
/* JS-driven rather than :active, so a touch that turns into a scroll clears
|
|
288
290
|
the press (pointercancel) instead of flashing it. */
|
|
289
291
|
:host(:not([disabled])) .list-item__action.is-pressed {
|
|
290
|
-
--
|
|
291
|
-
--context-content-color: var(--
|
|
292
|
-
--context-content-secondary-color: var(--
|
|
292
|
+
--_list-item-background-color: var(--semantics-list-items-is-active-background-color);
|
|
293
|
+
--context-content-color: var(--semantics-list-items-is-active-content-color);
|
|
294
|
+
--context-content-secondary-color: var(--semantics-list-items-is-active-content-color);
|
|
293
295
|
}
|
|
294
296
|
|
|
295
297
|
:host(:is([selected], [checkbox][checked]):not([disabled])) .list-item__action.is-pressed,
|
|
296
298
|
:host(:is([current], [data-current]):not([disabled])) .list-item__action.is-pressed {
|
|
297
|
-
--
|
|
298
|
-
--context-content-color: var(--
|
|
299
|
-
--context-content-secondary-color: var(--
|
|
299
|
+
--_list-item-background-color: var(--semantics-list-items-is-selected-is-active-background-color);
|
|
300
|
+
--context-content-color: var(--semantics-list-items-is-selected-content-color);
|
|
301
|
+
--context-content-secondary-color: var(--semantics-list-items-is-selected-content-color);
|
|
300
302
|
}
|
|
301
303
|
|
|
302
304
|
:host(:is([selected], [checkbox][checked])) .list-item__action {
|
|
303
|
-
--
|
|
304
|
-
--context-content-color: var(--
|
|
305
|
-
--context-content-secondary-color: var(--
|
|
305
|
+
--_list-item-background-color: var(--semantics-list-items-is-selected-background-color);
|
|
306
|
+
--context-content-color: var(--semantics-list-items-is-selected-content-color);
|
|
307
|
+
--context-content-secondary-color: var(--semantics-list-items-is-selected-content-color);
|
|
306
308
|
}
|
|
307
309
|
|
|
308
310
|
/* .is-highlighted is set by the list: in a listbox the focus stays in the
|
|
309
311
|
search input, so the option cannot carry the state itself. */
|
|
310
312
|
/* After the neutral press rules above, or black lands on a deep accent. */
|
|
311
313
|
:host(:is([current], [data-current]):not([disabled])) .list-item__action.is-pressed {
|
|
312
|
-
--context-content-color: var(--
|
|
313
|
-
--context-content-secondary-color: var(--
|
|
314
|
+
--context-content-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
315
|
+
--context-content-secondary-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
314
316
|
}
|
|
315
317
|
|
|
316
318
|
.list-item.is-highlighted,
|
|
317
319
|
:host(:is([selected], [checkbox][checked])) .list-item.is-highlighted .list-item__action {
|
|
318
|
-
--
|
|
319
|
-
--context-content-color: var(--
|
|
320
|
-
--context-content-secondary-color: var(--
|
|
320
|
+
--_list-item-background-color: var(--semantics-list-items-is-highlighted-background-color);
|
|
321
|
+
--context-content-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
322
|
+
--context-content-secondary-color: var(--semantics-list-items-is-highlighted-content-color);
|
|
321
323
|
}
|
|
322
324
|
|
|
323
325
|
|
|
@@ -330,7 +332,7 @@ export const listItemStyles = css `
|
|
|
330
332
|
display: block;
|
|
331
333
|
position: absolute;
|
|
332
334
|
inset: 0;
|
|
333
|
-
border-radius: var(--
|
|
335
|
+
border-radius: var(--semantics-list-items-indicator-corner-radius);
|
|
334
336
|
outline: var(--semantics-focus-ring-outline);
|
|
335
337
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
336
338
|
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
@@ -360,7 +362,7 @@ export const listItemStyles = css `
|
|
|
360
362
|
}
|
|
361
363
|
|
|
362
364
|
:host(.is-interactive) .list-item__children {
|
|
363
|
-
padding-inline: var(--
|
|
365
|
+
padding-inline: var(--semantics-list-items-indicator-inline-inset);
|
|
364
366
|
}
|
|
365
367
|
|
|
366
368
|
.list-item__children[hidden] {
|
|
@@ -369,13 +371,13 @@ export const listItemStyles = css `
|
|
|
369
371
|
|
|
370
372
|
|
|
371
373
|
/* Content-wide by default; the divider-start/divider-end cell markers
|
|
372
|
-
override it through the measured --
|
|
374
|
+
override it through the measured --_list-item-divider-inset-* vars. */
|
|
373
375
|
|
|
374
376
|
/* A segment with focus paints its ring past its own box, and the
|
|
375
377
|
divider is rendered after the slot — so without this the line ran straight
|
|
376
378
|
through the ring. Lifting the focused action puts the ring on top. */
|
|
377
379
|
::slotted(nldd-list-item-segment:focus-within) {
|
|
378
|
-
z-index: var(--
|
|
380
|
+
z-index: var(--_list-item-focus-z-index);
|
|
379
381
|
}
|
|
380
382
|
|
|
381
383
|
.list-item__divider {
|
|
@@ -384,15 +386,15 @@ export const listItemStyles = css `
|
|
|
384
386
|
/* Hangs in the row's bottom margin: the boundary band belongs to the pair
|
|
385
387
|
of rows, not to either one. */
|
|
386
388
|
inset-block-end: calc(-1 * var(--semantics-dividers-thickness));
|
|
387
|
-
inset-inline: var(--
|
|
389
|
+
inset-inline: var(--_list-item-divider-inset-start, 0px) var(--_list-item-divider-inset-end, 0px);
|
|
388
390
|
background-color: var(--semantics-dividers-color);
|
|
389
391
|
height: var(--semantics-dividers-thickness);
|
|
390
392
|
}
|
|
391
393
|
|
|
392
394
|
:host(.is-interactive) .list-item__divider {
|
|
393
395
|
inset-inline:
|
|
394
|
-
var(--
|
|
395
|
-
var(--
|
|
396
|
+
var(--_list-item-divider-inset-start, var(--semantics-list-items-indicator-inline-inset))
|
|
397
|
+
var(--_list-item-divider-inset-end, var(--semantics-list-items-indicator-inline-inset));
|
|
396
398
|
}
|
|
397
399
|
|
|
398
400
|
:host(.is-boxed.is-last) .list-item {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-item.styles.js","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list-item/list-item.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"list-item.styles.js","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/list-item/list-item.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuZhC,CAAC"}
|
|
@@ -5,10 +5,10 @@ export const listItemSegmentStyles = css `
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
:host {
|
|
8
|
-
--
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
8
|
+
--_list-item-segment-background-color: transparent;
|
|
9
|
+
--_list-item-segment-min-size: var(--context-list-item-size, var(--semantics-controls-md-min-size));
|
|
10
|
+
--_list-item-segment-expanded-rotation: 90deg;
|
|
11
|
+
--_list-item-segment-fill-z-index: -1;
|
|
12
12
|
|
|
13
13
|
display: flex;
|
|
14
14
|
position: relative;
|
|
@@ -27,8 +27,8 @@ export const listItemSegmentStyles = css `
|
|
|
27
27
|
a touch target. On the host, not the control: the host is the flex item,
|
|
28
28
|
so a floor on the control would be measured against a host that had
|
|
29
29
|
already shrunk to zero. */
|
|
30
|
-
min-width: var(--
|
|
31
|
-
min-height: var(--
|
|
30
|
+
min-width: var(--_list-item-segment-min-size);
|
|
31
|
+
min-height: var(--_list-item-segment-min-size);
|
|
32
32
|
-webkit-tap-highlight-color: transparent;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -51,7 +51,7 @@ export const listItemSegmentStyles = css `
|
|
|
51
51
|
rotated cell reports a turned box, and the row measures that box to place
|
|
52
52
|
its divider. */
|
|
53
53
|
:host([disclosure].is-expanded) ::slotted(nldd-icon-cell) {
|
|
54
|
-
--context-cell-glyph-rotation: var(--
|
|
54
|
+
--context-cell-glyph-rotation: var(--_list-item-segment-expanded-rotation);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
/* The control owns its inline padding, fixed at the indicator inset. Do not
|
|
@@ -67,7 +67,7 @@ export const listItemSegmentStyles = css `
|
|
|
67
67
|
width: 100%;
|
|
68
68
|
min-width: 0;
|
|
69
69
|
padding: 0;
|
|
70
|
-
padding-inline: var(--
|
|
70
|
+
padding-inline: var(--semantics-list-items-indicator-inline-inset);
|
|
71
71
|
flex-direction: row;
|
|
72
72
|
align-items: center;
|
|
73
73
|
justify-content: center;
|
|
@@ -92,11 +92,11 @@ export const listItemSegmentStyles = css `
|
|
|
92
92
|
content: '';
|
|
93
93
|
display: block;
|
|
94
94
|
position: absolute;
|
|
95
|
-
z-index: var(--
|
|
95
|
+
z-index: var(--_list-item-segment-fill-z-index);
|
|
96
96
|
inset-block: 0;
|
|
97
97
|
inset-inline: 0;
|
|
98
|
-
border-radius: var(--
|
|
99
|
-
background-color: var(--
|
|
98
|
+
border-radius: var(--semantics-list-items-indicator-corner-radius);
|
|
99
|
+
background-color: var(--_list-item-segment-background-color);
|
|
100
100
|
pointer-events: none;
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -105,9 +105,9 @@ export const listItemSegmentStyles = css `
|
|
|
105
105
|
@media (hover: hover) {
|
|
106
106
|
:host(:not([disabled])) a.list-item-segment:hover,
|
|
107
107
|
button.list-item-segment:not(:disabled):hover {
|
|
108
|
-
--
|
|
109
|
-
--context-content-color: var(--context-list-item-hovered-content-color, var(--
|
|
110
|
-
--context-content-secondary-color: var(--context-list-item-hovered-content-color, var(--
|
|
108
|
+
--_list-item-segment-background-color: var(--context-list-item-hovered-background-color, var(--semantics-list-items-is-hovered-background-color));
|
|
109
|
+
--context-content-color: var(--context-list-item-hovered-content-color, var(--semantics-list-items-is-hovered-content-color));
|
|
110
|
+
--context-content-secondary-color: var(--context-list-item-hovered-content-color, var(--semantics-list-items-is-hovered-content-color));
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
|
|
@@ -118,40 +118,40 @@ export const listItemSegmentStyles = css `
|
|
|
118
118
|
:host(:not([disabled])) a.list-item-segment.is-pressed,
|
|
119
119
|
button.list-item-segment:not(:disabled).is-pressed,
|
|
120
120
|
:host(:not([disabled])) .list-item-segment.is-pressed {
|
|
121
|
-
--
|
|
122
|
-
--context-content-color: var(--context-list-item-active-content-color, var(--context-list-item-hovered-content-color, var(--
|
|
123
|
-
--context-content-secondary-color: var(--context-list-item-active-content-color, var(--context-list-item-hovered-content-color, var(--
|
|
121
|
+
--_list-item-segment-background-color: var(--context-list-item-active-background-color, var(--semantics-list-items-is-active-background-color));
|
|
122
|
+
--context-content-color: var(--context-list-item-active-content-color, var(--context-list-item-hovered-content-color, var(--semantics-list-items-is-active-content-color)));
|
|
123
|
+
--context-content-secondary-color: var(--context-list-item-active-content-color, var(--context-list-item-hovered-content-color, var(--semantics-list-items-is-active-content-color)));
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
/* After the hover rule on purpose: hovering back over the segment must not
|
|
127
127
|
dim it while what it opened is still on screen. */
|
|
128
128
|
:host([expanded]) .list-item-segment {
|
|
129
|
-
--
|
|
130
|
-
--context-content-color: var(--
|
|
131
|
-
--context-content-secondary-color: var(--
|
|
129
|
+
--_list-item-segment-background-color: var(--semantics-list-items-is-expanded-background-color);
|
|
130
|
+
--context-content-color: var(--semantics-list-items-is-expanded-content-color);
|
|
131
|
+
--context-content-secondary-color: var(--semantics-list-items-is-expanded-content-color);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
@media (hover: hover) {
|
|
135
135
|
:host([expanded]:not([disabled])) a.list-item-segment:hover,
|
|
136
136
|
:host([expanded]) button.list-item-segment:not(:disabled):hover {
|
|
137
|
-
--
|
|
138
|
-
--context-content-color: var(--
|
|
139
|
-
--context-content-secondary-color: var(--
|
|
137
|
+
--_list-item-segment-background-color: var(--semantics-list-items-is-expanded-is-hovered-background-color);
|
|
138
|
+
--context-content-color: var(--semantics-list-items-is-expanded-content-color);
|
|
139
|
+
--context-content-secondary-color: var(--semantics-list-items-is-expanded-content-color);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
:host([expanded]:not([disabled])) a.list-item-segment.is-pressed,
|
|
144
144
|
:host([expanded]) button.list-item-segment:not(:disabled).is-pressed,
|
|
145
145
|
:host([expanded]:not([disabled])) .list-item-segment.is-pressed {
|
|
146
|
-
--
|
|
147
|
-
--context-content-color: var(--
|
|
148
|
-
--context-content-secondary-color: var(--
|
|
146
|
+
--_list-item-segment-background-color: var(--semantics-list-items-is-expanded-is-active-background-color);
|
|
147
|
+
--context-content-color: var(--semantics-list-items-is-expanded-content-color);
|
|
148
|
+
--context-content-secondary-color: var(--semantics-list-items-is-expanded-content-color);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
:host([checked]) .list-item-segment {
|
|
152
|
-
--
|
|
153
|
-
--context-content-color: var(--
|
|
154
|
-
--context-content-secondary-color: var(--
|
|
152
|
+
--_list-item-segment-background-color: var(--semantics-list-items-is-selected-background-color);
|
|
153
|
+
--context-content-color: var(--semantics-list-items-is-selected-content-color);
|
|
154
|
+
--context-content-secondary-color: var(--semantics-list-items-is-selected-content-color);
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
.list-item-segment:focus-visible:not(.is-pointer-focus)::after {
|
|
@@ -159,7 +159,7 @@ export const listItemSegmentStyles = css `
|
|
|
159
159
|
display: block;
|
|
160
160
|
position: absolute;
|
|
161
161
|
inset: 0;
|
|
162
|
-
border-radius: var(--
|
|
162
|
+
border-radius: var(--semantics-list-items-indicator-corner-radius);
|
|
163
163
|
outline: var(--semantics-focus-ring-outline);
|
|
164
164
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
165
165
|
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
@@ -199,10 +199,10 @@ let NLDDTable = class NLDDTable extends LitElement {
|
|
|
199
199
|
_applyColumns() {
|
|
200
200
|
const cols = this._activeColumns();
|
|
201
201
|
if (cols) {
|
|
202
|
-
this.style.setProperty('--
|
|
202
|
+
this.style.setProperty('--_table-columns', cols);
|
|
203
203
|
}
|
|
204
204
|
else {
|
|
205
|
-
this.style.removeProperty('--
|
|
205
|
+
this.style.removeProperty('--_table-columns');
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
/** Make the table focusable while it scrolls horizontally so keyboard users
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/table/table.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,EA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OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC,CACzD,CAAC;QACF,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;IAED;;;;;;;;OAQG;IACK,gBAAgB,CAAC,OAAgB;QACxC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG;YAAE,OAAO;QAClC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,kBAAkB;YAAE,OAAO;QAChD,IAAI,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;YAAE,OAAO;QAC1D,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC;QAC/B,OAAO,CAAC,IAAI,CACX,wFAAwF;cACtF,4FAA4F,EAC9F,IAAI,CACJ,CAAC;IACH,CAAC;IAID;wCACoC;IAC5B,cAAc;QACrB,IAAI,IAAI,CAAC,MAAM,IAAI,MAAM;YAAE,OAAO,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC;QACjE,IAAI,IAAI,CAAC,MAAM,IAAI,MAAM;YAAE,OAAO,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC;QACjE,OAAO,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC;IACvC,CAAC;IAEO,aAAa;QACpB,MAAM,IAAI,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QACnC,IAAI,IAAI,EAAE,CAAC;YACV,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../../../src/components/lists-and-tables/table/table.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,O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AAC;IAEQ,MAAM;QACd,OAAO,gBAAgB,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IAClD,CAAC;;AAjEe,mBAAM,GAAG,cAAc,AAAjB,CAAkB;AAOxC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAC1B;AARL,YAAY;IADxB,aAAa,CAAC,gBAAgB,CAAC;GACnB,YAAY,CAqExB"}
|
|
@@ -5,30 +5,30 @@ export const tableStyles = css `
|
|
|
5
5
|
box-sizing: border-box;
|
|
6
6
|
}
|
|
7
7
|
:host {
|
|
8
|
-
--
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
8
|
+
--_table-columns: none;
|
|
9
|
+
--_table-corner-radius: var(--semantics-tables-corner-radius);
|
|
10
|
+
--_table-column-gap: var(--semantics-tables-column-gap);
|
|
11
|
+
--_table-background-color: var(--semantics-surfaces-base-background-color);
|
|
12
|
+
--_table-border-color: var(--semantics-surfaces-base-border-color);
|
|
13
13
|
/* Shared so the focus-visible rule can compose the focus ring over the
|
|
14
14
|
border ring with var(...) instead of repeating the inset literal. */
|
|
15
|
-
--
|
|
15
|
+
--_table-border-shadow: inset 0 0 0 var(--semantics-tables-border-width) var(--_table-border-color);
|
|
16
16
|
|
|
17
17
|
${inheritedTextReset}
|
|
18
18
|
box-sizing: border-box;
|
|
19
19
|
display: grid;
|
|
20
|
-
grid-template-columns: var(--
|
|
20
|
+
grid-template-columns: var(--_table-columns);
|
|
21
21
|
width: 100%;
|
|
22
22
|
/* The table is always a boxed surface and its own horizontal scroll
|
|
23
23
|
container: the columns scroll when they don't fit and the table is made
|
|
24
24
|
focusable in JS while it scrolls. overflow-y stays hidden so the rounded
|
|
25
25
|
corners keep clipping the rows (and their full-bleed dividers). */
|
|
26
|
-
border-radius: var(--
|
|
27
|
-
box-shadow: var(--
|
|
28
|
-
background-color: var(--
|
|
26
|
+
border-radius: var(--_table-corner-radius);
|
|
27
|
+
box-shadow: var(--_table-border-shadow);
|
|
28
|
+
background-color: var(--_table-background-color);
|
|
29
29
|
overflow-x: auto;
|
|
30
30
|
overflow-y: hidden;
|
|
31
|
-
column-gap: var(--
|
|
31
|
+
column-gap: var(--_table-column-gap);
|
|
32
32
|
row-gap: 0;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -38,8 +38,8 @@ export const tableStyles = css `
|
|
|
38
38
|
|
|
39
39
|
/* Default surface is base; tinted is opt-in. */
|
|
40
40
|
:host([background="tinted"]) {
|
|
41
|
-
--
|
|
42
|
-
--
|
|
41
|
+
--_table-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
42
|
+
--_table-border-color: var(--semantics-surfaces-tinted-border-color);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/* Keyboard focus while the table scrolls (it gains tabindex in JS): the
|
|
@@ -48,7 +48,7 @@ export const tableStyles = css `
|
|
|
48
48
|
:host(:focus-visible) {
|
|
49
49
|
outline: var(--semantics-focus-ring-outline);
|
|
50
50
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
51
|
-
box-shadow: var(--semantics-focus-ring-box-shadow), var(--
|
|
51
|
+
box-shadow: var(--semantics-focus-ring-box-shadow), var(--_table-border-shadow);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
:host(:focus:not(:focus-visible)) {
|
|
@@ -91,27 +91,27 @@ export const tableStyles = css `
|
|
|
91
91
|
`;
|
|
92
92
|
export const tableRowStyles = css `
|
|
93
93
|
:host {
|
|
94
|
-
--
|
|
94
|
+
--_table-row-min-height: var(--semantics-tables-row-min-height);
|
|
95
95
|
/* Block padding goes to the cells (same hook the list uses) so it belongs
|
|
96
96
|
to the cell's box; inline padding stays here because it insets the row
|
|
97
97
|
content from the frame without moving the full-bleed divider. */
|
|
98
98
|
--context-cell-padding-block: var(--semantics-tables-row-padding-block);
|
|
99
|
-
--
|
|
100
|
-
--
|
|
101
|
-
--
|
|
99
|
+
--_table-row-padding-inline: var(--semantics-tables-row-padding-inline);
|
|
100
|
+
--_table-row-divider-color: var(--semantics-tables-border-color);
|
|
101
|
+
--_table-row-divider-thickness: var(--semantics-tables-border-width);
|
|
102
102
|
|
|
103
103
|
${inheritedTextReset}
|
|
104
104
|
box-sizing: border-box;
|
|
105
105
|
display: grid;
|
|
106
106
|
grid-column: 1 / -1;
|
|
107
107
|
grid-template-columns: subgrid;
|
|
108
|
-
min-height: var(--
|
|
108
|
+
min-height: var(--_table-row-min-height);
|
|
109
109
|
/* !important: shields divider and inset from consumer universal resets,
|
|
110
110
|
which beat normal :host declarations per CSS Scoping. They cannot move
|
|
111
111
|
inward: the row is a subgrid participant, and a wrapper would break
|
|
112
112
|
the parent-child column relation. */
|
|
113
|
-
border-bottom: var(--
|
|
114
|
-
padding-inline: var(--
|
|
113
|
+
border-bottom: var(--_table-row-divider-thickness) solid var(--_table-row-divider-color) !important;
|
|
114
|
+
padding-inline: var(--_table-row-padding-inline) !important;
|
|
115
115
|
align-items: center;
|
|
116
116
|
}
|
|
117
117
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
2
|
import { inheritedTextReset } from '../../../assets/styles/shadow-resets.js';
|
|
3
3
|
/* The chevron separator rendered after each breadcrumb item; the item host
|
|
4
|
-
defines --
|
|
4
|
+
defines --_breadcrumbs-item-separator-vertical-offset. */
|
|
5
5
|
const separatorStyles = css `
|
|
6
6
|
.breadcrumbs__separator {
|
|
7
7
|
display: inline-flex;
|
|
8
8
|
position: relative;
|
|
9
|
-
top: var(--
|
|
9
|
+
top: var(--_breadcrumbs-item-separator-vertical-offset);
|
|
10
10
|
margin-inline: var(--primitives-space-2);
|
|
11
11
|
color: var(--semantics-content-secondary-color);
|
|
12
12
|
width: var(--primitives-space-16);
|
|
@@ -42,7 +42,7 @@ export const breadcrumbsItemStyles = css `
|
|
|
42
42
|
/* Small downward offset so the chevron-right-small icon sits closer
|
|
43
43
|
to the text's optical centerline (the icon's bbox renders slightly
|
|
44
44
|
above the visual baseline). */
|
|
45
|
-
--
|
|
45
|
+
--_breadcrumbs-item-separator-vertical-offset: 0.05em;
|
|
46
46
|
|
|
47
47
|
${inheritedTextReset}
|
|
48
48
|
display: inline-flex;
|