@televet/kibble-ui 4.0.1 → 5.0.0-beta.hotfix.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/alert.types-BKSqs9qY.js +2 -0
- package/dist/chunks/alert.types-BKSqs9qY.js.map +1 -0
- package/dist/chunks/alert.types-C_ygg7fh.js +141 -0
- package/dist/chunks/alert.types-C_ygg7fh.js.map +1 -0
- package/dist/chunks/anatomy-BkGk10kB.js +2 -0
- package/dist/chunks/anatomy-BkGk10kB.js.map +1 -0
- package/dist/chunks/anatomy-zd4ecEFD.js +280 -0
- package/dist/chunks/anatomy-zd4ecEFD.js.map +1 -0
- package/dist/chunks/avatar.component-B1HGlwVW.js +2 -0
- package/dist/chunks/avatar.component-B1HGlwVW.js.map +1 -0
- package/dist/chunks/avatar.component-C-365mx3.js +404 -0
- package/dist/chunks/avatar.component-C-365mx3.js.map +1 -0
- package/dist/chunks/avatar.records-CxLCvZfG.js +2 -0
- package/dist/chunks/avatar.records-CxLCvZfG.js.map +1 -0
- package/dist/chunks/{index-Cv06PsSJ.js → avatar.records-EoZmO3VR.js} +21 -13
- package/dist/chunks/avatar.records-EoZmO3VR.js.map +1 -0
- package/dist/chunks/avatarGroup.component-B-ZOhj7i.js +75 -0
- package/dist/chunks/avatarGroup.component-B-ZOhj7i.js.map +1 -0
- package/dist/chunks/avatarGroup.component-CTBfGiSm.js +2 -0
- package/dist/chunks/avatarGroup.component-CTBfGiSm.js.map +1 -0
- package/dist/chunks/button.component-BO6oee_V.js +69 -0
- package/dist/chunks/button.component-BO6oee_V.js.map +1 -0
- package/dist/chunks/button.component-DjdgBXDC.js +2 -0
- package/dist/chunks/button.component-DjdgBXDC.js.map +1 -0
- package/dist/chunks/button.recipe-Bb0lptGi.js +613 -0
- package/dist/chunks/button.recipe-Bb0lptGi.js.map +1 -0
- package/dist/chunks/button.recipe-flk0XJTS.js +2 -0
- package/dist/chunks/button.recipe-flk0XJTS.js.map +1 -0
- package/dist/chunks/button.types-3lHElsln.js +2 -0
- package/dist/chunks/button.types-3lHElsln.js.map +1 -0
- package/dist/chunks/{button.types-BKXZNvN1.js → button.types-C9PpvmYR.js} +14 -9
- package/dist/chunks/button.types-C9PpvmYR.js.map +1 -0
- package/dist/chunks/buttonGroup.component-CowJsbr7.js +2 -0
- package/dist/chunks/buttonGroup.component-CowJsbr7.js.map +1 -0
- package/dist/chunks/buttonGroup.component-DUK2FgFn.js +70 -0
- package/dist/chunks/buttonGroup.component-DUK2FgFn.js.map +1 -0
- package/dist/chunks/calendar.component-CHIhplfO.js +18 -0
- package/dist/chunks/calendar.component-CHIhplfO.js.map +1 -0
- package/dist/chunks/calendar.component-tOoK1NrU.js +2 -0
- package/dist/chunks/calendar.component-tOoK1NrU.js.map +1 -0
- package/dist/chunks/card.component-B1AznjWF.js +55 -0
- package/dist/chunks/card.component-B1AznjWF.js.map +1 -0
- package/dist/chunks/card.component-BmBiYbMV.js +2 -0
- package/dist/chunks/card.component-BmBiYbMV.js.map +1 -0
- package/dist/chunks/center-Dmlzv1BW.js +20 -0
- package/dist/chunks/center-Dmlzv1BW.js.map +1 -0
- package/dist/chunks/center-kk61ArhQ.js +2 -0
- package/dist/chunks/center-kk61ArhQ.js.map +1 -0
- package/dist/chunks/characterCounter.component-CKDigkoD.js +2 -0
- package/dist/chunks/characterCounter.component-CKDigkoD.js.map +1 -0
- package/dist/chunks/characterCounter.component-Ch3P3GqC.js +82 -0
- package/dist/chunks/characterCounter.component-Ch3P3GqC.js.map +1 -0
- package/dist/chunks/{checkbox.anatomy-DC8fJdkY.js → checkbox.anatomy-BzZ0IkUF.js} +22 -22
- package/dist/chunks/{checkbox.anatomy-DC8fJdkY.js.map → checkbox.anatomy-BzZ0IkUF.js.map} +1 -1
- package/dist/chunks/{checkbox.anatomy-BNdLT4Qf.js → checkbox.anatomy-DM39E2Q9.js} +2 -2
- package/dist/chunks/{checkbox.anatomy-BNdLT4Qf.js.map → checkbox.anatomy-DM39E2Q9.js.map} +1 -1
- package/dist/chunks/checkbox.component-CiA3Z1zR.js +2 -0
- package/dist/chunks/{checkbox.component-DNOkXggb.js.map → checkbox.component-CiA3Z1zR.js.map} +1 -1
- package/dist/chunks/checkbox.component-DE35wBj-.js +269 -0
- package/dist/chunks/{checkbox.component-Dhjcu89D.js.map → checkbox.component-DE35wBj-.js.map} +1 -1
- package/dist/chunks/checkboxGroup.component-BGBd-roJ.js +2 -0
- package/dist/chunks/checkboxGroup.component-BGBd-roJ.js.map +1 -0
- package/dist/chunks/checkboxGroup.component-CYwGlktu.js +53 -0
- package/dist/chunks/checkboxGroup.component-CYwGlktu.js.map +1 -0
- package/dist/chunks/{config-B3QABP1-.js → config-Djkl1N81.js} +4 -4
- package/dist/chunks/{config-B3QABP1-.js.map → config-Djkl1N81.js.map} +1 -1
- package/dist/chunks/conversationCard.component-BrDGshOG.js +2 -0
- package/dist/chunks/conversationCard.component-BrDGshOG.js.map +1 -0
- package/dist/chunks/conversationCard.component-CMdqD3yN.js +331 -0
- package/dist/chunks/conversationCard.component-CMdqD3yN.js.map +1 -0
- package/dist/chunks/{create-recipe-context-CrEKmpj8.js → create-recipe-context-DfQ-MTih.js} +9 -9
- package/dist/chunks/{create-recipe-context-CrEKmpj8.js.map → create-recipe-context-DfQ-MTih.js.map} +1 -1
- package/dist/chunks/create-slot-recipe-context-D_FXDJGp.js +104 -0
- package/dist/chunks/create-slot-recipe-context-D_FXDJGp.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-HXE1VazG.js +2 -0
- package/dist/chunks/create-slot-recipe-context-HXE1VazG.js.map +1 -0
- package/dist/chunks/datePicker.component-C6cD1_HR.js +2 -0
- package/dist/chunks/datePicker.component-C6cD1_HR.js.map +1 -0
- package/dist/chunks/datePicker.component-eHU7IZgC.js +166 -0
- package/dist/chunks/datePicker.component-eHU7IZgC.js.map +1 -0
- package/dist/chunks/datePicker.provider-BWHE-9FA.js +3009 -0
- package/dist/chunks/datePicker.provider-BWHE-9FA.js.map +1 -0
- package/dist/chunks/datePicker.provider-DgarjPPd.js +15 -0
- package/dist/chunks/datePicker.provider-DgarjPPd.js.map +1 -0
- package/dist/chunks/dateTimePicker.component-Byjxg2lJ.js +317 -0
- package/dist/chunks/dateTimePicker.component-Byjxg2lJ.js.map +1 -0
- package/dist/chunks/dateTimePicker.component-REz9iX4S.js +2 -0
- package/dist/chunks/dateTimePicker.component-REz9iX4S.js.map +1 -0
- package/dist/chunks/{dialog-C51vaoYf.js → dialog-B9jifvV4.js} +37 -36
- package/dist/chunks/{dialog-C51vaoYf.js.map → dialog-B9jifvV4.js.map} +1 -1
- package/dist/chunks/dialog-CZFwddWp.js +2 -0
- package/dist/chunks/{dialog-BPhjKQkb.js.map → dialog-CZFwddWp.js.map} +1 -1
- package/dist/chunks/divider.component-BX3zyB7O.js +2 -0
- package/dist/chunks/divider.component-BX3zyB7O.js.map +1 -0
- package/dist/chunks/divider.component-CFOh4Nw3.js +45 -0
- package/dist/chunks/divider.component-CFOh4Nw3.js.map +1 -0
- package/dist/chunks/divider.types-6MEkMNbx.js +7 -0
- package/dist/chunks/divider.types-6MEkMNbx.js.map +1 -0
- package/dist/chunks/divider.types-DBNcs0IR.js +2 -0
- package/dist/chunks/divider.types-DBNcs0IR.js.map +1 -0
- package/dist/chunks/{empty-BU2EAux9.js → empty-DNH84khx.js} +3 -3
- package/dist/chunks/{empty-BU2EAux9.js.map → empty-DNH84khx.js.map} +1 -1
- package/dist/chunks/field.anatomy-Bhj7Mlr7.js +2 -0
- package/dist/chunks/field.anatomy-Bhj7Mlr7.js.map +1 -0
- package/dist/chunks/field.anatomy-C37GEr2p.js +16 -0
- package/dist/chunks/field.anatomy-C37GEr2p.js.map +1 -0
- package/dist/chunks/{format-BRt-TIiQ.js → format-CK7Imh-5.js} +2 -2
- package/dist/chunks/{format-BRt-TIiQ.js.map → format-CK7Imh-5.js.map} +1 -1
- package/dist/chunks/{format-DgHM6wFr.js → format-CqTHHSak.js} +3 -1
- package/dist/chunks/{format-DgHM6wFr.js.map → format-CqTHHSak.js.map} +1 -1
- package/dist/chunks/grid-item-BmCSQ38y.js +78 -0
- package/dist/chunks/grid-item-BmCSQ38y.js.map +1 -0
- package/dist/chunks/grid-item-CH3dbZHL.js +2 -0
- package/dist/chunks/grid-item-CH3dbZHL.js.map +1 -0
- package/dist/chunks/heading.component-7ikcgDco.js +18 -0
- package/dist/chunks/heading.component-7ikcgDco.js.map +1 -0
- package/dist/chunks/heading.component-DMAQO_-m.js +2 -0
- package/dist/chunks/heading.component-DMAQO_-m.js.map +1 -0
- package/dist/chunks/{icon-button-5UcFiA_W.js → icon-button-CcZMCNUJ.js} +3 -3
- package/dist/chunks/{icon-button-5UcFiA_W.js.map → icon-button-CcZMCNUJ.js.map} +1 -1
- package/dist/chunks/icon.component-B1hr5lLa.js +2 -0
- package/dist/chunks/icon.component-B1hr5lLa.js.map +1 -0
- package/dist/chunks/icon.component-PV_nHBId.js +32 -0
- package/dist/chunks/icon.component-PV_nHBId.js.map +1 -0
- package/dist/chunks/{icons-DQ5FafZQ.js → icons-CoSqruIn.js} +5 -5
- package/dist/chunks/{icons-DQ5FafZQ.js.map → icons-CoSqruIn.js.map} +1 -1
- package/dist/chunks/index-B-OGBT0w.js +2 -0
- package/dist/chunks/{index-BEfEzWJx.js.map → index-B-OGBT0w.js.map} +1 -1
- package/dist/chunks/index-B3xJnxjd.js +371 -0
- package/dist/chunks/index-B3xJnxjd.js.map +1 -0
- package/dist/chunks/index-BFUdiDZp.js +2 -0
- package/dist/chunks/{index-2glJ2faJ.js.map → index-BFUdiDZp.js.map} +1 -1
- package/dist/chunks/{index-CVJXrcei.js → index-BGd_2-DY.js} +29 -27
- package/dist/chunks/{index-CVJXrcei.js.map → index-BGd_2-DY.js.map} +1 -1
- package/dist/chunks/index-BXv9lkZC.js +4 -0
- package/dist/chunks/index-BXv9lkZC.js.map +1 -0
- package/dist/chunks/index-BbZjRFzg.js +265 -0
- package/dist/chunks/index-BbZjRFzg.js.map +1 -0
- package/dist/chunks/{index-CYXurbh4.js → index-BgFImxxe.js} +27 -25
- package/dist/chunks/{index-CYXurbh4.js.map → index-BgFImxxe.js.map} +1 -1
- package/dist/chunks/index-BoulS5Zg.js +2 -0
- package/dist/chunks/index-BoulS5Zg.js.map +1 -0
- package/dist/chunks/index-BrJtqTzN.js +4115 -0
- package/dist/chunks/index-BrJtqTzN.js.map +1 -0
- package/dist/chunks/index-C9UYIjEB.js +1584 -0
- package/dist/chunks/index-C9UYIjEB.js.map +1 -0
- package/dist/chunks/index-CQURjLlA.js +3 -0
- package/dist/chunks/index-CQURjLlA.js.map +1 -0
- package/dist/chunks/{index-BXJJKHzT.js → index-CbVKVxMW.js} +54 -52
- package/dist/chunks/{index-BXJJKHzT.js.map → index-CbVKVxMW.js.map} +1 -1
- package/dist/chunks/{index-CWhDtS-n.js → index-Cxrrsmf-.js} +17 -16
- package/dist/chunks/{index-CWhDtS-n.js.map → index-Cxrrsmf-.js.map} +1 -1
- package/dist/chunks/{index-BZBgTxer.js → index-D0DKQnEK.js} +11 -11
- package/dist/chunks/{index-BZBgTxer.js.map → index-D0DKQnEK.js.map} +1 -1
- package/dist/chunks/index-D1RhzPVz.js +984 -0
- package/dist/chunks/index-D1RhzPVz.js.map +1 -0
- package/dist/chunks/index-D3Q0mQNf.js +325 -0
- package/dist/chunks/index-D3Q0mQNf.js.map +1 -0
- package/dist/chunks/index-D6HBfqAu.js +2 -0
- package/dist/chunks/index-D6HBfqAu.js.map +1 -0
- package/dist/chunks/index-D6c4fMjg.js +2 -0
- package/dist/chunks/index-D6c4fMjg.js.map +1 -0
- package/dist/chunks/{index-CfqoBQoP.js → index-D7QT9KIZ.js} +9 -9
- package/dist/chunks/{index-CfqoBQoP.js.map → index-D7QT9KIZ.js.map} +1 -1
- package/dist/chunks/{index-WYcfOUFA.js → index-DIszpWqO.js} +2 -2
- package/dist/chunks/{index-WYcfOUFA.js.map → index-DIszpWqO.js.map} +1 -1
- package/dist/chunks/{index-D0HCo_Ly.js → index-DLe40do7.js} +2 -2
- package/dist/chunks/{index-D0HCo_Ly.js.map → index-DLe40do7.js.map} +1 -1
- package/dist/chunks/index-DS4KlAkI.js +371 -0
- package/dist/chunks/index-DS4KlAkI.js.map +1 -0
- package/dist/chunks/{index-nNZWP0FQ.js → index-DTVestnf.js} +2 -2
- package/dist/chunks/{index-nNZWP0FQ.js.map → index-DTVestnf.js.map} +1 -1
- package/dist/chunks/index-DVyODQn6.js +8 -0
- package/dist/chunks/index-DVyODQn6.js.map +1 -0
- package/dist/chunks/index-D_vndwae.js +3 -0
- package/dist/chunks/index-D_vndwae.js.map +1 -0
- package/dist/chunks/index-DfzXSlq1.js +2477 -0
- package/dist/chunks/index-DfzXSlq1.js.map +1 -0
- package/dist/chunks/{index-BhSvtzbY.js → index-QVc_GVoE.js} +13 -13
- package/dist/chunks/{index-BhSvtzbY.js.map → index-QVc_GVoE.js.map} +1 -1
- package/dist/chunks/index-Ts8g8jZd.js +2 -0
- package/dist/chunks/index-Ts8g8jZd.js.map +1 -0
- package/dist/chunks/index-_913FPya.js +2 -0
- package/dist/chunks/{index-A_vmTNU7.js.map → index-_913FPya.js.map} +1 -1
- package/dist/chunks/index-fHSGm2nC.js +1044 -0
- package/dist/chunks/index-fHSGm2nC.js.map +1 -0
- package/dist/chunks/{index-eNFIsSpE.js → index-kpOEHtZZ.js} +2 -2
- package/dist/chunks/{index-eNFIsSpE.js.map → index-kpOEHtZZ.js.map} +1 -1
- package/dist/chunks/index-rSq6Bry6.js +2 -0
- package/dist/chunks/{index-DAI6_P9H.js.map → index-rSq6Bry6.js.map} +1 -1
- package/dist/chunks/{index-BhPrz8Zu.js → index-wV4hG2vI.js} +19 -19
- package/dist/chunks/{index-BhPrz8Zu.js.map → index-wV4hG2vI.js.map} +1 -1
- package/dist/chunks/index-yh2QitBe.js +2 -0
- package/dist/chunks/index-yh2QitBe.js.map +1 -0
- package/dist/chunks/input-group-CFelIL63.js +78 -0
- package/dist/chunks/input-group-CFelIL63.js.map +1 -0
- package/dist/chunks/input-group-DUdSDk4o.js +2 -0
- package/dist/chunks/input-group-DUdSDk4o.js.map +1 -0
- package/dist/chunks/isToday-BgNkHh5t.js +2 -0
- package/dist/chunks/isToday-BgNkHh5t.js.map +1 -0
- package/dist/chunks/isToday-iCYsPDMT.js +23 -0
- package/dist/chunks/isToday-iCYsPDMT.js.map +1 -0
- package/dist/chunks/link.component--URNKuK2.js +44 -0
- package/dist/chunks/link.component--URNKuK2.js.map +1 -0
- package/dist/chunks/link.component-_YXG8MDq.js +2 -0
- package/dist/chunks/link.component-_YXG8MDq.js.map +1 -0
- package/dist/chunks/{list-D22V_L58.js → list-DTRn3TmT.js} +2 -2
- package/dist/chunks/{list-D22V_L58.js.map → list-DTRn3TmT.js.map} +1 -1
- package/dist/chunks/{list-DwRM9eA_.js → list-v83ZN2MC.js} +2 -2
- package/dist/chunks/{list-DwRM9eA_.js.map → list-v83ZN2MC.js.map} +1 -1
- package/dist/chunks/logo.types-88a31xCx.js +2 -0
- package/dist/chunks/logo.types-88a31xCx.js.map +1 -0
- package/dist/chunks/logo.types-C5GwpHjM.js +51 -0
- package/dist/chunks/logo.types-C5GwpHjM.js.map +1 -0
- package/dist/chunks/menu.component-D4-4xRDj.js +2 -0
- package/dist/chunks/menu.component-D4-4xRDj.js.map +1 -0
- package/dist/chunks/menu.component-DwTen8Uv.js +704 -0
- package/dist/chunks/menu.component-DwTen8Uv.js.map +1 -0
- package/dist/chunks/modal.types-74os4Bqi.js +2 -0
- package/dist/chunks/modal.types-74os4Bqi.js.map +1 -0
- package/dist/chunks/modal.types-B0rK6xJy.js +115 -0
- package/dist/chunks/modal.types-B0rK6xJy.js.map +1 -0
- package/dist/chunks/{notificationCounter.component-Lu4_Owvr.js → notificationCounter.component-BexkISUl.js} +37 -18
- package/dist/chunks/notificationCounter.component-BexkISUl.js.map +1 -0
- package/dist/chunks/notificationCounter.component-DJpUXeXm.js +2 -0
- package/dist/chunks/notificationCounter.component-DJpUXeXm.js.map +1 -0
- package/dist/chunks/numberInput.component-DIABzNV6.js +2 -0
- package/dist/chunks/numberInput.component-DIABzNV6.js.map +1 -0
- package/dist/chunks/numberInput.component-RCwUUzmH.js +227 -0
- package/dist/chunks/numberInput.component-RCwUUzmH.js.map +1 -0
- package/dist/chunks/picture.component-BA2hgdZy.js +2 -0
- package/dist/chunks/picture.component-BA2hgdZy.js.map +1 -0
- package/dist/chunks/picture.component-DzdHIFN_.js +28 -0
- package/dist/chunks/picture.component-DzdHIFN_.js.map +1 -0
- package/dist/chunks/pinInput.types-BCzsoF9r.js +2 -0
- package/dist/chunks/{pinInput.types-Cqm1Px5l.js.map → pinInput.types-BCzsoF9r.js.map} +1 -1
- package/dist/chunks/pinInput.types-CcaAN6P2.js +155 -0
- package/dist/chunks/{pinInput.types-CcN0aX_i.js.map → pinInput.types-CcaAN6P2.js.map} +1 -1
- package/dist/chunks/popover-C7aj8Iwj.js +2 -0
- package/dist/chunks/popover-C7aj8Iwj.js.map +1 -0
- package/dist/chunks/popover-pd70xkY_.js +111 -0
- package/dist/chunks/popover-pd70xkY_.js.map +1 -0
- package/dist/chunks/popover-root-provider-CZDbUJ2K.js +2 -0
- package/dist/chunks/{popover-root-provider-ZB5BcrXn.js.map → popover-root-provider-CZDbUJ2K.js.map} +1 -1
- package/dist/chunks/popover-root-provider-DR0Iuda1.js +44 -0
- package/dist/chunks/{popover-root-provider-CkW1eCBQ.js.map → popover-root-provider-DR0Iuda1.js.map} +1 -1
- package/dist/chunks/popover.component-BBp_5m8e.js +2 -0
- package/dist/chunks/popover.component-BBp_5m8e.js.map +1 -0
- package/dist/chunks/popover.component-DEOUdSu3.js +220 -0
- package/dist/chunks/popover.component-DEOUdSu3.js.map +1 -0
- package/dist/chunks/popover.recipe-B9bkpDfc.js +126 -0
- package/dist/chunks/popover.recipe-B9bkpDfc.js.map +1 -0
- package/dist/chunks/popover.recipe-Czy8Aeft.js +2 -0
- package/dist/chunks/popover.recipe-Czy8Aeft.js.map +1 -0
- package/dist/chunks/popover.types-CQJj3uOX.js +7 -0
- package/dist/chunks/popover.types-CQJj3uOX.js.map +1 -0
- package/dist/chunks/popover.types-ChA9ccQ2.js +2 -0
- package/dist/chunks/popover.types-ChA9ccQ2.js.map +1 -0
- package/dist/chunks/progress-value-text-CFVhPKYk.js +2 -0
- package/dist/chunks/progress-value-text-CFVhPKYk.js.map +1 -0
- package/dist/chunks/progress-value-text-DZkUF2cO.js +58 -0
- package/dist/chunks/progress-value-text-DZkUF2cO.js.map +1 -0
- package/dist/chunks/radioGroup.types-C7A8mLMz.js +2 -0
- package/dist/chunks/radioGroup.types-C7A8mLMz.js.map +1 -0
- package/dist/chunks/radioGroup.types-DJ68ERdO.js +228 -0
- package/dist/chunks/radioGroup.types-DJ68ERdO.js.map +1 -0
- package/dist/chunks/radiomark-Cj0NEJeE.js +2 -0
- package/dist/chunks/radiomark-Cj0NEJeE.js.map +1 -0
- package/dist/chunks/radiomark-DdwVpBDT.js +22 -0
- package/dist/chunks/radiomark-DdwVpBDT.js.map +1 -0
- package/dist/chunks/radiomark.component-D_7wT5VA.js +11 -0
- package/dist/chunks/radiomark.component-D_7wT5VA.js.map +1 -0
- package/dist/chunks/radiomark.component-YJNr68s7.js +2 -0
- package/dist/chunks/radiomark.component-YJNr68s7.js.map +1 -0
- package/dist/chunks/rating-group-CfwdAW9a.js +133 -0
- package/dist/chunks/rating-group-CfwdAW9a.js.map +1 -0
- package/dist/chunks/rating-group-D8QA23q6.js +2 -0
- package/dist/chunks/rating-group-D8QA23q6.js.map +1 -0
- package/dist/chunks/rating.component-BsuGbcxP.js +2 -0
- package/dist/chunks/rating.component-BsuGbcxP.js.map +1 -0
- package/dist/chunks/rating.component-ChzcvUl6.js +70 -0
- package/dist/chunks/rating.component-ChzcvUl6.js.map +1 -0
- package/dist/chunks/ratingDots.component-CVjSZ9JJ.js +2 -0
- package/dist/chunks/ratingDots.component-CVjSZ9JJ.js.map +1 -0
- package/dist/chunks/ratingDots.component-D9WQGVcj.js +147 -0
- package/dist/chunks/ratingDots.component-D9WQGVcj.js.map +1 -0
- package/dist/chunks/{render-strategy-CfHUEDVm.js → render-strategy-kPh1pd2U.js} +2 -2
- package/dist/chunks/{render-strategy-CfHUEDVm.js.map → render-strategy-kPh1pd2U.js.map} +1 -1
- package/dist/chunks/{render-strategy-Dr73HbQf.js → render-strategy-munDZLwL.js} +2 -2
- package/dist/chunks/{render-strategy-Dr73HbQf.js.map → render-strategy-munDZLwL.js.map} +1 -1
- package/dist/chunks/select.component-B4mAPqzN.js +1099 -0
- package/dist/chunks/select.component-B4mAPqzN.js.map +1 -0
- package/dist/chunks/select.component-CCNxMGvb.js +2 -0
- package/dist/chunks/select.component-CCNxMGvb.js.map +1 -0
- package/dist/chunks/{sortableList.component-vxiA7bvr.js → sortableList.component-BlwtnxVj.js} +3 -3
- package/dist/chunks/{sortableList.component-vxiA7bvr.js.map → sortableList.component-BlwtnxVj.js.map} +1 -1
- package/dist/chunks/{sortableList.component-i4dJ9oHN.js → sortableList.component-XfURY7C2.js} +384 -379
- package/dist/chunks/{sortableList.component-i4dJ9oHN.js.map → sortableList.component-XfURY7C2.js.map} +1 -1
- package/dist/chunks/spinner-B9ytCKVs.js +8 -0
- package/dist/chunks/{spinner-C31ZWQmA.js.map → spinner-B9ytCKVs.js.map} +1 -1
- package/dist/chunks/{spinner.component-DPYj17HK.js → spinner.component-B3dkvoO9.js} +53 -45
- package/dist/chunks/spinner.component-B3dkvoO9.js.map +1 -0
- package/dist/chunks/spinner.component-DuW1_IWM.js +2 -0
- package/dist/chunks/spinner.component-DuW1_IWM.js.map +1 -0
- package/dist/chunks/styledAvatar.types-CcP-Vl9c.js +2 -0
- package/dist/chunks/styledAvatar.types-CcP-Vl9c.js.map +1 -0
- package/dist/chunks/styledAvatar.types-cR6PNPxA.js +69 -0
- package/dist/chunks/styledAvatar.types-cR6PNPxA.js.map +1 -0
- package/dist/chunks/swatch.types-AZLB8OWG.js +2 -0
- package/dist/chunks/swatch.types-AZLB8OWG.js.map +1 -0
- package/dist/chunks/{swatch.types-CXlghcLw.js → swatch.types-CkrkMi11.js} +21 -20
- package/dist/chunks/swatch.types-CkrkMi11.js.map +1 -0
- package/dist/chunks/switch.component-CgzCLoTB.js +2 -0
- package/dist/chunks/{switch.component-Cke7O8gk.js.map → switch.component-CgzCLoTB.js.map} +1 -1
- package/dist/chunks/switch.component-CpV7mnhR.js +155 -0
- package/dist/chunks/{switch.component-C88jBbo_.js.map → switch.component-CpV7mnhR.js.map} +1 -1
- package/dist/chunks/{tab.types-DCkus0y2.js → tab.types-DaJfFBvr.js} +136 -117
- package/dist/chunks/{tab.types-DCkus0y2.js.map → tab.types-DaJfFBvr.js.map} +1 -1
- package/dist/chunks/tab.types-DwPEP_5N.js +2 -0
- package/dist/chunks/{tab.types-DpmXyw5C.js.map → tab.types-DwPEP_5N.js.map} +1 -1
- package/dist/chunks/tag.component-B7V76XfM.js +84 -0
- package/dist/chunks/tag.component-B7V76XfM.js.map +1 -0
- package/dist/chunks/tag.component-C98Wf07v.js +2 -0
- package/dist/chunks/tag.component-C98Wf07v.js.map +1 -0
- package/dist/chunks/tagBlock.component-BGEvRu81.js +2 -0
- package/dist/chunks/tagBlock.component-BGEvRu81.js.map +1 -0
- package/dist/chunks/tagBlock.component-Cor6eakc.js +170 -0
- package/dist/chunks/tagBlock.component-Cor6eakc.js.map +1 -0
- package/dist/chunks/text.component-CdTyTFds.js +12 -0
- package/dist/chunks/text.component-CdTyTFds.js.map +1 -0
- package/dist/chunks/text.component-CeioUl0G.js +2 -0
- package/dist/chunks/text.component-CeioUl0G.js.map +1 -0
- package/dist/chunks/textInput.component-BC0Hi8R_.js +108 -0
- package/dist/chunks/textInput.component-BC0Hi8R_.js.map +1 -0
- package/dist/chunks/textInput.component-C1vwy6pL.js +2 -0
- package/dist/chunks/textInput.component-C1vwy6pL.js.map +1 -0
- package/dist/chunks/textarea.component-D15hA9Jb.js +2 -0
- package/dist/chunks/{textarea.component-Dk2IMKkr.js.map → textarea.component-D15hA9Jb.js.map} +1 -1
- package/dist/chunks/textarea.component-axjxiv82.js +96 -0
- package/dist/chunks/{textarea.component-BYexywy1.js.map → textarea.component-axjxiv82.js.map} +1 -1
- package/dist/chunks/{theme.provider-w_I9S10D.js → theme.provider-BD7qyu-B.js} +1405 -1339
- package/dist/chunks/theme.provider-BD7qyu-B.js.map +1 -0
- package/dist/chunks/theme.provider-DFwAy7tr.js +28 -0
- package/dist/chunks/theme.provider-DFwAy7tr.js.map +1 -0
- package/dist/chunks/timePicker.component-Cz2XxVL6.js +2 -0
- package/dist/chunks/timePicker.component-Cz2XxVL6.js.map +1 -0
- package/dist/chunks/timePicker.component-u34pHrzr.js +220 -0
- package/dist/chunks/timePicker.component-u34pHrzr.js.map +1 -0
- package/dist/chunks/timeRange.component-BiA1VWQ8.js +19 -0
- package/dist/chunks/timeRange.component-BiA1VWQ8.js.map +1 -0
- package/dist/chunks/timeRange.component-tU_nCTmS.js +2 -0
- package/dist/chunks/timeRange.component-tU_nCTmS.js.map +1 -0
- package/dist/chunks/timestamp.component-DBmc7D23.js +36 -0
- package/dist/chunks/timestamp.component-DBmc7D23.js.map +1 -0
- package/dist/chunks/timestamp.component-DYZHgaas.js +2 -0
- package/dist/chunks/timestamp.component-DYZHgaas.js.map +1 -0
- package/dist/chunks/toaster.records-CDSkoMuU.js +2 -0
- package/dist/chunks/{toaster.records-eCXbM85Z.js.map → toaster.records-CDSkoMuU.js.map} +1 -1
- package/dist/chunks/{toaster.records-oryzm5Go.js → toaster.records-Cb3hbtuY.js} +103 -102
- package/dist/chunks/{toaster.records-oryzm5Go.js.map → toaster.records-Cb3hbtuY.js.map} +1 -1
- package/dist/chunks/tooltip.component-BkFDi5yK.js +2 -0
- package/dist/chunks/{tooltip.component-CATpCSkf.js.map → tooltip.component-BkFDi5yK.js.map} +1 -1
- package/dist/chunks/{tooltip.component-mjdP7nPN.js → tooltip.component-C_NS-AoH.js} +126 -103
- package/dist/chunks/{tooltip.component-mjdP7nPN.js.map → tooltip.component-C_NS-AoH.js.map} +1 -1
- package/dist/chunks/{typography.records-CpYV1kns.js → typography.records-BEd2lI_g.js} +10 -22
- package/dist/chunks/typography.records-BEd2lI_g.js.map +1 -0
- package/dist/chunks/typography.records-Cg_lT1Z3.js +2 -0
- package/dist/chunks/typography.records-Cg_lT1Z3.js.map +1 -0
- package/dist/chunks/{use-field-context-BTxME29X.js → use-field-context-Cm29IQ7H.js} +2 -2
- package/dist/chunks/{use-field-context-BTxME29X.js.map → use-field-context-Cm29IQ7H.js.map} +1 -1
- package/dist/chunks/{use-field-context-RQeEcNpb.js → use-field-context-DrC9mrDd.js} +2 -2
- package/dist/chunks/{use-field-context-RQeEcNpb.js.map → use-field-context-DrC9mrDd.js.map} +1 -1
- package/dist/chunks/use-locale-context-Bw4Gg9Z0.js +738 -0
- package/dist/chunks/use-locale-context-Bw4Gg9Z0.js.map +1 -0
- package/dist/chunks/use-locale-context-ym21RUxU.js +22 -0
- package/dist/chunks/use-locale-context-ym21RUxU.js.map +1 -0
- package/dist/chunks/useIconTextSizeMap-BK-pUrQv.js.map +1 -1
- package/dist/chunks/useIconTextSizeMap-BXmABb54.js.map +1 -1
- package/dist/chunks/withFormControl-DePFf9SY.js +367 -0
- package/dist/chunks/withFormControl-DePFf9SY.js.map +1 -0
- package/dist/chunks/withFormControl-wZA87Sd4.js +2 -0
- package/dist/chunks/withFormControl-wZA87Sd4.js.map +1 -0
- package/dist/chunks/withTruncation-DE3FFPE7.js +2 -0
- package/dist/chunks/withTruncation-DE3FFPE7.js.map +1 -0
- package/dist/chunks/withTruncation-DTCfQ2yk.js +92 -0
- package/dist/chunks/withTruncation-DTCfQ2yk.js.map +1 -0
- package/dist/chunks/{wrap-CRNL4bE6.js → wrap-Cu5ZEseD.js} +2 -2
- package/dist/chunks/{wrap-CRNL4bE6.js.map → wrap-Cu5ZEseD.js.map} +1 -1
- package/dist/cjs/chakra/index.cjs +2 -2
- package/dist/cjs/chakra/index.cjs.map +1 -1
- 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/Calendar/index.cjs +2 -0
- package/dist/cjs/components/Calendar/index.cjs.map +1 -0
- package/dist/cjs/components/Card/index.cjs +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 +1 -1
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/DateTimePicker/index.cjs +2 -0
- package/dist/cjs/components/DateTimePicker/index.cjs.map +1 -0
- package/dist/cjs/components/Divider/index.cjs +1 -1
- 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/index.cjs +1 -1
- 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/NumberInput/index.cjs +2 -0
- package/dist/cjs/components/NumberInput/index.cjs.map +1 -0
- package/dist/cjs/components/Picture/index.cjs +1 -1
- package/dist/cjs/components/PinInput/index.cjs +1 -1
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/Progress/index.cjs +2 -0
- package/dist/cjs/components/Progress/index.cjs.map +1 -0
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- package/dist/cjs/components/Radiomark/index.cjs +2 -0
- package/dist/cjs/components/Radiomark/index.cjs.map +1 -0
- package/dist/cjs/components/Rating/index.cjs +2 -0
- package/dist/cjs/components/Rating/index.cjs.map +1 -0
- 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 +1 -1
- package/dist/cjs/components/Swatch/index.cjs +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 +1 -1
- 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 +1 -1
- package/dist/cjs/components/Toast/index.cjs +1 -1
- package/dist/cjs/components/Toast/index.cjs.map +1 -1
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/hooks/useBreakpoint/index.cjs.map +1 -1
- package/dist/cjs/hooks/useColorMode/index.cjs.map +1 -1
- package/dist/cjs/hooks/useColorModeValue/index.cjs.map +1 -1
- package/dist/cjs/hooks/useDeviceType/index.cjs.map +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/theme/index.cjs +1 -1
- package/dist/cjs/theme/semanticTokens/index.cjs +1 -1
- package/dist/cjs/theme/semanticTokens/index.cjs.map +1 -1
- package/dist/esm/chakra/index.js +1682 -1997
- package/dist/esm/chakra/index.js.map +1 -1
- 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 +2 -2
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/Calendar/index.js +5 -0
- package/dist/esm/components/Calendar/index.js.map +1 -0
- package/dist/esm/components/Card/index.js +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 +1 -1
- package/dist/esm/components/DatePicker/index.js +4 -3
- package/dist/esm/components/DatePicker/index.js.map +1 -1
- package/dist/esm/components/DateTimePicker/index.js +7 -0
- package/dist/esm/components/DateTimePicker/index.js.map +1 -0
- package/dist/esm/components/Divider/index.js +6 -5
- package/dist/esm/components/Divider/index.js.map +1 -1
- package/dist/esm/components/Heading/index.js +1 -1
- package/dist/esm/components/Icon/generated/index.js +556 -342
- 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/index.js +1 -1
- 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 +1 -1
- package/dist/esm/components/NumberInput/index.js +5 -0
- package/dist/esm/components/NumberInput/index.js.map +1 -0
- package/dist/esm/components/Picture/index.js +1 -1
- package/dist/esm/components/PinInput/index.js +1 -1
- package/dist/esm/components/Popover/index.js +2 -2
- package/dist/esm/components/Progress/index.js +57 -0
- package/dist/esm/components/Progress/index.js.map +1 -0
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/Radiomark/index.js +5 -0
- package/dist/esm/components/Radiomark/index.js.map +1 -0
- package/dist/esm/components/Rating/index.js +5 -0
- package/dist/esm/components/Rating/index.js.map +1 -0
- 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 +1 -1
- package/dist/esm/components/Swatch/index.js +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 +1 -1
- 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 +1 -1
- package/dist/esm/components/Toast/index.js +26 -23
- package/dist/esm/components/Toast/index.js.map +1 -1
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +131 -117
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/hooks/useBreakpoint/index.js.map +1 -1
- package/dist/esm/hooks/useColorMode/index.js.map +1 -1
- package/dist/esm/hooks/useColorModeValue/index.js.map +1 -1
- package/dist/esm/hooks/useDeviceType/index.js.map +1 -1
- package/dist/esm/index.js +148 -134
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/theme/index.js +1 -1
- package/dist/esm/theme/semanticTokens/index.js +4 -4
- package/dist/esm/theme/semanticTokens/index.js.map +1 -1
- package/dist/types/chakra/index.d.ts +2 -4
- package/dist/types/components/Alert/alert.component.d.ts +28 -1
- package/dist/types/components/Alert/alert.recipe.d.ts +3 -2
- package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +12 -1
- package/dist/types/components/Avatar/avatar.component.d.ts +30 -2
- package/dist/types/components/Avatar/avatar.recipe.d.ts +3 -2
- package/dist/types/components/Avatar/avatar.records.d.ts +2 -0
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +9 -1
- package/dist/types/components/Avatar/components/AvatarRemoveButton/avatarRemoveButton.component.d.ts +15 -6
- package/dist/types/components/Avatar/components/AvatarTooltipTriggerWrapper/avatarTooltipTriggerWrapper.component.d.ts +2 -0
- package/dist/types/components/AvatarGroup/avatarGroup.component.d.ts +27 -3
- package/dist/types/components/Button/button.component.d.ts +14 -1
- package/dist/types/components/Button/button.recipe.d.ts +3 -1
- package/dist/types/components/Button/button.types.d.ts +2 -2
- package/dist/types/components/ButtonGroup/buttonGroup.component.d.ts +12 -1
- package/dist/types/components/Calendar/calendar.component.d.ts +19 -0
- package/dist/types/components/Calendar/index.d.ts +1 -0
- package/dist/types/components/Card/card.component.d.ts +41 -1
- package/dist/types/components/CharacterCounter/characterCounter.component.d.ts +9 -1
- package/dist/types/components/Checkbox/checkbox.component.d.ts +19 -2
- package/dist/types/components/Checkbox/checkbox.recipe.d.ts +3 -2
- package/dist/types/components/Checkbox/checkbox.types.d.ts +4 -0
- package/dist/types/components/Checkbox/index.d.ts +1 -0
- package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +12 -2
- package/dist/types/components/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +11 -1
- package/dist/types/components/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +22 -1
- package/dist/types/components/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +8 -1
- package/dist/types/components/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +8 -1
- package/dist/types/components/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +12 -1
- package/dist/types/components/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +7 -1
- package/dist/types/components/ConversationCard/conversationCard.component.d.ts +29 -1
- package/dist/types/components/DatePicker/components/DatePickerCalendar/datePickerCalendar.component.d.ts +10 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +11 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.d.ts +5 -4
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.types.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerFooter/datePickerFooter.component.d.ts +9 -0
- package/dist/types/components/DatePicker/components/DatePickerHeader/datePickerHeader.component.d.ts +15 -1
- package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +6 -1
- package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +11 -1
- package/dist/types/components/DatePicker/context/datePicker.context.d.ts +3 -0
- package/dist/types/components/DatePicker/context/datePicker.provider.d.ts +10 -1
- package/dist/types/components/DatePicker/datePicker.component.d.ts +25 -11
- package/dist/types/components/DatePicker/datePicker.types.d.ts +18 -0
- package/dist/types/components/DatePicker/hooks/useComputeCornerRoundingFlags.d.ts +10 -0
- package/dist/types/components/DatePicker/utils/getDayVariant.d.ts +12 -0
- package/dist/types/components/DateTimePicker/components/DateTimePickerCustomView/dateTimePickerCustomView.component.d.ts +7 -0
- package/dist/types/components/DateTimePicker/components/DateTimePickerQuickOptions/dateTimePickerQuickOptions.component.d.ts +14 -0
- package/dist/types/components/DateTimePicker/components/DateTimePickerRangeSelector/dateTimePickerRangeSelector.component.d.ts +10 -0
- package/dist/types/components/DateTimePicker/dateTimePicker.component.d.ts +33 -0
- package/dist/types/components/DateTimePicker/dateTimePicker.records.d.ts +8 -0
- package/dist/types/components/DateTimePicker/dateTimePicker.types.d.ts +11 -0
- package/dist/types/components/DateTimePicker/index.d.ts +2 -0
- package/dist/types/components/DateTimePicker/utils/quickOptions.d.ts +13 -0
- package/dist/types/components/Divider/divider.component.d.ts +7 -2
- package/dist/types/components/Heading/heading.component.d.ts +12 -0
- package/dist/types/components/Icon/generated/Backspace.d.ts +10 -0
- package/dist/types/components/Icon/generated/CaretLeft.d.ts +10 -0
- package/dist/types/components/Icon/generated/CheckList.d.ts +10 -0
- package/dist/types/components/Icon/generated/Globe.d.ts +10 -0
- package/dist/types/components/Icon/generated/InputAlt.d.ts +10 -0
- package/dist/types/components/Icon/generated/LightBulb.d.ts +10 -0
- package/dist/types/components/Icon/generated/SelectDropDown.d.ts +10 -0
- package/dist/types/components/Icon/generated/TextArea.d.ts +10 -0
- package/dist/types/components/Icon/generated/TextBlock.d.ts +10 -0
- package/dist/types/components/Icon/generated/index.d.ts +1 -1
- package/dist/types/components/Icon/icon.component.d.ts +10 -0
- package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +7 -0
- package/dist/types/components/Link/link.component.d.ts +19 -0
- package/dist/types/components/Logo/logo.component.d.ts +14 -1
- package/dist/types/components/Menu/components/MenuButton/menuButton.component.d.ts +22 -0
- package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +34 -5
- package/dist/types/components/Menu/components/MenuList/menuList.types.d.ts +18 -0
- package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.component.d.ts +17 -0
- package/dist/types/components/Menu/index.d.ts +4 -0
- package/dist/types/components/Menu/menu.component.d.ts +22 -19
- package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
- package/dist/types/components/Menu/menu.types.d.ts +17 -0
- package/dist/types/components/Modal/components/ModalFooter/modalFooter.component.d.ts +24 -1
- package/dist/types/components/Modal/modal.component.d.ts +46 -1
- package/dist/types/components/Modal/modal.recipe.d.ts +2 -2
- package/dist/types/components/NotificationCounter/notificationCounter.component.d.ts +19 -1
- package/dist/types/components/NotificationCounter/notificationCounter.records.d.ts +5 -0
- package/dist/types/components/NumberInput/index.d.ts +2 -0
- package/dist/types/components/NumberInput/numberInput.component.d.ts +40 -0
- package/dist/types/components/NumberInput/numberInput.recipe.d.ts +21 -0
- package/dist/types/components/NumberInput/numberInput.types.d.ts +4 -0
- package/dist/types/components/Picture/picture.component.d.ts +9 -1
- package/dist/types/components/PinInput/pinInput.component.d.ts +19 -1
- package/dist/types/components/PinInput/pinInput.recipe.d.ts +1 -1
- package/dist/types/components/Popover/components/PopoverFooter/popoverFooter.component.d.ts +26 -1
- package/dist/types/components/Popover/components/PopoverHeader/popoverHeader.component.d.ts +19 -1
- package/dist/types/components/Popover/popover.component.d.ts +45 -2
- package/dist/types/components/Popover/popover.recipe.d.ts +4 -3
- package/dist/types/components/Popover/popover.types.d.ts +1 -1
- package/dist/types/components/Progress/index.d.ts +2 -0
- package/dist/types/components/Progress/progress.component.d.ts +26 -0
- package/dist/types/components/Progress/progress.recipe.d.ts +38 -0
- package/dist/types/components/Progress/progress.types.d.ts +9 -0
- package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +15 -0
- package/dist/types/components/RadioGroup/radioGroup.component.d.ts +22 -2
- package/dist/types/components/RadioGroup/radioGroup.recipe.d.ts +4 -2
- package/dist/types/components/Radiomark/index.d.ts +1 -0
- package/dist/types/components/Radiomark/radiomark.component.d.ts +12 -0
- package/dist/types/components/Radiomark/radiomark.recipe.d.ts +2 -0
- package/dist/types/components/Rating/index.d.ts +1 -0
- package/dist/types/components/Rating/rating.component.d.ts +37 -0
- package/dist/types/components/Rating/rating.recipe.d.ts +10 -0
- package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +10 -1
- package/dist/types/components/RatingDots/ratingDots.component.d.ts +12 -0
- package/dist/types/components/Select/components/SelectItemContent/selectItemContent.component.d.ts +6 -0
- package/dist/types/components/Select/components/SelectTrigger/selectTrigger.component.d.ts +7 -2
- package/dist/types/components/Select/select.component.d.ts +53 -3
- package/dist/types/components/Select/select.types.d.ts +3 -0
- package/dist/types/components/SortableList/components/SortableListDragHandle/sortableListDragHandle.component.d.ts +1 -1
- package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +13 -1
- package/dist/types/components/SortableList/sortableList.component.d.ts +13 -1
- package/dist/types/components/Spinner/spinner.component.d.ts +28 -2
- package/dist/types/components/Spinner/spinner.recipe.d.ts +16 -1
- package/dist/types/components/StyledAvatar/styledAvatar.component.d.ts +10 -1
- package/dist/types/components/StyledAvatar/styledAvatar.types.d.ts +1 -1
- package/dist/types/components/Swatch/swatch.component.d.ts +10 -1
- package/dist/types/components/Switch/switch.component.d.ts +15 -0
- package/dist/types/components/Switch/switch.recipe.d.ts +3 -2
- package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +14 -1
- package/dist/types/components/Tabs/tabs.component.d.ts +17 -2
- package/dist/types/components/Tabs/tabs.recipe.d.ts +3 -2
- package/dist/types/components/Tag/tag.component.d.ts +31 -0
- package/dist/types/components/Tag/tag.recipe.d.ts +3 -2
- package/dist/types/components/TagBlock/tagBlock.component.d.ts +34 -1
- package/dist/types/components/Text/text.component.d.ts +13 -0
- package/dist/types/components/TextInput/textInput.component.d.ts +28 -0
- package/dist/types/components/Textarea/textarea.component.d.ts +13 -0
- package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +10 -1
- package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +9 -1
- package/dist/types/components/TimePicker/timePicker.component.d.ts +19 -1
- package/dist/types/components/TimeRange/timeRange.component.d.ts +12 -1
- package/dist/types/components/Timestamp/timestamp.component.d.ts +18 -1
- package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +12 -1
- package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +6 -1
- package/dist/types/components/Toast/toast.component.d.ts +19 -1
- package/dist/types/components/Toast/toast.recipe.d.ts +3 -2
- package/dist/types/components/Toast/toast.types.d.ts +13 -0
- package/dist/types/components/Toast/useToast.d.ts +5 -0
- package/dist/types/components/Tooltip/tooltip.component.d.ts +26 -0
- package/dist/types/components/Tooltip/tooltip.recipe.d.ts +10 -1
- package/dist/types/components/index.d.ts +5 -0
- package/dist/types/hocs/withFormControl/withFormControl.d.ts +44 -0
- package/dist/types/hocs/withTruncation.d.ts +8 -0
- package/dist/types/hooks/useBreakpoint/index.d.ts +4 -0
- package/dist/types/hooks/useColorMode/index.d.ts +39 -0
- package/dist/types/hooks/useColorModeValue/index.d.ts +6 -0
- package/dist/types/hooks/useDeviceType/index.d.ts +4 -0
- package/dist/types/hooks/useIconTextSizeMap.d.ts +5 -0
- package/dist/types/shared/components/withVariantStory.d.ts +6 -0
- package/dist/types/shared/types/index.d.ts +1 -0
- package/dist/types/theme/providers/theme.provider.d.ts +1 -0
- package/dist/types/theme/recipes/List/list.recipe.d.ts +14 -0
- package/dist/types/theme/recipes/Table/table.recipe.d.ts +29 -0
- package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +91 -82
- package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +182 -164
- package/dist/types/theme/semanticTokens/semanticTokens.types.d.ts +4 -3
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -2
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -10
- package/package.json +21 -18
- package/dist/chunks/alert.types-De_IDZNV.js +0 -2
- package/dist/chunks/alert.types-De_IDZNV.js.map +0 -1
- package/dist/chunks/alert.types-NkOwCG0-.js +0 -139
- package/dist/chunks/alert.types-NkOwCG0-.js.map +0 -1
- package/dist/chunks/avatar.component-CqFsGMt6.js +0 -2
- package/dist/chunks/avatar.component-CqFsGMt6.js.map +0 -1
- package/dist/chunks/avatar.component-lHszPWEi.js +0 -394
- package/dist/chunks/avatar.component-lHszPWEi.js.map +0 -1
- package/dist/chunks/avatarGroup.component-BPYIE5NT.js +0 -2
- package/dist/chunks/avatarGroup.component-BPYIE5NT.js.map +0 -1
- package/dist/chunks/avatarGroup.component-EFxRAKiJ.js +0 -67
- package/dist/chunks/avatarGroup.component-EFxRAKiJ.js.map +0 -1
- package/dist/chunks/button.component-BE20YKDd.js +0 -67
- package/dist/chunks/button.component-BE20YKDd.js.map +0 -1
- package/dist/chunks/button.component-DAv5WxDc.js +0 -2
- package/dist/chunks/button.component-DAv5WxDc.js.map +0 -1
- package/dist/chunks/button.recipe-7PSQJbyz.js +0 -2
- package/dist/chunks/button.recipe-7PSQJbyz.js.map +0 -1
- package/dist/chunks/button.recipe-ClmsjdZI.js +0 -910
- package/dist/chunks/button.recipe-ClmsjdZI.js.map +0 -1
- package/dist/chunks/button.types-BKXZNvN1.js.map +0 -1
- package/dist/chunks/button.types-Bl1awbi0.js +0 -2
- package/dist/chunks/button.types-Bl1awbi0.js.map +0 -1
- package/dist/chunks/buttonGroup.component-CQBXYOhq.js +0 -2
- package/dist/chunks/buttonGroup.component-CQBXYOhq.js.map +0 -1
- package/dist/chunks/buttonGroup.component-CheBkHw6.js +0 -68
- package/dist/chunks/buttonGroup.component-CheBkHw6.js.map +0 -1
- package/dist/chunks/card.component-BZxC19F_.js +0 -2
- package/dist/chunks/card.component-BZxC19F_.js.map +0 -1
- package/dist/chunks/card.component-DJcYzMX1.js +0 -58
- package/dist/chunks/card.component-DJcYzMX1.js.map +0 -1
- package/dist/chunks/characterCounter.component-C6ZwdIiA.js +0 -84
- package/dist/chunks/characterCounter.component-C6ZwdIiA.js.map +0 -1
- package/dist/chunks/characterCounter.component-D0ccCiBG.js +0 -2
- package/dist/chunks/characterCounter.component-D0ccCiBG.js.map +0 -1
- package/dist/chunks/checkbox.component-DNOkXggb.js +0 -260
- package/dist/chunks/checkbox.component-Dhjcu89D.js +0 -2
- package/dist/chunks/checkboxGroup.component-BNKJqMKi.js +0 -52
- package/dist/chunks/checkboxGroup.component-BNKJqMKi.js.map +0 -1
- package/dist/chunks/checkboxGroup.component-M-nvlAbK.js +0 -2
- package/dist/chunks/checkboxGroup.component-M-nvlAbK.js.map +0 -1
- package/dist/chunks/conversationCard.component-BRJbMpwH.js +0 -2
- package/dist/chunks/conversationCard.component-BRJbMpwH.js.map +0 -1
- package/dist/chunks/conversationCard.component-DmSuBQ4_.js +0 -330
- package/dist/chunks/conversationCard.component-DmSuBQ4_.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-CViypfwB.js +0 -2
- package/dist/chunks/create-slot-recipe-context-CViypfwB.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-CrlT_nGQ.js +0 -97
- package/dist/chunks/create-slot-recipe-context-CrlT_nGQ.js.map +0 -1
- package/dist/chunks/datePicker.component-BOsFZiDy.js +0 -15
- package/dist/chunks/datePicker.component-BOsFZiDy.js.map +0 -1
- package/dist/chunks/datePicker.component-Dzh4WccC.js +0 -3019
- package/dist/chunks/datePicker.component-Dzh4WccC.js.map +0 -1
- package/dist/chunks/dialog-BPhjKQkb.js +0 -2
- package/dist/chunks/divider.types-Dht8eAh4.js +0 -2
- package/dist/chunks/divider.types-Dht8eAh4.js.map +0 -1
- package/dist/chunks/divider.types-ZN_wlva7.js +0 -47
- package/dist/chunks/divider.types-ZN_wlva7.js.map +0 -1
- package/dist/chunks/grid-item-DPdTp_nI.js +0 -94
- package/dist/chunks/grid-item-DPdTp_nI.js.map +0 -1
- package/dist/chunks/grid-item-qnuioQmr.js +0 -2
- package/dist/chunks/grid-item-qnuioQmr.js.map +0 -1
- package/dist/chunks/heading.component-C_cdAGTd.js +0 -2
- package/dist/chunks/heading.component-C_cdAGTd.js.map +0 -1
- package/dist/chunks/heading.component-SiJnYLOw.js +0 -12
- package/dist/chunks/heading.component-SiJnYLOw.js.map +0 -1
- package/dist/chunks/icon.component-Bhnf2n1O.js +0 -2
- package/dist/chunks/icon.component-Bhnf2n1O.js.map +0 -1
- package/dist/chunks/icon.component-C5bgxAD2.js +0 -32
- package/dist/chunks/icon.component-C5bgxAD2.js.map +0 -1
- package/dist/chunks/index-2glJ2faJ.js +0 -2
- package/dist/chunks/index-7Jpijbq_.js +0 -3
- package/dist/chunks/index-7Jpijbq_.js.map +0 -1
- package/dist/chunks/index-A_vmTNU7.js +0 -2
- package/dist/chunks/index-BEfEzWJx.js +0 -2
- package/dist/chunks/index-Bm5QBNWR.js +0 -8190
- package/dist/chunks/index-Bm5QBNWR.js.map +0 -1
- package/dist/chunks/index-Cv06PsSJ.js.map +0 -1
- package/dist/chunks/index-DA90Dqf9.js +0 -1362
- package/dist/chunks/index-DA90Dqf9.js.map +0 -1
- package/dist/chunks/index-DAI6_P9H.js +0 -2
- package/dist/chunks/index-DMcwHRZ5.js +0 -11
- package/dist/chunks/index-DMcwHRZ5.js.map +0 -1
- package/dist/chunks/index-jnwdAJ25.js +0 -2
- package/dist/chunks/index-jnwdAJ25.js.map +0 -1
- package/dist/chunks/link.component-CvR5CbiT.js +0 -36
- package/dist/chunks/link.component-CvR5CbiT.js.map +0 -1
- package/dist/chunks/link.component-yUJIJbIP.js +0 -2
- package/dist/chunks/link.component-yUJIJbIP.js.map +0 -1
- package/dist/chunks/logo.types-DF4eLSR9.js +0 -45
- package/dist/chunks/logo.types-DF4eLSR9.js.map +0 -1
- package/dist/chunks/logo.types-Zt-yfFAQ.js +0 -2
- package/dist/chunks/logo.types-Zt-yfFAQ.js.map +0 -1
- package/dist/chunks/menu.component-DylZiPAE.js +0 -2
- package/dist/chunks/menu.component-DylZiPAE.js.map +0 -1
- package/dist/chunks/menu.component-xhHsHlGT.js +0 -599
- package/dist/chunks/menu.component-xhHsHlGT.js.map +0 -1
- package/dist/chunks/modal.types-CBos7aXO.js +0 -2
- package/dist/chunks/modal.types-CBos7aXO.js.map +0 -1
- package/dist/chunks/modal.types-CkQIOPTa.js +0 -95
- package/dist/chunks/modal.types-CkQIOPTa.js.map +0 -1
- package/dist/chunks/notificationCounter.component-Lu4_Owvr.js.map +0 -1
- package/dist/chunks/notificationCounter.component-gp2ULnY_.js +0 -2
- package/dist/chunks/notificationCounter.component-gp2ULnY_.js.map +0 -1
- package/dist/chunks/picture.component-CKK-SMvr.js +0 -22
- package/dist/chunks/picture.component-CKK-SMvr.js.map +0 -1
- package/dist/chunks/picture.component-CR6e0wRG.js +0 -2
- package/dist/chunks/picture.component-CR6e0wRG.js.map +0 -1
- package/dist/chunks/pinInput.types-CcN0aX_i.js +0 -145
- package/dist/chunks/pinInput.types-Cqm1Px5l.js +0 -2
- package/dist/chunks/popover-root-provider-CkW1eCBQ.js +0 -43
- package/dist/chunks/popover-root-provider-ZB5BcrXn.js +0 -2
- package/dist/chunks/popover.component-BjS13k9K.js +0 -2
- package/dist/chunks/popover.component-BjS13k9K.js.map +0 -1
- package/dist/chunks/popover.component-C4WKxh4d.js +0 -196
- package/dist/chunks/popover.component-C4WKxh4d.js.map +0 -1
- package/dist/chunks/popover.recipe-Bx25Jhgs.js +0 -2
- package/dist/chunks/popover.recipe-Bx25Jhgs.js.map +0 -1
- package/dist/chunks/popover.recipe-C2nbfvL6.js +0 -241
- package/dist/chunks/popover.recipe-C2nbfvL6.js.map +0 -1
- package/dist/chunks/popover.types-BF2KRf_I.js +0 -2
- package/dist/chunks/popover.types-BF2KRf_I.js.map +0 -1
- package/dist/chunks/popover.types-D1O-Ehsz.js +0 -7
- package/dist/chunks/popover.types-D1O-Ehsz.js.map +0 -1
- package/dist/chunks/radioGroup.types-CZA7RcAn.js +0 -2
- package/dist/chunks/radioGroup.types-CZA7RcAn.js.map +0 -1
- package/dist/chunks/radioGroup.types-Dld5lmgo.js +0 -231
- package/dist/chunks/radioGroup.types-Dld5lmgo.js.map +0 -1
- package/dist/chunks/ratingDots.component-DcrCudac.js +0 -2
- package/dist/chunks/ratingDots.component-DcrCudac.js.map +0 -1
- package/dist/chunks/ratingDots.component-G4GMWvFy.js +0 -138
- package/dist/chunks/ratingDots.component-G4GMWvFy.js.map +0 -1
- package/dist/chunks/select.component-BTWHWvZV.js +0 -1058
- package/dist/chunks/select.component-BTWHWvZV.js.map +0 -1
- package/dist/chunks/select.component-Dyc1yQPO.js +0 -2
- package/dist/chunks/select.component-Dyc1yQPO.js.map +0 -1
- package/dist/chunks/spinner-C31ZWQmA.js +0 -8
- package/dist/chunks/spinner.component-CVVOuFka.js +0 -2
- package/dist/chunks/spinner.component-CVVOuFka.js.map +0 -1
- package/dist/chunks/spinner.component-DPYj17HK.js.map +0 -1
- package/dist/chunks/styledAvatar.types-CMpyDxAM.js +0 -2
- package/dist/chunks/styledAvatar.types-CMpyDxAM.js.map +0 -1
- package/dist/chunks/styledAvatar.types-CS07Zk7c.js +0 -51
- package/dist/chunks/styledAvatar.types-CS07Zk7c.js.map +0 -1
- package/dist/chunks/swatch.types-CXlghcLw.js.map +0 -1
- package/dist/chunks/swatch.types-jaI0KFHU.js +0 -2
- package/dist/chunks/swatch.types-jaI0KFHU.js.map +0 -1
- package/dist/chunks/switch.component-C88jBbo_.js +0 -2
- package/dist/chunks/switch.component-Cke7O8gk.js +0 -154
- package/dist/chunks/tab.types-DpmXyw5C.js +0 -2
- package/dist/chunks/tag.component-79aRVI7u.js +0 -82
- package/dist/chunks/tag.component-79aRVI7u.js.map +0 -1
- package/dist/chunks/tag.component-CAWh9OYa.js +0 -2
- package/dist/chunks/tag.component-CAWh9OYa.js.map +0 -1
- package/dist/chunks/tagBlock.component-Dn7coOgp.js +0 -2
- package/dist/chunks/tagBlock.component-Dn7coOgp.js.map +0 -1
- package/dist/chunks/tagBlock.component-vLA90b5S.js +0 -169
- package/dist/chunks/tagBlock.component-vLA90b5S.js.map +0 -1
- package/dist/chunks/text.component-CHpMvCFa.js +0 -2
- package/dist/chunks/text.component-CHpMvCFa.js.map +0 -1
- package/dist/chunks/text.component-D9w-u_dB.js +0 -12
- package/dist/chunks/text.component-D9w-u_dB.js.map +0 -1
- package/dist/chunks/textInput.component-Dpxb2RI-.js +0 -169
- package/dist/chunks/textInput.component-Dpxb2RI-.js.map +0 -1
- package/dist/chunks/textInput.component-Dx_Ktcmr.js +0 -2
- package/dist/chunks/textInput.component-Dx_Ktcmr.js.map +0 -1
- package/dist/chunks/textarea.component-BYexywy1.js +0 -2
- package/dist/chunks/textarea.component-Dk2IMKkr.js +0 -79
- package/dist/chunks/theme.provider-XYBMZJTB.js +0 -28
- package/dist/chunks/theme.provider-XYBMZJTB.js.map +0 -1
- package/dist/chunks/theme.provider-w_I9S10D.js.map +0 -1
- package/dist/chunks/timePicker.component-Bbd3BOA6.js +0 -209
- package/dist/chunks/timePicker.component-Bbd3BOA6.js.map +0 -1
- package/dist/chunks/timePicker.component-DcNgUFGj.js +0 -2
- package/dist/chunks/timePicker.component-DcNgUFGj.js.map +0 -1
- package/dist/chunks/timeRange.component-BBhPc2LP.js +0 -18
- package/dist/chunks/timeRange.component-BBhPc2LP.js.map +0 -1
- package/dist/chunks/timeRange.component-Bb-xDHWT.js +0 -2
- package/dist/chunks/timeRange.component-Bb-xDHWT.js.map +0 -1
- package/dist/chunks/timestamp.component-CrY5t68x.js +0 -2
- package/dist/chunks/timestamp.component-CrY5t68x.js.map +0 -1
- package/dist/chunks/timestamp.component-m0FTjlAi.js +0 -51
- package/dist/chunks/timestamp.component-m0FTjlAi.js.map +0 -1
- package/dist/chunks/toaster.records-eCXbM85Z.js +0 -2
- package/dist/chunks/tooltip.component-CATpCSkf.js +0 -2
- package/dist/chunks/typography.records-CpYV1kns.js.map +0 -1
- package/dist/chunks/typography.records-Dbw3sz4i.js +0 -2
- package/dist/chunks/typography.records-Dbw3sz4i.js.map +0 -1
- package/dist/chunks/use-locale-context-CazVZ4Kg.js +0 -2315
- package/dist/chunks/use-locale-context-CazVZ4Kg.js.map +0 -1
- package/dist/chunks/use-locale-context-Dv7DQ_mn.js +0 -22
- package/dist/chunks/use-locale-context-Dv7DQ_mn.js.map +0 -1
- package/dist/chunks/use-slot-recipe-8liupslO.js +0 -2
- package/dist/chunks/use-slot-recipe-8liupslO.js.map +0 -1
- package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +0 -13
- package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +0 -1
- package/dist/chunks/withFormControl-BdiccBy5.js +0 -2
- package/dist/chunks/withFormControl-BdiccBy5.js.map +0 -1
- package/dist/chunks/withFormControl-CRXVopOk.js +0 -361
- package/dist/chunks/withFormControl-CRXVopOk.js.map +0 -1
- package/dist/chunks/withTruncation-C9XLf_j6.js +0 -67
- package/dist/chunks/withTruncation-C9XLf_j6.js.map +0 -1
- package/dist/chunks/withTruncation-Ddr3jvAO.js +0 -2
- package/dist/chunks/withTruncation-Ddr3jvAO.js.map +0 -1
- package/dist/types/components/Menu/components/MenuButton/menuButton.components.d.ts +0 -9
- package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.d.ts +0 -10
- package/dist/types/shared/utils/argTypes.d.ts +0 -6
|
@@ -0,0 +1,984 @@
|
|
|
1
|
+
import { s as ae, o as B, ar as se, as as oe, r as G, at as le, au as x, av as ue, aw as ce, ae as me, a0 as O, x as q, ax as de, P as fe, E as pe, ay as ge, b as m, e as be, w as C, F as he, L as ye, az as D, c as H, g as ve, aA as Pe, h as _, aB as Ee, ao as Ne } from "./index-fHSGm2nC.js";
|
|
2
|
+
import { c as Re } from "./use-locale-context-Bw4Gg9Z0.js";
|
|
3
|
+
let A = /* @__PURE__ */ new Map(), L = !1;
|
|
4
|
+
try {
|
|
5
|
+
L = new Intl.NumberFormat("de-DE", {
|
|
6
|
+
signDisplay: "exceptZero"
|
|
7
|
+
}).resolvedOptions().signDisplay === "exceptZero";
|
|
8
|
+
} catch {
|
|
9
|
+
}
|
|
10
|
+
let w = !1;
|
|
11
|
+
try {
|
|
12
|
+
w = new Intl.NumberFormat("de-DE", {
|
|
13
|
+
style: "unit",
|
|
14
|
+
unit: "degree"
|
|
15
|
+
}).resolvedOptions().style === "unit";
|
|
16
|
+
} catch {
|
|
17
|
+
}
|
|
18
|
+
const K = {
|
|
19
|
+
degree: {
|
|
20
|
+
narrow: {
|
|
21
|
+
default: "°",
|
|
22
|
+
"ja-JP": " 度",
|
|
23
|
+
"zh-TW": "度",
|
|
24
|
+
"sl-SI": " °"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
class Te {
|
|
29
|
+
/** Formats a number value as a string, according to the locale and options provided to the constructor. */
|
|
30
|
+
format(t) {
|
|
31
|
+
let r = "";
|
|
32
|
+
if (!L && this.options.signDisplay != null ? r = Se(this.numberFormatter, this.options.signDisplay, t) : r = this.numberFormatter.format(t), this.options.style === "unit" && !w) {
|
|
33
|
+
var n;
|
|
34
|
+
let { unit: i, unitDisplay: a = "short", locale: s } = this.resolvedOptions();
|
|
35
|
+
if (!i) return r;
|
|
36
|
+
let l = (n = K[i]) === null || n === void 0 ? void 0 : n[a];
|
|
37
|
+
r += l[s] || l.default;
|
|
38
|
+
}
|
|
39
|
+
return r;
|
|
40
|
+
}
|
|
41
|
+
/** Formats a number to an array of parts such as separators, digits, punctuation, and more. */
|
|
42
|
+
formatToParts(t) {
|
|
43
|
+
return this.numberFormatter.formatToParts(t);
|
|
44
|
+
}
|
|
45
|
+
/** Formats a number range as a string. */
|
|
46
|
+
formatRange(t, r) {
|
|
47
|
+
if (typeof this.numberFormatter.formatRange == "function") return this.numberFormatter.formatRange(t, r);
|
|
48
|
+
if (r < t) throw new RangeError("End date must be >= start date");
|
|
49
|
+
return `${this.format(t)} – ${this.format(r)}`;
|
|
50
|
+
}
|
|
51
|
+
/** Formats a number range as an array of parts. */
|
|
52
|
+
formatRangeToParts(t, r) {
|
|
53
|
+
if (typeof this.numberFormatter.formatRangeToParts == "function") return this.numberFormatter.formatRangeToParts(t, r);
|
|
54
|
+
if (r < t) throw new RangeError("End date must be >= start date");
|
|
55
|
+
let n = this.numberFormatter.formatToParts(t), i = this.numberFormatter.formatToParts(r);
|
|
56
|
+
return [
|
|
57
|
+
...n.map((a) => ({
|
|
58
|
+
...a,
|
|
59
|
+
source: "startRange"
|
|
60
|
+
})),
|
|
61
|
+
{
|
|
62
|
+
type: "literal",
|
|
63
|
+
value: " – ",
|
|
64
|
+
source: "shared"
|
|
65
|
+
},
|
|
66
|
+
...i.map((a) => ({
|
|
67
|
+
...a,
|
|
68
|
+
source: "endRange"
|
|
69
|
+
}))
|
|
70
|
+
];
|
|
71
|
+
}
|
|
72
|
+
/** Returns the resolved formatting options based on the values passed to the constructor. */
|
|
73
|
+
resolvedOptions() {
|
|
74
|
+
let t = this.numberFormatter.resolvedOptions();
|
|
75
|
+
return !L && this.options.signDisplay != null && (t = {
|
|
76
|
+
...t,
|
|
77
|
+
signDisplay: this.options.signDisplay
|
|
78
|
+
}), !w && this.options.style === "unit" && (t = {
|
|
79
|
+
...t,
|
|
80
|
+
style: "unit",
|
|
81
|
+
unit: this.options.unit,
|
|
82
|
+
unitDisplay: this.options.unitDisplay
|
|
83
|
+
}), t;
|
|
84
|
+
}
|
|
85
|
+
constructor(t, r = {}) {
|
|
86
|
+
this.numberFormatter = Ie(t, r), this.options = r;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function Ie(e, t = {}) {
|
|
90
|
+
let { numberingSystem: r } = t;
|
|
91
|
+
if (r && e.includes("-nu-") && (e.includes("-u-") || (e += "-u-"), e += `-nu-${r}`), t.style === "unit" && !w) {
|
|
92
|
+
var n;
|
|
93
|
+
let { unit: s, unitDisplay: l = "short" } = t;
|
|
94
|
+
if (!s) throw new Error('unit option must be provided with style: "unit"');
|
|
95
|
+
if (!(!((n = K[s]) === null || n === void 0) && n[l])) throw new Error(`Unsupported unit ${s} with unitDisplay = ${l}`);
|
|
96
|
+
t = {
|
|
97
|
+
...t,
|
|
98
|
+
style: "decimal"
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
let i = e + (t ? Object.entries(t).sort((s, l) => s[0] < l[0] ? -1 : 1).join() : "");
|
|
102
|
+
if (A.has(i)) return A.get(i);
|
|
103
|
+
let a = new Intl.NumberFormat(e, t);
|
|
104
|
+
return A.set(i, a), a;
|
|
105
|
+
}
|
|
106
|
+
function Se(e, t, r) {
|
|
107
|
+
if (t === "auto") return e.format(r);
|
|
108
|
+
if (t === "never") return e.format(Math.abs(r));
|
|
109
|
+
{
|
|
110
|
+
let n = !1;
|
|
111
|
+
if (t === "always" ? n = r > 0 || Object.is(r, 0) : t === "exceptZero" && (Object.is(r, -0) || Object.is(r, 0) ? r = Math.abs(r) : n = r > 0), n) {
|
|
112
|
+
let i = e.format(-r), a = e.format(r), s = i.replace(a, "").replace(/\u200e|\u061C/, "");
|
|
113
|
+
return [
|
|
114
|
+
...s
|
|
115
|
+
].length !== 1 && console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"), i.replace(a, "!!!").replace(s, "+").replace("!!!", a);
|
|
116
|
+
} else return e.format(r);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
const De = new RegExp("^.*\\(.*\\).*$"), xe = [
|
|
120
|
+
"latn",
|
|
121
|
+
"arab",
|
|
122
|
+
"hanidec",
|
|
123
|
+
"deva",
|
|
124
|
+
"beng"
|
|
125
|
+
];
|
|
126
|
+
class z {
|
|
127
|
+
/**
|
|
128
|
+
* Parses the given string to a number. Returns NaN if a valid number could not be parsed.
|
|
129
|
+
*/
|
|
130
|
+
parse(t) {
|
|
131
|
+
return F(this.locale, this.options, t).parse(t);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Returns whether the given string could potentially be a valid number. This should be used to
|
|
135
|
+
* validate user input as the user types. If a `minValue` or `maxValue` is provided, the validity
|
|
136
|
+
* of the minus/plus sign characters can be checked.
|
|
137
|
+
*/
|
|
138
|
+
isValidPartialNumber(t, r, n) {
|
|
139
|
+
return F(this.locale, this.options, t).isValidPartialNumber(t, r, n);
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Returns a numbering system for which the given string is valid in the current locale.
|
|
143
|
+
* If no numbering system could be detected, the default numbering system for the current
|
|
144
|
+
* locale is returned.
|
|
145
|
+
*/
|
|
146
|
+
getNumberingSystem(t) {
|
|
147
|
+
return F(this.locale, this.options, t).options.numberingSystem;
|
|
148
|
+
}
|
|
149
|
+
constructor(t, r = {}) {
|
|
150
|
+
this.locale = t, this.options = r;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
const W = /* @__PURE__ */ new Map();
|
|
154
|
+
function F(e, t, r) {
|
|
155
|
+
let n = k(e, t);
|
|
156
|
+
if (!e.includes("-nu-") && !n.isValidPartialNumber(r)) {
|
|
157
|
+
for (let i of xe) if (i !== n.options.numberingSystem) {
|
|
158
|
+
let a = k(e + (e.includes("-u-") ? "-nu-" : "-u-nu-") + i, t);
|
|
159
|
+
if (a.isValidPartialNumber(r)) return a;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
return n;
|
|
163
|
+
}
|
|
164
|
+
function k(e, t) {
|
|
165
|
+
let r = e + (t ? Object.entries(t).sort((i, a) => i[0] < a[0] ? -1 : 1).join() : ""), n = W.get(r);
|
|
166
|
+
return n || (n = new we(e, t), W.set(r, n)), n;
|
|
167
|
+
}
|
|
168
|
+
class we {
|
|
169
|
+
parse(t) {
|
|
170
|
+
let r = this.sanitize(t);
|
|
171
|
+
if (this.symbols.group && (r = T(r, this.symbols.group, "")), this.symbols.decimal && (r = r.replace(this.symbols.decimal, ".")), this.symbols.minusSign && (r = r.replace(this.symbols.minusSign, "-")), r = r.replace(this.symbols.numeral, this.symbols.index), this.options.style === "percent") {
|
|
172
|
+
let s = r.indexOf("-");
|
|
173
|
+
r = r.replace("-", ""), r = r.replace("+", "");
|
|
174
|
+
let l = r.indexOf(".");
|
|
175
|
+
l === -1 && (l = r.length), r = r.replace(".", ""), l - 2 === 0 ? r = `0.${r}` : l - 2 === -1 ? r = `0.0${r}` : l - 2 === -2 ? r = "0.00" : r = `${r.slice(0, l - 2)}.${r.slice(l - 2)}`, s > -1 && (r = `-${r}`);
|
|
176
|
+
}
|
|
177
|
+
let n = r ? +r : NaN;
|
|
178
|
+
if (isNaN(n)) return NaN;
|
|
179
|
+
if (this.options.style === "percent") {
|
|
180
|
+
var i, a;
|
|
181
|
+
let s = {
|
|
182
|
+
...this.options,
|
|
183
|
+
style: "decimal",
|
|
184
|
+
minimumFractionDigits: Math.min(((i = this.options.minimumFractionDigits) !== null && i !== void 0 ? i : 0) + 2, 20),
|
|
185
|
+
maximumFractionDigits: Math.min(((a = this.options.maximumFractionDigits) !== null && a !== void 0 ? a : 0) + 2, 20)
|
|
186
|
+
};
|
|
187
|
+
return new z(this.locale, s).parse(new Te(this.locale, s).format(n));
|
|
188
|
+
}
|
|
189
|
+
return this.options.currencySign === "accounting" && De.test(t) && (n = -1 * n), n;
|
|
190
|
+
}
|
|
191
|
+
sanitize(t) {
|
|
192
|
+
return t = t.replace(this.symbols.literals, ""), this.symbols.minusSign && (t = t.replace("-", this.symbols.minusSign)), this.options.numberingSystem === "arab" && (this.symbols.decimal && (t = t.replace(",", this.symbols.decimal), t = t.replace("،", this.symbols.decimal)), this.symbols.group && (t = T(t, ".", this.symbols.group))), this.options.locale === "fr-FR" && this.symbols.group && (t = T(t, " ", this.symbols.group), t = T(t, /\u00A0/g, this.symbols.group)), t;
|
|
193
|
+
}
|
|
194
|
+
isValidPartialNumber(t, r = -1 / 0, n = 1 / 0) {
|
|
195
|
+
return t = this.sanitize(t), this.symbols.minusSign && t.startsWith(this.symbols.minusSign) && r < 0 ? t = t.slice(this.symbols.minusSign.length) : this.symbols.plusSign && t.startsWith(this.symbols.plusSign) && n > 0 && (t = t.slice(this.symbols.plusSign.length)), this.symbols.group && t.startsWith(this.symbols.group) || this.symbols.decimal && t.indexOf(this.symbols.decimal) > -1 && this.options.maximumFractionDigits === 0 ? !1 : (this.symbols.group && (t = T(t, this.symbols.group, "")), t = t.replace(this.symbols.numeral, ""), this.symbols.decimal && (t = t.replace(this.symbols.decimal, "")), t.length === 0);
|
|
196
|
+
}
|
|
197
|
+
constructor(t, r = {}) {
|
|
198
|
+
this.locale = t, r.roundingIncrement !== 1 && r.roundingIncrement != null && (r.maximumFractionDigits == null && r.minimumFractionDigits == null ? (r.maximumFractionDigits = 0, r.minimumFractionDigits = 0) : r.maximumFractionDigits == null ? r.maximumFractionDigits = r.minimumFractionDigits : r.minimumFractionDigits == null && (r.minimumFractionDigits = r.maximumFractionDigits)), this.formatter = new Intl.NumberFormat(t, r), this.options = this.formatter.resolvedOptions(), this.symbols = $e(t, this.formatter, this.options, r);
|
|
199
|
+
var n, i;
|
|
200
|
+
this.options.style === "percent" && (((n = this.options.minimumFractionDigits) !== null && n !== void 0 ? n : 0) > 18 || ((i = this.options.maximumFractionDigits) !== null && i !== void 0 ? i : 0) > 18) && console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.");
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
const j = /* @__PURE__ */ new Set([
|
|
204
|
+
"decimal",
|
|
205
|
+
"fraction",
|
|
206
|
+
"integer",
|
|
207
|
+
"minusSign",
|
|
208
|
+
"plusSign",
|
|
209
|
+
"group"
|
|
210
|
+
]), Ve = [
|
|
211
|
+
0,
|
|
212
|
+
4,
|
|
213
|
+
2,
|
|
214
|
+
1,
|
|
215
|
+
11,
|
|
216
|
+
20,
|
|
217
|
+
3,
|
|
218
|
+
7,
|
|
219
|
+
100,
|
|
220
|
+
21,
|
|
221
|
+
0.1,
|
|
222
|
+
1.1
|
|
223
|
+
];
|
|
224
|
+
function $e(e, t, r, n) {
|
|
225
|
+
var i, a, s, l;
|
|
226
|
+
let u = new Intl.NumberFormat(e, {
|
|
227
|
+
...r,
|
|
228
|
+
// Resets so we get the full range of symbols
|
|
229
|
+
minimumSignificantDigits: 1,
|
|
230
|
+
maximumSignificantDigits: 21,
|
|
231
|
+
roundingIncrement: 1,
|
|
232
|
+
roundingPriority: "auto",
|
|
233
|
+
roundingMode: "halfExpand"
|
|
234
|
+
}), d = u.formatToParts(-10000.111), g = u.formatToParts(10000.111), f = Ve.map((c) => u.formatToParts(c));
|
|
235
|
+
var y;
|
|
236
|
+
let E = (y = (i = d.find((c) => c.type === "minusSign")) === null || i === void 0 ? void 0 : i.value) !== null && y !== void 0 ? y : "-", N = (a = g.find((c) => c.type === "plusSign")) === null || a === void 0 ? void 0 : a.value;
|
|
237
|
+
!N && (n?.signDisplay === "exceptZero" || n?.signDisplay === "always") && (N = "+");
|
|
238
|
+
let p = (s = new Intl.NumberFormat(e, {
|
|
239
|
+
...r,
|
|
240
|
+
minimumFractionDigits: 2,
|
|
241
|
+
maximumFractionDigits: 2
|
|
242
|
+
}).formatToParts(1e-3).find((c) => c.type === "decimal")) === null || s === void 0 ? void 0 : s.value, R = (l = d.find((c) => c.type === "group")) === null || l === void 0 ? void 0 : l.value, b = d.filter((c) => !j.has(c.type)).map((c) => Z(c.value)), V = f.flatMap((c) => c.filter((v) => !j.has(v.type)).map((v) => Z(v.value))), $ = [
|
|
243
|
+
.../* @__PURE__ */ new Set([
|
|
244
|
+
...b,
|
|
245
|
+
...V
|
|
246
|
+
])
|
|
247
|
+
].sort((c, v) => v.length - c.length), re = $.length === 0 ? new RegExp("[\\p{White_Space}]", "gu") : new RegExp(`${$.join("|")}|[\\p{White_Space}]`, "gu"), M = [
|
|
248
|
+
...new Intl.NumberFormat(r.locale, {
|
|
249
|
+
useGrouping: !1
|
|
250
|
+
}).format(9876543210)
|
|
251
|
+
].reverse(), ne = new Map(M.map((c, v) => [
|
|
252
|
+
c,
|
|
253
|
+
v
|
|
254
|
+
])), ie = new RegExp(`[${M.join("")}]`, "g");
|
|
255
|
+
return {
|
|
256
|
+
minusSign: E,
|
|
257
|
+
plusSign: N,
|
|
258
|
+
decimal: p,
|
|
259
|
+
group: R,
|
|
260
|
+
literals: re,
|
|
261
|
+
numeral: ie,
|
|
262
|
+
index: (c) => String(ne.get(c))
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
function T(e, t, r) {
|
|
266
|
+
return e.replaceAll ? e.replaceAll(t, r) : e.split(t).join(r);
|
|
267
|
+
}
|
|
268
|
+
function Z(e) {
|
|
269
|
+
return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
270
|
+
}
|
|
271
|
+
var Oe = be("numberInput").parts(
|
|
272
|
+
"root",
|
|
273
|
+
"label",
|
|
274
|
+
"input",
|
|
275
|
+
"control",
|
|
276
|
+
"valueText",
|
|
277
|
+
"incrementTrigger",
|
|
278
|
+
"decrementTrigger",
|
|
279
|
+
"scrubber"
|
|
280
|
+
), h = Oe.build(), Ce = (e) => e.ids?.root ?? `number-input:${e.id}`, I = (e) => e.ids?.input ?? `number-input:${e.id}:input`, J = (e) => e.ids?.incrementTrigger ?? `number-input:${e.id}:inc`, Q = (e) => e.ids?.decrementTrigger ?? `number-input:${e.id}:dec`, Ae = (e) => e.ids?.scrubber ?? `number-input:${e.id}:scrubber`, ee = (e) => `number-input:${e.id}:cursor`, Fe = (e) => e.ids?.label ?? `number-input:${e.id}:label`, S = (e) => e.getById(I(e)), Ue = (e) => e.getById(J(e)), Le = (e) => e.getById(Q(e)), te = (e) => e.getDoc().getElementById(ee(e)), Me = (e, t) => {
|
|
281
|
+
let r = null;
|
|
282
|
+
return t === "increment" && (r = Ue(e)), t === "decrement" && (r = Le(e)), r;
|
|
283
|
+
}, Be = (e, t) => {
|
|
284
|
+
if (!q())
|
|
285
|
+
return _e(e, t), () => {
|
|
286
|
+
te(e)?.remove();
|
|
287
|
+
};
|
|
288
|
+
}, Ge = (e) => {
|
|
289
|
+
const t = e.getDoc(), r = t.documentElement, n = t.body;
|
|
290
|
+
return n.style.pointerEvents = "none", r.style.userSelect = "none", r.style.cursor = "ew-resize", () => {
|
|
291
|
+
n.style.pointerEvents = "", r.style.userSelect = "", r.style.cursor = "", r.style.length || r.removeAttribute("style"), n.style.length || n.removeAttribute("style");
|
|
292
|
+
};
|
|
293
|
+
}, He = (e, t) => {
|
|
294
|
+
const { point: r, isRtl: n, event: i } = t, a = e.getWin(), s = D(i.movementX, a.devicePixelRatio), l = D(i.movementY, a.devicePixelRatio);
|
|
295
|
+
let u = s > 0 ? "increment" : s < 0 ? "decrement" : null;
|
|
296
|
+
n && u === "increment" && (u = "decrement"), n && u === "decrement" && (u = "increment");
|
|
297
|
+
const d = { x: r.x + s, y: r.y + l }, g = a.innerWidth, f = D(7.5, a.devicePixelRatio);
|
|
298
|
+
return d.x = Ee(d.x + f, g) - f, { hint: u, point: d };
|
|
299
|
+
}, _e = (e, t) => {
|
|
300
|
+
const r = e.getDoc(), n = r.createElement("div");
|
|
301
|
+
n.className = "scrubber--cursor", n.id = ee(e), Object.assign(n.style, {
|
|
302
|
+
width: "15px",
|
|
303
|
+
height: "15px",
|
|
304
|
+
position: "fixed",
|
|
305
|
+
pointerEvents: "none",
|
|
306
|
+
left: "0px",
|
|
307
|
+
top: "0px",
|
|
308
|
+
zIndex: Ne,
|
|
309
|
+
transform: t ? `translate3d(${t.x}px, ${t.y}px, 0px)` : void 0,
|
|
310
|
+
willChange: "transform"
|
|
311
|
+
}), n.innerHTML = `
|
|
312
|
+
<svg width="46" height="15" style="left: -15.5px; position: absolute; top: 0; filter: drop-shadow(rgba(0, 0, 0, 0.4) 0px 1px 1.1px);">
|
|
313
|
+
<g transform="translate(2 3)">
|
|
314
|
+
<path fill-rule="evenodd" d="M 15 4.5L 15 2L 11.5 5.5L 15 9L 15 6.5L 31 6.5L 31 9L 34.5 5.5L 31 2L 31 4.5Z" style="stroke-width: 2px; stroke: white;"></path>
|
|
315
|
+
<path fill-rule="evenodd" d="M 15 4.5L 15 2L 11.5 5.5L 15 9L 15 6.5L 31 6.5L 31 9L 34.5 5.5L 31 2L 31 4.5Z"></path>
|
|
316
|
+
</g>
|
|
317
|
+
</svg>`, r.body.appendChild(n);
|
|
318
|
+
};
|
|
319
|
+
function et(e, t) {
|
|
320
|
+
const { state: r, send: n, prop: i, scope: a, computed: s } = e, l = r.hasTag("focus"), u = s("isDisabled"), d = i("readOnly"), g = s("isValueEmpty"), f = s("isOutOfRange") || !!i("invalid"), y = u || !s("canIncrement") || d, E = u || !s("canDecrement") || d, N = i("translations");
|
|
321
|
+
return {
|
|
322
|
+
focused: l,
|
|
323
|
+
invalid: f,
|
|
324
|
+
empty: g,
|
|
325
|
+
value: s("formattedValue"),
|
|
326
|
+
valueAsNumber: s("valueAsNumber"),
|
|
327
|
+
setValue(o) {
|
|
328
|
+
n({ type: "VALUE.SET", value: o });
|
|
329
|
+
},
|
|
330
|
+
clearValue() {
|
|
331
|
+
n({ type: "VALUE.CLEAR" });
|
|
332
|
+
},
|
|
333
|
+
increment() {
|
|
334
|
+
n({ type: "VALUE.INCREMENT" });
|
|
335
|
+
},
|
|
336
|
+
decrement() {
|
|
337
|
+
n({ type: "VALUE.DECREMENT" });
|
|
338
|
+
},
|
|
339
|
+
setToMax() {
|
|
340
|
+
n({ type: "VALUE.SET", value: i("max") });
|
|
341
|
+
},
|
|
342
|
+
setToMin() {
|
|
343
|
+
n({ type: "VALUE.SET", value: i("min") });
|
|
344
|
+
},
|
|
345
|
+
focus() {
|
|
346
|
+
S(a)?.focus();
|
|
347
|
+
},
|
|
348
|
+
getRootProps() {
|
|
349
|
+
return t.element({
|
|
350
|
+
id: Ce(a),
|
|
351
|
+
...h.root.attrs,
|
|
352
|
+
dir: i("dir"),
|
|
353
|
+
"data-disabled": m(u),
|
|
354
|
+
"data-focus": m(l),
|
|
355
|
+
"data-invalid": m(f)
|
|
356
|
+
});
|
|
357
|
+
},
|
|
358
|
+
getLabelProps() {
|
|
359
|
+
return t.label({
|
|
360
|
+
...h.label.attrs,
|
|
361
|
+
dir: i("dir"),
|
|
362
|
+
"data-disabled": m(u),
|
|
363
|
+
"data-focus": m(l),
|
|
364
|
+
"data-invalid": m(f),
|
|
365
|
+
id: Fe(a),
|
|
366
|
+
htmlFor: I(a)
|
|
367
|
+
});
|
|
368
|
+
},
|
|
369
|
+
getControlProps() {
|
|
370
|
+
return t.element({
|
|
371
|
+
...h.control.attrs,
|
|
372
|
+
dir: i("dir"),
|
|
373
|
+
role: "group",
|
|
374
|
+
"aria-disabled": u,
|
|
375
|
+
"data-focus": m(l),
|
|
376
|
+
"data-disabled": m(u),
|
|
377
|
+
"data-invalid": m(f),
|
|
378
|
+
"aria-invalid": H(f)
|
|
379
|
+
});
|
|
380
|
+
},
|
|
381
|
+
getValueTextProps() {
|
|
382
|
+
return t.element({
|
|
383
|
+
...h.valueText.attrs,
|
|
384
|
+
dir: i("dir"),
|
|
385
|
+
"data-disabled": m(u),
|
|
386
|
+
"data-invalid": m(f),
|
|
387
|
+
"data-focus": m(l)
|
|
388
|
+
});
|
|
389
|
+
},
|
|
390
|
+
getInputProps() {
|
|
391
|
+
return t.input({
|
|
392
|
+
...h.input.attrs,
|
|
393
|
+
dir: i("dir"),
|
|
394
|
+
name: i("name"),
|
|
395
|
+
form: i("form"),
|
|
396
|
+
id: I(a),
|
|
397
|
+
role: "spinbutton",
|
|
398
|
+
defaultValue: s("formattedValue"),
|
|
399
|
+
pattern: i("pattern"),
|
|
400
|
+
inputMode: i("inputMode"),
|
|
401
|
+
"aria-invalid": H(f),
|
|
402
|
+
"data-invalid": m(f),
|
|
403
|
+
disabled: u,
|
|
404
|
+
"data-disabled": m(u),
|
|
405
|
+
readOnly: d,
|
|
406
|
+
required: i("required"),
|
|
407
|
+
autoComplete: "off",
|
|
408
|
+
autoCorrect: "off",
|
|
409
|
+
spellCheck: "false",
|
|
410
|
+
type: "text",
|
|
411
|
+
"aria-roledescription": "numberfield",
|
|
412
|
+
"aria-valuemin": i("min"),
|
|
413
|
+
"aria-valuemax": i("max"),
|
|
414
|
+
"aria-valuenow": Number.isNaN(s("valueAsNumber")) ? void 0 : s("valueAsNumber"),
|
|
415
|
+
"aria-valuetext": s("valueText"),
|
|
416
|
+
onFocus() {
|
|
417
|
+
n({ type: "INPUT.FOCUS" });
|
|
418
|
+
},
|
|
419
|
+
onBlur() {
|
|
420
|
+
n({ type: "INPUT.BLUR" });
|
|
421
|
+
},
|
|
422
|
+
onInput(o) {
|
|
423
|
+
n({ type: "INPUT.CHANGE", target: o.currentTarget, hint: "set" });
|
|
424
|
+
},
|
|
425
|
+
onBeforeInput(o) {
|
|
426
|
+
try {
|
|
427
|
+
const { selectionStart: p, selectionEnd: R, value: b } = o.currentTarget, V = b.slice(0, p) + (o.data ?? "") + b.slice(R);
|
|
428
|
+
s("parser").isValidPartialNumber(V) || o.preventDefault();
|
|
429
|
+
} catch {
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
onKeyDown(o) {
|
|
433
|
+
if (o.defaultPrevented || d || ve(o)) return;
|
|
434
|
+
const p = Pe(o) * i("step"), b = {
|
|
435
|
+
ArrowUp() {
|
|
436
|
+
n({ type: "INPUT.ARROW_UP", step: p }), o.preventDefault();
|
|
437
|
+
},
|
|
438
|
+
ArrowDown() {
|
|
439
|
+
n({ type: "INPUT.ARROW_DOWN", step: p }), o.preventDefault();
|
|
440
|
+
},
|
|
441
|
+
Home() {
|
|
442
|
+
_(o) || (n({ type: "INPUT.HOME" }), o.preventDefault());
|
|
443
|
+
},
|
|
444
|
+
End() {
|
|
445
|
+
_(o) || (n({ type: "INPUT.END" }), o.preventDefault());
|
|
446
|
+
},
|
|
447
|
+
Enter() {
|
|
448
|
+
n({ type: "INPUT.ENTER" });
|
|
449
|
+
}
|
|
450
|
+
}[o.key];
|
|
451
|
+
b?.(o);
|
|
452
|
+
}
|
|
453
|
+
});
|
|
454
|
+
},
|
|
455
|
+
getDecrementTriggerProps() {
|
|
456
|
+
return t.button({
|
|
457
|
+
...h.decrementTrigger.attrs,
|
|
458
|
+
dir: i("dir"),
|
|
459
|
+
id: Q(a),
|
|
460
|
+
disabled: E,
|
|
461
|
+
"data-disabled": m(E),
|
|
462
|
+
"aria-label": N.decrementLabel,
|
|
463
|
+
type: "button",
|
|
464
|
+
tabIndex: -1,
|
|
465
|
+
"aria-controls": I(a),
|
|
466
|
+
onPointerDown(o) {
|
|
467
|
+
E || C(o) && (n({ type: "TRIGGER.PRESS_DOWN", hint: "decrement", pointerType: o.pointerType }), o.pointerType === "mouse" && o.preventDefault(), o.pointerType === "touch" && o.currentTarget?.focus({ preventScroll: !0 }));
|
|
468
|
+
},
|
|
469
|
+
onPointerUp(o) {
|
|
470
|
+
n({ type: "TRIGGER.PRESS_UP", hint: "decrement", pointerType: o.pointerType });
|
|
471
|
+
},
|
|
472
|
+
onPointerLeave() {
|
|
473
|
+
E || n({ type: "TRIGGER.PRESS_UP", hint: "decrement" });
|
|
474
|
+
}
|
|
475
|
+
});
|
|
476
|
+
},
|
|
477
|
+
getIncrementTriggerProps() {
|
|
478
|
+
return t.button({
|
|
479
|
+
...h.incrementTrigger.attrs,
|
|
480
|
+
dir: i("dir"),
|
|
481
|
+
id: J(a),
|
|
482
|
+
disabled: y,
|
|
483
|
+
"data-disabled": m(y),
|
|
484
|
+
"aria-label": N.incrementLabel,
|
|
485
|
+
type: "button",
|
|
486
|
+
tabIndex: -1,
|
|
487
|
+
"aria-controls": I(a),
|
|
488
|
+
onPointerDown(o) {
|
|
489
|
+
y || !C(o) || (n({ type: "TRIGGER.PRESS_DOWN", hint: "increment", pointerType: o.pointerType }), o.pointerType === "mouse" && o.preventDefault(), o.pointerType === "touch" && o.currentTarget?.focus({ preventScroll: !0 }));
|
|
490
|
+
},
|
|
491
|
+
onPointerUp(o) {
|
|
492
|
+
n({ type: "TRIGGER.PRESS_UP", hint: "increment", pointerType: o.pointerType });
|
|
493
|
+
},
|
|
494
|
+
onPointerLeave(o) {
|
|
495
|
+
n({ type: "TRIGGER.PRESS_UP", hint: "increment", pointerType: o.pointerType });
|
|
496
|
+
}
|
|
497
|
+
});
|
|
498
|
+
},
|
|
499
|
+
getScrubberProps() {
|
|
500
|
+
return t.element({
|
|
501
|
+
...h.scrubber.attrs,
|
|
502
|
+
dir: i("dir"),
|
|
503
|
+
"data-disabled": m(u),
|
|
504
|
+
id: Ae(a),
|
|
505
|
+
role: "presentation",
|
|
506
|
+
onMouseDown(o) {
|
|
507
|
+
if (u || !C(o)) return;
|
|
508
|
+
const p = he(o), b = ye(o.currentTarget).devicePixelRatio;
|
|
509
|
+
p.x = p.x - D(7.5, b), p.y = p.y - D(7.5, b), n({ type: "SCRUBBER.PRESS_DOWN", point: p }), o.preventDefault();
|
|
510
|
+
},
|
|
511
|
+
style: {
|
|
512
|
+
cursor: u ? void 0 : "ew-resize"
|
|
513
|
+
}
|
|
514
|
+
});
|
|
515
|
+
}
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
function We(e) {
|
|
519
|
+
if (!(!e || e.ownerDocument.activeElement !== e))
|
|
520
|
+
try {
|
|
521
|
+
const { selectionStart: t, selectionEnd: r, value: n } = e, i = n.substring(0, t), a = n.substring(r);
|
|
522
|
+
return {
|
|
523
|
+
start: t,
|
|
524
|
+
end: r,
|
|
525
|
+
value: n,
|
|
526
|
+
beforeTxt: i,
|
|
527
|
+
afterTxt: a
|
|
528
|
+
};
|
|
529
|
+
} catch {
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
function ke(e, t) {
|
|
533
|
+
if (!(!e || e.ownerDocument.activeElement !== e)) {
|
|
534
|
+
if (!t) {
|
|
535
|
+
e.setSelectionRange(e.value.length, e.value.length);
|
|
536
|
+
return;
|
|
537
|
+
}
|
|
538
|
+
try {
|
|
539
|
+
const { value: r } = e, { beforeTxt: n = "", afterTxt: i = "", start: a } = t;
|
|
540
|
+
let s = r.length;
|
|
541
|
+
if (r.endsWith(i))
|
|
542
|
+
s = r.length - i.length;
|
|
543
|
+
else if (r.startsWith(n))
|
|
544
|
+
s = n.length;
|
|
545
|
+
else if (a != null) {
|
|
546
|
+
const l = n[a - 1], u = r.indexOf(l, a - 1);
|
|
547
|
+
u !== -1 && (s = u + 1);
|
|
548
|
+
}
|
|
549
|
+
e.setSelectionRange(s, s);
|
|
550
|
+
} catch {
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
var je = (e, t = {}) => new Intl.NumberFormat(e, t), Ze = (e, t = {}) => new z(e, t), U = (e, t) => {
|
|
555
|
+
const { prop: r, computed: n } = t;
|
|
556
|
+
return r("formatOptions") ? n("parser").parse(String(e)) : parseFloat(e);
|
|
557
|
+
}, P = (e, t) => {
|
|
558
|
+
const { prop: r, computed: n } = t;
|
|
559
|
+
return Number.isNaN(e) ? "" : r("formatOptions") ? n("formatter").format(e) : e.toString();
|
|
560
|
+
}, Ye = (e, t) => {
|
|
561
|
+
let r = e !== void 0 && !Number.isNaN(e) ? e : 1;
|
|
562
|
+
return t?.style === "percent" && (e === void 0 || Number.isNaN(e)) && (r = 0.01), r;
|
|
563
|
+
}, { choose: Xe, guards: qe, createMachine: Ke } = ae(), { not: Y, and: X } = qe, tt = Ke({
|
|
564
|
+
props({ props: e }) {
|
|
565
|
+
const t = Ye(e.step, e.formatOptions);
|
|
566
|
+
return {
|
|
567
|
+
dir: "ltr",
|
|
568
|
+
locale: "en-US",
|
|
569
|
+
focusInputOnChange: !0,
|
|
570
|
+
clampValueOnBlur: !e.allowOverflow,
|
|
571
|
+
allowOverflow: !1,
|
|
572
|
+
inputMode: "decimal",
|
|
573
|
+
pattern: "-?[0-9]*(.[0-9]+)?",
|
|
574
|
+
defaultValue: "",
|
|
575
|
+
step: t,
|
|
576
|
+
min: Number.MIN_SAFE_INTEGER,
|
|
577
|
+
max: Number.MAX_SAFE_INTEGER,
|
|
578
|
+
spinOnPress: !0,
|
|
579
|
+
...e,
|
|
580
|
+
translations: {
|
|
581
|
+
incrementLabel: "increment value",
|
|
582
|
+
decrementLabel: "decrease value",
|
|
583
|
+
...e.translations
|
|
584
|
+
}
|
|
585
|
+
};
|
|
586
|
+
},
|
|
587
|
+
initialState() {
|
|
588
|
+
return "idle";
|
|
589
|
+
},
|
|
590
|
+
context({ prop: e, bindable: t, getComputed: r }) {
|
|
591
|
+
return {
|
|
592
|
+
value: t(() => ({
|
|
593
|
+
defaultValue: e("defaultValue"),
|
|
594
|
+
value: e("value"),
|
|
595
|
+
onChange(n) {
|
|
596
|
+
const i = r(), a = U(n, { computed: i, prop: e });
|
|
597
|
+
e("onValueChange")?.({ value: n, valueAsNumber: a });
|
|
598
|
+
}
|
|
599
|
+
})),
|
|
600
|
+
hint: t(() => ({ defaultValue: null })),
|
|
601
|
+
scrubberCursorPoint: t(() => ({
|
|
602
|
+
defaultValue: null,
|
|
603
|
+
hash(n) {
|
|
604
|
+
return n ? `x:${n.x}, y:${n.y}` : "";
|
|
605
|
+
}
|
|
606
|
+
})),
|
|
607
|
+
fieldsetDisabled: t(() => ({ defaultValue: !1 }))
|
|
608
|
+
};
|
|
609
|
+
},
|
|
610
|
+
computed: {
|
|
611
|
+
isRtl: ({ prop: e }) => e("dir") === "rtl",
|
|
612
|
+
valueAsNumber: ({ context: e, computed: t, prop: r }) => U(e.get("value"), { computed: t, prop: r }),
|
|
613
|
+
formattedValue: ({ computed: e, prop: t }) => P(e("valueAsNumber"), { computed: e, prop: t }),
|
|
614
|
+
isAtMin: ({ computed: e, prop: t }) => oe(e("valueAsNumber"), t("min")),
|
|
615
|
+
isAtMax: ({ computed: e, prop: t }) => se(e("valueAsNumber"), t("max")),
|
|
616
|
+
isOutOfRange: ({ computed: e, prop: t }) => !ge(e("valueAsNumber"), t("min"), t("max")),
|
|
617
|
+
isValueEmpty: ({ context: e }) => e.get("value") === "",
|
|
618
|
+
isDisabled: ({ prop: e, context: t }) => !!e("disabled") || t.get("fieldsetDisabled"),
|
|
619
|
+
canIncrement: ({ prop: e, computed: t }) => e("allowOverflow") || !t("isAtMax"),
|
|
620
|
+
canDecrement: ({ prop: e, computed: t }) => e("allowOverflow") || !t("isAtMin"),
|
|
621
|
+
valueText: ({ prop: e, context: t }) => e("translations").valueText?.(t.get("value")),
|
|
622
|
+
formatter: B(
|
|
623
|
+
({ prop: e }) => [e("locale"), e("formatOptions")],
|
|
624
|
+
(e, t) => je(e, t)
|
|
625
|
+
),
|
|
626
|
+
parser: B(
|
|
627
|
+
({ prop: e }) => [e("locale"), e("formatOptions")],
|
|
628
|
+
(e, t) => Ze(e, t)
|
|
629
|
+
)
|
|
630
|
+
},
|
|
631
|
+
watch({ track: e, action: t, context: r, computed: n, prop: i }) {
|
|
632
|
+
e([() => r.get("value"), () => i("locale")], () => {
|
|
633
|
+
t(["syncInputElement"]);
|
|
634
|
+
}), e([() => n("isOutOfRange")], () => {
|
|
635
|
+
t(["invokeOnInvalid"]);
|
|
636
|
+
}), e([() => r.hash("scrubberCursorPoint")], () => {
|
|
637
|
+
t(["setVirtualCursorPosition"]);
|
|
638
|
+
});
|
|
639
|
+
},
|
|
640
|
+
effects: ["trackFormControl"],
|
|
641
|
+
on: {
|
|
642
|
+
"VALUE.SET": {
|
|
643
|
+
actions: ["setRawValue"]
|
|
644
|
+
},
|
|
645
|
+
"VALUE.CLEAR": {
|
|
646
|
+
actions: ["clearValue"]
|
|
647
|
+
},
|
|
648
|
+
"VALUE.INCREMENT": {
|
|
649
|
+
actions: ["increment"]
|
|
650
|
+
},
|
|
651
|
+
"VALUE.DECREMENT": {
|
|
652
|
+
actions: ["decrement"]
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
states: {
|
|
656
|
+
idle: {
|
|
657
|
+
on: {
|
|
658
|
+
"TRIGGER.PRESS_DOWN": [
|
|
659
|
+
{ guard: "isTouchPointer", target: "before:spin", actions: ["setHint"] },
|
|
660
|
+
{
|
|
661
|
+
target: "before:spin",
|
|
662
|
+
actions: ["focusInput", "invokeOnFocus", "setHint"]
|
|
663
|
+
}
|
|
664
|
+
],
|
|
665
|
+
"SCRUBBER.PRESS_DOWN": {
|
|
666
|
+
target: "scrubbing",
|
|
667
|
+
actions: ["focusInput", "invokeOnFocus", "setHint", "setCursorPoint"]
|
|
668
|
+
},
|
|
669
|
+
"INPUT.FOCUS": {
|
|
670
|
+
target: "focused",
|
|
671
|
+
actions: ["focusInput", "invokeOnFocus"]
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
focused: {
|
|
676
|
+
tags: ["focus"],
|
|
677
|
+
effects: ["attachWheelListener"],
|
|
678
|
+
on: {
|
|
679
|
+
"TRIGGER.PRESS_DOWN": [
|
|
680
|
+
{ guard: "isTouchPointer", target: "before:spin", actions: ["setHint"] },
|
|
681
|
+
{ target: "before:spin", actions: ["focusInput", "setHint"] }
|
|
682
|
+
],
|
|
683
|
+
"SCRUBBER.PRESS_DOWN": {
|
|
684
|
+
target: "scrubbing",
|
|
685
|
+
actions: ["focusInput", "setHint", "setCursorPoint"]
|
|
686
|
+
},
|
|
687
|
+
"INPUT.ARROW_UP": {
|
|
688
|
+
actions: ["increment"]
|
|
689
|
+
},
|
|
690
|
+
"INPUT.ARROW_DOWN": {
|
|
691
|
+
actions: ["decrement"]
|
|
692
|
+
},
|
|
693
|
+
"INPUT.HOME": {
|
|
694
|
+
actions: ["decrementToMin"]
|
|
695
|
+
},
|
|
696
|
+
"INPUT.END": {
|
|
697
|
+
actions: ["incrementToMax"]
|
|
698
|
+
},
|
|
699
|
+
"INPUT.CHANGE": {
|
|
700
|
+
actions: ["setValue", "setHint"]
|
|
701
|
+
},
|
|
702
|
+
"INPUT.BLUR": [
|
|
703
|
+
{
|
|
704
|
+
guard: X("clampValueOnBlur", Y("isInRange")),
|
|
705
|
+
target: "idle",
|
|
706
|
+
actions: ["setClampedValue", "clearHint", "invokeOnBlur"]
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
guard: Y("isInRange"),
|
|
710
|
+
target: "idle",
|
|
711
|
+
actions: ["setFormattedValue", "clearHint", "invokeOnBlur", "invokeOnInvalid"]
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
target: "idle",
|
|
715
|
+
actions: ["setFormattedValue", "clearHint", "invokeOnBlur"]
|
|
716
|
+
}
|
|
717
|
+
],
|
|
718
|
+
"INPUT.ENTER": {
|
|
719
|
+
actions: ["setFormattedValue", "clearHint", "invokeOnBlur"]
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
"before:spin": {
|
|
724
|
+
tags: ["focus"],
|
|
725
|
+
effects: ["trackButtonDisabled", "waitForChangeDelay"],
|
|
726
|
+
entry: Xe([
|
|
727
|
+
{ guard: "isIncrementHint", actions: ["increment"] },
|
|
728
|
+
{ guard: "isDecrementHint", actions: ["decrement"] }
|
|
729
|
+
]),
|
|
730
|
+
on: {
|
|
731
|
+
CHANGE_DELAY: {
|
|
732
|
+
target: "spinning",
|
|
733
|
+
guard: X("isInRange", "spinOnPress")
|
|
734
|
+
},
|
|
735
|
+
"TRIGGER.PRESS_UP": [
|
|
736
|
+
{ guard: "isTouchPointer", target: "focused", actions: ["clearHint"] },
|
|
737
|
+
{ target: "focused", actions: ["focusInput", "clearHint"] }
|
|
738
|
+
]
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
spinning: {
|
|
742
|
+
tags: ["focus"],
|
|
743
|
+
effects: ["trackButtonDisabled", "spinValue"],
|
|
744
|
+
on: {
|
|
745
|
+
SPIN: [
|
|
746
|
+
{
|
|
747
|
+
guard: "isIncrementHint",
|
|
748
|
+
actions: ["increment"]
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
guard: "isDecrementHint",
|
|
752
|
+
actions: ["decrement"]
|
|
753
|
+
}
|
|
754
|
+
],
|
|
755
|
+
"TRIGGER.PRESS_UP": {
|
|
756
|
+
target: "focused",
|
|
757
|
+
actions: ["focusInput", "clearHint"]
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
scrubbing: {
|
|
762
|
+
tags: ["focus"],
|
|
763
|
+
effects: ["activatePointerLock", "trackMousemove", "setupVirtualCursor", "preventTextSelection"],
|
|
764
|
+
on: {
|
|
765
|
+
"SCRUBBER.POINTER_UP": {
|
|
766
|
+
target: "focused",
|
|
767
|
+
actions: ["focusInput", "clearCursorPoint"]
|
|
768
|
+
},
|
|
769
|
+
"SCRUBBER.POINTER_MOVE": [
|
|
770
|
+
{
|
|
771
|
+
guard: "isIncrementHint",
|
|
772
|
+
actions: ["increment", "setCursorPoint"]
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
guard: "isDecrementHint",
|
|
776
|
+
actions: ["decrement", "setCursorPoint"]
|
|
777
|
+
}
|
|
778
|
+
]
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
implementations: {
|
|
783
|
+
guards: {
|
|
784
|
+
clampValueOnBlur: ({ prop: e }) => e("clampValueOnBlur"),
|
|
785
|
+
spinOnPress: ({ prop: e }) => !!e("spinOnPress"),
|
|
786
|
+
isInRange: ({ computed: e }) => !e("isOutOfRange"),
|
|
787
|
+
isDecrementHint: ({ context: e, event: t }) => (t.hint ?? e.get("hint")) === "decrement",
|
|
788
|
+
isIncrementHint: ({ context: e, event: t }) => (t.hint ?? e.get("hint")) === "increment",
|
|
789
|
+
isTouchPointer: ({ event: e }) => e.pointerType === "touch"
|
|
790
|
+
},
|
|
791
|
+
effects: {
|
|
792
|
+
waitForChangeDelay({ send: e }) {
|
|
793
|
+
const t = setTimeout(() => {
|
|
794
|
+
e({ type: "CHANGE_DELAY" });
|
|
795
|
+
}, 300);
|
|
796
|
+
return () => clearTimeout(t);
|
|
797
|
+
},
|
|
798
|
+
spinValue({ send: e }) {
|
|
799
|
+
const t = setInterval(() => {
|
|
800
|
+
e({ type: "SPIN" });
|
|
801
|
+
}, 50);
|
|
802
|
+
return () => clearInterval(t);
|
|
803
|
+
},
|
|
804
|
+
trackFormControl({ context: e, scope: t }) {
|
|
805
|
+
const r = S(t);
|
|
806
|
+
return pe(r, {
|
|
807
|
+
onFieldsetDisabledChange(n) {
|
|
808
|
+
e.set("fieldsetDisabled", n);
|
|
809
|
+
},
|
|
810
|
+
onFormReset() {
|
|
811
|
+
e.set("value", e.initial("value"));
|
|
812
|
+
}
|
|
813
|
+
});
|
|
814
|
+
},
|
|
815
|
+
setupVirtualCursor({ context: e, scope: t }) {
|
|
816
|
+
const r = e.get("scrubberCursorPoint");
|
|
817
|
+
return Be(t, r);
|
|
818
|
+
},
|
|
819
|
+
preventTextSelection({ scope: e }) {
|
|
820
|
+
return Ge(e);
|
|
821
|
+
},
|
|
822
|
+
trackButtonDisabled({ context: e, scope: t, send: r }) {
|
|
823
|
+
const n = e.get("hint"), i = Me(t, n);
|
|
824
|
+
return fe(i, {
|
|
825
|
+
attributes: ["disabled"],
|
|
826
|
+
callback() {
|
|
827
|
+
r({ type: "TRIGGER.PRESS_UP", src: "attr" });
|
|
828
|
+
}
|
|
829
|
+
});
|
|
830
|
+
},
|
|
831
|
+
attachWheelListener({ scope: e, send: t, prop: r }) {
|
|
832
|
+
const n = S(e);
|
|
833
|
+
if (!n || !e.isActiveElement(n) || !r("allowMouseWheel")) return;
|
|
834
|
+
function i(a) {
|
|
835
|
+
a.preventDefault();
|
|
836
|
+
const s = Math.sign(a.deltaY) * -1;
|
|
837
|
+
s === 1 ? t({ type: "VALUE.INCREMENT" }) : s === -1 && t({ type: "VALUE.DECREMENT" });
|
|
838
|
+
}
|
|
839
|
+
return O(n, "wheel", i, { passive: !1 });
|
|
840
|
+
},
|
|
841
|
+
activatePointerLock({ scope: e }) {
|
|
842
|
+
if (!q())
|
|
843
|
+
return de(e.getDoc());
|
|
844
|
+
},
|
|
845
|
+
trackMousemove({ scope: e, send: t, context: r, computed: n }) {
|
|
846
|
+
const i = e.getDoc();
|
|
847
|
+
function a(l) {
|
|
848
|
+
const u = r.get("scrubberCursorPoint"), d = n("isRtl"), g = He(e, { point: u, isRtl: d, event: l });
|
|
849
|
+
g.hint && t({
|
|
850
|
+
type: "SCRUBBER.POINTER_MOVE",
|
|
851
|
+
hint: g.hint,
|
|
852
|
+
point: g.point
|
|
853
|
+
});
|
|
854
|
+
}
|
|
855
|
+
function s() {
|
|
856
|
+
t({ type: "SCRUBBER.POINTER_UP" });
|
|
857
|
+
}
|
|
858
|
+
return me(O(i, "mousemove", a, !1), O(i, "mouseup", s, !1));
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
actions: {
|
|
862
|
+
focusInput({ scope: e, prop: t }) {
|
|
863
|
+
if (!t("focusInputOnChange")) return;
|
|
864
|
+
const r = S(e);
|
|
865
|
+
e.isActiveElement(r) || G(() => r?.focus({ preventScroll: !0 }));
|
|
866
|
+
},
|
|
867
|
+
increment({ context: e, event: t, prop: r, computed: n }) {
|
|
868
|
+
let i = ce(n("valueAsNumber"), t.step ?? r("step"));
|
|
869
|
+
r("allowOverflow") || (i = x(i, r("min"), r("max"))), e.set("value", P(i, { computed: n, prop: r }));
|
|
870
|
+
},
|
|
871
|
+
decrement({ context: e, event: t, prop: r, computed: n }) {
|
|
872
|
+
let i = ue(n("valueAsNumber"), t.step ?? r("step"));
|
|
873
|
+
r("allowOverflow") || (i = x(i, r("min"), r("max"))), e.set("value", P(i, { computed: n, prop: r }));
|
|
874
|
+
},
|
|
875
|
+
setClampedValue({ context: e, prop: t, computed: r }) {
|
|
876
|
+
const n = x(r("valueAsNumber"), t("min"), t("max"));
|
|
877
|
+
e.set("value", P(n, { computed: r, prop: t }));
|
|
878
|
+
},
|
|
879
|
+
setRawValue({ context: e, event: t, prop: r, computed: n }) {
|
|
880
|
+
let i = U(t.value, { computed: n, prop: r });
|
|
881
|
+
r("allowOverflow") || (i = x(i, r("min"), r("max"))), e.set("value", P(i, { computed: n, prop: r }));
|
|
882
|
+
},
|
|
883
|
+
setValue({ context: e, event: t }) {
|
|
884
|
+
const r = t.target?.value ?? t.value;
|
|
885
|
+
e.set("value", r);
|
|
886
|
+
},
|
|
887
|
+
clearValue({ context: e }) {
|
|
888
|
+
e.set("value", "");
|
|
889
|
+
},
|
|
890
|
+
incrementToMax({ context: e, prop: t, computed: r }) {
|
|
891
|
+
const n = P(t("max"), { computed: r, prop: t });
|
|
892
|
+
e.set("value", n);
|
|
893
|
+
},
|
|
894
|
+
decrementToMin({ context: e, prop: t, computed: r }) {
|
|
895
|
+
const n = P(t("min"), { computed: r, prop: t });
|
|
896
|
+
e.set("value", n);
|
|
897
|
+
},
|
|
898
|
+
setHint({ context: e, event: t }) {
|
|
899
|
+
e.set("hint", t.hint);
|
|
900
|
+
},
|
|
901
|
+
clearHint({ context: e }) {
|
|
902
|
+
e.set("hint", null);
|
|
903
|
+
},
|
|
904
|
+
invokeOnFocus({ computed: e, prop: t }) {
|
|
905
|
+
t("onFocusChange")?.({
|
|
906
|
+
focused: !0,
|
|
907
|
+
value: e("formattedValue"),
|
|
908
|
+
valueAsNumber: e("valueAsNumber")
|
|
909
|
+
});
|
|
910
|
+
},
|
|
911
|
+
invokeOnBlur({ computed: e, prop: t }) {
|
|
912
|
+
t("onFocusChange")?.({
|
|
913
|
+
focused: !1,
|
|
914
|
+
value: e("formattedValue"),
|
|
915
|
+
valueAsNumber: e("valueAsNumber")
|
|
916
|
+
});
|
|
917
|
+
},
|
|
918
|
+
invokeOnInvalid({ computed: e, prop: t, event: r }) {
|
|
919
|
+
if (r.type === "INPUT.CHANGE") return;
|
|
920
|
+
const n = e("valueAsNumber") > t("max") ? "rangeOverflow" : "rangeUnderflow";
|
|
921
|
+
t("onValueInvalid")?.({
|
|
922
|
+
reason: n,
|
|
923
|
+
value: e("formattedValue"),
|
|
924
|
+
valueAsNumber: e("valueAsNumber")
|
|
925
|
+
});
|
|
926
|
+
},
|
|
927
|
+
syncInputElement({ context: e, event: t, computed: r, scope: n }) {
|
|
928
|
+
const i = t.type.endsWith("CHANGE") ? e.get("value") : r("formattedValue"), a = S(n), s = We(a);
|
|
929
|
+
G(() => {
|
|
930
|
+
le(a, i), ke(a, s);
|
|
931
|
+
});
|
|
932
|
+
},
|
|
933
|
+
setFormattedValue({ context: e, computed: t }) {
|
|
934
|
+
e.set("value", t("formattedValue"));
|
|
935
|
+
},
|
|
936
|
+
setCursorPoint({ context: e, event: t }) {
|
|
937
|
+
e.set("scrubberCursorPoint", t.point);
|
|
938
|
+
},
|
|
939
|
+
clearCursorPoint({ context: e }) {
|
|
940
|
+
e.set("scrubberCursorPoint", null);
|
|
941
|
+
},
|
|
942
|
+
setVirtualCursorPosition({ context: e, scope: t }) {
|
|
943
|
+
const r = te(t), n = e.get("scrubberCursorPoint");
|
|
944
|
+
!r || !n || (r.style.transform = `translate3d(${n.x}px, ${n.y}px, 0px)`);
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
});
|
|
949
|
+
Re()([
|
|
950
|
+
"allowMouseWheel",
|
|
951
|
+
"allowOverflow",
|
|
952
|
+
"clampValueOnBlur",
|
|
953
|
+
"dir",
|
|
954
|
+
"disabled",
|
|
955
|
+
"focusInputOnChange",
|
|
956
|
+
"form",
|
|
957
|
+
"formatOptions",
|
|
958
|
+
"getRootNode",
|
|
959
|
+
"id",
|
|
960
|
+
"ids",
|
|
961
|
+
"inputMode",
|
|
962
|
+
"invalid",
|
|
963
|
+
"locale",
|
|
964
|
+
"max",
|
|
965
|
+
"min",
|
|
966
|
+
"name",
|
|
967
|
+
"onFocusChange",
|
|
968
|
+
"onValueChange",
|
|
969
|
+
"onValueInvalid",
|
|
970
|
+
"pattern",
|
|
971
|
+
"required",
|
|
972
|
+
"readOnly",
|
|
973
|
+
"spinOnPress",
|
|
974
|
+
"step",
|
|
975
|
+
"translations",
|
|
976
|
+
"value",
|
|
977
|
+
"defaultValue"
|
|
978
|
+
]);
|
|
979
|
+
export {
|
|
980
|
+
Oe as a,
|
|
981
|
+
et as c,
|
|
982
|
+
tt as m
|
|
983
|
+
};
|
|
984
|
+
//# sourceMappingURL=index-D1RhzPVz.js.map
|