@salutejs/plasma-web 1.579.1-canary.1937.14653374486.0 → 1.579.1-canary.1937.14729137192.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/components/Autocomplete/Autocomplete.d.ts +1 -287
- package/components/Carousel/Carousel.d.ts +5 -0
- package/components/Carousel/Carousel.js +10 -0
- package/components/Carousel/index.d.ts +5 -4
- package/components/Carousel/index.js +5 -4
- package/components/Combobox/Combobox.d.ts +100 -100
- package/components/Combobox/index.d.ts +1 -1
- package/components/DatePicker/DatePicker.config.js +1 -1
- package/components/DatePicker/DatePicker.d.ts +6 -4
- package/components/Tabs/horizontal/HorizontalTabItem.config.js +4 -4
- package/components/Tabs/vertical/VerticalTabItem.config.js +1 -1
- package/css/cjs/components/Carousel/Carousel.js +12 -0
- package/css/cjs/components/Carousel/Carousel.js.map +1 -0
- package/css/cjs/components/Combobox/Combobox.js.map +1 -1
- package/css/cjs/components/DatePicker/DatePicker.config.js +1 -1
- package/css/cjs/components/DatePicker/DatePicker.config.js.map +1 -1
- package/css/{es/components/DatePicker/DatePicker.config_om5396.css → cjs/components/DatePicker/DatePicker.config_1q6rwyz.css} +1 -1
- package/css/cjs/components/DatePicker/DatePicker.css +7 -7
- package/css/cjs/components/Tabs/TabItem.css +21 -21
- package/css/cjs/components/Tabs/TabsController.css +15 -15
- package/css/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +1 -1
- package/css/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js.map +1 -1
- package/css/{es/components/Tabs/horizontal/HorizontalTabItem.config_axznj3.css → cjs/components/Tabs/horizontal/HorizontalTabItem.config_1va7kam.css} +4 -4
- package/css/cjs/components/Tabs/vertical/VerticalTabItem.config.js +1 -1
- package/css/cjs/components/Tabs/vertical/VerticalTabItem.config.js.map +1 -1
- package/css/{es/components/Tabs/vertical/VerticalTabItem.config_1b9301p.css → cjs/components/Tabs/vertical/VerticalTabItem.config_11dsuhl.css} +1 -1
- package/css/cjs/index.css +28 -28
- package/css/cjs/index.js +10 -0
- package/css/cjs/index.js.map +1 -1
- package/css/es/components/Carousel/Carousel.js +8 -0
- package/css/es/components/Carousel/Carousel.js.map +1 -0
- package/css/es/components/Combobox/Combobox.js.map +1 -1
- package/css/es/components/DatePicker/DatePicker.config.js +1 -1
- package/css/es/components/DatePicker/DatePicker.config.js.map +1 -1
- package/css/{cjs/components/DatePicker/DatePicker.config_om5396.css → es/components/DatePicker/DatePicker.config_1q6rwyz.css} +1 -1
- package/css/es/components/DatePicker/DatePicker.css +7 -7
- package/css/es/components/Tabs/TabItem.css +21 -21
- package/css/es/components/Tabs/TabsController.css +15 -15
- package/css/es/components/Tabs/horizontal/HorizontalTabItem.config.js +1 -1
- package/css/es/components/Tabs/horizontal/HorizontalTabItem.config.js.map +1 -1
- package/css/{cjs/components/Tabs/horizontal/HorizontalTabItem.config_axznj3.css → es/components/Tabs/horizontal/HorizontalTabItem.config_1va7kam.css} +4 -4
- package/css/es/components/Tabs/vertical/VerticalTabItem.config.js +1 -1
- package/css/es/components/Tabs/vertical/VerticalTabItem.config.js.map +1 -1
- package/css/{cjs/components/Tabs/vertical/VerticalTabItem.config_1b9301p.css → es/components/Tabs/vertical/VerticalTabItem.config_11dsuhl.css} +1 -1
- package/css/es/index.css +28 -28
- package/css/es/index.js +2 -1
- package/css/es/index.js.map +1 -1
- package/css/index.d.ts +2 -0
- package/es/components/Carousel/Carousel.js +4 -0
- package/es/components/Carousel/index.js +3 -2
- package/es/components/DatePicker/DatePicker.config.js +1 -1
- package/es/components/Tabs/horizontal/HorizontalTabItem.config.js +4 -4
- package/es/components/Tabs/vertical/VerticalTabItem.config.js +1 -1
- package/package.json +6 -6
- package/components/Carousel/Carousel.perftest.js +0 -52
- package/es/components/Carousel/Carousel.perftest.js +0 -45
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-web",
|
3
|
-
"version": "1.579.1-canary.1937.
|
3
|
+
"version": "1.579.1-canary.1937.14729137192.0",
|
4
4
|
"description": "Salute Design System / React UI kit for web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -20,9 +20,9 @@
|
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
22
|
"@salutejs/plasma-core": "1.196.0",
|
23
|
-
"@salutejs/plasma-hope": "1.339.1-canary.1937.
|
24
|
-
"@salutejs/plasma-new-hope": "0.321.1-canary.1937.
|
25
|
-
"@salutejs/plasma-themes": "0.32.1-canary.1937.
|
23
|
+
"@salutejs/plasma-hope": "1.339.1-canary.1937.14729137192.0",
|
24
|
+
"@salutejs/plasma-new-hope": "0.321.1-canary.1937.14729137192.0",
|
25
|
+
"@salutejs/plasma-themes": "0.32.1-canary.1937.14729137192.0",
|
26
26
|
"@salutejs/plasma-tokens-b2b": "1.48.0",
|
27
27
|
"@salutejs/plasma-tokens-b2c": "0.59.0",
|
28
28
|
"@salutejs/plasma-tokens-web": "1.64.0",
|
@@ -51,7 +51,7 @@
|
|
51
51
|
"@salutejs/plasma-colors": "0.15.0",
|
52
52
|
"@salutejs/plasma-cy-utils": "0.127.0",
|
53
53
|
"@salutejs/plasma-icons": "1.217.0",
|
54
|
-
"@salutejs/plasma-sb-utils": "0.196.1-canary.1937.
|
54
|
+
"@salutejs/plasma-sb-utils": "0.196.1-canary.1937.14729137192.0",
|
55
55
|
"@storybook/addon-docs": "7.6.17",
|
56
56
|
"@storybook/addon-essentials": "7.6.17",
|
57
57
|
"@storybook/addons": "7.6.17",
|
@@ -111,5 +111,5 @@
|
|
111
111
|
"Fanil Zubairov"
|
112
112
|
],
|
113
113
|
"sideEffects": false,
|
114
|
-
"gitHead": "
|
114
|
+
"gitHead": "9345ebc23c71f0676c10cd2338632068d5b5b44e"
|
115
115
|
}
|
@@ -1,52 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.Default = void 0;
|
7
|
-
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
8
|
-
var _Carousel = /*#__PURE__*/require("./Carousel.examples");
|
9
|
-
var _ = /*#__PURE__*/require(".");
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
11
|
-
var items = /*#__PURE__*/Array(25).fill({
|
12
|
-
title: 'Слайд',
|
13
|
-
subtitle: 'Описание слайда',
|
14
|
-
imageSrc: 'images/320_320_n.jpg',
|
15
|
-
imageAlt: 'Картинка'
|
16
|
-
}).map(function (_ref, i) {
|
17
|
-
var title = _ref.title,
|
18
|
-
subtitle = _ref.subtitle,
|
19
|
-
imageSrc = _ref.imageSrc,
|
20
|
-
imageAlt = _ref.imageAlt;
|
21
|
-
return {
|
22
|
-
id: "slide_".concat(i),
|
23
|
-
title: "".concat(title, " ").concat(i),
|
24
|
-
subtitle: "".concat(subtitle, " ").concat(i),
|
25
|
-
imageSrc: imageSrc.replace('n', i % 12),
|
26
|
-
imageAlt: "".concat(imageAlt, " ").concat(i)
|
27
|
-
};
|
28
|
-
});
|
29
|
-
var defaultStyle = {
|
30
|
-
margin: '0 -0.5rem'
|
31
|
-
};
|
32
|
-
var defaultCarouselItemStyle = {
|
33
|
-
width: '20rem',
|
34
|
-
padding: '0 0.5rem'
|
35
|
-
};
|
36
|
-
var Default = exports.Default = function Default() {
|
37
|
-
return /*#__PURE__*/_react["default"].createElement(_.Carousel, {
|
38
|
-
index: 0,
|
39
|
-
style: defaultStyle
|
40
|
-
}, items.map(function (item) {
|
41
|
-
return /*#__PURE__*/_react["default"].createElement(_.CarouselItem, {
|
42
|
-
key: item.id,
|
43
|
-
style: defaultCarouselItemStyle
|
44
|
-
}, /*#__PURE__*/_react["default"].createElement(_Carousel.CarouselCard, {
|
45
|
-
id: item.id,
|
46
|
-
title: item.title,
|
47
|
-
subtitle: item.subtitle,
|
48
|
-
imageSrc: item.imageSrc,
|
49
|
-
imageAlt: item.imageAlt
|
50
|
-
}));
|
51
|
-
}));
|
52
|
-
};
|
@@ -1,45 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { CarouselCard } from './Carousel.examples';
|
3
|
-
import { Carousel, CarouselItem } from '.';
|
4
|
-
var items = /*#__PURE__*/Array(25).fill({
|
5
|
-
title: 'Слайд',
|
6
|
-
subtitle: 'Описание слайда',
|
7
|
-
imageSrc: 'images/320_320_n.jpg',
|
8
|
-
imageAlt: 'Картинка'
|
9
|
-
}).map(function (_ref, i) {
|
10
|
-
var title = _ref.title,
|
11
|
-
subtitle = _ref.subtitle,
|
12
|
-
imageSrc = _ref.imageSrc,
|
13
|
-
imageAlt = _ref.imageAlt;
|
14
|
-
return {
|
15
|
-
id: "slide_".concat(i),
|
16
|
-
title: "".concat(title, " ").concat(i),
|
17
|
-
subtitle: "".concat(subtitle, " ").concat(i),
|
18
|
-
imageSrc: imageSrc.replace('n', i % 12),
|
19
|
-
imageAlt: "".concat(imageAlt, " ").concat(i)
|
20
|
-
};
|
21
|
-
});
|
22
|
-
var defaultStyle = {
|
23
|
-
margin: '0 -0.5rem'
|
24
|
-
};
|
25
|
-
var defaultCarouselItemStyle = {
|
26
|
-
width: '20rem',
|
27
|
-
padding: '0 0.5rem'
|
28
|
-
};
|
29
|
-
export var Default = function Default() {
|
30
|
-
return /*#__PURE__*/React.createElement(Carousel, {
|
31
|
-
index: 0,
|
32
|
-
style: defaultStyle
|
33
|
-
}, items.map(function (item) {
|
34
|
-
return /*#__PURE__*/React.createElement(CarouselItem, {
|
35
|
-
key: item.id,
|
36
|
-
style: defaultCarouselItemStyle
|
37
|
-
}, /*#__PURE__*/React.createElement(CarouselCard, {
|
38
|
-
id: item.id,
|
39
|
-
title: item.title,
|
40
|
-
subtitle: item.subtitle,
|
41
|
-
imageSrc: item.imageSrc,
|
42
|
-
imageAlt: item.imageAlt
|
43
|
-
}));
|
44
|
-
}));
|
45
|
-
};
|