@threadlabs/looma 0.23.22 → 0.23.23
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/ui-button/ui-button.html +68 -2
- package/components/ui-separator/ui-separator.html +8 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/styles/ui-button.css +39 -0
- package/styles/ui-separator.css +6 -2
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +126 -10
- package/vanilla/UiSeparator.d.ts +1 -0
- package/vanilla/UiSeparator.js +6 -4
- package/vue/UiButton.d.ts +18 -6
- package/vue/UiButton.vue +269 -8
- package/vue/UiListItem.d.ts +1 -1
- package/vue/UiSection.d.ts +1 -1
- package/vue/UiSeparator.d.ts +9 -0
- package/vue/UiSeparator.vue +28 -2
- package/vue/chunks/UiButton.js +196 -12
- package/vue/chunks/UiSeparator.js +29 -2
- package/vue/components.css +88 -49
package/vue/components.css
CHANGED
|
@@ -824,7 +824,7 @@ svg[data-v-1012d0f2],
|
|
|
824
824
|
syntax: "*";
|
|
825
825
|
inherits: false;
|
|
826
826
|
}
|
|
827
|
-
[data-component~="ui-button"][data-v-
|
|
827
|
+
[data-component~="ui-button"][data-v-e0bdc48b] {
|
|
828
828
|
--_hue: var(--ui-accent);
|
|
829
829
|
--_hue-hover: var(--ui-accent-hover);
|
|
830
830
|
--_hue-active: var(--ui-accent-active);
|
|
@@ -843,15 +843,15 @@ svg[data-v-1012d0f2],
|
|
|
843
843
|
vertical-align: middle;
|
|
844
844
|
color: var(--_tone-text);
|
|
845
845
|
}
|
|
846
|
-
[data-component~="ui-button"][data-ui-button-state~="align=start"][data-v-
|
|
846
|
+
[data-component~="ui-button"][data-ui-button-state~="align=start"][data-v-e0bdc48b] {
|
|
847
847
|
justify-content: flex-start;
|
|
848
848
|
text-align: start;
|
|
849
849
|
}
|
|
850
|
-
[data-component~="ui-button"][data-ui-button-state~="stretch"][data-v-
|
|
850
|
+
[data-component~="ui-button"][data-ui-button-state~="stretch"][data-v-e0bdc48b] {
|
|
851
851
|
display: flex;
|
|
852
852
|
inline-size: 100%;
|
|
853
853
|
}
|
|
854
|
-
[data-component~="ui-button"][data-v-
|
|
854
|
+
[data-component~="ui-button"][data-v-e0bdc48b] {
|
|
855
855
|
appearance: none;
|
|
856
856
|
min-block-size: var(--ui-button-min-block-size, var(--ui-control-size-md));
|
|
857
857
|
border-style: solid;
|
|
@@ -879,65 +879,101 @@ svg[data-v-1012d0f2],
|
|
|
879
879
|
}
|
|
880
880
|
|
|
881
881
|
/* An anchor keeps the boxed button look even when an app styles ordinary links. */
|
|
882
|
-
[data-component~="ui-button"][data-v-
|
|
882
|
+
[data-component~="ui-button"][data-v-e0bdc48b]:is(a) {
|
|
883
883
|
text-decoration: none;
|
|
884
884
|
}
|
|
885
|
-
.spinner-wrap[data-v-
|
|
885
|
+
.spinner-wrap[data-v-e0bdc48b] {
|
|
886
886
|
display: inline-flex;
|
|
887
887
|
flex: none;
|
|
888
888
|
margin-inline-end: var(--ui-space-2);
|
|
889
889
|
vertical-align: middle;
|
|
890
890
|
}
|
|
891
891
|
@supports (text-box-trim: trim-both) {
|
|
892
|
-
[data-component~="ui-button"][data-v-
|
|
892
|
+
[data-component~="ui-button"][data-v-e0bdc48b] {
|
|
893
893
|
text-box-trim: trim-both;
|
|
894
894
|
text-box-edge: cap alphabetic;
|
|
895
895
|
}
|
|
896
896
|
}
|
|
897
|
-
[data-component~="ui-button"][data-ui-button-state~="size=xs"][data-v-
|
|
897
|
+
[data-component~="ui-button"][data-ui-button-state~="size=xs"][data-v-e0bdc48b] {
|
|
898
898
|
min-block-size: 1.5rem;
|
|
899
899
|
padding: calc(var(--ui-space-0-5) * 1.5) calc(var(--ui-space-1) * 1.25);
|
|
900
900
|
font-size: var(--ui-font-size-xs);
|
|
901
901
|
}
|
|
902
|
-
[data-component~="ui-button"][data-ui-button-state~="shape=pill"][data-v-
|
|
902
|
+
[data-component~="ui-button"][data-ui-button-state~="shape=pill"][data-v-e0bdc48b] {
|
|
903
903
|
border-radius: var(--ui-button-radius, var(--ui-radius-round));
|
|
904
904
|
}
|
|
905
|
-
[data-component~="ui-button"][data-ui-button-state~="size=sm"][data-v-
|
|
905
|
+
[data-component~="ui-button"][data-ui-button-state~="size=sm"][data-v-e0bdc48b] {
|
|
906
906
|
min-block-size: var(--ui-control-size-sm);
|
|
907
907
|
padding: var(--ui-space-1) var(--ui-space-2);
|
|
908
908
|
font-size: var(--ui-font-size-sm);
|
|
909
909
|
}
|
|
910
|
-
[data-component~="ui-button"][data-ui-button-state~="size=lg"][data-v-
|
|
910
|
+
[data-component~="ui-button"][data-ui-button-state~="size=lg"][data-v-e0bdc48b] {
|
|
911
911
|
min-block-size: var(--ui-control-size-lg);
|
|
912
912
|
padding: var(--ui-space-3) var(--ui-space-4);
|
|
913
913
|
font-size: var(--ui-font-size-md);
|
|
914
914
|
}
|
|
915
915
|
|
|
916
|
+
/* Card actions inherit Button's palette and behavior; only their shared layout changes.
|
|
917
|
+
The icon may contain any decorative composition. Empty icons remove their column. */
|
|
918
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=card"][data-v-e0bdc48b] {
|
|
919
|
+
display: grid;
|
|
920
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
921
|
+
align-items: start;
|
|
922
|
+
gap: var(--ui-space-3);
|
|
923
|
+
inline-size: 100%;
|
|
924
|
+
min-block-size: max(var(--ui-control-min-block-size), var(--ui-control-size-md));
|
|
925
|
+
text-align: start;
|
|
926
|
+
white-space: normal;
|
|
927
|
+
box-shadow: none;
|
|
928
|
+
background-image: none;
|
|
929
|
+
}
|
|
930
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=card"][data-ui-button-state~="size=lg"][data-v-e0bdc48b] {
|
|
931
|
+
min-block-size: max(var(--ui-control-min-block-size), var(--ui-control-size-lg));
|
|
932
|
+
}
|
|
933
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=card"][data-v-e0bdc48b]:has(.card-icon:empty) {
|
|
934
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
935
|
+
}
|
|
936
|
+
.card-icon[data-v-e0bdc48b] {
|
|
937
|
+
display: flex;
|
|
938
|
+
align-items: flex-start;
|
|
939
|
+
}
|
|
940
|
+
.card-icon[data-v-e0bdc48b]:empty {
|
|
941
|
+
display: none;
|
|
942
|
+
}
|
|
943
|
+
.card-content[data-v-e0bdc48b] {
|
|
944
|
+
min-inline-size: 0;
|
|
945
|
+
}
|
|
946
|
+
.card-action[data-v-e0bdc48b] {
|
|
947
|
+
display: flex;
|
|
948
|
+
align-items: center;
|
|
949
|
+
align-self: center;
|
|
950
|
+
}
|
|
951
|
+
|
|
916
952
|
/* A link is never :enabled, so interactive states test "not unavailable" instead: for a button that
|
|
917
953
|
is exactly :enabled, at the same specificity, and it also matches a link that can be followed. */
|
|
918
|
-
[data-component~="ui-button"][data-v-
|
|
954
|
+
[data-component~="ui-button"][data-v-e0bdc48b]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
919
955
|
border-color: var(--ui-button-hover-border, var(--_tone-hover));
|
|
920
956
|
background-color: var(--ui-button-hover-surface, oklch(from var(--_tone) l c h / 12%));
|
|
921
957
|
}
|
|
922
958
|
|
|
923
959
|
/* Pressed reads as pressed in: the highlight goes, and the shadow moves inside. */
|
|
924
|
-
[data-component~="ui-button"][data-v-
|
|
960
|
+
[data-component~="ui-button"][data-v-e0bdc48b]:active:not(:disabled, [aria-disabled="true"]) {
|
|
925
961
|
background-color: var(--ui-button-active-surface, oklch(from var(--_tone) l c h / 18%));
|
|
926
962
|
background-image: none;
|
|
927
963
|
box-shadow: var(--ui-pressed);
|
|
928
964
|
}
|
|
929
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=solid"][data-v-
|
|
930
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=danger"][data-v-
|
|
965
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=solid"][data-v-e0bdc48b],
|
|
966
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=danger"][data-v-e0bdc48b] {
|
|
931
967
|
border-color: var(--_tone);
|
|
932
968
|
background-color: var(--_tone);
|
|
933
969
|
color: var(--_on-tone);
|
|
934
970
|
box-shadow: var(--ui-button-solid-shadow, var(--ui-raised));
|
|
935
971
|
}
|
|
936
|
-
:is([data-component~="ui-button"][data-ui-button-state~="variant=solid"][data-v-
|
|
972
|
+
:is([data-component~="ui-button"][data-ui-button-state~="variant=solid"][data-v-e0bdc48b], [data-component~="ui-button"][data-ui-button-state~="variant=danger"][data-v-e0bdc48b]):hover:not(:disabled, [aria-disabled="true"]) {
|
|
937
973
|
background-color: var(--_tone-hover);
|
|
938
974
|
border-color: var(--_tone-hover);
|
|
939
975
|
}
|
|
940
|
-
:is([data-component~="ui-button"][data-ui-button-state~="variant=solid"][data-v-
|
|
976
|
+
:is([data-component~="ui-button"][data-ui-button-state~="variant=solid"][data-v-e0bdc48b], [data-component~="ui-button"][data-ui-button-state~="variant=danger"][data-v-e0bdc48b]):active:not(:disabled, [aria-disabled="true"]) {
|
|
941
977
|
background-color: var(--_tone-active);
|
|
942
978
|
border-color: var(--_tone-active);
|
|
943
979
|
background-image: none;
|
|
@@ -946,43 +982,43 @@ svg[data-v-1012d0f2],
|
|
|
946
982
|
|
|
947
983
|
/* Tone is the colour, variant is the volume. Every pairing works: a danger outline is a
|
|
948
984
|
destructive secondary action, not a special case. */
|
|
949
|
-
[data-component~="ui-button"][data-ui-button-state~="tone=neutral"][data-v-
|
|
985
|
+
[data-component~="ui-button"][data-ui-button-state~="tone=neutral"][data-v-e0bdc48b] {
|
|
950
986
|
--_hue: var(--ui-text);
|
|
951
987
|
--_hue-hover: var(--ui-text);
|
|
952
988
|
--_hue-active: var(--ui-text);
|
|
953
989
|
--_hue-text: var(--ui-text);
|
|
954
990
|
--_on-hue: var(--ui-surface);
|
|
955
991
|
}
|
|
956
|
-
[data-component~="ui-button"][data-ui-button-state~="tone=danger"][data-v-
|
|
957
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=danger"][data-v-
|
|
992
|
+
[data-component~="ui-button"][data-ui-button-state~="tone=danger"][data-v-e0bdc48b],
|
|
993
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=danger"][data-v-e0bdc48b] {
|
|
958
994
|
--_hue: var(--ui-danger);
|
|
959
995
|
--_hue-hover: var(--ui-danger-hover);
|
|
960
996
|
--_hue-active: var(--ui-danger-hover);
|
|
961
997
|
--_hue-text: var(--ui-danger-hover);
|
|
962
998
|
--_on-hue: var(--ui-on-danger);
|
|
963
999
|
}
|
|
964
|
-
[data-component~="ui-button"][data-ui-button-state~="tone=success"][data-v-
|
|
1000
|
+
[data-component~="ui-button"][data-ui-button-state~="tone=success"][data-v-e0bdc48b] {
|
|
965
1001
|
--_hue: var(--ui-success);
|
|
966
1002
|
--_hue-hover: color-mix(in srgb, var(--ui-success) 85%, #000);
|
|
967
1003
|
--_hue-active: color-mix(in srgb, var(--ui-success) 75%, #000);
|
|
968
1004
|
--_hue-text: color-mix(in srgb, var(--ui-success) 85%, #000);
|
|
969
1005
|
--_on-hue: var(--ui-surface);
|
|
970
1006
|
}
|
|
971
|
-
[data-component~="ui-button"][data-ui-button-state~="tone=warning"][data-v-
|
|
1007
|
+
[data-component~="ui-button"][data-ui-button-state~="tone=warning"][data-v-e0bdc48b] {
|
|
972
1008
|
--_hue: var(--ui-warning);
|
|
973
1009
|
--_hue-hover: color-mix(in srgb, var(--ui-warning) 85%, #000);
|
|
974
1010
|
--_hue-active: color-mix(in srgb, var(--ui-warning) 75%, #000);
|
|
975
1011
|
--_hue-text: color-mix(in srgb, var(--ui-warning) 85%, #000);
|
|
976
1012
|
--_on-hue: var(--ui-surface);
|
|
977
1013
|
}
|
|
978
|
-
[data-component~="ui-button"][data-ui-button-state~="tone=info"][data-v-
|
|
1014
|
+
[data-component~="ui-button"][data-ui-button-state~="tone=info"][data-v-e0bdc48b] {
|
|
979
1015
|
--_hue: var(--ui-info);
|
|
980
1016
|
--_hue-hover: color-mix(in srgb, var(--ui-info) 85%, #000);
|
|
981
1017
|
--_hue-active: color-mix(in srgb, var(--ui-info) 75%, #000);
|
|
982
1018
|
--_hue-text: color-mix(in srgb, var(--ui-info) 85%, #000);
|
|
983
1019
|
--_on-hue: var(--ui-surface);
|
|
984
1020
|
}
|
|
985
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=ghost"][data-v-
|
|
1021
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=ghost"][data-v-e0bdc48b] {
|
|
986
1022
|
border-color: transparent;
|
|
987
1023
|
background: transparent;
|
|
988
1024
|
box-shadow: none;
|
|
@@ -990,14 +1026,14 @@ svg[data-v-1012d0f2],
|
|
|
990
1026
|
}
|
|
991
1027
|
|
|
992
1028
|
/* Tints derive from the text colour, not a surface token, so hover and press show on any background. */
|
|
993
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=ghost"][data-v-
|
|
1029
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=ghost"][data-v-e0bdc48b]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
994
1030
|
background-color: var(--ui-button-ghost-hover-surface, oklch(from var(--_tone) l c h / 10%));
|
|
995
1031
|
border-color: transparent;
|
|
996
1032
|
}
|
|
997
1033
|
|
|
998
1034
|
/* Pressed, or holding its menu open, a ghost button sinks slightly: a light surface with a faint
|
|
999
1035
|
edge and a soft inner shadow. Lighter than hover, so an open menu's trigger never reads as heavy. */
|
|
1000
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=ghost"][data-v-
|
|
1036
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=ghost"][data-v-e0bdc48b]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]) {
|
|
1001
1037
|
background-color: var(
|
|
1002
1038
|
--ui-button-ghost-active-surface,
|
|
1003
1039
|
color-mix(in oklch, var(--ui-surface), var(--_tone) 3%)
|
|
@@ -1009,13 +1045,13 @@ svg[data-v-1012d0f2],
|
|
|
1009
1045
|
}
|
|
1010
1046
|
|
|
1011
1047
|
/* A soft halo that transitions in with the other box-shadow changes, layered on the raised shadow. */
|
|
1012
|
-
[data-component~="ui-button"][data-v-
|
|
1048
|
+
[data-component~="ui-button"][data-v-e0bdc48b]:focus-visible {
|
|
1013
1049
|
outline: none;
|
|
1014
1050
|
box-shadow:
|
|
1015
1051
|
var(--ui-button-shadow, var(--ui-raised)),
|
|
1016
1052
|
var(--ui-focus-halo);
|
|
1017
1053
|
}
|
|
1018
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=solid"][data-v-
|
|
1054
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=solid"][data-v-e0bdc48b]:focus-visible {
|
|
1019
1055
|
box-shadow:
|
|
1020
1056
|
var(--ui-button-solid-shadow, var(--ui-raised)),
|
|
1021
1057
|
var(--ui-focus-halo);
|
|
@@ -1023,7 +1059,7 @@ svg[data-v-1012d0f2],
|
|
|
1023
1059
|
|
|
1024
1060
|
/* A loading action stays visually active; only an explicitly disabled action takes the
|
|
1025
1061
|
neutral disabled palette. Its flat surface and muted ink make the state unambiguous. */
|
|
1026
|
-
[data-component~="ui-button"][data-v-
|
|
1062
|
+
[data-component~="ui-button"][data-v-e0bdc48b]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
|
|
1027
1063
|
border-color: var(--ui-disabled-border);
|
|
1028
1064
|
background-color: var(--ui-disabled-surface);
|
|
1029
1065
|
color: var(--ui-disabled-text);
|
|
@@ -1033,19 +1069,19 @@ svg[data-v-1012d0f2],
|
|
|
1033
1069
|
background-image: none;
|
|
1034
1070
|
box-shadow: none;
|
|
1035
1071
|
}
|
|
1036
|
-
:is([data-component~="ui-button"][data-ui-button-state~="loading"][data-v-
|
|
1072
|
+
:is([data-component~="ui-button"][data-ui-button-state~="loading"][data-v-e0bdc48b], [data-component~="ui-button"][data-ui-button-state~="pending"][data-v-e0bdc48b]):focus-visible {
|
|
1037
1073
|
box-shadow: var(--ui-focus-halo);
|
|
1038
1074
|
}
|
|
1039
1075
|
|
|
1040
1076
|
/* Ghost keeps no border, but gains the same neutral surface as other disabled buttons. */
|
|
1041
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=ghost"][data-v-
|
|
1077
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=ghost"][data-v-e0bdc48b]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
|
|
1042
1078
|
background-color: var(--ui-disabled-surface);
|
|
1043
1079
|
border-color: transparent;
|
|
1044
1080
|
}
|
|
1045
1081
|
|
|
1046
1082
|
/* The size states outrank :host, so sm is named too, or a small button would stay small. */
|
|
1047
1083
|
@media (pointer: coarse) {
|
|
1048
|
-
[data-component~="ui-button"][data-v-
|
|
1084
|
+
[data-component~="ui-button"][data-v-e0bdc48b], [data-component~="ui-button"][data-ui-button-state~="size=sm"][data-v-e0bdc48b] {
|
|
1049
1085
|
min-block-size: var(--ui-control-min-block-size);
|
|
1050
1086
|
}
|
|
1051
1087
|
}
|
|
@@ -1056,15 +1092,15 @@ svg[data-v-1012d0f2],
|
|
|
1056
1092
|
area. xs sits inside a line of text the same way, so it keeps its size and gains the area too.
|
|
1057
1093
|
Only these need it: a hit area on every button would reach over its neighbours. */
|
|
1058
1094
|
html[data-ui-input-modality="touch"]
|
|
1059
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=link"][data-v-
|
|
1095
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=link"][data-v-e0bdc48b],
|
|
1060
1096
|
html[data-ui-input-modality="touch"]
|
|
1061
|
-
[data-component~="ui-button"][data-ui-button-state~="size=xs"][data-v-
|
|
1097
|
+
[data-component~="ui-button"][data-ui-button-state~="size=xs"][data-v-e0bdc48b] {
|
|
1062
1098
|
position: relative;
|
|
1063
1099
|
}
|
|
1064
1100
|
html[data-ui-input-modality="touch"]
|
|
1065
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=link"][data-v-
|
|
1101
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=link"][data-v-e0bdc48b]::after,
|
|
1066
1102
|
html[data-ui-input-modality="touch"]
|
|
1067
|
-
[data-component~="ui-button"][data-ui-button-state~="size=xs"][data-v-
|
|
1103
|
+
[data-component~="ui-button"][data-ui-button-state~="size=xs"][data-v-e0bdc48b]::after {
|
|
1068
1104
|
position: absolute;
|
|
1069
1105
|
inset: 50% auto auto 50%;
|
|
1070
1106
|
inline-size: max(100%, var(--ui-control-min-block-size));
|
|
@@ -1075,7 +1111,7 @@ html[data-ui-input-modality="touch"]
|
|
|
1075
1111
|
|
|
1076
1112
|
/* Link: an inline text action. No box, padding, or minimum height (inline targets are exempt under
|
|
1077
1113
|
WCAG 2.5.8); the inherited font; an underline that strengthens on hover; a visible focus ring. */
|
|
1078
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=link"][data-v-
|
|
1114
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=link"][data-v-e0bdc48b] {
|
|
1079
1115
|
display: inline;
|
|
1080
1116
|
min-block-size: 0;
|
|
1081
1117
|
padding: 0;
|
|
@@ -1093,21 +1129,21 @@ html[data-ui-input-modality="touch"]
|
|
|
1093
1129
|
color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1094
1130
|
text-decoration-color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
1095
1131
|
}
|
|
1096
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=link"][data-v-
|
|
1132
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=link"][data-v-e0bdc48b]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
1097
1133
|
color: var(--ui-button-link-hover-text, var(--ui-text-primary));
|
|
1098
1134
|
text-decoration-color: currentColor;
|
|
1099
1135
|
background: none;
|
|
1100
1136
|
transform: none;
|
|
1101
1137
|
}
|
|
1102
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=link"][data-v-
|
|
1138
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=link"][data-v-e0bdc48b]:active:not(:disabled, [aria-disabled="true"]) {
|
|
1103
1139
|
background: none;
|
|
1104
1140
|
transform: none;
|
|
1105
1141
|
}
|
|
1106
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=link"][data-v-
|
|
1142
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=link"][data-v-e0bdc48b]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
|
|
1107
1143
|
background: none;
|
|
1108
1144
|
border-color: transparent;
|
|
1109
1145
|
}
|
|
1110
|
-
[data-component~="ui-button"][data-ui-button-state~="variant=link"][data-v-
|
|
1146
|
+
[data-component~="ui-button"][data-ui-button-state~="variant=link"][data-v-e0bdc48b]:focus-visible {
|
|
1111
1147
|
box-shadow: none;
|
|
1112
1148
|
/* Fallback keeps the ring if the token is missing: an unresolved var() would void the outline. */
|
|
1113
1149
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
@@ -1115,7 +1151,7 @@ html[data-ui-input-modality="touch"]
|
|
|
1115
1151
|
}
|
|
1116
1152
|
|
|
1117
1153
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1118
|
-
[data-component~="ui-button"][hidden][data-v-
|
|
1154
|
+
[data-component~="ui-button"][hidden][data-v-e0bdc48b] {
|
|
1119
1155
|
display: none;
|
|
1120
1156
|
}
|
|
1121
1157
|
|
|
@@ -7183,21 +7219,24 @@ dialog[data-v-d317023c] {
|
|
|
7183
7219
|
}
|
|
7184
7220
|
|
|
7185
7221
|
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
7186
|
-
[data-component~="ui-separator"][data-v-
|
|
7222
|
+
[data-component~="ui-separator"][data-v-a49de10a] {
|
|
7187
7223
|
box-sizing: border-box;
|
|
7188
7224
|
align-self: stretch;
|
|
7189
7225
|
margin: 0;
|
|
7190
7226
|
border: 0;
|
|
7191
7227
|
border-block-start: var(--ui-border-width) solid
|
|
7192
|
-
var(--ui-separator-color, var(--ui-border-divider));
|
|
7228
|
+
var(--ui-separator-color, var(--_separator-color, var(--ui-border-divider)));
|
|
7229
|
+
}
|
|
7230
|
+
[data-component~="ui-separator"][data-ui-separator-state~="emphasis=strong"][data-v-a49de10a] {
|
|
7231
|
+
--_separator-color: var(--ui-border-strong);
|
|
7193
7232
|
}
|
|
7194
|
-
[data-component~="ui-separator"][aria-orientation="vertical"][data-v-
|
|
7233
|
+
[data-component~="ui-separator"][aria-orientation="vertical"][data-v-a49de10a] {
|
|
7195
7234
|
block-size: auto;
|
|
7196
7235
|
border-block-start: 0;
|
|
7197
7236
|
border-inline-start: var(--ui-border-width) solid
|
|
7198
|
-
var(--ui-separator-color, var(--ui-border-divider));
|
|
7237
|
+
var(--ui-separator-color, var(--_separator-color, var(--ui-border-divider)));
|
|
7199
7238
|
}
|
|
7200
|
-
[data-component~="ui-separator"][data-ui-separator-state~="selectable"][data-v-
|
|
7239
|
+
[data-component~="ui-separator"][data-ui-separator-state~="selectable"][data-v-a49de10a] {
|
|
7201
7240
|
min-block-size: var(--ui-control-size-sm);
|
|
7202
7241
|
border: 0;
|
|
7203
7242
|
background: linear-gradient(
|
|
@@ -7206,10 +7245,10 @@ dialog[data-v-d317023c] {
|
|
|
7206
7245
|
) center / 100% var(--ui-border-width) no-repeat;
|
|
7207
7246
|
cursor: pointer;
|
|
7208
7247
|
}
|
|
7209
|
-
[data-component~="ui-separator"][data-ui-separator-state~="selectable"][data-v-
|
|
7248
|
+
[data-component~="ui-separator"][data-ui-separator-state~="selectable"][data-v-a49de10a]:hover {
|
|
7210
7249
|
background-color: var(--ui-surface-hover);
|
|
7211
7250
|
}
|
|
7212
|
-
[data-component~="ui-separator"][data-ui-separator-state~="selected"][data-v-
|
|
7251
|
+
[data-component~="ui-separator"][data-ui-separator-state~="selected"][data-v-a49de10a] {
|
|
7213
7252
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
7214
7253
|
outline-offset: var(--ui-focus-width);
|
|
7215
7254
|
border-radius: var(--ui-radius-sm);
|