@womp/kookie-ui 0.35.1 → 0.35.3

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/styles.css CHANGED
@@ -3370,8 +3370,8 @@
3370
3370
  --component-gap-ghost-2: calc(var(--space-2) * 1.5);
3371
3371
  --component-gap-ghost-3: calc(var(--space-2) * 1.5);
3372
3372
  --component-gap-ghost-4: var(--space-3);
3373
- --focus-outline-width: 2px;
3374
- --focus-outline-offset: 2px;
3373
+ --focus-outline-width: var(--focus-ring-width);
3374
+ --focus-outline-offset: var(--focus-ring-offset);
3375
3375
  --focus-outline-offset-inset: -1px;
3376
3376
  --padding-ratio-horizontal: 1.5;
3377
3377
  --color-page: white;
@@ -6117,7 +6117,7 @@
6117
6117
  }
6118
6118
  }
6119
6119
  :where(.kui-AccordionTrigger:focus-visible) {
6120
- outline: var(--focus-outline-width) solid var(--focus-8);
6120
+ outline: var(--focus-ring-width) solid var(--focus-8);
6121
6121
  outline-offset: var(--focus-outline-offset-inset);
6122
6122
  }
6123
6123
  .kui-AccordionContent {
@@ -6247,7 +6247,7 @@
6247
6247
  border: 1px solid CanvasText;
6248
6248
  }
6249
6249
  :where(.kui-AccordionTrigger:focus-visible) {
6250
- outline: 2px solid CanvasText;
6250
+ outline: var(--focus-ring-width) solid CanvasText;
6251
6251
  outline-offset: 2px;
6252
6252
  }
6253
6253
  :where(.kui-AccordionItem:not(:last-child)) {
@@ -6559,8 +6559,8 @@
6559
6559
  cursor: pointer;
6560
6560
  }
6561
6561
  :is(.kui-AvatarRoot:where(button),.kui-AvatarRoot:where(a),.kui-AvatarRoot:where([role='button'])):where(:focus-visible) {
6562
- outline: var(--focus-outline-width) solid var(--focus-8);
6563
- outline-offset: var(--focus-outline-offset);
6562
+ outline: var(--focus-ring-width) solid var(--focus-8);
6563
+ outline-offset: var(--focus-ring-offset);
6564
6564
  }
6565
6565
  :is(.kui-AvatarRoot:where(button),.kui-AvatarRoot:where(a),.kui-AvatarRoot:where([role='button'])):where(:disabled),:is(.kui-AvatarRoot:where(button),.kui-AvatarRoot:where(a),.kui-AvatarRoot:where([role='button'])):where([data-disabled]) {
6566
6566
  cursor: default;
@@ -8644,7 +8644,7 @@
8644
8644
  background-color: var(--v-bg);
8645
8645
  }
8646
8646
  .kui-BaseCard:where(.kui-variant-outline,.kui-variant-soft,.kui-variant-surface):where(:focus-visible) {
8647
- outline: 2px solid var(--v-focus-color);
8647
+ outline: var(--focus-ring-width) solid var(--v-focus-color);
8648
8648
  outline-offset: var(--v-focus-offset);
8649
8649
  }
8650
8650
  .kui-BaseCard:where(.kui-variant-outline,.kui-variant-soft,.kui-variant-surface):where(:focus-visible)::after {
@@ -8742,7 +8742,7 @@
8742
8742
  --v-focus-offset: -1px;
8743
8743
  }
8744
8744
  .kui-BaseCard:where(.kui-variant-ghost):where(:focus-visible) {
8745
- outline: 2px solid var(--v-focus-color);
8745
+ outline: var(--focus-ring-width) solid var(--v-focus-color);
8746
8746
  outline-offset: var(--v-focus-offset);
8747
8747
  }
8748
8748
  @media (hover: hover) {
@@ -8807,7 +8807,7 @@
8807
8807
  box-shadow: none;
8808
8808
  }
8809
8809
  .kui-BaseCard:where(.kui-variant-raised):where(:focus-visible) {
8810
- outline: 2px solid var(--focus-8);
8810
+ outline: var(--focus-ring-width) solid var(--focus-8);
8811
8811
  outline-offset: 2px;
8812
8812
  }
8813
8813
  @media (hover: hover) {
@@ -8889,7 +8889,7 @@
8889
8889
  --base-card-border-radius: var(--kui-sf-r);
8890
8890
  }
8891
8891
  .kui-Card:where(:focus-visible) {
8892
- outline: 2px solid var(--focus-8);
8892
+ outline: var(--focus-ring-width) solid var(--focus-8);
8893
8893
  outline-offset: -1px;
8894
8894
  }
8895
8895
  .kui-Card:where(:focus-visible)::after {
@@ -10144,7 +10144,7 @@
10144
10144
  }
10145
10145
  @media (forced-colors: active) {
10146
10146
  .kui-BaseMenuItem:where(:focus-visible) {
10147
- outline: 2px solid Highlight;
10147
+ outline: var(--focus-ring-width) solid Highlight;
10148
10148
  outline-offset: 2px;
10149
10149
  }
10150
10150
  .kui-BaseMenuContent:not(:where(.kui-SidebarContent)) {
@@ -10354,7 +10354,7 @@
10354
10354
  }
10355
10355
  @media (forced-colors: active) {
10356
10356
  .kui-CommandItem:where([data-selected='true']) {
10357
- outline: 2px solid Highlight;
10357
+ outline: var(--focus-ring-width) solid Highlight;
10358
10358
  outline-offset: -2px;
10359
10359
  }
10360
10360
  .kui-CommandSearch {
@@ -10514,13 +10514,13 @@
10514
10514
  }
10515
10515
  @supports selector(:has(*)) {
10516
10516
  .kui-TextFieldRoot:where(:has(.kui-TextFieldInput:focus)) {
10517
- outline: 2px solid var(--text-field-focus-color);
10517
+ outline: var(--focus-ring-width) solid var(--text-field-focus-color);
10518
10518
  outline-offset: -1px;
10519
10519
  }
10520
10520
  }
10521
10521
  @supports not selector(:has(*)) {
10522
10522
  .kui-TextFieldRoot:where(:focus-within) {
10523
- outline: 2px solid var(--text-field-focus-color);
10523
+ outline: var(--focus-ring-width) solid var(--text-field-focus-color);
10524
10524
  outline-offset: -1px;
10525
10525
  }
10526
10526
  }
@@ -10583,7 +10583,7 @@
10583
10583
  }
10584
10584
  }
10585
10585
  .kui-TextFieldInput::-webkit-calendar-picker-indicator:where(:focus-visible) {
10586
- outline: 2px solid var(--text-field-focus-color);
10586
+ outline: var(--focus-ring-width) solid var(--text-field-focus-color);
10587
10587
  }
10588
10588
  :is(.kui-TextFieldInput::-webkit-datetime-edit-ampm-field,.kui-TextFieldInput::-webkit-datetime-edit-day-field,.kui-TextFieldInput::-webkit-datetime-edit-hour-field,.kui-TextFieldInput::-webkit-datetime-edit-millisecond-field,.kui-TextFieldInput::-webkit-datetime-edit-minute-field,.kui-TextFieldInput::-webkit-datetime-edit-month-field,.kui-TextFieldInput::-webkit-datetime-edit-second-field,.kui-TextFieldInput::-webkit-datetime-edit-week-field,.kui-TextFieldInput::-webkit-datetime-edit-year-field):where(:focus) {
10589
10589
  background-color: var(--text-field-selection-color);
@@ -11884,7 +11884,7 @@
11884
11884
  }
11885
11885
  @media (forced-colors: active) {
11886
11886
  .kui-ComboboxItem:where([data-selected='true']) {
11887
- outline: 2px solid Highlight;
11887
+ outline: var(--focus-ring-width) solid Highlight;
11888
11888
  outline-offset: -2px;
11889
11889
  }
11890
11890
  }
@@ -12337,10 +12337,10 @@
12337
12337
  box-shadow: inset 0 var(--raised-border-width) var(--black-a3), 0 0 0 var(--raised-border-width) var(--neutral-a7);
12338
12338
  }
12339
12339
  .kui-Kbd:where(.kui-variant-raised):where(:-moz-any-link,button):where(:focus-visible) {
12340
- outline: 2px solid var(--focus-8);
12340
+ outline: var(--focus-ring-width) solid var(--focus-8);
12341
12341
  }
12342
12342
  .kui-Kbd:where(.kui-variant-raised):where(:any-link,button):where(:focus-visible) {
12343
- outline: 2px solid var(--focus-8);
12343
+ outline: var(--focus-ring-width) solid var(--focus-8);
12344
12344
  }
12345
12345
  .kui-Kbd:where(.kui-variant-soft) {
12346
12346
  background-color: var(--neutral-a3);
@@ -12366,10 +12366,10 @@
12366
12366
  background-color: var(--neutral-a5);
12367
12367
  }
12368
12368
  .kui-Kbd:where(.kui-variant-soft):where(:-moz-any-link,button):where(:focus-visible) {
12369
- outline: 2px solid var(--focus-8);
12369
+ outline: var(--focus-ring-width) solid var(--focus-8);
12370
12370
  }
12371
12371
  .kui-Kbd:where(.kui-variant-soft):where(:any-link,button):where(:focus-visible) {
12372
- outline: 2px solid var(--focus-8);
12372
+ outline: var(--focus-ring-width) solid var(--focus-8);
12373
12373
  }
12374
12374
  .kui-Kbd:where(.kui-r-size-1) {
12375
12375
  font-size: var(--font-size-1);
@@ -13493,7 +13493,7 @@
13493
13493
  position: absolute;
13494
13494
  inset: 0;
13495
13495
  pointer-events: none;
13496
- outline: 2px solid var(--focus-8);
13496
+ outline: var(--focus-ring-width) solid var(--focus-8);
13497
13497
  outline-offset: -2px;
13498
13498
  }
13499
13499
  :where(.kui-ScrollAreaRoot:has(> .kui-ScrollAreaScrollbar[data-orientation='horizontal'])) > .kui-ScrollAreaViewport {
@@ -14902,7 +14902,7 @@
14902
14902
  font-weight: var(--font-weight-medium);
14903
14903
  }
14904
14904
  .kui-SelectTrigger:where(:focus-visible) {
14905
- outline: var(--focus-outline-width) solid var(--focus-8);
14905
+ outline: var(--focus-ring-width) solid var(--focus-8);
14906
14906
  outline-offset: var(--focus-outline-offset-inset);
14907
14907
  }
14908
14908
  .kui-SelectTriggerInner {
@@ -15361,7 +15361,7 @@
15361
15361
  box-shadow: var(--field-chrome);
15362
15362
  }
15363
15363
  .kui-SelectTrigger:where(.kui-variant-raised):where(:focus-visible) {
15364
- outline: 2px solid var(--focus-8);
15364
+ outline: var(--focus-ring-width) solid var(--focus-8);
15365
15365
  outline-offset: 2px;
15366
15366
  }
15367
15367
  @media (hover: hover) {
@@ -15388,7 +15388,7 @@
15388
15388
  color: var(--accent-ink);
15389
15389
  }
15390
15390
  .kui-SelectTrigger:where(.kui-variant-soft):where(:focus-visible) {
15391
- outline: 2px solid var(--accent-8);
15391
+ outline: var(--focus-ring-width) solid var(--accent-8);
15392
15392
  outline-offset: -1px;
15393
15393
  }
15394
15394
  @media (hover: hover) {
@@ -15426,7 +15426,7 @@
15426
15426
  }
15427
15427
  }
15428
15428
  .kui-SelectTrigger:where(.kui-variant-ghost):where(:focus-visible) {
15429
- outline: 2px solid var(--focus-8);
15429
+ outline: var(--focus-ring-width) solid var(--focus-8);
15430
15430
  outline-offset: -1px;
15431
15431
  }
15432
15432
  .kui-SelectTrigger:where(.kui-variant-ghost):where([data-state='open']) {
@@ -15463,7 +15463,7 @@
15463
15463
  box-shadow: inset 0 0 0 1px var(--accent-8);
15464
15464
  }
15465
15465
  .kui-SelectTrigger:where(.kui-variant-outline):where(:focus-visible) {
15466
- outline: 2px solid var(--focus-8);
15466
+ outline: var(--focus-ring-width) solid var(--focus-8);
15467
15467
  outline-offset: -1px;
15468
15468
  }
15469
15469
  .kui-SelectTrigger:where(.kui-variant-outline):where(:disabled) {
@@ -15501,7 +15501,7 @@
15501
15501
  box-shadow: inset 0 0 0 1px var(--accent-8);
15502
15502
  }
15503
15503
  .kui-SelectTrigger:where(.kui-variant-surface):where(:focus-visible) {
15504
- outline: 2px solid var(--focus-8);
15504
+ outline: var(--focus-ring-width) solid var(--focus-8);
15505
15505
  outline-offset: -1px;
15506
15506
  }
15507
15507
  .kui-SelectTrigger:where(.kui-variant-surface):where(:disabled) {
@@ -15825,7 +15825,7 @@
15825
15825
  color: var(--accent-a12);
15826
15826
  }
15827
15827
  .kui-SidebarMenuButton:where(:focus-visible) {
15828
- outline: 2px solid var(--focus-8);
15828
+ outline: var(--focus-ring-width) solid var(--focus-8);
15829
15829
  outline-offset: 2px;
15830
15830
  }
15831
15831
  .kui-SidebarMenuButton:where([data-accent-color]) {
@@ -15965,117 +15965,31 @@
15965
15965
  margin-top: 1px;
15966
15966
  margin-bottom: 1px;
15967
15967
  }
15968
- :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-1) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) {
15968
+ :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter):is(.kui-r-size-1, .kui-r-size-2)) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) {
15969
15969
  padding-top: var(--space-2) !important;
15970
15970
  padding-bottom: var(--space-2) !important;
15971
- -webkit-box-pack: center;
15972
- -ms-flex-pack: center;
15973
- justify-content: center;
15974
- -webkit-box-align: center;
15975
- -ms-flex-align: center;
15976
- align-items: center;
15977
- -webkit-box-orient: vertical;
15978
- -webkit-box-direction: normal;
15979
- -ms-flex-direction: column;
15980
- flex-direction: column;
15981
- gap: var(--space-2);
15982
- text-align: center;
15983
- font-size: var(--font-size-1);
15984
- line-height: var(--line-height-1);
15985
- white-space: nowrap;
15986
- overflow: hidden;
15987
- text-overflow: ellipsis;
15988
- max-width: 100%;
15989
- min-width: 0;
15990
- }
15991
- :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-2) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) {
15992
- padding-top: var(--space-2) !important;
15993
- padding-bottom: var(--space-2) !important;
15994
- -webkit-box-pack: center;
15995
- -ms-flex-pack: center;
15996
- justify-content: center;
15997
- -webkit-box-align: center;
15998
- -ms-flex-align: center;
15999
- align-items: center;
16000
- -webkit-box-orient: vertical;
16001
- -webkit-box-direction: normal;
16002
- -ms-flex-direction: column;
16003
- flex-direction: column;
16004
- gap: var(--space-2);
16005
- text-align: center;
16006
- font-size: var(--font-size-1);
16007
- line-height: var(--line-height-1);
16008
- white-space: nowrap;
16009
- overflow: hidden;
16010
- text-overflow: ellipsis;
16011
- max-width: 100%;
16012
- min-width: 0;
16013
15971
  }
16014
15972
  :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-3) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) {
16015
15973
  padding-top: var(--space-3) !important;
16016
15974
  padding-bottom: var(--space-3) !important;
16017
- -webkit-box-pack: center;
16018
- -ms-flex-pack: center;
16019
- justify-content: center;
16020
- -webkit-box-align: center;
16021
- -ms-flex-align: center;
16022
- align-items: center;
16023
- -webkit-box-orient: vertical;
16024
- -webkit-box-direction: normal;
16025
- -ms-flex-direction: column;
16026
- flex-direction: column;
16027
- gap: var(--space-2);
16028
- text-align: center;
16029
- font-size: var(--font-size-1);
16030
- line-height: var(--line-height-1);
16031
- white-space: nowrap;
16032
- overflow: hidden;
16033
- text-overflow: ellipsis;
16034
- max-width: 100%;
16035
- min-width: 0;
16036
15975
  }
16037
- :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-1) {
15976
+ :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter):is(.kui-r-size-1, .kui-r-size-2, .kui-r-size-3)) {
16038
15977
  --base-menu-item-padding-left: var(--space-2) !important;
16039
15978
  --base-menu-item-padding-right: var(--space-2) !important;
16040
15979
  --base-menu-item-padding-y: var(--space-3) !important;
16041
15980
  }
16042
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-1):where(:not(:has(.kui-BaseMenuCheckboxItem,.kui-BaseMenuRadioItem))) {
16043
- --base-menu-item-padding-left: var(--space-2) !important;
16044
- }
16045
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-1):where(:has(.kui-BaseMenuCheckboxItem,.kui-BaseMenuRadioItem)) {
16046
- --base-menu-item-padding-left: var(--space-2) !important;
15981
+ :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter):is(.kui-r-size-1,.kui-r-size-2,.kui-r-size-3)) :where(.kui-SidebarMenuButton,.kui-SidebarMenuSubTrigger) {
15982
+ white-space: nowrap;
15983
+ overflow: hidden;
15984
+ text-overflow: ellipsis;
15985
+ max-width: 100%;
15986
+ min-width: 0;
16047
15987
  }
16048
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-1) :where(.kui-SidebarMenuButton,.kui-SidebarMenuSubTrigger) :where(svg) {
15988
+ :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-1) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) :where(svg) {
16049
15989
  width: var(--content-icon-size-3);
16050
15990
  height: var(--content-icon-size-3);
16051
15991
  }
16052
- :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-2) {
16053
- --base-menu-item-padding-left: var(--space-2) !important;
16054
- --base-menu-item-padding-right: var(--space-2) !important;
16055
- --base-menu-item-padding-y: var(--space-3) !important;
16056
- }
16057
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-2):where(:not(:has(.kui-BaseMenuCheckboxItem,.kui-BaseMenuRadioItem))) {
16058
- --base-menu-item-padding-left: var(--space-2) !important;
16059
- }
16060
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-2):where(:has(.kui-BaseMenuCheckboxItem,.kui-BaseMenuRadioItem)) {
16061
- --base-menu-item-padding-left: var(--space-2) !important;
16062
- }
16063
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-2) :where(.kui-SidebarMenuButton,.kui-SidebarMenuSubTrigger) :where(svg) {
16064
- width: var(--content-icon-size-4);
16065
- height: var(--content-icon-size-4);
16066
- }
16067
- :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-3) {
16068
- --base-menu-item-padding-left: var(--space-2) !important;
16069
- --base-menu-item-padding-right: var(--space-2) !important;
16070
- --base-menu-item-padding-y: var(--space-3) !important;
16071
- }
16072
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-3):where(:not(:has(.kui-BaseMenuCheckboxItem,.kui-BaseMenuRadioItem))) {
16073
- --base-menu-item-padding-left: var(--space-2) !important;
16074
- }
16075
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-3):where(:has(.kui-BaseMenuCheckboxItem,.kui-BaseMenuRadioItem)) {
16076
- --base-menu-item-padding-left: var(--space-2) !important;
16077
- }
16078
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-3) :where(.kui-SidebarMenuButton,.kui-SidebarMenuSubTrigger) :where(svg) {
15992
+ :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) {
16079
15993
  width: var(--content-icon-size-4);
16080
15994
  height: var(--content-icon-size-4);
16081
15995
  }
@@ -16186,17 +16100,7 @@
16186
16100
  :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-menu-variant-soft .kui-SidebarMenuButton[data-active] .kui-SidebarMenuIconWrapper) {
16187
16101
  background-color: var(--accent-3);
16188
16102
  }
16189
- :where(.kui-ShellRailContent .kui-SidebarMenuBadge),
16190
- :where(.kui-ShellRailContent .kui-SidebarMenuShortcut),
16191
- :where(.kui-ShellRailContent .kui-Chip),
16192
- :where(.kui-ShellRailContent .kui-Kbd) {
16193
- display: none !important;
16194
- }
16195
- :where(.kui-ShellRailContent .kui-SidebarGroupLabel) {
16196
- display: none !important;
16197
- }
16198
- :where(.kui-ShellRailContent .kui-SidebarMenuSubTriggerIcon),
16199
- :where(.kui-ShellRailContent .kui-BaseMenuSubTriggerIcon) {
16103
+ :where(.kui-ShellRailContent) :where(.kui-SidebarMenuBadge, .kui-SidebarMenuShortcut, .kui-Chip, .kui-Kbd, .kui-SidebarGroupLabel, .kui-SidebarMenuSubTriggerIcon, .kui-BaseMenuSubTriggerIcon) {
16200
16104
  display: none !important;
16201
16105
  }
16202
16106
  .kui-SidebarMenuLabel {
@@ -16205,7 +16109,8 @@
16205
16109
  text-overflow: ellipsis;
16206
16110
  white-space: nowrap;
16207
16111
  }
16208
- .kui-SidebarHeader:where(.kui-SidebarHeader--container) {
16112
+ .kui-SidebarHeader:where(.kui-SidebarHeader--container),
16113
+ .kui-SidebarFooter:where(.kui-SidebarFooter--container) {
16209
16114
  display: -webkit-box;
16210
16115
  display: -ms-flexbox;
16211
16116
  display: flex;
@@ -16220,12 +16125,12 @@
16220
16125
  padding: var(--sidebar-base-padding);
16221
16126
  min-height: var(--sidebar-item-height);
16222
16127
  }
16223
- .kui-SidebarHeader:where(.kui-SidebarHeader--container) :where(.kui-SidebarMenuButton) {
16128
+ :is(.kui-SidebarHeader:where(.kui-SidebarHeader--container),.kui-SidebarFooter:where(.kui-SidebarFooter--container)) :where(.kui-SidebarMenuButton) {
16224
16129
  -webkit-box-flex: 1;
16225
16130
  -ms-flex: 1;
16226
16131
  flex: 1;
16227
16132
  }
16228
- .kui-SidebarHeader:where(.kui-SidebarHeader--container) > :where(.kui-Toolbar) {
16133
+ :is(.kui-SidebarHeader:where(.kui-SidebarHeader--container),.kui-SidebarFooter:where(.kui-SidebarFooter--container)) > :where(.kui-Toolbar) {
16229
16134
  -webkit-box-flex: 1;
16230
16135
  -ms-flex: 1;
16231
16136
  flex: 1;
@@ -16233,31 +16138,6 @@
16233
16138
  .kui-SidebarHeader:where(.kui-SidebarHeader--container:not([data-float]):has(+ .kui-ShellScroll)) {
16234
16139
  padding-bottom: 0;
16235
16140
  }
16236
- .kui-SidebarFooter:where(.kui-SidebarFooter--container) {
16237
- display: -webkit-box;
16238
- display: -ms-flexbox;
16239
- display: flex;
16240
- -webkit-box-orient: horizontal;
16241
- -webkit-box-direction: normal;
16242
- -ms-flex-direction: row;
16243
- flex-direction: row;
16244
- -webkit-box-align: center;
16245
- -ms-flex-align: center;
16246
- align-items: center;
16247
- gap: var(--space-3);
16248
- padding: var(--sidebar-base-padding);
16249
- min-height: var(--sidebar-item-height);
16250
- }
16251
- .kui-SidebarFooter:where(.kui-SidebarFooter--container) :where(.kui-SidebarMenuButton) {
16252
- -webkit-box-flex: 1;
16253
- -ms-flex: 1;
16254
- flex: 1;
16255
- }
16256
- .kui-SidebarFooter:where(.kui-SidebarFooter--container) > :where(.kui-Toolbar) {
16257
- -webkit-box-flex: 1;
16258
- -ms-flex: 1;
16259
- flex: 1;
16260
- }
16261
16141
  :where(.kui-ShellScroll) + .kui-SidebarFooter:where(.kui-SidebarFooter--container:not([data-float])) {
16262
16142
  padding-top: 0;
16263
16143
  }
@@ -16295,7 +16175,7 @@
16295
16175
  justify-content: flex-start;
16296
16176
  }
16297
16177
  :is(.kui-SidebarHeader :where(.kui-SidebarMenuButton),.kui-SidebarFooter :where(.kui-SidebarMenuButton)):where(:focus-visible) {
16298
- outline: 2px solid var(--focus-8);
16178
+ outline: var(--focus-ring-width) solid var(--focus-8);
16299
16179
  outline-offset: 2px;
16300
16180
  }
16301
16181
  .kui-SidebarMenuSubTriggerIcon {
@@ -16873,7 +16753,7 @@
16873
16753
  :where(.kui-ShellRailContent) .kui-SidebarSearch {
16874
16754
  padding: var(--space-3);
16875
16755
  }
16876
- .kui-SidebarSearch--expanded .kui-SidebarSearchInputWrapper {
16756
+ :is(.kui-SidebarSearch--expanded, .kui-SidebarSearchPopover) .kui-SidebarSearchInputWrapper {
16877
16757
  display: -webkit-box;
16878
16758
  display: -ms-flexbox;
16879
16759
  display: flex;
@@ -16889,7 +16769,7 @@
16889
16769
  border-radius: var(--radius-2);
16890
16770
  padding: var(--space-2) var(--space-3);
16891
16771
  }
16892
- .kui-SidebarSearch--expanded .kui-SidebarSearchInputWrapper:focus-within {
16772
+ :is(.kui-SidebarSearch--expanded, .kui-SidebarSearchPopover) .kui-SidebarSearchInputWrapper:focus-within {
16893
16773
  -webkit-box-shadow: inset 0 0 0 1px var(--accent-a7);
16894
16774
  box-shadow: inset 0 0 0 1px var(--accent-a7);
16895
16775
  }
@@ -16923,11 +16803,7 @@
16923
16803
  margin-top: 1px;
16924
16804
  margin-bottom: 1px;
16925
16805
  }
16926
- :where(.kui-ShellRailContent.kui-r-size-1) :where(.kui-SidebarSearchTrigger) {
16927
- padding-top: var(--space-2) !important;
16928
- padding-bottom: var(--space-2) !important;
16929
- }
16930
- :where(.kui-ShellRailContent.kui-r-size-2) :where(.kui-SidebarSearchTrigger) {
16806
+ :where(.kui-ShellRailContent:is(.kui-r-size-1, .kui-r-size-2)) :where(.kui-SidebarSearchTrigger) {
16931
16807
  padding-top: var(--space-2) !important;
16932
16808
  padding-bottom: var(--space-2) !important;
16933
16809
  }
@@ -16939,11 +16815,7 @@
16939
16815
  width: var(--content-icon-size-2);
16940
16816
  height: var(--content-icon-size-2);
16941
16817
  }
16942
- .kui-ShellRailContent.kui-r-size-2 .kui-SidebarSearchTrigger svg {
16943
- width: var(--content-icon-size-3);
16944
- height: var(--content-icon-size-3);
16945
- }
16946
- .kui-ShellRailContent.kui-r-size-3 .kui-SidebarSearchTrigger svg {
16818
+ .kui-ShellRailContent:is(.kui-r-size-2, .kui-r-size-3) .kui-SidebarSearchTrigger svg {
16947
16819
  width: var(--content-icon-size-3);
16948
16820
  height: var(--content-icon-size-3);
16949
16821
  }
@@ -16993,26 +16865,6 @@
16993
16865
  --base-menu-line-height: var(--line-height-2);
16994
16866
  --base-menu-letter-spacing: var(--letter-spacing-2);
16995
16867
  }
16996
- .kui-SidebarSearchPopover .kui-SidebarSearchInputWrapper {
16997
- display: -webkit-box;
16998
- display: -ms-flexbox;
16999
- display: flex;
17000
- -webkit-box-orient: horizontal;
17001
- -webkit-box-direction: normal;
17002
- -ms-flex-direction: row;
17003
- flex-direction: row;
17004
- -webkit-box-align: center;
17005
- -ms-flex-align: center;
17006
- align-items: center;
17007
- gap: var(--space-3);
17008
- background-color: var(--neutral-a3);
17009
- border-radius: var(--radius-2);
17010
- padding: var(--space-2) var(--space-3);
17011
- }
17012
- .kui-SidebarSearchPopover .kui-SidebarSearchInputWrapper:focus-within {
17013
- -webkit-box-shadow: inset 0 0 0 1px var(--accent-a7);
17014
- box-shadow: inset 0 0 0 1px var(--accent-a7);
17015
- }
17016
16868
  .kui-SidebarSearchPopover .kui-SidebarMenu {
17017
16869
  list-style: none;
17018
16870
  margin: 0;
@@ -17032,7 +16884,7 @@
17032
16884
  }
17033
16885
  }
17034
16886
  .kui-SidebarSearchPopover .kui-SidebarMenuButton:where(:focus-visible) {
17035
- outline: 2px solid var(--focus-8);
16887
+ outline: var(--focus-ring-width) solid var(--focus-8);
17036
16888
  outline-offset: -2px;
17037
16889
  }
17038
16890
  .kui-SidebarSearchPopover .kui-SidebarMenuButton[data-active] {
@@ -17040,12 +16892,6 @@
17040
16892
  color: var(--accent-a12);
17041
16893
  font-weight: var(--font-weight-medium);
17042
16894
  }
17043
- .kui-SidebarSearchPopover .kui-SidebarMenuLabel {
17044
- min-width: 0;
17045
- overflow: hidden;
17046
- text-overflow: ellipsis;
17047
- white-space: nowrap;
17048
- }
17049
16895
  .kui-SidebarSearchIcon {
17050
16896
  -ms-flex-negative: 0;
17051
16897
  flex-shrink: 0;
@@ -19858,7 +19704,7 @@
19858
19704
  background-color: Highlight;
19859
19705
  }
19860
19706
  .kui-BaseTabListTrigger:where(:focus-visible) :where(.kui-BaseTabListTriggerInner) {
19861
- outline: 2px solid Highlight;
19707
+ outline: var(--focus-ring-width) solid Highlight;
19862
19708
  outline-offset: 2px;
19863
19709
  }
19864
19710
  }
@@ -19913,7 +19759,7 @@
19913
19759
  height: auto;
19914
19760
  }
19915
19761
  .kui-TextAreaRoot:where(:focus-within) {
19916
- outline: 2px solid var(--v-focus-color, var(--focus-8));
19762
+ outline: var(--focus-ring-width) solid var(--v-focus-color, var(--focus-8));
19917
19763
  outline-offset: -1px;
19918
19764
  }
19919
19765
  .kui-TextAreaRoot::-moz-selection {
@@ -20815,7 +20661,7 @@
20815
20661
  background-color: var(--neutral-a4);
20816
20662
  }
20817
20663
  .kui-NavigatorLink:where(:focus-visible) {
20818
- outline: 2px solid var(--focus-8);
20664
+ outline: var(--focus-ring-width) solid var(--focus-8);
20819
20665
  outline-offset: -2px;
20820
20666
  }
20821
20667
  .kui-Page {
@@ -20891,7 +20737,7 @@
20891
20737
  outline: none;
20892
20738
  }
20893
20739
  .kui-VirtualMenuRoot:where(:focus-visible) {
20894
- outline: 2px solid var(--focus-8);
20740
+ outline: var(--focus-ring-width) solid var(--focus-8);
20895
20741
  outline-offset: -2px;
20896
20742
  }
20897
20743
  .kui-VirtualMenuViewport {
@@ -21651,7 +21497,7 @@
21651
21497
  }
21652
21498
  }
21653
21499
  .kui-ChatbarBox:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:focus-within) {
21654
- outline: 2px solid var(--v-focus-color, var(--focus-8));
21500
+ outline: var(--focus-ring-width) solid var(--v-focus-color, var(--focus-8));
21655
21501
  outline-offset: -1px;
21656
21502
  }
21657
21503
  .kui-ChatbarBox:where(.kui-variant-outline, .kui-variant-surface) {
@@ -21696,7 +21542,7 @@
21696
21542
  border: 1px solid CanvasText;
21697
21543
  }
21698
21544
  .kui-ChatbarBox:where(.kui-variant-raised):where(:focus-within) {
21699
- outline: 2px solid Highlight;
21545
+ outline: var(--focus-ring-width) solid Highlight;
21700
21546
  outline-offset: -1px;
21701
21547
  }
21702
21548
  .kui-ChatbarRoot:where([data-disabled]) .kui-ChatbarBox {
@@ -21854,7 +21700,7 @@
21854
21700
  outline: none;
21855
21701
  }
21856
21702
  .kui-MessageScrollerViewport:where(:focus-visible) {
21857
- outline: 2px solid var(--focus-8);
21703
+ outline: var(--focus-ring-width) solid var(--focus-8);
21858
21704
  outline-offset: -2px;
21859
21705
  }
21860
21706
  .kui-MessageScrollerContent {
package/tokens.css CHANGED
@@ -3370,8 +3370,8 @@
3370
3370
  --component-gap-ghost-2: calc(var(--space-2) * 1.5);
3371
3371
  --component-gap-ghost-3: calc(var(--space-2) * 1.5);
3372
3372
  --component-gap-ghost-4: var(--space-3);
3373
- --focus-outline-width: 2px;
3374
- --focus-outline-offset: 2px;
3373
+ --focus-outline-width: var(--focus-ring-width);
3374
+ --focus-outline-offset: var(--focus-ring-offset);
3375
3375
  --focus-outline-offset-inset: -1px;
3376
3376
  --padding-ratio-horizontal: 1.5;
3377
3377
  --color-page: white;