@threadlabs/looma 0.1.23 → 0.1.24
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-HNFCGIBP.js +8 -0
- package/dist/{chunk-GDMQKT5F.js → chunk-IMHSPETJ.js} +32 -30
- package/dist/chunk-NB6DBRXQ.js +323 -0
- package/dist/cjs/controlled-state-BFya8rAX.js +9 -0
- package/dist/cjs/icons-BAdjrnhS.js +680 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/looma.cjs.js +1 -1
- package/dist/cjs/ui-affordance-scope.cjs.entry.js +1 -1
- package/dist/cjs/ui-avatar-group.cjs.entry.js +9 -17
- package/dist/cjs/ui-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ui-badge.cjs.entry.js +2 -2
- package/dist/cjs/ui-button.cjs.entry.js +1 -1
- package/dist/cjs/ui-callout.cjs.entry.js +27 -0
- package/dist/cjs/ui-checkbox.cjs.entry.js +13 -7
- package/dist/cjs/ui-chip.cjs.entry.js +19 -0
- package/dist/cjs/ui-combobox.cjs.entry.js +3 -3
- package/dist/cjs/ui-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog.cjs.entry.js +44 -8
- package/dist/cjs/ui-disclosure.cjs.entry.js +9 -6
- package/dist/cjs/ui-floating-action-button.cjs.entry.js +1 -1
- package/dist/cjs/ui-form-field.cjs.entry.js +59 -4
- 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 +2 -2
- package/dist/cjs/ui-menu.cjs.entry.js +14 -9
- package/dist/cjs/ui-popover.cjs.entry.js +10 -7
- package/dist/cjs/ui-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/ui-radio.cjs.entry.js +16 -7
- 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 +19 -10
- package/dist/cjs/ui-tabs.cjs.entry.js +10 -9
- package/dist/cjs/ui-textarea.cjs.entry.js +1 -1
- package/dist/cjs/ui-toast-region.cjs.entry.js +30 -19
- package/dist/cjs/ui-tooltip.cjs.entry.js +12 -8
- package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/ui-tree-item.cjs.entry.js +54 -617
- package/dist/cjs/ui-tree.cjs.entry.js +123 -11
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/ui-affordance-scope/ui-affordance-scope.js +1 -1
- package/dist/collection/components/ui-avatar/ui-avatar.css +4 -4
- package/dist/collection/components/ui-avatar/ui-avatar.js +1 -1
- package/dist/collection/components/ui-avatar-group/ui-avatar-group.css +2 -2
- package/dist/collection/components/ui-avatar-group/ui-avatar-group.js +8 -16
- package/dist/collection/components/ui-badge/ui-badge.css +64 -48
- package/dist/collection/components/ui-badge/ui-badge.js +1 -1
- package/dist/collection/components/ui-button/ui-button.js +1 -1
- package/dist/collection/components/ui-callout/ui-callout.css +74 -0
- package/dist/collection/components/ui-callout/ui-callout.js +59 -0
- package/dist/collection/components/ui-checkbox/ui-checkbox.js +16 -11
- package/dist/collection/components/ui-chip/ui-chip.css +43 -0
- package/dist/collection/components/ui-chip/ui-chip.js +45 -0
- package/dist/collection/components/ui-combobox/ui-combobox.js +3 -3
- package/dist/collection/components/ui-context-menu/ui-context-menu.js +1 -1
- package/dist/collection/components/ui-dialog/ui-dialog.js +49 -13
- package/dist/collection/components/ui-disclosure/ui-disclosure.js +12 -10
- 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 +59 -4
- 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.css +12 -23
- package/dist/collection/components/ui-menu/ui-menu.js +16 -12
- package/dist/collection/components/ui-menu-item/ui-menu-item.css +9 -3
- package/dist/collection/components/ui-menu-item/ui-menu-item.js +1 -1
- package/dist/collection/components/ui-popover/ui-popover.css +14 -5
- package/dist/collection/components/ui-popover/ui-popover.js +12 -10
- package/dist/collection/components/ui-radio/ui-radio.js +24 -11
- 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 +22 -14
- package/dist/collection/components/ui-tabs/ui-tabs.js +13 -13
- package/dist/collection/components/ui-textarea/ui-textarea.js +1 -1
- package/dist/collection/components/ui-toast-region/ui-toast-region.js +30 -19
- package/dist/collection/components/ui-tooltip/ui-tooltip.css +16 -7
- package/dist/collection/components/ui-tooltip/ui-tooltip.js +14 -11
- package/dist/collection/components/ui-top-bar/ui-top-bar.js +1 -1
- package/dist/collection/components/ui-tree/ui-tree.css +2 -1
- package/dist/collection/components/ui-tree/ui-tree.js +122 -10
- package/dist/collection/components/ui-tree-item/ui-tree-item.js +61 -44
- package/dist/collection/icons.js +6 -1
- package/dist/collection/utils/controlled-state.js +4 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-Bk55QiUK.js +1 -0
- package/dist/components/p-BnGhGgTH.js +1 -0
- package/dist/components/p-CoFximGM.js +13 -0
- package/dist/components/p-DIGcRYAW.js +1 -0
- package/dist/components/ui-affordance-scope.js +1 -1
- package/dist/components/ui-avatar-group.js +1 -1
- package/dist/components/ui-avatar.js +1 -1
- package/dist/components/ui-badge.js +1 -1
- package/dist/components/ui-button.js +1 -1
- package/dist/components/ui-callout.d.ts +11 -0
- package/dist/components/ui-callout.js +1 -0
- package/dist/components/ui-checkbox.js +1 -1
- package/dist/components/ui-chip.d.ts +11 -0
- package/dist/components/ui-chip.js +1 -0
- 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-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-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 -13
- package/dist/components/ui-tree.js +1 -1
- package/dist/esm/controlled-state-BnGhGgTH.js +6 -0
- package/dist/esm/icons-CoFximGM.js +678 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/looma.js +1 -1
- package/dist/esm/ui-affordance-scope.entry.js +1 -1
- package/dist/esm/ui-avatar-group.entry.js +9 -17
- package/dist/esm/ui-avatar.entry.js +2 -2
- package/dist/esm/ui-badge.entry.js +2 -2
- package/dist/esm/ui-button.entry.js +1 -1
- package/dist/esm/ui-callout.entry.js +25 -0
- package/dist/esm/ui-checkbox.entry.js +13 -7
- package/dist/esm/ui-chip.entry.js +17 -0
- package/dist/esm/ui-combobox.entry.js +3 -3
- package/dist/esm/ui-context-menu.entry.js +1 -1
- package/dist/esm/ui-dialog.entry.js +44 -8
- package/dist/esm/ui-disclosure.entry.js +9 -6
- package/dist/esm/ui-floating-action-button.entry.js +1 -1
- package/dist/esm/ui-form-field.entry.js +59 -4
- 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 +2 -2
- package/dist/esm/ui-menu.entry.js +14 -9
- package/dist/esm/ui-popover.entry.js +10 -7
- package/dist/esm/ui-radio-group.entry.js +1 -1
- package/dist/esm/ui-radio.entry.js +16 -7
- 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 +19 -10
- package/dist/esm/ui-tabs.entry.js +10 -9
- package/dist/esm/ui-textarea.entry.js +1 -1
- package/dist/esm/ui-toast-region.entry.js +30 -19
- package/dist/esm/ui-tooltip.entry.js +12 -8
- package/dist/esm/ui-top-bar.entry.js +1 -1
- package/dist/esm/ui-tree-item.entry.js +54 -617
- package/dist/esm/ui-tree.entry.js +123 -11
- package/dist/index.cjs +1224 -842
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +12 -2
- package/dist/looma/looma.esm.js +1 -1
- package/dist/looma/p-03f44c45.entry.js +1 -0
- package/dist/looma/p-08f80207.entry.js +1 -0
- package/dist/looma/{p-f74e5546.entry.js → p-13f8195a.entry.js} +1 -1
- package/dist/looma/{p-5a87b59d.entry.js → p-25e18ad6.entry.js} +1 -1
- package/dist/looma/p-2c03fa73.entry.js +1 -0
- package/dist/looma/{p-ed368426.entry.js → p-314d5c7c.entry.js} +1 -1
- package/dist/looma/{p-5da09f47.entry.js → p-3ef2a21b.entry.js} +1 -1
- package/dist/looma/{p-f0487ff3.entry.js → p-5a900d89.entry.js} +1 -1
- package/dist/looma/p-5fdcee1d.entry.js +1 -0
- package/dist/looma/{p-13347631.entry.js → p-672e3d16.entry.js} +1 -1
- package/dist/looma/{p-582973b5.entry.js → p-68430534.entry.js} +1 -1
- package/dist/looma/{p-add36e74.entry.js → p-72338f53.entry.js} +1 -1
- package/dist/looma/{p-a90d2821.entry.js → p-7ab661ec.entry.js} +1 -1
- package/dist/looma/p-7c4a225f.entry.js +1 -0
- package/dist/looma/p-82f2fa3d.entry.js +1 -0
- package/dist/looma/p-839faf55.entry.js +1 -0
- package/dist/looma/{p-7e0bb7f6.entry.js → p-8e254bc4.entry.js} +1 -1
- package/dist/looma/p-8e6b1001.entry.js +1 -0
- package/dist/looma/p-920656cf.entry.js +1 -0
- package/dist/looma/{p-40fe7fee.entry.js → p-97e8cb0e.entry.js} +1 -1
- package/dist/looma/p-9d2662ca.entry.js +1 -0
- package/dist/looma/p-9e1c4020.entry.js +1 -0
- package/dist/looma/p-BnGhGgTH.js +1 -0
- package/dist/looma/p-CoFximGM.js +13 -0
- package/dist/looma/{p-8b8840b8.entry.js → p-a63e2561.entry.js} +1 -1
- package/dist/looma/p-add67e4c.entry.js +1 -0
- package/dist/looma/p-b63f6d4f.entry.js +1 -0
- package/dist/looma/p-bd00d4e8.entry.js +1 -0
- package/dist/looma/p-cc915913.entry.js +1 -0
- package/dist/looma/p-cfba8f7c.entry.js +1 -0
- package/dist/looma/p-d56571a2.entry.js +1 -0
- package/dist/looma/{p-69a5557b.entry.js → p-e0f241ab.entry.js} +1 -1
- package/dist/looma/p-f1750fd7.entry.js +1 -0
- package/dist/looma/p-fd1e4d22.entry.js +1 -0
- package/dist/types/components/ui-avatar-group/ui-avatar-group.d.ts +1 -2
- package/dist/types/components/ui-callout/ui-callout.d.ts +6 -0
- package/dist/types/components/ui-checkbox/ui-checkbox.d.ts +2 -1
- package/dist/types/components/ui-chip/ui-chip.d.ts +6 -0
- package/dist/types/components/ui-dialog/ui-dialog.d.ts +7 -1
- package/dist/types/components/ui-disclosure/ui-disclosure.d.ts +2 -1
- package/dist/types/components/ui-form-field/ui-form-field.d.ts +8 -0
- package/dist/types/components/ui-menu/ui-menu.d.ts +2 -1
- package/dist/types/components/ui-popover/ui-popover.d.ts +2 -1
- package/dist/types/components/ui-radio/ui-radio.d.ts +4 -1
- package/dist/types/components/ui-switch/ui-switch.d.ts +2 -1
- package/dist/types/components/ui-tabs/ui-tabs.d.ts +2 -1
- package/dist/types/components/ui-toast-region/ui-toast-region.d.ts +3 -1
- package/dist/types/components/ui-tooltip/ui-tooltip.d.ts +2 -1
- package/dist/types/components/ui-tree/ui-tree.d.ts +12 -0
- package/dist/types/components/ui-tree-item/ui-tree-item.d.ts +11 -7
- package/dist/types/components.d.ts +110 -47
- package/dist/types/icons.d.ts +5 -0
- package/dist/types/utils/controlled-state.d.ts +4 -0
- package/dist/{ui-affordance-scope.entry-VO4C2MZX.js → ui-affordance-scope.entry-3TUZ6GLW.js} +2 -2
- package/dist/ui-avatar-group.entry-XGJKN25W.js +51 -0
- package/dist/{ui-avatar.entry-T6FU6ZYM.js → ui-avatar.entry-SN3G44HW.js} +3 -3
- package/dist/ui-badge.entry-B6WDCWJX.js +22 -0
- package/dist/{ui-button.entry-7UXMUGHN.js → ui-button.entry-AZYUELLV.js} +2 -2
- package/dist/ui-callout.entry-QRPWRMPC.js +32 -0
- package/dist/{ui-checkbox.entry-DMZJB3RE.js → ui-checkbox.entry-OB6GFC4M.js} +17 -8
- package/dist/ui-chip.entry-XSNPJXX3.js +22 -0
- package/dist/{ui-combobox.entry-ZCTPXEES.js → ui-combobox.entry-IIMMUJF7.js} +5 -5
- package/dist/{ui-context-menu.entry-2WMCBGCP.js → ui-context-menu.entry-AIULIE5Y.js} +5 -5
- package/dist/{ui-dialog.entry-WO23XOSW.js → ui-dialog.entry-QSYWYHLY.js} +50 -12
- package/dist/{ui-disclosure.entry-USX7OUEW.js → ui-disclosure.entry-3BJEYU3U.js} +13 -7
- package/dist/{ui-floating-action-button.entry-MXDIN7MV.js → ui-floating-action-button.entry-JEVNV6FI.js} +2 -2
- package/dist/ui-form-field.entry-PKSY7UU4.js +120 -0
- package/dist/{ui-icon-button.entry-MJUNXHBU.js → ui-icon-button.entry-TPX7BE7R.js} +2 -2
- package/dist/{ui-input.entry-AWG63YIG.js → ui-input.entry-6NCLNW4E.js} +2 -2
- package/dist/ui-menu-item.entry-KA2K3PKV.js +22 -0
- package/dist/{ui-menu.entry-IT3GW5TL.js → ui-menu.entry-7GDO5L2T.js} +22 -14
- package/dist/{ui-popover.entry-ZQQB4N6E.js → ui-popover.entry-FR6YRNK6.js} +17 -11
- package/dist/{ui-radio-group.entry-V7PCTS7I.js → ui-radio-group.entry-7QHXQSNO.js} +2 -2
- package/dist/{ui-radio.entry-JYH6TQBI.js → ui-radio.entry-YNMXKLDW.js} +20 -8
- package/dist/{ui-search-result-row.entry-JBNYXXUN.js → ui-search-result-row.entry-AHVVAAIO.js} +2 -2
- package/dist/{ui-search-shell.entry-TEAWE76O.js → ui-search-shell.entry-CNBEAMEZ.js} +2 -2
- package/dist/{ui-select.entry-F3A6TE2U.js → ui-select.entry-TUY6TCTC.js} +2 -2
- package/dist/{ui-switch.entry-MJIICMP2.js → ui-switch.entry-26LFI7B5.js} +23 -11
- package/dist/{ui-tabs.entry-6REFIUHV.js → ui-tabs.entry-LXB62RJJ.js} +14 -10
- package/dist/{ui-textarea.entry-OJTXCED7.js → ui-textarea.entry-JYGMGPX2.js} +2 -2
- package/dist/{ui-toast-region.entry-NOFXLKPS.js → ui-toast-region.entry-TOW4KZLZ.js} +32 -23
- package/dist/{ui-tooltip.entry-COWTWVHX.js → ui-tooltip.entry-SKFNYXPH.js} +19 -12
- package/dist/{ui-top-bar.entry-PIAWXJNV.js → ui-top-bar.entry-S3YP52EA.js} +2 -2
- package/dist/ui-tree-item.entry-LWYIPYLC.js +145 -0
- package/dist/{ui-tree.entry-XYI3ZFAZ.js → ui-tree.entry-LXKUQFRU.js} +114 -12
- package/editor/{chunk-QCOYOVQL.js → chunk-B5WVJOPV.js} +113 -97
- package/editor/extensions/index.d.ts +14 -6
- package/editor/extensions/index.js +1 -1
- package/editor/index.js +1 -1
- package/editor.css +37 -20
- package/package.json +1 -1
- package/styles.css +10 -0
- package/tokens.css +3 -0
- package/vue/{chunk-JLW23USW.js → chunk-D4AJULDE.js} +28 -16
- package/vue/editor/index.d.ts +5 -15
- package/vue/editor/index.js +1 -1
- package/vue/index.d.ts +325 -115
- package/vue/index.js +5 -1
- package/dist/components/p-CaietZcq.js +0 -1
- package/dist/components/p-DHd18bK7.js +0 -1
- package/dist/looma/p-14c081cf.entry.js +0 -1
- package/dist/looma/p-25366205.entry.js +0 -1
- package/dist/looma/p-2e3aa869.entry.js +0 -1
- package/dist/looma/p-446cda76.entry.js +0 -1
- package/dist/looma/p-4fc1b005.entry.js +0 -13
- package/dist/looma/p-6a8a4736.entry.js +0 -1
- package/dist/looma/p-6bf4038b.entry.js +0 -1
- package/dist/looma/p-8204fee6.entry.js +0 -1
- package/dist/looma/p-8238e0dc.entry.js +0 -1
- package/dist/looma/p-99d88efb.entry.js +0 -1
- package/dist/looma/p-a27669b1.entry.js +0 -1
- package/dist/looma/p-a6ee76b7.entry.js +0 -1
- package/dist/looma/p-b6398a6b.entry.js +0 -1
- package/dist/looma/p-d50faaff.entry.js +0 -1
- package/dist/looma/p-d77278ce.entry.js +0 -1
- package/dist/looma/p-d9ec13b7.entry.js +0 -1
- package/dist/looma/p-ecf8005f.entry.js +0 -1
- package/dist/ui-avatar-group.entry-TAXJRIIU.js +0 -59
- package/dist/ui-badge.entry-MZFYNBMJ.js +0 -22
- package/dist/ui-form-field.entry-7ZCMEHPY.js +0 -67
- package/dist/ui-menu-item.entry-HFTWG62N.js +0 -22
- package/dist/ui-tree-item.entry-BSEWNL2O.js +0 -389
|
@@ -6,36 +6,38 @@ 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-
|
|
15
|
-
"./ui-
|
|
16
|
-
"./ui-
|
|
17
|
-
"./ui-
|
|
18
|
-
"./ui-
|
|
19
|
-
"./ui-
|
|
20
|
-
"./ui-
|
|
21
|
-
"./ui-
|
|
22
|
-
"./ui-
|
|
23
|
-
"./ui-
|
|
24
|
-
"./ui-
|
|
25
|
-
"./ui-
|
|
26
|
-
"./ui-
|
|
27
|
-
"./ui-
|
|
28
|
-
"./ui-
|
|
29
|
-
"./ui-
|
|
30
|
-
"./ui-
|
|
31
|
-
"./ui-
|
|
32
|
-
"./ui-
|
|
33
|
-
"./ui-
|
|
34
|
-
"./ui-
|
|
35
|
-
"./ui-
|
|
36
|
-
"./ui-
|
|
37
|
-
"./ui-
|
|
38
|
-
"./ui-
|
|
9
|
+
"./ui-affordance-scope.entry.js": () => import("./ui-affordance-scope.entry-3TUZ6GLW.js"),
|
|
10
|
+
"./ui-avatar-group.entry.js": () => import("./ui-avatar-group.entry-XGJKN25W.js"),
|
|
11
|
+
"./ui-avatar.entry.js": () => import("./ui-avatar.entry-SN3G44HW.js"),
|
|
12
|
+
"./ui-badge.entry.js": () => import("./ui-badge.entry-B6WDCWJX.js"),
|
|
13
|
+
"./ui-button.entry.js": () => import("./ui-button.entry-AZYUELLV.js"),
|
|
14
|
+
"./ui-callout.entry.js": () => import("./ui-callout.entry-QRPWRMPC.js"),
|
|
15
|
+
"./ui-checkbox.entry.js": () => import("./ui-checkbox.entry-OB6GFC4M.js"),
|
|
16
|
+
"./ui-chip.entry.js": () => import("./ui-chip.entry-XSNPJXX3.js"),
|
|
17
|
+
"./ui-combobox.entry.js": () => import("./ui-combobox.entry-IIMMUJF7.js"),
|
|
18
|
+
"./ui-context-menu.entry.js": () => import("./ui-context-menu.entry-AIULIE5Y.js"),
|
|
19
|
+
"./ui-dialog.entry.js": () => import("./ui-dialog.entry-QSYWYHLY.js"),
|
|
20
|
+
"./ui-disclosure.entry.js": () => import("./ui-disclosure.entry-3BJEYU3U.js"),
|
|
21
|
+
"./ui-floating-action-button.entry.js": () => import("./ui-floating-action-button.entry-JEVNV6FI.js"),
|
|
22
|
+
"./ui-form-field.entry.js": () => import("./ui-form-field.entry-PKSY7UU4.js"),
|
|
23
|
+
"./ui-icon-button.entry.js": () => import("./ui-icon-button.entry-TPX7BE7R.js"),
|
|
24
|
+
"./ui-input.entry.js": () => import("./ui-input.entry-6NCLNW4E.js"),
|
|
25
|
+
"./ui-menu-item.entry.js": () => import("./ui-menu-item.entry-KA2K3PKV.js"),
|
|
26
|
+
"./ui-menu.entry.js": () => import("./ui-menu.entry-7GDO5L2T.js"),
|
|
27
|
+
"./ui-popover.entry.js": () => import("./ui-popover.entry-FR6YRNK6.js"),
|
|
28
|
+
"./ui-radio-group.entry.js": () => import("./ui-radio-group.entry-7QHXQSNO.js"),
|
|
29
|
+
"./ui-radio.entry.js": () => import("./ui-radio.entry-YNMXKLDW.js"),
|
|
30
|
+
"./ui-search-result-row.entry.js": () => import("./ui-search-result-row.entry-AHVVAAIO.js"),
|
|
31
|
+
"./ui-search-shell.entry.js": () => import("./ui-search-shell.entry-CNBEAMEZ.js"),
|
|
32
|
+
"./ui-select.entry.js": () => import("./ui-select.entry-TUY6TCTC.js"),
|
|
33
|
+
"./ui-switch.entry.js": () => import("./ui-switch.entry-26LFI7B5.js"),
|
|
34
|
+
"./ui-tabs.entry.js": () => import("./ui-tabs.entry-LXB62RJJ.js"),
|
|
35
|
+
"./ui-textarea.entry.js": () => import("./ui-textarea.entry-JYGMGPX2.js"),
|
|
36
|
+
"./ui-toast-region.entry.js": () => import("./ui-toast-region.entry-TOW4KZLZ.js"),
|
|
37
|
+
"./ui-tooltip.entry.js": () => import("./ui-tooltip.entry-SKFNYXPH.js"),
|
|
38
|
+
"./ui-top-bar.entry.js": () => import("./ui-top-bar.entry-S3YP52EA.js"),
|
|
39
|
+
"./ui-tree-item.entry.js": () => import("./ui-tree-item.entry-LWYIPYLC.js"),
|
|
40
|
+
"./ui-tree.entry.js": () => import("./ui-tree.entry-LXKUQFRU.js")
|
|
39
41
|
});
|
|
40
42
|
|
|
41
43
|
// dist/esm/index-8BGiMGQ0.js
|
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
// dist/esm/icons-CoFximGM.js
|
|
2
|
+
var Bold = [
|
|
3
|
+
["path", { d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8" }]
|
|
4
|
+
];
|
|
5
|
+
var Braces = [
|
|
6
|
+
["path", { d: "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1" }],
|
|
7
|
+
["path", { d: "M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1" }]
|
|
8
|
+
];
|
|
9
|
+
var ChevronDown = [["path", { d: "m6 9 6 6 6-6" }]];
|
|
10
|
+
var ChevronLeft = [["path", { d: "m15 18-6-6 6-6" }]];
|
|
11
|
+
var CircleCheck = [
|
|
12
|
+
["circle", { cx: "12", cy: "12", r: "10" }],
|
|
13
|
+
["path", { d: "m9 12 2 2 4-4" }]
|
|
14
|
+
];
|
|
15
|
+
var CircleX = [
|
|
16
|
+
["circle", { cx: "12", cy: "12", r: "10" }],
|
|
17
|
+
["path", { d: "m15 9-6 6" }],
|
|
18
|
+
["path", { d: "m9 9 6 6" }]
|
|
19
|
+
];
|
|
20
|
+
var CodeXml = [
|
|
21
|
+
["path", { d: "m18 16 4-4-4-4" }],
|
|
22
|
+
["path", { d: "m6 8-4 4 4 4" }],
|
|
23
|
+
["path", { d: "m14.5 4-5 16" }]
|
|
24
|
+
];
|
|
25
|
+
var Columns3 = [
|
|
26
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
27
|
+
["path", { d: "M9 3v18" }],
|
|
28
|
+
["path", { d: "M15 3v18" }]
|
|
29
|
+
];
|
|
30
|
+
var Ellipsis = [
|
|
31
|
+
["circle", { cx: "12", cy: "12", r: "1" }],
|
|
32
|
+
["circle", { cx: "19", cy: "12", r: "1" }],
|
|
33
|
+
["circle", { cx: "5", cy: "12", r: "1" }]
|
|
34
|
+
];
|
|
35
|
+
var Eraser = [
|
|
36
|
+
[
|
|
37
|
+
"path",
|
|
38
|
+
{
|
|
39
|
+
d: "M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
["path", { d: "m5.082 11.09 8.828 8.828" }]
|
|
43
|
+
];
|
|
44
|
+
var GripHorizontal = [
|
|
45
|
+
["circle", { cx: "12", cy: "9", r: "1" }],
|
|
46
|
+
["circle", { cx: "19", cy: "9", r: "1" }],
|
|
47
|
+
["circle", { cx: "5", cy: "9", r: "1" }],
|
|
48
|
+
["circle", { cx: "12", cy: "15", r: "1" }],
|
|
49
|
+
["circle", { cx: "19", cy: "15", r: "1" }],
|
|
50
|
+
["circle", { cx: "5", cy: "15", r: "1" }]
|
|
51
|
+
];
|
|
52
|
+
var GripVertical = [
|
|
53
|
+
["circle", { cx: "9", cy: "12", r: "1" }],
|
|
54
|
+
["circle", { cx: "9", cy: "5", r: "1" }],
|
|
55
|
+
["circle", { cx: "9", cy: "19", r: "1" }],
|
|
56
|
+
["circle", { cx: "15", cy: "12", r: "1" }],
|
|
57
|
+
["circle", { cx: "15", cy: "5", r: "1" }],
|
|
58
|
+
["circle", { cx: "15", cy: "19", r: "1" }]
|
|
59
|
+
];
|
|
60
|
+
var Heading1 = [
|
|
61
|
+
["path", { d: "M4 12h8" }],
|
|
62
|
+
["path", { d: "M4 18V6" }],
|
|
63
|
+
["path", { d: "M12 18V6" }],
|
|
64
|
+
["path", { d: "m17 12 3-2v8" }]
|
|
65
|
+
];
|
|
66
|
+
var Heading2 = [
|
|
67
|
+
["path", { d: "M4 12h8" }],
|
|
68
|
+
["path", { d: "M4 18V6" }],
|
|
69
|
+
["path", { d: "M12 18V6" }],
|
|
70
|
+
["path", { d: "M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" }]
|
|
71
|
+
];
|
|
72
|
+
var Heading3 = [
|
|
73
|
+
["path", { d: "M4 12h8" }],
|
|
74
|
+
["path", { d: "M4 18V6" }],
|
|
75
|
+
["path", { d: "M12 18V6" }],
|
|
76
|
+
["path", { d: "M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2" }],
|
|
77
|
+
["path", { d: "M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2" }]
|
|
78
|
+
];
|
|
79
|
+
var Highlighter = [
|
|
80
|
+
["path", { d: "m9 11-6 6v3h9l3-3" }],
|
|
81
|
+
["path", { d: "m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4" }]
|
|
82
|
+
];
|
|
83
|
+
var Image = [
|
|
84
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2" }],
|
|
85
|
+
["circle", { cx: "9", cy: "9", r: "2" }],
|
|
86
|
+
["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" }]
|
|
87
|
+
];
|
|
88
|
+
var Info = [
|
|
89
|
+
["circle", { cx: "12", cy: "12", r: "10" }],
|
|
90
|
+
["path", { d: "M12 16v-4" }],
|
|
91
|
+
["path", { d: "M12 8h.01" }]
|
|
92
|
+
];
|
|
93
|
+
var Italic = [
|
|
94
|
+
["line", { x1: "19", x2: "10", y1: "4", y2: "4" }],
|
|
95
|
+
["line", { x1: "14", x2: "5", y1: "20", y2: "20" }],
|
|
96
|
+
["line", { x1: "15", x2: "9", y1: "4", y2: "20" }]
|
|
97
|
+
];
|
|
98
|
+
var ListOrdered = [
|
|
99
|
+
["path", { d: "M11 5h10" }],
|
|
100
|
+
["path", { d: "M11 12h10" }],
|
|
101
|
+
["path", { d: "M11 19h10" }],
|
|
102
|
+
["path", { d: "M4 4h1v5" }],
|
|
103
|
+
["path", { d: "M4 9h2" }],
|
|
104
|
+
["path", { d: "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02" }]
|
|
105
|
+
];
|
|
106
|
+
var ListTodo = [
|
|
107
|
+
["path", { d: "M13 5h8" }],
|
|
108
|
+
["path", { d: "M13 12h8" }],
|
|
109
|
+
["path", { d: "M13 19h8" }],
|
|
110
|
+
["path", { d: "m3 17 2 2 4-4" }],
|
|
111
|
+
["rect", { x: "3", y: "4", width: "6", height: "6", rx: "1" }]
|
|
112
|
+
];
|
|
113
|
+
var List = [
|
|
114
|
+
["path", { d: "M3 5h.01" }],
|
|
115
|
+
["path", { d: "M3 12h.01" }],
|
|
116
|
+
["path", { d: "M3 19h.01" }],
|
|
117
|
+
["path", { d: "M8 5h13" }],
|
|
118
|
+
["path", { d: "M8 12h13" }],
|
|
119
|
+
["path", { d: "M8 19h13" }]
|
|
120
|
+
];
|
|
121
|
+
var Merge = [
|
|
122
|
+
["path", { d: "m8 6 4-4 4 4" }],
|
|
123
|
+
["path", { d: "M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22" }],
|
|
124
|
+
["path", { d: "m20 22-5-5" }]
|
|
125
|
+
];
|
|
126
|
+
var Minus = [["path", { d: "M5 12h14" }]];
|
|
127
|
+
var NotebookPen = [
|
|
128
|
+
["path", { d: "M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4" }],
|
|
129
|
+
["path", { d: "M2 6h4" }],
|
|
130
|
+
["path", { d: "M2 10h4" }],
|
|
131
|
+
["path", { d: "M2 14h4" }],
|
|
132
|
+
["path", { d: "M2 18h4" }],
|
|
133
|
+
[
|
|
134
|
+
"path",
|
|
135
|
+
{
|
|
136
|
+
d: "M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
];
|
|
140
|
+
var PaintBucket = [
|
|
141
|
+
["path", { d: "m19 11-8-8-8.6 8.6a2 2 0 0 0 0 2.8l5.2 5.2c.8.8 2 .8 2.8 0L19 11Z" }],
|
|
142
|
+
["path", { d: "m5 2 5 5" }],
|
|
143
|
+
["path", { d: "M2 13h15" }],
|
|
144
|
+
["path", { d: "M22 20a2 2 0 1 1-4 0c0-1.6 1.7-2.4 2-4 .3 1.6 2 2.4 2 4Z" }]
|
|
145
|
+
];
|
|
146
|
+
var PanelBottom = [
|
|
147
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
148
|
+
["path", { d: "M3 15h18" }]
|
|
149
|
+
];
|
|
150
|
+
var PanelLeft = [
|
|
151
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
152
|
+
["path", { d: "M9 3v18" }]
|
|
153
|
+
];
|
|
154
|
+
var PanelRight = [
|
|
155
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
156
|
+
["path", { d: "M15 3v18" }]
|
|
157
|
+
];
|
|
158
|
+
var PanelTop = [
|
|
159
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
160
|
+
["path", { d: "M3 9h18" }]
|
|
161
|
+
];
|
|
162
|
+
var Pilcrow = [
|
|
163
|
+
["path", { d: "M13 4v16" }],
|
|
164
|
+
["path", { d: "M17 4v16" }],
|
|
165
|
+
["path", { d: "M19 4H9.5a4.5 4.5 0 0 0 0 9H13" }]
|
|
166
|
+
];
|
|
167
|
+
var Plus = [
|
|
168
|
+
["path", { d: "M5 12h14" }],
|
|
169
|
+
["path", { d: "M12 5v14" }]
|
|
170
|
+
];
|
|
171
|
+
var Quote = [
|
|
172
|
+
[
|
|
173
|
+
"path",
|
|
174
|
+
{
|
|
175
|
+
d: "M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
[
|
|
179
|
+
"path",
|
|
180
|
+
{
|
|
181
|
+
d: "M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
];
|
|
185
|
+
var Redo2 = [
|
|
186
|
+
["path", { d: "m15 14 5-5-5-5" }],
|
|
187
|
+
["path", { d: "M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13" }]
|
|
188
|
+
];
|
|
189
|
+
var Rows3 = [
|
|
190
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
191
|
+
["path", { d: "M21 9H3" }],
|
|
192
|
+
["path", { d: "M21 15H3" }]
|
|
193
|
+
];
|
|
194
|
+
var Split = [
|
|
195
|
+
["path", { d: "M16 3h5v5" }],
|
|
196
|
+
["path", { d: "M8 3H3v5" }],
|
|
197
|
+
["path", { d: "M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3" }],
|
|
198
|
+
["path", { d: "m15 9 6-6" }]
|
|
199
|
+
];
|
|
200
|
+
var Strikethrough = [
|
|
201
|
+
["path", { d: "M16 4H9a3 3 0 0 0-2.83 4" }],
|
|
202
|
+
["path", { d: "M14 12a4 4 0 0 1 0 8H6" }],
|
|
203
|
+
["line", { x1: "4", x2: "20", y1: "12", y2: "12" }]
|
|
204
|
+
];
|
|
205
|
+
var Table2 = [
|
|
206
|
+
[
|
|
207
|
+
"path",
|
|
208
|
+
{
|
|
209
|
+
d: "M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
];
|
|
213
|
+
var TextAlignCenter = [
|
|
214
|
+
["path", { d: "M21 5H3" }],
|
|
215
|
+
["path", { d: "M17 12H7" }],
|
|
216
|
+
["path", { d: "M19 19H5" }]
|
|
217
|
+
];
|
|
218
|
+
var TextAlignEnd = [
|
|
219
|
+
["path", { d: "M21 5H3" }],
|
|
220
|
+
["path", { d: "M21 12H9" }],
|
|
221
|
+
["path", { d: "M21 19H7" }]
|
|
222
|
+
];
|
|
223
|
+
var TextAlignStart = [
|
|
224
|
+
["path", { d: "M21 5H3" }],
|
|
225
|
+
["path", { d: "M15 12H3" }],
|
|
226
|
+
["path", { d: "M17 19H3" }]
|
|
227
|
+
];
|
|
228
|
+
var Trash2 = [
|
|
229
|
+
["path", { d: "M10 11v6" }],
|
|
230
|
+
["path", { d: "M14 11v6" }],
|
|
231
|
+
["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }],
|
|
232
|
+
["path", { d: "M3 6h18" }],
|
|
233
|
+
["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }]
|
|
234
|
+
];
|
|
235
|
+
var TriangleAlert = [
|
|
236
|
+
["path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }],
|
|
237
|
+
["path", { d: "M12 9v4" }],
|
|
238
|
+
["path", { d: "M12 17h.01" }]
|
|
239
|
+
];
|
|
240
|
+
var Underline = [
|
|
241
|
+
["path", { d: "M6 4v6a6 6 0 0 0 12 0V4" }],
|
|
242
|
+
["line", { x1: "4", x2: "20", y1: "20", y2: "20" }]
|
|
243
|
+
];
|
|
244
|
+
var Undo2 = [
|
|
245
|
+
["path", { d: "M9 14 4 9l5-5" }],
|
|
246
|
+
["path", { d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11" }]
|
|
247
|
+
];
|
|
248
|
+
var LOOMA_ICONS = {
|
|
249
|
+
"align-center": TextAlignCenter,
|
|
250
|
+
"align-left": TextAlignStart,
|
|
251
|
+
"align-right": TextAlignEnd,
|
|
252
|
+
bold: Bold,
|
|
253
|
+
braces: Braces,
|
|
254
|
+
"circle-check": CircleCheck,
|
|
255
|
+
"circle-x": CircleX,
|
|
256
|
+
"chevron-down": ChevronDown,
|
|
257
|
+
"chevron-left": ChevronLeft,
|
|
258
|
+
"code-xml": CodeXml,
|
|
259
|
+
columns: Columns3,
|
|
260
|
+
ellipsis: Ellipsis,
|
|
261
|
+
eraser: Eraser,
|
|
262
|
+
"grip-horizontal": GripHorizontal,
|
|
263
|
+
"grip-vertical": GripVertical,
|
|
264
|
+
"heading-1": Heading1,
|
|
265
|
+
"heading-2": Heading2,
|
|
266
|
+
"heading-3": Heading3,
|
|
267
|
+
highlighter: Highlighter,
|
|
268
|
+
image: Image,
|
|
269
|
+
info: Info,
|
|
270
|
+
italic: Italic,
|
|
271
|
+
list: List,
|
|
272
|
+
"list-ordered": ListOrdered,
|
|
273
|
+
"list-todo": ListTodo,
|
|
274
|
+
merge: Merge,
|
|
275
|
+
"notebook-pen": NotebookPen,
|
|
276
|
+
minus: Minus,
|
|
277
|
+
"paint-bucket": PaintBucket,
|
|
278
|
+
"panel-bottom": PanelBottom,
|
|
279
|
+
"panel-left": PanelLeft,
|
|
280
|
+
"panel-right": PanelRight,
|
|
281
|
+
"panel-top": PanelTop,
|
|
282
|
+
pilcrow: Pilcrow,
|
|
283
|
+
plus: Plus,
|
|
284
|
+
quote: Quote,
|
|
285
|
+
redo: Redo2,
|
|
286
|
+
rows: Rows3,
|
|
287
|
+
split: Split,
|
|
288
|
+
strikethrough: Strikethrough,
|
|
289
|
+
table: Table2,
|
|
290
|
+
trash: Trash2,
|
|
291
|
+
"triangle-alert": TriangleAlert,
|
|
292
|
+
underline: Underline,
|
|
293
|
+
undo: Undo2
|
|
294
|
+
};
|
|
295
|
+
function serializeAttributes(attributes) {
|
|
296
|
+
return Object.entries(attributes).map(([name, value]) => ` ${name}="${escapeAttribute(value)}"`).join("");
|
|
297
|
+
}
|
|
298
|
+
function escapeAttribute(value) {
|
|
299
|
+
return String(value).replaceAll("&", "&").replaceAll('"', """);
|
|
300
|
+
}
|
|
301
|
+
function serializeIconNode(node) {
|
|
302
|
+
const [tag, attributes] = node;
|
|
303
|
+
return `<${tag}${serializeAttributes(attributes)}></${tag}>`;
|
|
304
|
+
}
|
|
305
|
+
function loomaIconMarkup(name, className = "looma-icon") {
|
|
306
|
+
return [
|
|
307
|
+
`<svg class="${escapeAttribute(className)}" data-looma-icon="${name}" aria-hidden="true" focusable="false"`,
|
|
308
|
+
' viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"',
|
|
309
|
+
' stroke-linecap="round" stroke-linejoin="round">',
|
|
310
|
+
LOOMA_ICONS[name].map(serializeIconNode).join(""),
|
|
311
|
+
"</svg>"
|
|
312
|
+
].join("");
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export {
|
|
316
|
+
loomaIconMarkup
|
|
317
|
+
};
|
|
318
|
+
/**
|
|
319
|
+
* @license lucide v0.554.0 - ISC
|
|
320
|
+
*
|
|
321
|
+
* This source code is licensed under the ISC license.
|
|
322
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
323
|
+
*/
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/** A state prop is controlled only when the consumer supplies a value. */
|
|
4
|
+
const isControlled = (value) => value !== undefined;
|
|
5
|
+
/** Defaults apply only when a corresponding controlled prop is omitted. */
|
|
6
|
+
const controlledOrDefault = (value, defaultValue) => value === undefined ? defaultValue : value;
|
|
7
|
+
|
|
8
|
+
exports.controlledOrDefault = controlledOrDefault;
|
|
9
|
+
exports.isControlled = isControlled;
|