@salutejs/sdds-cs 0.320.0-canary.2047.15880698675.0 → 0.320.0-canary.2047.15976223953.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/CHANGELOG.md +56 -0
- package/components/Attach/Attach.d.ts +8 -8
- package/components/Autocomplete/Autocomplete.d.ts +8 -8
- package/components/Button/Button.d.ts +4 -4
- package/components/Combobox/Combobox.d.ts +24 -24
- package/components/DatePicker/DatePicker.d.ts +3 -3
- package/components/Dropdown/Dropdown.d.ts +2 -2
- package/components/IconButton/IconButton.d.ts +2 -2
- package/components/Mask/Mask.d.ts +11 -8
- package/components/NumberInput/NumberInput.d.ts +2 -2
- package/components/Radiobox/Radiobox.d.ts +28 -2
- package/components/Select/Select.d.ts +6 -6
- package/components/TextField/TextField.d.ts +8 -8
- package/components/Tokens/Colors/Colors.styles.d.ts +1 -1
- package/components/Tokens/Typography/Typography.styles.d.ts +1 -1
- package/components/Tour/Tour.config.d.ts +14 -0
- package/components/Tour/Tour.config.js +56 -0
- package/components/Tour/Tour.d.ts +8 -0
- package/components/Tour/Tour.js +14 -0
- package/components/Tour/index.d.ts +2 -0
- package/components/Tour/index.js +11 -0
- package/emotion/cjs/components/Tour/Tour.config.js +56 -0
- package/emotion/cjs/components/Tour/Tour.js +14 -0
- package/emotion/cjs/components/Tour/index.js +11 -0
- package/emotion/cjs/index.js +2 -0
- package/emotion/es/components/Mask/Mask.js +3 -1
- package/emotion/es/components/Tour/Tour.config.js +46 -0
- package/emotion/es/components/Tour/Tour.js +4 -0
- package/emotion/es/components/Tour/index.js +1 -0
- package/emotion/es/index.js +2 -0
- package/es/components/Mask/Mask.js +3 -1
- package/es/components/Tour/Tour.config.js +46 -0
- package/es/components/Tour/Tour.js +4 -0
- package/es/components/Tour/index.js +1 -0
- package/es/index.js +2 -0
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/package.json +8 -8
@@ -1,8 +1,34 @@
|
|
1
1
|
import { ComponentProps } from 'react';
|
2
|
-
declare const RadioboxComponent: import("react").FunctionComponent<
|
2
|
+
declare const RadioboxComponent: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
3
|
+
size: {
|
4
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
|
+
};
|
6
|
+
view: {
|
7
|
+
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
|
+
};
|
9
|
+
disabled: {
|
10
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
+
};
|
12
|
+
focused: {
|
13
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
|
+
};
|
15
|
+
}> & import("@salutejs/plasma-new-hope/types/engines/types").Filter<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("@salutejs/plasma-new-hope/styled-components").BaseboxProps, "indeterminate" | "appearance"> & import("react").RefAttributes<HTMLInputElement>>;
|
3
16
|
export type RadioboxProps = ComponentProps<typeof RadioboxComponent>;
|
4
17
|
/**
|
5
18
|
* Переключатель, или *радиокнопка*.
|
6
19
|
*/
|
7
|
-
export declare const Radiobox: import("react").FunctionComponent<
|
20
|
+
export declare const Radiobox: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
21
|
+
size: {
|
22
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
23
|
+
};
|
24
|
+
view: {
|
25
|
+
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
26
|
+
};
|
27
|
+
disabled: {
|
28
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
29
|
+
};
|
30
|
+
focused: {
|
31
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
32
|
+
};
|
33
|
+
}> & import("@salutejs/plasma-new-hope/types/engines/types").Filter<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("@salutejs/plasma-new-hope/styled-components").BaseboxProps, "indeterminate" | "appearance"> & import("react").RefAttributes<HTMLInputElement>>;
|
8
34
|
export { RadioGroup } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -78,7 +78,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
78
78
|
isOpen?: boolean;
|
79
79
|
listHeight?: React.CSSProperties["height"];
|
80
80
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
81
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
81
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
82
82
|
hintText: string;
|
83
83
|
hintTrigger?: "hover" | "click";
|
84
84
|
hintView?: string;
|
@@ -136,7 +136,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
136
136
|
isOpen?: boolean;
|
137
137
|
listHeight?: React.CSSProperties["height"];
|
138
138
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
139
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
139
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
140
140
|
hintTrigger?: never;
|
141
141
|
hintText?: never;
|
142
142
|
hintView?: never;
|
@@ -193,7 +193,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
193
193
|
isOpen?: boolean;
|
194
194
|
listHeight?: React.CSSProperties["height"];
|
195
195
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
196
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
196
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
197
197
|
hintTrigger?: never;
|
198
198
|
hintText?: never;
|
199
199
|
hintView?: never;
|
@@ -251,7 +251,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
251
251
|
isOpen?: boolean;
|
252
252
|
listHeight?: React.CSSProperties["height"];
|
253
253
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
254
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
254
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
255
255
|
target: "button-like";
|
256
256
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
257
257
|
contentLeft?: never;
|
@@ -296,7 +296,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
296
296
|
isOpen?: boolean;
|
297
297
|
listHeight?: React.CSSProperties["height"];
|
298
298
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
299
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
299
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | (import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & {
|
300
300
|
target: "button-like";
|
301
301
|
view?: "default" | "accent" | "secondary" | "clear" | "positive" | "warning" | "negative" | "dark" | "black" | "white";
|
302
302
|
contentLeft?: never;
|
@@ -342,7 +342,7 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
342
342
|
isOpen?: boolean;
|
343
343
|
listHeight?: React.CSSProperties["height"];
|
344
344
|
onScrollBottom?: (e: React.UIEvent<HTMLUListElement>) => void;
|
345
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "
|
345
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>))>;
|
346
346
|
export type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
347
347
|
declare const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
|
348
348
|
export { Select };
|
@@ -64,7 +64,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
64
64
|
chipType?: never;
|
65
65
|
chipView?: never;
|
66
66
|
chipValidator?: never;
|
67
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
67
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
68
68
|
size?: string;
|
69
69
|
view?: string;
|
70
70
|
readOnly?: boolean;
|
@@ -102,7 +102,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
102
102
|
chipValidator?: (value: string) => {
|
103
103
|
view?: string;
|
104
104
|
};
|
105
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
105
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
106
106
|
size?: string;
|
107
107
|
view?: string;
|
108
108
|
readOnly?: boolean;
|
@@ -138,7 +138,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
138
138
|
chipType?: never;
|
139
139
|
chipView?: never;
|
140
140
|
chipValidator?: never;
|
141
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
141
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
142
142
|
size?: string;
|
143
143
|
view?: string;
|
144
144
|
readOnly?: boolean;
|
@@ -176,7 +176,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
176
176
|
chipValidator?: (value: string) => {
|
177
177
|
view?: string;
|
178
178
|
};
|
179
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
179
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
180
180
|
size?: string;
|
181
181
|
view?: string;
|
182
182
|
readOnly?: boolean;
|
@@ -212,7 +212,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
212
212
|
chipType?: never;
|
213
213
|
chipView?: never;
|
214
214
|
chipValidator?: never;
|
215
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
215
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
216
216
|
size?: string;
|
217
217
|
view?: string;
|
218
218
|
readOnly?: boolean;
|
@@ -250,7 +250,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
250
250
|
chipValidator?: (value: string) => {
|
251
251
|
view?: string;
|
252
252
|
};
|
253
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
253
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
254
254
|
size?: string;
|
255
255
|
view?: string;
|
256
256
|
readOnly?: boolean;
|
@@ -286,7 +286,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
286
286
|
chipType?: never;
|
287
287
|
chipView?: never;
|
288
288
|
chipValidator?: never;
|
289
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
289
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
290
290
|
size?: string;
|
291
291
|
view?: string;
|
292
292
|
readOnly?: boolean;
|
@@ -324,4 +324,4 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
324
324
|
chipValidator?: (value: string) => {
|
325
325
|
view?: string;
|
326
326
|
};
|
327
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
327
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>))>;
|
@@ -28,7 +28,7 @@ export declare const StyledSegmentItem: import("styled-components").StyledCompon
|
|
28
28
|
export declare const AccordionInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
29
29
|
export declare const Subcategory: import("styled-components").StyledComponent<"div", any, {}, never>;
|
30
30
|
export declare const ColumnTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
31
|
-
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "
|
31
|
+
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "onChange" | "title"> & {
|
32
32
|
value?: boolean;
|
33
33
|
type?: "clear" | "arrow" | "sign";
|
34
34
|
contentLeft?: React.ReactNode;
|
@@ -30,7 +30,7 @@ export declare const StyledSegmentItem: import("styled-components").StyledCompon
|
|
30
30
|
export declare const AccordionTypographyTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
31
31
|
export declare const FontFamily: import("styled-components").StyledComponent<"span", any, {}, never>;
|
32
32
|
export declare const AccordionInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
33
|
-
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "
|
33
|
+
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "onChange" | "title"> & {
|
34
34
|
value?: boolean;
|
35
35
|
type?: "clear" | "arrow" | "sign";
|
36
36
|
contentLeft?: React.ReactNode;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export declare const config: {
|
2
|
+
defaults: {
|
3
|
+
view: string;
|
4
|
+
size: string;
|
5
|
+
};
|
6
|
+
variations: {
|
7
|
+
view: {
|
8
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
+
};
|
10
|
+
size: {
|
11
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
+
};
|
13
|
+
};
|
14
|
+
};
|
@@ -0,0 +1,56 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
Object.defineProperty(exports, "config", {
|
6
|
+
enumerable: true,
|
7
|
+
get: function() {
|
8
|
+
return config;
|
9
|
+
}
|
10
|
+
});
|
11
|
+
var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
|
12
|
+
function _tagged_template_literal(strings, raw) {
|
13
|
+
if (!raw) {
|
14
|
+
raw = strings.slice(0);
|
15
|
+
}
|
16
|
+
return Object.freeze(Object.defineProperties(strings, {
|
17
|
+
raw: {
|
18
|
+
value: Object.freeze(raw)
|
19
|
+
}
|
20
|
+
}));
|
21
|
+
}
|
22
|
+
function _templateObject() {
|
23
|
+
var data = _tagged_template_literal([
|
24
|
+
""
|
25
|
+
]);
|
26
|
+
_templateObject = function _templateObject() {
|
27
|
+
return data;
|
28
|
+
};
|
29
|
+
return data;
|
30
|
+
}
|
31
|
+
function _templateObject1() {
|
32
|
+
var data = _tagged_template_literal([
|
33
|
+
"\n ",
|
34
|
+
": 0.75rem;\n ",
|
35
|
+
": 0.75rem;\n ",
|
36
|
+
": 0.75rem;\n "
|
37
|
+
]);
|
38
|
+
_templateObject1 = function _templateObject() {
|
39
|
+
return data;
|
40
|
+
};
|
41
|
+
return data;
|
42
|
+
}
|
43
|
+
var config = {
|
44
|
+
defaults: {
|
45
|
+
view: 'accent',
|
46
|
+
size: 's'
|
47
|
+
},
|
48
|
+
variations: {
|
49
|
+
view: {
|
50
|
+
default: (0, _styledcomponents.css)(_templateObject())
|
51
|
+
},
|
52
|
+
size: {
|
53
|
+
s: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.tourTokens.cardPadding, _styledcomponents.tourTokens.cardRadius, _styledcomponents.tourTokens.highlightRadius)
|
54
|
+
}
|
55
|
+
}
|
56
|
+
};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare const Tour: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
2
|
+
view: {
|
3
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
4
|
+
};
|
5
|
+
size: {
|
6
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
+
};
|
8
|
+
}> & import("@salutejs/plasma-new-hope/styled-components").TourProps & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
Object.defineProperty(exports, "Tour", {
|
6
|
+
enumerable: true,
|
7
|
+
get: function() {
|
8
|
+
return Tour;
|
9
|
+
}
|
10
|
+
});
|
11
|
+
var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
|
12
|
+
var _Tourconfig = require("./Tour.config");
|
13
|
+
var mergedConfig = (0, _styledcomponents.mergeConfig)(_styledcomponents.tourConfig, _Tourconfig.config);
|
14
|
+
var Tour = (0, _styledcomponents.component)(mergedConfig);
|
@@ -0,0 +1,56 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
Object.defineProperty(exports, "config", {
|
6
|
+
enumerable: true,
|
7
|
+
get: function() {
|
8
|
+
return config;
|
9
|
+
}
|
10
|
+
});
|
11
|
+
var _emotion = require("@salutejs/plasma-new-hope/emotion");
|
12
|
+
function _tagged_template_literal(strings, raw) {
|
13
|
+
if (!raw) {
|
14
|
+
raw = strings.slice(0);
|
15
|
+
}
|
16
|
+
return Object.freeze(Object.defineProperties(strings, {
|
17
|
+
raw: {
|
18
|
+
value: Object.freeze(raw)
|
19
|
+
}
|
20
|
+
}));
|
21
|
+
}
|
22
|
+
function _templateObject() {
|
23
|
+
var data = _tagged_template_literal([
|
24
|
+
""
|
25
|
+
]);
|
26
|
+
_templateObject = function _templateObject() {
|
27
|
+
return data;
|
28
|
+
};
|
29
|
+
return data;
|
30
|
+
}
|
31
|
+
function _templateObject1() {
|
32
|
+
var data = _tagged_template_literal([
|
33
|
+
"\n ",
|
34
|
+
": 0.75rem;\n ",
|
35
|
+
": 0.75rem;\n ",
|
36
|
+
": 0.75rem;\n "
|
37
|
+
]);
|
38
|
+
_templateObject1 = function _templateObject() {
|
39
|
+
return data;
|
40
|
+
};
|
41
|
+
return data;
|
42
|
+
}
|
43
|
+
var config = {
|
44
|
+
defaults: {
|
45
|
+
view: 'accent',
|
46
|
+
size: 's'
|
47
|
+
},
|
48
|
+
variations: {
|
49
|
+
view: {
|
50
|
+
default: (0, _emotion.css)(_templateObject())
|
51
|
+
},
|
52
|
+
size: {
|
53
|
+
s: (0, _emotion.css)(_templateObject1(), _emotion.tourTokens.cardPadding, _emotion.tourTokens.cardRadius, _emotion.tourTokens.highlightRadius)
|
54
|
+
}
|
55
|
+
}
|
56
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
Object.defineProperty(exports, "Tour", {
|
6
|
+
enumerable: true,
|
7
|
+
get: function() {
|
8
|
+
return Tour;
|
9
|
+
}
|
10
|
+
});
|
11
|
+
var _emotion = require("@salutejs/plasma-new-hope/emotion");
|
12
|
+
var _Tourconfig = require("./Tour.config");
|
13
|
+
var mergedConfig = (0, _emotion.mergeConfig)(_emotion.tourConfig, _Tourconfig.config);
|
14
|
+
var Tour = (0, _emotion.component)(mergedConfig);
|
package/emotion/cjs/index.js
CHANGED
@@ -67,6 +67,8 @@ _export_star(require("./components/NumberFormat"), exports);
|
|
67
67
|
_export_star(require("./components/Table"), exports);
|
68
68
|
_export_star(require("./components/ToastNew"), exports);
|
69
69
|
_export_star(require("./components/Carousel"), exports);
|
70
|
+
_export_star(require("./components/Tour"), exports);
|
71
|
+
_export_star(require("./components/Rating"), exports);
|
70
72
|
_export_star(require("./mixins"), exports);
|
71
73
|
_export_star(require("./tokens"), exports);
|
72
74
|
function _export_star(from, to) {
|
@@ -0,0 +1,46 @@
|
|
1
|
+
function _tagged_template_literal(strings, raw) {
|
2
|
+
if (!raw) {
|
3
|
+
raw = strings.slice(0);
|
4
|
+
}
|
5
|
+
return Object.freeze(Object.defineProperties(strings, {
|
6
|
+
raw: {
|
7
|
+
value: Object.freeze(raw)
|
8
|
+
}
|
9
|
+
}));
|
10
|
+
}
|
11
|
+
function _templateObject() {
|
12
|
+
var data = _tagged_template_literal([
|
13
|
+
""
|
14
|
+
]);
|
15
|
+
_templateObject = function _templateObject() {
|
16
|
+
return data;
|
17
|
+
};
|
18
|
+
return data;
|
19
|
+
}
|
20
|
+
function _templateObject1() {
|
21
|
+
var data = _tagged_template_literal([
|
22
|
+
"\n ",
|
23
|
+
": 0.75rem;\n ",
|
24
|
+
": 0.75rem;\n ",
|
25
|
+
": 0.75rem;\n "
|
26
|
+
]);
|
27
|
+
_templateObject1 = function _templateObject() {
|
28
|
+
return data;
|
29
|
+
};
|
30
|
+
return data;
|
31
|
+
}
|
32
|
+
import { tourTokens, css } from '@salutejs/plasma-new-hope/emotion';
|
33
|
+
export var config = {
|
34
|
+
defaults: {
|
35
|
+
view: 'accent',
|
36
|
+
size: 's'
|
37
|
+
},
|
38
|
+
variations: {
|
39
|
+
view: {
|
40
|
+
default: css(_templateObject())
|
41
|
+
},
|
42
|
+
size: {
|
43
|
+
s: css(_templateObject1(), tourTokens.cardPadding, tourTokens.cardRadius, tourTokens.highlightRadius)
|
44
|
+
}
|
45
|
+
}
|
46
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Tour } from './Tour';
|
package/emotion/es/index.js
CHANGED
@@ -63,5 +63,7 @@ export * from './components/NumberFormat';
|
|
63
63
|
export * from './components/Table';
|
64
64
|
export * from './components/ToastNew';
|
65
65
|
export * from './components/Carousel';
|
66
|
+
export * from './components/Tour';
|
67
|
+
export * from './components/Rating';
|
66
68
|
export * from './mixins';
|
67
69
|
export * from './tokens';
|
@@ -0,0 +1,46 @@
|
|
1
|
+
function _tagged_template_literal(strings, raw) {
|
2
|
+
if (!raw) {
|
3
|
+
raw = strings.slice(0);
|
4
|
+
}
|
5
|
+
return Object.freeze(Object.defineProperties(strings, {
|
6
|
+
raw: {
|
7
|
+
value: Object.freeze(raw)
|
8
|
+
}
|
9
|
+
}));
|
10
|
+
}
|
11
|
+
function _templateObject() {
|
12
|
+
var data = _tagged_template_literal([
|
13
|
+
""
|
14
|
+
]);
|
15
|
+
_templateObject = function _templateObject() {
|
16
|
+
return data;
|
17
|
+
};
|
18
|
+
return data;
|
19
|
+
}
|
20
|
+
function _templateObject1() {
|
21
|
+
var data = _tagged_template_literal([
|
22
|
+
"\n ",
|
23
|
+
": 0.75rem;\n ",
|
24
|
+
": 0.75rem;\n ",
|
25
|
+
": 0.75rem;\n "
|
26
|
+
]);
|
27
|
+
_templateObject1 = function _templateObject() {
|
28
|
+
return data;
|
29
|
+
};
|
30
|
+
return data;
|
31
|
+
}
|
32
|
+
import { tourTokens, css } from '@salutejs/plasma-new-hope/styled-components';
|
33
|
+
export var config = {
|
34
|
+
defaults: {
|
35
|
+
view: 'accent',
|
36
|
+
size: 's'
|
37
|
+
},
|
38
|
+
variations: {
|
39
|
+
view: {
|
40
|
+
default: css(_templateObject())
|
41
|
+
},
|
42
|
+
size: {
|
43
|
+
s: css(_templateObject1(), tourTokens.cardPadding, tourTokens.cardRadius, tourTokens.highlightRadius)
|
44
|
+
}
|
45
|
+
}
|
46
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { Tour } from './Tour';
|
package/es/index.js
CHANGED
@@ -63,5 +63,7 @@ export * from './components/NumberFormat';
|
|
63
63
|
export * from './components/Table';
|
64
64
|
export * from './components/ToastNew';
|
65
65
|
export * from './components/Carousel';
|
66
|
+
export * from './components/Tour';
|
67
|
+
export * from './components/Rating';
|
66
68
|
export * from './mixins';
|
67
69
|
export * from './tokens';
|
package/index.d.ts
CHANGED
@@ -63,5 +63,7 @@ export * from './components/NumberFormat';
|
|
63
63
|
export * from './components/Table';
|
64
64
|
export * from './components/ToastNew';
|
65
65
|
export * from './components/Carousel';
|
66
|
+
export * from './components/Tour';
|
67
|
+
export * from './components/Rating';
|
66
68
|
export * from './mixins';
|
67
69
|
export * from './tokens';
|
package/index.js
CHANGED
@@ -67,6 +67,8 @@ _export_star(require("./components/NumberFormat"), exports);
|
|
67
67
|
_export_star(require("./components/Table"), exports);
|
68
68
|
_export_star(require("./components/ToastNew"), exports);
|
69
69
|
_export_star(require("./components/Carousel"), exports);
|
70
|
+
_export_star(require("./components/Tour"), exports);
|
71
|
+
_export_star(require("./components/Rating"), exports);
|
70
72
|
_export_star(require("./mixins"), exports);
|
71
73
|
_export_star(require("./tokens"), exports);
|
72
74
|
function _export_star(from, to) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-cs",
|
3
|
-
"version": "0.320.0-canary.2047.
|
3
|
+
"version": "0.320.0-canary.2047.15976223953.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS CS web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -30,8 +30,8 @@
|
|
30
30
|
"directory": "packages/sdds-cs"
|
31
31
|
},
|
32
32
|
"dependencies": {
|
33
|
-
"@salutejs/plasma-new-hope": "0.328.0-canary.2047.
|
34
|
-
"@salutejs/sdds-themes": "0.
|
33
|
+
"@salutejs/plasma-new-hope": "0.328.0-canary.2047.15976223953.0",
|
34
|
+
"@salutejs/sdds-themes": "0.40.0-canary.2047.15976223953.0"
|
35
35
|
},
|
36
36
|
"peerDependencies": {
|
37
37
|
"@emotion/react": ">=11",
|
@@ -54,10 +54,10 @@
|
|
54
54
|
"@microsoft/api-extractor": "7.38.3",
|
55
55
|
"@originjs/vite-plugin-commonjs": "1.0.3",
|
56
56
|
"@salutejs/plasma-colors": "0.15.0",
|
57
|
-
"@salutejs/plasma-core": "1.
|
58
|
-
"@salutejs/plasma-cy-utils": "0.
|
59
|
-
"@salutejs/plasma-icons": "1.219.0
|
60
|
-
"@salutejs/plasma-sb-utils": "0.
|
57
|
+
"@salutejs/plasma-core": "1.200.0-canary.2047.15976223953.0",
|
58
|
+
"@salutejs/plasma-cy-utils": "0.131.0-canary.2047.15976223953.0",
|
59
|
+
"@salutejs/plasma-icons": "1.219.0",
|
60
|
+
"@salutejs/plasma-sb-utils": "0.201.0-canary.2047.15976223953.0",
|
61
61
|
"@storybook/addon-docs": "7.6.17",
|
62
62
|
"@storybook/addon-essentials": "7.6.17",
|
63
63
|
"@storybook/addons": "7.6.17",
|
@@ -123,5 +123,5 @@
|
|
123
123
|
"Anton Vinogradov"
|
124
124
|
],
|
125
125
|
"sideEffects": false,
|
126
|
-
"gitHead": "
|
126
|
+
"gitHead": "9e8849fbfb007433664831baa35b49ab3d9a698c"
|
127
127
|
}
|