@televet/kibble-ui 4.0.0-beta.129 → 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-Din1M63M.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-F4TRYMIP.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-CjfPYcdW.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-vkhAVeU1.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-TEOKzzqn.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-xwy8mG6_.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-DLR1Illa.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-kAvlVPfo.js +0 -139
- package/dist/chunks/alert.types-kAvlVPfo.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-DGfWk-0y.js +0 -394
- package/dist/chunks/avatar.component-DGfWk-0y.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-BZNCUbR4.js +0 -67
- package/dist/chunks/avatarGroup.component-BZNCUbR4.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/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-Hf7tGheU.js +0 -68
- package/dist/chunks/buttonGroup.component-Hf7tGheU.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-ox9jRwSj.js +0 -84
- package/dist/chunks/characterCounter.component-ox9jRwSj.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-Cay-Mr3g.js +0 -256
- package/dist/chunks/checkbox.anatomy-Cay-Mr3g.js.map +0 -1
- package/dist/chunks/checkbox.component-Wke7fO3F.js +0 -260
- package/dist/chunks/checkbox.component-Wke7fO3F.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-BTWYKZIw.js +0 -52
- package/dist/chunks/checkboxGroup.component-BTWYKZIw.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/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-F4TRYMIP.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-7v8Bqmkg.js +0 -3019
- package/dist/chunks/datePicker.component-7v8Bqmkg.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/dialog-BeivYfW7.js +0 -2
- package/dist/chunks/dialog-BeivYfW7.js.map +0 -1
- package/dist/chunks/dialog-HKVwK8-N.js +0 -136
- package/dist/chunks/dialog-HKVwK8-N.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-Cgi_rt8Q.js +0 -12
- package/dist/chunks/heading.component-Cgi_rt8Q.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-50yAcekU.js +0 -371
- package/dist/chunks/index-50yAcekU.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-BR7peqZO.js +0 -2
- package/dist/chunks/index-BR7peqZO.js.map +0 -1
- package/dist/chunks/index-BZO9oWt_.js +0 -444
- package/dist/chunks/index-BZO9oWt_.js.map +0 -1
- package/dist/chunks/index-C9d2jvcj.js +0 -7859
- package/dist/chunks/index-C9d2jvcj.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-CIWHjZGL.js +0 -1189
- package/dist/chunks/index-CIWHjZGL.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-ChpoK9RR.js +0 -290
- package/dist/chunks/index-ChpoK9RR.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-CxYbW27D.js +0 -375
- package/dist/chunks/index-CxYbW27D.js.map +0 -1
- package/dist/chunks/index-D6LpzELR.js +0 -257
- package/dist/chunks/index-D6LpzELR.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-DbTEJc-K.js +0 -2
- package/dist/chunks/index-DbTEJc-K.js.map +0 -1
- package/dist/chunks/index-DlJs9pM6.js +0 -1195
- package/dist/chunks/index-DlJs9pM6.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-LDZVYRQt.js +0 -141
- package/dist/chunks/index-LDZVYRQt.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/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-BPggXzkH.js +0 -599
- package/dist/chunks/menu.component-BPggXzkH.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/modal.types-4zzWdH2-.js +0 -95
- package/dist/chunks/modal.types-4zzWdH2-.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/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-Bz0HF7PQ.js +0 -145
- package/dist/chunks/pinInput.types-Bz0HF7PQ.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-C-Z3nqiD.js +0 -43
- package/dist/chunks/popover-root-provider-C-Z3nqiD.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-BOUBKQSa.js +0 -196
- package/dist/chunks/popover.component-BOUBKQSa.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-qpxHK0Qz.js +0 -241
- package/dist/chunks/popover.recipe-qpxHK0Qz.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-BEIDLWVD.js +0 -2
- package/dist/chunks/radioGroup.types-BEIDLWVD.js.map +0 -1
- package/dist/chunks/radioGroup.types-CaOuRCIT.js +0 -219
- package/dist/chunks/radioGroup.types-CaOuRCIT.js.map +0 -1
- package/dist/chunks/ratingDots.component-BSxsE3Ri.js +0 -138
- package/dist/chunks/ratingDots.component-BSxsE3Ri.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-dTkof8Jm.js +0 -12
- package/dist/chunks/render-strategy-dTkof8Jm.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-CiPijmQE.js +0 -1054
- package/dist/chunks/select.component-CiPijmQE.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-CjfPYcdW.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-CzOv8dIY.js +0 -2
- package/dist/chunks/spinner.component-CzOv8dIY.js.map +0 -1
- package/dist/chunks/spinner.component-vkhAVeU1.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-TEOKzzqn.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-B8gX8Te0.js +0 -154
- package/dist/chunks/switch.component-B8gX8Te0.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/tab.types-D2Y_KCOG.js +0 -2
- package/dist/chunks/tab.types-D2Y_KCOG.js.map +0 -1
- package/dist/chunks/tab.types-eHuXLv2i.js +0 -616
- package/dist/chunks/tab.types-eHuXLv2i.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-lQeyNLgK.js +0 -2
- package/dist/chunks/tagBlock.component-lQeyNLgK.js.map +0 -1
- package/dist/chunks/tagBlock.component-xwy8mG6_.js.map +0 -1
- package/dist/chunks/text.component-nhTe7fy0.js +0 -12
- package/dist/chunks/text.component-nhTe7fy0.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-GBvY3agL.js +0 -169
- package/dist/chunks/textInput.component-GBvY3agL.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-DPI4Y1tG.js +0 -79
- package/dist/chunks/textarea.component-DPI4Y1tG.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-Din1M63M.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-B-zof_x8.js +0 -209
- package/dist/chunks/timePicker.component-B-zof_x8.js.map +0 -1
- package/dist/chunks/timeRange.component-CrHyiWyg.js +0 -18
- package/dist/chunks/timeRange.component-CrHyiWyg.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-Cm2EcVTa.js +0 -51
- package/dist/chunks/timestamp.component-Cm2EcVTa.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-BlX3B2Di.js +0 -2
- package/dist/chunks/tooltip.component-BlX3B2Di.js.map +0 -1
- package/dist/chunks/tooltip.component-CZjm8G_B.js +0 -492
- package/dist/chunks/tooltip.component-CZjm8G_B.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-DF-c50-r.js +0 -12
- package/dist/chunks/use-field-context-DF-c50-r.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-locale-context-DMynFc1_.js +0 -2301
- package/dist/chunks/use-locale-context-DMynFc1_.js.map +0 -1
- package/dist/chunks/use-radio-group-9-qfzljd.js +0 -2
- package/dist/chunks/use-radio-group-9-qfzljd.js.map +0 -1
- package/dist/chunks/use-radio-group-DdVEhdry.js +0 -16
- package/dist/chunks/use-radio-group-DdVEhdry.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-6X6RWCqX.js +0 -360
- package/dist/chunks/withFormControl-6X6RWCqX.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-DLR1Illa.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 -3252
- 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,1275 +0,0 @@
|
|
|
1
|
-
const H = {
|
|
2
|
-
lessThanXSeconds: {
|
|
3
|
-
one: "less than a second",
|
|
4
|
-
other: "less than {{count}} seconds"
|
|
5
|
-
},
|
|
6
|
-
xSeconds: {
|
|
7
|
-
one: "1 second",
|
|
8
|
-
other: "{{count}} seconds"
|
|
9
|
-
},
|
|
10
|
-
halfAMinute: "half a minute",
|
|
11
|
-
lessThanXMinutes: {
|
|
12
|
-
one: "less than a minute",
|
|
13
|
-
other: "less than {{count}} minutes"
|
|
14
|
-
},
|
|
15
|
-
xMinutes: {
|
|
16
|
-
one: "1 minute",
|
|
17
|
-
other: "{{count}} minutes"
|
|
18
|
-
},
|
|
19
|
-
aboutXHours: {
|
|
20
|
-
one: "about 1 hour",
|
|
21
|
-
other: "about {{count}} hours"
|
|
22
|
-
},
|
|
23
|
-
xHours: {
|
|
24
|
-
one: "1 hour",
|
|
25
|
-
other: "{{count}} hours"
|
|
26
|
-
},
|
|
27
|
-
xDays: {
|
|
28
|
-
one: "1 day",
|
|
29
|
-
other: "{{count}} days"
|
|
30
|
-
},
|
|
31
|
-
aboutXWeeks: {
|
|
32
|
-
one: "about 1 week",
|
|
33
|
-
other: "about {{count}} weeks"
|
|
34
|
-
},
|
|
35
|
-
xWeeks: {
|
|
36
|
-
one: "1 week",
|
|
37
|
-
other: "{{count}} weeks"
|
|
38
|
-
},
|
|
39
|
-
aboutXMonths: {
|
|
40
|
-
one: "about 1 month",
|
|
41
|
-
other: "about {{count}} months"
|
|
42
|
-
},
|
|
43
|
-
xMonths: {
|
|
44
|
-
one: "1 month",
|
|
45
|
-
other: "{{count}} months"
|
|
46
|
-
},
|
|
47
|
-
aboutXYears: {
|
|
48
|
-
one: "about 1 year",
|
|
49
|
-
other: "about {{count}} years"
|
|
50
|
-
},
|
|
51
|
-
xYears: {
|
|
52
|
-
one: "1 year",
|
|
53
|
-
other: "{{count}} years"
|
|
54
|
-
},
|
|
55
|
-
overXYears: {
|
|
56
|
-
one: "over 1 year",
|
|
57
|
-
other: "over {{count}} years"
|
|
58
|
-
},
|
|
59
|
-
almostXYears: {
|
|
60
|
-
one: "almost 1 year",
|
|
61
|
-
other: "almost {{count}} years"
|
|
62
|
-
}
|
|
63
|
-
}, Q = (t, e, n) => {
|
|
64
|
-
let r;
|
|
65
|
-
const a = H[t];
|
|
66
|
-
return typeof a == "string" ? r = a : e === 1 ? r = a.one : r = a.other.replace("{{count}}", e.toString()), n?.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r;
|
|
67
|
-
};
|
|
68
|
-
function k(t) {
|
|
69
|
-
return (e = {}) => {
|
|
70
|
-
const n = e.width ? String(e.width) : t.defaultWidth;
|
|
71
|
-
return t.formats[n] || t.formats[t.defaultWidth];
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
const X = {
|
|
75
|
-
full: "EEEE, MMMM do, y",
|
|
76
|
-
long: "MMMM do, y",
|
|
77
|
-
medium: "MMM d, y",
|
|
78
|
-
short: "MM/dd/yyyy"
|
|
79
|
-
}, _ = {
|
|
80
|
-
full: "h:mm:ss a zzzz",
|
|
81
|
-
long: "h:mm:ss a z",
|
|
82
|
-
medium: "h:mm:ss a",
|
|
83
|
-
short: "h:mm a"
|
|
84
|
-
}, L = {
|
|
85
|
-
full: "{{date}} 'at' {{time}}",
|
|
86
|
-
long: "{{date}} 'at' {{time}}",
|
|
87
|
-
medium: "{{date}}, {{time}}",
|
|
88
|
-
short: "{{date}}, {{time}}"
|
|
89
|
-
}, j = {
|
|
90
|
-
date: k({
|
|
91
|
-
formats: X,
|
|
92
|
-
defaultWidth: "full"
|
|
93
|
-
}),
|
|
94
|
-
time: k({
|
|
95
|
-
formats: _,
|
|
96
|
-
defaultWidth: "full"
|
|
97
|
-
}),
|
|
98
|
-
dateTime: k({
|
|
99
|
-
formats: L,
|
|
100
|
-
defaultWidth: "full"
|
|
101
|
-
})
|
|
102
|
-
}, G = {
|
|
103
|
-
lastWeek: "'last' eeee 'at' p",
|
|
104
|
-
yesterday: "'yesterday at' p",
|
|
105
|
-
today: "'today at' p",
|
|
106
|
-
tomorrow: "'tomorrow at' p",
|
|
107
|
-
nextWeek: "eeee 'at' p",
|
|
108
|
-
other: "P"
|
|
109
|
-
}, B = (t, e, n, r) => G[t];
|
|
110
|
-
function b(t) {
|
|
111
|
-
return (e, n) => {
|
|
112
|
-
const r = n?.context ? String(n.context) : "standalone";
|
|
113
|
-
let a;
|
|
114
|
-
if (r === "formatting" && t.formattingValues) {
|
|
115
|
-
const i = t.defaultFormattingWidth || t.defaultWidth, u = n?.width ? String(n.width) : i;
|
|
116
|
-
a = t.formattingValues[u] || t.formattingValues[i];
|
|
117
|
-
} else {
|
|
118
|
-
const i = t.defaultWidth, u = n?.width ? String(n.width) : t.defaultWidth;
|
|
119
|
-
a = t.values[u] || t.values[i];
|
|
120
|
-
}
|
|
121
|
-
const o = t.argumentCallback ? t.argumentCallback(e) : e;
|
|
122
|
-
return a[o];
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
const R = {
|
|
126
|
-
narrow: ["B", "A"],
|
|
127
|
-
abbreviated: ["BC", "AD"],
|
|
128
|
-
wide: ["Before Christ", "Anno Domini"]
|
|
129
|
-
}, A = {
|
|
130
|
-
narrow: ["1", "2", "3", "4"],
|
|
131
|
-
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
132
|
-
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
133
|
-
}, V = {
|
|
134
|
-
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
135
|
-
abbreviated: [
|
|
136
|
-
"Jan",
|
|
137
|
-
"Feb",
|
|
138
|
-
"Mar",
|
|
139
|
-
"Apr",
|
|
140
|
-
"May",
|
|
141
|
-
"Jun",
|
|
142
|
-
"Jul",
|
|
143
|
-
"Aug",
|
|
144
|
-
"Sep",
|
|
145
|
-
"Oct",
|
|
146
|
-
"Nov",
|
|
147
|
-
"Dec"
|
|
148
|
-
],
|
|
149
|
-
wide: [
|
|
150
|
-
"January",
|
|
151
|
-
"February",
|
|
152
|
-
"March",
|
|
153
|
-
"April",
|
|
154
|
-
"May",
|
|
155
|
-
"June",
|
|
156
|
-
"July",
|
|
157
|
-
"August",
|
|
158
|
-
"September",
|
|
159
|
-
"October",
|
|
160
|
-
"November",
|
|
161
|
-
"December"
|
|
162
|
-
]
|
|
163
|
-
}, I = {
|
|
164
|
-
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
165
|
-
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
166
|
-
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
167
|
-
wide: [
|
|
168
|
-
"Sunday",
|
|
169
|
-
"Monday",
|
|
170
|
-
"Tuesday",
|
|
171
|
-
"Wednesday",
|
|
172
|
-
"Thursday",
|
|
173
|
-
"Friday",
|
|
174
|
-
"Saturday"
|
|
175
|
-
]
|
|
176
|
-
}, J = {
|
|
177
|
-
narrow: {
|
|
178
|
-
am: "a",
|
|
179
|
-
pm: "p",
|
|
180
|
-
midnight: "mi",
|
|
181
|
-
noon: "n",
|
|
182
|
-
morning: "morning",
|
|
183
|
-
afternoon: "afternoon",
|
|
184
|
-
evening: "evening",
|
|
185
|
-
night: "night"
|
|
186
|
-
},
|
|
187
|
-
abbreviated: {
|
|
188
|
-
am: "AM",
|
|
189
|
-
pm: "PM",
|
|
190
|
-
midnight: "midnight",
|
|
191
|
-
noon: "noon",
|
|
192
|
-
morning: "morning",
|
|
193
|
-
afternoon: "afternoon",
|
|
194
|
-
evening: "evening",
|
|
195
|
-
night: "night"
|
|
196
|
-
},
|
|
197
|
-
wide: {
|
|
198
|
-
am: "a.m.",
|
|
199
|
-
pm: "p.m.",
|
|
200
|
-
midnight: "midnight",
|
|
201
|
-
noon: "noon",
|
|
202
|
-
morning: "morning",
|
|
203
|
-
afternoon: "afternoon",
|
|
204
|
-
evening: "evening",
|
|
205
|
-
night: "night"
|
|
206
|
-
}
|
|
207
|
-
}, $ = {
|
|
208
|
-
narrow: {
|
|
209
|
-
am: "a",
|
|
210
|
-
pm: "p",
|
|
211
|
-
midnight: "mi",
|
|
212
|
-
noon: "n",
|
|
213
|
-
morning: "in the morning",
|
|
214
|
-
afternoon: "in the afternoon",
|
|
215
|
-
evening: "in the evening",
|
|
216
|
-
night: "at night"
|
|
217
|
-
},
|
|
218
|
-
abbreviated: {
|
|
219
|
-
am: "AM",
|
|
220
|
-
pm: "PM",
|
|
221
|
-
midnight: "midnight",
|
|
222
|
-
noon: "noon",
|
|
223
|
-
morning: "in the morning",
|
|
224
|
-
afternoon: "in the afternoon",
|
|
225
|
-
evening: "in the evening",
|
|
226
|
-
night: "at night"
|
|
227
|
-
},
|
|
228
|
-
wide: {
|
|
229
|
-
am: "a.m.",
|
|
230
|
-
pm: "p.m.",
|
|
231
|
-
midnight: "midnight",
|
|
232
|
-
noon: "noon",
|
|
233
|
-
morning: "in the morning",
|
|
234
|
-
afternoon: "in the afternoon",
|
|
235
|
-
evening: "in the evening",
|
|
236
|
-
night: "at night"
|
|
237
|
-
}
|
|
238
|
-
}, z = (t, e) => {
|
|
239
|
-
const n = Number(t), r = n % 100;
|
|
240
|
-
if (r > 20 || r < 10)
|
|
241
|
-
switch (r % 10) {
|
|
242
|
-
case 1:
|
|
243
|
-
return n + "st";
|
|
244
|
-
case 2:
|
|
245
|
-
return n + "nd";
|
|
246
|
-
case 3:
|
|
247
|
-
return n + "rd";
|
|
248
|
-
}
|
|
249
|
-
return n + "th";
|
|
250
|
-
}, U = {
|
|
251
|
-
ordinalNumber: z,
|
|
252
|
-
era: b({
|
|
253
|
-
values: R,
|
|
254
|
-
defaultWidth: "wide"
|
|
255
|
-
}),
|
|
256
|
-
quarter: b({
|
|
257
|
-
values: A,
|
|
258
|
-
defaultWidth: "wide",
|
|
259
|
-
argumentCallback: (t) => t - 1
|
|
260
|
-
}),
|
|
261
|
-
month: b({
|
|
262
|
-
values: V,
|
|
263
|
-
defaultWidth: "wide"
|
|
264
|
-
}),
|
|
265
|
-
day: b({
|
|
266
|
-
values: I,
|
|
267
|
-
defaultWidth: "wide"
|
|
268
|
-
}),
|
|
269
|
-
dayPeriod: b({
|
|
270
|
-
values: J,
|
|
271
|
-
defaultWidth: "wide",
|
|
272
|
-
formattingValues: $,
|
|
273
|
-
defaultFormattingWidth: "wide"
|
|
274
|
-
})
|
|
275
|
-
};
|
|
276
|
-
function p(t) {
|
|
277
|
-
return (e, n = {}) => {
|
|
278
|
-
const r = n.width, a = r && t.matchPatterns[r] || t.matchPatterns[t.defaultMatchWidth], o = e.match(a);
|
|
279
|
-
if (!o)
|
|
280
|
-
return null;
|
|
281
|
-
const i = o[0], u = r && t.parsePatterns[r] || t.parsePatterns[t.defaultParseWidth], f = Array.isArray(u) ? Z(u, (c) => c.test(i)) : (
|
|
282
|
-
// [TODO] -- I challenge you to fix the type
|
|
283
|
-
K(u, (c) => c.test(i))
|
|
284
|
-
);
|
|
285
|
-
let m;
|
|
286
|
-
m = t.valueCallback ? t.valueCallback(f) : f, m = n.valueCallback ? (
|
|
287
|
-
// [TODO] -- I challenge you to fix the type
|
|
288
|
-
n.valueCallback(m)
|
|
289
|
-
) : m;
|
|
290
|
-
const d = e.slice(i.length);
|
|
291
|
-
return { value: m, rest: d };
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
function K(t, e) {
|
|
295
|
-
for (const n in t)
|
|
296
|
-
if (Object.prototype.hasOwnProperty.call(t, n) && e(t[n]))
|
|
297
|
-
return n;
|
|
298
|
-
}
|
|
299
|
-
function Z(t, e) {
|
|
300
|
-
for (let n = 0; n < t.length; n++)
|
|
301
|
-
if (e(t[n]))
|
|
302
|
-
return n;
|
|
303
|
-
}
|
|
304
|
-
function tt(t) {
|
|
305
|
-
return (e, n = {}) => {
|
|
306
|
-
const r = e.match(t.matchPattern);
|
|
307
|
-
if (!r) return null;
|
|
308
|
-
const a = r[0], o = e.match(t.parsePattern);
|
|
309
|
-
if (!o) return null;
|
|
310
|
-
let i = t.valueCallback ? t.valueCallback(o[0]) : o[0];
|
|
311
|
-
i = n.valueCallback ? n.valueCallback(i) : i;
|
|
312
|
-
const u = e.slice(a.length);
|
|
313
|
-
return { value: i, rest: u };
|
|
314
|
-
};
|
|
315
|
-
}
|
|
316
|
-
const et = /^(\d+)(th|st|nd|rd)?/i, nt = /\d+/i, rt = {
|
|
317
|
-
narrow: /^(b|a)/i,
|
|
318
|
-
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
319
|
-
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
320
|
-
}, at = {
|
|
321
|
-
any: [/^b/i, /^(a|c)/i]
|
|
322
|
-
}, ot = {
|
|
323
|
-
narrow: /^[1234]/i,
|
|
324
|
-
abbreviated: /^q[1234]/i,
|
|
325
|
-
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
326
|
-
}, it = {
|
|
327
|
-
any: [/1/i, /2/i, /3/i, /4/i]
|
|
328
|
-
}, st = {
|
|
329
|
-
narrow: /^[jfmasond]/i,
|
|
330
|
-
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
331
|
-
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
332
|
-
}, ut = {
|
|
333
|
-
narrow: [
|
|
334
|
-
/^j/i,
|
|
335
|
-
/^f/i,
|
|
336
|
-
/^m/i,
|
|
337
|
-
/^a/i,
|
|
338
|
-
/^m/i,
|
|
339
|
-
/^j/i,
|
|
340
|
-
/^j/i,
|
|
341
|
-
/^a/i,
|
|
342
|
-
/^s/i,
|
|
343
|
-
/^o/i,
|
|
344
|
-
/^n/i,
|
|
345
|
-
/^d/i
|
|
346
|
-
],
|
|
347
|
-
any: [
|
|
348
|
-
/^ja/i,
|
|
349
|
-
/^f/i,
|
|
350
|
-
/^mar/i,
|
|
351
|
-
/^ap/i,
|
|
352
|
-
/^may/i,
|
|
353
|
-
/^jun/i,
|
|
354
|
-
/^jul/i,
|
|
355
|
-
/^au/i,
|
|
356
|
-
/^s/i,
|
|
357
|
-
/^o/i,
|
|
358
|
-
/^n/i,
|
|
359
|
-
/^d/i
|
|
360
|
-
]
|
|
361
|
-
}, ct = {
|
|
362
|
-
narrow: /^[smtwf]/i,
|
|
363
|
-
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
364
|
-
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
365
|
-
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
366
|
-
}, dt = {
|
|
367
|
-
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
368
|
-
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
369
|
-
}, ft = {
|
|
370
|
-
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
371
|
-
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
372
|
-
}, ht = {
|
|
373
|
-
any: {
|
|
374
|
-
am: /^a/i,
|
|
375
|
-
pm: /^p/i,
|
|
376
|
-
midnight: /^mi/i,
|
|
377
|
-
noon: /^no/i,
|
|
378
|
-
morning: /morning/i,
|
|
379
|
-
afternoon: /afternoon/i,
|
|
380
|
-
evening: /evening/i,
|
|
381
|
-
night: /night/i
|
|
382
|
-
}
|
|
383
|
-
}, mt = {
|
|
384
|
-
ordinalNumber: tt({
|
|
385
|
-
matchPattern: et,
|
|
386
|
-
parsePattern: nt,
|
|
387
|
-
valueCallback: (t) => parseInt(t, 10)
|
|
388
|
-
}),
|
|
389
|
-
era: p({
|
|
390
|
-
matchPatterns: rt,
|
|
391
|
-
defaultMatchWidth: "wide",
|
|
392
|
-
parsePatterns: at,
|
|
393
|
-
defaultParseWidth: "any"
|
|
394
|
-
}),
|
|
395
|
-
quarter: p({
|
|
396
|
-
matchPatterns: ot,
|
|
397
|
-
defaultMatchWidth: "wide",
|
|
398
|
-
parsePatterns: it,
|
|
399
|
-
defaultParseWidth: "any",
|
|
400
|
-
valueCallback: (t) => t + 1
|
|
401
|
-
}),
|
|
402
|
-
month: p({
|
|
403
|
-
matchPatterns: st,
|
|
404
|
-
defaultMatchWidth: "wide",
|
|
405
|
-
parsePatterns: ut,
|
|
406
|
-
defaultParseWidth: "any"
|
|
407
|
-
}),
|
|
408
|
-
day: p({
|
|
409
|
-
matchPatterns: ct,
|
|
410
|
-
defaultMatchWidth: "wide",
|
|
411
|
-
parsePatterns: dt,
|
|
412
|
-
defaultParseWidth: "any"
|
|
413
|
-
}),
|
|
414
|
-
dayPeriod: p({
|
|
415
|
-
matchPatterns: ft,
|
|
416
|
-
defaultMatchWidth: "any",
|
|
417
|
-
parsePatterns: ht,
|
|
418
|
-
defaultParseWidth: "any"
|
|
419
|
-
})
|
|
420
|
-
}, lt = {
|
|
421
|
-
code: "en-US",
|
|
422
|
-
formatDistance: Q,
|
|
423
|
-
formatLong: j,
|
|
424
|
-
formatRelative: B,
|
|
425
|
-
localize: U,
|
|
426
|
-
match: mt,
|
|
427
|
-
options: {
|
|
428
|
-
weekStartsOn: 0,
|
|
429
|
-
firstWeekContainsDate: 1
|
|
430
|
-
}
|
|
431
|
-
};
|
|
432
|
-
let gt = {};
|
|
433
|
-
function O() {
|
|
434
|
-
return gt;
|
|
435
|
-
}
|
|
436
|
-
const E = 6048e5, wt = 864e5, v = Symbol.for("constructDateFrom");
|
|
437
|
-
function g(t, e) {
|
|
438
|
-
return typeof t == "function" ? t(e) : t && typeof t == "object" && v in t ? t[v](e) : t instanceof Date ? new t.constructor(e) : new Date(e);
|
|
439
|
-
}
|
|
440
|
-
function h(t, e) {
|
|
441
|
-
return g(e || t, t);
|
|
442
|
-
}
|
|
443
|
-
function W(t) {
|
|
444
|
-
const e = h(t), n = new Date(
|
|
445
|
-
Date.UTC(
|
|
446
|
-
e.getFullYear(),
|
|
447
|
-
e.getMonth(),
|
|
448
|
-
e.getDate(),
|
|
449
|
-
e.getHours(),
|
|
450
|
-
e.getMinutes(),
|
|
451
|
-
e.getSeconds(),
|
|
452
|
-
e.getMilliseconds()
|
|
453
|
-
)
|
|
454
|
-
);
|
|
455
|
-
return n.setUTCFullYear(e.getFullYear()), +t - +n;
|
|
456
|
-
}
|
|
457
|
-
function yt(t, ...e) {
|
|
458
|
-
const n = g.bind(
|
|
459
|
-
null,
|
|
460
|
-
e.find((r) => typeof r == "object")
|
|
461
|
-
);
|
|
462
|
-
return e.map(n);
|
|
463
|
-
}
|
|
464
|
-
function D(t, e) {
|
|
465
|
-
const n = h(t, e?.in);
|
|
466
|
-
return n.setHours(0, 0, 0, 0), n;
|
|
467
|
-
}
|
|
468
|
-
function bt(t, e, n) {
|
|
469
|
-
const [r, a] = yt(
|
|
470
|
-
n?.in,
|
|
471
|
-
t,
|
|
472
|
-
e
|
|
473
|
-
), o = D(r), i = D(a), u = +o - W(o), f = +i - W(i);
|
|
474
|
-
return Math.round((u - f) / wt);
|
|
475
|
-
}
|
|
476
|
-
function pt(t, e) {
|
|
477
|
-
const n = h(t, e?.in);
|
|
478
|
-
return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
|
|
479
|
-
}
|
|
480
|
-
function Pt(t, e) {
|
|
481
|
-
const n = h(t, e?.in);
|
|
482
|
-
return bt(n, pt(n)) + 1;
|
|
483
|
-
}
|
|
484
|
-
function P(t, e) {
|
|
485
|
-
const n = O(), r = e?.weekStartsOn ?? e?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, a = h(t, e?.in), o = a.getDay(), i = (o < r ? 7 : 0) + o - r;
|
|
486
|
-
return a.setDate(a.getDate() - i), a.setHours(0, 0, 0, 0), a;
|
|
487
|
-
}
|
|
488
|
-
function M(t, e) {
|
|
489
|
-
return P(t, { ...e, weekStartsOn: 1 });
|
|
490
|
-
}
|
|
491
|
-
function C(t, e) {
|
|
492
|
-
const n = h(t, e?.in), r = n.getFullYear(), a = g(n, 0);
|
|
493
|
-
a.setFullYear(r + 1, 0, 4), a.setHours(0, 0, 0, 0);
|
|
494
|
-
const o = M(a), i = g(n, 0);
|
|
495
|
-
i.setFullYear(r, 0, 4), i.setHours(0, 0, 0, 0);
|
|
496
|
-
const u = M(i);
|
|
497
|
-
return n.getTime() >= o.getTime() ? r + 1 : n.getTime() >= u.getTime() ? r : r - 1;
|
|
498
|
-
}
|
|
499
|
-
function Mt(t, e) {
|
|
500
|
-
const n = C(t, e), r = g(t, 0);
|
|
501
|
-
return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), M(r);
|
|
502
|
-
}
|
|
503
|
-
function Ot(t, e) {
|
|
504
|
-
const n = h(t, e?.in), r = +M(n) - +Mt(n);
|
|
505
|
-
return Math.round(r / E) + 1;
|
|
506
|
-
}
|
|
507
|
-
function q(t, e) {
|
|
508
|
-
const n = h(t, e?.in), r = n.getFullYear(), a = O(), o = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? a.firstWeekContainsDate ?? a.locale?.options?.firstWeekContainsDate ?? 1, i = g(e?.in || t, 0);
|
|
509
|
-
i.setFullYear(r + 1, 0, o), i.setHours(0, 0, 0, 0);
|
|
510
|
-
const u = P(i, e), f = g(e?.in || t, 0);
|
|
511
|
-
f.setFullYear(r, 0, o), f.setHours(0, 0, 0, 0);
|
|
512
|
-
const m = P(f, e);
|
|
513
|
-
return +n >= +u ? r + 1 : +n >= +m ? r : r - 1;
|
|
514
|
-
}
|
|
515
|
-
function xt(t, e) {
|
|
516
|
-
const n = O(), r = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, a = q(t, e), o = g(e?.in || t, 0);
|
|
517
|
-
return o.setFullYear(a, 0, r), o.setHours(0, 0, 0, 0), P(o, e);
|
|
518
|
-
}
|
|
519
|
-
function kt(t, e) {
|
|
520
|
-
const n = h(t, e?.in), r = +P(n, e) - +xt(n, e);
|
|
521
|
-
return Math.round(r / E) + 1;
|
|
522
|
-
}
|
|
523
|
-
function s(t, e) {
|
|
524
|
-
const n = t < 0 ? "-" : "", r = Math.abs(t).toString().padStart(e, "0");
|
|
525
|
-
return n + r;
|
|
526
|
-
}
|
|
527
|
-
const l = {
|
|
528
|
-
// Year
|
|
529
|
-
y(t, e) {
|
|
530
|
-
const n = t.getFullYear(), r = n > 0 ? n : 1 - n;
|
|
531
|
-
return s(e === "yy" ? r % 100 : r, e.length);
|
|
532
|
-
},
|
|
533
|
-
// Month
|
|
534
|
-
M(t, e) {
|
|
535
|
-
const n = t.getMonth();
|
|
536
|
-
return e === "M" ? String(n + 1) : s(n + 1, 2);
|
|
537
|
-
},
|
|
538
|
-
// Day of the month
|
|
539
|
-
d(t, e) {
|
|
540
|
-
return s(t.getDate(), e.length);
|
|
541
|
-
},
|
|
542
|
-
// AM or PM
|
|
543
|
-
a(t, e) {
|
|
544
|
-
const n = t.getHours() / 12 >= 1 ? "pm" : "am";
|
|
545
|
-
switch (e) {
|
|
546
|
-
case "a":
|
|
547
|
-
case "aa":
|
|
548
|
-
return n.toUpperCase();
|
|
549
|
-
case "aaa":
|
|
550
|
-
return n;
|
|
551
|
-
case "aaaaa":
|
|
552
|
-
return n[0];
|
|
553
|
-
case "aaaa":
|
|
554
|
-
default:
|
|
555
|
-
return n === "am" ? "a.m." : "p.m.";
|
|
556
|
-
}
|
|
557
|
-
},
|
|
558
|
-
// Hour [1-12]
|
|
559
|
-
h(t, e) {
|
|
560
|
-
return s(t.getHours() % 12 || 12, e.length);
|
|
561
|
-
},
|
|
562
|
-
// Hour [0-23]
|
|
563
|
-
H(t, e) {
|
|
564
|
-
return s(t.getHours(), e.length);
|
|
565
|
-
},
|
|
566
|
-
// Minute
|
|
567
|
-
m(t, e) {
|
|
568
|
-
return s(t.getMinutes(), e.length);
|
|
569
|
-
},
|
|
570
|
-
// Second
|
|
571
|
-
s(t, e) {
|
|
572
|
-
return s(t.getSeconds(), e.length);
|
|
573
|
-
},
|
|
574
|
-
// Fraction of second
|
|
575
|
-
S(t, e) {
|
|
576
|
-
const n = e.length, r = t.getMilliseconds(), a = Math.trunc(
|
|
577
|
-
r * Math.pow(10, n - 3)
|
|
578
|
-
);
|
|
579
|
-
return s(a, e.length);
|
|
580
|
-
}
|
|
581
|
-
}, y = {
|
|
582
|
-
midnight: "midnight",
|
|
583
|
-
noon: "noon",
|
|
584
|
-
morning: "morning",
|
|
585
|
-
afternoon: "afternoon",
|
|
586
|
-
evening: "evening",
|
|
587
|
-
night: "night"
|
|
588
|
-
}, S = {
|
|
589
|
-
// Era
|
|
590
|
-
G: function(t, e, n) {
|
|
591
|
-
const r = t.getFullYear() > 0 ? 1 : 0;
|
|
592
|
-
switch (e) {
|
|
593
|
-
// AD, BC
|
|
594
|
-
case "G":
|
|
595
|
-
case "GG":
|
|
596
|
-
case "GGG":
|
|
597
|
-
return n.era(r, { width: "abbreviated" });
|
|
598
|
-
// A, B
|
|
599
|
-
case "GGGGG":
|
|
600
|
-
return n.era(r, { width: "narrow" });
|
|
601
|
-
// Anno Domini, Before Christ
|
|
602
|
-
case "GGGG":
|
|
603
|
-
default:
|
|
604
|
-
return n.era(r, { width: "wide" });
|
|
605
|
-
}
|
|
606
|
-
},
|
|
607
|
-
// Year
|
|
608
|
-
y: function(t, e, n) {
|
|
609
|
-
if (e === "yo") {
|
|
610
|
-
const r = t.getFullYear(), a = r > 0 ? r : 1 - r;
|
|
611
|
-
return n.ordinalNumber(a, { unit: "year" });
|
|
612
|
-
}
|
|
613
|
-
return l.y(t, e);
|
|
614
|
-
},
|
|
615
|
-
// Local week-numbering year
|
|
616
|
-
Y: function(t, e, n, r) {
|
|
617
|
-
const a = q(t, r), o = a > 0 ? a : 1 - a;
|
|
618
|
-
if (e === "YY") {
|
|
619
|
-
const i = o % 100;
|
|
620
|
-
return s(i, 2);
|
|
621
|
-
}
|
|
622
|
-
return e === "Yo" ? n.ordinalNumber(o, { unit: "year" }) : s(o, e.length);
|
|
623
|
-
},
|
|
624
|
-
// ISO week-numbering year
|
|
625
|
-
R: function(t, e) {
|
|
626
|
-
const n = C(t);
|
|
627
|
-
return s(n, e.length);
|
|
628
|
-
},
|
|
629
|
-
// Extended year. This is a single number designating the year of this calendar system.
|
|
630
|
-
// The main difference between `y` and `u` localizers are B.C. years:
|
|
631
|
-
// | Year | `y` | `u` |
|
|
632
|
-
// |------|-----|-----|
|
|
633
|
-
// | AC 1 | 1 | 1 |
|
|
634
|
-
// | BC 1 | 1 | 0 |
|
|
635
|
-
// | BC 2 | 2 | -1 |
|
|
636
|
-
// Also `yy` always returns the last two digits of a year,
|
|
637
|
-
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
638
|
-
u: function(t, e) {
|
|
639
|
-
const n = t.getFullYear();
|
|
640
|
-
return s(n, e.length);
|
|
641
|
-
},
|
|
642
|
-
// Quarter
|
|
643
|
-
Q: function(t, e, n) {
|
|
644
|
-
const r = Math.ceil((t.getMonth() + 1) / 3);
|
|
645
|
-
switch (e) {
|
|
646
|
-
// 1, 2, 3, 4
|
|
647
|
-
case "Q":
|
|
648
|
-
return String(r);
|
|
649
|
-
// 01, 02, 03, 04
|
|
650
|
-
case "QQ":
|
|
651
|
-
return s(r, 2);
|
|
652
|
-
// 1st, 2nd, 3rd, 4th
|
|
653
|
-
case "Qo":
|
|
654
|
-
return n.ordinalNumber(r, { unit: "quarter" });
|
|
655
|
-
// Q1, Q2, Q3, Q4
|
|
656
|
-
case "QQQ":
|
|
657
|
-
return n.quarter(r, {
|
|
658
|
-
width: "abbreviated",
|
|
659
|
-
context: "formatting"
|
|
660
|
-
});
|
|
661
|
-
// 1, 2, 3, 4 (narrow quarter; could be not numerical)
|
|
662
|
-
case "QQQQQ":
|
|
663
|
-
return n.quarter(r, {
|
|
664
|
-
width: "narrow",
|
|
665
|
-
context: "formatting"
|
|
666
|
-
});
|
|
667
|
-
// 1st quarter, 2nd quarter, ...
|
|
668
|
-
case "QQQQ":
|
|
669
|
-
default:
|
|
670
|
-
return n.quarter(r, {
|
|
671
|
-
width: "wide",
|
|
672
|
-
context: "formatting"
|
|
673
|
-
});
|
|
674
|
-
}
|
|
675
|
-
},
|
|
676
|
-
// Stand-alone quarter
|
|
677
|
-
q: function(t, e, n) {
|
|
678
|
-
const r = Math.ceil((t.getMonth() + 1) / 3);
|
|
679
|
-
switch (e) {
|
|
680
|
-
// 1, 2, 3, 4
|
|
681
|
-
case "q":
|
|
682
|
-
return String(r);
|
|
683
|
-
// 01, 02, 03, 04
|
|
684
|
-
case "qq":
|
|
685
|
-
return s(r, 2);
|
|
686
|
-
// 1st, 2nd, 3rd, 4th
|
|
687
|
-
case "qo":
|
|
688
|
-
return n.ordinalNumber(r, { unit: "quarter" });
|
|
689
|
-
// Q1, Q2, Q3, Q4
|
|
690
|
-
case "qqq":
|
|
691
|
-
return n.quarter(r, {
|
|
692
|
-
width: "abbreviated",
|
|
693
|
-
context: "standalone"
|
|
694
|
-
});
|
|
695
|
-
// 1, 2, 3, 4 (narrow quarter; could be not numerical)
|
|
696
|
-
case "qqqqq":
|
|
697
|
-
return n.quarter(r, {
|
|
698
|
-
width: "narrow",
|
|
699
|
-
context: "standalone"
|
|
700
|
-
});
|
|
701
|
-
// 1st quarter, 2nd quarter, ...
|
|
702
|
-
case "qqqq":
|
|
703
|
-
default:
|
|
704
|
-
return n.quarter(r, {
|
|
705
|
-
width: "wide",
|
|
706
|
-
context: "standalone"
|
|
707
|
-
});
|
|
708
|
-
}
|
|
709
|
-
},
|
|
710
|
-
// Month
|
|
711
|
-
M: function(t, e, n) {
|
|
712
|
-
const r = t.getMonth();
|
|
713
|
-
switch (e) {
|
|
714
|
-
case "M":
|
|
715
|
-
case "MM":
|
|
716
|
-
return l.M(t, e);
|
|
717
|
-
// 1st, 2nd, ..., 12th
|
|
718
|
-
case "Mo":
|
|
719
|
-
return n.ordinalNumber(r + 1, { unit: "month" });
|
|
720
|
-
// Jan, Feb, ..., Dec
|
|
721
|
-
case "MMM":
|
|
722
|
-
return n.month(r, {
|
|
723
|
-
width: "abbreviated",
|
|
724
|
-
context: "formatting"
|
|
725
|
-
});
|
|
726
|
-
// J, F, ..., D
|
|
727
|
-
case "MMMMM":
|
|
728
|
-
return n.month(r, {
|
|
729
|
-
width: "narrow",
|
|
730
|
-
context: "formatting"
|
|
731
|
-
});
|
|
732
|
-
// January, February, ..., December
|
|
733
|
-
case "MMMM":
|
|
734
|
-
default:
|
|
735
|
-
return n.month(r, { width: "wide", context: "formatting" });
|
|
736
|
-
}
|
|
737
|
-
},
|
|
738
|
-
// Stand-alone month
|
|
739
|
-
L: function(t, e, n) {
|
|
740
|
-
const r = t.getMonth();
|
|
741
|
-
switch (e) {
|
|
742
|
-
// 1, 2, ..., 12
|
|
743
|
-
case "L":
|
|
744
|
-
return String(r + 1);
|
|
745
|
-
// 01, 02, ..., 12
|
|
746
|
-
case "LL":
|
|
747
|
-
return s(r + 1, 2);
|
|
748
|
-
// 1st, 2nd, ..., 12th
|
|
749
|
-
case "Lo":
|
|
750
|
-
return n.ordinalNumber(r + 1, { unit: "month" });
|
|
751
|
-
// Jan, Feb, ..., Dec
|
|
752
|
-
case "LLL":
|
|
753
|
-
return n.month(r, {
|
|
754
|
-
width: "abbreviated",
|
|
755
|
-
context: "standalone"
|
|
756
|
-
});
|
|
757
|
-
// J, F, ..., D
|
|
758
|
-
case "LLLLL":
|
|
759
|
-
return n.month(r, {
|
|
760
|
-
width: "narrow",
|
|
761
|
-
context: "standalone"
|
|
762
|
-
});
|
|
763
|
-
// January, February, ..., December
|
|
764
|
-
case "LLLL":
|
|
765
|
-
default:
|
|
766
|
-
return n.month(r, { width: "wide", context: "standalone" });
|
|
767
|
-
}
|
|
768
|
-
},
|
|
769
|
-
// Local week of year
|
|
770
|
-
w: function(t, e, n, r) {
|
|
771
|
-
const a = kt(t, r);
|
|
772
|
-
return e === "wo" ? n.ordinalNumber(a, { unit: "week" }) : s(a, e.length);
|
|
773
|
-
},
|
|
774
|
-
// ISO week of year
|
|
775
|
-
I: function(t, e, n) {
|
|
776
|
-
const r = Ot(t);
|
|
777
|
-
return e === "Io" ? n.ordinalNumber(r, { unit: "week" }) : s(r, e.length);
|
|
778
|
-
},
|
|
779
|
-
// Day of the month
|
|
780
|
-
d: function(t, e, n) {
|
|
781
|
-
return e === "do" ? n.ordinalNumber(t.getDate(), { unit: "date" }) : l.d(t, e);
|
|
782
|
-
},
|
|
783
|
-
// Day of year
|
|
784
|
-
D: function(t, e, n) {
|
|
785
|
-
const r = Pt(t);
|
|
786
|
-
return e === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : s(r, e.length);
|
|
787
|
-
},
|
|
788
|
-
// Day of week
|
|
789
|
-
E: function(t, e, n) {
|
|
790
|
-
const r = t.getDay();
|
|
791
|
-
switch (e) {
|
|
792
|
-
// Tue
|
|
793
|
-
case "E":
|
|
794
|
-
case "EE":
|
|
795
|
-
case "EEE":
|
|
796
|
-
return n.day(r, {
|
|
797
|
-
width: "abbreviated",
|
|
798
|
-
context: "formatting"
|
|
799
|
-
});
|
|
800
|
-
// T
|
|
801
|
-
case "EEEEE":
|
|
802
|
-
return n.day(r, {
|
|
803
|
-
width: "narrow",
|
|
804
|
-
context: "formatting"
|
|
805
|
-
});
|
|
806
|
-
// Tu
|
|
807
|
-
case "EEEEEE":
|
|
808
|
-
return n.day(r, {
|
|
809
|
-
width: "short",
|
|
810
|
-
context: "formatting"
|
|
811
|
-
});
|
|
812
|
-
// Tuesday
|
|
813
|
-
case "EEEE":
|
|
814
|
-
default:
|
|
815
|
-
return n.day(r, {
|
|
816
|
-
width: "wide",
|
|
817
|
-
context: "formatting"
|
|
818
|
-
});
|
|
819
|
-
}
|
|
820
|
-
},
|
|
821
|
-
// Local day of week
|
|
822
|
-
e: function(t, e, n, r) {
|
|
823
|
-
const a = t.getDay(), o = (a - r.weekStartsOn + 8) % 7 || 7;
|
|
824
|
-
switch (e) {
|
|
825
|
-
// Numerical value (Nth day of week with current locale or weekStartsOn)
|
|
826
|
-
case "e":
|
|
827
|
-
return String(o);
|
|
828
|
-
// Padded numerical value
|
|
829
|
-
case "ee":
|
|
830
|
-
return s(o, 2);
|
|
831
|
-
// 1st, 2nd, ..., 7th
|
|
832
|
-
case "eo":
|
|
833
|
-
return n.ordinalNumber(o, { unit: "day" });
|
|
834
|
-
case "eee":
|
|
835
|
-
return n.day(a, {
|
|
836
|
-
width: "abbreviated",
|
|
837
|
-
context: "formatting"
|
|
838
|
-
});
|
|
839
|
-
// T
|
|
840
|
-
case "eeeee":
|
|
841
|
-
return n.day(a, {
|
|
842
|
-
width: "narrow",
|
|
843
|
-
context: "formatting"
|
|
844
|
-
});
|
|
845
|
-
// Tu
|
|
846
|
-
case "eeeeee":
|
|
847
|
-
return n.day(a, {
|
|
848
|
-
width: "short",
|
|
849
|
-
context: "formatting"
|
|
850
|
-
});
|
|
851
|
-
// Tuesday
|
|
852
|
-
case "eeee":
|
|
853
|
-
default:
|
|
854
|
-
return n.day(a, {
|
|
855
|
-
width: "wide",
|
|
856
|
-
context: "formatting"
|
|
857
|
-
});
|
|
858
|
-
}
|
|
859
|
-
},
|
|
860
|
-
// Stand-alone local day of week
|
|
861
|
-
c: function(t, e, n, r) {
|
|
862
|
-
const a = t.getDay(), o = (a - r.weekStartsOn + 8) % 7 || 7;
|
|
863
|
-
switch (e) {
|
|
864
|
-
// Numerical value (same as in `e`)
|
|
865
|
-
case "c":
|
|
866
|
-
return String(o);
|
|
867
|
-
// Padded numerical value
|
|
868
|
-
case "cc":
|
|
869
|
-
return s(o, e.length);
|
|
870
|
-
// 1st, 2nd, ..., 7th
|
|
871
|
-
case "co":
|
|
872
|
-
return n.ordinalNumber(o, { unit: "day" });
|
|
873
|
-
case "ccc":
|
|
874
|
-
return n.day(a, {
|
|
875
|
-
width: "abbreviated",
|
|
876
|
-
context: "standalone"
|
|
877
|
-
});
|
|
878
|
-
// T
|
|
879
|
-
case "ccccc":
|
|
880
|
-
return n.day(a, {
|
|
881
|
-
width: "narrow",
|
|
882
|
-
context: "standalone"
|
|
883
|
-
});
|
|
884
|
-
// Tu
|
|
885
|
-
case "cccccc":
|
|
886
|
-
return n.day(a, {
|
|
887
|
-
width: "short",
|
|
888
|
-
context: "standalone"
|
|
889
|
-
});
|
|
890
|
-
// Tuesday
|
|
891
|
-
case "cccc":
|
|
892
|
-
default:
|
|
893
|
-
return n.day(a, {
|
|
894
|
-
width: "wide",
|
|
895
|
-
context: "standalone"
|
|
896
|
-
});
|
|
897
|
-
}
|
|
898
|
-
},
|
|
899
|
-
// ISO day of week
|
|
900
|
-
i: function(t, e, n) {
|
|
901
|
-
const r = t.getDay(), a = r === 0 ? 7 : r;
|
|
902
|
-
switch (e) {
|
|
903
|
-
// 2
|
|
904
|
-
case "i":
|
|
905
|
-
return String(a);
|
|
906
|
-
// 02
|
|
907
|
-
case "ii":
|
|
908
|
-
return s(a, e.length);
|
|
909
|
-
// 2nd
|
|
910
|
-
case "io":
|
|
911
|
-
return n.ordinalNumber(a, { unit: "day" });
|
|
912
|
-
// Tue
|
|
913
|
-
case "iii":
|
|
914
|
-
return n.day(r, {
|
|
915
|
-
width: "abbreviated",
|
|
916
|
-
context: "formatting"
|
|
917
|
-
});
|
|
918
|
-
// T
|
|
919
|
-
case "iiiii":
|
|
920
|
-
return n.day(r, {
|
|
921
|
-
width: "narrow",
|
|
922
|
-
context: "formatting"
|
|
923
|
-
});
|
|
924
|
-
// Tu
|
|
925
|
-
case "iiiiii":
|
|
926
|
-
return n.day(r, {
|
|
927
|
-
width: "short",
|
|
928
|
-
context: "formatting"
|
|
929
|
-
});
|
|
930
|
-
// Tuesday
|
|
931
|
-
case "iiii":
|
|
932
|
-
default:
|
|
933
|
-
return n.day(r, {
|
|
934
|
-
width: "wide",
|
|
935
|
-
context: "formatting"
|
|
936
|
-
});
|
|
937
|
-
}
|
|
938
|
-
},
|
|
939
|
-
// AM or PM
|
|
940
|
-
a: function(t, e, n) {
|
|
941
|
-
const a = t.getHours() / 12 >= 1 ? "pm" : "am";
|
|
942
|
-
switch (e) {
|
|
943
|
-
case "a":
|
|
944
|
-
case "aa":
|
|
945
|
-
return n.dayPeriod(a, {
|
|
946
|
-
width: "abbreviated",
|
|
947
|
-
context: "formatting"
|
|
948
|
-
});
|
|
949
|
-
case "aaa":
|
|
950
|
-
return n.dayPeriod(a, {
|
|
951
|
-
width: "abbreviated",
|
|
952
|
-
context: "formatting"
|
|
953
|
-
}).toLowerCase();
|
|
954
|
-
case "aaaaa":
|
|
955
|
-
return n.dayPeriod(a, {
|
|
956
|
-
width: "narrow",
|
|
957
|
-
context: "formatting"
|
|
958
|
-
});
|
|
959
|
-
case "aaaa":
|
|
960
|
-
default:
|
|
961
|
-
return n.dayPeriod(a, {
|
|
962
|
-
width: "wide",
|
|
963
|
-
context: "formatting"
|
|
964
|
-
});
|
|
965
|
-
}
|
|
966
|
-
},
|
|
967
|
-
// AM, PM, midnight, noon
|
|
968
|
-
b: function(t, e, n) {
|
|
969
|
-
const r = t.getHours();
|
|
970
|
-
let a;
|
|
971
|
-
switch (r === 12 ? a = y.noon : r === 0 ? a = y.midnight : a = r / 12 >= 1 ? "pm" : "am", e) {
|
|
972
|
-
case "b":
|
|
973
|
-
case "bb":
|
|
974
|
-
return n.dayPeriod(a, {
|
|
975
|
-
width: "abbreviated",
|
|
976
|
-
context: "formatting"
|
|
977
|
-
});
|
|
978
|
-
case "bbb":
|
|
979
|
-
return n.dayPeriod(a, {
|
|
980
|
-
width: "abbreviated",
|
|
981
|
-
context: "formatting"
|
|
982
|
-
}).toLowerCase();
|
|
983
|
-
case "bbbbb":
|
|
984
|
-
return n.dayPeriod(a, {
|
|
985
|
-
width: "narrow",
|
|
986
|
-
context: "formatting"
|
|
987
|
-
});
|
|
988
|
-
case "bbbb":
|
|
989
|
-
default:
|
|
990
|
-
return n.dayPeriod(a, {
|
|
991
|
-
width: "wide",
|
|
992
|
-
context: "formatting"
|
|
993
|
-
});
|
|
994
|
-
}
|
|
995
|
-
},
|
|
996
|
-
// in the morning, in the afternoon, in the evening, at night
|
|
997
|
-
B: function(t, e, n) {
|
|
998
|
-
const r = t.getHours();
|
|
999
|
-
let a;
|
|
1000
|
-
switch (r >= 17 ? a = y.evening : r >= 12 ? a = y.afternoon : r >= 4 ? a = y.morning : a = y.night, e) {
|
|
1001
|
-
case "B":
|
|
1002
|
-
case "BB":
|
|
1003
|
-
case "BBB":
|
|
1004
|
-
return n.dayPeriod(a, {
|
|
1005
|
-
width: "abbreviated",
|
|
1006
|
-
context: "formatting"
|
|
1007
|
-
});
|
|
1008
|
-
case "BBBBB":
|
|
1009
|
-
return n.dayPeriod(a, {
|
|
1010
|
-
width: "narrow",
|
|
1011
|
-
context: "formatting"
|
|
1012
|
-
});
|
|
1013
|
-
case "BBBB":
|
|
1014
|
-
default:
|
|
1015
|
-
return n.dayPeriod(a, {
|
|
1016
|
-
width: "wide",
|
|
1017
|
-
context: "formatting"
|
|
1018
|
-
});
|
|
1019
|
-
}
|
|
1020
|
-
},
|
|
1021
|
-
// Hour [1-12]
|
|
1022
|
-
h: function(t, e, n) {
|
|
1023
|
-
if (e === "ho") {
|
|
1024
|
-
let r = t.getHours() % 12;
|
|
1025
|
-
return r === 0 && (r = 12), n.ordinalNumber(r, { unit: "hour" });
|
|
1026
|
-
}
|
|
1027
|
-
return l.h(t, e);
|
|
1028
|
-
},
|
|
1029
|
-
// Hour [0-23]
|
|
1030
|
-
H: function(t, e, n) {
|
|
1031
|
-
return e === "Ho" ? n.ordinalNumber(t.getHours(), { unit: "hour" }) : l.H(t, e);
|
|
1032
|
-
},
|
|
1033
|
-
// Hour [0-11]
|
|
1034
|
-
K: function(t, e, n) {
|
|
1035
|
-
const r = t.getHours() % 12;
|
|
1036
|
-
return e === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : s(r, e.length);
|
|
1037
|
-
},
|
|
1038
|
-
// Hour [1-24]
|
|
1039
|
-
k: function(t, e, n) {
|
|
1040
|
-
let r = t.getHours();
|
|
1041
|
-
return r === 0 && (r = 24), e === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : s(r, e.length);
|
|
1042
|
-
},
|
|
1043
|
-
// Minute
|
|
1044
|
-
m: function(t, e, n) {
|
|
1045
|
-
return e === "mo" ? n.ordinalNumber(t.getMinutes(), { unit: "minute" }) : l.m(t, e);
|
|
1046
|
-
},
|
|
1047
|
-
// Second
|
|
1048
|
-
s: function(t, e, n) {
|
|
1049
|
-
return e === "so" ? n.ordinalNumber(t.getSeconds(), { unit: "second" }) : l.s(t, e);
|
|
1050
|
-
},
|
|
1051
|
-
// Fraction of second
|
|
1052
|
-
S: function(t, e) {
|
|
1053
|
-
return l.S(t, e);
|
|
1054
|
-
},
|
|
1055
|
-
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
1056
|
-
X: function(t, e, n) {
|
|
1057
|
-
const r = t.getTimezoneOffset();
|
|
1058
|
-
if (r === 0)
|
|
1059
|
-
return "Z";
|
|
1060
|
-
switch (e) {
|
|
1061
|
-
// Hours and optional minutes
|
|
1062
|
-
case "X":
|
|
1063
|
-
return T(r);
|
|
1064
|
-
// Hours, minutes and optional seconds without `:` delimiter
|
|
1065
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1066
|
-
// so this token always has the same output as `XX`
|
|
1067
|
-
case "XXXX":
|
|
1068
|
-
case "XX":
|
|
1069
|
-
return w(r);
|
|
1070
|
-
// Hours, minutes and optional seconds with `:` delimiter
|
|
1071
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1072
|
-
// so this token always has the same output as `XXX`
|
|
1073
|
-
case "XXXXX":
|
|
1074
|
-
case "XXX":
|
|
1075
|
-
// Hours and minutes with `:` delimiter
|
|
1076
|
-
default:
|
|
1077
|
-
return w(r, ":");
|
|
1078
|
-
}
|
|
1079
|
-
},
|
|
1080
|
-
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
1081
|
-
x: function(t, e, n) {
|
|
1082
|
-
const r = t.getTimezoneOffset();
|
|
1083
|
-
switch (e) {
|
|
1084
|
-
// Hours and optional minutes
|
|
1085
|
-
case "x":
|
|
1086
|
-
return T(r);
|
|
1087
|
-
// Hours, minutes and optional seconds without `:` delimiter
|
|
1088
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1089
|
-
// so this token always has the same output as `xx`
|
|
1090
|
-
case "xxxx":
|
|
1091
|
-
case "xx":
|
|
1092
|
-
return w(r);
|
|
1093
|
-
// Hours, minutes and optional seconds with `:` delimiter
|
|
1094
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1095
|
-
// so this token always has the same output as `xxx`
|
|
1096
|
-
case "xxxxx":
|
|
1097
|
-
case "xxx":
|
|
1098
|
-
// Hours and minutes with `:` delimiter
|
|
1099
|
-
default:
|
|
1100
|
-
return w(r, ":");
|
|
1101
|
-
}
|
|
1102
|
-
},
|
|
1103
|
-
// Timezone (GMT)
|
|
1104
|
-
O: function(t, e, n) {
|
|
1105
|
-
const r = t.getTimezoneOffset();
|
|
1106
|
-
switch (e) {
|
|
1107
|
-
// Short
|
|
1108
|
-
case "O":
|
|
1109
|
-
case "OO":
|
|
1110
|
-
case "OOO":
|
|
1111
|
-
return "GMT" + Y(r, ":");
|
|
1112
|
-
// Long
|
|
1113
|
-
case "OOOO":
|
|
1114
|
-
default:
|
|
1115
|
-
return "GMT" + w(r, ":");
|
|
1116
|
-
}
|
|
1117
|
-
},
|
|
1118
|
-
// Timezone (specific non-location)
|
|
1119
|
-
z: function(t, e, n) {
|
|
1120
|
-
const r = t.getTimezoneOffset();
|
|
1121
|
-
switch (e) {
|
|
1122
|
-
// Short
|
|
1123
|
-
case "z":
|
|
1124
|
-
case "zz":
|
|
1125
|
-
case "zzz":
|
|
1126
|
-
return "GMT" + Y(r, ":");
|
|
1127
|
-
// Long
|
|
1128
|
-
case "zzzz":
|
|
1129
|
-
default:
|
|
1130
|
-
return "GMT" + w(r, ":");
|
|
1131
|
-
}
|
|
1132
|
-
},
|
|
1133
|
-
// Seconds timestamp
|
|
1134
|
-
t: function(t, e, n) {
|
|
1135
|
-
const r = Math.trunc(+t / 1e3);
|
|
1136
|
-
return s(r, e.length);
|
|
1137
|
-
},
|
|
1138
|
-
// Milliseconds timestamp
|
|
1139
|
-
T: function(t, e, n) {
|
|
1140
|
-
return s(+t, e.length);
|
|
1141
|
-
}
|
|
1142
|
-
};
|
|
1143
|
-
function Y(t, e = "") {
|
|
1144
|
-
const n = t > 0 ? "-" : "+", r = Math.abs(t), a = Math.trunc(r / 60), o = r % 60;
|
|
1145
|
-
return o === 0 ? n + String(a) : n + String(a) + e + s(o, 2);
|
|
1146
|
-
}
|
|
1147
|
-
function T(t, e) {
|
|
1148
|
-
return t % 60 === 0 ? (t > 0 ? "-" : "+") + s(Math.abs(t) / 60, 2) : w(t, e);
|
|
1149
|
-
}
|
|
1150
|
-
function w(t, e = "") {
|
|
1151
|
-
const n = t > 0 ? "-" : "+", r = Math.abs(t), a = s(Math.trunc(r / 60), 2), o = s(r % 60, 2);
|
|
1152
|
-
return n + a + e + o;
|
|
1153
|
-
}
|
|
1154
|
-
const F = (t, e) => {
|
|
1155
|
-
switch (t) {
|
|
1156
|
-
case "P":
|
|
1157
|
-
return e.date({ width: "short" });
|
|
1158
|
-
case "PP":
|
|
1159
|
-
return e.date({ width: "medium" });
|
|
1160
|
-
case "PPP":
|
|
1161
|
-
return e.date({ width: "long" });
|
|
1162
|
-
case "PPPP":
|
|
1163
|
-
default:
|
|
1164
|
-
return e.date({ width: "full" });
|
|
1165
|
-
}
|
|
1166
|
-
}, N = (t, e) => {
|
|
1167
|
-
switch (t) {
|
|
1168
|
-
case "p":
|
|
1169
|
-
return e.time({ width: "short" });
|
|
1170
|
-
case "pp":
|
|
1171
|
-
return e.time({ width: "medium" });
|
|
1172
|
-
case "ppp":
|
|
1173
|
-
return e.time({ width: "long" });
|
|
1174
|
-
case "pppp":
|
|
1175
|
-
default:
|
|
1176
|
-
return e.time({ width: "full" });
|
|
1177
|
-
}
|
|
1178
|
-
}, vt = (t, e) => {
|
|
1179
|
-
const n = t.match(/(P+)(p+)?/) || [], r = n[1], a = n[2];
|
|
1180
|
-
if (!a)
|
|
1181
|
-
return F(t, e);
|
|
1182
|
-
let o;
|
|
1183
|
-
switch (r) {
|
|
1184
|
-
case "P":
|
|
1185
|
-
o = e.dateTime({ width: "short" });
|
|
1186
|
-
break;
|
|
1187
|
-
case "PP":
|
|
1188
|
-
o = e.dateTime({ width: "medium" });
|
|
1189
|
-
break;
|
|
1190
|
-
case "PPP":
|
|
1191
|
-
o = e.dateTime({ width: "long" });
|
|
1192
|
-
break;
|
|
1193
|
-
case "PPPP":
|
|
1194
|
-
default:
|
|
1195
|
-
o = e.dateTime({ width: "full" });
|
|
1196
|
-
break;
|
|
1197
|
-
}
|
|
1198
|
-
return o.replace("{{date}}", F(r, e)).replace("{{time}}", N(a, e));
|
|
1199
|
-
}, Wt = {
|
|
1200
|
-
p: N,
|
|
1201
|
-
P: vt
|
|
1202
|
-
}, Dt = /^D+$/, St = /^Y+$/, Yt = ["D", "DD", "YY", "YYYY"];
|
|
1203
|
-
function Tt(t) {
|
|
1204
|
-
return Dt.test(t);
|
|
1205
|
-
}
|
|
1206
|
-
function Ft(t) {
|
|
1207
|
-
return St.test(t);
|
|
1208
|
-
}
|
|
1209
|
-
function Et(t, e, n) {
|
|
1210
|
-
const r = Ct(t, e, n);
|
|
1211
|
-
if (console.warn(r), Yt.includes(t)) throw new RangeError(r);
|
|
1212
|
-
}
|
|
1213
|
-
function Ct(t, e, n) {
|
|
1214
|
-
const r = t[0] === "Y" ? "years" : "days of the month";
|
|
1215
|
-
return `Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
1216
|
-
}
|
|
1217
|
-
function qt(t) {
|
|
1218
|
-
return t instanceof Date || typeof t == "object" && Object.prototype.toString.call(t) === "[object Date]";
|
|
1219
|
-
}
|
|
1220
|
-
function Nt(t) {
|
|
1221
|
-
return !(!qt(t) && typeof t != "number" || isNaN(+h(t)));
|
|
1222
|
-
}
|
|
1223
|
-
const Ht = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Qt = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Xt = /^'([^]*?)'?$/, _t = /''/g, Lt = /[a-zA-Z]/;
|
|
1224
|
-
function Gt(t, e, n) {
|
|
1225
|
-
const r = O(), a = r.locale ?? lt, o = r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, i = r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, u = h(t, n?.in);
|
|
1226
|
-
if (!Nt(u))
|
|
1227
|
-
throw new RangeError("Invalid time value");
|
|
1228
|
-
let f = e.match(Qt).map((d) => {
|
|
1229
|
-
const c = d[0];
|
|
1230
|
-
if (c === "p" || c === "P") {
|
|
1231
|
-
const x = Wt[c];
|
|
1232
|
-
return x(d, a.formatLong);
|
|
1233
|
-
}
|
|
1234
|
-
return d;
|
|
1235
|
-
}).join("").match(Ht).map((d) => {
|
|
1236
|
-
if (d === "''")
|
|
1237
|
-
return { isToken: !1, value: "'" };
|
|
1238
|
-
const c = d[0];
|
|
1239
|
-
if (c === "'")
|
|
1240
|
-
return { isToken: !1, value: jt(d) };
|
|
1241
|
-
if (S[c])
|
|
1242
|
-
return { isToken: !0, value: d };
|
|
1243
|
-
if (c.match(Lt))
|
|
1244
|
-
throw new RangeError(
|
|
1245
|
-
"Format string contains an unescaped latin alphabet character `" + c + "`"
|
|
1246
|
-
);
|
|
1247
|
-
return { isToken: !1, value: d };
|
|
1248
|
-
});
|
|
1249
|
-
a.localize.preprocessor && (f = a.localize.preprocessor(u, f));
|
|
1250
|
-
const m = {
|
|
1251
|
-
firstWeekContainsDate: o,
|
|
1252
|
-
weekStartsOn: i,
|
|
1253
|
-
locale: a
|
|
1254
|
-
};
|
|
1255
|
-
return f.map((d) => {
|
|
1256
|
-
if (!d.isToken) return d.value;
|
|
1257
|
-
const c = d.value;
|
|
1258
|
-
(Ft(c) || Tt(c)) && Et(c, e, String(t));
|
|
1259
|
-
const x = S[c[0]];
|
|
1260
|
-
return x(u, c, a.localize, m);
|
|
1261
|
-
}).join("");
|
|
1262
|
-
}
|
|
1263
|
-
function jt(t) {
|
|
1264
|
-
const e = t.match(Xt);
|
|
1265
|
-
return e ? e[1].replace(_t, "'") : t;
|
|
1266
|
-
}
|
|
1267
|
-
export {
|
|
1268
|
-
g as c,
|
|
1269
|
-
Gt as f,
|
|
1270
|
-
qt as i,
|
|
1271
|
-
yt as n,
|
|
1272
|
-
D as s,
|
|
1273
|
-
h as t
|
|
1274
|
-
};
|
|
1275
|
-
//# sourceMappingURL=format-DgHM6wFr.js.map
|