ControlledOpen story renders snapshot 1`] = `
>
Default story renders snapshot 1`] = `
>
)}
@@ -288,13 +285,9 @@ const AutocompleteBase = <
tabIndex={search ? 0 : -1}
aria-hidden={!search}
disabled={!search}
- onClick={clearInput}
sdsType="tertiary"
sdsSize="small"
sdsStyle="icon"
- sdsIconProps={{
- sdsType: "interactive",
- }}
icon="Search"
/>
@@ -425,6 +418,7 @@ const AutocompleteBase = <
isMultiSelect={multiple}
selected={selected}
{...optionProps}
+ key={option.name}
>
{MenuItemContent}
diff --git a/packages/components/src/core/Autocomplete/components/AutocompleteBase/style.ts b/packages/components/src/core/Autocomplete/components/AutocompleteBase/style.ts
index 6f4bcdf2b..09f48823b 100644
--- a/packages/components/src/core/Autocomplete/components/AutocompleteBase/style.ts
+++ b/packages/components/src/core/Autocomplete/components/AutocompleteBase/style.ts
@@ -76,11 +76,11 @@ export const StyledAutocompleteBase = styled(Autocomplete, {
min-height: unset;
&.${autocompleteClasses.focused} {
- background-color: ${semanticColors?.base?.surfaceSecondary};
+ background-color: ${semanticColors?.base?.fillHover};
}
&[aria-selected="true"] {
- background-color: ${semanticColors?.base?.surfacePrimary};
+ background-color: ${semanticColors?.base?.surface};
}
&[aria-disabled="true"] {
@@ -88,7 +88,7 @@ export const StyledAutocompleteBase = styled(Autocomplete, {
}
&[aria-selected="true"].${autocompleteClasses.focused} {
- background-color: ${semanticColors?.base?.surfaceSecondary};
+ background-color: ${semanticColors?.base?.fillHover};
}
}
@@ -102,7 +102,7 @@ export const StyledAutocompleteBase = styled(Autocomplete, {
.${autocompleteClasses.groupLabel} {
top: 0;
color: ${semanticColors?.base?.textSecondary};
- background-color: ${semanticColors?.base?.surfacePrimary};
+ background-color: ${semanticColors?.base?.surface};
padding: ${spaces?.xxs}px ${spaces?.s}px;
}
@@ -176,7 +176,7 @@ export const StyledPaper = styled(Paper)`
return `
background-image: none;
padding: ${spaces?.l}px ${spaces?.xxs}px ${spaces?.l}px ${spaces?.l}px ;
- background-color: ${semanticColors?.base?.surfacePrimary};
+ background-color: ${semanticColors?.base?.surface};
border: ${borders?.none};
border-radius: ${corners?.m}px;
box-shadow: ${shadows?.m};
diff --git a/packages/components/src/core/Autocomplete/components/AutocompleteGroup/style.ts b/packages/components/src/core/Autocomplete/components/AutocompleteGroup/style.ts
index 3c20875b5..8410d489e 100644
--- a/packages/components/src/core/Autocomplete/components/AutocompleteGroup/style.ts
+++ b/packages/components/src/core/Autocomplete/components/AutocompleteGroup/style.ts
@@ -64,14 +64,14 @@ export const StyledColumnIcon = styled("span")`
const semanticColors = getSemanticColors(props);
return `
- background-color: ${semanticColors?.base?.surfacePrimary};
+ background-color: ${semanticColors?.base?.surface};
position: absolute;
right: -${spaces?.xs}px;
top: -2px;
padding-bottom: 2px;
svg {
- color: ${semanticColors?.base?.iconPrimary};
+ color: ${semanticColors?.base?.ornamentSecondary};
width: ${iconSizes?.xs.width}px;
height: ${iconSizes?.xs.height}px;
}
diff --git a/packages/components/src/core/Autocomplete/components/AutocompleteMultiColumn/index.tsx b/packages/components/src/core/Autocomplete/components/AutocompleteMultiColumn/index.tsx
index 6acbcf1f4..5680f6491 100644
--- a/packages/components/src/core/Autocomplete/components/AutocompleteMultiColumn/index.tsx
+++ b/packages/components/src/core/Autocomplete/components/AutocompleteMultiColumn/index.tsx
@@ -232,9 +232,6 @@ const AutocompleteMultiColumn = <
sdsType="tertiary"
sdsSize="small"
sdsStyle="icon"
- sdsIconProps={{
- sdsType: "iconButton",
- }}
icon="XMarkCircle"
onClick={clearInput}
/>
@@ -253,9 +250,6 @@ const AutocompleteMultiColumn = <
sdsType="tertiary"
sdsSize="small"
sdsStyle="icon"
- sdsIconProps={{
- sdsType: "interactive",
- }}
icon="Search"
/>
diff --git a/packages/components/src/core/Autocomplete/components/AutocompleteMultiColumn/style.ts b/packages/components/src/core/Autocomplete/components/AutocompleteMultiColumn/style.ts
index 604358d27..e14323c52 100644
--- a/packages/components/src/core/Autocomplete/components/AutocompleteMultiColumn/style.ts
+++ b/packages/components/src/core/Autocomplete/components/AutocompleteMultiColumn/style.ts
@@ -43,7 +43,7 @@ export const StyledPopper = styled(Popper, {
const semanticColors = getSemanticColors(props);
return `
- background-color: ${semanticColors?.base?.surfacePrimary};
+ background-color: ${semanticColors?.base?.surface};
background-image: none;
border: ${borders?.none};
border-radius: ${corners?.m}px;
@@ -72,7 +72,7 @@ export const StyledPaper = styled(Paper, {
const semanticColors = getSemanticColors(props);
return `
- background-color: ${semanticColors?.base?.surfacePrimary};
+ background-color: ${semanticColors?.base?.surface};
background-image: none;
box-shadow: ${shadows?.none};
margin: 0;
diff --git a/packages/components/src/core/Banner/__tests__/__snapshots__/banner.test.tsx.snap b/packages/components/src/core/Banner/__tests__/__snapshots__/banner.test.tsx.snap
index c54f159c4..c07aab37e 100644
--- a/packages/components/src/core/Banner/__tests__/__snapshots__/banner.test.tsx.snap
+++ b/packages/components/src/core/Banner/__tests__/__snapshots__/banner.test.tsx.snap
@@ -16,7 +16,7 @@ exports[`
Default story renders snapshot 1`] = `
>
Default story renders snapshot 1`] = `
;
}
};
diff --git a/packages/components/src/core/Banner/style.ts b/packages/components/src/core/Banner/style.ts
index b18f178e6..121aea5b4 100644
--- a/packages/components/src/core/Banner/style.ts
+++ b/packages/components/src/core/Banner/style.ts
@@ -39,7 +39,7 @@ export const IconWrapper = styled("div", {
height: ${iconSizes?.l.height}px;
margin-right: ${spaces?.m}px;
svg {
- fill: ${bannerType === "primary" ? semanticColors?.base?.iconPrimaryInverse : semanticColors?.info?.ornament};
+ fill: ${bannerType === "primary" ? semanticColors?.base?.ornamentOnFill : semanticColors?.info?.ornament};
}
`;
}}
@@ -58,15 +58,26 @@ export const StyledButton = styled(Button as React.ComponentType