@televet/kibble-ui 4.0.0-beta.87 → 4.0.0-beta.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/IconLogo-C4aZqkn1.js.map +1 -1
- package/dist/chunks/{IconLogo-D8EHZ4Is.js → IconLogo-UpYiHEKq.js} +3 -15
- package/dist/chunks/IconLogo-UpYiHEKq.js.map +1 -0
- package/dist/chunks/alert.types-BWFvYNC_.js +139 -0
- package/dist/chunks/alert.types-BWFvYNC_.js.map +1 -0
- package/dist/chunks/alert.types-DTNR8_C-.js.map +1 -1
- package/dist/chunks/{avatar.component-yAhlBo_d.js → avatar.component-DnLr68fv.js} +12 -38
- package/dist/chunks/avatar.component-DnLr68fv.js.map +1 -0
- package/dist/chunks/avatar.component-qXhLVNzG.js.map +1 -1
- package/dist/chunks/avatar.types-Bmt5Uhfb.js.map +1 -1
- package/dist/chunks/avatar.types-C6dZZjdi.js +6 -0
- package/dist/chunks/avatar.types-C6dZZjdi.js.map +1 -0
- package/dist/chunks/{avatarGroup.component-T3cUc5XX.js → avatarGroup.component-CoPnZwjS.js} +3 -6
- package/dist/chunks/avatarGroup.component-CoPnZwjS.js.map +1 -0
- package/dist/chunks/avatarGroup.component-bImv23vg.js.map +1 -1
- package/dist/chunks/{button.component-BpF3MzbZ.js → button.component-D7a32Wjq.js} +2 -2
- package/dist/chunks/button.component-D7a32Wjq.js.map +1 -0
- package/dist/chunks/button.component-Dd9AfGox.js.map +1 -1
- package/dist/chunks/button.types-CujqF5RD.js.map +1 -1
- package/dist/chunks/button.types-DsLMGraz.js.map +1 -1
- package/dist/chunks/buttonGroup.component-0iZj3N28.js.map +1 -1
- package/dist/chunks/buttonGroup.component-8AcSzS3v.js +68 -0
- package/dist/chunks/buttonGroup.component-8AcSzS3v.js.map +1 -0
- package/dist/chunks/card.component-DNX41NGG.js.map +1 -1
- package/dist/chunks/card.component-KNc4HKSh.js.map +1 -1
- package/dist/chunks/card.types-Cixp7ouC.js.map +1 -1
- package/dist/chunks/card.types-MvkQTTZF.js.map +1 -1
- package/dist/chunks/{characterCounter.component-DCSJKVZn.js → characterCounter.component-C4sKYWJ2.js} +9 -35
- package/dist/chunks/characterCounter.component-C4sKYWJ2.js.map +1 -0
- package/dist/chunks/characterCounter.component-Cvw7D33c.js.map +1 -1
- package/dist/chunks/checkbox.component-BoaV-gQi.js.map +1 -1
- package/dist/chunks/{checkbox.component-CT344a1o.js → checkbox.component-CPHPkv89.js} +6 -36
- package/dist/chunks/{checkbox.component-CT344a1o.js.map → checkbox.component-CPHPkv89.js.map} +1 -1
- package/dist/chunks/checkbox.records-CTlAD-2Q.js.map +1 -1
- package/dist/chunks/checkbox.records-DI3mqSNf.js.map +1 -1
- package/dist/chunks/{checkboxGroup.component-CVRj2S5m.js → checkboxGroup.component-I5SdMRRF.js} +3 -3
- package/dist/chunks/checkboxGroup.component-I5SdMRRF.js.map +1 -0
- package/dist/chunks/checkboxGroup.component-X2cU2KU-.js.map +1 -1
- package/dist/chunks/{conversationCard.component-u6I8Phyu.js → conversationCard.component-BcSmuiso.js} +92 -147
- package/dist/chunks/conversationCard.component-BcSmuiso.js.map +1 -0
- package/dist/chunks/conversationCard.component-CkmCkM8o.js.map +1 -1
- package/dist/chunks/datePicker.component-B_wuoiPP.js.map +1 -1
- package/dist/chunks/{datePicker.component-Cger9TA5.js → datePicker.component-WwElikgA.js} +104 -203
- package/dist/chunks/datePicker.component-WwElikgA.js.map +1 -0
- package/dist/chunks/divider.types-0j5qRXed.js.map +1 -1
- package/dist/chunks/divider.types-CK5oFy-i.js.map +1 -1
- package/dist/chunks/{heading.component-Cf58bZa1.js → heading.component-BHha3j1I.js} +2 -2
- package/dist/chunks/heading.component-BHha3j1I.js.map +1 -0
- package/dist/chunks/heading.component-DNsKd4Gh.js.map +1 -1
- package/dist/chunks/icon.component-C0e0UGBw.js.map +1 -1
- package/dist/chunks/{icon.component-DGNCL1Yc.js → icon.component-CFqpWzmV.js} +2 -12
- package/dist/chunks/icon.component-CFqpWzmV.js.map +1 -0
- package/dist/chunks/icon.types-2obj_NKG.js.map +1 -1
- package/dist/chunks/icon.types-DLbVfMjG.js.map +1 -1
- package/dist/chunks/link.component-BlCMfkSE.js.map +1 -1
- package/dist/chunks/{link.component-Dk9j8As1.js → link.component-DxZHLE-2.js} +6 -30
- package/dist/chunks/link.component-DxZHLE-2.js.map +1 -0
- package/dist/chunks/{logo.types-By8TqyNf.js → logo.types-BbSodfBq.js} +2 -2
- package/dist/chunks/logo.types-BbSodfBq.js.map +1 -0
- package/dist/chunks/logo.types-CA_5hGAi.js.map +1 -1
- package/dist/chunks/menu.component-C5NwkXGO.js.map +1 -1
- package/dist/chunks/{menu.component-4gKH4f5l.js → menu.component-q1jaihnb.js} +42 -121
- package/dist/chunks/menu.component-q1jaihnb.js.map +1 -0
- package/dist/chunks/modal.types-CrbC8fs6.js +139 -0
- package/dist/chunks/modal.types-CrbC8fs6.js.map +1 -0
- package/dist/chunks/modal.types-DDwG7coD.js.map +1 -1
- package/dist/chunks/notificationCounter.component-BhZcuBmr.js.map +1 -1
- package/dist/chunks/{notificationCounter.component-Bei8mHSZ.js → notificationCounter.component-BzhAKrKR.js} +2 -10
- package/dist/chunks/notificationCounter.component-BzhAKrKR.js.map +1 -0
- package/dist/chunks/notificationCounter.types-B_-siNfi.js.map +1 -1
- package/dist/chunks/notificationCounter.types-Dm4PSN2Y.js +6 -0
- package/dist/chunks/notificationCounter.types-Dm4PSN2Y.js.map +1 -0
- package/dist/chunks/picture.component-C2C2r_BU.js.map +1 -1
- package/dist/chunks/{picture.component-DKbaaL64.js → picture.component-DECGd77u.js} +2 -15
- package/dist/chunks/picture.component-DECGd77u.js.map +1 -0
- package/dist/chunks/{pinInput.types-Bv67lyfg.js → pinInput.types-Bm4AWHUF.js} +11 -27
- package/dist/chunks/{pinInput.types-Bv67lyfg.js.map → pinInput.types-Bm4AWHUF.js.map} +1 -1
- package/dist/chunks/pinInput.types-DbKKHEtF.js.map +1 -1
- package/dist/chunks/popover.component-D0zb3Bfe.js +2 -0
- package/dist/chunks/popover.component-D0zb3Bfe.js.map +1 -0
- package/dist/chunks/popover.component-Djl4eONo.js +196 -0
- package/dist/chunks/popover.component-Djl4eONo.js.map +1 -0
- package/dist/chunks/popover.recipe--wfvH9po.js.map +1 -1
- package/dist/chunks/popover.recipe-CAAwv6E3.js.map +1 -1
- package/dist/chunks/popover.types-BF2KRf_I.js.map +1 -1
- package/dist/chunks/popover.types-D1O-Ehsz.js +7 -0
- package/dist/chunks/popover.types-D1O-Ehsz.js.map +1 -0
- package/dist/chunks/radio.records-4ih1q8nO.js.map +1 -1
- package/dist/chunks/radio.records-j0JOqaJ4.js.map +1 -1
- package/dist/chunks/{radioGroup.component-DlLvSRNH.js → radioGroup.component-DhvD2nUs.js} +7 -28
- package/dist/chunks/radioGroup.component-DhvD2nUs.js.map +1 -0
- package/dist/chunks/radioGroup.component-e6LsfYzG.js.map +1 -1
- package/dist/chunks/{ratingDots.component-BzxT-9pH.js → ratingDots.component-6HLw7Zp-.js} +6 -26
- package/dist/chunks/ratingDots.component-6HLw7Zp-.js.map +1 -0
- package/dist/chunks/ratingDots.component-B_a_qO9L.js.map +1 -1
- package/dist/chunks/select.component-CPMIVkRk.js.map +1 -1
- package/dist/chunks/{select.component-DrZOaMq1.js → select.component-DzaUsqzM.js} +25 -58
- package/dist/chunks/select.component-DzaUsqzM.js.map +1 -0
- package/dist/chunks/{sortableList.component-iVWhEIAT.js → sortableList.component-Cjeqvf95.js} +10 -47
- package/dist/chunks/{sortableList.component-iVWhEIAT.js.map → sortableList.component-Cjeqvf95.js.map} +1 -1
- package/dist/chunks/sortableList.component-DEMqxtiq.js.map +1 -1
- package/dist/chunks/{spinner.component-BM2OwxA7.js → spinner.component-CzTRzWbL.js} +2 -2
- package/dist/chunks/spinner.component-CzTRzWbL.js.map +1 -0
- package/dist/chunks/spinner.component-lZds47YM.js.map +1 -1
- package/dist/chunks/spinner.types-BCLN5-H2.js.map +1 -1
- package/dist/chunks/spinner.types-g7cTFJkb.js.map +1 -1
- package/dist/chunks/{styledAvatar.types-DaESk8Cq.js → styledAvatar.types-cFMdDiqa.js} +5 -18
- package/dist/chunks/styledAvatar.types-cFMdDiqa.js.map +1 -0
- package/dist/chunks/styledAvatar.types-zeF6AQ1t.js.map +1 -1
- package/dist/chunks/swatch.types-DbgA3RWc.js.map +1 -1
- package/dist/chunks/swatch.types-DiX-4lpJ.js.map +1 -1
- package/dist/chunks/{switch.component-D93JI_c1.js → switch.component-1NMBytrm.js} +4 -17
- package/dist/chunks/{switch.component-D93JI_c1.js.map → switch.component-1NMBytrm.js.map} +1 -1
- package/dist/chunks/switch.component-C4tJUYg9.js.map +1 -1
- package/dist/chunks/{tabs.component-DUUXdx2e.js → tabs.component-ClJfuErZ.js} +7 -32
- package/dist/chunks/{tabs.component-DUUXdx2e.js.map → tabs.component-ClJfuErZ.js.map} +1 -1
- package/dist/chunks/tabs.component-caMRtfBi.js.map +1 -1
- package/dist/chunks/tag.component-BAH11mPX.js.map +1 -1
- package/dist/chunks/tag.component-DcEASytC.js.map +1 -1
- package/dist/chunks/tag.types-B-pzEt1I.js.map +1 -1
- package/dist/chunks/tag.types-BnDFgTvb.js.map +1 -1
- package/dist/chunks/tagBlock.component-CC4azYDm.js.map +1 -1
- package/dist/chunks/{tagBlock.component-DmNtxTyX.js → tagBlock.component-U-lJ5uHV.js} +8 -25
- package/dist/chunks/tagBlock.component-U-lJ5uHV.js.map +1 -0
- package/dist/chunks/text.component-C501PJrN.js.map +1 -1
- package/dist/chunks/{text.component-z4cNuAAI.js → text.component-DJW--Vty.js} +2 -2
- package/dist/chunks/text.component-DJW--Vty.js.map +1 -0
- package/dist/chunks/{textInput.component-BK5TEpr3.js → textInput.component-DpX3YAU9.js} +6 -16
- package/dist/chunks/textInput.component-DpX3YAU9.js.map +1 -0
- package/dist/chunks/textInput.component-o3OfBL3Y.js.map +1 -1
- package/dist/chunks/textarea.component-DDz3lXs_.js.map +1 -1
- package/dist/chunks/{textarea.component-A8ebDcnw.js → textarea.component-suXkF86X.js} +6 -24
- package/dist/chunks/{textarea.component-A8ebDcnw.js.map → textarea.component-suXkF86X.js.map} +1 -1
- package/dist/chunks/{theme.provider-CbB3DTaK.js → theme.provider-1EtPFe0L.js} +65 -172
- package/dist/chunks/{theme.provider-CbB3DTaK.js.map → theme.provider-1EtPFe0L.js.map} +1 -1
- package/dist/chunks/theme.provider-DHy8ThEw.js.map +1 -1
- package/dist/chunks/{timePicker.component-ZFIT5aB6.js → timePicker.component-CO_lfhu6.js} +59 -98
- package/dist/chunks/timePicker.component-CO_lfhu6.js.map +1 -0
- package/dist/chunks/{timePicker.component-BVCoTSf0.js → timePicker.component-DYNS0LFK.js} +2 -2
- package/dist/chunks/timePicker.component-DYNS0LFK.js.map +1 -0
- package/dist/chunks/{timeRange.component-JhMCHzyM.js → timeRange.component-BOfPnxQY.js} +2 -2
- package/dist/chunks/timeRange.component-BOfPnxQY.js.map +1 -0
- package/dist/chunks/{timeRange.component-BSPEZDvW.js → timeRange.component-C9YAU1rk.js} +2 -2
- package/dist/chunks/timeRange.component-C9YAU1rk.js.map +1 -0
- package/dist/chunks/{timestamp.component-DAakI_Tt.js → timestamp.component-DLqT7x-O.js} +4 -7
- package/dist/chunks/{timestamp.component-DAakI_Tt.js.map → timestamp.component-DLqT7x-O.js.map} +1 -1
- package/dist/chunks/timestamp.component-DNYI2gVi.js.map +1 -1
- package/dist/chunks/{toaster.records-BIYC2Ue0.js → toaster.records-Bb46MMbZ.js} +2 -4
- package/dist/chunks/{toaster.records-BIYC2Ue0.js.map → toaster.records-Bb46MMbZ.js.map} +1 -1
- package/dist/chunks/toaster.records-CDCJPDWP.js.map +1 -1
- package/dist/chunks/tooltip.component-CIUcGhxw.js.map +1 -1
- package/dist/chunks/{tooltip.component-BSomeipc.js → tooltip.component-Cr_en1NQ.js} +13 -37
- package/dist/chunks/{tooltip.component-BSomeipc.js.map → tooltip.component-Cr_en1NQ.js.map} +1 -1
- package/dist/chunks/typography-Cqrokog3.js.map +1 -1
- package/dist/chunks/typography-CtiaGoJG.js.map +1 -1
- package/dist/chunks/typography.records-CSy2LmDd.js.map +1 -1
- package/dist/chunks/typography.records-H4aA5AOA.js.map +1 -1
- package/dist/chunks/useIconTextSizeMap-BK-pUrQv.js.map +1 -1
- package/dist/chunks/useIconTextSizeMap-BXmABb54.js.map +1 -1
- package/dist/chunks/usePortalContentRef-CTrvBQ7I.js.map +1 -1
- package/dist/chunks/{usePortalContentRef-KaU-iIV0.js → usePortalContentRef-DO_jc4W9.js} +2 -4
- package/dist/chunks/usePortalContentRef-DO_jc4W9.js.map +1 -0
- package/dist/chunks/withDarkMode-B9LErG-p.js.map +1 -1
- package/dist/chunks/withDarkMode-BE00aGRV.js +21 -0
- package/dist/chunks/withDarkMode-BE00aGRV.js.map +1 -0
- package/dist/chunks/{withFormControl-syyL9lWW.js → withFormControl-B2tHXexu.js} +22 -46
- package/dist/chunks/withFormControl-B2tHXexu.js.map +1 -0
- package/dist/chunks/withFormControl-DBaRp5Zy.js.map +1 -1
- package/dist/chunks/withLightMode-UfFl5ry6.js +20 -0
- package/dist/chunks/withLightMode-UfFl5ry6.js.map +1 -0
- package/dist/chunks/withLightMode-fys9Cbqw.js.map +1 -1
- package/dist/chunks/withTruncation-B6vA2g0w.js.map +1 -1
- package/dist/chunks/{withTruncation-C7AAl87b.js → withTruncation-CQ7mmyn9.js} +2 -2
- package/dist/chunks/withTruncation-CQ7mmyn9.js.map +1 -0
- package/dist/cjs/cli/generate-theme-types.cjs.map +1 -1
- package/dist/cjs/cli/postinstall.cjs.map +1 -1
- package/dist/cjs/components/Icon/generated/index.cjs.map +1 -1
- package/dist/cjs/components/Popover/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/Toast/index.cjs.map +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/hooks/useBreakpoint/index.cjs.map +1 -1
- package/dist/cjs/hooks/useColorMode/index.cjs.map +1 -1
- package/dist/cjs/hooks/useColorModeValue/index.cjs.map +1 -1
- package/dist/cjs/hooks/useDeviceType/index.cjs.map +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/shared/records/index.cjs.map +1 -1
- package/dist/cjs/shared/types/index.cjs.map +1 -1
- package/dist/cjs/theme/semanticTokens/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/colors/index.cjs.map +1 -1
- package/dist/esm/cli/generate-theme-types.js.map +1 -1
- package/dist/esm/cli/postinstall.js +1 -3
- package/dist/esm/cli/postinstall.js.map +1 -1
- package/dist/esm/components/Alert/index.js +1 -1
- package/dist/esm/components/Avatar/index.js +2 -2
- package/dist/esm/components/AvatarGroup/index.js +1 -1
- package/dist/esm/components/Button/index.js +1 -1
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/CharacterCounter/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/CheckboxGroup/index.js +1 -1
- package/dist/esm/components/ConversationCard/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +1 -1
- package/dist/esm/components/Heading/index.js +1 -1
- package/dist/esm/components/Icon/generated/index.js +210 -1476
- package/dist/esm/components/Icon/generated/index.js.map +1 -1
- package/dist/esm/components/Icon/index.js +1 -1
- package/dist/esm/components/Link/index.js +1 -1
- package/dist/esm/components/Logo/generated/index.js +1 -1
- package/dist/esm/components/Logo/index.js +1 -1
- package/dist/esm/components/Menu/index.js +1 -1
- package/dist/esm/components/Modal/index.js +1 -1
- package/dist/esm/components/NotificationCounter/index.js +2 -2
- package/dist/esm/components/Picture/index.js +1 -1
- package/dist/esm/components/PinInput/index.js +1 -1
- package/dist/esm/components/Popover/index.js +2 -2
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/RatingDots/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/SortableList/index.js +1 -1
- package/dist/esm/components/Spinner/index.js +1 -1
- package/dist/esm/components/StyledAvatar/index.js +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +1 -1
- package/dist/esm/components/TagBlock/index.js +1 -1
- package/dist/esm/components/Text/index.js +1 -1
- package/dist/esm/components/TextInput/index.js +1 -1
- package/dist/esm/components/Textarea/index.js +1 -1
- package/dist/esm/components/TimePicker/index.js +1 -1
- package/dist/esm/components/TimeRange/index.js +1 -1
- package/dist/esm/components/Timestamp/index.js +1 -1
- package/dist/esm/components/Toast/index.js +1 -1
- package/dist/esm/components/Toast/index.js.map +1 -1
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +39 -39
- package/dist/esm/hocs/index.js +2 -2
- package/dist/esm/hocs/withDarkMode/index.js +1 -1
- package/dist/esm/hocs/withLightMode/index.js +1 -1
- package/dist/esm/hooks/useBreakpoint/index.js.map +1 -1
- package/dist/esm/hooks/useColorMode/index.js.map +1 -1
- package/dist/esm/hooks/useColorModeValue/index.js.map +1 -1
- package/dist/esm/hooks/useDeviceType/index.js.map +1 -1
- package/dist/esm/index.js +42 -42
- package/dist/esm/shared/records/index.js.map +1 -1
- package/dist/esm/shared/types/index.js +2 -13
- package/dist/esm/shared/types/index.js.map +1 -1
- package/dist/esm/theme/index.js +1 -1
- package/dist/esm/theme/semanticTokens/index.js.map +1 -1
- package/dist/esm/theme/tokens/colors/index.js.map +1 -1
- package/dist/types/chakra/index.d.ts +2 -2
- package/dist/types/components/Alert/alert.component.d.ts +1 -1
- package/dist/types/components/Alert/alert.recipe.d.ts +1 -1
- package/dist/types/components/Alert/components/AlertButton/alertButton.component.d.ts +1 -1
- package/dist/types/components/Avatar/avatar.recipe.d.ts +1 -1
- package/dist/types/components/ButtonGroup/buttonGroup.types.d.ts +1 -1
- package/dist/types/components/Checkbox/checkbox.recipe.d.ts +1 -1
- package/dist/types/components/CheckboxGroup/checkboxGroup.component.d.ts +1 -1
- package/dist/types/components/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +1 -1
- package/dist/types/components/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +1 -1
- package/dist/types/components/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.component.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.recipe.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerDay/datePickerCalendarDay.types.d.ts +1 -1
- package/dist/types/components/DatePicker/components/DatePickerInput/datePickerInput.component.d.ts +2 -2
- package/dist/types/components/DatePicker/components/DatePickerMonth/datePickerCalendarMonth.component.d.ts +1 -1
- package/dist/types/components/DatePicker/context/datePicker.context.d.ts +1 -1
- package/dist/types/components/DatePicker/datePicker.component.d.ts +1 -1
- package/dist/types/components/DatePicker/datePicker.types.d.ts +3 -3
- package/dist/types/components/Heading/heading.types.d.ts +1 -1
- package/dist/types/components/Icon/generated/AiMicrophone.d.ts +1 -1
- package/dist/types/components/Icon/generated/AlertCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalBird.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalCat.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalCow.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalDog.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalHorse.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalMouse.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalPig.d.ts +1 -1
- package/dist/types/components/Icon/generated/AnimalSnake.d.ts +1 -1
- package/dist/types/components/Icon/generated/Archive.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowDownRight.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowLeft.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowRight.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowsIn.d.ts +1 -1
- package/dist/types/components/Icon/generated/ArrowsOut.d.ts +1 -1
- package/dist/types/components/Icon/generated/Article.d.ts +1 -1
- package/dist/types/components/Icon/generated/Award.d.ts +1 -1
- package/dist/types/components/Icon/generated/Bank.d.ts +1 -1
- package/dist/types/components/Icon/generated/Bell.d.ts +1 -1
- package/dist/types/components/Icon/generated/BellCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/Bone.d.ts +1 -1
- package/dist/types/components/Icon/generated/Bookmark.d.ts +1 -1
- package/dist/types/components/Icon/generated/BulkSelect.d.ts +1 -1
- package/dist/types/components/Icon/generated/Buttons.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarCheck.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarDate.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarInfo.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarPen.d.ts +1 -1
- package/dist/types/components/Icon/generated/CalendarPlus.d.ts +1 -1
- package/dist/types/components/Icon/generated/Camera.d.ts +1 -1
- package/dist/types/components/Icon/generated/CameraOff.d.ts +1 -1
- package/dist/types/components/Icon/generated/Cancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/CaretDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/CaretUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/Cellphone.d.ts +1 -1
- package/dist/types/components/Icon/generated/CellphoneCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChainLink.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChatBubble.d.ts +1 -1
- package/dist/types/components/Icon/generated/Checkmark.d.ts +1 -1
- package/dist/types/components/Icon/generated/CheckmarkBox.d.ts +1 -1
- package/dist/types/components/Icon/generated/CheckmarkCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChevronDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChevronLeft.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChevronRight.d.ts +1 -1
- package/dist/types/components/Icon/generated/ChevronUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/Clinic.d.ts +1 -1
- package/dist/types/components/Icon/generated/Clock.d.ts +1 -1
- package/dist/types/components/Icon/generated/Close.d.ts +1 -1
- package/dist/types/components/Icon/generated/CloseCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/CloseCircleSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/Code.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCard.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoAmex.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoDiners.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoDiscover.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoGeneric.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoJcb.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoMastercard.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoUnionpay.d.ts +1 -1
- package/dist/types/components/Icon/generated/CreditCardLogoVisa.d.ts +1 -1
- package/dist/types/components/Icon/generated/Cut.d.ts +1 -1
- package/dist/types/components/Icon/generated/Dollar.d.ts +1 -1
- package/dist/types/components/Icon/generated/DollarCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/DotsHorizontal.d.ts +1 -1
- package/dist/types/components/Icon/generated/DotsVertical.d.ts +1 -1
- package/dist/types/components/Icon/generated/DoubleArrowCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/Download.d.ts +1 -1
- package/dist/types/components/Icon/generated/EmailSend.d.ts +1 -1
- package/dist/types/components/Icon/generated/Envelope.d.ts +1 -1
- package/dist/types/components/Icon/generated/EnvelopeCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/ExternalLink.d.ts +1 -1
- package/dist/types/components/Icon/generated/EyeOpen.d.ts +1 -1
- package/dist/types/components/Icon/generated/EyeSlash.d.ts +1 -1
- package/dist/types/components/Icon/generated/Eyedropper.d.ts +1 -1
- package/dist/types/components/Icon/generated/FileHealth.d.ts +1 -1
- package/dist/types/components/Icon/generated/Filter.d.ts +1 -1
- package/dist/types/components/Icon/generated/Form.d.ts +1 -1
- package/dist/types/components/Icon/generated/Gear.d.ts +1 -1
- package/dist/types/components/Icon/generated/Gif.d.ts +1 -1
- package/dist/types/components/Icon/generated/Grid.d.ts +1 -1
- package/dist/types/components/Icon/generated/Hashtag.d.ts +1 -1
- package/dist/types/components/Icon/generated/Health.d.ts +1 -1
- package/dist/types/components/Icon/generated/Heart.d.ts +1 -1
- package/dist/types/components/Icon/generated/HeartSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/House.d.ts +1 -1
- package/dist/types/components/Icon/generated/Image.d.ts +1 -1
- package/dist/types/components/Icon/generated/InfoCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/Input.d.ts +1 -1
- package/dist/types/components/Icon/generated/Invoice.d.ts +1 -1
- package/dist/types/components/Icon/generated/KanbanBoard.d.ts +1 -1
- package/dist/types/components/Icon/generated/List.d.ts +1 -1
- package/dist/types/components/Icon/generated/Liveagent.d.ts +1 -1
- package/dist/types/components/Icon/generated/Loader.d.ts +1 -1
- package/dist/types/components/Icon/generated/LocationMarker.d.ts +1 -1
- package/dist/types/components/Icon/generated/Lock.d.ts +1 -1
- package/dist/types/components/Icon/generated/Logo.d.ts +1 -1
- package/dist/types/components/Icon/generated/Loudspeaker.d.ts +1 -1
- package/dist/types/components/Icon/generated/Magic.d.ts +1 -1
- package/dist/types/components/Icon/generated/MagnifyingGlass.d.ts +1 -1
- package/dist/types/components/Icon/generated/Mailbox.d.ts +1 -1
- package/dist/types/components/Icon/generated/Menu.d.ts +1 -1
- package/dist/types/components/Icon/generated/Message.d.ts +1 -1
- package/dist/types/components/Icon/generated/MessageDetail.d.ts +1 -1
- package/dist/types/components/Icon/generated/MessageWarning.d.ts +1 -1
- package/dist/types/components/Icon/generated/Messages.d.ts +1 -1
- package/dist/types/components/Icon/generated/Microphone.d.ts +1 -1
- package/dist/types/components/Icon/generated/MicrophoneMute.d.ts +1 -1
- package/dist/types/components/Icon/generated/Minus.d.ts +1 -1
- package/dist/types/components/Icon/generated/MoveDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/MoveLeft.d.ts +1 -1
- package/dist/types/components/Icon/generated/MoveRight.d.ts +1 -1
- package/dist/types/components/Icon/generated/MoveUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/Notification.d.ts +1 -1
- package/dist/types/components/Icon/generated/Package.d.ts +1 -1
- package/dist/types/components/Icon/generated/Paperclip.d.ts +1 -1
- package/dist/types/components/Icon/generated/Pause.d.ts +1 -1
- package/dist/types/components/Icon/generated/Paw.d.ts +1 -1
- package/dist/types/components/Icon/generated/Pen.d.ts +1 -1
- package/dist/types/components/Icon/generated/PenSquare.d.ts +1 -1
- package/dist/types/components/Icon/generated/Person.d.ts +1 -1
- package/dist/types/components/Icon/generated/PersonAdd.d.ts +1 -1
- package/dist/types/components/Icon/generated/PersonCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/Phone.d.ts +1 -1
- package/dist/types/components/Icon/generated/PhoneButtons.d.ts +1 -1
- package/dist/types/components/Icon/generated/PhoneCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/Pill.d.ts +1 -1
- package/dist/types/components/Icon/generated/Pin.d.ts +1 -1
- package/dist/types/components/Icon/generated/PinCancel.d.ts +1 -1
- package/dist/types/components/Icon/generated/Play.d.ts +1 -1
- package/dist/types/components/Icon/generated/Plus.d.ts +1 -1
- package/dist/types/components/Icon/generated/Popup.d.ts +1 -1
- package/dist/types/components/Icon/generated/Printer.d.ts +1 -1
- package/dist/types/components/Icon/generated/QuestionMark.d.ts +1 -1
- package/dist/types/components/Icon/generated/QuestionMarkCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/QuestionMarkCircleSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/Record.d.ts +1 -1
- package/dist/types/components/Icon/generated/Report.d.ts +1 -1
- package/dist/types/components/Icon/generated/Ribbon.d.ts +1 -1
- package/dist/types/components/Icon/generated/Robot.d.ts +1 -1
- package/dist/types/components/Icon/generated/Send.d.ts +1 -1
- package/dist/types/components/Icon/generated/Sliders.d.ts +1 -1
- package/dist/types/components/Icon/generated/SmileyFace.d.ts +1 -1
- package/dist/types/components/Icon/generated/Sort.d.ts +1 -1
- package/dist/types/components/Icon/generated/Star.d.ts +1 -1
- package/dist/types/components/Icon/generated/StarCircle.d.ts +1 -1
- package/dist/types/components/Icon/generated/StarSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/Stop.d.ts +1 -1
- package/dist/types/components/Icon/generated/StopRecording.d.ts +1 -1
- package/dist/types/components/Icon/generated/Support.d.ts +1 -1
- package/dist/types/components/Icon/generated/Table.d.ts +1 -1
- package/dist/types/components/Icon/generated/Tag.d.ts +1 -1
- package/dist/types/components/Icon/generated/Target.d.ts +1 -1
- package/dist/types/components/Icon/generated/TargetSolid.d.ts +1 -1
- package/dist/types/components/Icon/generated/TaskList.d.ts +1 -1
- package/dist/types/components/Icon/generated/Team.d.ts +1 -1
- package/dist/types/components/Icon/generated/ThumbsDown.d.ts +1 -1
- package/dist/types/components/Icon/generated/ThumbsUp.d.ts +1 -1
- package/dist/types/components/Icon/generated/Transfer.d.ts +1 -1
- package/dist/types/components/Icon/generated/Trashcan.d.ts +1 -1
- package/dist/types/components/Icon/generated/TwoSquares.d.ts +1 -1
- package/dist/types/components/Icon/generated/Upload.d.ts +1 -1
- package/dist/types/components/Icon/generated/VideoCamera.d.ts +1 -1
- package/dist/types/components/Icon/generated/WarningSign.d.ts +1 -1
- package/dist/types/components/Icon/generated/Website.d.ts +1 -1
- package/dist/types/components/Icon/generated/Wrench.d.ts +1 -1
- package/dist/types/components/Icon/generated/index.d.ts +1 -1
- package/dist/types/components/Link/components/LinkIcon/linkIcon.component.d.ts +3 -3
- package/dist/types/components/Logo/generated/FullLogo.d.ts +1 -1
- package/dist/types/components/Logo/generated/IconLogo.d.ts +1 -1
- package/dist/types/components/Logo/logo.component.d.ts +1 -1
- package/dist/types/components/Menu/components/MenuButton/menuButton.components.d.ts +1 -1
- package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +5 -5
- package/dist/types/components/Menu/components/MenuToggleButtons/menuToggleButtons.d.ts +1 -1
- package/dist/types/components/Menu/menu.component.d.ts +2 -2
- package/dist/types/components/PinInput/pinInput.component.d.ts +2 -2
- package/dist/types/components/Popover/popover.component.d.ts +3 -3
- package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
- package/dist/types/components/RadioGroup/radioGroup.component.d.ts +4 -4
- package/dist/types/components/RadioGroup/radioGroup.recipe.d.ts +1 -1
- package/dist/types/components/RatingDots/components/RatingDot/ratingDot.component.d.ts +1 -1
- package/dist/types/components/RatingDots/components/RatingDot/ratingDot.recipe.d.ts +1 -1
- package/dist/types/components/Select/select.component.d.ts +1 -1
- package/dist/types/components/SortableList/components/SortableListItem/sortableListItem.component.d.ts +1 -1
- package/dist/types/components/SortableList/sortableList.component.d.ts +2 -2
- package/dist/types/components/Spinner/spinner.component.d.ts +1 -1
- package/dist/types/components/Swatch/swatch.component.d.ts +1 -1
- package/dist/types/components/Switch/switch.component.d.ts +1 -1
- package/dist/types/components/Switch/switch.recipe.d.ts +2 -2
- package/dist/types/components/Tabs/components/Tab/tab.component.d.ts +1 -1
- package/dist/types/components/Tabs/tabs.component.d.ts +1 -1
- package/dist/types/components/Tabs/tabs.recipe.d.ts +1 -1
- package/dist/types/components/Tag/tag.component.d.ts +3 -3
- package/dist/types/components/Tag/tag.recipe.d.ts +1 -1
- package/dist/types/components/Text/text.types.d.ts +1 -1
- package/dist/types/components/TimePicker/components/TimeList/timeList.component.d.ts +1 -1
- package/dist/types/components/TimePicker/components/TimeOption/timeOption.component.d.ts +1 -1
- package/dist/types/components/TimePicker/timePicker.component.d.ts +1 -1
- package/dist/types/components/Timestamp/timestamp.component.d.ts +1 -1
- package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +2 -2
- package/dist/types/components/Toast/components/Toaster/toaster.types.d.ts +1 -1
- package/dist/types/components/Toast/toast.recipe.d.ts +1 -1
- package/dist/types/components/Toast/toast.types.d.ts +2 -2
- package/dist/types/components/Tooltip/tooltip.component.d.ts +1 -1
- package/dist/types/hocs/withFormControl/withFormControl.types.d.ts +1 -1
- package/dist/types/hocs/withTruncation.d.ts +1 -1
- package/dist/types/hooks/useDeviceType/index.d.ts +1 -1
- package/dist/types/shared/types/theme.d.ts +1 -1
- package/dist/types/shared/utils/sizes.d.ts +1 -1
- package/dist/types/theme/providers/theme.provider.d.ts +1 -1
- package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +1 -1
- package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +2 -2
- package/dist/types/theme/semanticTokens/semanticTokens.types.d.ts +2 -2
- package/dist/types/theme/semanticTokens/utils/getSemanticColorToken.d.ts +2 -2
- package/dist/types/theme/tokens/blurs/blurs.types.d.ts +1 -1
- package/dist/types/theme/tokens/borders/borders.types.d.ts +2 -2
- package/dist/types/theme/tokens/colors/colors.types.d.ts +2 -2
- package/dist/types/theme/tokens/shadows/shadows.types.d.ts +2 -2
- package/dist/types/theme/tokens/sizes/sizes.types.d.ts +2 -2
- package/dist/types/theme/tokens/spacing/spacing.types.d.ts +1 -1
- package/dist/types/theme/tokens/transitions/transitions.types.d.ts +2 -2
- package/dist/types/theme/tokens/typography/typography.types.d.ts +5 -5
- package/dist/types/theme/tokens/zIndices/zIndices.types.d.ts +1 -1
- package/package.json +1 -2
- package/dist/chunks/IconLogo-D8EHZ4Is.js.map +0 -1
- package/dist/chunks/alert.types-QEeDYCAD.js +0 -219
- package/dist/chunks/alert.types-QEeDYCAD.js.map +0 -1
- package/dist/chunks/avatar.component-yAhlBo_d.js.map +0 -1
- package/dist/chunks/avatar.types-LQ1Bn8a3.js +0 -13
- package/dist/chunks/avatar.types-LQ1Bn8a3.js.map +0 -1
- package/dist/chunks/avatarGroup.component-T3cUc5XX.js.map +0 -1
- package/dist/chunks/button.component-BpF3MzbZ.js.map +0 -1
- package/dist/chunks/buttonGroup.component-BuF41rNB.js +0 -77
- package/dist/chunks/buttonGroup.component-BuF41rNB.js.map +0 -1
- package/dist/chunks/characterCounter.component-DCSJKVZn.js.map +0 -1
- package/dist/chunks/checkboxGroup.component-CVRj2S5m.js.map +0 -1
- package/dist/chunks/conversationCard.component-u6I8Phyu.js.map +0 -1
- package/dist/chunks/datePicker.component-Cger9TA5.js.map +0 -1
- package/dist/chunks/heading.component-Cf58bZa1.js.map +0 -1
- package/dist/chunks/icon.component-DGNCL1Yc.js.map +0 -1
- package/dist/chunks/link.component-Dk9j8As1.js.map +0 -1
- package/dist/chunks/logo.types-By8TqyNf.js.map +0 -1
- package/dist/chunks/menu.component-4gKH4f5l.js.map +0 -1
- package/dist/chunks/modal.types-DIDn6Pz1.js +0 -203
- package/dist/chunks/modal.types-DIDn6Pz1.js.map +0 -1
- package/dist/chunks/notificationCounter.component-Bei8mHSZ.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/picture.component-DKbaaL64.js.map +0 -1
- package/dist/chunks/popover.component-CS8UY9_W.js +0 -2
- package/dist/chunks/popover.component-CS8UY9_W.js.map +0 -1
- package/dist/chunks/popover.component-D2-w2fSE.js +0 -260
- package/dist/chunks/popover.component-D2-w2fSE.js.map +0 -1
- package/dist/chunks/popover.types-C-V7Diw4.js +0 -12
- package/dist/chunks/popover.types-C-V7Diw4.js.map +0 -1
- package/dist/chunks/radioGroup.component-DlLvSRNH.js.map +0 -1
- package/dist/chunks/ratingDots.component-BzxT-9pH.js.map +0 -1
- package/dist/chunks/select.component-DrZOaMq1.js.map +0 -1
- package/dist/chunks/spinner.component-BM2OwxA7.js.map +0 -1
- package/dist/chunks/styledAvatar.types-DaESk8Cq.js.map +0 -1
- package/dist/chunks/tagBlock.component-DmNtxTyX.js.map +0 -1
- package/dist/chunks/text.component-z4cNuAAI.js.map +0 -1
- package/dist/chunks/textInput.component-BK5TEpr3.js.map +0 -1
- package/dist/chunks/timePicker.component-BVCoTSf0.js.map +0 -1
- package/dist/chunks/timePicker.component-ZFIT5aB6.js.map +0 -1
- package/dist/chunks/timeRange.component-BSPEZDvW.js.map +0 -1
- package/dist/chunks/timeRange.component-JhMCHzyM.js.map +0 -1
- package/dist/chunks/usePortalContentRef-KaU-iIV0.js.map +0 -1
- package/dist/chunks/withDarkMode-DBAFsemJ.js +0 -23
- package/dist/chunks/withDarkMode-DBAFsemJ.js.map +0 -1
- package/dist/chunks/withFormControl-syyL9lWW.js.map +0 -1
- package/dist/chunks/withLightMode-C4WljRNZ.js +0 -22
- package/dist/chunks/withLightMode-C4WljRNZ.js.map +0 -1
- package/dist/chunks/withTruncation-C7AAl87b.js.map +0 -1
|
@@ -7,7 +7,7 @@ export interface TabProps extends Tabs.TriggerProps {
|
|
|
7
7
|
iconName?: IconName;
|
|
8
8
|
iconPosition?: TabIconPosition;
|
|
9
9
|
label: string;
|
|
10
|
-
notificationCounterProps?: Omit<NotificationCounterProps,
|
|
10
|
+
notificationCounterProps?: Omit<NotificationCounterProps, 'size'>;
|
|
11
11
|
showNotificationCounter?: boolean;
|
|
12
12
|
size?: TabSize;
|
|
13
13
|
}
|
|
@@ -3,7 +3,7 @@ import { Tabs as CTabs } from '@chakra-ui/react/tabs';
|
|
|
3
3
|
import { TabSize } from './components/Tab/tab.types';
|
|
4
4
|
import { TabProps } from './components/Tab/tab.component';
|
|
5
5
|
import { Alignment } from '../../shared/types/alignment';
|
|
6
|
-
export interface TabsProps extends Omit<CTabs.RootProps,
|
|
6
|
+
export interface TabsProps extends Omit<CTabs.RootProps, 'onChange' | 'variant'> {
|
|
7
7
|
align?: Alignment;
|
|
8
8
|
onChange?: (value: string) => void;
|
|
9
9
|
size?: TabSize;
|
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { Tag as CTag } from '@chakra-ui/react/tag';
|
|
3
3
|
import { CloseButtonDisplay, TagSize } from './tag.types';
|
|
4
4
|
import { Status } from '../../shared/types/status';
|
|
5
|
-
export interface BaseTagProps extends Omit<CTag.RootProps,
|
|
5
|
+
export interface BaseTagProps extends Omit<CTag.RootProps, 'children'> {
|
|
6
6
|
leftElement?: React.ReactNode;
|
|
7
7
|
rightElement?: React.ReactNode;
|
|
8
8
|
label: string;
|
|
@@ -12,11 +12,11 @@ export interface BaseTagProps extends Omit<CTag.RootProps, "children"> {
|
|
|
12
12
|
variant?: Status;
|
|
13
13
|
}
|
|
14
14
|
interface ClosableTagProps extends BaseTagProps {
|
|
15
|
-
closeButtonDisplay:
|
|
15
|
+
closeButtonDisplay: 'always' | 'hover';
|
|
16
16
|
onClose: React.MouseEventHandler<HTMLButtonElement>;
|
|
17
17
|
}
|
|
18
18
|
interface NonClosableTagProps extends BaseTagProps {
|
|
19
|
-
closeButtonDisplay?:
|
|
19
|
+
closeButtonDisplay?: 'never';
|
|
20
20
|
onClose?: never;
|
|
21
21
|
}
|
|
22
22
|
export type TagProps = ClosableTagProps | NonClosableTagProps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FontSize } from '../../theme/tokens/typography';
|
|
2
|
-
export type TextSize = Exclude<FontSize,
|
|
2
|
+
export type TextSize = Exclude<FontSize, '7xl' | '8xl' | '9xl'>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
interface ScrollContainerProps {
|
|
3
3
|
options: string[];
|
|
4
|
-
optionType:
|
|
4
|
+
optionType: 'hour' | 'minute' | 'meridiem';
|
|
5
5
|
selectedValue?: string;
|
|
6
6
|
onClick: (value: string) => void;
|
|
7
7
|
open: boolean;
|
|
@@ -5,5 +5,5 @@ interface TimeOptionProps {
|
|
|
5
5
|
selected: boolean;
|
|
6
6
|
value: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const TimeOption: ({ value, innerRef, onClick, selected
|
|
8
|
+
export declare const TimeOption: ({ value, innerRef, onClick, selected }: TimeOptionProps) => React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -3,7 +3,7 @@ import { TextInputProps } from '../TextInput/textInput.component';
|
|
|
3
3
|
import { Placement } from '../../shared/types/placement';
|
|
4
4
|
export interface TimePickerProps {
|
|
5
5
|
initialTime?: Date;
|
|
6
|
-
inputProps?: Omit<TextInputProps,
|
|
6
|
+
inputProps?: Omit<TextInputProps, 'onChange' | 'value' | 'isClearable' | 'onClear'>;
|
|
7
7
|
minuteInterval?: number;
|
|
8
8
|
onTimeChange?: (time: Date) => void;
|
|
9
9
|
placement?: Placement;
|
|
@@ -6,6 +6,6 @@ export interface TimestampProps {
|
|
|
6
6
|
dateFormat?: string;
|
|
7
7
|
shouldTodayDisplayTimeOnly?: boolean;
|
|
8
8
|
tooltipLabel?: string;
|
|
9
|
-
textProps?: Omit<TextProps,
|
|
9
|
+
textProps?: Omit<TextProps, 'children'>;
|
|
10
10
|
}
|
|
11
11
|
export declare const Timestamp: ({ date, timeFormat, dateFormat, shouldTodayDisplayTimeOnly, tooltipLabel, textProps, }: TimestampProps) => React.JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ButtonProps } from '../../../Button/button.component';
|
|
3
3
|
import { Status } from '../../../../shared/types/status';
|
|
4
|
-
export interface ToastActionProps extends Omit<ButtonProps,
|
|
4
|
+
export interface ToastActionProps extends Omit<ButtonProps, 'children'> {
|
|
5
5
|
buttonText: string;
|
|
6
|
-
buttonPosition?:
|
|
6
|
+
buttonPosition?: 'topRight' | 'bottomLeft';
|
|
7
7
|
}
|
|
8
8
|
interface InternalToastActionProps extends ToastActionProps {
|
|
9
9
|
status: Status;
|
|
@@ -5,7 +5,7 @@ export interface ToasterConfig {
|
|
|
5
5
|
overlap?: boolean | undefined;
|
|
6
6
|
duration?: number | undefined;
|
|
7
7
|
gap?: number | undefined;
|
|
8
|
-
offsets?: string | Record<
|
|
8
|
+
offsets?: string | Record<'left' | 'right' | 'bottom' | 'top', string> | undefined;
|
|
9
9
|
hotkey?: string[] | undefined;
|
|
10
10
|
removeDelay?: number | undefined;
|
|
11
11
|
pauseOnPageIdle?: boolean | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SystemStyleObject } from '@chakra-ui/react/styled-system';
|
|
2
|
-
type ToastSlot =
|
|
2
|
+
type ToastSlot = 'root' | 'indicator' | 'title' | 'description' | 'closeTrigger' | 'actionTrigger';
|
|
3
3
|
type ToastSlotStyles = {
|
|
4
4
|
[key in ToastSlot]?: SystemStyleObject;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ToastProps } from './toast.component';
|
|
2
|
-
type ToastStatus =
|
|
2
|
+
type ToastStatus = 'visible' | 'dismissing' | 'unmounted';
|
|
3
3
|
interface ToastStatusChangeDetails {
|
|
4
4
|
status: ToastStatus;
|
|
5
5
|
src?: string | undefined;
|
|
@@ -13,7 +13,7 @@ export interface ToastOptions extends ToastProps {
|
|
|
13
13
|
export interface ToastInstance {
|
|
14
14
|
create: (options: ToastOptions) => string;
|
|
15
15
|
dismiss: (id?: string) => void;
|
|
16
|
-
update: (id: string, options: Omit<ToastOptions,
|
|
16
|
+
update: (id: string, options: Omit<ToastOptions, 'id'>) => string;
|
|
17
17
|
visible: (id: string) => boolean;
|
|
18
18
|
}
|
|
19
19
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { HoverCard } from '@chakra-ui/react/hover-card';
|
|
3
3
|
import { Placement } from '../../shared/types/placement';
|
|
4
|
-
export interface TooltipProps extends Omit<HoverCard.RootProps,
|
|
4
|
+
export interface TooltipProps extends Omit<HoverCard.RootProps, 'children'> {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
label: string;
|
|
@@ -2,4 +2,4 @@ export declare const formControlLabelPositions: readonly ["start", "end"];
|
|
|
2
2
|
export type FormControlLabelPosition = (typeof formControlLabelPositions)[number];
|
|
3
3
|
export declare const formControlSizes: readonly ["sm", "md", "lg"];
|
|
4
4
|
export type FormControlSize = (typeof formControlSizes)[number];
|
|
5
|
-
export type FormVariant =
|
|
5
|
+
export type FormVariant = 'default' | 'onContrast';
|
|
@@ -3,7 +3,7 @@ import { TooltipProps } from '../components/Tooltip';
|
|
|
3
3
|
export interface WithTruncationProps {
|
|
4
4
|
truncated?: boolean;
|
|
5
5
|
noOfLines?: number;
|
|
6
|
-
tooltipProps?: Omit<TooltipProps,
|
|
6
|
+
tooltipProps?: Omit<TooltipProps, 'disabled'>;
|
|
7
7
|
children?: ReactNode | string;
|
|
8
8
|
}
|
|
9
9
|
export declare const withTruncation: <P extends WithTruncationProps>(Component: React.ComponentType<P>) => React.FC<P>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ColorMode =
|
|
1
|
+
export type ColorMode = 'light' | 'dark';
|
|
@@ -5,5 +5,5 @@ interface GetNextIconSizeProps {
|
|
|
5
5
|
larger: boolean;
|
|
6
6
|
delta: number;
|
|
7
7
|
}
|
|
8
|
-
export declare const getNextIconSize: ({ currentSize, larger, delta
|
|
8
|
+
export declare const getNextIconSize: ({ currentSize, larger, delta }: GetNextIconSizeProps) => IconSize;
|
|
9
9
|
export {};
|
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { ChakraProviderProps } from '@chakra-ui/react';
|
|
3
3
|
import { SystemContext } from '@chakra-ui/react/styled-system';
|
|
4
4
|
import { ColorModeProviderProps } from './colorMode.provider';
|
|
5
|
-
interface KibbleThemeProviderProps extends Omit<ChakraProviderProps,
|
|
5
|
+
interface KibbleThemeProviderProps extends Omit<ChakraProviderProps, 'value'>, Omit<ColorModeProviderProps, 'children'> {
|
|
6
6
|
customTheme?: SystemContext;
|
|
7
7
|
}
|
|
8
8
|
export declare const KibbleThemeProvider: ({ customTheme, children, ...rest }: KibbleThemeProviderProps) => React.JSX.Element;
|
|
@@ -139,7 +139,7 @@ export declare const semanticColorTokens: {
|
|
|
139
139
|
contrast: any;
|
|
140
140
|
};
|
|
141
141
|
subtle: any;
|
|
142
|
-
|
|
142
|
+
'subtle.contrast': import('./semanticTokens.types').SemanticTokenDefinition;
|
|
143
143
|
success: any;
|
|
144
144
|
warning: any;
|
|
145
145
|
};
|
|
@@ -74,7 +74,7 @@ export declare const semanticBorderColorTokens: {
|
|
|
74
74
|
contrast: any;
|
|
75
75
|
};
|
|
76
76
|
subtle: any;
|
|
77
|
-
|
|
77
|
+
'subtle.contrast': import('./semanticTokens.types').SemanticTokenDefinition;
|
|
78
78
|
success: any;
|
|
79
79
|
warning: any;
|
|
80
80
|
};
|
|
@@ -333,7 +333,7 @@ export declare const semanticColorTokenRecord: {
|
|
|
333
333
|
contrast: any;
|
|
334
334
|
};
|
|
335
335
|
subtle: any;
|
|
336
|
-
|
|
336
|
+
'subtle.contrast': import('./semanticTokens.types').SemanticTokenDefinition;
|
|
337
337
|
success: any;
|
|
338
338
|
warning: any;
|
|
339
339
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type SemanticProperty =
|
|
2
|
-
export type SemanticColorScheme =
|
|
1
|
+
export type SemanticProperty = 'text' | 'background' | 'border' | 'divider';
|
|
2
|
+
export type SemanticColorScheme = 'primary' | 'secondary' | 'danger' | 'warning' | 'success' | 'neutral' | 'primaryAlpha' | 'secondaryAlpha' | 'dangerAlpha' | 'neutralAlpha' | 'ai';
|
|
3
3
|
export type SemanticTokenDefinition = {
|
|
4
4
|
value: {
|
|
5
5
|
_light: string | number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SemanticProperty } from '../semanticTokens.types';
|
|
2
2
|
import { FlatSemanticTokenRecord } from './flattenSemanticTokenRecord';
|
|
3
|
-
export type KibbleThemeMode =
|
|
4
|
-
export declare const getSemanticColorTokenRecord: ({ property
|
|
3
|
+
export type KibbleThemeMode = 'light' | 'dark';
|
|
4
|
+
export declare const getSemanticColorTokenRecord: ({ property }: {
|
|
5
5
|
property: SemanticProperty;
|
|
6
6
|
}) => FlatSemanticTokenRecord;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type Blur =
|
|
1
|
+
export type Blur = 'none' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type Border =
|
|
2
|
-
export type Radius =
|
|
1
|
+
export type Border = 'none' | '1px' | '2px' | '4px' | '8px';
|
|
2
|
+
export type Radius = 'none' | 'xs' | 'sm' | 'base' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type ColorValue =
|
|
2
|
-
export type CoreColor =
|
|
1
|
+
export type ColorValue = '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
|
|
2
|
+
export type CoreColor = 'primary' | 'secondary' | 'tertiary' | 'neutral' | 'danger' | 'warning' | 'success' | 'primaryAlpha' | 'secondaryAlpha' | 'dangerAlpha' | 'primaryAlphaInverse' | 'secondaryAlphaInverse' | 'blackAlpha' | 'whiteAlpha' | 'dangerAlphaInverse';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type Shadow =
|
|
2
|
-
export type ShadowType =
|
|
1
|
+
export type Shadow = 'xs' | 'xsR' | 'sm' | 'smR' | 'base' | 'baseR' | 'md' | 'mdR' | 'lg' | 'lgR' | 'xl' | 'xlR' | '2xl' | '2xlR' | 'outline' | 'hover' | 'hover.contrast' | 'active' | 'active.contrast' | 'inner' | 'none' | 'dark-lg';
|
|
2
|
+
export type ShadowType = 'base' | 'reverse' | 'misc';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type BreakpointSize =
|
|
2
|
-
export type Size =
|
|
1
|
+
export type BreakpointSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
+
export type Size = 'max' | 'min' | 'full' | '3xs' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type Space =
|
|
1
|
+
export type Space = 'px' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40' | '44' | '48' | '52' | '56' | '60' | '64' | '72' | '80' | '96';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type TransitionDuration =
|
|
2
|
-
export type TransitionEasing =
|
|
1
|
+
export type TransitionDuration = 'ultra-fast' | 'faster' | 'fast' | 'normal' | 'slow' | 'slower' | 'ultra-slow';
|
|
2
|
+
export type TransitionEasing = 'ease-in' | 'ease-out' | 'ease-in-out';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type Font =
|
|
2
|
-
export type FontSize =
|
|
3
|
-
export type FontWeight =
|
|
4
|
-
export type LineHeight =
|
|
5
|
-
export type LetterSpacing =
|
|
1
|
+
export type Font = 'heading' | 'body' | 'mono';
|
|
2
|
+
export type FontSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl';
|
|
3
|
+
export type FontWeight = 'normal' | 'semibold' | 'bold';
|
|
4
|
+
export type LineHeight = 'normal' | 'none' | 'shorter' | 'short' | 'base' | 'tall' | 'taller' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10';
|
|
5
|
+
export type LetterSpacing = 'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ZIndex =
|
|
1
|
+
export type ZIndex = 'hide' | 'auto' | 'base' | 'docked' | 'dropdown' | 'sticky' | 'banner' | 'overlay' | 'modal' | 'popover' | 'skipLink' | 'toast' | 'tooltip' | 'tooltipExtra';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@televet/kibble-ui",
|
|
3
3
|
"description": "Kibble Design System by Otto",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.89",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cjs/index.cjs",
|
|
7
7
|
"module": "dist/esm/index.js",
|
|
@@ -154,7 +154,6 @@
|
|
|
154
154
|
"@storybook/addon-vitest": "^9.0.1",
|
|
155
155
|
"@storybook/react-vite": "^9.0.1",
|
|
156
156
|
"@storybook/test-runner": "^0.22.0",
|
|
157
|
-
"@televet/prettier-config": "^1.0.1",
|
|
158
157
|
"@types/lodash-es": "^4.17.12",
|
|
159
158
|
"@types/react": "^19.0.10",
|
|
160
159
|
"@vitejs/plugin-react": "^4.3.4",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IconLogo-D8EHZ4Is.js","sources":["../../src/components/Logo/generated/FullLogo.tsx","../../src/components/Logo/generated/IconLogo.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Ref, forwardRef } from \"react\";\ninterface SVGRProps {\n color?: string;\n height?: string;\n width?: string;\n title?: string;\n titleId?: string;\n}\nconst SvgFullLogo = (\n {\n color = \"currentColor\",\n height = \"100%\",\n width = \"100%\",\n title,\n titleId,\n }: SVGRProps,\n ref: Ref<SVGSVGElement>\n): React.JSX.Element => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"none\"\n viewBox=\"0 0 200 71\"\n height={height}\n width={width}\n ref={ref}\n aria-labelledby={titleId}\n >\n {title ? <title id={titleId}>{title}</title> : null}\n <path\n fill={color}\n d=\"M190.836 24.686c-3.569 3.67-9.07 5.107-13.026-.616-2-2.94-1-7.774 1.978-10.42 4.706-4.195 12.548-5.768 14.208.799.932 3.67-1.023 8.048-3.16 10.237M147.122 19.556c-5.024.023-7.365-2.645-6.865-8.436.341-3.967 2.819-7.798 7.206-7.593 4.319-.182 6.706 5.381 6.706 8.984 0 3.739-2.296 7.182-7.047 7.045M199.951 37.773c-.545 4.56-4.228 7.342-7.979 7.798-4 .502-7.979-1.642-8.024-7.228-.091-4.377 3.933-7.045 7.979-7.364 4.069-.32 8.593 2.234 8.024 6.794M167.308.085c-4.615.866-7.501 5.472-8.365 9.097-.978 4.104.454 8.322 6.069 9.69 3.455.82 8.025-1.756 8.979-5.609 1.91-6.43-1.477-14.159-6.683-13.178M24.596 22.497c-7.16 0-13.32 2.326-17.776 6.703C2.364 33.6 0 39.643 0 46.71c0 7.023 2.364 13.042 6.82 17.42 4.455 4.378 10.616 6.703 17.776 6.703 7.138 0 13.276-2.325 17.754-6.703 4.478-4.377 6.865-10.42 6.865-17.42 0-7.044-2.364-13.11-6.865-17.51-4.478-4.4-10.616-6.703-17.754-6.703m12.957 24.191c0 8.048-5.205 13.475-12.957 13.475-7.751 0-12.957-5.426-12.957-13.475 0-8.117 5.206-13.566 12.957-13.566s12.957 5.45 12.957 13.566M84.768 54.258c-1.796 0-3.364.889-4.41 2.508-1.387 2.211-3.5 3.397-6.138 3.397-4.319 0-6.797-2.827-6.797-7.752V34.26h14.935c3.478 0 5.729-2.074 5.729-5.266 0-3.306-2.182-5.358-5.729-5.358H67.423V14.29c0-3.762-2.182-6.11-5.728-6.11s-5.729 2.348-5.729 6.11V52.16c0 11.697 6.638 18.673 17.777 18.673 7.41 0 12.98-2.918 15.662-8.185.319-.661.728-1.71.728-2.987 0-3.237-2.16-5.403-5.365-5.403M123.003 54.258c-1.796 0-3.364.889-4.41 2.508-1.386 2.211-3.5 3.397-6.137 3.397-4.319 0-6.797-2.827-6.797-7.752V34.26h14.935c3.478 0 5.728-2.074 5.728-5.266 0-3.306-2.182-5.358-5.728-5.358h-14.935V14.29c0-3.762-2.183-6.11-5.729-6.11s-5.728 2.348-5.728 6.11V52.16c0 11.697 6.638 18.673 17.776 18.673 7.411 0 12.98-2.918 15.663-8.185.318-.661.727-1.71.727-2.987-.023-3.237-2.159-5.403-5.365-5.403M173.65 29.2c-4.478-4.377-10.615-6.703-17.753-6.703-7.161 0-13.321 2.326-17.777 6.703-4.455 4.4-6.819 10.443-6.819 17.51 0 7.023 2.364 13.042 6.819 17.42 4.456 4.378 10.616 6.703 17.777 6.703 7.138 0 13.275-2.325 17.753-6.703 4.479-4.377 6.865-10.42 6.865-17.42-.022-7.067-2.386-13.11-6.865-17.51m-4.773 17.488c0 8.048-5.206 13.475-12.958 13.475s-12.957-5.426-12.957-13.475c0-8.117 5.206-13.566 12.957-13.566 7.729 0 12.958 5.45 12.958 13.566\"\n />\n </svg>\n);\nconst ForwardRef = forwardRef(SvgFullLogo);\nexport default ForwardRef;\n","import * as React from \"react\";\nimport { Ref, forwardRef } from \"react\";\ninterface SVGRProps {\n color?: string;\n height?: string;\n width?: string;\n title?: string;\n titleId?: string;\n}\nconst SvgIconLogo = (\n {\n color = \"currentColor\",\n height = \"100%\",\n width = \"100%\",\n title,\n titleId,\n }: SVGRProps,\n ref: Ref<SVGSVGElement>\n): React.JSX.Element => (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"none\"\n viewBox=\"0 0 59 60\"\n height={height}\n width={width}\n ref={ref}\n aria-labelledby={titleId}\n >\n {title ? <title id={titleId}>{title}</title> : null}\n <path\n fill={color}\n d=\"M50.58 20.91c-3.032 3.11-7.705 4.327-11.066-.521-1.7-2.491-.85-6.586 1.68-8.826 3.998-3.554 10.661-4.886 12.071.676.792 3.11-.869 6.817-2.684 8.671M13.442 16.565c-4.268.02-6.257-2.24-5.833-7.146.29-3.36 2.395-6.605 6.123-6.431 3.67-.155 5.697 4.558 5.697 7.61 0 3.167-1.95 6.083-5.987 5.967M58.326 31.996c-.464 3.863-3.593 6.219-6.78 6.605-3.398.425-6.778-1.39-6.817-6.122-.077-3.708 3.341-5.968 6.779-6.238 3.457-.27 7.3 1.893 6.817 5.755M30.592.072c-3.92.734-6.373 4.635-7.107 7.706-.83 3.476.386 7.049 5.157 8.208 2.935.695 6.817-1.488 7.628-4.751C37.892 5.788 35.015-.76 30.592.072M35.98 24.734c-3.804-3.708-9.019-5.678-15.083-5.678-6.084 0-11.318 1.97-15.103 5.678C2.009 28.462 0 33.58 0 39.567c0 5.948 2.009 11.047 5.794 14.755S14.814 60 20.897 60c6.064 0 11.279-1.97 15.083-5.678s5.833-8.826 5.833-14.755c-.02-5.987-2.028-11.105-5.833-14.833m-4.056 14.813c0 6.818-4.422 11.415-11.008 11.415S9.908 46.365 9.908 39.547c0-6.875 4.422-11.49 11.008-11.49 6.566 0 11.008 4.615 11.008 11.49\"\n />\n </svg>\n);\nconst ForwardRef = forwardRef(SvgIconLogo);\nexport default ForwardRef;\n"],"names":["SvgFullLogo","color","height","width","title","titleId","ref","jsxs","jsx","ForwardRef","forwardRef","SvgIconLogo"],"mappings":";;AASA,MAAMA,IAAc,CAClB;AAAA,EACE,OAAAC,IAAQ;AAAA,EACR,QAAAC,IAAS;AAAA,EACT,OAAAC,IAAQ;AAAA,EACR,OAAAC;AAAA,EACA,SAAAC;AACF,GACAC,MAEAC,gBAAAA,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,MAAK;AAAA,IACL,SAAQ;AAAA,IACR,QAAAL;AAAA,IACA,OAAAC;AAAA,IACA,KAAAG;AAAA,IACA,mBAAiBD;AAAA,IAEhB,UAAA;AAAA,MAAAD,IAASI,gBAAAA,EAAAA,IAAA,SAAA,EAAM,IAAIH,GAAU,YAAM,CAAA,IAAW;AAAA,MAC/CG,gBAAAA,EAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,MAAMP;AAAA,UACN,GAAE;AAAA,QAAA;AAAA,MAAA;AAAA,IACJ;AAAA,EAAA;AACF,GAEIQ,IAAaC,EAAWV,CAAW,GC1BnCW,IAAc,CAClB;AAAA,EACE,OAAAV,IAAQ;AAAA,EACR,QAAAC,IAAS;AAAA,EACT,OAAAC,IAAQ;AAAA,EACR,OAAAC;AAAA,EACA,SAAAC;AACF,GACAC,MAEAC,gBAAAA,EAAA;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,MAAK;AAAA,IACL,SAAQ;AAAA,IACR,QAAAL;AAAA,IACA,OAAAC;AAAA,IACA,KAAAG;AAAA,IACA,mBAAiBD;AAAA,IAEhB,UAAA;AAAA,MAAAD,IAASI,gBAAAA,EAAAA,IAAA,SAAA,EAAM,IAAIH,GAAU,YAAM,CAAA,IAAW;AAAA,MAC/CG,gBAAAA,EAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,MAAMP;AAAA,UACN,GAAE;AAAA,QAAA;AAAA,MAAA;AAAA,IACJ;AAAA,EAAA;AACF,GAEIQ,IAAaC,EAAWC,CAAW;"}
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import { j as t } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import b, { forwardRef as v, Fragment as _ } from "react";
|
|
3
|
-
import { W as k } from "./heading.component-Cf58bZa1.js";
|
|
4
|
-
import { I as y } from "./icon.component-DGNCL1Yc.js";
|
|
5
|
-
import { W as R } from "./text.component-z4cNuAAI.js";
|
|
6
|
-
import { B as j } from "./button.component-BpF3MzbZ.js";
|
|
7
|
-
import { B as C } from "./box-Ck9I7FYv.js";
|
|
8
|
-
import { StatusIconMap as I, StatusTypographyMap as N } from "../esm/shared/records/index.js";
|
|
9
|
-
import { F as w } from "./flex-smlF8uQG.js";
|
|
10
|
-
import { c as B } from "./provider-ClCAdPxy.js";
|
|
11
|
-
import { c as S } from "./create-slot-recipe-context-BJmsuxih.js";
|
|
12
|
-
import { c as W } from "./factory-Ctbv0Ozn.js";
|
|
13
|
-
import { I as h, W as u, a as T } from "./icons-BXxdrBrf.js";
|
|
14
|
-
const [z, F] = B({
|
|
15
|
-
name: "AlertStatusContext",
|
|
16
|
-
hookName: "useAlertStatusContext",
|
|
17
|
-
providerName: "<Alert />"
|
|
18
|
-
}), {
|
|
19
|
-
withProvider: L,
|
|
20
|
-
withContext: x,
|
|
21
|
-
useStyles: M
|
|
22
|
-
} = S({ key: "alert" }), D = L(
|
|
23
|
-
"div",
|
|
24
|
-
"root",
|
|
25
|
-
{
|
|
26
|
-
forwardAsChild: !0,
|
|
27
|
-
wrapElement(e, s) {
|
|
28
|
-
return (
|
|
29
|
-
// @ts-ignore fix later
|
|
30
|
-
/* @__PURE__ */ t.jsx(z, { value: { status: s.status || "info" }, children: e })
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
), E = x(
|
|
35
|
-
"div",
|
|
36
|
-
"title"
|
|
37
|
-
), H = x("div", "description"), q = x(
|
|
38
|
-
"div",
|
|
39
|
-
"content"
|
|
40
|
-
), G = {
|
|
41
|
-
info: h,
|
|
42
|
-
warning: u,
|
|
43
|
-
success: T,
|
|
44
|
-
error: u,
|
|
45
|
-
neutral: h
|
|
46
|
-
}, J = v(
|
|
47
|
-
function(s, o) {
|
|
48
|
-
const i = F(), n = M(), l = typeof i.status == "string" ? G[i.status] : _, { children: c = /* @__PURE__ */ t.jsx(l, {}), ...a } = s;
|
|
49
|
-
return /* @__PURE__ */ t.jsx(W.span, { ref: o, ...a, css: [n.indicator, s.css], children: c });
|
|
50
|
-
}
|
|
51
|
-
), f = ({
|
|
52
|
-
buttonPosition: e = "topRight",
|
|
53
|
-
buttonText: s,
|
|
54
|
-
status: o,
|
|
55
|
-
...i
|
|
56
|
-
}) => /* @__PURE__ */ t.jsx(
|
|
57
|
-
C,
|
|
58
|
-
{
|
|
59
|
-
className: "Alert__Button",
|
|
60
|
-
"data-testid": "kibble-alert-button",
|
|
61
|
-
...e === "bottomLeft" && { pt: 2, pb: 1 },
|
|
62
|
-
children: /* @__PURE__ */ t.jsx(
|
|
63
|
-
j,
|
|
64
|
-
{
|
|
65
|
-
size: "xs",
|
|
66
|
-
variant: o === "default" ? "primary" : "secondary",
|
|
67
|
-
w: "max-content",
|
|
68
|
-
...i,
|
|
69
|
-
children: s
|
|
70
|
-
}
|
|
71
|
-
)
|
|
72
|
-
}
|
|
73
|
-
), at = ({
|
|
74
|
-
buttonProps: e,
|
|
75
|
-
description: s,
|
|
76
|
-
descriptionProps: o,
|
|
77
|
-
hideCloseButton: i = !1,
|
|
78
|
-
hideIcon: n = !1,
|
|
79
|
-
iconProps: l,
|
|
80
|
-
onClose: c,
|
|
81
|
-
onContrast: a = !1,
|
|
82
|
-
status: r = "success",
|
|
83
|
-
title: m,
|
|
84
|
-
titleProps: A,
|
|
85
|
-
...g
|
|
86
|
-
}) => {
|
|
87
|
-
e && !e.buttonPosition && (e.buttonPosition = "topRight");
|
|
88
|
-
const d = e && e.buttonPosition === "topRight", p = d ? w : b.Fragment;
|
|
89
|
-
return /* @__PURE__ */ t.jsxs(
|
|
90
|
-
D,
|
|
91
|
-
{
|
|
92
|
-
className: "Alert",
|
|
93
|
-
"data-testid": "kibble-alert",
|
|
94
|
-
...g,
|
|
95
|
-
variant: r,
|
|
96
|
-
hideIcon: n,
|
|
97
|
-
onContrast: a,
|
|
98
|
-
children: [
|
|
99
|
-
!n && /* @__PURE__ */ t.jsx(
|
|
100
|
-
J,
|
|
101
|
-
{
|
|
102
|
-
className: "Alert__Icon",
|
|
103
|
-
"data-testid": "kibble-alert-icon",
|
|
104
|
-
children: /* @__PURE__ */ t.jsx(
|
|
105
|
-
y,
|
|
106
|
-
{
|
|
107
|
-
variant: a ? "onContrast" : N[r],
|
|
108
|
-
name: l?.name || I[r],
|
|
109
|
-
size: "lg",
|
|
110
|
-
...l
|
|
111
|
-
}
|
|
112
|
-
)
|
|
113
|
-
}
|
|
114
|
-
),
|
|
115
|
-
/* @__PURE__ */ t.jsxs(
|
|
116
|
-
q,
|
|
117
|
-
{
|
|
118
|
-
className: "Alert__Content",
|
|
119
|
-
"data-testid": "kibble-alert-content",
|
|
120
|
-
children: [
|
|
121
|
-
m && /* @__PURE__ */ t.jsxs(
|
|
122
|
-
p,
|
|
123
|
-
{
|
|
124
|
-
...d && {
|
|
125
|
-
justifyContent: "space-between",
|
|
126
|
-
gap: 2
|
|
127
|
-
},
|
|
128
|
-
children: [
|
|
129
|
-
/* @__PURE__ */ t.jsx(
|
|
130
|
-
E,
|
|
131
|
-
{
|
|
132
|
-
className: "Alert__Title",
|
|
133
|
-
"data-testid": "kibble-alert-title",
|
|
134
|
-
children: /* @__PURE__ */ t.jsx(
|
|
135
|
-
k,
|
|
136
|
-
{
|
|
137
|
-
size: "sm",
|
|
138
|
-
variant: a ? "onContrast" : "default",
|
|
139
|
-
...A,
|
|
140
|
-
children: m
|
|
141
|
-
}
|
|
142
|
-
)
|
|
143
|
-
}
|
|
144
|
-
),
|
|
145
|
-
e && e.buttonPosition === "topRight" && /* @__PURE__ */ t.jsx(
|
|
146
|
-
f,
|
|
147
|
-
{
|
|
148
|
-
status: r,
|
|
149
|
-
onContrast: a,
|
|
150
|
-
...e
|
|
151
|
-
}
|
|
152
|
-
)
|
|
153
|
-
]
|
|
154
|
-
}
|
|
155
|
-
),
|
|
156
|
-
s && /* @__PURE__ */ t.jsxs(
|
|
157
|
-
p,
|
|
158
|
-
{
|
|
159
|
-
...d && { justifyContent: "space-between" },
|
|
160
|
-
children: [
|
|
161
|
-
/* @__PURE__ */ t.jsx(
|
|
162
|
-
H,
|
|
163
|
-
{
|
|
164
|
-
className: "Alert__Description",
|
|
165
|
-
"data-testid": "kibble-alert-description",
|
|
166
|
-
children: typeof s == "string" ? /* @__PURE__ */ t.jsx(
|
|
167
|
-
R,
|
|
168
|
-
{
|
|
169
|
-
size: "md",
|
|
170
|
-
variant: a ? "onContrast" : "default",
|
|
171
|
-
...o,
|
|
172
|
-
children: s
|
|
173
|
-
}
|
|
174
|
-
) : s
|
|
175
|
-
}
|
|
176
|
-
),
|
|
177
|
-
e && e.buttonPosition === "topRight" && !m && /* @__PURE__ */ t.jsx(
|
|
178
|
-
f,
|
|
179
|
-
{
|
|
180
|
-
status: r,
|
|
181
|
-
onContrast: a,
|
|
182
|
-
...e
|
|
183
|
-
}
|
|
184
|
-
)
|
|
185
|
-
]
|
|
186
|
-
}
|
|
187
|
-
),
|
|
188
|
-
e?.buttonPosition === "bottomLeft" && /* @__PURE__ */ t.jsx(
|
|
189
|
-
f,
|
|
190
|
-
{
|
|
191
|
-
status: r,
|
|
192
|
-
onContrast: a,
|
|
193
|
-
...e
|
|
194
|
-
}
|
|
195
|
-
)
|
|
196
|
-
]
|
|
197
|
-
}
|
|
198
|
-
),
|
|
199
|
-
!i && /* @__PURE__ */ t.jsx(
|
|
200
|
-
j,
|
|
201
|
-
{
|
|
202
|
-
className: "Alert__CloseTrigger",
|
|
203
|
-
"data-testid": "kibble-alert-close-trigger",
|
|
204
|
-
iconName: "close",
|
|
205
|
-
size: "xs",
|
|
206
|
-
variant: "ghostNeutral",
|
|
207
|
-
onContrast: a,
|
|
208
|
-
onClick: c
|
|
209
|
-
}
|
|
210
|
-
)
|
|
211
|
-
]
|
|
212
|
-
}
|
|
213
|
-
);
|
|
214
|
-
}, it = ["topRight", "bottomLeft"];
|
|
215
|
-
export {
|
|
216
|
-
at as A,
|
|
217
|
-
it as a
|
|
218
|
-
};
|
|
219
|
-
//# sourceMappingURL=alert.types-QEeDYCAD.js.map
|