@ztwoint/z-ui 0.1.26 → 0.1.28

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 (189) hide show
  1. package/dist/components/assets/icons/chevron-left.d.ts +7 -0
  2. package/dist/components/assets/icons/chevron-left.js +20 -0
  3. package/dist/components/assets/icons/chevron-right.js +30 -0
  4. package/dist/components/assets/icons/circle-check.js +32 -0
  5. package/dist/components/assets/icons/double-chevron-left.d.ts +7 -0
  6. package/dist/components/assets/icons/double-chevron-left.js +24 -0
  7. package/dist/components/assets/icons/double-chevron-right.d.ts +7 -0
  8. package/dist/components/assets/icons/double-chevron-right.js +24 -0
  9. package/dist/components/assets/icons/info-icon.js +16 -0
  10. package/dist/components/assets/icons/magnifier-icon.js +16 -0
  11. package/dist/components/assets/icons/sub-nav-indicator.d.ts +3 -2
  12. package/dist/components/assets/icons/sub-nav-indicator.js +26 -41
  13. package/dist/components/button/button.d.ts +1 -1
  14. package/dist/components/button/button.js +45 -30
  15. package/dist/components/collapsible-side-nav-bar/side-nav-bar-content.js +16 -16
  16. package/dist/components/collapsible-side-nav-bar/side-nav-bar-footer.js +1 -1
  17. package/dist/components/collapsible-side-nav-bar/side-nav-bar-group.js +24 -16
  18. package/dist/components/collapsible-side-nav-bar/side-nav-bar-header.js +60 -54
  19. package/dist/components/collapsible-side-nav-bar/side-nav-bar-item.js +61 -62
  20. package/dist/components/collapsible-side-nav-bar/side-nav-bar-provider.js +23 -23
  21. package/dist/components/collapsible-side-nav-bar/side-nav-bar.d.ts +1 -1
  22. package/dist/components/collapsible-side-nav-bar/side-nav-bar.js +14 -14
  23. package/dist/components/dialog/dialog.js +1 -1
  24. package/dist/components/dropdown/helpers/hover-card.js +34 -0
  25. package/dist/components/dropdown/z2-dropdown.d.ts +1 -1
  26. package/dist/components/dropdown/z2-dropdown.js +245 -0
  27. package/dist/components/dropdown-menu/z2-dropdown-menu.js +255 -0
  28. package/dist/components/nav-header/nav-header.js +7 -7
  29. package/dist/components/table/components/cell/boolean-cell.d.ts +7 -0
  30. package/dist/components/table/components/cell/boolean-cell.js +7 -0
  31. package/dist/components/table/components/cell/index.d.ts +3 -0
  32. package/dist/components/table/components/cell/number-cell.d.ts +7 -0
  33. package/dist/components/table/components/cell/number-cell.js +5 -0
  34. package/dist/components/table/components/cell/text-cell.d.ts +7 -0
  35. package/dist/components/table/components/cell/text-cell.js +5 -0
  36. package/dist/components/table/components/index.d.ts +11 -0
  37. package/dist/components/table/components/pagination/components/index.d.ts +3 -0
  38. package/dist/components/table/components/pagination/components/pagination-info.d.ts +4 -0
  39. package/dist/components/table/components/pagination/components/pagination-info.js +27 -0
  40. package/dist/components/table/components/pagination/components/pagination-quick-jumper.d.ts +4 -0
  41. package/dist/components/table/components/pagination/components/pagination-quick-jumper.hook.d.ts +6 -0
  42. package/dist/components/table/components/pagination/components/pagination-quick-jumper.hook.js +24 -0
  43. package/dist/components/table/components/pagination/components/pagination-quick-jumper.js +35 -0
  44. package/dist/components/table/components/pagination/index.d.ts +6 -0
  45. package/dist/components/table/components/pagination/pagination.const.d.ts +26 -0
  46. package/dist/components/table/components/pagination/pagination.const.js +22 -0
  47. package/dist/components/table/components/pagination/pagination.d.ts +4 -0
  48. package/dist/components/table/components/pagination/pagination.hook.d.ts +5 -0
  49. package/dist/components/table/components/pagination/pagination.hook.js +22 -0
  50. package/dist/components/table/components/pagination/pagination.js +112 -0
  51. package/dist/components/table/components/pagination/pagination.type.d.ts +33 -0
  52. package/dist/components/table/components/pagination/pagination.utils.d.ts +7 -0
  53. package/dist/components/table/components/pagination/pagination.utils.js +35 -0
  54. package/dist/components/table/components/table-cell.d.ts +15 -0
  55. package/dist/components/table/components/table-cell.js +45 -0
  56. package/dist/components/table/components/table-empty-state.d.ts +7 -0
  57. package/dist/components/table/components/table-empty-state.js +6 -0
  58. package/dist/components/table/components/table-filter/filters/boolean.d.ts +3 -0
  59. package/dist/components/table/components/table-filter/filters/boolean.js +31 -0
  60. package/dist/components/table/components/table-filter/filters/index.d.ts +3 -0
  61. package/dist/components/table/components/table-filter/filters/number.d.ts +3 -0
  62. package/dist/components/table/components/table-filter/filters/number.js +28 -0
  63. package/dist/components/table/components/table-filter/filters/text.d.ts +3 -0
  64. package/dist/components/table/components/table-filter/filters/text.js +28 -0
  65. package/dist/components/table/components/table-filter/index.d.ts +1 -0
  66. package/dist/components/table/components/table-filter/table-filter.d.ts +9 -0
  67. package/dist/components/table/components/table-filter/table-filter.hook.d.ts +15 -0
  68. package/dist/components/table/components/table-filter/table-filter.hook.js +34 -0
  69. package/dist/components/table/components/table-filter/table-filter.js +105 -0
  70. package/dist/components/table/components/table-filter/table-filter.type.d.ts +18 -0
  71. package/dist/components/table/components/table-footer-content.d.ts +7 -0
  72. package/dist/components/table/components/table-footer-content.js +9 -0
  73. package/dist/components/table/components/table-footer.d.ts +7 -0
  74. package/dist/components/table/components/table-footer.js +6 -0
  75. package/dist/components/table/components/table-header/index.d.ts +2 -0
  76. package/dist/components/table/components/table-header/table-header.d.ts +9 -0
  77. package/dist/components/table/components/table-header/table-header.js +27 -0
  78. package/dist/components/table/components/table-header/table-header.utils.d.ts +5 -0
  79. package/dist/components/table/components/table-header/table-header.utils.js +15 -0
  80. package/dist/components/table/components/table-header/table-sort-icon.d.ts +8 -0
  81. package/dist/components/table/components/table-header/table-sort-icon.js +13 -0
  82. package/dist/components/table/components/table-header-content.d.ts +7 -0
  83. package/dist/components/table/components/table-header-content.js +9 -0
  84. package/dist/components/table/components/table-header-wrapper.d.ts +7 -0
  85. package/dist/components/table/components/table-header-wrapper.js +9 -0
  86. package/dist/components/table/components/table-loading-state.d.ts +7 -0
  87. package/dist/components/table/components/table-loading-state.js +9 -0
  88. package/dist/components/table/components/table-row.d.ts +11 -0
  89. package/dist/components/table/components/table-row.js +23 -0
  90. package/dist/components/table/index.d.ts +9 -0
  91. package/dist/components/table/table-provider.d.ts +26 -0
  92. package/dist/components/table/table-provider.js +45 -0
  93. package/dist/components/table/table.const.d.ts +24 -0
  94. package/dist/components/table/table.const.js +27 -0
  95. package/dist/components/table/table.context.d.ts +7 -0
  96. package/dist/components/table/table.context.js +11 -0
  97. package/dist/components/table/table.d.ts +4 -0
  98. package/dist/components/table/table.js +39 -0
  99. package/dist/components/table/table.type.d.ts +63 -0
  100. package/dist/components/table/table.utils.d.ts +3 -0
  101. package/dist/components/table/table.utils.js +5 -0
  102. package/dist/css/config/colors/components/select.css +15 -0
  103. package/dist/css/config/colors/defaults.css +378 -137
  104. package/dist/css/config/colors/semantic-colors.css +356 -0
  105. package/dist/css/config/components/button.css +152 -0
  106. package/dist/css/config/components/index.css +1 -0
  107. package/dist/css/config/config-deprecated.css +41 -0
  108. package/dist/css/config/config.css +4 -18
  109. package/dist/css/config/typography/2xl.css +7 -0
  110. package/dist/css/config/typography/3xl.css +7 -0
  111. package/dist/css/config/typography/4xl.css +7 -0
  112. package/dist/css/config/typography/base.css +7 -0
  113. package/dist/css/config/typography/lg.css +7 -0
  114. package/dist/css/config/typography/sm.css +7 -0
  115. package/dist/css/config/typography/xl.css +7 -0
  116. package/dist/css/config/typography/xs.css +7 -0
  117. package/dist/css/styles/tailwind.css +1 -1
  118. package/dist/devComponents/navigation/index.d.ts +1 -0
  119. package/dist/devComponents/navigation/navigation.d.ts +1 -0
  120. package/dist/index.d.ts +41 -7
  121. package/dist/index.js +176 -92
  122. package/dist/lib/index.d.ts +3 -0
  123. package/dist/lib/theme.hook.d.ts +8 -0
  124. package/dist/lib/theme.hook.js +50 -0
  125. package/dist/node_modules/@heroicons/react/24/solid/esm/CheckCircleIcon.js +26 -0
  126. package/dist/node_modules/@heroicons/react/24/solid/esm/XCircleIcon.js +26 -0
  127. package/dist/routes/default.d.ts +2 -0
  128. package/dist/routes/index.d.ts +2 -0
  129. package/dist/routes/table.d.ts +2 -0
  130. package/dist/sample/text-cell.d.ts +3 -0
  131. package/dist/types/components/assets/icons/chevron-left.d.ts +7 -0
  132. package/dist/types/components/assets/icons/double-chevron-left.d.ts +7 -0
  133. package/dist/types/components/assets/icons/double-chevron-right.d.ts +7 -0
  134. package/dist/types/components/assets/icons/sub-nav-indicator.d.ts +3 -2
  135. package/dist/types/components/button/button.d.ts +1 -1
  136. package/dist/types/components/collapsible-side-nav-bar/side-nav-bar.d.ts +1 -1
  137. package/dist/types/components/dropdown/z2-dropdown.d.ts +1 -1
  138. package/dist/types/components/table/components/cell/boolean-cell.d.ts +7 -0
  139. package/dist/types/components/table/components/cell/index.d.ts +3 -0
  140. package/dist/types/components/table/components/cell/number-cell.d.ts +7 -0
  141. package/dist/types/components/table/components/cell/text-cell.d.ts +7 -0
  142. package/dist/types/components/table/components/index.d.ts +11 -0
  143. package/dist/types/components/table/components/pagination/components/index.d.ts +3 -0
  144. package/dist/types/components/table/components/pagination/components/pagination-info.d.ts +4 -0
  145. package/dist/types/components/table/components/pagination/components/pagination-quick-jumper.d.ts +4 -0
  146. package/dist/types/components/table/components/pagination/components/pagination-quick-jumper.hook.d.ts +6 -0
  147. package/dist/types/components/table/components/pagination/index.d.ts +6 -0
  148. package/dist/types/components/table/components/pagination/pagination.const.d.ts +26 -0
  149. package/dist/types/components/table/components/pagination/pagination.d.ts +4 -0
  150. package/dist/types/components/table/components/pagination/pagination.hook.d.ts +5 -0
  151. package/dist/types/components/table/components/pagination/pagination.type.d.ts +33 -0
  152. package/dist/types/components/table/components/pagination/pagination.utils.d.ts +7 -0
  153. package/dist/types/components/table/components/table-cell.d.ts +15 -0
  154. package/dist/types/components/table/components/table-empty-state.d.ts +7 -0
  155. package/dist/types/components/table/components/table-filter/filters/boolean.d.ts +3 -0
  156. package/dist/types/components/table/components/table-filter/filters/index.d.ts +3 -0
  157. package/dist/types/components/table/components/table-filter/filters/number.d.ts +3 -0
  158. package/dist/types/components/table/components/table-filter/filters/text.d.ts +3 -0
  159. package/dist/types/components/table/components/table-filter/index.d.ts +1 -0
  160. package/dist/types/components/table/components/table-filter/table-filter.d.ts +9 -0
  161. package/dist/types/components/table/components/table-filter/table-filter.hook.d.ts +15 -0
  162. package/dist/types/components/table/components/table-filter/table-filter.type.d.ts +18 -0
  163. package/dist/types/components/table/components/table-footer-content.d.ts +7 -0
  164. package/dist/types/components/table/components/table-footer.d.ts +7 -0
  165. package/dist/types/components/table/components/table-header/index.d.ts +2 -0
  166. package/dist/types/components/table/components/table-header/table-header.d.ts +10 -0
  167. package/dist/types/components/table/components/table-header/table-header.utils.d.ts +5 -0
  168. package/dist/types/components/table/components/table-header/table-sort-icon.d.ts +8 -0
  169. package/dist/types/components/table/components/table-header-content.d.ts +7 -0
  170. package/dist/types/components/table/components/table-header-wrapper.d.ts +7 -0
  171. package/dist/types/components/table/components/table-loading-state.d.ts +7 -0
  172. package/dist/types/components/table/components/table-row.d.ts +11 -0
  173. package/dist/types/components/table/index.d.ts +9 -0
  174. package/dist/types/components/table/table-provider.d.ts +26 -0
  175. package/dist/types/components/table/table.const.d.ts +24 -0
  176. package/dist/types/components/table/table.context.d.ts +7 -0
  177. package/dist/types/components/table/table.d.ts +4 -0
  178. package/dist/types/components/table/table.type.d.ts +63 -0
  179. package/dist/types/components/table/table.utils.d.ts +3 -0
  180. package/dist/types/devComponents/navigation/index.d.ts +1 -0
  181. package/dist/types/devComponents/navigation/navigation.d.ts +1 -0
  182. package/dist/types/index.d.ts +41 -7
  183. package/dist/types/lib/index.d.ts +3 -0
  184. package/dist/types/lib/theme.hook.d.ts +8 -0
  185. package/dist/types/routes/default.d.ts +2 -0
  186. package/dist/types/routes/index.d.ts +2 -0
  187. package/dist/types/routes/table.d.ts +2 -0
  188. package/dist/types/sample/text-cell.d.ts +3 -0
  189. package/package.json +3 -1
@@ -0,0 +1,356 @@
1
+ /* Semantic Colors - Design System Foundation */
2
+
3
+ :root {
4
+ /* Background Colors */
5
+ --background-default: var(--neutral-0);
6
+ --background-on-top: var(--neutral-0);
7
+ --background-light: var(--neutral-25);
8
+ --background-medium: var(--neutral-50);
9
+ --background-high: var(--neutral-100);
10
+ --background-inverted-elevated: rgba(255, 255, 255, 0.1);
11
+ --background-attention: var(--neutral-200);
12
+ --background-brand: #001534;
13
+
14
+ /* Surface Colors - Neutral */
15
+ --surface-neutral-default: var(--neutral-0);
16
+ --surface-neutral-hover: var(--neutral-75);
17
+ --surface-neutral-pressed: var(--neutral-100);
18
+ --surface-neutral-focused: var(--neutral-75);
19
+ --surface-neutral-disabled: var(--neutral-100);
20
+
21
+ /* Surface Colors - Accent */
22
+ --surface-accent-default: var(--blue-600);
23
+ --surface-accent-hover: var(--blue-800);
24
+ --surface-accent-pressed: var(--blue-400);
25
+ --surface-accent-disabled: var(--neutral-100);
26
+
27
+ /* Surface Colors - Danger */
28
+ --surface-danger-default: var(--red-600);
29
+ --surface-danger-hover: var(--red-800);
30
+ --surface-danger-pressed: var(--red-400);
31
+ --surface-danger-disabled: var(--neutral-100);
32
+
33
+ /* Surface Colors - Success */
34
+ --surface-success-default: var(--green-600);
35
+ --surface-success-hover: var(--green-800);
36
+ --surface-success-pressed: var(--green-400);
37
+ --surface-success-disabled: var(--neutral-100);
38
+
39
+ /* Surface Colors - Warning */
40
+ --surface-warning-default: var(--amber-600);
41
+ --surface-warning-hover: var(--amber-800);
42
+ --surface-warning-pressed: var(--amber-400);
43
+ --surface-warning-disabled: var(--neutral-100);
44
+
45
+ /* Surface Colors - Purple */
46
+ --surface-purple-default: var(--violet-600);
47
+ --surface-purple-hover: var(--violet-700);
48
+ --surface-purple-pressed: var(--violet-400);
49
+ --surface-purple-disabled: var(--neutral-100);
50
+
51
+ /* Surface Colors - Inverted */
52
+ --surface-inverted-default: var(--alpha-two-150);
53
+ --surface-inverted-hover: var(--alpha-two-300);
54
+ --surface-inverted-pressed: var(--neutral-0);
55
+ --surface-inverted-disabled: var(--neutral-100);
56
+
57
+ /* Stroke Colors - Solid */
58
+ --stroke-solid-light: var(--neutral-100);
59
+ --stroke-solid-medium: var(--neutral-150);
60
+ --stroke-solid-high: var(--neutral-200);
61
+ --stroke-solid-hover: var(--neutral-300);
62
+ --stroke-solid-active: var(--blue-600);
63
+ --stroke-solid-attention: var(--neutral-950);
64
+ --stroke-solid-highlight: var(--blue-300);
65
+
66
+ /* Stroke Colors - Transparent */
67
+ --stroke-transparent-light: var(--alpha-one-100);
68
+ --stroke-transparent-medium: var(--alpha-one-150);
69
+ --stroke-transparent-high: var(--alpha-one-200);
70
+ --stroke-transparent-hover: var(--alpha-one-300);
71
+ --stroke-transparent-active: var(--blue-600);
72
+ --stroke-transparent-attention: var(--neutral-950);
73
+ --stroke-transparent-highlight: var(--blue-300);
74
+
75
+ /* Stroke Colors - Inverted */
76
+ --stroke-inverted-default: var(--alpha-two-100);
77
+ --stroke-inverted-hover: var(--alpha-two-300);
78
+ --stroke-inverted-active: var(--blue-500);
79
+ --stroke-inverted-attention: var(--amber-500);
80
+ --stroke-inverted-highlight: var(--blue-200);
81
+
82
+ /* Overlay */
83
+ --overlay-default: var(--alpha-one-500);
84
+
85
+ /* Text Colors - Neutral */
86
+ --text-neutral-primary: var(--neutral-950);
87
+ --text-neutral-secondary: var(--neutral-600);
88
+ --text-neutral-muted: var(--neutral-400);
89
+
90
+ /* Text Colors - Inverted */
91
+ --text-inverted-primary: var(--neutral-0);
92
+ --text-inverted-secondary: var(--alpha-two-600);
93
+ --text-inverted-static: var(--neutral-0);
94
+
95
+ /* Text Colors - Brand */
96
+ --text-brand-primary: var(--blue-950);
97
+ --text-brand-secondary: var(--blue-600);
98
+
99
+ /* Text Colors - Success */
100
+ --text-success-primary: var(--green-950);
101
+ --text-success-secondary: var(--green-600);
102
+
103
+ /* Text Colors - Danger */
104
+ --text-danger-primary: var(--red-950);
105
+ --text-danger-secondary: var(--red-600);
106
+
107
+ /* Text Colors - Warning */
108
+ --text-warning-primary: var(--amber-950);
109
+ --text-warning-secondary: var(--amber-600);
110
+
111
+ /* Text Colors - Purple */
112
+ --text-purple-primary: var(--violet-950);
113
+ --text-purple-secondary: var(--violet-600);
114
+
115
+ /* Text Colors - Body */
116
+ --text-body-primary: var(--neutral-950);
117
+ --text-body-long: var(--neutral-800);
118
+ --text-body-short: var(--neutral-700);
119
+ }
120
+
121
+ .dark {
122
+ /* Background Colors - Dark Mode */
123
+ --background-default: var(--neutral-0);
124
+ --background-on-top: var(--neutral-50);
125
+ --background-light: var(--neutral-25);
126
+ --background-medium: var(--neutral-25);
127
+ --background-high: var(--neutral-100);
128
+ --background-inverted-elevated: rgba(20, 20, 20, 0.1);
129
+ --background-attention: var(--neutral-200);
130
+ --background-brand: #0f0f0f;
131
+
132
+ /* Surface Colors - Neutral - Dark Mode */
133
+ --surface-neutral-default: var(--neutral-0);
134
+ --surface-neutral-hover: var(--neutral-75);
135
+ --surface-neutral-pressed: var(--neutral-100);
136
+ --surface-neutral-focused: var(--neutral-75);
137
+ --surface-neutral-disabled: var(--neutral-50);
138
+
139
+ /* Surface Colors - Accent - Dark Mode */
140
+ --surface-accent-default: var(--blue-500);
141
+ --surface-accent-hover: var(--blue-700);
142
+ --surface-accent-pressed: var(--blue-400);
143
+ --surface-accent-disabled: var(--neutral-50);
144
+
145
+ /* Surface Colors - Danger - Dark Mode */
146
+ --surface-danger-default: var(--red-500);
147
+ --surface-danger-hover: var(--red-700);
148
+ --surface-danger-pressed: var(--red-400);
149
+ --surface-danger-disabled: var(--neutral-50);
150
+
151
+ /* Surface Colors - Success - Dark Mode */
152
+ --surface-success-default: var(--green-500);
153
+ --surface-success-hover: var(--green-700);
154
+ --surface-success-pressed: var(--green-400);
155
+ --surface-success-disabled: var(--neutral-50);
156
+
157
+ /* Surface Colors - Warning - Dark Mode */
158
+ --surface-warning-default: var(--amber-500);
159
+ --surface-warning-hover: var(--amber-700);
160
+ --surface-warning-pressed: var(--amber-400);
161
+ --surface-warning-disabled: var(--neutral-100);
162
+
163
+ /* Surface Colors - Purple - Dark Mode */
164
+ --surface-purple-default: var(--violet-500);
165
+ --surface-purple-hover: var(--violet-700);
166
+ --surface-purple-pressed: var(--violet-400);
167
+ --surface-purple-disabled: var(--neutral-50);
168
+
169
+ /* Surface Colors - Inverted - Dark Mode */
170
+ --surface-inverted-default: var(--neutral-150);
171
+ --surface-inverted-hover: var(--neutral-300);
172
+ --surface-inverted-pressed: var(--neutral-0);
173
+ --surface-inverted-disabled: var(--neutral-100);
174
+
175
+ /* Stroke Colors - Solid - Dark Mode */
176
+ --stroke-solid-light: var(--neutral-75);
177
+ --stroke-solid-medium: var(--neutral-100);
178
+ --stroke-solid-high: var(--neutral-150);
179
+ --stroke-solid-hover: var(--neutral-200);
180
+ --stroke-solid-active: var(--blue-500);
181
+ --stroke-solid-attention: var(--neutral-950);
182
+ --stroke-solid-highlight: var(--blue-200);
183
+
184
+ /* Stroke Colors - Transparent - Dark Mode */
185
+ --stroke-transparent-light: var(--neutral-75);
186
+ --stroke-transparent-medium: var(--neutral-100);
187
+ --stroke-transparent-high: var(--neutral-150);
188
+ --stroke-transparent-hover: var(--neutral-200);
189
+ --stroke-transparent-active: var(--blue-500);
190
+ --stroke-transparent-attention: var(--neutral-950);
191
+ --stroke-transparent-highlight: var(--blue-200);
192
+
193
+ /* Stroke Colors - Inverted - Dark Mode */
194
+ --stroke-inverted-default: var(--neutral-150);
195
+ --stroke-inverted-hover: var(--neutral-150);
196
+ --stroke-inverted-active: var(--neutral-150);
197
+ --stroke-inverted-attention: var(--neutral-150);
198
+ --stroke-inverted-highlight: var(--neutral-150);
199
+
200
+ /* Overlay - Dark Mode */
201
+ --overlay-default: var(--neutral-50);
202
+
203
+ /* Text Colors - Neutral - Dark Mode */
204
+ --text-neutral-primary: var(--neutral-950);
205
+ --text-neutral-secondary: var(--neutral-500);
206
+ --text-neutral-muted: var(--neutral-400);
207
+
208
+ /* Text Colors - Inverted - Dark Mode */
209
+ --text-inverted-primary: var(--neutral-0);
210
+ --text-inverted-secondary: var(--alpha-one-600);
211
+ --text-inverted-static: var(--neutral-950);
212
+
213
+ /* Text Colors - Brand - Dark Mode */
214
+ --text-brand-primary: var(--blue-950);
215
+ --text-brand-secondary: var(--blue-600);
216
+
217
+ /* Text Colors - Success - Dark Mode */
218
+ --text-success-primary: var(--green-950);
219
+ --text-success-secondary: var(--green-600);
220
+
221
+ /* Text Colors - Danger - Dark Mode */
222
+ --text-danger-primary: var(--red-950);
223
+ --text-danger-secondary: var(--red-600);
224
+
225
+ /* Text Colors - Warning - Dark Mode */
226
+ --text-warning-primary: var(--amber-950);
227
+ --text-warning-secondary: var(--amber-600);
228
+
229
+ /* Text Colors - Purple - Dark Mode */
230
+ --text-purple-primary: var(--violet-950);
231
+ --text-purple-secondary: var(--violet-600);
232
+
233
+ /* Text Colors - Body - Dark Mode */
234
+ --text-body-primary: var(--neutral-0);
235
+ --text-body-long: var(--neutral-800);
236
+ --text-body-short: var(--neutral-700);
237
+ }
238
+
239
+ /* Tailwind v4 Theme Integration */
240
+ @theme inline {
241
+ /* Background Colors */
242
+ --color-background-default: var(--background-default);
243
+ --color-background-on-top: var(--background-on-top);
244
+ --color-background-light: var(--background-light);
245
+ --color-background-medium: var(--background-medium);
246
+ --color-background-high: var(--background-high);
247
+ --color-background-inverted-elevated: var(--background-inverted-elevated);
248
+ --color-background-attention: var(--background-attention);
249
+ --color-background-brand: var(--background-brand);
250
+
251
+ /* Surface Colors - Neutral */
252
+ --color-surface-neutral-default: var(--surface-neutral-default);
253
+ --color-surface-neutral-hover: var(--surface-neutral-hover);
254
+ --color-surface-neutral-pressed: var(--surface-neutral-pressed);
255
+ --color-surface-neutral-focused: var(--surface-neutral-focused);
256
+ --color-surface-neutral-disabled: var(--surface-neutral-disabled);
257
+
258
+ /* Surface Colors - Accent */
259
+ --color-surface-accent-default: var(--surface-accent-default);
260
+ --color-surface-accent-hover: var(--surface-accent-hover);
261
+ --color-surface-accent-pressed: var(--surface-accent-pressed);
262
+ --color-surface-accent-disabled: var(--surface-accent-disabled);
263
+
264
+ /* Surface Colors - Danger */
265
+ --color-surface-danger-default: var(--surface-danger-default);
266
+ --color-surface-danger-hover: var(--surface-danger-hover);
267
+ --color-surface-danger-pressed: var(--surface-danger-pressed);
268
+ --color-surface-danger-disabled: var(--surface-danger-disabled);
269
+
270
+ /* Surface Colors - Success */
271
+ --color-surface-success-default: var(--surface-success-default);
272
+ --color-surface-success-hover: var(--surface-success-hover);
273
+ --color-surface-success-pressed: var(--surface-success-pressed);
274
+ --color-surface-success-disabled: var(--surface-success-disabled);
275
+
276
+ /* Surface Colors - Warning */
277
+ --color-surface-warning-default: var(--surface-warning-default);
278
+ --color-surface-warning-hover: var(--surface-warning-hover);
279
+ --color-surface-warning-pressed: var(--surface-warning-pressed);
280
+ --color-surface-warning-disabled: var(--surface-warning-disabled);
281
+
282
+ /* Surface Colors - Purple */
283
+ --color-surface-purple-default: var(--surface-purple-default);
284
+ --color-surface-purple-hover: var(--surface-purple-hover);
285
+ --color-surface-purple-pressed: var(--surface-purple-pressed);
286
+ --color-surface-purple-disabled: var(--surface-purple-disabled);
287
+
288
+ /* Surface Colors - Inverted */
289
+ --color-surface-inverted-default: var(--surface-inverted-default);
290
+ --color-surface-inverted-hover: var(--surface-inverted-hover);
291
+ --color-surface-inverted-pressed: var(--surface-inverted-pressed);
292
+ --color-surface-inverted-disabled: var(--surface-inverted-disabled);
293
+
294
+ /* Stroke Colors - Solid */
295
+ --color-stroke-solid-light: var(--stroke-solid-light);
296
+ --color-stroke-solid-medium: var(--stroke-solid-medium);
297
+ --color-stroke-solid-high: var(--stroke-solid-high);
298
+ --color-stroke-solid-hover: var(--stroke-solid-hover);
299
+ --color-stroke-solid-active: var(--stroke-solid-active);
300
+ --color-stroke-solid-attention: var(--stroke-solid-attention);
301
+ --color-stroke-solid-highlight: var(--stroke-solid-highlight);
302
+
303
+ /* Stroke Colors - Transparent */
304
+ --color-stroke-transparent-light: var(--stroke-transparent-light);
305
+ --color-stroke-transparent-medium: var(--stroke-transparent-medium);
306
+ --color-stroke-transparent-high: var(--stroke-transparent-high);
307
+ --color-stroke-transparent-hover: var(--stroke-transparent-hover);
308
+ --color-stroke-transparent-active: var(--stroke-transparent-active);
309
+ --color-stroke-transparent-attention: var(--stroke-transparent-attention);
310
+ --color-stroke-transparent-highlight: var(--stroke-transparent-highlight);
311
+
312
+ /* Stroke Colors - Inverted */
313
+ --color-stroke-inverted-default: var(--stroke-inverted-default);
314
+ --color-stroke-inverted-hover: var(--stroke-inverted-hover);
315
+ --color-stroke-inverted-active: var(--stroke-inverted-active);
316
+ --color-stroke-inverted-attention: var(--stroke-inverted-attention);
317
+ --color-stroke-inverted-highlight: var(--stroke-inverted-highlight);
318
+
319
+ /* Overlay */
320
+ --color-overlay-default: var(--overlay-default);
321
+
322
+ /* Text Colors - Neutral */
323
+ --color-text-neutral-primary: var(--text-neutral-primary);
324
+ --color-text-neutral-secondary: var(--text-neutral-secondary);
325
+ --color-text-neutral-muted: var(--text-neutral-muted);
326
+
327
+ /* Text Colors - Inverted */
328
+ --color-text-inverted-primary: var(--text-inverted-primary);
329
+ --color-text-inverted-secondary: var(--text-inverted-secondary);
330
+ --color-text-inverted-static: var(--text-inverted-static);
331
+
332
+ /* Text Colors - Brand */
333
+ --color-text-brand-primary: var(--text-brand-primary);
334
+ --color-text-brand-secondary: var(--text-brand-secondary);
335
+
336
+ /* Text Colors - Success */
337
+ --color-text-success-primary: var(--text-success-primary);
338
+ --color-text-success-secondary: var(--text-success-secondary);
339
+
340
+ /* Text Colors - Danger */
341
+ --color-text-danger-primary: var(--text-danger-primary);
342
+ --color-text-danger-secondary: var(--text-danger-secondary);
343
+
344
+ /* Text Colors - Warning */
345
+ --color-text-warning-primary: var(--text-warning-primary);
346
+ --color-text-warning-secondary: var(--text-warning-secondary);
347
+
348
+ /* Text Colors - Purple */
349
+ --color-text-purple-primary: var(--text-purple-primary);
350
+ --color-text-purple-secondary: var(--text-purple-secondary);
351
+
352
+ /* Text Colors - Body */
353
+ --color-text-body-primary: var(--text-body-primary);
354
+ --color-text-body-long: var(--text-body-long);
355
+ --color-text-body-short: var(--text-body-short);
356
+ }
@@ -0,0 +1,152 @@
1
+ /* Button Component Colors - Design System Foundation */
2
+
3
+ :root {
4
+ /* Button Primary - Neutral - Surface */
5
+ --button-primary-neutral-surface-default: var(--neutral-950);
6
+ --button-primary-neutral-surface-hover: var(--neutral-900);
7
+ --button-primary-neutral-surface-pressed: var(--neutral-500);
8
+ --button-primary-neutral-surface-disabled: var(--neutral-50);
9
+
10
+ /* Button Primary - Neutral - Stroke */
11
+ --button-primary-neutral-stroke-default: transparent;
12
+ --button-primary-neutral-stroke-hover: transparent;
13
+ --button-primary-neutral-stroke-pressed: transparent;
14
+ --button-primary-neutral-stroke-disabled: var(--neutral-100);
15
+
16
+ /* Button Primary - Brand - Surface */
17
+ --button-primary-brand-surface-default: var(--blue-600);
18
+ --button-primary-brand-surface-hover: var(--blue-700);
19
+ --button-primary-brand-surface-pressed: var(--blue-500);
20
+ --button-primary-brand-surface-disabled: var(--neutral-50);
21
+
22
+ /* Button Primary - Brand - Stroke */
23
+ --button-primary-brand-stroke-default: transparent;
24
+ --button-primary-brand-stroke-hover: transparent;
25
+ --button-primary-brand-stroke-pressed: transparent;
26
+ --button-primary-brand-stroke-disabled: var(--neutral-100);
27
+
28
+ /* Button Primary - Danger - Surface */
29
+ --button-primary-danger-surface-default: var(--red-600);
30
+ --button-primary-danger-surface-hover: var(--red-700);
31
+ --button-primary-danger-surface-pressed: var(--red-500);
32
+ --button-primary-danger-surface-disabled: var(--neutral-50);
33
+
34
+ /* Button Primary - Danger - Stroke */
35
+ --button-primary-danger-stroke-default: transparent;
36
+ --button-primary-danger-stroke-hover: transparent;
37
+ --button-primary-danger-stroke-pressed: transparent;
38
+ --button-primary-danger-stroke-disabled: var(--neutral-100);
39
+
40
+ /* Button Secondary - Surface */
41
+ --button-secondary-surface-default: var(--neutral-00);
42
+ --button-secondary-surface-hover: var(--neutral-50);
43
+ --button-secondary-surface-pressed: var(--neutral-75);
44
+ --button-secondary-surface-disabled: var(--neutral-50);
45
+
46
+ /* Button Secondary - Stroke */
47
+ --button-secondary-stroke-default: var(--neutral-150);
48
+ --button-secondary-stroke-hover: var(--neutral-200);
49
+ --button-secondary-stroke-pressed: transparent;
50
+ --button-secondary-stroke-disabled: var(--neutral-100);
51
+ }
52
+
53
+ .dark {
54
+ /* Button Primary - Neutral - Surface - Dark Mode */
55
+ --button-primary-neutral-surface-default: var(--neutral-950);
56
+ --button-primary-neutral-surface-hover: var(--neutral-800);
57
+ --button-primary-neutral-surface-pressed: var(--neutral-500);
58
+ --button-primary-neutral-surface-disabled: rgba(0, 0, 0, 0.2);
59
+
60
+ /* Button Primary - Neutral - Stroke - Dark Mode */
61
+ --button-primary-neutral-stroke-default: transparent;
62
+ --button-primary-neutral-stroke-hover: transparent;
63
+ --button-primary-neutral-stroke-pressed: transparent;
64
+ --button-primary-neutral-stroke-disabled: var(--neutral-50);
65
+
66
+ /* Button Primary - Brand - Surface - Dark Mode */
67
+ --button-primary-brand-surface-default: var(--blue-500);
68
+ --button-primary-brand-surface-hover: var(--blue-700);
69
+ --button-primary-brand-surface-pressed: var(--blue-400);
70
+ --button-primary-brand-surface-disabled: rgba(0, 0, 0, 0.2);
71
+
72
+ /* Button Primary - Brand - Stroke - Dark Mode */
73
+ --button-primary-brand-stroke-default: transparent;
74
+ --button-primary-brand-stroke-hover: transparent;
75
+ --button-primary-brand-stroke-pressed: transparent;
76
+ --button-primary-brand-stroke-disabled: var(--neutral-50);
77
+
78
+ /* Button Primary - Danger - Surface - Dark Mode */
79
+ --button-primary-danger-surface-default: var(--red-500);
80
+ --button-primary-danger-surface-hover: var(--red-700);
81
+ --button-primary-danger-surface-pressed: var(--red-500);
82
+ --button-primary-danger-surface-disabled: rgba(0, 0, 0, 0.2);
83
+
84
+ /* Button Primary - Danger - Stroke - Dark Mode */
85
+ --button-primary-danger-stroke-default: transparent;
86
+ --button-primary-danger-stroke-hover: transparent;
87
+ --button-primary-danger-stroke-pressed: transparent;
88
+ --button-primary-danger-stroke-disabled: var(--neutral-50);
89
+
90
+ /* Button Secondary - Surface - Dark Mode */
91
+ --button-secondary-surface-default: var(--neutral-50);
92
+ --button-secondary-surface-hover: var(--neutral-150);
93
+ --button-secondary-surface-pressed: var(--neutral-75);
94
+ --button-secondary-surface-disabled: rgba(0, 0, 0, 0.2);
95
+
96
+ /* Button Secondary - Stroke - Dark Mode */
97
+ --button-secondary-stroke-default: var(--neutral-100);
98
+ --button-secondary-stroke-hover: var(--neutral-200);
99
+ --button-secondary-stroke-pressed: transparent;
100
+ --button-secondary-stroke-disabled: var(--neutral-50);
101
+ }
102
+
103
+ /* Tailwind v4 Theme Integration */
104
+ @theme inline {
105
+ /* Button Primary - Neutral - Surface */
106
+ --color-button-primary-neutral-surface-default: var(--button-primary-neutral-surface-default);
107
+ --color-button-primary-neutral-surface-hover: var(--button-primary-neutral-surface-hover);
108
+ --color-button-primary-neutral-surface-pressed: var(--button-primary-neutral-surface-pressed);
109
+ --color-button-primary-neutral-surface-disabled: var(--button-primary-neutral-surface-disabled);
110
+
111
+ /* Button Primary - Neutral - Stroke */
112
+ --color-button-primary-neutral-stroke-default: var(--button-primary-neutral-stroke-default);
113
+ --color-button-primary-neutral-stroke-hover: var(--button-primary-neutral-stroke-hover);
114
+ --color-button-primary-neutral-stroke-pressed: var(--button-primary-neutral-stroke-pressed);
115
+ --color-button-primary-neutral-stroke-disabled: var(--button-primary-neutral-stroke-disabled);
116
+
117
+ /* Button Primary - Brand - Surface */
118
+ --color-button-primary-brand-surface-default: var(--button-primary-brand-surface-default);
119
+ --color-button-primary-brand-surface-hover: var(--button-primary-brand-surface-hover);
120
+ --color-button-primary-brand-surface-pressed: var(--button-primary-brand-surface-pressed);
121
+ --color-button-primary-brand-surface-disabled: var(--button-primary-brand-surface-disabled);
122
+
123
+ /* Button Primary - Brand - Stroke */
124
+ --color-button-primary-brand-stroke-default: var(--button-primary-brand-stroke-default);
125
+ --color-button-primary-brand-stroke-hover: var(--button-primary-brand-stroke-hover);
126
+ --color-button-primary-brand-stroke-pressed: var(--button-primary-brand-stroke-pressed);
127
+ --color-button-primary-brand-stroke-disabled: var(--button-primary-brand-stroke-disabled);
128
+
129
+ /* Button Primary - Danger - Surface */
130
+ --color-button-primary-danger-surface-default: var(--button-primary-danger-surface-default);
131
+ --color-button-primary-danger-surface-hover: var(--button-primary-danger-surface-hover);
132
+ --color-button-primary-danger-surface-pressed: var(--button-primary-danger-surface-pressed);
133
+ --color-button-primary-danger-surface-disabled: var(--button-primary-danger-surface-disabled);
134
+
135
+ /* Button Primary - Danger - Stroke */
136
+ --color-button-primary-danger-stroke-default: var(--button-primary-danger-stroke-default);
137
+ --color-button-primary-danger-stroke-hover: var(--button-primary-danger-stroke-hover);
138
+ --color-button-primary-danger-stroke-pressed: var(--button-primary-danger-stroke-pressed);
139
+ --color-button-primary-danger-stroke-disabled: var(--button-primary-danger-stroke-disabled);
140
+
141
+ /* Button Secondary - Surface */
142
+ --color-button-secondary-surface-default: var(--button-secondary-surface-default);
143
+ --color-button-secondary-surface-hover: var(--button-secondary-surface-hover);
144
+ --color-button-secondary-surface-pressed: var(--button-secondary-surface-pressed);
145
+ --color-button-secondary-surface-disabled: var(--button-secondary-surface-disabled);
146
+
147
+ /* Button Secondary - Stroke */
148
+ --color-button-secondary-stroke-default: var(--button-secondary-stroke-default);
149
+ --color-button-secondary-stroke-hover: var(--button-secondary-stroke-hover);
150
+ --color-button-secondary-stroke-pressed: var(--button-secondary-stroke-pressed);
151
+ --color-button-secondary-stroke-disabled: var(--button-secondary-stroke-disabled);
152
+ }
@@ -0,0 +1 @@
1
+ @import './button.css';
@@ -0,0 +1,41 @@
1
+ /* Colors */
2
+ @import './colors/defaults.css';
3
+ @import './colors/backgrounds.css';
4
+ @import './colors/surfaces.css';
5
+ @import './colors/stroke.css';
6
+ @import './colors/overlay.css';
7
+ @import './colors/icons.css';
8
+ @import './colors/text.css';
9
+ @import './typography/typography.css';
10
+
11
+ /* TODO Drop Shadow */
12
+
13
+ /* Components Colors */
14
+ @import './colors/components/button.css';
15
+ @import './colors/components/tab.css';
16
+ @import './colors/components/alert.css';
17
+ @import './colors/components/select.css';
18
+
19
+ @theme {
20
+ --font-family-sans: 'Inter Variable', sans-serif;
21
+ --font-family-display: 'Inter Variable', sans-serif;
22
+ }
23
+
24
+ /* Base styles to ensure Inter is applied globally */
25
+ @layer base {
26
+ html {
27
+ font-family: var(--font-family-sans);
28
+ }
29
+
30
+ body {
31
+ font-family: var(--font-family-sans);
32
+ -webkit-font-smoothing: antialiased;
33
+ /* Safari and Chrome on macOS */
34
+ -moz-osx-font-smoothing: grayscale;
35
+ /* Firefox on macOS */
36
+ }
37
+
38
+ * {
39
+ font-family: inherit;
40
+ }
41
+ }
@@ -1,21 +1,3 @@
1
- /* Colors */
2
- @import './colors/defaults.css';
3
- @import './colors/backgrounds.css';
4
- @import './colors/surfaces.css';
5
- @import './colors/stroke.css';
6
- @import './colors/overlay.css';
7
- @import './colors/icons.css';
8
- @import './colors/text.css';
9
- @import './typography/typography.css';
10
-
11
- /* TODO Drop Shadow */
12
-
13
- /* Components Colors */
14
- @import './colors/components/button.css';
15
- @import './colors/components/tab.css';
16
- @import './colors/components/alert.css';
17
- @import './colors/components/select.css';
18
-
19
1
  @theme {
20
2
  --font-family-sans: 'Inter Variable', sans-serif;
21
3
  --font-family-display: 'Inter Variable', sans-serif;
@@ -39,3 +21,7 @@
39
21
  font-family: inherit;
40
22
  }
41
23
  }
24
+ @import './config-deprecated.css';
25
+ @import './colors/defaults.css';
26
+ @import './colors/semantic-colors.css';
27
+ @import './typography/typography.css';
@@ -55,6 +55,7 @@
55
55
  line-height: 1.5rem;
56
56
  letter-spacing: -0.05rem;
57
57
  font-weight: 400;
58
+ overflow-y: visible;
58
59
  }
59
60
 
60
61
  .leading-none-medium-2xl {
@@ -62,6 +63,7 @@
62
63
  line-height: 1.5rem;
63
64
  letter-spacing: -0.05rem;
64
65
  font-weight: 500;
66
+ overflow-y: visible;
65
67
  }
66
68
 
67
69
  .leading-none-semibold-2xl {
@@ -69,6 +71,7 @@
69
71
  line-height: 1.5rem;
70
72
  letter-spacing: -0.05rem;
71
73
  font-weight: 600;
74
+ overflow-y: visible;
72
75
  }
73
76
 
74
77
  .leading-none-bold-2xl {
@@ -76,6 +79,7 @@
76
79
  line-height: 1.5rem;
77
80
  letter-spacing: -0.05rem;
78
81
  font-weight: 700;
82
+ overflow-y: visible;
79
83
  }
80
84
 
81
85
  .leading-none-italic-2xl {
@@ -83,6 +87,7 @@
83
87
  line-height: 1.5rem;
84
88
  letter-spacing: -0.05rem;
85
89
  font-style: italic;
90
+ overflow-y: visible;
86
91
  }
87
92
 
88
93
  .leading-none-underlined-2xl {
@@ -90,6 +95,7 @@
90
95
  line-height: 1.5rem;
91
96
  letter-spacing: -0.05rem;
92
97
  text-decoration: underline;
98
+ overflow-y: visible;
93
99
  }
94
100
 
95
101
  .leading-none-strikethrough-2xl {
@@ -97,4 +103,5 @@
97
103
  line-height: 1.5rem;
98
104
  letter-spacing: -0.05rem;
99
105
  text-decoration: line-through;
106
+ overflow-y: visible;
100
107
  }
@@ -55,6 +55,7 @@
55
55
  line-height: 2rem;
56
56
  letter-spacing: -0.1rem;
57
57
  font-weight: 400;
58
+ overflow-y: visible;
58
59
  }
59
60
 
60
61
  .leading-none-medium-3xl {
@@ -62,6 +63,7 @@
62
63
  line-height: 2rem;
63
64
  letter-spacing: -0.1rem;
64
65
  font-weight: 500;
66
+ overflow-y: visible;
65
67
  }
66
68
 
67
69
  .leading-none-semibold-3xl {
@@ -69,6 +71,7 @@
69
71
  line-height: 2rem;
70
72
  letter-spacing: -0.1rem;
71
73
  font-weight: 600;
74
+ overflow-y: visible;
72
75
  }
73
76
 
74
77
  .leading-none-bold-3xl {
@@ -76,6 +79,7 @@
76
79
  line-height: 2rem;
77
80
  letter-spacing: -0.1rem;
78
81
  font-weight: 700;
82
+ overflow-y: visible;
79
83
  }
80
84
 
81
85
  .leading-none-italic-3xl {
@@ -83,6 +87,7 @@
83
87
  line-height: 2rem;
84
88
  letter-spacing: -0.1rem;
85
89
  font-style: italic;
90
+ overflow-y: visible;
86
91
  }
87
92
 
88
93
  .leading-none-underlined-3xl {
@@ -90,6 +95,7 @@
90
95
  line-height: 2rem;
91
96
  letter-spacing: -0.1rem;
92
97
  text-decoration: underline;
98
+ overflow-y: visible;
93
99
  }
94
100
 
95
101
  .leading-none-strikethrough-3xl {
@@ -97,4 +103,5 @@
97
103
  line-height: 2rem;
98
104
  letter-spacing: -0.1rem;
99
105
  text-decoration: line-through;
106
+ overflow-y: visible;
100
107
  }