@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
|
@@ -6,69 +6,69 @@ export const textEditorStyles = css `
|
|
|
6
6
|
/* # Host */
|
|
7
7
|
|
|
8
8
|
:host {
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
9
|
+
--_text-editor-caret-width: var(--primitives-border-width-regular);
|
|
10
|
+
--_text-editor-caret-ring-width: var(--primitives-border-width-thin);
|
|
11
|
+
--_text-editor-corner-radius: 0;
|
|
12
|
+
--_text-editor-background-color: transparent;
|
|
13
|
+
--_text-editor-highlight-border-color: transparent;
|
|
14
|
+
--_text-editor-highlight-border-shadow: none;
|
|
15
|
+
--_text-editor-padding-block: 0px;
|
|
16
16
|
/* Room for the caret's own ink at the first and last position of a line:
|
|
17
17
|
its width plus its ring. Without it the edge carets are clipped. */
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--_text-font: var(--primitives-font-body-md-regular-snug);
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
18
|
+
--_text-editor-padding-inline: calc(var(--_text-editor-caret-width) + var(--_text-editor-caret-ring-width));
|
|
19
|
+
--_text-editor-content-color: var(--semantics-content-color);
|
|
20
|
+
--_text-editor-font: var(--primitives-font-body-md-regular-snug);
|
|
21
|
+
--_text-editor-code-font: var(--primitives-font-monospace-md-regular-snug);
|
|
22
|
+
--_text-editor-code-font-size: calc(var(--primitives-font-size-90) / var(--primitives-font-size-100) * 1em);
|
|
23
|
+
--_text-editor-marker-font-size: var(--primitives-font-size-90);
|
|
24
24
|
/* JetBrains Mono advance (600/1000 em) at the marker size; leading
|
|
25
25
|
list/quote markers are mono so the hanging indent equals their width. */
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
32
|
-
--
|
|
26
|
+
--_text-editor-marker-advance: calc(0.6 * var(--_text-editor-marker-font-size));
|
|
27
|
+
--_text-editor-bullet-size: 0.45em;
|
|
28
|
+
--_text-editor-bullet-color: var(--semantics-content-secondary-color);
|
|
29
|
+
--_text-editor-heading-marker-scale: 75%;
|
|
30
|
+
--_text-editor-token-corner-radius: var(--primitives-corner-radius-sm);
|
|
31
|
+
--_text-editor-token-block-padding: 0.15em;
|
|
32
|
+
--_text-editor-token-inline-padding: 0.3em;
|
|
33
33
|
/* Vertical padding for an inline token that inherits the block font (tint,
|
|
34
34
|
mention): fills the line up to its line-height, never past it, so tokens on
|
|
35
35
|
adjacent lines never overlap. 1lh and em resolve on the token, so it adapts
|
|
36
36
|
to a heading's tighter line. (~1.2em is the text's own box.) */
|
|
37
|
-
--
|
|
38
|
-
--
|
|
39
|
-
--
|
|
40
|
-
--
|
|
41
|
-
--
|
|
42
|
-
--
|
|
43
|
-
--
|
|
44
|
-
--
|
|
45
|
-
--
|
|
46
|
-
--
|
|
47
|
-
--
|
|
48
|
-
--
|
|
49
|
-
--
|
|
50
|
-
--
|
|
37
|
+
--_text-editor-token-block-padding-fit: max(0em, (1lh - 1.2em) / 2);
|
|
38
|
+
--_text-editor-code-token-background-color: light-dark(var(--primitives-color-neutral-50), var(--primitives-color-neutral-150));
|
|
39
|
+
--_text-editor-code-token-is-selected-background-color: light-dark(var(--primitives-color-neutral-200), var(--primitives-color-neutral-300));
|
|
40
|
+
--_text-editor-code-block-inline-padding: var(--_text-editor-token-inline-padding);
|
|
41
|
+
--_text-editor-code-block-block-padding: var(--_text-editor-token-block-padding);
|
|
42
|
+
--_text-editor-annotation-token-background-color: light-dark(var(--primitives-color-mark-75), var(--primitives-color-mark-150));
|
|
43
|
+
--_text-editor-annotation-token-is-selected-background-color: light-dark(var(--primitives-color-mark-200), var(--primitives-color-mark-400));
|
|
44
|
+
--_text-editor-annotation-token-badge-content-color: var(--primitives-color-mark-1000);
|
|
45
|
+
--_text-editor-annotation-token-badge-background-color: light-dark(var(--primitives-color-mark-250), var(--primitives-color-mark-300));
|
|
46
|
+
--_text-editor-annotation-token-badge-highlight-border-color: light-dark(var(--primitives-color-mark-300), var(--primitives-color-mark-350));
|
|
47
|
+
--_text-editor-annotation-token-badge-is-hovered-background-color: light-dark(var(--primitives-color-mark-300), var(--primitives-color-mark-350));
|
|
48
|
+
--_text-editor-annotation-token-badge-is-hovered-highlight-border-color: light-dark(var(--primitives-color-mark-350), var(--primitives-color-mark-400));
|
|
49
|
+
--_text-editor-annotation-token-badge-is-active-background-color: light-dark(var(--primitives-color-mark-350), var(--primitives-color-mark-400));
|
|
50
|
+
--_text-editor-annotation-token-badge-is-active-highlight-border-color: light-dark(var(--primitives-color-mark-400), var(--primitives-color-mark-450));
|
|
51
51
|
/* Same step in both themes: mark-450 keeps light mode as-is and, in dark
|
|
52
52
|
mode, stays a readable amber instead of jumping to a near-white fill
|
|
53
53
|
that swallows the white (mark-1000) badge number. */
|
|
54
|
-
--
|
|
55
|
-
--
|
|
56
|
-
--
|
|
57
|
-
--
|
|
58
|
-
--
|
|
59
|
-
--
|
|
60
|
-
--
|
|
61
|
-
--
|
|
62
|
-
--
|
|
63
|
-
--
|
|
64
|
-
--
|
|
65
|
-
--
|
|
66
|
-
--
|
|
67
|
-
--
|
|
68
|
-
--
|
|
69
|
-
--
|
|
70
|
-
--
|
|
71
|
-
--
|
|
54
|
+
--_text-editor-annotation-token-is-selected-badge-background-color: var(--primitives-color-mark-450);
|
|
55
|
+
--_text-editor-annotation-token-is-selected-badge-highlight-border-color: var(--primitives-color-mark-500);
|
|
56
|
+
--_text-editor-annotation-badge-size: 1.5em;
|
|
57
|
+
--_text-editor-annotation-badge-font-scale: 0.62;
|
|
58
|
+
--_text-editor-link-badge-size: calc(1em + 2 * var(--_text-editor-token-block-padding-fit));
|
|
59
|
+
--_text-editor-link-badge-content-color: var(--semantics-categories-accent-tinted-content-color);
|
|
60
|
+
--_text-editor-link-badge-background-color: var(--semantics-categories-accent-tinted-background-color);
|
|
61
|
+
--_text-editor-link-badge-highlight-border-color: var(--semantics-categories-accent-tinted-highlight-border-color);
|
|
62
|
+
--_text-editor-link-badge-is-hovered-background-color: light-dark(var(--primitives-color-accent-75), var(--primitives-color-accent-100));
|
|
63
|
+
--_text-editor-link-badge-is-active-background-color: light-dark(var(--primitives-color-accent-100), var(--primitives-color-accent-150));
|
|
64
|
+
--_text-editor-link-badge-is-hovered-highlight-border-color: light-dark(var(--primitives-color-accent-150), var(--primitives-color-accent-200));
|
|
65
|
+
--_text-editor-link-badge-is-active-highlight-border-color: light-dark(var(--primitives-color-accent-200), var(--primitives-color-accent-250));
|
|
66
|
+
--_text-editor-mention-icon-size: 0.95em;
|
|
67
|
+
--_text-editor-mention-token-background-color: var(--semantics-categories-accent-tinted-background-color);
|
|
68
|
+
--_text-editor-mention-token-content-color: var(--semantics-categories-accent-tinted-content-color);
|
|
69
|
+
--_text-editor-mention-token-is-selected-background-color: var(--semantics-categories-accent-filled-background-color);
|
|
70
|
+
--_text-editor-mention-token-is-selected-content-color: var(--semantics-categories-accent-filled-content-color);
|
|
71
|
+
--_text-editor-rows: 6;
|
|
72
72
|
|
|
73
73
|
${inheritedTextReset}
|
|
74
74
|
display: flex;
|
|
@@ -88,12 +88,12 @@ export const textEditorStyles = css `
|
|
|
88
88
|
/* ## Appearance — input-field adds the framed surface + a default content padding */
|
|
89
89
|
|
|
90
90
|
:host([appearance="input-field"]) {
|
|
91
|
-
--
|
|
92
|
-
--
|
|
93
|
-
--
|
|
94
|
-
--
|
|
95
|
-
--
|
|
96
|
-
--
|
|
91
|
+
--_text-editor-corner-radius: var(--primitives-corner-radius-lg);
|
|
92
|
+
--_text-editor-background-color: var(--semantics-input-fields-background-color);
|
|
93
|
+
--_text-editor-highlight-border-color: var(--semantics-input-fields-border-color);
|
|
94
|
+
--_text-editor-highlight-border-shadow: inset 0 0 0 var(--semantics-input-fields-border-width) var(--_text-editor-highlight-border-color);
|
|
95
|
+
--_text-editor-padding-block: var(--semantics-controls-md-inline-padding);
|
|
96
|
+
--_text-editor-padding-inline: var(--semantics-controls-md-inline-padding);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
|
|
@@ -103,16 +103,16 @@ export const textEditorStyles = css `
|
|
|
103
103
|
box-sizing: border-box;
|
|
104
104
|
display: flex;
|
|
105
105
|
position: relative;
|
|
106
|
-
border-radius: var(--
|
|
107
|
-
box-shadow: var(--
|
|
108
|
-
background-color: var(--
|
|
106
|
+
border-radius: var(--_text-editor-corner-radius);
|
|
107
|
+
box-shadow: var(--_text-editor-highlight-border-shadow);
|
|
108
|
+
background-color: var(--_text-editor-background-color);
|
|
109
109
|
min-height: 0;
|
|
110
110
|
flex-direction: column;
|
|
111
111
|
flex-grow: 1;
|
|
112
112
|
flex-shrink: 1;
|
|
113
113
|
flex-basis: auto;
|
|
114
|
-
color: var(--
|
|
115
|
-
font: var(--_text-font);
|
|
114
|
+
color: var(--_text-editor-content-color);
|
|
115
|
+
font: var(--_text-editor-font);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
:host([disabled]) .text-editor {
|
|
@@ -125,7 +125,7 @@ export const textEditorStyles = css `
|
|
|
125
125
|
:host([appearance="input-field"]) .text-editor:focus-within {
|
|
126
126
|
outline: var(--semantics-focus-ring-outline);
|
|
127
127
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
128
|
-
box-shadow: var(--semantics-focus-ring-box-shadow), var(--
|
|
128
|
+
box-shadow: var(--semantics-focus-ring-box-shadow), var(--_text-editor-highlight-border-shadow);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
|
|
@@ -135,13 +135,13 @@ export const textEditorStyles = css `
|
|
|
135
135
|
on the content for click mapping + scroll-end padding. :host beats the
|
|
136
136
|
shared theme's .cm-content reset. */
|
|
137
137
|
:host .cm-scroller {
|
|
138
|
-
padding-left: var(--
|
|
138
|
+
padding-left: var(--_text-editor-padding-inline);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
:host .cm-content {
|
|
142
|
-
padding-block: var(--
|
|
143
|
-
padding-right: var(--
|
|
144
|
-
min-height: calc(var(--
|
|
142
|
+
padding-block: var(--_text-editor-padding-block);
|
|
143
|
+
padding-right: var(--_text-editor-padding-inline);
|
|
144
|
+
min-height: calc(var(--_text-editor-rows) * 1lh);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/* Prominent accent caret in both variants (the input-field variant additionally has the focus
|
|
@@ -152,19 +152,19 @@ export const textEditorStyles = css `
|
|
|
152
152
|
surfaces in light and dark (accent-600 fell just short on white), so the
|
|
153
153
|
caret stays clearly visible without washing out. */
|
|
154
154
|
border-left-color: var(--primitives-color-accent-700);
|
|
155
|
-
border-left-width: var(--
|
|
155
|
+
border-left-width: var(--_text-editor-caret-width);
|
|
156
156
|
/* CodeMirror centers its own 1.2px caret with a -0.6px margin. Ours is wider,
|
|
157
157
|
so recenter it on the insertion point from its own width. */
|
|
158
|
-
margin-left: calc(var(--
|
|
158
|
+
margin-left: calc(var(--_text-editor-caret-width) / -2);
|
|
159
159
|
/* A thin surface-colored ring, like the drop cursor, so the caret stays legible
|
|
160
160
|
even over a tinted token (annotation, inline code) where the accent alone can
|
|
161
161
|
blend in. Blinks with the caret (opacity covers the shadow too). */
|
|
162
|
-
box-shadow: 0 0 0 var(--
|
|
162
|
+
box-shadow: 0 0 0 var(--_text-editor-caret-ring-width) var(--semantics-surfaces-base-background-color);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
:host .cm-scroller {
|
|
166
166
|
resize: none;
|
|
167
|
-
min-height: calc(var(--
|
|
167
|
+
min-height: calc(var(--_text-editor-rows) * 1lh + 2 * var(--_text-editor-padding-block));
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
:host([resize="vertical"]) .cm-scroller {
|
|
@@ -172,14 +172,14 @@ export const textEditorStyles = css `
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
:host([resize="none"]) .cm-editor {
|
|
175
|
-
height: calc(var(--
|
|
175
|
+
height: calc(var(--_text-editor-rows) * 1lh + 2 * var(--_text-editor-padding-block));
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
|
|
179
179
|
/* # Hybrid markdown decorations
|
|
180
180
|
Headings follow rich-text's display scale at its sm step. Markers are kept
|
|
181
181
|
visible but dimmed in monospace, which also gives the leading list/quote
|
|
182
|
-
prefix a predictable width for the hanging indent (see --
|
|
182
|
+
prefix a predictable width for the hanging indent (see --_text-editor-marker-advance). */
|
|
183
183
|
|
|
184
184
|
.cm-md-h1 {
|
|
185
185
|
font: var(--primitives-font-display-1-sm);
|
|
@@ -206,7 +206,7 @@ export const textEditorStyles = css `
|
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
:is(.cm-md-h1, .cm-md-h2, .cm-md-h3, .cm-md-h4, .cm-md-h5, .cm-md-h6) .cm-md-mark {
|
|
209
|
-
font-size: var(--
|
|
209
|
+
font-size: var(--_text-editor-heading-marker-scale);
|
|
210
210
|
}
|
|
211
211
|
.cm-md-strong {
|
|
212
212
|
font-weight: bold;
|
|
@@ -221,38 +221,38 @@ export const textEditorStyles = css `
|
|
|
221
221
|
/* The selected run is darkened with a decoration (see cm-md-code-selected
|
|
222
222
|
below), since drawSelection hides the native selection. */
|
|
223
223
|
.cm-md-code {
|
|
224
|
-
padding-block: var(--
|
|
224
|
+
padding-block: var(--_text-editor-token-block-padding-fit);
|
|
225
225
|
/* No inline padding: the tint hugs the backticks, which are the visible bounds
|
|
226
226
|
anyway. A padded mark has no coordsAt hook, so the caret at its edge would
|
|
227
227
|
otherwise jump by the padding depending on the direction it arrives from. */
|
|
228
228
|
/* line-height is left to inherit from the block, so a fixed snug line-height
|
|
229
229
|
won't make the chip overflow inside a tight heading. */
|
|
230
230
|
font-family: var(--primitives-font-family-monospace);
|
|
231
|
-
font-size: var(--
|
|
231
|
+
font-size: var(--_text-editor-code-font-size);
|
|
232
232
|
font-weight: var(--primitives-font-weight-body-regular);
|
|
233
|
-
background-color: var(--
|
|
234
|
-
border-radius: var(--
|
|
233
|
+
background-color: var(--_text-editor-code-token-background-color);
|
|
234
|
+
border-radius: var(--_text-editor-token-corner-radius);
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
/* :host beats the shared theme's ".cm-line { padding: 0 }" reset (equal
|
|
238
238
|
specificity otherwise wins on source order), same as .cm-content above —
|
|
239
239
|
without it the block padding never lands and the surface reads cramped. */
|
|
240
240
|
:host .cm-md-codeblock {
|
|
241
|
-
padding-inline: var(--
|
|
242
|
-
font: var(--
|
|
243
|
-
background-color: var(--
|
|
241
|
+
padding-inline: var(--_text-editor-code-block-inline-padding);
|
|
242
|
+
font: var(--_text-editor-code-font);
|
|
243
|
+
background-color: var(--_text-editor-code-token-background-color);
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
:host .cm-md-codeblock-first {
|
|
247
|
-
padding-top: var(--
|
|
248
|
-
border-start-start-radius: var(--
|
|
249
|
-
border-start-end-radius: var(--
|
|
247
|
+
padding-top: var(--_text-editor-code-block-block-padding);
|
|
248
|
+
border-start-start-radius: var(--_text-editor-token-corner-radius);
|
|
249
|
+
border-start-end-radius: var(--_text-editor-token-corner-radius);
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
:host .cm-md-codeblock-last {
|
|
253
|
-
padding-bottom: var(--
|
|
254
|
-
border-end-start-radius: var(--
|
|
255
|
-
border-end-end-radius: var(--
|
|
253
|
+
padding-bottom: var(--_text-editor-code-block-block-padding);
|
|
254
|
+
border-end-start-radius: var(--_text-editor-token-corner-radius);
|
|
255
|
+
border-end-end-radius: var(--_text-editor-token-corner-radius);
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
/* Selected slice of a code span — drawSelection hides the native ::selection,
|
|
@@ -260,7 +260,7 @@ export const textEditorStyles = css `
|
|
|
260
260
|
darker tint over the part that's selected. */
|
|
261
261
|
.cm-md-code-selected,
|
|
262
262
|
.cm-md-codeblock-selected {
|
|
263
|
-
background-color: var(--
|
|
263
|
+
background-color: var(--_text-editor-code-token-is-selected-background-color);
|
|
264
264
|
}
|
|
265
265
|
/* CM nests the base code mark inside the selected one, so the inner base tint
|
|
266
266
|
would paint over the darker selected tint (leaving the token light, or split
|
|
@@ -274,7 +274,7 @@ export const textEditorStyles = css `
|
|
|
274
274
|
tint, so the block lights up edge to edge — the padding included, like a
|
|
275
275
|
fully selected token. :host to beat the base ".cm-md-codeblock" background. */
|
|
276
276
|
:host .cm-md-codeblock-line-selected {
|
|
277
|
-
background-color: var(--
|
|
277
|
+
background-color: var(--_text-editor-code-token-is-selected-background-color);
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
.cm-md-mention {
|
|
@@ -283,14 +283,14 @@ export const textEditorStyles = css `
|
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
.cm-md-mention-token {
|
|
286
|
-
padding-block: var(--
|
|
286
|
+
padding-block: var(--_text-editor-token-block-padding-fit);
|
|
287
287
|
/* Left space equals the @ icon's vertical inset (token height minus the icon,
|
|
288
288
|
halved), so the icon sits equally clear left, top and bottom; the right keeps
|
|
289
289
|
the normal token inset around the name. */
|
|
290
|
-
padding-inline: max(0em, (max(1.2em, 1lh) - var(--
|
|
291
|
-
color: var(--
|
|
292
|
-
background-color: var(--
|
|
293
|
-
border-radius: var(--
|
|
290
|
+
padding-inline: max(0em, (max(1.2em, 1lh) - var(--_text-editor-mention-icon-size)) / 2) var(--_text-editor-token-inline-padding);
|
|
291
|
+
color: var(--_text-editor-mention-token-content-color);
|
|
292
|
+
background-color: var(--_text-editor-mention-token-background-color);
|
|
293
|
+
border-radius: var(--_text-editor-token-corner-radius);
|
|
294
294
|
font-weight: 600;
|
|
295
295
|
white-space: nowrap;
|
|
296
296
|
cursor: default;
|
|
@@ -303,8 +303,8 @@ export const textEditorStyles = css `
|
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
.cm-md-mention-token-icon {
|
|
306
|
-
width: var(--
|
|
307
|
-
height: var(--
|
|
306
|
+
width: var(--_text-editor-mention-icon-size);
|
|
307
|
+
height: var(--_text-editor-mention-icon-size);
|
|
308
308
|
margin-inline-end: 0.1em;
|
|
309
309
|
vertical-align: -0.16em;
|
|
310
310
|
}
|
|
@@ -316,14 +316,14 @@ export const textEditorStyles = css `
|
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
.cm-md-mention-token[data-selected] {
|
|
319
|
-
color: var(--
|
|
320
|
-
background-color: var(--
|
|
319
|
+
color: var(--_text-editor-mention-token-is-selected-content-color);
|
|
320
|
+
background-color: var(--_text-editor-mention-token-is-selected-background-color);
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
/* A native selection over a mention keeps its text light on the filled accent.
|
|
324
324
|
:host bumps specificity so it wins over .cm-content ::selection wherever it sits. */
|
|
325
325
|
:host .cm-md-mention-token ::selection {
|
|
326
|
-
color: var(--
|
|
326
|
+
color: var(--_text-editor-mention-token-is-selected-content-color);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
.cm-md-link {
|
|
@@ -362,7 +362,7 @@ export const textEditorStyles = css `
|
|
|
362
362
|
.cm-md-mark {
|
|
363
363
|
color: var(--semantics-content-secondary-color);
|
|
364
364
|
font-family: var(--primitives-font-family-monospace);
|
|
365
|
-
font-size: var(--
|
|
365
|
+
font-size: var(--_text-editor-marker-font-size);
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
.cm-md-code .cm-md-mark {
|
|
@@ -371,7 +371,7 @@ export const textEditorStyles = css `
|
|
|
371
371
|
|
|
372
372
|
/* Bullet-list marker: hide the literal dash (its box keeps the mono advance so
|
|
373
373
|
wrapped lines still align under the text) and draw a filled dot in its place.
|
|
374
|
-
Fully styleable via --
|
|
374
|
+
Fully styleable via --_text-editor-bullet-size / --_text-editor-bullet-color above. */
|
|
375
375
|
.cm-md-bullet {
|
|
376
376
|
position: relative;
|
|
377
377
|
color: transparent;
|
|
@@ -382,11 +382,11 @@ export const textEditorStyles = css `
|
|
|
382
382
|
position: absolute;
|
|
383
383
|
top: 50%;
|
|
384
384
|
left: 50%;
|
|
385
|
-
width: var(--
|
|
386
|
-
height: var(--
|
|
385
|
+
width: var(--_text-editor-bullet-size);
|
|
386
|
+
height: var(--_text-editor-bullet-size);
|
|
387
387
|
transform: translate(-50%, -50%);
|
|
388
388
|
border-radius: var(--primitives-corner-radius-full);
|
|
389
|
-
background-color: var(--
|
|
389
|
+
background-color: var(--_text-editor-bullet-color);
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
/* The leading prefix (and anything nested in it, e.g. a blockquote's own
|
|
@@ -395,7 +395,7 @@ export const textEditorStyles = css `
|
|
|
395
395
|
.cm-md-listprefix,
|
|
396
396
|
.cm-md-listprefix * {
|
|
397
397
|
font-family: var(--primitives-font-family-monospace);
|
|
398
|
-
font-size: var(--
|
|
398
|
+
font-size: var(--_text-editor-marker-font-size);
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
|
|
@@ -412,15 +412,15 @@ export const textEditorStyles = css `
|
|
|
412
412
|
wrapped fragment; padding-block extends the tint without growing the line
|
|
413
413
|
(vertical padding on an inline box is visual only). */
|
|
414
414
|
.cm-annotation {
|
|
415
|
-
background-color: var(--
|
|
416
|
-
border-radius: var(--
|
|
417
|
-
padding-block: var(--
|
|
415
|
+
background-color: var(--_text-editor-annotation-token-background-color);
|
|
416
|
+
border-radius: var(--_text-editor-token-corner-radius);
|
|
417
|
+
padding-block: var(--_text-editor-token-block-padding-fit);
|
|
418
418
|
/* Right space mirrors the badge's vertical inset (token height minus the badge,
|
|
419
419
|
halved), so the badge sits equally clear of the top, bottom and right edges.
|
|
420
420
|
Token height is max(1.2em text box, 1lh); the badge height in token units is
|
|
421
421
|
its box × its font scale. */
|
|
422
|
-
padding-inline: var(--
|
|
423
|
-
max(0em, (max(1.2em, 1lh) - var(--
|
|
422
|
+
padding-inline: var(--_text-editor-token-inline-padding)
|
|
423
|
+
max(0em, (max(1.2em, 1lh) - var(--_text-editor-annotation-badge-size) * var(--_text-editor-annotation-badge-font-scale)) / 2);
|
|
424
424
|
-webkit-box-decoration-break: clone;
|
|
425
425
|
box-decoration-break: clone;
|
|
426
426
|
}
|
|
@@ -438,7 +438,7 @@ export const textEditorStyles = css `
|
|
|
438
438
|
stands in for the hidden selection; the text takes the strongest content color. */
|
|
439
439
|
.cm-annotation.is-selected,
|
|
440
440
|
.cm-annotation .is-selected {
|
|
441
|
-
background-color: var(--
|
|
441
|
+
background-color: var(--_text-editor-annotation-token-is-selected-background-color);
|
|
442
442
|
color: var(--primitives-color-neutral-950);
|
|
443
443
|
}
|
|
444
444
|
|
|
@@ -456,15 +456,15 @@ export const textEditorStyles = css `
|
|
|
456
456
|
position: relative;
|
|
457
457
|
align-items: center;
|
|
458
458
|
justify-content: center;
|
|
459
|
-
min-width: var(--
|
|
460
|
-
height: var(--
|
|
459
|
+
min-width: var(--_text-editor-annotation-badge-size);
|
|
460
|
+
height: var(--_text-editor-annotation-badge-size);
|
|
461
461
|
margin-inline: 0.4em 0;
|
|
462
462
|
padding-inline: 0.3em;
|
|
463
463
|
border: 0;
|
|
464
464
|
border-radius: var(--primitives-corner-radius-full);
|
|
465
|
-
background-color: var(--
|
|
466
|
-
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--
|
|
467
|
-
color: var(--
|
|
465
|
+
background-color: var(--_text-editor-annotation-token-badge-background-color);
|
|
466
|
+
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--_text-editor-annotation-token-badge-highlight-border-color);
|
|
467
|
+
color: var(--_text-editor-annotation-token-badge-content-color);
|
|
468
468
|
/* vertical-align: middle lands the nub ~1px below the text's em-box center, and
|
|
469
469
|
the optical middle of the ink sits higher again, so it reads low; nudge up onto
|
|
470
470
|
it. The em is the badge's own (scaled-down) font size, so the value is larger
|
|
@@ -472,7 +472,7 @@ export const textEditorStyles = css `
|
|
|
472
472
|
vertical-align: middle;
|
|
473
473
|
transform: translateY(-0.11em);
|
|
474
474
|
font-family: var(--primitives-font-family-body);
|
|
475
|
-
font-size: calc(var(--
|
|
475
|
+
font-size: calc(var(--_text-editor-annotation-badge-font-scale) * 1em);
|
|
476
476
|
font-weight: 700;
|
|
477
477
|
line-height: 1;
|
|
478
478
|
cursor: default;
|
|
@@ -488,22 +488,22 @@ export const textEditorStyles = css `
|
|
|
488
488
|
|
|
489
489
|
@media (hover: hover) {
|
|
490
490
|
.cm-annotation-badge:hover {
|
|
491
|
-
background-color: var(--
|
|
492
|
-
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--
|
|
491
|
+
background-color: var(--_text-editor-annotation-token-badge-is-hovered-background-color);
|
|
492
|
+
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--_text-editor-annotation-token-badge-is-hovered-highlight-border-color);
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
.cm-annotation-badge:active {
|
|
497
|
-
background-color: var(--
|
|
498
|
-
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--
|
|
497
|
+
background-color: var(--_text-editor-annotation-token-badge-is-active-background-color);
|
|
498
|
+
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--_text-editor-annotation-token-badge-is-active-highlight-border-color);
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
/* The nub darkens with the block only when the whole annotation is selected (full
|
|
502
502
|
mark) or the slice covering it is (a selection running through the badge). */
|
|
503
503
|
.cm-annotation.is-selected .cm-annotation-badge,
|
|
504
504
|
.cm-annotation .is-selected .cm-annotation-badge {
|
|
505
|
-
background-color: var(--
|
|
506
|
-
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--
|
|
505
|
+
background-color: var(--_text-editor-annotation-token-is-selected-badge-background-color);
|
|
506
|
+
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--_text-editor-annotation-token-is-selected-badge-highlight-border-color);
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
.cm-annotation-badge:focus-visible {
|
|
@@ -542,10 +542,10 @@ export const textEditorStyles = css `
|
|
|
542
542
|
z-index: 5;
|
|
543
543
|
max-width: 24ch;
|
|
544
544
|
padding: 0 var(--primitives-space-4);
|
|
545
|
-
border-radius: var(--
|
|
545
|
+
border-radius: var(--_text-editor-token-corner-radius);
|
|
546
546
|
background-color: light-dark(var(--primitives-color-accent-150), var(--primitives-color-accent-250));
|
|
547
|
-
color: var(--
|
|
548
|
-
font: var(--_text-font);
|
|
547
|
+
color: var(--_text-editor-content-color);
|
|
548
|
+
font: var(--_text-editor-font);
|
|
549
549
|
white-space: nowrap;
|
|
550
550
|
overflow: hidden;
|
|
551
551
|
text-overflow: ellipsis;
|
|
@@ -558,12 +558,12 @@ export const textEditorStyles = css `
|
|
|
558
558
|
display: inline-flex;
|
|
559
559
|
align-items: center;
|
|
560
560
|
justify-content: center;
|
|
561
|
-
min-width: var(--
|
|
562
|
-
height: var(--
|
|
561
|
+
min-width: var(--_text-editor-link-badge-size);
|
|
562
|
+
height: var(--_text-editor-link-badge-size);
|
|
563
563
|
border-radius: var(--primitives-corner-radius-full);
|
|
564
|
-
background-color: var(--
|
|
565
|
-
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--
|
|
566
|
-
color: var(--
|
|
564
|
+
background-color: var(--_text-editor-link-badge-background-color);
|
|
565
|
+
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--_text-editor-link-badge-highlight-border-color);
|
|
566
|
+
color: var(--_text-editor-link-badge-content-color);
|
|
567
567
|
/* Match the annotation nub's optical centering next to the ink. */
|
|
568
568
|
vertical-align: middle;
|
|
569
569
|
transform: translateY(-0.05em);
|
|
@@ -573,20 +573,20 @@ export const textEditorStyles = css `
|
|
|
573
573
|
|
|
574
574
|
@media (hover: hover) {
|
|
575
575
|
.cm-link-badge:hover {
|
|
576
|
-
background-color: var(--
|
|
577
|
-
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--
|
|
576
|
+
background-color: var(--_text-editor-link-badge-is-hovered-background-color);
|
|
577
|
+
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--_text-editor-link-badge-is-hovered-highlight-border-color);
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
.cm-link-badge:active {
|
|
582
|
-
background-color: var(--
|
|
583
|
-
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--
|
|
582
|
+
background-color: var(--_text-editor-link-badge-is-active-background-color);
|
|
583
|
+
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--_text-editor-link-badge-is-active-highlight-border-color);
|
|
584
584
|
}
|
|
585
585
|
|
|
586
586
|
.cm-link-badge nldd-icon {
|
|
587
587
|
flex: none;
|
|
588
|
-
width: calc(0.65 * var(--
|
|
589
|
-
height: calc(0.65 * var(--
|
|
588
|
+
width: calc(0.65 * var(--_text-editor-link-badge-size));
|
|
589
|
+
height: calc(0.65 * var(--_text-editor-link-badge-size));
|
|
590
590
|
}
|
|
591
591
|
|
|
592
592
|
.cm-link-badge:focus-visible {
|
|
@@ -91,10 +91,10 @@ let NLDDTextField = class NLDDTextField extends DescribedBy(FormAssociated(LitEl
|
|
|
91
91
|
if (changed.has('width')) {
|
|
92
92
|
const w = this.width;
|
|
93
93
|
if (w && w !== 'full' && CSS.supports('width', w)) {
|
|
94
|
-
this.style.setProperty('--
|
|
94
|
+
this.style.setProperty('--_text-field-width', w);
|
|
95
95
|
}
|
|
96
96
|
else {
|
|
97
|
-
this.style.removeProperty('--
|
|
97
|
+
this.style.removeProperty('--_text-field-width');
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-field.js","sourceRoot":"","sources":["../../../../src/components/inputs/text-field/text-field.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAkB,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAIvE;;wEAEwE;AACxE,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,CAAU,CAAC;AAC1G,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE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