@threadlabs/looma 0.1.26 → 0.1.27
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/{chunk-XRJRF3MM.js → chunk-RLELJVBL.js} +33 -33
- package/dist/cjs/ui-chip_2.cjs.entry.js +6 -6
- package/dist/cjs/ui-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ui-disclosure.cjs.entry.js +1 -1
- package/dist/cjs/ui-editable.cjs.entry.js +1 -1
- package/dist/cjs/ui-floating-action-button.cjs.entry.js +1 -1
- package/dist/cjs/ui-form-field.cjs.entry.js +1 -1
- package/dist/cjs/ui-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/ui-input.cjs.entry.js +1 -1
- package/dist/cjs/ui-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/ui-menu.cjs.entry.js +1 -1
- package/dist/cjs/ui-multi-combobox.cjs.entry.js +2 -2
- package/dist/cjs/ui-popover.cjs.entry.js +1 -1
- package/dist/cjs/ui-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/ui-radio.cjs.entry.js +1 -1
- package/dist/cjs/ui-search-result-row.cjs.entry.js +1 -1
- package/dist/cjs/ui-search-shell.cjs.entry.js +1 -1
- package/dist/cjs/ui-select.cjs.entry.js +1 -1
- package/dist/cjs/ui-switch.cjs.entry.js +2 -2
- package/dist/cjs/ui-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ui-textarea.cjs.entry.js +1 -1
- package/dist/cjs/ui-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ui-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/ui-tree-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-tree.cjs.entry.js +1 -1
- package/dist/collection/components/ui-chip/ui-chip.css +10 -0
- package/dist/collection/components/ui-chip/ui-chip.js +1 -1
- package/dist/collection/components/ui-combobox/ui-combobox.js +4 -4
- package/dist/collection/components/ui-context-menu/ui-context-menu.js +1 -1
- package/dist/collection/components/ui-dialog/ui-dialog.js +1 -1
- package/dist/collection/components/ui-disclosure/ui-disclosure.js +1 -1
- package/dist/collection/components/ui-editable/ui-editable.js +1 -1
- package/dist/collection/components/ui-floating-action-button/ui-floating-action-button.js +1 -1
- package/dist/collection/components/ui-form-field/ui-form-field.js +1 -1
- package/dist/collection/components/ui-icon-button/ui-icon-button.js +1 -1
- package/dist/collection/components/ui-input/ui-input.js +1 -1
- package/dist/collection/components/ui-menu/ui-menu.js +1 -1
- package/dist/collection/components/ui-menu-item/ui-menu-item.js +1 -1
- package/dist/collection/components/ui-multi-combobox/ui-multi-combobox.css +5 -1
- package/dist/collection/components/ui-multi-combobox/ui-multi-combobox.js +1 -1
- package/dist/collection/components/ui-popover/ui-popover.js +1 -1
- package/dist/collection/components/ui-radio/ui-radio.js +1 -1
- package/dist/collection/components/ui-radio-group/ui-radio-group.js +1 -1
- package/dist/collection/components/ui-search-result-row/ui-search-result-row.js +1 -1
- package/dist/collection/components/ui-search-shell/ui-search-shell.js +1 -1
- package/dist/collection/components/ui-select/ui-select.js +1 -1
- package/dist/collection/components/ui-switch/ui-switch.js +2 -2
- package/dist/collection/components/ui-tabs/ui-tabs.js +1 -1
- package/dist/collection/components/ui-textarea/ui-textarea.js +1 -1
- package/dist/collection/components/ui-toast-region/ui-toast-region.js +1 -1
- package/dist/collection/components/ui-tooltip/ui-tooltip.js +1 -1
- package/dist/collection/components/ui-top-bar/ui-top-bar.js +1 -1
- package/dist/collection/components/ui-tree/ui-tree.js +1 -1
- package/dist/collection/components/ui-tree-item/ui-tree-item.js +2 -2
- package/dist/components/{p-BMgIcOh-.js → p-BKzrrab4.js} +1 -1
- package/dist/components/p-D0wBI-9r.js +1 -0
- package/dist/components/{p-C6p-ygxq.js → p-DZRtXH6j.js} +1 -1
- package/dist/components/p-Vc4ExHFc.js +1 -0
- package/dist/components/ui-chip.js +1 -1
- package/dist/components/ui-combobox.js +1 -1
- package/dist/components/ui-context-menu.js +1 -1
- package/dist/components/ui-dialog.js +1 -1
- package/dist/components/ui-disclosure.js +1 -1
- package/dist/components/ui-editable.js +1 -1
- package/dist/components/ui-floating-action-button.js +1 -1
- package/dist/components/ui-form-field.js +1 -1
- package/dist/components/ui-icon-button.js +1 -1
- package/dist/components/ui-input.js +1 -1
- package/dist/components/ui-menu-item.js +1 -1
- package/dist/components/ui-menu.js +1 -1
- package/dist/components/ui-multi-combobox.js +1 -1
- package/dist/components/ui-popover.js +1 -1
- package/dist/components/ui-radio-group.js +1 -1
- package/dist/components/ui-radio.js +1 -1
- package/dist/components/ui-search-result-row.js +1 -1
- package/dist/components/ui-search-shell.js +1 -1
- package/dist/components/ui-select.js +1 -1
- package/dist/components/ui-switch.js +1 -1
- package/dist/components/ui-tabs.js +1 -1
- package/dist/components/ui-textarea.js +1 -1
- package/dist/components/ui-toast-region.js +1 -1
- package/dist/components/ui-tooltip.js +1 -1
- package/dist/components/ui-top-bar.js +1 -1
- package/dist/components/ui-tree-item.js +1 -1
- package/dist/components/ui-tree.js +1 -1
- package/dist/esm/ui-chip_2.entry.js +6 -6
- package/dist/esm/ui-context-menu.entry.js +1 -1
- package/dist/esm/ui-dialog.entry.js +1 -1
- package/dist/esm/ui-disclosure.entry.js +1 -1
- package/dist/esm/ui-editable.entry.js +1 -1
- package/dist/esm/ui-floating-action-button.entry.js +1 -1
- package/dist/esm/ui-form-field.entry.js +1 -1
- package/dist/esm/ui-icon-button.entry.js +1 -1
- package/dist/esm/ui-input.entry.js +1 -1
- package/dist/esm/ui-menu-item.entry.js +1 -1
- package/dist/esm/ui-menu.entry.js +1 -1
- package/dist/esm/ui-multi-combobox.entry.js +2 -2
- package/dist/esm/ui-popover.entry.js +1 -1
- package/dist/esm/ui-radio-group.entry.js +1 -1
- package/dist/esm/ui-radio.entry.js +1 -1
- package/dist/esm/ui-search-result-row.entry.js +1 -1
- package/dist/esm/ui-search-shell.entry.js +1 -1
- package/dist/esm/ui-select.entry.js +1 -1
- package/dist/esm/ui-switch.entry.js +2 -2
- package/dist/esm/ui-tabs.entry.js +1 -1
- package/dist/esm/ui-textarea.entry.js +1 -1
- package/dist/esm/ui-toast-region.entry.js +1 -1
- package/dist/esm/ui-tooltip.entry.js +1 -1
- package/dist/esm/ui-top-bar.entry.js +1 -1
- package/dist/esm/ui-tree-item.entry.js +2 -2
- package/dist/esm/ui-tree.entry.js +1 -1
- package/dist/index.cjs +35 -35
- package/dist/index.js +1 -1
- package/dist/looma/looma.esm.js +1 -1
- package/dist/looma/{p-0e1741cb.entry.js → p-071c139c.entry.js} +1 -1
- package/dist/looma/{p-393e3e02.entry.js → p-0fd60103.entry.js} +1 -1
- package/dist/looma/{p-e14024bf.entry.js → p-1a12eb5c.entry.js} +1 -1
- package/dist/looma/{p-bcb1b47b.entry.js → p-1e1de77f.entry.js} +1 -1
- package/dist/looma/{p-0ef4bf13.entry.js → p-20387ffa.entry.js} +1 -1
- package/dist/looma/{p-30f01909.entry.js → p-2f3c1b57.entry.js} +1 -1
- package/dist/looma/{p-5a7261e1.entry.js → p-4fc9917f.entry.js} +1 -1
- package/dist/looma/{p-26d357ae.entry.js → p-607c3056.entry.js} +1 -1
- package/dist/looma/p-66c6b6dd.entry.js +1 -0
- package/dist/looma/{p-89e71bbb.entry.js → p-6cc3180b.entry.js} +1 -1
- package/dist/looma/{p-558d4f5b.entry.js → p-77dcfa6f.entry.js} +1 -1
- package/dist/looma/p-85a6716e.entry.js +1 -0
- package/dist/looma/{p-81c533f5.entry.js → p-8a5e3fe1.entry.js} +1 -1
- package/dist/looma/{p-7319c147.entry.js → p-8f102407.entry.js} +1 -1
- package/dist/looma/{p-87f501cf.entry.js → p-9551ebf6.entry.js} +1 -1
- package/dist/looma/{p-dbcb479c.entry.js → p-9a82c523.entry.js} +1 -1
- package/dist/looma/{p-78b7e466.entry.js → p-a939c00f.entry.js} +1 -1
- package/dist/looma/{p-7eb04f09.entry.js → p-b68762f2.entry.js} +1 -1
- package/dist/looma/{p-95eb3b58.entry.js → p-b75aff63.entry.js} +1 -1
- package/dist/looma/p-caa37be2.entry.js +1 -0
- package/dist/looma/{p-d62da01d.entry.js → p-da6e2d01.entry.js} +1 -1
- package/dist/looma/{p-fc180770.entry.js → p-df696cca.entry.js} +1 -1
- package/dist/looma/{p-92cd1841.entry.js → p-e07e6ac2.entry.js} +1 -1
- package/dist/looma/{p-96ec4d7a.entry.js → p-e406656e.entry.js} +1 -1
- package/dist/looma/{p-5780cefa.entry.js → p-e82f104c.entry.js} +1 -1
- package/dist/looma/{p-166f8593.entry.js → p-f431dc13.entry.js} +1 -1
- package/dist/{ui-affordance-scope.entry-6N4ZQ5FM.js → ui-affordance-scope.entry-7H6GIQEK.js} +1 -1
- package/dist/{ui-avatar-group.entry-FTZVEFGI.js → ui-avatar-group.entry-QB25IUWA.js} +1 -1
- package/dist/{ui-avatar.entry-SST735OH.js → ui-avatar.entry-L377CWPR.js} +1 -1
- package/dist/{ui-badge.entry-DZGS7MUT.js → ui-badge.entry-QHC3KI5S.js} +1 -1
- package/dist/{ui-button.entry-5WX56ARJ.js → ui-button.entry-MZGTPU22.js} +1 -1
- package/dist/{ui-callout.entry-OI5RNRXV.js → ui-callout.entry-2D4LO74K.js} +1 -1
- package/dist/{ui-checkbox.entry-HCGIQPSE.js → ui-checkbox.entry-B2O5DREC.js} +1 -1
- package/dist/{ui-chip_2.entry-G2IGWJTL.js → ui-chip_2.entry-OOSON72O.js} +8 -8
- package/dist/{ui-context-menu.entry-K2LRT2WV.js → ui-context-menu.entry-UY76G7HM.js} +2 -2
- package/dist/{ui-dialog.entry-4W2T27R6.js → ui-dialog.entry-345V7IJ3.js} +2 -2
- package/dist/{ui-disclosure.entry-ONYMXRKR.js → ui-disclosure.entry-RUU7VNDN.js} +2 -2
- package/dist/{ui-editable.entry-4ZHXIOER.js → ui-editable.entry-WWFFHOMP.js} +2 -2
- package/dist/{ui-floating-action-button.entry-XU4JO2ZV.js → ui-floating-action-button.entry-Y2TLDJO4.js} +2 -2
- package/dist/{ui-form-field.entry-BZSEWR4A.js → ui-form-field.entry-C63GZMQR.js} +2 -2
- package/dist/{ui-icon-button.entry-MHJKL5OZ.js → ui-icon-button.entry-35MJYYEI.js} +2 -2
- package/dist/{ui-input.entry-BL6EX3GC.js → ui-input.entry-3FAXEH5M.js} +2 -2
- package/dist/{ui-menu-item.entry-LERF3A4G.js → ui-menu-item.entry-3J42XLCJ.js} +2 -2
- package/dist/{ui-menu.entry-WXDYGFJE.js → ui-menu.entry-YDABO3OO.js} +2 -2
- package/dist/{ui-multi-combobox.entry-WSNWVRXE.js → ui-multi-combobox.entry-XXLS4V3I.js} +3 -3
- package/dist/{ui-popover.entry-P6STTQVS.js → ui-popover.entry-YP7R6FQO.js} +2 -2
- package/dist/{ui-radio-group.entry-GZLHOY2M.js → ui-radio-group.entry-TYXAN7G5.js} +2 -2
- package/dist/{ui-radio.entry-4PXIRDKT.js → ui-radio.entry-JW7HX3LW.js} +2 -2
- package/dist/{ui-search-result-row.entry-LHNOT7MK.js → ui-search-result-row.entry-MKQYGNFO.js} +2 -2
- package/dist/{ui-search-shell.entry-GQCMEU2Z.js → ui-search-shell.entry-KHIQTT4J.js} +2 -2
- package/dist/{ui-select.entry-TZU7XX4U.js → ui-select.entry-R235Y3IL.js} +2 -2
- package/dist/{ui-switch.entry-QFH3YDYP.js → ui-switch.entry-BJ6FIEPB.js} +3 -3
- package/dist/{ui-tabs.entry-A57JVDT2.js → ui-tabs.entry-ZBP3FLR2.js} +2 -2
- package/dist/{ui-textarea.entry-L3RLZIGO.js → ui-textarea.entry-2YW7TCEU.js} +2 -2
- package/dist/{ui-toast-region.entry-XKKEY4K7.js → ui-toast-region.entry-ZSCMMIKQ.js} +2 -2
- package/dist/{ui-tooltip.entry-5WQTX7XF.js → ui-tooltip.entry-VG4AWEBD.js} +2 -2
- package/dist/{ui-top-bar.entry-KMJEFYOM.js → ui-top-bar.entry-CZW3MLC6.js} +2 -2
- package/dist/{ui-tree-item.entry-TUBC57FI.js → ui-tree-item.entry-CU2SWAOK.js} +3 -3
- package/dist/{ui-tree.entry-Y75CRURL.js → ui-tree.entry-M6KXK7GJ.js} +2 -2
- package/package.json +1 -1
- package/dist/components/p-B9CzOHvE.js +0 -1
- package/dist/components/p-BVteuP_d.js +0 -1
- package/dist/looma/p-05592219.entry.js +0 -1
- package/dist/looma/p-262a542c.entry.js +0 -1
- package/dist/looma/p-3a44b9f9.entry.js +0 -1
|
@@ -6,39 +6,39 @@ var __glob = (map) => (path) => {
|
|
|
6
6
|
|
|
7
7
|
// import("./**/*.entry.js") in dist/esm/index-8BGiMGQ0.js
|
|
8
8
|
var globImport_entry_js = __glob({
|
|
9
|
-
"./ui-affordance-scope.entry.js": () => import("./ui-affordance-scope.entry-
|
|
10
|
-
"./ui-avatar-group.entry.js": () => import("./ui-avatar-group.entry-
|
|
11
|
-
"./ui-avatar.entry.js": () => import("./ui-avatar.entry-
|
|
12
|
-
"./ui-badge.entry.js": () => import("./ui-badge.entry-
|
|
13
|
-
"./ui-button.entry.js": () => import("./ui-button.entry-
|
|
14
|
-
"./ui-callout.entry.js": () => import("./ui-callout.entry-
|
|
15
|
-
"./ui-checkbox.entry.js": () => import("./ui-checkbox.entry-
|
|
16
|
-
"./ui-chip_2.entry.js": () => import("./ui-chip_2.entry-
|
|
17
|
-
"./ui-context-menu.entry.js": () => import("./ui-context-menu.entry-
|
|
18
|
-
"./ui-dialog.entry.js": () => import("./ui-dialog.entry-
|
|
19
|
-
"./ui-disclosure.entry.js": () => import("./ui-disclosure.entry-
|
|
20
|
-
"./ui-editable.entry.js": () => import("./ui-editable.entry-
|
|
21
|
-
"./ui-floating-action-button.entry.js": () => import("./ui-floating-action-button.entry-
|
|
22
|
-
"./ui-form-field.entry.js": () => import("./ui-form-field.entry-
|
|
23
|
-
"./ui-icon-button.entry.js": () => import("./ui-icon-button.entry-
|
|
24
|
-
"./ui-input.entry.js": () => import("./ui-input.entry-
|
|
25
|
-
"./ui-menu-item.entry.js": () => import("./ui-menu-item.entry-
|
|
26
|
-
"./ui-menu.entry.js": () => import("./ui-menu.entry-
|
|
27
|
-
"./ui-multi-combobox.entry.js": () => import("./ui-multi-combobox.entry-
|
|
28
|
-
"./ui-popover.entry.js": () => import("./ui-popover.entry-
|
|
29
|
-
"./ui-radio-group.entry.js": () => import("./ui-radio-group.entry-
|
|
30
|
-
"./ui-radio.entry.js": () => import("./ui-radio.entry-
|
|
31
|
-
"./ui-search-result-row.entry.js": () => import("./ui-search-result-row.entry-
|
|
32
|
-
"./ui-search-shell.entry.js": () => import("./ui-search-shell.entry-
|
|
33
|
-
"./ui-select.entry.js": () => import("./ui-select.entry-
|
|
34
|
-
"./ui-switch.entry.js": () => import("./ui-switch.entry-
|
|
35
|
-
"./ui-tabs.entry.js": () => import("./ui-tabs.entry-
|
|
36
|
-
"./ui-textarea.entry.js": () => import("./ui-textarea.entry-
|
|
37
|
-
"./ui-toast-region.entry.js": () => import("./ui-toast-region.entry-
|
|
38
|
-
"./ui-tooltip.entry.js": () => import("./ui-tooltip.entry-
|
|
39
|
-
"./ui-top-bar.entry.js": () => import("./ui-top-bar.entry-
|
|
40
|
-
"./ui-tree-item.entry.js": () => import("./ui-tree-item.entry-
|
|
41
|
-
"./ui-tree.entry.js": () => import("./ui-tree.entry-
|
|
9
|
+
"./ui-affordance-scope.entry.js": () => import("./ui-affordance-scope.entry-7H6GIQEK.js"),
|
|
10
|
+
"./ui-avatar-group.entry.js": () => import("./ui-avatar-group.entry-QB25IUWA.js"),
|
|
11
|
+
"./ui-avatar.entry.js": () => import("./ui-avatar.entry-L377CWPR.js"),
|
|
12
|
+
"./ui-badge.entry.js": () => import("./ui-badge.entry-QHC3KI5S.js"),
|
|
13
|
+
"./ui-button.entry.js": () => import("./ui-button.entry-MZGTPU22.js"),
|
|
14
|
+
"./ui-callout.entry.js": () => import("./ui-callout.entry-2D4LO74K.js"),
|
|
15
|
+
"./ui-checkbox.entry.js": () => import("./ui-checkbox.entry-B2O5DREC.js"),
|
|
16
|
+
"./ui-chip_2.entry.js": () => import("./ui-chip_2.entry-OOSON72O.js"),
|
|
17
|
+
"./ui-context-menu.entry.js": () => import("./ui-context-menu.entry-UY76G7HM.js"),
|
|
18
|
+
"./ui-dialog.entry.js": () => import("./ui-dialog.entry-345V7IJ3.js"),
|
|
19
|
+
"./ui-disclosure.entry.js": () => import("./ui-disclosure.entry-RUU7VNDN.js"),
|
|
20
|
+
"./ui-editable.entry.js": () => import("./ui-editable.entry-WWFFHOMP.js"),
|
|
21
|
+
"./ui-floating-action-button.entry.js": () => import("./ui-floating-action-button.entry-Y2TLDJO4.js"),
|
|
22
|
+
"./ui-form-field.entry.js": () => import("./ui-form-field.entry-C63GZMQR.js"),
|
|
23
|
+
"./ui-icon-button.entry.js": () => import("./ui-icon-button.entry-35MJYYEI.js"),
|
|
24
|
+
"./ui-input.entry.js": () => import("./ui-input.entry-3FAXEH5M.js"),
|
|
25
|
+
"./ui-menu-item.entry.js": () => import("./ui-menu-item.entry-3J42XLCJ.js"),
|
|
26
|
+
"./ui-menu.entry.js": () => import("./ui-menu.entry-YDABO3OO.js"),
|
|
27
|
+
"./ui-multi-combobox.entry.js": () => import("./ui-multi-combobox.entry-XXLS4V3I.js"),
|
|
28
|
+
"./ui-popover.entry.js": () => import("./ui-popover.entry-YP7R6FQO.js"),
|
|
29
|
+
"./ui-radio-group.entry.js": () => import("./ui-radio-group.entry-TYXAN7G5.js"),
|
|
30
|
+
"./ui-radio.entry.js": () => import("./ui-radio.entry-JW7HX3LW.js"),
|
|
31
|
+
"./ui-search-result-row.entry.js": () => import("./ui-search-result-row.entry-MKQYGNFO.js"),
|
|
32
|
+
"./ui-search-shell.entry.js": () => import("./ui-search-shell.entry-KHIQTT4J.js"),
|
|
33
|
+
"./ui-select.entry.js": () => import("./ui-select.entry-R235Y3IL.js"),
|
|
34
|
+
"./ui-switch.entry.js": () => import("./ui-switch.entry-BJ6FIEPB.js"),
|
|
35
|
+
"./ui-tabs.entry.js": () => import("./ui-tabs.entry-ZBP3FLR2.js"),
|
|
36
|
+
"./ui-textarea.entry.js": () => import("./ui-textarea.entry-2YW7TCEU.js"),
|
|
37
|
+
"./ui-toast-region.entry.js": () => import("./ui-toast-region.entry-ZSCMMIKQ.js"),
|
|
38
|
+
"./ui-tooltip.entry.js": () => import("./ui-tooltip.entry-VG4AWEBD.js"),
|
|
39
|
+
"./ui-top-bar.entry.js": () => import("./ui-top-bar.entry-CZW3MLC6.js"),
|
|
40
|
+
"./ui-tree-item.entry.js": () => import("./ui-tree-item.entry-CU2SWAOK.js"),
|
|
41
|
+
"./ui-tree.entry.js": () => import("./ui-tree.entry-M6KXK7GJ.js")
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
// dist/esm/index-8BGiMGQ0.js
|
|
@@ -4,7 +4,7 @@ var index = require('./index-BHG9Rpil.js');
|
|
|
4
4
|
var positioning = require('./positioning-i0WrCAdF.js');
|
|
5
5
|
var manager = require('./manager-Ce25WRtl.js');
|
|
6
6
|
|
|
7
|
-
const uiChipCss = () => `:host{--ui-chip-surface:var(--ui-surface-subtle);--ui-chip-text:var(--ui-text-secondary);--ui-chip-border:var(--ui-border-default);--ui-chip-font-size:var(--ui-font-size-xs);--ui-chip-font-weight:var(--ui-font-normal);--ui-chip-line-height:var(--ui-line-height-tight);--ui-chip-padding-block:var(--ui-space-0-5);--ui-chip-padding-inline:var(--ui-space-2);--ui-chip-notch:var(--ui-space-1);display:inline-flex;max-width:100%}:host([data-size='sm']){--ui-chip-font-size:var(--ui-font-size-sm)}.chip__surface{display:inline-flex;align-items:center;max-width:100%;padding:var(--ui-chip-padding-block) var(--ui-chip-padding-inline);border:1px solid var(--ui-chip-border);background:var(--ui-chip-surface);color:var(--ui-chip-text) !important;font-family:var(--ui-font-family-sans) !important;font-size:var(--ui-chip-font-size) !important;font-weight:var(--ui-chip-font-weight) !important;line-height:var(--ui-chip-line-height) !important;white-space:nowrap}:host([data-appearance='pill']) .chip__surface{border-radius:var(--ui-radius-round)}:host([data-appearance='tag']) .chip__surface{border:0;padding-inline-end:calc(var(--ui-chip-padding-inline) + var(--ui-chip-notch));clip-path:polygon(0 0, calc(100% - var(--ui-chip-notch)) 0, 100% 50%, calc(100% - var(--ui-chip-notch)) 100%, 0 100%)}`;
|
|
7
|
+
const uiChipCss = () => `:host{--ui-chip-surface:var(--ui-surface-subtle);--ui-chip-text:var(--ui-text-secondary);--ui-chip-border:var(--ui-border-default);--ui-chip-font-size:var(--ui-font-size-xs);--ui-chip-font-weight:var(--ui-font-normal);--ui-chip-line-height:var(--ui-line-height-tight);--ui-chip-padding-block:var(--ui-space-0-5);--ui-chip-padding-inline:var(--ui-space-2);--ui-chip-notch:var(--ui-space-1);display:inline-flex;min-width:0;max-width:100%}:host([data-size='sm']){--ui-chip-font-size:var(--ui-font-size-sm)}.chip__surface{display:inline-flex;align-items:center;box-sizing:border-box;min-width:0;max-width:100%;padding:var(--ui-chip-padding-block) var(--ui-chip-padding-inline);border:1px solid var(--ui-chip-border);background:var(--ui-chip-surface);color:var(--ui-chip-text) !important;font-family:var(--ui-font-family-sans) !important;font-size:var(--ui-chip-font-size) !important;font-weight:var(--ui-chip-font-weight) !important;line-height:var(--ui-chip-line-height) !important}.chip__label{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([data-appearance='pill']) .chip__surface{border-radius:var(--ui-radius-round)}:host([data-appearance='tag']) .chip__surface{border:0;padding-inline-end:calc(var(--ui-chip-padding-inline) + var(--ui-chip-notch));clip-path:polygon(0 0, calc(100% - var(--ui-chip-notch)) 0, 100% 50%, calc(100% - var(--ui-chip-notch)) 100%, 0 100%)}`;
|
|
8
8
|
|
|
9
9
|
const UIChip = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -15,7 +15,7 @@ const UIChip = class {
|
|
|
15
15
|
/** Compact typography size. */
|
|
16
16
|
size = 'xs';
|
|
17
17
|
render() {
|
|
18
|
-
return (index.h(index.Host, { key: '970cb48cf8d70c47feaab90fe428c09f0d052a03', "data-appearance": this.appearance, "data-size": this.size }, index.h("span", { key: '6d8c6104d2869520097a2a61bd2a887b363b4912', class: "chip__surface" }, index.h("slot", { key: '
|
|
18
|
+
return (index.h(index.Host, { key: '970cb48cf8d70c47feaab90fe428c09f0d052a03', "data-appearance": this.appearance, "data-size": this.size }, index.h("span", { key: '6d8c6104d2869520097a2a61bd2a887b363b4912', class: "chip__surface" }, index.h("span", { key: '638fb68ff5dffa629576c9e1079bb3169f2adb4f', class: "chip__label" }, index.h("slot", { key: '8b31f2130e202e18d7717aee6add6bc6e7f119b5' })))));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
UIChip.style = uiChipCss();
|
|
@@ -529,18 +529,18 @@ const UICombobox = class {
|
|
|
529
529
|
const description = [this.helpOpen ? 'help-text' : '', this.validation.issues.length ? 'validation' : ''].filter(Boolean).join(' ') || undefined;
|
|
530
530
|
const status = this.loading ? 'Loading suggestions…' : this.lookupError || (this.expanded ? `${this.rows.length} suggestions available.` : '');
|
|
531
531
|
const groups = [...new Set(this.rows.map(row => row.group ?? ''))];
|
|
532
|
-
return index.h(index.Host, { key: '
|
|
532
|
+
return index.h(index.Host, { key: '1f00d9a83729d9c2147ced7e5006b928d1b5e51d', "data-size": this.size, "data-validation": this.validation.status, onFocusout: this.onFocusOut }, index.h("label", { key: '10353b147cc68ef1d67be0988849af1527fcf9ba', htmlFor: "input", part: "label", class: this.labelVisibility === 'sr-only' ? 'sr-only' : undefined }, this.label, this.required ? ' *' : ''), index.h("div", { key: '74bb53137d9343add37c22f3ac503eccf41807a9', class: "field", part: "field", ref: element => this.field = element, onClick: event => {
|
|
533
533
|
if (!event.composedPath().some(node => node instanceof HTMLButtonElement))
|
|
534
534
|
this.input?.focus();
|
|
535
|
-
} }, index.h("slot", { key: '
|
|
535
|
+
} }, index.h("slot", { key: '24c26916365013faa4a78bd4fe0d01f6c129c703', name: "start" }), index.h("input", { key: '835d19e66ec4a24c1a83f43bbc256fa2a9e3332f', id: "input", ref: element => this.input = element, role: "combobox", "aria-autocomplete": "list", "aria-expanded": String(this.expanded), "aria-controls": "listbox", "aria-activedescendant": this.expanded && this.active >= 0 ? `option-${this.active}` : undefined, "aria-describedby": description, "aria-invalid": String(this.validation.status === 'error'), "aria-busy": String(this.validation.status === 'pending'), value: this.display, placeholder: this.placeholder, name: this.name || undefined, disabled: this.disabled, readOnly: this.readOnly, required: this.required, autoComplete: "off", part: "input", onInput: this.onInput, onKeyDown: this.onKeydown, onCompositionstart: () => this.composing = true, onCompositionend: () => { this.composing = false; this.onInput(new InputEvent('input')); } }), this.clearable && index.h("button", { key: '326c1e24d3c417c3a72acd8234a53937b388ba79', type: "button", part: "affordance", "aria-label": `Clear ${this.label}`, disabled: this.disabled || this.readOnly, onClick: () => { this.commit(null, '', null, 'clear', 'pointer'); this.close(); this.input?.focus(); } }, "\u00D7"), this.help && index.h("button", { key: '6aeb62dc2935eb95670caa1d2028c0931dc362b2', id: "help", type: "button", part: "affordance", "aria-label": `Help for ${this.label}`, disabled: this.disabled }, index.h("span", { key: '9317be0fbb0c1bbb91061be69f38037a97a4c36b', "aria-hidden": "true" }, "?")), this.disclosure && index.h("button", { key: '1cd2a0ea92df1144ff2297fcf64df7b3d0f4713a', type: "button", part: "affordance", "aria-label": `Suggestions for ${this.label}`, "aria-controls": "listbox", "aria-expanded": String(this.expanded), disabled: this.disabled || this.readOnly, onClick: () => {
|
|
536
536
|
if (this.expanded)
|
|
537
537
|
this.close();
|
|
538
538
|
else
|
|
539
539
|
this.open('disclosure');
|
|
540
540
|
this.input?.focus();
|
|
541
|
-
} }, index.h("span", { key: '
|
|
541
|
+
} }, index.h("span", { key: '0188b2d0e8cc7b7ff4d1a2175a0ff0b47d9c7d98', "aria-hidden": "true" }, "\u2304"))), this.help && index.h("ui-tooltip", { key: 'e09fd35274c3e1fa6e408850d72f7a07c2bb4baf', id: "help-text", for: "help", toggleOnClick: true, onOpen: () => this.helpOpen = true, onClose: () => this.helpOpen = false }, this.help), index.h("div", { key: 'ddf83a5944dd03fc7eb580b81fcf291e06c03601', class: "popup", part: "popup", hidden: !this.expanded, ref: element => this.popup = element }, index.h("div", { key: '1d73de1dabb6eaa95af12f2af88dac74e3f163ea', id: "listbox", role: "listbox", "aria-label": `${this.label} suggestions`, "aria-busy": String(this.loading) }, groups.map(group => index.h("div", { role: group ? 'group' : 'presentation', "aria-label": group || undefined }, group && index.h("div", { class: "group", part: "group" }, group), this.rows.map((row, index$1) => (row.group ?? '') !== group ? null : index.h("div", { id: `option-${index$1}`, role: "option", "aria-selected": String(this.selected === row.value), "aria-disabled": String(Boolean(row.disabled)), "data-active": this.active === index$1 ? '' : undefined, part: "option", class: "option", onPointerDown: event => event.preventDefault(), onClick: () => this.choose(index$1, 'pointer') }, index.h("slot", { name: `option-${row.id}` }, index.h("span", { class: "primary", part: "option-primary" }, row.label), row.description && index.h("span", { class: "secondary", part: "option-secondary" }, row.description)))))), this.canCreate && index.h("div", { key: 'a0aaafa2f4ff79efa954ed780f3a7bd81d4b2ecd', id: `option-${this.rows.length}`, role: "option", "aria-selected": "false", class: "option", part: "option", "data-active": this.active === this.rows.length ? '' : undefined, onPointerDown: event => event.preventDefault(), onClick: () => this.choose(this.rows.length, 'pointer') }, index.h("slot", { key: '53a6706fc2c26097948b08cf0a7ee6040e37fe57', name: "create" }, "Create \u201C", this.raw, "\u201D"))), this.loading ? index.h("div", { class: "message" }, index.h("slot", { name: "loading" }, "Loading suggestions\u2026"))
|
|
542
542
|
: this.lookupError ? index.h("div", { class: "message" }, index.h("slot", { name: "error" }, this.lookupError))
|
|
543
|
-
: !this.rows.length && !this.canCreate ? index.h("div", { class: "message" }, index.h("slot", { name: "empty" }, "No suggestions.")) : null, index.h("slot", { key: '
|
|
543
|
+
: !this.rows.length && !this.canCreate ? index.h("div", { class: "message" }, index.h("slot", { name: "empty" }, "No suggestions.")) : null, index.h("slot", { key: '7997a0233a3c1a560b820c846645405ec4ceec1d', name: "footer" })), index.h("div", { key: '9143eb79141f5f3660a63f7a2471d1eecd8e9332', id: "validation", class: "message", part: "validation", hidden: !this.validation.issues.length }, this.validation.issues.map(issue => index.h("div", null, issue.message))), index.h("div", { key: '21f310613b058f528f8c4df329864fd8a2a94b55', class: "sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" }, status, " ", this.validation.status === 'pending' ? 'Checking value…' : this.validation.issues.map(issue => issue.message).join(' ')));
|
|
544
544
|
}
|
|
545
545
|
static get watchers() { return {
|
|
546
546
|
"value": [{
|
|
@@ -220,7 +220,7 @@ const UIContextMenu = class {
|
|
|
220
220
|
this.closeMenu('action', 'pointer');
|
|
221
221
|
};
|
|
222
222
|
render() {
|
|
223
|
-
return (index.h(index.Host, { key: '
|
|
223
|
+
return (index.h(index.Host, { key: '292937da8010dc741e3e845b6f7fd0fef6b8bda3', "data-open": this.internalOpen ? '' : undefined, "data-focus-trigger": this.internalOpen ? this.focusTrigger : undefined, onKeyDown: this.onKeydown, onClick: this.onItemClick }, index.h("slot", { key: '4f08876237d1919803200226d956e67de35fffab', name: "trigger" }), index.h("div", { key: 'c2cc0218165d02cc4c7fd11bdc52a51d39897546', class: "menu", "data-open": this.internalOpen ? '' : undefined }, index.h("ui-menu", { key: '1c2c6e62c86f3a38f014976843f3354d312d0744', open: this.internalOpen }, index.h("slot", { key: 'baeca960ac6d2277a60dc567f6e4110904d67b5e' })))));
|
|
224
224
|
}
|
|
225
225
|
static get watchers() { return {
|
|
226
226
|
"open": [{
|
|
@@ -112,7 +112,7 @@ const UIDialog = class {
|
|
|
112
112
|
this.accessibleLabel = nextLabel;
|
|
113
113
|
};
|
|
114
114
|
render() {
|
|
115
|
-
return (index.h(index.Host, { key: '
|
|
115
|
+
return (index.h(index.Host, { key: 'f5b4441f54505e40851dd239d12cf8ed09daabfe', "data-open": this.internalOpen ? '' : undefined, onKeyDown: this.onKeydown }, index.h("dialog", { key: '6896de6166cc085d9bd581dc053705fbce6328d8', ref: (el) => (this.dialogRef = el), open: this.internalOpen, "aria-label": this.accessibleLabel }, index.h("slot", { key: '07515a7b8da25ccbd18bcde226129a569c999af7' }))));
|
|
116
116
|
}
|
|
117
117
|
static get watchers() { return {
|
|
118
118
|
"open": [{
|
|
@@ -96,7 +96,7 @@ const UIDisclosure = class {
|
|
|
96
96
|
this.setOpen(!this.internalOpen, { reason: 'action', trigger: 'keyboard' });
|
|
97
97
|
};
|
|
98
98
|
render() {
|
|
99
|
-
return (index.h(index.Host, { key: '
|
|
99
|
+
return (index.h(index.Host, { key: '5c49c41703850437e8b3a1476f3333da83a4f133' }, index.h("slot", { key: '9a4856ad2ab237331b8485f6c3a423a43ddceb8d' })));
|
|
100
100
|
}
|
|
101
101
|
static get watchers() { return {
|
|
102
102
|
"open": [{
|
|
@@ -87,7 +87,7 @@ const UIEditable = class {
|
|
|
87
87
|
this.requestEdit(false, 'light-dismiss', 'pointer');
|
|
88
88
|
};
|
|
89
89
|
render() {
|
|
90
|
-
return index.h(index.Host, { key: '
|
|
90
|
+
return index.h(index.Host, { key: '7f0c77aa06281c94407af1f060f5f2b2c34af394', "data-edit": this.internalEdit ? '' : undefined, "data-disabled": this.disabled ? '' : undefined, onClick: this.onClick, onKeyDown: this.onKeyDown }, index.h("div", { key: '4dc13c26dc4080ed0ad972aa677d9e844a0e7597', part: "preview", hidden: this.internalEdit }, index.h("slot", { key: '8332efed99f05173030d379088e8e97746f32ce6', name: "preview" })), index.h("div", { key: 'ec3e11ec9218077da5f17a0c724cfab17d56fb17', part: "edit", hidden: !this.internalEdit }, index.h("slot", { key: '46a4618614c6e55c0015d97e687a0f28e05eef38', name: "edit" })));
|
|
91
91
|
}
|
|
92
92
|
static get watchers() { return {
|
|
93
93
|
"edit": [{
|
|
@@ -12,7 +12,7 @@ const UIFloatingActionButton = class {
|
|
|
12
12
|
mobileOnly = false;
|
|
13
13
|
label = '';
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: '86f7c100efe7fdf900de7abbcc1a01c475b0da1d', "data-disabled": this.disabled ? '' : undefined }, index.h("button", { key: '91398faeb693dcbe11d58e59a183391ce6e4876c', type: "button", "aria-label": this.label || undefined, disabled: this.disabled }, index.h("slot", { key: 'd11b6f638b045d6835279f3381442983b40472d9' }))));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
UIFloatingActionButton.style = uiFloatingActionButtonCss();
|
|
@@ -106,7 +106,7 @@ const UIFormField = class {
|
|
|
106
106
|
input.setAttribute('aria-invalid', this.invalid ? 'true' : 'false');
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (index.h(index.Host, { key: '
|
|
109
|
+
return (index.h(index.Host, { key: '3d331f3506c3853d751395569e87614c52ce0076', "data-invalid": this.invalid ? '' : undefined, "data-disabled": this.disabled ? '' : undefined, "data-required": this.required ? '' : undefined }, index.h("slot", { key: '1b582b4961a767230b19efa314943f8a5426270e', onSlotchange: this.scheduleWire })));
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
112
|
UIFormField.style = uiFormFieldCss();
|
|
@@ -15,7 +15,7 @@ const UIIconButton = class {
|
|
|
15
15
|
/** Reveals this control through a surrounding ui-affordance-scope. */
|
|
16
16
|
anticipatory = false;
|
|
17
17
|
render() {
|
|
18
|
-
return (index.h(index.Host, { key: '
|
|
18
|
+
return (index.h(index.Host, { key: '9e8ee3ff8c9f9ab5113a7635e49755e0eb998898', "data-disabled": this.disabled ? '' : undefined, "data-ui-affordance": this.anticipatory ? 'button' : undefined }, index.h("button", { key: '7f6dd5ae40b595634ba91834c2bb113687ee5cb8', type: "button", "aria-label": this.label || undefined, disabled: this.disabled }, index.h("slot", { key: 'c7a94d7fb54fbff44e372bf4f67bb29a40bfc45b' }))));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
UIIconButton.style = uiIconButtonCss();
|
|
@@ -78,7 +78,7 @@ const UIInput = class {
|
|
|
78
78
|
});
|
|
79
79
|
};
|
|
80
80
|
render() {
|
|
81
|
-
return (index.h(index.Host, { key: '
|
|
81
|
+
return (index.h(index.Host, { key: '90597a900e0504f0e729990dd8cbc84c35d8162f', "data-invalid": this.invalid ? '' : undefined }, index.h("slot", { key: '1c8ac0ad7e4d3a5a9b913c2687021ef7037ccfa7', ref: (el) => (this.slotRef = el) })));
|
|
82
82
|
}
|
|
83
83
|
static get watchers() { return {
|
|
84
84
|
"value": [{
|
|
@@ -11,7 +11,7 @@ const UIMenuItem = class {
|
|
|
11
11
|
disabled = false;
|
|
12
12
|
value = '';
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: '856cf07264b2eb8e3e51305408855156e11d9a8b', role: "menuitem", tabIndex: this.disabled ? -1 : 0, "aria-disabled": this.disabled ? 'true' : undefined, "data-value": this.value || undefined }, index.h("span", { key: 'a56401f9b910175eb5683d1748f323dce0d55a9c', class: "menu-item__surface" }, index.h("slot", { key: '4ee22fd4cdb10ec822e4485e48ed8000a10512ae' }))));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
UIMenuItem.style = uiMenuItemCss();
|
|
@@ -160,7 +160,7 @@ const UIMenu = class {
|
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
render() {
|
|
163
|
-
return (index.h(index.Host, { key: '
|
|
163
|
+
return (index.h(index.Host, { key: '22689ca1b0514bb27a76bfb9a702c0d4ce49d136', role: "menu", "aria-orientation": "vertical", "data-open": this.internalOpen ? '' : undefined }, index.h("div", { key: 'cff891a33348f077631f1b92f1167285aafd25f1', class: "menu__surface" }, index.h("slot", { key: '3a0e9ff4f36b1afbe5f879e0e51ff4943279b5b5' }))));
|
|
164
164
|
}
|
|
165
165
|
static get watchers() { return {
|
|
166
166
|
"open": [{
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BHG9Rpil.js');
|
|
4
4
|
|
|
5
|
-
const uiMultiComboboxCss = () => `:host{display:block;min-inline-size:0;color:var(--ui-text-primary);font:inherit}ui-combobox::part(field){flex-wrap:wrap;align-items:center;gap:var(--ui-space-1);min-block-size:var(--ui-multi-combobox-min-block-size, 2.5rem);padding:var(--ui-space-1)}ui-combobox::part(input){flex:1 0 var(--ui-multi-combobox-input-min-inline-size, 5rem);width:auto;min-block-size:1.75rem;padding:var(--ui-space-0-5) var(--ui-space-1)}.items{display:contents}.item{appearance:none;display:inline-flex;max-inline-size:100
|
|
5
|
+
const uiMultiComboboxCss = () => `:host{display:block;min-inline-size:0;color:var(--ui-text-primary);font:inherit}ui-combobox::part(field){flex-wrap:wrap;align-items:center;gap:var(--ui-space-1);min-block-size:var(--ui-multi-combobox-min-block-size, 2.5rem);padding:var(--ui-space-1)}ui-combobox::part(input){flex:1 0 var(--ui-multi-combobox-input-min-inline-size, 5rem);width:auto;min-block-size:1.75rem;padding:var(--ui-space-0-5) var(--ui-space-1)}.items{display:contents}.item{appearance:none;display:inline-flex;min-inline-size:0;max-inline-size:min(100%, var(--ui-multi-combobox-item-max-inline-size, 12rem));overflow:hidden;padding:0;border:0;border-radius:var(--ui-radius-1);background:transparent;color:inherit;font:inherit;cursor:default}.item>slot{display:block;min-inline-size:0;max-inline-size:100%;overflow:hidden}.item>slot::slotted(*){min-inline-size:0;max-inline-size:100%}.item:focus-visible{outline:2px solid var(--ui-focus-ring);outline-offset:1px}.item:disabled{opacity:.6}`;
|
|
6
6
|
|
|
7
7
|
const UIMultiCombobox = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -177,7 +177,7 @@ const UIMultiCombobox = class {
|
|
|
177
177
|
};
|
|
178
178
|
async focusInput() { await this.combobox?.focusInput(); }
|
|
179
179
|
render() {
|
|
180
|
-
return index.h(index.Host, { key: '
|
|
180
|
+
return index.h(index.Host, { key: 'ba4db0fdca6cae344fe6b0bf06c933a9a90d2d3f', onKeyDown: this.onKeyDown }, index.h("ui-combobox", { key: 'f5901b0b078b479425114d998618828cc458e7dd', ref: element => this.combobox = element, label: this.label, "label-visibility": "sr-only", placeholder: this.placeholder, name: this.name, value: null, query: this.raw, config: this.comboboxConfig, size: "sm", disabled: this.disabled, readOnly: this.readOnly, required: this.required, "onQuery-change": this.onQueryChange, "onValue-change": this.onValueChange, "onCreate-entry": this.onCreateEntry, "onOptions-change": this.onOptionsChange }, index.h("div", { key: '374c80862302d5c36f4849f42e5ed13222addd1c', slot: "start", class: "items", role: "group", "aria-label": `Selected ${this.label}` }, this.items.map((item, index$1) => index.h("button", { type: "button", part: "item", class: "item", "data-value": item.value, tabIndex: -1, disabled: this.disabled || this.readOnly || item.disabled, "aria-label": `${item.label}, press Delete or Backspace to remove`, onKeyDown: event => this.onItemKeyDown(event, index$1) }, index.h("slot", { name: `item-${item.id}` }, index.h("ui-chip", { appearance: "pill" }, item.label))))), this.rows.map(option => index.h("span", { slot: `option-${option.id}` }, index.h("slot", { name: `option-${option.id}` }, option.label))), index.h("span", { key: 'a23781c153e154cdff7066868c2da956e26b7d52', slot: "create" }, index.h("slot", { key: 'e3bde0d1e549e785fff877a1a7aac10df308f7a3', name: "create" }, "Create \u201C", this.raw, "\u201D")), index.h("span", { key: '5837c4cde35d5984aaf1d364f1b850b9d63ff8ca', slot: "loading" }, index.h("slot", { key: '1bdfa30849bea752bc5c93268b3427c964d1b5d3', name: "loading" }, "Loading suggestions\u2026")), index.h("span", { key: '519d7b1a7f28f9d19cd441598a690c8b4fdacf5b', slot: "empty" }, index.h("slot", { key: '3163150e0f1edebb50509a5dacd576e4568eaaae', name: "empty" }, "No suggestions.")), index.h("span", { key: '655e4f85d70eb97f0f0ecb2bac7b4228f5cf580f', slot: "error" }, index.h("slot", { key: 'a22667db30ee30003855ee69774eff3a4aab8566', name: "error" }, "Unable to load suggestions.")), index.h("div", { key: 'b01b74f3fc7136a3bf1875c81b9f3a662f3e993c', slot: "footer" }, index.h("slot", { key: '7565ee0798072eebc6d1c458f89ce6c7941577dd', name: "footer" }))));
|
|
181
181
|
}
|
|
182
182
|
static get watchers() { return {
|
|
183
183
|
"query": [{
|
|
@@ -113,7 +113,7 @@ const UIPopover = class {
|
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
115
|
render() {
|
|
116
|
-
return (index.h(index.Host, { key: '
|
|
116
|
+
return (index.h(index.Host, { key: 'f63907b8e49b8264c291048c509b6164fdd60ca4', "data-open": this.internalOpen ? '' : undefined, onKeyDown: this.onKeydown }, index.h("div", { key: '2425f4394749d994693f4a256256bd9e2f5daf60', class: "popover__surface" }, index.h("slot", { key: '3b6f925da371d43e828842c4027cddee673d7ab3' }))));
|
|
117
117
|
}
|
|
118
118
|
static get watchers() { return {
|
|
119
119
|
"open": [{
|
|
@@ -109,7 +109,7 @@ const UIRadioGroup = class {
|
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
render() {
|
|
112
|
-
return (index.h(index.Host, { key: '
|
|
112
|
+
return (index.h(index.Host, { key: '31d8dee04aad4ddbb0bfa617a4e6ed187eab6674', role: "radiogroup", "aria-orientation": this.orientation, "data-orientation": this.orientation, "data-disabled": this.disabled ? '' : undefined }, index.h("slot", { key: '7134bcfa6b11cbe0d0d55a6593ea3fca921a71ec' })));
|
|
113
113
|
}
|
|
114
114
|
static get watchers() { return {
|
|
115
115
|
"value": [{
|
|
@@ -69,7 +69,7 @@ const UIRadio = class {
|
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
71
|
render() {
|
|
72
|
-
return (index.h(index.Host, { key: '
|
|
72
|
+
return (index.h(index.Host, { key: '5bab1394b8238609e4382309e4b11bca82a60b12', role: "radio", "aria-checked": String(this.internalChecked), "aria-disabled": String(this.disabled), "data-disabled": this.disabled ? '' : undefined }, index.h("slot", { key: '56ba5b7ec4ab53299c66689558338d2c6ab3e4f6', ref: (el) => (this.slotRef = el) })));
|
|
73
73
|
}
|
|
74
74
|
static get watchers() { return {
|
|
75
75
|
"checked": [{
|
|
@@ -39,7 +39,7 @@ const UISearchResultRow = class {
|
|
|
39
39
|
this.hasTrailing = slotHasContent(this.trailingSlot);
|
|
40
40
|
};
|
|
41
41
|
render() {
|
|
42
|
-
return (index.h(index.Host, { key: '
|
|
42
|
+
return (index.h(index.Host, { key: '2e1a1fe613e499a8abaaf89c8cc071554b523157' }, index.h("button", { key: '2224a7593feb6c58b162ce820b2deb9bec4fa1b7', class: "search-result-row", type: "button", disabled: this.disabled, part: "button" }, index.h("span", { key: '87b86a7d31e15b401b933562adba9a24c88e341f', class: "search-result-row__leading", part: "leading", hidden: !this.hasLeading }, index.h("slot", { key: '00d253826d2d0c60206e20b6428c3277024a24e0', name: "leading", ref: (el) => (this.leadingSlot = el), onSlotchange: this.syncSlots })), index.h("span", { key: '3c4ad5b336450c29d56aea538dbc987b9a624c1d', class: "search-result-row__content", part: "content" }, index.h("span", { key: '305dc47dcac890ca968d622ce3dc18e88d646ab3', class: "search-result-row__title", part: "title" }, index.h("slot", { key: '5441b78d87cba9e48eb3b786e7ea914479f5ef15', name: "title" })), index.h("span", { key: 'bbd7769b81005b959e6d950255951f0089e9e716', class: "search-result-row__meta", part: "meta", hidden: !this.hasMeta }, index.h("slot", { key: '8437dd124e858eadb942e2a05ccd87c14a8ea604', name: "meta", ref: (el) => (this.metaSlot = el), onSlotchange: this.syncSlots })), index.h("span", { key: '6939cb19881b17799205a54eda9d34e86563f994', class: "search-result-row__excerpt", part: "excerpt", hidden: !this.hasExcerpt }, index.h("slot", { key: '2f41b9ec22a0260e4196553a655cc501384f2331', name: "excerpt", ref: (el) => (this.excerptSlot = el), onSlotchange: this.syncSlots }))), index.h("span", { key: '162de66c31688de9114233984448eb5b30d48dc3', class: "search-result-row__trailing", part: "trailing", hidden: !this.hasTrailing }, index.h("slot", { key: 'dfa3d5bbbe453a8fd1c3ddf9508bf33edf145dc6', name: "trailing", ref: (el) => (this.trailingSlot = el), onSlotchange: this.syncSlots })))));
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
UISearchResultRow.style = uiSearchResultRowCss();
|
|
@@ -31,7 +31,7 @@ const UISearchShell = class {
|
|
|
31
31
|
this.hasFooter = slotHasContent(this.footerSlot);
|
|
32
32
|
};
|
|
33
33
|
render() {
|
|
34
|
-
return (index.h("div", { key: '
|
|
34
|
+
return (index.h("div", { key: '508a5900288b0b7e0651d3a56e1f5a9094061952', class: "search-shell", part: "base" }, index.h("slot", { key: '54677a395d62aed4538bb36255046a1d679da312', name: "backdrop" }), index.h("div", { key: 'f738673e5a95509803d2c4682adb4aa48f7b798f', class: "search-shell__panel", part: "panel" }, index.h("div", { key: '8e4a14fcc5e7cc0ff3c2c94ad72cb6b4305d4fea', class: "search-shell__search", part: "search" }, index.h("slot", { key: '28f3d8439964423fe9beeac91490a70a30a36b6e', name: "search" })), index.h("div", { key: '8bcd00a532eea21a41a7771636bc038c27c55a31', class: "search-shell__status", part: "status", hidden: !this.hasStatus }, index.h("slot", { key: '4a4c9082f2645e80fdfa2a8b71a1747573d02f73', name: "status", ref: (el) => (this.statusSlot = el), onSlotchange: this.syncSlots })), index.h("div", { key: '58439a3d479f042f827abce2a99dc1ae75db5ca1', class: "search-shell__body", part: "body" }, index.h("slot", { key: '5f6c4202b0abeb3708bed415a576e877c94f1eb1', name: "body" })), index.h("div", { key: '7a2887f7220619db2ccb5a907623c3e760d1e073', class: "search-shell__footer", part: "footer", hidden: !this.hasFooter }, index.h("slot", { key: '26c8f839b8add2b52c6940e67a6a7c94a8ffcf31', name: "footer", ref: (el) => (this.footerSlot = el), onSlotchange: this.syncSlots })))));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
UISearchShell.style = uiSearchShellCss();
|
|
@@ -80,7 +80,7 @@ const UISelect = class {
|
|
|
80
80
|
});
|
|
81
81
|
};
|
|
82
82
|
render() {
|
|
83
|
-
return (index.h(index.Host, { key: '
|
|
83
|
+
return (index.h(index.Host, { key: '5b77bfa817964325038cf338a1c0791abf8d2bfe', "data-invalid": this.invalid ? '' : undefined }, index.h("slot", { key: '9a9c8017e5e02d14945d6b7c84d68edf7b2ccaf8', ref: (el) => (this.slotRef = el) })));
|
|
84
84
|
}
|
|
85
85
|
static get watchers() { return {
|
|
86
86
|
"value": [{
|
|
@@ -49,7 +49,7 @@ const UISwitch = class {
|
|
|
49
49
|
this.toggle('pointer');
|
|
50
50
|
};
|
|
51
51
|
render() {
|
|
52
|
-
return (index.h(index.Host, { key: '
|
|
52
|
+
return (index.h(index.Host, { key: 'e5ec7f2f91e860dd679098f30b40cbe0e52ccb1f', role: "switch", "aria-checked": String(this.internalChecked), "aria-disabled": String(this.disabled), "data-disabled": this.disabled ? '' : undefined, tabIndex: this.disabled ? -1 : 0, onKeyDown: this.onKeydown, onClick: this.onClick }, index.h("input", { key: 'c21462377a81d7242633e7d358f56fd7a276f584', type: "checkbox", checked: this.internalChecked, disabled: this.disabled, required: this.required, value: this.value, "aria-hidden": "true", tabIndex: -1, onChange: (e) => {
|
|
53
53
|
const input = e.target;
|
|
54
54
|
const checked = input.checked;
|
|
55
55
|
if (!controlledState.isControlled(this.checked))
|
|
@@ -61,7 +61,7 @@ const UISwitch = class {
|
|
|
61
61
|
});
|
|
62
62
|
if (controlledState.isControlled(this.checked))
|
|
63
63
|
input.checked = this.internalChecked;
|
|
64
|
-
} }), index.h("slot", { key: '
|
|
64
|
+
} }), index.h("slot", { key: 'e3f4f032bc41784ed41591d4fd175b89a4162c49' })));
|
|
65
65
|
}
|
|
66
66
|
static get watchers() { return {
|
|
67
67
|
"checked": [{
|
|
@@ -99,7 +99,7 @@ const UITabs = class {
|
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
101
|
render() {
|
|
102
|
-
return (index.h(index.Host, { key: '
|
|
102
|
+
return (index.h(index.Host, { key: '908dc4228940bbf33530a2b9f5fb36421c51d1a1', orientation: this.orientation, "data-orientation": this.orientation }, index.h("slot", { key: 'ebfe8bc58d09fdce2815b26f29e2eba4e5f3c879' })));
|
|
103
103
|
}
|
|
104
104
|
static get watchers() { return {
|
|
105
105
|
"value": [{
|
|
@@ -79,7 +79,7 @@ const UITextarea = class {
|
|
|
79
79
|
});
|
|
80
80
|
};
|
|
81
81
|
render() {
|
|
82
|
-
return (index.h(index.Host, { key: '
|
|
82
|
+
return (index.h(index.Host, { key: '4774b8d20cd4426b1c6205375fd9e4275bc24f08', "data-invalid": this.invalid ? '' : undefined }, index.h("slot", { key: '9b5489df35c29bf453d010f85bcb05dcc01fcce9', ref: (el) => (this.slotRef = el) })));
|
|
83
83
|
}
|
|
84
84
|
static get watchers() { return {
|
|
85
85
|
"value": [{
|
|
@@ -77,7 +77,7 @@ const UIToastRegion = class {
|
|
|
77
77
|
});
|
|
78
78
|
};
|
|
79
79
|
render() {
|
|
80
|
-
return (index.h(index.Host, { key: '
|
|
80
|
+
return (index.h(index.Host, { key: 'e3a71de7854b5937cc3f74858fc69f202fd93c71', role: "region", "aria-label": "Notifications", "aria-live": "polite", "data-open": this.internalOpen ? '' : undefined }, index.h("slot", { key: 'cdf6ea0118199d149ac08820c69ec8b54654be91' })));
|
|
81
81
|
}
|
|
82
82
|
static get watchers() { return {
|
|
83
83
|
"open": [{
|
|
@@ -219,7 +219,7 @@ const UITooltip = class {
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
render() {
|
|
222
|
-
return (index.h(index.Host, { key: '
|
|
222
|
+
return (index.h(index.Host, { key: '2216e8f56c408e775140200881c9bfd99b45f381', role: "tooltip", hidden: !this.internalOpen, "data-open": this.internalOpen ? '' : undefined }, index.h("div", { key: 'a547e43fb5f6c3c2f62cf7f1fb9198dc0024a28d', class: "tooltip__surface" }, index.h("slot", { key: 'dc8863505e8140565588c57ea200b7f548fb5df3' }))));
|
|
223
223
|
}
|
|
224
224
|
static get watchers() { return {
|
|
225
225
|
"open": [{
|
|
@@ -35,7 +35,7 @@ const UITopBar = class {
|
|
|
35
35
|
this.hasActions = slotHasContent(this.actionsSlot);
|
|
36
36
|
};
|
|
37
37
|
render() {
|
|
38
|
-
return (index.h(index.Host, { key: '
|
|
38
|
+
return (index.h(index.Host, { key: '1f0cf8994e3a18d42415fa85f14d172cfaddbf8e' }, index.h("header", { key: 'e92afb06dad409b4a4e8fcc52bcad09b3e4531c4', class: "top-bar", part: "base" }, index.h("div", { key: '3d1458e841c7a600c98d6797b4ec97baee285de1', class: "top-bar__leading", hidden: !this.hasLeading }, index.h("slot", { key: '665e078f41410275cba3c55fec05159518a97a9e', name: "leading", ref: (el) => (this.leadingSlot = el), onSlotchange: this.syncSlots })), index.h("div", { key: '7657a2c1e6c96660fa2ade470c8a4b0ecd30fcd9', class: "top-bar__title" }, index.h("slot", { key: '4d4f70c1a50aede4ef3a63176d714502b074a2cf' })), index.h("div", { key: '9409800ebaee24e4567de2126c0dd2544e741956', class: "top-bar__search", hidden: !this.hasSearch }, index.h("slot", { key: '2e66be8358235ae5ef10c7f9a115b08377ece3a7', name: "search", ref: (el) => (this.searchSlot = el), onSlotchange: this.syncSlots })), index.h("div", { key: 'e7fa28dddde4f0638a153ad0c8fcc3de94c0ecdc', class: "top-bar__actions", hidden: !this.hasActions }, index.h("slot", { key: '56c6620da69e2775a8a4d7306bb40b7a6713b100', name: "actions", ref: (el) => (this.actionsSlot = el), onSlotchange: this.syncSlots })))));
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
UITopBar.style = uiTopBarCss();
|
|
@@ -119,10 +119,10 @@ const UITreeItem = class {
|
|
|
119
119
|
const expanded = this.isExpanded();
|
|
120
120
|
const disclosureLabel = `${expanded ? 'Collapse' : 'Expand'} ${this.label || 'item'}`;
|
|
121
121
|
const dragLabel = `Drag ${this.label || 'item'} to reorder`;
|
|
122
|
-
return (index.h(index.Host, { key: '
|
|
122
|
+
return (index.h(index.Host, { key: '4a42d3c93b49ad82ae87496defe22f4abde13819', role: "treeitem", "aria-label": this.label || undefined, "aria-level": String(level), "aria-expanded": this.container ? String(expanded) : undefined, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, "data-container": this.container ? '' : undefined, "data-selected": this.selected ? '' : undefined, "data-disabled": this.disabled ? '' : undefined, "data-drag-type": this.dragType || 'item', "data-drop-scope": this.dropScope || undefined, "data-accepts": this.accepts || undefined, tabIndex: this.disabled || !this.tabStop ? -1 : 0, style: {
|
|
123
123
|
'--ui-tree-item-depth': String(level - 1),
|
|
124
124
|
'margin-inline-start': level > 1 ? 'var(--ui-tree-indent, 16px)' : '0px',
|
|
125
|
-
} }, index.h("div", { key: '
|
|
125
|
+
} }, index.h("div", { key: '9b62f172b2c0a80925404aee13895b3342d7dcb6', class: "row", part: "row", onClick: this.onRowClick }, this.sortable && !this.disabled ? (index.h("button", { class: "drag-handle", part: "drag-handle", type: "button", draggable: true, "aria-label": dragLabel, title: dragLabel }, index.h("span", { innerHTML: icons.loomaIconMarkup('grip-vertical') }))) : null, this.container ? (index.h("button", { class: "disclosure", part: "disclosure", type: "button", "aria-label": disclosureLabel, "aria-expanded": String(expanded), disabled: this.disabled, onClick: this.onDisclosureClick, onKeyDown: this.onDisclosureKeydown }, index.h("span", { class: { 'disclosure-icon': true, 'disclosure-icon--expanded': expanded }, innerHTML: icons.loomaIconMarkup('chevron-down') }))) : index.h("span", { class: "disclosure-spacer", "aria-hidden": "true" }), index.h("span", { key: 'fe2e301bf43f1fdb524a004960855f63d05ce138', class: "leading", part: "leading" }, index.h("slot", { key: '6f569883ead32dff5340b1c1da74dc8fdade49e6', name: "leading" })), index.h("span", { key: '942e3bb0b6b4021166916777ab18dc868c39fbdc', class: "label", part: "label" }, index.h("slot", { key: '42b9d9f42fd7aaad35ed7091c39953710ebf5a58' })), index.h("span", { key: '8483a822895220d2bb2aa2cb0a45cd296062cae9', class: "actions", part: "actions" }, index.h("slot", { key: 'dae2b38eef43a061f40a7498d8f28e703e5468e3', name: "actions" })), index.h("span", { key: '0a9b7db9ab5e9a709f9f0a3a8d77bd1c044295c4', class: "drop-indicator row-drop-indicator", part: "drop-indicator", "aria-hidden": "true" })), this.container ? (index.h("div", { class: "children", part: "children", role: "group", hidden: !expanded }, index.h("slot", { name: "children" }))) : null, index.h("span", { key: '641be80771d73d2c7193f2c762db1d0fe5c79e5d', class: "drop-indicator subtree-drop-indicator", part: "drop-indicator", "aria-hidden": "true" })));
|
|
126
126
|
}
|
|
127
127
|
static get watchers() { return {
|
|
128
128
|
"expanded": [{
|
|
@@ -492,7 +492,7 @@ const UITree = class {
|
|
|
492
492
|
}
|
|
493
493
|
};
|
|
494
494
|
render() {
|
|
495
|
-
return (index.h(index.Host, { key: '
|
|
495
|
+
return (index.h(index.Host, { key: '81fe656b4a7cdf8683f53aeee94fb53838950383', role: "tree", "aria-label": this.label || 'Tree' }, index.h("slot", { key: '941204b299eec2181228f536c017a17f026b2f3d' })));
|
|
496
496
|
}
|
|
497
497
|
};
|
|
498
498
|
UITree.style = uiTreeCss();
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
--ui-chip-notch: var(--ui-space-1);
|
|
11
11
|
|
|
12
12
|
display: inline-flex;
|
|
13
|
+
min-width: 0;
|
|
13
14
|
max-width: 100%;
|
|
14
15
|
}
|
|
15
16
|
|
|
@@ -20,6 +21,8 @@
|
|
|
20
21
|
.chip__surface {
|
|
21
22
|
display: inline-flex;
|
|
22
23
|
align-items: center;
|
|
24
|
+
box-sizing: border-box;
|
|
25
|
+
min-width: 0;
|
|
23
26
|
max-width: 100%;
|
|
24
27
|
padding: var(--ui-chip-padding-block) var(--ui-chip-padding-inline);
|
|
25
28
|
border: 1px solid var(--ui-chip-border);
|
|
@@ -33,6 +36,13 @@
|
|
|
33
36
|
font-size: var(--ui-chip-font-size) !important;
|
|
34
37
|
font-weight: var(--ui-chip-font-weight) !important;
|
|
35
38
|
line-height: var(--ui-chip-line-height) !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.chip__label {
|
|
42
|
+
min-width: 0;
|
|
43
|
+
max-width: 100%;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
text-overflow: ellipsis;
|
|
36
46
|
white-space: nowrap;
|
|
37
47
|
}
|
|
38
48
|
|
|
@@ -6,7 +6,7 @@ export class UIChip {
|
|
|
6
6
|
/** Compact typography size. */
|
|
7
7
|
size = 'xs';
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '970cb48cf8d70c47feaab90fe428c09f0d052a03', "data-appearance": this.appearance, "data-size": this.size }, h("span", { key: '6d8c6104d2869520097a2a61bd2a887b363b4912', class: "chip__surface" }, h("slot", { key: '
|
|
9
|
+
return (h(Host, { key: '970cb48cf8d70c47feaab90fe428c09f0d052a03', "data-appearance": this.appearance, "data-size": this.size }, h("span", { key: '6d8c6104d2869520097a2a61bd2a887b363b4912', class: "chip__surface" }, h("span", { key: '638fb68ff5dffa629576c9e1079bb3169f2adb4f', class: "chip__label" }, h("slot", { key: '8b31f2130e202e18d7717aee6add6bc6e7f119b5' })))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "ui-chip"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|