@nldd/design-system 0.9.0 → 0.11.0
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/custom-elements.json +878 -25
- package/dist/assets/styles/breakpoints.d.ts +32 -0
- package/dist/assets/styles/breakpoints.d.ts.map +1 -1
- package/dist/assets/styles/breakpoints.js +36 -0
- package/dist/assets/styles/breakpoints.js.map +1 -1
- package/dist/components/actions/button/button.d.ts +10 -0
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +23 -0
- 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 +22 -0
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts +1 -0
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +20 -2
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.js +2 -2
- package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +10 -0
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +23 -0
- package/dist/components/actions/icon-button/icon-button.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 +10 -3
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu.js +2 -2
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +3 -3
- package/dist/components/actions/split-button/split-button.d.ts +8 -0
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +20 -0
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.template.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +4 -0
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/breakpoints-Bpf2MgjM.js +39 -0
- package/dist/components/components.js +803 -829
- package/dist/components/content/blockquote/blockquote.styles.js +2 -2
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +3 -3
- package/dist/components/content/identity/identity.styles.js +2 -2
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/image/image.styles.js +1 -1
- package/dist/components/content/image/lqip-encoder-element.js +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 +6 -21
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +3 -0
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/title/title.styles.js +5 -5
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +14 -0
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +45 -6
- 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 +13 -0
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.js +18 -2
- package/dist/components/content/tooltip/tooltip.template.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.js +2 -2
- package/dist/components/forms/form-actions/form-actions.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +2 -2
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/{icon-button-BVhiOwX9.js → icon-button-Cntrg4_E.js} +526 -61
- package/dist/components/inputs/checkbox/checkbox.d.ts +8 -0
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +11 -0
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +36 -9
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +3 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +6 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +7 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.template.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.template.js +1 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.template.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +2 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +2 -2
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +2 -2
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +31 -7
- package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +2 -2
- package/dist/components/inputs/radio-button/radio-button.d.ts +8 -0
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +11 -0
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +28 -9
- package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +3 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +6 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +7 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.template.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.template.js +2 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.template.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +11 -0
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +30 -1
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +18 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.js +12 -0
- package/dist/components/inputs/search-field/search-field.template.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +10 -0
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +25 -1
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.template.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.template.js +20 -3
- package/dist/components/inputs/segmented-control/segmented-control.template.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +8 -0
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +11 -0
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +14 -2
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +3 -0
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +7 -0
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js +7 -0
- package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.template.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.template.js +1 -0
- package/dist/components/inputs/switch-field/switch-field.template.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +17 -14
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +2 -2
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +2 -2
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +10 -0
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +25 -1
- package/dist/components/inputs/toggle-button/toggle-button.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 +21 -7
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/layout/box/box.d.ts +4 -2
- package/dist/components/layout/box/box.d.ts.map +1 -1
- package/dist/components/layout/box/box.js +3 -1
- package/dist/components/layout/box/box.js.map +1 -1
- package/dist/components/layout/box/box.styles.d.ts.map +1 -1
- package/dist/components/layout/box/box.styles.js +10 -5
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +2 -2
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +12 -3
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +6 -0
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +6 -0
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +5 -5
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +2 -0
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +9 -0
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/container/container.styles.d.ts.map +1 -1
- package/dist/components/layout/container/container.styles.js +18 -5
- package/dist/components/layout/container/container.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +5 -5
- 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.d.ts +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +5 -5
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js +5 -5
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +15 -13
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +20 -12
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.js +8 -98
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +5 -5
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +8 -8
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/page-section-controls.js +2 -2
- package/dist/components/layout/page-sections/page-section-controls.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +0 -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 -3
- 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.js +6 -6
- 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.d.ts +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +5 -5
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +8 -8
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.js +2 -2
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +3 -3
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +4 -4
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/spacer/spacer.styles.js +5 -5
- package/dist/components/layout/spacer/spacer.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +4 -5
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +5 -5
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js +9 -5
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +2 -2
- 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 +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 +6 -0
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +4 -7
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +2 -2
- 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 +18 -17
- 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.js +2 -2
- package/dist/components/navigation/pagination/pagination.styles.js +2 -2
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +9 -9
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -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 +14 -9
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +16 -9
- 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 +16 -9
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +23 -18
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js +19 -21
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +3 -2
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +13 -1
- 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 +18 -125
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +15 -15
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +2 -2
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.js +3 -3
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +6 -6
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +3 -3
- 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 +14 -14
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +9 -7
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
- package/dist/components/{visibility-mixin-Crbt8PFP.js → visibility-mixin-djNSG5ZN.js} +5 -5
- package/dist/css/rich-text.css +11 -11
- package/dist/css/themes/bruin.css +226 -0
- package/dist/css/themes/donkerblauw.css +226 -0
- package/dist/css/themes/donkerbruin.css +206 -0
- package/dist/css/themes/donkergeel.css +259 -0
- package/dist/css/themes/donkergroen.css +211 -0
- package/dist/css/themes/geel.css +259 -0
- package/dist/css/themes/groen.css +226 -0
- package/dist/css/themes/hemelblauw.css +226 -0
- package/dist/css/themes/lichtblauw.css +229 -0
- package/dist/css/themes/mintgroen.css +229 -0
- package/dist/css/themes/mosgroen.css +226 -0
- package/dist/css/themes/oranje.css +259 -0
- package/dist/css/themes/paars.css +233 -0
- package/dist/css/themes/robijnrood.css +259 -0
- package/dist/css/themes/rood.css +259 -0
- package/dist/css/themes/roze.css +236 -0
- package/dist/css/themes/violet.css +211 -0
- package/dist/css/themes.css +3884 -0
- package/dist/css/variables.css +215 -184
- package/dist/favicon/bruin/favicon.svg +5 -0
- package/dist/favicon/bruin/touch-icon.png +0 -0
- package/dist/favicon/donkerblauw/favicon.svg +5 -0
- package/dist/favicon/donkerblauw/touch-icon.png +0 -0
- package/dist/favicon/donkerbruin/favicon.svg +5 -0
- package/dist/favicon/donkerbruin/touch-icon.png +0 -0
- package/dist/favicon/donkergeel/favicon.svg +5 -0
- package/dist/favicon/donkergeel/touch-icon.png +0 -0
- package/dist/favicon/donkergroen/favicon.svg +5 -0
- package/dist/favicon/donkergroen/touch-icon.png +0 -0
- package/dist/favicon/geel/favicon.svg +5 -0
- package/dist/favicon/geel/touch-icon.png +0 -0
- package/dist/favicon/groen/favicon.svg +5 -0
- package/dist/favicon/groen/touch-icon.png +0 -0
- package/dist/favicon/hemelblauw/favicon.svg +5 -0
- package/dist/favicon/hemelblauw/touch-icon.png +0 -0
- package/dist/favicon/lichtblauw/favicon.svg +5 -0
- package/dist/favicon/lichtblauw/touch-icon.png +0 -0
- package/dist/favicon/mintgroen/favicon.svg +5 -0
- package/dist/favicon/mintgroen/touch-icon.png +0 -0
- package/dist/favicon/mosgroen/favicon.svg +5 -0
- package/dist/favicon/mosgroen/touch-icon.png +0 -0
- package/dist/favicon/oranje/favicon.svg +5 -0
- package/dist/favicon/oranje/touch-icon.png +0 -0
- package/dist/favicon/paars/favicon.svg +5 -0
- package/dist/favicon/paars/touch-icon.png +0 -0
- package/dist/favicon/robijnrood/favicon.svg +5 -0
- package/dist/favicon/robijnrood/touch-icon.png +0 -0
- package/dist/favicon/rood/favicon.svg +5 -0
- package/dist/favicon/rood/touch-icon.png +0 -0
- package/dist/favicon/roze/favicon.svg +5 -0
- package/dist/favicon/roze/touch-icon.png +0 -0
- package/dist/favicon/violet/favicon.svg +5 -0
- package/dist/favicon/violet/touch-icon.png +0 -0
- package/dist/nldd.min.js +1328 -1244
- package/dist/types/vue.d.ts +134 -19
- package/dist/utilities/codemirror/theme.js +1 -1
- package/dist/utilities/codemirror/theme.js.map +1 -1
- package/dist/utilities/page-section-mixin.d.ts +4 -3
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +6 -4
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/shortcut.d.ts +50 -0
- package/dist/utilities/shortcut.d.ts.map +1 -0
- package/dist/utilities/shortcut.js +77 -0
- package/dist/utilities/shortcut.js.map +1 -0
- package/dist/utilities/visibility-mixin.styles.js +5 -5
- package/dist/utilities/visibility-mixin.styles.js.map +1 -1
- package/package.json +11 -7
- package/dist/components/breakpoints-CkxsiRgH.js +0 -10
- package/dist/components/{icon-D_ZGezHx.js → icon-zNX9A6d3.js} +1 -1
|
@@ -28,9 +28,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
28
28
|
* <nldd-radio-button name="options" value="2" accessible-label="Optie 2"></nldd-radio-button>
|
|
29
29
|
* </fieldset>
|
|
30
30
|
*
|
|
31
|
+
* On a selected row of nldd-list-item a checked control takes the colors of the
|
|
32
|
+
* row: the row sets `--context-selected-indicator-color` and
|
|
33
|
+
* `--context-selected-contrast-color`, because the accent can fall below 3:1 on
|
|
34
|
+
* the gray of a selected row.
|
|
35
|
+
*
|
|
31
36
|
* @element nldd-radio-button
|
|
32
37
|
* @attr {boolean} checked - Checked state
|
|
33
38
|
* @attr {boolean} disabled - Disabled state
|
|
39
|
+
* @attr {'inherit'} color - 'inherit' draws the control in the color of the text around it, with the mark in the surface color (`--context-parent-background-color`) or else `--semantics-content-contrast-color`, white or black against the text color. For a control on a colored surface, such as the panel of nldd-hero, where the accent would not stand out. Without it the control uses the accent.
|
|
34
40
|
* @attr {boolean} no-tab - Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable.
|
|
35
41
|
* @attr {boolean} decorative - Renders the shape only: no role, no focus, no
|
|
36
42
|
* name/value, nothing announced. For a control that owns the state elsewhere,
|
|
@@ -74,6 +80,8 @@ let NLDDRadioButton = class NLDDRadioButton extends DescribedBy(FormAssociated(L
|
|
|
74
80
|
this.focusRing = false;
|
|
75
81
|
this.name = '';
|
|
76
82
|
this.value = '';
|
|
83
|
+
/** 'inherit' draws the control in the surrounding text color. */
|
|
84
|
+
this.color = '';
|
|
77
85
|
this.accessibleLabel = '';
|
|
78
86
|
/**
|
|
79
87
|
* Marks the control as invalid.
|
|
@@ -242,6 +250,9 @@ __decorate([
|
|
|
242
250
|
__decorate([
|
|
243
251
|
property({ type: String })
|
|
244
252
|
], NLDDRadioButton.prototype, "value", void 0);
|
|
253
|
+
__decorate([
|
|
254
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
255
|
+
], NLDDRadioButton.prototype, "color", void 0);
|
|
245
256
|
__decorate([
|
|
246
257
|
property({ type: String, attribute: 'accessible-label' })
|
|
247
258
|
], NLDDRadioButton.prototype, "accessibleLabel", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.ts"],"names":[],"mappings":";;;;;;AA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OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;kDAClD;AAGlB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAC,EAAE,CAAC,EAAE,CAAC;6CACpD;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8CAChB;AAIX;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAC,EAAE,CAAC,EAAE,CAAC;8CACnC;AAG3B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;wDACrC;AAarB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gDAC3B;AA3DJ,eAAe;IAD3B,aAAa,CAAC,mBAAmB,CAAC;GACtB,eAAe,CAsM3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"radio-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,yBAuI7B,CAAC"}
|
|
@@ -12,17 +12,17 @@ export const radioButtonStyles = css `
|
|
|
12
12
|
--_radio-button-border-color: light-dark(var(--primitives-color-neutral-550), var(--primitives-color-neutral-650));
|
|
13
13
|
--_radio-button-background-color: var(--semantics-surfaces-base-background-color);
|
|
14
14
|
--_radio-button-is-selected-inner-shape-border-width: var(--primitives-border-width-regular);
|
|
15
|
-
--_radio-button-is-selected-inner-shape-border-color: var(--semantics-controls-is-
|
|
16
|
-
--_radio-button-is-selected-border-color: var(--semantics-controls-is-
|
|
17
|
-
--_radio-button-is-selected-background-color: var(--semantics-controls-is-
|
|
15
|
+
--_radio-button-is-selected-inner-shape-border-color: var(--context-selected-contrast-color, var(--semantics-controls-is-selected-mark-color));
|
|
16
|
+
--_radio-button-is-selected-border-color: var(--context-selected-indicator-color, var(--semantics-controls-is-selected-indicator-color));
|
|
17
|
+
--_radio-button-is-selected-background-color: var(--context-selected-indicator-color, var(--semantics-controls-is-selected-indicator-color));
|
|
18
18
|
--_radio-button-is-hovered-border-color: light-dark(var(--primitives-color-neutral-600), var(--primitives-color-neutral-700));
|
|
19
|
-
--_radio-button-is-selected-is-hovered-border-color: var(--semantics-controls-is-
|
|
20
|
-
--_radio-button-is-selected-is-hovered-background-color: var(--semantics-controls-is-
|
|
21
|
-
--_radio-button-is-selected-is-hovered-inner-shape-border-color: var(--semantics-controls-is-
|
|
19
|
+
--_radio-button-is-selected-is-hovered-border-color: var(--context-selected-indicator-color, var(--semantics-controls-is-selected-is-hovered-indicator-color));
|
|
20
|
+
--_radio-button-is-selected-is-hovered-background-color: var(--context-selected-indicator-color, var(--semantics-controls-is-selected-is-hovered-indicator-color));
|
|
21
|
+
--_radio-button-is-selected-is-hovered-inner-shape-border-color: var(--context-selected-contrast-color, var(--semantics-controls-is-selected-mark-color));
|
|
22
22
|
--_radio-button-is-active-border-color: light-dark(var(--primitives-color-neutral-650), var(--primitives-color-neutral-750));
|
|
23
|
-
--_radio-button-is-selected-is-active-border-color: var(--semantics-controls-is-
|
|
24
|
-
--_radio-button-is-selected-is-active-background-color: var(--semantics-controls-is-
|
|
25
|
-
--_radio-button-is-selected-is-active-inner-shape-border-color: var(--semantics-controls-is-
|
|
23
|
+
--_radio-button-is-selected-is-active-border-color: var(--context-selected-indicator-color, var(--semantics-controls-is-selected-is-active-indicator-color));
|
|
24
|
+
--_radio-button-is-selected-is-active-background-color: var(--context-selected-indicator-color, var(--semantics-controls-is-selected-is-active-indicator-color));
|
|
25
|
+
--_radio-button-is-selected-is-active-inner-shape-border-color: var(--context-selected-contrast-color, var(--semantics-controls-is-selected-mark-color));
|
|
26
26
|
|
|
27
27
|
display: inline-flex;
|
|
28
28
|
position: relative;
|
|
@@ -40,6 +40,25 @@ export const radioButtonStyles = css `
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
|
|
43
|
+
/* ## Colors */
|
|
44
|
+
|
|
45
|
+
:host([color="inherit"]) {
|
|
46
|
+
--_radio-button-border-color: currentColor;
|
|
47
|
+
--_radio-button-background-color: transparent;
|
|
48
|
+
--_radio-button-is-hovered-border-color: currentColor;
|
|
49
|
+
--_radio-button-is-active-border-color: currentColor;
|
|
50
|
+
--_radio-button-is-selected-border-color: currentColor;
|
|
51
|
+
--_radio-button-is-selected-background-color: currentColor;
|
|
52
|
+
--_radio-button-is-selected-inner-shape-border-color: var(--context-parent-background-color, var(--semantics-content-contrast-color));
|
|
53
|
+
--_radio-button-is-selected-is-hovered-border-color: currentColor;
|
|
54
|
+
--_radio-button-is-selected-is-hovered-background-color: currentColor;
|
|
55
|
+
--_radio-button-is-selected-is-hovered-inner-shape-border-color: var(--context-parent-background-color, var(--semantics-content-contrast-color));
|
|
56
|
+
--_radio-button-is-selected-is-active-border-color: currentColor;
|
|
57
|
+
--_radio-button-is-selected-is-active-background-color: currentColor;
|
|
58
|
+
--_radio-button-is-selected-is-active-inner-shape-border-color: var(--context-parent-background-color, var(--semantics-content-contrast-color));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
43
62
|
/* # Elements */
|
|
44
63
|
|
|
45
64
|
.radio-button__outer-shape {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"radio-button.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button/radio-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuInC,CAAC"}
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
* @element nldd-radio-button-field
|
|
22
22
|
* @attr {boolean} checked - Checked state
|
|
23
23
|
* @attr {boolean} disabled - Disabled state
|
|
24
|
+
* @attr {'inherit'} color - 'inherit' draws the control and its label in the color of the text around it, for a field on a colored surface such as the panel of nldd-hero. Passed to the control inside.
|
|
24
25
|
* @attr {string} value - Value for form submission
|
|
25
26
|
* @attr {string} name - Radio group name for form submission; ties the fields of one group together. Set automatically by nldd-radio-button-group.
|
|
26
27
|
* @attr {boolean} required - Required state. What it asks is whether anything in the group is checked, as a native radio does. Set automatically by nldd-radio-button-group.
|
|
@@ -47,6 +48,8 @@ export declare class NLDDRadioButtonField extends NLDDRadioButtonField_base {
|
|
|
47
48
|
* group assigns the property. */
|
|
48
49
|
name: string;
|
|
49
50
|
required: boolean;
|
|
51
|
+
/** 'inherit' draws the control and its label in the surrounding text color. */
|
|
52
|
+
color: '' | 'inherit';
|
|
50
53
|
label: string;
|
|
51
54
|
/**
|
|
52
55
|
* Marks the control as invalid.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"radio-button-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.ts"],"names":[],"mappings":"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0E;IACjE,SAAS,IAAI,SAAS;IAI/B,iBAAiB,IAAI,IAAI;IAKzB,wBAAwB,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,GAAG,QAAQ,GAAG,IAAI,GAAG,IAAI;IAItE;;uCAEmC;IAC5B,MAAM,IAAI,IAAI;IAYrB,OAAO,CAAC,QAAQ,CAEd;IAEF,OAAO,CAAC,QAAQ,CAEd;IAEF,OAAO,CAAC,OAAO,CAEb;IAEF,OAAO,CAAC,UAAU,CAehB;IAEF;yEACqE;IAC5D,eAAe,IAAI,OAAO,GAAG,IAAI;IAIjC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,yBAAyB,EAAE,oBAAoB,CAAC;KAChD;CACD"}
|
|
@@ -27,6 +27,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
27
27
|
* @element nldd-radio-button-field
|
|
28
28
|
* @attr {boolean} checked - Checked state
|
|
29
29
|
* @attr {boolean} disabled - Disabled state
|
|
30
|
+
* @attr {'inherit'} color - 'inherit' draws the control and its label in the color of the text around it, for a field on a colored surface such as the panel of nldd-hero. Passed to the control inside.
|
|
30
31
|
* @attr {string} value - Value for form submission
|
|
31
32
|
* @attr {string} name - Radio group name for form submission; ties the fields of one group together. Set automatically by nldd-radio-button-group.
|
|
32
33
|
* @attr {boolean} required - Required state. What it asks is whether anything in the group is checked, as a native radio does. Set automatically by nldd-radio-button-group.
|
|
@@ -58,6 +59,8 @@ let NLDDRadioButtonField = class NLDDRadioButtonField extends DescribedBy(FormAs
|
|
|
58
59
|
* group assigns the property. */
|
|
59
60
|
this.name = '';
|
|
60
61
|
this.required = false;
|
|
62
|
+
/** 'inherit' draws the control and its label in the surrounding text color. */
|
|
63
|
+
this.color = '';
|
|
61
64
|
this.label = '';
|
|
62
65
|
/**
|
|
63
66
|
* Marks the control as invalid.
|
|
@@ -237,6 +240,9 @@ __decorate([
|
|
|
237
240
|
__decorate([
|
|
238
241
|
property({ type: Boolean, reflect: true })
|
|
239
242
|
], NLDDRadioButtonField.prototype, "required", void 0);
|
|
243
|
+
__decorate([
|
|
244
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
245
|
+
], NLDDRadioButtonField.prototype, "color", void 0);
|
|
240
246
|
__decorate([
|
|
241
247
|
property({ type: String })
|
|
242
248
|
], NLDDRadioButtonField.prototype, "label", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-field.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"radio-button-field.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAkB,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAG/D,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,WAAW,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;IAA1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AO,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;;AAnNe,2BAAM,GAAG,sBAAsB,AAAzB,CAA0B;AAEhD;oEACoE;AAC7D,gCAAW,GAAG,IAAI,AAAP,CAAQ;AAM1B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;qDAC3B;AAGhB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;sDAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;mDAChB;AAMX;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAC,EAAE,CAAC,EAAE,CAAC;kDACpD;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;sDAC1B;AAIjB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAC,EAAE,CAAC,EAAE,CAAC;mDACnC;AAG3B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;mDAChB;AAaX;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;qDAC3B;AAKhB;IADC,KAAK,EAAE;4DACoC;AAK5C;IADC,KAAK,EAAE;gEACmB;AAwB3B;IADC,KAAK,EAAE;wDACW;AAjFP,oBAAoB;IADhC,aAAa,CAAC,yBAAyB,CAAC;GAC5B,oBAAoB,CAsNhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"radio-button-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,yBAgElC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;IASrC,kBAAkB
|
|
1
|
+
{"version":3,"file":"radio-button-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;IASrC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-field.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"radio-button-field.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,iCAAiC,CAAC;AAEzC,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,oBAAoB,GAAG,cAAc,CAgCxF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { html } from 'lit';
|
|
1
|
+
import { html, nothing } from 'lit';
|
|
2
2
|
import '../radio-button/radio-button.js';
|
|
3
3
|
export function radioButtonFieldTemplate(component) {
|
|
4
4
|
// The field itself is the radio: it carries the role, the state and the
|
|
@@ -20,6 +20,7 @@ export function radioButtonFieldTemplate(component) {
|
|
|
20
20
|
>
|
|
21
21
|
<div class="radio-button-field__control">
|
|
22
22
|
<nldd-radio-button
|
|
23
|
+
color=${component.color || nothing}
|
|
23
24
|
decorative
|
|
24
25
|
?checked=${component.checked}
|
|
25
26
|
?disabled=${component.disabled}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button-field.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"radio-button-field.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/radio-button-field/radio-button-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AAEpD,OAAO,iCAAiC,CAAC;AAEzC,MAAM,UAAU,wBAAwB,CAAC,SAA+B;IACvE,wEAAwE;IACxE,0EAA0E;IAC1E,4EAA4E;IAC5E,8EAA8E;IAC9E,8EAA8E;IAC9E,+EAA+E;IAC/E,2BAA2B;IAC3B,OAAO,IAAI,CAAA;;;;;;gBAMI,SAAS,CAAC,QAAQ;gBAClB,SAAS,CAAC,QAAQ;eACnB,SAAS,CAAC,SAAS;;;;aAIrB,SAAS,CAAC,KAAK,IAAI,OAAO;;gBAEvB,SAAS,CAAC,OAAO;iBAChB,SAAS,CAAC,QAAQ;mBAChB,SAAS,CAAC,UAAU;;;;MAIjC,SAAS,CAAC,KAAK;;;EAGnB,CAAC;AACH,CAAC"}
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
* @attr {string} placeholder - Placeholder text for the input
|
|
11
11
|
* @attr {string} accessible-label - Accessible name (aria-label) of the native input. Falls back to `placeholder`, and keeps it when a value is typed. That works while the placeholder names the field ('Zoek een gebruiker'); set this when the placeholder is an example instead ('bijv. Jansen').
|
|
12
12
|
* @attr {boolean} show-search-button - When set, shows a search button on the right
|
|
13
|
+
* @attr {string} shortcut - Keyboard shortcut hint shown at the right end of the empty field, e.g. 'Cmd+K' or '/'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key, wire up focusing the field in your app. Hidden while the field has focus or a value, and on touch-only devices. Joins the field's description for screen readers.
|
|
14
|
+
* @attr {string} shortcut-mac - Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`).
|
|
15
|
+
* @attr {string} shortcut-windows - Override of `shortcut` on Windows (falls back to `shortcut`).
|
|
16
|
+
* @attr {string} shortcut-linux - Override of `shortcut` on Linux (falls back to `shortcut`).
|
|
13
17
|
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
14
18
|
* @attr {boolean} invalid - Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it.
|
|
15
19
|
* @attr {boolean} disabled - Disabled state
|
|
@@ -31,6 +35,7 @@ import type { NLDDSearchFieldTranslations } from './search-field.i18n.js';
|
|
|
31
35
|
import './../../actions/icon-button/icon-button.js';
|
|
32
36
|
import './../../actions/button/button.js';
|
|
33
37
|
import './../../content/icon/icon.js';
|
|
38
|
+
import '../../content/keyboard-shortcut/keyboard-shortcut.js';
|
|
34
39
|
export type SearchFieldSize = 'sm' | 'md';
|
|
35
40
|
declare const NLDDSearchField_base: typeof LitElement & (abstract new (...args: any[]) => LitElement & import("../../../utilities/form-associated-mixin.js").FormAssociatedElement) & (abstract new (...args: any[]) => import("../../../utilities/described-by-mixin.js").DescribedElement);
|
|
36
41
|
export declare class NLDDSearchField extends NLDDSearchField_base {
|
|
@@ -42,6 +47,8 @@ export declare class NLDDSearchField extends NLDDSearchField_base {
|
|
|
42
47
|
* would submit the form. See utilities/implicit-submission.ts. */
|
|
43
48
|
static blocksImplicitSubmission: boolean;
|
|
44
49
|
private _initialValue;
|
|
50
|
+
/** Renders again when shortcuts become available or unavailable, for the shortcut in the accessible name. */
|
|
51
|
+
private _shortcutAvailability;
|
|
45
52
|
size: SearchFieldSize;
|
|
46
53
|
/** Optional fixed width (any CSS length). When unset, the field stretches to fill its container. */
|
|
47
54
|
width: string;
|
|
@@ -54,6 +61,10 @@ export declare class NLDDSearchField extends NLDDSearchField_base {
|
|
|
54
61
|
* placeholder is no longer visible, to ensure screen readers still have context. */
|
|
55
62
|
accessibleLabel: string;
|
|
56
63
|
showSearchButton: boolean;
|
|
64
|
+
shortcut: string;
|
|
65
|
+
shortcutMac: string;
|
|
66
|
+
shortcutWindows: string;
|
|
67
|
+
shortcutLinux: string;
|
|
57
68
|
/** Override one or more translation keys. Unset keys fall back to Dutch. */
|
|
58
69
|
translations: Partial<NLDDSearchFieldTranslations>;
|
|
59
70
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"search-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAEtD,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAK7F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,4CAA4C,CAAC;AACpD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,8BAA8B,CAAC;AAGtC,OAAO,sDAAsD,CAAC;AAG9D,MAAM,MAAM,eAAe,GAA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AI;IAY7B,cAAc,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IAMtC,YAAY,IAAI,IAAI;IAgBpB,aAAa,IAAI,IAAI;IAI5B,OAAO,CAAC,eAAe;IASvB;;;OAGG;IACM,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAInC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,mBAAmB,EAAE,eAAe,CAAC;KACrC;CACD"}
|
|
@@ -16,6 +16,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
16
16
|
* @attr {string} placeholder - Placeholder text for the input
|
|
17
17
|
* @attr {string} accessible-label - Accessible name (aria-label) of the native input. Falls back to `placeholder`, and keeps it when a value is typed. That works while the placeholder names the field ('Zoek een gebruiker'); set this when the placeholder is an example instead ('bijv. Jansen').
|
|
18
18
|
* @attr {boolean} show-search-button - When set, shows a search button on the right
|
|
19
|
+
* @attr {string} shortcut - Keyboard shortcut hint shown at the right end of the empty field, e.g. 'Cmd+K' or '/'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key, wire up focusing the field in your app. Hidden while the field has focus or a value, and on touch-only devices. Joins the field's description for screen readers.
|
|
20
|
+
* @attr {string} shortcut-mac - Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`).
|
|
21
|
+
* @attr {string} shortcut-windows - Override of `shortcut` on Windows (falls back to `shortcut`).
|
|
22
|
+
* @attr {string} shortcut-linux - Override of `shortcut` on Linux (falls back to `shortcut`).
|
|
19
23
|
* @attr {object} translations - Override translation keys; unset keys fall back to Dutch
|
|
20
24
|
* @attr {boolean} invalid - Marks the control as invalid. Announced with aria-invalid; nothing is drawn for it.
|
|
21
25
|
* @attr {boolean} disabled - Disabled state
|
|
@@ -41,12 +45,16 @@ import { nlddSearchFieldTranslations } from './search-field.i18n.js';
|
|
|
41
45
|
import './../../actions/icon-button/icon-button.js';
|
|
42
46
|
import './../../actions/button/button.js';
|
|
43
47
|
import './../../content/icon/icon.js';
|
|
44
|
-
import { DescribedBy } from '../../../utilities/described-by-mixin.js';
|
|
48
|
+
import { DescribedBy, applyDescribedBy } from '../../../utilities/described-by-mixin.js';
|
|
49
|
+
import { ShortcutAvailabilityController, shortcutsAvailable } from '../../../utilities/shortcut.js';
|
|
50
|
+
import '../../content/keyboard-shortcut/keyboard-shortcut.js';
|
|
45
51
|
import { translate } from '../../../utilities/translations.js';
|
|
46
52
|
let NLDDSearchField = class NLDDSearchField extends DescribedBy(FormAssociated(LitElement)) {
|
|
47
53
|
constructor() {
|
|
48
54
|
super(...arguments);
|
|
49
55
|
this._initialValue = '';
|
|
56
|
+
/** Renders again when shortcuts become available or unavailable, for the shortcut in the accessible name. */
|
|
57
|
+
this._shortcutAvailability = new ShortcutAvailabilityController(this);
|
|
50
58
|
this.size = 'md';
|
|
51
59
|
/** Optional fixed width (any CSS length). When unset, the field stretches to fill its container. */
|
|
52
60
|
this.width = '';
|
|
@@ -58,6 +66,10 @@ let NLDDSearchField = class NLDDSearchField extends DescribedBy(FormAssociated(L
|
|
|
58
66
|
* placeholder is no longer visible, to ensure screen readers still have context. */
|
|
59
67
|
this.accessibleLabel = '';
|
|
60
68
|
this.showSearchButton = false;
|
|
69
|
+
this.shortcut = '';
|
|
70
|
+
this.shortcutMac = '';
|
|
71
|
+
this.shortcutWindows = '';
|
|
72
|
+
this.shortcutLinux = '';
|
|
61
73
|
/** Override one or more translation keys. Unset keys fall back to Dutch. */
|
|
62
74
|
this.translations = {};
|
|
63
75
|
/**
|
|
@@ -82,6 +94,11 @@ let NLDDSearchField = class NLDDSearchField extends DescribedBy(FormAssociated(L
|
|
|
82
94
|
this._initialValue = this.value;
|
|
83
95
|
}
|
|
84
96
|
updated(changed) {
|
|
97
|
+
// Runs after the DescribedBy controller, so the shortcut hint is added to
|
|
98
|
+
// the help and error texts of an nldd-form-field instead of replacing them.
|
|
99
|
+
const hint = shortcutsAvailable() ? this.shadowRoot?.querySelector('.search-field__shortcut') : null;
|
|
100
|
+
if (hint)
|
|
101
|
+
applyDescribedBy(this.describedTarget(), [...this.describedByElements, hint], true);
|
|
85
102
|
if (changed.has('width')) {
|
|
86
103
|
const w = this.width;
|
|
87
104
|
if (w && w !== 'full' && CSS.supports('width', w)) {
|
|
@@ -203,6 +220,18 @@ __decorate([
|
|
|
203
220
|
__decorate([
|
|
204
221
|
property({ type: Boolean, reflect: true, attribute: 'show-search-button' })
|
|
205
222
|
], NLDDSearchField.prototype, "showSearchButton", void 0);
|
|
223
|
+
__decorate([
|
|
224
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
225
|
+
], NLDDSearchField.prototype, "shortcut", void 0);
|
|
226
|
+
__decorate([
|
|
227
|
+
property({ reflect: true, attribute: 'shortcut-mac', converter: reflectNonDefault('') })
|
|
228
|
+
], NLDDSearchField.prototype, "shortcutMac", void 0);
|
|
229
|
+
__decorate([
|
|
230
|
+
property({ reflect: true, attribute: 'shortcut-windows', converter: reflectNonDefault('') })
|
|
231
|
+
], NLDDSearchField.prototype, "shortcutWindows", void 0);
|
|
232
|
+
__decorate([
|
|
233
|
+
property({ reflect: true, attribute: 'shortcut-linux', converter: reflectNonDefault('') })
|
|
234
|
+
], NLDDSearchField.prototype, "shortcutLinux", void 0);
|
|
206
235
|
__decorate([
|
|
207
236
|
property({ type: Object })
|
|
208
237
|
], NLDDSearchField.prototype, "translations", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-field.js","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"search-field.js","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KA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AC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;iDAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAC,EAAE,CAAC,EAAE,CAAC;6CACpD;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8CAChB;AAIX;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;iDAC1B;AAIjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDACvB;AAInB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDACvB;AAInB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAC,EAAE,CAAC,EAAE,CAAC;gDACjD;AAGb;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;qDAClD;AAjGT,eAAe;IAD3B,aAAa,CAAC,mBAAmB,CAAC;GACtB,eAAe,CAwN3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"search-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,yBAmL7B,CAAC"}
|
|
@@ -17,6 +17,8 @@ export const searchFieldStyles = css `
|
|
|
17
17
|
--_search-field-text-font: var(--semantics-input-fields-md-text-font);
|
|
18
18
|
--_search-field-end-padding-right: calc((var(--_search-field-min-size) - var(--semantics-controls-sm-min-size)) / 2 - var(--semantics-input-fields-border-width));
|
|
19
19
|
--_search-field-end-gap: var(--primitives-space-6);
|
|
20
|
+
--_search-field-shortcut-size: var(--primitives-space-20);
|
|
21
|
+
--_search-field-shortcut-padding-right: calc((var(--_search-field-min-size) - var(--_search-field-shortcut-size)) / 2 - var(--semantics-input-fields-border-width));
|
|
20
22
|
--_search-field-button-focus-z-index: 1;
|
|
21
23
|
|
|
22
24
|
${inheritedTextReset}
|
|
@@ -112,6 +114,22 @@ export const searchFieldStyles = css `
|
|
|
112
114
|
appearance: none;
|
|
113
115
|
}
|
|
114
116
|
|
|
117
|
+
.search-field__shortcut {
|
|
118
|
+
display: flex;
|
|
119
|
+
flex-shrink: 0;
|
|
120
|
+
padding-right: var(--_search-field-shortcut-padding-right);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.search-field:focus-within .search-field__shortcut {
|
|
124
|
+
display: none;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@media (any-hover: none) {
|
|
128
|
+
.search-field__shortcut {
|
|
129
|
+
display: none;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
115
133
|
.search-field__input::placeholder {
|
|
116
134
|
color: var(--semantics-input-fields-placeholder-color);
|
|
117
135
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"search-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;IAqBhC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8JrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-field.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,4CAA4C,CAAC;AACpD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"search-field.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,4CAA4C,CAAC;AACpD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,8BAA8B,CAAC;AAGtC,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,eAAe,GAAG,cAAc,CAuE9E"}
|
|
@@ -2,6 +2,7 @@ import { html, nothing } from 'lit';
|
|
|
2
2
|
import './../../actions/icon-button/icon-button.js';
|
|
3
3
|
import './../../actions/button/button.js';
|
|
4
4
|
import './../../content/icon/icon.js';
|
|
5
|
+
import { hasShortcut } from '../../../utilities/shortcut.js';
|
|
5
6
|
export function searchFieldTemplate(component) {
|
|
6
7
|
const buttonSize = component.size === 'sm' ? 'xs' : 'sm';
|
|
7
8
|
// Only render the fade + end (clear / search buttons) when at least one is
|
|
@@ -32,6 +33,17 @@ export function searchFieldTemplate(component) {
|
|
|
32
33
|
@change=${component._handleChange}
|
|
33
34
|
@keydown=${component._handleKeydown}
|
|
34
35
|
>
|
|
36
|
+
${hasShortcut(component) && !component.value ? html `
|
|
37
|
+
<span class="search-field__shortcut">
|
|
38
|
+
<nldd-keyboard-shortcut
|
|
39
|
+
size="sm"
|
|
40
|
+
keys=${component.shortcut || nothing}
|
|
41
|
+
mac-keys=${component.shortcutMac || nothing}
|
|
42
|
+
windows-keys=${component.shortcutWindows || nothing}
|
|
43
|
+
linux-keys=${component.shortcutLinux || nothing}
|
|
44
|
+
></nldd-keyboard-shortcut>
|
|
45
|
+
</span>
|
|
46
|
+
` : nothing}
|
|
35
47
|
</label>
|
|
36
48
|
${hasEnd ? html `
|
|
37
49
|
<div class="search-field__input-fade"></div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-field.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AAEpD,OAAO,4CAA4C,CAAC;AACpD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"search-field.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/search-field/search-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AAEpD,OAAO,4CAA4C,CAAC;AACpD,OAAO,kCAAkC,CAAC;AAC1C,OAAO,8BAA8B,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,MAAM,UAAU,mBAAmB,CAAC,SAA0B;IAC7D,MAAM,UAAU,GAAG,SAAS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BAAgB,CAAC,CAAC,CAAC,IAAI,CAAA;;;;eAIzB,UAAU;eACV,SAAS,CAAC,EAAE,CAAC,uCAAuC,CAAC;iBACnD,SAAS,CAAC,aAAa;;;MAGlC,CAAC,CAAC,CAAC,OAAO;;IAEZ,CAAC,CAAC,CAAC,OAAO;;EAEZ,CAAC;AACH,CAAC"}
|
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
* @attr {boolean} disabled - Disabled state
|
|
32
32
|
* @attr {string} text - Text label (shown for variant "text" and "icon-and-text"; used as aria-label and tooltip for variant "icon")
|
|
33
33
|
* @attr {string} icon - Icon name for nldd-icon
|
|
34
|
+
* @attr {string} shortcut - Keyboard shortcut hint shown in the tooltip, e.g. 'Cmd+B'. Display only (rendered via nldd-keyboard-shortcut): it does not bind the key, wire up the handling in your app. Part of the accessible name ("Vet Cmd B"), as in nldd-menu-item. Hidden on touch-only devices, where it isn't invokable.
|
|
35
|
+
* @attr {string} shortcut-mac - Override of `shortcut` on macOS, where the keys differ (falls back to `shortcut`).
|
|
36
|
+
* @attr {string} shortcut-windows - Override of `shortcut` on Windows (falls back to `shortcut`).
|
|
37
|
+
* @attr {string} shortcut-linux - Override of `shortcut` on Linux (falls back to `shortcut`).
|
|
34
38
|
* @attr {string} appearance - Visual style: 'neutral-tinted' | 'neutral-base' (default: 'neutral-tinted'). Set by nldd-segmented-control.
|
|
35
39
|
* @attr {string} size - Control size: 'sm' | 'md' | 'lg' (default: 'md'). Set by nldd-segmented-control.
|
|
36
40
|
* @attr {string} variant - Content type: 'text' | 'icon' | 'icon-and-text' (default: 'text'). Set by nldd-segmented-control.
|
|
@@ -74,11 +78,17 @@ export declare class NLDDSegmentedControlItem extends LitElement {
|
|
|
74
78
|
/** Icon name for nldd-icon. When not set, the icon slot is used; the icon and
|
|
75
79
|
* icon-and-text variants show a placeholder icon when neither is provided. */
|
|
76
80
|
icon: string;
|
|
81
|
+
shortcut: string;
|
|
82
|
+
shortcutMac: string;
|
|
83
|
+
shortcutWindows: string;
|
|
84
|
+
shortcutLinux: string;
|
|
77
85
|
/** Set by nldd-segmented-control in radio mode: this item's place in the
|
|
78
86
|
* group, which it cannot count by itself. */
|
|
79
87
|
_groupPosition: RadioPosition | null;
|
|
80
88
|
/** The aria-label this item wrote on itself, so it only takes back its own. */
|
|
81
89
|
private _appliedRadioLabel;
|
|
90
|
+
/** Renders again when shortcuts become available or unavailable, for the shortcut in the accessible name. */
|
|
91
|
+
private _shortcutAvailability;
|
|
82
92
|
connectedCallback(): void;
|
|
83
93
|
disconnectedCallback(): void;
|
|
84
94
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmented-control.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/segmented-control/segmented-control.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"segmented-control.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/segmented-control/segmented-control.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEjC,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAE7F,OAAO,EAAkB,KAAK,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAS1F,OAAO,8BAA8B,CAAC;AAMtC,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG,cAAc,CAAC;AAC3E,MAAM,MAAM,oBAAoB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACtD,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,UAAU,CAAC;AACxD,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,MAAM,GAAG,eAAe,CAAC;AAKxE,qBACa,wBAAyB,SAAQ,UAAU;IAGvD,QAAQ,UAAS;IACjB,OAAgB,MAAM,0BAA8B;IAGpD,KAAK,SAAM;IAGX,QAAQ,UAAS;IAGj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