@nldd/design-system 0.8.93 → 0.8.95
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/NOTICES.md +21 -1
- package/README.md +111 -15
- package/custom-elements.json +584 -121
- package/dist/components/actions/button/button.d.ts +8 -5
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +11 -5
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +41 -73
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +1 -0
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.d.ts +11 -4
- package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +25 -9
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +18 -3
- package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +8 -5
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +11 -5
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +35 -61
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +1 -0
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +17 -2
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +34 -11
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +5 -3
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +2 -2
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +5 -4
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +18 -3
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +2 -2
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +3 -1
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +21 -10
- 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 +3 -2
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/components.js +1446 -729
- package/dist/components/content/avatar/avatar.js +1 -1
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +1 -0
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +2 -2
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +10 -6
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +6 -6
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +2 -1
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +3 -3
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +3 -3
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +7 -7
- package/dist/components/content/rich-text/rich-text.d.ts +2 -0
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +8 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +1 -0
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +2 -1
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/token/token.template.js +2 -2
- 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-actions/form-actions.d.ts +1 -1
- package/dist/components/forms/form-actions/form-actions.js +1 -1
- package/dist/components/{icon-DWNVcttg.js → icon-Typdp4av.js} +1 -1
- package/dist/components/{icon-button-hO6k8W63.js → icon-button-9mo3oIyL.js} +50 -72
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +5 -5
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +5 -5
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +3 -3
- package/dist/components/inputs/combo-box/combo-box.d.ts +43 -2
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +115 -40
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.js +2 -2
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +2 -1
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.js +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.js +2 -2
- package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +0 -2
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +1 -13
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +24 -12
- package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.template.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.template.js +0 -1
- package/dist/components/inputs/dropdown/dropdown.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +2 -7
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.js +2 -2
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +2 -1
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.js +2 -2
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +2 -1
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.js +2 -2
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +6 -0
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +13 -0
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +54 -16
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +2 -1
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.template.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.annotations.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotations.js +6 -4
- package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +27 -64
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +2 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.js +5 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +87 -20
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.labels.d.ts +4 -0
- package/dist/components/inputs/text-editor/text-editor.labels.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.labels.js +5 -0
- package/dist/components/inputs/text-editor/text-editor.labels.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +6 -4
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +5 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +27 -3
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +144 -25
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.spellcheck.d.ts +11 -0
- package/dist/components/inputs/text-editor/text-editor.spellcheck.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.spellcheck.js +134 -0
- package/dist/components/inputs/text-editor/text-editor.spellcheck.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +9 -3
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +2 -1
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.js +2 -2
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +2 -1
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +12 -0
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +17 -0
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +99 -12
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +3 -2
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +4 -2
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +8 -2
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +26 -1
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +59 -6
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.template.js +1 -1
- package/dist/components/layout/card/card.d.ts +3 -0
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +3 -0
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +22 -2
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +2 -1
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.template.js +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +0 -2
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +4 -19
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +2 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +2 -1
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +2 -1
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts +7 -7
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js +9 -9
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +5 -5
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +11 -8
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +31 -31
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +5 -5
- package/dist/components/lists-and-tables/list/list.template.js +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +4 -4
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +10 -10
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +2 -0
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +10 -7
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +0 -2
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +4 -19
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +0 -3
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +2 -13
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +2 -2
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +12 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +37 -2
- 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 +62 -3
- 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.template.js +3 -3
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +2 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +2 -1
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.template.js +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.template.js +1 -1
- package/dist/components/status-and-feedback/notification/notification.template.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +4 -4
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +11 -10
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +6 -6
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +6 -4
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +16 -13
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +3 -3
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts +37 -22
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js +63 -31
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +1 -1
- package/dist/components/{visibility-mixin-BU1vIMW7.js → visibility-mixin-Crbt8PFP.js} +1 -1
- package/dist/components/with-translations-C8_0-9y8.js +97 -0
- package/dist/css/document-reset.css +7 -0
- package/dist/css/rich-text.css +5 -3
- package/dist/css/variables.css +30 -42
- package/dist/nldd.min.js +1071 -871
- package/dist/translations/en-US.d.ts +17 -0
- package/dist/translations/en-US.d.ts.map +1 -0
- package/dist/translations/en-US.js +185 -0
- package/dist/translations/en-US.js.map +1 -0
- package/dist/translations/fy.d.ts +20 -0
- package/dist/translations/fy.d.ts.map +1 -0
- package/dist/translations/fy.js +185 -0
- package/dist/translations/fy.js.map +1 -0
- package/dist/translations/nl.generated.d.ts +188 -0
- package/dist/translations/nl.generated.d.ts.map +1 -0
- package/dist/translations/nl.generated.js +101 -0
- package/dist/translations/nl.generated.js.map +1 -0
- package/dist/translations/pap-AW.d.ts +22 -0
- package/dist/translations/pap-AW.d.ts.map +1 -0
- package/dist/translations/pap-AW.js +185 -0
- package/dist/translations/pap-AW.js.map +1 -0
- package/dist/translations/pap-CW.d.ts +22 -0
- package/dist/translations/pap-CW.d.ts.map +1 -0
- package/dist/translations/pap-CW.js +185 -0
- package/dist/translations/pap-CW.js.map +1 -0
- package/dist/types/vue.d.ts +84 -47
- package/dist/utilities/translations.d.ts +37 -0
- package/dist/utilities/translations.d.ts.map +1 -0
- package/dist/utilities/translations.js +80 -0
- package/dist/utilities/translations.js.map +1 -0
- package/dist/utilities/with-translations.d.ts.map +1 -1
- package/dist/utilities/with-translations.js +2 -15
- package/dist/utilities/with-translations.js.map +1 -1
- package/package.json +33 -7
- package/dist/components/with-translations-BAKFoEKy.js +0 -69
|
@@ -11,9 +11,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
11
11
|
* number (or a check mark on what is done), a label under each and a line
|
|
12
12
|
* connecting them.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
14
|
+
* Mark the step you are on with `status="current"`. The parent derives the
|
|
15
|
+
* rest from its position: `past` before it, `future` after. With none marked,
|
|
16
|
+
* step 1 is current. With more than one, the last one wins and a warning goes
|
|
17
|
+
* to the console in a dev build: a flow that forgets to clear the previous
|
|
18
|
+
* step still points at the furthest one. A `status="past"` or
|
|
19
|
+
* `status="future"` on another step overrides what is derived for that step,
|
|
20
|
+
* for flows that jump back or skip a step. One attribute, the same three
|
|
21
|
+
* values as `nldd-timeline-track-cell`, so a flow reads in one vocabulary
|
|
22
|
+
* whether it runs across or down.
|
|
17
23
|
*
|
|
18
24
|
* Horizontal only. For steps under each other, build an `nldd-list` with an
|
|
19
25
|
* `nldd-timeline-track-cell` and an `nldd-title-cell` per row: vertical steps
|
|
@@ -33,18 +39,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
33
39
|
*
|
|
34
40
|
* @attr {string} accessible-label - Name of the nav; defaults to the i18n value ("Voortgang")
|
|
35
41
|
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
36
|
-
* @attr {number} current - 1-based number of the current step (default 1)
|
|
37
42
|
*
|
|
38
43
|
* @slot - `nldd-step-indicator-item` children
|
|
39
44
|
*
|
|
40
45
|
* @example
|
|
41
46
|
* ```html
|
|
42
|
-
* <nldd-step-indicator
|
|
43
|
-
* current="2"
|
|
44
|
-
* accessible-label="Voortgang aanvraag"
|
|
45
|
-
* >
|
|
47
|
+
* <nldd-step-indicator accessible-label="Voortgang aanvraag">
|
|
46
48
|
* <nldd-step-indicator-item text="Gegevens"></nldd-step-indicator-item>
|
|
47
|
-
* <nldd-step-indicator-item text="Controle"></nldd-step-indicator-item>
|
|
49
|
+
* <nldd-step-indicator-item text="Controle" status="current"></nldd-step-indicator-item>
|
|
48
50
|
* <nldd-step-indicator-item text="Bevestigen"></nldd-step-indicator-item>
|
|
49
51
|
* </nldd-step-indicator>
|
|
50
52
|
* ```
|
|
@@ -59,16 +61,17 @@ import { stepIndicatorTemplate, stepIndicatorItemTemplate } from './step-indicat
|
|
|
59
61
|
import '../../content/icon/icon.js';
|
|
60
62
|
// # nldd-step-indicator-item
|
|
61
63
|
/**
|
|
62
|
-
* One step in an `nldd-step-indicator`.
|
|
63
|
-
*
|
|
64
|
-
*
|
|
64
|
+
* One step in an `nldd-step-indicator`. `status="current"` marks the step you
|
|
65
|
+
* are on; the parent derives the status of the others and the number of each,
|
|
66
|
+
* which live here as internal state rather than as public API. `past` and
|
|
67
|
+
* `future` override what is derived for this step.
|
|
65
68
|
*
|
|
66
69
|
* @element nldd-step-indicator-item
|
|
67
70
|
*
|
|
68
|
-
* @attr {
|
|
69
|
-
* @attr {string} text
|
|
70
|
-
* @attr {string} icon
|
|
71
|
-
* @attr {string} href
|
|
71
|
+
* @attr {'past' | 'current' | 'future'} status - How far along this step is. `current` marks the step you are on (`aria-current="step"`) and the parent derives the others from it: with none marked step 1 is current, with more than one the last wins. `past` and `future` override what is derived for this step only
|
|
72
|
+
* @attr {string} text - Label under the disc
|
|
73
|
+
* @attr {string} icon - Icon in the disc instead of the number or the check mark
|
|
74
|
+
* @attr {string} href - Makes the step a link (back to a completed step, for instance)
|
|
72
75
|
* @attr {boolean} button - Makes the step a button, for flows without a URL per step; ignored when `href` is set
|
|
73
76
|
*
|
|
74
77
|
* @slot - Label (an alternative to `text`)
|
|
@@ -89,9 +92,12 @@ export class NLDDStepIndicatorItem extends LitElement {
|
|
|
89
92
|
this._index = 1;
|
|
90
93
|
this._statusText = '';
|
|
91
94
|
}
|
|
92
|
-
/** The status that counts
|
|
95
|
+
/** The status that counts. An own `past` or `future` wins over the derived
|
|
96
|
+
* one. An own `current` is what the parent derives from, so the derived
|
|
97
|
+
* status already says it, and on a step that lost to a later one it does not
|
|
98
|
+
* hold. */
|
|
93
99
|
get resolvedStatus() {
|
|
94
|
-
return this.status
|
|
100
|
+
return this.status && this.status !== 'current' ? this.status : this._derivedStatus;
|
|
95
101
|
}
|
|
96
102
|
connectedCallback() {
|
|
97
103
|
super.connectedCallback();
|
|
@@ -149,10 +155,13 @@ let NLDDStepIndicator = class NLDDStepIndicator extends withTranslations(LitElem
|
|
|
149
155
|
constructor() {
|
|
150
156
|
super(...arguments);
|
|
151
157
|
this.accessibleLabel = '';
|
|
152
|
-
this.current = 1;
|
|
153
158
|
/** The steps, tracked so the compact view (text + bar) is driven by the same
|
|
154
159
|
* source as the row of markers. */
|
|
155
160
|
this._items = [];
|
|
161
|
+
/** `status` lives on the children, so a change there has to reach this
|
|
162
|
+
* element: the derived statuses and the compact view follow it. */
|
|
163
|
+
this._observer = new MutationObserver(() => this.requestUpdate());
|
|
164
|
+
this._warnedMultipleCurrent = false;
|
|
156
165
|
this._onSlotChange = (e) => {
|
|
157
166
|
const slot = e.target;
|
|
158
167
|
this._items = slot.assignedElements({ flatten: true })
|
|
@@ -162,17 +171,35 @@ let NLDDStepIndicator = class NLDDStepIndicator extends withTranslations(LitElem
|
|
|
162
171
|
get total() {
|
|
163
172
|
return this._items.length;
|
|
164
173
|
}
|
|
165
|
-
/**
|
|
166
|
-
* `current` would otherwise mark every step past (or none at all). */
|
|
174
|
+
/** 1-based position of the last item with `status="current"`, or 1 when none has it. */
|
|
167
175
|
get resolvedCurrent() {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
return Math.min(Math.max(this.current, 1), this.total);
|
|
176
|
+
const index = this._items.map(item => item.status).lastIndexOf('current');
|
|
177
|
+
return index === -1 ? 1 : index + 1;
|
|
171
178
|
}
|
|
172
179
|
get currentItem() {
|
|
173
180
|
return this._items.find(item => item.resolvedStatus === 'current')
|
|
174
181
|
?? this._items[this.resolvedCurrent - 1];
|
|
175
182
|
}
|
|
183
|
+
connectedCallback() {
|
|
184
|
+
super.connectedCallback();
|
|
185
|
+
this._observer.observe(this, { subtree: true, attributes: true, attributeFilter: ['status'] });
|
|
186
|
+
}
|
|
187
|
+
/** `current` is no longer an attribute of this element. Watched anyway, so a
|
|
188
|
+
* leftover one gets a hint, also when a framework sets it after the first
|
|
189
|
+
* render: Vue and React fall back to the attribute for an unknown property. */
|
|
190
|
+
static get observedAttributes() {
|
|
191
|
+
return [...super.observedAttributes, 'current'];
|
|
192
|
+
}
|
|
193
|
+
attributeChangedCallback(name, old, value) {
|
|
194
|
+
super.attributeChangedCallback(name, old, value);
|
|
195
|
+
if (import.meta.env?.DEV && name === 'current' && value !== null) {
|
|
196
|
+
console.warn('<nldd-step-indicator>: `current` moved to the step. Set `status="current"` on the current `nldd-step-indicator-item` instead.');
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
disconnectedCallback() {
|
|
200
|
+
super.disconnectedCallback();
|
|
201
|
+
this._observer.disconnect();
|
|
202
|
+
}
|
|
176
203
|
/** Before render, not after: the compact view reads the current item back out
|
|
177
204
|
* of the children, so their statuses have to be fresh by the time this
|
|
178
205
|
* element renders. */
|
|
@@ -180,12 +207,20 @@ let NLDDStepIndicator = class NLDDStepIndicator extends withTranslations(LitElem
|
|
|
180
207
|
// withTranslations merges a consumer's `translations` override in its own
|
|
181
208
|
// willUpdate; without this call the override is silently ignored.
|
|
182
209
|
super.willUpdate(changed);
|
|
183
|
-
|
|
184
|
-
|
|
210
|
+
this._syncItems();
|
|
211
|
+
this._warnOnMultipleCurrent();
|
|
212
|
+
}
|
|
213
|
+
_warnOnMultipleCurrent() {
|
|
214
|
+
if (!import.meta.env?.DEV)
|
|
215
|
+
return;
|
|
216
|
+
const multiple = this._items.filter(item => item.status === 'current').length > 1;
|
|
217
|
+
if (multiple && !this._warnedMultipleCurrent) {
|
|
218
|
+
console.warn('<nldd-step-indicator>: more than one step has `status="current"`; the last one wins. Mark only the step you are on.');
|
|
219
|
+
}
|
|
220
|
+
this._warnedMultipleCurrent = multiple;
|
|
185
221
|
}
|
|
186
222
|
/** Push position, derived status and status text down to the children. Push
|
|
187
|
-
* rather than pull: a child
|
|
188
|
-
* when `current` changes. */
|
|
223
|
+
* rather than pull: a child cannot see where the current step sits. */
|
|
189
224
|
_syncItems() {
|
|
190
225
|
const current = this.resolvedCurrent;
|
|
191
226
|
this._items.forEach((item, index) => {
|
|
@@ -203,9 +238,6 @@ NLDDStepIndicator.styles = stepIndicatorStyles;
|
|
|
203
238
|
__decorate([
|
|
204
239
|
property({ type: String, attribute: 'accessible-label' })
|
|
205
240
|
], NLDDStepIndicator.prototype, "accessibleLabel", void 0);
|
|
206
|
-
__decorate([
|
|
207
|
-
property({ type: Number, reflect: true })
|
|
208
|
-
], NLDDStepIndicator.prototype, "current", void 0);
|
|
209
241
|
__decorate([
|
|
210
242
|
state()
|
|
211
243
|
], NLDDStepIndicator.prototype, "_items", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-indicator.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/step-indicator/step-indicator.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"step-indicator.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/step-indicator/step-indicator.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,6BAA6B,EAAsC,MAAM,0BAA0B,CAAC;AAC7G,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAChG,OAAO,4BAA4B,CAAC;AAOpC,6BAA6B;AAE7B;;;;;;;;;;;;;;;GAeG;AACH,MAAM,OAAO,qBAAsB,SAAQ,UAAU;IAArD;;QAOC,SAAI,GAAG,EAAE,CAAC;QAGV,SAAI,GAAG,EAAE,CAAC;QAGV,SAAI,GAAG,EAAE,CAAC;QAEV;;6DAEqD;QAErD,WAAM,GAAG,KAAK,CAAC;QAEf;2EACmE;QAEnE,mBAAc,GAAwB,QAAQ,CAAC;QAG/C,WAAM,GAAG,CAAC,CAAC;QAGX,gBAAW,GAAG,EAAE,CAAC;IA4BlB,CAAC;IA1BA;;;gBAGY;IACZ,IAAI,cAAc;QACjB,OAAO,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,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aAAa,CAAC,qBAAqB,CAAC;GACxB,iBAAiB,CAoG7B"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { t as __decorate } from "./decorate-CO88j7Lc.js";
|
|
2
|
+
import { property } from "lit/decorators.js";
|
|
3
|
+
//#region src/utilities/link-rel.ts
|
|
4
|
+
/**
|
|
5
|
+
* The `rel` of a link that may open in a new tab.
|
|
6
|
+
*
|
|
7
|
+
* A link with `target="_blank"` gets `noopener noreferrer`: the page it opens
|
|
8
|
+
* gets no handle on this one through `window.opener`, and no referrer. A `rel`
|
|
9
|
+
* the consumer sets is added to, never replaced. `rel="external"` on a `_blank`
|
|
10
|
+
* link describes the link, and it is no reason to leave that door open.
|
|
11
|
+
*
|
|
12
|
+
* Returns an empty string when there is nothing to write, so a template can
|
|
13
|
+
* leave the attribute off with `|| nothing`.
|
|
14
|
+
*/
|
|
15
|
+
function linkRel(rel, target) {
|
|
16
|
+
const base = rel ?? "";
|
|
17
|
+
if (target !== "_blank") return base.trim();
|
|
18
|
+
const parts = new Set(base.split(/\s+/).filter(Boolean));
|
|
19
|
+
parts.add("noopener");
|
|
20
|
+
parts.add("noreferrer");
|
|
21
|
+
return [...parts].join(" ");
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/utilities/translations.ts
|
|
25
|
+
var _globalThis;
|
|
26
|
+
var STORE_KEY = Symbol.for("nldd.translations");
|
|
27
|
+
var store = (_globalThis = globalThis)[STORE_KEY] ?? (_globalThis[STORE_KEY] = { translations: {} });
|
|
28
|
+
/**
|
|
29
|
+
* Sets the texts for the whole package, replacing what was set before. Keys you
|
|
30
|
+
* leave out fall back to Dutch. To start from the shipped English and change a
|
|
31
|
+
* few texts, spread them: `setTranslations({ ...enUS, 'key': 'Mine' })`.
|
|
32
|
+
*
|
|
33
|
+
* Call it before the components render. Calling it again re-renders the
|
|
34
|
+
* components on the page, so a language switch at runtime works too. Call it
|
|
35
|
+
* when the language changes, not on every render: each call walks the page.
|
|
36
|
+
* A component inside a closed shadow root is out of its reach and keeps its old
|
|
37
|
+
* texts until it renders again; ask it to with `requestUpdate()`.
|
|
38
|
+
*/
|
|
39
|
+
function setTranslations(translations) {
|
|
40
|
+
store.translations = { ...translations };
|
|
41
|
+
if (typeof document !== "undefined") rerender(document);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Looks a key up through the three layers and fills in `{placeholders}`. Every
|
|
45
|
+
* component's `_t()` goes through here, so none of them skips the package-wide
|
|
46
|
+
* layer.
|
|
47
|
+
*/
|
|
48
|
+
function translate(own, defaults, key, vars) {
|
|
49
|
+
const name = key;
|
|
50
|
+
let text = own?.[key] ?? store.translations[name] ?? defaults[key] ?? name;
|
|
51
|
+
if (vars) for (const [k, v] of Object.entries(vars)) text = text.split(`{${k}}`).join(String(v));
|
|
52
|
+
return text;
|
|
53
|
+
}
|
|
54
|
+
/** Asks every nldd component on the page, also inside shadow roots, to render again. */
|
|
55
|
+
function rerender(root) {
|
|
56
|
+
for (const el of Array.from(root.querySelectorAll("*"))) {
|
|
57
|
+
if (el.tagName.startsWith("NLDD-")) el.requestUpdate?.();
|
|
58
|
+
if (el.shadowRoot) rerender(el.shadowRoot);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region src/utilities/with-translations.ts
|
|
63
|
+
/**
|
|
64
|
+
* Mixin that adds i18n support to a LitElement component.
|
|
65
|
+
*
|
|
66
|
+
* Provides a `translations` property for overriding defaults,
|
|
67
|
+
* a merged translations object, and a `_t()` method for lookups.
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* ```ts
|
|
71
|
+
* import { withTranslations } from '../../../utilities/with-translations.js';
|
|
72
|
+
* import { myDefaults } from './my-component.i18n.js';
|
|
73
|
+
* import type { MyTranslations } from './my-component.i18n.js';
|
|
74
|
+
*
|
|
75
|
+
* class MyComponent extends withTranslations<MyTranslations>(LitElement, myDefaults) {
|
|
76
|
+
* render() {
|
|
77
|
+
* return html`${this._t('my-key')}`;
|
|
78
|
+
* }
|
|
79
|
+
* }
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
function withTranslations(Base, defaults) {
|
|
83
|
+
class TranslationsMixin extends Base {
|
|
84
|
+
constructor(..._args) {
|
|
85
|
+
super(..._args);
|
|
86
|
+
this.translations = {};
|
|
87
|
+
}
|
|
88
|
+
/** @internal */
|
|
89
|
+
_t(key, vars) {
|
|
90
|
+
return translate(this.translations, defaults, key, vars);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
__decorate([property({ type: Object })], TranslationsMixin.prototype, "translations", void 0);
|
|
94
|
+
return TranslationsMixin;
|
|
95
|
+
}
|
|
96
|
+
//#endregion
|
|
97
|
+
export { linkRel as i, setTranslations as n, translate as r, withTranslations as t };
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
@layer reset {
|
|
2
|
+
/* iOS Safari inflates small text in landscape while this is auto. On the
|
|
3
|
+
root it covers the whole page, light DOM and shadow roots alike. */
|
|
4
|
+
html {
|
|
5
|
+
-webkit-text-size-adjust: 100%;
|
|
6
|
+
text-size-adjust: 100%;
|
|
7
|
+
}
|
|
8
|
+
|
|
2
9
|
html:has(nldd-app-view),
|
|
3
10
|
html:has(nldd-app-view) body {
|
|
4
11
|
margin: 0;
|
package/dist/css/rich-text.css
CHANGED
|
@@ -28,8 +28,6 @@ nldd-rich-text {
|
|
|
28
28
|
row-gap: var(--_spacing);
|
|
29
29
|
color: var(--semantics-content-color);
|
|
30
30
|
font: var(--primitives-font-body-md-regular-snug);
|
|
31
|
-
-webkit-text-size-adjust: 100%;
|
|
32
|
-
text-size-adjust: 100%;
|
|
33
31
|
}
|
|
34
32
|
|
|
35
33
|
nldd-rich-text[centered] {
|
|
@@ -175,7 +173,7 @@ nldd-rich-text *:focus:not(:focus-visible) {
|
|
|
175
173
|
nldd-rich-text :is(h1, h2, h3, h4, h5, h6) {
|
|
176
174
|
margin-top: var(--_spacing);
|
|
177
175
|
margin-bottom: 0;
|
|
178
|
-
text-wrap:
|
|
176
|
+
text-wrap: balance;
|
|
179
177
|
}
|
|
180
178
|
|
|
181
179
|
|
|
@@ -290,6 +288,7 @@ nldd-rich-text p {
|
|
|
290
288
|
at narrow (mobile) widths. break-word (not anywhere) leaves the grid
|
|
291
289
|
min-content size alone, so the main column stays intact. */
|
|
292
290
|
overflow-wrap: break-word;
|
|
291
|
+
text-wrap: pretty;
|
|
293
292
|
}
|
|
294
293
|
|
|
295
294
|
|
|
@@ -336,6 +335,7 @@ nldd-rich-text li {
|
|
|
336
335
|
padding: 0;
|
|
337
336
|
/* Zelfde vangnet als p: lange strings breken i.p.v. overlopen. */
|
|
338
337
|
overflow-wrap: break-word;
|
|
338
|
+
text-wrap: pretty;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
nldd-rich-text li > * + * {
|
|
@@ -369,6 +369,7 @@ nldd-rich-text dt {
|
|
|
369
369
|
|
|
370
370
|
nldd-rich-text dd {
|
|
371
371
|
margin-inline: 0;
|
|
372
|
+
text-wrap: pretty;
|
|
372
373
|
|
|
373
374
|
@container (min-width: 641px) {
|
|
374
375
|
grid-column: 2;
|
|
@@ -525,6 +526,7 @@ nldd-rich-text blockquote {
|
|
|
525
526
|
padding-inline: var(--semantics-blockquotes-md-spacing);
|
|
526
527
|
border-left: var(--semantics-blockquotes-border);
|
|
527
528
|
font: var(--semantics-blockquotes-md-quote-font);
|
|
529
|
+
text-wrap: pretty;
|
|
528
530
|
|
|
529
531
|
@container (max-width: 640px) {
|
|
530
532
|
gap: calc(var(--semantics-blockquotes-sm-spacing) / 2);
|
package/dist/css/variables.css
CHANGED
|
@@ -1509,6 +1509,15 @@
|
|
|
1509
1509
|
--semantics-buttons-neutral-transparent-is-hovered-content-secondary-color: light-dark(var(--primitives-color-neutral-550), var(--primitives-color-neutral-650));
|
|
1510
1510
|
--semantics-buttons-neutral-transparent-is-active-content-color: var(--primitives-color-neutral-1000);
|
|
1511
1511
|
--semantics-buttons-neutral-transparent-is-active-content-secondary-color: light-dark(var(--primitives-color-neutral-550), var(--primitives-color-neutral-650));
|
|
1512
|
+
--semantics-buttons-neutral-transparent-is-selected-background-color: var(--semantics-buttons-neutral-tinted-is-selected-background-color);
|
|
1513
|
+
--semantics-buttons-neutral-transparent-is-selected-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-selected-highlight-border-color);
|
|
1514
|
+
--semantics-buttons-neutral-transparent-is-selected-content-color: var(--semantics-buttons-neutral-tinted-is-selected-content-color);
|
|
1515
|
+
--semantics-buttons-neutral-transparent-is-selected-is-hovered-background-color: var(--semantics-buttons-neutral-tinted-is-selected-is-hovered-background-color);
|
|
1516
|
+
--semantics-buttons-neutral-transparent-is-selected-is-hovered-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-selected-is-hovered-highlight-border-color);
|
|
1517
|
+
--semantics-buttons-neutral-transparent-is-selected-is-hovered-content-color: var(--semantics-buttons-neutral-tinted-is-selected-is-hovered-content-color);
|
|
1518
|
+
--semantics-buttons-neutral-transparent-is-selected-is-active-background-color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-background-color);
|
|
1519
|
+
--semantics-buttons-neutral-transparent-is-selected-is-active-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-highlight-border-color);
|
|
1520
|
+
--semantics-buttons-neutral-transparent-is-selected-is-active-content-color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-content-color);
|
|
1512
1521
|
|
|
1513
1522
|
--semantics-buttons-accent-filled-background-color: light-dark(var(--primitives-color-accent-750), var(--primitives-color-accent-650));
|
|
1514
1523
|
--semantics-buttons-accent-filled-content-color: var(--primitives-color-accent-0);
|
|
@@ -1542,6 +1551,15 @@
|
|
|
1542
1551
|
--semantics-buttons-accent-transparent-is-hovered-content-secondary-color: light-dark(var(--primitives-color-accent-550), var(--primitives-color-accent-650));
|
|
1543
1552
|
--semantics-buttons-accent-transparent-is-active-content-color: light-dark(var(--primitives-color-accent-850), var(--primitives-color-accent-750));
|
|
1544
1553
|
--semantics-buttons-accent-transparent-is-active-content-secondary-color: light-dark(var(--primitives-color-accent-550), var(--primitives-color-accent-650));
|
|
1554
|
+
--semantics-buttons-accent-transparent-is-selected-background-color: var(--semantics-buttons-neutral-tinted-is-selected-background-color);
|
|
1555
|
+
--semantics-buttons-accent-transparent-is-selected-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-selected-highlight-border-color);
|
|
1556
|
+
--semantics-buttons-accent-transparent-is-selected-content-color: var(--semantics-buttons-neutral-tinted-is-selected-content-color);
|
|
1557
|
+
--semantics-buttons-accent-transparent-is-selected-is-hovered-background-color: var(--semantics-buttons-neutral-tinted-is-selected-is-hovered-background-color);
|
|
1558
|
+
--semantics-buttons-accent-transparent-is-selected-is-hovered-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-selected-is-hovered-highlight-border-color);
|
|
1559
|
+
--semantics-buttons-accent-transparent-is-selected-is-hovered-content-color: var(--semantics-buttons-neutral-tinted-is-selected-is-hovered-content-color);
|
|
1560
|
+
--semantics-buttons-accent-transparent-is-selected-is-active-background-color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-background-color);
|
|
1561
|
+
--semantics-buttons-accent-transparent-is-selected-is-active-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-highlight-border-color);
|
|
1562
|
+
--semantics-buttons-accent-transparent-is-selected-is-active-content-color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-content-color);
|
|
1545
1563
|
|
|
1546
1564
|
--semantics-buttons-critical-tinted-background-color: light-dark(var(--primitives-color-critical-75), var(--primitives-color-critical-150));
|
|
1547
1565
|
--semantics-buttons-critical-tinted-content-color: light-dark(var(--primitives-color-critical-600), var(--primitives-color-critical-700));
|
|
@@ -1587,51 +1605,13 @@
|
|
|
1587
1605
|
--semantics-buttons-inherit-tinted-content-color: currentColor;
|
|
1588
1606
|
--semantics-buttons-inherit-tinted-content-secondary-color: var(--semantics-buttons-inherit-tinted-content-color);
|
|
1589
1607
|
--semantics-buttons-inherit-tinted-highlight-border-color: color-mix(in oklab, var(--semantics-content-contrast-color) 10%, transparent);
|
|
1590
|
-
--semantics-buttons-inherit-tinted-
|
|
1591
|
-
--semantics-buttons-inherit-tinted-is-hovered-content-color: var(--semantics-buttons-inherit-tinted-content-color);
|
|
1592
|
-
--semantics-buttons-inherit-tinted-is-hovered-content-secondary-color: var(--semantics-buttons-inherit-tinted-content-secondary-color);
|
|
1593
|
-
--semantics-buttons-inherit-tinted-is-hovered-highlight-border-color: color-mix(in oklab, var(--semantics-content-contrast-color) 10%, transparent);
|
|
1594
|
-
--semantics-buttons-inherit-tinted-is-active-background-color: color-mix(in oklab, var(--semantics-content-contrast-color) 30%, transparent);
|
|
1595
|
-
--semantics-buttons-inherit-tinted-is-active-content-color: var(--semantics-buttons-inherit-tinted-content-color);
|
|
1596
|
-
--semantics-buttons-inherit-tinted-is-active-content-secondary-color: var(--semantics-buttons-inherit-tinted-content-secondary-color);
|
|
1597
|
-
--semantics-buttons-inherit-tinted-is-active-highlight-border-color: color-mix(in oklab, var(--semantics-content-contrast-color) 10%, transparent);
|
|
1598
|
-
--semantics-buttons-inherit-tinted-is-expanded-background-color: color-mix(in oklab, var(--semantics-content-contrast-color) 30%, transparent);
|
|
1599
|
-
--semantics-buttons-inherit-tinted-is-expanded-content-color: var(--semantics-buttons-inherit-tinted-content-color);
|
|
1600
|
-
--semantics-buttons-inherit-tinted-is-expanded-content-secondary-color: var(--semantics-buttons-inherit-tinted-content-secondary-color);
|
|
1601
|
-
--semantics-buttons-inherit-tinted-is-expanded-highlight-border-color: color-mix(in oklab, var(--semantics-content-contrast-color) 10%, transparent);
|
|
1602
|
-
--semantics-buttons-inherit-tinted-is-expanded-is-hovered-background-color: color-mix(in oklab, var(--semantics-content-contrast-color) 35%, transparent);
|
|
1603
|
-
--semantics-buttons-inherit-tinted-is-expanded-is-hovered-content-color: var(--semantics-buttons-inherit-tinted-content-color);
|
|
1604
|
-
--semantics-buttons-inherit-tinted-is-expanded-is-hovered-content-secondary-color: var(--semantics-buttons-inherit-tinted-content-secondary-color);
|
|
1605
|
-
--semantics-buttons-inherit-tinted-is-expanded-is-hovered-highlight-border-color: color-mix(in oklab, var(--semantics-content-contrast-color) 10%, transparent);
|
|
1606
|
-
--semantics-buttons-inherit-tinted-is-expanded-is-active-background-color: color-mix(in oklab, var(--semantics-content-contrast-color) 40%, transparent);
|
|
1607
|
-
--semantics-buttons-inherit-tinted-is-expanded-is-active-content-color: var(--semantics-buttons-inherit-tinted-content-color);
|
|
1608
|
-
--semantics-buttons-inherit-tinted-is-expanded-is-active-content-secondary-color: var(--semantics-buttons-inherit-tinted-content-secondary-color);
|
|
1609
|
-
--semantics-buttons-inherit-tinted-is-expanded-is-active-highlight-border-color: color-mix(in oklab, var(--semantics-content-contrast-color) 10%, transparent);
|
|
1608
|
+
--semantics-buttons-inherit-tinted-divider-color: color-mix(in oklab, currentColor 35%, transparent);
|
|
1610
1609
|
|
|
1611
1610
|
--semantics-buttons-inherit-filled-background-color: currentColor;
|
|
1612
1611
|
--semantics-buttons-inherit-filled-content-color: var(--semantics-content-contrast-color);
|
|
1613
1612
|
--semantics-buttons-inherit-filled-content-secondary-color: currentColor;
|
|
1614
1613
|
--semantics-buttons-inherit-filled-highlight-border-color: currentColor;
|
|
1615
|
-
--semantics-buttons-inherit-filled-
|
|
1616
|
-
--semantics-buttons-inherit-filled-is-hovered-highlight-border-color: currentColor;
|
|
1617
|
-
--semantics-buttons-inherit-filled-is-hovered-content-color: var(--semantics-buttons-inherit-filled-content-color);
|
|
1618
|
-
--semantics-buttons-inherit-filled-is-hovered-content-secondary-color: var(--semantics-buttons-inherit-filled-content-secondary-color);
|
|
1619
|
-
--semantics-buttons-inherit-filled-is-active-background-color: color-mix(in oklab, currentColor 85%, transparent);
|
|
1620
|
-
--semantics-buttons-inherit-filled-is-active-highlight-border-color: currentColor;
|
|
1621
|
-
--semantics-buttons-inherit-filled-is-active-content-color: var(--semantics-buttons-inherit-filled-content-color);
|
|
1622
|
-
--semantics-buttons-inherit-filled-is-active-content-secondary-color: var(--semantics-buttons-inherit-filled-content-secondary-color);
|
|
1623
|
-
--semantics-buttons-inherit-filled-is-expanded-background-color: color-mix(in oklab, currentColor 85%, transparent);
|
|
1624
|
-
--semantics-buttons-inherit-filled-is-expanded-highlight-border-color: currentColor;
|
|
1625
|
-
--semantics-buttons-inherit-filled-is-expanded-content-color: var(--semantics-buttons-inherit-filled-content-color);
|
|
1626
|
-
--semantics-buttons-inherit-filled-is-expanded-content-secondary-color: var(--semantics-buttons-inherit-filled-content-secondary-color);
|
|
1627
|
-
--semantics-buttons-inherit-filled-is-expanded-is-hovered-background-color: color-mix(in oklab, currentColor 80%, transparent);
|
|
1628
|
-
--semantics-buttons-inherit-filled-is-expanded-is-hovered-highlight-border-color: currentColor;
|
|
1629
|
-
--semantics-buttons-inherit-filled-is-expanded-is-hovered-content-color: var(--semantics-buttons-inherit-filled-content-color);
|
|
1630
|
-
--semantics-buttons-inherit-filled-is-expanded-is-hovered-content-secondary-color: var(--semantics-buttons-inherit-filled-content-secondary-color);
|
|
1631
|
-
--semantics-buttons-inherit-filled-is-expanded-is-active-background-color: color-mix(in oklab, currentColor 75%, transparent);
|
|
1632
|
-
--semantics-buttons-inherit-filled-is-expanded-is-active-highlight-border-color: currentColor;
|
|
1633
|
-
--semantics-buttons-inherit-filled-is-expanded-is-active-content-color: var(--semantics-buttons-inherit-filled-content-color);
|
|
1634
|
-
--semantics-buttons-inherit-filled-is-expanded-is-active-content-secondary-color: var(--semantics-buttons-inherit-filled-content-secondary-color);
|
|
1614
|
+
--semantics-buttons-inherit-filled-divider-color: color-mix(in oklab, var(--semantics-content-contrast-color) 25%, transparent);
|
|
1635
1615
|
|
|
1636
1616
|
/* ## Input fields */
|
|
1637
1617
|
|
|
@@ -1650,8 +1630,8 @@
|
|
|
1650
1630
|
--semantics-input-fields-is-autofill-content-color: light-dark(var(--primitives-color-mark-800), var(--primitives-color-mark-200));
|
|
1651
1631
|
|
|
1652
1632
|
--semantics-input-fields-xs-text-font: var(--primitives-font-body-xs-regular-flat);
|
|
1653
|
-
/* Font for
|
|
1654
|
-
|
|
1633
|
+
/* Font for an xs <select> on touch: iOS Safari auto-zooms inputs below 16px,
|
|
1634
|
+
so this must stay >= 16px. */
|
|
1655
1635
|
--semantics-input-fields-native-select-font: var(--primitives-font-body-sm-regular-snug);
|
|
1656
1636
|
--semantics-input-fields-sm-text-font: var(--primitives-font-body-sm-regular-flat);
|
|
1657
1637
|
--semantics-input-fields-sm-mask-font: 400 var(--primitives-font-size-90)/var(--primitives-line-height-flat) Verdana, system-ui;
|
|
@@ -1773,6 +1753,14 @@
|
|
|
1773
1753
|
--components-card-highlight-border-width: var(--semantics-surfaces-border-width);
|
|
1774
1754
|
--components-card-highlight-border-color: var(--semantics-surfaces-base-border-color);
|
|
1775
1755
|
--components-card-tinted-highlight-border-color: var(--semantics-surfaces-tinted-border-color);
|
|
1756
|
+
--components-card-is-hovered-background-color: light-dark(var(--primitives-color-neutral-25), var(--primitives-color-neutral-150));
|
|
1757
|
+
--components-card-is-hovered-highlight-border-color: light-dark(var(--primitives-color-neutral-100), var(--primitives-color-neutral-250));
|
|
1758
|
+
--components-card-is-active-background-color: light-dark(var(--primitives-color-neutral-50), var(--primitives-color-neutral-200));
|
|
1759
|
+
--components-card-is-active-highlight-border-color: light-dark(var(--primitives-color-neutral-150), var(--primitives-color-neutral-300));
|
|
1760
|
+
--components-card-tinted-is-hovered-background-color: light-dark(var(--primitives-color-neutral-50), var(--primitives-color-neutral-100));
|
|
1761
|
+
--components-card-tinted-is-hovered-highlight-border-color: light-dark(var(--primitives-color-neutral-100), var(--primitives-color-neutral-250));
|
|
1762
|
+
--components-card-tinted-is-active-background-color: light-dark(var(--primitives-color-neutral-75), var(--primitives-color-neutral-150));
|
|
1763
|
+
--components-card-tinted-is-active-highlight-border-color: light-dark(var(--primitives-color-neutral-150), var(--primitives-color-neutral-300));
|
|
1776
1764
|
|
|
1777
1765
|
/* ## Checkbox */
|
|
1778
1766
|
|