@helpwave/hightide 0.5.4 → 0.6.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.
- package/dist/index.d.mts +1264 -1024
- package/dist/index.d.ts +1264 -1024
- package/dist/index.js +7184 -6197
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6900 -5927
- package/dist/index.mjs.map +1 -1
- package/dist/style/globals.css +2554 -903
- package/dist/style/uncompiled/theme/colors/basic.css +1 -0
- package/dist/style/uncompiled/theme/colors/component.css +5 -8
- package/dist/style/uncompiled/theme/colors/semantic.css +17 -9
- package/dist/style/uncompiled/theme/colors/utilities.css +40 -10
- package/dist/style/uncompiled/theme/components/avatar.css +74 -0
- package/dist/style/uncompiled/theme/components/breadcrumb.css +15 -0
- package/dist/style/uncompiled/theme/components/button.css +65 -0
- package/dist/style/uncompiled/theme/components/card.css +13 -0
- package/dist/style/uncompiled/theme/components/checkbox.css +49 -0
- package/dist/style/uncompiled/theme/components/chip.css +22 -0
- package/dist/style/uncompiled/theme/components/day-picker.css +46 -0
- package/dist/style/uncompiled/theme/components/dialog.css +52 -0
- package/dist/style/uncompiled/theme/components/drawer.css +150 -0
- package/dist/style/uncompiled/theme/components/expandable.css +50 -0
- package/dist/style/uncompiled/theme/components/expansion-icon.css +13 -0
- package/dist/style/uncompiled/theme/components/form-field.css +17 -0
- package/dist/style/uncompiled/theme/components/general.css +28 -0
- package/dist/style/uncompiled/theme/components/index.css +23 -0
- package/dist/style/uncompiled/theme/components/input-elements.css +53 -0
- package/dist/style/uncompiled/theme/components/link.css +5 -0
- package/dist/style/uncompiled/theme/components/property.css +102 -0
- package/dist/style/uncompiled/theme/components/scrollbar.css +55 -0
- package/dist/style/uncompiled/theme/components/table.css +66 -0
- package/dist/style/uncompiled/theme/components/tabswitcher.css +23 -0
- package/dist/style/uncompiled/theme/components/textarea.css +5 -0
- package/dist/style/uncompiled/theme/components/time-picker.css +9 -0
- package/dist/style/uncompiled/theme/components/tooltip.css +56 -0
- package/dist/style/uncompiled/theme/index.css +6 -5
- package/dist/style/uncompiled/theme/variables.css +6 -0
- package/dist/style/uncompiled/utitlity/animation.css +149 -130
- package/dist/style/uncompiled/utitlity/coloring.css +16 -20
- package/dist/style/uncompiled/utitlity/focus.css +27 -0
- package/dist/style/uncompiled/utitlity/index.css +2 -1
- package/dist/style/uncompiled/utitlity/shadow.css +45 -24
- package/package.json +4 -3
- package/dist/style/uncompiled/theme/components.css +0 -290
|
@@ -1,290 +0,0 @@
|
|
|
1
|
-
/* Button */
|
|
2
|
-
@layer components {
|
|
3
|
-
.btn-xs {
|
|
4
|
-
@apply flex-row-1 items-center justify-center px-1 py-0.75 rounded-1 h-6 text-sm;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.btn-sm {
|
|
8
|
-
@apply flex-row-1 items-center justify-center px-1.5 py-1 rounded-1.5 h-8;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.btn-md {
|
|
12
|
-
@apply flex-row-2 items-center justify-center px-3 py-2 rounded-1.5 h-10;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.btn-lg {
|
|
16
|
-
@apply flex-row-2 items-center justify-center px-4 py-2.5 rounded-1.5 h-12;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.icon-btn-xs {
|
|
20
|
-
@apply flex-row-0 items-center justify-center p-1 rounded-1 h-6 w-6;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.icon-btn-sm {
|
|
24
|
-
@apply flex-row-0 items-center justify-center p-1.5 rounded-1.5 h-8 w-8;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.icon-btn-md {
|
|
28
|
-
@apply flex-row-0 items-center justify-center p-2 rounded-1.5 h-10 w-10;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.icon-btn-lg {
|
|
32
|
-
@apply flex-row-0 items-center justify-center p-3 rounded-1.5 h-12 w-12;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/* Card */
|
|
37
|
-
@layer components {
|
|
38
|
-
.card-sm {
|
|
39
|
-
@apply flex-col-2 bg-surface text-on-surface px-2 py-1 rounded;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.card-md {
|
|
43
|
-
@apply flex-col-2 bg-surface text-on-surface px-4 py-2 rounded-md;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.card-lg {
|
|
47
|
-
@apply flex-col-2 bg-surface text-on-surface px-8 py-4 rounded-lg;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/* Chip */
|
|
52
|
-
@layer components {
|
|
53
|
-
.chip-sm {
|
|
54
|
-
@apply flex-row-1 items-center justify-center px-1 py-0.5 rounded-md;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.chip-md {
|
|
58
|
-
@apply flex-row-1 items-center justify-center px-2 py-1 rounded-md;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.chip-lg {
|
|
62
|
-
@apply flex-row-2 items-center justify-center px-4 py-2 rounded-md;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/* Link */
|
|
67
|
-
@layer components {
|
|
68
|
-
.link {
|
|
69
|
-
@apply decoration-3 p-2 hover:underline focus:underline font-bold text-lg rounded;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/* Focus */
|
|
74
|
-
@utility focus-style-outline {
|
|
75
|
-
&:focus-visible {
|
|
76
|
-
@apply outline-solid outline-2 outline-focus outline-offset-2;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
@utility focus-style-border {
|
|
81
|
-
&:focus-visible {
|
|
82
|
-
@apply border-2 border-focus;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@utility focus-style-default {
|
|
87
|
-
&:focus-visible:not(.focus-style-none) {
|
|
88
|
-
@apply focus-style-outline;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@utility focus-style-none {
|
|
93
|
-
&:focus-visible {
|
|
94
|
-
@apply outline-none;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
@utility input-element {
|
|
99
|
-
@apply border-2 border-transparent focus-style-none focus-style-border;
|
|
100
|
-
&:not([data-disabled]):not([data-invalid]) {
|
|
101
|
-
@apply bg-input-background hover:border-primary;
|
|
102
|
-
|
|
103
|
-
&:not([data-value]) {
|
|
104
|
-
@apply text-placeholder;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&[data-value] {
|
|
108
|
-
@apply text-input-text;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&:not([data-disabled])[data-invalid] {
|
|
113
|
-
@apply bg-negative/20;
|
|
114
|
-
|
|
115
|
-
--color-focus: var(--color-negative);
|
|
116
|
-
|
|
117
|
-
&[data-value] {
|
|
118
|
-
@apply text-negative;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&:not([data-value]) {
|
|
122
|
-
@apply text-placeholder;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&[data-disabled] {
|
|
127
|
-
@apply bg-disabled text-on-disabled;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/* input-elements */
|
|
132
|
-
@layer components {
|
|
133
|
-
*[data-name="input"]:not(.default-style-none) {
|
|
134
|
-
@apply px-3 py-2 rounded-md h-10 input-element;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
*[data-name="textarea"]:not(.default-style-none) {
|
|
138
|
-
@apply w-full h-32 py-2 px-3 rounded-md resize-none overflow-y-scroll input-element;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
*[data-name="select-button"]:not(.default-style-none) {
|
|
142
|
-
@apply flex-row-2 items-center justify-between rounded-md px-3 py-2 input-element;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
*[data-name="select-button-chips"]:not(.default-style-none) {
|
|
146
|
-
@apply flex flex-wrap gap-2 items-center rounded-md px-2.5 py-2.5 input-element;
|
|
147
|
-
&:not([data-disabled]){
|
|
148
|
-
@apply hover:cursor-pointer;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
*[data-name="checkbox"]:not(.default-style-none) {
|
|
153
|
-
@apply flex-col-0 items-center justify-center rounded input-element focus-style-outline;
|
|
154
|
-
&:not([data-disabled]){
|
|
155
|
-
@apply hover:cursor-pointer;
|
|
156
|
-
}
|
|
157
|
-
&:not([data-disabled]):not([data-invalid]):not([data-value='false']) {
|
|
158
|
-
@apply bg-primary/40 border-primary text-primary;
|
|
159
|
-
}
|
|
160
|
-
&:not([data-disabled]):not([data-invalid])[data-value='false'] {
|
|
161
|
-
@apply border-border text-border hover:border-primary hover:text-primary bg-transparent;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/* HTML Element defaults */
|
|
167
|
-
@layer components {
|
|
168
|
-
* {
|
|
169
|
-
@apply border-border list-none placeholder-placeholder;
|
|
170
|
-
|
|
171
|
-
@variant dark {
|
|
172
|
-
color-scheme: dark;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
html {
|
|
177
|
-
@apply bg-background text-on-background;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
button {
|
|
181
|
-
@apply cursor-pointer text-nowrap;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
*:disabled {
|
|
185
|
-
@apply cursor-not-allowed;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
@media (prefers-reduced-motion: reduce) {
|
|
189
|
-
* {
|
|
190
|
-
@apply transition-none animate-none;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
/* move the focus styles into its own file and utilities */
|
|
195
|
-
*:focus {
|
|
196
|
-
@apply outline-0 ring-0;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
* {
|
|
200
|
-
@apply focus-style-default;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* Table
|
|
205
|
-
*/
|
|
206
|
-
table {
|
|
207
|
-
@apply table-fixed border-separate border-spacing-0 bg-table-background text-table-text;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
th {
|
|
211
|
-
@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-table-header-background text-label font-bold;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
tbody > tr {
|
|
215
|
-
@apply hover:bg-table-row-hover-background;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
td {
|
|
219
|
-
@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;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
tbody > tr:last-child > td {
|
|
223
|
-
@apply first:rounded-bl-lg last:rounded-br-lg;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.table-resize-indicator {
|
|
227
|
-
@apply absolute top-2 bottom-2 right-0;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
th:last-child > .table-resize-indicator {
|
|
231
|
-
@apply right-6;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* Scrollbar
|
|
236
|
-
*/
|
|
237
|
-
@supports (scrollbar-color: auto) {
|
|
238
|
-
* {
|
|
239
|
-
scrollbar-color: var(--color-gray-500) transparent;
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/* Otherwise, use `::-webkit-scrollbar-*` pseudo-elements */
|
|
244
|
-
@supports selector(::-webkit-scrollbar) {
|
|
245
|
-
* {
|
|
246
|
-
scrollbar-color: initial;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
:root {
|
|
250
|
-
--scrollbar-width: 10px;
|
|
251
|
-
--scrollbar-padding: 1px;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
*::-webkit-scrollbar {
|
|
255
|
-
width: var(--scrollbar-width);
|
|
256
|
-
height: var(--scrollbar-width);
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
*::-webkit-scrollbar-track {
|
|
260
|
-
border-radius: 9999px;
|
|
261
|
-
background: transparent;
|
|
262
|
-
cursor: default;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
*::-webkit-scrollbar-thumb {
|
|
266
|
-
background-color: var(--color-gray-500);
|
|
267
|
-
border-radius: 9999px;
|
|
268
|
-
border: var(--scrollbar-padding) solid transparent;
|
|
269
|
-
background-clip: padding-box;
|
|
270
|
-
cursor: default;
|
|
271
|
-
transition: background-color 0.2s ease;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
*::-webkit-scrollbar-thumb:active {
|
|
275
|
-
background-color: var(--color-gray-600);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
*::-webkit-scrollbar-thumb:vertical {
|
|
279
|
-
min-height: calc(var(--scrollbar-width) * 3);
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
*::-webkit-scrollbar-thumb:horizontal {
|
|
283
|
-
min-width: calc(var(--scrollbar-width) * 3);
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
*::-webkit-scrollbar-corner {
|
|
287
|
-
background: transparent;
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
}
|