@getflip/swirl-components 0.403.0 → 0.404.0
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/components.json +84 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/swirl-app-layout_5.cjs.entry.js +4 -2
- package/dist/cjs/swirl-components.cjs.js +1 -1
- package/dist/cjs/swirl-icon-arrow-left_4.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-error_3.cjs.entry.js +1 -1
- package/dist/cjs/swirl-search.cjs.entry.js +1 -1
- package/dist/cjs/swirl-shell-layout.cjs.entry.js +6 -6
- package/dist/cjs/swirl-shell-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/swirl-skeleton-box.cjs.entry.js +2 -2
- package/dist/cjs/swirl-skeleton-text.cjs.entry.js +1 -1
- package/dist/cjs/swirl-status-indicator.cjs.entry.js +1 -1
- package/dist/cjs/swirl-switch.cjs.entry.js +2 -2
- package/dist/cjs/swirl-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/swirl-tab.cjs.entry.js +1 -1
- package/dist/cjs/swirl-table-column.cjs.entry.js +1 -1
- package/dist/cjs/swirl-table.cjs.entry.js +1 -1
- package/dist/cjs/swirl-tag.cjs.entry.js +1 -1
- package/dist/cjs/swirl-text.cjs.entry.js +1 -1
- package/dist/cjs/swirl-toast-provider.cjs.entry.js +1 -1
- package/dist/cjs/swirl-toast.cjs.entry.js +1 -1
- package/dist/cjs/swirl-toggle-group.cjs.entry.js +1 -1
- package/dist/cjs/swirl-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/swirl-tooltip.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/swirl-resource-list-item/swirl-resource-list-item.css +0 -1
- package/dist/collection/components/swirl-resource-list-item/swirl-resource-list-item.js +48 -1
- package/dist/collection/components/swirl-search/swirl-search.js +1 -1
- package/dist/collection/components/swirl-shell-layout/swirl-shell-layout.js +6 -6
- package/dist/collection/components/swirl-shell-navigation-item/swirl-shell-navigation-item.js +2 -2
- package/dist/collection/components/swirl-skeleton-box/swirl-skeleton-box.js +2 -2
- package/dist/collection/components/swirl-skeleton-text/swirl-skeleton-text.js +1 -1
- package/dist/collection/components/swirl-spinner/swirl-spinner.js +1 -1
- package/dist/collection/components/swirl-status-indicator/swirl-status-indicator.js +1 -1
- package/dist/collection/components/swirl-switch/swirl-switch.js +2 -2
- package/dist/collection/components/swirl-tab/swirl-tab.js +1 -1
- package/dist/collection/components/swirl-tab-bar/swirl-tab-bar.js +1 -1
- package/dist/collection/components/swirl-table/swirl-table.js +1 -1
- package/dist/collection/components/swirl-table-column/swirl-table-column.js +1 -1
- package/dist/collection/components/swirl-tag/swirl-tag.js +1 -1
- package/dist/collection/components/swirl-text/swirl-text.js +1 -1
- package/dist/collection/components/swirl-thumbnail/swirl-thumbnail.js +1 -1
- package/dist/collection/components/swirl-toast/swirl-toast.js +1 -1
- package/dist/collection/components/swirl-toast-provider/swirl-toast-provider.js +1 -1
- package/dist/collection/components/swirl-toggle-group/swirl-toggle-group.js +1 -1
- package/dist/collection/components/swirl-toolbar/swirl-toolbar.js +1 -1
- package/dist/collection/components/swirl-tooltip/swirl-tooltip.js +2 -2
- package/dist/components/assets/pdfjs/pdf.worker.min.mjs +1 -1
- package/dist/components/file-manager.js +64 -58
- package/dist/components/swirl-resource-list-item2.js +20 -10
- package/dist/components/swirl-search.js +1 -1
- package/dist/components/swirl-shell-layout.js +6 -6
- package/dist/components/swirl-shell-navigation-item.js +2 -2
- package/dist/components/swirl-skeleton-box2.js +2 -2
- package/dist/components/swirl-skeleton-text.js +1 -1
- package/dist/components/swirl-spinner2.js +1 -1
- package/dist/components/swirl-status-indicator.js +1 -1
- package/dist/components/swirl-switch.js +2 -2
- package/dist/components/swirl-tab-bar2.js +1 -1
- package/dist/components/swirl-tab.js +1 -1
- package/dist/components/swirl-table-column.js +1 -1
- package/dist/components/swirl-table.js +1 -1
- package/dist/components/swirl-tag2.js +1 -1
- package/dist/components/swirl-text2.js +1 -1
- package/dist/components/swirl-thumbnail2.js +1 -1
- package/dist/components/swirl-toast-provider.js +1 -1
- package/dist/components/swirl-toast2.js +1 -1
- package/dist/components/swirl-toggle-group.js +1 -1
- package/dist/components/swirl-toolbar.js +1 -1
- package/dist/components/swirl-tooltip2.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/swirl-app-layout_5.entry.js +4 -2
- package/dist/esm/swirl-components.js +1 -1
- package/dist/esm/swirl-icon-arrow-left_4.entry.js +1 -1
- package/dist/esm/swirl-icon-error_3.entry.js +1 -1
- package/dist/esm/swirl-search.entry.js +1 -1
- package/dist/esm/swirl-shell-layout.entry.js +6 -6
- package/dist/esm/swirl-shell-navigation-item.entry.js +2 -2
- package/dist/esm/swirl-skeleton-box.entry.js +2 -2
- package/dist/esm/swirl-skeleton-text.entry.js +1 -1
- package/dist/esm/swirl-status-indicator.entry.js +1 -1
- package/dist/esm/swirl-switch.entry.js +2 -2
- package/dist/esm/swirl-tab-bar.entry.js +1 -1
- package/dist/esm/swirl-tab.entry.js +1 -1
- package/dist/esm/swirl-table-column.entry.js +1 -1
- package/dist/esm/swirl-table.entry.js +1 -1
- package/dist/esm/swirl-tag.entry.js +1 -1
- package/dist/esm/swirl-text.entry.js +1 -1
- package/dist/esm/swirl-toast-provider.entry.js +1 -1
- package/dist/esm/swirl-toast.entry.js +1 -1
- package/dist/esm/swirl-toggle-group.entry.js +1 -1
- package/dist/esm/swirl-toolbar.entry.js +1 -1
- package/dist/esm/swirl-tooltip.entry.js +2 -2
- package/dist/swirl-components/{p-25a0bc6f.entry.js → p-0d86713d.entry.js} +1 -1
- package/dist/swirl-components/{p-93bb3365.entry.js → p-251853c7.entry.js} +2 -2
- package/dist/swirl-components/{p-b23edf69.entry.js → p-2dd48f2d.entry.js} +1 -1
- package/dist/swirl-components/{p-046c85df.entry.js → p-2fbbff16.entry.js} +1 -1
- package/dist/swirl-components/{p-b98cc8ee.entry.js → p-32205cb6.entry.js} +1 -1
- package/dist/swirl-components/{p-00b0bcdf.entry.js → p-4fe92179.entry.js} +1 -1
- package/dist/swirl-components/{p-362cf5cd.entry.js → p-525eccb7.entry.js} +1 -1
- package/dist/swirl-components/{p-66f57e69.entry.js → p-6058e144.entry.js} +1 -1
- package/dist/swirl-components/{p-900b7395.entry.js → p-61f63eb1.entry.js} +1 -1
- package/dist/swirl-components/p-6294b4b8.entry.js +1 -0
- package/dist/swirl-components/{p-68f1fc93.entry.js → p-8e15adb5.entry.js} +1 -1
- package/dist/swirl-components/{p-25937c0c.entry.js → p-9116eac5.entry.js} +1 -1
- package/dist/swirl-components/{p-38205c0f.entry.js → p-91d81ff7.entry.js} +1 -1
- package/dist/swirl-components/{p-e79a2b2f.entry.js → p-b56f08dd.entry.js} +1 -1
- package/dist/swirl-components/{p-55342fef.entry.js → p-bb3bf811.entry.js} +1 -1
- package/dist/swirl-components/{p-62a94658.entry.js → p-d8201d5b.entry.js} +1 -1
- package/dist/swirl-components/{p-a3709d0e.entry.js → p-d82c10a6.entry.js} +1 -1
- package/dist/swirl-components/{p-5067665a.entry.js → p-e24e9424.entry.js} +1 -1
- package/dist/swirl-components/{p-fef8e82f.entry.js → p-e8c9b581.entry.js} +1 -1
- package/dist/swirl-components/{p-f4cd2bc8.entry.js → p-eccc6946.entry.js} +1 -1
- package/dist/swirl-components/{p-db2de234.entry.js → p-f49848d1.entry.js} +1 -1
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/dist/types/components/swirl-resource-list-item/swirl-resource-list-item.d.ts +3 -0
- package/dist/types/components.d.ts +16 -4
- package/package.json +1 -1
- package/vscode-data.json +22 -0
- package/dist/swirl-components/p-da93355a.entry.js +0 -1
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$
|
|
3
|
-
import { d as defineCustomElement$
|
|
4
|
-
import { d as defineCustomElement$
|
|
5
|
-
import { d as defineCustomElement$
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
20
|
-
import { d as defineCustomElement$
|
|
21
|
-
import { d as defineCustomElement$
|
|
22
|
-
import { d as defineCustomElement$
|
|
23
|
-
import { d as defineCustomElement$
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$
|
|
28
|
-
import { d as defineCustomElement$
|
|
29
|
-
import { d as defineCustomElement$
|
|
30
|
-
import { d as defineCustomElement$
|
|
2
|
+
import { d as defineCustomElement$w } from './swirl-app-layout2.js';
|
|
3
|
+
import { d as defineCustomElement$v } from './swirl-box2.js';
|
|
4
|
+
import { d as defineCustomElement$u } from './swirl-button2.js';
|
|
5
|
+
import { d as defineCustomElement$t } from './swirl-empty-state2.js';
|
|
6
|
+
import { d as defineCustomElement$s } from './swirl-file-viewer2.js';
|
|
7
|
+
import { d as defineCustomElement$r } from './swirl-file-viewer-audio2.js';
|
|
8
|
+
import { d as defineCustomElement$q } from './swirl-file-viewer-csv2.js';
|
|
9
|
+
import { d as defineCustomElement$p } from './swirl-file-viewer-fallback2.js';
|
|
10
|
+
import { d as defineCustomElement$o } from './swirl-file-viewer-image2.js';
|
|
11
|
+
import { d as defineCustomElement$n } from './swirl-file-viewer-pdf2.js';
|
|
12
|
+
import { d as defineCustomElement$m } from './swirl-file-viewer-text2.js';
|
|
13
|
+
import { d as defineCustomElement$l } from './swirl-file-viewer-video2.js';
|
|
14
|
+
import { d as defineCustomElement$k } from './swirl-heading2.js';
|
|
15
|
+
import { d as defineCustomElement$j } from './swirl-icon-check-small2.js';
|
|
16
|
+
import { d as defineCustomElement$i } from './swirl-icon-check-strong2.js';
|
|
17
|
+
import { d as defineCustomElement$h } from './swirl-icon-drag-handle2.js';
|
|
18
|
+
import { d as defineCustomElement$g } from './swirl-icon-error2.js';
|
|
19
|
+
import { d as defineCustomElement$f } from './swirl-icon-file2.js';
|
|
20
|
+
import { d as defineCustomElement$e } from './swirl-icon-folder-shared2.js';
|
|
21
|
+
import { d as defineCustomElement$d } from './swirl-inline-error2.js';
|
|
22
|
+
import { d as defineCustomElement$c } from './swirl-option-list2.js';
|
|
23
|
+
import { d as defineCustomElement$b } from './swirl-option-list-item2.js';
|
|
24
|
+
import { d as defineCustomElement$a } from './swirl-popover2.js';
|
|
25
|
+
import { d as defineCustomElement$9 } from './swirl-popover-trigger2.js';
|
|
26
|
+
import { d as defineCustomElement$8 } from './swirl-resource-list2.js';
|
|
27
|
+
import { d as defineCustomElement$7 } from './swirl-resource-list-item2.js';
|
|
28
|
+
import { d as defineCustomElement$6 } from './swirl-spinner2.js';
|
|
29
|
+
import { d as defineCustomElement$5 } from './swirl-stack2.js';
|
|
30
|
+
import { d as defineCustomElement$4 } from './swirl-text2.js';
|
|
31
|
+
import { d as defineCustomElement$3 } from './swirl-tooltip2.js';
|
|
31
32
|
import { d as defineCustomElement$2 } from './swirl-visually-hidden2.js';
|
|
32
33
|
|
|
33
34
|
const FileManagerMockData = {
|
|
@@ -98,7 +99,7 @@ function defineCustomElement$1() {
|
|
|
98
99
|
if (typeof customElements === "undefined") {
|
|
99
100
|
return;
|
|
100
101
|
}
|
|
101
|
-
const components = ["file-manager", "swirl-app-layout", "swirl-box", "swirl-button", "swirl-empty-state", "swirl-file-viewer", "swirl-file-viewer-audio", "swirl-file-viewer-csv", "swirl-file-viewer-fallback", "swirl-file-viewer-image", "swirl-file-viewer-pdf", "swirl-file-viewer-text", "swirl-file-viewer-video", "swirl-heading", "swirl-icon-check-small", "swirl-icon-check-strong", "swirl-icon-drag-handle", "swirl-icon-error", "swirl-icon-file", "swirl-icon-folder-shared", "swirl-inline-error", "swirl-option-list", "swirl-option-list-item", "swirl-popover", "swirl-popover-trigger", "swirl-resource-list", "swirl-resource-list-item", "swirl-spinner", "swirl-stack", "swirl-text", "swirl-visually-hidden"];
|
|
102
|
+
const components = ["file-manager", "swirl-app-layout", "swirl-box", "swirl-button", "swirl-empty-state", "swirl-file-viewer", "swirl-file-viewer-audio", "swirl-file-viewer-csv", "swirl-file-viewer-fallback", "swirl-file-viewer-image", "swirl-file-viewer-pdf", "swirl-file-viewer-text", "swirl-file-viewer-video", "swirl-heading", "swirl-icon-check-small", "swirl-icon-check-strong", "swirl-icon-drag-handle", "swirl-icon-error", "swirl-icon-file", "swirl-icon-folder-shared", "swirl-inline-error", "swirl-option-list", "swirl-option-list-item", "swirl-popover", "swirl-popover-trigger", "swirl-resource-list", "swirl-resource-list-item", "swirl-spinner", "swirl-stack", "swirl-text", "swirl-tooltip", "swirl-visually-hidden"];
|
|
102
103
|
components.forEach(tagName => { switch (tagName) {
|
|
103
104
|
case "file-manager":
|
|
104
105
|
if (!customElements.get(tagName)) {
|
|
@@ -107,145 +108,150 @@ function defineCustomElement$1() {
|
|
|
107
108
|
break;
|
|
108
109
|
case "swirl-app-layout":
|
|
109
110
|
if (!customElements.get(tagName)) {
|
|
110
|
-
defineCustomElement$
|
|
111
|
+
defineCustomElement$w();
|
|
111
112
|
}
|
|
112
113
|
break;
|
|
113
114
|
case "swirl-box":
|
|
114
115
|
if (!customElements.get(tagName)) {
|
|
115
|
-
defineCustomElement$
|
|
116
|
+
defineCustomElement$v();
|
|
116
117
|
}
|
|
117
118
|
break;
|
|
118
119
|
case "swirl-button":
|
|
119
120
|
if (!customElements.get(tagName)) {
|
|
120
|
-
defineCustomElement$
|
|
121
|
+
defineCustomElement$u();
|
|
121
122
|
}
|
|
122
123
|
break;
|
|
123
124
|
case "swirl-empty-state":
|
|
124
125
|
if (!customElements.get(tagName)) {
|
|
125
|
-
defineCustomElement$
|
|
126
|
+
defineCustomElement$t();
|
|
126
127
|
}
|
|
127
128
|
break;
|
|
128
129
|
case "swirl-file-viewer":
|
|
129
130
|
if (!customElements.get(tagName)) {
|
|
130
|
-
defineCustomElement$
|
|
131
|
+
defineCustomElement$s();
|
|
131
132
|
}
|
|
132
133
|
break;
|
|
133
134
|
case "swirl-file-viewer-audio":
|
|
134
135
|
if (!customElements.get(tagName)) {
|
|
135
|
-
defineCustomElement$
|
|
136
|
+
defineCustomElement$r();
|
|
136
137
|
}
|
|
137
138
|
break;
|
|
138
139
|
case "swirl-file-viewer-csv":
|
|
139
140
|
if (!customElements.get(tagName)) {
|
|
140
|
-
defineCustomElement$
|
|
141
|
+
defineCustomElement$q();
|
|
141
142
|
}
|
|
142
143
|
break;
|
|
143
144
|
case "swirl-file-viewer-fallback":
|
|
144
145
|
if (!customElements.get(tagName)) {
|
|
145
|
-
defineCustomElement$
|
|
146
|
+
defineCustomElement$p();
|
|
146
147
|
}
|
|
147
148
|
break;
|
|
148
149
|
case "swirl-file-viewer-image":
|
|
149
150
|
if (!customElements.get(tagName)) {
|
|
150
|
-
defineCustomElement$
|
|
151
|
+
defineCustomElement$o();
|
|
151
152
|
}
|
|
152
153
|
break;
|
|
153
154
|
case "swirl-file-viewer-pdf":
|
|
154
155
|
if (!customElements.get(tagName)) {
|
|
155
|
-
defineCustomElement$
|
|
156
|
+
defineCustomElement$n();
|
|
156
157
|
}
|
|
157
158
|
break;
|
|
158
159
|
case "swirl-file-viewer-text":
|
|
159
160
|
if (!customElements.get(tagName)) {
|
|
160
|
-
defineCustomElement$
|
|
161
|
+
defineCustomElement$m();
|
|
161
162
|
}
|
|
162
163
|
break;
|
|
163
164
|
case "swirl-file-viewer-video":
|
|
164
165
|
if (!customElements.get(tagName)) {
|
|
165
|
-
defineCustomElement$
|
|
166
|
+
defineCustomElement$l();
|
|
166
167
|
}
|
|
167
168
|
break;
|
|
168
169
|
case "swirl-heading":
|
|
169
170
|
if (!customElements.get(tagName)) {
|
|
170
|
-
defineCustomElement$
|
|
171
|
+
defineCustomElement$k();
|
|
171
172
|
}
|
|
172
173
|
break;
|
|
173
174
|
case "swirl-icon-check-small":
|
|
174
175
|
if (!customElements.get(tagName)) {
|
|
175
|
-
defineCustomElement$
|
|
176
|
+
defineCustomElement$j();
|
|
176
177
|
}
|
|
177
178
|
break;
|
|
178
179
|
case "swirl-icon-check-strong":
|
|
179
180
|
if (!customElements.get(tagName)) {
|
|
180
|
-
defineCustomElement$
|
|
181
|
+
defineCustomElement$i();
|
|
181
182
|
}
|
|
182
183
|
break;
|
|
183
184
|
case "swirl-icon-drag-handle":
|
|
184
185
|
if (!customElements.get(tagName)) {
|
|
185
|
-
defineCustomElement$
|
|
186
|
+
defineCustomElement$h();
|
|
186
187
|
}
|
|
187
188
|
break;
|
|
188
189
|
case "swirl-icon-error":
|
|
189
190
|
if (!customElements.get(tagName)) {
|
|
190
|
-
defineCustomElement$
|
|
191
|
+
defineCustomElement$g();
|
|
191
192
|
}
|
|
192
193
|
break;
|
|
193
194
|
case "swirl-icon-file":
|
|
194
195
|
if (!customElements.get(tagName)) {
|
|
195
|
-
defineCustomElement$
|
|
196
|
+
defineCustomElement$f();
|
|
196
197
|
}
|
|
197
198
|
break;
|
|
198
199
|
case "swirl-icon-folder-shared":
|
|
199
200
|
if (!customElements.get(tagName)) {
|
|
200
|
-
defineCustomElement$
|
|
201
|
+
defineCustomElement$e();
|
|
201
202
|
}
|
|
202
203
|
break;
|
|
203
204
|
case "swirl-inline-error":
|
|
204
205
|
if (!customElements.get(tagName)) {
|
|
205
|
-
defineCustomElement$
|
|
206
|
+
defineCustomElement$d();
|
|
206
207
|
}
|
|
207
208
|
break;
|
|
208
209
|
case "swirl-option-list":
|
|
209
210
|
if (!customElements.get(tagName)) {
|
|
210
|
-
defineCustomElement$
|
|
211
|
+
defineCustomElement$c();
|
|
211
212
|
}
|
|
212
213
|
break;
|
|
213
214
|
case "swirl-option-list-item":
|
|
214
215
|
if (!customElements.get(tagName)) {
|
|
215
|
-
defineCustomElement$
|
|
216
|
+
defineCustomElement$b();
|
|
216
217
|
}
|
|
217
218
|
break;
|
|
218
219
|
case "swirl-popover":
|
|
219
220
|
if (!customElements.get(tagName)) {
|
|
220
|
-
defineCustomElement$
|
|
221
|
+
defineCustomElement$a();
|
|
221
222
|
}
|
|
222
223
|
break;
|
|
223
224
|
case "swirl-popover-trigger":
|
|
224
225
|
if (!customElements.get(tagName)) {
|
|
225
|
-
defineCustomElement$
|
|
226
|
+
defineCustomElement$9();
|
|
226
227
|
}
|
|
227
228
|
break;
|
|
228
229
|
case "swirl-resource-list":
|
|
229
230
|
if (!customElements.get(tagName)) {
|
|
230
|
-
defineCustomElement$
|
|
231
|
+
defineCustomElement$8();
|
|
231
232
|
}
|
|
232
233
|
break;
|
|
233
234
|
case "swirl-resource-list-item":
|
|
234
235
|
if (!customElements.get(tagName)) {
|
|
235
|
-
defineCustomElement$
|
|
236
|
+
defineCustomElement$7();
|
|
236
237
|
}
|
|
237
238
|
break;
|
|
238
239
|
case "swirl-spinner":
|
|
239
240
|
if (!customElements.get(tagName)) {
|
|
240
|
-
defineCustomElement$
|
|
241
|
+
defineCustomElement$6();
|
|
241
242
|
}
|
|
242
243
|
break;
|
|
243
244
|
case "swirl-stack":
|
|
244
245
|
if (!customElements.get(tagName)) {
|
|
245
|
-
defineCustomElement$
|
|
246
|
+
defineCustomElement$5();
|
|
246
247
|
}
|
|
247
248
|
break;
|
|
248
249
|
case "swirl-text":
|
|
250
|
+
if (!customElements.get(tagName)) {
|
|
251
|
+
defineCustomElement$4();
|
|
252
|
+
}
|
|
253
|
+
break;
|
|
254
|
+
case "swirl-tooltip":
|
|
249
255
|
if (!customElements.get(tagName)) {
|
|
250
256
|
defineCustomElement$3();
|
|
251
257
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as classNames } from './index2.js';
|
|
3
3
|
import { D as DesktopMediaQuery } from './media-query.service.js';
|
|
4
|
-
import { d as defineCustomElement$
|
|
5
|
-
import { d as defineCustomElement$
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
4
|
+
import { d as defineCustomElement$5 } from './swirl-button2.js';
|
|
5
|
+
import { d as defineCustomElement$4 } from './swirl-icon-check-strong2.js';
|
|
6
|
+
import { d as defineCustomElement$3 } from './swirl-icon-drag-handle2.js';
|
|
7
|
+
import { d as defineCustomElement$2 } from './swirl-popover-trigger2.js';
|
|
8
|
+
import { d as defineCustomElement$1 } from './swirl-tooltip2.js';
|
|
8
9
|
import { v as v4 } from './v4.js';
|
|
9
10
|
|
|
10
|
-
const swirlResourceListItemCss = ".sc-swirl-resource-list-item-h{position:relative;display:block;width:100%}.sc-swirl-resource-list-item-h *.sc-swirl-resource-list-item{box-sizing:border-box}[aria-selected=\"true\"].sc-swirl-resource-list-item-h .resource-list-item.sc-swirl-resource-list-item{background-color:var(--swirl-resource-list-item-background-hovered)}[aria-selected=\"true\"].sc-swirl-resource-list-item-h .resource-list-item.sc-swirl-resource-list-item .resource-list-item__media.sc-swirl-resource-list-item,[aria-selected=\"true\"].sc-swirl-resource-list-item-h .resource-list-item.sc-swirl-resource-list-item .resource-list-item__meta.sc-swirl-resource-list-item{--swirl-avatar-background-color:var(--s-surface-raised-hovered);--swirl-avatar-group-border-color:var(--s-background-hovered);--swirl-badge-border-color:var(--s-background-hovered)}.resource-list-item.sc-swirl-resource-list-item{position:relative;width:100%;display:flex;overflow:hidden;padding:var(--s-space-12) var(--s-space-8);gap:var(--s-space-12);border-radius:var(--s-border-radius-sm);background-color:var(--swirl-resource-list-item-background-default)}.resource-list-item.sc-swirl-resource-list-item:has(.resource-list-item__content:focus-visible){background-color:var(--s-background-hovered);outline-color:var(--s-focus-default);outline-style:solid;outline-width:0.125rem;z-index:1}.resource-list-item.sc-swirl-resource-list-item:has(.resource-list-item__content:focus-visible) .resource-list-item__media.sc-swirl-resource-list-item{--swirl-avatar-group-border-color:var(--s-background-hovered);--swirl-badge-border-color:var(--s-background-hovered)}.resource-list-item--interactive.sc-swirl-resource-list-item{cursor:pointer}.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{cursor:pointer}.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item:disabled{cursor:default}.resource-list-item--interactive.resource-list-item--disabled.sc-swirl-resource-list-item{cursor:default}.resource-list-item--interactive.sc-swirl-resource-list-item:hover:not(.resource-list-item--disabled),.resource-list-item--interactive.sc-swirl-resource-list-item:focus-visible:not(.resource-list-item--disabled){background-color:var(--swirl-resource-list-item-background-hovered)}.resource-list-item--interactive.sc-swirl-resource-list-item:hover:not(.resource-list-item--disabled) .resource-list-item__media.sc-swirl-resource-list-item,.resource-list-item--interactive.sc-swirl-resource-list-item:hover:not(.resource-list-item--disabled) .resource-list-item__meta.sc-swirl-resource-list-item,.resource-list-item--interactive.sc-swirl-resource-list-item:focus-visible:not(.resource-list-item--disabled) .resource-list-item__media.sc-swirl-resource-list-item,.resource-list-item--interactive.sc-swirl-resource-list-item:focus-visible:not(.resource-list-item--disabled) .resource-list-item__meta.sc-swirl-resource-list-item{--swirl-avatar-background-color:var(--s-surface-raised-hovered);--swirl-avatar-group-border-color:var(--s-background-hovered);--swirl-badge-border-color:var(--s-background-hovered)}.resource-list-item--interactive.sc-swirl-resource-list-item:active:not(.resource-list-item--disabled){background-color:var(--swirl-resource-list-item-background-pressed)}.resource-list-item--interactive.sc-swirl-resource-list-item:active:not(.resource-list-item--disabled) .resource-list-item__media.sc-swirl-resource-list-item,.resource-list-item--interactive.sc-swirl-resource-list-item:active:not(.resource-list-item--disabled) .resource-list-item__meta.sc-swirl-resource-list-item{--swirl-avatar-group-border-color:var(--s-background-pressed);--swirl-badge-border-color:var(--s-background-pressed)}.resource-list-item--active.sc-swirl-resource-list-item{--swirl-badge-border-color:var(\n --swirl-resource-list-item-background-hovered\n );background-color:var(--swirl-resource-list-item-background-hovered)}.resource-list-item--checked.sc-swirl-resource-list-item .resource-list-item__checkbox.sc-swirl-resource-list-item{border-color:var(--s-icon-highlight);color:var(--s-text-on-status);background-color:var(--s-icon-highlight)}.resource-list-item--compact.sc-swirl-resource-list-item{padding:var(--s-space-8)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item--compact.sc-swirl-resource-list-item{padding:var(--s-space-8)}}.resource-list-item--compact.sc-swirl-resource-list-item .resource-list-item__label-container.sc-swirl-resource-list-item{min-height:2rem}@media (min-width: 768px){.resource-list-item--selectable.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{padding-left:calc(var(--s-space-16) + 1.5rem + var(--s-space-12))}}.resource-list-item--selectable.sc-swirl-resource-list-item .resource-list-item__label-container.sc-swirl-resource-list-item{padding-right:calc(var(--s-space-16) + 1.5rem + var(--s-space-12))}@media (min-width: 768px){.resource-list-item--selectable.sc-swirl-resource-list-item .resource-list-item__label-container.sc-swirl-resource-list-item{padding-right:var(--s-space-16)}}.resource-list-item--label-weight-medium.sc-swirl-resource-list-item .resource-list-item__label.sc-swirl-resource-list-item{font-weight:var(--s-font-weight-medium)}.resource-list-item--label-weight-semibold.sc-swirl-resource-list-item .resource-list-item__label.sc-swirl-resource-list-item{font-weight:var(--s-font-weight-semibold)}.resource-list-item--label-weight-bold.sc-swirl-resource-list-item .resource-list-item__label.sc-swirl-resource-list-item{font-weight:var(--s-font-weight-bold)}.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:hover,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus-within{--swirl-flat-button-background-default:var(--s-background-default);--swirl-flat-button-background-disabled:var(--s-background-disabled);--swirl-flat-button-background-hovered:var(--s-background-hovered);--swirl-flat-button-background-pressed:var(--s-background-pressed)}.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:hover .resource-list-item__control.sc-swirl-resource-list-item,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus .resource-list-item__control.sc-swirl-resource-list-item,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus-within .resource-list-item__control.sc-swirl-resource-list-item{pointer-events:auto;opacity:1;position:static;transform:none;margin:calc(-1 * var(--s-space-2)) 0}.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:hover .resource-list-item__meta.sc-swirl-resource-list-item,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus .resource-list-item__meta.sc-swirl-resource-list-item,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus-within .resource-list-item__meta.sc-swirl-resource-list-item{margin-right:0;padding-right:0}.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item .resource-list-item__meta.sc-swirl-resource-list-item{margin-right:calc(-1 * var(--s-space-16));padding-right:var(--s-space-16);transition:margin 0.1s}.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item .resource-list-item__control.sc-swirl-resource-list-item{pointer-events:none;opacity:0;position:absolute;top:50%;right:var(--s-space-8);transform:translateY(-50%);transition:opacity 0.1s}.resource-list-item--draggable.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{padding-left:calc(var(--s-space-12) * 2 + 1.5rem)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item--draggable.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{padding-left:calc(var(--s-space-12) * 2 + 1rem)}}.resource-list-item--dragging.sc-swirl-resource-list-item{z-index:1;border-radius:var(--s-border-radius-s);background-color:var(--s-surface-overlay-pressed);box-shadow:0 0.0625rem 0.125rem rgba(25, 26, 28, 0.08),\n 0 0.25rem 2rem rgba(25, 26, 28, 0.16)}.resource-list-item--dragging.sc-swirl-resource-list-item:hover:not(.resource-list-item--disabled){background-color:var(--s-surface-overlay-pressed)}.resource-list-item--disabled.resource-list-item--checked.sc-swirl-resource-list-item .resource-list-item__checkbox.sc-swirl-resource-list-item{border-color:var(--s-icon-disabled);background-color:var(--s-icon-disabled)}.resource-list-item--disabled.sc-swirl-resource-list-item .resource-list-item__checkbox.sc-swirl-resource-list-item{border-color:var(--s-icon-disabled);background-color:transparent}.resource-list-item--disabled.sc-swirl-resource-list-item .resource-list-item__checkbox-icon.sc-swirl-resource-list-item{color:var(--s-text-on-status)}.resource-list-item--wrap-description.sc-swirl-resource-list-item .resource-list-item__description.sc-swirl-resource-list-item{white-space:normal}.resource-list-item--wrap-label.sc-swirl-resource-list-item .resource-list-item__label.sc-swirl-resource-list-item{white-space:normal}.resource-list-item__content.sc-swirl-resource-list-item{--swirl-avatar-group-border-color:var(--s-background-default);--swirl-badge-border-color:var(--s-background-default);display:flex;width:100%;min-width:0;margin:0;padding:0;align-items:flex-start;border:none;color:var(--s-text-default);background:none;font:inherit;line-height:var(--s-line-height-sm);text-align:left;text-decoration:none;gap:var(--s-space-12)}.resource-list-item__content.sc-swirl-resource-list-item:focus,.resource-list-item__content.sc-swirl-resource-list-item:focus-visible{outline:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item__content.sc-swirl-resource-list-item{line-height:var(--s-line-height-base)}}.resource-list-item__media.sc-swirl-resource-list-item{display:inline-flex;flex-shrink:0}.resource-list-item__label-container.sc-swirl-resource-list-item{position:relative;display:flex;height:100%;min-width:0;min-height:3rem;padding-right:var(--s-space-16);flex-grow:1;justify-content:center;flex-direction:column}.resource-list-item__label.sc-swirl-resource-list-item{overflow:hidden;font-size:var(--s-font-size-base);line-height:var(--s-line-height-base);white-space:nowrap;text-overflow:ellipsis}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item__label.sc-swirl-resource-list-item{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.resource-list-item__description.sc-swirl-resource-list-item{overflow:hidden;color:var(--s-text-subdued);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);white-space:nowrap;text-overflow:ellipsis}.resource-list-item__menu-trigger.sc-swirl-resource-list-item{position:absolute;top:50%;right:var(--s-space-16);transform:translateY(-50%)}.resource-list-item__control.sc-swirl-resource-list-item{align-self:center}.resource-list-item__checkbox.sc-swirl-resource-list-item{position:absolute;top:50%;right:var(--s-space-16);display:flex;width:1.125rem;height:1.125rem;justify-content:center;align-items:center;border:0.125rem solid var(--s-icon-default);border-radius:var(--s-border-radius-s);transform:translateY(-50%);pointer-events:none}@media (min-width: 768px){.resource-list-item__checkbox.sc-swirl-resource-list-item{right:auto;left:calc(var(--s-space-16) - var(--s-space-2))}}.resource-list-item__checkbox-icon.sc-swirl-resource-list-item{display:inline-flex;width:1.0625rem;height:1.0625rem}.resource-list-item__checkbox-icon.sc-swirl-resource-list-item>*.sc-swirl-resource-list-item::part(icon){width:1.0625rem;height:1.0625rem}.resource-list-item__meta.sc-swirl-resource-list-item{display:flex;align-items:flex-end;color:var(--s-text-subdued);font-size:var(--s-font-size-sm);flex-direction:column;align-self:flex-start;gap:var(--s-space-2)}.resource-list-item__meta.sc-swirl-resource-list-item:not(:has(.resource-list-item__meta-text)){align-self:center}.resource-list-item__meta-text.sc-swirl-resource-list-item{line-height:var(--s-line-height-base);margin-top:var(--s-space-2);white-space:nowrap}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item__meta-text.sc-swirl-resource-list-item{line-height:var(--s-line-height-sm);margin-top:var(--s-space-4)}}.resource-list-item__badges.sc-swirl-resource-list-item{display:inline-flex;width:-webkit-max-content;width:-moz-max-content;width:max-content}.resource-list-item__drag-handle.sc-swirl-resource-list-item{position:absolute;z-index:1;top:50%;left:var(--s-space-4);display:inline-flex;margin:0;padding:var(--s-space-8);flex-shrink:0;border:none;color:var(--s-icon-default);background-color:transparent;cursor:grab;transform:translateY(-50%)}.resource-list-item__drag-handle.sc-swirl-resource-list-item:active{cursor:grabbing}.resource-list-item__drag-handle.sc-swirl-resource-list-item:focus:not(:focus-visible){outline:none}.resource-list-item__drag-handle.sc-swirl-resource-list-item:focus-visible{outline-color:var(--s-focus-default)}";
|
|
11
|
+
const swirlResourceListItemCss = ".sc-swirl-resource-list-item-h{position:relative;display:block;width:100%}.sc-swirl-resource-list-item-h *.sc-swirl-resource-list-item{box-sizing:border-box}[aria-selected=\"true\"].sc-swirl-resource-list-item-h .resource-list-item.sc-swirl-resource-list-item{background-color:var(--swirl-resource-list-item-background-hovered)}[aria-selected=\"true\"].sc-swirl-resource-list-item-h .resource-list-item.sc-swirl-resource-list-item .resource-list-item__media.sc-swirl-resource-list-item,[aria-selected=\"true\"].sc-swirl-resource-list-item-h .resource-list-item.sc-swirl-resource-list-item .resource-list-item__meta.sc-swirl-resource-list-item{--swirl-avatar-background-color:var(--s-surface-raised-hovered);--swirl-avatar-group-border-color:var(--s-background-hovered);--swirl-badge-border-color:var(--s-background-hovered)}.resource-list-item.sc-swirl-resource-list-item{position:relative;width:100%;display:flex;overflow:hidden;padding:var(--s-space-12) var(--s-space-8);gap:var(--s-space-12);border-radius:var(--s-border-radius-sm);background-color:var(--swirl-resource-list-item-background-default)}.resource-list-item.sc-swirl-resource-list-item:has(.resource-list-item__content:focus-visible){background-color:var(--s-background-hovered);outline-color:var(--s-focus-default);outline-style:solid;outline-width:0.125rem;z-index:1}.resource-list-item.sc-swirl-resource-list-item:has(.resource-list-item__content:focus-visible) .resource-list-item__media.sc-swirl-resource-list-item{--swirl-avatar-group-border-color:var(--s-background-hovered);--swirl-badge-border-color:var(--s-background-hovered)}.resource-list-item--interactive.sc-swirl-resource-list-item{cursor:pointer}.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{cursor:pointer}.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item:disabled{cursor:default}.resource-list-item--interactive.resource-list-item--disabled.sc-swirl-resource-list-item{cursor:default}.resource-list-item--interactive.sc-swirl-resource-list-item:hover:not(.resource-list-item--disabled),.resource-list-item--interactive.sc-swirl-resource-list-item:focus-visible:not(.resource-list-item--disabled){background-color:var(--swirl-resource-list-item-background-hovered)}.resource-list-item--interactive.sc-swirl-resource-list-item:hover:not(.resource-list-item--disabled) .resource-list-item__media.sc-swirl-resource-list-item,.resource-list-item--interactive.sc-swirl-resource-list-item:hover:not(.resource-list-item--disabled) .resource-list-item__meta.sc-swirl-resource-list-item,.resource-list-item--interactive.sc-swirl-resource-list-item:focus-visible:not(.resource-list-item--disabled) .resource-list-item__media.sc-swirl-resource-list-item,.resource-list-item--interactive.sc-swirl-resource-list-item:focus-visible:not(.resource-list-item--disabled) .resource-list-item__meta.sc-swirl-resource-list-item{--swirl-avatar-background-color:var(--s-surface-raised-hovered);--swirl-avatar-group-border-color:var(--s-background-hovered);--swirl-badge-border-color:var(--s-background-hovered)}.resource-list-item--interactive.sc-swirl-resource-list-item:active:not(.resource-list-item--disabled){background-color:var(--swirl-resource-list-item-background-pressed)}.resource-list-item--interactive.sc-swirl-resource-list-item:active:not(.resource-list-item--disabled) .resource-list-item__media.sc-swirl-resource-list-item,.resource-list-item--interactive.sc-swirl-resource-list-item:active:not(.resource-list-item--disabled) .resource-list-item__meta.sc-swirl-resource-list-item{--swirl-avatar-group-border-color:var(--s-background-pressed);--swirl-badge-border-color:var(--s-background-pressed)}.resource-list-item--active.sc-swirl-resource-list-item{--swirl-badge-border-color:var(\n --swirl-resource-list-item-background-hovered\n );background-color:var(--swirl-resource-list-item-background-hovered)}.resource-list-item--checked.sc-swirl-resource-list-item .resource-list-item__checkbox.sc-swirl-resource-list-item{border-color:var(--s-icon-highlight);color:var(--s-text-on-status);background-color:var(--s-icon-highlight)}.resource-list-item--compact.sc-swirl-resource-list-item{padding:var(--s-space-8)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item--compact.sc-swirl-resource-list-item{padding:var(--s-space-8)}}.resource-list-item--compact.sc-swirl-resource-list-item .resource-list-item__label-container.sc-swirl-resource-list-item{min-height:2rem}@media (min-width: 768px){.resource-list-item--selectable.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{padding-left:calc(var(--s-space-16) + 1.5rem + var(--s-space-12))}}.resource-list-item--selectable.sc-swirl-resource-list-item .resource-list-item__label-container.sc-swirl-resource-list-item{padding-right:calc(var(--s-space-16) + 1.5rem + var(--s-space-12))}@media (min-width: 768px){.resource-list-item--selectable.sc-swirl-resource-list-item .resource-list-item__label-container.sc-swirl-resource-list-item{padding-right:var(--s-space-16)}}.resource-list-item--label-weight-medium.sc-swirl-resource-list-item .resource-list-item__label.sc-swirl-resource-list-item{font-weight:var(--s-font-weight-medium)}.resource-list-item--label-weight-semibold.sc-swirl-resource-list-item .resource-list-item__label.sc-swirl-resource-list-item{font-weight:var(--s-font-weight-semibold)}.resource-list-item--label-weight-bold.sc-swirl-resource-list-item .resource-list-item__label.sc-swirl-resource-list-item{font-weight:var(--s-font-weight-bold)}.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:hover,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus-within{--swirl-flat-button-background-default:var(--s-background-default);--swirl-flat-button-background-disabled:var(--s-background-disabled);--swirl-flat-button-background-hovered:var(--s-background-hovered);--swirl-flat-button-background-pressed:var(--s-background-pressed)}.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:hover .resource-list-item__control.sc-swirl-resource-list-item,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus .resource-list-item__control.sc-swirl-resource-list-item,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus-within .resource-list-item__control.sc-swirl-resource-list-item{pointer-events:auto;opacity:1;position:static;transform:none;margin:calc(-1 * var(--s-space-2)) 0}.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:hover .resource-list-item__meta.sc-swirl-resource-list-item,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus .resource-list-item__meta.sc-swirl-resource-list-item,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus-within .resource-list-item__meta.sc-swirl-resource-list-item{margin-right:0;padding-right:0}.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item .resource-list-item__meta.sc-swirl-resource-list-item{margin-right:calc(-1 * var(--s-space-16));padding-right:var(--s-space-16);transition:margin 0.1s}.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item .resource-list-item__control.sc-swirl-resource-list-item{pointer-events:none;opacity:0;position:absolute;top:50%;right:var(--s-space-8);transform:translateY(-50%);transition:opacity 0.1s}.resource-list-item--draggable.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{padding-left:calc(var(--s-space-12) * 2 + 1.5rem)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item--draggable.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{padding-left:calc(var(--s-space-12) * 2 + 1rem)}}.resource-list-item--dragging.sc-swirl-resource-list-item{z-index:1;border-radius:var(--s-border-radius-s);background-color:var(--s-surface-overlay-pressed);box-shadow:0 0.0625rem 0.125rem rgba(25, 26, 28, 0.08),\n 0 0.25rem 2rem rgba(25, 26, 28, 0.16)}.resource-list-item--dragging.sc-swirl-resource-list-item:hover:not(.resource-list-item--disabled){background-color:var(--s-surface-overlay-pressed)}.resource-list-item--disabled.resource-list-item--checked.sc-swirl-resource-list-item .resource-list-item__checkbox.sc-swirl-resource-list-item{border-color:var(--s-icon-disabled);background-color:var(--s-icon-disabled)}.resource-list-item--disabled.sc-swirl-resource-list-item .resource-list-item__checkbox.sc-swirl-resource-list-item{border-color:var(--s-icon-disabled);background-color:transparent}.resource-list-item--disabled.sc-swirl-resource-list-item .resource-list-item__checkbox-icon.sc-swirl-resource-list-item{color:var(--s-text-on-status)}.resource-list-item--wrap-description.sc-swirl-resource-list-item .resource-list-item__description.sc-swirl-resource-list-item{white-space:normal}.resource-list-item--wrap-label.sc-swirl-resource-list-item .resource-list-item__label.sc-swirl-resource-list-item{white-space:normal}.resource-list-item__content.sc-swirl-resource-list-item{--swirl-avatar-group-border-color:var(--s-background-default);--swirl-badge-border-color:var(--s-background-default);display:flex;width:100%;min-width:0;margin:0;padding:0;align-items:flex-start;border:none;color:var(--s-text-default);background:none;font:inherit;line-height:var(--s-line-height-sm);text-align:left;text-decoration:none;gap:var(--s-space-12)}.resource-list-item__content.sc-swirl-resource-list-item:focus,.resource-list-item__content.sc-swirl-resource-list-item:focus-visible{outline:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item__content.sc-swirl-resource-list-item{line-height:var(--s-line-height-base)}}.resource-list-item__media.sc-swirl-resource-list-item{display:inline-flex;flex-shrink:0}.resource-list-item__label-container.sc-swirl-resource-list-item{position:relative;display:flex;height:100%;min-width:0;min-height:3rem;padding-right:var(--s-space-16);justify-content:center;flex-direction:column}.resource-list-item__label.sc-swirl-resource-list-item{overflow:hidden;font-size:var(--s-font-size-base);line-height:var(--s-line-height-base);white-space:nowrap;text-overflow:ellipsis}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item__label.sc-swirl-resource-list-item{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.resource-list-item__description.sc-swirl-resource-list-item{overflow:hidden;color:var(--s-text-subdued);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);white-space:nowrap;text-overflow:ellipsis}.resource-list-item__menu-trigger.sc-swirl-resource-list-item{position:absolute;top:50%;right:var(--s-space-16);transform:translateY(-50%)}.resource-list-item__control.sc-swirl-resource-list-item{align-self:center}.resource-list-item__checkbox.sc-swirl-resource-list-item{position:absolute;top:50%;right:var(--s-space-16);display:flex;width:1.125rem;height:1.125rem;justify-content:center;align-items:center;border:0.125rem solid var(--s-icon-default);border-radius:var(--s-border-radius-s);transform:translateY(-50%);pointer-events:none}@media (min-width: 768px){.resource-list-item__checkbox.sc-swirl-resource-list-item{right:auto;left:calc(var(--s-space-16) - var(--s-space-2))}}.resource-list-item__checkbox-icon.sc-swirl-resource-list-item{display:inline-flex;width:1.0625rem;height:1.0625rem}.resource-list-item__checkbox-icon.sc-swirl-resource-list-item>*.sc-swirl-resource-list-item::part(icon){width:1.0625rem;height:1.0625rem}.resource-list-item__meta.sc-swirl-resource-list-item{display:flex;align-items:flex-end;color:var(--s-text-subdued);font-size:var(--s-font-size-sm);flex-direction:column;align-self:flex-start;gap:var(--s-space-2)}.resource-list-item__meta.sc-swirl-resource-list-item:not(:has(.resource-list-item__meta-text)){align-self:center}.resource-list-item__meta-text.sc-swirl-resource-list-item{line-height:var(--s-line-height-base);margin-top:var(--s-space-2);white-space:nowrap}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item__meta-text.sc-swirl-resource-list-item{line-height:var(--s-line-height-sm);margin-top:var(--s-space-4)}}.resource-list-item__badges.sc-swirl-resource-list-item{display:inline-flex;width:-webkit-max-content;width:-moz-max-content;width:max-content}.resource-list-item__drag-handle.sc-swirl-resource-list-item{position:absolute;z-index:1;top:50%;left:var(--s-space-4);display:inline-flex;margin:0;padding:var(--s-space-8);flex-shrink:0;border:none;color:var(--s-icon-default);background-color:transparent;cursor:grab;transform:translateY(-50%)}.resource-list-item__drag-handle.sc-swirl-resource-list-item:active{cursor:grabbing}.resource-list-item__drag-handle.sc-swirl-resource-list-item:focus:not(:focus-visible){outline:none}.resource-list-item__drag-handle.sc-swirl-resource-list-item:focus-visible{outline-color:var(--s-focus-default)}";
|
|
11
12
|
|
|
12
13
|
const SwirlResourceListItem = /*@__PURE__*/ proxyCustomElement(class SwirlResourceListItem extends HTMLElement {
|
|
13
14
|
constructor() {
|
|
@@ -20,6 +21,7 @@ const SwirlResourceListItem = /*@__PURE__*/ proxyCustomElement(class SwirlResour
|
|
|
20
21
|
this.dragHandleLabel = "Move item";
|
|
21
22
|
this.interactive = true;
|
|
22
23
|
this.labelWeight = "medium";
|
|
24
|
+
this.labelTooltipPosition = "top";
|
|
23
25
|
this.menuTriggerLabel = "Options";
|
|
24
26
|
this.hasMedia = false;
|
|
25
27
|
this.iconSize = 24;
|
|
@@ -131,6 +133,7 @@ const SwirlResourceListItem = /*@__PURE__*/ proxyCustomElement(class SwirlResour
|
|
|
131
133
|
const labelContainerStyles = {
|
|
132
134
|
minHeight: this.labelMinHeight ?? undefined,
|
|
133
135
|
};
|
|
136
|
+
const renderLabel = () => (h("span", { key: '042e3b3257e6f219d2b93aed266c9fc3c839b5d9', class: "resource-list-item__label", id: this.elementId, innerHTML: this.allowHtml ? this.label : undefined }, !this.allowHtml && this.label));
|
|
134
137
|
const className = classNames("resource-list-item", `resource-list-item--label-weight-${this.labelWeight}`, {
|
|
135
138
|
"resource-list-item--active": this.active,
|
|
136
139
|
"resource-list-item--checked": this.checked,
|
|
@@ -147,7 +150,7 @@ const SwirlResourceListItem = /*@__PURE__*/ proxyCustomElement(class SwirlResour
|
|
|
147
150
|
"resource-list-item--wrap-description": this.descriptionWrap,
|
|
148
151
|
"resource-list-item--wrap-label": this.labelWrap,
|
|
149
152
|
});
|
|
150
|
-
return (h(Host, { key: '
|
|
153
|
+
return (h(Host, { key: '6171aee719b310c2493500dbc77981f06f75a8b3', role: hostRole }, h("div", { key: '38413b7327e723ee69c1a8ac3ec91a3d14110fec', class: className, role: containerRole, onClick: this.onClick }, h(Tag, { key: '20c815a424d302e1c5f69baa1b459d7c04f8b0a7', "aria-checked": ariaChecked, "aria-disabled": disabled ? "true" : undefined, "aria-label": ariaLabel, "aria-labelledby": Boolean(this.swirlAriaLabel) ? undefined : this.elementId, class: "resource-list-item__content", style: { alignItems: this.alignItems }, href: href, disabled: disabled, onBlur: this.onBlur, onFocus: this.onFocus, part: "resource-list-item__content", role: role, tabIndex: 0, type: Tag === "button" ? "button" : undefined }, this.hasMedia && (h("span", { key: '19806427f62924b14b048c38625903f431bc71f2', class: "resource-list-item__media" }, h("slot", { key: 'f4cc953be27c43fc53be3c609ded5e33fe5bab92', name: "media" }))), h("span", { key: '4f3d985cf6ab2bac661214b7d9fa173dc38336fb', class: "resource-list-item__label-container", style: labelContainerStyles }, this.labelTooltip ? (h("swirl-tooltip", { content: this.labelTooltip, position: this.labelTooltipPosition, positioning: "fixed" }, renderLabel())) : (renderLabel()), this.description && (h("span", { key: '0474304ec2d9253acde6b2d7c6a4b1fea63eac52', class: "resource-list-item__description", innerHTML: this.allowHtml ? this.description : undefined }, !this.allowHtml && this.description)))), this.selectable && (h("span", { key: '9694af4087e954fcdc4a2a0a5c034914ff195aea', "aria-hidden": "true", class: "resource-list-item__checkbox" }, h("span", { key: 'c68a10da73a18d4b5e52a1de21ecf70e263a7c36', class: "resource-list-item__checkbox-icon" }, this.checked && (h("swirl-icon-check-strong", { key: '5bb865ca210e947d8c3c357b4efe3fc3a5e69592' }))))), showMeta && (h("span", { key: 'ce1b56f2c842676abbded89737c80b923bce7c89', class: "resource-list-item__meta" }, this.meta && (h("span", { key: '2fcd0dd606c30754fe8f1288d822a037be617944', class: "resource-list-item__meta-text" }, this.meta)), h("span", { key: 'c2bd1ab1c4cf18e6b5602be136232336d9e50eb9', class: "resource-list-item__badges" }, h("slot", { key: 'c5a41c1b5e78a0569e41fb58300bfab51c0ece85', name: "badges" })))), h("span", { key: '84c77b4cb7a530336531ca57d33be7256da65f64', class: "resource-list-item__control", onClick: this.onControlClick }, h("slot", { key: 'bd64567e76f7b234600e06fab50523440c38bb00', name: "control" })), showMenu && (h("swirl-popover-trigger", { key: 'a749f34659a7b780652c6c4d02419e64c06ee8ff', swirlPopover: this.menuTriggerId }, h("swirl-button", { key: '75da162b270daef8ac08746c985d641462734434', "aria-disabled": disabled ? "true" : undefined, class: "resource-list-item__menu-trigger", disabled: disabled, hideLabel: true, icon: "<swirl-icon-more-horizontal></swirl-icon-more-horizontal>", intent: "primary", label: this.menuTriggerLabel, onClick: this.onMenuTriggerClick })))), this.allowDrag && (h("button", { key: '41f09b95de618cfcfa5c524cf99a7a06199b33ca', "aria-describedby": this.dragHandleDescription, "aria-label": `${this.dragHandleLabel} "${this.label}"`, class: "resource-list-item__drag-handle", onKeyDown: this.onDragHandleKeyDown, type: "button" }, h("swirl-icon-drag-handle", { key: 'd275e1fcde190da7bbd7278edc1e1d2af0938f2f', size: this.iconSize })))));
|
|
151
154
|
}
|
|
152
155
|
get el() { return this; }
|
|
153
156
|
static get style() { return swirlResourceListItemCss; }
|
|
@@ -170,6 +173,8 @@ const SwirlResourceListItem = /*@__PURE__*/ proxyCustomElement(class SwirlResour
|
|
|
170
173
|
"labelWeight": [1, "label-weight"],
|
|
171
174
|
"labelWrap": [4, "label-wrap"],
|
|
172
175
|
"labelMinHeight": [1, "label-min-height"],
|
|
176
|
+
"labelTooltip": [1, "label-tooltip"],
|
|
177
|
+
"labelTooltipPosition": [1, "label-tooltip-position"],
|
|
173
178
|
"menuTriggerId": [1, "menu-trigger-id"],
|
|
174
179
|
"menuTriggerLabel": [1, "menu-trigger-label"],
|
|
175
180
|
"meta": [1],
|
|
@@ -184,7 +189,7 @@ function defineCustomElement() {
|
|
|
184
189
|
if (typeof customElements === "undefined") {
|
|
185
190
|
return;
|
|
186
191
|
}
|
|
187
|
-
const components = ["swirl-resource-list-item", "swirl-button", "swirl-icon-check-strong", "swirl-icon-drag-handle", "swirl-popover-trigger"];
|
|
192
|
+
const components = ["swirl-resource-list-item", "swirl-button", "swirl-icon-check-strong", "swirl-icon-drag-handle", "swirl-popover-trigger", "swirl-tooltip"];
|
|
188
193
|
components.forEach(tagName => { switch (tagName) {
|
|
189
194
|
case "swirl-resource-list-item":
|
|
190
195
|
if (!customElements.get(tagName)) {
|
|
@@ -193,20 +198,25 @@ function defineCustomElement() {
|
|
|
193
198
|
break;
|
|
194
199
|
case "swirl-button":
|
|
195
200
|
if (!customElements.get(tagName)) {
|
|
196
|
-
defineCustomElement$
|
|
201
|
+
defineCustomElement$5();
|
|
197
202
|
}
|
|
198
203
|
break;
|
|
199
204
|
case "swirl-icon-check-strong":
|
|
200
205
|
if (!customElements.get(tagName)) {
|
|
201
|
-
defineCustomElement$
|
|
206
|
+
defineCustomElement$4();
|
|
202
207
|
}
|
|
203
208
|
break;
|
|
204
209
|
case "swirl-icon-drag-handle":
|
|
205
210
|
if (!customElements.get(tagName)) {
|
|
206
|
-
defineCustomElement$
|
|
211
|
+
defineCustomElement$3();
|
|
207
212
|
}
|
|
208
213
|
break;
|
|
209
214
|
case "swirl-popover-trigger":
|
|
215
|
+
if (!customElements.get(tagName)) {
|
|
216
|
+
defineCustomElement$2();
|
|
217
|
+
}
|
|
218
|
+
break;
|
|
219
|
+
case "swirl-tooltip":
|
|
210
220
|
if (!customElements.get(tagName)) {
|
|
211
221
|
defineCustomElement$1();
|
|
212
222
|
}
|
|
@@ -70,7 +70,7 @@ const SwirlSearch$1 = /*@__PURE__*/ proxyCustomElement(class SwirlSearch extends
|
|
|
70
70
|
const className = classNames("search", `search--variant-${this.variant}`, {
|
|
71
71
|
"search--disabled": this.disabled,
|
|
72
72
|
});
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: 'e81efc90b3d6a499688011221cc2a15c6f792dc2' }, h("span", { key: 'b7790e867c09bf68ffe59ec8d28f3880d4e8545a', class: className, ref: (el) => (this.iconEl = el) }, h("swirl-icon-search", { key: 'dbda6b7c55171ee6c1d70d2eb12d42ed0158f10c', "aria-hidden": "true", class: "search__icon" }), h("input", { key: '4cebbf2d5e9543728453055bfed8a6d94f6bd935', "aria-disabled": this.disabled ? "true" : undefined, "aria-label": this.label, autoComplete: "off", autoFocus: this.autoFocus, class: "search__input", disabled: this.disabled, id: this.inputId, inputMode: "search", name: this.inputName, onBlur: this.onBlur, onChange: this.onChange, onFocus: this.onFocus, onInput: this.onInput, placeholder: this.placeholder, ref: (el) => (this.input = el), type: "search", value: this.value }), !this.disabled && this.clearable && (h("button", { key: 'a471b4e873ed08cf152c9b60fef8f36df2bb6b65', "aria-label": this.clearButtonLabel, class: "search__clear-button", onClick: this.handleClear, type: "button" }, h("swirl-icon-cancel", { key: 'c418cfeddcadecbb411e72e5a66dd00ca3a46679' }))))));
|
|
74
74
|
}
|
|
75
75
|
static get style() { return swirlSearchCss; }
|
|
76
76
|
}, [2, "swirl-search", {
|
|
@@ -179,24 +179,24 @@ const SwirlShellLayout$1 = /*@__PURE__*/ proxyCustomElement(class SwirlShellLayo
|
|
|
179
179
|
"shell-layout--mobile-navigation-active": this.mobileNavigationActive,
|
|
180
180
|
"shell-layout--navigation-collapsed": mainNavCollapsed,
|
|
181
181
|
});
|
|
182
|
-
return (h(Host, { key: '
|
|
182
|
+
return (h(Host, { key: 'ba71850ab25187477de0fd280333491e17aa507e' }, h("div", { key: '1783f51de5c40b6b58a8c351c12259dcf360eb8b', class: className }, h("header", { key: '60e343ccfcab61ac22310c7cb49a27cf545d5bd2', class: "shell-layout__header", "data-tauri-drag-region": "true" }, h("button", { key: 'add3019d8df87297e691ceadd0e9a608207a4c02', class: "shell-layout__skip-link", onClick: this.skipLinkClick.emit, type: "button" }, this.skipLinkLabel), h("div", { key: '8aeeebda57bcf6b99806896d3e77a29c577ef64b', class: "shell-layout__header-left" }, h("swirl-tooltip", { key: '8c76fce6027707fc32c50d2628a82954fc9b948c', content: this.navigationCollapsed
|
|
183
183
|
? this.expandNavigationButtonLabel
|
|
184
|
-
: this.collapseNavigationButtonLabel, delay: 100, position: "right" }, h("button", { key: '
|
|
184
|
+
: this.collapseNavigationButtonLabel, delay: 100, position: "right" }, h("button", { key: 'ac3db57bb52dd17e08e429e6a322c854367bcc63', class: "shell-layout__header-tool", onClick: this.onNavigationToggleClick, type: "button" }, this.navigationCollapsed ? (h("swirl-icon-dock-left-expand", { size: 20 })) : (h("swirl-icon-dock-left-collapse", { size: 20 })), h("swirl-visually-hidden", { key: '74a9b9f0f625c3cf1ecd4d54d6da9e7820e4fe79' }, this.navigationCollapsed
|
|
185
185
|
? this.expandNavigationButtonLabel
|
|
186
|
-
: this.collapseNavigationButtonLabel))), h("a", { key: '
|
|
186
|
+
: this.collapseNavigationButtonLabel))), h("a", { key: '3e79631fa44f47145c3d04904fd82d8c1123a5de', class: "shell-layout__header-tool", href: "javascript:history.back()" }, h("swirl-icon-arrow-back", { key: '2344d7fb3dd96d2324cc722201994441d9681554', size: 20 }), h("swirl-visually-hidden", { key: '57f42760e017b7564aef0a09c2cce29623bbb238' }, this.browserBackButtonLabel)), h("a", { key: '8d82f609f9d21ba4aabdc6f6984ef865ca13482f', class: "shell-layout__header-tool", href: "javascript:history.forward()" }, h("swirl-icon-arrow-forward", { key: '877244452295b3bc41f51393bc56660287e5f394', size: 20 }), h("swirl-visually-hidden", { key: '55053998bd6f93f168b13de4d91b8771f380db21' }, this.browserForwardButtonLabel)), h("slot", { key: 'b51a7edc15aa6fb8b86474d0f7a94f0da4b9dc66', name: "left-header-tools" })), h("div", { key: 'e3be12dfb40ad48280f5ce919cbbb03126a9b136', class: "shell-layout__logo" }, h("slot", { key: 'd6292d958c06e33b25f5b848ef1f305560b346a6', name: "logo" })), h("div", { key: '432770ab91b3fb0d6512632ca7272cc02220f93f', class: "shell-layout__header-right" }, h("slot", { key: 'ffe6e81aacc341b6617ead1191b5172779f0e6bb', name: "right-header-tools" }), h("slot", { key: '45aa7fa1d83cbc7cd25a3479247d62ba14d39839', name: "avatar" }))), h("div", { key: 'c11e952da53499494f794e1439519862580c28cf', class: "shell-layout__mobile-nav-backdrop", onClick: this.onNavigationClick }), h("nav", { key: 'e718116e58c0c9b9875d16f7b340f7b10284c407', "aria-labelledby": "main-navigation-label", class: "shell-layout__nav", onClick: this.onNavigationClick, ref: (el) => (this.navElement = el) }, h("div", { key: '9461acc9b41bebd9ab0d5a8cf2535babb18e3ec0', class: "shell-layout__mobile-header" }, h("slot", { key: 'bd90c25a4f27085037853fd96df9c04167d31413', name: "mobile-logo" }), h("div", { key: 'affad63e0ae66b9810479ff1472101bc71b1b745', class: "shell-layout__mobile-header-tools" }, h("slot", { key: '4cac99bc568ff6d345c3d8c8921cadd38e054294', name: "mobile-header-tools" }), h("button", { key: 'b6e53b7a8e5b0be7c4bc81626fced0a0b22ac807', class: "shell-layout__header-tool", type: "button" }, h("swirl-icon-double-arrow-left", { key: '52fe0309bc2ff3c988c406dcbd34ea505e602ef3', size: 20 }), h("swirl-visually-hidden", { key: '7425e4993d3c11609673d5444f197b4cce23b0b0' }, this.hideMobileNavigationButtonLabel)))), h("div", { key: '76e3108a837e780f5ba7c115d9ab9c654cee2583', class: "shell-layout__nav-body" }, h("swirl-visually-hidden", { key: '93a613134cf84890462f030007f8712f67e896ce' }, h("span", { key: '8abd0fe2b0b7dab953ff12fb4d6b23129ffee71e', id: "main-navigation-label" }, this.navigationLabel)), h("slot", { key: '493535666ed3af1401c90142654362abb4783a05', name: "nav", onSlotchange: this.collectNavItems }), h("div", { key: '70799718bc984b00f421f3dcbee1e46d131fd439', class: "shell-layout__secondary-nav" }, h("swirl-separator", { key: '0a956f25ae179002f308aa8a0e1278b18fbbd26e', color: "strong", spacing: "16" }), this.enableSecondaryNavGridLayout && (h("swirl-box", { key: 'ed807b244604feb205503ca6951240c556f2ff99', paddingBlockEnd: "16" }, h("swirl-stack", { key: '90d40a649043b463531d6614e0ba4dfd6d675006', justify: mainNavCollapsed ? "center" : "space-between", orientation: "horizontal" }, h("swirl-button", { key: 'dfdbd0a375bf32cf06fde7eee4cf9a64640d78ca', hideLabel: mainNavCollapsed, icon: this.secondaryNavCollapsed
|
|
187
187
|
? "<swirl-icon-expand-more></swirl-icon-expand-more>"
|
|
188
188
|
: "<swirl-icon-expand-less></swirl-icon-expand-less>", label: this.secondaryNavCollapsed
|
|
189
189
|
? this.secondaryNavExpandLabel
|
|
190
|
-
: this.secondaryNavCollapseLabel, onClick: this.toggleSecondaryNavCollapse, variant: "plain" }), !mainNavCollapsed && !this.secondaryNavCollapsed && (h("swirl-button", { key: '
|
|
190
|
+
: this.secondaryNavCollapseLabel, onClick: this.toggleSecondaryNavCollapse, variant: "plain" }), !mainNavCollapsed && !this.secondaryNavCollapsed && (h("swirl-button", { key: '55467b2ec7f96372bedaba657b068bf2b044bd4d', icon: this.secondaryNavView === "grid"
|
|
191
191
|
? "<swirl-icon-menu></swirl-icon-menu>"
|
|
192
192
|
: "<swirl-icon-hamburger-menu></swirl-icon-hamburger-menu>", iconPosition: "end", label: this.secondaryNavView === "grid"
|
|
193
193
|
? this.gridNavLayoutToggleLabel
|
|
194
|
-
: this.listNavLayoutToggleLabel, onClick: this.toggleSecondaryNavView, variant: "plain" }))))), h("div", { key: '
|
|
194
|
+
: this.listNavLayoutToggleLabel, onClick: this.toggleSecondaryNavView, variant: "plain" }))))), h("div", { key: '38f99681433035f63b2fcc9185d7e6b1888f4bb4', class: {
|
|
195
195
|
[`shell-layout__secondary-nav-items--${this.secondaryNavGridLayoutVariant}`]: true,
|
|
196
196
|
"shell-layout__secondary-nav-items": true,
|
|
197
197
|
"shell-layout__secondary-nav-items--grid-view": this.enableSecondaryNavGridLayout &&
|
|
198
198
|
this.secondaryNavView === "grid",
|
|
199
|
-
} }, h("slot", { key: '
|
|
199
|
+
} }, h("slot", { key: '8d49eb0021897e49b9271c5ead87cc67befe0fdc', name: "secondary-nav", onSlotchange: this.collectNavItems }))))), h("main", { key: '5e3c5fcff583838c418f4a6989b7e10b63831a4f', class: "shell-layout__main", id: "main-content" }, h("slot", { key: '688823dcc10d0b29c9a08e014ad8769b8ac22f61' })))));
|
|
200
200
|
}
|
|
201
201
|
get el() { return this; }
|
|
202
202
|
static get watchers() { return {
|
|
@@ -69,9 +69,9 @@ const SwirlShellNavigationItem$1 = /*@__PURE__*/ proxyCustomElement(class SwirlS
|
|
|
69
69
|
const tooltipContent = this.description
|
|
70
70
|
? `${this.label} ${this.description}`
|
|
71
71
|
: this.label;
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: '449f8152f3e43b5286253b3cad88b97e7e7511fa' }, h("swirl-tooltip", { key: 'c38fd294886949488ebb68e44243dedf4b9353cb', active: this.hideLabel, content: tooltipContent, delay: 100, position: "right", positioning: "fixed" }, h(Tag, { key: 'b109c272afaa8d81406c77f9a383eb0265ba0abe', class: tagClassNames, href: this.href, target: this.target, type: isLink ? undefined : "button", title: !this.hideLabel ? this.label : undefined }, h("span", { key: 'e798c1c7fd44a3f60969649f377dc569ef790d14', class: "shell-navigation-item__icon" }, h("slot", { key: '74253d57363c4ab083e1df01bcc8ff3a39dc875b', name: "icon" })), !this.hideLabel ? (this.variant !== "default" ? (h("span", { class: labelClassNames }, this.label)) : (h("div", { class: "shell-navigation-item__text-wrapper" }, h("span", { class: labelClassNames }, this.label), this.description && (h("span", { class: "shell-navigation-item__description" }, this.description))))) : (h("swirl-visually-hidden", null, h("span", { class: labelClassNames }, this.label))), hasBadge && (h("span", { key: '314a39b2198bc28f55ee94a14eec540ac465924a', class: "shell-navigation-item__badge-wrapper" }, h("swirl-badge", { key: '67e82dd1cf4e5097fb8572aefba5c6c43808a0f7', "aria-label": this.badgeLabel, class: classNames("shell-navigation-item__badge", {
|
|
73
73
|
"shell-navigation-item__badge--dot": this.badgeLabel === "",
|
|
74
|
-
}), label: this.badgeLabel, size: "xs", variant: this.badgeLabel === "" ? "dot" : "default" }))), showIsNewTag && (h("swirl-tag", { key: '
|
|
74
|
+
}), label: this.badgeLabel, size: "xs", variant: this.badgeLabel === "" ? "dot" : "default" }))), showIsNewTag && (h("swirl-tag", { key: 'e4c5c0f2efa1237f658c3a0378046e5c16188228', class: "shell-navigation-item__is-new-tag", intent: "info", label: this.markAsNewLabel.toLocaleUpperCase(), size: "s", variant: "strong" })), showIsNewBadge && (h("swirl-badge", { key: '21aac8cdecddb54b7c654d119c5a07eeadf5d216', class: "shell-navigation-item__is-new-badge", intent: "info", label: this.markAsNewLabel.toLocaleUpperCase(), size: "xs", variant: "dot" }))))));
|
|
75
75
|
}
|
|
76
76
|
get el() { return this; }
|
|
77
77
|
static get style() { return swirlShellNavigationItemCss; }
|
|
@@ -13,11 +13,11 @@ const SwirlSkeletonBox = /*@__PURE__*/ proxyCustomElement(class SwirlSkeletonBox
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const className = classNames("skeleton-box", `skeleton-box--border-radius-${this.borderRadius}`, { "skeleton-box--static": !this.animated });
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '0766d24e9c6dd8b47f0cde12acc961798539a663', style: {
|
|
17
17
|
width: !Boolean(this.width) && !Boolean(this.aspectRatio)
|
|
18
18
|
? "100%"
|
|
19
19
|
: undefined,
|
|
20
|
-
} }, h("div", { key: '
|
|
20
|
+
} }, h("div", { key: '78ef731b5c403dfe74d3034ac8bcef63e0bac16c', class: className, style: {
|
|
21
21
|
aspectRatio: this.aspectRatio,
|
|
22
22
|
borderRadius: this.borderRadius !== "pill" && this.borderRadius !== "none"
|
|
23
23
|
? `var(--s-border-radius-${this.borderRadius})`
|
|
@@ -15,7 +15,7 @@ const SwirlSkeletonText$1 = /*@__PURE__*/ proxyCustomElement(class SwirlSkeleton
|
|
|
15
15
|
render() {
|
|
16
16
|
const className = classNames("skeleton-text", `skeleton-text--size-${this.size}`, { "skeleton-text--static": !this.animated });
|
|
17
17
|
const lineClassName = classNames("skeleton-text__line", `skeleton-text__line--size-${this.size}`);
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '77301b4779d053d7485e3fc056093c8aca75d56c' }, h("div", { key: 'd48fb445adb540f5fcc2a3c0fcfe64c263ef2be9', class: className, part: className }, new Array(this.lines).fill(undefined).map((_, index) => (h("div", { class: lineClassName, key: index, part: lineClassName }))))));
|
|
19
19
|
}
|
|
20
20
|
static get style() { return swirlSkeletonTextCss; }
|
|
21
21
|
}, [1, "swirl-skeleton-text", {
|
|
@@ -13,7 +13,7 @@ const SwirlSpinner = /*@__PURE__*/ proxyCustomElement(class SwirlSpinner extends
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const className = classNames("spinner", `spinner--size-${this.size}`);
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '2f761771a7f8ce7e6a101e112e0ca13b28d3a395' }, h("span", { key: '6fab35299e5384a5ea83dab47f4e6cbfc5ed8334', class: className, role: Boolean(this.label) ? "status" : undefined }, h("svg", { key: '8d7450bf5fedf307a9372a28aeb61ce5d164daf6', "aria-hidden": "true", class: "spinner__indicator", focusable: "false", viewBox: "0 0 50 50" }, h("circle", { key: '80b2296b1b60e70d5b771406101d9d5e95cfdd7a', class: "spinner__background", cx: "25", cy: "25", r: "20", fill: "none", "stroke-width": "4" }), h("circle", { key: 'ec3742637ae8514bbada169901575892ffd5e50f', class: "spinner__circle", cx: "25", cy: "25", r: "20", fill: "none", "stroke-width": "4" })), this.label && (h("swirl-visually-hidden", { key: 'acc70969490493433e58b543b8e4db8e75e795bf' }, h("span", { key: 'a8fd095d46463f8c08fb52ac9d70ec8f670973f9', class: "spinner__label" }, this.label))))));
|
|
17
17
|
}
|
|
18
18
|
static get style() { return swirlSpinnerCss; }
|
|
19
19
|
}, [1, "swirl-spinner", {
|
|
@@ -11,7 +11,7 @@ const SwirlStatusIndicator$1 = /*@__PURE__*/ proxyCustomElement(class SwirlStatu
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
const className = classNames("status-indicator", `status-indicator--intent-${this.intent}`);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '62f371ab1f733071a33215f1b2d618f352932906' }, h("div", { key: 'de36fa200de899dfa926b58506ebfe498095d65b', class: className }, h("span", { key: '70097360cd5d8f107768409986891c0e4759c768', class: "status-indicator__dot" }), h("span", { key: 'bb9a68874c9ea67161d73291315974c449688723', class: "status-indicator__label" }, this.label))));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return swirlStatusIndicatorCss; }
|
|
17
17
|
}, [1, "swirl-status-indicator", {
|
|
@@ -34,9 +34,9 @@ const SwirlSwitch$1 = /*@__PURE__*/ proxyCustomElement(class SwirlSwitch extends
|
|
|
34
34
|
"switch--disabled": this.disabled,
|
|
35
35
|
"switch--hide-content": this.hideLabel && (!this.description || this.hideDescription),
|
|
36
36
|
});
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '50b3357b11531b7b54760da2a757c5d20c2456a7' }, h("label", { key: '2fb84e079c1e250042827d4b727ede8fb1d8dfbf', class: className, htmlFor: this.inputId }, h("span", { key: '272a48201fab35cdf5e9e5e2048369a864403b34', class: "switch__control" }, h("swirl-visually-hidden", { key: '66e44c3a9b42cd634cf87e399b37436c9c250fa6' }, h("input", { key: 'ae147b742a03936b5cb7e3337a9ad8ace135b6f7', "aria-checked": ariaCheckedLabel, "aria-label": !this.hideLabel && this.swirlAriaLabel
|
|
38
38
|
? this.swirlAriaLabel
|
|
39
|
-
: undefined, checked: on, class: "switch__input", disabled: this.disabled, id: this.inputId, name: this.inputName, onChange: this.onChange, ref: (el) => (this.inputEl = el), role: "switch", type: "checkbox", value: this.value })), h("span", { key: '
|
|
39
|
+
: undefined, checked: on, class: "switch__input", disabled: this.disabled, id: this.inputId, name: this.inputName, onChange: this.onChange, ref: (el) => (this.inputEl = el), role: "switch", type: "checkbox", value: this.value })), h("span", { key: '0e8bc773fa78d82f17e84b43d59d804246879619', "aria-hidden": "true", class: "switch__thumb" })), h("swirl-stack", { key: 'd9bec995417f915c3219ed3ff4d4eaa10d23f4b9', class: "switch__content" }, this.label && !this.hideLabel && (h("span", { key: 'bcb1123bdf250a15454fbed0cc0fcd3b484887bd', class: "switch__label" }, this.label)), this.hideLabel && (h("swirl-visually-hidden", { key: 'd8e3e5bc029e05b8f73500ab70d3fb73b1420b6a' }, this.swirlAriaLabel || this.label)), this.description && !this.hideDescription && (h("span", { key: 'a46ecfe95969643500e26224f8b021985f461fa9', class: "switch__description" }, this.description)), this.description && this.hideDescription && (h("swirl-visually-hidden", { key: '71c99b5f29ab55c5c9a48e4ae1e009e326a39729' }, this.description))))));
|
|
40
40
|
}
|
|
41
41
|
get el() { return this; }
|
|
42
42
|
static get style() { return swirlSwitchCss; }
|
|
@@ -62,7 +62,7 @@ const SwirlTabBar = /*@__PURE__*/ proxyCustomElement(class SwirlTabBar extends H
|
|
|
62
62
|
? `var(--s-space-${this.paddingBlockStart})`
|
|
63
63
|
: undefined,
|
|
64
64
|
};
|
|
65
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: '281aeb39ec1dad585e2d528867b95eae025954d4' }, h("div", { key: '0563370c98c70a77e0fb2b763fa1314e71f629e9', "aria-label": this.label, class: className, onKeyDown: this.onKeyDown, role: this.disableTabSemantics ? undefined : "tablist", style: styles }, this.tabs.map((tab) => {
|
|
66
66
|
const className = classNames("tab-bar__tab", {
|
|
67
67
|
"tab-bar__tab--active": tab.active,
|
|
68
68
|
"tab-bar__tab--variant-pill": this.variant === "pill",
|
|
@@ -12,7 +12,7 @@ const SwirlTab$1 = /*@__PURE__*/ proxyCustomElement(class SwirlTab extends HTMLE
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const className = classNames("tab", { "tab--active": this.active });
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '4dcaa666ac2c76ef69a3db108fec8d9261f0c2c9', "aria-labelledby": `tab-${this.tabId}`, id: this.tabId, role: "tabpanel", tabIndex: this.active ? 0 : -1, class: className, style: { padding: `var(--s-space-${this.padding})` } }, h("slot", { key: 'd4be897cca0b201d4b72b400f6a7433ccf86921c' })));
|
|
16
16
|
}
|
|
17
17
|
static get style() { return swirlTabCss; }
|
|
18
18
|
}, [1, "swirl-tab", {
|