@tangible/ui 0.0.19 → 0.0.20
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/README.md +1 -0
- package/components/Avatar/Avatar.d.ts +3 -1
- package/components/Avatar/Avatar.js +6 -25
- package/components/Avatar/index.d.ts +2 -2
- package/components/Avatar/index.js +1 -1
- package/components/Avatar/types.d.ts +8 -8
- package/components/Avatar/types.js +0 -12
- package/components/Icon/Icon.d.ts +10 -1
- package/components/Icon/Icon.js +5 -1
- package/components/Modal/Modal.js +1 -1
- package/components/OverlapStack/OverlapStack.js +4 -2
- package/components/Pager/Pager.js +9 -3
- package/components/Pager/types.d.ts +9 -0
- package/components/Pager/types.js +2 -0
- package/components/Progress/Progress.js +3 -3
- package/components/Rating/Rating.js +4 -2
- package/components/Rating/types.d.ts +5 -1
- package/components/Rating/types.js +1 -0
- package/components/Select/Select.d.ts +1 -1
- package/components/Select/Select.js +5 -3
- package/components/Select/types.d.ts +5 -0
- package/components/StepIndicator/StepIndicator.js +6 -2
- package/components/StepIndicator/types.d.ts +3 -0
- package/components/StepIndicator/types.js +1 -0
- package/components/Table/BulkActionsBar.js +4 -1
- package/components/Table/DataTable.js +8 -5
- package/components/index.d.ts +3 -2
- package/components/index.js +2 -1
- package/package.json +1 -1
- package/styles/all.css +1 -1
- package/styles/all.expanded.css +220 -88
- package/styles/all.expanded.unlayered.css +220 -88
- package/styles/all.unlayered.css +1 -1
- package/styles/components/accordion.scss +1 -1
- package/styles/components/avatar.scss +15 -63
- package/styles/components/combobox.scss +1 -1
- package/styles/components/dropdown.scss +2 -2
- package/styles/components/input/index.scss +6 -1
- package/styles/components/move-handle.scss +1 -1
- package/styles/components/multi-select.scss +1 -1
- package/styles/components/notice.scss +1 -1
- package/styles/components/overlap-stack.scss +4 -3
- package/styles/components/pager.scss +6 -3
- package/styles/components/progress.scss +17 -5
- package/styles/components/rating.scss +2 -2
- package/styles/components/segmented-control.scss +2 -2
- package/styles/components/select.scss +2 -2
- package/styles/components/step-indicator.scss +8 -8
- package/styles/components/step-list.scss +1 -1
- package/styles/components/table.scss +2 -1
- package/styles/components/tabs.scss +2 -2
- package/styles/core.css +1 -1
- package/styles/core.unlayered.css +1 -1
- package/styles/index.scss +5 -2
- package/styles/system/_constants.scss +2 -2
- package/styles/system/_motion.scss +20 -18
- package/styles/system/_tokens.scss +89 -10
- package/tui-manifest.json +10 -3
- package/utils/generative.d.ts +16 -0
- package/utils/generative.js +45 -0
|
@@ -1,24 +1,4 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
-
@keyframes tui-fadeFromOpaque {
|
|
3
|
-
from {
|
|
4
|
-
opacity: 1;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
@keyframes tui-fadeToOpaque {
|
|
8
|
-
to {
|
|
9
|
-
opacity: 1;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
@keyframes tui-fadeFromTransparent {
|
|
13
|
-
from {
|
|
14
|
-
opacity: 0;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
@keyframes tui-fadeToTransparent {
|
|
18
|
-
to {
|
|
19
|
-
opacity: 0;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
2
|
/* @tui-tokens
|
|
23
3
|
--tui-accordion-bg
|
|
24
4
|
--tui-accordion-bg-open
|
|
@@ -255,6 +235,7 @@
|
|
|
255
235
|
--tui-progress-fill
|
|
256
236
|
--tui-progress-label
|
|
257
237
|
--tui-progress-radius
|
|
238
|
+
--tui-progress-block-size
|
|
258
239
|
--tui-progress-z1-fill
|
|
259
240
|
--tui-progress-z2-fill
|
|
260
241
|
--tui-progress-z3-fill
|
|
@@ -311,6 +292,7 @@
|
|
|
311
292
|
--tui-table-bg-head
|
|
312
293
|
--tui-table-fg
|
|
313
294
|
--tui-table-padding
|
|
295
|
+
--tui-table-selected-bg
|
|
314
296
|
*/
|
|
315
297
|
/* @tui-tokens
|
|
316
298
|
--tui-tabs-gap
|
|
@@ -359,9 +341,6 @@
|
|
|
359
341
|
--tui-focus-ring-width: 2px;
|
|
360
342
|
--tui-focus-ring-offset: 2px;
|
|
361
343
|
--tui-focus-ring-color: #2563eb;
|
|
362
|
-
/* Font Weight */
|
|
363
|
-
--tui-font-weight-medium: 500;
|
|
364
|
-
--tui-font-weight-semibold: 600;
|
|
365
344
|
/* Border */
|
|
366
345
|
--tui-border-width: 1px;
|
|
367
346
|
/* Z-Index Layers */
|
|
@@ -437,11 +416,108 @@
|
|
|
437
416
|
--tui-theme-danger-soft: #f86368;
|
|
438
417
|
--tui-theme-danger-subtle: #facfd2;
|
|
439
418
|
--tui-theme-danger-subtlest: #fce3e5;
|
|
419
|
+
/* Input chrome: the select chevron. An image, not a color — selects
|
|
420
|
+
can't be masked without masking their text, so light/dark swap the
|
|
421
|
+
URI. Fill tracks color-fg (gray 900 / gray 50). */
|
|
422
|
+
--tui-input-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 11 10'%3E%3Cpath fill='%23111928' d='M5.511 7.5a.939.939 0 0 1-.636-.244l-3.6-3.326a.833.833 0 0 1-.202-.27.778.778 0 0 1-.006-.643.83.83 0 0 1 .197-.273.909.909 0 0 1 .295-.182.965.965 0 0 1 .696.006c.11.043.21.106.292.186l2.964 2.738 2.964-2.738a.94.94 0 0 1 .633-.234c.236.002.462.09.628.244a.801.801 0 0 1 .264.58.8.8 0 0 1-.253.586l-3.6 3.326a.939.939 0 0 1-.636.244Z'/%3E%3C/svg%3E");
|
|
440
423
|
/* A11y (legacy alias - prefer --focus-ring-color) */
|
|
441
424
|
--tui-color-focus-ring: var(--tui-focus-ring-color);
|
|
442
425
|
}
|
|
443
426
|
|
|
427
|
+
:where(.tui-interface) {
|
|
428
|
+
--tui-generative-coral: oklch(0.52 0.13 25);
|
|
429
|
+
--tui-generative-coral-interact: oklch(0.47 0.13 25);
|
|
430
|
+
--tui-generative-coral-fg: #fff;
|
|
431
|
+
--tui-generative-coral-subtle: oklch(0.94 0.045 25);
|
|
432
|
+
--tui-generative-coral-subtle-interact: oklch(0.9 0.06 25);
|
|
433
|
+
--tui-generative-coral-strong: oklch(0.4 0.11 25);
|
|
434
|
+
--tui-generative-orange: oklch(0.78 0.14 60);
|
|
435
|
+
--tui-generative-orange-interact: oklch(0.73 0.14 60);
|
|
436
|
+
--tui-generative-orange-fg: #111928;
|
|
437
|
+
--tui-generative-orange-subtle: oklch(0.94 0.045 60);
|
|
438
|
+
--tui-generative-orange-subtle-interact: oklch(0.9 0.06 60);
|
|
439
|
+
--tui-generative-orange-strong: oklch(0.4 0.11 60);
|
|
440
|
+
--tui-generative-amber: oklch(0.78 0.14 88);
|
|
441
|
+
--tui-generative-amber-interact: oklch(0.73 0.14 88);
|
|
442
|
+
--tui-generative-amber-fg: #111928;
|
|
443
|
+
--tui-generative-amber-subtle: oklch(0.94 0.045 88);
|
|
444
|
+
--tui-generative-amber-subtle-interact: oklch(0.9 0.06 88);
|
|
445
|
+
--tui-generative-amber-strong: oklch(0.4 0.11 88);
|
|
446
|
+
--tui-generative-lime: oklch(0.78 0.14 125);
|
|
447
|
+
--tui-generative-lime-interact: oklch(0.73 0.14 125);
|
|
448
|
+
--tui-generative-lime-fg: #111928;
|
|
449
|
+
--tui-generative-lime-subtle: oklch(0.94 0.045 125);
|
|
450
|
+
--tui-generative-lime-subtle-interact: oklch(0.9 0.06 125);
|
|
451
|
+
--tui-generative-lime-strong: oklch(0.4 0.11 125);
|
|
452
|
+
--tui-generative-emerald: oklch(0.52 0.13 162);
|
|
453
|
+
--tui-generative-emerald-interact: oklch(0.47 0.13 162);
|
|
454
|
+
--tui-generative-emerald-fg: #fff;
|
|
455
|
+
--tui-generative-emerald-subtle: oklch(0.94 0.045 162);
|
|
456
|
+
--tui-generative-emerald-subtle-interact: oklch(0.9 0.06 162);
|
|
457
|
+
--tui-generative-emerald-strong: oklch(0.4 0.11 162);
|
|
458
|
+
--tui-generative-teal: oklch(0.52 0.13 192);
|
|
459
|
+
--tui-generative-teal-interact: oklch(0.47 0.13 192);
|
|
460
|
+
--tui-generative-teal-fg: #fff;
|
|
461
|
+
--tui-generative-teal-subtle: oklch(0.94 0.045 192);
|
|
462
|
+
--tui-generative-teal-subtle-interact: oklch(0.9 0.06 192);
|
|
463
|
+
--tui-generative-teal-strong: oklch(0.4 0.11 192);
|
|
464
|
+
--tui-generative-cyan: oklch(0.78 0.14 218);
|
|
465
|
+
--tui-generative-cyan-interact: oklch(0.73 0.14 218);
|
|
466
|
+
--tui-generative-cyan-fg: #111928;
|
|
467
|
+
--tui-generative-cyan-subtle: oklch(0.94 0.045 218);
|
|
468
|
+
--tui-generative-cyan-subtle-interact: oklch(0.9 0.06 218);
|
|
469
|
+
--tui-generative-cyan-strong: oklch(0.4 0.11 218);
|
|
470
|
+
--tui-generative-blue: oklch(0.52 0.13 262);
|
|
471
|
+
--tui-generative-blue-interact: oklch(0.47 0.13 262);
|
|
472
|
+
--tui-generative-blue-fg: #fff;
|
|
473
|
+
--tui-generative-blue-subtle: oklch(0.94 0.045 262);
|
|
474
|
+
--tui-generative-blue-subtle-interact: oklch(0.9 0.06 262);
|
|
475
|
+
--tui-generative-blue-strong: oklch(0.4 0.11 262);
|
|
476
|
+
--tui-generative-violet: oklch(0.52 0.13 300);
|
|
477
|
+
--tui-generative-violet-interact: oklch(0.47 0.13 300);
|
|
478
|
+
--tui-generative-violet-fg: #fff;
|
|
479
|
+
--tui-generative-violet-subtle: oklch(0.94 0.045 300);
|
|
480
|
+
--tui-generative-violet-subtle-interact: oklch(0.9 0.06 300);
|
|
481
|
+
--tui-generative-violet-strong: oklch(0.4 0.11 300);
|
|
482
|
+
--tui-generative-pink: oklch(0.52 0.13 350);
|
|
483
|
+
--tui-generative-pink-interact: oklch(0.47 0.13 350);
|
|
484
|
+
--tui-generative-pink-fg: #fff;
|
|
485
|
+
--tui-generative-pink-subtle: oklch(0.94 0.045 350);
|
|
486
|
+
--tui-generative-pink-subtle-interact: oklch(0.9 0.06 350);
|
|
487
|
+
--tui-generative-pink-strong: oklch(0.4 0.11 350);
|
|
488
|
+
}
|
|
489
|
+
|
|
444
490
|
:where(.tui-interface)[data-theme=dark] {
|
|
491
|
+
--tui-generative-coral-subtle: oklch(0.3 0.055 25);
|
|
492
|
+
--tui-generative-coral-subtle-interact: oklch(0.34 0.065 25);
|
|
493
|
+
--tui-generative-coral-strong: oklch(0.82 0.1 25);
|
|
494
|
+
--tui-generative-orange-subtle: oklch(0.3 0.055 60);
|
|
495
|
+
--tui-generative-orange-subtle-interact: oklch(0.34 0.065 60);
|
|
496
|
+
--tui-generative-orange-strong: oklch(0.82 0.1 60);
|
|
497
|
+
--tui-generative-amber-subtle: oklch(0.3 0.055 88);
|
|
498
|
+
--tui-generative-amber-subtle-interact: oklch(0.34 0.065 88);
|
|
499
|
+
--tui-generative-amber-strong: oklch(0.82 0.1 88);
|
|
500
|
+
--tui-generative-lime-subtle: oklch(0.3 0.055 125);
|
|
501
|
+
--tui-generative-lime-subtle-interact: oklch(0.34 0.065 125);
|
|
502
|
+
--tui-generative-lime-strong: oklch(0.82 0.1 125);
|
|
503
|
+
--tui-generative-emerald-subtle: oklch(0.3 0.055 162);
|
|
504
|
+
--tui-generative-emerald-subtle-interact: oklch(0.34 0.065 162);
|
|
505
|
+
--tui-generative-emerald-strong: oklch(0.82 0.1 162);
|
|
506
|
+
--tui-generative-teal-subtle: oklch(0.3 0.055 192);
|
|
507
|
+
--tui-generative-teal-subtle-interact: oklch(0.34 0.065 192);
|
|
508
|
+
--tui-generative-teal-strong: oklch(0.82 0.1 192);
|
|
509
|
+
--tui-generative-cyan-subtle: oklch(0.3 0.055 218);
|
|
510
|
+
--tui-generative-cyan-subtle-interact: oklch(0.34 0.065 218);
|
|
511
|
+
--tui-generative-cyan-strong: oklch(0.82 0.1 218);
|
|
512
|
+
--tui-generative-blue-subtle: oklch(0.3 0.055 262);
|
|
513
|
+
--tui-generative-blue-subtle-interact: oklch(0.34 0.065 262);
|
|
514
|
+
--tui-generative-blue-strong: oklch(0.82 0.1 262);
|
|
515
|
+
--tui-generative-violet-subtle: oklch(0.3 0.055 300);
|
|
516
|
+
--tui-generative-violet-subtle-interact: oklch(0.34 0.065 300);
|
|
517
|
+
--tui-generative-violet-strong: oklch(0.82 0.1 300);
|
|
518
|
+
--tui-generative-pink-subtle: oklch(0.3 0.055 350);
|
|
519
|
+
--tui-generative-pink-subtle-interact: oklch(0.34 0.065 350);
|
|
520
|
+
--tui-generative-pink-strong: oklch(0.82 0.1 350);
|
|
445
521
|
/* UA chrome: native controls, scrollbars render in dark mode */
|
|
446
522
|
color-scheme: dark;
|
|
447
523
|
/* Backgrounds */
|
|
@@ -460,6 +536,8 @@
|
|
|
460
536
|
/* Borders */
|
|
461
537
|
--tui-color-border: #374151;
|
|
462
538
|
--tui-color-divider: #202836;
|
|
539
|
+
/* Input chrome */
|
|
540
|
+
--tui-input-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 11 10'%3E%3Cpath fill='%23F9FAFB' d='M5.511 7.5a.939.939 0 0 1-.636-.244l-3.6-3.326a.833.833 0 0 1-.202-.27.778.778 0 0 1-.006-.643.83.83 0 0 1 .197-.273.909.909 0 0 1 .295-.182.965.965 0 0 1 .696.006c.11.043.21.106.292.186l2.964 2.738 2.964-2.738a.94.94 0 0 1 .633-.234c.236.002.462.09.628.244a.801.801 0 0 1 .264.58.8.8 0 0 1-.253.586l-3.6 3.326a.939.939 0 0 1-.636.244Z'/%3E%3C/svg%3E");
|
|
463
541
|
/* Theme colors - adjust for dark mode contrast */
|
|
464
542
|
--tui-theme-primary-base: #3858e9;
|
|
465
543
|
--tui-theme-primary-soft: #2942d1;
|
|
@@ -497,6 +575,36 @@
|
|
|
497
575
|
|
|
498
576
|
@media (prefers-color-scheme: dark) {
|
|
499
577
|
:where(.tui-interface)[data-theme=auto] {
|
|
578
|
+
--tui-generative-coral-subtle: oklch(0.3 0.055 25);
|
|
579
|
+
--tui-generative-coral-subtle-interact: oklch(0.34 0.065 25);
|
|
580
|
+
--tui-generative-coral-strong: oklch(0.82 0.1 25);
|
|
581
|
+
--tui-generative-orange-subtle: oklch(0.3 0.055 60);
|
|
582
|
+
--tui-generative-orange-subtle-interact: oklch(0.34 0.065 60);
|
|
583
|
+
--tui-generative-orange-strong: oklch(0.82 0.1 60);
|
|
584
|
+
--tui-generative-amber-subtle: oklch(0.3 0.055 88);
|
|
585
|
+
--tui-generative-amber-subtle-interact: oklch(0.34 0.065 88);
|
|
586
|
+
--tui-generative-amber-strong: oklch(0.82 0.1 88);
|
|
587
|
+
--tui-generative-lime-subtle: oklch(0.3 0.055 125);
|
|
588
|
+
--tui-generative-lime-subtle-interact: oklch(0.34 0.065 125);
|
|
589
|
+
--tui-generative-lime-strong: oklch(0.82 0.1 125);
|
|
590
|
+
--tui-generative-emerald-subtle: oklch(0.3 0.055 162);
|
|
591
|
+
--tui-generative-emerald-subtle-interact: oklch(0.34 0.065 162);
|
|
592
|
+
--tui-generative-emerald-strong: oklch(0.82 0.1 162);
|
|
593
|
+
--tui-generative-teal-subtle: oklch(0.3 0.055 192);
|
|
594
|
+
--tui-generative-teal-subtle-interact: oklch(0.34 0.065 192);
|
|
595
|
+
--tui-generative-teal-strong: oklch(0.82 0.1 192);
|
|
596
|
+
--tui-generative-cyan-subtle: oklch(0.3 0.055 218);
|
|
597
|
+
--tui-generative-cyan-subtle-interact: oklch(0.34 0.065 218);
|
|
598
|
+
--tui-generative-cyan-strong: oklch(0.82 0.1 218);
|
|
599
|
+
--tui-generative-blue-subtle: oklch(0.3 0.055 262);
|
|
600
|
+
--tui-generative-blue-subtle-interact: oklch(0.34 0.065 262);
|
|
601
|
+
--tui-generative-blue-strong: oklch(0.82 0.1 262);
|
|
602
|
+
--tui-generative-violet-subtle: oklch(0.3 0.055 300);
|
|
603
|
+
--tui-generative-violet-subtle-interact: oklch(0.34 0.065 300);
|
|
604
|
+
--tui-generative-violet-strong: oklch(0.82 0.1 300);
|
|
605
|
+
--tui-generative-pink-subtle: oklch(0.3 0.055 350);
|
|
606
|
+
--tui-generative-pink-subtle-interact: oklch(0.34 0.065 350);
|
|
607
|
+
--tui-generative-pink-strong: oklch(0.82 0.1 350);
|
|
500
608
|
/* UA chrome: native controls, scrollbars render in dark mode */
|
|
501
609
|
color-scheme: dark;
|
|
502
610
|
/* Backgrounds */
|
|
@@ -515,6 +623,8 @@
|
|
|
515
623
|
/* Borders */
|
|
516
624
|
--tui-color-border: #374151;
|
|
517
625
|
--tui-color-divider: #202836;
|
|
626
|
+
/* Input chrome */
|
|
627
|
+
--tui-input-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 11 10'%3E%3Cpath fill='%23F9FAFB' d='M5.511 7.5a.939.939 0 0 1-.636-.244l-3.6-3.326a.833.833 0 0 1-.202-.27.778.778 0 0 1-.006-.643.83.83 0 0 1 .197-.273.909.909 0 0 1 .295-.182.965.965 0 0 1 .696.006c.11.043.21.106.292.186l2.964 2.738 2.964-2.738a.94.94 0 0 1 .633-.234c.236.002.462.09.628.244a.801.801 0 0 1 .264.58.8.8 0 0 1-.253.586l-3.6 3.326a.939.939 0 0 1-.636.244Z'/%3E%3C/svg%3E");
|
|
518
628
|
/* Theme colors - adjust for dark mode contrast */
|
|
519
629
|
--tui-theme-primary-base: #3858e9;
|
|
520
630
|
--tui-theme-primary-soft: #2942d1;
|
|
@@ -579,26 +689,28 @@
|
|
|
579
689
|
--tui-spacing-lg: var(--tui-palette-spacing-6);
|
|
580
690
|
--tui-spacing-xl: var(--tui-palette-spacing-8);
|
|
581
691
|
--tui-spacing-xxl: var(--tui-palette-spacing-16);
|
|
582
|
-
--tui-
|
|
583
|
-
--tui-typography-size-xs: calc(12 * var(--tui-
|
|
584
|
-
--tui-typography-size-sm: calc(14 * var(--tui-
|
|
585
|
-
--tui-typography-size-md: calc(16 * var(--tui-
|
|
586
|
-
--tui-typography-size-lg: calc(20 * var(--tui-
|
|
587
|
-
--tui-typography-size-xl: calc(24 * var(--tui-
|
|
588
|
-
--tui-typography-size-xxl: calc(32 * var(--tui-
|
|
692
|
+
--tui-typography-size-multiplier: calc(1rem / 16);
|
|
693
|
+
--tui-typography-size-xs: calc(12 * var(--tui-typography-size-multiplier, calc(1rem / 16)));
|
|
694
|
+
--tui-typography-size-sm: calc(14 * var(--tui-typography-size-multiplier, calc(1rem / 16)));
|
|
695
|
+
--tui-typography-size-md: calc(16 * var(--tui-typography-size-multiplier, calc(1rem / 16)));
|
|
696
|
+
--tui-typography-size-lg: calc(20 * var(--tui-typography-size-multiplier, calc(1rem / 16)));
|
|
697
|
+
--tui-typography-size-xl: calc(24 * var(--tui-typography-size-multiplier, calc(1rem / 16)));
|
|
698
|
+
--tui-typography-size-xxl: calc(32 * var(--tui-typography-size-multiplier, calc(1rem / 16)));
|
|
589
699
|
--tui-palette-color-white: #fff;
|
|
590
700
|
--tui-palette-color-black: #000;
|
|
591
701
|
--tui-radius-xs: 2px;
|
|
592
702
|
--tui-radius-sm: 4px;
|
|
593
703
|
--tui-radius-md: 8px;
|
|
594
704
|
--tui-radius-lg: 12px;
|
|
705
|
+
--tui-radius-xl: 16px;
|
|
595
706
|
--tui-radius-full: 9999px;
|
|
596
|
-
--tui-
|
|
597
|
-
--tui-line: 1.5;
|
|
707
|
+
--tui-typography-size: 16px;
|
|
598
708
|
--tui-typography-weight-normal: 400;
|
|
709
|
+
--tui-typography-weight-medium: 500;
|
|
710
|
+
--tui-typography-weight-semibold: 600;
|
|
599
711
|
--tui-typography-weight-bold: 700;
|
|
600
|
-
--tui-typography-size: var(--tui-font-size-base);
|
|
601
712
|
--tui-typography-line-height: 1.4;
|
|
713
|
+
--tui-typography-line-height-tight: 1.25;
|
|
602
714
|
--tui-typography-font-family: inherit;
|
|
603
715
|
--tui-typography-color-base: currentColor;
|
|
604
716
|
--tui-typography-color-contrast-high: var(--tui-color-fg);
|
|
@@ -692,7 +804,7 @@
|
|
|
692
804
|
background: var(--_trigger-bg);
|
|
693
805
|
color: inherit;
|
|
694
806
|
font: inherit;
|
|
695
|
-
font-weight: var(--tui-
|
|
807
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
696
808
|
text-align: start;
|
|
697
809
|
cursor: pointer;
|
|
698
810
|
transition-property: background-color;
|
|
@@ -798,18 +910,6 @@
|
|
|
798
910
|
outline-color: Highlight;
|
|
799
911
|
}
|
|
800
912
|
}
|
|
801
|
-
:where(.tui-interface) {
|
|
802
|
-
--tui-avatar-palette-coral: #c62828;
|
|
803
|
-
--tui-avatar-palette-amber: #f59e0b;
|
|
804
|
-
--tui-avatar-palette-lime: #65a30d;
|
|
805
|
-
--tui-avatar-palette-teal: #0f766e;
|
|
806
|
-
--tui-avatar-palette-cyan: #0891b2;
|
|
807
|
-
--tui-avatar-palette-blue: #1d4ed8;
|
|
808
|
-
--tui-avatar-palette-violet: #6d28d9;
|
|
809
|
-
--tui-avatar-palette-pink: #be185d;
|
|
810
|
-
--tui-avatar-palette-slate: #475569;
|
|
811
|
-
--tui-avatar-palette-emerald: #047857;
|
|
812
|
-
}
|
|
813
913
|
:where(.tui-interface) .tui-avatar {
|
|
814
914
|
--_size: var(--tui-avatar-size, 2.5rem);
|
|
815
915
|
--_radius: var(--tui-avatar-radius, 50%);
|
|
@@ -826,7 +926,7 @@
|
|
|
826
926
|
border: var(--_border);
|
|
827
927
|
background-color: var(--_bg);
|
|
828
928
|
color: var(--_fg);
|
|
829
|
-
font-weight: var(--tui-
|
|
929
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
830
930
|
font-size: calc(var(--_size) * 0.4);
|
|
831
931
|
line-height: 1;
|
|
832
932
|
flex-shrink: 0;
|
|
@@ -857,37 +957,48 @@
|
|
|
857
957
|
--_radius: var(--tui-avatar-radius, var(--tui-radius-md));
|
|
858
958
|
}
|
|
859
959
|
:where(.tui-interface) .tui-avatar.is-color-coral {
|
|
860
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
960
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-coral));
|
|
961
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-coral-fg));
|
|
962
|
+
}
|
|
963
|
+
:where(.tui-interface) .tui-avatar.is-color-orange {
|
|
964
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-orange));
|
|
965
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-orange-fg));
|
|
861
966
|
}
|
|
862
967
|
:where(.tui-interface) .tui-avatar.is-color-amber {
|
|
863
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
864
|
-
--_fg: var(--tui-avatar-fg, var(--tui-
|
|
968
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-amber));
|
|
969
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-amber-fg));
|
|
865
970
|
}
|
|
866
971
|
:where(.tui-interface) .tui-avatar.is-color-lime {
|
|
867
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
868
|
-
--_fg: var(--tui-avatar-fg, var(--tui-
|
|
972
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-lime));
|
|
973
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-lime-fg));
|
|
974
|
+
}
|
|
975
|
+
:where(.tui-interface) .tui-avatar.is-color-emerald {
|
|
976
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-emerald));
|
|
977
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-emerald-fg));
|
|
869
978
|
}
|
|
870
979
|
:where(.tui-interface) .tui-avatar.is-color-teal {
|
|
871
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
980
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-teal));
|
|
981
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-teal-fg));
|
|
872
982
|
}
|
|
873
983
|
:where(.tui-interface) .tui-avatar.is-color-cyan {
|
|
874
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
875
|
-
--_fg: var(--tui-avatar-fg, var(--tui-
|
|
984
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-cyan));
|
|
985
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-cyan-fg));
|
|
876
986
|
}
|
|
877
987
|
:where(.tui-interface) .tui-avatar.is-color-blue {
|
|
878
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
988
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-blue));
|
|
989
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-blue-fg));
|
|
879
990
|
}
|
|
880
991
|
:where(.tui-interface) .tui-avatar.is-color-violet {
|
|
881
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
992
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-violet));
|
|
993
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-violet-fg));
|
|
882
994
|
}
|
|
883
995
|
:where(.tui-interface) .tui-avatar.is-color-pink {
|
|
884
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
996
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-pink));
|
|
997
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-pink-fg));
|
|
885
998
|
}
|
|
886
999
|
:where(.tui-interface) .tui-avatar.is-color-slate {
|
|
887
|
-
--_bg: var(--tui-avatar-bg,
|
|
888
|
-
|
|
889
|
-
:where(.tui-interface) .tui-avatar.is-color-emerald {
|
|
890
|
-
--_bg: var(--tui-avatar-bg, var(--tui-avatar-palette-emerald));
|
|
1000
|
+
--_bg: var(--tui-avatar-bg, #475569);
|
|
1001
|
+
--_fg: var(--tui-avatar-fg, #fff);
|
|
891
1002
|
}
|
|
892
1003
|
:where(.tui-interface) .tui-avatar .tui-avatar__content {
|
|
893
1004
|
position: absolute;
|
|
@@ -2014,7 +2125,7 @@
|
|
|
2014
2125
|
padding: var(--tui-spacing-xs) var(--tui-spacing-sm);
|
|
2015
2126
|
padding-bottom: var(--tui-spacing-xxs);
|
|
2016
2127
|
font-size: var(--tui-typography-size-xs);
|
|
2017
|
-
font-weight: var(--tui-
|
|
2128
|
+
font-weight: var(--tui-typography-weight-semibold, 600);
|
|
2018
2129
|
color: var(--tui-color-fg-muted);
|
|
2019
2130
|
text-transform: uppercase;
|
|
2020
2131
|
letter-spacing: 0.05em;
|
|
@@ -2160,7 +2271,7 @@
|
|
|
2160
2271
|
.tui-interface .tui-dropdown__item:focus-visible {
|
|
2161
2272
|
--tui-button-bg: var(--_item-bg-hover);
|
|
2162
2273
|
--tui-button-fg: inherit;
|
|
2163
|
-
outline: var(--tui-focus-ring-width
|
|
2274
|
+
outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
|
|
2164
2275
|
outline-offset: calc(-1 * var(--tui-focus-ring-width, 2px));
|
|
2165
2276
|
}
|
|
2166
2277
|
.tui-interface .tui-dropdown__item:active {
|
|
@@ -2183,7 +2294,7 @@
|
|
|
2183
2294
|
padding: var(--tui-spacing-xs, 8px) var(--tui-spacing-sm, 12px);
|
|
2184
2295
|
padding-block-end: var(--tui-spacing-xxs, 4px);
|
|
2185
2296
|
font-size: var(--tui-typography-size-xs, 11px);
|
|
2186
|
-
font-weight: var(--tui-
|
|
2297
|
+
font-weight: var(--tui-typography-weight-semibold, 600);
|
|
2187
2298
|
color: var(--tui-color-fg-muted);
|
|
2188
2299
|
letter-spacing: 0.02em;
|
|
2189
2300
|
user-select: none;
|
|
@@ -2488,7 +2599,7 @@
|
|
|
2488
2599
|
padding: var(--tui-spacing-xs) var(--tui-spacing-sm);
|
|
2489
2600
|
padding-bottom: var(--tui-spacing-xxs);
|
|
2490
2601
|
font-size: var(--tui-typography-size-xs);
|
|
2491
|
-
font-weight: var(--tui-
|
|
2602
|
+
font-weight: var(--tui-typography-weight-semibold, 600);
|
|
2492
2603
|
color: var(--tui-color-fg-muted);
|
|
2493
2604
|
text-transform: uppercase;
|
|
2494
2605
|
letter-spacing: 0.05em;
|
|
@@ -2705,7 +2816,7 @@
|
|
|
2705
2816
|
}
|
|
2706
2817
|
:where(.tui-interface) .tui-select__option[aria-selected=true] {
|
|
2707
2818
|
background-color: var(--_bg-selected);
|
|
2708
|
-
font-weight: var(--tui-
|
|
2819
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
2709
2820
|
}
|
|
2710
2821
|
:where(.tui-interface) .tui-select__option[aria-selected=true]:hover:not([data-disabled]), :where(.tui-interface) .tui-select__option[aria-selected=true][data-highlighted]:not([data-disabled]) {
|
|
2711
2822
|
background-color: var(--tui-theme-primary-subtle);
|
|
@@ -2734,7 +2845,7 @@
|
|
|
2734
2845
|
padding: var(--tui-spacing-xs) var(--tui-spacing-sm);
|
|
2735
2846
|
padding-bottom: var(--tui-spacing-xxs);
|
|
2736
2847
|
font-size: var(--tui-typography-size-xs);
|
|
2737
|
-
font-weight: var(--tui-
|
|
2848
|
+
font-weight: var(--tui-typography-weight-semibold, 600);
|
|
2738
2849
|
color: var(--tui-color-fg-muted);
|
|
2739
2850
|
text-transform: uppercase;
|
|
2740
2851
|
letter-spacing: 0.05em;
|
|
@@ -3011,7 +3122,7 @@
|
|
|
3011
3122
|
}
|
|
3012
3123
|
:where(.tui-interface) :is(select, select.tui-input) {
|
|
3013
3124
|
padding-inline-end: 2.5em !important;
|
|
3014
|
-
background-image:
|
|
3125
|
+
background-image: var(--tui-input-chevron);
|
|
3015
3126
|
background-repeat: no-repeat;
|
|
3016
3127
|
background-position: calc(100% - 0.75em) 50%;
|
|
3017
3128
|
background-size: 1em;
|
|
@@ -3611,7 +3722,7 @@
|
|
|
3611
3722
|
width: var(--_size);
|
|
3612
3723
|
border-radius: var(--tui-radius-md);
|
|
3613
3724
|
font-size: var(--tui-typography-size-sm, 0.875rem);
|
|
3614
|
-
font-weight: var(--tui-
|
|
3725
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
3615
3726
|
color: var(--_fg);
|
|
3616
3727
|
user-select: none;
|
|
3617
3728
|
}
|
|
@@ -3776,7 +3887,7 @@
|
|
|
3776
3887
|
:where(.tui-interface) .tui-notice__title {
|
|
3777
3888
|
flex: 1 1 auto;
|
|
3778
3889
|
margin: 0;
|
|
3779
|
-
font-weight: var(--tui-
|
|
3890
|
+
font-weight: var(--tui-typography-weight-semibold, 600);
|
|
3780
3891
|
}
|
|
3781
3892
|
:where(.tui-interface) .tui-notice__head {
|
|
3782
3893
|
padding-block: var(--_padding);
|
|
@@ -4045,7 +4156,7 @@
|
|
|
4045
4156
|
background-color: var(--_bg);
|
|
4046
4157
|
color: var(--_fg);
|
|
4047
4158
|
font-size: 0.75rem;
|
|
4048
|
-
font-weight: var(--tui-
|
|
4159
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
4049
4160
|
}
|
|
4050
4161
|
@media (forced-colors: active) {
|
|
4051
4162
|
:where(.tui-interface) .tui-overlap-stack__overflow {
|
|
@@ -4067,8 +4178,8 @@
|
|
|
4067
4178
|
}
|
|
4068
4179
|
.tui-pager__nav .tui-pager__item,
|
|
4069
4180
|
.tui-pager__nav .tui-pager__ellipsis {
|
|
4070
|
-
--
|
|
4071
|
-
border-color: var(--
|
|
4181
|
+
--tui-button-border: var(--tui-pager-item-border, var(--tui-color-border));
|
|
4182
|
+
border-color: var(--tui-button-border);
|
|
4072
4183
|
font-size: var(--tui-typography-size-sm);
|
|
4073
4184
|
padding-inline: 0.85em;
|
|
4074
4185
|
padding-block: 0.4em;
|
|
@@ -4330,7 +4441,7 @@
|
|
|
4330
4441
|
align-items: center;
|
|
4331
4442
|
justify-content: center;
|
|
4332
4443
|
font-size: inherit;
|
|
4333
|
-
color: var(--_inactive)
|
|
4444
|
+
color: var(--_inactive);
|
|
4334
4445
|
}
|
|
4335
4446
|
:where(.tui-interface) .tui-rating .tui-rating__star .tui-icon {
|
|
4336
4447
|
flex: 0 0 auto;
|
|
@@ -4342,7 +4453,7 @@
|
|
|
4342
4453
|
}
|
|
4343
4454
|
}
|
|
4344
4455
|
:where(.tui-interface) .tui-rating .tui-rating__star.is-active {
|
|
4345
|
-
color: var(--_active)
|
|
4456
|
+
color: var(--_active);
|
|
4346
4457
|
}
|
|
4347
4458
|
@media (forced-colors: active) {
|
|
4348
4459
|
:where(.tui-interface) .tui-rating .tui-rating__star {
|
|
@@ -4358,6 +4469,7 @@
|
|
|
4358
4469
|
--_fill: var(--tui-progress-fill, var(--tui-theme-primary-base));
|
|
4359
4470
|
--_label: var(--tui-progress-label, var(--tui-color-fg));
|
|
4360
4471
|
--_radius: var(--tui-progress-radius, var(--tui-radius-md));
|
|
4472
|
+
--_block-size: var(--tui-progress-block-size, 1em);
|
|
4361
4473
|
--tui-progress-value: 0;
|
|
4362
4474
|
--tui-progress-max: 100;
|
|
4363
4475
|
--_pct: calc((var(--tui-progress-value) / var(--tui-progress-max)) * 100);
|
|
@@ -4378,7 +4490,7 @@
|
|
|
4378
4490
|
:where(.tui-interface) .tui-progress.is-mode-line .tui-progress__track {
|
|
4379
4491
|
position: relative;
|
|
4380
4492
|
inline-size: 100%;
|
|
4381
|
-
block-size:
|
|
4493
|
+
block-size: var(--_block-size);
|
|
4382
4494
|
background: var(--_track) !important;
|
|
4383
4495
|
border-radius: var(--_radius);
|
|
4384
4496
|
overflow: clip;
|
|
@@ -4643,8 +4755,8 @@
|
|
|
4643
4755
|
color: var(--_item-fg);
|
|
4644
4756
|
font: inherit;
|
|
4645
4757
|
font-size: var(--tui-typography-size-sm);
|
|
4646
|
-
font-weight: var(--tui-
|
|
4647
|
-
line-height: var(--tui-line-height-tight, 1.25);
|
|
4758
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
4759
|
+
line-height: var(--tui-typography-line-height-tight, 1.25);
|
|
4648
4760
|
white-space: nowrap;
|
|
4649
4761
|
cursor: pointer;
|
|
4650
4762
|
transition-property: background-color, color;
|
|
@@ -5027,15 +5139,15 @@
|
|
|
5027
5139
|
:where(.tui-interface) .tui-step-indicator.is-size-lg .tui-progress {
|
|
5028
5140
|
font-size: 20px;
|
|
5029
5141
|
}
|
|
5030
|
-
:where(.tui-interface) .tui-step-indicator.is-status-locked.has-icon
|
|
5031
|
-
|
|
5142
|
+
:where(.tui-interface) .tui-step-indicator.is-status-locked.has-icon, :where(.tui-interface) .tui-step-indicator.is-status-not-started.has-icon {
|
|
5143
|
+
--tui-progress-fill: var(--tui-progress-track, var(--tui-color-border));
|
|
5032
5144
|
}
|
|
5033
5145
|
:where(.tui-interface) .tui-step-indicator .tui-progress.is-mode-circle .tui-progress__label.is-inside {
|
|
5034
5146
|
font-size: 1.2em;
|
|
5035
5147
|
}
|
|
5036
5148
|
:where(.tui-interface) .tui-step-indicator__value {
|
|
5037
5149
|
font-size: 0.5em;
|
|
5038
|
-
font-weight: var(--tui-
|
|
5150
|
+
font-weight: var(--tui-typography-weight-bold, 700);
|
|
5039
5151
|
}
|
|
5040
5152
|
:where(.tui-interface) .tui-step-indicator.is-status-not-started.has-icon .tui-icon {
|
|
5041
5153
|
color: var(--tui-color-fg-muted);
|
|
@@ -5043,8 +5155,8 @@
|
|
|
5043
5155
|
:where(.tui-interface) .tui-step-indicator.is-status-in-progress.has-icon .tui-icon {
|
|
5044
5156
|
color: var(--tui-theme-primary-base);
|
|
5045
5157
|
}
|
|
5046
|
-
:where(.tui-interface) .tui-step-indicator.is-status-complete
|
|
5047
|
-
|
|
5158
|
+
:where(.tui-interface) .tui-step-indicator.is-status-complete {
|
|
5159
|
+
--tui-progress-fill: var(--tui-theme-success-base);
|
|
5048
5160
|
}
|
|
5049
5161
|
:where(.tui-interface) .tui-step-indicator.is-status-complete .tui-icon {
|
|
5050
5162
|
color: var(--tui-color-fg-on-accent);
|
|
@@ -5112,7 +5224,7 @@
|
|
|
5112
5224
|
:where(.tui-interface) .tui-steplist__content {
|
|
5113
5225
|
flex: 1;
|
|
5114
5226
|
min-width: 0;
|
|
5115
|
-
line-height: var(--tui-line-height
|
|
5227
|
+
line-height: var(--tui-typography-line-height, 1.4);
|
|
5116
5228
|
}
|
|
5117
5229
|
:where(.tui-interface) .tui-table {
|
|
5118
5230
|
--_border: var(--tui-table-border, var(--tui-color-border));
|
|
@@ -5160,7 +5272,7 @@
|
|
|
5160
5272
|
}
|
|
5161
5273
|
:where(.tui-interface) .tui-table .tui-table__row.is-selected td,
|
|
5162
5274
|
:where(.tui-interface) .tui-table .tui-table__row.is-selected .tui-table__cell--body {
|
|
5163
|
-
background-color: var(--tui-
|
|
5275
|
+
background-color: var(--tui-table-selected-bg, var(--tui-theme-primary-subtlest));
|
|
5164
5276
|
}
|
|
5165
5277
|
:where(.tui-interface) .tui-table .tui-table__row.is-selected td:first-child,
|
|
5166
5278
|
:where(.tui-interface) .tui-table .tui-table__row.is-selected .tui-table__cell--body:first-child {
|
|
@@ -5271,8 +5383,8 @@
|
|
|
5271
5383
|
color: var(--_fg);
|
|
5272
5384
|
font: inherit;
|
|
5273
5385
|
font-size: var(--tui-typography-size-sm);
|
|
5274
|
-
font-weight: var(--tui-
|
|
5275
|
-
line-height: var(--tui-line-height-tight, 1.25);
|
|
5386
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
5387
|
+
line-height: var(--tui-typography-line-height-tight, 1.25);
|
|
5276
5388
|
text-decoration: none;
|
|
5277
5389
|
white-space: nowrap;
|
|
5278
5390
|
cursor: pointer;
|
|
@@ -6490,3 +6602,23 @@
|
|
|
6490
6602
|
transform: rotate(1turn);
|
|
6491
6603
|
}
|
|
6492
6604
|
}
|
|
6605
|
+
@keyframes tui-fadeFromOpaque {
|
|
6606
|
+
from {
|
|
6607
|
+
opacity: 1;
|
|
6608
|
+
}
|
|
6609
|
+
}
|
|
6610
|
+
@keyframes tui-fadeToOpaque {
|
|
6611
|
+
to {
|
|
6612
|
+
opacity: 1;
|
|
6613
|
+
}
|
|
6614
|
+
}
|
|
6615
|
+
@keyframes tui-fadeFromTransparent {
|
|
6616
|
+
from {
|
|
6617
|
+
opacity: 0;
|
|
6618
|
+
}
|
|
6619
|
+
}
|
|
6620
|
+
@keyframes tui-fadeToTransparent {
|
|
6621
|
+
to {
|
|
6622
|
+
opacity: 0;
|
|
6623
|
+
}
|
|
6624
|
+
}
|