@eleventheye/asui 1.11.2 → 2.0.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/README.md +300 -0
- package/dist/asbutton/ASButton.d.ts +1 -12
- package/dist/asbutton/ASButton.d.ts.map +1 -1
- package/dist/asbutton/ASButton.types.d.ts +14 -0
- package/dist/asbutton/ASButton.types.d.ts.map +1 -0
- package/dist/asbutton/ASButton.types.js +2 -0
- package/dist/asbutton/index.d.ts +1 -1
- package/dist/asbutton/index.d.ts.map +1 -1
- package/dist/asloader/ASLoader.types.d.ts +12 -0
- package/dist/asloader/ASLoader.types.d.ts.map +1 -0
- package/dist/asloader/ASLoader.types.js +2 -0
- package/dist/astextfield/ASTextField.d.ts +1 -11
- package/dist/astextfield/ASTextField.d.ts.map +1 -1
- package/dist/astextfield/ASTextField.types.d.ts +12 -0
- package/dist/astextfield/ASTextField.types.d.ts.map +1 -0
- package/dist/astextfield/ASTextField.types.js +2 -0
- package/dist/astextfield/index.d.ts +1 -1
- package/dist/astextfield/index.d.ts.map +1 -1
- package/dist/icons/ASIcon.d.ts +5 -0
- package/dist/icons/ASIcon.d.ts.map +1 -0
- package/dist/icons/ASIcon.js +13 -0
- package/dist/icons/AddItemIcon.d.ts.map +1 -1
- package/dist/icons/AddItemIcon.js +5 -2
- package/dist/icons/AddUserIcon.d.ts.map +1 -1
- package/dist/icons/AddUserIcon.js +5 -2
- package/dist/icons/CheckIcon.d.ts.map +1 -1
- package/dist/icons/CheckIcon.js +5 -2
- package/dist/icons/CloseIcon.d.ts.map +1 -1
- package/dist/icons/CloseIcon.js +5 -2
- package/dist/icons/DeleteIcon.d.ts.map +1 -1
- package/dist/icons/DeleteIcon.js +7 -2
- package/dist/icons/EleventheyeIcon.d.ts.map +1 -1
- package/dist/icons/EleventheyeIcon.js +7 -2
- package/dist/icons/EmailIcon.d.ts.map +1 -1
- package/dist/icons/EmailIcon.js +7 -2
- package/dist/icons/EyeIcon.d.ts.map +1 -1
- package/dist/icons/EyeIcon.js +7 -2
- package/dist/icons/EyeSlashIcon.d.ts.map +1 -1
- package/dist/icons/EyeSlashIcon.js +7 -2
- package/dist/icons/FootballIcon.d.ts.map +1 -1
- package/dist/icons/FootballIcon.js +7 -2
- package/dist/icons/GamesIcon.d.ts.map +1 -1
- package/dist/icons/GamesIcon.js +7 -2
- package/dist/icons/GearUserIcon.d.ts.map +1 -1
- package/dist/icons/GearUserIcon.js +7 -2
- package/dist/icons/HexagonIcon.d.ts.map +1 -1
- package/dist/icons/HexagonIcon.js +7 -2
- package/dist/icons/HomeIcon.d.ts.map +1 -1
- package/dist/icons/HomeIcon.js +7 -2
- package/dist/icons/Icons.types.d.ts +8 -3
- package/dist/icons/Icons.types.d.ts.map +1 -1
- package/dist/icons/LockIcon.d.ts.map +1 -1
- package/dist/icons/LockIcon.js +7 -2
- package/dist/icons/PenIcon.d.ts.map +1 -1
- package/dist/icons/PenIcon.js +7 -2
- package/dist/icons/RulerIcon.d.ts.map +1 -1
- package/dist/icons/RulerIcon.js +7 -2
- package/dist/icons/SaveIcon.d.ts.map +1 -1
- package/dist/icons/SaveIcon.js +7 -2
- package/dist/icons/SearchIcon.d.ts.map +1 -1
- package/dist/icons/SearchIcon.js +7 -2
- package/dist/icons/TimeLapseIcon.d.ts.map +1 -1
- package/dist/icons/TimeLapseIcon.js +7 -2
- package/dist/icons/UnlockIcon.d.ts.map +1 -1
- package/dist/icons/UnlockIcon.js +7 -2
- package/dist/icons/UserSettingsIcon.d.ts.map +1 -1
- package/dist/icons/UserSettingsIcon.js +7 -2
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.d.ts.map +1 -1
- package/dist/icons/index.js +4 -1
- package/dist/icons/styles.d.ts +5 -1
- package/dist/icons/styles.d.ts.map +1 -1
- package/dist/icons/styles.js +16 -7
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -1,2 +1,302 @@
|
|
|
1
1
|
# asui
|
|
2
2
|
AS React UI Library (another one!)
|
|
3
|
+
|
|
4
|
+
## Existing Components
|
|
5
|
+
|
|
6
|
+
### Icons
|
|
7
|
+
|
|
8
|
+
A small collection of `svg` icons that I tend to reuse in many of my projects.
|
|
9
|
+
|
|
10
|
+
#### Icon names
|
|
11
|
+
|
|
12
|
+
AddItemIcon,
|
|
13
|
+
AddUserIcon,
|
|
14
|
+
CheckIcon,
|
|
15
|
+
CloseIcon,
|
|
16
|
+
DeleteIcon,
|
|
17
|
+
EleventheyeIcon,
|
|
18
|
+
EmailIcon,
|
|
19
|
+
EyeIcon,
|
|
20
|
+
EyeSlashIcon,
|
|
21
|
+
FootballIcon,
|
|
22
|
+
GamesIcon,
|
|
23
|
+
GearUserIcon,
|
|
24
|
+
HexagonIcon,
|
|
25
|
+
HomeIcon,
|
|
26
|
+
IconProps,
|
|
27
|
+
LockIcon,
|
|
28
|
+
PenIcon,
|
|
29
|
+
RulerIcon,
|
|
30
|
+
SaveIcon,
|
|
31
|
+
SearchIcon,
|
|
32
|
+
TimeLapseIcon,
|
|
33
|
+
UnlockIcon,
|
|
34
|
+
UserSettingsIcon,
|
|
35
|
+
|
|
36
|
+
#### Icon definition
|
|
37
|
+
|
|
38
|
+
Each icon support a round border around itself.
|
|
39
|
+
|
|
40
|
+
When enabling the surrounding bubble, `withCircle` is set to `true`, the actual icon will automatically shrink in order to nicely fit inside of the bubble. This was done so the icon size does not change from the user defined (or default) value set via `size` prop.
|
|
41
|
+
|
|
42
|
+
```typescript
|
|
43
|
+
interface IconProps {
|
|
44
|
+
/** Additional styles for the icon
|
|
45
|
+
* @default ''
|
|
46
|
+
*/
|
|
47
|
+
className?: string;
|
|
48
|
+
|
|
49
|
+
/** Icon size
|
|
50
|
+
* @default 24 px
|
|
51
|
+
*/
|
|
52
|
+
size?: number;
|
|
53
|
+
|
|
54
|
+
/** Icon stroke color
|
|
55
|
+
* @default #000000
|
|
56
|
+
*/
|
|
57
|
+
color?: string;
|
|
58
|
+
|
|
59
|
+
/** Icon fill color
|
|
60
|
+
* @default #000000
|
|
61
|
+
*/
|
|
62
|
+
fillColor?: string;
|
|
63
|
+
|
|
64
|
+
/** Icon fill color opacity, supported values are between 0 and 1
|
|
65
|
+
* @default 1
|
|
66
|
+
*/
|
|
67
|
+
fillOpacity?: number;
|
|
68
|
+
|
|
69
|
+
/** Width of the stroke path of the icon
|
|
70
|
+
* @default 0.1
|
|
71
|
+
*/
|
|
72
|
+
strokeWidth?: number;
|
|
73
|
+
|
|
74
|
+
/** Color of the circle border around the icon
|
|
75
|
+
* @default 'transparent'
|
|
76
|
+
*/
|
|
77
|
+
circleStrokeColor?: string;
|
|
78
|
+
|
|
79
|
+
/** Width of the circle border line
|
|
80
|
+
* @default 1.5 pixels
|
|
81
|
+
*/
|
|
82
|
+
circleStrokeWidth?: number;
|
|
83
|
+
|
|
84
|
+
/** Color of the circle fill
|
|
85
|
+
* @default 'transparent'
|
|
86
|
+
*/
|
|
87
|
+
circleFillColor?: string;
|
|
88
|
+
|
|
89
|
+
/** Opacity of the circle fill color supported values are between 0 and 1
|
|
90
|
+
* @default 1
|
|
91
|
+
*/
|
|
92
|
+
circleFillOpacity?: number;
|
|
93
|
+
|
|
94
|
+
/** Boolean flag controlling the visibility of the circle/bubble around the icon
|
|
95
|
+
* @default false
|
|
96
|
+
*/
|
|
97
|
+
withCircle?: boolean;
|
|
98
|
+
|
|
99
|
+
/** Additional inline-styles for the icon
|
|
100
|
+
* @default undefined
|
|
101
|
+
*/
|
|
102
|
+
style?: React.CSSProperties;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Random props that can be passed in, but really you SHOULD NOT do that
|
|
106
|
+
*/
|
|
107
|
+
[key: string]: any; // Allow additional props if needed
|
|
108
|
+
}
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Loaders
|
|
112
|
+
|
|
113
|
+
There are three visual non-deterministic types of loaders, `loaderType`, that you can use to communicate that something is currently loading.
|
|
114
|
+
|
|
115
|
+
#### Loader definition
|
|
116
|
+
|
|
117
|
+
```typescript
|
|
118
|
+
interface ASLoaderProps {
|
|
119
|
+
className?: string;
|
|
120
|
+
|
|
121
|
+
/** Controls visibility of the `Loader` component, true - visible, false - hidden
|
|
122
|
+
*
|
|
123
|
+
* @default false
|
|
124
|
+
*
|
|
125
|
+
* @optional
|
|
126
|
+
*/
|
|
127
|
+
showLoader?: boolean;
|
|
128
|
+
|
|
129
|
+
/** Size of the button to render.
|
|
130
|
+
*
|
|
131
|
+
* @default ASComponentSize.Medium
|
|
132
|
+
* @supports `ASComponentSize.Small, ASComponentSize.Medium, ASComponentSize.Large`
|
|
133
|
+
*
|
|
134
|
+
* @optional
|
|
135
|
+
*/
|
|
136
|
+
size?: ASComponentSize;
|
|
137
|
+
|
|
138
|
+
/** Loader currently supports three visually distinct components
|
|
139
|
+
*
|
|
140
|
+
* @default LoaderType.Grow
|
|
141
|
+
* @supports `LoaderType.Grow, LoaderType.Spin, LoaderType.Dots`
|
|
142
|
+
*
|
|
143
|
+
* @optional
|
|
144
|
+
*/
|
|
145
|
+
loaderType?: LoaderType;
|
|
146
|
+
|
|
147
|
+
/** When true loader blocks any interaction with the screen by rendering a click-screen.
|
|
148
|
+
*
|
|
149
|
+
* @default false
|
|
150
|
+
*
|
|
151
|
+
* @optional
|
|
152
|
+
*/
|
|
153
|
+
isModal?: boolean;
|
|
154
|
+
|
|
155
|
+
/** Custom styles to be applied inline
|
|
156
|
+
*
|
|
157
|
+
* @default undefined
|
|
158
|
+
* @optional
|
|
159
|
+
*/
|
|
160
|
+
style?: CSSProperties;
|
|
161
|
+
|
|
162
|
+
/** Styles for the Loader applied as class styles
|
|
163
|
+
*
|
|
164
|
+
* @default ASDefaultTheme.loader
|
|
165
|
+
*
|
|
166
|
+
* @optional
|
|
167
|
+
*/
|
|
168
|
+
theme?: ASLoaderTheme;
|
|
169
|
+
}
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### Button
|
|
173
|
+
|
|
174
|
+
Gotta have a button component, amirite? :)
|
|
175
|
+
|
|
176
|
+
#### Button definition
|
|
177
|
+
|
|
178
|
+
```typescript
|
|
179
|
+
type ASButtonOwnProps = {
|
|
180
|
+
/** Custom style classes can be passed in through this prop
|
|
181
|
+
*
|
|
182
|
+
* @optional
|
|
183
|
+
*/
|
|
184
|
+
className?: string;
|
|
185
|
+
|
|
186
|
+
/** Text that appears on the button as label, could be also passed in as `children` property
|
|
187
|
+
*
|
|
188
|
+
* @optional
|
|
189
|
+
*/
|
|
190
|
+
text?: string;
|
|
191
|
+
|
|
192
|
+
/** Connected component controls, when set to true, the button renders in a `selected` state.
|
|
193
|
+
* When selected is `false` the button renders `unselected`, aka `default` state.
|
|
194
|
+
*
|
|
195
|
+
* @description Note `selected` prop takes precedence over `toggle` prop interactions.
|
|
196
|
+
* Meaning if `selected` prop is `true` and `toggle = true`, only a change to `selected`
|
|
197
|
+
* prop state will cause the button to render unselected.
|
|
198
|
+
*
|
|
199
|
+
* @optional
|
|
200
|
+
*/
|
|
201
|
+
selected?: boolean;
|
|
202
|
+
|
|
203
|
+
/** Enables `toggle` mode which causes button to behave as a two-state component with on and off functionality.
|
|
204
|
+
*
|
|
205
|
+
* @description Behavior resembles the checkbox component, clicking the button once will persist `selected` state
|
|
206
|
+
* until it is clicked again at which point it will be `unselected`
|
|
207
|
+
*
|
|
208
|
+
* @optional
|
|
209
|
+
*/
|
|
210
|
+
toggle?: boolean;
|
|
211
|
+
|
|
212
|
+
/** Size of the button to render.
|
|
213
|
+
*
|
|
214
|
+
* @default ASComponentSize.Medium
|
|
215
|
+
* @supports `ASComponentSize.Small, ASComponentSize.Medium, ASComponentSize.Large`
|
|
216
|
+
*
|
|
217
|
+
* @optional
|
|
218
|
+
*/
|
|
219
|
+
size?: ASComponentSize;
|
|
220
|
+
|
|
221
|
+
/** Styles for the button applied as class styles
|
|
222
|
+
*
|
|
223
|
+
* @optional
|
|
224
|
+
*/
|
|
225
|
+
theme?: ASTheme;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Renders the button in the loading state, interactions are disabled while the loading state is true
|
|
229
|
+
*
|
|
230
|
+
* @optional
|
|
231
|
+
*/
|
|
232
|
+
paddingSize?: ASPaddingSize;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Renders the button in the loading state, interactions are disabled while the loading state is true
|
|
236
|
+
*
|
|
237
|
+
* @optional
|
|
238
|
+
*/
|
|
239
|
+
isLoading?: boolean;
|
|
240
|
+
} & Pick<React.HTMLProps<HTMLDivElement>, 'style' | 'onClick' | 'id' | 'disabled'>;
|
|
241
|
+
|
|
242
|
+
export type ASButtonProps = React.PropsWithChildren<ASButtonOwnProps>;
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
### TextField Component
|
|
246
|
+
|
|
247
|
+
Another one of those components that is needed everywhere...
|
|
248
|
+
|
|
249
|
+
#### TextField definition
|
|
250
|
+
|
|
251
|
+
```typescript
|
|
252
|
+
export type ASTextFieldProps = {
|
|
253
|
+
/** Custom style classes can be passed in through this prop
|
|
254
|
+
*
|
|
255
|
+
* @optional
|
|
256
|
+
*/
|
|
257
|
+
className?: string;
|
|
258
|
+
|
|
259
|
+
/** Styles for the button applied as class styles
|
|
260
|
+
*
|
|
261
|
+
* @optional
|
|
262
|
+
*/
|
|
263
|
+
theme?: typeof ASThemeDefault;
|
|
264
|
+
|
|
265
|
+
/** Value of the `textfield`
|
|
266
|
+
*
|
|
267
|
+
* @optional
|
|
268
|
+
*/
|
|
269
|
+
value?: string;
|
|
270
|
+
|
|
271
|
+
/** Handler that is called whenever the value of the `textfield` changes
|
|
272
|
+
*
|
|
273
|
+
* @optional
|
|
274
|
+
*/
|
|
275
|
+
onChange?: (value: string) => void;
|
|
276
|
+
|
|
277
|
+
/** Size of the textfield to render.
|
|
278
|
+
*
|
|
279
|
+
* @default ASComponentSize.Medium
|
|
280
|
+
* @supports `ASComponentSize.Small, ASComponentSize.Medium, ASComponentSize.Large`
|
|
281
|
+
*
|
|
282
|
+
* @optional
|
|
283
|
+
*/
|
|
284
|
+
size?: ASComponentSize;
|
|
285
|
+
|
|
286
|
+
/** Flag to display or hide the clear _value_ button. Appears on the right of the text input
|
|
287
|
+
*
|
|
288
|
+
* @default false
|
|
289
|
+
* @optional
|
|
290
|
+
*/
|
|
291
|
+
showClearButton?: boolean;
|
|
292
|
+
|
|
293
|
+
/** Flag to display a search icon when textfield type is `search` or whenever you want to display it.
|
|
294
|
+
* This icon appears automatically when type of the textfield is `search`.
|
|
295
|
+
*
|
|
296
|
+
* @default false
|
|
297
|
+
* @optional
|
|
298
|
+
*/
|
|
299
|
+
showSearchIcon?: boolean;
|
|
300
|
+
} & Pick<React.HTMLProps<HTMLInputElement>, 'style' | 'type' | 'placeholder' | 'id' | 'onBlur' | 'onFocus'>;
|
|
301
|
+
```
|
|
302
|
+
|
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
type ASButtonOwnProps = {
|
|
4
|
-
className?: string;
|
|
5
|
-
text?: string;
|
|
6
|
-
selected?: boolean;
|
|
7
|
-
toggle?: boolean;
|
|
8
|
-
size?: ASComponentSize;
|
|
9
|
-
theme?: ASTheme;
|
|
10
|
-
paddingSize?: ASPaddingSize;
|
|
11
|
-
isLoading?: boolean;
|
|
12
|
-
} & Pick<React.HTMLProps<HTMLDivElement>, 'style' | 'onClick' | 'id' | 'disabled'>;
|
|
13
|
-
export type ASButtonProps = React.PropsWithChildren<ASButtonOwnProps>;
|
|
2
|
+
import { ASButtonProps } from './ASButton.types';
|
|
14
3
|
declare const ASButton: React.FC<ASButtonProps>;
|
|
15
4
|
export default ASButton;
|
|
16
5
|
//# sourceMappingURL=ASButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ASButton.d.ts","sourceRoot":"","sources":["../../src/asbutton/ASButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ASButton.d.ts","sourceRoot":"","sources":["../../src/asbutton/ASButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAM/D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA8DrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ASComponentSize, ASPaddingSize, ASTheme } from '../apptypes/ASUI.types';
|
|
2
|
+
type ASButtonOwnProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
text?: string;
|
|
5
|
+
selected?: boolean;
|
|
6
|
+
toggle?: boolean;
|
|
7
|
+
size?: ASComponentSize;
|
|
8
|
+
theme?: ASTheme;
|
|
9
|
+
paddingSize?: ASPaddingSize;
|
|
10
|
+
isLoading?: boolean;
|
|
11
|
+
} & Pick<React.HTMLProps<HTMLDivElement>, 'style' | 'onClick' | 'id' | 'disabled'>;
|
|
12
|
+
export type ASButtonProps = React.PropsWithChildren<ASButtonOwnProps>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=ASButton.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ASButton.types.d.ts","sourceRoot":"","sources":["../../src/asbutton/ASButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjF,KAAK,gBAAgB,GAAG;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,IAAI,CAAC,EAAE,MAAM,CAAC;IAWd,QAAQ,CAAC,EAAE,OAAO,CAAC;IASnB,MAAM,CAAC,EAAE,OAAO,CAAC;IASjB,IAAI,CAAC,EAAE,eAAe,CAAC;IAMvB,KAAK,CAAC,EAAE,OAAO,CAAC;IAOhB,WAAW,CAAC,EAAE,aAAa,CAAC;IAO5B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,GAAG,UAAU,CAAC,CAAC;AAEnF,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC"}
|
package/dist/asbutton/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/asbutton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/asbutton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { ASComponentSize, ASLoaderTheme, LoaderType } from '../apptypes/ASUI.types';
|
|
3
|
+
export interface ASLoaderProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
showLoader?: boolean;
|
|
6
|
+
size?: ASComponentSize;
|
|
7
|
+
loaderType?: LoaderType;
|
|
8
|
+
isModal?: boolean;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
theme?: ASLoaderTheme;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=ASLoader.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ASLoader.types.d.ts","sourceRoot":"","sources":["../../src/asloader/ASLoader.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpF,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IAQnB,UAAU,CAAC,EAAE,OAAO,CAAC;IASrB,IAAI,CAAC,EAAE,eAAe,CAAC;IASvB,UAAU,CAAC,EAAE,UAAU,CAAC;IAQxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAOlB,KAAK,CAAC,EAAE,aAAa,CAAC;IAQtB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB"}
|
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import ASThemeDefault from '../astheme/ASThemeDefault';
|
|
4
|
-
export type ASTextFieldProps = {
|
|
5
|
-
className?: string;
|
|
6
|
-
theme?: typeof ASThemeDefault;
|
|
7
|
-
value: string;
|
|
8
|
-
onChange?: (value: string) => void;
|
|
9
|
-
size?: ASComponentSize;
|
|
10
|
-
showClearButton?: boolean;
|
|
11
|
-
showSearchIcon?: boolean;
|
|
12
|
-
} & Pick<React.HTMLProps<HTMLInputElement>, 'style' | 'type' | 'placeholder' | 'id' | 'onBlur' | 'onFocus'>;
|
|
2
|
+
import { ASTextFieldProps } from './ASTextField.types';
|
|
13
3
|
declare const ASTextField: React.FC<ASTextFieldProps>;
|
|
14
4
|
export default ASTextField;
|
|
15
5
|
//# sourceMappingURL=ASTextField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ASTextField.d.ts","sourceRoot":"","sources":["../../src/astextfield/ASTextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ASTextField.d.ts","sourceRoot":"","sources":["../../src/astextfield/ASTextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAKtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAUvD,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA4G3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ASComponentSize } from '../apptypes/ASUI.types';
|
|
2
|
+
import ASThemeDefault from '../astheme';
|
|
3
|
+
export type ASTextFieldProps = {
|
|
4
|
+
className?: string;
|
|
5
|
+
theme?: typeof ASThemeDefault;
|
|
6
|
+
value?: string;
|
|
7
|
+
onChange?: (value: string) => void;
|
|
8
|
+
size?: ASComponentSize;
|
|
9
|
+
showClearButton?: boolean;
|
|
10
|
+
showSearchIcon?: boolean;
|
|
11
|
+
} & Pick<React.HTMLProps<HTMLInputElement>, 'style' | 'type' | 'placeholder' | 'id' | 'onBlur' | 'onFocus'>;
|
|
12
|
+
//# sourceMappingURL=ASTextField.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ASTextField.types.d.ts","sourceRoot":"","sources":["../../src/astextfield/ASTextField.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,cAAc,MAAM,YAAY,CAAC;AAExC,MAAM,MAAM,gBAAgB,GAAG;IAK7B,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,KAAK,CAAC,EAAE,OAAO,cAAc,CAAC;IAM9B,KAAK,CAAC,EAAE,MAAM,CAAC;IAMf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IASnC,IAAI,CAAC,EAAE,eAAe,CAAC;IAOvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAQ1B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,aAAa,GAAG,IAAI,GAAG,QAAQ,GAAG,SAAS,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/astextfield/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,YAAY,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/astextfield/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ASIcon.d.ts","sourceRoot":"","sources":["../../src/icons/ASIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAwB1C,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAqBlD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
+
const styles_1 = require("./styles");
|
|
7
|
+
const CircleSvg = ({ size = 24, circleStrokeWidth = 1.5, circleFillColor = 'transparent', circleStrokeColor = '#fffff0', circleFillOpacity = 1, withCircle = false, }) => ((0, jsx_runtime_1.jsx)(styles_1.IconCircle, { width: size, height: size, viewBox: "0 0 24 24", fill: "transparent", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("circle", { fill: withCircle ? circleFillColor : 'none', fillOpacity: circleFillOpacity, cx: "12", cy: "12", r: "10.5", stroke: withCircle ? circleStrokeColor : 'transparent', strokeWidth: `${circleStrokeWidth}px` }) }));
|
|
8
|
+
const ASIcon = ({ className = '', size = 24, color = '#fffff0', fillColor = 'transparent', fillOpacity = 1, circleStrokeColor = '#fffff0', withCircle = false, children, ...props }) => {
|
|
9
|
+
return ((0, jsx_runtime_1.jsxs)(styles_1.IconWrapper, { className: className, children: [(0, jsx_runtime_1.jsx)(CircleSvg, { size: size, circleStrokeColor, withCircle, ...props }), react_1.default.Children.map(children, (child) => react_1.default.isValidElement(child)
|
|
10
|
+
? react_1.default.cloneElement(child, { size, color, fillColor, withCircle, fillOpacity, ...props })
|
|
11
|
+
: child)] }));
|
|
12
|
+
};
|
|
13
|
+
exports.default = ASIcon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddItemIcon.d.ts","sourceRoot":"","sources":["../../src/icons/AddItemIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AddItemIcon.d.ts","sourceRoot":"","sources":["../../src/icons/AddItemIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAsB1C,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAMpC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
3
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const ASIcon_1 = tslib_1.__importDefault(require("./ASIcon"));
|
|
4
6
|
const styles_1 = require("./styles");
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
+
const AddItemSvg = ({ size = 24, color = '#000000', strokeWidth = 0.1, fillColor = '#000000', fillOpacity = 1, withCircle = false, }) => ((0, jsx_runtime_1.jsx)(styles_1.TopIcon, { "$withCircle": withCircle, width: size, height: size, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: (0, jsx_runtime_1.jsx)("path", { d: "M9.8 18.7V16.5H7.7V14.3h2.2V12.1h2.2v2.2h2.2v2.2H12.1v2.2H9.8ZM5.5 1.1c-1.8 0-3.3 1.5-3.3 3.3V19.8c0 1.8 1.5 3.3 3.3 3.3h13.2c1.8 0 3.3-1.5 3.3-3.3V8.8c0-4.3-3.4-7.7-7.7-7.7H5.5Zm0 2.2h7.7V8.8h6.6v11c0 .6-.5 1.1-1.1 1.1H5.5c-.6 0-1.1-.5-1.1-1.1V4.4c0-.6.5-1.1 1.1-1.1Zm9.9.1c1.8.4 3.2 1.6 3.9 3.2H15.4V3.4Z", stroke: color, strokeWidth: strokeWidth, fill: fillColor, fillOpacity: fillOpacity }) }));
|
|
8
|
+
const AddItemIcon = ({ ...props }) => {
|
|
9
|
+
return ((0, jsx_runtime_1.jsx)(ASIcon_1.default, { ...props, children: (0, jsx_runtime_1.jsx)(AddItemSvg, {}) }));
|
|
7
10
|
};
|
|
8
11
|
exports.default = AddItemIcon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddUserIcon.d.ts","sourceRoot":"","sources":["../../src/icons/AddUserIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AddUserIcon.d.ts","sourceRoot":"","sources":["../../src/icons/AddUserIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAuB1C,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAMpC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
3
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const ASIcon_1 = tslib_1.__importDefault(require("./ASIcon"));
|
|
4
6
|
const styles_1 = require("./styles");
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
+
const AddUseSvg = ({ size = 24, color = '#000000', strokeWidth = 0.1, fillColor = '#000000', fillOpacity = 1, withCircle = false, }) => ((0, jsx_runtime_1.jsx)(styles_1.TopIcon, { "$withCircle": withCircle, width: size, height: size, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: (0, jsx_runtime_1.jsx)("path", { d: "M7.8 10.9c2.4 0 4.3-1.9 4.3-4.3s-1.9-4.3-4.3-4.3-4.3 1.9-4.3 4.3 1.9 4.3 4.3 4.3Zm0-2.2c1.2 0 2.2-1 2.2-2.2s-1-2.2-2.2-2.2-2.2 1-2.2 2.2 1 2.2 2.2 2.2Zm3.2 5.4c.6 0 1.1.5 1.1 1.1v6.5h2.2v-6.5c0-1.8-1.5-3.2-3.2-3.2H4.6c-1.8 0-3.2 1.4-3.2 3.2v6.5H3.5v-6.5c0-.6.5-1.1 1.1-1.1h6.5Zm7.6-7.5h2.2v2.2H23V11H20.8v2.2H18.6V11H16.5V8.7h2.2V6.6Z", stroke: color, strokeWidth: strokeWidth, fill: fillColor, fillOpacity: fillOpacity, fillRule: "evenodd" }) }));
|
|
8
|
+
const AddUserIcon = ({ ...props }) => {
|
|
9
|
+
return ((0, jsx_runtime_1.jsx)(ASIcon_1.default, { ...props, children: (0, jsx_runtime_1.jsx)(AddUseSvg, {}) }));
|
|
7
10
|
};
|
|
8
11
|
exports.default = AddUserIcon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckIcon.d.ts","sourceRoot":"","sources":["../../src/icons/CheckIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CheckIcon.d.ts","sourceRoot":"","sources":["../../src/icons/CheckIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAsB1C,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAMlC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/dist/icons/CheckIcon.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
3
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const ASIcon_1 = tslib_1.__importDefault(require("./ASIcon"));
|
|
4
6
|
const styles_1 = require("./styles");
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
+
const CheckIconSvg = ({ size = 24, color = '#000000', strokeWidth = 0.1, fillColor = '#000000', fillOpacity = 1, withCircle = false, }) => ((0, jsx_runtime_1.jsx)(styles_1.TopIcon, { "$withCircle": withCircle, width: size, height: size, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: (0, jsx_runtime_1.jsx)("path", { d: "M9.3 20.6 1.5 12.9a1.9 1.8 0 012.6-2.6l5.2 5.2L19.9 5a1.9 1.8 0 012.6 2.6L9.3 20.6Z", stroke: color, strokeWidth: strokeWidth, fill: fillColor, fillOpacity: fillOpacity }) }));
|
|
8
|
+
const CheckIcon = ({ ...props }) => {
|
|
9
|
+
return ((0, jsx_runtime_1.jsx)(ASIcon_1.default, { ...props, children: (0, jsx_runtime_1.jsx)(CheckIconSvg, {}) }));
|
|
7
10
|
};
|
|
8
11
|
exports.default = CheckIcon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloseIcon.d.ts","sourceRoot":"","sources":["../../src/icons/CloseIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CloseIcon.d.ts","sourceRoot":"","sources":["../../src/icons/CloseIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAsB1C,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAMlC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/dist/icons/CloseIcon.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
3
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const ASIcon_1 = tslib_1.__importDefault(require("./ASIcon"));
|
|
4
6
|
const styles_1 = require("./styles");
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
+
const CloseIconSvg = ({ size = 24, color = '#000000', strokeWidth = 0.01, fillColor = '#000000', fillOpacity = 1, withCircle = false, }) => ((0, jsx_runtime_1.jsx)(styles_1.TopIcon, { "$withCircle": withCircle, width: size, height: size, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: (0, jsx_runtime_1.jsx)("path", { d: "M21.9 5.7c.9-.9.9-2.4 0-3.3-.9-.9-2.4-.9-3.3 0L12.1 8.9 5.6 2.4c-.9-.9-2.4-.9-3.3 0-.9.9-.9 2.4 0 3.3l6.5 6.5-6.5 6.5c-.9.9-.9 2.4 0 3.3.9.9 2.4.9 3.3 0l6.5-6.5L18.6 22c.9.9 2.4.9 3.3 0 .9-.9.9-2.3 0-3.3l-6.5-6.5 6.5-6.5Z", stroke: color, strokeWidth: strokeWidth, fill: fillColor, fillOpacity: fillOpacity }) }));
|
|
8
|
+
const CloseIcon = ({ ...props }) => {
|
|
9
|
+
return ((0, jsx_runtime_1.jsx)(ASIcon_1.default, { ...props, children: (0, jsx_runtime_1.jsx)(CloseIconSvg, {}) }));
|
|
7
10
|
};
|
|
8
11
|
exports.default = CloseIcon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteIcon.d.ts","sourceRoot":"","sources":["../../src/icons/DeleteIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DeleteIcon.d.ts","sourceRoot":"","sources":["../../src/icons/DeleteIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAyB1C,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAMnC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/dist/icons/DeleteIcon.js
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
3
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const ASIcon_1 = tslib_1.__importDefault(require("./ASIcon"));
|
|
4
6
|
const styles_1 = require("./styles");
|
|
5
|
-
const
|
|
6
|
-
return ((0, jsx_runtime_1.jsx)(styles_1.
|
|
7
|
+
const DeleteIconSvg = ({ size = 24, color = '#000000', strokeWidth = 0.1, fillColor = '#000000', fillOpacity = 1, withCircle = false, }) => {
|
|
8
|
+
return ((0, jsx_runtime_1.jsx)(styles_1.TopIcon, { "$withCircle": withCircle, width: size, height: size, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: (0, jsx_runtime_1.jsx)("path", { d: "M17.8 4.6V3.5c0-1.3-1-2.3-2.3-2.3H8.6c-1.3 0-2.3 1-2.3 2.3v1.1H2.8c-.7 0-1.2.5-1.2 1.1s.5 1.1 1.2 1.1H4v12.6c0 2 1.5 3.4 3.5 3.4h9.2c2 0 3.5-1.5 3.5-3.4V6.9h1.2c.7 0 1.2-.5 1.2-1.1s-.5-1.1-1.2-1.1H17.8Zm-2.3-1.1H8.6v1.1h6.9V3.5Zm2.3 3.4H6.3v12.6c0 .7.5 1.1 1.2 1.1h9.2c.7 0 1.2-.5 1.2-1.1V6.9ZM8.6 9.2h2.3v9.2H8.6V9.2Zm4.6 0h2.3v9.2H13.2V9.2Z", stroke: color, strokeWidth: strokeWidth, fill: fillColor, fillOpacity: fillOpacity, fillRule: "evenodd" }) }));
|
|
9
|
+
};
|
|
10
|
+
const DeleteIcon = ({ ...props }) => {
|
|
11
|
+
return ((0, jsx_runtime_1.jsx)(ASIcon_1.default, { ...props, children: (0, jsx_runtime_1.jsx)(DeleteIconSvg, {}) }));
|
|
7
12
|
};
|
|
8
13
|
exports.default = DeleteIcon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EleventheyeIcon.d.ts","sourceRoot":"","sources":["../../src/icons/EleventheyeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"EleventheyeIcon.d.ts","sourceRoot":"","sources":["../../src/icons/EleventheyeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAwB1C,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAMxC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
3
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const ASIcon_1 = tslib_1.__importDefault(require("./ASIcon"));
|
|
4
6
|
const styles_1 = require("./styles");
|
|
5
|
-
const
|
|
6
|
-
return ((0, jsx_runtime_1.jsx)(styles_1.
|
|
7
|
+
const EleventheyeIconSvg = ({ size = 24, color = '#FFFFFF', strokeWidth = 0.1, fillColor = '#0E82C9', fillOpacity = 1, withCircle = false, }) => {
|
|
8
|
+
return ((0, jsx_runtime_1.jsx)(styles_1.TopIcon, { "$withCircle": withCircle, width: size, height: size, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: (0, jsx_runtime_1.jsx)("path", { d: "M12.91 22.8c-.16-.05-1.56-.94-3.14-1.96-1.56-1.02-2.91-1.88-2.99-1.91s-.54.21-1.1.57c-2.21 1.45-3.68 1.32-4.46-.38-.6-1.32-.09-2.31 1.85-3.57l1.23-.8.03-4.06s-.02-3.68.1-4.05c.12-.38.13-.32.31-.58.19-.27.44-.75 4.18-2.91 5.02-2.89 4.09-2.89 9.26.03 4.45 2.5 4.57 2.62 4.57 3.97 0 1.46.79.85-10.78 8.3-1.04.67-1.22.41 1.33 2.04l.49.32 2.11-1.22 2.11-1.22.06-1.15c.12-2.4 1.5-3.5 3.38-2.87 1.11.38 1.35 1.03 1.33 5.34l-.01 1.41-4.03 2.33c-4.62 2.66-4.81 2.74-5.82 2.39zm1.4-.4c.19-.07 2.08-1.13 4.21-2.36l3.86-2.24v-2.36c0-2.89-.4-3.54-1.46-3.78-1.26-.28-2.48.69-2.48 2.88v1.01l-2.29 1.32c-1.26.72-2.34 1.32-2.4 1.32-.28 0-3.39-2.15-3.27-2.26.07-.06.62-.43 1.23-.81 10.55-6.7 10.67-6.78 10.66-7.93-.01-1.17-.11-1.25-4.18-3.54C12.97.7 14.06.78 9.12 3.53c-1.66.93-2.64 1.52-3.28 2.01-1.54 1.05-1.02 1.38-1.13 5.37l-.03 4.08-1.32.86c-1.93 1.28-2.35 2.03-1.73 3.22.7 1.37 1.81 1.4 3.82.1.65-.43 1.24-.75 1.3-.73s1.42.89 3.03 1.94c3.49 2.27 3.65 2.34 4.52 2.03zm-2.08-1.15c-.52-.34-1.99-1.28-3.25-2.1l-2.29-1.5-1.34.86c-2.04 1.32-2.59 1.66-3.3.4-.63-1.17-.01-1.58 1.73-2.71l1.44-.92.05-4.25s-.03-3.99.05-4.24c.07-.25.29-.4.29-.4.4-.56 7.02-4.41 7.72-4.48.59-.07.61-.06 4.36 2.04 4.28 2.4 4.11 2.28 4.11 3.18 0 .84-.65 1.32-10.3 7.44-2.6 1.65-2.6 1.21.03 2.9l2.21 1.42 2.63-1.51 2.63-1.51.04-1.35c.05-1.83.37-2.36 1.42-2.36 1.19 0 1.38.45 1.34 3.17l-.03 2.16-3.79 2.19c-4.56 2.63-4.22 2.53-5.72 1.57zm-.83-9.95c1.78-1.15 3.91-2.52 4.72-3.05 1.8-1.16 1.86-.92-.56-2.29L13.52 4.83 11.39 6.06c-1.18.68-2.41 1.39-2.73 1.57l-.6.35v2.71c0 1.49.02 2.71.04 2.71s1.5-.94 3.29-2.1zm-2.76-.9V8.35l2.44-1.42 2.46-1.41 1.47.82c.81.46 1.5.86 1.54.9s-1.66 1.19-3.79 2.55-3.92 2.52-3.99 2.57c-.1.07-.12-.34-.12-1.97zm2.53-.07c1.14-.73 2.66-1.71 3.38-2.17 1.16-.74 1.29-.85 1.14-.95-.46-.31-2.16-1.22-2.23-1.19-.05.01-1.06.58-2.26 1.28L9.02 8.55v1.56c0 .86.02 1.56.04 1.56s.97-.6 2.11-1.34z", stroke: color, strokeWidth: strokeWidth, fill: fillColor, fillOpacity: fillOpacity }) }));
|
|
9
|
+
};
|
|
10
|
+
const EleventheyeIcon = ({ ...props }) => {
|
|
11
|
+
return ((0, jsx_runtime_1.jsx)(ASIcon_1.default, { ...props, children: (0, jsx_runtime_1.jsx)(EleventheyeIconSvg, {}) }));
|
|
7
12
|
};
|
|
8
13
|
exports.default = EleventheyeIcon;
|