From c84b561a58999bdfec9c054909d4e437559fb6a9 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Wed, 18 Aug 2021 12:49:51 -0400 Subject: [PATCH] chore: remove storybook usage of non-flight icons --- .../rose/addon/components/rose/badge/index.stories.mdx | 2 -- .../rose/addon/components/rose/button/index.stories.mdx | 9 +-------- .../addon/components/rose/card/link/index.stories.mdx | 2 -- .../rose/addon/components/rose/dialog/index.stories.mdx | 2 -- .../components/rose/form/radio/group/index.stories.mdx | 2 -- .../components/rose/form/radio/radio/index.stories.mdx | 4 ---- .../rose/addon/components/rose/header/index.stories.mdx | 2 -- .../addon/components/rose/link-button/index.stories.mdx | 7 +------ 8 files changed, 2 insertions(+), 28 deletions(-) diff --git a/addons/rose/addon/components/rose/badge/index.stories.mdx b/addons/rose/addon/components/rose/badge/index.stories.mdx index 0011927a7..1d65b3d0a 100644 --- a/addons/rose/addon/components/rose/badge/index.stories.mdx +++ b/addons/rose/addon/components/rose/badge/index.stories.mdx @@ -44,8 +44,6 @@ Styles: outline, dark, informational, informational-outline, success, success-ou ), icon: select('icon', { 'flight/org-16': 'flight/org-16', - 'partner': 'partner', - 'gift-fill': 'gift-fill', }, 'flight/org-16' ), diff --git a/addons/rose/addon/components/rose/button/index.stories.mdx b/addons/rose/addon/components/rose/button/index.stories.mdx index 5e00e39aa..0e9380eaa 100644 --- a/addons/rose/addon/components/rose/button/index.stories.mdx +++ b/addons/rose/addon/components/rose/button/index.stories.mdx @@ -51,8 +51,6 @@ other routes. For accessibility, use links instead. { 'flight/check-circle-16': 'flight/check-circle-16', 'flight/clipboard-copy-16': 'flight/clipboard-copy-16', - 'unfold-more': 'unfold-more', - 'unfold-less': 'unfold-less', }, 'flight/check-circle-16' ), @@ -60,12 +58,9 @@ other routes. For accessibility, use links instead. 'iconRight', { 'flight/check-circle-16': 'flight/check-circle-16', - 'chevron-right': 'chevron-right', 'flight/clipboard-copy-16': 'flight/clipboard-copy-16', - 'unfold-more': 'unfold-more', - 'unfold-less': 'unfold-less', }, - 'chevron-right' + 'flight/clipboard-copy-16' ), onClick: action('clicked'), }, @@ -88,8 +83,6 @@ button in this case for accessibility. { 'flight/check-circle-16': 'flight/check-circle-16', 'flight/clipboard-copy-16': 'flight/clipboard-copy-16', - 'unfold-more': 'unfold-more', - 'unfold-less': 'unfold-less', }, 'flight/check-circle-16' ), diff --git a/addons/rose/addon/components/rose/card/link/index.stories.mdx b/addons/rose/addon/components/rose/card/link/index.stories.mdx index 960fc709f..8aaf7e693 100644 --- a/addons/rose/addon/components/rose/card/link/index.stories.mdx +++ b/addons/rose/addon/components/rose/card/link/index.stories.mdx @@ -33,8 +33,6 @@ Card link component wraps content with `LinkTo` component. Supports title and de id: text('id', 'resource_id_1234'), icon: select('icon', { 'flight/org-16': 'flight/org-16', - 'partner': 'partner', - 'gift-fill': 'gift-fill', }, 'flight/org-16' ), diff --git a/addons/rose/addon/components/rose/dialog/index.stories.mdx b/addons/rose/addon/components/rose/dialog/index.stories.mdx index 70a0a1f0e..0315a3c87 100644 --- a/addons/rose/addon/components/rose/dialog/index.stories.mdx +++ b/addons/rose/addon/components/rose/dialog/index.stories.mdx @@ -38,8 +38,6 @@ A dialog component with optional modal capabilities. { 'flight/check-circle-16': 'flight/check-circle-16', 'flight/clipboard-copy-16': 'flight/clipboard-copy-16', - 'unfold-more': 'unfold-more', - 'unfold-less': 'unfold-less' }, 'flight/check-circle-16' ), diff --git a/addons/rose/addon/components/rose/form/radio/group/index.stories.mdx b/addons/rose/addon/components/rose/form/radio/group/index.stories.mdx index d6119ea5f..be4aa2b3f 100644 --- a/addons/rose/addon/components/rose/form/radio/group/index.stories.mdx +++ b/addons/rose/addon/components/rose/form/radio/group/index.stories.mdx @@ -70,8 +70,6 @@ Renders a form radiofield group. { 'flight/org-16': 'flight/org-16', 'flight/clipboard-copy-16': 'flight/clipboard-copy-16', - 'unfold-more': 'unfold-more', - 'unfold-less': 'unfold-less', }, 'flight/org-16' ), diff --git a/addons/rose/addon/components/rose/form/radio/radio/index.stories.mdx b/addons/rose/addon/components/rose/form/radio/radio/index.stories.mdx index 7eeec093e..e2f15d63a 100644 --- a/addons/rose/addon/components/rose/form/radio/radio/index.stories.mdx +++ b/addons/rose/addon/components/rose/form/radio/radio/index.stories.mdx @@ -46,8 +46,6 @@ Renders a form radiofield. 'none': null, 'flight/org-16': 'flight/org-16', 'flight/clipboard-copy-16': 'flight/clipboard-copy-16', - 'unfold-more': 'unfold-more', - 'unfold-less': 'unfold-less', }, null ), @@ -113,8 +111,6 @@ Renders a form radiofield. 'none': null, 'flight/org-16': 'flight/org-16', 'flight/clipboard-copy-16': 'flight/clipboard-copy-16', - 'unfold-more': 'unfold-more', - 'unfold-less': 'unfold-less', }, null ), diff --git a/addons/rose/addon/components/rose/header/index.stories.mdx b/addons/rose/addon/components/rose/header/index.stories.mdx index 629644e10..be894c503 100644 --- a/addons/rose/addon/components/rose/header/index.stories.mdx +++ b/addons/rose/addon/components/rose/header/index.stories.mdx @@ -72,8 +72,6 @@ A header component that allows three distinct sections to be configured: brand, 'flight/user-circle-16': 'flight/user-circle-16', 'flight/check-circle-16': 'flight/check-circle-16', 'flight/clipboard-copy-16': 'flight/clipboard-copy-16', - 'unfold-more': 'unfold-more', - 'unfold-less': 'unfold-less', }, 'flight/user-circle-16' ), diff --git a/addons/rose/addon/components/rose/link-button/index.stories.mdx b/addons/rose/addon/components/rose/link-button/index.stories.mdx index 94ca8d54d..381beb8cd 100644 --- a/addons/rose/addon/components/rose/link-button/index.stories.mdx +++ b/addons/rose/addon/components/rose/link-button/index.stories.mdx @@ -47,7 +47,6 @@ Disabling link button is not supported as it is an action on form components onl { 'flight/check-circle-16': 'flight/check-circle-16', 'flight/clipboard-copy-16': 'flight/clipboard-copy-16', - 'unfold-more': 'unfold-more', }, 'flight/clipboard-copy-16' ), @@ -55,11 +54,9 @@ Disabling link button is not supported as it is an action on form components onl 'iconRight', { 'flight/check-circle-16': 'flight/check-circle-16', - 'chevron-right': 'chevron-right', 'flight/clipboard-copy-16': 'flight/clipboard-copy-16', - 'search': 'search', }, - 'chevron-right' + 'flight/clipboard-copy-16' ), }, }} @@ -93,8 +90,6 @@ Similar to `Rose::Button`, icon only link button is supported. { 'flight/check-circle-16': 'flight/check-circle-16', 'flight/help-16': 'flight/help-16', - 'plus-circle-fill': 'plus-circle-fill', - 'user-square-outline': 'user-square-outline', }, 'flight/help-16' ),