@fibery/ui-kit 1.34.2 → 1.34.4
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/package.json +5 -5
- package/src/actions-menu/actions-menu-sub-menu.tsx +1 -1
- package/src/button/base-button.tsx +1 -1
- package/src/button/button.tsx +1 -1
- package/src/button/icon-button.tsx +1 -1
- package/src/design-system.ts +48 -27
- package/src/icons/ast/AppearanceAuto.ts +8 -0
- package/src/icons/ast/AppearanceDark.ts +8 -0
- package/src/icons/ast/AppearanceLight.ts +8 -0
- package/src/icons/ast/ArrowsRightLeft.ts +8 -0
- package/src/icons/ast/Equation.ts +8 -0
- package/src/icons/ast/LockOutline.ts +8 -0
- package/src/icons/ast/Logout.ts +8 -0
- package/src/icons/ast/PrivateItems.ts +8 -0
- package/src/icons/ast/ShowAuthor.ts +8 -0
- package/src/icons/ast/UnitsDate.ts +8 -0
- package/src/icons/ast/UnlockFilled.ts +8 -0
- package/src/icons/ast/UnlockOutline.ts +8 -0
- package/src/icons/ast/WorkspaceMap.ts +8 -0
- package/src/icons/ast/index.tsx +13 -1
- package/src/icons/react/AppearanceAuto.tsx +13 -0
- package/src/icons/react/AppearanceDark.tsx +13 -0
- package/src/icons/react/AppearanceLight.tsx +13 -0
- package/src/icons/react/ArrowsRightLeft.tsx +13 -0
- package/src/icons/react/Equation.tsx +13 -0
- package/src/icons/react/LockOutline.tsx +13 -0
- package/src/icons/react/{MySpace.tsx → Logout.tsx} +4 -4
- package/src/icons/react/PrivateItems.tsx +13 -0
- package/src/icons/react/ShowAuthor.tsx +13 -0
- package/src/icons/react/UnitsDate.tsx +13 -0
- package/src/icons/react/UnlockFilled.tsx +13 -0
- package/src/icons/react/UnlockOutline.tsx +13 -0
- package/src/icons/react/WorkspaceMap.tsx +13 -0
- package/src/icons/react/index.tsx +13 -1
- package/src/select/index.tsx +2 -1
- package/src/select/select-control-settings-context.tsx +2 -2
- package/src/toggle.tsx +8 -1
- package/src/tooltip.tsx +18 -20
- package/src/icons/ast/MySpace.ts +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fibery/ui-kit",
|
|
3
|
-
"version": "1.34.
|
|
3
|
+
"version": "1.34.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"src/antd/styles.ts",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"screenfull": "6.0.1",
|
|
75
75
|
"tabbable": "5.2.1",
|
|
76
76
|
"ua-parser-js": "1.0.39",
|
|
77
|
+
"@fibery/react": "1.4.0",
|
|
77
78
|
"@fibery/emoji-data": "2.6.0",
|
|
78
|
-
"@fibery/helpers": "1.3.0"
|
|
79
|
-
"@fibery/react": "1.4.0"
|
|
79
|
+
"@fibery/helpers": "1.3.0"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"react": "^18.2.0",
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
"svgo": "2.8.0",
|
|
111
111
|
"typescript": "5.4.3",
|
|
112
112
|
"unist-util-reduce": "0.2.2",
|
|
113
|
-
"@fibery/
|
|
114
|
-
"@fibery/
|
|
113
|
+
"@fibery/babel-preset": "7.4.0",
|
|
114
|
+
"@fibery/eslint-config": "8.6.0"
|
|
115
115
|
},
|
|
116
116
|
"jest": {
|
|
117
117
|
"testEnvironment": "jsdom",
|
package/src/button/button.tsx
CHANGED
|
@@ -3,7 +3,7 @@ import {forwardRef} from "react";
|
|
|
3
3
|
import {border, fontWeight, space, textStyles} from "../design-system";
|
|
4
4
|
import {iconSizeVar} from "../icons/Icon";
|
|
5
5
|
import SpinnerIcon from "../icons/react/Spinner";
|
|
6
|
-
import {
|
|
6
|
+
import {BaseButton, BaseButtonProps, ButtonSize} from "./base-button";
|
|
7
7
|
import {useIsSupportHardwareKeyboard} from "../use-is-support-hardware-keyboard";
|
|
8
8
|
|
|
9
9
|
export type ButtonProps = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {css, cx} from "@linaria/core";
|
|
2
2
|
import {forwardRef} from "react";
|
|
3
|
-
import {BaseButtonProps, BaseButton, ButtonSize} from "./base-button";
|
|
4
3
|
import {border, space} from "../design-system";
|
|
5
4
|
import {iconSizeVar} from "../icons/Icon";
|
|
6
5
|
import Spinner from "../icons/react/Spinner";
|
|
6
|
+
import {BaseButton, BaseButtonProps, ButtonSize} from "./base-button";
|
|
7
7
|
|
|
8
8
|
export type IconButtonProps = {
|
|
9
9
|
size?: ButtonSize;
|
package/src/design-system.ts
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./palette";
|
|
23
23
|
import {ThemeMode} from "./theme-settings";
|
|
24
24
|
|
|
25
|
-
export const typeSizes = [
|
|
25
|
+
export const typeSizes = [28, 24, 18, 16, 14, 12, 10, 8] as const;
|
|
26
26
|
|
|
27
27
|
export const fontWeight = {
|
|
28
28
|
light: 300,
|
|
@@ -58,6 +58,31 @@ export const opacity = {
|
|
|
58
58
|
opacity0: 0,
|
|
59
59
|
} as const;
|
|
60
60
|
|
|
61
|
+
export const cardTypeColors = [
|
|
62
|
+
"#4A4A4A",
|
|
63
|
+
"#6A849B",
|
|
64
|
+
"#99A2AB",
|
|
65
|
+
"#D40915",
|
|
66
|
+
"#E72065",
|
|
67
|
+
"#9C2BAF",
|
|
68
|
+
"#673DB6",
|
|
69
|
+
"#3E53B4",
|
|
70
|
+
"#2978FB",
|
|
71
|
+
"#199EE3",
|
|
72
|
+
"#1FBED3",
|
|
73
|
+
"#159789",
|
|
74
|
+
"#4FAF54",
|
|
75
|
+
"#8EC351",
|
|
76
|
+
"#FBA32F",
|
|
77
|
+
"#FC551F",
|
|
78
|
+
"#B04E31",
|
|
79
|
+
] as const;
|
|
80
|
+
|
|
81
|
+
const swatches = {
|
|
82
|
+
"gray-light": cardTypeColors[1],
|
|
83
|
+
yellow: cardTypeColors[14],
|
|
84
|
+
};
|
|
85
|
+
|
|
61
86
|
// switch to chroma.valid once we start using 2.0.1
|
|
62
87
|
const makeChromaColor = (color: string) => {
|
|
63
88
|
try {
|
|
@@ -268,7 +293,8 @@ export const themeColors = {
|
|
|
268
293
|
buttonPrimaryColor: [indigo.indigo9, indigoDark.indigo9],
|
|
269
294
|
buttonColor: [slate.slate10, slateDark.slate10],
|
|
270
295
|
buttonPrimaryTextColor: [slate.slate2, slate.slate6],
|
|
271
|
-
checkboxColor: [slate.
|
|
296
|
+
checkboxColor: [slate.slate11, slateDark.slate11],
|
|
297
|
+
colorBorderBlockQuote: [slate.slate11, slateDark.slate11],
|
|
272
298
|
|
|
273
299
|
// Actions menu
|
|
274
300
|
colorBgActionsMenu: [getOpacities(whiteA.whiteA0).opacity85, getOpacities(slateDark.slate4).opacity85],
|
|
@@ -341,12 +367,14 @@ export const themeColors = {
|
|
|
341
367
|
],
|
|
342
368
|
// :focus
|
|
343
369
|
colorBgEntityBoxDefaultFocus: [whiteA.whiteA0, slateDark.slate3],
|
|
370
|
+
colorOverlayEntityBoxDefaultFocus: [indigo.indigo9, indigoDark.indigo9],
|
|
344
371
|
shadowStrokeEntityBoxDefaultFocus: [
|
|
345
372
|
`0 0 0 2px ${getOpacities(indigo.indigo9).opacity40}`,
|
|
346
373
|
`0 0 0 2px ${getOpacities(indigoDark.indigo9).opacity40}`,
|
|
347
374
|
],
|
|
348
375
|
// :focus:hover
|
|
349
376
|
colorBgEntityBoxDefaultFocusHover: [whiteA.whiteA0, slateDark.slate4],
|
|
377
|
+
colorOverlayEntityBoxDefaultFocusHover: [indigo.indigo9, indigoDark.indigo9],
|
|
350
378
|
shadowStrokeEntityBoxDefaultFocusHover: [
|
|
351
379
|
`0 0 0 2px ${getOpacities(indigo.indigo9).opacity60}`,
|
|
352
380
|
`0 0 0 2px ${getOpacities(indigoDark.indigo9).opacity60}`,
|
|
@@ -426,6 +454,11 @@ export const themeColors = {
|
|
|
426
454
|
allowedDropColor: [getOpacities(slate.slate3).opacity80, getOpacities(slateDark.slate3).opacity80],
|
|
427
455
|
relationViewBgColor: [slate.slate2, slateDark.slate3],
|
|
428
456
|
|
|
457
|
+
mySpaceIconColor: [swatches["gray-light"], swatches["gray-light"]],
|
|
458
|
+
mySpaceIconBg: [getOpacities(swatches["gray-light"]).opacity20, getOpacities(swatches["gray-light"]).opacity20],
|
|
459
|
+
favoritesIconColor: [swatches.yellow, swatches.yellow],
|
|
460
|
+
favoritesIconBg: [getOpacities(swatches.yellow).opacity20, getOpacities(swatches.yellow).opacity20],
|
|
461
|
+
|
|
429
462
|
// Unit
|
|
430
463
|
unitBg: [slate.slate3, slateDark.slate6],
|
|
431
464
|
unitBgHover: [slate.slate4, slateDark.slate7],
|
|
@@ -494,6 +527,7 @@ export const themeColors = {
|
|
|
494
527
|
progressText: [slate.slate11, slate.slate11],
|
|
495
528
|
progressFillBg: [slate.slate11, slate.slate11],
|
|
496
529
|
progressFillText: [whiteA.whiteA0, whiteA.whiteA0],
|
|
530
|
+
progressBarFillNeutral: [getOpacities(slate.slate9).opacity20, getOpacities(slateDark.slate9).opacity20],
|
|
497
531
|
progressBarFill: [indigo.indigo9, indigoDark.indigo10],
|
|
498
532
|
progressBarBg: [getOpacities(indigo.indigo9).opacity25, getOpacities(indigoDark.indigo10).opacity25],
|
|
499
533
|
searchFiltersBg: [slate.slate1, slateDark.slate2],
|
|
@@ -626,6 +660,12 @@ export const themeColors = {
|
|
|
626
660
|
}`,
|
|
627
661
|
],
|
|
628
662
|
commentBubbleBg: [whiteA.whiteA0, slateDark.slate6],
|
|
663
|
+
|
|
664
|
+
// SegmentedControl
|
|
665
|
+
colorBgSegmentedControlDefault: [slate.slate3, slateDark.slate1],
|
|
666
|
+
colorBgSegmentedControlActive: [slate.slate1, slateDark.slate6],
|
|
667
|
+
colorBgSegmentedControlHover: [slate.slate5, slateDark.slate4],
|
|
668
|
+
colorBorderSegmentedControlDefault: [slate.slate6, slateDark.slate7],
|
|
629
669
|
} as const;
|
|
630
670
|
|
|
631
671
|
type ThemeDefs = typeof themeColors;
|
|
@@ -821,26 +861,6 @@ export const getIconColor = _.memoize(
|
|
|
821
861
|
(themeMode, color) => `${themeMode}-${color}`
|
|
822
862
|
);
|
|
823
863
|
|
|
824
|
-
export const cardTypeColors = [
|
|
825
|
-
"#4A4A4A",
|
|
826
|
-
"#6A849B",
|
|
827
|
-
"#99A2AB",
|
|
828
|
-
"#D40915",
|
|
829
|
-
"#E72065",
|
|
830
|
-
"#9C2BAF",
|
|
831
|
-
"#673DB6",
|
|
832
|
-
"#3E53B4",
|
|
833
|
-
"#2978FB",
|
|
834
|
-
"#199EE3",
|
|
835
|
-
"#1FBED3",
|
|
836
|
-
"#159789",
|
|
837
|
-
"#4FAF54",
|
|
838
|
-
"#8EC351",
|
|
839
|
-
"#FBA32F",
|
|
840
|
-
"#FC551F",
|
|
841
|
-
"#B04E31",
|
|
842
|
-
] as const;
|
|
843
|
-
|
|
844
864
|
export const dropCursorColor = chroma(brandColors.blue).alpha(0.7).css();
|
|
845
865
|
export const colors = {
|
|
846
866
|
...getTypeColors(brandColors.green, "light"),
|
|
@@ -858,6 +878,7 @@ export const space = {
|
|
|
858
878
|
s0: 0,
|
|
859
879
|
s1: 1,
|
|
860
880
|
s2: 2,
|
|
881
|
+
s3: 3,
|
|
861
882
|
s4: 4,
|
|
862
883
|
s6: 6,
|
|
863
884
|
s8: 8,
|
|
@@ -902,7 +923,7 @@ export const layout = {
|
|
|
902
923
|
enumItemHeight: 32,
|
|
903
924
|
menuItemHeight: 32,
|
|
904
925
|
newMenuItemHeight: 28, // I'm ok
|
|
905
|
-
newMenuIconSize:
|
|
926
|
+
newMenuIconSize: 18,
|
|
906
927
|
viewHeaderHeight: space.s12 * 7,
|
|
907
928
|
viewHeaderCompactHeight: 52,
|
|
908
929
|
columnMinWidth: 240,
|
|
@@ -921,7 +942,7 @@ export const layout = {
|
|
|
921
942
|
calendarEventHeight: 30,
|
|
922
943
|
calendarHeaderHeight: 30,
|
|
923
944
|
calendarToolbarHeight: 48,
|
|
924
|
-
checkboxSize:
|
|
945
|
+
checkboxSize: 15,
|
|
925
946
|
fakeBoardWidth: 260,
|
|
926
947
|
fakeBoardHeight: 160,
|
|
927
948
|
inlineInputHeight: 32,
|
|
@@ -948,7 +969,7 @@ export const lineHeight = {
|
|
|
948
969
|
text: 1.6,
|
|
949
970
|
regular: 1.5,
|
|
950
971
|
narrow: 1.4,
|
|
951
|
-
heading: 1.
|
|
972
|
+
heading: 1.3,
|
|
952
973
|
nowrap: 1,
|
|
953
974
|
} as const;
|
|
954
975
|
|
|
@@ -1055,9 +1076,9 @@ export const textStyles = {
|
|
|
1055
1076
|
heading1: {
|
|
1056
1077
|
fontFamily,
|
|
1057
1078
|
fontSize: typeSizes[0],
|
|
1058
|
-
letterSpacing: "-0.
|
|
1079
|
+
letterSpacing: "-0.01em",
|
|
1059
1080
|
lineHeight: lineHeight.heading,
|
|
1060
|
-
fontWeight: fontWeight.
|
|
1081
|
+
fontWeight: fontWeight.bold,
|
|
1061
1082
|
color: themeVars.textColor,
|
|
1062
1083
|
},
|
|
1063
1084
|
heading2: {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const AppearanceAuto: 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":"M10.66 2.66a.66.66 0 1 0-1.32 0v1.468a.66.66 0 0 0 1.32 0V2.661ZM5.278 4.344a.66.66 0 0 0-.934.934l1.038 1.038a.66.66 0 0 0 .934-.934L5.277 4.343Zm10.38.934a.66.66 0 0 0-.934-.934l-1.038 1.038a.66.66 0 0 0 .934.934l1.038-1.038Zm-4.26 1.358A3.597 3.597 0 0 0 6.495 9.34H2.661a.66.66 0 1 0 0 1.322h14.467a.66.66 0 0 0 0-1.322h-3.55a3.593 3.593 0 0 0-2.18-2.704Zm.827 2.704a2.26 2.26 0 0 0-.58-.984 2.276 2.276 0 0 0-3.796.984h4.376ZM4 13a.66.66 0 0 1 .66-.66h10.468a.66.66 0 1 1 0 1.32H4.661A.66.66 0 0 1 4 13Zm2 3a.66.66 0 0 1 .66-.66h6.468a.66.66 0 1 1 0 1.32H6.661A.66.66 0 0 1 6 16Z"},"children":[]}],"metadata":""}]},"name":"appearance-auto"};
|
|
7
|
+
|
|
8
|
+
export default AppearanceAuto;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const AppearanceDark: 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":"M8.677 3.59a6.545 6.545 0 1 0 6.57 10.323A6.788 6.788 0 0 1 8.677 3.59Zm1.418-1.584A.728.728 0 0 0 9.998 2a8 8 0 1 0 7.39 11.07.727.727 0 0 0-.945-.953 5.334 5.334 0 0 1-5.632-8.85.727.727 0 0 0-.495-1.26h-.221Z"},"children":[]}],"metadata":""}]},"name":"appearance-dark"};
|
|
7
|
+
|
|
8
|
+
export default AppearanceDark;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const AppearanceLight: 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":"M10 2a.66.66 0 0 1 .66.66v1.468a.66.66 0 1 1-1.32 0V2.661A.66.66 0 0 1 10 2ZM4.343 4.343a.66.66 0 0 1 .934 0l1.038 1.038a.66.66 0 1 1-.934.934L4.343 5.277a.66.66 0 0 1 0-.934Zm11.314 0a.66.66 0 0 1 0 .934l-1.038 1.038a.66.66 0 0 1-.934-.934l1.038-1.038a.66.66 0 0 1 .934 0Zm-5.652 2.025a3.596 3.596 0 1 1 .062 7.191 3.596 3.596 0 0 1-.062-7.191Zm.893 1.49a2.275 2.275 0 1 0-1.723 4.212 2.275 2.275 0 0 0 1.723-4.212ZM2 10a.66.66 0 0 1 .66-.66h1.468a.66.66 0 0 1 0 1.32H2.661A.66.66 0 0 1 2 10Zm13.211 0a.66.66 0 0 1 .66-.66h1.468a.66.66 0 0 1 0 1.32h-1.467a.66.66 0 0 1-.661-.66Zm-8.896 3.685a.66.66 0 0 1 0 .934l-1.038 1.038a.66.66 0 1 1-.934-.934l1.038-1.038a.66.66 0 0 1 .934 0Zm7.37 0a.66.66 0 0 1 .934 0l1.038 1.038a.66.66 0 0 1-.934.934l-1.038-1.038a.66.66 0 0 1 0-.934ZM10 15.21a.66.66 0 0 1 .66.66v1.468a.66.66 0 1 1-1.32 0v-1.467a.66.66 0 0 1 .66-.661Z"},"children":[]}],"metadata":""}]},"name":"appearance-light"};
|
|
7
|
+
|
|
8
|
+
export default AppearanceLight;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const ArrowsRightLeft: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20","fill":"none"},"children":[{"type":"element","tagName":"path","properties":{"clipRule":"evenodd","d":"M3.223 13.386a.75.75 0 0 0 0 1.061l2.833 2.833a.75.75 0 0 0 1.061-1.06l-1.553-1.553H16.25a.75.75 0 0 0 0-1.5H5.564l1.553-1.553a.75.75 0 0 0-1.06-1.061l-2.834 2.833ZM3 6.083c0 .415.336.75.75.75h10.686l-1.553 1.553a.75.75 0 1 0 1.06 1.061l2.834-2.833a.75.75 0 0 0 0-1.061L13.944 2.72a.75.75 0 0 0-1.061 1.06l1.553 1.553H3.75a.75.75 0 0 0-.75.75Z"},"children":[]}],"metadata":""}]},"name":"arrows-right-left"};
|
|
7
|
+
|
|
8
|
+
export default ArrowsRightLeft;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const Equation: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M11.667 2.306a.75.75 0 0 0-.701.483L6.323 15.005l-1.55-3.374a.75.75 0 0 0-.68-.437H1.943a.75.75 0 0 0 0 1.5h1.667l2.096 4.563a.75.75 0 0 0 1.383-.046l5.094-13.405h5.872a.75.75 0 0 0 0-1.5h-6.39Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M15.5 11.272c.62-.653 1.415-1.189 2.463-1.189a.75.75 0 1 1 0 1.5c-.479 0-.907.229-1.375.722-.402.422-.768.968-1.174 1.593.269.663.515 1.227.824 1.648.326.444.659.648 1.114.648a.75.75 0 0 1 0 1.5c-1.072 0-1.809-.56-2.323-1.26a6.493 6.493 0 0 1-.61-1.057 8.202 8.202 0 0 1-1.017 1.164c-.72.663-1.618 1.153-2.772 1.153a.75.75 0 1 1 0-1.5c.68 0 1.232-.273 1.754-.755.482-.445.906-1.037 1.347-1.705-.246-.6-.479-1.112-.765-1.502-.325-.444-.658-.649-1.114-.649a.75.75 0 0 1 0-1.5c1.072 0 1.81.56 2.324 1.262.202.275.379.585.537.905.248-.349.509-.685.787-.978Z"},"children":[]}],"metadata":""}]},"name":"equation"};
|
|
7
|
+
|
|
8
|
+
export default Equation;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const LockOutline: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20,"fill":"none"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M6.912 2.44C7.594 1.488 8.647 1 10 1s2.406.487 3.088 1.44c.647.908.882 2.135.882 3.477v.913h.28c.707 0 1.408.2 1.939.692.54.5.811 1.216.811 2.058v5.67c0 .87-.54 1.56-1.041 1.986-.263.223-.55.406-.827.536-.26.122-.575.228-.882.228h-8.5C4.107 18 3 16.744 3 15.25V9.58c0-.842.273-1.559.813-2.059.53-.49 1.23-.691 1.937-.691h.28v-.913c0-1.342.235-2.569.882-3.476Zm.618 4.39h4.94v-.913c0-1.21-.22-2.067-.603-2.605-.35-.49-.908-.812-1.867-.812-.96 0-1.516.321-1.867.812-.384.538-.603 1.395-.603 2.605v.913ZM4.832 8.623c-.175.161-.332.445-.332.957v5.67c0 .715.484 1.25 1.25 1.25h8.502a.979.979 0 0 0 .242-.086c.155-.072.33-.183.493-.321.35-.298.513-.608.513-.843V9.58c0-.513-.157-.797-.33-.958-.184-.17-.484-.292-.92-.292h-8.5c-.434 0-.734.122-.918.293ZM10 10.5a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-1.5 0v-2.25a.75.75 0 0 1 .75-.75Z","fill":"currentColor"},"children":[]}],"metadata":""}]},"name":"lock-outline"};
|
|
7
|
+
|
|
8
|
+
export default LockOutline;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const Logout: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M18.78 9.47a.75.75 0 0 1 0 1.06l-2.5 2.499a.75.75 0 0 1-1.06-1.06l1.22-1.22H8.75a.75.75 0 1 1 0-1.499h7.69l-1.22-1.219a.75.75 0 1 1 1.06-1.06l2.5 2.499Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M11.75 3.5a.75.75 0 0 1 .75.75V6A.75.75 0 0 0 14 6V4.25A2.25 2.25 0 0 0 11.75 2h-6.5A2.25 2.25 0 0 0 3 4.25v11.5A2.25 2.25 0 0 0 5.25 18h6.5A2.25 2.25 0 0 0 14 15.75V14a.75.75 0 0 0-1.5 0v1.75a.75.75 0 0 1-.75.75h-6.5a.75.75 0 0 1-.75-.75V4.25a.75.75 0 0 1 .75-.75h6.5Z"},"children":[]}],"metadata":""}]},"name":"logout"};
|
|
7
|
+
|
|
8
|
+
export default Logout;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const PrivateItems: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20,"fill":"none"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M9.506 2a3.65 3.65 0 1 1 0 7.3 3.65 3.65 0 0 1 0-7.3Zm0 1.5a2.15 2.15 0 1 1 0 4.3 2.15 2.15 0 0 1 0-4.3ZM4.518 16.23c.008.126.123.27.338.27h3.9a.75.75 0 0 1 0 1.5h-3.9c-.915 0-1.77-.67-1.835-1.672-.036-.556-.045-1.33.136-1.961.41-1.431 1.392-2.363 2.566-2.92.931-.442 1.994-.657 3.035-.723a.714.714 0 0 1 .75.726c0 .414-.336.747-.75.777-.87.065-1.7.247-2.392.575-.87.413-1.5 1.043-1.767 1.978-.105.367-.116.921-.081 1.45ZM12 13.417a2.417 2.417 0 1 1 3.167 2.298v1.535a.75.75 0 0 1-1.5 0v-1.535A2.418 2.418 0 0 1 12 13.417Zm2.417-.917a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.833Z","fill":"currentColor"},"children":[]}],"metadata":""}]},"name":"private-items"};
|
|
7
|
+
|
|
8
|
+
export default PrivateItems;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const ShowAuthor: 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":"M10 9C8.07 9 6.5 7.43 6.5 5.5S8.07 2 10 2s3.5 1.57 3.5 3.5S11.93 9 10 9Zm0-5.5c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M8.78 17.95c-1.3-.1-2.57-.34-3.77-.72-.62-.2-1.13-.65-1.4-1.24-.26-.58-.27-1.25 0-1.83A7.002 7.002 0 0 1 10 9.99l.243.02c.437.035.67.053.9.095.262.048.52.126 1.074.294l.533.161c.38.16.56.6.39.98-.16.38-.6.56-.98.39-.7-.3-1.43-.45-2.16-.45-2.17 0-4.14 1.29-5.02 3.27-.09.19-.08.41 0 .6.09.2.27.36.48.43 1.09.34 2.24.56 3.43.65.41.03.72.39.69.8-.03.39-.41.72-.8.72Z"},"children":[]},{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M10.72 18.28c.14.14.33.22.53.22v-.01c.08 0 .16-.01.24-.04l2.46-.85c.25-.09.48-.23.67-.42l3.3-3.3c.78-.78.77-2.03 0-2.81-.78-.77-2.04-.77-2.81 0l-3.3 3.3c-.19.19-.34.42-.42.67l-.85 2.46c-.09.28-.02.58.18.78Zm5.45-6.14c.1-.09.22-.14.34-.14l-.01-.01c.13 0 .25.05.35.15.19.19.19.49 0 .68l-3.3 3.3a.18.18 0 0 1-.09.06l-1 .35.35-1c.01-.03.03-.06.06-.09l3.3-3.3Z"},"children":[]}],"metadata":""}]},"name":"show-author"};
|
|
7
|
+
|
|
8
|
+
export default ShowAuthor;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const UnitsDate: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20,"fill":"none"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M14 3.6h1.6A2.4 2.4 0 0 1 18 6v9.6a2.4 2.4 0 0 1-2.4 2.4H4.4A2.4 2.4 0 0 1 2 15.6V6a2.4 2.4 0 0 1 2.4-2.4H6v-.8a.8.8 0 0 1 1.6 0v.8h4.8v-.8a.8.8 0 0 1 1.6 0v.8Zm2.166 12.566a.8.8 0 0 0 .234-.566V10H3.6v5.6a.8.8 0 0 0 .8.8h11.2a.8.8 0 0 0 .566-.234ZM3.6 8.4h12.8V6a.8.8 0 0 0-.8-.8H14V6a.8.8 0 0 1-1.6 0v-.8H7.6V6A.8.8 0 0 1 6 6v-.8H4.4a.8.8 0 0 0-.8.8v2.4ZM5.5 12a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-9Z","fill":"currentColor"},"children":[]}],"metadata":""}]},"name":"units-date"};
|
|
7
|
+
|
|
8
|
+
export default UnitsDate;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const UnlockFilled: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20,"fill":"none"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M14 1c-1.363 0-2.425.5-3.11 1.483-.654.934-.89 2.196-.89 3.577v.77H4.75c-.706 0-1.406.2-1.937.691C2.273 8.021 2 8.737 2 9.58v5.67C2 16.744 3.107 18 4.75 18h8.5c.307 0 .622-.106.882-.228.277-.13.564-.313.827-.536.5-.426 1.041-1.116 1.041-1.986V9.58c0-.842-.271-1.558-.811-2.058-.53-.492-1.232-.692-1.939-.692h-1.739v-.77c0-1.245.221-2.127.608-2.68.354-.506.914-.836 1.881-.836s1.527.33 1.88.836c.38.543.524 1.208.578 1.874.033.412.363.746.776.746.42 0 .764-.344.732-.764-.073-.974-.29-1.943-.855-2.753C16.424 1.5 15.363 1 14 1ZM9.75 11.25a.75.75 0 0 0-1.5 0v2.25a.75.75 0 0 0 1.5 0v-2.25Z","fill":"currentColor"},"children":[]}],"metadata":""}]},"name":"unlock-filled"};
|
|
7
|
+
|
|
8
|
+
export default UnlockFilled;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const UnlockOutline: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20,"fill":"none"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M14 1c-1.363 0-2.425.5-3.11 1.483-.654.934-.89 2.196-.89 3.577v.77H4.75c-.706 0-1.406.2-1.937.691C2.273 8.021 2 8.737 2 9.58v5.67C2 16.744 3.107 18 4.75 18h8.5c.307 0 .622-.106.882-.228.277-.13.564-.313.827-.536.5-.426 1.041-1.116 1.041-1.986V9.58c0-.842-.271-1.558-.811-2.058-.53-.492-1.232-.692-1.939-.692h-1.739v-.77c0-1.245.221-2.127.608-2.68.354-.506.914-.836 1.881-.836s1.527.33 1.88.836c.391.559.532 1.246.582 1.932.03.413.36.748.775.748.42 0 .763-.343.734-.761-.07-.996-.282-1.989-.86-2.816C16.424 1.5 15.363 1 14 1ZM3.832 8.623c-.175.161-.332.445-.332.957v5.67c0 .715.484 1.25 1.25 1.25h8.502c.017-.004.099-.018.242-.086.155-.072.33-.183.493-.321.35-.298.513-.608.513-.843V9.58c0-.513-.157-.797-.33-.958-.184-.17-.484-.292-.92-.292h-8.5c-.434 0-.734.122-.918.293ZM9.75 11.25a.75.75 0 0 0-1.5 0v2.25a.75.75 0 0 0 1.5 0v-2.25Z","fill":"currentColor"},"children":[]}],"metadata":""}]},"name":"unlock-outline"};
|
|
7
|
+
|
|
8
|
+
export default UnlockOutline;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const WorkspaceMap: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M8.103 10.903 4.4 14.613V13.5a.7.7 0 1 0-1.4 0v2.8a.7.7 0 0 0 .7.7h2.8a.7.7 0 1 0 0-1.4H5.387l3.71-3.703a.703.703 0 0 0-.994-.994ZM5.387 4.4H6.5a.7.7 0 1 0 0-1.4H3.7a.7.7 0 0 0-.7.7v2.8a.7.7 0 1 0 1.4 0V5.387l3.703 3.71a.7.7 0 0 0 .994 0 .7.7 0 0 0 0-.994L5.387 4.4ZM16.3 12.8a.7.7 0 0 0-.7.7v1.113l-3.703-3.71a.703.703 0 1 0-.994.994l3.71 3.703H13.5a.7.7 0 1 0 0 1.4h2.8a.7.7 0 0 0 .7-.7v-2.8a.7.7 0 0 0-.7-.7Zm.644-9.366A.7.7 0 0 0 16.3 3h-2.8a.7.7 0 1 0 0 1.4h1.113l-3.71 3.703a.7.7 0 0 0 0 .994.7.7 0 0 0 .994 0l3.703-3.71V6.5a.7.7 0 1 0 1.4 0V3.7a.7.7 0 0 0-.056-.266Z"},"children":[]}],"metadata":""}]},"name":"workspace-map"};
|
|
7
|
+
|
|
8
|
+
export default WorkspaceMap;
|
package/src/icons/ast/index.tsx
CHANGED
|
@@ -18,6 +18,9 @@ export { default as AppTemplates } from './AppTemplates';
|
|
|
18
18
|
export { default as AppWebhooks } from './AppWebhooks';
|
|
19
19
|
export { default as AppWiki } from './AppWiki';
|
|
20
20
|
export { default as App } from './App';
|
|
21
|
+
export { default as AppearanceAuto } from './AppearanceAuto';
|
|
22
|
+
export { default as AppearanceDark } from './AppearanceDark';
|
|
23
|
+
export { default as AppearanceLight } from './AppearanceLight';
|
|
21
24
|
export { default as ArrowBarLeft } from './ArrowBarLeft';
|
|
22
25
|
export { default as ArrowBarRight } from './ArrowBarRight';
|
|
23
26
|
export { default as ArrowBottom } from './ArrowBottom';
|
|
@@ -28,6 +31,7 @@ export { default as ArrowLeft } from './ArrowLeft';
|
|
|
28
31
|
export { default as ArrowRight } from './ArrowRight';
|
|
29
32
|
export { default as ArrowTop } from './ArrowTop';
|
|
30
33
|
export { default as ArrowUpCircle } from './ArrowUpCircle';
|
|
34
|
+
export { default as ArrowsRightLeft } from './ArrowsRightLeft';
|
|
31
35
|
export { default as AskForInput } from './AskForInput';
|
|
32
36
|
export { default as Atom } from './Atom';
|
|
33
37
|
export { default as AutomationsCancelled } from './AutomationsCancelled';
|
|
@@ -83,6 +87,7 @@ export { default as EditValue } from './EditValue';
|
|
|
83
87
|
export { default as Email } from './Email';
|
|
84
88
|
export { default as EmojiDelete } from './EmojiDelete';
|
|
85
89
|
export { default as EntityMerge } from './EntityMerge';
|
|
90
|
+
export { default as Equation } from './Equation';
|
|
86
91
|
export { default as Export } from './Export';
|
|
87
92
|
export { default as ExtensionAssignments } from './ExtensionAssignments';
|
|
88
93
|
export { default as ExtensionAvatar } from './ExtensionAvatar';
|
|
@@ -143,7 +148,9 @@ export { default as LeftPanel } from './LeftPanel';
|
|
|
143
148
|
export { default as Levels } from './Levels';
|
|
144
149
|
export { default as LineDivider } from './LineDivider';
|
|
145
150
|
export { default as Link } from './Link';
|
|
151
|
+
export { default as LockOutline } from './LockOutline';
|
|
146
152
|
export { default as Lock } from './Lock';
|
|
153
|
+
export { default as Logout } from './Logout';
|
|
147
154
|
export { default as Loom } from './Loom';
|
|
148
155
|
export { default as LoupeZoomIn } from './LoupeZoomIn';
|
|
149
156
|
export { default as LoupeZoomOut } from './LoupeZoomOut';
|
|
@@ -165,7 +172,6 @@ export { default as MoveLeft } from './MoveLeft';
|
|
|
165
172
|
export { default as MoveRight } from './MoveRight';
|
|
166
173
|
export { default as MoveSpace } from './MoveSpace';
|
|
167
174
|
export { default as MoveTop } from './MoveTop';
|
|
168
|
-
export { default as MySpace } from './MySpace';
|
|
169
175
|
export { default as NetworkAdd } from './NetworkAdd';
|
|
170
176
|
export { default as Network } from './Network';
|
|
171
177
|
export { default as Notifications } from './Notifications';
|
|
@@ -186,6 +192,7 @@ export { default as PinFilled } from './PinFilled';
|
|
|
186
192
|
export { default as Pin } from './Pin';
|
|
187
193
|
export { default as Popup } from './Popup';
|
|
188
194
|
export { default as Posts } from './Posts';
|
|
195
|
+
export { default as PrivateItems } from './PrivateItems';
|
|
189
196
|
export { default as Question } from './Question';
|
|
190
197
|
export { default as Refresh } from './Refresh';
|
|
191
198
|
export { default as RemovePeople } from './RemovePeople';
|
|
@@ -249,6 +256,7 @@ export { default as Settings } from './Settings';
|
|
|
249
256
|
export { default as Share } from './Share';
|
|
250
257
|
export { default as Shared } from './Shared';
|
|
251
258
|
export { default as ShieldKeyhole } from './ShieldKeyhole';
|
|
259
|
+
export { default as ShowAuthor } from './ShowAuthor';
|
|
252
260
|
export { default as SidebarFieldsOpened } from './SidebarFieldsOpened';
|
|
253
261
|
export { default as SidebarFields } from './SidebarFields';
|
|
254
262
|
export { default as Sidebar } from './Sidebar';
|
|
@@ -294,6 +302,7 @@ export { default as TypeUrl } from './TypeUrl';
|
|
|
294
302
|
export { default as UnitsAvatar } from './UnitsAvatar';
|
|
295
303
|
export { default as UnitsCollection } from './UnitsCollection';
|
|
296
304
|
export { default as UnitsCounter } from './UnitsCounter';
|
|
305
|
+
export { default as UnitsDate } from './UnitsDate';
|
|
297
306
|
export { default as UnitsDbBadgeAbbr } from './UnitsDbBadgeAbbr';
|
|
298
307
|
export { default as UnitsDbBadgeFull } from './UnitsDbBadgeFull';
|
|
299
308
|
export { default as UnitsDbIcon } from './UnitsDbIcon';
|
|
@@ -304,6 +313,8 @@ export { default as UnitsProgressBar } from './UnitsProgressBar';
|
|
|
304
313
|
export { default as UnitsRichText } from './UnitsRichText';
|
|
305
314
|
export { default as UnitsSnippet } from './UnitsSnippet';
|
|
306
315
|
export { default as Unlink } from './Unlink';
|
|
316
|
+
export { default as UnlockFilled } from './UnlockFilled';
|
|
317
|
+
export { default as UnlockOutline } from './UnlockOutline';
|
|
307
318
|
export { default as Upgrade } from './Upgrade';
|
|
308
319
|
export { default as UsbFlashDrive } from './UsbFlashDrive';
|
|
309
320
|
export { default as UserRole } from './UserRole';
|
|
@@ -323,6 +334,7 @@ export { default as ViewTimeline } from './ViewTimeline';
|
|
|
323
334
|
export { default as Views } from './Views';
|
|
324
335
|
export { default as WarningTriangle } from './WarningTriangle';
|
|
325
336
|
export { default as Warning } from './Warning';
|
|
337
|
+
export { default as WorkspaceMap } from './WorkspaceMap';
|
|
326
338
|
export { default as Youtube } from './Youtube';
|
|
327
339
|
export { default as ZoomIn } from './ZoomIn';
|
|
328
340
|
export { default as ZoomOut } from './ZoomOut';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import AppearanceAutoSvg from '../ast/AppearanceAuto';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const AppearanceAuto = forwardRef<SVGSVGElement, IconBaseProps>(function AppearanceAuto(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={AppearanceAutoSvg} />});
|
|
12
|
+
|
|
13
|
+
export default AppearanceAuto;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import AppearanceDarkSvg from '../ast/AppearanceDark';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const AppearanceDark = forwardRef<SVGSVGElement, IconBaseProps>(function AppearanceDark(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={AppearanceDarkSvg} />});
|
|
12
|
+
|
|
13
|
+
export default AppearanceDark;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import AppearanceLightSvg from '../ast/AppearanceLight';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const AppearanceLight = forwardRef<SVGSVGElement, IconBaseProps>(function AppearanceLight(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={AppearanceLightSvg} />});
|
|
12
|
+
|
|
13
|
+
export default AppearanceLight;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import ArrowsRightLeftSvg from '../ast/ArrowsRightLeft';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const ArrowsRightLeft = forwardRef<SVGSVGElement, IconBaseProps>(function ArrowsRightLeft(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={ArrowsRightLeftSvg} />});
|
|
12
|
+
|
|
13
|
+
export default ArrowsRightLeft;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import EquationSvg from '../ast/Equation';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const Equation = forwardRef<SVGSVGElement, IconBaseProps>(function Equation(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={EquationSvg} />});
|
|
12
|
+
|
|
13
|
+
export default Equation;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import LockOutlineSvg from '../ast/LockOutline';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const LockOutline = forwardRef<SVGSVGElement, IconBaseProps>(function LockOutline(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={LockOutlineSvg} />});
|
|
12
|
+
|
|
13
|
+
export default LockOutline;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// This icon file is generated automatically.
|
|
2
2
|
|
|
3
3
|
import {forwardRef} from 'react';
|
|
4
|
-
import
|
|
4
|
+
import LogoutSvg from '../ast/Logout';
|
|
5
5
|
import { Icon } from '../Icon';
|
|
6
6
|
import { IconBaseProps } from '../types';
|
|
7
7
|
|
|
8
|
-
const
|
|
8
|
+
const Logout = forwardRef<SVGSVGElement, IconBaseProps>(function Logout(
|
|
9
9
|
props: IconBaseProps,
|
|
10
10
|
ref: React.Ref<SVGSVGElement>
|
|
11
|
-
) {return <Icon {...props} className={props.className} ref={ref} icon={
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={LogoutSvg} />});
|
|
12
12
|
|
|
13
|
-
export default
|
|
13
|
+
export default Logout;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import PrivateItemsSvg from '../ast/PrivateItems';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const PrivateItems = forwardRef<SVGSVGElement, IconBaseProps>(function PrivateItems(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={PrivateItemsSvg} />});
|
|
12
|
+
|
|
13
|
+
export default PrivateItems;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import ShowAuthorSvg from '../ast/ShowAuthor';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const ShowAuthor = forwardRef<SVGSVGElement, IconBaseProps>(function ShowAuthor(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={ShowAuthorSvg} />});
|
|
12
|
+
|
|
13
|
+
export default ShowAuthor;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import UnitsDateSvg from '../ast/UnitsDate';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const UnitsDate = forwardRef<SVGSVGElement, IconBaseProps>(function UnitsDate(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={UnitsDateSvg} />});
|
|
12
|
+
|
|
13
|
+
export default UnitsDate;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import UnlockFilledSvg from '../ast/UnlockFilled';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const UnlockFilled = forwardRef<SVGSVGElement, IconBaseProps>(function UnlockFilled(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={UnlockFilledSvg} />});
|
|
12
|
+
|
|
13
|
+
export default UnlockFilled;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import UnlockOutlineSvg from '../ast/UnlockOutline';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const UnlockOutline = forwardRef<SVGSVGElement, IconBaseProps>(function UnlockOutline(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={UnlockOutlineSvg} />});
|
|
12
|
+
|
|
13
|
+
export default UnlockOutline;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import WorkspaceMapSvg from '../ast/WorkspaceMap';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const WorkspaceMap = forwardRef<SVGSVGElement, IconBaseProps>(function WorkspaceMap(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={WorkspaceMapSvg} />});
|
|
12
|
+
|
|
13
|
+
export default WorkspaceMap;
|
|
@@ -18,6 +18,9 @@ export { default as AppTemplates } from './AppTemplates';
|
|
|
18
18
|
export { default as AppWebhooks } from './AppWebhooks';
|
|
19
19
|
export { default as AppWiki } from './AppWiki';
|
|
20
20
|
export { default as App } from './App';
|
|
21
|
+
export { default as AppearanceAuto } from './AppearanceAuto';
|
|
22
|
+
export { default as AppearanceDark } from './AppearanceDark';
|
|
23
|
+
export { default as AppearanceLight } from './AppearanceLight';
|
|
21
24
|
export { default as ArrowBarLeft } from './ArrowBarLeft';
|
|
22
25
|
export { default as ArrowBarRight } from './ArrowBarRight';
|
|
23
26
|
export { default as ArrowBottom } from './ArrowBottom';
|
|
@@ -28,6 +31,7 @@ export { default as ArrowLeft } from './ArrowLeft';
|
|
|
28
31
|
export { default as ArrowRight } from './ArrowRight';
|
|
29
32
|
export { default as ArrowTop } from './ArrowTop';
|
|
30
33
|
export { default as ArrowUpCircle } from './ArrowUpCircle';
|
|
34
|
+
export { default as ArrowsRightLeft } from './ArrowsRightLeft';
|
|
31
35
|
export { default as AskForInput } from './AskForInput';
|
|
32
36
|
export { default as Atom } from './Atom';
|
|
33
37
|
export { default as AutomationsCancelled } from './AutomationsCancelled';
|
|
@@ -83,6 +87,7 @@ export { default as EditValue } from './EditValue';
|
|
|
83
87
|
export { default as Email } from './Email';
|
|
84
88
|
export { default as EmojiDelete } from './EmojiDelete';
|
|
85
89
|
export { default as EntityMerge } from './EntityMerge';
|
|
90
|
+
export { default as Equation } from './Equation';
|
|
86
91
|
export { default as Export } from './Export';
|
|
87
92
|
export { default as ExtensionAssignments } from './ExtensionAssignments';
|
|
88
93
|
export { default as ExtensionAvatar } from './ExtensionAvatar';
|
|
@@ -143,7 +148,9 @@ export { default as LeftPanel } from './LeftPanel';
|
|
|
143
148
|
export { default as Levels } from './Levels';
|
|
144
149
|
export { default as LineDivider } from './LineDivider';
|
|
145
150
|
export { default as Link } from './Link';
|
|
151
|
+
export { default as LockOutline } from './LockOutline';
|
|
146
152
|
export { default as Lock } from './Lock';
|
|
153
|
+
export { default as Logout } from './Logout';
|
|
147
154
|
export { default as Loom } from './Loom';
|
|
148
155
|
export { default as LoupeZoomIn } from './LoupeZoomIn';
|
|
149
156
|
export { default as LoupeZoomOut } from './LoupeZoomOut';
|
|
@@ -165,7 +172,6 @@ export { default as MoveLeft } from './MoveLeft';
|
|
|
165
172
|
export { default as MoveRight } from './MoveRight';
|
|
166
173
|
export { default as MoveSpace } from './MoveSpace';
|
|
167
174
|
export { default as MoveTop } from './MoveTop';
|
|
168
|
-
export { default as MySpace } from './MySpace';
|
|
169
175
|
export { default as NetworkAdd } from './NetworkAdd';
|
|
170
176
|
export { default as Network } from './Network';
|
|
171
177
|
export { default as Notifications } from './Notifications';
|
|
@@ -186,6 +192,7 @@ export { default as PinFilled } from './PinFilled';
|
|
|
186
192
|
export { default as Pin } from './Pin';
|
|
187
193
|
export { default as Popup } from './Popup';
|
|
188
194
|
export { default as Posts } from './Posts';
|
|
195
|
+
export { default as PrivateItems } from './PrivateItems';
|
|
189
196
|
export { default as Question } from './Question';
|
|
190
197
|
export { default as Refresh } from './Refresh';
|
|
191
198
|
export { default as RemovePeople } from './RemovePeople';
|
|
@@ -249,6 +256,7 @@ export { default as Settings } from './Settings';
|
|
|
249
256
|
export { default as Share } from './Share';
|
|
250
257
|
export { default as Shared } from './Shared';
|
|
251
258
|
export { default as ShieldKeyhole } from './ShieldKeyhole';
|
|
259
|
+
export { default as ShowAuthor } from './ShowAuthor';
|
|
252
260
|
export { default as SidebarFieldsOpened } from './SidebarFieldsOpened';
|
|
253
261
|
export { default as SidebarFields } from './SidebarFields';
|
|
254
262
|
export { default as Sidebar } from './Sidebar';
|
|
@@ -294,6 +302,7 @@ export { default as TypeUrl } from './TypeUrl';
|
|
|
294
302
|
export { default as UnitsAvatar } from './UnitsAvatar';
|
|
295
303
|
export { default as UnitsCollection } from './UnitsCollection';
|
|
296
304
|
export { default as UnitsCounter } from './UnitsCounter';
|
|
305
|
+
export { default as UnitsDate } from './UnitsDate';
|
|
297
306
|
export { default as UnitsDbBadgeAbbr } from './UnitsDbBadgeAbbr';
|
|
298
307
|
export { default as UnitsDbBadgeFull } from './UnitsDbBadgeFull';
|
|
299
308
|
export { default as UnitsDbIcon } from './UnitsDbIcon';
|
|
@@ -304,6 +313,8 @@ export { default as UnitsProgressBar } from './UnitsProgressBar';
|
|
|
304
313
|
export { default as UnitsRichText } from './UnitsRichText';
|
|
305
314
|
export { default as UnitsSnippet } from './UnitsSnippet';
|
|
306
315
|
export { default as Unlink } from './Unlink';
|
|
316
|
+
export { default as UnlockFilled } from './UnlockFilled';
|
|
317
|
+
export { default as UnlockOutline } from './UnlockOutline';
|
|
307
318
|
export { default as Upgrade } from './Upgrade';
|
|
308
319
|
export { default as UsbFlashDrive } from './UsbFlashDrive';
|
|
309
320
|
export { default as UserRole } from './UserRole';
|
|
@@ -323,6 +334,7 @@ export { default as ViewTimeline } from './ViewTimeline';
|
|
|
323
334
|
export { default as Views } from './Views';
|
|
324
335
|
export { default as WarningTriangle } from './WarningTriangle';
|
|
325
336
|
export { default as Warning } from './Warning';
|
|
337
|
+
export { default as WorkspaceMap } from './WorkspaceMap';
|
|
326
338
|
export { default as Youtube } from './Youtube';
|
|
327
339
|
export { default as ZoomIn } from './ZoomIn';
|
|
328
340
|
export { default as ZoomOut } from './ZoomOut';
|
package/src/select/index.tsx
CHANGED
|
@@ -172,13 +172,14 @@ export const Select = forwardRef(function Select<
|
|
|
172
172
|
}, [styles, virtualized, zIndex]);
|
|
173
173
|
const contextRef = useRef<SelectInstance<Option, IsMulti, Group> | null>(null);
|
|
174
174
|
const combined = useComposedRefs(forwardedRef, contextRef);
|
|
175
|
+
|
|
175
176
|
return (
|
|
176
177
|
<ReactSelectRefContext.Provider value={contextRef as RefObject<SelectInstance>}>
|
|
177
178
|
<BaseSelect<Option, IsMulti, Group>
|
|
178
179
|
ref={combined}
|
|
179
180
|
// There are places, where it is useful to override menuPortalTarget globally for all selects.
|
|
180
181
|
// When you are already in some popup. e.g. user input in buttons, relation filter popover.
|
|
181
|
-
menuPortalTarget={
|
|
182
|
+
menuPortalTarget={getPopupContainerElement ? getPopupContainerElement() : menuPortalTarget}
|
|
182
183
|
menuPlacement={"auto"}
|
|
183
184
|
styles={combinedStyles}
|
|
184
185
|
isMulti={isCollectionMode}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {createContext, ReactNode, useContext, useMemo} from "react";
|
|
2
2
|
|
|
3
|
-
const SelectControlSettings = createContext<{getPopupContainerElement?: () => HTMLElement; zIndex?: number}>({});
|
|
3
|
+
const SelectControlSettings = createContext<{getPopupContainerElement?: () => HTMLElement | null; zIndex?: number}>({});
|
|
4
4
|
|
|
5
5
|
// Overrides zIndex and getPopupContainerElement for all selects, except select-in-popover.
|
|
6
6
|
// It has more priority than "menuPortalTarget" prop. Use at your own risk!
|
|
@@ -10,7 +10,7 @@ export function SelectControlSettingsProvider({
|
|
|
10
10
|
zIndex,
|
|
11
11
|
}: {
|
|
12
12
|
children: ReactNode;
|
|
13
|
-
getPopupContainerElement?: () => HTMLElement;
|
|
13
|
+
getPopupContainerElement?: () => HTMLElement | null;
|
|
14
14
|
zIndex?: number;
|
|
15
15
|
}) {
|
|
16
16
|
const settings = useMemo(() => ({getPopupContainerElement, zIndex}), [getPopupContainerElement, zIndex]);
|
package/src/toggle.tsx
CHANGED
|
@@ -168,7 +168,14 @@ export const Toggle: FC<ToggleProps> = ({
|
|
|
168
168
|
<Input
|
|
169
169
|
outlineColor={outlineColor}
|
|
170
170
|
onChange={onChange}
|
|
171
|
-
className={
|
|
171
|
+
className={cx(
|
|
172
|
+
className,
|
|
173
|
+
disabled
|
|
174
|
+
? css`
|
|
175
|
+
cursor: default;
|
|
176
|
+
`
|
|
177
|
+
: null
|
|
178
|
+
)}
|
|
172
179
|
type="checkbox"
|
|
173
180
|
disabled={disabled}
|
|
174
181
|
checked={value}
|
package/src/tooltip.tsx
CHANGED
|
@@ -31,31 +31,29 @@ export const tooltipStyle = css`
|
|
|
31
31
|
padding: ${space.s6}px ${space.s8}px;
|
|
32
32
|
border-radius: ${border.radius6}px;
|
|
33
33
|
box-shadow: ${themeVars.actionMenuShadow};
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
opacity: 0;
|
|
39
|
-
transform: scale(0.8);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
to {
|
|
43
|
-
opacity: 1;
|
|
44
|
-
transform: scale(1);
|
|
45
|
-
}
|
|
34
|
+
@keyframes zoomIn {
|
|
35
|
+
from {
|
|
36
|
+
opacity: 0;
|
|
37
|
+
transform: scale(0.8);
|
|
46
38
|
}
|
|
47
39
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
40
|
+
to {
|
|
41
|
+
opacity: 1;
|
|
42
|
+
transform: scale(1);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
52
45
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
46
|
+
@keyframes zoomOut {
|
|
47
|
+
from {
|
|
48
|
+
transform: scale(1);
|
|
57
49
|
}
|
|
58
50
|
|
|
51
|
+
to {
|
|
52
|
+
opacity: 0;
|
|
53
|
+
transform: scale(0.8);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
59
57
|
will-change: transform, opacity;
|
|
60
58
|
transform-origin: var(--radix-tooltip-content-transform-origin);
|
|
61
59
|
animation-duration: 0.1s;
|
package/src/icons/ast/MySpace.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// This icon file is generated automatically.
|
|
3
|
-
|
|
4
|
-
import { IconDefinition } from '../types';
|
|
5
|
-
|
|
6
|
-
const MySpace: 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":"M6.912 2.94C7.594 1.988 8.647 1.5 10 1.5s2.406.487 3.088 1.44c.647.908.882 2.135.882 3.477v.913h.28c.707 0 1.408.2 1.939.692.54.5.811 1.216.811 2.058v5.67c0 .87-.54 1.56-1.041 1.986-.263.223-.55.406-.827.536-.26.122-.575.228-.882.228h-8.5C4.107 18.5 3 17.244 3 15.75v-5.67c0-.842.273-1.559.813-2.059.53-.49 1.23-.691 1.937-.691h.28v-.913c0-1.342.235-2.569.882-3.476Zm.618 4.39h4.94v-.913c0-1.21-.22-2.067-.603-2.605C11.517 3.322 10.959 3 10 3c-.96 0-1.516.321-1.867.812-.384.538-.603 1.395-.603 2.605v.913ZM4.832 9.123c-.175.161-.332.445-.332.957v5.67c0 .715.484 1.25 1.25 1.25h8.502a.979.979 0 0 0 .242-.086c.155-.072.33-.183.493-.321.35-.298.513-.608.513-.843v-5.67c0-.513-.157-.797-.33-.958-.184-.17-.484-.292-.92-.292h-8.5c-.434 0-.734.122-.918.293ZM10 11a.75.75 0 0 1 .75.75V14a.75.75 0 0 1-1.5 0v-2.25A.75.75 0 0 1 10 11Z"},"children":[]}],"metadata":""}]},"name":"my-space"};
|
|
7
|
-
|
|
8
|
-
export default MySpace;
|