@rovula/ui 0.1.6 → 0.1.8

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 (232) hide show
  1. package/dist/cjs/bundle.css +630 -467
  2. package/dist/cjs/bundle.js +1545 -1545
  3. package/dist/cjs/bundle.js.map +1 -1
  4. package/dist/cjs/types/components/AlertDialog/AlertDialog.stories.d.ts +3 -0
  5. package/dist/cjs/types/components/Dialog/Dialog.d.ts +7 -1
  6. package/dist/cjs/types/components/Dialog/Dialog.stories.d.ts +3 -0
  7. package/dist/cjs/types/components/Dropdown/Dropdown.d.ts +2 -0
  8. package/dist/cjs/types/components/Dropdown/Dropdown.stories.d.ts +2 -0
  9. package/dist/cjs/types/components/Form/Field.d.ts +26 -0
  10. package/dist/cjs/types/components/Form/FieldMessage.d.ts +7 -0
  11. package/dist/cjs/types/components/Form/Form.d.ts +49 -11
  12. package/dist/cjs/types/components/Form/Form.stories.d.ts +23 -0
  13. package/dist/cjs/types/components/Form/ValidationHintList.d.ts +17 -0
  14. package/dist/cjs/types/components/Form/ValidationHintList.stories.d.ts +9 -0
  15. package/dist/cjs/types/components/Form/index.d.ts +10 -0
  16. package/dist/cjs/types/components/Form/useOptionBridge.d.ts +17 -0
  17. package/dist/cjs/types/components/OtpInput/OtpInput.d.ts +17 -0
  18. package/dist/cjs/types/components/OtpInput/OtpInput.stories.d.ts +15 -0
  19. package/dist/cjs/types/components/OtpInput/OtpInputGroup.d.ts +25 -0
  20. package/dist/cjs/types/components/OtpInput/index.d.ts +5 -0
  21. package/dist/cjs/types/components/TextInput/TextInput.styles.d.ts +3 -0
  22. package/dist/cjs/types/index.d.ts +5 -0
  23. package/dist/cjs/types/theme/ThemeColorCoverageRuntime.stories.d.ts +10 -0
  24. package/dist/cjs/types/utils/colors.d.ts +351 -267
  25. package/dist/components/ActionButton/ActionButton.stories.js +2 -2
  26. package/dist/components/ActionButton/ActionButton.styles.js +1 -1
  27. package/dist/components/AlertDialog/AlertDialog.js +6 -6
  28. package/dist/components/AlertDialog/AlertDialog.stories.js +3 -0
  29. package/dist/components/Avatar/Avatar.stories.js +1 -1
  30. package/dist/components/Avatar/Avatar.styles.js +1 -1
  31. package/dist/components/Avatar/AvatarBase.js +1 -1
  32. package/dist/components/Avatar/AvatarGroup.stories.js +1 -1
  33. package/dist/components/Button/Buttons.stories.js +2 -2
  34. package/dist/components/Calendar/Calendar.js +1 -1
  35. package/dist/components/Checkbox/Checkbox.js +1 -1
  36. package/dist/components/Checkbox/Checkbox.stories.js +17 -7
  37. package/dist/components/Collapsible/Collapsible.styles.js +1 -1
  38. package/dist/components/DataTable/DataTable.js +2 -2
  39. package/dist/components/Dialog/Dialog.js +12 -7
  40. package/dist/components/Dialog/Dialog.stories.js +90 -2
  41. package/dist/components/Dropdown/Dropdown.js +2 -2
  42. package/dist/components/DropdownMenu/DropdownMenu.js +3 -3
  43. package/dist/components/FocusedScrollView/FocusedScrollView.stories.js +6 -6
  44. package/dist/components/Form/Field.js +60 -0
  45. package/dist/components/Form/FieldMessage.js +24 -0
  46. package/dist/components/Form/Form.js +73 -41
  47. package/dist/components/Form/Form.stories.js +221 -0
  48. package/dist/components/Form/ValidationHintList.js +30 -0
  49. package/dist/components/Form/ValidationHintList.stories.js +50 -0
  50. package/dist/components/Form/index.js +5 -0
  51. package/dist/components/Form/useOptionBridge.js +27 -0
  52. package/dist/components/InputFilter/InputFilter.js +5 -4
  53. package/dist/components/InputFilter/InputFilter.stories.js +1 -1
  54. package/dist/components/InputFilter/InputFilter.styles.js +14 -1
  55. package/dist/components/Label/Label.styles.js +1 -1
  56. package/dist/components/Menu/Menu.js +2 -2
  57. package/dist/components/NumberInput/NumberInput.stories.js +1 -1
  58. package/dist/components/OtpInput/OtpInput.js +118 -0
  59. package/dist/components/OtpInput/OtpInput.stories.js +60 -0
  60. package/dist/components/OtpInput/OtpInputGroup.js +23 -0
  61. package/dist/components/OtpInput/index.js +3 -0
  62. package/dist/components/PasswordInput/PasswordInput.stories.js +1 -1
  63. package/dist/components/Popover/Popover.js +1 -1
  64. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  65. package/dist/components/RadioGroup/RadioGroup.stories.js +2 -2
  66. package/dist/components/Search/Search.js +13 -1
  67. package/dist/components/Search/Search.stories.js +1 -1
  68. package/dist/components/Slider/Slider.js +1 -1
  69. package/dist/components/Slider/Slider.stories.js +5 -5
  70. package/dist/components/Switch/Switch.stories.js +2 -2
  71. package/dist/components/Switch/Switch.styles.js +1 -1
  72. package/dist/components/Table/Table.js +5 -5
  73. package/dist/components/Tabs/Tabs.js +12 -9
  74. package/dist/components/Tabs/Tabs.stories.js +1 -1
  75. package/dist/components/Text/Text.js +1 -1
  76. package/dist/components/Text/Text.stories.js +1 -1
  77. package/dist/components/TextArea/TextArea.stories.js +1 -1
  78. package/dist/components/TextArea/TextArea.styles.js +3 -3
  79. package/dist/components/TextInput/TextInput.js +3 -2
  80. package/dist/components/TextInput/TextInput.stories.js +3 -3
  81. package/dist/components/TextInput/TextInput.styles.js +41 -19
  82. package/dist/components/Toast/Toast.js +4 -2
  83. package/dist/components/Toast/Toast.stories.js +1 -1
  84. package/dist/components/Toast/Toast.styles.js +4 -4
  85. package/dist/components/Toast/Toaster.js +2 -2
  86. package/dist/components/Tree/Tree.stories.js +1 -1
  87. package/dist/components/Tree/TreeItem.js +1 -1
  88. package/dist/esm/bundle.css +630 -467
  89. package/dist/esm/bundle.js +1545 -1545
  90. package/dist/esm/bundle.js.map +1 -1
  91. package/dist/esm/types/components/AlertDialog/AlertDialog.stories.d.ts +3 -0
  92. package/dist/esm/types/components/Dialog/Dialog.d.ts +7 -1
  93. package/dist/esm/types/components/Dialog/Dialog.stories.d.ts +3 -0
  94. package/dist/esm/types/components/Dropdown/Dropdown.d.ts +2 -0
  95. package/dist/esm/types/components/Dropdown/Dropdown.stories.d.ts +2 -0
  96. package/dist/esm/types/components/Form/Field.d.ts +26 -0
  97. package/dist/esm/types/components/Form/FieldMessage.d.ts +7 -0
  98. package/dist/esm/types/components/Form/Form.d.ts +49 -11
  99. package/dist/esm/types/components/Form/Form.stories.d.ts +23 -0
  100. package/dist/esm/types/components/Form/ValidationHintList.d.ts +17 -0
  101. package/dist/esm/types/components/Form/ValidationHintList.stories.d.ts +9 -0
  102. package/dist/esm/types/components/Form/index.d.ts +10 -0
  103. package/dist/esm/types/components/Form/useOptionBridge.d.ts +17 -0
  104. package/dist/esm/types/components/OtpInput/OtpInput.d.ts +17 -0
  105. package/dist/esm/types/components/OtpInput/OtpInput.stories.d.ts +15 -0
  106. package/dist/esm/types/components/OtpInput/OtpInputGroup.d.ts +25 -0
  107. package/dist/esm/types/components/OtpInput/index.d.ts +5 -0
  108. package/dist/esm/types/components/TextInput/TextInput.styles.d.ts +3 -0
  109. package/dist/esm/types/index.d.ts +5 -0
  110. package/dist/esm/types/theme/ThemeColorCoverageRuntime.stories.d.ts +10 -0
  111. package/dist/esm/types/utils/colors.d.ts +351 -267
  112. package/dist/index.d.ts +512 -269
  113. package/dist/index.js +3 -0
  114. package/dist/src/theme/global.css +2739 -2681
  115. package/dist/theme/ThemeColorCoverageRuntime.stories.js +91 -0
  116. package/dist/utils/colors.js +359 -267
  117. package/package.json +4 -2
  118. package/src/components/ActionButton/ActionButton.stories.tsx +6 -6
  119. package/src/components/ActionButton/ActionButton.styles.ts +1 -1
  120. package/src/components/AlertDialog/AlertDialog.stories.tsx +22 -0
  121. package/src/components/AlertDialog/AlertDialog.tsx +6 -6
  122. package/src/components/Avatar/Avatar.stories.tsx +1 -1
  123. package/src/components/Avatar/Avatar.styles.ts +1 -1
  124. package/src/components/Avatar/AvatarBase.tsx +1 -1
  125. package/src/components/Avatar/AvatarGroup.stories.tsx +1 -1
  126. package/src/components/Button/Buttons.stories.tsx +25 -17
  127. package/src/components/Calendar/Calendar.tsx +3 -3
  128. package/src/components/Checkbox/Checkbox.stories.tsx +35 -12
  129. package/src/components/Checkbox/Checkbox.tsx +7 -5
  130. package/src/components/Collapsible/Collapsible.styles.ts +1 -1
  131. package/src/components/DataTable/DataTable.tsx +2 -2
  132. package/src/components/Dialog/Dialog.stories.tsx +173 -0
  133. package/src/components/Dialog/Dialog.tsx +32 -15
  134. package/src/components/Dropdown/Dropdown.styles.ts +1 -1
  135. package/src/components/Dropdown/Dropdown.tsx +16 -14
  136. package/src/components/DropdownMenu/DropdownMenu.tsx +3 -3
  137. package/src/components/FocusedScrollView/FocusedScrollView.stories.tsx +10 -10
  138. package/src/components/Form/Field.tsx +160 -0
  139. package/src/components/Form/FieldMessage.tsx +38 -0
  140. package/src/components/Form/Form.docs.mdx +67 -0
  141. package/src/components/Form/Form.stories.tsx +490 -0
  142. package/src/components/Form/Form.tsx +185 -87
  143. package/src/components/Form/README.md +284 -0
  144. package/src/components/Form/ValidationHintList.stories.tsx +118 -0
  145. package/src/components/Form/ValidationHintList.tsx +82 -0
  146. package/src/components/Form/index.ts +28 -0
  147. package/src/components/Form/useOptionBridge.ts +55 -0
  148. package/src/components/InputFilter/InputFilter.stories.tsx +1 -1
  149. package/src/components/InputFilter/InputFilter.styles.ts +14 -1
  150. package/src/components/InputFilter/InputFilter.tsx +33 -28
  151. package/src/components/Label/Label.styles.ts +2 -2
  152. package/src/components/Label/Label.tsx +1 -1
  153. package/src/components/Menu/Menu.tsx +12 -12
  154. package/src/components/NumberInput/NumberInput.stories.tsx +1 -1
  155. package/src/components/OtpInput/OtpInput.stories.tsx +168 -0
  156. package/src/components/OtpInput/OtpInput.tsx +210 -0
  157. package/src/components/OtpInput/OtpInputGroup.tsx +74 -0
  158. package/src/components/OtpInput/index.ts +5 -0
  159. package/src/components/PasswordInput/PasswordInput.stories.tsx +1 -1
  160. package/src/components/Popover/Popover.tsx +1 -1
  161. package/src/components/RadioGroup/RadioGroup.stories.tsx +4 -4
  162. package/src/components/RadioGroup/RadioGroup.tsx +2 -1
  163. package/src/components/Search/Search.stories.tsx +1 -1
  164. package/src/components/Search/Search.tsx +6 -2
  165. package/src/components/Slider/Slider.stories.tsx +7 -7
  166. package/src/components/Slider/Slider.tsx +1 -1
  167. package/src/components/Switch/Switch.stories.tsx +4 -4
  168. package/src/components/Switch/Switch.styles.ts +1 -1
  169. package/src/components/Table/Table.tsx +5 -5
  170. package/src/components/Tabs/Tabs.stories.tsx +1 -1
  171. package/src/components/Tabs/Tabs.tsx +29 -18
  172. package/src/components/Text/Text.stories.tsx +1 -1
  173. package/src/components/Text/Text.tsx +1 -1
  174. package/src/components/TextArea/TextArea.stories.tsx +1 -1
  175. package/src/components/TextArea/TextArea.styles.ts +3 -3
  176. package/src/components/TextInput/TextInput.stories.tsx +7 -7
  177. package/src/components/TextInput/TextInput.styles.ts +42 -19
  178. package/src/components/TextInput/TextInput.tsx +3 -1
  179. package/src/components/Toast/Toast.stories.tsx +1 -1
  180. package/src/components/Toast/Toast.styles.tsx +7 -7
  181. package/src/components/Toast/Toast.tsx +5 -4
  182. package/src/components/Toast/Toaster.tsx +17 -20
  183. package/src/components/Tree/Tree.stories.tsx +1 -1
  184. package/src/components/Tree/TreeItem.tsx +1 -1
  185. package/src/index.ts +5 -0
  186. package/src/theme/THEME_MAPPING.md +36 -37
  187. package/src/theme/ThemeColorCoverageRuntime.stories.tsx +236 -0
  188. package/src/theme/direct-token-migration-plan.md +121 -0
  189. package/src/theme/figma-mcp-check-report.md +225 -0
  190. package/src/theme/figma-mcp-component-checklist.json +1250 -0
  191. package/src/theme/global.css +7 -3
  192. package/src/theme/presets/colors.js +173 -64
  193. package/src/theme/themes/skyller/baseline.css +0 -4
  194. package/src/theme/themes/variable-mapping.css +1064 -0
  195. package/src/theme/themes/variable.css +248 -230
  196. package/src/theme/themes/xspector/baseline.css +0 -4
  197. package/src/theme/themes/xspector/components/dropdown-menu.css +4 -4
  198. package/src/theme/themes/xspector/components/loading.css +2 -2
  199. package/src/theme/tokens/baseline.css +0 -3
  200. package/src/theme/tokens/color.css +36 -65
  201. package/src/theme/tokens/components/action-button.css +6 -6
  202. package/src/theme/tokens/components/button.css +189 -189
  203. package/src/theme/tokens/components/dropdown-menu.css +5 -5
  204. package/src/theme/tokens/components/footer.css +1 -1
  205. package/src/theme/tokens/components/loading.css +2 -2
  206. package/src/theme/tokens/components/switch.css +11 -11
  207. package/src/theme/tokens/typography.css +28 -28
  208. package/src/theme/tokens_old/baseline.css +13 -0
  209. package/src/theme/tokens_old/color.css +78 -0
  210. package/src/theme/tokens_old/components/action-button.css +127 -0
  211. package/src/theme/tokens_old/components/button.css +512 -0
  212. package/src/theme/tokens_old/components/dropdown-menu.css +27 -0
  213. package/src/theme/tokens_old/components/footer.css +9 -0
  214. package/src/theme/tokens_old/components/loading.css +11 -0
  215. package/src/theme/tokens_old/components/navbar.css +9 -0
  216. package/src/theme/tokens_old/components/progress-bar.css +8 -0
  217. package/src/theme/tokens_old/components/switch.css +29 -0
  218. package/src/theme/tokens_old/typography.css +199 -0
  219. package/src/theme/tokens_old/variables.css +28 -0
  220. package/src/theme/utils.js +172 -33
  221. package/src/utils/colors.ts +367 -278
  222. package/src/theme/themes/skyller/color.css +0 -79
  223. package/src/theme/themes/skyller/palette.css +0 -143
  224. package/src/theme/themes/skyller/state.css +0 -94
  225. package/src/theme/themes/skyller/transparent.css +0 -94
  226. package/src/theme/themes/xspector/color.css +0 -83
  227. package/src/theme/themes/xspector/palette.css +0 -142
  228. package/src/theme/themes/xspector/state.css +0 -94
  229. package/src/theme/themes/xspector/transparent.css +0 -93
  230. /package/src/theme/{tokens → tokens_old}/palette.css +0 -0
  231. /package/src/theme/{tokens → tokens_old}/state.css +0 -0
  232. /package/src/theme/{tokens → tokens_old}/transparent.css +0 -0
@@ -0,0 +1,512 @@
1
+ :root {
2
+ /* ------------------------------------------------------------------ */
3
+ /* Button Component Tokens */
4
+ /* ------------------------------------------------------------------ */
5
+ /* Naming Convention: --[component]-[theme]-[mode]-[state]-[property] */
6
+ /* States: [default, hover, active, disabled] */
7
+ /* ------------------------------------------------------------------ */
8
+
9
+ /* ------------------------------------------------------------------ */
10
+ /* Solid Mode Tokens - Primary Theme */
11
+ /* ------------------------------------------------------------------ */
12
+
13
+ /* Default State */
14
+ --button-primary-solid-default-bg: var(--state-color-primary-default);
15
+ --button-primary-solid-default-border: var(--state-color-primary-default);
16
+ --button-primary-solid-default-text: var(--state-color-primary-text-solid);
17
+
18
+ /* Hover State */
19
+ --button-primary-solid-hover-bg: var(--state-color-primary-hover);
20
+ --button-primary-solid-hover-border: var(--state-color-primary-hover);
21
+ --button-primary-solid-hover-text: var(--state-color-primary-text-solid);
22
+
23
+ /* Active State */
24
+ --button-primary-solid-active-bg: var(--state-color-primary-pressed);
25
+ --button-primary-solid-active-border: var(--state-color-primary-pressed);
26
+ --button-primary-solid-active-text: var(--state-color-primary-text-solid);
27
+
28
+ /* Disabled State */
29
+ --button-primary-solid-disabled-bg: var(--state-color-disable-solid);
30
+ --button-primary-solid-disabled-border: var(--state-color-disable-solid);
31
+ --button-primary-solid-disabled-text: var(--state-color-disable-outline);
32
+
33
+ /* ------------------------------------------------------------------ */
34
+ /* Outline Mode Tokens - Primary Theme */
35
+ /* ------------------------------------------------------------------ */
36
+
37
+ /* Default State */
38
+ --button-primary-outline-default-bg: transparent;
39
+ --button-primary-outline-default-border: var(--state-color-primary-stroke);
40
+ --button-primary-outline-default-text: var(--state-color-primary-text-outline);
41
+
42
+ /* Hover State */
43
+ --button-primary-outline-hover-bg: var(--state-color-primary-hover-bg);
44
+ --button-primary-outline-hover-border: var(--state-color-primary-hover);
45
+ --button-primary-outline-hover-text: var(--state-color-primary-text-hover);
46
+
47
+ /* Active State */
48
+ --button-primary-outline-active-bg: var(--state-color-primary-hover-bg);
49
+ --button-primary-outline-active-border: var(--state-color-primary-pressed);
50
+ --button-primary-outline-active-text: var(--state-color-primary-text-pressed);
51
+
52
+ /* Disabled State */
53
+ --button-primary-outline-disabled-bg: transparent;
54
+ --button-primary-outline-disabled-border: var(--state-color-disable-outline);
55
+ --button-primary-outline-disabled-text: var(--state-color-disable-outline);
56
+
57
+ /* ------------------------------------------------------------------ */
58
+ /* Flat Mode Tokens - Primary Theme */
59
+ /* ------------------------------------------------------------------ */
60
+
61
+ /* Default State */
62
+ --button-primary-flat-default-bg: transparent;
63
+ --button-primary-flat-default-border: transparent;
64
+ --button-primary-flat-default-text: var(--state-color-primary-text-outline);
65
+
66
+ /* Hover State */
67
+ --button-primary-flat-hover-bg: var(--state-color-primary-hover-bg);
68
+ --button-primary-flat-hover-border: transparent;
69
+ --button-primary-flat-hover-text: var(--state-color-primary-text-hover);
70
+
71
+ /* Active State */
72
+ --button-primary-flat-active-bg: transparent;
73
+ --button-primary-flat-active-border: transparent;
74
+ --button-primary-flat-active-text: var(--state-color-primary-text-pressed);
75
+
76
+ /* Disabled State */
77
+ --button-primary-flat-disabled-bg: transparent;
78
+ --button-primary-flat-disabled-border: transparent;
79
+ --button-primary-flat-disabled-text: var(--state-color-disable-outline);
80
+
81
+ /* ------------------------------------------------------------------ */
82
+ /* Solid Mode Tokens - Secondary Theme */
83
+ /* ------------------------------------------------------------------ */
84
+
85
+ /* Default State */
86
+ --button-secondary-solid-default-bg: var(--state-color-secondary-default);
87
+ --button-secondary-solid-default-border: var(--state-color-secondary-default);
88
+ --button-secondary-solid-default-text: var(--state-color-secondary-text-solid);
89
+
90
+ /* Hover State */
91
+ --button-secondary-solid-hover-bg: var(--state-color-secondary-hover);
92
+ --button-secondary-solid-hover-border: var(--state-color-secondary-hover);
93
+ --button-secondary-solid-hover-text: var(--state-color-secondary-text-solid);
94
+
95
+ /* Active State */
96
+ --button-secondary-solid-active-bg: var(--state-color-secondary-pressed);
97
+ --button-secondary-solid-active-border: var(--state-color-secondary-pressed);
98
+ --button-secondary-solid-active-text: var(--state-color-secondary-text-solid);
99
+
100
+ /* Disabled State */
101
+ --button-secondary-solid-disabled-bg: var(--state-color-disable-solid);
102
+ --button-secondary-solid-disabled-border: var(--state-color-disable-solid);
103
+ --button-secondary-solid-disabled-text: var(--state-color-disable-outline);
104
+
105
+ /* ------------------------------------------------------------------ */
106
+ /* Outline Mode Tokens - secondary Theme */
107
+ /* ------------------------------------------------------------------ */
108
+
109
+ /* Default State */
110
+ --button-secondary-outline-default-bg: transparent;
111
+ --button-secondary-outline-default-border: var(--state-color-secondary-stroke);
112
+ --button-secondary-outline-default-text: var(--state-color-secondary-text-outline);
113
+
114
+ /* Hover State */
115
+ --button-secondary-outline-hover-bg: var(--state-color-secondary-hover-bg);
116
+ --button-secondary-outline-hover-border: var(--state-color-secondary-hover);
117
+ --button-secondary-outline-hover-text: var(--state-color-secondary-text-hover);
118
+
119
+ /* Active State */
120
+ --button-secondary-outline-active-bg: var(--state-color-secondary-hover-bg);
121
+ --button-secondary-outline-active-border: var(--state-color-secondary-pressed);
122
+ --button-secondary-outline-active-text: var(--state-color-secondary-text-pressed);
123
+
124
+ /* Disabled State */
125
+ --button-secondary-outline-disabled-bg: transparent;
126
+ --button-secondary-outline-disabled-border: var(--state-color-disable-outline);
127
+ --button-secondary-outline-disabled-text: var(--state-color-disable-outline);
128
+
129
+ /* ------------------------------------------------------------------ */
130
+ /* Flat Mode Tokens - Secondary Theme */
131
+ /* ------------------------------------------------------------------ */
132
+
133
+ /* Default State */
134
+ --button-secondary-flat-default-bg: transparent;
135
+ --button-secondary-flat-default-border: transparent;
136
+ --button-secondary-flat-default-text: var(--state-color-secondary-text-outline);
137
+
138
+ /* Hover State */
139
+ --button-secondary-flat-hover-bg: var(--state-color-secondary-hover-bg);
140
+ --button-secondary-flat-hover-border: transparent;
141
+ --button-secondary-flat-hover-text: var(--state-color-secondary-text-hover);
142
+
143
+ /* Active State */
144
+ --button-secondary-flat-active-bg: transparent;
145
+ --button-secondary-flat-active-border: transparent;
146
+ --button-secondary-flat-active-text: var(--state-color-secondary-text-pressed);
147
+
148
+ /* Disabled State */
149
+ --button-secondary-flat-disabled-bg: transparent;
150
+ --button-secondary-flat-disabled-border: transparent;
151
+ --button-secondary-flat-disabled-text: var(--state-color-disable-outline);
152
+
153
+ /* ------------------------------------------------------------------ */
154
+ /* Solid Mode Tokens - Tertiary Theme */
155
+ /* ------------------------------------------------------------------ */
156
+
157
+ /* Default State */
158
+ --button-tertiary-solid-default-bg: var(--state-color-tertiary-default);
159
+ --button-tertiary-solid-default-border: var(--state-color-tertiary-default);
160
+ --button-tertiary-solid-default-text: var(--state-color-tertiary-text-solid);
161
+
162
+ /* Hover State */
163
+ --button-tertiary-solid-hover-bg: var(--state-color-tertiary-hover);
164
+ --button-tertiary-solid-hover-border: var(--state-color-tertiary-hover);
165
+ --button-tertiary-solid-hover-text: var(--state-color-tertiary-text-solid);
166
+
167
+ /* Active State */
168
+ --button-tertiary-solid-active-bg: var(--state-color-tertiary-pressed);
169
+ --button-tertiary-solid-active-border: var(--state-color-tertiary-pressed);
170
+ --button-tertiary-solid-active-text: var(--state-color-tertiary-text-solid);
171
+
172
+ /* Disabled State */
173
+ --button-tertiary-solid-disabled-bg: var(--state-color-disable-solid);
174
+ --button-tertiary-solid-disabled-border: var(--state-color-disable-solid);
175
+ --button-tertiary-solid-disabled-text: var(--state-color-disable-outline);
176
+
177
+ /* ------------------------------------------------------------------ */
178
+ /* Outline Mode Tokens - Tertiary Theme */
179
+ /* ------------------------------------------------------------------ */
180
+
181
+ /* Default State */
182
+ --button-tertiary-outline-default-bg: transparent;
183
+ --button-tertiary-outline-default-border: var(--state-color-tertiary-stroke);
184
+ --button-tertiary-outline-default-text: var(--state-color-tertiary-text-outline);
185
+
186
+ /* Hover State */
187
+ --button-tertiary-outline-hover-bg: var(--state-color-tertiary-hover-bg);
188
+ --button-tertiary-outline-hover-border: var(--state-color-tertiary-hover);
189
+ --button-tertiary-outline-hover-text: var(--state-color-tertiary-text-hover);
190
+
191
+ /* Active State */
192
+ --button-tertiary-outline-active-bg: var(--state-color-tertiary-hover-bg);
193
+ --button-tertiary-outline-active-border: var(--state-color-tertiary-pressed);
194
+ --button-tertiary-outline-active-text: var(--state-color-tertiary-text-pressed);
195
+
196
+ /* Disabled State */
197
+ --button-tertiary-outline-disabled-bg: transparent;
198
+ --button-tertiary-outline-disabled-border: var(--state-color-disable-outline);
199
+ --button-tertiary-outline-disabled-text: var(--state-color-disable-outline);
200
+
201
+ /* ------------------------------------------------------------------ */
202
+ /* Flat Mode Tokens - Tertiary Theme */
203
+ /* ------------------------------------------------------------------ */
204
+
205
+ /* Default State */
206
+ --button-tertiary-flat-default-bg: transparent;
207
+ --button-tertiary-flat-default-border: transparent;
208
+ --button-tertiary-flat-default-text: var(--state-color-tertiary-text-outline);
209
+
210
+ /* Hover State */
211
+ --button-tertiary-flat-hover-bg: var(--state-color-tertiary-hover-bg);
212
+ --button-tertiary-flat-hover-border: transparent;
213
+ --button-tertiary-flat-hover-text: var(--state-color-tertiary-text-hover);
214
+
215
+ /* Active State */
216
+ --button-tertiary-flat-active-bg: transparent;
217
+ --button-tertiary-flat-active-border: transparent;
218
+ --button-tertiary-flat-active-text: var(--state-color-tertiary-text-pressed);
219
+
220
+ /* Disabled State */
221
+ --button-tertiary-flat-disabled-bg: transparent;
222
+ --button-tertiary-flat-disabled-border: transparent;
223
+ --button-tertiary-flat-disabled-text: var(--state-color-disable-outline);
224
+
225
+ /* ------------------------------------------------------------------ */
226
+ /* Solid Mode Tokens - Info Theme */
227
+ /* ------------------------------------------------------------------ */
228
+
229
+ /* Default State */
230
+ --button-info-solid-default-bg: var(--state-color-info-default);
231
+ --button-info-solid-default-border: var(--state-color-info-default);
232
+ --button-info-solid-default-text: var(--state-color-info-text-solid);
233
+
234
+ /* Hover State */
235
+ --button-info-solid-hover-bg: var(--state-color-info-hover);
236
+ --button-info-solid-hover-border: var(--state-color-info-hover);
237
+ --button-info-solid-hover-text: var(--state-color-info-text-solid);
238
+
239
+ /* Active State */
240
+ --button-info-solid-active-bg: var(--state-color-info-pressed);
241
+ --button-info-solid-active-border: var(--state-color-info-pressed);
242
+ --button-info-solid-active-text: var(--state-color-info-text-solid);
243
+
244
+ /* Disabled State */
245
+ --button-info-solid-disabled-bg: var(--state-color-disable-solid);
246
+ --button-info-solid-disabled-border: var(--state-color-disable-solid);
247
+ --button-info-solid-disabled-text: var(--state-color-disable-outline);
248
+
249
+ /* ------------------------------------------------------------------ */
250
+ /* Outline Mode Tokens - Info Theme */
251
+ /* ------------------------------------------------------------------ */
252
+
253
+ /* Default State */
254
+ --button-info-outline-default-bg: transparent;
255
+ --button-info-outline-default-border: var(--state-color-info-stroke);
256
+ --button-info-outline-default-text: var(--state-color-info-text-outline);
257
+
258
+ /* Hover State */
259
+ --button-info-outline-hover-bg: var(--state-color-info-hover-bg);
260
+ --button-info-outline-hover-border: var(--state-color-info-hover);
261
+ --button-info-outline-hover-text: var(--state-color-info-text-hover);
262
+
263
+ /* Active State */
264
+ --button-info-outline-active-bg: var(--state-color-info-hover-bg);
265
+ --button-info-outline-active-border: var(--state-color-info-pressed);
266
+ --button-info-outline-active-text: var(--state-color-info-text-pressed);
267
+
268
+ /* Disabled State */
269
+ --button-info-outline-disabled-bg: transparent;
270
+ --button-info-outline-disabled-border: var(--state-color-disable-outline);
271
+ --button-info-outline-disabled-text: var(--state-color-disable-outline);
272
+
273
+ /* ------------------------------------------------------------------ */
274
+ /* Flat Mode Tokens - Info Theme */
275
+ /* ------------------------------------------------------------------ */
276
+
277
+ /* Default State */
278
+ --button-info-flat-default-bg: transparent;
279
+ --button-info-flat-default-border: transparent;
280
+ --button-info-flat-default-text: var(--state-color-info-text-outline);
281
+
282
+ /* Hover State */
283
+ --button-info-flat-hover-bg: var(--state-color-info-hover-bg);
284
+ --button-info-flat-hover-border: transparent;
285
+ --button-info-flat-hover-text: var(--state-color-info-text-hover);
286
+
287
+ /* Active State */
288
+ --button-info-flat-active-bg: transparent;
289
+ --button-info-flat-active-border: transparent;
290
+ --button-info-flat-active-text: var(--state-color-info-text-pressed);
291
+
292
+ /* Disabled State */
293
+ --button-info-flat-disabled-bg: transparent;
294
+ --button-info-flat-disabled-border: transparent;
295
+ --button-info-flat-disabled-text: var(--state-color-disable-outline);
296
+
297
+ /* ------------------------------------------------------------------ */
298
+ /* Solid Mode Tokens - Success Theme */
299
+ /* ------------------------------------------------------------------ */
300
+
301
+ /* Default State */
302
+ --button-success-solid-default-bg: var(--state-color-success-default);
303
+ --button-success-solid-default-border: var(--state-color-success-default);
304
+ --button-success-solid-default-text: var(--state-color-success-text-solid);
305
+
306
+ /* Hover State */
307
+ --button-success-solid-hover-bg: var(--state-color-success-hover);
308
+ --button-success-solid-hover-border: var(--state-color-success-hover);
309
+ --button-success-solid-hover-text: var(--state-color-success-text-solid);
310
+
311
+ /* Active State */
312
+ --button-success-solid-active-bg: var(--state-color-success-pressed);
313
+ --button-success-solid-active-border: var(--state-color-success-pressed);
314
+ --button-success-solid-active-text: var(--state-color-success-text-solid);
315
+
316
+ /* Disabled State */
317
+ --button-success-solid-disabled-bg: var(--state-color-disable-solid);
318
+ --button-success-solid-disabled-border: var(--state-color-disable-solid);
319
+ --button-success-solid-disabled-text: var(--state-color-disable-outline);
320
+
321
+ /* ------------------------------------------------------------------ */
322
+ /* Outline Mode Tokens - Success Theme */
323
+ /* ------------------------------------------------------------------ */
324
+
325
+ /* Default State */
326
+ --button-success-outline-default-bg: transparent;
327
+ --button-success-outline-default-border: var(--state-color-success-stroke);
328
+ --button-success-outline-default-text: var(--state-color-success-text-outline);
329
+
330
+ /* Hover State */
331
+ --button-success-outline-hover-bg: var(--state-color-success-hover-bg);
332
+ --button-success-outline-hover-border: var(--state-color-success-hover);
333
+ --button-success-outline-hover-text: var(--state-color-success-text-hover);
334
+
335
+ /* Active State */
336
+ --button-success-outline-active-bg: var(--state-color-success-hover-bg);
337
+ --button-success-outline-active-border: var(--state-color-success-pressed);
338
+ --button-success-outline-active-text: var(--state-color-success-text-pressed);
339
+
340
+ /* Disabled State */
341
+ --button-success-outline-disabled-bg: transparent;
342
+ --button-success-outline-disabled-border: var(--state-color-disable-outline);
343
+ --button-success-outline-disabled-text: var(--state-color-disable-outline);
344
+
345
+ /* ------------------------------------------------------------------ */
346
+ /* Flat Mode Tokens - Success Theme */
347
+ /* ------------------------------------------------------------------ */
348
+
349
+ /* Default State */
350
+ --button-success-flat-default-bg: transparent;
351
+ --button-success-flat-default-border: transparent;
352
+ --button-success-flat-default-text: var(--state-color-success-text-outline);
353
+
354
+ /* Hover State */
355
+ --button-success-flat-hover-bg: var(--state-color-success-hover-bg);
356
+ --button-success-flat-hover-border: transparent;
357
+ --button-success-flat-hover-text: var(--state-color-success-text-hover);
358
+
359
+ /* Active State */
360
+ --button-success-flat-active-bg: transparent;
361
+ --button-success-flat-active-border: transparent;
362
+ --button-success-flat-active-text: var(--state-color-success-text-pressed);
363
+
364
+ /* Disabled State */
365
+ --button-success-flat-disabled-bg: transparent;
366
+ --button-success-flat-disabled-border: transparent;
367
+ --button-success-flat-disabled-text: var(--state-color-disable-outline);
368
+
369
+ /* ------------------------------------------------------------------ */
370
+ /* Solid Mode Tokens - Warning Theme */
371
+ /* ------------------------------------------------------------------ */
372
+
373
+ /* Default State */
374
+ --button-warning-solid-default-bg: var(--state-color-warning-default);
375
+ --button-warning-solid-default-border: var(--state-color-warning-default);
376
+ --button-warning-solid-default-text: var(--state-color-warning-text-solid);
377
+
378
+ /* Hover State */
379
+ --button-warning-solid-hover-bg: var(--state-color-warning-hover);
380
+ --button-warning-solid-hover-border: var(--state-color-warning-hover);
381
+ --button-warning-solid-hover-text: var(--state-color-warning-text-solid);
382
+
383
+ /* Active State */
384
+ --button-warning-solid-active-bg: var(--state-color-warning-pressed);
385
+ --button-warning-solid-active-border: var(--state-color-warning-pressed);
386
+ --button-warning-solid-active-text: var(--state-color-warning-text-solid);
387
+
388
+ /* Disabled State */
389
+ --button-warning-solid-disabled-bg: var(--state-color-disable-solid);
390
+ --button-warning-solid-disabled-border: var(--state-color-disable-solid);
391
+ --button-warning-solid-disabled-text: var(--state-color-disable-outline);
392
+
393
+ /* ------------------------------------------------------------------ */
394
+ /* Outline Mode Tokens - Warning Theme */
395
+ /* ------------------------------------------------------------------ */
396
+
397
+ /* Default State */
398
+ --button-warning-outline-default-bg: transparent;
399
+ --button-warning-outline-default-border: var(--state-color-warning-stroke);
400
+ --button-warning-outline-default-text: var(--state-color-warning-text-outline);
401
+
402
+ /* Hover State */
403
+ --button-warning-outline-hover-bg: var(--state-color-warning-hover-bg);
404
+ --button-warning-outline-hover-border: var(--state-color-warning-hover);
405
+ --button-warning-outline-hover-text: var(--state-color-warning-text-hover);
406
+
407
+ /* Active State */
408
+ --button-warning-outline-active-bg: var(--state-color-warning-hover-bg);
409
+ --button-warning-outline-active-border: var(--state-color-warning-pressed);
410
+ --button-warning-outline-active-text: var(--state-color-warning-text-pressed);
411
+
412
+ /* Disabled State */
413
+ --button-warning-outline-disabled-bg: transparent;
414
+ --button-warning-outline-disabled-border: var(--state-color-disable-outline);
415
+ --button-warning-outline-disabled-text: var(--state-color-disable-outline);
416
+
417
+ /* ------------------------------------------------------------------ */
418
+ /* Flat Mode Tokens - Warning Theme */
419
+ /* ------------------------------------------------------------------ */
420
+
421
+ /* Default State */
422
+ --button-warning-flat-default-bg: transparent;
423
+ --button-warning-flat-default-border: transparent;
424
+ --button-warning-flat-default-text: var(--state-color-warning-text-outline);
425
+
426
+ /* Hover State */
427
+ --button-warning-flat-hover-bg: var(--state-color-warning-hover-bg);
428
+ --button-warning-flat-hover-border: transparent;
429
+ --button-warning-flat-hover-text: var(--state-color-warning-text-hover);
430
+
431
+ /* Active State */
432
+ --button-warning-flat-active-bg: transparent;
433
+ --button-warning-flat-active-border: transparent;
434
+ --button-warning-flat-active-text: var(--state-color-warning-text-pressed);
435
+
436
+ /* Disabled State */
437
+ --button-warning-flat-disabled-bg: transparent;
438
+ --button-warning-flat-disabled-border: transparent;
439
+ --button-warning-flat-disabled-text: var(--state-color-disable-outline);
440
+
441
+ /* ------------------------------------------------------------------ */
442
+ /* Solid Mode Tokens - Error Theme */
443
+ /* ------------------------------------------------------------------ */
444
+
445
+ /* Default State */
446
+ --button-error-solid-default-bg: var(--state-color-error-default);
447
+ --button-error-solid-default-border: var(--state-color-error-default);
448
+ --button-error-solid-default-text: var(--state-color-error-text-solid);
449
+
450
+ /* Hover State */
451
+ --button-error-solid-hover-bg: var(--state-color-error-hover);
452
+ --button-error-solid-hover-border: var(--state-color-error-hover);
453
+ --button-error-solid-hover-text: var(--state-color-error-text-solid);
454
+
455
+ /* Active State */
456
+ --button-error-solid-active-bg: var(--state-color-error-pressed);
457
+ --button-error-solid-active-border: var(--state-color-error-pressed);
458
+ --button-error-solid-active-text: var(--state-color-error-text-solid);
459
+
460
+ /* Disabled State */
461
+ --button-error-solid-disabled-bg: var(--state-color-disable-solid);
462
+ --button-error-solid-disabled-border: var(--state-color-disable-solid);
463
+ --button-error-solid-disabled-text: var(--state-color-disable-outline);
464
+
465
+ /* ------------------------------------------------------------------ */
466
+ /* Outline Mode Tokens - Error Theme */
467
+ /* ------------------------------------------------------------------ */
468
+
469
+ /* Default State */
470
+ --button-error-outline-default-bg: transparent;
471
+ --button-error-outline-default-border: var(--state-color-error-stroke);
472
+ --button-error-outline-default-text: var(--state-color-error-text-outline);
473
+
474
+ /* Hover State */
475
+ --button-error-outline-hover-bg: var(--state-color-error-hover-bg);
476
+ --button-error-outline-hover-border: var(--state-color-error-hover);
477
+ --button-error-outline-hover-text: var(--state-color-error-text-hover);
478
+
479
+ /* Active State */
480
+ --button-error-outline-active-bg: var(--state-color-error-hover-bg);
481
+ --button-error-outline-active-border: var(--state-color-error-pressed);
482
+ --button-error-outline-active-text: var(--state-color-error-text-pressed);
483
+
484
+ /* Disabled State */
485
+ --button-error-outline-disabled-bg: transparent;
486
+ --button-error-outline-disabled-border: var(--state-color-disable-outline);
487
+ --button-error-outline-disabled-text: var(--state-color-disable-outline);
488
+
489
+ /* ------------------------------------------------------------------ */
490
+ /* Flat Mode Tokens - Error Theme */
491
+ /* ------------------------------------------------------------------ */
492
+
493
+ /* Default State */
494
+ --button-error-flat-default-bg: transparent;
495
+ --button-error-flat-default-border: transparent;
496
+ --button-error-flat-default-text: var(--state-color-error-text-outline);
497
+
498
+ /* Hover State */
499
+ --button-error-flat-hover-bg: var(--state-color-error-hover-bg);
500
+ --button-error-flat-hover-border: transparent;
501
+ --button-error-flat-hover-text: var(--state-color-error-text-hover);
502
+
503
+ /* Active State */
504
+ --button-error-flat-active-bg: transparent;
505
+ --button-error-flat-active-border: transparent;
506
+ --button-error-flat-active-text: var(--state-color-error-text-pressed);
507
+
508
+ /* Disabled State */
509
+ --button-error-flat-disabled-bg: transparent;
510
+ --button-error-flat-disabled-border: transparent;
511
+ --button-error-flat-disabled-text: var(--state-color-disable-outline);
512
+ }
@@ -0,0 +1,27 @@
1
+ :root {
2
+ /* ------------------------------------------------------------------ */
3
+ /* DropdownMenu Component Tokens */
4
+ /* ------------------------------------------------------------------ */
5
+ /* Naming Convention: --[component]-[state]-[property] */
6
+ /* Element: [default, hover, selected, disabled] */
7
+ /* ------------------------------------------------------------------ */
8
+
9
+ --dropdown-menu-seperator-bg: var(--base-color-workspace-stroke);
10
+ --dropdown-menu-shadow: 0px 2px 24px 0px rgba(145, 158, 171, 0.24);
11
+
12
+ /* Default State */
13
+ --dropdown-menu-default-bg: transparent;
14
+ --dropdown-menu-default-text: inherit;
15
+
16
+ /* Hover State */
17
+ --dropdown-menu-hover-bg: var(--state-color-primary-hover-bg);
18
+ --dropdown-menu-hover-text: inherit;
19
+
20
+ /* Selected State */
21
+ --dropdown-menu-selected-bg: transparent;
22
+ --dropdown-menu-selected-text: inherit;
23
+
24
+ /* Disabled State */
25
+ --dropdown-menu-disabled-bg: transparent;
26
+ --dropdown-menu-disabled-text: var(--state-color-disable-outline);
27
+ }
@@ -0,0 +1,9 @@
1
+ :root {
2
+ /* Footer */
3
+ --footer-height: 58px;
4
+ --footer-height-simple: 48px;
5
+ --footer-bg-color: var(--state-color-primary-default);
6
+ --footer-text-color: var(--primary-foreground);
7
+ --footer-border-color: var(--primary-foreground);
8
+ --footer-gap: 16px;
9
+ }
@@ -0,0 +1,11 @@
1
+ :root {
2
+ /* ------------------------------------------------------------------ */
3
+ /* Loading Component Tokens */
4
+ /* ------------------------------------------------------------------ */
5
+ /* Naming Convention: --[component]-[element]-[property] */
6
+ /* Element: [progress, track] */
7
+ /* ------------------------------------------------------------------ */
8
+
9
+ --loading-process-color: var(--secondary);
10
+ --loading-track-color: #9E9E9E7A;
11
+ }
@@ -0,0 +1,9 @@
1
+ :root {
2
+ /* Navbar */
3
+ --navbar-height: 58px;
4
+ --navbar-bg-color: var(--primary-default);
5
+ --navbar-text-color: var(--primary-foreground);
6
+ --navbar-border-color: var(--primary-foreground);
7
+ --navbar-gap: 16px;
8
+ --navbar-shadow-scrolled: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
9
+ }
@@ -0,0 +1,8 @@
1
+ :root {
2
+ /* Navbar */
3
+ --navbar-height: 58px;
4
+ --navbar-bg-color: var(--primary-default);
5
+ --navbar-text-color: var(--primary-foreground);
6
+ --navbar-border-color: var(--primary-foreground);
7
+ --navbar-gap: 16px;
8
+ }
@@ -0,0 +1,29 @@
1
+ :root {
2
+ /* ------------------------------------------------------------------ */
3
+ /* Switch Component Tokens */
4
+ /* ------------------------------------------------------------------ */
5
+ /* Naming Convention: --[component]-[element]-[state]-[property] */
6
+ /* Element: [progress, track] */
7
+ /* ------------------------------------------------------------------ */
8
+
9
+ /* Default State */
10
+ --switch-default-color: rgb(from var(--grey-grey-100, #9e9e9e) r g b / 0.32);
11
+ --switch-thumb-default-color: var(--grey-grey-100, #9e9e9e);
12
+ --switch-thumb-filter: drop-shadow(0 2px 8px rgba(145, 158, 171, 0.24));
13
+
14
+ /* Hover State */
15
+ --switch-hover-color: rgb(from var(--grey-grey-80, #b1b1b1) r g b / 0.48);
16
+ --switch-thumb-hover-color: var(--grey-grey-80, #b1b1b1);
17
+
18
+ /* Active State */
19
+ --switch-active-color: rgb(from var(--state-color-primary-active) r g b / 0.32);
20
+ --switch-thumb-active-color: var(--state-color-primary-active, #ddcd00);
21
+
22
+ /* Active Hover State */
23
+ --switch-active-hover-color: rgb(from var(--state-color-primary-text-hover) r g b / 0.48);
24
+ --switch-thumb-active-hover-color: var(--state-color-primary-text-hover);
25
+
26
+ /* Disabled State */
27
+ --switch-disabled-color: rgb(from var(--state-color-disable-solid) r g b / 0.32);
28
+ --switch-thumb-disabled-color: var(--state-color-disable-solid, #454f5b);
29
+ }