@fibery/ui-kit 1.34.1 → 1.34.2
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 +4 -4
- package/src/antd/styles.ts +4 -4
- package/src/button/base-button.tsx +9 -7
- package/src/design-system.ts +16 -25
- package/src/icons/ast/CommentBubble.ts +8 -0
- package/src/icons/ast/EditValue.ts +8 -0
- package/src/icons/ast/LoupeZoomOut.ts +1 -1
- 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/index.tsx +6 -0
- package/src/icons/react/CommentBubble.tsx +13 -0
- package/src/icons/react/EditValue.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/index.tsx +6 -0
- package/src/select/styles.ts +1 -1
- package/src/theme-styles.ts +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fibery/ui-kit",
|
|
3
|
-
"version": "1.34.
|
|
3
|
+
"version": "1.34.2",
|
|
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",
|
|
@@ -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,
|
|
@@ -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/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;
|
|
@@ -342,14 +342,14 @@ export const themeColors = {
|
|
|
342
342
|
// :focus
|
|
343
343
|
colorBgEntityBoxDefaultFocus: [whiteA.whiteA0, slateDark.slate3],
|
|
344
344
|
shadowStrokeEntityBoxDefaultFocus: [
|
|
345
|
-
`0 0 0 2px ${getOpacities(indigo.indigo9).
|
|
346
|
-
`0 0 0 2px ${getOpacities(indigoDark.indigo9).
|
|
345
|
+
`0 0 0 2px ${getOpacities(indigo.indigo9).opacity40}`,
|
|
346
|
+
`0 0 0 2px ${getOpacities(indigoDark.indigo9).opacity40}`,
|
|
347
347
|
],
|
|
348
348
|
// :focus:hover
|
|
349
349
|
colorBgEntityBoxDefaultFocusHover: [whiteA.whiteA0, slateDark.slate4],
|
|
350
350
|
shadowStrokeEntityBoxDefaultFocusHover: [
|
|
351
|
-
`0 0 0 2px ${getOpacities(indigo.indigo9).
|
|
352
|
-
`0 0 0 2px ${getOpacities(indigoDark.indigo9).
|
|
351
|
+
`0 0 0 2px ${getOpacities(indigo.indigo9).opacity60}`,
|
|
352
|
+
`0 0 0 2px ${getOpacities(indigoDark.indigo9).opacity60}`,
|
|
353
353
|
],
|
|
354
354
|
//::drag
|
|
355
355
|
opacityEntityBoxDefaultDrag: [`${opacity.opacity40}`, `${opacity.opacity40}`],
|
|
@@ -459,27 +459,10 @@ export const themeColors = {
|
|
|
459
459
|
infoBox: [getOpacities(yellow.yellow4).opacity50, getOpacities(yellowDark.yellow9).opacity20],
|
|
460
460
|
appCardBgColor: [whiteA.whiteA0, slateDark.slate2],
|
|
461
461
|
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
462
|
modalBg: [getOpacities(slate.slate11).opacity20, getOpacities(slateDark.slate2).opacity50],
|
|
473
463
|
modalContentBg: [whiteA.whiteA0, slateDark.slate3],
|
|
474
464
|
progressIconBg: [getOpacities(slate.slate8).opacity50, getOpacities(slateDark.slate10).opacity20],
|
|
475
465
|
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
466
|
selectedColorBorder: [getOpacities(slate.slate6).opacity25, getOpacities(slate.slate6).opacity25],
|
|
484
467
|
formBg: [slate.slate2, slateDark.slate2],
|
|
485
468
|
formHeaderShadow: [
|
|
@@ -621,13 +604,11 @@ export const themeColors = {
|
|
|
621
604
|
colorBgToastDefault: [slate.slate1, slateDark.slate1],
|
|
622
605
|
colorBgDbTabHover: [slate.slate3, slateDark.slate4],
|
|
623
606
|
colorBgDbTabFocus: [slate.slate6, slateDark.slate6],
|
|
624
|
-
|
|
625
607
|
colorBgTabHover: [getOpacities(slate.slate11).opacity10, getOpacities(slateDark.slate11).opacity10],
|
|
626
608
|
|
|
627
609
|
// Chat
|
|
628
610
|
colorBgMessageContainer: [slate.slate3, slateDark.slate6],
|
|
629
611
|
colorBgMessageContainerHover: [slate.slate2, slateDark.slate3],
|
|
630
|
-
|
|
631
612
|
colorBgEntityAvatarDefault: [indigo.indigo1, indigoDark.indigo1],
|
|
632
613
|
colorBgEntityAvatarHover: [indigo.indigo3, indigoDark.indigo3],
|
|
633
614
|
colorTextEntityAvatarDefault: [indigo.indigo8, indigoDark.indigo8],
|
|
@@ -635,6 +616,16 @@ export const themeColors = {
|
|
|
635
616
|
|
|
636
617
|
// Text editor
|
|
637
618
|
colorBgEditorImageZoomed: [getOpacities(slate.slate3).opacity90, getOpacities(slateDark.slate6).opacity90],
|
|
619
|
+
|
|
620
|
+
//Whiteboard
|
|
621
|
+
instrumentsMenuBg: [getOpacities(whiteA.whiteA0).opacity95, getOpacities(slateDark.slate4).opacity95],
|
|
622
|
+
instrumentsMenuShadow: [
|
|
623
|
+
`0 0 0 1px ${getOpacities(slate.slate10).opacity10}, 0 2px 12px -2px ${getOpacities(slate.slate10).opacity15}`,
|
|
624
|
+
`0 0 0 1px ${getOpacities(slateDark.slate1).opacity10}, 0 2px 12px -6px ${
|
|
625
|
+
getOpacities(slateDark.slate1).opacity15
|
|
626
|
+
}`,
|
|
627
|
+
],
|
|
628
|
+
commentBubbleBg: [whiteA.whiteA0, slateDark.slate6],
|
|
638
629
|
} as const;
|
|
639
630
|
|
|
640
631
|
type ThemeDefs = typeof themeColors;
|
|
@@ -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;
|
|
@@ -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 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;
|
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,6 +79,7 @@ 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';
|
|
@@ -264,6 +266,9 @@ export { default as Spinner } from './Spinner';
|
|
|
264
266
|
export { default as Success } from './Success';
|
|
265
267
|
export { default as Templates } from './Templates';
|
|
266
268
|
export { default as Terminal } from './Terminal';
|
|
269
|
+
export { default as TextToolAlignBottom } from './TextToolAlignBottom';
|
|
270
|
+
export { default as TextToolAlignMiddle } from './TextToolAlignMiddle';
|
|
271
|
+
export { default as TextToolAlignTop } from './TextToolAlignTop';
|
|
267
272
|
export { default as Twitter } from './Twitter';
|
|
268
273
|
export { default as TypeBoolean } from './TypeBoolean';
|
|
269
274
|
export { default as TypeButton } from './TypeButton';
|
|
@@ -292,6 +297,7 @@ export { default as UnitsCounter } from './UnitsCounter';
|
|
|
292
297
|
export { default as UnitsDbBadgeAbbr } from './UnitsDbBadgeAbbr';
|
|
293
298
|
export { default as UnitsDbBadgeFull } from './UnitsDbBadgeFull';
|
|
294
299
|
export { default as UnitsDbIcon } from './UnitsDbIcon';
|
|
300
|
+
export { default as UnitsFieldIconButton } from './UnitsFieldIconButton';
|
|
295
301
|
export { default as UnitsField } from './UnitsField';
|
|
296
302
|
export { default as UnitsInput } from './UnitsInput';
|
|
297
303
|
export { default as UnitsProgressBar } from './UnitsProgressBar';
|
|
@@ -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 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;
|
|
@@ -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,6 +79,7 @@ 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';
|
|
@@ -264,6 +266,9 @@ export { default as Spinner } from './Spinner';
|
|
|
264
266
|
export { default as Success } from './Success';
|
|
265
267
|
export { default as Templates } from './Templates';
|
|
266
268
|
export { default as Terminal } from './Terminal';
|
|
269
|
+
export { default as TextToolAlignBottom } from './TextToolAlignBottom';
|
|
270
|
+
export { default as TextToolAlignMiddle } from './TextToolAlignMiddle';
|
|
271
|
+
export { default as TextToolAlignTop } from './TextToolAlignTop';
|
|
267
272
|
export { default as Twitter } from './Twitter';
|
|
268
273
|
export { default as TypeBoolean } from './TypeBoolean';
|
|
269
274
|
export { default as TypeButton } from './TypeButton';
|
|
@@ -292,6 +297,7 @@ export { default as UnitsCounter } from './UnitsCounter';
|
|
|
292
297
|
export { default as UnitsDbBadgeAbbr } from './UnitsDbBadgeAbbr';
|
|
293
298
|
export { default as UnitsDbBadgeFull } from './UnitsDbBadgeFull';
|
|
294
299
|
export { default as UnitsDbIcon } from './UnitsDbIcon';
|
|
300
|
+
export { default as UnitsFieldIconButton } from './UnitsFieldIconButton';
|
|
295
301
|
export { default as UnitsField } from './UnitsField';
|
|
296
302
|
export { default as UnitsInput } from './UnitsInput';
|
|
297
303
|
export { default as UnitsProgressBar } from './UnitsProgressBar';
|
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
|
`;
|