@nldd/design-system 0.8.64 → 0.8.65
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/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +7 -6
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +9 -5
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +3 -2
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.js +3 -2
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +4 -0
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +13 -5
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +15 -10
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +2 -0
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +1 -0
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +33 -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 +8 -0
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +5 -4
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +11 -0
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +112 -40
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +3 -12
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/components.js +104 -102
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +0 -3
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/byline/byline.d.ts.map +1 -1
- package/dist/components/content/byline/byline.js +3 -2
- package/dist/components/content/byline/byline.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +24 -64
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +239 -156
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +33 -92
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +10 -29
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +22 -1
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +18 -0
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +3 -2
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +7 -6
- 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 +2 -6
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +8 -7
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +5 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +3 -2
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.d.ts.map +1 -1
- package/dist/components/content/tag/tag.js +5 -4
- package/dist/components/content/tag/tag.js.map +1 -1
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +2 -1
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/token/token.d.ts +70 -0
- package/dist/components/content/token/token.d.ts.map +1 -0
- package/dist/components/content/token/token.js +170 -0
- package/dist/components/content/token/token.js.map +1 -0
- package/dist/components/content/token/token.styles.d.ts.map +1 -0
- package/dist/components/content/token/token.styles.js +122 -0
- package/dist/components/content/token/token.styles.js.map +1 -0
- package/dist/components/content/token/token.template.d.ts +6 -0
- package/dist/components/content/token/token.template.d.ts.map +1 -0
- package/dist/components/content/token/token.template.js +47 -0
- package/dist/components/content/token/token.template.js.map +1 -0
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +14 -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 +11 -0
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/gherkin-DhZlEZiy.js +115 -0
- package/dist/components/index-BI4lrehT.js +66595 -0
- package/dist/components/index-BcdqzZql.js +703 -0
- package/dist/components/index-BlMqctke.js +81 -0
- package/dist/components/index-BseMFLNF.js +688 -0
- package/dist/components/index-ChjtFo6I.js +177 -0
- package/dist/components/index-D3NSlPL5.js +405 -0
- package/dist/components/index-D7B3n3QJ.js +384 -0
- package/dist/components/index.d.ts +20 -18
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +20 -18
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +58 -29
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +241 -52
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +58 -46
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.template.d.ts +1 -1
- package/dist/components/inputs/code-editor/code-editor.template.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.template.js +5 -22
- package/dist/components/inputs/code-editor/code-editor.template.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +15 -4
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +53 -9
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +2 -1
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +6 -5
- 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.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +8 -11
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +2 -1
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +3 -2
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.js +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +2 -1
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +10 -9
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +70 -36
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +2 -1
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +2 -1
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +51 -0
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +148 -0
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.annotations.d.ts +47 -0
- package/dist/components/inputs/text-editor/text-editor.annotations.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.annotations.js +327 -0
- package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.caret.d.ts +13 -0
- package/dist/components/inputs/text-editor/text-editor.caret.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.caret.js +27 -0
- package/dist/components/inputs/text-editor/text-editor.caret.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts +61 -0
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.commands.js +376 -0
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.d.ts +241 -0
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.drag.d.ts +30 -0
- package/dist/components/inputs/text-editor/text-editor.drag.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.drag.js +231 -0
- package/dist/components/inputs/text-editor/text-editor.drag.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +8 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.js +13 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.js +782 -0
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts +18 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.links.js +147 -0
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts +20 -0
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.markdown.js +372 -0
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +32 -0
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.mentions.js +153 -0
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.ordered-list.d.ts +12 -0
- package/dist/components/inputs/text-editor/text-editor.ordered-list.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.ordered-list.js +85 -0
- package/dist/components/inputs/text-editor/text-editor.ordered-list.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts +2 -0
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.styles.js +592 -0
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.template.d.ts +4 -0
- package/dist/components/inputs/text-editor/text-editor.template.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.template.js +7 -0
- package/dist/components/inputs/text-editor/text-editor.template.js.map +1 -0
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +3 -2
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +4 -3
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +14 -10
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +5 -4
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +257 -0
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -0
- package/dist/components/inputs/token-field/token-field.i18n.d.ts +9 -0
- package/dist/components/inputs/token-field/token-field.i18n.d.ts.map +1 -0
- package/dist/components/inputs/token-field/token-field.i18n.js +8 -0
- package/dist/components/inputs/token-field/token-field.i18n.js.map +1 -0
- package/dist/components/inputs/token-field/token-field.js +877 -0
- package/dist/components/inputs/token-field/token-field.js.map +1 -0
- package/dist/components/inputs/token-field/token-field.styles.d.ts +2 -0
- package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -0
- package/dist/components/inputs/token-field/token-field.styles.js +194 -0
- package/dist/components/inputs/token-field/token-field.styles.js.map +1 -0
- package/dist/components/inputs/token-field/token-field.template.d.ts +8 -0
- package/dist/components/inputs/token-field/token-field.template.d.ts.map +1 -0
- package/dist/components/inputs/token-field/token-field.template.js +136 -0
- package/dist/components/inputs/token-field/token-field.template.js.map +1 -0
- package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
- package/dist/components/layout/app-view/app-view.js +2 -1
- package/dist/components/layout/app-view/app-view.js.map +1 -1
- package/dist/components/layout/box/box.d.ts.map +1 -1
- package/dist/components/layout/box/box.js +2 -1
- package/dist/components/layout/box/box.js.map +1 -1
- package/dist/components/layout/box/box.styles.d.ts.map +1 -1
- package/dist/components/layout/box/box.styles.js +1 -6
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +5 -0
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +17 -1
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +18 -17
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +2 -1
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +7 -23
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +12 -73
- 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 +13 -159
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +1 -0
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +14 -1
- 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 +11 -0
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +1 -1
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +16 -6
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +60 -83
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/spacer/spacer.d.ts.map +1 -1
- package/dist/components/layout/spacer/spacer.js +2 -1
- package/dist/components/layout/spacer/spacer.js.map +1 -1
- package/dist/components/layout/spacer/spacer.styles.d.ts.map +1 -1
- package/dist/components/layout/spacer/spacer.styles.js +0 -1
- package/dist/components/layout/spacer/spacer.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.js +2 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.js.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +10 -10
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +11 -2
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js +4 -3
- package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +3 -2
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +3 -2
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +10 -9
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js +3 -2
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +9 -8
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +5 -4
- 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 +3 -2
- 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.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +2 -1
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +4 -3
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +2 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +5 -4
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +2 -1
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +2 -1
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- 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 +4 -3
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.js +2 -1
- package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +7 -0
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +31 -5
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +74 -78
- package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js +8 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +7 -6
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +5 -4
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/shell-BlsXDxCn.js +222 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +4 -3
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +0 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +4 -3
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +0 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +13 -13
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +5 -4
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +1 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +35 -4
- 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.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +11 -0
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +4 -3
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +9 -8
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +0 -6
- 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.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +8 -7
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +0 -2
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- 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 +3 -2
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/components/toml-BOuWGMcf.js +76 -0
- package/dist/css/fouc.css +30 -0
- package/dist/css/global.css +1 -0
- package/dist/css/rich-text.css +0 -5
- package/dist/css/settings.css +25 -10
- package/dist/utilities/codemirror/codemirror-element.d.ts +66 -0
- package/dist/utilities/codemirror/codemirror-element.d.ts.map +1 -0
- package/dist/utilities/codemirror/codemirror-element.js +121 -0
- package/dist/utilities/codemirror/codemirror-element.js.map +1 -0
- package/dist/utilities/codemirror/languages.d.ts +4 -0
- package/dist/utilities/codemirror/languages.d.ts.map +1 -0
- package/dist/utilities/codemirror/languages.js +39 -0
- package/dist/utilities/codemirror/languages.js.map +1 -0
- package/dist/utilities/codemirror/theme.d.ts +4 -0
- package/dist/utilities/codemirror/theme.d.ts.map +1 -0
- package/dist/utilities/codemirror/theme.js +84 -0
- package/dist/utilities/codemirror/theme.js.map +1 -0
- package/dist/utilities/dismiss-from-title-bar.d.ts +19 -0
- package/dist/utilities/dismiss-from-title-bar.d.ts.map +1 -0
- package/dist/utilities/dismiss-from-title-bar.js +21 -0
- package/dist/utilities/dismiss-from-title-bar.js.map +1 -0
- package/dist/utilities/reflect-non-default.d.ts +30 -0
- package/dist/utilities/reflect-non-default.d.ts.map +1 -0
- package/dist/utilities/reflect-non-default.js +34 -0
- package/dist/utilities/reflect-non-default.js.map +1 -0
- package/package.json +92 -68
- package/dist/components/index-BNhqNvDd.js +0 -36784
- package/dist/components/inputs/token/token.d.ts +0 -42
- package/dist/components/inputs/token/token.d.ts.map +0 -1
- package/dist/components/inputs/token/token.js +0 -86
- package/dist/components/inputs/token/token.js.map +0 -1
- package/dist/components/inputs/token/token.styles.d.ts.map +0 -1
- package/dist/components/inputs/token/token.styles.js +0 -142
- package/dist/components/inputs/token/token.styles.js.map +0 -1
- package/dist/components/inputs/token/token.template.d.ts +0 -4
- package/dist/components/inputs/token/token.template.d.ts.map +0 -1
- package/dist/components/inputs/token/token.template.js +0 -41
- package/dist/components/inputs/token/token.template.js.map +0 -1
- package/dist/components/prism-bash-vbqaw3JR.js +0 -226
- package/dist/components/prism-css-B93tXdOU.js +0 -59
- package/dist/components/prism-gherkin-CMPYyXOQ.js +0 -82
- package/dist/components/prism-javascript-DeC_17Pw.js +0 -140
- package/dist/components/prism-json-DIMpow89.js +0 -25
- package/dist/components/prism-markdown-D-uFBkiz.js +0 -339
- package/dist/components/prism-markup-DfJYPYHA.js +0 -177
- package/dist/components/prism-python--N285k7w.js +0 -99
- package/dist/components/prism-rust-Cnm1tSdo.js +0 -157
- package/dist/components/prism-sql-BGqCBMyJ.js +0 -33
- package/dist/components/prism-toml-Ubdq-a5x.js +0 -45
- package/dist/components/prism-typescript-BPJAiB1s.js +0 -87
- package/dist/components/prism-yaml-DO0f9pf6.js +0 -71
- /package/dist/components/{inputs → content}/token/token.styles.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-circle.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/progress-circle/progress-circle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EAAE,UAAU,EAAW,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"progress-circle.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/progress-circle/progress-circle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EAAE,UAAU,EAAW,MAAM,KAAK,CAAC;AAM1C,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,kCAAkC,CAAC;AAE1C;;;uEAGuE;AACvE,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAE/C,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG,cAAc,CAAC;AAC7D,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GA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OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,sBAAsB,EAAE,kBAAkB,CAAC;QAC3C,wCAAwC,EAAE,kCAAkC,CAAC;KAC7E;CACD"}
|
|
@@ -46,6 +46,7 @@ var NLDDProgressCircle_1;
|
|
|
46
46
|
*/
|
|
47
47
|
import { LitElement, nothing } from 'lit';
|
|
48
48
|
import { customElement, property, state } from 'lit/decorators.js';
|
|
49
|
+
import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
|
|
49
50
|
import { progressCircleStyles, progressCircleSegmentIndicatorStyles } from './progress-circle.styles.js';
|
|
50
51
|
import { progressCircleTemplate, getCircumference, getStrokeWidthPx } from './progress-circle.template.js';
|
|
51
52
|
import { nlddProgressCircleTranslations } from './progress-circle.i18n.js';
|
|
@@ -76,7 +77,7 @@ __decorate([
|
|
|
76
77
|
property({ type: Number, reflect: true })
|
|
77
78
|
], NLDDProgressCircleSegmentIndicator.prototype, "value", void 0);
|
|
78
79
|
__decorate([
|
|
79
|
-
property({
|
|
80
|
+
property({ reflect: true, converter: reflectNonDefault('accent') })
|
|
80
81
|
], NLDDProgressCircleSegmentIndicator.prototype, "color", void 0);
|
|
81
82
|
__decorate([
|
|
82
83
|
property({ type: String, reflect: true })
|
|
@@ -406,7 +407,7 @@ let NLDDProgressCircle = NLDDProgressCircle_1 = class NLDDProgressCircle extends
|
|
|
406
407
|
NLDDProgressCircle.styles = progressCircleStyles;
|
|
407
408
|
NLDDProgressCircle._idCounter = 0;
|
|
408
409
|
__decorate([
|
|
409
|
-
property({
|
|
410
|
+
property({ reflect: true, converter: reflectNonDefault('progress') })
|
|
410
411
|
], NLDDProgressCircle.prototype, "mode", void 0);
|
|
411
412
|
__decorate([
|
|
412
413
|
property({ type: Number, reflect: true })
|
|
@@ -415,22 +416,22 @@ __decorate([
|
|
|
415
416
|
property({ type: Number, reflect: true })
|
|
416
417
|
], NLDDProgressCircle.prototype, "value", void 0);
|
|
417
418
|
__decorate([
|
|
418
|
-
property({
|
|
419
|
+
property({ reflect: true, converter: reflectNonDefault('accent') })
|
|
419
420
|
], NLDDProgressCircle.prototype, "color", void 0);
|
|
420
421
|
__decorate([
|
|
421
|
-
property({
|
|
422
|
+
property({ reflect: true, converter: reflectNonDefault('28') })
|
|
422
423
|
], NLDDProgressCircle.prototype, "size", void 0);
|
|
423
424
|
__decorate([
|
|
424
|
-
property({
|
|
425
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
425
426
|
], NLDDProgressCircle.prototype, "text", void 0);
|
|
426
427
|
__decorate([
|
|
427
|
-
property({
|
|
428
|
+
property({ reflect: true, attribute: 'value-format', converter: reflectNonDefault('percentage') })
|
|
428
429
|
], NLDDProgressCircle.prototype, "valueFormat", void 0);
|
|
429
430
|
__decorate([
|
|
430
431
|
property({ type: String, reflect: true, attribute: 'value-text' })
|
|
431
432
|
], NLDDProgressCircle.prototype, "valueText", void 0);
|
|
432
433
|
__decorate([
|
|
433
|
-
property({
|
|
434
|
+
property({ reflect: true, attribute: 'value-display', converter: reflectNonDefault('tooltip') })
|
|
434
435
|
], NLDDProgressCircle.prototype, "valueDisplay", void 0);
|
|
435
436
|
__decorate([
|
|
436
437
|
property({ type: String, reflect: true, attribute: 'accessible-label' })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-circle.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/progress-circle/progress-circle.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,oCAAoC,EAAE,MAAM,6BAA6B,CAAC;AACzG,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,+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AAE;uDACoB;AArDhB,kBAAkB;IAD9B,aAAa,CAAC,sBAAsB,CAAC;GACzB,kBAAkB,CA4X9B"}
|
|
1
|
+
{"version":3,"file":"progress-circle.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/progress-circle/progress-circle.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,oCAAoC,EAAE,MAAM,6BAA6B,CAAC;AACzG,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC3G,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAE3E,OAAO,kCAAkC,CAAC;AAE1C;;;uEAGuE;AACvE,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAC;AAiB/C,2CAA2C;AAGpC,IAAM,kCAAkC,GAAxC,MAAM,kCAAmC,SAAQ,UAAU;IAA3D;;QAIN,UAAK,GAAG,CAAC,CAAC;QAGV,UAAK,GAAwB,QAAQ,CAAC;QAGtC,SAAI,GAAG,EAAE,CAAC;IASX,CAAC;IAPS,MAAM;QACd,oEAAoE;QACpE,mEAAmE;QACnE,6DAA6D;QAC7D,mBAAmB;QACnB,OAAO,OAAO,CAAC;IAChB,CAAC;;AAjBe,yCAAM,GAAG,oCAAoC,AAAvC,CAAwC;AAG9D;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;iEAChC;AAGV;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,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AE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,CAA4B,YAAY,CAAC,EAAE,CAAC;uDACxE;AAGtD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;qDACpD;AAGf;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,iBAAiB,CAA6B,SAAS,CAAC,EAAE,CAAC;wDACxE;AAGrD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;2DACpD;AAGrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;yDACrB;AAGtB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wDACgC;AAGnD;IADP,KAAK,EAAE;8DAC8D;AAGtE;IADC,KAAK,EAAE;iEACsB;AAG9B;IADC,KAAK,EAAE;kEACuB;AAOvB;IADP,KAAK,EAAE;uDACoB;AArDhB,kBAAkB;IAD9B,aAAa,CAAC,sBAAsB,CAAC;GACzB,kBAAkB,CA4X9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-circle.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/progress-circle/progress-circle.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"progress-circle.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/progress-circle/progress-circle.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,yBA4PhC,CAAC;AAGF,eAAO,MAAM,oCAAoC,yBAIhD,CAAC"}
|
|
@@ -39,7 +39,6 @@ export const progressCircleStyles = css `
|
|
|
39
39
|
:host([size="16"]) { --_size: var(--primitives-space-16); --_stroke-width: calc(3px * 100 / 16); }
|
|
40
40
|
:host([size="20"]) { --_size: var(--primitives-space-20); --_stroke-width: calc(4px * 100 / 20); }
|
|
41
41
|
:host([size="24"]) { --_size: var(--primitives-space-24); --_stroke-width: calc(4px * 100 / 24); }
|
|
42
|
-
:host([size="28"]) { --_size: var(--primitives-space-28); --_stroke-width: calc(4px * 100 / 28); }
|
|
43
42
|
:host([size="32"]) { --_size: var(--primitives-space-32); --_stroke-width: calc(5px * 100 / 32); }
|
|
44
43
|
:host([size="40"]) { --_size: var(--primitives-space-40); --_stroke-width: calc(5px * 100 / 40); }
|
|
45
44
|
:host([size="44"]) { --_size: var(--primitives-space-44); --_stroke-width: calc(6px * 100 / 44); }
|
|
@@ -170,7 +169,6 @@ export const progressCircleStyles = css `
|
|
|
170
169
|
}
|
|
171
170
|
|
|
172
171
|
:host([color="neutral"]) { --_indeterminate-background-color: var(--semantics-categories-neutral-filled-background-color); --_indeterminate-border-color: var(--semantics-categories-neutral-filled-highlight-border-color); }
|
|
173
|
-
:host([color="accent"]) { --_indeterminate-background-color: var(--semantics-categories-accent-filled-background-color); --_indeterminate-border-color: var(--semantics-categories-accent-filled-highlight-border-color); }
|
|
174
172
|
:host([color="success"]) { --_indeterminate-background-color: var(--semantics-categories-success-filled-background-color); --_indeterminate-border-color: var(--semantics-categories-success-filled-highlight-border-color); }
|
|
175
173
|
:host([color="warning"]) { --_indeterminate-background-color: var(--semantics-categories-warning-filled-background-color); --_indeterminate-border-color: var(--semantics-categories-warning-filled-highlight-border-color); }
|
|
176
174
|
:host([color="critical"]) { --_indeterminate-background-color: var(--semantics-categories-critical-filled-background-color); --_indeterminate-border-color: var(--semantics-categories-critical-filled-highlight-border-color); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-circle.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/progress-circle/progress-circle.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;IAwBnC,kBAAkB
|
|
1
|
+
{"version":3,"file":"progress-circle.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/progress-circle/progress-circle.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;IAwBnC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoOrB,CAAC;AAGF,MAAM,CAAC,MAAM,oCAAoC,GAAG,GAAG,CAAA;;;;CAItD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-bar.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/status-bar/status-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"status-bar.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/status-bar/status-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,OAAO,4BAA4B,CAAC;AAEpC,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEzF,qBACa,aAAc,SAAQ,UAAU;IAC5C,OAAgB,MAAM,0BAAmB;IAGzC,OAAO,EAAE,gBAAgB,CAAa;IAGtC,IAAI,SAAM;IAGV,IAAI,SAAM;IAEV,+DAA+D;IAE/D,MAAM,SAAM;IAEZ,sDAAsD;IAEtD,GAAG,SAAM;IAGT,MAAM,UAAS;IAEN,iBAAiB,IAAI,IAAI;IAYlC,+EAA+E;IAC/E,YAAY,IAAI,MAAM;IAKb,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAIrD,OAAO,CAAC,oBAAoB;IAmBnB,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,iBAAiB,EAAE,aAAa,CAAC;KACjC;CACD"}
|
|
@@ -45,6 +45,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
45
45
|
*/
|
|
46
46
|
import { LitElement } from 'lit';
|
|
47
47
|
import { customElement, property } from 'lit/decorators.js';
|
|
48
|
+
import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
|
|
48
49
|
import { statusBarStyles } from './status-bar.styles.js';
|
|
49
50
|
import { statusBarTemplate } from './status-bar.template.js';
|
|
50
51
|
import '../../content/icon/icon.js';
|
|
@@ -106,10 +107,10 @@ let NLDDStatusBar = class NLDDStatusBar extends LitElement {
|
|
|
106
107
|
};
|
|
107
108
|
NLDDStatusBar.styles = statusBarStyles;
|
|
108
109
|
__decorate([
|
|
109
|
-
property({
|
|
110
|
+
property({ reflect: true, converter: reflectNonDefault('neutral') })
|
|
110
111
|
], NLDDStatusBar.prototype, "variant", void 0);
|
|
111
112
|
__decorate([
|
|
112
|
-
property({
|
|
113
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
113
114
|
], NLDDStatusBar.prototype, "text", void 0);
|
|
114
115
|
__decorate([
|
|
115
116
|
property({ type: String })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-bar.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/status-bar/status-bar.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,4BAA4B,CAAC;AAK7B,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,UAAU;IAAtC;;QAIN,YAAO,GAAqB,SAAS,CAAC;QAGtC,SAAI,GAAG,EAAE,CAAC;QAGV,SAAI,GAAG,EAAE,CAAC;QAEV,+DAA+D;QAE/D,WAAM,GAAG,EAAE,CAAC;QAEZ,sDAAsD;QAEtD,QAAG,GAAG,EAAE,CAAC;QAGT,WAAM,GAAG,KAAK,CAAC;IA8ChB,CAAC;IA5CS,iBAAiB;QACzB,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,wEAAwE;QACxE,uEAAuE;QACvE,4EAA4E;QAC5E,4EAA4E;QAC5E,4EAA4E;QAC5E,6EAA6E;QAC7E,4BAA4B;QAC5B,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzC,CAAC;IAED,+EAA+E;IAC/E,YAAY;QACX,IAAI,IAAI,CAAC,GAAG;YAAE,OAAO,IAAI,CAAC,GAAG,CAAC;QAC9B,OAAO,IAAI,CAAC,MAAM,KAAK,Q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
11
|
+
token: function(stream, state) {
|
|
12
|
+
let quote;
|
|
13
|
+
if (!state.inString && (quote = stream.match(/^('''|"""|'|")/))) {
|
|
14
|
+
state.stringType = quote[0];
|
|
15
|
+
state.inString = true;
|
|
16
|
+
}
|
|
17
|
+
if (stream.sol() && !state.inString && state.inArray === 0) {
|
|
18
|
+
state.lhs = true;
|
|
19
|
+
}
|
|
20
|
+
if (state.inString) {
|
|
21
|
+
while (state.inString) {
|
|
22
|
+
if (stream.match(state.stringType)) {
|
|
23
|
+
state.inString = false;
|
|
24
|
+
} else if (stream.peek() === "\\") {
|
|
25
|
+
stream.next();
|
|
26
|
+
stream.next();
|
|
27
|
+
} else if (stream.eol()) {
|
|
28
|
+
break;
|
|
29
|
+
} else {
|
|
30
|
+
stream.match(/^.[^\\\"\']*/);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return state.lhs ? "property" : "string";
|
|
34
|
+
} else if (state.inArray && stream.peek() === "]") {
|
|
35
|
+
stream.next();
|
|
36
|
+
state.inArray--;
|
|
37
|
+
return "bracket";
|
|
38
|
+
} else if (state.lhs && stream.peek() === "[" && stream.skipTo("]")) {
|
|
39
|
+
stream.next();
|
|
40
|
+
if (stream.peek() === "]") stream.next();
|
|
41
|
+
return "atom";
|
|
42
|
+
} else if (stream.peek() === "#") {
|
|
43
|
+
stream.skipToEnd();
|
|
44
|
+
return "comment";
|
|
45
|
+
} else if (stream.eatSpace()) {
|
|
46
|
+
return null;
|
|
47
|
+
} else if (state.lhs && stream.eatWhile(function(c) {
|
|
48
|
+
return c != "=" && c != " ";
|
|
49
|
+
})) {
|
|
50
|
+
return "property";
|
|
51
|
+
} else if (state.lhs && stream.peek() === "=") {
|
|
52
|
+
stream.next();
|
|
53
|
+
state.lhs = false;
|
|
54
|
+
return null;
|
|
55
|
+
} else if (!state.lhs && stream.match(/^\d\d\d\d[\d\-\:\.T]*Z/)) {
|
|
56
|
+
return "atom";
|
|
57
|
+
} else if (!state.lhs && (stream.match("true") || stream.match("false"))) {
|
|
58
|
+
return "atom";
|
|
59
|
+
} else if (!state.lhs && stream.peek() === "[") {
|
|
60
|
+
state.inArray++;
|
|
61
|
+
stream.next();
|
|
62
|
+
return "bracket";
|
|
63
|
+
} else if (!state.lhs && stream.match(/^\-?\d+(?:\.\d+)?/)) {
|
|
64
|
+
return "number";
|
|
65
|
+
} else if (!stream.eatSpace()) {
|
|
66
|
+
stream.next();
|
|
67
|
+
}
|
|
68
|
+
return null;
|
|
69
|
+
},
|
|
70
|
+
languageData: {
|
|
71
|
+
commentTokens: { line: "#" }
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
export {
|
|
75
|
+
toml
|
|
76
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* Reduce FOUC — flash of unstyled / not-yet-upgraded web components.
|
|
2
|
+
*
|
|
3
|
+
* Bundled into the design system's global stylesheet, so importing
|
|
4
|
+
* '@nldd/design-system/styles' pulls it in. Also importable on its own:
|
|
5
|
+
* import '@nldd/design-system/styles/fouc';
|
|
6
|
+
* (or, in an Astro layout, in the frontmatter — it applies to the whole page).
|
|
7
|
+
*
|
|
8
|
+
* Keeps the page hidden until every custom element on it has upgraded (:defined),
|
|
9
|
+
* or a 200ms fallback — whichever comes first, so the page still reveals if a
|
|
10
|
+
* component never loads. Note the :defined check is page-wide: ANY undefined
|
|
11
|
+
* custom element on the page (including a non-NLDD one) holds the page hidden
|
|
12
|
+
* until it upgrades or the fallback fires. Pure CSS, no JS.
|
|
13
|
+
*
|
|
14
|
+
* Based on https://dev.to/stuffbreaker/reducing-fouc-with-web-components-1jnh
|
|
15
|
+
*/
|
|
16
|
+
body {
|
|
17
|
+
/* The always-on animation reveals — and, via `forwards`, keeps revealed — after
|
|
18
|
+
the fallback delay, so a later-added undefined element can't re-hide the page. */
|
|
19
|
+
animation: nldd-fouc-reveal 0s linear 200ms forwards;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
body:has(:not(:defined)) {
|
|
23
|
+
opacity: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@keyframes nldd-fouc-reveal {
|
|
27
|
+
to {
|
|
28
|
+
opacity: 1;
|
|
29
|
+
}
|
|
30
|
+
}
|
package/dist/css/global.css
CHANGED
package/dist/css/rich-text.css
CHANGED
|
@@ -46,7 +46,6 @@ nldd-rich-text[centered] {
|
|
|
46
46
|
|
|
47
47
|
nldd-rich-text[spacing="flat"] { --_spacing: var(--components-rich-text-spacing-flat); }
|
|
48
48
|
nldd-rich-text[spacing="tight"] { --_spacing: var(--components-rich-text-spacing-tight); }
|
|
49
|
-
nldd-rich-text[spacing="snug"] { --_spacing: var(--components-rich-text-spacing-snug); }
|
|
50
49
|
nldd-rich-text[spacing="loose"] { --_spacing: var(--components-rich-text-spacing-loose); }
|
|
51
50
|
|
|
52
51
|
nldd-rich-text[hidden] {
|
|
@@ -454,11 +453,8 @@ nldd-rich-text blockquote {
|
|
|
454
453
|
calc(var(--semantics-blockquotes-md-spacing) - var(--_spacing))
|
|
455
454
|
);
|
|
456
455
|
margin-inline: 0;
|
|
457
|
-
padding-block-start: var(--semantics-blockquotes-md-spacing);
|
|
458
456
|
padding-inline: var(--semantics-blockquotes-md-spacing);
|
|
459
|
-
border-top: var(--semantics-blockquotes-border);
|
|
460
457
|
border-left: var(--semantics-blockquotes-border);
|
|
461
|
-
border-top-left-radius: var(--semantics-blockquotes-corner-radius);
|
|
462
458
|
font: var(--semantics-blockquotes-md-quote-font);
|
|
463
459
|
|
|
464
460
|
@container (max-width: 640px) {
|
|
@@ -467,7 +463,6 @@ nldd-rich-text blockquote {
|
|
|
467
463
|
0px,
|
|
468
464
|
calc(var(--semantics-blockquotes-sm-spacing) - var(--_spacing))
|
|
469
465
|
);
|
|
470
|
-
padding-block-start: var(--semantics-blockquotes-sm-spacing);
|
|
471
466
|
padding-inline: var(--semantics-blockquotes-sm-spacing);
|
|
472
467
|
font: var(--semantics-blockquotes-sm-quote-font);
|
|
473
468
|
}
|
package/dist/css/settings.css
CHANGED
|
@@ -1235,7 +1235,6 @@
|
|
|
1235
1235
|
--semantics-blockquotes-sm-spacing: calc(var(--primitives-font-size-200) * var(--primitives-line-height-snug));
|
|
1236
1236
|
--semantics-blockquotes-md-spacing: calc(var(--primitives-font-size-300) * var(--primitives-line-height-snug));
|
|
1237
1237
|
--semantics-blockquotes-border: var(--primitives-border-width-regular) solid var(--semantics-content-color);
|
|
1238
|
-
--semantics-blockquotes-corner-radius: var(--primitives-corner-radius-xxxl);
|
|
1239
1238
|
--semantics-blockquotes-sm-quote-font:
|
|
1240
1239
|
italic
|
|
1241
1240
|
var(--primitives-font-weight-body-regular)
|
|
@@ -1310,15 +1309,30 @@
|
|
|
1310
1309
|
--semantics-buttons-md-icon-size: var(--primitives-space-20);
|
|
1311
1310
|
--semantics-buttons-lg-icon-size: var(--primitives-space-24);
|
|
1312
1311
|
|
|
1313
|
-
--semantics-buttons-xs-
|
|
1314
|
-
--semantics-buttons-sm-
|
|
1315
|
-
--semantics-buttons-md-
|
|
1316
|
-
--semantics-buttons-lg-
|
|
1312
|
+
--semantics-buttons-xs-has-supporting-text-icon-size: var(--primitives-space-16);
|
|
1313
|
+
--semantics-buttons-sm-has-supporting-text-icon-size: var(--primitives-space-18);
|
|
1314
|
+
--semantics-buttons-md-has-supporting-text-icon-size: var(--primitives-space-24);
|
|
1315
|
+
--semantics-buttons-lg-has-supporting-text-icon-size: var(--primitives-space-32);
|
|
1317
1316
|
|
|
1318
|
-
--semantics-buttons-xs-icon-only-icon-size: var(--primitives-space-16);
|
|
1319
|
-
--semantics-buttons-sm-icon-only-icon-size: var(--primitives-space-20);
|
|
1320
|
-
--semantics-buttons-md-icon-only-icon-size: var(--primitives-space-24);
|
|
1321
|
-
--semantics-buttons-lg-icon-only-icon-size: var(--primitives-space-28);
|
|
1317
|
+
--semantics-buttons-xs-is-icon-only-icon-size: var(--primitives-space-16);
|
|
1318
|
+
--semantics-buttons-sm-is-icon-only-icon-size: var(--primitives-space-20);
|
|
1319
|
+
--semantics-buttons-md-is-icon-only-icon-size: var(--primitives-space-24);
|
|
1320
|
+
--semantics-buttons-lg-is-icon-only-icon-size: var(--primitives-space-28);
|
|
1321
|
+
|
|
1322
|
+
--semantics-buttons-xs-inline-padding: calc((var(--semantics-controls-xs-min-size) - var(--semantics-buttons-xs-icon-size)) / 2);
|
|
1323
|
+
--semantics-buttons-sm-inline-padding: calc((var(--semantics-controls-sm-min-size) - var(--semantics-buttons-sm-icon-size)) / 2);
|
|
1324
|
+
--semantics-buttons-md-inline-padding: calc((var(--semantics-controls-md-min-size) - var(--semantics-buttons-md-icon-size)) / 2);
|
|
1325
|
+
--semantics-buttons-lg-inline-padding: calc((var(--semantics-controls-lg-min-size) - var(--semantics-buttons-lg-icon-size)) / 2);
|
|
1326
|
+
|
|
1327
|
+
--semantics-buttons-xs-has-supporting-text-inline-padding: calc((var(--semantics-controls-xs-min-size) - var(--semantics-buttons-xs-has-supporting-text-icon-size)) / 2);
|
|
1328
|
+
--semantics-buttons-sm-has-supporting-text-inline-padding: calc((var(--semantics-controls-sm-min-size) - var(--semantics-buttons-sm-has-supporting-text-icon-size)) / 2);
|
|
1329
|
+
--semantics-buttons-md-has-supporting-text-inline-padding: calc((var(--semantics-controls-md-min-size) - var(--semantics-buttons-md-has-supporting-text-icon-size)) / 2);
|
|
1330
|
+
--semantics-buttons-lg-has-supporting-text-inline-padding: calc((var(--semantics-controls-lg-min-size) - var(--semantics-buttons-lg-has-supporting-text-icon-size)) / 2);
|
|
1331
|
+
|
|
1332
|
+
--semantics-buttons-xs-is-icon-only-inline-padding: calc((var(--semantics-controls-xs-min-size) - var(--semantics-buttons-xs-is-icon-only-icon-size)) / 2);
|
|
1333
|
+
--semantics-buttons-sm-is-icon-only-inline-padding: calc((var(--semantics-controls-sm-min-size) - var(--semantics-buttons-sm-is-icon-only-icon-size)) / 2);
|
|
1334
|
+
--semantics-buttons-md-is-icon-only-inline-padding: calc((var(--semantics-controls-md-min-size) - var(--semantics-buttons-md-is-icon-only-icon-size)) / 2);
|
|
1335
|
+
--semantics-buttons-lg-is-icon-only-inline-padding: calc((var(--semantics-controls-lg-min-size) - var(--semantics-buttons-lg-is-icon-only-icon-size)) / 2);
|
|
1322
1336
|
|
|
1323
1337
|
--semantics-buttons-neutral-base-background-color: var(--semantics-surfaces-base-background-color);
|
|
1324
1338
|
--semantics-buttons-neutral-base-primary-content-color: light-dark(var(--primitives-color-neutral-900), var(--primitives-color-neutral-900));
|
|
@@ -1717,7 +1731,8 @@
|
|
|
1717
1731
|
|
|
1718
1732
|
/* ## Image */
|
|
1719
1733
|
|
|
1720
|
-
--components-image-corner-radius: var(--
|
|
1734
|
+
--components-image-corner-radius: var(--primitives-corner-radius-none);
|
|
1735
|
+
--components-image-rounded-corner-radius: var(--semantics-controls-md-corner-radius);
|
|
1721
1736
|
--components-image-background-color: light-dark(var(--primitives-color-neutral-75), var(--primitives-color-neutral-50));
|
|
1722
1737
|
--components-image-error-text-color: var(--semantics-content-color);
|
|
1723
1738
|
--components-image-error-font: var(--primitives-font-body-sm-regular-snug);
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { EditorView } from '@codemirror/view';
|
|
3
|
+
import { type Compartment, type Extension } from '@codemirror/state';
|
|
4
|
+
/**
|
|
5
|
+
* Shared base for design-system editors built on CodeMirror 6
|
|
6
|
+
* (nldd-code-editor, nldd-code-viewer, nldd-text-editor).
|
|
7
|
+
*
|
|
8
|
+
* It owns the EditorView lifecycle, mounts the view inside the component's
|
|
9
|
+
* shadow root (so CodeMirror's generated styles and selection stay scoped),
|
|
10
|
+
* and offers small helpers for document and compartment updates. Subclasses
|
|
11
|
+
* provide the parent element and the extension set; everything component
|
|
12
|
+
* specific (form association, public attributes, events) lives there.
|
|
13
|
+
*/
|
|
14
|
+
export declare abstract class NLDDCodeMirrorElement extends LitElement {
|
|
15
|
+
protected view?: EditorView;
|
|
16
|
+
/** True once the view has been mounted at least once — drives re-mount on reconnect. */
|
|
17
|
+
private _hasMounted;
|
|
18
|
+
/** Document captured on disconnect so a re-mount restores the live content. */
|
|
19
|
+
private _preservedDoc?;
|
|
20
|
+
/** The shadow-DOM element the EditorView mounts into. */
|
|
21
|
+
protected abstract getEditorParent(): HTMLElement | null | undefined;
|
|
22
|
+
/** The full extension set for the initial EditorState. */
|
|
23
|
+
protected abstract buildExtensions(): Extension[];
|
|
24
|
+
/** Current document text, or '' before the view exists. */
|
|
25
|
+
protected get doc(): string;
|
|
26
|
+
protected mountEditor(initialDoc: string): void;
|
|
27
|
+
/**
|
|
28
|
+
* Per-mount setup hook, called right after the view is created — on the
|
|
29
|
+
* initial mount (from the subclass `firstUpdated`) and on every re-mount
|
|
30
|
+
* after a detach/reattach. Subclasses (re)attach observers, DOM listeners
|
|
31
|
+
* and language grammars here so they survive being moved in the DOM.
|
|
32
|
+
* Default: no-op.
|
|
33
|
+
*/
|
|
34
|
+
protected onEditorMounted(): void;
|
|
35
|
+
/**
|
|
36
|
+
* The document to seed the view with on a re-mount after a detach/reattach.
|
|
37
|
+
* Defaults to the document captured on disconnect — correct for editors,
|
|
38
|
+
* whose live view is the source of truth. A subclass whose source of truth
|
|
39
|
+
* lives elsewhere (e.g. the viewer, backed by its slot) overrides this to
|
|
40
|
+
* return that live text so a reattach with changed content isn't stale.
|
|
41
|
+
*/
|
|
42
|
+
protected getRemountDoc(): string;
|
|
43
|
+
protected destroyEditor(): void;
|
|
44
|
+
/** Replace the whole document (used by the `value` property setter). */
|
|
45
|
+
protected setDoc(text: string): void;
|
|
46
|
+
/** Swap a single compartment at runtime (language, readonly, wrap, …). */
|
|
47
|
+
protected reconfigure(compartment: Compartment, extension: Extension): void;
|
|
48
|
+
/**
|
|
49
|
+
* Focus the editor itself, not the host. delegatesFocus handles a click or tab
|
|
50
|
+
* into the host, but a programmatic host.focus() is routed straight to
|
|
51
|
+
* CodeMirror here, whose contenteditable delegatesFocus does not reliably
|
|
52
|
+
* target.
|
|
53
|
+
*/
|
|
54
|
+
focus(): void;
|
|
55
|
+
/**
|
|
56
|
+
* Focus the editor and place the caret on the line nearest a viewport point.
|
|
57
|
+
* Lets a wrapping composition forward clicks from its own padding —
|
|
58
|
+
* `editor.focusFromPoint(event.clientX, event.clientY)` — so a layout
|
|
59
|
+
* container can own the surrounding space without the editor knowing about
|
|
60
|
+
* it. No-op on a non-editable view.
|
|
61
|
+
*/
|
|
62
|
+
focusFromPoint(x: number, y: number): void;
|
|
63
|
+
connectedCallback(): void;
|
|
64
|
+
disconnectedCallback(): void;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=codemirror-element.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codemirror-element.d.ts","sourceRoot":"","sources":["../../../src/utilities/codemirror/codemirror-element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAe,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAElF;;;;;;;;;GASG;AACH,8BAAsB,qBAAsB,SAAQ,UAAU;IAC7D,SAAS,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC;IAE5B,wFAAwF;IACxF,OAAO,CAAC,WAAW,CAAS;IAE5B,+EAA+E;IAC/E,OAAO,CAAC,aAAa,CAAC,CAAS;IAE/B,yDAAyD;IACzD,SAAS,CAAC,QAAQ,CAAC,eAAe,IAAI,WAAW,GAAG,IAAI,GAAG,SAAS;IAEpE,0DAA0D;IAC1D,SAAS,CAAC,QAAQ,CAAC,eAAe,IAAI,SAAS,EAAE;IAEjD,2DAA2D;IAC3D,SAAS,KAAK,GAAG,IAAI,MAAM,CAE1B;IAED,SAAS,CAAC,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAa/C;;;;;;OAMG;IACH,SAAS,CAAC,eAAe,IAAI,IAAI;IAEjC;;;;;;OAMG;IACH,SAAS,CAAC,aAAa,IAAI,MAAM;IAIjC,SAAS,CAAC,aAAa,IAAI,IAAI;IAK/B,wEAAwE;IACxE,SAAS,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAMpC,0EAA0E;IAC1E,SAAS,CAAC,WAAW,CAAC,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,GAAG,IAAI;IAI3E;;;;;OAKG;IACM,KAAK,IAAI,IAAI;IAItB;;;;;;OAMG;IACH,cAAc,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI;IAajC,iBAAiB,IAAI,IAAI;IAYzB,oBAAoB,IAAI,IAAI;CAOrC"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { EditorView } from '@codemirror/view';
|
|
3
|
+
import { EditorState } from '@codemirror/state';
|
|
4
|
+
/**
|
|
5
|
+
* Shared base for design-system editors built on CodeMirror 6
|
|
6
|
+
* (nldd-code-editor, nldd-code-viewer, nldd-text-editor).
|
|
7
|
+
*
|
|
8
|
+
* It owns the EditorView lifecycle, mounts the view inside the component's
|
|
9
|
+
* shadow root (so CodeMirror's generated styles and selection stay scoped),
|
|
10
|
+
* and offers small helpers for document and compartment updates. Subclasses
|
|
11
|
+
* provide the parent element and the extension set; everything component
|
|
12
|
+
* specific (form association, public attributes, events) lives there.
|
|
13
|
+
*/
|
|
14
|
+
export class NLDDCodeMirrorElement extends LitElement {
|
|
15
|
+
constructor() {
|
|
16
|
+
super(...arguments);
|
|
17
|
+
/** True once the view has been mounted at least once — drives re-mount on reconnect. */
|
|
18
|
+
this._hasMounted = false;
|
|
19
|
+
}
|
|
20
|
+
/** Current document text, or '' before the view exists. */
|
|
21
|
+
get doc() {
|
|
22
|
+
return this.view ? this.view.state.doc.toString() : '';
|
|
23
|
+
}
|
|
24
|
+
mountEditor(initialDoc) {
|
|
25
|
+
const parent = this.getEditorParent();
|
|
26
|
+
if (!parent || this.view)
|
|
27
|
+
return;
|
|
28
|
+
this.view = new EditorView({
|
|
29
|
+
state: EditorState.create({ doc: initialDoc, extensions: this.buildExtensions() }),
|
|
30
|
+
parent,
|
|
31
|
+
// Mount in the shadow root so getSelection()/focus stay scoped and
|
|
32
|
+
// CodeMirror's StyleModule injects into this root, not the document.
|
|
33
|
+
root: this.shadowRoot ?? undefined,
|
|
34
|
+
});
|
|
35
|
+
this._hasMounted = true;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Per-mount setup hook, called right after the view is created — on the
|
|
39
|
+
* initial mount (from the subclass `firstUpdated`) and on every re-mount
|
|
40
|
+
* after a detach/reattach. Subclasses (re)attach observers, DOM listeners
|
|
41
|
+
* and language grammars here so they survive being moved in the DOM.
|
|
42
|
+
* Default: no-op.
|
|
43
|
+
*/
|
|
44
|
+
onEditorMounted() { }
|
|
45
|
+
/**
|
|
46
|
+
* The document to seed the view with on a re-mount after a detach/reattach.
|
|
47
|
+
* Defaults to the document captured on disconnect — correct for editors,
|
|
48
|
+
* whose live view is the source of truth. A subclass whose source of truth
|
|
49
|
+
* lives elsewhere (e.g. the viewer, backed by its slot) overrides this to
|
|
50
|
+
* return that live text so a reattach with changed content isn't stale.
|
|
51
|
+
*/
|
|
52
|
+
getRemountDoc() {
|
|
53
|
+
return this._preservedDoc ?? '';
|
|
54
|
+
}
|
|
55
|
+
destroyEditor() {
|
|
56
|
+
this.view?.destroy();
|
|
57
|
+
this.view = undefined;
|
|
58
|
+
}
|
|
59
|
+
/** Replace the whole document (used by the `value` property setter). */
|
|
60
|
+
setDoc(text) {
|
|
61
|
+
const view = this.view;
|
|
62
|
+
if (!view || view.state.doc.toString() === text)
|
|
63
|
+
return;
|
|
64
|
+
view.dispatch({ changes: { from: 0, to: view.state.doc.length, insert: text } });
|
|
65
|
+
}
|
|
66
|
+
/** Swap a single compartment at runtime (language, readonly, wrap, …). */
|
|
67
|
+
reconfigure(compartment, extension) {
|
|
68
|
+
this.view?.dispatch({ effects: compartment.reconfigure(extension) });
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Focus the editor itself, not the host. delegatesFocus handles a click or tab
|
|
72
|
+
* into the host, but a programmatic host.focus() is routed straight to
|
|
73
|
+
* CodeMirror here, whose contenteditable delegatesFocus does not reliably
|
|
74
|
+
* target.
|
|
75
|
+
*/
|
|
76
|
+
focus() {
|
|
77
|
+
this.view?.focus();
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Focus the editor and place the caret on the line nearest a viewport point.
|
|
81
|
+
* Lets a wrapping composition forward clicks from its own padding —
|
|
82
|
+
* `editor.focusFromPoint(event.clientX, event.clientY)` — so a layout
|
|
83
|
+
* container can own the surrounding space without the editor knowing about
|
|
84
|
+
* it. No-op on a non-editable view.
|
|
85
|
+
*/
|
|
86
|
+
focusFromPoint(x, y) {
|
|
87
|
+
const view = this.view;
|
|
88
|
+
if (!view)
|
|
89
|
+
return;
|
|
90
|
+
// No caret to move on a read-only/disabled view — a direct call is a
|
|
91
|
+
// genuine no-op (matches this comment; also covers the read-only viewer
|
|
92
|
+
// and text-editor). Callers that forward padding clicks already guard on
|
|
93
|
+
// state.readOnly, but a bare focusFromPoint() must not move the caret.
|
|
94
|
+
if (view.state.readOnly)
|
|
95
|
+
return;
|
|
96
|
+
const pos = view.posAtCoords({ x, y }, false) ?? view.state.doc.length;
|
|
97
|
+
view.dispatch({ selection: { anchor: pos } });
|
|
98
|
+
view.focus();
|
|
99
|
+
}
|
|
100
|
+
connectedCallback() {
|
|
101
|
+
super.connectedCallback();
|
|
102
|
+
// A detach/reattach — Vue <KeepAlive>, a moved subtree, a <details> toggle —
|
|
103
|
+
// runs disconnectedCallback (which destroyed the view) without re-running
|
|
104
|
+
// Lit's one-shot firstUpdated. Rebuild the view from the preserved document
|
|
105
|
+
// so the editor comes back populated instead of blank until a page reload.
|
|
106
|
+
if (this._hasMounted && !this.view) {
|
|
107
|
+
this.mountEditor(this.getRemountDoc());
|
|
108
|
+
if (this.view)
|
|
109
|
+
this.onEditorMounted();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
disconnectedCallback() {
|
|
113
|
+
super.disconnectedCallback();
|
|
114
|
+
// Capture the live document before the view is torn down so a later
|
|
115
|
+
// re-mount (see connectedCallback) restores exactly what was on screen.
|
|
116
|
+
if (this.view)
|
|
117
|
+
this._preservedDoc = this.doc;
|
|
118
|
+
this.destroyEditor();
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
//# sourceMappingURL=codemirror-element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codemirror-element.js","sourceRoot":"","sources":["../../../src/utilities/codemirror/codemirror-element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAoC,MAAM,mBAAmB,CAAC;AAElF;;;;;;;;;GASG;AACH,MAAM,OAAgB,qBAAsB,SAAQ,UAAU;IAA9D;;QAGC,wFAAwF;QAChF,gBAAW,GAAG,KAAK,CAAC;IAmH7B,CAAC;IAxGA,2DAA2D;IAC3D,IAAc,GAAG;QAChB,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACxD,CAAC;IAES,WAAW,CAAC,UAAkB;QACvC,MAAM,MAAM,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;QACtC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,IAAI;YAAE,OAAO;QACjC,IAAI,CAAC,IAAI,GAAG,IAAI,UAAU,CAAC;YAC1B,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,UAAU,EAA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