@gnome-ui/icons 1.19.0 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Icons.stories.d.ts +52 -0
- package/package.json +14 -2
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
interface GalleryProps {
|
|
3
|
+
size: number;
|
|
4
|
+
color: string;
|
|
5
|
+
filter: string;
|
|
6
|
+
}
|
|
7
|
+
declare function Gallery({ size, color, filter }: GalleryProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare const meta: {
|
|
9
|
+
title: string;
|
|
10
|
+
component: typeof Gallery;
|
|
11
|
+
parameters: {
|
|
12
|
+
layout: string;
|
|
13
|
+
docs: {
|
|
14
|
+
description: {
|
|
15
|
+
component: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
argTypes: {
|
|
20
|
+
size: {
|
|
21
|
+
control: {
|
|
22
|
+
type: "range";
|
|
23
|
+
min: number;
|
|
24
|
+
max: number;
|
|
25
|
+
step: number;
|
|
26
|
+
};
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
color: {
|
|
30
|
+
control: "color";
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
filter: {
|
|
34
|
+
control: "text";
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
args: {
|
|
39
|
+
size: number;
|
|
40
|
+
color: string;
|
|
41
|
+
filter: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export default meta;
|
|
45
|
+
type Story = StoryObj<typeof meta>;
|
|
46
|
+
export declare const AllIcons: Story;
|
|
47
|
+
export declare const LargeSize: Story;
|
|
48
|
+
export declare const DarkBackground: Story;
|
|
49
|
+
export declare const NavigationIcons: Story;
|
|
50
|
+
export declare const ActionIcons: Story;
|
|
51
|
+
export declare const StatusIcons: Story;
|
|
52
|
+
export declare const MediaIcons: Story;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gnome-ui/icons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"description": "Adwaita symbolic icon definitions (framework-agnostic SVG path data)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -18,12 +18,24 @@
|
|
|
18
18
|
],
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "tsc && vite build",
|
|
21
|
-
"typecheck": "tsc --noEmit"
|
|
21
|
+
"typecheck": "tsc --noEmit",
|
|
22
|
+
"storybook": "storybook dev -p 6008",
|
|
23
|
+
"build-storybook": "storybook build"
|
|
22
24
|
},
|
|
23
25
|
"publishConfig": {
|
|
24
26
|
"access": "public"
|
|
25
27
|
},
|
|
26
28
|
"devDependencies": {
|
|
29
|
+
"@storybook/addon-a11y": "^10.3.3",
|
|
30
|
+
"@storybook/addon-docs": "^10.3.3",
|
|
31
|
+
"@storybook/react": "^10.3.3",
|
|
32
|
+
"@storybook/react-vite": "^10.3.3",
|
|
33
|
+
"@types/react": "^19.0.0",
|
|
34
|
+
"@types/react-dom": "^19.0.0",
|
|
35
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
36
|
+
"react": "^19.0.0",
|
|
37
|
+
"react-dom": "^19.0.0",
|
|
38
|
+
"storybook": "^10.3.3",
|
|
27
39
|
"vite": "^8.0.3",
|
|
28
40
|
"vite-plugin-dts": "^4.5.4"
|
|
29
41
|
}
|