@tangible/ui 0.2.28 → 0.2.30
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/components/Accordion/Accordion.js +2 -1
- package/components/Avatar/Avatar.js +6 -2
- package/components/Button/types.d.ts +5 -5
- package/components/Chip/Chip.js +2 -1
- package/components/ChipGroup/ChipGroup.js +1 -1
- package/components/ChipGroup/types.d.ts +2 -1
- package/components/Chips/Chips.d.ts +2 -0
- package/components/Chips/Chips.js +2 -16
- package/components/ColorPicker/ColorField.d.ts +3 -3
- package/components/ColorPicker/ColorField.js +2 -1
- package/components/ColorPicker/ColorPicker.js +2 -1
- package/components/ColorPicker/usePointerDrag.d.ts +7 -0
- package/components/ColorPicker/usePointerDrag.js +15 -1
- package/components/Combobox/Combobox.js +3 -2
- package/components/ContentIndicator/types.d.ts +3 -3
- package/components/DatePicker/Calendar.js +4 -3
- package/components/DatePicker/DatePicker.js +3 -2
- package/components/DatePicker/PickerTrigger.js +2 -1
- package/components/DatePicker/types.d.ts +1 -1
- package/components/GradientPicker/GradientBar.js +3 -1
- package/components/GradientPicker/GradientPicker.js +4 -3
- package/components/Icon/Icon.d.ts +9 -2
- package/components/Icon/Icon.js +4 -3
- package/components/Icon/index.d.ts +1 -1
- package/components/IconButton/IconButton.js +13 -45
- package/components/IconButton/IconButtonCore.d.ts +9 -0
- package/components/IconButton/IconButtonCore.js +76 -0
- package/components/IconButton/types.d.ts +4 -3
- package/components/Modal/Modal.d.ts +12 -3
- package/components/Modal/Modal.js +38 -15
- package/components/MoveHandle/MoveHandle.js +3 -2
- package/components/MultiCombobox/MultiCombobox.js +3 -2
- package/components/MultiSelect/MultiSelect.js +3 -2
- package/components/NavMenu/NavMenu.js +2 -1
- package/components/NavMenu/types.d.ts +3 -3
- package/components/Notice/Notice.d.ts +7 -0
- package/components/Notice/Notice.js +6 -5
- package/components/Pager/Pager.js +5 -4
- package/components/Rating/Rating.js +2 -1
- package/components/SearchInput/SearchInput.js +3 -2
- package/components/SearchSelect/SearchSelect.js +3 -2
- package/components/SecretInput/SecretInput.js +3 -2
- package/components/Select/Select.js +3 -2
- package/components/Sidebar/Sidebar.js +2 -1
- package/components/StepIndicator/StepIndicator.js +4 -2
- package/components/StepIndicator/types.d.ts +2 -2
- package/components/StepList/types.d.ts +2 -2
- package/components/Tabs/types.d.ts +3 -3
- package/components/Toast/Toast.d.ts +5 -1
- package/components/Toast/Toast.js +3 -3
- package/components/Tooltip/Tooltip.d.ts +1 -1
- package/components/Tooltip/Tooltip.js +28 -6
- package/components/Tooltip/index.d.ts +1 -1
- package/components/Tooltip/types.d.ts +18 -0
- package/components/index.d.ts +2 -2
- package/figma-tokens.json +6 -4
- package/icons/cred/index.js +1 -0
- package/icons/icons.svg +7 -3
- package/icons/lms/index.d.ts +0 -3
- package/icons/lms/index.js +6 -33
- package/icons/manifest.json +71 -9
- package/icons/membersync/index.js +1 -0
- package/icons/player/index.js +1 -0
- package/icons/reaction/index.js +1 -0
- package/icons/registry.d.ts +14 -0
- package/icons/registry.js +7 -0
- package/icons/system/index.d.ts +11 -0
- package/icons/system/index.js +48 -0
- package/package.json +9 -2
- package/skills/building-with-tui/SKILL.md +249 -17
- package/styles/all.css +1 -1
- package/styles/all.expanded.css +127 -13
- package/styles/all.expanded.unlayered.css +127 -13
- package/styles/all.unlayered.css +1 -1
- package/styles/app.css +41 -0
- package/styles/components/_bundle.scss +2 -0
- package/styles/components/button.scss +6 -1
- package/styles/components/card.scss +17 -1
- package/styles/components/chip-group.scss +45 -28
- package/styles/components/chips.scss +21 -0
- package/styles/components/color-picker.scss +15 -1
- package/styles/components/gradient-picker.scss +2 -2
- package/styles/components/modal.scss +61 -0
- package/styles/components/tooltip.scss +8 -1
- package/styles/core.css +1 -1
- package/styles/core.unlayered.css +1 -1
- package/styles/system/_text-styles.scss +4 -0
- package/styles/system/_tokens.scss +7 -2
- package/styles/utilities/_index.scss +3 -0
- package/tui-manifest.json +46 -19
- package/utils/focus-trap.d.ts +1 -24
- package/utils/focus-trap.js +2 -65
- package/utils/scroll-lock.d.ts +4 -0
- package/utils/scroll-lock.js +25 -0
- package/utils/tabbable.d.ts +29 -0
- package/utils/tabbable.js +74 -0
- package/vanilla/modal.d.ts +37 -0
- package/vanilla/modal.js +453 -0
- package/vanilla/modal.min.js +1 -0
- package/vanilla/styles.css +1 -0
- package/vanilla/styles.unlayered.css +1 -0
package/styles/all.expanded.css
CHANGED
|
@@ -554,6 +554,7 @@
|
|
|
554
554
|
--tui-tooltip-fg
|
|
555
555
|
--tui-tooltip-radius
|
|
556
556
|
--tui-tooltip-z
|
|
557
|
+
--tui-tooltip-max-width
|
|
557
558
|
*/
|
|
558
559
|
@layer resets, defaults, components, utilities;
|
|
559
560
|
:where(.tui-interface) {
|
|
@@ -785,8 +786,13 @@
|
|
|
785
786
|
--tui-color-fg-inverted: #111928;
|
|
786
787
|
/* Borders */
|
|
787
788
|
--tui-color-border: #2b3443;
|
|
788
|
-
/*
|
|
789
|
-
|
|
789
|
+
/* A true neutral grey rather than the slate gray 500, which tinted every
|
|
790
|
+
control boundary blue against neutral brand palettes. A literal because
|
|
791
|
+
the palette has no neutral ramp, so $neutral does not reach it.
|
|
792
|
+
WCAG 1.4.11 wants 3:1: 3.39 on surface 975, 3.26 on faces 950, 3.06 on
|
|
793
|
+
elevated/muted 900. Only 2% headroom on 900, so re-measure if
|
|
794
|
+
bg-elevated or bg-muted moves. */
|
|
795
|
+
--tui-color-border-control: #666666;
|
|
790
796
|
--tui-color-divider: #202836;
|
|
791
797
|
/* Control fills */
|
|
792
798
|
--tui-color-fill-subtle: #202836;
|
|
@@ -901,8 +907,13 @@
|
|
|
901
907
|
--tui-color-fg-inverted: #111928;
|
|
902
908
|
/* Borders */
|
|
903
909
|
--tui-color-border: #2b3443;
|
|
904
|
-
/*
|
|
905
|
-
|
|
910
|
+
/* A true neutral grey rather than the slate gray 500, which tinted every
|
|
911
|
+
control boundary blue against neutral brand palettes. A literal because
|
|
912
|
+
the palette has no neutral ramp, so $neutral does not reach it.
|
|
913
|
+
WCAG 1.4.11 wants 3:1: 3.39 on surface 975, 3.26 on faces 950, 3.06 on
|
|
914
|
+
elevated/muted 900. Only 2% headroom on 900, so re-measure if
|
|
915
|
+
bg-elevated or bg-muted moves. */
|
|
916
|
+
--tui-color-border-control: #666666;
|
|
906
917
|
--tui-color-divider: #202836;
|
|
907
918
|
/* Control fills */
|
|
908
919
|
--tui-color-fill-subtle: #202836;
|
|
@@ -1199,6 +1210,15 @@
|
|
|
1199
1210
|
text-transform: var(--tui-text-headline-06-transform, var(--tui-text-headline-transform, none));
|
|
1200
1211
|
color: var(--tui-text-headline-06-color, var(--tui-text-headline-color, inherit));
|
|
1201
1212
|
}
|
|
1213
|
+
:where(.tui-interface) .tui-text-style-headline-07 {
|
|
1214
|
+
font-family: var(--tui-text-headline-07-family, var(--tui-text-headline-family, inherit));
|
|
1215
|
+
font-size: var(--tui-text-headline-07-size, 1rem);
|
|
1216
|
+
font-weight: var(--tui-text-headline-07-weight, var(--tui-text-headline-weight, 600));
|
|
1217
|
+
line-height: var(--tui-text-headline-07-line-height, var(--tui-text-headline-line-height, 1.25));
|
|
1218
|
+
letter-spacing: var(--tui-text-headline-07-tracking, var(--tui-text-headline-tracking, normal));
|
|
1219
|
+
text-transform: var(--tui-text-headline-07-transform, var(--tui-text-headline-transform, none));
|
|
1220
|
+
color: var(--tui-text-headline-07-color, var(--tui-text-headline-color, inherit));
|
|
1221
|
+
}
|
|
1202
1222
|
}
|
|
1203
1223
|
@layer components {
|
|
1204
1224
|
:where(.tui-interface) .tui-accordion {
|
|
@@ -1557,6 +1577,7 @@
|
|
|
1557
1577
|
height: auto;
|
|
1558
1578
|
}
|
|
1559
1579
|
:where(.tui-interface) :where(a).tui-button {
|
|
1580
|
+
cursor: pointer;
|
|
1560
1581
|
text-decoration: none;
|
|
1561
1582
|
}
|
|
1562
1583
|
:where(.tui-interface) :where(a).tui-button[aria-disabled=true] {
|
|
@@ -1657,7 +1678,7 @@
|
|
|
1657
1678
|
--_radius: var(--tui-button-radius, var(--tui-radius-sm));
|
|
1658
1679
|
font-size: var(--tui-button-font-size-xs, var(--tui-typography-size-xs));
|
|
1659
1680
|
padding-block: 0;
|
|
1660
|
-
padding-inline: var(--tui-spacing-
|
|
1681
|
+
padding-inline: var(--tui-spacing-xs);
|
|
1661
1682
|
min-height: var(--tui-control-height-xs, 1.5rem);
|
|
1662
1683
|
min-width: 2em;
|
|
1663
1684
|
}
|
|
@@ -1933,6 +1954,7 @@
|
|
|
1933
1954
|
--_bg: var(--tui-card-bg, var(--tui-color-bg));
|
|
1934
1955
|
--_fg: var(--tui-card-fg, var(--tui-color-fg));
|
|
1935
1956
|
--_fg-interact: var(--_fg);
|
|
1957
|
+
--_link-fg: var(--_fg);
|
|
1936
1958
|
--_border: var(--tui-card-border, var(--tui-color-border));
|
|
1937
1959
|
--_border-width: var(--tui-card-border-width, var(--tui-border-width));
|
|
1938
1960
|
--_border-interact: var(--tui-card-border-interact, var(--tui-theme-primary-base));
|
|
@@ -2102,11 +2124,13 @@
|
|
|
2102
2124
|
--_border: var(--_border-interact);
|
|
2103
2125
|
background-color: var(--_bg-interact);
|
|
2104
2126
|
color: var(--_fg-interact);
|
|
2127
|
+
--_link-fg: var(--_fg-interact);
|
|
2105
2128
|
}
|
|
2106
2129
|
:where(.tui-interface) .tui-card.has-interaction:focus-visible, :where(.tui-interface) .tui-card.has-interaction:has(:focus-visible) {
|
|
2107
2130
|
--_border: var(--_border-interact);
|
|
2108
2131
|
background-color: var(--_bg-interact);
|
|
2109
2132
|
color: var(--_fg-interact);
|
|
2133
|
+
--_link-fg: var(--_fg-interact);
|
|
2110
2134
|
}
|
|
2111
2135
|
:where(.tui-interface) .tui-card.has-interaction:active, :where(.tui-interface) .tui-card.has-interaction.active {
|
|
2112
2136
|
--_border: var(--tui-card-border-active, var(--tui-theme-primary-soft));
|
|
@@ -2117,6 +2141,9 @@
|
|
|
2117
2141
|
:where(.tui-interface) .tui-card.has-interaction.is-style-elevated:hover {
|
|
2118
2142
|
box-shadow: var(--_shadow-interact);
|
|
2119
2143
|
}
|
|
2144
|
+
:where(.tui-interface) .tui-card .tui-stretched-link {
|
|
2145
|
+
color: var(--tui-card-link-fg, var(--_link-fg)) !important;
|
|
2146
|
+
}
|
|
2120
2147
|
:where(.tui-interface) .tui-card .tui-stretched-link:focus {
|
|
2121
2148
|
outline: none;
|
|
2122
2149
|
}
|
|
@@ -2582,24 +2609,63 @@
|
|
|
2582
2609
|
flex-direction: column;
|
|
2583
2610
|
flex-wrap: nowrap;
|
|
2584
2611
|
}
|
|
2585
|
-
.tui-chip-group:not(.is-direction-stack)
|
|
2612
|
+
.tui-chip-group:not(.is-direction-stack)[data-align=start] {
|
|
2586
2613
|
justify-content: flex-start;
|
|
2587
2614
|
}
|
|
2588
|
-
.tui-chip-group:not(.is-direction-stack)
|
|
2615
|
+
.tui-chip-group:not(.is-direction-stack)[data-align=center] {
|
|
2589
2616
|
justify-content: center;
|
|
2590
2617
|
}
|
|
2591
|
-
.tui-chip-group:not(.is-direction-stack)
|
|
2618
|
+
.tui-chip-group:not(.is-direction-stack)[data-align=end] {
|
|
2592
2619
|
justify-content: flex-end;
|
|
2593
2620
|
}
|
|
2594
|
-
.tui-chip-group.is-direction-stack
|
|
2621
|
+
.tui-chip-group.is-direction-stack[data-align=start] {
|
|
2595
2622
|
align-items: flex-start;
|
|
2596
2623
|
}
|
|
2597
|
-
.tui-chip-group.is-direction-stack
|
|
2624
|
+
.tui-chip-group.is-direction-stack[data-align=center] {
|
|
2598
2625
|
align-items: center;
|
|
2599
2626
|
}
|
|
2600
|
-
.tui-chip-group.is-direction-stack
|
|
2627
|
+
.tui-chip-group.is-direction-stack[data-align=end] {
|
|
2601
2628
|
align-items: flex-end;
|
|
2602
2629
|
}
|
|
2630
|
+
.tui-chips {
|
|
2631
|
+
display: flex;
|
|
2632
|
+
flex-wrap: wrap;
|
|
2633
|
+
gap: var(--_gap, var(--tui-chip-group-gap, var(--tui-spacing-sm)));
|
|
2634
|
+
}
|
|
2635
|
+
.tui-chips.is-density-xs {
|
|
2636
|
+
--_gap: var(--tui-chip-group-gap, var(--tui-spacing-xs));
|
|
2637
|
+
}
|
|
2638
|
+
.tui-chips.is-density-sm {
|
|
2639
|
+
--_gap: var(--tui-chip-group-gap, var(--tui-spacing-sm));
|
|
2640
|
+
}
|
|
2641
|
+
.tui-chips.is-density-md {
|
|
2642
|
+
--_gap: var(--tui-chip-group-gap, var(--tui-spacing-md));
|
|
2643
|
+
}
|
|
2644
|
+
.tui-chips.is-direction-stack {
|
|
2645
|
+
flex-direction: column;
|
|
2646
|
+
flex-wrap: nowrap;
|
|
2647
|
+
}
|
|
2648
|
+
.tui-chips:not(.is-direction-stack)[data-align=start] {
|
|
2649
|
+
justify-content: flex-start;
|
|
2650
|
+
}
|
|
2651
|
+
.tui-chips:not(.is-direction-stack)[data-align=center] {
|
|
2652
|
+
justify-content: center;
|
|
2653
|
+
}
|
|
2654
|
+
.tui-chips:not(.is-direction-stack)[data-align=end] {
|
|
2655
|
+
justify-content: flex-end;
|
|
2656
|
+
}
|
|
2657
|
+
.tui-chips.is-direction-stack[data-align=start] {
|
|
2658
|
+
align-items: flex-start;
|
|
2659
|
+
}
|
|
2660
|
+
.tui-chips.is-direction-stack[data-align=center] {
|
|
2661
|
+
align-items: center;
|
|
2662
|
+
}
|
|
2663
|
+
.tui-chips.is-direction-stack[data-align=end] {
|
|
2664
|
+
align-items: flex-end;
|
|
2665
|
+
}
|
|
2666
|
+
.tui-chips {
|
|
2667
|
+
margin-block-end: var(--tui-spacing-sm);
|
|
2668
|
+
}
|
|
2603
2669
|
.tui-interface .tui-combobox {
|
|
2604
2670
|
position: relative;
|
|
2605
2671
|
display: inline-block;
|
|
@@ -2850,13 +2916,20 @@
|
|
|
2850
2916
|
pointer-events: none;
|
|
2851
2917
|
}
|
|
2852
2918
|
.tui-interface .tui-color-slider {
|
|
2919
|
+
--_height: var(--tui-color-slider-height, 12px);
|
|
2853
2920
|
position: relative;
|
|
2854
|
-
height: var(--
|
|
2921
|
+
height: var(--_height);
|
|
2855
2922
|
border-radius: var(--tui-color-slider-radius, var(--tui-radius-full, 999px));
|
|
2856
2923
|
cursor: pointer;
|
|
2857
2924
|
touch-action: none;
|
|
2858
2925
|
user-select: none;
|
|
2859
2926
|
}
|
|
2927
|
+
.tui-interface .tui-color-slider::before {
|
|
2928
|
+
content: "";
|
|
2929
|
+
position: absolute;
|
|
2930
|
+
inset-block: calc(-1 * max(0px, (1.5rem - var(--_height)) / 2));
|
|
2931
|
+
inset-inline: 0;
|
|
2932
|
+
}
|
|
2860
2933
|
.tui-interface .tui-color-slider:focus-visible {
|
|
2861
2934
|
outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
|
|
2862
2935
|
outline-offset: var(--tui-focus-ring-offset);
|
|
@@ -5366,6 +5439,36 @@
|
|
|
5366
5439
|
padding-inline-start: calc(var(--_spacing) + var(--_offset-start));
|
|
5367
5440
|
padding-inline-end: calc(var(--_spacing) + var(--_offset-end));
|
|
5368
5441
|
}
|
|
5442
|
+
dialog.tui-modal {
|
|
5443
|
+
inline-size: auto;
|
|
5444
|
+
block-size: auto;
|
|
5445
|
+
max-inline-size: none;
|
|
5446
|
+
max-block-size: none;
|
|
5447
|
+
margin: 0;
|
|
5448
|
+
border: 0;
|
|
5449
|
+
background: var(--_backdrop);
|
|
5450
|
+
color: inherit;
|
|
5451
|
+
overscroll-behavior: contain;
|
|
5452
|
+
}
|
|
5453
|
+
dialog.tui-modal:not([open]) {
|
|
5454
|
+
display: none;
|
|
5455
|
+
}
|
|
5456
|
+
dialog.tui-modal::backdrop {
|
|
5457
|
+
background: transparent;
|
|
5458
|
+
}
|
|
5459
|
+
dialog.tui-modal:focus-visible {
|
|
5460
|
+
outline: none;
|
|
5461
|
+
}
|
|
5462
|
+
.tui-modal__embed {
|
|
5463
|
+
display: block;
|
|
5464
|
+
inline-size: 100%;
|
|
5465
|
+
aspect-ratio: 16/9;
|
|
5466
|
+
border: 0;
|
|
5467
|
+
}
|
|
5468
|
+
dialog.tui-modal:focus-visible > .tui-modal__dialog {
|
|
5469
|
+
outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
|
|
5470
|
+
outline-offset: var(--tui-focus-ring-offset);
|
|
5471
|
+
}
|
|
5369
5472
|
.tui-modal__backdrop {
|
|
5370
5473
|
position: fixed;
|
|
5371
5474
|
inset: 0;
|
|
@@ -5539,6 +5642,13 @@
|
|
|
5539
5642
|
transform: none;
|
|
5540
5643
|
opacity: 1;
|
|
5541
5644
|
}
|
|
5645
|
+
dialog.tui-modal {
|
|
5646
|
+
background-color: transparent;
|
|
5647
|
+
transition: background-color var(--tui-motion-duration) var(--tui-motion-timing);
|
|
5648
|
+
}
|
|
5649
|
+
dialog.tui-modal[data-state=open] {
|
|
5650
|
+
background-color: var(--_backdrop);
|
|
5651
|
+
}
|
|
5542
5652
|
}
|
|
5543
5653
|
@media (forced-colors: active) {
|
|
5544
5654
|
.tui-modal__dialog {
|
|
@@ -8461,9 +8571,10 @@
|
|
|
8461
8571
|
--_fg: var(--tui-tooltip-fg, var(--tui-color-fg-inverted));
|
|
8462
8572
|
--_radius: var(--tui-tooltip-radius, var(--tui-radius-sm));
|
|
8463
8573
|
--_z: var(--tui-tooltip-z, var(--tui-layer-top));
|
|
8574
|
+
--_max-width: min(var(--tui-tooltip-max-width, 250px), calc(100vw - (2 * var(--tui-spacing-xs, 8px))));
|
|
8464
8575
|
z-index: var(--_z);
|
|
8465
8576
|
width: max-content;
|
|
8466
|
-
max-width:
|
|
8577
|
+
max-width: var(--_max-width);
|
|
8467
8578
|
padding: 0.35em 0.65em;
|
|
8468
8579
|
pointer-events: auto;
|
|
8469
8580
|
background-color: var(--_bg);
|
|
@@ -8526,6 +8637,9 @@
|
|
|
8526
8637
|
.tui-interface .tui-stretched-link-container {
|
|
8527
8638
|
position: relative !important;
|
|
8528
8639
|
}
|
|
8640
|
+
.tui-interface .tui-stretched-link:any-link {
|
|
8641
|
+
cursor: pointer;
|
|
8642
|
+
}
|
|
8529
8643
|
.tui-interface .tui-stretched-link::after {
|
|
8530
8644
|
content: "" !important;
|
|
8531
8645
|
position: absolute !important;
|
|
@@ -554,6 +554,7 @@
|
|
|
554
554
|
--tui-tooltip-fg
|
|
555
555
|
--tui-tooltip-radius
|
|
556
556
|
--tui-tooltip-z
|
|
557
|
+
--tui-tooltip-max-width
|
|
557
558
|
*/
|
|
558
559
|
|
|
559
560
|
:where(.tui-interface) {
|
|
@@ -785,8 +786,13 @@
|
|
|
785
786
|
--tui-color-fg-inverted: #111928;
|
|
786
787
|
/* Borders */
|
|
787
788
|
--tui-color-border: #2b3443;
|
|
788
|
-
/*
|
|
789
|
-
|
|
789
|
+
/* A true neutral grey rather than the slate gray 500, which tinted every
|
|
790
|
+
control boundary blue against neutral brand palettes. A literal because
|
|
791
|
+
the palette has no neutral ramp, so $neutral does not reach it.
|
|
792
|
+
WCAG 1.4.11 wants 3:1: 3.39 on surface 975, 3.26 on faces 950, 3.06 on
|
|
793
|
+
elevated/muted 900. Only 2% headroom on 900, so re-measure if
|
|
794
|
+
bg-elevated or bg-muted moves. */
|
|
795
|
+
--tui-color-border-control: #666666;
|
|
790
796
|
--tui-color-divider: #202836;
|
|
791
797
|
/* Control fills */
|
|
792
798
|
--tui-color-fill-subtle: #202836;
|
|
@@ -901,8 +907,13 @@
|
|
|
901
907
|
--tui-color-fg-inverted: #111928;
|
|
902
908
|
/* Borders */
|
|
903
909
|
--tui-color-border: #2b3443;
|
|
904
|
-
/*
|
|
905
|
-
|
|
910
|
+
/* A true neutral grey rather than the slate gray 500, which tinted every
|
|
911
|
+
control boundary blue against neutral brand palettes. A literal because
|
|
912
|
+
the palette has no neutral ramp, so $neutral does not reach it.
|
|
913
|
+
WCAG 1.4.11 wants 3:1: 3.39 on surface 975, 3.26 on faces 950, 3.06 on
|
|
914
|
+
elevated/muted 900. Only 2% headroom on 900, so re-measure if
|
|
915
|
+
bg-elevated or bg-muted moves. */
|
|
916
|
+
--tui-color-border-control: #666666;
|
|
906
917
|
--tui-color-divider: #202836;
|
|
907
918
|
/* Control fills */
|
|
908
919
|
--tui-color-fill-subtle: #202836;
|
|
@@ -1199,6 +1210,15 @@
|
|
|
1199
1210
|
text-transform: var(--tui-text-headline-06-transform, var(--tui-text-headline-transform, none));
|
|
1200
1211
|
color: var(--tui-text-headline-06-color, var(--tui-text-headline-color, inherit));
|
|
1201
1212
|
}
|
|
1213
|
+
:where(.tui-interface) .tui-text-style-headline-07 {
|
|
1214
|
+
font-family: var(--tui-text-headline-07-family, var(--tui-text-headline-family, inherit));
|
|
1215
|
+
font-size: var(--tui-text-headline-07-size, 1rem);
|
|
1216
|
+
font-weight: var(--tui-text-headline-07-weight, var(--tui-text-headline-weight, 600));
|
|
1217
|
+
line-height: var(--tui-text-headline-07-line-height, var(--tui-text-headline-line-height, 1.25));
|
|
1218
|
+
letter-spacing: var(--tui-text-headline-07-tracking, var(--tui-text-headline-tracking, normal));
|
|
1219
|
+
text-transform: var(--tui-text-headline-07-transform, var(--tui-text-headline-transform, none));
|
|
1220
|
+
color: var(--tui-text-headline-07-color, var(--tui-text-headline-color, inherit));
|
|
1221
|
+
}
|
|
1202
1222
|
|
|
1203
1223
|
|
|
1204
1224
|
:where(.tui-interface) .tui-accordion {
|
|
@@ -1557,6 +1577,7 @@
|
|
|
1557
1577
|
height: auto;
|
|
1558
1578
|
}
|
|
1559
1579
|
:where(.tui-interface) :where(a).tui-button {
|
|
1580
|
+
cursor: pointer;
|
|
1560
1581
|
text-decoration: none;
|
|
1561
1582
|
}
|
|
1562
1583
|
:where(.tui-interface) :where(a).tui-button[aria-disabled=true] {
|
|
@@ -1657,7 +1678,7 @@
|
|
|
1657
1678
|
--_radius: var(--tui-button-radius, var(--tui-radius-sm));
|
|
1658
1679
|
font-size: var(--tui-button-font-size-xs, var(--tui-typography-size-xs));
|
|
1659
1680
|
padding-block: 0;
|
|
1660
|
-
padding-inline: var(--tui-spacing-
|
|
1681
|
+
padding-inline: var(--tui-spacing-xs);
|
|
1661
1682
|
min-height: var(--tui-control-height-xs, 1.5rem);
|
|
1662
1683
|
min-width: 2em;
|
|
1663
1684
|
}
|
|
@@ -1933,6 +1954,7 @@
|
|
|
1933
1954
|
--_bg: var(--tui-card-bg, var(--tui-color-bg));
|
|
1934
1955
|
--_fg: var(--tui-card-fg, var(--tui-color-fg));
|
|
1935
1956
|
--_fg-interact: var(--_fg);
|
|
1957
|
+
--_link-fg: var(--_fg);
|
|
1936
1958
|
--_border: var(--tui-card-border, var(--tui-color-border));
|
|
1937
1959
|
--_border-width: var(--tui-card-border-width, var(--tui-border-width));
|
|
1938
1960
|
--_border-interact: var(--tui-card-border-interact, var(--tui-theme-primary-base));
|
|
@@ -2102,11 +2124,13 @@
|
|
|
2102
2124
|
--_border: var(--_border-interact);
|
|
2103
2125
|
background-color: var(--_bg-interact);
|
|
2104
2126
|
color: var(--_fg-interact);
|
|
2127
|
+
--_link-fg: var(--_fg-interact);
|
|
2105
2128
|
}
|
|
2106
2129
|
:where(.tui-interface) .tui-card.has-interaction:focus-visible, :where(.tui-interface) .tui-card.has-interaction:has(:focus-visible) {
|
|
2107
2130
|
--_border: var(--_border-interact);
|
|
2108
2131
|
background-color: var(--_bg-interact);
|
|
2109
2132
|
color: var(--_fg-interact);
|
|
2133
|
+
--_link-fg: var(--_fg-interact);
|
|
2110
2134
|
}
|
|
2111
2135
|
:where(.tui-interface) .tui-card.has-interaction:active, :where(.tui-interface) .tui-card.has-interaction.active {
|
|
2112
2136
|
--_border: var(--tui-card-border-active, var(--tui-theme-primary-soft));
|
|
@@ -2117,6 +2141,9 @@
|
|
|
2117
2141
|
:where(.tui-interface) .tui-card.has-interaction.is-style-elevated:hover {
|
|
2118
2142
|
box-shadow: var(--_shadow-interact);
|
|
2119
2143
|
}
|
|
2144
|
+
:where(.tui-interface) .tui-card .tui-stretched-link {
|
|
2145
|
+
color: var(--tui-card-link-fg, var(--_link-fg)) !important;
|
|
2146
|
+
}
|
|
2120
2147
|
:where(.tui-interface) .tui-card .tui-stretched-link:focus {
|
|
2121
2148
|
outline: none;
|
|
2122
2149
|
}
|
|
@@ -2582,24 +2609,63 @@
|
|
|
2582
2609
|
flex-direction: column;
|
|
2583
2610
|
flex-wrap: nowrap;
|
|
2584
2611
|
}
|
|
2585
|
-
.tui-chip-group:not(.is-direction-stack)
|
|
2612
|
+
.tui-chip-group:not(.is-direction-stack)[data-align=start] {
|
|
2586
2613
|
justify-content: flex-start;
|
|
2587
2614
|
}
|
|
2588
|
-
.tui-chip-group:not(.is-direction-stack)
|
|
2615
|
+
.tui-chip-group:not(.is-direction-stack)[data-align=center] {
|
|
2589
2616
|
justify-content: center;
|
|
2590
2617
|
}
|
|
2591
|
-
.tui-chip-group:not(.is-direction-stack)
|
|
2618
|
+
.tui-chip-group:not(.is-direction-stack)[data-align=end] {
|
|
2592
2619
|
justify-content: flex-end;
|
|
2593
2620
|
}
|
|
2594
|
-
.tui-chip-group.is-direction-stack
|
|
2621
|
+
.tui-chip-group.is-direction-stack[data-align=start] {
|
|
2595
2622
|
align-items: flex-start;
|
|
2596
2623
|
}
|
|
2597
|
-
.tui-chip-group.is-direction-stack
|
|
2624
|
+
.tui-chip-group.is-direction-stack[data-align=center] {
|
|
2598
2625
|
align-items: center;
|
|
2599
2626
|
}
|
|
2600
|
-
.tui-chip-group.is-direction-stack
|
|
2627
|
+
.tui-chip-group.is-direction-stack[data-align=end] {
|
|
2601
2628
|
align-items: flex-end;
|
|
2602
2629
|
}
|
|
2630
|
+
.tui-chips {
|
|
2631
|
+
display: flex;
|
|
2632
|
+
flex-wrap: wrap;
|
|
2633
|
+
gap: var(--_gap, var(--tui-chip-group-gap, var(--tui-spacing-sm)));
|
|
2634
|
+
}
|
|
2635
|
+
.tui-chips.is-density-xs {
|
|
2636
|
+
--_gap: var(--tui-chip-group-gap, var(--tui-spacing-xs));
|
|
2637
|
+
}
|
|
2638
|
+
.tui-chips.is-density-sm {
|
|
2639
|
+
--_gap: var(--tui-chip-group-gap, var(--tui-spacing-sm));
|
|
2640
|
+
}
|
|
2641
|
+
.tui-chips.is-density-md {
|
|
2642
|
+
--_gap: var(--tui-chip-group-gap, var(--tui-spacing-md));
|
|
2643
|
+
}
|
|
2644
|
+
.tui-chips.is-direction-stack {
|
|
2645
|
+
flex-direction: column;
|
|
2646
|
+
flex-wrap: nowrap;
|
|
2647
|
+
}
|
|
2648
|
+
.tui-chips:not(.is-direction-stack)[data-align=start] {
|
|
2649
|
+
justify-content: flex-start;
|
|
2650
|
+
}
|
|
2651
|
+
.tui-chips:not(.is-direction-stack)[data-align=center] {
|
|
2652
|
+
justify-content: center;
|
|
2653
|
+
}
|
|
2654
|
+
.tui-chips:not(.is-direction-stack)[data-align=end] {
|
|
2655
|
+
justify-content: flex-end;
|
|
2656
|
+
}
|
|
2657
|
+
.tui-chips.is-direction-stack[data-align=start] {
|
|
2658
|
+
align-items: flex-start;
|
|
2659
|
+
}
|
|
2660
|
+
.tui-chips.is-direction-stack[data-align=center] {
|
|
2661
|
+
align-items: center;
|
|
2662
|
+
}
|
|
2663
|
+
.tui-chips.is-direction-stack[data-align=end] {
|
|
2664
|
+
align-items: flex-end;
|
|
2665
|
+
}
|
|
2666
|
+
.tui-chips {
|
|
2667
|
+
margin-block-end: var(--tui-spacing-sm);
|
|
2668
|
+
}
|
|
2603
2669
|
.tui-interface .tui-combobox {
|
|
2604
2670
|
position: relative;
|
|
2605
2671
|
display: inline-block;
|
|
@@ -2850,13 +2916,20 @@
|
|
|
2850
2916
|
pointer-events: none;
|
|
2851
2917
|
}
|
|
2852
2918
|
.tui-interface .tui-color-slider {
|
|
2919
|
+
--_height: var(--tui-color-slider-height, 12px);
|
|
2853
2920
|
position: relative;
|
|
2854
|
-
height: var(--
|
|
2921
|
+
height: var(--_height);
|
|
2855
2922
|
border-radius: var(--tui-color-slider-radius, var(--tui-radius-full, 999px));
|
|
2856
2923
|
cursor: pointer;
|
|
2857
2924
|
touch-action: none;
|
|
2858
2925
|
user-select: none;
|
|
2859
2926
|
}
|
|
2927
|
+
.tui-interface .tui-color-slider::before {
|
|
2928
|
+
content: "";
|
|
2929
|
+
position: absolute;
|
|
2930
|
+
inset-block: calc(-1 * max(0px, (1.5rem - var(--_height)) / 2));
|
|
2931
|
+
inset-inline: 0;
|
|
2932
|
+
}
|
|
2860
2933
|
.tui-interface .tui-color-slider:focus-visible {
|
|
2861
2934
|
outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
|
|
2862
2935
|
outline-offset: var(--tui-focus-ring-offset);
|
|
@@ -5366,6 +5439,36 @@
|
|
|
5366
5439
|
padding-inline-start: calc(var(--_spacing) + var(--_offset-start));
|
|
5367
5440
|
padding-inline-end: calc(var(--_spacing) + var(--_offset-end));
|
|
5368
5441
|
}
|
|
5442
|
+
dialog.tui-modal {
|
|
5443
|
+
inline-size: auto;
|
|
5444
|
+
block-size: auto;
|
|
5445
|
+
max-inline-size: none;
|
|
5446
|
+
max-block-size: none;
|
|
5447
|
+
margin: 0;
|
|
5448
|
+
border: 0;
|
|
5449
|
+
background: var(--_backdrop);
|
|
5450
|
+
color: inherit;
|
|
5451
|
+
overscroll-behavior: contain;
|
|
5452
|
+
}
|
|
5453
|
+
dialog.tui-modal:not([open]) {
|
|
5454
|
+
display: none;
|
|
5455
|
+
}
|
|
5456
|
+
dialog.tui-modal::backdrop {
|
|
5457
|
+
background: transparent;
|
|
5458
|
+
}
|
|
5459
|
+
dialog.tui-modal:focus-visible {
|
|
5460
|
+
outline: none;
|
|
5461
|
+
}
|
|
5462
|
+
.tui-modal__embed {
|
|
5463
|
+
display: block;
|
|
5464
|
+
inline-size: 100%;
|
|
5465
|
+
aspect-ratio: 16/9;
|
|
5466
|
+
border: 0;
|
|
5467
|
+
}
|
|
5468
|
+
dialog.tui-modal:focus-visible > .tui-modal__dialog {
|
|
5469
|
+
outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
|
|
5470
|
+
outline-offset: var(--tui-focus-ring-offset);
|
|
5471
|
+
}
|
|
5369
5472
|
.tui-modal__backdrop {
|
|
5370
5473
|
position: fixed;
|
|
5371
5474
|
inset: 0;
|
|
@@ -5539,6 +5642,13 @@
|
|
|
5539
5642
|
transform: none;
|
|
5540
5643
|
opacity: 1;
|
|
5541
5644
|
}
|
|
5645
|
+
dialog.tui-modal {
|
|
5646
|
+
background-color: transparent;
|
|
5647
|
+
transition: background-color var(--tui-motion-duration) var(--tui-motion-timing);
|
|
5648
|
+
}
|
|
5649
|
+
dialog.tui-modal[data-state=open] {
|
|
5650
|
+
background-color: var(--_backdrop);
|
|
5651
|
+
}
|
|
5542
5652
|
}
|
|
5543
5653
|
@media (forced-colors: active) {
|
|
5544
5654
|
.tui-modal__dialog {
|
|
@@ -8461,9 +8571,10 @@
|
|
|
8461
8571
|
--_fg: var(--tui-tooltip-fg, var(--tui-color-fg-inverted));
|
|
8462
8572
|
--_radius: var(--tui-tooltip-radius, var(--tui-radius-sm));
|
|
8463
8573
|
--_z: var(--tui-tooltip-z, var(--tui-layer-top));
|
|
8574
|
+
--_max-width: min(var(--tui-tooltip-max-width, 250px), calc(100vw - (2 * var(--tui-spacing-xs, 8px))));
|
|
8464
8575
|
z-index: var(--_z);
|
|
8465
8576
|
width: max-content;
|
|
8466
|
-
max-width:
|
|
8577
|
+
max-width: var(--_max-width);
|
|
8467
8578
|
padding: 0.35em 0.65em;
|
|
8468
8579
|
pointer-events: auto;
|
|
8469
8580
|
background-color: var(--_bg);
|
|
@@ -8526,6 +8637,9 @@
|
|
|
8526
8637
|
.tui-interface .tui-stretched-link-container {
|
|
8527
8638
|
position: relative !important;
|
|
8528
8639
|
}
|
|
8640
|
+
.tui-interface .tui-stretched-link:any-link {
|
|
8641
|
+
cursor: pointer;
|
|
8642
|
+
}
|
|
8529
8643
|
.tui-interface .tui-stretched-link::after {
|
|
8530
8644
|
content: "" !important;
|
|
8531
8645
|
position: absolute !important;
|