@techzyapp/ui-library 1.0.0
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/Accordion-CAxa1I-m.js +112 -0
- package/dist/Accordion-CAxa1I-m.js.map +1 -0
- package/dist/Accordion-Dy_dM79Y.cjs +2 -0
- package/dist/Accordion-Dy_dM79Y.cjs.map +1 -0
- package/dist/Alert-BQpA48PY.js +71 -0
- package/dist/Alert-BQpA48PY.js.map +1 -0
- package/dist/Alert-DKIjM-9x.cjs +2 -0
- package/dist/Alert-DKIjM-9x.cjs.map +1 -0
- package/dist/Avatar-BJVCdo-K.js +60 -0
- package/dist/Avatar-BJVCdo-K.js.map +1 -0
- package/dist/Avatar-_ufXh3AY.cjs +2 -0
- package/dist/Avatar-_ufXh3AY.cjs.map +1 -0
- package/dist/AvatarGroup-DdJf4aT7.js +33 -0
- package/dist/AvatarGroup-DdJf4aT7.js.map +1 -0
- package/dist/AvatarGroup-TW1pt4tj.cjs +2 -0
- package/dist/AvatarGroup-TW1pt4tj.cjs.map +1 -0
- package/dist/Badge-BQpr2Jee.cjs +2 -0
- package/dist/Badge-BQpr2Jee.cjs.map +1 -0
- package/dist/Badge-DSWigoGC.js +50 -0
- package/dist/Badge-DSWigoGC.js.map +1 -0
- package/dist/Breadcrumbs-Bx5UgwDy.js +35 -0
- package/dist/Breadcrumbs-Bx5UgwDy.js.map +1 -0
- package/dist/Breadcrumbs-CHONper7.cjs +2 -0
- package/dist/Breadcrumbs-CHONper7.cjs.map +1 -0
- package/dist/Button-D4bfVNNa.cjs +2 -0
- package/dist/Button-D4bfVNNa.cjs.map +1 -0
- package/dist/Button-DhEv0YFk.js +72 -0
- package/dist/Button-DhEv0YFk.js.map +1 -0
- package/dist/Calendar-Bh317SaV.js +267 -0
- package/dist/Calendar-Bh317SaV.js.map +1 -0
- package/dist/Calendar-C8uNezI-.cjs +2 -0
- package/dist/Calendar-C8uNezI-.cjs.map +1 -0
- package/dist/Card-CfyaerZZ.cjs +2 -0
- package/dist/Card-CfyaerZZ.cjs.map +1 -0
- package/dist/Card-DzClqJuu.js +118 -0
- package/dist/Card-DzClqJuu.js.map +1 -0
- package/dist/Checkbox-DXOzYIAz.cjs +2 -0
- package/dist/Checkbox-DXOzYIAz.cjs.map +1 -0
- package/dist/Checkbox-XKL_Q5qj.js +84 -0
- package/dist/Checkbox-XKL_Q5qj.js.map +1 -0
- package/dist/Chip-Cfo0v3Z8.js +92 -0
- package/dist/Chip-Cfo0v3Z8.js.map +1 -0
- package/dist/Chip-DSrdXLBU.cjs +2 -0
- package/dist/Chip-DSrdXLBU.cjs.map +1 -0
- package/dist/ChoiceCardGroup-6eFM1eL0.cjs +2 -0
- package/dist/ChoiceCardGroup-6eFM1eL0.cjs.map +1 -0
- package/dist/ChoiceCardGroup-CvFzZlgI.js +181 -0
- package/dist/ChoiceCardGroup-CvFzZlgI.js.map +1 -0
- package/dist/CodeBlock-DOk5wekc.cjs +2 -0
- package/dist/CodeBlock-DOk5wekc.cjs.map +1 -0
- package/dist/CodeBlock-n3KExtTO.js +104 -0
- package/dist/CodeBlock-n3KExtTO.js.map +1 -0
- package/dist/Col-D2TfZKiM.js +13 -0
- package/dist/Col-D2TfZKiM.js.map +1 -0
- package/dist/Col-R5mAy8T9.cjs +2 -0
- package/dist/Col-R5mAy8T9.cjs.map +1 -0
- package/dist/ColorPicker-2udt1ORM.js +119 -0
- package/dist/ColorPicker-2udt1ORM.js.map +1 -0
- package/dist/ColorPicker-BwmaXCOy.cjs +2 -0
- package/dist/ColorPicker-BwmaXCOy.cjs.map +1 -0
- package/dist/ColorPickerPanel-BM9OwDDE.js +336 -0
- package/dist/ColorPickerPanel-BM9OwDDE.js.map +1 -0
- package/dist/ColorPickerPanel-ByB1mLSi.cjs +2 -0
- package/dist/ColorPickerPanel-ByB1mLSi.cjs.map +1 -0
- package/dist/ConfigProvider-2c94kUOk.js +291 -0
- package/dist/ConfigProvider-2c94kUOk.js.map +1 -0
- package/dist/ConfigProvider-ByOFXVyP.cjs +2 -0
- package/dist/ConfigProvider-ByOFXVyP.cjs.map +1 -0
- package/dist/DatePicker-DF4Epkn8.cjs +2 -0
- package/dist/DatePicker-DF4Epkn8.cjs.map +1 -0
- package/dist/DatePicker-WM9TC6L_.js +191 -0
- package/dist/DatePicker-WM9TC6L_.js.map +1 -0
- package/dist/DatePicker.module-BZDftL4g.js +138 -0
- package/dist/DatePicker.module-BZDftL4g.js.map +1 -0
- package/dist/DatePicker.module-tE-tGNBd.cjs +2 -0
- package/dist/DatePicker.module-tE-tGNBd.cjs.map +1 -0
- package/dist/DateTimePicker-C557OjBU.cjs +2 -0
- package/dist/DateTimePicker-C557OjBU.cjs.map +1 -0
- package/dist/DateTimePicker-DBtcWK0F.js +245 -0
- package/dist/DateTimePicker-DBtcWK0F.js.map +1 -0
- package/dist/Divider-CzbhdCiD.cjs +2 -0
- package/dist/Divider-CzbhdCiD.cjs.map +1 -0
- package/dist/Divider-LtH3dLgw.js +36 -0
- package/dist/Divider-LtH3dLgw.js.map +1 -0
- package/dist/Dropdown-DKAXue5_.js +146 -0
- package/dist/Dropdown-DKAXue5_.js.map +1 -0
- package/dist/Dropdown-DygP50OB.cjs +2 -0
- package/dist/Dropdown-DygP50OB.cjs.map +1 -0
- package/dist/EmptyState-CCCpZ-ZA.cjs +2 -0
- package/dist/EmptyState-CCCpZ-ZA.cjs.map +1 -0
- package/dist/EmptyState-CetM49vk.js +38 -0
- package/dist/EmptyState-CetM49vk.js.map +1 -0
- package/dist/FileUploader-B4TJHyoi.cjs +2 -0
- package/dist/FileUploader-B4TJHyoi.cjs.map +1 -0
- package/dist/FileUploader-VtmmwUFE.js +684 -0
- package/dist/FileUploader-VtmmwUFE.js.map +1 -0
- package/dist/Flag-BWCX6oSR.js +24 -0
- package/dist/Flag-BWCX6oSR.js.map +1 -0
- package/dist/Flag-EPZOrH-U.cjs +2 -0
- package/dist/Flag-EPZOrH-U.cjs.map +1 -0
- package/dist/Flex-Bj3mMF5A.js +50 -0
- package/dist/Flex-Bj3mMF5A.js.map +1 -0
- package/dist/Flex-CqL3Ghda.cjs +2 -0
- package/dist/Flex-CqL3Ghda.cjs.map +1 -0
- package/dist/FloatingPanel-BG9Uag__.js +131 -0
- package/dist/FloatingPanel-BG9Uag__.js.map +1 -0
- package/dist/FloatingPanel-U6sGYiSK.cjs +2 -0
- package/dist/FloatingPanel-U6sGYiSK.cjs.map +1 -0
- package/dist/Form-Bz2xgkEm.cjs +2 -0
- package/dist/Form-Bz2xgkEm.cjs.map +1 -0
- package/dist/Form-kglaJYr5.js +9 -0
- package/dist/Form-kglaJYr5.js.map +1 -0
- package/dist/FullscreenToggle-DDKN5n8B.cjs +2 -0
- package/dist/FullscreenToggle-DDKN5n8B.cjs.map +1 -0
- package/dist/FullscreenToggle-oWzYqUPH.js +42 -0
- package/dist/FullscreenToggle-oWzYqUPH.js.map +1 -0
- package/dist/Grid-Bw95bKkJ.cjs +2 -0
- package/dist/Grid-Bw95bKkJ.cjs.map +1 -0
- package/dist/Grid-CY-syhTX.js +24 -0
- package/dist/Grid-CY-syhTX.js.map +1 -0
- package/dist/Icon-CXTl_QAP.cjs +2 -0
- package/dist/Icon-CXTl_QAP.cjs.map +1 -0
- package/dist/Icon-CophpkHo.js +1228 -0
- package/dist/Icon-CophpkHo.js.map +1 -0
- package/dist/IconButton-CBusrDa9.js +68 -0
- package/dist/IconButton-CBusrDa9.js.map +1 -0
- package/dist/IconButton-D6TenQZ_.cjs +2 -0
- package/dist/IconButton-D6TenQZ_.cjs.map +1 -0
- package/dist/List-BHgFI9Ll.js +26 -0
- package/dist/List-BHgFI9Ll.js.map +1 -0
- package/dist/List-CNz2M3-q.cjs +2 -0
- package/dist/List-CNz2M3-q.cjs.map +1 -0
- package/dist/ListItem-B4yqZR-Z.js +74 -0
- package/dist/ListItem-B4yqZR-Z.js.map +1 -0
- package/dist/ListItem-RH-D-Wey.cjs +2 -0
- package/dist/ListItem-RH-D-Wey.cjs.map +1 -0
- package/dist/Loader-C4JoXOyA.js +28 -0
- package/dist/Loader-C4JoXOyA.js.map +1 -0
- package/dist/Loader-D1MtlQOH.cjs +2 -0
- package/dist/Loader-D1MtlQOH.cjs.map +1 -0
- package/dist/Modal-B2YSCVVt.cjs +2 -0
- package/dist/Modal-B2YSCVVt.cjs.map +1 -0
- package/dist/Modal-BuaPDlKV.js +195 -0
- package/dist/Modal-BuaPDlKV.js.map +1 -0
- package/dist/MultiSelect-BGRT_B60.js +350 -0
- package/dist/MultiSelect-BGRT_B60.js.map +1 -0
- package/dist/MultiSelect-CSJKSWpA.cjs +2 -0
- package/dist/MultiSelect-CSJKSWpA.cjs.map +1 -0
- package/dist/MultilineTextField-CwNCJ9lZ.js +123 -0
- package/dist/MultilineTextField-CwNCJ9lZ.js.map +1 -0
- package/dist/MultilineTextField-Dz6Fg8RJ.cjs +2 -0
- package/dist/MultilineTextField-Dz6Fg8RJ.cjs.map +1 -0
- package/dist/NumberField-DBpO-Z_7.cjs +2 -0
- package/dist/NumberField-DBpO-Z_7.cjs.map +1 -0
- package/dist/NumberField-DBvhSQCw.js +183 -0
- package/dist/NumberField-DBvhSQCw.js.map +1 -0
- package/dist/OtpField-BUBYyorC.cjs +2 -0
- package/dist/OtpField-BUBYyorC.cjs.map +1 -0
- package/dist/OtpField-CTq-CUbF.js +171 -0
- package/dist/OtpField-CTq-CUbF.js.map +1 -0
- package/dist/PageLayout-DddzYw2B.js +12 -0
- package/dist/PageLayout-DddzYw2B.js.map +1 -0
- package/dist/PageLayout-Dfbjw6jD.cjs +2 -0
- package/dist/PageLayout-Dfbjw6jD.cjs.map +1 -0
- package/dist/Pagination-CN9V8M5C.js +139 -0
- package/dist/Pagination-CN9V8M5C.js.map +1 -0
- package/dist/Pagination-DRwTLPh8.cjs +2 -0
- package/dist/Pagination-DRwTLPh8.cjs.map +1 -0
- package/dist/Popover-CBI1icIM.cjs +2 -0
- package/dist/Popover-CBI1icIM.cjs.map +1 -0
- package/dist/Popover-CgIU4Rhg.js +65 -0
- package/dist/Popover-CgIU4Rhg.js.map +1 -0
- package/dist/RadioGroup-C8u7eNBS.cjs +2 -0
- package/dist/RadioGroup-C8u7eNBS.cjs.map +1 -0
- package/dist/RadioGroup-DbodUJW8.js +141 -0
- package/dist/RadioGroup-DbodUJW8.js.map +1 -0
- package/dist/RemoveDialog-Bvt6sH79.js +47 -0
- package/dist/RemoveDialog-Bvt6sH79.js.map +1 -0
- package/dist/RemoveDialog-ClyZKyUG.cjs +2 -0
- package/dist/RemoveDialog-ClyZKyUG.cjs.map +1 -0
- package/dist/RichTextEditor-BTx8Py3I.js +806 -0
- package/dist/RichTextEditor-BTx8Py3I.js.map +1 -0
- package/dist/RichTextEditor-CAYt1Zm1.cjs +2 -0
- package/dist/RichTextEditor-CAYt1Zm1.cjs.map +1 -0
- package/dist/RootLayout-Cp-9CVjP.cjs +2 -0
- package/dist/RootLayout-Cp-9CVjP.cjs.map +1 -0
- package/dist/RootLayout-DCpfuFWF.js +405 -0
- package/dist/RootLayout-DCpfuFWF.js.map +1 -0
- package/dist/Select-PbTyxB1Q.js +338 -0
- package/dist/Select-PbTyxB1Q.js.map +1 -0
- package/dist/Select-_6WogC0u.cjs +2 -0
- package/dist/Select-_6WogC0u.cjs.map +1 -0
- package/dist/Sidebar-AaIlRzgk.cjs +2 -0
- package/dist/Sidebar-AaIlRzgk.cjs.map +1 -0
- package/dist/Sidebar-DRCs2ygZ.js +422 -0
- package/dist/Sidebar-DRCs2ygZ.js.map +1 -0
- package/dist/Slider-dxYVXRev.cjs +2 -0
- package/dist/Slider-dxYVXRev.cjs.map +1 -0
- package/dist/Slider-oGXd5e9X.js +184 -0
- package/dist/Slider-oGXd5e9X.js.map +1 -0
- package/dist/SpeedDial-C4jxIXTr.cjs +2 -0
- package/dist/SpeedDial-C4jxIXTr.cjs.map +1 -0
- package/dist/SpeedDial-DgFj16BQ.js +165 -0
- package/dist/SpeedDial-DgFj16BQ.js.map +1 -0
- package/dist/Stepper-7pPEBRLI.cjs +2 -0
- package/dist/Stepper-7pPEBRLI.cjs.map +1 -0
- package/dist/Stepper-COKAyN1L.js +165 -0
- package/dist/Stepper-COKAyN1L.js.map +1 -0
- package/dist/SwatchPicker-D30aSrbY.js +129 -0
- package/dist/SwatchPicker-D30aSrbY.js.map +1 -0
- package/dist/SwatchPicker-DbAU9-ux.cjs +2 -0
- package/dist/SwatchPicker-DbAU9-ux.cjs.map +1 -0
- package/dist/Switch-DMPJ0fhB.js +85 -0
- package/dist/Switch-DMPJ0fhB.js.map +1 -0
- package/dist/Switch-DRkZ6kHJ.cjs +2 -0
- package/dist/Switch-DRkZ6kHJ.cjs.map +1 -0
- package/dist/Table-BeOumGng.cjs +2 -0
- package/dist/Table-BeOumGng.cjs.map +1 -0
- package/dist/Table-BjPLvMbf.js +1090 -0
- package/dist/Table-BjPLvMbf.js.map +1 -0
- package/dist/Tabs--DDM-zKe.js +190 -0
- package/dist/Tabs--DDM-zKe.js.map +1 -0
- package/dist/Tabs-BZcMnjdC.cjs +2 -0
- package/dist/Tabs-BZcMnjdC.cjs.map +1 -0
- package/dist/TagsField-BTJcZS9P.js +186 -0
- package/dist/TagsField-BTJcZS9P.js.map +1 -0
- package/dist/TagsField-kknWiJZZ.cjs +2 -0
- package/dist/TagsField-kknWiJZZ.cjs.map +1 -0
- package/dist/TextField-BPefnD5M.cjs +2 -0
- package/dist/TextField-BPefnD5M.cjs.map +1 -0
- package/dist/TextField-DMI1X09n.js +266 -0
- package/dist/TextField-DMI1X09n.js.map +1 -0
- package/dist/TextField.module-QePvGeJ3.js +27 -0
- package/dist/TextField.module-QePvGeJ3.js.map +1 -0
- package/dist/TextField.module-m-UllwzG.cjs +2 -0
- package/dist/TextField.module-m-UllwzG.cjs.map +1 -0
- package/dist/ThemeToggle-DTal3RX5.cjs +2 -0
- package/dist/ThemeToggle-DTal3RX5.cjs.map +1 -0
- package/dist/ThemeToggle-Deh9j8pm.js +28 -0
- package/dist/ThemeToggle-Deh9j8pm.js.map +1 -0
- package/dist/TimeColumns-BCNmu4b_.js +147 -0
- package/dist/TimeColumns-BCNmu4b_.js.map +1 -0
- package/dist/TimeColumns-Duh4DcYJ.cjs +2 -0
- package/dist/TimeColumns-Duh4DcYJ.cjs.map +1 -0
- package/dist/TimePicker-3JgvK2on.js +194 -0
- package/dist/TimePicker-3JgvK2on.js.map +1 -0
- package/dist/TimePicker-CfGrCH9T.cjs +2 -0
- package/dist/TimePicker-CfGrCH9T.cjs.map +1 -0
- package/dist/Timeline-CoxW0Ia_.cjs +2 -0
- package/dist/Timeline-CoxW0Ia_.cjs.map +1 -0
- package/dist/Timeline-WkV4k_we.js +71 -0
- package/dist/Timeline-WkV4k_we.js.map +1 -0
- package/dist/Toaster-Bk5GtPjX.cjs +2 -0
- package/dist/Toaster-Bk5GtPjX.cjs.map +1 -0
- package/dist/Toaster-D-eG1xv7.js +63 -0
- package/dist/Toaster-D-eG1xv7.js.map +1 -0
- package/dist/ToggleButtonGroup-BWd7MOcc.js +123 -0
- package/dist/ToggleButtonGroup-BWd7MOcc.js.map +1 -0
- package/dist/ToggleButtonGroup-DYRLwKKh.cjs +2 -0
- package/dist/ToggleButtonGroup-DYRLwKKh.cjs.map +1 -0
- package/dist/Tooltip-Ao7az09p.cjs +2 -0
- package/dist/Tooltip-Ao7az09p.cjs.map +1 -0
- package/dist/Tooltip-Cb_FKxT9.js +65 -0
- package/dist/Tooltip-Cb_FKxT9.js.map +1 -0
- package/dist/TranslatedFields-CI0F9bHw.js +82 -0
- package/dist/TranslatedFields-CI0F9bHw.js.map +1 -0
- package/dist/TranslatedFields-DT3bYse6.cjs +2 -0
- package/dist/TranslatedFields-DT3bYse6.cjs.map +1 -0
- package/dist/Typography-BFatE1_A.cjs +2 -0
- package/dist/Typography-BFatE1_A.cjs.map +1 -0
- package/dist/Typography-Cta6Rg4L.js +51 -0
- package/dist/Typography-Cta6Rg4L.js.map +1 -0
- package/dist/UserCard-BhqtX1vU.js +74 -0
- package/dist/UserCard-BhqtX1vU.js.map +1 -0
- package/dist/UserCard-OlLeyyS0.cjs +2 -0
- package/dist/UserCard-OlLeyyS0.cjs.map +1 -0
- package/dist/access-DPUHbE-S.cjs +2 -0
- package/dist/access-DPUHbE-S.cjs.map +1 -0
- package/dist/access-Db4knwyR.js +25 -0
- package/dist/access-Db4knwyR.js.map +1 -0
- package/dist/components/Accordion/Accordion.d.cts +43 -0
- package/dist/components/Accordion/Accordion.d.ts +43 -0
- package/dist/components/Accordion/AccordionItem.d.cts +20 -0
- package/dist/components/Accordion/AccordionItem.d.ts +20 -0
- package/dist/components/Accordion/accordionContext.d.cts +13 -0
- package/dist/components/Accordion/accordionContext.d.ts +13 -0
- package/dist/components/Accordion/index.cjs +2 -0
- package/dist/components/Accordion/index.cjs.map +1 -0
- package/dist/components/Accordion/index.d.cts +4 -0
- package/dist/components/Accordion/index.d.ts +4 -0
- package/dist/components/Accordion/index.js +7 -0
- package/dist/components/Accordion/index.js.map +1 -0
- package/dist/components/Alert/Alert.d.cts +30 -0
- package/dist/components/Alert/Alert.d.ts +30 -0
- package/dist/components/Alert/index.cjs +2 -0
- package/dist/components/Alert/index.cjs.map +1 -0
- package/dist/components/Alert/index.d.cts +2 -0
- package/dist/components/Alert/index.d.ts +2 -0
- package/dist/components/Alert/index.js +6 -0
- package/dist/components/Alert/index.js.map +1 -0
- package/dist/components/Avatar/Avatar.d.cts +28 -0
- package/dist/components/Avatar/Avatar.d.ts +28 -0
- package/dist/components/Avatar/AvatarGroup.d.cts +19 -0
- package/dist/components/Avatar/AvatarGroup.d.ts +19 -0
- package/dist/components/Avatar/index.cjs +2 -0
- package/dist/components/Avatar/index.cjs.map +1 -0
- package/dist/components/Avatar/index.d.cts +4 -0
- package/dist/components/Avatar/index.d.ts +4 -0
- package/dist/components/Avatar/index.js +8 -0
- package/dist/components/Avatar/index.js.map +1 -0
- package/dist/components/Badge/Badge.d.cts +26 -0
- package/dist/components/Badge/Badge.d.ts +26 -0
- package/dist/components/Badge/index.cjs +2 -0
- package/dist/components/Badge/index.cjs.map +1 -0
- package/dist/components/Badge/index.d.cts +2 -0
- package/dist/components/Badge/index.d.ts +2 -0
- package/dist/components/Badge/index.js +6 -0
- package/dist/components/Badge/index.js.map +1 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.cts +17 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +17 -0
- package/dist/components/Breadcrumbs/index.cjs +2 -0
- package/dist/components/Breadcrumbs/index.cjs.map +1 -0
- package/dist/components/Breadcrumbs/index.d.cts +2 -0
- package/dist/components/Breadcrumbs/index.d.ts +2 -0
- package/dist/components/Breadcrumbs/index.js +6 -0
- package/dist/components/Breadcrumbs/index.js.map +1 -0
- package/dist/components/Button/Button.d.cts +23 -0
- package/dist/components/Button/Button.d.ts +23 -0
- package/dist/components/Button/index.cjs +2 -0
- package/dist/components/Button/index.cjs.map +1 -0
- package/dist/components/Button/index.d.cts +2 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/index.js +6 -0
- package/dist/components/Button/index.js.map +1 -0
- package/dist/components/Card/Card.d.cts +37 -0
- package/dist/components/Card/Card.d.ts +37 -0
- package/dist/components/Card/index.cjs +2 -0
- package/dist/components/Card/index.cjs.map +1 -0
- package/dist/components/Card/index.d.cts +2 -0
- package/dist/components/Card/index.d.ts +2 -0
- package/dist/components/Card/index.js +6 -0
- package/dist/components/Card/index.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.cts +29 -0
- package/dist/components/Checkbox/Checkbox.d.ts +29 -0
- package/dist/components/Checkbox/index.cjs +2 -0
- package/dist/components/Checkbox/index.cjs.map +1 -0
- package/dist/components/Checkbox/index.d.cts +2 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Checkbox/index.js +6 -0
- package/dist/components/Checkbox/index.js.map +1 -0
- package/dist/components/Chip/Chip.d.cts +37 -0
- package/dist/components/Chip/Chip.d.ts +37 -0
- package/dist/components/Chip/index.cjs +2 -0
- package/dist/components/Chip/index.cjs.map +1 -0
- package/dist/components/Chip/index.d.cts +2 -0
- package/dist/components/Chip/index.d.ts +2 -0
- package/dist/components/Chip/index.js +6 -0
- package/dist/components/Chip/index.js.map +1 -0
- package/dist/components/ChoiceCard/ChoiceCard.d.cts +41 -0
- package/dist/components/ChoiceCard/ChoiceCard.d.ts +41 -0
- package/dist/components/ChoiceCard/ChoiceCardGroup.d.cts +72 -0
- package/dist/components/ChoiceCard/ChoiceCardGroup.d.ts +72 -0
- package/dist/components/ChoiceCard/choiceCardContext.d.cts +21 -0
- package/dist/components/ChoiceCard/choiceCardContext.d.ts +21 -0
- package/dist/components/ChoiceCard/index.cjs +2 -0
- package/dist/components/ChoiceCard/index.cjs.map +1 -0
- package/dist/components/ChoiceCard/index.d.cts +4 -0
- package/dist/components/ChoiceCard/index.d.ts +4 -0
- package/dist/components/ChoiceCard/index.js +7 -0
- package/dist/components/ChoiceCard/index.js.map +1 -0
- package/dist/components/CodeBlock/CodeBlock.d.cts +30 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts +30 -0
- package/dist/components/CodeBlock/index.cjs +2 -0
- package/dist/components/CodeBlock/index.cjs.map +1 -0
- package/dist/components/CodeBlock/index.d.cts +2 -0
- package/dist/components/CodeBlock/index.d.ts +2 -0
- package/dist/components/CodeBlock/index.js +6 -0
- package/dist/components/CodeBlock/index.js.map +1 -0
- package/dist/components/ColorPicker/ColorPicker.d.cts +47 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts +47 -0
- package/dist/components/ColorPicker/ColorPickerPanel.d.cts +20 -0
- package/dist/components/ColorPicker/ColorPickerPanel.d.ts +20 -0
- package/dist/components/ColorPicker/colorUtils.d.cts +44 -0
- package/dist/components/ColorPicker/colorUtils.d.ts +44 -0
- package/dist/components/ColorPicker/index.cjs +2 -0
- package/dist/components/ColorPicker/index.cjs.map +1 -0
- package/dist/components/ColorPicker/index.d.cts +2 -0
- package/dist/components/ColorPicker/index.d.ts +2 -0
- package/dist/components/ColorPicker/index.js +6 -0
- package/dist/components/ColorPicker/index.js.map +1 -0
- package/dist/components/DatePicker/Calendar.d.cts +29 -0
- package/dist/components/DatePicker/Calendar.d.ts +29 -0
- package/dist/components/DatePicker/DatePicker.d.cts +66 -0
- package/dist/components/DatePicker/DatePicker.d.ts +66 -0
- package/dist/components/DatePicker/dateUtils.d.cts +86 -0
- package/dist/components/DatePicker/dateUtils.d.ts +86 -0
- package/dist/components/DatePicker/index.cjs +2 -0
- package/dist/components/DatePicker/index.cjs.map +1 -0
- package/dist/components/DatePicker/index.d.cts +2 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DatePicker/index.js +6 -0
- package/dist/components/DatePicker/index.js.map +1 -0
- package/dist/components/DateTimePicker/DateTimePicker.d.cts +79 -0
- package/dist/components/DateTimePicker/DateTimePicker.d.ts +79 -0
- package/dist/components/DateTimePicker/TimeColumns.d.cts +22 -0
- package/dist/components/DateTimePicker/TimeColumns.d.ts +22 -0
- package/dist/components/DateTimePicker/index.cjs +2 -0
- package/dist/components/DateTimePicker/index.cjs.map +1 -0
- package/dist/components/DateTimePicker/index.d.cts +2 -0
- package/dist/components/DateTimePicker/index.d.ts +2 -0
- package/dist/components/DateTimePicker/index.js +6 -0
- package/dist/components/DateTimePicker/index.js.map +1 -0
- package/dist/components/Divider/Divider.d.cts +17 -0
- package/dist/components/Divider/Divider.d.ts +17 -0
- package/dist/components/Divider/index.cjs +2 -0
- package/dist/components/Divider/index.cjs.map +1 -0
- package/dist/components/Divider/index.d.cts +2 -0
- package/dist/components/Divider/index.d.ts +2 -0
- package/dist/components/Divider/index.js +6 -0
- package/dist/components/Divider/index.js.map +1 -0
- package/dist/components/Dropdown/Dropdown.d.cts +44 -0
- package/dist/components/Dropdown/Dropdown.d.ts +44 -0
- package/dist/components/Dropdown/index.cjs +2 -0
- package/dist/components/Dropdown/index.cjs.map +1 -0
- package/dist/components/Dropdown/index.d.cts +2 -0
- package/dist/components/Dropdown/index.d.ts +2 -0
- package/dist/components/Dropdown/index.js +6 -0
- package/dist/components/Dropdown/index.js.map +1 -0
- package/dist/components/EmptyState/EmptyState.d.cts +29 -0
- package/dist/components/EmptyState/EmptyState.d.ts +29 -0
- package/dist/components/EmptyState/index.cjs +2 -0
- package/dist/components/EmptyState/index.cjs.map +1 -0
- package/dist/components/EmptyState/index.d.cts +2 -0
- package/dist/components/EmptyState/index.d.ts +2 -0
- package/dist/components/EmptyState/index.js +6 -0
- package/dist/components/EmptyState/index.js.map +1 -0
- package/dist/components/FileUploader/FileUploader.d.cts +144 -0
- package/dist/components/FileUploader/FileUploader.d.ts +144 -0
- package/dist/components/FileUploader/FileUploaderEditDialog.d.cts +34 -0
- package/dist/components/FileUploader/FileUploaderEditDialog.d.ts +34 -0
- package/dist/components/FileUploader/FileUploaderPreview.d.cts +23 -0
- package/dist/components/FileUploader/FileUploaderPreview.d.ts +23 -0
- package/dist/components/FileUploader/index.cjs +2 -0
- package/dist/components/FileUploader/index.cjs.map +1 -0
- package/dist/components/FileUploader/index.d.cts +2 -0
- package/dist/components/FileUploader/index.d.ts +2 -0
- package/dist/components/FileUploader/index.js +6 -0
- package/dist/components/FileUploader/index.js.map +1 -0
- package/dist/components/Flag/Flag.d.cts +14 -0
- package/dist/components/Flag/Flag.d.ts +14 -0
- package/dist/components/Flag/index.cjs +2 -0
- package/dist/components/Flag/index.cjs.map +1 -0
- package/dist/components/Flag/index.d.cts +2 -0
- package/dist/components/Flag/index.d.ts +2 -0
- package/dist/components/Flag/index.js +6 -0
- package/dist/components/Flag/index.js.map +1 -0
- package/dist/components/Flex/Col.d.cts +8 -0
- package/dist/components/Flex/Col.d.ts +8 -0
- package/dist/components/Flex/Flex.d.cts +32 -0
- package/dist/components/Flex/Flex.d.ts +32 -0
- package/dist/components/Flex/Grid.d.cts +28 -0
- package/dist/components/Flex/Grid.d.ts +28 -0
- package/dist/components/Flex/Row.d.cts +8 -0
- package/dist/components/Flex/Row.d.ts +8 -0
- package/dist/components/Flex/index.cjs +2 -0
- package/dist/components/Flex/index.cjs.map +1 -0
- package/dist/components/Flex/index.d.cts +8 -0
- package/dist/components/Flex/index.d.ts +8 -0
- package/dist/components/Flex/index.js +11 -0
- package/dist/components/Flex/index.js.map +1 -0
- package/dist/components/FloatingPanel/FloatingPanel.d.cts +39 -0
- package/dist/components/FloatingPanel/FloatingPanel.d.ts +39 -0
- package/dist/components/FullscreenToggle/FullscreenToggle.d.cts +12 -0
- package/dist/components/FullscreenToggle/FullscreenToggle.d.ts +12 -0
- package/dist/components/FullscreenToggle/index.cjs +2 -0
- package/dist/components/FullscreenToggle/index.cjs.map +1 -0
- package/dist/components/FullscreenToggle/index.d.cts +2 -0
- package/dist/components/FullscreenToggle/index.d.ts +2 -0
- package/dist/components/FullscreenToggle/index.js +6 -0
- package/dist/components/FullscreenToggle/index.js.map +1 -0
- package/dist/components/Icon/Icon.d.cts +19 -0
- package/dist/components/Icon/Icon.d.ts +19 -0
- package/dist/components/Icon/index.cjs +2 -0
- package/dist/components/Icon/index.cjs.map +1 -0
- package/dist/components/Icon/index.d.cts +4 -0
- package/dist/components/Icon/index.d.ts +4 -0
- package/dist/components/Icon/index.js +9 -0
- package/dist/components/Icon/index.js.map +1 -0
- package/dist/components/IconButton/IconButton.d.cts +28 -0
- package/dist/components/IconButton/IconButton.d.ts +28 -0
- package/dist/components/IconButton/index.cjs +2 -0
- package/dist/components/IconButton/index.cjs.map +1 -0
- package/dist/components/IconButton/index.d.cts +2 -0
- package/dist/components/IconButton/index.d.ts +2 -0
- package/dist/components/IconButton/index.js +6 -0
- package/dist/components/IconButton/index.js.map +1 -0
- package/dist/components/List/List.d.cts +20 -0
- package/dist/components/List/List.d.ts +20 -0
- package/dist/components/List/ListItem.d.cts +33 -0
- package/dist/components/List/ListItem.d.ts +33 -0
- package/dist/components/List/index.cjs +2 -0
- package/dist/components/List/index.cjs.map +1 -0
- package/dist/components/List/index.d.cts +4 -0
- package/dist/components/List/index.d.ts +4 -0
- package/dist/components/List/index.js +8 -0
- package/dist/components/List/index.js.map +1 -0
- package/dist/components/List/listContext.d.cts +5 -0
- package/dist/components/List/listContext.d.ts +5 -0
- package/dist/components/Loader/Loader.d.cts +15 -0
- package/dist/components/Loader/Loader.d.ts +15 -0
- package/dist/components/Loader/index.cjs +2 -0
- package/dist/components/Loader/index.cjs.map +1 -0
- package/dist/components/Loader/index.d.cts +2 -0
- package/dist/components/Loader/index.d.ts +2 -0
- package/dist/components/Loader/index.js +6 -0
- package/dist/components/Loader/index.js.map +1 -0
- package/dist/components/Modal/Modal.d.cts +63 -0
- package/dist/components/Modal/Modal.d.ts +63 -0
- package/dist/components/Modal/index.cjs +2 -0
- package/dist/components/Modal/index.cjs.map +1 -0
- package/dist/components/Modal/index.d.cts +2 -0
- package/dist/components/Modal/index.d.ts +2 -0
- package/dist/components/Modal/index.js +6 -0
- package/dist/components/Modal/index.js.map +1 -0
- package/dist/components/MultiSelect/MultiSelect.d.cts +72 -0
- package/dist/components/MultiSelect/MultiSelect.d.ts +72 -0
- package/dist/components/MultiSelect/index.cjs +2 -0
- package/dist/components/MultiSelect/index.cjs.map +1 -0
- package/dist/components/MultiSelect/index.d.cts +2 -0
- package/dist/components/MultiSelect/index.d.ts +2 -0
- package/dist/components/MultiSelect/index.js +6 -0
- package/dist/components/MultiSelect/index.js.map +1 -0
- package/dist/components/MultilineTextField/MultilineTextField.d.cts +28 -0
- package/dist/components/MultilineTextField/MultilineTextField.d.ts +28 -0
- package/dist/components/MultilineTextField/index.cjs +2 -0
- package/dist/components/MultilineTextField/index.cjs.map +1 -0
- package/dist/components/MultilineTextField/index.d.cts +2 -0
- package/dist/components/MultilineTextField/index.d.ts +2 -0
- package/dist/components/MultilineTextField/index.js +6 -0
- package/dist/components/MultilineTextField/index.js.map +1 -0
- package/dist/components/NumberField/NumberField.d.cts +45 -0
- package/dist/components/NumberField/NumberField.d.ts +45 -0
- package/dist/components/NumberField/index.cjs +2 -0
- package/dist/components/NumberField/index.cjs.map +1 -0
- package/dist/components/NumberField/index.d.cts +2 -0
- package/dist/components/NumberField/index.d.ts +2 -0
- package/dist/components/NumberField/index.js +6 -0
- package/dist/components/NumberField/index.js.map +1 -0
- package/dist/components/OtpField/OtpField.d.cts +55 -0
- package/dist/components/OtpField/OtpField.d.ts +55 -0
- package/dist/components/OtpField/index.cjs +2 -0
- package/dist/components/OtpField/index.cjs.map +1 -0
- package/dist/components/OtpField/index.d.cts +2 -0
- package/dist/components/OtpField/index.d.ts +2 -0
- package/dist/components/OtpField/index.js +6 -0
- package/dist/components/OtpField/index.js.map +1 -0
- package/dist/components/Overlay/Overlay.d.cts +29 -0
- package/dist/components/Overlay/Overlay.d.ts +29 -0
- package/dist/components/PageLayout/PageLayout.d.cts +13 -0
- package/dist/components/PageLayout/PageLayout.d.ts +13 -0
- package/dist/components/PageLayout/index.cjs +2 -0
- package/dist/components/PageLayout/index.cjs.map +1 -0
- package/dist/components/PageLayout/index.d.cts +2 -0
- package/dist/components/PageLayout/index.d.ts +2 -0
- package/dist/components/PageLayout/index.js +6 -0
- package/dist/components/PageLayout/index.js.map +1 -0
- package/dist/components/Pagination/Pagination.d.cts +44 -0
- package/dist/components/Pagination/Pagination.d.ts +44 -0
- package/dist/components/Pagination/index.cjs +2 -0
- package/dist/components/Pagination/index.cjs.map +1 -0
- package/dist/components/Pagination/index.d.cts +2 -0
- package/dist/components/Pagination/index.d.ts +2 -0
- package/dist/components/Pagination/index.js +6 -0
- package/dist/components/Pagination/index.js.map +1 -0
- package/dist/components/Pagination/paginationRange.d.cts +21 -0
- package/dist/components/Pagination/paginationRange.d.ts +21 -0
- package/dist/components/Popover/Popover.d.cts +43 -0
- package/dist/components/Popover/Popover.d.ts +43 -0
- package/dist/components/Popover/index.cjs +2 -0
- package/dist/components/Popover/index.cjs.map +1 -0
- package/dist/components/Popover/index.d.cts +2 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Popover/index.js +6 -0
- package/dist/components/Popover/index.js.map +1 -0
- package/dist/components/Radio/Radio.d.cts +27 -0
- package/dist/components/Radio/Radio.d.ts +27 -0
- package/dist/components/Radio/RadioGroup.d.cts +47 -0
- package/dist/components/Radio/RadioGroup.d.ts +47 -0
- package/dist/components/Radio/index.cjs +2 -0
- package/dist/components/Radio/index.cjs.map +1 -0
- package/dist/components/Radio/index.d.cts +4 -0
- package/dist/components/Radio/index.d.ts +4 -0
- package/dist/components/Radio/index.js +7 -0
- package/dist/components/Radio/index.js.map +1 -0
- package/dist/components/Radio/radioContext.d.cts +18 -0
- package/dist/components/Radio/radioContext.d.ts +18 -0
- package/dist/components/RemoveDialog/RemoveDialog.d.cts +35 -0
- package/dist/components/RemoveDialog/RemoveDialog.d.ts +35 -0
- package/dist/components/RemoveDialog/index.cjs +2 -0
- package/dist/components/RemoveDialog/index.cjs.map +1 -0
- package/dist/components/RemoveDialog/index.d.cts +2 -0
- package/dist/components/RemoveDialog/index.d.ts +2 -0
- package/dist/components/RemoveDialog/index.js +6 -0
- package/dist/components/RemoveDialog/index.js.map +1 -0
- package/dist/components/RichTextEditor/RichTextEditor.d.cts +48 -0
- package/dist/components/RichTextEditor/RichTextEditor.d.ts +48 -0
- package/dist/components/RichTextEditor/Toolbar.d.cts +10 -0
- package/dist/components/RichTextEditor/Toolbar.d.ts +10 -0
- package/dist/components/RichTextEditor/index.cjs +2 -0
- package/dist/components/RichTextEditor/index.cjs.map +1 -0
- package/dist/components/RichTextEditor/index.d.cts +2 -0
- package/dist/components/RichTextEditor/index.d.ts +2 -0
- package/dist/components/RichTextEditor/index.js +6 -0
- package/dist/components/RichTextEditor/index.js.map +1 -0
- package/dist/components/RichTextEditor/nodes/ImageNode.d.cts +33 -0
- package/dist/components/RichTextEditor/nodes/ImageNode.d.ts +33 -0
- package/dist/components/RichTextEditor/nodes/VideoNode.d.cts +36 -0
- package/dist/components/RichTextEditor/nodes/VideoNode.d.ts +36 -0
- package/dist/components/RichTextEditor/urlSafety.d.cts +16 -0
- package/dist/components/RichTextEditor/urlSafety.d.ts +16 -0
- package/dist/components/RootLayout/RootLayout.d.cts +46 -0
- package/dist/components/RootLayout/RootLayout.d.ts +46 -0
- package/dist/components/RootLayout/SettingsDrawer.d.cts +23 -0
- package/dist/components/RootLayout/SettingsDrawer.d.ts +23 -0
- package/dist/components/RootLayout/index.cjs +2 -0
- package/dist/components/RootLayout/index.cjs.map +1 -0
- package/dist/components/RootLayout/index.d.cts +2 -0
- package/dist/components/RootLayout/index.d.ts +2 -0
- package/dist/components/RootLayout/index.js +6 -0
- package/dist/components/RootLayout/index.js.map +1 -0
- package/dist/components/Select/Select.d.cts +85 -0
- package/dist/components/Select/Select.d.ts +85 -0
- package/dist/components/Select/index.cjs +2 -0
- package/dist/components/Select/index.cjs.map +1 -0
- package/dist/components/Select/index.d.cts +2 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/Select/index.js +6 -0
- package/dist/components/Select/index.js.map +1 -0
- package/dist/components/Sidebar/Sidebar.d.cts +90 -0
- package/dist/components/Sidebar/Sidebar.d.ts +90 -0
- package/dist/components/Sidebar/index.cjs +2 -0
- package/dist/components/Sidebar/index.cjs.map +1 -0
- package/dist/components/Sidebar/index.d.cts +1 -0
- package/dist/components/Sidebar/index.d.ts +1 -0
- package/dist/components/Sidebar/index.js +7 -0
- package/dist/components/Sidebar/index.js.map +1 -0
- package/dist/components/Slider/Slider.d.cts +58 -0
- package/dist/components/Slider/Slider.d.ts +58 -0
- package/dist/components/Slider/index.cjs +2 -0
- package/dist/components/Slider/index.cjs.map +1 -0
- package/dist/components/Slider/index.d.cts +2 -0
- package/dist/components/Slider/index.d.ts +2 -0
- package/dist/components/Slider/index.js +6 -0
- package/dist/components/Slider/index.js.map +1 -0
- package/dist/components/SpeedDial/SpeedDial.d.cts +56 -0
- package/dist/components/SpeedDial/SpeedDial.d.ts +56 -0
- package/dist/components/SpeedDial/SpeedDialAction.d.cts +18 -0
- package/dist/components/SpeedDial/SpeedDialAction.d.ts +18 -0
- package/dist/components/SpeedDial/index.cjs +2 -0
- package/dist/components/SpeedDial/index.cjs.map +1 -0
- package/dist/components/SpeedDial/index.d.cts +4 -0
- package/dist/components/SpeedDial/index.d.ts +4 -0
- package/dist/components/SpeedDial/index.js +7 -0
- package/dist/components/SpeedDial/index.js.map +1 -0
- package/dist/components/SpeedDial/speedDialContext.d.cts +19 -0
- package/dist/components/SpeedDial/speedDialContext.d.ts +19 -0
- package/dist/components/Stepper/Stepper.d.cts +94 -0
- package/dist/components/Stepper/Stepper.d.ts +94 -0
- package/dist/components/Stepper/index.cjs +2 -0
- package/dist/components/Stepper/index.cjs.map +1 -0
- package/dist/components/Stepper/index.d.cts +2 -0
- package/dist/components/Stepper/index.d.ts +2 -0
- package/dist/components/Stepper/index.js +6 -0
- package/dist/components/Stepper/index.js.map +1 -0
- package/dist/components/SwatchPicker/SwatchPicker.d.cts +43 -0
- package/dist/components/SwatchPicker/SwatchPicker.d.ts +43 -0
- package/dist/components/SwatchPicker/index.cjs +2 -0
- package/dist/components/SwatchPicker/index.cjs.map +1 -0
- package/dist/components/SwatchPicker/index.d.cts +2 -0
- package/dist/components/SwatchPicker/index.d.ts +2 -0
- package/dist/components/SwatchPicker/index.js +6 -0
- package/dist/components/SwatchPicker/index.js.map +1 -0
- package/dist/components/Switch/Switch.d.cts +29 -0
- package/dist/components/Switch/Switch.d.ts +29 -0
- package/dist/components/Switch/index.cjs +2 -0
- package/dist/components/Switch/index.cjs.map +1 -0
- package/dist/components/Switch/index.d.cts +2 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Switch/index.js +6 -0
- package/dist/components/Switch/index.js.map +1 -0
- package/dist/components/Table/Table.d.cts +248 -0
- package/dist/components/Table/Table.d.ts +248 -0
- package/dist/components/Table/TableFilters.d.cts +16 -0
- package/dist/components/Table/TableFilters.d.ts +16 -0
- package/dist/components/Table/index.cjs +2 -0
- package/dist/components/Table/index.cjs.map +1 -0
- package/dist/components/Table/index.d.cts +3 -0
- package/dist/components/Table/index.d.ts +3 -0
- package/dist/components/Table/index.js +6 -0
- package/dist/components/Table/index.js.map +1 -0
- package/dist/components/Table/tableFilter.d.cts +65 -0
- package/dist/components/Table/tableFilter.d.ts +65 -0
- package/dist/components/Tabs/Tabs.d.cts +80 -0
- package/dist/components/Tabs/Tabs.d.ts +80 -0
- package/dist/components/Tabs/index.cjs +2 -0
- package/dist/components/Tabs/index.cjs.map +1 -0
- package/dist/components/Tabs/index.d.cts +2 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Tabs/index.js +6 -0
- package/dist/components/Tabs/index.js.map +1 -0
- package/dist/components/TagsField/TagsField.d.cts +47 -0
- package/dist/components/TagsField/TagsField.d.ts +47 -0
- package/dist/components/TagsField/index.cjs +2 -0
- package/dist/components/TagsField/index.cjs.map +1 -0
- package/dist/components/TagsField/index.d.cts +2 -0
- package/dist/components/TagsField/index.d.ts +2 -0
- package/dist/components/TagsField/index.js +6 -0
- package/dist/components/TagsField/index.js.map +1 -0
- package/dist/components/TextField/TextField.d.cts +62 -0
- package/dist/components/TextField/TextField.d.ts +62 -0
- package/dist/components/TextField/index.cjs +2 -0
- package/dist/components/TextField/index.cjs.map +1 -0
- package/dist/components/TextField/index.d.cts +2 -0
- package/dist/components/TextField/index.d.ts +2 -0
- package/dist/components/TextField/index.js +6 -0
- package/dist/components/TextField/index.js.map +1 -0
- package/dist/components/ThemeToggle/ThemeToggle.d.cts +9 -0
- package/dist/components/ThemeToggle/ThemeToggle.d.ts +9 -0
- package/dist/components/ThemeToggle/index.cjs +2 -0
- package/dist/components/ThemeToggle/index.cjs.map +1 -0
- package/dist/components/ThemeToggle/index.d.cts +2 -0
- package/dist/components/ThemeToggle/index.d.ts +2 -0
- package/dist/components/ThemeToggle/index.js +6 -0
- package/dist/components/ThemeToggle/index.js.map +1 -0
- package/dist/components/TimePicker/TimePicker.d.cts +68 -0
- package/dist/components/TimePicker/TimePicker.d.ts +68 -0
- package/dist/components/TimePicker/index.cjs +2 -0
- package/dist/components/TimePicker/index.cjs.map +1 -0
- package/dist/components/TimePicker/index.d.cts +2 -0
- package/dist/components/TimePicker/index.d.ts +2 -0
- package/dist/components/TimePicker/index.js +6 -0
- package/dist/components/TimePicker/index.js.map +1 -0
- package/dist/components/Timeline/Timeline.d.cts +37 -0
- package/dist/components/Timeline/Timeline.d.ts +37 -0
- package/dist/components/Timeline/TimelineItem.d.cts +26 -0
- package/dist/components/Timeline/TimelineItem.d.ts +26 -0
- package/dist/components/Timeline/index.cjs +2 -0
- package/dist/components/Timeline/index.cjs.map +1 -0
- package/dist/components/Timeline/index.d.cts +4 -0
- package/dist/components/Timeline/index.d.ts +4 -0
- package/dist/components/Timeline/index.js +7 -0
- package/dist/components/Timeline/index.js.map +1 -0
- package/dist/components/Timeline/timelineContext.d.cts +10 -0
- package/dist/components/Timeline/timelineContext.d.ts +10 -0
- package/dist/components/Toast/ToastItem.d.cts +12 -0
- package/dist/components/Toast/ToastItem.d.ts +12 -0
- package/dist/components/Toast/Toaster.d.cts +18 -0
- package/dist/components/Toast/Toaster.d.ts +18 -0
- package/dist/components/Toast/index.cjs +2 -0
- package/dist/components/Toast/index.cjs.map +1 -0
- package/dist/components/Toast/index.d.cts +4 -0
- package/dist/components/Toast/index.d.ts +4 -0
- package/dist/components/Toast/index.js +8 -0
- package/dist/components/Toast/index.js.map +1 -0
- package/dist/components/Toast/toastStore.d.cts +45 -0
- package/dist/components/Toast/toastStore.d.ts +45 -0
- package/dist/components/ToggleButton/ToggleButton.d.cts +26 -0
- package/dist/components/ToggleButton/ToggleButton.d.ts +26 -0
- package/dist/components/ToggleButton/ToggleButtonGroup.d.cts +52 -0
- package/dist/components/ToggleButton/ToggleButtonGroup.d.ts +52 -0
- package/dist/components/ToggleButton/index.cjs +2 -0
- package/dist/components/ToggleButton/index.cjs.map +1 -0
- package/dist/components/ToggleButton/index.d.cts +4 -0
- package/dist/components/ToggleButton/index.d.ts +4 -0
- package/dist/components/ToggleButton/index.js +7 -0
- package/dist/components/ToggleButton/index.js.map +1 -0
- package/dist/components/ToggleButton/toggleButtonGroupContext.d.cts +15 -0
- package/dist/components/ToggleButton/toggleButtonGroupContext.d.ts +15 -0
- package/dist/components/Tooltip/Tooltip.d.cts +21 -0
- package/dist/components/Tooltip/Tooltip.d.ts +21 -0
- package/dist/components/Tooltip/index.cjs +2 -0
- package/dist/components/Tooltip/index.cjs.map +1 -0
- package/dist/components/Tooltip/index.d.cts +2 -0
- package/dist/components/Tooltip/index.d.ts +2 -0
- package/dist/components/Tooltip/index.js +6 -0
- package/dist/components/Tooltip/index.js.map +1 -0
- package/dist/components/TranslatedFields/TranslatedFields.d.cts +56 -0
- package/dist/components/TranslatedFields/TranslatedFields.d.ts +56 -0
- package/dist/components/TranslatedFields/index.cjs +2 -0
- package/dist/components/TranslatedFields/index.cjs.map +1 -0
- package/dist/components/TranslatedFields/index.d.cts +2 -0
- package/dist/components/TranslatedFields/index.d.ts +2 -0
- package/dist/components/TranslatedFields/index.js +6 -0
- package/dist/components/TranslatedFields/index.js.map +1 -0
- package/dist/components/Typography/Typography.d.cts +30 -0
- package/dist/components/Typography/Typography.d.ts +30 -0
- package/dist/components/Typography/index.cjs +2 -0
- package/dist/components/Typography/index.cjs.map +1 -0
- package/dist/components/Typography/index.d.cts +2 -0
- package/dist/components/Typography/index.d.ts +2 -0
- package/dist/components/Typography/index.js +6 -0
- package/dist/components/Typography/index.js.map +1 -0
- package/dist/components/UserCard/UserCard.d.cts +33 -0
- package/dist/components/UserCard/UserCard.d.ts +33 -0
- package/dist/components/UserCard/index.cjs +2 -0
- package/dist/components/UserCard/index.cjs.map +1 -0
- package/dist/components/UserCard/index.d.cts +2 -0
- package/dist/components/UserCard/index.d.ts +2 -0
- package/dist/components/UserCard/index.js +6 -0
- package/dist/components/UserCard/index.js.map +1 -0
- package/dist/components/index.d.cts +57 -0
- package/dist/components/index.d.ts +57 -0
- package/dist/entries/components.cjs +2 -0
- package/dist/entries/components.cjs.map +1 -0
- package/dist/entries/components.d.cts +3 -0
- package/dist/entries/components.d.ts +3 -0
- package/dist/entries/components.js +140 -0
- package/dist/entries/components.js.map +1 -0
- package/dist/entries/helpers.cjs +2 -0
- package/dist/entries/helpers.cjs.map +1 -0
- package/dist/entries/helpers.d.cts +4 -0
- package/dist/entries/helpers.d.ts +4 -0
- package/dist/entries/helpers.js +17 -0
- package/dist/entries/helpers.js.map +1 -0
- package/dist/entries/hooks.cjs +2 -0
- package/dist/entries/hooks.cjs.map +1 -0
- package/dist/entries/hooks.d.cts +7 -0
- package/dist/entries/hooks.d.ts +7 -0
- package/dist/entries/hooks.js +12 -0
- package/dist/entries/hooks.js.map +1 -0
- package/dist/entries/i18n.cjs +2 -0
- package/dist/entries/i18n.cjs.map +1 -0
- package/dist/entries/i18n.d.cts +3 -0
- package/dist/entries/i18n.d.ts +3 -0
- package/dist/entries/i18n.js +11 -0
- package/dist/entries/i18n.js.map +1 -0
- package/dist/entries/icons.cjs +2 -0
- package/dist/entries/icons.cjs.map +1 -0
- package/dist/entries/icons.d.cts +2 -0
- package/dist/entries/icons.d.ts +2 -0
- package/dist/entries/icons.js +9 -0
- package/dist/entries/icons.js.map +1 -0
- package/dist/entries/theme.cjs +2 -0
- package/dist/entries/theme.cjs.map +1 -0
- package/dist/entries/theme.d.cts +2 -0
- package/dist/entries/theme.d.ts +2 -0
- package/dist/entries/theme.js +18 -0
- package/dist/entries/theme.js.map +1 -0
- package/dist/form/Form.d.cts +14 -0
- package/dist/form/Form.d.ts +14 -0
- package/dist/form/formContext.d.cts +8 -0
- package/dist/form/formContext.d.ts +8 -0
- package/dist/form/index.d.cts +5 -0
- package/dist/form/index.d.ts +5 -0
- package/dist/form/useForm.d.cts +81 -0
- package/dist/form/useForm.d.ts +81 -0
- package/dist/formContext-B7ln1Miy.js +10 -0
- package/dist/formContext-B7ln1Miy.js.map +1 -0
- package/dist/formContext-bTWrqdEV.cjs +2 -0
- package/dist/formContext-bTWrqdEV.cjs.map +1 -0
- package/dist/helpers/access.d.cts +11 -0
- package/dist/helpers/access.d.ts +11 -0
- package/dist/helpers/table.d.cts +41 -0
- package/dist/helpers/table.d.ts +41 -0
- package/dist/helpers/translations.d.cts +63 -0
- package/dist/helpers/translations.d.ts +63 -0
- package/dist/hooks/index.d.cts +4 -0
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/useDisclosure.d.cts +7 -0
- package/dist/hooks/useDisclosure.d.ts +7 -0
- package/dist/hooks/useFloatingPanel.d.cts +45 -0
- package/dist/hooks/useFloatingPanel.d.ts +45 -0
- package/dist/hooks/useLockBodyScroll.d.cts +7 -0
- package/dist/hooks/useLockBodyScroll.d.ts +7 -0
- package/dist/hooks/useMediaQuery.d.cts +13 -0
- package/dist/hooks/useMediaQuery.d.ts +13 -0
- package/dist/i18n/locales/de.d.cts +5 -0
- package/dist/i18n/locales/de.d.ts +5 -0
- package/dist/i18n/locales/en.d.cts +9 -0
- package/dist/i18n/locales/en.d.ts +9 -0
- package/dist/i18n/locales/es.d.cts +5 -0
- package/dist/i18n/locales/es.d.ts +5 -0
- package/dist/i18n/locales/fr.d.cts +5 -0
- package/dist/i18n/locales/fr.d.ts +5 -0
- package/dist/i18n/locales/it.d.cts +5 -0
- package/dist/i18n/locales/it.d.ts +5 -0
- package/dist/i18n/locales/ka.d.cts +8 -0
- package/dist/i18n/locales/ka.d.ts +8 -0
- package/dist/i18n/locales/ru.d.cts +5 -0
- package/dist/i18n/locales/ru.d.ts +5 -0
- package/dist/i18n/messages.d.cts +241 -0
- package/dist/i18n/messages.d.ts +241 -0
- package/dist/icons/icons.d.cts +2 -0
- package/dist/icons/icons.d.ts +2 -0
- package/dist/icons/names.d.cts +3 -0
- package/dist/icons/names.d.ts +3 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +203 -0
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +185 -0
- package/dist/index.js.map +1 -0
- package/dist/messages-C-zecFBE.js +1363 -0
- package/dist/messages-C-zecFBE.js.map +1 -0
- package/dist/messages-Cy-qK5xU.cjs +36 -0
- package/dist/messages-Cy-qK5xU.cjs.map +1 -0
- package/dist/names-C2Yj1p3u.cjs +2 -0
- package/dist/names-C2Yj1p3u.cjs.map +1 -0
- package/dist/names-D8ABK2Wk.js +1205 -0
- package/dist/names-D8ABK2Wk.js.map +1 -0
- package/dist/reset.css +78 -0
- package/dist/table-CZRQGNdk.cjs +2 -0
- package/dist/table-CZRQGNdk.cjs.map +1 -0
- package/dist/table-DF3zTrC3.js +49 -0
- package/dist/table-DF3zTrC3.js.map +1 -0
- package/dist/theme/ConfigProvider.d.cts +362 -0
- package/dist/theme/ConfigProvider.d.ts +362 -0
- package/dist/theme/applyTheme.d.cts +28 -0
- package/dist/theme/applyTheme.d.ts +28 -0
- package/dist/theme/index.d.cts +5 -0
- package/dist/theme/index.d.ts +5 -0
- package/dist/toastStore-B4Tk2Xk7.cjs +2 -0
- package/dist/toastStore-B4Tk2Xk7.cjs.map +1 -0
- package/dist/toastStore-Cx_JOKwS.js +32 -0
- package/dist/toastStore-Cx_JOKwS.js.map +1 -0
- package/dist/translations-CXEeeUDL.cjs +2 -0
- package/dist/translations-CXEeeUDL.cjs.map +1 -0
- package/dist/translations-D15tFHM1.js +74 -0
- package/dist/translations-D15tFHM1.js.map +1 -0
- package/dist/useForm-B_5wDIER.js +126 -0
- package/dist/useForm-B_5wDIER.js.map +1 -0
- package/dist/useForm-C7erBHt0.cjs +2 -0
- package/dist/useForm-C7erBHt0.cjs.map +1 -0
- package/dist/useLockBodyScroll-CIXHZo-Q.cjs +2 -0
- package/dist/useLockBodyScroll-CIXHZo-Q.cjs.map +1 -0
- package/dist/useLockBodyScroll-DwBILLPK.js +35 -0
- package/dist/useLockBodyScroll-DwBILLPK.js.map +1 -0
- package/dist/useMediaQuery-BCsNfMA1.cjs +2 -0
- package/dist/useMediaQuery-BCsNfMA1.cjs.map +1 -0
- package/dist/useMediaQuery-_1EcFoC5.js +17 -0
- package/dist/useMediaQuery-_1EcFoC5.js.map +1 -0
- package/package.json +244 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { TableQueryConfig } from '../../theme';
|
|
2
|
+
import type { SelectOption } from '../Select';
|
|
3
|
+
/** Which control + matching logic a filter uses. */
|
|
4
|
+
export type TableFilterType = 'text' | 'number' | 'numberRange' | 'numberRangeSlider' | 'select' | 'multiSelect' | 'boolean' | 'date' | 'dateRange' | 'time' | 'timeRange' | 'dateTime' | 'dateTimeRange';
|
|
5
|
+
/** The value a single filter holds — shape depends on its `type` (see each control). `null` / empty = off. */
|
|
6
|
+
export type TableFilterValue = string | number | boolean | string[] | [number | null, number | null] | [string, string] | null;
|
|
7
|
+
/** A declarative filter definition — like a column, but for the filter panel. */
|
|
8
|
+
export interface TableFilter {
|
|
9
|
+
/** Field key on the row — the local accessor + the key in the emitted filter state. */
|
|
10
|
+
key: string;
|
|
11
|
+
/** Label shown in the filter panel. */
|
|
12
|
+
label: string;
|
|
13
|
+
/** The filter's control + matching logic. */
|
|
14
|
+
type: TableFilterType;
|
|
15
|
+
/** Options for `select` / `multiSelect`. */
|
|
16
|
+
options?: SelectOption[];
|
|
17
|
+
/** Placeholder for the input(s). */
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Param name this filter serializes to in the **server-request** query (`state.query`). Defaults to
|
|
21
|
+
* `key`. Set it to rename or bake in an operator — e.g. `'name_like'`, `'q'`, `'status'`. Range filters
|
|
22
|
+
* append the `rangeMin/MaxSuffix` to this.
|
|
23
|
+
*/
|
|
24
|
+
queryKey?: string;
|
|
25
|
+
/** `numberRange` slider bounds + step (defaults `0` / `100` / `1`) — set to match the column's data range. */
|
|
26
|
+
min?: number;
|
|
27
|
+
max?: number;
|
|
28
|
+
step?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Labels for a `boolean` filter's three radios (defaults `Any` / `Yes` / `No`) — e.g.
|
|
31
|
+
* `{ any: 'All', yes: 'In stock', no: 'Sold out' }`.
|
|
32
|
+
*/
|
|
33
|
+
booleanLabels?: {
|
|
34
|
+
any?: string;
|
|
35
|
+
yes?: string;
|
|
36
|
+
no?: string;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/** The active filter values, keyed by filter `key`. */
|
|
40
|
+
export type TableFilterState = Record<string, TableFilterValue>;
|
|
41
|
+
/** Whether a filter value is "set" (should actually filter) — an empty string / array / all-null range is off. */
|
|
42
|
+
export declare function isFilterActive(type: TableFilterType, value: TableFilterValue | undefined): boolean;
|
|
43
|
+
/** Number of filters currently set — drives the count badge on the Filters button. */
|
|
44
|
+
export declare function activeFilterCount(filters: TableFilter[], state: TableFilterState): number;
|
|
45
|
+
/**
|
|
46
|
+
* Filter rows client-side against the active filter values (local mode). A row is kept only when it matches
|
|
47
|
+
* **every** active filter (AND). Filters that aren't set are skipped, so an empty state returns all rows.
|
|
48
|
+
* Pure — no React, no mutation.
|
|
49
|
+
*/
|
|
50
|
+
export declare function applyFilters<T>(rows: T[], filters: TableFilter[], state: TableFilterState): T[];
|
|
51
|
+
/**
|
|
52
|
+
* Serialize the active filters into **server-request** params (folded into `state.query` alongside
|
|
53
|
+
* page/size/search/sort). Each filter uses its `queryKey ?? key`; scalars emit `param=value`, a
|
|
54
|
+
* `multiSelect` emits repeated / CSV / indexed params (`multiSelectFormat`), and ranges emit two params
|
|
55
|
+
* `<param><rangeMinSuffix>` / `<param><rangeMaxSuffix>` (defaults `Min`/`Max`) — only for the set bound.
|
|
56
|
+
* Config-driven via the shared `TableQueryConfig`; inactive filters are skipped.
|
|
57
|
+
*/
|
|
58
|
+
export declare function buildFilterQuery(filters: TableFilter[], state: TableFilterState, mapping?: TableQueryConfig): URLSearchParams;
|
|
59
|
+
/**
|
|
60
|
+
* Read the active filter values back out of URL / request params — the **inverse of `buildFilterQuery`** for
|
|
61
|
+
* the same `mapping` + filter defs (each filter's `queryKey ?? key`, the `multiSelectFormat`, the range
|
|
62
|
+
* suffixes). Used by `<Table>` to restore URL-synced filters on mount / Back-Forward. Only present params
|
|
63
|
+
* produce a value; the rest stay unset.
|
|
64
|
+
*/
|
|
65
|
+
export declare function parseFilterQuery(filters: TableFilter[], params: URLSearchParams, mapping?: TableQueryConfig): TableFilterState;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
|
+
import { type ThemeColor } from '../../theme';
|
|
3
|
+
import { type IconName } from '../../icons/names';
|
|
4
|
+
export type TabsVariant = 'underline' | 'pill';
|
|
5
|
+
export type TabsSize = 'sm' | 'md' | 'lg';
|
|
6
|
+
export type TabsOrientation = 'horizontal' | 'vertical';
|
|
7
|
+
export interface TabItem {
|
|
8
|
+
/** Unique value — also what's written to the URL query and passed to `onChange`. */
|
|
9
|
+
value: string;
|
|
10
|
+
/** Tab label. */
|
|
11
|
+
label?: ReactNode;
|
|
12
|
+
/** Accessible name — required for an icon-only tab (no visible `label`); falls back to `value`. */
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
/** Leading icon — a known `IconName` or any node. */
|
|
15
|
+
icon?: IconName | ReactNode;
|
|
16
|
+
/** Disables the tab (not selectable; skipped by keyboard nav). */
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/** Marks the tab invalid — shows a small **red** dot (e.g. its section failed validation). No full-tab tint. */
|
|
19
|
+
error?: boolean;
|
|
20
|
+
/** Small dot indicator in the tab color (e.g. unread / notification). `error` shows a red one instead. */
|
|
21
|
+
dot?: boolean;
|
|
22
|
+
/** Count / text indicator (rendered with `Badge`); wins over `dot`. */
|
|
23
|
+
badge?: number | string;
|
|
24
|
+
/** Panel content rendered below (or beside) the strip while this tab is active. Optional. */
|
|
25
|
+
content?: ReactNode;
|
|
26
|
+
}
|
|
27
|
+
export interface TabsProps {
|
|
28
|
+
/** The tabs. */
|
|
29
|
+
items: TabItem[];
|
|
30
|
+
/** Controlled active value. */
|
|
31
|
+
value?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Initial active value (uncontrolled). Falls back to the URL query (when URL sync is active and the
|
|
34
|
+
* param is present) and otherwise the first enabled tab.
|
|
35
|
+
*/
|
|
36
|
+
defaultValue?: string;
|
|
37
|
+
/** Fires with the next active value. */
|
|
38
|
+
onChange?: (value: string) => void;
|
|
39
|
+
/**
|
|
40
|
+
* URL query param name to sync the active tab to (e.g. `'tab'` → `?tab=general`), so a page refresh
|
|
41
|
+
* restores it. **Defaults to the configured `keys.tabQueryKey` (else `'tab'`)** at the top level, and
|
|
42
|
+
* `keys.nestedTabQueryKey` (else `'nestedTab'`) for a strip **nested** inside another tab's panel — so
|
|
43
|
+
* the two don't collide (auto-applied by nesting depth). Every tab strip URL-syncs out of the box.
|
|
44
|
+
* Pass **`null`** to opt out (state only). For 3+ nesting levels, set distinct keys explicitly.
|
|
45
|
+
*/
|
|
46
|
+
queryKey?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* Push a history entry on each tab change, so the browser **Back** button returns to the previous
|
|
49
|
+
* tab. Defaults to `false` — tab changes **replace** the URL, so Back leaves the page instead of
|
|
50
|
+
* stepping through tabs (and `popstate` still restores a tab when one is in the query).
|
|
51
|
+
*/
|
|
52
|
+
pushHistory?: boolean;
|
|
53
|
+
/** Visual style. Defaults to `'underline'`. */
|
|
54
|
+
variant?: TabsVariant;
|
|
55
|
+
/** Preset size. Defaults to `'md'`. */
|
|
56
|
+
size?: TabsSize;
|
|
57
|
+
/** Theme palette token tinting the active tab. Defaults to `'primary'`. */
|
|
58
|
+
color?: ThemeColor;
|
|
59
|
+
/** Strip direction. Defaults to `'horizontal'`. */
|
|
60
|
+
orientation?: TabsOrientation;
|
|
61
|
+
/** Stretch the tabs to fill the strip equally (horizontal only). */
|
|
62
|
+
fullWidth?: boolean;
|
|
63
|
+
/** Focus the active tab on mount (e.g. when the strip lives inside a popover that just opened). */
|
|
64
|
+
autoFocus?: boolean;
|
|
65
|
+
/** Accessible label for the tablist. */
|
|
66
|
+
'aria-label'?: string;
|
|
67
|
+
className?: string;
|
|
68
|
+
style?: CSSProperties;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* A tab strip with optional panels. Data-driven via `items` (each: `label`, `icon`, `disabled`,
|
|
72
|
+
* `error`, `dot`/`badge` via `Badge`, optional `content`). Controlled (`value` + `onChange`) or
|
|
73
|
+
* uncontrolled (`defaultValue`). The active tab **syncs to the URL query by default** under
|
|
74
|
+
* **`queryKey`** (defaults to the configured `keys.tabQueryKey`, else `'tab'` — and `keys.nestedTabQueryKey`,
|
|
75
|
+
* else `'nestedTab'`, for a strip nested in another tab's panel: `?<queryKey>=<value>`) so a
|
|
76
|
+
* refresh restores it — pass **`queryKey={null}`** to opt out. Tab changes **replace** the URL by
|
|
77
|
+
* default (so Back doesn't step through tabs); pass **`pushHistory`** to make Back navigate tabs. Full
|
|
78
|
+
* keyboard support (Arrows / Home / End, roving tabindex) and `role="tablist"`/`tab`/`tabpanel` a11y.
|
|
79
|
+
*/
|
|
80
|
+
export declare const Tabs: import("react").ForwardRefExoticComponent<TabsProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
|
+
import { type ThemeColor } from '../../theme';
|
|
3
|
+
import { type IconName } from '../../icons/names';
|
|
4
|
+
export type TabsVariant = 'underline' | 'pill';
|
|
5
|
+
export type TabsSize = 'sm' | 'md' | 'lg';
|
|
6
|
+
export type TabsOrientation = 'horizontal' | 'vertical';
|
|
7
|
+
export interface TabItem {
|
|
8
|
+
/** Unique value — also what's written to the URL query and passed to `onChange`. */
|
|
9
|
+
value: string;
|
|
10
|
+
/** Tab label. */
|
|
11
|
+
label?: ReactNode;
|
|
12
|
+
/** Accessible name — required for an icon-only tab (no visible `label`); falls back to `value`. */
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
/** Leading icon — a known `IconName` or any node. */
|
|
15
|
+
icon?: IconName | ReactNode;
|
|
16
|
+
/** Disables the tab (not selectable; skipped by keyboard nav). */
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/** Marks the tab invalid — shows a small **red** dot (e.g. its section failed validation). No full-tab tint. */
|
|
19
|
+
error?: boolean;
|
|
20
|
+
/** Small dot indicator in the tab color (e.g. unread / notification). `error` shows a red one instead. */
|
|
21
|
+
dot?: boolean;
|
|
22
|
+
/** Count / text indicator (rendered with `Badge`); wins over `dot`. */
|
|
23
|
+
badge?: number | string;
|
|
24
|
+
/** Panel content rendered below (or beside) the strip while this tab is active. Optional. */
|
|
25
|
+
content?: ReactNode;
|
|
26
|
+
}
|
|
27
|
+
export interface TabsProps {
|
|
28
|
+
/** The tabs. */
|
|
29
|
+
items: TabItem[];
|
|
30
|
+
/** Controlled active value. */
|
|
31
|
+
value?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Initial active value (uncontrolled). Falls back to the URL query (when URL sync is active and the
|
|
34
|
+
* param is present) and otherwise the first enabled tab.
|
|
35
|
+
*/
|
|
36
|
+
defaultValue?: string;
|
|
37
|
+
/** Fires with the next active value. */
|
|
38
|
+
onChange?: (value: string) => void;
|
|
39
|
+
/**
|
|
40
|
+
* URL query param name to sync the active tab to (e.g. `'tab'` → `?tab=general`), so a page refresh
|
|
41
|
+
* restores it. **Defaults to the configured `keys.tabQueryKey` (else `'tab'`)** at the top level, and
|
|
42
|
+
* `keys.nestedTabQueryKey` (else `'nestedTab'`) for a strip **nested** inside another tab's panel — so
|
|
43
|
+
* the two don't collide (auto-applied by nesting depth). Every tab strip URL-syncs out of the box.
|
|
44
|
+
* Pass **`null`** to opt out (state only). For 3+ nesting levels, set distinct keys explicitly.
|
|
45
|
+
*/
|
|
46
|
+
queryKey?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* Push a history entry on each tab change, so the browser **Back** button returns to the previous
|
|
49
|
+
* tab. Defaults to `false` — tab changes **replace** the URL, so Back leaves the page instead of
|
|
50
|
+
* stepping through tabs (and `popstate` still restores a tab when one is in the query).
|
|
51
|
+
*/
|
|
52
|
+
pushHistory?: boolean;
|
|
53
|
+
/** Visual style. Defaults to `'underline'`. */
|
|
54
|
+
variant?: TabsVariant;
|
|
55
|
+
/** Preset size. Defaults to `'md'`. */
|
|
56
|
+
size?: TabsSize;
|
|
57
|
+
/** Theme palette token tinting the active tab. Defaults to `'primary'`. */
|
|
58
|
+
color?: ThemeColor;
|
|
59
|
+
/** Strip direction. Defaults to `'horizontal'`. */
|
|
60
|
+
orientation?: TabsOrientation;
|
|
61
|
+
/** Stretch the tabs to fill the strip equally (horizontal only). */
|
|
62
|
+
fullWidth?: boolean;
|
|
63
|
+
/** Focus the active tab on mount (e.g. when the strip lives inside a popover that just opened). */
|
|
64
|
+
autoFocus?: boolean;
|
|
65
|
+
/** Accessible label for the tablist. */
|
|
66
|
+
'aria-label'?: string;
|
|
67
|
+
className?: string;
|
|
68
|
+
style?: CSSProperties;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* A tab strip with optional panels. Data-driven via `items` (each: `label`, `icon`, `disabled`,
|
|
72
|
+
* `error`, `dot`/`badge` via `Badge`, optional `content`). Controlled (`value` + `onChange`) or
|
|
73
|
+
* uncontrolled (`defaultValue`). The active tab **syncs to the URL query by default** under
|
|
74
|
+
* **`queryKey`** (defaults to the configured `keys.tabQueryKey`, else `'tab'` — and `keys.nestedTabQueryKey`,
|
|
75
|
+
* else `'nestedTab'`, for a strip nested in another tab's panel: `?<queryKey>=<value>`) so a
|
|
76
|
+
* refresh restores it — pass **`queryKey={null}`** to opt out. Tab changes **replace** the URL by
|
|
77
|
+
* default (so Back doesn't step through tabs); pass **`pushHistory`** to make Back navigate tabs. Full
|
|
78
|
+
* keyboard support (Arrows / Home / End, roving tabindex) and `role="tablist"`/`tab`/`tabpanel` a11y.
|
|
79
|
+
*/
|
|
80
|
+
export declare const Tabs: import("react").ForwardRefExoticComponent<TabsProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type InputHTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import { type ThemeColor } from '../../theme';
|
|
3
|
+
export type TagsFieldSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
export interface TagsFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'color' | 'value' | 'defaultValue' | 'onChange'> {
|
|
5
|
+
/** Label rendered above the field. */
|
|
6
|
+
label?: ReactNode;
|
|
7
|
+
/** Preset size — control height, font and chips. */
|
|
8
|
+
size?: TagsFieldSize;
|
|
9
|
+
/** Marks the field invalid: red border/focus ring and the `helperText` shown in the error color. */
|
|
10
|
+
error?: boolean;
|
|
11
|
+
/** Helper / validation text under the field. Adopts the error color while `error`. */
|
|
12
|
+
helperText?: ReactNode;
|
|
13
|
+
/** Adds a red asterisk after the label. */
|
|
14
|
+
required?: boolean;
|
|
15
|
+
/** Stretches the field to fill its container width. Defaults to `true`. */
|
|
16
|
+
fullWidth?: boolean;
|
|
17
|
+
/** Disables the field (no typing, no add/remove). */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/** Controlled value — a `string[]` or a `separator`-joined `string` (e.g. `"react;typescript"`). */
|
|
20
|
+
value?: string[] | string;
|
|
21
|
+
/** Initial value for uncontrolled use (`string[]` or a joined `string`). */
|
|
22
|
+
defaultValue?: string[] | string;
|
|
23
|
+
/** Fires with the next tags, mirroring the input shape: a `string[]`, or a joined `string` when the value is a string. */
|
|
24
|
+
onChange?: (value: string[] | string) => void;
|
|
25
|
+
/** Character/string that splits typed & pasted input and joins the value when it's a string. Defaults to `,`. */
|
|
26
|
+
separator?: string;
|
|
27
|
+
/** Theme palette token tinting the tag chips. Defaults to `primary`. */
|
|
28
|
+
color?: ThemeColor;
|
|
29
|
+
/** Allow the same tag more than once. Off by default (duplicates are ignored). */
|
|
30
|
+
allowDuplicates?: boolean;
|
|
31
|
+
/** Placeholder shown in the input while there are no tags. */
|
|
32
|
+
placeholder?: string;
|
|
33
|
+
/** Icon for the add button. Defaults to an `Add` icon. */
|
|
34
|
+
addIcon?: ReactNode;
|
|
35
|
+
/** Accessible label for the add button. Defaults to `"Add tag"`. */
|
|
36
|
+
addLabel?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A tags / token input. Type a value and press **Enter**, the **add button**, or the `separator`
|
|
40
|
+
* key to commit it as a tag; remove a tag via its chip's delete button (or Backspace on the empty
|
|
41
|
+
* input). The **`separator`** (default `,`) also splits pasted text, so pasting `"react;typescript"`
|
|
42
|
+
* (with `separator=";"`) adds both at once. The value accepts — and `onChange` mirrors — **either a
|
|
43
|
+
* `string[]` or a `separator`-joined `string`**, so it binds to a `<Form>` schema of either shape.
|
|
44
|
+
* Shares TextField's chrome (label, helper/error, sizes, `<Form>` binding by `name` for validation).
|
|
45
|
+
* Controlled (`value` + `onChange`) or uncontrolled (`defaultValue`). Token-only styling.
|
|
46
|
+
*/
|
|
47
|
+
export declare const TagsField: import("react").ForwardRefExoticComponent<TagsFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type InputHTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import { type ThemeColor } from '../../theme';
|
|
3
|
+
export type TagsFieldSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
export interface TagsFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'color' | 'value' | 'defaultValue' | 'onChange'> {
|
|
5
|
+
/** Label rendered above the field. */
|
|
6
|
+
label?: ReactNode;
|
|
7
|
+
/** Preset size — control height, font and chips. */
|
|
8
|
+
size?: TagsFieldSize;
|
|
9
|
+
/** Marks the field invalid: red border/focus ring and the `helperText` shown in the error color. */
|
|
10
|
+
error?: boolean;
|
|
11
|
+
/** Helper / validation text under the field. Adopts the error color while `error`. */
|
|
12
|
+
helperText?: ReactNode;
|
|
13
|
+
/** Adds a red asterisk after the label. */
|
|
14
|
+
required?: boolean;
|
|
15
|
+
/** Stretches the field to fill its container width. Defaults to `true`. */
|
|
16
|
+
fullWidth?: boolean;
|
|
17
|
+
/** Disables the field (no typing, no add/remove). */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/** Controlled value — a `string[]` or a `separator`-joined `string` (e.g. `"react;typescript"`). */
|
|
20
|
+
value?: string[] | string;
|
|
21
|
+
/** Initial value for uncontrolled use (`string[]` or a joined `string`). */
|
|
22
|
+
defaultValue?: string[] | string;
|
|
23
|
+
/** Fires with the next tags, mirroring the input shape: a `string[]`, or a joined `string` when the value is a string. */
|
|
24
|
+
onChange?: (value: string[] | string) => void;
|
|
25
|
+
/** Character/string that splits typed & pasted input and joins the value when it's a string. Defaults to `,`. */
|
|
26
|
+
separator?: string;
|
|
27
|
+
/** Theme palette token tinting the tag chips. Defaults to `primary`. */
|
|
28
|
+
color?: ThemeColor;
|
|
29
|
+
/** Allow the same tag more than once. Off by default (duplicates are ignored). */
|
|
30
|
+
allowDuplicates?: boolean;
|
|
31
|
+
/** Placeholder shown in the input while there are no tags. */
|
|
32
|
+
placeholder?: string;
|
|
33
|
+
/** Icon for the add button. Defaults to an `Add` icon. */
|
|
34
|
+
addIcon?: ReactNode;
|
|
35
|
+
/** Accessible label for the add button. Defaults to `"Add tag"`. */
|
|
36
|
+
addLabel?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A tags / token input. Type a value and press **Enter**, the **add button**, or the `separator`
|
|
40
|
+
* key to commit it as a tag; remove a tag via its chip's delete button (or Backspace on the empty
|
|
41
|
+
* input). The **`separator`** (default `,`) also splits pasted text, so pasting `"react;typescript"`
|
|
42
|
+
* (with `separator=";"`) adds both at once. The value accepts — and `onChange` mirrors — **either a
|
|
43
|
+
* `string[]` or a `separator`-joined `string`**, so it binds to a `<Form>` schema of either shape.
|
|
44
|
+
* Shares TextField's chrome (label, helper/error, sizes, `<Form>` binding by `name` for validation).
|
|
45
|
+
* Controlled (`value` + `onChange`) or uncontrolled (`defaultValue`). Token-only styling.
|
|
46
|
+
*/
|
|
47
|
+
export declare const TagsField: import("react").ForwardRefExoticComponent<TagsFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { type InputHTMLAttributes, type MouseEvent, type ReactNode } from 'react';
|
|
2
|
+
export type TextFieldSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export type TextFieldAdornmentPosition = 'left' | 'right';
|
|
4
|
+
/** Password-strength buckets surfaced by the `passwordStrength` meter. */
|
|
5
|
+
export type PasswordStrength = 'weak' | 'medium' | 'strong';
|
|
6
|
+
export interface TextFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'prefix'> {
|
|
7
|
+
/** Label rendered above the field. */
|
|
8
|
+
label?: ReactNode;
|
|
9
|
+
/** Preset size — drives the control height (`--tz-control-height-*`), font size and padding. */
|
|
10
|
+
size?: TextFieldSize;
|
|
11
|
+
/** Marks the field invalid: red border/focus ring and the `helperText` shown in the error color. */
|
|
12
|
+
error?: boolean;
|
|
13
|
+
/** Helper / validation text under the field. Adopts the error color while `error`. */
|
|
14
|
+
helperText?: ReactNode;
|
|
15
|
+
/** Adds a red asterisk after the label (visual hint only — combine with native `required` if needed). */
|
|
16
|
+
required?: boolean;
|
|
17
|
+
/** Stretches the field to fill its container width. Defaults to `true`. */
|
|
18
|
+
fullWidth?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Content shown inside the field. A **string/number** renders as a muted prefix/suffix
|
|
21
|
+
* (e.g. `"https://"`, `"$"`, `"kg"`); any other node renders as an icon (typically an `<Icon />`)
|
|
22
|
+
* inside a square `IconButton` box.
|
|
23
|
+
*/
|
|
24
|
+
adornment?: ReactNode;
|
|
25
|
+
/** Which side the adornment sits on. Defaults to `left`. */
|
|
26
|
+
adornmentPosition?: TextFieldAdornmentPosition;
|
|
27
|
+
/** Makes an icon adornment a clickable `IconButton` and fires this on click (ignored for string adornments). */
|
|
28
|
+
onAdornmentClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
29
|
+
/** Accessible label for the clickable icon adornment (used when `onAdornmentClick` is set). Defaults to `"Field action"`. */
|
|
30
|
+
adornmentLabel?: string;
|
|
31
|
+
/** Allowed-input filter: a change whose value fails this pattern is rejected (e.g. `/^\d*$/` for digits only). */
|
|
32
|
+
regex?: RegExp;
|
|
33
|
+
/** Input mask, e.g. `"(999) 999-9999"` (`9` digit · `a` letter · `*` alphanumeric · other chars literal). Emits the masked value. */
|
|
34
|
+
mask?: string;
|
|
35
|
+
/**
|
|
36
|
+
* For `type="password"`: show the built-in show/hide reveal toggle in the right adornment slot.
|
|
37
|
+
* Defaults to `true`. Set `false` to drop it (e.g. to use your own right adornment instead).
|
|
38
|
+
*/
|
|
39
|
+
passwordToggle?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Show a "Caps Lock is on" warning under the field while it's focused and Caps Lock is active.
|
|
42
|
+
* Detected from key events, so it appears once the user starts typing. Defaults to `false`.
|
|
43
|
+
*/
|
|
44
|
+
capsLockWarning?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Show a password-strength meter (segmented bar + label) under the field, derived from the current
|
|
47
|
+
* value. A UX hint only — not a security check. Defaults to `false` (best paired with `type="password"`).
|
|
48
|
+
*/
|
|
49
|
+
passwordStrength?: boolean;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* A labeled text input. Renders an optional label and helper/validation text, an
|
|
53
|
+
* error state (red border + helper), and an optional `adornment` on either side —
|
|
54
|
+
* a string prefix/suffix (e.g. `"https://"`) or an icon, which can be made
|
|
55
|
+
* interactive via `onAdornmentClick`. Supports an allowed-input `regex` filter and
|
|
56
|
+
* a formatting `mask`. Works controlled (`value` + `onChange`) or uncontrolled
|
|
57
|
+
* (`defaultValue`); when a `mask` is set, `onChange` emits the masked value. Passing
|
|
58
|
+
* `type="password"` automatically adds a show/hide reveal toggle in the right adornment
|
|
59
|
+
* slot. Inside a `<Form>`, a `name` prop auto-binds value/validation from the form (no need to
|
|
60
|
+
* spread `field()`). Styling comes entirely from `--tz-*` tokens.
|
|
61
|
+
*/
|
|
62
|
+
export declare const TextField: import("react").ForwardRefExoticComponent<TextFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { type InputHTMLAttributes, type MouseEvent, type ReactNode } from 'react';
|
|
2
|
+
export type TextFieldSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export type TextFieldAdornmentPosition = 'left' | 'right';
|
|
4
|
+
/** Password-strength buckets surfaced by the `passwordStrength` meter. */
|
|
5
|
+
export type PasswordStrength = 'weak' | 'medium' | 'strong';
|
|
6
|
+
export interface TextFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'prefix'> {
|
|
7
|
+
/** Label rendered above the field. */
|
|
8
|
+
label?: ReactNode;
|
|
9
|
+
/** Preset size — drives the control height (`--tz-control-height-*`), font size and padding. */
|
|
10
|
+
size?: TextFieldSize;
|
|
11
|
+
/** Marks the field invalid: red border/focus ring and the `helperText` shown in the error color. */
|
|
12
|
+
error?: boolean;
|
|
13
|
+
/** Helper / validation text under the field. Adopts the error color while `error`. */
|
|
14
|
+
helperText?: ReactNode;
|
|
15
|
+
/** Adds a red asterisk after the label (visual hint only — combine with native `required` if needed). */
|
|
16
|
+
required?: boolean;
|
|
17
|
+
/** Stretches the field to fill its container width. Defaults to `true`. */
|
|
18
|
+
fullWidth?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Content shown inside the field. A **string/number** renders as a muted prefix/suffix
|
|
21
|
+
* (e.g. `"https://"`, `"$"`, `"kg"`); any other node renders as an icon (typically an `<Icon />`)
|
|
22
|
+
* inside a square `IconButton` box.
|
|
23
|
+
*/
|
|
24
|
+
adornment?: ReactNode;
|
|
25
|
+
/** Which side the adornment sits on. Defaults to `left`. */
|
|
26
|
+
adornmentPosition?: TextFieldAdornmentPosition;
|
|
27
|
+
/** Makes an icon adornment a clickable `IconButton` and fires this on click (ignored for string adornments). */
|
|
28
|
+
onAdornmentClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
29
|
+
/** Accessible label for the clickable icon adornment (used when `onAdornmentClick` is set). Defaults to `"Field action"`. */
|
|
30
|
+
adornmentLabel?: string;
|
|
31
|
+
/** Allowed-input filter: a change whose value fails this pattern is rejected (e.g. `/^\d*$/` for digits only). */
|
|
32
|
+
regex?: RegExp;
|
|
33
|
+
/** Input mask, e.g. `"(999) 999-9999"` (`9` digit · `a` letter · `*` alphanumeric · other chars literal). Emits the masked value. */
|
|
34
|
+
mask?: string;
|
|
35
|
+
/**
|
|
36
|
+
* For `type="password"`: show the built-in show/hide reveal toggle in the right adornment slot.
|
|
37
|
+
* Defaults to `true`. Set `false` to drop it (e.g. to use your own right adornment instead).
|
|
38
|
+
*/
|
|
39
|
+
passwordToggle?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Show a "Caps Lock is on" warning under the field while it's focused and Caps Lock is active.
|
|
42
|
+
* Detected from key events, so it appears once the user starts typing. Defaults to `false`.
|
|
43
|
+
*/
|
|
44
|
+
capsLockWarning?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Show a password-strength meter (segmented bar + label) under the field, derived from the current
|
|
47
|
+
* value. A UX hint only — not a security check. Defaults to `false` (best paired with `type="password"`).
|
|
48
|
+
*/
|
|
49
|
+
passwordStrength?: boolean;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* A labeled text input. Renders an optional label and helper/validation text, an
|
|
53
|
+
* error state (red border + helper), and an optional `adornment` on either side —
|
|
54
|
+
* a string prefix/suffix (e.g. `"https://"`) or an icon, which can be made
|
|
55
|
+
* interactive via `onAdornmentClick`. Supports an allowed-input `regex` filter and
|
|
56
|
+
* a formatting `mask`. Works controlled (`value` + `onChange`) or uncontrolled
|
|
57
|
+
* (`defaultValue`); when a `mask` is set, `onChange` emits the masked value. Passing
|
|
58
|
+
* `type="password"` automatically adds a show/hide reveal toggle in the right adornment
|
|
59
|
+
* slot. Inside a `<Form>`, a `name` prop auto-binds value/validation from the form (no need to
|
|
60
|
+
* spread `field()`). Styling comes entirely from `--tz-*` tokens.
|
|
61
|
+
*/
|
|
62
|
+
export declare const TextField: import("react").ForwardRefExoticComponent<TextFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type IconButtonProps } from '../IconButton';
|
|
2
|
+
/** Inherits `IconButton`'s look (variant, color, size); the icon and toggle behavior are built in. */
|
|
3
|
+
export type ThemeToggleProps = Omit<IconButtonProps, 'children'>;
|
|
4
|
+
/**
|
|
5
|
+
* A one-tap color-theme switch. Renders an `IconButton` showing the `Sun` icon
|
|
6
|
+
* in light mode and the `Moon` icon in dark mode, and flips `mode` on click.
|
|
7
|
+
* Styling comes from `IconButton`, so `variant`, `color` and `size` pass through.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ThemeToggle: import("react").ForwardRefExoticComponent<ThemeToggleProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type IconButtonProps } from '../IconButton';
|
|
2
|
+
/** Inherits `IconButton`'s look (variant, color, size); the icon and toggle behavior are built in. */
|
|
3
|
+
export type ThemeToggleProps = Omit<IconButtonProps, 'children'>;
|
|
4
|
+
/**
|
|
5
|
+
* A one-tap color-theme switch. Renders an `IconButton` showing the `Sun` icon
|
|
6
|
+
* in light mode and the `Moon` icon in dark mode, and flips `mode` on click.
|
|
7
|
+
* Styling comes from `IconButton`, so `variant`, `color` and `size` pass through.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ThemeToggle: import("react").ForwardRefExoticComponent<ThemeToggleProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|