@salutejs/plasma-new-hope 0.260.0-canary.1759.13175602857.0 → 0.261.0-canary.1756.13182478014.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Calendar/hooks/useCalendarDateChange.js +1 -0
- package/cjs/components/Calendar/hooks/useCalendarDateChange.js.map +1 -1
- package/cjs/components/Calendar/store/reducer.js +4 -3
- package/cjs/components/Calendar/store/reducer.js.map +1 -1
- package/cjs/components/Calendar/store/types.js.map +1 -1
- package/emotion/cjs/components/Calendar/hooks/useCalendarDateChange.js +1 -0
- package/emotion/cjs/components/Calendar/store/reducer.js +4 -3
- package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +13 -14
- package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +13 -14
- package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
- package/emotion/es/components/Calendar/hooks/useCalendarDateChange.js +1 -0
- package/emotion/es/components/Calendar/store/reducer.js +4 -3
- package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +13 -14
- package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/TextArea/TextArea.config.js +13 -14
- package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
- package/es/components/Calendar/hooks/useCalendarDateChange.js +1 -0
- package/es/components/Calendar/hooks/useCalendarDateChange.js.map +1 -1
- package/es/components/Calendar/store/reducer.js +4 -3
- package/es/components/Calendar/store/reducer.js.map +1 -1
- package/es/components/Calendar/store/types.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Calendar/hooks/useCalendarDateChange.js +1 -0
- package/styled-components/cjs/components/Calendar/store/reducer.js +4 -3
- package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +1 -2
- package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +1 -2
- package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
- package/styled-components/es/components/Calendar/hooks/useCalendarDateChange.js +1 -0
- package/styled-components/es/components/Calendar/store/reducer.js +4 -3
- package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +1 -2
- package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.config.js +1 -2
- package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
- package/types/components/Calendar/hooks/useCalendarDateChange.d.ts.map +1 -1
- package/types/components/Calendar/store/types.d.ts +1 -0
- package/types/components/Calendar/store/types.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts +0 -1
- package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +0 -1
- package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts +0 -1
- package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +0 -1
- package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
@@ -13,7 +13,7 @@ import { config } from './TextArea.config';
|
|
13
13
|
import { TextArea } from './TextArea';
|
14
14
|
|
15
15
|
const labelPlacements = ['inner', 'outer'];
|
16
|
-
const sizes = ['xs', 's', 'm', 'l'
|
16
|
+
const sizes = ['xs', 's', 'm', 'l'];
|
17
17
|
const hintViews = ['default'];
|
18
18
|
const hintSizes = ['m', 's'];
|
19
19
|
const hintTriggers = ['hover', 'click'];
|
@@ -134,6 +134,7 @@ export var reducer = function reducer(state, action) {
|
|
134
134
|
var _action$payload3 = action.payload,
|
135
135
|
calendarState = _action$payload3.calendarState,
|
136
136
|
_monthIndex2 = _action$payload3.monthIndex,
|
137
|
+
_year2 = _action$payload3.year,
|
137
138
|
size = _action$payload3.size;
|
138
139
|
return _objectSpread(_objectSpread({}, state), {}, {
|
139
140
|
size: size,
|
@@ -141,7 +142,7 @@ export var reducer = function reducer(state, action) {
|
|
141
142
|
date: {
|
142
143
|
day: state.date.day,
|
143
144
|
monthIndex: _monthIndex2,
|
144
|
-
year:
|
145
|
+
year: _year2
|
145
146
|
}
|
146
147
|
});
|
147
148
|
}
|
@@ -149,7 +150,7 @@ export var reducer = function reducer(state, action) {
|
|
149
150
|
{
|
150
151
|
var _action$payload4 = action.payload,
|
151
152
|
_calendarState = _action$payload4.calendarState,
|
152
|
-
|
153
|
+
_year3 = _action$payload4.year,
|
153
154
|
_size = _action$payload4.size;
|
154
155
|
return _objectSpread(_objectSpread({}, state), {}, {
|
155
156
|
size: _size,
|
@@ -157,7 +158,7 @@ export var reducer = function reducer(state, action) {
|
|
157
158
|
date: {
|
158
159
|
day: state.date.day,
|
159
160
|
monthIndex: state.date.monthIndex,
|
160
|
-
year:
|
161
|
+
year: _year3
|
161
162
|
}
|
162
163
|
});
|
163
164
|
}
|