@helpwave/hightide 0.1.11 → 0.1.13

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 (277) hide show
  1. package/dist/components/date/DatePicker.js +37 -7
  2. package/dist/components/date/DatePicker.js.map +1 -1
  3. package/dist/components/date/DatePicker.mjs +37 -7
  4. package/dist/components/date/DatePicker.mjs.map +1 -1
  5. package/dist/components/date/DayPicker.js.map +1 -1
  6. package/dist/components/date/DayPicker.mjs.map +1 -1
  7. package/dist/components/date/TimePicker.js +27 -6
  8. package/dist/components/date/TimePicker.js.map +1 -1
  9. package/dist/components/date/TimePicker.mjs +27 -6
  10. package/dist/components/date/TimePicker.mjs.map +1 -1
  11. package/dist/components/date/YearMonthPicker.js +36 -6
  12. package/dist/components/date/YearMonthPicker.js.map +1 -1
  13. package/dist/components/date/YearMonthPicker.mjs +36 -6
  14. package/dist/components/date/YearMonthPicker.mjs.map +1 -1
  15. package/dist/components/dialogs/ConfirmDialog.js +16 -2
  16. package/dist/components/dialogs/ConfirmDialog.js.map +1 -1
  17. package/dist/components/dialogs/ConfirmDialog.mjs +16 -2
  18. package/dist/components/dialogs/ConfirmDialog.mjs.map +1 -1
  19. package/dist/components/layout-and-navigation/Carousel.js +42 -9
  20. package/dist/components/layout-and-navigation/Carousel.js.map +1 -1
  21. package/dist/components/layout-and-navigation/Carousel.mjs +42 -9
  22. package/dist/components/layout-and-navigation/Carousel.mjs.map +1 -1
  23. package/dist/components/layout-and-navigation/Expandable.js +1 -1
  24. package/dist/components/layout-and-navigation/Expandable.js.map +1 -1
  25. package/dist/components/layout-and-navigation/Expandable.mjs +1 -1
  26. package/dist/components/layout-and-navigation/Expandable.mjs.map +1 -1
  27. package/dist/components/layout-and-navigation/FAQSection.js +1 -1
  28. package/dist/components/layout-and-navigation/FAQSection.js.map +1 -1
  29. package/dist/components/layout-and-navigation/FAQSection.mjs +1 -1
  30. package/dist/components/layout-and-navigation/FAQSection.mjs.map +1 -1
  31. package/dist/components/layout-and-navigation/Overlay.js +16 -2
  32. package/dist/components/layout-and-navigation/Overlay.js.map +1 -1
  33. package/dist/components/layout-and-navigation/Overlay.mjs +16 -2
  34. package/dist/components/layout-and-navigation/Overlay.mjs.map +1 -1
  35. package/dist/components/layout-and-navigation/Pagination.d.mts +6 -3
  36. package/dist/components/layout-and-navigation/Pagination.d.ts +6 -3
  37. package/dist/components/layout-and-navigation/Pagination.js +404 -19
  38. package/dist/components/layout-and-navigation/Pagination.js.map +1 -1
  39. package/dist/components/layout-and-navigation/Pagination.mjs +404 -19
  40. package/dist/components/layout-and-navigation/Pagination.mjs.map +1 -1
  41. package/dist/components/layout-and-navigation/SearchableList.js +187 -67
  42. package/dist/components/layout-and-navigation/SearchableList.js.map +1 -1
  43. package/dist/components/layout-and-navigation/SearchableList.mjs +183 -63
  44. package/dist/components/layout-and-navigation/SearchableList.mjs.map +1 -1
  45. package/dist/components/layout-and-navigation/StepperBar.js +37 -5
  46. package/dist/components/layout-and-navigation/StepperBar.js.map +1 -1
  47. package/dist/components/layout-and-navigation/StepperBar.mjs +37 -5
  48. package/dist/components/layout-and-navigation/StepperBar.mjs.map +1 -1
  49. package/dist/components/layout-and-navigation/TextImage.js +2 -0
  50. package/dist/components/layout-and-navigation/TextImage.js.map +1 -1
  51. package/dist/components/layout-and-navigation/TextImage.mjs +2 -0
  52. package/dist/components/layout-and-navigation/TextImage.mjs.map +1 -1
  53. package/dist/components/loading-states/LoadingAndErrorComponent.js +2 -0
  54. package/dist/components/loading-states/LoadingAndErrorComponent.js.map +1 -1
  55. package/dist/components/loading-states/LoadingAndErrorComponent.mjs +2 -0
  56. package/dist/components/loading-states/LoadingAndErrorComponent.mjs.map +1 -1
  57. package/dist/components/loading-states/LoadingAnimation.js +2 -0
  58. package/dist/components/loading-states/LoadingAnimation.js.map +1 -1
  59. package/dist/components/loading-states/LoadingAnimation.mjs +2 -0
  60. package/dist/components/loading-states/LoadingAnimation.mjs.map +1 -1
  61. package/dist/components/loading-states/LoadingButton.js +9 -0
  62. package/dist/components/loading-states/LoadingButton.js.map +1 -1
  63. package/dist/components/loading-states/LoadingButton.mjs +9 -0
  64. package/dist/components/loading-states/LoadingButton.mjs.map +1 -1
  65. package/dist/components/modals/ConfirmModal.js +16 -2
  66. package/dist/components/modals/ConfirmModal.js.map +1 -1
  67. package/dist/components/modals/ConfirmModal.mjs +16 -2
  68. package/dist/components/modals/ConfirmModal.mjs.map +1 -1
  69. package/dist/components/modals/DiscardChangesModal.js +16 -2
  70. package/dist/components/modals/DiscardChangesModal.js.map +1 -1
  71. package/dist/components/modals/DiscardChangesModal.mjs +16 -2
  72. package/dist/components/modals/DiscardChangesModal.mjs.map +1 -1
  73. package/dist/components/modals/InputModal.d.mts +1 -0
  74. package/dist/components/modals/InputModal.d.ts +1 -0
  75. package/dist/components/modals/InputModal.js +196 -76
  76. package/dist/components/modals/InputModal.js.map +1 -1
  77. package/dist/components/modals/InputModal.mjs +189 -69
  78. package/dist/components/modals/InputModal.mjs.map +1 -1
  79. package/dist/components/modals/LanguageModal.js +203 -83
  80. package/dist/components/modals/LanguageModal.js.map +1 -1
  81. package/dist/components/modals/LanguageModal.mjs +192 -72
  82. package/dist/components/modals/LanguageModal.mjs.map +1 -1
  83. package/dist/components/modals/ThemeModal.js +206 -86
  84. package/dist/components/modals/ThemeModal.js.map +1 -1
  85. package/dist/components/modals/ThemeModal.mjs +193 -73
  86. package/dist/components/modals/ThemeModal.mjs.map +1 -1
  87. package/dist/components/properties/CheckboxProperty.js +17 -5
  88. package/dist/components/properties/CheckboxProperty.js.map +1 -1
  89. package/dist/components/properties/CheckboxProperty.mjs +17 -5
  90. package/dist/components/properties/CheckboxProperty.mjs.map +1 -1
  91. package/dist/components/properties/DateProperty.js +182 -65
  92. package/dist/components/properties/DateProperty.js.map +1 -1
  93. package/dist/components/properties/DateProperty.mjs +179 -62
  94. package/dist/components/properties/DateProperty.mjs.map +1 -1
  95. package/dist/components/properties/MultiSelectProperty.js +194 -74
  96. package/dist/components/properties/MultiSelectProperty.js.map +1 -1
  97. package/dist/components/properties/MultiSelectProperty.mjs +187 -67
  98. package/dist/components/properties/MultiSelectProperty.mjs.map +1 -1
  99. package/dist/components/properties/NumberProperty.js +182 -65
  100. package/dist/components/properties/NumberProperty.js.map +1 -1
  101. package/dist/components/properties/NumberProperty.mjs +179 -62
  102. package/dist/components/properties/NumberProperty.mjs.map +1 -1
  103. package/dist/components/properties/PropertyBase.js +12 -1
  104. package/dist/components/properties/PropertyBase.js.map +1 -1
  105. package/dist/components/properties/PropertyBase.mjs +12 -1
  106. package/dist/components/properties/PropertyBase.mjs.map +1 -1
  107. package/dist/components/properties/SelectProperty.js +194 -74
  108. package/dist/components/properties/SelectProperty.js.map +1 -1
  109. package/dist/components/properties/SelectProperty.mjs +187 -67
  110. package/dist/components/properties/SelectProperty.mjs.map +1 -1
  111. package/dist/components/properties/TextProperty.js +43 -34
  112. package/dist/components/properties/TextProperty.js.map +1 -1
  113. package/dist/components/properties/TextProperty.mjs +43 -34
  114. package/dist/components/properties/TextProperty.mjs.map +1 -1
  115. package/dist/components/table/FillerRowElement.d.mts +8 -0
  116. package/dist/components/table/FillerRowElement.d.ts +8 -0
  117. package/dist/components/table/FillerRowElement.js +36 -0
  118. package/dist/components/table/FillerRowElement.js.map +1 -0
  119. package/dist/components/table/FillerRowElement.mjs +12 -0
  120. package/dist/components/table/FillerRowElement.mjs.map +1 -0
  121. package/dist/components/table/Filter.d.mts +5 -0
  122. package/dist/components/table/Filter.d.ts +5 -0
  123. package/dist/components/table/Filter.js +41 -0
  124. package/dist/components/table/Filter.js.map +1 -0
  125. package/dist/components/table/Filter.mjs +17 -0
  126. package/dist/components/table/Filter.mjs.map +1 -0
  127. package/dist/components/table/Table.d.mts +41 -0
  128. package/dist/components/table/Table.d.ts +41 -0
  129. package/dist/components/table/Table.js +1549 -0
  130. package/dist/components/table/Table.js.map +1 -0
  131. package/dist/components/table/Table.mjs +1520 -0
  132. package/dist/components/table/Table.mjs.map +1 -0
  133. package/dist/components/table/TableCell.d.mts +9 -0
  134. package/dist/components/table/TableCell.d.ts +9 -0
  135. package/dist/components/table/TableCell.js +37 -0
  136. package/dist/components/table/TableCell.js.map +1 -0
  137. package/dist/components/table/TableCell.mjs +13 -0
  138. package/dist/components/table/TableCell.mjs.map +1 -0
  139. package/dist/components/table/TableFilterButton.d.mts +11 -0
  140. package/dist/components/table/TableFilterButton.d.ts +11 -0
  141. package/dist/components/table/TableFilterButton.js +888 -0
  142. package/dist/components/table/TableFilterButton.js.map +1 -0
  143. package/dist/components/table/TableFilterButton.mjs +852 -0
  144. package/dist/components/table/TableFilterButton.mjs.map +1 -0
  145. package/dist/components/table/TableSortButton.d.mts +15 -0
  146. package/dist/components/table/TableSortButton.d.ts +15 -0
  147. package/dist/components/table/TableSortButton.js +136 -0
  148. package/dist/components/table/TableSortButton.js.map +1 -0
  149. package/dist/components/table/TableSortButton.mjs +102 -0
  150. package/dist/components/table/TableSortButton.mjs.map +1 -0
  151. package/dist/components/user-action/Button.d.mts +20 -5
  152. package/dist/components/user-action/Button.d.ts +20 -5
  153. package/dist/components/user-action/Button.js +12 -3
  154. package/dist/components/user-action/Button.js.map +1 -1
  155. package/dist/components/user-action/Button.mjs +11 -3
  156. package/dist/components/user-action/Button.mjs.map +1 -1
  157. package/dist/components/user-action/Checkbox.js +5 -4
  158. package/dist/components/user-action/Checkbox.js.map +1 -1
  159. package/dist/components/user-action/Checkbox.mjs +5 -4
  160. package/dist/components/user-action/Checkbox.mjs.map +1 -1
  161. package/dist/components/user-action/DateAndTimePicker.js +41 -9
  162. package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
  163. package/dist/components/user-action/DateAndTimePicker.mjs +41 -9
  164. package/dist/components/user-action/DateAndTimePicker.mjs.map +1 -1
  165. package/dist/components/user-action/Input.d.mts +27 -7
  166. package/dist/components/user-action/Input.d.ts +27 -7
  167. package/dist/components/user-action/Input.js +173 -64
  168. package/dist/components/user-action/Input.js.map +1 -1
  169. package/dist/components/user-action/Input.mjs +172 -63
  170. package/dist/components/user-action/Input.mjs.map +1 -1
  171. package/dist/components/user-action/MultiSelect.js +195 -75
  172. package/dist/components/user-action/MultiSelect.js.map +1 -1
  173. package/dist/components/user-action/MultiSelect.mjs +187 -67
  174. package/dist/components/user-action/MultiSelect.mjs.map +1 -1
  175. package/dist/components/user-action/ScrollPicker.js +26 -5
  176. package/dist/components/user-action/ScrollPicker.js.map +1 -1
  177. package/dist/components/user-action/ScrollPicker.mjs +26 -5
  178. package/dist/components/user-action/ScrollPicker.mjs.map +1 -1
  179. package/dist/components/user-action/Select.js +195 -75
  180. package/dist/components/user-action/Select.js.map +1 -1
  181. package/dist/components/user-action/Select.mjs +187 -67
  182. package/dist/components/user-action/Select.mjs.map +1 -1
  183. package/dist/components/user-action/Textarea.d.mts +3 -1
  184. package/dist/components/user-action/Textarea.d.ts +3 -1
  185. package/dist/components/user-action/Textarea.js +31 -33
  186. package/dist/components/user-action/Textarea.js.map +1 -1
  187. package/dist/components/user-action/Textarea.mjs +31 -33
  188. package/dist/components/user-action/Textarea.mjs.map +1 -1
  189. package/dist/components/user-action/ToggleableInput.d.mts +3 -1
  190. package/dist/components/user-action/ToggleableInput.d.ts +3 -1
  191. package/dist/components/user-action/ToggleableInput.js +31 -33
  192. package/dist/components/user-action/ToggleableInput.js.map +1 -1
  193. package/dist/components/user-action/ToggleableInput.mjs +31 -33
  194. package/dist/components/user-action/ToggleableInput.mjs.map +1 -1
  195. package/dist/css/globals.css +431 -186
  196. package/dist/css/uncompiled/globals.css +36 -493
  197. package/dist/css/uncompiled/textstyles.css +69 -0
  198. package/dist/css/uncompiled/theme/colors-basic.css +72 -0
  199. package/dist/css/uncompiled/theme/colors-component.css +143 -0
  200. package/dist/css/uncompiled/theme/colors-semantic.css +99 -0
  201. package/dist/css/uncompiled/theme/index.css +5 -0
  202. package/dist/css/uncompiled/theme/theme.css +0 -0
  203. package/dist/css/uncompiled/theme/variants.css +3 -0
  204. package/dist/css/uncompiled/utitlity/animation.css +111 -0
  205. package/dist/css/uncompiled/utitlity/borderradius.css +23 -0
  206. package/dist/css/uncompiled/utitlity/general.css +11 -0
  207. package/dist/css/uncompiled/utitlity/index.css +4 -0
  208. package/dist/css/uncompiled/utitlity/shadow.css +29 -0
  209. package/dist/hooks/useDelay.d.mts +11 -0
  210. package/dist/hooks/useDelay.d.ts +11 -0
  211. package/dist/hooks/useDelay.js +64 -0
  212. package/dist/hooks/useDelay.js.map +1 -0
  213. package/dist/hooks/useDelay.mjs +40 -0
  214. package/dist/hooks/useDelay.mjs.map +1 -0
  215. package/dist/hooks/useFocusManagement.d.mts +9 -0
  216. package/dist/hooks/useFocusManagement.d.ts +9 -0
  217. package/dist/hooks/useFocusManagement.js +84 -0
  218. package/dist/hooks/useFocusManagement.js.map +1 -0
  219. package/dist/hooks/useFocusManagement.mjs +60 -0
  220. package/dist/hooks/useFocusManagement.mjs.map +1 -0
  221. package/dist/hooks/useFocusOnceVisible.d.mts +5 -0
  222. package/dist/hooks/useFocusOnceVisible.d.ts +5 -0
  223. package/dist/hooks/useFocusOnceVisible.js +60 -0
  224. package/dist/hooks/useFocusOnceVisible.js.map +1 -0
  225. package/dist/hooks/useFocusOnceVisible.mjs +26 -0
  226. package/dist/hooks/useFocusOnceVisible.mjs.map +1 -0
  227. package/dist/hooks/useRerender.d.mts +5 -0
  228. package/dist/hooks/useRerender.d.ts +5 -0
  229. package/dist/hooks/useRerender.js +33 -0
  230. package/dist/hooks/useRerender.js.map +1 -0
  231. package/dist/hooks/useRerender.mjs +9 -0
  232. package/dist/hooks/useRerender.mjs.map +1 -0
  233. package/dist/hooks/useResizeCallbackWrapper.d.mts +11 -0
  234. package/dist/hooks/useResizeCallbackWrapper.d.ts +11 -0
  235. package/dist/hooks/useResizeCallbackWrapper.js +38 -0
  236. package/dist/hooks/useResizeCallbackWrapper.js.map +1 -0
  237. package/dist/hooks/useResizeCallbackWrapper.mjs +14 -0
  238. package/dist/hooks/useResizeCallbackWrapper.mjs.map +1 -0
  239. package/dist/index.d.mts +16 -5
  240. package/dist/index.d.ts +16 -5
  241. package/dist/index.js +1428 -860
  242. package/dist/index.js.map +1 -1
  243. package/dist/index.mjs +1370 -799
  244. package/dist/index.mjs.map +1 -1
  245. package/dist/localization/defaults/form.d.mts +1 -0
  246. package/dist/localization/defaults/form.d.ts +1 -0
  247. package/dist/localization/defaults/form.js +2 -0
  248. package/dist/localization/defaults/form.js.map +1 -1
  249. package/dist/localization/defaults/form.mjs +2 -0
  250. package/dist/localization/defaults/form.mjs.map +1 -1
  251. package/dist/util/array.d.mts +11 -5
  252. package/dist/util/array.d.ts +11 -5
  253. package/dist/util/array.js +25 -4
  254. package/dist/util/array.js.map +1 -1
  255. package/dist/util/array.mjs +25 -4
  256. package/dist/util/array.mjs.map +1 -1
  257. package/dist/util/date.js.map +1 -1
  258. package/dist/util/date.mjs.map +1 -1
  259. package/dist/util/resolveSetState.d.mts +5 -0
  260. package/dist/util/resolveSetState.d.ts +5 -0
  261. package/dist/util/resolveSetState.js +32 -0
  262. package/dist/util/resolveSetState.js.map +1 -0
  263. package/dist/util/resolveSetState.mjs +8 -0
  264. package/dist/util/resolveSetState.mjs.map +1 -0
  265. package/package.json +4 -2
  266. package/dist/components/layout-and-navigation/Table.d.mts +0 -99
  267. package/dist/components/layout-and-navigation/Table.d.ts +0 -99
  268. package/dist/components/layout-and-navigation/Table.js +0 -688
  269. package/dist/components/layout-and-navigation/Table.js.map +0 -1
  270. package/dist/components/layout-and-navigation/Table.mjs +0 -645
  271. package/dist/components/layout-and-navigation/Table.mjs.map +0 -1
  272. package/dist/hooks/useSaveDelay.d.mts +0 -6
  273. package/dist/hooks/useSaveDelay.d.ts +0 -6
  274. package/dist/hooks/useSaveDelay.js +0 -67
  275. package/dist/hooks/useSaveDelay.js.map +0 -1
  276. package/dist/hooks/useSaveDelay.mjs +0 -43
  277. package/dist/hooks/useSaveDelay.mjs.map +0 -1
@@ -1,374 +1,16 @@
1
1
  @import 'tailwindcss';
2
2
 
3
- /* variants */
4
- @custom-variant dark (&:where([data-theme=dark], [data-theme=dark] *));
5
- @custom-variant light (&:where([data-theme=light], [data-theme=light] *));
6
-
7
3
  /* utilities */
8
- @utility col {
9
- @apply flex flex-col gap-y-2;
10
- }
11
-
12
- @utility row {
13
- @apply flex flex-row gap-x-2;
14
- }
15
-
16
- @layer utilities {
17
- .animation-delay-0 {
18
- animation-delay: 0ms;
19
- }
20
-
21
- .animation-delay-100 {
22
- animation-delay: 100ms;
23
- }
24
-
25
- .animation-delay-200 {
26
- animation-delay: 200ms;
27
- }
28
-
29
- .animation-delay-300 {
30
- animation-delay: 300ms;
31
- }
32
-
33
- .animation-delay-400 {
34
- animation-delay: 400ms;
35
- }
36
-
37
- .animation-delay-500 {
38
- animation-delay: 500ms;
39
- }
40
-
41
- .animation-delay-1000 {
42
- animation-delay: 1000ms;
43
- }
44
-
45
- @keyframes fade-in {
46
- 0% {
47
- opacity: 0;
48
- }
49
- 100% {
50
- opacity: 1;
51
- }
52
- }
53
-
54
- @keyframes fade-out {
55
- 0% {
56
- opacity: 1;
57
- }
58
- 100% {
59
- opacity: 0;
60
- }
61
- }
62
-
63
- @keyframes bigLeftUp {
64
- 0%, 25% {
65
- stroke-dashoffset: 1000;
66
- }
67
- 50%, 75%, 100% {
68
- stroke-dashoffset: 0;
69
- }
70
- }
71
-
72
- @keyframes bigRightDown {
73
- 0%, 25%, 50% {
74
- stroke-dashoffset: 0;
75
- }
76
- 75%, 100% {
77
- stroke-dashoffset: -1000;
78
- }
79
- }
80
-
81
- @keyframes smallLeftUp {
82
- 0%, 25%, 50% {
83
- stroke-dashoffset: 1000;
84
- }
85
- 75%, 100% {
86
- stroke-dashoffset: 0;
87
- }
88
- }
89
-
90
- @keyframes smallRightDown {
91
- 0%, 25% {
92
- stroke-dashoffset: 0;
93
- }
94
- 50%, 75%, 100% {
95
- stroke-dashoffset: -1000;
96
- }
97
- }
98
-
99
- .animate-fade {
100
- animation: fade-out 3s ease-in-out;
101
- }
102
-
103
- .animate-wave-big-left-up {
104
- animation: bigLeftUp 1.7s ease-in infinite normal;
105
- }
106
-
107
- .animate-wave-big-right-down {
108
- animation: bigRightDown 1.7s ease-in infinite reverse;
109
- }
110
-
111
- .animate-wave-small-left-up {
112
- animation: smallLeftUp 1.7s ease-in infinite normal;
113
- }
114
-
115
- .animate-wave-small-right-down {
116
- animation: smallRightDown 1.7s ease-in infinite reverse;
117
- }
118
-
119
- .animate-tooltip-fade-in {
120
- animation: fade-in 0.2s ease-in-out forwards;
121
- }
122
-
123
- .animate-tooltip-fade-out {
124
- animation: fade-in 0.2s ease-in-out forwards;
125
- }
126
-
127
- .shadow-around {
128
- box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.02),
129
- 0 -2px 2px 0 rgba(0, 0, 0, 0.02),
130
- 2px 0 2px 0 rgba(0, 0, 0, 0.02),
131
- -2px 0 2px 0 rgba(0, 0, 0, 0.02);
132
- }
4
+ @import './utitlity/index.css';
133
5
 
134
- .shadow-around-md {
135
- box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.02),
136
- 0 -5px 5px 0 rgba(0, 0, 0, 0.02),
137
- 5px 0 5px 0 rgba(0, 0, 0, 0.02),
138
- -5px 0 5px 0 rgba(0, 0, 0, 0.02);
139
- }
6
+ /* theme */
7
+ @import './theme/index.css';
140
8
 
141
- .shadow-around-lg {
142
- box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.02),
143
- 0 -10px 10px 0 rgba(0, 0, 0, 0.02),
144
- 10px 0 10px 0 rgba(0, 0, 0, 0.02),
145
- -10px 0 10px 0 rgba(0, 0, 0, 0.02);
146
- }
147
-
148
- .shadow-around-xl {
149
- box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.02),
150
- 0 -20px 20px 0 rgba(0, 0, 0, 0.02),
151
- 20px 0 20px 0 rgba(0, 0, 0, 0.02),
152
- -20px 0 20px 0 rgba(0, 0, 0, 0.02);
153
- }
154
- }
9
+ /* components */
10
+ @import './textstyles.css';
155
11
 
156
12
  /* The theme variables */
157
13
  @theme {
158
- /*
159
- * Default light theme colors and initial definitions
160
- */
161
-
162
-
163
- /*
164
- * Basic Colors
165
- */
166
- --color-white: #FFFFFF;
167
- --color-black: #000000;
168
- --color-gray-25: #F8F8F8;
169
- --color-gray-50: #F2F2F2;
170
- --color-gray-100: #E6E6E6;
171
- --color-gray-200: #CCCCCC;
172
- --color-gray-300: #B3B3B3;
173
- --color-gray-400: #999999;
174
- --color-gray-500: #888888;
175
- --color-gray-600: #666666;
176
- --color-gray-700: #4D4D4D;
177
- --color-gray-800: #333333;
178
- --color-gray-900: #1A1A1A;
179
- --color-gray-950: #0D0D0D;
180
-
181
- --color-green-100: #D1EFD8;
182
- --color-green-500: #69CB81;
183
- --color-green-700: #53a567;
184
- --color-green-900: #2C5536;
185
-
186
- --color-orange-100: #FBECD9;
187
- --color-orange-200: #F7D8B3;
188
- --color-orange-500: #EA9E40;
189
-
190
- --color-purple-50: #EFE6FD;
191
- --color-purple-100: #CEB0FA;
192
- --color-purple-400: #8470c5;
193
- --color-purple-500: #694BB4;
194
-
195
- --color-blue-50: #F6FAFF;
196
- --color-blue-100: #D6E3F9;
197
- --color-blue-200: #99B9EF;
198
- --color-blue-500: #3272DF;
199
- --color-blue-600: #285BB2;
200
- --color-blue-800: #1A4080;
201
-
202
- --color-red-50: #FFF9F9;
203
- --color-red-100: #FBE0E2;
204
- --color-red-200: #F7C2C5;
205
- --color-red-300: #F4A3A7;
206
- --color-red-400: #E3798A;
207
- --color-red-500: #DC576D;
208
- --color-red-900: #5C252E;
209
-
210
-
211
- /*
212
- * Semantic Colors
213
- */
214
- --color-text-dark: #1A1A1A;
215
- --color-text-light: #E6E6E6;
216
- --color-text-default: var(--color-text-dark);
217
-
218
- --color-primary: var(--color-purple-500);
219
- --color-on-primary: var(--color-text-light);
220
- --color-secondary: #11243E;
221
- --color-on-secondary: var(--color-text-light);
222
- --color-warning: var(--color-yellow-500);
223
- --color-on-warning: var(--color-text-light);
224
- --color-positive: var(--color-green-500);
225
- --color-on-positive: var(--color-text-light);
226
- --color-negative: var(--color-red-500);
227
- --color-on-negative: var(--color-text-light);
228
- --color-surface: #FFFFFF;
229
- --color-on-surface: var(--color-text-dark);
230
- --color-surface-variant: #F8F8F8;
231
- --color-surface-warning: #FBECD9;
232
- --color-highlight: #3272DF;
233
- --color-background: #EEEEEE;
234
- --color-on-background: var(--color-text-dark);
235
-
236
- --color-female: var(--color-red-400);
237
- --color-female-outline: var(--color-red-300);
238
- --color-female-surface: var(--color-red-100);
239
- --color-female-background: var(--color-red-50);
240
-
241
- --color-male: var(--color-blue-400);
242
- --color-male-outline: var(--color-blue-300);
243
- --color-male-surface: var(--color-blue-100);
244
- --color-male-background: var(--color-blue-50);
245
-
246
- --color-neutral: #4D4D4D;
247
- --color-neutral-outline: #B3B3B3;
248
- --color-neutral-surface: #E6E6E6;
249
- --color-neutral-background: #F8F8F8;
250
-
251
- --color-text-primary: var(--color-text-default);
252
- --color-text-secondary: #666666;
253
- --color-text-tertiary: #B3B3B3;
254
- --color-text-highlight: #3272DF;
255
- --color-text-label: #4D4D4D;
256
- --color-icon-primary: var(--color-text-primary);
257
- --color-icon-secondary: var(--color-text-secondary);
258
- --color-icon-highlight: var(--color-text-highlight);
259
- --color-divider: #E6E6E6;
260
- --color-description: #555555;
261
- --color-outline: #E6E6E6;
262
- --color-outline-variant: #CCCCCC;
263
- --color-disabled-background: #BBBBBB;
264
- --color-disabled-text: #555555;
265
- --color-disabled-icon: #555555;
266
- --color-disabled-outline: #555555;
267
- --color-border: #CCCCCC;
268
-
269
-
270
- /*
271
- * Component Colors
272
- */
273
-
274
- /* Button Outline */
275
- --color-button-outline-primary-outline: var(--color-primary);
276
- --color-button-outline-primary-icon: var(--color-primary);
277
- --color-button-outline-primary-text: var(--color-primary);
278
-
279
- /* Button Solid */
280
- --color-button-solid-primary-background: var(--color-primary);
281
- --color-button-solid-primary-text: var(--color-on-primary);
282
- --color-button-solid-primary-icon: var(--color-on-primary);
283
- --color-button-solid-secondary-background: var(--color-purple-50);
284
- --color-button-solid-secondary-text: var(--color-primary);
285
- --color-button-solid-secondary-icon: var(--color-primary);
286
- --color-button-solid-tertiary-background: #F2F2F2;
287
- --color-button-solid-tertiary-icon: #888888;
288
- --color-button-solid-tertiary-text: #888888;
289
- --color-button-solid-neutral-background: #D6D6D6;
290
- --color-button-solid-neutral-icon: #1A1A1A;
291
- --color-button-solid-neutral-text: #1A1A1A;
292
- --color-button-solid-positive-background: var(--color-positive);
293
- --color-button-solid-positive-icon: var(--color-on-positive);
294
- --color-button-solid-positive-text: var(--color-on-positive);
295
- --color-button-solid-warning-background: var(--color-warning);
296
- --color-button-solid-warning-icon: var(--color-on-warning);
297
- --color-button-solid-warning-text: var(--color-on-warning);
298
- --color-button-solid-negative-background: var(--color-negative);
299
- --color-button-solid-negative-icon: var(--color-on-negative);
300
- --color-button-solid-negative-text: var(--color-on-negative);
301
-
302
- /* Button Text */
303
- --color-button-text-hover-background: #77777733;
304
- --color-button-text-neutral-text: #333333;
305
- --color-button-text-neutral-icon: #333333;
306
- --color-button-text-negative-text: var(--color-negative);
307
- --color-button-text-negative-icon: var(--color-negative);
308
- --color-button-text-primary-text: var(--color-primary);
309
- --color-button-text-primary-icon: var(--color-primary);
310
-
311
- /* Carousel */
312
- --color-carousel-dot-active: var(--color-primary);
313
- --color-carousel-dot-disabled: var(--color-disabled-background);
314
-
315
- /* Menu */
316
- --color-menu-background: var(--color-surface);
317
- --color-menu-text: var(--color-on-surface);
318
- --color-menu-border: var(--color-border);
319
-
320
- /* Overlay */
321
- --color-overlay-background: #FFFFFF;
322
- --color-overlay-text: var(--color-text-dark);
323
-
324
- /* ProgressIndicator */
325
- --color-progress-indicator-fill: var(--color-primary);
326
- --color-progress-indicator-background: var(--color-gray-300);
327
-
328
- /* Property */
329
- --color-property-title-background: #E6E6E6;
330
- --color-property-title-text: var(--color-text-default);
331
-
332
- /* Stepper Bar */
333
- --color-stepperbar-dot-active: var(--color-primary);
334
- --color-stepperbar-dot-normal: var(--color-purple-100);
335
- --color-stepperbar-dot-disabled: var(--color-disabled-background);
336
-
337
- /* Table */
338
- --color-tabel-header-background: #F6FAFF;
339
-
340
- /* Tag */
341
- --color-tag-dark-background: #333333;
342
- --color-tag-dark-text: var(--color-text-light);
343
- --color-tag-dark-icon: var(--color-text-light);
344
- --color-tag-green-background: #E2E9DB;
345
- --color-tag-green-text: #7A977E;
346
- --color-tag-green-icon: #7A977E;
347
- --color-tag-yellow-background: #FEEACB;
348
- --color-tag-yellow-text: #C79345;
349
- --color-tag-yellow-icon: #C79345;
350
- --color-tag-red-background: #FEE0DD;
351
- --color-tag-red-text: #D67268;
352
- --color-tag-red-icon: #D67268;
353
- --color-tag-blue-background: var(--color-blue-50);
354
- --color-tag-blue-text: var(--color-blue-800);
355
- --color-tag-blue-icon: var(--color-blue-800);
356
- --color-tag-pink-background: #CEA3B8;
357
- --color-tag-pink-text: #CE75A0;
358
- --color-tag-pink-icon: #CE75A0;
359
-
360
- /* TextImage */
361
- --color-text-image-primary-background: var(--color-primary);
362
- --color-text-image-primary-text: var(--color-white);
363
- --color-text-image-secondary-background: #3171DE;
364
- --color-text-image-secondary-text: var(--color-white);
365
- --color-text-image-dark-background: #11243E;
366
- --color-text-image-dark-text: var(--color-white);
367
-
368
- /* Tooltip */
369
- --color-tooltip-background: var(--color-overlay-background);
370
- --color-tooltip-text: var(--color-description);
371
-
372
14
  /*
373
15
  * breakpoints
374
16
  */
@@ -382,105 +24,34 @@
382
24
  --font-space: 'Space Grotesk', sans-serif;
383
25
  }
384
26
 
385
- /* Overrides of the base theme */
386
- @layer base {
387
- /* dark theme overrides */
388
- @variant dark {
389
- /*
390
- * Basic Colors
391
- */
392
- --color-primary: var(--color-purple-400);
393
- --color-positive: var(--color-green-700);
394
- --color-negative: var(--color-red-500);
395
-
396
- /*
397
- * Semantic Colors
398
- */
399
- --color-text-default: var(--color-text-light);
400
-
401
- --color-surface: #333333;
402
- --color-on-surface: var(--color-text-light);
403
- --color-surface-variant: #494949;
404
- --color-surface-warning: #FBECD9;
405
- --color-text-label: #CFCFCF;
406
- --color-highlight: #3272DF;
407
- --color-background: #222222;
408
- --color-on-background: var(--color-text-light);
409
- --color-border: #444444;
410
-
411
- --color-neutral: #4D4D4D;
412
- --color-neutral-outline: #B3B3B3;
413
- --color-neutral-surface: #E6E6E6;
414
- --color-neutral-background: #F8F8F8;
415
-
416
- --color-text-primary: var(--color-text-light);
417
- --color-text-secondary: #666666;
418
- --color-text-tertiary: #B3B3B3;
419
- --color-text-highlight: #3272DF;
420
- --color-description: #999999;
421
-
422
- --color-disabled-background: #555555;
423
- --color-disabled-text: #999999;
424
-
425
- /*
426
- * Component Colors
427
- */
428
-
429
- /* Button Solid */
430
- --color-button-solid-neutral-background: #424242;
431
- --color-button-solid-neutral-icon: var(--color-text-light);
432
- --color-button-solid-neutral-text: var(--color-text-light);
433
-
434
- /* Button Text */
435
- --color-button-text-hover-background: #3F3F3F;
436
- --color-button-text-neutral-text: var(--color-text-light);
437
- --color-button-text-neutral-icon: var(--color-text-light);
438
-
439
- /* Menu */
440
- --color-menu-background: #333333;
441
- --color-menu-text: var(--color-text-light);
442
- --color-menu-border: var(--color-border);
443
-
444
- /* Property */
445
- --color-property-title-background: #393939;
446
- --color-property-title-text: var(--color-on-surface);
447
-
448
- /* ProgressIndicator */
449
- --color-progress-indicator-background: var(--color-gray-700);
450
-
451
- /* Overlay */
452
- --color-overlay-background: #2A2A2A;
453
- --color-overlay-text: var(--color-text-light);
454
-
455
- /* Table */
456
- --color-tabel-header-background: #F6FAFF;
457
- }
458
- }
459
-
460
27
  /* Styles that can be overwritten by utils */
461
28
  @layer components {
462
29
  .btn-sm {
463
- @apply row items-center justify-center gap-x-1 px-[0.625rem] py-[0.25rem] rounded-[0.375rem] h-8 min-h-8;
30
+ @apply row items-center justify-center gap-x-1 px-1.5 py-1 rounded-1.5 h-8 min-h-8;
464
31
  }
465
32
 
466
33
  .btn-md {
467
- @apply row items-center justify-center gap-x-2 px-[0.75rem] py-[0.5rem] rounded-[0.375rem] h-10 min-h-10;
34
+ @apply row items-center justify-center gap-x-2 px-3 py-2 rounded-1.5 h-10 min-h-10;
468
35
  }
469
36
 
470
37
  .btn-lg {
471
- @apply row items-center justify-center gap-x-2 px-[1rem] py-[0.675rem] rounded-[0.375rem] h-12 min-h-12;
38
+ @apply row items-center justify-center gap-x-2 px-4 py-2.5 rounded-1.5 h-12 min-h-12;
39
+ }
40
+
41
+ .icon-btn-xs {
42
+ @apply row items-center justify-center gap-x-1 p-1 rounded-1 h-6 min-h-6 w-6 min-w-6;
472
43
  }
473
44
 
474
45
  .icon-btn-sm {
475
- @apply row items-center justify-center gap-x-1 p-[0.375rem] rounded-[0.375rem] h-8 min-h-8 w-8 min-w-8;
46
+ @apply row items-center justify-center gap-x-1 p-1.5 rounded-1.5 h-8 min-h-8 w-8 min-w-8;
476
47
  }
477
48
 
478
49
  .icon-btn-md {
479
- @apply row items-center justify-center gap-x-2 p-[0.5rem] rounded-[0.375rem] h-10 min-h-10 w-10 min-w-10;
50
+ @apply row items-center justify-center gap-x-2 p-2 rounded-1.5 h-10 min-h-10 w-10 min-w-10;
480
51
  }
481
52
 
482
53
  .icon-btn-lg {
483
- @apply row items-center justify-center gap-x-2 p-[0.75rem] rounded-[0.375rem] h-12 min-h-12 w-12 min-w-12;
54
+ @apply row items-center justify-center gap-x-2 p-3 rounded-1.5 h-12 min-h-12 w-12 min-w-12;
484
55
  }
485
56
 
486
57
  .card-sm {
@@ -530,74 +101,46 @@
530
101
  }
531
102
 
532
103
  input {
533
- @apply block bg-surface text-on-surface px-2 py-[0.375rem] rounded-md border-2 hover:border-primary focus:outline-none focus:border-primary focus:ring-primary;
534
- }
535
-
536
- .textstyle-title-3xl {
537
- @apply text-5xl font-space font-bold;
538
- }
539
-
540
- .textstyle-title-2xl {
541
- @apply text-4xl font-space font-bold;
542
- }
543
-
544
- .textstyle-title-xl {
545
- @apply text-3xl font-space font-bold;
546
- }
547
-
548
- .textstyle-title-lg {
549
- @apply text-2xl font-space font-bold;
550
- }
551
-
552
- .textstyle-title-md {
553
- @apply text-xl font-space font-bold;
554
- }
555
-
556
- .textstyle-title-normal {
557
- @apply text-lg font-semibold;
558
- }
559
-
560
- .textstyle-title-sm {
561
- @apply font-space font-bold;
104
+ @apply block;
562
105
  }
563
106
 
564
- .textstyle-accent {
565
- @apply text-sm text-text-label font-bold;
107
+ *:disabled {
108
+ @apply cursor-not-allowed;
566
109
  }
567
110
 
568
- .textstyle-description {
569
- @apply text-description;
111
+ *:focus {
112
+ @apply outline-none ring-0;
570
113
  }
571
114
 
572
- .textstyle-label-lg {
573
- @apply text-text-label text-lg font-semibold;
115
+ *:focus-visible {
116
+ @apply ring-2 ring-focus;
574
117
  }
575
118
 
576
- .textstyle-label-md {
577
- @apply text-text-label font-semibold;
119
+ table {
120
+ @apply table-fixed border-separate border-spacing-0;
578
121
  }
579
122
 
580
- .textstyle-label-sm {
581
- @apply text-sm text-text-label font-semibold;
123
+ th {
124
+ @apply px-3 first:pl-6 last:pr-6 py-2.5 border-y-1 first:border-l-1 last:border-r-1 first:rounded-tl-lg last:rounded-tr-lg bg-tabel-header-background text-text-label font-bold;
582
125
  }
583
126
 
584
- .textstyle-table-name {
585
- @apply text-lg font-space font-medium;
127
+ tbody > tr {
128
+ @apply hover:bg-table-row-hover-background hover:text-table-row-hover-text;
586
129
  }
587
130
 
588
- .textstyle-table-header {
589
- @apply text-text-label font-bold;
131
+ td {
132
+ @apply px-3 first:pl-6 last:pr-6 py-2.5 border-b-1 first:border-l-1 last:border-r-1 [nth-last-child(1)]:first:rounded-bl-lg [nth-last-child(1)]:last:rounded-br-lg;
590
133
  }
591
134
 
592
- .textstyle-navigation-item {
593
- @apply font-bold font-space;
135
+ tbody > tr:last-child > td {
136
+ @apply first:rounded-bl-lg last:rounded-br-lg;
594
137
  }
595
138
 
596
- .textstyle-form-error {
597
- @apply text-negative text-sm;
139
+ .table-resize-indicator {
140
+ @apply absolute top-2 bottom-2 right-0;
598
141
  }
599
142
 
600
- .textstyle-form-description {
601
- @apply text-description text-sm;
143
+ th:last-child > .table-resize-indicator {
144
+ @apply right-6;
602
145
  }
603
146
  }
@@ -0,0 +1,69 @@
1
+ @layer components {
2
+ .textstyle-title-3xl {
3
+ @apply text-5xl font-space font-bold;
4
+ }
5
+
6
+ .textstyle-title-2xl {
7
+ @apply text-4xl font-space font-bold;
8
+ }
9
+
10
+ .textstyle-title-xl {
11
+ @apply text-3xl font-space font-bold;
12
+ }
13
+
14
+ .textstyle-title-lg {
15
+ @apply text-2xl font-space font-bold;
16
+ }
17
+
18
+ .textstyle-title-md {
19
+ @apply text-xl font-space font-bold;
20
+ }
21
+
22
+ .textstyle-title-normal {
23
+ @apply text-lg font-semibold;
24
+ }
25
+
26
+ .textstyle-title-sm {
27
+ @apply font-space font-bold;
28
+ }
29
+
30
+ .textstyle-accent {
31
+ @apply text-sm text-text-label font-bold;
32
+ }
33
+
34
+ .textstyle-description {
35
+ @apply text-description;
36
+ }
37
+
38
+ .textstyle-label-lg {
39
+ @apply text-text-label text-lg font-semibold;
40
+ }
41
+
42
+ .textstyle-label-md {
43
+ @apply text-text-label font-semibold;
44
+ }
45
+
46
+ .textstyle-label-sm {
47
+ @apply text-sm text-text-label font-semibold;
48
+ }
49
+
50
+ .textstyle-table-name {
51
+ @apply text-lg font-space font-medium;
52
+ }
53
+
54
+ .textstyle-table-header {
55
+ @apply text-text-label font-bold;
56
+ }
57
+
58
+ .textstyle-navigation-item {
59
+ @apply font-bold font-space;
60
+ }
61
+
62
+ .textstyle-form-error {
63
+ @apply text-negative text-sm;
64
+ }
65
+
66
+ .textstyle-form-description {
67
+ @apply text-description text-sm;
68
+ }
69
+ }