@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 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
|
+
export type RichTextEditorSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export interface RichTextEditorProps {
|
|
4
|
+
/** Label rendered above the editor. */
|
|
5
|
+
label?: ReactNode;
|
|
6
|
+
/** Preset size — drives toolbar density, content font size and min-height. */
|
|
7
|
+
size?: RichTextEditorSize;
|
|
8
|
+
/** Marks the field invalid: red border/ring and `helperText` in the error color. */
|
|
9
|
+
error?: boolean;
|
|
10
|
+
/** Helper / validation text under the editor. Adopts the error color while `error`. */
|
|
11
|
+
helperText?: ReactNode;
|
|
12
|
+
/** Adds a red asterisk after the label (visual hint). */
|
|
13
|
+
required?: boolean;
|
|
14
|
+
/** Read-only mode — the toolbar disables and the content isn't editable. */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/** Placeholder shown while the editor is empty. */
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
/** Form field name — auto-binds value/validation to a surrounding `<Form>` (value = the HTML string). */
|
|
19
|
+
name?: string;
|
|
20
|
+
/** Controlled HTML value. */
|
|
21
|
+
value?: string;
|
|
22
|
+
/** Initial HTML value (uncontrolled). */
|
|
23
|
+
defaultValue?: string;
|
|
24
|
+
/** Fires with the serialized **HTML** on every edit. */
|
|
25
|
+
onChange?: (html: string) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Async image upload. When provided, an uploaded image is sent through this and the returned URL is
|
|
28
|
+
* inserted; when omitted, the image is embedded inline as a base64 `data:` URL (no backend needed).
|
|
29
|
+
*/
|
|
30
|
+
onImageUpload?: (file: File) => Promise<string>;
|
|
31
|
+
/** Min height of the editable area in px. Defaults to `220`. */
|
|
32
|
+
minHeight?: number;
|
|
33
|
+
/** Accessible label for the editable region. Defaults to `'Rich text editor'`. */
|
|
34
|
+
'aria-label'?: string;
|
|
35
|
+
className?: string;
|
|
36
|
+
style?: CSSProperties;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A rich text editor built on **Lexical** (an optional peer — install `lexical` + `@lexical/*`). Its
|
|
40
|
+
* value is an **HTML string**: bold/italic/underline/strikethrough/inline-code, headings, lists
|
|
41
|
+
* (bullet/ordered/check), links, block quote, plus **images** (insert by URL or upload — embedded as a
|
|
42
|
+
* base64 `data:` URL unless an `onImageUpload` handler is given) and **video** embeds (paste a
|
|
43
|
+
* YouTube/Vimeo/file URL). Markdown shortcuts work while typing (`# `, `- `, `> `, …). The toolbar is
|
|
44
|
+
* built from the library's own `IconButton`/`Button`/`Dropdown`, and the content is styled entirely
|
|
45
|
+
* with `--tz-*` tokens. Controlled (`value` + `onChange`) or uncontrolled (`defaultValue`); inside a
|
|
46
|
+
* `<Form>`, a `name` prop auto-binds the HTML value (validate with e.g. `z.string().min(1)`).
|
|
47
|
+
*/
|
|
48
|
+
export declare const RichTextEditor: import("react").ForwardRefExoticComponent<RichTextEditorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
|
+
export type RichTextEditorSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export interface RichTextEditorProps {
|
|
4
|
+
/** Label rendered above the editor. */
|
|
5
|
+
label?: ReactNode;
|
|
6
|
+
/** Preset size — drives toolbar density, content font size and min-height. */
|
|
7
|
+
size?: RichTextEditorSize;
|
|
8
|
+
/** Marks the field invalid: red border/ring and `helperText` in the error color. */
|
|
9
|
+
error?: boolean;
|
|
10
|
+
/** Helper / validation text under the editor. Adopts the error color while `error`. */
|
|
11
|
+
helperText?: ReactNode;
|
|
12
|
+
/** Adds a red asterisk after the label (visual hint). */
|
|
13
|
+
required?: boolean;
|
|
14
|
+
/** Read-only mode — the toolbar disables and the content isn't editable. */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/** Placeholder shown while the editor is empty. */
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
/** Form field name — auto-binds value/validation to a surrounding `<Form>` (value = the HTML string). */
|
|
19
|
+
name?: string;
|
|
20
|
+
/** Controlled HTML value. */
|
|
21
|
+
value?: string;
|
|
22
|
+
/** Initial HTML value (uncontrolled). */
|
|
23
|
+
defaultValue?: string;
|
|
24
|
+
/** Fires with the serialized **HTML** on every edit. */
|
|
25
|
+
onChange?: (html: string) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Async image upload. When provided, an uploaded image is sent through this and the returned URL is
|
|
28
|
+
* inserted; when omitted, the image is embedded inline as a base64 `data:` URL (no backend needed).
|
|
29
|
+
*/
|
|
30
|
+
onImageUpload?: (file: File) => Promise<string>;
|
|
31
|
+
/** Min height of the editable area in px. Defaults to `220`. */
|
|
32
|
+
minHeight?: number;
|
|
33
|
+
/** Accessible label for the editable region. Defaults to `'Rich text editor'`. */
|
|
34
|
+
'aria-label'?: string;
|
|
35
|
+
className?: string;
|
|
36
|
+
style?: CSSProperties;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A rich text editor built on **Lexical** (an optional peer — install `lexical` + `@lexical/*`). Its
|
|
40
|
+
* value is an **HTML string**: bold/italic/underline/strikethrough/inline-code, headings, lists
|
|
41
|
+
* (bullet/ordered/check), links, block quote, plus **images** (insert by URL or upload — embedded as a
|
|
42
|
+
* base64 `data:` URL unless an `onImageUpload` handler is given) and **video** embeds (paste a
|
|
43
|
+
* YouTube/Vimeo/file URL). Markdown shortcuts work while typing (`# `, `- `, `> `, …). The toolbar is
|
|
44
|
+
* built from the library's own `IconButton`/`Button`/`Dropdown`, and the content is styled entirely
|
|
45
|
+
* with `--tz-*` tokens. Controlled (`value` + `onChange`) or uncontrolled (`defaultValue`); inside a
|
|
46
|
+
* `<Form>`, a `name` prop auto-binds the HTML value (validate with e.g. `z.string().min(1)`).
|
|
47
|
+
*/
|
|
48
|
+
export declare const RichTextEditor: import("react").ForwardRefExoticComponent<RichTextEditorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type Size = 'sm' | 'md' | 'lg';
|
|
2
|
+
export interface ToolbarProps {
|
|
3
|
+
size: Size;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
/** Optional async upload — when set, an inserted image uses the returned URL instead of a base64 data URL. */
|
|
6
|
+
onImageUpload?: (file: File) => Promise<string>;
|
|
7
|
+
}
|
|
8
|
+
/** The editor toolbar — reads the live selection and dispatches Lexical commands. */
|
|
9
|
+
export declare function Toolbar({ size, disabled, onImageUpload }: ToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type Size = 'sm' | 'md' | 'lg';
|
|
2
|
+
export interface ToolbarProps {
|
|
3
|
+
size: Size;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
/** Optional async upload — when set, an inserted image uses the returned URL instead of a base64 data URL. */
|
|
6
|
+
onImageUpload?: (file: File) => Promise<string>;
|
|
7
|
+
}
|
|
8
|
+
/** The editor toolbar — reads the live selection and dispatches Lexical commands. */
|
|
9
|
+
export declare function Toolbar({ size, disabled, onImageUpload }: ToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -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,33 @@
|
|
|
1
|
+
import { DecoratorNode, type DOMConversionMap, type DOMExportOutput, type LexicalNode, type NodeKey, type SerializedLexicalNode, type Spread } from 'lexical';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
/** Serialized shape of an {@link ImageNode} (editor-state JSON). */
|
|
4
|
+
export type SerializedImageNode = Spread<{
|
|
5
|
+
src: string;
|
|
6
|
+
alt: string;
|
|
7
|
+
}, SerializedLexicalNode>;
|
|
8
|
+
/**
|
|
9
|
+
* A block-level image node. Renders a plain `<img>` (the `src` may be a remote URL or a base64
|
|
10
|
+
* `data:` URL when inserted via upload). Serializes to a clean `<img src alt>` for the HTML value and
|
|
11
|
+
* parses back from any `<img>` on paste/load.
|
|
12
|
+
*/
|
|
13
|
+
export declare class ImageNode extends DecoratorNode<ReactNode> {
|
|
14
|
+
__src: string;
|
|
15
|
+
__alt: string;
|
|
16
|
+
static getType(): string;
|
|
17
|
+
static clone(node: ImageNode): ImageNode;
|
|
18
|
+
constructor(src: string, alt?: string, key?: NodeKey);
|
|
19
|
+
static importJSON(json: SerializedImageNode): ImageNode;
|
|
20
|
+
exportJSON(): SerializedImageNode;
|
|
21
|
+
static importDOM(): DOMConversionMap | null;
|
|
22
|
+
exportDOM(): DOMExportOutput;
|
|
23
|
+
/** A block wrapper; the actual `<img>` is rendered by {@link decorate}. */
|
|
24
|
+
createDOM(): HTMLElement;
|
|
25
|
+
updateDOM(): false;
|
|
26
|
+
getSrc(): string;
|
|
27
|
+
getAltText(): string;
|
|
28
|
+
decorate(): ReactNode;
|
|
29
|
+
}
|
|
30
|
+
/** Creates an `ImageNode` (use inside an `editor.update`). */
|
|
31
|
+
export declare function $createImageNode(src: string, alt?: string): ImageNode;
|
|
32
|
+
/** Type guard for `ImageNode`. */
|
|
33
|
+
export declare function $isImageNode(node: LexicalNode | null | undefined): node is ImageNode;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DecoratorNode, type DOMConversionMap, type DOMExportOutput, type LexicalNode, type NodeKey, type SerializedLexicalNode, type Spread } from 'lexical';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
/** Serialized shape of an {@link ImageNode} (editor-state JSON). */
|
|
4
|
+
export type SerializedImageNode = Spread<{
|
|
5
|
+
src: string;
|
|
6
|
+
alt: string;
|
|
7
|
+
}, SerializedLexicalNode>;
|
|
8
|
+
/**
|
|
9
|
+
* A block-level image node. Renders a plain `<img>` (the `src` may be a remote URL or a base64
|
|
10
|
+
* `data:` URL when inserted via upload). Serializes to a clean `<img src alt>` for the HTML value and
|
|
11
|
+
* parses back from any `<img>` on paste/load.
|
|
12
|
+
*/
|
|
13
|
+
export declare class ImageNode extends DecoratorNode<ReactNode> {
|
|
14
|
+
__src: string;
|
|
15
|
+
__alt: string;
|
|
16
|
+
static getType(): string;
|
|
17
|
+
static clone(node: ImageNode): ImageNode;
|
|
18
|
+
constructor(src: string, alt?: string, key?: NodeKey);
|
|
19
|
+
static importJSON(json: SerializedImageNode): ImageNode;
|
|
20
|
+
exportJSON(): SerializedImageNode;
|
|
21
|
+
static importDOM(): DOMConversionMap | null;
|
|
22
|
+
exportDOM(): DOMExportOutput;
|
|
23
|
+
/** A block wrapper; the actual `<img>` is rendered by {@link decorate}. */
|
|
24
|
+
createDOM(): HTMLElement;
|
|
25
|
+
updateDOM(): false;
|
|
26
|
+
getSrc(): string;
|
|
27
|
+
getAltText(): string;
|
|
28
|
+
decorate(): ReactNode;
|
|
29
|
+
}
|
|
30
|
+
/** Creates an `ImageNode` (use inside an `editor.update`). */
|
|
31
|
+
export declare function $createImageNode(src: string, alt?: string): ImageNode;
|
|
32
|
+
/** Type guard for `ImageNode`. */
|
|
33
|
+
export declare function $isImageNode(node: LexicalNode | null | undefined): node is ImageNode;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { DecoratorNode, type DOMConversionMap, type DOMExportOutput, type LexicalNode, type NodeKey, type SerializedLexicalNode, type Spread } from 'lexical';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
/** Serialized shape of a {@link VideoNode} (editor-state JSON). */
|
|
4
|
+
export type SerializedVideoNode = Spread<{
|
|
5
|
+
src: string;
|
|
6
|
+
}, SerializedLexicalNode>;
|
|
7
|
+
/**
|
|
8
|
+
* Normalizes a pasted video URL into an embeddable one — YouTube/Vimeo watch links become their
|
|
9
|
+
* `embed` form; everything else (incl. already-embed URLs and direct files) is returned unchanged,
|
|
10
|
+
* so the conversion is idempotent across HTML round-trips.
|
|
11
|
+
*/
|
|
12
|
+
export declare function toVideoEmbedSrc(raw: string): string;
|
|
13
|
+
/**
|
|
14
|
+
* A block-level video node. Direct media files render with `<video controls>`; everything else is
|
|
15
|
+
* treated as an embed and renders in a responsive `<iframe>` (YouTube/Vimeo links are normalized to
|
|
16
|
+
* their embed URL). Serializes to a clean `<video>` / `<iframe>` for the HTML value.
|
|
17
|
+
*/
|
|
18
|
+
export declare class VideoNode extends DecoratorNode<ReactNode> {
|
|
19
|
+
__src: string;
|
|
20
|
+
static getType(): string;
|
|
21
|
+
static clone(node: VideoNode): VideoNode;
|
|
22
|
+
constructor(src: string, key?: NodeKey);
|
|
23
|
+
static importJSON(json: SerializedVideoNode): VideoNode;
|
|
24
|
+
exportJSON(): SerializedVideoNode;
|
|
25
|
+
static importDOM(): DOMConversionMap | null;
|
|
26
|
+
exportDOM(): DOMExportOutput;
|
|
27
|
+
/** A block wrapper; the actual media element is rendered by {@link decorate}. */
|
|
28
|
+
createDOM(): HTMLElement;
|
|
29
|
+
updateDOM(): false;
|
|
30
|
+
getSrc(): string;
|
|
31
|
+
decorate(): ReactNode;
|
|
32
|
+
}
|
|
33
|
+
/** Creates a `VideoNode`, normalizing the URL to an embeddable one (use inside an `editor.update`). */
|
|
34
|
+
export declare function $createVideoNode(src: string): VideoNode;
|
|
35
|
+
/** Type guard for `VideoNode`. */
|
|
36
|
+
export declare function $isVideoNode(node: LexicalNode | null | undefined): node is VideoNode;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { DecoratorNode, type DOMConversionMap, type DOMExportOutput, type LexicalNode, type NodeKey, type SerializedLexicalNode, type Spread } from 'lexical';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
/** Serialized shape of a {@link VideoNode} (editor-state JSON). */
|
|
4
|
+
export type SerializedVideoNode = Spread<{
|
|
5
|
+
src: string;
|
|
6
|
+
}, SerializedLexicalNode>;
|
|
7
|
+
/**
|
|
8
|
+
* Normalizes a pasted video URL into an embeddable one — YouTube/Vimeo watch links become their
|
|
9
|
+
* `embed` form; everything else (incl. already-embed URLs and direct files) is returned unchanged,
|
|
10
|
+
* so the conversion is idempotent across HTML round-trips.
|
|
11
|
+
*/
|
|
12
|
+
export declare function toVideoEmbedSrc(raw: string): string;
|
|
13
|
+
/**
|
|
14
|
+
* A block-level video node. Direct media files render with `<video controls>`; everything else is
|
|
15
|
+
* treated as an embed and renders in a responsive `<iframe>` (YouTube/Vimeo links are normalized to
|
|
16
|
+
* their embed URL). Serializes to a clean `<video>` / `<iframe>` for the HTML value.
|
|
17
|
+
*/
|
|
18
|
+
export declare class VideoNode extends DecoratorNode<ReactNode> {
|
|
19
|
+
__src: string;
|
|
20
|
+
static getType(): string;
|
|
21
|
+
static clone(node: VideoNode): VideoNode;
|
|
22
|
+
constructor(src: string, key?: NodeKey);
|
|
23
|
+
static importJSON(json: SerializedVideoNode): VideoNode;
|
|
24
|
+
exportJSON(): SerializedVideoNode;
|
|
25
|
+
static importDOM(): DOMConversionMap | null;
|
|
26
|
+
exportDOM(): DOMExportOutput;
|
|
27
|
+
/** A block wrapper; the actual media element is rendered by {@link decorate}. */
|
|
28
|
+
createDOM(): HTMLElement;
|
|
29
|
+
updateDOM(): false;
|
|
30
|
+
getSrc(): string;
|
|
31
|
+
decorate(): ReactNode;
|
|
32
|
+
}
|
|
33
|
+
/** Creates a `VideoNode`, normalizing the URL to an embeddable one (use inside an `editor.update`). */
|
|
34
|
+
export declare function $createVideoNode(src: string): VideoNode;
|
|
35
|
+
/** Type guard for `VideoNode`. */
|
|
36
|
+
export declare function $isVideoNode(node: LexicalNode | null | undefined): node is VideoNode;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* URL-scheme allowlist for the RichTextEditor — the single defense against script-URL XSS
|
|
3
|
+
* (`javascript:`, `vbscript:`, `data:text/html`, …) reaching the exported HTML value, whether a URL
|
|
4
|
+
* arrives via the toolbar dialogs, a paste, or a loaded value. Rejected URLs are neutralized (an
|
|
5
|
+
* empty `src`, or a `'#'` `href`) rather than executed.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Sanitize a link `href`: allow `http(s)`/`mailto`/`tel`/`ftp` and relative/anchor/query URLs; any
|
|
9
|
+
* other explicit scheme (`javascript:`, `data:`, `vbscript:`, …) collapses to `'#'`.
|
|
10
|
+
*/
|
|
11
|
+
export declare function sanitizeLinkUrl(url: string): string;
|
|
12
|
+
/**
|
|
13
|
+
* Sanitize an image/video `src`: like {@link sanitizeLinkUrl}, but also permits inline
|
|
14
|
+
* `data:image`/`data:video` (upload embeds) and `blob:` object URLs. A disallowed scheme yields `''`.
|
|
15
|
+
*/
|
|
16
|
+
export declare function sanitizeMediaUrl(url: string): string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* URL-scheme allowlist for the RichTextEditor — the single defense against script-URL XSS
|
|
3
|
+
* (`javascript:`, `vbscript:`, `data:text/html`, …) reaching the exported HTML value, whether a URL
|
|
4
|
+
* arrives via the toolbar dialogs, a paste, or a loaded value. Rejected URLs are neutralized (an
|
|
5
|
+
* empty `src`, or a `'#'` `href`) rather than executed.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Sanitize a link `href`: allow `http(s)`/`mailto`/`tel`/`ftp` and relative/anchor/query URLs; any
|
|
9
|
+
* other explicit scheme (`javascript:`, `data:`, `vbscript:`, …) collapses to `'#'`.
|
|
10
|
+
*/
|
|
11
|
+
export declare function sanitizeLinkUrl(url: string): string;
|
|
12
|
+
/**
|
|
13
|
+
* Sanitize an image/video `src`: like {@link sanitizeLinkUrl}, but also permits inline
|
|
14
|
+
* `data:image`/`data:video` (upload embeds) and `blob:` object URLs. A disallowed scheme yields `''`.
|
|
15
|
+
*/
|
|
16
|
+
export declare function sanitizeMediaUrl(url: string): string;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type HeaderConfig, type HeaderUser } from '../../theme';
|
|
3
|
+
import { type ToasterProps } from '../Toast';
|
|
4
|
+
/**
|
|
5
|
+
* The shell header config + its user shape now live in the theme layer (so `config.header` can carry
|
|
6
|
+
* them app-wide). These aliases keep the historical `RootLayout*` names importable.
|
|
7
|
+
*/
|
|
8
|
+
export type RootLayoutUser = HeaderUser;
|
|
9
|
+
export type RootLayoutHeader = HeaderConfig;
|
|
10
|
+
export interface RootLayoutProps {
|
|
11
|
+
/** Brand logo at the top of the sidebar card — pass an `<img>`, an `<Icon>`, or any node. */
|
|
12
|
+
logo?: ReactNode;
|
|
13
|
+
/** Optional content pinned to the **bottom of the sidebar** (e.g. a promo / "Need help?" card). */
|
|
14
|
+
sidebarFooter?: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Header config for **this** shell — merged **over** the app-wide `config.header` (the prop wins).
|
|
17
|
+
* Fields: the built-in `theme` / `search` / `settings` / `languages` toggles (default `true`),
|
|
18
|
+
* `fullscreen` (default `false`), `breadcrumbs` (default `true`), `pageTitle` (default `true`), and the
|
|
19
|
+
* account (`onLogout` / `user`).
|
|
20
|
+
*/
|
|
21
|
+
header?: RootLayoutHeader;
|
|
22
|
+
/**
|
|
23
|
+
* The built-in toast viewport, mounted for you so `toast.*()` works app-wide with no extra setup.
|
|
24
|
+
* Defaults to `true` (a `<Toaster>` with its defaults). Pass `ToasterProps` to configure it
|
|
25
|
+
* (`{ position, duration }`), or `false` to opt out — e.g. when you mount your own `<Toaster>`.
|
|
26
|
+
*/
|
|
27
|
+
toaster?: boolean | ToasterProps;
|
|
28
|
+
/** Routed content — the consumer passes `<Outlet />`. */
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The admin-panel shell — a **floating** layout: the whole app sits on a soft `--tz-color-background`
|
|
33
|
+
* canvas, with a rounded, elevated `--tz-color-surface` **sidebar card** (`logo` + auto-generated `Sidebar` + an optional
|
|
34
|
+
* `sidebarFooter`) beside the header + content. Set it as the root route's component and pass
|
|
35
|
+
* `<Outlet />` as `children`; the `Sidebar` builds itself from the routes' `staticData`. The header
|
|
36
|
+
* holds an optional `ThemeToggle` (on by default), a **Settings** button (opens a right-side drawer to
|
|
37
|
+
* pick + persist the `accent` color), plus an account `Avatar` whose menu has a **Sign out** item when
|
|
38
|
+
* `header.onLogout` is given. The content area stacks
|
|
39
|
+
* **`Breadcrumbs` → the page title (the active route's `staticData.name`) → `children`**; pages wrap
|
|
40
|
+
* their own body in `PageLayout`. Set `header.pageTitle = false` to drop the auto `h2` when pages
|
|
41
|
+
* carry their own heading inside their `PageLayout` header. A `<Toaster>` is **mounted by default** so
|
|
42
|
+
* `toast.*()` works app-wide with no extra setup (configure via `toaster`, or `toaster={false}` to opt
|
|
43
|
+
* out). Styling is token-based, so it follows the active `ConfigProvider` mode. Requires
|
|
44
|
+
* `@tanstack/react-router` (peer).
|
|
45
|
+
*/
|
|
46
|
+
export declare function RootLayout({ logo, sidebarFooter, header, toaster, children, }: RootLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type HeaderConfig, type HeaderUser } from '../../theme';
|
|
3
|
+
import { type ToasterProps } from '../Toast';
|
|
4
|
+
/**
|
|
5
|
+
* The shell header config + its user shape now live in the theme layer (so `config.header` can carry
|
|
6
|
+
* them app-wide). These aliases keep the historical `RootLayout*` names importable.
|
|
7
|
+
*/
|
|
8
|
+
export type RootLayoutUser = HeaderUser;
|
|
9
|
+
export type RootLayoutHeader = HeaderConfig;
|
|
10
|
+
export interface RootLayoutProps {
|
|
11
|
+
/** Brand logo at the top of the sidebar card — pass an `<img>`, an `<Icon>`, or any node. */
|
|
12
|
+
logo?: ReactNode;
|
|
13
|
+
/** Optional content pinned to the **bottom of the sidebar** (e.g. a promo / "Need help?" card). */
|
|
14
|
+
sidebarFooter?: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Header config for **this** shell — merged **over** the app-wide `config.header` (the prop wins).
|
|
17
|
+
* Fields: the built-in `theme` / `search` / `settings` / `languages` toggles (default `true`),
|
|
18
|
+
* `fullscreen` (default `false`), `breadcrumbs` (default `true`), `pageTitle` (default `true`), and the
|
|
19
|
+
* account (`onLogout` / `user`).
|
|
20
|
+
*/
|
|
21
|
+
header?: RootLayoutHeader;
|
|
22
|
+
/**
|
|
23
|
+
* The built-in toast viewport, mounted for you so `toast.*()` works app-wide with no extra setup.
|
|
24
|
+
* Defaults to `true` (a `<Toaster>` with its defaults). Pass `ToasterProps` to configure it
|
|
25
|
+
* (`{ position, duration }`), or `false` to opt out — e.g. when you mount your own `<Toaster>`.
|
|
26
|
+
*/
|
|
27
|
+
toaster?: boolean | ToasterProps;
|
|
28
|
+
/** Routed content — the consumer passes `<Outlet />`. */
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The admin-panel shell — a **floating** layout: the whole app sits on a soft `--tz-color-background`
|
|
33
|
+
* canvas, with a rounded, elevated `--tz-color-surface` **sidebar card** (`logo` + auto-generated `Sidebar` + an optional
|
|
34
|
+
* `sidebarFooter`) beside the header + content. Set it as the root route's component and pass
|
|
35
|
+
* `<Outlet />` as `children`; the `Sidebar` builds itself from the routes' `staticData`. The header
|
|
36
|
+
* holds an optional `ThemeToggle` (on by default), a **Settings** button (opens a right-side drawer to
|
|
37
|
+
* pick + persist the `accent` color), plus an account `Avatar` whose menu has a **Sign out** item when
|
|
38
|
+
* `header.onLogout` is given. The content area stacks
|
|
39
|
+
* **`Breadcrumbs` → the page title (the active route's `staticData.name`) → `children`**; pages wrap
|
|
40
|
+
* their own body in `PageLayout`. Set `header.pageTitle = false` to drop the auto `h2` when pages
|
|
41
|
+
* carry their own heading inside their `PageLayout` header. A `<Toaster>` is **mounted by default** so
|
|
42
|
+
* `toast.*()` works app-wide with no extra setup (configure via `toaster`, or `toaster={false}` to opt
|
|
43
|
+
* out). Styling is token-based, so it follows the active `ConfigProvider` mode. Requires
|
|
44
|
+
* `@tanstack/react-router` (peer).
|
|
45
|
+
*/
|
|
46
|
+
export declare function RootLayout({ logo, sidebarFooter, header, toaster, children, }: RootLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface SettingsDrawerProps {
|
|
2
|
+
/** Whether the drawer is open. */
|
|
3
|
+
open: boolean;
|
|
4
|
+
/** Close handler. */
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
/** Show the light/dark **Theme** section (gated by the shell's `header.theme`, the same flag as the header toggle). */
|
|
7
|
+
showTheme?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The header user-menu **Settings** drawer (a right-side `Modal`), top to bottom: a **Theme** section — an
|
|
11
|
+
* exclusive `ChoiceCardGroup` (**Light** / **Dark** cards) driving `useTheme().setMode`, shown only when
|
|
12
|
+
* **`showTheme`** (the shell's `header.theme`, so the header toggle + this section appear/disappear
|
|
13
|
+
* together); **Accent Color** — **two `SwatchPicker`s** (Light + Dark) so both accents are chosen
|
|
14
|
+
* independently, each with a per-mode set (deeper tones for light, brighter for dark), calling
|
|
15
|
+
* `setAccentColor(color, mode)` and persisting it — each list leads with the provider's default for that
|
|
16
|
+
* mode (`defaultAccentColors[mode]`), selected when there's no override (picking it clears the override).
|
|
17
|
+
* When `showTheme` is off the panel is locked to one mode, so **only the active mode's accent picker**
|
|
18
|
+
* shows (the other is pointless without a theme switch);
|
|
19
|
+
* a **Font** section (a searchable `Select` — Inter preset + type any Google Font — driving
|
|
20
|
+
* `setFontFamily`); and a **Header** section (an exclusive `ChoiceCardGroup` **Scrollable** / **Fixed**
|
|
21
|
+
* driving `setHeaderSticky`). Internal to the admin shell — not a public export.
|
|
22
|
+
*/
|
|
23
|
+
export declare function SettingsDrawer({ open, onClose, showTheme }: SettingsDrawerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface SettingsDrawerProps {
|
|
2
|
+
/** Whether the drawer is open. */
|
|
3
|
+
open: boolean;
|
|
4
|
+
/** Close handler. */
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
/** Show the light/dark **Theme** section (gated by the shell's `header.theme`, the same flag as the header toggle). */
|
|
7
|
+
showTheme?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The header user-menu **Settings** drawer (a right-side `Modal`), top to bottom: a **Theme** section — an
|
|
11
|
+
* exclusive `ChoiceCardGroup` (**Light** / **Dark** cards) driving `useTheme().setMode`, shown only when
|
|
12
|
+
* **`showTheme`** (the shell's `header.theme`, so the header toggle + this section appear/disappear
|
|
13
|
+
* together); **Accent Color** — **two `SwatchPicker`s** (Light + Dark) so both accents are chosen
|
|
14
|
+
* independently, each with a per-mode set (deeper tones for light, brighter for dark), calling
|
|
15
|
+
* `setAccentColor(color, mode)` and persisting it — each list leads with the provider's default for that
|
|
16
|
+
* mode (`defaultAccentColors[mode]`), selected when there's no override (picking it clears the override).
|
|
17
|
+
* When `showTheme` is off the panel is locked to one mode, so **only the active mode's accent picker**
|
|
18
|
+
* shows (the other is pointless without a theme switch);
|
|
19
|
+
* a **Font** section (a searchable `Select` — Inter preset + type any Google Font — driving
|
|
20
|
+
* `setFontFamily`); and a **Header** section (an exclusive `ChoiceCardGroup` **Scrollable** / **Fixed**
|
|
21
|
+
* driving `setHeaderSticky`). Internal to the admin shell — not a public export.
|
|
22
|
+
*/
|
|
23
|
+
export declare function SettingsDrawer({ open, onClose, showTheme }: SettingsDrawerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -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,85 @@
|
|
|
1
|
+
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
|
+
import { type IconName } from '../../icons/names';
|
|
3
|
+
export type SelectSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
/** A single selectable option. */
|
|
5
|
+
export interface SelectOption {
|
|
6
|
+
/** The value committed when this option is chosen. */
|
|
7
|
+
value: string;
|
|
8
|
+
/** Display + search text. */
|
|
9
|
+
label: string;
|
|
10
|
+
/** Greys out and blocks selecting this option. */
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/** Leading icon — a known `IconName` (rendered as `<Icon>`) or any node. */
|
|
13
|
+
icon?: IconName | ReactNode;
|
|
14
|
+
}
|
|
15
|
+
export interface SelectProps {
|
|
16
|
+
/** Label rendered above the field. */
|
|
17
|
+
label?: ReactNode;
|
|
18
|
+
/** The selectable options. */
|
|
19
|
+
options: SelectOption[];
|
|
20
|
+
/** Preset size — control height, font and option density. */
|
|
21
|
+
size?: SelectSize;
|
|
22
|
+
/** Marks the field invalid: red border/ring + the `helperText` in the error color. */
|
|
23
|
+
error?: boolean;
|
|
24
|
+
/** Helper / validation text under the field. Adopts the error color while `error`. */
|
|
25
|
+
helperText?: ReactNode;
|
|
26
|
+
/** Adds a red asterisk after the label. */
|
|
27
|
+
required?: boolean;
|
|
28
|
+
/** Stretches the field to fill its container width. Defaults to `true`. */
|
|
29
|
+
fullWidth?: boolean;
|
|
30
|
+
/** Disables the field. */
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
/** Controlled value — the chosen option's `value` (`''` = nothing selected). */
|
|
33
|
+
value?: string;
|
|
34
|
+
/** Initial value for uncontrolled use. */
|
|
35
|
+
defaultValue?: string;
|
|
36
|
+
/** Fires with the next value (`''` when cleared). */
|
|
37
|
+
onChange?: (value: string) => void;
|
|
38
|
+
/** Text shown in the trigger when nothing is selected. Defaults to `"Select…"`. */
|
|
39
|
+
placeholder?: string;
|
|
40
|
+
/** Shows a clear (×) button in the trigger when a value is set. Defaults to `true`. */
|
|
41
|
+
clearable?: boolean;
|
|
42
|
+
/** Adds a search box inside the popover that filters options by label. */
|
|
43
|
+
searchable?: boolean;
|
|
44
|
+
/** Placeholder for the search box. Defaults to `"Search…"`. */
|
|
45
|
+
searchPlaceholder?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Fires with the search query as the user types. **Providing this switches off the built-in
|
|
48
|
+
* local filtering** — you own `options` (e.g. fetch them from a server for the current query).
|
|
49
|
+
*/
|
|
50
|
+
onSearchChange?: (query: string) => void;
|
|
51
|
+
/** Shows a loading indicator in the popover (e.g. while fetching server-side search results). */
|
|
52
|
+
loading?: boolean;
|
|
53
|
+
/** Text shown next to the loader while `loading`. Defaults to `"Loading…"`. */
|
|
54
|
+
loadingText?: ReactNode;
|
|
55
|
+
/**
|
|
56
|
+
* Shown in the popover when no option matches. Defaults to `"No options"`. Pass a function
|
|
57
|
+
* `(query) => node` to vary the message by the current search text — e.g. a "Type to search" hint
|
|
58
|
+
* while it's empty vs a "No results" message after typing.
|
|
59
|
+
*/
|
|
60
|
+
noOptionsText?: ReactNode | ((query: string) => ReactNode);
|
|
61
|
+
/** Show the trailing tick on the selected option. Defaults to `true` (the row still gets its tint). */
|
|
62
|
+
showSelectedTick?: boolean;
|
|
63
|
+
/** Form field name — auto-binds to a surrounding `<Form>` (value is the option's `value`). */
|
|
64
|
+
name?: string;
|
|
65
|
+
/** Id for the trigger (label association). */
|
|
66
|
+
id?: string;
|
|
67
|
+
className?: string;
|
|
68
|
+
style?: CSSProperties;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* A labeled single-select. The trigger reuses TextField-style chrome (label, helper/error, sizes,
|
|
72
|
+
* `required`, `fullWidth`, `disabled`); clicking it opens a `Dropdown`-style popover — portaled to
|
|
73
|
+
* `<body>`, opening below (flipping above only when it would overflow), locking page scroll,
|
|
74
|
+
* re-positioning on scroll/resize, matching the trigger width, and entering with the shared
|
|
75
|
+
* opacity + translate animation. Options render as `ListItem`s in a `role="listbox"`; the chosen
|
|
76
|
+
* option is highlighted with a tick, disabled options are inert. Full keyboard support
|
|
77
|
+
* (Arrow/Home/End to move, Enter/Space to select, Escape to close, type-ahead) and ARIA
|
|
78
|
+
* (`listbox`/`option`, `aria-activedescendant`, `aria-expanded`). Optionally `searchable` (a filter
|
|
79
|
+
* box) and `clearable` (a × to reset); pass `onSearchChange` to drive the search **server-side** (the
|
|
80
|
+
* consumer owns `options` for the current query — local filtering is skipped) with a `loading`
|
|
81
|
+
* indicator. Controlled (`value` + `onChange`) or uncontrolled
|
|
82
|
+
* (`defaultValue`), and binds to a surrounding `<Form>` by `name` (value = the option's `value`;
|
|
83
|
+
* validate with e.g. `z.string().min(1, 'Required')`). Token-only styling.
|
|
84
|
+
*/
|
|
85
|
+
export declare const Select: import("react").ForwardRefExoticComponent<SelectProps & import("react").RefAttributes<HTMLDivElement>>;
|