@mirohq/design-system-icons 0.2.3-colors.0 → 0.3.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/main.js +593 -18
- package/dist/main.js.map +1 -1
- package/dist/module.js +572 -19
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +119 -141
- package/package.json +4 -4
- package/react/arrow-down.tsx +1 -1
- package/react/arrow-fat-right.tsx +32 -0
- package/react/arrow-up.tsx +1 -1
- package/react/chat.tsx +32 -0
- package/react/circle-motion-x.tsx +33 -0
- package/react/circle.tsx +32 -0
- package/react/exclamation-point-circle.tsx +2 -2
- package/react/funnel.tsx +33 -0
- package/react/index.ts +22 -0
- package/react/information-mark-circle.tsx +1 -1
- package/react/line-diagonal.tsx +33 -0
- package/react/microphone-slash.tsx +33 -0
- package/react/microphone.tsx +33 -0
- package/react/parallelogram.tsx +32 -0
- package/react/pause-circle.tsx +33 -0
- package/react/play-circle.tsx +26 -0
- package/react/playback-speed-circle.tsx +31 -0
- package/react/rhombus.tsx +32 -0
- package/react/shapes.tsx +33 -0
- package/react/sliders-x.tsx +33 -0
- package/react/sliders-y.tsx +33 -0
- package/react/speaker-cross.tsx +33 -0
- package/react/speaker-high.tsx +33 -0
- package/react/square-rounded.tsx +32 -0
- package/react/square.tsx +32 -0
- package/react/stop-circle.tsx +25 -0
- package/react/triangle.tsx +32 -0
- package/react/wallet.tsx +1 -1
- package/svg/24/arrow-down.svg +1 -1
- package/svg/24/arrow-fat-right.svg +1 -0
- package/svg/24/arrow-up.svg +1 -1
- package/svg/24/chat.svg +1 -0
- package/svg/24/circle-motion-x.svg +1 -0
- package/svg/24/circle.svg +1 -0
- package/svg/24/exclamation-point-circle.svg +1 -1
- package/svg/24/funnel.svg +1 -0
- package/svg/24/information-mark-circle.svg +1 -1
- package/svg/24/line-diagonal.svg +1 -0
- package/svg/24/microphone-slash.svg +1 -0
- package/svg/24/microphone.svg +1 -0
- package/svg/24/parallelogram.svg +1 -0
- package/svg/24/pause-circle.svg +1 -0
- package/svg/24/play-circle.svg +1 -0
- package/svg/24/playback-speed-circle.svg +1 -0
- package/svg/24/rhombus.svg +1 -0
- package/svg/24/shapes.svg +1 -0
- package/svg/24/sliders-x.svg +1 -0
- package/svg/24/sliders-y.svg +1 -0
- package/svg/24/speaker-cross.svg +1 -0
- package/svg/24/speaker-high.svg +1 -0
- package/svg/24/square-rounded.svg +1 -0
- package/svg/24/square.svg +1 -0
- package/svg/24/stop-circle.svg +1 -0
- package/svg/24/triangle.svg +1 -0
- package/svg/24/wallet.svg +1 -1
- package/svg/meta.json +143 -0
package/dist/types.d.ts
CHANGED
|
@@ -7,10 +7,10 @@ import * as _stitches_react_types_styled_component from '@stitches/react/types/s
|
|
|
7
7
|
|
|
8
8
|
declare const StyledIcon: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
9
9
|
size?: "small" | "medium" | "large" | undefined;
|
|
10
|
-
color?: "background-
|
|
10
|
+
color?: "background-cta-active" | "background-cta-disabled" | "background-cta-hover" | "background-cta-idle" | "background-danger-active" | "background-danger-hover" | "background-danger-idle" | "background-default-active" | "background-default-disabled" | "background-default-hover" | "background-default-idle" | "background-default-selected" | "background-default-selected-active" | "background-info-idle" | "background-primary" | "background-secondary" | "background-success-idle" | "background-warning-idle" | "border-cta-idle" | "border-default-active" | "border-default-error" | "border-default-hover" | "border-default-idle" | "border-default-selected" | "canvas-primary" | "divider-default" | "focus-ring-default" | "font-cta-idle" | "font-default-active" | "font-default-disabled" | "font-default-error" | "font-default-hover" | "font-default-idle" | "font-default-selected" | "font-default-visited" | "font-primary" | "font-secondary" | "font-tertiary" | "icon-cta-idle" | "icon-default" | "icon-default-active" | "icon-default-disabled" | "icon-default-error" | "icon-default-hover" | "icon-default-idle" | "icon-default-selected" | "black" | "blue-10" | "blue-20" | "blue-50" | "blue-60" | "blue-70" | "blue-80" | "gray-20" | "gray-30" | "gray-40" | "gray-50" | "green-70" | "indigo-20" | "indigo-30" | "indigo-50" | "indigo-70" | "indigo-90" | "pink-20" | "pink-50" | "red-10" | "red-20" | "red-30" | "red-50" | "red-60" | "transparent" | "white" | "yellow-20" | "yellow-60" | undefined;
|
|
11
11
|
}, "color" | "size"> & _stitches_react_types_styled_component.TransformProps<{
|
|
12
12
|
size?: "small" | "medium" | "large" | undefined;
|
|
13
|
-
color?: "background-
|
|
13
|
+
color?: "background-cta-active" | "background-cta-disabled" | "background-cta-hover" | "background-cta-idle" | "background-danger-active" | "background-danger-hover" | "background-danger-idle" | "background-default-active" | "background-default-disabled" | "background-default-hover" | "background-default-idle" | "background-default-selected" | "background-default-selected-active" | "background-info-idle" | "background-primary" | "background-secondary" | "background-success-idle" | "background-warning-idle" | "border-cta-idle" | "border-default-active" | "border-default-error" | "border-default-hover" | "border-default-idle" | "border-default-selected" | "canvas-primary" | "divider-default" | "focus-ring-default" | "font-cta-idle" | "font-default-active" | "font-default-disabled" | "font-default-error" | "font-default-hover" | "font-default-idle" | "font-default-selected" | "font-default-visited" | "font-primary" | "font-secondary" | "font-tertiary" | "icon-cta-idle" | "icon-default" | "icon-default-active" | "icon-default-disabled" | "icon-default-error" | "icon-default-hover" | "icon-default-idle" | "icon-default-selected" | "black" | "blue-10" | "blue-20" | "blue-50" | "blue-60" | "blue-70" | "blue-80" | "gray-20" | "gray-30" | "gray-40" | "gray-50" | "green-70" | "indigo-20" | "indigo-30" | "indigo-50" | "indigo-70" | "indigo-90" | "pink-20" | "pink-50" | "red-10" | "red-20" | "red-30" | "red-50" | "red-60" | "transparent" | "white" | "yellow-20" | "yellow-60" | undefined;
|
|
14
14
|
}, {}> & _mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"svg">>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
15
15
|
'border-widths': {
|
|
16
16
|
readonly none: 0;
|
|
@@ -19,146 +19,80 @@ declare const StyledIcon: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
19
19
|
readonly lg: "4px";
|
|
20
20
|
};
|
|
21
21
|
colors: {
|
|
22
|
-
readonly 'blue-100': any;
|
|
23
|
-
readonly 'blue-200': any;
|
|
24
|
-
readonly 'blue-300': any;
|
|
25
|
-
readonly 'blue-400': any;
|
|
26
|
-
readonly 'blue-500': any;
|
|
27
|
-
readonly 'blue-600': any;
|
|
28
|
-
readonly 'blue-700': any;
|
|
29
|
-
readonly 'blue-800': any;
|
|
30
|
-
readonly 'blue-900': any;
|
|
31
|
-
readonly 'blue-1000': any;
|
|
32
|
-
readonly 'gray-100': any;
|
|
33
|
-
readonly 'gray-200': any;
|
|
34
|
-
readonly 'gray-300': any;
|
|
35
|
-
readonly 'gray-400': any;
|
|
36
|
-
readonly 'gray-500': any;
|
|
37
|
-
readonly 'gray-600': any;
|
|
38
|
-
readonly 'gray-700': any;
|
|
39
|
-
readonly 'gray-800': any;
|
|
40
|
-
readonly 'gray-900': any;
|
|
41
|
-
readonly 'indigo-100': any;
|
|
42
|
-
readonly 'indigo-200': any;
|
|
43
|
-
readonly 'indigo-300': any;
|
|
44
|
-
readonly 'indigo-400': any;
|
|
45
|
-
readonly 'indigo-500': any;
|
|
46
|
-
readonly 'indigo-600': any;
|
|
47
|
-
readonly 'indigo-700': any;
|
|
48
|
-
readonly 'indigo-800': any;
|
|
49
|
-
readonly 'indigo-900': any;
|
|
50
|
-
readonly 'red-100': any;
|
|
51
|
-
readonly 'red-200': any;
|
|
52
|
-
readonly 'red-300': any;
|
|
53
|
-
readonly 'red-400': any;
|
|
54
|
-
readonly 'red-500': any;
|
|
55
|
-
readonly 'red-600': any;
|
|
56
|
-
readonly 'red-700': any;
|
|
57
|
-
readonly 'red-800': any;
|
|
58
|
-
readonly 'red-900': any;
|
|
59
|
-
readonly 'yellow-100': any;
|
|
60
|
-
readonly 'yellow-200': any;
|
|
61
|
-
readonly 'yellow-300': any;
|
|
62
|
-
readonly 'yellow-400': any;
|
|
63
|
-
readonly 'yellow-500': any;
|
|
64
|
-
readonly 'yellow-600': any;
|
|
65
|
-
readonly 'yellow-700': any;
|
|
66
|
-
readonly 'yellow-800': any;
|
|
67
|
-
readonly 'yellow-900': any;
|
|
68
|
-
readonly 'green-100': any;
|
|
69
|
-
readonly 'green-200': any;
|
|
70
|
-
readonly 'green-300': any;
|
|
71
|
-
readonly 'green-400': any;
|
|
72
|
-
readonly 'green-500': any;
|
|
73
|
-
readonly 'green-600': any;
|
|
74
|
-
readonly 'green-700': any;
|
|
75
|
-
readonly 'green-800': any;
|
|
76
|
-
readonly 'green-900': any;
|
|
77
22
|
readonly black: any;
|
|
78
|
-
readonly
|
|
23
|
+
readonly 'blue-10': any;
|
|
24
|
+
readonly 'blue-20': any;
|
|
25
|
+
readonly 'blue-50': any;
|
|
26
|
+
readonly 'blue-60': any;
|
|
27
|
+
readonly 'blue-70': any;
|
|
28
|
+
readonly 'blue-80': any;
|
|
29
|
+
readonly 'gray-20': any;
|
|
30
|
+
readonly 'gray-30': any;
|
|
31
|
+
readonly 'gray-40': any;
|
|
32
|
+
readonly 'gray-50': any;
|
|
33
|
+
readonly 'green-70': any;
|
|
34
|
+
readonly 'indigo-20': any;
|
|
35
|
+
readonly 'indigo-30': any;
|
|
36
|
+
readonly 'indigo-50': any;
|
|
37
|
+
readonly 'indigo-70': any;
|
|
38
|
+
readonly 'indigo-90': any;
|
|
39
|
+
readonly 'pink-20': any;
|
|
40
|
+
readonly 'pink-50': any;
|
|
41
|
+
readonly 'red-10': any;
|
|
42
|
+
readonly 'red-20': any;
|
|
43
|
+
readonly 'red-30': any;
|
|
44
|
+
readonly 'red-50': any;
|
|
45
|
+
readonly 'red-60': any;
|
|
79
46
|
readonly transparent: any;
|
|
80
|
-
readonly
|
|
81
|
-
readonly '
|
|
82
|
-
readonly '
|
|
83
|
-
readonly 'background-
|
|
84
|
-
readonly 'background-
|
|
85
|
-
readonly 'background-
|
|
86
|
-
readonly 'background-
|
|
87
|
-
readonly 'background-
|
|
88
|
-
readonly 'background-neutrals-disabled'?: any;
|
|
89
|
-
readonly 'background-neutrals-controls-disabled'?: any;
|
|
90
|
-
readonly 'background-neutrals-scrolls'?: any;
|
|
91
|
-
readonly 'background-neutrals-inactive'?: any;
|
|
92
|
-
readonly 'background-neutrals-inactive-hover'?: any;
|
|
93
|
-
readonly 'background-primary-prominent'?: any;
|
|
94
|
-
readonly 'background-primary-prominent-hover'?: any;
|
|
95
|
-
readonly 'background-primary-prominent-active'?: any;
|
|
96
|
-
readonly 'background-primary-prominent-selected'?: any;
|
|
97
|
-
readonly 'background-primary-subtle'?: any;
|
|
98
|
-
readonly 'background-primary-subtle-hover'?: any;
|
|
99
|
-
readonly 'background-primary-subtle-active'?: any;
|
|
100
|
-
readonly 'background-primary-subtle-selected'?: any;
|
|
101
|
-
readonly 'background-danger-prominent'?: any;
|
|
102
|
-
readonly 'background-danger-prominent-hover'?: any;
|
|
103
|
-
readonly 'background-danger-prominent-active'?: any;
|
|
104
|
-
readonly 'background-danger'?: any;
|
|
47
|
+
readonly white: any;
|
|
48
|
+
readonly 'yellow-20': any;
|
|
49
|
+
readonly 'yellow-60': any;
|
|
50
|
+
readonly 'background-cta-active'?: any;
|
|
51
|
+
readonly 'background-cta-disabled'?: any;
|
|
52
|
+
readonly 'background-cta-hover'?: any;
|
|
53
|
+
readonly 'background-cta-idle'?: any;
|
|
54
|
+
readonly 'background-danger-active'?: any;
|
|
105
55
|
readonly 'background-danger-hover'?: any;
|
|
106
|
-
readonly 'background-
|
|
107
|
-
readonly 'background-
|
|
108
|
-
readonly 'background-
|
|
109
|
-
readonly '
|
|
110
|
-
readonly '
|
|
111
|
-
readonly '
|
|
112
|
-
readonly '
|
|
113
|
-
readonly '
|
|
114
|
-
readonly '
|
|
115
|
-
readonly '
|
|
116
|
-
readonly '
|
|
117
|
-
readonly '
|
|
118
|
-
readonly '
|
|
119
|
-
readonly '
|
|
120
|
-
readonly '
|
|
121
|
-
readonly '
|
|
122
|
-
readonly '
|
|
123
|
-
readonly '
|
|
124
|
-
readonly '
|
|
125
|
-
readonly '
|
|
126
|
-
readonly '
|
|
127
|
-
readonly '
|
|
128
|
-
readonly '
|
|
129
|
-
readonly '
|
|
130
|
-
readonly '
|
|
131
|
-
readonly '
|
|
132
|
-
readonly '
|
|
133
|
-
readonly '
|
|
134
|
-
readonly '
|
|
135
|
-
readonly '
|
|
136
|
-
readonly '
|
|
137
|
-
readonly '
|
|
138
|
-
readonly 'icon-
|
|
139
|
-
readonly 'icon-
|
|
140
|
-
readonly 'icon-
|
|
141
|
-
readonly 'icon-
|
|
142
|
-
readonly 'icon-
|
|
143
|
-
readonly 'icon-
|
|
144
|
-
readonly 'icon-
|
|
145
|
-
readonly 'icon-
|
|
146
|
-
readonly 'icon-warning'?: any;
|
|
147
|
-
readonly 'border-neutrals'?: any;
|
|
148
|
-
readonly 'border-neutrals-hover'?: any;
|
|
149
|
-
readonly 'border-neutrals-active'?: any;
|
|
150
|
-
readonly 'border-neutrals-disabled'?: any;
|
|
151
|
-
readonly 'border-neutrals-controls'?: any;
|
|
152
|
-
readonly 'border-neutrals-controls-disabled'?: any;
|
|
153
|
-
readonly 'border-neutrals-subtle'?: any;
|
|
154
|
-
readonly 'border-neutrals-inverted'?: any;
|
|
155
|
-
readonly 'border-primary'?: any;
|
|
156
|
-
readonly 'border-primary-hover'?: any;
|
|
157
|
-
readonly 'border-primary-active'?: any;
|
|
158
|
-
readonly 'border-primary-inverted'?: any;
|
|
159
|
-
readonly 'border-danger'?: any;
|
|
160
|
-
readonly 'border-success'?: any;
|
|
161
|
-
readonly 'border-warning'?: any;
|
|
56
|
+
readonly 'background-danger-idle'?: any;
|
|
57
|
+
readonly 'background-default-active'?: any;
|
|
58
|
+
readonly 'background-default-disabled'?: any;
|
|
59
|
+
readonly 'background-default-hover'?: any;
|
|
60
|
+
readonly 'background-default-idle'?: any;
|
|
61
|
+
readonly 'background-default-selected'?: any;
|
|
62
|
+
readonly 'background-default-selected-active'?: any;
|
|
63
|
+
readonly 'background-info-idle'?: any;
|
|
64
|
+
readonly 'background-primary'?: any;
|
|
65
|
+
readonly 'background-secondary'?: any;
|
|
66
|
+
readonly 'background-success-idle'?: any;
|
|
67
|
+
readonly 'background-warning-idle'?: any;
|
|
68
|
+
readonly 'border-cta-idle'?: any;
|
|
69
|
+
readonly 'border-default-active'?: any;
|
|
70
|
+
readonly 'border-default-error'?: any;
|
|
71
|
+
readonly 'border-default-hover'?: any;
|
|
72
|
+
readonly 'border-default-idle'?: any;
|
|
73
|
+
readonly 'border-default-selected'?: any;
|
|
74
|
+
readonly 'canvas-primary'?: any;
|
|
75
|
+
readonly 'divider-default'?: any;
|
|
76
|
+
readonly 'focus-ring-default'?: any;
|
|
77
|
+
readonly 'font-cta-idle'?: any;
|
|
78
|
+
readonly 'font-default-active'?: any;
|
|
79
|
+
readonly 'font-default-disabled'?: any;
|
|
80
|
+
readonly 'font-default-error'?: any;
|
|
81
|
+
readonly 'font-default-hover'?: any;
|
|
82
|
+
readonly 'font-default-idle'?: any;
|
|
83
|
+
readonly 'font-default-selected'?: any;
|
|
84
|
+
readonly 'font-default-visited'?: any;
|
|
85
|
+
readonly 'font-primary'?: any;
|
|
86
|
+
readonly 'font-secondary'?: any;
|
|
87
|
+
readonly 'font-tertiary'?: any;
|
|
88
|
+
readonly 'icon-cta-idle'?: any;
|
|
89
|
+
readonly 'icon-default'?: any;
|
|
90
|
+
readonly 'icon-default-active'?: any;
|
|
91
|
+
readonly 'icon-default-disabled'?: any;
|
|
92
|
+
readonly 'icon-default-error'?: any;
|
|
93
|
+
readonly 'icon-default-hover'?: any;
|
|
94
|
+
readonly 'icon-default-idle'?: any;
|
|
95
|
+
readonly 'icon-default-selected'?: any;
|
|
162
96
|
};
|
|
163
97
|
'font-sizes': {
|
|
164
98
|
readonly 150: "0.75rem";
|
|
@@ -423,7 +357,7 @@ declare const StyledIcon: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
423
357
|
};
|
|
424
358
|
}>>> & _mirohq_design_system_stitches.CustomStylesProps, "string" | "clipPath" | "color" | "cursor" | "direction" | "display" | "filter" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "mask" | "offset" | "overflow" | "textDecoration" | "alignmentBaseline" | "baselineShift" | "clip" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "asChild" | "media" | "path" | "crossOrigin" | "href" | "max" | "method" | "min" | "name" | "size" | "target" | "type" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "end" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan" | keyof _mirohq_design_system_stitches.CustomStylesProps> & react.RefAttributes<SVGSVGElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"svg">>, {
|
|
425
359
|
size?: "small" | "medium" | "large" | undefined;
|
|
426
|
-
color?: "background-
|
|
360
|
+
color?: "background-cta-active" | "background-cta-disabled" | "background-cta-hover" | "background-cta-idle" | "background-danger-active" | "background-danger-hover" | "background-danger-idle" | "background-default-active" | "background-default-disabled" | "background-default-hover" | "background-default-idle" | "background-default-selected" | "background-default-selected-active" | "background-info-idle" | "background-primary" | "background-secondary" | "background-success-idle" | "background-warning-idle" | "border-cta-idle" | "border-default-active" | "border-default-error" | "border-default-hover" | "border-default-idle" | "border-default-selected" | "canvas-primary" | "divider-default" | "focus-ring-default" | "font-cta-idle" | "font-default-active" | "font-default-disabled" | "font-default-error" | "font-default-hover" | "font-default-idle" | "font-default-selected" | "font-default-visited" | "font-primary" | "font-secondary" | "font-tertiary" | "icon-cta-idle" | "icon-default" | "icon-default-active" | "icon-default-disabled" | "icon-default-error" | "icon-default-hover" | "icon-default-idle" | "icon-default-selected" | "black" | "blue-10" | "blue-20" | "blue-50" | "blue-60" | "blue-70" | "blue-80" | "gray-20" | "gray-30" | "gray-40" | "gray-50" | "green-70" | "indigo-20" | "indigo-30" | "indigo-50" | "indigo-70" | "indigo-90" | "pink-20" | "pink-50" | "red-10" | "red-20" | "red-30" | "red-50" | "red-60" | "transparent" | "white" | "yellow-20" | "yellow-60" | undefined;
|
|
427
361
|
}, {}>;
|
|
428
362
|
declare type StyledIconProps = ComponentPropsWithRef<typeof StyledIcon>;
|
|
429
363
|
interface IconProps extends StyledIconProps {
|
|
@@ -446,6 +380,8 @@ declare const IconArrowDownRight: ForwardRefExoticComponent<IconProps & RefAttri
|
|
|
446
380
|
|
|
447
381
|
declare const IconArrowDown: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
448
382
|
|
|
383
|
+
declare const IconArrowFatRight: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
384
|
+
|
|
449
385
|
declare const IconArrowLeft: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
450
386
|
|
|
451
387
|
declare const IconArrowRight: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
@@ -458,6 +394,8 @@ declare const IconArrowUp: ForwardRefExoticComponent<IconProps & RefAttributes<S
|
|
|
458
394
|
|
|
459
395
|
declare const IconBarThree: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
460
396
|
|
|
397
|
+
declare const IconChat: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
398
|
+
|
|
461
399
|
declare const IconCheckMark: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
462
400
|
|
|
463
401
|
declare const IconChevronDown: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
@@ -468,6 +406,10 @@ declare const IconChevronRight: ForwardRefExoticComponent<IconProps & RefAttribu
|
|
|
468
406
|
|
|
469
407
|
declare const IconChevronUp: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
470
408
|
|
|
409
|
+
declare const IconCircleMotionX: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
410
|
+
|
|
411
|
+
declare const IconCircle: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
412
|
+
|
|
471
413
|
declare const IconCog: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
472
414
|
|
|
473
415
|
declare const IconCrossCircle: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
@@ -478,12 +420,16 @@ declare const IconEnvelope: ForwardRefExoticComponent<IconProps & RefAttributes<
|
|
|
478
420
|
|
|
479
421
|
declare const IconExclamationPointCircle: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
480
422
|
|
|
423
|
+
declare const IconFunnel: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
424
|
+
|
|
481
425
|
declare const IconGlobe: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
482
426
|
|
|
483
427
|
declare const IconHouse: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
484
428
|
|
|
485
429
|
declare const IconInformationMarkCircle: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
486
430
|
|
|
431
|
+
declare const IconLineDiagonal: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
432
|
+
|
|
487
433
|
declare const IconLink: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
488
434
|
|
|
489
435
|
declare const IconLockClosed: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
@@ -492,16 +438,36 @@ declare const IconLockOpen: ForwardRefExoticComponent<IconProps & RefAttributes<
|
|
|
492
438
|
|
|
493
439
|
declare const IconMagnifyingGlass: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
494
440
|
|
|
441
|
+
declare const IconMicrophoneSlash: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
442
|
+
|
|
443
|
+
declare const IconMicrophone: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
444
|
+
|
|
495
445
|
declare const IconMinus: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
496
446
|
|
|
447
|
+
declare const IconParallelogram: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
448
|
+
|
|
449
|
+
declare const IconPauseCircle: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
450
|
+
|
|
497
451
|
declare const IconPlaceholder: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
498
452
|
|
|
453
|
+
declare const IconPlayCircle: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
454
|
+
|
|
455
|
+
declare const IconPlaybackSpeedCircle: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
456
|
+
|
|
499
457
|
declare const IconPlug: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
500
458
|
|
|
501
459
|
declare const IconPlus: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
502
460
|
|
|
503
461
|
declare const IconQuestionMarkCircle: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
504
462
|
|
|
463
|
+
declare const IconRhombus: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
464
|
+
|
|
465
|
+
declare const IconShapes: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
466
|
+
|
|
467
|
+
declare const IconSlidersX: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
468
|
+
|
|
469
|
+
declare const IconSlidersY: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
470
|
+
|
|
505
471
|
declare const IconSocialFacebook: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
506
472
|
|
|
507
473
|
declare const IconSocialInstagram: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
@@ -512,6 +478,18 @@ declare const IconSocialTwitter: ForwardRefExoticComponent<IconProps & RefAttrib
|
|
|
512
478
|
|
|
513
479
|
declare const IconSocialYoutube: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
514
480
|
|
|
481
|
+
declare const IconSpeakerCross: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
482
|
+
|
|
483
|
+
declare const IconSpeakerHigh: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
484
|
+
|
|
485
|
+
declare const IconSquareRounded: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
486
|
+
|
|
487
|
+
declare const IconSquare: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
488
|
+
|
|
489
|
+
declare const IconStopCircle: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
490
|
+
|
|
491
|
+
declare const IconTriangle: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
492
|
+
|
|
515
493
|
declare const IconUserAdd: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
516
494
|
|
|
517
495
|
declare const IconUser: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
@@ -520,4 +498,4 @@ declare const IconUsers: ForwardRefExoticComponent<IconProps & RefAttributes<SVG
|
|
|
520
498
|
|
|
521
499
|
declare const IconWallet: ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
522
500
|
|
|
523
|
-
export { IconArrowBoxOut, IconArrowDown, IconArrowDownLeft, IconArrowDownRight, IconArrowLeft, IconArrowRight, IconArrowUp, IconArrowUpLeft, IconArrowUpRight, IconBarThree, IconCheckMark, IconChevronDown, IconChevronLeft, IconChevronRight, IconChevronUp, IconCog, IconCross, IconCrossCircle, IconEnvelope, IconExclamationPointCircle, IconGlobe, IconHouse, IconInformationMarkCircle, IconLink, IconLockClosed, IconLockOpen, IconMagnifyingGlass, IconMinus, IconPlaceholder, IconPlug, IconPlus, IconProps, IconQuestionMarkCircle, IconSocialFacebook, IconSocialInstagram, IconSocialLinkedin, IconSocialTwitter, IconSocialYoutube, IconUser, IconUserAdd, IconUsers, IconWallet };
|
|
501
|
+
export { IconArrowBoxOut, IconArrowDown, IconArrowDownLeft, IconArrowDownRight, IconArrowFatRight, IconArrowLeft, IconArrowRight, IconArrowUp, IconArrowUpLeft, IconArrowUpRight, IconBarThree, IconChat, IconCheckMark, IconChevronDown, IconChevronLeft, IconChevronRight, IconChevronUp, IconCircle, IconCircleMotionX, IconCog, IconCross, IconCrossCircle, IconEnvelope, IconExclamationPointCircle, IconFunnel, IconGlobe, IconHouse, IconInformationMarkCircle, IconLineDiagonal, IconLink, IconLockClosed, IconLockOpen, IconMagnifyingGlass, IconMicrophone, IconMicrophoneSlash, IconMinus, IconParallelogram, IconPauseCircle, IconPlaceholder, IconPlayCircle, IconPlaybackSpeedCircle, IconPlug, IconPlus, IconProps, IconQuestionMarkCircle, IconRhombus, IconShapes, IconSlidersX, IconSlidersY, IconSocialFacebook, IconSocialInstagram, IconSocialLinkedin, IconSocialTwitter, IconSocialYoutube, IconSpeakerCross, IconSpeakerHigh, IconSquare, IconSquareRounded, IconStopCircle, IconTriangle, IconUser, IconUserAdd, IconUsers, IconWallet };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-icons",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"react": "^16.14 || ^17"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@mirohq/design-system-link": "^1.1.
|
|
33
|
+
"@mirohq/design-system-link": "^1.1.3",
|
|
34
34
|
"@mirohq/design-system-primitive": "^1.0.4",
|
|
35
|
-
"@mirohq/design-system-
|
|
36
|
-
"@mirohq/design-system-
|
|
35
|
+
"@mirohq/design-system-stitches": "^2.0.10",
|
|
36
|
+
"@mirohq/design-system-utils": "^0.11.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@svgr/cli": "^6.5.1",
|
package/react/arrow-down.tsx
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconArrowFatRight: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{
|
|
13
|
+
...props,
|
|
14
|
+
size,
|
|
15
|
+
viewBox: '0 0 24 24',
|
|
16
|
+
fill: 'none',
|
|
17
|
+
ref: forwardRef,
|
|
18
|
+
},
|
|
19
|
+
<g clipPath='url(#a)'>
|
|
20
|
+
<path
|
|
21
|
+
stroke='currentColor'
|
|
22
|
+
strokeWidth={2}
|
|
23
|
+
d='M11 7H3.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25H11v3.937c0 .216.257.33.418.185L21.5 12 11.418 2.878a.25.25 0 0 0-.418.185V7Z'
|
|
24
|
+
/>
|
|
25
|
+
</g>,
|
|
26
|
+
<defs>
|
|
27
|
+
<clipPath id='a'>
|
|
28
|
+
<path d='M0 0h24v24H0z' />
|
|
29
|
+
</clipPath>
|
|
30
|
+
</defs>
|
|
31
|
+
)
|
|
32
|
+
)
|
package/react/arrow-up.tsx
CHANGED
package/react/chat.tsx
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconChat: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{
|
|
13
|
+
...props,
|
|
14
|
+
size,
|
|
15
|
+
viewBox: '0 0 24 24',
|
|
16
|
+
fill: 'none',
|
|
17
|
+
ref: forwardRef,
|
|
18
|
+
},
|
|
19
|
+
<g clipPath='url(#a)'>
|
|
20
|
+
<path
|
|
21
|
+
stroke='currentColor'
|
|
22
|
+
strokeWidth={2}
|
|
23
|
+
d='m12 18.5-3.847 2.404A.1.1 0 0 1 8 20.82V18.5H5.5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h13a2 2 0 0 1 2 2v10.5a2 2 0 0 1-2 2H12Z'
|
|
24
|
+
/>
|
|
25
|
+
</g>,
|
|
26
|
+
<defs>
|
|
27
|
+
<clipPath id='a'>
|
|
28
|
+
<path d='M0 0h24v24H0z' />
|
|
29
|
+
</clipPath>
|
|
30
|
+
</defs>
|
|
31
|
+
)
|
|
32
|
+
)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconCircleMotionX: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{
|
|
13
|
+
...props,
|
|
14
|
+
size,
|
|
15
|
+
viewBox: '0 0 24 24',
|
|
16
|
+
fill: 'none',
|
|
17
|
+
ref: forwardRef,
|
|
18
|
+
},
|
|
19
|
+
<g clipPath='url(#a)'>
|
|
20
|
+
<path
|
|
21
|
+
stroke='currentColor'
|
|
22
|
+
strokeLinecap='round'
|
|
23
|
+
strokeWidth={2}
|
|
24
|
+
d='M3.5 6H5m3 0h7m0 0a6 6 0 1 0 0 12 6 6 0 0 0 0-12ZM2.5 10H9m-6 4h1m3 0h2m-5 4h10.5'
|
|
25
|
+
/>
|
|
26
|
+
</g>,
|
|
27
|
+
<defs>
|
|
28
|
+
<clipPath id='a'>
|
|
29
|
+
<path d='M0 0h24v24H0z' />
|
|
30
|
+
</clipPath>
|
|
31
|
+
</defs>
|
|
32
|
+
)
|
|
33
|
+
)
|
package/react/circle.tsx
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconCircle: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{
|
|
13
|
+
...props,
|
|
14
|
+
size,
|
|
15
|
+
viewBox: '0 0 24 24',
|
|
16
|
+
fill: 'none',
|
|
17
|
+
ref: forwardRef,
|
|
18
|
+
},
|
|
19
|
+
<g clipPath='url(#a)'>
|
|
20
|
+
<path
|
|
21
|
+
stroke='currentColor'
|
|
22
|
+
strokeWidth={2}
|
|
23
|
+
d='M20.5 12c0 4.97-3.53 8.5-8.5 8.5-4.97 0-8.5-3.53-8.5-8.5 0-4.97 3.53-8.5 8.5-8.5 4.97 0 8.5 3.53 8.5 8.5Z'
|
|
24
|
+
/>
|
|
25
|
+
</g>,
|
|
26
|
+
<defs>
|
|
27
|
+
<clipPath id='a'>
|
|
28
|
+
<path d='M0 0h24v24H0z' />
|
|
29
|
+
</clipPath>
|
|
30
|
+
</defs>
|
|
31
|
+
)
|
|
32
|
+
)
|
|
@@ -16,12 +16,12 @@ export const IconExclamationPointCircle: ForwardRefExoticComponent<
|
|
|
16
16
|
fill: 'none',
|
|
17
17
|
ref: forwardRef,
|
|
18
18
|
},
|
|
19
|
-
<circle cx={12} cy={15.5} r={1} fill='currentColor' />,
|
|
20
19
|
<path
|
|
21
20
|
stroke='currentColor'
|
|
22
21
|
strokeLinecap='round'
|
|
23
22
|
strokeWidth={2}
|
|
24
23
|
d='M12 8v4m9 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-8.5 3.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z'
|
|
25
|
-
|
|
24
|
+
/>,
|
|
25
|
+
<path fill='currentColor' d='M13 15.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z' />
|
|
26
26
|
)
|
|
27
27
|
)
|