@salutejs/plasma-new-hope 0.342.0-canary.2336.19502815560.0 → 0.342.0-canary.2342.19537901143.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/cjs/components/Carousel/CarouselOld/CarouselItem.js +1 -1
- package/cjs/components/Carousel/CarouselOld/CarouselItem.js.map +1 -1
- package/cjs/components/Carousel/CarouselOld/CarouselItem_eduufx.css +1 -0
- package/cjs/components/Sheet/Sheet.js +4 -1
- package/cjs/components/Sheet/Sheet.js.map +1 -1
- package/cjs/components/Sheet/hooks/useSheetSwipe.js +2 -1
- package/cjs/components/Sheet/hooks/useSheetSwipe.js.map +1 -1
- package/cjs/components/Steps/Steps.css +9 -9
- package/cjs/components/Steps/ui/StepItem/StepItem.css +9 -9
- package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +1 -1
- package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
- package/{es/components/Steps/ui/StepItem/StepItem.styles_vom1a1.css → cjs/components/Steps/ui/StepItem/StepItem.styles_b3maer.css} +1 -1
- package/cjs/components/Table/Table.css +12 -12
- package/cjs/components/Table/Table.styles.js +1 -1
- package/cjs/components/Table/Table.styles.js.map +1 -1
- package/{es/components/Table/Table.styles_sl2dfn.css → cjs/components/Table/Table.styles_1jqvkrz.css} +2 -2
- package/cjs/components/Table/ui/Cell/Cell.css +12 -12
- package/cjs/components/Table/ui/EditableCell/EditableCell.css +12 -12
- package/cjs/components/Table/ui/HeadCell/HeadCell.css +12 -12
- package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +12 -12
- package/cjs/components/Toast/Toast.css +1 -1
- package/cjs/components/Toast/variations/_size/base.js +1 -1
- package/cjs/components/Toast/variations/_size/base.js.map +1 -1
- package/cjs/components/Toast/variations/_size/base_1wa8h75.css +1 -0
- package/cjs/index.css +22 -22
- package/emotion/cjs/components/Carousel/CarouselOld/CarouselItem.js +3 -3
- package/emotion/cjs/components/Sheet/Sheet.js +3 -1
- package/emotion/cjs/components/Sheet/hooks/useSheetSwipe.js +2 -2
- package/emotion/cjs/components/Steps/ui/StepItem/StepItem.styles.js +18 -18
- package/emotion/cjs/components/Table/Table.styles.js +25 -25
- package/emotion/cjs/components/Toast/variations/_size/base.js +1 -1
- package/emotion/cjs/examples/components/Combobox/Combobox.js +15 -0
- package/emotion/es/components/Carousel/CarouselOld/CarouselItem.js +3 -3
- package/emotion/es/components/Sheet/Sheet.js +3 -1
- package/emotion/es/components/Sheet/hooks/useSheetSwipe.js +2 -2
- package/emotion/es/components/Steps/ui/StepItem/StepItem.styles.js +18 -18
- package/emotion/es/components/Table/Table.styles.js +25 -25
- package/emotion/es/components/Toast/variations/_size/base.js +1 -1
- package/es/components/Carousel/CarouselOld/CarouselItem.js +1 -1
- package/es/components/Carousel/CarouselOld/CarouselItem.js.map +1 -1
- package/es/components/Carousel/CarouselOld/CarouselItem_eduufx.css +1 -0
- package/es/components/Sheet/Sheet.js +4 -1
- package/es/components/Sheet/Sheet.js.map +1 -1
- package/es/components/Sheet/hooks/useSheetSwipe.js +2 -1
- package/es/components/Sheet/hooks/useSheetSwipe.js.map +1 -1
- package/es/components/Steps/Steps.css +9 -9
- package/es/components/Steps/ui/StepItem/StepItem.css +9 -9
- package/es/components/Steps/ui/StepItem/StepItem.styles.js +1 -1
- package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
- package/{cjs/components/Steps/ui/StepItem/StepItem.styles_vom1a1.css → es/components/Steps/ui/StepItem/StepItem.styles_b3maer.css} +1 -1
- package/es/components/Table/Table.css +12 -12
- package/es/components/Table/Table.styles.js +1 -1
- package/es/components/Table/Table.styles.js.map +1 -1
- package/{cjs/components/Table/Table.styles_sl2dfn.css → es/components/Table/Table.styles_1jqvkrz.css} +2 -2
- package/es/components/Table/ui/Cell/Cell.css +12 -12
- package/es/components/Table/ui/EditableCell/EditableCell.css +12 -12
- package/es/components/Table/ui/HeadCell/HeadCell.css +12 -12
- package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +12 -12
- package/es/components/Toast/Toast.css +1 -1
- package/es/components/Toast/variations/_size/base.js +1 -1
- package/es/components/Toast/variations/_size/base.js.map +1 -1
- package/es/components/Toast/variations/_size/base_1wa8h75.css +1 -0
- package/es/index.css +22 -22
- package/package.json +4 -4
- package/styled-components/cjs/components/Carousel/CarouselOld/CarouselItem.js +2 -2
- package/styled-components/cjs/components/Sheet/Sheet.js +3 -1
- package/styled-components/cjs/components/Sheet/hooks/useSheetSwipe.js +2 -2
- package/styled-components/cjs/components/Steps/ui/StepItem/StepItem.styles.js +10 -10
- package/styled-components/cjs/components/Table/Table.styles.js +13 -13
- package/styled-components/cjs/components/Toast/variations/_size/base.js +1 -1
- package/styled-components/cjs/examples/components/Combobox/Combobox.js +0 -15
- package/styled-components/es/components/Carousel/CarouselOld/CarouselItem.js +2 -2
- package/styled-components/es/components/Sheet/Sheet.js +3 -1
- package/styled-components/es/components/Sheet/hooks/useSheetSwipe.js +2 -2
- package/styled-components/es/components/Steps/ui/StepItem/StepItem.styles.js +10 -10
- package/styled-components/es/components/Table/Table.styles.js +13 -13
- package/styled-components/es/components/Toast/variations/_size/base.js +1 -1
- package/types/components/Carousel/CarouselOld/CarouselItem.d.ts.map +1 -1
- package/types/components/Sheet/Sheet.d.ts.map +1 -1
- package/types/components/Sheet/Sheet.types.d.ts +6 -0
- package/types/components/Sheet/Sheet.types.d.ts.map +1 -1
- package/types/components/Sheet/hooks/useSheetSwipe.d.ts +1 -0
- package/types/components/Sheet/hooks/useSheetSwipe.d.ts.map +1 -1
- package/types/components/Steps/ui/StepItem/StepItem.styles.d.ts.map +1 -1
- package/types/components/Table/Table.styles.d.ts.map +1 -1
- package/types/components/Toast/variations/_size/base.d.ts.map +1 -1
- package/cjs/components/Carousel/CarouselOld/CarouselItem_uvoxfy.css +0 -1
- package/cjs/components/Toast/variations/_size/base_r51pt4.css +0 -1
- package/es/components/Carousel/CarouselOld/CarouselItem_uvoxfy.css +0 -1
- package/es/components/Toast/variations/_size/base_r51pt4.css +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
|
3
|
-
"version": "0.342.0-canary.
|
|
3
|
+
"version": "0.342.0-canary.2342.19537901143.0",
|
|
4
4
|
"description": "Salute Design System blueprint",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@rollup/plugin-babel": "^6.0.4",
|
|
80
80
|
"@rollup/plugin-commonjs": "^25.0.4",
|
|
81
81
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
82
|
-
"@salutejs/plasma-sb-utils": "0.
|
|
82
|
+
"@salutejs/plasma-sb-utils": "0.210.0-canary.2342.19537901143.0",
|
|
83
83
|
"@salutejs/plasma-themes": "0.38.0",
|
|
84
84
|
"@storybook/addon-docs": "8.6.12",
|
|
85
85
|
"@storybook/addon-essentials": "8.6.12",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"@linaria/react": "5.0.3",
|
|
118
118
|
"@popperjs/core": "2.11.8",
|
|
119
119
|
"@salutejs/input-core": "2.1.2",
|
|
120
|
-
"@salutejs/plasma-core": "1.
|
|
120
|
+
"@salutejs/plasma-core": "1.210.0-canary.2342.19537901143.0",
|
|
121
121
|
"@salutejs/react-maskinput": "3.3.0",
|
|
122
122
|
"@tanstack/react-table": "8.21.2",
|
|
123
123
|
"@tanstack/react-virtual": "3.13.2",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"sideEffects": [
|
|
138
138
|
"*.css"
|
|
139
139
|
],
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "a1b1cad44e3ec400a9e25b89309c124cb2e3ffd5"
|
|
141
141
|
}
|
|
@@ -72,9 +72,9 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
72
72
|
}
|
|
73
73
|
var StyledItem = _styledcomponents.default.div.withConfig({
|
|
74
74
|
displayName: "CarouselItem__StyledItem",
|
|
75
|
-
componentId: "sc-
|
|
75
|
+
componentId: "sc-6bff0f9e-0"
|
|
76
76
|
})([
|
|
77
|
-
"scroll-snap-align:",
|
|
77
|
+
"box-sizing:content-box;scroll-snap-align:",
|
|
78
78
|
";scroll-snap-stop:",
|
|
79
79
|
";"
|
|
80
80
|
], function(param) {
|
|
@@ -123,7 +123,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
123
123
|
}
|
|
124
124
|
var sheetRoot = function(Root) {
|
|
125
125
|
return /*#__PURE__*/ (0, _react.forwardRef)(function(_param, rootRef) {
|
|
126
|
-
var opened = _param.opened, children = _param.children, onClose = _param.onClose, _param_hasHandle = _param.hasHandle, hasHandle = _param_hasHandle === void 0 ? true : _param_hasHandle, handlePlacement = _param.handlePlacement, contentHeader = _param.contentHeader, _param_isHeaderFixed = _param.isHeaderFixed, isHeaderFixed = _param_isHeaderFixed === void 0 ? false : _param_isHeaderFixed, contentFooter = _param.contentFooter, _param_isFooterFixed = _param.isFooterFixed, isFooterFixed = _param_isFooterFixed === void 0 ? false : _param_isFooterFixed, _param_withOverlay = _param.withOverlay, withOverlay = _param_withOverlay === void 0 ? true : _param_withOverlay, _param_withBlur = _param.withBlur, withBlur = _param_withBlur === void 0 ? false : _param_withBlur, _param_withTransition = _param.withTransition, withTransition = _param_withTransition === void 0 ? true : _param_withTransition, throttleMs = _param.throttleMs, className = _param.className, view = _param.view, restProps = _object_without_properties(_param, [
|
|
126
|
+
var opened = _param.opened, children = _param.children, onClose = _param.onClose, _param_hasHandle = _param.hasHandle, hasHandle = _param_hasHandle === void 0 ? true : _param_hasHandle, handlePlacement = _param.handlePlacement, contentHeader = _param.contentHeader, _param_isHeaderFixed = _param.isHeaderFixed, isHeaderFixed = _param_isHeaderFixed === void 0 ? false : _param_isHeaderFixed, contentFooter = _param.contentFooter, _param_isFooterFixed = _param.isFooterFixed, isFooterFixed = _param_isFooterFixed === void 0 ? false : _param_isFooterFixed, _param_withOverlay = _param.withOverlay, withOverlay = _param_withOverlay === void 0 ? true : _param_withOverlay, _param_withBlur = _param.withBlur, withBlur = _param_withBlur === void 0 ? false : _param_withBlur, _param_withTransition = _param.withTransition, withTransition = _param_withTransition === void 0 ? true : _param_withTransition, _param_hasScrollEvents = _param.hasScrollEvents, hasScrollEvents = _param_hasScrollEvents === void 0 ? true : _param_hasScrollEvents, throttleMs = _param.throttleMs, className = _param.className, view = _param.view, restProps = _object_without_properties(_param, [
|
|
127
127
|
"opened",
|
|
128
128
|
"children",
|
|
129
129
|
"onClose",
|
|
@@ -136,6 +136,7 @@ var sheetRoot = function(Root) {
|
|
|
136
136
|
"withOverlay",
|
|
137
137
|
"withBlur",
|
|
138
138
|
"withTransition",
|
|
139
|
+
"hasScrollEvents",
|
|
139
140
|
"throttleMs",
|
|
140
141
|
"className",
|
|
141
142
|
"view"
|
|
@@ -151,6 +152,7 @@ var sheetRoot = function(Root) {
|
|
|
151
152
|
contentRef: contentRef,
|
|
152
153
|
handleRef: handleRef,
|
|
153
154
|
throttleMs: throttleMs,
|
|
155
|
+
hasScrollEvents: hasScrollEvents,
|
|
154
156
|
onClose: onClose
|
|
155
157
|
});
|
|
156
158
|
var hasHeader = Boolean(contentHeader);
|
|
@@ -71,7 +71,7 @@ var isScrollable = function(element) {
|
|
|
71
71
|
return style.overflow === 'scroll' || style.overflow === 'auto' || style.overflowY === 'scroll' || style.overflowY === 'auto';
|
|
72
72
|
};
|
|
73
73
|
var useSheetSwipe = function(args) {
|
|
74
|
-
var contentWrapperRef = args.contentWrapperRef, contentRef = args.contentRef, handleRef = args.handleRef, onClose = args.onClose, _args_throttleMs = args.throttleMs, throttleMs = _args_throttleMs === void 0 ? THROTTLE_DEFAULT_MS : _args_throttleMs;
|
|
74
|
+
var contentWrapperRef = args.contentWrapperRef, contentRef = args.contentRef, handleRef = args.handleRef, hasScrollEvents = args.hasScrollEvents, onClose = args.onClose, _args_throttleMs = args.throttleMs, throttleMs = _args_throttleMs === void 0 ? THROTTLE_DEFAULT_MS : _args_throttleMs;
|
|
75
75
|
var _useState = _sliced_to_array((0, _react.useState)(true), 2), isTopScroll = _useState[0], setIsTopScroll = _useState[1];
|
|
76
76
|
var isOverscroll = (0, _react.useRef)(false);
|
|
77
77
|
var startY = (0, _react.useRef)(0);
|
|
@@ -81,7 +81,7 @@ var useSheetSwipe = function(args) {
|
|
|
81
81
|
var handleEl = handleRef.current;
|
|
82
82
|
var contentEl = contentRef.current;
|
|
83
83
|
var triggerElement = !isTopScroll ? handleEl : contentWrapperEl;
|
|
84
|
-
if (!triggerElement || !contentEl || !contentWrapperEl) {
|
|
84
|
+
if (!triggerElement || !contentEl || !contentWrapperEl || !hasScrollEvents) {
|
|
85
85
|
return;
|
|
86
86
|
}
|
|
87
87
|
var nodes = Array.from(contentWrapperEl.querySelectorAll('*'));
|
|
@@ -51,7 +51,7 @@ var mergedConfig = (0, _engines.mergeConfig)(_Spinner.spinnerConfig);
|
|
|
51
51
|
var Spinner = (0, _engines.component)(mergedConfig);
|
|
52
52
|
var SpinnerStyled = (0, _styledcomponents.default)(Spinner).withConfig({
|
|
53
53
|
displayName: "StepItem.styles__SpinnerStyled",
|
|
54
|
-
componentId: "sc-
|
|
54
|
+
componentId: "sc-ba9b3eb5-0"
|
|
55
55
|
})([
|
|
56
56
|
"",
|
|
57
57
|
":",
|
|
@@ -64,7 +64,7 @@ var SpinnerStyled = (0, _styledcomponents.default)(Spinner).withConfig({
|
|
|
64
64
|
}, _Spinner.spinnerTokens.color, _Stepstokens.tokens.activeIndicatorColor);
|
|
65
65
|
var StepItemTitle = _styledcomponents.default.div.withConfig({
|
|
66
66
|
displayName: "StepItem.styles__StepItemTitle",
|
|
67
|
-
componentId: "sc-
|
|
67
|
+
componentId: "sc-ba9b3eb5-1"
|
|
68
68
|
})([
|
|
69
69
|
"padding-top:var(",
|
|
70
70
|
");padding-right:var(",
|
|
@@ -78,7 +78,7 @@ var StepItemTitle = _styledcomponents.default.div.withConfig({
|
|
|
78
78
|
], _Stepstokens.tokens.titlePaddingTop, _Stepstokens.tokens.contentSidePadding, _Stepstokens.tokens.titleFontFamily, _Stepstokens.tokens.titleFontSize, _Stepstokens.tokens.titleFontStyle, _Stepstokens.tokens.titleFontWeight, _Stepstokens.tokens.titleLetterSpacing, _Stepstokens.tokens.titleLineHeight);
|
|
79
79
|
var StepItemContent = _styledcomponents.default.div.withConfig({
|
|
80
80
|
displayName: "StepItem.styles__StepItemContent",
|
|
81
|
-
componentId: "sc-
|
|
81
|
+
componentId: "sc-ba9b3eb5-2"
|
|
82
82
|
})([
|
|
83
83
|
"padding-top:var(",
|
|
84
84
|
");padding-right:var(",
|
|
@@ -93,9 +93,9 @@ var StepItemContent = _styledcomponents.default.div.withConfig({
|
|
|
93
93
|
], _Stepstokens.tokens.contentPaddingTop, _Stepstokens.tokens.contentSidePadding, _Stepstokens.tokens.contentFontFamily, _Stepstokens.tokens.contentFontSize, _Stepstokens.tokens.contentFontStyle, _Stepstokens.tokens.contentFontWeight, _Stepstokens.tokens.contentLetterSpacing, _Stepstokens.tokens.contentLineHeight, _Stepstokens.tokens.contentColor);
|
|
94
94
|
var BulletIndicatorWrapper = _styledcomponents.default.div.withConfig({
|
|
95
95
|
displayName: "StepItem.styles__BulletIndicatorWrapper",
|
|
96
|
-
componentId: "sc-
|
|
96
|
+
componentId: "sc-ba9b3eb5-3"
|
|
97
97
|
})([
|
|
98
|
-
"display:flex;align-items:center;&:not(.",
|
|
98
|
+
"display:flex;align-items:center;box-sizing:content-box;&:not(.",
|
|
99
99
|
"){flex:0;&.",
|
|
100
100
|
"{width:100%;min-height:var(",
|
|
101
101
|
");}&:not(.",
|
|
@@ -117,7 +117,7 @@ var BulletIndicatorWrapper = _styledcomponents.default.div.withConfig({
|
|
|
117
117
|
], _Stepstokens.classes.simple, _Stepstokens.classes.hasIndicator, _Stepstokens.tokens.activeIndicatorSize, _Stepstokens.classes.hasIndicator, _Stepstokens.tokens.activeBulletSize, _Stepstokens.classes.verticalOrientation, _Stepstokens.tokens.verticalContentPaddingLeft, _Stepstokens.classes.simple, _Stepstokens.classes.hasIndicator, _Stepstokens.tokens.activeIndicatorSize, _Stepstokens.classes.hasIndicator, _Stepstokens.tokens.activeBulletSize, _Stepstokens.classes.verticalOrientation, _Stepstokens.classes.hasIndicator, _Stepstokens.tokens.activeIndicatorSize, _Stepstokens.classes.hasIndicator, _Stepstokens.tokens.activeBulletSize, _Stepstokens.classes.centered);
|
|
118
118
|
var BulletIndicator = _styledcomponents.default.button.withConfig({
|
|
119
119
|
displayName: "StepItem.styles__BulletIndicator",
|
|
120
|
-
componentId: "sc-
|
|
120
|
+
componentId: "sc-ba9b3eb5-4"
|
|
121
121
|
})([
|
|
122
122
|
"display:flex;align-items:center;justify-content:center;width:var(",
|
|
123
123
|
");height:var(",
|
|
@@ -163,7 +163,7 @@ var BulletIndicator = _styledcomponents.default.button.withConfig({
|
|
|
163
163
|
}), _Stepstokens.classes.inactive, _Stepstokens.tokens.inactiveIndicatorColor, _Stepstokens.tokens.inactiveIndicatorBackground, _Stepstokens.classes.simple, _Stepstokens.tokens.dividerColor);
|
|
164
164
|
var Bullet = (0, _styledcomponents.default)(BulletIndicator).withConfig({
|
|
165
165
|
displayName: "StepItem.styles__Bullet",
|
|
166
|
-
componentId: "sc-
|
|
166
|
+
componentId: "sc-ba9b3eb5-5"
|
|
167
167
|
})([
|
|
168
168
|
"width:var(",
|
|
169
169
|
");height:var(",
|
|
@@ -177,7 +177,7 @@ var Bullet = (0, _styledcomponents.default)(BulletIndicator).withConfig({
|
|
|
177
177
|
], _Stepstokens.tokens.bulletSize, _Stepstokens.tokens.bulletSize, _Stepstokens.classes.active, _Stepstokens.tokens.activeBulletSize, _Stepstokens.tokens.activeBulletSize, _Stepstokens.tokens.dividerThickness, _Stepstokens.tokens.activeIndicatorBorder, _Stepstokens.tokens.activeIndicatorBackground);
|
|
178
178
|
var StepItemDivider = _styledcomponents.default.div.withConfig({
|
|
179
179
|
displayName: "StepItem.styles__StepItemDivider",
|
|
180
|
-
componentId: "sc-
|
|
180
|
+
componentId: "sc-ba9b3eb5-6"
|
|
181
181
|
})([
|
|
182
182
|
"flex:1;width:100%;height:var(",
|
|
183
183
|
");background:var(",
|
|
@@ -206,7 +206,7 @@ var StepItemDivider = _styledcomponents.default.div.withConfig({
|
|
|
206
206
|
}, _Stepstokens.classes.simple);
|
|
207
207
|
var StepItemContentWrapper = _styledcomponents.default.div.withConfig({
|
|
208
208
|
displayName: "StepItem.styles__StepItemContentWrapper",
|
|
209
|
-
componentId: "sc-
|
|
209
|
+
componentId: "sc-ba9b3eb5-7"
|
|
210
210
|
})([
|
|
211
211
|
"&.",
|
|
212
212
|
"{",
|
|
@@ -218,7 +218,7 @@ var StepItemContentWrapper = _styledcomponents.default.div.withConfig({
|
|
|
218
218
|
], _Stepstokens.classes.verticalOrientation, StepItemTitle, _Stepstokens.tokens.contentVerticalPadding, StepItemContent, _Stepstokens.tokens.contentVerticalPadding, _Stepstokens.tokens.contentVerticalPadding);
|
|
219
219
|
var StepItemStyled = _styledcomponents.default.div.withConfig({
|
|
220
220
|
displayName: "StepItem.styles__StepItemStyled",
|
|
221
|
-
componentId: "sc-
|
|
221
|
+
componentId: "sc-ba9b3eb5-8"
|
|
222
222
|
})([
|
|
223
223
|
"position:relative;display:flex;flex-direction:column;align-items:flex-start;flex:1;color:var(",
|
|
224
224
|
");&.",
|
|
@@ -107,7 +107,7 @@ var base = (0, _styledcomponents.css)([
|
|
|
107
107
|
]);
|
|
108
108
|
var Table = _styledcomponents.default.table.withConfig({
|
|
109
109
|
displayName: "Table.styles__Table",
|
|
110
|
-
componentId: "sc-
|
|
110
|
+
componentId: "sc-382f3104-0"
|
|
111
111
|
})([
|
|
112
112
|
"width:fit-content;font-family:var(",
|
|
113
113
|
");font-size:var(",
|
|
@@ -123,9 +123,9 @@ var Table = _styledcomponents.default.table.withConfig({
|
|
|
123
123
|
});
|
|
124
124
|
var Tr = _styledcomponents.default.tr.withConfig({
|
|
125
125
|
displayName: "Table.styles__Tr",
|
|
126
|
-
componentId: "sc-
|
|
126
|
+
componentId: "sc-382f3104-1"
|
|
127
127
|
})([
|
|
128
|
-
"width:fit-content;background-color:",
|
|
128
|
+
"box-sizing:content-box;width:fit-content;background-color:",
|
|
129
129
|
";"
|
|
130
130
|
], function(param) {
|
|
131
131
|
var selected = param.selected;
|
|
@@ -133,7 +133,7 @@ var Tr = _styledcomponents.default.tr.withConfig({
|
|
|
133
133
|
});
|
|
134
134
|
var Thead = _styledcomponents.default.thead.withConfig({
|
|
135
135
|
displayName: "Table.styles__Thead",
|
|
136
|
-
componentId: "sc-
|
|
136
|
+
componentId: "sc-382f3104-2"
|
|
137
137
|
})([
|
|
138
138
|
"position:",
|
|
139
139
|
";top:0;background:",
|
|
@@ -153,13 +153,13 @@ var Thead = _styledcomponents.default.thead.withConfig({
|
|
|
153
153
|
}, Tr);
|
|
154
154
|
var Tbody = _styledcomponents.default.tbody.withConfig({
|
|
155
155
|
displayName: "Table.styles__Tbody",
|
|
156
|
-
componentId: "sc-
|
|
156
|
+
componentId: "sc-382f3104-3"
|
|
157
157
|
})([
|
|
158
158
|
""
|
|
159
159
|
]);
|
|
160
160
|
var Resizer = _styledcomponents.default.div.withConfig({
|
|
161
161
|
displayName: "Table.styles__Resizer",
|
|
162
|
-
componentId: "sc-
|
|
162
|
+
componentId: "sc-382f3104-4"
|
|
163
163
|
})([
|
|
164
164
|
"display:",
|
|
165
165
|
";position:absolute;z-index:1;top:-0.0625rem;bottom:0;right:-0.125rem;width:0.1875rem;background:var(--outline-accent);cursor:col-resize;user-select:none;touch-action:none;"
|
|
@@ -169,11 +169,11 @@ var Resizer = _styledcomponents.default.div.withConfig({
|
|
|
169
169
|
});
|
|
170
170
|
var Th = _styledcomponents.default.th.withConfig({
|
|
171
171
|
displayName: "Table.styles__Th",
|
|
172
|
-
componentId: "sc-
|
|
172
|
+
componentId: "sc-382f3104-5"
|
|
173
173
|
})([
|
|
174
174
|
"padding:",
|
|
175
175
|
";position:relative;font-weight:600;text-align:left;height:var(",
|
|
176
|
-
");background-color:transparent;color:inherit;border-width:0.0625rem;border-top-width:0;border-bottom-width:0;border-style:solid;border-color:",
|
|
176
|
+
");background-color:transparent;color:inherit;box-sizing:content-box;border-width:0.0625rem;border-top-width:0;border-bottom-width:0;border-style:solid;border-color:",
|
|
177
177
|
";&:hover{",
|
|
178
178
|
"{display:block;}}"
|
|
179
179
|
], function(param) {
|
|
@@ -185,7 +185,7 @@ var Th = _styledcomponents.default.th.withConfig({
|
|
|
185
185
|
}, Resizer);
|
|
186
186
|
var StyledCheckbox = (0, _styledcomponents.default)(Checkbox).withConfig({
|
|
187
187
|
displayName: "Table.styles__StyledCheckbox",
|
|
188
|
-
componentId: "sc-
|
|
188
|
+
componentId: "sc-382f3104-6"
|
|
189
189
|
})([
|
|
190
190
|
"",
|
|
191
191
|
":var(",
|
|
@@ -205,7 +205,7 @@ var StyledCheckbox = (0, _styledcomponents.default)(Checkbox).withConfig({
|
|
|
205
205
|
], _Checkbox.checkboxTokens.triggerSize, _Tabletokens.tableTokens.checkboxTriggerSize, _Checkbox.checkboxTokens.triggerBorderRadius, _Tabletokens.tableTokens.checkboxTriggerBorderRadius, _Checkbox.checkboxTokens.fillColor, _Tabletokens.tableTokens.checkboxFillColor, _Checkbox.checkboxTokens.iconColor, _Tabletokens.tableTokens.checkboxTriggerIconColor, _Checkbox.checkboxTokens.triggerBorderCheckedColor, _Tabletokens.tableTokens.checkboxTriggerBorderCheckedColor, _Checkbox.checkboxTokens.triggerBorderWidth, _Tabletokens.tableTokens.checkboxTriggerBorderWidth, _Checkbox.checkboxTokens.triggerBorderColor, _Tabletokens.tableTokens.checkboxTriggerBorderColor);
|
|
206
206
|
var StyledDivider = (0, _styledcomponents.default)(Divider).withConfig({
|
|
207
207
|
displayName: "Table.styles__StyledDivider",
|
|
208
|
-
componentId: "sc-
|
|
208
|
+
componentId: "sc-382f3104-7"
|
|
209
209
|
})([
|
|
210
210
|
"",
|
|
211
211
|
":0.0625rem;",
|
|
@@ -214,7 +214,7 @@ var StyledDivider = (0, _styledcomponents.default)(Divider).withConfig({
|
|
|
214
214
|
], _Divider.dividerTokens.baseSideSize, _Divider.dividerTokens.background, _Divider.dividerTokens.borderRadius);
|
|
215
215
|
var Button = (0, _styledcomponents.default)(ButtonBase).withConfig({
|
|
216
216
|
displayName: "Table.styles__Button",
|
|
217
|
-
componentId: "sc-
|
|
217
|
+
componentId: "sc-382f3104-8"
|
|
218
218
|
})([
|
|
219
219
|
"",
|
|
220
220
|
":var(",
|
|
@@ -235,7 +235,7 @@ var Button = (0, _styledcomponents.default)(ButtonBase).withConfig({
|
|
|
235
235
|
], _Button.buttonTokens.buttonHeight, _Tabletokens.tableTokens.buttonHeight, _Button.buttonTokens.buttonDisabledOpacity, _Button.buttonTokens.buttonFontFamily, _Tabletokens.tableTokens.buttonFontFamily, _Button.buttonTokens.buttonFontSize, _Tabletokens.tableTokens.buttonFontSize, _Button.buttonTokens.buttonFontStyle, _Tabletokens.tableTokens.buttonFontStyle, _Button.buttonTokens.buttonFontWeight, _Tabletokens.tableTokens.buttonFontWeight, _Button.buttonTokens.buttonLetterSpacing, _Tabletokens.tableTokens.buttonLetterSpacing, _Button.buttonTokens.buttonLineHeight, _Tabletokens.tableTokens.buttonLineHeight);
|
|
236
236
|
var ButtonAccent = (0, _styledcomponents.default)(Button).withConfig({
|
|
237
237
|
displayName: "Table.styles__ButtonAccent",
|
|
238
|
-
componentId: "sc-
|
|
238
|
+
componentId: "sc-382f3104-9"
|
|
239
239
|
})([
|
|
240
240
|
"",
|
|
241
241
|
":var(--on-dark-text-primary);",
|
|
@@ -246,7 +246,7 @@ var ButtonAccent = (0, _styledcomponents.default)(Button).withConfig({
|
|
|
246
246
|
], _Button.buttonTokens.buttonColor, _Button.buttonTokens.buttonValueColor, _Button.buttonTokens.buttonBackgroundColor, _Button.buttonTokens.buttonBackgroundColorHover, _Button.buttonTokens.buttonBackgroundColorActive);
|
|
247
247
|
var LinkButton = (0, _styledcomponents.default)(LinkButtonBase).withConfig({
|
|
248
248
|
displayName: "Table.styles__LinkButton",
|
|
249
|
-
componentId: "sc-
|
|
249
|
+
componentId: "sc-382f3104-10"
|
|
250
250
|
})([
|
|
251
251
|
"",
|
|
252
252
|
":var(--text-primary);",
|
|
@@ -11,7 +11,7 @@ Object.defineProperty(exports, "base", {
|
|
|
11
11
|
var _styledcomponents = require("styled-components");
|
|
12
12
|
var _Toasttokens = require("../../Toast.tokens");
|
|
13
13
|
var base = (0, _styledcomponents.css)([
|
|
14
|
-
"padding:var(",
|
|
14
|
+
"box-sizing:content-box;padding:var(",
|
|
15
15
|
");border-radius:var(",
|
|
16
16
|
");max-width:var(",
|
|
17
17
|
");flex-shrink:0;transform:translateX(-50%);font-family:var(",
|
|
@@ -1,16 +1 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "Combobox", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return Combobox;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _engines = require("../../../engines");
|
|
12
|
-
var _ = require("../../..");
|
|
13
|
-
var _Comboboxconfig = require("./Combobox.config");
|
|
14
|
-
var mergedConfig = (0, _engines.mergeConfig)(_.comboboxNewConfig, _Comboboxconfig.config);
|
|
15
|
-
var ComboboxComponent = (0, _engines.component)(mergedConfig);
|
|
16
|
-
var Combobox = ComboboxComponent;
|
|
@@ -57,9 +57,9 @@ import React from "react";
|
|
|
57
57
|
import styled from "styled-components";
|
|
58
58
|
var StyledItem = styled.div.withConfig({
|
|
59
59
|
displayName: "CarouselItem__StyledItem",
|
|
60
|
-
componentId: "sc-
|
|
60
|
+
componentId: "sc-6bff0f9e-0"
|
|
61
61
|
})([
|
|
62
|
-
"scroll-snap-align:",
|
|
62
|
+
"box-sizing:content-box;scroll-snap-align:",
|
|
63
63
|
";scroll-snap-stop:",
|
|
64
64
|
";"
|
|
65
65
|
], function(param) {
|
|
@@ -66,7 +66,7 @@ import { DEFAULT_Z_INDEX } from "./utils";
|
|
|
66
66
|
* Открывает окно-шторку поверх основного экрана.
|
|
67
67
|
*/ export var sheetRoot = function(Root) {
|
|
68
68
|
return /*#__PURE__*/ forwardRef(function(_param, rootRef) {
|
|
69
|
-
var opened = _param.opened, children = _param.children, onClose = _param.onClose, _param_hasHandle = _param.hasHandle, hasHandle = _param_hasHandle === void 0 ? true : _param_hasHandle, handlePlacement = _param.handlePlacement, contentHeader = _param.contentHeader, _param_isHeaderFixed = _param.isHeaderFixed, isHeaderFixed = _param_isHeaderFixed === void 0 ? false : _param_isHeaderFixed, contentFooter = _param.contentFooter, _param_isFooterFixed = _param.isFooterFixed, isFooterFixed = _param_isFooterFixed === void 0 ? false : _param_isFooterFixed, _param_withOverlay = _param.withOverlay, withOverlay = _param_withOverlay === void 0 ? true : _param_withOverlay, _param_withBlur = _param.withBlur, withBlur = _param_withBlur === void 0 ? false : _param_withBlur, _param_withTransition = _param.withTransition, withTransition = _param_withTransition === void 0 ? true : _param_withTransition, throttleMs = _param.throttleMs, className = _param.className, view = _param.view, restProps = _object_without_properties(_param, [
|
|
69
|
+
var opened = _param.opened, children = _param.children, onClose = _param.onClose, _param_hasHandle = _param.hasHandle, hasHandle = _param_hasHandle === void 0 ? true : _param_hasHandle, handlePlacement = _param.handlePlacement, contentHeader = _param.contentHeader, _param_isHeaderFixed = _param.isHeaderFixed, isHeaderFixed = _param_isHeaderFixed === void 0 ? false : _param_isHeaderFixed, contentFooter = _param.contentFooter, _param_isFooterFixed = _param.isFooterFixed, isFooterFixed = _param_isFooterFixed === void 0 ? false : _param_isFooterFixed, _param_withOverlay = _param.withOverlay, withOverlay = _param_withOverlay === void 0 ? true : _param_withOverlay, _param_withBlur = _param.withBlur, withBlur = _param_withBlur === void 0 ? false : _param_withBlur, _param_withTransition = _param.withTransition, withTransition = _param_withTransition === void 0 ? true : _param_withTransition, _param_hasScrollEvents = _param.hasScrollEvents, hasScrollEvents = _param_hasScrollEvents === void 0 ? true : _param_hasScrollEvents, throttleMs = _param.throttleMs, className = _param.className, view = _param.view, restProps = _object_without_properties(_param, [
|
|
70
70
|
"opened",
|
|
71
71
|
"children",
|
|
72
72
|
"onClose",
|
|
@@ -79,6 +79,7 @@ import { DEFAULT_Z_INDEX } from "./utils";
|
|
|
79
79
|
"withOverlay",
|
|
80
80
|
"withBlur",
|
|
81
81
|
"withTransition",
|
|
82
|
+
"hasScrollEvents",
|
|
82
83
|
"throttleMs",
|
|
83
84
|
"className",
|
|
84
85
|
"view"
|
|
@@ -94,6 +95,7 @@ import { DEFAULT_Z_INDEX } from "./utils";
|
|
|
94
95
|
contentRef: contentRef,
|
|
95
96
|
handleRef: handleRef,
|
|
96
97
|
throttleMs: throttleMs,
|
|
98
|
+
hasScrollEvents: hasScrollEvents,
|
|
97
99
|
onClose: onClose
|
|
98
100
|
});
|
|
99
101
|
var hasHeader = Boolean(contentHeader);
|
|
@@ -56,7 +56,7 @@ var isScrollable = function(element) {
|
|
|
56
56
|
return style.overflow === 'scroll' || style.overflow === 'auto' || style.overflowY === 'scroll' || style.overflowY === 'auto';
|
|
57
57
|
};
|
|
58
58
|
export var useSheetSwipe = function(args) {
|
|
59
|
-
var contentWrapperRef = args.contentWrapperRef, contentRef = args.contentRef, handleRef = args.handleRef, onClose = args.onClose, _args_throttleMs = args.throttleMs, throttleMs = _args_throttleMs === void 0 ? THROTTLE_DEFAULT_MS : _args_throttleMs;
|
|
59
|
+
var contentWrapperRef = args.contentWrapperRef, contentRef = args.contentRef, handleRef = args.handleRef, hasScrollEvents = args.hasScrollEvents, onClose = args.onClose, _args_throttleMs = args.throttleMs, throttleMs = _args_throttleMs === void 0 ? THROTTLE_DEFAULT_MS : _args_throttleMs;
|
|
60
60
|
var _useState = _sliced_to_array(useState(true), 2), isTopScroll = _useState[0], setIsTopScroll = _useState[1];
|
|
61
61
|
var isOverscroll = useRef(false);
|
|
62
62
|
var startY = useRef(0);
|
|
@@ -66,7 +66,7 @@ export var useSheetSwipe = function(args) {
|
|
|
66
66
|
var handleEl = handleRef.current;
|
|
67
67
|
var contentEl = contentRef.current;
|
|
68
68
|
var triggerElement = !isTopScroll ? handleEl : contentWrapperEl;
|
|
69
|
-
if (!triggerElement || !contentEl || !contentWrapperEl) {
|
|
69
|
+
if (!triggerElement || !contentEl || !contentWrapperEl || !hasScrollEvents) {
|
|
70
70
|
return;
|
|
71
71
|
}
|
|
72
72
|
var nodes = Array.from(contentWrapperEl.querySelectorAll('*'));
|
|
@@ -7,7 +7,7 @@ var mergedConfig = mergeConfig(spinnerConfig);
|
|
|
7
7
|
var Spinner = component(mergedConfig);
|
|
8
8
|
export var SpinnerStyled = styled(Spinner).withConfig({
|
|
9
9
|
displayName: "StepItem.styles__SpinnerStyled",
|
|
10
|
-
componentId: "sc-
|
|
10
|
+
componentId: "sc-ba9b3eb5-0"
|
|
11
11
|
})([
|
|
12
12
|
"",
|
|
13
13
|
":",
|
|
@@ -20,7 +20,7 @@ export var SpinnerStyled = styled(Spinner).withConfig({
|
|
|
20
20
|
}, spinnerTokens.color, tokens.activeIndicatorColor);
|
|
21
21
|
export var StepItemTitle = styled.div.withConfig({
|
|
22
22
|
displayName: "StepItem.styles__StepItemTitle",
|
|
23
|
-
componentId: "sc-
|
|
23
|
+
componentId: "sc-ba9b3eb5-1"
|
|
24
24
|
})([
|
|
25
25
|
"padding-top:var(",
|
|
26
26
|
");padding-right:var(",
|
|
@@ -34,7 +34,7 @@ export var StepItemTitle = styled.div.withConfig({
|
|
|
34
34
|
], tokens.titlePaddingTop, tokens.contentSidePadding, tokens.titleFontFamily, tokens.titleFontSize, tokens.titleFontStyle, tokens.titleFontWeight, tokens.titleLetterSpacing, tokens.titleLineHeight);
|
|
35
35
|
export var StepItemContent = styled.div.withConfig({
|
|
36
36
|
displayName: "StepItem.styles__StepItemContent",
|
|
37
|
-
componentId: "sc-
|
|
37
|
+
componentId: "sc-ba9b3eb5-2"
|
|
38
38
|
})([
|
|
39
39
|
"padding-top:var(",
|
|
40
40
|
");padding-right:var(",
|
|
@@ -49,9 +49,9 @@ export var StepItemContent = styled.div.withConfig({
|
|
|
49
49
|
], tokens.contentPaddingTop, tokens.contentSidePadding, tokens.contentFontFamily, tokens.contentFontSize, tokens.contentFontStyle, tokens.contentFontWeight, tokens.contentLetterSpacing, tokens.contentLineHeight, tokens.contentColor);
|
|
50
50
|
export var BulletIndicatorWrapper = styled.div.withConfig({
|
|
51
51
|
displayName: "StepItem.styles__BulletIndicatorWrapper",
|
|
52
|
-
componentId: "sc-
|
|
52
|
+
componentId: "sc-ba9b3eb5-3"
|
|
53
53
|
})([
|
|
54
|
-
"display:flex;align-items:center;&:not(.",
|
|
54
|
+
"display:flex;align-items:center;box-sizing:content-box;&:not(.",
|
|
55
55
|
"){flex:0;&.",
|
|
56
56
|
"{width:100%;min-height:var(",
|
|
57
57
|
");}&:not(.",
|
|
@@ -73,7 +73,7 @@ export var BulletIndicatorWrapper = styled.div.withConfig({
|
|
|
73
73
|
], classes.simple, classes.hasIndicator, tokens.activeIndicatorSize, classes.hasIndicator, tokens.activeBulletSize, classes.verticalOrientation, tokens.verticalContentPaddingLeft, classes.simple, classes.hasIndicator, tokens.activeIndicatorSize, classes.hasIndicator, tokens.activeBulletSize, classes.verticalOrientation, classes.hasIndicator, tokens.activeIndicatorSize, classes.hasIndicator, tokens.activeBulletSize, classes.centered);
|
|
74
74
|
export var BulletIndicator = styled.button.withConfig({
|
|
75
75
|
displayName: "StepItem.styles__BulletIndicator",
|
|
76
|
-
componentId: "sc-
|
|
76
|
+
componentId: "sc-ba9b3eb5-4"
|
|
77
77
|
})([
|
|
78
78
|
"display:flex;align-items:center;justify-content:center;width:var(",
|
|
79
79
|
");height:var(",
|
|
@@ -119,7 +119,7 @@ export var BulletIndicator = styled.button.withConfig({
|
|
|
119
119
|
}), classes.inactive, tokens.inactiveIndicatorColor, tokens.inactiveIndicatorBackground, classes.simple, tokens.dividerColor);
|
|
120
120
|
export var Bullet = styled(BulletIndicator).withConfig({
|
|
121
121
|
displayName: "StepItem.styles__Bullet",
|
|
122
|
-
componentId: "sc-
|
|
122
|
+
componentId: "sc-ba9b3eb5-5"
|
|
123
123
|
})([
|
|
124
124
|
"width:var(",
|
|
125
125
|
");height:var(",
|
|
@@ -133,7 +133,7 @@ export var Bullet = styled(BulletIndicator).withConfig({
|
|
|
133
133
|
], tokens.bulletSize, tokens.bulletSize, classes.active, tokens.activeBulletSize, tokens.activeBulletSize, tokens.dividerThickness, tokens.activeIndicatorBorder, tokens.activeIndicatorBackground);
|
|
134
134
|
export var StepItemDivider = styled.div.withConfig({
|
|
135
135
|
displayName: "StepItem.styles__StepItemDivider",
|
|
136
|
-
componentId: "sc-
|
|
136
|
+
componentId: "sc-ba9b3eb5-6"
|
|
137
137
|
})([
|
|
138
138
|
"flex:1;width:100%;height:var(",
|
|
139
139
|
");background:var(",
|
|
@@ -162,7 +162,7 @@ export var StepItemDivider = styled.div.withConfig({
|
|
|
162
162
|
}, classes.simple);
|
|
163
163
|
export var StepItemContentWrapper = styled.div.withConfig({
|
|
164
164
|
displayName: "StepItem.styles__StepItemContentWrapper",
|
|
165
|
-
componentId: "sc-
|
|
165
|
+
componentId: "sc-ba9b3eb5-7"
|
|
166
166
|
})([
|
|
167
167
|
"&.",
|
|
168
168
|
"{",
|
|
@@ -174,7 +174,7 @@ export var StepItemContentWrapper = styled.div.withConfig({
|
|
|
174
174
|
], classes.verticalOrientation, StepItemTitle, tokens.contentVerticalPadding, StepItemContent, tokens.contentVerticalPadding, tokens.contentVerticalPadding);
|
|
175
175
|
export var StepItemStyled = styled.div.withConfig({
|
|
176
176
|
displayName: "StepItem.styles__StepItemStyled",
|
|
177
|
-
componentId: "sc-
|
|
177
|
+
componentId: "sc-ba9b3eb5-8"
|
|
178
178
|
})([
|
|
179
179
|
"position:relative;display:flex;flex-direction:column;align-items:flex-start;flex:1;color:var(",
|
|
180
180
|
");&.",
|
|
@@ -19,7 +19,7 @@ export var base = css([
|
|
|
19
19
|
]);
|
|
20
20
|
export var Table = styled.table.withConfig({
|
|
21
21
|
displayName: "Table.styles__Table",
|
|
22
|
-
componentId: "sc-
|
|
22
|
+
componentId: "sc-382f3104-0"
|
|
23
23
|
})([
|
|
24
24
|
"width:fit-content;font-family:var(",
|
|
25
25
|
");font-size:var(",
|
|
@@ -35,9 +35,9 @@ export var Table = styled.table.withConfig({
|
|
|
35
35
|
});
|
|
36
36
|
export var Tr = styled.tr.withConfig({
|
|
37
37
|
displayName: "Table.styles__Tr",
|
|
38
|
-
componentId: "sc-
|
|
38
|
+
componentId: "sc-382f3104-1"
|
|
39
39
|
})([
|
|
40
|
-
"width:fit-content;background-color:",
|
|
40
|
+
"box-sizing:content-box;width:fit-content;background-color:",
|
|
41
41
|
";"
|
|
42
42
|
], function(param) {
|
|
43
43
|
var selected = param.selected;
|
|
@@ -45,7 +45,7 @@ export var Tr = styled.tr.withConfig({
|
|
|
45
45
|
});
|
|
46
46
|
export var Thead = styled.thead.withConfig({
|
|
47
47
|
displayName: "Table.styles__Thead",
|
|
48
|
-
componentId: "sc-
|
|
48
|
+
componentId: "sc-382f3104-2"
|
|
49
49
|
})([
|
|
50
50
|
"position:",
|
|
51
51
|
";top:0;background:",
|
|
@@ -65,13 +65,13 @@ export var Thead = styled.thead.withConfig({
|
|
|
65
65
|
}, Tr);
|
|
66
66
|
export var Tbody = styled.tbody.withConfig({
|
|
67
67
|
displayName: "Table.styles__Tbody",
|
|
68
|
-
componentId: "sc-
|
|
68
|
+
componentId: "sc-382f3104-3"
|
|
69
69
|
})([
|
|
70
70
|
""
|
|
71
71
|
]);
|
|
72
72
|
export var Resizer = styled.div.withConfig({
|
|
73
73
|
displayName: "Table.styles__Resizer",
|
|
74
|
-
componentId: "sc-
|
|
74
|
+
componentId: "sc-382f3104-4"
|
|
75
75
|
})([
|
|
76
76
|
"display:",
|
|
77
77
|
";position:absolute;z-index:1;top:-0.0625rem;bottom:0;right:-0.125rem;width:0.1875rem;background:var(--outline-accent);cursor:col-resize;user-select:none;touch-action:none;"
|
|
@@ -81,11 +81,11 @@ export var Resizer = styled.div.withConfig({
|
|
|
81
81
|
});
|
|
82
82
|
export var Th = styled.th.withConfig({
|
|
83
83
|
displayName: "Table.styles__Th",
|
|
84
|
-
componentId: "sc-
|
|
84
|
+
componentId: "sc-382f3104-5"
|
|
85
85
|
})([
|
|
86
86
|
"padding:",
|
|
87
87
|
";position:relative;font-weight:600;text-align:left;height:var(",
|
|
88
|
-
");background-color:transparent;color:inherit;border-width:0.0625rem;border-top-width:0;border-bottom-width:0;border-style:solid;border-color:",
|
|
88
|
+
");background-color:transparent;color:inherit;box-sizing:content-box;border-width:0.0625rem;border-top-width:0;border-bottom-width:0;border-style:solid;border-color:",
|
|
89
89
|
";&:hover{",
|
|
90
90
|
"{display:block;}}"
|
|
91
91
|
], function(param) {
|
|
@@ -97,7 +97,7 @@ export var Th = styled.th.withConfig({
|
|
|
97
97
|
}, Resizer);
|
|
98
98
|
export var StyledCheckbox = styled(Checkbox).withConfig({
|
|
99
99
|
displayName: "Table.styles__StyledCheckbox",
|
|
100
|
-
componentId: "sc-
|
|
100
|
+
componentId: "sc-382f3104-6"
|
|
101
101
|
})([
|
|
102
102
|
"",
|
|
103
103
|
":var(",
|
|
@@ -117,7 +117,7 @@ export var StyledCheckbox = styled(Checkbox).withConfig({
|
|
|
117
117
|
], checkboxTokens.triggerSize, tokens.checkboxTriggerSize, checkboxTokens.triggerBorderRadius, tokens.checkboxTriggerBorderRadius, checkboxTokens.fillColor, tokens.checkboxFillColor, checkboxTokens.iconColor, tokens.checkboxTriggerIconColor, checkboxTokens.triggerBorderCheckedColor, tokens.checkboxTriggerBorderCheckedColor, checkboxTokens.triggerBorderWidth, tokens.checkboxTriggerBorderWidth, checkboxTokens.triggerBorderColor, tokens.checkboxTriggerBorderColor);
|
|
118
118
|
export var StyledDivider = styled(Divider).withConfig({
|
|
119
119
|
displayName: "Table.styles__StyledDivider",
|
|
120
|
-
componentId: "sc-
|
|
120
|
+
componentId: "sc-382f3104-7"
|
|
121
121
|
})([
|
|
122
122
|
"",
|
|
123
123
|
":0.0625rem;",
|
|
@@ -126,7 +126,7 @@ export var StyledDivider = styled(Divider).withConfig({
|
|
|
126
126
|
], dividerTokens.baseSideSize, dividerTokens.background, dividerTokens.borderRadius);
|
|
127
127
|
export var Button = styled(ButtonBase).withConfig({
|
|
128
128
|
displayName: "Table.styles__Button",
|
|
129
|
-
componentId: "sc-
|
|
129
|
+
componentId: "sc-382f3104-8"
|
|
130
130
|
})([
|
|
131
131
|
"",
|
|
132
132
|
":var(",
|
|
@@ -147,7 +147,7 @@ export var Button = styled(ButtonBase).withConfig({
|
|
|
147
147
|
], buttonTokens.buttonHeight, tokens.buttonHeight, buttonTokens.buttonDisabledOpacity, buttonTokens.buttonFontFamily, tokens.buttonFontFamily, buttonTokens.buttonFontSize, tokens.buttonFontSize, buttonTokens.buttonFontStyle, tokens.buttonFontStyle, buttonTokens.buttonFontWeight, tokens.buttonFontWeight, buttonTokens.buttonLetterSpacing, tokens.buttonLetterSpacing, buttonTokens.buttonLineHeight, tokens.buttonLineHeight);
|
|
148
148
|
export var ButtonAccent = styled(Button).withConfig({
|
|
149
149
|
displayName: "Table.styles__ButtonAccent",
|
|
150
|
-
componentId: "sc-
|
|
150
|
+
componentId: "sc-382f3104-9"
|
|
151
151
|
})([
|
|
152
152
|
"",
|
|
153
153
|
":var(--on-dark-text-primary);",
|
|
@@ -158,7 +158,7 @@ export var ButtonAccent = styled(Button).withConfig({
|
|
|
158
158
|
], buttonTokens.buttonColor, buttonTokens.buttonValueColor, buttonTokens.buttonBackgroundColor, buttonTokens.buttonBackgroundColorHover, buttonTokens.buttonBackgroundColorActive);
|
|
159
159
|
export var LinkButton = styled(LinkButtonBase).withConfig({
|
|
160
160
|
displayName: "Table.styles__LinkButton",
|
|
161
|
-
componentId: "sc-
|
|
161
|
+
componentId: "sc-382f3104-10"
|
|
162
162
|
})([
|
|
163
163
|
"",
|
|
164
164
|
":var(--text-primary);",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css } from "styled-components";
|
|
2
2
|
import { tokens } from "../../Toast.tokens";
|
|
3
3
|
export var base = css([
|
|
4
|
-
"padding:var(",
|
|
4
|
+
"box-sizing:content-box;padding:var(",
|
|
5
5
|
");border-radius:var(",
|
|
6
6
|
");max-width:var(",
|
|
7
7
|
");flex-shrink:0;transform:translateX(-50%);font-family:var(",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselOld/CarouselItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAuB,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"CarouselItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselOld/CarouselItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAuB,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAQ1E,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiBpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../../src/components/Sheet/Sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAe3C;;GAEG;AAEH,eAAO,MAAM,SAAS,SAAU,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../../src/components/Sheet/Sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAe3C;;GAEG;AAEH,eAAO,MAAM,SAAS,SAAU,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC,sFAwEhE,CAAC;AAEN,eAAO,MAAM,WAAW;;;mBA1EQ,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC;;;;;;;;;;;;;;CA2FpE,CAAC"}
|
|
@@ -62,6 +62,12 @@ export interface SheetProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
62
62
|
* Throttling внутренних обработчиков события onScroll
|
|
63
63
|
*/
|
|
64
64
|
throttleMs?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Наличие событий скролла
|
|
67
|
+
* @default
|
|
68
|
+
* true
|
|
69
|
+
*/
|
|
70
|
+
hasScrollEvents?: boolean;
|
|
65
71
|
view?: string;
|
|
66
72
|
}
|
|
67
73
|
export type CommonProps = Pick<SheetProps, 'withTransition' | 'opened'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sheet.types.d.ts","sourceRoot":"","sources":["../../../src/components/Sheet/Sheet.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC9D;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,EAAE,gBAAgB,GAAG,QAAQ,CAAC,CAAC;AAExE,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"Sheet.types.d.ts","sourceRoot":"","sources":["../../../src/components/Sheet/Sheet.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC9D;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,EAAE,gBAAgB,GAAG,QAAQ,CAAC,CAAC;AAExE,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSheetSwipe.d.ts","sourceRoot":"","sources":["../../../../src/components/Sheet/hooks/useSheetSwipe.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,SAAS,EAAE,MAAM,OAAO,CAAC;AAoB/D,eAAO,MAAM,aAAa,SAAU;IAChC,iBAAiB,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IAC7C,UAAU,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACtC,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB,
|
|
1
|
+
{"version":3,"file":"useSheetSwipe.d.ts","sourceRoot":"","sources":["../../../../src/components/Sheet/hooks/useSheetSwipe.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,SAAS,EAAE,MAAM,OAAO,CAAC;AAoB/D,eAAO,MAAM,aAAa,SAAU;IAChC,iBAAiB,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IAC7C,UAAU,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACtC,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB,SAmGA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Steps/ui/StepItem/StepItem.styles.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,aAAa;mBAAoC,OAAO;;;;;;;;;;;;;;;;qDAIpE,CAAC;AAEF,eAAO,MAAM,aAAa,qKAYzB,CAAC;AAEF,eAAO,MAAM,eAAe,qKAc3B,CAAC;AAEF,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"StepItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Steps/ui/StepItem/StepItem.styles.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,aAAa;mBAAoC,OAAO;;;;;;;;;;;;;;;;qDAIpE,CAAC;AAEF,eAAO,MAAM,aAAa,qKAYzB,CAAC;AAEF,eAAO,MAAM,eAAe,qKAc3B,CAAC;AAEF,eAAO,MAAM,sBAAsB,qKAoDlC,CAAC;AAEF,eAAO,MAAM,eAAe,iLAqE3B,CAAC;AAEF,eAAO,MAAM,MAAM;SArIoB,MAAO,WAC9C;EAgJC,CAAC;AAEF,eAAO,MAAM,eAAe;kBAA8B,MAAM;EAmC/D,CAAC;AAEF,eAAO,MAAM,sBAAsB,qKAalC,CAAC;AAEF,eAAO,MAAM,cAAc,qKAyN1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.styles.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAe3C,eAAO,MAAM,IAAI,0CAGhB,CAAC;AAEF,eAAO,MAAM,KAAK;mBAAiC,UAAU,CAAC,eAAe,CAAC;mBAAiB,OAAO;EAerG,CAAC;AAEF,eAAO,MAAM,EAAE;eAA0B,OAAO;
|
|
1
|
+
{"version":3,"file":"Table.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.styles.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAe3C,eAAO,MAAM,IAAI,0CAGhB,CAAC;AAEF,eAAO,MAAM,KAAK;mBAAiC,UAAU,CAAC,eAAe,CAAC;mBAAiB,OAAO;EAerG,CAAC;AAEF,eAAO,MAAM,EAAE;eAA0B,OAAO;EAI/C,CAAC;AAEF,eAAO,MAAM,KAAK;UACR,UAAU,CAAC,MAAM,CAAC;mBACT,UAAU,CAAC,eAAe,CAAC;mBAC3B,OAAO;EAiBzB,CAAC;AAEF,eAAO,MAAM,KAAK,uLAAiB,CAAC;AAEpC,eAAO,MAAM,OAAO;gBAA4B,OAAO;EAYtD,CAAC;AAEF,eAAO,MAAM,EAAE;mBAA8B,UAAU,CAAC,eAAe,CAAC;oBAAkB,OAAO;EAsBhG,CAAC;AAEF,eAAO,MAAM,cAAc,iQAQ1B,CAAC;AAEF,eAAO,MAAM,aAAa,8OAIzB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAUlB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAMxB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;qDAatB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toast/variations/_size/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toast/variations/_size/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAchB,CAAC"}
|