@1money/component-ui 0.0.1 → 0.0.2

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 (357) 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/index.d.ts +1 -1
  4. package/es/components/Alert/style/index.js +1 -1
  5. package/es/components/Button/style/index.d.ts +1 -1
  6. package/es/components/Button/style/index.js +1 -1
  7. package/es/components/Calendar/style/index.d.ts +1 -1
  8. package/es/components/Calendar/style/index.js +1 -1
  9. package/es/components/Carousel/style/index.d.ts +1 -1
  10. package/es/components/Carousel/style/index.js +1 -1
  11. package/es/components/Checkbox/style/index.d.ts +1 -1
  12. package/es/components/Checkbox/style/index.js +1 -1
  13. package/es/components/CoachMark/style/index.d.ts +1 -1
  14. package/es/components/CoachMark/style/index.js +1 -1
  15. package/es/components/Copy/style/index.d.ts +1 -1
  16. package/es/components/Copy/style/index.js +1 -1
  17. package/es/components/Divider/style/index.d.ts +1 -1
  18. package/es/components/Divider/style/index.js +1 -1
  19. package/es/components/Drawer/style/index.d.ts +1 -1
  20. package/es/components/Drawer/style/index.js +1 -1
  21. package/es/components/Dropdown/style/index.d.ts +1 -1
  22. package/es/components/Dropdown/style/index.js +1 -1
  23. package/es/components/Empty/style/index.d.ts +1 -1
  24. package/es/components/Empty/style/index.js +1 -1
  25. package/es/components/Flex/style/index.d.ts +1 -1
  26. package/es/components/Flex/style/index.js +1 -1
  27. package/es/components/Form/style/index.d.ts +1 -1
  28. package/es/components/Form/style/index.js +1 -1
  29. package/es/components/Grid/style/index.d.ts +1 -1
  30. package/es/components/Grid/style/index.js +1 -1
  31. package/es/components/Icons/style/index.d.ts +1 -1
  32. package/es/components/Icons/style/index.js +1 -1
  33. package/es/components/Input/Amount/style/index.d.ts +1 -1
  34. package/es/components/Input/Amount/style/index.js +1 -1
  35. package/es/components/Input/style/index.d.ts +6 -6
  36. package/es/components/Input/style/index.js +6 -6
  37. package/es/components/Modal/style/index.d.ts +1 -1
  38. package/es/components/Modal/style/index.js +1 -1
  39. package/es/components/Navigation/style/index.d.ts +2 -2
  40. package/es/components/Navigation/style/index.js +2 -2
  41. package/es/components/Notification/style/index.d.ts +1 -1
  42. package/es/components/Notification/style/index.js +1 -1
  43. package/es/components/Pagination/style/index.d.ts +1 -1
  44. package/es/components/Pagination/style/index.js +1 -1
  45. package/es/components/Popconfirm/style/index.d.ts +1 -1
  46. package/es/components/Popconfirm/style/index.js +1 -1
  47. package/es/components/ProForm/style/index.d.ts +1 -1
  48. package/es/components/ProForm/style/index.js +1 -1
  49. package/es/components/Progress/style/index.d.ts +1 -1
  50. package/es/components/Progress/style/index.js +1 -1
  51. package/es/components/Radio/style/index.d.ts +1 -1
  52. package/es/components/Radio/style/index.js +1 -1
  53. package/es/components/Segment/style/index.d.ts +1 -1
  54. package/es/components/Segment/style/index.js +1 -1
  55. package/es/components/Select/style/index.d.ts +1 -1
  56. package/es/components/Select/style/index.js +1 -1
  57. package/es/components/Skeleton/style/index.d.ts +1 -1
  58. package/es/components/Skeleton/style/index.js +1 -1
  59. package/es/components/Slider/style/index.d.ts +1 -1
  60. package/es/components/Slider/style/index.js +1 -1
  61. package/es/components/Space/style/index.d.ts +1 -1
  62. package/es/components/Space/style/index.js +1 -1
  63. package/es/components/Spinner/style/index.d.ts +1 -1
  64. package/es/components/Spinner/style/index.js +1 -1
  65. package/es/components/Step/style/index.d.ts +1 -1
  66. package/es/components/Step/style/index.js +1 -1
  67. package/es/components/Switch/style/index.d.ts +1 -1
  68. package/es/components/Switch/style/index.js +1 -1
  69. package/es/components/Table/style/index.d.ts +1 -1
  70. package/es/components/Table/style/index.js +1 -1
  71. package/es/components/Tabs/style/index.d.ts +1 -1
  72. package/es/components/Tabs/style/index.js +1 -1
  73. package/es/components/Tag/style/index.d.ts +1 -1
  74. package/es/components/Tag/style/index.js +1 -1
  75. package/es/components/Tooltip/style/index.d.ts +1 -1
  76. package/es/components/Tooltip/style/index.js +1 -1
  77. package/es/components/Trigger/style/index.d.ts +1 -1
  78. package/es/components/Trigger/style/index.js +1 -1
  79. package/es/components/Typography/style/index.d.ts +1 -1
  80. package/es/components/Typography/style/index.js +1 -1
  81. package/es/components/Upload/style/index.d.ts +2 -2
  82. package/es/components/Upload/style/index.js +2 -2
  83. package/es/components/VirtualList/style/index.d.ts +1 -1
  84. package/es/components/VirtualList/style/index.js +1 -1
  85. package/es/index.css +1 -1
  86. package/lib/components/Accordion/style/index.d.ts +1 -1
  87. package/lib/components/Accordion/style/index.js +1 -1
  88. package/lib/components/Alert/style/index.d.ts +1 -1
  89. package/lib/components/Alert/style/index.js +1 -1
  90. package/lib/components/Button/style/index.d.ts +1 -1
  91. package/lib/components/Button/style/index.js +1 -1
  92. package/lib/components/Calendar/style/index.d.ts +1 -1
  93. package/lib/components/Calendar/style/index.js +1 -1
  94. package/lib/components/Carousel/style/index.d.ts +1 -1
  95. package/lib/components/Carousel/style/index.js +1 -1
  96. package/lib/components/Checkbox/style/index.d.ts +1 -1
  97. package/lib/components/Checkbox/style/index.js +1 -1
  98. package/lib/components/CoachMark/style/index.d.ts +1 -1
  99. package/lib/components/CoachMark/style/index.js +1 -1
  100. package/lib/components/Copy/style/index.d.ts +1 -1
  101. package/lib/components/Copy/style/index.js +1 -1
  102. package/lib/components/Divider/style/index.d.ts +1 -1
  103. package/lib/components/Divider/style/index.js +1 -1
  104. package/lib/components/Drawer/style/index.d.ts +1 -1
  105. package/lib/components/Drawer/style/index.js +1 -1
  106. package/lib/components/Dropdown/style/index.d.ts +1 -1
  107. package/lib/components/Dropdown/style/index.js +1 -1
  108. package/lib/components/Empty/style/index.d.ts +1 -1
  109. package/lib/components/Empty/style/index.js +1 -1
  110. package/lib/components/Flex/style/index.d.ts +1 -1
  111. package/lib/components/Flex/style/index.js +1 -1
  112. package/lib/components/Form/style/index.d.ts +1 -1
  113. package/lib/components/Form/style/index.js +1 -1
  114. package/lib/components/Grid/style/index.d.ts +1 -1
  115. package/lib/components/Grid/style/index.js +1 -1
  116. package/lib/components/Icons/style/index.d.ts +1 -1
  117. package/lib/components/Icons/style/index.js +1 -1
  118. package/lib/components/Input/Amount/style/index.d.ts +1 -1
  119. package/lib/components/Input/Amount/style/index.js +1 -1
  120. package/lib/components/Input/style/index.d.ts +6 -6
  121. package/lib/components/Input/style/index.js +6 -6
  122. package/lib/components/Modal/style/index.d.ts +1 -1
  123. package/lib/components/Modal/style/index.js +1 -1
  124. package/lib/components/Navigation/style/index.d.ts +2 -2
  125. package/lib/components/Navigation/style/index.js +2 -2
  126. package/lib/components/Notification/style/index.d.ts +1 -1
  127. package/lib/components/Notification/style/index.js +1 -1
  128. package/lib/components/Pagination/style/index.d.ts +1 -1
  129. package/lib/components/Pagination/style/index.js +1 -1
  130. package/lib/components/Popconfirm/style/index.d.ts +1 -1
  131. package/lib/components/Popconfirm/style/index.js +1 -1
  132. package/lib/components/ProForm/style/index.d.ts +1 -1
  133. package/lib/components/ProForm/style/index.js +1 -1
  134. package/lib/components/Progress/style/index.d.ts +1 -1
  135. package/lib/components/Progress/style/index.js +1 -1
  136. package/lib/components/Radio/style/index.d.ts +1 -1
  137. package/lib/components/Radio/style/index.js +1 -1
  138. package/lib/components/Segment/style/index.d.ts +1 -1
  139. package/lib/components/Segment/style/index.js +1 -1
  140. package/lib/components/Select/style/index.d.ts +1 -1
  141. package/lib/components/Select/style/index.js +1 -1
  142. package/lib/components/Skeleton/style/index.d.ts +1 -1
  143. package/lib/components/Skeleton/style/index.js +1 -1
  144. package/lib/components/Slider/style/index.d.ts +1 -1
  145. package/lib/components/Slider/style/index.js +1 -1
  146. package/lib/components/Space/style/index.d.ts +1 -1
  147. package/lib/components/Space/style/index.js +1 -1
  148. package/lib/components/Spinner/style/index.d.ts +1 -1
  149. package/lib/components/Spinner/style/index.js +1 -1
  150. package/lib/components/Step/style/index.d.ts +1 -1
  151. package/lib/components/Step/style/index.js +1 -1
  152. package/lib/components/Switch/style/index.d.ts +1 -1
  153. package/lib/components/Switch/style/index.js +1 -1
  154. package/lib/components/Table/style/index.d.ts +1 -1
  155. package/lib/components/Table/style/index.js +1 -1
  156. package/lib/components/Tabs/style/index.d.ts +1 -1
  157. package/lib/components/Tabs/style/index.js +1 -1
  158. package/lib/components/Tag/style/index.d.ts +1 -1
  159. package/lib/components/Tag/style/index.js +1 -1
  160. package/lib/components/Tooltip/style/index.d.ts +1 -1
  161. package/lib/components/Tooltip/style/index.js +1 -1
  162. package/lib/components/Trigger/style/index.d.ts +1 -1
  163. package/lib/components/Trigger/style/index.js +1 -1
  164. package/lib/components/Typography/style/index.d.ts +1 -1
  165. package/lib/components/Typography/style/index.js +1 -1
  166. package/lib/components/Upload/style/index.d.ts +2 -2
  167. package/lib/components/Upload/style/index.js +2 -2
  168. package/lib/components/VirtualList/style/index.d.ts +1 -1
  169. package/lib/components/VirtualList/style/index.js +1 -1
  170. package/lib/index.css +1 -1
  171. package/package.json +1 -1
  172. package/es/components/Accordion/style/Accordion.scss +0 -127
  173. package/es/components/Alert/style/Alert.scss +0 -89
  174. package/es/components/Button/style/Button.scss +0 -190
  175. package/es/components/Calendar/style/Calendar.scss +0 -377
  176. package/es/components/Carousel/style/Carousel.scss +0 -63
  177. package/es/components/Checkbox/style/Checkbox.scss +0 -235
  178. package/es/components/CoachMark/style/CoachMark.scss +0 -176
  179. package/es/components/Copy/style/Copy.scss +0 -35
  180. package/es/components/Divider/style/Divider.scss +0 -149
  181. package/es/components/Drawer/style/Drawer.scss +0 -163
  182. package/es/components/Dropdown/style/Dropdown.scss +0 -2
  183. package/es/components/Empty/style/Empty.scss +0 -53
  184. package/es/components/Flex/style/Flex.scss +0 -70
  185. package/es/components/Form/style/Form.scss +0 -57
  186. package/es/components/Grid/style/Grid.scss +0 -184
  187. package/es/components/Icons/style/Icons.scss +0 -85
  188. package/es/components/Input/Amount/style/Amount.scss +0 -89
  189. package/es/components/Input/FieldShell/FieldShell.scss +0 -62
  190. package/es/components/Input/Input/Input.scss +0 -131
  191. package/es/components/Input/OTP/OTP.scss +0 -75
  192. package/es/components/Input/TextArea/TextArea.scss +0 -87
  193. package/es/components/Input/Trade/Trade.scss +0 -184
  194. package/es/components/Modal/style/Modal.scss +0 -254
  195. package/es/components/Navigation/style/Nav.scss +0 -174
  196. package/es/components/Navigation/style/Navigation.scss +0 -443
  197. package/es/components/Notification/style/Notification.scss +0 -200
  198. package/es/components/Pagination/style/Pagination.scss +0 -95
  199. package/es/components/Popconfirm/style/Popconfirm.scss +0 -264
  200. package/es/components/ProForm/style/ProForm.scss +0 -118
  201. package/es/components/Progress/style/Progress.scss +0 -120
  202. package/es/components/Radio/style/Radio.scss +0 -431
  203. package/es/components/Segment/style/Segment.scss +0 -80
  204. package/es/components/Select/style/Select.scss +0 -480
  205. package/es/components/Skeleton/style/Skeleton.scss +0 -47
  206. package/es/components/Slider/style/Slider.scss +0 -182
  207. package/es/components/Space/style/Space.scss +0 -40
  208. package/es/components/Spinner/style/Spinner.scss +0 -90
  209. package/es/components/Step/style/Step.scss +0 -91
  210. package/es/components/Switch/style/Switch.scss +0 -126
  211. package/es/components/Table/style/Table.scss +0 -376
  212. package/es/components/Tabs/style/Tabs.scss +0 -100
  213. package/es/components/Tag/style/Tag.scss +0 -103
  214. package/es/components/Tooltip/style/Tooltip.scss +0 -95
  215. package/es/components/Trigger/style/Trigger.scss +0 -18
  216. package/es/components/Typography/style/Typography.scss +0 -132
  217. package/es/components/Upload/style/Upload.scss +0 -44
  218. package/es/components/Upload/style/UploadFileBar.scss +0 -94
  219. package/es/components/VirtualList/style/VirtualList.scss +0 -5
  220. package/es/styles/_api.scss +0 -5
  221. package/es/styles/_settings.scss +0 -5
  222. package/es/styles/index.scss +0 -2
  223. package/es/styles/public/_index.scss +0 -2
  224. package/es/styles/public/_system.scss +0 -1
  225. package/es/styles/public/_theme.scss +0 -3
  226. package/es/styles/recipes/_index.scss +0 -1
  227. package/es/styles/recipes/_variants.scss +0 -110
  228. package/es/styles/system/_index.scss +0 -4
  229. package/es/styles/system/_props.scss +0 -95
  230. package/es/styles/system/_public.scss +0 -5
  231. package/es/styles/system/_sx.scss +0 -81
  232. package/es/styles/theme/_breakpoints.scss +0 -95
  233. package/es/styles/theme/_functions.scss +0 -271
  234. package/es/styles/theme/_index.scss +0 -6
  235. package/es/styles/theme/_mixins.scss +0 -37
  236. package/es/styles/theme/_scales.scss +0 -29
  237. package/es/styles/theme/_values.scss +0 -68
  238. package/es/styles/tokens/_index.scss +0 -11
  239. package/es/styles/tokens/breakpoint/_index.scss +0 -2
  240. package/es/styles/tokens/breakpoint/_primitives.scss +0 -8
  241. package/es/styles/tokens/color/_index.scss +0 -3
  242. package/es/styles/tokens/color/_primitives.scss +0 -42
  243. package/es/styles/tokens/color/_semantic-color.scss +0 -172
  244. package/es/styles/tokens/opacity/_functions.scss +0 -13
  245. package/es/styles/tokens/opacity/_index.scss +0 -3
  246. package/es/styles/tokens/opacity/_primitives.scss +0 -12
  247. package/es/styles/tokens/radius/_index.scss +0 -2
  248. package/es/styles/tokens/radius/_primitives.scss +0 -11
  249. package/es/styles/tokens/shadow/_index.scss +0 -2
  250. package/es/styles/tokens/shadow/_primitives.scss +0 -7
  251. package/es/styles/tokens/sizing/_functions.scss +0 -17
  252. package/es/styles/tokens/sizing/_index.scss +0 -4
  253. package/es/styles/tokens/sizing/_primitives.scss +0 -12
  254. package/es/styles/tokens/sizing/_semantic-sizing.scss +0 -11
  255. package/es/styles/tokens/spacing/_functions.scss +0 -51
  256. package/es/styles/tokens/spacing/_index.scss +0 -4
  257. package/es/styles/tokens/spacing/_primitives.scss +0 -22
  258. package/es/styles/tokens/spacing/_semantic-spacing.scss +0 -22
  259. package/es/styles/tokens/typography/_functions.scss +0 -31
  260. package/es/styles/tokens/typography/_index.scss +0 -4
  261. package/es/styles/tokens/typography/_primitives.scss +0 -27
  262. package/es/styles/tokens/typography/_semantic-typography.scss +0 -216
  263. package/es/styles/utilities/_generator.scss +0 -55
  264. package/es/styles/utilities/_index.scss +0 -14
  265. package/lib/components/Accordion/style/Accordion.scss +0 -127
  266. package/lib/components/Alert/style/Alert.scss +0 -89
  267. package/lib/components/Button/style/Button.scss +0 -190
  268. package/lib/components/Calendar/style/Calendar.scss +0 -377
  269. package/lib/components/Carousel/style/Carousel.scss +0 -63
  270. package/lib/components/Checkbox/style/Checkbox.scss +0 -235
  271. package/lib/components/CoachMark/style/CoachMark.scss +0 -176
  272. package/lib/components/Copy/style/Copy.scss +0 -35
  273. package/lib/components/Divider/style/Divider.scss +0 -149
  274. package/lib/components/Drawer/style/Drawer.scss +0 -163
  275. package/lib/components/Dropdown/style/Dropdown.scss +0 -2
  276. package/lib/components/Empty/style/Empty.scss +0 -53
  277. package/lib/components/Flex/style/Flex.scss +0 -70
  278. package/lib/components/Form/style/Form.scss +0 -57
  279. package/lib/components/Grid/style/Grid.scss +0 -184
  280. package/lib/components/Icons/style/Icons.scss +0 -85
  281. package/lib/components/Input/Amount/style/Amount.scss +0 -89
  282. package/lib/components/Input/FieldShell/FieldShell.scss +0 -62
  283. package/lib/components/Input/Input/Input.scss +0 -131
  284. package/lib/components/Input/OTP/OTP.scss +0 -75
  285. package/lib/components/Input/TextArea/TextArea.scss +0 -87
  286. package/lib/components/Input/Trade/Trade.scss +0 -184
  287. package/lib/components/Modal/style/Modal.scss +0 -254
  288. package/lib/components/Navigation/style/Nav.scss +0 -174
  289. package/lib/components/Navigation/style/Navigation.scss +0 -443
  290. package/lib/components/Notification/style/Notification.scss +0 -200
  291. package/lib/components/Pagination/style/Pagination.scss +0 -95
  292. package/lib/components/Popconfirm/style/Popconfirm.scss +0 -264
  293. package/lib/components/ProForm/style/ProForm.scss +0 -118
  294. package/lib/components/Progress/style/Progress.scss +0 -120
  295. package/lib/components/Radio/style/Radio.scss +0 -431
  296. package/lib/components/Segment/style/Segment.scss +0 -80
  297. package/lib/components/Select/style/Select.scss +0 -480
  298. package/lib/components/Skeleton/style/Skeleton.scss +0 -47
  299. package/lib/components/Slider/style/Slider.scss +0 -182
  300. package/lib/components/Space/style/Space.scss +0 -40
  301. package/lib/components/Spinner/style/Spinner.scss +0 -90
  302. package/lib/components/Step/style/Step.scss +0 -91
  303. package/lib/components/Switch/style/Switch.scss +0 -126
  304. package/lib/components/Table/style/Table.scss +0 -376
  305. package/lib/components/Tabs/style/Tabs.scss +0 -100
  306. package/lib/components/Tag/style/Tag.scss +0 -103
  307. package/lib/components/Tooltip/style/Tooltip.scss +0 -95
  308. package/lib/components/Trigger/style/Trigger.scss +0 -18
  309. package/lib/components/Typography/style/Typography.scss +0 -132
  310. package/lib/components/Upload/style/Upload.scss +0 -44
  311. package/lib/components/Upload/style/UploadFileBar.scss +0 -94
  312. package/lib/components/VirtualList/style/VirtualList.scss +0 -5
  313. package/lib/styles/_api.scss +0 -5
  314. package/lib/styles/_settings.scss +0 -5
  315. package/lib/styles/index.scss +0 -2
  316. package/lib/styles/public/_index.scss +0 -2
  317. package/lib/styles/public/_system.scss +0 -1
  318. package/lib/styles/public/_theme.scss +0 -3
  319. package/lib/styles/recipes/_index.scss +0 -1
  320. package/lib/styles/recipes/_variants.scss +0 -110
  321. package/lib/styles/system/_index.scss +0 -4
  322. package/lib/styles/system/_props.scss +0 -95
  323. package/lib/styles/system/_public.scss +0 -5
  324. package/lib/styles/system/_sx.scss +0 -81
  325. package/lib/styles/theme/_breakpoints.scss +0 -95
  326. package/lib/styles/theme/_functions.scss +0 -271
  327. package/lib/styles/theme/_index.scss +0 -6
  328. package/lib/styles/theme/_mixins.scss +0 -37
  329. package/lib/styles/theme/_scales.scss +0 -29
  330. package/lib/styles/theme/_values.scss +0 -68
  331. package/lib/styles/tokens/_index.scss +0 -11
  332. package/lib/styles/tokens/breakpoint/_index.scss +0 -2
  333. package/lib/styles/tokens/breakpoint/_primitives.scss +0 -8
  334. package/lib/styles/tokens/color/_index.scss +0 -3
  335. package/lib/styles/tokens/color/_primitives.scss +0 -42
  336. package/lib/styles/tokens/color/_semantic-color.scss +0 -172
  337. package/lib/styles/tokens/opacity/_functions.scss +0 -13
  338. package/lib/styles/tokens/opacity/_index.scss +0 -3
  339. package/lib/styles/tokens/opacity/_primitives.scss +0 -12
  340. package/lib/styles/tokens/radius/_index.scss +0 -2
  341. package/lib/styles/tokens/radius/_primitives.scss +0 -11
  342. package/lib/styles/tokens/shadow/_index.scss +0 -2
  343. package/lib/styles/tokens/shadow/_primitives.scss +0 -7
  344. package/lib/styles/tokens/sizing/_functions.scss +0 -17
  345. package/lib/styles/tokens/sizing/_index.scss +0 -4
  346. package/lib/styles/tokens/sizing/_primitives.scss +0 -12
  347. package/lib/styles/tokens/sizing/_semantic-sizing.scss +0 -11
  348. package/lib/styles/tokens/spacing/_functions.scss +0 -51
  349. package/lib/styles/tokens/spacing/_index.scss +0 -4
  350. package/lib/styles/tokens/spacing/_primitives.scss +0 -22
  351. package/lib/styles/tokens/spacing/_semantic-spacing.scss +0 -22
  352. package/lib/styles/tokens/typography/_functions.scss +0 -31
  353. package/lib/styles/tokens/typography/_index.scss +0 -4
  354. package/lib/styles/tokens/typography/_primitives.scss +0 -27
  355. package/lib/styles/tokens/typography/_semantic-typography.scss +0 -216
  356. package/lib/styles/utilities/_generator.scss +0 -55
  357. package/lib/styles/utilities/_index.scss +0 -14
@@ -1,100 +0,0 @@
1
- @use '@/styles/api' as theme;
2
-
3
- $component: 'tabs';
4
-
5
- .#{theme.$prefix}-#{$component} {
6
- display: flex;
7
- flex-direction: column;
8
- width: 100%;
9
-
10
- // ── Header (tab bar) ──
11
- &-header {
12
- position: relative;
13
- display: flex;
14
- gap: theme.spacing(scale, 0);
15
- align-items: center;
16
- overflow-x: auto;
17
-
18
- // Hide scrollbar
19
- &::-webkit-scrollbar {
20
- display: none;
21
- }
22
-
23
- -ms-overflow-style: none;
24
- scrollbar-width: none;
25
- }
26
-
27
- // ── Individual tab ──
28
- &-tab {
29
- display: inline-flex;
30
- flex-shrink: 0;
31
- gap: theme.spacing(gap, 100);
32
- align-items: center;
33
- justify-content: center;
34
- height: theme.sizing(component-height, '2xl');
35
- padding: theme.spacing(scale, 100) theme.spacing(component-padding, 400);
36
- color: theme.palette(text, 'default-tertiary');
37
- background: none;
38
- border: none;
39
- border-bottom: 1px solid theme.palette(border, 'neutral');
40
- border-radius: theme.shape(100) theme.shape(100) 0 0;
41
- outline: none;
42
- cursor: pointer;
43
- transition: color 0.2s ease;
44
-
45
- @include theme.typography(title, md, $strong: true);
46
-
47
- // ── Hover state ──
48
- &:hover:not(.#{theme.$prefix}-#{$component}-tab-disabled):not(
49
- .#{theme.$prefix}-#{$component}-tab-active
50
- ) {
51
- color: theme.palette(text, 'default');
52
- }
53
-
54
- // ── Active state ──
55
- &-active {
56
- color: theme.palette(text, 'default');
57
- }
58
-
59
- // ── Disabled state ──
60
- &-disabled {
61
- color: theme.palette(text, 'disabled');
62
- cursor: not-allowed;
63
- }
64
- }
65
-
66
- // ── Sliding indicator ──
67
- &-indicator {
68
- position: absolute;
69
- bottom: 0;
70
- left: 0;
71
- height: 2px;
72
- background-color: #000;
73
- transition:
74
- transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
75
- width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
76
- }
77
-
78
- // ── Tab label ──
79
- &-tab-label {
80
- white-space: nowrap;
81
- }
82
-
83
- // ── Tab badge ──
84
- &-tab-badge {
85
- display: inline-flex;
86
- align-items: center;
87
- justify-content: center;
88
- padding: theme.spacing(scale, 100) theme.spacing(scale, 200);
89
- color: theme.palette(text, 'default-tertiary');
90
- background-color: theme.palette(bg, 'neutral-tertiary');
91
- border-radius: theme.shape('full');
92
-
93
- @include theme.typography(body, sm, $strong: true);
94
- }
95
-
96
- // ── Panel ──
97
- &-panel {
98
- padding: theme.spacing(scale, 400) 0;
99
- }
100
- }
@@ -1,103 +0,0 @@
1
- @use '@/styles/api' as theme;
2
- @use '@/styles/recipes/variants' as variants;
3
-
4
- $component: 'tag';
5
-
6
- // ── Variant DSL ──
7
- $tag-variant-schema: variants.om-variant-schema($component, text, bg);
8
- $tag-variants: (
9
- 'neutral': (
10
- text: theme.palette(text, 'default-tertiary'),
11
- bg: theme.palette(bg, 'neutral-tertiary'),
12
- ),
13
- 'warning': (
14
- text: theme.palette(text, 'warning'),
15
- bg: theme.palette(bg, 'warning-secondary-hover'),
16
- ),
17
- 'negative': (
18
- text: theme.palette(text, 'danger'),
19
- bg: theme.palette(bg, 'danger-tertiary-hover'),
20
- ),
21
- 'success': (
22
- text: theme.palette(text, 'positive'),
23
- bg: theme.palette(bg, 'positive-tertiary-hover'),
24
- ),
25
- 'recommended': (
26
- text: theme.palette(text, 'brand'),
27
- bg: theme.palette(bg, 'brand-tertiary'),
28
- ),
29
- 'black': (
30
- text: theme.palette(text, 'default'),
31
- bg: theme.palette(bg, 'default-tertiary'),
32
- ),
33
- );
34
-
35
- .#{theme.$prefix}-#{$component} {
36
- @include variants.om-variant-default($tag-variants, 'neutral', $tag-variant-schema);
37
-
38
- display: inline-flex;
39
- gap: theme.spacing(gap, 100);
40
- align-items: center;
41
- justify-content: center;
42
- height: 24px;
43
- padding: 0 theme.spacing(component-padding, 200);
44
- color: var(--om-tag-text);
45
- background-color: var(--om-tag-bg);
46
- border: none;
47
- border-radius: theme.shape('full');
48
- cursor: default;
49
-
50
- // ── Size: medium ──
51
- &-medium {
52
- height: 20px;
53
- }
54
-
55
- // ── Size: small ──
56
- &-small {
57
- gap: theme.spacing(gap, '050');
58
- height: 16px;
59
- padding: 0 theme.spacing(scale, 100);
60
-
61
- }
62
-
63
- // ── Icon ──
64
- &-icon {
65
- display: inline-flex;
66
- flex-shrink: 0;
67
- align-items: center;
68
- justify-content: center;
69
- color: inherit;
70
- }
71
-
72
- // ── Label ──
73
- &-label {
74
- flex-shrink: 0;
75
- white-space: nowrap;
76
- }
77
-
78
- &-label-large,
79
- &-label-medium {
80
- line-height: 1.33;
81
- }
82
-
83
- &-label-small {
84
- line-height: 1.08;
85
- }
86
-
87
- // ── Remove button ──
88
- &-remove {
89
- display: inline-flex;
90
- flex-shrink: 0;
91
- align-items: center;
92
- justify-content: center;
93
- color: inherit;
94
- cursor: pointer;
95
-
96
- &:hover {
97
- opacity: theme.opacity('disabled-heavy');
98
- }
99
- }
100
-
101
- // ── Color variants ──
102
- @include variants.om-variant-classes($tag-variants, $tag-variant-schema, $default: 'neutral');
103
- }
@@ -1,95 +0,0 @@
1
- @use '@/styles/api' as theme;
2
-
3
- $component: 'tooltip';
4
- $cls: #{theme.$prefix}-#{$component};
5
-
6
- // ── Override react-tooltip defaults ──
7
- .#{$cls}[role='tooltip'] {
8
- display: flex;
9
- flex-direction: column;
10
- gap: theme.spacing(scale, 0);
11
- align-items: center;
12
- min-width: 48px;
13
- max-width: 400px;
14
- padding: theme.spacing(scale, 200) theme.spacing(scale, 300);
15
- color: theme.palette(text, 'on-neutral');
16
- background-color: theme.palette(bg, 'neutral');
17
- border-radius: theme.shape('200');
18
- box-shadow: theme.shadows('200');
19
- opacity: 1;
20
-
21
- // ── Title ──
22
- .#{$cls}-title {
23
- @include theme.typography(title, sm, $strong: true);
24
- }
25
-
26
- // ── Body ──
27
- .#{$cls}-body {
28
- @include theme.typography(body, sm, $strong: true);
29
- }
30
-
31
- // ── Title variant layout ──
32
- &.#{$cls}-with-title {
33
- align-items: flex-start;
34
- text-align: left;
35
- }
36
-
37
- // ── Arrow ──
38
- .#{$cls}-arrow {
39
- background-color: theme.palette(bg, 'neutral');
40
- border-radius: 0;
41
- -webkit-mask-position: center;
42
- mask-position: center;
43
- -webkit-mask-repeat: no-repeat;
44
- mask-repeat: no-repeat;
45
- -webkit-mask-size: 100% 100%;
46
- mask-size: 100% 100%;
47
- }
48
-
49
- // SVG beak paths shared by both orientations
50
- $beak-paths: '%3Cpath d=%22M17.3146 7.35495L10.3664 0.8154C9.80987 0.291642 9.07447 0 8.31027 0H27.6897C26.9255 0 26.1901 0.291642 25.6336 0.815401L18.6854 7.35495C18.3003 7.71735 17.6997 7.71735 17.3146 7.35495Z%22 fill=%22%23000000%22/%3E%3Cpath d=%22M8 0.5H8.34315C9.40401 0.5 10.4214 0.921427 11.1716 1.67157L17.2929 7.79289C17.6834 8.18342 18.3166 8.18342 18.7071 7.79289L24.8284 1.67157C25.5786 0.921426 26.596 0.5 27.6569 0.5H28%22 stroke=%22%23000000%22 stroke-linecap=%22round%22/%3E';
51
- $h-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 36 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E#{$beak-paths}%3C/svg%3E");
52
- $v-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 9 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(0 36) rotate(-90)'%3E#{$beak-paths}%3C/g%3E%3C/svg%3E");
53
-
54
- &[class*='react-tooltip__place-top'] > .#{$cls}-arrow,
55
- &[class*='react-tooltip__place-bottom'] > .#{$cls}-arrow {
56
- width: 36px;
57
- height: 9px;
58
- -webkit-mask-image: $h-mask;
59
- mask-image: $h-mask;
60
- }
61
-
62
- &[class*='react-tooltip__place-left'] > .#{$cls}-arrow,
63
- &[class*='react-tooltip__place-right'] > .#{$cls}-arrow {
64
- width: 9px;
65
- height: 36px;
66
- -webkit-mask-image: $v-mask;
67
- mask-image: $v-mask;
68
- }
69
-
70
- &[class*='react-tooltip__place-top'] > .#{$cls}-arrow {
71
- bottom: -8px !important;
72
- transform: none;
73
- }
74
-
75
- &[class*='react-tooltip__place-bottom'] > .#{$cls}-arrow {
76
- top: -8px !important;
77
- transform: rotate(180deg);
78
- }
79
-
80
- &[class*='react-tooltip__place-left'] > .#{$cls}-arrow {
81
- right: -8px !important;
82
- transform: none;
83
- }
84
-
85
- &[class*='react-tooltip__place-right'] > .#{$cls}-arrow {
86
- left: -8px !important;
87
- transform: rotate(180deg);
88
- }
89
- }
90
-
91
- @include theme.down(sm) {
92
- .#{$cls}[role='tooltip'] {
93
- max-width: 300px;
94
- }
95
- }
@@ -1,18 +0,0 @@
1
- @use '@/styles/api' as theme;
2
-
3
- .om-trigger {
4
- &-panel {
5
- z-index: 1500;
6
- padding: theme.spacing(component-padding, 200);
7
- background-color: theme.palette(bg, 'default');
8
- border: 1px solid theme.palette(border, 'neutral-tertiary');
9
- border-radius: theme.shape(300);
10
- box-shadow: theme.shadows(100);
11
- }
12
-
13
- &-arrow {
14
- fill: theme.palette(bg, 'default');
15
- stroke: theme.palette(border, 'neutral-tertiary');
16
- stroke-width: 1px;
17
- }
18
- }
@@ -1,132 +0,0 @@
1
- @use 'sass:map';
2
- @use '@/styles/api' as theme;
3
-
4
- $component: 'typography';
5
- $typography-categories: (
6
- display: (xl, lg, md, sm, xs),
7
- headline: (lg, md, sm, xs),
8
- title: (lg, md, sm),
9
- body: (lg, md, sm),
10
- label: (xl, lg, md, sm, xs),
11
- );
12
- $strong-categories: (title, body, label);
13
- $link-sizes: (md, sm);
14
-
15
- .#{theme.$prefix}-#{$component} {
16
- margin: 0;
17
- color: inherit;
18
- text-decoration-color: currentcolor;
19
-
20
- // Category + size variants
21
- @each $category, $sizes in $typography-categories {
22
- @each $size in $sizes {
23
- &-#{$category}-#{$size} {
24
- @include theme.typography($category, $size);
25
- }
26
- }
27
- }
28
-
29
- // Link variants (includes brand color)
30
- @each $size in $link-sizes {
31
- &-link-#{$size} {
32
- @include theme.typography(link, $size);
33
-
34
- color: theme.palette(text, 'brand');
35
- }
36
- }
37
-
38
- // Strong variants for title, body, and label
39
- @each $category in $strong-categories {
40
- $sizes: map.get($typography-categories, $category);
41
-
42
- @each $size in $sizes {
43
- &-#{$category}-#{$size}.#{theme.$prefix}-#{$component}-strong {
44
- @include theme.typography($category, $size, $strong: true);
45
- }
46
- }
47
- }
48
-
49
- &-italic {
50
- font-style: italic;
51
- }
52
-
53
- &-underline {
54
- text-decoration-line: underline;
55
- }
56
-
57
- &-delete {
58
- text-decoration-line: line-through;
59
- }
60
-
61
- &-underline-delete {
62
- text-decoration-line: underline line-through;
63
- }
64
-
65
- &-ellipsis {
66
- position: relative;
67
- display: block;
68
- min-width: 0;
69
- max-width: 100%;
70
- overflow: hidden;
71
- white-space: nowrap;
72
- }
73
-
74
- &-ellipsis-measure {
75
- position: absolute;
76
- top: 0;
77
- right: 0;
78
- left: 0;
79
- overflow: hidden;
80
- white-space: nowrap;
81
- visibility: hidden;
82
- pointer-events: none;
83
- }
84
-
85
- &-copyable-wrapper {
86
- display: inline-flex;
87
- gap: theme.spacing(gap, 100);
88
- align-items: center;
89
- min-width: 0;
90
- max-width: 100%;
91
- }
92
-
93
- &-copyable-wrapper-inline {
94
- display: inline-flex;
95
- vertical-align: bottom;
96
- }
97
-
98
- &-copyable-wrapper-block {
99
- display: flex;
100
- align-items: flex-start;
101
- width: 100%;
102
- }
103
-
104
- &-copyable-content {
105
- flex: 1 1 auto;
106
- min-width: 0;
107
- }
108
-
109
- // Semantic color tokens — derived from the design system's text scale
110
- @each $token in map.keys(map.get(theme.$om-theme-scales, 'text')) {
111
- &-color-#{$token} {
112
- color: theme.palette(text, $token);
113
- }
114
- }
115
-
116
- &-disabled {
117
- color: theme.palette(text, 'disabled');
118
- cursor: not-allowed;
119
- }
120
-
121
- // Link hover and disabled states
122
- @each $size in $link-sizes {
123
- &-link-#{$size}:hover {
124
- color: theme.palette(text, 'brand');
125
- }
126
-
127
- &-link-#{$size}.#{theme.$prefix}-#{$component}-disabled {
128
- color: theme.palette(text, 'disabled');
129
- pointer-events: none;
130
- }
131
- }
132
- }
@@ -1,44 +0,0 @@
1
- @use '@/styles/api' as theme;
2
-
3
- $component: 'upload';
4
-
5
- .#{theme.$prefix}-#{$component} {
6
- display: flex;
7
- flex-direction: column;
8
- gap: theme.spacing(scale, 200);
9
- align-items: flex-start;
10
-
11
- &-input {
12
- display: none;
13
- }
14
-
15
- &-label {
16
- color: theme.palette(text, 'default');
17
- }
18
-
19
- &-description {
20
- color: theme.palette(text, 'default-tertiary');
21
- }
22
-
23
- &-slot {
24
- display: flex;
25
- flex-direction: column;
26
- gap: 0;
27
- width: 100%;
28
- }
29
-
30
- &-error-msg {
31
- display: flex;
32
- gap: theme.spacing(scale, 100);
33
- align-items: flex-start;
34
- color: theme.palette(text, 'danger');
35
-
36
- &-text {
37
- color: inherit !important;
38
- }
39
- }
40
-
41
- &-disabled {
42
- cursor: not-allowed;
43
- }
44
- }
@@ -1,94 +0,0 @@
1
- @use '@/styles/api' as theme;
2
-
3
- $component: 'upload-file-bar';
4
-
5
- .#{theme.$prefix}-#{$component} {
6
- display: flex;
7
- gap: theme.spacing(gap, 300);
8
- align-items: center;
9
- width: 100%;
10
-
11
- &-inner {
12
- position: relative;
13
- display: inline-flex;
14
- flex-grow: 1;
15
- gap: theme.spacing(gap, 200);
16
- align-items: center;
17
- justify-content: space-between;
18
- min-width: 120px;
19
- height: theme.sizing(component-height, 'lg');
20
- padding: theme.spacing(scale, 300) theme.spacing(scale, 400);
21
- overflow: hidden;
22
- color: theme.palette(text, 'brand');
23
- background-color: theme.palette(bg, 'default-secondary');
24
- border: 1px solid theme.palette(border, 'default');
25
- border-radius: theme.shape(300);
26
- }
27
-
28
- &-name {
29
- flex: 1;
30
- min-width: 0;
31
- overflow: hidden;
32
- color: inherit !important;
33
- white-space: nowrap;
34
- text-overflow: ellipsis;
35
- }
36
-
37
- &-success {
38
- .#{theme.$prefix}-#{$component}-inner {
39
- color: theme.palette(text, 'brand');
40
- }
41
-
42
- .#{theme.$prefix}-#{$component}-icon-file {
43
- color: theme.palette(icon, 'brand') !important;
44
- }
45
- }
46
-
47
- &-failure {
48
- .#{theme.$prefix}-#{$component}-inner {
49
- color: theme.palette(text, 'danger');
50
- }
51
-
52
- .#{theme.$prefix}-#{$component}-icon-file {
53
- color: theme.palette(icon, 'danger') !important;
54
- }
55
- }
56
-
57
- &:hover {
58
- .#{theme.$prefix}-#{$component}-inner {
59
- border-color: theme.palette(border, 'default-tertiary');
60
- }
61
- }
62
-
63
- &-failure:hover {
64
- .#{theme.$prefix}-#{$component}-inner {
65
- border-color: theme.palette(text, 'default');
66
- }
67
- }
68
-
69
- &-icon {
70
- &-status {
71
- margin-left: auto;
72
- }
73
-
74
- &-remove {
75
- flex-shrink: 0;
76
- color: theme.palette(icon, 'default');
77
- cursor: pointer;
78
- }
79
- }
80
-
81
- &-message {
82
- position: absolute;
83
- bottom: -18px;
84
- left: 0;
85
- display: inline-flex;
86
- gap: theme.spacing(scale, 100);
87
- align-items: center;
88
- color: theme.palette(text, 'danger');
89
-
90
- > * {
91
- color: inherit !important;
92
- }
93
- }
94
- }
@@ -1,5 +0,0 @@
1
- @use '@/styles/api' as theme;
2
-
3
- .#{theme.$prefix}-virtual-list {
4
- --#{theme.$prefix}-virtual-list-scrollbar-bg: rgb(0 0 0 / 50%);
5
- }
@@ -1,5 +0,0 @@
1
- // Styles API — single public entrypoint for component and business SCSS.
2
- // Usage: @use '@/styles/api' as theme;
3
- $prefix: 'om-react-ui' !default;
4
-
5
- @forward './public';
@@ -1,5 +0,0 @@
1
- // Global settings — shared configuration consumed by all style layers.
2
- // This file sits below the tokens layer and must have zero @use dependencies
3
- // on any other style module to avoid circular imports.
4
-
5
- $om-sys-prefix: 'om' !default;
@@ -1,2 +0,0 @@
1
- // Styles bundle entrypoint — loads the generated utility layer and root theme variables.
2
- @use 'utilities';
@@ -1,2 +0,0 @@
1
- @forward './theme';
2
- @forward './system';
@@ -1 +0,0 @@
1
- @forward '../system/public' show sx;
@@ -1,3 +0,0 @@
1
- @forward '../theme/values' show palette, spacing, shape, shadows, sizing, opacity;
2
- @forward '../theme/mixins' show typography, up, down, between, only, respond;
3
- @forward '../theme/scales' show $om-sys-prefix, $om-theme-scales;
@@ -1 +0,0 @@
1
- @forward './variants';