@womp/kookie-ui 0.35.3 → 0.35.5
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.css +65 -66
- package/package.json +1 -1
- package/src/components/notice.css +4 -4
- package/src/components/sidebar.css +14 -14
- package/src/components/text-area.css +14 -8
- package/src/components/text-field.css +14 -8
- package/src/styles/tokens/constants.css +5 -5
- package/styles.css +69 -70
- package/tokens.css +4 -4
package/components.css
CHANGED
|
@@ -6059,7 +6059,11 @@
|
|
|
6059
6059
|
box-shadow: inset 0 0 0 1px var(--accent-6);
|
|
6060
6060
|
}
|
|
6061
6061
|
@media (hover: hover) {
|
|
6062
|
-
.kui-TextFieldRoot:where(.kui-variant-outline):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled)))) {
|
|
6062
|
+
.kui-TextFieldRoot:where(.kui-variant-outline):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:-moz-read-only)))) {
|
|
6063
|
+
background-color: var(--accent-2);
|
|
6064
|
+
box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
6065
|
+
}
|
|
6066
|
+
.kui-TextFieldRoot:where(.kui-variant-outline):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:read-only)))) {
|
|
6063
6067
|
background-color: var(--accent-2);
|
|
6064
6068
|
-webkit-box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
6065
6069
|
box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
@@ -6095,11 +6099,7 @@
|
|
|
6095
6099
|
-webkit-box-shadow: inset 0 0 0 1px var(--focus-a5);
|
|
6096
6100
|
box-shadow: inset 0 0 0 1px var(--focus-a5);
|
|
6097
6101
|
}
|
|
6098
|
-
.kui-TextFieldRoot:where(.kui-variant-outline):where(:has(.kui-TextFieldInput:
|
|
6099
|
-
background-image: linear-gradient(var(--neutral-a2), var(--neutral-a2));
|
|
6100
|
-
box-shadow: inset 0 0 0 var(--text-field-border-width) var(--neutral-a6);
|
|
6101
|
-
}
|
|
6102
|
-
.kui-TextFieldRoot:where(.kui-variant-outline):where(:has(.kui-TextFieldInput:where(:disabled,:read-only))) {
|
|
6102
|
+
.kui-TextFieldRoot:where(.kui-variant-outline):where(:has(.kui-TextFieldInput:disabled)) {
|
|
6103
6103
|
background-image: linear-gradient(var(--neutral-a2), var(--neutral-a2));
|
|
6104
6104
|
-webkit-box-shadow: inset 0 0 0 var(--text-field-border-width) var(--neutral-a6);
|
|
6105
6105
|
box-shadow: inset 0 0 0 var(--text-field-border-width) var(--neutral-a6);
|
|
@@ -6168,7 +6168,10 @@
|
|
|
6168
6168
|
background-color: var(--accent-3);
|
|
6169
6169
|
}
|
|
6170
6170
|
@media (hover: hover) {
|
|
6171
|
-
.kui-TextFieldRoot:where(.kui-variant-soft):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled)))) {
|
|
6171
|
+
.kui-TextFieldRoot:where(.kui-variant-soft):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:-moz-read-only)))) {
|
|
6172
|
+
background-color: var(--accent-4);
|
|
6173
|
+
}
|
|
6174
|
+
.kui-TextFieldRoot:where(.kui-variant-soft):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:read-only)))) {
|
|
6172
6175
|
background-color: var(--accent-4);
|
|
6173
6176
|
}
|
|
6174
6177
|
}
|
|
@@ -6205,10 +6208,7 @@
|
|
|
6205
6208
|
-webkit-box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
6206
6209
|
box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
6207
6210
|
}
|
|
6208
|
-
.kui-TextFieldRoot:where(.kui-variant-soft):where(:has(.kui-TextFieldInput:
|
|
6209
|
-
background-color: var(--neutral-a3);
|
|
6210
|
-
}
|
|
6211
|
-
.kui-TextFieldRoot:where(.kui-variant-soft):where(:has(.kui-TextFieldInput:where(:disabled,:read-only))) {
|
|
6211
|
+
.kui-TextFieldRoot:where(.kui-variant-soft):where(:has(.kui-TextFieldInput:disabled)) {
|
|
6212
6212
|
background-color: var(--neutral-a3);
|
|
6213
6213
|
}
|
|
6214
6214
|
.kui-TextFieldRoot:where(.kui-variant-ghost) {
|
|
@@ -6240,7 +6240,10 @@
|
|
|
6240
6240
|
color: var(--accent-a11);
|
|
6241
6241
|
}
|
|
6242
6242
|
@media (hover: hover) {
|
|
6243
|
-
.kui-TextFieldRoot:where(.kui-variant-ghost):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled)))) {
|
|
6243
|
+
.kui-TextFieldRoot:where(.kui-variant-ghost):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:-moz-read-only)))) {
|
|
6244
|
+
background-color: var(--accent-3);
|
|
6245
|
+
}
|
|
6246
|
+
.kui-TextFieldRoot:where(.kui-variant-ghost):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:read-only)))) {
|
|
6244
6247
|
background-color: var(--accent-3);
|
|
6245
6248
|
}
|
|
6246
6249
|
}
|
|
@@ -6256,11 +6259,7 @@
|
|
|
6256
6259
|
-webkit-box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
6257
6260
|
box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
6258
6261
|
}
|
|
6259
|
-
.kui-TextFieldRoot:where(.kui-variant-ghost):where(:has(.kui-TextFieldInput:
|
|
6260
|
-
background-color: var(--neutral-a2);
|
|
6261
|
-
color: var(--neutral-a8);
|
|
6262
|
-
}
|
|
6263
|
-
.kui-TextFieldRoot:where(.kui-variant-ghost):where(:has(.kui-TextFieldInput:where(:disabled,:read-only))) {
|
|
6262
|
+
.kui-TextFieldRoot:where(.kui-variant-ghost):where(:has(.kui-TextFieldInput:disabled)) {
|
|
6264
6263
|
background-color: var(--neutral-a2);
|
|
6265
6264
|
color: var(--neutral-a8);
|
|
6266
6265
|
}
|
|
@@ -6294,7 +6293,11 @@
|
|
|
6294
6293
|
color: var(--accent-a11);
|
|
6295
6294
|
}
|
|
6296
6295
|
@media (hover: hover) {
|
|
6297
|
-
.kui-TextFieldRoot:where(.kui-variant-surface):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled)))) {
|
|
6296
|
+
.kui-TextFieldRoot:where(.kui-variant-surface):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:-moz-read-only)))) {
|
|
6297
|
+
background-color: var(--accent-3);
|
|
6298
|
+
box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
6299
|
+
}
|
|
6300
|
+
.kui-TextFieldRoot:where(.kui-variant-surface):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:read-only)))) {
|
|
6298
6301
|
background-color: var(--accent-3);
|
|
6299
6302
|
-webkit-box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
6300
6303
|
box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
@@ -6314,17 +6317,18 @@
|
|
|
6314
6317
|
-webkit-box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
6315
6318
|
box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
6316
6319
|
}
|
|
6317
|
-
.kui-TextFieldRoot:where(.kui-variant-surface):where(:has(.kui-TextFieldInput:
|
|
6318
|
-
background-color: var(--neutral-a2);
|
|
6319
|
-
box-shadow: inset 0 0 0 var(--text-field-border-width) var(--neutral-a6);
|
|
6320
|
-
color: var(--neutral-a8);
|
|
6321
|
-
}
|
|
6322
|
-
.kui-TextFieldRoot:where(.kui-variant-surface):where(:has(.kui-TextFieldInput:where(:disabled,:read-only))) {
|
|
6320
|
+
.kui-TextFieldRoot:where(.kui-variant-surface):where(:has(.kui-TextFieldInput:disabled)) {
|
|
6323
6321
|
background-color: var(--neutral-a2);
|
|
6324
6322
|
-webkit-box-shadow: inset 0 0 0 var(--text-field-border-width) var(--neutral-a6);
|
|
6325
6323
|
box-shadow: inset 0 0 0 var(--text-field-border-width) var(--neutral-a6);
|
|
6326
6324
|
color: var(--neutral-a8);
|
|
6327
6325
|
}
|
|
6326
|
+
.kui-TextFieldRoot:where(:has(.kui-TextFieldInput:-moz-read-only:not(:disabled))) {
|
|
6327
|
+
background-color: transparent;
|
|
6328
|
+
}
|
|
6329
|
+
.kui-TextFieldRoot:where(:has(.kui-TextFieldInput:read-only:not(:disabled))) {
|
|
6330
|
+
background-color: transparent;
|
|
6331
|
+
}
|
|
6328
6332
|
.kui-TextFieldInput:where(:-moz-read-only:not(:disabled)) {
|
|
6329
6333
|
color: var(--neutral-a11);
|
|
6330
6334
|
-webkit-text-fill-color: var(--neutral-a11);
|
|
@@ -10840,12 +10844,12 @@
|
|
|
10840
10844
|
min-width: 0;
|
|
10841
10845
|
}
|
|
10842
10846
|
:where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-1) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) :where(svg) {
|
|
10843
|
-
width: var(--
|
|
10844
|
-
height: var(--
|
|
10847
|
+
width: var(--icon-size-3);
|
|
10848
|
+
height: var(--icon-size-3);
|
|
10845
10849
|
}
|
|
10846
10850
|
:where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter):is(.kui-r-size-2, .kui-r-size-3)) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) :where(svg) {
|
|
10847
|
-
width: var(--
|
|
10848
|
-
height: var(--
|
|
10851
|
+
width: var(--icon-size-4);
|
|
10852
|
+
height: var(--icon-size-4);
|
|
10849
10853
|
}
|
|
10850
10854
|
:where(.kui-ShellRailContent .kui-SidebarMenuButton > *) {
|
|
10851
10855
|
display: -webkit-box;
|
|
@@ -11666,12 +11670,12 @@
|
|
|
11666
11670
|
padding-bottom: var(--space-3) !important;
|
|
11667
11671
|
}
|
|
11668
11672
|
.kui-ShellRailContent.kui-r-size-1 .kui-SidebarSearchTrigger svg {
|
|
11669
|
-
width: var(--
|
|
11670
|
-
height: var(--
|
|
11673
|
+
width: var(--icon-size-2);
|
|
11674
|
+
height: var(--icon-size-2);
|
|
11671
11675
|
}
|
|
11672
11676
|
.kui-ShellRailContent:is(.kui-r-size-2, .kui-r-size-3) .kui-SidebarSearchTrigger svg {
|
|
11673
|
-
width: var(--
|
|
11674
|
-
height: var(--
|
|
11677
|
+
width: var(--icon-size-3);
|
|
11678
|
+
height: var(--icon-size-3);
|
|
11675
11679
|
}
|
|
11676
11680
|
:where(.kui-ShellRailContent) :where(.kui-SidebarSearchTrigger:where([data-state='open'])) {
|
|
11677
11681
|
background-color: transparent !important;
|
|
@@ -11750,8 +11754,8 @@
|
|
|
11750
11754
|
-ms-flex-negative: 0;
|
|
11751
11755
|
flex-shrink: 0;
|
|
11752
11756
|
color: var(--neutral-a9);
|
|
11753
|
-
width: var(--
|
|
11754
|
-
height: var(--
|
|
11757
|
+
width: var(--icon-size-2);
|
|
11758
|
+
height: var(--icon-size-2);
|
|
11755
11759
|
}
|
|
11756
11760
|
.kui-SidebarSearchInput {
|
|
11757
11761
|
-webkit-box-flex: 1;
|
|
@@ -11813,16 +11817,16 @@
|
|
|
11813
11817
|
line-height: var(--line-height-1);
|
|
11814
11818
|
}
|
|
11815
11819
|
.kui-SidebarSearch.kui-r-size-1 .kui-SidebarSearchIcon {
|
|
11816
|
-
width: var(--
|
|
11817
|
-
height: var(--
|
|
11820
|
+
width: var(--icon-size-1);
|
|
11821
|
+
height: var(--icon-size-1);
|
|
11818
11822
|
}
|
|
11819
11823
|
.kui-SidebarSearch.kui-r-size-3 .kui-SidebarSearchInput {
|
|
11820
11824
|
font-size: var(--font-size-3);
|
|
11821
11825
|
line-height: var(--line-height-3);
|
|
11822
11826
|
}
|
|
11823
11827
|
.kui-SidebarSearch.kui-r-size-3 .kui-SidebarSearchIcon {
|
|
11824
|
-
width: var(--
|
|
11825
|
-
height: var(--
|
|
11828
|
+
width: var(--icon-size-3);
|
|
11829
|
+
height: var(--icon-size-3);
|
|
11826
11830
|
}
|
|
11827
11831
|
@media (prefers-contrast: more) {
|
|
11828
11832
|
:where(.kui-ShellRailContent :is(.kui-SidebarMenuButton[data-active], .kui-SidebarMenuButton[data-highlighted]:not([data-disabled]))) .kui-SidebarMenuIconWrapper {
|
|
@@ -15018,7 +15022,10 @@
|
|
|
15018
15022
|
opacity: var(--v-placeholder-opacity, 1);
|
|
15019
15023
|
}
|
|
15020
15024
|
@media (hover: hover) {
|
|
15021
|
-
.kui-TextAreaRoot:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:hover:not(:has(.kui-TextAreaInput:where(:focus,:disabled)))) {
|
|
15025
|
+
.kui-TextAreaRoot:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:hover:not(:has(.kui-TextAreaInput:where(:focus,:disabled,:-moz-read-only)))) {
|
|
15026
|
+
background-color: var(--v-bg-hover);
|
|
15027
|
+
}
|
|
15028
|
+
.kui-TextAreaRoot:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:hover:not(:has(.kui-TextAreaInput:where(:focus,:disabled,:read-only)))) {
|
|
15022
15029
|
background-color: var(--v-bg-hover);
|
|
15023
15030
|
}
|
|
15024
15031
|
}
|
|
@@ -15031,11 +15038,7 @@
|
|
|
15031
15038
|
-webkit-box-shadow: inset 0 0 0 1px var(--focus-a5);
|
|
15032
15039
|
box-shadow: inset 0 0 0 1px var(--focus-a5);
|
|
15033
15040
|
}
|
|
15034
|
-
.kui-TextAreaRoot:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:has(.kui-TextAreaInput:
|
|
15035
|
-
background-color: var(--neutral-a2);
|
|
15036
|
-
background-image: linear-gradient(var(--neutral-a2), var(--neutral-a2));
|
|
15037
|
-
}
|
|
15038
|
-
.kui-TextAreaRoot:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:has(.kui-TextAreaInput:where(:disabled,:read-only))) {
|
|
15041
|
+
.kui-TextAreaRoot:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:has(.kui-TextAreaInput:disabled)) {
|
|
15039
15042
|
background-color: var(--neutral-a2);
|
|
15040
15043
|
background-image: linear-gradient(var(--neutral-a2), var(--neutral-a2));
|
|
15041
15044
|
}
|
|
@@ -15044,15 +15047,15 @@
|
|
|
15044
15047
|
box-shadow: inset 0 0 0 1px var(--v-border);
|
|
15045
15048
|
}
|
|
15046
15049
|
@media (hover: hover) {
|
|
15047
|
-
.kui-TextAreaRoot:where(.kui-variant-outline,.kui-variant-surface):where(:hover:not(:has(.kui-TextAreaInput:where(:focus,:disabled)))) {
|
|
15050
|
+
.kui-TextAreaRoot:where(.kui-variant-outline,.kui-variant-surface):where(:hover:not(:has(.kui-TextAreaInput:where(:focus,:disabled,:-moz-read-only)))) {
|
|
15051
|
+
box-shadow: inset 0 0 0 1px var(--v-border-hover);
|
|
15052
|
+
}
|
|
15053
|
+
.kui-TextAreaRoot:where(.kui-variant-outline,.kui-variant-surface):where(:hover:not(:has(.kui-TextAreaInput:where(:focus,:disabled,:read-only)))) {
|
|
15048
15054
|
-webkit-box-shadow: inset 0 0 0 1px var(--v-border-hover);
|
|
15049
15055
|
box-shadow: inset 0 0 0 1px var(--v-border-hover);
|
|
15050
15056
|
}
|
|
15051
15057
|
}
|
|
15052
|
-
.kui-TextAreaRoot:where(.kui-variant-outline,.kui-variant-surface):where(:has(.kui-TextAreaInput:
|
|
15053
|
-
box-shadow: inset 0 0 0 var(--text-area-border-width) var(--neutral-a6);
|
|
15054
|
-
}
|
|
15055
|
-
.kui-TextAreaRoot:where(.kui-variant-outline,.kui-variant-surface):where(:has(.kui-TextAreaInput:where(:disabled,:read-only))) {
|
|
15058
|
+
.kui-TextAreaRoot:where(.kui-variant-outline,.kui-variant-surface):where(:has(.kui-TextAreaInput:disabled)) {
|
|
15056
15059
|
-webkit-box-shadow: inset 0 0 0 var(--text-area-border-width) var(--neutral-a6);
|
|
15057
15060
|
box-shadow: inset 0 0 0 var(--text-area-border-width) var(--neutral-a6);
|
|
15058
15061
|
}
|
|
@@ -15073,18 +15076,11 @@
|
|
|
15073
15076
|
box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
15074
15077
|
background-image: none;
|
|
15075
15078
|
}
|
|
15076
|
-
.kui-TextAreaRoot:where(.kui-variant-soft):where(:has(.kui-TextAreaInput:
|
|
15079
|
+
.kui-TextAreaRoot:where(.kui-variant-soft):where(:has(.kui-TextAreaInput:disabled)) {
|
|
15077
15080
|
background-color: var(--neutral-a3);
|
|
15078
15081
|
background-image: none;
|
|
15079
15082
|
}
|
|
15080
|
-
.kui-TextAreaRoot:where(.kui-variant-
|
|
15081
|
-
background-color: var(--neutral-a3);
|
|
15082
|
-
background-image: none;
|
|
15083
|
-
}
|
|
15084
|
-
.kui-TextAreaRoot:where(.kui-variant-ghost):where(:has(.kui-TextAreaInput:where(:disabled,:-moz-read-only))) {
|
|
15085
|
-
color: var(--neutral-a8);
|
|
15086
|
-
}
|
|
15087
|
-
.kui-TextAreaRoot:where(.kui-variant-ghost):where(:has(.kui-TextAreaInput:where(:disabled,:read-only))) {
|
|
15083
|
+
.kui-TextAreaRoot:where(.kui-variant-ghost):where(:has(.kui-TextAreaInput:disabled)) {
|
|
15088
15084
|
color: var(--neutral-a8);
|
|
15089
15085
|
}
|
|
15090
15086
|
.kui-TextAreaRoot:where(.kui-variant-ghost):where(:has(.kui-TextAreaInput:where(:autofill,[data-com-onepassword-filled]):not(:disabled,:-moz-read-only))) {
|
|
@@ -15096,10 +15092,7 @@
|
|
|
15096
15092
|
-webkit-box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
15097
15093
|
box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
15098
15094
|
}
|
|
15099
|
-
.kui-TextAreaRoot:where(.kui-variant-surface):where(:has(.kui-TextAreaInput:
|
|
15100
|
-
color: var(--neutral-a8);
|
|
15101
|
-
}
|
|
15102
|
-
.kui-TextAreaRoot:where(.kui-variant-surface):where(:has(.kui-TextAreaInput:where(:disabled,:read-only))) {
|
|
15095
|
+
.kui-TextAreaRoot:where(.kui-variant-surface):where(:has(.kui-TextAreaInput:disabled)) {
|
|
15103
15096
|
color: var(--neutral-a8);
|
|
15104
15097
|
}
|
|
15105
15098
|
.kui-TextAreaRoot:where(.kui-variant-surface):where(:has(.kui-TextAreaInput:where(:autofill,[data-com-onepassword-filled]):not(:disabled,:-moz-read-only))) {
|
|
@@ -15162,6 +15155,12 @@
|
|
|
15162
15155
|
-webkit-box-shadow: inset 0 0 0 1px var(--field-edge-disabled);
|
|
15163
15156
|
box-shadow: inset 0 0 0 1px var(--field-edge-disabled);
|
|
15164
15157
|
}
|
|
15158
|
+
.kui-TextAreaRoot:where(:has(.kui-TextAreaInput:-moz-read-only:not(:disabled))) {
|
|
15159
|
+
background-color: transparent;
|
|
15160
|
+
}
|
|
15161
|
+
.kui-TextAreaRoot:where(:has(.kui-TextAreaInput:read-only:not(:disabled))) {
|
|
15162
|
+
background-color: transparent;
|
|
15163
|
+
}
|
|
15165
15164
|
.kui-TextAreaInput:where(:-moz-read-only:not(:disabled)) {
|
|
15166
15165
|
color: var(--neutral-a11);
|
|
15167
15166
|
-webkit-text-fill-color: var(--neutral-a11);
|
|
@@ -16658,28 +16657,28 @@
|
|
|
16658
16657
|
--notice-radius: var(--radius-surface-1);
|
|
16659
16658
|
--notice-line: var(--line-height-1);
|
|
16660
16659
|
--notice-control: var(--control-height-1);
|
|
16661
|
-
--notice-icon-size: var(--
|
|
16660
|
+
--notice-icon-size: var(--icon-size-1);
|
|
16662
16661
|
}
|
|
16663
16662
|
.kui-NoticeRoot:where(.kui-r-size-2) {
|
|
16664
16663
|
--notice-padding: var(--surface-p-2);
|
|
16665
16664
|
--notice-radius: var(--radius-surface-2);
|
|
16666
16665
|
--notice-line: var(--line-height-2);
|
|
16667
16666
|
--notice-control: var(--control-height-2);
|
|
16668
|
-
--notice-icon-size: var(--
|
|
16667
|
+
--notice-icon-size: var(--icon-size-2);
|
|
16669
16668
|
}
|
|
16670
16669
|
.kui-NoticeRoot:where(.kui-r-size-3) {
|
|
16671
16670
|
--notice-padding: var(--surface-p-3);
|
|
16672
16671
|
--notice-radius: var(--radius-surface-3);
|
|
16673
16672
|
--notice-line: var(--line-height-3);
|
|
16674
16673
|
--notice-control: var(--control-height-3);
|
|
16675
|
-
--notice-icon-size: var(--
|
|
16674
|
+
--notice-icon-size: var(--icon-size-3);
|
|
16676
16675
|
}
|
|
16677
16676
|
.kui-NoticeRoot:where(.kui-r-size-4) {
|
|
16678
16677
|
--notice-padding: var(--surface-p-4);
|
|
16679
16678
|
--notice-radius: var(--radius-surface-4);
|
|
16680
16679
|
--notice-line: var(--line-height-4);
|
|
16681
16680
|
--notice-control: var(--control-height-4);
|
|
16682
|
-
--notice-icon-size: var(--
|
|
16681
|
+
--notice-icon-size: var(--icon-size-4);
|
|
16683
16682
|
}
|
|
16684
16683
|
.kui-theme:where([data-is-root-theme='true']) {
|
|
16685
16684
|
position: relative;
|
package/package.json
CHANGED
|
@@ -76,27 +76,27 @@
|
|
|
76
76
|
--notice-radius: var(--radius-surface-1);
|
|
77
77
|
--notice-line: var(--line-height-1);
|
|
78
78
|
--notice-control: var(--control-height-1);
|
|
79
|
-
--notice-icon-size: var(--
|
|
79
|
+
--notice-icon-size: var(--icon-size-1);
|
|
80
80
|
}
|
|
81
81
|
&:where(.kui-r-size-2) {
|
|
82
82
|
--notice-padding: var(--surface-p-2);
|
|
83
83
|
--notice-radius: var(--radius-surface-2);
|
|
84
84
|
--notice-line: var(--line-height-2);
|
|
85
85
|
--notice-control: var(--control-height-2);
|
|
86
|
-
--notice-icon-size: var(--
|
|
86
|
+
--notice-icon-size: var(--icon-size-2);
|
|
87
87
|
}
|
|
88
88
|
&:where(.kui-r-size-3) {
|
|
89
89
|
--notice-padding: var(--surface-p-3);
|
|
90
90
|
--notice-radius: var(--radius-surface-3);
|
|
91
91
|
--notice-line: var(--line-height-3);
|
|
92
92
|
--notice-control: var(--control-height-3);
|
|
93
|
-
--notice-icon-size: var(--
|
|
93
|
+
--notice-icon-size: var(--icon-size-3);
|
|
94
94
|
}
|
|
95
95
|
&:where(.kui-r-size-4) {
|
|
96
96
|
--notice-padding: var(--surface-p-4);
|
|
97
97
|
--notice-radius: var(--radius-surface-4);
|
|
98
98
|
--notice-line: var(--line-height-4);
|
|
99
99
|
--notice-control: var(--control-height-4);
|
|
100
|
-
--notice-icon-size: var(--
|
|
100
|
+
--notice-icon-size: var(--icon-size-4);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
/* Icon size: the one line that differs by size */
|
|
80
80
|
/* stylelint-disable-next-line selector-max-type */
|
|
81
81
|
:where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-1) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) :where(svg) {
|
|
82
|
-
width: var(--
|
|
83
|
-
height: var(--
|
|
82
|
+
width: var(--icon-size-3);
|
|
83
|
+
height: var(--icon-size-3);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
/* stylelint-disable-next-line selector-max-type */
|
|
87
87
|
:where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter):is(.kui-r-size-2, .kui-r-size-3)) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) :where(svg) {
|
|
88
|
-
width: var(--
|
|
89
|
-
height: var(--
|
|
88
|
+
width: var(--icon-size-4);
|
|
89
|
+
height: var(--icon-size-4);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
/* Ellipsis on root child content when using asChild (e.g., Next.js Link) */
|
|
@@ -619,14 +619,14 @@
|
|
|
619
619
|
/* Matches the effective icon size of other menu buttons (expanded-mode rules win on specificity) */
|
|
620
620
|
/* stylelint-disable-next-line selector-max-type, selector-max-specificity */
|
|
621
621
|
.kui-ShellRailContent.kui-r-size-1 .kui-SidebarSearchTrigger svg {
|
|
622
|
-
width: var(--
|
|
623
|
-
height: var(--
|
|
622
|
+
width: var(--icon-size-2);
|
|
623
|
+
height: var(--icon-size-2);
|
|
624
624
|
}
|
|
625
625
|
|
|
626
626
|
/* stylelint-disable-next-line selector-max-type, selector-max-specificity */
|
|
627
627
|
.kui-ShellRailContent:is(.kui-r-size-2, .kui-r-size-3) .kui-SidebarSearchTrigger svg {
|
|
628
|
-
width: var(--
|
|
629
|
-
height: var(--
|
|
628
|
+
width: var(--icon-size-3);
|
|
629
|
+
height: var(--icon-size-3);
|
|
630
630
|
}
|
|
631
631
|
|
|
632
632
|
/* Remove hover background from thin trigger button itself (styles live on icon wrapper) */
|
|
@@ -733,8 +733,8 @@
|
|
|
733
733
|
.kui-SidebarSearchIcon {
|
|
734
734
|
flex-shrink: 0;
|
|
735
735
|
color: var(--neutral-a9);
|
|
736
|
-
width: var(--
|
|
737
|
-
height: var(--
|
|
736
|
+
width: var(--icon-size-2);
|
|
737
|
+
height: var(--icon-size-2);
|
|
738
738
|
}
|
|
739
739
|
|
|
740
740
|
/* Search input */
|
|
@@ -789,8 +789,8 @@
|
|
|
789
789
|
|
|
790
790
|
/* stylelint-disable-next-line selector-max-specificity */
|
|
791
791
|
.kui-SidebarSearch.kui-r-size-1 .kui-SidebarSearchIcon {
|
|
792
|
-
width: var(--
|
|
793
|
-
height: var(--
|
|
792
|
+
width: var(--icon-size-1);
|
|
793
|
+
height: var(--icon-size-1);
|
|
794
794
|
}
|
|
795
795
|
|
|
796
796
|
/* stylelint-disable-next-line selector-max-specificity */
|
|
@@ -801,8 +801,8 @@
|
|
|
801
801
|
|
|
802
802
|
/* stylelint-disable-next-line selector-max-specificity */
|
|
803
803
|
.kui-SidebarSearch.kui-r-size-3 .kui-SidebarSearchIcon {
|
|
804
|
-
width: var(--
|
|
805
|
-
height: var(--
|
|
804
|
+
width: var(--icon-size-3);
|
|
805
|
+
height: var(--icon-size-3);
|
|
806
806
|
}
|
|
807
807
|
|
|
808
808
|
/* In a Rail the fill is the icon tile, not the row. Under more contrast the tile goes solid and its icon
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
|
|
254
254
|
/* Hover state */
|
|
255
255
|
@media (hover: hover) {
|
|
256
|
-
&:where(:hover:not(:has(.kui-TextAreaInput:where(:focus, :disabled)))) {
|
|
256
|
+
&:where(:hover:not(:has(.kui-TextAreaInput:where(:focus, :disabled, :read-only)))) {
|
|
257
257
|
background-color: var(--v-bg-hover);
|
|
258
258
|
}
|
|
259
259
|
}
|
|
@@ -265,8 +265,8 @@
|
|
|
265
265
|
box-shadow: inset 0 0 0 1px var(--focus-a5);
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
/* Disabled
|
|
269
|
-
&:where(:has(.kui-TextAreaInput:
|
|
268
|
+
/* Disabled state */
|
|
269
|
+
&:where(:has(.kui-TextAreaInput:disabled)) {
|
|
270
270
|
background-color: var(--neutral-a2);
|
|
271
271
|
background-image: linear-gradient(var(--neutral-a2), var(--neutral-a2));
|
|
272
272
|
}
|
|
@@ -279,13 +279,13 @@
|
|
|
279
279
|
|
|
280
280
|
/* Hover state border */
|
|
281
281
|
@media (hover: hover) {
|
|
282
|
-
&:where(:hover:not(:has(.kui-TextAreaInput:where(:focus, :disabled)))) {
|
|
282
|
+
&:where(:hover:not(:has(.kui-TextAreaInput:where(:focus, :disabled, :read-only)))) {
|
|
283
283
|
box-shadow: inset 0 0 0 1px var(--v-border-hover);
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
/* Disabled state border */
|
|
288
|
-
&:where(:has(.kui-TextAreaInput:
|
|
288
|
+
&:where(:has(.kui-TextAreaInput:disabled)) {
|
|
289
289
|
box-shadow: inset 0 0 0 var(--text-area-border-width) var(--neutral-a6);
|
|
290
290
|
}
|
|
291
291
|
}
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
background-image: none;
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
&:where(:has(.kui-TextAreaInput:
|
|
316
|
+
&:where(:has(.kui-TextAreaInput:disabled)) {
|
|
317
317
|
background-color: var(--neutral-a3);
|
|
318
318
|
background-image: none;
|
|
319
319
|
}
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
|
|
322
322
|
/* Ghost disabled - specific color */
|
|
323
323
|
.kui-TextAreaRoot:where(.kui-variant-ghost) {
|
|
324
|
-
&:where(:has(.kui-TextAreaInput:
|
|
324
|
+
&:where(:has(.kui-TextAreaInput:disabled)) {
|
|
325
325
|
color: var(--neutral-a8);
|
|
326
326
|
}
|
|
327
327
|
|
|
@@ -334,7 +334,7 @@
|
|
|
334
334
|
|
|
335
335
|
/* Surface disabled - specific color */
|
|
336
336
|
.kui-TextAreaRoot:where(.kui-variant-surface) {
|
|
337
|
-
&:where(:has(.kui-TextAreaInput:
|
|
337
|
+
&:where(:has(.kui-TextAreaInput:disabled)) {
|
|
338
338
|
color: var(--neutral-a8);
|
|
339
339
|
}
|
|
340
340
|
|
|
@@ -392,6 +392,12 @@
|
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
394
|
|
|
395
|
+
/* Read-only drops the fill in every variant and keeps the edge and the value: nothing here
|
|
396
|
+
takes input, but the value is still there to select and copy. */
|
|
397
|
+
.kui-TextAreaRoot:where(:has(.kui-TextAreaInput:read-only:not(:disabled))) {
|
|
398
|
+
background-color: transparent;
|
|
399
|
+
}
|
|
400
|
+
|
|
395
401
|
/***************************************************************************************************
|
|
396
402
|
* *
|
|
397
403
|
* DISABLED STATES *
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
|
|
359
359
|
/* Hover effects */
|
|
360
360
|
@media (hover: hover) {
|
|
361
|
-
&:where(:hover:not(:has(.kui-TextFieldInput:where(:focus, :disabled)))) {
|
|
361
|
+
&:where(:hover:not(:has(.kui-TextFieldInput:where(:focus, :disabled, :read-only)))) {
|
|
362
362
|
background-color: var(--accent-2);
|
|
363
363
|
box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
364
364
|
}
|
|
@@ -385,7 +385,7 @@
|
|
|
385
385
|
box-shadow: inset 0 0 0 1px var(--focus-a5);
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
-
&:where(:has(.kui-TextFieldInput:
|
|
388
|
+
&:where(:has(.kui-TextFieldInput:disabled)) {
|
|
389
389
|
/* Blend with grey */
|
|
390
390
|
background-image: linear-gradient(var(--neutral-a2), var(--neutral-a2));
|
|
391
391
|
box-shadow: inset 0 0 0 var(--text-field-border-width) var(--neutral-a6);
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
|
|
453
453
|
/* Hover effects */
|
|
454
454
|
@media (hover: hover) {
|
|
455
|
-
&:where(:hover:not(:has(.kui-TextFieldInput:where(:focus, :disabled)))) {
|
|
455
|
+
&:where(:hover:not(:has(.kui-TextFieldInput:where(:focus, :disabled, :read-only)))) {
|
|
456
456
|
background-color: var(--accent-4);
|
|
457
457
|
}
|
|
458
458
|
}
|
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
&:where(:has(.kui-TextFieldInput:
|
|
481
|
+
&:where(:has(.kui-TextFieldInput:disabled)) {
|
|
482
482
|
background-color: var(--neutral-a3);
|
|
483
483
|
}
|
|
484
484
|
}
|
|
@@ -509,7 +509,7 @@
|
|
|
509
509
|
|
|
510
510
|
/* Hover effects */
|
|
511
511
|
@media (hover: hover) {
|
|
512
|
-
&:where(:hover:not(:has(.kui-TextFieldInput:where(:focus, :disabled)))) {
|
|
512
|
+
&:where(:hover:not(:has(.kui-TextFieldInput:where(:focus, :disabled, :read-only)))) {
|
|
513
513
|
background-color: var(--accent-3);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
-
&:where(:has(.kui-TextFieldInput:
|
|
528
|
+
&:where(:has(.kui-TextFieldInput:disabled)) {
|
|
529
529
|
background-color: var(--neutral-a2);
|
|
530
530
|
color: var(--neutral-a8);
|
|
531
531
|
}
|
|
@@ -557,7 +557,7 @@
|
|
|
557
557
|
|
|
558
558
|
/* Hover effects */
|
|
559
559
|
@media (hover: hover) {
|
|
560
|
-
&:where(:hover:not(:has(.kui-TextFieldInput:where(:focus, :disabled)))) {
|
|
560
|
+
&:where(:hover:not(:has(.kui-TextFieldInput:where(:focus, :disabled, :read-only)))) {
|
|
561
561
|
background-color: var(--accent-3);
|
|
562
562
|
box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
563
563
|
}
|
|
@@ -575,13 +575,19 @@
|
|
|
575
575
|
box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
576
576
|
}
|
|
577
577
|
|
|
578
|
-
&:where(:has(.kui-TextFieldInput:
|
|
578
|
+
&:where(:has(.kui-TextFieldInput:disabled)) {
|
|
579
579
|
background-color: var(--neutral-a2);
|
|
580
580
|
box-shadow: inset 0 0 0 var(--text-field-border-width) var(--neutral-a6);
|
|
581
581
|
color: var(--neutral-a8);
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
|
|
585
|
+
/* Read-only drops the fill in every variant and keeps the edge and the value: nothing here
|
|
586
|
+
takes input, but the value is still there to select and copy. */
|
|
587
|
+
.kui-TextFieldRoot:where(:has(.kui-TextFieldInput:read-only:not(:disabled))) {
|
|
588
|
+
background-color: transparent;
|
|
589
|
+
}
|
|
590
|
+
|
|
585
591
|
/* Read-only text fields: the value stays selectable, so the caret cursor stays. */
|
|
586
592
|
.kui-TextFieldInput {
|
|
587
593
|
&:where(:read-only:not(:disabled)) {
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
--trigger-icon-size-3: 11px;
|
|
29
29
|
--trigger-icon-size-4: 12px;
|
|
30
30
|
|
|
31
|
-
/*
|
|
32
|
-
--content-icon-size-1:
|
|
33
|
-
--content-icon-size-2:
|
|
34
|
-
--content-icon-size-3:
|
|
35
|
-
--content-icon-size-4:
|
|
31
|
+
/* Older names for the icon sizes, kept for apps that read them */
|
|
32
|
+
--content-icon-size-1: var(--icon-size-1);
|
|
33
|
+
--content-icon-size-2: var(--icon-size-2);
|
|
34
|
+
--content-icon-size-3: var(--icon-size-3);
|
|
35
|
+
--content-icon-size-4: var(--icon-size-4);
|
|
36
36
|
|
|
37
37
|
/* Indicator icon size constants (for checkboxes, radio, sub-triggers) */
|
|
38
38
|
--indicator-icon-size-1: calc(9px * var(--scale));
|
package/styles.css
CHANGED
|
@@ -3326,10 +3326,10 @@
|
|
|
3326
3326
|
--trigger-icon-size-2: 11px;
|
|
3327
3327
|
--trigger-icon-size-3: 11px;
|
|
3328
3328
|
--trigger-icon-size-4: 12px;
|
|
3329
|
-
--content-icon-size-1:
|
|
3330
|
-
--content-icon-size-2:
|
|
3331
|
-
--content-icon-size-3:
|
|
3332
|
-
--content-icon-size-4:
|
|
3329
|
+
--content-icon-size-1: var(--icon-size-1);
|
|
3330
|
+
--content-icon-size-2: var(--icon-size-2);
|
|
3331
|
+
--content-icon-size-3: var(--icon-size-3);
|
|
3332
|
+
--content-icon-size-4: var(--icon-size-4);
|
|
3333
3333
|
--indicator-icon-size-1: calc(9px * var(--scale));
|
|
3334
3334
|
--indicator-icon-size-2: calc(10px * var(--scale));
|
|
3335
3335
|
--indicator-icon-size-3: calc(12px * var(--scale));
|
|
@@ -11219,7 +11219,11 @@
|
|
|
11219
11219
|
box-shadow: inset 0 0 0 1px var(--accent-6);
|
|
11220
11220
|
}
|
|
11221
11221
|
@media (hover: hover) {
|
|
11222
|
-
.kui-TextFieldRoot:where(.kui-variant-outline):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled)))) {
|
|
11222
|
+
.kui-TextFieldRoot:where(.kui-variant-outline):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:-moz-read-only)))) {
|
|
11223
|
+
background-color: var(--accent-2);
|
|
11224
|
+
box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
11225
|
+
}
|
|
11226
|
+
.kui-TextFieldRoot:where(.kui-variant-outline):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:read-only)))) {
|
|
11223
11227
|
background-color: var(--accent-2);
|
|
11224
11228
|
-webkit-box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
11225
11229
|
box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
@@ -11255,11 +11259,7 @@
|
|
|
11255
11259
|
-webkit-box-shadow: inset 0 0 0 1px var(--focus-a5);
|
|
11256
11260
|
box-shadow: inset 0 0 0 1px var(--focus-a5);
|
|
11257
11261
|
}
|
|
11258
|
-
.kui-TextFieldRoot:where(.kui-variant-outline):where(:has(.kui-TextFieldInput:
|
|
11259
|
-
background-image: linear-gradient(var(--neutral-a2), var(--neutral-a2));
|
|
11260
|
-
box-shadow: inset 0 0 0 var(--text-field-border-width) var(--neutral-a6);
|
|
11261
|
-
}
|
|
11262
|
-
.kui-TextFieldRoot:where(.kui-variant-outline):where(:has(.kui-TextFieldInput:where(:disabled,:read-only))) {
|
|
11262
|
+
.kui-TextFieldRoot:where(.kui-variant-outline):where(:has(.kui-TextFieldInput:disabled)) {
|
|
11263
11263
|
background-image: linear-gradient(var(--neutral-a2), var(--neutral-a2));
|
|
11264
11264
|
-webkit-box-shadow: inset 0 0 0 var(--text-field-border-width) var(--neutral-a6);
|
|
11265
11265
|
box-shadow: inset 0 0 0 var(--text-field-border-width) var(--neutral-a6);
|
|
@@ -11328,7 +11328,10 @@
|
|
|
11328
11328
|
background-color: var(--accent-3);
|
|
11329
11329
|
}
|
|
11330
11330
|
@media (hover: hover) {
|
|
11331
|
-
.kui-TextFieldRoot:where(.kui-variant-soft):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled)))) {
|
|
11331
|
+
.kui-TextFieldRoot:where(.kui-variant-soft):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:-moz-read-only)))) {
|
|
11332
|
+
background-color: var(--accent-4);
|
|
11333
|
+
}
|
|
11334
|
+
.kui-TextFieldRoot:where(.kui-variant-soft):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:read-only)))) {
|
|
11332
11335
|
background-color: var(--accent-4);
|
|
11333
11336
|
}
|
|
11334
11337
|
}
|
|
@@ -11365,10 +11368,7 @@
|
|
|
11365
11368
|
-webkit-box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
11366
11369
|
box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
11367
11370
|
}
|
|
11368
|
-
.kui-TextFieldRoot:where(.kui-variant-soft):where(:has(.kui-TextFieldInput:
|
|
11369
|
-
background-color: var(--neutral-a3);
|
|
11370
|
-
}
|
|
11371
|
-
.kui-TextFieldRoot:where(.kui-variant-soft):where(:has(.kui-TextFieldInput:where(:disabled,:read-only))) {
|
|
11371
|
+
.kui-TextFieldRoot:where(.kui-variant-soft):where(:has(.kui-TextFieldInput:disabled)) {
|
|
11372
11372
|
background-color: var(--neutral-a3);
|
|
11373
11373
|
}
|
|
11374
11374
|
.kui-TextFieldRoot:where(.kui-variant-ghost) {
|
|
@@ -11400,7 +11400,10 @@
|
|
|
11400
11400
|
color: var(--accent-a11);
|
|
11401
11401
|
}
|
|
11402
11402
|
@media (hover: hover) {
|
|
11403
|
-
.kui-TextFieldRoot:where(.kui-variant-ghost):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled)))) {
|
|
11403
|
+
.kui-TextFieldRoot:where(.kui-variant-ghost):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:-moz-read-only)))) {
|
|
11404
|
+
background-color: var(--accent-3);
|
|
11405
|
+
}
|
|
11406
|
+
.kui-TextFieldRoot:where(.kui-variant-ghost):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:read-only)))) {
|
|
11404
11407
|
background-color: var(--accent-3);
|
|
11405
11408
|
}
|
|
11406
11409
|
}
|
|
@@ -11416,11 +11419,7 @@
|
|
|
11416
11419
|
-webkit-box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
11417
11420
|
box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
11418
11421
|
}
|
|
11419
|
-
.kui-TextFieldRoot:where(.kui-variant-ghost):where(:has(.kui-TextFieldInput:
|
|
11420
|
-
background-color: var(--neutral-a2);
|
|
11421
|
-
color: var(--neutral-a8);
|
|
11422
|
-
}
|
|
11423
|
-
.kui-TextFieldRoot:where(.kui-variant-ghost):where(:has(.kui-TextFieldInput:where(:disabled,:read-only))) {
|
|
11422
|
+
.kui-TextFieldRoot:where(.kui-variant-ghost):where(:has(.kui-TextFieldInput:disabled)) {
|
|
11424
11423
|
background-color: var(--neutral-a2);
|
|
11425
11424
|
color: var(--neutral-a8);
|
|
11426
11425
|
}
|
|
@@ -11454,7 +11453,11 @@
|
|
|
11454
11453
|
color: var(--accent-a11);
|
|
11455
11454
|
}
|
|
11456
11455
|
@media (hover: hover) {
|
|
11457
|
-
.kui-TextFieldRoot:where(.kui-variant-surface):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled)))) {
|
|
11456
|
+
.kui-TextFieldRoot:where(.kui-variant-surface):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:-moz-read-only)))) {
|
|
11457
|
+
background-color: var(--accent-3);
|
|
11458
|
+
box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
11459
|
+
}
|
|
11460
|
+
.kui-TextFieldRoot:where(.kui-variant-surface):where(:hover:not(:has(.kui-TextFieldInput:where(:focus,:disabled,:read-only)))) {
|
|
11458
11461
|
background-color: var(--accent-3);
|
|
11459
11462
|
-webkit-box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
11460
11463
|
box-shadow: inset 0 0 0 1px var(--accent-7);
|
|
@@ -11474,17 +11477,18 @@
|
|
|
11474
11477
|
-webkit-box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
11475
11478
|
box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
11476
11479
|
}
|
|
11477
|
-
.kui-TextFieldRoot:where(.kui-variant-surface):where(:has(.kui-TextFieldInput:
|
|
11478
|
-
background-color: var(--neutral-a2);
|
|
11479
|
-
box-shadow: inset 0 0 0 var(--text-field-border-width) var(--neutral-a6);
|
|
11480
|
-
color: var(--neutral-a8);
|
|
11481
|
-
}
|
|
11482
|
-
.kui-TextFieldRoot:where(.kui-variant-surface):where(:has(.kui-TextFieldInput:where(:disabled,:read-only))) {
|
|
11480
|
+
.kui-TextFieldRoot:where(.kui-variant-surface):where(:has(.kui-TextFieldInput:disabled)) {
|
|
11483
11481
|
background-color: var(--neutral-a2);
|
|
11484
11482
|
-webkit-box-shadow: inset 0 0 0 var(--text-field-border-width) var(--neutral-a6);
|
|
11485
11483
|
box-shadow: inset 0 0 0 var(--text-field-border-width) var(--neutral-a6);
|
|
11486
11484
|
color: var(--neutral-a8);
|
|
11487
11485
|
}
|
|
11486
|
+
.kui-TextFieldRoot:where(:has(.kui-TextFieldInput:-moz-read-only:not(:disabled))) {
|
|
11487
|
+
background-color: transparent;
|
|
11488
|
+
}
|
|
11489
|
+
.kui-TextFieldRoot:where(:has(.kui-TextFieldInput:read-only:not(:disabled))) {
|
|
11490
|
+
background-color: transparent;
|
|
11491
|
+
}
|
|
11488
11492
|
.kui-TextFieldInput:where(:-moz-read-only:not(:disabled)) {
|
|
11489
11493
|
color: var(--neutral-a11);
|
|
11490
11494
|
-webkit-text-fill-color: var(--neutral-a11);
|
|
@@ -15986,12 +15990,12 @@
|
|
|
15986
15990
|
min-width: 0;
|
|
15987
15991
|
}
|
|
15988
15992
|
:where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-1) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) :where(svg) {
|
|
15989
|
-
width: var(--
|
|
15990
|
-
height: var(--
|
|
15993
|
+
width: var(--icon-size-3);
|
|
15994
|
+
height: var(--icon-size-3);
|
|
15991
15995
|
}
|
|
15992
15996
|
:where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter):is(.kui-r-size-2, .kui-r-size-3)) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) :where(svg) {
|
|
15993
|
-
width: var(--
|
|
15994
|
-
height: var(--
|
|
15997
|
+
width: var(--icon-size-4);
|
|
15998
|
+
height: var(--icon-size-4);
|
|
15995
15999
|
}
|
|
15996
16000
|
:where(.kui-ShellRailContent .kui-SidebarMenuButton > *) {
|
|
15997
16001
|
display: -webkit-box;
|
|
@@ -16812,12 +16816,12 @@
|
|
|
16812
16816
|
padding-bottom: var(--space-3) !important;
|
|
16813
16817
|
}
|
|
16814
16818
|
.kui-ShellRailContent.kui-r-size-1 .kui-SidebarSearchTrigger svg {
|
|
16815
|
-
width: var(--
|
|
16816
|
-
height: var(--
|
|
16819
|
+
width: var(--icon-size-2);
|
|
16820
|
+
height: var(--icon-size-2);
|
|
16817
16821
|
}
|
|
16818
16822
|
.kui-ShellRailContent:is(.kui-r-size-2, .kui-r-size-3) .kui-SidebarSearchTrigger svg {
|
|
16819
|
-
width: var(--
|
|
16820
|
-
height: var(--
|
|
16823
|
+
width: var(--icon-size-3);
|
|
16824
|
+
height: var(--icon-size-3);
|
|
16821
16825
|
}
|
|
16822
16826
|
:where(.kui-ShellRailContent) :where(.kui-SidebarSearchTrigger:where([data-state='open'])) {
|
|
16823
16827
|
background-color: transparent !important;
|
|
@@ -16896,8 +16900,8 @@
|
|
|
16896
16900
|
-ms-flex-negative: 0;
|
|
16897
16901
|
flex-shrink: 0;
|
|
16898
16902
|
color: var(--neutral-a9);
|
|
16899
|
-
width: var(--
|
|
16900
|
-
height: var(--
|
|
16903
|
+
width: var(--icon-size-2);
|
|
16904
|
+
height: var(--icon-size-2);
|
|
16901
16905
|
}
|
|
16902
16906
|
.kui-SidebarSearchInput {
|
|
16903
16907
|
-webkit-box-flex: 1;
|
|
@@ -16959,16 +16963,16 @@
|
|
|
16959
16963
|
line-height: var(--line-height-1);
|
|
16960
16964
|
}
|
|
16961
16965
|
.kui-SidebarSearch.kui-r-size-1 .kui-SidebarSearchIcon {
|
|
16962
|
-
width: var(--
|
|
16963
|
-
height: var(--
|
|
16966
|
+
width: var(--icon-size-1);
|
|
16967
|
+
height: var(--icon-size-1);
|
|
16964
16968
|
}
|
|
16965
16969
|
.kui-SidebarSearch.kui-r-size-3 .kui-SidebarSearchInput {
|
|
16966
16970
|
font-size: var(--font-size-3);
|
|
16967
16971
|
line-height: var(--line-height-3);
|
|
16968
16972
|
}
|
|
16969
16973
|
.kui-SidebarSearch.kui-r-size-3 .kui-SidebarSearchIcon {
|
|
16970
|
-
width: var(--
|
|
16971
|
-
height: var(--
|
|
16974
|
+
width: var(--icon-size-3);
|
|
16975
|
+
height: var(--icon-size-3);
|
|
16972
16976
|
}
|
|
16973
16977
|
@media (prefers-contrast: more) {
|
|
16974
16978
|
:where(.kui-ShellRailContent :is(.kui-SidebarMenuButton[data-active], .kui-SidebarMenuButton[data-highlighted]:not([data-disabled]))) .kui-SidebarMenuIconWrapper {
|
|
@@ -20164,7 +20168,10 @@
|
|
|
20164
20168
|
opacity: var(--v-placeholder-opacity, 1);
|
|
20165
20169
|
}
|
|
20166
20170
|
@media (hover: hover) {
|
|
20167
|
-
.kui-TextAreaRoot:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:hover:not(:has(.kui-TextAreaInput:where(:focus,:disabled)))) {
|
|
20171
|
+
.kui-TextAreaRoot:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:hover:not(:has(.kui-TextAreaInput:where(:focus,:disabled,:-moz-read-only)))) {
|
|
20172
|
+
background-color: var(--v-bg-hover);
|
|
20173
|
+
}
|
|
20174
|
+
.kui-TextAreaRoot:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:hover:not(:has(.kui-TextAreaInput:where(:focus,:disabled,:read-only)))) {
|
|
20168
20175
|
background-color: var(--v-bg-hover);
|
|
20169
20176
|
}
|
|
20170
20177
|
}
|
|
@@ -20177,11 +20184,7 @@
|
|
|
20177
20184
|
-webkit-box-shadow: inset 0 0 0 1px var(--focus-a5);
|
|
20178
20185
|
box-shadow: inset 0 0 0 1px var(--focus-a5);
|
|
20179
20186
|
}
|
|
20180
|
-
.kui-TextAreaRoot:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:has(.kui-TextAreaInput:
|
|
20181
|
-
background-color: var(--neutral-a2);
|
|
20182
|
-
background-image: linear-gradient(var(--neutral-a2), var(--neutral-a2));
|
|
20183
|
-
}
|
|
20184
|
-
.kui-TextAreaRoot:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:has(.kui-TextAreaInput:where(:disabled,:read-only))) {
|
|
20187
|
+
.kui-TextAreaRoot:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:has(.kui-TextAreaInput:disabled)) {
|
|
20185
20188
|
background-color: var(--neutral-a2);
|
|
20186
20189
|
background-image: linear-gradient(var(--neutral-a2), var(--neutral-a2));
|
|
20187
20190
|
}
|
|
@@ -20190,15 +20193,15 @@
|
|
|
20190
20193
|
box-shadow: inset 0 0 0 1px var(--v-border);
|
|
20191
20194
|
}
|
|
20192
20195
|
@media (hover: hover) {
|
|
20193
|
-
.kui-TextAreaRoot:where(.kui-variant-outline,.kui-variant-surface):where(:hover:not(:has(.kui-TextAreaInput:where(:focus,:disabled)))) {
|
|
20196
|
+
.kui-TextAreaRoot:where(.kui-variant-outline,.kui-variant-surface):where(:hover:not(:has(.kui-TextAreaInput:where(:focus,:disabled,:-moz-read-only)))) {
|
|
20197
|
+
box-shadow: inset 0 0 0 1px var(--v-border-hover);
|
|
20198
|
+
}
|
|
20199
|
+
.kui-TextAreaRoot:where(.kui-variant-outline,.kui-variant-surface):where(:hover:not(:has(.kui-TextAreaInput:where(:focus,:disabled,:read-only)))) {
|
|
20194
20200
|
-webkit-box-shadow: inset 0 0 0 1px var(--v-border-hover);
|
|
20195
20201
|
box-shadow: inset 0 0 0 1px var(--v-border-hover);
|
|
20196
20202
|
}
|
|
20197
20203
|
}
|
|
20198
|
-
.kui-TextAreaRoot:where(.kui-variant-outline,.kui-variant-surface):where(:has(.kui-TextAreaInput:
|
|
20199
|
-
box-shadow: inset 0 0 0 var(--text-area-border-width) var(--neutral-a6);
|
|
20200
|
-
}
|
|
20201
|
-
.kui-TextAreaRoot:where(.kui-variant-outline,.kui-variant-surface):where(:has(.kui-TextAreaInput:where(:disabled,:read-only))) {
|
|
20204
|
+
.kui-TextAreaRoot:where(.kui-variant-outline,.kui-variant-surface):where(:has(.kui-TextAreaInput:disabled)) {
|
|
20202
20205
|
-webkit-box-shadow: inset 0 0 0 var(--text-area-border-width) var(--neutral-a6);
|
|
20203
20206
|
box-shadow: inset 0 0 0 var(--text-area-border-width) var(--neutral-a6);
|
|
20204
20207
|
}
|
|
@@ -20219,18 +20222,11 @@
|
|
|
20219
20222
|
box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
20220
20223
|
background-image: none;
|
|
20221
20224
|
}
|
|
20222
|
-
.kui-TextAreaRoot:where(.kui-variant-soft):where(:has(.kui-TextAreaInput:
|
|
20225
|
+
.kui-TextAreaRoot:where(.kui-variant-soft):where(:has(.kui-TextAreaInput:disabled)) {
|
|
20223
20226
|
background-color: var(--neutral-a3);
|
|
20224
20227
|
background-image: none;
|
|
20225
20228
|
}
|
|
20226
|
-
.kui-TextAreaRoot:where(.kui-variant-
|
|
20227
|
-
background-color: var(--neutral-a3);
|
|
20228
|
-
background-image: none;
|
|
20229
|
-
}
|
|
20230
|
-
.kui-TextAreaRoot:where(.kui-variant-ghost):where(:has(.kui-TextAreaInput:where(:disabled,:-moz-read-only))) {
|
|
20231
|
-
color: var(--neutral-a8);
|
|
20232
|
-
}
|
|
20233
|
-
.kui-TextAreaRoot:where(.kui-variant-ghost):where(:has(.kui-TextAreaInput:where(:disabled,:read-only))) {
|
|
20229
|
+
.kui-TextAreaRoot:where(.kui-variant-ghost):where(:has(.kui-TextAreaInput:disabled)) {
|
|
20234
20230
|
color: var(--neutral-a8);
|
|
20235
20231
|
}
|
|
20236
20232
|
.kui-TextAreaRoot:where(.kui-variant-ghost):where(:has(.kui-TextAreaInput:where(:autofill,[data-com-onepassword-filled]):not(:disabled,:-moz-read-only))) {
|
|
@@ -20242,10 +20238,7 @@
|
|
|
20242
20238
|
-webkit-box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
20243
20239
|
box-shadow: inset 0 0 0 1px var(--accent-a5), inset 0 0 0 1px var(--neutral-a4);
|
|
20244
20240
|
}
|
|
20245
|
-
.kui-TextAreaRoot:where(.kui-variant-surface):where(:has(.kui-TextAreaInput:
|
|
20246
|
-
color: var(--neutral-a8);
|
|
20247
|
-
}
|
|
20248
|
-
.kui-TextAreaRoot:where(.kui-variant-surface):where(:has(.kui-TextAreaInput:where(:disabled,:read-only))) {
|
|
20241
|
+
.kui-TextAreaRoot:where(.kui-variant-surface):where(:has(.kui-TextAreaInput:disabled)) {
|
|
20249
20242
|
color: var(--neutral-a8);
|
|
20250
20243
|
}
|
|
20251
20244
|
.kui-TextAreaRoot:where(.kui-variant-surface):where(:has(.kui-TextAreaInput:where(:autofill,[data-com-onepassword-filled]):not(:disabled,:-moz-read-only))) {
|
|
@@ -20308,6 +20301,12 @@
|
|
|
20308
20301
|
-webkit-box-shadow: inset 0 0 0 1px var(--field-edge-disabled);
|
|
20309
20302
|
box-shadow: inset 0 0 0 1px var(--field-edge-disabled);
|
|
20310
20303
|
}
|
|
20304
|
+
.kui-TextAreaRoot:where(:has(.kui-TextAreaInput:-moz-read-only:not(:disabled))) {
|
|
20305
|
+
background-color: transparent;
|
|
20306
|
+
}
|
|
20307
|
+
.kui-TextAreaRoot:where(:has(.kui-TextAreaInput:read-only:not(:disabled))) {
|
|
20308
|
+
background-color: transparent;
|
|
20309
|
+
}
|
|
20311
20310
|
.kui-TextAreaInput:where(:-moz-read-only:not(:disabled)) {
|
|
20312
20311
|
color: var(--neutral-a11);
|
|
20313
20312
|
-webkit-text-fill-color: var(--neutral-a11);
|
|
@@ -21804,28 +21803,28 @@
|
|
|
21804
21803
|
--notice-radius: var(--radius-surface-1);
|
|
21805
21804
|
--notice-line: var(--line-height-1);
|
|
21806
21805
|
--notice-control: var(--control-height-1);
|
|
21807
|
-
--notice-icon-size: var(--
|
|
21806
|
+
--notice-icon-size: var(--icon-size-1);
|
|
21808
21807
|
}
|
|
21809
21808
|
.kui-NoticeRoot:where(.kui-r-size-2) {
|
|
21810
21809
|
--notice-padding: var(--surface-p-2);
|
|
21811
21810
|
--notice-radius: var(--radius-surface-2);
|
|
21812
21811
|
--notice-line: var(--line-height-2);
|
|
21813
21812
|
--notice-control: var(--control-height-2);
|
|
21814
|
-
--notice-icon-size: var(--
|
|
21813
|
+
--notice-icon-size: var(--icon-size-2);
|
|
21815
21814
|
}
|
|
21816
21815
|
.kui-NoticeRoot:where(.kui-r-size-3) {
|
|
21817
21816
|
--notice-padding: var(--surface-p-3);
|
|
21818
21817
|
--notice-radius: var(--radius-surface-3);
|
|
21819
21818
|
--notice-line: var(--line-height-3);
|
|
21820
21819
|
--notice-control: var(--control-height-3);
|
|
21821
|
-
--notice-icon-size: var(--
|
|
21820
|
+
--notice-icon-size: var(--icon-size-3);
|
|
21822
21821
|
}
|
|
21823
21822
|
.kui-NoticeRoot:where(.kui-r-size-4) {
|
|
21824
21823
|
--notice-padding: var(--surface-p-4);
|
|
21825
21824
|
--notice-radius: var(--radius-surface-4);
|
|
21826
21825
|
--notice-line: var(--line-height-4);
|
|
21827
21826
|
--notice-control: var(--control-height-4);
|
|
21828
|
-
--notice-icon-size: var(--
|
|
21827
|
+
--notice-icon-size: var(--icon-size-4);
|
|
21829
21828
|
}
|
|
21830
21829
|
.kui-theme:where([data-is-root-theme='true']) {
|
|
21831
21830
|
position: relative;
|
package/tokens.css
CHANGED
|
@@ -3326,10 +3326,10 @@
|
|
|
3326
3326
|
--trigger-icon-size-2: 11px;
|
|
3327
3327
|
--trigger-icon-size-3: 11px;
|
|
3328
3328
|
--trigger-icon-size-4: 12px;
|
|
3329
|
-
--content-icon-size-1:
|
|
3330
|
-
--content-icon-size-2:
|
|
3331
|
-
--content-icon-size-3:
|
|
3332
|
-
--content-icon-size-4:
|
|
3329
|
+
--content-icon-size-1: var(--icon-size-1);
|
|
3330
|
+
--content-icon-size-2: var(--icon-size-2);
|
|
3331
|
+
--content-icon-size-3: var(--icon-size-3);
|
|
3332
|
+
--content-icon-size-4: var(--icon-size-4);
|
|
3333
3333
|
--indicator-icon-size-1: calc(9px * var(--scale));
|
|
3334
3334
|
--indicator-icon-size-2: calc(10px * var(--scale));
|
|
3335
3335
|
--indicator-icon-size-3: calc(12px * var(--scale));
|