@raintonic/formaui 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +145 -0
  3. package/fesm2022/raintonic-formaui-cdk-drag-drop.mjs +806 -0
  4. package/fesm2022/raintonic-formaui-cdk-drag-drop.mjs.map +1 -0
  5. package/fesm2022/raintonic-formaui-cdk-form-field.mjs +86 -0
  6. package/fesm2022/raintonic-formaui-cdk-form-field.mjs.map +1 -0
  7. package/fesm2022/raintonic-formaui-cdk-overlay.mjs +1757 -0
  8. package/fesm2022/raintonic-formaui-cdk-overlay.mjs.map +1 -0
  9. package/fesm2022/raintonic-formaui-cdk-virtual-scroll.mjs +287 -0
  10. package/fesm2022/raintonic-formaui-cdk-virtual-scroll.mjs.map +1 -0
  11. package/fesm2022/raintonic-formaui-components-accordion.mjs +217 -0
  12. package/fesm2022/raintonic-formaui-components-accordion.mjs.map +1 -0
  13. package/fesm2022/raintonic-formaui-components-alert.mjs +161 -0
  14. package/fesm2022/raintonic-formaui-components-alert.mjs.map +1 -0
  15. package/fesm2022/raintonic-formaui-components-autocomplete.mjs +726 -0
  16. package/fesm2022/raintonic-formaui-components-autocomplete.mjs.map +1 -0
  17. package/fesm2022/raintonic-formaui-components-avatar.mjs +92 -0
  18. package/fesm2022/raintonic-formaui-components-avatar.mjs.map +1 -0
  19. package/fesm2022/raintonic-formaui-components-badge.mjs +107 -0
  20. package/fesm2022/raintonic-formaui-components-badge.mjs.map +1 -0
  21. package/fesm2022/raintonic-formaui-components-big-menu.mjs +68 -0
  22. package/fesm2022/raintonic-formaui-components-big-menu.mjs.map +1 -0
  23. package/fesm2022/raintonic-formaui-components-breadcrumb.mjs +55 -0
  24. package/fesm2022/raintonic-formaui-components-breadcrumb.mjs.map +1 -0
  25. package/fesm2022/raintonic-formaui-components-button-group.mjs +103 -0
  26. package/fesm2022/raintonic-formaui-components-button-group.mjs.map +1 -0
  27. package/fesm2022/raintonic-formaui-components-button.mjs +241 -0
  28. package/fesm2022/raintonic-formaui-components-button.mjs.map +1 -0
  29. package/fesm2022/raintonic-formaui-components-card.mjs +270 -0
  30. package/fesm2022/raintonic-formaui-components-card.mjs.map +1 -0
  31. package/fesm2022/raintonic-formaui-components-checkbox.mjs +295 -0
  32. package/fesm2022/raintonic-formaui-components-checkbox.mjs.map +1 -0
  33. package/fesm2022/raintonic-formaui-components-data-table.mjs +631 -0
  34. package/fesm2022/raintonic-formaui-components-data-table.mjs.map +1 -0
  35. package/fesm2022/raintonic-formaui-components-date-picker.mjs +1331 -0
  36. package/fesm2022/raintonic-formaui-components-date-picker.mjs.map +1 -0
  37. package/fesm2022/raintonic-formaui-components-divider.mjs +41 -0
  38. package/fesm2022/raintonic-formaui-components-divider.mjs.map +1 -0
  39. package/fesm2022/raintonic-formaui-components-drawer.mjs +190 -0
  40. package/fesm2022/raintonic-formaui-components-drawer.mjs.map +1 -0
  41. package/fesm2022/raintonic-formaui-components-dynamic-form.mjs +266 -0
  42. package/fesm2022/raintonic-formaui-components-dynamic-form.mjs.map +1 -0
  43. package/fesm2022/raintonic-formaui-components-empty-state.mjs +33 -0
  44. package/fesm2022/raintonic-formaui-components-empty-state.mjs.map +1 -0
  45. package/fesm2022/raintonic-formaui-components-file-upload.mjs +246 -0
  46. package/fesm2022/raintonic-formaui-components-file-upload.mjs.map +1 -0
  47. package/fesm2022/raintonic-formaui-components-form-field.mjs +482 -0
  48. package/fesm2022/raintonic-formaui-components-form-field.mjs.map +1 -0
  49. package/fesm2022/raintonic-formaui-components-icon.mjs +117 -0
  50. package/fesm2022/raintonic-formaui-components-icon.mjs.map +1 -0
  51. package/fesm2022/raintonic-formaui-components-input.mjs +327 -0
  52. package/fesm2022/raintonic-formaui-components-input.mjs.map +1 -0
  53. package/fesm2022/raintonic-formaui-components-list.mjs +149 -0
  54. package/fesm2022/raintonic-formaui-components-list.mjs.map +1 -0
  55. package/fesm2022/raintonic-formaui-components-menu.mjs +896 -0
  56. package/fesm2022/raintonic-formaui-components-menu.mjs.map +1 -0
  57. package/fesm2022/raintonic-formaui-components-number-input.mjs +345 -0
  58. package/fesm2022/raintonic-formaui-components-number-input.mjs.map +1 -0
  59. package/fesm2022/raintonic-formaui-components-paginator.mjs +139 -0
  60. package/fesm2022/raintonic-formaui-components-paginator.mjs.map +1 -0
  61. package/fesm2022/raintonic-formaui-components-password-input.mjs +306 -0
  62. package/fesm2022/raintonic-formaui-components-password-input.mjs.map +1 -0
  63. package/fesm2022/raintonic-formaui-components-popover.mjs +451 -0
  64. package/fesm2022/raintonic-formaui-components-popover.mjs.map +1 -0
  65. package/fesm2022/raintonic-formaui-components-progressbar.mjs +148 -0
  66. package/fesm2022/raintonic-formaui-components-progressbar.mjs.map +1 -0
  67. package/fesm2022/raintonic-formaui-components-radio.mjs +260 -0
  68. package/fesm2022/raintonic-formaui-components-radio.mjs.map +1 -0
  69. package/fesm2022/raintonic-formaui-components-select.mjs +1011 -0
  70. package/fesm2022/raintonic-formaui-components-select.mjs.map +1 -0
  71. package/fesm2022/raintonic-formaui-components-side-panel.mjs +150 -0
  72. package/fesm2022/raintonic-formaui-components-side-panel.mjs.map +1 -0
  73. package/fesm2022/raintonic-formaui-components-sidebar.mjs +257 -0
  74. package/fesm2022/raintonic-formaui-components-sidebar.mjs.map +1 -0
  75. package/fesm2022/raintonic-formaui-components-skeleton.mjs +50 -0
  76. package/fesm2022/raintonic-formaui-components-skeleton.mjs.map +1 -0
  77. package/fesm2022/raintonic-formaui-components-slider.mjs +347 -0
  78. package/fesm2022/raintonic-formaui-components-slider.mjs.map +1 -0
  79. package/fesm2022/raintonic-formaui-components-spinner.mjs +63 -0
  80. package/fesm2022/raintonic-formaui-components-spinner.mjs.map +1 -0
  81. package/fesm2022/raintonic-formaui-components-stepper.mjs +317 -0
  82. package/fesm2022/raintonic-formaui-components-stepper.mjs.map +1 -0
  83. package/fesm2022/raintonic-formaui-components-tab.mjs +197 -0
  84. package/fesm2022/raintonic-formaui-components-tab.mjs.map +1 -0
  85. package/fesm2022/raintonic-formaui-components-tag.mjs +78 -0
  86. package/fesm2022/raintonic-formaui-components-tag.mjs.map +1 -0
  87. package/fesm2022/raintonic-formaui-components-time-picker.mjs +644 -0
  88. package/fesm2022/raintonic-formaui-components-time-picker.mjs.map +1 -0
  89. package/fesm2022/raintonic-formaui-components-toggle.mjs +171 -0
  90. package/fesm2022/raintonic-formaui-components-toggle.mjs.map +1 -0
  91. package/fesm2022/raintonic-formaui-components-toolbar.mjs +140 -0
  92. package/fesm2022/raintonic-formaui-components-toolbar.mjs.map +1 -0
  93. package/fesm2022/raintonic-formaui-components-tooltip.mjs +555 -0
  94. package/fesm2022/raintonic-formaui-components-tooltip.mjs.map +1 -0
  95. package/fesm2022/raintonic-formaui-components-tree-select.mjs +314 -0
  96. package/fesm2022/raintonic-formaui-components-tree-select.mjs.map +1 -0
  97. package/fesm2022/raintonic-formaui-components-tree-table.mjs +103 -0
  98. package/fesm2022/raintonic-formaui-components-tree-table.mjs.map +1 -0
  99. package/fesm2022/raintonic-formaui-components-tree.mjs +430 -0
  100. package/fesm2022/raintonic-formaui-components-tree.mjs.map +1 -0
  101. package/fesm2022/raintonic-formaui-core.mjs +62 -0
  102. package/fesm2022/raintonic-formaui-core.mjs.map +1 -0
  103. package/fesm2022/raintonic-formaui-services-dialog.mjs +798 -0
  104. package/fesm2022/raintonic-formaui-services-dialog.mjs.map +1 -0
  105. package/fesm2022/raintonic-formaui-services-notification.mjs +391 -0
  106. package/fesm2022/raintonic-formaui-services-notification.mjs.map +1 -0
  107. package/fesm2022/raintonic-formaui-services-theme.mjs +248 -0
  108. package/fesm2022/raintonic-formaui-services-theme.mjs.map +1 -0
  109. package/fesm2022/raintonic-formaui-test-utils.mjs +66 -0
  110. package/fesm2022/raintonic-formaui-test-utils.mjs.map +1 -0
  111. package/fesm2022/raintonic-formaui.mjs +15 -0
  112. package/fesm2022/raintonic-formaui.mjs.map +1 -0
  113. package/llms-full.txt +1627 -0
  114. package/llms.txt +60 -0
  115. package/package.json +251 -0
  116. package/styles/_fonts-entry.scss +3 -0
  117. package/styles/fonts/dm-mono-400-latin.woff2 +0 -0
  118. package/styles/fonts/inter-tight-latin-italic.woff2 +0 -0
  119. package/styles/fonts/inter-tight-latin.woff2 +0 -0
  120. package/styles/index.scss +127 -0
  121. package/styles/partials/_constants.scss +29 -0
  122. package/styles/partials/_fonts.scss +36 -0
  123. package/styles/partials/_grid.scss +171 -0
  124. package/styles/partials/_mixins.scss +145 -0
  125. package/styles/partials/_motion.scss +252 -0
  126. package/styles/partials/_theme.scss +275 -0
  127. package/styles/partials/_typography.scss +112 -0
  128. package/styles/partials/_utilities.scss +480 -0
  129. package/styles/partials/themes/_dark.scss +254 -0
  130. package/styles/partials/themes/_light.scss +254 -0
  131. package/types/raintonic-formaui-cdk-drag-drop.d.ts +196 -0
  132. package/types/raintonic-formaui-cdk-drag-drop.d.ts.map +1 -0
  133. package/types/raintonic-formaui-cdk-form-field.d.ts +62 -0
  134. package/types/raintonic-formaui-cdk-form-field.d.ts.map +1 -0
  135. package/types/raintonic-formaui-cdk-overlay.d.ts +843 -0
  136. package/types/raintonic-formaui-cdk-overlay.d.ts.map +1 -0
  137. package/types/raintonic-formaui-cdk-virtual-scroll.d.ts +112 -0
  138. package/types/raintonic-formaui-cdk-virtual-scroll.d.ts.map +1 -0
  139. package/types/raintonic-formaui-components-accordion.d.ts +124 -0
  140. package/types/raintonic-formaui-components-accordion.d.ts.map +1 -0
  141. package/types/raintonic-formaui-components-alert.d.ts +143 -0
  142. package/types/raintonic-formaui-components-alert.d.ts.map +1 -0
  143. package/types/raintonic-formaui-components-autocomplete.d.ts +193 -0
  144. package/types/raintonic-formaui-components-autocomplete.d.ts.map +1 -0
  145. package/types/raintonic-formaui-components-avatar.d.ts +52 -0
  146. package/types/raintonic-formaui-components-avatar.d.ts.map +1 -0
  147. package/types/raintonic-formaui-components-badge.d.ts +47 -0
  148. package/types/raintonic-formaui-components-badge.d.ts.map +1 -0
  149. package/types/raintonic-formaui-components-big-menu.d.ts +62 -0
  150. package/types/raintonic-formaui-components-big-menu.d.ts.map +1 -0
  151. package/types/raintonic-formaui-components-breadcrumb.d.ts +26 -0
  152. package/types/raintonic-formaui-components-breadcrumb.d.ts.map +1 -0
  153. package/types/raintonic-formaui-components-button-group.d.ts +61 -0
  154. package/types/raintonic-formaui-components-button-group.d.ts.map +1 -0
  155. package/types/raintonic-formaui-components-button.d.ts +116 -0
  156. package/types/raintonic-formaui-components-button.d.ts.map +1 -0
  157. package/types/raintonic-formaui-components-card.d.ts +191 -0
  158. package/types/raintonic-formaui-components-card.d.ts.map +1 -0
  159. package/types/raintonic-formaui-components-checkbox.d.ts +132 -0
  160. package/types/raintonic-formaui-components-checkbox.d.ts.map +1 -0
  161. package/types/raintonic-formaui-components-data-table.d.ts +368 -0
  162. package/types/raintonic-formaui-components-data-table.d.ts.map +1 -0
  163. package/types/raintonic-formaui-components-date-picker.d.ts +341 -0
  164. package/types/raintonic-formaui-components-date-picker.d.ts.map +1 -0
  165. package/types/raintonic-formaui-components-divider.d.ts +21 -0
  166. package/types/raintonic-formaui-components-divider.d.ts.map +1 -0
  167. package/types/raintonic-formaui-components-drawer.d.ts +48 -0
  168. package/types/raintonic-formaui-components-drawer.d.ts.map +1 -0
  169. package/types/raintonic-formaui-components-dynamic-form.d.ts +412 -0
  170. package/types/raintonic-formaui-components-dynamic-form.d.ts.map +1 -0
  171. package/types/raintonic-formaui-components-empty-state.d.ts +14 -0
  172. package/types/raintonic-formaui-components-empty-state.d.ts.map +1 -0
  173. package/types/raintonic-formaui-components-file-upload.d.ts +77 -0
  174. package/types/raintonic-formaui-components-file-upload.d.ts.map +1 -0
  175. package/types/raintonic-formaui-components-form-field.d.ts +271 -0
  176. package/types/raintonic-formaui-components-form-field.d.ts.map +1 -0
  177. package/types/raintonic-formaui-components-icon.d.ts +61 -0
  178. package/types/raintonic-formaui-components-icon.d.ts.map +1 -0
  179. package/types/raintonic-formaui-components-input.d.ts +149 -0
  180. package/types/raintonic-formaui-components-input.d.ts.map +1 -0
  181. package/types/raintonic-formaui-components-list.d.ts +48 -0
  182. package/types/raintonic-formaui-components-list.d.ts.map +1 -0
  183. package/types/raintonic-formaui-components-menu.d.ts +403 -0
  184. package/types/raintonic-formaui-components-menu.d.ts.map +1 -0
  185. package/types/raintonic-formaui-components-number-input.d.ts +127 -0
  186. package/types/raintonic-formaui-components-number-input.d.ts.map +1 -0
  187. package/types/raintonic-formaui-components-paginator.d.ts +37 -0
  188. package/types/raintonic-formaui-components-paginator.d.ts.map +1 -0
  189. package/types/raintonic-formaui-components-password-input.d.ts +111 -0
  190. package/types/raintonic-formaui-components-password-input.d.ts.map +1 -0
  191. package/types/raintonic-formaui-components-popover.d.ts +131 -0
  192. package/types/raintonic-formaui-components-popover.d.ts.map +1 -0
  193. package/types/raintonic-formaui-components-progressbar.d.ts +111 -0
  194. package/types/raintonic-formaui-components-progressbar.d.ts.map +1 -0
  195. package/types/raintonic-formaui-components-radio.d.ts +95 -0
  196. package/types/raintonic-formaui-components-radio.d.ts.map +1 -0
  197. package/types/raintonic-formaui-components-select.d.ts +307 -0
  198. package/types/raintonic-formaui-components-select.d.ts.map +1 -0
  199. package/types/raintonic-formaui-components-side-panel.d.ts +51 -0
  200. package/types/raintonic-formaui-components-side-panel.d.ts.map +1 -0
  201. package/types/raintonic-formaui-components-sidebar.d.ts +174 -0
  202. package/types/raintonic-formaui-components-sidebar.d.ts.map +1 -0
  203. package/types/raintonic-formaui-components-skeleton.d.ts +20 -0
  204. package/types/raintonic-formaui-components-skeleton.d.ts.map +1 -0
  205. package/types/raintonic-formaui-components-slider.d.ts +108 -0
  206. package/types/raintonic-formaui-components-slider.d.ts.map +1 -0
  207. package/types/raintonic-formaui-components-spinner.d.ts +42 -0
  208. package/types/raintonic-formaui-components-spinner.d.ts.map +1 -0
  209. package/types/raintonic-formaui-components-stepper.d.ts +126 -0
  210. package/types/raintonic-formaui-components-stepper.d.ts.map +1 -0
  211. package/types/raintonic-formaui-components-tab.d.ts +96 -0
  212. package/types/raintonic-formaui-components-tab.d.ts.map +1 -0
  213. package/types/raintonic-formaui-components-tag.d.ts +34 -0
  214. package/types/raintonic-formaui-components-tag.d.ts.map +1 -0
  215. package/types/raintonic-formaui-components-time-picker.d.ts +172 -0
  216. package/types/raintonic-formaui-components-time-picker.d.ts.map +1 -0
  217. package/types/raintonic-formaui-components-toggle.d.ts +70 -0
  218. package/types/raintonic-formaui-components-toggle.d.ts.map +1 -0
  219. package/types/raintonic-formaui-components-toolbar.d.ts +128 -0
  220. package/types/raintonic-formaui-components-toolbar.d.ts.map +1 -0
  221. package/types/raintonic-formaui-components-tooltip.d.ts +268 -0
  222. package/types/raintonic-formaui-components-tooltip.d.ts.map +1 -0
  223. package/types/raintonic-formaui-components-tree-select.d.ts +80 -0
  224. package/types/raintonic-formaui-components-tree-select.d.ts.map +1 -0
  225. package/types/raintonic-formaui-components-tree-table.d.ts +90 -0
  226. package/types/raintonic-formaui-components-tree-table.d.ts.map +1 -0
  227. package/types/raintonic-formaui-components-tree.d.ts +104 -0
  228. package/types/raintonic-formaui-components-tree.d.ts.map +1 -0
  229. package/types/raintonic-formaui-core.d.ts +115 -0
  230. package/types/raintonic-formaui-core.d.ts.map +1 -0
  231. package/types/raintonic-formaui-services-dialog.d.ts +451 -0
  232. package/types/raintonic-formaui-services-dialog.d.ts.map +1 -0
  233. package/types/raintonic-formaui-services-notification.d.ts +221 -0
  234. package/types/raintonic-formaui-services-notification.d.ts.map +1 -0
  235. package/types/raintonic-formaui-services-theme.d.ts +126 -0
  236. package/types/raintonic-formaui-services-theme.d.ts.map +1 -0
  237. package/types/raintonic-formaui-test-utils.d.ts +24 -0
  238. package/types/raintonic-formaui-test-utils.d.ts.map +1 -0
  239. package/types/raintonic-formaui.d.ts +4 -0
  240. package/types/raintonic-formaui.d.ts.map +1 -0
@@ -0,0 +1,480 @@
1
+ // Utility classes
2
+ @use './constants' as *;
3
+ @use './mixins' as *;
4
+
5
+ // Display utilities
6
+ .fui-hidden {
7
+ display: none !important;
8
+ }
9
+ .fui-inline {
10
+ display: inline !important;
11
+ }
12
+ .fui-inline-block {
13
+ display: inline-block !important;
14
+ }
15
+ .fui-block {
16
+ display: block !important;
17
+ }
18
+ .fui-grid {
19
+ display: grid !important;
20
+ }
21
+ .fui-table {
22
+ display: table !important;
23
+ }
24
+ .fui-table-row {
25
+ display: table-row !important;
26
+ }
27
+ .fui-table-cell {
28
+ display: table-cell !important;
29
+ }
30
+ .fui-flex {
31
+ display: flex !important;
32
+ }
33
+ .fui-inline-flex {
34
+ display: inline-flex !important;
35
+ }
36
+
37
+ // Responsive display utilities
38
+ @each $breakpoint in (sm, md, lg, xl, xxl) {
39
+ @include fui-breakpoint($breakpoint) {
40
+ .fui-#{$breakpoint}-hidden {
41
+ display: none !important;
42
+ }
43
+ .fui-#{$breakpoint}-inline {
44
+ display: inline !important;
45
+ }
46
+ .fui-#{$breakpoint}-inline-block {
47
+ display: inline-block !important;
48
+ }
49
+ .fui-#{$breakpoint}-block {
50
+ display: block !important;
51
+ }
52
+ .fui-#{$breakpoint}-grid {
53
+ display: grid !important;
54
+ }
55
+ .fui-#{$breakpoint}-table {
56
+ display: table !important;
57
+ }
58
+ .fui-#{$breakpoint}-table-row {
59
+ display: table-row !important;
60
+ }
61
+ .fui-#{$breakpoint}-table-cell {
62
+ display: table-cell !important;
63
+ }
64
+ .fui-#{$breakpoint}-flex {
65
+ display: flex !important;
66
+ }
67
+ .fui-#{$breakpoint}-inline-flex {
68
+ display: inline-flex !important;
69
+ }
70
+ }
71
+ }
72
+
73
+ // Flex utilities
74
+ .fui-flex-row {
75
+ flex-direction: row !important;
76
+ }
77
+ .fui-flex-col {
78
+ flex-direction: column !important;
79
+ }
80
+ .fui-flex-row-reverse {
81
+ flex-direction: row-reverse !important;
82
+ }
83
+ .fui-flex-col-reverse {
84
+ flex-direction: column-reverse !important;
85
+ }
86
+
87
+ .fui-flex-wrap {
88
+ flex-wrap: wrap !important;
89
+ }
90
+ .fui-flex-nowrap {
91
+ flex-wrap: nowrap !important;
92
+ }
93
+ .fui-flex-wrap-reverse {
94
+ flex-wrap: wrap-reverse !important;
95
+ }
96
+
97
+ .fui-flex-1 {
98
+ flex: 1 1 auto !important;
99
+ }
100
+ .fui-grow-0 {
101
+ flex-grow: 0 !important;
102
+ }
103
+ .fui-grow {
104
+ flex-grow: 1 !important;
105
+ }
106
+ .fui-shrink-0 {
107
+ flex-shrink: 0 !important;
108
+ }
109
+ .fui-shrink {
110
+ flex-shrink: 1 !important;
111
+ }
112
+
113
+ .fui-justify-start {
114
+ justify-content: flex-start !important;
115
+ }
116
+ .fui-justify-end {
117
+ justify-content: flex-end !important;
118
+ }
119
+ .fui-justify-center {
120
+ justify-content: center !important;
121
+ }
122
+ .fui-justify-between {
123
+ justify-content: space-between !important;
124
+ }
125
+ .fui-justify-around {
126
+ justify-content: space-around !important;
127
+ }
128
+ .fui-justify-evenly {
129
+ justify-content: space-evenly !important;
130
+ }
131
+
132
+ .fui-items-start {
133
+ align-items: flex-start !important;
134
+ }
135
+ .fui-items-end {
136
+ align-items: flex-end !important;
137
+ }
138
+ .fui-items-center {
139
+ align-items: center !important;
140
+ }
141
+ .fui-items-baseline {
142
+ align-items: baseline !important;
143
+ }
144
+ .fui-items-stretch {
145
+ align-items: stretch !important;
146
+ }
147
+
148
+ .fui-content-start {
149
+ align-content: flex-start !important;
150
+ }
151
+ .fui-content-end {
152
+ align-content: flex-end !important;
153
+ }
154
+ .fui-content-center {
155
+ align-content: center !important;
156
+ }
157
+ .fui-content-between {
158
+ align-content: space-between !important;
159
+ }
160
+ .fui-content-around {
161
+ align-content: space-around !important;
162
+ }
163
+ .fui-content-stretch {
164
+ align-content: stretch !important;
165
+ }
166
+
167
+ .fui-self-auto {
168
+ align-self: auto !important;
169
+ }
170
+ .fui-self-start {
171
+ align-self: flex-start !important;
172
+ }
173
+ .fui-self-end {
174
+ align-self: flex-end !important;
175
+ }
176
+ .fui-self-center {
177
+ align-self: center !important;
178
+ }
179
+ .fui-self-baseline {
180
+ align-self: baseline !important;
181
+ }
182
+ .fui-self-stretch {
183
+ align-self: stretch !important;
184
+ }
185
+
186
+ // Spacing utilities
187
+ $spacers: (
188
+ 0: 0,
189
+ 1: $fui-spacing-01,
190
+ 2: $fui-spacing-02,
191
+ 3: $fui-spacing-03,
192
+ 4: $fui-spacing-04,
193
+ 5: $fui-spacing-05,
194
+ 6: $fui-spacing-06,
195
+ 7: $fui-spacing-07,
196
+ 8: $fui-spacing-08,
197
+ 9: $fui-spacing-09,
198
+ 10: $fui-spacing-10,
199
+ 11: $fui-spacing-11,
200
+ 12: $fui-spacing-12,
201
+ auto: auto,
202
+ );
203
+
204
+ @each $prop, $abbrev in (margin: m, padding: p, gap: gap) {
205
+ @each $size, $length in $spacers {
206
+ .fui-#{$abbrev}-#{$size} {
207
+ #{$prop}: $length !important;
208
+ }
209
+ .fui-#{$abbrev}t-#{$size},
210
+ .fui-#{$abbrev}y-#{$size} {
211
+ #{$prop}-top: $length !important;
212
+ }
213
+ .fui-#{$abbrev}r-#{$size},
214
+ .fui-#{$abbrev}x-#{$size} {
215
+ #{$prop}-right: $length !important;
216
+ }
217
+ .fui-#{$abbrev}b-#{$size},
218
+ .fui-#{$abbrev}y-#{$size} {
219
+ #{$prop}-bottom: $length !important;
220
+ }
221
+ .fui-#{$abbrev}l-#{$size},
222
+ .fui-#{$abbrev}x-#{$size} {
223
+ #{$prop}-left: $length !important;
224
+ }
225
+ }
226
+ }
227
+
228
+ // Responsive spacing utilities
229
+ @each $breakpoint in (sm, md, lg, xl, xxl) {
230
+ @include fui-breakpoint($breakpoint) {
231
+ @each $prop, $abbrev in (margin: m, padding: p) {
232
+ @each $size, $length in $spacers {
233
+ .fui-#{$abbrev}-#{$breakpoint}-#{$size} {
234
+ #{$prop}: $length !important;
235
+ }
236
+ .fui-#{$abbrev}t-#{$breakpoint}-#{$size},
237
+ .fui-#{$abbrev}y-#{$breakpoint}-#{$size} {
238
+ #{$prop}-top: $length !important;
239
+ }
240
+ .fui-#{$abbrev}r-#{$breakpoint}-#{$size},
241
+ .fui-#{$abbrev}x-#{$breakpoint}-#{$size} {
242
+ #{$prop}-right: $length !important;
243
+ }
244
+ .fui-#{$abbrev}b-#{$breakpoint}-#{$size},
245
+ .fui-#{$abbrev}y-#{$breakpoint}-#{$size} {
246
+ #{$prop}-bottom: $length !important;
247
+ }
248
+ .fui-#{$abbrev}l-#{$breakpoint}-#{$size},
249
+ .fui-#{$abbrev}x-#{$breakpoint}-#{$size} {
250
+ #{$prop}-left: $length !important;
251
+ }
252
+ }
253
+ }
254
+ }
255
+ }
256
+
257
+ // Text alignment
258
+ .fui-text-left {
259
+ text-align: left !important;
260
+ }
261
+ .fui-text-right {
262
+ text-align: right !important;
263
+ }
264
+ .fui-text-center {
265
+ text-align: center !important;
266
+ }
267
+ .fui-text-justify {
268
+ text-align: justify !important;
269
+ }
270
+
271
+ @each $breakpoint in (sm, md, lg, xl, xxl) {
272
+ @include fui-breakpoint($breakpoint) {
273
+ .fui-text-#{$breakpoint}-left {
274
+ text-align: left !important;
275
+ }
276
+ .fui-text-#{$breakpoint}-right {
277
+ text-align: right !important;
278
+ }
279
+ .fui-text-#{$breakpoint}-center {
280
+ text-align: center !important;
281
+ }
282
+ .fui-text-#{$breakpoint}-justify {
283
+ text-align: justify !important;
284
+ }
285
+ }
286
+ }
287
+ // Text colors
288
+ .fui-text-color-primary {
289
+ color: var(--fui-primary) !important;
290
+ }
291
+ .fui-text-secondary {
292
+ color: var(--fui-text-secondary) !important;
293
+ }
294
+ // Text transform
295
+ .fui-lowercase {
296
+ text-transform: lowercase !important;
297
+ }
298
+ .fui-uppercase {
299
+ text-transform: uppercase !important;
300
+ }
301
+ .fui-capitalize {
302
+ text-transform: capitalize !important;
303
+ }
304
+
305
+ // Text decoration
306
+ .fui-no-underline {
307
+ text-decoration: none !important;
308
+ }
309
+ .fui-underline {
310
+ text-decoration: underline !important;
311
+ }
312
+ .fui-line-through {
313
+ text-decoration: line-through !important;
314
+ }
315
+
316
+ // Position utilities
317
+ .fui-static {
318
+ position: static !important;
319
+ }
320
+ .fui-relative {
321
+ position: relative !important;
322
+ }
323
+ .fui-absolute {
324
+ position: absolute !important;
325
+ }
326
+ .fui-fixed {
327
+ position: fixed !important;
328
+ }
329
+ .fui-sticky {
330
+ position: sticky !important;
331
+ }
332
+
333
+ // Border utilities
334
+ .fui-border {
335
+ border: 1px solid var(--fui-border-color) !important;
336
+ }
337
+ .fui-border-0 {
338
+ border: 0 !important;
339
+ }
340
+ .fui-border-t {
341
+ border-top: 1px solid var(--fui-border-color) !important;
342
+ }
343
+ .fui-border-t-0 {
344
+ border-top: 0 !important;
345
+ }
346
+ .fui-border-r {
347
+ border-right: 1px solid var(--fui-border-color) !important;
348
+ }
349
+ .fui-border-r-0 {
350
+ border-right: 0 !important;
351
+ }
352
+ .fui-border-b {
353
+ border-bottom: 1px solid var(--fui-border-color) !important;
354
+ }
355
+ .fui-border-b-0 {
356
+ border-bottom: 0 !important;
357
+ }
358
+ .fui-border-l {
359
+ border-left: 1px solid var(--fui-border-color) !important;
360
+ }
361
+ .fui-border-l-0 {
362
+ border-left: 0 !important;
363
+ }
364
+
365
+ // Border radius
366
+ .fui-rounded {
367
+ border-radius: var(--fui-border-radius-md) !important;
368
+ }
369
+ .fui-rounded-none {
370
+ border-radius: 0 !important;
371
+ }
372
+ .fui-rounded-sm {
373
+ border-radius: var(--fui-border-radius-sm) !important;
374
+ }
375
+ .fui-rounded-md {
376
+ border-radius: var(--fui-border-radius-md) !important;
377
+ }
378
+ .fui-rounded-lg {
379
+ border-radius: var(--fui-border-radius-lg) !important;
380
+ }
381
+ .fui-rounded-full {
382
+ border-radius: 50% !important;
383
+ }
384
+ .fui-rounded-pill {
385
+ border-radius: 50rem !important;
386
+ }
387
+
388
+ // Visibility
389
+ .fui-visible {
390
+ visibility: visible !important;
391
+ }
392
+ .fui-invisible {
393
+ visibility: hidden !important;
394
+ }
395
+
396
+ // Overflow
397
+ .fui-overflow-auto {
398
+ overflow: auto !important;
399
+ }
400
+ .fui-overflow-hidden {
401
+ overflow: hidden !important;
402
+ }
403
+ .fui-overflow-visible {
404
+ overflow: visible !important;
405
+ }
406
+ .fui-overflow-scroll {
407
+ overflow: scroll !important;
408
+ }
409
+
410
+ // Width and height
411
+ .fui-w-1\/4 {
412
+ width: 25% !important;
413
+ }
414
+ .fui-w-1\/2 {
415
+ width: 50% !important;
416
+ }
417
+ .fui-w-3\/4 {
418
+ width: 75% !important;
419
+ }
420
+ .fui-w-4\/5 {
421
+ width: 80% !important;
422
+ }
423
+ .fui-w-full {
424
+ width: 100% !important;
425
+ }
426
+ .fui-w-auto {
427
+ width: auto !important;
428
+ }
429
+
430
+ .fui-h-1\/4 {
431
+ height: 25% !important;
432
+ }
433
+ .fui-h-1\/2 {
434
+ height: 50% !important;
435
+ }
436
+ .fui-h-3\/4 {
437
+ height: 75% !important;
438
+ }
439
+ .fui-h-full {
440
+ height: 100% !important;
441
+ }
442
+ .fui-h-auto {
443
+ height: auto !important;
444
+ }
445
+
446
+ // Max width and height
447
+ .fui-max-w-full {
448
+ max-width: 100% !important;
449
+ }
450
+ .fui-max-h-full {
451
+ max-height: 100% !important;
452
+ }
453
+
454
+ // Min width and height
455
+ .fui-min-w-screen {
456
+ min-width: 100vw !important;
457
+ }
458
+ .fui-min-h-screen {
459
+ min-height: 100vh !important;
460
+ }
461
+
462
+ // Viewport width and height
463
+ .fui-w-screen {
464
+ width: 100vw !important;
465
+ }
466
+ .fui-h-screen {
467
+ height: 100vh !important;
468
+ }
469
+
470
+ .fui-flex-2 {
471
+ flex: 2;
472
+ }
473
+
474
+ // Density utility classes
475
+ .fui-density-comfortable {
476
+ --fui-density-scale: 1;
477
+ }
478
+ .fui-density-compact {
479
+ --fui-density-scale: 0.75;
480
+ }
@@ -0,0 +1,254 @@
1
+ // Dark theme color tokens
2
+ @use '../constants' as *;
3
+
4
+ @mixin fui-dark-theme {
5
+ // Primary violet colors (Figma: Violet palette — dark)
6
+ --fui-primary-10: #0e0b13;
7
+ --fui-primary-20: #17131f;
8
+ --fui-primary-30: #251e32;
9
+ --fui-primary-40: #352752;
10
+ --fui-primary-50: #875ddf;
11
+ --fui-primary-60: #a07fe5;
12
+ --fui-primary-70: #beafde;
13
+ --fui-primary-80: #d3c8e8;
14
+ --fui-primary-90: #e5e0ef;
15
+ --fui-primary-100: #f0eef6;
16
+ --fui-primary-110: #f9f8fb;
17
+ --fui-primary: var(--fui-primary-50);
18
+ --fui-primary-rgb: 135, 93, 223;
19
+ --fui-primary-text-color: white;
20
+ --fui-primary-text: white;
21
+
22
+ // Secondary slate colors (Figma: Slate palette — dark)
23
+ --fui-secondary-10: #121113;
24
+ --fui-secondary-20: #1a191b;
25
+ --fui-secondary-30: #232225;
26
+ --fui-secondary-40: #2b292d;
27
+ --fui-secondary-50: #323035;
28
+ --fui-secondary-60: #3c393f;
29
+ --fui-secondary-70: #49474e;
30
+ --fui-secondary-80: #625f69;
31
+ --fui-secondary-90: #6f6d78;
32
+ --fui-secondary-100: #7c7a85;
33
+ --fui-secondary-110: #b5b2bc;
34
+ --fui-secondary-120: #eeeef0;
35
+ --fui-secondary: var(--fui-secondary-60);
36
+
37
+ // Danger color palette (Figma: Red-Danger — dark)
38
+ --fui-danger-10: #191111;
39
+ --fui-danger-20: #201314;
40
+ --fui-danger-30: #3b1219;
41
+ --fui-danger-40: #500f1c;
42
+ --fui-danger-50: #611623;
43
+ --fui-danger-60: #72232d;
44
+ --fui-danger-70: #8c333a;
45
+ --fui-danger-80: #b54548;
46
+ --fui-danger-90: #e5484d;
47
+ --fui-danger-100: #ff9592;
48
+ --fui-danger-110: #ffd1d9;
49
+ --fui-danger: var(--fui-danger-60);
50
+
51
+ // Success color palette (Figma: Green-success — dark)
52
+ --fui-success-10: #0d1512;
53
+ --fui-success-20: #121c18;
54
+ --fui-success-30: #0f2e22;
55
+ --fui-success-40: #0b3b2c;
56
+ --fui-success-50: #114837;
57
+ --fui-success-60: #1b5745;
58
+ --fui-success-70: #246854;
59
+ --fui-success-80: #2a7e68;
60
+ --fui-success-90: #29a383;
61
+ --fui-success-100: #1fd8a4;
62
+ --fui-success-110: #adf0d4;
63
+ --fui-success: var(--fui-success-60);
64
+
65
+ // Warning color palette (Figma: Yellow-warning — dark)
66
+ --fui-warning-10: #16120c;
67
+ --fui-warning-20: #1c1812;
68
+ --fui-warning-30: #302008;
69
+ --fui-warning-40: #3e2700;
70
+ --fui-warning-50: #4c3000;
71
+ --fui-warning-60: #5b3d06;
72
+ --fui-warning-70: #704f1a;
73
+ --fui-warning-80: #8f6424;
74
+ --fui-warning-90: #ffc53d;
75
+ --fui-warning-100: #ffd60a;
76
+ --fui-warning-110: #ffe7b3;
77
+ --fui-warning: var(--fui-warning-60);
78
+
79
+ // Info color palette (Figma: Blue-info — dark)
80
+ --fui-info-10: #0d1520;
81
+ --fui-info-20: #111927;
82
+ --fui-info-30: #0d2847;
83
+ --fui-info-40: #003362;
84
+ --fui-info-50: #004074;
85
+ --fui-info-60: #104d87;
86
+ --fui-info-70: #205d9e;
87
+ --fui-info-80: #2870bd;
88
+ --fui-info-90: #0090ff;
89
+ --fui-info-100: #70b8ff;
90
+ --fui-info-110: #c2e6ff;
91
+ --fui-info: var(--fui-info-60);
92
+
93
+ // Pink color palette (NEW — Figma: Pink — dark)
94
+ --fui-pink-10: #191117;
95
+ --fui-pink-20: #21121d;
96
+ --fui-pink-30: #37172f;
97
+ --fui-pink-40: #4b143d;
98
+ --fui-pink-50: #591c47;
99
+ --fui-pink-60: #692955;
100
+ --fui-pink-70: #833869;
101
+ --fui-pink-80: #a84885;
102
+ --fui-pink-90: #d6409f;
103
+ --fui-pink-100: #ff8dcc;
104
+ --fui-pink-110: #fdd1ea;
105
+
106
+ // Orange color palette (NEW — Figma: Orange — dark)
107
+ --fui-orange-10: #17120e;
108
+ --fui-orange-20: #1c1712;
109
+ --fui-orange-30: #331e0b;
110
+ --fui-orange-40: #462000;
111
+ --fui-orange-50: #562800;
112
+ --fui-orange-60: #66350e;
113
+ --fui-orange-70: #7e451e;
114
+ --fui-orange-80: #a35829;
115
+ --fui-orange-90: #f76b15;
116
+ --fui-orange-100: #ffa057;
117
+ --fui-orange-110: #ffe0c2;
118
+
119
+ // Tomato color palette (NEW — Figma: Tomato — dark)
120
+ --fui-tomato-10: #181111;
121
+ --fui-tomato-20: #1f1513;
122
+ --fui-tomato-30: #391714;
123
+ --fui-tomato-40: #4e1511;
124
+ --fui-tomato-50: #5e1c16;
125
+ --fui-tomato-60: #6e2920;
126
+ --fui-tomato-70: #853a2d;
127
+ --fui-tomato-80: #ac4d39;
128
+ --fui-tomato-90: #e54d2e;
129
+ --fui-tomato-100: #ec6142;
130
+ --fui-tomato-110: #ff977d;
131
+ --fui-tomato-120: #fbd3cb;
132
+
133
+ // Base colors (inverted for dark theme)
134
+ --fui-white: #000000;
135
+ --fui-black: #ffffff;
136
+
137
+ // Black opacity variants (inverted: white with alpha for dark theme)
138
+ --fui-black-5: rgba(255, 255, 255, 0.05);
139
+ --fui-black-10: rgba(255, 255, 255, 0.1);
140
+ --fui-black-15: rgba(255, 255, 255, 0.15);
141
+ --fui-black-20: rgba(255, 255, 255, 0.2);
142
+ --fui-black-30: rgba(255, 255, 255, 0.3);
143
+ --fui-black-40: rgba(255, 255, 255, 0.4);
144
+ --fui-black-50: rgba(255, 255, 255, 0.5);
145
+ --fui-black-60: rgba(255, 255, 255, 0.6);
146
+ --fui-black-70: rgba(255, 255, 255, 0.7);
147
+ --fui-black-80: rgba(255, 255, 255, 0.8);
148
+ --fui-black-90: rgba(255, 255, 255, 0.9);
149
+
150
+ // White opacity variants (inverted: black with alpha for dark theme)
151
+ --fui-white-5: rgba(0, 0, 0, 0.05);
152
+ --fui-white-10: rgba(0, 0, 0, 0.1);
153
+ --fui-white-15: rgba(0, 0, 0, 0.15);
154
+ --fui-white-20: rgba(0, 0, 0, 0.2);
155
+ --fui-white-30: rgba(0, 0, 0, 0.3);
156
+ --fui-white-40: rgba(0, 0, 0, 0.4);
157
+ --fui-white-50: rgba(0, 0, 0, 0.5);
158
+ --fui-white-60: rgba(0, 0, 0, 0.6);
159
+ --fui-white-70: rgba(0, 0, 0, 0.7);
160
+ --fui-white-80: rgba(0, 0, 0, 0.8);
161
+ --fui-white-90: rgba(0, 0, 0, 0.9);
162
+
163
+ // Text disabled
164
+ --fui-text-disabled: var(--fui-secondary-100);
165
+
166
+ // Border color
167
+ --fui-border-color: var(--fui-secondary-50);
168
+
169
+ // Surface tokens (Figma: forma-surface)
170
+ --fui-surface-bg: var(--fui-secondary-20);
171
+ --fui-surface-card: var(--fui-white);
172
+ --fui-surface-01: var(--fui-secondary-10);
173
+ --fui-surface-02: var(--fui-secondary-20);
174
+ --fui-surface-03: var(--fui-secondary-30);
175
+ --fui-surface-04: var(--fui-secondary-40);
176
+
177
+ // Backward-compatible surface aliases
178
+ --fui-surface-00: var(--fui-surface-card);
179
+ --fui-bg: var(--fui-surface-bg);
180
+ --fui-surface-05: var(--fui-secondary-50);
181
+
182
+ // Text colors
183
+ --fui-text-primary: var(--fui-secondary-120);
184
+ --fui-text-secondary: var(--fui-secondary-110);
185
+
186
+ // Primary component states (Figma: forma-primary semantic)
187
+ --fui-primary-default: var(--fui-primary-50);
188
+ --fui-primary-disable: var(--fui-primary-40);
189
+ --fui-primary-bg: var(--fui-primary-20);
190
+ --fui-primary-hover: var(--fui-primary-60);
191
+ --fui-primary-highlights: var(--fui-primary-30);
192
+
193
+ // Secondary component states (Figma: forma-secondary semantic)
194
+ --fui-secondary-default: var(--fui-secondary-60);
195
+ --fui-secondary-hover: var(--fui-secondary-90);
196
+ --fui-secondary-disable: var(--fui-secondary-30);
197
+ --fui-secondary-bg: var(--fui-secondary-20);
198
+ --fui-secondary-highlights: var(--fui-secondary-20);
199
+
200
+ // State colors - Error
201
+ --fui-state-error: var(--fui-danger-90);
202
+ --fui-state-error-bg: var(--fui-danger-30);
203
+ --fui-state-error-hover: var(--fui-danger-110);
204
+
205
+ // State colors - Success
206
+ --fui-state-success: var(--fui-success-110);
207
+ --fui-state-success-bg: var(--fui-success-30);
208
+ --fui-state-success-hover: var(--fui-success-110);
209
+
210
+ // State colors - Warning
211
+ --fui-state-warning: var(--fui-warning-110);
212
+ --fui-state-warning-bg: var(--fui-warning-30);
213
+ --fui-state-warning-hover: var(--fui-warning-110);
214
+
215
+ // State colors - Info
216
+ --fui-state-info: var(--fui-info-110);
217
+ --fui-state-info-bg: var(--fui-info-30);
218
+ --fui-state-info-hover: var(--fui-info-110);
219
+
220
+ // Border - strong variant (for hover emphasis)
221
+ --fui-border-color-strong: var(--fui-secondary-70);
222
+
223
+ // Border - active variant (for focus/active states)
224
+ --fui-border-color-active: var(--fui-primary-default);
225
+
226
+ // Form field semantic colors
227
+ --fui-field-background: var(--fui-surface-00);
228
+ --fui-field-background-hover: var(--fui-surface-01);
229
+ --fui-field-background-disabled: var(--fui-surface-02);
230
+ --fui-field-border-focus: var(--fui-primary-50);
231
+ --fui-field-border-error: var(--fui-state-error);
232
+
233
+ // Icon semantic colors
234
+ --fui-icon-primary: var(--fui-text-primary);
235
+ --fui-icon-secondary: var(--fui-text-secondary);
236
+ --fui-icon-tertiary: var(--fui-secondary-80);
237
+ --fui-icon-on-color-disabled: var(--fui-text-disabled);
238
+
239
+ // Background semantic aliases
240
+ --fui-background-primary: var(--fui-surface-00);
241
+ --fui-background-hover: var(--fui-surface-02);
242
+
243
+ // Text semantic aliases
244
+ --fui-text-primary-disabled: var(--fui-text-disabled);
245
+
246
+ // Error shorthand
247
+ --fui-error: var(--fui-state-error);
248
+
249
+ // Card component tokens
250
+ --fui-card-padding: var(--fui-spacing-06);
251
+ --fui-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.4);
252
+ --fui-card-shadow-hover: 0 3px 6px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.3);
253
+ --fui-card-border-radius: var(--fui-border-radius-md);
254
+ }