@salutejs/plasma-web 1.586.0-canary.2047.15880698675.0 → 1.586.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 -3125
- package/components/Autocomplete/Autocomplete.d.ts +8 -8
- package/components/Combobox/Combobox.d.ts +24 -24
- package/components/Combobox/Legacy/Combobox.d.ts +2 -2
- package/components/DatePicker/DatePicker.d.ts +3 -3
- package/components/Mask/Mask.d.ts +8 -8
- package/components/NumberInput/NumberInput.d.ts +2 -2
- package/components/Radiobox/Radiobox.d.ts +48 -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/css/cjs/components/Tour/Tour.config.js +22 -0
- package/css/cjs/components/Tour/Tour.config.js.map +1 -0
- package/css/cjs/components/Tour/Tour.config_emlbg6.css +2 -0
- package/css/cjs/components/Tour/Tour.css +2 -0
- package/css/cjs/components/Tour/Tour.js +12 -0
- package/css/cjs/components/Tour/Tour.js.map +1 -0
- package/css/cjs/index.css +3 -0
- package/css/cjs/index.js +2 -0
- package/css/cjs/index.js.map +1 -1
- package/css/es/components/Tour/Tour.config.js +18 -0
- package/css/es/components/Tour/Tour.config.js.map +1 -0
- package/css/es/components/Tour/Tour.config_emlbg6.css +2 -0
- package/css/es/components/Tour/Tour.css +2 -0
- package/css/es/components/Tour/Tour.js +8 -0
- package/css/es/components/Tour/Tour.js.map +1 -0
- package/css/es/index.css +3 -0
- package/css/es/index.js +1 -0
- package/css/es/index.js.map +1 -1
- package/css/index.d.ts +2 -0
- 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 +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/mixins/index.d.ts +1 -1
- package/package.json +8 -8
@@ -81,7 +81,7 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
|
|
81
81
|
chipType?: never;
|
82
82
|
chipView?: never;
|
83
83
|
chipValidator?: never;
|
84
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
84
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & React.RefAttributes<HTMLInputElement>) | ({
|
85
85
|
size?: string;
|
86
86
|
view?: string;
|
87
87
|
readOnly?: boolean;
|
@@ -119,7 +119,7 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
|
|
119
119
|
chipValidator?: (value: string) => {
|
120
120
|
view?: string;
|
121
121
|
};
|
122
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
122
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & React.RefAttributes<HTMLInputElement>) | ({
|
123
123
|
size?: string;
|
124
124
|
view?: string;
|
125
125
|
readOnly?: boolean;
|
@@ -157,7 +157,7 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
|
|
157
157
|
chipType?: never;
|
158
158
|
chipView?: never;
|
159
159
|
chipValidator?: never;
|
160
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
160
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & React.RefAttributes<HTMLInputElement>) | ({
|
161
161
|
size?: string;
|
162
162
|
view?: string;
|
163
163
|
readOnly?: boolean;
|
@@ -195,7 +195,7 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
|
|
195
195
|
chipValidator?: (value: string) => {
|
196
196
|
view?: string;
|
197
197
|
};
|
198
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
198
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & React.RefAttributes<HTMLInputElement>) | ({
|
199
199
|
size?: string;
|
200
200
|
view?: string;
|
201
201
|
readOnly?: boolean;
|
@@ -233,7 +233,7 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
|
|
233
233
|
chipType?: never;
|
234
234
|
chipView?: never;
|
235
235
|
chipValidator?: never;
|
236
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
236
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & React.RefAttributes<HTMLInputElement>) | ({
|
237
237
|
size?: string;
|
238
238
|
view?: string;
|
239
239
|
readOnly?: boolean;
|
@@ -271,7 +271,7 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
|
|
271
271
|
chipValidator?: (value: string) => {
|
272
272
|
view?: string;
|
273
273
|
};
|
274
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
274
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & React.RefAttributes<HTMLInputElement>) | ({
|
275
275
|
size?: string;
|
276
276
|
view?: string;
|
277
277
|
readOnly?: boolean;
|
@@ -309,7 +309,7 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
|
|
309
309
|
chipType?: never;
|
310
310
|
chipView?: never;
|
311
311
|
chipValidator?: never;
|
312
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
312
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & React.RefAttributes<HTMLInputElement>) | ({
|
313
313
|
size?: string;
|
314
314
|
view?: string;
|
315
315
|
readOnly?: boolean;
|
@@ -347,7 +347,7 @@ export declare const TextFieldComponent: React.FunctionComponent<import("@salute
|
|
347
347
|
chipValidator?: (value: string) => {
|
348
348
|
view?: string;
|
349
349
|
};
|
350
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "
|
350
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & React.RefAttributes<HTMLInputElement>))>;
|
351
351
|
type newHopeTextFieldProps = React.ComponentProps<typeof TextFieldComponent>;
|
352
352
|
type ClearProps = {
|
353
353
|
/**
|
@@ -34,7 +34,7 @@ export declare const StyledSegmentItem: import("styled-components").StyledCompon
|
|
34
34
|
export declare const AccordionInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
35
35
|
export declare const Subcategory: import("styled-components").StyledComponent<"div", any, {}, never>;
|
36
36
|
export declare const ColumnTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
37
|
-
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "
|
37
|
+
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "onChange" | "title"> & {
|
38
38
|
value?: boolean;
|
39
39
|
type?: "clear" | "arrow" | "sign";
|
40
40
|
contentLeft?: React.ReactNode;
|
@@ -36,7 +36,7 @@ export declare const StyledSegmentItem: import("styled-components").StyledCompon
|
|
36
36
|
export declare const AccordionTypographyTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
37
37
|
export declare const FontFamily: import("styled-components").StyledComponent<"span", any, {}, never>;
|
38
38
|
export declare const AccordionInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
39
|
-
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "
|
39
|
+
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "onChange" | "title"> & {
|
40
40
|
value?: boolean;
|
41
41
|
type?: "clear" | "arrow" | "sign";
|
42
42
|
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,22 @@
|
|
1
|
+
require('./Tour.config_emlbg6.css');
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
5
|
+
|
6
|
+
var config = {
|
7
|
+
defaults: {
|
8
|
+
view: 'accent',
|
9
|
+
size: 's'
|
10
|
+
},
|
11
|
+
variations: {
|
12
|
+
view: {
|
13
|
+
"default": "d174dabd"
|
14
|
+
},
|
15
|
+
size: {
|
16
|
+
s: "s12zmmsr"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
};
|
20
|
+
|
21
|
+
exports.config = config;
|
22
|
+
//# sourceMappingURL=Tour.config.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Tour.config.js","sources":["../../../../src-css/components/Tour/Tour.config.ts"],"sourcesContent":["import { tourTokens, css } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'accent',\n size: 's',\n },\n variations: {\n view: {\n default: css``,\n },\n size: {\n s: css`\n ${tourTokens.cardPadding}: 0.75rem;\n ${tourTokens.cardRadius}: 0.75rem;\n ${tourTokens.highlightRadius}: 0.75rem;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","s"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,QAAQ;AACdC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;MACFG,SAAO,EAAA,UAAA;KACV;AACDF,IAAAA,IAAI,EAAE;AACFG,MAAAA,CAAC,EAAA,UAAA;AAKL,KAAA;AACJ,GAAA;AACJ;;;;"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
var plasmaNewHope = require('@salutejs/plasma-new-hope');
|
6
|
+
var Tour_config = require('./Tour.config.js');
|
7
|
+
|
8
|
+
var mergedConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.tourConfig, Tour_config.config);
|
9
|
+
var Tour = /*#__PURE__*/plasmaNewHope.component(mergedConfig);
|
10
|
+
|
11
|
+
exports.Tour = Tour;
|
12
|
+
//# sourceMappingURL=Tour.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Tour.js","sources":["../../../../src-css/components/Tour/Tour.ts"],"sourcesContent":["import { tourConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Tour.config';\n\nconst mergedConfig = mergeConfig(tourConfig, config);\n\nexport const Tour = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","tourConfig","config","Tour","component"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,wBAAU,EAAEC,kBAAM,CAAC,CAAA;IAEvCC,IAAI,gBAAGC,uBAAS,CAACL,YAAY;;;;"}
|
package/css/cjs/index.css
CHANGED
@@ -749,6 +749,9 @@
|
|
749
749
|
.Tooltip_config_19fazns_mof1lw0__1c02ba0c{--plasma-tooltip-padding-top:0.6875rem;--plasma-tooltip-padding-right:0.875rem;--plasma-tooltip-padding-bottom:0.6875rem;--plasma-tooltip-padding-left:0.875rem;--plasma-tooltip-min-height:2.5rem;--plasma-tooltip-border-radius:0.625rem;--plasma-tooltip-text-font-family:var(--plasma-typo-body-s-font-family);--plasma-tooltip-text-font-size:var(--plasma-typo-body-s-font-size);--plasma-tooltip-text-font-style:var(--plasma-typo-body-s-font-style);--plasma-tooltip-text-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-tooltip-text-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-tooltip-text-font-line-height:var(--plasma-typo-body-s-line-height);--plasma-tooltip-content-left-margin:0.375rem;--plasma-tooltip-arrow-mask-width:1.25rem;--plasma-tooltip-arrow-mask-height:1.25rem;--plasma-tooltip-arrow-mask-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==");--plasma-tooltip-arrow-height:0.5rem;--plasma-tooltip-arrow-edge-margin:0.625rem;--plasma-tooltip-arrow-background:var(--surface-solid-card-brightness);}
|
750
750
|
.Tooltip_config_19fazns_dawvnm3__1c02ba0c{--plasma-tooltip-background-color:var(--surface-solid-card-brightness);--plasma-tooltip-box-shadow:0px 4px 12px 0px rgba(0,0,0,0.16),0px 1px 4px 0px rgba(0,0,0,0.08);--plasma-tooltip-color:var(--text-primary);}
|
751
751
|
|
752
|
+
|
753
|
+
.Tour_config_emlbg6_s12zmmsr__9b0aa5b5{--plasma-tour-card-padding:0.75rem;--plasma-tour-card-radius:0.75rem;--plasma-tour-highlight-radius:0.75rem;}
|
754
|
+
|
752
755
|
.Tree_config_1iqqtu9_de6q557__6bfe4b26{--plasma-tree-icon-folder-color:var(--text-secondary);--plasma-tree-arrow-color:var(--text-secondary);--plasma-tree-arrow-color-hover:var(--text-secondary-hover);--plasma-tree-arrow-color-active:var(--text-secondary-active);--plasma-tree-color:var(--text-secondary);--plasma-tree-color-selected:var(--text-primary);--plasma-tree-item-background-color:var(--surface-transparent-secondary);--plasma-tree-item-background-color-hover:var(--surface-transparent-secondary-hover);--plasma-tree-item-background-color-active:var(--surface-transparent-secondary-active);--plasma-tree-checkbox-border-color:var(--text-secondary);--plasma-tree-checkbox-background-color:var(--text-accent);--plasma-tree-item-disabled-opacity:0.4;--plasma-tree-item-disabled-border-color:var(--text-secondary);--plasma-tree-item-disabled-color:var(--text-secondary);}
|
753
756
|
.Tree_config_1iqqtu9_l1adci4f__6bfe4b26{--plasma-tree-item-height:3.5rem;--plasma-tree-item-padding:1rem;--plasma-tree-item-padding-tight:0.375rem;--plasma-tree-item-indent:2rem;--plasma-tree-item-border-radius:0.75rem;--plasma-tree-item-top:0.25rem;--plasma-tree-item-bottom:0.25rem;--plasma-tree-icon-folder-margin:0 0.5rem 0 0;--plasma-tree-switcher-margin:0 0.5rem 0 0;--plasma-tree-switcher-margin-inverted:0 0 0 0.5rem;--plasma-tree-switcher-size:1.5rem;--plasma-tree-checkbox-margin:0 0.5rem 0 0;--plasma-tree-checkbox-size:1.5rem;--plasma-tree-checkbox-inner-size:1.25rem;--plasma-tree-checkbox-border-radius:0.375rem;--plasma-tree-font-family:var(--plasma-typo-body-l-font-family);--plasma-tree-font-size:var(--plasma-typo-body-l-font-size);--plasma-tree-font-style:var(--plasma-typo-body-l-font-style);--plasma-tree-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-tree-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-tree-line-height:var(--plasma-typo-body-l-line-height);}
|
754
757
|
.Tree_config_1iqqtu9_mtlwm4v__6bfe4b26{--plasma-tree-item-height:3rem;--plasma-tree-item-padding:0.875rem;--plasma-tree-item-padding-tight:0.375rem;--plasma-tree-item-indent:2rem;--plasma-tree-item-border-radius:0.625rem;--plasma-tree-item-top:0.25rem;--plasma-tree-item-bottom:0.25rem;--plasma-tree-icon-folder-margin:0 0.5rem 0 0;--plasma-tree-switcher-margin:0 0.5rem 0 0;--plasma-tree-switcher-margin-inverted:0 0 0 0.5rem;--plasma-tree-switcher-size:1.5rem;--plasma-tree-checkbox-margin:0 0.5rem 0 0;--plasma-tree-checkbox-size:1.5rem;--plasma-tree-checkbox-inner-size:1.25rem;--plasma-tree-checkbox-border-radius:0.375rem;--plasma-tree-font-family:var(--plasma-typo-body-m-font-family);--plasma-tree-font-size:var(--plasma-typo-body-m-font-size);--plasma-tree-font-style:var(--plasma-typo-body-m-font-style);--plasma-tree-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-tree-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-tree-line-height:var(--plasma-typo-body-m-line-height);}
|
package/css/cjs/index.js
CHANGED
@@ -74,6 +74,7 @@ var TextFieldGroup = require('./components/TextFieldGroup/TextFieldGroup.js');
|
|
74
74
|
var Toast = require('./components/Toast/Toast.js');
|
75
75
|
var Toolbar = require('./components/Toolbar/Toolbar.js');
|
76
76
|
var Tooltip = require('./components/Tooltip/Tooltip.js');
|
77
|
+
var Tour = require('./components/Tour/Tour.js');
|
77
78
|
var Tree = require('./components/Tree/Tree.js');
|
78
79
|
var Typography = require('./components/Typography/Typography.js');
|
79
80
|
var index = require('./components/Typography/Old/index.js');
|
@@ -383,6 +384,7 @@ exports.ToastProvider = Toast.ToastProvider;
|
|
383
384
|
exports.Toolbar = Toolbar.Toolbar;
|
384
385
|
exports.ToolbarDivider = Toolbar.ToolbarDivider;
|
385
386
|
exports.Tooltip = Tooltip.Tooltip;
|
387
|
+
exports.Tour = Tour.Tour;
|
386
388
|
exports.Tree = Tree.Tree;
|
387
389
|
exports.BodyL = Typography.BodyL;
|
388
390
|
exports.BodyM = Typography.BodyM;
|
package/css/cjs/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import './Tour.config_emlbg6.css';
|
2
|
+
var config = {
|
3
|
+
defaults: {
|
4
|
+
view: 'accent',
|
5
|
+
size: 's'
|
6
|
+
},
|
7
|
+
variations: {
|
8
|
+
view: {
|
9
|
+
"default": "d174dabd"
|
10
|
+
},
|
11
|
+
size: {
|
12
|
+
s: "s12zmmsr"
|
13
|
+
}
|
14
|
+
}
|
15
|
+
};
|
16
|
+
|
17
|
+
export { config };
|
18
|
+
//# sourceMappingURL=Tour.config.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Tour.config.js","sources":["../../../../src-css/components/Tour/Tour.config.ts"],"sourcesContent":["import { tourTokens, css } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'accent',\n size: 's',\n },\n variations: {\n view: {\n default: css``,\n },\n size: {\n s: css`\n ${tourTokens.cardPadding}: 0.75rem;\n ${tourTokens.cardRadius}: 0.75rem;\n ${tourTokens.highlightRadius}: 0.75rem;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","s"],"mappings":"AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,QAAQ;AACdC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;MACFG,SAAO,EAAA,UAAA;KACV;AACDF,IAAAA,IAAI,EAAE;AACFG,MAAAA,CAAC,EAAA,UAAA;AAKL,KAAA;AACJ,GAAA;AACJ;;;;"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { component, mergeConfig, tourConfig } from '@salutejs/plasma-new-hope';
|
2
|
+
import { config } from './Tour.config.js';
|
3
|
+
|
4
|
+
var mergedConfig = /*#__PURE__*/mergeConfig(tourConfig, config);
|
5
|
+
var Tour = /*#__PURE__*/component(mergedConfig);
|
6
|
+
|
7
|
+
export { Tour };
|
8
|
+
//# sourceMappingURL=Tour.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Tour.js","sources":["../../../../src-css/components/Tour/Tour.ts"],"sourcesContent":["import { tourConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Tour.config';\n\nconst mergedConfig = mergeConfig(tourConfig, config);\n\nexport const Tour = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","tourConfig","config","Tour","component"],"mappings":";;;AAIA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,UAAU,EAAEC,MAAM,CAAC,CAAA;IAEvCC,IAAI,gBAAGC,SAAS,CAACL,YAAY;;;;"}
|
package/css/es/index.css
CHANGED
@@ -749,6 +749,9 @@
|
|
749
749
|
.Tooltip_config_19fazns_mof1lw0__1c02ba0c{--plasma-tooltip-padding-top:0.6875rem;--plasma-tooltip-padding-right:0.875rem;--plasma-tooltip-padding-bottom:0.6875rem;--plasma-tooltip-padding-left:0.875rem;--plasma-tooltip-min-height:2.5rem;--plasma-tooltip-border-radius:0.625rem;--plasma-tooltip-text-font-family:var(--plasma-typo-body-s-font-family);--plasma-tooltip-text-font-size:var(--plasma-typo-body-s-font-size);--plasma-tooltip-text-font-style:var(--plasma-typo-body-s-font-style);--plasma-tooltip-text-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-tooltip-text-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-tooltip-text-font-line-height:var(--plasma-typo-body-s-line-height);--plasma-tooltip-content-left-margin:0.375rem;--plasma-tooltip-arrow-mask-width:1.25rem;--plasma-tooltip-arrow-mask-height:1.25rem;--plasma-tooltip-arrow-mask-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==");--plasma-tooltip-arrow-height:0.5rem;--plasma-tooltip-arrow-edge-margin:0.625rem;--plasma-tooltip-arrow-background:var(--surface-solid-card-brightness);}
|
750
750
|
.Tooltip_config_19fazns_dawvnm3__1c02ba0c{--plasma-tooltip-background-color:var(--surface-solid-card-brightness);--plasma-tooltip-box-shadow:0px 4px 12px 0px rgba(0,0,0,0.16),0px 1px 4px 0px rgba(0,0,0,0.08);--plasma-tooltip-color:var(--text-primary);}
|
751
751
|
|
752
|
+
|
753
|
+
.Tour_config_emlbg6_s12zmmsr__9b0aa5b5{--plasma-tour-card-padding:0.75rem;--plasma-tour-card-radius:0.75rem;--plasma-tour-highlight-radius:0.75rem;}
|
754
|
+
|
752
755
|
.Tree_config_1iqqtu9_de6q557__6bfe4b26{--plasma-tree-icon-folder-color:var(--text-secondary);--plasma-tree-arrow-color:var(--text-secondary);--plasma-tree-arrow-color-hover:var(--text-secondary-hover);--plasma-tree-arrow-color-active:var(--text-secondary-active);--plasma-tree-color:var(--text-secondary);--plasma-tree-color-selected:var(--text-primary);--plasma-tree-item-background-color:var(--surface-transparent-secondary);--plasma-tree-item-background-color-hover:var(--surface-transparent-secondary-hover);--plasma-tree-item-background-color-active:var(--surface-transparent-secondary-active);--plasma-tree-checkbox-border-color:var(--text-secondary);--plasma-tree-checkbox-background-color:var(--text-accent);--plasma-tree-item-disabled-opacity:0.4;--plasma-tree-item-disabled-border-color:var(--text-secondary);--plasma-tree-item-disabled-color:var(--text-secondary);}
|
753
756
|
.Tree_config_1iqqtu9_l1adci4f__6bfe4b26{--plasma-tree-item-height:3.5rem;--plasma-tree-item-padding:1rem;--plasma-tree-item-padding-tight:0.375rem;--plasma-tree-item-indent:2rem;--plasma-tree-item-border-radius:0.75rem;--plasma-tree-item-top:0.25rem;--plasma-tree-item-bottom:0.25rem;--plasma-tree-icon-folder-margin:0 0.5rem 0 0;--plasma-tree-switcher-margin:0 0.5rem 0 0;--plasma-tree-switcher-margin-inverted:0 0 0 0.5rem;--plasma-tree-switcher-size:1.5rem;--plasma-tree-checkbox-margin:0 0.5rem 0 0;--plasma-tree-checkbox-size:1.5rem;--plasma-tree-checkbox-inner-size:1.25rem;--plasma-tree-checkbox-border-radius:0.375rem;--plasma-tree-font-family:var(--plasma-typo-body-l-font-family);--plasma-tree-font-size:var(--plasma-typo-body-l-font-size);--plasma-tree-font-style:var(--plasma-typo-body-l-font-style);--plasma-tree-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-tree-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-tree-line-height:var(--plasma-typo-body-l-line-height);}
|
754
757
|
.Tree_config_1iqqtu9_mtlwm4v__6bfe4b26{--plasma-tree-item-height:3rem;--plasma-tree-item-padding:0.875rem;--plasma-tree-item-padding-tight:0.375rem;--plasma-tree-item-indent:2rem;--plasma-tree-item-border-radius:0.625rem;--plasma-tree-item-top:0.25rem;--plasma-tree-item-bottom:0.25rem;--plasma-tree-icon-folder-margin:0 0.5rem 0 0;--plasma-tree-switcher-margin:0 0.5rem 0 0;--plasma-tree-switcher-margin-inverted:0 0 0 0.5rem;--plasma-tree-switcher-size:1.5rem;--plasma-tree-checkbox-margin:0 0.5rem 0 0;--plasma-tree-checkbox-size:1.5rem;--plasma-tree-checkbox-inner-size:1.25rem;--plasma-tree-checkbox-border-radius:0.375rem;--plasma-tree-font-family:var(--plasma-typo-body-m-font-family);--plasma-tree-font-size:var(--plasma-typo-body-m-font-size);--plasma-tree-font-style:var(--plasma-typo-body-m-font-style);--plasma-tree-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-tree-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-tree-line-height:var(--plasma-typo-body-m-line-height);}
|
package/css/es/index.js
CHANGED
@@ -70,6 +70,7 @@ export { TextFieldGroup } from './components/TextFieldGroup/TextFieldGroup.js';
|
|
70
70
|
export { Toast, ToastProvider } from './components/Toast/Toast.js';
|
71
71
|
export { Toolbar, ToolbarDivider } from './components/Toolbar/Toolbar.js';
|
72
72
|
export { Tooltip } from './components/Tooltip/Tooltip.js';
|
73
|
+
export { Tour } from './components/Tour/Tour.js';
|
73
74
|
export { Tree } from './components/Tree/Tree.js';
|
74
75
|
export { BodyL, BodyM, BodyS, BodyXS, BodyXXS, DsplL, DsplM, DsplS, H1, H2, H3, H4, H5, TextL, TextM, TextS, TextXS } from './components/Typography/Typography.js';
|
75
76
|
export { Body1, Body2, Button1, Button2, Caption, Footnote1, Footnote2, Headline1, Headline2, Headline3, Headline4, Headline5, P1, P2, ParagraphText1, ParagraphText2, Subtitle, Underline } from './components/Typography/Old/index.js';
|
package/css/es/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/css/index.d.ts
CHANGED
@@ -68,6 +68,7 @@ export * from '../components/Toast';
|
|
68
68
|
export * from '../components/Tokens';
|
69
69
|
export * from '../components/Toolbar';
|
70
70
|
export * from '../components/Tooltip';
|
71
|
+
export * from '../components/Tour';
|
71
72
|
export * from '../components/Tree';
|
72
73
|
export * from '../components/Typography';
|
73
74
|
export * from '../components/Accordion';
|
@@ -140,5 +141,6 @@ export * from '../components/Toast';
|
|
140
141
|
export * from '../components/Tokens';
|
141
142
|
export * from '../components/Toolbar';
|
142
143
|
export * from '../components/Tooltip';
|
144
|
+
export * from '../components/Tour';
|
143
145
|
export * from '../components/Tree';
|
144
146
|
export * from '../components/Typography';
|
@@ -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
package/index.d.ts
CHANGED
package/index.js
CHANGED
@@ -87,6 +87,7 @@ _export_star(require("./components/NumberFormat"), exports);
|
|
87
87
|
_export_star(require("./components/Table"), exports);
|
88
88
|
_export_star(require("./components/CodeField"), exports);
|
89
89
|
_export_star(require("./components/CodeInput"), exports);
|
90
|
+
_export_star(require("./components/Tour"), exports);
|
90
91
|
function _export_star(from, to) {
|
91
92
|
Object.keys(from).forEach(function(k) {
|
92
93
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|