@televet/kibble-ui 4.0.0-beta.128 → 4.0.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -40
- package/dist/chunks/alert.types-Bnf8isvq.js +2 -0
- package/dist/chunks/alert.types-Bnf8isvq.js.map +1 -0
- package/dist/chunks/alert.types-kskv5PHB.js +170 -0
- package/dist/chunks/alert.types-kskv5PHB.js.map +1 -0
- package/dist/chunks/avatar.component-Coq-0l7p.js +2 -0
- package/dist/chunks/avatar.component-Coq-0l7p.js.map +1 -0
- package/dist/chunks/avatar.component-DzvE2D-d.js +307 -0
- package/dist/chunks/avatar.component-DzvE2D-d.js.map +1 -0
- package/dist/chunks/avatar.types-Bmt5Uhfb.js.map +1 -1
- package/dist/chunks/avatar.types-LQ1Bn8a3.js +13 -0
- package/dist/chunks/avatar.types-LQ1Bn8a3.js.map +1 -0
- package/dist/chunks/avatarGroup.component-D-U0aMDv.js +71 -0
- package/dist/chunks/avatarGroup.component-D-U0aMDv.js.map +1 -0
- package/dist/chunks/avatarGroup.component-DES1ekL9.js +2 -0
- package/dist/chunks/avatarGroup.component-DES1ekL9.js.map +1 -0
- package/dist/chunks/{button.component-Br9jCpBx.js → button.component-BiW8RE1U.js} +10 -10
- package/dist/chunks/button.component-BiW8RE1U.js.map +1 -0
- package/dist/chunks/button.component-Dufh_y5v.js +2 -0
- package/dist/chunks/button.component-Dufh_y5v.js.map +1 -0
- package/dist/chunks/{button.types-BKXZNvN1.js → button.types-CujqF5RD.js} +7 -9
- package/dist/chunks/button.types-CujqF5RD.js.map +1 -0
- package/dist/chunks/{button.types-Bl1awbi0.js → button.types-DsLMGraz.js} +2 -2
- package/dist/chunks/button.types-DsLMGraz.js.map +1 -0
- package/dist/chunks/buttonGroup.component-DcCHtB7Q.js +67 -0
- package/dist/chunks/buttonGroup.component-DcCHtB7Q.js.map +1 -0
- package/dist/chunks/buttonGroup.component-sM0NngWF.js +2 -0
- package/dist/chunks/buttonGroup.component-sM0NngWF.js.map +1 -0
- package/dist/chunks/card.component-HX-4Y0j7.js +51 -0
- package/dist/chunks/card.component-HX-4Y0j7.js.map +1 -0
- package/dist/chunks/card.component-ZIoJIWVV.js +2 -0
- package/dist/chunks/card.component-ZIoJIWVV.js.map +1 -0
- package/dist/chunks/{theme.provider-DJQeMr5K.js → chakra-BqBkjpvZ.js} +11283 -10816
- package/dist/chunks/chakra-BqBkjpvZ.js.map +1 -0
- package/dist/chunks/chakra-DmF8Cxqs.js +5 -0
- package/dist/chunks/chakra-DmF8Cxqs.js.map +1 -0
- package/dist/chunks/characterCounter.component-BXxyn_IB.js +2 -0
- package/dist/chunks/characterCounter.component-BXxyn_IB.js.map +1 -0
- package/dist/chunks/characterCounter.component-DhiMcztY.js +108 -0
- package/dist/chunks/characterCounter.component-DhiMcztY.js.map +1 -0
- package/dist/chunks/checkbox.component-DQVpdkqO.js +2 -0
- package/dist/chunks/checkbox.component-DQVpdkqO.js.map +1 -0
- package/dist/chunks/checkbox.component-DgyH37fL.js +90 -0
- package/dist/chunks/checkbox.component-DgyH37fL.js.map +1 -0
- package/dist/chunks/checkbox.records-DJfdKuOe.js +2 -0
- package/dist/chunks/checkbox.records-DJfdKuOe.js.map +1 -0
- package/dist/chunks/checkbox.records-JWbKQ684.js +14 -0
- package/dist/chunks/checkbox.records-JWbKQ684.js.map +1 -0
- package/dist/chunks/checkboxGroup.component-C8cndZPg.js +51 -0
- package/dist/chunks/checkboxGroup.component-C8cndZPg.js.map +1 -0
- package/dist/chunks/checkboxGroup.component-CcjCexJ4.js +2 -0
- package/dist/chunks/checkboxGroup.component-CcjCexJ4.js.map +1 -0
- package/dist/chunks/conversationCard.component-CcWQpwrW.js +2 -0
- package/dist/chunks/conversationCard.component-CcWQpwrW.js.map +1 -0
- package/dist/chunks/{conversationCard.component-DQqpy-FX.js → conversationCard.component-DKIHpfpL.js} +173 -120
- package/dist/chunks/conversationCard.component-DKIHpfpL.js.map +1 -0
- package/dist/chunks/date-1NFv48Qu.js +3598 -0
- package/dist/chunks/date-1NFv48Qu.js.map +1 -0
- package/dist/chunks/date-Du64Exix.js +15 -0
- package/dist/chunks/date-Du64Exix.js.map +1 -0
- package/dist/chunks/datePicker.component-BthgWsMj.js +2 -0
- package/dist/chunks/datePicker.component-BthgWsMj.js.map +1 -0
- package/dist/chunks/datePicker.component-Q_KcgvIw.js +749 -0
- package/dist/chunks/datePicker.component-Q_KcgvIw.js.map +1 -0
- package/dist/chunks/dnd-4IMP_kRN.js +6 -0
- package/dist/chunks/dnd-4IMP_kRN.js.map +1 -0
- package/dist/chunks/{sortableList.component-DW832-HJ.js → dnd-DDR6viHX.js} +887 -978
- package/dist/chunks/dnd-DDR6viHX.js.map +1 -0
- package/dist/chunks/heading.component-B8niLTxz.js +10 -0
- package/dist/chunks/heading.component-B8niLTxz.js.map +1 -0
- package/dist/chunks/heading.component-CExbjSBi.js +2 -0
- package/dist/chunks/heading.component-CExbjSBi.js.map +1 -0
- package/dist/chunks/icon.component-B-BWWGO3.js +42 -0
- package/dist/chunks/icon.component-B-BWWGO3.js.map +1 -0
- package/dist/chunks/icon.component-Bmtf4XKw.js +2 -0
- package/dist/chunks/icon.component-Bmtf4XKw.js.map +1 -0
- package/dist/chunks/icon.types-2obj_NKG.js.map +1 -1
- package/dist/chunks/icon.types-DLbVfMjG.js.map +1 -1
- package/dist/chunks/link.component-COhBuuX3.js +58 -0
- package/dist/chunks/link.component-COhBuuX3.js.map +1 -0
- package/dist/chunks/link.component-DZnXQz1W.js +2 -0
- package/dist/chunks/link.component-DZnXQz1W.js.map +1 -0
- package/dist/chunks/menu.component-BEj878EN.js +2 -0
- package/dist/chunks/menu.component-BEj878EN.js.map +1 -0
- package/dist/chunks/menu.component-CR9SH_jk.js +390 -0
- package/dist/chunks/menu.component-CR9SH_jk.js.map +1 -0
- package/dist/chunks/modal.types-ChWBgALC.js +146 -0
- package/dist/chunks/modal.types-ChWBgALC.js.map +1 -0
- package/dist/chunks/modal.types-CofEmV4v.js +2 -0
- package/dist/chunks/modal.types-CofEmV4v.js.map +1 -0
- package/dist/chunks/notificationCounter.component-BH6anjzq.js +2 -0
- package/dist/chunks/notificationCounter.component-BH6anjzq.js.map +1 -0
- package/dist/chunks/{notificationCounter.component-BzhAKrKR.js → notificationCounter.component-CSuqzMTF.js} +15 -10
- package/dist/chunks/notificationCounter.component-CSuqzMTF.js.map +1 -0
- package/dist/chunks/popover.component-C1e_jTLD.js +2 -0
- package/dist/chunks/popover.component-C1e_jTLD.js.map +1 -0
- package/dist/chunks/popover.component-CzYfOF7z.js +221 -0
- package/dist/chunks/popover.component-CzYfOF7z.js.map +1 -0
- package/dist/chunks/popover.recipe-DnCuZJd3.js +123 -0
- package/dist/chunks/popover.recipe-DnCuZJd3.js.map +1 -0
- package/dist/chunks/popover.recipe-Pfz3evii.js +2 -0
- package/dist/chunks/popover.recipe-Pfz3evii.js.map +1 -0
- package/dist/chunks/popover.types-BF2KRf_I.js.map +1 -1
- package/dist/chunks/popover.types-C-V7Diw4.js +12 -0
- package/dist/chunks/popover.types-C-V7Diw4.js.map +1 -0
- package/dist/chunks/radio.records-BxCn4oUd.js +2 -0
- package/dist/chunks/radio.records-BxCn4oUd.js.map +1 -0
- package/dist/chunks/radio.records-Cc3kP4Vn.js +14 -0
- package/dist/chunks/radio.records-Cc3kP4Vn.js.map +1 -0
- package/dist/chunks/radioGroup.component-B1ZdhI8z.js +2 -0
- package/dist/chunks/radioGroup.component-B1ZdhI8z.js.map +1 -0
- package/dist/chunks/radioGroup.component-CsmHziwM.js +151 -0
- package/dist/chunks/radioGroup.component-CsmHziwM.js.map +1 -0
- package/dist/chunks/ratingDots.component-DFHojz_X.js +155 -0
- package/dist/chunks/ratingDots.component-DFHojz_X.js.map +1 -0
- package/dist/chunks/ratingDots.component-HugaFu0D.js +2 -0
- package/dist/chunks/ratingDots.component-HugaFu0D.js.map +1 -0
- package/dist/chunks/select.component-HI7aJx11.js +129 -0
- package/dist/chunks/select.component-HI7aJx11.js.map +1 -0
- package/dist/chunks/select.component-h5lPMmWB.js +2 -0
- package/dist/chunks/select.component-h5lPMmWB.js.map +1 -0
- package/dist/chunks/sortableList.component-B2hSRuex.js +2 -0
- package/dist/chunks/sortableList.component-B2hSRuex.js.map +1 -0
- package/dist/chunks/sortableList.component-DAIHsGEA.js +145 -0
- package/dist/chunks/sortableList.component-DAIHsGEA.js.map +1 -0
- package/dist/chunks/spinner.component-CUuidnSK.js +2 -0
- package/dist/chunks/spinner.component-CUuidnSK.js.map +1 -0
- package/dist/chunks/{spinner.component-BcOsuuIq.js → spinner.component-D5tkelNc.js} +19 -21
- package/dist/chunks/spinner.component-D5tkelNc.js.map +1 -0
- package/dist/chunks/spinner.types-BCLN5-H2.js.map +1 -1
- package/dist/chunks/spinner.types-g7cTFJkb.js.map +1 -1
- package/dist/chunks/styledAvatar.types-Cj3j5vXC.js +2 -0
- package/dist/chunks/styledAvatar.types-Cj3j5vXC.js.map +1 -0
- package/dist/chunks/{styledAvatar.types-DuRUjNh6.js → styledAvatar.types-DbSO8s7o.js} +19 -6
- package/dist/chunks/styledAvatar.types-DbSO8s7o.js.map +1 -0
- package/dist/chunks/switch.component-B1fXLRiO.js +53 -0
- package/dist/chunks/switch.component-B1fXLRiO.js.map +1 -0
- package/dist/chunks/switch.component-PH9nS7eN.js +2 -0
- package/dist/chunks/switch.component-PH9nS7eN.js.map +1 -0
- package/dist/chunks/tabs.component-6iPTLCx6.js +2 -0
- package/dist/chunks/tabs.component-6iPTLCx6.js.map +1 -0
- package/dist/chunks/tabs.component-DaUZITBw.js +87 -0
- package/dist/chunks/tabs.component-DaUZITBw.js.map +1 -0
- package/dist/chunks/tag.component-A__B03TA.js +66 -0
- package/dist/chunks/tag.component-A__B03TA.js.map +1 -0
- package/dist/chunks/tag.component-BjOfy3Bw.js +2 -0
- package/dist/chunks/tag.component-BjOfy3Bw.js.map +1 -0
- package/dist/chunks/tag.types-B-pzEt1I.js.map +1 -1
- package/dist/chunks/tag.types-BnDFgTvb.js.map +1 -1
- package/dist/chunks/tagBlock.component-Bx_hcjU4.js +2 -0
- package/dist/chunks/tagBlock.component-Bx_hcjU4.js.map +1 -0
- package/dist/chunks/{tagBlock.component-jWG9O22v.js → tagBlock.component-Ch60_R7X.js} +36 -20
- package/dist/chunks/tagBlock.component-Ch60_R7X.js.map +1 -0
- package/dist/chunks/text.component-CBa_saMP.js +2 -0
- package/dist/chunks/text.component-CBa_saMP.js.map +1 -0
- package/dist/chunks/text.component-XYjOAc2s.js +10 -0
- package/dist/chunks/text.component-XYjOAc2s.js.map +1 -0
- package/dist/chunks/textInput.component-CdPvTnhj.js +2 -0
- package/dist/chunks/textInput.component-CdPvTnhj.js.map +1 -0
- package/dist/chunks/textInput.component-LjDvSnBy.js +98 -0
- package/dist/chunks/textInput.component-LjDvSnBy.js.map +1 -0
- package/dist/chunks/textarea.component-C7l9zJKx.js +51 -0
- package/dist/chunks/textarea.component-C7l9zJKx.js.map +1 -0
- package/dist/chunks/textarea.component-CKEdjCAq.js +2 -0
- package/dist/chunks/textarea.component-CKEdjCAq.js.map +1 -0
- package/dist/chunks/timePicker.component-BLYPjS1u.js +2 -0
- package/dist/chunks/timePicker.component-BLYPjS1u.js.map +1 -0
- package/dist/chunks/timePicker.component-DFT36RN_.js +246 -0
- package/dist/chunks/timePicker.component-DFT36RN_.js.map +1 -0
- package/dist/chunks/timeRange.component-CzJjkQzN.js +2 -0
- package/dist/chunks/timeRange.component-CzJjkQzN.js.map +1 -0
- package/dist/chunks/timeRange.component-KETq7cDb.js +17 -0
- package/dist/chunks/timeRange.component-KETq7cDb.js.map +1 -0
- package/dist/chunks/timestamp.component-CuqY4euh.js +2 -0
- package/dist/chunks/timestamp.component-CuqY4euh.js.map +1 -0
- package/dist/chunks/timestamp.component-D764INLm.js +37 -0
- package/dist/chunks/timestamp.component-D764INLm.js.map +1 -0
- package/dist/chunks/tooltip.component-C3v2m2T2.js +70 -0
- package/dist/chunks/tooltip.component-C3v2m2T2.js.map +1 -0
- package/dist/chunks/tooltip.component-qWFa28S5.js +2 -0
- package/dist/chunks/tooltip.component-qWFa28S5.js.map +1 -0
- package/dist/chunks/typography-Cqrokog3.js.map +1 -1
- package/dist/chunks/typography-CtiaGoJG.js.map +1 -1
- package/dist/chunks/typography.records-BPYXVuvi.js +2 -0
- package/dist/chunks/typography.records-BPYXVuvi.js.map +1 -0
- package/dist/chunks/typography.records-CG4wIBxE.js +24 -0
- package/dist/chunks/typography.records-CG4wIBxE.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/vendor-BBfll6i3.js +11757 -0
- package/dist/chunks/vendor-BBfll6i3.js.map +1 -0
- package/dist/chunks/vendor-D-x6W6ez.js +57 -0
- package/dist/chunks/vendor-D-x6W6ez.js.map +1 -0
- package/dist/chunks/withFormControl-C7uVEpxe.js +2 -0
- package/dist/chunks/withFormControl-C7uVEpxe.js.map +1 -0
- package/dist/chunks/withFormControl-DSNvvAPD.js +149 -0
- package/dist/chunks/withFormControl-DSNvvAPD.js.map +1 -0
- package/dist/chunks/withTruncation-BskZBBVs.js +2 -0
- package/dist/chunks/withTruncation-BskZBBVs.js.map +1 -0
- package/dist/chunks/{withTruncation-DgpjWopq.js → withTruncation-C2xFKhgB.js} +28 -21
- package/dist/chunks/withTruncation-C2xFKhgB.js.map +1 -0
- package/dist/cjs/components/Alert/index.cjs +1 -1
- package/dist/cjs/components/Avatar/index.cjs +1 -1
- package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
- package/dist/cjs/components/Button/index.cjs +1 -1
- package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
- package/dist/cjs/components/Card/index.cjs +1 -1
- package/dist/cjs/components/Card/index.cjs.map +1 -1
- package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
- package/dist/cjs/components/Checkbox/index.cjs +1 -1
- package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
- package/dist/cjs/components/DatePicker/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/Menu/index.cjs +1 -1
- package/dist/cjs/components/Modal/index.cjs +1 -1
- package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
- package/dist/cjs/components/NotificationCounter/index.cjs.map +1 -1
- package/dist/cjs/components/Picture/index.cjs +1 -1
- package/dist/cjs/components/Picture/index.cjs.map +1 -1
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- package/dist/cjs/components/RatingDots/index.cjs +1 -1
- package/dist/cjs/components/Select/index.cjs +1 -1
- package/dist/cjs/components/SortableList/index.cjs +1 -1
- package/dist/cjs/components/Spinner/index.cjs +1 -1
- package/dist/cjs/components/Swatch/index.cjs +1 -1
- package/dist/cjs/components/Swatch/index.cjs.map +1 -1
- package/dist/cjs/components/Switch/index.cjs +1 -1
- package/dist/cjs/components/Tabs/index.cjs +1 -1
- package/dist/cjs/components/Tag/index.cjs +1 -1
- package/dist/cjs/components/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/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/hocs/index.cjs +1 -1
- package/dist/cjs/hocs/index.cjs.map +1 -1
- package/dist/cjs/hooks/index.cjs +1 -1
- package/dist/cjs/hooks/index.cjs.map +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/{components → patterns}/ConversationCard/index.cjs +1 -1
- package/dist/cjs/{components → patterns}/StyledAvatar/index.cjs +1 -1
- package/dist/cjs/{components → patterns}/TagBlock/index.cjs +1 -1
- package/dist/cjs/{components → patterns}/Timestamp/index.cjs +1 -1
- package/dist/cjs/patterns/index.cjs +2 -0
- package/dist/cjs/shared/types/index.cjs +1 -1
- package/dist/cjs/shared/types/index.cjs.map +1 -1
- package/dist/cjs/theme/index.cjs +23 -1
- package/dist/cjs/theme/index.cjs.map +1 -1
- package/dist/cjs/theme/semanticTokens/index.cjs +1 -1
- package/dist/cjs/theme/semanticTokens/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/colors/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/generated/index.cjs +2 -0
- package/dist/esm/components/Alert/index.js +1 -1
- package/dist/esm/components/Avatar/index.js +2 -2
- 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/Card/index.js +4 -4
- package/dist/esm/components/Card/index.js.map +1 -1
- package/dist/esm/components/CharacterCounter/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/CheckboxGroup/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +1 -1
- package/dist/esm/components/Heading/index.js +1 -1
- package/dist/esm/components/Icon/generated/index.js +1632 -401
- 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/Menu/index.js +1 -1
- package/dist/esm/components/Modal/index.js +1 -1
- package/dist/esm/components/NotificationCounter/index.js +9 -4
- package/dist/esm/components/NotificationCounter/index.js.map +1 -1
- package/dist/esm/components/Picture/index.js +16 -1
- package/dist/esm/components/Picture/index.js.map +1 -1
- package/dist/esm/components/Popover/index.js +2 -2
- package/dist/esm/components/RadioGroup/index.js +2 -3
- 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/Swatch/index.js +62 -3
- package/dist/esm/components/Swatch/index.js.map +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +2 -4
- package/dist/esm/components/Tag/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/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +95 -121
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/hocs/index.js +35 -4
- package/dist/esm/hocs/index.js.map +1 -1
- package/dist/esm/hooks/index.js +17 -8
- package/dist/esm/hooks/index.js.map +1 -1
- package/dist/esm/index.js +100 -144
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{components → patterns}/ConversationCard/index.js +1 -1
- package/dist/esm/{components → patterns}/StyledAvatar/index.js +1 -1
- package/dist/esm/{components → patterns}/TagBlock/index.js +1 -1
- package/dist/esm/patterns/Timestamp/index.js +5 -0
- package/dist/esm/patterns/index.js +13 -0
- package/dist/esm/patterns/index.js.map +1 -0
- package/dist/esm/shared/types/index.js +15 -6
- package/dist/esm/shared/types/index.js.map +1 -1
- package/dist/esm/theme/index.js +2608 -4
- package/dist/esm/theme/index.js.map +1 -1
- package/dist/esm/theme/semanticTokens/index.js +0 -2
- package/dist/esm/theme/semanticTokens/index.js.map +1 -1
- package/dist/esm/theme/tokens/colors/index.js.map +1 -1
- package/dist/esm/theme/tokens/generated/index.js +2 -0
- package/dist/esm/theme/tokens/generated/index.js.map +1 -0
- package/dist/types/components/Alert/alert.component.d.ts +13 -5
- package/dist/types/components/Alert/alert.recipe.d.ts +1 -1
- package/dist/types/components/Alert/alert.records.d.ts +5 -0
- package/dist/types/components/Alert/alert.types.d.ts +1 -1
- package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +1 -1
- package/dist/types/components/Alert.d.ts +2 -0
- package/dist/types/components/Avatar/avatar.recipe.d.ts +2 -2
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.types.d.ts +1 -1
- package/dist/types/components/Avatar.d.ts +2 -0
- package/dist/types/components/AvatarGroup.d.ts +2 -0
- package/dist/types/components/Button/button.component.d.ts +3 -2
- package/dist/types/components/Button/button.recipe.d.ts +1 -1
- package/dist/types/components/Button/button.types.d.ts +2 -2
- package/dist/types/components/Button.d.ts +2 -0
- package/dist/types/components/ButtonGroup/buttonGroup.types.d.ts +1 -1
- package/dist/types/components/ButtonGroup.d.ts +2 -0
- package/dist/types/components/Card/card.component.d.ts +1 -1
- package/dist/types/components/Card.d.ts +2 -0
- package/dist/types/components/CharacterCounter.d.ts +2 -0
- package/dist/types/components/Checkbox/checkbox.component.d.ts +3 -4
- package/dist/types/components/Checkbox/checkbox.recipe.d.ts +1 -9
- package/dist/types/components/Checkbox.d.ts +2 -0
- package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +1 -1
- package/dist/types/components/CheckboxGroup.d.ts +2 -0
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.types.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +2 -2
- package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +1 -1
- package/dist/types/components/DatePicker/context/datePicker.context.d.ts +1 -1
- package/dist/types/components/DatePicker/datePicker.component.d.ts +1 -1
- package/dist/types/components/DatePicker/datePicker.types.d.ts +3 -3
- package/dist/types/components/DatePicker.d.ts +2 -0
- package/dist/types/components/Heading/heading.component.d.ts +3 -3
- package/dist/types/components/Heading/heading.types.d.ts +1 -1
- package/dist/types/components/Heading.d.ts +2 -0
- package/dist/types/components/Icon/generated/AlertCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalBird.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalCat.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalCow.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalDog.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalHorse.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalMouse.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalPig.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalSnake.d.ts +1 -1
- package/dist/types/components/Icon/generated/Archive.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowDownRight.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowLeft.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowRight.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowsIn.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowsOut.d.ts +1 -1
- package/dist/types/components/Icon/generated/Article.d.ts +1 -1
- package/dist/types/components/Icon/generated/Award.d.ts +1 -1
- package/dist/types/components/Icon/generated/Bank.d.ts +1 -1
- package/dist/types/components/Icon/generated/Bell.d.ts +1 -1
- package/dist/types/components/Icon/generated/BellCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/Bone.d.ts +1 -1
- package/dist/types/components/Icon/generated/Bookmark.d.ts +1 -1
- package/dist/types/components/Icon/generated/BulkSelect.d.ts +1 -1
- package/dist/types/components/Icon/generated/Buttons.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarCheck.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarDate.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarInfo.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarPen.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarPlus.d.ts +1 -1
- package/dist/types/components/Icon/generated/Camera.d.ts +1 -1
- package/dist/types/components/Icon/generated/CameraOff.d.ts +1 -1
- package/dist/types/components/Icon/generated/Cancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/CaretDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/CaretUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/Cellphone.d.ts +1 -1
- package/dist/types/components/Icon/generated/CellphoneCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChainLink.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChatBubble.d.ts +1 -1
- package/dist/types/components/Icon/generated/Checkmark.d.ts +1 -1
- package/dist/types/components/Icon/generated/CheckmarkBox.d.ts +1 -1
- package/dist/types/components/Icon/generated/CheckmarkCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChevronDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChevronLeft.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChevronRight.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChevronUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/Clinic.d.ts +1 -1
- package/dist/types/components/Icon/generated/Clock.d.ts +1 -1
- package/dist/types/components/Icon/generated/Close.d.ts +1 -1
- package/dist/types/components/Icon/generated/CloseCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/CloseCircleSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/Code.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCard.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoAmex.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoDiners.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoDiscover.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoGeneric.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoJcb.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoMastercard.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoUnionpay.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoVisa.d.ts +1 -1
- package/dist/types/components/Icon/generated/Cut.d.ts +1 -1
- package/dist/types/components/Icon/generated/Dollar.d.ts +1 -1
- package/dist/types/components/Icon/generated/DollarCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/DotsHorizontal.d.ts +1 -1
- package/dist/types/components/Icon/generated/DotsVertical.d.ts +1 -1
- package/dist/types/components/Icon/generated/DoubleArrowCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/Download.d.ts +1 -1
- package/dist/types/components/Icon/generated/EmailSend.d.ts +1 -1
- package/dist/types/components/Icon/generated/Envelope.d.ts +1 -1
- package/dist/types/components/Icon/generated/EnvelopeCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/ExternalLink.d.ts +1 -1
- package/dist/types/components/Icon/generated/EyeOpen.d.ts +1 -1
- package/dist/types/components/Icon/generated/EyeSlash.d.ts +1 -1
- package/dist/types/components/Icon/generated/Eyedropper.d.ts +1 -1
- package/dist/types/components/Icon/generated/FileHealth.d.ts +1 -1
- package/dist/types/components/Icon/generated/Filter.d.ts +1 -1
- package/dist/types/components/Icon/generated/Form.d.ts +1 -1
- package/dist/types/components/Icon/generated/Gear.d.ts +1 -1
- package/dist/types/components/Icon/generated/Gif.d.ts +1 -1
- package/dist/types/components/Icon/generated/Grid.d.ts +1 -1
- package/dist/types/components/Icon/generated/Hashtag.d.ts +1 -1
- package/dist/types/components/Icon/generated/Health.d.ts +1 -1
- package/dist/types/components/Icon/generated/Heart.d.ts +1 -1
- package/dist/types/components/Icon/generated/HeartSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/House.d.ts +1 -1
- package/dist/types/components/Icon/generated/Image.d.ts +1 -1
- package/dist/types/components/Icon/generated/InfoCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/Input.d.ts +1 -1
- package/dist/types/components/Icon/generated/Invoice.d.ts +1 -1
- package/dist/types/components/Icon/generated/KanbanBoard.d.ts +1 -1
- package/dist/types/components/Icon/generated/List.d.ts +1 -1
- package/dist/types/components/Icon/generated/Liveagent.d.ts +1 -1
- package/dist/types/components/Icon/generated/Loader.d.ts +1 -1
- package/dist/types/components/Icon/generated/LocationMarker.d.ts +1 -1
- package/dist/types/components/Icon/generated/Lock.d.ts +1 -1
- package/dist/types/components/Icon/generated/Logo.d.ts +1 -1
- package/dist/types/components/Icon/generated/Loudspeaker.d.ts +1 -1
- package/dist/types/components/Icon/generated/Magic.d.ts +1 -1
- package/dist/types/components/Icon/generated/MagnifyingGlass.d.ts +1 -1
- package/dist/types/components/Icon/generated/Mailbox.d.ts +1 -1
- package/dist/types/components/Icon/generated/Menu.d.ts +1 -1
- package/dist/types/components/Icon/generated/Message.d.ts +1 -1
- package/dist/types/components/Icon/generated/MessageDetail.d.ts +1 -1
- package/dist/types/components/Icon/generated/MessageWarning.d.ts +1 -1
- package/dist/types/components/Icon/generated/Messages.d.ts +1 -1
- package/dist/types/components/Icon/generated/Microphone.d.ts +1 -1
- package/dist/types/components/Icon/generated/MicrophoneMute.d.ts +1 -1
- package/dist/types/components/Icon/generated/Minus.d.ts +1 -1
- package/dist/types/components/Icon/generated/MoveDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/MoveLeft.d.ts +1 -1
- package/dist/types/components/Icon/generated/MoveRight.d.ts +1 -1
- package/dist/types/components/Icon/generated/MoveUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/Notification.d.ts +1 -1
- package/dist/types/components/Icon/generated/Package.d.ts +1 -1
- package/dist/types/components/Icon/generated/Paperclip.d.ts +1 -1
- package/dist/types/components/Icon/generated/Pause.d.ts +1 -1
- package/dist/types/components/Icon/generated/Paw.d.ts +1 -1
- package/dist/types/components/Icon/generated/Pen.d.ts +1 -1
- package/dist/types/components/Icon/generated/PenSquare.d.ts +1 -1
- package/dist/types/components/Icon/generated/Person.d.ts +1 -1
- package/dist/types/components/Icon/generated/PersonAdd.d.ts +1 -1
- package/dist/types/components/Icon/generated/PersonCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/Phone.d.ts +1 -1
- package/dist/types/components/Icon/generated/PhoneButtons.d.ts +1 -1
- package/dist/types/components/Icon/generated/PhoneCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/Pill.d.ts +1 -1
- package/dist/types/components/Icon/generated/Pin.d.ts +1 -1
- package/dist/types/components/Icon/generated/PinCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/Play.d.ts +1 -1
- package/dist/types/components/Icon/generated/Plus.d.ts +1 -1
- package/dist/types/components/Icon/generated/Popup.d.ts +1 -1
- package/dist/types/components/Icon/generated/Printer.d.ts +1 -1
- package/dist/types/components/Icon/generated/QuestionMark.d.ts +1 -1
- package/dist/types/components/Icon/generated/QuestionMarkCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/QuestionMarkCircleSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/Record.d.ts +1 -1
- package/dist/types/components/Icon/generated/Report.d.ts +1 -1
- package/dist/types/components/Icon/generated/Ribbon.d.ts +1 -1
- package/dist/types/components/Icon/generated/Robot.d.ts +1 -1
- package/dist/types/components/Icon/generated/Send.d.ts +1 -1
- package/dist/types/components/Icon/generated/Sliders.d.ts +1 -1
- package/dist/types/components/Icon/generated/SmileyFace.d.ts +1 -1
- package/dist/types/components/Icon/generated/Sort.d.ts +1 -1
- package/dist/types/components/Icon/generated/Star.d.ts +1 -1
- package/dist/types/components/Icon/generated/StarCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/StarSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/Stop.d.ts +1 -1
- package/dist/types/components/Icon/generated/StopRecording.d.ts +1 -1
- package/dist/types/components/Icon/generated/Support.d.ts +1 -1
- package/dist/types/components/Icon/generated/Table.d.ts +1 -1
- package/dist/types/components/Icon/generated/Tag.d.ts +1 -1
- package/dist/types/components/Icon/generated/Target.d.ts +1 -1
- package/dist/types/components/Icon/generated/TargetSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/TaskList.d.ts +1 -1
- package/dist/types/components/Icon/generated/Team.d.ts +1 -1
- package/dist/types/components/Icon/generated/ThumbsDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/ThumbsUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/Transfer.d.ts +1 -1
- package/dist/types/components/Icon/generated/Trashcan.d.ts +1 -1
- package/dist/types/components/Icon/generated/TwoSquares.d.ts +1 -1
- package/dist/types/components/Icon/generated/Upload.d.ts +1 -1
- package/dist/types/components/Icon/generated/VideoCamera.d.ts +1 -1
- package/dist/types/components/Icon/generated/WarningSign.d.ts +1 -1
- package/dist/types/components/Icon/generated/Website.d.ts +1 -1
- package/dist/types/components/Icon/generated/Wrench.d.ts +1 -1
- package/dist/types/components/Icon/generated/index.d.ts +1 -1
- package/dist/types/components/Icon/generated.d.ts +2 -0
- package/dist/types/components/Icon/icon.component.d.ts +3 -2
- package/dist/types/components/Icon.d.ts +2 -0
- package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +3 -3
- package/dist/types/components/Link.d.ts +2 -0
- package/dist/types/components/Menu/components/MenuButton/menuButton.components.d.ts +1 -1
- package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +7 -8
- package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.d.ts +1 -1
- package/dist/types/components/Menu/menu.component.d.ts +2 -2
- package/dist/types/components/Menu.d.ts +2 -0
- package/dist/types/components/Modal/modal.component.d.ts +1 -2
- package/dist/types/components/Modal/modal.recipe.d.ts +10 -2
- package/dist/types/components/Modal.d.ts +2 -0
- package/dist/types/components/NotificationCounter.d.ts +2 -0
- package/dist/types/components/Picture.d.ts +2 -0
- package/dist/types/components/Popover/popover.component.d.ts +5 -6
- package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
- package/dist/types/components/Popover.d.ts +2 -0
- package/dist/types/components/RadioGroup/components/Radio/radio.component.d.ts +5 -9
- package/dist/types/components/RadioGroup/index.d.ts +0 -2
- package/dist/types/components/RadioGroup/radioGroup.component.d.ts +9 -3
- package/dist/types/components/RadioGroup/radioGroup.recipe.d.ts +1 -9
- package/dist/types/components/RadioGroup.d.ts +2 -0
- package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +1 -1
- package/dist/types/components/RatingDots/components/RatingDot/ratingDot.recipe.d.ts +1 -1
- package/dist/types/components/RatingDots/ratingDots.component.d.ts +1 -2
- package/dist/types/components/RatingDots.d.ts +2 -0
- package/dist/types/components/Select/select.component.d.ts +4 -9
- package/dist/types/components/Select/select.types.d.ts +1 -2
- package/dist/types/components/Select.d.ts +2 -0
- package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +1 -1
- package/dist/types/components/SortableList/index.d.ts +0 -1
- package/dist/types/components/SortableList/sortableList.component.d.ts +2 -2
- package/dist/types/components/SortableList.d.ts +2 -0
- package/dist/types/components/Spinner/spinner.component.d.ts +1 -1
- package/dist/types/components/Spinner/spinner.recipe.d.ts +1 -1
- package/dist/types/components/Spinner.d.ts +2 -0
- package/dist/types/components/Swatch/swatch.component.d.ts +1 -1
- package/dist/types/components/Swatch.d.ts +2 -0
- package/dist/types/components/Switch/switch.component.d.ts +4 -5
- package/dist/types/components/Switch/switch.recipe.d.ts +2 -2
- package/dist/types/components/Switch.d.ts +2 -0
- package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +1 -1
- package/dist/types/components/Tabs/index.d.ts +0 -2
- package/dist/types/components/Tabs/tabs.component.d.ts +1 -1
- package/dist/types/components/Tabs/tabs.recipe.d.ts +1 -1
- package/dist/types/components/Tabs.d.ts +2 -0
- package/dist/types/components/Tag/tag.component.d.ts +3 -3
- package/dist/types/components/Tag/tag.recipe.d.ts +1 -1
- package/dist/types/components/Tag.d.ts +2 -0
- package/dist/types/components/Text/text.component.d.ts +3 -3
- package/dist/types/components/Text/text.recipe.d.ts +1 -0
- package/dist/types/components/Text/text.types.d.ts +1 -1
- package/dist/types/components/Text.d.ts +2 -0
- package/dist/types/components/TextInput/textInput.component.d.ts +4 -4
- package/dist/types/components/TextInput.d.ts +2 -0
- package/dist/types/components/Textarea/textarea.component.d.ts +4 -4
- package/dist/types/components/Textarea.d.ts +2 -0
- package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +1 -1
- package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +2 -2
- package/dist/types/components/TimePicker/timePicker.component.d.ts +1 -1
- package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
- package/dist/types/components/TimePicker.d.ts +2 -0
- package/dist/types/components/TimeRange.d.ts +2 -0
- package/dist/types/components/Tooltip/tooltip.component.d.ts +2 -4
- package/dist/types/components/Tooltip.d.ts +2 -0
- package/dist/types/components/index.d.ts +1 -9
- package/dist/types/components.d.ts +2 -0
- package/dist/types/hocs/withDarkMode/index.d.ts +2 -1
- package/dist/types/hocs/withFormControl/withFormControl.d.ts +1 -2
- package/dist/types/hocs/withFormControl/withFormControl.types.d.ts +1 -1
- package/dist/types/hocs/withLightMode/index.d.ts +2 -1
- package/dist/types/hocs/withTruncation.d.ts +1 -1
- package/dist/types/hocs.d.ts +2 -0
- package/dist/types/hooks/index.d.ts +0 -2
- package/dist/types/hooks/useColorMode/index.d.ts +2 -4
- package/dist/types/hooks.d.ts +2 -0
- package/dist/types/index.d.ts +0 -2
- package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +1 -1
- package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +2 -2
- package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +3 -3
- package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +2 -2
- package/dist/types/{components → patterns}/ConversationCard/conversationCard.component.d.ts +1 -1
- package/dist/types/patterns/ConversationCard.d.ts +2 -0
- package/dist/types/{components → patterns}/StyledAvatar/styledAvatar.component.d.ts +1 -1
- package/dist/types/patterns/StyledAvatar.d.ts +2 -0
- package/dist/types/{components → patterns}/TagBlock/tagBlock.component.d.ts +1 -1
- package/dist/types/patterns/TagBlock.d.ts +2 -0
- package/dist/types/{components → patterns}/Timestamp/timestamp.component.d.ts +2 -2
- package/dist/types/patterns/Timestamp.d.ts +2 -0
- package/dist/types/patterns/index.d.ts +4 -0
- package/dist/types/patterns.d.ts +2 -0
- package/dist/types/shared/types/theme.d.ts +1 -2
- package/dist/types/shared/types.d.ts +2 -0
- package/dist/types/shared/utils/sizes.d.ts +1 -1
- package/dist/types/theme/index.d.ts +5 -2
- package/dist/types/theme/providers/theme.provider.d.ts +3 -4
- package/dist/types/theme/semanticTokens/index.d.ts +0 -1
- package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +1 -5
- package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +2 -10
- package/dist/types/theme/semanticTokens/semanticTokens.types.d.ts +2 -2
- package/dist/types/theme/semanticTokens/utils/getSemanticColorToken.d.ts +2 -2
- package/dist/types/theme/semanticTokens.d.ts +2 -0
- package/dist/types/theme/theme.config.d.ts +0 -1
- package/dist/types/theme/theme.types.d.ts +22 -0
- package/dist/types/theme/tokens/blurs/blurs.types.d.ts +1 -1
- package/dist/types/theme/tokens/blurs.d.ts +2 -0
- package/dist/types/theme/tokens/borders/borders.types.d.ts +2 -2
- package/dist/types/theme/tokens/borders.d.ts +2 -0
- package/dist/types/theme/tokens/colors/colors.types.d.ts +2 -2
- package/dist/types/theme/tokens/colors.d.ts +2 -0
- package/dist/types/theme/tokens/generated/conditions.gen.d.ts +262 -0
- package/dist/types/theme/tokens/generated/index.d.ts +5 -0
- package/dist/types/theme/tokens/generated/prop-types.gen.d.ts +329 -0
- package/dist/types/theme/tokens/generated/recipes.gen.d.ts +1525 -0
- package/dist/types/theme/tokens/generated/system.gen.d.ts +693 -0
- package/dist/types/theme/tokens/generated/token.gen.d.ts +1896 -0
- package/dist/types/theme/tokens/generated.d.ts +2 -0
- package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
- package/dist/types/theme/tokens/shadows/shadows.types.d.ts +2 -2
- package/dist/types/theme/tokens/shadows.d.ts +2 -0
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -16
- package/dist/types/theme/tokens/sizes/sizes.types.d.ts +2 -2
- package/dist/types/theme/tokens/sizes.d.ts +2 -0
- package/dist/types/theme/tokens/spacing/spacing.config.d.ts +3 -3
- package/dist/types/theme/tokens/spacing/spacing.types.d.ts +1 -1
- package/dist/types/theme/tokens/spacing.d.ts +2 -0
- package/dist/types/theme/tokens/transitions/transitions.config.d.ts +2 -2
- package/dist/types/theme/tokens/transitions/transitions.types.d.ts +2 -2
- package/dist/types/theme/tokens/transitions.d.ts +2 -0
- package/dist/types/theme/tokens/typography/typography.config.d.ts +71 -26
- package/dist/types/theme/tokens/typography/typography.types.d.ts +5 -5
- package/dist/types/theme/tokens/typography.d.ts +2 -0
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -10
- package/dist/types/theme/tokens/zIndices/zIndices.types.d.ts +1 -1
- package/dist/types/theme/tokens/zIndices.d.ts +2 -0
- package/dist/types/theme/tokens.d.ts +2 -0
- package/dist/types/theme.d.ts +2 -0
- package/package.json +56 -65
- package/dist/chunks/IconLogo-C4aZqkn1.js +0 -2
- package/dist/chunks/IconLogo-C4aZqkn1.js.map +0 -1
- package/dist/chunks/IconLogo-UpYiHEKq.js +0 -50
- package/dist/chunks/IconLogo-UpYiHEKq.js.map +0 -1
- package/dist/chunks/alert.types-CEvBY7aM.js +0 -2
- package/dist/chunks/alert.types-CEvBY7aM.js.map +0 -1
- package/dist/chunks/alert.types-DMRaA_Ku.js +0 -139
- package/dist/chunks/alert.types-DMRaA_Ku.js.map +0 -1
- package/dist/chunks/attr-BMs6szZx.js +0 -2
- package/dist/chunks/attr-BMs6szZx.js.map +0 -1
- package/dist/chunks/attr-sm10PXOd.js +0 -5
- package/dist/chunks/attr-sm10PXOd.js.map +0 -1
- package/dist/chunks/avatar.component-9ntfFFdO.js +0 -394
- package/dist/chunks/avatar.component-9ntfFFdO.js.map +0 -1
- package/dist/chunks/avatar.component-Dv96XFOF.js +0 -2
- package/dist/chunks/avatar.component-Dv96XFOF.js.map +0 -1
- package/dist/chunks/avatar.types-C6dZZjdi.js +0 -6
- package/dist/chunks/avatar.types-C6dZZjdi.js.map +0 -1
- package/dist/chunks/avatarGroup.component-CfSBCJKG.js +0 -2
- package/dist/chunks/avatarGroup.component-CfSBCJKG.js.map +0 -1
- package/dist/chunks/avatarGroup.component-D3hnTX1G.js +0 -67
- package/dist/chunks/avatarGroup.component-D3hnTX1G.js.map +0 -1
- package/dist/chunks/box-Baq7UBls.js +0 -2
- package/dist/chunks/box-Baq7UBls.js.map +0 -1
- package/dist/chunks/box-Ck9I7FYv.js +0 -7
- package/dist/chunks/box-Ck9I7FYv.js.map +0 -1
- package/dist/chunks/button.component-Br9jCpBx.js.map +0 -1
- package/dist/chunks/button.component-CsJxgblU.js +0 -2
- package/dist/chunks/button.component-CsJxgblU.js.map +0 -1
- package/dist/chunks/button.types-BKXZNvN1.js.map +0 -1
- package/dist/chunks/button.types-Bl1awbi0.js.map +0 -1
- package/dist/chunks/buttonGroup.component-B6Ebjoh6.js +0 -2
- package/dist/chunks/buttonGroup.component-B6Ebjoh6.js.map +0 -1
- package/dist/chunks/buttonGroup.component-BHDnteYx.js +0 -68
- package/dist/chunks/buttonGroup.component-BHDnteYx.js.map +0 -1
- package/dist/chunks/card.component-BTiT4hHy.js +0 -2
- package/dist/chunks/card.component-BTiT4hHy.js.map +0 -1
- package/dist/chunks/card.component-D41Jhrj7.js +0 -58
- package/dist/chunks/card.component-D41Jhrj7.js.map +0 -1
- package/dist/chunks/card.types-Cixp7ouC.js +0 -5
- package/dist/chunks/card.types-Cixp7ouC.js.map +0 -1
- package/dist/chunks/card.types-MvkQTTZF.js +0 -2
- package/dist/chunks/card.types-MvkQTTZF.js.map +0 -1
- package/dist/chunks/characterCounter.component-DXmly18j.js +0 -2
- package/dist/chunks/characterCounter.component-DXmly18j.js.map +0 -1
- package/dist/chunks/characterCounter.component-vK94fENA.js +0 -84
- package/dist/chunks/characterCounter.component-vK94fENA.js.map +0 -1
- package/dist/chunks/checkbox.anatomy-BJmDPPss.js +0 -2
- package/dist/chunks/checkbox.anatomy-BJmDPPss.js.map +0 -1
- package/dist/chunks/checkbox.anatomy-DCCPwuXc.js +0 -256
- package/dist/chunks/checkbox.anatomy-DCCPwuXc.js.map +0 -1
- package/dist/chunks/checkbox.component-BR65eR9h.js +0 -260
- package/dist/chunks/checkbox.component-BR65eR9h.js.map +0 -1
- package/dist/chunks/checkbox.component-u7MR3n4o.js +0 -2
- package/dist/chunks/checkbox.component-u7MR3n4o.js.map +0 -1
- package/dist/chunks/checkboxGroup.component-CNnlDoOR.js +0 -2
- package/dist/chunks/checkboxGroup.component-CNnlDoOR.js.map +0 -1
- package/dist/chunks/checkboxGroup.component-Ch2eLuiA.js +0 -52
- package/dist/chunks/checkboxGroup.component-Ch2eLuiA.js.map +0 -1
- package/dist/chunks/config-BFcXpdZo.js +0 -2
- package/dist/chunks/config-BFcXpdZo.js.map +0 -1
- package/dist/chunks/config-DlTdf-Yt.js +0 -57
- package/dist/chunks/config-DlTdf-Yt.js.map +0 -1
- package/dist/chunks/conversationCard.component-D5UsucDp.js +0 -2
- package/dist/chunks/conversationCard.component-D5UsucDp.js.map +0 -1
- package/dist/chunks/conversationCard.component-DQqpy-FX.js.map +0 -1
- package/dist/chunks/create-recipe-context-D7FewUR4.js +0 -62
- package/dist/chunks/create-recipe-context-D7FewUR4.js.map +0 -1
- package/dist/chunks/create-recipe-context-sESms8Eo.js +0 -2
- package/dist/chunks/create-recipe-context-sESms8Eo.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-BJmsuxih.js +0 -97
- package/dist/chunks/create-slot-recipe-context-BJmsuxih.js.map +0 -1
- package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js +0 -2
- package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js.map +0 -1
- package/dist/chunks/datePicker.component-CBYLerCE.js +0 -15
- package/dist/chunks/datePicker.component-CBYLerCE.js.map +0 -1
- package/dist/chunks/datePicker.component-Dwu1QDNa.js +0 -3019
- package/dist/chunks/datePicker.component-Dwu1QDNa.js.map +0 -1
- package/dist/chunks/dialog-BeivYfW7.js +0 -2
- package/dist/chunks/dialog-BeivYfW7.js.map +0 -1
- package/dist/chunks/dialog-Bnb0zdk3.js +0 -136
- package/dist/chunks/dialog-Bnb0zdk3.js.map +0 -1
- package/dist/chunks/divider.types-0j5qRXed.js +0 -47
- package/dist/chunks/divider.types-0j5qRXed.js.map +0 -1
- package/dist/chunks/divider.types-CK5oFy-i.js +0 -2
- package/dist/chunks/divider.types-CK5oFy-i.js.map +0 -1
- package/dist/chunks/empty-B5_AO6Pg.js +0 -2
- package/dist/chunks/empty-B5_AO6Pg.js.map +0 -1
- package/dist/chunks/empty-BU2EAux9.js +0 -8
- package/dist/chunks/empty-BU2EAux9.js.map +0 -1
- package/dist/chunks/factory-Ctbv0Ozn.js +0 -500
- package/dist/chunks/factory-Ctbv0Ozn.js.map +0 -1
- package/dist/chunks/factory-D6tdBUPG.js +0 -3
- package/dist/chunks/factory-D6tdBUPG.js.map +0 -1
- package/dist/chunks/flex-D14H6HbP.js +0 -2
- package/dist/chunks/flex-D14H6HbP.js.map +0 -1
- package/dist/chunks/flex-smlF8uQG.js +0 -40
- package/dist/chunks/flex-smlF8uQG.js.map +0 -1
- package/dist/chunks/float-DYLtz2A6.js +0 -64
- package/dist/chunks/float-DYLtz2A6.js.map +0 -1
- package/dist/chunks/float-OQXnYWBw.js +0 -2
- package/dist/chunks/float-OQXnYWBw.js.map +0 -1
- package/dist/chunks/format-BRt-TIiQ.js +0 -2
- package/dist/chunks/format-BRt-TIiQ.js.map +0 -1
- package/dist/chunks/format-DgHM6wFr.js +0 -1275
- package/dist/chunks/format-DgHM6wFr.js.map +0 -1
- package/dist/chunks/grid-item-BBt_-NiB.js +0 -91
- package/dist/chunks/grid-item-BBt_-NiB.js.map +0 -1
- package/dist/chunks/grid-item-BfAkrDSq.js +0 -2
- package/dist/chunks/grid-item-BfAkrDSq.js.map +0 -1
- package/dist/chunks/group-Cv7AQw1b.js +0 -2
- package/dist/chunks/group-Cv7AQw1b.js.map +0 -1
- package/dist/chunks/group-DPCVolOl.js +0 -139
- package/dist/chunks/group-DPCVolOl.js.map +0 -1
- package/dist/chunks/h-stack-Bjx9hlJo.js +0 -2
- package/dist/chunks/h-stack-Bjx9hlJo.js.map +0 -1
- package/dist/chunks/h-stack-Ce6JSBK2.js +0 -12
- package/dist/chunks/h-stack-Ce6JSBK2.js.map +0 -1
- package/dist/chunks/heading.component-BMvc5kM8.js +0 -2
- package/dist/chunks/heading.component-BMvc5kM8.js.map +0 -1
- package/dist/chunks/heading.component-D02MeQPl.js +0 -12
- package/dist/chunks/heading.component-D02MeQPl.js.map +0 -1
- package/dist/chunks/icon-button-DTZOklQ9.js +0 -119
- package/dist/chunks/icon-button-DTZOklQ9.js.map +0 -1
- package/dist/chunks/icon-button-DtjZ-SdQ.js +0 -2
- package/dist/chunks/icon-button-DtjZ-SdQ.js.map +0 -1
- package/dist/chunks/icon.component-B6R8-DRk.js +0 -2
- package/dist/chunks/icon.component-B6R8-DRk.js.map +0 -1
- package/dist/chunks/icon.component-S_qFWBRf.js +0 -32
- package/dist/chunks/icon.component-S_qFWBRf.js.map +0 -1
- package/dist/chunks/icons-BXxdrBrf.js +0 -216
- package/dist/chunks/icons-BXxdrBrf.js.map +0 -1
- package/dist/chunks/icons-CTpAjbC-.js +0 -2
- package/dist/chunks/icons-CTpAjbC-.js.map +0 -1
- package/dist/chunks/index-1syExFDc.js +0 -1328
- package/dist/chunks/index-1syExFDc.js.map +0 -1
- package/dist/chunks/index-4eV_IBpJ.js +0 -70
- package/dist/chunks/index-4eV_IBpJ.js.map +0 -1
- package/dist/chunks/index-AafzY9XD.js +0 -389
- package/dist/chunks/index-AafzY9XD.js.map +0 -1
- package/dist/chunks/index-BDT37VpI.js +0 -1189
- package/dist/chunks/index-BDT37VpI.js.map +0 -1
- package/dist/chunks/index-BR7peqZO.js +0 -2
- package/dist/chunks/index-BR7peqZO.js.map +0 -1
- package/dist/chunks/index-BxaZhr7r.js +0 -7859
- package/dist/chunks/index-BxaZhr7r.js.map +0 -1
- package/dist/chunks/index-C2oFXalq.js +0 -290
- package/dist/chunks/index-C2oFXalq.js.map +0 -1
- package/dist/chunks/index-CHIISuTq.js +0 -3
- package/dist/chunks/index-CHIISuTq.js.map +0 -1
- package/dist/chunks/index-CS8X6LiC.js +0 -2
- package/dist/chunks/index-CS8X6LiC.js.map +0 -1
- package/dist/chunks/index-CjxarSH6.js +0 -371
- package/dist/chunks/index-CjxarSH6.js.map +0 -1
- package/dist/chunks/index-CtXUprYH.js +0 -2
- package/dist/chunks/index-CtXUprYH.js.map +0 -1
- package/dist/chunks/index-DAWHN3cH.js +0 -86
- package/dist/chunks/index-DAWHN3cH.js.map +0 -1
- package/dist/chunks/index-DBk0LkcO.js +0 -2
- package/dist/chunks/index-DBk0LkcO.js.map +0 -1
- package/dist/chunks/index-DD49WSSW.js +0 -2
- package/dist/chunks/index-DD49WSSW.js.map +0 -1
- package/dist/chunks/index-DLX5_Po7.js +0 -10
- package/dist/chunks/index-DLX5_Po7.js.map +0 -1
- package/dist/chunks/index-DOXzraja.js +0 -2
- package/dist/chunks/index-DOXzraja.js.map +0 -1
- package/dist/chunks/index-DSedXH1s.js +0 -2
- package/dist/chunks/index-DSedXH1s.js.map +0 -1
- package/dist/chunks/index-DT2ktill.js +0 -141
- package/dist/chunks/index-DT2ktill.js.map +0 -1
- package/dist/chunks/index-DTQrSVxW.js +0 -257
- package/dist/chunks/index-DTQrSVxW.js.map +0 -1
- package/dist/chunks/index-DTrxnRef.js +0 -375
- package/dist/chunks/index-DTrxnRef.js.map +0 -1
- package/dist/chunks/index-DbTEJc-K.js +0 -2
- package/dist/chunks/index-DbTEJc-K.js.map +0 -1
- package/dist/chunks/index-DowO8Ued.js +0 -2
- package/dist/chunks/index-DowO8Ued.js.map +0 -1
- package/dist/chunks/index-O8mh7GXa.js +0 -444
- package/dist/chunks/index-O8mh7GXa.js.map +0 -1
- package/dist/chunks/index-P9qG5HsO.js +0 -2
- package/dist/chunks/index-P9qG5HsO.js.map +0 -1
- package/dist/chunks/index-QTIBH1Or.js +0 -2
- package/dist/chunks/index-QTIBH1Or.js.map +0 -1
- package/dist/chunks/index-yedK3W08.js +0 -1195
- package/dist/chunks/index-yedK3W08.js.map +0 -1
- package/dist/chunks/invertToken-DkyAF_BY.js +0 -10
- package/dist/chunks/invertToken-DkyAF_BY.js.map +0 -1
- package/dist/chunks/invertToken-Em3s32gh.js +0 -2
- package/dist/chunks/invertToken-Em3s32gh.js.map +0 -1
- package/dist/chunks/isSymbol-BQN49XhJ.js +0 -67
- package/dist/chunks/isSymbol-BQN49XhJ.js.map +0 -1
- package/dist/chunks/isSymbol-BdGeV_e0.js +0 -2
- package/dist/chunks/isSymbol-BdGeV_e0.js.map +0 -1
- package/dist/chunks/jsx-runtime-BjDatQAs.js +0 -23
- package/dist/chunks/jsx-runtime-BjDatQAs.js.map +0 -1
- package/dist/chunks/jsx-runtime-C5mzlN2N.js +0 -285
- package/dist/chunks/jsx-runtime-C5mzlN2N.js.map +0 -1
- package/dist/chunks/link.component--UJiv0xU.js +0 -36
- package/dist/chunks/link.component--UJiv0xU.js.map +0 -1
- package/dist/chunks/link.component-BCY_f6zw.js +0 -2
- package/dist/chunks/link.component-BCY_f6zw.js.map +0 -1
- package/dist/chunks/list-C_LmDoyW.js +0 -2
- package/dist/chunks/list-C_LmDoyW.js.map +0 -1
- package/dist/chunks/list-DqH5ttQG.js +0 -20
- package/dist/chunks/list-DqH5ttQG.js.map +0 -1
- package/dist/chunks/logo.types-R7sXqcB4.js +0 -2
- package/dist/chunks/logo.types-R7sXqcB4.js.map +0 -1
- package/dist/chunks/logo.types-jb-f-Z1C.js +0 -45
- package/dist/chunks/logo.types-jb-f-Z1C.js.map +0 -1
- package/dist/chunks/menu.component-OwlCMqw2.js +0 -2
- package/dist/chunks/menu.component-OwlCMqw2.js.map +0 -1
- package/dist/chunks/menu.component-fFdY9cMO.js +0 -599
- package/dist/chunks/menu.component-fFdY9cMO.js.map +0 -1
- package/dist/chunks/modal.types-BiEPKa2t.js +0 -2
- package/dist/chunks/modal.types-BiEPKa2t.js.map +0 -1
- package/dist/chunks/modal.types-DxZhJFBH.js +0 -95
- package/dist/chunks/modal.types-DxZhJFBH.js.map +0 -1
- package/dist/chunks/notificationCounter.component-BhZcuBmr.js +0 -2
- package/dist/chunks/notificationCounter.component-BhZcuBmr.js.map +0 -1
- package/dist/chunks/notificationCounter.component-BzhAKrKR.js.map +0 -1
- package/dist/chunks/notificationCounter.types-B_-siNfi.js +0 -2
- package/dist/chunks/notificationCounter.types-B_-siNfi.js.map +0 -1
- package/dist/chunks/notificationCounter.types-Dm4PSN2Y.js +0 -6
- package/dist/chunks/notificationCounter.types-Dm4PSN2Y.js.map +0 -1
- package/dist/chunks/omit-C-j4TrF5.js +0 -10
- package/dist/chunks/omit-C-j4TrF5.js.map +0 -1
- package/dist/chunks/omit-DqNeoZ8h.js +0 -2
- package/dist/chunks/omit-DqNeoZ8h.js.map +0 -1
- package/dist/chunks/picture.component-C2C2r_BU.js +0 -2
- package/dist/chunks/picture.component-C2C2r_BU.js.map +0 -1
- package/dist/chunks/picture.component-DECGd77u.js +0 -22
- package/dist/chunks/picture.component-DECGd77u.js.map +0 -1
- package/dist/chunks/pinInput.types-BW8TUMvl.js +0 -145
- package/dist/chunks/pinInput.types-BW8TUMvl.js.map +0 -1
- package/dist/chunks/pinInput.types-DoQJLvWY.js +0 -2
- package/dist/chunks/pinInput.types-DoQJLvWY.js.map +0 -1
- package/dist/chunks/popover-root-provider-BmcuNR6d.js +0 -43
- package/dist/chunks/popover-root-provider-BmcuNR6d.js.map +0 -1
- package/dist/chunks/popover-root-provider-C2iwUZJn.js +0 -2
- package/dist/chunks/popover-root-provider-C2iwUZJn.js.map +0 -1
- package/dist/chunks/popover.component-B1NHpxuL.js +0 -2
- package/dist/chunks/popover.component-B1NHpxuL.js.map +0 -1
- package/dist/chunks/popover.component-DlFFiYME.js +0 -196
- package/dist/chunks/popover.component-DlFFiYME.js.map +0 -1
- package/dist/chunks/popover.recipe-CQYAiRTB.js +0 -2
- package/dist/chunks/popover.recipe-CQYAiRTB.js.map +0 -1
- package/dist/chunks/popover.recipe-khnBScTr.js +0 -241
- package/dist/chunks/popover.recipe-khnBScTr.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/provider-ClCAdPxy.js +0 -47
- package/dist/chunks/provider-ClCAdPxy.js.map +0 -1
- package/dist/chunks/provider-NDo8kOkE.js +0 -2
- package/dist/chunks/provider-NDo8kOkE.js.map +0 -1
- package/dist/chunks/radioGroup.types-Bm6SHbbS.js +0 -2
- package/dist/chunks/radioGroup.types-Bm6SHbbS.js.map +0 -1
- package/dist/chunks/radioGroup.types-CA2oK1Am.js +0 -227
- package/dist/chunks/radioGroup.types-CA2oK1Am.js.map +0 -1
- package/dist/chunks/ratingDots.component-CuKKpqru.js +0 -138
- package/dist/chunks/ratingDots.component-CuKKpqru.js.map +0 -1
- package/dist/chunks/ratingDots.component-TPth4wKQ.js +0 -2
- package/dist/chunks/ratingDots.component-TPth4wKQ.js.map +0 -1
- package/dist/chunks/render-strategy-C_zp9LNQ.js +0 -2
- package/dist/chunks/render-strategy-C_zp9LNQ.js.map +0 -1
- package/dist/chunks/render-strategy-QburwdUo.js +0 -12
- package/dist/chunks/render-strategy-QburwdUo.js.map +0 -1
- package/dist/chunks/select.component-91EorPLw.js +0 -2
- package/dist/chunks/select.component-91EorPLw.js.map +0 -1
- package/dist/chunks/select.component-DEf5MiUc.js +0 -1054
- package/dist/chunks/select.component-DEf5MiUc.js.map +0 -1
- package/dist/chunks/sortableList.component-CPYA3KKy.js +0 -6
- package/dist/chunks/sortableList.component-CPYA3KKy.js.map +0 -1
- package/dist/chunks/sortableList.component-DW832-HJ.js.map +0 -1
- package/dist/chunks/spinner-BWqSIW6m.js +0 -8
- package/dist/chunks/spinner-BWqSIW6m.js.map +0 -1
- package/dist/chunks/spinner-BnpL14kK.js +0 -2
- package/dist/chunks/spinner-BnpL14kK.js.map +0 -1
- package/dist/chunks/spinner.component-BcOsuuIq.js.map +0 -1
- package/dist/chunks/spinner.component-CzOv8dIY.js +0 -2
- package/dist/chunks/spinner.component-CzOv8dIY.js.map +0 -1
- package/dist/chunks/stack-BKu3hWEQ.js +0 -2
- package/dist/chunks/stack-BKu3hWEQ.js.map +0 -1
- package/dist/chunks/stack-Dnuh5Zgf.js +0 -85
- package/dist/chunks/stack-Dnuh5Zgf.js.map +0 -1
- package/dist/chunks/styledAvatar.types-9huVpPvU.js +0 -2
- package/dist/chunks/styledAvatar.types-9huVpPvU.js.map +0 -1
- package/dist/chunks/styledAvatar.types-DuRUjNh6.js.map +0 -1
- package/dist/chunks/swatch.types-CtRInwzo.js +0 -67
- package/dist/chunks/swatch.types-CtRInwzo.js.map +0 -1
- package/dist/chunks/swatch.types-qncm_zG6.js +0 -2
- package/dist/chunks/swatch.types-qncm_zG6.js.map +0 -1
- package/dist/chunks/switch.component-CJ3nDOQj.js +0 -2
- package/dist/chunks/switch.component-CJ3nDOQj.js.map +0 -1
- package/dist/chunks/switch.component-NP_hIh2c.js +0 -154
- package/dist/chunks/switch.component-NP_hIh2c.js.map +0 -1
- package/dist/chunks/tab.types-D2Y_KCOG.js +0 -2
- package/dist/chunks/tab.types-D2Y_KCOG.js.map +0 -1
- package/dist/chunks/tab.types-DjQ-zWh3.js +0 -616
- package/dist/chunks/tab.types-DjQ-zWh3.js.map +0 -1
- package/dist/chunks/tag.component-BAH11mPX.js +0 -82
- package/dist/chunks/tag.component-BAH11mPX.js.map +0 -1
- package/dist/chunks/tag.component-DcEASytC.js +0 -2
- package/dist/chunks/tag.component-DcEASytC.js.map +0 -1
- package/dist/chunks/tagBlock.component-jWG9O22v.js.map +0 -1
- package/dist/chunks/tagBlock.component-lQeyNLgK.js +0 -2
- package/dist/chunks/tagBlock.component-lQeyNLgK.js.map +0 -1
- package/dist/chunks/text.component-BthmuMFV.js +0 -12
- package/dist/chunks/text.component-BthmuMFV.js.map +0 -1
- package/dist/chunks/text.component-waIIFgwB.js +0 -2
- package/dist/chunks/text.component-waIIFgwB.js.map +0 -1
- package/dist/chunks/textInput.component-Bw1lEr8q.js +0 -2
- package/dist/chunks/textInput.component-Bw1lEr8q.js.map +0 -1
- package/dist/chunks/textInput.component-C8R6bZLW.js +0 -169
- package/dist/chunks/textInput.component-C8R6bZLW.js.map +0 -1
- package/dist/chunks/textarea.component-DDYGwqlz.js +0 -2
- package/dist/chunks/textarea.component-DDYGwqlz.js.map +0 -1
- package/dist/chunks/textarea.component-DMisQzyb.js +0 -79
- package/dist/chunks/textarea.component-DMisQzyb.js.map +0 -1
- package/dist/chunks/theme-BFbOz0Jj.js +0 -2
- package/dist/chunks/theme-BFbOz0Jj.js.map +0 -1
- package/dist/chunks/theme-BOK659O0.js +0 -5
- package/dist/chunks/theme-BOK659O0.js.map +0 -1
- package/dist/chunks/theme.provider-DJQeMr5K.js.map +0 -1
- package/dist/chunks/theme.provider-fEXubEDT.js +0 -28
- package/dist/chunks/theme.provider-fEXubEDT.js.map +0 -1
- package/dist/chunks/timePicker.component-3lHlD-Sl.js +0 -2
- package/dist/chunks/timePicker.component-3lHlD-Sl.js.map +0 -1
- package/dist/chunks/timePicker.component-B8Md1wxz.js +0 -209
- package/dist/chunks/timePicker.component-B8Md1wxz.js.map +0 -1
- package/dist/chunks/timeRange.component-DtNIkrsw.js +0 -18
- package/dist/chunks/timeRange.component-DtNIkrsw.js.map +0 -1
- package/dist/chunks/timeRange.component-l8jhl4Vv.js +0 -2
- package/dist/chunks/timeRange.component-l8jhl4Vv.js.map +0 -1
- package/dist/chunks/timestamp.component-B1UUyLk6.js +0 -2
- package/dist/chunks/timestamp.component-B1UUyLk6.js.map +0 -1
- package/dist/chunks/timestamp.component-NeJlrbsQ.js +0 -51
- package/dist/chunks/timestamp.component-NeJlrbsQ.js.map +0 -1
- package/dist/chunks/toaster.records-CDCJPDWP.js +0 -2
- package/dist/chunks/toaster.records-CDCJPDWP.js.map +0 -1
- package/dist/chunks/toaster.records-DjNU8CFN.js +0 -822
- package/dist/chunks/toaster.records-DjNU8CFN.js.map +0 -1
- package/dist/chunks/tooltip.component-B15VGEn1.js +0 -492
- package/dist/chunks/tooltip.component-B15VGEn1.js.map +0 -1
- package/dist/chunks/tooltip.component-BlX3B2Di.js +0 -2
- package/dist/chunks/tooltip.component-BlX3B2Di.js.map +0 -1
- package/dist/chunks/typography.records-CSy2LmDd.js +0 -2
- package/dist/chunks/typography.records-CSy2LmDd.js.map +0 -1
- package/dist/chunks/typography.records-Cq-V6T7j.js +0 -66
- package/dist/chunks/typography.records-Cq-V6T7j.js.map +0 -1
- package/dist/chunks/use-breakpoint-MQ7agQJe.js +0 -72
- package/dist/chunks/use-breakpoint-MQ7agQJe.js.map +0 -1
- package/dist/chunks/use-breakpoint-uBg4-8yY.js +0 -2
- package/dist/chunks/use-breakpoint-uBg4-8yY.js.map +0 -1
- package/dist/chunks/use-field-context-CArmgHPP.js +0 -2
- package/dist/chunks/use-field-context-CArmgHPP.js.map +0 -1
- package/dist/chunks/use-field-context-DsQFT-Te.js +0 -12
- package/dist/chunks/use-field-context-DsQFT-Te.js.map +0 -1
- package/dist/chunks/use-locale-context-BA2M-8sK.js +0 -2301
- package/dist/chunks/use-locale-context-BA2M-8sK.js.map +0 -1
- package/dist/chunks/use-locale-context-D0LByRu9.js +0 -22
- package/dist/chunks/use-locale-context-D0LByRu9.js.map +0 -1
- package/dist/chunks/use-recipe-DaPWl_pL.js +0 -2
- package/dist/chunks/use-recipe-DaPWl_pL.js.map +0 -1
- package/dist/chunks/use-recipe-d63ABaZ3.js +0 -13
- package/dist/chunks/use-recipe-d63ABaZ3.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/usePortalContentRef-CTrvBQ7I.js +0 -2
- package/dist/chunks/usePortalContentRef-CTrvBQ7I.js.map +0 -1
- package/dist/chunks/usePortalContentRef-DO_jc4W9.js +0 -10
- package/dist/chunks/usePortalContentRef-DO_jc4W9.js.map +0 -1
- package/dist/chunks/v-stack-BZT7R_9f.js +0 -12
- package/dist/chunks/v-stack-BZT7R_9f.js.map +0 -1
- package/dist/chunks/v-stack-DxjgpeJ0.js +0 -2
- package/dist/chunks/v-stack-DxjgpeJ0.js.map +0 -1
- package/dist/chunks/walk-object-BrTExCqQ.js +0 -2
- package/dist/chunks/walk-object-BrTExCqQ.js.map +0 -1
- package/dist/chunks/walk-object-_CL3Bkm9.js +0 -28
- package/dist/chunks/walk-object-_CL3Bkm9.js.map +0 -1
- package/dist/chunks/withDarkMode-B9LErG-p.js +0 -2
- package/dist/chunks/withDarkMode-B9LErG-p.js.map +0 -1
- package/dist/chunks/withDarkMode-BE00aGRV.js +0 -21
- package/dist/chunks/withDarkMode-BE00aGRV.js.map +0 -1
- package/dist/chunks/withFormControl-CCJImQAG.js +0 -360
- package/dist/chunks/withFormControl-CCJImQAG.js.map +0 -1
- package/dist/chunks/withFormControl-COwU1OTv.js +0 -2
- package/dist/chunks/withFormControl-COwU1OTv.js.map +0 -1
- package/dist/chunks/withLightMode-UfFl5ry6.js +0 -20
- package/dist/chunks/withLightMode-UfFl5ry6.js.map +0 -1
- package/dist/chunks/withLightMode-fys9Cbqw.js +0 -2
- package/dist/chunks/withLightMode-fys9Cbqw.js.map +0 -1
- package/dist/chunks/withTruncation-BY4-q1lB.js +0 -2
- package/dist/chunks/withTruncation-BY4-q1lB.js.map +0 -1
- package/dist/chunks/withTruncation-DgpjWopq.js.map +0 -1
- package/dist/chunks/wrap-B8tBNeBY.js +0 -45
- package/dist/chunks/wrap-B8tBNeBY.js.map +0 -1
- package/dist/chunks/wrap-CNn1kyJX.js +0 -2
- package/dist/chunks/wrap-CNn1kyJX.js.map +0 -1
- package/dist/cjs/chakra/index.cjs +0 -2
- package/dist/cjs/chakra/index.cjs.map +0 -1
- package/dist/cjs/cli/generate-theme-types.cjs +0 -6
- package/dist/cjs/cli/generate-theme-types.cjs.map +0 -1
- package/dist/cjs/cli/postinstall.cjs +0 -3
- package/dist/cjs/cli/postinstall.cjs.map +0 -1
- package/dist/cjs/components/Divider/index.cjs +0 -2
- package/dist/cjs/components/Logo/generated/index.cjs +0 -2
- package/dist/cjs/components/Logo/index.cjs +0 -2
- package/dist/cjs/components/PinInput/index.cjs +0 -2
- package/dist/cjs/components/TagBlock/index.cjs.map +0 -1
- package/dist/cjs/components/Timestamp/index.cjs.map +0 -1
- package/dist/cjs/components/Toast/index.cjs +0 -2
- package/dist/cjs/components/Toast/index.cjs.map +0 -1
- package/dist/cjs/hocs/withDarkMode/index.cjs +0 -2
- package/dist/cjs/hocs/withDarkMode/index.cjs.map +0 -1
- package/dist/cjs/hocs/withLightMode/index.cjs +0 -2
- package/dist/cjs/hocs/withLightMode/index.cjs.map +0 -1
- package/dist/cjs/hooks/useBreakpoint/index.cjs +0 -2
- package/dist/cjs/hooks/useBreakpoint/index.cjs.map +0 -1
- package/dist/cjs/hooks/useColorMode/index.cjs +0 -2
- package/dist/cjs/hooks/useColorMode/index.cjs.map +0 -1
- package/dist/cjs/hooks/useColorModeValue/index.cjs +0 -2
- package/dist/cjs/hooks/useColorModeValue/index.cjs.map +0 -1
- package/dist/cjs/hooks/useDeviceType/index.cjs +0 -2
- package/dist/cjs/hooks/useDeviceType/index.cjs.map +0 -1
- package/dist/cjs/shared/index.cjs +0 -2
- package/dist/cjs/shared/index.cjs.map +0 -1
- package/dist/cjs/shared/records/index.cjs +0 -2
- package/dist/cjs/shared/records/index.cjs.map +0 -1
- package/dist/esm/chakra/index.js +0 -3250
- package/dist/esm/chakra/index.js.map +0 -1
- package/dist/esm/cli/generate-theme-types.js +0 -22
- package/dist/esm/cli/generate-theme-types.js.map +0 -1
- package/dist/esm/cli/postinstall.js +0 -19
- package/dist/esm/cli/postinstall.js.map +0 -1
- package/dist/esm/components/Divider/index.js +0 -8
- package/dist/esm/components/Logo/generated/index.js +0 -6
- package/dist/esm/components/Logo/index.js +0 -6
- package/dist/esm/components/PinInput/index.js +0 -6
- package/dist/esm/components/PinInput/index.js.map +0 -1
- package/dist/esm/components/StyledAvatar/index.js.map +0 -1
- package/dist/esm/components/TagBlock/index.js.map +0 -1
- package/dist/esm/components/Timestamp/index.js +0 -5
- package/dist/esm/components/Timestamp/index.js.map +0 -1
- package/dist/esm/components/Toast/index.js +0 -59
- package/dist/esm/components/Toast/index.js.map +0 -1
- package/dist/esm/hocs/withDarkMode/index.js +0 -5
- package/dist/esm/hocs/withDarkMode/index.js.map +0 -1
- package/dist/esm/hocs/withLightMode/index.js +0 -5
- package/dist/esm/hocs/withLightMode/index.js.map +0 -1
- package/dist/esm/hooks/useBreakpoint/index.js +0 -12
- package/dist/esm/hooks/useBreakpoint/index.js.map +0 -1
- package/dist/esm/hooks/useColorMode/index.js +0 -19
- package/dist/esm/hooks/useColorMode/index.js.map +0 -1
- package/dist/esm/hooks/useColorModeValue/index.js +0 -9
- package/dist/esm/hooks/useColorModeValue/index.js.map +0 -1
- package/dist/esm/hooks/useDeviceType/index.js +0 -12
- package/dist/esm/hooks/useDeviceType/index.js.map +0 -1
- package/dist/esm/shared/index.js +0 -11
- package/dist/esm/shared/index.js.map +0 -1
- package/dist/esm/shared/records/index.js +0 -18
- package/dist/esm/shared/records/index.js.map +0 -1
- package/dist/types/chakra/index.d.ts +0 -53
- package/dist/types/cli/generate-theme-types.d.ts +0 -2
- package/dist/types/cli/postinstall.d.ts +0 -2
- package/dist/types/components/Divider/divider.component.d.ts +0 -4
- package/dist/types/components/Divider/divider.types.d.ts +0 -6
- package/dist/types/components/Divider/index.d.ts +0 -2
- package/dist/types/components/Icon/generated/AiMicrophone.d.ts +0 -10
- package/dist/types/components/Logo/generated/FullLogo.d.ts +0 -10
- package/dist/types/components/Logo/generated/IconLogo.d.ts +0 -10
- package/dist/types/components/Logo/generated/index.d.ts +0 -4
- package/dist/types/components/Logo/index.d.ts +0 -2
- package/dist/types/components/Logo/logo.component.d.ts +0 -9
- package/dist/types/components/Logo/logo.recipe.d.ts +0 -24
- package/dist/types/components/Logo/logo.types.d.ts +0 -4
- package/dist/types/components/PinInput/index.d.ts +0 -2
- package/dist/types/components/PinInput/pinInput.component.d.ts +0 -12
- package/dist/types/components/PinInput/pinInput.recipe.d.ts +0 -21
- package/dist/types/components/PinInput/pinInput.types.d.ts +0 -2
- package/dist/types/components/RadioGroup/radioGroup.types.d.ts +0 -2
- package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +0 -12
- package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +0 -7
- package/dist/types/components/Toast/components/Toaster/toaster.records.d.ts +0 -11
- package/dist/types/components/Toast/components/Toaster/toaster.types.d.ts +0 -12
- package/dist/types/components/Toast/index.d.ts +0 -2
- package/dist/types/components/Toast/toast.component.d.ts +0 -14
- package/dist/types/components/Toast/toast.recipe.d.ts +0 -21
- package/dist/types/components/Toast/toast.types.d.ts +0 -19
- package/dist/types/components/Toast/useToast.d.ts +0 -3
- package/dist/types/components/Tooltip/tooltip.recipe.d.ts +0 -1
- package/dist/types/hocs/withDarkMode/withDarkMode.d.ts +0 -2
- package/dist/types/hocs/withLightMode/withLightMode.d.ts +0 -2
- package/dist/types/hooks/useBreakpoint/index.d.ts +0 -1
- package/dist/types/hooks/useDeviceType/index.d.ts +0 -3
- package/dist/types/hooks/usePortalContentRef.d.ts +0 -6
- package/dist/types/shared/index.d.ts +0 -1
- package/dist/types/shared/records/index.d.ts +0 -1
- package/dist/types/shared/records/status.d.ts +0 -5
- /package/dist/cjs/{components → patterns}/ConversationCard/index.cjs.map +0 -0
- /package/dist/cjs/{components/Divider → patterns/StyledAvatar}/index.cjs.map +0 -0
- /package/dist/cjs/{components/Logo/generated → patterns/TagBlock}/index.cjs.map +0 -0
- /package/dist/cjs/{components/Logo → patterns/Timestamp}/index.cjs.map +0 -0
- /package/dist/cjs/{components/PinInput → patterns}/index.cjs.map +0 -0
- /package/dist/cjs/{components/StyledAvatar → theme/tokens/generated}/index.cjs.map +0 -0
- /package/dist/esm/{components → patterns}/ConversationCard/index.js.map +0 -0
- /package/dist/esm/{components/Divider → patterns/StyledAvatar}/index.js.map +0 -0
- /package/dist/esm/{components/Logo/generated → patterns/TagBlock}/index.js.map +0 -0
- /package/dist/esm/{components/Logo → patterns/Timestamp}/index.js.map +0 -0
- /package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +0 -0
- /package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +0 -0
- /package/dist/types/{components → patterns}/ConversationCard/index.d.ts +0 -0
- /package/dist/types/{components → patterns}/StyledAvatar/index.d.ts +0 -0
- /package/dist/types/{components → patterns}/StyledAvatar/styledAvatar.types.d.ts +0 -0
- /package/dist/types/{components → patterns}/TagBlock/index.d.ts +0 -0
- /package/dist/types/{components → patterns}/TagBlock/tagBlock.types.d.ts +0 -0
- /package/dist/types/{components → patterns}/Timestamp/index.d.ts +0 -0
|
@@ -1,822 +0,0 @@
|
|
|
1
|
-
import { a6 as Y, a7 as A, a8 as j, c as q, a9 as Z, W as U, b as J, a5 as z, aa as tt, z as et, r as V, ab as N, ac as st, d as I } from "./index-1syExFDc.js";
|
|
2
|
-
var ot = J("toast").parts(
|
|
3
|
-
"group",
|
|
4
|
-
"root",
|
|
5
|
-
"title",
|
|
6
|
-
"description",
|
|
7
|
-
"actionTrigger",
|
|
8
|
-
"closeTrigger"
|
|
9
|
-
), D = ot.build(), it = (t) => `toast-group:${t}`, G = (t, e) => t.getById(`toast-group:${e}`), X = (t) => `toast:${t.id}`, $ = (t) => t.getById(X(t)), B = (t) => `toast:${t.id}:title`, K = (t) => `toast:${t.id}:description`, nt = (t) => `toast${t.id}:close`, _ = {
|
|
10
|
-
info: 5e3,
|
|
11
|
-
error: 5e3,
|
|
12
|
-
success: 2e3,
|
|
13
|
-
loading: 1 / 0,
|
|
14
|
-
DEFAULT: 5e3
|
|
15
|
-
};
|
|
16
|
-
function L(t, e) {
|
|
17
|
-
return t ?? _[e] ?? _.DEFAULT;
|
|
18
|
-
}
|
|
19
|
-
var at = (t) => typeof t == "string" ? { left: t, right: t, bottom: t, top: t } : t;
|
|
20
|
-
function rt(t, e) {
|
|
21
|
-
const { prop: o, computed: s, context: n } = t, { offsets: r, gap: c } = o("store").attrs, l = n.get("heights"), d = at(r), T = o("dir") === "rtl", u = e.replace("-start", T ? "-right" : "-left").replace("-end", T ? "-left" : "-right"), p = u.includes("right"), v = u.includes("left"), m = {
|
|
22
|
-
position: "fixed",
|
|
23
|
-
pointerEvents: s("count") > 0 ? void 0 : "none",
|
|
24
|
-
display: "flex",
|
|
25
|
-
flexDirection: "column",
|
|
26
|
-
"--gap": `${c}px`,
|
|
27
|
-
"--first-height": `${l[0]?.height || 0}px`,
|
|
28
|
-
zIndex: tt
|
|
29
|
-
};
|
|
30
|
-
let f = "center";
|
|
31
|
-
if (p && (f = "flex-end"), v && (f = "flex-start"), m.alignItems = f, u.includes("top")) {
|
|
32
|
-
const h = d.top;
|
|
33
|
-
m.top = `max(env(safe-area-inset-top, 0px), ${h})`;
|
|
34
|
-
}
|
|
35
|
-
if (u.includes("bottom")) {
|
|
36
|
-
const h = d.bottom;
|
|
37
|
-
m.bottom = `max(env(safe-area-inset-bottom, 0px), ${h})`;
|
|
38
|
-
}
|
|
39
|
-
if (!u.includes("left")) {
|
|
40
|
-
const h = d.right;
|
|
41
|
-
m.insetInlineEnd = `calc(env(safe-area-inset-right, 0px) + ${h})`;
|
|
42
|
-
}
|
|
43
|
-
if (!u.includes("right")) {
|
|
44
|
-
const h = d.left;
|
|
45
|
-
m.insetInlineStart = `calc(env(safe-area-inset-left, 0px) + ${h})`;
|
|
46
|
-
}
|
|
47
|
-
return m;
|
|
48
|
-
}
|
|
49
|
-
function ct(t, e) {
|
|
50
|
-
const { prop: o, context: s, computed: n } = t, r = o("parent"), c = r.computed("placement"), { gap: l } = r.prop("store").attrs, [d] = c.split("-"), T = s.get("mounted"), u = s.get("remainingTime"), p = n("height"), v = n("frontmost"), m = !v, f = !o("stacked"), h = o("stacked"), M = o("type") === "loading" ? Number.MAX_SAFE_INTEGER : u, C = n("heightIndex") * l + n("heightBefore"), k = {
|
|
51
|
-
position: "absolute",
|
|
52
|
-
pointerEvents: "auto",
|
|
53
|
-
"--opacity": "0",
|
|
54
|
-
"--remove-delay": `${o("removeDelay")}ms`,
|
|
55
|
-
"--duration": `${M}ms`,
|
|
56
|
-
"--initial-height": `${p}px`,
|
|
57
|
-
"--offset": `${C}px`,
|
|
58
|
-
"--index": o("index"),
|
|
59
|
-
"--z-index": n("zIndex"),
|
|
60
|
-
"--lift-amount": "calc(var(--lift) * var(--gap))",
|
|
61
|
-
"--y": "100%",
|
|
62
|
-
"--x": "0"
|
|
63
|
-
}, g = (H) => Object.assign(k, H);
|
|
64
|
-
return d === "top" ? g({
|
|
65
|
-
top: "0",
|
|
66
|
-
"--sign": "-1",
|
|
67
|
-
"--y": "-100%",
|
|
68
|
-
"--lift": "1"
|
|
69
|
-
}) : d === "bottom" && g({
|
|
70
|
-
bottom: "0",
|
|
71
|
-
"--sign": "1",
|
|
72
|
-
"--y": "100%",
|
|
73
|
-
"--lift": "-1"
|
|
74
|
-
}), T && (g({
|
|
75
|
-
"--y": "0",
|
|
76
|
-
"--opacity": "1"
|
|
77
|
-
}), h && g({
|
|
78
|
-
"--y": "calc(var(--lift) * var(--offset))",
|
|
79
|
-
"--height": "var(--initial-height)"
|
|
80
|
-
})), e || g({
|
|
81
|
-
"--opacity": "0",
|
|
82
|
-
pointerEvents: "none"
|
|
83
|
-
}), m && f && (g({
|
|
84
|
-
"--base-scale": "var(--index) * 0.05 + 1",
|
|
85
|
-
"--y": "calc(var(--lift-amount) * var(--index))",
|
|
86
|
-
"--scale": "calc(-1 * var(--base-scale))",
|
|
87
|
-
"--height": "var(--first-height)"
|
|
88
|
-
}), e || g({
|
|
89
|
-
"--y": "calc(var(--sign) * 40%)"
|
|
90
|
-
})), m && h && !e && g({
|
|
91
|
-
"--y": "calc(var(--lift) * var(--offset) + var(--lift) * -100%)"
|
|
92
|
-
}), v && !e && g({
|
|
93
|
-
"--y": "calc(var(--lift) * -100%)"
|
|
94
|
-
}), k;
|
|
95
|
-
}
|
|
96
|
-
function lt(t, e) {
|
|
97
|
-
const { computed: o } = t, s = {
|
|
98
|
-
position: "absolute",
|
|
99
|
-
inset: "0",
|
|
100
|
-
scale: "1 2",
|
|
101
|
-
pointerEvents: e ? "none" : "auto"
|
|
102
|
-
}, n = (r) => Object.assign(s, r);
|
|
103
|
-
return o("frontmost") && !e && n({
|
|
104
|
-
height: "calc(var(--initial-height) + 80%)"
|
|
105
|
-
}), s;
|
|
106
|
-
}
|
|
107
|
-
function ut() {
|
|
108
|
-
return {
|
|
109
|
-
position: "absolute",
|
|
110
|
-
left: "0",
|
|
111
|
-
height: "calc(var(--gap) + 2px)",
|
|
112
|
-
bottom: "100%",
|
|
113
|
-
width: "100%"
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
function dt(t, e) {
|
|
117
|
-
const { context: o, prop: s, send: n, refs: r, computed: c } = t;
|
|
118
|
-
return {
|
|
119
|
-
getCount() {
|
|
120
|
-
return o.get("toasts").length;
|
|
121
|
-
},
|
|
122
|
-
getToasts() {
|
|
123
|
-
return o.get("toasts");
|
|
124
|
-
},
|
|
125
|
-
getGroupProps(l = {}) {
|
|
126
|
-
const { label: d = "Notifications" } = l, { hotkey: T } = s("store").attrs, u = T.join("+").replace(/Key/g, "").replace(/Digit/g, ""), p = c("placement"), [v, m = "center"] = p.split("-");
|
|
127
|
-
return e.element({
|
|
128
|
-
...D.group.attrs,
|
|
129
|
-
dir: s("dir"),
|
|
130
|
-
tabIndex: -1,
|
|
131
|
-
"aria-label": `${p} ${d} ${u}`,
|
|
132
|
-
id: it(p),
|
|
133
|
-
"data-placement": p,
|
|
134
|
-
"data-side": v,
|
|
135
|
-
"data-align": m,
|
|
136
|
-
"aria-live": "polite",
|
|
137
|
-
role: "region",
|
|
138
|
-
style: rt(t, p),
|
|
139
|
-
onMouseMove() {
|
|
140
|
-
n({ type: "REGION.POINTER_ENTER", placement: p });
|
|
141
|
-
},
|
|
142
|
-
onMouseLeave() {
|
|
143
|
-
n({ type: "REGION.POINTER_LEAVE", placement: p });
|
|
144
|
-
},
|
|
145
|
-
onFocus(f) {
|
|
146
|
-
n({ type: "REGION.FOCUS", target: f.relatedTarget });
|
|
147
|
-
},
|
|
148
|
-
onBlur(f) {
|
|
149
|
-
r.get("isFocusWithin") && !z(f.currentTarget, f.relatedTarget) && queueMicrotask(() => n({ type: "REGION.BLUR" }));
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
},
|
|
153
|
-
subscribe(l) {
|
|
154
|
-
return s("store").subscribe(() => l(o.get("toasts")));
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
var gt = q({
|
|
159
|
-
props({ props: t }) {
|
|
160
|
-
return {
|
|
161
|
-
dir: "ltr",
|
|
162
|
-
id: j(),
|
|
163
|
-
...t,
|
|
164
|
-
store: t.store
|
|
165
|
-
};
|
|
166
|
-
},
|
|
167
|
-
initialState({ prop: t }) {
|
|
168
|
-
return t("store").attrs.overlap ? "overlap" : "stack";
|
|
169
|
-
},
|
|
170
|
-
refs() {
|
|
171
|
-
return {
|
|
172
|
-
lastFocusedEl: null,
|
|
173
|
-
isFocusWithin: !1,
|
|
174
|
-
dismissableCleanup: void 0
|
|
175
|
-
};
|
|
176
|
-
},
|
|
177
|
-
context({ bindable: t }) {
|
|
178
|
-
return {
|
|
179
|
-
toasts: t(() => ({
|
|
180
|
-
defaultValue: [],
|
|
181
|
-
sync: !0,
|
|
182
|
-
hash: (e) => e.map((o) => o.id).join(",")
|
|
183
|
-
})),
|
|
184
|
-
heights: t(() => ({
|
|
185
|
-
defaultValue: [],
|
|
186
|
-
sync: !0
|
|
187
|
-
}))
|
|
188
|
-
};
|
|
189
|
-
},
|
|
190
|
-
computed: {
|
|
191
|
-
count: ({ context: t }) => t.get("toasts").length,
|
|
192
|
-
overlap: ({ prop: t }) => t("store").attrs.overlap,
|
|
193
|
-
placement: ({ prop: t }) => t("store").attrs.placement
|
|
194
|
-
},
|
|
195
|
-
effects: ["subscribeToStore", "trackDocumentVisibility", "trackHotKeyPress"],
|
|
196
|
-
watch({ track: t, context: e, action: o }) {
|
|
197
|
-
t([() => e.hash("toasts")], () => {
|
|
198
|
-
queueMicrotask(() => {
|
|
199
|
-
o(["collapsedIfEmpty", "setDismissableBranch"]);
|
|
200
|
-
});
|
|
201
|
-
});
|
|
202
|
-
},
|
|
203
|
-
exit: ["clearDismissableBranch", "clearLastFocusedEl"],
|
|
204
|
-
on: {
|
|
205
|
-
"DOC.HOTKEY": {
|
|
206
|
-
actions: ["focusRegionEl"]
|
|
207
|
-
},
|
|
208
|
-
"REGION.BLUR": [
|
|
209
|
-
{
|
|
210
|
-
guard: "isOverlapping",
|
|
211
|
-
target: "overlap",
|
|
212
|
-
actions: ["collapseToasts", "resumeToasts", "restoreLastFocusedEl"]
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
target: "stack",
|
|
216
|
-
actions: ["resumeToasts", "restoreLastFocusedEl"]
|
|
217
|
-
}
|
|
218
|
-
],
|
|
219
|
-
"TOAST.REMOVE": {
|
|
220
|
-
actions: ["removeToast", "removeHeight"]
|
|
221
|
-
},
|
|
222
|
-
"TOAST.PAUSE": {
|
|
223
|
-
actions: ["pauseToasts"]
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
states: {
|
|
227
|
-
stack: {
|
|
228
|
-
on: {
|
|
229
|
-
"REGION.POINTER_LEAVE": [
|
|
230
|
-
{
|
|
231
|
-
guard: "isOverlapping",
|
|
232
|
-
target: "overlap",
|
|
233
|
-
actions: ["resumeToasts", "collapseToasts"]
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
actions: ["resumeToasts"]
|
|
237
|
-
}
|
|
238
|
-
],
|
|
239
|
-
"REGION.OVERLAP": {
|
|
240
|
-
target: "overlap",
|
|
241
|
-
actions: ["collapseToasts"]
|
|
242
|
-
},
|
|
243
|
-
"REGION.FOCUS": {
|
|
244
|
-
actions: ["setLastFocusedEl", "pauseToasts"]
|
|
245
|
-
},
|
|
246
|
-
"REGION.POINTER_ENTER": {
|
|
247
|
-
actions: ["pauseToasts"]
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
overlap: {
|
|
252
|
-
on: {
|
|
253
|
-
"REGION.STACK": {
|
|
254
|
-
target: "stack",
|
|
255
|
-
actions: ["expandToasts"]
|
|
256
|
-
},
|
|
257
|
-
"REGION.POINTER_ENTER": {
|
|
258
|
-
target: "stack",
|
|
259
|
-
actions: ["pauseToasts", "expandToasts"]
|
|
260
|
-
},
|
|
261
|
-
"REGION.FOCUS": {
|
|
262
|
-
target: "stack",
|
|
263
|
-
actions: ["setLastFocusedEl", "pauseToasts", "expandToasts"]
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
},
|
|
268
|
-
implementations: {
|
|
269
|
-
guards: {
|
|
270
|
-
isOverlapping: ({ computed: t }) => t("overlap")
|
|
271
|
-
},
|
|
272
|
-
effects: {
|
|
273
|
-
subscribeToStore({ context: t, prop: e }) {
|
|
274
|
-
return e("store").subscribe((o) => {
|
|
275
|
-
if (o.dismiss) {
|
|
276
|
-
t.set("toasts", (s) => s.filter((n) => n.id !== o.id));
|
|
277
|
-
return;
|
|
278
|
-
}
|
|
279
|
-
t.set("toasts", (s) => {
|
|
280
|
-
const n = s.findIndex((r) => r.id === o.id);
|
|
281
|
-
return n !== -1 ? [...s.slice(0, n), { ...s[n], ...o }, ...s.slice(n + 1)] : [o, ...s];
|
|
282
|
-
});
|
|
283
|
-
});
|
|
284
|
-
},
|
|
285
|
-
trackHotKeyPress({ prop: t, send: e }) {
|
|
286
|
-
return U(document, "keydown", (s) => {
|
|
287
|
-
const { hotkey: n } = t("store").attrs;
|
|
288
|
-
n.every((c) => s[c] || s.code === c) && e({ type: "DOC.HOTKEY" });
|
|
289
|
-
}, { capture: !0 });
|
|
290
|
-
},
|
|
291
|
-
trackDocumentVisibility({ prop: t, send: e, scope: o }) {
|
|
292
|
-
const { pauseOnPageIdle: s } = t("store").attrs;
|
|
293
|
-
if (!s) return;
|
|
294
|
-
const n = o.getDoc();
|
|
295
|
-
return U(n, "visibilitychange", () => {
|
|
296
|
-
const r = n.visibilityState === "hidden";
|
|
297
|
-
e({ type: r ? "PAUSE_ALL" : "RESUME_ALL" });
|
|
298
|
-
});
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
actions: {
|
|
302
|
-
setDismissableBranch({ refs: t, context: e, computed: o, scope: s }) {
|
|
303
|
-
const n = e.get("toasts"), r = o("placement"), c = n.length > 0;
|
|
304
|
-
if (!c) {
|
|
305
|
-
t.get("dismissableCleanup")?.();
|
|
306
|
-
return;
|
|
307
|
-
}
|
|
308
|
-
if (c && t.get("dismissableCleanup"))
|
|
309
|
-
return;
|
|
310
|
-
const d = Z(() => G(s, r), { defer: !0 });
|
|
311
|
-
t.set("dismissableCleanup", d);
|
|
312
|
-
},
|
|
313
|
-
clearDismissableBranch({ refs: t }) {
|
|
314
|
-
t.get("dismissableCleanup")?.();
|
|
315
|
-
},
|
|
316
|
-
focusRegionEl({ scope: t, computed: e }) {
|
|
317
|
-
queueMicrotask(() => {
|
|
318
|
-
G(t, e("placement"))?.focus();
|
|
319
|
-
});
|
|
320
|
-
},
|
|
321
|
-
pauseToasts({ prop: t }) {
|
|
322
|
-
t("store").pause();
|
|
323
|
-
},
|
|
324
|
-
resumeToasts({ prop: t }) {
|
|
325
|
-
t("store").resume();
|
|
326
|
-
},
|
|
327
|
-
expandToasts({ prop: t }) {
|
|
328
|
-
t("store").expand();
|
|
329
|
-
},
|
|
330
|
-
collapseToasts({ prop: t }) {
|
|
331
|
-
t("store").collapse();
|
|
332
|
-
},
|
|
333
|
-
removeToast({ prop: t, event: e }) {
|
|
334
|
-
t("store").remove(e.id);
|
|
335
|
-
},
|
|
336
|
-
removeHeight({ event: t, context: e }) {
|
|
337
|
-
t?.id != null && queueMicrotask(() => {
|
|
338
|
-
e.set("heights", (o) => o.filter((s) => s.id !== t.id));
|
|
339
|
-
});
|
|
340
|
-
},
|
|
341
|
-
collapsedIfEmpty({ send: t, computed: e }) {
|
|
342
|
-
!e("overlap") || e("count") > 1 || t({ type: "REGION.OVERLAP" });
|
|
343
|
-
},
|
|
344
|
-
setLastFocusedEl({ refs: t, event: e }) {
|
|
345
|
-
t.get("isFocusWithin") || !e.target || (t.set("isFocusWithin", !0), t.set("lastFocusedEl", e.target));
|
|
346
|
-
},
|
|
347
|
-
restoreLastFocusedEl({ refs: t }) {
|
|
348
|
-
t.get("lastFocusedEl") && (t.get("lastFocusedEl")?.focus({ preventScroll: !0 }), t.set("lastFocusedEl", null), t.set("isFocusWithin", !1));
|
|
349
|
-
},
|
|
350
|
-
clearLastFocusedEl({ refs: t }) {
|
|
351
|
-
t.get("lastFocusedEl") && (t.get("lastFocusedEl")?.focus({ preventScroll: !0 }), t.set("lastFocusedEl", null), t.set("isFocusWithin", !1));
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
});
|
|
356
|
-
function Dt(t, e) {
|
|
357
|
-
const { state: o, send: s, prop: n, scope: r, context: c, computed: l } = t, d = o.hasTag("visible"), T = o.hasTag("paused"), u = c.get("mounted"), p = l("frontmost"), v = n("parent").computed("placement"), m = n("type"), f = n("stacked"), h = n("title"), F = n("description"), M = n("action"), [C, k = "center"] = v.split("-");
|
|
358
|
-
return {
|
|
359
|
-
type: m,
|
|
360
|
-
title: h,
|
|
361
|
-
description: F,
|
|
362
|
-
placement: v,
|
|
363
|
-
visible: d,
|
|
364
|
-
paused: T,
|
|
365
|
-
closable: !!n("closable"),
|
|
366
|
-
pause() {
|
|
367
|
-
s({ type: "PAUSE" });
|
|
368
|
-
},
|
|
369
|
-
resume() {
|
|
370
|
-
s({ type: "RESUME" });
|
|
371
|
-
},
|
|
372
|
-
dismiss() {
|
|
373
|
-
s({ type: "DISMISS", src: "programmatic" });
|
|
374
|
-
},
|
|
375
|
-
getRootProps() {
|
|
376
|
-
return e.element({
|
|
377
|
-
...D.root.attrs,
|
|
378
|
-
dir: n("dir"),
|
|
379
|
-
id: X(r),
|
|
380
|
-
"data-state": d ? "open" : "closed",
|
|
381
|
-
"data-type": m,
|
|
382
|
-
"data-placement": v,
|
|
383
|
-
"data-align": k,
|
|
384
|
-
"data-side": C,
|
|
385
|
-
"data-mounted": I(u),
|
|
386
|
-
"data-paused": I(T),
|
|
387
|
-
"data-first": I(p),
|
|
388
|
-
"data-sibling": I(!p),
|
|
389
|
-
"data-stack": I(f),
|
|
390
|
-
"data-overlap": I(!f),
|
|
391
|
-
role: "status",
|
|
392
|
-
"aria-atomic": "true",
|
|
393
|
-
"aria-describedby": F ? K(r) : void 0,
|
|
394
|
-
"aria-labelledby": h ? B(r) : void 0,
|
|
395
|
-
tabIndex: 0,
|
|
396
|
-
style: ct(t, d),
|
|
397
|
-
onKeyDown(g) {
|
|
398
|
-
g.defaultPrevented || g.key == "Escape" && (s({ type: "DISMISS", src: "keyboard" }), g.preventDefault());
|
|
399
|
-
}
|
|
400
|
-
});
|
|
401
|
-
},
|
|
402
|
-
/* Leave a ghost div to avoid setting hover to false when transitioning out */
|
|
403
|
-
getGhostBeforeProps() {
|
|
404
|
-
return e.element({
|
|
405
|
-
"data-ghost": "before",
|
|
406
|
-
style: lt(t, d)
|
|
407
|
-
});
|
|
408
|
-
},
|
|
409
|
-
/* Needed to avoid setting hover to false when in between toasts */
|
|
410
|
-
getGhostAfterProps() {
|
|
411
|
-
return e.element({
|
|
412
|
-
"data-ghost": "after",
|
|
413
|
-
style: ut()
|
|
414
|
-
});
|
|
415
|
-
},
|
|
416
|
-
getTitleProps() {
|
|
417
|
-
return e.element({
|
|
418
|
-
...D.title.attrs,
|
|
419
|
-
id: B(r)
|
|
420
|
-
});
|
|
421
|
-
},
|
|
422
|
-
getDescriptionProps() {
|
|
423
|
-
return e.element({
|
|
424
|
-
...D.description.attrs,
|
|
425
|
-
id: K(r)
|
|
426
|
-
});
|
|
427
|
-
},
|
|
428
|
-
getActionTriggerProps() {
|
|
429
|
-
return e.button({
|
|
430
|
-
...D.actionTrigger.attrs,
|
|
431
|
-
type: "button",
|
|
432
|
-
onClick(g) {
|
|
433
|
-
g.defaultPrevented || (M?.onClick?.(), s({ type: "DISMISS", src: "user" }));
|
|
434
|
-
}
|
|
435
|
-
});
|
|
436
|
-
},
|
|
437
|
-
getCloseTriggerProps() {
|
|
438
|
-
return e.button({
|
|
439
|
-
id: nt(r),
|
|
440
|
-
...D.closeTrigger.attrs,
|
|
441
|
-
type: "button",
|
|
442
|
-
"aria-label": "Dismiss notification",
|
|
443
|
-
onClick(g) {
|
|
444
|
-
g.defaultPrevented || s({ type: "DISMISS", src: "user" });
|
|
445
|
-
}
|
|
446
|
-
});
|
|
447
|
-
}
|
|
448
|
-
};
|
|
449
|
-
}
|
|
450
|
-
var { not: pt } = et(), Ot = q({
|
|
451
|
-
props({ props: t }) {
|
|
452
|
-
return st(t, ["id", "type", "parent", "removeDelay"], "toast"), {
|
|
453
|
-
closable: !0,
|
|
454
|
-
...t,
|
|
455
|
-
duration: L(t.duration, t.type)
|
|
456
|
-
};
|
|
457
|
-
},
|
|
458
|
-
initialState({ prop: t }) {
|
|
459
|
-
return t("type") === "loading" || t("duration") === 1 / 0 ? "visible:persist" : "visible";
|
|
460
|
-
},
|
|
461
|
-
context({ prop: t, bindable: e }) {
|
|
462
|
-
return {
|
|
463
|
-
remainingTime: e(() => ({
|
|
464
|
-
defaultValue: L(t("duration"), t("type"))
|
|
465
|
-
})),
|
|
466
|
-
createdAt: e(() => ({
|
|
467
|
-
defaultValue: Date.now()
|
|
468
|
-
})),
|
|
469
|
-
mounted: e(() => ({
|
|
470
|
-
defaultValue: !1
|
|
471
|
-
})),
|
|
472
|
-
initialHeight: e(() => ({
|
|
473
|
-
defaultValue: 0
|
|
474
|
-
}))
|
|
475
|
-
};
|
|
476
|
-
},
|
|
477
|
-
refs() {
|
|
478
|
-
return {
|
|
479
|
-
closeTimerStartTime: Date.now(),
|
|
480
|
-
lastCloseStartTimerStartTime: 0
|
|
481
|
-
};
|
|
482
|
-
},
|
|
483
|
-
computed: {
|
|
484
|
-
zIndex: ({ prop: t }) => {
|
|
485
|
-
const e = t("parent").context.get("toasts"), o = e.findIndex((s) => s.id === t("id"));
|
|
486
|
-
return e.length - o;
|
|
487
|
-
},
|
|
488
|
-
height: ({ prop: t }) => t("parent").context.get("heights").find((s) => s.id === t("id"))?.height ?? 0,
|
|
489
|
-
heightIndex: ({ prop: t }) => t("parent").context.get("heights").findIndex((o) => o.id === t("id")),
|
|
490
|
-
frontmost: ({ prop: t }) => t("index") === 0,
|
|
491
|
-
heightBefore: ({ prop: t }) => {
|
|
492
|
-
const e = t("parent").context.get("heights"), o = e.findIndex((s) => s.id === t("id"));
|
|
493
|
-
return e.reduce((s, n, r) => r >= o ? s : s + n.height, 0);
|
|
494
|
-
},
|
|
495
|
-
shouldPersist: ({ prop: t }) => t("type") === "loading" || t("duration") === 1 / 0
|
|
496
|
-
},
|
|
497
|
-
watch({ track: t, prop: e, send: o }) {
|
|
498
|
-
t([() => e("message")], () => {
|
|
499
|
-
const s = e("message");
|
|
500
|
-
s && o({ type: s, src: "programmatic" });
|
|
501
|
-
}), t([() => e("type"), () => e("duration")], () => {
|
|
502
|
-
o({ type: "UPDATE" });
|
|
503
|
-
});
|
|
504
|
-
},
|
|
505
|
-
on: {
|
|
506
|
-
UPDATE: [
|
|
507
|
-
{
|
|
508
|
-
guard: "shouldPersist",
|
|
509
|
-
target: "visible:persist",
|
|
510
|
-
actions: ["resetCloseTimer"]
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
target: "visible:updating",
|
|
514
|
-
actions: ["resetCloseTimer"]
|
|
515
|
-
}
|
|
516
|
-
],
|
|
517
|
-
MEASURE: {
|
|
518
|
-
actions: ["measureHeight"]
|
|
519
|
-
}
|
|
520
|
-
},
|
|
521
|
-
entry: ["setMounted", "measureHeight", "invokeOnVisible"],
|
|
522
|
-
effects: ["trackHeight"],
|
|
523
|
-
states: {
|
|
524
|
-
"visible:updating": {
|
|
525
|
-
tags: ["visible", "updating"],
|
|
526
|
-
effects: ["waitForNextTick"],
|
|
527
|
-
on: {
|
|
528
|
-
SHOW: {
|
|
529
|
-
target: "visible"
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
},
|
|
533
|
-
"visible:persist": {
|
|
534
|
-
tags: ["visible", "paused"],
|
|
535
|
-
on: {
|
|
536
|
-
RESUME: {
|
|
537
|
-
guard: pt("isLoadingType"),
|
|
538
|
-
target: "visible",
|
|
539
|
-
actions: ["setCloseTimer"]
|
|
540
|
-
},
|
|
541
|
-
DISMISS: {
|
|
542
|
-
target: "dismissing"
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
},
|
|
546
|
-
visible: {
|
|
547
|
-
tags: ["visible"],
|
|
548
|
-
effects: ["waitForDuration"],
|
|
549
|
-
on: {
|
|
550
|
-
DISMISS: {
|
|
551
|
-
target: "dismissing"
|
|
552
|
-
},
|
|
553
|
-
PAUSE: {
|
|
554
|
-
target: "visible:persist",
|
|
555
|
-
actions: ["syncRemainingTime"]
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
},
|
|
559
|
-
dismissing: {
|
|
560
|
-
entry: ["invokeOnDismiss"],
|
|
561
|
-
effects: ["waitForRemoveDelay"],
|
|
562
|
-
on: {
|
|
563
|
-
REMOVE: {
|
|
564
|
-
target: "unmounted",
|
|
565
|
-
actions: ["notifyParentToRemove"]
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
},
|
|
569
|
-
unmounted: {
|
|
570
|
-
entry: ["invokeOnUnmount"]
|
|
571
|
-
}
|
|
572
|
-
},
|
|
573
|
-
implementations: {
|
|
574
|
-
effects: {
|
|
575
|
-
waitForRemoveDelay({ prop: t, send: e }) {
|
|
576
|
-
return N(() => {
|
|
577
|
-
e({ type: "REMOVE", src: "timer" });
|
|
578
|
-
}, t("removeDelay"));
|
|
579
|
-
},
|
|
580
|
-
waitForDuration({ send: t, context: e, computed: o }) {
|
|
581
|
-
if (!o("shouldPersist"))
|
|
582
|
-
return N(() => {
|
|
583
|
-
t({ type: "DISMISS", src: "timer" });
|
|
584
|
-
}, e.get("remainingTime"));
|
|
585
|
-
},
|
|
586
|
-
waitForNextTick({ send: t }) {
|
|
587
|
-
return N(() => {
|
|
588
|
-
t({ type: "SHOW", src: "timer" });
|
|
589
|
-
}, 0);
|
|
590
|
-
},
|
|
591
|
-
trackHeight({ scope: t, prop: e }) {
|
|
592
|
-
let o;
|
|
593
|
-
return V(() => {
|
|
594
|
-
const s = $(t);
|
|
595
|
-
if (!s) return;
|
|
596
|
-
const n = () => {
|
|
597
|
-
const l = s.style.height;
|
|
598
|
-
s.style.height = "auto";
|
|
599
|
-
const d = s.getBoundingClientRect().height;
|
|
600
|
-
s.style.height = l;
|
|
601
|
-
const T = { id: e("id"), height: d };
|
|
602
|
-
W(e("parent"), T);
|
|
603
|
-
}, r = t.getWin(), c = new r.MutationObserver(n);
|
|
604
|
-
c.observe(s, {
|
|
605
|
-
childList: !0,
|
|
606
|
-
subtree: !0,
|
|
607
|
-
characterData: !0
|
|
608
|
-
}), o = () => c.disconnect();
|
|
609
|
-
}), () => o?.();
|
|
610
|
-
}
|
|
611
|
-
},
|
|
612
|
-
guards: {
|
|
613
|
-
isLoadingType: ({ prop: t }) => t("type") === "loading",
|
|
614
|
-
shouldPersist: ({ computed: t }) => t("shouldPersist")
|
|
615
|
-
},
|
|
616
|
-
actions: {
|
|
617
|
-
setMounted({ context: t }) {
|
|
618
|
-
V(() => {
|
|
619
|
-
t.set("mounted", !0);
|
|
620
|
-
});
|
|
621
|
-
},
|
|
622
|
-
measureHeight({ scope: t, prop: e, context: o }) {
|
|
623
|
-
queueMicrotask(() => {
|
|
624
|
-
const s = $(t);
|
|
625
|
-
if (!s) return;
|
|
626
|
-
const n = s.style.height;
|
|
627
|
-
s.style.height = "auto";
|
|
628
|
-
const r = s.getBoundingClientRect().height;
|
|
629
|
-
s.style.height = n, o.set("initialHeight", r);
|
|
630
|
-
const c = { id: e("id"), height: r };
|
|
631
|
-
W(e("parent"), c);
|
|
632
|
-
});
|
|
633
|
-
},
|
|
634
|
-
setCloseTimer({ refs: t }) {
|
|
635
|
-
t.set("closeTimerStartTime", Date.now());
|
|
636
|
-
},
|
|
637
|
-
resetCloseTimer({ context: t, refs: e, prop: o }) {
|
|
638
|
-
e.set("closeTimerStartTime", Date.now()), t.set("remainingTime", L(o("duration"), o("type")));
|
|
639
|
-
},
|
|
640
|
-
syncRemainingTime({ context: t, refs: e }) {
|
|
641
|
-
t.set("remainingTime", (o) => {
|
|
642
|
-
const s = e.get("closeTimerStartTime"), n = Date.now() - s;
|
|
643
|
-
return e.set("lastCloseStartTimerStartTime", Date.now()), o - n;
|
|
644
|
-
});
|
|
645
|
-
},
|
|
646
|
-
notifyParentToRemove({ prop: t }) {
|
|
647
|
-
t("parent").send({ type: "TOAST.REMOVE", id: t("id") });
|
|
648
|
-
},
|
|
649
|
-
invokeOnDismiss({ prop: t, event: e }) {
|
|
650
|
-
t("onStatusChange")?.({ status: "dismissing", src: e.src });
|
|
651
|
-
},
|
|
652
|
-
invokeOnUnmount({ prop: t }) {
|
|
653
|
-
t("onStatusChange")?.({ status: "unmounted" });
|
|
654
|
-
},
|
|
655
|
-
invokeOnVisible({ prop: t }) {
|
|
656
|
-
t("onStatusChange")?.({ status: "visible" });
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
});
|
|
661
|
-
function W(t, e) {
|
|
662
|
-
const { id: o, height: s } = e;
|
|
663
|
-
t.context.set("heights", (n) => n.find((c) => c.id === o) ? n.map((c) => c.id === o ? { ...c, height: s } : c) : [{ id: o, height: s }, ...n]);
|
|
664
|
-
}
|
|
665
|
-
var mt = (t, e) => ({ ...e, ...Y(t) });
|
|
666
|
-
function ft(t) {
|
|
667
|
-
const e = mt(t, {
|
|
668
|
-
placement: "bottom",
|
|
669
|
-
overlap: !1,
|
|
670
|
-
max: 24,
|
|
671
|
-
gap: 16,
|
|
672
|
-
offsets: "1rem",
|
|
673
|
-
hotkey: ["altKey", "KeyT"],
|
|
674
|
-
removeDelay: 200,
|
|
675
|
-
pauseOnPageIdle: !0
|
|
676
|
-
});
|
|
677
|
-
let o = [], s = [], n = /* @__PURE__ */ new Set(), r = [];
|
|
678
|
-
const c = (i) => (o.push(i), () => {
|
|
679
|
-
const a = o.indexOf(i);
|
|
680
|
-
o.splice(a, 1);
|
|
681
|
-
}), l = (i) => (o.forEach((a) => a(i)), i), d = (i) => {
|
|
682
|
-
if (s.length >= e.max) {
|
|
683
|
-
r.push(i);
|
|
684
|
-
return;
|
|
685
|
-
}
|
|
686
|
-
l(i), s.unshift(i);
|
|
687
|
-
}, T = () => {
|
|
688
|
-
for (; r.length > 0 && s.length < e.max; ) {
|
|
689
|
-
const i = r.shift();
|
|
690
|
-
i && (l(i), s.unshift(i));
|
|
691
|
-
}
|
|
692
|
-
}, u = (i) => {
|
|
693
|
-
const a = i.id ?? `toast:${j()}`, b = s.find((y) => y.id === a);
|
|
694
|
-
return n.has(a) && n.delete(a), b ? s = s.map((y) => y.id === a ? l({ ...y, ...i, id: a }) : y) : d({
|
|
695
|
-
id: a,
|
|
696
|
-
duration: e.duration,
|
|
697
|
-
removeDelay: e.removeDelay,
|
|
698
|
-
type: "info",
|
|
699
|
-
...i,
|
|
700
|
-
stacked: !e.overlap,
|
|
701
|
-
gap: e.gap
|
|
702
|
-
}), a;
|
|
703
|
-
}, p = (i) => (n.add(i), i ? (o.forEach((a) => a({ id: i, dismiss: !0 })), s = s.filter((a) => a.id !== i), T()) : (s.forEach((a) => {
|
|
704
|
-
o.forEach((b) => b({ id: a.id, dismiss: !0 }));
|
|
705
|
-
}), s = [], r = []), i);
|
|
706
|
-
return {
|
|
707
|
-
attrs: e,
|
|
708
|
-
subscribe: c,
|
|
709
|
-
create: u,
|
|
710
|
-
update: (i, a) => u({ id: i, ...a }),
|
|
711
|
-
remove: p,
|
|
712
|
-
dismiss: (i) => {
|
|
713
|
-
i != null ? s = s.map((a) => a.id === i ? l({ ...a, message: "DISMISS" }) : a) : s = s.map((a) => l({ ...a, message: "DISMISS" }));
|
|
714
|
-
},
|
|
715
|
-
error: (i) => u({ ...i, type: "error" }),
|
|
716
|
-
success: (i) => u({ ...i, type: "success" }),
|
|
717
|
-
info: (i) => u({ ...i, type: "info" }),
|
|
718
|
-
warning: (i) => u({ ...i, type: "warning" }),
|
|
719
|
-
loading: (i) => u({ ...i, type: "loading" }),
|
|
720
|
-
getVisibleToasts: () => s.filter((i) => !n.has(i.id)),
|
|
721
|
-
getCount: () => s.length,
|
|
722
|
-
promise: (i, a, b = {}) => {
|
|
723
|
-
if (!a) return;
|
|
724
|
-
let y;
|
|
725
|
-
a.loading !== void 0 && (y = u({
|
|
726
|
-
...b,
|
|
727
|
-
...a.loading,
|
|
728
|
-
promise: i,
|
|
729
|
-
type: "loading"
|
|
730
|
-
}));
|
|
731
|
-
let w = y !== void 0, P;
|
|
732
|
-
const Q = A(i).then(async (E) => {
|
|
733
|
-
if (P = ["resolve", E], ht(E) && !E.ok) {
|
|
734
|
-
w = !1;
|
|
735
|
-
const S = A(a.error, `HTTP Error! status: ${E.status}`);
|
|
736
|
-
u({ ...b, ...S, id: y, type: "error" });
|
|
737
|
-
} else if (a.success !== void 0) {
|
|
738
|
-
w = !1;
|
|
739
|
-
const S = A(a.success, E);
|
|
740
|
-
u({ ...b, ...S, id: y, type: "success" });
|
|
741
|
-
}
|
|
742
|
-
}).catch(async (E) => {
|
|
743
|
-
if (P = ["reject", E], a.error !== void 0) {
|
|
744
|
-
w = !1;
|
|
745
|
-
const S = A(a.error, E);
|
|
746
|
-
u({ ...b, ...S, id: y, type: "error" });
|
|
747
|
-
}
|
|
748
|
-
}).finally(() => {
|
|
749
|
-
w && (p(y), y = void 0), a.finally?.();
|
|
750
|
-
});
|
|
751
|
-
return { id: y, unwrap: () => new Promise(
|
|
752
|
-
(E, S) => Q.then(() => P[0] === "reject" ? S(P[1]) : E(P[1])).catch(S)
|
|
753
|
-
) };
|
|
754
|
-
},
|
|
755
|
-
pause: (i) => {
|
|
756
|
-
i != null ? s = s.map((a) => a.id === i ? l({ ...a, message: "PAUSE" }) : a) : s = s.map((a) => l({ ...a, message: "PAUSE" }));
|
|
757
|
-
},
|
|
758
|
-
resume: (i) => {
|
|
759
|
-
i != null ? s = s.map((a) => a.id === i ? l({ ...a, message: "RESUME" }) : a) : s = s.map((a) => l({ ...a, message: "RESUME" }));
|
|
760
|
-
},
|
|
761
|
-
isVisible: (i) => !n.has(i) && !!s.find((a) => a.id === i),
|
|
762
|
-
isDismissed: (i) => n.has(i),
|
|
763
|
-
expand: () => {
|
|
764
|
-
s = s.map((i) => l({ ...i, stacked: !0 }));
|
|
765
|
-
},
|
|
766
|
-
collapse: () => {
|
|
767
|
-
s = s.map((i) => l({ ...i, stacked: !1 }));
|
|
768
|
-
}
|
|
769
|
-
};
|
|
770
|
-
}
|
|
771
|
-
var ht = (t) => t && typeof t == "object" && "ok" in t && typeof t.ok == "boolean" && "status" in t && typeof t.status == "number", Rt = {
|
|
772
|
-
connect: dt,
|
|
773
|
-
machine: gt
|
|
774
|
-
};
|
|
775
|
-
const O = (t) => ft(t), x = {
|
|
776
|
-
duration: 5e3,
|
|
777
|
-
gap: 8,
|
|
778
|
-
hotkey: void 0,
|
|
779
|
-
max: 24,
|
|
780
|
-
offsets: "1rem",
|
|
781
|
-
overlap: !1,
|
|
782
|
-
pauseOnPageIdle: !0,
|
|
783
|
-
removeDelay: 0
|
|
784
|
-
}, R = {
|
|
785
|
-
bottom: {
|
|
786
|
-
...x,
|
|
787
|
-
placement: "bottom"
|
|
788
|
-
},
|
|
789
|
-
"bottom-end": {
|
|
790
|
-
...x,
|
|
791
|
-
placement: "bottom-end"
|
|
792
|
-
},
|
|
793
|
-
"bottom-start": {
|
|
794
|
-
...x,
|
|
795
|
-
placement: "bottom-start"
|
|
796
|
-
},
|
|
797
|
-
top: {
|
|
798
|
-
...x,
|
|
799
|
-
placement: "top"
|
|
800
|
-
},
|
|
801
|
-
"top-end": {
|
|
802
|
-
...x,
|
|
803
|
-
placement: "top-end"
|
|
804
|
-
},
|
|
805
|
-
"top-start": {
|
|
806
|
-
...x,
|
|
807
|
-
placement: "top-start"
|
|
808
|
-
}
|
|
809
|
-
}, kt = O(R.bottom), Pt = O(R["bottom-end"]), Ft = O(R["bottom-start"]), Mt = O(R.top), Ct = O(R["top-end"]), wt = O(R["top-start"]);
|
|
810
|
-
export {
|
|
811
|
-
Pt as a,
|
|
812
|
-
kt as b,
|
|
813
|
-
Dt as c,
|
|
814
|
-
Ft as d,
|
|
815
|
-
Ct as e,
|
|
816
|
-
wt as f,
|
|
817
|
-
Rt as g,
|
|
818
|
-
x as h,
|
|
819
|
-
Ot as m,
|
|
820
|
-
Mt as t
|
|
821
|
-
};
|
|
822
|
-
//# sourceMappingURL=toaster.records-DjNU8CFN.js.map
|