From 099998015eff1e1c4a0f6e58f2237331bbb5872e Mon Sep 17 00:00:00 2001 From: Sebastian Florek Date: Mon, 3 Apr 2023 12:05:36 +0200 Subject: [PATCH] feat: Update wizard picker zerostate and export plural logo (#447) --- src/components/wizard/Picker.tsx | 9 ++++++++- src/icons.ts | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/wizard/Picker.tsx b/src/components/wizard/Picker.tsx index 83d9ce0c..1444f722 100644 --- a/src/components/wizard/Picker.tsx +++ b/src/components/wizard/Picker.tsx @@ -144,7 +144,7 @@ function PickerUnstyled({ items, ...props }: PickerProps): JSX.Element { ))} )} - {filtered.length === 0 && ( + {filtered.length === 0 && search?.length > 0 && (
No applications found for "{search}". @@ -157,6 +157,13 @@ function PickerUnstyled({ items, ...props }: PickerProps): JSX.Element {
)} + {filtered.length === 0 && !search && ( +
+ + No applications available to install. + +
+ )} ) } diff --git a/src/icons.ts b/src/icons.ts index 455cac30..978aa1f6 100644 --- a/src/icons.ts +++ b/src/icons.ts @@ -164,3 +164,6 @@ export { default as WebhooksIcon } from './components/icons/WebhooksIcon' export { default as WindowsLogoIcon } from './components/icons/WindowsLogoIcon' export { default as WorkspaceIcon } from './components/icons/WorkspaceIcon' export { default as InfoOutlineIcon } from './components/icons/InfoOutlineIcon' +export { default as PluralLogoFull } from './components/icons/logo/PluralLogoFull' +export { default as PluralLogoMark } from './components/icons/logo/PluralLogoMark' +export { default as PluralLogoWord } from './components/icons/logo/PluralLogoWord'