Skip to content

Commit 525d5db

Browse files
committed
keep deleted icons in manifest with inactive flag
1 parent a2905d3 commit 525d5db

5 files changed

Lines changed: 844 additions & 19 deletions

File tree

.storybook/components/Icons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export function Icons() {
125125
},
126126
);
127127
const matchesSize = size === 'all' || size === icon.size;
128-
return matchesKeyword && matchesSize;
128+
return !icon.inactive && matchesKeyword && matchesSize;
129129
}) as IconsManifest['icons'];
130130

131131
return (

package-lock.json

Lines changed: 11 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/circuit-ui/components/Select/Select.stories.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ export const WithPrefix = (args: SelectProps) => {
8686
alt=""
8787
countryCode={props.value as FlagProps['countryCode']}
8888
size="s"
89-
aria-hidden="true"
9089
/>
9190
) : null
9291
}

0 commit comments

Comments
 (0)