@nldd/design-system 0.8.95 → 0.8.97
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 +20 -19
- package/custom-elements.json +781 -379
- 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 +4682 -4158
- 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 +17 -1
- 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 +25 -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 +24 -12
- 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.d.ts +19 -3
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +28 -7
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +189 -153
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/image/image.template.d.ts.map +1 -1
- package/dist/components/content/image/image.template.js +13 -1
- package/dist/components/content/image/image.template.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 +42 -40
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +25 -12
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +25 -12
- package/dist/components/content/rich-text/rich-text.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-D_ZGezHx.js} +83 -63
- package/dist/components/{icon-button-9mo3oIyL.js → icon-button-NN0SrgS3.js} +278 -275
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -3
- 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/box/box.d.ts +1 -1
- package/dist/components/layout/box/box.js +1 -1
- 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.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +32 -31
- 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.d.ts +9 -3
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +41 -18
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.js +21 -21
- 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.d.ts +2 -0
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +6 -4
- 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.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +22 -17
- 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.d.ts +57 -11
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +164 -21
- 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 +159 -105
- 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 +4 -0
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +11 -4
- 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.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +30 -17
- 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 +4 -0
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +11 -4
- 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.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +34 -17
- 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.d.ts +11 -1
- package/dist/components/layout/page-sections/page-section-controls.d.ts.map +1 -1
- package/dist/components/layout/page-sections/page-section-controls.js +11 -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 +5 -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 +11 -7
- 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 +37 -34
- 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 +2 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +6 -5
- 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 +19 -19
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +4 -0
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +11 -4
- 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.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +34 -17
- 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.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 +5 -5
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +8 -8
- package/dist/components/layout/{app-view/app-view.d.ts → shell/shell.d.ts} +11 -11
- package/dist/components/layout/shell/shell.d.ts.map +1 -0
- package/dist/components/layout/{app-view/app-view.js → shell/shell.js} +24 -24
- package/dist/components/layout/shell/shell.js.map +1 -0
- package/dist/components/layout/shell/shell.styles.d.ts +2 -0
- package/dist/components/layout/shell/shell.styles.d.ts.map +1 -0
- package/dist/components/layout/{app-view/app-view.styles.js → shell/shell.styles.js} +8 -8
- package/dist/components/layout/shell/shell.styles.js.map +1 -0
- package/dist/components/layout/shell/shell.template.d.ts +4 -0
- package/dist/components/layout/shell/shell.template.d.ts.map +1 -0
- package/dist/components/layout/shell/shell.template.js +9 -0
- package/dist/components/layout/shell/shell.template.js.map +1 -0
- package/dist/components/layout/spacer/spacer.styles.js +76 -76
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- 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.d.ts +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +5 -5
- 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.d.ts +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +2 -2
- 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.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +39 -37
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- 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.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +39 -37
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- 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 +16 -6
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +29 -16
- 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.d.ts +4 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +8 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.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/list-item-segment/list-item-segment.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -1
- 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.d.ts +5 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +13 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.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 +35 -19
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +11 -10
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.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.js +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.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.d.ts +10 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +21 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.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/document-reset.css +3 -3
- package/dist/css/rich-text.css +71 -122
- package/dist/css/variables.css +54 -410
- package/dist/nldd.min.js +4607 -4331
- 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 +125 -82
- package/dist/utilities/codemirror/theme.js +17 -17
- package/dist/utilities/codemirror/theme.js.map +1 -1
- package/dist/utilities/page-section-mixin.d.ts +5 -0
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +13 -4
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/scroll-mode-controller.d.ts +29 -13
- package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
- package/dist/utilities/scroll-mode-controller.js +48 -13
- package/dist/utilities/scroll-mode-controller.js.map +1 -1
- package/dist/utilities/spacing-scale.d.ts +1 -1
- package/dist/utilities/spacing-scale.js +1 -1
- package/package.json +13 -11
- package/dist/components/layout/app-view/app-view.d.ts.map +0 -1
- package/dist/components/layout/app-view/app-view.js.map +0 -1
- package/dist/components/layout/app-view/app-view.styles.d.ts +0 -2
- package/dist/components/layout/app-view/app-view.styles.d.ts.map +0 -1
- package/dist/components/layout/app-view/app-view.styles.js.map +0 -1
- package/dist/components/layout/app-view/app-view.template.d.ts +0 -4
- package/dist/components/layout/app-view/app-view.template.d.ts.map +0 -1
- package/dist/components/layout/app-view/app-view.template.js +0 -9
- package/dist/components/layout/app-view/app-view.template.js.map +0 -1
- 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/palettes.html +0 -245
- package/dist/components/sample-images/butterfly-1200.jpg +0 -0
- package/dist/components/sample-images/butterfly-1600.jpg +0 -0
- package/dist/components/sample-images/butterfly-480.jpg +0 -0
- package/dist/components/sample-images/butterfly-960.jpg +0 -0
- 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
- package/dist/palettes.html +0 -245
- package/dist/sample-images/butterfly-1200.jpg +0 -0
- package/dist/sample-images/butterfly-1600.jpg +0 -0
- package/dist/sample-images/butterfly-480.jpg +0 -0
- package/dist/sample-images/butterfly-960.jpg +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { html, nothing } from 'lit';
|
|
2
|
-
export function
|
|
2
|
+
export function stepCellTemplate(component) {
|
|
3
3
|
// No dot means no point where a fill could change over, so the row draws one
|
|
4
4
|
// line from edge to edge instead of two halves. `only` says the track runs
|
|
5
5
|
// neither above nor below, which here leaves nothing to draw.
|
|
6
6
|
if (component.level === 'none') {
|
|
7
7
|
return html `
|
|
8
|
-
<div class="
|
|
9
|
-
${component.position === 'only' ? nothing : html `<div class="
|
|
8
|
+
<div class="step-cell">
|
|
9
|
+
${component.position === 'only' ? nothing : html `<div class="step-cell__full-line"></div>`}
|
|
10
10
|
</div>
|
|
11
11
|
`;
|
|
12
12
|
}
|
|
@@ -20,9 +20,9 @@ export function timelineTrackCellTemplate(component) {
|
|
|
20
20
|
const marker = !component.showsContent
|
|
21
21
|
? nothing
|
|
22
22
|
: component.icon
|
|
23
|
-
? html `<nldd-icon class="
|
|
23
|
+
? html `<nldd-icon class="step-cell__icon" icon=${component.icon}></nldd-icon>`
|
|
24
24
|
: component.text
|
|
25
|
-
? html `<span class="
|
|
25
|
+
? html `<span class="step-cell__text">${component.text}</span>`
|
|
26
26
|
: nothing;
|
|
27
27
|
// The attributes are the shorthand for the common cases; the slot is there for
|
|
28
28
|
// anything else.
|
|
@@ -30,11 +30,11 @@ export function timelineTrackCellTemplate(component) {
|
|
|
30
30
|
? html `${marker}<slot></slot>`
|
|
31
31
|
: marker;
|
|
32
32
|
return html `
|
|
33
|
-
<div class="
|
|
34
|
-
${showTopLine ? html `<div class="
|
|
35
|
-
<div class="
|
|
36
|
-
${showBottomLine ? html `<div class="
|
|
33
|
+
<div class="step-cell">
|
|
34
|
+
${showTopLine ? html `<div class="step-cell__top-line"></div>` : nothing}
|
|
35
|
+
<div class="step-cell__marker">${content}</div>
|
|
36
|
+
${showBottomLine ? html `<div class="step-cell__bottom-line"></div>` : nothing}
|
|
37
37
|
</div>
|
|
38
38
|
`;
|
|
39
39
|
}
|
|
40
|
-
//# sourceMappingURL=
|
|
40
|
+
//# sourceMappingURL=step-cell.template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"step-cell.template.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/step-cell/step-cell.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAuB,MAAM,KAAK,CAAC;AAGzD,MAAM,UAAU,gBAAgB,CAAC,SAAuB;IACvD,6EAA6E;IAC7E,2EAA2E;IAC3E,8DAA8D;IAC9D,IAAI,SAAS,CAAC,KAAK,KAAK,MAAM,EAAE,CAAC;QAChC,OAAO,IAAI,CAAA;;MAEP,SAAS,CAAC,QAAQ,KAAK,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI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ement, 'cells
|
|
|
115
115
|
}
|
|
116
116
|
_applyDimensionStyles() {
|
|
117
117
|
// width's 'full' and 'fit-content' are handled via [width] attribute
|
|
118
|
-
// selectors in CSS; any other value is a CSS length fed through --
|
|
118
|
+
// selectors in CSS; any other value is a CSS length fed through --_text-cell-width.
|
|
119
119
|
const w = this.width;
|
|
120
120
|
const widthIsKeyword = w === 'full' || w === 'fit-content';
|
|
121
121
|
const widthIsValidLength = !!w && !widthIsKeyword && CSS.supports('width', w);
|
|
122
122
|
if (widthIsValidLength) {
|
|
123
|
-
this.style.setProperty('--
|
|
123
|
+
this.style.setProperty('--_text-cell-width', w);
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
126
|
-
this.style.removeProperty('--
|
|
126
|
+
this.style.removeProperty('--_text-cell-width');
|
|
127
127
|
}
|
|
128
128
|
if (w && !widthIsKeyword && !widthIsValidLength) {
|
|
129
129
|
this.width = '';
|
|
130
130
|
}
|
|
131
131
|
if (this.minWidth) {
|
|
132
|
-
this.style.setProperty('--
|
|
132
|
+
this.style.setProperty('--_text-cell-min-width', this.minWidth);
|
|
133
133
|
}
|
|
134
134
|
else {
|
|
135
|
-
this.style.removeProperty('--
|
|
135
|
+
this.style.removeProperty('--_text-cell-min-width');
|
|
136
136
|
}
|
|
137
137
|
if (this.maxWidth) {
|
|
138
|
-
this.style.setProperty('--
|
|
138
|
+
this.style.setProperty('--_text-cell-max-width', this.maxWidth);
|
|
139
139
|
}
|
|
140
140
|
else {
|
|
141
|
-
this.style.removeProperty('--
|
|
141
|
+
this.style.removeProperty('--_text-cell-max-width');
|
|
142
142
|
}
|
|
143
143
|
if (this.minHeight) {
|
|
144
|
-
this.style.setProperty('--
|
|
144
|
+
this.style.setProperty('--_text-cell-min-height', this.minHeight);
|
|
145
145
|
}
|
|
146
146
|
else {
|
|
147
|
-
this.style.removeProperty('--
|
|
147
|
+
this.style.removeProperty('--_text-cell-min-height');
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
render() {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D,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE;gBACrD,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,SAAS,EAAE,CAAC;oBACtC,OAAO,CAAC,IAAI,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;gBACnD,CAAC;gBACD,OAAO,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,YAAY,CAAC;YAC5C,CAAC,CAAC,CAAC;YACH,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;gBACnB,KAAK,UAAU;oBACd,IAAI,CAAC,mBAAmB,GAAG,UAAU,CAAC;oBACtC,MAAM;gBACP,KAAK,iBAAiB;oBACrB,IAAI,CAAC,yBAAyB,GAAG,UAAU,CAAC;oBAC5C,MAAM;gBACP;oBACC,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC;oBACrC,MAAM;YACR,CAAC;QACF,CAAC,CAAC;IAKH,CAAC;IAjES,OAAO,CAAC,OAA6B;QAC7C,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACvB,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;YAC5G,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC9B,CAAC;IACF,CAAC;IAEO,qBAAqB;QAC5B,qEAAqE;QACrE,
|
|
1
|
+
{"version":3,"file":"text-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,OAAO,EAAE,UAAU,E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AM,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;mDACb;AAGnC;IAAR,KAAK,EAAE;yDAA6B;AAE5B;IAAR,KAAK,EAAE;wDAA4B;AAE3B;IAAR,KAAK,EAAE;+DAAmC;AA/C/B,YAAY;IADxB,aAAa,CAAC,gBAAgB,CAAC;GACnB,YAAY,CAkHxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-cell.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"text-cell.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,yBAsL1B,CAAC"}
|
|
@@ -9,24 +9,24 @@ export const textCellStyles = css `
|
|
|
9
9
|
/* # Host */
|
|
10
10
|
|
|
11
11
|
:host {
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--_text-align: start;
|
|
19
|
-
--_text-color: var(--context-content-color, var(--semantics-content-color));
|
|
20
|
-
--_text-font: var(--primitives-font-body-md-regular-tight);
|
|
12
|
+
--_text-cell-width: auto;
|
|
13
|
+
--_text-cell-min-width: 0;
|
|
14
|
+
--_text-cell-max-width: none;
|
|
15
|
+
--_text-cell-min-height: 0;
|
|
16
|
+
--_text-cell-secondary-color: var(--context-content-secondary-color, var(--semantics-content-secondary-color));
|
|
17
|
+
--_text-cell-secondary-font: var(--primitives-font-body-xs-regular-tight);
|
|
18
|
+
--_text-cell-align: start;
|
|
19
|
+
--_text-cell-color: var(--context-content-color, var(--semantics-content-color));
|
|
20
|
+
--_text-cell-font: var(--primitives-font-body-md-regular-tight);
|
|
21
21
|
|
|
22
22
|
${inheritedTextReset}
|
|
23
23
|
/* !important: shields the row padding from consumer universal resets, which beat normal :host declarations per CSS Scoping. */
|
|
24
24
|
padding-block: var(--context-cell-padding-block, 0px) !important;
|
|
25
25
|
display: flex;
|
|
26
|
-
width: var(--
|
|
27
|
-
min-width: var(--
|
|
28
|
-
max-width: var(--
|
|
29
|
-
min-height: var(--
|
|
26
|
+
width: var(--_text-cell-width);
|
|
27
|
+
min-width: var(--_text-cell-min-width);
|
|
28
|
+
max-width: var(--_text-cell-max-width);
|
|
29
|
+
min-height: var(--_text-cell-min-height);
|
|
30
30
|
flex-direction: column;
|
|
31
31
|
justify-content: center;
|
|
32
32
|
}
|
|
@@ -50,7 +50,7 @@ export const textCellStyles = css `
|
|
|
50
50
|
/* min-content rather than 0 as the floor: the cell gives way as soon as
|
|
51
51
|
the row is too narrow, but never past the width of its longest word,
|
|
52
52
|
so the text stays readable instead of breaking mid-word. */
|
|
53
|
-
--
|
|
53
|
+
--_text-cell-min-width: min-content;
|
|
54
54
|
|
|
55
55
|
width: fit-content;
|
|
56
56
|
flex-grow: 0;
|
|
@@ -66,7 +66,7 @@ export const textCellStyles = css `
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
:host([max-width]) {
|
|
69
|
-
flex-basis: var(--
|
|
69
|
+
flex-basis: var(--_text-cell-max-width);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
|
|
@@ -97,12 +97,12 @@ export const textCellStyles = css `
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
:host([horizontal-alignment="center"]) {
|
|
100
|
-
--_text-align: center;
|
|
100
|
+
--_text-cell-align: center;
|
|
101
101
|
align-items: center;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
:host([horizontal-alignment="right"]) {
|
|
105
|
-
--_text-align: right;
|
|
105
|
+
--_text-cell-align: right;
|
|
106
106
|
align-items: flex-end;
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -110,35 +110,35 @@ export const textCellStyles = css `
|
|
|
110
110
|
/* # Size */
|
|
111
111
|
|
|
112
112
|
:host([size="sm"]) {
|
|
113
|
-
--
|
|
114
|
-
--_text-font: var(--primitives-font-body-sm-regular-tight);
|
|
113
|
+
--_text-cell-secondary-font: var(--primitives-font-body-xxs-regular-tight);
|
|
114
|
+
--_text-cell-font: var(--primitives-font-body-sm-regular-tight);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
/* # Color */
|
|
119
119
|
|
|
120
120
|
:host([color="secondary"]) {
|
|
121
|
-
--_text-color: var(--context-content-secondary-color, var(--semantics-content-secondary-color));
|
|
121
|
+
--_text-cell-color: var(--context-content-secondary-color, var(--semantics-content-secondary-color));
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
:host([color="accent"]) {
|
|
125
|
-
--
|
|
126
|
-
--_text-color: var(--context-content-accent-color, var(--semantics-content-accent-color));
|
|
125
|
+
--_text-cell-secondary-color: var(--context-content-accent-color, var(--semantics-content-accent-color));
|
|
126
|
+
--_text-cell-color: var(--context-content-accent-color, var(--semantics-content-accent-color));
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
:host([color="success"]) {
|
|
130
|
-
--
|
|
131
|
-
--_text-color: var(--context-content-success-color, var(--semantics-content-success-color));
|
|
130
|
+
--_text-cell-secondary-color: var(--context-content-success-color, var(--semantics-content-success-color));
|
|
131
|
+
--_text-cell-color: var(--context-content-success-color, var(--semantics-content-success-color));
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
:host([color="warning"]) {
|
|
135
|
-
--
|
|
136
|
-
--_text-color: var(--context-content-warning-color, var(--semantics-content-warning-color));
|
|
135
|
+
--_text-cell-secondary-color: var(--context-content-warning-color, var(--semantics-content-warning-color));
|
|
136
|
+
--_text-cell-color: var(--context-content-warning-color, var(--semantics-content-warning-color));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
:host([color="critical"]) {
|
|
140
|
-
--
|
|
141
|
-
--_text-color: var(--context-content-critical-color, var(--semantics-content-critical-color));
|
|
140
|
+
--_text-cell-secondary-color: var(--context-content-critical-color, var(--semantics-content-critical-color));
|
|
141
|
+
--_text-cell-color: var(--context-content-critical-color, var(--semantics-content-critical-color));
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
|
|
@@ -148,19 +148,20 @@ export const textCellStyles = css `
|
|
|
148
148
|
margin: 0;
|
|
149
149
|
min-width: 0;
|
|
150
150
|
align-self: stretch;
|
|
151
|
-
text-align: var(--_text-align);
|
|
152
|
-
color: var(--
|
|
153
|
-
font: var(--
|
|
151
|
+
text-align: var(--_text-cell-align);
|
|
152
|
+
color: var(--_text-cell-secondary-color);
|
|
153
|
+
font: var(--_text-cell-secondary-font);
|
|
154
154
|
overflow-wrap: anywhere;
|
|
155
|
+
text-wrap: pretty;
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
.text-cell__text {
|
|
158
159
|
margin: 0;
|
|
159
160
|
min-width: 0;
|
|
160
161
|
align-self: stretch;
|
|
161
|
-
text-align: var(--_text-align);
|
|
162
|
-
color: var(--_text-color);
|
|
163
|
-
font: var(--_text-font);
|
|
162
|
+
text-align: var(--_text-cell-align);
|
|
163
|
+
color: var(--_text-cell-color);
|
|
164
|
+
font: var(--_text-cell-font);
|
|
164
165
|
overflow-wrap: anywhere;
|
|
165
166
|
text-wrap: pretty;
|
|
166
167
|
}
|
|
@@ -175,10 +176,11 @@ export const textCellStyles = css `
|
|
|
175
176
|
margin: 0;
|
|
176
177
|
min-width: 0;
|
|
177
178
|
align-self: stretch;
|
|
178
|
-
text-align: var(--_text-align);
|
|
179
|
-
color: var(--
|
|
180
|
-
font: var(--
|
|
179
|
+
text-align: var(--_text-cell-align);
|
|
180
|
+
color: var(--_text-cell-secondary-color);
|
|
181
|
+
font: var(--_text-cell-secondary-font);
|
|
181
182
|
overflow-wrap: anywhere;
|
|
183
|
+
text-wrap: pretty;
|
|
182
184
|
}
|
|
183
185
|
`;
|
|
184
186
|
//# sourceMappingURL=text-cell.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-cell.styles.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAEhF,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;IAmB7B,kBAAkB
|
|
1
|
+
{"version":3,"file":"text-cell.styles.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/text-cell/text-cell.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAEhF,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;IAmB7B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmKrB,CAAC"}
|
|
@@ -120,31 +120,31 @@ let NLDDTitleCell = class NLDDTitleCell extends VisibilityMixin(LitElement, 'cel
|
|
|
120
120
|
const widthIsKeyword = w === 'full' || w === 'fit-content';
|
|
121
121
|
const widthIsValidLength = !!w && !widthIsKeyword && CSS.supports('width', w);
|
|
122
122
|
if (widthIsValidLength) {
|
|
123
|
-
this.style.setProperty('--
|
|
123
|
+
this.style.setProperty('--_title-cell-width', w);
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
126
|
-
this.style.removeProperty('--
|
|
126
|
+
this.style.removeProperty('--_title-cell-width');
|
|
127
127
|
}
|
|
128
128
|
if (w && !widthIsKeyword && !widthIsValidLength) {
|
|
129
129
|
this.width = '';
|
|
130
130
|
}
|
|
131
131
|
if (this.minWidth) {
|
|
132
|
-
this.style.setProperty('--
|
|
132
|
+
this.style.setProperty('--_title-cell-min-width', this.minWidth);
|
|
133
133
|
}
|
|
134
134
|
else {
|
|
135
|
-
this.style.removeProperty('--
|
|
135
|
+
this.style.removeProperty('--_title-cell-min-width');
|
|
136
136
|
}
|
|
137
137
|
if (this.maxWidth) {
|
|
138
|
-
this.style.setProperty('--
|
|
138
|
+
this.style.setProperty('--_title-cell-max-width', this.maxWidth);
|
|
139
139
|
}
|
|
140
140
|
else {
|
|
141
|
-
this.style.removeProperty('--
|
|
141
|
+
this.style.removeProperty('--_title-cell-max-width');
|
|
142
142
|
}
|
|
143
143
|
if (this.minHeight) {
|
|
144
|
-
this.style.setProperty('--
|
|
144
|
+
this.style.setProperty('--_title-cell-min-height', this.minHeight);
|
|
145
145
|
}
|
|
146
146
|
else {
|
|
147
|
-
this.style.removeProperty('--
|
|
147
|
+
this.style.removeProperty('--_title-cell-min-height');
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
render() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AASrE,IAAM,aAAa,GA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IAAI,CAAC,yBAAyB,GAAG,UAAU,CAAC;oBAC5C,MAAM;gBACP;oBACC,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC;oBACrC,MAAM;YACR,CAAC;QACF,CAAC,CAAC;IAKH,CAAC;IA/DS,OAAO,CAAC,OAA6B;QAC7C,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACvB,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;YAC5G,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC9B,CAAC;IACF,CAAC;IAEO,qBAAqB;QAC5B,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;QACrB,MAAM,cAAc,GAAG,CAAC,KAAK,MAAM,IAAI,CAAC,KAAK,aAAa,CAAC;QAC3D,MAAM,kBAAkB,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,IAAI,GAAG,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;QAC9E,IAAI,kBAAkB,EAAE,CAAC;YACxB,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"title-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;A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4B;AAE3B;IAAR,KAAK,EAAE;gEAAmC;AAnD/B,aAAa;IADzB,aAAa,CAAC,iBAAiB,CAAC;GACpB,aAAa,CAoHzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title-cell.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"title-cell.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,yBAuM3B,CAAC"}
|
|
@@ -9,23 +9,23 @@ export const titleCellStyles = css `
|
|
|
9
9
|
/* # Host */
|
|
10
10
|
|
|
11
11
|
:host {
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--_title-color: var(--context-content-color, var(--semantics-content-color));
|
|
19
|
-
--_title-font: var(--primitives-font-display-5-sm);
|
|
12
|
+
--_title-cell-width: auto;
|
|
13
|
+
--_title-cell-min-width: 0;
|
|
14
|
+
--_title-cell-max-width: none;
|
|
15
|
+
--_title-cell-min-height: 0;
|
|
16
|
+
--_title-cell-text-align: start;
|
|
17
|
+
--_title-cell-secondary-color: var(--context-content-secondary-color, var(--semantics-content-secondary-color));
|
|
18
|
+
--_title-cell-color: var(--context-content-color, var(--semantics-content-color));
|
|
19
|
+
--_title-cell-font: var(--primitives-font-display-5-sm);
|
|
20
20
|
|
|
21
21
|
${inheritedTextReset}
|
|
22
22
|
/* !important: shields the row padding from consumer universal resets, which beat normal :host declarations per CSS Scoping. */
|
|
23
23
|
padding-block: var(--context-cell-padding-block, 0px) !important;
|
|
24
24
|
display: flex;
|
|
25
|
-
width: var(--
|
|
26
|
-
min-width: var(--
|
|
27
|
-
max-width: var(--
|
|
28
|
-
min-height: var(--
|
|
25
|
+
width: var(--_title-cell-width);
|
|
26
|
+
min-width: var(--_title-cell-min-width);
|
|
27
|
+
max-width: var(--_title-cell-max-width);
|
|
28
|
+
min-height: var(--_title-cell-min-height);
|
|
29
29
|
flex-direction: column;
|
|
30
30
|
justify-content: center;
|
|
31
31
|
}
|
|
@@ -49,7 +49,7 @@ export const titleCellStyles = css `
|
|
|
49
49
|
/* min-content rather than 0 as the floor: the cell gives way as soon as
|
|
50
50
|
the row is too narrow, but never past the width of its longest word,
|
|
51
51
|
so the text stays readable instead of breaking mid-word. */
|
|
52
|
-
--
|
|
52
|
+
--_title-cell-min-width: min-content;
|
|
53
53
|
|
|
54
54
|
width: fit-content;
|
|
55
55
|
flex-grow: 0;
|
|
@@ -65,7 +65,7 @@ export const titleCellStyles = css `
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
:host([max-width]) {
|
|
68
|
-
flex-basis: var(--
|
|
68
|
+
flex-basis: var(--_title-cell-max-width);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
|
|
@@ -96,12 +96,12 @@ export const titleCellStyles = css `
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
:host([horizontal-alignment="center"]) {
|
|
99
|
-
--
|
|
99
|
+
--_title-cell-text-align: center;
|
|
100
100
|
align-items: center;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
:host([horizontal-alignment="right"]) {
|
|
104
|
-
--
|
|
104
|
+
--_title-cell-text-align: right;
|
|
105
105
|
align-items: flex-end;
|
|
106
106
|
}
|
|
107
107
|
|
|
@@ -109,50 +109,50 @@ export const titleCellStyles = css `
|
|
|
109
109
|
/* # Size */
|
|
110
110
|
|
|
111
111
|
:host([size="1"]) {
|
|
112
|
-
--_title-font: var(--primitives-font-display-1-sm);
|
|
112
|
+
--_title-cell-font: var(--primitives-font-display-1-sm);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
:host([size="2"]) {
|
|
116
|
-
--_title-font: var(--primitives-font-display-2-sm);
|
|
116
|
+
--_title-cell-font: var(--primitives-font-display-2-sm);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
:host([size="3"]) {
|
|
120
|
-
--_title-font: var(--primitives-font-display-3-sm);
|
|
120
|
+
--_title-cell-font: var(--primitives-font-display-3-sm);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
:host([size="4"]) {
|
|
124
|
-
--_title-font: var(--primitives-font-display-4-sm);
|
|
124
|
+
--_title-cell-font: var(--primitives-font-display-4-sm);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
:host([size="6"]) {
|
|
128
|
-
--_title-font: var(--primitives-font-display-6-sm);
|
|
128
|
+
--_title-cell-font: var(--primitives-font-display-6-sm);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
|
|
132
132
|
/* # Color */
|
|
133
133
|
|
|
134
134
|
:host([color="secondary"]) {
|
|
135
|
-
--_title-color: var(--context-content-secondary-color, var(--semantics-content-secondary-color));
|
|
135
|
+
--_title-cell-color: var(--context-content-secondary-color, var(--semantics-content-secondary-color));
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
:host([color="accent"]) {
|
|
139
|
-
--
|
|
140
|
-
--_title-color: var(--context-content-accent-color, var(--semantics-content-accent-color));
|
|
139
|
+
--_title-cell-secondary-color: var(--context-content-accent-color, var(--semantics-content-accent-color));
|
|
140
|
+
--_title-cell-color: var(--context-content-accent-color, var(--semantics-content-accent-color));
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
:host([color="success"]) {
|
|
144
|
-
--
|
|
145
|
-
--_title-color: var(--context-content-success-color, var(--semantics-content-success-color));
|
|
144
|
+
--_title-cell-secondary-color: var(--context-content-success-color, var(--semantics-content-success-color));
|
|
145
|
+
--_title-cell-color: var(--context-content-success-color, var(--semantics-content-success-color));
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
:host([color="warning"]) {
|
|
149
|
-
--
|
|
150
|
-
--_title-color: var(--context-content-warning-color, var(--semantics-content-warning-color));
|
|
149
|
+
--_title-cell-secondary-color: var(--context-content-warning-color, var(--semantics-content-warning-color));
|
|
150
|
+
--_title-cell-color: var(--context-content-warning-color, var(--semantics-content-warning-color));
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
:host([color="critical"]) {
|
|
154
|
-
--
|
|
155
|
-
--_title-color: var(--context-content-critical-color, var(--semantics-content-critical-color));
|
|
154
|
+
--_title-cell-secondary-color: var(--context-content-critical-color, var(--semantics-content-critical-color));
|
|
155
|
+
--_title-cell-color: var(--context-content-critical-color, var(--semantics-content-critical-color));
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
|
|
@@ -162,10 +162,11 @@ export const titleCellStyles = css `
|
|
|
162
162
|
margin: 0;
|
|
163
163
|
min-width: 0;
|
|
164
164
|
align-self: stretch;
|
|
165
|
-
text-align: var(--
|
|
166
|
-
color: var(--
|
|
165
|
+
text-align: var(--_title-cell-text-align);
|
|
166
|
+
color: var(--_title-cell-secondary-color);
|
|
167
167
|
font: var(--primitives-font-body-xs-regular-tight);
|
|
168
168
|
overflow-wrap: anywhere;
|
|
169
|
+
text-wrap: pretty;
|
|
169
170
|
}
|
|
170
171
|
|
|
171
172
|
/* Balanced, not pretty: a title is a handful of words, and evening out the
|
|
@@ -175,9 +176,9 @@ export const titleCellStyles = css `
|
|
|
175
176
|
margin: 0;
|
|
176
177
|
min-width: 0;
|
|
177
178
|
align-self: stretch;
|
|
178
|
-
text-align: var(--
|
|
179
|
-
color: var(--_title-color);
|
|
180
|
-
font: var(--_title-font);
|
|
179
|
+
text-align: var(--_title-cell-text-align);
|
|
180
|
+
color: var(--_title-cell-color);
|
|
181
|
+
font: var(--_title-cell-font);
|
|
181
182
|
overflow-wrap: break-word;
|
|
182
183
|
text-wrap: balance;
|
|
183
184
|
}
|
|
@@ -192,10 +193,11 @@ export const titleCellStyles = css `
|
|
|
192
193
|
margin: 0;
|
|
193
194
|
min-width: 0;
|
|
194
195
|
align-self: stretch;
|
|
195
|
-
text-align: var(--
|
|
196
|
-
color: var(--
|
|
196
|
+
text-align: var(--_title-cell-text-align);
|
|
197
|
+
color: var(--_title-cell-secondary-color);
|
|
197
198
|
font: var(--primitives-font-body-sm-regular-tight);
|
|
198
199
|
overflow-wrap: anywhere;
|
|
200
|
+
text-wrap: pretty;
|
|
199
201
|
}
|
|
200
202
|
`;
|
|
201
203
|
//# sourceMappingURL=title-cell.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title-cell.styles.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAEhF,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;IAkB9B,kBAAkB
|
|
1
|
+
{"version":3,"file":"title-cell.styles.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAEhF,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;IAkB9B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqLrB,CAAC"}
|
|
@@ -426,7 +426,7 @@ let NLDDList = NLDDList_1 = class NLDDList extends LitElement {
|
|
|
426
426
|
// Move floating clone
|
|
427
427
|
if (this._clone) {
|
|
428
428
|
this._listRect = this.getBoundingClientRect();
|
|
429
|
-
this._clone.style.setProperty('--
|
|
429
|
+
this._clone.style.setProperty('--_list-drag-clone-top', `${event.clientY - this._listRect.top - this._cloneOffsetY}px`);
|
|
430
430
|
}
|
|
431
431
|
const draggingDown = event.clientY >= this._lastPointerY;
|
|
432
432
|
this._lastPointerY = event.clientY;
|
|
@@ -635,10 +635,10 @@ let NLDDList = NLDDList_1 = class NLDDList extends LitElement {
|
|
|
635
635
|
// local var the CSS reads as max-height on the scroll region.
|
|
636
636
|
const h = this.height;
|
|
637
637
|
if (h && CSS.supports('max-height', h)) {
|
|
638
|
-
this.style.setProperty('--
|
|
638
|
+
this.style.setProperty('--_list-max-height', h);
|
|
639
639
|
}
|
|
640
640
|
else {
|
|
641
|
-
this.style.removeProperty('--
|
|
641
|
+
this.style.removeProperty('--_list-max-height');
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
644
|
}
|
|
@@ -1246,10 +1246,10 @@ let NLDDList = NLDDList_1 = class NLDDList extends LitElement {
|
|
|
1246
1246
|
hostClone.setAttribute('data-nldd-clone', '');
|
|
1247
1247
|
this._clone = document.createElement('div');
|
|
1248
1248
|
this._clone.className = 'list__drag-clone';
|
|
1249
|
-
this._clone.style.setProperty('--
|
|
1250
|
-
this._clone.style.setProperty('--
|
|
1251
|
-
this._clone.style.setProperty('--
|
|
1252
|
-
this._clone.style.setProperty('--
|
|
1249
|
+
this._clone.style.setProperty('--_list-drag-clone-top', `${clientY - this._listRect.top - this._cloneOffsetY}px`);
|
|
1250
|
+
this._clone.style.setProperty('--_list-drag-clone-left', `${rect.left - this._listRect.left}px`);
|
|
1251
|
+
this._clone.style.setProperty('--_list-drag-clone-width', `${rect.width}px`);
|
|
1252
|
+
this._clone.style.setProperty('--_list-drag-clone-height', `${rect.height}px`);
|
|
1253
1253
|
this._clone.appendChild(hostClone);
|
|
1254
1254
|
this.renderRoot.appendChild(this._clone);
|
|
1255
1255
|
}
|