@1money/component-ui 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (377) hide show
  1. package/es/components/Accordion/style/index.d.ts +1 -1
  2. package/es/components/Accordion/style/index.js +1 -1
  3. package/es/components/Alert/style/css.js +1 -1
  4. package/es/components/Alert/style/index.d.ts +1 -1
  5. package/es/components/Alert/style/index.js +2 -2
  6. package/es/components/Button/style/index.d.ts +1 -1
  7. package/es/components/Button/style/index.js +1 -1
  8. package/es/components/Calendar/style/index.d.ts +1 -1
  9. package/es/components/Calendar/style/index.js +1 -1
  10. package/es/components/Carousel/style/index.d.ts +1 -1
  11. package/es/components/Carousel/style/index.js +1 -1
  12. package/es/components/Checkbox/style/index.d.ts +1 -1
  13. package/es/components/Checkbox/style/index.js +1 -1
  14. package/es/components/CoachMark/style/css.js +3 -3
  15. package/es/components/CoachMark/style/index.d.ts +1 -1
  16. package/es/components/CoachMark/style/index.js +4 -4
  17. package/es/components/Copy/style/index.d.ts +1 -1
  18. package/es/components/Copy/style/index.js +1 -1
  19. package/es/components/Divider/style/index.d.ts +1 -1
  20. package/es/components/Divider/style/index.js +1 -1
  21. package/es/components/Drawer/style/index.d.ts +1 -1
  22. package/es/components/Drawer/style/index.js +1 -1
  23. package/es/components/Dropdown/style/css.js +1 -1
  24. package/es/components/Dropdown/style/index.d.ts +1 -1
  25. package/es/components/Dropdown/style/index.js +2 -2
  26. package/es/components/Empty/style/css.js +1 -1
  27. package/es/components/Empty/style/index.d.ts +1 -1
  28. package/es/components/Empty/style/index.js +2 -2
  29. package/es/components/Flex/style/index.d.ts +1 -1
  30. package/es/components/Flex/style/index.js +1 -1
  31. package/es/components/Form/style/index.d.ts +1 -1
  32. package/es/components/Form/style/index.js +1 -1
  33. package/es/components/Grid/style/index.d.ts +1 -1
  34. package/es/components/Grid/style/index.js +1 -1
  35. package/es/components/Icons/style/index.d.ts +1 -1
  36. package/es/components/Icons/style/index.js +1 -1
  37. package/es/components/Input/Amount/style/index.d.ts +1 -1
  38. package/es/components/Input/Amount/style/index.js +1 -1
  39. package/es/components/Input/style/index.d.ts +6 -6
  40. package/es/components/Input/style/index.js +6 -6
  41. package/es/components/Modal/style/index.d.ts +1 -1
  42. package/es/components/Modal/style/index.js +1 -1
  43. package/es/components/Navigation/style/index.d.ts +2 -2
  44. package/es/components/Navigation/style/index.js +2 -2
  45. package/es/components/Notification/style/index.d.ts +1 -1
  46. package/es/components/Notification/style/index.js +1 -1
  47. package/es/components/Pagination/style/index.d.ts +1 -1
  48. package/es/components/Pagination/style/index.js +1 -1
  49. package/es/components/Popconfirm/style/css.js +3 -3
  50. package/es/components/Popconfirm/style/index.d.ts +1 -1
  51. package/es/components/Popconfirm/style/index.js +4 -4
  52. package/es/components/ProForm/style/index.d.ts +1 -1
  53. package/es/components/ProForm/style/index.js +1 -1
  54. package/es/components/Progress/style/index.d.ts +1 -1
  55. package/es/components/Progress/style/index.js +1 -1
  56. package/es/components/Radio/style/css.js +1 -1
  57. package/es/components/Radio/style/index.d.ts +1 -1
  58. package/es/components/Radio/style/index.js +2 -2
  59. package/es/components/Segment/style/index.d.ts +1 -1
  60. package/es/components/Segment/style/index.js +1 -1
  61. package/es/components/Select/style/css.js +2 -2
  62. package/es/components/Select/style/index.d.ts +1 -1
  63. package/es/components/Select/style/index.js +3 -3
  64. package/es/components/Skeleton/style/index.d.ts +1 -1
  65. package/es/components/Skeleton/style/index.js +1 -1
  66. package/es/components/Slider/style/index.d.ts +1 -1
  67. package/es/components/Slider/style/index.js +1 -1
  68. package/es/components/Space/style/index.d.ts +1 -1
  69. package/es/components/Space/style/index.js +1 -1
  70. package/es/components/Spinner/style/index.d.ts +1 -1
  71. package/es/components/Spinner/style/index.js +1 -1
  72. package/es/components/Step/style/index.d.ts +1 -1
  73. package/es/components/Step/style/index.js +1 -1
  74. package/es/components/Switch/style/css.js +1 -1
  75. package/es/components/Switch/style/index.d.ts +1 -1
  76. package/es/components/Switch/style/index.js +2 -2
  77. package/es/components/Table/style/css.js +8 -8
  78. package/es/components/Table/style/index.d.ts +1 -1
  79. package/es/components/Table/style/index.js +9 -9
  80. package/es/components/Tabs/style/index.d.ts +1 -1
  81. package/es/components/Tabs/style/index.js +1 -1
  82. package/es/components/Tag/style/index.d.ts +1 -1
  83. package/es/components/Tag/style/index.js +1 -1
  84. package/es/components/Tooltip/style/index.d.ts +1 -1
  85. package/es/components/Tooltip/style/index.js +1 -1
  86. package/es/components/Trigger/style/index.d.ts +1 -1
  87. package/es/components/Trigger/style/index.js +1 -1
  88. package/es/components/Typography/style/css.js +2 -2
  89. package/es/components/Typography/style/index.d.ts +1 -1
  90. package/es/components/Typography/style/index.js +3 -3
  91. package/es/components/Upload/style/index.d.ts +2 -2
  92. package/es/components/Upload/style/index.js +2 -2
  93. package/es/components/VirtualList/style/index.d.ts +1 -1
  94. package/es/components/VirtualList/style/index.js +1 -1
  95. package/es/index.css +1 -1
  96. package/lib/components/Accordion/style/index.d.ts +1 -1
  97. package/lib/components/Accordion/style/index.js +1 -1
  98. package/lib/components/Alert/style/css.js +1 -1
  99. package/lib/components/Alert/style/index.d.ts +1 -1
  100. package/lib/components/Alert/style/index.js +2 -2
  101. package/lib/components/Button/style/index.d.ts +1 -1
  102. package/lib/components/Button/style/index.js +1 -1
  103. package/lib/components/Calendar/style/index.d.ts +1 -1
  104. package/lib/components/Calendar/style/index.js +1 -1
  105. package/lib/components/Carousel/style/index.d.ts +1 -1
  106. package/lib/components/Carousel/style/index.js +1 -1
  107. package/lib/components/Checkbox/style/index.d.ts +1 -1
  108. package/lib/components/Checkbox/style/index.js +1 -1
  109. package/lib/components/CoachMark/style/css.js +3 -3
  110. package/lib/components/CoachMark/style/index.d.ts +1 -1
  111. package/lib/components/CoachMark/style/index.js +4 -4
  112. package/lib/components/Copy/style/index.d.ts +1 -1
  113. package/lib/components/Copy/style/index.js +1 -1
  114. package/lib/components/Divider/style/index.d.ts +1 -1
  115. package/lib/components/Divider/style/index.js +1 -1
  116. package/lib/components/Drawer/style/index.d.ts +1 -1
  117. package/lib/components/Drawer/style/index.js +1 -1
  118. package/lib/components/Dropdown/style/css.js +1 -1
  119. package/lib/components/Dropdown/style/index.d.ts +1 -1
  120. package/lib/components/Dropdown/style/index.js +2 -2
  121. package/lib/components/Empty/style/css.js +1 -1
  122. package/lib/components/Empty/style/index.d.ts +1 -1
  123. package/lib/components/Empty/style/index.js +2 -2
  124. package/lib/components/Flex/style/index.d.ts +1 -1
  125. package/lib/components/Flex/style/index.js +1 -1
  126. package/lib/components/Form/style/index.d.ts +1 -1
  127. package/lib/components/Form/style/index.js +1 -1
  128. package/lib/components/Grid/style/index.d.ts +1 -1
  129. package/lib/components/Grid/style/index.js +1 -1
  130. package/lib/components/Icons/style/index.d.ts +1 -1
  131. package/lib/components/Icons/style/index.js +1 -1
  132. package/lib/components/Input/Amount/style/index.d.ts +1 -1
  133. package/lib/components/Input/Amount/style/index.js +1 -1
  134. package/lib/components/Input/style/index.d.ts +6 -6
  135. package/lib/components/Input/style/index.js +6 -6
  136. package/lib/components/Modal/style/index.d.ts +1 -1
  137. package/lib/components/Modal/style/index.js +1 -1
  138. package/lib/components/Navigation/style/index.d.ts +2 -2
  139. package/lib/components/Navigation/style/index.js +2 -2
  140. package/lib/components/Notification/style/index.d.ts +1 -1
  141. package/lib/components/Notification/style/index.js +1 -1
  142. package/lib/components/Pagination/style/index.d.ts +1 -1
  143. package/lib/components/Pagination/style/index.js +1 -1
  144. package/lib/components/Popconfirm/style/css.js +3 -3
  145. package/lib/components/Popconfirm/style/index.d.ts +1 -1
  146. package/lib/components/Popconfirm/style/index.js +4 -4
  147. package/lib/components/ProForm/style/index.d.ts +1 -1
  148. package/lib/components/ProForm/style/index.js +1 -1
  149. package/lib/components/Progress/style/index.d.ts +1 -1
  150. package/lib/components/Progress/style/index.js +1 -1
  151. package/lib/components/Radio/style/css.js +1 -1
  152. package/lib/components/Radio/style/index.d.ts +1 -1
  153. package/lib/components/Radio/style/index.js +2 -2
  154. package/lib/components/Segment/style/index.d.ts +1 -1
  155. package/lib/components/Segment/style/index.js +1 -1
  156. package/lib/components/Select/style/css.js +2 -2
  157. package/lib/components/Select/style/index.d.ts +1 -1
  158. package/lib/components/Select/style/index.js +3 -3
  159. package/lib/components/Skeleton/style/index.d.ts +1 -1
  160. package/lib/components/Skeleton/style/index.js +1 -1
  161. package/lib/components/Slider/style/index.d.ts +1 -1
  162. package/lib/components/Slider/style/index.js +1 -1
  163. package/lib/components/Space/style/index.d.ts +1 -1
  164. package/lib/components/Space/style/index.js +1 -1
  165. package/lib/components/Spinner/style/index.d.ts +1 -1
  166. package/lib/components/Spinner/style/index.js +1 -1
  167. package/lib/components/Step/style/index.d.ts +1 -1
  168. package/lib/components/Step/style/index.js +1 -1
  169. package/lib/components/Switch/style/css.js +1 -1
  170. package/lib/components/Switch/style/index.d.ts +1 -1
  171. package/lib/components/Switch/style/index.js +2 -2
  172. package/lib/components/Table/style/css.js +8 -8
  173. package/lib/components/Table/style/index.d.ts +1 -1
  174. package/lib/components/Table/style/index.js +9 -9
  175. package/lib/components/Tabs/style/index.d.ts +1 -1
  176. package/lib/components/Tabs/style/index.js +1 -1
  177. package/lib/components/Tag/style/index.d.ts +1 -1
  178. package/lib/components/Tag/style/index.js +1 -1
  179. package/lib/components/Tooltip/style/index.d.ts +1 -1
  180. package/lib/components/Tooltip/style/index.js +1 -1
  181. package/lib/components/Trigger/style/index.d.ts +1 -1
  182. package/lib/components/Trigger/style/index.js +1 -1
  183. package/lib/components/Typography/style/css.js +2 -2
  184. package/lib/components/Typography/style/index.d.ts +1 -1
  185. package/lib/components/Typography/style/index.js +3 -3
  186. package/lib/components/Upload/style/index.d.ts +2 -2
  187. package/lib/components/Upload/style/index.js +2 -2
  188. package/lib/components/VirtualList/style/index.d.ts +1 -1
  189. package/lib/components/VirtualList/style/index.js +1 -1
  190. package/lib/index.css +1 -1
  191. package/package.json +1 -1
  192. package/es/components/Accordion/style/Accordion.scss +0 -127
  193. package/es/components/Alert/style/Alert.scss +0 -89
  194. package/es/components/Button/style/Button.scss +0 -190
  195. package/es/components/Calendar/style/Calendar.scss +0 -377
  196. package/es/components/Carousel/style/Carousel.scss +0 -63
  197. package/es/components/Checkbox/style/Checkbox.scss +0 -235
  198. package/es/components/CoachMark/style/CoachMark.scss +0 -176
  199. package/es/components/Copy/style/Copy.scss +0 -35
  200. package/es/components/Divider/style/Divider.scss +0 -149
  201. package/es/components/Drawer/style/Drawer.scss +0 -163
  202. package/es/components/Dropdown/style/Dropdown.scss +0 -2
  203. package/es/components/Empty/style/Empty.scss +0 -53
  204. package/es/components/Flex/style/Flex.scss +0 -70
  205. package/es/components/Form/style/Form.scss +0 -57
  206. package/es/components/Grid/style/Grid.scss +0 -184
  207. package/es/components/Icons/style/Icons.scss +0 -85
  208. package/es/components/Input/Amount/style/Amount.scss +0 -89
  209. package/es/components/Input/FieldShell/FieldShell.scss +0 -62
  210. package/es/components/Input/Input/Input.scss +0 -131
  211. package/es/components/Input/OTP/OTP.scss +0 -75
  212. package/es/components/Input/TextArea/TextArea.scss +0 -87
  213. package/es/components/Input/Trade/Trade.scss +0 -184
  214. package/es/components/Modal/style/Modal.scss +0 -254
  215. package/es/components/Navigation/style/Nav.scss +0 -174
  216. package/es/components/Navigation/style/Navigation.scss +0 -443
  217. package/es/components/Notification/style/Notification.scss +0 -200
  218. package/es/components/Pagination/style/Pagination.scss +0 -95
  219. package/es/components/Popconfirm/style/Popconfirm.scss +0 -264
  220. package/es/components/ProForm/style/ProForm.scss +0 -118
  221. package/es/components/Progress/style/Progress.scss +0 -120
  222. package/es/components/Radio/style/Radio.scss +0 -431
  223. package/es/components/Segment/style/Segment.scss +0 -80
  224. package/es/components/Select/style/Select.scss +0 -480
  225. package/es/components/Skeleton/style/Skeleton.scss +0 -47
  226. package/es/components/Slider/style/Slider.scss +0 -182
  227. package/es/components/Space/style/Space.scss +0 -40
  228. package/es/components/Spinner/style/Spinner.scss +0 -90
  229. package/es/components/Step/style/Step.scss +0 -91
  230. package/es/components/Switch/style/Switch.scss +0 -126
  231. package/es/components/Table/style/Table.scss +0 -376
  232. package/es/components/Tabs/style/Tabs.scss +0 -100
  233. package/es/components/Tag/style/Tag.scss +0 -103
  234. package/es/components/Tooltip/style/Tooltip.scss +0 -95
  235. package/es/components/Trigger/style/Trigger.scss +0 -18
  236. package/es/components/Typography/style/Typography.scss +0 -132
  237. package/es/components/Upload/style/Upload.scss +0 -44
  238. package/es/components/Upload/style/UploadFileBar.scss +0 -94
  239. package/es/components/VirtualList/style/VirtualList.scss +0 -5
  240. package/es/styles/_api.scss +0 -5
  241. package/es/styles/_settings.scss +0 -5
  242. package/es/styles/index.scss +0 -2
  243. package/es/styles/public/_index.scss +0 -2
  244. package/es/styles/public/_system.scss +0 -1
  245. package/es/styles/public/_theme.scss +0 -3
  246. package/es/styles/recipes/_index.scss +0 -1
  247. package/es/styles/recipes/_variants.scss +0 -110
  248. package/es/styles/system/_index.scss +0 -4
  249. package/es/styles/system/_props.scss +0 -95
  250. package/es/styles/system/_public.scss +0 -5
  251. package/es/styles/system/_sx.scss +0 -81
  252. package/es/styles/theme/_breakpoints.scss +0 -95
  253. package/es/styles/theme/_functions.scss +0 -271
  254. package/es/styles/theme/_index.scss +0 -6
  255. package/es/styles/theme/_mixins.scss +0 -37
  256. package/es/styles/theme/_scales.scss +0 -29
  257. package/es/styles/theme/_values.scss +0 -68
  258. package/es/styles/tokens/_index.scss +0 -11
  259. package/es/styles/tokens/breakpoint/_index.scss +0 -2
  260. package/es/styles/tokens/breakpoint/_primitives.scss +0 -8
  261. package/es/styles/tokens/color/_index.scss +0 -3
  262. package/es/styles/tokens/color/_primitives.scss +0 -42
  263. package/es/styles/tokens/color/_semantic-color.scss +0 -172
  264. package/es/styles/tokens/opacity/_functions.scss +0 -13
  265. package/es/styles/tokens/opacity/_index.scss +0 -3
  266. package/es/styles/tokens/opacity/_primitives.scss +0 -12
  267. package/es/styles/tokens/radius/_index.scss +0 -2
  268. package/es/styles/tokens/radius/_primitives.scss +0 -11
  269. package/es/styles/tokens/shadow/_index.scss +0 -2
  270. package/es/styles/tokens/shadow/_primitives.scss +0 -7
  271. package/es/styles/tokens/sizing/_functions.scss +0 -17
  272. package/es/styles/tokens/sizing/_index.scss +0 -4
  273. package/es/styles/tokens/sizing/_primitives.scss +0 -12
  274. package/es/styles/tokens/sizing/_semantic-sizing.scss +0 -11
  275. package/es/styles/tokens/spacing/_functions.scss +0 -51
  276. package/es/styles/tokens/spacing/_index.scss +0 -4
  277. package/es/styles/tokens/spacing/_primitives.scss +0 -22
  278. package/es/styles/tokens/spacing/_semantic-spacing.scss +0 -22
  279. package/es/styles/tokens/typography/_functions.scss +0 -31
  280. package/es/styles/tokens/typography/_index.scss +0 -4
  281. package/es/styles/tokens/typography/_primitives.scss +0 -27
  282. package/es/styles/tokens/typography/_semantic-typography.scss +0 -216
  283. package/es/styles/utilities/_generator.scss +0 -55
  284. package/es/styles/utilities/_index.scss +0 -14
  285. package/lib/components/Accordion/style/Accordion.scss +0 -127
  286. package/lib/components/Alert/style/Alert.scss +0 -89
  287. package/lib/components/Button/style/Button.scss +0 -190
  288. package/lib/components/Calendar/style/Calendar.scss +0 -377
  289. package/lib/components/Carousel/style/Carousel.scss +0 -63
  290. package/lib/components/Checkbox/style/Checkbox.scss +0 -235
  291. package/lib/components/CoachMark/style/CoachMark.scss +0 -176
  292. package/lib/components/Copy/style/Copy.scss +0 -35
  293. package/lib/components/Divider/style/Divider.scss +0 -149
  294. package/lib/components/Drawer/style/Drawer.scss +0 -163
  295. package/lib/components/Dropdown/style/Dropdown.scss +0 -2
  296. package/lib/components/Empty/style/Empty.scss +0 -53
  297. package/lib/components/Flex/style/Flex.scss +0 -70
  298. package/lib/components/Form/style/Form.scss +0 -57
  299. package/lib/components/Grid/style/Grid.scss +0 -184
  300. package/lib/components/Icons/style/Icons.scss +0 -85
  301. package/lib/components/Input/Amount/style/Amount.scss +0 -89
  302. package/lib/components/Input/FieldShell/FieldShell.scss +0 -62
  303. package/lib/components/Input/Input/Input.scss +0 -131
  304. package/lib/components/Input/OTP/OTP.scss +0 -75
  305. package/lib/components/Input/TextArea/TextArea.scss +0 -87
  306. package/lib/components/Input/Trade/Trade.scss +0 -184
  307. package/lib/components/Modal/style/Modal.scss +0 -254
  308. package/lib/components/Navigation/style/Nav.scss +0 -174
  309. package/lib/components/Navigation/style/Navigation.scss +0 -443
  310. package/lib/components/Notification/style/Notification.scss +0 -200
  311. package/lib/components/Pagination/style/Pagination.scss +0 -95
  312. package/lib/components/Popconfirm/style/Popconfirm.scss +0 -264
  313. package/lib/components/ProForm/style/ProForm.scss +0 -118
  314. package/lib/components/Progress/style/Progress.scss +0 -120
  315. package/lib/components/Radio/style/Radio.scss +0 -431
  316. package/lib/components/Segment/style/Segment.scss +0 -80
  317. package/lib/components/Select/style/Select.scss +0 -480
  318. package/lib/components/Skeleton/style/Skeleton.scss +0 -47
  319. package/lib/components/Slider/style/Slider.scss +0 -182
  320. package/lib/components/Space/style/Space.scss +0 -40
  321. package/lib/components/Spinner/style/Spinner.scss +0 -90
  322. package/lib/components/Step/style/Step.scss +0 -91
  323. package/lib/components/Switch/style/Switch.scss +0 -126
  324. package/lib/components/Table/style/Table.scss +0 -376
  325. package/lib/components/Tabs/style/Tabs.scss +0 -100
  326. package/lib/components/Tag/style/Tag.scss +0 -103
  327. package/lib/components/Tooltip/style/Tooltip.scss +0 -95
  328. package/lib/components/Trigger/style/Trigger.scss +0 -18
  329. package/lib/components/Typography/style/Typography.scss +0 -132
  330. package/lib/components/Upload/style/Upload.scss +0 -44
  331. package/lib/components/Upload/style/UploadFileBar.scss +0 -94
  332. package/lib/components/VirtualList/style/VirtualList.scss +0 -5
  333. package/lib/styles/_api.scss +0 -5
  334. package/lib/styles/_settings.scss +0 -5
  335. package/lib/styles/index.scss +0 -2
  336. package/lib/styles/public/_index.scss +0 -2
  337. package/lib/styles/public/_system.scss +0 -1
  338. package/lib/styles/public/_theme.scss +0 -3
  339. package/lib/styles/recipes/_index.scss +0 -1
  340. package/lib/styles/recipes/_variants.scss +0 -110
  341. package/lib/styles/system/_index.scss +0 -4
  342. package/lib/styles/system/_props.scss +0 -95
  343. package/lib/styles/system/_public.scss +0 -5
  344. package/lib/styles/system/_sx.scss +0 -81
  345. package/lib/styles/theme/_breakpoints.scss +0 -95
  346. package/lib/styles/theme/_functions.scss +0 -271
  347. package/lib/styles/theme/_index.scss +0 -6
  348. package/lib/styles/theme/_mixins.scss +0 -37
  349. package/lib/styles/theme/_scales.scss +0 -29
  350. package/lib/styles/theme/_values.scss +0 -68
  351. package/lib/styles/tokens/_index.scss +0 -11
  352. package/lib/styles/tokens/breakpoint/_index.scss +0 -2
  353. package/lib/styles/tokens/breakpoint/_primitives.scss +0 -8
  354. package/lib/styles/tokens/color/_index.scss +0 -3
  355. package/lib/styles/tokens/color/_primitives.scss +0 -42
  356. package/lib/styles/tokens/color/_semantic-color.scss +0 -172
  357. package/lib/styles/tokens/opacity/_functions.scss +0 -13
  358. package/lib/styles/tokens/opacity/_index.scss +0 -3
  359. package/lib/styles/tokens/opacity/_primitives.scss +0 -12
  360. package/lib/styles/tokens/radius/_index.scss +0 -2
  361. package/lib/styles/tokens/radius/_primitives.scss +0 -11
  362. package/lib/styles/tokens/shadow/_index.scss +0 -2
  363. package/lib/styles/tokens/shadow/_primitives.scss +0 -7
  364. package/lib/styles/tokens/sizing/_functions.scss +0 -17
  365. package/lib/styles/tokens/sizing/_index.scss +0 -4
  366. package/lib/styles/tokens/sizing/_primitives.scss +0 -12
  367. package/lib/styles/tokens/sizing/_semantic-sizing.scss +0 -11
  368. package/lib/styles/tokens/spacing/_functions.scss +0 -51
  369. package/lib/styles/tokens/spacing/_index.scss +0 -4
  370. package/lib/styles/tokens/spacing/_primitives.scss +0 -22
  371. package/lib/styles/tokens/spacing/_semantic-spacing.scss +0 -22
  372. package/lib/styles/tokens/typography/_functions.scss +0 -31
  373. package/lib/styles/tokens/typography/_index.scss +0 -4
  374. package/lib/styles/tokens/typography/_primitives.scss +0 -27
  375. package/lib/styles/tokens/typography/_semantic-typography.scss +0 -216
  376. package/lib/styles/utilities/_generator.scss +0 -55
  377. package/lib/styles/utilities/_index.scss +0 -14
@@ -1,431 +0,0 @@
1
- @use '@/styles/api' as theme;
2
- @use '@/styles/theme/functions' as theme-internal;
3
-
4
- $component: 'radio';
5
-
6
- .#{theme.$prefix}-#{$component} {
7
- display: inline-flex;
8
- gap: theme.spacing(gap, 300);
9
- align-items: flex-start;
10
- cursor: pointer;
11
-
12
- &-box-wrapper {
13
- position: relative;
14
- display: flex;
15
- flex-shrink: 0;
16
- align-items: center;
17
- justify-content: center;
18
- height: theme-internal.om-line-height-px(body, lg);
19
- }
20
-
21
- &-input {
22
- position: absolute;
23
- inset: 0;
24
- margin: 0;
25
- cursor: inherit;
26
- opacity: 0;
27
- }
28
-
29
- &-box {
30
- position: relative;
31
- display: flex;
32
- align-items: center;
33
- justify-content: center;
34
- width: theme.spacing(scale, 400);
35
- height: theme.spacing(scale, 400);
36
- overflow: hidden;
37
- background-color: theme.palette(bg, 'default');
38
- border: 1px solid theme.palette(border, 'default-secondary');
39
- border-radius: theme.shape('full');
40
- transition:
41
- background-color 0.2s ease,
42
- border-color 0.2s ease,
43
- box-shadow 0.2s ease;
44
-
45
- &::after {
46
- position: absolute;
47
- width: theme.spacing(scale, 200);
48
- height: theme.spacing(scale, 200);
49
- background-color: theme.palette(icon, 'on-brand');
50
- border-radius: theme.shape('full');
51
- transform: scale(0);
52
- opacity: 0;
53
- transition:
54
- transform 0.2s ease,
55
- opacity 0.2s ease;
56
- content: '';
57
- }
58
- }
59
-
60
- &-input:checked + .#{theme.$prefix}-#{$component}-box {
61
- background-color: theme.palette(bg, 'brand');
62
- border-color: theme.palette(bg, 'brand');
63
-
64
- &::after {
65
- transform: scale(1);
66
- opacity: 1;
67
- }
68
- }
69
-
70
- &-input:focus-visible + .#{theme.$prefix}-#{$component}-box {
71
- border-color: theme.palette(border, 'brand');
72
- box-shadow: 0 0 0 1px theme.palette(border, 'brand');
73
- }
74
-
75
- &-content {
76
- display: flex;
77
- flex: 1 0 0;
78
- flex-direction: column;
79
- min-width: 0;
80
- }
81
-
82
- &-label {
83
- @include theme.typography(body, lg, $strong: true);
84
-
85
- color: theme.palette(text, 'default');
86
- }
87
-
88
- &-description {
89
- @include theme.typography(body, md, $strong: true);
90
-
91
- color: theme.palette(text, 'default-tertiary');
92
- }
93
-
94
- &-tag {
95
- display: inline-flex;
96
- margin-top: theme.spacing(gap, 100);
97
- }
98
-
99
- &-cell {
100
- position: relative;
101
- display: block;
102
- width: 100%;
103
- min-width: 0;
104
- }
105
-
106
- &-cell-input {
107
- position: absolute;
108
- inset: 0;
109
- z-index: 1;
110
- margin: 0;
111
- cursor: inherit;
112
- opacity: 0;
113
- }
114
-
115
- &-cell-panel {
116
- --om-radio-cell-icon: #{theme.palette(icon, 'default')};
117
- --om-radio-cell-indicator-icon: #{theme.palette(icon, 'on-brand')};
118
-
119
- position: relative;
120
- display: flex;
121
- gap: theme.spacing(gap, 300);
122
- align-items: center;
123
- box-sizing: border-box;
124
- width: 100%;
125
- min-width: 0;
126
- background-color: theme.palette(bg, 'default');
127
- border: 1px solid theme.palette(border, 'default');
128
- border-radius: theme.shape(300);
129
- transition:
130
- background-color 0.2s ease,
131
- border-color 0.2s ease,
132
- box-shadow 0.2s ease;
133
- }
134
-
135
- &-cell-indicator,
136
- &-cell-icon,
137
- &-cell-radio {
138
- display: inline-flex;
139
- flex-shrink: 0;
140
- align-items: center;
141
- justify-content: center;
142
- }
143
-
144
- &-cell-indicator {
145
- width: theme.spacing(scale, 800);
146
- height: theme.spacing(scale, 800);
147
- color: var(--om-radio-cell-icon);
148
- background-color: theme.palette(bg, 'neutral-tertiary');
149
- border-radius: theme.shape('full');
150
- transition:
151
- background-color 0.2s ease,
152
- color 0.2s ease;
153
- }
154
-
155
- &-cell-indicator-compact {
156
- width: theme.spacing(scale, 600);
157
- height: theme.spacing(scale, 600);
158
- }
159
-
160
- &-cell-icon {
161
- color: var(--om-radio-cell-icon);
162
- }
163
-
164
- &-cell-radio {
165
- width: theme.spacing(scale, 400);
166
- height: theme.spacing(scale, 400);
167
- background-color: theme.palette(bg, 'default');
168
- border: 1px solid theme.palette(border, 'default-secondary');
169
- border-radius: theme.shape('full');
170
- transition:
171
- background-color 0.2s ease,
172
- border-color 0.2s ease;
173
- }
174
-
175
- &-cell-radio-dot {
176
- width: theme.spacing(scale, 100);
177
- height: theme.spacing(scale, 100);
178
- background-color: theme.palette(icon, 'on-brand');
179
- border-radius: theme.shape('full');
180
- transform: scale(0);
181
- opacity: 0;
182
- transition:
183
- transform 0.2s ease,
184
- opacity 0.2s ease;
185
- }
186
-
187
- &-cell .#{theme.$prefix}-#{$component}-content {
188
- display: flex;
189
- flex: 1 0 0;
190
- flex-direction: column;
191
- min-width: 0;
192
- }
193
-
194
- &-cell .#{theme.$prefix}-#{$component}-label {
195
- @include theme.typography(body, lg, $strong: true);
196
- }
197
-
198
- &-cell .#{theme.$prefix}-#{$component}-description {
199
- @include theme.typography(body, md);
200
- }
201
-
202
- &-cell-horizontal.#{theme.$prefix}-#{$component}-cell-large {
203
- .#{theme.$prefix}-#{$component}-cell-panel {
204
- padding: theme.spacing(scale, 400);
205
- }
206
- }
207
-
208
- &-cell-horizontal.#{theme.$prefix}-#{$component}-cell-medium,
209
- &-cell-horizontal.#{theme.$prefix}-#{$component}-cell-small {
210
- .#{theme.$prefix}-#{$component}-cell-panel {
211
- padding: theme.spacing(scale, 300) theme.spacing(scale, 400);
212
- }
213
- }
214
-
215
- &-cell-horizontal.#{theme.$prefix}-#{$component}-cell-medium {
216
- .#{theme.$prefix}-#{$component}-label {
217
- @include theme.typography(body, lg);
218
- }
219
- }
220
-
221
- &-cell-horizontal.#{theme.$prefix}-#{$component}-cell-small {
222
- .#{theme.$prefix}-#{$component}-content {
223
- justify-content: center;
224
- }
225
-
226
- .#{theme.$prefix}-#{$component}-label {
227
- @include theme.typography(body, lg, $strong: true);
228
- }
229
-
230
- .#{theme.$prefix}-#{$component}-description {
231
- @include theme.typography(body, md, $strong: true);
232
- }
233
- }
234
-
235
- &-cell-vertical {
236
- .#{theme.$prefix}-#{$component}-cell-panel {
237
- flex-direction: column;
238
- justify-content: center;
239
- }
240
-
241
- .#{theme.$prefix}-#{$component}-content {
242
- align-items: center;
243
- text-align: center;
244
- }
245
-
246
- .#{theme.$prefix}-#{$component}-label,
247
- .#{theme.$prefix}-#{$component}-description {
248
- text-align: center;
249
- }
250
- }
251
-
252
- &-cell-vertical.#{theme.$prefix}-#{$component}-cell-large {
253
- .#{theme.$prefix}-#{$component}-cell-panel {
254
- padding: theme.spacing(scale, 600) theme.spacing(scale, 400);
255
- }
256
- }
257
-
258
- &-cell-vertical.#{theme.$prefix}-#{$component}-cell-medium,
259
- &-cell-vertical.#{theme.$prefix}-#{$component}-cell-small {
260
- .#{theme.$prefix}-#{$component}-cell-panel {
261
- padding: theme.spacing(scale, 400);
262
- }
263
-
264
- .#{theme.$prefix}-#{$component}-label {
265
- @include theme.typography(body, lg);
266
- }
267
- }
268
-
269
- &-cell-input:checked + .#{theme.$prefix}-#{$component}-cell-panel {
270
- background-color: theme.palette(bg, 'default-secondary');
271
- border-color: theme.palette(border, 'brand');
272
- }
273
-
274
- &-cell-input:checked
275
- + .#{theme.$prefix}-#{$component}-cell-panel
276
- .#{theme.$prefix}-#{$component}-cell-indicator {
277
- background-color: theme.palette(bg, 'brand');
278
- }
279
-
280
- &-cell-input:checked
281
- + .#{theme.$prefix}-#{$component}-cell-panel
282
- .#{theme.$prefix}-#{$component}-cell-radio {
283
- background-color: theme.palette(bg, 'brand');
284
- border-color: theme.palette(border, 'brand');
285
- }
286
-
287
- &-cell-input:checked
288
- + .#{theme.$prefix}-#{$component}-cell-panel
289
- .#{theme.$prefix}-#{$component}-cell-radio-dot {
290
- transform: scale(1);
291
- opacity: 1;
292
- }
293
-
294
- &-cell-vertical
295
- .#{theme.$prefix}-#{$component}-cell-input:checked
296
- + .#{theme.$prefix}-#{$component}-cell-panel {
297
- border-width: 1px;
298
- }
299
-
300
- &-cell-input:focus-visible + .#{theme.$prefix}-#{$component}-cell-panel {
301
- border-color: theme.palette(border, 'brand');
302
- box-shadow: 0 0 0 1px theme.palette(border, 'brand');
303
- }
304
-
305
- &:not(&-disabled):hover {
306
- .#{theme.$prefix}-#{$component}-box {
307
- border-color: theme.palette(border, 'default-tertiary');
308
- }
309
-
310
- .#{theme.$prefix}-#{$component}-input:checked
311
- + .#{theme.$prefix}-#{$component}-box {
312
- background-color: theme.palette(bg, 'brand-hover');
313
- border-color: theme.palette(bg, 'brand-hover');
314
- }
315
-
316
- .#{theme.$prefix}-#{$component}-cell-panel {
317
- border-color: theme.palette(border, 'default-tertiary');
318
- }
319
-
320
- .#{theme.$prefix}-#{$component}-cell-input:checked
321
- + .#{theme.$prefix}-#{$component}-cell-panel {
322
- border-color: theme.palette(border, 'brand');
323
- }
324
- }
325
-
326
- &-disabled {
327
- cursor: not-allowed;
328
-
329
- .#{theme.$prefix}-#{$component}-box {
330
- background-color: theme.palette(bg, 'disabled');
331
- border-color: theme.palette(border, 'disabled');
332
- }
333
-
334
- .#{theme.$prefix}-#{$component}-input:checked
335
- + .#{theme.$prefix}-#{$component}-box {
336
- background-color: theme.palette(bg, 'disabled');
337
- border-color: theme.palette(border, 'disabled');
338
- }
339
-
340
- .#{theme.$prefix}-#{$component}-input:checked
341
- + .#{theme.$prefix}-#{$component}-box::after {
342
- background-color: theme.palette(icon, 'on-disabled');
343
- }
344
-
345
- .#{theme.$prefix}-#{$component}-label,
346
- .#{theme.$prefix}-#{$component}-description {
347
- color: theme.palette(text, 'disabled');
348
- }
349
-
350
- .#{theme.$prefix}-#{$component}-cell-panel {
351
- background-color: theme.palette(bg, 'disabled');
352
- border-color: theme.palette(border, 'disabled');
353
- }
354
-
355
- .#{theme.$prefix}-#{$component}-cell-indicator {
356
- color: theme.palette(icon, 'on-disabled');
357
- background-color: theme.palette(bg, 'disabled');
358
- }
359
-
360
- .#{theme.$prefix}-#{$component}-cell-icon {
361
- color: theme.palette(icon, 'disabled');
362
- }
363
-
364
- .#{theme.$prefix}-#{$component}-cell-radio {
365
- background-color: theme.palette(bg, 'disabled');
366
- border-color: theme.palette(border, 'disabled');
367
- }
368
-
369
- .#{theme.$prefix}-#{$component}-cell-radio-dot {
370
- background-color: theme.palette(icon, 'on-disabled');
371
- }
372
-
373
- .#{theme.$prefix}-#{$component}-tag {
374
- opacity: theme.opacity('disabled-heavy');
375
- }
376
- }
377
-
378
- &-right {
379
- .#{theme.$prefix}-#{$component}-box-wrapper {
380
- order: 1;
381
- }
382
-
383
- .#{theme.$prefix}-#{$component}-content {
384
- order: 0;
385
- }
386
-
387
- .#{theme.$prefix}-#{$component}-cell-indicator,
388
- .#{theme.$prefix}-#{$component}-cell-icon,
389
- .#{theme.$prefix}-#{$component}-cell-radio {
390
- order: 1;
391
- }
392
-
393
- .#{theme.$prefix}-#{$component}-cell .#{theme.$prefix}-#{$component}-content {
394
- order: 0;
395
- }
396
- }
397
- }
398
-
399
- $group-component: 'radio-group';
400
-
401
- .#{theme.$prefix}-#{$group-component} {
402
- display: flex;
403
-
404
- &-vertical {
405
- flex-direction: column;
406
- gap: theme.spacing(gap, 300);
407
- }
408
-
409
- &-horizontal {
410
- flex-flow: row wrap;
411
- gap: theme.spacing(gap, 600);
412
- }
413
-
414
- &-cell.#{theme.$prefix}-#{$group-component}-vertical {
415
- gap: theme.spacing(gap, 300);
416
-
417
- > .#{theme.$prefix}-#{$component} {
418
- width: 100%;
419
- }
420
- }
421
-
422
- &-cell.#{theme.$prefix}-#{$group-component}-horizontal {
423
- gap: theme.spacing(gap, 300);
424
- align-items: stretch;
425
-
426
- > .#{theme.$prefix}-#{$component} {
427
- flex: 1 1 0;
428
- min-width: 0;
429
- }
430
- }
431
- }
@@ -1,80 +0,0 @@
1
- @use '@/styles/api' as theme;
2
-
3
- $component: 'segment';
4
- $segment-track-padding: theme.spacing(scale, 100);
5
- $segment-item-height: calc(theme.spacing(scale, 800) + theme.spacing(scale, 100));
6
- $segment-item-vertical-padding: theme.spacing(scale, 200);
7
- $segment-item-horizontal-padding: theme.spacing(component-padding, 400);
8
-
9
- .#{theme.$prefix}-#{$component} {
10
- display: inline-flex;
11
-
12
- // ── Track (outer container) ──
13
- &-track {
14
- position: relative;
15
- display: inline-flex;
16
- gap: theme.spacing(gap, 100);
17
- align-items: center;
18
- padding: $segment-track-padding;
19
- background-color: theme.palette(bg, 'neutral-tertiary');
20
- border-radius: theme.shape('full');
21
- }
22
-
23
- // ── Sliding indicator (active bg pill) ──
24
- &-indicator {
25
- position: absolute;
26
- top: $segment-track-padding;
27
- bottom: $segment-track-padding;
28
- left: 0;
29
- z-index: 0;
30
- background-color: theme.palette(bg, 'neutral');
31
- border-radius: theme.shape('full');
32
- transition:
33
- transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
34
- width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
35
- }
36
-
37
- // ── Individual segment item ──
38
- &-item {
39
- position: relative;
40
- z-index: 1;
41
- display: inline-flex;
42
- align-items: center;
43
- justify-content: center;
44
- box-sizing: border-box;
45
- height: $segment-item-height;
46
- padding: $segment-item-vertical-padding $segment-item-horizontal-padding;
47
- color: theme.palette(text, 'default-tertiary');
48
- background: none;
49
- border: none;
50
- border-radius: theme.shape('full');
51
- outline: none;
52
- cursor: pointer;
53
- transition: color 0.2s ease;
54
-
55
- @include theme.typography(label, lg);
56
-
57
- // ── Hover state ──
58
- &:hover:not(.#{theme.$prefix}-#{$component}-item-disabled):not(
59
- .#{theme.$prefix}-#{$component}-item-active
60
- ) {
61
- color: theme.palette(text, 'default');
62
- }
63
-
64
- // ── Active state ──
65
- &-active {
66
- color: theme.palette(text, 'on-neutral');
67
- }
68
-
69
- // ── Disabled state ──
70
- &-disabled {
71
- color: theme.palette(text, 'disabled');
72
- cursor: not-allowed;
73
- }
74
- }
75
-
76
- // ── Item label ──
77
- &-item-label {
78
- white-space: nowrap;
79
- }
80
- }