@salutejs/sdds-finai 0.323.0-canary.2397.20370453452.0 → 0.323.0-canary.2399.20427286988.0
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/dist/beta/cjs/Popover/Popover.closeInner.config.js +89 -0
- package/dist/beta/cjs/Popover/Popover.closeNone.config.js +81 -0
- package/dist/beta/cjs/Popover/Popover.js +37 -0
- package/dist/beta/cjs/Popover/index.js +11 -0
- package/dist/beta/cjs/index.js +18 -0
- package/dist/beta/es/Popover/Popover.closeInner.config.js +79 -0
- package/dist/beta/es/Popover/Popover.closeNone.config.js +71 -0
- package/dist/beta/es/Popover/Popover.js +16 -0
- package/dist/beta/es/Popover/index.js +1 -0
- package/dist/beta/es/index.js +1 -0
- package/dist/beta/types/Popover/Popover.closeInner.config.d.ts +16 -0
- package/dist/beta/types/Popover/Popover.closeNone.config.d.ts +16 -0
- package/dist/beta/types/Popover/Popover.d.ts +30 -0
- package/dist/beta/types/Popover/index.d.ts +1 -0
- package/dist/beta/types/index.d.ts +1 -0
- package/dist/styled-components/cjs/components/DatePicker/DatePicker.config.js +14 -34
- package/dist/styled-components/cjs/components/Range/Range.config.js +98 -249
- package/dist/styled-components/es/components/DatePicker/DatePicker.config.js +14 -34
- package/dist/styled-components/es/components/Range/Range.config.js +98 -249
- package/package.json +19 -11
- package/types/components/DatePicker/DatePicker.d.ts +5 -19
- package/types/components/InformationWrapper/InformationWrapper.d.ts +0 -2
- package/types/components/Range/Range.config.d.ts +0 -9
- package/types/components/Range/Range.d.ts +3 -562
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salutejs/sdds-finai",
|
|
3
|
-
"version": "0.323.0-canary.
|
|
3
|
+
"version": "0.323.0-canary.2399.20427286988.0",
|
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS FinAI web applications",
|
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
|
6
6
|
"exports": {
|
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
"import": "./dist/styled-components/es/index.js",
|
|
9
9
|
"require": "./dist/styled-components/cjs/index.js",
|
|
10
10
|
"types": "./types/index.d.ts"
|
|
11
|
+
},
|
|
12
|
+
"./beta": {
|
|
13
|
+
"import": "./dist/beta/es/index.js",
|
|
14
|
+
"require": "./dist/beta/cjs/index.js",
|
|
15
|
+
"types": "./dist/beta/types/index.d.ts"
|
|
11
16
|
}
|
|
12
17
|
},
|
|
13
18
|
"files": [
|
|
@@ -27,8 +32,8 @@
|
|
|
27
32
|
"directory": "packages/sdds-fiai"
|
|
28
33
|
},
|
|
29
34
|
"dependencies": {
|
|
30
|
-
"@salutejs/plasma-new-hope": "0.344.0-canary.
|
|
31
|
-
"@salutejs/sdds-themes": "0.
|
|
35
|
+
"@salutejs/plasma-new-hope": "0.344.0-canary.2399.20427286988.0",
|
|
36
|
+
"@salutejs/sdds-themes": "0.51.0-canary.2399.20427286988.0"
|
|
32
37
|
},
|
|
33
38
|
"peerDependencies": {
|
|
34
39
|
"react": ">=16.13.1",
|
|
@@ -44,10 +49,10 @@
|
|
|
44
49
|
"@babel/preset-react": "7.24.1",
|
|
45
50
|
"@babel/preset-typescript": "7.24.1",
|
|
46
51
|
"@salutejs/plasma-colors": "0.16.0",
|
|
47
|
-
"@salutejs/plasma-core": "1.212.0-canary.
|
|
48
|
-
"@salutejs/plasma-cy-utils": "0.142.0-canary.
|
|
52
|
+
"@salutejs/plasma-core": "1.212.0-canary.2399.20427286988.0",
|
|
53
|
+
"@salutejs/plasma-cy-utils": "0.142.0-canary.2399.20427286988.0",
|
|
49
54
|
"@salutejs/plasma-icons": "1.228.0",
|
|
50
|
-
"@salutejs/plasma-sb-utils": "0.212.0-canary.
|
|
55
|
+
"@salutejs/plasma-sb-utils": "0.212.0-canary.2399.20427286988.0",
|
|
51
56
|
"@types/node": "16.7.13",
|
|
52
57
|
"@types/react": "18.0.28",
|
|
53
58
|
"@types/react-dom": "18.0.11",
|
|
@@ -66,12 +71,15 @@
|
|
|
66
71
|
},
|
|
67
72
|
"scripts": {
|
|
68
73
|
"prepare": "npm run build",
|
|
69
|
-
"build": "npm run build:styled-components",
|
|
74
|
+
"build": "npm run build:styled-components && npm run build:beta",
|
|
70
75
|
"postbuild": "npm run generate:typings",
|
|
71
76
|
"build:styled-components": "rm -rf dist/styled-components && npm run build:styled-components:esm && npm run build:styled-components:cjs",
|
|
72
|
-
"build:styled-components:cjs": "swc ./src -d ./dist/styled-components/cjs --strip-leading-paths --config-file ../../swc.config.json -C module.type=commonjs",
|
|
73
|
-
"build:styled-components:esm": "swc ./src -d ./dist/styled-components/es --strip-leading-paths --config-file ../../swc.config.json -C module.type=es6",
|
|
74
|
-
"
|
|
77
|
+
"build:styled-components:cjs": "swc ./src --ignore \"src/components/_beta/**\" -d ./dist/styled-components/cjs --strip-leading-paths --config-file ../../swc.config.json -C module.type=commonjs",
|
|
78
|
+
"build:styled-components:esm": "swc ./src --ignore \"src/components/_beta/**\" -d ./dist/styled-components/es --strip-leading-paths --config-file ../../swc.config.json -C module.type=es6",
|
|
79
|
+
"build:beta": "rm -rf dist/beta && npm run build:beta:esm && npm run build:beta:cjs",
|
|
80
|
+
"build:beta:cjs": "swc ./src/components/_beta -d ./dist/beta/cjs --strip-leading-paths --config-file ../../swc.config.json -C module.type=commonjs && mv dist/beta/cjs/components/_beta/* dist/beta/cjs && rimraf dist/beta/cjs/components",
|
|
81
|
+
"build:beta:esm": "swc ./src/components/_beta -d ./dist/beta/es --strip-leading-paths --config-file ../../swc.config.json -C module.type=es6 && mv dist/beta/es/components/_beta/* dist/beta/es && rimraf dist/beta/es/components",
|
|
82
|
+
"generate:typings": "rm -rf types && tsc && rm -rf dist/beta/types && tsc -p src/components/_beta/tsconfig.json",
|
|
75
83
|
"storybook": "storybook dev -p ${PORT:-7007} -c .storybook",
|
|
76
84
|
"storybook:draft": "IS_DRAFT=true storybook dev -p ${PORT:-7007} -c .storybook",
|
|
77
85
|
"storybook:build:draft": "IS_DRAFT=true storybook build -c .storybook -o build-sb-draft",
|
|
@@ -91,5 +99,5 @@
|
|
|
91
99
|
"salute.developers@gmail.com"
|
|
92
100
|
],
|
|
93
101
|
"sideEffects": false,
|
|
94
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "f0c9bdb4c21f80ebc691c0bce42e4d5589696172"
|
|
95
103
|
}
|
|
@@ -95,43 +95,29 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
|
|
|
95
95
|
autoComplete?: string | undefined;
|
|
96
96
|
contentLeft?: React.ReactNode;
|
|
97
97
|
contentRight?: React.ReactNode;
|
|
98
|
-
appearance?: "default" | "clear" | undefined;
|
|
99
|
-
hintText?: string | undefined;
|
|
100
|
-
hintTrigger?: ("hover" | "click") | undefined;
|
|
101
|
-
hintTargetIcon?: React.ReactNode;
|
|
102
|
-
hintPlacement?: (import("@salutejs/plasma-new-hope/styled-components").Placement | Array<import("@salutejs/plasma-new-hope/styled-components").ComputedPlacement>) | undefined;
|
|
103
|
-
hintHasArrow?: boolean | undefined;
|
|
104
|
-
hintOffset?: [number, number] | undefined;
|
|
105
|
-
hintWidth?: string | undefined;
|
|
106
|
-
hintContentLeft?: React.ReactNode;
|
|
107
|
-
hintView?: string | undefined;
|
|
108
|
-
hintSize?: string | undefined;
|
|
109
|
-
titleCaption?: React.ReactNode;
|
|
110
98
|
leftHelper?: string | undefined;
|
|
99
|
+
requiredPlacement?: ("left" | "right") | undefined;
|
|
111
100
|
hasRequiredIndicator?: boolean | undefined;
|
|
112
|
-
hintTargetPlacement?: ("inner" | "outer") | undefined;
|
|
113
|
-
requiredIndicatorPlacement?: ("left" | "right") | undefined;
|
|
114
101
|
firstValueError?: boolean | undefined;
|
|
115
102
|
secondValueError?: boolean | undefined;
|
|
116
103
|
firstValueSuccess?: boolean | undefined;
|
|
117
104
|
secondValueSuccess?: boolean | undefined;
|
|
118
105
|
firstPlaceholder?: string | undefined;
|
|
119
106
|
secondPlaceholder?: string | undefined;
|
|
120
|
-
hasClearDivider?: boolean | undefined;
|
|
121
107
|
firstTextfieldContentLeft?: React.ReactElement | undefined;
|
|
122
108
|
firstTextfieldContentRight?: React.ReactElement | undefined;
|
|
123
109
|
secondTextfieldContentLeft?: React.ReactElement | undefined;
|
|
124
110
|
secondTextfieldContentRight?: React.ReactElement | undefined;
|
|
125
|
-
firstTextfieldTextBefore?: string | undefined;
|
|
126
|
-
secondTextfieldTextBefore?: string | undefined;
|
|
127
111
|
firstTextfieldTextAfter?: string | undefined;
|
|
128
112
|
secondTextfieldTextAfter?: string | undefined;
|
|
129
|
-
dividerVariant?: "none" | "icon" | "dash" | undefined;
|
|
130
|
-
dividerIcon?: React.ReactNode;
|
|
131
113
|
onFocusFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
132
114
|
onFocusSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
133
115
|
onBlurFirstTextfield?: ((event: import("react").FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
134
116
|
onBlurSecondTextfield?: ((event: import("react").FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
117
|
+
firstTextfieldTextBefore?: string | undefined;
|
|
118
|
+
secondTextfieldTextBefore?: string | undefined;
|
|
119
|
+
dividerVariant?: "none" | "icon" | "dash" | undefined;
|
|
120
|
+
dividerIcon?: React.ReactNode;
|
|
135
121
|
} & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types.js").DatePickerCalendarProps & Omit<import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types.js").DatePickerPopoverProps, "placement"> & {
|
|
136
122
|
placement?: import("@salutejs/plasma-new-hope/styled-components").DatePickerRangePlacement | Array<import("@salutejs/plasma-new-hope/types/components/DatePicker/RangeDate/RangeDate.types.js").DatePickerRangePlacementBasic>;
|
|
137
123
|
isDoubleCalendar?: boolean;
|
|
@@ -33,7 +33,6 @@ export declare const InformationWrapper: import("react").FunctionComponent<impor
|
|
|
33
33
|
size?: string;
|
|
34
34
|
view?: string;
|
|
35
35
|
disabled?: boolean;
|
|
36
|
-
readOnly?: boolean;
|
|
37
36
|
} & {
|
|
38
37
|
hintText: string;
|
|
39
38
|
hintTrigger?: "hover" | "click";
|
|
@@ -60,7 +59,6 @@ export declare const InformationWrapper: import("react").FunctionComponent<impor
|
|
|
60
59
|
size?: string;
|
|
61
60
|
view?: string;
|
|
62
61
|
disabled?: boolean;
|
|
63
|
-
readOnly?: boolean;
|
|
64
62
|
} & {
|
|
65
63
|
hintText?: never;
|
|
66
64
|
hintOpened?: never;
|
|
@@ -2,8 +2,6 @@ export declare const config: {
|
|
|
2
2
|
defaults: {
|
|
3
3
|
view: string;
|
|
4
4
|
size: string;
|
|
5
|
-
hintView: string;
|
|
6
|
-
hintSize: string;
|
|
7
5
|
};
|
|
8
6
|
variations: {
|
|
9
7
|
view: {
|
|
@@ -16,13 +14,6 @@ export declare const config: {
|
|
|
16
14
|
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
17
15
|
xs: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
18
16
|
};
|
|
19
|
-
hintView: {
|
|
20
|
-
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
21
|
-
};
|
|
22
|
-
hintSize: {
|
|
23
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
24
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
25
|
-
};
|
|
26
17
|
disabled: {
|
|
27
18
|
true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
28
19
|
};
|