@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/components.css CHANGED
@@ -947,7 +947,7 @@
947
947
  }
948
948
  }
949
949
  :where(.kui-AccordionTrigger:focus-visible) {
950
- outline: var(--focus-outline-width) solid var(--focus-8);
950
+ outline: var(--focus-ring-width) solid var(--focus-8);
951
951
  outline-offset: var(--focus-outline-offset-inset);
952
952
  }
953
953
  .kui-AccordionContent {
@@ -1077,7 +1077,7 @@
1077
1077
  border: 1px solid CanvasText;
1078
1078
  }
1079
1079
  :where(.kui-AccordionTrigger:focus-visible) {
1080
- outline: 2px solid CanvasText;
1080
+ outline: var(--focus-ring-width) solid CanvasText;
1081
1081
  outline-offset: 2px;
1082
1082
  }
1083
1083
  :where(.kui-AccordionItem:not(:last-child)) {
@@ -1389,8 +1389,8 @@
1389
1389
  cursor: pointer;
1390
1390
  }
1391
1391
  :is(.kui-AvatarRoot:where(button),.kui-AvatarRoot:where(a),.kui-AvatarRoot:where([role='button'])):where(:focus-visible) {
1392
- outline: var(--focus-outline-width) solid var(--focus-8);
1393
- outline-offset: var(--focus-outline-offset);
1392
+ outline: var(--focus-ring-width) solid var(--focus-8);
1393
+ outline-offset: var(--focus-ring-offset);
1394
1394
  }
1395
1395
  :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]) {
1396
1396
  cursor: default;
@@ -3484,7 +3484,7 @@
3484
3484
  background-color: var(--v-bg);
3485
3485
  }
3486
3486
  .kui-BaseCard:where(.kui-variant-outline,.kui-variant-soft,.kui-variant-surface):where(:focus-visible) {
3487
- outline: 2px solid var(--v-focus-color);
3487
+ outline: var(--focus-ring-width) solid var(--v-focus-color);
3488
3488
  outline-offset: var(--v-focus-offset);
3489
3489
  }
3490
3490
  .kui-BaseCard:where(.kui-variant-outline,.kui-variant-soft,.kui-variant-surface):where(:focus-visible)::after {
@@ -3582,7 +3582,7 @@
3582
3582
  --v-focus-offset: -1px;
3583
3583
  }
3584
3584
  .kui-BaseCard:where(.kui-variant-ghost):where(:focus-visible) {
3585
- outline: 2px solid var(--v-focus-color);
3585
+ outline: var(--focus-ring-width) solid var(--v-focus-color);
3586
3586
  outline-offset: var(--v-focus-offset);
3587
3587
  }
3588
3588
  @media (hover: hover) {
@@ -3647,7 +3647,7 @@
3647
3647
  box-shadow: none;
3648
3648
  }
3649
3649
  .kui-BaseCard:where(.kui-variant-raised):where(:focus-visible) {
3650
- outline: 2px solid var(--focus-8);
3650
+ outline: var(--focus-ring-width) solid var(--focus-8);
3651
3651
  outline-offset: 2px;
3652
3652
  }
3653
3653
  @media (hover: hover) {
@@ -3729,7 +3729,7 @@
3729
3729
  --base-card-border-radius: var(--kui-sf-r);
3730
3730
  }
3731
3731
  .kui-Card:where(:focus-visible) {
3732
- outline: 2px solid var(--focus-8);
3732
+ outline: var(--focus-ring-width) solid var(--focus-8);
3733
3733
  outline-offset: -1px;
3734
3734
  }
3735
3735
  .kui-Card:where(:focus-visible)::after {
@@ -4984,7 +4984,7 @@
4984
4984
  }
4985
4985
  @media (forced-colors: active) {
4986
4986
  .kui-BaseMenuItem:where(:focus-visible) {
4987
- outline: 2px solid Highlight;
4987
+ outline: var(--focus-ring-width) solid Highlight;
4988
4988
  outline-offset: 2px;
4989
4989
  }
4990
4990
  .kui-BaseMenuContent:not(:where(.kui-SidebarContent)) {
@@ -5194,7 +5194,7 @@
5194
5194
  }
5195
5195
  @media (forced-colors: active) {
5196
5196
  .kui-CommandItem:where([data-selected='true']) {
5197
- outline: 2px solid Highlight;
5197
+ outline: var(--focus-ring-width) solid Highlight;
5198
5198
  outline-offset: -2px;
5199
5199
  }
5200
5200
  .kui-CommandSearch {
@@ -5354,13 +5354,13 @@
5354
5354
  }
5355
5355
  @supports selector(:has(*)) {
5356
5356
  .kui-TextFieldRoot:where(:has(.kui-TextFieldInput:focus)) {
5357
- outline: 2px solid var(--text-field-focus-color);
5357
+ outline: var(--focus-ring-width) solid var(--text-field-focus-color);
5358
5358
  outline-offset: -1px;
5359
5359
  }
5360
5360
  }
5361
5361
  @supports not selector(:has(*)) {
5362
5362
  .kui-TextFieldRoot:where(:focus-within) {
5363
- outline: 2px solid var(--text-field-focus-color);
5363
+ outline: var(--focus-ring-width) solid var(--text-field-focus-color);
5364
5364
  outline-offset: -1px;
5365
5365
  }
5366
5366
  }
@@ -5423,7 +5423,7 @@
5423
5423
  }
5424
5424
  }
5425
5425
  .kui-TextFieldInput::-webkit-calendar-picker-indicator:where(:focus-visible) {
5426
- outline: 2px solid var(--text-field-focus-color);
5426
+ outline: var(--focus-ring-width) solid var(--text-field-focus-color);
5427
5427
  }
5428
5428
  :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) {
5429
5429
  background-color: var(--text-field-selection-color);
@@ -6724,7 +6724,7 @@
6724
6724
  }
6725
6725
  @media (forced-colors: active) {
6726
6726
  .kui-ComboboxItem:where([data-selected='true']) {
6727
- outline: 2px solid Highlight;
6727
+ outline: var(--focus-ring-width) solid Highlight;
6728
6728
  outline-offset: -2px;
6729
6729
  }
6730
6730
  }
@@ -7177,10 +7177,10 @@
7177
7177
  box-shadow: inset 0 var(--raised-border-width) var(--black-a3), 0 0 0 var(--raised-border-width) var(--neutral-a7);
7178
7178
  }
7179
7179
  .kui-Kbd:where(.kui-variant-raised):where(:-moz-any-link,button):where(:focus-visible) {
7180
- outline: 2px solid var(--focus-8);
7180
+ outline: var(--focus-ring-width) solid var(--focus-8);
7181
7181
  }
7182
7182
  .kui-Kbd:where(.kui-variant-raised):where(:any-link,button):where(:focus-visible) {
7183
- outline: 2px solid var(--focus-8);
7183
+ outline: var(--focus-ring-width) solid var(--focus-8);
7184
7184
  }
7185
7185
  .kui-Kbd:where(.kui-variant-soft) {
7186
7186
  background-color: var(--neutral-a3);
@@ -7206,10 +7206,10 @@
7206
7206
  background-color: var(--neutral-a5);
7207
7207
  }
7208
7208
  .kui-Kbd:where(.kui-variant-soft):where(:-moz-any-link,button):where(:focus-visible) {
7209
- outline: 2px solid var(--focus-8);
7209
+ outline: var(--focus-ring-width) solid var(--focus-8);
7210
7210
  }
7211
7211
  .kui-Kbd:where(.kui-variant-soft):where(:any-link,button):where(:focus-visible) {
7212
- outline: 2px solid var(--focus-8);
7212
+ outline: var(--focus-ring-width) solid var(--focus-8);
7213
7213
  }
7214
7214
  .kui-Kbd:where(.kui-r-size-1) {
7215
7215
  font-size: var(--font-size-1);
@@ -8347,7 +8347,7 @@
8347
8347
  position: absolute;
8348
8348
  inset: 0;
8349
8349
  pointer-events: none;
8350
- outline: 2px solid var(--focus-8);
8350
+ outline: var(--focus-ring-width) solid var(--focus-8);
8351
8351
  outline-offset: -2px;
8352
8352
  }
8353
8353
  :where(.kui-ScrollAreaRoot:has(> .kui-ScrollAreaScrollbar[data-orientation='horizontal'])) > .kui-ScrollAreaViewport {
@@ -9756,7 +9756,7 @@
9756
9756
  font-weight: var(--font-weight-medium);
9757
9757
  }
9758
9758
  .kui-SelectTrigger:where(:focus-visible) {
9759
- outline: var(--focus-outline-width) solid var(--focus-8);
9759
+ outline: var(--focus-ring-width) solid var(--focus-8);
9760
9760
  outline-offset: var(--focus-outline-offset-inset);
9761
9761
  }
9762
9762
  .kui-SelectTriggerInner {
@@ -10215,7 +10215,7 @@
10215
10215
  box-shadow: var(--field-chrome);
10216
10216
  }
10217
10217
  .kui-SelectTrigger:where(.kui-variant-raised):where(:focus-visible) {
10218
- outline: 2px solid var(--focus-8);
10218
+ outline: var(--focus-ring-width) solid var(--focus-8);
10219
10219
  outline-offset: 2px;
10220
10220
  }
10221
10221
  @media (hover: hover) {
@@ -10242,7 +10242,7 @@
10242
10242
  color: var(--accent-ink);
10243
10243
  }
10244
10244
  .kui-SelectTrigger:where(.kui-variant-soft):where(:focus-visible) {
10245
- outline: 2px solid var(--accent-8);
10245
+ outline: var(--focus-ring-width) solid var(--accent-8);
10246
10246
  outline-offset: -1px;
10247
10247
  }
10248
10248
  @media (hover: hover) {
@@ -10280,7 +10280,7 @@
10280
10280
  }
10281
10281
  }
10282
10282
  .kui-SelectTrigger:where(.kui-variant-ghost):where(:focus-visible) {
10283
- outline: 2px solid var(--focus-8);
10283
+ outline: var(--focus-ring-width) solid var(--focus-8);
10284
10284
  outline-offset: -1px;
10285
10285
  }
10286
10286
  .kui-SelectTrigger:where(.kui-variant-ghost):where([data-state='open']) {
@@ -10317,7 +10317,7 @@
10317
10317
  box-shadow: inset 0 0 0 1px var(--accent-8);
10318
10318
  }
10319
10319
  .kui-SelectTrigger:where(.kui-variant-outline):where(:focus-visible) {
10320
- outline: 2px solid var(--focus-8);
10320
+ outline: var(--focus-ring-width) solid var(--focus-8);
10321
10321
  outline-offset: -1px;
10322
10322
  }
10323
10323
  .kui-SelectTrigger:where(.kui-variant-outline):where(:disabled) {
@@ -10355,7 +10355,7 @@
10355
10355
  box-shadow: inset 0 0 0 1px var(--accent-8);
10356
10356
  }
10357
10357
  .kui-SelectTrigger:where(.kui-variant-surface):where(:focus-visible) {
10358
- outline: 2px solid var(--focus-8);
10358
+ outline: var(--focus-ring-width) solid var(--focus-8);
10359
10359
  outline-offset: -1px;
10360
10360
  }
10361
10361
  .kui-SelectTrigger:where(.kui-variant-surface):where(:disabled) {
@@ -10679,7 +10679,7 @@
10679
10679
  color: var(--accent-a12);
10680
10680
  }
10681
10681
  .kui-SidebarMenuButton:where(:focus-visible) {
10682
- outline: 2px solid var(--focus-8);
10682
+ outline: var(--focus-ring-width) solid var(--focus-8);
10683
10683
  outline-offset: 2px;
10684
10684
  }
10685
10685
  .kui-SidebarMenuButton:where([data-accent-color]) {
@@ -10819,117 +10819,31 @@
10819
10819
  margin-top: 1px;
10820
10820
  margin-bottom: 1px;
10821
10821
  }
10822
- :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-1) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) {
10822
+ :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter):is(.kui-r-size-1, .kui-r-size-2)) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) {
10823
10823
  padding-top: var(--space-2) !important;
10824
10824
  padding-bottom: var(--space-2) !important;
10825
- -webkit-box-pack: center;
10826
- -ms-flex-pack: center;
10827
- justify-content: center;
10828
- -webkit-box-align: center;
10829
- -ms-flex-align: center;
10830
- align-items: center;
10831
- -webkit-box-orient: vertical;
10832
- -webkit-box-direction: normal;
10833
- -ms-flex-direction: column;
10834
- flex-direction: column;
10835
- gap: var(--space-2);
10836
- text-align: center;
10837
- font-size: var(--font-size-1);
10838
- line-height: var(--line-height-1);
10839
- white-space: nowrap;
10840
- overflow: hidden;
10841
- text-overflow: ellipsis;
10842
- max-width: 100%;
10843
- min-width: 0;
10844
- }
10845
- :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-2) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) {
10846
- padding-top: var(--space-2) !important;
10847
- padding-bottom: var(--space-2) !important;
10848
- -webkit-box-pack: center;
10849
- -ms-flex-pack: center;
10850
- justify-content: center;
10851
- -webkit-box-align: center;
10852
- -ms-flex-align: center;
10853
- align-items: center;
10854
- -webkit-box-orient: vertical;
10855
- -webkit-box-direction: normal;
10856
- -ms-flex-direction: column;
10857
- flex-direction: column;
10858
- gap: var(--space-2);
10859
- text-align: center;
10860
- font-size: var(--font-size-1);
10861
- line-height: var(--line-height-1);
10862
- white-space: nowrap;
10863
- overflow: hidden;
10864
- text-overflow: ellipsis;
10865
- max-width: 100%;
10866
- min-width: 0;
10867
10825
  }
10868
10826
  :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-3) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) {
10869
10827
  padding-top: var(--space-3) !important;
10870
10828
  padding-bottom: var(--space-3) !important;
10871
- -webkit-box-pack: center;
10872
- -ms-flex-pack: center;
10873
- justify-content: center;
10874
- -webkit-box-align: center;
10875
- -ms-flex-align: center;
10876
- align-items: center;
10877
- -webkit-box-orient: vertical;
10878
- -webkit-box-direction: normal;
10879
- -ms-flex-direction: column;
10880
- flex-direction: column;
10881
- gap: var(--space-2);
10882
- text-align: center;
10883
- font-size: var(--font-size-1);
10884
- line-height: var(--line-height-1);
10885
- white-space: nowrap;
10886
- overflow: hidden;
10887
- text-overflow: ellipsis;
10888
- max-width: 100%;
10889
- min-width: 0;
10890
10829
  }
10891
- :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-1) {
10830
+ :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter):is(.kui-r-size-1, .kui-r-size-2, .kui-r-size-3)) {
10892
10831
  --base-menu-item-padding-left: var(--space-2) !important;
10893
10832
  --base-menu-item-padding-right: var(--space-2) !important;
10894
10833
  --base-menu-item-padding-y: var(--space-3) !important;
10895
10834
  }
10896
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-1):where(:not(:has(.kui-BaseMenuCheckboxItem,.kui-BaseMenuRadioItem))) {
10897
- --base-menu-item-padding-left: var(--space-2) !important;
10898
- }
10899
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-1):where(:has(.kui-BaseMenuCheckboxItem,.kui-BaseMenuRadioItem)) {
10900
- --base-menu-item-padding-left: var(--space-2) !important;
10835
+ :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) {
10836
+ white-space: nowrap;
10837
+ overflow: hidden;
10838
+ text-overflow: ellipsis;
10839
+ max-width: 100%;
10840
+ min-width: 0;
10901
10841
  }
10902
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-1) :where(.kui-SidebarMenuButton,.kui-SidebarMenuSubTrigger) :where(svg) {
10842
+ :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-1) :where(.kui-SidebarMenuButton, .kui-SidebarMenuSubTrigger) :where(svg) {
10903
10843
  width: var(--content-icon-size-3);
10904
10844
  height: var(--content-icon-size-3);
10905
10845
  }
10906
- :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-2) {
10907
- --base-menu-item-padding-left: var(--space-2) !important;
10908
- --base-menu-item-padding-right: var(--space-2) !important;
10909
- --base-menu-item-padding-y: var(--space-3) !important;
10910
- }
10911
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-2):where(:not(:has(.kui-BaseMenuCheckboxItem,.kui-BaseMenuRadioItem))) {
10912
- --base-menu-item-padding-left: var(--space-2) !important;
10913
- }
10914
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-2):where(:has(.kui-BaseMenuCheckboxItem,.kui-BaseMenuRadioItem)) {
10915
- --base-menu-item-padding-left: var(--space-2) !important;
10916
- }
10917
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-2) :where(.kui-SidebarMenuButton,.kui-SidebarMenuSubTrigger) :where(svg) {
10918
- width: var(--content-icon-size-4);
10919
- height: var(--content-icon-size-4);
10920
- }
10921
- :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-r-size-3) {
10922
- --base-menu-item-padding-left: var(--space-2) !important;
10923
- --base-menu-item-padding-right: var(--space-2) !important;
10924
- --base-menu-item-padding-y: var(--space-3) !important;
10925
- }
10926
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-3):where(:not(:has(.kui-BaseMenuCheckboxItem,.kui-BaseMenuRadioItem))) {
10927
- --base-menu-item-padding-left: var(--space-2) !important;
10928
- }
10929
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-3):where(:has(.kui-BaseMenuCheckboxItem,.kui-BaseMenuRadioItem)) {
10930
- --base-menu-item-padding-left: var(--space-2) !important;
10931
- }
10932
- :where(.kui-ShellRailContent :is(.kui-SidebarContent,.kui-ShellPaneHeader,.kui-ShellPaneFooter).kui-r-size-3) :where(.kui-SidebarMenuButton,.kui-SidebarMenuSubTrigger) :where(svg) {
10846
+ :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) {
10933
10847
  width: var(--content-icon-size-4);
10934
10848
  height: var(--content-icon-size-4);
10935
10849
  }
@@ -11040,17 +10954,7 @@
11040
10954
  :where(.kui-ShellRailContent :is(.kui-SidebarContent, .kui-ShellPaneHeader, .kui-ShellPaneFooter).kui-menu-variant-soft .kui-SidebarMenuButton[data-active] .kui-SidebarMenuIconWrapper) {
11041
10955
  background-color: var(--accent-3);
11042
10956
  }
11043
- :where(.kui-ShellRailContent .kui-SidebarMenuBadge),
11044
- :where(.kui-ShellRailContent .kui-SidebarMenuShortcut),
11045
- :where(.kui-ShellRailContent .kui-Chip),
11046
- :where(.kui-ShellRailContent .kui-Kbd) {
11047
- display: none !important;
11048
- }
11049
- :where(.kui-ShellRailContent .kui-SidebarGroupLabel) {
11050
- display: none !important;
11051
- }
11052
- :where(.kui-ShellRailContent .kui-SidebarMenuSubTriggerIcon),
11053
- :where(.kui-ShellRailContent .kui-BaseMenuSubTriggerIcon) {
10957
+ :where(.kui-ShellRailContent) :where(.kui-SidebarMenuBadge, .kui-SidebarMenuShortcut, .kui-Chip, .kui-Kbd, .kui-SidebarGroupLabel, .kui-SidebarMenuSubTriggerIcon, .kui-BaseMenuSubTriggerIcon) {
11054
10958
  display: none !important;
11055
10959
  }
11056
10960
  .kui-SidebarMenuLabel {
@@ -11059,7 +10963,8 @@
11059
10963
  text-overflow: ellipsis;
11060
10964
  white-space: nowrap;
11061
10965
  }
11062
- .kui-SidebarHeader:where(.kui-SidebarHeader--container) {
10966
+ .kui-SidebarHeader:where(.kui-SidebarHeader--container),
10967
+ .kui-SidebarFooter:where(.kui-SidebarFooter--container) {
11063
10968
  display: -webkit-box;
11064
10969
  display: -ms-flexbox;
11065
10970
  display: flex;
@@ -11074,12 +10979,12 @@
11074
10979
  padding: var(--sidebar-base-padding);
11075
10980
  min-height: var(--sidebar-item-height);
11076
10981
  }
11077
- .kui-SidebarHeader:where(.kui-SidebarHeader--container) :where(.kui-SidebarMenuButton) {
10982
+ :is(.kui-SidebarHeader:where(.kui-SidebarHeader--container),.kui-SidebarFooter:where(.kui-SidebarFooter--container)) :where(.kui-SidebarMenuButton) {
11078
10983
  -webkit-box-flex: 1;
11079
10984
  -ms-flex: 1;
11080
10985
  flex: 1;
11081
10986
  }
11082
- .kui-SidebarHeader:where(.kui-SidebarHeader--container) > :where(.kui-Toolbar) {
10987
+ :is(.kui-SidebarHeader:where(.kui-SidebarHeader--container),.kui-SidebarFooter:where(.kui-SidebarFooter--container)) > :where(.kui-Toolbar) {
11083
10988
  -webkit-box-flex: 1;
11084
10989
  -ms-flex: 1;
11085
10990
  flex: 1;
@@ -11087,31 +10992,6 @@
11087
10992
  .kui-SidebarHeader:where(.kui-SidebarHeader--container:not([data-float]):has(+ .kui-ShellScroll)) {
11088
10993
  padding-bottom: 0;
11089
10994
  }
11090
- .kui-SidebarFooter:where(.kui-SidebarFooter--container) {
11091
- display: -webkit-box;
11092
- display: -ms-flexbox;
11093
- display: flex;
11094
- -webkit-box-orient: horizontal;
11095
- -webkit-box-direction: normal;
11096
- -ms-flex-direction: row;
11097
- flex-direction: row;
11098
- -webkit-box-align: center;
11099
- -ms-flex-align: center;
11100
- align-items: center;
11101
- gap: var(--space-3);
11102
- padding: var(--sidebar-base-padding);
11103
- min-height: var(--sidebar-item-height);
11104
- }
11105
- .kui-SidebarFooter:where(.kui-SidebarFooter--container) :where(.kui-SidebarMenuButton) {
11106
- -webkit-box-flex: 1;
11107
- -ms-flex: 1;
11108
- flex: 1;
11109
- }
11110
- .kui-SidebarFooter:where(.kui-SidebarFooter--container) > :where(.kui-Toolbar) {
11111
- -webkit-box-flex: 1;
11112
- -ms-flex: 1;
11113
- flex: 1;
11114
- }
11115
10995
  :where(.kui-ShellScroll) + .kui-SidebarFooter:where(.kui-SidebarFooter--container:not([data-float])) {
11116
10996
  padding-top: 0;
11117
10997
  }
@@ -11149,7 +11029,7 @@
11149
11029
  justify-content: flex-start;
11150
11030
  }
11151
11031
  :is(.kui-SidebarHeader :where(.kui-SidebarMenuButton),.kui-SidebarFooter :where(.kui-SidebarMenuButton)):where(:focus-visible) {
11152
- outline: 2px solid var(--focus-8);
11032
+ outline: var(--focus-ring-width) solid var(--focus-8);
11153
11033
  outline-offset: 2px;
11154
11034
  }
11155
11035
  .kui-SidebarMenuSubTriggerIcon {
@@ -11727,7 +11607,7 @@
11727
11607
  :where(.kui-ShellRailContent) .kui-SidebarSearch {
11728
11608
  padding: var(--space-3);
11729
11609
  }
11730
- .kui-SidebarSearch--expanded .kui-SidebarSearchInputWrapper {
11610
+ :is(.kui-SidebarSearch--expanded, .kui-SidebarSearchPopover) .kui-SidebarSearchInputWrapper {
11731
11611
  display: -webkit-box;
11732
11612
  display: -ms-flexbox;
11733
11613
  display: flex;
@@ -11743,7 +11623,7 @@
11743
11623
  border-radius: var(--radius-2);
11744
11624
  padding: var(--space-2) var(--space-3);
11745
11625
  }
11746
- .kui-SidebarSearch--expanded .kui-SidebarSearchInputWrapper:focus-within {
11626
+ :is(.kui-SidebarSearch--expanded, .kui-SidebarSearchPopover) .kui-SidebarSearchInputWrapper:focus-within {
11747
11627
  -webkit-box-shadow: inset 0 0 0 1px var(--accent-a7);
11748
11628
  box-shadow: inset 0 0 0 1px var(--accent-a7);
11749
11629
  }
@@ -11777,11 +11657,7 @@
11777
11657
  margin-top: 1px;
11778
11658
  margin-bottom: 1px;
11779
11659
  }
11780
- :where(.kui-ShellRailContent.kui-r-size-1) :where(.kui-SidebarSearchTrigger) {
11781
- padding-top: var(--space-2) !important;
11782
- padding-bottom: var(--space-2) !important;
11783
- }
11784
- :where(.kui-ShellRailContent.kui-r-size-2) :where(.kui-SidebarSearchTrigger) {
11660
+ :where(.kui-ShellRailContent:is(.kui-r-size-1, .kui-r-size-2)) :where(.kui-SidebarSearchTrigger) {
11785
11661
  padding-top: var(--space-2) !important;
11786
11662
  padding-bottom: var(--space-2) !important;
11787
11663
  }
@@ -11793,11 +11669,7 @@
11793
11669
  width: var(--content-icon-size-2);
11794
11670
  height: var(--content-icon-size-2);
11795
11671
  }
11796
- .kui-ShellRailContent.kui-r-size-2 .kui-SidebarSearchTrigger svg {
11797
- width: var(--content-icon-size-3);
11798
- height: var(--content-icon-size-3);
11799
- }
11800
- .kui-ShellRailContent.kui-r-size-3 .kui-SidebarSearchTrigger svg {
11672
+ .kui-ShellRailContent:is(.kui-r-size-2, .kui-r-size-3) .kui-SidebarSearchTrigger svg {
11801
11673
  width: var(--content-icon-size-3);
11802
11674
  height: var(--content-icon-size-3);
11803
11675
  }
@@ -11847,26 +11719,6 @@
11847
11719
  --base-menu-line-height: var(--line-height-2);
11848
11720
  --base-menu-letter-spacing: var(--letter-spacing-2);
11849
11721
  }
11850
- .kui-SidebarSearchPopover .kui-SidebarSearchInputWrapper {
11851
- display: -webkit-box;
11852
- display: -ms-flexbox;
11853
- display: flex;
11854
- -webkit-box-orient: horizontal;
11855
- -webkit-box-direction: normal;
11856
- -ms-flex-direction: row;
11857
- flex-direction: row;
11858
- -webkit-box-align: center;
11859
- -ms-flex-align: center;
11860
- align-items: center;
11861
- gap: var(--space-3);
11862
- background-color: var(--neutral-a3);
11863
- border-radius: var(--radius-2);
11864
- padding: var(--space-2) var(--space-3);
11865
- }
11866
- .kui-SidebarSearchPopover .kui-SidebarSearchInputWrapper:focus-within {
11867
- -webkit-box-shadow: inset 0 0 0 1px var(--accent-a7);
11868
- box-shadow: inset 0 0 0 1px var(--accent-a7);
11869
- }
11870
11722
  .kui-SidebarSearchPopover .kui-SidebarMenu {
11871
11723
  list-style: none;
11872
11724
  margin: 0;
@@ -11886,7 +11738,7 @@
11886
11738
  }
11887
11739
  }
11888
11740
  .kui-SidebarSearchPopover .kui-SidebarMenuButton:where(:focus-visible) {
11889
- outline: 2px solid var(--focus-8);
11741
+ outline: var(--focus-ring-width) solid var(--focus-8);
11890
11742
  outline-offset: -2px;
11891
11743
  }
11892
11744
  .kui-SidebarSearchPopover .kui-SidebarMenuButton[data-active] {
@@ -11894,12 +11746,6 @@
11894
11746
  color: var(--accent-a12);
11895
11747
  font-weight: var(--font-weight-medium);
11896
11748
  }
11897
- .kui-SidebarSearchPopover .kui-SidebarMenuLabel {
11898
- min-width: 0;
11899
- overflow: hidden;
11900
- text-overflow: ellipsis;
11901
- white-space: nowrap;
11902
- }
11903
11749
  .kui-SidebarSearchIcon {
11904
11750
  -ms-flex-negative: 0;
11905
11751
  flex-shrink: 0;
@@ -14712,7 +14558,7 @@
14712
14558
  background-color: Highlight;
14713
14559
  }
14714
14560
  .kui-BaseTabListTrigger:where(:focus-visible) :where(.kui-BaseTabListTriggerInner) {
14715
- outline: 2px solid Highlight;
14561
+ outline: var(--focus-ring-width) solid Highlight;
14716
14562
  outline-offset: 2px;
14717
14563
  }
14718
14564
  }
@@ -14767,7 +14613,7 @@
14767
14613
  height: auto;
14768
14614
  }
14769
14615
  .kui-TextAreaRoot:where(:focus-within) {
14770
- outline: 2px solid var(--v-focus-color, var(--focus-8));
14616
+ outline: var(--focus-ring-width) solid var(--v-focus-color, var(--focus-8));
14771
14617
  outline-offset: -1px;
14772
14618
  }
14773
14619
  .kui-TextAreaRoot::-moz-selection {
@@ -15669,7 +15515,7 @@
15669
15515
  background-color: var(--neutral-a4);
15670
15516
  }
15671
15517
  .kui-NavigatorLink:where(:focus-visible) {
15672
- outline: 2px solid var(--focus-8);
15518
+ outline: var(--focus-ring-width) solid var(--focus-8);
15673
15519
  outline-offset: -2px;
15674
15520
  }
15675
15521
  .kui-Page {
@@ -15745,7 +15591,7 @@
15745
15591
  outline: none;
15746
15592
  }
15747
15593
  .kui-VirtualMenuRoot:where(:focus-visible) {
15748
- outline: 2px solid var(--focus-8);
15594
+ outline: var(--focus-ring-width) solid var(--focus-8);
15749
15595
  outline-offset: -2px;
15750
15596
  }
15751
15597
  .kui-VirtualMenuViewport {
@@ -16505,7 +16351,7 @@
16505
16351
  }
16506
16352
  }
16507
16353
  .kui-ChatbarBox:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:focus-within) {
16508
- outline: 2px solid var(--v-focus-color, var(--focus-8));
16354
+ outline: var(--focus-ring-width) solid var(--v-focus-color, var(--focus-8));
16509
16355
  outline-offset: -1px;
16510
16356
  }
16511
16357
  .kui-ChatbarBox:where(.kui-variant-outline, .kui-variant-surface) {
@@ -16550,7 +16396,7 @@
16550
16396
  border: 1px solid CanvasText;
16551
16397
  }
16552
16398
  .kui-ChatbarBox:where(.kui-variant-raised):where(:focus-within) {
16553
- outline: 2px solid Highlight;
16399
+ outline: var(--focus-ring-width) solid Highlight;
16554
16400
  outline-offset: -1px;
16555
16401
  }
16556
16402
  .kui-ChatbarRoot:where([data-disabled]) .kui-ChatbarBox {
@@ -16708,7 +16554,7 @@
16708
16554
  outline: none;
16709
16555
  }
16710
16556
  .kui-MessageScrollerViewport:where(:focus-visible) {
16711
- outline: 2px solid var(--focus-8);
16557
+ outline: var(--focus-ring-width) solid var(--focus-8);
16712
16558
  outline-offset: -2px;
16713
16559
  }
16714
16560
  .kui-MessageScrollerContent {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@womp/kookie-ui",
3
- "version": "0.35.1",
3
+ "version": "0.35.3",
4
4
  "description": "Kookie UI v1: a React component library with design tokens, flexible theming, a full layout shell, and comprehensive documentation.",
5
5
  "keywords": [
6
6
  "react",
@@ -163,7 +163,7 @@
163
163
 
164
164
  /* Focus */
165
165
  &:where(:focus-visible) {
166
- outline: 2px solid var(--v-focus-color);
166
+ outline: var(--focus-ring-width) solid var(--v-focus-color);
167
167
  outline-offset: var(--v-focus-offset);
168
168
 
169
169
  &::after {
@@ -273,7 +273,7 @@
273
273
 
274
274
  /* Focus */
275
275
  &:where(:focus-visible) {
276
- outline: 2px solid var(--v-focus-color);
276
+ outline: var(--focus-ring-width) solid var(--v-focus-color);
277
277
  outline-offset: var(--v-focus-offset);
278
278
  }
279
279
 
@@ -338,7 +338,7 @@
338
338
  }
339
339
 
340
340
  &:where(:focus-visible) {
341
- outline: 2px solid var(--focus-8);
341
+ outline: var(--focus-ring-width) solid var(--focus-8);
342
342
  outline-offset: 2px;
343
343
  }
344
344
 
@@ -347,7 +347,7 @@
347
347
  /* Forced colors support */
348
348
  @media (forced-colors: active) {
349
349
  .kui-BaseMenuItem:where(:focus-visible) {
350
- outline: 2px solid Highlight;
350
+ outline: var(--focus-ring-width) solid Highlight;
351
351
  outline-offset: 2px;
352
352
  }
353
353
 
@@ -66,7 +66,7 @@
66
66
 
67
67
  /* Focus state */
68
68
  &:where(:focus-visible) {
69
- outline: 2px solid var(--focus-8);
69
+ outline: var(--focus-ring-width) solid var(--focus-8);
70
70
  outline-offset: 2px;
71
71
  }
72
72
 
@@ -228,7 +228,7 @@
228
228
  }
229
229
 
230
230
  .kui-BaseTabListTrigger:where(:focus-visible) :where(.kui-BaseTabListTriggerInner) {
231
- outline: 2px solid Highlight;
231
+ outline: var(--focus-ring-width) solid Highlight;
232
232
  outline-offset: 2px;
233
233
  }
234
234
  }
@@ -190,7 +190,7 @@
190
190
 
191
191
  /* Trigger focus states */
192
192
  :where(.kui-AccordionTrigger:focus-visible) {
193
- outline: var(--focus-outline-width) solid var(--focus-8);
193
+ outline: var(--focus-ring-width) solid var(--focus-8);
194
194
  outline-offset: var(--focus-outline-offset-inset);
195
195
  }
196
196
 
@@ -246,7 +246,7 @@
246
246
  }
247
247
 
248
248
  :where(.kui-AccordionTrigger:focus-visible) {
249
- outline: 2px solid CanvasText;
249
+ outline: var(--focus-ring-width) solid CanvasText;
250
250
  outline-offset: 2px;
251
251
  }
252
252
 
@@ -38,8 +38,8 @@
38
38
  cursor: pointer;
39
39
 
40
40
  &:where(:focus-visible) {
41
- outline: var(--focus-outline-width) solid var(--focus-8);
42
- outline-offset: var(--focus-outline-offset);
41
+ outline: var(--focus-ring-width) solid var(--focus-8);
42
+ outline-offset: var(--focus-ring-offset);
43
43
  }
44
44
 
45
45
  /* Disabled is a colour remap: the element still hit-tests, so the cursor stops promising a press. */
@@ -19,7 +19,7 @@
19
19
  --base-card-border-radius: var(--kui-sf-r);
20
20
 
21
21
  &:where(:focus-visible) {
22
- outline: 2px solid var(--focus-8);
22
+ outline: var(--focus-ring-width) solid var(--focus-8);
23
23
  outline-offset: -1px;
24
24
 
25
25
  &::after {