@brosco/ui 0.0.84 → 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 +68 -11
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -25,26 +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
|
:root {
|
|
32
|
-
--eclipse:
|
|
33
|
-
--
|
|
33
|
+
--eclipse: oklch(21% 0.006 285.885);
|
|
34
|
+
--white: #fff;
|
|
35
|
+
--background: var(--white);
|
|
34
36
|
--foreground: var(--eclipse);
|
|
35
|
-
--muted:
|
|
36
|
-
--primary:
|
|
37
|
+
--muted: oklch(55.2% 0.016 285.938);
|
|
38
|
+
--primary: oklch(62.3% 0.214 259.815);
|
|
37
39
|
--secondary: var(--eclipse);
|
|
38
|
-
--success:
|
|
39
|
-
--danger:
|
|
40
|
+
--success: oklch(62.7% 0.194 149.214);
|
|
41
|
+
--danger: oklch(63.7% 0.237 25.331);
|
|
40
42
|
}
|
|
41
43
|
:root,
|
|
42
44
|
:host {
|
|
43
|
-
--color-
|
|
44
|
-
--color-
|
|
45
|
-
--color-blue-500: oklch(62.3% 0.214 259.815);
|
|
46
|
-
--color-zinc-500: oklch(55.2% 0.016 285.938);
|
|
47
|
-
--color-zinc-900: oklch(21% 0.006 285.885);
|
|
45
|
+
--color-foreground: var(--foreground);
|
|
46
|
+
--color-muted: var(--muted);
|
|
48
47
|
--color-white: #fff;
|
|
49
48
|
--spacing: 0.25rem;
|
|
50
49
|
--text-sm: 0.875rem;
|
|
@@ -251,6 +250,60 @@
|
|
|
251
250
|
.spinner {
|
|
252
251
|
animation: var(--animate-spin);
|
|
253
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
|
+
}
|
|
254
307
|
:disabled,
|
|
255
308
|
[data-disabled] {
|
|
256
309
|
pointer-events: none;
|
|
@@ -346,6 +399,10 @@
|
|
|
346
399
|
inherits: false;
|
|
347
400
|
initial-value: solid;
|
|
348
401
|
}
|
|
402
|
+
@property --tw-duration {
|
|
403
|
+
syntax: "*";
|
|
404
|
+
inherits: false;
|
|
405
|
+
}
|
|
349
406
|
@keyframes spin {
|
|
350
407
|
to {
|
|
351
408
|
transform: rotate(360deg);
|