@threadlabs/looma 0.1.22 → 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-NIPNHZ5W.js → chunk-IMHSPETJ.js} +65 -31
- package/dist/chunk-NB6DBRXQ.js +323 -0
- package/dist/{chunk-SZJQ3NPX.js → chunk-TL4FIE7X.js} +4 -8
- package/dist/cjs/controlled-state-BFya8rAX.js +9 -0
- package/dist/cjs/icons-BAdjrnhS.js +680 -0
- package/dist/cjs/{index-D07f6BOw.js → index-BHG9Rpil.js} +33 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/looma.cjs.js +2 -2
- package/dist/cjs/{manager-C9j3HZay.js → manager-Ce25WRtl.js} +6 -7
- package/dist/cjs/ui-affordance-scope.cjs.entry.js +2 -2
- package/dist/cjs/ui-avatar-group.cjs.entry.js +10 -18
- package/dist/cjs/ui-avatar.cjs.entry.js +3 -3
- package/dist/cjs/ui-badge.cjs.entry.js +3 -3
- package/dist/cjs/ui-button.cjs.entry.js +16 -5
- package/dist/cjs/ui-callout.cjs.entry.js +27 -0
- package/dist/cjs/ui-checkbox.cjs.entry.js +14 -8
- package/dist/cjs/ui-chip.cjs.entry.js +19 -0
- package/dist/cjs/ui-combobox.cjs.entry.js +541 -0
- package/dist/cjs/ui-context-menu.cjs.entry.js +3 -3
- package/dist/cjs/ui-dialog.cjs.entry.js +46 -10
- package/dist/cjs/ui-disclosure.cjs.entry.js +10 -7
- package/dist/cjs/ui-floating-action-button.cjs.entry.js +2 -2
- package/dist/cjs/ui-form-field.cjs.entry.js +61 -6
- package/dist/cjs/ui-icon-button.cjs.entry.js +2 -2
- package/dist/cjs/ui-input.cjs.entry.js +11 -6
- package/dist/cjs/ui-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/ui-menu.cjs.entry.js +16 -11
- package/dist/cjs/ui-popover.cjs.entry.js +12 -9
- package/dist/cjs/ui-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/ui-radio.cjs.entry.js +18 -9
- package/dist/cjs/ui-search-result-row.cjs.entry.js +2 -2
- package/dist/cjs/ui-search-shell.cjs.entry.js +2 -2
- package/dist/cjs/ui-select.cjs.entry.js +15 -7
- package/dist/cjs/ui-switch.cjs.entry.js +20 -11
- package/dist/cjs/ui-tabs.cjs.entry.js +11 -10
- package/dist/cjs/ui-textarea.cjs.entry.js +10 -6
- package/dist/cjs/ui-toast-region.cjs.entry.js +31 -20
- package/dist/cjs/ui-tooltip.cjs.entry.js +63 -23
- package/dist/cjs/ui-top-bar.cjs.entry.js +2 -2
- package/dist/cjs/ui-tree-item.cjs.entry.js +57 -616
- package/dist/cjs/ui-tree.cjs.entry.js +198 -14
- package/dist/collection/collection-manifest.json +3 -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.css +36 -26
- package/dist/collection/components/ui-button/ui-button.js +14 -3
- 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.css +24 -0
- package/dist/collection/components/ui-combobox/ui-combobox.js +973 -0
- 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.css +4 -0
- 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.css +8 -6
- package/dist/collection/components/ui-input/ui-input.js +11 -7
- 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 +25 -12
- 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.css +8 -6
- package/dist/collection/components/ui-select/ui-select.js +17 -11
- 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.css +7 -6
- package/dist/collection/components/ui-textarea/ui-textarea.js +10 -7
- 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 +115 -25
- 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 +216 -12
- package/dist/collection/components/ui-tree-item/ui-tree-item.js +84 -25
- package/dist/collection/field/combobox.js +4 -0
- package/dist/collection/field/valibot.js +5 -0
- package/dist/collection/field/validation.js +62 -0
- package/dist/collection/icons.js +6 -1
- package/dist/collection/overlay/manager.js +6 -7
- package/dist/collection/utils/controlled-state.js +4 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-Bh_1GxOD.js +1 -0
- package/dist/components/p-Bk55QiUK.js +1 -0
- package/dist/components/p-BnGhGgTH.js +1 -0
- package/dist/components/p-C-0syqXZ.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.d.ts +11 -0
- package/dist/components/ui-combobox.js +1 -0
- 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/{index-CEeiinfk.js → index-8BGiMGQ0.js} +33 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/looma.js +3 -3
- package/dist/esm/{manager-PM9a74r7.js → manager-C-0syqXZ.js} +6 -7
- package/dist/esm/ui-affordance-scope.entry.js +2 -2
- package/dist/esm/ui-avatar-group.entry.js +10 -18
- package/dist/esm/ui-avatar.entry.js +3 -3
- package/dist/esm/ui-badge.entry.js +3 -3
- package/dist/esm/ui-button.entry.js +16 -5
- package/dist/esm/ui-callout.entry.js +25 -0
- package/dist/esm/ui-checkbox.entry.js +14 -8
- package/dist/esm/ui-chip.entry.js +17 -0
- package/dist/esm/ui-combobox.entry.js +539 -0
- package/dist/esm/ui-context-menu.entry.js +3 -3
- package/dist/esm/ui-dialog.entry.js +46 -10
- package/dist/esm/ui-disclosure.entry.js +10 -7
- package/dist/esm/ui-floating-action-button.entry.js +2 -2
- package/dist/esm/ui-form-field.entry.js +61 -6
- package/dist/esm/ui-icon-button.entry.js +2 -2
- package/dist/esm/ui-input.entry.js +11 -6
- package/dist/esm/ui-menu-item.entry.js +3 -3
- package/dist/esm/ui-menu.entry.js +16 -11
- package/dist/esm/ui-popover.entry.js +12 -9
- package/dist/esm/ui-radio-group.entry.js +2 -2
- package/dist/esm/ui-radio.entry.js +18 -9
- package/dist/esm/ui-search-result-row.entry.js +2 -2
- package/dist/esm/ui-search-shell.entry.js +2 -2
- package/dist/esm/ui-select.entry.js +15 -7
- package/dist/esm/ui-switch.entry.js +20 -11
- package/dist/esm/ui-tabs.entry.js +11 -10
- package/dist/esm/ui-textarea.entry.js +10 -6
- package/dist/esm/ui-toast-region.entry.js +31 -20
- package/dist/esm/ui-tooltip.entry.js +63 -23
- package/dist/esm/ui-top-bar.entry.js +2 -2
- package/dist/esm/ui-tree-item.entry.js +57 -616
- package/dist/esm/ui-tree.entry.js +198 -14
- package/dist/index.cjs +2012 -870
- package/dist/index.d.cts +109 -1
- package/dist/index.d.ts +109 -1
- package/dist/index.js +72 -8
- 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-13f8195a.entry.js +1 -0
- package/dist/looma/{p-d273b857.entry.js → p-25e18ad6.entry.js} +1 -1
- package/dist/looma/p-2c03fa73.entry.js +1 -0
- package/dist/looma/p-314d5c7c.entry.js +1 -0
- package/dist/looma/{p-2ed7e241.entry.js → p-3ef2a21b.entry.js} +1 -1
- package/dist/looma/{p-063f5a89.entry.js → p-5a900d89.entry.js} +1 -1
- package/dist/looma/p-5fdcee1d.entry.js +1 -0
- package/dist/looma/{p-0198bb21.entry.js → p-672e3d16.entry.js} +1 -1
- package/dist/looma/p-68430534.entry.js +1 -0
- package/dist/looma/{p-2e6f791e.entry.js → p-72338f53.entry.js} +1 -1
- package/dist/looma/p-7ab661ec.entry.js +1 -0
- 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-8BGiMGQ0.js +2 -0
- package/dist/looma/p-8e254bc4.entry.js +1 -0
- package/dist/looma/p-8e6b1001.entry.js +1 -0
- package/dist/looma/p-920656cf.entry.js +1 -0
- package/dist/looma/p-97e8cb0e.entry.js +1 -0
- 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-C-0syqXZ.js +1 -0
- package/dist/looma/p-CoFximGM.js +13 -0
- package/dist/looma/{p-051f578c.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-7e94d90d.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-combobox/ui-combobox.d.ts +93 -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-input/ui-input.d.ts +1 -1
- 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-select/ui-select.d.ts +3 -2
- 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-textarea/ui-textarea.d.ts +1 -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 +20 -2
- package/dist/types/components/ui-tree/ui-tree.d.ts +21 -1
- package/dist/types/components/ui-tree-item/ui-tree-item.d.ts +13 -5
- package/dist/types/components.d.ts +366 -71
- package/dist/types/field/combobox.d.ts +46 -0
- package/dist/types/field/valibot.d.ts +7 -0
- package/dist/types/field/validation.d.ts +56 -0
- package/dist/types/icons.d.ts +5 -0
- package/dist/types/utils/controlled-state.d.ts +4 -0
- package/dist/{ui-affordance-scope.entry-L533MECG.js → ui-affordance-scope.entry-3TUZ6GLW.js} +2 -2
- package/dist/ui-avatar-group.entry-XGJKN25W.js +51 -0
- package/dist/{ui-avatar.entry-3INAY3XP.js → ui-avatar.entry-SN3G44HW.js} +3 -3
- package/dist/ui-badge.entry-B6WDCWJX.js +22 -0
- package/dist/ui-button.entry-AZYUELLV.js +80 -0
- package/dist/ui-callout.entry-QRPWRMPC.js +32 -0
- package/dist/{ui-checkbox.entry-2PTBHSCQ.js → ui-checkbox.entry-OB6GFC4M.js} +17 -8
- package/dist/ui-chip.entry-XSNPJXX3.js +22 -0
- package/dist/ui-combobox.entry-IIMMUJF7.js +553 -0
- package/dist/{ui-context-menu.entry-AYDDCIZS.js → ui-context-menu.entry-AIULIE5Y.js} +3 -3
- package/dist/{ui-dialog.entry-I2XI3ZTZ.js → ui-dialog.entry-QSYWYHLY.js} +48 -10
- package/dist/{ui-disclosure.entry-5LY2BT7B.js → ui-disclosure.entry-3BJEYU3U.js} +13 -7
- package/dist/{ui-floating-action-button.entry-EJAMR5AM.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-7SD2LVXE.js → ui-icon-button.entry-TPX7BE7R.js} +2 -2
- package/dist/{ui-input.entry-7MM7GEQW.js → ui-input.entry-6NCLNW4E.js} +8 -6
- package/dist/ui-menu-item.entry-KA2K3PKV.js +22 -0
- package/dist/{ui-menu.entry-R4WK5QSX.js → ui-menu.entry-7GDO5L2T.js} +19 -11
- package/dist/{ui-popover.entry-ZRJRTXA7.js → ui-popover.entry-FR6YRNK6.js} +15 -9
- package/dist/{ui-radio-group.entry-S6RXHFSN.js → ui-radio-group.entry-7QHXQSNO.js} +2 -2
- package/dist/{ui-radio.entry-B73QZK2M.js → ui-radio.entry-YNMXKLDW.js} +21 -9
- package/dist/{ui-search-result-row.entry-DR2Y5S7P.js → ui-search-result-row.entry-AHVVAAIO.js} +2 -2
- package/dist/{ui-search-shell.entry-ST5IKJBC.js → ui-search-shell.entry-CNBEAMEZ.js} +2 -2
- package/dist/{ui-select.entry-7GPRFV67.js → ui-select.entry-TUY6TCTC.js} +13 -7
- package/dist/{ui-switch.entry-XQ5IRJRH.js → ui-switch.entry-26LFI7B5.js} +23 -11
- package/dist/{ui-tabs.entry-HPW5L5CY.js → ui-tabs.entry-LXB62RJJ.js} +14 -10
- package/dist/{ui-textarea.entry-W2PSRYVS.js → ui-textarea.entry-JYGMGPX2.js} +8 -6
- package/dist/{ui-toast-region.entry-FJUHFXKZ.js → ui-toast-region.entry-TOW4KZLZ.js} +29 -20
- package/dist/{ui-tooltip.entry-G5WHQW7K.js → ui-tooltip.entry-SKFNYXPH.js} +68 -25
- package/dist/{ui-top-bar.entry-3NCHFC4Y.js → ui-top-bar.entry-S3YP52EA.js} +2 -2
- package/dist/ui-tree-item.entry-LWYIPYLC.js +145 -0
- package/dist/{ui-tree.entry-SZW4Q5PY.js → ui-tree.entry-LXKUQFRU.js} +184 -13
- package/dist/valibot.d.ts +52 -0
- package/dist/valibot.js +7 -0
- 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 +11 -3
- package/styles.css +46 -20
- package/theme-high-contrast.css +12 -0
- package/tokens.css +26 -0
- package/vue/{chunk-5KWCMTXB.js → chunk-D4AJULDE.js} +116 -17
- package/vue/editor/index.d.ts +5 -15
- package/vue/editor/index.js +1 -1
- package/vue/index.d.ts +447 -115
- package/vue/index.js +7 -1
- package/dist/components/p-CEYIKqYc.js +0 -1
- package/dist/components/p-CIA4RyEp.js +0 -1
- package/dist/components/p-PM9a74r7.js +0 -1
- package/dist/looma/p-0584a051.entry.js +0 -1
- package/dist/looma/p-078f9fb8.entry.js +0 -1
- package/dist/looma/p-0f45c5f0.entry.js +0 -1
- package/dist/looma/p-11083743.entry.js +0 -1
- package/dist/looma/p-1674cda4.entry.js +0 -1
- package/dist/looma/p-1681b218.entry.js +0 -1
- package/dist/looma/p-34417499.entry.js +0 -1
- package/dist/looma/p-4b422d40.entry.js +0 -1
- package/dist/looma/p-54722713.entry.js +0 -13
- package/dist/looma/p-54c41576.entry.js +0 -1
- package/dist/looma/p-5ba9d496.entry.js +0 -1
- package/dist/looma/p-5d4713a6.entry.js +0 -1
- package/dist/looma/p-624ba086.entry.js +0 -1
- package/dist/looma/p-8d5adb17.entry.js +0 -1
- package/dist/looma/p-9194a99d.entry.js +0 -1
- package/dist/looma/p-CEeiinfk.js +0 -2
- package/dist/looma/p-PM9a74r7.js +0 -1
- package/dist/looma/p-a33522a2.entry.js +0 -1
- package/dist/looma/p-a5127c7d.entry.js +0 -1
- package/dist/looma/p-a9f46811.entry.js +0 -1
- package/dist/looma/p-b7aa4488.entry.js +0 -1
- package/dist/looma/p-caa8fc7b.entry.js +0 -1
- package/dist/looma/p-e3f99a24.entry.js +0 -1
- package/dist/looma/p-ed5abf6d.entry.js +0 -1
- package/dist/ui-avatar-group.entry-BWS7E2CM.js +0 -59
- package/dist/ui-badge.entry-2WOBVOYP.js +0 -22
- package/dist/ui-button.entry-VCGSEONK.js +0 -71
- package/dist/ui-form-field.entry-SJ6NNFXB.js +0 -67
- package/dist/ui-menu-item.entry-V3HIMR75.js +0 -22
- package/dist/ui-tree-item.entry-45RR3CMP.js +0 -385
|
@@ -1,605 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, g as getElement, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, g as getElement, h, H as Host } from './index-8BGiMGQ0.js';
|
|
2
2
|
import { d as dispatchDetail, e as eventToTrigger } from './events-JwSoedEO.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* @license lucide v0.554.0 - ISC
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the ISC license.
|
|
8
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
const Bold = [
|
|
12
|
-
["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" }]
|
|
13
|
-
];
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* @license lucide v0.554.0 - ISC
|
|
17
|
-
*
|
|
18
|
-
* This source code is licensed under the ISC license.
|
|
19
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
const Braces = [
|
|
23
|
-
["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" }],
|
|
24
|
-
["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" }]
|
|
25
|
-
];
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @license lucide v0.554.0 - ISC
|
|
29
|
-
*
|
|
30
|
-
* This source code is licensed under the ISC license.
|
|
31
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
32
|
-
*/
|
|
33
|
-
|
|
34
|
-
const ChevronDown = [["path", { d: "m6 9 6 6 6-6" }]];
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @license lucide v0.554.0 - ISC
|
|
38
|
-
*
|
|
39
|
-
* This source code is licensed under the ISC license.
|
|
40
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
const ChevronLeft = [["path", { d: "m15 18-6-6 6-6" }]];
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* @license lucide v0.554.0 - ISC
|
|
47
|
-
*
|
|
48
|
-
* This source code is licensed under the ISC license.
|
|
49
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
50
|
-
*/
|
|
51
|
-
|
|
52
|
-
const CodeXml = [
|
|
53
|
-
["path", { d: "m18 16 4-4-4-4" }],
|
|
54
|
-
["path", { d: "m6 8-4 4 4 4" }],
|
|
55
|
-
["path", { d: "m14.5 4-5 16" }]
|
|
56
|
-
];
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @license lucide v0.554.0 - ISC
|
|
60
|
-
*
|
|
61
|
-
* This source code is licensed under the ISC license.
|
|
62
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
63
|
-
*/
|
|
64
|
-
|
|
65
|
-
const Columns3 = [
|
|
66
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
67
|
-
["path", { d: "M9 3v18" }],
|
|
68
|
-
["path", { d: "M15 3v18" }]
|
|
69
|
-
];
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @license lucide v0.554.0 - ISC
|
|
73
|
-
*
|
|
74
|
-
* This source code is licensed under the ISC license.
|
|
75
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
-
*/
|
|
77
|
-
|
|
78
|
-
const Ellipsis = [
|
|
79
|
-
["circle", { cx: "12", cy: "12", r: "1" }],
|
|
80
|
-
["circle", { cx: "19", cy: "12", r: "1" }],
|
|
81
|
-
["circle", { cx: "5", cy: "12", r: "1" }]
|
|
82
|
-
];
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* @license lucide v0.554.0 - ISC
|
|
86
|
-
*
|
|
87
|
-
* This source code is licensed under the ISC license.
|
|
88
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
const Eraser = [
|
|
92
|
-
[
|
|
93
|
-
"path",
|
|
94
|
-
{
|
|
95
|
-
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"
|
|
96
|
-
}
|
|
97
|
-
],
|
|
98
|
-
["path", { d: "m5.082 11.09 8.828 8.828" }]
|
|
99
|
-
];
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* @license lucide v0.554.0 - ISC
|
|
103
|
-
*
|
|
104
|
-
* This source code is licensed under the ISC license.
|
|
105
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
106
|
-
*/
|
|
107
|
-
|
|
108
|
-
const GripHorizontal = [
|
|
109
|
-
["circle", { cx: "12", cy: "9", r: "1" }],
|
|
110
|
-
["circle", { cx: "19", cy: "9", r: "1" }],
|
|
111
|
-
["circle", { cx: "5", cy: "9", r: "1" }],
|
|
112
|
-
["circle", { cx: "12", cy: "15", r: "1" }],
|
|
113
|
-
["circle", { cx: "19", cy: "15", r: "1" }],
|
|
114
|
-
["circle", { cx: "5", cy: "15", r: "1" }]
|
|
115
|
-
];
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* @license lucide v0.554.0 - ISC
|
|
119
|
-
*
|
|
120
|
-
* This source code is licensed under the ISC license.
|
|
121
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
122
|
-
*/
|
|
123
|
-
|
|
124
|
-
const GripVertical = [
|
|
125
|
-
["circle", { cx: "9", cy: "12", r: "1" }],
|
|
126
|
-
["circle", { cx: "9", cy: "5", r: "1" }],
|
|
127
|
-
["circle", { cx: "9", cy: "19", r: "1" }],
|
|
128
|
-
["circle", { cx: "15", cy: "12", r: "1" }],
|
|
129
|
-
["circle", { cx: "15", cy: "5", r: "1" }],
|
|
130
|
-
["circle", { cx: "15", cy: "19", r: "1" }]
|
|
131
|
-
];
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* @license lucide v0.554.0 - ISC
|
|
135
|
-
*
|
|
136
|
-
* This source code is licensed under the ISC license.
|
|
137
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
138
|
-
*/
|
|
139
|
-
|
|
140
|
-
const Heading1 = [
|
|
141
|
-
["path", { d: "M4 12h8" }],
|
|
142
|
-
["path", { d: "M4 18V6" }],
|
|
143
|
-
["path", { d: "M12 18V6" }],
|
|
144
|
-
["path", { d: "m17 12 3-2v8" }]
|
|
145
|
-
];
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* @license lucide v0.554.0 - ISC
|
|
149
|
-
*
|
|
150
|
-
* This source code is licensed under the ISC license.
|
|
151
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
152
|
-
*/
|
|
153
|
-
|
|
154
|
-
const Heading2 = [
|
|
155
|
-
["path", { d: "M4 12h8" }],
|
|
156
|
-
["path", { d: "M4 18V6" }],
|
|
157
|
-
["path", { d: "M12 18V6" }],
|
|
158
|
-
["path", { d: "M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" }]
|
|
159
|
-
];
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* @license lucide v0.554.0 - ISC
|
|
163
|
-
*
|
|
164
|
-
* This source code is licensed under the ISC license.
|
|
165
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
166
|
-
*/
|
|
167
|
-
|
|
168
|
-
const Heading3 = [
|
|
169
|
-
["path", { d: "M4 12h8" }],
|
|
170
|
-
["path", { d: "M4 18V6" }],
|
|
171
|
-
["path", { d: "M12 18V6" }],
|
|
172
|
-
["path", { d: "M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2" }],
|
|
173
|
-
["path", { d: "M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2" }]
|
|
174
|
-
];
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* @license lucide v0.554.0 - ISC
|
|
178
|
-
*
|
|
179
|
-
* This source code is licensed under the ISC license.
|
|
180
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
181
|
-
*/
|
|
182
|
-
|
|
183
|
-
const Highlighter = [
|
|
184
|
-
["path", { d: "m9 11-6 6v3h9l3-3" }],
|
|
185
|
-
["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" }]
|
|
186
|
-
];
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* @license lucide v0.554.0 - ISC
|
|
190
|
-
*
|
|
191
|
-
* This source code is licensed under the ISC license.
|
|
192
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
193
|
-
*/
|
|
194
|
-
|
|
195
|
-
const Image = [
|
|
196
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2" }],
|
|
197
|
-
["circle", { cx: "9", cy: "9", r: "2" }],
|
|
198
|
-
["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" }]
|
|
199
|
-
];
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* @license lucide v0.554.0 - ISC
|
|
203
|
-
*
|
|
204
|
-
* This source code is licensed under the ISC license.
|
|
205
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
206
|
-
*/
|
|
207
|
-
|
|
208
|
-
const Italic = [
|
|
209
|
-
["line", { x1: "19", x2: "10", y1: "4", y2: "4" }],
|
|
210
|
-
["line", { x1: "14", x2: "5", y1: "20", y2: "20" }],
|
|
211
|
-
["line", { x1: "15", x2: "9", y1: "4", y2: "20" }]
|
|
212
|
-
];
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* @license lucide v0.554.0 - ISC
|
|
216
|
-
*
|
|
217
|
-
* This source code is licensed under the ISC license.
|
|
218
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
219
|
-
*/
|
|
220
|
-
|
|
221
|
-
const ListOrdered = [
|
|
222
|
-
["path", { d: "M11 5h10" }],
|
|
223
|
-
["path", { d: "M11 12h10" }],
|
|
224
|
-
["path", { d: "M11 19h10" }],
|
|
225
|
-
["path", { d: "M4 4h1v5" }],
|
|
226
|
-
["path", { d: "M4 9h2" }],
|
|
227
|
-
["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" }]
|
|
228
|
-
];
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* @license lucide v0.554.0 - ISC
|
|
232
|
-
*
|
|
233
|
-
* This source code is licensed under the ISC license.
|
|
234
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
235
|
-
*/
|
|
236
|
-
|
|
237
|
-
const ListTodo = [
|
|
238
|
-
["path", { d: "M13 5h8" }],
|
|
239
|
-
["path", { d: "M13 12h8" }],
|
|
240
|
-
["path", { d: "M13 19h8" }],
|
|
241
|
-
["path", { d: "m3 17 2 2 4-4" }],
|
|
242
|
-
["rect", { x: "3", y: "4", width: "6", height: "6", rx: "1" }]
|
|
243
|
-
];
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* @license lucide v0.554.0 - ISC
|
|
247
|
-
*
|
|
248
|
-
* This source code is licensed under the ISC license.
|
|
249
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
250
|
-
*/
|
|
251
|
-
|
|
252
|
-
const List = [
|
|
253
|
-
["path", { d: "M3 5h.01" }],
|
|
254
|
-
["path", { d: "M3 12h.01" }],
|
|
255
|
-
["path", { d: "M3 19h.01" }],
|
|
256
|
-
["path", { d: "M8 5h13" }],
|
|
257
|
-
["path", { d: "M8 12h13" }],
|
|
258
|
-
["path", { d: "M8 19h13" }]
|
|
259
|
-
];
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* @license lucide v0.554.0 - ISC
|
|
263
|
-
*
|
|
264
|
-
* This source code is licensed under the ISC license.
|
|
265
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
266
|
-
*/
|
|
267
|
-
|
|
268
|
-
const Merge = [
|
|
269
|
-
["path", { d: "m8 6 4-4 4 4" }],
|
|
270
|
-
["path", { d: "M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22" }],
|
|
271
|
-
["path", { d: "m20 22-5-5" }]
|
|
272
|
-
];
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* @license lucide v0.554.0 - ISC
|
|
276
|
-
*
|
|
277
|
-
* This source code is licensed under the ISC license.
|
|
278
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
279
|
-
*/
|
|
280
|
-
|
|
281
|
-
const Minus = [["path", { d: "M5 12h14" }]];
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* @license lucide v0.554.0 - ISC
|
|
285
|
-
*
|
|
286
|
-
* This source code is licensed under the ISC license.
|
|
287
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
288
|
-
*/
|
|
289
|
-
|
|
290
|
-
const PaintBucket = [
|
|
291
|
-
["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" }],
|
|
292
|
-
["path", { d: "m5 2 5 5" }],
|
|
293
|
-
["path", { d: "M2 13h15" }],
|
|
294
|
-
["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" }]
|
|
295
|
-
];
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
* @license lucide v0.554.0 - ISC
|
|
299
|
-
*
|
|
300
|
-
* This source code is licensed under the ISC license.
|
|
301
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
302
|
-
*/
|
|
303
|
-
|
|
304
|
-
const PanelBottom = [
|
|
305
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
306
|
-
["path", { d: "M3 15h18" }]
|
|
307
|
-
];
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* @license lucide v0.554.0 - ISC
|
|
311
|
-
*
|
|
312
|
-
* This source code is licensed under the ISC license.
|
|
313
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
314
|
-
*/
|
|
315
|
-
|
|
316
|
-
const PanelLeft = [
|
|
317
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
318
|
-
["path", { d: "M9 3v18" }]
|
|
319
|
-
];
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* @license lucide v0.554.0 - ISC
|
|
323
|
-
*
|
|
324
|
-
* This source code is licensed under the ISC license.
|
|
325
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
326
|
-
*/
|
|
327
|
-
|
|
328
|
-
const PanelRight = [
|
|
329
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
330
|
-
["path", { d: "M15 3v18" }]
|
|
331
|
-
];
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* @license lucide v0.554.0 - ISC
|
|
335
|
-
*
|
|
336
|
-
* This source code is licensed under the ISC license.
|
|
337
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
338
|
-
*/
|
|
339
|
-
|
|
340
|
-
const PanelTop = [
|
|
341
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
342
|
-
["path", { d: "M3 9h18" }]
|
|
343
|
-
];
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* @license lucide v0.554.0 - ISC
|
|
347
|
-
*
|
|
348
|
-
* This source code is licensed under the ISC license.
|
|
349
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
350
|
-
*/
|
|
351
|
-
|
|
352
|
-
const Pilcrow = [
|
|
353
|
-
["path", { d: "M13 4v16" }],
|
|
354
|
-
["path", { d: "M17 4v16" }],
|
|
355
|
-
["path", { d: "M19 4H9.5a4.5 4.5 0 0 0 0 9H13" }]
|
|
356
|
-
];
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* @license lucide v0.554.0 - ISC
|
|
360
|
-
*
|
|
361
|
-
* This source code is licensed under the ISC license.
|
|
362
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
363
|
-
*/
|
|
364
|
-
|
|
365
|
-
const Plus = [
|
|
366
|
-
["path", { d: "M5 12h14" }],
|
|
367
|
-
["path", { d: "M12 5v14" }]
|
|
368
|
-
];
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* @license lucide v0.554.0 - ISC
|
|
372
|
-
*
|
|
373
|
-
* This source code is licensed under the ISC license.
|
|
374
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
375
|
-
*/
|
|
376
|
-
|
|
377
|
-
const Quote = [
|
|
378
|
-
[
|
|
379
|
-
"path",
|
|
380
|
-
{
|
|
381
|
-
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"
|
|
382
|
-
}
|
|
383
|
-
],
|
|
384
|
-
[
|
|
385
|
-
"path",
|
|
386
|
-
{
|
|
387
|
-
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"
|
|
388
|
-
}
|
|
389
|
-
]
|
|
390
|
-
];
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* @license lucide v0.554.0 - ISC
|
|
394
|
-
*
|
|
395
|
-
* This source code is licensed under the ISC license.
|
|
396
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
397
|
-
*/
|
|
398
|
-
|
|
399
|
-
const Redo2 = [
|
|
400
|
-
["path", { d: "m15 14 5-5-5-5" }],
|
|
401
|
-
["path", { d: "M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13" }]
|
|
402
|
-
];
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* @license lucide v0.554.0 - ISC
|
|
406
|
-
*
|
|
407
|
-
* This source code is licensed under the ISC license.
|
|
408
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
409
|
-
*/
|
|
410
|
-
|
|
411
|
-
const Rows3 = [
|
|
412
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
|
|
413
|
-
["path", { d: "M21 9H3" }],
|
|
414
|
-
["path", { d: "M21 15H3" }]
|
|
415
|
-
];
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* @license lucide v0.554.0 - ISC
|
|
419
|
-
*
|
|
420
|
-
* This source code is licensed under the ISC license.
|
|
421
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
422
|
-
*/
|
|
423
|
-
|
|
424
|
-
const Split = [
|
|
425
|
-
["path", { d: "M16 3h5v5" }],
|
|
426
|
-
["path", { d: "M8 3H3v5" }],
|
|
427
|
-
["path", { d: "M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3" }],
|
|
428
|
-
["path", { d: "m15 9 6-6" }]
|
|
429
|
-
];
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
* @license lucide v0.554.0 - ISC
|
|
433
|
-
*
|
|
434
|
-
* This source code is licensed under the ISC license.
|
|
435
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
436
|
-
*/
|
|
437
|
-
|
|
438
|
-
const Strikethrough = [
|
|
439
|
-
["path", { d: "M16 4H9a3 3 0 0 0-2.83 4" }],
|
|
440
|
-
["path", { d: "M14 12a4 4 0 0 1 0 8H6" }],
|
|
441
|
-
["line", { x1: "4", x2: "20", y1: "12", y2: "12" }]
|
|
442
|
-
];
|
|
443
|
-
|
|
444
|
-
/**
|
|
445
|
-
* @license lucide v0.554.0 - ISC
|
|
446
|
-
*
|
|
447
|
-
* This source code is licensed under the ISC license.
|
|
448
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
449
|
-
*/
|
|
450
|
-
|
|
451
|
-
const Table2 = [
|
|
452
|
-
[
|
|
453
|
-
"path",
|
|
454
|
-
{
|
|
455
|
-
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"
|
|
456
|
-
}
|
|
457
|
-
]
|
|
458
|
-
];
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* @license lucide v0.554.0 - ISC
|
|
462
|
-
*
|
|
463
|
-
* This source code is licensed under the ISC license.
|
|
464
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
465
|
-
*/
|
|
466
|
-
|
|
467
|
-
const TextAlignCenter = [
|
|
468
|
-
["path", { d: "M21 5H3" }],
|
|
469
|
-
["path", { d: "M17 12H7" }],
|
|
470
|
-
["path", { d: "M19 19H5" }]
|
|
471
|
-
];
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* @license lucide v0.554.0 - ISC
|
|
475
|
-
*
|
|
476
|
-
* This source code is licensed under the ISC license.
|
|
477
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
478
|
-
*/
|
|
479
|
-
|
|
480
|
-
const TextAlignEnd = [
|
|
481
|
-
["path", { d: "M21 5H3" }],
|
|
482
|
-
["path", { d: "M21 12H9" }],
|
|
483
|
-
["path", { d: "M21 19H7" }]
|
|
484
|
-
];
|
|
485
|
-
|
|
486
|
-
/**
|
|
487
|
-
* @license lucide v0.554.0 - ISC
|
|
488
|
-
*
|
|
489
|
-
* This source code is licensed under the ISC license.
|
|
490
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
491
|
-
*/
|
|
492
|
-
|
|
493
|
-
const TextAlignStart = [
|
|
494
|
-
["path", { d: "M21 5H3" }],
|
|
495
|
-
["path", { d: "M15 12H3" }],
|
|
496
|
-
["path", { d: "M17 19H3" }]
|
|
497
|
-
];
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* @license lucide v0.554.0 - ISC
|
|
501
|
-
*
|
|
502
|
-
* This source code is licensed under the ISC license.
|
|
503
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
504
|
-
*/
|
|
505
|
-
|
|
506
|
-
const Trash2 = [
|
|
507
|
-
["path", { d: "M10 11v6" }],
|
|
508
|
-
["path", { d: "M14 11v6" }],
|
|
509
|
-
["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }],
|
|
510
|
-
["path", { d: "M3 6h18" }],
|
|
511
|
-
["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }]
|
|
512
|
-
];
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* @license lucide v0.554.0 - ISC
|
|
516
|
-
*
|
|
517
|
-
* This source code is licensed under the ISC license.
|
|
518
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
519
|
-
*/
|
|
520
|
-
|
|
521
|
-
const Underline = [
|
|
522
|
-
["path", { d: "M6 4v6a6 6 0 0 0 12 0V4" }],
|
|
523
|
-
["line", { x1: "4", x2: "20", y1: "20", y2: "20" }]
|
|
524
|
-
];
|
|
525
|
-
|
|
526
|
-
/**
|
|
527
|
-
* @license lucide v0.554.0 - ISC
|
|
528
|
-
*
|
|
529
|
-
* This source code is licensed under the ISC license.
|
|
530
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
531
|
-
*/
|
|
532
|
-
|
|
533
|
-
const Undo2 = [
|
|
534
|
-
["path", { d: "M9 14 4 9l5-5" }],
|
|
535
|
-
["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" }]
|
|
536
|
-
];
|
|
537
|
-
|
|
538
|
-
/** The opinionated Lucide set used by Looma's shipped interaction surfaces. */
|
|
539
|
-
const LOOMA_ICONS = {
|
|
540
|
-
'align-center': TextAlignCenter,
|
|
541
|
-
'align-left': TextAlignStart,
|
|
542
|
-
'align-right': TextAlignEnd,
|
|
543
|
-
bold: Bold,
|
|
544
|
-
braces: Braces,
|
|
545
|
-
'chevron-down': ChevronDown,
|
|
546
|
-
'chevron-left': ChevronLeft,
|
|
547
|
-
'code-xml': CodeXml,
|
|
548
|
-
columns: Columns3,
|
|
549
|
-
ellipsis: Ellipsis,
|
|
550
|
-
eraser: Eraser,
|
|
551
|
-
'grip-horizontal': GripHorizontal,
|
|
552
|
-
'grip-vertical': GripVertical,
|
|
553
|
-
'heading-1': Heading1,
|
|
554
|
-
'heading-2': Heading2,
|
|
555
|
-
'heading-3': Heading3,
|
|
556
|
-
highlighter: Highlighter,
|
|
557
|
-
image: Image,
|
|
558
|
-
italic: Italic,
|
|
559
|
-
list: List,
|
|
560
|
-
'list-ordered': ListOrdered,
|
|
561
|
-
'list-todo': ListTodo,
|
|
562
|
-
merge: Merge,
|
|
563
|
-
minus: Minus,
|
|
564
|
-
'paint-bucket': PaintBucket,
|
|
565
|
-
'panel-bottom': PanelBottom,
|
|
566
|
-
'panel-left': PanelLeft,
|
|
567
|
-
'panel-right': PanelRight,
|
|
568
|
-
'panel-top': PanelTop,
|
|
569
|
-
pilcrow: Pilcrow,
|
|
570
|
-
plus: Plus,
|
|
571
|
-
quote: Quote,
|
|
572
|
-
redo: Redo2,
|
|
573
|
-
rows: Rows3,
|
|
574
|
-
split: Split,
|
|
575
|
-
strikethrough: Strikethrough,
|
|
576
|
-
table: Table2,
|
|
577
|
-
trash: Trash2,
|
|
578
|
-
underline: Underline,
|
|
579
|
-
undo: Undo2,
|
|
580
|
-
};
|
|
581
|
-
function serializeAttributes(attributes) {
|
|
582
|
-
return Object.entries(attributes)
|
|
583
|
-
.map(([name, value]) => ` ${name}="${escapeAttribute(value)}"`)
|
|
584
|
-
.join('');
|
|
585
|
-
}
|
|
586
|
-
function escapeAttribute(value) {
|
|
587
|
-
return String(value).replaceAll('&', '&').replaceAll('"', '"');
|
|
588
|
-
}
|
|
589
|
-
function serializeIconNode(node) {
|
|
590
|
-
const [tag, attributes] = node;
|
|
591
|
-
return `<${tag}${serializeAttributes(attributes)}></${tag}>`;
|
|
592
|
-
}
|
|
593
|
-
/** Creates consistent, currentColor-driven SVG markup for framework-neutral components. */
|
|
594
|
-
function loomaIconMarkup(name, className = 'looma-icon') {
|
|
595
|
-
return [
|
|
596
|
-
`<svg class="${escapeAttribute(className)}" data-looma-icon="${name}" aria-hidden="true" focusable="false"`,
|
|
597
|
-
' viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"',
|
|
598
|
-
' stroke-linecap="round" stroke-linejoin="round">',
|
|
599
|
-
LOOMA_ICONS[name].map(serializeIconNode).join(''),
|
|
600
|
-
'</svg>',
|
|
601
|
-
].join('');
|
|
602
|
-
}
|
|
3
|
+
import { l as loomaIconMarkup } from './icons-CoFximGM.js';
|
|
603
4
|
|
|
604
5
|
const uiTreeItemCss = () => `:host{--ui-tree-indent:16px;--ui-tree-row-min-height:32px;--ui-tree-drop-color:var(--ui-accent-solid);position:relative;display:block;min-inline-size:0;margin-inline-start:calc(var(--ui-tree-item-depth, 0) * var(--ui-tree-indent))}.row{position:relative;display:grid;grid-template-columns:20px auto minmax(0, 1fr) auto;align-items:center;min-block-size:var(--ui-tree-row-min-height);min-inline-size:0;font-size:var(--ui-tree-font-size, var(--ui-font-size-ui, 0.9375rem));border-radius:var(--ui-radius-md);color:var(--ui-text-secondary);transition:background-color var(--ui-motion-fast) var(--ui-motion-ease), color var(--ui-motion-fast) var(--ui-motion-ease), opacity var(--ui-motion-fast) var(--ui-motion-ease), box-shadow var(--ui-motion-fast) var(--ui-motion-ease), min-block-size var(--ui-motion-base) var(--ui-motion-ease)}.row:hover,:host([data-selected]) .row,.row:focus-within{color:var(--ui-text-primary);background:var(--ui-surface-muted)}:host([data-disabled]) .row{opacity:0.55}:host([data-dragging]) .row{opacity:0.42}:host(:focus){outline:none}:host(:focus-visible) .row{box-shadow:0 0 0 2px var(--ui-focus-ring)}:host([data-drop-position='inside']) .row{background:var(--ui-accent-subtle);box-shadow:inset 0 0 0 1px var(--ui-tree-drop-color)}.disclosure,.disclosure-spacer{grid-column:1;grid-row:1;inline-size:20px;block-size:28px}.disclosure{display:grid;place-items:center;padding:0;color:var(--ui-text-muted);background:transparent;border:0;border-radius:var(--ui-radius-sm);cursor:pointer}.disclosure:hover{color:var(--ui-text-primary);background:var(--ui-surface-elevated)}.disclosure-icon{display:block;inline-size:14px;block-size:14px;transform:rotate(-90deg);transition:transform var(--ui-motion-fast) var(--ui-motion-ease)}.disclosure-icon--expanded{transform:rotate(0deg)}.disclosure-icon :is(svg),.drag-handle :is(svg){display:block;inline-size:100%;block-size:100%}.leading{display:none}.leading:has(*){display:inline-grid;place-items:center;grid-column:2;grid-row:1;inline-size:16px;block-size:16px;margin-inline-start:var(--ui-space-1)}.label{grid-column:3;grid-row:1;min-inline-size:0;padding:var(--ui-space-1) var(--ui-space-2)}.actions{grid-column:4;grid-row:1;display:inline-flex;align-items:center;min-inline-size:0}.drag-handle{position:absolute;z-index:2;inset-block-start:50%;inset-inline-start:-22px;inline-size:20px;block-size:32px;display:grid;place-items:center;padding:7px 3px;color:var(--ui-text-muted);background:var(--ui-surface-elevated);border:1px solid transparent;border-radius:var(--ui-radius-sm);cursor:grab;opacity:0;pointer-events:none;transform:translateY(-50%);transition:opacity var(--ui-motion-fast) var(--ui-motion-ease)}.row:hover .drag-handle,.drag-handle:focus-visible,:host([data-dragging]) .drag-handle{opacity:1;pointer-events:auto}.drag-handle:active{cursor:grabbing}.drop-indicator{position:absolute;z-index:3;inset-inline:1px;display:none;block-size:2px;border-radius:999px;background:var(--ui-tree-drop-color);pointer-events:none}.drop-indicator::before,.drop-indicator::after{content:'';position:absolute;inset-block-start:50%;inline-size:7px;block-size:7px;border:2px solid var(--ui-tree-drop-color);border-radius:999px;background:var(--ui-surface-elevated);transform:translateY(-50%)}.drop-indicator::before{inset-inline-start:-1px}.drop-indicator::after{inset-inline-end:-1px}:host([data-drop-position='before']) .row-drop-indicator{display:block;inset-block-start:-1px}:host([data-drop-position='after']) .subtree-drop-indicator{display:block;inset-block-end:-1px}.children[hidden]{display:none}:host-context(html[data-ui-input-modality='touch']){--ui-tree-row-min-height:44px}:host-context(html[data-ui-input-modality='touch']) .drag-handle{display:none}@media (prefers-reduced-motion: reduce){.row,.disclosure-icon,.drag-handle{transition:none}}`;
|
|
605
6
|
|
|
@@ -612,8 +13,10 @@ const UITreeItem = class {
|
|
|
612
13
|
itemId = '';
|
|
613
14
|
/** Accessible name used by the disclosure and drag handle. */
|
|
614
15
|
label = '';
|
|
615
|
-
/**
|
|
616
|
-
|
|
16
|
+
/** Application hierarchy depth override used for drop constraints. Defaults to structural nesting. */
|
|
17
|
+
dropDepth;
|
|
18
|
+
/** Virtualized-tree descendant-depth override for the tree's max-depth drop constraint. */
|
|
19
|
+
subtreeDepth;
|
|
617
20
|
/** Whether this item accepts children and exposes disclosure behavior. */
|
|
618
21
|
container = false;
|
|
619
22
|
/** Whether this item participates in pointer drag and drop. */
|
|
@@ -624,37 +27,74 @@ const UITreeItem = class {
|
|
|
624
27
|
dropScope = '';
|
|
625
28
|
/** Comma-separated drag kinds accepted as children. Empty accepts every kind. */
|
|
626
29
|
accepts = '';
|
|
627
|
-
/**
|
|
628
|
-
expanded
|
|
30
|
+
/** Controlled expansion value. When omitted, `default-expanded` initializes uncontrolled state. */
|
|
31
|
+
expanded;
|
|
629
32
|
/** Initial uncontrolled expansion value. */
|
|
630
33
|
defaultExpanded = false;
|
|
631
34
|
selected = false;
|
|
632
35
|
disabled = false;
|
|
633
36
|
internalExpanded = false;
|
|
37
|
+
structuralLevel = 1;
|
|
38
|
+
tabStop = false;
|
|
634
39
|
syncExpandedFromProp() {
|
|
635
|
-
|
|
40
|
+
// A defined prop owns the rendered state; clearing it resumes the current
|
|
41
|
+
// uncontrolled state instead of replaying the initial default.
|
|
42
|
+
if (this.expanded !== undefined)
|
|
43
|
+
this.internalExpanded = this.expanded;
|
|
636
44
|
}
|
|
637
45
|
componentWillLoad() {
|
|
638
|
-
this.internalExpanded = this.expanded
|
|
46
|
+
this.internalExpanded = this.expanded ?? this.defaultExpanded;
|
|
47
|
+
this.updateStructuralLevel();
|
|
639
48
|
}
|
|
640
|
-
|
|
49
|
+
connectedCallback() {
|
|
641
50
|
this.host.addEventListener('ui-tree-auto-expand', this.onAutoExpand);
|
|
51
|
+
this.host.addEventListener('ui-tree-structure-sync', this.updateStructuralLevel);
|
|
52
|
+
this.host.addEventListener('ui-tree-roving-tab-stop', this.onRovingTabStop);
|
|
53
|
+
this.host.addEventListener('ui-tree-request-expanded', this.onExpansionRequest);
|
|
642
54
|
}
|
|
643
55
|
disconnectedCallback() {
|
|
644
56
|
this.host.removeEventListener('ui-tree-auto-expand', this.onAutoExpand);
|
|
57
|
+
this.host.removeEventListener('ui-tree-structure-sync', this.updateStructuralLevel);
|
|
58
|
+
this.host.removeEventListener('ui-tree-roving-tab-stop', this.onRovingTabStop);
|
|
59
|
+
this.host.removeEventListener('ui-tree-request-expanded', this.onExpansionRequest);
|
|
645
60
|
}
|
|
61
|
+
updateStructuralLevel = () => {
|
|
62
|
+
const tree = this.host.closest('ui-tree');
|
|
63
|
+
let ancestor = this.host.parentElement?.closest('ui-tree-item') ?? null;
|
|
64
|
+
let level = 1;
|
|
65
|
+
while (ancestor && tree?.contains(ancestor)) {
|
|
66
|
+
level += 1;
|
|
67
|
+
ancestor = ancestor.parentElement?.closest('ui-tree-item') ?? null;
|
|
68
|
+
}
|
|
69
|
+
if (this.structuralLevel !== level)
|
|
70
|
+
this.structuralLevel = level;
|
|
71
|
+
};
|
|
646
72
|
setExpanded(expanded, trigger) {
|
|
647
|
-
|
|
73
|
+
const current = this.isExpanded();
|
|
74
|
+
if (!this.container || this.disabled || current === expanded)
|
|
648
75
|
return;
|
|
649
|
-
this.
|
|
76
|
+
if (this.expanded === undefined)
|
|
77
|
+
this.internalExpanded = expanded;
|
|
650
78
|
dispatchDetail(this.host, 'expand', { id: this.itemId, expanded, trigger });
|
|
79
|
+
this.host.dispatchEvent(new CustomEvent('ui-tree-expansion-change'));
|
|
80
|
+
}
|
|
81
|
+
isExpanded() {
|
|
82
|
+
return this.expanded ?? this.internalExpanded;
|
|
651
83
|
}
|
|
652
84
|
onAutoExpand = () => {
|
|
653
85
|
this.setExpanded(true, 'pointer');
|
|
654
86
|
};
|
|
87
|
+
onRovingTabStop = (event) => {
|
|
88
|
+
this.tabStop = Boolean(event.detail?.active) && !this.disabled;
|
|
89
|
+
};
|
|
90
|
+
onExpansionRequest = (event) => {
|
|
91
|
+
const detail = event.detail;
|
|
92
|
+
if (typeof detail?.expanded === 'boolean')
|
|
93
|
+
this.setExpanded(detail.expanded, detail.trigger ?? 'keyboard');
|
|
94
|
+
};
|
|
655
95
|
onDisclosureClick = (event) => {
|
|
656
96
|
event.stopPropagation();
|
|
657
|
-
this.setExpanded(!this.
|
|
97
|
+
this.setExpanded(!this.isExpanded(), eventToTrigger(event));
|
|
658
98
|
};
|
|
659
99
|
onDisclosureKeydown = (event) => {
|
|
660
100
|
if (event.key !== 'ArrowRight' && event.key !== 'ArrowLeft')
|
|
@@ -670,16 +110,17 @@ const UITreeItem = class {
|
|
|
670
110
|
const interactive = path.some((node) => node instanceof HTMLElement && (node.matches('a, button, input, select, textarea, [role="button"], [role="link"]')
|
|
671
111
|
|| node.getAttribute('slot') === 'actions'));
|
|
672
112
|
if (!interactive)
|
|
673
|
-
this.setExpanded(!this.
|
|
113
|
+
this.setExpanded(!this.isExpanded(), eventToTrigger(event));
|
|
674
114
|
};
|
|
675
115
|
render() {
|
|
676
|
-
const level =
|
|
677
|
-
const
|
|
116
|
+
const level = this.structuralLevel;
|
|
117
|
+
const expanded = this.isExpanded();
|
|
118
|
+
const disclosureLabel = `${expanded ? 'Collapse' : 'Expand'} ${this.label || 'item'}`;
|
|
678
119
|
const dragLabel = `Drag ${this.label || 'item'} to reorder`;
|
|
679
|
-
return (h(Host, { key: '
|
|
120
|
+
return (h(Host, { key: '36ad9eac3e0fe2a606e63294891b1c0697034b46', 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: {
|
|
680
121
|
'--ui-tree-item-depth': String(level - 1),
|
|
681
122
|
'margin-inline-start': level > 1 ? 'var(--ui-tree-indent, 16px)' : '0px',
|
|
682
|
-
} }, h("div", { key: '
|
|
123
|
+
} }, h("div", { key: 'e92f5bc73accef3b348559ea144e0b769c98c721', class: "row", part: "row", onClick: this.onRowClick }, this.sortable && !this.disabled ? (h("button", { class: "drag-handle", part: "drag-handle", type: "button", draggable: true, "aria-label": dragLabel, title: dragLabel }, h("span", { innerHTML: loomaIconMarkup('grip-vertical') }))) : null, this.container ? (h("button", { class: "disclosure", part: "disclosure", type: "button", "aria-label": disclosureLabel, "aria-expanded": String(expanded), disabled: this.disabled, onClick: this.onDisclosureClick, onKeyDown: this.onDisclosureKeydown }, h("span", { class: { 'disclosure-icon': true, 'disclosure-icon--expanded': expanded }, innerHTML: loomaIconMarkup('chevron-down') }))) : h("span", { class: "disclosure-spacer", "aria-hidden": "true" }), h("span", { key: 'dd2d0550d6846d0a4f80a4108968bfc32c18658f', class: "leading", part: "leading" }, h("slot", { key: '622d449a338dce57bc2e64aaf776471e8d3ce1b4', name: "leading" })), h("span", { key: '29c3e6ace4838ab941ada2547356288358faaeb2', class: "label", part: "label" }, h("slot", { key: 'f1594c11fa0b9fbe8a3c20df6edce19421cab148' })), h("span", { key: 'e4a6408f86b58a325145e713d116fc09322bb0d3', class: "actions", part: "actions" }, h("slot", { key: 'ff3afaf1089426e19ee1fc39c6567c3d40ca4272', name: "actions" })), h("span", { key: 'efcf23f7aad6c4353fa24bfe2a81001122335f72', class: "drop-indicator row-drop-indicator", part: "drop-indicator", "aria-hidden": "true" })), this.container ? (h("div", { class: "children", part: "children", role: "group", hidden: !expanded }, h("slot", { name: "children" }))) : null, h("span", { key: '21bfc8a6ad6e487cd044b5a3cbd7e8f900f2d1e1', class: "drop-indicator subtree-drop-indicator", part: "drop-indicator", "aria-hidden": "true" })));
|
|
683
124
|
}
|
|
684
125
|
static get watchers() { return {
|
|
685
126
|
"expanded": [{
|