@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
package/package.json
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bricks-toolkit/toolkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Micro-modularized, fully independent, type-safe UI component library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ITProfound",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://bitbucket.org/elaachiadmin/itprofound-ui-kit
|
|
10
|
-
},
|
|
11
|
-
"publishConfig": {
|
|
12
|
-
"access": "public"
|
|
9
|
+
"url": "https://bitbucket.org/elaachiadmin/itprofound-ui-kit"
|
|
13
10
|
},
|
|
14
11
|
"keywords": [
|
|
15
12
|
"react",
|
|
@@ -30,7 +27,7 @@
|
|
|
30
27
|
"exports": {
|
|
31
28
|
".": {
|
|
32
29
|
"import": {
|
|
33
|
-
"types": "./dist/index.d.
|
|
30
|
+
"types": "./dist/index.d.mts",
|
|
34
31
|
"default": "./dist/index.mjs"
|
|
35
32
|
},
|
|
36
33
|
"require": {
|
|
@@ -40,7 +37,7 @@
|
|
|
40
37
|
},
|
|
41
38
|
"./avatar": {
|
|
42
39
|
"import": {
|
|
43
|
-
"types": "./dist/avatar/index.d.
|
|
40
|
+
"types": "./dist/avatar/index.d.mts",
|
|
44
41
|
"default": "./dist/avatar/index.mjs"
|
|
45
42
|
},
|
|
46
43
|
"require": {
|
|
@@ -50,7 +47,7 @@
|
|
|
50
47
|
},
|
|
51
48
|
"./badge": {
|
|
52
49
|
"import": {
|
|
53
|
-
"types": "./dist/badge/index.d.
|
|
50
|
+
"types": "./dist/badge/index.d.mts",
|
|
54
51
|
"default": "./dist/badge/index.mjs"
|
|
55
52
|
},
|
|
56
53
|
"require": {
|
|
@@ -60,7 +57,7 @@
|
|
|
60
57
|
},
|
|
61
58
|
"./breadcrumbs": {
|
|
62
59
|
"import": {
|
|
63
|
-
"types": "./dist/breadcrumbs/index.d.
|
|
60
|
+
"types": "./dist/breadcrumbs/index.d.mts",
|
|
64
61
|
"default": "./dist/breadcrumbs/index.mjs"
|
|
65
62
|
},
|
|
66
63
|
"require": {
|
|
@@ -70,7 +67,7 @@
|
|
|
70
67
|
},
|
|
71
68
|
"./button": {
|
|
72
69
|
"import": {
|
|
73
|
-
"types": "./dist/button/index.d.
|
|
70
|
+
"types": "./dist/button/index.d.mts",
|
|
74
71
|
"default": "./dist/button/index.mjs"
|
|
75
72
|
},
|
|
76
73
|
"require": {
|
|
@@ -80,7 +77,7 @@
|
|
|
80
77
|
},
|
|
81
78
|
"./card": {
|
|
82
79
|
"import": {
|
|
83
|
-
"types": "./dist/card/index.d.
|
|
80
|
+
"types": "./dist/card/index.d.mts",
|
|
84
81
|
"default": "./dist/card/index.mjs"
|
|
85
82
|
},
|
|
86
83
|
"require": {
|
|
@@ -90,7 +87,7 @@
|
|
|
90
87
|
},
|
|
91
88
|
"./checkbox": {
|
|
92
89
|
"import": {
|
|
93
|
-
"types": "./dist/checkbox/index.d.
|
|
90
|
+
"types": "./dist/checkbox/index.d.mts",
|
|
94
91
|
"default": "./dist/checkbox/index.mjs"
|
|
95
92
|
},
|
|
96
93
|
"require": {
|
|
@@ -100,7 +97,7 @@
|
|
|
100
97
|
},
|
|
101
98
|
"./combo-box": {
|
|
102
99
|
"import": {
|
|
103
|
-
"types": "./dist/combo-box/index.d.
|
|
100
|
+
"types": "./dist/combo-box/index.d.mts",
|
|
104
101
|
"default": "./dist/combo-box/index.mjs"
|
|
105
102
|
},
|
|
106
103
|
"require": {
|
|
@@ -110,7 +107,7 @@
|
|
|
110
107
|
},
|
|
111
108
|
"./date-picker": {
|
|
112
109
|
"import": {
|
|
113
|
-
"types": "./dist/date-picker/index.d.
|
|
110
|
+
"types": "./dist/date-picker/index.d.mts",
|
|
114
111
|
"default": "./dist/date-picker/index.mjs"
|
|
115
112
|
},
|
|
116
113
|
"require": {
|
|
@@ -120,7 +117,7 @@
|
|
|
120
117
|
},
|
|
121
118
|
"./dialog": {
|
|
122
119
|
"import": {
|
|
123
|
-
"types": "./dist/dialog/index.d.
|
|
120
|
+
"types": "./dist/dialog/index.d.mts",
|
|
124
121
|
"default": "./dist/dialog/index.mjs"
|
|
125
122
|
},
|
|
126
123
|
"require": {
|
|
@@ -130,7 +127,7 @@
|
|
|
130
127
|
},
|
|
131
128
|
"./dropdown-menu": {
|
|
132
129
|
"import": {
|
|
133
|
-
"types": "./dist/dropdown-menu/index.d.
|
|
130
|
+
"types": "./dist/dropdown-menu/index.d.mts",
|
|
134
131
|
"default": "./dist/dropdown-menu/index.mjs"
|
|
135
132
|
},
|
|
136
133
|
"require": {
|
|
@@ -140,7 +137,7 @@
|
|
|
140
137
|
},
|
|
141
138
|
"./email": {
|
|
142
139
|
"import": {
|
|
143
|
-
"types": "./dist/email/index.d.
|
|
140
|
+
"types": "./dist/email/index.d.mts",
|
|
144
141
|
"default": "./dist/email/index.mjs"
|
|
145
142
|
},
|
|
146
143
|
"require": {
|
|
@@ -150,7 +147,7 @@
|
|
|
150
147
|
},
|
|
151
148
|
"./file-upload": {
|
|
152
149
|
"import": {
|
|
153
|
-
"types": "./dist/file-upload/index.d.
|
|
150
|
+
"types": "./dist/file-upload/index.d.mts",
|
|
154
151
|
"default": "./dist/file-upload/index.mjs"
|
|
155
152
|
},
|
|
156
153
|
"require": {
|
|
@@ -158,9 +155,39 @@
|
|
|
158
155
|
"default": "./dist/file-upload/index.cjs"
|
|
159
156
|
}
|
|
160
157
|
},
|
|
158
|
+
"./header": {
|
|
159
|
+
"import": {
|
|
160
|
+
"types": "./dist/header/index.d.mts",
|
|
161
|
+
"default": "./dist/header/index.mjs"
|
|
162
|
+
},
|
|
163
|
+
"require": {
|
|
164
|
+
"types": "./dist/header/index.d.ts",
|
|
165
|
+
"default": "./dist/header/index.cjs"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"./image": {
|
|
169
|
+
"import": {
|
|
170
|
+
"types": "./dist/image/index.d.mts",
|
|
171
|
+
"default": "./dist/image/index.mjs"
|
|
172
|
+
},
|
|
173
|
+
"require": {
|
|
174
|
+
"types": "./dist/image/index.d.ts",
|
|
175
|
+
"default": "./dist/image/index.cjs"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"./icon-button": {
|
|
179
|
+
"import": {
|
|
180
|
+
"types": "./dist/icon-button/index.d.mts",
|
|
181
|
+
"default": "./dist/icon-button/index.mjs"
|
|
182
|
+
},
|
|
183
|
+
"require": {
|
|
184
|
+
"types": "./dist/icon-button/index.d.ts",
|
|
185
|
+
"default": "./dist/icon-button/index.cjs"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
161
188
|
"./link": {
|
|
162
189
|
"import": {
|
|
163
|
-
"types": "./dist/link/index.d.
|
|
190
|
+
"types": "./dist/link/index.d.mts",
|
|
164
191
|
"default": "./dist/link/index.mjs"
|
|
165
192
|
},
|
|
166
193
|
"require": {
|
|
@@ -170,7 +197,7 @@
|
|
|
170
197
|
},
|
|
171
198
|
"./loader": {
|
|
172
199
|
"import": {
|
|
173
|
-
"types": "./dist/loader/index.d.
|
|
200
|
+
"types": "./dist/loader/index.d.mts",
|
|
174
201
|
"default": "./dist/loader/index.mjs"
|
|
175
202
|
},
|
|
176
203
|
"require": {
|
|
@@ -178,19 +205,19 @@
|
|
|
178
205
|
"default": "./dist/loader/index.cjs"
|
|
179
206
|
}
|
|
180
207
|
},
|
|
181
|
-
"./
|
|
208
|
+
"./modal": {
|
|
182
209
|
"import": {
|
|
183
|
-
"types": "./dist/
|
|
184
|
-
"default": "./dist/
|
|
210
|
+
"types": "./dist/modal/index.d.mts",
|
|
211
|
+
"default": "./dist/modal/index.mjs"
|
|
185
212
|
},
|
|
186
213
|
"require": {
|
|
187
|
-
"types": "./dist/
|
|
188
|
-
"default": "./dist/
|
|
214
|
+
"types": "./dist/modal/index.d.ts",
|
|
215
|
+
"default": "./dist/modal/index.cjs"
|
|
189
216
|
}
|
|
190
217
|
},
|
|
191
218
|
"./multi-select": {
|
|
192
219
|
"import": {
|
|
193
|
-
"types": "./dist/multi-select/index.d.
|
|
220
|
+
"types": "./dist/multi-select/index.d.mts",
|
|
194
221
|
"default": "./dist/multi-select/index.mjs"
|
|
195
222
|
},
|
|
196
223
|
"require": {
|
|
@@ -200,7 +227,7 @@
|
|
|
200
227
|
},
|
|
201
228
|
"./otp-input": {
|
|
202
229
|
"import": {
|
|
203
|
-
"types": "./dist/otp-input/index.d.
|
|
230
|
+
"types": "./dist/otp-input/index.d.mts",
|
|
204
231
|
"default": "./dist/otp-input/index.mjs"
|
|
205
232
|
},
|
|
206
233
|
"require": {
|
|
@@ -210,7 +237,7 @@
|
|
|
210
237
|
},
|
|
211
238
|
"./password-input": {
|
|
212
239
|
"import": {
|
|
213
|
-
"types": "./dist/password-input/index.d.
|
|
240
|
+
"types": "./dist/password-input/index.d.mts",
|
|
214
241
|
"default": "./dist/password-input/index.mjs"
|
|
215
242
|
},
|
|
216
243
|
"require": {
|
|
@@ -220,7 +247,7 @@
|
|
|
220
247
|
},
|
|
221
248
|
"./phone": {
|
|
222
249
|
"import": {
|
|
223
|
-
"types": "./dist/phone/index.d.
|
|
250
|
+
"types": "./dist/phone/index.d.mts",
|
|
224
251
|
"default": "./dist/phone/index.mjs"
|
|
225
252
|
},
|
|
226
253
|
"require": {
|
|
@@ -230,7 +257,7 @@
|
|
|
230
257
|
},
|
|
231
258
|
"./radio-button": {
|
|
232
259
|
"import": {
|
|
233
|
-
"types": "./dist/radio-button/index.d.
|
|
260
|
+
"types": "./dist/radio-button/index.d.mts",
|
|
234
261
|
"default": "./dist/radio-button/index.mjs"
|
|
235
262
|
},
|
|
236
263
|
"require": {
|
|
@@ -238,9 +265,19 @@
|
|
|
238
265
|
"default": "./dist/radio-button/index.cjs"
|
|
239
266
|
}
|
|
240
267
|
},
|
|
268
|
+
"./search-input": {
|
|
269
|
+
"import": {
|
|
270
|
+
"types": "./dist/search-input/index.d.mts",
|
|
271
|
+
"default": "./dist/search-input/index.mjs"
|
|
272
|
+
},
|
|
273
|
+
"require": {
|
|
274
|
+
"types": "./dist/search-input/index.d.ts",
|
|
275
|
+
"default": "./dist/search-input/index.cjs"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
241
278
|
"./select": {
|
|
242
279
|
"import": {
|
|
243
|
-
"types": "./dist/select/index.d.
|
|
280
|
+
"types": "./dist/select/index.d.mts",
|
|
244
281
|
"default": "./dist/select/index.mjs"
|
|
245
282
|
},
|
|
246
283
|
"require": {
|
|
@@ -248,9 +285,19 @@
|
|
|
248
285
|
"default": "./dist/select/index.cjs"
|
|
249
286
|
}
|
|
250
287
|
},
|
|
288
|
+
"./sidebar": {
|
|
289
|
+
"import": {
|
|
290
|
+
"types": "./dist/sidebar/index.d.mts",
|
|
291
|
+
"default": "./dist/sidebar/index.mjs"
|
|
292
|
+
},
|
|
293
|
+
"require": {
|
|
294
|
+
"types": "./dist/sidebar/index.d.ts",
|
|
295
|
+
"default": "./dist/sidebar/index.cjs"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
251
298
|
"./table": {
|
|
252
299
|
"import": {
|
|
253
|
-
"types": "./dist/table/index.d.
|
|
300
|
+
"types": "./dist/table/index.d.mts",
|
|
254
301
|
"default": "./dist/table/index.mjs"
|
|
255
302
|
},
|
|
256
303
|
"require": {
|
|
@@ -260,7 +307,7 @@
|
|
|
260
307
|
},
|
|
261
308
|
"./tabs": {
|
|
262
309
|
"import": {
|
|
263
|
-
"types": "./dist/tabs/index.d.
|
|
310
|
+
"types": "./dist/tabs/index.d.mts",
|
|
264
311
|
"default": "./dist/tabs/index.mjs"
|
|
265
312
|
},
|
|
266
313
|
"require": {
|
|
@@ -270,7 +317,7 @@
|
|
|
270
317
|
},
|
|
271
318
|
"./text-input": {
|
|
272
319
|
"import": {
|
|
273
|
-
"types": "./dist/text-input/index.d.
|
|
320
|
+
"types": "./dist/text-input/index.d.mts",
|
|
274
321
|
"default": "./dist/text-input/index.mjs"
|
|
275
322
|
},
|
|
276
323
|
"require": {
|
|
@@ -278,9 +325,19 @@
|
|
|
278
325
|
"default": "./dist/text-input/index.cjs"
|
|
279
326
|
}
|
|
280
327
|
},
|
|
328
|
+
"./theme-provider": {
|
|
329
|
+
"import": {
|
|
330
|
+
"types": "./dist/theme-provider/index.d.mts",
|
|
331
|
+
"default": "./dist/theme-provider/index.mjs"
|
|
332
|
+
},
|
|
333
|
+
"require": {
|
|
334
|
+
"types": "./dist/theme-provider/index.d.ts",
|
|
335
|
+
"default": "./dist/theme-provider/index.cjs"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
281
338
|
"./time-picker": {
|
|
282
339
|
"import": {
|
|
283
|
-
"types": "./dist/time-picker/index.d.
|
|
340
|
+
"types": "./dist/time-picker/index.d.mts",
|
|
284
341
|
"default": "./dist/time-picker/index.mjs"
|
|
285
342
|
},
|
|
286
343
|
"require": {
|
|
@@ -290,7 +347,7 @@
|
|
|
290
347
|
},
|
|
291
348
|
"./toaster": {
|
|
292
349
|
"import": {
|
|
293
|
-
"types": "./dist/toaster/index.d.
|
|
350
|
+
"types": "./dist/toaster/index.d.mts",
|
|
294
351
|
"default": "./dist/toaster/index.mjs"
|
|
295
352
|
},
|
|
296
353
|
"require": {
|
|
@@ -298,79 +355,9 @@
|
|
|
298
355
|
"default": "./dist/toaster/index.cjs"
|
|
299
356
|
}
|
|
300
357
|
},
|
|
301
|
-
"./sidebar": {
|
|
302
|
-
"import": {
|
|
303
|
-
"types": "./dist/sidebar/index.d.ts",
|
|
304
|
-
"default": "./dist/sidebar/index.mjs"
|
|
305
|
-
},
|
|
306
|
-
"require": {
|
|
307
|
-
"types": "./dist/sidebar/index.d.ts",
|
|
308
|
-
"default": "./dist/sidebar/index.cjs"
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
"./header": {
|
|
312
|
-
"import": {
|
|
313
|
-
"types": "./dist/header/index.d.ts",
|
|
314
|
-
"default": "./dist/header/index.mjs"
|
|
315
|
-
},
|
|
316
|
-
"require": {
|
|
317
|
-
"types": "./dist/header/index.d.ts",
|
|
318
|
-
"default": "./dist/header/index.cjs"
|
|
319
|
-
}
|
|
320
|
-
},
|
|
321
|
-
"./image": {
|
|
322
|
-
"import": {
|
|
323
|
-
"types": "./dist/image/index.d.ts",
|
|
324
|
-
"default": "./dist/image/index.mjs"
|
|
325
|
-
},
|
|
326
|
-
"require": {
|
|
327
|
-
"types": "./dist/image/index.d.ts",
|
|
328
|
-
"default": "./dist/image/index.cjs"
|
|
329
|
-
}
|
|
330
|
-
},
|
|
331
|
-
"./icon-button": {
|
|
332
|
-
"import": {
|
|
333
|
-
"types": "./dist/icon-button/index.d.ts",
|
|
334
|
-
"default": "./dist/icon-button/index.mjs"
|
|
335
|
-
},
|
|
336
|
-
"require": {
|
|
337
|
-
"types": "./dist/icon-button/index.d.ts",
|
|
338
|
-
"default": "./dist/icon-button/index.cjs"
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
"./modal": {
|
|
342
|
-
"import": {
|
|
343
|
-
"types": "./dist/modal/index.d.ts",
|
|
344
|
-
"default": "./dist/modal/index.mjs"
|
|
345
|
-
},
|
|
346
|
-
"require": {
|
|
347
|
-
"types": "./dist/modal/index.d.ts",
|
|
348
|
-
"default": "./dist/modal/index.cjs"
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
"./search-input": {
|
|
352
|
-
"import": {
|
|
353
|
-
"types": "./dist/search-input/index.d.ts",
|
|
354
|
-
"default": "./dist/search-input/index.mjs"
|
|
355
|
-
},
|
|
356
|
-
"require": {
|
|
357
|
-
"types": "./dist/search-input/index.d.ts",
|
|
358
|
-
"default": "./dist/search-input/index.cjs"
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
"./theme-provider": {
|
|
362
|
-
"import": {
|
|
363
|
-
"types": "./dist/theme-provider/index.d.ts",
|
|
364
|
-
"default": "./dist/theme-provider/index.mjs"
|
|
365
|
-
},
|
|
366
|
-
"require": {
|
|
367
|
-
"types": "./dist/theme-provider/index.d.ts",
|
|
368
|
-
"default": "./dist/theme-provider/index.cjs"
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
358
|
"./tooltip": {
|
|
372
359
|
"import": {
|
|
373
|
-
"types": "./dist/tooltip/index.d.
|
|
360
|
+
"types": "./dist/tooltip/index.d.mts",
|
|
374
361
|
"default": "./dist/tooltip/index.mjs"
|
|
375
362
|
},
|
|
376
363
|
"require": {
|
|
@@ -387,7 +374,7 @@
|
|
|
387
374
|
],
|
|
388
375
|
"scripts": {
|
|
389
376
|
"storybook": "storybook dev -p 6006 --no-version-updates",
|
|
390
|
-
"build": "tsup
|
|
377
|
+
"build": "tsup",
|
|
391
378
|
"build:watch": "tsup --watch",
|
|
392
379
|
"build:storybook": "storybook build",
|
|
393
380
|
"test": "vitest run",
|
|
@@ -401,14 +388,9 @@
|
|
|
401
388
|
"validate": "pnpm typecheck && pnpm lint && pnpm test",
|
|
402
389
|
"clean": "rimraf dist",
|
|
403
390
|
"prepare": "husky",
|
|
404
|
-
"prepublishOnly": "pnpm build",
|
|
405
391
|
"audit": "pnpm audit"
|
|
406
392
|
},
|
|
407
|
-
"dependencies": {
|
|
408
|
-
"@heroicons/react": "2.2.0"
|
|
409
|
-
},
|
|
410
393
|
"devDependencies": {
|
|
411
|
-
"lucide-react": "0.471.0",
|
|
412
394
|
"@eslint/js": "10.0.1",
|
|
413
395
|
"@storybook/addon-a11y": "10.3.5",
|
|
414
396
|
"@storybook/react": "10.3.5",
|
|
@@ -433,7 +415,7 @@
|
|
|
433
415
|
"husky": "9.1.7",
|
|
434
416
|
"jsdom": "28.1.0",
|
|
435
417
|
"lint-staged": "16.2.7",
|
|
436
|
-
"postcss": "8.5.
|
|
418
|
+
"postcss": "8.5.6",
|
|
437
419
|
"prettier": "3.8.1",
|
|
438
420
|
"react": "19.2.4",
|
|
439
421
|
"react-dom": "19.2.4",
|
|
@@ -442,7 +424,7 @@
|
|
|
442
424
|
"tailwind-merge": "3.5.0",
|
|
443
425
|
"tailwindcss": "4.2.1",
|
|
444
426
|
"tsup": "8.5.1",
|
|
445
|
-
"typescript": "5.
|
|
427
|
+
"typescript": "5.9.3",
|
|
446
428
|
"typescript-eslint": "8.56.1",
|
|
447
429
|
"vite": "8.0.8",
|
|
448
430
|
"vitest": "4.0.18",
|
|
@@ -450,11 +432,8 @@
|
|
|
450
432
|
"@storybook/addon-docs": "10.3.5"
|
|
451
433
|
},
|
|
452
434
|
"peerDependencies": {
|
|
453
|
-
"react": "
|
|
454
|
-
"react-dom": "
|
|
455
|
-
"lucide-react": ">=0.471.0",
|
|
456
|
-
"clsx": ">=2.1.1",
|
|
457
|
-
"tailwind-merge": ">=3.0.0"
|
|
435
|
+
"react": "19.0.0",
|
|
436
|
+
"react-dom": "19.0.0"
|
|
458
437
|
},
|
|
459
438
|
"peerDependenciesMeta": {
|
|
460
439
|
"react": {
|
|
@@ -462,15 +441,15 @@
|
|
|
462
441
|
},
|
|
463
442
|
"react-dom": {
|
|
464
443
|
"optional": false
|
|
465
|
-
},
|
|
466
|
-
"lucide-react": {
|
|
467
|
-
"optional": true
|
|
468
444
|
}
|
|
469
445
|
},
|
|
470
446
|
"engines": {
|
|
471
447
|
"node": "24.14.0",
|
|
472
448
|
"pnpm": ">=10.0.0"
|
|
473
449
|
},
|
|
450
|
+
"publishConfig": {
|
|
451
|
+
"access": "public"
|
|
452
|
+
},
|
|
474
453
|
"lint-staged": {
|
|
475
454
|
"*.{ts,tsx}": [
|
|
476
455
|
"eslint --max-warnings=0 --fix",
|
|
@@ -479,5 +458,8 @@
|
|
|
479
458
|
"*.{json,md,css}": [
|
|
480
459
|
"prettier --write"
|
|
481
460
|
]
|
|
461
|
+
},
|
|
462
|
+
"dependencies": {
|
|
463
|
+
"@heroicons/react": "2.2.0"
|
|
482
464
|
}
|
|
483
465
|
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import { T as TooltipPlacement } from './Tooltip.types-PbUasE3C.js';
|
|
3
|
-
|
|
4
|
-
type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'success' | 'warning' | 'info';
|
|
5
|
-
type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
-
interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'> {
|
|
7
|
-
/** The variant style of the button */
|
|
8
|
-
variant?: ButtonVariant;
|
|
9
|
-
/** The size of the button */
|
|
10
|
-
size?: ButtonSize;
|
|
11
|
-
/** Whether the button should take up the full width of its container */
|
|
12
|
-
fullWidth?: boolean;
|
|
13
|
-
/** Whether the button is currently in a loading state */
|
|
14
|
-
isLoading?: boolean;
|
|
15
|
-
/** Optional text to display alongside the spinner when loading */
|
|
16
|
-
loadingText?: string;
|
|
17
|
-
/** An icon element to display before the button content */
|
|
18
|
-
leftIcon?: ReactNode;
|
|
19
|
-
/** An icon element to display after the button content */
|
|
20
|
-
rightIcon?: ReactNode;
|
|
21
|
-
/** Optional tooltip text or element to display on hover */
|
|
22
|
-
tooltip?: ReactNode;
|
|
23
|
-
/** Preferred placement of the tooltip relative to the button */
|
|
24
|
-
tooltipPlacement?: TooltipPlacement;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export type { ButtonProps as B, ButtonSize as a, ButtonVariant as b };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import { T as TooltipPlacement } from './Tooltip.types-PbUasE3C.mjs';
|
|
3
|
-
|
|
4
|
-
type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'success' | 'warning' | 'info';
|
|
5
|
-
type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
-
interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'> {
|
|
7
|
-
/** The variant style of the button */
|
|
8
|
-
variant?: ButtonVariant;
|
|
9
|
-
/** The size of the button */
|
|
10
|
-
size?: ButtonSize;
|
|
11
|
-
/** Whether the button should take up the full width of its container */
|
|
12
|
-
fullWidth?: boolean;
|
|
13
|
-
/** Whether the button is currently in a loading state */
|
|
14
|
-
isLoading?: boolean;
|
|
15
|
-
/** Optional text to display alongside the spinner when loading */
|
|
16
|
-
loadingText?: string;
|
|
17
|
-
/** An icon element to display before the button content */
|
|
18
|
-
leftIcon?: ReactNode;
|
|
19
|
-
/** An icon element to display after the button content */
|
|
20
|
-
rightIcon?: ReactNode;
|
|
21
|
-
/** Optional tooltip text or element to display on hover */
|
|
22
|
-
tooltip?: ReactNode;
|
|
23
|
-
/** Preferred placement of the tooltip relative to the button */
|
|
24
|
-
tooltipPlacement?: TooltipPlacement;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export type { ButtonProps as B, ButtonSize as a, ButtonVariant as b };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type TextInputVariant = 'default' | 'filled' | 'flushed' | 'unstyled';
|
|
4
|
-
type TextInputSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
|
-
type TextInputState = 'default' | 'error' | 'success' | 'warning';
|
|
6
|
-
interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'prefix'> {
|
|
7
|
-
label?: string;
|
|
8
|
-
required?: boolean;
|
|
9
|
-
helperText?: string;
|
|
10
|
-
errorMessage?: string;
|
|
11
|
-
successMessage?: string;
|
|
12
|
-
warningMessage?: string;
|
|
13
|
-
variant?: TextInputVariant;
|
|
14
|
-
size?: TextInputSize;
|
|
15
|
-
state?: TextInputState;
|
|
16
|
-
fullWidth?: boolean;
|
|
17
|
-
leftElement?: ReactNode;
|
|
18
|
-
rightElement?: ReactNode;
|
|
19
|
-
prefix?: ReactNode;
|
|
20
|
-
suffix?: ReactNode;
|
|
21
|
-
wrapperClassName?: string;
|
|
22
|
-
inputGroupClassName?: string;
|
|
23
|
-
inputClassName?: string;
|
|
24
|
-
labelClassName?: string;
|
|
25
|
-
helperClassName?: string;
|
|
26
|
-
clearable?: boolean;
|
|
27
|
-
isLoading?: boolean;
|
|
28
|
-
multiline?: boolean;
|
|
29
|
-
rows?: number;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export type { TextInputProps as T, TextInputSize as a, TextInputState as b, TextInputVariant as c };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
type TextInputVariant = 'default' | 'filled' | 'flushed' | 'unstyled';
|
|
4
|
-
type TextInputSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
5
|
-
type TextInputState = 'default' | 'error' | 'success' | 'warning';
|
|
6
|
-
interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'prefix'> {
|
|
7
|
-
label?: string;
|
|
8
|
-
required?: boolean;
|
|
9
|
-
helperText?: string;
|
|
10
|
-
errorMessage?: string;
|
|
11
|
-
successMessage?: string;
|
|
12
|
-
warningMessage?: string;
|
|
13
|
-
variant?: TextInputVariant;
|
|
14
|
-
size?: TextInputSize;
|
|
15
|
-
state?: TextInputState;
|
|
16
|
-
fullWidth?: boolean;
|
|
17
|
-
leftElement?: ReactNode;
|
|
18
|
-
rightElement?: ReactNode;
|
|
19
|
-
prefix?: ReactNode;
|
|
20
|
-
suffix?: ReactNode;
|
|
21
|
-
wrapperClassName?: string;
|
|
22
|
-
inputGroupClassName?: string;
|
|
23
|
-
inputClassName?: string;
|
|
24
|
-
labelClassName?: string;
|
|
25
|
-
helperClassName?: string;
|
|
26
|
-
clearable?: boolean;
|
|
27
|
-
isLoading?: boolean;
|
|
28
|
-
multiline?: boolean;
|
|
29
|
-
rows?: number;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export type { TextInputProps as T, TextInputSize as a, TextInputState as b, TextInputVariant as c };
|
|
@@ -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 };
|