@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
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { LanguageSupport, StreamLanguage } from '@codemirror/language';
|
|
2
|
+
const loaders = {
|
|
3
|
+
json: async () => (await import('@codemirror/lang-json')).json(),
|
|
4
|
+
yaml: async () => (await import('@codemirror/lang-yaml')).yaml(),
|
|
5
|
+
javascript: async () => (await import('@codemirror/lang-javascript')).javascript(),
|
|
6
|
+
typescript: async () => (await import('@codemirror/lang-javascript')).javascript({ typescript: true }),
|
|
7
|
+
css: async () => (await import('@codemirror/lang-css')).css(),
|
|
8
|
+
html: async () => (await import('@codemirror/lang-html')).html(),
|
|
9
|
+
xml: async () => (await import('@codemirror/lang-xml')).xml(),
|
|
10
|
+
python: async () => (await import('@codemirror/lang-python')).python(),
|
|
11
|
+
rust: async () => (await import('@codemirror/lang-rust')).rust(),
|
|
12
|
+
sql: async () => (await import('@codemirror/lang-sql')).sql(),
|
|
13
|
+
markdown: async () => (await import('@codemirror/lang-markdown')).markdown(),
|
|
14
|
+
// No official lang-* package — wrap the legacy StreamLanguage modes.
|
|
15
|
+
bash: async () => new LanguageSupport(StreamLanguage.define((await import('@codemirror/legacy-modes/mode/shell')).shell)),
|
|
16
|
+
toml: async () => new LanguageSupport(StreamLanguage.define((await import('@codemirror/legacy-modes/mode/toml')).toml)),
|
|
17
|
+
gherkin: async () => new LanguageSupport(StreamLanguage.define((await import('@codemirror/legacy-modes/mode/gherkin')).gherkin)),
|
|
18
|
+
};
|
|
19
|
+
const cache = new Map();
|
|
20
|
+
export function isLanguageSupported(name) {
|
|
21
|
+
return Object.prototype.hasOwnProperty.call(loaders, name);
|
|
22
|
+
}
|
|
23
|
+
export function loadLanguage(name) {
|
|
24
|
+
const loader = loaders[name];
|
|
25
|
+
if (!loader)
|
|
26
|
+
return undefined;
|
|
27
|
+
let pending = cache.get(name);
|
|
28
|
+
if (!pending) {
|
|
29
|
+
// Drop the cache entry on failure so a later attempt can retry
|
|
30
|
+
// (e.g. a transient chunk-load failure on a flaky network).
|
|
31
|
+
pending = loader().catch((err) => {
|
|
32
|
+
cache.delete(name);
|
|
33
|
+
throw err;
|
|
34
|
+
});
|
|
35
|
+
cache.set(name, pending);
|
|
36
|
+
}
|
|
37
|
+
return pending;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=languages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"languages.js","sourceRoot":"","sources":["../../../src/utilities/codemirror/languages.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/utilities/codemirror/theme.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAkFnD,8EAA8E;AAC9E,eAAO,MAAM,mBAAmB,EAAE,SAA2D,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { EditorView } from '@codemirror/view';
|
|
2
|
+
import { HighlightStyle, syntaxHighlighting } from '@codemirror/language';
|
|
3
|
+
import { tags as t } from '@lezer/highlight';
|
|
4
|
+
/* CodeMirror's generated theme styles mount into the same root as the view
|
|
5
|
+
* (the component's shadow root). CSS custom properties inherit across the
|
|
6
|
+
* shadow boundary, so every var(--…) below resolves against settings.css and
|
|
7
|
+
* adapts to light/dark mode automatically. Background and padding are left to
|
|
8
|
+
* the host component (the box/simple variant owns the framing). */
|
|
9
|
+
const baseTheme = EditorView.theme({
|
|
10
|
+
'&': {
|
|
11
|
+
height: '100%',
|
|
12
|
+
color: 'var(--semantics-content-color)',
|
|
13
|
+
backgroundColor: 'transparent',
|
|
14
|
+
},
|
|
15
|
+
'&.cm-focused': {
|
|
16
|
+
// The focus ring lives on the host (.code-editor:focus-within).
|
|
17
|
+
outline: 'none',
|
|
18
|
+
},
|
|
19
|
+
'.cm-scroller': {
|
|
20
|
+
fontFamily: 'inherit',
|
|
21
|
+
lineHeight: 'inherit',
|
|
22
|
+
overflow: 'auto',
|
|
23
|
+
},
|
|
24
|
+
'.cm-content': {
|
|
25
|
+
padding: '0',
|
|
26
|
+
caretColor: 'var(--semantics-content-color)',
|
|
27
|
+
},
|
|
28
|
+
'.cm-line': {
|
|
29
|
+
padding: '0',
|
|
30
|
+
},
|
|
31
|
+
'.cm-cursor, .cm-dropCursor': {
|
|
32
|
+
borderLeftColor: 'var(--semantics-content-color)',
|
|
33
|
+
},
|
|
34
|
+
'.cm-placeholder': {
|
|
35
|
+
color: 'var(--semantics-input-fields-placeholder-color)',
|
|
36
|
+
},
|
|
37
|
+
// A solid selection colour. accent-150/250 are themselves light-dark; the
|
|
38
|
+
// outer light-dark() picks the lighter step in light mode and the darker step
|
|
39
|
+
// in dark mode (the accent scale inverts), keeping the selection subtle.
|
|
40
|
+
// The focused selector matches CodeMirror's own deep one so our colour wins on
|
|
41
|
+
// equal specificity — otherwise CM's light base theme paints the focused
|
|
42
|
+
// selection lavender, unreadable on a dark surface.
|
|
43
|
+
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
|
|
44
|
+
backgroundColor: 'light-dark(var(--primitives-color-accent-150), var(--primitives-color-accent-250))',
|
|
45
|
+
},
|
|
46
|
+
'.cm-gutters': {
|
|
47
|
+
border: 'none',
|
|
48
|
+
backgroundColor: 'transparent',
|
|
49
|
+
color: 'var(--semantics-input-fields-placeholder-color)',
|
|
50
|
+
},
|
|
51
|
+
// Breathing room between the line-number gutter and the code (VS Code-like).
|
|
52
|
+
'.cm-lineNumbers .cm-gutterElement': {
|
|
53
|
+
padding: '0 var(--primitives-space-16) 0 var(--primitives-space-8)',
|
|
54
|
+
},
|
|
55
|
+
'.cm-activeLine, .cm-activeLineGutter': {
|
|
56
|
+
backgroundColor: 'transparent',
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
/* Token colors reuse the existing code-viewer palette so the editor and the
|
|
60
|
+
* read-only viewer highlight identically with one source of truth. */
|
|
61
|
+
const highlightStyle = HighlightStyle.define([
|
|
62
|
+
{ tag: [t.comment, t.lineComment, t.blockComment, t.docComment], color: 'var(--components-code-viewer-token-comment-color)', fontStyle: 'italic' },
|
|
63
|
+
{ tag: [t.keyword, t.modifier, t.controlKeyword, t.operatorKeyword], color: 'var(--components-code-viewer-token-keyword-color)' },
|
|
64
|
+
{ tag: [t.string, t.special(t.string), t.character], color: 'var(--components-code-viewer-token-string-color)' },
|
|
65
|
+
{ tag: [t.number, t.integer, t.float], color: 'var(--components-code-viewer-token-number-color)' },
|
|
66
|
+
{ tag: t.bool, color: 'var(--components-code-viewer-token-boolean-color)' },
|
|
67
|
+
{ tag: t.null, color: 'var(--components-code-viewer-token-null-color)' },
|
|
68
|
+
{ tag: [t.function(t.variableName), t.function(t.propertyName)], color: 'var(--components-code-viewer-token-function-color)' },
|
|
69
|
+
{ tag: [t.className, t.typeName, t.namespace], color: 'var(--components-code-viewer-token-class-color)' },
|
|
70
|
+
{ tag: [t.propertyName, t.attributeName], color: 'var(--components-code-viewer-token-property-color)' },
|
|
71
|
+
{ tag: [t.punctuation, t.separator, t.bracket], color: 'var(--components-code-viewer-token-punctuation-color)' },
|
|
72
|
+
{ tag: t.operator, color: 'var(--components-code-viewer-token-operator-color)' },
|
|
73
|
+
{ tag: t.tagName, color: 'var(--components-code-viewer-token-tag-color)' },
|
|
74
|
+
{ tag: t.attributeValue, color: 'var(--components-code-viewer-token-attr-value-color)' },
|
|
75
|
+
{ tag: t.variableName, color: 'var(--components-code-viewer-token-variable-color)' },
|
|
76
|
+
{ tag: [t.constant(t.variableName), t.standard(t.variableName)], color: 'var(--components-code-viewer-token-constant-color)' },
|
|
77
|
+
{ tag: t.regexp, color: 'var(--components-code-viewer-token-regex-color)' },
|
|
78
|
+
{ tag: t.url, color: 'var(--components-code-viewer-token-url-color)' },
|
|
79
|
+
{ tag: t.strong, fontWeight: 'bold' },
|
|
80
|
+
{ tag: t.emphasis, fontStyle: 'italic' },
|
|
81
|
+
]);
|
|
82
|
+
/** Theme + syntax highlighting as one extension, shared by all DS editors. */
|
|
83
|
+
export const nlddCodeMirrorTheme = [baseTheme, syntaxHighlighting(highlightStyle)];
|
|
84
|
+
//# sourceMappingURL=theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/utilities/codemirror/theme.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* True when a bubbling `dismiss` event originates from an `nldd-top-title-bar`'s
|
|
3
|
+
* close button.
|
|
4
|
+
*
|
|
5
|
+
* Overlay containers (`nldd-sheet`, `nldd-window`) listen for bubbling `dismiss`
|
|
6
|
+
* events to close themselves. But nested components fire their own `dismiss` for
|
|
7
|
+
* their own element — an `nldd-token`'s remove button, an `nldd-banner`, an
|
|
8
|
+
* `nldd-document-tab-bar` — and those must NOT close the container. Only the
|
|
9
|
+
* container's own top-title-bar dismiss should. This shared check keeps that rule
|
|
10
|
+
* identical across every overlay container.
|
|
11
|
+
*
|
|
12
|
+
* Limitation: it matches ANY nldd-top-title-bar in the composed path, not
|
|
13
|
+
* specifically the container's own. That is correct for today's one-title-bar-per
|
|
14
|
+
* -container usage; a nested composition with more than one title bar (a sheet
|
|
15
|
+
* inside a sheet, each with its own) would need the inner container to
|
|
16
|
+
* stopPropagation on its own dismiss so it doesn't also reach the outer one.
|
|
17
|
+
*/
|
|
18
|
+
export declare function isDismissFromTitleBar(e: Event): boolean;
|
|
19
|
+
//# sourceMappingURL=dismiss-from-title-bar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dismiss-from-title-bar.d.ts","sourceRoot":"","sources":["../../src/utilities/dismiss-from-title-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,KAAK,GAAG,OAAO,CAIvD"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* True when a bubbling `dismiss` event originates from an `nldd-top-title-bar`'s
|
|
3
|
+
* close button.
|
|
4
|
+
*
|
|
5
|
+
* Overlay containers (`nldd-sheet`, `nldd-window`) listen for bubbling `dismiss`
|
|
6
|
+
* events to close themselves. But nested components fire their own `dismiss` for
|
|
7
|
+
* their own element — an `nldd-token`'s remove button, an `nldd-banner`, an
|
|
8
|
+
* `nldd-document-tab-bar` — and those must NOT close the container. Only the
|
|
9
|
+
* container's own top-title-bar dismiss should. This shared check keeps that rule
|
|
10
|
+
* identical across every overlay container.
|
|
11
|
+
*
|
|
12
|
+
* Limitation: it matches ANY nldd-top-title-bar in the composed path, not
|
|
13
|
+
* specifically the container's own. That is correct for today's one-title-bar-per
|
|
14
|
+
* -container usage; a nested composition with more than one title bar (a sheet
|
|
15
|
+
* inside a sheet, each with its own) would need the inner container to
|
|
16
|
+
* stopPropagation on its own dismiss so it doesn't also reach the outer one.
|
|
17
|
+
*/
|
|
18
|
+
export function isDismissFromTitleBar(e) {
|
|
19
|
+
return e.composedPath().some((t) => t instanceof Element && t.tagName.toLowerCase() === 'nldd-top-title-bar');
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=dismiss-from-title-bar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dismiss-from-title-bar.js","sourceRoot":"","sources":["../../src/utilities/dismiss-from-title-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,qBAAqB,CAAC,CAAQ;IAC7C,OAAO,CAAC,CAAC,YAAY,EAAE,CAAC,IAAI,CAC3B,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,YAAY,OAAO,IAAI,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,oBAAoB,CAC/E,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ComplexAttributeConverter } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* A Lit attribute converter for a reflected enum property whose DEFAULT value
|
|
4
|
+
* should not appear in the DOM.
|
|
5
|
+
*
|
|
6
|
+
* It reflects any non-default value to the attribute (so `:host([prop="x"])`
|
|
7
|
+
* styling and framework property binding keep working), but maps the default to
|
|
8
|
+
* *no* attribute (`toAttribute` returns null), so the DOM isn't polluted with a
|
|
9
|
+
* redundant `prop="<default>"` on every instance.
|
|
10
|
+
*
|
|
11
|
+
* Pair it with `reflect: true`. The component's default styling must then live
|
|
12
|
+
* on the bare `:host` (not `:host([prop="<default>"])`), since a default-valued
|
|
13
|
+
* element carries no attribute to select on.
|
|
14
|
+
*
|
|
15
|
+
* Known edge: if markup writes the default *explicitly* (e.g. `<nldd-button
|
|
16
|
+
* size="md">`), `fromAttribute` resolves the property to the value it already
|
|
17
|
+
* holds, so Lit's default `hasChanged` sees no change, schedules no update, and
|
|
18
|
+
* `toAttribute` never runs to strip the attribute — so that one authored default
|
|
19
|
+
* attribute stays in the DOM. Visual behavior is unaffected (styling keys off the
|
|
20
|
+
* bare `:host`); it only matters to code matching `[prop="<default>"]`, which
|
|
21
|
+
* should read the property instead. Not worth a fragile `hasChanged` workaround.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* @property({ reflect: true, converter: reflectNonDefault<Size>('md') })
|
|
26
|
+
* size: Size = 'md';
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare function reflectNonDefault<T extends string>(defaultValue: T): ComplexAttributeConverter<T>;
|
|
30
|
+
//# sourceMappingURL=reflect-non-default.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reflect-non-default.d.ts","sourceRoot":"","sources":["../../src/utilities/reflect-non-default.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,KAAK,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAAE,YAAY,EAAE,CAAC,GAAG,yBAAyB,CAAC,CAAC,CAAC,CAKjG"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A Lit attribute converter for a reflected enum property whose DEFAULT value
|
|
3
|
+
* should not appear in the DOM.
|
|
4
|
+
*
|
|
5
|
+
* It reflects any non-default value to the attribute (so `:host([prop="x"])`
|
|
6
|
+
* styling and framework property binding keep working), but maps the default to
|
|
7
|
+
* *no* attribute (`toAttribute` returns null), so the DOM isn't polluted with a
|
|
8
|
+
* redundant `prop="<default>"` on every instance.
|
|
9
|
+
*
|
|
10
|
+
* Pair it with `reflect: true`. The component's default styling must then live
|
|
11
|
+
* on the bare `:host` (not `:host([prop="<default>"])`), since a default-valued
|
|
12
|
+
* element carries no attribute to select on.
|
|
13
|
+
*
|
|
14
|
+
* Known edge: if markup writes the default *explicitly* (e.g. `<nldd-button
|
|
15
|
+
* size="md">`), `fromAttribute` resolves the property to the value it already
|
|
16
|
+
* holds, so Lit's default `hasChanged` sees no change, schedules no update, and
|
|
17
|
+
* `toAttribute` never runs to strip the attribute — so that one authored default
|
|
18
|
+
* attribute stays in the DOM. Visual behavior is unaffected (styling keys off the
|
|
19
|
+
* bare `:host`); it only matters to code matching `[prop="<default>"]`, which
|
|
20
|
+
* should read the property instead. Not worth a fragile `hasChanged` workaround.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* @property({ reflect: true, converter: reflectNonDefault<Size>('md') })
|
|
25
|
+
* size: Size = 'md';
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export function reflectNonDefault(defaultValue) {
|
|
29
|
+
return {
|
|
30
|
+
fromAttribute: (value) => (value === null ? defaultValue : value),
|
|
31
|
+
toAttribute: (value) => (value === defaultValue ? null : value),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=reflect-non-default.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reflect-non-default.js","sourceRoot":"","sources":["../../src/utilities/reflect-non-default.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,UAAU,iBAAiB,CAAmB,YAAe;IAClE,OAAO;QACN,aAAa,EAAE,CAAC,KAAoB,EAAK,EAAE,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAE,KAAW,CAAC;QAC1F,WAAW,EAAE,CAAC,KAAQ,EAAiB,EAAE,CAAC,CAAC,KAAK,KAAK,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;KACjF,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nldd/design-system",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.65",
|
|
4
4
|
"description": "Design System voor Nederlandse Digitale Dienst",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/components/components.js",
|
|
@@ -35,6 +35,18 @@
|
|
|
35
35
|
"types": "./dist/components/actions/menu/menu.d.ts",
|
|
36
36
|
"default": "./dist/components/actions/menu/menu.js"
|
|
37
37
|
},
|
|
38
|
+
"./blockquote": {
|
|
39
|
+
"types": "./dist/components/content/blockquote/blockquote.d.ts",
|
|
40
|
+
"default": "./dist/components/content/blockquote/blockquote.js"
|
|
41
|
+
},
|
|
42
|
+
"./byline": {
|
|
43
|
+
"types": "./dist/components/content/byline/byline.d.ts",
|
|
44
|
+
"default": "./dist/components/content/byline/byline.js"
|
|
45
|
+
},
|
|
46
|
+
"./code-viewer": {
|
|
47
|
+
"types": "./dist/components/content/code-viewer/code-viewer.d.ts",
|
|
48
|
+
"default": "./dist/components/content/code-viewer/code-viewer.js"
|
|
49
|
+
},
|
|
38
50
|
"./icon": {
|
|
39
51
|
"types": "./dist/components/content/icon/icon.d.ts",
|
|
40
52
|
"default": "./dist/components/content/icon/icon.js"
|
|
@@ -43,38 +55,30 @@
|
|
|
43
55
|
"types": "./dist/components/content/image/image.d.ts",
|
|
44
56
|
"default": "./dist/components/content/image/image.js"
|
|
45
57
|
},
|
|
58
|
+
"./keyboard-shortcut": {
|
|
59
|
+
"types": "./dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts",
|
|
60
|
+
"default": "./dist/components/content/keyboard-shortcut/keyboard-shortcut.js"
|
|
61
|
+
},
|
|
46
62
|
"./rich-text": {
|
|
47
63
|
"types": "./dist/components/content/rich-text/rich-text.d.ts",
|
|
48
64
|
"default": "./dist/components/content/rich-text/rich-text.js"
|
|
49
65
|
},
|
|
66
|
+
"./tag": {
|
|
67
|
+
"types": "./dist/components/content/tag/tag.d.ts",
|
|
68
|
+
"default": "./dist/components/content/tag/tag.js"
|
|
69
|
+
},
|
|
50
70
|
"./title": {
|
|
51
71
|
"types": "./dist/components/content/title/title.d.ts",
|
|
52
72
|
"default": "./dist/components/content/title/title.js"
|
|
53
73
|
},
|
|
74
|
+
"./token": {
|
|
75
|
+
"types": "./dist/components/content/token/token.d.ts",
|
|
76
|
+
"default": "./dist/components/content/token/token.js"
|
|
77
|
+
},
|
|
54
78
|
"./tooltip": {
|
|
55
79
|
"types": "./dist/components/content/tooltip/tooltip.d.ts",
|
|
56
80
|
"default": "./dist/components/content/tooltip/tooltip.js"
|
|
57
81
|
},
|
|
58
|
-
"./blockquote": {
|
|
59
|
-
"types": "./dist/components/content/blockquote/blockquote.d.ts",
|
|
60
|
-
"default": "./dist/components/content/blockquote/blockquote.js"
|
|
61
|
-
},
|
|
62
|
-
"./tag": {
|
|
63
|
-
"types": "./dist/components/content/tag/tag.d.ts",
|
|
64
|
-
"default": "./dist/components/content/tag/tag.js"
|
|
65
|
-
},
|
|
66
|
-
"./keyboard-shortcut": {
|
|
67
|
-
"types": "./dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts",
|
|
68
|
-
"default": "./dist/components/content/keyboard-shortcut/keyboard-shortcut.js"
|
|
69
|
-
},
|
|
70
|
-
"./code-viewer": {
|
|
71
|
-
"types": "./dist/components/content/code-viewer/code-viewer.d.ts",
|
|
72
|
-
"default": "./dist/components/content/code-viewer/code-viewer.js"
|
|
73
|
-
},
|
|
74
|
-
"./byline": {
|
|
75
|
-
"types": "./dist/components/content/byline/byline.d.ts",
|
|
76
|
-
"default": "./dist/components/content/byline/byline.js"
|
|
77
|
-
},
|
|
78
82
|
"./form": {
|
|
79
83
|
"types": "./dist/components/forms/form/form.d.ts",
|
|
80
84
|
"default": "./dist/components/forms/form/form.js"
|
|
@@ -91,49 +95,37 @@
|
|
|
91
95
|
"types": "./dist/components/forms/form-section/form-section.d.ts",
|
|
92
96
|
"default": "./dist/components/forms/form-section/form-section.js"
|
|
93
97
|
},
|
|
94
|
-
"./
|
|
95
|
-
"types": "./dist/components/inputs/
|
|
96
|
-
"default": "./dist/components/inputs/
|
|
98
|
+
"./checkbox": {
|
|
99
|
+
"types": "./dist/components/inputs/checkbox/checkbox.d.ts",
|
|
100
|
+
"default": "./dist/components/inputs/checkbox/checkbox.js"
|
|
97
101
|
},
|
|
98
|
-
"./
|
|
99
|
-
"types": "./dist/components/inputs/
|
|
100
|
-
"default": "./dist/components/inputs/
|
|
102
|
+
"./checkbox-field": {
|
|
103
|
+
"types": "./dist/components/inputs/checkbox-field/checkbox-field.d.ts",
|
|
104
|
+
"default": "./dist/components/inputs/checkbox-field/checkbox-field.js"
|
|
101
105
|
},
|
|
102
106
|
"./code-editor": {
|
|
103
107
|
"types": "./dist/components/inputs/code-editor/code-editor.d.ts",
|
|
104
108
|
"default": "./dist/components/inputs/code-editor/code-editor.js"
|
|
105
109
|
},
|
|
106
|
-
"./
|
|
107
|
-
"types": "./dist/components/inputs/
|
|
108
|
-
"default": "./dist/components/inputs/
|
|
109
|
-
},
|
|
110
|
-
"./search-field": {
|
|
111
|
-
"types": "./dist/components/inputs/search-field/search-field.d.ts",
|
|
112
|
-
"default": "./dist/components/inputs/search-field/search-field.js"
|
|
113
|
-
},
|
|
114
|
-
"./number-field": {
|
|
115
|
-
"types": "./dist/components/inputs/number-field/number-field.d.ts",
|
|
116
|
-
"default": "./dist/components/inputs/number-field/number-field.js"
|
|
110
|
+
"./combo-box": {
|
|
111
|
+
"types": "./dist/components/inputs/combo-box/combo-box.d.ts",
|
|
112
|
+
"default": "./dist/components/inputs/combo-box/combo-box.js"
|
|
117
113
|
},
|
|
118
114
|
"./dropdown": {
|
|
119
115
|
"types": "./dist/components/inputs/dropdown/dropdown.d.ts",
|
|
120
116
|
"default": "./dist/components/inputs/dropdown/dropdown.js"
|
|
121
117
|
},
|
|
122
|
-
"./
|
|
123
|
-
"types": "./dist/components/inputs/
|
|
124
|
-
"default": "./dist/components/inputs/
|
|
125
|
-
},
|
|
126
|
-
"./stepper": {
|
|
127
|
-
"types": "./dist/components/inputs/stepper/stepper.d.ts",
|
|
128
|
-
"default": "./dist/components/inputs/stepper/stepper.js"
|
|
118
|
+
"./multi-line-text-field": {
|
|
119
|
+
"types": "./dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts",
|
|
120
|
+
"default": "./dist/components/inputs/multi-line-text-field/multi-line-text-field.js"
|
|
129
121
|
},
|
|
130
|
-
"./
|
|
131
|
-
"types": "./dist/components/inputs/
|
|
132
|
-
"default": "./dist/components/inputs/
|
|
122
|
+
"./number-field": {
|
|
123
|
+
"types": "./dist/components/inputs/number-field/number-field.d.ts",
|
|
124
|
+
"default": "./dist/components/inputs/number-field/number-field.js"
|
|
133
125
|
},
|
|
134
|
-
"./
|
|
135
|
-
"types": "./dist/components/inputs/
|
|
136
|
-
"default": "./dist/components/inputs/
|
|
126
|
+
"./password-field": {
|
|
127
|
+
"types": "./dist/components/inputs/password-field/password-field.d.ts",
|
|
128
|
+
"default": "./dist/components/inputs/password-field/password-field.js"
|
|
137
129
|
},
|
|
138
130
|
"./radio-button": {
|
|
139
131
|
"types": "./dist/components/inputs/radio-button/radio-button.d.ts",
|
|
@@ -147,6 +139,18 @@
|
|
|
147
139
|
"types": "./dist/components/inputs/radio-button-group/radio-button-group.d.ts",
|
|
148
140
|
"default": "./dist/components/inputs/radio-button-group/radio-button-group.js"
|
|
149
141
|
},
|
|
142
|
+
"./search-field": {
|
|
143
|
+
"types": "./dist/components/inputs/search-field/search-field.d.ts",
|
|
144
|
+
"default": "./dist/components/inputs/search-field/search-field.js"
|
|
145
|
+
},
|
|
146
|
+
"./segmented-control": {
|
|
147
|
+
"types": "./dist/components/inputs/segmented-control/segmented-control.d.ts",
|
|
148
|
+
"default": "./dist/components/inputs/segmented-control/segmented-control.js"
|
|
149
|
+
},
|
|
150
|
+
"./stepper": {
|
|
151
|
+
"types": "./dist/components/inputs/stepper/stepper.d.ts",
|
|
152
|
+
"default": "./dist/components/inputs/stepper/stepper.js"
|
|
153
|
+
},
|
|
150
154
|
"./switch": {
|
|
151
155
|
"types": "./dist/components/inputs/switch/switch.d.ts",
|
|
152
156
|
"default": "./dist/components/inputs/switch/switch.js"
|
|
@@ -155,9 +159,13 @@
|
|
|
155
159
|
"types": "./dist/components/inputs/switch-field/switch-field.d.ts",
|
|
156
160
|
"default": "./dist/components/inputs/switch-field/switch-field.js"
|
|
157
161
|
},
|
|
158
|
-
"./
|
|
159
|
-
"types": "./dist/components/inputs/
|
|
160
|
-
"default": "./dist/components/inputs/
|
|
162
|
+
"./text-editor": {
|
|
163
|
+
"types": "./dist/components/inputs/text-editor/text-editor.d.ts",
|
|
164
|
+
"default": "./dist/components/inputs/text-editor/text-editor.js"
|
|
165
|
+
},
|
|
166
|
+
"./text-field": {
|
|
167
|
+
"types": "./dist/components/inputs/text-field/text-field.d.ts",
|
|
168
|
+
"default": "./dist/components/inputs/text-field/text-field.js"
|
|
161
169
|
},
|
|
162
170
|
"./toggle-button": {
|
|
163
171
|
"types": "./dist/components/inputs/toggle-button/toggle-button.d.ts",
|
|
@@ -167,9 +175,9 @@
|
|
|
167
175
|
"types": "./dist/components/inputs/toggle-button-group/toggle-button-group.d.ts",
|
|
168
176
|
"default": "./dist/components/inputs/toggle-button-group/toggle-button-group.js"
|
|
169
177
|
},
|
|
170
|
-
"./token": {
|
|
171
|
-
"types": "./dist/components/inputs/token/token.d.ts",
|
|
172
|
-
"default": "./dist/components/inputs/token/token.js"
|
|
178
|
+
"./token-field": {
|
|
179
|
+
"types": "./dist/components/inputs/token-field/token-field.d.ts",
|
|
180
|
+
"default": "./dist/components/inputs/token-field/token-field.js"
|
|
173
181
|
},
|
|
174
182
|
"./app-view": {
|
|
175
183
|
"types": "./dist/components/layout/app-view/app-view.d.ts",
|
|
@@ -389,6 +397,7 @@
|
|
|
389
397
|
},
|
|
390
398
|
"./styles": "./dist/css/global.css",
|
|
391
399
|
"./styles/tokens": "./dist/css/settings.css",
|
|
400
|
+
"./styles/fouc": "./dist/css/fouc.css",
|
|
392
401
|
"./tokens": {
|
|
393
402
|
"types": "./dist/assets/styles/tokens.d.ts",
|
|
394
403
|
"default": "./dist/assets/styles/tokens.js"
|
|
@@ -407,7 +416,7 @@
|
|
|
407
416
|
},
|
|
408
417
|
"scripts": {
|
|
409
418
|
"build": "npm run build:styles && npm run validate:styles && npm run build:components",
|
|
410
|
-
"build:styles": "mkdir -p dist/css dist/fonts && cp src/assets/styles/settings.css dist/css/settings.css && cp src/assets/styles/reset.css dist/css/reset.css && cp src/assets/styles/palettes.generated.css dist/css/palettes.generated.css && cp src/components/content/rich-text/rich-text.css dist/css/rich-text.css && cp src/components/forms/form/form.css dist/css/form.css && cp src/components/forms/form-section/form-section.css dist/css/form-section.css && printf '@import \"./settings.css\";\\n@import \"./reset.css\";\\n@import \"./rich-text.css\";\\n@import \"./form-section.css\";\\n@import \"./form.css\";\\n' > dist/css/global.css && cp src/assets/fonts/*.woff2 dist/fonts/",
|
|
419
|
+
"build:styles": "mkdir -p dist/css dist/fonts && cp src/assets/styles/settings.css dist/css/settings.css && cp src/assets/styles/reset.css dist/css/reset.css && cp src/assets/styles/palettes.generated.css dist/css/palettes.generated.css && cp src/components/content/rich-text/rich-text.css dist/css/rich-text.css && cp src/components/forms/form/form.css dist/css/form.css && cp src/components/forms/form-section/form-section.css dist/css/form-section.css && cp src/assets/styles/fouc.css dist/css/fouc.css && printf '@import \"./settings.css\";\\n@import \"./reset.css\";\\n@import \"./rich-text.css\";\\n@import \"./form-section.css\";\\n@import \"./form.css\";\\n@import \"./fouc.css\";\\n' > dist/css/global.css && cp src/assets/fonts/*.woff2 dist/fonts/",
|
|
411
420
|
"generate:palettes": "node scripts/generate-palettes.js",
|
|
412
421
|
"generate:component-reference": "node scripts/generate-component-reference.js",
|
|
413
422
|
"generate:skill-changelog": "node scripts/generate-skill-changelog.js",
|
|
@@ -449,22 +458,21 @@
|
|
|
449
458
|
"@semantic-release/changelog": "^6.0.3",
|
|
450
459
|
"@semantic-release/exec": "^7.1.0",
|
|
451
460
|
"@semantic-release/git": "^10.0.1",
|
|
452
|
-
"@storybook/addon-a11y": "^10.4.
|
|
453
|
-
"@storybook/addon-docs": "^10.4.
|
|
454
|
-
"@storybook/addon-themes": "^10.4.
|
|
455
|
-
"@storybook/addon-vitest": "^10.4.
|
|
456
|
-
"@storybook/web-components-vite": "^10.4.
|
|
457
|
-
"@types/prismjs": "^1.26.6",
|
|
461
|
+
"@storybook/addon-a11y": "^10.4.6",
|
|
462
|
+
"@storybook/addon-docs": "^10.4.6",
|
|
463
|
+
"@storybook/addon-themes": "^10.4.6",
|
|
464
|
+
"@storybook/addon-vitest": "^10.4.6",
|
|
465
|
+
"@storybook/web-components-vite": "^10.4.6",
|
|
458
466
|
"@vitest/browser-playwright": "^4.0.16",
|
|
459
467
|
"@vitest/coverage-v8": "^4.0.16",
|
|
460
468
|
"conventional-changelog": "^7.2.0",
|
|
461
469
|
"eslint": "^9.17.0",
|
|
462
470
|
"eslint-plugin-lit-a11y": "^5.1.1",
|
|
463
|
-
"eslint-plugin-storybook": "^10.4.
|
|
471
|
+
"eslint-plugin-storybook": "^10.4.6",
|
|
464
472
|
"globals": "^15.14.0",
|
|
465
473
|
"playwright": "^1.57.0",
|
|
466
474
|
"semantic-release": "^25.0.2",
|
|
467
|
-
"storybook": "^10.4.
|
|
475
|
+
"storybook": "^10.4.6",
|
|
468
476
|
"typescript": "^5.3.0",
|
|
469
477
|
"typescript-eslint": "^8.58.0",
|
|
470
478
|
"vite": "^7.3.1",
|
|
@@ -481,9 +489,25 @@
|
|
|
481
489
|
],
|
|
482
490
|
"license": "EUPL-1.2",
|
|
483
491
|
"dependencies": {
|
|
492
|
+
"@codemirror/autocomplete": "^6.20.3",
|
|
493
|
+
"@codemirror/commands": "^6.10.4",
|
|
494
|
+
"@codemirror/lang-css": "^6.3.1",
|
|
495
|
+
"@codemirror/lang-html": "^6.4.11",
|
|
496
|
+
"@codemirror/lang-javascript": "^6.2.5",
|
|
497
|
+
"@codemirror/lang-json": "^6.0.2",
|
|
498
|
+
"@codemirror/lang-markdown": "^6.5.0",
|
|
499
|
+
"@codemirror/lang-python": "^6.2.1",
|
|
500
|
+
"@codemirror/lang-rust": "^6.0.2",
|
|
501
|
+
"@codemirror/lang-sql": "^6.10.0",
|
|
502
|
+
"@codemirror/lang-xml": "^6.1.0",
|
|
503
|
+
"@codemirror/lang-yaml": "^6.1.3",
|
|
504
|
+
"@codemirror/language": "^6.12.4",
|
|
505
|
+
"@codemirror/legacy-modes": "^6.5.3",
|
|
506
|
+
"@codemirror/state": "^6.7.0",
|
|
507
|
+
"@codemirror/view": "^6.43.4",
|
|
484
508
|
"@floating-ui/dom": "^1.7.6",
|
|
509
|
+
"@lezer/highlight": "^1.2.3",
|
|
485
510
|
"@rijkshuisstijl-community/font": "^1.1.2",
|
|
486
|
-
"lit": "^3.3.1"
|
|
487
|
-
"prismjs": "^1.30.0"
|
|
511
|
+
"lit": "^3.3.1"
|
|
488
512
|
}
|
|
489
513
|
}
|