@brosco/ui 0.0.83 → 0.0.85
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.css +71 -16
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -25,28 +25,25 @@
|
|
|
25
25
|
--tw-ring-offset-color: #fff;
|
|
26
26
|
--tw-ring-offset-shadow: 0 0 #0000;
|
|
27
27
|
--tw-border-style: solid;
|
|
28
|
+
--tw-duration: initial;
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
|
-
|
|
32
|
-
:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
32
|
+
:root {
|
|
33
|
+
--eclipse: oklch(21% 0.006 285.885);
|
|
34
|
+
--white: #fff;
|
|
35
|
+
--background: var(--white);
|
|
36
|
+
--foreground: var(--eclipse);
|
|
37
|
+
--muted: oklch(55.2% 0.016 285.938);
|
|
38
|
+
--primary: oklch(62.3% 0.214 259.815);
|
|
39
|
+
--secondary: var(--eclipse);
|
|
40
|
+
--success: oklch(62.7% 0.194 149.214);
|
|
41
|
+
--danger: oklch(63.7% 0.237 25.331);
|
|
42
42
|
}
|
|
43
43
|
:root,
|
|
44
44
|
:host {
|
|
45
|
-
--color-
|
|
46
|
-
--color-
|
|
47
|
-
--color-blue-500: oklch(62.3% 0.214 259.815);
|
|
48
|
-
--color-zinc-500: oklch(55.2% 0.016 285.938);
|
|
49
|
-
--color-zinc-900: oklch(21% 0.006 285.885);
|
|
45
|
+
--color-foreground: var(--foreground);
|
|
46
|
+
--color-muted: var(--muted);
|
|
50
47
|
--color-white: #fff;
|
|
51
48
|
--spacing: 0.25rem;
|
|
52
49
|
--text-sm: 0.875rem;
|
|
@@ -253,6 +250,60 @@
|
|
|
253
250
|
.spinner {
|
|
254
251
|
animation: var(--animate-spin);
|
|
255
252
|
}
|
|
253
|
+
[role="tabs"] {
|
|
254
|
+
display: flex;
|
|
255
|
+
}
|
|
256
|
+
[role="tabs"] [role="tablist"] {
|
|
257
|
+
gap: var(--spacing);
|
|
258
|
+
display: flex;
|
|
259
|
+
position: relative;
|
|
260
|
+
}
|
|
261
|
+
[role="tabs"] [role="tab"] {
|
|
262
|
+
z-index: 10;
|
|
263
|
+
height: calc(var(--spacing) * 9);
|
|
264
|
+
cursor: default;
|
|
265
|
+
padding-inline: calc(var(--spacing) * 4);
|
|
266
|
+
font-size: var(--text-sm);
|
|
267
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
268
|
+
--tw-font-weight: var(--font-weight-medium);
|
|
269
|
+
font-weight: var(--font-weight-medium);
|
|
270
|
+
white-space: nowrap;
|
|
271
|
+
color: var(--color-muted);
|
|
272
|
+
-webkit-user-select: none;
|
|
273
|
+
user-select: none;
|
|
274
|
+
justify-content: center;
|
|
275
|
+
align-items: center;
|
|
276
|
+
display: inline-flex;
|
|
277
|
+
position: relative;
|
|
278
|
+
}
|
|
279
|
+
[role="tabs"] [role="tab"]:focus-visible {
|
|
280
|
+
--tw-outline-style: none;
|
|
281
|
+
outline-style: none;
|
|
282
|
+
}
|
|
283
|
+
[role="tabs"] [role="tab"][data-active],
|
|
284
|
+
[role="tabs"] [role="tab"]:hover:not([data-active]) {
|
|
285
|
+
color: var(--color-foreground);
|
|
286
|
+
}
|
|
287
|
+
[role="tabs"] [role="tab"]:not([data-active]) {
|
|
288
|
+
cursor: pointer;
|
|
289
|
+
}
|
|
290
|
+
[role="tabs"] [role="presentation"] {
|
|
291
|
+
background-color: var(--color-foreground);
|
|
292
|
+
transition-property: left, width;
|
|
293
|
+
transition-timing-function: var(
|
|
294
|
+
--tw-ease,
|
|
295
|
+
var(--default-transition-timing-function)
|
|
296
|
+
);
|
|
297
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
298
|
+
--tw-duration: 0.2s;
|
|
299
|
+
bottom: 0;
|
|
300
|
+
left: var(--active-tab-left);
|
|
301
|
+
width: var(--active-tab-width);
|
|
302
|
+
border-radius: 2147483647px;
|
|
303
|
+
height: 3px;
|
|
304
|
+
transition-duration: 0.2s;
|
|
305
|
+
position: absolute;
|
|
306
|
+
}
|
|
256
307
|
:disabled,
|
|
257
308
|
[data-disabled] {
|
|
258
309
|
pointer-events: none;
|
|
@@ -348,6 +399,10 @@
|
|
|
348
399
|
inherits: false;
|
|
349
400
|
initial-value: solid;
|
|
350
401
|
}
|
|
402
|
+
@property --tw-duration {
|
|
403
|
+
syntax: "*";
|
|
404
|
+
inherits: false;
|
|
405
|
+
}
|
|
351
406
|
@keyframes spin {
|
|
352
407
|
to {
|
|
353
408
|
transform: rotate(360deg);
|