@altruist03/ui 0.1.0 → 0.2.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 (207) hide show
  1. package/assets/images/noData.webp +0 -0
  2. package/dist/index.js +15237 -650
  3. package/dist/index.js.map +1 -1
  4. package/dist/noData-XPRHKMFR.webp +0 -0
  5. package/package.json +21 -7
  6. package/src/ThemeProvider/ThemeContext.tsx +75 -0
  7. package/src/ThemeProvider/index.ts +7 -0
  8. package/src/assets/images/noData.webp +0 -0
  9. package/src/assets.d.ts +10 -0
  10. package/src/components/Accordion/Accordion.stories.tsx +64 -0
  11. package/src/components/Accordion/Accordion.tsx +219 -0
  12. package/src/components/Accordion/Accordion.types.ts +16 -0
  13. package/src/components/Avatar/Avatar.stories.tsx +304 -0
  14. package/src/components/Avatar/Avatar.tsx +211 -0
  15. package/src/components/Avatar/Avatar.types.ts +33 -0
  16. package/src/components/Badge/Badge.stories.tsx +143 -0
  17. package/src/components/Badge/Badge.tsx +138 -0
  18. package/src/components/Badge/Badge.types.ts +24 -0
  19. package/src/components/Breadcrumb/Breadcrumb.stories.tsx +114 -0
  20. package/src/components/Breadcrumb/Breadcrumb.tsx +120 -0
  21. package/src/components/Breadcrumb/Breadcrumb.types.ts +22 -0
  22. package/src/components/Button/Button.stories.tsx +457 -0
  23. package/src/components/Button/Button.tsx +202 -0
  24. package/src/components/Button/Button.types.ts +18 -0
  25. package/src/components/Checkbox/Checkbox.stories.tsx +254 -0
  26. package/src/components/Checkbox/Checkbox.tsx +352 -0
  27. package/src/components/Checkbox/Checkbox.types.ts +123 -0
  28. package/src/components/CloseButton/CloseButton.stories.tsx +100 -0
  29. package/src/components/CloseButton/CloseButton.tsx +117 -0
  30. package/src/components/CloseButton/CloseButton.types.ts +15 -0
  31. package/src/components/CollapsibleSearch/CollapsibleSearch.tsx +120 -0
  32. package/src/components/DataTable/DataTable.stories.tsx +233 -0
  33. package/src/components/DataTable/DataTable.tsx +968 -0
  34. package/src/components/DataTable/DataTable.types.ts +49 -0
  35. package/src/components/DatePicker/DatePicker.stories.tsx +341 -0
  36. package/src/components/DatePicker/DatePicker.tsx +669 -0
  37. package/src/components/DatePicker/DatePicker.types.ts +105 -0
  38. package/src/components/DatePicker/DateTimePicker.tsx +35 -0
  39. package/src/components/DateRangePicker/DateRangePicker.tsx +179 -0
  40. package/src/components/DateRangePicker/DateRangePicker.types.ts +34 -0
  41. package/src/components/Drawer/Drawer.stories.tsx +243 -0
  42. package/src/components/Drawer/Drawer.tsx +196 -0
  43. package/src/components/Drawer/Drawer.types.ts +60 -0
  44. package/src/components/FileUpload/FileUpload.stories.tsx +162 -0
  45. package/src/components/FileUpload/FileUpload.tsx +216 -0
  46. package/src/components/FileUpload/FileUpload.types.ts +80 -0
  47. package/src/components/FilterPopover/FilterPopover.stories.tsx +173 -0
  48. package/src/components/FilterPopover/FilterPopover.tsx +310 -0
  49. package/src/components/FilterPopover/FilterPopover.types.ts +26 -0
  50. package/src/components/ImageViewer/ImageViewerToolbar.jsx +81 -0
  51. package/src/components/ImageViewer/useImagePanRotate.js +102 -0
  52. package/src/components/IpWhitelistField/IpWhitelistField.stories.tsx +138 -0
  53. package/src/components/IpWhitelistField/IpWhitelistField.tsx +164 -0
  54. package/src/components/IpWhitelistField/IpWhitelistField.types.ts +42 -0
  55. package/src/components/Loader/Loader.stories.tsx +95 -0
  56. package/src/components/Loader/Loader.tsx +132 -0
  57. package/src/components/Loader/Loader.types.ts +6 -0
  58. package/src/components/Menu/Menu.tsx +143 -0
  59. package/src/components/Menu/Menu.types.ts +28 -0
  60. package/src/components/MenuButton/MenuButton.stories.tsx +140 -0
  61. package/src/components/MenuButton/MenuButton.tsx +45 -0
  62. package/src/components/MenuButton/MenuButton.types.ts +21 -0
  63. package/src/components/Modal/Modal.stories.tsx +266 -0
  64. package/src/components/Modal/Modal.tsx +399 -0
  65. package/src/components/Modal/index.ts +2 -0
  66. package/src/components/Modal/types.ts +126 -0
  67. package/src/components/Pagination/Pagination.stories.tsx +167 -0
  68. package/src/components/Pagination/Pagination.tsx +266 -0
  69. package/src/components/Pagination/Pagination.types.ts +20 -0
  70. package/src/components/PeriodSelector/PeriodSelector.stories.tsx +50 -0
  71. package/src/components/PeriodSelector/PeriodSelector.tsx +47 -0
  72. package/src/components/PeriodSelector/PeriodSelector.types.ts +10 -0
  73. package/src/components/PhoneField/PhoneField.stories.tsx +141 -0
  74. package/src/components/PhoneField/PhoneField.tsx +284 -0
  75. package/src/components/PhoneField/PhoneField.types.ts +89 -0
  76. package/src/components/PhoneField/countryCodes.ts +236 -0
  77. package/src/components/Progress/Progress.stories.tsx +83 -0
  78. package/src/components/Progress/Progress.tsx +91 -0
  79. package/src/components/Progress/Progress.types.ts +22 -0
  80. package/src/components/RadioButton/RadioButton.stories.tsx +332 -0
  81. package/src/components/RadioButton/RadioButton.tsx +427 -0
  82. package/src/components/RadioButton/RadioButton.types.ts +117 -0
  83. package/src/components/ReportCard/ReportCard.tsx +183 -0
  84. package/src/components/ReportCard/ReportCard.types.ts +17 -0
  85. package/src/components/SectionIcon/SectionIcon.tsx +87 -0
  86. package/src/components/SectionIcon/SectionIcon.types.ts +23 -0
  87. package/src/components/SegmentedInputField/SegmentedInputField.stories.tsx +165 -0
  88. package/src/components/SegmentedInputField/SegmentedInputField.tsx +174 -0
  89. package/src/components/SegmentedInputField/SegmentedInputField.types.ts +51 -0
  90. package/src/components/SelectScroll/SelectScroll.stories.tsx +336 -0
  91. package/src/components/SelectScroll/SelectScroll.tsx +1119 -0
  92. package/src/components/SelectScroll/SelectScroll.types.ts +60 -0
  93. package/src/components/Selector/Selector.stories.tsx +382 -0
  94. package/src/components/Selector/Selector.tsx +1310 -0
  95. package/src/components/Selector/Selector.types.ts +71 -0
  96. package/src/components/Skeleton/Skeleton.stories.tsx +133 -0
  97. package/src/components/Skeleton/Skeleton.tsx +20 -0
  98. package/src/components/Skeleton/Skeleton.types.ts +3 -0
  99. package/src/components/Spinner/Spinner.stories.tsx +84 -0
  100. package/src/components/Spinner/Spinner.tsx +79 -0
  101. package/src/components/Spinner/Spinner.types.ts +8 -0
  102. package/src/components/StatCard/StatCard.stories.tsx +125 -0
  103. package/src/components/StatCard/StatCard.tsx +167 -0
  104. package/src/components/StatCard/StatCard.types.ts +20 -0
  105. package/src/components/StatusBadge/StatusBadge.stories.tsx +179 -0
  106. package/src/components/StatusBadge/StatusBadge.tsx +74 -0
  107. package/src/components/StatusBadge/StatusBadge.types.ts +23 -0
  108. package/src/components/Stepper/Stepper.stories.tsx +85 -0
  109. package/src/components/Stepper/Stepper.tsx +138 -0
  110. package/src/components/Stepper/Stepper.types.ts +16 -0
  111. package/src/components/SubTabs/SubTabs.stories.tsx +128 -0
  112. package/src/components/SubTabs/SubTabs.tsx +279 -0
  113. package/src/components/SubTabs/SubTabs.types.ts +44 -0
  114. package/src/components/SummaryCard/SummaryCard.stories.tsx +100 -0
  115. package/src/components/SummaryCard/SummaryCard.tsx +141 -0
  116. package/src/components/SummaryCard/SummaryCard.types.ts +22 -0
  117. package/src/components/Switch/Switch.stories.tsx +59 -0
  118. package/src/components/Switch/Switch.tsx +217 -0
  119. package/src/components/Switch/Switch.types.ts +22 -0
  120. package/src/components/Tabs/Tabs.stories.tsx +178 -0
  121. package/src/components/Tabs/Tabs.tsx +197 -0
  122. package/src/components/Tabs/Tabs.types.ts +34 -0
  123. package/src/components/TextField/TextField.stories.tsx +249 -0
  124. package/src/components/TextField/TextField.tsx +462 -0
  125. package/src/components/TextField/TextField.types.ts +141 -0
  126. package/src/components/Toast/Toast.stories.tsx +237 -0
  127. package/src/components/Toast/Toast.tsx +246 -0
  128. package/src/components/Toast/Toast.types.ts +31 -0
  129. package/src/components/ToggleButton/ToggleButton.stories.tsx +105 -0
  130. package/src/components/ToggleButton/ToggleButton.tsx +267 -0
  131. package/src/components/ToggleButton/ToggleButton.types.ts +19 -0
  132. package/src/components/UploadDropzone/UploadDropzone.jsx +78 -0
  133. package/src/components/UploadDropzone2/UploadDropzone.stories.tsx +94 -0
  134. package/src/components/UploadDropzone2/UploadDropzone.tsx +222 -0
  135. package/src/components/UploadDropzone2/UploadDropzone.types.ts +54 -0
  136. package/src/components/ViewEditToggle/ViewEditToggle.stories.tsx +40 -0
  137. package/src/components/ViewEditToggle/ViewEditToggle.tsx +239 -0
  138. package/src/components/ViewEditToggle/ViewEditToggle.types.ts +27 -0
  139. package/src/components/index.ts +157 -0
  140. package/src/icons/ReportDollarIcon.tsx +71 -0
  141. package/src/icons/index.ts +27 -0
  142. package/src/index.ts +214 -0
  143. package/src/storybook/preview.tsx +64 -0
  144. package/src/theme/index.ts +4 -0
  145. package/src/theme/types.d.ts +1 -0
  146. package/src/themes/cpc.ts +4 -0
  147. package/src/themes/firebird.ts +4 -0
  148. package/src/tokens/brands/cpc/themes/dark.json +82 -0
  149. package/src/tokens/brands/cpc/themes/light.json +1 -0
  150. package/src/tokens/brands/default/brand.json +20 -0
  151. package/src/tokens/brands/firebird/themes/dark.json +28 -0
  152. package/src/tokens/brands/firebird/themes/light.json +20 -0
  153. package/src/tokens/button.ts +24 -0
  154. package/src/tokens/components/accordion.json +52 -0
  155. package/src/tokens/components/avatar.json +40 -0
  156. package/src/tokens/components/badge.json +41 -0
  157. package/src/tokens/components/breadcrumb.json +13 -0
  158. package/src/tokens/components/button.json +67 -0
  159. package/src/tokens/components/card.json +39 -0
  160. package/src/tokens/components/checkbox.json +64 -0
  161. package/src/tokens/components/closebutton.json +55 -0
  162. package/src/tokens/components/datatable.json +40 -0
  163. package/src/tokens/components/datepicker.json +99 -0
  164. package/src/tokens/components/drawer.json +23 -0
  165. package/src/tokens/components/field.json +29 -0
  166. package/src/tokens/components/fileupload.json +57 -0
  167. package/src/tokens/components/filterpopover.json +29 -0
  168. package/src/tokens/components/input.json +31 -0
  169. package/src/tokens/components/ipwhitelistfield.json +16 -0
  170. package/src/tokens/components/loader.json +15 -0
  171. package/src/tokens/components/menu.json +21 -0
  172. package/src/tokens/components/modal.json +25 -0
  173. package/src/tokens/components/pagination.json +45 -0
  174. package/src/tokens/components/phonefield.json +41 -0
  175. package/src/tokens/components/progress.json +12 -0
  176. package/src/tokens/components/radio.json +87 -0
  177. package/src/tokens/components/reportcard.json +17 -0
  178. package/src/tokens/components/selector.json +87 -0
  179. package/src/tokens/components/selectscroll.json +65 -0
  180. package/src/tokens/components/skeleton.json +6 -0
  181. package/src/tokens/components/stepper.json +38 -0
  182. package/src/tokens/components/subtabs.json +45 -0
  183. package/src/tokens/components/switch.json +55 -0
  184. package/src/tokens/components/tabs.json +38 -0
  185. package/src/tokens/components/textfield.json +59 -0
  186. package/src/tokens/components/togglebutton.json +48 -0
  187. package/src/tokens/components/uploaddropzone.json +61 -0
  188. package/src/tokens/drawer.ts +37 -0
  189. package/src/tokens/foundation/breakpoints.json +10 -0
  190. package/src/tokens/foundation/colors.json +122 -0
  191. package/src/tokens/foundation/opacity.json +16 -0
  192. package/src/tokens/foundation/radius.json +14 -0
  193. package/src/tokens/foundation/size.json +38 -0
  194. package/src/tokens/foundation/spacing.json +19 -0
  195. package/src/tokens/foundation/typography.json +43 -0
  196. package/src/tokens/index.ts +3665 -0
  197. package/src/tokens/modal.ts +42 -0
  198. package/src/tokens/semantic/color.json +148 -0
  199. package/src/tokens/semantic/field.json +28 -0
  200. package/src/tokens/semantic/opacity.json +5 -0
  201. package/src/tokens/semantic/size.json +722 -0
  202. package/src/tokens/semantic/spacing.json +27 -0
  203. package/src/tokens/semantic/typography.json +87 -0
  204. package/src/utils/scrollLock.ts +44 -0
  205. package/dist/index.css +0 -514
  206. package/dist/index.css.map +0 -1
  207. package/dist/index.d.ts +0 -289
@@ -0,0 +1,722 @@
1
+ {
2
+ "size": {
3
+ "xs": {
4
+ "mobile": {
5
+ "height": "{size.28}",
6
+ "width": "{size.28}",
7
+ "paddingX": "{spacing.1}",
8
+ "paddingY": "{spacing.1}",
9
+ "fontSize": "{typography.body.small.fontSize}",
10
+ "radius": "{radius.sm}"
11
+ },
12
+ "tablet": {
13
+ "height": "{size.28}",
14
+ "width": "{size.28}",
15
+ "paddingX": "{spacing.1}",
16
+ "paddingY": "{spacing.1}",
17
+ "fontSize": "{typography.body.small.fontSize}",
18
+ "radius": "{radius.sm}"
19
+ },
20
+ "desktop": {
21
+ "height": "{size.28}",
22
+ "width": "{size.28}",
23
+ "paddingX": "{spacing.1}",
24
+ "paddingY": "{spacing.1}",
25
+ "fontSize": "{typography.body.small.fontSize}",
26
+ "radius": "{radius.sm}"
27
+ },
28
+ "wide": {
29
+ "height": "{size.28}",
30
+ "width": "{size.28}",
31
+ "paddingX": "{spacing.1}",
32
+ "paddingY": "{spacing.1}",
33
+ "fontSize": "{typography.body.small.fontSize}",
34
+ "radius": "{radius.sm}"
35
+ }
36
+ },
37
+
38
+ "sm": {
39
+ "mobile": {
40
+ "height": "{size.28}",
41
+ "paddingX": "{spacing.2}",
42
+ "paddingY": "{spacing.1}",
43
+ "fontSize": "{typography.body.small.fontSize}",
44
+ "radius": "{radius.sm}",
45
+ "otpWidth": "{size.32}"
46
+ },
47
+ "tablet": {
48
+ "height": "{size.30}",
49
+ "paddingX": "{spacing.2}",
50
+ "paddingY": "{spacing.1}",
51
+ "fontSize": "{typography.body.small.fontSize}",
52
+ "radius": "{radius.sm}",
53
+ "otpWidth": "{size.32}"
54
+ },
55
+ "desktop": {
56
+ "height": "{size.32}",
57
+ "paddingX": "{spacing.2}",
58
+ "paddingY": "{spacing.1}",
59
+ "fontSize": "{typography.body.small.fontSize}",
60
+ "radius": "{radius.sm}",
61
+ "otpWidth": "{size.32}"
62
+ },
63
+ "wide": {
64
+ "height": "{size.32}",
65
+ "paddingX": "{spacing.2}",
66
+ "paddingY": "{spacing.1}",
67
+ "fontSize": "{typography.body.small.fontSize}",
68
+ "radius": "{radius.sm}",
69
+ "otpWidth": "{size.32}"
70
+ }
71
+ },
72
+
73
+ "md": {
74
+ "mobile": {
75
+ "height": "{size.34}",
76
+ "paddingX": "{spacing.3}",
77
+ "paddingY": "{spacing.1}",
78
+ "fontSize": "{typography.body.medium.fontSize}",
79
+ "radius": "{radius.md}",
80
+ "otpWidth": "{size.40}"
81
+ },
82
+ "tablet": {
83
+ "height": "{size.36}",
84
+ "paddingX": "{spacing.3}",
85
+ "paddingY": "{spacing.1}",
86
+ "fontSize": "{typography.body.medium.fontSize}",
87
+ "radius": "{radius.md}",
88
+ "otpWidth": "{size.40}"
89
+ },
90
+ "desktop": {
91
+ "height": "{size.40}",
92
+ "paddingX": "{spacing.4}",
93
+ "paddingY": "{spacing.2}",
94
+ "fontSize": "{typography.body.medium.fontSize}",
95
+ "radius": "{radius.md}",
96
+ "otpWidth": "{size.40}"
97
+ },
98
+ "wide": {
99
+ "height": "{size.40}",
100
+ "paddingX": "{spacing.4}",
101
+ "paddingY": "{spacing.2}",
102
+ "fontSize": "{typography.body.medium.fontSize}",
103
+ "radius": "{radius.md}",
104
+ "otpWidth": "{size.40}"
105
+ }
106
+ },
107
+
108
+ "lg": {
109
+ "mobile": {
110
+ "height": "{spacing.8}",
111
+ "paddingX": "{spacing.3}",
112
+ "paddingY": "{spacing.2}",
113
+ "fontSize": "{typography.body.large.fontSize}",
114
+ "radius": "{radius.lg}",
115
+ "otpWidth": "{spacing.9}"
116
+ },
117
+ "tablet": {
118
+ "height": "{spacing.9}",
119
+ "paddingX": "{spacing.4}",
120
+ "paddingY": "{spacing.2}",
121
+ "fontSize": "{typography.body.large.fontSize}",
122
+ "radius": "{radius.lg}",
123
+ "otpWidth": "{spacing.9}"
124
+ },
125
+ "desktop": {
126
+ "height": "{spacing.9}",
127
+ "paddingX": "{spacing.4}",
128
+ "paddingY": "{spacing.2}",
129
+ "fontSize": "{typography.body.large.fontSize}",
130
+ "radius": "{radius.lg}",
131
+ "otpWidth": "{spacing.9}"
132
+ },
133
+ "wide": {
134
+ "height": "{spacing.9}",
135
+ "paddingX": "{spacing.4}",
136
+ "paddingY": "{spacing.3}",
137
+ "fontSize": "{typography.body.large.fontSize}",
138
+ "radius": "{radius.lg}",
139
+ "otpWidth": "{spacing.9}"
140
+ }
141
+ },
142
+
143
+ "control": {
144
+ "radius": "{radius.control}"
145
+ },
146
+
147
+ "menu": {
148
+ "mobile": {
149
+ "minWidth": "{size.180}",
150
+ "listMaxHeight": "{size.320}"
151
+ },
152
+ "tablet": {
153
+ "minWidth": "{size.180}",
154
+ "listMaxHeight": "{size.320}"
155
+ },
156
+ "desktop": {
157
+ "minWidth": "{size.180}",
158
+ "listMaxHeight": "{size.320}"
159
+ },
160
+ "wide": {
161
+ "minWidth": "{size.180}",
162
+ "listMaxHeight": "{size.320}"
163
+ }
164
+ },
165
+
166
+ "radio": {
167
+ "sm": {
168
+ "mobile": {
169
+ "radioSize": "{size.16}",
170
+ "dotSize": "{size.8}",
171
+ "labelFontSize": "{typography.body.small.fontSize}",
172
+ "headingFontSize": "{typography.label.small.fontSize}"
173
+ },
174
+ "tablet": {
175
+ "radioSize": "{size.16}",
176
+ "dotSize": "{size.8}",
177
+ "labelFontSize": "{typography.body.small.fontSize}",
178
+ "headingFontSize": "{typography.label.small.fontSize}"
179
+ },
180
+ "desktop": {
181
+ "radioSize": "{size.16}",
182
+ "dotSize": "{size.8}",
183
+ "labelFontSize": "{typography.body.small.fontSize}",
184
+ "headingFontSize": "{typography.label.small.fontSize}"
185
+ },
186
+ "wide": {
187
+ "radioSize": "{size.16}",
188
+ "dotSize": "{size.8}",
189
+ "labelFontSize": "{typography.body.small.fontSize}",
190
+ "headingFontSize": "{typography.label.small.fontSize}"
191
+ }
192
+ },
193
+ "md": {
194
+ "mobile": {
195
+ "radioSize": "{size.20}",
196
+ "dotSize": "{size.8}",
197
+ "labelFontSize": "{typography.body.medium.fontSize}",
198
+ "headingFontSize": "{typography.label.medium.fontSize}"
199
+ },
200
+ "tablet": {
201
+ "radioSize": "{size.20}",
202
+ "dotSize": "{size.8}",
203
+ "labelFontSize": "{typography.body.medium.fontSize}",
204
+ "headingFontSize": "{typography.label.medium.fontSize}"
205
+ },
206
+ "desktop": {
207
+ "radioSize": "{size.20}",
208
+ "dotSize": "{size.8}",
209
+ "labelFontSize": "{typography.body.medium.fontSize}",
210
+ "headingFontSize": "{typography.label.medium.fontSize}"
211
+ },
212
+ "wide": {
213
+ "radioSize": "{size.20}",
214
+ "dotSize": "{size.8}",
215
+ "labelFontSize": "{typography.body.medium.fontSize}",
216
+ "headingFontSize": "{typography.label.medium.fontSize}"
217
+ }
218
+ },
219
+ "lg": {
220
+ "mobile": {
221
+ "radioSize": "{size.24}",
222
+ "dotSize": "{size.15}",
223
+ "labelFontSize": "{typography.body.large.fontSize}",
224
+ "headingFontSize": "{typography.label.large.fontSize}",
225
+ "descriptionFontSize": "{typography.body.sm.fontSize}"
226
+ },
227
+ "tablet": {
228
+ "radioSize": "{size.24}",
229
+ "dotSize": "{size.15}",
230
+ "labelFontSize": "{typography.body.large.fontSize}",
231
+ "headingFontSize": "{typography.label.large.fontSize}",
232
+ "descriptionFontSize": "{typography.body.sm.fontSize}"
233
+ },
234
+ "desktop": {
235
+ "radioSize": "{size.24}",
236
+ "dotSize": "{size.15}",
237
+ "labelFontSize": "{typography.body.large.fontSize}",
238
+ "headingFontSize": "{typography.label.large.fontSize}",
239
+ "descriptionFontSize": "{typography.body.medium.fontSize}"
240
+ },
241
+ "wide": {
242
+ "radioSize": "{size.24}",
243
+ "dotSize": "{size.15}",
244
+ "labelFontSize": "{typography.body.large.fontSize}",
245
+ "headingFontSize": "{typography.label.large.fontSize}",
246
+ "descriptionFontSize": "{typography.body.medium.fontSize}"
247
+ }
248
+ }
249
+ },
250
+
251
+ "closebutton": {
252
+ "xs": {
253
+ "mobile": {
254
+ "size": "{size.20}",
255
+ "padding": "{spacing.1}",
256
+ "iconSize": "{typography.fontSize.xs}",
257
+ "borderRadius": "{radius.full}"
258
+ },
259
+ "tablet": {
260
+ "size": "{size.20}",
261
+ "padding": "{spacing.1}",
262
+ "iconSize": "{typography.fontSize.xs}",
263
+ "borderRadius": "{radius.full}"
264
+ },
265
+ "desktop": {
266
+ "size": "{size.20}",
267
+ "padding": "{spacing.1}",
268
+ "iconSize": "{typography.fontSize.xs}",
269
+ "borderRadius": "{radius.full}"
270
+ },
271
+ "wide": {
272
+ "size": "{size.20}",
273
+ "padding": "{spacing.1}",
274
+ "iconSize": "{typography.fontSize.xs}",
275
+ "borderRadius": "{radius.full}"
276
+ }
277
+ },
278
+ "sm": {
279
+ "mobile": {
280
+ "size": "{size.24}",
281
+ "padding": "{spacing.1_25}",
282
+ "iconSize": "{typography.fontSize.sm}",
283
+ "borderRadius": "{radius.full}"
284
+ },
285
+ "tablet": {
286
+ "size": "{size.24}",
287
+ "padding": "{spacing.1_25}",
288
+ "iconSize": "{typography.fontSize.sm}",
289
+ "borderRadius": "{radius.full}"
290
+ },
291
+ "desktop": {
292
+ "size": "{size.24}",
293
+ "padding": "{spacing.1_25}",
294
+ "iconSize": "{typography.fontSize.sm}",
295
+ "borderRadius": "{radius.full}"
296
+ },
297
+ "wide": {
298
+ "size": "{size.24}",
299
+ "padding": "{spacing.1_25}",
300
+ "iconSize": "{typography.fontSize.sm}",
301
+ "borderRadius": "{radius.full}"
302
+ }
303
+ },
304
+ "md": {
305
+ "mobile": {
306
+ "size": "{size.28}",
307
+ "padding": "{spacing.1_5}",
308
+ "iconSize": "{typography.fontSize.md}",
309
+ "borderRadius": "{radius.full}"
310
+ },
311
+ "tablet": {
312
+ "size": "{size.28}",
313
+ "padding": "{spacing.1_5}",
314
+ "iconSize": "{typography.fontSize.md}",
315
+ "borderRadius": "{radius.full}"
316
+ },
317
+ "desktop": {
318
+ "size": "{size.28}",
319
+ "padding": "{spacing.1_5}",
320
+ "iconSize": "{typography.fontSize.md}",
321
+ "borderRadius": "{radius.full}"
322
+ },
323
+ "wide": {
324
+ "size": "{size.28}",
325
+ "padding": "{spacing.1_5}",
326
+ "iconSize": "{typography.fontSize.md}",
327
+ "borderRadius": "{radius.full}"
328
+ }
329
+ },
330
+ "lg": {
331
+ "mobile": {
332
+ "size": "{size.32}",
333
+ "padding": "{spacing.1_75}",
334
+ "iconSize": "{typography.fontSize.lg}",
335
+ "borderRadius": "{radius.full}"
336
+ },
337
+ "tablet": {
338
+ "size": "{size.32}",
339
+ "padding": "{spacing.1_75}",
340
+ "iconSize": "{typography.fontSize.lg}",
341
+ "borderRadius": "{radius.full}"
342
+ },
343
+ "desktop": {
344
+ "size": "{size.32}",
345
+ "padding": "{spacing.1_75}",
346
+ "iconSize": "{typography.fontSize.lg}",
347
+ "borderRadius": "{radius.full}"
348
+ },
349
+ "wide": {
350
+ "size": "{size.32}",
351
+ "padding": "{spacing.1_75}",
352
+ "iconSize": "{typography.fontSize.lg}",
353
+ "borderRadius": "{radius.full}"
354
+ }
355
+ }
356
+ },
357
+
358
+ "avatar": {
359
+ "xs": {
360
+ "mobile": {
361
+ "size": "{size.20}",
362
+ "fontSize": "{typography.body.xsmall.fontSize}",
363
+ "iconSize": "{typography.body.xsmall.fontSize}"
364
+ },
365
+ "tablet": {
366
+ "size": "{size.20}",
367
+ "fontSize": "{typography.body.xsmall.fontSize}",
368
+ "iconSize": "{typography.body.xsmall.fontSize}"
369
+ },
370
+ "desktop": {
371
+ "size": "{size.20}",
372
+ "fontSize": "{typography.body.xsmall.fontSize}",
373
+ "iconSize": "{typography.body.xsmall.fontSize}"
374
+ },
375
+ "wide": {
376
+ "size": "{size.20}",
377
+ "fontSize": "{typography.body.xsmall.fontSize}",
378
+ "iconSize": "{typography.body.xsmall.fontSize}"
379
+ }
380
+ },
381
+ "sm": {
382
+ "mobile": {
383
+ "size": "{size.28}",
384
+ "fontSize": "{typography.body.small.fontSize}",
385
+ "iconSize": "{typography.body.small.fontSize}"
386
+ },
387
+ "tablet": {
388
+ "size": "{size.28}",
389
+ "fontSize": "{typography.body.small.fontSize}",
390
+ "iconSize": "{typography.body.small.fontSize}"
391
+ },
392
+ "desktop": {
393
+ "size": "{size.28}",
394
+ "fontSize": "{typography.body.small.fontSize}",
395
+ "iconSize": "{typography.body.small.fontSize}"
396
+ },
397
+ "wide": {
398
+ "size": "{size.28}",
399
+ "fontSize": "{typography.body.small.fontSize}",
400
+ "iconSize": "{typography.body.small.fontSize}"
401
+ }
402
+ },
403
+ "md": {
404
+ "mobile": {
405
+ "size": "{size.36}",
406
+ "fontSize": "{typography.body.medium.fontSize}",
407
+ "iconSize": "{typography.body.medium.fontSize}"
408
+ },
409
+ "tablet": {
410
+ "size": "{size.36}",
411
+ "fontSize": "{typography.body.medium.fontSize}",
412
+ "iconSize": "{typography.body.medium.fontSize}"
413
+ },
414
+ "desktop": {
415
+ "size": "{size.36}",
416
+ "fontSize": "{typography.body.medium.fontSize}",
417
+ "iconSize": "{typography.body.medium.fontSize}"
418
+ },
419
+ "wide": {
420
+ "size": "{size.36}",
421
+ "fontSize": "{typography.body.medium.fontSize}",
422
+ "iconSize": "{typography.body.medium.fontSize}"
423
+ }
424
+ },
425
+ "lg": {
426
+ "mobile": {
427
+ "size": "{size.44}",
428
+ "fontSize": "{typography.body.large.fontSize}",
429
+ "iconSize": "{typography.body.large.fontSize}"
430
+ },
431
+ "tablet": {
432
+ "size": "{size.44}",
433
+ "fontSize": "{typography.body.large.fontSize}",
434
+ "iconSize": "{typography.body.large.fontSize}"
435
+ },
436
+ "desktop": {
437
+ "size": "{size.44}",
438
+ "fontSize": "{typography.body.large.fontSize}",
439
+ "iconSize": "{typography.body.large.fontSize}"
440
+ },
441
+ "wide": {
442
+ "size": "{size.44}",
443
+ "fontSize": "{typography.body.large.fontSize}",
444
+ "iconSize": "{typography.body.large.fontSize}"
445
+ }
446
+ },
447
+ "xl": {
448
+ "mobile": {
449
+ "size": "{size.60}",
450
+ "fontSize": "{typography.heading.h4.fontSize}",
451
+ "iconSize": "{typography.heading.h4.fontSize}"
452
+ },
453
+ "tablet": {
454
+ "size": "{size.60}",
455
+ "fontSize": "{typography.heading.h4.fontSize}",
456
+ "iconSize": "{typography.heading.h4.fontSize}"
457
+ },
458
+ "desktop": {
459
+ "size": "{size.60}",
460
+ "fontSize": "{typography.heading.h4.fontSize}",
461
+ "iconSize": "{typography.heading.h4.fontSize}"
462
+ },
463
+ "wide": {
464
+ "size": "{size.60}",
465
+ "fontSize": "{typography.heading.h4.fontSize}",
466
+ "iconSize": "{typography.heading.h4.fontSize}"
467
+ }
468
+ },
469
+ "xxl": {
470
+ "mobile": {
471
+ "size": "{size.76}",
472
+ "fontSize": "{typography.heading.h3.fontSize}",
473
+ "iconSize": "{typography.heading.h3.fontSize}"
474
+ },
475
+ "tablet": {
476
+ "size": "{size.76}",
477
+ "fontSize": "{typography.heading.h3.fontSize}",
478
+ "iconSize": "{typography.heading.h3.fontSize}"
479
+ },
480
+ "desktop": {
481
+ "size": "{size.76}",
482
+ "fontSize": "{typography.heading.h3.fontSize}",
483
+ "iconSize": "{typography.heading.h3.fontSize}"
484
+ },
485
+ "wide": {
486
+ "size": "{size.76}",
487
+ "fontSize": "{typography.heading.h3.fontSize}",
488
+ "iconSize": "{typography.heading.h3.fontSize}"
489
+ }
490
+ },
491
+ "xxxl": {
492
+ "mobile": {
493
+ "size": "{size.116}",
494
+ "fontSize": "{typography.heading.h2.fontSize}",
495
+ "iconSize": "{typography.heading.h2.fontSize}"
496
+ },
497
+ "tablet": {
498
+ "size": "{size.116}",
499
+ "fontSize": "{typography.heading.h2.fontSize}",
500
+ "iconSize": "{typography.heading.h2.fontSize}"
501
+ },
502
+ "desktop": {
503
+ "size": "{size.116}",
504
+ "fontSize": "{typography.heading.h2.fontSize}",
505
+ "iconSize": "{typography.heading.h2.fontSize}"
506
+ },
507
+ "wide": {
508
+ "size": "{size.116}",
509
+ "fontSize": "{typography.heading.h2.fontSize}",
510
+ "iconSize": "{typography.heading.h2.fontSize}"
511
+ }
512
+ }
513
+ },
514
+
515
+ "toggleButton": {
516
+ "mobile": {
517
+ "height": "{size.32}",
518
+ "paddingX": "{spacing.2}",
519
+ "paddingY": "{spacing.2}",
520
+ "radius": "{radius.lg}",
521
+ "borderWidth": "{size.1}"
522
+ },
523
+ "tablet": {
524
+ "height": "{size.32}",
525
+ "paddingX": "{spacing.2}",
526
+ "paddingY": "{spacing.2}",
527
+ "radius": "{radius.lg}",
528
+ "borderWidth": "{size.1}"
529
+ },
530
+ "desktop": {
531
+ "height": "{size.32}",
532
+ "paddingX": "{spacing.2}",
533
+ "paddingY": "{spacing.2}",
534
+ "radius": "{radius.lg}",
535
+ "borderWidth": "{size.1}"
536
+ },
537
+ "wide": {
538
+ "height": "{size.32}",
539
+ "paddingX": "{spacing.2}",
540
+ "paddingY": "{spacing.2}",
541
+ "radius": "{radius.lg}",
542
+ "borderWidth": "{size.1}"
543
+ }
544
+ },
545
+
546
+ "switch": {
547
+ "sm": {
548
+ "mobile": {
549
+ "width": "{size.44}",
550
+ "height": "{size.28}",
551
+ "thumbSize": "{size.24}",
552
+ "trackPadding": "{spacing.xxs}",
553
+ "radius": "{radius.full}",
554
+ "borderWidth": "{size.1}"
555
+ },
556
+ "tablet": {
557
+ "width": "{size.44}",
558
+ "height": "{size.28}",
559
+ "thumbSize": "{size.24}",
560
+ "trackPadding": "{spacing.xxs}",
561
+ "radius": "{radius.full}",
562
+ "borderWidth": "{size.1}"
563
+ },
564
+ "desktop": {
565
+ "width": "{size.44}",
566
+ "height": "{size.28}",
567
+ "thumbSize": "{size.24}",
568
+ "trackPadding": "{spacing.xxs}",
569
+ "radius": "{radius.full}",
570
+ "borderWidth": "{size.1}"
571
+ },
572
+ "wide": {
573
+ "width": "{size.44}",
574
+ "height": "{size.28}",
575
+ "thumbSize": "{size.24}",
576
+ "trackPadding": "{spacing.xxs}",
577
+ "radius": "{radius.full}",
578
+ "borderWidth": "{size.1}"
579
+ }
580
+ },
581
+ "md": {
582
+ "mobile": {
583
+ "width": "{size.52}",
584
+ "height": "{size.32}",
585
+ "thumbSize": "{size.28}",
586
+ "trackPadding": "{spacing.xxs}",
587
+ "radius": "{radius.full}",
588
+ "borderWidth": "{size.1}"
589
+ },
590
+ "tablet": {
591
+ "width": "{size.52}",
592
+ "height": "{size.32}",
593
+ "thumbSize": "{size.28}",
594
+ "trackPadding": "{spacing.xxs}",
595
+ "radius": "{radius.full}",
596
+ "borderWidth": "{size.1}"
597
+ },
598
+ "desktop": {
599
+ "width": "{size.52}",
600
+ "height": "{size.32}",
601
+ "thumbSize": "{size.28}",
602
+ "trackPadding": "{spacing.xxs}",
603
+ "radius": "{radius.full}",
604
+ "borderWidth": "{size.1}"
605
+ },
606
+ "wide": {
607
+ "width": "{size.52}",
608
+ "height": "{size.32}",
609
+ "thumbSize": "{size.28}",
610
+ "trackPadding": "{spacing.xxs}",
611
+ "radius": "{radius.full}",
612
+ "borderWidth": "{size.1}"
613
+ }
614
+ },
615
+ "lg": {
616
+ "mobile": {
617
+ "width": "{size.52}",
618
+ "height": "{size.32}",
619
+ "thumbSize": "{size.28}",
620
+ "trackPadding": "{spacing.xxs}",
621
+ "radius": "{radius.full}",
622
+ "borderWidth": "{size.1}"
623
+ },
624
+ "tablet": {
625
+ "width": "{size.52}",
626
+ "height": "{size.32}",
627
+ "thumbSize": "{size.28}",
628
+ "trackPadding": "{spacing.xxs}",
629
+ "radius": "{radius.full}",
630
+ "borderWidth": "{size.1}"
631
+ },
632
+ "desktop": {
633
+ "width": "{size.52}",
634
+ "height": "{size.32}",
635
+ "thumbSize": "{size.28}",
636
+ "trackPadding": "{spacing.xxs}",
637
+ "radius": "{radius.full}",
638
+ "borderWidth": "{size.1}"
639
+ },
640
+ "wide": {
641
+ "width": "{size.52}",
642
+ "height": "{size.32}",
643
+ "thumbSize": "{size.28}",
644
+ "trackPadding": "{spacing.xxs}",
645
+ "radius": "{radius.full}",
646
+ "borderWidth": "{size.1}"
647
+ }
648
+ }
649
+ },
650
+
651
+ "tabs": {
652
+ "sm": {
653
+ "height": "{size.28}",
654
+ "padding": "{spacing.2} {spacing.1}",
655
+ "fontSize": "{typography.body.small.fontSize}",
656
+ "radius": "{radius.sm}"
657
+ },
658
+ "md": {
659
+ "height": "{size.36}",
660
+ "padding": "{spacing.3} {spacing.1}",
661
+ "fontSize": "{typography.body.medium.fontSize}",
662
+ "radius": "{radius.md}"
663
+ },
664
+ "lg": {
665
+ "height": "{size.44}",
666
+ "padding": "{spacing.3} {spacing.6}",
667
+ "fontSize": "{typography.body.large.fontSize}",
668
+ "radius": "{radius.lg}"
669
+ }
670
+ },
671
+
672
+ "filterpopover": {
673
+ "mobile": {
674
+ "minWidth": "{size.320}",
675
+ "minHeight": "{size.1}",
676
+ "maxHeight": "{size.60vh}",
677
+ "padding": "{spacing.3}",
678
+ "borderRadius": "{radius.xl}",
679
+ "innerBorderRadius": "{radius.xl} {radius.xl} {radius.none} {radius.none}"
680
+ },
681
+ "tablet": {
682
+ "minWidth": "{size.380}",
683
+ "minHeight": "{size.1}",
684
+ "maxHeight": "{size.60vh}",
685
+ "padding": "{spacing.4}",
686
+ "borderRadius": "{radius.2xl}",
687
+ "innerBorderRadius": "{radius.2xl} {radius.2xl} {radius.none} {radius.none}"
688
+ },
689
+ "desktop": {
690
+ "minWidth": "{size.380}",
691
+ "minHeight": "{size.1}",
692
+ "maxHeight": "{size.60vh}",
693
+ "padding": "{spacing.4}",
694
+ "borderRadius": "{radius.2xl}",
695
+ "innerBorderRadius": "{radius.2xl} {radius.2xl} {radius.none} {radius.none}"
696
+ },
697
+ "wide": {
698
+ "minWidth": "{size.380}",
699
+ "minHeight": "{size.1}",
700
+ "maxHeight": "{size.60vh}",
701
+ "padding": "{spacing.4}",
702
+ "borderRadius": "{radius.2xl}",
703
+ "innerBorderRadius": "{radius.2xl} {radius.2xl} {radius.none} {radius.none}"
704
+ }
705
+ },
706
+
707
+ "modal": {
708
+ "sm": {
709
+ "mobile": { "width": "100%" },
710
+ "tablet": { "width": "100%" },
711
+ "desktop": { "width": "{size.550}" },
712
+ "wide": { "width": "{size.550}" }
713
+ },
714
+ "lg": {
715
+ "mobile": { "width": "100%" },
716
+ "tablet": { "width": "100%" },
717
+ "desktop": { "width": "{size.1200}" },
718
+ "wide": { "width": "{size.1200}" }
719
+ }
720
+ }
721
+ }
722
+ }