@nldd/design-system 0.8.93 → 0.8.95
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/NOTICES.md +21 -1
- package/README.md +111 -15
- package/custom-elements.json +584 -121
- package/dist/components/actions/button/button.d.ts +8 -5
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +11 -5
- 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 +41 -73
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +1 -0
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.d.ts +11 -4
- package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +25 -9
- 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 +18 -3
- package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +8 -5
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +11 -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 +35 -61
- 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 +1 -0
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +17 -2
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +34 -11
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +5 -3
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +2 -2
- 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 +18 -3
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +2 -2
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +3 -1
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +21 -10
- 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 -2
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/components.js +1446 -729
- package/dist/components/content/avatar/avatar.js +1 -1
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +1 -0
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +2 -2
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +10 -6
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +6 -6
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +2 -1
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +3 -3
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +3 -3
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +7 -7
- package/dist/components/content/rich-text/rich-text.d.ts +2 -0
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +8 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +1 -0
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +2 -1
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/token/token.template.js +2 -2
- package/dist/components/{decorate-lwt_OrAG.js → decorate-CO88j7Lc.js} +1 -1
- package/dist/components/{dist-M6GKopqu.js → dist-BWEAw34D.js} +1 -1
- package/dist/components/{dist-OlffRM7-.js → dist-BWRYv3Mp.js} +1 -1
- package/dist/components/{dist-CSYXsT7W.js → dist-Bi4EHsFY.js} +2 -2
- package/dist/components/{dist-B5ie2Bo9.js → dist-C3uWRipu.js} +1 -1
- package/dist/components/{dist-CoUVHSu-.js → dist-CH9m014O.js} +1 -1
- package/dist/components/{dist-Dn3c5gfb.js → dist-CpW8MF-L.js} +42 -27
- package/dist/components/{dist-RPaf2J9c.js → dist-CvL6_ezZ.js} +2 -2
- package/dist/components/{dist-CGOykrJw.js → dist-DMHTTJRJ.js} +2 -2
- package/dist/components/{dist-BUu-NW5O.js → dist-DTOshgo1.js} +1 -1
- package/dist/components/{dist-Dxn9Up8K.js → dist-DV6Mp5N1.js} +3 -3
- package/dist/components/{dist-CQzaKTa8.js → dist-PlhQXXtE.js} +1 -1
- package/dist/components/forms/form-actions/form-actions.d.ts +1 -1
- package/dist/components/forms/form-actions/form-actions.js +1 -1
- package/dist/components/{icon-DWNVcttg.js → icon-Typdp4av.js} +1 -1
- package/dist/components/{icon-button-hO6k8W63.js → icon-button-9mo3oIyL.js} +50 -72
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +5 -5
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +5 -5
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +3 -3
- package/dist/components/inputs/combo-box/combo-box.d.ts +43 -2
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +115 -40
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.js +2 -2
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +2 -1
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.js +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.js +2 -2
- package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +0 -2
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +1 -13
- 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 +24 -12
- package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.template.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.template.js +0 -1
- package/dist/components/inputs/dropdown/dropdown.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +2 -7
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.js +2 -2
- 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.template.js +2 -2
- 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.template.js +2 -2
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +6 -0
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +13 -0
- 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 +54 -16
- 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.template.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.annotations.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotations.js +6 -4
- package/dist/components/inputs/text-editor/text-editor.annotations.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +27 -64
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +2 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.js +5 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +87 -20
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.labels.d.ts +4 -0
- package/dist/components/inputs/text-editor/text-editor.labels.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.labels.js +5 -0
- package/dist/components/inputs/text-editor/text-editor.labels.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +6 -4
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +5 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +27 -3
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +144 -25
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.spellcheck.d.ts +11 -0
- package/dist/components/inputs/text-editor/text-editor.spellcheck.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.spellcheck.js +134 -0
- package/dist/components/inputs/text-editor/text-editor.spellcheck.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +9 -3
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +2 -1
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.js +2 -2
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +2 -1
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +12 -0
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +17 -0
- 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 +99 -12
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +3 -2
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +4 -2
- 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 +8 -2
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +26 -1
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +59 -6
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.template.js +1 -1
- package/dist/components/layout/card/card.d.ts +3 -0
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +3 -0
- 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 +22 -2
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +2 -1
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.template.js +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +0 -2
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +4 -19
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +2 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +2 -1
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +2 -1
- package/dist/components/layout/window/window.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/timeline-track-cell/timeline-track-cell.d.ts +7 -7
- 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 +9 -9
- 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.js +5 -5
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +11 -8
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +31 -31
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +5 -5
- package/dist/components/lists-and-tables/list/list.template.js +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +4 -4
- 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 +10 -10
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +2 -0
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +10 -7
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +0 -2
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +4 -19
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +0 -3
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +2 -13
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +2 -2
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +12 -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 +37 -2
- 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 +62 -3
- 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.template.js +3 -3
- 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 +2 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +2 -1
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.template.js +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.template.js +1 -1
- package/dist/components/status-and-feedback/notification/notification.template.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +4 -4
- 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 +11 -10
- 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.js +6 -6
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +6 -4
- 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 +16 -13
- 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.js +3 -3
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts +37 -22
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js +63 -31
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +1 -1
- package/dist/components/{visibility-mixin-BU1vIMW7.js → visibility-mixin-Crbt8PFP.js} +1 -1
- package/dist/components/with-translations-C8_0-9y8.js +97 -0
- package/dist/css/document-reset.css +7 -0
- package/dist/css/rich-text.css +5 -3
- package/dist/css/variables.css +30 -42
- package/dist/nldd.min.js +1071 -871
- package/dist/translations/en-US.d.ts +17 -0
- package/dist/translations/en-US.d.ts.map +1 -0
- package/dist/translations/en-US.js +185 -0
- package/dist/translations/en-US.js.map +1 -0
- package/dist/translations/fy.d.ts +20 -0
- package/dist/translations/fy.d.ts.map +1 -0
- package/dist/translations/fy.js +185 -0
- package/dist/translations/fy.js.map +1 -0
- package/dist/translations/nl.generated.d.ts +188 -0
- package/dist/translations/nl.generated.d.ts.map +1 -0
- package/dist/translations/nl.generated.js +101 -0
- package/dist/translations/nl.generated.js.map +1 -0
- package/dist/translations/pap-AW.d.ts +22 -0
- package/dist/translations/pap-AW.d.ts.map +1 -0
- package/dist/translations/pap-AW.js +185 -0
- package/dist/translations/pap-AW.js.map +1 -0
- package/dist/translations/pap-CW.d.ts +22 -0
- package/dist/translations/pap-CW.d.ts.map +1 -0
- package/dist/translations/pap-CW.js +185 -0
- package/dist/translations/pap-CW.js.map +1 -0
- package/dist/types/vue.d.ts +84 -47
- package/dist/utilities/translations.d.ts +37 -0
- package/dist/utilities/translations.d.ts.map +1 -0
- package/dist/utilities/translations.js +80 -0
- package/dist/utilities/translations.js.map +1 -0
- package/dist/utilities/with-translations.d.ts.map +1 -1
- package/dist/utilities/with-translations.js +2 -15
- package/dist/utilities/with-translations.js.map +1 -1
- package/package.json +33 -7
- package/dist/components/with-translations-BAKFoEKy.js +0 -69
|
@@ -9,7 +9,7 @@ export function tokenTemplate(component) {
|
|
|
9
9
|
<div class="token__dismiss-action">
|
|
10
10
|
<nldd-icon-button
|
|
11
11
|
size="sm"
|
|
12
|
-
|
|
12
|
+
appearance="neutral-tinted"
|
|
13
13
|
icon="dismiss-small"
|
|
14
14
|
text=${component._dismissLabel}
|
|
15
15
|
accessible-label=${component._dismissLabel}
|
|
@@ -24,7 +24,7 @@ export function tokenTemplate(component) {
|
|
|
24
24
|
<div class="token__menu-action">
|
|
25
25
|
<nldd-icon-button
|
|
26
26
|
size="sm"
|
|
27
|
-
|
|
27
|
+
appearance="neutral-tinted"
|
|
28
28
|
icon="chevron-down-small"
|
|
29
29
|
text=${component._menuLabel}
|
|
30
30
|
accessible-label=${component._menuLabel}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.152.0/helpers/esm/decorate.js
|
|
2
2
|
function __decorate(decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, W as EditorView, lt as EditorSelection, n as ExternalTokenizer, p as bracketMatchingHandle, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, y as foldNodeProp } from "./dist-
|
|
1
|
+
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, W as EditorView, lt as EditorSelection, n as ExternalTokenizer, p as bracketMatchingHandle, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, y as foldNodeProp } from "./dist-CpW8MF-L.js";
|
|
2
2
|
//#region node_modules/@lezer/xml/dist/index.js
|
|
3
3
|
var StartTag = 1;
|
|
4
4
|
var StartCloseTag = 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as indentNodeProp, M as styleTags, N as tags, g as delimitedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-
|
|
1
|
+
import { C as indentNodeProp, M as styleTags, N as tags, g as delimitedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-CpW8MF-L.js";
|
|
2
2
|
//#region node_modules/@lezer/yaml/dist/index.js
|
|
3
3
|
var blockEnd = 63;
|
|
4
4
|
var eof = 64;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, P as IterMode, R as NodeWeakMap, g as delimitedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-
|
|
2
|
-
import { a as ifNotIn, o as snippetCompletion, r as completeFromList } from "./dist-
|
|
1
|
+
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, P as IterMode, R as NodeWeakMap, g as delimitedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-CpW8MF-L.js";
|
|
2
|
+
import { a as ifNotIn, o as snippetCompletion, r as completeFromList } from "./dist-DTOshgo1.js";
|
|
3
3
|
//#region node_modules/@lezer/python/dist/index.js
|
|
4
4
|
var printKeyword = 1;
|
|
5
5
|
var indent = 194;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as indentNodeProp, M as styleTags, N as tags, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-
|
|
1
|
+
import { C as indentNodeProp, M as styleTags, N as tags, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-CpW8MF-L.js";
|
|
2
2
|
//#region node_modules/@lezer/rust/dist/index.js
|
|
3
3
|
var closureParamDelim = 1;
|
|
4
4
|
var tpOpen = 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as indentNodeProp, M as styleTags, N as tags, m as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-
|
|
1
|
+
import { C as indentNodeProp, M as styleTags, N as tags, m as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-CpW8MF-L.js";
|
|
2
2
|
//#region node_modules/@lezer/json/dist/index.js
|
|
3
3
|
var jsonHighlighting = styleTags({
|
|
4
4
|
String: tags.string,
|
|
@@ -2376,7 +2376,7 @@ var EditorState = class EditorState {
|
|
|
2376
2376
|
to: range.to,
|
|
2377
2377
|
insert: text
|
|
2378
2378
|
},
|
|
2379
|
-
range: EditorSelection.cursor(range.from + text.length)
|
|
2379
|
+
range: EditorSelection.cursor(range.from + text.length, -1)
|
|
2380
2380
|
}));
|
|
2381
2381
|
}
|
|
2382
2382
|
/**
|
|
@@ -4665,8 +4665,15 @@ function trivialOrder(length) {
|
|
|
4665
4665
|
var movedOver = "";
|
|
4666
4666
|
function moveVisually(line, order, dir, start, forward) {
|
|
4667
4667
|
var _a;
|
|
4668
|
-
|
|
4669
|
-
let
|
|
4668
|
+
if (!line.length) return null;
|
|
4669
|
+
let startIndex = start.head - line.from, spanI;
|
|
4670
|
+
if (start.head == line.from && start.assoc < 0) {
|
|
4671
|
+
if (!forward) return null;
|
|
4672
|
+
startIndex = order[spanI = 0].side(false, dir);
|
|
4673
|
+
} else if (start.head == line.to && start.assoc > 0) {
|
|
4674
|
+
if (forward) return null;
|
|
4675
|
+
startIndex = order[spanI = order.length - 1].side(true, dir);
|
|
4676
|
+
} else spanI = BidiSpan.find(order, startIndex, (_a = start.bidiLevel) !== null && _a !== void 0 ? _a : -1, start.assoc);
|
|
4670
4677
|
let span = order[spanI], spanEnd = span.side(forward, dir);
|
|
4671
4678
|
if (startIndex == spanEnd) {
|
|
4672
4679
|
let nextI = spanI += forward ? 1 : -1;
|
|
@@ -4679,7 +4686,10 @@ function moveVisually(line, order, dir, start, forward) {
|
|
|
4679
4686
|
if (nextIndex < span.from || nextIndex > span.to) nextIndex = spanEnd;
|
|
4680
4687
|
movedOver = line.text.slice(Math.min(startIndex, nextIndex), Math.max(startIndex, nextIndex));
|
|
4681
4688
|
let nextSpan = spanI == (forward ? order.length - 1 : 0) ? null : order[spanI + (forward ? 1 : -1)];
|
|
4682
|
-
if (
|
|
4689
|
+
if (nextIndex == spanEnd) {
|
|
4690
|
+
if (!nextSpan) return forward ? EditorSelection.cursor(line.to, 1) : EditorSelection.cursor(line.from, -1);
|
|
4691
|
+
if (nextSpan.level + (forward ? 0 : 1) < span.level) return EditorSelection.cursor(nextSpan.side(!forward, dir) + line.from, nextSpan.forward(forward, dir) ? 1 : -1, nextSpan.level);
|
|
4692
|
+
}
|
|
4683
4693
|
return EditorSelection.cursor(nextIndex + line.from, span.forward(forward, dir) ? -1 : 1, span.level);
|
|
4684
4694
|
}
|
|
4685
4695
|
function autoDirection(text, from, to) {
|
|
@@ -6699,8 +6709,6 @@ function moveToLineBoundary(view, start, forward, includeWrap) {
|
|
|
6699
6709
|
});
|
|
6700
6710
|
if (pos != null) return EditorSelection.cursor(pos, forward ? -1 : 1);
|
|
6701
6711
|
}
|
|
6702
|
-
let line = view.state.doc.lineAt(start.head);
|
|
6703
|
-
if (forward ? line.to == block.to : line.from == block.from) return view.visualLineSide(line, forward);
|
|
6704
6712
|
return EditorSelection.cursor(forward ? block.to : block.from, forward ? -1 : 1);
|
|
6705
6713
|
}
|
|
6706
6714
|
function moveByChar(view, start, forward, by) {
|
|
@@ -6713,7 +6721,7 @@ function moveByChar(view, start, forward, by) {
|
|
|
6713
6721
|
char = "\n";
|
|
6714
6722
|
line = view.state.doc.line(line.number + (forward ? 1 : -1));
|
|
6715
6723
|
spans = view.bidiSpans(line);
|
|
6716
|
-
next =
|
|
6724
|
+
next = forward ? EditorSelection.cursor(line.from, -1) : EditorSelection.cursor(line.to, 1);
|
|
6717
6725
|
}
|
|
6718
6726
|
if (!check) {
|
|
6719
6727
|
if (!by) return next;
|
|
@@ -7312,7 +7320,7 @@ function selectionPoints(view) {
|
|
|
7312
7320
|
function selectionFromPoints(points, base) {
|
|
7313
7321
|
if (points.length == 0) return null;
|
|
7314
7322
|
let anchor = points[0].pos, head = points.length == 2 ? points[1].pos : anchor;
|
|
7315
|
-
return anchor
|
|
7323
|
+
return anchor < 0 || head < 0 ? null : anchor == head ? EditorSelection.create([EditorSelection.cursor(head + base, -1)]) : EditorSelection.single(anchor + base, head + base);
|
|
7316
7324
|
}
|
|
7317
7325
|
function sameSelPos(selection, range) {
|
|
7318
7326
|
return range.head == selection.main.head && range.anchor == selection.main.anchor;
|
|
@@ -7406,12 +7414,14 @@ var InputState = class {
|
|
|
7406
7414
|
shiftKey: event.shiftKey
|
|
7407
7415
|
};
|
|
7408
7416
|
if (mods.shiftKey && browser.ios && !/^(off|none)$/.test(this.view.contentDOM.autocapitalize) && iosVirtualKeyboardOpen(this.view.win)) mods.shiftKey = false;
|
|
7409
|
-
this.pendingIOSKey = {
|
|
7417
|
+
let pending = this.pendingIOSKey = {
|
|
7410
7418
|
key: event.key,
|
|
7411
7419
|
keyCode: event.keyCode,
|
|
7412
7420
|
mods
|
|
7413
7421
|
};
|
|
7414
|
-
setTimeout(() =>
|
|
7422
|
+
setTimeout(() => {
|
|
7423
|
+
if (this.pendingIOSKey == pending) this.flushIOSKey();
|
|
7424
|
+
}, 50);
|
|
7415
7425
|
return true;
|
|
7416
7426
|
}
|
|
7417
7427
|
if (event.keyCode != 229) this.view.observer.forceFlush();
|
|
@@ -7673,7 +7683,7 @@ function doPaste(view, input) {
|
|
|
7673
7683
|
from: line.from,
|
|
7674
7684
|
insert
|
|
7675
7685
|
},
|
|
7676
|
-
range: EditorSelection.cursor(range.from + insert.length)
|
|
7686
|
+
range: EditorSelection.cursor(range.from + insert.length, -1)
|
|
7677
7687
|
};
|
|
7678
7688
|
});
|
|
7679
7689
|
} else if (byLine) changes = state.changeByRange((range) => {
|
|
@@ -7684,7 +7694,7 @@ function doPaste(view, input) {
|
|
|
7684
7694
|
to: range.to,
|
|
7685
7695
|
insert: line.text
|
|
7686
7696
|
},
|
|
7687
|
-
range: EditorSelection.cursor(range.from + line.length)
|
|
7697
|
+
range: EditorSelection.cursor(range.from + line.length, -1)
|
|
7688
7698
|
};
|
|
7689
7699
|
});
|
|
7690
7700
|
else changes = state.replaceSelection(text);
|
|
@@ -8283,12 +8293,12 @@ var HeightMap = class HeightMap {
|
|
|
8283
8293
|
let next = nodes[--j];
|
|
8284
8294
|
if (next) after += next.size;
|
|
8285
8295
|
}
|
|
8286
|
-
let brk =
|
|
8296
|
+
let brk = false;
|
|
8287
8297
|
if (nodes[i - 1] == null) {
|
|
8288
|
-
brk =
|
|
8298
|
+
brk = true;
|
|
8289
8299
|
i--;
|
|
8290
8300
|
} else if (nodes[i] == null) {
|
|
8291
|
-
brk =
|
|
8301
|
+
brk = true;
|
|
8292
8302
|
j++;
|
|
8293
8303
|
}
|
|
8294
8304
|
return new HeightMapBranch(HeightMap.of(nodes.slice(0, i)), brk, HeightMap.of(nodes.slice(j)));
|
|
@@ -8487,7 +8497,7 @@ var HeightMapGap = class HeightMapGap extends HeightMap {
|
|
|
8487
8497
|
};
|
|
8488
8498
|
var HeightMapBranch = class extends HeightMap {
|
|
8489
8499
|
constructor(left, brk, right) {
|
|
8490
|
-
super(left.length + brk + right.length, left.height + right.height, brk | (left.outdated || right.outdated ? 2 : 0));
|
|
8500
|
+
super(left.length + (brk ? 1 : 0) + right.length, left.height + right.height, (brk ? 1 : 0) | (left.outdated || right.outdated ? 2 : 0));
|
|
8491
8501
|
this.left = left;
|
|
8492
8502
|
this.right = right;
|
|
8493
8503
|
this.size = left.size + right.size;
|
|
@@ -8515,9 +8525,9 @@ var HeightMapBranch = class extends HeightMap {
|
|
|
8515
8525
|
if (to >= rightOffset) this.right.forEachLine(from, to, oracle, rightTop, rightOffset, f);
|
|
8516
8526
|
} else {
|
|
8517
8527
|
let mid = this.lineAt(rightOffset, QueryType.ByPos, oracle, top, offset);
|
|
8518
|
-
if (from < mid.from) this.left.forEachLine(from, mid.from - 1, oracle, top, offset, f);
|
|
8528
|
+
if (from < mid.from) this.left.forEachLine(from, Math.min(to, mid.from - 1), oracle, top, offset, f);
|
|
8519
8529
|
if (mid.to >= from && mid.from <= to) f(mid);
|
|
8520
|
-
if (to > mid.to) this.right.forEachLine(mid.to + 1, to, oracle, rightTop, rightOffset, f);
|
|
8530
|
+
if (to > mid.to) this.right.forEachLine(Math.max(from, mid.to + 1), to, oracle, rightTop, rightOffset, f);
|
|
8521
8531
|
}
|
|
8522
8532
|
}
|
|
8523
8533
|
replace(from, to, nodes) {
|
|
@@ -10642,15 +10652,11 @@ var EditorView = class EditorView {
|
|
|
10642
10652
|
return skipAtoms(this, start, moveByChar(this, start, forward, (initial) => byGroup(this, start.head, initial)));
|
|
10643
10653
|
}
|
|
10644
10654
|
/**
|
|
10645
|
-
Get the cursor position visually at the start
|
|
10646
|
-
|
|
10647
|
-
start or end (which is simply at `line.from`/`line.to`) if text
|
|
10648
|
-
at the start or end goes against the line's base text direction.
|
|
10655
|
+
**\[DEPRECATED]** Get the cursor position visually at the start
|
|
10656
|
+
or end of a line.
|
|
10649
10657
|
*/
|
|
10650
10658
|
visualLineSide(line, end) {
|
|
10651
|
-
|
|
10652
|
-
let span = order[end ? order.length - 1 : 0];
|
|
10653
|
-
return EditorSelection.cursor(span.side(end, dir) + line.from, span.forward(!end, dir) ? 1 : -1);
|
|
10659
|
+
return end ? EditorSelection.cursor(line.to, 1) : EditorSelection.cursor(line.from, -1);
|
|
10654
10660
|
}
|
|
10655
10661
|
/**
|
|
10656
10662
|
Move to the next line boundary in the given direction. If
|
|
@@ -10719,6 +10725,15 @@ var EditorView = class EditorView {
|
|
|
10719
10725
|
this.readMeasured();
|
|
10720
10726
|
let line = this.state.doc.lineAt(pos), order = this.bidiSpans(line);
|
|
10721
10727
|
let span = order[BidiSpan.find(order, pos - line.from, -1, side)];
|
|
10728
|
+
if (line.length && (pos == line.from && side < 0 || pos == line.to && side > 0) && span.dir != this.textDirectionAt(line.from)) {
|
|
10729
|
+
if (pos == line.to) {
|
|
10730
|
+
pos = line.from + span.from;
|
|
10731
|
+
side = 1;
|
|
10732
|
+
} else {
|
|
10733
|
+
pos = line.from + span.to;
|
|
10734
|
+
side = -1;
|
|
10735
|
+
}
|
|
10736
|
+
}
|
|
10722
10737
|
return this.docView.coordsAt(pos, side, span.dir == Direction.RTL);
|
|
10723
10738
|
}
|
|
10724
10739
|
/**
|
|
@@ -14661,7 +14676,7 @@ function styleTags(spec) {
|
|
|
14661
14676
|
var ruleNodeProp = new NodeProp({ combine(a, b) {
|
|
14662
14677
|
let cur, root, take;
|
|
14663
14678
|
while (a || b) {
|
|
14664
|
-
if (!a || b && a.depth
|
|
14679
|
+
if (!a || b && a.depth <= b.depth) {
|
|
14665
14680
|
take = b;
|
|
14666
14681
|
b = b.next;
|
|
14667
14682
|
} else {
|
|
@@ -14844,7 +14859,7 @@ and necessarily incomplete. A full ontology of syntactic
|
|
|
14844
14859
|
constructs would fill a stack of books, and be impractical to
|
|
14845
14860
|
write themes for. So try to make do with this set. If all else
|
|
14846
14861
|
fails, [open an
|
|
14847
|
-
issue](https://
|
|
14862
|
+
issue](https://code.haverbeke.berlin/codemirror/dev/issues) to propose a
|
|
14848
14863
|
new tag, or [define](#highlight.Tag^define) a local custom tag for
|
|
14849
14864
|
your use case.
|
|
14850
14865
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, y as foldNodeProp } from "./dist-
|
|
2
|
-
import { a as ifNotIn, r as completeFromList } from "./dist-
|
|
1
|
+
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, y as foldNodeProp } from "./dist-CpW8MF-L.js";
|
|
2
|
+
import { a as ifNotIn, r as completeFromList } from "./dist-DTOshgo1.js";
|
|
3
3
|
//#region node_modules/@codemirror/lang-sql/dist/index.js
|
|
4
4
|
var whitespace = 36;
|
|
5
5
|
var LineComment = 1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, O as sublanguageProp, P as IterMode, R as NodeWeakMap, W as EditorView, _ as flatIndent, g as delimitedIndent, h as defineLanguageFacet, i as LocalTokenGroup, lt as EditorSelection, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-
|
|
3
|
-
import { a as ifNotIn, o as snippetCompletion, r as completeFromList } from "./dist-
|
|
2
|
+
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, O as sublanguageProp, P as IterMode, R as NodeWeakMap, W as EditorView, _ as flatIndent, g as delimitedIndent, h as defineLanguageFacet, i as LocalTokenGroup, lt as EditorSelection, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-CpW8MF-L.js";
|
|
3
|
+
import { a as ifNotIn, o as snippetCompletion, r as completeFromList } from "./dist-DTOshgo1.js";
|
|
4
4
|
//#region node_modules/@lezer/javascript/dist/index.js
|
|
5
5
|
var noSemi = 316;
|
|
6
6
|
var noSemiType = 317;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as syntaxTree, H as Decoration, K as ViewPlugin, Q as keymap, St as combineConfig, T as indentUnit, Tt as fromCodePoint, U as Direction, W as EditorView, Z as getTooltip, _t as StateField, at as Annotation, bt as codePointAt, dt as Facet, ft as MapMode, gt as StateEffect, ht as RangeValue, lt as EditorSelection, pt as Prec, q as WidgetType, rt as showTooltip, tt as logException, vt as Text, xt as codePointSize, yt as Transaction } from "./dist-
|
|
1
|
+
import { A as syntaxTree, H as Decoration, K as ViewPlugin, Q as keymap, St as combineConfig, T as indentUnit, Tt as fromCodePoint, U as Direction, W as EditorView, Z as getTooltip, _t as StateField, at as Annotation, bt as codePointAt, dt as Facet, ft as MapMode, gt as StateEffect, ht as RangeValue, lt as EditorSelection, pt as Prec, q as WidgetType, rt as showTooltip, tt as logException, vt as Text, xt as codePointSize, yt as Transaction } from "./dist-CpW8MF-L.js";
|
|
2
2
|
//#region node_modules/@codemirror/autocomplete/dist/index.js
|
|
3
3
|
/**
|
|
4
4
|
An instance of this is passed to completion source functions.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, V as parseMixed, W as EditorView, lt as EditorSelection, n as ExternalTokenizer, p as bracketMatchingHandle, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, y as foldNodeProp } from "./dist-
|
|
3
|
-
import { n as cssLanguage, t as css } from "./dist-
|
|
4
|
-
import { a as tsxLanguage, i as jsxLanguage, n as javascript, o as typescriptLanguage, r as javascriptLanguage } from "./dist-
|
|
2
|
+
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags, V as parseMixed, W as EditorView, lt as EditorSelection, n as ExternalTokenizer, p as bracketMatchingHandle, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, y as foldNodeProp } from "./dist-CpW8MF-L.js";
|
|
3
|
+
import { n as cssLanguage, t as css } from "./dist-PlhQXXtE.js";
|
|
4
|
+
import { a as tsxLanguage, i as jsxLanguage, n as javascript, o as typescriptLanguage, r as javascriptLanguage } from "./dist-DMHTTJRJ.js";
|
|
5
5
|
//#region node_modules/@lezer/html/dist/index.js
|
|
6
6
|
var scriptText = 55;
|
|
7
7
|
var StartCloseScriptTag = 1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags$1, P as IterMode, R as NodeWeakMap, i as LocalTokenGroup, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-
|
|
2
|
+
import { A as syntaxTree, C as indentNodeProp, M as styleTags, N as tags$1, P as IterMode, R as NodeWeakMap, i as LocalTokenGroup, m as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as foldInside, y as foldNodeProp } from "./dist-CpW8MF-L.js";
|
|
3
3
|
//#region node_modules/@lezer/css/dist/index.js
|
|
4
4
|
var descendantOp = 148;
|
|
5
5
|
var Unit = 1;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* <nldd-form-field>...</nldd-form-field>
|
|
19
19
|
* <nldd-form-actions>
|
|
20
20
|
* <nldd-button-group>
|
|
21
|
-
* <nldd-button
|
|
21
|
+
* <nldd-button appearance="primary" type="submit" text="Bewaar"></nldd-button>
|
|
22
22
|
* </nldd-button-group>
|
|
23
23
|
* </nldd-form-actions>
|
|
24
24
|
* </nldd-form>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* <nldd-form-field>...</nldd-form-field>
|
|
19
19
|
* <nldd-form-actions>
|
|
20
20
|
* <nldd-button-group>
|
|
21
|
-
* <nldd-button
|
|
21
|
+
* <nldd-button appearance="primary" type="submit" text="Bewaar"></nldd-button>
|
|
22
22
|
* </nldd-button-group>
|
|
23
23
|
* </nldd-form-actions>
|
|
24
24
|
* </nldd-form>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { t as __decorate } from "./decorate-
|
|
2
|
+
import { t as __decorate } from "./decorate-CO88j7Lc.js";
|
|
3
3
|
import { t as reflectNonDefault } from "./reflect-non-default-OLaK60rT.js";
|
|
4
4
|
import { LitElement, css, html } from "lit";
|
|
5
5
|
import { customElement, property, state } from "lit/decorators.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as inheritedTextReset } from "./shadow-resets-aG-rgyNQ.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as __decorate } from "./decorate-
|
|
2
|
+
import { i as linkRel, r as translate, t as withTranslations } from "./with-translations-C8_0-9y8.js";
|
|
3
|
+
import { t as __decorate } from "./decorate-CO88j7Lc.js";
|
|
4
4
|
import { t as reflectNonDefault } from "./reflect-non-default-OLaK60rT.js";
|
|
5
|
-
import "./icon-
|
|
5
|
+
import "./icon-Typdp4av.js";
|
|
6
6
|
import { r as isTouchMode } from "./input-modality-DhTeUxKi.js";
|
|
7
7
|
import { LitElement, css, html, nothing } from "lit";
|
|
8
8
|
import { customElement, property, state } from "lit/decorators.js";
|
|
@@ -432,7 +432,7 @@ var NLDDActivityIndicator = (_NLDDActivityIndicator = class NLDDActivityIndicato
|
|
|
432
432
|
};
|
|
433
433
|
}
|
|
434
434
|
_t(key) {
|
|
435
|
-
return this.translations
|
|
435
|
+
return translate(this.translations, nlddActivityIndicatorTranslations, key);
|
|
436
436
|
}
|
|
437
437
|
/** Accessible name announced while loading. */
|
|
438
438
|
get _accessibleName() {
|
|
@@ -590,7 +590,7 @@ var iconButtonStyles = css`
|
|
|
590
590
|
--_text-display: none;
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
-
:host([
|
|
593
|
+
:host([appearance="neutral-base"]) {
|
|
594
594
|
--_background-color: var(--semantics-buttons-neutral-base-background-color);
|
|
595
595
|
--_primary-content-color: var(--semantics-buttons-neutral-base-content-color);
|
|
596
596
|
--_highlight-border-color: var(--semantics-buttons-neutral-base-highlight-border-color);
|
|
@@ -602,7 +602,7 @@ var iconButtonStyles = css`
|
|
|
602
602
|
--_is-active-highlight-border-color: var(--semantics-buttons-neutral-base-is-active-highlight-border-color);
|
|
603
603
|
}
|
|
604
604
|
|
|
605
|
-
:host([
|
|
605
|
+
:host([appearance="neutral-transparent"]) {
|
|
606
606
|
--_background-color: transparent;
|
|
607
607
|
--_primary-content-color: var(--semantics-buttons-neutral-transparent-content-color);
|
|
608
608
|
--_highlight-border-color: transparent;
|
|
@@ -614,8 +614,8 @@ var iconButtonStyles = css`
|
|
|
614
614
|
--_is-active-highlight-border-color: transparent;
|
|
615
615
|
}
|
|
616
616
|
|
|
617
|
-
:host([
|
|
618
|
-
:host([
|
|
617
|
+
:host([appearance="accent-filled"]),
|
|
618
|
+
:host([appearance="primary"]) {
|
|
619
619
|
--_background-color: var(--semantics-buttons-accent-filled-background-color);
|
|
620
620
|
--_primary-content-color: var(--semantics-buttons-accent-filled-content-color);
|
|
621
621
|
--_highlight-border-color: var(--semantics-buttons-accent-filled-highlight-border-color);
|
|
@@ -627,7 +627,7 @@ var iconButtonStyles = css`
|
|
|
627
627
|
--_is-active-highlight-border-color: var(--semantics-buttons-accent-filled-is-active-highlight-border-color);
|
|
628
628
|
}
|
|
629
629
|
|
|
630
|
-
:host([
|
|
630
|
+
:host([appearance="accent-transparent"]) {
|
|
631
631
|
--_background-color: transparent;
|
|
632
632
|
--_primary-content-color: var(--semantics-buttons-accent-transparent-content-color);
|
|
633
633
|
--_highlight-border-color: transparent;
|
|
@@ -639,8 +639,8 @@ var iconButtonStyles = css`
|
|
|
639
639
|
--_is-active-highlight-border-color: transparent;
|
|
640
640
|
}
|
|
641
641
|
|
|
642
|
-
:host([
|
|
643
|
-
:host([
|
|
642
|
+
:host([appearance="critical-tinted"]),
|
|
643
|
+
:host([appearance="destructive"]) {
|
|
644
644
|
--_background-color: var(--semantics-buttons-critical-tinted-background-color);
|
|
645
645
|
--_primary-content-color: var(--semantics-buttons-critical-tinted-content-color);
|
|
646
646
|
--_highlight-border-color: var(--semantics-buttons-critical-tinted-highlight-border-color);
|
|
@@ -652,7 +652,7 @@ var iconButtonStyles = css`
|
|
|
652
652
|
--_is-active-highlight-border-color: var(--semantics-buttons-critical-tinted-is-active-highlight-border-color);
|
|
653
653
|
}
|
|
654
654
|
|
|
655
|
-
:host([
|
|
655
|
+
:host([appearance="critical-transparent"]) {
|
|
656
656
|
--_background-color: transparent;
|
|
657
657
|
--_primary-content-color: var(--semantics-buttons-critical-transparent-content-color);
|
|
658
658
|
--_highlight-border-color: transparent;
|
|
@@ -668,39 +668,41 @@ var iconButtonStyles = css`
|
|
|
668
668
|
the full rationale. The filled label resolves the context var here on
|
|
669
669
|
the host, with the tokens' white/black contrast flip as fallback. */
|
|
670
670
|
|
|
671
|
-
:host([
|
|
672
|
-
|
|
671
|
+
:host([appearance="inherit-tinted"]),
|
|
672
|
+
:host([expanded][appearance="inherit-tinted"]) {
|
|
673
|
+
--_background-color: var(--context-button-background-color, var(--semantics-buttons-inherit-tinted-background-color));
|
|
673
674
|
--_primary-content-color: var(--semantics-buttons-inherit-tinted-content-color);
|
|
674
675
|
--_highlight-border-color: var(--semantics-buttons-inherit-tinted-highlight-border-color);
|
|
675
|
-
--_is-hovered-background-color: var(--
|
|
676
|
-
--_is-hovered-primary-content-color: var(--
|
|
677
|
-
--_is-hovered-highlight-border-color: var(--
|
|
678
|
-
--_is-active-background-color: var(--
|
|
679
|
-
--_is-active-primary-content-color: var(--
|
|
680
|
-
--_is-active-highlight-border-color: var(--
|
|
676
|
+
--_is-hovered-background-color: var(--_background-color);
|
|
677
|
+
--_is-hovered-primary-content-color: var(--_primary-content-color);
|
|
678
|
+
--_is-hovered-highlight-border-color: var(--_highlight-border-color);
|
|
679
|
+
--_is-active-background-color: var(--_background-color);
|
|
680
|
+
--_is-active-primary-content-color: var(--_primary-content-color);
|
|
681
|
+
--_is-active-highlight-border-color: var(--_highlight-border-color);
|
|
681
682
|
}
|
|
682
683
|
|
|
683
|
-
:host([
|
|
684
|
+
:host([appearance="inherit-filled"]),
|
|
685
|
+
:host([expanded][appearance="inherit-filled"]) {
|
|
684
686
|
--_background-color: var(--semantics-buttons-inherit-filled-background-color);
|
|
685
687
|
--_primary-content-color: var(--context-parent-background-color, var(--semantics-buttons-inherit-filled-content-color));
|
|
686
688
|
--_highlight-border-color: var(--semantics-buttons-inherit-filled-highlight-border-color);
|
|
687
|
-
--_is-hovered-background-color: var(--
|
|
688
|
-
--_is-hovered-primary-content-color: var(--
|
|
689
|
-
--_is-hovered-highlight-border-color: var(--
|
|
690
|
-
--_is-active-background-color: var(--
|
|
691
|
-
--_is-active-primary-content-color: var(--
|
|
692
|
-
--_is-active-highlight-border-color: var(--
|
|
689
|
+
--_is-hovered-background-color: var(--_background-color);
|
|
690
|
+
--_is-hovered-primary-content-color: var(--_primary-content-color);
|
|
691
|
+
--_is-hovered-highlight-border-color: var(--_highlight-border-color);
|
|
692
|
+
--_is-active-background-color: var(--_background-color);
|
|
693
|
+
--_is-active-primary-content-color: var(--_primary-content-color);
|
|
694
|
+
--_is-active-highlight-border-color: var(--_highlight-border-color);
|
|
693
695
|
}
|
|
694
696
|
|
|
695
697
|
/* For inherit-filled the inner button keeps the inherited on-color:
|
|
696
698
|
its currentColor background and the label's contrast flip resolve
|
|
697
699
|
against it, and would otherwise self-reference the label. The label
|
|
698
700
|
color moves to the content layer instead; see nldd-button. */
|
|
699
|
-
:host([
|
|
701
|
+
:host([appearance="inherit-filled"]) .icon-button {
|
|
700
702
|
color: inherit;
|
|
701
703
|
}
|
|
702
704
|
|
|
703
|
-
:host([
|
|
705
|
+
:host([appearance="inherit-filled"]) .icon-button > * {
|
|
704
706
|
color: var(--_primary-content-color);
|
|
705
707
|
}
|
|
706
708
|
|
|
@@ -718,7 +720,7 @@ var iconButtonStyles = css`
|
|
|
718
720
|
--_is-active-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-active-highlight-border-color);
|
|
719
721
|
}
|
|
720
722
|
|
|
721
|
-
:host([expanded][
|
|
723
|
+
:host([expanded][appearance="neutral-base"]) {
|
|
722
724
|
--_background-color: var(--semantics-buttons-neutral-base-is-expanded-background-color);
|
|
723
725
|
--_primary-content-color: var(--semantics-buttons-neutral-base-is-expanded-content-color);
|
|
724
726
|
--_highlight-border-color: var(--semantics-buttons-neutral-base-is-expanded-highlight-border-color);
|
|
@@ -730,7 +732,7 @@ var iconButtonStyles = css`
|
|
|
730
732
|
--_is-active-highlight-border-color: var(--semantics-buttons-neutral-base-is-expanded-is-active-highlight-border-color);
|
|
731
733
|
}
|
|
732
734
|
|
|
733
|
-
:host([expanded][
|
|
735
|
+
:host([expanded][appearance="neutral-transparent"]) {
|
|
734
736
|
--_background-color: transparent;
|
|
735
737
|
--_primary-content-color: var(--semantics-buttons-neutral-transparent-content-color);
|
|
736
738
|
--_highlight-border-color: transparent;
|
|
@@ -742,8 +744,8 @@ var iconButtonStyles = css`
|
|
|
742
744
|
--_is-active-highlight-border-color: transparent;
|
|
743
745
|
}
|
|
744
746
|
|
|
745
|
-
:host([expanded][
|
|
746
|
-
:host([expanded][
|
|
747
|
+
:host([expanded][appearance="accent-filled"]),
|
|
748
|
+
:host([expanded][appearance="primary"]) {
|
|
747
749
|
--_background-color: var(--semantics-buttons-accent-filled-is-expanded-background-color);
|
|
748
750
|
--_primary-content-color: var(--semantics-buttons-accent-filled-is-expanded-content-color);
|
|
749
751
|
--_highlight-border-color: var(--semantics-buttons-accent-filled-is-expanded-highlight-border-color);
|
|
@@ -755,7 +757,7 @@ var iconButtonStyles = css`
|
|
|
755
757
|
--_is-active-highlight-border-color: var(--semantics-buttons-accent-filled-is-expanded-is-active-highlight-border-color);
|
|
756
758
|
}
|
|
757
759
|
|
|
758
|
-
:host([expanded][
|
|
760
|
+
:host([expanded][appearance="accent-transparent"]) {
|
|
759
761
|
--_background-color: transparent;
|
|
760
762
|
--_primary-content-color: var(--semantics-buttons-accent-transparent-content-color);
|
|
761
763
|
--_highlight-border-color: transparent;
|
|
@@ -767,8 +769,8 @@ var iconButtonStyles = css`
|
|
|
767
769
|
--_is-active-highlight-border-color: transparent;
|
|
768
770
|
}
|
|
769
771
|
|
|
770
|
-
:host([expanded][
|
|
771
|
-
:host([expanded][
|
|
772
|
+
:host([expanded][appearance="critical-tinted"]),
|
|
773
|
+
:host([expanded][appearance="destructive"]) {
|
|
772
774
|
--_background-color: var(--semantics-buttons-critical-tinted-is-expanded-background-color);
|
|
773
775
|
--_primary-content-color: var(--semantics-buttons-critical-tinted-is-expanded-content-color);
|
|
774
776
|
--_highlight-border-color: var(--semantics-buttons-critical-tinted-is-expanded-highlight-border-color);
|
|
@@ -780,7 +782,7 @@ var iconButtonStyles = css`
|
|
|
780
782
|
--_is-active-highlight-border-color: var(--semantics-buttons-critical-tinted-is-expanded-is-active-highlight-border-color);
|
|
781
783
|
}
|
|
782
784
|
|
|
783
|
-
:host([expanded][
|
|
785
|
+
:host([expanded][appearance="critical-transparent"]) {
|
|
784
786
|
--_background-color: transparent;
|
|
785
787
|
--_primary-content-color: var(--semantics-buttons-critical-transparent-content-color);
|
|
786
788
|
--_highlight-border-color: transparent;
|
|
@@ -792,34 +794,6 @@ var iconButtonStyles = css`
|
|
|
792
794
|
--_is-active-highlight-border-color: transparent;
|
|
793
795
|
}
|
|
794
796
|
|
|
795
|
-
/* The on-color variants keep their currentColor-derived content; expanded
|
|
796
|
-
only deepens the background. Content is restated (not inherited from the
|
|
797
|
-
resting block) because the default [expanded] block has equal
|
|
798
|
-
specificity and later source order. See nldd-button for the rationale. */
|
|
799
|
-
:host([expanded][variant="inherit-tinted"]) {
|
|
800
|
-
--_background-color: var(--semantics-buttons-inherit-tinted-is-expanded-background-color);
|
|
801
|
-
--_primary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-content-color);
|
|
802
|
-
--_highlight-border-color: var(--semantics-buttons-inherit-tinted-is-expanded-highlight-border-color);
|
|
803
|
-
--_is-hovered-background-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-hovered-background-color);
|
|
804
|
-
--_is-hovered-primary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-hovered-content-color);
|
|
805
|
-
--_is-hovered-highlight-border-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-hovered-highlight-border-color);
|
|
806
|
-
--_is-active-background-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-active-background-color);
|
|
807
|
-
--_is-active-primary-content-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-active-content-color);
|
|
808
|
-
--_is-active-highlight-border-color: var(--semantics-buttons-inherit-tinted-is-expanded-is-active-highlight-border-color);
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
:host([expanded][variant="inherit-filled"]) {
|
|
812
|
-
--_background-color: var(--semantics-buttons-inherit-filled-is-expanded-background-color);
|
|
813
|
-
--_primary-content-color: var(--context-parent-background-color, var(--semantics-buttons-inherit-filled-is-expanded-content-color));
|
|
814
|
-
--_highlight-border-color: var(--semantics-buttons-inherit-filled-is-expanded-highlight-border-color);
|
|
815
|
-
--_is-hovered-background-color: var(--semantics-buttons-inherit-filled-is-expanded-is-hovered-background-color);
|
|
816
|
-
--_is-hovered-primary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-is-hovered-content-color);
|
|
817
|
-
--_is-hovered-highlight-border-color: var(--semantics-buttons-inherit-filled-is-expanded-is-hovered-highlight-border-color);
|
|
818
|
-
--_is-active-background-color: var(--semantics-buttons-inherit-filled-is-expanded-is-active-background-color);
|
|
819
|
-
--_is-active-primary-content-color: var(--semantics-buttons-inherit-filled-is-expanded-is-active-content-color);
|
|
820
|
-
--_is-active-highlight-border-color: var(--semantics-buttons-inherit-filled-is-expanded-is-active-highlight-border-color);
|
|
821
|
-
}
|
|
822
|
-
|
|
823
797
|
:host([width="full"]) {
|
|
824
798
|
display: block;
|
|
825
799
|
width: 100%;
|
|
@@ -1423,6 +1397,7 @@ function template() {
|
|
|
1423
1397
|
<nldd-activity-indicator
|
|
1424
1398
|
timing="instant"
|
|
1425
1399
|
size=${loadingSize}
|
|
1400
|
+
text=${this.loadingText || nothing}
|
|
1426
1401
|
></nldd-activity-indicator>
|
|
1427
1402
|
</div>
|
|
1428
1403
|
` : nothing;
|
|
@@ -1487,11 +1462,12 @@ var nlddIconButtonTranslations = { "components.icon-button.opens-in-new-tab-labe
|
|
|
1487
1462
|
* Nederlandse Digitale Dienst Icon Button Component (Lit + TypeScript)
|
|
1488
1463
|
*
|
|
1489
1464
|
* @element nldd-icon-button
|
|
1490
|
-
* @attr {string}
|
|
1465
|
+
* @attr {string} appearance - Visual style, color included: 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'inherit-filled' | 'inherit-tinted' | 'primary' | 'secondary' | 'destructive'. The inherit appearances derive their colors from currentColor, for buttons on colored surfaces.
|
|
1491
1466
|
* @attr {string} size - Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md')
|
|
1492
1467
|
* @attr {boolean} hide-lg-text - In lg size, hides the text label and enlarges the icon by one step (28px)
|
|
1493
|
-
* @attr {boolean} no-highlight-border - Removes the per-
|
|
1468
|
+
* @attr {boolean} no-highlight-border - Removes the per-appearance highlight border (e.g. when a control group draws a single border instead).
|
|
1494
1469
|
* @attr {boolean} loading - Loading state (default: false). Shows an activity indicator over the visually hidden icon, sets aria-busy on the inner control and blocks activation, without dropping the button from the tab order (unlike disabled).
|
|
1470
|
+
* @attr {string} loading-text - What the screen reader announces while `loading` is on, for a button that does more than load: "Aan het bewaren". Leave it out and the activity indicator says its translated "Laden".
|
|
1495
1471
|
* @attr {boolean} disabled - Disabled state
|
|
1496
1472
|
* @attr {boolean} no-tab - Takes the button out of the tab order (tabindex="-1"), for a control owned by a roving container (an nldd-token in nldd-token-field, a button in a row of an nldd-list) that manages focus itself. Still mouse- and script-focusable.
|
|
1497
1473
|
* @attr {string} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
|
|
@@ -1522,15 +1498,15 @@ var nlddIconButtonTranslations = { "components.icon-button.opens-in-new-tab-labe
|
|
|
1522
1498
|
*
|
|
1523
1499
|
* @fires click - When button is clicked (not fired when disabled)
|
|
1524
1500
|
*/
|
|
1525
|
-
var _NLDDIconButton
|
|
1526
|
-
var NLDDIconButton = (_NLDDIconButton = class NLDDIconButton extends withTranslations(LitElement, nlddIconButtonTranslations) {
|
|
1501
|
+
var _NLDDIconButton = class NLDDIconButton extends withTranslations(LitElement, nlddIconButtonTranslations) {
|
|
1527
1502
|
constructor(..._args) {
|
|
1528
1503
|
super(..._args);
|
|
1529
1504
|
this._internals = this.attachInternals();
|
|
1530
|
-
this.
|
|
1505
|
+
this.appearance = "neutral-tinted";
|
|
1531
1506
|
this.size = "md";
|
|
1532
1507
|
this.hideLgText = false;
|
|
1533
1508
|
this.loading = false;
|
|
1509
|
+
this.loadingText = "";
|
|
1534
1510
|
this.disabled = false;
|
|
1535
1511
|
this.noHighlightBorder = false;
|
|
1536
1512
|
this.type = "button";
|
|
@@ -1594,11 +1570,12 @@ var NLDDIconButton = (_NLDDIconButton = class NLDDIconButton extends withTransla
|
|
|
1594
1570
|
render() {
|
|
1595
1571
|
return template.call(this);
|
|
1596
1572
|
}
|
|
1597
|
-
}
|
|
1573
|
+
};
|
|
1574
|
+
var NLDDIconButton = (_NLDDIconButton.styles = iconButtonStyles, _NLDDIconButton.formAssociated = true, _NLDDIconButton);
|
|
1598
1575
|
__decorate([property({
|
|
1599
1576
|
reflect: true,
|
|
1600
1577
|
converter: reflectNonDefault("neutral-tinted")
|
|
1601
|
-
})], NLDDIconButton.prototype, "
|
|
1578
|
+
})], NLDDIconButton.prototype, "appearance", void 0);
|
|
1602
1579
|
__decorate([property({
|
|
1603
1580
|
reflect: true,
|
|
1604
1581
|
converter: reflectNonDefault("md")
|
|
@@ -1612,6 +1589,7 @@ __decorate([property({
|
|
|
1612
1589
|
type: Boolean,
|
|
1613
1590
|
reflect: true
|
|
1614
1591
|
})], NLDDIconButton.prototype, "loading", void 0);
|
|
1592
|
+
__decorate([property({ attribute: "loading-text" })], NLDDIconButton.prototype, "loadingText", void 0);
|
|
1615
1593
|
__decorate([property({
|
|
1616
1594
|
type: Boolean,
|
|
1617
1595
|
reflect: true
|
|
@@ -117,4 +117,5 @@ export { NLDDStepIndicator, NLDDStepIndicatorItem } from './status-and-feedback/
|
|
|
117
117
|
export { NLDDActivityIndicator } from './status-and-feedback/activity-indicator/activity-indicator.js';
|
|
118
118
|
export { NLDDStatusBar } from './status-and-feedback/status-bar/status-bar.js';
|
|
119
119
|
export { NLDDJustInTimeEducation } from './status-and-feedback/just-in-time-education/just-in-time-education.js';
|
|
120
|
+
export { setTranslations } from '../utilities/translations.js';
|
|
120
121
|
//# sourceMappingURL=index.d.ts.map
|