@nldd/design-system 0.8.63 → 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/assets/styles/{slotted-reset.d.ts → style-resets.d.ts} +1 -1
- package/dist/assets/styles/style-resets.d.ts.map +1 -0
- package/dist/assets/styles/{slotted-reset.fixtures.d.ts → style-resets.fixtures.d.ts} +4 -4
- package/dist/assets/styles/style-resets.fixtures.d.ts.map +1 -0
- package/dist/assets/styles/{slotted-reset.fixtures.js → style-resets.fixtures.js} +4 -4
- package/dist/assets/styles/style-resets.fixtures.js.map +1 -0
- package/dist/assets/styles/{slotted-reset.js → style-resets.js} +1 -1
- package/dist/assets/styles/style-resets.js.map +1 -0
- 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 +16 -12
- 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-bar/button-bar.styles.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +3 -0
- package/dist/components/actions/button-bar/button-bar.styles.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/button-group/button-group.styles.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.js +3 -0
- package/dist/components/actions/button-group/button-group.styles.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 +19 -11
- 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 +12 -1
- 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/split-button/split-button.styles.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +4 -1
- package/dist/components/actions/split-button/split-button.styles.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 +7 -13
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/components.js +104 -101
- package/dist/components/content/blockquote/blockquote.styles.js +4 -4
- 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/byline/byline.styles.d.ts.map +1 -1
- package/dist/components/content/byline/byline.styles.js +4 -1
- package/dist/components/content/byline/byline.styles.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 +37 -93
- 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 +23 -2
- 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/icon/icon.styles.d.ts.map +1 -1
- package/dist/components/content/icon/icon.styles.js +3 -0
- package/dist/components/content/icon/icon.styles.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 +6 -7
- 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 +9 -2
- 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/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +4 -1
- package/dist/components/content/tag/tag.styles.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/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +4 -1
- package/dist/components/content/title/title.styles.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 +15 -1
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.js +3 -0
- package/dist/components/forms/form-actions/form-actions.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +4 -1
- package/dist/components/forms/form-field/form-field.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 +21 -18
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +21 -18
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +3 -0
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.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 +62 -47
- 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/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +4 -1
- package/dist/components/inputs/combo-box/combo-box.styles.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/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +4 -1
- package/dist/components/inputs/dropdown/dropdown.styles.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.js +12 -12
- 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/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +4 -1
- package/dist/components/inputs/number-field/number-field.styles.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/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +4 -1
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +3 -0
- package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.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/radio-button-group/radio-button-group.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.styles.js +4 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.styles.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/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +13 -1
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.js +47 -39
- package/dist/components/inputs/search-field/search-field.template.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 +74 -37
- 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/stepper/stepper.styles.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.styles.js +3 -0
- package/dist/components/inputs/stepper/stepper.styles.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/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +3 -0
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -1
- package/dist/components/inputs/switch-field/switch-field.styles.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/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +4 -1
- package/dist/components/inputs/text-field/text-field.styles.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 +18 -11
- 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/toggle-button-group/toggle-button-group.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js +3 -0
- package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.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/app-view/app-view.styles.d.ts.map +1 -1
- package/dist/components/layout/app-view/app-view.styles.js +3 -0
- package/dist/components/layout/app-view/app-view.styles.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 +4 -6
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +28 -2
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.i18n.d.ts +5 -0
- package/dist/components/layout/card/card.i18n.d.ts.map +1 -0
- package/dist/components/layout/card/card.i18n.js +4 -0
- package/dist/components/layout/card/card.i18n.js.map +1 -0
- package/dist/components/layout/card/card.js +54 -2
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +20 -0
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/card/card.template.d.ts.map +1 -1
- package/dist/components/layout/card/card.template.js +17 -1
- package/dist/components/layout/card/card.template.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +10 -5
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +21 -5
- 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 +23 -19
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +7 -3
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +15 -3
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/container/container.styles.d.ts.map +1 -1
- package/dist/components/layout/container/container.styles.js +42 -1
- package/dist/components/layout/container/container.styles.js.map +1 -1
- package/dist/components/layout/divider/divider.styles.d.ts.map +1 -1
- package/dist/components/layout/divider/divider.styles.js +3 -0
- package/dist/components/layout/divider/divider.styles.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +3 -0
- package/dist/components/layout/page/page.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-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +4 -1
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +3 -0
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +29 -25
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +64 -76
- 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 +28 -163
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.template.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.template.js +13 -1
- package/dist/components/layout/page-sections/hero/hero.template.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +3 -0
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +3 -0
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +119 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.i18n.d.ts +6 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.i18n.d.ts.map +1 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.i18n.js +5 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.i18n.js.map +1 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +219 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts +2 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +157 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts +4 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts.map +1 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +57 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js.map +1 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +3 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +3 -0
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +1 -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 +14 -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 +63 -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 +3 -1
- package/dist/components/layout/spacer/spacer.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +3 -0
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +47 -19
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +123 -73
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +17 -14
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +10 -8
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +3 -0
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.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.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +13 -10
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +3 -0
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +3 -0
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +1 -19
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +11 -188
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/layout/window/window.styles.d.ts.map +1 -1
- package/dist/components/layout/window/window.styles.js +5 -28
- package/dist/components/layout/window/window.styles.js.map +1 -1
- package/dist/components/layout/window/window.template.d.ts.map +1 -1
- package/dist/components/layout/window/window.template.js +1 -2
- package/dist/components/layout/window/window.template.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/cell/cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.styles.js +4 -1
- package/dist/components/lists-and-tables/cells/cell/cell.styles.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/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +4 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.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/drag-handle-cell/drag-handle-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js +3 -0
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.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/icon-cell/icon-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +3 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.js +3 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.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/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +4 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.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/timeline-track-cell/timeline-track-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +3 -0
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.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/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +4 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +138 -8
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.i18n.d.ts +2 -0
- package/dist/components/lists-and-tables/list/list.i18n.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.i18n.js +2 -0
- package/dist/components/lists-and-tables/list/list.i18n.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +373 -20
- 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 +164 -25
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.template.d.ts +26 -1
- package/dist/components/lists-and-tables/list/list.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.template.js +76 -18
- package/dist/components/lists-and-tables/list/list.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +20 -7
- 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 +51 -25
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +50 -28
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +9 -6
- package/dist/components/lists-and-tables/list-item/list-item.template.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/lists-and-tables/table/table.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +4 -1
- package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +0 -44
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.d.ts +0 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.js +0 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +3 -85
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +6 -52
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +1 -17
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.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/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +4 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.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/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +4 -1
- package/dist/components/navigation/link/link.styles.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/menu-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.js +4 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.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/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +4 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +4 -1
- package/dist/components/navigation/pagination/pagination.styles.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/skip-link/skip-link.styles.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +4 -1
- package/dist/components/navigation/skip-link/skip-link.styles.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 +78 -79
- 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 +5 -0
- 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 +24 -6
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +32 -16
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.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/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +4 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.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 +4 -2
- 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/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +4 -1
- package/dist/components/status-and-feedback/badge/badge.styles.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/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +4 -1
- package/dist/components/status-and-feedback/banner/banner.styles.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/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +4 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +6 -4
- 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 +40 -9
- 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 +16 -2
- 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/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +4 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.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 +4 -7
- 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 +4 -3
- 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/status-and-feedback/status-bar/status-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +4 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.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 +63 -5
- package/dist/css/settings.css +35 -13
- 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 +96 -68
- package/dist/assets/styles/slotted-reset.d.ts.map +0 -1
- package/dist/assets/styles/slotted-reset.fixtures.d.ts.map +0 -1
- package/dist/assets/styles/slotted-reset.fixtures.js.map +0 -1
- package/dist/assets/styles/slotted-reset.js.map +0 -1
- package/dist/components/index-BVaijKe_.js +0 -35785
- 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 -139
- 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-Tr_Ff1KJ.js +0 -99
- package/dist/components/prism-rust-CxUpjfK5.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-zaF4YQWN.js +0 -87
- package/dist/components/prism-yaml-DO0f9pf6.js +0 -71
- /package/dist/components/{inputs → content}/token/token.styles.d.ts +0 -0
|
@@ -7,54 +7,43 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
/**
|
|
8
8
|
* Nederlandse Digitale Dienst Code Viewer Component (Lit + TypeScript)
|
|
9
9
|
*
|
|
10
|
-
* A block of
|
|
11
|
-
*
|
|
12
|
-
* tinted background and standard content color.
|
|
10
|
+
* A read-only block of code/text built on a non-editable CodeMirror 6 view.
|
|
11
|
+
* Visually pairs with nldd-code-editor (same engine, same token palette).
|
|
13
12
|
*
|
|
14
|
-
* Whitespace is preserved
|
|
15
|
-
*
|
|
16
|
-
* next visual line — useful for prose-like content (YAML strings,
|
|
17
|
-
* formatted output) where horizontal scrolling is more disruptive
|
|
18
|
-
* than wrapping.
|
|
13
|
+
* Whitespace is preserved; long lines scroll horizontally by default. Set
|
|
14
|
+
* `wrap` to break long lines onto the next visual line.
|
|
19
15
|
*
|
|
20
16
|
* ## Syntax highlighting
|
|
21
17
|
* Set `language` to one of the supported grammars (yaml, json, javascript,
|
|
22
18
|
* typescript, css, html, xml, bash, markdown, rust, gherkin, toml, sql,
|
|
23
|
-
* python) to highlight the
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* page that never sets `language` ships zero grammar code.
|
|
19
|
+
* python) to highlight the content. Without `language` the content renders
|
|
20
|
+
* plain. Grammars are loaded lazily on first use, so a page that never sets
|
|
21
|
+
* `language` ships zero grammar code.
|
|
27
22
|
*
|
|
28
23
|
* ### Theming
|
|
29
|
-
* Token colors are
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* ```css
|
|
33
|
-
* nldd-code-viewer {
|
|
34
|
-
* --components-code-viewer-token-keyword-color: var(--my-purple);
|
|
35
|
-
* --components-code-viewer-token-string-color: var(--my-green);
|
|
36
|
-
* }
|
|
37
|
-
* ```
|
|
24
|
+
* Token colors are the `--components-code-viewer-token-*` custom properties
|
|
25
|
+
* (shared with the editor via the CodeMirror highlight style). Override them
|
|
26
|
+
* per-instance to swap the theme.
|
|
38
27
|
*
|
|
39
28
|
* @element nldd-code-viewer
|
|
40
29
|
*
|
|
41
30
|
* @attr {'simple'|'box'} variant - Visual style. `box` (default) is a framed
|
|
42
31
|
* card with rounded corners, padding, fill, and a 1px border ring. `simple`
|
|
43
|
-
* drops the entire frame
|
|
44
|
-
* when embedding inside a parent that supplies its own surface.
|
|
32
|
+
* drops the entire frame — use when embedding inside a parent surface.
|
|
45
33
|
* @attr {'tinted'|'base'} background - Surface fill when `variant="box"`.
|
|
46
|
-
*
|
|
47
|
-
* already-tinted parent (the border ring picks the +2-step semantic so the
|
|
48
|
-
* frame still reads against a card-on-card).
|
|
49
|
-
* @attr {string} language - Grammar to highlight with (yaml, json, javascript, typescript, css, html, xml, bash, markdown, rust, gherkin, toml, sql, python). Empty disables highlighting.
|
|
34
|
+
* @attr {string} language - Grammar to highlight with. Empty disables highlighting.
|
|
50
35
|
* @attr {boolean} no-copy - Hide the copy-to-clipboard button (shown by default).
|
|
51
36
|
* @attr {boolean} wrap - Wrap long lines instead of horizontal scroll
|
|
52
37
|
*
|
|
53
|
-
* @slot - Default slot for the code/text content
|
|
38
|
+
* @slot - Default slot for the code/text content (also the copy source)
|
|
54
39
|
*/
|
|
55
|
-
import { LitElement } from 'lit';
|
|
56
40
|
import { customElement, property, state } from 'lit/decorators.js';
|
|
57
|
-
import
|
|
41
|
+
import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
|
|
42
|
+
import { EditorView } from '@codemirror/view';
|
|
43
|
+
import { Compartment, EditorState } from '@codemirror/state';
|
|
44
|
+
import { NLDDCodeMirrorElement } from '../../../utilities/codemirror/codemirror-element.js';
|
|
45
|
+
import { nlddCodeMirrorTheme } from '../../../utilities/codemirror/theme.js';
|
|
46
|
+
import { loadLanguage } from '../../../utilities/codemirror/languages.js';
|
|
58
47
|
import { codeViewerStyles } from './code-viewer.styles.js';
|
|
59
48
|
import { codeViewerTemplate } from './code-viewer.template.js';
|
|
60
49
|
import { nlddCodeViewerTranslations } from './code-viewer.i18n.js';
|
|
@@ -62,48 +51,19 @@ import { onColorSchemeChange, forceScrollLayerRepaint } from '../../../utilities
|
|
|
62
51
|
import '../../actions/icon-button/icon-button.js';
|
|
63
52
|
import '../tooltip/tooltip.js';
|
|
64
53
|
const COPY_FEEDBACK_DURATION_MS = 2000;
|
|
65
|
-
/*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
typescript: () => import('prismjs/components/prism-typescript.js'),
|
|
74
|
-
css: () => import('prismjs/components/prism-css.js'),
|
|
75
|
-
html: () => import('prismjs/components/prism-markup.js'),
|
|
76
|
-
xml: () => import('prismjs/components/prism-markup.js'),
|
|
77
|
-
bash: () => import('prismjs/components/prism-bash.js'),
|
|
78
|
-
markdown: () => import('prismjs/components/prism-markdown.js'),
|
|
79
|
-
rust: () => import('prismjs/components/prism-rust.js'),
|
|
80
|
-
gherkin: () => import('prismjs/components/prism-gherkin.js'),
|
|
81
|
-
toml: () => import('prismjs/components/prism-toml.js'),
|
|
82
|
-
sql: () => import('prismjs/components/prism-sql.js'),
|
|
83
|
-
python: () => import('prismjs/components/prism-python.js'),
|
|
84
|
-
};
|
|
85
|
-
const grammarLoads = new Map();
|
|
86
|
-
function loadGrammar(language) {
|
|
87
|
-
const loader = GRAMMAR_LOADERS[language];
|
|
88
|
-
if (!loader)
|
|
89
|
-
return undefined;
|
|
90
|
-
let pending = grammarLoads.get(language);
|
|
91
|
-
if (!pending) {
|
|
92
|
-
// Drop the cache entry on failure so a subsequent attempt can retry
|
|
93
|
-
// the import (e.g. transient chunk-load failure on a flaky network).
|
|
94
|
-
pending = loader().catch((err) => {
|
|
95
|
-
grammarLoads.delete(language);
|
|
96
|
-
throw err;
|
|
97
|
-
});
|
|
98
|
-
grammarLoads.set(language, pending);
|
|
99
|
-
}
|
|
100
|
-
return pending;
|
|
54
|
+
/* navigator.clipboard is undefined off a secure context (not https/localhost),
|
|
55
|
+
* so the copy button would be a permanent dead button that only ever flashes
|
|
56
|
+
* "Kopiëren mislukt". Feature-detect and hide it when it genuinely can't work. */
|
|
57
|
+
function isClipboardAvailable() {
|
|
58
|
+
return typeof window !== 'undefined'
|
|
59
|
+
&& window.isSecureContext === true
|
|
60
|
+
&& typeof navigator !== 'undefined'
|
|
61
|
+
&& typeof navigator.clipboard?.writeText === 'function';
|
|
101
62
|
}
|
|
102
|
-
let NLDDCodeViewer = class NLDDCodeViewer extends
|
|
63
|
+
let NLDDCodeViewer = class NLDDCodeViewer extends NLDDCodeMirrorElement {
|
|
103
64
|
constructor() {
|
|
104
65
|
super(...arguments);
|
|
105
|
-
/** Visual style. `box` (default) is a framed card; `simple` drops the
|
|
106
|
-
* entire frame for embedding in a consumer-provided container. */
|
|
66
|
+
/** Visual style. `box` (default) is a framed card; `simple` drops the frame. */
|
|
107
67
|
this.variant = 'box';
|
|
108
68
|
/** Surface fill when `variant="box"`. */
|
|
109
69
|
this.background = 'tinted';
|
|
@@ -111,24 +71,66 @@ let NLDDCodeViewer = class NLDDCodeViewer extends LitElement {
|
|
|
111
71
|
/** Hide the copy-to-clipboard button (shown by default). */
|
|
112
72
|
this.noCopy = false;
|
|
113
73
|
this.wrap = false;
|
|
74
|
+
/* Reflects when the copy button is suppressed because the Clipboard API is
|
|
75
|
+
* unavailable (non-secure context), so the CSS can drop the reserved actions
|
|
76
|
+
* space just like it does for no-copy. Internal — not a public API. */
|
|
77
|
+
this._copyUnavailable = false;
|
|
114
78
|
/** Override one or more translation keys. Unspecified keys fall back to Dutch. */
|
|
115
79
|
this.translations = {};
|
|
116
|
-
this._highlightedHtml = '';
|
|
117
80
|
this._isScrollable = false;
|
|
118
81
|
this._copyState = 'idle';
|
|
119
|
-
this.
|
|
82
|
+
this._languageCompartment = new Compartment();
|
|
83
|
+
this._wrapCompartment = new Compartment();
|
|
84
|
+
this._languagePending = Promise.resolve();
|
|
85
|
+
}
|
|
86
|
+
/* The copy button only renders when the user hasn't opted out (no-copy) AND
|
|
87
|
+
* the Clipboard API can actually work here (secure context). Off https the
|
|
88
|
+
* button would be dead, so we hide it rather than flash a failure. */
|
|
89
|
+
get _canCopy() {
|
|
90
|
+
return !this.noCopy && isClipboardAvailable();
|
|
91
|
+
}
|
|
92
|
+
getEditorParent() {
|
|
93
|
+
return this.shadowRoot?.querySelector('.code-viewer');
|
|
94
|
+
}
|
|
95
|
+
buildExtensions() {
|
|
96
|
+
return [
|
|
97
|
+
nlddCodeMirrorTheme,
|
|
98
|
+
EditorView.editable.of(false),
|
|
99
|
+
EditorState.readOnly.of(true),
|
|
100
|
+
// CodeMirror puts role="textbox" on .cm-content regardless of the editable
|
|
101
|
+
// facet, so a display-only block would be announced as an editable field.
|
|
102
|
+
// Override it: this is readable content, not an input.
|
|
103
|
+
EditorView.contentAttributes.of({ role: 'document' }),
|
|
104
|
+
this._wrapCompartment.of(this.wrap ? EditorView.lineWrapping : []),
|
|
105
|
+
this._languageCompartment.of([]),
|
|
106
|
+
];
|
|
120
107
|
}
|
|
121
108
|
render() {
|
|
122
109
|
return codeViewerTemplate(this);
|
|
123
110
|
}
|
|
111
|
+
/* The viewer's content is non-editable, so the base focus() (which targets
|
|
112
|
+
* the .cm-content contenteditable) would land on an element that isn't the
|
|
113
|
+
* keyboard-tab target or the labelled region. Focus the scroller instead —
|
|
114
|
+
* the same .cm-scroller[role=region] a keyboard user tabs to and the SR
|
|
115
|
+
* announces — but only when it's actually scrollable (focusable); otherwise
|
|
116
|
+
* there's nothing to focus, so no-op. */
|
|
117
|
+
focus(options) {
|
|
118
|
+
const scroller = this.view?.scrollDOM;
|
|
119
|
+
if (this._isScrollable && scroller)
|
|
120
|
+
scroller.focus(options);
|
|
121
|
+
}
|
|
122
|
+
/* The viewer's source of truth is its slot, not the CodeMirror view. On a
|
|
123
|
+
* detach/reattach re-mount from the live slotted text so changed content
|
|
124
|
+
* (swapped while detached) shows, rather than the doc captured on disconnect. */
|
|
125
|
+
getRemountDoc() {
|
|
126
|
+
return this._getRawText();
|
|
127
|
+
}
|
|
124
128
|
connectedCallback() {
|
|
125
129
|
super.connectedCallback();
|
|
126
|
-
/*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
|
|
130
|
-
* paint. Drop the layer on each scheme change to repaint clean. */
|
|
131
|
-
this._unsubscribeScheme = onColorSchemeChange(() => this._repaintCodeBlock());
|
|
130
|
+
/* CodeMirror's scroller caches off-screen tiles; light-dark() colors
|
|
131
|
+
* don't reliably repaint on a color-scheme flip, so drop the layer on
|
|
132
|
+
* each scheme change to repaint clean. */
|
|
133
|
+
this._unsubscribeScheme = onColorSchemeChange(() => this._repaint());
|
|
132
134
|
}
|
|
133
135
|
disconnectedCallback() {
|
|
134
136
|
super.disconnectedCallback();
|
|
@@ -136,43 +138,167 @@ let NLDDCodeViewer = class NLDDCodeViewer extends LitElement {
|
|
|
136
138
|
this._unsubscribeScheme = undefined;
|
|
137
139
|
this._resizeObserver?.disconnect();
|
|
138
140
|
this._resizeObserver = undefined;
|
|
141
|
+
this._mutationObserver?.disconnect();
|
|
142
|
+
this._mutationObserver = undefined;
|
|
143
|
+
if (this._scrollableRaf !== undefined) {
|
|
144
|
+
cancelAnimationFrame(this._scrollableRaf);
|
|
145
|
+
this._scrollableRaf = undefined;
|
|
146
|
+
}
|
|
139
147
|
clearTimeout(this._copyResetTimer);
|
|
140
148
|
this._copyResetTimer = undefined;
|
|
141
149
|
}
|
|
142
150
|
firstUpdated() {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
this.
|
|
147
|
-
this.
|
|
148
|
-
this._updateScrollable(pre);
|
|
151
|
+
// Suppress the copy button up front where the Clipboard API can't work, so
|
|
152
|
+
// the reserved actions space is dropped on the first paint too.
|
|
153
|
+
this._copyUnavailable = !this.noCopy && !isClipboardAvailable();
|
|
154
|
+
this.mountEditor(this._getRawText());
|
|
155
|
+
this.onEditorMounted();
|
|
149
156
|
}
|
|
150
|
-
|
|
151
|
-
|
|
157
|
+
/* slotchange fires when the slot's assigned nodes change, but a framework that
|
|
158
|
+
* patches an existing text node in place ({{ reactiveString }}) mutates its
|
|
159
|
+
* characterData without swapping the node, so no slotchange fires and the view
|
|
160
|
+
* goes stale. Watch the host's light-DOM subtree for character-data (and
|
|
161
|
+
* childList) mutations and re-read on any of them. */
|
|
162
|
+
_observeSlotText() {
|
|
163
|
+
this._mutationObserver?.disconnect();
|
|
164
|
+
this._mutationObserver = new MutationObserver(() => this._onSlotChange());
|
|
165
|
+
this._mutationObserver.observe(this, {
|
|
166
|
+
characterData: true,
|
|
167
|
+
subtree: true,
|
|
168
|
+
childList: true,
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
/* Runs on the initial mount and on every re-mount after a detach/reattach
|
|
172
|
+
* (e.g. Vue <KeepAlive>), so the scroll observer and language survive the
|
|
173
|
+
* view being rebuilt. */
|
|
174
|
+
onEditorMounted() {
|
|
175
|
+
const scroller = this.view?.scrollDOM;
|
|
176
|
+
if (scroller) {
|
|
177
|
+
this._resizeObserver?.disconnect();
|
|
178
|
+
this._resizeObserver = new ResizeObserver((entries) => {
|
|
179
|
+
// forceScrollLayerRepaint (color-scheme flip) toggles display:none →
|
|
180
|
+
// reflow on the scroller, so it briefly reports width 0. Recomputing
|
|
181
|
+
// then would flip _isScrollable false and strip the scroll region's
|
|
182
|
+
// tabindex/role/aria-label until the next resize, leaving an
|
|
183
|
+
// overflowing block unreachable. Ignore those transient 0-width ticks.
|
|
184
|
+
if (entries.every((e) => e.contentRect.width === 0))
|
|
185
|
+
return;
|
|
186
|
+
this._scheduleUpdateScrollable();
|
|
187
|
+
});
|
|
188
|
+
this._resizeObserver.observe(scroller);
|
|
189
|
+
}
|
|
190
|
+
// (Re)establish the light-DOM text observer here too, so in-place text
|
|
191
|
+
// mutations are still caught after a detach/reattach re-mount (which runs
|
|
192
|
+
// onEditorMounted again, not firstUpdated).
|
|
193
|
+
this._observeSlotText();
|
|
194
|
+
if (this.language)
|
|
195
|
+
this._applyLanguage();
|
|
196
|
+
this._updateScrollable();
|
|
152
197
|
}
|
|
153
198
|
updated(changed) {
|
|
199
|
+
// Keep the button-suppression flag current when no-copy toggles at runtime.
|
|
200
|
+
if (changed.has('noCopy')) {
|
|
201
|
+
this._copyUnavailable = !this.noCopy && !isClipboardAvailable();
|
|
202
|
+
}
|
|
203
|
+
if (!this.view)
|
|
204
|
+
return;
|
|
154
205
|
if (changed.has('language'))
|
|
155
|
-
this.
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
206
|
+
this._applyLanguage();
|
|
207
|
+
if (changed.has('wrap')) {
|
|
208
|
+
this.reconfigure(this._wrapCompartment, this.wrap ? EditorView.lineWrapping : []);
|
|
209
|
+
this._updateScrollable();
|
|
210
|
+
}
|
|
211
|
+
// variant/background/no-copy change the block's padding (→ clientWidth), so
|
|
212
|
+
// the scrollable state can go stale until the ResizeObserver happens to
|
|
213
|
+
// fire. Recompute directly. (_copyUnavailable mirrors no-copy's own effect
|
|
214
|
+
// on padding, so treat it the same.)
|
|
215
|
+
if (changed.has('variant')
|
|
216
|
+
|| changed.has('background')
|
|
217
|
+
|| changed.has('noCopy')
|
|
218
|
+
|| changed.has('_copyUnavailable')) {
|
|
219
|
+
this._updateScrollable();
|
|
164
220
|
}
|
|
165
221
|
}
|
|
222
|
+
_onSlotChange() {
|
|
223
|
+
this.setDoc(this._getRawText());
|
|
224
|
+
this._updateScrollable();
|
|
225
|
+
}
|
|
166
226
|
_t(key) {
|
|
167
227
|
return this.translations[key] ?? nlddCodeViewerTranslations[key];
|
|
168
228
|
}
|
|
169
|
-
|
|
170
|
-
|
|
229
|
+
/* Lazy grammar loading is async; surface the in-flight load through
|
|
230
|
+
* updateComplete so consumers (and tests) can await el.updateComplete and
|
|
231
|
+
* see the final highlighted output. */
|
|
232
|
+
async getUpdateComplete() {
|
|
233
|
+
const result = await super.getUpdateComplete();
|
|
234
|
+
await this._languagePending;
|
|
235
|
+
return result;
|
|
236
|
+
}
|
|
237
|
+
_applyLanguage() {
|
|
238
|
+
this._languagePending = this._runLanguage();
|
|
239
|
+
}
|
|
240
|
+
async _runLanguage() {
|
|
241
|
+
const lang = this.language;
|
|
242
|
+
if (!lang) {
|
|
243
|
+
this.reconfigure(this._languageCompartment, []);
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
const pending = loadLanguage(lang);
|
|
247
|
+
if (!pending) {
|
|
248
|
+
this.reconfigure(this._languageCompartment, []);
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
try {
|
|
252
|
+
const support = await pending;
|
|
253
|
+
// The attribute may have changed while the grammar was loading.
|
|
254
|
+
if (this.language === lang) {
|
|
255
|
+
this.reconfigure(this._languageCompartment, support);
|
|
256
|
+
this._updateScrollable();
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
catch {
|
|
260
|
+
this.reconfigure(this._languageCompartment, []);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
/* rAF-debounce the recompute so a burst of ResizeObserver ticks (e.g. from a
|
|
264
|
+
* wrap/theme change) collapses into one measure on the next frame, after
|
|
265
|
+
* layout has settled. */
|
|
266
|
+
_scheduleUpdateScrollable() {
|
|
267
|
+
if (this._scrollableRaf !== undefined)
|
|
268
|
+
return;
|
|
269
|
+
this._scrollableRaf = requestAnimationFrame(() => {
|
|
270
|
+
this._scrollableRaf = undefined;
|
|
271
|
+
this._updateScrollable();
|
|
272
|
+
});
|
|
171
273
|
}
|
|
172
|
-
/*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
|
|
274
|
+
/* The horizontally-scrollable region is CodeMirror's scroller. Mark it
|
|
275
|
+
* focusable + labelled when content overflows so keyboard and screen-reader
|
|
276
|
+
* users can reach and announce it (WCAG 2.1.1). */
|
|
277
|
+
_updateScrollable() {
|
|
278
|
+
const scroller = this.view?.scrollDOM;
|
|
279
|
+
if (!scroller)
|
|
280
|
+
return;
|
|
281
|
+
// A 0-width measure (mid display:none reflow, or before first layout) is never a
|
|
282
|
+
// trustworthy overflow signal — `scrollWidth > 0` against it would wrongly mark a
|
|
283
|
+
// hidden viewer scrollable. Bail; a later ResizeObserver/slot tick re-measures
|
|
284
|
+
// once the width is real.
|
|
285
|
+
if (scroller.clientWidth === 0)
|
|
286
|
+
return;
|
|
287
|
+
const scrollable = !this.wrap && scroller.scrollWidth > scroller.clientWidth;
|
|
288
|
+
this._isScrollable = scrollable;
|
|
289
|
+
if (scrollable) {
|
|
290
|
+
scroller.setAttribute('tabindex', '0');
|
|
291
|
+
scroller.setAttribute('role', 'region');
|
|
292
|
+
scroller.setAttribute('aria-label', this._t('components.code-viewer.region-label'));
|
|
293
|
+
}
|
|
294
|
+
else {
|
|
295
|
+
scroller.removeAttribute('tabindex');
|
|
296
|
+
scroller.removeAttribute('role');
|
|
297
|
+
scroller.removeAttribute('aria-label');
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
/* Read the raw slot text — what the user would have typed — not the
|
|
301
|
+
* rendered (tokenised) CodeMirror DOM. Also the document source. */
|
|
176
302
|
_getRawText() {
|
|
177
303
|
const slot = this.shadowRoot?.querySelector('slot');
|
|
178
304
|
if (!slot)
|
|
@@ -183,6 +309,8 @@ let NLDDCodeViewer = class NLDDCodeViewer extends LitElement {
|
|
|
183
309
|
}
|
|
184
310
|
async _onCopyClick() {
|
|
185
311
|
try {
|
|
312
|
+
if (!isClipboardAvailable())
|
|
313
|
+
throw new Error('Clipboard API unavailable');
|
|
186
314
|
await navigator.clipboard.writeText(this._getRawText());
|
|
187
315
|
this._copyState = 'success';
|
|
188
316
|
}
|
|
@@ -194,71 +322,26 @@ let NLDDCodeViewer = class NLDDCodeViewer extends LitElement {
|
|
|
194
322
|
this._copyState = 'idle';
|
|
195
323
|
}, COPY_FEEDBACK_DURATION_MS);
|
|
196
324
|
}
|
|
197
|
-
/** Escape on the open feedback tooltip dismisses it early (WCAG 1.4.13
|
|
198
|
-
* persistent hover/focus content must be dismissible without moving
|
|
199
|
-
* focus). nldd-tooltip emits nldd-tooltip-dismiss because the consumer
|
|
200
|
-
* owns its open lifecycle; we honour it by clearing the feedback state
|
|
201
|
-
* and cancelling the auto-reset timer. */
|
|
325
|
+
/** Escape on the open feedback tooltip dismisses it early (WCAG 1.4.13). */
|
|
202
326
|
_onCopyDismiss() {
|
|
203
327
|
clearTimeout(this._copyResetTimer);
|
|
204
328
|
this._copyState = 'idle';
|
|
205
329
|
}
|
|
206
|
-
|
|
207
|
-
const
|
|
208
|
-
if (
|
|
209
|
-
forceScrollLayerRepaint(
|
|
210
|
-
}
|
|
211
|
-
/* Lazy grammar loading is async; surface the in-flight highlight
|
|
212
|
-
* through updateComplete so consumers (and tests) can `await
|
|
213
|
-
* el.updateComplete` and see the final highlighted output. */
|
|
214
|
-
async getUpdateComplete() {
|
|
215
|
-
const result = await super.getUpdateComplete();
|
|
216
|
-
await this._highlightPending;
|
|
217
|
-
return result;
|
|
218
|
-
}
|
|
219
|
-
_refreshHighlight(slot) {
|
|
220
|
-
this._highlightPending = this._runHighlight(slot);
|
|
221
|
-
}
|
|
222
|
-
async _runHighlight(slot) {
|
|
223
|
-
if (!this.language) {
|
|
224
|
-
this._highlightedHtml = '';
|
|
225
|
-
return;
|
|
226
|
-
}
|
|
227
|
-
const language = this.language;
|
|
228
|
-
if (!Prism.languages[language]) {
|
|
229
|
-
const pending = loadGrammar(language);
|
|
230
|
-
if (!pending) {
|
|
231
|
-
this._highlightedHtml = '';
|
|
232
|
-
return;
|
|
233
|
-
}
|
|
234
|
-
await pending;
|
|
235
|
-
if (this.language !== language)
|
|
236
|
-
return;
|
|
237
|
-
}
|
|
238
|
-
const grammar = Prism.languages[language];
|
|
239
|
-
if (!grammar) {
|
|
240
|
-
this._highlightedHtml = '';
|
|
241
|
-
return;
|
|
242
|
-
}
|
|
243
|
-
const target = slot ?? this.shadowRoot?.querySelector('slot');
|
|
244
|
-
if (!target)
|
|
245
|
-
return;
|
|
246
|
-
const text = target
|
|
247
|
-
.assignedNodes({ flatten: true })
|
|
248
|
-
.map((n) => n.textContent ?? '')
|
|
249
|
-
.join('');
|
|
250
|
-
this._highlightedHtml = Prism.highlight(text, grammar, language);
|
|
330
|
+
_repaint() {
|
|
331
|
+
const scroller = this.view?.scrollDOM;
|
|
332
|
+
if (scroller)
|
|
333
|
+
forceScrollLayerRepaint(scroller);
|
|
251
334
|
}
|
|
252
335
|
};
|
|
253
336
|
NLDDCodeViewer.styles = codeViewerStyles;
|
|
254
337
|
__decorate([
|
|
255
|
-
property({
|
|
338
|
+
property({ reflect: true, converter: reflectNonDefault('box') })
|
|
256
339
|
], NLDDCodeViewer.prototype, "variant", void 0);
|
|
257
340
|
__decorate([
|
|
258
|
-
property({
|
|
341
|
+
property({ reflect: true, converter: reflectNonDefault('tinted') })
|
|
259
342
|
], NLDDCodeViewer.prototype, "background", void 0);
|
|
260
343
|
__decorate([
|
|
261
|
-
property({
|
|
344
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
262
345
|
], NLDDCodeViewer.prototype, "language", void 0);
|
|
263
346
|
__decorate([
|
|
264
347
|
property({ type: Boolean, reflect: true, attribute: 'no-copy' })
|
|
@@ -266,12 +349,12 @@ __decorate([
|
|
|
266
349
|
__decorate([
|
|
267
350
|
property({ type: Boolean, reflect: true })
|
|
268
351
|
], NLDDCodeViewer.prototype, "wrap", void 0);
|
|
352
|
+
__decorate([
|
|
353
|
+
property({ type: Boolean, reflect: true, attribute: 'copy-unavailable' })
|
|
354
|
+
], NLDDCodeViewer.prototype, "_copyUnavailable", void 0);
|
|
269
355
|
__decorate([
|
|
270
356
|
property({ type: Object })
|
|
271
357
|
], NLDDCodeViewer.prototype, "translations", void 0);
|
|
272
|
-
__decorate([
|
|
273
|
-
state()
|
|
274
|
-
], NLDDCodeViewer.prototype, "_highlightedHtml", void 0);
|
|
275
358
|
__decorate([
|
|
276
359
|
state()
|
|
277
360
|
], NLDDCodeViewer.prototype, "_isScrollable", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-viewer.js","sourceRoot":"","sources":["../../../../src/components/content/code-viewer/code-viewer.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"code-viewer.js","sourceRoot":"","sources":["../../../../src/components/content/code-viewer/code-viewer.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAkB,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,EAAE,mBAAmB,EAAE,uB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AAgB,AAAnB,CAAoB;AAI1C;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAmB,KAAK,CAAC,EAAE,CAAC;+CACjD;AAIlC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAoB,QAAQ,CAAC,EAAE,CAAC;kDAC9C;AAGzC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;gDACxD;AAId;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;8CAClD;AAGf;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CAC9B;AAMb;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;wDACjD;AAIzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;oDAC4B;AAGvD;IADC,KAAK,EAAE;qDACc;AAGtB;IADC,KAAK,EAAE;kDACiC;AAnC7B,cAAc;IAD1B,aAAa,CAAC,kBAAkB,CAAC;GACrB,cAAc,CAiT1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-viewer.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/code-viewer/code-viewer.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"code-viewer.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/code-viewer/code-viewer.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,yBAgJ5B,CAAC"}
|