@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
|
@@ -5,7 +5,11 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
import { CalloutTone } from "./components/ui-callout/ui-callout";
|
|
9
|
+
import { ComboboxChange, ComboboxConfig, ComboboxOption, ComboboxValidationState } from "./field/combobox";
|
|
8
10
|
import { AnchoredPlacement } from "./overlay/positioning";
|
|
11
|
+
export { CalloutTone } from "./components/ui-callout/ui-callout";
|
|
12
|
+
export { ComboboxChange, ComboboxConfig, ComboboxOption, ComboboxValidationState } from "./field/combobox";
|
|
9
13
|
export { AnchoredPlacement } from "./overlay/positioning";
|
|
10
14
|
export namespace Components {
|
|
11
15
|
interface UiAffordanceScope {
|
|
@@ -58,11 +62,20 @@ export namespace Components {
|
|
|
58
62
|
*/
|
|
59
63
|
"variant": 'outline' | 'solid' | 'destructive' | 'ghost';
|
|
60
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* A static semantic message with a tone-specific icon.
|
|
67
|
+
*/
|
|
68
|
+
interface UiCallout {
|
|
69
|
+
/**
|
|
70
|
+
* @default 'info'
|
|
71
|
+
*/
|
|
72
|
+
"tone": CalloutTone;
|
|
73
|
+
}
|
|
61
74
|
interface UiCheckbox {
|
|
62
75
|
/**
|
|
63
|
-
*
|
|
76
|
+
* Controlled checked state. Omit it to use defaultChecked and local interaction state.
|
|
64
77
|
*/
|
|
65
|
-
"checked"
|
|
78
|
+
"checked"?: boolean;
|
|
66
79
|
/**
|
|
67
80
|
* @default false
|
|
68
81
|
*/
|
|
@@ -84,6 +97,85 @@ export namespace Components {
|
|
|
84
97
|
*/
|
|
85
98
|
"value": string;
|
|
86
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* A compact, non-interactive metadata label.
|
|
102
|
+
*/
|
|
103
|
+
interface UiChip {
|
|
104
|
+
/**
|
|
105
|
+
* `tag` has a square leading edge and an angled trailing edge; `pill` is fully rounded.
|
|
106
|
+
* @default 'tag'
|
|
107
|
+
*/
|
|
108
|
+
"appearance": 'tag' | 'pill';
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* A single editable field with contextual suggestions, optional help and field validation.
|
|
112
|
+
*/
|
|
113
|
+
interface UiCombobox {
|
|
114
|
+
/**
|
|
115
|
+
* @default false
|
|
116
|
+
*/
|
|
117
|
+
"clearable": boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Immutable configuration; replace the object/context when dependencies change.
|
|
120
|
+
* @default {}
|
|
121
|
+
*/
|
|
122
|
+
"config": ComboboxConfig;
|
|
123
|
+
/**
|
|
124
|
+
* @default ''
|
|
125
|
+
*/
|
|
126
|
+
"defaultQuery": string;
|
|
127
|
+
"defaultValue"?: string;
|
|
128
|
+
/**
|
|
129
|
+
* @default false
|
|
130
|
+
*/
|
|
131
|
+
"disabled": boolean;
|
|
132
|
+
/**
|
|
133
|
+
* @default false
|
|
134
|
+
*/
|
|
135
|
+
"disclosure": boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Optional description shown by the connected question-mark button.
|
|
138
|
+
* @default ''
|
|
139
|
+
*/
|
|
140
|
+
"help": string;
|
|
141
|
+
/**
|
|
142
|
+
* Accessible visible label, associated with the native text input.
|
|
143
|
+
* @default ''
|
|
144
|
+
*/
|
|
145
|
+
"label": string;
|
|
146
|
+
/**
|
|
147
|
+
* @default ''
|
|
148
|
+
*/
|
|
149
|
+
"name": string;
|
|
150
|
+
/**
|
|
151
|
+
* @default ''
|
|
152
|
+
*/
|
|
153
|
+
"placeholder": string;
|
|
154
|
+
/**
|
|
155
|
+
* Controlled raw editing text; independent of canonical selection.
|
|
156
|
+
*/
|
|
157
|
+
"query"?: string;
|
|
158
|
+
/**
|
|
159
|
+
* @default false
|
|
160
|
+
*/
|
|
161
|
+
"readOnly": boolean;
|
|
162
|
+
/**
|
|
163
|
+
* @default false
|
|
164
|
+
*/
|
|
165
|
+
"required": boolean;
|
|
166
|
+
/**
|
|
167
|
+
* @default 'md'
|
|
168
|
+
*/
|
|
169
|
+
"size": 'sm' | 'md';
|
|
170
|
+
/**
|
|
171
|
+
* Validate for submission. Caller submits only non-pending, non-error output.
|
|
172
|
+
*/
|
|
173
|
+
"validate": () => Promise<ComboboxValidationState>;
|
|
174
|
+
/**
|
|
175
|
+
* Controlled canonical value. Undefined selects uncontrolled mode; null means no selection.
|
|
176
|
+
*/
|
|
177
|
+
"value"?: string | null;
|
|
178
|
+
}
|
|
87
179
|
interface UiContextMenu {
|
|
88
180
|
/**
|
|
89
181
|
* Opens the menu on first client render.
|
|
@@ -118,9 +210,9 @@ export namespace Components {
|
|
|
118
210
|
*/
|
|
119
211
|
"modal": boolean;
|
|
120
212
|
/**
|
|
121
|
-
*
|
|
213
|
+
* Controlled open state. Omit it to use defaultOpen and local interaction state.
|
|
122
214
|
*/
|
|
123
|
-
"open"
|
|
215
|
+
"open"?: boolean;
|
|
124
216
|
}
|
|
125
217
|
interface UiDisclosure {
|
|
126
218
|
/**
|
|
@@ -132,9 +224,9 @@ export namespace Components {
|
|
|
132
224
|
*/
|
|
133
225
|
"disabled": boolean;
|
|
134
226
|
/**
|
|
135
|
-
*
|
|
227
|
+
* Controlled open state. Omit it to use defaultOpen and local interaction state.
|
|
136
228
|
*/
|
|
137
|
-
"open"
|
|
229
|
+
"open"?: boolean;
|
|
138
230
|
}
|
|
139
231
|
interface UiFloatingActionButton {
|
|
140
232
|
/**
|
|
@@ -204,10 +296,7 @@ export namespace Components {
|
|
|
204
296
|
* @default false
|
|
205
297
|
*/
|
|
206
298
|
"readOnly": boolean;
|
|
207
|
-
|
|
208
|
-
* @default ''
|
|
209
|
-
*/
|
|
210
|
-
"value": string;
|
|
299
|
+
"value"?: string;
|
|
211
300
|
}
|
|
212
301
|
interface UiMenu {
|
|
213
302
|
/**
|
|
@@ -219,9 +308,9 @@ export namespace Components {
|
|
|
219
308
|
*/
|
|
220
309
|
"for"?: string;
|
|
221
310
|
/**
|
|
222
|
-
*
|
|
311
|
+
* Controlled open state. Omit it to use defaultOpen and local interaction state.
|
|
223
312
|
*/
|
|
224
|
-
"open"
|
|
313
|
+
"open"?: boolean;
|
|
225
314
|
/**
|
|
226
315
|
* Preferred placement; Looma flips and shifts when space is constrained.
|
|
227
316
|
* @default 'bottom-start'
|
|
@@ -248,9 +337,9 @@ export namespace Components {
|
|
|
248
337
|
*/
|
|
249
338
|
"for"?: string;
|
|
250
339
|
/**
|
|
251
|
-
*
|
|
340
|
+
* Controlled open state. Omit it to use defaultOpen and local interaction state.
|
|
252
341
|
*/
|
|
253
|
-
"open"
|
|
342
|
+
"open"?: boolean;
|
|
254
343
|
/**
|
|
255
344
|
* @default 'bottom-start'
|
|
256
345
|
*/
|
|
@@ -258,9 +347,9 @@ export namespace Components {
|
|
|
258
347
|
}
|
|
259
348
|
interface UiRadio {
|
|
260
349
|
/**
|
|
261
|
-
*
|
|
350
|
+
* Controlled checked state. Omit it to use defaultChecked and local interaction state.
|
|
262
351
|
*/
|
|
263
|
-
"checked"
|
|
352
|
+
"checked"?: boolean;
|
|
264
353
|
/**
|
|
265
354
|
* @default false
|
|
266
355
|
*/
|
|
@@ -317,10 +406,7 @@ export namespace Components {
|
|
|
317
406
|
interface UiSearchShell {
|
|
318
407
|
}
|
|
319
408
|
interface UiSelect {
|
|
320
|
-
|
|
321
|
-
* @default ''
|
|
322
|
-
*/
|
|
323
|
-
"defaultValue": string;
|
|
409
|
+
"defaultValue"?: string;
|
|
324
410
|
/**
|
|
325
411
|
* @default false
|
|
326
412
|
*/
|
|
@@ -333,16 +419,13 @@ export namespace Components {
|
|
|
333
419
|
* @default false
|
|
334
420
|
*/
|
|
335
421
|
"required": boolean;
|
|
336
|
-
|
|
337
|
-
* @default ''
|
|
338
|
-
*/
|
|
339
|
-
"value": string;
|
|
422
|
+
"value"?: string;
|
|
340
423
|
}
|
|
341
424
|
interface UiSwitch {
|
|
342
425
|
/**
|
|
343
|
-
*
|
|
426
|
+
* Controlled checked state. Omit it to use defaultChecked and local interaction state.
|
|
344
427
|
*/
|
|
345
|
-
"checked"
|
|
428
|
+
"checked"?: boolean;
|
|
346
429
|
/**
|
|
347
430
|
* @default false
|
|
348
431
|
*/
|
|
@@ -370,9 +453,9 @@ export namespace Components {
|
|
|
370
453
|
*/
|
|
371
454
|
"orientation": 'horizontal' | 'vertical';
|
|
372
455
|
/**
|
|
373
|
-
*
|
|
456
|
+
* Controlled selected tab value. Omit it to use defaultValue and local interaction state.
|
|
374
457
|
*/
|
|
375
|
-
"value"
|
|
458
|
+
"value"?: string;
|
|
376
459
|
}
|
|
377
460
|
interface UiTextarea {
|
|
378
461
|
/**
|
|
@@ -395,10 +478,7 @@ export namespace Components {
|
|
|
395
478
|
* @default 4
|
|
396
479
|
*/
|
|
397
480
|
"rows": number;
|
|
398
|
-
|
|
399
|
-
* @default ''
|
|
400
|
-
*/
|
|
401
|
-
"value": string;
|
|
481
|
+
"value"?: string;
|
|
402
482
|
}
|
|
403
483
|
interface UiToastRegion {
|
|
404
484
|
/**
|
|
@@ -421,9 +501,9 @@ export namespace Components {
|
|
|
421
501
|
*/
|
|
422
502
|
"hideDelay": number;
|
|
423
503
|
/**
|
|
424
|
-
*
|
|
504
|
+
* Controlled open state. Omit it to use defaultOpen and local interaction state.
|
|
425
505
|
*/
|
|
426
|
-
"open"
|
|
506
|
+
"open"?: boolean;
|
|
427
507
|
/**
|
|
428
508
|
* @default 'top-start'
|
|
429
509
|
*/
|
|
@@ -433,6 +513,11 @@ export namespace Components {
|
|
|
433
513
|
* @default 500
|
|
434
514
|
*/
|
|
435
515
|
"showDelay": number;
|
|
516
|
+
/**
|
|
517
|
+
* Click or tap pins the description; activate again to dismiss.
|
|
518
|
+
* @default false
|
|
519
|
+
*/
|
|
520
|
+
"toggleOnClick": boolean;
|
|
436
521
|
}
|
|
437
522
|
interface UiTopBar {
|
|
438
523
|
}
|
|
@@ -445,6 +530,11 @@ export namespace Components {
|
|
|
445
530
|
* @default 'Tree'
|
|
446
531
|
*/
|
|
447
532
|
"label": string;
|
|
533
|
+
/**
|
|
534
|
+
* Maximum resulting item depth accepted by pointer reordering. Zero is unlimited.
|
|
535
|
+
* @default 0
|
|
536
|
+
*/
|
|
537
|
+
"maxDepth": number;
|
|
448
538
|
}
|
|
449
539
|
interface UiTreeItem {
|
|
450
540
|
/**
|
|
@@ -462,11 +552,6 @@ export namespace Components {
|
|
|
462
552
|
* @default false
|
|
463
553
|
*/
|
|
464
554
|
"defaultExpanded": boolean;
|
|
465
|
-
/**
|
|
466
|
-
* One-based visual and semantic nesting level.
|
|
467
|
-
* @default 1
|
|
468
|
-
*/
|
|
469
|
-
"depth": number;
|
|
470
555
|
/**
|
|
471
556
|
* @default false
|
|
472
557
|
*/
|
|
@@ -476,16 +561,19 @@ export namespace Components {
|
|
|
476
561
|
* @default 'item'
|
|
477
562
|
*/
|
|
478
563
|
"dragType": string;
|
|
564
|
+
/**
|
|
565
|
+
* Application hierarchy depth override used for drop constraints. Defaults to structural nesting.
|
|
566
|
+
*/
|
|
567
|
+
"dropDepth"?: number;
|
|
479
568
|
/**
|
|
480
569
|
* Application-defined parent/list identity included with reorder events.
|
|
481
570
|
* @default ''
|
|
482
571
|
*/
|
|
483
572
|
"dropScope": string;
|
|
484
573
|
/**
|
|
485
|
-
*
|
|
486
|
-
* @default false
|
|
574
|
+
* Controlled expansion value. When omitted, `default-expanded` initializes uncontrolled state.
|
|
487
575
|
*/
|
|
488
|
-
"expanded"
|
|
576
|
+
"expanded"?: boolean;
|
|
489
577
|
/**
|
|
490
578
|
* Stable application identifier emitted by tree interaction events.
|
|
491
579
|
* @default ''
|
|
@@ -505,8 +593,20 @@ export namespace Components {
|
|
|
505
593
|
* @default false
|
|
506
594
|
*/
|
|
507
595
|
"sortable": boolean;
|
|
596
|
+
/**
|
|
597
|
+
* Virtualized-tree descendant-depth override for the tree's max-depth drop constraint.
|
|
598
|
+
*/
|
|
599
|
+
"subtreeDepth"?: number;
|
|
508
600
|
}
|
|
509
601
|
}
|
|
602
|
+
export interface UiComboboxCustomEvent<T> extends CustomEvent<T> {
|
|
603
|
+
detail: T;
|
|
604
|
+
target: HTMLUiComboboxElement;
|
|
605
|
+
}
|
|
606
|
+
export interface UiTooltipCustomEvent<T> extends CustomEvent<T> {
|
|
607
|
+
detail: T;
|
|
608
|
+
target: HTMLUiTooltipElement;
|
|
609
|
+
}
|
|
510
610
|
declare global {
|
|
511
611
|
interface HTMLUiAffordanceScopeElement extends Components.UiAffordanceScope, HTMLStencilElement {
|
|
512
612
|
}
|
|
@@ -538,12 +638,56 @@ declare global {
|
|
|
538
638
|
prototype: HTMLUiButtonElement;
|
|
539
639
|
new (): HTMLUiButtonElement;
|
|
540
640
|
};
|
|
641
|
+
/**
|
|
642
|
+
* A static semantic message with a tone-specific icon.
|
|
643
|
+
*/
|
|
644
|
+
interface HTMLUiCalloutElement extends Components.UiCallout, HTMLStencilElement {
|
|
645
|
+
}
|
|
646
|
+
var HTMLUiCalloutElement: {
|
|
647
|
+
prototype: HTMLUiCalloutElement;
|
|
648
|
+
new (): HTMLUiCalloutElement;
|
|
649
|
+
};
|
|
541
650
|
interface HTMLUiCheckboxElement extends Components.UiCheckbox, HTMLStencilElement {
|
|
542
651
|
}
|
|
543
652
|
var HTMLUiCheckboxElement: {
|
|
544
653
|
prototype: HTMLUiCheckboxElement;
|
|
545
654
|
new (): HTMLUiCheckboxElement;
|
|
546
655
|
};
|
|
656
|
+
/**
|
|
657
|
+
* A compact, non-interactive metadata label.
|
|
658
|
+
*/
|
|
659
|
+
interface HTMLUiChipElement extends Components.UiChip, HTMLStencilElement {
|
|
660
|
+
}
|
|
661
|
+
var HTMLUiChipElement: {
|
|
662
|
+
prototype: HTMLUiChipElement;
|
|
663
|
+
new (): HTMLUiChipElement;
|
|
664
|
+
};
|
|
665
|
+
interface HTMLUiComboboxElementEventMap {
|
|
666
|
+
"query-change": { query: string; display: string; trigger: 'keyboard' | 'pointer' | 'programmatic' };
|
|
667
|
+
"value-change": ComboboxChange;
|
|
668
|
+
"free-entry": ComboboxChange;
|
|
669
|
+
"create-entry": ComboboxChange;
|
|
670
|
+
"dependency-invalidate": ComboboxChange;
|
|
671
|
+
"validation-change": ComboboxValidationState;
|
|
672
|
+
"options-change": readonly ComboboxOption[];
|
|
673
|
+
}
|
|
674
|
+
/**
|
|
675
|
+
* A single editable field with contextual suggestions, optional help and field validation.
|
|
676
|
+
*/
|
|
677
|
+
interface HTMLUiComboboxElement extends Components.UiCombobox, HTMLStencilElement {
|
|
678
|
+
addEventListener<K extends keyof HTMLUiComboboxElementEventMap>(type: K, listener: (this: HTMLUiComboboxElement, ev: UiComboboxCustomEvent<HTMLUiComboboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
679
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
680
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
681
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
682
|
+
removeEventListener<K extends keyof HTMLUiComboboxElementEventMap>(type: K, listener: (this: HTMLUiComboboxElement, ev: UiComboboxCustomEvent<HTMLUiComboboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
683
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
684
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
685
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
686
|
+
}
|
|
687
|
+
var HTMLUiComboboxElement: {
|
|
688
|
+
prototype: HTMLUiComboboxElement;
|
|
689
|
+
new (): HTMLUiComboboxElement;
|
|
690
|
+
};
|
|
547
691
|
interface HTMLUiContextMenuElement extends Components.UiContextMenu, HTMLStencilElement {
|
|
548
692
|
}
|
|
549
693
|
var HTMLUiContextMenuElement: {
|
|
@@ -658,7 +802,19 @@ declare global {
|
|
|
658
802
|
prototype: HTMLUiToastRegionElement;
|
|
659
803
|
new (): HTMLUiToastRegionElement;
|
|
660
804
|
};
|
|
805
|
+
interface HTMLUiTooltipElementEventMap {
|
|
806
|
+
"open": { open: boolean; reason: string; trigger: string };
|
|
807
|
+
"close": { open: boolean; reason: string; trigger: string };
|
|
808
|
+
}
|
|
661
809
|
interface HTMLUiTooltipElement extends Components.UiTooltip, HTMLStencilElement {
|
|
810
|
+
addEventListener<K extends keyof HTMLUiTooltipElementEventMap>(type: K, listener: (this: HTMLUiTooltipElement, ev: UiTooltipCustomEvent<HTMLUiTooltipElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
811
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
812
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
813
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
814
|
+
removeEventListener<K extends keyof HTMLUiTooltipElementEventMap>(type: K, listener: (this: HTMLUiTooltipElement, ev: UiTooltipCustomEvent<HTMLUiTooltipElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
815
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
816
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
817
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
662
818
|
}
|
|
663
819
|
var HTMLUiTooltipElement: {
|
|
664
820
|
prototype: HTMLUiTooltipElement;
|
|
@@ -688,7 +844,10 @@ declare global {
|
|
|
688
844
|
"ui-avatar-group": HTMLUiAvatarGroupElement;
|
|
689
845
|
"ui-badge": HTMLUiBadgeElement;
|
|
690
846
|
"ui-button": HTMLUiButtonElement;
|
|
847
|
+
"ui-callout": HTMLUiCalloutElement;
|
|
691
848
|
"ui-checkbox": HTMLUiCheckboxElement;
|
|
849
|
+
"ui-chip": HTMLUiChipElement;
|
|
850
|
+
"ui-combobox": HTMLUiComboboxElement;
|
|
692
851
|
"ui-context-menu": HTMLUiContextMenuElement;
|
|
693
852
|
"ui-dialog": HTMLUiDialogElement;
|
|
694
853
|
"ui-disclosure": HTMLUiDisclosureElement;
|
|
@@ -765,9 +924,18 @@ declare namespace LocalJSX {
|
|
|
765
924
|
*/
|
|
766
925
|
"variant"?: 'outline' | 'solid' | 'destructive' | 'ghost';
|
|
767
926
|
}
|
|
927
|
+
/**
|
|
928
|
+
* A static semantic message with a tone-specific icon.
|
|
929
|
+
*/
|
|
930
|
+
interface UiCallout {
|
|
931
|
+
/**
|
|
932
|
+
* @default 'info'
|
|
933
|
+
*/
|
|
934
|
+
"tone"?: CalloutTone;
|
|
935
|
+
}
|
|
768
936
|
interface UiCheckbox {
|
|
769
937
|
/**
|
|
770
|
-
*
|
|
938
|
+
* Controlled checked state. Omit it to use defaultChecked and local interaction state.
|
|
771
939
|
*/
|
|
772
940
|
"checked"?: boolean;
|
|
773
941
|
/**
|
|
@@ -791,6 +959,91 @@ declare namespace LocalJSX {
|
|
|
791
959
|
*/
|
|
792
960
|
"value"?: string;
|
|
793
961
|
}
|
|
962
|
+
/**
|
|
963
|
+
* A compact, non-interactive metadata label.
|
|
964
|
+
*/
|
|
965
|
+
interface UiChip {
|
|
966
|
+
/**
|
|
967
|
+
* `tag` has a square leading edge and an angled trailing edge; `pill` is fully rounded.
|
|
968
|
+
* @default 'tag'
|
|
969
|
+
*/
|
|
970
|
+
"appearance"?: 'tag' | 'pill';
|
|
971
|
+
}
|
|
972
|
+
/**
|
|
973
|
+
* A single editable field with contextual suggestions, optional help and field validation.
|
|
974
|
+
*/
|
|
975
|
+
interface UiCombobox {
|
|
976
|
+
/**
|
|
977
|
+
* @default false
|
|
978
|
+
*/
|
|
979
|
+
"clearable"?: boolean;
|
|
980
|
+
/**
|
|
981
|
+
* Immutable configuration; replace the object/context when dependencies change.
|
|
982
|
+
* @default {}
|
|
983
|
+
*/
|
|
984
|
+
"config"?: ComboboxConfig;
|
|
985
|
+
/**
|
|
986
|
+
* @default ''
|
|
987
|
+
*/
|
|
988
|
+
"defaultQuery"?: string;
|
|
989
|
+
"defaultValue"?: string;
|
|
990
|
+
/**
|
|
991
|
+
* @default false
|
|
992
|
+
*/
|
|
993
|
+
"disabled"?: boolean;
|
|
994
|
+
/**
|
|
995
|
+
* @default false
|
|
996
|
+
*/
|
|
997
|
+
"disclosure"?: boolean;
|
|
998
|
+
/**
|
|
999
|
+
* Optional description shown by the connected question-mark button.
|
|
1000
|
+
* @default ''
|
|
1001
|
+
*/
|
|
1002
|
+
"help"?: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* Accessible visible label, associated with the native text input.
|
|
1005
|
+
* @default ''
|
|
1006
|
+
*/
|
|
1007
|
+
"label"?: string;
|
|
1008
|
+
/**
|
|
1009
|
+
* @default ''
|
|
1010
|
+
*/
|
|
1011
|
+
"name"?: string;
|
|
1012
|
+
"onCreate-entry"?: (event: UiComboboxCustomEvent<ComboboxChange>) => void;
|
|
1013
|
+
"onDependency-invalidate"?: (event: UiComboboxCustomEvent<ComboboxChange>) => void;
|
|
1014
|
+
"onFree-entry"?: (event: UiComboboxCustomEvent<ComboboxChange>) => void;
|
|
1015
|
+
/**
|
|
1016
|
+
* Supplies the current result rows for framework-owned rich slots.
|
|
1017
|
+
*/
|
|
1018
|
+
"onOptions-change"?: (event: UiComboboxCustomEvent<readonly ComboboxOption[]>) => void;
|
|
1019
|
+
"onQuery-change"?: (event: UiComboboxCustomEvent<{ query: string; display: string; trigger: 'keyboard' | 'pointer' | 'programmatic' }>) => void;
|
|
1020
|
+
"onValidation-change"?: (event: UiComboboxCustomEvent<ComboboxValidationState>) => void;
|
|
1021
|
+
"onValue-change"?: (event: UiComboboxCustomEvent<ComboboxChange>) => void;
|
|
1022
|
+
/**
|
|
1023
|
+
* @default ''
|
|
1024
|
+
*/
|
|
1025
|
+
"placeholder"?: string;
|
|
1026
|
+
/**
|
|
1027
|
+
* Controlled raw editing text; independent of canonical selection.
|
|
1028
|
+
*/
|
|
1029
|
+
"query"?: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* @default false
|
|
1032
|
+
*/
|
|
1033
|
+
"readOnly"?: boolean;
|
|
1034
|
+
/**
|
|
1035
|
+
* @default false
|
|
1036
|
+
*/
|
|
1037
|
+
"required"?: boolean;
|
|
1038
|
+
/**
|
|
1039
|
+
* @default 'md'
|
|
1040
|
+
*/
|
|
1041
|
+
"size"?: 'sm' | 'md';
|
|
1042
|
+
/**
|
|
1043
|
+
* Controlled canonical value. Undefined selects uncontrolled mode; null means no selection.
|
|
1044
|
+
*/
|
|
1045
|
+
"value"?: string | null;
|
|
1046
|
+
}
|
|
794
1047
|
interface UiContextMenu {
|
|
795
1048
|
/**
|
|
796
1049
|
* Opens the menu on first client render.
|
|
@@ -825,7 +1078,7 @@ declare namespace LocalJSX {
|
|
|
825
1078
|
*/
|
|
826
1079
|
"modal"?: boolean;
|
|
827
1080
|
/**
|
|
828
|
-
*
|
|
1081
|
+
* Controlled open state. Omit it to use defaultOpen and local interaction state.
|
|
829
1082
|
*/
|
|
830
1083
|
"open"?: boolean;
|
|
831
1084
|
}
|
|
@@ -839,7 +1092,7 @@ declare namespace LocalJSX {
|
|
|
839
1092
|
*/
|
|
840
1093
|
"disabled"?: boolean;
|
|
841
1094
|
/**
|
|
842
|
-
*
|
|
1095
|
+
* Controlled open state. Omit it to use defaultOpen and local interaction state.
|
|
843
1096
|
*/
|
|
844
1097
|
"open"?: boolean;
|
|
845
1098
|
}
|
|
@@ -911,9 +1164,6 @@ declare namespace LocalJSX {
|
|
|
911
1164
|
* @default false
|
|
912
1165
|
*/
|
|
913
1166
|
"readOnly"?: boolean;
|
|
914
|
-
/**
|
|
915
|
-
* @default ''
|
|
916
|
-
*/
|
|
917
1167
|
"value"?: string;
|
|
918
1168
|
}
|
|
919
1169
|
interface UiMenu {
|
|
@@ -926,7 +1176,7 @@ declare namespace LocalJSX {
|
|
|
926
1176
|
*/
|
|
927
1177
|
"for"?: string;
|
|
928
1178
|
/**
|
|
929
|
-
*
|
|
1179
|
+
* Controlled open state. Omit it to use defaultOpen and local interaction state.
|
|
930
1180
|
*/
|
|
931
1181
|
"open"?: boolean;
|
|
932
1182
|
/**
|
|
@@ -955,7 +1205,7 @@ declare namespace LocalJSX {
|
|
|
955
1205
|
*/
|
|
956
1206
|
"for"?: string;
|
|
957
1207
|
/**
|
|
958
|
-
*
|
|
1208
|
+
* Controlled open state. Omit it to use defaultOpen and local interaction state.
|
|
959
1209
|
*/
|
|
960
1210
|
"open"?: boolean;
|
|
961
1211
|
/**
|
|
@@ -965,7 +1215,7 @@ declare namespace LocalJSX {
|
|
|
965
1215
|
}
|
|
966
1216
|
interface UiRadio {
|
|
967
1217
|
/**
|
|
968
|
-
*
|
|
1218
|
+
* Controlled checked state. Omit it to use defaultChecked and local interaction state.
|
|
969
1219
|
*/
|
|
970
1220
|
"checked"?: boolean;
|
|
971
1221
|
/**
|
|
@@ -1024,9 +1274,6 @@ declare namespace LocalJSX {
|
|
|
1024
1274
|
interface UiSearchShell {
|
|
1025
1275
|
}
|
|
1026
1276
|
interface UiSelect {
|
|
1027
|
-
/**
|
|
1028
|
-
* @default ''
|
|
1029
|
-
*/
|
|
1030
1277
|
"defaultValue"?: string;
|
|
1031
1278
|
/**
|
|
1032
1279
|
* @default false
|
|
@@ -1040,14 +1287,11 @@ declare namespace LocalJSX {
|
|
|
1040
1287
|
* @default false
|
|
1041
1288
|
*/
|
|
1042
1289
|
"required"?: boolean;
|
|
1043
|
-
/**
|
|
1044
|
-
* @default ''
|
|
1045
|
-
*/
|
|
1046
1290
|
"value"?: string;
|
|
1047
1291
|
}
|
|
1048
1292
|
interface UiSwitch {
|
|
1049
1293
|
/**
|
|
1050
|
-
*
|
|
1294
|
+
* Controlled checked state. Omit it to use defaultChecked and local interaction state.
|
|
1051
1295
|
*/
|
|
1052
1296
|
"checked"?: boolean;
|
|
1053
1297
|
/**
|
|
@@ -1077,7 +1321,7 @@ declare namespace LocalJSX {
|
|
|
1077
1321
|
*/
|
|
1078
1322
|
"orientation"?: 'horizontal' | 'vertical';
|
|
1079
1323
|
/**
|
|
1080
|
-
*
|
|
1324
|
+
* Controlled selected tab value. Omit it to use defaultValue and local interaction state.
|
|
1081
1325
|
*/
|
|
1082
1326
|
"value"?: string;
|
|
1083
1327
|
}
|
|
@@ -1102,9 +1346,6 @@ declare namespace LocalJSX {
|
|
|
1102
1346
|
* @default 4
|
|
1103
1347
|
*/
|
|
1104
1348
|
"rows"?: number;
|
|
1105
|
-
/**
|
|
1106
|
-
* @default ''
|
|
1107
|
-
*/
|
|
1108
1349
|
"value"?: string;
|
|
1109
1350
|
}
|
|
1110
1351
|
interface UiToastRegion {
|
|
@@ -1127,8 +1368,10 @@ declare namespace LocalJSX {
|
|
|
1127
1368
|
* @default 100
|
|
1128
1369
|
*/
|
|
1129
1370
|
"hideDelay"?: number;
|
|
1371
|
+
"onClose"?: (event: UiTooltipCustomEvent<{ open: boolean; reason: string; trigger: string }>) => void;
|
|
1372
|
+
"onOpen"?: (event: UiTooltipCustomEvent<{ open: boolean; reason: string; trigger: string }>) => void;
|
|
1130
1373
|
/**
|
|
1131
|
-
*
|
|
1374
|
+
* Controlled open state. Omit it to use defaultOpen and local interaction state.
|
|
1132
1375
|
*/
|
|
1133
1376
|
"open"?: boolean;
|
|
1134
1377
|
/**
|
|
@@ -1140,6 +1383,11 @@ declare namespace LocalJSX {
|
|
|
1140
1383
|
* @default 500
|
|
1141
1384
|
*/
|
|
1142
1385
|
"showDelay"?: number;
|
|
1386
|
+
/**
|
|
1387
|
+
* Click or tap pins the description; activate again to dismiss.
|
|
1388
|
+
* @default false
|
|
1389
|
+
*/
|
|
1390
|
+
"toggleOnClick"?: boolean;
|
|
1143
1391
|
}
|
|
1144
1392
|
interface UiTopBar {
|
|
1145
1393
|
}
|
|
@@ -1152,6 +1400,11 @@ declare namespace LocalJSX {
|
|
|
1152
1400
|
* @default 'Tree'
|
|
1153
1401
|
*/
|
|
1154
1402
|
"label"?: string;
|
|
1403
|
+
/**
|
|
1404
|
+
* Maximum resulting item depth accepted by pointer reordering. Zero is unlimited.
|
|
1405
|
+
* @default 0
|
|
1406
|
+
*/
|
|
1407
|
+
"maxDepth"?: number;
|
|
1155
1408
|
}
|
|
1156
1409
|
interface UiTreeItem {
|
|
1157
1410
|
/**
|
|
@@ -1169,11 +1422,6 @@ declare namespace LocalJSX {
|
|
|
1169
1422
|
* @default false
|
|
1170
1423
|
*/
|
|
1171
1424
|
"defaultExpanded"?: boolean;
|
|
1172
|
-
/**
|
|
1173
|
-
* One-based visual and semantic nesting level.
|
|
1174
|
-
* @default 1
|
|
1175
|
-
*/
|
|
1176
|
-
"depth"?: number;
|
|
1177
1425
|
/**
|
|
1178
1426
|
* @default false
|
|
1179
1427
|
*/
|
|
@@ -1183,14 +1431,17 @@ declare namespace LocalJSX {
|
|
|
1183
1431
|
* @default 'item'
|
|
1184
1432
|
*/
|
|
1185
1433
|
"dragType"?: string;
|
|
1434
|
+
/**
|
|
1435
|
+
* Application hierarchy depth override used for drop constraints. Defaults to structural nesting.
|
|
1436
|
+
*/
|
|
1437
|
+
"dropDepth"?: number;
|
|
1186
1438
|
/**
|
|
1187
1439
|
* Application-defined parent/list identity included with reorder events.
|
|
1188
1440
|
* @default ''
|
|
1189
1441
|
*/
|
|
1190
1442
|
"dropScope"?: string;
|
|
1191
1443
|
/**
|
|
1192
|
-
*
|
|
1193
|
-
* @default false
|
|
1444
|
+
* Controlled expansion value. When omitted, `default-expanded` initializes uncontrolled state.
|
|
1194
1445
|
*/
|
|
1195
1446
|
"expanded"?: boolean;
|
|
1196
1447
|
/**
|
|
@@ -1212,6 +1463,10 @@ declare namespace LocalJSX {
|
|
|
1212
1463
|
* @default false
|
|
1213
1464
|
*/
|
|
1214
1465
|
"sortable"?: boolean;
|
|
1466
|
+
/**
|
|
1467
|
+
* Virtualized-tree descendant-depth override for the tree's max-depth drop constraint.
|
|
1468
|
+
*/
|
|
1469
|
+
"subtreeDepth"?: number;
|
|
1215
1470
|
}
|
|
1216
1471
|
|
|
1217
1472
|
interface UiAffordanceScopeAttributes {
|
|
@@ -1236,6 +1491,9 @@ declare namespace LocalJSX {
|
|
|
1236
1491
|
"size": string;
|
|
1237
1492
|
"disabled": boolean;
|
|
1238
1493
|
}
|
|
1494
|
+
interface UiCalloutAttributes {
|
|
1495
|
+
"tone": CalloutTone;
|
|
1496
|
+
}
|
|
1239
1497
|
interface UiCheckboxAttributes {
|
|
1240
1498
|
"checked": boolean;
|
|
1241
1499
|
"defaultChecked": boolean;
|
|
@@ -1244,6 +1502,25 @@ declare namespace LocalJSX {
|
|
|
1244
1502
|
"required": boolean;
|
|
1245
1503
|
"value": string;
|
|
1246
1504
|
}
|
|
1505
|
+
interface UiChipAttributes {
|
|
1506
|
+
"appearance": 'tag' | 'pill';
|
|
1507
|
+
}
|
|
1508
|
+
interface UiComboboxAttributes {
|
|
1509
|
+
"label": string;
|
|
1510
|
+
"placeholder": string;
|
|
1511
|
+
"name": string;
|
|
1512
|
+
"value": string | null;
|
|
1513
|
+
"defaultValue": string;
|
|
1514
|
+
"query": string;
|
|
1515
|
+
"defaultQuery": string;
|
|
1516
|
+
"disabled": boolean;
|
|
1517
|
+
"readOnly": boolean;
|
|
1518
|
+
"required": boolean;
|
|
1519
|
+
"size": 'sm' | 'md';
|
|
1520
|
+
"disclosure": boolean;
|
|
1521
|
+
"clearable": boolean;
|
|
1522
|
+
"help": string;
|
|
1523
|
+
}
|
|
1247
1524
|
interface UiContextMenuAttributes {
|
|
1248
1525
|
"open": boolean;
|
|
1249
1526
|
"defaultOpen": boolean;
|
|
@@ -1357,15 +1634,18 @@ declare namespace LocalJSX {
|
|
|
1357
1634
|
"placement": AnchoredPlacement;
|
|
1358
1635
|
"showDelay": number;
|
|
1359
1636
|
"hideDelay": number;
|
|
1637
|
+
"toggleOnClick": boolean;
|
|
1360
1638
|
}
|
|
1361
1639
|
interface UiTreeAttributes {
|
|
1362
1640
|
"label": string;
|
|
1363
1641
|
"hoverExpandDelay": number;
|
|
1642
|
+
"maxDepth": number;
|
|
1364
1643
|
}
|
|
1365
1644
|
interface UiTreeItemAttributes {
|
|
1366
1645
|
"itemId": string;
|
|
1367
1646
|
"label": string;
|
|
1368
|
-
"
|
|
1647
|
+
"dropDepth": number;
|
|
1648
|
+
"subtreeDepth": number;
|
|
1369
1649
|
"container": boolean;
|
|
1370
1650
|
"sortable": boolean;
|
|
1371
1651
|
"dragType": string;
|
|
@@ -1383,7 +1663,10 @@ declare namespace LocalJSX {
|
|
|
1383
1663
|
"ui-avatar-group": Omit<UiAvatarGroup, keyof UiAvatarGroupAttributes> & { [K in keyof UiAvatarGroup & keyof UiAvatarGroupAttributes]?: UiAvatarGroup[K] } & { [K in keyof UiAvatarGroup & keyof UiAvatarGroupAttributes as `attr:${K}`]?: UiAvatarGroupAttributes[K] } & { [K in keyof UiAvatarGroup & keyof UiAvatarGroupAttributes as `prop:${K}`]?: UiAvatarGroup[K] };
|
|
1384
1664
|
"ui-badge": Omit<UiBadge, keyof UiBadgeAttributes> & { [K in keyof UiBadge & keyof UiBadgeAttributes]?: UiBadge[K] } & { [K in keyof UiBadge & keyof UiBadgeAttributes as `attr:${K}`]?: UiBadgeAttributes[K] } & { [K in keyof UiBadge & keyof UiBadgeAttributes as `prop:${K}`]?: UiBadge[K] };
|
|
1385
1665
|
"ui-button": Omit<UiButton, keyof UiButtonAttributes> & { [K in keyof UiButton & keyof UiButtonAttributes]?: UiButton[K] } & { [K in keyof UiButton & keyof UiButtonAttributes as `attr:${K}`]?: UiButtonAttributes[K] } & { [K in keyof UiButton & keyof UiButtonAttributes as `prop:${K}`]?: UiButton[K] };
|
|
1666
|
+
"ui-callout": Omit<UiCallout, keyof UiCalloutAttributes> & { [K in keyof UiCallout & keyof UiCalloutAttributes]?: UiCallout[K] } & { [K in keyof UiCallout & keyof UiCalloutAttributes as `attr:${K}`]?: UiCalloutAttributes[K] } & { [K in keyof UiCallout & keyof UiCalloutAttributes as `prop:${K}`]?: UiCallout[K] };
|
|
1386
1667
|
"ui-checkbox": Omit<UiCheckbox, keyof UiCheckboxAttributes> & { [K in keyof UiCheckbox & keyof UiCheckboxAttributes]?: UiCheckbox[K] } & { [K in keyof UiCheckbox & keyof UiCheckboxAttributes as `attr:${K}`]?: UiCheckboxAttributes[K] } & { [K in keyof UiCheckbox & keyof UiCheckboxAttributes as `prop:${K}`]?: UiCheckbox[K] };
|
|
1668
|
+
"ui-chip": Omit<UiChip, keyof UiChipAttributes> & { [K in keyof UiChip & keyof UiChipAttributes]?: UiChip[K] } & { [K in keyof UiChip & keyof UiChipAttributes as `attr:${K}`]?: UiChipAttributes[K] } & { [K in keyof UiChip & keyof UiChipAttributes as `prop:${K}`]?: UiChip[K] };
|
|
1669
|
+
"ui-combobox": Omit<UiCombobox, keyof UiComboboxAttributes> & { [K in keyof UiCombobox & keyof UiComboboxAttributes]?: UiCombobox[K] } & { [K in keyof UiCombobox & keyof UiComboboxAttributes as `attr:${K}`]?: UiComboboxAttributes[K] } & { [K in keyof UiCombobox & keyof UiComboboxAttributes as `prop:${K}`]?: UiCombobox[K] };
|
|
1387
1670
|
"ui-context-menu": Omit<UiContextMenu, keyof UiContextMenuAttributes> & { [K in keyof UiContextMenu & keyof UiContextMenuAttributes]?: UiContextMenu[K] } & { [K in keyof UiContextMenu & keyof UiContextMenuAttributes as `attr:${K}`]?: UiContextMenuAttributes[K] } & { [K in keyof UiContextMenu & keyof UiContextMenuAttributes as `prop:${K}`]?: UiContextMenu[K] };
|
|
1388
1671
|
"ui-dialog": Omit<UiDialog, keyof UiDialogAttributes> & { [K in keyof UiDialog & keyof UiDialogAttributes]?: UiDialog[K] } & { [K in keyof UiDialog & keyof UiDialogAttributes as `attr:${K}`]?: UiDialogAttributes[K] } & { [K in keyof UiDialog & keyof UiDialogAttributes as `prop:${K}`]?: UiDialog[K] };
|
|
1389
1672
|
"ui-disclosure": Omit<UiDisclosure, keyof UiDisclosureAttributes> & { [K in keyof UiDisclosure & keyof UiDisclosureAttributes]?: UiDisclosure[K] } & { [K in keyof UiDisclosure & keyof UiDisclosureAttributes as `attr:${K}`]?: UiDisclosureAttributes[K] } & { [K in keyof UiDisclosure & keyof UiDisclosureAttributes as `prop:${K}`]?: UiDisclosure[K] };
|
|
@@ -1418,7 +1701,19 @@ declare module "@stencil/core" {
|
|
|
1418
1701
|
"ui-avatar-group": LocalJSX.IntrinsicElements["ui-avatar-group"] & JSXBase.HTMLAttributes<HTMLUiAvatarGroupElement>;
|
|
1419
1702
|
"ui-badge": LocalJSX.IntrinsicElements["ui-badge"] & JSXBase.HTMLAttributes<HTMLUiBadgeElement>;
|
|
1420
1703
|
"ui-button": LocalJSX.IntrinsicElements["ui-button"] & JSXBase.HTMLAttributes<HTMLUiButtonElement>;
|
|
1704
|
+
/**
|
|
1705
|
+
* A static semantic message with a tone-specific icon.
|
|
1706
|
+
*/
|
|
1707
|
+
"ui-callout": LocalJSX.IntrinsicElements["ui-callout"] & JSXBase.HTMLAttributes<HTMLUiCalloutElement>;
|
|
1421
1708
|
"ui-checkbox": LocalJSX.IntrinsicElements["ui-checkbox"] & JSXBase.HTMLAttributes<HTMLUiCheckboxElement>;
|
|
1709
|
+
/**
|
|
1710
|
+
* A compact, non-interactive metadata label.
|
|
1711
|
+
*/
|
|
1712
|
+
"ui-chip": LocalJSX.IntrinsicElements["ui-chip"] & JSXBase.HTMLAttributes<HTMLUiChipElement>;
|
|
1713
|
+
/**
|
|
1714
|
+
* A single editable field with contextual suggestions, optional help and field validation.
|
|
1715
|
+
*/
|
|
1716
|
+
"ui-combobox": LocalJSX.IntrinsicElements["ui-combobox"] & JSXBase.HTMLAttributes<HTMLUiComboboxElement>;
|
|
1422
1717
|
"ui-context-menu": LocalJSX.IntrinsicElements["ui-context-menu"] & JSXBase.HTMLAttributes<HTMLUiContextMenuElement>;
|
|
1423
1718
|
"ui-dialog": LocalJSX.IntrinsicElements["ui-dialog"] & JSXBase.HTMLAttributes<HTMLUiDialogElement>;
|
|
1424
1719
|
"ui-disclosure": LocalJSX.IntrinsicElements["ui-disclosure"] & JSXBase.HTMLAttributes<HTMLUiDisclosureElement>;
|