@televet/kibble-ui 4.0.0-beta.8 → 4.0.0-beta.80
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/README.md +40 -0
- package/dist/chunks/IconLogo-C4aZqkn1.js +2 -0
- package/dist/chunks/IconLogo-C4aZqkn1.js.map +1 -0
- package/dist/chunks/IconLogo-D8EHZ4Is.js +62 -0
- package/dist/chunks/IconLogo-D8EHZ4Is.js.map +1 -0
- package/dist/chunks/alert.types-Bxrz2UAB.js +219 -0
- package/dist/chunks/alert.types-Bxrz2UAB.js.map +1 -0
- package/dist/chunks/alert.types-Dl6ivTll.js +2 -0
- package/dist/chunks/alert.types-Dl6ivTll.js.map +1 -0
- package/dist/chunks/attr-BMs6szZx.js +2 -0
- package/dist/chunks/attr-BMs6szZx.js.map +1 -0
- package/dist/chunks/attr-sm10PXOd.js +5 -0
- package/dist/chunks/attr-sm10PXOd.js.map +1 -0
- package/dist/chunks/avatar.component-BdkTgslj.js +2 -0
- package/dist/chunks/avatar.component-BdkTgslj.js.map +1 -0
- package/dist/chunks/avatar.component-DPu-22kf.js +420 -0
- package/dist/chunks/avatar.component-DPu-22kf.js.map +1 -0
- package/dist/chunks/avatarGroup.component-BW26RkqL.js +2 -0
- package/dist/chunks/avatarGroup.component-BW26RkqL.js.map +1 -0
- package/dist/chunks/avatarGroup.component-DHhW8fL3.js +70 -0
- package/dist/chunks/avatarGroup.component-DHhW8fL3.js.map +1 -0
- package/dist/chunks/box-Baq7UBls.js +2 -0
- package/dist/chunks/box-Baq7UBls.js.map +1 -0
- package/dist/chunks/box-Ck9I7FYv.js +7 -0
- package/dist/chunks/box-Ck9I7FYv.js.map +1 -0
- package/dist/chunks/button.component-BpF3MzbZ.js +67 -0
- package/dist/chunks/button.component-BpF3MzbZ.js.map +1 -0
- package/dist/chunks/button.component-Dd9AfGox.js +2 -0
- package/dist/chunks/button.component-Dd9AfGox.js.map +1 -0
- package/dist/chunks/buttonGroup.component-B3nqpiRU.js +2 -0
- package/dist/chunks/buttonGroup.component-B3nqpiRU.js.map +1 -0
- package/dist/chunks/buttonGroup.component-Q7Ul0yrS.js +77 -0
- package/dist/chunks/buttonGroup.component-Q7Ul0yrS.js.map +1 -0
- package/dist/chunks/card.component-DNX41NGG.js +59 -0
- package/dist/chunks/card.component-DNX41NGG.js.map +1 -0
- package/dist/chunks/card.component-KNc4HKSh.js +2 -0
- package/dist/chunks/card.component-KNc4HKSh.js.map +1 -0
- package/dist/chunks/card.types-Cixp7ouC.js +5 -0
- package/dist/chunks/card.types-Cixp7ouC.js.map +1 -0
- package/dist/chunks/card.types-MvkQTTZF.js +2 -0
- package/dist/chunks/card.types-MvkQTTZF.js.map +1 -0
- package/dist/chunks/characterCounter.component-CNo6Xau3.js +110 -0
- package/dist/chunks/characterCounter.component-CNo6Xau3.js.map +1 -0
- package/dist/chunks/characterCounter.component-D1qCNVkb.js +2 -0
- package/dist/chunks/characterCounter.component-D1qCNVkb.js.map +1 -0
- package/dist/chunks/checkbox.component-CxnOW6Sj.js +2 -0
- package/dist/chunks/checkbox.component-CxnOW6Sj.js.map +1 -0
- package/dist/chunks/checkbox.component-GElI75y2.js +310 -0
- package/dist/chunks/checkbox.component-GElI75y2.js.map +1 -0
- package/dist/chunks/checkbox.records-4j704fMI.js +266 -0
- package/dist/chunks/checkbox.records-4j704fMI.js.map +1 -0
- package/dist/chunks/checkbox.records-DI3mqSNf.js +2 -0
- package/dist/chunks/checkbox.records-DI3mqSNf.js.map +1 -0
- package/dist/chunks/checkboxGroup.component-CvEAkFlp.js +52 -0
- package/dist/chunks/checkboxGroup.component-CvEAkFlp.js.map +1 -0
- package/dist/chunks/checkboxGroup.component-Dc39GJV4.js +2 -0
- package/dist/chunks/checkboxGroup.component-Dc39GJV4.js.map +1 -0
- package/dist/chunks/config-BFcXpdZo.js +2 -0
- package/dist/chunks/config-BFcXpdZo.js.map +1 -0
- package/dist/chunks/config-DlTdf-Yt.js +57 -0
- package/dist/chunks/config-DlTdf-Yt.js.map +1 -0
- package/dist/chunks/conversationCard.component-CHm8X5MK.js +2 -0
- package/dist/chunks/conversationCard.component-CHm8X5MK.js.map +1 -0
- package/dist/chunks/conversationCard.component-DnIpQo_a.js +385 -0
- package/dist/chunks/conversationCard.component-DnIpQo_a.js.map +1 -0
- package/dist/chunks/create-recipe-context-D7FewUR4.js +62 -0
- package/dist/chunks/create-recipe-context-D7FewUR4.js.map +1 -0
- package/dist/chunks/create-recipe-context-sESms8Eo.js +2 -0
- package/dist/chunks/create-recipe-context-sESms8Eo.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-BJmsuxih.js +97 -0
- package/dist/chunks/create-slot-recipe-context-BJmsuxih.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js +2 -0
- package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js.map +1 -0
- package/dist/chunks/datePicker.component-52I2TBMS.js +15 -0
- package/dist/chunks/datePicker.component-52I2TBMS.js.map +1 -0
- package/dist/chunks/datePicker.component-BRCI3x7q.js +3164 -0
- package/dist/chunks/datePicker.component-BRCI3x7q.js.map +1 -0
- package/dist/chunks/dialog-trigger-MkOQUjzu.js +2 -0
- package/dist/chunks/dialog-trigger-MkOQUjzu.js.map +1 -0
- package/dist/chunks/dialog-trigger-eqGXDXGQ.js +78 -0
- package/dist/chunks/dialog-trigger-eqGXDXGQ.js.map +1 -0
- package/dist/chunks/divider.types-0j5qRXed.js +47 -0
- package/dist/chunks/divider.types-0j5qRXed.js.map +1 -0
- package/dist/chunks/divider.types-CK5oFy-i.js +2 -0
- package/dist/chunks/divider.types-CK5oFy-i.js.map +1 -0
- package/dist/chunks/empty-B5_AO6Pg.js +2 -0
- package/dist/chunks/empty-B5_AO6Pg.js.map +1 -0
- package/dist/chunks/empty-BU2EAux9.js +8 -0
- package/dist/chunks/empty-BU2EAux9.js.map +1 -0
- package/dist/chunks/factory-Ctbv0Ozn.js +500 -0
- package/dist/chunks/factory-Ctbv0Ozn.js.map +1 -0
- package/dist/chunks/factory-D6tdBUPG.js +3 -0
- package/dist/chunks/factory-D6tdBUPG.js.map +1 -0
- package/dist/chunks/flex-D14H6HbP.js +2 -0
- package/dist/chunks/flex-D14H6HbP.js.map +1 -0
- package/dist/chunks/flex-smlF8uQG.js +40 -0
- package/dist/chunks/flex-smlF8uQG.js.map +1 -0
- package/dist/chunks/float-DYLtz2A6.js +64 -0
- package/dist/chunks/float-DYLtz2A6.js.map +1 -0
- package/dist/chunks/float-OQXnYWBw.js +2 -0
- package/dist/chunks/float-OQXnYWBw.js.map +1 -0
- package/dist/chunks/format-BRt-TIiQ.js +2 -0
- package/dist/chunks/format-BRt-TIiQ.js.map +1 -0
- package/dist/chunks/format-DgHM6wFr.js +1275 -0
- package/dist/chunks/format-DgHM6wFr.js.map +1 -0
- package/dist/chunks/grid-item-BV4dwEBP.js +90 -0
- package/dist/chunks/grid-item-BV4dwEBP.js.map +1 -0
- package/dist/chunks/grid-item-CR-sXrjU.js +2 -0
- package/dist/chunks/grid-item-CR-sXrjU.js.map +1 -0
- package/dist/chunks/group-Cv7AQw1b.js +2 -0
- package/dist/chunks/group-Cv7AQw1b.js.map +1 -0
- package/dist/chunks/group-DPCVolOl.js +139 -0
- package/dist/chunks/group-DPCVolOl.js.map +1 -0
- package/dist/chunks/h-stack-Bjx9hlJo.js +2 -0
- package/dist/chunks/h-stack-Bjx9hlJo.js.map +1 -0
- package/dist/chunks/h-stack-Ce6JSBK2.js +12 -0
- package/dist/chunks/h-stack-Ce6JSBK2.js.map +1 -0
- package/dist/chunks/heading.component-C7W_ipcL.js +12 -0
- package/dist/chunks/heading.component-C7W_ipcL.js.map +1 -0
- package/dist/chunks/heading.component-dGH5sXSB.js +2 -0
- package/dist/chunks/heading.component-dGH5sXSB.js.map +1 -0
- package/dist/chunks/icon-button-DTZOklQ9.js +119 -0
- package/dist/chunks/icon-button-DTZOklQ9.js.map +1 -0
- package/dist/chunks/icon-button-DtjZ-SdQ.js +2 -0
- package/dist/chunks/icon-button-DtjZ-SdQ.js.map +1 -0
- package/dist/chunks/icon.component-C0e0UGBw.js +2 -0
- package/dist/chunks/icon.component-C0e0UGBw.js.map +1 -0
- package/dist/chunks/icon.component-DGNCL1Yc.js +42 -0
- package/dist/chunks/icon.component-DGNCL1Yc.js.map +1 -0
- package/dist/chunks/icons-BXxdrBrf.js +216 -0
- package/dist/chunks/icons-BXxdrBrf.js.map +1 -0
- package/dist/chunks/icons-CTpAjbC-.js +2 -0
- package/dist/chunks/icons-CTpAjbC-.js.map +1 -0
- package/dist/chunks/index-BR7peqZO.js +2 -0
- package/dist/chunks/index-BR7peqZO.js.map +1 -0
- package/dist/chunks/index-Bff1r_rH.js +389 -0
- package/dist/chunks/index-Bff1r_rH.js.map +1 -0
- package/dist/chunks/index-BknUKotT.js +38 -0
- package/dist/chunks/index-BknUKotT.js.map +1 -0
- package/dist/chunks/index-Bz8HDeWA.js +70 -0
- package/dist/chunks/index-Bz8HDeWA.js.map +1 -0
- package/dist/chunks/index-CHIISuTq.js +3 -0
- package/dist/chunks/index-CHIISuTq.js.map +1 -0
- package/dist/chunks/index-CJLttzPM.js +141 -0
- package/dist/chunks/index-CJLttzPM.js.map +1 -0
- package/dist/chunks/index-CS8X6LiC.js +2 -0
- package/dist/chunks/index-CS8X6LiC.js.map +1 -0
- package/dist/chunks/index-C_AXAeNS.js +290 -0
- package/dist/chunks/index-C_AXAeNS.js.map +1 -0
- package/dist/chunks/index-Cbkb_94C.js +1195 -0
- package/dist/chunks/index-Cbkb_94C.js.map +1 -0
- package/dist/chunks/index-CgivotaP.js +20 -0
- package/dist/chunks/index-CgivotaP.js.map +1 -0
- package/dist/chunks/index-CkYZf9Pm.js +2 -0
- package/dist/chunks/index-CkYZf9Pm.js.map +1 -0
- package/dist/chunks/index-CtXUprYH.js +2 -0
- package/dist/chunks/index-CtXUprYH.js.map +1 -0
- package/dist/chunks/index-DAWHN3cH.js +86 -0
- package/dist/chunks/index-DAWHN3cH.js.map +1 -0
- package/dist/chunks/index-DBk0LkcO.js +2 -0
- package/dist/chunks/index-DBk0LkcO.js.map +1 -0
- package/dist/chunks/index-DD49WSSW.js +2 -0
- package/dist/chunks/index-DD49WSSW.js.map +1 -0
- package/dist/chunks/index-DOXzraja.js +2 -0
- package/dist/chunks/index-DOXzraja.js.map +1 -0
- package/dist/chunks/index-DSedXH1s.js +2 -0
- package/dist/chunks/index-DSedXH1s.js.map +1 -0
- package/dist/chunks/index-DUY19L6M.js +6312 -0
- package/dist/chunks/index-DUY19L6M.js.map +1 -0
- package/dist/chunks/index-DVNjUEDJ.js +257 -0
- package/dist/chunks/index-DVNjUEDJ.js.map +1 -0
- package/dist/chunks/index-DbTEJc-K.js +2 -0
- package/dist/chunks/index-DbTEJc-K.js.map +1 -0
- package/dist/chunks/index-DowO8Ued.js +2 -0
- package/dist/chunks/index-DowO8Ued.js.map +1 -0
- package/dist/chunks/index-L197Dry5.js +375 -0
- package/dist/chunks/index-L197Dry5.js.map +1 -0
- package/dist/chunks/index-OpolRlgD.js +444 -0
- package/dist/chunks/index-OpolRlgD.js.map +1 -0
- package/dist/chunks/index-QTIBH1Or.js +2 -0
- package/dist/chunks/index-QTIBH1Or.js.map +1 -0
- package/dist/chunks/index-YtNA0Ueo.js +1328 -0
- package/dist/chunks/index-YtNA0Ueo.js.map +1 -0
- package/dist/chunks/index-cSjUS7Xj.js +1189 -0
- package/dist/chunks/index-cSjUS7Xj.js.map +1 -0
- package/dist/chunks/index-iaug4k6v.js +8 -0
- package/dist/chunks/index-iaug4k6v.js.map +1 -0
- package/dist/chunks/index-iyefwwxw.js +2 -0
- package/dist/chunks/index-iyefwwxw.js.map +1 -0
- package/dist/chunks/jsx-runtime-BjDatQAs.js +23 -0
- package/dist/chunks/jsx-runtime-BjDatQAs.js.map +1 -0
- package/dist/chunks/jsx-runtime-C5mzlN2N.js +285 -0
- package/dist/chunks/jsx-runtime-C5mzlN2N.js.map +1 -0
- package/dist/chunks/link.component-CCFg-LIe.js +2 -0
- package/dist/chunks/link.component-CCFg-LIe.js.map +1 -0
- package/dist/chunks/link.component-DprieyUG.js +60 -0
- package/dist/chunks/link.component-DprieyUG.js.map +1 -0
- package/dist/chunks/list-C_LmDoyW.js +2 -0
- package/dist/chunks/list-C_LmDoyW.js.map +1 -0
- package/dist/chunks/list-DqH5ttQG.js +20 -0
- package/dist/chunks/list-DqH5ttQG.js.map +1 -0
- package/dist/chunks/logo.types-By8TqyNf.js +76 -0
- package/dist/chunks/logo.types-By8TqyNf.js.map +1 -0
- package/dist/chunks/logo.types-CA_5hGAi.js +2 -0
- package/dist/chunks/logo.types-CA_5hGAi.js.map +1 -0
- package/dist/chunks/menu.component-BGGElaYy.js +2 -0
- package/dist/chunks/menu.component-BGGElaYy.js.map +1 -0
- package/dist/chunks/menu.component-CFYFhp7-.js +678 -0
- package/dist/chunks/menu.component-CFYFhp7-.js.map +1 -0
- package/dist/chunks/modal.context-DSKLfsJK.js +12 -0
- package/dist/chunks/modal.context-DSKLfsJK.js.map +1 -0
- package/dist/chunks/modal.context-EJ67QNzq.js +2 -0
- package/dist/chunks/modal.context-EJ67QNzq.js.map +1 -0
- package/dist/chunks/modal.types-Bpoq1pcb.js +2 -0
- package/dist/chunks/modal.types-Bpoq1pcb.js.map +1 -0
- package/dist/chunks/modal.types-CUUJVRPN.js +206 -0
- package/dist/chunks/modal.types-CUUJVRPN.js.map +1 -0
- package/dist/chunks/notificationCounter.component-Bei8mHSZ.js +127 -0
- package/dist/chunks/notificationCounter.component-Bei8mHSZ.js.map +1 -0
- package/dist/chunks/notificationCounter.component-BhZcuBmr.js +2 -0
- package/dist/chunks/notificationCounter.component-BhZcuBmr.js.map +1 -0
- package/dist/chunks/notificationCounter.types-B_-siNfi.js +2 -0
- package/dist/chunks/notificationCounter.types-B_-siNfi.js.map +1 -0
- package/dist/chunks/notificationCounter.types-S7ENT1Oj.js +11 -0
- package/dist/chunks/notificationCounter.types-S7ENT1Oj.js.map +1 -0
- package/dist/chunks/omit-C-j4TrF5.js +10 -0
- package/dist/chunks/omit-C-j4TrF5.js.map +1 -0
- package/dist/chunks/omit-DqNeoZ8h.js +2 -0
- package/dist/chunks/omit-DqNeoZ8h.js.map +1 -0
- package/dist/chunks/picture.component-C2C2r_BU.js +2 -0
- package/dist/chunks/picture.component-C2C2r_BU.js.map +1 -0
- package/dist/chunks/picture.component-DKbaaL64.js +35 -0
- package/dist/chunks/picture.component-DKbaaL64.js.map +1 -0
- package/dist/chunks/pinInput.types-DX8ognpo.js +161 -0
- package/dist/chunks/pinInput.types-DX8ognpo.js.map +1 -0
- package/dist/chunks/pinInput.types-OnwTDVZV.js +2 -0
- package/dist/chunks/pinInput.types-OnwTDVZV.js.map +1 -0
- package/dist/chunks/popover-BSBYgvs4.js +2 -0
- package/dist/chunks/popover-BSBYgvs4.js.map +1 -0
- package/dist/chunks/popover-DNKVYG-J.js +110 -0
- package/dist/chunks/popover-DNKVYG-J.js.map +1 -0
- package/dist/chunks/popover-root-provider-BErev2-N.js +43 -0
- package/dist/chunks/popover-root-provider-BErev2-N.js.map +1 -0
- package/dist/chunks/popover-root-provider-C2iwUZJn.js +2 -0
- package/dist/chunks/popover-root-provider-C2iwUZJn.js.map +1 -0
- package/dist/chunks/popover.component-B1TLfpqD.js +2 -0
- package/dist/chunks/popover.component-B1TLfpqD.js.map +1 -0
- package/dist/chunks/popover.component-CDGsZ6d_.js +387 -0
- package/dist/chunks/popover.component-CDGsZ6d_.js.map +1 -0
- package/dist/chunks/provider-ClCAdPxy.js +47 -0
- package/dist/chunks/provider-ClCAdPxy.js.map +1 -0
- package/dist/chunks/provider-NDo8kOkE.js +2 -0
- package/dist/chunks/provider-NDo8kOkE.js.map +1 -0
- package/dist/chunks/radio.records-4ih1q8nO.js +382 -0
- package/dist/chunks/radio.records-4ih1q8nO.js.map +1 -0
- package/dist/chunks/radio.records-j0JOqaJ4.js +2 -0
- package/dist/chunks/radio.records-j0JOqaJ4.js.map +1 -0
- package/dist/chunks/radioGroup.component-C8_NKfl7.js +2 -0
- package/dist/chunks/radioGroup.component-C8_NKfl7.js.map +1 -0
- package/dist/chunks/radioGroup.component-yIs1Q3VP.js +275 -0
- package/dist/chunks/radioGroup.component-yIs1Q3VP.js.map +1 -0
- package/dist/chunks/ratingDots.component-CnCN-czr.js +158 -0
- package/dist/chunks/ratingDots.component-CnCN-czr.js.map +1 -0
- package/dist/chunks/ratingDots.component-Dr2p3X9o.js +2 -0
- package/dist/chunks/ratingDots.component-Dr2p3X9o.js.map +1 -0
- package/dist/chunks/render-strategy-CHp7lb6C.js +12 -0
- package/dist/chunks/render-strategy-CHp7lb6C.js.map +1 -0
- package/dist/chunks/render-strategy-C_zp9LNQ.js +2 -0
- package/dist/chunks/render-strategy-C_zp9LNQ.js.map +1 -0
- package/dist/chunks/select.component-DtvSUpfM.js +391 -0
- package/dist/chunks/select.component-DtvSUpfM.js.map +1 -0
- package/dist/chunks/select.component-l3N_dfXw.js +2 -0
- package/dist/chunks/select.component-l3N_dfXw.js.map +1 -0
- package/dist/chunks/sortableList.component-CNysbmV6.js +3364 -0
- package/dist/chunks/sortableList.component-CNysbmV6.js.map +1 -0
- package/dist/chunks/sortableList.component-fhJaRd25.js +6 -0
- package/dist/chunks/sortableList.component-fhJaRd25.js.map +1 -0
- package/dist/chunks/spinner-BWqSIW6m.js +8 -0
- package/dist/chunks/spinner-BWqSIW6m.js.map +1 -0
- package/dist/chunks/spinner-BnpL14kK.js +2 -0
- package/dist/chunks/spinner-BnpL14kK.js.map +1 -0
- package/dist/chunks/spinner.component-BJ6rOgt8.js +179 -0
- package/dist/chunks/spinner.component-BJ6rOgt8.js.map +1 -0
- package/dist/chunks/spinner.component-oz9gjaVV.js +2 -0
- package/dist/chunks/spinner.component-oz9gjaVV.js.map +1 -0
- package/dist/chunks/stack-BKu3hWEQ.js +2 -0
- package/dist/chunks/stack-BKu3hWEQ.js.map +1 -0
- package/dist/chunks/stack-Dnuh5Zgf.js +85 -0
- package/dist/chunks/stack-Dnuh5Zgf.js.map +1 -0
- package/dist/chunks/styledAvatar.types-BvW6YJrl.js +2 -0
- package/dist/chunks/styledAvatar.types-BvW6YJrl.js.map +1 -0
- package/dist/chunks/styledAvatar.types-SAw52UC4.js +64 -0
- package/dist/chunks/styledAvatar.types-SAw52UC4.js.map +1 -0
- package/dist/chunks/swatch.types-DbgA3RWc.js +67 -0
- package/dist/chunks/swatch.types-DbgA3RWc.js.map +1 -0
- package/dist/chunks/swatch.types-DiX-4lpJ.js +2 -0
- package/dist/chunks/swatch.types-DiX-4lpJ.js.map +1 -0
- package/dist/chunks/switch.component-C1hrMzRm.js +166 -0
- package/dist/chunks/switch.component-C1hrMzRm.js.map +1 -0
- package/dist/chunks/switch.component-DFQ_b2At.js +2 -0
- package/dist/chunks/switch.component-DFQ_b2At.js.map +1 -0
- package/dist/chunks/tabs.component-CI6YyzcT.js +2 -0
- package/dist/chunks/tabs.component-CI6YyzcT.js.map +1 -0
- package/dist/chunks/tabs.component-CmBdxZ28.js +639 -0
- package/dist/chunks/tabs.component-CmBdxZ28.js.map +1 -0
- package/dist/chunks/tag.component-C6a6EzZB.js +2 -0
- package/dist/chunks/tag.component-C6a6EzZB.js.map +1 -0
- package/dist/chunks/tag.component-pexJ0TAT.js +82 -0
- package/dist/chunks/tag.component-pexJ0TAT.js.map +1 -0
- package/dist/chunks/tagBlock.component-33yx8LBM.js +186 -0
- package/dist/chunks/tagBlock.component-33yx8LBM.js.map +1 -0
- package/dist/chunks/tagBlock.component-p44L1Jc9.js +2 -0
- package/dist/chunks/tagBlock.component-p44L1Jc9.js.map +1 -0
- package/dist/chunks/text.component-Ck6rZy2v.js +12 -0
- package/dist/chunks/text.component-Ck6rZy2v.js.map +1 -0
- package/dist/chunks/text.component-H5f43IC6.js +2 -0
- package/dist/chunks/text.component-H5f43IC6.js.map +1 -0
- package/dist/chunks/textInput.component-CUKklyGx.js +180 -0
- package/dist/chunks/textInput.component-CUKklyGx.js.map +1 -0
- package/dist/chunks/textInput.component-Cla6KfBZ.js +2 -0
- package/dist/chunks/textInput.component-Cla6KfBZ.js.map +1 -0
- package/dist/chunks/textarea.component-BcL2jK0X.js +98 -0
- package/dist/chunks/textarea.component-BcL2jK0X.js.map +1 -0
- package/dist/chunks/textarea.component-XYJZDZmM.js +2 -0
- package/dist/chunks/textarea.component-XYJZDZmM.js.map +1 -0
- package/dist/chunks/theme.provider-FIFC-_Wf.js +13686 -0
- package/dist/chunks/theme.provider-FIFC-_Wf.js.map +1 -0
- package/dist/chunks/theme.provider-oCz4Rrwj.js +26 -0
- package/dist/chunks/theme.provider-oCz4Rrwj.js.map +1 -0
- package/dist/chunks/timePicker.component-CMouXVow.js +248 -0
- package/dist/chunks/timePicker.component-CMouXVow.js.map +1 -0
- package/dist/chunks/timePicker.component-ClmXeH3U.js +2 -0
- package/dist/chunks/timePicker.component-ClmXeH3U.js.map +1 -0
- package/dist/chunks/timeRange.component-DKkwvibd.js +2 -0
- package/dist/chunks/timeRange.component-DKkwvibd.js.map +1 -0
- package/dist/chunks/timeRange.component-nrPWV1NY.js +18 -0
- package/dist/chunks/timeRange.component-nrPWV1NY.js.map +1 -0
- package/dist/chunks/timestamp.component-CNzJfora.js +2 -0
- package/dist/chunks/timestamp.component-CNzJfora.js.map +1 -0
- package/dist/chunks/timestamp.component-Dtn5KtVA.js +54 -0
- package/dist/chunks/timestamp.component-Dtn5KtVA.js.map +1 -0
- package/dist/chunks/toaster.records-CcwOeMM7.js +823 -0
- package/dist/chunks/toaster.records-CcwOeMM7.js.map +1 -0
- package/dist/chunks/toaster.records-zJfplz5w.js +2 -0
- package/dist/chunks/toaster.records-zJfplz5w.js.map +1 -0
- package/dist/chunks/tooltip.component-BdlSO_v_.js +491 -0
- package/dist/chunks/tooltip.component-BdlSO_v_.js.map +1 -0
- package/dist/chunks/tooltip.component-Dq7F5JIs.js +2 -0
- package/dist/chunks/tooltip.component-Dq7F5JIs.js.map +1 -0
- package/dist/chunks/typography.records-CSy2LmDd.js +2 -0
- package/dist/chunks/typography.records-CSy2LmDd.js.map +1 -0
- package/dist/chunks/typography.records-H4aA5AOA.js +66 -0
- package/dist/chunks/typography.records-H4aA5AOA.js.map +1 -0
- package/dist/chunks/use-breakpoint-MQ7agQJe.js +72 -0
- package/dist/chunks/use-breakpoint-MQ7agQJe.js.map +1 -0
- package/dist/chunks/use-breakpoint-uBg4-8yY.js +2 -0
- package/dist/chunks/use-breakpoint-uBg4-8yY.js.map +1 -0
- package/dist/chunks/use-field-context-CArmgHPP.js +2 -0
- package/dist/chunks/use-field-context-CArmgHPP.js.map +1 -0
- package/dist/chunks/use-field-context-Cm3grEyV.js +12 -0
- package/dist/chunks/use-field-context-Cm3grEyV.js.map +1 -0
- package/dist/chunks/use-locale-context-BiiNTYMT.js +2301 -0
- package/dist/chunks/use-locale-context-BiiNTYMT.js.map +1 -0
- package/dist/chunks/use-locale-context-D0LByRu9.js +22 -0
- package/dist/chunks/use-locale-context-D0LByRu9.js.map +1 -0
- package/dist/chunks/use-recipe-DaPWl_pL.js +2 -0
- package/dist/chunks/use-recipe-DaPWl_pL.js.map +1 -0
- package/dist/chunks/use-recipe-d63ABaZ3.js +13 -0
- package/dist/chunks/use-recipe-d63ABaZ3.js.map +1 -0
- package/dist/chunks/use-slot-recipe-8liupslO.js +2 -0
- package/dist/chunks/use-slot-recipe-8liupslO.js.map +1 -0
- package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +13 -0
- package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +1 -0
- package/dist/chunks/v-stack-BZT7R_9f.js +12 -0
- package/dist/chunks/v-stack-BZT7R_9f.js.map +1 -0
- package/dist/chunks/v-stack-DxjgpeJ0.js +2 -0
- package/dist/chunks/v-stack-DxjgpeJ0.js.map +1 -0
- package/dist/chunks/walk-object-BrTExCqQ.js +2 -0
- package/dist/chunks/walk-object-BrTExCqQ.js.map +1 -0
- package/dist/chunks/walk-object-_CL3Bkm9.js +28 -0
- package/dist/chunks/walk-object-_CL3Bkm9.js.map +1 -0
- package/dist/chunks/withFormControl-C8knrDok.js +2 -0
- package/dist/chunks/withFormControl-C8knrDok.js.map +1 -0
- package/dist/chunks/withFormControl-CwPfUb2g.js +376 -0
- package/dist/chunks/withFormControl-CwPfUb2g.js.map +1 -0
- package/dist/chunks/withTruncation-C_btJ8Nx.js +2 -0
- package/dist/chunks/withTruncation-C_btJ8Nx.js.map +1 -0
- package/dist/chunks/withTruncation-D6letsku.js +67 -0
- package/dist/chunks/withTruncation-D6letsku.js.map +1 -0
- package/dist/chunks/wrap-B8tBNeBY.js +45 -0
- package/dist/chunks/wrap-B8tBNeBY.js.map +1 -0
- package/dist/chunks/wrap-CNn1kyJX.js +2 -0
- package/dist/chunks/wrap-CNn1kyJX.js.map +1 -0
- package/dist/cjs/chakra/index.cjs +2 -0
- package/dist/cjs/chakra/index.cjs.map +1 -0
- package/dist/cjs/cli/generate-theme-types.cjs +6 -0
- package/dist/cjs/cli/generate-theme-types.cjs.map +1 -0
- package/dist/cjs/cli/postinstall.cjs +3 -0
- package/dist/cjs/cli/postinstall.cjs.map +1 -0
- package/dist/cjs/components/Alert/index.cjs +1 -1
- package/dist/cjs/components/Avatar/index.cjs +1 -1
- package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
- package/dist/cjs/components/Button/index.cjs +1 -1
- package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
- package/dist/cjs/components/Card/index.cjs +1 -1
- package/dist/cjs/components/Card/index.cjs.map +1 -1
- package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
- package/dist/cjs/components/Checkbox/index.cjs +1 -1
- package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
- package/dist/cjs/components/ConversationCard/index.cjs +2 -0
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/Divider/index.cjs +2 -0
- package/dist/cjs/components/Heading/index.cjs +1 -1
- package/dist/cjs/components/Icon/generated/index.cjs +1 -1
- package/dist/cjs/components/Icon/generated/index.cjs.map +1 -1
- package/dist/cjs/components/Icon/index.cjs +1 -1
- package/dist/cjs/components/Link/index.cjs +1 -1
- package/dist/cjs/components/Logo/generated/index.cjs +2 -0
- package/dist/cjs/components/Logo/index.cjs +2 -0
- package/dist/cjs/components/Menu/index.cjs +1 -1
- package/dist/cjs/components/Modal/index.cjs +1 -1
- package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
- package/dist/cjs/components/NotificationCounter/index.cjs.map +1 -1
- package/dist/cjs/components/Picture/index.cjs +1 -1
- package/dist/cjs/components/Picture/index.cjs.map +1 -1
- package/dist/cjs/components/PinInput/index.cjs +2 -0
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- package/dist/cjs/components/RatingDots/index.cjs +1 -1
- package/dist/cjs/components/Select/index.cjs +1 -1
- package/dist/cjs/components/SortableList/index.cjs +1 -1
- package/dist/cjs/components/Spinner/index.cjs +1 -1
- package/dist/cjs/components/StyledAvatar/index.cjs +2 -0
- package/dist/cjs/components/StyledAvatar/index.cjs.map +1 -0
- package/dist/cjs/components/Swatch/index.cjs +1 -1
- package/dist/cjs/components/Swatch/index.cjs.map +1 -1
- package/dist/cjs/components/Switch/index.cjs +1 -1
- package/dist/cjs/components/Tabs/index.cjs +1 -1
- package/dist/cjs/components/Tag/index.cjs +1 -1
- package/dist/cjs/components/TagBlock/index.cjs +2 -0
- package/dist/cjs/components/TagBlock/index.cjs.map +1 -0
- package/dist/cjs/components/Text/index.cjs +1 -1
- package/dist/cjs/components/TextInput/index.cjs +1 -1
- package/dist/cjs/components/Textarea/index.cjs +1 -1
- package/dist/cjs/components/TimePicker/index.cjs +1 -1
- package/dist/cjs/components/TimeRange/index.cjs +1 -1
- package/dist/cjs/components/Timestamp/index.cjs +2 -0
- package/dist/cjs/components/Timestamp/index.cjs.map +1 -0
- package/dist/cjs/components/Toast/index.cjs +2 -0
- package/dist/cjs/components/Toast/index.cjs.map +1 -0
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/hocs/index.cjs +1 -1
- package/dist/cjs/hocs/index.cjs.map +1 -1
- package/dist/cjs/hooks/index.cjs +1 -1
- package/dist/cjs/hooks/index.cjs.map +1 -1
- package/dist/cjs/hooks/useBreakpoint/index.cjs +2 -0
- package/dist/cjs/hooks/useBreakpoint/index.cjs.map +1 -0
- package/dist/cjs/hooks/useDeviceType/index.cjs +2 -0
- package/dist/cjs/hooks/useDeviceType/index.cjs.map +1 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/shared/index.cjs +2 -0
- package/dist/cjs/shared/index.cjs.map +1 -0
- package/dist/cjs/shared/records/index.cjs +2 -0
- package/dist/cjs/shared/records/index.cjs.map +1 -0
- package/dist/cjs/theme/index.cjs +1 -23
- package/dist/cjs/theme/index.cjs.map +1 -1
- package/dist/esm/chakra/index.js +3227 -0
- package/dist/esm/chakra/index.js.map +1 -0
- package/dist/esm/cli/generate-theme-types.js +22 -0
- package/dist/esm/cli/generate-theme-types.js.map +1 -0
- package/dist/esm/cli/postinstall.js +21 -0
- package/dist/esm/cli/postinstall.js.map +1 -0
- package/dist/esm/components/Alert/index.js +1 -1
- package/dist/esm/components/Avatar/index.js +1 -1
- package/dist/esm/components/AvatarGroup/index.js +1 -1
- package/dist/esm/components/Button/index.js +1 -1
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/Card/index.js +4 -4
- package/dist/esm/components/Card/index.js.map +1 -1
- package/dist/esm/components/CharacterCounter/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/CheckboxGroup/index.js +1 -1
- package/dist/esm/components/ConversationCard/index.js +5 -0
- package/dist/esm/components/DatePicker/index.js +1 -1
- package/dist/esm/components/Divider/index.js +8 -0
- package/dist/esm/components/Heading/index.js +1 -1
- package/dist/esm/components/Icon/generated/index.js +373 -338
- package/dist/esm/components/Icon/generated/index.js.map +1 -1
- package/dist/esm/components/Icon/index.js +1 -1
- package/dist/esm/components/Link/index.js +1 -1
- package/dist/esm/components/Logo/generated/index.js +6 -0
- package/dist/esm/components/Logo/index.js +7 -0
- package/dist/esm/components/Menu/index.js +1 -1
- package/dist/esm/components/Modal/index.js +1 -1
- package/dist/esm/components/NotificationCounter/index.js +4 -9
- package/dist/esm/components/NotificationCounter/index.js.map +1 -1
- package/dist/esm/components/Picture/index.js +1 -16
- package/dist/esm/components/Picture/index.js.map +1 -1
- package/dist/esm/components/PinInput/index.js +6 -0
- package/dist/esm/components/PinInput/index.js.map +1 -0
- package/dist/esm/components/Popover/index.js +1 -1
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/RatingDots/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/SortableList/index.js +1 -1
- package/dist/esm/components/Spinner/index.js +1 -1
- package/dist/esm/components/StyledAvatar/index.js +6 -0
- package/dist/esm/components/StyledAvatar/index.js.map +1 -0
- package/dist/esm/components/Swatch/index.js +3 -62
- package/dist/esm/components/Swatch/index.js.map +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +1 -1
- package/dist/esm/components/Tag/index.js +1 -1
- package/dist/esm/components/TagBlock/index.js +6 -0
- package/dist/esm/components/TagBlock/index.js.map +1 -0
- package/dist/esm/components/Text/index.js +1 -1
- package/dist/esm/components/TextInput/index.js +1 -1
- package/dist/esm/components/Textarea/index.js +1 -1
- package/dist/esm/components/TimePicker/index.js +1 -1
- package/dist/esm/components/TimeRange/index.js +1 -1
- package/dist/esm/components/Timestamp/index.js +5 -0
- package/dist/esm/components/Timestamp/index.js.map +1 -0
- package/dist/esm/components/Toast/index.js +59 -0
- package/dist/esm/components/Toast/index.js.map +1 -0
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +117 -93
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/hocs/index.js +3 -35
- package/dist/esm/hocs/index.js.map +1 -1
- package/dist/esm/hooks/index.js +7 -17
- package/dist/esm/hooks/index.js.map +1 -1
- package/dist/esm/hooks/useBreakpoint/index.js +12 -0
- package/dist/esm/hooks/useBreakpoint/index.js.map +1 -0
- package/dist/esm/hooks/useDeviceType/index.js +12 -0
- package/dist/esm/hooks/useDeviceType/index.js.map +1 -0
- package/dist/esm/index.js +138 -100
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/shared/index.js +9 -0
- package/dist/esm/shared/index.js.map +1 -0
- package/dist/esm/shared/records/index.js +18 -0
- package/dist/esm/shared/records/index.js.map +1 -0
- package/dist/esm/theme/index.js +3 -2607
- package/dist/esm/theme/index.js.map +1 -1
- package/dist/types/chakra/index.d.ts +52 -0
- package/dist/types/cli/generate-theme-types.d.ts +2 -0
- package/dist/types/cli/postinstall.d.ts +2 -0
- package/dist/types/components/Alert/alert.component.d.ts +10 -19
- package/dist/types/components/Alert/alert.recipe.d.ts +25 -0
- package/dist/types/components/Alert/alert.types.d.ts +2 -0
- package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +3 -4
- package/dist/types/components/Alert/index.d.ts +2 -3
- package/dist/types/components/Avatar/avatar.component.d.ts +4 -5
- package/dist/types/components/Avatar/avatar.recipe.d.ts +60 -0
- package/dist/types/components/Avatar/avatar.types.d.ts +4 -0
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +5 -6
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.recipe.d.ts +9 -0
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.records.d.ts +3 -0
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.types.d.ts +2 -0
- package/dist/types/components/Avatar/components/AvatarRemoveButton/avatarRemoveButton.component.d.ts +0 -1
- package/dist/types/components/Avatar/index.d.ts +2 -3
- package/dist/types/components/AvatarGroup/avatarGroup.component.d.ts +2 -3
- package/dist/types/components/AvatarGroup/index.d.ts +1 -2
- package/dist/types/components/Button/button.component.d.ts +4 -6
- package/dist/types/components/Button/button.recipe.d.ts +5 -0
- package/dist/types/components/Button/button.types.d.ts +10 -0
- package/dist/types/components/Button/index.d.ts +2 -3
- package/dist/types/components/ButtonGroup/buttonGroup.component.d.ts +3 -4
- package/dist/types/components/ButtonGroup/buttonGroup.types.d.ts +2 -0
- package/dist/types/components/ButtonGroup/index.d.ts +2 -3
- package/dist/types/components/Card/card.component.d.ts +2 -3
- package/dist/types/components/Card/card.records.d.ts +2 -0
- package/dist/types/components/Card/card.types.d.ts +2 -0
- package/dist/types/components/Card/index.d.ts +2 -3
- package/dist/types/components/CharacterCounter/characterCounter.component.d.ts +0 -1
- package/dist/types/components/CharacterCounter/characterCounter.recipe.d.ts +34 -0
- package/dist/types/components/CharacterCounter/index.d.ts +1 -2
- package/dist/types/components/Checkbox/checkbox.component.d.ts +2 -3
- package/dist/types/components/Checkbox/checkbox.recipe.d.ts +11 -0
- package/dist/types/components/Checkbox/checkbox.records.d.ts +3 -0
- package/dist/types/components/Checkbox/index.d.ts +1 -2
- package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +3 -4
- package/dist/types/components/CheckboxGroup/index.d.ts +1 -2
- package/dist/types/components/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +8 -0
- package/dist/types/components/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +21 -0
- package/dist/types/components/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +8 -0
- package/dist/types/components/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +9 -0
- package/dist/types/components/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +13 -0
- package/dist/types/components/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +9 -0
- package/dist/types/components/ConversationCard/conversationCard.component.d.ts +23 -0
- package/dist/types/components/ConversationCard/index.d.ts +1 -0
- package/dist/types/components/DatePicker/components/DatePickerCalendar/datePickerCalendar.component.d.ts +0 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +0 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.d.ts +22 -0
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.types.d.ts +1 -0
- package/dist/types/components/DatePicker/components/DatePickerFooter/datePickerFooter.component.d.ts +1 -2
- package/dist/types/components/DatePicker/components/DatePickerHeader/datePickerHeader.component.d.ts +0 -1
- package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +1 -2
- package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.utils.d.ts +2 -0
- package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +0 -1
- package/dist/types/components/DatePicker/context/datePicker.context.d.ts +47 -0
- package/dist/types/components/DatePicker/context/datePicker.provider.d.ts +7 -0
- package/dist/types/components/DatePicker/datePicker.component.d.ts +4 -5
- package/dist/types/components/DatePicker/datePicker.records.d.ts +1 -0
- package/dist/types/components/DatePicker/datePicker.types.d.ts +9 -0
- package/dist/types/components/DatePicker/index.d.ts +2 -3
- package/dist/types/components/Divider/divider.component.d.ts +4 -0
- package/dist/types/components/Divider/divider.types.d.ts +6 -0
- package/dist/types/components/Divider/index.d.ts +2 -0
- package/dist/types/components/Heading/heading.component.d.ts +4 -6
- package/dist/types/components/Heading/heading.recipe.d.ts +7 -0
- package/dist/types/components/Heading/heading.records.d.ts +2 -0
- package/dist/types/components/Heading/heading.types.d.ts +2 -0
- package/dist/types/components/Heading/index.d.ts +2 -3
- package/dist/types/components/Icon/generated/AiMicrophone.d.ts +10 -0
- package/dist/types/components/Icon/generated/AlertCircle.d.ts +10 -0
- package/dist/types/components/Icon/generated/AnimalBird.d.ts +10 -0
- package/dist/types/components/Icon/generated/AnimalCat.d.ts +10 -0
- package/dist/types/components/Icon/generated/AnimalCow.d.ts +10 -0
- package/dist/types/components/Icon/generated/AnimalDog.d.ts +10 -0
- package/dist/types/components/Icon/generated/AnimalHorse.d.ts +10 -0
- package/dist/types/components/Icon/generated/AnimalMouse.d.ts +10 -0
- package/dist/types/components/Icon/generated/AnimalPig.d.ts +10 -0
- package/dist/types/components/Icon/generated/AnimalSnake.d.ts +10 -0
- package/dist/types/components/Icon/generated/Archive.d.ts +10 -0
- package/dist/types/components/Icon/generated/ArrowCircle.d.ts +10 -0
- package/dist/types/components/Icon/generated/ArrowDown.d.ts +10 -0
- package/dist/types/components/Icon/generated/ArrowDownRight.d.ts +10 -0
- package/dist/types/components/Icon/generated/ArrowLeft.d.ts +10 -0
- package/dist/types/components/Icon/generated/ArrowRight.d.ts +10 -0
- package/dist/types/components/Icon/generated/ArrowUp.d.ts +10 -0
- package/dist/types/components/Icon/generated/ArrowsIn.d.ts +10 -0
- package/dist/types/components/Icon/generated/ArrowsOut.d.ts +10 -0
- package/dist/types/components/Icon/generated/Article.d.ts +10 -0
- package/dist/types/components/Icon/generated/Award.d.ts +10 -0
- package/dist/types/components/Icon/generated/Bank.d.ts +10 -0
- package/dist/types/components/Icon/generated/Bell.d.ts +10 -0
- package/dist/types/components/Icon/generated/BellCancel.d.ts +10 -0
- package/dist/types/components/Icon/generated/Bone.d.ts +10 -0
- package/dist/types/components/Icon/generated/Bookmark.d.ts +10 -0
- package/dist/types/components/Icon/generated/BulkSelect.d.ts +10 -0
- package/dist/types/components/Icon/generated/Buttons.d.ts +10 -0
- package/dist/types/components/Icon/generated/CalendarCheck.d.ts +10 -0
- package/dist/types/components/Icon/generated/CalendarDate.d.ts +10 -0
- package/dist/types/components/Icon/generated/CalendarInfo.d.ts +10 -0
- package/dist/types/components/Icon/generated/CalendarPen.d.ts +10 -0
- package/dist/types/components/Icon/generated/CalendarPlus.d.ts +10 -0
- package/dist/types/components/Icon/generated/Camera.d.ts +10 -0
- package/dist/types/components/Icon/generated/CameraOff.d.ts +10 -0
- package/dist/types/components/Icon/generated/Cancel.d.ts +10 -0
- package/dist/types/components/Icon/generated/CaretDown.d.ts +10 -0
- package/dist/types/components/Icon/generated/CaretUp.d.ts +10 -0
- package/dist/types/components/Icon/generated/Cellphone.d.ts +10 -0
- package/dist/types/components/Icon/generated/CellphoneCancel.d.ts +10 -0
- package/dist/types/components/Icon/generated/ChainLink.d.ts +10 -0
- package/dist/types/components/Icon/generated/ChatBubble.d.ts +10 -0
- package/dist/types/components/Icon/generated/Checkmark.d.ts +10 -0
- package/dist/types/components/Icon/generated/CheckmarkBox.d.ts +10 -0
- package/dist/types/components/Icon/generated/CheckmarkCircle.d.ts +10 -0
- package/dist/types/components/Icon/generated/ChevronDown.d.ts +10 -0
- package/dist/types/components/Icon/generated/ChevronLeft.d.ts +10 -0
- package/dist/types/components/Icon/generated/ChevronRight.d.ts +10 -0
- package/dist/types/components/Icon/generated/ChevronUp.d.ts +10 -0
- package/dist/types/components/Icon/generated/Clinic.d.ts +10 -0
- package/dist/types/components/Icon/generated/Clock.d.ts +10 -0
- package/dist/types/components/Icon/generated/Close.d.ts +10 -0
- package/dist/types/components/Icon/generated/CloseCircle.d.ts +10 -0
- package/dist/types/components/Icon/generated/CloseCircleSolid.d.ts +10 -0
- package/dist/types/components/Icon/generated/Code.d.ts +10 -0
- package/dist/types/components/Icon/generated/CreditCard.d.ts +10 -0
- package/dist/types/components/Icon/generated/CreditCardLogoAmex.d.ts +10 -0
- package/dist/types/components/Icon/generated/CreditCardLogoDiners.d.ts +10 -0
- package/dist/types/components/Icon/generated/CreditCardLogoDiscover.d.ts +10 -0
- package/dist/types/components/Icon/generated/CreditCardLogoGeneric.d.ts +10 -0
- package/dist/types/components/Icon/generated/CreditCardLogoJcb.d.ts +10 -0
- package/dist/types/components/Icon/generated/CreditCardLogoMastercard.d.ts +10 -0
- package/dist/types/components/Icon/generated/CreditCardLogoUnionpay.d.ts +10 -0
- package/dist/types/components/Icon/generated/CreditCardLogoVisa.d.ts +10 -0
- package/dist/types/components/Icon/generated/Cut.d.ts +10 -0
- package/dist/types/components/Icon/generated/Dollar.d.ts +10 -0
- package/dist/types/components/Icon/generated/DollarCircle.d.ts +10 -0
- package/dist/types/components/Icon/generated/DotsHorizontal.d.ts +10 -0
- package/dist/types/components/Icon/generated/DotsVertical.d.ts +10 -0
- package/dist/types/components/Icon/generated/DoubleArrowCircle.d.ts +10 -0
- package/dist/types/components/Icon/generated/Download.d.ts +10 -0
- package/dist/types/components/Icon/generated/EmailSend.d.ts +10 -0
- package/dist/types/components/Icon/generated/Envelope.d.ts +10 -0
- package/dist/types/components/Icon/generated/EnvelopeCancel.d.ts +10 -0
- package/dist/types/components/Icon/generated/ExternalLink.d.ts +10 -0
- package/dist/types/components/Icon/generated/EyeOpen.d.ts +10 -0
- package/dist/types/components/Icon/generated/EyeSlash.d.ts +10 -0
- package/dist/types/components/Icon/generated/Eyedropper.d.ts +10 -0
- package/dist/types/components/Icon/generated/FileHealth.d.ts +10 -0
- package/dist/types/components/Icon/generated/Filter.d.ts +10 -0
- package/dist/types/components/Icon/generated/Form.d.ts +10 -0
- package/dist/types/components/Icon/generated/Gear.d.ts +10 -0
- package/dist/types/components/Icon/generated/Gif.d.ts +10 -0
- package/dist/types/components/Icon/generated/Grid.d.ts +10 -0
- package/dist/types/components/Icon/generated/Hashtag.d.ts +10 -0
- package/dist/types/components/Icon/generated/Health.d.ts +10 -0
- package/dist/types/components/Icon/generated/Heart.d.ts +10 -0
- package/dist/types/components/Icon/generated/HeartSolid.d.ts +10 -0
- package/dist/types/components/Icon/generated/House.d.ts +10 -0
- package/dist/types/components/Icon/generated/Image.d.ts +10 -0
- package/dist/types/components/Icon/generated/InfoCircle.d.ts +10 -0
- package/dist/types/components/Icon/generated/Input.d.ts +10 -0
- package/dist/types/components/Icon/generated/Invoice.d.ts +10 -0
- package/dist/types/components/Icon/generated/KanbanBoard.d.ts +10 -0
- package/dist/types/components/Icon/generated/List.d.ts +10 -0
- package/dist/types/components/Icon/generated/Liveagent.d.ts +10 -0
- package/dist/types/components/Icon/generated/Loader.d.ts +10 -0
- package/dist/types/components/Icon/generated/LocationMarker.d.ts +10 -0
- package/dist/types/components/Icon/generated/Lock.d.ts +10 -0
- package/dist/types/components/Icon/generated/Logo.d.ts +10 -0
- package/dist/types/components/Icon/generated/Loudspeaker.d.ts +10 -0
- package/dist/types/components/Icon/generated/Magic.d.ts +10 -0
- package/dist/types/components/Icon/generated/MagnifyingGlass.d.ts +10 -0
- package/dist/types/components/Icon/generated/Mailbox.d.ts +10 -0
- package/dist/types/components/Icon/generated/Menu.d.ts +10 -0
- package/dist/types/components/Icon/generated/Message.d.ts +10 -0
- package/dist/types/components/Icon/generated/MessageDetail.d.ts +10 -0
- package/dist/types/components/Icon/generated/MessageWarning.d.ts +10 -0
- package/dist/types/components/Icon/generated/Messages.d.ts +10 -0
- package/dist/types/components/Icon/generated/Microphone.d.ts +10 -0
- package/dist/types/components/Icon/generated/MicrophoneMute.d.ts +10 -0
- package/dist/types/components/Icon/generated/Minus.d.ts +10 -0
- package/dist/types/components/Icon/generated/MoveDown.d.ts +10 -0
- package/dist/types/components/Icon/generated/MoveLeft.d.ts +10 -0
- package/dist/types/components/Icon/generated/MoveRight.d.ts +10 -0
- package/dist/types/components/Icon/generated/MoveUp.d.ts +10 -0
- package/dist/types/components/Icon/generated/Notification.d.ts +10 -0
- package/dist/types/components/Icon/generated/Package.d.ts +10 -0
- package/dist/types/components/Icon/generated/Paperclip.d.ts +10 -0
- package/dist/types/components/Icon/generated/Pause.d.ts +10 -0
- package/dist/types/components/Icon/generated/Paw.d.ts +10 -0
- package/dist/types/components/Icon/generated/Pen.d.ts +10 -0
- package/dist/types/components/Icon/generated/PenSquare.d.ts +10 -0
- package/dist/types/components/Icon/generated/Person.d.ts +10 -0
- package/dist/types/components/Icon/generated/PersonAdd.d.ts +10 -0
- package/dist/types/components/Icon/generated/PersonCircle.d.ts +10 -0
- package/dist/types/components/Icon/generated/Phone.d.ts +10 -0
- package/dist/types/components/Icon/generated/PhoneButtons.d.ts +10 -0
- package/dist/types/components/Icon/generated/PhoneCancel.d.ts +10 -0
- package/dist/types/components/Icon/generated/Pill.d.ts +10 -0
- package/dist/types/components/Icon/generated/Pin.d.ts +10 -0
- package/dist/types/components/Icon/generated/PinCancel.d.ts +10 -0
- package/dist/types/components/Icon/generated/Play.d.ts +10 -0
- package/dist/types/components/Icon/generated/Plus.d.ts +10 -0
- package/dist/types/components/Icon/generated/Popup.d.ts +10 -0
- package/dist/types/components/Icon/generated/Printer.d.ts +10 -0
- package/dist/types/components/Icon/generated/QuestionMark.d.ts +10 -0
- package/dist/types/components/Icon/generated/QuestionMarkCircle.d.ts +10 -0
- package/dist/types/components/Icon/generated/QuestionMarkCircleSolid.d.ts +10 -0
- package/dist/types/components/Icon/generated/Record.d.ts +10 -0
- package/dist/types/components/Icon/generated/Report.d.ts +10 -0
- package/dist/types/components/Icon/generated/Ribbon.d.ts +10 -0
- package/dist/types/components/Icon/generated/Robot.d.ts +10 -0
- package/dist/types/components/Icon/generated/Send.d.ts +10 -0
- package/dist/types/components/Icon/generated/Sliders.d.ts +10 -0
- package/dist/types/components/Icon/generated/SmileyFace.d.ts +10 -0
- package/dist/types/components/Icon/generated/Sort.d.ts +10 -0
- package/dist/types/components/Icon/generated/Star.d.ts +10 -0
- package/dist/types/components/Icon/generated/StarCircle.d.ts +10 -0
- package/dist/types/components/Icon/generated/StarSolid.d.ts +10 -0
- package/dist/types/components/Icon/generated/Stop.d.ts +10 -0
- package/dist/types/components/Icon/generated/StopRecording.d.ts +10 -0
- package/dist/types/components/Icon/generated/Support.d.ts +10 -0
- package/dist/types/components/Icon/generated/Table.d.ts +10 -0
- package/dist/types/components/Icon/generated/Tag.d.ts +10 -0
- package/dist/types/components/Icon/generated/Target.d.ts +10 -0
- package/dist/types/components/Icon/generated/TargetSolid.d.ts +10 -0
- package/dist/types/components/Icon/generated/TaskList.d.ts +10 -0
- package/dist/types/components/Icon/generated/Team.d.ts +10 -0
- package/dist/types/components/Icon/generated/ThumbsDown.d.ts +10 -0
- package/dist/types/components/Icon/generated/ThumbsUp.d.ts +10 -0
- package/dist/types/components/Icon/generated/Transfer.d.ts +10 -0
- package/dist/types/components/Icon/generated/Trashcan.d.ts +10 -0
- package/dist/types/components/Icon/generated/TwoSquares.d.ts +10 -0
- package/dist/types/components/Icon/generated/Upload.d.ts +10 -0
- package/dist/types/components/Icon/generated/VideoCamera.d.ts +10 -0
- package/dist/types/components/Icon/generated/WarningSign.d.ts +10 -0
- package/dist/types/components/Icon/generated/Website.d.ts +10 -0
- package/dist/types/components/Icon/generated/Wrench.d.ts +10 -0
- package/dist/types/components/Icon/generated/index.d.ts +1 -2
- package/dist/types/components/Icon/icon.component.d.ts +4 -6
- package/dist/types/components/Icon/icon.records.d.ts +3 -0
- package/dist/types/components/Icon/icon.types.d.ts +3 -0
- package/dist/types/components/Icon/index.d.ts +2 -3
- package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +1 -2
- package/dist/types/components/Link/index.d.ts +1 -2
- package/dist/types/components/Link/link.component.d.ts +3 -4
- package/dist/types/components/Link/link.recipe.d.ts +5 -0
- package/dist/types/components/Logo/generated/FullLogo.d.ts +10 -0
- package/dist/types/components/Logo/generated/IconLogo.d.ts +10 -0
- package/dist/types/components/Logo/generated/index.d.ts +4 -0
- package/dist/types/components/Logo/index.d.ts +2 -0
- package/dist/types/components/Logo/logo.component.d.ts +10 -0
- package/dist/types/components/Logo/logo.recipe.d.ts +9 -0
- package/dist/types/components/Logo/logo.types.d.ts +4 -0
- package/dist/types/components/Menu/components/MenuButton/menuButton.components.d.ts +9 -0
- package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +5 -5
- package/dist/types/components/Menu/components/MenuItem/menuItem.types.d.ts +2 -0
- package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.d.ts +10 -0
- package/dist/types/components/Menu/index.d.ts +2 -3
- package/dist/types/components/Menu/menu.component.d.ts +3 -4
- package/dist/types/components/Menu/menu.recipe.d.ts +1 -0
- package/dist/types/components/Modal/components/ModalFooter/modalFooter.component.d.ts +0 -1
- package/dist/types/components/Modal/context/modal.context.d.ts +6 -0
- package/dist/types/components/Modal/index.d.ts +2 -3
- package/dist/types/components/Modal/modal.component.d.ts +3 -4
- package/dist/types/components/Modal/modal.recipe.d.ts +23 -0
- package/dist/types/components/Modal/modal.types.d.ts +8 -0
- package/dist/types/components/NotificationCounter/index.d.ts +2 -3
- package/dist/types/components/NotificationCounter/notificationCounter.component.d.ts +1 -2
- package/dist/types/components/NotificationCounter/notificationCounter.recipe.d.ts +5 -0
- package/dist/types/components/NotificationCounter/notificationCounter.records.d.ts +1 -0
- package/dist/types/components/NotificationCounter/notificationCounter.types.d.ts +4 -0
- package/dist/types/components/Picture/index.d.ts +1 -2
- package/dist/types/components/Picture/picture.component.d.ts +0 -1
- package/dist/types/components/PinInput/index.d.ts +2 -0
- package/dist/types/components/PinInput/pinInput.component.d.ts +10 -0
- package/dist/types/components/PinInput/pinInput.recipe.d.ts +21 -0
- package/dist/types/components/PinInput/pinInput.records.d.ts +1 -0
- package/dist/types/components/PinInput/pinInput.types.d.ts +2 -0
- package/dist/types/components/Popover/components/PopoverFooter/popoverFooter.component.d.ts +1 -2
- package/dist/types/components/Popover/components/PopoverHeader/popoverHeader.component.d.ts +2 -3
- package/dist/types/components/Popover/index.d.ts +2 -3
- package/dist/types/components/Popover/popover.component.d.ts +4 -5
- package/dist/types/components/Popover/popover.recipe.d.ts +10 -0
- package/dist/types/components/Popover/popover.types.d.ts +6 -0
- package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +2 -3
- package/dist/types/components/RadioGroup/components/Radio/radio.records.d.ts +3 -0
- package/dist/types/components/RadioGroup/index.d.ts +2 -2
- package/dist/types/components/RadioGroup/radioGroup.component.d.ts +4 -5
- package/dist/types/components/RadioGroup/radioGroup.recipe.d.ts +11 -0
- package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +0 -1
- package/dist/types/components/RatingDots/components/RatingDot/ratingDot.recipe.d.ts +39 -0
- package/dist/types/components/RatingDots/index.d.ts +1 -2
- package/dist/types/components/RatingDots/ratingDots.component.d.ts +1 -2
- package/dist/types/components/Select/components/SelectItemContent/selectItemContent.component.d.ts +2 -3
- package/dist/types/components/Select/components/SelectTrigger/selectTrigger.component.d.ts +1 -2
- package/dist/types/components/Select/index.d.ts +2 -3
- package/dist/types/components/Select/select.component.d.ts +6 -4
- package/dist/types/components/Select/select.recipe.d.ts +2 -0
- package/dist/types/components/Select/select.types.d.ts +10 -0
- package/dist/types/components/SortableList/components/SortableListDragHandle/sortableListDragHandle.component.d.ts +1 -2
- package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +0 -1
- package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.context.d.ts +8 -0
- package/dist/types/components/SortableList/index.d.ts +2 -2
- package/dist/types/components/SortableList/sortableList.component.d.ts +1 -2
- package/dist/types/components/Spinner/index.d.ts +2 -3
- package/dist/types/components/Spinner/spinner.component.d.ts +4 -5
- package/dist/types/components/Spinner/spinner.recipe.d.ts +29 -0
- package/dist/types/components/Spinner/spinner.types.d.ts +2 -0
- package/dist/types/components/StyledAvatar/index.d.ts +2 -0
- package/dist/types/components/StyledAvatar/styledAvatar.component.d.ts +7 -0
- package/dist/types/components/StyledAvatar/styledAvatar.types.d.ts +2 -0
- package/dist/types/components/Swatch/index.d.ts +2 -3
- package/dist/types/components/Swatch/swatch.component.d.ts +1 -2
- package/dist/types/components/Swatch/swatch.recipe.d.ts +4 -0
- package/dist/types/components/Swatch/swatch.types.d.ts +2 -0
- package/dist/types/components/Switch/index.d.ts +1 -2
- package/dist/types/components/Switch/switch.component.d.ts +2 -3
- package/dist/types/components/Switch/switch.recipe.d.ts +12 -0
- package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +3 -4
- package/dist/types/components/Tabs/components/Tab/tab.records.d.ts +5 -0
- package/dist/types/components/Tabs/components/Tab/tab.types.d.ts +4 -0
- package/dist/types/components/Tabs/index.d.ts +1 -2
- package/dist/types/components/Tabs/tabs.component.d.ts +3 -4
- package/dist/types/components/Tabs/tabs.recipe.d.ts +9 -0
- package/dist/types/components/Tag/index.d.ts +2 -3
- package/dist/types/components/Tag/tag.component.d.ts +2 -3
- package/dist/types/components/Tag/tag.recipe.d.ts +11 -0
- package/dist/types/components/Tag/tag.records.d.ts +2 -0
- package/dist/types/components/Tag/tag.types.d.ts +6 -0
- package/dist/types/components/TagBlock/index.d.ts +2 -0
- package/dist/types/components/TagBlock/tagBlock.component.d.ts +25 -0
- package/dist/types/components/TagBlock/tagBlock.types.d.ts +9 -0
- package/dist/types/components/Text/index.d.ts +2 -3
- package/dist/types/components/Text/text.component.d.ts +4 -6
- package/dist/types/components/Text/text.recipe.d.ts +8 -0
- package/dist/types/components/Text/text.records.d.ts +2 -0
- package/dist/types/components/Text/text.types.d.ts +2 -0
- package/dist/types/components/TextInput/index.d.ts +1 -2
- package/dist/types/components/TextInput/textInput.component.d.ts +2 -3
- package/dist/types/components/TextInput/textInput.records.d.ts +3 -0
- package/dist/types/components/Textarea/index.d.ts +1 -2
- package/dist/types/components/Textarea/textarea.component.d.ts +2 -3
- package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +0 -1
- package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +0 -1
- package/dist/types/components/TimePicker/components/TimeOption/timeOption.recipe.d.ts +18 -0
- package/dist/types/components/TimePicker/index.d.ts +2 -3
- package/dist/types/components/TimePicker/timePicker.component.d.ts +2 -3
- package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -0
- package/dist/types/components/TimePicker/timePicker.types.d.ts +4 -0
- package/dist/types/components/TimeRange/index.d.ts +1 -2
- package/dist/types/components/TimeRange/timeRange.component.d.ts +1 -2
- package/dist/types/components/Timestamp/index.d.ts +1 -0
- package/dist/types/components/Timestamp/timestamp.component.d.ts +11 -0
- package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +12 -0
- package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +7 -0
- package/dist/types/components/Toast/components/Toaster/toaster.records.d.ts +11 -0
- package/dist/types/components/Toast/components/Toaster/toaster.types.d.ts +12 -0
- package/dist/types/components/Toast/index.d.ts +2 -0
- package/dist/types/components/Toast/toast.component.d.ts +14 -0
- package/dist/types/components/Toast/toast.recipe.d.ts +21 -0
- package/dist/types/components/Toast/toast.types.d.ts +19 -0
- package/dist/types/components/Toast/useToast.d.ts +3 -0
- package/dist/types/components/Tooltip/index.d.ts +1 -2
- package/dist/types/components/Tooltip/tooltip.component.d.ts +5 -4
- package/dist/types/components/Tooltip/tooltip.recipe.d.ts +1 -0
- package/dist/types/components/index.d.ts +41 -34
- package/dist/types/hocs/index.d.ts +2 -2
- package/dist/types/hocs/withDarkMode/index.d.ts +2 -0
- package/dist/types/hocs/withFormControl/withFormControl.argTypes.d.ts +3 -0
- package/dist/types/hocs/withFormControl/withFormControl.d.ts +25 -0
- package/dist/types/hocs/withFormControl/withFormControl.recipe.d.ts +12 -0
- package/dist/types/hocs/withFormControl/withFormControl.records.d.ts +2 -0
- package/dist/types/hocs/withFormControl/withFormControl.types.d.ts +5 -0
- package/dist/types/hocs/withLightMode/index.d.ts +2 -0
- package/dist/types/hocs/withTruncation.d.ts +9 -0
- package/dist/types/hooks/index.d.ts +4 -2
- package/dist/types/hooks/useBreakpoint/index.d.ts +1 -0
- package/dist/types/hooks/useColorMode/index.d.ts +8 -0
- package/dist/types/hooks/useColorModeValue/index.d.ts +1 -0
- package/dist/types/hooks/useDebounce.d.ts +9 -0
- package/dist/types/hooks/useDeviceType/index.d.ts +3 -0
- package/dist/types/hooks/useIconTextSizeMap.d.ts +3 -0
- package/dist/types/index.d.ts +5 -3
- package/dist/types/shared/components/withVariantStory.d.ts +6 -0
- package/dist/types/shared/index.d.ts +1 -0
- package/dist/types/shared/records/index.d.ts +1 -0
- package/dist/types/shared/records/status.d.ts +5 -0
- package/dist/types/shared/records/typography.d.ts +5 -0
- package/dist/types/shared/types/alignment.d.ts +4 -0
- package/dist/types/shared/types/index.d.ts +5 -5
- package/dist/types/shared/types/placement.d.ts +2 -0
- package/dist/types/shared/types/status.d.ts +2 -0
- package/dist/types/shared/types/storybook.d.ts +2 -0
- package/dist/types/shared/types/theme.d.ts +1 -0
- package/dist/types/shared/types/typography.d.ts +2 -0
- package/dist/types/shared/utils/argTypes.d.ts +6 -0
- package/dist/types/shared/utils/colors.d.ts +14 -0
- package/dist/types/shared/utils/sizes.d.ts +9 -0
- package/dist/types/shared/utils/strings.d.ts +2 -0
- package/dist/types/shared/utils/tokens.d.ts +1 -0
- package/dist/types/shared/utils/units.d.ts +1 -0
- package/dist/types/theme/index.d.ts +2 -1
- package/dist/types/theme/providers/colorMode.provider.d.ts +4 -0
- package/dist/types/theme/providers/theme.provider.d.ts +9 -0
- package/dist/types/theme/semanticTokens/index.d.ts +1 -1
- package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +196 -0
- package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +390 -0
- package/dist/types/theme/semanticTokens/semanticTokens.types.d.ts +16 -0
- package/dist/types/theme/semanticTokens/utils/flattenSemanticTokenRecord.d.ts +10 -0
- package/dist/types/theme/semanticTokens/utils/getSemanticColorToken.d.ts +6 -0
- package/dist/types/theme/semanticTokens/utils/invertToken.d.ts +2 -0
- package/dist/types/theme/theme.config.d.ts +2 -0
- package/dist/types/theme/tokens/blurs/blurs.config.d.ts +26 -0
- package/dist/types/theme/tokens/blurs/blurs.records.d.ts +2 -0
- package/dist/types/theme/tokens/blurs/blurs.types.d.ts +1 -0
- package/dist/types/theme/tokens/blurs/index.d.ts +1 -1
- package/dist/types/theme/tokens/borders/borders.config.d.ts +49 -0
- package/dist/types/theme/tokens/borders/borders.records.d.ts +3 -0
- package/dist/types/theme/tokens/borders/borders.types.d.ts +2 -0
- package/dist/types/theme/tokens/borders/index.d.ts +1 -1
- package/dist/types/theme/tokens/colors/colors.config.d.ts +3 -0
- package/dist/types/theme/tokens/colors/colors.records.d.ts +2 -0
- package/dist/types/theme/tokens/colors/colors.types.d.ts +2 -0
- package/dist/types/theme/tokens/colors/index.d.ts +2 -2
- package/dist/types/theme/tokens/index.d.ts +9 -9
- package/dist/types/theme/tokens/shadows/index.d.ts +1 -1
- package/dist/types/theme/tokens/shadows/shadows.config.d.ts +68 -0
- package/dist/types/theme/tokens/shadows/shadows.records.d.ts +6 -0
- package/dist/types/theme/tokens/shadows/shadows.types.d.ts +2 -0
- package/dist/types/theme/tokens/sizes/index.d.ts +1 -1
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +81 -0
- package/dist/types/theme/tokens/sizes/sizes.records.d.ts +3 -0
- package/dist/types/theme/tokens/sizes/sizes.types.d.ts +2 -0
- package/dist/types/theme/tokens/spacing/index.d.ts +1 -1
- package/dist/types/theme/tokens/spacing/spacing.config.d.ts +101 -0
- package/dist/types/theme/tokens/spacing/spacing.records.d.ts +2 -0
- package/dist/types/theme/tokens/spacing/spacing.types.d.ts +1 -0
- package/dist/types/theme/tokens/transitions/index.d.ts +1 -1
- package/dist/types/theme/tokens/transitions/transitions.config.d.ts +34 -0
- package/dist/types/theme/tokens/transitions/transitions.records.d.ts +3 -0
- package/dist/types/theme/tokens/transitions/transitions.types.d.ts +2 -0
- package/dist/types/theme/tokens/typography/index.d.ts +1 -1
- package/dist/types/theme/tokens/typography/typography.config.d.ts +130 -0
- package/dist/types/theme/tokens/typography/typography.records.d.ts +6 -0
- package/dist/types/theme/tokens/typography/typography.types.d.ts +5 -0
- package/dist/types/theme/tokens/utils/transformToTokens.d.ts +11 -0
- package/dist/types/theme/tokens/zIndices/index.d.ts +1 -1
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +44 -0
- package/dist/types/theme/tokens/zIndices/zIndices.records.d.ts +2 -0
- package/dist/types/theme/tokens/zIndices/zIndices.types.d.ts +1 -0
- package/dist/types/vite-env.d.ts +1 -0
- package/package.json +69 -39
- package/dist/chunks/alert.types-Bnf8isvq.js +0 -2
- package/dist/chunks/alert.types-Bnf8isvq.js.map +0 -1
- package/dist/chunks/alert.types-kskv5PHB.js +0 -170
- package/dist/chunks/alert.types-kskv5PHB.js.map +0 -1
- package/dist/chunks/avatar.component-Coq-0l7p.js +0 -2
- package/dist/chunks/avatar.component-Coq-0l7p.js.map +0 -1
- package/dist/chunks/avatar.component-DzvE2D-d.js +0 -307
- package/dist/chunks/avatar.component-DzvE2D-d.js.map +0 -1
- package/dist/chunks/avatarGroup.component-D-U0aMDv.js +0 -71
- package/dist/chunks/avatarGroup.component-D-U0aMDv.js.map +0 -1
- package/dist/chunks/avatarGroup.component-DES1ekL9.js +0 -2
- package/dist/chunks/avatarGroup.component-DES1ekL9.js.map +0 -1
- package/dist/chunks/button.component-BiW8RE1U.js +0 -67
- package/dist/chunks/button.component-BiW8RE1U.js.map +0 -1
- package/dist/chunks/button.component-Dufh_y5v.js +0 -2
- package/dist/chunks/button.component-Dufh_y5v.js.map +0 -1
- package/dist/chunks/buttonGroup.component-DcCHtB7Q.js +0 -67
- package/dist/chunks/buttonGroup.component-DcCHtB7Q.js.map +0 -1
- package/dist/chunks/buttonGroup.component-sM0NngWF.js +0 -2
- package/dist/chunks/buttonGroup.component-sM0NngWF.js.map +0 -1
- package/dist/chunks/card.component-HX-4Y0j7.js +0 -51
- package/dist/chunks/card.component-HX-4Y0j7.js.map +0 -1
- package/dist/chunks/card.component-ZIoJIWVV.js +0 -2
- package/dist/chunks/card.component-ZIoJIWVV.js.map +0 -1
- package/dist/chunks/chakra-BqBkjpvZ.js +0 -12734
- package/dist/chunks/chakra-BqBkjpvZ.js.map +0 -1
- package/dist/chunks/chakra-DmF8Cxqs.js +0 -5
- package/dist/chunks/chakra-DmF8Cxqs.js.map +0 -1
- package/dist/chunks/characterCounter.component-BXxyn_IB.js +0 -2
- package/dist/chunks/characterCounter.component-BXxyn_IB.js.map +0 -1
- package/dist/chunks/characterCounter.component-DhiMcztY.js +0 -108
- package/dist/chunks/characterCounter.component-DhiMcztY.js.map +0 -1
- package/dist/chunks/checkbox.component-DQVpdkqO.js +0 -2
- package/dist/chunks/checkbox.component-DQVpdkqO.js.map +0 -1
- package/dist/chunks/checkbox.component-DgyH37fL.js +0 -90
- package/dist/chunks/checkbox.component-DgyH37fL.js.map +0 -1
- package/dist/chunks/checkbox.records-DJfdKuOe.js +0 -2
- package/dist/chunks/checkbox.records-DJfdKuOe.js.map +0 -1
- package/dist/chunks/checkbox.records-JWbKQ684.js +0 -14
- package/dist/chunks/checkbox.records-JWbKQ684.js.map +0 -1
- package/dist/chunks/checkboxGroup.component-C8cndZPg.js +0 -51
- package/dist/chunks/checkboxGroup.component-C8cndZPg.js.map +0 -1
- package/dist/chunks/checkboxGroup.component-CcjCexJ4.js +0 -2
- package/dist/chunks/checkboxGroup.component-CcjCexJ4.js.map +0 -1
- package/dist/chunks/conversationCard.component-CcWQpwrW.js +0 -2
- package/dist/chunks/conversationCard.component-CcWQpwrW.js.map +0 -1
- package/dist/chunks/conversationCard.component-DKIHpfpL.js +0 -383
- package/dist/chunks/conversationCard.component-DKIHpfpL.js.map +0 -1
- package/dist/chunks/date-1NFv48Qu.js +0 -3598
- package/dist/chunks/date-1NFv48Qu.js.map +0 -1
- package/dist/chunks/date-Du64Exix.js +0 -15
- package/dist/chunks/date-Du64Exix.js.map +0 -1
- package/dist/chunks/datePicker.component-BthgWsMj.js +0 -2
- package/dist/chunks/datePicker.component-BthgWsMj.js.map +0 -1
- package/dist/chunks/datePicker.component-Q_KcgvIw.js +0 -749
- package/dist/chunks/datePicker.component-Q_KcgvIw.js.map +0 -1
- package/dist/chunks/dnd-4IMP_kRN.js +0 -6
- package/dist/chunks/dnd-4IMP_kRN.js.map +0 -1
- package/dist/chunks/dnd-DDR6viHX.js +0 -3236
- package/dist/chunks/dnd-DDR6viHX.js.map +0 -1
- package/dist/chunks/heading.component-B8niLTxz.js +0 -10
- package/dist/chunks/heading.component-B8niLTxz.js.map +0 -1
- package/dist/chunks/heading.component-CExbjSBi.js +0 -2
- package/dist/chunks/heading.component-CExbjSBi.js.map +0 -1
- package/dist/chunks/icon.component-B-BWWGO3.js +0 -42
- package/dist/chunks/icon.component-B-BWWGO3.js.map +0 -1
- package/dist/chunks/icon.component-Bmtf4XKw.js +0 -2
- package/dist/chunks/icon.component-Bmtf4XKw.js.map +0 -1
- package/dist/chunks/link.component-COhBuuX3.js +0 -58
- package/dist/chunks/link.component-COhBuuX3.js.map +0 -1
- package/dist/chunks/link.component-DZnXQz1W.js +0 -2
- package/dist/chunks/link.component-DZnXQz1W.js.map +0 -1
- package/dist/chunks/menu.component-BEj878EN.js +0 -2
- package/dist/chunks/menu.component-BEj878EN.js.map +0 -1
- package/dist/chunks/menu.component-CR9SH_jk.js +0 -390
- package/dist/chunks/menu.component-CR9SH_jk.js.map +0 -1
- package/dist/chunks/modal.types-ChWBgALC.js +0 -146
- package/dist/chunks/modal.types-ChWBgALC.js.map +0 -1
- package/dist/chunks/modal.types-CofEmV4v.js +0 -2
- package/dist/chunks/modal.types-CofEmV4v.js.map +0 -1
- package/dist/chunks/notificationCounter.component-BH6anjzq.js +0 -2
- package/dist/chunks/notificationCounter.component-BH6anjzq.js.map +0 -1
- package/dist/chunks/notificationCounter.component-CSuqzMTF.js +0 -124
- package/dist/chunks/notificationCounter.component-CSuqzMTF.js.map +0 -1
- package/dist/chunks/popover.component-C1e_jTLD.js +0 -2
- package/dist/chunks/popover.component-C1e_jTLD.js.map +0 -1
- package/dist/chunks/popover.component-CzYfOF7z.js +0 -221
- package/dist/chunks/popover.component-CzYfOF7z.js.map +0 -1
- package/dist/chunks/popover.recipe-DnCuZJd3.js +0 -123
- package/dist/chunks/popover.recipe-DnCuZJd3.js.map +0 -1
- package/dist/chunks/popover.recipe-Pfz3evii.js +0 -2
- package/dist/chunks/popover.recipe-Pfz3evii.js.map +0 -1
- package/dist/chunks/radio.records-BxCn4oUd.js +0 -2
- package/dist/chunks/radio.records-BxCn4oUd.js.map +0 -1
- package/dist/chunks/radio.records-Cc3kP4Vn.js +0 -14
- package/dist/chunks/radio.records-Cc3kP4Vn.js.map +0 -1
- package/dist/chunks/radioGroup.component-B1ZdhI8z.js +0 -2
- package/dist/chunks/radioGroup.component-B1ZdhI8z.js.map +0 -1
- package/dist/chunks/radioGroup.component-CsmHziwM.js +0 -151
- package/dist/chunks/radioGroup.component-CsmHziwM.js.map +0 -1
- package/dist/chunks/ratingDots.component-DFHojz_X.js +0 -155
- package/dist/chunks/ratingDots.component-DFHojz_X.js.map +0 -1
- package/dist/chunks/ratingDots.component-HugaFu0D.js +0 -2
- package/dist/chunks/ratingDots.component-HugaFu0D.js.map +0 -1
- package/dist/chunks/select.component-HI7aJx11.js +0 -129
- package/dist/chunks/select.component-HI7aJx11.js.map +0 -1
- package/dist/chunks/select.component-h5lPMmWB.js +0 -2
- package/dist/chunks/select.component-h5lPMmWB.js.map +0 -1
- package/dist/chunks/sortableList.component-B2hSRuex.js +0 -2
- package/dist/chunks/sortableList.component-B2hSRuex.js.map +0 -1
- package/dist/chunks/sortableList.component-DAIHsGEA.js +0 -145
- package/dist/chunks/sortableList.component-DAIHsGEA.js.map +0 -1
- package/dist/chunks/spinner.component-CUuidnSK.js +0 -2
- package/dist/chunks/spinner.component-CUuidnSK.js.map +0 -1
- package/dist/chunks/spinner.component-D5tkelNc.js +0 -177
- package/dist/chunks/spinner.component-D5tkelNc.js.map +0 -1
- package/dist/chunks/styledAvatar.types-Cj3j5vXC.js +0 -2
- package/dist/chunks/styledAvatar.types-Cj3j5vXC.js.map +0 -1
- package/dist/chunks/styledAvatar.types-DbSO8s7o.js +0 -64
- package/dist/chunks/styledAvatar.types-DbSO8s7o.js.map +0 -1
- package/dist/chunks/switch.component-B1fXLRiO.js +0 -53
- package/dist/chunks/switch.component-B1fXLRiO.js.map +0 -1
- package/dist/chunks/switch.component-PH9nS7eN.js +0 -2
- package/dist/chunks/switch.component-PH9nS7eN.js.map +0 -1
- package/dist/chunks/tabs.component-6iPTLCx6.js +0 -2
- package/dist/chunks/tabs.component-6iPTLCx6.js.map +0 -1
- package/dist/chunks/tabs.component-DaUZITBw.js +0 -87
- package/dist/chunks/tabs.component-DaUZITBw.js.map +0 -1
- package/dist/chunks/tag.component-A__B03TA.js +0 -66
- package/dist/chunks/tag.component-A__B03TA.js.map +0 -1
- package/dist/chunks/tag.component-BjOfy3Bw.js +0 -2
- package/dist/chunks/tag.component-BjOfy3Bw.js.map +0 -1
- package/dist/chunks/tagBlock.component-Bx_hcjU4.js +0 -2
- package/dist/chunks/tagBlock.component-Bx_hcjU4.js.map +0 -1
- package/dist/chunks/tagBlock.component-Ch60_R7X.js +0 -185
- package/dist/chunks/tagBlock.component-Ch60_R7X.js.map +0 -1
- package/dist/chunks/text.component-CBa_saMP.js +0 -2
- package/dist/chunks/text.component-CBa_saMP.js.map +0 -1
- package/dist/chunks/text.component-XYjOAc2s.js +0 -10
- package/dist/chunks/text.component-XYjOAc2s.js.map +0 -1
- package/dist/chunks/textInput.component-CdPvTnhj.js +0 -2
- package/dist/chunks/textInput.component-CdPvTnhj.js.map +0 -1
- package/dist/chunks/textInput.component-LjDvSnBy.js +0 -98
- package/dist/chunks/textInput.component-LjDvSnBy.js.map +0 -1
- package/dist/chunks/textarea.component-C7l9zJKx.js +0 -51
- package/dist/chunks/textarea.component-C7l9zJKx.js.map +0 -1
- package/dist/chunks/textarea.component-CKEdjCAq.js +0 -2
- package/dist/chunks/textarea.component-CKEdjCAq.js.map +0 -1
- package/dist/chunks/timePicker.component-BLYPjS1u.js +0 -2
- package/dist/chunks/timePicker.component-BLYPjS1u.js.map +0 -1
- package/dist/chunks/timePicker.component-DFT36RN_.js +0 -246
- package/dist/chunks/timePicker.component-DFT36RN_.js.map +0 -1
- package/dist/chunks/timeRange.component-CzJjkQzN.js +0 -2
- package/dist/chunks/timeRange.component-CzJjkQzN.js.map +0 -1
- package/dist/chunks/timeRange.component-KETq7cDb.js +0 -17
- package/dist/chunks/timeRange.component-KETq7cDb.js.map +0 -1
- package/dist/chunks/timestamp.component-CuqY4euh.js +0 -2
- package/dist/chunks/timestamp.component-CuqY4euh.js.map +0 -1
- package/dist/chunks/timestamp.component-D764INLm.js +0 -37
- package/dist/chunks/timestamp.component-D764INLm.js.map +0 -1
- package/dist/chunks/tooltip.component-C3v2m2T2.js +0 -70
- package/dist/chunks/tooltip.component-C3v2m2T2.js.map +0 -1
- package/dist/chunks/tooltip.component-qWFa28S5.js +0 -2
- package/dist/chunks/tooltip.component-qWFa28S5.js.map +0 -1
- package/dist/chunks/typography.records-BPYXVuvi.js +0 -2
- package/dist/chunks/typography.records-BPYXVuvi.js.map +0 -1
- package/dist/chunks/typography.records-CG4wIBxE.js +0 -24
- package/dist/chunks/typography.records-CG4wIBxE.js.map +0 -1
- package/dist/chunks/vendor-BBfll6i3.js +0 -11757
- package/dist/chunks/vendor-BBfll6i3.js.map +0 -1
- package/dist/chunks/vendor-D-x6W6ez.js +0 -57
- package/dist/chunks/vendor-D-x6W6ez.js.map +0 -1
- package/dist/chunks/withFormControl-C7uVEpxe.js +0 -2
- package/dist/chunks/withFormControl-C7uVEpxe.js.map +0 -1
- package/dist/chunks/withFormControl-DSNvvAPD.js +0 -149
- package/dist/chunks/withFormControl-DSNvvAPD.js.map +0 -1
- package/dist/chunks/withTruncation-BskZBBVs.js +0 -2
- package/dist/chunks/withTruncation-BskZBBVs.js.map +0 -1
- package/dist/chunks/withTruncation-C2xFKhgB.js +0 -74
- package/dist/chunks/withTruncation-C2xFKhgB.js.map +0 -1
- package/dist/cjs/patterns/ConversationCard/index.cjs +0 -2
- package/dist/cjs/patterns/StyledAvatar/index.cjs +0 -2
- package/dist/cjs/patterns/TagBlock/index.cjs +0 -2
- package/dist/cjs/patterns/Timestamp/index.cjs +0 -2
- package/dist/cjs/patterns/index.cjs +0 -2
- package/dist/esm/patterns/ConversationCard/index.js +0 -5
- package/dist/esm/patterns/StyledAvatar/index.js +0 -6
- package/dist/esm/patterns/TagBlock/index.js +0 -6
- package/dist/esm/patterns/Timestamp/index.js +0 -5
- package/dist/esm/patterns/index.js +0 -13
- package/dist/esm/patterns/index.js.map +0 -1
- package/dist/types/components/Alert.d.ts +0 -3
- package/dist/types/components/Avatar.d.ts +0 -3
- package/dist/types/components/AvatarGroup.d.ts +0 -3
- package/dist/types/components/Button.d.ts +0 -3
- package/dist/types/components/ButtonGroup.d.ts +0 -3
- package/dist/types/components/Card.d.ts +0 -3
- package/dist/types/components/CharacterCounter.d.ts +0 -3
- package/dist/types/components/Checkbox.d.ts +0 -3
- package/dist/types/components/CheckboxGroup.d.ts +0 -3
- package/dist/types/components/DatePicker.d.ts +0 -3
- package/dist/types/components/Heading.d.ts +0 -3
- package/dist/types/components/Icon/generated.d.ts +0 -3
- package/dist/types/components/Icon.d.ts +0 -3
- package/dist/types/components/Link.d.ts +0 -3
- package/dist/types/components/Menu.d.ts +0 -3
- package/dist/types/components/Modal.d.ts +0 -3
- package/dist/types/components/NotificationCounter.d.ts +0 -3
- package/dist/types/components/Picture.d.ts +0 -3
- package/dist/types/components/Popover.d.ts +0 -3
- package/dist/types/components/RadioGroup.d.ts +0 -3
- package/dist/types/components/RatingDots.d.ts +0 -3
- package/dist/types/components/Select.d.ts +0 -3
- package/dist/types/components/SortableList.d.ts +0 -3
- package/dist/types/components/Spinner.d.ts +0 -3
- package/dist/types/components/Swatch.d.ts +0 -3
- package/dist/types/components/Switch.d.ts +0 -3
- package/dist/types/components/Tabs.d.ts +0 -3
- package/dist/types/components/Tag.d.ts +0 -3
- package/dist/types/components/Text.d.ts +0 -3
- package/dist/types/components/TextInput.d.ts +0 -3
- package/dist/types/components/Textarea.d.ts +0 -3
- package/dist/types/components/TimePicker.d.ts +0 -3
- package/dist/types/components/TimeRange.d.ts +0 -3
- package/dist/types/components/Tooltip.d.ts +0 -3
- package/dist/types/components.d.ts +0 -2
- package/dist/types/hocs.d.ts +0 -2
- package/dist/types/hooks.d.ts +0 -2
- package/dist/types/patterns/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +0 -9
- package/dist/types/patterns/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +0 -22
- package/dist/types/patterns/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +0 -9
- package/dist/types/patterns/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +0 -10
- package/dist/types/patterns/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +0 -14
- package/dist/types/patterns/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +0 -10
- package/dist/types/patterns/ConversationCard/conversationCard.component.d.ts +0 -23
- package/dist/types/patterns/ConversationCard/index.d.ts +0 -1
- package/dist/types/patterns/ConversationCard.d.ts +0 -2
- package/dist/types/patterns/StyledAvatar/index.d.ts +0 -2
- package/dist/types/patterns/StyledAvatar/styledAvatar.component.d.ts +0 -7
- package/dist/types/patterns/StyledAvatar.d.ts +0 -2
- package/dist/types/patterns/TagBlock/index.d.ts +0 -2
- package/dist/types/patterns/TagBlock/tagBlock.component.d.ts +0 -25
- package/dist/types/patterns/TagBlock.d.ts +0 -2
- package/dist/types/patterns/Timestamp/index.d.ts +0 -1
- package/dist/types/patterns/Timestamp/timestamp.component.d.ts +0 -11
- package/dist/types/patterns/Timestamp.d.ts +0 -2
- package/dist/types/patterns/index.d.ts +0 -4
- package/dist/types/patterns.d.ts +0 -2
- package/dist/types/shared/types.d.ts +0 -2
- package/dist/types/theme/semanticTokens.d.ts +0 -2
- package/dist/types/theme/tokens/blurs.d.ts +0 -2
- package/dist/types/theme/tokens/borders.d.ts +0 -2
- package/dist/types/theme/tokens/colors.d.ts +0 -2
- package/dist/types/theme/tokens/shadows.d.ts +0 -2
- package/dist/types/theme/tokens/sizes.d.ts +0 -2
- package/dist/types/theme/tokens/spacing.d.ts +0 -2
- package/dist/types/theme/tokens/transitions.d.ts +0 -2
- package/dist/types/theme/tokens/typography.d.ts +0 -2
- package/dist/types/theme/tokens/zIndices.d.ts +0 -2
- package/dist/types/theme/tokens.d.ts +0 -2
- package/dist/types/theme.d.ts +0 -2
- /package/dist/cjs/{patterns → components}/ConversationCard/index.cjs.map +0 -0
- /package/dist/cjs/{patterns/StyledAvatar → components/Divider}/index.cjs.map +0 -0
- /package/dist/cjs/{patterns/TagBlock → components/Logo/generated}/index.cjs.map +0 -0
- /package/dist/cjs/{patterns/Timestamp → components/Logo}/index.cjs.map +0 -0
- /package/dist/cjs/{patterns → components/PinInput}/index.cjs.map +0 -0
- /package/dist/esm/{patterns → components}/ConversationCard/index.js.map +0 -0
- /package/dist/esm/{patterns/StyledAvatar → components/Divider}/index.js.map +0 -0
- /package/dist/esm/{patterns/TagBlock → components/Logo/generated}/index.js.map +0 -0
- /package/dist/esm/{patterns/Timestamp → components/Logo}/index.js.map +0 -0
|
@@ -0,0 +1,1189 @@
|
|
|
1
|
+
import { j as z, L as M, M as w, c as oe, z as ue, N as Y, r as x, g as de, o as ce, t as he, C as ge, O as B, P as me, b as fe, Q as Ie, R as pe, q as j, E as ve, S as Ee, w as ye, d as h, k as Te, T as Oe } from "./index-YtNA0Ueo.js";
|
|
2
|
+
import { g as J, d as Re, b as L } from "./use-locale-context-BiiNTYMT.js";
|
|
3
|
+
var Ce = Object.defineProperty, Ve = (e, s, t) => s in e ? Ce(e, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[s] = t, u = (e, s, t) => Ve(e, typeof s != "symbol" ? s + "" : s, t), F = {
|
|
4
|
+
itemToValue(e) {
|
|
5
|
+
return typeof e == "string" ? e : M(e) && w(e, "value") ? e.value : "";
|
|
6
|
+
},
|
|
7
|
+
itemToString(e) {
|
|
8
|
+
return typeof e == "string" ? e : M(e) && w(e, "label") ? e.label : F.itemToValue(e);
|
|
9
|
+
},
|
|
10
|
+
isItemDisabled(e) {
|
|
11
|
+
return M(e) && w(e, "disabled") ? !!e.disabled : !1;
|
|
12
|
+
}
|
|
13
|
+
}, ee = class te {
|
|
14
|
+
constructor(s) {
|
|
15
|
+
this.options = s, u(this, "items"), u(this, "copy", (t) => new te({ ...this.options, items: t ?? [...this.items] })), u(this, "isEqual", (t) => z(this.items, t.items)), u(this, "setItems", (t) => this.copy(t)), u(this, "getValues", (t = this.items) => Array.from(t).map((i) => this.getItemValue(i)).filter(Boolean)), u(this, "find", (t) => {
|
|
16
|
+
if (t == null) return null;
|
|
17
|
+
const i = this.indexOf(t);
|
|
18
|
+
return i != null ? this.at(i) : null;
|
|
19
|
+
}), u(this, "findMany", (t) => Array.from(t).map((i) => this.find(i)).filter((i) => i != null)), u(this, "at", (t) => {
|
|
20
|
+
if (!this.options.groupBy && !this.options.groupSort)
|
|
21
|
+
return this.items[t] ?? null;
|
|
22
|
+
let i = 0;
|
|
23
|
+
const l = this.group();
|
|
24
|
+
for (const [, n] of l)
|
|
25
|
+
for (const o of n) {
|
|
26
|
+
if (i === t) return o;
|
|
27
|
+
i++;
|
|
28
|
+
}
|
|
29
|
+
return null;
|
|
30
|
+
}), u(this, "sortFn", (t, i) => {
|
|
31
|
+
const l = this.indexOf(t), n = this.indexOf(i);
|
|
32
|
+
return (l ?? 0) - (n ?? 0);
|
|
33
|
+
}), u(this, "sort", (t) => [...t].sort(this.sortFn.bind(this))), u(this, "getItemValue", (t) => t == null ? null : this.options.itemToValue?.(t) ?? F.itemToValue(t)), u(this, "getItemDisabled", (t) => t == null ? !1 : this.options.isItemDisabled?.(t) ?? F.isItemDisabled(t)), u(this, "stringifyItem", (t) => t == null ? null : this.options.itemToString?.(t) ?? F.itemToString(t)), u(this, "stringify", (t) => t == null ? null : this.stringifyItem(this.find(t))), u(this, "stringifyItems", (t, i = ", ") => Array.from(t).map((l) => this.stringifyItem(l)).filter(Boolean).join(i)), u(this, "stringifyMany", (t, i) => this.stringifyItems(this.findMany(t), i)), u(this, "has", (t) => this.indexOf(t) !== -1), u(this, "hasItem", (t) => t == null ? !1 : this.has(this.getItemValue(t))), u(this, "group", () => {
|
|
34
|
+
const { groupBy: t, groupSort: i } = this.options;
|
|
35
|
+
if (!t) return [["", [...this.items]]];
|
|
36
|
+
const l = /* @__PURE__ */ new Map();
|
|
37
|
+
this.items.forEach((o, r) => {
|
|
38
|
+
const c = t(o, r);
|
|
39
|
+
l.has(c) || l.set(c, []), l.get(c).push(o);
|
|
40
|
+
});
|
|
41
|
+
let n = Array.from(l.entries());
|
|
42
|
+
return i && n.sort(([o], [r]) => {
|
|
43
|
+
if (typeof i == "function") return i(o, r);
|
|
44
|
+
if (Array.isArray(i)) {
|
|
45
|
+
const c = i.indexOf(o), m = i.indexOf(r);
|
|
46
|
+
return c === -1 ? 1 : m === -1 ? -1 : c - m;
|
|
47
|
+
}
|
|
48
|
+
return i === "asc" ? o.localeCompare(r) : i === "desc" ? r.localeCompare(o) : 0;
|
|
49
|
+
}), n;
|
|
50
|
+
}), u(this, "getNextValue", (t, i = 1, l = !1) => {
|
|
51
|
+
let n = this.indexOf(t);
|
|
52
|
+
if (n === -1) return null;
|
|
53
|
+
for (n = l ? Math.min(n + i, this.size - 1) : n + i; n <= this.size && this.getItemDisabled(this.at(n)); ) n++;
|
|
54
|
+
return this.getItemValue(this.at(n));
|
|
55
|
+
}), u(this, "getPreviousValue", (t, i = 1, l = !1) => {
|
|
56
|
+
let n = this.indexOf(t);
|
|
57
|
+
if (n === -1) return null;
|
|
58
|
+
for (n = l ? Math.max(n - i, 0) : n - i; n >= 0 && this.getItemDisabled(this.at(n)); ) n--;
|
|
59
|
+
return this.getItemValue(this.at(n));
|
|
60
|
+
}), u(this, "indexOf", (t) => {
|
|
61
|
+
if (t == null) return -1;
|
|
62
|
+
if (!this.options.groupBy && !this.options.groupSort)
|
|
63
|
+
return this.items.findIndex((n) => this.getItemValue(n) === t);
|
|
64
|
+
let i = 0;
|
|
65
|
+
const l = this.group();
|
|
66
|
+
for (const [, n] of l)
|
|
67
|
+
for (const o of n) {
|
|
68
|
+
if (this.getItemValue(o) === t) return i;
|
|
69
|
+
i++;
|
|
70
|
+
}
|
|
71
|
+
return -1;
|
|
72
|
+
}), u(this, "getByText", (t, i) => {
|
|
73
|
+
let l = i != null ? Se(this.items, this.indexOf(i)) : this.items;
|
|
74
|
+
return t.length === 1 && (l = l.filter((o) => this.getItemValue(o) !== i)), l.find((o) => be(this.stringifyItem(o), t));
|
|
75
|
+
}), u(this, "search", (t, i) => {
|
|
76
|
+
const { state: l, currentValue: n, timeout: o = 350 } = i, r = l.keysSoFar + t, m = r.length > 1 && Array.from(r).every((E) => E === r[0]) ? r[0] : r, v = this.getByText(m, n), I = this.getItemValue(v);
|
|
77
|
+
function y() {
|
|
78
|
+
clearTimeout(l.timer), l.timer = -1;
|
|
79
|
+
}
|
|
80
|
+
function p(E) {
|
|
81
|
+
l.keysSoFar = E, y(), E !== "" && (l.timer = +setTimeout(() => {
|
|
82
|
+
p(""), y();
|
|
83
|
+
}, o));
|
|
84
|
+
}
|
|
85
|
+
return p(r), I;
|
|
86
|
+
}), u(this, "update", (t, i) => {
|
|
87
|
+
let l = this.items.findIndex((n) => this.getItemValue(n) === t);
|
|
88
|
+
return l === -1 ? this : this.copy([...this.items.slice(0, l), i, ...this.items.slice(l + 1)]);
|
|
89
|
+
}), u(this, "insert", (t, ...i) => this.copy(V(this.items, t, ...i))), u(this, "insertBefore", (t, ...i) => {
|
|
90
|
+
let l = this.indexOf(t);
|
|
91
|
+
if (l === -1)
|
|
92
|
+
if (this.items.length === 0) l = 0;
|
|
93
|
+
else return this;
|
|
94
|
+
return this.copy(V(this.items, l, ...i));
|
|
95
|
+
}), u(this, "insertAfter", (t, ...i) => {
|
|
96
|
+
let l = this.indexOf(t);
|
|
97
|
+
if (l === -1)
|
|
98
|
+
if (this.items.length === 0) l = 0;
|
|
99
|
+
else return this;
|
|
100
|
+
return this.copy(V(this.items, l + 1, ...i));
|
|
101
|
+
}), u(this, "prepend", (...t) => this.copy(V(this.items, 0, ...t))), u(this, "append", (...t) => this.copy(V(this.items, this.items.length, ...t))), u(this, "filter", (t) => {
|
|
102
|
+
const i = this.items.filter((l, n) => t(this.stringifyItem(l), n));
|
|
103
|
+
return this.copy(i);
|
|
104
|
+
}), u(this, "remove", (...t) => {
|
|
105
|
+
const i = t.map(
|
|
106
|
+
(l) => typeof l == "string" ? l : this.getItemValue(l)
|
|
107
|
+
);
|
|
108
|
+
return this.copy(
|
|
109
|
+
this.items.filter((l) => {
|
|
110
|
+
const n = this.getItemValue(l);
|
|
111
|
+
return n == null ? !1 : !i.includes(n);
|
|
112
|
+
})
|
|
113
|
+
);
|
|
114
|
+
}), u(this, "move", (t, i) => {
|
|
115
|
+
const l = this.indexOf(t);
|
|
116
|
+
return l === -1 ? this : this.copy(A(this.items, [l], i));
|
|
117
|
+
}), u(this, "moveBefore", (t, ...i) => {
|
|
118
|
+
let l = this.items.findIndex((o) => this.getItemValue(o) === t);
|
|
119
|
+
if (l === -1) return this;
|
|
120
|
+
let n = i.map((o) => this.items.findIndex((r) => this.getItemValue(r) === o)).sort((o, r) => o - r);
|
|
121
|
+
return this.copy(A(this.items, n, l));
|
|
122
|
+
}), u(this, "moveAfter", (t, ...i) => {
|
|
123
|
+
let l = this.items.findIndex((o) => this.getItemValue(o) === t);
|
|
124
|
+
if (l === -1) return this;
|
|
125
|
+
let n = i.map((o) => this.items.findIndex((r) => this.getItemValue(r) === o)).sort((o, r) => o - r);
|
|
126
|
+
return this.copy(A(this.items, n, l + 1));
|
|
127
|
+
}), u(this, "reorder", (t, i) => this.copy(A(this.items, [t], i))), u(this, "compareValue", (t, i) => {
|
|
128
|
+
const l = this.indexOf(t), n = this.indexOf(i);
|
|
129
|
+
return l < n ? -1 : l > n ? 1 : 0;
|
|
130
|
+
}), u(this, "range", (t, i) => {
|
|
131
|
+
let l = [], n = t;
|
|
132
|
+
for (; n != null; ) {
|
|
133
|
+
if (this.find(n) && l.push(n), n === i) return l;
|
|
134
|
+
n = this.getNextValue(n);
|
|
135
|
+
}
|
|
136
|
+
return [];
|
|
137
|
+
}), u(this, "getValueRange", (t, i) => t && i ? this.compareValue(t, i) <= 0 ? this.range(t, i) : this.range(i, t) : []), u(this, "toString", () => {
|
|
138
|
+
let t = "";
|
|
139
|
+
for (const i of this.items) {
|
|
140
|
+
const l = this.getItemValue(i), n = this.stringifyItem(i), o = this.getItemDisabled(i), r = [l, n, o].filter(Boolean).join(":");
|
|
141
|
+
t += r + ",";
|
|
142
|
+
}
|
|
143
|
+
return t;
|
|
144
|
+
}), u(this, "toJSON", () => ({
|
|
145
|
+
size: this.size,
|
|
146
|
+
first: this.firstValue,
|
|
147
|
+
last: this.lastValue
|
|
148
|
+
})), this.items = [...s.items];
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Returns the number of items in the collection
|
|
152
|
+
*/
|
|
153
|
+
get size() {
|
|
154
|
+
return this.items.length;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Returns the first value in the collection
|
|
158
|
+
*/
|
|
159
|
+
get firstValue() {
|
|
160
|
+
let s = 0;
|
|
161
|
+
for (; this.getItemDisabled(this.at(s)); ) s++;
|
|
162
|
+
return this.getItemValue(this.at(s));
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Returns the last value in the collection
|
|
166
|
+
*/
|
|
167
|
+
get lastValue() {
|
|
168
|
+
let s = this.size - 1;
|
|
169
|
+
for (; this.getItemDisabled(this.at(s)); ) s--;
|
|
170
|
+
return this.getItemValue(this.at(s));
|
|
171
|
+
}
|
|
172
|
+
*[Symbol.iterator]() {
|
|
173
|
+
yield* this.items;
|
|
174
|
+
}
|
|
175
|
+
}, be = (e, s) => !!e?.toLowerCase().startsWith(s.toLowerCase()), Se = (e, s) => e.map((t, i) => e[(Math.max(s, 0) + i) % e.length]);
|
|
176
|
+
function V(e, s, ...t) {
|
|
177
|
+
return [...e.slice(0, s), ...t, ...e.slice(s)];
|
|
178
|
+
}
|
|
179
|
+
function A(e, s, t) {
|
|
180
|
+
s = [...s].sort((l, n) => l - n);
|
|
181
|
+
const i = s.map((l) => e[l]);
|
|
182
|
+
for (let l = s.length - 1; l >= 0; l--)
|
|
183
|
+
e = [...e.slice(0, s[l]), ...e.slice(s[l] + 1)];
|
|
184
|
+
return t = Math.max(0, t - s.filter((l) => l < t).length), [...e.slice(0, t), ...i, ...e.slice(t)];
|
|
185
|
+
}
|
|
186
|
+
var Ge = fe("select").parts(
|
|
187
|
+
"label",
|
|
188
|
+
"positioner",
|
|
189
|
+
"trigger",
|
|
190
|
+
"indicator",
|
|
191
|
+
"clearTrigger",
|
|
192
|
+
"item",
|
|
193
|
+
"itemText",
|
|
194
|
+
"itemIndicator",
|
|
195
|
+
"itemGroup",
|
|
196
|
+
"itemGroupLabel",
|
|
197
|
+
"list",
|
|
198
|
+
"content",
|
|
199
|
+
"root",
|
|
200
|
+
"control",
|
|
201
|
+
"valueText"
|
|
202
|
+
), f = Ge.build(), ie = (e) => new ee(e);
|
|
203
|
+
ie.empty = () => new ee({ items: [] });
|
|
204
|
+
var Ae = (e) => e.ids?.root ?? `select:${e.id}`, W = (e) => e.ids?.content ?? `select:${e.id}:content`, U = (e) => e.ids?.trigger ?? `select:${e.id}:trigger`, se = (e) => e.ids?.clearTrigger ?? `select:${e.id}:clear-trigger`, P = (e) => e.ids?.label ?? `select:${e.id}:label`, Pe = (e) => e.ids?.control ?? `select:${e.id}:control`, K = (e, s) => e.ids?.item?.(s) ?? `select:${e.id}:option:${s}`, $ = (e) => e.ids?.hiddenSelect ?? `select:${e.id}:select`, le = (e) => e.ids?.positioner ?? `select:${e.id}:positioner`, Fe = (e, s) => e.ids?.itemGroup?.(s) ?? `select:${e.id}:optgroup:${s}`, Q = (e, s) => e.ids?.itemGroupLabel?.(s) ?? `select:${e.id}:optgroup-label:${s}`, _ = (e) => e.getById($(e)), b = (e) => e.getById(W(e)), O = (e) => e.getById(U(e)), Le = (e) => e.getById(se(e)), X = (e) => e.getById(le(e)), Ne = (e, s) => e.getById(K(e, s));
|
|
205
|
+
function Me(e, s) {
|
|
206
|
+
const { context: t, prop: i, scope: l, state: n, computed: o, send: r } = e, c = i("disabled") || t.get("fieldsetDisabled"), m = i("invalid"), v = i("readOnly"), I = i("composite"), y = i("collection"), p = n.hasTag("open"), E = n.matches("focused"), C = t.get("highlightedValue"), ne = t.get("highlightedItem"), re = t.get("selectedItems"), N = t.get("currentPlacement"), q = o("isTypingAhead"), k = o("isInteractive"), D = C ? K(l, C) : void 0;
|
|
207
|
+
function G(a) {
|
|
208
|
+
const d = y.getItemDisabled(a.item), g = y.getItemValue(a.item);
|
|
209
|
+
return Oe(g, () => `[zag-js] No value found for item ${JSON.stringify(a.item)}`), {
|
|
210
|
+
value: g,
|
|
211
|
+
disabled: !!(c || d),
|
|
212
|
+
highlighted: C === g,
|
|
213
|
+
selected: t.get("value").includes(g)
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
const ae = Re({
|
|
217
|
+
...i("positioning"),
|
|
218
|
+
placement: N
|
|
219
|
+
});
|
|
220
|
+
return {
|
|
221
|
+
open: p,
|
|
222
|
+
focused: E,
|
|
223
|
+
empty: t.get("value").length === 0,
|
|
224
|
+
highlightedItem: ne,
|
|
225
|
+
highlightedValue: C,
|
|
226
|
+
selectedItems: re,
|
|
227
|
+
hasSelectedItems: o("hasSelectedItems"),
|
|
228
|
+
value: t.get("value"),
|
|
229
|
+
valueAsString: t.get("valueAsString"),
|
|
230
|
+
collection: y,
|
|
231
|
+
multiple: !!i("multiple"),
|
|
232
|
+
disabled: !!c,
|
|
233
|
+
reposition(a = {}) {
|
|
234
|
+
r({ type: "POSITIONING.SET", options: a });
|
|
235
|
+
},
|
|
236
|
+
focus() {
|
|
237
|
+
O(l)?.focus({ preventScroll: !0 });
|
|
238
|
+
},
|
|
239
|
+
setOpen(a) {
|
|
240
|
+
n.hasTag("open") !== a && r({ type: a ? "OPEN" : "CLOSE" });
|
|
241
|
+
},
|
|
242
|
+
selectValue(a) {
|
|
243
|
+
r({ type: "ITEM.SELECT", value: a });
|
|
244
|
+
},
|
|
245
|
+
setValue(a) {
|
|
246
|
+
r({ type: "VALUE.SET", value: a });
|
|
247
|
+
},
|
|
248
|
+
selectAll() {
|
|
249
|
+
r({ type: "VALUE.SET", value: y.getValues() });
|
|
250
|
+
},
|
|
251
|
+
highlightValue(a) {
|
|
252
|
+
r({ type: "HIGHLIGHTED_VALUE.SET", value: a });
|
|
253
|
+
},
|
|
254
|
+
clearValue(a) {
|
|
255
|
+
r(a ? { type: "ITEM.CLEAR", value: a } : { type: "VALUE.CLEAR" });
|
|
256
|
+
},
|
|
257
|
+
getItemState: G,
|
|
258
|
+
getRootProps() {
|
|
259
|
+
return s.element({
|
|
260
|
+
...f.root.attrs,
|
|
261
|
+
dir: i("dir"),
|
|
262
|
+
id: Ae(l),
|
|
263
|
+
"data-invalid": h(m),
|
|
264
|
+
"data-readonly": h(v)
|
|
265
|
+
});
|
|
266
|
+
},
|
|
267
|
+
getLabelProps() {
|
|
268
|
+
return s.label({
|
|
269
|
+
dir: i("dir"),
|
|
270
|
+
id: P(l),
|
|
271
|
+
...f.label.attrs,
|
|
272
|
+
"data-disabled": h(c),
|
|
273
|
+
"data-invalid": h(m),
|
|
274
|
+
"data-readonly": h(v),
|
|
275
|
+
htmlFor: $(l),
|
|
276
|
+
onClick(a) {
|
|
277
|
+
a.defaultPrevented || c || O(l)?.focus({ preventScroll: !0 });
|
|
278
|
+
}
|
|
279
|
+
});
|
|
280
|
+
},
|
|
281
|
+
getControlProps() {
|
|
282
|
+
return s.element({
|
|
283
|
+
...f.control.attrs,
|
|
284
|
+
dir: i("dir"),
|
|
285
|
+
id: Pe(l),
|
|
286
|
+
"data-state": p ? "open" : "closed",
|
|
287
|
+
"data-focus": h(E),
|
|
288
|
+
"data-disabled": h(c),
|
|
289
|
+
"data-invalid": h(m)
|
|
290
|
+
});
|
|
291
|
+
},
|
|
292
|
+
getValueTextProps() {
|
|
293
|
+
return s.element({
|
|
294
|
+
...f.valueText.attrs,
|
|
295
|
+
dir: i("dir"),
|
|
296
|
+
"data-disabled": h(c),
|
|
297
|
+
"data-invalid": h(m),
|
|
298
|
+
"data-focus": h(E)
|
|
299
|
+
});
|
|
300
|
+
},
|
|
301
|
+
getTriggerProps() {
|
|
302
|
+
return s.button({
|
|
303
|
+
id: U(l),
|
|
304
|
+
disabled: c,
|
|
305
|
+
dir: i("dir"),
|
|
306
|
+
type: "button",
|
|
307
|
+
role: "combobox",
|
|
308
|
+
"aria-controls": W(l),
|
|
309
|
+
"aria-expanded": p,
|
|
310
|
+
"aria-haspopup": "listbox",
|
|
311
|
+
"data-state": p ? "open" : "closed",
|
|
312
|
+
"aria-invalid": m,
|
|
313
|
+
"aria-labelledby": P(l),
|
|
314
|
+
...f.trigger.attrs,
|
|
315
|
+
"data-disabled": h(c),
|
|
316
|
+
"data-invalid": h(m),
|
|
317
|
+
"data-readonly": h(v),
|
|
318
|
+
"data-placement": N,
|
|
319
|
+
"data-placeholder-shown": h(!o("hasSelectedItems")),
|
|
320
|
+
onClick(a) {
|
|
321
|
+
k && (a.defaultPrevented || r({ type: "TRIGGER.CLICK" }));
|
|
322
|
+
},
|
|
323
|
+
onFocus() {
|
|
324
|
+
r({ type: "TRIGGER.FOCUS" });
|
|
325
|
+
},
|
|
326
|
+
onBlur() {
|
|
327
|
+
r({ type: "TRIGGER.BLUR" });
|
|
328
|
+
},
|
|
329
|
+
onKeyDown(a) {
|
|
330
|
+
if (a.defaultPrevented || !k) return;
|
|
331
|
+
const g = {
|
|
332
|
+
ArrowUp() {
|
|
333
|
+
r({ type: "TRIGGER.ARROW_UP" });
|
|
334
|
+
},
|
|
335
|
+
ArrowDown(R) {
|
|
336
|
+
r({ type: R.altKey ? "OPEN" : "TRIGGER.ARROW_DOWN" });
|
|
337
|
+
},
|
|
338
|
+
ArrowLeft() {
|
|
339
|
+
r({ type: "TRIGGER.ARROW_LEFT" });
|
|
340
|
+
},
|
|
341
|
+
ArrowRight() {
|
|
342
|
+
r({ type: "TRIGGER.ARROW_RIGHT" });
|
|
343
|
+
},
|
|
344
|
+
Home() {
|
|
345
|
+
r({ type: "TRIGGER.HOME" });
|
|
346
|
+
},
|
|
347
|
+
End() {
|
|
348
|
+
r({ type: "TRIGGER.END" });
|
|
349
|
+
},
|
|
350
|
+
Enter() {
|
|
351
|
+
r({ type: "TRIGGER.ENTER" });
|
|
352
|
+
},
|
|
353
|
+
Space(R) {
|
|
354
|
+
r(q ? { type: "TRIGGER.TYPEAHEAD", key: R.key } : { type: "TRIGGER.ENTER" });
|
|
355
|
+
}
|
|
356
|
+
}[j(a, {
|
|
357
|
+
dir: i("dir"),
|
|
358
|
+
orientation: "vertical"
|
|
359
|
+
})];
|
|
360
|
+
if (g) {
|
|
361
|
+
g(a), a.preventDefault();
|
|
362
|
+
return;
|
|
363
|
+
}
|
|
364
|
+
B.isValidEvent(a) && (r({ type: "TRIGGER.TYPEAHEAD", key: a.key }), a.preventDefault());
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
},
|
|
368
|
+
getIndicatorProps() {
|
|
369
|
+
return s.element({
|
|
370
|
+
...f.indicator.attrs,
|
|
371
|
+
dir: i("dir"),
|
|
372
|
+
"aria-hidden": !0,
|
|
373
|
+
"data-state": p ? "open" : "closed",
|
|
374
|
+
"data-disabled": h(c),
|
|
375
|
+
"data-invalid": h(m),
|
|
376
|
+
"data-readonly": h(v)
|
|
377
|
+
});
|
|
378
|
+
},
|
|
379
|
+
getItemProps(a) {
|
|
380
|
+
const d = G(a);
|
|
381
|
+
return s.element({
|
|
382
|
+
id: K(l, d.value),
|
|
383
|
+
role: "option",
|
|
384
|
+
...f.item.attrs,
|
|
385
|
+
dir: i("dir"),
|
|
386
|
+
"data-value": d.value,
|
|
387
|
+
"aria-selected": d.selected,
|
|
388
|
+
"data-state": d.selected ? "checked" : "unchecked",
|
|
389
|
+
"data-highlighted": h(d.highlighted),
|
|
390
|
+
"data-disabled": h(d.disabled),
|
|
391
|
+
"aria-disabled": Te(d.disabled),
|
|
392
|
+
onPointerMove(g) {
|
|
393
|
+
d.disabled || g.pointerType !== "mouse" || d.value !== C && r({ type: "ITEM.POINTER_MOVE", value: d.value });
|
|
394
|
+
},
|
|
395
|
+
onClick(g) {
|
|
396
|
+
g.defaultPrevented || d.disabled || r({ type: "ITEM.CLICK", src: "pointerup", value: d.value });
|
|
397
|
+
},
|
|
398
|
+
onPointerLeave(g) {
|
|
399
|
+
d.disabled || a.persistFocus || g.pointerType !== "mouse" || !e.event.previous()?.type.includes("POINTER") || r({ type: "ITEM.POINTER_LEAVE" });
|
|
400
|
+
}
|
|
401
|
+
});
|
|
402
|
+
},
|
|
403
|
+
getItemTextProps(a) {
|
|
404
|
+
const d = G(a);
|
|
405
|
+
return s.element({
|
|
406
|
+
...f.itemText.attrs,
|
|
407
|
+
"data-state": d.selected ? "checked" : "unchecked",
|
|
408
|
+
"data-disabled": h(d.disabled),
|
|
409
|
+
"data-highlighted": h(d.highlighted)
|
|
410
|
+
});
|
|
411
|
+
},
|
|
412
|
+
getItemIndicatorProps(a) {
|
|
413
|
+
const d = G(a);
|
|
414
|
+
return s.element({
|
|
415
|
+
"aria-hidden": !0,
|
|
416
|
+
...f.itemIndicator.attrs,
|
|
417
|
+
"data-state": d.selected ? "checked" : "unchecked",
|
|
418
|
+
hidden: !d.selected
|
|
419
|
+
});
|
|
420
|
+
},
|
|
421
|
+
getItemGroupLabelProps(a) {
|
|
422
|
+
const { htmlFor: d } = a;
|
|
423
|
+
return s.element({
|
|
424
|
+
...f.itemGroupLabel.attrs,
|
|
425
|
+
id: Q(l, d),
|
|
426
|
+
dir: i("dir"),
|
|
427
|
+
role: "presentation"
|
|
428
|
+
});
|
|
429
|
+
},
|
|
430
|
+
getItemGroupProps(a) {
|
|
431
|
+
const { id: d } = a;
|
|
432
|
+
return s.element({
|
|
433
|
+
...f.itemGroup.attrs,
|
|
434
|
+
"data-disabled": h(c),
|
|
435
|
+
id: Fe(l, d),
|
|
436
|
+
"aria-labelledby": Q(l, d),
|
|
437
|
+
role: "group",
|
|
438
|
+
dir: i("dir")
|
|
439
|
+
});
|
|
440
|
+
},
|
|
441
|
+
getClearTriggerProps() {
|
|
442
|
+
return s.button({
|
|
443
|
+
...f.clearTrigger.attrs,
|
|
444
|
+
id: se(l),
|
|
445
|
+
type: "button",
|
|
446
|
+
"aria-label": "Clear value",
|
|
447
|
+
"data-invalid": h(m),
|
|
448
|
+
disabled: c,
|
|
449
|
+
hidden: !o("hasSelectedItems"),
|
|
450
|
+
dir: i("dir"),
|
|
451
|
+
onClick(a) {
|
|
452
|
+
a.defaultPrevented || r({ type: "CLEAR.CLICK" });
|
|
453
|
+
}
|
|
454
|
+
});
|
|
455
|
+
},
|
|
456
|
+
getHiddenSelectProps() {
|
|
457
|
+
const a = t.get("value"), d = i("multiple") ? a : a?.[0];
|
|
458
|
+
return s.select({
|
|
459
|
+
name: i("name"),
|
|
460
|
+
form: i("form"),
|
|
461
|
+
disabled: c,
|
|
462
|
+
multiple: i("multiple"),
|
|
463
|
+
required: i("required"),
|
|
464
|
+
"aria-hidden": !0,
|
|
465
|
+
id: $(l),
|
|
466
|
+
defaultValue: d,
|
|
467
|
+
style: ye,
|
|
468
|
+
tabIndex: -1,
|
|
469
|
+
// Some browser extensions will focus the hidden select.
|
|
470
|
+
// Let's forward the focus to the trigger.
|
|
471
|
+
onFocus() {
|
|
472
|
+
O(l)?.focus({ preventScroll: !0 });
|
|
473
|
+
},
|
|
474
|
+
"aria-labelledby": P(l)
|
|
475
|
+
});
|
|
476
|
+
},
|
|
477
|
+
getPositionerProps() {
|
|
478
|
+
return s.element({
|
|
479
|
+
...f.positioner.attrs,
|
|
480
|
+
dir: i("dir"),
|
|
481
|
+
id: le(l),
|
|
482
|
+
style: ae.floating
|
|
483
|
+
});
|
|
484
|
+
},
|
|
485
|
+
getContentProps() {
|
|
486
|
+
return s.element({
|
|
487
|
+
hidden: !p,
|
|
488
|
+
dir: i("dir"),
|
|
489
|
+
id: W(l),
|
|
490
|
+
role: I ? "listbox" : "dialog",
|
|
491
|
+
...f.content.attrs,
|
|
492
|
+
"data-state": p ? "open" : "closed",
|
|
493
|
+
"data-placement": N,
|
|
494
|
+
"data-activedescendant": D,
|
|
495
|
+
"aria-activedescendant": I ? D : void 0,
|
|
496
|
+
"aria-multiselectable": i("multiple") && I ? !0 : void 0,
|
|
497
|
+
"aria-labelledby": P(l),
|
|
498
|
+
tabIndex: 0,
|
|
499
|
+
onKeyDown(a) {
|
|
500
|
+
if (!k || !Ie(a)) return;
|
|
501
|
+
if (a.key === "Tab" && !pe(a)) {
|
|
502
|
+
a.preventDefault();
|
|
503
|
+
return;
|
|
504
|
+
}
|
|
505
|
+
const d = {
|
|
506
|
+
ArrowUp() {
|
|
507
|
+
r({ type: "CONTENT.ARROW_UP" });
|
|
508
|
+
},
|
|
509
|
+
ArrowDown() {
|
|
510
|
+
r({ type: "CONTENT.ARROW_DOWN" });
|
|
511
|
+
},
|
|
512
|
+
Home() {
|
|
513
|
+
r({ type: "CONTENT.HOME" });
|
|
514
|
+
},
|
|
515
|
+
End() {
|
|
516
|
+
r({ type: "CONTENT.END" });
|
|
517
|
+
},
|
|
518
|
+
Enter() {
|
|
519
|
+
r({ type: "ITEM.CLICK", src: "keydown.enter" });
|
|
520
|
+
},
|
|
521
|
+
Space(H) {
|
|
522
|
+
q ? r({ type: "CONTENT.TYPEAHEAD", key: H.key }) : d.Enter?.(H);
|
|
523
|
+
}
|
|
524
|
+
}, g = d[j(a)];
|
|
525
|
+
if (g) {
|
|
526
|
+
g(a), a.preventDefault();
|
|
527
|
+
return;
|
|
528
|
+
}
|
|
529
|
+
const R = ve(a);
|
|
530
|
+
Ee(R) || B.isValidEvent(a) && (r({ type: "CONTENT.TYPEAHEAD", key: a.key }), a.preventDefault());
|
|
531
|
+
}
|
|
532
|
+
});
|
|
533
|
+
},
|
|
534
|
+
getListProps() {
|
|
535
|
+
return s.element({
|
|
536
|
+
...f.list.attrs,
|
|
537
|
+
tabIndex: 0,
|
|
538
|
+
role: I ? void 0 : "listbox",
|
|
539
|
+
"aria-labelledby": U(l),
|
|
540
|
+
"aria-activedescendant": I ? void 0 : D,
|
|
541
|
+
"aria-multiselectable": !I && i("multiple") ? !0 : void 0
|
|
542
|
+
});
|
|
543
|
+
}
|
|
544
|
+
};
|
|
545
|
+
}
|
|
546
|
+
var { and: S, not: T, or: ke } = ue(), we = oe({
|
|
547
|
+
props({ props: e }) {
|
|
548
|
+
return {
|
|
549
|
+
loopFocus: !1,
|
|
550
|
+
closeOnSelect: !e.multiple,
|
|
551
|
+
composite: !0,
|
|
552
|
+
defaultValue: [],
|
|
553
|
+
...e,
|
|
554
|
+
collection: e.collection ?? ie.empty(),
|
|
555
|
+
positioning: {
|
|
556
|
+
placement: "bottom-start",
|
|
557
|
+
gutter: 8,
|
|
558
|
+
...e.positioning
|
|
559
|
+
}
|
|
560
|
+
};
|
|
561
|
+
},
|
|
562
|
+
context({ prop: e, bindable: s }) {
|
|
563
|
+
return {
|
|
564
|
+
value: s(() => ({
|
|
565
|
+
defaultValue: e("defaultValue"),
|
|
566
|
+
value: e("value"),
|
|
567
|
+
isEqual: z,
|
|
568
|
+
onChange(t) {
|
|
569
|
+
const i = e("collection").findMany(t);
|
|
570
|
+
return e("onValueChange")?.({ value: t, items: i });
|
|
571
|
+
}
|
|
572
|
+
})),
|
|
573
|
+
highlightedValue: s(() => ({
|
|
574
|
+
defaultValue: e("defaultHighlightedValue") || null,
|
|
575
|
+
value: e("highlightedValue"),
|
|
576
|
+
onChange(t) {
|
|
577
|
+
e("onHighlightChange")?.({
|
|
578
|
+
highlightedValue: t,
|
|
579
|
+
highlightedItem: e("collection").find(t),
|
|
580
|
+
highlightedIndex: e("collection").indexOf(t)
|
|
581
|
+
});
|
|
582
|
+
}
|
|
583
|
+
})),
|
|
584
|
+
currentPlacement: s(() => ({
|
|
585
|
+
defaultValue: void 0
|
|
586
|
+
})),
|
|
587
|
+
fieldsetDisabled: s(() => ({
|
|
588
|
+
defaultValue: !1
|
|
589
|
+
})),
|
|
590
|
+
highlightedItem: s(() => ({
|
|
591
|
+
defaultValue: null
|
|
592
|
+
})),
|
|
593
|
+
selectedItems: s(() => {
|
|
594
|
+
const t = e("value") ?? e("defaultValue") ?? [];
|
|
595
|
+
return { defaultValue: e("collection").findMany(t) };
|
|
596
|
+
}),
|
|
597
|
+
valueAsString: s(() => {
|
|
598
|
+
const t = e("value") ?? e("defaultValue") ?? [];
|
|
599
|
+
return { defaultValue: e("collection").stringifyMany(t) };
|
|
600
|
+
})
|
|
601
|
+
};
|
|
602
|
+
},
|
|
603
|
+
refs() {
|
|
604
|
+
return {
|
|
605
|
+
typeahead: { ...B.defaultOptions }
|
|
606
|
+
};
|
|
607
|
+
},
|
|
608
|
+
computed: {
|
|
609
|
+
hasSelectedItems: ({ context: e }) => e.get("value").length > 0,
|
|
610
|
+
isTypingAhead: ({ refs: e }) => e.get("typeahead").keysSoFar !== "",
|
|
611
|
+
isDisabled: ({ prop: e, context: s }) => !!e("disabled") || !!s.get("fieldsetDisabled"),
|
|
612
|
+
isInteractive: ({ prop: e }) => !(e("disabled") || e("readOnly"))
|
|
613
|
+
},
|
|
614
|
+
initialState({ prop: e }) {
|
|
615
|
+
return e("open") || e("defaultOpen") ? "open" : "idle";
|
|
616
|
+
},
|
|
617
|
+
entry: ["syncSelectElement"],
|
|
618
|
+
watch({ context: e, prop: s, track: t, action: i }) {
|
|
619
|
+
t([() => e.get("value").toString()], () => {
|
|
620
|
+
i(["syncSelectedItems", "syncSelectElement", "dispatchChangeEvent"]);
|
|
621
|
+
}), t([() => s("open")], () => {
|
|
622
|
+
i(["toggleVisibility"]);
|
|
623
|
+
}), t([() => e.get("highlightedValue")], () => {
|
|
624
|
+
i(["syncHighlightedItem"]);
|
|
625
|
+
}), t([() => s("collection").toString()], () => {
|
|
626
|
+
i(["syncCollection"]);
|
|
627
|
+
});
|
|
628
|
+
},
|
|
629
|
+
on: {
|
|
630
|
+
"HIGHLIGHTED_VALUE.SET": {
|
|
631
|
+
actions: ["setHighlightedItem"]
|
|
632
|
+
},
|
|
633
|
+
"ITEM.SELECT": {
|
|
634
|
+
actions: ["selectItem"]
|
|
635
|
+
},
|
|
636
|
+
"ITEM.CLEAR": {
|
|
637
|
+
actions: ["clearItem"]
|
|
638
|
+
},
|
|
639
|
+
"VALUE.SET": {
|
|
640
|
+
actions: ["setSelectedItems"]
|
|
641
|
+
},
|
|
642
|
+
"VALUE.CLEAR": {
|
|
643
|
+
actions: ["clearSelectedItems"]
|
|
644
|
+
},
|
|
645
|
+
"CLEAR.CLICK": {
|
|
646
|
+
actions: ["clearSelectedItems", "focusTriggerEl"]
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
effects: ["trackFormControlState"],
|
|
650
|
+
states: {
|
|
651
|
+
idle: {
|
|
652
|
+
tags: ["closed"],
|
|
653
|
+
on: {
|
|
654
|
+
"CONTROLLED.OPEN": [
|
|
655
|
+
{
|
|
656
|
+
guard: "isTriggerClickEvent",
|
|
657
|
+
target: "open",
|
|
658
|
+
actions: ["setInitialFocus", "highlightFirstSelectedItem"]
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
target: "open",
|
|
662
|
+
actions: ["setInitialFocus"]
|
|
663
|
+
}
|
|
664
|
+
],
|
|
665
|
+
"TRIGGER.CLICK": [
|
|
666
|
+
{
|
|
667
|
+
guard: "isOpenControlled",
|
|
668
|
+
actions: ["invokeOnOpen"]
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
target: "open",
|
|
672
|
+
actions: ["invokeOnOpen", "setInitialFocus", "highlightFirstSelectedItem"]
|
|
673
|
+
}
|
|
674
|
+
],
|
|
675
|
+
"TRIGGER.FOCUS": {
|
|
676
|
+
target: "focused"
|
|
677
|
+
},
|
|
678
|
+
OPEN: [
|
|
679
|
+
{
|
|
680
|
+
guard: "isOpenControlled",
|
|
681
|
+
actions: ["invokeOnOpen"]
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
target: "open",
|
|
685
|
+
actions: ["setInitialFocus", "invokeOnOpen"]
|
|
686
|
+
}
|
|
687
|
+
]
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
focused: {
|
|
691
|
+
tags: ["closed"],
|
|
692
|
+
on: {
|
|
693
|
+
"CONTROLLED.OPEN": [
|
|
694
|
+
{
|
|
695
|
+
guard: "isTriggerClickEvent",
|
|
696
|
+
target: "open",
|
|
697
|
+
actions: ["setInitialFocus", "highlightFirstSelectedItem"]
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
guard: "isTriggerArrowUpEvent",
|
|
701
|
+
target: "open",
|
|
702
|
+
actions: ["setInitialFocus", "highlightComputedLastItem"]
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
guard: ke("isTriggerArrowDownEvent", "isTriggerEnterEvent"),
|
|
706
|
+
target: "open",
|
|
707
|
+
actions: ["setInitialFocus", "highlightComputedFirstItem"]
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
target: "open",
|
|
711
|
+
actions: ["setInitialFocus"]
|
|
712
|
+
}
|
|
713
|
+
],
|
|
714
|
+
OPEN: [
|
|
715
|
+
{
|
|
716
|
+
guard: "isOpenControlled",
|
|
717
|
+
actions: ["invokeOnOpen"]
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
target: "open",
|
|
721
|
+
actions: ["setInitialFocus", "invokeOnOpen"]
|
|
722
|
+
}
|
|
723
|
+
],
|
|
724
|
+
"TRIGGER.BLUR": {
|
|
725
|
+
target: "idle"
|
|
726
|
+
},
|
|
727
|
+
"TRIGGER.CLICK": [
|
|
728
|
+
{
|
|
729
|
+
guard: "isOpenControlled",
|
|
730
|
+
actions: ["invokeOnOpen"]
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
target: "open",
|
|
734
|
+
actions: ["setInitialFocus", "invokeOnOpen", "highlightFirstSelectedItem"]
|
|
735
|
+
}
|
|
736
|
+
],
|
|
737
|
+
"TRIGGER.ENTER": [
|
|
738
|
+
{
|
|
739
|
+
guard: "isOpenControlled",
|
|
740
|
+
actions: ["invokeOnOpen"]
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
target: "open",
|
|
744
|
+
actions: ["setInitialFocus", "invokeOnOpen", "highlightComputedFirstItem"]
|
|
745
|
+
}
|
|
746
|
+
],
|
|
747
|
+
"TRIGGER.ARROW_UP": [
|
|
748
|
+
{
|
|
749
|
+
guard: "isOpenControlled",
|
|
750
|
+
actions: ["invokeOnOpen"]
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
target: "open",
|
|
754
|
+
actions: ["setInitialFocus", "invokeOnOpen", "highlightComputedLastItem"]
|
|
755
|
+
}
|
|
756
|
+
],
|
|
757
|
+
"TRIGGER.ARROW_DOWN": [
|
|
758
|
+
{
|
|
759
|
+
guard: "isOpenControlled",
|
|
760
|
+
actions: ["invokeOnOpen"]
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
target: "open",
|
|
764
|
+
actions: ["setInitialFocus", "invokeOnOpen", "highlightComputedFirstItem"]
|
|
765
|
+
}
|
|
766
|
+
],
|
|
767
|
+
"TRIGGER.ARROW_LEFT": [
|
|
768
|
+
{
|
|
769
|
+
guard: S(T("multiple"), "hasSelectedItems"),
|
|
770
|
+
actions: ["selectPreviousItem"]
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
guard: T("multiple"),
|
|
774
|
+
actions: ["selectLastItem"]
|
|
775
|
+
}
|
|
776
|
+
],
|
|
777
|
+
"TRIGGER.ARROW_RIGHT": [
|
|
778
|
+
{
|
|
779
|
+
guard: S(T("multiple"), "hasSelectedItems"),
|
|
780
|
+
actions: ["selectNextItem"]
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
guard: T("multiple"),
|
|
784
|
+
actions: ["selectFirstItem"]
|
|
785
|
+
}
|
|
786
|
+
],
|
|
787
|
+
"TRIGGER.HOME": {
|
|
788
|
+
guard: T("multiple"),
|
|
789
|
+
actions: ["selectFirstItem"]
|
|
790
|
+
},
|
|
791
|
+
"TRIGGER.END": {
|
|
792
|
+
guard: T("multiple"),
|
|
793
|
+
actions: ["selectLastItem"]
|
|
794
|
+
},
|
|
795
|
+
"TRIGGER.TYPEAHEAD": {
|
|
796
|
+
guard: T("multiple"),
|
|
797
|
+
actions: ["selectMatchingItem"]
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
open: {
|
|
802
|
+
tags: ["open"],
|
|
803
|
+
exit: ["scrollContentToTop"],
|
|
804
|
+
effects: ["trackDismissableElement", "computePlacement", "scrollToHighlightedItem"],
|
|
805
|
+
on: {
|
|
806
|
+
"CONTROLLED.CLOSE": [
|
|
807
|
+
{
|
|
808
|
+
guard: "restoreFocus",
|
|
809
|
+
target: "focused",
|
|
810
|
+
actions: ["focusTriggerEl", "clearHighlightedItem"]
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
target: "idle",
|
|
814
|
+
actions: ["clearHighlightedItem"]
|
|
815
|
+
}
|
|
816
|
+
],
|
|
817
|
+
CLOSE: [
|
|
818
|
+
{
|
|
819
|
+
guard: "isOpenControlled",
|
|
820
|
+
actions: ["invokeOnClose"]
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
guard: "restoreFocus",
|
|
824
|
+
target: "focused",
|
|
825
|
+
actions: ["invokeOnClose", "focusTriggerEl", "clearHighlightedItem"]
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
target: "idle",
|
|
829
|
+
actions: ["invokeOnClose", "clearHighlightedItem"]
|
|
830
|
+
}
|
|
831
|
+
],
|
|
832
|
+
"TRIGGER.CLICK": [
|
|
833
|
+
{
|
|
834
|
+
guard: "isOpenControlled",
|
|
835
|
+
actions: ["invokeOnClose"]
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
target: "focused",
|
|
839
|
+
actions: ["invokeOnClose", "clearHighlightedItem"]
|
|
840
|
+
}
|
|
841
|
+
],
|
|
842
|
+
"ITEM.CLICK": [
|
|
843
|
+
{
|
|
844
|
+
guard: S("closeOnSelect", "isOpenControlled"),
|
|
845
|
+
actions: ["selectHighlightedItem", "invokeOnClose"]
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
guard: "closeOnSelect",
|
|
849
|
+
target: "focused",
|
|
850
|
+
actions: ["selectHighlightedItem", "invokeOnClose", "focusTriggerEl", "clearHighlightedItem"]
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
actions: ["selectHighlightedItem"]
|
|
854
|
+
}
|
|
855
|
+
],
|
|
856
|
+
"CONTENT.HOME": {
|
|
857
|
+
actions: ["highlightFirstItem"]
|
|
858
|
+
},
|
|
859
|
+
"CONTENT.END": {
|
|
860
|
+
actions: ["highlightLastItem"]
|
|
861
|
+
},
|
|
862
|
+
"CONTENT.ARROW_DOWN": [
|
|
863
|
+
{
|
|
864
|
+
guard: S("hasHighlightedItem", "loop", "isLastItemHighlighted"),
|
|
865
|
+
actions: ["highlightFirstItem"]
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
guard: "hasHighlightedItem",
|
|
869
|
+
actions: ["highlightNextItem"]
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
actions: ["highlightFirstItem"]
|
|
873
|
+
}
|
|
874
|
+
],
|
|
875
|
+
"CONTENT.ARROW_UP": [
|
|
876
|
+
{
|
|
877
|
+
guard: S("hasHighlightedItem", "loop", "isFirstItemHighlighted"),
|
|
878
|
+
actions: ["highlightLastItem"]
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
guard: "hasHighlightedItem",
|
|
882
|
+
actions: ["highlightPreviousItem"]
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
actions: ["highlightLastItem"]
|
|
886
|
+
}
|
|
887
|
+
],
|
|
888
|
+
"CONTENT.TYPEAHEAD": {
|
|
889
|
+
actions: ["highlightMatchingItem"]
|
|
890
|
+
},
|
|
891
|
+
"ITEM.POINTER_MOVE": {
|
|
892
|
+
actions: ["highlightItem"]
|
|
893
|
+
},
|
|
894
|
+
"ITEM.POINTER_LEAVE": {
|
|
895
|
+
actions: ["clearHighlightedItem"]
|
|
896
|
+
},
|
|
897
|
+
"POSITIONING.SET": {
|
|
898
|
+
actions: ["reposition"]
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
},
|
|
903
|
+
implementations: {
|
|
904
|
+
guards: {
|
|
905
|
+
loop: ({ prop: e }) => !!e("loopFocus"),
|
|
906
|
+
multiple: ({ prop: e }) => !!e("multiple"),
|
|
907
|
+
hasSelectedItems: ({ computed: e }) => !!e("hasSelectedItems"),
|
|
908
|
+
hasHighlightedItem: ({ context: e }) => e.get("highlightedValue") != null,
|
|
909
|
+
isFirstItemHighlighted: ({ context: e, prop: s }) => e.get("highlightedValue") === s("collection").firstValue,
|
|
910
|
+
isLastItemHighlighted: ({ context: e, prop: s }) => e.get("highlightedValue") === s("collection").lastValue,
|
|
911
|
+
closeOnSelect: ({ prop: e, event: s }) => !!(s.closeOnSelect ?? e("closeOnSelect")),
|
|
912
|
+
restoreFocus: ({ event: e }) => Z(e),
|
|
913
|
+
// guard assertions (for controlled mode)
|
|
914
|
+
isOpenControlled: ({ prop: e }) => e("open") !== void 0,
|
|
915
|
+
isTriggerClickEvent: ({ event: e }) => e.previousEvent?.type === "TRIGGER.CLICK",
|
|
916
|
+
isTriggerEnterEvent: ({ event: e }) => e.previousEvent?.type === "TRIGGER.ENTER",
|
|
917
|
+
isTriggerArrowUpEvent: ({ event: e }) => e.previousEvent?.type === "TRIGGER.ARROW_UP",
|
|
918
|
+
isTriggerArrowDownEvent: ({ event: e }) => e.previousEvent?.type === "TRIGGER.ARROW_DOWN"
|
|
919
|
+
},
|
|
920
|
+
effects: {
|
|
921
|
+
trackFormControlState({ context: e, scope: s }) {
|
|
922
|
+
return ge(_(s), {
|
|
923
|
+
onFieldsetDisabledChange(t) {
|
|
924
|
+
e.set("fieldsetDisabled", t);
|
|
925
|
+
},
|
|
926
|
+
onFormReset() {
|
|
927
|
+
const t = e.initial("value");
|
|
928
|
+
e.set("value", t);
|
|
929
|
+
}
|
|
930
|
+
});
|
|
931
|
+
},
|
|
932
|
+
trackDismissableElement({ scope: e, send: s, prop: t }) {
|
|
933
|
+
const i = () => b(e);
|
|
934
|
+
let l = !0;
|
|
935
|
+
return he(i, {
|
|
936
|
+
defer: !0,
|
|
937
|
+
exclude: [O(e), Le(e)],
|
|
938
|
+
onFocusOutside: t("onFocusOutside"),
|
|
939
|
+
onPointerDownOutside: t("onPointerDownOutside"),
|
|
940
|
+
onInteractOutside(n) {
|
|
941
|
+
t("onInteractOutside")?.(n), l = !(n.detail.focusable || n.detail.contextmenu);
|
|
942
|
+
},
|
|
943
|
+
onDismiss() {
|
|
944
|
+
s({ type: "CLOSE", src: "interact-outside", restoreFocus: l });
|
|
945
|
+
}
|
|
946
|
+
});
|
|
947
|
+
},
|
|
948
|
+
computePlacement({ context: e, prop: s, scope: t }) {
|
|
949
|
+
const i = s("positioning");
|
|
950
|
+
return e.set("currentPlacement", i.placement), J(() => O(t), () => X(t), {
|
|
951
|
+
defer: !0,
|
|
952
|
+
...i,
|
|
953
|
+
onComplete(o) {
|
|
954
|
+
e.set("currentPlacement", o.placement);
|
|
955
|
+
}
|
|
956
|
+
});
|
|
957
|
+
},
|
|
958
|
+
scrollToHighlightedItem({ context: e, prop: s, scope: t, event: i }) {
|
|
959
|
+
const l = (o) => {
|
|
960
|
+
const r = e.get("highlightedValue");
|
|
961
|
+
if (r == null || i.current().type.includes("POINTER")) return;
|
|
962
|
+
const c = Ne(t, r), m = b(t), v = s("scrollToIndexFn");
|
|
963
|
+
if (v) {
|
|
964
|
+
const I = s("collection").indexOf(r);
|
|
965
|
+
v?.({ index: I, immediate: o });
|
|
966
|
+
return;
|
|
967
|
+
}
|
|
968
|
+
me(c, { rootEl: m, block: "nearest" });
|
|
969
|
+
};
|
|
970
|
+
return x(() => l(!0)), ce(() => b(t), {
|
|
971
|
+
defer: !0,
|
|
972
|
+
attributes: ["data-activedescendant"],
|
|
973
|
+
callback() {
|
|
974
|
+
l(!1);
|
|
975
|
+
}
|
|
976
|
+
});
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
actions: {
|
|
980
|
+
reposition({ context: e, prop: s, scope: t, event: i }) {
|
|
981
|
+
const l = () => X(t);
|
|
982
|
+
J(O(t), l, {
|
|
983
|
+
...s("positioning"),
|
|
984
|
+
...i.options,
|
|
985
|
+
defer: !0,
|
|
986
|
+
listeners: !1,
|
|
987
|
+
onComplete(n) {
|
|
988
|
+
e.set("currentPlacement", n.placement);
|
|
989
|
+
}
|
|
990
|
+
});
|
|
991
|
+
},
|
|
992
|
+
toggleVisibility({ send: e, prop: s, event: t }) {
|
|
993
|
+
e({ type: s("open") ? "CONTROLLED.OPEN" : "CONTROLLED.CLOSE", previousEvent: t });
|
|
994
|
+
},
|
|
995
|
+
highlightPreviousItem({ context: e, prop: s }) {
|
|
996
|
+
const t = e.get("highlightedValue");
|
|
997
|
+
if (t == null) return;
|
|
998
|
+
const i = s("collection").getPreviousValue(t, 1, s("loopFocus"));
|
|
999
|
+
e.set("highlightedValue", i);
|
|
1000
|
+
},
|
|
1001
|
+
highlightNextItem({ context: e, prop: s }) {
|
|
1002
|
+
const t = e.get("highlightedValue");
|
|
1003
|
+
if (t == null) return;
|
|
1004
|
+
const i = s("collection").getNextValue(t, 1, s("loopFocus"));
|
|
1005
|
+
e.set("highlightedValue", i);
|
|
1006
|
+
},
|
|
1007
|
+
highlightFirstItem({ context: e, prop: s }) {
|
|
1008
|
+
const t = s("collection").firstValue;
|
|
1009
|
+
e.set("highlightedValue", t);
|
|
1010
|
+
},
|
|
1011
|
+
highlightLastItem({ context: e, prop: s }) {
|
|
1012
|
+
const t = s("collection").lastValue;
|
|
1013
|
+
e.set("highlightedValue", t);
|
|
1014
|
+
},
|
|
1015
|
+
setInitialFocus({ scope: e }) {
|
|
1016
|
+
x(() => {
|
|
1017
|
+
de({
|
|
1018
|
+
root: b(e)
|
|
1019
|
+
})?.focus({ preventScroll: !0 });
|
|
1020
|
+
});
|
|
1021
|
+
},
|
|
1022
|
+
focusTriggerEl({ event: e, scope: s }) {
|
|
1023
|
+
Z(e) && x(() => {
|
|
1024
|
+
O(s)?.focus({ preventScroll: !0 });
|
|
1025
|
+
});
|
|
1026
|
+
},
|
|
1027
|
+
selectHighlightedItem({ context: e, prop: s, event: t }) {
|
|
1028
|
+
let i = t.value ?? e.get("highlightedValue");
|
|
1029
|
+
if (i == null) return;
|
|
1030
|
+
i = s("deselectable") && !s("multiple") && e.get("value").includes(i) ? null : i, e.set("value", (n) => i == null ? [] : s("multiple") ? Y(n, i) : [i]);
|
|
1031
|
+
},
|
|
1032
|
+
highlightComputedFirstItem({ context: e, prop: s, computed: t }) {
|
|
1033
|
+
const i = s("collection"), l = t("hasSelectedItems") ? i.sort(e.get("value"))[0] : i.firstValue;
|
|
1034
|
+
e.set("highlightedValue", l);
|
|
1035
|
+
},
|
|
1036
|
+
highlightComputedLastItem({ context: e, prop: s, computed: t }) {
|
|
1037
|
+
const i = s("collection"), l = t("hasSelectedItems") ? i.sort(e.get("value"))[0] : i.lastValue;
|
|
1038
|
+
e.set("highlightedValue", l);
|
|
1039
|
+
},
|
|
1040
|
+
highlightFirstSelectedItem({ context: e, prop: s, computed: t }) {
|
|
1041
|
+
if (!t("hasSelectedItems")) return;
|
|
1042
|
+
const i = s("collection").sort(e.get("value"))[0];
|
|
1043
|
+
e.set("highlightedValue", i);
|
|
1044
|
+
},
|
|
1045
|
+
highlightItem({ context: e, event: s }) {
|
|
1046
|
+
e.set("highlightedValue", s.value);
|
|
1047
|
+
},
|
|
1048
|
+
highlightMatchingItem({ context: e, prop: s, event: t, refs: i }) {
|
|
1049
|
+
const l = s("collection").search(t.key, {
|
|
1050
|
+
state: i.get("typeahead"),
|
|
1051
|
+
currentValue: e.get("highlightedValue")
|
|
1052
|
+
});
|
|
1053
|
+
l != null && e.set("highlightedValue", l);
|
|
1054
|
+
},
|
|
1055
|
+
setHighlightedItem({ context: e, event: s }) {
|
|
1056
|
+
e.set("highlightedValue", s.value);
|
|
1057
|
+
},
|
|
1058
|
+
clearHighlightedItem({ context: e }) {
|
|
1059
|
+
e.set("highlightedValue", null);
|
|
1060
|
+
},
|
|
1061
|
+
selectItem({ context: e, prop: s, event: t }) {
|
|
1062
|
+
const l = s("deselectable") && !s("multiple") && e.get("value").includes(t.value) ? null : t.value;
|
|
1063
|
+
e.set("value", (n) => l == null ? [] : s("multiple") ? Y(n, l) : [l]);
|
|
1064
|
+
},
|
|
1065
|
+
clearItem({ context: e, event: s }) {
|
|
1066
|
+
e.set("value", (t) => t.filter((i) => i !== s.value));
|
|
1067
|
+
},
|
|
1068
|
+
setSelectedItems({ context: e, event: s }) {
|
|
1069
|
+
e.set("value", s.value);
|
|
1070
|
+
},
|
|
1071
|
+
clearSelectedItems({ context: e }) {
|
|
1072
|
+
e.set("value", []);
|
|
1073
|
+
},
|
|
1074
|
+
selectPreviousItem({ context: e, prop: s }) {
|
|
1075
|
+
const [t] = e.get("value"), i = s("collection").getPreviousValue(t);
|
|
1076
|
+
i && e.set("value", [i]);
|
|
1077
|
+
},
|
|
1078
|
+
selectNextItem({ context: e, prop: s }) {
|
|
1079
|
+
const [t] = e.get("value"), i = s("collection").getNextValue(t);
|
|
1080
|
+
i && e.set("value", [i]);
|
|
1081
|
+
},
|
|
1082
|
+
selectFirstItem({ context: e, prop: s }) {
|
|
1083
|
+
const t = s("collection").firstValue;
|
|
1084
|
+
t && e.set("value", [t]);
|
|
1085
|
+
},
|
|
1086
|
+
selectLastItem({ context: e, prop: s }) {
|
|
1087
|
+
const t = s("collection").lastValue;
|
|
1088
|
+
t && e.set("value", [t]);
|
|
1089
|
+
},
|
|
1090
|
+
selectMatchingItem({ context: e, prop: s, event: t, refs: i }) {
|
|
1091
|
+
const l = s("collection").search(t.key, {
|
|
1092
|
+
state: i.get("typeahead"),
|
|
1093
|
+
currentValue: e.get("value")[0]
|
|
1094
|
+
});
|
|
1095
|
+
l != null && e.set("value", [l]);
|
|
1096
|
+
},
|
|
1097
|
+
scrollContentToTop({ prop: e, scope: s }) {
|
|
1098
|
+
e("scrollToIndexFn") ? e("scrollToIndexFn")?.({ index: 0, immediate: !0 }) : b(s)?.scrollTo(0, 0);
|
|
1099
|
+
},
|
|
1100
|
+
invokeOnOpen({ prop: e }) {
|
|
1101
|
+
e("onOpenChange")?.({ open: !0 });
|
|
1102
|
+
},
|
|
1103
|
+
invokeOnClose({ prop: e }) {
|
|
1104
|
+
e("onOpenChange")?.({ open: !1 });
|
|
1105
|
+
},
|
|
1106
|
+
syncSelectElement({ context: e, prop: s, scope: t }) {
|
|
1107
|
+
const i = _(t);
|
|
1108
|
+
if (i) {
|
|
1109
|
+
if (e.get("value").length === 0 && !s("multiple")) {
|
|
1110
|
+
i.selectedIndex = -1;
|
|
1111
|
+
return;
|
|
1112
|
+
}
|
|
1113
|
+
for (const l of i.options)
|
|
1114
|
+
l.selected = e.get("value").includes(l.value);
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
syncCollection({ context: e, prop: s }) {
|
|
1118
|
+
const t = s("collection"), i = t.find(e.get("highlightedValue"));
|
|
1119
|
+
i && e.set("highlightedItem", i);
|
|
1120
|
+
const l = t.findMany(e.get("value"));
|
|
1121
|
+
e.set("selectedItems", l);
|
|
1122
|
+
const n = t.stringifyItems(l);
|
|
1123
|
+
e.set("valueAsString", n);
|
|
1124
|
+
},
|
|
1125
|
+
syncSelectedItems({ context: e, prop: s }) {
|
|
1126
|
+
const t = s("collection"), i = e.get("selectedItems"), n = e.get("value").map((o) => i.find((c) => t.getItemValue(c) === o) || t.find(o));
|
|
1127
|
+
e.set("selectedItems", n), e.set("valueAsString", t.stringifyItems(n));
|
|
1128
|
+
},
|
|
1129
|
+
syncHighlightedItem({ context: e, prop: s }) {
|
|
1130
|
+
const t = s("collection"), i = e.get("highlightedValue"), l = i ? t.find(i) : null;
|
|
1131
|
+
e.set("highlightedItem", l);
|
|
1132
|
+
},
|
|
1133
|
+
dispatchChangeEvent({ scope: e }) {
|
|
1134
|
+
queueMicrotask(() => {
|
|
1135
|
+
const s = _(e);
|
|
1136
|
+
if (!s) return;
|
|
1137
|
+
const t = e.getWin(), i = new t.Event("change", { bubbles: !0, composed: !0 });
|
|
1138
|
+
s.dispatchEvent(i);
|
|
1139
|
+
});
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
});
|
|
1144
|
+
function Z(e) {
|
|
1145
|
+
const s = e.restoreFocus ?? e.previousEvent?.restoreFocus;
|
|
1146
|
+
return s == null || !!s;
|
|
1147
|
+
}
|
|
1148
|
+
L()([
|
|
1149
|
+
"closeOnSelect",
|
|
1150
|
+
"collection",
|
|
1151
|
+
"dir",
|
|
1152
|
+
"disabled",
|
|
1153
|
+
"deselectable",
|
|
1154
|
+
"form",
|
|
1155
|
+
"getRootNode",
|
|
1156
|
+
"highlightedValue",
|
|
1157
|
+
"id",
|
|
1158
|
+
"ids",
|
|
1159
|
+
"invalid",
|
|
1160
|
+
"loopFocus",
|
|
1161
|
+
"multiple",
|
|
1162
|
+
"name",
|
|
1163
|
+
"onFocusOutside",
|
|
1164
|
+
"onHighlightChange",
|
|
1165
|
+
"onInteractOutside",
|
|
1166
|
+
"onOpenChange",
|
|
1167
|
+
"onPointerDownOutside",
|
|
1168
|
+
"onValueChange",
|
|
1169
|
+
"defaultOpen",
|
|
1170
|
+
"open",
|
|
1171
|
+
"composite",
|
|
1172
|
+
"positioning",
|
|
1173
|
+
"required",
|
|
1174
|
+
"readOnly",
|
|
1175
|
+
"scrollToIndexFn",
|
|
1176
|
+
"value",
|
|
1177
|
+
"defaultValue",
|
|
1178
|
+
"defaultHighlightedValue"
|
|
1179
|
+
]);
|
|
1180
|
+
L()(["item", "persistFocus"]);
|
|
1181
|
+
L()(["id"]);
|
|
1182
|
+
L()(["htmlFor"]);
|
|
1183
|
+
export {
|
|
1184
|
+
ee as L,
|
|
1185
|
+
Ge as a,
|
|
1186
|
+
Me as c,
|
|
1187
|
+
we as m
|
|
1188
|
+
};
|
|
1189
|
+
//# sourceMappingURL=index-cSjUS7Xj.js.map
|