@fibery/ui-kit 1.34.1 → 1.34.3
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 +6 -6
- package/src/antd/styles.ts +4 -4
- package/src/button/base-button.tsx +10 -8
- package/src/button/button.tsx +1 -1
- package/src/button/icon-button.tsx +1 -1
- package/src/design-system.ts +25 -26
- package/src/icons/ast/CommentBubble.ts +8 -0
- package/src/icons/ast/EditValue.ts +8 -0
- package/src/icons/ast/Equation.ts +8 -0
- package/src/icons/ast/LockOutline.ts +8 -0
- package/src/icons/ast/LoupeZoomOut.ts +1 -1
- package/src/icons/ast/ShowAuthor.ts +8 -0
- package/src/icons/ast/TextToolAlignBottom.ts +8 -0
- package/src/icons/ast/TextToolAlignMiddle.ts +8 -0
- package/src/icons/ast/TextToolAlignTop.ts +8 -0
- package/src/icons/ast/UnitsFieldIconButton.ts +8 -0
- package/src/icons/ast/UnlockFilled.ts +8 -0
- package/src/icons/ast/UnlockOutline.ts +8 -0
- package/src/icons/ast/index.tsx +11 -0
- package/src/icons/react/CommentBubble.tsx +13 -0
- package/src/icons/react/EditValue.tsx +13 -0
- package/src/icons/react/Equation.tsx +13 -0
- package/src/icons/react/LockOutline.tsx +13 -0
- package/src/icons/react/ShowAuthor.tsx +13 -0
- package/src/icons/react/TextToolAlignBottom.tsx +13 -0
- package/src/icons/react/TextToolAlignMiddle.tsx +13 -0
- package/src/icons/react/TextToolAlignTop.tsx +13 -0
- package/src/icons/react/UnitsFieldIconButton.tsx +13 -0
- package/src/icons/react/UnlockFilled.tsx +13 -0
- package/src/icons/react/UnlockOutline.tsx +13 -0
- package/src/icons/react/index.tsx +11 -0
- package/src/select/styles.ts +1 -1
- package/src/theme-styles.ts +5 -5
- package/src/toggle.tsx +8 -1
- package/src/tooltip.tsx +18 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fibery/ui-kit",
|
|
3
|
-
"version": "1.34.
|
|
3
|
+
"version": "1.34.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"src/antd/styles.ts",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
],
|
|
36
36
|
"license": "UNLICENSED",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@linaria/core": "
|
|
39
|
-
"@linaria/react": "
|
|
38
|
+
"@linaria/core": "6.2.0",
|
|
39
|
+
"@linaria/react": "6.2.1",
|
|
40
40
|
"@popperjs/core": "2.11.6",
|
|
41
41
|
"@radix-ui/react-collapsible": "1.1.0",
|
|
42
42
|
"@radix-ui/react-context-menu": "2.2.1",
|
|
@@ -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/emoji-data": "2.6.0",
|
|
78
77
|
"@fibery/helpers": "1.3.0",
|
|
79
|
-
"@fibery/react": "1.4.0"
|
|
78
|
+
"@fibery/react": "1.4.0",
|
|
79
|
+
"@fibery/emoji-data": "2.6.0"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"react": "^18.2.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@babel/core": "7.23.9",
|
|
87
87
|
"@babel/runtime": "7.23.9",
|
|
88
|
-
"@
|
|
88
|
+
"@wyw-in-js/babel-preset": "0.5.5",
|
|
89
89
|
"@testing-library/dom": "8.19.1",
|
|
90
90
|
"@testing-library/jest-dom": "5.16.5",
|
|
91
91
|
"@testing-library/react": "13.4.0",
|
package/src/antd/styles.ts
CHANGED
|
@@ -34,7 +34,7 @@ export const inputOverrides = {
|
|
|
34
34
|
transition: `box-shadow ${transition}`,
|
|
35
35
|
boxShadow: `var(--input-border, ${themeVars.inputBorderColor})`,
|
|
36
36
|
letterSpacing: 0,
|
|
37
|
-
"
|
|
37
|
+
"&::placeholder": {
|
|
38
38
|
color: themeVars.inputPlaceholderTextColor,
|
|
39
39
|
},
|
|
40
40
|
},
|
|
@@ -54,7 +54,7 @@ export const inputOverrides = {
|
|
|
54
54
|
transition: `box-shadow ${transition}`,
|
|
55
55
|
WebkitTextFillColor: "currentColor",
|
|
56
56
|
cursor: "default",
|
|
57
|
-
"
|
|
57
|
+
"&:hover": {
|
|
58
58
|
boxShadow: `${themeVars.inputDisabledBorderColor}`,
|
|
59
59
|
},
|
|
60
60
|
},
|
|
@@ -74,8 +74,8 @@ export const inputStyles = css`
|
|
|
74
74
|
padding: 0,
|
|
75
75
|
textAlign: "left",
|
|
76
76
|
boxShadow: shadows.border,
|
|
77
|
-
"
|
|
78
|
-
"
|
|
77
|
+
"&:hover": inputOverrides.hover,
|
|
78
|
+
"&:focus": inputOverrides.focus,
|
|
79
79
|
},
|
|
80
80
|
"& .ant-input-group": {borderSpacing: 1, ...textStyles.regular},
|
|
81
81
|
"& .ant-input": inputOverrides.main,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {css, CSSProperties, cx} from "@linaria/core";
|
|
2
2
|
import {forwardRef} from "react";
|
|
3
3
|
import {themeVars} from "../design-system";
|
|
4
4
|
import {iconColorVar} from "../icons/Icon";
|
|
@@ -31,10 +31,10 @@ export const baseButton = css`
|
|
|
31
31
|
|
|
32
32
|
box-shadow: inset 0 0 0 1px var(--fibery-button-border-color);
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
&:hover:not(:disabled) {
|
|
35
35
|
background-color: var(--fibery-button-hover-color);
|
|
36
36
|
}
|
|
37
|
-
|
|
37
|
+
&:active {
|
|
38
38
|
color: var(--fibery-button-text-active-color);
|
|
39
39
|
${iconColorVar}: var(--fibery-button-text-active-color);
|
|
40
40
|
}
|
|
@@ -46,16 +46,16 @@ export const baseButton = css`
|
|
|
46
46
|
background-color: var(--fibery-button-hover-color);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
&:disabled {
|
|
50
50
|
cursor: default;
|
|
51
51
|
opacity: 0.4;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
&:focus {
|
|
55
55
|
outline: none;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
&:focus-visible {
|
|
59
59
|
background-color: var(--fibery-button-hover-color);
|
|
60
60
|
outline: 2px solid var(--fibery-button-focus-color);
|
|
61
61
|
}
|
|
@@ -63,8 +63,10 @@ export const baseButton = css`
|
|
|
63
63
|
|
|
64
64
|
const reset = css`
|
|
65
65
|
/* make sure it doesn't reset properties set from outside (https://the.fibery.io/SoftDev/bug/Next-button-in-integration-is-flaky-and-can-be-out-of-style-10916) */
|
|
66
|
-
:global(
|
|
67
|
-
|
|
66
|
+
:global() {
|
|
67
|
+
button:where(.${baseButton}) {
|
|
68
|
+
all: unset;
|
|
69
|
+
}
|
|
68
70
|
}
|
|
69
71
|
`;
|
|
70
72
|
|
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
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
import chroma from "chroma-js";
|
|
3
3
|
import ColorHash from "color-hash";
|
|
4
4
|
import _ from "lodash";
|
|
5
|
+
import {a11yColor} from "./a11y-color";
|
|
6
|
+
import {createInlineTheme as createInlineStyles, varPrefix} from "./create-inline-theme";
|
|
5
7
|
import {
|
|
6
8
|
blackA,
|
|
7
9
|
blue,
|
|
@@ -18,8 +20,6 @@ import {
|
|
|
18
20
|
yellow,
|
|
19
21
|
yellowDark,
|
|
20
22
|
} from "./palette";
|
|
21
|
-
import {a11yColor} from "./a11y-color";
|
|
22
|
-
import {createInlineTheme as createInlineStyles, varPrefix} from "./create-inline-theme";
|
|
23
23
|
import {ThemeMode} from "./theme-settings";
|
|
24
24
|
|
|
25
25
|
export const typeSizes = [26, 24, 18, 16, 14, 12, 10, 8] as const;
|
|
@@ -341,15 +341,17 @@ export const themeColors = {
|
|
|
341
341
|
],
|
|
342
342
|
// :focus
|
|
343
343
|
colorBgEntityBoxDefaultFocus: [whiteA.whiteA0, slateDark.slate3],
|
|
344
|
+
colorOverlayEntityBoxDefaultFocus: [indigo.indigo9, indigoDark.indigo9],
|
|
344
345
|
shadowStrokeEntityBoxDefaultFocus: [
|
|
345
|
-
`0 0 0 2px ${getOpacities(indigo.indigo9).
|
|
346
|
-
`0 0 0 2px ${getOpacities(indigoDark.indigo9).
|
|
346
|
+
`0 0 0 2px ${getOpacities(indigo.indigo9).opacity40}`,
|
|
347
|
+
`0 0 0 2px ${getOpacities(indigoDark.indigo9).opacity40}`,
|
|
347
348
|
],
|
|
348
349
|
// :focus:hover
|
|
349
350
|
colorBgEntityBoxDefaultFocusHover: [whiteA.whiteA0, slateDark.slate4],
|
|
351
|
+
colorOverlayEntityBoxDefaultFocusHover: [indigo.indigo9, indigoDark.indigo9],
|
|
350
352
|
shadowStrokeEntityBoxDefaultFocusHover: [
|
|
351
|
-
`0 0 0 2px ${getOpacities(indigo.indigo9).
|
|
352
|
-
`0 0 0 2px ${getOpacities(indigoDark.indigo9).
|
|
353
|
+
`0 0 0 2px ${getOpacities(indigo.indigo9).opacity60}`,
|
|
354
|
+
`0 0 0 2px ${getOpacities(indigoDark.indigo9).opacity60}`,
|
|
353
355
|
],
|
|
354
356
|
//::drag
|
|
355
357
|
opacityEntityBoxDefaultDrag: [`${opacity.opacity40}`, `${opacity.opacity40}`],
|
|
@@ -426,6 +428,11 @@ export const themeColors = {
|
|
|
426
428
|
allowedDropColor: [getOpacities(slate.slate3).opacity80, getOpacities(slateDark.slate3).opacity80],
|
|
427
429
|
relationViewBgColor: [slate.slate2, slateDark.slate3],
|
|
428
430
|
|
|
431
|
+
mySpaceIconColor: [blackA.blackA11, whiteA.whiteA11],
|
|
432
|
+
mySpaceIconBg: [getOpacities(blackA.blackA11).opacity20, getOpacities(whiteA.whiteA11).opacity20],
|
|
433
|
+
favoritesIconColor: [yellow.yellow8, yellowDark.yellow11],
|
|
434
|
+
favoritesIconBg: [getOpacities(yellow.yellow8).opacity20, getOpacities(yellowDark.yellow11).opacity20],
|
|
435
|
+
|
|
429
436
|
// Unit
|
|
430
437
|
unitBg: [slate.slate3, slateDark.slate6],
|
|
431
438
|
unitBgHover: [slate.slate4, slateDark.slate7],
|
|
@@ -459,27 +466,10 @@ export const themeColors = {
|
|
|
459
466
|
infoBox: [getOpacities(yellow.yellow4).opacity50, getOpacities(yellowDark.yellow9).opacity20],
|
|
460
467
|
appCardBgColor: [whiteA.whiteA0, slateDark.slate2],
|
|
461
468
|
appCardHoverColor: [getOpacities(slate.slate1).opacity95, slateDark.slate2],
|
|
462
|
-
appCardShadow: [
|
|
463
|
-
`0 0 0 1px ${getOpacities(slate.slate10).opacity10}, 0 2px 4px -4px ${getOpacities(slate.slate10).opacity20}`,
|
|
464
|
-
`0 0 0 1px ${getOpacities(slateDark.slate8).opacity50}, 0 2px 4px -4px ${getOpacities(slateDark.slate1).opacity50}`,
|
|
465
|
-
],
|
|
466
|
-
appCardShadowHover: [
|
|
467
|
-
`0 0 0 1px ${getOpacities(slate.slate10).opacity10}, 0 6px 8px -4px ${getOpacities(slate.slate10).opacity30}`,
|
|
468
|
-
`0 0 0 1px ${getOpacities(slateDark.slate8).opacity60}, 0 6px 8px -4px ${
|
|
469
|
-
getOpacities(slateDark.slate1).opacity100
|
|
470
|
-
}`,
|
|
471
|
-
],
|
|
472
469
|
modalBg: [getOpacities(slate.slate11).opacity20, getOpacities(slateDark.slate2).opacity50],
|
|
473
470
|
modalContentBg: [whiteA.whiteA0, slateDark.slate3],
|
|
474
471
|
progressIconBg: [getOpacities(slate.slate8).opacity50, getOpacities(slateDark.slate10).opacity20],
|
|
475
472
|
progressIconFill: [slate.slate11, slateDark.slate11],
|
|
476
|
-
instrumentsMenuBg: [getOpacities(whiteA.whiteA0).opacity95, getOpacities(slateDark.slate4).opacity95],
|
|
477
|
-
instrumentsMenuShadow: [
|
|
478
|
-
`0 0 0 1px ${getOpacities(slate.slate10).opacity10}, 0 2px 12px -2px ${getOpacities(slate.slate10).opacity15}`,
|
|
479
|
-
`0 0 0 1px ${getOpacities(slateDark.slate1).opacity10}, 0 2px 12px -6px ${
|
|
480
|
-
getOpacities(slateDark.slate1).opacity15
|
|
481
|
-
}`,
|
|
482
|
-
],
|
|
483
473
|
selectedColorBorder: [getOpacities(slate.slate6).opacity25, getOpacities(slate.slate6).opacity25],
|
|
484
474
|
formBg: [slate.slate2, slateDark.slate2],
|
|
485
475
|
formHeaderShadow: [
|
|
@@ -511,6 +501,7 @@ export const themeColors = {
|
|
|
511
501
|
progressText: [slate.slate11, slate.slate11],
|
|
512
502
|
progressFillBg: [slate.slate11, slate.slate11],
|
|
513
503
|
progressFillText: [whiteA.whiteA0, whiteA.whiteA0],
|
|
504
|
+
progressBarFillNeutral: [getOpacities(slate.slate9).opacity20, getOpacities(slateDark.slate9).opacity20],
|
|
514
505
|
progressBarFill: [indigo.indigo9, indigoDark.indigo10],
|
|
515
506
|
progressBarBg: [getOpacities(indigo.indigo9).opacity25, getOpacities(indigoDark.indigo10).opacity25],
|
|
516
507
|
searchFiltersBg: [slate.slate1, slateDark.slate2],
|
|
@@ -621,13 +612,11 @@ export const themeColors = {
|
|
|
621
612
|
colorBgToastDefault: [slate.slate1, slateDark.slate1],
|
|
622
613
|
colorBgDbTabHover: [slate.slate3, slateDark.slate4],
|
|
623
614
|
colorBgDbTabFocus: [slate.slate6, slateDark.slate6],
|
|
624
|
-
|
|
625
615
|
colorBgTabHover: [getOpacities(slate.slate11).opacity10, getOpacities(slateDark.slate11).opacity10],
|
|
626
616
|
|
|
627
617
|
// Chat
|
|
628
618
|
colorBgMessageContainer: [slate.slate3, slateDark.slate6],
|
|
629
619
|
colorBgMessageContainerHover: [slate.slate2, slateDark.slate3],
|
|
630
|
-
|
|
631
620
|
colorBgEntityAvatarDefault: [indigo.indigo1, indigoDark.indigo1],
|
|
632
621
|
colorBgEntityAvatarHover: [indigo.indigo3, indigoDark.indigo3],
|
|
633
622
|
colorTextEntityAvatarDefault: [indigo.indigo8, indigoDark.indigo8],
|
|
@@ -635,6 +624,16 @@ export const themeColors = {
|
|
|
635
624
|
|
|
636
625
|
// Text editor
|
|
637
626
|
colorBgEditorImageZoomed: [getOpacities(slate.slate3).opacity90, getOpacities(slateDark.slate6).opacity90],
|
|
627
|
+
|
|
628
|
+
//Whiteboard
|
|
629
|
+
instrumentsMenuBg: [getOpacities(whiteA.whiteA0).opacity95, getOpacities(slateDark.slate4).opacity95],
|
|
630
|
+
instrumentsMenuShadow: [
|
|
631
|
+
`0 0 0 1px ${getOpacities(slate.slate10).opacity10}, 0 2px 12px -2px ${getOpacities(slate.slate10).opacity15}`,
|
|
632
|
+
`0 0 0 1px ${getOpacities(slateDark.slate1).opacity10}, 0 2px 12px -6px ${
|
|
633
|
+
getOpacities(slateDark.slate1).opacity15
|
|
634
|
+
}`,
|
|
635
|
+
],
|
|
636
|
+
commentBubbleBg: [whiteA.whiteA0, slateDark.slate6],
|
|
638
637
|
} as const;
|
|
639
638
|
|
|
640
639
|
type ThemeDefs = typeof themeColors;
|
|
@@ -911,7 +910,7 @@ export const layout = {
|
|
|
911
910
|
enumItemHeight: 32,
|
|
912
911
|
menuItemHeight: 32,
|
|
913
912
|
newMenuItemHeight: 28, // I'm ok
|
|
914
|
-
newMenuIconSize:
|
|
913
|
+
newMenuIconSize: 18,
|
|
915
914
|
viewHeaderHeight: space.s12 * 7,
|
|
916
915
|
viewHeaderCompactHeight: 52,
|
|
917
916
|
columnMinWidth: 240,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const CommentBubble: 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":"m3.506 13.734.012.023c.262.491.272 1.031.258 1.347-.016.38-.086.784-.193 1.173-.094.345-.23.728-.416 1.106.751-.145 1.525-.41 2.087-.697l.681-.35.683.347a7.43 7.43 0 0 0 3.38.811c4.132 0 7.496-3.364 7.496-7.497 0-4.132-3.364-7.497-7.497-7.497C5.865 2.5 2.5 5.865 2.5 9.997c0 1.308.348 2.6.993 3.715l.013.022Zm4.829 5.105a8.99 8.99 0 0 1-2.397-.819c-1.017.522-2.58.98-3.868.98a5.38 5.38 0 0 1-.271-.007.843.843 0 0 1-.551-1.439c.84-.84 1.214-2.59.946-3.09A8.956 8.956 0 0 1 1 9.996C1 5.037 5.036 1 9.997 1s8.997 4.036 8.997 8.997-4.036 8.997-8.997 8.997a8.935 8.935 0 0 1-1.662-.155Z"},"children":[]}],"metadata":""}]},"name":"comment-bubble"};
|
|
7
|
+
|
|
8
|
+
export default CommentBubble;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const EditValue: 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":"M3.5 6.25a.75.75 0 0 1 .75-.75h11.5a.75.75 0 0 1 .75.75v2a.75.75 0 0 0 1.5 0v-2A2.25 2.25 0 0 0 15.75 4H4.25A2.25 2.25 0 0 0 2 6.25v5.5A2.25 2.25 0 0 0 4.25 14H12a.75.75 0 0 0 0-1.5H4.25a.75.75 0 0 1-.75-.75v-5.5Zm2.25 2a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5h-2.5Zm9 2a.75.75 0 0 0 0 1.5h1v4.5h-1a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5h-1v-4.5h1a.75.75 0 0 0 0-1.5h-3.5Z","fill":"currentColor"},"children":[]}],"metadata":""}]},"name":"edit-value"};
|
|
7
|
+
|
|
8
|
+
export default EditValue;
|
|
@@ -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;
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
import { IconDefinition } from '../types';
|
|
5
5
|
|
|
6
|
-
const LoupeZoomOut: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M6.5 8.05a.75.75 0 1 0 0 1.5H11a.75.75 0 0 0 0-1.
|
|
6
|
+
const LoupeZoomOut: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M6.5 8.05a.75.75 0 1 0 0 1.5H11a.75.75 0 0 0 0-1.5z"},"children":[]},{"type":"element","tagName":"path","properties":{"clipRule":"evenodd","d":"M8.75 15.835a7.055 7.055 0 0 0 4.378-1.514l3.782 3.77a.835.835 0 0 0 1.18-1.182l-3.78-3.768a7.085 7.085 0 1 0-5.56 2.694zM3.335 8.75a5.415 5.415 0 1 1 10.83 0 5.415 5.415 0 0 1-10.83 0z","fillRule":"evenodd"},"children":[]}],"metadata":""}]},"name":"loupe-zoom-out"};
|
|
7
7
|
|
|
8
8
|
export default LoupeZoomOut;
|
|
@@ -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 TextToolAlignBottom: 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":"M1.5 11a.75.75 0 0 1 .75-.75h15.5a.75.75 0 0 1 0 1.5H2.25A.75.75 0 0 1 1.5 11Zm0 5a.75.75 0 0 1 .75-.75h15.5a.75.75 0 0 1 0 1.5H2.25A.75.75 0 0 1 1.5 16Z"},"children":[]}],"metadata":""}]},"name":"text-tool-align-bottom"};
|
|
7
|
+
|
|
8
|
+
export default TextToolAlignBottom;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const TextToolAlignMiddle: 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":"M1.5 7.5a.75.75 0 0 1 .75-.75h15.5a.75.75 0 0 1 0 1.5H2.25a.75.75 0 0 1-.75-.75Zm0 5a.75.75 0 0 1 .75-.75h15.5a.75.75 0 0 1 0 1.5H2.25a.75.75 0 0 1-.75-.75Z"},"children":[]}],"metadata":""}]},"name":"text-tool-align-middle"};
|
|
7
|
+
|
|
8
|
+
export default TextToolAlignMiddle;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const TextToolAlignTop: 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":"M1.5 4a.75.75 0 0 1 .75-.75h15.5a.75.75 0 0 1 0 1.5H2.25A.75.75 0 0 1 1.5 4Zm0 5a.75.75 0 0 1 .75-.75h15.5a.75.75 0 0 1 0 1.5H2.25A.75.75 0 0 1 1.5 9Z"},"children":[]}],"metadata":""}]},"name":"text-tool-align-top"};
|
|
7
|
+
|
|
8
|
+
export default TextToolAlignTop;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const UnitsFieldIconButton: 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":"M5 12.75A2.25 2.25 0 0 0 7.25 15h5.5A2.25 2.25 0 0 0 15 12.75v-5.5A2.25 2.25 0 0 0 12.75 5h-5.5A2.25 2.25 0 0 0 5 7.25v5.5Zm1.5 0c0 .414.336.75.75.75h5.5a.75.75 0 0 0 .75-.75v-5.5a.75.75 0 0 0-.75-.75h-5.5a.75.75 0 0 0-.75.75v5.5Zm3-4.25a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1h-1Z","fill":"currentColor"},"children":[]}],"metadata":""}]},"name":"units-field-icon-button"};
|
|
7
|
+
|
|
8
|
+
export default UnitsFieldIconButton;
|
|
@@ -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;
|
package/src/icons/ast/index.tsx
CHANGED
|
@@ -65,6 +65,7 @@ export { default as ColorCoding } from './ColorCoding';
|
|
|
65
65
|
export { default as Columns2 } from './Columns2';
|
|
66
66
|
export { default as Columns4 } from './Columns4';
|
|
67
67
|
export { default as Columns } from './Columns';
|
|
68
|
+
export { default as CommentBubble } from './CommentBubble';
|
|
68
69
|
export { default as Copy } from './Copy';
|
|
69
70
|
export { default as Create } from './Create';
|
|
70
71
|
export { default as DatabaseStroke } from './DatabaseStroke';
|
|
@@ -78,9 +79,11 @@ export { default as DragBlockHandle } from './DragBlockHandle';
|
|
|
78
79
|
export { default as DragHandle } from './DragHandle';
|
|
79
80
|
export { default as Duplicate } from './Duplicate';
|
|
80
81
|
export { default as DynamicFilterValue } from './DynamicFilterValue';
|
|
82
|
+
export { default as EditValue } from './EditValue';
|
|
81
83
|
export { default as Email } from './Email';
|
|
82
84
|
export { default as EmojiDelete } from './EmojiDelete';
|
|
83
85
|
export { default as EntityMerge } from './EntityMerge';
|
|
86
|
+
export { default as Equation } from './Equation';
|
|
84
87
|
export { default as Export } from './Export';
|
|
85
88
|
export { default as ExtensionAssignments } from './ExtensionAssignments';
|
|
86
89
|
export { default as ExtensionAvatar } from './ExtensionAvatar';
|
|
@@ -141,6 +144,7 @@ export { default as LeftPanel } from './LeftPanel';
|
|
|
141
144
|
export { default as Levels } from './Levels';
|
|
142
145
|
export { default as LineDivider } from './LineDivider';
|
|
143
146
|
export { default as Link } from './Link';
|
|
147
|
+
export { default as LockOutline } from './LockOutline';
|
|
144
148
|
export { default as Lock } from './Lock';
|
|
145
149
|
export { default as Loom } from './Loom';
|
|
146
150
|
export { default as LoupeZoomIn } from './LoupeZoomIn';
|
|
@@ -247,6 +251,7 @@ export { default as Settings } from './Settings';
|
|
|
247
251
|
export { default as Share } from './Share';
|
|
248
252
|
export { default as Shared } from './Shared';
|
|
249
253
|
export { default as ShieldKeyhole } from './ShieldKeyhole';
|
|
254
|
+
export { default as ShowAuthor } from './ShowAuthor';
|
|
250
255
|
export { default as SidebarFieldsOpened } from './SidebarFieldsOpened';
|
|
251
256
|
export { default as SidebarFields } from './SidebarFields';
|
|
252
257
|
export { default as Sidebar } from './Sidebar';
|
|
@@ -264,6 +269,9 @@ export { default as Spinner } from './Spinner';
|
|
|
264
269
|
export { default as Success } from './Success';
|
|
265
270
|
export { default as Templates } from './Templates';
|
|
266
271
|
export { default as Terminal } from './Terminal';
|
|
272
|
+
export { default as TextToolAlignBottom } from './TextToolAlignBottom';
|
|
273
|
+
export { default as TextToolAlignMiddle } from './TextToolAlignMiddle';
|
|
274
|
+
export { default as TextToolAlignTop } from './TextToolAlignTop';
|
|
267
275
|
export { default as Twitter } from './Twitter';
|
|
268
276
|
export { default as TypeBoolean } from './TypeBoolean';
|
|
269
277
|
export { default as TypeButton } from './TypeButton';
|
|
@@ -292,12 +300,15 @@ export { default as UnitsCounter } from './UnitsCounter';
|
|
|
292
300
|
export { default as UnitsDbBadgeAbbr } from './UnitsDbBadgeAbbr';
|
|
293
301
|
export { default as UnitsDbBadgeFull } from './UnitsDbBadgeFull';
|
|
294
302
|
export { default as UnitsDbIcon } from './UnitsDbIcon';
|
|
303
|
+
export { default as UnitsFieldIconButton } from './UnitsFieldIconButton';
|
|
295
304
|
export { default as UnitsField } from './UnitsField';
|
|
296
305
|
export { default as UnitsInput } from './UnitsInput';
|
|
297
306
|
export { default as UnitsProgressBar } from './UnitsProgressBar';
|
|
298
307
|
export { default as UnitsRichText } from './UnitsRichText';
|
|
299
308
|
export { default as UnitsSnippet } from './UnitsSnippet';
|
|
300
309
|
export { default as Unlink } from './Unlink';
|
|
310
|
+
export { default as UnlockFilled } from './UnlockFilled';
|
|
311
|
+
export { default as UnlockOutline } from './UnlockOutline';
|
|
301
312
|
export { default as Upgrade } from './Upgrade';
|
|
302
313
|
export { default as UsbFlashDrive } from './UsbFlashDrive';
|
|
303
314
|
export { default as UserRole } from './UserRole';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import CommentBubbleSvg from '../ast/CommentBubble';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const CommentBubble = forwardRef<SVGSVGElement, IconBaseProps>(function CommentBubble(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={CommentBubbleSvg} />});
|
|
12
|
+
|
|
13
|
+
export default CommentBubble;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import EditValueSvg from '../ast/EditValue';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const EditValue = forwardRef<SVGSVGElement, IconBaseProps>(function EditValue(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={EditValueSvg} />});
|
|
12
|
+
|
|
13
|
+
export default EditValue;
|
|
@@ -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;
|
|
@@ -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 TextToolAlignBottomSvg from '../ast/TextToolAlignBottom';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const TextToolAlignBottom = forwardRef<SVGSVGElement, IconBaseProps>(function TextToolAlignBottom(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={TextToolAlignBottomSvg} />});
|
|
12
|
+
|
|
13
|
+
export default TextToolAlignBottom;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import TextToolAlignMiddleSvg from '../ast/TextToolAlignMiddle';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const TextToolAlignMiddle = forwardRef<SVGSVGElement, IconBaseProps>(function TextToolAlignMiddle(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={TextToolAlignMiddleSvg} />});
|
|
12
|
+
|
|
13
|
+
export default TextToolAlignMiddle;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import TextToolAlignTopSvg from '../ast/TextToolAlignTop';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const TextToolAlignTop = forwardRef<SVGSVGElement, IconBaseProps>(function TextToolAlignTop(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={TextToolAlignTopSvg} />});
|
|
12
|
+
|
|
13
|
+
export default TextToolAlignTop;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import UnitsFieldIconButtonSvg from '../ast/UnitsFieldIconButton';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const UnitsFieldIconButton = forwardRef<SVGSVGElement, IconBaseProps>(function UnitsFieldIconButton(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={UnitsFieldIconButtonSvg} />});
|
|
12
|
+
|
|
13
|
+
export default UnitsFieldIconButton;
|
|
@@ -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;
|
|
@@ -65,6 +65,7 @@ export { default as ColorCoding } from './ColorCoding';
|
|
|
65
65
|
export { default as Columns2 } from './Columns2';
|
|
66
66
|
export { default as Columns4 } from './Columns4';
|
|
67
67
|
export { default as Columns } from './Columns';
|
|
68
|
+
export { default as CommentBubble } from './CommentBubble';
|
|
68
69
|
export { default as Copy } from './Copy';
|
|
69
70
|
export { default as Create } from './Create';
|
|
70
71
|
export { default as DatabaseStroke } from './DatabaseStroke';
|
|
@@ -78,9 +79,11 @@ export { default as DragBlockHandle } from './DragBlockHandle';
|
|
|
78
79
|
export { default as DragHandle } from './DragHandle';
|
|
79
80
|
export { default as Duplicate } from './Duplicate';
|
|
80
81
|
export { default as DynamicFilterValue } from './DynamicFilterValue';
|
|
82
|
+
export { default as EditValue } from './EditValue';
|
|
81
83
|
export { default as Email } from './Email';
|
|
82
84
|
export { default as EmojiDelete } from './EmojiDelete';
|
|
83
85
|
export { default as EntityMerge } from './EntityMerge';
|
|
86
|
+
export { default as Equation } from './Equation';
|
|
84
87
|
export { default as Export } from './Export';
|
|
85
88
|
export { default as ExtensionAssignments } from './ExtensionAssignments';
|
|
86
89
|
export { default as ExtensionAvatar } from './ExtensionAvatar';
|
|
@@ -141,6 +144,7 @@ export { default as LeftPanel } from './LeftPanel';
|
|
|
141
144
|
export { default as Levels } from './Levels';
|
|
142
145
|
export { default as LineDivider } from './LineDivider';
|
|
143
146
|
export { default as Link } from './Link';
|
|
147
|
+
export { default as LockOutline } from './LockOutline';
|
|
144
148
|
export { default as Lock } from './Lock';
|
|
145
149
|
export { default as Loom } from './Loom';
|
|
146
150
|
export { default as LoupeZoomIn } from './LoupeZoomIn';
|
|
@@ -247,6 +251,7 @@ export { default as Settings } from './Settings';
|
|
|
247
251
|
export { default as Share } from './Share';
|
|
248
252
|
export { default as Shared } from './Shared';
|
|
249
253
|
export { default as ShieldKeyhole } from './ShieldKeyhole';
|
|
254
|
+
export { default as ShowAuthor } from './ShowAuthor';
|
|
250
255
|
export { default as SidebarFieldsOpened } from './SidebarFieldsOpened';
|
|
251
256
|
export { default as SidebarFields } from './SidebarFields';
|
|
252
257
|
export { default as Sidebar } from './Sidebar';
|
|
@@ -264,6 +269,9 @@ export { default as Spinner } from './Spinner';
|
|
|
264
269
|
export { default as Success } from './Success';
|
|
265
270
|
export { default as Templates } from './Templates';
|
|
266
271
|
export { default as Terminal } from './Terminal';
|
|
272
|
+
export { default as TextToolAlignBottom } from './TextToolAlignBottom';
|
|
273
|
+
export { default as TextToolAlignMiddle } from './TextToolAlignMiddle';
|
|
274
|
+
export { default as TextToolAlignTop } from './TextToolAlignTop';
|
|
267
275
|
export { default as Twitter } from './Twitter';
|
|
268
276
|
export { default as TypeBoolean } from './TypeBoolean';
|
|
269
277
|
export { default as TypeButton } from './TypeButton';
|
|
@@ -292,12 +300,15 @@ export { default as UnitsCounter } from './UnitsCounter';
|
|
|
292
300
|
export { default as UnitsDbBadgeAbbr } from './UnitsDbBadgeAbbr';
|
|
293
301
|
export { default as UnitsDbBadgeFull } from './UnitsDbBadgeFull';
|
|
294
302
|
export { default as UnitsDbIcon } from './UnitsDbIcon';
|
|
303
|
+
export { default as UnitsFieldIconButton } from './UnitsFieldIconButton';
|
|
295
304
|
export { default as UnitsField } from './UnitsField';
|
|
296
305
|
export { default as UnitsInput } from './UnitsInput';
|
|
297
306
|
export { default as UnitsProgressBar } from './UnitsProgressBar';
|
|
298
307
|
export { default as UnitsRichText } from './UnitsRichText';
|
|
299
308
|
export { default as UnitsSnippet } from './UnitsSnippet';
|
|
300
309
|
export { default as Unlink } from './Unlink';
|
|
310
|
+
export { default as UnlockFilled } from './UnlockFilled';
|
|
311
|
+
export { default as UnlockOutline } from './UnlockOutline';
|
|
301
312
|
export { default as Upgrade } from './Upgrade';
|
|
302
313
|
export { default as UsbFlashDrive } from './UsbFlashDrive';
|
|
303
314
|
export { default as UserRole } from './UserRole';
|
package/src/select/styles.ts
CHANGED
|
@@ -34,7 +34,7 @@ function createControlStyle({
|
|
|
34
34
|
minHeight: layout.inputHeight,
|
|
35
35
|
...(state.isFocused && inputOverrides.focus),
|
|
36
36
|
...(state.isDisabled && inputOverrides.disabled),
|
|
37
|
-
"
|
|
37
|
+
"&:hover": !state.isFocused && !state.isDisabled ? inputOverrides.hover : {},
|
|
38
38
|
paddingLeft: space.s10,
|
|
39
39
|
paddingRight: space.s12,
|
|
40
40
|
"& > div": childDivStyle,
|
package/src/theme-styles.ts
CHANGED
|
@@ -4,12 +4,12 @@ const lightTheme = getThemeColors(colors.brandColors.blue, "light");
|
|
|
4
4
|
const darkTheme = getThemeColors(colors.brandColors.blue, "dark");
|
|
5
5
|
|
|
6
6
|
export const themeStyles = css`
|
|
7
|
-
:global(
|
|
8
|
-
|
|
7
|
+
:global() {
|
|
8
|
+
html:root {
|
|
9
9
|
${createInlineTheme(lightTheme, [])}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
&.dark-theme {
|
|
11
|
+
${createInlineTheme(darkTheme, [])}
|
|
12
|
+
}
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
`;
|
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;
|