@taiv/ui 1.12.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/dist/assets/assets.d.ts +5 -0
  2. package/dist/assets/assets.d.ts.map +1 -0
  3. package/dist/assets/assets.js +18 -0
  4. package/dist/assets/icons.d.ts +12 -0
  5. package/dist/assets/icons.d.ts.map +1 -0
  6. package/dist/assets/icons.js +62 -0
  7. package/dist/assets/svgs/GoogleIcon.d.ts +5 -0
  8. package/dist/assets/svgs/GoogleIcon.d.ts.map +1 -0
  9. package/dist/assets/svgs/GoogleIcon.js +2 -0
  10. package/dist/components/Data/Cards/ChartCard/ChartCard.d.ts.map +1 -1
  11. package/dist/components/Data/Cards/ChartCard/ChartCard.js +3 -2
  12. package/dist/components/Data/Cards/PieChartCard/PieChartCard.d.ts.map +1 -1
  13. package/dist/components/Data/Cards/PieChartCard/PieChartCard.js +2 -1
  14. package/dist/components/Data/Cards/StatsCard/StatsCard.d.ts.map +1 -1
  15. package/dist/components/Data/Cards/StatsCard/StatsCard.js +2 -1
  16. package/dist/components/Data/Chart/Chart.d.ts.map +1 -1
  17. package/dist/components/Data/Chart/Chart.js +5 -4
  18. package/dist/components/Data/Chart/Chart.stories.d.ts.map +1 -1
  19. package/dist/components/Data/Chart/Chart.stories.js +6 -5
  20. package/dist/components/Data/CheckboxTable/CheckboxTable.d.ts.map +1 -1
  21. package/dist/components/Data/CheckboxTable/CheckboxTable.js +15 -14
  22. package/dist/components/Data/PieChart/PieChart.d.ts.map +1 -1
  23. package/dist/components/Data/PieChart/PieChart.js +4 -3
  24. package/dist/components/Data/PieChart/PieChart.stories.d.ts.map +1 -1
  25. package/dist/components/Data/PieChart/PieChart.stories.js +4 -3
  26. package/dist/components/Data/Progress/Progress.stories.d.ts.map +1 -1
  27. package/dist/components/Data/Progress/Progress.stories.js +7 -6
  28. package/dist/components/Data/RemovableItemList/RemovableItemList.d.ts.map +1 -1
  29. package/dist/components/Data/RemovableItemList/RemovableItemList.js +4 -3
  30. package/dist/components/Info/Badge/Badge.stories.d.ts.map +1 -1
  31. package/dist/components/Info/Badge/Badge.stories.js +5 -4
  32. package/dist/components/Info/Badge/sizes.d.ts.map +1 -1
  33. package/dist/components/Info/Badge/sizes.js +7 -6
  34. package/dist/components/Info/Badge/variants.d.ts.map +1 -1
  35. package/dist/components/Info/Badge/variants.js +3 -2
  36. package/dist/components/Info/InfoCard/InfoCard.d.ts.map +1 -1
  37. package/dist/components/Info/InfoCard/InfoCard.js +2 -1
  38. package/dist/components/Info/Modals/FormModal/FormModal.d.ts.map +1 -1
  39. package/dist/components/Info/Modals/FormModal/FormModal.js +12 -11
  40. package/dist/components/Info/Modals/FormModal/FormModal.stories.js +11 -11
  41. package/dist/components/Info/Modals/Modal/Modal.d.ts.map +1 -1
  42. package/dist/components/Info/Modals/Modal/Modal.js +7 -6
  43. package/dist/components/Info/Modals/Modal/Modal.stories.d.ts +7 -0
  44. package/dist/components/Info/Modals/Modal/Modal.stories.d.ts.map +1 -0
  45. package/dist/components/Info/Modals/Modal/Modal.stories.js +61 -0
  46. package/dist/components/Info/Modals/Modals.stories.d.ts +16 -0
  47. package/dist/components/Info/Modals/Modals.stories.d.ts.map +1 -0
  48. package/dist/components/Info/Modals/Modals.stories.js +102 -0
  49. package/dist/components/Info/Notifications/NotificationProvider/NotificationProvider.d.ts.map +1 -1
  50. package/dist/components/Info/Notifications/NotificationProvider/NotificationProvider.js +7 -6
  51. package/dist/components/Info/Notifications/Notifications.stories.d.ts +10 -0
  52. package/dist/components/Info/Notifications/Notifications.stories.d.ts.map +1 -0
  53. package/dist/components/Info/Notifications/Notifications.stories.js +107 -0
  54. package/dist/components/Info/Tooltips/FormulaTooltip/FormulaTooltip.d.ts.map +1 -1
  55. package/dist/components/Info/Tooltips/FormulaTooltip/FormulaTooltip.js +2 -1
  56. package/dist/components/Info/Tooltips/InfoTooltip/InfoTooltip.d.ts +4 -4
  57. package/dist/components/Info/Tooltips/InfoTooltip/InfoTooltip.js +4 -4
  58. package/dist/components/Info/Tooltips/Tooltip/Tooltip.d.ts.map +1 -1
  59. package/dist/components/Info/Tooltips/Tooltip/Tooltip.js +2 -1
  60. package/dist/components/Inputs/Buttons/Button/Button.js +2 -2
  61. package/dist/components/Inputs/Buttons/Button/Button.stories.d.ts +1 -0
  62. package/dist/components/Inputs/Buttons/Button/Button.stories.d.ts.map +1 -1
  63. package/dist/components/Inputs/Buttons/Button/Button.stories.js +53 -46
  64. package/dist/components/Inputs/Buttons/Button/sizes.d.ts.map +1 -1
  65. package/dist/components/Inputs/Buttons/Button/sizes.js +4 -3
  66. package/dist/components/Inputs/Buttons/IconButton/IconButton.js +2 -2
  67. package/dist/components/Inputs/Buttons/IconButton/IconButton.stories.d.ts.map +1 -1
  68. package/dist/components/Inputs/Buttons/IconButton/IconButton.stories.js +7 -6
  69. package/dist/components/Inputs/Buttons/IconButton/sizes.d.ts.map +1 -1
  70. package/dist/components/Inputs/Buttons/IconButton/sizes.js +4 -3
  71. package/dist/components/Inputs/Buttons/SSOButton/SSOButton.d.ts +35 -0
  72. package/dist/components/Inputs/Buttons/SSOButton/SSOButton.d.ts.map +1 -0
  73. package/dist/components/Inputs/Buttons/SSOButton/SSOButton.js +37 -0
  74. package/dist/components/Inputs/Buttons/SSOButton/SSOButton.stories.d.ts +14 -0
  75. package/dist/components/Inputs/Buttons/SSOButton/SSOButton.stories.d.ts.map +1 -0
  76. package/dist/components/Inputs/Buttons/SSOButton/SSOButton.stories.js +121 -0
  77. package/dist/components/Inputs/Buttons/UnstyledButton/UnstyledButton.stories.d.ts.map +1 -1
  78. package/dist/components/Inputs/Buttons/UnstyledButton/UnstyledButton.stories.js +4 -3
  79. package/dist/components/Inputs/Buttons/shared/variants.d.ts +29 -29
  80. package/dist/components/Inputs/Buttons/shared/variants.d.ts.map +1 -1
  81. package/dist/components/Inputs/Buttons/shared/variants.js +6 -5
  82. package/dist/components/Inputs/Controls/Checkbox/Checkbox.stories.js +3 -3
  83. package/dist/components/Inputs/Controls/Radio/Radio.js +1 -1
  84. package/dist/components/Inputs/Controls/Radio/Radio.stories.js +3 -3
  85. package/dist/components/Inputs/Controls/RadioList/RadioList.d.ts.map +1 -1
  86. package/dist/components/Inputs/Controls/RadioList/RadioList.js +3 -2
  87. package/dist/components/Inputs/Controls/RadioList/RadioList.stories.d.ts.map +1 -1
  88. package/dist/components/Inputs/Controls/RadioList/RadioList.stories.js +3 -2
  89. package/dist/components/Inputs/Controls/SegmentedControl/SegmentedControl.stories.d.ts.map +1 -1
  90. package/dist/components/Inputs/Controls/SegmentedControl/SegmentedControl.stories.js +6 -5
  91. package/dist/components/Inputs/Controls/Toggle/Toggle.d.ts +4 -4
  92. package/dist/components/Inputs/Controls/Toggle/Toggle.js +5 -5
  93. package/dist/components/Inputs/Controls/Toggle/Toggle.stories.js +4 -4
  94. package/dist/components/Inputs/Dates/DatePicker/DatePicker.d.ts.map +1 -1
  95. package/dist/components/Inputs/Dates/DatePicker/DatePicker.js +5 -4
  96. package/dist/components/Inputs/Dates/DatePicker/DatePicker.stories.js +4 -4
  97. package/dist/components/Inputs/Dropdowns/CascadingSelect/CascadingSelect.d.ts.map +1 -1
  98. package/dist/components/Inputs/Dropdowns/CascadingSelect/CascadingSelect.js +6 -5
  99. package/dist/components/Inputs/Dropdowns/CascadingSelect/CascadingSelect.stories.js +5 -5
  100. package/dist/components/Inputs/Dropdowns/FontSelect/FontSelect.js +3 -3
  101. package/dist/components/Inputs/Dropdowns/FontSelect/FontSelect.stories.js +5 -5
  102. package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.d.ts.map +1 -1
  103. package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.js +7 -6
  104. package/dist/components/Inputs/Dropdowns/MultiSelect/MultiSelect.stories.js +5 -5
  105. package/dist/components/Inputs/Dropdowns/Select/Select.d.ts.map +1 -1
  106. package/dist/components/Inputs/Dropdowns/Select/Select.js +6 -5
  107. package/dist/components/Inputs/Dropdowns/Select/Select.stories.js +4 -4
  108. package/dist/components/Inputs/Dropdowns/shared/sizes.js +18 -18
  109. package/dist/components/Inputs/Sliders/Slider/Slider.d.ts.map +1 -1
  110. package/dist/components/Inputs/Sliders/Slider/Slider.js +15 -14
  111. package/dist/components/Inputs/Sliders/VolumeSlider/VolumeSlider.d.ts.map +1 -1
  112. package/dist/components/Inputs/Sliders/VolumeSlider/VolumeSlider.js +5 -4
  113. package/dist/components/Inputs/Sliders/shared/sizes.d.ts +9 -9
  114. package/dist/components/Inputs/Sliders/shared/sizes.js +9 -9
  115. package/dist/components/Inputs/TextInputs/AutoComplete/AutoComplete.d.ts.map +1 -1
  116. package/dist/components/Inputs/TextInputs/AutoComplete/AutoComplete.js +5 -4
  117. package/dist/components/Inputs/TextInputs/AutoComplete/AutoComplete.stories.js +5 -5
  118. package/dist/components/Inputs/TextInputs/NumberInput/NumberInput.js +10 -10
  119. package/dist/components/Inputs/TextInputs/NumberInput/NumberInput.stories.js +5 -5
  120. package/dist/components/Inputs/TextInputs/PasswordInput/PasswordInput.js +8 -8
  121. package/dist/components/Inputs/TextInputs/PasswordInput/PasswordInput.stories.js +5 -5
  122. package/dist/components/Inputs/TextInputs/SearchBar/SearchBar.d.ts.map +1 -1
  123. package/dist/components/Inputs/TextInputs/SearchBar/SearchBar.js +4 -3
  124. package/dist/components/Inputs/TextInputs/SearchBar/SearchBar.stories.js +5 -5
  125. package/dist/components/Inputs/TextInputs/TextArea/TextArea.d.ts.map +1 -1
  126. package/dist/components/Inputs/TextInputs/TextArea/TextArea.js +6 -5
  127. package/dist/components/Inputs/TextInputs/TextArea/TextArea.stories.js +5 -5
  128. package/dist/components/Inputs/TextInputs/TextInput/TextInput.js +5 -5
  129. package/dist/components/Inputs/TextInputs/TextInput/TextInput.stories.js +5 -5
  130. package/dist/components/Inputs/TextInputs/shared/sizes.d.ts +6 -6
  131. package/dist/components/Inputs/TextInputs/shared/sizes.js +3 -3
  132. package/dist/components/Layout/AutoGrid/AutoGrid.stories.d.ts +7 -0
  133. package/dist/components/Layout/AutoGrid/AutoGrid.stories.d.ts.map +1 -0
  134. package/dist/components/Layout/AutoGrid/AutoGrid.stories.js +78 -0
  135. package/dist/components/Layout/Box/Box.d.ts +1 -3
  136. package/dist/components/Layout/Box/Box.d.ts.map +1 -1
  137. package/dist/components/Layout/Box/Box.js +2 -2
  138. package/dist/components/Layout/Box/Box.stories.d.ts +1 -2
  139. package/dist/components/Layout/Box/Box.stories.d.ts.map +1 -1
  140. package/dist/components/Layout/Box/Box.stories.js +28 -98
  141. package/dist/components/Layout/Card/Card.d.ts +1 -1
  142. package/dist/components/Layout/Card/Card.d.ts.map +1 -1
  143. package/dist/components/Layout/Card/Card.js +2 -2
  144. package/dist/components/Layout/Card/Card.stories.d.ts +10 -0
  145. package/dist/components/Layout/Card/Card.stories.d.ts.map +1 -0
  146. package/dist/components/Layout/Card/Card.stories.js +92 -0
  147. package/dist/components/Layout/Center/Center.d.ts +2 -3
  148. package/dist/components/Layout/Center/Center.d.ts.map +1 -1
  149. package/dist/components/Layout/Center/Center.js +2 -2
  150. package/dist/components/Layout/Center/Center.stories.d.ts +8 -0
  151. package/dist/components/Layout/Center/Center.stories.d.ts.map +1 -0
  152. package/dist/components/Layout/Center/Center.stories.js +70 -0
  153. package/dist/components/Layout/Divider/Divider.stories.d.ts +7 -0
  154. package/dist/components/Layout/Divider/Divider.stories.d.ts.map +1 -0
  155. package/dist/components/Layout/Divider/Divider.stories.js +67 -0
  156. package/dist/components/Layout/Frame/Frame.js +1 -1
  157. package/dist/components/Layout/Frame/Frame.stories.d.ts +8 -0
  158. package/dist/components/Layout/Frame/Frame.stories.d.ts.map +1 -0
  159. package/dist/components/Layout/Frame/Frame.stories.js +78 -0
  160. package/dist/components/Layout/Grid/Grid.stories.d.ts +8 -0
  161. package/dist/components/Layout/Grid/Grid.stories.d.ts.map +1 -0
  162. package/dist/components/Layout/Grid/Grid.stories.js +72 -0
  163. package/dist/components/Layout/Group/Group.stories.d.ts +10 -0
  164. package/dist/components/Layout/Group/Group.stories.d.ts.map +1 -0
  165. package/dist/components/Layout/Group/Group.stories.js +114 -0
  166. package/dist/components/Layout/Loader/Loader.stories.d.ts +10 -0
  167. package/dist/components/Layout/Loader/Loader.stories.d.ts.map +1 -0
  168. package/dist/components/Layout/Loader/Loader.stories.js +68 -0
  169. package/dist/components/Layout/SectionCard/SectionCard.d.ts +3 -5
  170. package/dist/components/Layout/SectionCard/SectionCard.d.ts.map +1 -1
  171. package/dist/components/Layout/SectionCard/SectionCard.js +3 -8
  172. package/dist/components/Layout/SectionCard/SectionCard.stories.d.ts +9 -0
  173. package/dist/components/Layout/SectionCard/SectionCard.stories.d.ts.map +1 -0
  174. package/dist/components/Layout/SectionCard/SectionCard.stories.js +98 -0
  175. package/dist/components/Layout/Stack/Stack.stories.d.ts +1 -2
  176. package/dist/components/Layout/Stack/Stack.stories.d.ts.map +1 -1
  177. package/dist/components/Layout/Stack/Stack.stories.js +47 -66
  178. package/dist/components/Layout/Table/Table.stories.d.ts.map +1 -1
  179. package/dist/components/Layout/Table/Table.stories.js +4 -3
  180. package/dist/components/Layout/Tabs/Tabs.d.ts +2 -4
  181. package/dist/components/Layout/Tabs/Tabs.d.ts.map +1 -1
  182. package/dist/components/Layout/Tabs/Tabs.js +7 -6
  183. package/dist/components/Layout/Tabs/Tabs.stories.d.ts +9 -0
  184. package/dist/components/Layout/Tabs/Tabs.stories.d.ts.map +1 -0
  185. package/dist/components/Layout/Tabs/Tabs.stories.js +141 -0
  186. package/dist/components/Misc/IconBadge/IconBadge.js +1 -1
  187. package/dist/components/Misc/IconBadge/IconBadge.stories.d.ts +7 -0
  188. package/dist/components/Misc/IconBadge/IconBadge.stories.d.ts.map +1 -0
  189. package/dist/components/Misc/IconBadge/IconBadge.stories.js +48 -0
  190. package/dist/components/Misc/Stepper/Step.d.ts +16 -0
  191. package/dist/components/Misc/Stepper/Step.d.ts.map +1 -0
  192. package/dist/components/Misc/Stepper/Step.js +7 -0
  193. package/dist/components/Misc/Stepper/Step.stories.d.ts +477 -0
  194. package/dist/components/Misc/Stepper/Step.stories.d.ts.map +1 -0
  195. package/dist/components/Misc/Stepper/Step.stories.js +83 -0
  196. package/dist/components/Misc/Stepper/Stepper.d.ts +10 -0
  197. package/dist/components/Misc/Stepper/Stepper.d.ts.map +1 -0
  198. package/dist/components/Misc/Stepper/Stepper.js +72 -0
  199. package/dist/components/Misc/Stepper/Stepper.stories.d.ts +13 -0
  200. package/dist/components/Misc/Stepper/Stepper.stories.d.ts.map +1 -0
  201. package/dist/components/Misc/Stepper/Stepper.stories.js +126 -0
  202. package/dist/components/Misc/Stepper/variants.d.ts +54 -0
  203. package/dist/components/Misc/Stepper/variants.d.ts.map +1 -0
  204. package/dist/components/Misc/Stepper/variants.js +48 -0
  205. package/dist/components/Typography/CollapsibleText/CollapsibleText.d.ts.map +1 -1
  206. package/dist/components/Typography/CollapsibleText/CollapsibleText.js +2 -1
  207. package/dist/components/Typography/CollapsibleText/CollapsibleText.stories.d.ts.map +1 -1
  208. package/dist/components/Typography/CollapsibleText/CollapsibleText.stories.js +4 -3
  209. package/dist/components/Typography/CollapsibleTitle/CollapsibleTitle.d.ts.map +1 -1
  210. package/dist/components/Typography/CollapsibleTitle/CollapsibleTitle.js +2 -1
  211. package/dist/components/Typography/CollapsibleTitle/CollapsibleTitle.stories.d.ts.map +1 -1
  212. package/dist/components/Typography/CollapsibleTitle/CollapsibleTitle.stories.js +4 -3
  213. package/dist/components/Typography/Formula/Formula.d.ts.map +1 -1
  214. package/dist/components/Typography/Formula/Formula.js +5 -4
  215. package/dist/components/Typography/Formula/Formula.stories.d.ts +10 -0
  216. package/dist/components/Typography/Formula/Formula.stories.d.ts.map +1 -0
  217. package/dist/components/Typography/Formula/Formula.stories.js +85 -0
  218. package/dist/components/Typography/Fraction/Fraction.d.ts.map +1 -1
  219. package/dist/components/Typography/Fraction/Fraction.js +2 -1
  220. package/dist/components/Typography/Fraction/Fraction.stories.d.ts +9 -0
  221. package/dist/components/Typography/Fraction/Fraction.stories.d.ts.map +1 -0
  222. package/dist/components/Typography/Fraction/Fraction.stories.js +87 -0
  223. package/dist/components/Typography/Text/Text.d.ts.map +1 -1
  224. package/dist/components/Typography/Text/Text.js +6 -0
  225. package/dist/components/Typography/Text/Text.stories.d.ts +10 -0
  226. package/dist/components/Typography/Text/Text.stories.d.ts.map +1 -0
  227. package/dist/components/Typography/Text/Text.stories.js +101 -0
  228. package/dist/components/Typography/Title/Title.stories.d.ts +9 -0
  229. package/dist/components/Typography/Title/Title.stories.d.ts.map +1 -0
  230. package/dist/components/Typography/Title/Title.stories.js +98 -0
  231. package/dist/components/index.d.ts +3 -0
  232. package/dist/components/index.d.ts.map +1 -1
  233. package/dist/components/index.js +3 -0
  234. package/dist/constants/breakpoints.d.ts +1 -1
  235. package/dist/constants/breakpoints.js +1 -1
  236. package/dist/constants/colors.d.ts +1 -0
  237. package/dist/constants/colors.d.ts.map +1 -1
  238. package/dist/constants/colors.js +1 -0
  239. package/dist/constants/font.js +10 -10
  240. package/dist/constants/index.d.ts +1 -0
  241. package/dist/constants/index.d.ts.map +1 -1
  242. package/dist/constants/index.js +1 -0
  243. package/dist/constants/spacing.d.ts +12 -0
  244. package/dist/constants/spacing.d.ts.map +1 -0
  245. package/dist/constants/spacing.js +11 -0
  246. package/dist/docs/AIGeneratedBanner.d.ts +2 -0
  247. package/dist/docs/AIGeneratedBanner.d.ts.map +1 -0
  248. package/dist/docs/AIGeneratedBanner.js +5 -0
  249. package/dist/docs/design/Colors.stories.d.ts +7 -0
  250. package/dist/docs/design/Colors.stories.d.ts.map +1 -0
  251. package/dist/docs/design/Colors.stories.js +29 -0
  252. package/dist/docs/design/Spacing.stories.d.ts +6 -0
  253. package/dist/docs/design/Spacing.stories.d.ts.map +1 -0
  254. package/dist/docs/design/Spacing.stories.js +24 -0
  255. package/dist/docs/hooks/Copy.stories.d.ts +6 -0
  256. package/dist/docs/hooks/Copy.stories.d.ts.map +1 -0
  257. package/dist/docs/hooks/Copy.stories.js +61 -0
  258. package/dist/hooks/useConfirmationModal.d.ts.map +1 -1
  259. package/dist/hooks/useConfirmationModal.js +10 -9
  260. package/dist/hooks/useInfoModal.d.ts.map +1 -1
  261. package/dist/hooks/useInfoModal.js +10 -9
  262. package/dist/hooks/useMediaQuery.d.ts +2 -2
  263. package/dist/hooks/useMediaQuery.js +6 -6
  264. package/package.json +43 -32
@@ -127,7 +127,7 @@ export const Default = {
127
127
  },
128
128
  };
129
129
  export const Sizes = {
130
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(DatePicker, { size: "sm" }), _jsx(DatePicker, {}), _jsx(DatePicker, { size: "lg" })] })),
130
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(DatePicker, { size: "sm" }), _jsx(DatePicker, {}), _jsx(DatePicker, { size: "lg" })] })),
131
131
  parameters: {
132
132
  docs: {
133
133
  source: {
@@ -137,7 +137,7 @@ export const Sizes = {
137
137
  },
138
138
  };
139
139
  export const States = {
140
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(DatePicker, { label: "Normal DatePicker" }), _jsx(DatePicker, { label: "Disabled DatePicker", disabled: true }), _jsx(DatePicker, { label: "Required DatePicker", required: true }), _jsx(DatePicker, { label: "DatePicker with Description", description: "Please select your preferred date" }), _jsx(DatePicker, { label: "DatePicker with Error", error: "This field is required" })] })),
140
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(DatePicker, { label: "Normal DatePicker" }), _jsx(DatePicker, { label: "Disabled DatePicker", disabled: true }), _jsx(DatePicker, { label: "Required DatePicker", required: true }), _jsx(DatePicker, { label: "DatePicker with Description", description: "Please select your preferred date" }), _jsx(DatePicker, { label: "DatePicker with Error", error: "This field is required" })] })),
141
141
  parameters: {
142
142
  docs: {
143
143
  source: {
@@ -147,7 +147,7 @@ export const States = {
147
147
  },
148
148
  };
149
149
  export const WithAndWithoutIcon = {
150
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(DatePicker, { label: "With Icon", placeholder: "Select date", showIcon: true }), _jsx(DatePicker, { label: "Without Icon", placeholder: "Select date", showIcon: false })] })),
150
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(DatePicker, { label: "With Icon", placeholder: "Select date", showIcon: true }), _jsx(DatePicker, { label: "Without Icon", placeholder: "Select date", showIcon: false })] })),
151
151
  parameters: {
152
152
  docs: {
153
153
  source: {
@@ -167,7 +167,7 @@ export const FullWidth = {
167
167
  },
168
168
  };
169
169
  export const CustomStyles = {
170
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(DatePicker, { label: "Custom Styled DatePicker", placeholder: "Select date", styles: {
170
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(DatePicker, { label: "Custom Styled DatePicker", placeholder: "Select date", styles: {
171
171
  input: {
172
172
  borderColor: '#ff6b6b',
173
173
  '&:focus': {
@@ -1 +1 @@
1
- {"version":3,"file":"CascadingSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Dropdowns/CascadingSelect/CascadingSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAU,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,YAAY,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,wBAAwB,EAAE,CAAC;CACvC,CAAC;AAEF,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,MAAM,CAAC;IAC/E,IAAI,CAAC,EAAE,wBAAwB,EAAE,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,GAAI,wEAAiH,oBAAoB,4CA+E7J,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"CascadingSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Dropdowns/CascadingSelect/CascadingSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAU,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIvD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,YAAY,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,wBAAwB,EAAE,CAAC;CACvC,CAAC;AAEF,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,MAAM,CAAC;IAC/E,IAAI,CAAC,EAAE,wBAAwB,EAAE,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,GAAI,wEAAiH,oBAAoB,4CA+E7J,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -5,9 +5,10 @@ import { componentSizes } from '../shared/sizes';
5
5
  import { Select } from '../Select/Select';
6
6
  import { Text } from '../../../Typography/Text/Text';
7
7
  import { fontBase } from '../../../../constants/font';
8
+ import { spacing } from '../../../../constants/spacing';
8
9
  const CascadingSelect = ({ data = [], value, placeholder = 'Select an option', size = 'md', width, fullWidth = false, styles, ...props }) => {
9
10
  const selectedSize = componentSizes[size];
10
- const computedWidth = fullWidth ? '100%' : width || `${selectedSize.minWidth}rem`;
11
+ const computedWidth = fullWidth ? '100%' : width || `${selectedSize.minWidth}px`;
11
12
  // Flatten the hierarchy into a flat array with depth information
12
13
  const flattenHierarchy = (items, depth = 0) => {
13
14
  const result = [];
@@ -21,7 +22,7 @@ const CascadingSelect = ({ data = [], value, placeholder = 'Select an option', s
21
22
  };
22
23
  const flattenedData = flattenHierarchy(data);
23
24
  const DropdownItem = ({ value, label, icon, depth, ...others }) => {
24
- const indentLevel = depth * 0.8;
25
+ const indentLevel = depth * 8;
25
26
  return (_jsx(Box, { sx: {
26
27
  display: 'flex',
27
28
  alignItems: 'center',
@@ -29,7 +30,7 @@ const CascadingSelect = ({ data = [], value, placeholder = 'Select an option', s
29
30
  borderRadius: '8px',
30
31
  transition: 'background-color 200ms ease-in-out',
31
32
  cursor: 'pointer',
32
- }, ...others, children: _jsxs(Group, { spacing: "0.5rem", sx: { marginLeft: `${indentLevel}rem` }, children: [icon && _jsx(Box, { sx: { display: 'flex', alignItems: 'center', color: neutral[200], fontSize: selectedSize.fontSize }, children: icon }), _jsx(Text, { style: { ...fontBase, color: neutral[200], fontSize: selectedSize.fontSize }, children: label })] }) }));
33
+ }, ...others, children: _jsxs(Group, { spacing: spacing.xs, sx: { marginLeft: `${indentLevel}px` }, children: [icon && _jsx(Box, { sx: { display: 'flex', alignItems: 'center', color: neutral[200], fontSize: selectedSize.fontSize }, children: icon }), _jsx(Text, { style: { ...fontBase, color: neutral[200], fontSize: selectedSize.fontSize }, children: label })] }) }));
33
34
  };
34
35
  const style = {
35
36
  input: {
@@ -37,7 +38,7 @@ const CascadingSelect = ({ data = [], value, placeholder = 'Select an option', s
37
38
  border: `1px solid ${neutral[100]}`,
38
39
  borderRadius: '8px',
39
40
  transition: 'all 200ms ease-in-out',
40
- height: `${selectedSize.height}rem`,
41
+ height: `${selectedSize.height}px`,
41
42
  ...fontBase,
42
43
  fontSize: selectedSize.fontSize,
43
44
  padding: selectedSize.inputPadding,
@@ -48,7 +49,7 @@ const CascadingSelect = ({ data = [], value, placeholder = 'Select an option', s
48
49
  transition: 'background-color 200ms ease-in-out',
49
50
  padding: 0,
50
51
  fontSize: selectedSize.fontSize,
51
- marginBottom: '0.2rem',
52
+ marginBottom: spacing.xxs,
52
53
  '&[data-selected]': {
53
54
  backgroundColor: neutral[50],
54
55
  color: neutral[200],
@@ -228,7 +228,7 @@ export const Default = {
228
228
  },
229
229
  };
230
230
  export const Sizes = {
231
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(CascadingSelect, { size: "sm", data: simpleHierarchyData, placeholder: "Small Cascading Select" }), _jsx(CascadingSelect, { size: "md", data: simpleHierarchyData, placeholder: "Medium Cascading Select (Default)" }), _jsx(CascadingSelect, { size: "lg", data: simpleHierarchyData, placeholder: "Large Cascading Select" })] })),
231
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(CascadingSelect, { size: "sm", data: simpleHierarchyData, placeholder: "Small Cascading Select" }), _jsx(CascadingSelect, { size: "md", data: simpleHierarchyData, placeholder: "Medium Cascading Select (Default)" }), _jsx(CascadingSelect, { size: "lg", data: simpleHierarchyData, placeholder: "Large Cascading Select" })] })),
232
232
  parameters: {
233
233
  docs: {
234
234
  source: {
@@ -238,7 +238,7 @@ export const Sizes = {
238
238
  },
239
239
  };
240
240
  export const WithIcons = {
241
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(CascadingSelect, { label: "Categories with Icons", data: categoryData, placeholder: "Select with icons" }), _jsx(CascadingSelect, { label: "Simple Hierarchy", data: simpleHierarchyData, placeholder: "Select without icons" })] })),
241
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(CascadingSelect, { label: "Categories with Icons", data: categoryData, placeholder: "Select with icons" }), _jsx(CascadingSelect, { label: "Simple Hierarchy", data: simpleHierarchyData, placeholder: "Select without icons" })] })),
242
242
  parameters: {
243
243
  docs: {
244
244
  source: {
@@ -248,7 +248,7 @@ export const WithIcons = {
248
248
  },
249
249
  };
250
250
  export const States = {
251
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(CascadingSelect, { label: "Normal Cascading Select", data: simpleHierarchyData, placeholder: "Select option" }), _jsx(CascadingSelect, { label: "Disabled Cascading Select", data: simpleHierarchyData, placeholder: "Select option", disabled: true }), _jsx(CascadingSelect, { label: "Required Cascading Select", data: simpleHierarchyData, placeholder: "Select option", required: true }), _jsx(CascadingSelect, { label: "Cascading Select with Description", description: "Please choose an option from the hierarchy", data: simpleHierarchyData, placeholder: "Select option" }), _jsx(CascadingSelect, { label: "Cascading Select with Error", error: "This field is required", data: simpleHierarchyData, placeholder: "Select option" })] })),
251
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(CascadingSelect, { label: "Normal Cascading Select", data: simpleHierarchyData, placeholder: "Select option" }), _jsx(CascadingSelect, { label: "Disabled Cascading Select", data: simpleHierarchyData, placeholder: "Select option", disabled: true }), _jsx(CascadingSelect, { label: "Required Cascading Select", data: simpleHierarchyData, placeholder: "Select option", required: true }), _jsx(CascadingSelect, { label: "Cascading Select with Description", description: "Please choose an option from the hierarchy", data: simpleHierarchyData, placeholder: "Select option" }), _jsx(CascadingSelect, { label: "Cascading Select with Error", error: "This field is required", data: simpleHierarchyData, placeholder: "Select option" })] })),
252
252
  parameters: {
253
253
  docs: {
254
254
  source: {
@@ -258,7 +258,7 @@ export const States = {
258
258
  },
259
259
  };
260
260
  export const WithFeatures = {
261
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(CascadingSelect, { label: "Clearable Cascading Select", data: simpleHierarchyData, placeholder: "Select option", clearable: true, value: "level2a" }), _jsx(CascadingSelect, { label: "Searchable Cascading Select", data: categoryData, placeholder: "Search categories", searchable: true })] })),
261
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(CascadingSelect, { label: "Clearable Cascading Select", data: simpleHierarchyData, placeholder: "Select option", clearable: true, value: "level2a" }), _jsx(CascadingSelect, { label: "Searchable Cascading Select", data: categoryData, placeholder: "Search categories", searchable: true })] })),
262
262
  parameters: {
263
263
  docs: {
264
264
  source: {
@@ -326,7 +326,7 @@ export const DeepHierarchy = {
326
326
  },
327
327
  };
328
328
  export const CustomStyles = {
329
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(CascadingSelect, { label: "Custom Styled Cascading Select", data: simpleHierarchyData, placeholder: "Select option", styles: {
329
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(CascadingSelect, { label: "Custom Styled Cascading Select", data: simpleHierarchyData, placeholder: "Select option", styles: {
330
330
  input: {
331
331
  borderColor: '#ff6b6b',
332
332
  '&:focus': {
@@ -6,13 +6,13 @@ import { Select } from '../Select/Select';
6
6
  import Fonts from './font-options';
7
7
  const FontSelect = ({ data, value, placeholder = 'Select a font', size = 'md', width, fullWidth = false, styles, ...props }) => {
8
8
  const selectedSize = componentSizes[size];
9
- const computedWidth = fullWidth ? '100%' : width || `${selectedSize.minWidth}rem`;
9
+ const computedWidth = fullWidth ? '100%' : width || `${selectedSize.minWidth}px`;
10
10
  const DropdownItem = ({ value, label, ...others }) => (_jsx(Box, { title: label, children: _jsx("div", { style: {
11
11
  fontFamily: value,
12
12
  fontSize: selectedSize.fontSize,
13
13
  color: neutral[200],
14
14
  padding: selectedSize.dropdownPadding,
15
- borderRadius: '0.5rem',
15
+ borderRadius: '5px',
16
16
  transition: 'background-color 200ms ease-in-out',
17
17
  }, ...others, children: label }) }));
18
18
  const style = {
@@ -22,7 +22,7 @@ const FontSelect = ({ data, value, placeholder = 'Select a font', size = 'md', w
22
22
  border: `1px solid ${neutral[100]}`,
23
23
  borderRadius: '8px',
24
24
  transition: 'all 200ms ease-in-out',
25
- height: `${selectedSize.height}rem`,
25
+ height: `${selectedSize.height}px`,
26
26
  fontSize: selectedSize.fontSize,
27
27
  padding: selectedSize.inputPadding,
28
28
  },
@@ -134,7 +134,7 @@ export const Default = {
134
134
  },
135
135
  };
136
136
  export const Variants = {
137
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(FontSelect, { label: "Default Font Select" }), _jsx(FontSelect, { label: "With Custom Data", data: [
137
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(FontSelect, { label: "Default Font Select" }), _jsx(FontSelect, { label: "With Custom Data", data: [
138
138
  { value: 'Arial', label: 'Arial' },
139
139
  { value: 'Helvetica', label: 'Helvetica' },
140
140
  { value: 'Times New Roman', label: 'Times New Roman' },
@@ -149,7 +149,7 @@ export const Variants = {
149
149
  },
150
150
  };
151
151
  export const Sizes = {
152
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(FontSelect, { size: "sm" }), _jsx(FontSelect, { size: "md" }), _jsx(FontSelect, { size: "lg" })] })),
152
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(FontSelect, { size: "sm" }), _jsx(FontSelect, { size: "md" }), _jsx(FontSelect, { size: "lg" })] })),
153
153
  parameters: {
154
154
  docs: {
155
155
  source: {
@@ -159,7 +159,7 @@ export const Sizes = {
159
159
  },
160
160
  };
161
161
  export const States = {
162
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(FontSelect, { label: "Normal Font Select" }), _jsx(FontSelect, { label: "Disabled Font Select", disabled: true }), _jsx(FontSelect, { label: "Required Font Select", required: true }), _jsx(FontSelect, { label: "Font Select with Description", description: "Choose your preferred font" }), _jsx(FontSelect, { label: "Font Select with Error", error: "Please select a font" })] })),
162
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(FontSelect, { label: "Normal Font Select" }), _jsx(FontSelect, { label: "Disabled Font Select", disabled: true }), _jsx(FontSelect, { label: "Required Font Select", required: true }), _jsx(FontSelect, { label: "Font Select with Description", description: "Choose your preferred font" }), _jsx(FontSelect, { label: "Font Select with Error", error: "Please select a font" })] })),
163
163
  parameters: {
164
164
  docs: {
165
165
  source: {
@@ -169,7 +169,7 @@ export const States = {
169
169
  },
170
170
  };
171
171
  export const AdditionalFunctionality = {
172
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(FontSelect, { label: "Clearable Font Select", clearable: true, value: "Poppins" }), _jsx(FontSelect, { label: "Searchable Font Select", searchable: true })] })),
172
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(FontSelect, { label: "Clearable Font Select", clearable: true, value: "Poppins" }), _jsx(FontSelect, { label: "Searchable Font Select", searchable: true })] })),
173
173
  parameters: {
174
174
  docs: {
175
175
  source: {
@@ -179,7 +179,7 @@ export const AdditionalFunctionality = {
179
179
  },
180
180
  };
181
181
  export const CustomStyling = {
182
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(FontSelect, { label: "Custom Styled Font Select", styles: {
182
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(FontSelect, { label: "Custom Styled Font Select", styles: {
183
183
  input: {
184
184
  borderColor: '#ff6b6b',
185
185
  '&:focus': {
@@ -1 +1 @@
1
- {"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Dropdowns/MultiSelect/MultiSelect.tsx"],"names":[],"mappings":"AACA,OAAO,EAAqC,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAC/G,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,UAAU,gBAAiB,SAAQ,uBAAuB;IACxD,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,WAAW,GAAI,2DAA6F,gBAAgB,4CA0FxI,CAAC"}
1
+ {"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Dropdowns/MultiSelect/MultiSelect.tsx"],"names":[],"mappings":"AACA,OAAO,EAAqC,gBAAgB,IAAI,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAC/G,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,UAAU,gBAAiB,SAAQ,uBAAuB;IACxD,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,WAAW,GAAI,2DAA6F,gBAAgB,4CA0FxI,CAAC"}
@@ -2,14 +2,15 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { MultiSelect as MantineMultiSelect } from '@mantine/core';
3
3
  import { neutral, primary } from '../../../../constants/colors';
4
4
  import { fontBase } from '../../../../constants/font';
5
+ import { spacing } from '../../../../constants/spacing';
5
6
  import { componentSizes } from '../shared/sizes';
6
7
  export const MultiSelect = ({ size = 'md', width, fullWidth = false, placeholder = 'Select options', styles, ...props }) => {
7
8
  const selectedSize = componentSizes[size];
8
- const computedWidth = fullWidth ? '100%' : width || `${selectedSize.maxWidth}rem`;
9
+ const computedWidth = fullWidth ? '100%' : width || `${selectedSize.maxWidth}px`;
9
10
  const style = {
10
11
  input: {
11
12
  height: 'auto',
12
- minHeight: `${selectedSize.height}rem`,
13
+ minHeight: `${selectedSize.height}px`,
13
14
  padding: selectedSize.inputPadding,
14
15
  display: 'flex',
15
16
  alignItems: 'center',
@@ -32,7 +33,7 @@ export const MultiSelect = ({ size = 'md', width, fullWidth = false, placeholder
32
33
  },
33
34
  item: {
34
35
  padding: selectedSize.dropdownPadding,
35
- marginBottom: '0.5rem',
36
+ marginBottom: spacing.xs,
36
37
  borderRadius: '8px',
37
38
  ...fontBase,
38
39
  fontSize: selectedSize.fontSize,
@@ -56,7 +57,7 @@ export const MultiSelect = ({ size = 'md', width, fullWidth = false, placeholder
56
57
  padding: selectedSize.valuePadding,
57
58
  borderRadius: '25px',
58
59
  ...fontBase,
59
- fontSize: `calc(${selectedSize.fontSize} - 0.125rem)`,
60
+ fontSize: `calc(${selectedSize.fontSize} - 1.25px)`,
60
61
  color: primary[300],
61
62
  backgroundColor: primary[50],
62
63
  '&:hover': {
@@ -64,7 +65,7 @@ export const MultiSelect = ({ size = 'md', width, fullWidth = false, placeholder
64
65
  },
65
66
  },
66
67
  defaultValueRemove: {
67
- marginLeft: '0.75rem',
68
+ marginLeft: spacing.sm,
68
69
  borderRadius: '50%',
69
70
  display: 'flex',
70
71
  alignItems: 'center',
@@ -77,7 +78,7 @@ export const MultiSelect = ({ size = 'md', width, fullWidth = false, placeholder
77
78
  },
78
79
  label: {
79
80
  ...fontBase,
80
- fontSize: `calc(${selectedSize.fontSize} - 0.1rem)`,
81
+ fontSize: `calc(${selectedSize.fontSize} - 1px)`,
81
82
  color: neutral[200],
82
83
  },
83
84
  defaultValueLabel: {
@@ -167,7 +167,7 @@ export const Default = {
167
167
  },
168
168
  };
169
169
  export const Variants = {
170
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(MultiSelect, { label: "Basic Multi Select", data: basicOptions }), _jsx(MultiSelect, { label: "Tag Selection", data: tagOptions, placeholder: "Select technologies" })] })),
170
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(MultiSelect, { label: "Basic Multi Select", data: basicOptions }), _jsx(MultiSelect, { label: "Tag Selection", data: tagOptions, placeholder: "Select technologies" })] })),
171
171
  parameters: {
172
172
  docs: {
173
173
  source: {
@@ -177,7 +177,7 @@ export const Variants = {
177
177
  },
178
178
  };
179
179
  export const Sizes = {
180
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(MultiSelect, { size: "sm", label: "Small MultiSelect", data: basicOptions }), _jsx(MultiSelect, { size: "md", label: "Medium MultiSelect (Default)", data: basicOptions }), _jsx(MultiSelect, { size: "lg", label: "Large MultiSelect", data: basicOptions })] })),
180
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(MultiSelect, { size: "sm", label: "Small MultiSelect", data: basicOptions }), _jsx(MultiSelect, { size: "md", label: "Medium MultiSelect (Default)", data: basicOptions }), _jsx(MultiSelect, { size: "lg", label: "Large MultiSelect", data: basicOptions })] })),
181
181
  parameters: {
182
182
  docs: {
183
183
  source: {
@@ -188,7 +188,7 @@ export const Sizes = {
188
188
  },
189
189
  };
190
190
  export const States = {
191
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(MultiSelect, { label: "Normal Multi Select", data: basicOptions }), _jsx(MultiSelect, { label: "Disabled Multi Select", data: basicOptions, disabled: true }), _jsx(MultiSelect, { label: "Required Multi Select", data: basicOptions, required: true }), _jsx(MultiSelect, { label: "Multi Select with Description", description: "Select multiple options", data: basicOptions }), _jsx(MultiSelect, { label: "Multi Select with Error", error: "Please select at least one option", data: basicOptions })] })),
191
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(MultiSelect, { label: "Normal Multi Select", data: basicOptions }), _jsx(MultiSelect, { label: "Disabled Multi Select", data: basicOptions, disabled: true }), _jsx(MultiSelect, { label: "Required Multi Select", data: basicOptions, required: true }), _jsx(MultiSelect, { label: "Multi Select with Description", description: "Select multiple options", data: basicOptions }), _jsx(MultiSelect, { label: "Multi Select with Error", error: "Please select at least one option", data: basicOptions })] })),
192
192
  parameters: {
193
193
  docs: {
194
194
  source: {
@@ -198,7 +198,7 @@ export const States = {
198
198
  },
199
199
  };
200
200
  export const AdditionalFunctionality = {
201
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(MultiSelect, { label: "Tags", placeholder: "Add or select tags", creatable: true, clearable: true, data: tagOptions }), _jsx(MultiSelect, { label: "Limited Selection", data: basicOptions, maxSelectedValues: 3, placeholder: "Max 3 selections" })] })),
201
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(MultiSelect, { label: "Tags", placeholder: "Add or select tags", creatable: true, clearable: true, data: tagOptions }), _jsx(MultiSelect, { label: "Limited Selection", data: basicOptions, maxSelectedValues: 3, placeholder: "Max 3 selections" })] })),
202
202
  parameters: {
203
203
  docs: {
204
204
  source: {
@@ -216,7 +216,7 @@ export const AdditionalFunctionality = {
216
216
  },
217
217
  };
218
218
  export const CustomStyling = {
219
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(MultiSelect, { label: "Custom Styled Multi Select", data: basicOptions, styles: {
219
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(MultiSelect, { label: "Custom Styled Multi Select", data: basicOptions, styles: {
220
220
  input: {
221
221
  borderColor: '#ff6b6b',
222
222
  '&:focus': {
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Dropdowns/Select/Select.tsx"],"names":[],"mappings":"AACA,OAAO,EAA2B,WAAW,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAC3F,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,WAAW,WAAY,SAAQ,kBAAkB;IACrD,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,MAAM,GAAI,2DAA+F,WAAW,4CAqEhI,CAAC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Dropdowns/Select/Select.tsx"],"names":[],"mappings":"AACA,OAAO,EAA2B,WAAW,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAC3F,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,WAAW,WAAY,SAAQ,kBAAkB;IACrD,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,MAAM,GAAI,2DAA+F,WAAW,4CAqEhI,CAAC"}
@@ -2,15 +2,16 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Select as MantineSelect } from '@mantine/core';
3
3
  import { neutral, red } from '../../../../constants/colors';
4
4
  import { fontBase } from '../../../../constants/font';
5
+ import { spacing } from '../../../../constants/spacing';
5
6
  import { componentSizes } from '../shared/sizes';
6
7
  export const Select = ({ size = 'md', width, fullWidth = false, placeholder = 'Select an option', styles, ...props }) => {
7
8
  const selectedSize = componentSizes[size];
8
9
  const style = {
9
10
  root: {
10
- width: fullWidth ? '100%' : width || `${selectedSize.minWidth}rem`,
11
+ width: fullWidth ? '100%' : width || `${selectedSize.minWidth}px`,
11
12
  },
12
13
  input: {
13
- height: `${selectedSize.height}rem`,
14
+ height: `${selectedSize.height}px`,
14
15
  paddingRight: selectedSize.inputPadding,
15
16
  ...fontBase,
16
17
  fontSize: selectedSize.fontSize,
@@ -29,7 +30,7 @@ export const Select = ({ size = 'md', width, fullWidth = false, placeholder = 'S
29
30
  },
30
31
  label: {
31
32
  ...fontBase,
32
- fontSize: `calc(${selectedSize.fontSize} - 0.1rem)`,
33
+ fontSize: `calc(${selectedSize.fontSize} - 1px)`,
33
34
  color: neutral[200],
34
35
  },
35
36
  dropdown: {
@@ -39,7 +40,7 @@ export const Select = ({ size = 'md', width, fullWidth = false, placeholder = 'S
39
40
  },
40
41
  item: {
41
42
  padding: selectedSize.dropdownPadding,
42
- marginBottom: '0.2rem',
43
+ marginBottom: spacing.xxs,
43
44
  ...fontBase,
44
45
  fontSize: selectedSize.fontSize,
45
46
  color: neutral[200],
@@ -64,7 +65,7 @@ export const Select = ({ size = 'md', width, fullWidth = false, placeholder = 'S
64
65
  },
65
66
  error: {
66
67
  ...fontBase,
67
- fontSize: `calc(${selectedSize.fontSize} - 0.05rem)`,
68
+ fontSize: `calc(${selectedSize.fontSize} - 0.5px)`,
68
69
  color: red[200]
69
70
  },
70
71
  ...styles,
@@ -158,7 +158,7 @@ export const Default = {
158
158
  },
159
159
  };
160
160
  export const Sizes = {
161
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(Select, { size: "sm", label: "Small Select", data: basicOptions }), _jsx(Select, { size: "md", label: "Medium Select (Default)", data: basicOptions }), _jsx(Select, { size: "lg", label: "Large Select", data: basicOptions })] })),
161
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(Select, { size: "sm", label: "Small Select", data: basicOptions }), _jsx(Select, { size: "md", label: "Medium Select (Default)", data: basicOptions }), _jsx(Select, { size: "lg", label: "Large Select", data: basicOptions })] })),
162
162
  parameters: {
163
163
  docs: {
164
164
  source: {
@@ -169,7 +169,7 @@ export const Sizes = {
169
169
  },
170
170
  };
171
171
  export const States = {
172
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(Select, { label: "Normal Select", data: basicOptions, placeholder: "Select option" }), _jsx(Select, { label: "Disabled Select", data: basicOptions, placeholder: "Select option", disabled: true }), _jsx(Select, { label: "Required Select", data: basicOptions, placeholder: "Select option", required: true }), _jsx(Select, { label: "Select with Description", description: "Please choose an option", data: basicOptions, placeholder: "Select option" }), _jsx(Select, { label: "Select with Error", error: "This field is required", data: basicOptions, placeholder: "Select option" })] })),
172
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(Select, { label: "Normal Select", data: basicOptions, placeholder: "Select option" }), _jsx(Select, { label: "Disabled Select", data: basicOptions, placeholder: "Select option", disabled: true }), _jsx(Select, { label: "Required Select", data: basicOptions, placeholder: "Select option", required: true }), _jsx(Select, { label: "Select with Description", description: "Please choose an option", data: basicOptions, placeholder: "Select option" }), _jsx(Select, { label: "Select with Error", error: "This field is required", data: basicOptions, placeholder: "Select option" })] })),
173
173
  parameters: {
174
174
  docs: {
175
175
  source: {
@@ -179,7 +179,7 @@ export const States = {
179
179
  },
180
180
  };
181
181
  export const WithFeatures = {
182
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(Select, { label: "Searchable Select", placeholder: "Type to search...", searchable: true, data: countryOptions }), _jsx(Select, { label: "Clearable Select", data: basicOptions, clearable: true, value: "option1" })] })),
182
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(Select, { label: "Searchable Select", placeholder: "Type to search...", searchable: true, data: countryOptions }), _jsx(Select, { label: "Clearable Select", data: basicOptions, clearable: true, value: "option1" })] })),
183
183
  parameters: {
184
184
  docs: {
185
185
  source: {
@@ -206,7 +206,7 @@ export const FullWidth = {
206
206
  },
207
207
  };
208
208
  export const CustomStyles = {
209
- render: () => (_jsxs(Group, { gap: "2rem", children: [_jsx(Select, { label: "Custom Styled Select", data: basicOptions, placeholder: "Select option", styles: {
209
+ render: () => (_jsxs(Group, { gap: "20px", children: [_jsx(Select, { label: "Custom Styled Select", data: basicOptions, placeholder: "Select option", styles: {
210
210
  input: {
211
211
  borderColor: '#ff6b6b',
212
212
  '&:focus': {
@@ -1,33 +1,33 @@
1
1
  import { inputFontSize } from '../../../../constants/font';
2
2
  export const componentSizes = {
3
3
  sm: {
4
- height: 3.2,
4
+ height: 32,
5
5
  ...inputFontSize['sm'],
6
- inputPadding: '0.25rem 2rem 0.25rem 1rem',
7
- dropdownPadding: '0.5rem 1rem',
8
- valuePadding: '1rem 0.8rem 1rem 1rem',
9
- minWidth: 18,
10
- maxWidth: 25,
6
+ inputPadding: '2.5px 20px 2.5px 10px',
7
+ dropdownPadding: '5px 10px',
8
+ valuePadding: '10px 8px 10px 10px',
9
+ minWidth: 180,
10
+ maxWidth: 250,
11
11
  dropdownHeight: 260,
12
12
  },
13
13
  md: {
14
- height: 3.8,
14
+ height: 38,
15
15
  ...inputFontSize['md'],
16
- inputPadding: '0.5rem 2.25rem 0.5rem 1rem',
17
- dropdownPadding: '0.75rem 1.125rem',
18
- valuePadding: '1.25rem 1rem 1.25rem 1.25rem',
19
- minWidth: 22,
20
- maxWidth: 32.8,
16
+ inputPadding: '5px 22.5px 5px 10px',
17
+ dropdownPadding: '7.5px 11.25px',
18
+ valuePadding: '12.5px 10px 12.5px 12.5px',
19
+ minWidth: 220,
20
+ maxWidth: 328,
21
21
  dropdownHeight: 330,
22
22
  },
23
23
  lg: {
24
- height: 4.8,
24
+ height: 48,
25
25
  ...inputFontSize['lg'],
26
- inputPadding: '0.75rem 2.5rem 0.75rem 1rem',
27
- dropdownPadding: '1rem 1.5rem',
28
- valuePadding: '1.25rem 1rem 1.25rem 1.25rem',
29
- minWidth: 30,
30
- maxWidth: 42,
26
+ inputPadding: '7.5px 25px 7.5px 10px',
27
+ dropdownPadding: '10px 15px',
28
+ valuePadding: '12.5px 10px 12.5px 12.5px',
29
+ minWidth: 300,
30
+ maxWidth: 420,
31
31
  dropdownHeight: 385,
32
32
  },
33
33
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Sliders/Slider/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAA2B,WAAW,IAAI,kBAAkB,EAAa,MAAM,eAAe,CAAC;AAItG,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,WAAW,WAAY,SAAQ,kBAAkB;IACrD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;CACxC;AAED,QAAA,MAAM,MAAM,GAAI,kGAAyI,WAAW,4CA8FnK,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Sliders/Slider/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAA2B,WAAW,IAAI,kBAAkB,EAAa,MAAM,eAAe,CAAC;AAKtG,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,WAAW,WAAY,SAAQ,kBAAkB;IACrD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,OAAO,cAAc,CAAC;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;CACxC;AAED,QAAA,MAAM,MAAM,GAAI,kGAAyI,WAAW,4CA8FnK,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -3,17 +3,18 @@ import { Slider as MantineSlider } from '@mantine/core';
3
3
  import { useHover } from '@mantine/hooks';
4
4
  import { neutral, primary } from '../../../../constants/colors';
5
5
  import { fontBase, textStyle } from '../../../../constants/font';
6
+ import { spacing } from '../../../../constants/spacing';
6
7
  import { componentSizes } from '../shared/sizes';
7
8
  const Slider = ({ width, size = 'md', value, setValue, disabled = false, styles, animate = false, label, fullWidth = false, compact = false, ...props }) => {
8
9
  const { hovered, ref } = useHover();
9
10
  const sliderColor = disabled ? neutral[100] : primary[200];
10
11
  const selectedSize = componentSizes[size];
11
- const computedWidth = fullWidth ? '100%' : width || `${selectedSize.width}rem`;
12
+ const computedWidth = fullWidth ? '100%' : width || `${selectedSize.width}px`;
12
13
  const wrapperStyle = {
13
14
  container: {
14
15
  width: fullWidth ? '100%' : 'auto',
15
16
  display: 'flex',
16
- gap: '1rem',
17
+ gap: '10px',
17
18
  alignItems: 'center',
18
19
  },
19
20
  label: {
@@ -30,23 +31,23 @@ const Slider = ({ width, size = 'md', value, setValue, disabled = false, styles,
30
31
  whiteSpace: 'nowrap',
31
32
  flexShrink: 0,
32
33
  textAlign: 'right',
33
- minWidth: '2rem',
34
+ minWidth: '20px',
34
35
  },
35
36
  sliderContainer: {
36
37
  display: 'flex',
37
38
  alignItems: 'center',
38
- gap: '1rem',
39
+ gap: '10px',
39
40
  flex: fullWidth ? 1 : 'none',
40
41
  },
41
42
  };
42
43
  const sliderStyle = {
43
44
  root: {
44
45
  flex: 1,
45
- minWidth: '10rem',
46
+ minWidth: '100px',
46
47
  },
47
48
  thumb: {
48
- width: `${selectedSize.thumbSize}rem`,
49
- height: `${selectedSize.thumbSize}rem`,
49
+ width: `${selectedSize.thumbSize}px`,
50
+ height: `${selectedSize.thumbSize}px`,
50
51
  backgroundColor: sliderColor,
51
52
  borderColor: sliderColor,
52
53
  boxShadow: '0 2px 2px rgba(0,0,0,0.2)',
@@ -57,22 +58,22 @@ const Slider = ({ width, size = 'md', value, setValue, disabled = false, styles,
57
58
  cursor: disabled ? 'default' : 'pointer',
58
59
  },
59
60
  track: {
60
- height: `${selectedSize.trackHeight}rem`,
61
+ height: `${selectedSize.trackHeight}px`,
61
62
  backgroundColor: sliderColor,
62
63
  },
63
64
  bar: {
64
- height: `${selectedSize.trackHeight}rem`,
65
+ height: `${selectedSize.trackHeight}px`,
65
66
  backgroundColor: sliderColor,
66
67
  },
67
68
  marksContainer: {
68
- height: `${selectedSize.trackHeight}rem`,
69
+ height: `${selectedSize.trackHeight}px`,
69
70
  },
70
71
  mark: {
71
- width: '0.7rem',
72
- height: '0.7rem',
72
+ width: '7px',
73
+ height: '7px',
73
74
  borderColor: neutral[50],
74
75
  backgroundColor: neutral[50],
75
- transform: 'translateY(-0.15rem) translateX(-0.2rem)',
76
+ transform: 'translateY(-1.5px) translateX(-2px)',
76
77
  },
77
78
  markFilled: {
78
79
  borderColor: sliderColor,
@@ -81,7 +82,7 @@ const Slider = ({ width, size = 'md', value, setValue, disabled = false, styles,
81
82
  markLabel: {
82
83
  ...textStyle['caption'],
83
84
  color: disabled ? neutral[100] : neutral[200],
84
- marginTop: '0.4rem',
85
+ marginTop: spacing.xs,
85
86
  textAlign: 'center',
86
87
  },
87
88
  ...styles,
@@ -1 +1 @@
1
- {"version":3,"file":"VolumeSlider.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Sliders/VolumeSlider/VolumeSlider.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAU,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGvD,UAAU,iBAAkB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;CAAG;AAEjE,QAAA,MAAM,YAAY,GAAI,wCAA+D,iBAAiB,4CAmCrG,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"VolumeSlider.d.ts","sourceRoot":"","sources":["../../../../../src/components/Inputs/Sliders/VolumeSlider/VolumeSlider.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAU,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGvD,UAAU,iBAAkB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;CAAG;AAEjE,QAAA,MAAM,YAAY,GAAI,wCAA+D,iBAAiB,4CAmCrG,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { IconVolume, IconVolume2, IconVolume3 } from '@tabler/icons-react';
3
3
  import { neutral } from '../../../../constants/colors';
4
+ import { spacing } from '../../../../constants/spacing';
4
5
  import { Slider } from '../Slider/Slider';
5
6
  import { componentSizes } from '../shared/sizes';
6
7
  const VolumeSlider = ({ compact = false, size = 'md', fullWidth = false, ...props }) => {
@@ -19,16 +20,16 @@ const VolumeSlider = ({ compact = false, size = 'md', fullWidth = false, ...prop
19
20
  container: {
20
21
  display: 'flex',
21
22
  alignItems: 'center',
22
- gap: '1rem',
23
+ gap: '10px',
23
24
  width: fullWidth ? '100%' : 'auto',
24
- padding: '0.5rem 0',
25
+ padding: `${spacing.xs} 0`,
25
26
  },
26
27
  iconContainer: {
27
28
  display: 'flex',
28
29
  alignItems: 'center',
29
30
  justifyContent: 'center',
30
- width: `${selectedSize.iconSize / 10}rem`, // Based on 10px root font
31
- height: `${selectedSize.iconSize / 10}rem`,
31
+ width: `${selectedSize.iconSize}px`,
32
+ height: `${selectedSize.iconSize}px`,
32
33
  flexShrink: 0,
33
34
  },
34
35
  };
@@ -1,8 +1,8 @@
1
1
  export declare const componentSizes: {
2
2
  readonly sm: {
3
- readonly width: 20;
4
- readonly trackHeight: 0.4;
5
- readonly thumbSize: 1;
3
+ readonly width: 200;
4
+ readonly trackHeight: 4;
5
+ readonly thumbSize: 10;
6
6
  readonly labelFontSize: {
7
7
  fontSize: string;
8
8
  lineHeight: string;
@@ -14,9 +14,9 @@ export declare const componentSizes: {
14
14
  readonly iconSize: 18;
15
15
  };
16
16
  readonly md: {
17
- readonly width: 30;
18
- readonly trackHeight: 0.5;
19
- readonly thumbSize: 1.25;
17
+ readonly width: 300;
18
+ readonly trackHeight: 5;
19
+ readonly thumbSize: 12.5;
20
20
  readonly labelFontSize: {
21
21
  fontSize: string;
22
22
  lineHeight: string;
@@ -28,9 +28,9 @@ export declare const componentSizes: {
28
28
  readonly iconSize: 22;
29
29
  };
30
30
  readonly lg: {
31
- readonly width: 40;
32
- readonly trackHeight: 0.6;
33
- readonly thumbSize: 1.5;
31
+ readonly width: 400;
32
+ readonly trackHeight: 6;
33
+ readonly thumbSize: 15;
34
34
  readonly labelFontSize: {
35
35
  fontSize: string;
36
36
  lineHeight: string;