@salutejs/plasma-new-hope 0.326.1-canary.2018.15640028321.0 → 0.326.1-canary.2018.15775755664.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/Calendar/CalendarBase/CalendarBase.js +12 -0
- package/cjs/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +12 -0
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +3 -0
- package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +3 -0
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +3 -0
- package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js.map +1 -1
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +3 -0
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
- package/cjs/components/Carousel/CarouselNew/Carousel.css +5 -5
- package/cjs/components/Carousel/CarouselNew/Carousel.js +0 -2
- package/cjs/components/Carousel/CarouselNew/Carousel.js.map +1 -1
- package/cjs/components/Carousel/CarouselNew/Carousel.styles.js +1 -1
- package/cjs/components/Carousel/CarouselNew/Carousel.styles.js.map +1 -1
- package/cjs/components/Carousel/CarouselNew/{Carousel.styles_cy8fdd.css → Carousel.styles_1benby5.css} +1 -1
- package/cjs/components/Carousel/CarouselNew/Carousel.tokens.js +8 -1
- package/cjs/components/Carousel/CarouselNew/Carousel.tokens.js.map +1 -1
- package/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.js +52 -38
- package/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.js.map +1 -1
- package/cjs/components/Drawer/Drawer.js +4 -3
- package/cjs/components/Drawer/Drawer.js.map +1 -1
- package/cjs/components/Drawer/hooks/useDrawer.js +2 -2
- package/cjs/components/Drawer/hooks/useDrawer.js.map +1 -1
- package/cjs/components/Mask/Mask.js +3 -3
- package/cjs/components/Mask/Mask.js.map +1 -1
- package/cjs/components/Modal/Modal.js +3 -2
- package/cjs/components/Modal/Modal.js.map +1 -1
- package/cjs/components/Modal/hooks/useModal.js +1 -1
- package/cjs/components/Modal/hooks/useModal.js.map +1 -1
- package/cjs/components/Popup/Popup.js +2 -1
- package/cjs/components/Popup/Popup.js.map +1 -1
- package/cjs/components/Popup/PopupContext.js +13 -15
- package/cjs/components/Popup/PopupContext.js.map +1 -1
- package/cjs/index.css +5 -5
- package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.js +12 -0
- package/emotion/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +12 -0
- package/emotion/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +3 -0
- package/emotion/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +3 -0
- package/emotion/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +3 -0
- package/emotion/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +3 -0
- package/emotion/cjs/components/Carousel/CarouselNew/Carousel.js +0 -2
- package/emotion/cjs/components/Carousel/CarouselNew/Carousel.styles.js +5 -5
- package/emotion/cjs/components/Carousel/CarouselNew/Carousel.tokens.js +8 -1
- package/emotion/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.js +52 -38
- package/emotion/cjs/components/Drawer/Drawer.js +8 -8
- package/emotion/cjs/components/Drawer/hooks/useDrawer.js +2 -2
- package/emotion/cjs/components/Mask/Mask.js +3 -3
- package/emotion/cjs/components/Modal/Modal.js +6 -5
- package/emotion/cjs/components/Modal/hooks/useModal.js +1 -1
- package/emotion/cjs/components/Popup/Popup.js +1 -1
- package/emotion/cjs/components/Popup/PopupContext.js +14 -20
- package/emotion/cjs/examples/plasma_b2c/components/Carousel/Carousel.config.js +2 -2
- package/emotion/cjs/examples/plasma_b2c/components/Carousel/Carousel.stories.tsx +0 -1
- package/emotion/cjs/examples/plasma_web/components/Carousel/Carousel.config.js +2 -2
- package/emotion/cjs/examples/plasma_web/components/Carousel/Carousel.stories.tsx +0 -1
- package/emotion/es/components/Calendar/CalendarBase/CalendarBase.js +12 -0
- package/emotion/es/components/Calendar/CalendarDouble/CalendarDouble.js +12 -0
- package/emotion/es/components/Calendar/ui/CalendarDays/CalendarDays.js +3 -0
- package/emotion/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +3 -0
- package/emotion/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +3 -0
- package/emotion/es/components/Calendar/ui/CalendarYears/CalendarYears.js +3 -0
- package/emotion/es/components/Carousel/CarouselNew/Carousel.js +0 -2
- package/emotion/es/components/Carousel/CarouselNew/Carousel.styles.js +6 -6
- package/emotion/es/components/Carousel/CarouselNew/Carousel.tokens.js +8 -1
- package/emotion/es/components/Carousel/CarouselNew/ui/Dots/Dots.js +52 -38
- package/emotion/es/components/Drawer/Drawer.js +3 -3
- package/emotion/es/components/Drawer/hooks/useDrawer.js +2 -2
- package/emotion/es/components/Mask/Mask.js +3 -3
- package/emotion/es/components/Modal/Modal.js +4 -3
- package/emotion/es/components/Modal/hooks/useModal.js +1 -1
- package/emotion/es/components/Popup/Popup.js +2 -2
- package/emotion/es/components/Popup/PopupContext.js +14 -20
- package/emotion/es/examples/plasma_b2c/components/Carousel/Carousel.config.js +2 -2
- package/emotion/es/examples/plasma_b2c/components/Carousel/Carousel.stories.tsx +0 -1
- package/emotion/es/examples/plasma_web/components/Carousel/Carousel.config.js +2 -2
- package/emotion/es/examples/plasma_web/components/Carousel/Carousel.stories.tsx +0 -1
- package/es/components/Calendar/CalendarBase/CalendarBase.js +12 -0
- package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
- package/es/components/Calendar/CalendarDouble/CalendarDouble.js +12 -0
- package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
- package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +3 -0
- package/es/components/Calendar/ui/CalendarDays/CalendarDays.js.map +1 -1
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +3 -0
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
- package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +3 -0
- package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js.map +1 -1
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +3 -0
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
- package/es/components/Carousel/CarouselNew/Carousel.css +5 -5
- package/es/components/Carousel/CarouselNew/Carousel.js +0 -2
- package/es/components/Carousel/CarouselNew/Carousel.js.map +1 -1
- package/es/components/Carousel/CarouselNew/Carousel.styles.js +1 -1
- package/es/components/Carousel/CarouselNew/Carousel.styles.js.map +1 -1
- package/es/components/Carousel/CarouselNew/{Carousel.styles_cy8fdd.css → Carousel.styles_1benby5.css} +1 -1
- package/es/components/Carousel/CarouselNew/Carousel.tokens.js +8 -1
- package/es/components/Carousel/CarouselNew/Carousel.tokens.js.map +1 -1
- package/es/components/Carousel/CarouselNew/ui/Dots/Dots.js +52 -38
- package/es/components/Carousel/CarouselNew/ui/Dots/Dots.js.map +1 -1
- package/es/components/Drawer/Drawer.js +4 -3
- package/es/components/Drawer/Drawer.js.map +1 -1
- package/es/components/Drawer/hooks/useDrawer.js +2 -2
- package/es/components/Drawer/hooks/useDrawer.js.map +1 -1
- package/es/components/Mask/Mask.js +3 -3
- package/es/components/Mask/Mask.js.map +1 -1
- package/es/components/Modal/Modal.js +3 -2
- package/es/components/Modal/Modal.js.map +1 -1
- package/es/components/Modal/hooks/useModal.js +1 -1
- package/es/components/Modal/hooks/useModal.js.map +1 -1
- package/es/components/Popup/Popup.js +2 -1
- package/es/components/Popup/Popup.js.map +1 -1
- package/es/components/Popup/PopupContext.js +14 -16
- package/es/components/Popup/PopupContext.js.map +1 -1
- package/es/index.css +5 -5
- package/package.json +2 -2
- package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +12 -0
- package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +12 -0
- package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +3 -0
- package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +3 -0
- package/styled-components/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +3 -0
- package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +3 -0
- package/styled-components/cjs/components/Carousel/CarouselNew/Carousel.js +0 -2
- package/styled-components/cjs/components/Carousel/CarouselNew/Carousel.styles.js +1 -1
- package/styled-components/cjs/components/Carousel/CarouselNew/Carousel.tokens.js +8 -1
- package/styled-components/cjs/components/Carousel/CarouselNew/ui/Dots/Dots.js +52 -38
- package/styled-components/cjs/components/Drawer/Drawer.js +8 -8
- package/styled-components/cjs/components/Drawer/hooks/useDrawer.js +2 -2
- package/styled-components/cjs/components/Mask/Mask.js +3 -3
- package/styled-components/cjs/components/Modal/Modal.js +6 -5
- package/styled-components/cjs/components/Modal/hooks/useModal.js +1 -1
- package/styled-components/cjs/components/Popup/Popup.js +1 -1
- package/styled-components/cjs/components/Popup/PopupContext.js +14 -20
- package/styled-components/cjs/examples/plasma_b2c/components/Carousel/Carousel.config.js +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Carousel/Carousel.stories.tsx +0 -1
- package/styled-components/cjs/examples/plasma_web/components/Carousel/Carousel.config.js +2 -2
- package/styled-components/cjs/examples/plasma_web/components/Carousel/Carousel.stories.tsx +0 -1
- package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +12 -0
- package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +12 -0
- package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.js +3 -0
- package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +3 -0
- package/styled-components/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +3 -0
- package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.js +3 -0
- package/styled-components/es/components/Carousel/CarouselNew/Carousel.js +0 -2
- package/styled-components/es/components/Carousel/CarouselNew/Carousel.styles.js +2 -2
- package/styled-components/es/components/Carousel/CarouselNew/Carousel.tokens.js +8 -1
- package/styled-components/es/components/Carousel/CarouselNew/ui/Dots/Dots.js +52 -38
- package/styled-components/es/components/Drawer/Drawer.js +3 -3
- package/styled-components/es/components/Drawer/hooks/useDrawer.js +2 -2
- package/styled-components/es/components/Mask/Mask.js +3 -3
- package/styled-components/es/components/Modal/Modal.js +4 -3
- package/styled-components/es/components/Modal/hooks/useModal.js +1 -1
- package/styled-components/es/components/Popup/Popup.js +2 -2
- package/styled-components/es/components/Popup/PopupContext.js +14 -20
- package/styled-components/es/examples/plasma_b2c/components/Carousel/Carousel.config.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Carousel/Carousel.stories.tsx +0 -1
- package/styled-components/es/examples/plasma_web/components/Carousel/Carousel.config.js +2 -2
- package/styled-components/es/examples/plasma_web/components/Carousel/Carousel.stories.tsx +0 -1
- package/types/components/Calendar/CalendarBase/CalendarBase.d.ts.map +1 -1
- package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarDays/CalendarDays.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarQuarters/CalendarQuarters.d.ts.map +1 -1
- package/types/components/Calendar/ui/CalendarYears/CalendarYears.d.ts.map +1 -1
- package/types/components/Carousel/CarouselNew/Carousel.d.ts.map +1 -1
- package/types/components/Carousel/CarouselNew/Carousel.styles.d.ts.map +1 -1
- package/types/components/Carousel/CarouselNew/Carousel.tokens.d.ts +7 -0
- package/types/components/Carousel/CarouselNew/Carousel.tokens.d.ts.map +1 -1
- package/types/components/Carousel/CarouselNew/ui/Dots/Dots.d.ts.map +1 -1
- package/types/components/Drawer/Drawer.d.ts +1 -1
- package/types/components/Drawer/Drawer.d.ts.map +1 -1
- package/types/components/Drawer/hooks/useDrawer.d.ts.map +1 -1
- package/types/components/Modal/Modal.d.ts +1 -1
- package/types/components/Modal/Modal.d.ts.map +1 -1
- package/types/components/Popup/Popup.d.ts +1 -1
- package/types/components/Popup/Popup.d.ts.map +1 -1
- package/types/components/Popup/Popup.types.d.ts +1 -1
- package/types/components/Popup/Popup.types.d.ts.map +1 -1
- package/types/components/Popup/PopupContext.d.ts.map +1 -1
@@ -135,6 +135,18 @@ export var calendarBaseRoot = function calendarBaseRoot(Root) {
|
|
135
135
|
setPrevType(calendarState);
|
136
136
|
}
|
137
137
|
}, [calendarState]);
|
138
|
+
useEffect(function () {
|
139
|
+
if (prevType !== type) {
|
140
|
+
dispatch({
|
141
|
+
type: ActionType.UPDATE_CALENDAR_STATE,
|
142
|
+
payload: {
|
143
|
+
calendarState: type,
|
144
|
+
size: sizeMap[type].single
|
145
|
+
}
|
146
|
+
});
|
147
|
+
setPrevType(type);
|
148
|
+
}
|
149
|
+
}, [type]);
|
138
150
|
useEffect(function () {
|
139
151
|
if (value && prevValue && isValueUpdate(value, prevValue) || value && !prevValue) {
|
140
152
|
dispatch({
|
@@ -182,6 +182,18 @@ export var calendarDoubleRoot = function calendarDoubleRoot(Root) {
|
|
182
182
|
setPrevType(calendarState);
|
183
183
|
}
|
184
184
|
}, [calendarState]);
|
185
|
+
useEffect(function () {
|
186
|
+
if (prevType !== type) {
|
187
|
+
dispatch({
|
188
|
+
type: ActionType.UPDATE_CALENDAR_STATE,
|
189
|
+
payload: {
|
190
|
+
calendarState: type,
|
191
|
+
size: sizeMap[type]["double"]
|
192
|
+
}
|
193
|
+
});
|
194
|
+
setPrevType(type);
|
195
|
+
}
|
196
|
+
}, [type]);
|
185
197
|
useEffect(function () {
|
186
198
|
if (value && prevValue && isValueUpdate(value, prevValue) || value && !prevValue) {
|
187
199
|
var _getBoundaryDates = getBoundaryDates(),
|
@@ -92,6 +92,9 @@ export var CalendarDays = function CalendarDays(_ref) {
|
|
92
92
|
};
|
93
93
|
var getRefs = function getRefs(element, isDayInCurrentMonth, i, j) {
|
94
94
|
if (isDayInCurrentMonth) {
|
95
|
+
if (!outerRefs.current[i + offset]) {
|
96
|
+
outerRefs.current[i + offset] = [];
|
97
|
+
}
|
95
98
|
outerRefs.current[i + offset][j] = element;
|
96
99
|
}
|
97
100
|
};
|
@@ -98,6 +98,9 @@ export var CalendarMonths = function CalendarMonths(_ref) {
|
|
98
98
|
return onHoverMonth === null || onHoverMonth === void 0 ? void 0 : onHoverMonth(undefined);
|
99
99
|
};
|
100
100
|
var getRefs = useCallback(function (element, i, j) {
|
101
|
+
if (!outerRefs.current[i + offset]) {
|
102
|
+
outerRefs.current[i + offset] = [];
|
103
|
+
}
|
101
104
|
outerRefs.current[i + offset][j] = element;
|
102
105
|
}, [offset, outerRefs]);
|
103
106
|
useEffect(function () {
|
@@ -96,6 +96,9 @@ export var CalendarQuarters = function CalendarQuarters(_ref) {
|
|
96
96
|
return onHoverQuarter === null || onHoverQuarter === void 0 ? void 0 : onHoverQuarter(undefined);
|
97
97
|
};
|
98
98
|
var getRefs = useCallback(function (element, i, j) {
|
99
|
+
if (!outerRefs.current[i + offset]) {
|
100
|
+
outerRefs.current[i + offset] = [];
|
101
|
+
}
|
99
102
|
outerRefs.current[i + offset][j] = element;
|
100
103
|
}, [offset, outerRefs]);
|
101
104
|
useEffect(function () {
|
@@ -98,6 +98,9 @@ export var CalendarYears = function CalendarYears(_ref) {
|
|
98
98
|
return onHoverYear === null || onHoverYear === void 0 ? void 0 : onHoverYear(undefined);
|
99
99
|
};
|
100
100
|
var getRefs = useCallback(function (element, i, j) {
|
101
|
+
if (!outerRefs.current[i + offset]) {
|
102
|
+
outerRefs.current[i + offset] = [];
|
103
|
+
}
|
101
104
|
outerRefs.current[i + offset][j] = element;
|
102
105
|
}, [outerRefs]);
|
103
106
|
useEffect(function () {
|
@@ -60,7 +60,6 @@ export var carouselNewRoot = function carouselNewRoot(Root) {
|
|
60
60
|
ref: ref
|
61
61
|
}, /*#__PURE__*/React.createElement(ControlsWrapper, null, index !== 0 && !controlArrowsDisabled && /*#__PURE__*/React.createElement(IconButton, {
|
62
62
|
className: classes.leftControlButton,
|
63
|
-
pin: "circle-circle",
|
64
63
|
onClick: handleClickLeft
|
65
64
|
}, _IconDisclosureLeft || (_IconDisclosureLeft = /*#__PURE__*/React.createElement(IconDisclosureLeft, {
|
66
65
|
size: "m",
|
@@ -72,7 +71,6 @@ export var carouselNewRoot = function carouselNewRoot(Root) {
|
|
72
71
|
gap: gap
|
73
72
|
}, children)), index !== slidesAmount - 1 && !controlArrowsDisabled && /*#__PURE__*/React.createElement(IconButton, {
|
74
73
|
className: classes.rightControlButton,
|
75
|
-
pin: "circle-circle",
|
76
74
|
onClick: handleClickRight
|
77
75
|
}, _IconDisclosureRight || (_IconDisclosureRight = /*#__PURE__*/React.createElement(IconDisclosureRight, {
|
78
76
|
size: "m",
|
@@ -2,7 +2,7 @@ import styled from 'styled-components';
|
|
2
2
|
import { css } from 'styled-components';
|
3
3
|
import { component, mergeConfig } from "../../../engines";
|
4
4
|
import { iconButtonConfig, iconButtonTokens } from "../../IconButton";
|
5
|
-
import { classes } from "./Carousel.tokens";
|
5
|
+
import { classes, tokens } from "./Carousel.tokens";
|
6
6
|
var mergedConfig = /*#__PURE__*/mergeConfig(iconButtonConfig);
|
7
7
|
export var IconButtonComponent = /*#__PURE__*/component(mergedConfig);
|
8
8
|
export var base = /*#__PURE__*/css(["position:relative;"]);
|
@@ -17,7 +17,7 @@ export var CarouselTrack = /*#__PURE__*/styled.div.withConfig({
|
|
17
17
|
});
|
18
18
|
export var IconButton = /*#__PURE__*/styled(IconButtonComponent).withConfig({
|
19
19
|
componentId: "plasma-new-hope__sc-vln28v-2"
|
20
|
-
})(["position:absolute;top:50%;transform:translateY(-50%);left:0.75rem;z-index:10;", ":var(
|
20
|
+
})(["position:absolute;top:50%;transform:translateY(-50%);left:0.75rem;z-index:10;", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":2.5rem;", ":2.5rem;", ":1rem;", ":var(", ");&.", "{left:auto;right:0.75rem;}"], iconButtonTokens.iconButtonColor, tokens.controlIconButtonColor, iconButtonTokens.iconButtonBackgroundColor, tokens.controlIconButtonBackgroundColor, iconButtonTokens.iconButtonColorHover, tokens.controlIconButtonColorHover, iconButtonTokens.iconButtonBackgroundColorHover, tokens.controlIconButtonBackgroundColorHover, iconButtonTokens.iconButtonColorActive, tokens.controlIconButtonColorActive, iconButtonTokens.iconButtonBackgroundColorActive, tokens.controlIconButtonBackgroundColorActive, iconButtonTokens.iconButtonHeight, iconButtonTokens.iconButtonWidth, iconButtonTokens.iconButtonPadding, iconButtonTokens.iconButtonRadius, tokens.controlIconButtonRadius, classes.rightControlButton);
|
21
21
|
export var ControlsWrapper = /*#__PURE__*/styled.div.withConfig({
|
22
22
|
componentId: "plasma-new-hope__sc-vln28v-3"
|
23
23
|
})(["position:relative;"]);
|
@@ -13,5 +13,12 @@ export var classes = {
|
|
13
13
|
};
|
14
14
|
export var tokens = {
|
15
15
|
paginationDotBackground: '--plasma-carousel-pagination-dot-background',
|
16
|
-
paginationDotActiveBackground: '--plasma-carousel-pagination-dot-active-background'
|
16
|
+
paginationDotActiveBackground: '--plasma-carousel-pagination-dot-active-background',
|
17
|
+
controlIconButtonRadius: '--plasma-carousel-control-icon-button-radius',
|
18
|
+
controlIconButtonColor: '--plasma-carousel-control-icon-button-color',
|
19
|
+
controlIconButtonBackgroundColor: '--plasma-carousel-control-icon-button-background-color',
|
20
|
+
controlIconButtonColorHover: '--plasma-carousel-control-icon-button-color-hover',
|
21
|
+
controlIconButtonBackgroundColorHover: '--plasma-carousel-control-icon-button-background-color-hover',
|
22
|
+
controlIconButtonColorActive: '--plasma-carousel-control-icon-button-color-active',
|
23
|
+
controlIconButtonBackgroundColorActive: '--plasma-carousel-control-icon-button-background-color-active'
|
17
24
|
};
|
@@ -132,26 +132,33 @@ export var Dots = /*#__PURE__*/memo(function (_ref) {
|
|
132
132
|
}
|
133
133
|
if (dotsToAdd > 0) {
|
134
134
|
var _loop = function _loop() {
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
135
|
+
var _dotWrapperRef$curren4;
|
136
|
+
var node = document.createElement('div');
|
137
|
+
node.textContent = '';
|
138
|
+
node.classList.add(classes.dot);
|
139
|
+
node.style.opacity = '0';
|
140
|
+
var delay = i * (ANIMATION_DURATION / dotsToAdd);
|
141
|
+
node.style.animationDelay = "".concat(delay, "s");
|
142
|
+
rightAnimationWrapperRef.current.appendChild(node);
|
143
|
+
var duration = ANIMATION_DURATION / dotsToAdd;
|
144
|
+
requestAnimationFrame(function () {
|
145
|
+
node.classList.add(classes.animateIn);
|
146
|
+
node.style.animationDuration = "".concat(duration, "s");
|
147
|
+
});
|
148
|
+
var currentDomNode = (_dotWrapperRef$curren4 = dotWrapperRef.current.children) === null || _dotWrapperRef$curren4 === void 0 ? void 0 : _dotWrapperRef$curren4[i];
|
149
|
+
if (!currentDomNode) {
|
150
|
+
return {
|
151
|
+
v: void 0
|
152
|
+
};
|
153
|
+
}
|
154
|
+
currentDomNode.classList.add(classes.animateOut);
|
155
|
+
currentDomNode.style.animationDelay = "".concat(delay, "s");
|
156
|
+
currentDomNode.style.animationDuration = "".concat(duration, "s");
|
157
|
+
},
|
158
|
+
_ret;
|
153
159
|
for (var i = 0; i < dotsToAdd; i++) {
|
154
|
-
_loop();
|
160
|
+
_ret = _loop();
|
161
|
+
if (_ret) return _ret.v;
|
155
162
|
}
|
156
163
|
}
|
157
164
|
} else {
|
@@ -173,26 +180,33 @@ export var Dots = /*#__PURE__*/memo(function (_ref) {
|
|
173
180
|
}
|
174
181
|
if (dotsToAdd > 0) {
|
175
182
|
var _loop2 = function _loop2() {
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
183
|
+
var _dotWrapperRef$curren7;
|
184
|
+
var node = document.createElement('div');
|
185
|
+
node.textContent = '';
|
186
|
+
node.classList.add(classes.dot);
|
187
|
+
node.style.opacity = '0';
|
188
|
+
var delay = (dotsToAdd - 1 - _i) * (ANIMATION_DURATION / dotsToAdd);
|
189
|
+
node.style.animationDelay = "".concat(delay, "s");
|
190
|
+
leftAnimationWrapperRef.current.prepend(node);
|
191
|
+
var duration = ANIMATION_DURATION / dotsToAdd;
|
192
|
+
requestAnimationFrame(function () {
|
193
|
+
node.classList.add(classes.animateIn);
|
194
|
+
node.style.animationDuration = "".concat(duration, "s");
|
195
|
+
});
|
196
|
+
var currentDomNode = (_dotWrapperRef$curren7 = dotWrapperRef.current.children) === null || _dotWrapperRef$curren7 === void 0 ? void 0 : _dotWrapperRef$curren7[dotWrapperRef.current.children.length - 1 - _i];
|
197
|
+
if (!currentDomNode) {
|
198
|
+
return {
|
199
|
+
v: void 0
|
200
|
+
};
|
201
|
+
}
|
202
|
+
currentDomNode.classList.add(classes.animateOut);
|
203
|
+
currentDomNode.style.animationDelay = "".concat(_i * (ANIMATION_DURATION / dotsToAdd), "s");
|
204
|
+
currentDomNode.style.animationDuration = "".concat(duration, "s");
|
205
|
+
},
|
206
|
+
_ret2;
|
194
207
|
for (var _i = dotsToAdd - 1; _i >= 0; _i--) {
|
195
|
-
_loop2();
|
208
|
+
_ret2 = _loop2();
|
209
|
+
if (_ret2) return _ret2.v;
|
196
210
|
}
|
197
211
|
}
|
198
212
|
}
|
@@ -3,11 +3,11 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
3
3
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
4
4
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
5
5
|
import React, { forwardRef, useMemo } from 'react';
|
6
|
-
import { useForkRef
|
6
|
+
import { useForkRef } from '@salutejs/plasma-core';
|
7
|
+
import { cx, getSizeValueFromProp, safeUseId } from "../../utils";
|
7
8
|
import { usePopupContext } from "../Popup";
|
8
9
|
import { Overlay } from "../Overlay";
|
9
10
|
import { DEFAULT_Z_INDEX } from "../Popup/utils";
|
10
|
-
import { cx, getSizeValueFromProp } from "../../utils";
|
11
11
|
import { useFocusTrap } from "../../hooks";
|
12
12
|
import { classes, tokens } from "./Drawer.tokens";
|
13
13
|
import { base as viewCSS } from "./variations/_view/base";
|
@@ -74,7 +74,7 @@ export var drawerRoot = function drawerRoot(Root) {
|
|
74
74
|
}),
|
75
75
|
drawerInfo = _useDrawer.drawerInfo;
|
76
76
|
var transparent = useMemo(function () {
|
77
|
-
return getIdLastDrawer(popupController.items) !== innerId;
|
77
|
+
return getIdLastDrawer(Array.from(popupController.items.values())) !== innerId;
|
78
78
|
}, [innerId, popupController.items]);
|
79
79
|
var onDrawerOverlayKeyDown = function onDrawerOverlayKeyDown(event) {
|
80
80
|
if (onOverlayClick) {
|
@@ -27,7 +27,7 @@ export var useDrawer = function useDrawer(_ref) {
|
|
27
27
|
if (!closeOnEsc) {
|
28
28
|
return;
|
29
29
|
}
|
30
|
-
if (event.keyCode === ESCAPE_KEYCODE && getIdLastDrawer(popupController.items) === id) {
|
30
|
+
if (event.keyCode === ESCAPE_KEYCODE && getIdLastDrawer(Array.from(popupController.items.values())) === id) {
|
31
31
|
if (onEscKeyDown) {
|
32
32
|
onEscKeyDown(event);
|
33
33
|
return;
|
@@ -58,7 +58,7 @@ export var useDrawer = function useDrawer(_ref) {
|
|
58
58
|
if (!canUseDOM) {
|
59
59
|
return;
|
60
60
|
}
|
61
|
-
if (!isOpen && !hasDrawers(popupController.items)) {
|
61
|
+
if (!isOpen && !hasDrawers(Array.from(popupController.items.values()))) {
|
62
62
|
document.body.style.overflow = overflow.current;
|
63
63
|
}
|
64
64
|
}, [isOpen, popupController.items]);
|
@@ -11,11 +11,11 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
11
11
|
import React, { forwardRef, useImperativeHandle, useState } from 'react';
|
12
12
|
import maskInputCompose from '@salutejs/react-maskinput';
|
13
13
|
var defaultFormatChars = [{
|
14
|
-
str: '0',
|
15
|
-
regexp: /[0-9]/
|
16
|
-
}, {
|
17
14
|
str: '*',
|
18
15
|
regexp: /./
|
16
|
+
}, {
|
17
|
+
str: '0',
|
18
|
+
regexp: /[0-9]/
|
19
19
|
}, {
|
20
20
|
str: 'a',
|
21
21
|
regexp: /[a-zA-Z]/
|
@@ -4,12 +4,13 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
4
4
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
5
5
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
6
6
|
import React, { forwardRef, useCallback, useMemo } from 'react';
|
7
|
-
import { useForkRef
|
7
|
+
import { useForkRef } from '@salutejs/plasma-core';
|
8
|
+
import { safeUseId } from "../../utils";
|
8
9
|
import { component } from "../../engines";
|
10
|
+
import { useFocusTrap } from "../../hooks";
|
9
11
|
import { popupConfig, usePopupContext } from "../Popup";
|
10
12
|
import { Overlay } from "../Overlay";
|
11
13
|
import { DEFAULT_Z_INDEX } from "../Popup/utils";
|
12
|
-
import { useFocusTrap } from "../../hooks";
|
13
14
|
import { IconClose } from "../_Icon/Icons/IconClose";
|
14
15
|
import { classes, tokens } from "./Modal.tokens";
|
15
16
|
import { useModal } from "./hooks";
|
@@ -65,7 +66,7 @@ export var modalRoot = function modalRoot(Root) {
|
|
65
66
|
}),
|
66
67
|
modalInfo = _useModal.modalInfo;
|
67
68
|
var transparent = useMemo(function () {
|
68
|
-
return getIdLastModal(popupController.items) !== innerId;
|
69
|
+
return getIdLastModal(Array.from(popupController.items.values())) !== innerId;
|
69
70
|
}, [innerId, popupController.items]);
|
70
71
|
var onModalOverlayKeyDown = useCallback(function (event) {
|
71
72
|
if (onOverlayClick) {
|
@@ -22,7 +22,7 @@ export var useModal = function useModal(_ref) {
|
|
22
22
|
if (!closeOnEsc) {
|
23
23
|
return;
|
24
24
|
}
|
25
|
-
if (event.keyCode === ESCAPE_KEYCODE && getIdLastModal(popupController.items) === id) {
|
25
|
+
if (event.keyCode === ESCAPE_KEYCODE && getIdLastModal(Array.from(popupController.items.values())) === id) {
|
26
26
|
if (onEscKeyDown) {
|
27
27
|
onEscKeyDown(event);
|
28
28
|
return;
|
@@ -9,8 +9,8 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
9
9
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
10
10
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
11
11
|
import React, { forwardRef, useRef } from 'react';
|
12
|
-
import { useForkRef
|
13
|
-
import { canUseDOM, cx } from "../../utils";
|
12
|
+
import { useForkRef } from '@salutejs/plasma-core';
|
13
|
+
import { canUseDOM, cx, safeUseId } from "../../utils";
|
14
14
|
import { Portal } from "../Portal";
|
15
15
|
import { PopupRoot } from "./PopupRoot";
|
16
16
|
import { usePopup } from "./hooks";
|
@@ -1,7 +1,3 @@
|
|
1
|
-
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
2
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
3
|
-
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
4
|
-
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
5
1
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
6
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
7
3
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
@@ -9,15 +5,15 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
9
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
10
6
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
11
7
|
import React, { createContext, useState, useContext, useRef } from 'react';
|
8
|
+
import { canUseDOM, safeUseId } from "../../utils";
|
12
9
|
import { Portal } from "../Portal";
|
13
10
|
import { hasModals } from "../Modal/ModalContext";
|
14
|
-
import { canUseDOM, safeUseId } from "../../utils";
|
15
11
|
import { ClientOnlyPortal } from "./ClientOnlyPortal";
|
16
12
|
import { StyledPortal } from "./Popup.styles";
|
17
13
|
export var POPUP_PORTAL_ID = 'plasma-popup-root';
|
18
|
-
var
|
14
|
+
var initialItems = /*#__PURE__*/new Map();
|
19
15
|
var PopupContext = /*#__PURE__*/createContext({
|
20
|
-
items:
|
16
|
+
items: initialItems,
|
21
17
|
rootId: POPUP_PORTAL_ID,
|
22
18
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
23
19
|
register: function register(_info) {
|
@@ -37,7 +33,7 @@ export var PopupProvider = function PopupProvider(_ref) {
|
|
37
33
|
var children = _ref.children,
|
38
34
|
UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
|
39
35
|
var prevBodyOverflowY = useRef(canUseDOM ? document.body.style.overflowY : '');
|
40
|
-
var _useState = useState(
|
36
|
+
var _useState = useState(initialItems),
|
41
37
|
_useState2 = _slicedToArray(_useState, 2),
|
42
38
|
items = _useState2[0],
|
43
39
|
setItems = _useState2[1];
|
@@ -49,11 +45,13 @@ export var PopupProvider = function PopupProvider(_ref) {
|
|
49
45
|
}
|
50
46
|
setItems(function (prevItems) {
|
51
47
|
var _info$info;
|
52
|
-
|
48
|
+
var newItems = new Map(prevItems);
|
49
|
+
if ((_info$info = info.info) !== null && _info$info !== void 0 && _info$info.isModal && !hasModals(Array.from(prevItems.values()))) {
|
53
50
|
prevBodyOverflowY.current = document.body.style.overflowY;
|
54
51
|
document.body.style.overflowY = 'hidden';
|
55
52
|
}
|
56
|
-
|
53
|
+
newItems.set(info.id, info);
|
54
|
+
return newItems;
|
57
55
|
});
|
58
56
|
};
|
59
57
|
var unregister = function unregister(id) {
|
@@ -61,20 +59,16 @@ export var PopupProvider = function PopupProvider(_ref) {
|
|
61
59
|
return;
|
62
60
|
}
|
63
61
|
setItems(function (prevItems) {
|
64
|
-
|
65
|
-
return id === item.id;
|
66
|
-
});
|
67
|
-
if (index === -1) {
|
62
|
+
if (!prevItems.has(id)) {
|
68
63
|
return prevItems;
|
69
64
|
}
|
70
|
-
var
|
71
|
-
|
72
|
-
|
65
|
+
var newItems = new Map(prevItems);
|
66
|
+
var prevHasModals = hasModals(Array.from(newItems.values()));
|
67
|
+
newItems["delete"](id);
|
68
|
+
if (prevHasModals && !hasModals(Array.from(newItems.values()))) {
|
73
69
|
document.body.style.overflowY = prevBodyOverflowY.current;
|
74
70
|
}
|
75
|
-
|
76
|
-
// при return prevItems не обновится контекст
|
77
|
-
return _toConsumableArray(prevItems);
|
71
|
+
return newItems;
|
78
72
|
});
|
79
73
|
};
|
80
74
|
var context = {
|
@@ -7,10 +7,10 @@ export var config = {
|
|
7
7
|
},
|
8
8
|
variations: {
|
9
9
|
view: {
|
10
|
-
"default": /*#__PURE__*/css(["", ":var(--surface-transparent-tertiary);", ":var(--surface-solid-default);"], tokens.paginationDotBackground, tokens.paginationDotActiveBackground)
|
10
|
+
"default": /*#__PURE__*/css(["", ":var(--surface-transparent-tertiary);", ":var(--surface-solid-default);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);"], tokens.paginationDotBackground, tokens.paginationDotActiveBackground, tokens.controlIconButtonColor, tokens.controlIconButtonBackgroundColor, tokens.controlIconButtonColorHover, tokens.controlIconButtonBackgroundColorHover, tokens.controlIconButtonColorActive, tokens.controlIconButtonBackgroundColorActive)
|
11
11
|
},
|
12
12
|
size: {
|
13
|
-
s: /*#__PURE__*/css([""])
|
13
|
+
s: /*#__PURE__*/css(["", ":100%;"], tokens.controlIconButtonRadius)
|
14
14
|
}
|
15
15
|
}
|
16
16
|
};
|
@@ -7,10 +7,10 @@ export var config = {
|
|
7
7
|
},
|
8
8
|
variations: {
|
9
9
|
view: {
|
10
|
-
"default": /*#__PURE__*/css(["", ":var(--surface-transparent-tertiary);", ":var(--surface-solid-default);"], tokens.paginationDotBackground, tokens.paginationDotActiveBackground)
|
10
|
+
"default": /*#__PURE__*/css(["", ":var(--surface-transparent-tertiary);", ":var(--surface-solid-default);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);"], tokens.paginationDotBackground, tokens.paginationDotActiveBackground, tokens.controlIconButtonColor, tokens.controlIconButtonBackgroundColor, tokens.controlIconButtonColorHover, tokens.controlIconButtonBackgroundColorHover, tokens.controlIconButtonColorActive, tokens.controlIconButtonBackgroundColorActive)
|
11
11
|
},
|
12
12
|
size: {
|
13
|
-
s: /*#__PURE__*/css([""])
|
13
|
+
s: /*#__PURE__*/css(["", ":100%;"], tokens.controlIconButtonRadius)
|
14
14
|
}
|
15
15
|
}
|
16
16
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CalendarBase.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarBase/CalendarBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAMV,cAAc,EAGjB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAc,MAAM,mBAAmB,CAAC;AAMnF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAO7C,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,mBAAmB,CAAC;AAE/D;;GAEG;AACH,eAAO,MAAM,gBAAgB,SAAU,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC,
|
1
|
+
{"version":3,"file":"CalendarBase.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarBase/CalendarBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAMV,cAAc,EAGjB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAc,MAAM,mBAAmB,CAAC;AAMnF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAO7C,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,mBAAmB,CAAC;AAE/D;;GAEG;AACH,eAAO,MAAM,gBAAgB,SAAU,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC,0GA6N3F,CAAC;AAEN,eAAO,MAAM,kBAAkB;;;mBA/NQ,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;;;;;;;;;;;;;;CAgP/F,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CalendarDouble.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarDouble/CalendarDouble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAKV,cAAc,EAIjB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAc,MAAM,mBAAmB,CAAC;AAInF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AASnD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,mBAAmB,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,kBAAkB,SAAU,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC,
|
1
|
+
{"version":3,"file":"CalendarDouble.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarDouble/CalendarDouble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAKV,cAAc,EAIjB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAc,MAAM,mBAAmB,CAAC;AAInF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AASnD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,mBAAmB,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,kBAAkB,SAAU,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC,0GAuW7F,CAAC;AAEN,eAAO,MAAM,oBAAoB;;;mBAzWQ,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;;;;;;;;;;;CAuXjG,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CalendarDays.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/ui/CalendarDays/CalendarDays.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAmBxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,
|
1
|
+
{"version":3,"file":"CalendarDays.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/ui/CalendarDays/CalendarDays.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAmBxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiLpD,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CalendarMonths.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/ui/CalendarMonths/CalendarMonths.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAOxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAGlE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,
|
1
|
+
{"version":3,"file":"CalendarMonths.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/ui/CalendarMonths/CalendarMonths.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAOxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAGlE;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA2LxD,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CalendarQuarters.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/ui/CalendarQuarters/CalendarQuarters.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAOxE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAGtE;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,
|
1
|
+
{"version":3,"file":"CalendarQuarters.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/ui/CalendarQuarters/CalendarQuarters.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAOxE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAGtE;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAuL5D,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CalendarYears.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/ui/CalendarYears/CalendarYears.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAOxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAGhE;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,
|
1
|
+
{"version":3,"file":"CalendarYears.d.ts","sourceRoot":"","sources":["../../../../../src/components/Calendar/ui/CalendarYears/CalendarYears.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAOxE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAGhE;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA4LtD,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAyC,MAAM,OAAO,CAAC;AAQ9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAOpD;;GAEG;AACH,eAAO,MAAM,eAAe,SAAU,SAAS,CAAC,cAAc,EAAE,gBAAgB,CAAC,
|
1
|
+
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAyC,MAAM,OAAO,CAAC;AAQ9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAOpD;;GAEG;AACH,eAAO,MAAM,eAAe,SAAU,SAAS,CAAC,cAAc,EAAE,gBAAgB,CAAC,4FAqE5E,CAAC;AAEN,eAAO,MAAM,iBAAiB;;;mBAvEQ,SAAS,CAAC,cAAc,EAAE,gBAAgB,CAAC;;;;;;;;;;;;;;CAwFhF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Carousel.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.styles.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAIrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAE3D,eAAO,MAAM,IAAI,0CAEhB,CAAC;AAEF,eAAO,MAAM,eAAe,qKAmB3B,CAAC;AAEF,eAAO,MAAM,aAAa;SAAqB,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;EAStF,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Carousel.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.styles.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAIrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAE3D,eAAO,MAAM,IAAI,0CAEhB,CAAC;AAEF,eAAO,MAAM,eAAe,qKAmB3B,CAAC;AAEF,eAAO,MAAM,aAAa;SAAqB,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;EAStF,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAuBtB,CAAC;AAEF,eAAO,MAAM,eAAe,qKAE3B,CAAC"}
|
@@ -14,5 +14,12 @@ export declare const classes: {
|
|
14
14
|
export declare const tokens: {
|
15
15
|
paginationDotBackground: string;
|
16
16
|
paginationDotActiveBackground: string;
|
17
|
+
controlIconButtonRadius: string;
|
18
|
+
controlIconButtonColor: string;
|
19
|
+
controlIconButtonBackgroundColor: string;
|
20
|
+
controlIconButtonColorHover: string;
|
21
|
+
controlIconButtonBackgroundColorHover: string;
|
22
|
+
controlIconButtonColorActive: string;
|
23
|
+
controlIconButtonBackgroundColorActive: string;
|
17
24
|
};
|
18
25
|
//# sourceMappingURL=Carousel.tokens.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Carousel.tokens.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Carousel.tokens.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;CAUlB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dots.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Carousel/CarouselNew/ui/Dots/Dots.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAM7D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAOzC,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,
|
1
|
+
{"version":3,"file":"Dots.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Carousel/CarouselNew/ui/Dots/Dots.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAM7D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAOzC,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA8PpC,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import type { RootProps } from '
|
2
|
+
import type { RootProps } from '../../../src/engines';
|
3
3
|
import type { DrawerProps } from './Drawer.types';
|
4
4
|
export declare const drawerRoot: (Root: RootProps<HTMLDivElement, DrawerProps>) => React.ForwardRefExoticComponent<import("../Popup").PopupProps & import("../Panel").PanelProps & {
|
5
5
|
placement?: import("./Drawer.types").DrawerPlacement;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQ7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAUlD,eAAO,MAAM,UAAU,SAAU,SAAS,CAAC,cAAc,EAAE,WAAW,CAAC;;;;;;;;;6BAiC1D,MACD,UAAE;sBAGF,MAAM,SAAS;oBAMZ,MAAO,SAAS;;wCAmF1B,CAAC;AAEN,eAAO,MAAM,YAAY;;;mBAhIQ,SAAS,CAAC,cAAc,EAAE,WAAW,CAAC;;;;;;;;;iCAiC1D,MACD,UAAE;0BAGF,MAAM,SAAS;wBAMZ,MAAO,SAAS;;;;;;;;;;;;;;;;;;;;CA0G9B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useDrawer.d.ts","sourceRoot":"","sources":["../../../../src/components/Drawer/hooks/useDrawer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAA+B,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAMjD,eAAO,MAAM,SAAS,iFAQnB,cAAc;;
|
1
|
+
{"version":3,"file":"useDrawer.d.ts","sourceRoot":"","sources":["../../../../src/components/Drawer/hooks/useDrawer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAA+B,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAMjD,eAAO,MAAM,SAAS,iFAQnB,cAAc;;CAkEhB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,SAAS,EAAa,MAAM,
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,SAAS,EAAa,MAAM,aAAa,CAAC;AASnD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C;;;GAGG;AACH,eAAO,MAAM,SAAS,SAAU,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC,sFA6GhE,CAAC;AAEN,eAAO,MAAM,WAAW;;;mBA/GQ,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC;;;;;;;;;;CA4HpE,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { RootProps } from '
|
2
|
+
import { RootProps } from 'src/engines/types';
|
3
3
|
import type { PopupPlacement, PopupPositionType, PopupProps } from './Popup.types';
|
4
4
|
export declare const handlePosition: (placement: PopupPlacement, offset: [number, number] | [string, string]) => PopupPositionType;
|
5
5
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../src/components/Popup/Popup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,SAAS,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../src/components/Popup/Popup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAI9C,OAAO,KAAK,EAAuB,cAAc,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAMxG,eAAO,MAAM,cAAc,cACZ,cAAc,UACjB,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,KAC5C,iBA8DF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,SAAU,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC,sFAwFhE,CAAC;AAEN,eAAO,MAAM,WAAW;;;mBA1FQ,SAAS,CAAC,cAAc,EAAE,UAAU,CAAC;;;;CAiGpE,CAAC"}
|