@fibery/ui-kit 1.5.0 → 1.7.1
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/index.ts +0 -1
- package/package.json +38 -24
- package/src/Button/AddButton.tsx +13 -0
- package/src/{BackButton.tsx → Button/BackButton.tsx} +3 -4
- package/src/Button/button-base.tsx +190 -0
- package/src/Button/button-group.tsx +76 -0
- package/src/Button/button.tsx +242 -0
- package/src/Button/icon-button-with-tooltip.tsx +15 -0
- package/src/Button/icon-button.tsx +42 -0
- package/src/Item.tsx +5 -2
- package/src/Pallete.ts +191 -191
- package/src/Select/components.tsx +22 -21
- package/src/Select/index.tsx +60 -25
- package/src/Select/select-control-settings-context.tsx +20 -0
- package/src/Select/select-in-popover.tsx +333 -0
- package/src/Select/styles.ts +27 -1
- package/src/ThemeProvider.tsx +1 -1
- package/src/antd/styles.ts +3 -3
- package/src/designSystem.ts +80 -63
- package/src/error-alert.tsx +2 -2
- package/src/icons/Icon.tsx +17 -12
- package/src/icons/ast/AddGroup.ts +8 -0
- package/src/icons/ast/AiAssistant.ts +8 -0
- package/src/icons/ast/AiAvatar.ts +8 -0
- package/src/icons/ast/ArrowBottom.ts +3 -27
- package/src/icons/ast/ArrowCollapse.ts +3 -27
- package/src/icons/ast/ArrowCollapseVertical.ts +3 -27
- package/src/icons/ast/ArrowLeft.ts +3 -27
- package/src/icons/ast/ArrowRight.ts +3 -27
- package/src/icons/ast/ArrowTop.ts +3 -27
- package/src/icons/ast/Atom.ts +8 -0
- package/src/icons/ast/Copy.ts +8 -0
- package/src/icons/ast/DynamicFilterValue.ts +8 -0
- package/src/icons/ast/ExtensionAssignments.ts +3 -35
- package/src/icons/ast/FileUpload.ts +8 -0
- package/src/icons/ast/FormWithCover.ts +8 -0
- package/src/icons/ast/FormWithoutCover.ts +8 -0
- package/src/icons/ast/Github.ts +3 -27
- package/src/icons/ast/Gitlab.ts +3 -25
- package/src/icons/ast/Hint.ts +1 -1
- package/src/icons/ast/Jira.ts +8 -0
- package/src/icons/ast/Markdown.ts +8 -0
- package/src/icons/ast/Minus.ts +3 -23
- package/src/icons/ast/MoreCompact.ts +1 -1
- package/src/icons/ast/RicheditorBlockFile.ts +8 -0
- package/src/icons/ast/RicheditorBlockH4.ts +1 -1
- package/src/icons/ast/SimpleCompass.ts +8 -0
- package/src/icons/ast/Templates.ts +8 -0
- package/src/icons/ast/TypeLocation.ts +8 -0
- package/src/icons/ast/ViewForm.ts +3 -25
- package/src/icons/ast/ViewMap.ts +8 -0
- package/src/icons/ast/index.tsx +199 -182
- package/src/icons/react/AddGroup.tsx +12 -0
- package/src/icons/react/AiAssistant.tsx +12 -0
- package/src/icons/react/AiAvatar.tsx +12 -0
- package/src/icons/react/Atom.tsx +12 -0
- package/src/icons/react/Copy.tsx +12 -0
- package/src/icons/react/DynamicFilterValue.tsx +12 -0
- package/src/icons/react/FileUpload.tsx +12 -0
- package/src/icons/react/FormWithCover.tsx +12 -0
- package/src/icons/react/FormWithoutCover.tsx +12 -0
- package/src/icons/react/Github.tsx +8 -6
- package/src/icons/react/Gitlab.tsx +8 -6
- package/src/icons/react/Jira.tsx +12 -0
- package/src/icons/react/Markdown.tsx +12 -0
- package/src/icons/react/Minus.tsx +8 -6
- package/src/icons/react/RicheditorBlockFile.tsx +12 -0
- package/src/icons/react/SimpleCompass.tsx +12 -0
- package/src/icons/react/Templates.tsx +12 -0
- package/src/icons/react/TypeLocation.tsx +12 -0
- package/src/icons/react/ViewForm.tsx +8 -6
- package/src/icons/react/ViewMap.tsx +12 -0
- package/src/icons/react/index.tsx +199 -182
- package/src/tooltip.tsx +132 -152
- package/src/Button.d.ts +0 -28
- package/src/Button.js +0 -360
- package/src/antd/ant-tooltip.tsx +0 -5
- package/src/icons/IconAsBackground.tsx +0 -15
package/src/designSystem.ts
CHANGED
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
indigoDark,
|
|
11
11
|
red,
|
|
12
12
|
redDark,
|
|
13
|
-
sage,
|
|
14
13
|
slate,
|
|
15
14
|
slateDark,
|
|
16
15
|
whiteA,
|
|
@@ -31,18 +30,6 @@ export const fontWeight = {
|
|
|
31
30
|
const transparent = "rgba(255, 255, 255, 0)";
|
|
32
31
|
|
|
33
32
|
export const opacity = {
|
|
34
|
-
opaque: 1,
|
|
35
|
-
overlay: 0.9,
|
|
36
|
-
tiny: 0.8,
|
|
37
|
-
tiniest: 0.7,
|
|
38
|
-
half: 0.5,
|
|
39
|
-
regular: 0.4,
|
|
40
|
-
light: 0.25,
|
|
41
|
-
notSoThin: 0.14,
|
|
42
|
-
thin: 0.1,
|
|
43
|
-
thinner: 0.07,
|
|
44
|
-
hairline: 0.04,
|
|
45
|
-
transparent: 0,
|
|
46
33
|
opacity100: 1,
|
|
47
34
|
opacity95: 0.95,
|
|
48
35
|
opacity90: 0.9,
|
|
@@ -96,7 +83,7 @@ export const inversedSeparators = {
|
|
|
96
83
|
} as const;
|
|
97
84
|
|
|
98
85
|
export const fontFamily =
|
|
99
|
-
"-apple-system, BlinkMacSystemFont, 'Segoe UI', '
|
|
86
|
+
"ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica', 'Arial', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'";
|
|
100
87
|
|
|
101
88
|
const stateColors = {
|
|
102
89
|
success: "rgba(8, 189, 159, 1)",
|
|
@@ -120,19 +107,24 @@ const lightColors = {
|
|
|
120
107
|
mode: "light",
|
|
121
108
|
brandColors,
|
|
122
109
|
stateColors,
|
|
123
|
-
//light theme
|
|
124
110
|
whiteColor: whiteA.whiteA0,
|
|
125
111
|
blackColor: blackA.blackA0,
|
|
126
|
-
mainBg:
|
|
112
|
+
mainBg: slate.slate2,
|
|
127
113
|
panelBg: whiteA.whiteA0,
|
|
128
|
-
panelContentBg:
|
|
114
|
+
panelContentBg: slate.slate2,
|
|
129
115
|
pageBg: whiteA.whiteA0,
|
|
130
116
|
pageContentBg: whiteA.whiteA0,
|
|
131
117
|
sidebarBg: whiteA.whiteA0,
|
|
132
118
|
sidebarShadow: `-3px 0px 10px 0px ${getOpacities(slate.slate10).opacity10}`,
|
|
133
|
-
menuBg:
|
|
119
|
+
menuBg: slate.slate2,
|
|
120
|
+
menuTextColor: slate.slate12,
|
|
121
|
+
menuItemHoverColor: slate.slate4,
|
|
122
|
+
menuItemSettingsHoverBg: slate.slate5,
|
|
123
|
+
menuSelectedTextColor: slate.slate2,
|
|
134
124
|
menuFooterColor: getOpacities(whiteA.whiteA0).opacity20,
|
|
135
|
-
menuFooterHoverColor: getOpacities(whiteA.whiteA0).
|
|
125
|
+
menuFooterHoverColor: getOpacities(whiteA.whiteA0).opacity60,
|
|
126
|
+
menuIconColor: getOpacities(slate.slate10).opacity90,
|
|
127
|
+
menuSelectedIconColor: getOpacities(slate.slate1).opacity90,
|
|
136
128
|
textColor: slateDark.slate3,
|
|
137
129
|
textSelectionColor: getOpacities(blue.blue10).opacity20,
|
|
138
130
|
accentTextColor: slate.slate10,
|
|
@@ -143,15 +135,15 @@ const lightColors = {
|
|
|
143
135
|
linkHoverColor: indigo.indigo10,
|
|
144
136
|
linkBorderHover: `1px solid ${getOpacities(indigo.indigo10).opacity80}`,
|
|
145
137
|
codeColor: red.red9,
|
|
146
|
-
codeBgColor:
|
|
147
|
-
codeBlockBgColor:
|
|
138
|
+
codeBgColor: slate.slate3,
|
|
139
|
+
codeBlockBgColor: slate.slate3,
|
|
148
140
|
entityNodeColor: slateDark.slate3,
|
|
149
141
|
entityNodeBorder: `1px solid ${getOpacities(slateDark.slate3).opacity30}`,
|
|
150
142
|
entityNodeHoverColor: slateDark.slate7,
|
|
151
143
|
entityNodeBorderHover: `1px solid ${getOpacities(slate.slate11).opacity80}`,
|
|
152
144
|
entityNodeBgColor: slate.slate2,
|
|
153
|
-
shortcutTextColor: slate.
|
|
154
|
-
shortcutBorderColor: `1px solid ${getOpacities(slate.slate8).
|
|
145
|
+
shortcutTextColor: slate.slate9,
|
|
146
|
+
shortcutBorderColor: `1px solid ${getOpacities(slate.slate8).opacity50}`,
|
|
155
147
|
inputBgColor: whiteA.whiteA0,
|
|
156
148
|
inputDisabledBgColor: getOpacities(slate.slate6).opacity30,
|
|
157
149
|
inputDisabledBorderColor: `0 0 0 1px ${getOpacities(slate.slate6).opacity20}`,
|
|
@@ -164,15 +156,13 @@ const lightColors = {
|
|
|
164
156
|
buttonColor: slate.slate10,
|
|
165
157
|
buttonPrimaryTextColor: slate.slate2,
|
|
166
158
|
checkboxColor: slate.slate10,
|
|
167
|
-
menuTextColor: slate.slate12,
|
|
168
|
-
selectedMenuTextColor: slate.slate2,
|
|
169
159
|
actionMenuBg: whiteA.whiteA0,
|
|
170
160
|
actionMenuInnerBg: whiteA.whiteA0,
|
|
171
161
|
actionMenuShadow: `0 0 0 1px ${getOpacities(slate.slate10).opacity10}, 0 12px 16px -4px ${
|
|
172
162
|
getOpacities(slate.slate10).opacity30
|
|
173
163
|
}`,
|
|
174
|
-
actionMenuHover: slate.
|
|
175
|
-
actionMenuInnerHover: slate.
|
|
164
|
+
actionMenuHover: slate.slate4,
|
|
165
|
+
actionMenuInnerHover: slate.slate4,
|
|
176
166
|
actionMenuButtonColor: whiteA.whiteA0,
|
|
177
167
|
actionMenuButtonHoverColor: slate.slate1,
|
|
178
168
|
actionMenuButtonShadow: `0 0 0 1px ${getOpacities(slate.slate10).opacity10}, 0 2px 4px -4px ${
|
|
@@ -182,14 +172,14 @@ const lightColors = {
|
|
|
182
172
|
getOpacities(slate.slate10).opacity30
|
|
183
173
|
}`,
|
|
184
174
|
separatorColor: getOpacities(slate.slate4).opacity50,
|
|
175
|
+
separatorBreadcrumbsColor: slate.slate8,
|
|
185
176
|
iconColor: slate.slate10,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
appIconColor: getOpacities(slate.slate1).opacity90,
|
|
177
|
+
appIconColor: getOpacities(slate.slate2).opacity90,
|
|
178
|
+
appIconBgColor: getOpacities(slate.slate1).opacity90,
|
|
189
179
|
mentionBgColor: slate.slate3,
|
|
190
180
|
entityCardBgColor: whiteA.whiteA0,
|
|
191
|
-
entityCardSelectedColor:
|
|
192
|
-
entityCardHoverColor: getOpacities(slate.
|
|
181
|
+
entityCardSelectedColor: getOpacities(slate.slate2).opacity80,
|
|
182
|
+
entityCardHoverColor: getOpacities(slate.slate2).opacity80,
|
|
193
183
|
entityCardDoneColor: getOpacities(slate.slate4).opacity30,
|
|
194
184
|
entityCardShadow: `0 0 0 1px ${getOpacities(slate.slate10).opacity10}, 0 2px 4px -4px ${
|
|
195
185
|
getOpacities(slate.slate10).opacity20
|
|
@@ -197,6 +187,7 @@ const lightColors = {
|
|
|
197
187
|
entityCardShadowHover: `0 0 0 1px ${getOpacities(slate.slate10).opacity10}, 0 2px 4px -4px ${
|
|
198
188
|
getOpacities(slate.slate10).opacity20
|
|
199
189
|
}`,
|
|
190
|
+
allowedDropColor: getOpacities(slate.slate3).opacity80,
|
|
200
191
|
relationViewBgColor: slate.slate2,
|
|
201
192
|
unitBg: slate.slate3,
|
|
202
193
|
unitBgHover: slate.slate4,
|
|
@@ -206,9 +197,10 @@ const lightColors = {
|
|
|
206
197
|
viewBgOverlayColor: getOpacities(slate.slate8).opacity20,
|
|
207
198
|
floatEditorMenuBg: slate.slate1,
|
|
208
199
|
floatEditorActiveColor: indigoDark.indigo10,
|
|
200
|
+
planBadgeBgColor: yellow.yellow10,
|
|
209
201
|
commentColor: getOpacities(yellow.yellow6).opacity60,
|
|
210
|
-
cellBackgroundColor:
|
|
211
|
-
cellBackgroundHoverColor: getOpacities(
|
|
202
|
+
cellBackgroundColor: slate.slate2,
|
|
203
|
+
cellBackgroundHoverColor: getOpacities(slate.slate6).opacity30,
|
|
212
204
|
cellBorderColor: getOpacities(slate.slate8).opacity50,
|
|
213
205
|
tableRowWarningColor: getOpacities(yellow.yellow6).opacity60,
|
|
214
206
|
errorBgColor: getOpacities(red.red9).opacity20,
|
|
@@ -226,7 +218,7 @@ const lightColors = {
|
|
|
226
218
|
getOpacities(slate.slate10).opacity30
|
|
227
219
|
}`,
|
|
228
220
|
modalBg: getOpacities(slate.slate11).opacity20,
|
|
229
|
-
modalShadow: `${getOpacities(slate.slate10).
|
|
221
|
+
modalShadow: `${getOpacities(slate.slate10).opacity20} 0px 16px 70px`,
|
|
230
222
|
modalContentBg: whiteA.whiteA0,
|
|
231
223
|
progressIconBg: getOpacities(slate.slate12).opacity10,
|
|
232
224
|
progressIconFill: getOpacities(slate.slate12).opacity80,
|
|
@@ -237,32 +229,44 @@ const lightColors = {
|
|
|
237
229
|
getOpacities(slate.slate10).opacity20
|
|
238
230
|
}`,
|
|
239
231
|
selectedColorBorder: getOpacities(slate.slate6).opacity50,
|
|
240
|
-
formBg:
|
|
232
|
+
formBg: slate.slate2,
|
|
241
233
|
formHeaderShadow: `${getOpacities(slate.slate10).opacity10} 0px 0px 6px`,
|
|
242
|
-
formEditorFieldBg:
|
|
234
|
+
formEditorFieldBg: slate.slate3,
|
|
235
|
+
filterGroup1Bg: slate.slate2,
|
|
236
|
+
filterGroup2Bg: slate.slate3,
|
|
237
|
+
filterGroupBorder: blackA.blackA3,
|
|
243
238
|
//end
|
|
244
|
-
disabledInversedTextColor: shades.
|
|
239
|
+
disabledInversedTextColor: shades.opacity25,
|
|
245
240
|
danger: brandColors.red,
|
|
246
241
|
active: brandColors.red,
|
|
247
242
|
warning: "#FFD41E",
|
|
248
243
|
cardBg: "#FFFFFF",
|
|
249
244
|
cardSelected: "#FFFB8F",
|
|
250
245
|
cardSelectedHover: "rgba(240, 244, 247, 0.6)",
|
|
246
|
+
selectedImageBorder: blackA.blackA8,
|
|
251
247
|
transparent,
|
|
252
248
|
shades: lights,
|
|
253
249
|
lights: shades,
|
|
254
250
|
separators,
|
|
255
251
|
inversedSeparators,
|
|
252
|
+
progressBg: slate.slate4,
|
|
253
|
+
progressText: slate.slate11,
|
|
254
|
+
progressFillBg: slate.slate11,
|
|
255
|
+
progressFillText: whiteA.whiteA0,
|
|
256
|
+
searchFiltersBg: slate.slate1,
|
|
256
257
|
} as const;
|
|
257
258
|
|
|
258
259
|
const darkMenu = {
|
|
259
260
|
menuBg: slateDark.slate2,
|
|
260
|
-
menuFooterColor: getOpacities(slateDark.slate3).
|
|
261
|
-
menuFooterHoverColor:
|
|
261
|
+
menuFooterColor: getOpacities(slateDark.slate3).opacity40,
|
|
262
|
+
menuFooterHoverColor: slateDark.slate4,
|
|
262
263
|
menuTextColor: slate.slate8,
|
|
263
264
|
menuIconColor: getOpacities(slate.slate10).opacity90,
|
|
264
|
-
|
|
265
|
-
|
|
265
|
+
menuSelectedIconColor: getOpacities(slate.slate1).opacity90,
|
|
266
|
+
menuSelectedTextColor: slate.slate2,
|
|
267
|
+
menuItemHoverColor: slateDark.slate6,
|
|
268
|
+
menuItemSettingsHoverBg: slateDark.slate5,
|
|
269
|
+
appIconBgColor: getOpacities(slate.slate2).opacity50,
|
|
266
270
|
};
|
|
267
271
|
|
|
268
272
|
const light2Colors = {
|
|
@@ -275,7 +279,6 @@ const darkColors = {
|
|
|
275
279
|
mode: "dark",
|
|
276
280
|
brandColors,
|
|
277
281
|
stateColors,
|
|
278
|
-
//dark theme
|
|
279
282
|
whiteColor: whiteA.whiteA0,
|
|
280
283
|
blackColor: blackA.blackA0,
|
|
281
284
|
mainBg: slateDark.slate1,
|
|
@@ -295,8 +298,8 @@ const darkColors = {
|
|
|
295
298
|
linkHoverColor: indigoDark.indigo10,
|
|
296
299
|
linkBorderHover: `1px solid ${getOpacities(indigoDark.indigo10).opacity80}`,
|
|
297
300
|
codeColor: red.red8,
|
|
298
|
-
codeBgColor:
|
|
299
|
-
codeBlockBgColor: slateDark.
|
|
301
|
+
codeBgColor: slateDark.slate4,
|
|
302
|
+
codeBlockBgColor: slateDark.slate4,
|
|
300
303
|
entityNodeColor: slate.slate8,
|
|
301
304
|
entityNodeBorder: `1px solid ${getOpacities(slate.slate8).opacity40}`,
|
|
302
305
|
entityNodeHoverColor: slate.slate7,
|
|
@@ -332,11 +335,12 @@ const darkColors = {
|
|
|
332
335
|
getOpacities(slateDark.slate2).opacity30
|
|
333
336
|
}`,
|
|
334
337
|
separatorColor: getOpacities(slateDark.slate8).opacity50,
|
|
338
|
+
separatorBreadcrumbsColor: slateDark.slate8,
|
|
335
339
|
iconColor: slate.slate9,
|
|
336
340
|
appIconColor: getOpacities(slate.slate2).opacity70,
|
|
337
341
|
mentionBgColor: slateDark.slate5,
|
|
338
342
|
entityCardBgColor: slateDark.slate5,
|
|
339
|
-
entityCardSelectedColor: slateDark.
|
|
343
|
+
entityCardSelectedColor: getOpacities(slateDark.slate6).opacity50,
|
|
340
344
|
entityCardHoverColor: getOpacities(slateDark.slate6).opacity50,
|
|
341
345
|
entityCardDoneColor: getOpacities(slateDark.slate5).opacity30,
|
|
342
346
|
entityCardShadow: `0 0 0 1px ${getOpacities(slateDark.slate2).opacity10}, 0 2px 4px -4px ${
|
|
@@ -345,15 +349,17 @@ const darkColors = {
|
|
|
345
349
|
entityCardShadowHover: `0 0 0 1px ${getOpacities(slateDark.slate2).opacity10}, 0 2px 4px -4px ${
|
|
346
350
|
getOpacities(slateDark.slate2).opacity20
|
|
347
351
|
}`,
|
|
352
|
+
allowedDropColor: getOpacities(slateDark.slate3).opacity80,
|
|
348
353
|
relationViewBgColor: slateDark.slate3,
|
|
349
354
|
unitBg: slateDark.slate6,
|
|
350
355
|
unitBgHover: slateDark.slate7,
|
|
351
356
|
badgeBgColor: getOpacities(slate.slate10).opacity20,
|
|
352
|
-
tooltipBgColor: slateDark.
|
|
357
|
+
tooltipBgColor: slateDark.slate6,
|
|
353
358
|
todayMarkerColor: redDark.red6,
|
|
354
359
|
viewBgOverlayColor: getOpacities(slateDark.slate1).opacity60,
|
|
355
360
|
floatEditorMenuBg: slateDark.slate6,
|
|
356
361
|
floatEditorActiveColor: indigoDark.indigo11,
|
|
362
|
+
planBadgeBgColor: yellowDark.yellow10,
|
|
357
363
|
commentColor: getOpacities(yellowDark.yellow9).opacity40,
|
|
358
364
|
cellBackgroundColor: slateDark.slate2,
|
|
359
365
|
cellBackgroundHoverColor: getOpacities(slateDark.slate6).opacity30,
|
|
@@ -376,29 +382,38 @@ const darkColors = {
|
|
|
376
382
|
modalBg: getOpacities(slateDark.slate2).opacity50,
|
|
377
383
|
modalShadow: `${getOpacities(slateDark.slate1).opacity40} 0px 16px 70px`,
|
|
378
384
|
modalContentBg: slateDark.slate3,
|
|
379
|
-
progressIconBg: getOpacities(
|
|
380
|
-
progressIconFill: getOpacities(
|
|
381
|
-
progressIconDoneBg: getOpacities(
|
|
382
|
-
progressIconDoneFill: getOpacities(
|
|
385
|
+
progressIconBg: getOpacities(slateDark.slate12).opacity10,
|
|
386
|
+
progressIconFill: getOpacities(slateDark.slate12).opacity80,
|
|
387
|
+
progressIconDoneBg: getOpacities(slateDark.slate12).opacity90,
|
|
388
|
+
progressIconDoneFill: getOpacities(slateDark.slate1).opacity80,
|
|
383
389
|
instrumentsMenuBg: getOpacities(slateDark.slate4).opacity95,
|
|
384
390
|
instrumentsMenuShadow: `0px 2px 8px ${getOpacities(slate.slate2).opacity95}`,
|
|
385
391
|
selectedColorBorder: getOpacities(slate.slate6).opacity20,
|
|
386
392
|
formBg: slateDark.slate2,
|
|
387
393
|
formHeaderShadow: `${getOpacities(slateDark.slate1).opacity40} 0px 0px 6px`,
|
|
388
394
|
formEditorFieldBg: slateDark.slate4,
|
|
395
|
+
filterGroup1Bg: slateDark.slate6,
|
|
396
|
+
filterGroup2Bg: slateDark.slate7,
|
|
397
|
+
filterGroupBorder: whiteA.whiteA3,
|
|
389
398
|
//end
|
|
390
|
-
disabledInversedTextColor: lights.
|
|
399
|
+
disabledInversedTextColor: lights.opacity25,
|
|
391
400
|
danger: redDark.red9,
|
|
392
401
|
active: brandColors.red,
|
|
393
402
|
warning: "#FFD41E",
|
|
394
403
|
cardBg: slateDark.slate6,
|
|
395
404
|
cardSelected: slateDark.slate5,
|
|
396
405
|
cardSelectedHover: slateDark.slate5,
|
|
406
|
+
selectedImageBorder: whiteA.whiteA11,
|
|
397
407
|
transparent,
|
|
398
408
|
shades,
|
|
399
409
|
lights,
|
|
400
410
|
separators: inversedSeparators,
|
|
401
411
|
inversedSeparators: separators,
|
|
412
|
+
progressBg: slate.slate4,
|
|
413
|
+
progressText: slate.slate11,
|
|
414
|
+
progressFillBg: slate.slate11,
|
|
415
|
+
progressFillText: whiteA.whiteA0,
|
|
416
|
+
searchFiltersBg: slateDark.slate2,
|
|
402
417
|
...darkMenu,
|
|
403
418
|
} as const;
|
|
404
419
|
|
|
@@ -559,25 +574,26 @@ export const cardTypeColors = [
|
|
|
559
574
|
|
|
560
575
|
export const pastelColors = cardTypeColors.map((color) => makeChromaColor(color).luminance(0.8).hex());
|
|
561
576
|
|
|
577
|
+
export const dropCursorColor = chroma(brandColors.blue).alpha(0.7).css();
|
|
562
578
|
export const colors = {
|
|
563
579
|
...getTypeColors(brandColors.green, "light"),
|
|
564
580
|
brandColors,
|
|
565
581
|
stateColors,
|
|
566
582
|
textColor: "#2A3844",
|
|
567
|
-
disabledTextColor: shades.
|
|
583
|
+
disabledTextColor: shades.opacity40,
|
|
568
584
|
inversedTextColor: "#FFFFFF",
|
|
569
|
-
disabledInversedTextColor: lights.
|
|
570
|
-
linkColor: brandColors.blue,
|
|
585
|
+
disabledInversedTextColor: lights.opacity25,
|
|
571
586
|
danger: brandColors.red,
|
|
572
587
|
active: brandColors.red,
|
|
573
588
|
warning: "#FFD41E",
|
|
574
589
|
cardBg: "#FFFFFF",
|
|
575
590
|
cardSelected: "#FFFB8F",
|
|
576
591
|
cardSelectedHover: "rgba(240, 244, 247, 0.6)",
|
|
592
|
+
selectedImageBorder: "rgba(42, 56, 68, 0.3)",
|
|
577
593
|
unitBg: "rgba(220, 224, 228, 0.33)",
|
|
578
594
|
infoBox: "rgba(255, 212, 0, 0.2)",
|
|
579
595
|
errorBg: "rgba(255, 241, 240, 1)",
|
|
580
|
-
timelineScaleSelectBorderColor: chroma("#FFFFFF").alpha(opacity.
|
|
596
|
+
timelineScaleSelectBorderColor: chroma("#FFFFFF").alpha(opacity.opacity40).css(),
|
|
581
597
|
transparent,
|
|
582
598
|
shades,
|
|
583
599
|
lights,
|
|
@@ -601,6 +617,7 @@ export const layout = {
|
|
|
601
617
|
menuItemMinWidth: 80,
|
|
602
618
|
menuGroupHeaderIndent: 40, // I'm ok
|
|
603
619
|
menuItemLevelIndent: 24,
|
|
620
|
+
listItemHeight: 38,
|
|
604
621
|
itemHeight: 36,
|
|
605
622
|
itemWithSubtitleHeight: 52,
|
|
606
623
|
groupTitleHeight: 30,
|
|
@@ -650,12 +667,12 @@ export const border = {
|
|
|
650
667
|
export const lineHeight = {
|
|
651
668
|
text: 1.6,
|
|
652
669
|
regular: 1.5,
|
|
653
|
-
heading: 1.
|
|
670
|
+
heading: 1.25,
|
|
654
671
|
nowrap: 1,
|
|
655
672
|
} as const;
|
|
656
673
|
|
|
657
674
|
export const tooltipDelay = {
|
|
658
|
-
enter:
|
|
675
|
+
enter: 500,
|
|
659
676
|
leave: 0,
|
|
660
677
|
} as const;
|
|
661
678
|
|
|
@@ -668,8 +685,8 @@ export const viewBoxSize = "0 0 20 20";
|
|
|
668
685
|
export const avatarSize = 24;
|
|
669
686
|
|
|
670
687
|
export const shadows = {
|
|
671
|
-
border: `0 0 0 1px ${shades.
|
|
672
|
-
inversedBorder: `0 0 0 1px ${lights.
|
|
688
|
+
border: `0 0 0 1px ${shades.opacity10}`,
|
|
689
|
+
inversedBorder: `0 0 0 1px ${lights.opacity10}`,
|
|
673
690
|
videoPreview: "0 4px 30px 4px rgba(0, 0, 0, .15)",
|
|
674
691
|
} as const;
|
|
675
692
|
|
|
@@ -835,7 +852,7 @@ export const textStyles = {
|
|
|
835
852
|
textTransform: "none",
|
|
836
853
|
},
|
|
837
854
|
code: {
|
|
838
|
-
fontFamily: "
|
|
855
|
+
fontFamily: '"SFMono-Regular", Menlo, Consolas, "PT Mono", "Liberation Mono", Courier, monospace',
|
|
839
856
|
fontSize: typeSizes[4],
|
|
840
857
|
lineHeight: lineHeight.regular,
|
|
841
858
|
fontWeight: fontWeight.regular,
|
|
@@ -846,7 +863,7 @@ export const textStyles = {
|
|
|
846
863
|
fontSize: typeSizes[7],
|
|
847
864
|
lineHeight: lineHeight.regular,
|
|
848
865
|
fontWeight: fontWeight.regular,
|
|
849
|
-
color: colors.shades.
|
|
866
|
+
color: colors.shades.opacity25,
|
|
850
867
|
},
|
|
851
868
|
link: {
|
|
852
869
|
color: themeVars.linkColor,
|
|
@@ -859,7 +876,7 @@ export const textStyles = {
|
|
|
859
876
|
color: colors.inversedTextColor,
|
|
860
877
|
cursor: "pointer",
|
|
861
878
|
textDecoration: "underline",
|
|
862
|
-
textDecorationColor: lights.
|
|
879
|
+
textDecorationColor: lights.opacity25,
|
|
863
880
|
},
|
|
864
881
|
note: {
|
|
865
882
|
fontFamily,
|
package/src/error-alert.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {css} from "@linaria/core";
|
|
2
2
|
import {layout, border, space, textStyles, themeVars} from "./designSystem";
|
|
3
|
-
import {Button} from "./Button";
|
|
3
|
+
import {Button} from "./Button/button";
|
|
4
4
|
import CloseIcon from "./icons/react/Close";
|
|
5
|
-
import {useTheme} from "
|
|
5
|
+
import {useTheme} from "./ThemeProvider";
|
|
6
6
|
|
|
7
7
|
const errorAlert = css`
|
|
8
8
|
background-color: ${themeVars.errorBgColor};
|
package/src/icons/Icon.tsx
CHANGED
|
@@ -4,25 +4,30 @@ import {generateIconFromAst} from "./generateIconFromAst";
|
|
|
4
4
|
import {IconProps} from "./types";
|
|
5
5
|
import {getShiftStyle} from "./getShiftStyle";
|
|
6
6
|
import {getIconContainerStyle} from "./getIconContainerStyle";
|
|
7
|
+
import {forwardRef} from "react";
|
|
7
8
|
|
|
8
9
|
const iconStyle = css`
|
|
9
10
|
shape-rendering: geometricprecision;
|
|
10
11
|
border-radius: ${radius}px;
|
|
11
12
|
`;
|
|
12
13
|
|
|
13
|
-
export function Icon(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
export const Icon = forwardRef<HTMLSpanElement, IconProps>(function Icon(
|
|
15
|
+
{
|
|
16
|
+
icon,
|
|
17
|
+
containerSize,
|
|
18
|
+
color,
|
|
19
|
+
viewBox = viewBoxSize,
|
|
20
|
+
iconSize = defaultIconSize,
|
|
21
|
+
onMouseDown,
|
|
22
|
+
onMouseEnter,
|
|
23
|
+
onMouseLeave,
|
|
24
|
+
children,
|
|
25
|
+
},
|
|
26
|
+
ref
|
|
27
|
+
): JSX.Element {
|
|
24
28
|
return (
|
|
25
29
|
<span
|
|
30
|
+
ref={ref}
|
|
26
31
|
style={getIconContainerStyle(containerSize || iconSize, color)}
|
|
27
32
|
onMouseDown={onMouseDown}
|
|
28
33
|
onMouseEnter={onMouseEnter}
|
|
@@ -53,4 +58,4 @@ export function Icon({
|
|
|
53
58
|
)}
|
|
54
59
|
</span>
|
|
55
60
|
);
|
|
56
|
-
}
|
|
61
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const AddGroup: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20},"children":[{"type":"element","tagName":"path","properties":{"d":"M9.25 6.75a.75.75 0 0 1 1.5 0v2.5h2.5a.75.75 0 0 1 0 1.5h-2.5v2.5a.75.75 0 0 1-1.5 0v-2.5h-2.5a.75.75 0 0 1 0-1.5h2.5v-2.5Z"},"children":[]},{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M2 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Zm2-.5h12a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H4a.5.5 0 0 1-.5-.5V4a.5.5 0 0 1 .5-.5Z"},"children":[]}],"metadata":""}]},"name":"add-group"};
|
|
7
|
+
|
|
8
|
+
export default AddGroup;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const AiAssistant: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20},"children":[{"type":"element","tagName":"path","properties":{"d":"M3.27.185a.29.29 0 0 0-.54 0l-.522 1.358c-.09.235-.12.305-.16.36a.614.614 0 0 1-.144.146c-.056.04-.126.069-.36.159L.184 2.73a.29.29 0 0 0 0 .54l1.358.522c.235.09.305.12.36.16.057.04.106.088.146.144.04.056.069.126.159.36l.522 1.359a.29.29 0 0 0 .54 0l.522-1.358c.09-.235.12-.305.16-.36a.614.614 0 0 1 .144-.146c.056-.04.126-.069.36-.159l1.359-.522a.29.29 0 0 0 0-.54l-1.358-.522c-.235-.09-.305-.12-.36-.16a.614.614 0 0 1-.146-.144c-.04-.056-.069-.126-.159-.36L3.27.184Z"},"children":[]},{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M10.833 1.7a.8.8 0 0 1 .747.513l1.445 3.757c.25.65.33.842.44.997.11.155.246.29.4.4.156.111.349.191.998.441l3.757 1.445a.8.8 0 0 1 0 1.494l-3.757 1.445c-.65.25-.842.33-.997.44-.155.11-.29.246-.4.4-.111.156-.191.348-.441.998l-1.445 3.757a.8.8 0 0 1-1.494 0L8.641 14.03c-.25-.65-.33-.842-.44-.997a1.699 1.699 0 0 0-.4-.4c-.156-.111-.348-.191-.998-.441l-3.757-1.445a.8.8 0 0 1 0-1.494l3.757-1.445c.65-.25.842-.33.998-.44a1.7 1.7 0 0 0 .4-.4c.11-.156.19-.349.44-.998l1.445-3.757a.8.8 0 0 1 .747-.513Zm0 3.028-.73 1.9c-.204.53-.356.926-.598 1.266a3.3 3.3 0 0 1-.777.778c-.341.242-.737.394-1.267.598l-1.9.73 1.901.73c.53.204.925.356 1.266.598.3.214.563.477.777.777.242.341.394.736.597 1.266l.731 1.9.731-1.9c.204-.53.355-.925.598-1.266.213-.3.476-.563.777-.777.34-.242.735-.394 1.265-.597l1.9-.731-1.898-.73c-.53-.204-.926-.356-1.267-.598a3.302 3.302 0 0 1-.777-.778c-.243-.34-.395-.736-.598-1.266l-.73-1.9Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M3 14a.29.29 0 0 1 .27.185l.522 1.358c.09.235.12.305.16.36.04.057.088.106.144.146.056.04.126.069.36.159l1.359.522a.29.29 0 0 1 0 .54l-1.358.522c-.235.09-.305.12-.36.16a.616.616 0 0 0-.146.144c-.04.056-.069.126-.159.36l-.522 1.359a.29.29 0 0 1-.54 0l-.522-1.359c-.09-.234-.12-.304-.16-.36a.616.616 0 0 0-.144-.145c-.056-.04-.126-.069-.36-.159L.184 17.27a.29.29 0 0 1 0-.54l1.358-.522c.235-.09.305-.12.36-.16a.614.614 0 0 0 .146-.144c.04-.056.069-.126.159-.36l.522-1.359A.29.29 0 0 1 3 14Z"},"children":[]}],"metadata":""}]},"name":"ai-assistant"};
|
|
7
|
+
|
|
8
|
+
export default AiAssistant;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const AiAvatar: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M10 20c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10Zm0-15.833a.562.562 0 0 1 .525.36l1.016 2.64c.175.457.232.592.309.701.077.11.173.204.281.281.11.078.245.135.701.31l2.64 1.016a.562.562 0 0 1 0 1.05l-2.64 1.015c-.456.176-.591.232-.7.31a1.198 1.198 0 0 0-.281.28c-.078.11-.135.245-.31.702l-1.016 2.64a.562.562 0 0 1-1.05 0l-1.015-2.64c-.176-.457-.232-.592-.31-.7a1.194 1.194 0 0 0-.28-.282c-.11-.078-.245-.134-.702-.31l-2.64-1.015a.562.562 0 0 1 0-1.05l2.64-1.016c.457-.175.592-.232.701-.309.11-.077.204-.172.281-.281.078-.11.134-.245.31-.701l1.015-2.64A.562.562 0 0 1 10 4.166Zm0 2.128-.514 1.34c-.143.37-.25.647-.42.885-.15.211-.334.396-.545.546-.239.17-.516.277-.886.42L6.295 10l1.336.513c.372.143.65.25.89.42.21.15.396.335.546.546.17.24.277.517.42.89L10 13.704l.518-1.345c.141-.368.247-.642.416-.88.15-.21.335-.395.546-.546.24-.17.517-.277.89-.42L13.704 10l-1.338-.515c-.37-.142-.648-.25-.887-.419a2.321 2.321 0 0 1-.546-.546c-.17-.24-.277-.518-.42-.89L10 6.295Z"},"children":[]}],"metadata":""}]},"name":"ai-avatar"};
|
|
7
|
+
|
|
8
|
+
export default AiAvatar;
|
|
@@ -1,32 +1,8 @@
|
|
|
1
|
+
|
|
1
2
|
// This icon file is generated automatically.
|
|
2
3
|
|
|
3
|
-
import {IconDefinition} from
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
4
5
|
|
|
5
|
-
const ArrowBottom: IconDefinition = {
|
|
6
|
-
icon: {
|
|
7
|
-
type: "root",
|
|
8
|
-
children: [
|
|
9
|
-
{
|
|
10
|
-
type: "element",
|
|
11
|
-
tagName: "svg",
|
|
12
|
-
properties: {viewBox: "0 0 20 20"},
|
|
13
|
-
children: [
|
|
14
|
-
{
|
|
15
|
-
type: "element",
|
|
16
|
-
tagName: "path",
|
|
17
|
-
properties: {
|
|
18
|
-
fillRule: "evenodd",
|
|
19
|
-
clipRule: "evenodd",
|
|
20
|
-
d: "M5.434 7.434a.8.8 0 0 1 1.132 0L10 10.87l3.434-3.435a.8.8 0 0 1 1.132 1.132l-4 4a.8.8 0 0 1-1.132 0l-4-4a.8.8 0 0 1 0-1.132Z",
|
|
21
|
-
},
|
|
22
|
-
children: [],
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
metadata: "",
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
},
|
|
29
|
-
name: "arrow-bottom",
|
|
30
|
-
};
|
|
6
|
+
const ArrowBottom: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M5.434 7.434a.8.8 0 0 1 1.132 0L10 10.87l3.434-3.435a.8.8 0 0 1 1.132 1.132l-4 4a.8.8 0 0 1-1.132 0l-4-4a.8.8 0 0 1 0-1.132Z"},"children":[]}],"metadata":""}]},"name":"arrow-bottom"};
|
|
31
7
|
|
|
32
8
|
export default ArrowBottom;
|
|
@@ -1,32 +1,8 @@
|
|
|
1
|
+
|
|
1
2
|
// This icon file is generated automatically.
|
|
2
3
|
|
|
3
|
-
import {IconDefinition} from
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
4
5
|
|
|
5
|
-
const ArrowCollapse: IconDefinition = {
|
|
6
|
-
icon: {
|
|
7
|
-
type: "root",
|
|
8
|
-
children: [
|
|
9
|
-
{
|
|
10
|
-
type: "element",
|
|
11
|
-
tagName: "svg",
|
|
12
|
-
properties: {viewBox: "0 0 20 20"},
|
|
13
|
-
children: [
|
|
14
|
-
{
|
|
15
|
-
type: "element",
|
|
16
|
-
tagName: "path",
|
|
17
|
-
properties: {
|
|
18
|
-
fillRule: "evenodd",
|
|
19
|
-
clipRule: "evenodd",
|
|
20
|
-
d: "M7.434 14.566a.8.8 0 0 1 0-1.132L10.87 10 7.434 6.566a.8.8 0 1 1 1.132-1.132l4 4a.8.8 0 0 1 0 1.132l-4 4a.8.8 0 0 1-1.132 0Z",
|
|
21
|
-
},
|
|
22
|
-
children: [],
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
metadata: "",
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
},
|
|
29
|
-
name: "arrow-collapse",
|
|
30
|
-
};
|
|
6
|
+
const ArrowCollapse: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M7.434 14.566a.8.8 0 0 1 0-1.132L10.87 10 7.434 6.566a.8.8 0 1 1 1.132-1.132l4 4a.8.8 0 0 1 0 1.132l-4 4a.8.8 0 0 1-1.132 0Z"},"children":[]}],"metadata":""}]},"name":"arrow-collapse"};
|
|
31
7
|
|
|
32
8
|
export default ArrowCollapse;
|
|
@@ -1,32 +1,8 @@
|
|
|
1
|
+
|
|
1
2
|
// This icon file is generated automatically.
|
|
2
3
|
|
|
3
|
-
import {IconDefinition} from
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
4
5
|
|
|
5
|
-
const ArrowCollapseVertical: IconDefinition = {
|
|
6
|
-
icon: {
|
|
7
|
-
type: "root",
|
|
8
|
-
children: [
|
|
9
|
-
{
|
|
10
|
-
type: "element",
|
|
11
|
-
tagName: "svg",
|
|
12
|
-
properties: {viewBox: "0 0 20 20"},
|
|
13
|
-
children: [
|
|
14
|
-
{
|
|
15
|
-
type: "element",
|
|
16
|
-
tagName: "path",
|
|
17
|
-
properties: {
|
|
18
|
-
fillRule: "evenodd",
|
|
19
|
-
clipRule: "evenodd",
|
|
20
|
-
d: "M5.434 7.434a.8.8 0 0 1 1.132 0L10 10.87l3.434-3.435a.8.8 0 0 1 1.132 1.132l-4 4a.8.8 0 0 1-1.132 0l-4-4a.8.8 0 0 1 0-1.132Z",
|
|
21
|
-
},
|
|
22
|
-
children: [],
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
metadata: "",
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
},
|
|
29
|
-
name: "arrow-collapse-vertical",
|
|
30
|
-
};
|
|
6
|
+
const ArrowCollapseVertical: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M5.434 7.434a.8.8 0 0 1 1.132 0L10 10.87l3.434-3.435a.8.8 0 0 1 1.132 1.132l-4 4a.8.8 0 0 1-1.132 0l-4-4a.8.8 0 0 1 0-1.132Z"},"children":[]}],"metadata":""}]},"name":"arrow-collapse-vertical"};
|
|
31
7
|
|
|
32
8
|
export default ArrowCollapseVertical;
|
|
@@ -1,32 +1,8 @@
|
|
|
1
|
+
|
|
1
2
|
// This icon file is generated automatically.
|
|
2
3
|
|
|
3
|
-
import {IconDefinition} from
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
4
5
|
|
|
5
|
-
const ArrowLeft: IconDefinition = {
|
|
6
|
-
icon: {
|
|
7
|
-
type: "root",
|
|
8
|
-
children: [
|
|
9
|
-
{
|
|
10
|
-
type: "element",
|
|
11
|
-
tagName: "svg",
|
|
12
|
-
properties: {viewBox: "0 0 20 20"},
|
|
13
|
-
children: [
|
|
14
|
-
{
|
|
15
|
-
type: "element",
|
|
16
|
-
tagName: "path",
|
|
17
|
-
properties: {
|
|
18
|
-
fillRule: "evenodd",
|
|
19
|
-
clipRule: "evenodd",
|
|
20
|
-
d: "M12.566 5.434a.8.8 0 0 1 0 1.132L9.13 10l3.435 3.434a.8.8 0 1 1-1.132 1.132l-4-4a.8.8 0 0 1 0-1.132l4-4a.8.8 0 0 1 1.132 0Z",
|
|
21
|
-
},
|
|
22
|
-
children: [],
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
metadata: "",
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
},
|
|
29
|
-
name: "arrow-left",
|
|
30
|
-
};
|
|
6
|
+
const ArrowLeft: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M12.566 5.434a.8.8 0 0 1 0 1.132L9.13 10l3.435 3.434a.8.8 0 1 1-1.132 1.132l-4-4a.8.8 0 0 1 0-1.132l4-4a.8.8 0 0 1 1.132 0Z"},"children":[]}],"metadata":""}]},"name":"arrow-left"};
|
|
31
7
|
|
|
32
8
|
export default ArrowLeft;
|
|
@@ -1,32 +1,8 @@
|
|
|
1
|
+
|
|
1
2
|
// This icon file is generated automatically.
|
|
2
3
|
|
|
3
|
-
import {IconDefinition} from
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
4
5
|
|
|
5
|
-
const ArrowRight: IconDefinition = {
|
|
6
|
-
icon: {
|
|
7
|
-
type: "root",
|
|
8
|
-
children: [
|
|
9
|
-
{
|
|
10
|
-
type: "element",
|
|
11
|
-
tagName: "svg",
|
|
12
|
-
properties: {viewBox: "0 0 20 20"},
|
|
13
|
-
children: [
|
|
14
|
-
{
|
|
15
|
-
type: "element",
|
|
16
|
-
tagName: "path",
|
|
17
|
-
properties: {
|
|
18
|
-
fillRule: "evenodd",
|
|
19
|
-
clipRule: "evenodd",
|
|
20
|
-
d: "M7.434 14.566a.8.8 0 0 1 0-1.132L10.87 10 7.434 6.566a.8.8 0 1 1 1.132-1.132l4 4a.8.8 0 0 1 0 1.132l-4 4a.8.8 0 0 1-1.132 0Z",
|
|
21
|
-
},
|
|
22
|
-
children: [],
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
metadata: "",
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
},
|
|
29
|
-
name: "arrow-right",
|
|
30
|
-
};
|
|
6
|
+
const ArrowRight: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M7.434 14.566a.8.8 0 0 1 0-1.132L10.87 10 7.434 6.566a.8.8 0 1 1 1.132-1.132l4 4a.8.8 0 0 1 0 1.132l-4 4a.8.8 0 0 1-1.132 0Z"},"children":[]}],"metadata":""}]},"name":"arrow-right"};
|
|
31
7
|
|
|
32
8
|
export default ArrowRight;
|