@nldd/design-system 0.8.95 → 0.8.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -9
- package/custom-elements.json +288 -288
- package/dist/assets/styles/shadow-resets.d.ts +1 -1
- package/dist/assets/styles/shadow-resets.js +1 -1
- package/dist/components/actions/button/button.js +3 -3
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.js +273 -273
- package/dist/components/actions/button-bar/button-bar.styles.js +34 -34
- package/dist/components/actions/button-group/button-group.styles.js +11 -11
- package/dist/components/actions/icon-button/icon-button.js +3 -3
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +203 -203
- package/dist/components/actions/menu/menu.d.ts +3 -3
- package/dist/components/actions/menu/menu.js +15 -15
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +46 -41
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/split-button/split-button.js +3 -3
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +30 -30
- package/dist/components/actions/toolbar/toolbar.d.ts +5 -0
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +28 -18
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +55 -55
- package/dist/components/components.js +4095 -4003
- package/dist/components/content/avatar/avatar.d.ts +1 -1
- package/dist/components/content/avatar/avatar.js +3 -3
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +39 -39
- package/dist/components/content/avatar-group/avatar-group.styles.js +36 -36
- package/dist/components/content/blockquote/blockquote.styles.js +14 -14
- package/dist/components/content/code-viewer/code-viewer.js +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +36 -36
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +16 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.js +14 -42
- package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +12 -0
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.js +2 -2
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/icon/icon.styles.js +48 -48
- package/dist/components/content/identity/identity.styles.js +17 -17
- package/dist/components/content/image/image.js +3 -3
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.js +153 -153
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +42 -40
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/tag/tag.styles.js +95 -95
- package/dist/components/content/text/text.styles.js +23 -23
- package/dist/components/content/title/title.styles.js +38 -38
- package/dist/components/content/token/token.styles.js +4 -4
- package/dist/components/content/tooltip/tooltip.js +5 -5
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +21 -18
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +5 -5
- package/dist/components/forms/validation-list/validation-list.styles.js +7 -7
- package/dist/components/{icon-Typdp4av.js → icon-DQHT2C7z.js} +70 -50
- package/dist/components/{icon-button-9mo3oIyL.js → icon-button-mevRsl4C.js} +278 -275
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +31 -16
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +2 -2
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +30 -30
- package/dist/components/inputs/combo-box/combo-box.js +2 -2
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +30 -30
- package/dist/components/inputs/date-field/date-field.js +4 -4
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +46 -46
- package/dist/components/inputs/date-picker/date-picker.js +3 -3
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +65 -65
- package/dist/components/inputs/dropdown/dropdown.js +2 -2
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +66 -66
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +33 -30
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +3 -3
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +30 -30
- package/dist/components/inputs/number-field/number-field.js +3 -3
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +18 -18
- package/dist/components/inputs/password-field/password-field.js +2 -2
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +37 -37
- package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +29 -13
- package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +2 -2
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +30 -30
- package/dist/components/inputs/segmented-control/segmented-control.js +4 -4
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +108 -108
- package/dist/components/inputs/stepper/stepper.styles.js +10 -10
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +39 -31
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +7 -7
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +138 -138
- package/dist/components/inputs/text-field/text-field.js +2 -2
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +27 -27
- package/dist/components/inputs/time-field/time-field.js +4 -4
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +40 -40
- package/dist/components/inputs/time-picker/time-picker.js +4 -4
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +30 -30
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +145 -145
- package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js +7 -3
- package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +28 -28
- package/dist/components/layout/app-view/app-view.d.ts +1 -1
- package/dist/components/layout/app-view/app-view.js +1 -1
- package/dist/components/layout/app-view/app-view.styles.js +3 -3
- package/dist/components/layout/box/box.styles.js +13 -13
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +24 -21
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.js +6 -6
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +19 -19
- package/dist/components/layout/container/container.d.ts +2 -2
- package/dist/components/layout/container/container.js +30 -30
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/container/container.styles.js +125 -125
- package/dist/components/layout/page/page.js +5 -5
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.js +20 -20
- package/dist/components/layout/page-footer/page-footer.js +4 -4
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +26 -26
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +3 -3
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +17 -17
- package/dist/components/layout/page-sections/hero/hero.js +6 -6
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.js +74 -74
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +3 -3
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +17 -17
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +3 -3
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +17 -17
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +5 -5
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +29 -27
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +3 -3
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +17 -17
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +3 -3
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +17 -17
- package/dist/components/layout/popover/popover.d.ts +1 -1
- package/dist/components/layout/popover/popover.js +5 -5
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +4 -3
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.js +4 -4
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +8 -8
- package/dist/components/layout/spacer/spacer.styles.js +76 -76
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +5 -5
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +4 -4
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +12 -12
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +6 -6
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +4 -4
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +4 -4
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +6 -6
- package/dist/components/layout/window/window.d.ts +1 -1
- package/dist/components/layout/window/window.js +1 -1
- package/dist/components/layout/window/window.styles.d.ts.map +1 -1
- package/dist/components/layout/window/window.styles.js +3 -1
- package/dist/components/layout/window/window.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js +8 -8
- package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.styles.js +9 -9
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +8 -8
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +10 -10
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js +9 -9
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +14 -14
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.js +20 -20
- package/dist/components/lists-and-tables/cells/{timeline-track-cell/timeline-track-cell.d.ts → step-cell/step-cell.d.ts} +18 -17
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{timeline-track-cell/timeline-track-cell.js → step-cell/step-cell.js} +33 -32
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js +184 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.d.ts +4 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{timeline-track-cell/timeline-track-cell.template.js → step-cell/step-cell.template.js} +10 -10
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +9 -9
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +37 -37
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +8 -8
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +37 -37
- package/dist/components/lists-and-tables/list/list.js +7 -7
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +49 -48
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +9 -9
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +69 -67
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +30 -30
- package/dist/components/lists-and-tables/table/table.js +2 -2
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +21 -21
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +3 -3
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +12 -12
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +51 -49
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +23 -17
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +29 -29
- package/dist/components/navigation/skip-link/skip-link.styles.js +8 -8
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +53 -53
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +3 -3
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +35 -32
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +3 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
- package/dist/components/{shadow-resets-aG-rgyNQ.js → shadow-resets-CPa58rmc.js} +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +46 -46
- package/dist/components/status-and-feedback/badge/badge.js +2 -2
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +120 -119
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +49 -49
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +19 -19
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +12 -12
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +58 -58
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +6 -6
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.js +45 -39
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notifications-area.js +2 -2
- package/dist/components/status-and-feedback/notification/notifications-area.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +121 -119
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +58 -58
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +36 -36
- package/dist/components/status-and-feedback/{step-indicator/step-indicator.d.ts → step-bar/step-bar.d.ts} +32 -32
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts +9 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js +8 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js.map +1 -0
- package/dist/components/status-and-feedback/{step-indicator/step-indicator.js → step-bar/step-bar.js} +46 -46
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts +3 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +294 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.template.d.ts +5 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.template.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js +69 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -0
- package/dist/css/rich-text.css +35 -32
- package/dist/css/variables.css +54 -410
- package/dist/nldd.min.js +4154 -4035
- package/dist/translations/en-US.js +5 -5
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.js +5 -5
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +5 -5
- package/dist/translations/nl.generated.js +2 -2
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.js +5 -5
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.js +5 -5
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/vue.d.ts +59 -59
- package/dist/utilities/codemirror/theme.js +17 -17
- package/dist/utilities/codemirror/theme.js.map +1 -1
- package/dist/utilities/page-section-mixin.js +3 -3
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/spacing-scale.d.ts +1 -1
- package/dist/utilities/spacing-scale.js +1 -1
- package/package.json +10 -8
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.d.ts +0 -2
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +0 -184
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.d.ts +0 -4
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.d.ts +0 -9
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.d.ts.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.js +0 -8
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.js.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.d.ts +0 -3
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.d.ts.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.js +0 -294
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.js.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.d.ts +0 -5
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.d.ts.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js +0 -69
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js.map +0 -1
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
import { css, unsafeCSS } from 'lit';
|
|
2
|
-
import { breakpoints } from '../../../assets/styles/breakpoints.js';
|
|
3
|
-
import { inheritedTextReset } from '../../../assets/styles/shadow-resets.js';
|
|
4
|
-
const smMax = unsafeCSS(breakpoints.smMax);
|
|
5
|
-
export const stepIndicatorStyles = css `
|
|
6
|
-
:host {
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
:host {
|
|
11
|
-
--_compact-text-gap: var(--primitives-space-8);
|
|
12
|
-
--_compact-text-color: var(--semantics-content-color);
|
|
13
|
-
--_compact-count-color: var(--semantics-content-secondary-color);
|
|
14
|
-
--_compact-bar-gap: var(--primitives-space-4);
|
|
15
|
-
--_compact-bar-segment-gap: var(--primitives-space-2);
|
|
16
|
-
--_compact-bar-corner-radius: var(--primitives-corner-radius-full);
|
|
17
|
-
--_track-color: light-dark(var(--primitives-color-neutral-100), var(--primitives-color-neutral-200));
|
|
18
|
-
--_compact-bar-height: var(--primitives-space-6);
|
|
19
|
-
--_progress-color: var(--semantics-content-accent-color);
|
|
20
|
-
--_item-gap: var(--primitives-space-4);
|
|
21
|
-
--_marker-size: var(--primitives-space-24);
|
|
22
|
-
--_track-thickness: var(--primitives-space-2);
|
|
23
|
-
--_marker-z-index: 1;
|
|
24
|
-
--_marker-corner-radius: var(--primitives-corner-radius-full);
|
|
25
|
-
--_ring-thickness: var(--semantics-surfaces-ring-thickness);
|
|
26
|
-
--_ring-color: var(--context-parent-background-color, var(--semantics-surfaces-base-background-color));
|
|
27
|
-
--_marker-content-color: var(--semantics-content-secondary-color);
|
|
28
|
-
--_progress-content-color: var(--semantics-content-contrast-color);
|
|
29
|
-
--_current-fill-color: light-dark(var(--primitives-color-accent-75), var(--primitives-color-accent-100));
|
|
30
|
-
--_icon-size: var(--primitives-space-16);
|
|
31
|
-
--_title-color: var(--semantics-content-secondary-color);
|
|
32
|
-
--_current-title-color: var(--semantics-content-color);
|
|
33
|
-
--_control-corner-radius: var(--semantics-controls-md-corner-radius);
|
|
34
|
-
--_control-bleed-block: var(--primitives-space-4);
|
|
35
|
-
--_control-bleed-inline: var(--primitives-space-8);
|
|
36
|
-
--_control-fill-z-index: -1;
|
|
37
|
-
--_control-ring-z-index: 1;
|
|
38
|
-
--_control-hover-background-color: light-dark(var(--primitives-color-neutral-50), var(--primitives-color-neutral-150));
|
|
39
|
-
|
|
40
|
-
${inheritedTextReset}
|
|
41
|
-
isolation: isolate;
|
|
42
|
-
display: block;
|
|
43
|
-
container-type: inline-size;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
:host([hidden]) {
|
|
47
|
-
display: none;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.step-indicator__items {
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: start;
|
|
53
|
-
|
|
54
|
-
/* Stays in the DOM for assistive tech when the compact view takes over.
|
|
55
|
-
Standard visually-hidden recipe. */
|
|
56
|
-
@container (max-width: ${smMax}) {
|
|
57
|
-
position: absolute;
|
|
58
|
-
width: 1px;
|
|
59
|
-
height: 1px;
|
|
60
|
-
overflow: hidden;
|
|
61
|
-
clip-path: inset(50%);
|
|
62
|
-
white-space: nowrap;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.step-indicator__compact-text {
|
|
67
|
-
display: none;
|
|
68
|
-
margin: 0;
|
|
69
|
-
gap: var(--_compact-text-gap);
|
|
70
|
-
justify-content: space-between;
|
|
71
|
-
align-items: baseline;
|
|
72
|
-
color: var(--_compact-text-color);
|
|
73
|
-
font: var(--primitives-font-body-md-regular-flat);
|
|
74
|
-
|
|
75
|
-
@container (max-width: ${smMax}) {
|
|
76
|
-
display: flex;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.step-indicator__compact-count {
|
|
81
|
-
color: var(--_compact-count-color);
|
|
82
|
-
font-variant-numeric: tabular-nums;
|
|
83
|
-
white-space: nowrap;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.step-indicator__compact-bar {
|
|
87
|
-
display: none;
|
|
88
|
-
margin-top: var(--_compact-bar-gap);
|
|
89
|
-
gap: var(--_compact-bar-segment-gap);
|
|
90
|
-
|
|
91
|
-
@container (max-width: ${smMax}) {
|
|
92
|
-
display: flex;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.step-indicator__compact-bar-segment {
|
|
97
|
-
flex: 1;
|
|
98
|
-
border-radius: var(--_compact-bar-corner-radius);
|
|
99
|
-
background-color: var(--_track-color);
|
|
100
|
-
height: var(--_compact-bar-height);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.step-indicator__compact-bar-segment[data-filled] {
|
|
104
|
-
background-color: var(--_progress-color);
|
|
105
|
-
}
|
|
106
|
-
`;
|
|
107
|
-
export const stepIndicatorItemStyles = css `
|
|
108
|
-
:host {
|
|
109
|
-
box-sizing: border-box;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
:host {
|
|
113
|
-
${inheritedTextReset}
|
|
114
|
-
display: block;
|
|
115
|
-
flex: 1;
|
|
116
|
-
min-width: 0;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
:host([hidden]) {
|
|
120
|
-
display: none;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.step-indicator__item {
|
|
124
|
-
position: relative;
|
|
125
|
-
display: flex;
|
|
126
|
-
flex-direction: column;
|
|
127
|
-
align-items: center;
|
|
128
|
-
gap: var(--_item-gap);
|
|
129
|
-
text-align: center;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.step-indicator__item::before,
|
|
133
|
-
.step-indicator__item::after {
|
|
134
|
-
position: absolute;
|
|
135
|
-
top: calc(var(--_marker-size) / 2 - var(--_track-thickness) / 2);
|
|
136
|
-
height: var(--_track-thickness);
|
|
137
|
-
content: "";
|
|
138
|
-
background-color: var(--_track-color);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.step-indicator__item::before {
|
|
142
|
-
left: 0;
|
|
143
|
-
right: 50%;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.step-indicator__item::after {
|
|
147
|
-
left: 50%;
|
|
148
|
-
right: 0;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
:host(:first-of-type) .step-indicator__item::before {
|
|
152
|
-
content: none;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
:host(:last-of-type) .step-indicator__item::after {
|
|
156
|
-
content: none;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.step-indicator__item.is-past::before {
|
|
160
|
-
background-color: var(--_progress-color);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.step-indicator__item.is-past::after {
|
|
164
|
-
background-color: var(--_progress-color);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.step-indicator__item.is-current::before {
|
|
168
|
-
background-color: var(--_progress-color);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.step-indicator__item-marker {
|
|
172
|
-
box-sizing: border-box;
|
|
173
|
-
position: relative;
|
|
174
|
-
z-index: var(--_marker-z-index);
|
|
175
|
-
display: flex;
|
|
176
|
-
width: var(--_marker-size);
|
|
177
|
-
height: var(--_marker-size);
|
|
178
|
-
align-items: center;
|
|
179
|
-
justify-content: center;
|
|
180
|
-
border-radius: var(--_marker-corner-radius);
|
|
181
|
-
/* Ring in the background color: masks the track running underneath, so
|
|
182
|
-
the marker gets breathing room without shortening the track. */
|
|
183
|
-
box-shadow: 0 0 0 var(--_ring-thickness) var(--_ring-color);
|
|
184
|
-
background-color: var(--_track-color);
|
|
185
|
-
color: var(--_marker-content-color);
|
|
186
|
-
font: var(--primitives-font-body-sm-medium-flat);
|
|
187
|
-
|
|
188
|
-
@media (forced-colors: active) {
|
|
189
|
-
border: var(--primitives-border-width-regular) solid CanvasText;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.step-indicator__item.is-past .step-indicator__item-marker {
|
|
194
|
-
background-color: var(--_progress-color);
|
|
195
|
-
color: var(--_progress-content-color);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.step-indicator__item.is-current .step-indicator__item-marker {
|
|
199
|
-
border: var(--_track-thickness) solid var(--_progress-color);
|
|
200
|
-
background-color: var(--_current-fill-color);
|
|
201
|
-
color: var(--_progress-color);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.step-indicator__item-icon {
|
|
205
|
-
width: var(--_icon-size);
|
|
206
|
-
height: var(--_icon-size);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.step-indicator__item-title {
|
|
210
|
-
color: var(--_title-color);
|
|
211
|
-
font: var(--primitives-font-body-sm-regular-flat);
|
|
212
|
-
overflow-wrap: anywhere;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.step-indicator__item.is-current .step-indicator__item-title {
|
|
216
|
-
color: var(--_current-title-color);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
/* Standard visually-hidden recipe. */
|
|
220
|
-
.step-indicator__item-status {
|
|
221
|
-
position: absolute;
|
|
222
|
-
width: 1px;
|
|
223
|
-
height: 1px;
|
|
224
|
-
overflow: hidden;
|
|
225
|
-
clip-path: inset(50%);
|
|
226
|
-
white-space: nowrap;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.step-indicator__item-control {
|
|
230
|
-
position: relative;
|
|
231
|
-
display: flex;
|
|
232
|
-
width: fit-content;
|
|
233
|
-
max-width: 100%;
|
|
234
|
-
flex-direction: column;
|
|
235
|
-
align-items: center;
|
|
236
|
-
gap: var(--_item-gap);
|
|
237
|
-
padding: 0;
|
|
238
|
-
border: none;
|
|
239
|
-
border-radius: var(--_control-corner-radius);
|
|
240
|
-
background: none;
|
|
241
|
-
color: inherit;
|
|
242
|
-
cursor: var(--semantics-controls-link-cursor);
|
|
243
|
-
font: inherit;
|
|
244
|
-
text-decoration: none;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
/* Two layers on the same box, bleeding past the control rather than padding
|
|
248
|
-
it: padding would move the marker down while the track sits at a fixed
|
|
249
|
-
offset, and the two would no longer line up. ::before carries the fill and
|
|
250
|
-
stays under the track; ::after carries the focus ring and goes over it. */
|
|
251
|
-
.step-indicator__item-control::before,
|
|
252
|
-
.step-indicator__item-control::after {
|
|
253
|
-
position: absolute;
|
|
254
|
-
inset: calc(var(--_control-bleed-block) * -1) calc(var(--_control-bleed-inline) * -1);
|
|
255
|
-
border-radius: var(--_control-corner-radius);
|
|
256
|
-
content: "";
|
|
257
|
-
pointer-events: none;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.step-indicator__item-control::before {
|
|
261
|
-
z-index: var(--_control-fill-z-index);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.step-indicator__item-control::after {
|
|
265
|
-
z-index: var(--_control-ring-z-index);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.step-indicator__item-control:focus-visible {
|
|
269
|
-
/* The ring lives on ::after, so the control's own must go — two rings on
|
|
270
|
-
one control is what the browser default would add here. */
|
|
271
|
-
outline: none;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.step-indicator__item-control:focus-visible::after {
|
|
275
|
-
outline: var(--semantics-focus-ring-outline);
|
|
276
|
-
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
277
|
-
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
/* Hover only on hover-capable devices: keeps a touch-scroll from lighting up
|
|
281
|
-
the step under the finger. */
|
|
282
|
-
@media (hover: hover) {
|
|
283
|
-
.step-indicator__item-control:hover {
|
|
284
|
-
/* The marker's ring masks the track in the surrounding color, so it
|
|
285
|
-
has to follow the hover fill or it paints a halo on top of it. */
|
|
286
|
-
--_ring-color: var(--_control-hover-background-color);
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.step-indicator__item-control:hover::before {
|
|
290
|
-
background-color: var(--_control-hover-background-color);
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
`;
|
|
294
|
-
//# sourceMappingURL=step-indicator.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"step-indicator.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/step-indicator/step-indicator.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmClC,kBAAkB;;;;;;;;;;;;;;;;2BAgBK,KAAK;;;;;;;;;;;;;;;;;;;2BAmBL,KAAK;;;;;;;;;;;;;;;;2BAgBL,KAAK;;;;;;;;;;;;;;;CAe/B,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAA;;;;;;IAMtC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoLrB,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type TemplateResult } from 'lit';
|
|
2
|
-
import type { NLDDStepIndicator, NLDDStepIndicatorItem } from './step-indicator.js';
|
|
3
|
-
export declare function stepIndicatorTemplate(component: NLDDStepIndicator): TemplateResult;
|
|
4
|
-
export declare function stepIndicatorItemTemplate(component: NLDDStepIndicatorItem): TemplateResult;
|
|
5
|
-
//# sourceMappingURL=step-indicator.template.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"step-indicator.template.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/step-indicator/step-indicator.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEpF,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,iBAAiB,GAAG,cAAc,CAmClF;AAED,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,qBAAqB,GAAG,cAAc,CAiC1F"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { html, nothing } from 'lit';
|
|
2
|
-
export function stepIndicatorTemplate(component) {
|
|
3
|
-
const label = component.accessibleLabel || component._t('components.step-indicator.accessible-label');
|
|
4
|
-
const current = component.resolvedCurrent;
|
|
5
|
-
const total = component.total;
|
|
6
|
-
const currentTitle = component.currentItem?.text ?? '';
|
|
7
|
-
const compactText = component._t('components.step-indicator.compact-text', { current, total });
|
|
8
|
-
return html `
|
|
9
|
-
<nav class="step-indicator"
|
|
10
|
-
aria-label=${label || nothing}
|
|
11
|
-
>
|
|
12
|
-
<div class="step-indicator__items"
|
|
13
|
-
role="list"
|
|
14
|
-
>
|
|
15
|
-
<slot @slotchange=${component._onSlotChange}></slot>
|
|
16
|
-
</div>
|
|
17
|
-
${total > 0 ? html `
|
|
18
|
-
<p class="step-indicator__compact-text"
|
|
19
|
-
aria-hidden="true"
|
|
20
|
-
>
|
|
21
|
-
${currentTitle ? html `<span class="step-indicator__compact-title">${currentTitle}</span>` : nothing}
|
|
22
|
-
<span class="step-indicator__compact-count">${compactText}</span>
|
|
23
|
-
</p>
|
|
24
|
-
<div class="step-indicator__compact-bar"
|
|
25
|
-
aria-hidden="true"
|
|
26
|
-
>
|
|
27
|
-
${Array.from({ length: total }, (_, index) => html `
|
|
28
|
-
<span class="step-indicator__compact-bar-segment"
|
|
29
|
-
?data-filled=${index + 1 <= current}
|
|
30
|
-
></span>
|
|
31
|
-
`)}
|
|
32
|
-
</div>
|
|
33
|
-
` : nothing}
|
|
34
|
-
</nav>
|
|
35
|
-
`;
|
|
36
|
-
}
|
|
37
|
-
export function stepIndicatorItemTemplate(component) {
|
|
38
|
-
const status = component.resolvedStatus;
|
|
39
|
-
// A past step shows a check mark instead of its number; the number stays in
|
|
40
|
-
// the status text for anyone who can't see it.
|
|
41
|
-
const marker = component.icon
|
|
42
|
-
? html `<nldd-icon class="step-indicator__item-icon" icon=${component.icon}></nldd-icon>`
|
|
43
|
-
: status === 'past'
|
|
44
|
-
? html `<nldd-icon class="step-indicator__item-icon" icon="check-mark"></nldd-icon>`
|
|
45
|
-
: html `<span class="step-indicator__item-number">${component._index}</span>`;
|
|
46
|
-
const content = html `
|
|
47
|
-
<span class="step-indicator__item-marker"
|
|
48
|
-
aria-hidden="true"
|
|
49
|
-
>${marker}</span>
|
|
50
|
-
<span class="step-indicator__item-title">
|
|
51
|
-
${component.text || html `<slot></slot>`}
|
|
52
|
-
<span class="step-indicator__item-status">, ${component._statusText}</span>
|
|
53
|
-
</span>
|
|
54
|
-
`;
|
|
55
|
-
return html `
|
|
56
|
-
<div class="step-indicator__item is-${status}">
|
|
57
|
-
${component.href ? html `
|
|
58
|
-
<a class="step-indicator__item-control"
|
|
59
|
-
href=${component.href}
|
|
60
|
-
>${content}</a>
|
|
61
|
-
` : component.button ? html `
|
|
62
|
-
<button class="step-indicator__item-control"
|
|
63
|
-
type="button"
|
|
64
|
-
>${content}</button>
|
|
65
|
-
` : content}
|
|
66
|
-
</div>
|
|
67
|
-
`;
|
|
68
|
-
}
|
|
69
|
-
//# sourceMappingURL=step-indicator.template.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"step-indicator.template.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/step-indicator/step-indicator.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAuB,MAAM,KAAK,CAAC;AAGzD,MAAM,UAAU,qBAAqB,CAAC,SAA4B;IACjE,MAAM,KAAK,GAAG,SAAS,CAAC,eAAe,IAAI,SAAS,CAAC,EAAE,CAAC,4CAA4C,CAAC,CAAC;IACtG,MAAM,OAAO,GAAG,SAAS,CAAC,eAAe,CAAC;IAC1C,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC;IAC9B,MAAM,YAAY,GAAG,SAAS,CAAC,WAAW,EAAE,IAAI,IAAI,EAAE,CAAC;IACvD,MAAM,WAAW,GAAG,SAAS,CAAC,EAAE,CAAC,wCAAwC,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC;IAE/F,OAAO,IAAI,CAAA;;gBAEI,KAAK,IAAI,OAAO;;;;;wBAKR,SAAS,CAAC,aAAa;;KAE1C,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;;;;OAId,YAAY,CAAC,CAAC,CAAC,IAAI,CAAA,+CAA+C,YAAY,SAAS,CAAC,CAAC,CAAC,OAAO;mDACrD,WAAW;;;;;OAKvD,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,CAAA;;sBAEjC,KAAK,GAAG,CAAC,IAAI,OAAO;;MAEpC,CAAC;;IAEH,CAAC,CAAC,CAAC,OAAO;;EAEZ,CAAC;AACH,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,SAAgC;IACzE,MAAM,MAAM,GAAG,SAAS,CAAC,cAAc,CAAC;IACxC,4EAA4E;IAC5E,+CAA+C;IAC/C,MAAM,MAAM,GAAG,SAAS,CAAC,IAAI;QAC5B,CAAC,CAAC,IAAI,CAAA,qDAAqD,SAAS,CAAC,IAAI,eAAe;QACxF,CAAC,CAAC,MAAM,KAAK,MAAM;YAClB,CAAC,CAAC,IAAI,CAAA,6EAA6E;YACnF,CAAC,CAAC,IAAI,CAAA,6CAA6C,SAAS,CAAC,MAAM,SAAS,CAAC;IAE/E,MAAM,OAAO,GAAG,IAAI,CAAA;;;KAGhB,MAAM;;KAEN,SAAS,CAAC,IAAI,IAAI,IAAI,CAAA,eAAe;iDACO,SAAS,CAAC,WAAW;;EAEpE,CAAC;IAEF,OAAO,IAAI,CAAA;wCAC4B,MAAM;KACzC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA;;YAEd,SAAS,CAAC,IAAI;OACnB,OAAO;IACV,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA;;;OAGvB,OAAO;IACV,CAAC,CAAC,CAAC,OAAO;;EAEZ,CAAC;AACH,CAAC"}
|