Avatar
diff --git a/packages/react/src/__tests__/__snapshots__/Autocomplete.test.tsx.snap b/packages/react/src/__tests__/__snapshots__/Autocomplete.test.tsx.snap
index e220ab3d7a2..70232542975 100644
--- a/packages/react/src/__tests__/__snapshots__/Autocomplete.test.tsx.snap
+++ b/packages/react/src/__tests__/__snapshots__/Autocomplete.test.tsx.snap
@@ -1019,8 +1019,7 @@ exports[`snapshots renders a menu that contains an item to add to the menu 1`] =
.c1 {
margin: 0;
padding-inline-start: 0;
- padding-top: 8px;
- padding-bottom: 8px;
+ padding: 8px;
}
.c3 {
@@ -1034,10 +1033,8 @@ exports[`snapshots renders a menu that contains an item to add to the menu 1`] =
font-size: 14px;
padding-top: 6px;
padding-bottom: 6px;
- line-height: 20px;
+ line-height: 16px;
min-height: 5px;
- margin-left: 8px;
- margin-right: 8px;
border-radius: 6px;
-webkit-transition: background 33.333ms linear;
transition: background 33.333ms linear;
@@ -1048,7 +1045,7 @@ exports[`snapshots renders a menu that contains an item to add to the menu 1`] =
appearance: none;
background: unset;
border: unset;
- width: calc(100% - 16px);
+ width: 100%;
font-family: unset;
text-align: unset;
margin-top: unset;
@@ -1165,7 +1162,7 @@ exports[`snapshots renders a menu that contains an item to add to the menu 1`] =
.c3:focus.focus-visible {
outline: none;
border: 2 solid;
- box-shadow: 0 0 0 2px var(--bgColor-accent-emphasis,var(--color-accent-emphasis,#0969da));
+ box-shadow: 0 0 0 2px var(--focus-outlineColor);
}
.c3:active:not([aria-disabled]):not([data-inactive]) {
@@ -1938,8 +1935,7 @@ exports[`snapshots renders a multiselect input 1`] = `
.c1 {
margin: 0;
padding-inline-start: 0;
- padding-top: 8px;
- padding-bottom: 8px;
+ padding: 8px;
}
.c3 {
@@ -1953,10 +1949,8 @@ exports[`snapshots renders a multiselect input 1`] = `
font-size: 14px;
padding-top: 6px;
padding-bottom: 6px;
- line-height: 20px;
+ line-height: 16px;
min-height: 5px;
- margin-left: 8px;
- margin-right: 8px;
border-radius: 6px;
-webkit-transition: background 33.333ms linear;
transition: background 33.333ms linear;
@@ -1967,7 +1961,7 @@ exports[`snapshots renders a multiselect input 1`] = `
appearance: none;
background: unset;
border: unset;
- width: calc(100% - 16px);
+ width: 100%;
font-family: unset;
text-align: unset;
margin-top: unset;
@@ -2071,7 +2065,7 @@ exports[`snapshots renders a multiselect input 1`] = `
.c3:focus.focus-visible {
outline: none;
border: 2 solid;
- box-shadow: 0 0 0 2px var(--bgColor-accent-emphasis,var(--color-accent-emphasis,#0969da));
+ box-shadow: 0 0 0 2px var(--focus-outlineColor);
}
.c3:active:not([aria-disabled]):not([data-inactive]) {
@@ -2713,7 +2707,7 @@ exports[`snapshots renders a multiselect input with selected menu items 1`] = `
}
.c5 {
- border-color: var(--fgColor-accent,var(--color-accent-fg,#0969da));
+ border-color: var(--control-checked-borderColor-rest);
border-style: solid;
border-width: 1px;
border-radius: 3px;
@@ -2723,7 +2717,7 @@ exports[`snapshots renders a multiselect input with selected menu items 1`] = `
margin: 0;
place-content: center;
width: var(--base-size-16,16px);
- background-color: var(--fgColor-accent,var(--color-accent-fg,#0969da));
+ background-color: var(--control-checked-bgColor-rest);
-webkit-transition: background-color,border-color 80ms cubic-bezier(0.33,1,0.68,1);
transition: background-color,border-color 80ms cubic-bezier(0.33,1,0.68,1);
}
@@ -2829,8 +2823,7 @@ exports[`snapshots renders a multiselect input with selected menu items 1`] = `
.c1 {
margin: 0;
padding-inline-start: 0;
- padding-top: 8px;
- padding-bottom: 8px;
+ padding: 8px;
}
.c3 {
@@ -2844,10 +2837,8 @@ exports[`snapshots renders a multiselect input with selected menu items 1`] = `
font-size: 14px;
padding-top: 6px;
padding-bottom: 6px;
- line-height: 20px;
+ line-height: 16px;
min-height: 5px;
- margin-left: 8px;
- margin-right: 8px;
border-radius: 6px;
-webkit-transition: background 33.333ms linear;
transition: background 33.333ms linear;
@@ -2858,7 +2849,7 @@ exports[`snapshots renders a multiselect input with selected menu items 1`] = `
appearance: none;
background: unset;
border: unset;
- width: calc(100% - 16px);
+ width: 100%;
font-family: unset;
text-align: unset;
margin-top: unset;
@@ -2946,10 +2937,8 @@ exports[`snapshots renders a multiselect input with selected menu items 1`] = `
font-size: 14px;
padding-top: 6px;
padding-bottom: 6px;
- line-height: 20px;
+ line-height: 16px;
min-height: 5px;
- margin-left: 8px;
- margin-right: 8px;
border-radius: 6px;
-webkit-transition: background 33.333ms linear;
transition: background 33.333ms linear;
@@ -2960,7 +2949,7 @@ exports[`snapshots renders a multiselect input with selected menu items 1`] = `
appearance: none;
background: unset;
border: unset;
- width: calc(100% - 16px);
+ width: 100%;
font-family: unset;
text-align: unset;
margin-top: unset;
@@ -3070,7 +3059,7 @@ exports[`snapshots renders a multiselect input with selected menu items 1`] = `
.c3:focus.focus-visible {
outline: none;
border: 2 solid;
- box-shadow: 0 0 0 2px var(--bgColor-accent-emphasis,var(--color-accent-emphasis,#0969da));
+ box-shadow: 0 0 0 2px var(--focus-outlineColor);
}
.c3:active:not([aria-disabled]):not([data-inactive]) {
@@ -3100,7 +3089,7 @@ exports[`snapshots renders a multiselect input with selected menu items 1`] = `
.c8:focus.focus-visible {
outline: none;
border: 2 solid;
- box-shadow: 0 0 0 2px var(--bgColor-accent-emphasis,var(--color-accent-emphasis,#0969da));
+ box-shadow: 0 0 0 2px var(--focus-outlineColor);
}
.c8:active:not([aria-disabled]):not([data-inactive]) {
@@ -3766,8 +3755,7 @@ exports[`snapshots renders a single select input 1`] = `
.c1 {
margin: 0;
padding-inline-start: 0;
- padding-top: 8px;
- padding-bottom: 8px;
+ padding: 8px;
}
.c3 {
@@ -3781,10 +3769,8 @@ exports[`snapshots renders a single select input 1`] = `
font-size: 14px;
padding-top: 6px;
padding-bottom: 6px;
- line-height: 20px;
+ line-height: 16px;
min-height: 5px;
- margin-left: 8px;
- margin-right: 8px;
border-radius: 6px;
-webkit-transition: background 33.333ms linear;
transition: background 33.333ms linear;
@@ -3795,7 +3781,7 @@ exports[`snapshots renders a single select input 1`] = `
appearance: none;
background: unset;
border: unset;
- width: calc(100% - 16px);
+ width: 100%;
font-family: unset;
text-align: unset;
margin-top: unset;
@@ -3893,7 +3879,7 @@ exports[`snapshots renders a single select input 1`] = `
.c3:focus.focus-visible {
outline: none;
border: 2 solid;
- box-shadow: 0 0 0 2px var(--bgColor-accent-emphasis,var(--color-accent-emphasis,#0969da));
+ box-shadow: 0 0 0 2px var(--focus-outlineColor);
}
.c3:active:not([aria-disabled]):not([data-inactive]) {
@@ -4260,8 +4246,7 @@ exports[`snapshots renders with a custom text input component 1`] = `
.c1 {
margin: 0;
padding-inline-start: 0;
- padding-top: 8px;
- padding-bottom: 8px;
+ padding: 8px;
}
.c3 {
@@ -4275,10 +4260,8 @@ exports[`snapshots renders with a custom text input component 1`] = `
font-size: 14px;
padding-top: 6px;
padding-bottom: 6px;
- line-height: 20px;
+ line-height: 16px;
min-height: 5px;
- margin-left: 8px;
- margin-right: 8px;
border-radius: 6px;
-webkit-transition: background 33.333ms linear;
transition: background 33.333ms linear;
@@ -4289,7 +4272,7 @@ exports[`snapshots renders with a custom text input component 1`] = `
appearance: none;
background: unset;
border: unset;
- width: calc(100% - 16px);
+ width: 100%;
font-family: unset;
text-align: unset;
margin-top: unset;
@@ -4387,7 +4370,7 @@ exports[`snapshots renders with a custom text input component 1`] = `
.c3:focus.focus-visible {
outline: none;
border: 2 solid;
- box-shadow: 0 0 0 2px var(--bgColor-accent-emphasis,var(--color-accent-emphasis,#0969da));
+ box-shadow: 0 0 0 2px var(--focus-outlineColor);
}
.c3:active:not([aria-disabled]):not([data-inactive]) {