@webstudio-is/icons 0.57.0 → 0.58.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/lib/types/__generated__/alert.d.ts +3 -0
- package/lib/types/__generated__/attachment.d.ts +3 -0
- package/lib/types/__generated__/auto-scroll.d.ts +3 -0
- package/lib/types/__generated__/blockquote.d.ts +3 -0
- package/lib/types/__generated__/body.d.ts +3 -0
- package/lib/types/__generated__/bold.d.ts +3 -0
- package/lib/types/__generated__/border-radius-bottom-left.d.ts +3 -0
- package/lib/types/__generated__/border-radius-bottom-right.d.ts +3 -0
- package/lib/types/__generated__/border-radius-individual.d.ts +3 -0
- package/lib/types/__generated__/border-radius-top-left.d.ts +3 -0
- package/lib/types/__generated__/border-radius-top-right.d.ts +3 -0
- package/lib/types/__generated__/border-radius.d.ts +3 -0
- package/lib/types/__generated__/border-width-bottom.d.ts +3 -0
- package/lib/types/__generated__/border-width-individual.d.ts +3 -0
- package/lib/types/__generated__/border-width-left.d.ts +3 -0
- package/lib/types/__generated__/border-width-right.d.ts +3 -0
- package/lib/types/__generated__/border-width-top.d.ts +3 -0
- package/lib/types/__generated__/box-link.d.ts +3 -0
- package/lib/types/__generated__/box.d.ts +3 -0
- package/lib/types/__generated__/bp-star-off.d.ts +3 -0
- package/lib/types/__generated__/bp-star-on.d.ts +3 -0
- package/lib/types/__generated__/button-element.d.ts +3 -0
- package/lib/types/__generated__/checkbox-checked-filled.d.ts +3 -0
- package/lib/types/__generated__/checkbox-empty.d.ts +3 -0
- package/lib/types/__generated__/checkbox-mixed-filled.d.ts +3 -0
- package/lib/types/__generated__/chevron-big-down.d.ts +3 -0
- package/lib/types/__generated__/chevron-big-left.d.ts +3 -0
- package/lib/types/__generated__/chevron-big-right.d.ts +3 -0
- package/lib/types/__generated__/chevron-big-up.d.ts +3 -0
- package/lib/types/__generated__/chevron-filled-down.d.ts +3 -0
- package/lib/types/__generated__/chevron-filled-left.d.ts +3 -0
- package/lib/types/__generated__/chevron-filled-right.d.ts +3 -0
- package/lib/types/__generated__/chevron-filled-up.d.ts +3 -0
- package/lib/types/__generated__/code.d.ts +3 -0
- package/lib/types/__generated__/commit.d.ts +3 -0
- package/lib/types/__generated__/dash-border.d.ts +3 -0
- package/lib/types/__generated__/dash.d.ts +3 -0
- package/lib/types/__generated__/dashed-border.d.ts +3 -0
- package/lib/types/__generated__/div.d.ts +3 -0
- package/lib/types/__generated__/dot.d.ts +3 -0
- package/lib/types/__generated__/dotted-border.d.ts +3 -0
- package/lib/types/__generated__/drag-handle.d.ts +3 -0
- package/lib/types/__generated__/email.d.ts +3 -0
- package/lib/types/__generated__/external-link.d.ts +3 -0
- package/lib/types/__generated__/eyecon-closed.d.ts +3 -0
- package/lib/types/__generated__/eyecon-open.d.ts +3 -0
- package/lib/types/__generated__/form-text-field.d.ts +3 -0
- package/lib/types/__generated__/form.d.ts +3 -0
- package/lib/types/__generated__/github.d.ts +3 -0
- package/lib/types/__generated__/google.d.ts +3 -0
- package/lib/types/__generated__/hamburger-menu.d.ts +3 -0
- package/lib/types/__generated__/heading.d.ts +3 -0
- package/lib/types/__generated__/image.d.ts +3 -0
- package/lib/types/__generated__/index.d.ts +81 -0
- package/lib/types/__generated__/info.d.ts +3 -0
- package/lib/types/__generated__/information.d.ts +3 -0
- package/lib/types/__generated__/link.d.ts +3 -0
- package/lib/types/__generated__/linked.d.ts +3 -0
- package/lib/types/__generated__/list-item.d.ts +3 -0
- package/lib/types/__generated__/list.d.ts +3 -0
- package/lib/types/__generated__/offline.d.ts +3 -0
- package/lib/types/__generated__/page.d.ts +3 -0
- package/lib/types/__generated__/paint-brush.d.ts +3 -0
- package/lib/types/__generated__/phone.d.ts +3 -0
- package/lib/types/__generated__/play.d.ts +3 -0
- package/lib/types/__generated__/plus.d.ts +3 -0
- package/lib/types/__generated__/radio-checked.d.ts +3 -0
- package/lib/types/__generated__/radio-unchecked.d.ts +3 -0
- package/lib/types/__generated__/repeat-column.d.ts +3 -0
- package/lib/types/__generated__/repeat-grid.d.ts +3 -0
- package/lib/types/__generated__/repeat-row.d.ts +3 -0
- package/lib/types/__generated__/scroll.d.ts +3 -0
- package/lib/types/__generated__/section-link.d.ts +3 -0
- package/lib/types/__generated__/slot-component.d.ts +3 -0
- package/lib/types/__generated__/small-x.d.ts +3 -0
- package/lib/types/__generated__/subscript.d.ts +3 -0
- package/lib/types/__generated__/subtract.d.ts +3 -0
- package/lib/types/__generated__/superscript.d.ts +3 -0
- package/lib/types/__generated__/text-block.d.ts +3 -0
- package/lib/types/__generated__/text-italic.d.ts +3 -0
- package/lib/types/__generated__/unlinked.d.ts +3 -0
- package/lib/types/__generated__/webstudio.d.ts +3 -0
- package/lib/types/align-content-center.d.ts +3 -0
- package/lib/types/align-content-end.d.ts +3 -0
- package/lib/types/align-content-space-around.d.ts +3 -0
- package/lib/types/align-content-space-between.d.ts +3 -0
- package/lib/types/align-content-start.d.ts +3 -0
- package/lib/types/align-content-stretch.d.ts +3 -0
- package/lib/types/align-items-baseline.d.ts +3 -0
- package/lib/types/align-items-center.d.ts +3 -0
- package/lib/types/align-items-end.d.ts +3 -0
- package/lib/types/align-items-start.d.ts +3 -0
- package/lib/types/align-items-stretch.d.ts +3 -0
- package/lib/types/align-self-baseline.d.ts +3 -0
- package/lib/types/align-self-center.d.ts +3 -0
- package/lib/types/align-self-end.d.ts +3 -0
- package/lib/types/align-self-start.d.ts +3 -0
- package/lib/types/align-self-stretch.d.ts +3 -0
- package/lib/types/aspect-ratio.d.ts +3 -0
- package/lib/types/check-mark.d.ts +3 -0
- package/lib/types/chevron-double-down.d.ts +3 -0
- package/lib/types/chevron-double-left.d.ts +3 -0
- package/lib/types/chevron-double-right.d.ts +3 -0
- package/lib/types/chevron-double-up.d.ts +3 -0
- package/lib/types/chevron-down.d.ts +3 -0
- package/lib/types/chevron-left.d.ts +3 -0
- package/lib/types/chevron-right.d.ts +3 -0
- package/lib/types/chevron-up.d.ts +3 -0
- package/lib/types/cloud.d.ts +3 -0
- package/lib/types/copy.d.ts +3 -0
- package/lib/types/cross-circled-filled.d.ts +3 -0
- package/lib/types/cross-large.d.ts +3 -0
- package/lib/types/cross-small.d.ts +3 -0
- package/lib/types/cross.d.ts +3 -0
- package/lib/types/devices.d.ts +3 -0
- package/lib/types/ellipses.d.ts +3 -0
- package/lib/types/flex-direction-column-reverse.d.ts +3 -0
- package/lib/types/flex-direction-column.d.ts +3 -0
- package/lib/types/flex-direction-row-reverse.d.ts +3 -0
- package/lib/types/flex-direction-row.d.ts +3 -0
- package/lib/types/flex-sizing-grow.d.ts +3 -0
- package/lib/types/flex-sizing-shrink.d.ts +3 -0
- package/lib/types/flex-wrap-no-wrap.d.ts +3 -0
- package/lib/types/flex-wrap-wrap-reverse.d.ts +3 -0
- package/lib/types/flex-wrap-wrap.d.ts +3 -0
- package/lib/types/gap-column.d.ts +3 -0
- package/lib/types/gap-row.d.ts +3 -0
- package/lib/types/gear.d.ts +8 -0
- package/lib/types/index.d.ts +83 -0
- package/lib/types/index.stories.d.ts +17 -0
- package/lib/types/justify-content-center.d.ts +3 -0
- package/lib/types/justify-content-end.d.ts +3 -0
- package/lib/types/justify-content-space-around.d.ts +3 -0
- package/lib/types/justify-content-space-between.d.ts +3 -0
- package/lib/types/justify-content-start.d.ts +3 -0
- package/lib/types/justify-items-center.d.ts +3 -0
- package/lib/types/justify-items-end.d.ts +3 -0
- package/lib/types/justify-items-space-around.d.ts +3 -0
- package/lib/types/justify-items-space-between.d.ts +3 -0
- package/lib/types/justify-items-start.d.ts +3 -0
- package/lib/types/list-nested.d.ts +3 -0
- package/lib/types/magnifying-glass.d.ts +3 -0
- package/lib/types/menu.d.ts +3 -0
- package/lib/types/new-folder.d.ts +3 -0
- package/lib/types/new-page.d.ts +3 -0
- package/lib/types/order-first.d.ts +3 -0
- package/lib/types/order-last.d.ts +3 -0
- package/lib/types/redo.d.ts +3 -0
- package/lib/types/size.d.ts +3 -0
- package/lib/types/text-align-center.d.ts +3 -0
- package/lib/types/text-align-justify.d.ts +3 -0
- package/lib/types/text-align-left.d.ts +3 -0
- package/lib/types/text-align-right.d.ts +3 -0
- package/lib/types/text-capitalize.d.ts +3 -0
- package/lib/types/text-direction-ltr.d.ts +3 -0
- package/lib/types/text-direction-rtl.d.ts +3 -0
- package/lib/types/text-hyphen.d.ts +3 -0
- package/lib/types/text-lowercase.d.ts +3 -0
- package/lib/types/text-strikethrough.d.ts +3 -0
- package/lib/types/text-truncate.d.ts +3 -0
- package/lib/types/text-underline.d.ts +3 -0
- package/lib/types/text-uppercase.d.ts +3 -0
- package/lib/types/trash.d.ts +3 -0
- package/lib/types/types.d.ts +9 -0
- package/lib/types/undo.d.ts +3 -0
- package/lib/types/upload.d.ts +3 -0
- package/package.json +4 -4
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { IconProps } from "./types";
|
|
3
|
+
export declare const gearIconCssVars: ({ fill }: {
|
|
4
|
+
fill: string;
|
|
5
|
+
}) => {
|
|
6
|
+
[x: string]: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const GearIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export * from "./__generated__";
|
|
2
|
+
export * from "./list-nested";
|
|
3
|
+
export * from "./undo";
|
|
4
|
+
export * from "./redo";
|
|
5
|
+
export * from "./devices";
|
|
6
|
+
export * from "./types";
|
|
7
|
+
export * from "./align-content-center";
|
|
8
|
+
export * from "./align-content-end";
|
|
9
|
+
export * from "./align-content-space-around";
|
|
10
|
+
export * from "./align-content-space-between";
|
|
11
|
+
export * from "./align-content-start";
|
|
12
|
+
export * from "./align-content-stretch";
|
|
13
|
+
export * from "./align-items-baseline";
|
|
14
|
+
export * from "./align-items-center";
|
|
15
|
+
export * from "./align-items-end";
|
|
16
|
+
export * from "./align-items-start";
|
|
17
|
+
export * from "./align-items-stretch";
|
|
18
|
+
export * from "./flex-direction-row";
|
|
19
|
+
export * from "./flex-direction-column";
|
|
20
|
+
export * from "./flex-direction-row-reverse";
|
|
21
|
+
export * from "./flex-direction-column-reverse";
|
|
22
|
+
export * from "./flex-wrap-wrap";
|
|
23
|
+
export * from "./flex-wrap-no-wrap";
|
|
24
|
+
export * from "./flex-wrap-wrap-reverse";
|
|
25
|
+
export * from "./justify-content-center";
|
|
26
|
+
export * from "./justify-content-end";
|
|
27
|
+
export * from "./justify-content-space-around";
|
|
28
|
+
export * from "./justify-content-space-between";
|
|
29
|
+
export * from "./justify-content-start";
|
|
30
|
+
export * from "./justify-items-center";
|
|
31
|
+
export * from "./justify-items-end";
|
|
32
|
+
export * from "./justify-items-space-around";
|
|
33
|
+
export * from "./justify-items-space-between";
|
|
34
|
+
export * from "./justify-items-start";
|
|
35
|
+
export * from "./gap-row";
|
|
36
|
+
export * from "./gap-column";
|
|
37
|
+
export * from "./aspect-ratio";
|
|
38
|
+
export * from "./cloud";
|
|
39
|
+
export * from "./trash";
|
|
40
|
+
export * from "./size";
|
|
41
|
+
export * from "./upload";
|
|
42
|
+
export * from "./gear";
|
|
43
|
+
export * from "./copy";
|
|
44
|
+
export * from "./new-page";
|
|
45
|
+
export * from "./new-folder";
|
|
46
|
+
export * from "./chevron-double-up";
|
|
47
|
+
export * from "./chevron-double-down";
|
|
48
|
+
export * from "./chevron-double-left";
|
|
49
|
+
export * from "./chevron-double-right";
|
|
50
|
+
export * from "./chevron-up";
|
|
51
|
+
export * from "./chevron-down";
|
|
52
|
+
export * from "./chevron-left";
|
|
53
|
+
export * from "./chevron-right";
|
|
54
|
+
export * from "./cross-circled-filled";
|
|
55
|
+
export * from "./cross";
|
|
56
|
+
export * from "./magnifying-glass";
|
|
57
|
+
export * from "./menu";
|
|
58
|
+
export * from "./align-self-start";
|
|
59
|
+
export * from "./align-self-end";
|
|
60
|
+
export * from "./align-self-center";
|
|
61
|
+
export * from "./align-self-stretch";
|
|
62
|
+
export * from "./align-self-baseline";
|
|
63
|
+
export * from "./flex-sizing-grow";
|
|
64
|
+
export * from "./flex-sizing-shrink";
|
|
65
|
+
export * from "./order-first";
|
|
66
|
+
export * from "./order-last";
|
|
67
|
+
export * from "./cross-small";
|
|
68
|
+
export * from "./cross-large";
|
|
69
|
+
export * from "./ellipses";
|
|
70
|
+
export * from "./text-align-center";
|
|
71
|
+
export * from "./text-align-justify";
|
|
72
|
+
export * from "./text-align-left";
|
|
73
|
+
export * from "./text-align-right";
|
|
74
|
+
export * from "./text-capitalize";
|
|
75
|
+
export * from "./text-hyphen";
|
|
76
|
+
export * from "./text-lowercase";
|
|
77
|
+
export * from "./text-strikethrough";
|
|
78
|
+
export * from "./text-truncate";
|
|
79
|
+
export * from "./text-underline";
|
|
80
|
+
export * from "./text-uppercase";
|
|
81
|
+
export * from "./text-direction-ltr";
|
|
82
|
+
export * from "./text-direction-rtl";
|
|
83
|
+
export * from "./check-mark";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Icons: ({ testColor }: {
|
|
3
|
+
testColor: boolean;
|
|
4
|
+
}) => JSX.Element;
|
|
5
|
+
declare const _default: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: ({ testColor }: {
|
|
8
|
+
testColor: boolean;
|
|
9
|
+
}) => JSX.Element;
|
|
10
|
+
argTypes: {
|
|
11
|
+
testColor: {
|
|
12
|
+
name: string;
|
|
13
|
+
defaultValue: boolean;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SVGAttributes, RefAttributes, ForwardRefExoticComponent } from "react";
|
|
2
|
+
export interface IconProps extends SVGAttributes<SVGElement> {
|
|
3
|
+
children?: never;
|
|
4
|
+
color?: string;
|
|
5
|
+
size?: number;
|
|
6
|
+
}
|
|
7
|
+
export type IconComponent = ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
8
|
+
export type IconRecord = Record<string, IconComponent>;
|
|
9
|
+
export type IconRecords = Record<string, IconRecord>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/icons",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.58.0",
|
|
4
4
|
"description": "Webstudio Icons",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
"typescript": "5.0.3",
|
|
16
16
|
"@webstudio-is/scripts": "^0.0.0",
|
|
17
17
|
"@webstudio-is/storybook-config": "^0.0.0",
|
|
18
|
-
"@webstudio-is/tsconfig": "^1.0.
|
|
18
|
+
"@webstudio-is/tsconfig": "^1.0.5"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"react": "^18.2.0",
|
|
22
22
|
"react-dom": "^18.2.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@webstudio-is/css-vars": "^0.
|
|
25
|
+
"@webstudio-is/css-vars": "^0.58.0"
|
|
26
26
|
},
|
|
27
27
|
"module": "./lib/index.js",
|
|
28
28
|
"exports": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"scripts": {
|
|
43
43
|
"dev": "build-package --watch",
|
|
44
44
|
"build": "build-package",
|
|
45
|
-
"dts": "tsc",
|
|
45
|
+
"dts": "tsc --declarationDir lib/types",
|
|
46
46
|
"generate": "rm -fr src/__generated__ && NODE_OPTIONS='--loader=tsx' svgo-jsx svgo-jsx.config.ts",
|
|
47
47
|
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
|
|
48
48
|
"lint": "eslint ./src --ext .ts,.tsx --max-warnings 0",
|