@bricks-toolkit/toolkit 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -9
- package/dist/avatar/index.cjs +11 -1
- package/dist/avatar/index.mjs +2 -1
- package/dist/badge/index.cjs +11 -1
- package/dist/badge/index.mjs +2 -1
- package/dist/breadcrumbs/index.cjs +11 -1
- package/dist/breadcrumbs/index.mjs +2 -1
- package/dist/button/index.cjs +13 -2
- package/dist/button/index.mjs +4 -2
- package/dist/card/index.cjs +31 -1
- package/dist/card/index.mjs +2 -1
- package/dist/checkbox/index.cjs +11 -1
- package/dist/checkbox/index.mjs +2 -1
- package/dist/chunk-2POU3NX4.mjs +192 -0
- package/dist/chunk-32SKYPQW.mjs +156 -0
- package/dist/chunk-3IPWW66F.cjs +205 -0
- package/dist/chunk-446OJWC6.mjs +285 -0
- package/dist/chunk-4DA7CRNV.mjs +376 -0
- package/dist/chunk-4DR57X7U.mjs +182 -0
- package/dist/chunk-4QSDPHPI.mjs +285 -0
- package/dist/chunk-56ILK7Y4.cjs +315 -0
- package/dist/chunk-5J3OMAO4.cjs +222 -0
- package/dist/chunk-5RKET2JO.cjs +287 -0
- package/dist/chunk-65UZC3FK.mjs +312 -0
- package/dist/chunk-6CC5KIA5.cjs +148 -0
- package/dist/chunk-6R3OYBQ6.cjs +209 -0
- package/dist/chunk-6UO72EJA.cjs +2 -0
- package/dist/chunk-6ZCY4O5M.mjs +63 -0
- package/dist/chunk-7364SUK6.mjs +359 -0
- package/dist/chunk-7DDDQ3RH.cjs +66 -0
- package/dist/chunk-7PDGAIC3.cjs +189 -0
- package/dist/chunk-7R5JRJ2W.cjs +255 -0
- package/dist/chunk-7WNJ7L4Z.mjs +335 -0
- package/dist/chunk-AJXVELXK.cjs +218 -0
- package/dist/chunk-ARTXRQO6.mjs +1 -0
- package/dist/chunk-B4OV5GRT.cjs +510 -0
- package/dist/chunk-B5MYGYJY.mjs +122 -0
- package/dist/chunk-BBVWG5GH.cjs +75 -0
- package/dist/chunk-BVBCAAES.mjs +35 -0
- package/dist/chunk-CBA54EY4.mjs +508 -0
- package/dist/chunk-CMER5LO3.mjs +330 -0
- package/dist/chunk-DHC5LI2P.cjs +338 -0
- package/dist/chunk-DMLPA65B.mjs +107 -0
- package/dist/chunk-DN2GFJF4.mjs +175 -0
- package/dist/chunk-ECLNLPOR.cjs +70 -0
- package/dist/chunk-H77YWN3L.mjs +220 -0
- package/dist/chunk-HIWJDLIS.cjs +124 -0
- package/dist/chunk-HQGDSOSN.mjs +274 -0
- package/dist/chunk-IC4HGEI6.cjs +38 -0
- package/dist/chunk-JKPNJ4PZ.mjs +313 -0
- package/dist/chunk-JV6AWBN5.mjs +113 -0
- package/dist/chunk-K3IJEZ4S.mjs +203 -0
- package/dist/chunk-KA35BV7V.mjs +207 -0
- package/dist/chunk-KH6LV7IS.mjs +36 -0
- package/dist/chunk-KLBABQEJ.cjs +378 -0
- package/dist/chunk-L5VQZZVR.cjs +3197 -0
- package/dist/chunk-LTG6YP5I.cjs +69 -0
- package/dist/chunk-MVUNJPGH.cjs +184 -0
- package/dist/chunk-NMJ5CVZH.cjs +2 -0
- package/dist/chunk-NRCNRHXL.cjs +109 -0
- package/dist/chunk-NRZIXK35.cjs +276 -0
- package/dist/chunk-OCPFOFJ4.mjs +3195 -0
- package/dist/chunk-OEU5VG3D.cjs +362 -0
- package/dist/chunk-OPOCCRJG.cjs +193 -0
- package/dist/chunk-OQPCL5XX.mjs +187 -0
- package/dist/chunk-PCYGJNEQ.cjs +280 -0
- package/dist/chunk-PJH2KEWK.mjs +200 -0
- package/dist/chunk-PJWELBN2.cjs +115 -0
- package/dist/chunk-Q3IFXFFD.cjs +202 -0
- package/dist/chunk-R72GDCWE.cjs +314 -0
- package/dist/chunk-RAD5VJHR.mjs +146 -0
- package/dist/chunk-RYWDZHKG.mjs +274 -0
- package/dist/chunk-S7VEND5Z.cjs +162 -0
- package/dist/chunk-SBNNV6FE.mjs +1 -0
- package/dist/chunk-SFUOCZJY.mjs +187 -0
- package/dist/chunk-SHQ2MPBE.mjs +73 -0
- package/dist/chunk-TIVSMCXZ.mjs +253 -0
- package/dist/chunk-TNGW5YHA.cjs +37 -0
- package/dist/chunk-VC7MOPU6.cjs +287 -0
- package/dist/chunk-VHVFRWF5.mjs +64 -0
- package/dist/chunk-VKQDW7C2.mjs +336 -0
- package/dist/chunk-VRZFAKSV.cjs +177 -0
- package/dist/chunk-W2ZAPLQH.cjs +337 -0
- package/dist/chunk-XFNRKHHF.cjs +332 -0
- package/dist/chunk-Y3NTKFUE.mjs +66 -0
- package/dist/chunk-YMMNWJT6.cjs +134 -0
- package/dist/chunk-YOTCXSXL.mjs +132 -0
- package/dist/combo-box/index.cjs +11 -1
- package/dist/combo-box/index.mjs +2 -1
- package/dist/date-picker/index.cjs +11 -2
- package/dist/date-picker/index.mjs +2 -2
- package/dist/dialog/index.cjs +27 -1
- package/dist/dialog/index.mjs +2 -1
- package/dist/dropdown-menu/index.cjs +27 -1
- package/dist/dropdown-menu/index.mjs +2 -1
- package/dist/email/index.cjs +11 -2
- package/dist/email/index.mjs +2 -2
- package/dist/file-upload/index.cjs +11 -1
- package/dist/file-upload/index.mjs +2 -1
- package/dist/header/index.cjs +11 -2
- package/dist/header/index.mjs +2 -2
- package/dist/icon-button/index.cjs +13 -2
- package/dist/icon-button/index.mjs +4 -2
- package/dist/image/index.cjs +12 -1
- package/dist/image/index.mjs +3 -1
- package/dist/index.cjs +839 -2
- package/dist/index.mjs +601 -2
- package/dist/link/index.cjs +11 -1
- package/dist/link/index.mjs +2 -1
- package/dist/loader/index.cjs +11 -2
- package/dist/loader/index.mjs +2 -2
- package/dist/modal/index.cjs +27 -1
- package/dist/modal/index.mjs +2 -1
- package/dist/multi-select/index.cjs +11 -2
- package/dist/multi-select/index.mjs +2 -2
- package/dist/otp-input/index.cjs +11 -1
- package/dist/otp-input/index.mjs +2 -1
- package/dist/password-input/index.cjs +11 -2
- package/dist/password-input/index.mjs +2 -2
- package/dist/phone/index.cjs +11 -2
- package/dist/phone/index.mjs +2 -2
- package/dist/radio-button/index.cjs +11 -1
- package/dist/radio-button/index.mjs +2 -1
- package/dist/search-input/index.cjs +12 -2
- package/dist/search-input/index.mjs +3 -2
- package/dist/select/index.cjs +11 -2
- package/dist/select/index.mjs +2 -2
- package/dist/sidebar/index.cjs +11 -1
- package/dist/sidebar/index.mjs +2 -1
- package/dist/skeleton/index.cjs +27 -1
- package/dist/skeleton/index.mjs +2 -1
- package/dist/styles.css +5069 -1
- package/dist/table/index.cjs +15 -1
- package/dist/table/index.mjs +2 -1
- package/dist/tabs/index.cjs +14 -2
- package/dist/tabs/index.mjs +5 -2
- package/dist/text-input/index.cjs +11 -2
- package/dist/text-input/index.mjs +2 -2
- package/dist/theme-provider/index.cjs +14 -1
- package/dist/theme-provider/index.mjs +1 -1
- package/dist/time-picker/index.cjs +11 -2
- package/dist/time-picker/index.mjs +2 -2
- package/dist/toaster/index.cjs +11 -1
- package/dist/toaster/index.mjs +2 -1
- package/dist/tooltip/index.cjs +12 -1
- package/dist/tooltip/index.mjs +3 -1
- package/package.json +105 -123
- package/dist/Button.types-BsQYqZml.d.ts +0 -27
- package/dist/Button.types-D-srlWFf.d.mts +0 -27
- package/dist/TextInput.types-DRI8HQza.d.mts +0 -32
- package/dist/TextInput.types-DRI8HQza.d.ts +0 -32
- package/dist/Tooltip.types-PbUasE3C.d.mts +0 -36
- package/dist/Tooltip.types-PbUasE3C.d.ts +0 -36
- package/dist/avatar/index.d.mts +0 -29
- package/dist/avatar/index.d.ts +0 -29
- package/dist/badge/index.d.mts +0 -57
- package/dist/badge/index.d.ts +0 -57
- package/dist/breadcrumbs/index.d.mts +0 -32
- package/dist/breadcrumbs/index.d.ts +0 -32
- package/dist/button/index.d.mts +0 -8
- package/dist/button/index.d.ts +0 -8
- package/dist/card/index.d.mts +0 -42
- package/dist/card/index.d.ts +0 -42
- package/dist/checkbox/index.d.mts +0 -36
- package/dist/checkbox/index.d.ts +0 -36
- package/dist/combo-box/index.d.mts +0 -62
- package/dist/combo-box/index.d.ts +0 -62
- package/dist/components/Accordion/Accordion.d.ts +0 -5
- package/dist/components/Accordion/Accordion.types.d.ts +0 -32
- package/dist/components/Accordion/index.d.ts +0 -2
- package/dist/components/Avatar/Avatar.d.ts +0 -2
- package/dist/components/Avatar/Avatar.stories.d.ts +0 -11
- package/dist/components/Avatar/Avatar.test.d.ts +0 -1
- package/dist/components/Avatar/Avatar.types.d.ts +0 -24
- package/dist/components/Avatar/index.d.ts +0 -2
- package/dist/components/Badge/Badge.d.ts +0 -11
- package/dist/components/Badge/Badge.stories.d.ts +0 -21
- package/dist/components/Badge/Badge.test.d.ts +0 -1
- package/dist/components/Badge/Badge.types.d.ts +0 -43
- package/dist/components/Badge/index.d.ts +0 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -13
- package/dist/components/Breadcrumbs/Breadcrumbs.test.d.ts +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -27
- package/dist/components/Breadcrumbs/index.d.ts +0 -2
- package/dist/components/Button/Button.d.ts +0 -2
- package/dist/components/Button/Button.stories.d.ts +0 -20
- package/dist/components/Button/Button.test.d.ts +0 -1
- package/dist/components/Button/Button.types.d.ts +0 -24
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Card/Card.d.ts +0 -25
- package/dist/components/Card/Card.stories.d.ts +0 -8
- package/dist/components/Card/Card.test.d.ts +0 -1
- package/dist/components/Card/Card.types.d.ts +0 -14
- package/dist/components/Card/index.d.ts +0 -2
- package/dist/components/Checkbox/Checkbox.d.ts +0 -2
- package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -16
- package/dist/components/Checkbox/Checkbox.test.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.types.d.ts +0 -31
- package/dist/components/Checkbox/index.d.ts +0 -2
- package/dist/components/ComboBox/ComboBox.d.ts +0 -2
- package/dist/components/ComboBox/ComboBox.stories.d.ts +0 -12
- package/dist/components/ComboBox/ComboBox.test.d.ts +0 -1
- package/dist/components/ComboBox/ComboBox.types.d.ts +0 -57
- package/dist/components/ComboBox/index.d.ts +0 -2
- package/dist/components/DatePicker/DatePicker.d.ts +0 -2
- package/dist/components/DatePicker/DatePicker.stories.d.ts +0 -25
- package/dist/components/DatePicker/DatePicker.test.d.ts +0 -1
- package/dist/components/DatePicker/DatePicker.types.d.ts +0 -27
- package/dist/components/DatePicker/index.d.ts +0 -2
- package/dist/components/Dialog/Dialog.d.ts +0 -6
- package/dist/components/Dialog/Dialog.stories.d.ts +0 -9
- package/dist/components/Dialog/Dialog.test.d.ts +0 -1
- package/dist/components/Dialog/Dialog.types.d.ts +0 -52
- package/dist/components/Dialog/index.d.ts +0 -2
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +0 -7
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +0 -9
- package/dist/components/DropdownMenu/DropdownMenu.test.d.ts +0 -1
- package/dist/components/DropdownMenu/DropdownMenu.types.d.ts +0 -24
- package/dist/components/DropdownMenu/index.d.ts +0 -2
- package/dist/components/Email/Email.d.ts +0 -2
- package/dist/components/Email/Email.stories.d.ts +0 -11
- package/dist/components/Email/Email.test.d.ts +0 -1
- package/dist/components/Email/Email.types.d.ts +0 -33
- package/dist/components/Email/index.d.ts +0 -2
- package/dist/components/FileUpload/FileUpload.d.ts +0 -2
- package/dist/components/FileUpload/FileUpload.stories.d.ts +0 -10
- package/dist/components/FileUpload/FileUpload.test.d.ts +0 -1
- package/dist/components/FileUpload/FileUpload.types.d.ts +0 -22
- package/dist/components/FileUpload/index.d.ts +0 -2
- package/dist/components/Header/Header.d.ts +0 -7
- package/dist/components/Header/Header.stories.d.ts +0 -8
- package/dist/components/Header/Header.test.d.ts +0 -1
- package/dist/components/Header/Header.types.d.ts +0 -19
- package/dist/components/Header/index.d.ts +0 -2
- package/dist/components/IconButton/IconButton.d.ts +0 -2
- package/dist/components/IconButton/IconButton.stories.d.ts +0 -17
- package/dist/components/IconButton/IconButton.types.d.ts +0 -10
- package/dist/components/IconButton/index.d.ts +0 -2
- package/dist/components/Image/Image.d.ts +0 -6
- package/dist/components/Image/Image.stories.d.ts +0 -13
- package/dist/components/Image/Image.test.d.ts +0 -1
- package/dist/components/Image/Image.types.d.ts +0 -40
- package/dist/components/Image/index.d.ts +0 -2
- package/dist/components/Link/Link.d.ts +0 -2
- package/dist/components/Link/Link.stories.d.ts +0 -15
- package/dist/components/Link/Link.test.d.ts +0 -1
- package/dist/components/Link/Link.types.d.ts +0 -20
- package/dist/components/Link/index.d.ts +0 -2
- package/dist/components/Loader/Loader.d.ts +0 -2
- package/dist/components/Loader/Loader.stories.d.ts +0 -12
- package/dist/components/Loader/Loader.test.d.ts +0 -1
- package/dist/components/Loader/Loader.types.d.ts +0 -17
- package/dist/components/Loader/index.d.ts +0 -2
- package/dist/components/Modal/Modal.d.ts +0 -14
- package/dist/components/Modal/Modal.stories.d.ts +0 -14
- package/dist/components/Modal/Modal.test.d.ts +0 -1
- package/dist/components/Modal/Modal.types.d.ts +0 -100
- package/dist/components/Modal/index.d.ts +0 -2
- package/dist/components/MultiSelect/MultiSelect.d.ts +0 -2
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts +0 -15
- package/dist/components/MultiSelect/MultiSelect.test.d.ts +0 -1
- package/dist/components/MultiSelect/MultiSelect.types.d.ts +0 -55
- package/dist/components/MultiSelect/index.d.ts +0 -2
- package/dist/components/OtpInput/OtpInput.d.ts +0 -2
- package/dist/components/OtpInput/OtpInput.stories.d.ts +0 -10
- package/dist/components/OtpInput/OtpInput.test.d.ts +0 -1
- package/dist/components/OtpInput/OtpInput.types.d.ts +0 -53
- package/dist/components/OtpInput/index.d.ts +0 -2
- package/dist/components/PasswordInput/PasswordInput.d.ts +0 -2
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts +0 -23
- package/dist/components/PasswordInput/PasswordInput.test.d.ts +0 -1
- package/dist/components/PasswordInput/PasswordInput.types.d.ts +0 -27
- package/dist/components/PasswordInput/index.d.ts +0 -2
- package/dist/components/Phone/Phone.d.ts +0 -2
- package/dist/components/Phone/Phone.stories.d.ts +0 -11
- package/dist/components/Phone/Phone.test.d.ts +0 -1
- package/dist/components/Phone/Phone.types.d.ts +0 -36
- package/dist/components/Phone/countries.d.ts +0 -8
- package/dist/components/Phone/index.d.ts +0 -2
- package/dist/components/RadioButton/RadioButton.d.ts +0 -2
- package/dist/components/RadioButton/RadioButton.stories.d.ts +0 -21
- package/dist/components/RadioButton/RadioButton.test.d.ts +0 -1
- package/dist/components/RadioButton/RadioButton.types.d.ts +0 -51
- package/dist/components/RadioButton/index.d.ts +0 -2
- package/dist/components/SearchInput/SearchInput.d.ts +0 -6
- package/dist/components/SearchInput/SearchInput.stories.d.ts +0 -8
- package/dist/components/SearchInput/SearchInput.test.d.ts +0 -1
- package/dist/components/SearchInput/SearchInput.types.d.ts +0 -12
- package/dist/components/SearchInput/index.d.ts +0 -2
- package/dist/components/Select/Select.d.ts +0 -2
- package/dist/components/Select/Select.stories.d.ts +0 -12
- package/dist/components/Select/Select.test.d.ts +0 -1
- package/dist/components/Select/Select.types.d.ts +0 -31
- package/dist/components/Select/index.d.ts +0 -2
- package/dist/components/Sidebar/Sidebar.d.ts +0 -7
- package/dist/components/Sidebar/Sidebar.stories.d.ts +0 -10
- package/dist/components/Sidebar/Sidebar.test.d.ts +0 -1
- package/dist/components/Sidebar/Sidebar.types.d.ts +0 -87
- package/dist/components/Sidebar/index.d.ts +0 -2
- package/dist/components/Skeleton/Skeleton.d.ts +0 -26
- package/dist/components/Skeleton/Skeleton.stories.d.ts +0 -13
- package/dist/components/Skeleton/Skeleton.types.d.ts +0 -47
- package/dist/components/Skeleton/index.d.ts +0 -2
- package/dist/components/Stepper/Stepper.d.ts +0 -2
- package/dist/components/Stepper/Stepper.stories.d.ts +0 -23
- package/dist/components/Stepper/Stepper.test.d.ts +0 -1
- package/dist/components/Stepper/Stepper.types.d.ts +0 -47
- package/dist/components/Stepper/index.d.ts +0 -2
- package/dist/components/Table/Pagination.d.ts +0 -3
- package/dist/components/Table/Table.d.ts +0 -3
- package/dist/components/Table/Table.stories.d.ts +0 -13
- package/dist/components/Table/Table.test.d.ts +0 -1
- package/dist/components/Table/Table.types.d.ts +0 -85
- package/dist/components/Table/index.d.ts +0 -3
- package/dist/components/Tabs/Tabs.d.ts +0 -2
- package/dist/components/Tabs/Tabs.stories.d.ts +0 -17
- package/dist/components/Tabs/Tabs.test.d.ts +0 -1
- package/dist/components/Tabs/Tabs.types.d.ts +0 -21
- package/dist/components/Tabs/index.d.ts +0 -2
- package/dist/components/TextInput/TextInput.d.ts +0 -2
- package/dist/components/TextInput/TextInput.stories.d.ts +0 -25
- package/dist/components/TextInput/TextInput.test.d.ts +0 -1
- package/dist/components/TextInput/TextInput.types.d.ts +0 -29
- package/dist/components/TextInput/index.d.ts +0 -2
- package/dist/components/ThemeProvider/ThemeProvider.d.ts +0 -8
- package/dist/components/ThemeProvider/ThemeProvider.stories.d.ts +0 -16
- package/dist/components/ThemeProvider/ThemeProvider.test.d.ts +0 -1
- package/dist/components/ThemeProvider/ThemeProvider.types.d.ts +0 -112
- package/dist/components/ThemeProvider/index.d.ts +0 -2
- package/dist/components/TimePicker/TimePicker.d.ts +0 -2
- package/dist/components/TimePicker/TimePicker.stories.d.ts +0 -23
- package/dist/components/TimePicker/TimePicker.test.d.ts +0 -1
- package/dist/components/TimePicker/TimePicker.types.d.ts +0 -27
- package/dist/components/TimePicker/index.d.ts +0 -2
- package/dist/components/Toaster/Toaster.d.ts +0 -2
- package/dist/components/Toaster/Toaster.stories.d.ts +0 -13
- package/dist/components/Toaster/Toaster.test.d.ts +0 -1
- package/dist/components/Toaster/Toaster.types.d.ts +0 -23
- package/dist/components/Toaster/index.d.ts +0 -2
- package/dist/components/Toggle/Toggle.d.ts +0 -2
- package/dist/components/Toggle/Toggle.stories.d.ts +0 -11
- package/dist/components/Toggle/Toggle.types.d.ts +0 -10
- package/dist/components/Toggle/index.d.ts +0 -2
- package/dist/components/Tooltip/Tooltip.d.ts +0 -2
- package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -13
- package/dist/components/Tooltip/Tooltip.test.d.ts +0 -1
- package/dist/components/Tooltip/Tooltip.types.d.ts +0 -33
- package/dist/components/Tooltip/index.d.ts +0 -2
- package/dist/date-picker/index.d.mts +0 -32
- package/dist/date-picker/index.d.ts +0 -32
- package/dist/dialog/index.d.mts +0 -61
- package/dist/dialog/index.d.ts +0 -61
- package/dist/dropdown-menu/index.d.mts +0 -34
- package/dist/dropdown-menu/index.d.ts +0 -34
- package/dist/email/index.d.mts +0 -38
- package/dist/email/index.d.ts +0 -38
- package/dist/file-upload/index.d.mts +0 -27
- package/dist/file-upload/index.d.ts +0 -27
- package/dist/header/index.d.mts +0 -28
- package/dist/header/index.d.ts +0 -28
- package/dist/icon-button/index.d.mts +0 -16
- package/dist/icon-button/index.d.ts +0 -16
- package/dist/image/index.d.mts +0 -48
- package/dist/image/index.d.ts +0 -48
- package/dist/index.d.mts +0 -141
- package/dist/index.d.ts +0 -75
- package/dist/link/index.d.mts +0 -25
- package/dist/link/index.d.ts +0 -25
- package/dist/loader/index.d.mts +0 -21
- package/dist/loader/index.d.ts +0 -21
- package/dist/modal/index.d.mts +0 -116
- package/dist/modal/index.d.ts +0 -116
- package/dist/multi-select/index.d.mts +0 -59
- package/dist/multi-select/index.d.ts +0 -59
- package/dist/otp-input/index.d.mts +0 -57
- package/dist/otp-input/index.d.ts +0 -57
- package/dist/password-input/index.d.mts +0 -32
- package/dist/password-input/index.d.ts +0 -32
- package/dist/phone/index.d.mts +0 -41
- package/dist/phone/index.d.ts +0 -41
- package/dist/radio-button/index.d.mts +0 -56
- package/dist/radio-button/index.d.ts +0 -56
- package/dist/search-input/index.d.mts +0 -22
- package/dist/search-input/index.d.ts +0 -22
- package/dist/select/index.d.mts +0 -36
- package/dist/select/index.d.ts +0 -36
- package/dist/sidebar/index.d.mts +0 -96
- package/dist/sidebar/index.d.ts +0 -96
- package/dist/skeleton/index.d.mts +0 -76
- package/dist/skeleton/index.d.ts +0 -76
- package/dist/styles.d.mts +0 -2
- package/dist/styles.d.ts +0 -2
- package/dist/table/index.d.mts +0 -92
- package/dist/table/index.d.ts +0 -92
- package/dist/tabs/index.d.mts +0 -26
- package/dist/tabs/index.d.ts +0 -26
- package/dist/text-input/index.d.mts +0 -7
- package/dist/text-input/index.d.ts +0 -7
- package/dist/theme-provider/index.d.mts +0 -122
- package/dist/theme-provider/index.d.ts +0 -122
- package/dist/time-picker/index.d.mts +0 -32
- package/dist/time-picker/index.d.ts +0 -32
- package/dist/toaster/index.d.mts +0 -28
- package/dist/toaster/index.d.ts +0 -28
- package/dist/tooltip/index.d.mts +0 -7
- package/dist/tooltip/index.d.ts +0 -7
- package/dist/utils/cn.d.ts +0 -2
- package/dist/utils/index.d.ts +0 -1
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
|
|
4
|
-
type TooltipTrigger = 'hover' | 'click' | 'focus';
|
|
5
|
-
type TooltipSize = 'sm' | 'md' | 'lg';
|
|
6
|
-
type TooltipVariant = 'dark' | 'primary' | 'light';
|
|
7
|
-
interface TooltipProps {
|
|
8
|
-
/** The content shown inside the tooltip bubble. */
|
|
9
|
-
content: ReactNode;
|
|
10
|
-
/** The element the tooltip is anchored to. */
|
|
11
|
-
children?: ReactNode;
|
|
12
|
-
/** Preferred placement relative to the trigger. Defaults to 'top'. */
|
|
13
|
-
placement?: TooltipPlacement;
|
|
14
|
-
/** What interaction opens the tooltip. Defaults to 'hover'. */
|
|
15
|
-
trigger?: TooltipTrigger;
|
|
16
|
-
/** Delay in ms before showing (hover only). Defaults to 0. */
|
|
17
|
-
showDelay?: number;
|
|
18
|
-
/** Delay in ms before hiding (hover only). Defaults to 100. */
|
|
19
|
-
hideDelay?: number;
|
|
20
|
-
/** Size / padding of the tooltip bubble. Defaults to 'md'. */
|
|
21
|
-
size?: TooltipSize;
|
|
22
|
-
/** Visual style of the tooltip bubble. Defaults to 'dark'. */
|
|
23
|
-
variant?: TooltipVariant;
|
|
24
|
-
/** When true the tooltip is always visible (controlled). */
|
|
25
|
-
open?: boolean;
|
|
26
|
-
/** When true the tooltip is disabled and will never show. */
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
/** Max width of the tooltip bubble in px. Defaults to 240. */
|
|
29
|
-
maxWidth?: number;
|
|
30
|
-
/** Additional class for the tooltip bubble. */
|
|
31
|
-
className?: string;
|
|
32
|
-
/** Additional class for the tooltip wrapper span. */
|
|
33
|
-
wrapperClassName?: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export type { TooltipPlacement as T, TooltipProps as a, TooltipSize as b, TooltipTrigger as c, TooltipVariant as d };
|
package/dist/avatar/index.d.mts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ImgHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type AvatarSize = '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
|
|
4
|
-
type AvatarVariant = 'circle' | 'square' | 'rounded';
|
|
5
|
-
type AvatarState = 'default' | 'error' | 'success' | 'warning' | 'offline' | 'online' | 'busy' | 'away';
|
|
6
|
-
interface AvatarProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'size'> {
|
|
7
|
-
/** Size of the avatar */
|
|
8
|
-
size?: AvatarSize;
|
|
9
|
-
/** Shape variant of the avatar */
|
|
10
|
-
variant?: AvatarVariant;
|
|
11
|
-
/** State indicator for the avatar (e.g. online status or validation) */
|
|
12
|
-
state?: AvatarState;
|
|
13
|
-
/** Determines if the state indicator should be a border or a dot (badge). Default is border. */
|
|
14
|
-
stateType?: 'border' | 'badge';
|
|
15
|
-
/** Fallback content when image is not provided or fails to load. Can be initials string or a ReactNode */
|
|
16
|
-
fallback?: ReactNode;
|
|
17
|
-
/** Alt text for the image, also used to generate initials if fallback string is not provided */
|
|
18
|
-
alt?: string;
|
|
19
|
-
/** Image source URL */
|
|
20
|
-
src?: string;
|
|
21
|
-
/** Class name applied to the outer container */
|
|
22
|
-
containerClassName?: string;
|
|
23
|
-
/** Class name applied to the fallback element */
|
|
24
|
-
fallbackClassName?: string;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
-
|
|
29
|
-
export { Avatar, type AvatarProps, type AvatarSize, type AvatarState, type AvatarVariant };
|
package/dist/avatar/index.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ImgHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type AvatarSize = '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
|
|
4
|
-
type AvatarVariant = 'circle' | 'square' | 'rounded';
|
|
5
|
-
type AvatarState = 'default' | 'error' | 'success' | 'warning' | 'offline' | 'online' | 'busy' | 'away';
|
|
6
|
-
interface AvatarProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'size'> {
|
|
7
|
-
/** Size of the avatar */
|
|
8
|
-
size?: AvatarSize;
|
|
9
|
-
/** Shape variant of the avatar */
|
|
10
|
-
variant?: AvatarVariant;
|
|
11
|
-
/** State indicator for the avatar (e.g. online status or validation) */
|
|
12
|
-
state?: AvatarState;
|
|
13
|
-
/** Determines if the state indicator should be a border or a dot (badge). Default is border. */
|
|
14
|
-
stateType?: 'border' | 'badge';
|
|
15
|
-
/** Fallback content when image is not provided or fails to load. Can be initials string or a ReactNode */
|
|
16
|
-
fallback?: ReactNode;
|
|
17
|
-
/** Alt text for the image, also used to generate initials if fallback string is not provided */
|
|
18
|
-
alt?: string;
|
|
19
|
-
/** Image source URL */
|
|
20
|
-
src?: string;
|
|
21
|
-
/** Class name applied to the outer container */
|
|
22
|
-
containerClassName?: string;
|
|
23
|
-
/** Class name applied to the fallback element */
|
|
24
|
-
fallbackClassName?: string;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
-
|
|
29
|
-
export { Avatar, type AvatarProps, type AvatarSize, type AvatarState, type AvatarVariant };
|
package/dist/badge/index.d.mts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { ReactNode, ElementType } from 'react';
|
|
2
|
-
|
|
3
|
-
/** Visual style of the badge. */
|
|
4
|
-
type BadgeVariant = 'solid' | 'soft' | 'outline' | 'dot' | 'gradient';
|
|
5
|
-
/** Color palette for the badge. */
|
|
6
|
-
type BadgeColor = 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info' | 'accent' | 'gray' | 'blue' | 'green' | 'red' | 'yellow' | 'purple' | 'pink' | 'orange' | 'cyan' | 'teal' | 'indigo';
|
|
7
|
-
/** Size token for the badge. */
|
|
8
|
-
type BadgeSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
9
|
-
/** Border-radius shape. */
|
|
10
|
-
type BadgeShape = 'rounded' | 'pill' | 'square';
|
|
11
|
-
interface BadgeProps {
|
|
12
|
-
/** Text or content inside the badge. */
|
|
13
|
-
children?: ReactNode;
|
|
14
|
-
/** Visual style. Defaults to `'soft'`. */
|
|
15
|
-
variant?: BadgeVariant;
|
|
16
|
-
/** Color scheme. Defaults to `'blue'`. */
|
|
17
|
-
color?: BadgeColor;
|
|
18
|
-
/** Size. Defaults to `'md'`. */
|
|
19
|
-
size?: BadgeSize;
|
|
20
|
-
/** Border-radius shape. Defaults to `'pill'`. */
|
|
21
|
-
shape?: BadgeShape;
|
|
22
|
-
/** Optional icon rendered before the label. */
|
|
23
|
-
icon?: ReactNode;
|
|
24
|
-
/** Optional icon rendered after the label (before the remove button). */
|
|
25
|
-
trailingIcon?: ReactNode;
|
|
26
|
-
/** When provided, renders a remove (×) button and calls this on click. */
|
|
27
|
-
onRemove?: () => void;
|
|
28
|
-
/** Adds a pulsing animation to the dot indicator (only works with `variant="dot"`). */
|
|
29
|
-
pulse?: boolean;
|
|
30
|
-
/** Renders a numeric count instead of (or alongside) children. When > maxCount, shows `{maxCount}+`. */
|
|
31
|
-
count?: number;
|
|
32
|
-
/** Maximum count before the overflow label is shown. Defaults to 99. */
|
|
33
|
-
maxCount?: number;
|
|
34
|
-
/** Uppercases the badge text. */
|
|
35
|
-
uppercase?: boolean;
|
|
36
|
-
/** Adds a soft letter-spacing for label readability. */
|
|
37
|
-
tracking?: boolean;
|
|
38
|
-
/** Polymorphic element override (e.g. `'a'`, `'button'`, `'li'`). Defaults to `'span'`. */
|
|
39
|
-
as?: ElementType;
|
|
40
|
-
/** Additional class name. */
|
|
41
|
-
className?: string;
|
|
42
|
-
/** Any other HTML / element props (e.g. `href`, `onClick`, `aria-*`). */
|
|
43
|
-
[key: string]: unknown;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* `Badge` — a highly composable inline label component.
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* <Badge color="green" variant="soft">Active</Badge>
|
|
51
|
-
* <Badge color="red" variant="gradient" size="lg" shape="rounded">Critical</Badge>
|
|
52
|
-
* <Badge color="blue" variant="dot" pulse>Live</Badge>
|
|
53
|
-
* <Badge count={42} color="red" variant="solid" shape="pill" />
|
|
54
|
-
*/
|
|
55
|
-
declare function Badge({ children, variant, color, size, shape, icon, trailingIcon, onRemove, pulse, count, maxCount, uppercase, tracking, as: Tag, className, ...rest }: BadgeProps): React.JSX.Element;
|
|
56
|
-
|
|
57
|
-
export { Badge, type BadgeColor, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant };
|
package/dist/badge/index.d.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { ReactNode, ElementType } from 'react';
|
|
2
|
-
|
|
3
|
-
/** Visual style of the badge. */
|
|
4
|
-
type BadgeVariant = 'solid' | 'soft' | 'outline' | 'dot' | 'gradient';
|
|
5
|
-
/** Color palette for the badge. */
|
|
6
|
-
type BadgeColor = 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info' | 'accent' | 'gray' | 'blue' | 'green' | 'red' | 'yellow' | 'purple' | 'pink' | 'orange' | 'cyan' | 'teal' | 'indigo';
|
|
7
|
-
/** Size token for the badge. */
|
|
8
|
-
type BadgeSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
9
|
-
/** Border-radius shape. */
|
|
10
|
-
type BadgeShape = 'rounded' | 'pill' | 'square';
|
|
11
|
-
interface BadgeProps {
|
|
12
|
-
/** Text or content inside the badge. */
|
|
13
|
-
children?: ReactNode;
|
|
14
|
-
/** Visual style. Defaults to `'soft'`. */
|
|
15
|
-
variant?: BadgeVariant;
|
|
16
|
-
/** Color scheme. Defaults to `'blue'`. */
|
|
17
|
-
color?: BadgeColor;
|
|
18
|
-
/** Size. Defaults to `'md'`. */
|
|
19
|
-
size?: BadgeSize;
|
|
20
|
-
/** Border-radius shape. Defaults to `'pill'`. */
|
|
21
|
-
shape?: BadgeShape;
|
|
22
|
-
/** Optional icon rendered before the label. */
|
|
23
|
-
icon?: ReactNode;
|
|
24
|
-
/** Optional icon rendered after the label (before the remove button). */
|
|
25
|
-
trailingIcon?: ReactNode;
|
|
26
|
-
/** When provided, renders a remove (×) button and calls this on click. */
|
|
27
|
-
onRemove?: () => void;
|
|
28
|
-
/** Adds a pulsing animation to the dot indicator (only works with `variant="dot"`). */
|
|
29
|
-
pulse?: boolean;
|
|
30
|
-
/** Renders a numeric count instead of (or alongside) children. When > maxCount, shows `{maxCount}+`. */
|
|
31
|
-
count?: number;
|
|
32
|
-
/** Maximum count before the overflow label is shown. Defaults to 99. */
|
|
33
|
-
maxCount?: number;
|
|
34
|
-
/** Uppercases the badge text. */
|
|
35
|
-
uppercase?: boolean;
|
|
36
|
-
/** Adds a soft letter-spacing for label readability. */
|
|
37
|
-
tracking?: boolean;
|
|
38
|
-
/** Polymorphic element override (e.g. `'a'`, `'button'`, `'li'`). Defaults to `'span'`. */
|
|
39
|
-
as?: ElementType;
|
|
40
|
-
/** Additional class name. */
|
|
41
|
-
className?: string;
|
|
42
|
-
/** Any other HTML / element props (e.g. `href`, `onClick`, `aria-*`). */
|
|
43
|
-
[key: string]: unknown;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* `Badge` — a highly composable inline label component.
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* <Badge color="green" variant="soft">Active</Badge>
|
|
51
|
-
* <Badge color="red" variant="gradient" size="lg" shape="rounded">Critical</Badge>
|
|
52
|
-
* <Badge color="blue" variant="dot" pulse>Live</Badge>
|
|
53
|
-
* <Badge count={42} color="red" variant="solid" shape="pill" />
|
|
54
|
-
*/
|
|
55
|
-
declare function Badge({ children, variant, color, size, shape, icon, trailingIcon, onRemove, pulse, count, maxCount, uppercase, tracking, as: Tag, className, ...rest }: BadgeProps): React.JSX.Element;
|
|
56
|
-
|
|
57
|
-
export { Badge, type BadgeColor, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ReactNode, ReactElement } from 'react';
|
|
2
|
-
|
|
3
|
-
interface BreadcrumbItem {
|
|
4
|
-
/** The label shown for this crumb. */
|
|
5
|
-
label: ReactNode;
|
|
6
|
-
/** When provided the crumb renders as a link. */
|
|
7
|
-
href?: string;
|
|
8
|
-
/** onClick handler (use instead of href for SPA navigation). */
|
|
9
|
-
onClick?: () => void;
|
|
10
|
-
/** When true the crumb is shown but not clickable. */
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
}
|
|
13
|
-
type BreadcrumbSeparator = 'slash' | 'chevron' | 'dot' | ReactElement;
|
|
14
|
-
type BreadcrumbSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
15
|
-
interface BreadcrumbsProps {
|
|
16
|
-
/** The list of crumb items. The last item is treated as the current page. */
|
|
17
|
-
items: BreadcrumbItem[];
|
|
18
|
-
/** Separator between crumbs. Defaults to 'chevron'. */
|
|
19
|
-
separator?: BreadcrumbSeparator;
|
|
20
|
-
/** Text size. Defaults to 'sm'. */
|
|
21
|
-
size?: BreadcrumbSize;
|
|
22
|
-
/** When true collapses middle items into an ellipsis button. Defaults to false. */
|
|
23
|
-
collapsible?: boolean;
|
|
24
|
-
/** Maximum number of items to show when collapsible=true. Defaults to 4. */
|
|
25
|
-
maxItems?: number;
|
|
26
|
-
/** Additional class for the <nav> wrapper. */
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
declare function Breadcrumbs({ items, separator, size, collapsible, maxItems, className, }: BreadcrumbsProps): React.JSX.Element | null;
|
|
31
|
-
|
|
32
|
-
export { type BreadcrumbItem, type BreadcrumbSeparator, type BreadcrumbSize, Breadcrumbs, type BreadcrumbsProps };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ReactNode, ReactElement } from 'react';
|
|
2
|
-
|
|
3
|
-
interface BreadcrumbItem {
|
|
4
|
-
/** The label shown for this crumb. */
|
|
5
|
-
label: ReactNode;
|
|
6
|
-
/** When provided the crumb renders as a link. */
|
|
7
|
-
href?: string;
|
|
8
|
-
/** onClick handler (use instead of href for SPA navigation). */
|
|
9
|
-
onClick?: () => void;
|
|
10
|
-
/** When true the crumb is shown but not clickable. */
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
}
|
|
13
|
-
type BreadcrumbSeparator = 'slash' | 'chevron' | 'dot' | ReactElement;
|
|
14
|
-
type BreadcrumbSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
15
|
-
interface BreadcrumbsProps {
|
|
16
|
-
/** The list of crumb items. The last item is treated as the current page. */
|
|
17
|
-
items: BreadcrumbItem[];
|
|
18
|
-
/** Separator between crumbs. Defaults to 'chevron'. */
|
|
19
|
-
separator?: BreadcrumbSeparator;
|
|
20
|
-
/** Text size. Defaults to 'sm'. */
|
|
21
|
-
size?: BreadcrumbSize;
|
|
22
|
-
/** When true collapses middle items into an ellipsis button. Defaults to false. */
|
|
23
|
-
collapsible?: boolean;
|
|
24
|
-
/** Maximum number of items to show when collapsible=true. Defaults to 4. */
|
|
25
|
-
maxItems?: number;
|
|
26
|
-
/** Additional class for the <nav> wrapper. */
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
declare function Breadcrumbs({ items, separator, size, collapsible, maxItems, className, }: BreadcrumbsProps): React.JSX.Element | null;
|
|
31
|
-
|
|
32
|
-
export { type BreadcrumbItem, type BreadcrumbSeparator, type BreadcrumbSize, Breadcrumbs, type BreadcrumbsProps };
|
package/dist/button/index.d.mts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { B as ButtonProps } from '../Button.types-D-srlWFf.mjs';
|
|
2
|
-
export { a as ButtonSize, b as ButtonVariant } from '../Button.types-D-srlWFf.mjs';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '../Tooltip.types-PbUasE3C.mjs';
|
|
5
|
-
|
|
6
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
|
|
8
|
-
export { Button, ButtonProps };
|
package/dist/button/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { B as ButtonProps } from '../Button.types-BsQYqZml.js';
|
|
2
|
-
export { a as ButtonSize, b as ButtonVariant } from '../Button.types-BsQYqZml.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '../Tooltip.types-PbUasE3C.js';
|
|
5
|
-
|
|
6
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
|
|
8
|
-
export { Button, ButtonProps };
|
package/dist/card/index.d.mts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
|
|
3
|
-
type CardVariant = 'default' | 'outlined' | 'elevated' | 'filled';
|
|
4
|
-
type CardPadding = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
|
-
interface CardProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
-
/** The overall visual style of the card */
|
|
7
|
-
variant?: CardVariant;
|
|
8
|
-
/** Internal padding scale to apply strictly to the overall wrapper */
|
|
9
|
-
padding?: CardPadding;
|
|
10
|
-
}
|
|
11
|
-
type CardHeaderProps = HTMLAttributes<HTMLDivElement>;
|
|
12
|
-
type CardTitleProps = HTMLAttributes<HTMLHeadingElement>;
|
|
13
|
-
type CardDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
|
|
14
|
-
type CardContentProps = HTMLAttributes<HTMLDivElement>;
|
|
15
|
-
type CardFooterProps = HTMLAttributes<HTMLDivElement>;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Root Card wrapper containing styles, border radiuses, and shadow mappings.
|
|
19
|
-
*/
|
|
20
|
-
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
-
/**
|
|
22
|
-
* Card Header segment, ideal for stacking Titles, actions, and meta data.
|
|
23
|
-
*/
|
|
24
|
-
declare const CardHeader: React.ForwardRefExoticComponent<CardHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
-
/**
|
|
26
|
-
* Semantically native Header 3 representation ensuring text harmony generically.
|
|
27
|
-
*/
|
|
28
|
-
declare const CardTitle: React.ForwardRefExoticComponent<CardTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
29
|
-
/**
|
|
30
|
-
* Muted paragraph utility explicitly meant for text trailing a Title internally.
|
|
31
|
-
*/
|
|
32
|
-
declare const CardDescription: React.ForwardRefExoticComponent<CardDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
33
|
-
/**
|
|
34
|
-
* Physical payload payload explicitly anchoring generic HTML spacing between a header and a footer correctly.
|
|
35
|
-
*/
|
|
36
|
-
declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
-
/**
|
|
38
|
-
* Spaced flex container automatically injecting actions aligned horizontally below content natively.
|
|
39
|
-
*/
|
|
40
|
-
declare const CardFooter: React.ForwardRefExoticComponent<CardFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
41
|
-
|
|
42
|
-
export { Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardPadding, type CardProps, CardTitle, type CardTitleProps, type CardVariant };
|
package/dist/card/index.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
|
|
3
|
-
type CardVariant = 'default' | 'outlined' | 'elevated' | 'filled';
|
|
4
|
-
type CardPadding = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
|
-
interface CardProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
-
/** The overall visual style of the card */
|
|
7
|
-
variant?: CardVariant;
|
|
8
|
-
/** Internal padding scale to apply strictly to the overall wrapper */
|
|
9
|
-
padding?: CardPadding;
|
|
10
|
-
}
|
|
11
|
-
type CardHeaderProps = HTMLAttributes<HTMLDivElement>;
|
|
12
|
-
type CardTitleProps = HTMLAttributes<HTMLHeadingElement>;
|
|
13
|
-
type CardDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
|
|
14
|
-
type CardContentProps = HTMLAttributes<HTMLDivElement>;
|
|
15
|
-
type CardFooterProps = HTMLAttributes<HTMLDivElement>;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Root Card wrapper containing styles, border radiuses, and shadow mappings.
|
|
19
|
-
*/
|
|
20
|
-
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
-
/**
|
|
22
|
-
* Card Header segment, ideal for stacking Titles, actions, and meta data.
|
|
23
|
-
*/
|
|
24
|
-
declare const CardHeader: React.ForwardRefExoticComponent<CardHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
-
/**
|
|
26
|
-
* Semantically native Header 3 representation ensuring text harmony generically.
|
|
27
|
-
*/
|
|
28
|
-
declare const CardTitle: React.ForwardRefExoticComponent<CardTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
29
|
-
/**
|
|
30
|
-
* Muted paragraph utility explicitly meant for text trailing a Title internally.
|
|
31
|
-
*/
|
|
32
|
-
declare const CardDescription: React.ForwardRefExoticComponent<CardDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
33
|
-
/**
|
|
34
|
-
* Physical payload payload explicitly anchoring generic HTML spacing between a header and a footer correctly.
|
|
35
|
-
*/
|
|
36
|
-
declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
-
/**
|
|
38
|
-
* Spaced flex container automatically injecting actions aligned horizontally below content natively.
|
|
39
|
-
*/
|
|
40
|
-
declare const CardFooter: React.ForwardRefExoticComponent<CardFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
41
|
-
|
|
42
|
-
export { Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardPadding, type CardProps, CardTitle, type CardTitleProps, type CardVariant };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type CheckboxSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
-
type CheckboxState = 'default' | 'error' | 'success' | 'warning';
|
|
5
|
-
interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
|
|
6
|
-
/** The primary label to display next to the checkbox */
|
|
7
|
-
label?: ReactNode;
|
|
8
|
-
/** Additional helper text displayed beneath the checkbox */
|
|
9
|
-
helperText?: ReactNode;
|
|
10
|
-
/** Error message displayed beneath the checkbox when state is 'error' */
|
|
11
|
-
errorMessage?: ReactNode;
|
|
12
|
-
/** Success message displayed beneath the checkbox when state is 'success' */
|
|
13
|
-
successMessage?: ReactNode;
|
|
14
|
-
/** Warning message displayed beneath the checkbox when state is 'warning' */
|
|
15
|
-
warningMessage?: ReactNode;
|
|
16
|
-
/** The size of the checkbox and its associated text */
|
|
17
|
-
size?: CheckboxSize;
|
|
18
|
-
/** The validation state of the checkbox */
|
|
19
|
-
state?: CheckboxState;
|
|
20
|
-
/** Whether the checkbox represents a mixed or indeterminate state */
|
|
21
|
-
indeterminate?: boolean;
|
|
22
|
-
/** Custom class for the outermost container */
|
|
23
|
-
containerClassName?: string;
|
|
24
|
-
/** Alias for containerClassName to match other components */
|
|
25
|
-
wrapperClassName?: string;
|
|
26
|
-
/** Custom class for the underlying input element */
|
|
27
|
-
inputClassName?: string;
|
|
28
|
-
/** Custom class for the label element */
|
|
29
|
-
labelClassName?: string;
|
|
30
|
-
/** Custom class for the helper/message text element */
|
|
31
|
-
messageClassName?: string;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
35
|
-
|
|
36
|
-
export { Checkbox, type CheckboxProps, type CheckboxSize, type CheckboxState };
|
package/dist/checkbox/index.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type CheckboxSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
-
type CheckboxState = 'default' | 'error' | 'success' | 'warning';
|
|
5
|
-
interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
|
|
6
|
-
/** The primary label to display next to the checkbox */
|
|
7
|
-
label?: ReactNode;
|
|
8
|
-
/** Additional helper text displayed beneath the checkbox */
|
|
9
|
-
helperText?: ReactNode;
|
|
10
|
-
/** Error message displayed beneath the checkbox when state is 'error' */
|
|
11
|
-
errorMessage?: ReactNode;
|
|
12
|
-
/** Success message displayed beneath the checkbox when state is 'success' */
|
|
13
|
-
successMessage?: ReactNode;
|
|
14
|
-
/** Warning message displayed beneath the checkbox when state is 'warning' */
|
|
15
|
-
warningMessage?: ReactNode;
|
|
16
|
-
/** The size of the checkbox and its associated text */
|
|
17
|
-
size?: CheckboxSize;
|
|
18
|
-
/** The validation state of the checkbox */
|
|
19
|
-
state?: CheckboxState;
|
|
20
|
-
/** Whether the checkbox represents a mixed or indeterminate state */
|
|
21
|
-
indeterminate?: boolean;
|
|
22
|
-
/** Custom class for the outermost container */
|
|
23
|
-
containerClassName?: string;
|
|
24
|
-
/** Alias for containerClassName to match other components */
|
|
25
|
-
wrapperClassName?: string;
|
|
26
|
-
/** Custom class for the underlying input element */
|
|
27
|
-
inputClassName?: string;
|
|
28
|
-
/** Custom class for the label element */
|
|
29
|
-
labelClassName?: string;
|
|
30
|
-
/** Custom class for the helper/message text element */
|
|
31
|
-
messageClassName?: string;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
35
|
-
|
|
36
|
-
export { Checkbox, type CheckboxProps, type CheckboxSize, type CheckboxState };
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type ComboBoxSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
-
type ComboBoxState = 'default' | 'error' | 'success' | 'warning';
|
|
5
|
-
interface ComboBoxOption {
|
|
6
|
-
/** The underlying value submitted/returned. */
|
|
7
|
-
value: string;
|
|
8
|
-
/** The human-readable label shown in the dropdown and input. */
|
|
9
|
-
label: string;
|
|
10
|
-
/** When true the option is shown but cannot be selected. */
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
}
|
|
13
|
-
interface ComboBoxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'value' | 'onChange' | 'multiple'> {
|
|
14
|
-
/** List of selectable options. */
|
|
15
|
-
options: ComboBoxOption[];
|
|
16
|
-
/** Currently selected value(s). Pass string for single, string[] for multi. */
|
|
17
|
-
value?: string | string[];
|
|
18
|
-
/** Fired when selection changes. */
|
|
19
|
-
onChange?: (value: string | string[]) => void;
|
|
20
|
-
/** Allow selecting multiple options. Defaults to false. */
|
|
21
|
-
multiple?: boolean;
|
|
22
|
-
/** Allow the user to type and filter options. Defaults to true. */
|
|
23
|
-
searchable?: boolean;
|
|
24
|
-
/** Show a clear (×) button when a value is selected. Defaults to false. */
|
|
25
|
-
clearable?: boolean;
|
|
26
|
-
/** Field label rendered above the input. */
|
|
27
|
-
label?: string;
|
|
28
|
-
/** Makes the label show a required asterisk. */
|
|
29
|
-
required?: boolean;
|
|
30
|
-
/** Helper text shown below the field. */
|
|
31
|
-
helperText?: string;
|
|
32
|
-
/** Message shown when state = 'error'. */
|
|
33
|
-
errorMessage?: string;
|
|
34
|
-
/** Message shown when state = 'success'. */
|
|
35
|
-
successMessage?: string;
|
|
36
|
-
/** Message shown when state = 'warning'. */
|
|
37
|
-
warningMessage?: string;
|
|
38
|
-
/** Visual / validation state. Defaults to 'default'. */
|
|
39
|
-
state?: ComboBoxState;
|
|
40
|
-
/** Input size. Defaults to 'md'. */
|
|
41
|
-
size?: ComboBoxSize;
|
|
42
|
-
/** Stretch to fill its container. Defaults to true. */
|
|
43
|
-
fullWidth?: boolean;
|
|
44
|
-
/** Placeholder shown in the input when nothing is selected. */
|
|
45
|
-
placeholder?: string;
|
|
46
|
-
/** Rendered when no options match the current search query. */
|
|
47
|
-
noOptionsMessage?: ReactNode;
|
|
48
|
-
/** Additional class for the outer wrapper div. */
|
|
49
|
-
wrapperClassName?: string;
|
|
50
|
-
/** Additional class for the trigger / input element. */
|
|
51
|
-
inputClassName?: string;
|
|
52
|
-
/** Additional class for the dropdown list. */
|
|
53
|
-
listClassName?: string;
|
|
54
|
-
/** Additional class for the label element. */
|
|
55
|
-
labelClassName?: string;
|
|
56
|
-
/** Additional class for helper / state message text. */
|
|
57
|
-
helperClassName?: string;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
declare const ComboBox: React.ForwardRefExoticComponent<ComboBoxProps & React.RefAttributes<HTMLInputElement>>;
|
|
61
|
-
|
|
62
|
-
export { ComboBox, type ComboBoxOption, type ComboBoxProps, type ComboBoxSize, type ComboBoxState };
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type ComboBoxSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
-
type ComboBoxState = 'default' | 'error' | 'success' | 'warning';
|
|
5
|
-
interface ComboBoxOption {
|
|
6
|
-
/** The underlying value submitted/returned. */
|
|
7
|
-
value: string;
|
|
8
|
-
/** The human-readable label shown in the dropdown and input. */
|
|
9
|
-
label: string;
|
|
10
|
-
/** When true the option is shown but cannot be selected. */
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
}
|
|
13
|
-
interface ComboBoxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'value' | 'onChange' | 'multiple'> {
|
|
14
|
-
/** List of selectable options. */
|
|
15
|
-
options: ComboBoxOption[];
|
|
16
|
-
/** Currently selected value(s). Pass string for single, string[] for multi. */
|
|
17
|
-
value?: string | string[];
|
|
18
|
-
/** Fired when selection changes. */
|
|
19
|
-
onChange?: (value: string | string[]) => void;
|
|
20
|
-
/** Allow selecting multiple options. Defaults to false. */
|
|
21
|
-
multiple?: boolean;
|
|
22
|
-
/** Allow the user to type and filter options. Defaults to true. */
|
|
23
|
-
searchable?: boolean;
|
|
24
|
-
/** Show a clear (×) button when a value is selected. Defaults to false. */
|
|
25
|
-
clearable?: boolean;
|
|
26
|
-
/** Field label rendered above the input. */
|
|
27
|
-
label?: string;
|
|
28
|
-
/** Makes the label show a required asterisk. */
|
|
29
|
-
required?: boolean;
|
|
30
|
-
/** Helper text shown below the field. */
|
|
31
|
-
helperText?: string;
|
|
32
|
-
/** Message shown when state = 'error'. */
|
|
33
|
-
errorMessage?: string;
|
|
34
|
-
/** Message shown when state = 'success'. */
|
|
35
|
-
successMessage?: string;
|
|
36
|
-
/** Message shown when state = 'warning'. */
|
|
37
|
-
warningMessage?: string;
|
|
38
|
-
/** Visual / validation state. Defaults to 'default'. */
|
|
39
|
-
state?: ComboBoxState;
|
|
40
|
-
/** Input size. Defaults to 'md'. */
|
|
41
|
-
size?: ComboBoxSize;
|
|
42
|
-
/** Stretch to fill its container. Defaults to true. */
|
|
43
|
-
fullWidth?: boolean;
|
|
44
|
-
/** Placeholder shown in the input when nothing is selected. */
|
|
45
|
-
placeholder?: string;
|
|
46
|
-
/** Rendered when no options match the current search query. */
|
|
47
|
-
noOptionsMessage?: ReactNode;
|
|
48
|
-
/** Additional class for the outer wrapper div. */
|
|
49
|
-
wrapperClassName?: string;
|
|
50
|
-
/** Additional class for the trigger / input element. */
|
|
51
|
-
inputClassName?: string;
|
|
52
|
-
/** Additional class for the dropdown list. */
|
|
53
|
-
listClassName?: string;
|
|
54
|
-
/** Additional class for the label element. */
|
|
55
|
-
labelClassName?: string;
|
|
56
|
-
/** Additional class for helper / state message text. */
|
|
57
|
-
helperClassName?: string;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
declare const ComboBox: React.ForwardRefExoticComponent<ComboBoxProps & React.RefAttributes<HTMLInputElement>>;
|
|
61
|
-
|
|
62
|
-
export { ComboBox, type ComboBoxOption, type ComboBoxProps, type ComboBoxSize, type ComboBoxState };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { AccordionProps, AccordionItemProps, AccordionTriggerProps, AccordionContentProps } from './Accordion.types';
|
|
2
|
-
export declare const AccordionItem: ({ children, className, isOpen: controlledIsOpen, onToggle, disabled, }: AccordionItemProps) => React.ReactElement;
|
|
3
|
-
export declare const AccordionTrigger: ({ children, className, hideChevron, icon, rightContent, }: AccordionTriggerProps) => React.ReactElement;
|
|
4
|
-
export declare const AccordionContent: ({ children, className, }: AccordionContentProps) => React.ReactElement | null;
|
|
5
|
-
export declare const Accordion: ({ children, className, allowMultiple, defaultOpenIndices, }: AccordionProps) => React.ReactElement;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
export interface AccordionProps {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
allowMultiple?: boolean;
|
|
6
|
-
defaultOpenIndices?: number[];
|
|
7
|
-
}
|
|
8
|
-
export interface AccordionItemProps {
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Optional manual control over open state.
|
|
13
|
-
* If provided, the Accordion's internal group logic is ignored for this item.
|
|
14
|
-
*/
|
|
15
|
-
isOpen?: boolean;
|
|
16
|
-
onToggle?: () => void;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export interface AccordionTriggerProps {
|
|
20
|
-
children: ReactNode;
|
|
21
|
-
className?: string;
|
|
22
|
-
/** Hide the default chevron icon */
|
|
23
|
-
hideChevron?: boolean;
|
|
24
|
-
/** Provide a custom icon instead of the default chevron */
|
|
25
|
-
icon?: ReactNode;
|
|
26
|
-
/** Extra content rendered on the right, independent of the toggle button */
|
|
27
|
-
rightContent?: ReactNode;
|
|
28
|
-
}
|
|
29
|
-
export interface AccordionContentProps {
|
|
30
|
-
children: ReactNode;
|
|
31
|
-
className?: string;
|
|
32
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { Avatar } from './Avatar';
|
|
3
|
-
declare const meta: Meta<typeof Avatar>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Initials: Story;
|
|
8
|
-
export declare const Sizes: Story;
|
|
9
|
-
export declare const Variants: Story;
|
|
10
|
-
export declare const StateBadges: Story;
|
|
11
|
-
export declare const StateBorders: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|