@threadlabs/looma 0.2.5 → 0.2.6
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-3K45IWIJ.js +4733 -0
- package/dist/chunk-MLKGABMK.js +9 -0
- package/dist/chunk-UHHA4WT5.js +2916 -0
- package/dist/declarative-generated.cjs +135 -0
- package/dist/declarative-generated.d.cts +10 -0
- package/dist/declarative-generated.d.ts +10 -0
- package/dist/declarative-generated.js +111 -0
- package/dist/declarative.cjs +2944 -0
- package/dist/declarative.d.cts +27 -0
- package/dist/declarative.d.ts +27 -0
- package/dist/declarative.js +13 -0
- package/dist/index.cjs +7480 -6457
- package/dist/index.d.cts +4 -58
- package/dist/index.d.ts +4 -58
- package/dist/index.js +15 -27
- package/dist/loader.cjs +7654 -0
- package/dist/loader.d.cts +4 -0
- package/dist/loader.d.ts +4 -0
- package/dist/loader.js +16 -0
- package/dist/valibot.cjs +31 -0
- package/dist/valibot.d.cts +10 -0
- package/dist/valibot.d.ts +1 -43
- package/dist/valibot.js +2 -0
- package/dist/{types/field/validation.d.ts → validation-bxcou-l-.d.cts} +13 -11
- package/dist/validation-bxcou-l-.d.ts +58 -0
- package/editor/{chunk-B5WVJOPV.js → chunk-BXICJBWS.js} +118 -8
- package/editor/{chunk-ZOUKEZ77.js → chunk-JK53ENSG.js} +8 -21
- package/editor/chunk-WI7ZA44X.js +2558 -0
- package/editor/extensions/index.d.ts +11 -2
- package/editor/extensions/index.js +9 -7
- package/editor/index.d.ts +1 -1
- package/editor/index.js +10 -8
- package/editor/ui.js +2 -2
- package/editor.css +32 -0
- package/layout/index.cjs +466 -400
- package/layout/index.d.cts +1 -2
- package/layout/index.d.ts +1 -2
- package/layout/index.js +471 -395
- package/package.json +14 -5
- package/vue/chunk-4DPYH3IT.js +3538 -0
- package/vue/editor/index.d.ts +17 -7
- package/vue/editor/index.js +53 -35
- package/vue/index.d.ts +48 -31
- package/vue/index.js +1 -1
- package/dist/chunk-24OTMNIU.js +0 -1617
- package/dist/chunk-D5WRORG6.js +0 -366
- package/dist/chunk-HNFCGIBP.js +0 -8
- package/dist/chunk-NB6DBRXQ.js +0 -323
- package/dist/chunk-OF57X5AR.js +0 -10
- package/dist/chunk-TL4FIE7X.js +0 -93
- package/dist/chunk-UL7UIUJZ.js +0 -20
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
- package/dist/cjs/controlled-state-BFya8rAX.js +0 -9
- package/dist/cjs/events-TcQIzpNv.js +0 -19
- package/dist/cjs/icons-BAdjrnhS.js +0 -680
- package/dist/cjs/id-CYbKpaYr.js +0 -9
- package/dist/cjs/index-BHG9Rpil.js +0 -1602
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -13
- package/dist/cjs/looma.cjs.js +0 -25
- package/dist/cjs/manager-Ce25WRtl.js +0 -95
- package/dist/cjs/positioning-CCR6ifPj.js +0 -426
- package/dist/cjs/ui-affordance-scope.cjs.entry.js +0 -43
- package/dist/cjs/ui-avatar-group.cjs.entry.js +0 -43
- package/dist/cjs/ui-avatar.cjs.entry.js +0 -50
- package/dist/cjs/ui-badge.cjs.entry.js +0 -19
- package/dist/cjs/ui-button.cjs.entry.js +0 -75
- package/dist/cjs/ui-callout.cjs.entry.js +0 -27
- package/dist/cjs/ui-checkbox.cjs.entry.js +0 -97
- package/dist/cjs/ui-chip_2.cjs.entry.js +0 -258
- package/dist/cjs/ui-combobox.cjs.entry.js +0 -708
- package/dist/cjs/ui-context-menu.cjs.entry.js +0 -239
- package/dist/cjs/ui-dialog.cjs.entry.js +0 -131
- package/dist/cjs/ui-disclosure.cjs.entry.js +0 -112
- package/dist/cjs/ui-editable.cjs.entry.js +0 -100
- package/dist/cjs/ui-floating-action-button.cjs.entry.js +0 -20
- package/dist/cjs/ui-form-field.cjs.entry.js +0 -114
- package/dist/cjs/ui-icon-button.cjs.entry.js +0 -23
- package/dist/cjs/ui-input.cjs.entry.js +0 -106
- package/dist/cjs/ui-menu-item.cjs.entry.js +0 -19
- package/dist/cjs/ui-menu.cjs.entry.js +0 -182
- package/dist/cjs/ui-popover.cjs.entry.js +0 -135
- package/dist/cjs/ui-radio-group.cjs.entry.js +0 -134
- package/dist/cjs/ui-radio.cjs.entry.js +0 -94
- package/dist/cjs/ui-search-result-row.cjs.entry.js +0 -47
- package/dist/cjs/ui-search-shell.cjs.entry.js +0 -39
- package/dist/cjs/ui-select.cjs.entry.js +0 -108
- package/dist/cjs/ui-switch.cjs.entry.js +0 -74
- package/dist/cjs/ui-tabs.cjs.entry.js +0 -118
- package/dist/cjs/ui-textarea.cjs.entry.js +0 -110
- package/dist/cjs/ui-toast-region.cjs.entry.js +0 -93
- package/dist/cjs/ui-top-bar.cjs.entry.js +0 -43
- package/dist/cjs/ui-tree-item.cjs.entry.js +0 -135
- package/dist/cjs/ui-tree.cjs.entry.js +0 -500
- package/dist/collection/collection-manifest.json +0 -45
- package/dist/collection/components/ui-affordance-scope/ui-affordance-scope.css +0 -8
- package/dist/collection/components/ui-affordance-scope/ui-affordance-scope.js +0 -70
- package/dist/collection/components/ui-avatar/ui-avatar.css +0 -35
- package/dist/collection/components/ui-avatar/ui-avatar.js +0 -130
- package/dist/collection/components/ui-avatar-group/ui-avatar-group.css +0 -32
- package/dist/collection/components/ui-avatar-group/ui-avatar-group.js +0 -95
- package/dist/collection/components/ui-badge/ui-badge.css +0 -90
- package/dist/collection/components/ui-badge/ui-badge.js +0 -62
- package/dist/collection/components/ui-button/ui-button.css +0 -121
- package/dist/collection/components/ui-button/ui-button.js +0 -141
- package/dist/collection/components/ui-callout/ui-callout.css +0 -74
- package/dist/collection/components/ui-callout/ui-callout.js +0 -59
- package/dist/collection/components/ui-checkbox/ui-checkbox.css +0 -24
- package/dist/collection/components/ui-checkbox/ui-checkbox.js +0 -228
- package/dist/collection/components/ui-chip/ui-chip.css +0 -57
- package/dist/collection/components/ui-chip/ui-chip.js +0 -67
- package/dist/collection/components/ui-combobox/ui-combobox.css +0 -47
- package/dist/collection/components/ui-combobox/ui-combobox.js +0 -1295
- package/dist/collection/components/ui-context-menu/ui-context-menu.css +0 -34
- package/dist/collection/components/ui-context-menu/ui-context-menu.js +0 -311
- package/dist/collection/components/ui-dialog/ui-dialog.css +0 -72
- package/dist/collection/components/ui-dialog/ui-dialog.js +0 -242
- package/dist/collection/components/ui-disclosure/ui-disclosure.css +0 -7
- package/dist/collection/components/ui-disclosure/ui-disclosure.js +0 -184
- package/dist/collection/components/ui-editable/ui-editable.css +0 -2
- package/dist/collection/components/ui-editable/ui-editable.js +0 -196
- package/dist/collection/components/ui-floating-action-button/ui-floating-action-button.css +0 -73
- package/dist/collection/components/ui-floating-action-button/ui-floating-action-button.js +0 -85
- package/dist/collection/components/ui-form-field/ui-form-field.css +0 -25
- package/dist/collection/components/ui-form-field/ui-form-field.js +0 -180
- package/dist/collection/components/ui-icon-button/ui-icon-button.css +0 -145
- package/dist/collection/components/ui-icon-button/ui-icon-button.js +0 -128
- package/dist/collection/components/ui-input/ui-input.css +0 -48
- package/dist/collection/components/ui-input/ui-input.js +0 -217
- package/dist/collection/components/ui-menu/ui-menu.css +0 -73
- package/dist/collection/components/ui-menu/ui-menu.js +0 -280
- package/dist/collection/components/ui-menu-item/ui-menu-item.css +0 -32
- package/dist/collection/components/ui-menu-item/ui-menu-item.js +0 -64
- package/dist/collection/components/ui-popover/ui-popover.css +0 -58
- package/dist/collection/components/ui-popover/ui-popover.js +0 -232
- package/dist/collection/components/ui-radio/ui-radio.css +0 -22
- package/dist/collection/components/ui-radio/ui-radio.js +0 -226
- package/dist/collection/components/ui-radio-group/ui-radio-group.css +0 -10
- package/dist/collection/components/ui-radio-group/ui-radio-group.js +0 -247
- package/dist/collection/components/ui-search-result-row/ui-search-result-row.css +0 -80
- package/dist/collection/components/ui-search-result-row/ui-search-result-row.js +0 -100
- package/dist/collection/components/ui-search-shell/ui-search-shell.css +0 -63
- package/dist/collection/components/ui-search-shell/ui-search-shell.js +0 -46
- package/dist/collection/components/ui-select/ui-select.css +0 -64
- package/dist/collection/components/ui-select/ui-select.js +0 -218
- package/dist/collection/components/ui-switch/ui-switch.css +0 -63
- package/dist/collection/components/ui-switch/ui-switch.js +0 -185
- package/dist/collection/components/ui-tabs/ui-tabs.css +0 -68
- package/dist/collection/components/ui-tabs/ui-tabs.js +0 -190
- package/dist/collection/components/ui-textarea/ui-textarea.css +0 -49
- package/dist/collection/components/ui-textarea/ui-textarea.js +0 -241
- package/dist/collection/components/ui-toast-region/ui-toast-region.css +0 -59
- package/dist/collection/components/ui-toast-region/ui-toast-region.js +0 -126
- package/dist/collection/components/ui-tooltip/ui-tooltip.css +0 -43
- package/dist/collection/components/ui-tooltip/ui-tooltip.js +0 -430
- package/dist/collection/components/ui-top-bar/ui-top-bar.css +0 -51
- package/dist/collection/components/ui-top-bar/ui-top-bar.js +0 -52
- package/dist/collection/components/ui-tree/ui-tree.css +0 -12
- package/dist/collection/components/ui-tree/ui-tree.js +0 -515
- package/dist/collection/components/ui-tree-item/ui-tree-item.css +0 -217
- package/dist/collection/components/ui-tree-item/ui-tree-item.js +0 -406
- package/dist/collection/field/combobox.js +0 -4
- package/dist/collection/field/editable.js +0 -1
- package/dist/collection/field/multi-combobox.js +0 -1
- package/dist/collection/field/valibot.js +0 -5
- package/dist/collection/field/validation.js +0 -62
- package/dist/collection/icons.js +0 -71
- package/dist/collection/input-modality.js +0 -24
- package/dist/collection/overlay/manager.js +0 -92
- package/dist/collection/overlay/positioning.js +0 -424
- package/dist/collection/utils/controlled-state.js +0 -4
- package/dist/collection/utils/drag-drop.js +0 -51
- package/dist/collection/utils/events.js +0 -13
- package/dist/collection/utils/id.js +0 -5
- package/dist/collection/utils/initials.js +0 -11
- package/dist/components/index.d.ts +0 -102
- package/dist/components/index.js +0 -1
- package/dist/components/p-6SWSrfmW.js +0 -1
- package/dist/components/p-B_DaIVEY.js +0 -1
- package/dist/components/p-Bh_1GxOD.js +0 -1
- package/dist/components/p-BnGhGgTH.js +0 -1
- package/dist/components/p-BzaB_bXo.js +0 -1
- package/dist/components/p-C-0syqXZ.js +0 -1
- package/dist/components/p-CoFximGM.js +0 -13
- package/dist/components/p-JwSoedEO.js +0 -1
- package/dist/components/p-Vc4ExHFc.js +0 -1
- package/dist/components/p-hgBUJRDa.js +0 -1
- package/dist/components/ui-affordance-scope.d.ts +0 -11
- package/dist/components/ui-affordance-scope.js +0 -1
- package/dist/components/ui-avatar-group.d.ts +0 -11
- package/dist/components/ui-avatar-group.js +0 -1
- package/dist/components/ui-avatar.d.ts +0 -11
- package/dist/components/ui-avatar.js +0 -1
- package/dist/components/ui-badge.d.ts +0 -11
- package/dist/components/ui-badge.js +0 -1
- package/dist/components/ui-button.d.ts +0 -11
- package/dist/components/ui-button.js +0 -1
- package/dist/components/ui-callout.d.ts +0 -11
- package/dist/components/ui-callout.js +0 -1
- package/dist/components/ui-checkbox.d.ts +0 -11
- package/dist/components/ui-checkbox.js +0 -1
- package/dist/components/ui-chip.d.ts +0 -11
- package/dist/components/ui-chip.js +0 -1
- package/dist/components/ui-combobox.d.ts +0 -11
- package/dist/components/ui-combobox.js +0 -1
- package/dist/components/ui-context-menu.d.ts +0 -11
- package/dist/components/ui-context-menu.js +0 -1
- package/dist/components/ui-dialog.d.ts +0 -11
- package/dist/components/ui-dialog.js +0 -1
- package/dist/components/ui-disclosure.d.ts +0 -11
- package/dist/components/ui-disclosure.js +0 -1
- package/dist/components/ui-editable.d.ts +0 -11
- package/dist/components/ui-editable.js +0 -1
- package/dist/components/ui-floating-action-button.d.ts +0 -11
- package/dist/components/ui-floating-action-button.js +0 -1
- package/dist/components/ui-form-field.d.ts +0 -11
- package/dist/components/ui-form-field.js +0 -1
- package/dist/components/ui-icon-button.d.ts +0 -11
- package/dist/components/ui-icon-button.js +0 -1
- package/dist/components/ui-input.d.ts +0 -11
- package/dist/components/ui-input.js +0 -1
- package/dist/components/ui-menu-item.d.ts +0 -11
- package/dist/components/ui-menu-item.js +0 -1
- package/dist/components/ui-menu.d.ts +0 -11
- package/dist/components/ui-menu.js +0 -1
- package/dist/components/ui-popover.d.ts +0 -11
- package/dist/components/ui-popover.js +0 -1
- package/dist/components/ui-radio-group.d.ts +0 -11
- package/dist/components/ui-radio-group.js +0 -1
- package/dist/components/ui-radio.d.ts +0 -11
- package/dist/components/ui-radio.js +0 -1
- package/dist/components/ui-search-result-row.d.ts +0 -11
- package/dist/components/ui-search-result-row.js +0 -1
- package/dist/components/ui-search-shell.d.ts +0 -11
- package/dist/components/ui-search-shell.js +0 -1
- package/dist/components/ui-select.d.ts +0 -11
- package/dist/components/ui-select.js +0 -1
- package/dist/components/ui-switch.d.ts +0 -11
- package/dist/components/ui-switch.js +0 -1
- package/dist/components/ui-tabs.d.ts +0 -11
- package/dist/components/ui-tabs.js +0 -1
- package/dist/components/ui-textarea.d.ts +0 -11
- package/dist/components/ui-textarea.js +0 -1
- package/dist/components/ui-toast-region.d.ts +0 -11
- package/dist/components/ui-toast-region.js +0 -1
- package/dist/components/ui-tooltip.d.ts +0 -11
- package/dist/components/ui-tooltip.js +0 -1
- package/dist/components/ui-top-bar.d.ts +0 -11
- package/dist/components/ui-top-bar.js +0 -1
- package/dist/components/ui-tree-item.d.ts +0 -11
- package/dist/components/ui-tree-item.js +0 -1
- package/dist/components/ui-tree.d.ts +0 -11
- package/dist/components/ui-tree.js +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/controlled-state-BnGhGgTH.js +0 -6
- package/dist/esm/events-JwSoedEO.js +0 -15
- package/dist/esm/icons-CoFximGM.js +0 -678
- package/dist/esm/id-hgBUJRDa.js +0 -7
- package/dist/esm/index-8BGiMGQ0.js +0 -1593
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -11
- package/dist/esm/looma.js +0 -21
- package/dist/esm/manager-C-0syqXZ.js +0 -91
- package/dist/esm/positioning-ZOr-2PSe.js +0 -421
- package/dist/esm/ui-affordance-scope.entry.js +0 -41
- package/dist/esm/ui-avatar-group.entry.js +0 -41
- package/dist/esm/ui-avatar.entry.js +0 -48
- package/dist/esm/ui-badge.entry.js +0 -17
- package/dist/esm/ui-button.entry.js +0 -73
- package/dist/esm/ui-callout.entry.js +0 -25
- package/dist/esm/ui-checkbox.entry.js +0 -95
- package/dist/esm/ui-chip_2.entry.js +0 -255
- package/dist/esm/ui-combobox.entry.js +0 -706
- package/dist/esm/ui-context-menu.entry.js +0 -237
- package/dist/esm/ui-dialog.entry.js +0 -129
- package/dist/esm/ui-disclosure.entry.js +0 -110
- package/dist/esm/ui-editable.entry.js +0 -98
- package/dist/esm/ui-floating-action-button.entry.js +0 -18
- package/dist/esm/ui-form-field.entry.js +0 -112
- package/dist/esm/ui-icon-button.entry.js +0 -21
- package/dist/esm/ui-input.entry.js +0 -104
- package/dist/esm/ui-menu-item.entry.js +0 -17
- package/dist/esm/ui-menu.entry.js +0 -180
- package/dist/esm/ui-popover.entry.js +0 -133
- package/dist/esm/ui-radio-group.entry.js +0 -132
- package/dist/esm/ui-radio.entry.js +0 -92
- package/dist/esm/ui-search-result-row.entry.js +0 -45
- package/dist/esm/ui-search-shell.entry.js +0 -37
- package/dist/esm/ui-select.entry.js +0 -106
- package/dist/esm/ui-switch.entry.js +0 -72
- package/dist/esm/ui-tabs.entry.js +0 -116
- package/dist/esm/ui-textarea.entry.js +0 -108
- package/dist/esm/ui-toast-region.entry.js +0 -91
- package/dist/esm/ui-top-bar.entry.js +0 -41
- package/dist/esm/ui-tree-item.entry.js +0 -133
- package/dist/esm/ui-tree.entry.js +0 -498
- package/dist/index.cjs.js +0 -1
- package/dist/looma/index.esm.js +0 -0
- package/dist/looma/looma.esm.js +0 -1
- package/dist/looma/p-08f80207.entry.js +0 -1
- package/dist/looma/p-0b5b8d9e.entry.js +0 -1
- package/dist/looma/p-1249a806.entry.js +0 -1
- package/dist/looma/p-16e0669d.entry.js +0 -1
- package/dist/looma/p-1c00670f.entry.js +0 -1
- package/dist/looma/p-1c5a7522.entry.js +0 -1
- package/dist/looma/p-22842f8c.entry.js +0 -1
- package/dist/looma/p-2915d5c0.entry.js +0 -1
- package/dist/looma/p-3b2961a6.entry.js +0 -1
- package/dist/looma/p-3f60f4c8.entry.js +0 -1
- package/dist/looma/p-424d6719.entry.js +0 -1
- package/dist/looma/p-4caccfce.entry.js +0 -1
- package/dist/looma/p-5fdcee1d.entry.js +0 -1
- package/dist/looma/p-6d8b99ee.entry.js +0 -1
- package/dist/looma/p-6f20d470.entry.js +0 -1
- package/dist/looma/p-7c0b5364.entry.js +0 -1
- package/dist/looma/p-8BGiMGQ0.js +0 -2
- package/dist/looma/p-8bdd9495.entry.js +0 -1
- package/dist/looma/p-99116a72.entry.js +0 -1
- package/dist/looma/p-9cfbf722.entry.js +0 -1
- package/dist/looma/p-9d2662ca.entry.js +0 -1
- package/dist/looma/p-9ff2fa19.entry.js +0 -1
- package/dist/looma/p-BnGhGgTH.js +0 -1
- package/dist/looma/p-C-0syqXZ.js +0 -1
- package/dist/looma/p-CoFximGM.js +0 -13
- package/dist/looma/p-DQuL1Twl.js +0 -1
- package/dist/looma/p-JwSoedEO.js +0 -1
- package/dist/looma/p-ZOr-2PSe.js +0 -1
- package/dist/looma/p-a2dd4c6c.entry.js +0 -1
- package/dist/looma/p-add67e4c.entry.js +0 -1
- package/dist/looma/p-b6ede6bb.entry.js +0 -1
- package/dist/looma/p-b76e2111.entry.js +0 -1
- package/dist/looma/p-ca2a54fd.entry.js +0 -1
- package/dist/looma/p-d372b0db.entry.js +0 -1
- package/dist/looma/p-d4825822.entry.js +0 -1
- package/dist/looma/p-d56571a2.entry.js +0 -1
- package/dist/looma/p-d5c3954f.entry.js +0 -1
- package/dist/looma/p-e604e906.entry.js +0 -1
- package/dist/looma/p-f1f7c5cb.entry.js +0 -1
- package/dist/looma/p-hgBUJRDa.js +0 -1
- package/dist/types/components/ui-affordance-scope/ui-affordance-scope.d.ts +0 -11
- package/dist/types/components/ui-avatar/ui-avatar.d.ts +0 -11
- package/dist/types/components/ui-avatar-group/ui-avatar-group.d.ts +0 -11
- package/dist/types/components/ui-badge/ui-badge.d.ts +0 -5
- package/dist/types/components/ui-button/ui-button.d.ts +0 -13
- package/dist/types/components/ui-callout/ui-callout.d.ts +0 -6
- package/dist/types/components/ui-checkbox/ui-checkbox.d.ts +0 -20
- package/dist/types/components/ui-chip/ui-chip.d.ts +0 -8
- package/dist/types/components/ui-combobox/ui-combobox.d.ts +0 -128
- package/dist/types/components/ui-context-menu/ui-context-menu.d.ts +0 -43
- package/dist/types/components/ui-dialog/ui-dialog.d.ts +0 -27
- package/dist/types/components/ui-disclosure/ui-disclosure.d.ts +0 -21
- package/dist/types/components/ui-editable/ui-editable.d.ts +0 -24
- package/dist/types/components/ui-floating-action-button/ui-floating-action-button.d.ts +0 -6
- package/dist/types/components/ui-form-field/ui-form-field.d.ts +0 -18
- package/dist/types/components/ui-icon-button/ui-icon-button.d.ts +0 -9
- package/dist/types/components/ui-input/ui-input.d.ts +0 -19
- package/dist/types/components/ui-menu/ui-menu.d.ts +0 -28
- package/dist/types/components/ui-menu-item/ui-menu-item.d.ts +0 -5
- package/dist/types/components/ui-popover/ui-popover.d.ts +0 -26
- package/dist/types/components/ui-radio/ui-radio.d.ts +0 -20
- package/dist/types/components/ui-radio-group/ui-radio-group.d.ts +0 -21
- package/dist/types/components/ui-search-result-row/ui-search-result-row.d.ts +0 -15
- package/dist/types/components/ui-search-shell/ui-search-shell.d.ts +0 -9
- package/dist/types/components/ui-select/ui-select.d.ts +0 -20
- package/dist/types/components/ui-switch/ui-switch.d.ts +0 -16
- package/dist/types/components/ui-tabs/ui-tabs.d.ts +0 -18
- package/dist/types/components/ui-textarea/ui-textarea.d.ts +0 -20
- package/dist/types/components/ui-toast-region/ui-toast-region.d.ts +0 -16
- package/dist/types/components/ui-tooltip/ui-tooltip.d.ts +0 -57
- package/dist/types/components/ui-top-bar/ui-top-bar.d.ts +0 -12
- package/dist/types/components/ui-tree/ui-tree.d.ts +0 -53
- package/dist/types/components/ui-tree-item/ui-tree-item.d.ts +0 -44
- package/dist/types/components.d.ts +0 -1889
- package/dist/types/field/combobox.d.ts +0 -46
- package/dist/types/field/editable.d.ts +0 -5
- package/dist/types/field/multi-combobox.d.ts +0 -11
- package/dist/types/field/valibot.d.ts +0 -7
- package/dist/types/icons.d.ts +0 -53
- package/dist/types/input-modality.d.ts +0 -6
- package/dist/types/overlay/manager.d.ts +0 -17
- package/dist/types/overlay/positioning.d.ts +0 -74
- package/dist/types/stencil-public-runtime.d.ts +0 -1860
- package/dist/types/utils/controlled-state.d.ts +0 -4
- package/dist/types/utils/drag-drop.d.ts +0 -15
- package/dist/types/utils/events.d.ts +0 -4
- package/dist/types/utils/id.d.ts +0 -1
- package/dist/types/utils/initials.d.ts +0 -1
- package/dist/ui-affordance-scope.entry-L6TIXYOP.js +0 -54
- package/dist/ui-avatar-group.entry-TCAA6P72.js +0 -51
- package/dist/ui-avatar.entry-52DQ7VXA.js +0 -51
- package/dist/ui-badge.entry-2XCAA6LL.js +0 -22
- package/dist/ui-button.entry-MNFBMNSX.js +0 -83
- package/dist/ui-callout.entry-SSHT5TH2.js +0 -32
- package/dist/ui-checkbox.entry-LOWIWIWI.js +0 -111
- package/dist/ui-chip_2.entry-BIMTSF6C.js +0 -272
- package/dist/ui-combobox.entry-25Z4MN7N.js +0 -717
- package/dist/ui-context-menu.entry-YZDL5Y4M.js +0 -248
- package/dist/ui-dialog.entry-HIXZX5AB.js +0 -146
- package/dist/ui-disclosure.entry-2JZHZNDQ.js +0 -126
- package/dist/ui-editable.entry-U3VR3XPT.js +0 -110
- package/dist/ui-floating-action-button.entry-6S3QN3KJ.js +0 -23
- package/dist/ui-form-field.entry-GQOSMLHT.js +0 -120
- package/dist/ui-icon-button.entry-QJXKVDM6.js +0 -26
- package/dist/ui-input.entry-UWMQ6JMP.js +0 -114
- package/dist/ui-menu-item.entry-NHNZKKJS.js +0 -22
- package/dist/ui-menu.entry-D53RUJND.js +0 -192
- package/dist/ui-popover.entry-7ZSIWCFQ.js +0 -152
- package/dist/ui-radio-group.entry-37MSYIH4.js +0 -142
- package/dist/ui-radio.entry-7YGCDHXT.js +0 -108
- package/dist/ui-search-result-row.entry-6FCCLGAS.js +0 -50
- package/dist/ui-search-shell.entry-HSBEXPER.js +0 -41
- package/dist/ui-select.entry-GIDIAYRD.js +0 -117
- package/dist/ui-switch.entry-MYAL6XPC.js +0 -87
- package/dist/ui-tabs.entry-R4TEXQSD.js +0 -128
- package/dist/ui-textarea.entry-FW32JNDV.js +0 -119
- package/dist/ui-toast-region.entry-BTMFPKZF.js +0 -104
- package/dist/ui-top-bar.entry-5DQGJF3B.js +0 -49
- package/dist/ui-tree-item.entry-ADT7DSOS.js +0 -145
- package/dist/ui-tree.entry-7PYQ5RIN.js +0 -470
- package/editor/chunk-64GLF274.js +0 -1271
- package/layout/index.css +0 -387
- package/loader/cdn.js +0 -1
- package/loader/index.cjs.js +0 -1
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +0 -2
- package/vue/chunk-ROMBQS2L.js +0 -352
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { createId } from "../../utils/id";
|
|
3
|
-
export class UIFormField {
|
|
4
|
-
host;
|
|
5
|
-
invalid = false;
|
|
6
|
-
disabled = false;
|
|
7
|
-
required = false;
|
|
8
|
-
observer = null;
|
|
9
|
-
activeInput = null;
|
|
10
|
-
ownedDescriptionIds = new Set();
|
|
11
|
-
wireQueued = false;
|
|
12
|
-
componentDidLoad() {
|
|
13
|
-
this.observer = new MutationObserver(this.scheduleWire);
|
|
14
|
-
this.observer.observe(this.host, {
|
|
15
|
-
childList: true,
|
|
16
|
-
subtree: true,
|
|
17
|
-
attributes: true,
|
|
18
|
-
attributeFilter: ['aria-describedby', 'data-slot', 'id', 'role'],
|
|
19
|
-
});
|
|
20
|
-
this.wire();
|
|
21
|
-
}
|
|
22
|
-
componentDidUpdate() {
|
|
23
|
-
this.scheduleWire();
|
|
24
|
-
}
|
|
25
|
-
disconnectedCallback() {
|
|
26
|
-
this.observer?.disconnect();
|
|
27
|
-
this.observer = null;
|
|
28
|
-
this.removeOwnedDescriptions(this.activeInput);
|
|
29
|
-
this.activeInput = null;
|
|
30
|
-
this.ownedDescriptionIds.clear();
|
|
31
|
-
}
|
|
32
|
-
descriptionIds(input) {
|
|
33
|
-
return Array.from(new Set((input.getAttribute('aria-describedby') ?? '').split(/\s+/).filter(Boolean)));
|
|
34
|
-
}
|
|
35
|
-
removeOwnedDescriptions(input) {
|
|
36
|
-
if (!input || this.ownedDescriptionIds.size === 0)
|
|
37
|
-
return;
|
|
38
|
-
const remaining = this.descriptionIds(input)
|
|
39
|
-
.filter(id => !this.ownedDescriptionIds.has(id));
|
|
40
|
-
if (remaining.length > 0)
|
|
41
|
-
input.setAttribute('aria-describedby', remaining.join(' '));
|
|
42
|
-
else
|
|
43
|
-
input.removeAttribute('aria-describedby');
|
|
44
|
-
}
|
|
45
|
-
scheduleWire = () => {
|
|
46
|
-
if (this.wireQueued)
|
|
47
|
-
return;
|
|
48
|
-
this.wireQueued = true;
|
|
49
|
-
queueMicrotask(() => {
|
|
50
|
-
this.wireQueued = false;
|
|
51
|
-
this.wire();
|
|
52
|
-
});
|
|
53
|
-
};
|
|
54
|
-
wire() {
|
|
55
|
-
const label = this.host.querySelector('label');
|
|
56
|
-
const input = this.host.querySelector('input, textarea, select');
|
|
57
|
-
const help = this.host.querySelector('[data-slot="help"]');
|
|
58
|
-
const error = this.host.querySelector('[data-slot="error"], [role="alert"]');
|
|
59
|
-
if (input !== this.activeInput) {
|
|
60
|
-
this.removeOwnedDescriptions(this.activeInput);
|
|
61
|
-
this.activeInput = input;
|
|
62
|
-
this.ownedDescriptionIds.clear();
|
|
63
|
-
}
|
|
64
|
-
if (!input)
|
|
65
|
-
return;
|
|
66
|
-
if (!input.id) {
|
|
67
|
-
input.id = createId('form-field-input');
|
|
68
|
-
}
|
|
69
|
-
if (label && !label.getAttribute('for')) {
|
|
70
|
-
label.setAttribute('for', input.id);
|
|
71
|
-
}
|
|
72
|
-
const previousOwnedIds = this.ownedDescriptionIds;
|
|
73
|
-
const externalIds = this.descriptionIds(input)
|
|
74
|
-
.filter(id => !previousOwnedIds.has(id));
|
|
75
|
-
const describedIds = [];
|
|
76
|
-
if (help) {
|
|
77
|
-
if (!help.id)
|
|
78
|
-
help.id = createId('form-field-help');
|
|
79
|
-
describedIds.push(help.id);
|
|
80
|
-
}
|
|
81
|
-
if (error) {
|
|
82
|
-
if (!error.id)
|
|
83
|
-
error.id = createId('form-field-error');
|
|
84
|
-
describedIds.push(error.id);
|
|
85
|
-
}
|
|
86
|
-
const nextOwnedIds = describedIds.filter(id => !externalIds.includes(id));
|
|
87
|
-
const nextDescribedIds = Array.from(new Set([...externalIds, ...describedIds]));
|
|
88
|
-
const nextDescribedBy = nextDescribedIds.join(' ');
|
|
89
|
-
if (input.getAttribute('aria-describedby') !== nextDescribedBy) {
|
|
90
|
-
if (nextDescribedBy)
|
|
91
|
-
input.setAttribute('aria-describedby', nextDescribedBy);
|
|
92
|
-
else
|
|
93
|
-
input.removeAttribute('aria-describedby');
|
|
94
|
-
}
|
|
95
|
-
this.ownedDescriptionIds = new Set(nextOwnedIds);
|
|
96
|
-
input.disabled = this.disabled;
|
|
97
|
-
input.required = this.required;
|
|
98
|
-
input.setAttribute('aria-invalid', this.invalid ? 'true' : 'false');
|
|
99
|
-
}
|
|
100
|
-
render() {
|
|
101
|
-
return (h(Host, { key: 'f052dbf0ba289bf187ea78c458260110fbfa059a', "data-invalid": this.invalid ? '' : undefined, "data-disabled": this.disabled ? '' : undefined, "data-required": this.required ? '' : undefined }, h("slot", { key: 'f26f48581b5781e8c3d7830ddd3707ea4fb04420', onSlotchange: this.scheduleWire })));
|
|
102
|
-
}
|
|
103
|
-
static get is() { return "ui-form-field"; }
|
|
104
|
-
static get encapsulation() { return "shadow"; }
|
|
105
|
-
static get originalStyleUrls() {
|
|
106
|
-
return {
|
|
107
|
-
"$": ["ui-form-field.css"]
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
static get styleUrls() {
|
|
111
|
-
return {
|
|
112
|
-
"$": ["ui-form-field.css"]
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
static get properties() {
|
|
116
|
-
return {
|
|
117
|
-
"invalid": {
|
|
118
|
-
"type": "boolean",
|
|
119
|
-
"mutable": false,
|
|
120
|
-
"complexType": {
|
|
121
|
-
"original": "boolean",
|
|
122
|
-
"resolved": "boolean",
|
|
123
|
-
"references": {}
|
|
124
|
-
},
|
|
125
|
-
"required": false,
|
|
126
|
-
"optional": false,
|
|
127
|
-
"docs": {
|
|
128
|
-
"tags": [],
|
|
129
|
-
"text": ""
|
|
130
|
-
},
|
|
131
|
-
"getter": false,
|
|
132
|
-
"setter": false,
|
|
133
|
-
"reflect": false,
|
|
134
|
-
"attribute": "invalid",
|
|
135
|
-
"defaultValue": "false"
|
|
136
|
-
},
|
|
137
|
-
"disabled": {
|
|
138
|
-
"type": "boolean",
|
|
139
|
-
"mutable": false,
|
|
140
|
-
"complexType": {
|
|
141
|
-
"original": "boolean",
|
|
142
|
-
"resolved": "boolean",
|
|
143
|
-
"references": {}
|
|
144
|
-
},
|
|
145
|
-
"required": false,
|
|
146
|
-
"optional": false,
|
|
147
|
-
"docs": {
|
|
148
|
-
"tags": [],
|
|
149
|
-
"text": ""
|
|
150
|
-
},
|
|
151
|
-
"getter": false,
|
|
152
|
-
"setter": false,
|
|
153
|
-
"reflect": false,
|
|
154
|
-
"attribute": "disabled",
|
|
155
|
-
"defaultValue": "false"
|
|
156
|
-
},
|
|
157
|
-
"required": {
|
|
158
|
-
"type": "boolean",
|
|
159
|
-
"mutable": false,
|
|
160
|
-
"complexType": {
|
|
161
|
-
"original": "boolean",
|
|
162
|
-
"resolved": "boolean",
|
|
163
|
-
"references": {}
|
|
164
|
-
},
|
|
165
|
-
"required": false,
|
|
166
|
-
"optional": false,
|
|
167
|
-
"docs": {
|
|
168
|
-
"tags": [],
|
|
169
|
-
"text": ""
|
|
170
|
-
},
|
|
171
|
-
"getter": false,
|
|
172
|
-
"setter": false,
|
|
173
|
-
"reflect": false,
|
|
174
|
-
"attribute": "required",
|
|
175
|
-
"defaultValue": "false"
|
|
176
|
-
}
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
static get elementRef() { return "host"; }
|
|
180
|
-
}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
color: var(--ui-text-secondary);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
:host([anticipatory]) {
|
|
7
|
-
position: relative;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
:host([anticipatory])::before {
|
|
11
|
-
content: '';
|
|
12
|
-
position: absolute;
|
|
13
|
-
inset: 50% auto auto 50%;
|
|
14
|
-
z-index: 1;
|
|
15
|
-
inline-size: var(--ui-affordance-guide-size, 0.25rem);
|
|
16
|
-
block-size: var(--ui-affordance-guide-size, 0.25rem);
|
|
17
|
-
border-radius: var(--ui-radius-round, 999px);
|
|
18
|
-
background: var(--ui-affordance-guide-color, var(--ui-border-strong));
|
|
19
|
-
opacity: var(--ui-affordance-guide-opacity, 0.42);
|
|
20
|
-
transform: translate(-50%, -50%);
|
|
21
|
-
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
22
|
-
pointer-events: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
:host([anticipatory]) button {
|
|
26
|
-
opacity: 0;
|
|
27
|
-
transform: scale(0.72);
|
|
28
|
-
pointer-events: none;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
:host([anticipatory][data-ui-proximity='near'])::before,
|
|
32
|
-
:host([anticipatory]:focus-within)::before,
|
|
33
|
-
:host([anticipatory]:hover)::before,
|
|
34
|
-
:host([anticipatory][variant='solid'])::before {
|
|
35
|
-
opacity: 0;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:host([anticipatory][data-ui-proximity='near']) button,
|
|
39
|
-
:host([anticipatory]:focus-within) button,
|
|
40
|
-
:host([anticipatory]:hover) button,
|
|
41
|
-
:host([anticipatory][variant='solid']) button {
|
|
42
|
-
opacity: 1;
|
|
43
|
-
transform: scale(1);
|
|
44
|
-
pointer-events: auto;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
button {
|
|
48
|
-
appearance: none;
|
|
49
|
-
inline-size: var(--ui-icon-button-size, 2.5rem);
|
|
50
|
-
block-size: var(--ui-icon-button-size, 2.5rem);
|
|
51
|
-
min-inline-size: var(--ui-icon-button-size, 2.5rem);
|
|
52
|
-
min-block-size: var(--ui-icon-button-size, 2.5rem);
|
|
53
|
-
padding: 0;
|
|
54
|
-
margin: 0;
|
|
55
|
-
border: 1px solid transparent;
|
|
56
|
-
border-radius: var(--ui-icon-button-radius, var(--ui-radius-2));
|
|
57
|
-
background: var(--ui-icon-button-bg, transparent);
|
|
58
|
-
color: inherit;
|
|
59
|
-
display: inline-flex;
|
|
60
|
-
align-items: center;
|
|
61
|
-
justify-content: center;
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
transition:
|
|
64
|
-
background-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
65
|
-
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
66
|
-
color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
67
|
-
box-shadow var(--ui-motion-fast) var(--ui-motion-ease),
|
|
68
|
-
transform var(--ui-motion-fast) var(--ui-motion-ease);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@media (hover: none), (pointer: coarse) {
|
|
72
|
-
:host([anticipatory])::before {
|
|
73
|
-
opacity: 0;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
:host([anticipatory]) button {
|
|
77
|
-
opacity: 1;
|
|
78
|
-
transform: none;
|
|
79
|
-
pointer-events: auto;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
:host([size='sm']) button {
|
|
84
|
-
inline-size: var(--ui-icon-button-size-sm, 2rem);
|
|
85
|
-
block-size: var(--ui-icon-button-size-sm, 2rem);
|
|
86
|
-
min-inline-size: var(--ui-icon-button-size-sm, 2rem);
|
|
87
|
-
min-block-size: var(--ui-icon-button-size-sm, 2rem);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
:host([size='lg']) button {
|
|
91
|
-
inline-size: var(--ui-icon-button-size-lg, 2.75rem);
|
|
92
|
-
block-size: var(--ui-icon-button-size-lg, 2.75rem);
|
|
93
|
-
min-inline-size: var(--ui-icon-button-size-lg, 2.75rem);
|
|
94
|
-
min-block-size: var(--ui-icon-button-size-lg, 2.75rem);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
:host([variant='outline']) button {
|
|
98
|
-
border-color: var(--ui-icon-button-border, var(--ui-border-default));
|
|
99
|
-
background: var(--ui-icon-button-outline-bg, var(--ui-surface-default));
|
|
100
|
-
color: var(--ui-icon-button-outline-color, var(--ui-text-primary));
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
:host([variant='solid']) button {
|
|
104
|
-
background: var(--ui-icon-button-solid-bg, var(--ui-accent-solid));
|
|
105
|
-
color: var(--ui-icon-button-solid-color, var(--ui-text-on-accent));
|
|
106
|
-
box-shadow: var(
|
|
107
|
-
--ui-icon-button-solid-shadow,
|
|
108
|
-
0 1px 2px color-mix(in srgb, var(--ui-accent-solid) 18%, transparent)
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
button:hover:enabled {
|
|
113
|
-
background: var(--ui-icon-button-hover-bg, var(--ui-surface-muted));
|
|
114
|
-
color: var(--ui-icon-button-hover-color, var(--ui-text-primary));
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
:host([variant='outline']) button:hover:enabled {
|
|
118
|
-
border-color: var(--ui-icon-button-hover-border, var(--ui-border-strong));
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
:host([variant='solid']) button:hover:enabled {
|
|
122
|
-
background: var(--ui-icon-button-solid-hover-bg, var(--ui-accent-hover));
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
button:active:enabled {
|
|
126
|
-
transform: scale(var(--ui-icon-button-active-scale, 0.96));
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
button:focus-visible {
|
|
130
|
-
outline: 2px solid var(--ui-focus-ring);
|
|
131
|
-
outline-offset: 2px;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
button:disabled,
|
|
135
|
-
:host([disabled]) {
|
|
136
|
-
opacity: 0.6;
|
|
137
|
-
cursor: not-allowed;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
::slotted(svg) {
|
|
141
|
-
inline-size: var(--ui-icon-button-icon-size, 1.125rem);
|
|
142
|
-
block-size: var(--ui-icon-button-icon-size, 1.125rem);
|
|
143
|
-
flex-shrink: 0;
|
|
144
|
-
stroke-width: var(--ui-icon-button-icon-stroke-width, 1.75);
|
|
145
|
-
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class UIIconButton {
|
|
3
|
-
disabled = false;
|
|
4
|
-
label = '';
|
|
5
|
-
size = 'md';
|
|
6
|
-
variant = 'ghost';
|
|
7
|
-
/** Reveals this control through a surrounding ui-affordance-scope. */
|
|
8
|
-
anticipatory = false;
|
|
9
|
-
render() {
|
|
10
|
-
return (h(Host, { key: '8d0f84c9d3aaa69f47430369b511bb4160de5cc8', "data-disabled": this.disabled ? '' : undefined, "data-ui-affordance": this.anticipatory ? 'button' : undefined }, h("button", { key: 'b896cdb091e9733b2b8625463f1324819c23965c', type: "button", "aria-label": this.label || undefined, disabled: this.disabled }, h("slot", { key: '76ab5e5f4d34e3f0850287b4552dde060b3798e7' }))));
|
|
11
|
-
}
|
|
12
|
-
static get is() { return "ui-icon-button"; }
|
|
13
|
-
static get encapsulation() { return "shadow"; }
|
|
14
|
-
static get originalStyleUrls() {
|
|
15
|
-
return {
|
|
16
|
-
"$": ["ui-icon-button.css"]
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
static get styleUrls() {
|
|
20
|
-
return {
|
|
21
|
-
"$": ["ui-icon-button.css"]
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
static get properties() {
|
|
25
|
-
return {
|
|
26
|
-
"disabled": {
|
|
27
|
-
"type": "boolean",
|
|
28
|
-
"mutable": false,
|
|
29
|
-
"complexType": {
|
|
30
|
-
"original": "boolean",
|
|
31
|
-
"resolved": "boolean",
|
|
32
|
-
"references": {}
|
|
33
|
-
},
|
|
34
|
-
"required": false,
|
|
35
|
-
"optional": false,
|
|
36
|
-
"docs": {
|
|
37
|
-
"tags": [],
|
|
38
|
-
"text": ""
|
|
39
|
-
},
|
|
40
|
-
"getter": false,
|
|
41
|
-
"setter": false,
|
|
42
|
-
"reflect": true,
|
|
43
|
-
"attribute": "disabled",
|
|
44
|
-
"defaultValue": "false"
|
|
45
|
-
},
|
|
46
|
-
"label": {
|
|
47
|
-
"type": "string",
|
|
48
|
-
"mutable": false,
|
|
49
|
-
"complexType": {
|
|
50
|
-
"original": "string",
|
|
51
|
-
"resolved": "string",
|
|
52
|
-
"references": {}
|
|
53
|
-
},
|
|
54
|
-
"required": false,
|
|
55
|
-
"optional": false,
|
|
56
|
-
"docs": {
|
|
57
|
-
"tags": [],
|
|
58
|
-
"text": ""
|
|
59
|
-
},
|
|
60
|
-
"getter": false,
|
|
61
|
-
"setter": false,
|
|
62
|
-
"reflect": false,
|
|
63
|
-
"attribute": "label",
|
|
64
|
-
"defaultValue": "''"
|
|
65
|
-
},
|
|
66
|
-
"size": {
|
|
67
|
-
"type": "string",
|
|
68
|
-
"mutable": false,
|
|
69
|
-
"complexType": {
|
|
70
|
-
"original": "'sm' | 'md' | 'lg'",
|
|
71
|
-
"resolved": "\"lg\" | \"md\" | \"sm\"",
|
|
72
|
-
"references": {}
|
|
73
|
-
},
|
|
74
|
-
"required": false,
|
|
75
|
-
"optional": false,
|
|
76
|
-
"docs": {
|
|
77
|
-
"tags": [],
|
|
78
|
-
"text": ""
|
|
79
|
-
},
|
|
80
|
-
"getter": false,
|
|
81
|
-
"setter": false,
|
|
82
|
-
"reflect": true,
|
|
83
|
-
"attribute": "size",
|
|
84
|
-
"defaultValue": "'md'"
|
|
85
|
-
},
|
|
86
|
-
"variant": {
|
|
87
|
-
"type": "string",
|
|
88
|
-
"mutable": false,
|
|
89
|
-
"complexType": {
|
|
90
|
-
"original": "'ghost' | 'outline' | 'solid'",
|
|
91
|
-
"resolved": "\"ghost\" | \"outline\" | \"solid\"",
|
|
92
|
-
"references": {}
|
|
93
|
-
},
|
|
94
|
-
"required": false,
|
|
95
|
-
"optional": false,
|
|
96
|
-
"docs": {
|
|
97
|
-
"tags": [],
|
|
98
|
-
"text": ""
|
|
99
|
-
},
|
|
100
|
-
"getter": false,
|
|
101
|
-
"setter": false,
|
|
102
|
-
"reflect": true,
|
|
103
|
-
"attribute": "variant",
|
|
104
|
-
"defaultValue": "'ghost'"
|
|
105
|
-
},
|
|
106
|
-
"anticipatory": {
|
|
107
|
-
"type": "boolean",
|
|
108
|
-
"mutable": false,
|
|
109
|
-
"complexType": {
|
|
110
|
-
"original": "boolean",
|
|
111
|
-
"resolved": "boolean",
|
|
112
|
-
"references": {}
|
|
113
|
-
},
|
|
114
|
-
"required": false,
|
|
115
|
-
"optional": false,
|
|
116
|
-
"docs": {
|
|
117
|
-
"tags": [],
|
|
118
|
-
"text": "Reveals this control through a surrounding ui-affordance-scope."
|
|
119
|
-
},
|
|
120
|
-
"getter": false,
|
|
121
|
-
"setter": false,
|
|
122
|
-
"reflect": true,
|
|
123
|
-
"attribute": "anticipatory",
|
|
124
|
-
"defaultValue": "false"
|
|
125
|
-
}
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
min-inline-size: 0;
|
|
4
|
-
color: var(--ui-text-primary);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
::slotted(input) {
|
|
8
|
-
width: 100%;
|
|
9
|
-
appearance: none;
|
|
10
|
-
min-block-size: var(--ui-control-min-block-size, 2.75rem);
|
|
11
|
-
border: 1px solid var(--ui-control-border, var(--ui-border-default));
|
|
12
|
-
border-radius: var(--ui-radius-2);
|
|
13
|
-
background: var(--ui-control-surface, var(--ui-surface-default));
|
|
14
|
-
color: inherit;
|
|
15
|
-
font: inherit;
|
|
16
|
-
line-height: var(--ui-line-height-md);
|
|
17
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
18
|
-
margin: 0;
|
|
19
|
-
transition:
|
|
20
|
-
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
21
|
-
box-shadow var(--ui-motion-fast) var(--ui-motion-ease),
|
|
22
|
-
background-color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
::slotted(input:hover:not(:focus):not(:disabled)) {
|
|
26
|
-
border-color: var(--ui-control-border-hover, var(--ui-border-strong));
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
::slotted(input:focus) {
|
|
30
|
-
border-color: var(--ui-control-focus, var(--ui-focus-ring));
|
|
31
|
-
box-shadow: 0 0 0 3px var(--ui-control-focus-halo, var(--ui-accent-soft));
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
:host([data-invalid='true'])::slotted(input),
|
|
35
|
-
::slotted(input[aria-invalid='true']) {
|
|
36
|
-
border-color: var(--ui-accent-active);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
::slotted(input:disabled) {
|
|
40
|
-
background: var(--ui-control-surface-disabled, var(--ui-surface-muted));
|
|
41
|
-
color: var(--ui-text-muted);
|
|
42
|
-
cursor: not-allowed;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
::slotted(input:focus-visible) {
|
|
46
|
-
outline: 2px solid var(--ui-focus-ring);
|
|
47
|
-
outline-offset: 2px;
|
|
48
|
-
}
|