;
+
+export const Default: Story = {
+ render: (args: any) => ({
+ components: { RcIcon },
+ setup() {
+ return { args };
+ },
+ template: '',
+ }),
+ args: {
+ type: 'search',
+ size: 'large',
+ status: 'success'
+ },
+};
+
+export const All: Story = {
+ render: (args: any) => ({
+ components: { RcIcon },
+ setup() {
+ return { args, types: Object.keys(RcIconType) };
+ },
+ template: ``,
+ }),
+ parameters: {
+ controls: { disabled: true },
+ docs: { canvas: { sourceState: 'none' } }
+ },
+};
diff --git a/storybook/src/stories/foundation/Icons.mdx b/storybook/src/stories/foundation/Icons.mdx
deleted file mode 100644
index d3d0279d19f..00000000000
--- a/storybook/src/stories/foundation/Icons.mdx
+++ /dev/null
@@ -1,46 +0,0 @@
-import { Meta } from '@storybook/addon-docs';
-
-
-
-
-
-# Icons
-Icons are font based and can be shown via the icon class.
-You can create the icon by using the standard HTML <i> element with the class `icon` and the class name of the icon, as shown below.
-
-e.g.
-
-<i class="icon icon-show" />
-
-Current icon set can be viewed here: Rancher Icons
-
-Additional icon styles can be found in via assets/styles/fonts/_icons.scss.
-
-
-
diff --git a/yarn.lock b/yarn.lock
index 270f68c5512..cf63d4171d0 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2826,7 +2826,7 @@
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.8.tgz#6b79032e760a0899cd4204710beede972a3a185f"
integrity sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==
-"@rancher/icons@2.0.53":
+"@rancher/icons@2.0.53", "@rancher/icons@^2.0.53":
version "2.0.53"
resolved "https://registry.yarnpkg.com/@rancher/icons/-/icons-2.0.53.tgz#0cbfd0f7d16bd8c99683654d83de99e77d2424c9"
integrity sha512-FkJsVZihlbZiaXI5E42W05jQGlV8HRUrWbIK2zg2JkGCLUO3mvratLGL2Yjx8dFz34y37h11DsH9+nFPoHuppA==
@@ -9263,7 +9263,7 @@ html-tags@^3.3.1:
html-webpack-plugin@5.0.0, html-webpack-plugin@^5.1.0:
version "5.0.0"
- resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.0.0.tgz#457a9defb33ce368135078b4e0387a27f3fe244d"
+ resolved "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.0.0.tgz#457a9defb33ce368135078b4e0387a27f3fe244d"
integrity sha512-kxTyb8cyZwEyUqXTgdHRUOF4C7uCrquzw2T+YTudehm/yspodgCkREjdmc4dXI8k2P4NEjqOVbnOOlPZg4TKJA==
dependencies:
"@types/html-minifier-terser" "^5.0.0"