@nldd/design-system 0.8.43 → 0.8.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/actions/button/button.d.ts +19 -1
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +25 -1
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.js +28 -28
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +7 -0
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +4 -4
- package/dist/components/actions/button-group/button-group.styles.js +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +28 -7
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +36 -9
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +25 -25
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +9 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +5 -5
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +19 -15
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +1 -1
- package/dist/components/actions/split-button/split-button.template.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +14 -12
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +0 -2
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +20 -17
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +17 -17
- package/dist/components/actions/toolbar/toolbar.template.d.ts +1 -1
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +13 -5
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/components.js +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +5 -5
- package/dist/components/content/code/code.styles.js +3 -3
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +15 -0
- 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 +11 -5
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.styles.js +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +22 -0
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +46 -2
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +5 -5
- package/dist/components/content/rich-text/rich-text.d.ts +3 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +6 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.styles.js +6 -6
- package/dist/components/content/title/title.styles.js +2 -2
- package/dist/components/content/tooltip/tooltip.styles.js +8 -8
- package/dist/components/forms/form-actions/form-actions.styles.js +2 -2
- package/dist/components/forms/form-field/form-field.styles.js +6 -6
- package/dist/components/{index-By2jYHEw.js → index-1v33GjGX.js} +2950 -2632
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +9 -9
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -4
- package/dist/components/inputs/code-editor/code-editor.styles.js +14 -14
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +15 -14
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.js +2 -2
- package/dist/components/inputs/dropdown/dropdown.d.ts +7 -5
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +11 -9
- 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 +23 -17
- package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +12 -11
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +16 -15
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.js +2 -2
- package/dist/components/inputs/password-field/password-field.d.ts +8 -8
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +16 -16
- 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 +18 -17
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.js +3 -3
- package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +11 -11
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -4
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +17 -16
- package/dist/components/inputs/search-field/search-field.styles.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 +37 -67
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.styles.js +2 -2
- package/dist/components/inputs/stepper/stepper.template.js +2 -2
- package/dist/components/inputs/switch/switch.styles.js +13 -13
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -4
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +17 -16
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +12 -12
- package/dist/components/inputs/token/token.styles.js +5 -5
- package/dist/components/inputs/token/token.template.js +1 -1
- package/dist/components/layout/app-view/app-view.styles.js +4 -4
- package/dist/components/layout/box/box.styles.js +2 -2
- package/dist/components/layout/card/card.styles.js +4 -4
- package/dist/components/layout/collection/collection.styles.js +6 -6
- package/dist/components/layout/divider/divider.styles.js +2 -2
- package/dist/components/layout/page/page.styles.js +9 -9
- 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 +15 -14
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +6 -6
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +6 -6
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +14 -14
- 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.js +6 -6
- package/dist/components/layout/popover/popover.styles.js +4 -4
- package/dist/components/layout/sheet/sheet.d.ts +17 -4
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +40 -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 +28 -35
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/spacer/spacer.styles.js +5 -5
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +9 -9
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +34 -34
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +6 -6
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +4 -4
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +3 -3
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +7 -7
- package/dist/components/layout/window/window.styles.js +8 -8
- package/dist/components/lists-and-menus/cells/cell/cell.styles.js +5 -5
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js +5 -5
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.styles.js +9 -9
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.styles.js +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js +6 -6
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js +6 -6
- package/dist/components/lists-and-menus/list/list.styles.js +13 -13
- package/dist/components/lists-and-menus/list-item/list-item.styles.js +21 -21
- package/dist/components/lists-and-menus/menu/menu.d.ts +160 -29
- package/dist/components/lists-and-menus/menu/menu.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.i18n.d.ts +2 -0
- package/dist/components/lists-and-menus/menu/menu.i18n.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.i18n.js +2 -0
- package/dist/components/lists-and-menus/menu/menu.i18n.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.js +534 -102
- package/dist/components/lists-and-menus/menu/menu.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.styles.js +93 -32
- package/dist/components/lists-and-menus/menu/menu.styles.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.template.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.template.js +13 -0
- package/dist/components/lists-and-menus/menu/menu.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +0 -2
- 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 +20 -22
- 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.js +48 -48
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +11 -9
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts.map +1 -0
- package/dist/components/navigation/link/link.js.map +1 -0
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -0
- package/dist/components/{actions → navigation}/link/link.styles.js +4 -4
- package/dist/components/navigation/link/link.styles.js.map +1 -0
- package/dist/components/navigation/link/link.template.d.ts.map +1 -0
- package/dist/components/navigation/link/link.template.js.map +1 -0
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +17 -5
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +79 -34
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.js +2 -2
- package/dist/components/navigation/menu-bar/menu-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.template.js +12 -2
- package/dist/components/navigation/menu-bar/menu-bar.template.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +16 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +22 -0
- 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.js +19 -19
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +2 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +12 -0
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +19 -0
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +47 -77
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +23 -16
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +9 -9
- package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +28 -51
- package/dist/components/navigation/tab-bar/tab-bar.styles.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 +57 -70
- 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.styles.js +15 -15
- package/dist/components/{prism-typescript-BlIir5CV.js → prism-typescript-D2EqsCqV.js} +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +7 -7
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +7 -7
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +5 -5
- package/dist/css/rich-text.css +85 -58
- package/dist/css/settings.css +36 -33
- package/dist/utilities/os.d.ts +27 -0
- package/dist/utilities/os.d.ts.map +1 -0
- package/dist/utilities/os.js +60 -0
- package/dist/utilities/os.js.map +1 -0
- package/package.json +5 -5
- package/dist/components/actions/link/link.d.ts.map +0 -1
- package/dist/components/actions/link/link.js.map +0 -1
- package/dist/components/actions/link/link.styles.d.ts.map +0 -1
- package/dist/components/actions/link/link.styles.js.map +0 -1
- package/dist/components/actions/link/link.template.d.ts.map +0 -1
- package/dist/components/actions/link/link.template.js.map +0 -1
- /package/dist/components/{actions → navigation}/link/link.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.js +0 -0
- /package/dist/components/{actions → navigation}/link/link.styles.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.template.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.template.js +0 -0
|
@@ -29,9 +29,9 @@ export const toolbarStyles = css `
|
|
|
29
29
|
|
|
30
30
|
.toolbar {
|
|
31
31
|
display: flex;
|
|
32
|
+
width: 100%;
|
|
32
33
|
flex-direction: row;
|
|
33
34
|
align-items: center;
|
|
34
|
-
width: 100%;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
:host([size="sm"]) .toolbar {
|
|
@@ -48,10 +48,10 @@ export const toolbarStyles = css `
|
|
|
48
48
|
|
|
49
49
|
.toolbar__items {
|
|
50
50
|
display: flex;
|
|
51
|
+
min-width: 0;
|
|
51
52
|
flex-direction: row;
|
|
52
53
|
align-items: flex-start;
|
|
53
54
|
flex: 1;
|
|
54
|
-
min-width: 0;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
:host([size="sm"]) .toolbar__items {
|
|
@@ -67,9 +67,9 @@ export const toolbarStyles = css `
|
|
|
67
67
|
/* # Spacers */
|
|
68
68
|
|
|
69
69
|
.toolbar__flexible-spacer {
|
|
70
|
+
margin-left: calc(-1 * var(--components-toolbar-md-gap));
|
|
70
71
|
flex-grow: 1;
|
|
71
72
|
flex-shrink: 1;
|
|
72
|
-
margin-left: calc(-1 * var(--components-toolbar-md-gap));
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
:host([size="sm"]) .toolbar__flexible-spacer {
|
|
@@ -78,19 +78,19 @@ export const toolbarStyles = css `
|
|
|
78
78
|
|
|
79
79
|
.toolbar__center-fill {
|
|
80
80
|
display: flex;
|
|
81
|
+
min-width: 0;
|
|
81
82
|
flex-direction: row;
|
|
82
83
|
align-items: flex-start;
|
|
83
84
|
flex-grow: 1;
|
|
84
85
|
flex-shrink: 1;
|
|
85
|
-
min-width: 0;
|
|
86
86
|
justify-content: center;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.toolbar__left-spacer {
|
|
90
|
+
margin-right: calc(-1 * var(--components-toolbar-md-gap));
|
|
91
|
+
min-width: 0;
|
|
90
92
|
flex-shrink: 1;
|
|
91
93
|
flex-grow: 0;
|
|
92
|
-
min-width: 0;
|
|
93
|
-
margin-right: calc(-1 * var(--components-toolbar-md-gap));
|
|
94
94
|
flex-basis: calc(
|
|
95
95
|
var(--_width) / 2
|
|
96
96
|
- var(--_start-width)
|
|
@@ -110,10 +110,10 @@ export const toolbarStyles = css `
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.toolbar__right-spacer {
|
|
113
|
+
margin-left: calc(-1 * var(--components-toolbar-md-gap));
|
|
114
|
+
min-width: 0;
|
|
113
115
|
flex-shrink: 1;
|
|
114
116
|
flex-grow: 0;
|
|
115
|
-
min-width: 0;
|
|
116
|
-
margin-left: calc(-1 * var(--components-toolbar-md-gap));
|
|
117
117
|
flex-basis: calc(
|
|
118
118
|
var(--_width) / 2
|
|
119
119
|
- var(--_end-width)
|
|
@@ -146,8 +146,8 @@ export const toolbarStyles = css `
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.toolbar__item.is-fluid {
|
|
149
|
-
flex-basis: var(--_item-width);
|
|
150
149
|
min-width: var(--_item-min-width);
|
|
150
|
+
flex-basis: var(--_item-width);
|
|
151
151
|
flex-shrink: 1;
|
|
152
152
|
}
|
|
153
153
|
|
|
@@ -163,8 +163,8 @@ export const toolbarStyles = css `
|
|
|
163
163
|
|
|
164
164
|
.toolbar__item-content {
|
|
165
165
|
display: inline-flex;
|
|
166
|
-
align-items: center;
|
|
167
166
|
width: 100%;
|
|
167
|
+
align-items: center;
|
|
168
168
|
justify-content: center;
|
|
169
169
|
}
|
|
170
170
|
|
|
@@ -213,18 +213,18 @@ export const toolbarStyles = css `
|
|
|
213
213
|
|
|
214
214
|
.toolbar__title-group {
|
|
215
215
|
display: inline-flex;
|
|
216
|
-
flex-direction: column;
|
|
217
|
-
justify-content: center;
|
|
218
216
|
min-width: var(--_title-group-min-width);
|
|
219
217
|
overflow: hidden;
|
|
218
|
+
flex-direction: column;
|
|
219
|
+
justify-content: center;
|
|
220
220
|
flex-shrink: 1;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
.toolbar__title-group.is-solo-fluid {
|
|
224
|
+
min-width: 0;
|
|
224
225
|
flex-grow: 1;
|
|
225
226
|
flex-shrink: 1;
|
|
226
227
|
flex-basis: 0;
|
|
227
|
-
min-width: 0;
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
:host([size="sm"]) .toolbar__title-group {
|
|
@@ -248,11 +248,11 @@ export const toolbarStyles = css `
|
|
|
248
248
|
|
|
249
249
|
.toolbar__title {
|
|
250
250
|
margin: 0;
|
|
251
|
-
color: var(--semantics-content-color);
|
|
252
251
|
overflow: hidden;
|
|
252
|
+
max-width: 100%;
|
|
253
|
+
color: var(--semantics-content-color);
|
|
253
254
|
text-overflow: ellipsis;
|
|
254
255
|
white-space: nowrap;
|
|
255
|
-
max-width: 100%;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
:host([size="md"]) .toolbar__title,
|
|
@@ -266,11 +266,11 @@ export const toolbarStyles = css `
|
|
|
266
266
|
|
|
267
267
|
.toolbar__subtitle {
|
|
268
268
|
margin: 0;
|
|
269
|
-
color: var(--semantics-content-secondary-color);
|
|
270
269
|
overflow: hidden;
|
|
270
|
+
max-width: 100%;
|
|
271
|
+
color: var(--semantics-content-secondary-color);
|
|
271
272
|
text-overflow: ellipsis;
|
|
272
273
|
white-space: nowrap;
|
|
273
|
-
max-width: 100%;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
:host([size="md"]) .toolbar__subtitle,
|
|
@@ -22,5 +22,5 @@ export type ToolbarChild = {
|
|
|
22
22
|
element: Element;
|
|
23
23
|
id: number;
|
|
24
24
|
};
|
|
25
|
-
export declare function template(startChildren: ToolbarChild[], centerChildren: ToolbarChild[], endChildren: ToolbarChild[], overflowIds: Set<number>, size: string, hasCenterChildren: boolean, leftSpacerZero: boolean, rightSpacerZero: boolean, isSoloFluidItem: boolean, hasOverflow: boolean, menuOpen: boolean, label: string,
|
|
25
|
+
export declare function template(startChildren: ToolbarChild[], centerChildren: ToolbarChild[], endChildren: ToolbarChild[], overflowIds: Set<number>, size: string, hasCenterChildren: boolean, leftSpacerZero: boolean, rightSpacerZero: boolean, isSoloFluidItem: boolean, hasOverflow: boolean, menuOpen: boolean, label: string, centerOnly: boolean, t: (key: keyof NLDDToolbarTranslations) => string): import("lit-html").TemplateResult<1>;
|
|
26
26
|
//# sourceMappingURL=toolbar.template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,+BAA+B,CAAC;AAGvC,MAAM,MAAM,YAAY,GACrB;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,cAAc,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,C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A;CAAE,GACrG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,OAAO,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,GAC5J;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAyEnD,wBAAgB,QAAQ,CACvB,aAAa,EAAE,YAAY,EAAE,EAC7B,cAAc,EAAE,YAAY,EAAE,EAC9B,WAAW,EAAE,YAAY,EAAE,EAC3B,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,EACxB,IAAI,EAAE,MAAM,EACZ,iBAAiB,EAAE,OAAO,EAC1B,cAAc,EAAE,OAAO,EACvB,eAAe,EAAE,OAAO,EACxB,eAAe,EAAE,OAAO,EACxB,WAAW,EAAE,OAAO,EACpB,QAAQ,EAAE,OAAO,EACjB,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,OAAO,EACnB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,uBAAuB,KAAK,MAAM,wCA+CjD"}
|
|
@@ -64,8 +64,17 @@ function renderChildren(children, allChildren, overflowIds, suppressSoloFluid =
|
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
// # Template
|
|
67
|
-
export function template(startChildren, centerChildren, endChildren, overflowIds, size, hasCenterChildren, leftSpacerZero, rightSpacerZero, isSoloFluidItem, hasOverflow, menuOpen, label,
|
|
67
|
+
export function template(startChildren, centerChildren, endChildren, overflowIds, size, hasCenterChildren, leftSpacerZero, rightSpacerZero, isSoloFluidItem, hasOverflow, menuOpen, label, centerOnly, t) {
|
|
68
68
|
const allChildren = [...startChildren, ...centerChildren, ...endChildren];
|
|
69
|
+
// Overflow button: aria-controls is intentionally omitted. ARIA IDREF
|
|
70
|
+
// attributes cannot cross shadow DOM boundaries, and the menu is
|
|
71
|
+
// reparented to document.body while this button lives in the toolbar's
|
|
72
|
+
// shadow root — so the IDREF could not resolve from the host nor a
|
|
73
|
+
// forwarded inner button. popup-type + expanded forward to the inner
|
|
74
|
+
// button as aria-haspopup / aria-expanded and give sufficient AT
|
|
75
|
+
// context for WCAG 2.1 AA. Restore aria-controls once nldd-menu moves
|
|
76
|
+
// into the shadow root, or CSS Anchor Positioning lets the menu escape
|
|
77
|
+
// the stacking context without document.body.
|
|
69
78
|
return html `
|
|
70
79
|
<div class="toolbar"
|
|
71
80
|
role="toolbar"
|
|
@@ -92,10 +101,9 @@ export function template(startChildren, centerChildren, endChildren, overflowIds
|
|
|
92
101
|
<nldd-icon-button size=${size}
|
|
93
102
|
icon="ellipsis"
|
|
94
103
|
text=${t('components.toolbar.overflow-action')}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
@click=${onOverflowClick}
|
|
104
|
+
tooltip-timing="never"
|
|
105
|
+
popup-type="menu"
|
|
106
|
+
?expanded=${menuOpen}
|
|
99
107
|
></nldd-icon-button>
|
|
100
108
|
<span class="toolbar__item-label">${t('components.toolbar.overflow-action')}</span>
|
|
101
109
|
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar.template.js","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,+BAA+B,CAAC;AAQvC,YAAY;AACZ,SAAS,YAAY,CAAC,KAAa;IAClC,IAAI,CAAC,KAAK;QAAE,OAAO,EAAE,CAAC;IACtB,IAAI,KAAK,CAAC,QAAQ,CAAC,GAA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CAAA;;aAED,OAAO;qBACC,KAAK,CAAC,EAAE;mBACV,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;aACrC,QAAQ,CAAC,OAAO,CAAC;;;0BAGJ,KAAK,CAAC,EAAE;;OAE3B,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA,qCAAqC,KAAK,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO;;IAExF,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAA,qBAAqB,KAAK,CAAC,EAAE,WAAW,CAAC;IACrD,CAAC,CAAC,CAAC;AACJ,CAAC;AAED,aAAa;AACb,MAAM,UAAU,QAAQ,CACvB,aAA6B,EAC7B,cAA8B,EAC9B,WAA2B,EAC3B,WAAwB,EACxB,IAAY,EACZ,iBAA0B,EAC1B,cAAuB,EACvB,eAAwB,EACxB,eAAwB,EACxB,WAAoB,EACpB,QAAiB,EACjB,KAAa,EACb,
|
|
1
|
+
{"version":3,"file":"toolbar.template.js","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,+BAA+B,CAAC;AAQvC,YAAY;AACZ,SAAS,YAAY,CAAC,KAAa;IAClC,IAAI,CAAC,KAAK;QAAE,OAAO,EAAE,CAAC;IACtB,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QACzB,MAAM,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;QACtC,OAAO,wBAAwB,KAAK,GAAG,CAAC;IACzC,CAAC;IACD,OAAO,KAAK,CAAC;AACd,CAAC;AAED,SAAS,cAAc,CACtB,QAAwB,EACxB,WAA2B,EAC3B,WAAwB,EACxB,iBAAiB,GAAG,KAAK;IAEzB,O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AC;;0CAEjB,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW;6BAC3C,IAAI;;YAErB,CAAC,CAAC,oCAAoC,CAAC;;;iBAGlC,QAAQ;;wCAEe,CAAC,CAAC,oCAAoC,CAAC;;;EAG7E,CAAC;AACH,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N, a, b, c, d, e, f, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as } from "./index-
|
|
1
|
+
import { N, a, b, c, d, e, f, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as } from "./index-1v33GjGX.js";
|
|
2
2
|
export {
|
|
3
3
|
N as NLDDAppView,
|
|
4
4
|
a as NLDDBadge,
|
|
@@ -39,17 +39,17 @@ export const blockquoteStyles = css `
|
|
|
39
39
|
/* # Block */
|
|
40
40
|
|
|
41
41
|
.blockquote {
|
|
42
|
+
display: flex;
|
|
42
43
|
margin: 0;
|
|
43
|
-
padding-inline: var(--_spacing);
|
|
44
|
-
padding-top: var(--_spacing);
|
|
45
|
-
padding-bottom: 0;
|
|
46
44
|
border-top: var(--semantics-blockquotes-border);
|
|
47
45
|
border-left: var(--semantics-blockquotes-border);
|
|
48
46
|
border-top-left-radius: var(--semantics-blockquotes-corner-radius);
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
padding-inline: var(--_spacing);
|
|
48
|
+
padding-top: var(--_spacing);
|
|
49
|
+
padding-bottom: 0;
|
|
51
50
|
flex-direction: column;
|
|
52
51
|
gap: calc(var(--_spacing) / 2);
|
|
52
|
+
color: var(--semantics-content-color);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
|
|
@@ -24,12 +24,12 @@ export const codeStyles = css `
|
|
|
24
24
|
|
|
25
25
|
.code {
|
|
26
26
|
margin: 0;
|
|
27
|
-
|
|
27
|
+
border-radius: var(--_corner-radius);
|
|
28
28
|
background-color: var(--_background-color);
|
|
29
|
+
overflow-x: auto;
|
|
30
|
+
padding: var(--_block-padding) var(--_inline-padding);
|
|
29
31
|
color: var(--_content-color);
|
|
30
|
-
border-radius: var(--_corner-radius);
|
|
31
32
|
font: var(--_font);
|
|
32
|
-
overflow-x: auto;
|
|
33
33
|
white-space: pre;
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-aliases.d.ts","sourceRoot":"","sources":["../../../../src/components/content/icon/icon-aliases.js"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,sBADW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"icon-aliases.d.ts","sourceRoot":"","sources":["../../../../src/components/content/icon/icon-aliases.js"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,sBADW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAuT/B"}
|
|
@@ -15,6 +15,8 @@ export const aliases = {
|
|
|
15
15
|
'undo': 'arrow-u-turn-backward',
|
|
16
16
|
// arrow-u-turn-forward
|
|
17
17
|
'redo': 'arrow-u-turn-forward',
|
|
18
|
+
// books-vertical
|
|
19
|
+
'books': 'books-vertical',
|
|
18
20
|
// brackets-ellipsis
|
|
19
21
|
'embed': 'brackets-ellipsis',
|
|
20
22
|
// business-suitcase
|
|
@@ -33,6 +35,7 @@ export const aliases = {
|
|
|
33
35
|
'tasks': 'check-list',
|
|
34
36
|
'todos': 'check-list',
|
|
35
37
|
'checklist': 'check-list',
|
|
38
|
+
'backlog': 'check-list',
|
|
36
39
|
// check-mark
|
|
37
40
|
'checked': 'check-mark',
|
|
38
41
|
// check-mark-circle
|
|
@@ -50,6 +53,11 @@ export const aliases = {
|
|
|
50
53
|
'forward': 'chevron-right',
|
|
51
54
|
// circle-dashed
|
|
52
55
|
'icon-placeholder': 'circle-dashed',
|
|
56
|
+
// clock
|
|
57
|
+
'time': 'clock',
|
|
58
|
+
'now': 'clock',
|
|
59
|
+
// clock-arrow-clockwise
|
|
60
|
+
'future': 'clock-arrow-clockwise',
|
|
53
61
|
// clock-arrow-counter-clockwise
|
|
54
62
|
'history': 'clock-arrow-counter-clockwise',
|
|
55
63
|
// cloud-arrow-down
|
|
@@ -80,6 +88,8 @@ export const aliases = {
|
|
|
80
88
|
// eye-slash
|
|
81
89
|
'hidden': 'eye-slash',
|
|
82
90
|
'hide': 'eye-slash',
|
|
91
|
+
// eyeglasses
|
|
92
|
+
'reading-list': 'eyeglasses',
|
|
83
93
|
// face-frowning
|
|
84
94
|
'sad': 'face-frowning',
|
|
85
95
|
'frowning': 'face-frowning',
|
|
@@ -182,6 +192,9 @@ export const aliases = {
|
|
|
182
192
|
// sparkles
|
|
183
193
|
'ai': 'sparkles',
|
|
184
194
|
'magic': 'sparkles',
|
|
195
|
+
// starburst-filled
|
|
196
|
+
'new': 'starburst-filled',
|
|
197
|
+
'promotion': 'starburst-filled',
|
|
185
198
|
// square-and-arrow-right
|
|
186
199
|
'logout': 'square-and-arrow-right',
|
|
187
200
|
'exit': 'square-and-arrow-right',
|
|
@@ -189,6 +202,8 @@ export const aliases = {
|
|
|
189
202
|
'share': 'square-arrow-up',
|
|
190
203
|
// square-arrow-right-top
|
|
191
204
|
'external-link': 'square-arrow-right-top',
|
|
205
|
+
// square-on-square
|
|
206
|
+
'copy': 'square-on-square',
|
|
192
207
|
// square-plus-on-square
|
|
193
208
|
'duplicate': 'square-plus-on-square',
|
|
194
209
|
// rectangle-stack
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-aliases.js","sourceRoot":"","sources":["../../../../src/components/content/icon/icon-aliases.js"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,MAAM,CAAC,MAAM,OAAO,GAAG;IACtB,qBAAqB;IACrB,QAAQ,EAAE,oBAAoB;IAC9B,UAAU,EAAE,oBAAoB;IAEhC,4BAA4B;IAC5B,SAAS,EAAE,2BAA2B;IACtC,QAAQ,EAAE,2BAA2B;IACrC,MAAM,EAAE,2BAA2B;IAEnC,uBAAuB;IACvB,UAAU,EAAE,sBAAsB;IAElC,sBAAsB;IACtB,MAAM,EAAE,qBAAqB;IAE7B,wBAAwB;IACxB,MAAM,EAAE,uBAAuB;IAE/B,uBAAuB;IACvB,MAAM,EAAE,sBAAsB;IAE9B,oBAAoB;IACpB,OAAO,EAAE,mBAAmB;IAE5B,oBAAoB;IACpB,MAAM,EAAE,mBAAmB;IAE3B,iBAAiB;IACjB,UAAU,EAAE,gBAAgB;IAC5B,OAAO,EAAE,gBAAgB;IAEzB,cAAc;IACd,SAAS,EAAE,aAAa;IACxB,SAAS,EAAE,aAAa;IAExB,sBAAsB;IACtB,WAAW,EAAE,qBAAqB;IAClC,YAAY,EAAE,qBAAqB;IACnC,OAAO,EAAE,qBAAqB;IAE9B,aAAa;IACb,OAAO,EAAE,YAAY;IACrB,OAAO,EAAE,YAAY;IACrB,WAAW,EAAE,YAAY;
|
|
1
|
+
{"version":3,"file":"icon-aliases.js","sourceRoot":"","sources":["../../../../src/components/content/icon/icon-aliases.js"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,MAAM,CAAC,MAAM,OAAO,GAAG;IACtB,qBAAqB;IACrB,QAAQ,EAAE,oBAAoB;IAC9B,UAAU,EAAE,oBAAoB;IAEhC,4BAA4B;IAC5B,SAAS,EAAE,2BAA2B;IACtC,QAAQ,EAAE,2BAA2B;IACrC,MAAM,EAAE,2BAA2B;IAEnC,uBAAuB;IACvB,UAAU,EAAE,sBAAsB;IA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AAS,EAAE,cAAc;IACzB,WAAW,EAAE,cAAc;IAE3B,WAAW;IACX,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,UAAU;IAEnB,mBAAmB;IACnB,KAAK,EAAE,kBAAkB;IACzB,WAAW,EAAE,kBAAkB;IAE/B,yBAAyB;IACzB,QAAQ,EAAE,wBAAwB;IAClC,MAAM,EAAE,wBAAwB;IAEhC,kBAAkB;IAClB,OAAO,EAAE,iBAAiB;IAE1B,yBAAyB;IACzB,eAAe,EAAE,wBAAwB;IAEzC,mBAAmB;IACnB,MAAM,EAAE,kBAAkB;IAE1B,wBAAwB;IACxB,WAAW,EAAE,uBAAuB;IAEpC,kBAAkB;IAClB,OAAO,EAAE,iBAAiB;IAE1B,MAAM;IACN,KAAK,EAAE,KAAK;IACZ,YAAY,EAAE,KAAK;IAEnB,yBAAyB;IACzB,gBAAgB,EAAE,wBAAwB;IAE1C,WAAW;IACX,KAAK,EAAE,UAAU;IACjB,SAAS,EAAE,UAAU;IAErB,aAAa;IACb,YAAY,EAAE,YAAY;IAE1B,QAAQ;IACR,WAAW,EAAE,OAAO;IAEpB,QAAQ;IACR,QAAQ,EAAE,OAAO;CACjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-registry.d.ts","sourceRoot":"","sources":["../../../../src/components/content/icon/icon-registry.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"icon-registry.d.ts","sourceRoot":"","sources":["../../../../src/components/content/icon/icon-registry.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,qBA6IvB,CAAC"}
|
|
@@ -6,11 +6,12 @@ export const iconRegistry = new Map([
|
|
|
6
6
|
['arrow-down-in-bucket', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M13 3v10.586l4.293-4.293 1.414 1.414L12 17.414l-6.707-6.707 1.414-1.414L11 13.586V3zM5 16v3a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-3h2v3a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-3z\"/>\n</svg>"],
|
|
7
7
|
['arrow-left', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"m12 4-8 8 8 8 1.41-1.42L7.828 13H21v-2H7.828l5.582-5.58z\"/>\n</svg>"],
|
|
8
8
|
['arrow-right', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"m12 4 8 8-8 8-1.41-1.42L16.172 13H3v-2h13.172L10.59 5.42z\"/>\n</svg>"],
|
|
9
|
-
['arrow-u-turn-backward', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M9.4
|
|
10
|
-
['arrow-u-turn-forward', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n
|
|
9
|
+
['arrow-u-turn-backward', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M9.4 4.4 5.82 8H16a6 6 0 0 1 0 12h-4v-2h4a4 4 0 0 0 0-8H5.82l3.58 3.6L8 15 2 9l6-6z\"/>\n</svg>"],
|
|
10
|
+
['arrow-u-turn-forward', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M14.6 4.4 18.18 8H8a6 6 0 0 0 0 12h4v-2H8a4 4 0 0 1 0-8h10.18l-3.58 3.6L16 15l6-6-6-6z\"/>\n</svg>"],
|
|
11
11
|
['arrow-up', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"m4 12 8-8 8 8-1.42 1.41L13 7.828V21h-2V7.828L5.42 13.41z\"/>\n</svg>"],
|
|
12
12
|
['arrow-up-arrow-down', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"m7 3.586 5.707 5.707-1.414 1.414L8 7.414V20H6V7.414l-3.293 3.293-1.414-1.414zM18 4v12.586l3.293-3.293 1.414 1.414L17 20.414l-5.707-5.707 1.414-1.414L16 16.586V4z\"/>\n</svg>"],
|
|
13
13
|
['bold', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M12 2a6 6 0 0 1 4.9 9.45A5.98 5.98 0 0 1 13 22H5V2zM9 18h4a2 2 0 1 0 0-4H9zm0-8h3a2 2 0 1 0 0-4H9z\"/>\n</svg>"],
|
|
14
|
+
['books-vertical', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M6.5 17c.28 0 .5.22.5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1c0-.28.22-.5.5-.5z\"/>\n\t<path fill=\"currentColor\" d=\"M13 1a2 2 0 0 1 2 2v2.92q.2-.07.4-.1l1.97-.36a2 2 0 0 1 2.31 1.63l2.13 12.05a2.07 2.07 0 0 1-1.62 2.32l-1.97.35a2.07 2.07 0 0 1-2.32-1.62l-.9-5.12V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7c0-1.1.9-2 2-2h4V3c0-1.1.9-2 2-2zM4 20h4V7H4zm6 0h3V3h-3zm5.75-12.22 2.12 12.06 1.97-.35-2.13-12.06z\"/>\n</svg>"],
|
|
14
15
|
['brackets-ellipsis', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M7 6H4v12h3v2H2V4h5zM22 20h-5v-2h3V6h-3V4h5z\"/>\n\t<path fill=\"currentColor\" d=\"M7.5 13a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3M12 13a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3M16.5 13a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3\"/>\n</svg>"],
|
|
15
16
|
['bullet-list', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M4.5 16.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3M22 19H9v-2h13zM4.5 10.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3M22 13H9v-2h13zM4.5 4.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3M22 7H9V5h13z\"/>\n</svg>"],
|
|
16
17
|
['business-suitcase', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M14 2c1.66 0 3 1.34 3 3v1h2a3 3 0 0 1 3 3v9c0 1.66-1.34 3-3 3H5c-1.66 0-3-1.34-3-3V9a3 3 0 0 1 3-3h2V5a3 3 0 0 1 3-3zM5 8a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1zm5-4a1 1 0 0 0-1 1v1h6V5a1 1 0 0 0-1-1z\"/>\n</svg>"],
|
|
@@ -59,7 +60,9 @@ export const iconRegistry = new Map([
|
|
|
59
60
|
['circle-filled', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M2 12c0 5.51 4.49 10 10 10s10-4.49 10-10S17.51 2 12 2 2 6.49 2 12\"/>\n</svg>"],
|
|
60
61
|
['circle-filled-extra-small', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M8 12c0 2.204 1.796 4 4 4s4-1.796 4-4-1.796-4-4-4-4 1.796-4 4\"/>\n</svg>"],
|
|
61
62
|
['circle-filled-small', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M6 12c0 3.306 2.694 6 6 6s6-2.694 6-6-2.694-6-6-6a6.01 6.01 0 0 0-6 6\"/>\n</svg>"],
|
|
62
|
-
['clock
|
|
63
|
+
['clock', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"m13 11.59 3.24 3.24-1.41 1.41-3.54-3.53A1 1 0 0 1 11 12V6h2z\"/>\n\t<path fill=\"currentColor\" d=\"M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20m0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16\"/>\n</svg>"],
|
|
64
|
+
['clock-arrow-clockwise', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M21 8h-6V6h2.29a8 8 0 1 0 1.64 10l1.73 1a10 10 0 0 1-4.83 4.24c-2.06.8-4.26.95-6.42.42A10 10 0 1 1 19 4.86V2h2z\"/>\n\t<path fill=\"currentColor\" d=\"m13 11.59 3.24 3.24-1.41 1.41-3.54-3.53A1 1 0 0 1 11 12V6h2z\"/>\n</svg>"],
|
|
65
|
+
['clock-arrow-counter-clockwise', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M5 4.86A10 10 0 1 1 3.34 17l1.73-1A8 8 0 1 0 6.71 6H9v2H3V2h2z\"/>\n\t<path fill=\"currentColor\" d=\"m13 11.59 3.24 3.24-1.41 1.41-3.54-3.53A1 1 0 0 1 11 12V6h2z\"/>\n</svg>"],
|
|
63
66
|
['cloud', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M1 13.5a5.5 5.5 0 0 1 4.64-5.43 7 7 0 0 1 13.29 1.95A4.5 4.5 0 0 1 18.5 19v-2a2.5 2.5 0 0 0 .24-4.99l-1.57-.15-.22-1.56a5 5 0 0 0-9.5-1.4l-.44.98-1.06.16A3.5 3.5 0 0 0 6.5 17v2A5.5 5.5 0 0 1 1 13.5M18.5 17v2h-12v-2z\"/>\n</svg>"],
|
|
64
67
|
['cloud-arrow-down', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"m13 19.172 1.58-1.582L16 19l-4 4-4-4 1.42-1.41L11 19.172V10h2z\"/>\n\t<path fill=\"currentColor\" d=\"M12 2a7 7 0 0 1 6.93 6.02A4.5 4.5 0 0 1 18.5 17H15v-2h3.5a2.5 2.5 0 0 0 .241-4.988l-1.573-.15-.219-1.564a5 5 0 0 0-9.49-1.393l-.45.972-1.057.165A3.502 3.502 0 0 0 6.5 15H9v2H6.5a5.5 5.5 0 0 1-.856-10.934A7 7 0 0 1 12 2\"/>\n</svg>"],
|
|
65
68
|
['cloud-arrow-up', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"m16 12-1.42 1.41L13 11.828V21h-2v-9.172L9.42 13.41 8 12l4-4z\"/>\n\t<path fill=\"currentColor\" d=\"M12 2a7 7 0 0 1 6.93 6.02A4.5 4.5 0 0 1 18.5 17H15v-2h3.5a2.5 2.5 0 0 0 .241-4.988l-1.573-.15-.219-1.564a5 5 0 0 0-9.49-1.393l-.45.972-1.057.165A3.502 3.502 0 0 0 6.5 15H9v2H6.5a5.5 5.5 0 0 1-.856-10.934A7 7 0 0 1 12 2\"/>\n</svg>"],
|
|
@@ -78,6 +81,7 @@ export const iconRegistry = new Map([
|
|
|
78
81
|
['exclamation-triangle-filled', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M11.99 1.968a3 3 0 0 1 2.62 1.538l7.095 12.242q.035.06.062.126a3 3 0 0 1-2.76 4.125H5a3.02 3.02 0 0 1-2.538-1.387 3 3 0 0 1-.248-2.739 1 1 0 0 1 .06-.125L9.37 3.506a3 3 0 0 1 2.62-1.538M12 14a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5m-1-7v5h2V7z\"/>\n</svg>"],
|
|
79
82
|
['eye', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M12 4.5c5.012 0 9.26 3.108 11 7.5-1.74 4.392-5.988 7.5-10.999 7.5S2.739 16.392 1 12c1.74-4.392 5.988-7.5 11-7.5m0 2c-3.878 0-7.188 2.239-8.8 5.5 1.612 3.261 4.923 5.5 8.801 5.5 3.877 0 7.187-2.239 8.799-5.5-1.613-3.261-4.923-5.5-8.8-5.5m0 1a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5\"/>\n</svg>"],
|
|
80
83
|
['eye-slash', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"m21.004 19.59-1.414 1.414L3 4.414 4.414 3zM5.837 8.665C4.717 9.563 3.843 10.7 3.2 12c1.612 3.261 4.923 5.5 8.801 5.5.82 0 1.617-.102 2.38-.291l1.603 1.604a11.8 11.8 0 0 1-3.983.687C6.989 19.5 2.739 16.392 1 12a11.8 11.8 0 0 1 3.416-4.756zM12 4.5c5.012 0 9.26 3.108 11 7.5a11.8 11.8 0 0 1-3.416 4.756l-1.422-1.422c1.12-.898 1.995-2.034 2.638-3.334-1.613-3.261-4.923-5.5-8.8-5.5-.821 0-1.619.1-2.382.29L8.015 5.187A11.8 11.8 0 0 1 12 4.5\"/>\n\t<path fill=\"currentColor\" d=\"M9.527 12.356a2.5 2.5 0 0 0 2.117 2.116l1.791 1.792a4.5 4.5 0 0 1-5.7-5.7zM12 7.5a4.5 4.5 0 0 1 4.264 5.935l-1.792-1.791a2.5 2.5 0 0 0-2.117-2.117l-1.792-1.792A4.5 4.5 0 0 1 12 7.5\"/>\n</svg>"],
|
|
84
|
+
['eyeglasses', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M18 6a5 5 0 0 1 4.45 3H24v2h-1.02l.02.5c0 3.04-2.24 5.5-5 5.5s-5-2.46-5-5.5l.01-.4a6 6 0 0 0-2.03 0l.02.4c0 3.04-2.24 5.5-5 5.5s-5-2.46-5-5.5q0-.26.02-.5H0V9h1.55C2.37 7.22 4.05 6 6 6c2 0 3.71 1.28 4.52 3.14a8 8 0 0 1 2.96 0A5 5 0 0 1 18 6M6 8c-1.48 0-3 1.38-3 3.5S4.52 15 6 15s3-1.38 3-3.5S7.48 8 6 8m12 0c-1.48 0-3 1.38-3 3.5s1.52 3.5 3 3.5 3-1.38 3-3.5S19.48 8 18 8\"/>\n</svg>"],
|
|
81
85
|
['face-frowning', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20m0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16m0 8.87c1.78 0 3.5.81 4.63 2.18.35.43.18 1.04-.3 1.32s-1.08.1-1.47-.3a4 4 0 0 0-2.86-1.2c-1.07 0-2.12.45-2.86 1.2-.39.4-1 .58-1.47.3-.48-.28-.65-.9-.3-1.32A6 6 0 0 1 12 12.87M9.5 8a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3\"/>\n</svg>"],
|
|
82
86
|
['face-smiling', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M14.86 13.8c.39-.4 1-.58 1.47-.3.48.28.65.9.3 1.32A6 6 0 0 1 12 17c-1.77 0-3.5-.82-4.63-2.18-.35-.43-.18-1.04.3-1.32s1.08-.1 1.47.3c.74.75 1.8 1.2 2.86 1.2 1.07 0 2.12-.45 2.86-1.2M9.5 8a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3M14.5 8a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3\"/>\n\t<path fill=\"currentColor\" d=\"M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20m0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16\"/>\n</svg>"],
|
|
83
87
|
['face-smiling-badge-plus', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M18 13a5 5 0 1 1 0 10 5 5 0 0 1 0-10M12 2a10 10 0 0 1 9.9 11.44 6 6 0 0 0-1.91-1.1L20 12a8 8 0 1 0-8 8l.34-.01q.38 1.06 1.1 1.9-.7.1-1.44.11a10 10 0 0 1 0-20m5.25 15.25H15v1.5h2.25V21h1.5v-2.25H21v-1.5h-2.25V15h-1.5zM7.67 13.5c.48-.28 1.08-.1 1.47.3a4 4 0 0 0 3.72 1.1 6 6 0 0 0-.77 2.1H12c-1.77 0-3.5-.82-4.63-2.18-.35-.43-.18-1.04.3-1.32M9.5 8a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3\"/>\n</svg>"],
|
|
@@ -115,8 +119,8 @@ export const iconRegistry = new Map([
|
|
|
115
119
|
['photo', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M9 8a2 2 0 1 1 0 4 2 2 0 0 1 0-4\"/>\n\t<path fill=\"currentColor\" d=\"M19 4a3 3 0 0 1 3 3v10c0 1.666-1.33 3-3 3H5c-1.66 0-3-1.334-3-3V7a3 3 0 0 1 3-3zM5 6a1 1 0 0 0-1 1v9l1.94-1.94a1.5 1.5 0 0 1 2.12 0l1.956 1.956 4.617-4.472a1.5 1.5 0 0 1 2.122.034L20 14.932V7a1 1 0 0 0-1-1z\"/>\n</svg>"],
|
|
116
120
|
['plus', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M13 11h9v2h-9v9h-2v-9H2v-2h9V2h2z\"/>\n</svg>"],
|
|
117
121
|
['plus-small', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M13 11h7v2h-7v7h-2v-7H4v-2h7V4h2z\"/>\n</svg>"],
|
|
118
|
-
['puzzle-piece', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"
|
|
119
|
-
['puzzle-piece-filled', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M11
|
|
122
|
+
['puzzle-piece', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M11 1a3.5 3.5 0 0 1 3.5 3.5v.75c0 .14.11.25.25.25H18a1 1 0 0 1 1 1v2.75q.02.23.25.25h.25a3.5 3.5 0 1 1 0 7h-.25a.25.25 0 0 0-.25.25v3.75a1 1 0 0 1-1 1h-4.75a.25.25 0 0 1-.25-.25V20a1.5 1.5 0 0 0-3 0v1.25q-.02.23-.25.25H4a1 1 0 0 1-1-1v-5.75c0-.14.11-.25.25-.25H4.5a1.5 1.5 0 0 0 0-3H3.25a.25.25 0 0 1-.25-.25V6.5a1 1 0 0 1 1-1h3.25c.14 0 .25-.11.25-.25V4.5A3.5 3.5 0 0 1 11 1m0 2c-.83 0-1.5.67-1.5 1.5v.75c0 1.24-1 2.25-2.25 2.25H5v2.04a3.5 3.5 0 0 1 0 6.92v3.04h3.04a3.5 3.5 0 0 1 6.92 0H17v-2.75c0-1.24 1-2.25 2.25-2.25h.25a1.5 1.5 0 0 0 0-3h-.25c-1.24 0-2.25-1-2.25-2.25V7.5h-2.25c-1.24 0-2.25-1-2.25-2.25V4.5c0-.83-.67-1.5-1.5-1.5\"/>\n</svg>"],
|
|
123
|
+
['puzzle-piece-filled', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M11 1.5A2.5 2.5 0 0 1 13.5 4v.75c0 .14.11.25.25.25H18a1 1 0 0 1 1 1v3.75q.02.23.25.25H20a2.5 2.5 0 0 1 0 5h-.75a.25.25 0 0 0-.25.25V20a1 1 0 0 1-1 1h-4.25a.25.25 0 0 1-.25-.25V19.5a2.5 2.5 0 0 0-5 0v1.25q-.02.23-.25.25H4a1 1 0 0 1-1-1v-4.25c0-.14.11-.25.25-.25H4.5a2.5 2.5 0 0 0 0-5H3.25a.25.25 0 0 1-.25-.25V6a1 1 0 0 1 1-1h4.25c.14 0 .25-.11.25-.25V4A2.5 2.5 0 0 1 11 1.5\"/>\n</svg>"],
|
|
120
124
|
['question-mark-circle', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M12 15.5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5m-.34-9.48a3.5 3.5 0 0 1 2.82 5.95l-1.19 1.2a1 1 0 0 0-.3.7v.65H11v-.64a3 3 0 0 1 .88-2.13l1.19-1.18a1.5 1.5 0 1 0-2.58-1.07H8.5a3.5 3.5 0 0 1 3.16-3.48\"/>\n\t<path fill=\"currentColor\" d=\"M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20m0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16\"/>\n</svg>"],
|
|
121
125
|
['rectangle-stack', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M19 8a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-8a3 3 0 0 1 3-3zM5 10a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1z\"/>\n\t<path fill=\"currentColor\" d=\"M18 5a2 2 0 0 1 2 2H4c0-1.1.9-2 2-2zM16 2a2 2 0 0 1 2 2H6c0-1.1.9-2 2-2z\"/>\n</svg>"],
|
|
122
126
|
['shield-check-mark', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"m16.41 9.41-5.2 5.21L8 11.42 9.41 10l1.8 1.8L15 8z\"/>\n\t<path fill=\"currentColor\" d=\"M20.39 4.83A14 14 0 0 1 12 22 14 14 0 0 1 3.62 4.8L12 2zM5.28 6.35A12 12 0 0 0 12 19.83a12 12 0 0 0 6.73-13.45L12 4.1z\"/>\n</svg>"],
|
|
@@ -126,7 +130,9 @@ export const iconRegistry = new Map([
|
|
|
126
130
|
['square-and-arrow-right', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M13 9V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1v-2h2v2a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h7a3 3 0 0 1 3 3v2z\"/>\n\t<path fill=\"currentColor\" d=\"M18.41 16.59 17 15.17 19.17 13H8v-2h11.17L17 8.83l1.41-1.42L23 12z\"/>\n</svg>"],
|
|
127
131
|
['square-arrow-right-top', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M11.772 8H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-6.765l2-2V19c0 1.66-1.34 3-3 3H5c-1.66 0-3-1.34-3-3V9a3 3 0 0 1 3-3h8.772z\"/>\n\t<path fill=\"currentColor\" d=\"M22 11h-2V5.407l-9.296 9.296L9.3 13.3 18.6 4H13V2h9z\"/>\n</svg>"],
|
|
128
132
|
['square-arrow-up', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M9 11H7a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1h-2V9h2a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3H7c-1.66 0-3-1.34-3-3v-7a3 3 0 0 1 3-3h2z\"/>\n\t<path fill=\"currentColor\" d=\"M16.59 5.59 15.17 7 13 4.828V16h-2V4.828L8.83 7 7.41 5.59 12 1z\"/>\n</svg>"],
|
|
133
|
+
['square-on-square', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M18 5v1h1c1.66 0 3 1.34 3 3v10c0 1.658-1.308 3-3 3H9c-1.66 0-3-1.34-3-3v-1H5c-1.66 0-3-1.34-3-3V5a3 3 0 0 1 3-3h10c1.66 0 3 1.34 3 3M9 8a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1zM5 4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1V9a3 3 0 0 1 3-3h7V5a1 1 0 0 0-1-1z\"/>\n</svg>"],
|
|
129
134
|
['square-plus-on-square', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M15 13h3v2h-3v3h-2v-3h-3v-2h3v-3h2z\"/>\n\t<path fill=\"currentColor\" d=\"M18 5v1h1c1.66 0 3 1.34 3 3v10c0 1.658-1.308 3-3 3H9c-1.66 0-3-1.34-3-3v-1H5c-1.66 0-3-1.34-3-3V5a3 3 0 0 1 3-3h10c1.66 0 3 1.34 3 3M9 8a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1zM5 4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1V9a3 3 0 0 1 3-3h7V5a1 1 0 0 0-1-1z\"/>\n</svg>"],
|
|
135
|
+
['starburst-filled', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M11.17 1.48a.95.95 0 0 1 1.66 0l.87 1.55c.26.47.85.63 1.31.36l1.53-.91a.95.95 0 0 1 1.44.83l-.03 1.77c0 .54.43.97.97.97l1.77-.03c.75 0 1.21.8.83 1.44l-.9 1.53a.95.95 0 0 0 .35 1.31l1.55.87a.95.95 0 0 1 0 1.66l-1.55.87A.95.95 0 0 0 20.6 15l.91 1.53a.95.95 0 0 1-.83 1.44l-1.77-.03a.95.95 0 0 0-.97.97l.03 1.77a.95.95 0 0 1-1.44.83l-1.53-.9a.95.95 0 0 0-1.31.35l-.87 1.55a.95.95 0 0 1-1.66 0l-.87-1.55A.95.95 0 0 0 9 20.6l-1.53.91a.95.95 0 0 1-1.44-.83l.03-1.77a.95.95 0 0 0-.97-.97l-1.77.03a.95.95 0 0 1-.83-1.44l.9-1.53a.95.95 0 0 0-.35-1.31l-1.55-.87a.95.95 0 0 1 0-1.66l1.55-.87A.95.95 0 0 0 3.4 9l-.91-1.53a.95.95 0 0 1 .83-1.44l1.77.03c.54 0 .97-.43.97-.97l-.03-1.77a.95.95 0 0 1 1.44-.83l1.53.9a.95.95 0 0 0 1.31-.35z\"/>\n</svg>"],
|
|
130
136
|
['sun', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M13 22h-2v-3.07c.65.09 1.35.09 2 0zM6.4 16.2q.6.8 1.4 1.4l-2.16 2.18-1.42-1.42zM19.78 18.36l-1.42 1.42-2.17-2.17q.8-.6 1.42-1.42z\"/>\n\t<path fill=\"currentColor\" d=\"M12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10m0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6\"/>\n\t<path fill=\"currentColor\" d=\"M5.07 11c-.1.65-.1 1.35 0 2H2v-2zM22 13h-3.07c.1-.65.1-1.35 0-2H22zM7.8 6.4Q7 7 6.4 7.8L4.21 5.65l1.42-1.42zM19.78 5.64 17.6 7.8a7 7 0 0 0-1.42-1.42l2.17-2.17zM13 5.07c-.65-.1-1.35-.1-2 0V2h2z\"/>\n</svg>"],
|
|
131
137
|
['table-badge-arrow-down', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"M18 13a5 5 0 1 1 0 10 5 5 0 0 1 0-10m-.75 5.38-1.49-1.49-1.06 1.06 3.3 3.3 3.3-3.3-1.06-1.06-1.49 1.49V15h-1.5z\"/>\n\t<path fill=\"currentColor\" d=\"M18 4c1.57 0 3 1.34 3 3v5.8q-.94-.53-2-.72v-1.33h-6v2.5h1.34a6.05 6.05 0 0 0-2 6.75H6a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3zM5 17a1 1 0 0 0 1 1h5v-2.75H5zm0-3.75h6v-2.5H5zM6 6a1 1 0 0 0-1 1v1.75h6V6zm7 2.75h6V7a1 1 0 0 0-1-1h-5z\"/>\n</svg>"],
|
|
132
138
|
['terminal', "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t<path fill=\"currentColor\" d=\"m11.4 12-4 4L6 14.6 8.57 12 6 9.4 7.4 8zM18 16h-6v-2h6z\"/>\n\t<path fill=\"currentColor\" d=\"M19 4a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3zM5 6a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1z\"/>\n</svg>"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-registry.js","sourceRoot":"","sources":["../../../../src/components/content/icon/icon-registry.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAE9E,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,GAAG,CAAiB;IACnD,CAAC,oBAAoB,EAAE,kVAAkV,CAAC;IAC1W,CAAC,2BAA2B,EAAE,sPAAsP,CAAC;IACrR,CAAC,YAAY,EAAE,2KAA2K,CAAC;IAC3L,CAAC,sBAAsB,EAAE,qRAAqR,CAAC;IAC/S,CAAC,YAAY,EAAE,0KAA0K,CAAC;IAC1L,CAAC,aAAa,EAAE,2KAA2K,CAAC;IAC5L,CAAC,uBAAuB,EAAE,
|
|
1
|
+
{"version":3,"file":"icon-registry.js","sourceRoot":"","sources":["../../../../src/components/content/icon/icon-registry.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAE9E,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,GAAG,CAAiB;IACnD,CAAC,oBAAoB,EAAE,kVAAkV,CAAC;IAC1W,CAAC,2BAA2B,EAAE,sPAAsP,CAAC;IACrR,CAAC,YAAY,EAAE,2KAA2K,CAAC;IAC3L,CAAC,sBAAsB,EAAE,qRAAqR,CAAC;IAC/S,CAAC,YAAY,EAAE,0KAA0K,CAAC;IAC1L,CAAC,aAAa,EAAE,2KAA2K,CAAC;IAC5L,CAAC,uBAAuB,EAAE,qMAAqM,CAAC;IAChO,CAAC,sBAAsB,EAAE,wMAAwM,CAAC;IAClO,CAAC,UAAU,EAAE,0KAA0K,CAAC;IACxL,CAAC,qBAAqB,EAAE,mRAAmR,CAAC;IAC5S,CAAC,MAAM,EAAE,oNAAoN,CAAC;IAC9N,CAAC,gBAAgB,EAAE,qgBAAqgB,CAAC;IACzhB,CAAC,mBAAmB,EAAE,uUAAuU,CAAC;IAC9V,CAAC,aAAa,EAAE,mSAAmS,CAAC;IACpT,CAAC,mBAAmB,EAAE,kVAAkV,CAAC;IACzW,CAAC,gBAAgB,EAAE,mXAAmX,CAAC;IACvY,CAAC,YAAY,EAAE,kI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CAAC;IACzQ,CAAC,OAAO,EAAE,mWAAmW,CAAC;IAC9W,CAAC,YAAY,EAAE,6MAA6M,CAAC;CAC7N,CAAC,CAAC"}
|
|
@@ -8,23 +8,45 @@
|
|
|
8
8
|
* verborgen omdat hij niet aanroepbaar is. Gebruik het `always-visible` attribuut
|
|
9
9
|
* wanneer de shortcut puur informatief is en altijd zichtbaar moet blijven.
|
|
10
10
|
*
|
|
11
|
+
* Voor cross-platform shortcuts kunnen `mac-keys`, `windows-keys` en `linux-keys`
|
|
12
|
+
* worden gezet — het component picks de juiste op basis van de gedetecteerde OS,
|
|
13
|
+
* met `keys` als fallback voor onbekende platforms.
|
|
14
|
+
*
|
|
11
15
|
* @element nldd-keyboard-shortcut
|
|
12
16
|
* @attr {string} keys - Toetsen gescheiden door '+' (bijv. 'Cmd+K' of 'Ctrl+Shift+P').
|
|
13
17
|
* Gebruik '+++' voor een letterlijke '+' toets: 'Ctrl+++' wordt 'Ctrl' + '+'.
|
|
14
18
|
* Voor complexere scenario's (bijv. combo met meerdere '+' keys) kun je in plaats
|
|
15
19
|
* van het keys-attribuut de default slot gebruiken met eigen <kbd> elementen.
|
|
20
|
+
* @attr {string} mac-keys - Optionele override voor macOS (incl. iPhone/iPad/iPod).
|
|
21
|
+
* @attr {string} windows-keys - Optionele override voor Windows.
|
|
22
|
+
* @attr {string} linux-keys - Optionele override voor Linux/ChromeOS.
|
|
16
23
|
* @attr {string} size - Grootte: 'sm' | 'md' (default: 'md')
|
|
17
24
|
* @attr {boolean} always-visible - Toon ook op touch-only devices waar shortcuts niet aanroepbaar zijn.
|
|
18
25
|
*
|
|
19
26
|
* @slot - Optionele custom <kbd>-elementen. Wordt genegeerd als keys is opgegeven.
|
|
20
27
|
*/
|
|
21
28
|
import { LitElement } from 'lit';
|
|
29
|
+
import { type OS } from '../../../utilities/os.js';
|
|
22
30
|
type Size = 'sm' | 'md';
|
|
23
31
|
export declare class NLDDKeyboardShortcut extends LitElement {
|
|
24
32
|
static styles: import("lit").CSSResult;
|
|
25
33
|
keys: string;
|
|
34
|
+
macKeys: string;
|
|
35
|
+
windowsKeys: string;
|
|
36
|
+
linuxKeys: string;
|
|
26
37
|
size: Size;
|
|
27
38
|
alwaysVisible: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* @internal — development only.
|
|
41
|
+
*
|
|
42
|
+
* Per-instance OS override that bypasses `detectOS()`. Same pattern as
|
|
43
|
+
* `debug-safe-triangle` on `nldd-menu`: useful in Storybook stories or
|
|
44
|
+
* documentation comparisons where you need different instances on the
|
|
45
|
+
* page to render as different operating systems. Don't ship this in
|
|
46
|
+
* production markup — production should rely on real OS detection.
|
|
47
|
+
*/
|
|
48
|
+
debugOS: OS | '';
|
|
49
|
+
get _resolvedKeys(): string;
|
|
28
50
|
get _parsedKeys(): string[];
|
|
29
51
|
render(): import("lit-html").TemplateResult<1>;
|
|
30
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard-shortcut.d.ts","sourceRoot":"","sources":["../../../../src/components/content/keyboard-shortcut/keyboard-shortcut.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"keyboard-shortcut.d.ts","sourceRoot":"","sources":["../../../../src/components/content/keyboard-shortcut/keyboard-shortcut.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAE7D,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAExB,qBACa,oBAAqB,SAAQ,UAAU;IACnD,OAAgB,MAAM,0BAA0B;IAGhD,IAAI,SAAM;IAGV,OAAO,SAAM;IAGb,WAAW,SAAM;IAGjB,SAAS,SAAM;IAGf,IAAI,EAAE,IAAI,CAAQ;IAGlB,aAAa,UAAS;IAEtB;;;;;;;;OAQG;IAEH,OAAO,EAAE,EAAE,GAAG,EAAE,CAAM;IAEtB,IAAI,aAAa,IAAI,MAAM,CAM1B;IAED,IAAI,WAAW,IAAI,MAAM,EAAE,CAU1B;IAEQ,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,wBAAwB,EAAE,oBAAoB,CAAC;KAC/C;CACD"}
|
|
@@ -8,11 +8,18 @@
|
|
|
8
8
|
* verborgen omdat hij niet aanroepbaar is. Gebruik het `always-visible` attribuut
|
|
9
9
|
* wanneer de shortcut puur informatief is en altijd zichtbaar moet blijven.
|
|
10
10
|
*
|
|
11
|
+
* Voor cross-platform shortcuts kunnen `mac-keys`, `windows-keys` en `linux-keys`
|
|
12
|
+
* worden gezet — het component picks de juiste op basis van de gedetecteerde OS,
|
|
13
|
+
* met `keys` als fallback voor onbekende platforms.
|
|
14
|
+
*
|
|
11
15
|
* @element nldd-keyboard-shortcut
|
|
12
16
|
* @attr {string} keys - Toetsen gescheiden door '+' (bijv. 'Cmd+K' of 'Ctrl+Shift+P').
|
|
13
17
|
* Gebruik '+++' voor een letterlijke '+' toets: 'Ctrl+++' wordt 'Ctrl' + '+'.
|
|
14
18
|
* Voor complexere scenario's (bijv. combo met meerdere '+' keys) kun je in plaats
|
|
15
19
|
* van het keys-attribuut de default slot gebruiken met eigen <kbd> elementen.
|
|
20
|
+
* @attr {string} mac-keys - Optionele override voor macOS (incl. iPhone/iPad/iPod).
|
|
21
|
+
* @attr {string} windows-keys - Optionele override voor Windows.
|
|
22
|
+
* @attr {string} linux-keys - Optionele override voor Linux/ChromeOS.
|
|
16
23
|
* @attr {string} size - Grootte: 'sm' | 'md' (default: 'md')
|
|
17
24
|
* @attr {boolean} always-visible - Toon ook op touch-only devices waar shortcuts niet aanroepbaar zijn.
|
|
18
25
|
*
|
|
@@ -28,19 +35,44 @@ import { LitElement } from 'lit';
|
|
|
28
35
|
import { customElement, property } from 'lit/decorators.js';
|
|
29
36
|
import { keyboardShortcutStyles } from './keyboard-shortcut.styles.js';
|
|
30
37
|
import { template } from './keyboard-shortcut.template.js';
|
|
38
|
+
import { detectOS } from '../../../utilities/os.js';
|
|
31
39
|
let NLDDKeyboardShortcut = class NLDDKeyboardShortcut extends LitElement {
|
|
32
40
|
constructor() {
|
|
33
41
|
super(...arguments);
|
|
34
42
|
this.keys = '';
|
|
43
|
+
this.macKeys = '';
|
|
44
|
+
this.windowsKeys = '';
|
|
45
|
+
this.linuxKeys = '';
|
|
35
46
|
this.size = 'md';
|
|
36
47
|
this.alwaysVisible = false;
|
|
48
|
+
/**
|
|
49
|
+
* @internal — development only.
|
|
50
|
+
*
|
|
51
|
+
* Per-instance OS override that bypasses `detectOS()`. Same pattern as
|
|
52
|
+
* `debug-safe-triangle` on `nldd-menu`: useful in Storybook stories or
|
|
53
|
+
* documentation comparisons where you need different instances on the
|
|
54
|
+
* page to render as different operating systems. Don't ship this in
|
|
55
|
+
* production markup — production should rely on real OS detection.
|
|
56
|
+
*/
|
|
57
|
+
this.debugOS = '';
|
|
58
|
+
}
|
|
59
|
+
get _resolvedKeys() {
|
|
60
|
+
const os = this.debugOS || detectOS();
|
|
61
|
+
if (os === 'mac' && this.macKeys)
|
|
62
|
+
return this.macKeys;
|
|
63
|
+
if (os === 'windows' && this.windowsKeys)
|
|
64
|
+
return this.windowsKeys;
|
|
65
|
+
if (os === 'linux' && this.linuxKeys)
|
|
66
|
+
return this.linuxKeys;
|
|
67
|
+
return this.keys;
|
|
37
68
|
}
|
|
38
69
|
get _parsedKeys() {
|
|
39
|
-
|
|
70
|
+
const spec = this._resolvedKeys;
|
|
71
|
+
if (!spec)
|
|
40
72
|
return [];
|
|
41
73
|
// '+++' encodes a literal '+' key between separators: Ctrl+++a → [Ctrl, +, a]
|
|
42
74
|
const MARKER = '\u0000';
|
|
43
|
-
return
|
|
75
|
+
return spec
|
|
44
76
|
.replace(/\+\+\+/g, `+${MARKER}+`)
|
|
45
77
|
.split('+')
|
|
46
78
|
.map(k => k.trim().replace(new RegExp(MARKER, 'g'), '+'))
|
|
@@ -54,12 +86,24 @@ NLDDKeyboardShortcut.styles = keyboardShortcutStyles;
|
|
|
54
86
|
__decorate([
|
|
55
87
|
property({ type: String })
|
|
56
88
|
], NLDDKeyboardShortcut.prototype, "keys", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
property({ type: String, attribute: 'mac-keys' })
|
|
91
|
+
], NLDDKeyboardShortcut.prototype, "macKeys", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
property({ type: String, attribute: 'windows-keys' })
|
|
94
|
+
], NLDDKeyboardShortcut.prototype, "windowsKeys", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
property({ type: String, attribute: 'linux-keys' })
|
|
97
|
+
], NLDDKeyboardShortcut.prototype, "linuxKeys", void 0);
|
|
57
98
|
__decorate([
|
|
58
99
|
property({ type: String, reflect: true })
|
|
59
100
|
], NLDDKeyboardShortcut.prototype, "size", void 0);
|
|
60
101
|
__decorate([
|
|
61
102
|
property({ type: Boolean, reflect: true, attribute: 'always-visible' })
|
|
62
103
|
], NLDDKeyboardShortcut.prototype, "alwaysVisible", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
property({ type: String, attribute: 'debug-os' })
|
|
106
|
+
], NLDDKeyboardShortcut.prototype, "debugOS", void 0);
|
|
63
107
|
NLDDKeyboardShortcut = __decorate([
|
|
64
108
|
customElement('nldd-keyboard-shortcut')
|
|
65
109
|
], NLDDKeyboardShortcut);
|