@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,81 @@
|
|
|
1
|
+
import { type ChangeEvent, type Dispatch, type FocusEvent, type SetStateAction, type SyntheticEvent } from 'react';
|
|
2
|
+
import type { TypeOf, ZodType } from 'zod';
|
|
3
|
+
/**
|
|
4
|
+
* When validation errors start showing for a field:
|
|
5
|
+
* - `blurThenLive` (default) — after the field is blurred (or the form is submitted), then live on every change.
|
|
6
|
+
* - `change` — from the very first keystroke.
|
|
7
|
+
* - `submit` — only after a submit attempt.
|
|
8
|
+
*/
|
|
9
|
+
export type FormValidationMode = 'blurThenLive' | 'change' | 'submit';
|
|
10
|
+
export interface UseFormOptions<S extends ZodType> {
|
|
11
|
+
/** Zod schema describing the whole form. Field names match the schema's top-level keys. */
|
|
12
|
+
schema: S;
|
|
13
|
+
/** Initial values — the controlled source of truth for every field. */
|
|
14
|
+
defaultValues: TypeOf<S>;
|
|
15
|
+
/**
|
|
16
|
+
* Called with the parsed (schema-validated) values when a submit passes validation. The second
|
|
17
|
+
* argument carries helpers — e.g. `reset` to clear the form on success: `(values, { reset }) => {…}`.
|
|
18
|
+
*/
|
|
19
|
+
onSubmit?: (values: TypeOf<S>, helpers: FormHelpers<TypeOf<S>>) => void | Promise<void>;
|
|
20
|
+
/** When errors begin to show per field. Defaults to `blurThenLive`. */
|
|
21
|
+
mode?: FormValidationMode;
|
|
22
|
+
/**
|
|
23
|
+
* On a failed submit, smooth-scroll to (and focus) the first invalid field — the one that sits
|
|
24
|
+
* **highest** on the page. Needs the submit event's form element (works with `<Form>` or any
|
|
25
|
+
* `<form onSubmit={form.handleSubmit}>`). Defaults to `true`.
|
|
26
|
+
*/
|
|
27
|
+
scrollToError?: boolean;
|
|
28
|
+
}
|
|
29
|
+
/** Helpers handed to `onSubmit` (Formik-style), so you can clear or tweak the form on success. */
|
|
30
|
+
export interface FormHelpers<Values> {
|
|
31
|
+
/** Reset to `defaultValues` (or the given values), clearing touched/submitted state. */
|
|
32
|
+
reset: (next?: Values) => void;
|
|
33
|
+
/** Set one field's value. */
|
|
34
|
+
setValue: <K extends keyof Values & string>(name: K, value: Values[K]) => void;
|
|
35
|
+
/** Replace all values. */
|
|
36
|
+
setValues: Dispatch<SetStateAction<Values>>;
|
|
37
|
+
}
|
|
38
|
+
/** Props returned by `field(name)` — spread directly onto a `<TextField />`. */
|
|
39
|
+
export interface FieldProps {
|
|
40
|
+
name: string;
|
|
41
|
+
value: string;
|
|
42
|
+
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
43
|
+
onBlur: (event: FocusEvent<HTMLInputElement>) => void;
|
|
44
|
+
error: boolean;
|
|
45
|
+
helperText?: string;
|
|
46
|
+
}
|
|
47
|
+
/** Everything `useForm` returns — also the value carried by `<Form>`'s context. */
|
|
48
|
+
export interface FormApi<Values> {
|
|
49
|
+
/** Current form values. */
|
|
50
|
+
values: Values;
|
|
51
|
+
/** `{ field: firstErrorMessage }` for every invalid field (regardless of visibility). */
|
|
52
|
+
errors: Record<string, string>;
|
|
53
|
+
/** Which fields have been blurred. */
|
|
54
|
+
touched: Record<string, boolean>;
|
|
55
|
+
/** True when the whole form passes the schema. */
|
|
56
|
+
isValid: boolean;
|
|
57
|
+
/** True once a submit has been attempted. */
|
|
58
|
+
isSubmitted: boolean;
|
|
59
|
+
/** Number of submit attempts (increments on every `handleSubmit`) — watch it to react to each submit. */
|
|
60
|
+
submitCount: number;
|
|
61
|
+
/** True while an async `onSubmit` is in flight. */
|
|
62
|
+
isSubmitting: boolean;
|
|
63
|
+
/** Spread onto a `<TextField />` (or let `<Form>` + a `name` prop wire it for you). */
|
|
64
|
+
field: (name: keyof Values & string) => FieldProps;
|
|
65
|
+
/** Imperatively set one field's value. */
|
|
66
|
+
setValue: <K extends keyof Values & string>(name: K, value: Values[K]) => void;
|
|
67
|
+
/** Replace all values. */
|
|
68
|
+
setValues: Dispatch<SetStateAction<Values>>;
|
|
69
|
+
/** Reset to `defaultValues` (or the given values) and clear touched/submitted state. */
|
|
70
|
+
reset: (next?: Values) => void;
|
|
71
|
+
/** Form `onSubmit` handler — validates, then calls `onSubmit` with parsed values when valid. */
|
|
72
|
+
handleSubmit: (event?: SyntheticEvent) => void;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* A tiny, Zod-powered form helper — the dependency-light alternative to bundling Formik in
|
|
76
|
+
* every app. Give it a schema and initial values; spread `field(name)` onto a `<TextField />`
|
|
77
|
+
* and it wires up `value`/`onChange`/`onBlur` and surfaces the field's validation error as
|
|
78
|
+
* `error` + `helperText`. Validation follows `mode` (default: validate on blur, then live).
|
|
79
|
+
* `handleSubmit` validates the whole form and calls `onSubmit` with the parsed values only when valid.
|
|
80
|
+
*/
|
|
81
|
+
export declare function useForm<S extends ZodType>({ schema, defaultValues, onSubmit, mode, scrollToError, }: UseFormOptions<S>): FormApi<TypeOf<S>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formContext-B7ln1Miy.js","sources":["../src/form/formContext.ts"],"sourcesContent":["import { createContext, useContext } from 'react'\nimport type { FormApi } from './useForm'\n\n/** The nearest `<Form>`'s form instance, or `null` when not inside one. */\nexport const FormContext = createContext<FormApi<Record<string, unknown>> | null>(null)\n\n/**\n * Reads the surrounding `<Form>`'s form instance (or `null`). Components like `TextField` use this\n * to auto-bind by `name` — you rarely call it directly.\n */\nexport function useFormContext(): FormApi<Record<string, unknown>> | null {\n return useContext(FormContext)\n}\n"],"names":["FormContext","createContext","useFormContext","useContext"],"mappings":";AAIO,MAAMA,IAAcC,EAAuD,IAAI;AAM/E,SAASC,IAA0D;AACxE,SAAOC,EAAWH,CAAW;AAC/B;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formContext-bTWrqdEV.cjs","sources":["../src/form/formContext.ts"],"sourcesContent":["import { createContext, useContext } from 'react'\nimport type { FormApi } from './useForm'\n\n/** The nearest `<Form>`'s form instance, or `null` when not inside one. */\nexport const FormContext = createContext<FormApi<Record<string, unknown>> | null>(null)\n\n/**\n * Reads the surrounding `<Form>`'s form instance (or `null`). Components like `TextField` use this\n * to auto-bind by `name` — you rarely call it directly.\n */\nexport function useFormContext(): FormApi<Record<string, unknown>> | null {\n return useContext(FormContext)\n}\n"],"names":["FormContext","createContext","useFormContext","useContext"],"mappings":"sCAIaA,EAAcC,EAAAA,cAAuD,IAAI,EAM/E,SAASC,GAA0D,CACxE,OAAOC,EAAAA,WAAWH,CAAW,CAC/B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Set the current user's accessKeys (call after login / getUser; pass `[]` on logout). */
|
|
2
|
+
export declare function setAccessKeys(next: string[]): void;
|
|
3
|
+
/** The current user's accessKeys (non-reactive read; safe outside React). */
|
|
4
|
+
export declare function getAccessKeys(): string[];
|
|
5
|
+
/**
|
|
6
|
+
* OR semantics: a route with no `roles` (omitted/empty) is public; otherwise the user needs at
|
|
7
|
+
* least one matching key. Works outside React — used by route `beforeLoad` guards.
|
|
8
|
+
*/
|
|
9
|
+
export declare function hasAccess(roles?: string[]): boolean;
|
|
10
|
+
/** Reactive read for components — re-renders the subscriber when the keys change (login/logout). */
|
|
11
|
+
export declare function useAccessKeys(): string[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Set the current user's accessKeys (call after login / getUser; pass `[]` on logout). */
|
|
2
|
+
export declare function setAccessKeys(next: string[]): void;
|
|
3
|
+
/** The current user's accessKeys (non-reactive read; safe outside React). */
|
|
4
|
+
export declare function getAccessKeys(): string[];
|
|
5
|
+
/**
|
|
6
|
+
* OR semantics: a route with no `roles` (omitted/empty) is public; otherwise the user needs at
|
|
7
|
+
* least one matching key. Works outside React — used by route `beforeLoad` guards.
|
|
8
|
+
*/
|
|
9
|
+
export declare function hasAccess(roles?: string[]): boolean;
|
|
10
|
+
/** Reactive read for components — re-renders the subscriber when the keys change (login/logout). */
|
|
11
|
+
export declare function useAccessKeys(): string[];
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { TableQueryConfig } from '../theme';
|
|
2
|
+
/** The `<Table>` state a server request is built from — a structural subset of `TableChangeState`. */
|
|
3
|
+
export interface TableQueryState {
|
|
4
|
+
/** 1-based page number. */
|
|
5
|
+
page: number;
|
|
6
|
+
/** Rows per page (the "All" choice is a sentinel larger than any real dataset). */
|
|
7
|
+
size: number;
|
|
8
|
+
/** Current search query (empty string when none). */
|
|
9
|
+
search: string;
|
|
10
|
+
/** Active sort, or `null`. */
|
|
11
|
+
sort: {
|
|
12
|
+
key: string;
|
|
13
|
+
direction: 'asc' | 'desc';
|
|
14
|
+
} | null;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Build the server-request params for a table's `{ page, size, search, sort }` state, applying a
|
|
18
|
+
* `TableQueryConfig` mapping (defaults reproduce `?page=1&size=10&search=…&sort=-key`):
|
|
19
|
+
* - **pagination** — `'page'` emits the 1-based page; `'offset'` emits `(page - 1) * size` under the
|
|
20
|
+
* `pageParam` name (e.g. `skip`).
|
|
21
|
+
* - **size** — the page size. When the **"All"** sentinel is active there's no meaningful page, so the
|
|
22
|
+
* **page/offset param is dropped entirely** and only the size param is emitted — and only when
|
|
23
|
+
* `allValue` is set (e.g. `limit=0` = all); with no `allValue`, "All" emits no page and no size.
|
|
24
|
+
* - **search** — omitted when empty.
|
|
25
|
+
* - **sort** — `'field'` emits a single `-`-prefixed param (`sort=-price`); `'separate'` emits the key in
|
|
26
|
+
* `sortParam` + the direction (`ascValue`/`descValue`) in `sortOrderParam` (`sortBy=price&order=desc`);
|
|
27
|
+
* `'suffix'` appends the direction value to the key in one param (`sort=priceAsc` / `sort=priceDesc`).
|
|
28
|
+
*/
|
|
29
|
+
export declare function buildTableQuery(state: TableQueryState, mapping?: TableQueryConfig): URLSearchParams;
|
|
30
|
+
/**
|
|
31
|
+
* Read a `{ page, size, search, sort }` state back out of URL / request params — the **inverse of
|
|
32
|
+
* `buildTableQuery`** for the same `mapping`. `page` / `size` are `null` when absent (the caller falls back
|
|
33
|
+
* to its defaults). Used by `<Table>` to restore its URL-synced state on mount / Back-Forward, so the
|
|
34
|
+
* address bar and the request share one shape.
|
|
35
|
+
*/
|
|
36
|
+
export declare function parseTableQuery(params: URLSearchParams, mapping?: TableQueryConfig): {
|
|
37
|
+
page: number | null;
|
|
38
|
+
size: number | null;
|
|
39
|
+
search: string;
|
|
40
|
+
sort: TableQueryState['sort'];
|
|
41
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { TableQueryConfig } from '../theme';
|
|
2
|
+
/** The `<Table>` state a server request is built from — a structural subset of `TableChangeState`. */
|
|
3
|
+
export interface TableQueryState {
|
|
4
|
+
/** 1-based page number. */
|
|
5
|
+
page: number;
|
|
6
|
+
/** Rows per page (the "All" choice is a sentinel larger than any real dataset). */
|
|
7
|
+
size: number;
|
|
8
|
+
/** Current search query (empty string when none). */
|
|
9
|
+
search: string;
|
|
10
|
+
/** Active sort, or `null`. */
|
|
11
|
+
sort: {
|
|
12
|
+
key: string;
|
|
13
|
+
direction: 'asc' | 'desc';
|
|
14
|
+
} | null;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Build the server-request params for a table's `{ page, size, search, sort }` state, applying a
|
|
18
|
+
* `TableQueryConfig` mapping (defaults reproduce `?page=1&size=10&search=…&sort=-key`):
|
|
19
|
+
* - **pagination** — `'page'` emits the 1-based page; `'offset'` emits `(page - 1) * size` under the
|
|
20
|
+
* `pageParam` name (e.g. `skip`).
|
|
21
|
+
* - **size** — the page size. When the **"All"** sentinel is active there's no meaningful page, so the
|
|
22
|
+
* **page/offset param is dropped entirely** and only the size param is emitted — and only when
|
|
23
|
+
* `allValue` is set (e.g. `limit=0` = all); with no `allValue`, "All" emits no page and no size.
|
|
24
|
+
* - **search** — omitted when empty.
|
|
25
|
+
* - **sort** — `'field'` emits a single `-`-prefixed param (`sort=-price`); `'separate'` emits the key in
|
|
26
|
+
* `sortParam` + the direction (`ascValue`/`descValue`) in `sortOrderParam` (`sortBy=price&order=desc`);
|
|
27
|
+
* `'suffix'` appends the direction value to the key in one param (`sort=priceAsc` / `sort=priceDesc`).
|
|
28
|
+
*/
|
|
29
|
+
export declare function buildTableQuery(state: TableQueryState, mapping?: TableQueryConfig): URLSearchParams;
|
|
30
|
+
/**
|
|
31
|
+
* Read a `{ page, size, search, sort }` state back out of URL / request params — the **inverse of
|
|
32
|
+
* `buildTableQuery`** for the same `mapping`. `page` / `size` are `null` when absent (the caller falls back
|
|
33
|
+
* to its defaults). Used by `<Table>` to restore its URL-synced state on mount / Back-Forward, so the
|
|
34
|
+
* address bar and the request share one shape.
|
|
35
|
+
*/
|
|
36
|
+
export declare function parseTableQuery(params: URLSearchParams, mapping?: TableQueryConfig): {
|
|
37
|
+
page: number | null;
|
|
38
|
+
size: number | null;
|
|
39
|
+
search: string;
|
|
40
|
+
sort: TableQueryState['sort'];
|
|
41
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { LocaleConfig } from '../theme';
|
|
2
|
+
/**
|
|
3
|
+
* Translation form helpers — framework-agnostic glue between `<TranslatedFields>`' **flat** field
|
|
4
|
+
* names (`translations[en-US].title` — the `FormData` shape) and the **nested** JSON shape
|
|
5
|
+
* (`{ translations: { 'en-US': { title } } }`). Public from `sava-test/helpers`.
|
|
6
|
+
*/
|
|
7
|
+
/** The default top-level namespace for the translation field names + the nested object. */
|
|
8
|
+
export declare const DEFAULT_TRANSLATIONS_NAMESPACE = "translations";
|
|
9
|
+
/**
|
|
10
|
+
* Builds a field's form name: `<namespace>[<locale>].<field>` (e.g. `translations[en-US].title`) —
|
|
11
|
+
* the flat, bracketed key that maps cleanly to `FormData`. `namespace` defaults to `'translations'`.
|
|
12
|
+
*/
|
|
13
|
+
export declare const buildTranslationName: (locale: string, field: string, namespace?: string) => string;
|
|
14
|
+
/**
|
|
15
|
+
* Expands a per-field map into the flat, locale-namespaced record `<TranslatedFields>` submits — use
|
|
16
|
+
* it to build a `<Form>`'s `defaultValues` **and** (with Zod field schemas as the values) the schema
|
|
17
|
+
* shape. Pass the same `namespace` you give the component if you changed it.
|
|
18
|
+
*
|
|
19
|
+
* ```ts
|
|
20
|
+
* const locales = ['en-US', 'ka-GE']
|
|
21
|
+
* const fields = { title: '', description: '', shortDescription: '' }
|
|
22
|
+
* const defaultValues = buildTranslations(locales, fields)
|
|
23
|
+
* // { 'translations[en-US].title': '', …, 'translations[ka-GE].shortDescription': '' }
|
|
24
|
+
* const schema = z.object(
|
|
25
|
+
* buildTranslations(locales, { title: z.string().min(1), description: z.string(), shortDescription: z.string() }),
|
|
26
|
+
* )
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare function buildTranslations<T>(locales: ReadonlyArray<string | LocaleConfig>, fields: Record<string, T>, namespace?: string): Record<string, T>;
|
|
30
|
+
/**
|
|
31
|
+
* Flat form values → the **nested** JSON shape. Translation keys (`translations[en-US].title`) fold
|
|
32
|
+
* into `{ [namespace]: { [locale]: { [field]: value } } }`; every other key stays top-level. Use it at
|
|
33
|
+
* the submit boundary when you POST JSON (rather than `FormData`):
|
|
34
|
+
*
|
|
35
|
+
* ```ts
|
|
36
|
+
* await api.post('/news', nestTranslations(form.values))
|
|
37
|
+
* // { email: 1, translations: { 'en-US': { title: '…' }, 'ka-GE': { title: '…' } } }
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare function nestTranslations(flat: Record<string, unknown>, namespace?: string): Record<string, unknown>;
|
|
41
|
+
/**
|
|
42
|
+
* The inverse of `nestTranslations`: a **nested** object (e.g. a backend response) → the flat values a
|
|
43
|
+
* `<Form>` / `<TranslatedFields>` expects. Feed the result as `defaultValues` (or into `reset`):
|
|
44
|
+
*
|
|
45
|
+
* ```ts
|
|
46
|
+
* const form = useForm({ schema, defaultValues: flattenTranslations(response) })
|
|
47
|
+
* // { email: 1, 'translations[en-US].title': '…', 'translations[ka-GE].title': '…' }
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function flattenTranslations(nested: Record<string, unknown>, namespace?: string): Record<string, unknown>;
|
|
51
|
+
/**
|
|
52
|
+
* Serialize flat form values into a `FormData` for a `multipart/form-data` POST. The flat translation
|
|
53
|
+
* keys map straight through (`translations[en-US].title`); arrays become indexed keys (`tags[0]`,
|
|
54
|
+
* `tags[1]`) with nullish items skipped so indices stay contiguous; `Blob`/`File` values are appended
|
|
55
|
+
* as-is; a `Date` becomes an ISO string; only **plain** objects recurse (a class instance like a dayjs
|
|
56
|
+
* object is stringified, not exploded into `$d`/`$y` keys); `null`/`undefined` are skipped; everything
|
|
57
|
+
* else is stringified.
|
|
58
|
+
*
|
|
59
|
+
* ```ts
|
|
60
|
+
* await fetch('/news', { method: 'POST', body: toFormData(form.values) })
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare function toFormData(values: Record<string, unknown>): FormData;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { LocaleConfig } from '../theme';
|
|
2
|
+
/**
|
|
3
|
+
* Translation form helpers — framework-agnostic glue between `<TranslatedFields>`' **flat** field
|
|
4
|
+
* names (`translations[en-US].title` — the `FormData` shape) and the **nested** JSON shape
|
|
5
|
+
* (`{ translations: { 'en-US': { title } } }`). Public from `sava-test/helpers`.
|
|
6
|
+
*/
|
|
7
|
+
/** The default top-level namespace for the translation field names + the nested object. */
|
|
8
|
+
export declare const DEFAULT_TRANSLATIONS_NAMESPACE = "translations";
|
|
9
|
+
/**
|
|
10
|
+
* Builds a field's form name: `<namespace>[<locale>].<field>` (e.g. `translations[en-US].title`) —
|
|
11
|
+
* the flat, bracketed key that maps cleanly to `FormData`. `namespace` defaults to `'translations'`.
|
|
12
|
+
*/
|
|
13
|
+
export declare const buildTranslationName: (locale: string, field: string, namespace?: string) => string;
|
|
14
|
+
/**
|
|
15
|
+
* Expands a per-field map into the flat, locale-namespaced record `<TranslatedFields>` submits — use
|
|
16
|
+
* it to build a `<Form>`'s `defaultValues` **and** (with Zod field schemas as the values) the schema
|
|
17
|
+
* shape. Pass the same `namespace` you give the component if you changed it.
|
|
18
|
+
*
|
|
19
|
+
* ```ts
|
|
20
|
+
* const locales = ['en-US', 'ka-GE']
|
|
21
|
+
* const fields = { title: '', description: '', shortDescription: '' }
|
|
22
|
+
* const defaultValues = buildTranslations(locales, fields)
|
|
23
|
+
* // { 'translations[en-US].title': '', …, 'translations[ka-GE].shortDescription': '' }
|
|
24
|
+
* const schema = z.object(
|
|
25
|
+
* buildTranslations(locales, { title: z.string().min(1), description: z.string(), shortDescription: z.string() }),
|
|
26
|
+
* )
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare function buildTranslations<T>(locales: ReadonlyArray<string | LocaleConfig>, fields: Record<string, T>, namespace?: string): Record<string, T>;
|
|
30
|
+
/**
|
|
31
|
+
* Flat form values → the **nested** JSON shape. Translation keys (`translations[en-US].title`) fold
|
|
32
|
+
* into `{ [namespace]: { [locale]: { [field]: value } } }`; every other key stays top-level. Use it at
|
|
33
|
+
* the submit boundary when you POST JSON (rather than `FormData`):
|
|
34
|
+
*
|
|
35
|
+
* ```ts
|
|
36
|
+
* await api.post('/news', nestTranslations(form.values))
|
|
37
|
+
* // { email: 1, translations: { 'en-US': { title: '…' }, 'ka-GE': { title: '…' } } }
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare function nestTranslations(flat: Record<string, unknown>, namespace?: string): Record<string, unknown>;
|
|
41
|
+
/**
|
|
42
|
+
* The inverse of `nestTranslations`: a **nested** object (e.g. a backend response) → the flat values a
|
|
43
|
+
* `<Form>` / `<TranslatedFields>` expects. Feed the result as `defaultValues` (or into `reset`):
|
|
44
|
+
*
|
|
45
|
+
* ```ts
|
|
46
|
+
* const form = useForm({ schema, defaultValues: flattenTranslations(response) })
|
|
47
|
+
* // { email: 1, 'translations[en-US].title': '…', 'translations[ka-GE].title': '…' }
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function flattenTranslations(nested: Record<string, unknown>, namespace?: string): Record<string, unknown>;
|
|
51
|
+
/**
|
|
52
|
+
* Serialize flat form values into a `FormData` for a `multipart/form-data` POST. The flat translation
|
|
53
|
+
* keys map straight through (`translations[en-US].title`); arrays become indexed keys (`tags[0]`,
|
|
54
|
+
* `tags[1]`) with nullish items skipped so indices stay contiguous; `Blob`/`File` values are appended
|
|
55
|
+
* as-is; a `Date` becomes an ISO string; only **plain** objects recurse (a class instance like a dayjs
|
|
56
|
+
* object is stringified, not exploded into `$d`/`$y` keys); `null`/`undefined` are skipped; everything
|
|
57
|
+
* else is stringified.
|
|
58
|
+
*
|
|
59
|
+
* ```ts
|
|
60
|
+
* await fetch('/news', { method: 'POST', body: toFormData(form.values) })
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare function toFormData(values: Record<string, unknown>): FormData;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type RefObject } from 'react';
|
|
2
|
+
/** Geometry computed for a floating panel anchored to a trigger. */
|
|
3
|
+
export interface FloatingPanelPosition {
|
|
4
|
+
top: number;
|
|
5
|
+
left: number;
|
|
6
|
+
width: number;
|
|
7
|
+
side: 'top' | 'bottom';
|
|
8
|
+
maxHeight: number;
|
|
9
|
+
}
|
|
10
|
+
export interface UseFloatingPanelOptions {
|
|
11
|
+
/** Whether the panel is open. */
|
|
12
|
+
open: boolean;
|
|
13
|
+
/** Ref to the anchor/trigger element. */
|
|
14
|
+
triggerRef: RefObject<HTMLElement | null>;
|
|
15
|
+
/**
|
|
16
|
+
* Horizontal alignment to the trigger: `start` (panel's left edge at the trigger's left — grows
|
|
17
|
+
* right, the default) or `end` (panel's right edge at the trigger's right — grows left).
|
|
18
|
+
*/
|
|
19
|
+
align?: 'start' | 'end';
|
|
20
|
+
/**
|
|
21
|
+
* Dismiss request. Outside-pointerdown passes whether focus was parked inside the panel (so the
|
|
22
|
+
* consumer can restore focus to the trigger); Escape passes `true`.
|
|
23
|
+
*/
|
|
24
|
+
onClose: (refocus: boolean) => void;
|
|
25
|
+
}
|
|
26
|
+
export interface UseFloatingPanelResult {
|
|
27
|
+
/** Attach to the portaled panel element. */
|
|
28
|
+
popoverRef: RefObject<HTMLDivElement | null>;
|
|
29
|
+
/** Computed geometry (null until first measured). */
|
|
30
|
+
position: FloatingPanelPosition | null;
|
|
31
|
+
/** Enter-animation flag (rAF-driven once open). */
|
|
32
|
+
visible: boolean;
|
|
33
|
+
/** Force a re-measure (rarely needed — scroll/resize/ResizeObserver already drive it). */
|
|
34
|
+
reposition: () => void;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Shared floating-panel plumbing — a `<body>`-portaled panel that opens below its trigger (flips above
|
|
38
|
+
* only when it would overflow), exposes the trigger width (for select-like matching), clamps to the
|
|
39
|
+
* viewport, re-positions on scroll/resize (+ `ResizeObserver`), locks page scroll while open, and
|
|
40
|
+
* dismisses on outside-pointerdown / `Escape`. The consumer owns the trigger ref, the `open` state, and
|
|
41
|
+
* the `onClose` cleanup; this hook owns the panel ref, geometry, the enter-animation flag, and the
|
|
42
|
+
* listeners. Wrapped by the internal `FloatingPanel` component, which every popover in the library
|
|
43
|
+
* (`Select` / `MultiSelect`, the date/time pickers, `ColorPicker`) renders. Internal (not public).
|
|
44
|
+
*/
|
|
45
|
+
export declare function useFloatingPanel({ open, triggerRef, align, onClose, }: UseFloatingPanelOptions): UseFloatingPanelResult;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type RefObject } from 'react';
|
|
2
|
+
/** Geometry computed for a floating panel anchored to a trigger. */
|
|
3
|
+
export interface FloatingPanelPosition {
|
|
4
|
+
top: number;
|
|
5
|
+
left: number;
|
|
6
|
+
width: number;
|
|
7
|
+
side: 'top' | 'bottom';
|
|
8
|
+
maxHeight: number;
|
|
9
|
+
}
|
|
10
|
+
export interface UseFloatingPanelOptions {
|
|
11
|
+
/** Whether the panel is open. */
|
|
12
|
+
open: boolean;
|
|
13
|
+
/** Ref to the anchor/trigger element. */
|
|
14
|
+
triggerRef: RefObject<HTMLElement | null>;
|
|
15
|
+
/**
|
|
16
|
+
* Horizontal alignment to the trigger: `start` (panel's left edge at the trigger's left — grows
|
|
17
|
+
* right, the default) or `end` (panel's right edge at the trigger's right — grows left).
|
|
18
|
+
*/
|
|
19
|
+
align?: 'start' | 'end';
|
|
20
|
+
/**
|
|
21
|
+
* Dismiss request. Outside-pointerdown passes whether focus was parked inside the panel (so the
|
|
22
|
+
* consumer can restore focus to the trigger); Escape passes `true`.
|
|
23
|
+
*/
|
|
24
|
+
onClose: (refocus: boolean) => void;
|
|
25
|
+
}
|
|
26
|
+
export interface UseFloatingPanelResult {
|
|
27
|
+
/** Attach to the portaled panel element. */
|
|
28
|
+
popoverRef: RefObject<HTMLDivElement | null>;
|
|
29
|
+
/** Computed geometry (null until first measured). */
|
|
30
|
+
position: FloatingPanelPosition | null;
|
|
31
|
+
/** Enter-animation flag (rAF-driven once open). */
|
|
32
|
+
visible: boolean;
|
|
33
|
+
/** Force a re-measure (rarely needed — scroll/resize/ResizeObserver already drive it). */
|
|
34
|
+
reposition: () => void;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Shared floating-panel plumbing — a `<body>`-portaled panel that opens below its trigger (flips above
|
|
38
|
+
* only when it would overflow), exposes the trigger width (for select-like matching), clamps to the
|
|
39
|
+
* viewport, re-positions on scroll/resize (+ `ResizeObserver`), locks page scroll while open, and
|
|
40
|
+
* dismisses on outside-pointerdown / `Escape`. The consumer owns the trigger ref, the `open` state, and
|
|
41
|
+
* the `onClose` cleanup; this hook owns the panel ref, geometry, the enter-animation flag, and the
|
|
42
|
+
* listeners. Wrapped by the internal `FloatingPanel` component, which every popover in the library
|
|
43
|
+
* (`Select` / `MultiSelect`, the date/time pickers, `ColorPicker`) renders. Internal (not public).
|
|
44
|
+
*/
|
|
45
|
+
export declare function useFloatingPanel({ open, triggerRef, align, onClose, }: UseFloatingPanelOptions): UseFloatingPanelResult;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Locks scrolling on `document.body` while `locked` is true (e.g. an open menu / modal / drawer).
|
|
3
|
+
* Compensates for the removed scrollbar by **adding** to the body's `padding-right` so the page doesn't
|
|
4
|
+
* shift, and restores the previous inline styles when unlocked. **Ref-counted** — nested locks are safe
|
|
5
|
+
* to release in any order; the page unlocks only when the last one releases. SSR-safe.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useLockBodyScroll(locked: boolean): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Locks scrolling on `document.body` while `locked` is true (e.g. an open menu / modal / drawer).
|
|
3
|
+
* Compensates for the removed scrollbar by **adding** to the body's `padding-right` so the page doesn't
|
|
4
|
+
* shift, and restores the previous inline styles when unlocked. **Ref-counted** — nested locks are safe
|
|
5
|
+
* to release in any order; the page unlocks only when the last one releases. SSR-safe.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useLockBodyScroll(locked: boolean): void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Subscribe to a CSS media query and get whether it currently matches, re-rendering when it flips.
|
|
3
|
+
* Built on `useSyncExternalStore`, so on the client the first render already has the correct value
|
|
4
|
+
* (no flash), and it's **SSR-safe** — returns `false` on the server / where `matchMedia` is
|
|
5
|
+
* unavailable. Use this instead of hand-rolling `window.matchMedia` + effects in a component.
|
|
6
|
+
*
|
|
7
|
+
* @param query - a media query string, e.g. `'(max-width: 640px)'` or `'(prefers-color-scheme: dark)'`.
|
|
8
|
+
* @returns `true` while the query matches.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* const isNarrow = useMediaQuery('(max-width: 640px)')
|
|
12
|
+
*/
|
|
13
|
+
export declare function useMediaQuery(query: string): boolean;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Subscribe to a CSS media query and get whether it currently matches, re-rendering when it flips.
|
|
3
|
+
* Built on `useSyncExternalStore`, so on the client the first render already has the correct value
|
|
4
|
+
* (no flash), and it's **SSR-safe** — returns `false` on the server / where `matchMedia` is
|
|
5
|
+
* unavailable. Use this instead of hand-rolling `window.matchMedia` + effects in a component.
|
|
6
|
+
*
|
|
7
|
+
* @param query - a media query string, e.g. `'(max-width: 640px)'` or `'(prefers-color-scheme: dark)'`.
|
|
8
|
+
* @returns `true` while the query matches.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* const isNarrow = useMediaQuery('(max-width: 640px)')
|
|
12
|
+
*/
|
|
13
|
+
export declare function useMediaQuery(query: string): boolean;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MessageCatalog } from '../messages';
|
|
2
|
+
/** German — translated from the English baseline (`en.ts`); omitted keys fall back to English. */
|
|
3
|
+
export declare const DE_MESSAGES: MessageCatalog;
|
|
4
|
+
/** Flag for the German UI language — rendered beside the language in the header switcher. */
|
|
5
|
+
export declare const DE_FLAG = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 480\">\n <path fill=\"#fc0\" d=\"M0 320h640v160H0z\"/>\n <path fill=\"#000001\" d=\"M0 0h640v160H0z\"/>\n <path fill=\"red\" d=\"M0 160h640v160H0z\"/>\n</svg>";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MessageCatalog } from '../messages';
|
|
2
|
+
/** German — translated from the English baseline (`en.ts`); omitted keys fall back to English. */
|
|
3
|
+
export declare const DE_MESSAGES: MessageCatalog;
|
|
4
|
+
/** Flag for the German UI language — rendered beside the language in the header switcher. */
|
|
5
|
+
export declare const DE_FLAG = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 480\">\n <path fill=\"#fc0\" d=\"M0 320h640v160H0z\"/>\n <path fill=\"#000001\" d=\"M0 0h640v160H0z\"/>\n <path fill=\"red\" d=\"M0 160h640v160H0z\"/>\n</svg>";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Messages } from '../messages';
|
|
2
|
+
/**
|
|
3
|
+
* English — the **complete** baseline every other language falls back to, per key. When you add a new
|
|
4
|
+
* key to the `Messages` interface (in `../messages`), fill it here first; the type makes this file the
|
|
5
|
+
* one catalog that must stay exhaustive (the others are `Partial` and fall back here).
|
|
6
|
+
*/
|
|
7
|
+
export declare const EN_MESSAGES: Messages;
|
|
8
|
+
/** Flag for the English (US) UI language — rendered beside the language in the header switcher. */
|
|
9
|
+
export declare const EN_FLAG = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 480\">\n <path fill=\"#bd3d44\" d=\"M0 0h640v480H0\"/>\n <path stroke=\"#fff\" stroke-width=\"37\" d=\"M0 55.3h640M0 129h640M0 203h640M0 277h640M0 351h640M0 425h640\"/>\n <path fill=\"#192f5d\" d=\"M0 0h364.8v258.5H0\"/>\n <marker id=\"us-a\" markerHeight=\"30\" markerWidth=\"30\">\n <path fill=\"#fff\" d=\"m14 0 9 27L0 10h28L5 27z\"/>\n </marker>\n <path fill=\"none\" marker-mid=\"url(#us-a)\" d=\"m0 0 16 11h61 61 61 61 60L47 37h61 61 60 61L16 63h61 61 61 61 60L47 89h61 61 60 61L16 115h61 61 61 61 60L47 141h61 61 60 61L16 166h61 61 61 61 60L47 192h61 61 60 61L16 218h61 61 61 61 60z\"/>\n</svg>";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Messages } from '../messages';
|
|
2
|
+
/**
|
|
3
|
+
* English — the **complete** baseline every other language falls back to, per key. When you add a new
|
|
4
|
+
* key to the `Messages` interface (in `../messages`), fill it here first; the type makes this file the
|
|
5
|
+
* one catalog that must stay exhaustive (the others are `Partial` and fall back here).
|
|
6
|
+
*/
|
|
7
|
+
export declare const EN_MESSAGES: Messages;
|
|
8
|
+
/** Flag for the English (US) UI language — rendered beside the language in the header switcher. */
|
|
9
|
+
export declare const EN_FLAG = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 480\">\n <path fill=\"#bd3d44\" d=\"M0 0h640v480H0\"/>\n <path stroke=\"#fff\" stroke-width=\"37\" d=\"M0 55.3h640M0 129h640M0 203h640M0 277h640M0 351h640M0 425h640\"/>\n <path fill=\"#192f5d\" d=\"M0 0h364.8v258.5H0\"/>\n <marker id=\"us-a\" markerHeight=\"30\" markerWidth=\"30\">\n <path fill=\"#fff\" d=\"m14 0 9 27L0 10h28L5 27z\"/>\n </marker>\n <path fill=\"none\" marker-mid=\"url(#us-a)\" d=\"m0 0 16 11h61 61 61 61 60L47 37h61 61 60 61L16 63h61 61 61 61 60L47 89h61 61 60 61L16 115h61 61 61 61 60L47 141h61 61 60 61L16 166h61 61 61 61 60L47 192h61 61 60 61L16 218h61 61 61 61 60z\"/>\n</svg>";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MessageCatalog } from '../messages';
|
|
2
|
+
/** Spanish — translated from the English baseline (`en.ts`); omitted keys fall back to English. */
|
|
3
|
+
export declare const ES_MESSAGES: MessageCatalog;
|
|
4
|
+
/** Flag for the Spanish UI language — rendered beside the language in the header switcher. */
|
|
5
|
+
export declare const ES_FLAG = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 480\">\n <path fill=\"#AA151B\" d=\"M0 0h640v480H0z\"/>\n <path fill=\"#F1BF00\" d=\"M0 120h640v240H0z\"/>\n</svg>";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MessageCatalog } from '../messages';
|
|
2
|
+
/** Spanish — translated from the English baseline (`en.ts`); omitted keys fall back to English. */
|
|
3
|
+
export declare const ES_MESSAGES: MessageCatalog;
|
|
4
|
+
/** Flag for the Spanish UI language — rendered beside the language in the header switcher. */
|
|
5
|
+
export declare const ES_FLAG = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 480\">\n <path fill=\"#AA151B\" d=\"M0 0h640v480H0z\"/>\n <path fill=\"#F1BF00\" d=\"M0 120h640v240H0z\"/>\n</svg>";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MessageCatalog } from '../messages';
|
|
2
|
+
/** French — translated from the English baseline (`en.ts`); omitted keys fall back to English. */
|
|
3
|
+
export declare const FR_MESSAGES: MessageCatalog;
|
|
4
|
+
/** Flag for the French UI language — rendered beside the language in the header switcher. */
|
|
5
|
+
export declare const FR_FLAG = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 480\">\n <path fill=\"#000091\" d=\"M0 0h213.3v480H0z\"/>\n <path fill=\"#fff\" d=\"M213.3 0h213.4v480H213.3z\"/>\n <path fill=\"#e1000f\" d=\"M426.7 0H640v480H426.7z\"/>\n</svg>";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MessageCatalog } from '../messages';
|
|
2
|
+
/** French — translated from the English baseline (`en.ts`); omitted keys fall back to English. */
|
|
3
|
+
export declare const FR_MESSAGES: MessageCatalog;
|
|
4
|
+
/** Flag for the French UI language — rendered beside the language in the header switcher. */
|
|
5
|
+
export declare const FR_FLAG = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 480\">\n <path fill=\"#000091\" d=\"M0 0h213.3v480H0z\"/>\n <path fill=\"#fff\" d=\"M213.3 0h213.4v480H213.3z\"/>\n <path fill=\"#e1000f\" d=\"M426.7 0H640v480H426.7z\"/>\n</svg>";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MessageCatalog } from '../messages';
|
|
2
|
+
/** Italian — translated from the English baseline (`en.ts`); omitted keys fall back to English. */
|
|
3
|
+
export declare const IT_MESSAGES: MessageCatalog;
|
|
4
|
+
/** Flag for the Italian UI language — rendered beside the language in the header switcher. */
|
|
5
|
+
export declare const IT_FLAG = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 480\">\n <g fill-rule=\"evenodd\" stroke-width=\"1pt\">\n <path fill=\"#fff\" d=\"M0 0h640v480H0z\"/>\n <path fill=\"#009246\" d=\"M0 0h213.3v480H0z\"/>\n <path fill=\"#ce2b37\" d=\"M426.7 0H640v480H426.7z\"/>\n </g>\n</svg>";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { MessageCatalog } from '../messages';
|
|
2
|
+
/** Italian — translated from the English baseline (`en.ts`); omitted keys fall back to English. */
|
|
3
|
+
export declare const IT_MESSAGES: MessageCatalog;
|
|
4
|
+
/** Flag for the Italian UI language — rendered beside the language in the header switcher. */
|
|
5
|
+
export declare const IT_FLAG = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 480\">\n <g fill-rule=\"evenodd\" stroke-width=\"1pt\">\n <path fill=\"#fff\" d=\"M0 0h640v480H0z\"/>\n <path fill=\"#009246\" d=\"M0 0h213.3v480H0z\"/>\n <path fill=\"#ce2b37\" d=\"M426.7 0H640v480H426.7z\"/>\n </g>\n</svg>";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { MessageCatalog } from '../messages';
|
|
2
|
+
/**
|
|
3
|
+
* Georgian — shipped built-in (the maintainer's language). A `MessageCatalog` (`Partial<Messages>`),
|
|
4
|
+
* so any key it omits falls back to English (`en.ts`) at resolve time.
|
|
5
|
+
*/
|
|
6
|
+
export declare const KA_MESSAGES: MessageCatalog;
|
|
7
|
+
/** Flag for the Georgian UI language — rendered beside the language in the header switcher. */
|
|
8
|
+
export declare const KA_FLAG = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 480\">\n <path fill=\"#fff\" d=\"M0 0h640v480H0z\"/>\n <path fill=\"red\" d=\"M272 0h96v480h-96z\"/>\n <path fill=\"red\" d=\"M0 192h640v96H0z\"/>\n <path fill=\"red\" fill-rule=\"evenodd\" d=\"M146.8 373.1c1-16.8 4-31.1 4-31.1s-9.8 1-14.8 1-14.8-1-14.8-1 3 14.3 4 31.2c-16.9-1-31.2-4-31.2-4s1 7.4 1 14.8-1 14.8-1 14.8 14.3-3 31.2-4c-1 16.9-4 31.2-4 31.2s7.4-1 14.8-1 14.8 1 14.8 1-3-14.3-4-31.2c16.9 1 31.2 4 31.2 4s-1-9.8-1-14.8 1-14.8 1-14.8-14.3 3-31.1 4zm368-288c1-16.8 4-31.1 4-31.1s-9.8 1-14.8 1-14.8-1-14.8-1 3 14.3 4 31.1c-16.9-1-31.2-3.9-31.2-3.9s1 7.4 1 14.8-1 14.8-1 14.8 14.3-3 31.2-4c-1 16.9-4 31.2-4 31.2s7.4-1 14.8-1 14.8 1 14.8 1-3-14.3-4-31.1c16.9 1 31.2 4 31.2 4s-1-10-1-14.9 1-14.8 1-14.8-14.3 3-31.2 4zm-368 0c1-16.8 4-31.1 4-31.1s-9.8 1-14.8 1-14.8-1-14.8-1 3 14.3 4 31.2c-16.9-1-31.2-4-31.2-4s1 7.4 1 14.8-1 14.8-1 14.8 14.3-3 31.2-4c-1 16.9-4 31.2-4 31.2s7.4-1 14.8-1 14.8 1 14.8 1-3-14.3-4-31.2c16.9 1 31.2 4 31.2 4s-1-9.8-1-14.8 1-14.8 1-14.8-14.3 3-31.1 4zm368 288c1-16.8 4-31.1 4-31.1s-9.8 1-14.8 1-14.8-1-14.8-1 3 14.3 4 31.2c-16.9-1-31.2-4-31.2-4s1 7.4 1 14.8-1 14.8-1 14.8 14.3-3 31.2-4c-1 16.9-4 31.2-4 31.2s7.4-1 14.8-1 14.8 1 14.8 1-3-14.3-4-31.2c16.9 1 31.2 4 31.2 4s-1-9.8-1-14.8 1-14.8 1-14.8-14.3 3-31.2 4z\"/>\n</svg>";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { MessageCatalog } from '../messages';
|
|
2
|
+
/**
|
|
3
|
+
* Georgian — shipped built-in (the maintainer's language). A `MessageCatalog` (`Partial<Messages>`),
|
|
4
|
+
* so any key it omits falls back to English (`en.ts`) at resolve time.
|
|
5
|
+
*/
|
|
6
|
+
export declare const KA_MESSAGES: MessageCatalog;
|
|
7
|
+
/** Flag for the Georgian UI language — rendered beside the language in the header switcher. */
|
|
8
|
+
export declare const KA_FLAG = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 480\">\n <path fill=\"#fff\" d=\"M0 0h640v480H0z\"/>\n <path fill=\"red\" d=\"M272 0h96v480h-96z\"/>\n <path fill=\"red\" d=\"M0 192h640v96H0z\"/>\n <path fill=\"red\" fill-rule=\"evenodd\" d=\"M146.8 373.1c1-16.8 4-31.1 4-31.1s-9.8 1-14.8 1-14.8-1-14.8-1 3 14.3 4 31.2c-16.9-1-31.2-4-31.2-4s1 7.4 1 14.8-1 14.8-1 14.8 14.3-3 31.2-4c-1 16.9-4 31.2-4 31.2s7.4-1 14.8-1 14.8 1 14.8 1-3-14.3-4-31.2c16.9 1 31.2 4 31.2 4s-1-9.8-1-14.8 1-14.8 1-14.8-14.3 3-31.1 4zm368-288c1-16.8 4-31.1 4-31.1s-9.8 1-14.8 1-14.8-1-14.8-1 3 14.3 4 31.1c-16.9-1-31.2-3.9-31.2-3.9s1 7.4 1 14.8-1 14.8-1 14.8 14.3-3 31.2-4c-1 16.9-4 31.2-4 31.2s7.4-1 14.8-1 14.8 1 14.8 1-3-14.3-4-31.1c16.9 1 31.2 4 31.2 4s-1-10-1-14.9 1-14.8 1-14.8-14.3 3-31.2 4zm-368 0c1-16.8 4-31.1 4-31.1s-9.8 1-14.8 1-14.8-1-14.8-1 3 14.3 4 31.2c-16.9-1-31.2-4-31.2-4s1 7.4 1 14.8-1 14.8-1 14.8 14.3-3 31.2-4c-1 16.9-4 31.2-4 31.2s7.4-1 14.8-1 14.8 1 14.8 1-3-14.3-4-31.2c16.9 1 31.2 4 31.2 4s-1-9.8-1-14.8 1-14.8 1-14.8-14.3 3-31.1 4zm368 288c1-16.8 4-31.1 4-31.1s-9.8 1-14.8 1-14.8-1-14.8-1 3 14.3 4 31.2c-16.9-1-31.2-4-31.2-4s1 7.4 1 14.8-1 14.8-1 14.8 14.3-3 31.2-4c-1 16.9-4 31.2-4 31.2s7.4-1 14.8-1 14.8 1 14.8 1-3-14.3-4-31.2c16.9 1 31.2 4 31.2 4s-1-9.8-1-14.8 1-14.8 1-14.8-14.3 3-31.2 4z\"/>\n</svg>";
|