@televet/kibble-ui 4.0.0-beta.68 → 4.0.0-beta.7
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-BgmtNKXK.js +2 -0
- package/dist/chunks/alert.types-BgmtNKXK.js.map +1 -0
- package/dist/chunks/alert.types-Bxdx-xbS.js +172 -0
- package/dist/chunks/alert.types-Bxdx-xbS.js.map +1 -0
- package/dist/chunks/avatar.component-BdxN6QYq.js +307 -0
- package/dist/chunks/avatar.component-BdxN6QYq.js.map +1 -0
- package/dist/chunks/avatar.component-BzPaBLJu.js +2 -0
- package/dist/chunks/avatar.component-BzPaBLJu.js.map +1 -0
- package/dist/chunks/{avatarGroup.component-lvFlOaqP.js → avatarGroup.component-CceV-fW0.js} +28 -27
- package/dist/chunks/{avatarGroup.component-lvFlOaqP.js.map → avatarGroup.component-CceV-fW0.js.map} +1 -1
- package/dist/chunks/avatarGroup.component-Q43nemix.js +2 -0
- package/dist/chunks/{avatarGroup.component-Cyoh97E9.js.map → avatarGroup.component-Q43nemix.js.map} +1 -1
- package/dist/chunks/button.component-B0GkYzVz.js +2 -0
- package/dist/chunks/button.component-B0GkYzVz.js.map +1 -0
- package/dist/chunks/{button.component-BpF3MzbZ.js → button.component-BtkAjIWe.js} +10 -10
- package/dist/chunks/button.component-BtkAjIWe.js.map +1 -0
- package/dist/chunks/buttonGroup.component-B2VRV-q9.js +2 -0
- package/dist/chunks/buttonGroup.component-B2VRV-q9.js.map +1 -0
- package/dist/chunks/buttonGroup.component-ZElXi_Hz.js +67 -0
- package/dist/chunks/buttonGroup.component-ZElXi_Hz.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-Dd0L8qXA.js → chakra-BqBkjpvZ.js} +11093 -11916
- 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-MBtgMpUc.js.map → characterCounter.component-BXxyn_IB.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-B0MF_ObL.js → characterCounter.component-DhiMcztY.js} +12 -14
- package/dist/chunks/{characterCounter.component-B0MF_ObL.js.map → characterCounter.component-DhiMcztY.js.map} +1 -1
- package/dist/chunks/checkbox.component-DCdt-YxF.js +90 -0
- package/dist/chunks/checkbox.component-DCdt-YxF.js.map +1 -0
- package/dist/chunks/checkbox.component-jiWqSWP0.js +2 -0
- package/dist/chunks/checkbox.component-jiWqSWP0.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-BYKUQW4y.js +2 -0
- package/dist/chunks/{checkboxGroup.component-DYiLp3m_.js.map → checkboxGroup.component-BYKUQW4y.js.map} +1 -1
- package/dist/chunks/checkboxGroup.component-DcIdfbbl.js +51 -0
- package/dist/chunks/{checkboxGroup.component-CMyApVxs.js.map → checkboxGroup.component-DcIdfbbl.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-BirDNlVs.js → conversationCard.component-BSfDNuuw.js} +49 -51
- package/dist/chunks/conversationCard.component-BSfDNuuw.js.map +1 -0
- package/dist/chunks/conversationCard.component-BcHNpQ76.js +2 -0
- package/dist/chunks/conversationCard.component-BcHNpQ76.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-CnRDt24V.js +2 -0
- package/dist/chunks/datePicker.component-CnRDt24V.js.map +1 -0
- package/dist/chunks/datePicker.component-DubnEnlU.js +750 -0
- package/dist/chunks/datePicker.component-DubnEnlU.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-Dlq8P2tc.js → dnd-DDR6viHX.js} +887 -1015
- 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/heading.records-BaWnrbgl.js +14 -0
- package/dist/chunks/heading.records-BaWnrbgl.js.map +1 -0
- package/dist/chunks/heading.records-CbR05iL_.js +2 -0
- package/dist/chunks/heading.records-CbR05iL_.js.map +1 -0
- package/dist/chunks/{icon.component-DGNCL1Yc.js → icon.component-DjNY589M.js} +16 -14
- package/dist/chunks/icon.component-DjNY589M.js.map +1 -0
- package/dist/chunks/icon.component-DtX9HDyk.js +2 -0
- package/dist/chunks/icon.component-DtX9HDyk.js.map +1 -0
- package/dist/chunks/link.component-DjkiASIu.js +58 -0
- package/dist/chunks/link.component-DjkiASIu.js.map +1 -0
- package/dist/chunks/link.component-XWINESZ0.js +2 -0
- package/dist/chunks/link.component-XWINESZ0.js.map +1 -0
- package/dist/chunks/menu.component-CT28-CuT.js +2 -0
- package/dist/chunks/menu.component-CT28-CuT.js.map +1 -0
- package/dist/chunks/menu.component-gxhQh-pU.js +390 -0
- package/dist/chunks/menu.component-gxhQh-pU.js.map +1 -0
- package/dist/chunks/modal.types-CcUqszK6.js +2 -0
- package/dist/chunks/modal.types-CcUqszK6.js.map +1 -0
- package/dist/chunks/modal.types-pXkUwszR.js +146 -0
- package/dist/chunks/modal.types-pXkUwszR.js.map +1 -0
- package/dist/chunks/notificationCounter.component-D6v39lna.js +2 -0
- package/dist/chunks/{notificationCounter.component-BhZcuBmr.js.map → notificationCounter.component-D6v39lna.js.map} +1 -1
- package/dist/chunks/{notificationCounter.component-CHlLTEiF.js → notificationCounter.component-DU5P6Ilh.js} +8 -10
- package/dist/chunks/{notificationCounter.component-CHlLTEiF.js.map → notificationCounter.component-DU5P6Ilh.js.map} +1 -1
- package/dist/chunks/popover.component-CnJmg9qf.js +221 -0
- package/dist/chunks/popover.component-CnJmg9qf.js.map +1 -0
- package/dist/chunks/popover.component-DdC0CY7-.js +2 -0
- package/dist/chunks/popover.component-DdC0CY7-.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/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-Cmi6MDqq.js +2 -0
- package/dist/chunks/radioGroup.component-Cmi6MDqq.js.map +1 -0
- package/dist/chunks/radioGroup.component-D96ItNYx.js +151 -0
- package/dist/chunks/radioGroup.component-D96ItNYx.js.map +1 -0
- package/dist/chunks/{ratingDots.component-B2jdV6Uk.js → ratingDots.component-B4OK_lXC.js} +28 -31
- package/dist/chunks/{ratingDots.component-B2jdV6Uk.js.map → ratingDots.component-B4OK_lXC.js.map} +1 -1
- package/dist/chunks/ratingDots.component-DOZX6EE0.js +2 -0
- package/dist/chunks/{ratingDots.component-DV7pmIJJ.js.map → ratingDots.component-DOZX6EE0.js.map} +1 -1
- package/dist/chunks/select.component-CqhmG4oz.js +2 -0
- package/dist/chunks/select.component-CqhmG4oz.js.map +1 -0
- package/dist/chunks/select.component-_JVxRL_-.js +129 -0
- package/dist/chunks/select.component-_JVxRL_-.js.map +1 -0
- package/dist/chunks/sortableList.component-BH9-C_Pe.js +2 -0
- package/dist/chunks/sortableList.component-BH9-C_Pe.js.map +1 -0
- package/dist/chunks/sortableList.component-CdDArkRq.js +145 -0
- package/dist/chunks/sortableList.component-CdDArkRq.js.map +1 -0
- package/dist/chunks/spinner.component-CUuidnSK.js +2 -0
- package/dist/chunks/{spinner.component-DBCa-ZPE.js.map → spinner.component-CUuidnSK.js.map} +1 -1
- package/dist/chunks/{spinner.component-DsDyKpq2.js → spinner.component-D5tkelNc.js} +19 -21
- package/dist/chunks/spinner.component-D5tkelNc.js.map +1 -0
- package/dist/chunks/styledAvatar.types-CMdLnJHx.js +2 -0
- package/dist/chunks/styledAvatar.types-CMdLnJHx.js.map +1 -0
- package/dist/chunks/{styledAvatar.types-X9FV2vOM.js → styledAvatar.types-CoxQchLt.js} +3 -3
- package/dist/chunks/styledAvatar.types-CoxQchLt.js.map +1 -0
- package/dist/chunks/switch.component-6jkW8-JB.js +2 -0
- package/dist/chunks/switch.component-6jkW8-JB.js.map +1 -0
- package/dist/chunks/switch.component-BopLXT0i.js +53 -0
- package/dist/chunks/switch.component-BopLXT0i.js.map +1 -0
- package/dist/chunks/tabs.component-BJv145kf.js +2 -0
- package/dist/chunks/tabs.component-BJv145kf.js.map +1 -0
- package/dist/chunks/tabs.component-DTvdLvkX.js +87 -0
- package/dist/chunks/tabs.component-DTvdLvkX.js.map +1 -0
- package/dist/chunks/tag.component-DK64cZSr.js +67 -0
- package/dist/chunks/tag.component-DK64cZSr.js.map +1 -0
- package/dist/chunks/tag.component-D_hbxu6m.js +2 -0
- package/dist/chunks/tag.component-D_hbxu6m.js.map +1 -0
- package/dist/chunks/{tagBlock.component-B_dQ7rGS.js → tagBlock.component-LX4_ve_f.js} +17 -18
- package/dist/chunks/tagBlock.component-LX4_ve_f.js.map +1 -0
- package/dist/chunks/tagBlock.component-a2gERgrx.js +2 -0
- package/dist/chunks/tagBlock.component-a2gERgrx.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/text.records-BK_JBYsT.js +16 -0
- package/dist/chunks/text.records-BK_JBYsT.js.map +1 -0
- package/dist/chunks/text.records-CIL3bbY0.js +2 -0
- package/dist/chunks/text.records-CIL3bbY0.js.map +1 -0
- package/dist/chunks/textInput.component-Bk7D4sbG.js +99 -0
- package/dist/chunks/textInput.component-Bk7D4sbG.js.map +1 -0
- package/dist/chunks/textInput.component-GSpfSqUc.js +2 -0
- package/dist/chunks/textInput.component-GSpfSqUc.js.map +1 -0
- package/dist/chunks/textarea.component-B8U8KcND.js +2 -0
- package/dist/chunks/textarea.component-B8U8KcND.js.map +1 -0
- package/dist/chunks/textarea.component-CT8iVuNX.js +51 -0
- package/dist/chunks/textarea.component-CT8iVuNX.js.map +1 -0
- package/dist/chunks/{timePicker.component-D0WsvkI5.js → timePicker.component--ABdI3GF.js} +43 -46
- package/dist/chunks/{timePicker.component-D0WsvkI5.js.map → timePicker.component--ABdI3GF.js.map} +1 -1
- package/dist/chunks/timePicker.component-Dw_FjiQX.js +2 -0
- package/dist/chunks/{timePicker.component-CegBtxsl.js.map → timePicker.component-Dw_FjiQX.js.map} +1 -1
- package/dist/chunks/timeRange.component-B3OvVyo_.js +17 -0
- package/dist/chunks/{timeRange.component-C1p0bfmg.js.map → timeRange.component-B3OvVyo_.js.map} +1 -1
- package/dist/chunks/timeRange.component-RLisXhuw.js +2 -0
- package/dist/chunks/{timeRange.component-Cc3ZfoeN.js.map → timeRange.component-RLisXhuw.js.map} +1 -1
- 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/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-B269FujS.js +149 -0
- package/dist/chunks/withFormControl-B269FujS.js.map +1 -0
- package/dist/chunks/withFormControl-Cy6Bwv0i.js +2 -0
- package/dist/chunks/withFormControl-Cy6Bwv0i.js.map +1 -0
- package/dist/chunks/withTruncation-BskZBBVs.js +2 -0
- package/dist/chunks/{withTruncation-GECNx84Z.js.map → withTruncation-BskZBBVs.js.map} +1 -1
- package/dist/chunks/{withTruncation-GECNx84Z.js → withTruncation-C2xFKhgB.js} +28 -21
- package/dist/chunks/{withTruncation-lxIe2bbU.js.map → withTruncation-C2xFKhgB.js.map} +1 -1
- package/dist/cjs/components/Alert/index.cjs +1 -1
- package/dist/cjs/components/Avatar/index.cjs +1 -1
- package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
- package/dist/cjs/components/Button/index.cjs +1 -1
- package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
- package/dist/cjs/components/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/theme/index.cjs +23 -1
- package/dist/cjs/theme/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/blurs/index.cjs +1 -1
- package/dist/cjs/theme/tokens/blurs/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/borders/index.cjs +1 -1
- package/dist/cjs/theme/tokens/borders/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/index.cjs +1 -1
- package/dist/cjs/theme/tokens/shadows/index.cjs +1 -1
- package/dist/cjs/theme/tokens/shadows/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/sizes/index.cjs +1 -1
- package/dist/cjs/theme/tokens/sizes/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/spacing/index.cjs +1 -1
- package/dist/cjs/theme/tokens/spacing/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/transitions/index.cjs +1 -1
- package/dist/cjs/theme/tokens/transitions/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/typography/index.cjs +1 -1
- package/dist/cjs/theme/tokens/typography/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/zIndices/index.cjs +1 -1
- package/dist/cjs/theme/tokens/zIndices/index.cjs.map +1 -1
- package/dist/esm/components/Alert/index.js +5 -3
- package/dist/esm/components/Avatar/index.js +1 -1
- package/dist/esm/components/AvatarGroup/index.js +1 -1
- package/dist/esm/components/Button/index.js +1 -1
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/Card/index.js +5 -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 +4 -3
- package/dist/esm/components/Heading/index.js +4 -2
- package/dist/esm/components/Heading/index.js.map +1 -1
- package/dist/esm/components/Icon/generated/index.js +338 -373
- package/dist/esm/components/Icon/generated/index.js.map +1 -1
- package/dist/esm/components/Icon/index.js +6 -4
- 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 +11 -5
- 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 +1 -1
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/RatingDots/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/SortableList/index.js +1 -1
- package/dist/esm/components/Spinner/index.js +1 -1
- package/dist/esm/components/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 +1 -1
- package/dist/esm/components/Tag/index.js +6 -5
- package/dist/esm/components/Text/index.js +4 -2
- package/dist/esm/components/Text/index.js.map +1 -1
- package/dist/esm/components/TextInput/index.js +3 -2
- 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 +111 -122
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/hocs/index.js +35 -3
- package/dist/esm/hocs/index.js.map +1 -1
- package/dist/esm/hooks/index.js +17 -7
- package/dist/esm/hooks/index.js.map +1 -1
- package/dist/esm/index.js +116 -141
- 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/theme/index.js +2477 -3
- package/dist/esm/theme/index.js.map +1 -1
- package/dist/esm/theme/tokens/blurs/index.js +13 -1
- package/dist/esm/theme/tokens/blurs/index.js.map +1 -1
- package/dist/esm/theme/tokens/borders/index.js +22 -1
- package/dist/esm/theme/tokens/borders/index.js.map +1 -1
- package/dist/esm/theme/tokens/index.js +26 -2
- package/dist/esm/theme/tokens/index.js.map +1 -1
- package/dist/esm/theme/tokens/shadows/index.js +55 -1
- package/dist/esm/theme/tokens/shadows/index.js.map +1 -1
- package/dist/esm/theme/tokens/sizes/index.js +28 -1
- package/dist/esm/theme/tokens/sizes/index.js.map +1 -1
- package/dist/esm/theme/tokens/spacing/index.js +38 -1
- package/dist/esm/theme/tokens/spacing/index.js.map +1 -1
- package/dist/esm/theme/tokens/transitions/index.js +17 -1
- package/dist/esm/theme/tokens/transitions/index.js.map +1 -1
- package/dist/esm/theme/tokens/typography/index.js +53 -1
- package/dist/esm/theme/tokens/typography/index.js.map +1 -1
- package/dist/esm/theme/tokens/zIndices/index.js +19 -1
- package/dist/esm/theme/tokens/zIndices/index.js.map +1 -1
- 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/docs/alert.argTypes.d.ts +5 -0
- package/dist/types/components/Alert/index.d.ts +1 -0
- package/dist/types/components/Alert.d.ts +2 -0
- package/dist/types/components/Avatar/avatar.recipe.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.recipe.d.ts +2 -2
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.types.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarBadge/docs/avatarBadge.argTypes.d.ts +3 -0
- package/dist/types/components/Avatar/docs/avatar.argTypes.d.ts +3 -0
- package/dist/types/components/Avatar.d.ts +2 -0
- package/dist/types/components/AvatarGroup/docs/avatarGroup.argTypes.d.ts +3 -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/docs/button.argTypes.d.ts +3 -0
- package/dist/types/components/Button.d.ts +2 -0
- package/dist/types/components/ButtonGroup/docs/buttonGroup.argTypes.d.ts +3 -0
- 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/docs/card.argTypes.d.ts +3 -0
- package/dist/types/components/Card/index.d.ts +1 -0
- package/dist/types/components/Card.d.ts +2 -0
- package/dist/types/components/CharacterCounter/docs/characterCounter.argTypes.d.ts +3 -0
- package/dist/types/components/CharacterCounter.d.ts +2 -0
- package/dist/types/components/Checkbox/docs/checkbox.argTypes.d.ts +3 -0
- package/dist/types/components/Checkbox.d.ts +2 -0
- package/dist/types/components/CheckboxGroup/docs/checkboxGroup.argTypes.d.ts +3 -0
- package/dist/types/components/CheckboxGroup.d.ts +2 -0
- package/dist/types/components/DatePicker/docs/datePicker.argTypes.d.ts +3 -0
- package/dist/types/components/DatePicker/index.d.ts +1 -0
- package/dist/types/components/DatePicker.d.ts +2 -0
- package/dist/types/components/Heading/docs/heading.argTypes.d.ts +3 -0
- package/dist/types/components/Heading/heading.component.d.ts +2 -1
- package/dist/types/components/Heading/heading.recipe.d.ts +1 -1
- package/dist/types/components/Heading/heading.types.d.ts +1 -1
- package/dist/types/components/Heading/index.d.ts +1 -0
- package/dist/types/components/Heading.d.ts +2 -0
- package/dist/types/components/Icon/docs/icon.argTypes.d.ts +3 -0
- 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/index.d.ts +1 -0
- package/dist/types/components/Icon.d.ts +2 -0
- package/dist/types/components/Link/docs/link.argTypes.d.ts +5 -0
- package/dist/types/components/Link/link.recipe.d.ts +1 -1
- package/dist/types/components/Link.d.ts +2 -0
- package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +2 -3
- package/dist/types/components/Menu/docs/menu.argTypes.d.ts +4 -0
- package/dist/types/components/Menu/menu.component.d.ts +1 -1
- package/dist/types/components/Menu.d.ts +2 -0
- package/dist/types/components/Modal/docs/modal.argTypes.d.ts +3 -0
- package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
- package/dist/types/components/Modal.d.ts +2 -0
- package/dist/types/components/NotificationCounter/docs/notificationCounter.argTypes.d.ts +3 -0
- package/dist/types/components/NotificationCounter/index.d.ts +1 -0
- package/dist/types/components/NotificationCounter/notificationCounter.recipe.d.ts +2 -2
- package/dist/types/components/NotificationCounter.d.ts +2 -0
- package/dist/types/components/Picture/docs/picture.argTypes.d.ts +3 -0
- package/dist/types/components/Picture.d.ts +2 -0
- package/dist/types/components/Popover/docs/popover.argTypes.d.ts +3 -0
- 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/docs/radio.argTypes.d.ts +3 -0
- package/dist/types/components/RadioGroup/docs/radioGroup.argTypes.d.ts +3 -0
- package/dist/types/components/RadioGroup/index.d.ts +0 -1
- package/dist/types/components/RadioGroup.d.ts +2 -0
- package/dist/types/components/RatingDots/docs/ratingDots.argTypes.d.ts +3 -0
- package/dist/types/components/RatingDots.d.ts +2 -0
- package/dist/types/components/Select/docs/select.argTypes.d.ts +3 -0
- package/dist/types/components/Select/select.component.d.ts +0 -3
- package/dist/types/components/Select.d.ts +2 -0
- package/dist/types/components/SortableList/docs/sortableList.argTypes.d.ts +3 -0
- package/dist/types/components/SortableList/index.d.ts +0 -1
- package/dist/types/components/SortableList.d.ts +2 -0
- package/dist/types/components/Spinner/docs/spinner.argTypes.d.ts +3 -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/docs/swatch.argTypes.d.ts +3 -0
- package/dist/types/components/Swatch/swatch.recipe.d.ts +1 -1
- package/dist/types/components/Swatch.d.ts +2 -0
- package/dist/types/components/Switch/docs/switch.argTypes.d.ts +3 -0
- package/dist/types/components/Switch.d.ts +2 -0
- package/dist/types/components/Tabs/components/Tab/docs/tab.argTypes.d.ts +3 -0
- package/dist/types/components/Tabs/docs/tabs.argTypes.d.ts +3 -0
- 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/docs/tag.argTypes.d.ts +3 -0
- package/dist/types/components/Tag/index.d.ts +1 -0
- 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/docs/text.argTypes.d.ts +3 -0
- package/dist/types/components/Text/index.d.ts +1 -0
- package/dist/types/components/Text/text.component.d.ts +2 -1
- package/dist/types/components/Text/text.recipe.d.ts +2 -1
- 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/docs/textInput.argTypes.d.ts +3 -0
- package/dist/types/components/TextInput/index.d.ts +1 -0
- package/dist/types/components/TextInput.d.ts +2 -0
- package/dist/types/components/Textarea/docs/textarea.argTypes.d.ts +3 -0
- package/dist/types/components/Textarea.d.ts +2 -0
- package/dist/types/components/TimePicker/docs/timePicker.argTypes.d.ts +3 -0
- package/dist/types/components/TimePicker.d.ts +2 -0
- package/dist/types/components/TimeRange/docs/timeRange.argTypes.d.ts +3 -0
- package/dist/types/components/TimeRange.d.ts +2 -0
- package/dist/types/components/Tooltip/docs/tooltip.argTypes.d.ts +3 -0
- package/dist/types/components/Tooltip/tooltip.component.d.ts +5 -9
- 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/withFormControl/withFormControl.d.ts +1 -2
- package/dist/types/hocs.d.ts +2 -0
- package/dist/types/hooks/index.d.ts +0 -2
- 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 +1 -1
- package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +2 -2
- package/dist/types/{components → patterns}/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +1 -1
- package/dist/types/{components → patterns}/ConversationCard/conversationCard.component.d.ts +1 -1
- package/dist/types/patterns/ConversationCard/docs/conversationCard.argTypes.d.ts +12 -0
- package/dist/types/patterns/ConversationCard/docs/conversationCard.storiesData.d.ts +22 -0
- package/dist/types/patterns/ConversationCard.d.ts +2 -0
- package/dist/types/patterns/StyledAvatar/docs/styledAvatar.argTypes.d.ts +3 -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/patterns/TagBlock/docs/tagBlock.argTypes.d.ts +3 -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/patterns/Timestamp/docs/timestamp.argTypes.d.ts +3 -0
- package/dist/types/{components → patterns}/Timestamp/timestamp.component.d.ts +1 -1
- 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/records/typography.d.ts +1 -1
- package/dist/types/shared/types.d.ts +2 -0
- package/dist/types/theme/index.d.ts +1 -2
- package/dist/types/theme/providers/theme.provider.d.ts +1 -2
- package/dist/types/theme/semanticTokens/docs/semanticTokens.d.ts +7 -0
- package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +0 -4
- package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +0 -8
- package/dist/types/theme/semanticTokens.d.ts +2 -0
- package/dist/types/theme/theme.config.d.ts +0 -1
- package/dist/types/theme/tokens/blurs/blurs.config.d.ts +6 -6
- package/dist/types/theme/tokens/blurs/index.d.ts +1 -0
- package/dist/types/theme/tokens/blurs.d.ts +2 -0
- package/dist/types/theme/tokens/borders/borders.config.d.ts +9 -9
- package/dist/types/theme/tokens/borders/docs/borders.d.ts +5 -0
- package/dist/types/theme/tokens/borders/index.d.ts +1 -0
- package/dist/types/theme/tokens/borders.d.ts +2 -0
- package/dist/types/theme/tokens/colors.d.ts +2 -0
- package/dist/types/theme/tokens/shadows/docs/shadows.d.ts +6 -0
- package/dist/types/theme/tokens/shadows/index.d.ts +1 -0
- package/dist/types/theme/tokens/shadows/shadows.config.d.ts +8 -8
- package/dist/types/theme/tokens/shadows.d.ts +2 -0
- package/dist/types/theme/tokens/sizes/index.d.ts +1 -0
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +9 -23
- package/dist/types/theme/tokens/sizes.d.ts +2 -0
- package/dist/types/theme/tokens/spacing/index.d.ts +1 -0
- package/dist/types/theme/tokens/spacing/spacing.config.d.ts +21 -21
- package/dist/types/theme/tokens/spacing.d.ts +2 -0
- package/dist/types/theme/tokens/transitions/index.d.ts +1 -0
- package/dist/types/theme/tokens/transitions/transitions.config.d.ts +6 -6
- package/dist/types/theme/tokens/transitions.d.ts +2 -0
- package/dist/types/theme/tokens/typography/docs/typography.d.ts +2 -0
- package/dist/types/theme/tokens/typography/index.d.ts +1 -0
- package/dist/types/theme/tokens/typography/typography.config.d.ts +74 -29
- package/dist/types/theme/tokens/typography.d.ts +2 -0
- package/dist/types/theme/tokens/zIndices/index.d.ts +1 -0
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +12 -12
- 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 +43 -73
- package/dist/chunks/IconLogo-C4aZqkn1.js +0 -2
- package/dist/chunks/IconLogo-C4aZqkn1.js.map +0 -1
- package/dist/chunks/IconLogo-D8EHZ4Is.js +0 -62
- package/dist/chunks/IconLogo-D8EHZ4Is.js.map +0 -1
- package/dist/chunks/alert.types-B3CIqC3D.js +0 -2
- package/dist/chunks/alert.types-B3CIqC3D.js.map +0 -1
- package/dist/chunks/alert.types-D-Nx7EKC.js +0 -219
- package/dist/chunks/alert.types-D-Nx7EKC.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-5acA2X5n.js +0 -420
- package/dist/chunks/avatar.component-5acA2X5n.js.map +0 -1
- package/dist/chunks/avatar.component-BBewTMu9.js +0 -2
- package/dist/chunks/avatar.component-BBewTMu9.js.map +0 -1
- package/dist/chunks/avatarGroup.component-Cyoh97E9.js +0 -2
- 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-BpF3MzbZ.js.map +0 -1
- package/dist/chunks/button.component-Dd9AfGox.js +0 -2
- package/dist/chunks/button.component-Dd9AfGox.js.map +0 -1
- package/dist/chunks/buttonGroup.component-B21h-pcF.js +0 -2
- package/dist/chunks/buttonGroup.component-B21h-pcF.js.map +0 -1
- package/dist/chunks/buttonGroup.component-CwN1OcaS.js +0 -77
- package/dist/chunks/buttonGroup.component-CwN1OcaS.js.map +0 -1
- package/dist/chunks/card.component-DNX41NGG.js +0 -59
- package/dist/chunks/card.component-DNX41NGG.js.map +0 -1
- package/dist/chunks/card.component-KNc4HKSh.js +0 -2
- package/dist/chunks/card.component-KNc4HKSh.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-MBtgMpUc.js +0 -2
- package/dist/chunks/checkbox.component-CWN9kU5p.js +0 -2
- package/dist/chunks/checkbox.component-CWN9kU5p.js.map +0 -1
- package/dist/chunks/checkbox.component-HWkdi-Dt.js +0 -310
- package/dist/chunks/checkbox.component-HWkdi-Dt.js.map +0 -1
- package/dist/chunks/checkbox.records-djqGyo0P.js +0 -2
- package/dist/chunks/checkbox.records-djqGyo0P.js.map +0 -1
- package/dist/chunks/checkbox.records-kuynkQ3J.js +0 -266
- package/dist/chunks/checkbox.records-kuynkQ3J.js.map +0 -1
- package/dist/chunks/checkboxGroup.component-CMyApVxs.js +0 -52
- package/dist/chunks/checkboxGroup.component-DYiLp3m_.js +0 -2
- package/dist/chunks/config-BFcXpdZo.js +0 -2
- package/dist/chunks/config-BFcXpdZo.js.map +0 -1
- package/dist/chunks/config-DVtggL6z.js +0 -57
- package/dist/chunks/config-DVtggL6z.js.map +0 -1
- package/dist/chunks/conversationCard.component-BirDNlVs.js.map +0 -1
- package/dist/chunks/conversationCard.component-CMI6oti9.js +0 -2
- package/dist/chunks/conversationCard.component-CMI6oti9.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-DSGJKErd.js +0 -15
- package/dist/chunks/datePicker.component-DSGJKErd.js.map +0 -1
- package/dist/chunks/datePicker.component-Wac_ZnvV.js +0 -3165
- package/dist/chunks/datePicker.component-Wac_ZnvV.js.map +0 -1
- package/dist/chunks/dialog-trigger-6j0ZA8bc.js +0 -2
- package/dist/chunks/dialog-trigger-6j0ZA8bc.js.map +0 -1
- package/dist/chunks/dialog-trigger-rbYorcnG.js +0 -78
- package/dist/chunks/dialog-trigger-rbYorcnG.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-BV4dwEBP.js +0 -90
- package/dist/chunks/grid-item-BV4dwEBP.js.map +0 -1
- package/dist/chunks/grid-item-CR-sXrjU.js +0 -2
- package/dist/chunks/grid-item-CR-sXrjU.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-Cum2BALi.js +0 -12
- package/dist/chunks/heading.component-Cum2BALi.js.map +0 -1
- package/dist/chunks/heading.component-a6IrCj7l.js +0 -2
- package/dist/chunks/heading.component-a6IrCj7l.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-C0e0UGBw.js +0 -2
- package/dist/chunks/icon.component-C0e0UGBw.js.map +0 -1
- package/dist/chunks/icon.component-DGNCL1Yc.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-B3Uf1AVX.js +0 -3
- package/dist/chunks/index-B3Uf1AVX.js.map +0 -1
- package/dist/chunks/index-B4rwgehU.js +0 -2
- package/dist/chunks/index-B4rwgehU.js.map +0 -1
- package/dist/chunks/index-BQusETZC.js +0 -444
- package/dist/chunks/index-BQusETZC.js.map +0 -1
- package/dist/chunks/index-BknUKotT.js +0 -38
- package/dist/chunks/index-BknUKotT.js.map +0 -1
- package/dist/chunks/index-BmJA4z7Y.js +0 -1190
- package/dist/chunks/index-BmJA4z7Y.js.map +0 -1
- package/dist/chunks/index-C-VkceKb.js +0 -2
- package/dist/chunks/index-C-VkceKb.js.map +0 -1
- package/dist/chunks/index-C4xXAinc.js +0 -141
- package/dist/chunks/index-C4xXAinc.js.map +0 -1
- package/dist/chunks/index-CBVOChyW.js +0 -1196
- package/dist/chunks/index-CBVOChyW.js.map +0 -1
- package/dist/chunks/index-CL5b64u0.js +0 -389
- package/dist/chunks/index-CL5b64u0.js.map +0 -1
- package/dist/chunks/index-CWZQythd.js +0 -257
- package/dist/chunks/index-CWZQythd.js.map +0 -1
- package/dist/chunks/index-Cd776OkZ.js +0 -2
- package/dist/chunks/index-Cd776OkZ.js.map +0 -1
- package/dist/chunks/index-CgivotaP.js +0 -20
- package/dist/chunks/index-CgivotaP.js.map +0 -1
- package/dist/chunks/index-CkYZf9Pm.js +0 -2
- package/dist/chunks/index-CkYZf9Pm.js.map +0 -1
- package/dist/chunks/index-Csfb-K1K.js +0 -291
- package/dist/chunks/index-Csfb-K1K.js.map +0 -1
- package/dist/chunks/index-Cw75JjHp.js +0 -2
- package/dist/chunks/index-Cw75JjHp.js.map +0 -1
- package/dist/chunks/index-Cwl9h4X_.js +0 -2
- package/dist/chunks/index-Cwl9h4X_.js.map +0 -1
- package/dist/chunks/index-D8ghhfzK.js +0 -322
- package/dist/chunks/index-D8ghhfzK.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-DD49WSSW.js +0 -2
- package/dist/chunks/index-DD49WSSW.js.map +0 -1
- package/dist/chunks/index-DUEcH1Ul.js +0 -2
- package/dist/chunks/index-DUEcH1Ul.js.map +0 -1
- package/dist/chunks/index-DX-8RG9n.js +0 -8
- package/dist/chunks/index-DX-8RG9n.js.map +0 -1
- package/dist/chunks/index-PD_OmAnh.js +0 -2
- package/dist/chunks/index-PD_OmAnh.js.map +0 -1
- package/dist/chunks/index-U8SN9h_h.js +0 -2
- package/dist/chunks/index-U8SN9h_h.js.map +0 -1
- package/dist/chunks/index-c2eCwOCU.js +0 -1018
- package/dist/chunks/index-c2eCwOCU.js.map +0 -1
- package/dist/chunks/index-iPTsth-y.js +0 -2
- package/dist/chunks/index-iPTsth-y.js.map +0 -1
- package/dist/chunks/index-iyefwwxw.js +0 -2
- package/dist/chunks/index-iyefwwxw.js.map +0 -1
- package/dist/chunks/index-vVG7UN0y.js +0 -6313
- package/dist/chunks/index-vVG7UN0y.js.map +0 -1
- package/dist/chunks/index-zgGK8otr.js +0 -376
- package/dist/chunks/index-zgGK8otr.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-CCFg-LIe.js +0 -2
- package/dist/chunks/link.component-CCFg-LIe.js.map +0 -1
- package/dist/chunks/link.component-DprieyUG.js +0 -60
- package/dist/chunks/link.component-DprieyUG.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-CA_5hGAi.js +0 -2
- package/dist/chunks/logo.types-CA_5hGAi.js.map +0 -1
- package/dist/chunks/logo.types-DVfuQmDd.js +0 -76
- package/dist/chunks/logo.types-DVfuQmDd.js.map +0 -1
- package/dist/chunks/menu.component-ColftkpF.js +0 -678
- package/dist/chunks/menu.component-ColftkpF.js.map +0 -1
- package/dist/chunks/menu.component-Ct_9TaWj.js +0 -2
- package/dist/chunks/menu.component-Ct_9TaWj.js.map +0 -1
- package/dist/chunks/modal.context-DSKLfsJK.js +0 -12
- package/dist/chunks/modal.context-DSKLfsJK.js.map +0 -1
- package/dist/chunks/modal.context-EJ67QNzq.js +0 -2
- package/dist/chunks/modal.context-EJ67QNzq.js.map +0 -1
- package/dist/chunks/modal.types-BJDq3ofH.js +0 -206
- package/dist/chunks/modal.types-BJDq3ofH.js.map +0 -1
- package/dist/chunks/modal.types-CsGdjZZf.js +0 -2
- package/dist/chunks/modal.types-CsGdjZZf.js.map +0 -1
- package/dist/chunks/notificationCounter.component-BhZcuBmr.js +0 -2
- 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-S7ENT1Oj.js +0 -11
- package/dist/chunks/notificationCounter.types-S7ENT1Oj.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-DKbaaL64.js +0 -35
- package/dist/chunks/picture.component-DKbaaL64.js.map +0 -1
- package/dist/chunks/pinInput.types-GznuQbzY.js +0 -2
- package/dist/chunks/pinInput.types-GznuQbzY.js.map +0 -1
- package/dist/chunks/pinInput.types-k-MTZ5SR.js +0 -161
- package/dist/chunks/pinInput.types-k-MTZ5SR.js.map +0 -1
- package/dist/chunks/popover-JzE_u7E-.js +0 -110
- package/dist/chunks/popover-JzE_u7E-.js.map +0 -1
- package/dist/chunks/popover-ZImHeDTu.js +0 -2
- package/dist/chunks/popover-ZImHeDTu.js.map +0 -1
- package/dist/chunks/popover-root-provider-RWj-0mRI.js +0 -2
- package/dist/chunks/popover-root-provider-RWj-0mRI.js.map +0 -1
- package/dist/chunks/popover-root-provider-S83-0n0E.js +0 -43
- package/dist/chunks/popover-root-provider-S83-0n0E.js.map +0 -1
- package/dist/chunks/popover.component-Bh32Kl6i.js +0 -322
- package/dist/chunks/popover.component-Bh32Kl6i.js.map +0 -1
- package/dist/chunks/popover.component-D4NdsCQv.js +0 -2
- package/dist/chunks/popover.component-D4NdsCQv.js.map +0 -1
- package/dist/chunks/popover.recipe-D7Q80iWn.js +0 -2
- package/dist/chunks/popover.recipe-D7Q80iWn.js.map +0 -1
- package/dist/chunks/popover.recipe-DhQtUTnw.js +0 -479
- package/dist/chunks/popover.recipe-DhQtUTnw.js.map +0 -1
- package/dist/chunks/portal-C7cdrplU.js +0 -2301
- package/dist/chunks/portal-C7cdrplU.js.map +0 -1
- package/dist/chunks/portal-JkodPmk7.js +0 -22
- package/dist/chunks/portal-JkodPmk7.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/radio.records-BD5zaE5E.js +0 -382
- package/dist/chunks/radio.records-BD5zaE5E.js.map +0 -1
- package/dist/chunks/radio.records-BKkl9Mk4.js +0 -2
- package/dist/chunks/radio.records-BKkl9Mk4.js.map +0 -1
- package/dist/chunks/radioGroup.component-C6wU0Srn.js +0 -2
- package/dist/chunks/radioGroup.component-C6wU0Srn.js.map +0 -1
- package/dist/chunks/radioGroup.component-DbslYk4o.js +0 -275
- package/dist/chunks/radioGroup.component-DbslYk4o.js.map +0 -1
- package/dist/chunks/ratingDots.component-DV7pmIJJ.js +0 -2
- package/dist/chunks/render-strategy-BCWksbL8.js +0 -2
- package/dist/chunks/render-strategy-BCWksbL8.js.map +0 -1
- package/dist/chunks/render-strategy-DaeRfJpM.js +0 -12
- package/dist/chunks/render-strategy-DaeRfJpM.js.map +0 -1
- package/dist/chunks/select.component-CRmnH0Ty.js +0 -391
- package/dist/chunks/select.component-CRmnH0Ty.js.map +0 -1
- package/dist/chunks/select.component-DDRV0zBf.js +0 -2
- package/dist/chunks/select.component-DDRV0zBf.js.map +0 -1
- package/dist/chunks/sortableList.component-B59RwzTi.js +0 -6
- package/dist/chunks/sortableList.component-B59RwzTi.js.map +0 -1
- package/dist/chunks/sortableList.component-Dlq8P2tc.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-DBCa-ZPE.js +0 -2
- package/dist/chunks/spinner.component-DsDyKpq2.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-BUyxKyGa.js +0 -2
- package/dist/chunks/styledAvatar.types-BUyxKyGa.js.map +0 -1
- package/dist/chunks/styledAvatar.types-X9FV2vOM.js.map +0 -1
- package/dist/chunks/swatch.types-DiX-4lpJ.js +0 -2
- package/dist/chunks/swatch.types-DiX-4lpJ.js.map +0 -1
- package/dist/chunks/swatch.types-Dsv11aQw.js +0 -67
- package/dist/chunks/swatch.types-Dsv11aQw.js.map +0 -1
- package/dist/chunks/switch.component-BZh12RCT.js +0 -2
- package/dist/chunks/switch.component-BZh12RCT.js.map +0 -1
- package/dist/chunks/switch.component-DR4jYcSz.js +0 -166
- package/dist/chunks/switch.component-DR4jYcSz.js.map +0 -1
- package/dist/chunks/tabs.component-C_4sO8kW.js +0 -639
- package/dist/chunks/tabs.component-C_4sO8kW.js.map +0 -1
- package/dist/chunks/tabs.component-CzyTXhJp.js +0 -2
- package/dist/chunks/tabs.component-CzyTXhJp.js.map +0 -1
- package/dist/chunks/tag.component-C6a6EzZB.js +0 -2
- package/dist/chunks/tag.component-C6a6EzZB.js.map +0 -1
- package/dist/chunks/tag.component-pexJ0TAT.js +0 -82
- package/dist/chunks/tag.component-pexJ0TAT.js.map +0 -1
- package/dist/chunks/tagBlock.component-BI1AmbDR.js +0 -2
- package/dist/chunks/tagBlock.component-BI1AmbDR.js.map +0 -1
- package/dist/chunks/tagBlock.component-B_dQ7rGS.js.map +0 -1
- package/dist/chunks/text.component-BA-9q9gX.js +0 -12
- package/dist/chunks/text.component-BA-9q9gX.js.map +0 -1
- package/dist/chunks/text.component-ColgFnqE.js +0 -2
- package/dist/chunks/text.component-ColgFnqE.js.map +0 -1
- package/dist/chunks/textInput.component-BttHjzdC.js +0 -180
- package/dist/chunks/textInput.component-BttHjzdC.js.map +0 -1
- package/dist/chunks/textInput.component-cFmQkIXY.js +0 -2
- package/dist/chunks/textInput.component-cFmQkIXY.js.map +0 -1
- package/dist/chunks/textarea.component-DKiTZ2bP.js +0 -98
- package/dist/chunks/textarea.component-DKiTZ2bP.js.map +0 -1
- package/dist/chunks/textarea.component-cEtZ6ReA.js +0 -2
- package/dist/chunks/textarea.component-cEtZ6ReA.js.map +0 -1
- package/dist/chunks/theme.provider-Dd0L8qXA.js.map +0 -1
- package/dist/chunks/theme.provider-Dh_N0A6U.js +0 -26
- package/dist/chunks/theme.provider-Dh_N0A6U.js.map +0 -1
- package/dist/chunks/timePicker.component-CegBtxsl.js +0 -2
- package/dist/chunks/timeRange.component-C1p0bfmg.js +0 -18
- package/dist/chunks/timeRange.component-Cc3ZfoeN.js +0 -2
- package/dist/chunks/timestamp.component-CZGCU-JV.js +0 -54
- package/dist/chunks/timestamp.component-CZGCU-JV.js.map +0 -1
- package/dist/chunks/timestamp.component-ZDbg3G8Z.js +0 -2
- package/dist/chunks/timestamp.component-ZDbg3G8Z.js.map +0 -1
- package/dist/chunks/toaster.records-3VWRSgsn.js +0 -2
- package/dist/chunks/toaster.records-3VWRSgsn.js.map +0 -1
- package/dist/chunks/toaster.records-DeXyJQpa.js +0 -824
- package/dist/chunks/toaster.records-DeXyJQpa.js.map +0 -1
- package/dist/chunks/tooltip.component-BiDAtm5N.js +0 -2
- package/dist/chunks/tooltip.component-BiDAtm5N.js.map +0 -1
- package/dist/chunks/tooltip.component-C5FgUWfB.js +0 -713
- package/dist/chunks/tooltip.component-C5FgUWfB.js.map +0 -1
- package/dist/chunks/typography.records-CIqVDP87.js +0 -2
- package/dist/chunks/typography.records-CIqVDP87.js.map +0 -1
- package/dist/chunks/typography.records-QKCR4PDO.js +0 -66
- package/dist/chunks/typography.records-QKCR4PDO.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-BJ7xh7mY.js +0 -2
- package/dist/chunks/use-field-context-BJ7xh7mY.js.map +0 -1
- package/dist/chunks/use-field-context-PoccdU55.js +0 -12
- package/dist/chunks/use-field-context-PoccdU55.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/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/withFormControl-DA1TgH2T.js +0 -376
- package/dist/chunks/withFormControl-DA1TgH2T.js.map +0 -1
- package/dist/chunks/withFormControl-PaMa_BVC.js +0 -2
- package/dist/chunks/withFormControl-PaMa_BVC.js.map +0 -1
- package/dist/chunks/withTruncation-lxIe2bbU.js +0 -2
- package/dist/chunks/wrap-CNn1kyJX.js +0 -2
- package/dist/chunks/wrap-CNn1kyJX.js.map +0 -1
- package/dist/chunks/wrap-Dk19PFnP.js +0 -45
- package/dist/chunks/wrap-Dk19PFnP.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/StyledAvatar/index.cjs.map +0 -1
- 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/hooks/useBreakpoint/index.cjs +0 -2
- package/dist/cjs/hooks/useBreakpoint/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 -3227
- 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 -21
- 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 -7
- 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/hooks/useBreakpoint/index.js +0 -12
- package/dist/esm/hooks/useBreakpoint/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 -9
- 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 -52
- 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 -10
- package/dist/types/components/Logo/logo.recipe.d.ts +0 -9
- package/dist/types/components/Logo/logo.types.d.ts +0 -4
- package/dist/types/components/Modal/context/modal.context.d.ts +0 -6
- package/dist/types/components/PinInput/index.d.ts +0 -2
- package/dist/types/components/PinInput/pinInput.component.d.ts +0 -10
- package/dist/types/components/PinInput/pinInput.recipe.d.ts +0 -21
- package/dist/types/components/PinInput/pinInput.records.d.ts +0 -1
- package/dist/types/components/PinInput/pinInput.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/hooks/useBreakpoint/index.d.ts +0 -1
- package/dist/types/hooks/useDeviceType/index.d.ts +0 -3
- 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/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,206 +0,0 @@
|
|
|
1
|
-
import { j as o } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { forwardRef as M, useRef as _, useState as v } from "react";
|
|
3
|
-
import { B as l } from "./button.component-BpF3MzbZ.js";
|
|
4
|
-
import { F as w } from "./flex-smlF8uQG.js";
|
|
5
|
-
import { c as N } from "./create-slot-recipe-context-BJmsuxih.js";
|
|
6
|
-
import { c as y } from "./factory-Ctbv0Ozn.js";
|
|
7
|
-
import { D as B, a as P, b as T, c as A, d as R, e as S, f as $, u as E, g as z, h as F } from "./dialog-trigger-rbYorcnG.js";
|
|
8
|
-
import { W as O } from "./heading.component-Cum2BALi.js";
|
|
9
|
-
import { M as H } from "./modal.context-DSKLfsJK.js";
|
|
10
|
-
import { u as I } from "./use-breakpoint-MQ7agQJe.js";
|
|
11
|
-
import { P as V } from "./portal-C7cdrplU.js";
|
|
12
|
-
const {
|
|
13
|
-
withRootProvider: b,
|
|
14
|
-
withContext: t
|
|
15
|
-
} = N({ key: "dialog" });
|
|
16
|
-
b(
|
|
17
|
-
z,
|
|
18
|
-
{
|
|
19
|
-
defaultProps: { unmountOnExit: !0, lazyMount: !0 }
|
|
20
|
-
}
|
|
21
|
-
);
|
|
22
|
-
const W = b(B, {
|
|
23
|
-
defaultProps: { unmountOnExit: !0, lazyMount: !0 }
|
|
24
|
-
}), q = t(
|
|
25
|
-
P,
|
|
26
|
-
"trigger",
|
|
27
|
-
{ forwardAsChild: !0 }
|
|
28
|
-
), G = t(A, "positioner", { forwardAsChild: !0 }), J = t(
|
|
29
|
-
R,
|
|
30
|
-
"content",
|
|
31
|
-
{ forwardAsChild: !0 }
|
|
32
|
-
);
|
|
33
|
-
t(F, "description", { forwardAsChild: !0 });
|
|
34
|
-
const K = t(
|
|
35
|
-
$,
|
|
36
|
-
"title",
|
|
37
|
-
{ forwardAsChild: !0 }
|
|
38
|
-
), L = t(S, "closeTrigger", { forwardAsChild: !0 }), Q = M(function(s, i) {
|
|
39
|
-
const e = E();
|
|
40
|
-
return /* @__PURE__ */ o.jsx(y.button, { ...s, ref: i, onClick: () => e.setOpen(!1) });
|
|
41
|
-
}), U = t(
|
|
42
|
-
T,
|
|
43
|
-
"backdrop",
|
|
44
|
-
{ forwardAsChild: !0 }
|
|
45
|
-
), X = t(
|
|
46
|
-
"div",
|
|
47
|
-
"body"
|
|
48
|
-
), Y = t(
|
|
49
|
-
"div",
|
|
50
|
-
"footer"
|
|
51
|
-
), Z = t(
|
|
52
|
-
"div",
|
|
53
|
-
"header"
|
|
54
|
-
), oo = ({
|
|
55
|
-
children: a,
|
|
56
|
-
destructive: s,
|
|
57
|
-
disabled: i,
|
|
58
|
-
hideCancel: e = !1,
|
|
59
|
-
loading: r,
|
|
60
|
-
loadingText: n,
|
|
61
|
-
onCancel: d,
|
|
62
|
-
onSubmit: c,
|
|
63
|
-
submitText: m = "Submit",
|
|
64
|
-
...u
|
|
65
|
-
}) => /* @__PURE__ */ o.jsx(
|
|
66
|
-
Y,
|
|
67
|
-
{
|
|
68
|
-
className: "Modal__Footer",
|
|
69
|
-
"data-testid": "kibble-modal-footer",
|
|
70
|
-
...u,
|
|
71
|
-
children: a || /* @__PURE__ */ o.jsxs(w, { alignItems: "center", justifyContent: "space-between", w: "100%", children: [
|
|
72
|
-
!e && /* @__PURE__ */ o.jsx(
|
|
73
|
-
Q,
|
|
74
|
-
{
|
|
75
|
-
asChild: !0,
|
|
76
|
-
className: "Modal__CancelButton",
|
|
77
|
-
"data-testid": "kibble-modal-cancel-button",
|
|
78
|
-
children: /* @__PURE__ */ o.jsx(l, { variant: "tertiary", onClick: d, children: "Cancel" })
|
|
79
|
-
}
|
|
80
|
-
),
|
|
81
|
-
/* @__PURE__ */ o.jsx(
|
|
82
|
-
l,
|
|
83
|
-
{
|
|
84
|
-
className: "Modal__SubmitButton",
|
|
85
|
-
"data-testid": "kibble-modal-submit-button",
|
|
86
|
-
onClick: c,
|
|
87
|
-
loading: r,
|
|
88
|
-
loadingText: n,
|
|
89
|
-
disabled: i,
|
|
90
|
-
variant: s ? "primaryDestructive" : "primary",
|
|
91
|
-
children: m
|
|
92
|
-
}
|
|
93
|
-
)
|
|
94
|
-
] })
|
|
95
|
-
}
|
|
96
|
-
), go = ({
|
|
97
|
-
children: a,
|
|
98
|
-
footerProps: s,
|
|
99
|
-
fullScreenMobile: i = !0,
|
|
100
|
-
header: e,
|
|
101
|
-
headerProps: r,
|
|
102
|
-
hideCloseButton: n = !1,
|
|
103
|
-
hideFooter: d = !1,
|
|
104
|
-
motionPreset: c = "slide-in-bottom",
|
|
105
|
-
placement: m = "center",
|
|
106
|
-
showExpandButton: u = !1,
|
|
107
|
-
size: g = "md",
|
|
108
|
-
trigger: f,
|
|
109
|
-
...h
|
|
110
|
-
}) => {
|
|
111
|
-
const p = _(null), C = { contentRef: p }, [x, D] = v(!1), j = I({
|
|
112
|
-
base: i ? "full" : g,
|
|
113
|
-
md: g
|
|
114
|
-
});
|
|
115
|
-
return /* @__PURE__ */ o.jsxs(
|
|
116
|
-
W,
|
|
117
|
-
{
|
|
118
|
-
motionPreset: c,
|
|
119
|
-
placement: m,
|
|
120
|
-
size: j,
|
|
121
|
-
...h,
|
|
122
|
-
expanded: x,
|
|
123
|
-
children: [
|
|
124
|
-
f && /* @__PURE__ */ o.jsx(q, { asChild: !0, children: f }),
|
|
125
|
-
/* @__PURE__ */ o.jsxs(V, { children: [
|
|
126
|
-
/* @__PURE__ */ o.jsx(U, {}),
|
|
127
|
-
/* @__PURE__ */ o.jsx(G, { children: /* @__PURE__ */ o.jsxs(H.Provider, { value: C, children: [
|
|
128
|
-
" ",
|
|
129
|
-
/* @__PURE__ */ o.jsxs(
|
|
130
|
-
J,
|
|
131
|
-
{
|
|
132
|
-
className: "Modal",
|
|
133
|
-
"data-testid": "kibble-modal",
|
|
134
|
-
ref: p,
|
|
135
|
-
children: [
|
|
136
|
-
!n && /* @__PURE__ */ o.jsx(
|
|
137
|
-
L,
|
|
138
|
-
{
|
|
139
|
-
asChild: !0,
|
|
140
|
-
className: "Modal__CloseButton",
|
|
141
|
-
"data-testid": "kibble-modal-close-button",
|
|
142
|
-
children: /* @__PURE__ */ o.jsx(l, { iconName: "close", variant: "ghostNeutral" })
|
|
143
|
-
}
|
|
144
|
-
),
|
|
145
|
-
u && /* @__PURE__ */ o.jsx(
|
|
146
|
-
l,
|
|
147
|
-
{
|
|
148
|
-
className: "Modal__ExpandButton",
|
|
149
|
-
"data-testid": "kibble-modal-expand-button",
|
|
150
|
-
variant: "ghostNeutral",
|
|
151
|
-
iconName: x ? "arrowsIn" : "arrowsOut",
|
|
152
|
-
position: "absolute",
|
|
153
|
-
top: 2,
|
|
154
|
-
right: 12,
|
|
155
|
-
onClick: () => D((k) => !k)
|
|
156
|
-
}
|
|
157
|
-
),
|
|
158
|
-
/* @__PURE__ */ o.jsx(
|
|
159
|
-
Z,
|
|
160
|
-
{
|
|
161
|
-
className: "Modal__Header",
|
|
162
|
-
"data-testid": "kibble-modal-header",
|
|
163
|
-
children: e && /* @__PURE__ */ o.jsx(
|
|
164
|
-
K,
|
|
165
|
-
{
|
|
166
|
-
className: "Modal__Title",
|
|
167
|
-
"data-testid": "kibble-modal-title",
|
|
168
|
-
asChild: !0,
|
|
169
|
-
children: typeof e == "string" ? /* @__PURE__ */ o.jsx(O, { size: "xl", ...r, children: e }) : e
|
|
170
|
-
}
|
|
171
|
-
)
|
|
172
|
-
}
|
|
173
|
-
),
|
|
174
|
-
/* @__PURE__ */ o.jsx(
|
|
175
|
-
X,
|
|
176
|
-
{
|
|
177
|
-
className: "Modal__Body",
|
|
178
|
-
"data-testid": "kibble-modal-body",
|
|
179
|
-
children: a
|
|
180
|
-
}
|
|
181
|
-
),
|
|
182
|
-
!d && /* @__PURE__ */ o.jsx(oo, { ...s })
|
|
183
|
-
]
|
|
184
|
-
}
|
|
185
|
-
)
|
|
186
|
-
] }) })
|
|
187
|
-
] })
|
|
188
|
-
]
|
|
189
|
-
}
|
|
190
|
-
);
|
|
191
|
-
}, fo = ["xs", "sm", "md", "lg", "cover", "full"], po = ["center", "top", "bottom"], xo = ["inside", "outside"], bo = [
|
|
192
|
-
"scale",
|
|
193
|
-
"slide-in-bottom",
|
|
194
|
-
"slide-in-top",
|
|
195
|
-
"slide-in-left",
|
|
196
|
-
"slide-in-right",
|
|
197
|
-
"none"
|
|
198
|
-
];
|
|
199
|
-
export {
|
|
200
|
-
go as M,
|
|
201
|
-
po as a,
|
|
202
|
-
xo as b,
|
|
203
|
-
bo as c,
|
|
204
|
-
fo as m
|
|
205
|
-
};
|
|
206
|
-
//# sourceMappingURL=modal.types-BJDq3ofH.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modal.types-BJDq3ofH.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/components/dialog/dialog.js","../../src/components/Modal/components/ModalFooter/modalFooter.component.tsx","../../src/components/Modal/modal.component.tsx","../../src/components/Modal/modal.types.ts"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { Dialog, useDialogContext } from '@ark-ui/react/dialog';\nimport { forwardRef } from 'react';\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst {\n withRootProvider,\n withContext,\n useStyles: useDialogStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"dialog\" });\nconst DialogRootProvider = withRootProvider(\n Dialog.RootProvider,\n {\n defaultProps: { unmountOnExit: true, lazyMount: true }\n }\n);\nconst DialogRoot = withRootProvider(Dialog.Root, {\n defaultProps: { unmountOnExit: true, lazyMount: true }\n});\nconst DialogPropsProvider = PropsProvider;\nconst DialogTrigger = withContext(\n Dialog.Trigger,\n \"trigger\",\n { forwardAsChild: true }\n);\nconst DialogPositioner = withContext(Dialog.Positioner, \"positioner\", { forwardAsChild: true });\nconst DialogContent = withContext(\n Dialog.Content,\n \"content\",\n { forwardAsChild: true }\n);\nconst DialogDescription = withContext(Dialog.Description, \"description\", { forwardAsChild: true });\nconst DialogTitle = withContext(\n Dialog.Title,\n \"title\",\n { forwardAsChild: true }\n);\nconst DialogCloseTrigger = withContext(Dialog.CloseTrigger, \"closeTrigger\", { forwardAsChild: true });\nconst DialogActionTrigger = forwardRef(function DialogActionTrigger2(props, ref) {\n const dialog = useDialogContext();\n return /* @__PURE__ */ jsx(chakra.button, { ...props, ref, onClick: () => dialog.setOpen(false) });\n});\nconst DialogBackdrop = withContext(\n Dialog.Backdrop,\n \"backdrop\",\n { forwardAsChild: true }\n);\nconst DialogBody = withContext(\n \"div\",\n \"body\"\n);\nconst DialogFooter = withContext(\n \"div\",\n \"footer\"\n);\nconst DialogHeader = withContext(\n \"div\",\n \"header\"\n);\nconst DialogContext = Dialog.Context;\n\nexport { DialogActionTrigger, DialogBackdrop, DialogBody, DialogCloseTrigger, DialogContent, DialogContext, DialogDescription, DialogFooter, DialogHeader, DialogPositioner, DialogPropsProvider, DialogRoot, DialogRootProvider, DialogTitle, DialogTrigger, useDialogStyles };\n","import React from \"react\";\nimport { Dialog } from \"@chakra-ui/react/dialog\";\nimport { Flex } from \"@chakra-ui/react/flex\";\nimport { Button } from \"components/Button/button.component\";\n\nexport interface ModalFooterProps extends Dialog.FooterProps {\n children?: React.ReactNode;\n destructive?: boolean;\n disabled?: boolean;\n hideCancel?: boolean;\n loading?: boolean;\n loadingText?: string;\n onCancel?: () => void;\n onSubmit?: () => void | Promise<void>;\n submitText?: string;\n}\n\nexport const ModalFooter = ({\n children,\n destructive,\n disabled,\n hideCancel = false,\n loading,\n loadingText,\n onCancel,\n onSubmit,\n submitText = \"Submit\",\n ...rest\n}: ModalFooterProps): React.JSX.Element => {\n return (\n <Dialog.Footer\n className=\"Modal__Footer\"\n data-testid=\"kibble-modal-footer\"\n {...rest}\n >\n {children ? (\n children\n ) : (\n <Flex alignItems=\"center\" justifyContent=\"space-between\" w=\"100%\">\n {!hideCancel && (\n <Dialog.ActionTrigger\n asChild\n className=\"Modal__CancelButton\"\n data-testid=\"kibble-modal-cancel-button\"\n >\n <Button variant=\"tertiary\" onClick={onCancel}>\n Cancel\n </Button>\n </Dialog.ActionTrigger>\n )}\n <Button\n className=\"Modal__SubmitButton\"\n data-testid=\"kibble-modal-submit-button\"\n onClick={onSubmit}\n loading={loading}\n loadingText={loadingText}\n disabled={disabled}\n variant={destructive ? \"primaryDestructive\" : \"primary\"}\n >\n {submitText}\n </Button>\n </Flex>\n )}\n </Dialog.Footer>\n );\n};\n","import React, { useRef, useState } from \"react\";\nimport { Dialog } from \"@chakra-ui/react/dialog\";\nimport { Portal } from \"@chakra-ui/react/portal\";\nimport {\n ModalFooter,\n ModalFooterProps,\n} from \"./components/ModalFooter/modalFooter.component\";\nimport { Heading, HeadingProps } from \"components/Heading/heading.component\";\nimport { ModalMotionPreset, ModalPlacement, ModalSize } from \"./modal.types\";\nimport { Button } from \"components/Button/button.component\";\nimport { useBreakpointValue } from \"@chakra-ui/react\";\nimport { ModalContext } from \"./context/modal.context\";\n\nexport interface ModalProps extends Dialog.RootProps {\n footerProps?: ModalFooterProps;\n fullScreenMobile?: boolean;\n header?: React.ReactNode;\n headerProps?: HeadingProps;\n hideCloseButton?: boolean;\n hideFooter?: boolean;\n motionPreset?: ModalMotionPreset;\n placement?: ModalPlacement;\n showExpandButton?: boolean;\n size?: ModalSize;\n trigger?: React.ReactNode;\n}\n\nexport const Modal = ({\n children,\n footerProps,\n fullScreenMobile = true,\n header,\n headerProps,\n hideCloseButton = false,\n hideFooter = false,\n motionPreset = \"slide-in-bottom\",\n placement = \"center\",\n showExpandButton = false,\n size = \"md\",\n trigger,\n ...rest\n}: ModalProps): React.JSX.Element => {\n const contentRef = useRef<HTMLDivElement>(null!);\n const contextValue = { contentRef };\n const [isExpanded, setIsExpanded] = useState(false);\n const computedSize = useBreakpointValue({\n base: fullScreenMobile ? \"full\" : size,\n md: size,\n });\n\n return (\n <Dialog.Root\n motionPreset={motionPreset}\n placement={placement}\n size={computedSize}\n {...rest}\n expanded={isExpanded}\n >\n {trigger && <Dialog.Trigger asChild>{trigger}</Dialog.Trigger>}\n <Portal>\n <Dialog.Backdrop />\n <Dialog.Positioner>\n <ModalContext.Provider value={contextValue}>\n {\" \"}\n <Dialog.Content\n className=\"Modal\"\n data-testid=\"kibble-modal\"\n ref={contentRef}\n >\n {!hideCloseButton && (\n <Dialog.CloseTrigger\n asChild\n className=\"Modal__CloseButton\"\n data-testid=\"kibble-modal-close-button\"\n >\n <Button iconName=\"close\" variant=\"ghostNeutral\" />\n </Dialog.CloseTrigger>\n )}\n {showExpandButton && (\n <Button\n className=\"Modal__ExpandButton\"\n data-testid=\"kibble-modal-expand-button\"\n variant=\"ghostNeutral\"\n iconName={isExpanded ? \"arrowsIn\" : \"arrowsOut\"}\n position=\"absolute\"\n top={2}\n right={12}\n onClick={() => setIsExpanded((prev) => !prev)}\n />\n )}\n <Dialog.Header\n className=\"Modal__Header\"\n data-testid=\"kibble-modal-header\"\n >\n {header && (\n <Dialog.Title\n className=\"Modal__Title\"\n data-testid=\"kibble-modal-title\"\n asChild\n >\n {typeof header === \"string\" ? (\n <Heading size=\"xl\" {...headerProps}>\n {header}\n </Heading>\n ) : (\n header\n )}\n </Dialog.Title>\n )}\n </Dialog.Header>\n <Dialog.Body\n className=\"Modal__Body\"\n data-testid=\"kibble-modal-body\"\n >\n {children}\n </Dialog.Body>\n {!hideFooter && <ModalFooter {...footerProps} />}\n </Dialog.Content>\n </ModalContext.Provider>\n </Dialog.Positioner>\n </Portal>\n </Dialog.Root>\n );\n};\n","export const modalSizes = [\"xs\", \"sm\", \"md\", \"lg\", \"cover\", \"full\"] as const;\nexport type ModalSize = (typeof modalSizes)[number];\n\nexport const modalPlacements = [\"center\", \"top\", \"bottom\"] as const;\nexport type ModalPlacement = (typeof modalPlacements)[number];\n\nexport const modalScrollBehaviors = [\"inside\", \"outside\"] as const;\nexport type ModalScrollBehavior = (typeof modalScrollBehaviors)[number];\n\nexport const modalMotionPresets = [\n \"scale\",\n \"slide-in-bottom\",\n \"slide-in-top\",\n \"slide-in-left\",\n \"slide-in-right\",\n \"none\",\n] as const;\nexport type ModalMotionPreset = (typeof modalMotionPresets)[number];\n"],"names":["withRootProvider","withContext","createSlotRecipeContext","Dialog.RootProvider","DialogRoot","Dialog.Root","DialogTrigger","Dialog.Trigger","DialogPositioner","Dialog.Positioner","DialogContent","Dialog.Content","Dialog.Description","DialogTitle","Dialog.Title","DialogCloseTrigger","Dialog.CloseTrigger","DialogActionTrigger","forwardRef","props","ref","dialog","useDialogContext","jsx","chakra","DialogBackdrop","Dialog.Backdrop","DialogBody","DialogFooter","DialogHeader","ModalFooter","children","destructive","disabled","hideCancel","loading","loadingText","onCancel","onSubmit","submitText","rest","Dialog.Footer","jsxs","Flex","Dialog.ActionTrigger","Button","Modal","footerProps","fullScreenMobile","header","headerProps","hideCloseButton","hideFooter","motionPreset","placement","showExpandButton","size","trigger","contentRef","useRef","contextValue","isExpanded","setIsExpanded","useState","computedSize","useBreakpointValue","Portal","ModalContext","prev","Dialog.Header","Heading","Dialog.Body","modalSizes","modalPlacements","modalScrollBehaviors","modalMotionPresets"],"mappings":"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","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./jsx-runtime-BjDatQAs.js"),p=require("react"),n=require("./button.component-Dd9AfGox.js"),_=require("./flex-D14H6HbP.js"),M=require("./create-slot-recipe-context-IwVIgtBt.js"),B=require("./factory-D6tdBUPG.js"),e=require("./dialog-trigger-6j0ZA8bc.js"),v=require("./heading.component-a6IrCj7l.js"),w=require("./modal.context-EJ67QNzq.js"),y=require("./use-breakpoint-uBg4-8yY.js"),N=require("./portal-JkodPmk7.js"),{withRootProvider:R,withContext:o}=M.createSlotRecipeContext({key:"dialog"});R(e.DialogRootProvider,{defaultProps:{unmountOnExit:!0,lazyMount:!0}});const P=R(e.DialogRoot,{defaultProps:{unmountOnExit:!0,lazyMount:!0}}),q=o(e.DialogTrigger,"trigger",{forwardAsChild:!0}),T=o(e.DialogPositioner,"positioner",{forwardAsChild:!0}),S=o(e.DialogContent,"content",{forwardAsChild:!0});o(e.DialogDescription,"description",{forwardAsChild:!0});const A=o(e.DialogTitle,"title",{forwardAsChild:!0}),z=o(e.DialogCloseTrigger,"closeTrigger",{forwardAsChild:!0}),F=p.forwardRef(function(r,a){const s=e.useDialogContext();return t.jsxRuntimeExports.jsx(B.chakra.button,{...r,ref:a,onClick:()=>s.setOpen(!1)})}),O=o(e.DialogBackdrop,"backdrop",{forwardAsChild:!0}),H=o("div","body"),I=o("div","footer"),V=o("div","header"),W=({children:i,destructive:r,disabled:a,hideCancel:s=!1,loading:l,loadingText:d,onCancel:c,onSubmit:u,submitText:x="Submit",...m})=>t.jsxRuntimeExports.jsx(I,{className:"Modal__Footer","data-testid":"kibble-modal-footer",...m,children:i||t.jsxRuntimeExports.jsxs(_.Flex,{alignItems:"center",justifyContent:"space-between",w:"100%",children:[!s&&t.jsxRuntimeExports.jsx(F,{asChild:!0,className:"Modal__CancelButton","data-testid":"kibble-modal-cancel-button",children:t.jsxRuntimeExports.jsx(n.Button,{variant:"tertiary",onClick:c,children:"Cancel"})}),t.jsxRuntimeExports.jsx(n.Button,{className:"Modal__SubmitButton","data-testid":"kibble-modal-submit-button",onClick:u,loading:l,loadingText:d,disabled:a,variant:r?"primaryDestructive":"primary",children:x})]})}),G=({children:i,footerProps:r,fullScreenMobile:a=!0,header:s,headerProps:l,hideCloseButton:d=!1,hideFooter:c=!1,motionPreset:u="slide-in-bottom",placement:x="center",showExpandButton:m=!1,size:g="md",trigger:j,...f})=>{const b=p.useRef(null),C={contentRef:b},[h,E]=p.useState(!1),D=y.useBreakpointValue({base:a?"full":g,md:g});return t.jsxRuntimeExports.jsxs(P,{motionPreset:u,placement:x,size:D,...f,expanded:h,children:[j&&t.jsxRuntimeExports.jsx(q,{asChild:!0,children:j}),t.jsxRuntimeExports.jsxs(N.Portal,{children:[t.jsxRuntimeExports.jsx(O,{}),t.jsxRuntimeExports.jsx(T,{children:t.jsxRuntimeExports.jsxs(w.ModalContext.Provider,{value:C,children:[" ",t.jsxRuntimeExports.jsxs(S,{className:"Modal","data-testid":"kibble-modal",ref:b,children:[!d&&t.jsxRuntimeExports.jsx(z,{asChild:!0,className:"Modal__CloseButton","data-testid":"kibble-modal-close-button",children:t.jsxRuntimeExports.jsx(n.Button,{iconName:"close",variant:"ghostNeutral"})}),m&&t.jsxRuntimeExports.jsx(n.Button,{className:"Modal__ExpandButton","data-testid":"kibble-modal-expand-button",variant:"ghostNeutral",iconName:h?"arrowsIn":"arrowsOut",position:"absolute",top:2,right:12,onClick:()=>E(k=>!k)}),t.jsxRuntimeExports.jsx(V,{className:"Modal__Header","data-testid":"kibble-modal-header",children:s&&t.jsxRuntimeExports.jsx(A,{className:"Modal__Title","data-testid":"kibble-modal-title",asChild:!0,children:typeof s=="string"?t.jsxRuntimeExports.jsx(v.WrappedHeading,{size:"xl",...l,children:s}):s})}),t.jsxRuntimeExports.jsx(H,{className:"Modal__Body","data-testid":"kibble-modal-body",children:i}),!c&&t.jsxRuntimeExports.jsx(W,{...r})]})]})})]})]})},J=["xs","sm","md","lg","cover","full"],K=["center","top","bottom"],L=["inside","outside"],Q=["scale","slide-in-bottom","slide-in-top","slide-in-left","slide-in-right","none"];exports.Modal=G;exports.modalMotionPresets=Q;exports.modalPlacements=K;exports.modalScrollBehaviors=L;exports.modalSizes=J;
|
|
2
|
-
//# sourceMappingURL=modal.types-CsGdjZZf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modal.types-CsGdjZZf.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/components/dialog/dialog.js","../../src/components/Modal/components/ModalFooter/modalFooter.component.tsx","../../src/components/Modal/modal.component.tsx","../../src/components/Modal/modal.types.ts"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { Dialog, useDialogContext } from '@ark-ui/react/dialog';\nimport { forwardRef } from 'react';\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst {\n withRootProvider,\n withContext,\n useStyles: useDialogStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"dialog\" });\nconst DialogRootProvider = withRootProvider(\n Dialog.RootProvider,\n {\n defaultProps: { unmountOnExit: true, lazyMount: true }\n }\n);\nconst DialogRoot = withRootProvider(Dialog.Root, {\n defaultProps: { unmountOnExit: true, lazyMount: true }\n});\nconst DialogPropsProvider = PropsProvider;\nconst DialogTrigger = withContext(\n Dialog.Trigger,\n \"trigger\",\n { forwardAsChild: true }\n);\nconst DialogPositioner = withContext(Dialog.Positioner, \"positioner\", { forwardAsChild: true });\nconst DialogContent = withContext(\n Dialog.Content,\n \"content\",\n { forwardAsChild: true }\n);\nconst DialogDescription = withContext(Dialog.Description, \"description\", { forwardAsChild: true });\nconst DialogTitle = withContext(\n Dialog.Title,\n \"title\",\n { forwardAsChild: true }\n);\nconst DialogCloseTrigger = withContext(Dialog.CloseTrigger, \"closeTrigger\", { forwardAsChild: true });\nconst DialogActionTrigger = forwardRef(function DialogActionTrigger2(props, ref) {\n const dialog = useDialogContext();\n return /* @__PURE__ */ jsx(chakra.button, { ...props, ref, onClick: () => dialog.setOpen(false) });\n});\nconst DialogBackdrop = withContext(\n Dialog.Backdrop,\n \"backdrop\",\n { forwardAsChild: true }\n);\nconst DialogBody = withContext(\n \"div\",\n \"body\"\n);\nconst DialogFooter = withContext(\n \"div\",\n \"footer\"\n);\nconst DialogHeader = withContext(\n \"div\",\n \"header\"\n);\nconst DialogContext = Dialog.Context;\n\nexport { DialogActionTrigger, DialogBackdrop, DialogBody, DialogCloseTrigger, DialogContent, DialogContext, DialogDescription, DialogFooter, DialogHeader, DialogPositioner, DialogPropsProvider, DialogRoot, DialogRootProvider, DialogTitle, DialogTrigger, useDialogStyles };\n","import React from \"react\";\nimport { Dialog } from \"@chakra-ui/react/dialog\";\nimport { Flex } from \"@chakra-ui/react/flex\";\nimport { Button } from \"components/Button/button.component\";\n\nexport interface ModalFooterProps extends Dialog.FooterProps {\n children?: React.ReactNode;\n destructive?: boolean;\n disabled?: boolean;\n hideCancel?: boolean;\n loading?: boolean;\n loadingText?: string;\n onCancel?: () => void;\n onSubmit?: () => void | Promise<void>;\n submitText?: string;\n}\n\nexport const ModalFooter = ({\n children,\n destructive,\n disabled,\n hideCancel = false,\n loading,\n loadingText,\n onCancel,\n onSubmit,\n submitText = \"Submit\",\n ...rest\n}: ModalFooterProps): React.JSX.Element => {\n return (\n <Dialog.Footer\n className=\"Modal__Footer\"\n data-testid=\"kibble-modal-footer\"\n {...rest}\n >\n {children ? (\n children\n ) : (\n <Flex alignItems=\"center\" justifyContent=\"space-between\" w=\"100%\">\n {!hideCancel && (\n <Dialog.ActionTrigger\n asChild\n className=\"Modal__CancelButton\"\n data-testid=\"kibble-modal-cancel-button\"\n >\n <Button variant=\"tertiary\" onClick={onCancel}>\n Cancel\n </Button>\n </Dialog.ActionTrigger>\n )}\n <Button\n className=\"Modal__SubmitButton\"\n data-testid=\"kibble-modal-submit-button\"\n onClick={onSubmit}\n loading={loading}\n loadingText={loadingText}\n disabled={disabled}\n variant={destructive ? \"primaryDestructive\" : \"primary\"}\n >\n {submitText}\n </Button>\n </Flex>\n )}\n </Dialog.Footer>\n );\n};\n","import React, { useRef, useState } from \"react\";\nimport { Dialog } from \"@chakra-ui/react/dialog\";\nimport { Portal } from \"@chakra-ui/react/portal\";\nimport {\n ModalFooter,\n ModalFooterProps,\n} from \"./components/ModalFooter/modalFooter.component\";\nimport { Heading, HeadingProps } from \"components/Heading/heading.component\";\nimport { ModalMotionPreset, ModalPlacement, ModalSize } from \"./modal.types\";\nimport { Button } from \"components/Button/button.component\";\nimport { useBreakpointValue } from \"@chakra-ui/react\";\nimport { ModalContext } from \"./context/modal.context\";\n\nexport interface ModalProps extends Dialog.RootProps {\n footerProps?: ModalFooterProps;\n fullScreenMobile?: boolean;\n header?: React.ReactNode;\n headerProps?: HeadingProps;\n hideCloseButton?: boolean;\n hideFooter?: boolean;\n motionPreset?: ModalMotionPreset;\n placement?: ModalPlacement;\n showExpandButton?: boolean;\n size?: ModalSize;\n trigger?: React.ReactNode;\n}\n\nexport const Modal = ({\n children,\n footerProps,\n fullScreenMobile = true,\n header,\n headerProps,\n hideCloseButton = false,\n hideFooter = false,\n motionPreset = \"slide-in-bottom\",\n placement = \"center\",\n showExpandButton = false,\n size = \"md\",\n trigger,\n ...rest\n}: ModalProps): React.JSX.Element => {\n const contentRef = useRef<HTMLDivElement>(null!);\n const contextValue = { contentRef };\n const [isExpanded, setIsExpanded] = useState(false);\n const computedSize = useBreakpointValue({\n base: fullScreenMobile ? \"full\" : size,\n md: size,\n });\n\n return (\n <Dialog.Root\n motionPreset={motionPreset}\n placement={placement}\n size={computedSize}\n {...rest}\n expanded={isExpanded}\n >\n {trigger && <Dialog.Trigger asChild>{trigger}</Dialog.Trigger>}\n <Portal>\n <Dialog.Backdrop />\n <Dialog.Positioner>\n <ModalContext.Provider value={contextValue}>\n {\" \"}\n <Dialog.Content\n className=\"Modal\"\n data-testid=\"kibble-modal\"\n ref={contentRef}\n >\n {!hideCloseButton && (\n <Dialog.CloseTrigger\n asChild\n className=\"Modal__CloseButton\"\n data-testid=\"kibble-modal-close-button\"\n >\n <Button iconName=\"close\" variant=\"ghostNeutral\" />\n </Dialog.CloseTrigger>\n )}\n {showExpandButton && (\n <Button\n className=\"Modal__ExpandButton\"\n data-testid=\"kibble-modal-expand-button\"\n variant=\"ghostNeutral\"\n iconName={isExpanded ? \"arrowsIn\" : \"arrowsOut\"}\n position=\"absolute\"\n top={2}\n right={12}\n onClick={() => setIsExpanded((prev) => !prev)}\n />\n )}\n <Dialog.Header\n className=\"Modal__Header\"\n data-testid=\"kibble-modal-header\"\n >\n {header && (\n <Dialog.Title\n className=\"Modal__Title\"\n data-testid=\"kibble-modal-title\"\n asChild\n >\n {typeof header === \"string\" ? (\n <Heading size=\"xl\" {...headerProps}>\n {header}\n </Heading>\n ) : (\n header\n )}\n </Dialog.Title>\n )}\n </Dialog.Header>\n <Dialog.Body\n className=\"Modal__Body\"\n data-testid=\"kibble-modal-body\"\n >\n {children}\n </Dialog.Body>\n {!hideFooter && <ModalFooter {...footerProps} />}\n </Dialog.Content>\n </ModalContext.Provider>\n </Dialog.Positioner>\n </Portal>\n </Dialog.Root>\n );\n};\n","export const modalSizes = [\"xs\", \"sm\", \"md\", \"lg\", \"cover\", \"full\"] as const;\nexport type ModalSize = (typeof modalSizes)[number];\n\nexport const modalPlacements = [\"center\", \"top\", \"bottom\"] as const;\nexport type ModalPlacement = (typeof modalPlacements)[number];\n\nexport const modalScrollBehaviors = [\"inside\", \"outside\"] as const;\nexport type ModalScrollBehavior = (typeof modalScrollBehaviors)[number];\n\nexport const modalMotionPresets = [\n \"scale\",\n \"slide-in-bottom\",\n \"slide-in-top\",\n \"slide-in-left\",\n \"slide-in-right\",\n \"none\",\n] as const;\nexport type ModalMotionPreset = (typeof modalMotionPresets)[number];\n"],"names":["withRootProvider","withContext","createSlotRecipeContext","Dialog.RootProvider","DialogRoot","Dialog.Root","DialogTrigger","Dialog.Trigger","DialogPositioner","Dialog.Positioner","DialogContent","Dialog.Content","Dialog.Description","DialogTitle","Dialog.Title","DialogCloseTrigger","Dialog.CloseTrigger","DialogActionTrigger","forwardRef","props","ref","dialog","useDialogContext","jsx","chakra","DialogBackdrop","Dialog.Backdrop","DialogBody","DialogFooter","DialogHeader","ModalFooter","children","destructive","disabled","hideCancel","loading","loadingText","onCancel","onSubmit","submitText","rest","Dialog.Footer","jsxs","Flex","Dialog.ActionTrigger","Button","Modal","footerProps","fullScreenMobile","header","headerProps","hideCloseButton","hideFooter","motionPreset","placement","showExpandButton","size","trigger","contentRef","useRef","contextValue","isExpanded","setIsExpanded","useState","computedSize","useBreakpointValue","Portal","ModalContext","prev","Dialog.Header","Heading","Dialog.Body","modalSizes","modalPlacements","modalScrollBehaviors","modalMotionPresets"],"mappings":"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","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("./jsx-runtime-BjDatQAs.js"),a=require("./config-BFcXpdZo.js"),l=require("./use-slot-recipe-8liupslO.js"),x=require("./box-Baq7UBls.js"),u=require("./flex-D14H6HbP.js"),d=["root","maxElement"],m={blue:{root:{bgColor:"background.accent",color:"text.contrast"},maxElement:{bgColor:"text.contrast"}},green:{root:{bgColor:"background.success.contrast",color:"text.contrast"},maxElement:{bgColor:"text.contrast"}},neutral:{root:{bgColor:"background.subtle.less",color:"text"},maxElement:{bgColor:"text"}},red:{root:{bgColor:"background.danger.contrast",color:"text.contrast"},maxElement:{bgColor:"text.contrast"}}},h={xs:{root:{fontSize:"8px",height:3,width:3},maxElement:{height:"1px",width:"1px"}},sm:{root:{fontSize:"10px",height:4,width:4},maxElement:{height:"2px",width:"2px"}},md:{root:{fontSize:"xs",height:5,width:5},maxElement:{height:"3px",width:"3px"}},lg:{root:{fontSize:"sm",height:6,width:6},maxElement:{height:1,width:1}}},g=a.defineSlotRecipe({slots:d,base:{root:{alignItems:"center",border:"1px",borderColor:"background",borderRadius:"full",fontWeight:"semibold",justifyContent:"center"},maxElement:{borderRadius:"full"}},variants:{size:h,variant:m},defaultVariants:{size:"md",variant:"red"}}),b=99,f=({count:t=0,showCount:r=!0,size:o="md",variant:i="red"})=>{const e=l.useSlotRecipe({recipe:g})({size:o,variant:i}),s=o!=="xs"&&r,c=t>b?n.jsxRuntimeExports.jsx(x.Box,{css:e.maxElement}):t>0&&t;return n.jsxRuntimeExports.jsx(u.Flex,{className:"NotificationCounter","data-testid":"kibble-notification-counter",css:e.root,children:s&&c})};exports.NotificationCounter=f;
|
|
2
|
-
//# sourceMappingURL=notificationCounter.component-BhZcuBmr.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notificationCounter.types-B_-siNfi.js","sources":["../../src/components/NotificationCounter/notificationCounter.types.ts"],"sourcesContent":["export const notificationCounterSizes = [\"xs\", \"sm\", \"md\", \"lg\"] as const;\nexport type NotificationCounterSize = (typeof notificationCounterSizes)[number];\n\nexport const notificationCounterVariants = [\n \"blue\",\n \"green\",\n \"neutral\",\n \"red\",\n] as const;\nexport type NotificationCounterVariant =\n (typeof notificationCounterVariants)[number];\n"],"names":["notificationCounterSizes","notificationCounterVariants"],"mappings":"aAAO,MAAMA,EAA2B,CAAC,KAAM,KAAM,KAAM,IAAI,EAGlDC,EAA8B,CACzC,OACA,QACA,UACA,KACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notificationCounter.types-S7ENT1Oj.js","sources":["../../src/components/NotificationCounter/notificationCounter.types.ts"],"sourcesContent":["export const notificationCounterSizes = [\"xs\", \"sm\", \"md\", \"lg\"] as const;\nexport type NotificationCounterSize = (typeof notificationCounterSizes)[number];\n\nexport const notificationCounterVariants = [\n \"blue\",\n \"green\",\n \"neutral\",\n \"red\",\n] as const;\nexport type NotificationCounterVariant =\n (typeof notificationCounterVariants)[number];\n"],"names":["notificationCounterSizes","notificationCounterVariants"],"mappings":"AAAO,MAAMA,IAA2B,CAAC,MAAM,MAAM,MAAM,IAAI,GAGlDC,IAA8B;AAAA,EACzC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"omit-C-j4TrF5.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/utils/omit.js"],"sourcesContent":["\"use strict\";\nfunction omit(object, keysToOmit = []) {\n const clone = Object.assign({}, object);\n for (const key of keysToOmit) {\n if (key in clone) {\n delete clone[key];\n }\n }\n return clone;\n}\n\nexport { omit };\n"],"names":["omit","object","keysToOmit","clone","key"],"mappings":"AACA,SAASA,EAAKC,GAAQC,IAAa,IAAI;AACrC,QAAMC,IAAQ,OAAO,OAAO,CAAA,GAAIF,CAAM;AACtC,aAAWG,KAAOF;AAChB,IAAIE,KAAOD,KACT,OAAOA,EAAMC,CAAG;AAGpB,SAAOD;AACT;","x_google_ignoreList":[0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"omit-DqNeoZ8h.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/utils/omit.js"],"sourcesContent":["\"use strict\";\nfunction omit(object, keysToOmit = []) {\n const clone = Object.assign({}, object);\n for (const key of keysToOmit) {\n if (key in clone) {\n delete clone[key];\n }\n }\n return clone;\n}\n\nexport { omit };\n"],"names":["omit","object","keysToOmit","clone","key"],"mappings":"aACA,SAASA,EAAKC,EAAQC,EAAa,GAAI,CACrC,MAAMC,EAAQ,OAAO,OAAO,CAAA,EAAIF,CAAM,EACtC,UAAWG,KAAOF,EACZE,KAAOD,GACT,OAAOA,EAAMC,CAAG,EAGpB,OAAOD,CACT","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const s=require("./jsx-runtime-BjDatQAs.js"),o=require("react"),r=require("./factory-D6tdBUPG.js"),u=o.forwardRef(function(t,e){const{align:i,fit:a="cover",...n}=t;return s.jsxRuntimeExports.jsx(r.chakra.img,{ref:e,objectFit:a,objectPosition:i,className:r.cx("chakra-image",t.className),...n})}),m=({src:c,webpSrc:t,...e})=>s.jsxRuntimeExports.jsx(u,{className:"Picture","data-testid":"kibble-picture",src:c,srcSet:t,...e});exports.Picture=m;
|
|
2
|
-
//# sourceMappingURL=picture.component-C2C2r_BU.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"picture.component-C2C2r_BU.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/components/image/image.js","../../src/components/Picture/picture.component.tsx"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { cx } from '../../utils/cx.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst Image = forwardRef(\n function Image2(props, ref) {\n const { align, fit = \"cover\", ...rest } = props;\n return /* @__PURE__ */ jsx(\n chakra.img,\n {\n ref,\n objectFit: fit,\n objectPosition: align,\n className: cx(\"chakra-image\", props.className),\n ...rest\n }\n );\n }\n);\n\nexport { Image };\n","import React from \"react\";\nimport { Image, ImageProps } from \"@chakra-ui/react/image\";\n\nexport interface PictureProps extends ImageProps {\n webpSrc?: string;\n src: string;\n}\n\nexport const Picture = ({\n src,\n webpSrc,\n ...rest\n}: PictureProps): React.JSX.Element => {\n return (\n <Image\n className=\"Picture\"\n data-testid=\"kibble-picture\"\n src={src}\n srcSet={webpSrc}\n {...rest}\n />\n );\n};\n"],"names":["Image","forwardRef","props","ref","align","fit","rest","jsx","chakra","cx","Picture","src","webpSrc"],"mappings":"gHAOMA,EAAQC,EAAU,WACtB,SAAgBC,EAAOC,EAAK,CAC1B,KAAM,CAAE,MAAAC,EAAO,IAAAC,EAAM,QAAS,GAAGC,CAAM,EAAGJ,EAC1C,OAAuBK,EAAG,kBAAA,IACxBC,EAAAA,OAAO,IACP,CACE,IAAAL,EACA,UAAWE,EACX,eAAgBD,EAChB,UAAWK,EAAE,GAAC,eAAgBP,EAAM,SAAS,EAC7C,GAAGI,CACX,CACK,CACL,CACA,ECbaI,EAAU,CAAC,CACtB,IAAAC,EACA,QAAAC,EACA,GAAGN,CACL,IAEIC,EAAA,kBAAA,IAACP,EAAA,CACC,UAAU,UACV,cAAY,iBACZ,IAAAW,EACA,OAAQC,EACP,GAAGN,CAAA,CACN","x_google_ignoreList":[0]}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { j as r } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { forwardRef as o } from "react";
|
|
3
|
-
import { c as m, a as n } from "./factory-Ctbv0Ozn.js";
|
|
4
|
-
const f = o(
|
|
5
|
-
function(t, a) {
|
|
6
|
-
const { align: s, fit: c = "cover", ...i } = t;
|
|
7
|
-
return /* @__PURE__ */ r.jsx(
|
|
8
|
-
m.img,
|
|
9
|
-
{
|
|
10
|
-
ref: a,
|
|
11
|
-
objectFit: c,
|
|
12
|
-
objectPosition: s,
|
|
13
|
-
className: n("chakra-image", t.className),
|
|
14
|
-
...i
|
|
15
|
-
}
|
|
16
|
-
);
|
|
17
|
-
}
|
|
18
|
-
), g = ({
|
|
19
|
-
src: e,
|
|
20
|
-
webpSrc: t,
|
|
21
|
-
...a
|
|
22
|
-
}) => /* @__PURE__ */ r.jsx(
|
|
23
|
-
f,
|
|
24
|
-
{
|
|
25
|
-
className: "Picture",
|
|
26
|
-
"data-testid": "kibble-picture",
|
|
27
|
-
src: e,
|
|
28
|
-
srcSet: t,
|
|
29
|
-
...a
|
|
30
|
-
}
|
|
31
|
-
);
|
|
32
|
-
export {
|
|
33
|
-
g as P
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=picture.component-DKbaaL64.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"picture.component-DKbaaL64.js","sources":["../../node_modules/@chakra-ui/react/dist/esm/components/image/image.js","../../src/components/Picture/picture.component.tsx"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { cx } from '../../utils/cx.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst Image = forwardRef(\n function Image2(props, ref) {\n const { align, fit = \"cover\", ...rest } = props;\n return /* @__PURE__ */ jsx(\n chakra.img,\n {\n ref,\n objectFit: fit,\n objectPosition: align,\n className: cx(\"chakra-image\", props.className),\n ...rest\n }\n );\n }\n);\n\nexport { Image };\n","import React from \"react\";\nimport { Image, ImageProps } from \"@chakra-ui/react/image\";\n\nexport interface PictureProps extends ImageProps {\n webpSrc?: string;\n src: string;\n}\n\nexport const Picture = ({\n src,\n webpSrc,\n ...rest\n}: PictureProps): React.JSX.Element => {\n return (\n <Image\n className=\"Picture\"\n data-testid=\"kibble-picture\"\n src={src}\n srcSet={webpSrc}\n {...rest}\n />\n );\n};\n"],"names":["Image","forwardRef","props","ref","align","fit","rest","jsx","chakra","cx","Picture","src","webpSrc"],"mappings":";;;AAOA,MAAMA,IAAQC;AAAA,EACZ,SAAgBC,GAAOC,GAAK;AAC1B,UAAM,EAAE,OAAAC,GAAO,KAAAC,IAAM,SAAS,GAAGC,EAAM,IAAGJ;AAC1C,WAAuBK,gBAAAA,EAAG;AAAA,MACxBC,EAAO;AAAA,MACP;AAAA,QACE,KAAAL;AAAA,QACA,WAAWE;AAAA,QACX,gBAAgBD;AAAA,QAChB,WAAWK,EAAG,gBAAgBP,EAAM,SAAS;AAAA,QAC7C,GAAGI;AAAA,MACX;AAAA,IACK;AAAA,EACL;AACA,GCbaI,IAAU,CAAC;AAAA,EACtB,KAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGN;AACL,MAEIC,gBAAAA,EAAA;AAAA,EAACP;AAAA,EAAA;AAAA,IACC,WAAU;AAAA,IACV,eAAY;AAAA,IACZ,KAAAW;AAAA,IACA,QAAQC;AAAA,IACP,GAAGN;AAAA,EAAA;AACN;","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const i=require("./jsx-runtime-BjDatQAs.js"),p=require("react"),y=require("./withFormControl-PaMa_BVC.js"),k=require("./create-slot-recipe-context-IwVIgtBt.js"),s=require("./portal-JkodPmk7.js"),I=require("./use-field-context-BJ7xh7mY.js"),a=require("./index-B3Uf1AVX.js"),m=require("./index-U8SN9h_h.js"),E=t=>t&&t.__esModule?t:{default:t},N=E(p),[x,d]=s.createContext({name:"PinInputContext",hookName:"usePinInputContext",providerName:"<PinInputProvider />"}),R=p.forwardRef((t,n)=>{const r=d(),o=a.mergeProps(r.getControlProps(),t);return i.jsxRuntimeExports.jsx(s.ark.div,{...o,ref:n})});R.displayName="PinInputControl";const f=p.forwardRef((t,n)=>{const r=d(),o=a.mergeProps(r.getHiddenInputProps(),t),e=I.useFieldContext();return i.jsxRuntimeExports.jsx(s.ark.input,{"aria-describedby":e?.ariaDescribedby,...o,ref:n})});f.displayName="PinInputHiddenInput";const C=p.forwardRef((t,n)=>{const[r,o]=s.createSplitProps()(t,["index"]),e=d(),u=a.mergeProps(e.getInputProps(r),o);return i.jsxRuntimeExports.jsx(s.ark.input,{...u,ref:n})});C.displayName="PinInputInput";const j=p.forwardRef((t,n)=>{const r=d(),o=a.mergeProps(r.getLabelProps(),t);return i.jsxRuntimeExports.jsx(s.ark.label,{...o,ref:n})});j.displayName="PinInputLabel";const _=t=>{const n=p.useId(),{getRootNode:r}=s.useEnvironmentContext(),{dir:o}=s.useLocaleContext(),e=I.useFieldContext(),u={id:n,ids:{label:e?.ids.label,hiddenInput:e?.ids.control},disabled:e?.disabled,readOnly:e?.readOnly,required:e?.required,invalid:e?.invalid,dir:o,getRootNode:r,...t},l=s.useMachine(m.machine,u);return m.connect(l,s.normalizeProps)},b=p.forwardRef((t,n)=>{const[r,o]=s.createSplitProps()(t,["autoFocus","blurOnComplete","count","defaultValue","disabled","form","id","ids","invalid","mask","name","onValueChange","onValueComplete","onValueInvalid","otp","pattern","placeholder","readOnly","required","selectOnFocus","translations","type","value"]),e=_(r),u=a.mergeProps(e.getRootProps(),o);return i.jsxRuntimeExports.jsx(x,{value:e,children:i.jsxRuntimeExports.jsx(s.ark.div,{...u,ref:n})})});b.displayName="PinInputRoot";const h=p.forwardRef((t,n)=>{const[{value:r},o]=s.createSplitProps()(t,["value"]),e=a.mergeProps(r.getRootProps(),o);return i.jsxRuntimeExports.jsx(x,{value:r,children:i.jsxRuntimeExports.jsx(s.ark.div,{...e,ref:n})})});h.displayName="PinInputRootProvider";const{withProvider:g,withContext:P}=k.createSlotRecipeContext({key:"pinInput"});g(h,"root",{forwardAsChild:!0});const q=g(b,"root",{forwardProps:["mask"],forwardAsChild:!0}),F=P(R,"control",{forwardAsChild:!0}),A=P(C,"input",{forwardAsChild:!0});P(j,"label",{forwardAsChild:!0});const $=f,H=y.withFormControl(({count:t=6,pinInputRef:n,onContrast:r=!1,otp:o=!0,size:e="md",type:u="numeric",...l})=>{const w=r?"onContrast":"default";return i.jsxRuntimeExports.jsxs(q,{className:"PinInput","data-testid":"kibble-pin-input",ref:n,variant:w,size:e,type:u,otp:o,...l,children:[i.jsxRuntimeExports.jsx($,{className:"PinInput__HiddenInput","data-testid":"kibble-pin-input-hidden-input"}),i.jsxRuntimeExports.jsx(F,{className:"PinInput__Control","data-testid":"kibble-pin-input-control",children:Array.from({length:t}).map((S,c)=>i.jsxRuntimeExports.jsx(A,{index:c,className:"PinInput__Input","data-testid":`kibble-pin-input-input-${c}`},c))})]})}),v=N.default.forwardRef((t,n)=>i.jsxRuntimeExports.jsx(H,{pinInputRef:n,...t}));v.displayName="PinInput";const O=["numeric","alphabetic","alphanumeric"];exports.WrappedPinInput=v;exports.pinInputTypes=O;
|
|
2
|
-
//# sourceMappingURL=pinInput.types-GznuQbzY.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pinInput.types-GznuQbzY.js","sources":["../../node_modules/@ark-ui/react/dist/components/pin-input/use-pin-input-context.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-control.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-hidden-input.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-input.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-label.js","../../node_modules/@ark-ui/react/dist/components/pin-input/use-pin-input.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-root.js","../../node_modules/@ark-ui/react/dist/components/pin-input/pin-input-root-provider.js","../../node_modules/@chakra-ui/react/dist/esm/components/pin-input/pin-input.js","../../src/components/PinInput/pinInput.component.tsx","../../src/components/PinInput/pinInput.types.ts"],"sourcesContent":["'use client';\nimport { createContext } from '../../utils/create-context.js';\n\nconst [PinInputProvider, usePinInputContext] = createContext({\n name: \"PinInputContext\",\n hookName: \"usePinInputContext\",\n providerName: \"<PinInputProvider />\"\n});\n\nexport { PinInputProvider, usePinInputContext };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { usePinInputContext } from './use-pin-input-context.js';\n\nconst PinInputControl = forwardRef((props, ref) => {\n const pinInput = usePinInputContext();\n const mergedProps = mergeProps(pinInput.getControlProps(), props);\n return /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref });\n});\nPinInputControl.displayName = \"PinInputControl\";\n\nexport { PinInputControl };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useFieldContext } from '../field/use-field-context.js';\nimport { usePinInputContext } from './use-pin-input-context.js';\n\nconst PinInputHiddenInput = forwardRef((props, ref) => {\n const pinInput = usePinInputContext();\n const mergedProps = mergeProps(pinInput.getHiddenInputProps(), props);\n const field = useFieldContext();\n return /* @__PURE__ */ jsx(ark.input, { \"aria-describedby\": field?.ariaDescribedby, ...mergedProps, ref });\n});\nPinInputHiddenInput.displayName = \"PinInputHiddenInput\";\n\nexport { PinInputHiddenInput };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { usePinInputContext } from './use-pin-input-context.js';\n\nconst PinInputInput = forwardRef((props, ref) => {\n const [inputProps, localProps] = createSplitProps()(props, [\"index\"]);\n const pinInput = usePinInputContext();\n const mergedProps = mergeProps(pinInput.getInputProps(inputProps), localProps);\n return /* @__PURE__ */ jsx(ark.input, { ...mergedProps, ref });\n});\nPinInputInput.displayName = \"PinInputInput\";\n\nexport { PinInputInput };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { usePinInputContext } from './use-pin-input-context.js';\n\nconst PinInputLabel = forwardRef((props, ref) => {\n const pinInput = usePinInputContext();\n const mergedProps = mergeProps(pinInput.getLabelProps(), props);\n return /* @__PURE__ */ jsx(ark.label, { ...mergedProps, ref });\n});\nPinInputLabel.displayName = \"PinInputLabel\";\n\nexport { PinInputLabel };\n","'use client';\nimport * as pinInput from '@zag-js/pin-input';\nimport { useMachine, normalizeProps } from '@zag-js/react';\nimport { useId } from 'react';\nimport { useEnvironmentContext } from '../../providers/environment/use-environment-context.js';\nimport { useLocaleContext } from '../../providers/locale/use-locale-context.js';\nimport { useFieldContext } from '../field/use-field-context.js';\n\nconst usePinInput = (props) => {\n const id = useId();\n const { getRootNode } = useEnvironmentContext();\n const { dir } = useLocaleContext();\n const field = useFieldContext();\n const machineProps = {\n id,\n ids: {\n label: field?.ids.label,\n hiddenInput: field?.ids.control\n },\n disabled: field?.disabled,\n readOnly: field?.readOnly,\n required: field?.required,\n invalid: field?.invalid,\n dir,\n getRootNode,\n ...props\n };\n const service = useMachine(pinInput.machine, machineProps);\n return pinInput.connect(service, normalizeProps);\n};\n\nexport { usePinInput };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { usePinInput } from './use-pin-input.js';\nimport { PinInputProvider } from './use-pin-input-context.js';\n\nconst PinInputRoot = forwardRef((props, ref) => {\n const [usePinInputProps, localProps] = createSplitProps()(props, [\n \"autoFocus\",\n \"blurOnComplete\",\n \"count\",\n \"defaultValue\",\n \"disabled\",\n \"form\",\n \"id\",\n \"ids\",\n \"invalid\",\n \"mask\",\n \"name\",\n \"onValueChange\",\n \"onValueComplete\",\n \"onValueInvalid\",\n \"otp\",\n \"pattern\",\n \"placeholder\",\n \"readOnly\",\n \"required\",\n \"selectOnFocus\",\n \"translations\",\n \"type\",\n \"value\"\n ]);\n const pinInput = usePinInput(usePinInputProps);\n const mergedProps = mergeProps(pinInput.getRootProps(), localProps);\n return /* @__PURE__ */ jsx(PinInputProvider, { value: pinInput, children: /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref }) });\n});\nPinInputRoot.displayName = \"PinInputRoot\";\n\nexport { PinInputRoot };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { createSplitProps } from '../../utils/create-split-props.js';\nimport { ark } from '../factory.js';\nimport { PinInputProvider } from './use-pin-input-context.js';\n\nconst PinInputRootProvider = forwardRef((props, ref) => {\n const [{ value: pinInput }, localProps] = createSplitProps()(props, [\"value\"]);\n const mergedProps = mergeProps(pinInput.getRootProps(), localProps);\n return /* @__PURE__ */ jsx(PinInputProvider, { value: pinInput, children: /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref }) });\n});\nPinInputRootProvider.displayName = \"PinInputRootProvider\";\n\nexport { PinInputRootProvider };\n","\"use strict\";\n\"use client\";\nimport { PinInput } from '@ark-ui/react/pin-input';\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\n\nconst {\n withProvider,\n withContext,\n useStyles: usePinInputStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"pinInput\" });\nconst PinInputRootProvider = withProvider(PinInput.RootProvider, \"root\", { forwardAsChild: true });\nconst PinInputRoot = withProvider(\n PinInput.Root,\n \"root\",\n { forwardProps: [\"mask\"], forwardAsChild: true }\n);\nconst PinInputPropsProvider = PropsProvider;\nconst PinInputControl = withContext(PinInput.Control, \"control\", { forwardAsChild: true });\nconst PinInputInput = withContext(\n PinInput.Input,\n \"input\",\n { forwardAsChild: true }\n);\nconst PinInputLabel = withContext(\n PinInput.Label,\n \"label\",\n { forwardAsChild: true }\n);\nconst PinInputContext = PinInput.Context;\nconst PinInputHiddenInput = PinInput.HiddenInput;\n\nexport { PinInputContext, PinInputControl, PinInputHiddenInput, PinInputInput, PinInputLabel, PinInputPropsProvider, PinInputRoot, PinInputRootProvider, usePinInputStyles };\n","import React, { ForwardedRef } from \"react\";\nimport { PinInput as CPinInput } from \"@chakra-ui/react/pin-input\";\nimport {\n withFormControl,\n WithFormControlProps,\n} from \"hocs/withFormControl/withFormControl\";\n\nexport interface PinInputProps\n extends WithFormControlProps,\n Omit<CPinInput.RootProps, \"size\"> {\n count?: number;\n onContrast?: boolean;\n pinInputRef?: ForwardedRef<HTMLDivElement | null>;\n}\n\nconst PinInput = withFormControl(\n ({\n count = 6,\n pinInputRef,\n onContrast = false,\n otp = true,\n size = \"md\",\n type = \"numeric\",\n ...rest\n }: PinInputProps): React.JSX.Element => {\n const _computedVariant = onContrast ? \"onContrast\" : \"default\";\n\n return (\n <CPinInput.Root\n className=\"PinInput\"\n data-testid=\"kibble-pin-input\"\n ref={pinInputRef}\n variant={_computedVariant}\n size={size}\n type={type}\n otp={otp}\n {...rest}\n >\n <CPinInput.HiddenInput\n className=\"PinInput__HiddenInput\"\n data-testid=\"kibble-pin-input-hidden-input\"\n />\n <CPinInput.Control\n className=\"PinInput__Control\"\n data-testid=\"kibble-pin-input-control\"\n >\n {Array.from({ length: count }).map((_, index) => (\n <CPinInput.Input\n key={index}\n index={index}\n className=\"PinInput__Input\"\n data-testid={`kibble-pin-input-input-${index}`}\n />\n ))}\n </CPinInput.Control>\n </CPinInput.Root>\n );\n },\n);\n\nconst WrappedPinInput = React.forwardRef(\n (props: PinInputProps, ref: ForwardedRef<HTMLDivElement | null>) => (\n <PinInput pinInputRef={ref} {...props} />\n ),\n);\n\nWrappedPinInput.displayName = \"PinInput\";\n\nexport { WrappedPinInput as PinInput };\n","export const pinInputTypes = [\"numeric\", \"alphabetic\", \"alphanumeric\"] as const;\nexport type PinInputType = (typeof pinInputTypes)[number];\n"],"names":["PinInputProvider","usePinInputContext","createContext","PinInputControl","forwardRef","props","ref","pinInput","mergedProps","mergeProps","jsx","ark","PinInputHiddenInput","field","useFieldContext","PinInputInput","inputProps","localProps","createSplitProps","PinInputLabel","usePinInput","id","useId","getRootNode","useEnvironmentContext","dir","useLocaleContext","machineProps","service","useMachine","pinInput.machine","pinInput.connect","normalizeProps","PinInputRoot","usePinInputProps","PinInputRootProvider","withProvider","withContext","createSlotRecipeContext","PinInput.RootProvider","PinInput.Root","PinInput.Control","PinInput.Input","PinInput.Label","PinInput.HiddenInput","PinInput","withFormControl","count","pinInputRef","onContrast","otp","size","type","rest","_computedVariant","jsxs","CPinInput.Root","CPinInput.HiddenInput","CPinInput.Control","_","index","CPinInput.Input","WrappedPinInput","React","pinInputTypes"],"mappings":"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","x_google_ignoreList":[0,1,2,3,4,5,6,7,8]}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { j as i } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import N, { forwardRef as p, useId as R } from "react";
|
|
3
|
-
import { w } from "./withFormControl-DA1TgH2T.js";
|
|
4
|
-
import { c as k } from "./create-slot-recipe-context-BJmsuxih.js";
|
|
5
|
-
import { c as _, f as a, a as m, i as A, j as H, k as O, n as V } from "./portal-C7cdrplU.js";
|
|
6
|
-
import { u as I } from "./use-field-context-PoccdU55.js";
|
|
7
|
-
import { Y as u } from "./index-c2eCwOCU.js";
|
|
8
|
-
import { m as $, c as F } from "./index-BQusETZC.js";
|
|
9
|
-
const [f, d] = _({
|
|
10
|
-
name: "PinInputContext",
|
|
11
|
-
hookName: "usePinInputContext",
|
|
12
|
-
providerName: "<PinInputProvider />"
|
|
13
|
-
}), b = p((n, t) => {
|
|
14
|
-
const o = d(), r = u(o.getControlProps(), n);
|
|
15
|
-
return /* @__PURE__ */ i.jsx(a.div, { ...r, ref: t });
|
|
16
|
-
});
|
|
17
|
-
b.displayName = "PinInputControl";
|
|
18
|
-
const x = p((n, t) => {
|
|
19
|
-
const o = d(), r = u(o.getHiddenInputProps(), n), e = I();
|
|
20
|
-
return /* @__PURE__ */ i.jsx(a.input, { "aria-describedby": e?.ariaDescribedby, ...r, ref: t });
|
|
21
|
-
});
|
|
22
|
-
x.displayName = "PinInputHiddenInput";
|
|
23
|
-
const C = p((n, t) => {
|
|
24
|
-
const [o, r] = m()(n, ["index"]), e = d(), s = u(e.getInputProps(o), r);
|
|
25
|
-
return /* @__PURE__ */ i.jsx(a.input, { ...s, ref: t });
|
|
26
|
-
});
|
|
27
|
-
C.displayName = "PinInputInput";
|
|
28
|
-
const h = p((n, t) => {
|
|
29
|
-
const o = d(), r = u(o.getLabelProps(), n);
|
|
30
|
-
return /* @__PURE__ */ i.jsx(a.label, { ...r, ref: t });
|
|
31
|
-
});
|
|
32
|
-
h.displayName = "PinInputLabel";
|
|
33
|
-
const L = (n) => {
|
|
34
|
-
const t = R(), { getRootNode: o } = A(), { dir: r } = H(), e = I(), s = {
|
|
35
|
-
id: t,
|
|
36
|
-
ids: {
|
|
37
|
-
label: e?.ids.label,
|
|
38
|
-
hiddenInput: e?.ids.control
|
|
39
|
-
},
|
|
40
|
-
disabled: e?.disabled,
|
|
41
|
-
readOnly: e?.readOnly,
|
|
42
|
-
required: e?.required,
|
|
43
|
-
invalid: e?.invalid,
|
|
44
|
-
dir: r,
|
|
45
|
-
getRootNode: o,
|
|
46
|
-
...n
|
|
47
|
-
}, l = O($, s);
|
|
48
|
-
return F(l, V);
|
|
49
|
-
}, v = p((n, t) => {
|
|
50
|
-
const [o, r] = m()(n, [
|
|
51
|
-
"autoFocus",
|
|
52
|
-
"blurOnComplete",
|
|
53
|
-
"count",
|
|
54
|
-
"defaultValue",
|
|
55
|
-
"disabled",
|
|
56
|
-
"form",
|
|
57
|
-
"id",
|
|
58
|
-
"ids",
|
|
59
|
-
"invalid",
|
|
60
|
-
"mask",
|
|
61
|
-
"name",
|
|
62
|
-
"onValueChange",
|
|
63
|
-
"onValueComplete",
|
|
64
|
-
"onValueInvalid",
|
|
65
|
-
"otp",
|
|
66
|
-
"pattern",
|
|
67
|
-
"placeholder",
|
|
68
|
-
"readOnly",
|
|
69
|
-
"required",
|
|
70
|
-
"selectOnFocus",
|
|
71
|
-
"translations",
|
|
72
|
-
"type",
|
|
73
|
-
"value"
|
|
74
|
-
]), e = L(o), s = u(e.getRootProps(), r);
|
|
75
|
-
return /* @__PURE__ */ i.jsx(f, { value: e, children: /* @__PURE__ */ i.jsx(a.div, { ...s, ref: t }) });
|
|
76
|
-
});
|
|
77
|
-
v.displayName = "PinInputRoot";
|
|
78
|
-
const g = p((n, t) => {
|
|
79
|
-
const [{ value: o }, r] = m()(n, ["value"]), e = u(o.getRootProps(), r);
|
|
80
|
-
return /* @__PURE__ */ i.jsx(f, { value: o, children: /* @__PURE__ */ i.jsx(a.div, { ...e, ref: t }) });
|
|
81
|
-
});
|
|
82
|
-
g.displayName = "PinInputRootProvider";
|
|
83
|
-
const {
|
|
84
|
-
withProvider: j,
|
|
85
|
-
withContext: P
|
|
86
|
-
} = k({ key: "pinInput" });
|
|
87
|
-
j(g, "root", { forwardAsChild: !0 });
|
|
88
|
-
const q = j(
|
|
89
|
-
v,
|
|
90
|
-
"root",
|
|
91
|
-
{ forwardProps: ["mask"], forwardAsChild: !0 }
|
|
92
|
-
), E = P(b, "control", { forwardAsChild: !0 }), S = P(
|
|
93
|
-
C,
|
|
94
|
-
"input",
|
|
95
|
-
{ forwardAsChild: !0 }
|
|
96
|
-
);
|
|
97
|
-
P(
|
|
98
|
-
h,
|
|
99
|
-
"label",
|
|
100
|
-
{ forwardAsChild: !0 }
|
|
101
|
-
);
|
|
102
|
-
const W = x, z = w(
|
|
103
|
-
({
|
|
104
|
-
count: n = 6,
|
|
105
|
-
pinInputRef: t,
|
|
106
|
-
onContrast: o = !1,
|
|
107
|
-
otp: r = !0,
|
|
108
|
-
size: e = "md",
|
|
109
|
-
type: s = "numeric",
|
|
110
|
-
...l
|
|
111
|
-
}) => {
|
|
112
|
-
const y = o ? "onContrast" : "default";
|
|
113
|
-
return /* @__PURE__ */ i.jsxs(
|
|
114
|
-
q,
|
|
115
|
-
{
|
|
116
|
-
className: "PinInput",
|
|
117
|
-
"data-testid": "kibble-pin-input",
|
|
118
|
-
ref: t,
|
|
119
|
-
variant: y,
|
|
120
|
-
size: e,
|
|
121
|
-
type: s,
|
|
122
|
-
otp: r,
|
|
123
|
-
...l,
|
|
124
|
-
children: [
|
|
125
|
-
/* @__PURE__ */ i.jsx(
|
|
126
|
-
W,
|
|
127
|
-
{
|
|
128
|
-
className: "PinInput__HiddenInput",
|
|
129
|
-
"data-testid": "kibble-pin-input-hidden-input"
|
|
130
|
-
}
|
|
131
|
-
),
|
|
132
|
-
/* @__PURE__ */ i.jsx(
|
|
133
|
-
E,
|
|
134
|
-
{
|
|
135
|
-
className: "PinInput__Control",
|
|
136
|
-
"data-testid": "kibble-pin-input-control",
|
|
137
|
-
children: Array.from({ length: n }).map((M, c) => /* @__PURE__ */ i.jsx(
|
|
138
|
-
S,
|
|
139
|
-
{
|
|
140
|
-
index: c,
|
|
141
|
-
className: "PinInput__Input",
|
|
142
|
-
"data-testid": `kibble-pin-input-input-${c}`
|
|
143
|
-
},
|
|
144
|
-
c
|
|
145
|
-
))
|
|
146
|
-
}
|
|
147
|
-
)
|
|
148
|
-
]
|
|
149
|
-
}
|
|
150
|
-
);
|
|
151
|
-
}
|
|
152
|
-
), D = N.forwardRef(
|
|
153
|
-
(n, t) => /* @__PURE__ */ i.jsx(z, { pinInputRef: t, ...n })
|
|
154
|
-
);
|
|
155
|
-
D.displayName = "PinInput";
|
|
156
|
-
const X = ["numeric", "alphabetic", "alphanumeric"];
|
|
157
|
-
export {
|
|
158
|
-
D as W,
|
|
159
|
-
X as p
|
|
160
|
-
};
|
|
161
|
-
//# sourceMappingURL=pinInput.types-k-MTZ5SR.js.map
|