@fibery/ui-kit 1.26.2 → 1.26.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fibery/ui-kit",
|
|
3
|
-
"version": "1.26.
|
|
3
|
+
"version": "1.26.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"src/antd/styles.ts",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@types/ua-parser-js": "0.7.36",
|
|
46
46
|
"antd": "4.24.7",
|
|
47
47
|
"chroma-js": "2.1.2",
|
|
48
|
-
"chrono-node": "^2.
|
|
48
|
+
"chrono-node": "^2.7.5",
|
|
49
49
|
"classnames": "2.3.1",
|
|
50
50
|
"cmdk": "0.2.0",
|
|
51
51
|
"color-hash": "1.0.3",
|
|
@@ -103,8 +103,8 @@
|
|
|
103
103
|
"svgo": "2.8.0",
|
|
104
104
|
"typescript": "5.1.6",
|
|
105
105
|
"unist-util-reduce": "0.2.2",
|
|
106
|
-
"@fibery/
|
|
107
|
-
"@fibery/
|
|
106
|
+
"@fibery/babel-preset": "7.4.0",
|
|
107
|
+
"@fibery/eslint-config": "8.5.1"
|
|
108
108
|
},
|
|
109
109
|
"jest": {
|
|
110
110
|
"testEnvironment": "jsdom",
|
package/src/design-system.ts
CHANGED
|
@@ -377,6 +377,7 @@ export const themeColors = {
|
|
|
377
377
|
// :hover
|
|
378
378
|
colorBgMenuItemSelectedHover: [indigo.indigo6, indigoDark.indigo6],
|
|
379
379
|
// :focus, :focus:hover
|
|
380
|
+
colorBgObjectEditorSeparator: [slate.slate4, slateDark.slate4],
|
|
380
381
|
colorBgMenuItemSelectedFocused: [indigo.indigo6, indigoDark.indigo6],
|
|
381
382
|
colorBgFieldEditorContainer: [slate.slate2, slateDark.slate3],
|
|
382
383
|
colorBgFieldEditorLinkEqualSign: [slate.slate6, slateDark.slate2],
|
|
@@ -424,10 +425,8 @@ export const themeColors = {
|
|
|
424
425
|
],
|
|
425
426
|
modalBg: [getOpacities(slate.slate11).opacity20, getOpacities(slateDark.slate2).opacity50],
|
|
426
427
|
modalContentBg: [whiteA.whiteA0, slateDark.slate3],
|
|
427
|
-
progressIconBg: [getOpacities(slate.
|
|
428
|
-
progressIconFill: [
|
|
429
|
-
progressIconDoneBg: [getOpacities(slate.slate12).opacity80, getOpacities(slateDark.slate12).opacity90],
|
|
430
|
-
progressIconDoneFill: [getOpacities(slate.slate1).opacity95, getOpacities(slateDark.slate1).opacity80],
|
|
428
|
+
progressIconBg: [getOpacities(slate.slate8).opacity50, getOpacities(slateDark.slate10).opacity20],
|
|
429
|
+
progressIconFill: [slate.slate11, slateDark.slate11],
|
|
431
430
|
instrumentsMenuBg: [getOpacities(whiteA.whiteA0).opacity95, getOpacities(slateDark.slate4).opacity95],
|
|
432
431
|
instrumentsMenuShadow: [
|
|
433
432
|
`0 0 0 1px ${getOpacities(slate.slate10).opacity10}, 0 2px 8px -6px ${getOpacities(slate.slate10).opacity30}`,
|
|
@@ -764,6 +763,7 @@ export const layout = {
|
|
|
764
763
|
itemHeight: 36,
|
|
765
764
|
itemWithSubtitleHeight: 52,
|
|
766
765
|
groupTitleHeight: 30,
|
|
766
|
+
enumItemHeight: 32,
|
|
767
767
|
menuItemHeight: 32,
|
|
768
768
|
newMenuItemHeight: 30, // I'm ok
|
|
769
769
|
viewHeaderHeight: space.s12 * 7,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const Question: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20},"children":[{"type":"element","tagName":"path","properties":{"d":"M10.24 11.805c.255 0 .449-.201.449-.45v-.45c0-.122.216-.337.5-.616.53-.525 1.291-1.278 1.291-2.084 0-1.217-.926-2.475-2.474-2.475-1.796 0-2.457 1.634-2.456 2.475 0 .02 1.336 0 1.336 0 .03-.24.202-1.125 1.12-1.125.922 0 1.125.812 1.125 1.125 0 .535-.636 1.134-1.195 1.66-.439.414-.83.782-.83 1.04v.45c0 .241.202.45.45.45h.684Zm-1.134 1.8a.9.9 0 1 0 1.8 0 .9.9 0 0 0-1.8 0Z"},"children":[]}],"metadata":""}]},"name":"question"};
|
|
7
|
+
|
|
8
|
+
export default Question;
|
package/src/icons/ast/index.tsx
CHANGED
|
@@ -146,6 +146,7 @@ export { default as People } from './People';
|
|
|
146
146
|
export { default as Photo } from './Photo';
|
|
147
147
|
export { default as Popup } from './Popup';
|
|
148
148
|
export { default as Posts } from './Posts';
|
|
149
|
+
export { default as Question } from './Question';
|
|
149
150
|
export { default as RemovePeople } from './RemovePeople';
|
|
150
151
|
export { default as Remove } from './Remove';
|
|
151
152
|
export { default as Reply } from './Reply';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import QuestionSvg from '../ast/Question';
|
|
4
|
+
import { Icon } from '../Icon';
|
|
5
|
+
import { IconBaseProps } from '../types';
|
|
6
|
+
|
|
7
|
+
const Question = (
|
|
8
|
+
props: IconBaseProps,
|
|
9
|
+
): JSX.Element => <Icon {...props} icon={QuestionSvg} />;
|
|
10
|
+
|
|
11
|
+
Question.displayName = 'Question';
|
|
12
|
+
export default Question;
|
|
@@ -146,6 +146,7 @@ export { default as People } from './People';
|
|
|
146
146
|
export { default as Photo } from './Photo';
|
|
147
147
|
export { default as Popup } from './Popup';
|
|
148
148
|
export { default as Posts } from './Posts';
|
|
149
|
+
export { default as Question } from './Question';
|
|
149
150
|
export { default as RemovePeople } from './RemovePeople';
|
|
150
151
|
export { default as Remove } from './Remove';
|
|
151
152
|
export { default as Reply } from './Reply';
|
|
@@ -15,15 +15,15 @@ import React, {
|
|
|
15
15
|
import {Popup} from "../popup";
|
|
16
16
|
import {$TSFixMe} from "../tsfixme";
|
|
17
17
|
import {
|
|
18
|
+
ActionMeta,
|
|
18
19
|
combineStyles,
|
|
19
20
|
GroupBase,
|
|
21
|
+
OnChangeValue,
|
|
20
22
|
OptionsOrGroups,
|
|
23
|
+
PropsValue,
|
|
21
24
|
Select as ReactSelect,
|
|
22
25
|
SelectProps,
|
|
23
26
|
StylesConfig,
|
|
24
|
-
OnChangeValue,
|
|
25
|
-
ActionMeta,
|
|
26
|
-
PropsValue,
|
|
27
27
|
} from "./index";
|
|
28
28
|
import {SelectControlSettingsProvider} from "./select-control-settings-context";
|
|
29
29
|
|
|
@@ -72,7 +72,10 @@ export const selectInPopupStyles = {
|
|
|
72
72
|
}),
|
|
73
73
|
option: (props: $TSFixMe) => ({
|
|
74
74
|
...props,
|
|
75
|
+
padding: 0,
|
|
75
76
|
borderRadius: border.radius4,
|
|
77
|
+
paddingLeft: 0,
|
|
78
|
+
paddingRight: 0,
|
|
76
79
|
}),
|
|
77
80
|
menu: (props: $TSFixMe) => ({
|
|
78
81
|
...props,
|