@salutejs/plasma-new-hope 0.88.0-canary.1224.9504044130.0 → 0.88.0-canary.1224.9514350339.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +5 -0
  2. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  3. package/cjs/components/DatePicker/RangeDate/{DatePicker.css → RangeDate.css} +5 -5
  4. package/cjs/components/DatePicker/RangeDate/{DatePicker.js → RangeDate.js} +6 -6
  5. package/cjs/components/DatePicker/RangeDate/RangeDate.js.map +1 -0
  6. package/cjs/components/DatePicker/RangeDate/{DatePicker.styles.js → RangeDate.styles.js} +7 -7
  7. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -0
  8. package/cjs/components/DatePicker/RangeDate/{DatePicker.styles_6cvsgx.css → RangeDate.styles_ww61h9.css} +2 -2
  9. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +2 -2
  10. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +3 -3
  11. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  12. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +1 -1
  13. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js.map +1 -1
  14. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base_f58pkk.css +1 -0
  15. package/cjs/components/DatePicker/RangeDate/variations/_size/base.js +1 -1
  16. package/cjs/components/DatePicker/RangeDate/variations/_size/base.js.map +1 -1
  17. package/cjs/components/DatePicker/RangeDate/variations/_size/base_1911nyw.css +1 -0
  18. package/cjs/components/DatePicker/RangeDate/variations/_view/base.js +1 -1
  19. package/cjs/components/DatePicker/RangeDate/variations/_view/base.js.map +1 -1
  20. package/cjs/components/DatePicker/RangeDate/variations/_view/base_11yn9y8.css +1 -0
  21. package/cjs/components/DatePicker/SingleDate/{DatePicker.css → SingleDate.css} +5 -5
  22. package/cjs/components/DatePicker/SingleDate/{DatePicker.js → SingleDate.js} +6 -6
  23. package/cjs/components/DatePicker/SingleDate/{DatePicker.js.map → SingleDate.js.map} +1 -1
  24. package/cjs/components/DatePicker/SingleDate/{DatePicker.styles.js → SingleDate.styles.js} +7 -7
  25. package/cjs/components/DatePicker/SingleDate/{DatePicker.styles.js.map → SingleDate.styles.js.map} +1 -1
  26. package/{es/components/DatePicker/SingleDate/DatePicker.styles_1reoff2.css → cjs/components/DatePicker/SingleDate/SingleDate.styles_18b5qkz.css} +2 -2
  27. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +1 -1
  28. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js.map +1 -1
  29. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base_1jucwp.css +1 -0
  30. package/cjs/components/DatePicker/SingleDate/variations/_size/base.js +1 -1
  31. package/cjs/components/DatePicker/SingleDate/variations/_size/base.js.map +1 -1
  32. package/cjs/components/DatePicker/SingleDate/variations/_size/base_lf7y25.css +1 -0
  33. package/cjs/components/DatePicker/SingleDate/variations/_view/base.js +1 -1
  34. package/cjs/components/DatePicker/SingleDate/variations/_view/base.js.map +1 -1
  35. package/cjs/components/DatePicker/SingleDate/variations/_view/base_15vaheb.css +1 -0
  36. package/cjs/components/Dropdown/Dropdown.js +2 -1
  37. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  38. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +8 -4
  39. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  40. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +6 -5
  41. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  42. package/cjs/index.css +10 -10
  43. package/cjs/index.js +6 -6
  44. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +6 -1
  45. package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  46. package/es/components/DatePicker/RangeDate/{DatePicker.css → RangeDate.css} +5 -5
  47. package/es/components/DatePicker/RangeDate/{DatePicker.js → RangeDate.js} +2 -2
  48. package/es/components/DatePicker/RangeDate/RangeDate.js.map +1 -0
  49. package/es/components/DatePicker/RangeDate/{DatePicker.styles.js → RangeDate.styles.js} +7 -7
  50. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -0
  51. package/es/components/DatePicker/RangeDate/{DatePicker.styles_6cvsgx.css → RangeDate.styles_ww61h9.css} +2 -2
  52. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +2 -2
  53. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -1
  54. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  55. package/es/components/DatePicker/RangeDate/variations/_readonly/base.js +1 -1
  56. package/es/components/DatePicker/RangeDate/variations/_readonly/base.js.map +1 -1
  57. package/es/components/DatePicker/RangeDate/variations/_readonly/base_f58pkk.css +1 -0
  58. package/es/components/DatePicker/RangeDate/variations/_size/base.js +1 -1
  59. package/es/components/DatePicker/RangeDate/variations/_size/base.js.map +1 -1
  60. package/es/components/DatePicker/RangeDate/variations/_size/base_1911nyw.css +1 -0
  61. package/es/components/DatePicker/RangeDate/variations/_view/base.js +1 -1
  62. package/es/components/DatePicker/RangeDate/variations/_view/base.js.map +1 -1
  63. package/es/components/DatePicker/RangeDate/variations/_view/base_11yn9y8.css +1 -0
  64. package/es/components/DatePicker/SingleDate/{DatePicker.css → SingleDate.css} +5 -5
  65. package/es/components/DatePicker/SingleDate/{DatePicker.js → SingleDate.js} +2 -2
  66. package/es/components/DatePicker/SingleDate/{DatePicker.js.map → SingleDate.js.map} +1 -1
  67. package/es/components/DatePicker/SingleDate/{DatePicker.styles.js → SingleDate.styles.js} +7 -7
  68. package/es/components/DatePicker/SingleDate/{DatePicker.styles.js.map → SingleDate.styles.js.map} +1 -1
  69. package/{cjs/components/DatePicker/SingleDate/DatePicker.styles_1reoff2.css → es/components/DatePicker/SingleDate/SingleDate.styles_18b5qkz.css} +2 -2
  70. package/es/components/DatePicker/SingleDate/variations/_readonly/base.js +1 -1
  71. package/es/components/DatePicker/SingleDate/variations/_readonly/base.js.map +1 -1
  72. package/es/components/DatePicker/SingleDate/variations/_readonly/base_1jucwp.css +1 -0
  73. package/es/components/DatePicker/SingleDate/variations/_size/base.js +1 -1
  74. package/es/components/DatePicker/SingleDate/variations/_size/base.js.map +1 -1
  75. package/es/components/DatePicker/SingleDate/variations/_size/base_lf7y25.css +1 -0
  76. package/es/components/DatePicker/SingleDate/variations/_view/base.js +1 -1
  77. package/es/components/DatePicker/SingleDate/variations/_view/base.js.map +1 -1
  78. package/es/components/DatePicker/SingleDate/variations/_view/base_15vaheb.css +1 -0
  79. package/es/components/Dropdown/Dropdown.js +2 -1
  80. package/es/components/Dropdown/Dropdown.js.map +1 -1
  81. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +8 -4
  82. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  83. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +6 -5
  84. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  85. package/es/index.css +10 -10
  86. package/es/index.js +2 -2
  87. package/package.json +2 -2
  88. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +5 -0
  89. package/styled-components/cjs/components/DatePicker/RangeDate/{DatePicker.js → RangeDate.js} +5 -5
  90. package/styled-components/cjs/components/DatePicker/RangeDate/{DatePicker.styles.js → RangeDate.styles.js} +4 -4
  91. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +3 -3
  92. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +2 -2
  93. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_size/base.js +2 -2
  94. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_view/base.js +3 -3
  95. package/styled-components/cjs/components/DatePicker/SingleDate/{DatePicker.js → SingleDate.js} +5 -5
  96. package/styled-components/cjs/components/DatePicker/SingleDate/{DatePicker.styles.js → SingleDate.styles.js} +4 -4
  97. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +2 -2
  98. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/base.js +2 -2
  99. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/base.js +3 -3
  100. package/styled-components/cjs/components/DatePicker/index.js +9 -9
  101. package/styled-components/cjs/components/Dropdown/Dropdown.js +2 -1
  102. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +8 -4
  103. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +6 -5
  104. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +6 -1
  105. package/styled-components/es/components/DatePicker/RangeDate/{DatePicker.js → RangeDate.js} +1 -1
  106. package/styled-components/es/components/DatePicker/RangeDate/{DatePicker.styles.js → RangeDate.styles.js} +4 -4
  107. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -1
  108. package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/base.js +1 -1
  109. package/styled-components/es/components/DatePicker/RangeDate/variations/_size/base.js +1 -1
  110. package/styled-components/es/components/DatePicker/RangeDate/variations/_view/base.js +1 -1
  111. package/styled-components/es/components/DatePicker/SingleDate/{DatePicker.js → SingleDate.js} +1 -1
  112. package/styled-components/es/components/DatePicker/SingleDate/{DatePicker.styles.js → SingleDate.styles.js} +4 -4
  113. package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/base.js +1 -1
  114. package/styled-components/es/components/DatePicker/SingleDate/variations/_size/base.js +1 -1
  115. package/styled-components/es/components/DatePicker/SingleDate/variations/_view/base.js +1 -1
  116. package/styled-components/es/components/DatePicker/index.js +2 -2
  117. package/styled-components/es/components/Dropdown/Dropdown.js +2 -1
  118. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +8 -4
  119. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +6 -5
  120. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts.map +1 -1
  121. package/types/components/DatePicker/RangeDate/RangeDate.d.ts +110 -0
  122. package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +1 -0
  123. package/types/components/DatePicker/RangeDate/{DatePicker.styles.d.ts → RangeDate.styles.d.ts} +1 -1
  124. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts.map +1 -0
  125. package/types/components/DatePicker/RangeDate/{DatePicker.types.d.ts → RangeDate.types.d.ts} +5 -5
  126. package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts.map +1 -0
  127. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts +1 -1
  128. package/types/components/DatePicker/SingleDate/{DatePicker.d.ts → SingleDate.d.ts} +4 -4
  129. package/types/components/DatePicker/SingleDate/{DatePicker.d.ts.map → SingleDate.d.ts.map} +1 -1
  130. package/types/components/DatePicker/SingleDate/{DatePicker.styles.d.ts → SingleDate.styles.d.ts} +1 -1
  131. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -0
  132. package/types/components/DatePicker/SingleDate/{DatePicker.types.d.ts → SingleDate.types.d.ts} +1 -1
  133. package/types/components/DatePicker/SingleDate/{DatePicker.types.d.ts.map → SingleDate.types.d.ts.map} +1 -1
  134. package/types/components/DatePicker/index.d.ts +4 -4
  135. package/types/components/DatePicker/index.d.ts.map +1 -1
  136. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  137. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +1 -1
  138. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts +1 -0
  139. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts.map +1 -1
  140. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  141. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +1 -0
  142. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
  143. package/types/components/Range/Range.types.d.ts +4 -3
  144. package/types/components/Range/Range.types.d.ts.map +1 -1
  145. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +3 -262
  146. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +1 -1
  147. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +3 -262
  148. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +1 -1
  149. package/cjs/components/DatePicker/RangeDate/DatePicker.js.map +0 -1
  150. package/cjs/components/DatePicker/RangeDate/DatePicker.styles.js.map +0 -1
  151. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base_dhosc0.css +0 -1
  152. package/cjs/components/DatePicker/RangeDate/variations/_size/base_c0144z.css +0 -1
  153. package/cjs/components/DatePicker/RangeDate/variations/_view/base_1vly6xz.css +0 -1
  154. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base_ayigv4.css +0 -1
  155. package/cjs/components/DatePicker/SingleDate/variations/_size/base_jrds3p.css +0 -1
  156. package/cjs/components/DatePicker/SingleDate/variations/_view/base_163gwfv.css +0 -1
  157. package/es/components/DatePicker/RangeDate/DatePicker.js.map +0 -1
  158. package/es/components/DatePicker/RangeDate/DatePicker.styles.js.map +0 -1
  159. package/es/components/DatePicker/RangeDate/variations/_readonly/base_dhosc0.css +0 -1
  160. package/es/components/DatePicker/RangeDate/variations/_size/base_c0144z.css +0 -1
  161. package/es/components/DatePicker/RangeDate/variations/_view/base_1vly6xz.css +0 -1
  162. package/es/components/DatePicker/SingleDate/variations/_readonly/base_ayigv4.css +0 -1
  163. package/es/components/DatePicker/SingleDate/variations/_size/base_jrds3p.css +0 -1
  164. package/es/components/DatePicker/SingleDate/variations/_view/base_163gwfv.css +0 -1
  165. package/types/components/DatePicker/RangeDate/DatePicker.d.ts +0 -628
  166. package/types/components/DatePicker/RangeDate/DatePicker.d.ts.map +0 -1
  167. package/types/components/DatePicker/RangeDate/DatePicker.styles.d.ts.map +0 -1
  168. package/types/components/DatePicker/RangeDate/DatePicker.types.d.ts.map +0 -1
  169. package/types/components/DatePicker/SingleDate/DatePicker.styles.d.ts.map +0 -1
  170. /package/styled-components/cjs/components/DatePicker/RangeDate/{DatePicker.types.js → RangeDate.types.js} +0 -0
  171. /package/styled-components/cjs/components/DatePicker/SingleDate/{DatePicker.types.js → SingleDate.types.js} +0 -0
  172. /package/styled-components/es/components/DatePicker/RangeDate/{DatePicker.types.js → RangeDate.types.js} +0 -0
  173. /package/styled-components/es/components/DatePicker/SingleDate/{DatePicker.types.js → SingleDate.types.js} +0 -0
@@ -5,6 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
- var _DatePicker = /*#__PURE__*/require("../../DatePicker.styles");
9
- var _DatePicker2 = /*#__PURE__*/require("../../../DatePicker.tokens");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{display:block;color:var(", ");}", "{color:var(", ");}"], _DatePicker.StyledLabel, _DatePicker2.tokens.labelColor, _DatePicker.LeftHelper, _DatePicker2.tokens.leftHelperColor);
8
+ var _SingleDate = /*#__PURE__*/require("../../SingleDate.styles");
9
+ var _DatePicker = /*#__PURE__*/require("../../../DatePicker.tokens");
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{display:block;color:var(", ");}", "{color:var(", ");}"], _SingleDate.StyledLabel, _DatePicker.tokens.labelColor, _SingleDate.LeftHelper, _DatePicker.tokens.leftHelperColor);
@@ -6,39 +6,39 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "datePickerClasses", {
7
7
  enumerable: true,
8
8
  get: function get() {
9
- return _DatePicker3.classes;
9
+ return _DatePicker.classes;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "datePickerConfig", {
13
13
  enumerable: true,
14
14
  get: function get() {
15
- return _DatePicker.datePickerConfig;
15
+ return _SingleDate.datePickerConfig;
16
16
  }
17
17
  });
18
18
  Object.defineProperty(exports, "datePickerRangeConfig", {
19
19
  enumerable: true,
20
20
  get: function get() {
21
- return _DatePicker2.datePickerRangeConfig;
21
+ return _RangeDate.datePickerRangeConfig;
22
22
  }
23
23
  });
24
24
  Object.defineProperty(exports, "datePickerRangeRoot", {
25
25
  enumerable: true,
26
26
  get: function get() {
27
- return _DatePicker2.datePickerRangeRoot;
27
+ return _RangeDate.datePickerRangeRoot;
28
28
  }
29
29
  });
30
30
  Object.defineProperty(exports, "datePickerRoot", {
31
31
  enumerable: true,
32
32
  get: function get() {
33
- return _DatePicker.datePickerRoot;
33
+ return _SingleDate.datePickerRoot;
34
34
  }
35
35
  });
36
36
  Object.defineProperty(exports, "datePickerTokens", {
37
37
  enumerable: true,
38
38
  get: function get() {
39
- return _DatePicker3.tokens;
39
+ return _DatePicker.tokens;
40
40
  }
41
41
  });
42
- var _DatePicker = /*#__PURE__*/require("./SingleDate/DatePicker");
43
- var _DatePicker2 = /*#__PURE__*/require("./RangeDate/DatePicker");
44
- var _DatePicker3 = /*#__PURE__*/require("./DatePicker.tokens");
42
+ var _SingleDate = /*#__PURE__*/require("./SingleDate/SingleDate");
43
+ var _RangeDate = /*#__PURE__*/require("./RangeDate/RangeDate");
44
+ var _DatePicker = /*#__PURE__*/require("./DatePicker.tokens");
@@ -162,7 +162,8 @@ var dropdownRoot = exports.dropdownRoot = function dropdownRoot(Root) {
162
162
  onItemClick: onItemClick,
163
163
  listWidth: listWidth,
164
164
  variant: variant,
165
- hasArrow: hasArrow
165
+ hasArrow: hasArrow,
166
+ size: size
166
167
  });
167
168
  }))));
168
169
  });
@@ -26,7 +26,8 @@ var DropdownInner = exports.DropdownInner = function DropdownInner(_ref) {
26
26
  onItemClick = _ref.onItemClick,
27
27
  listWidth = _ref.listWidth,
28
28
  variant = _ref.variant,
29
- hasArrow = _ref.hasArrow;
29
+ hasArrow = _ref.hasArrow,
30
+ size = _ref.size;
30
31
  var handleToggle = function handleToggle(opened) {
31
32
  if (opened) {
32
33
  dispatchPath({
@@ -65,7 +66,8 @@ var DropdownInner = exports.DropdownInner = function DropdownInner(_ref) {
65
66
  ariaControls: listId,
66
67
  ariaExpanded: isCurrentListOpen,
67
68
  ariaLevel: nextLevel,
68
- ariaLabel: item.label
69
+ ariaLabel: item.label,
70
+ size: size
69
71
  }),
70
72
  onToggle: handleToggle,
71
73
  isFocusTrapped: false,
@@ -97,7 +99,8 @@ var DropdownInner = exports.DropdownInner = function DropdownInner(_ref) {
97
99
  onItemClick: onItemClick,
98
100
  listWidth: listWidth,
99
101
  variant: variant,
100
- hasArrow: hasArrow
102
+ hasArrow: hasArrow,
103
+ size: size
101
104
  });
102
105
  })));
103
106
  }
@@ -112,6 +115,7 @@ var DropdownInner = exports.DropdownInner = function DropdownInner(_ref) {
112
115
  onHover: onHover,
113
116
  onItemSelect: onItemSelect,
114
117
  onItemClick: onItemClick,
115
- variant: variant
118
+ variant: variant,
119
+ size: size
116
120
  });
117
121
  };
@@ -10,7 +10,6 @@ var _Dropdown = /*#__PURE__*/require("../../Dropdown.tokens");
10
10
  var _utils = /*#__PURE__*/require("../../../../utils");
11
11
  var _Icon = /*#__PURE__*/require("../../../_Icon");
12
12
  var _DropdownItem = /*#__PURE__*/require("./DropdownItem.styles");
13
- var _DisclosureIconWrappe;
14
13
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
15
14
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
16
15
  var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
@@ -31,7 +30,8 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
31
30
  ariaLevel = _ref.ariaLevel,
32
31
  ariaLabel = _ref.ariaLabel,
33
32
  variant = _ref.variant,
34
- hasArrow = _ref.hasArrow;
33
+ hasArrow = _ref.hasArrow,
34
+ size = _ref.size;
35
35
  var value = item.value,
36
36
  label = item.label,
37
37
  disabled = item.disabled,
@@ -39,6 +39,7 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
39
39
  contentLeft = item.contentLeft,
40
40
  contentRight = item.contentRight;
41
41
  var ref = (0, _react.useRef)(null);
42
+ var disclosureIconSize = size === 'xs' ? 'xs' : 's';
42
43
  var isDisabledClassName = disabled || isDisabled ? _Dropdown.classes.dropdownItemIsDisabled : undefined;
43
44
  var focusedClass = currentLevel === focusedPath.length - 1 && index === (focusedPath === null || focusedPath === void 0 ? void 0 : focusedPath[currentLevel]) ? _Dropdown.classes.dropdownItemIsFocused : undefined;
44
45
  var activeClass = value === (path === null || path === void 0 ? void 0 : path[currentLevel + 1]) ? _Dropdown.classes.dropdownItemIsActive : undefined;
@@ -84,8 +85,8 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
84
85
  "aria-haspopup": ariaHasPopup,
85
86
  "aria-level": ariaLevel,
86
87
  "aria-label": ariaLabel
87
- }, contentLeft && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentLeft, null, contentLeft), /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledText, null, label), contentRight && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentRight, null, contentRight), item.items && hasArrow && (_DisclosureIconWrappe || (_DisclosureIconWrappe = /*#__PURE__*/_react["default"].createElement(_DropdownItem.DisclosureIconWrapper, null, /*#__PURE__*/_react["default"].createElement(_Icon.IconDisclosureRight, {
88
- size: "xs",
88
+ }, contentLeft && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentLeft, null, contentLeft), /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledText, null, label), contentRight && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentRight, null, contentRight), item.items && hasArrow && /*#__PURE__*/_react["default"].createElement(_DropdownItem.DisclosureIconWrapper, null, /*#__PURE__*/_react["default"].createElement(_Icon.IconDisclosureRight, {
89
+ size: disclosureIconSize,
89
90
  color: "inherit"
90
- })))));
91
+ })));
91
92
  };
@@ -9,7 +9,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
9
9
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
10
10
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
11
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
- import React, { useState, useCallback, useMemo, forwardRef } from 'react';
12
+ import React, { useState, useCallback, useMemo, forwardRef, useEffect } from 'react';
13
13
  import { getDateFromValue, getNextDate, getPrevDate, isValueUpdate } from '../utils';
14
14
  import { useKeyNavigation } from '../hooks';
15
15
  import { CalendarDays, CalendarHeader } from '../ui';
@@ -132,6 +132,11 @@ export var calendarDoubleRoot = function calendarDoubleRoot(Root) {
132
132
  }
133
133
  setPrevValue(value);
134
134
  }
135
+ useEffect(function () {
136
+ if (!prevValue) {
137
+ setPrevValue(value);
138
+ }
139
+ }, [value, prevValue]);
135
140
  return /*#__PURE__*/React.createElement(Root, _extends({
136
141
  ref: outerRootRef,
137
142
  "aria-label": "\u0412\u044B\u0431\u043E\u0440 \u0434\u0430\u0442\u044B"
@@ -17,7 +17,7 @@ import { base as sizeCSS } from './variations/_size/base';
17
17
  import { base as viewCSS } from './variations/_view/base';
18
18
  import { base as disabledCSS } from './variations/_disabled/base';
19
19
  import { base as readOnlyCSS } from './variations/_readonly/base';
20
- import { LeftHelper, StyledLabel, StyledRange, base } from './DatePicker.styles';
20
+ import { LeftHelper, StyledLabel, StyledRange, base } from './RangeDate.styles';
21
21
  import { RangeDatePopover } from './RangeDatePopover/RangeDatePopover';
22
22
  export var datePickerRangeRoot = function datePickerRangeRoot(Root) {
23
23
  return /*#__PURE__*/forwardRef(function (_ref, ref) {
@@ -9,17 +9,17 @@ var Range = /*#__PURE__*/component(mergedRangeConfig);
9
9
  var mergedPopoverConfig = /*#__PURE__*/mergeConfig(popoverConfig);
10
10
  var Popover = /*#__PURE__*/component(mergedPopoverConfig);
11
11
  export var StyledPopover = /*#__PURE__*/styled(Popover).withConfig({
12
- componentId: "plasma-new-hope__sc-zxqgpy-0"
12
+ componentId: "plasma-new-hope__sc-14j95rs-0"
13
13
  })([""]);
14
14
 
15
15
  // NOTE: переопределение токенов Range
16
16
  export var StyledRange = /*#__PURE__*/styled(Range).withConfig({
17
- componentId: "plasma-new-hope__sc-zxqgpy-1"
17
+ componentId: "plasma-new-hope__sc-14j95rs-1"
18
18
  })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], rangeTokens.background, tokens.background, rangeTokens.backgroundError, tokens.backgroundError, rangeTokens.backgroundSuccess, tokens.backgroundSuccess, rangeTokens.borderColor, tokens.borderColor, rangeTokens.borderColorError, tokens.borderColorError, rangeTokens.borderColorSuccess, tokens.borderColorSuccess, rangeTokens.borderWidth, tokens.textFieldBorderWidth, rangeTokens.dividerColor, tokens.dividerColor, rangeTokens.labelColor, tokens.labelColor, rangeTokens.leftHelperColor, tokens.leftHelperColor, rangeTokens.textFieldColor, tokens.textFieldColor, rangeTokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColor, rangeTokens.textFieldCaretColor, tokens.textFieldCaretColor, rangeTokens.textFieldBackgroundColorFocus, tokens.textFieldBackgroundColorFocus, rangeTokens.textFieldBackgroundErrorColor, tokens.textFieldBackgroundErrorColor, rangeTokens.textFieldBackgroundErrorColorFocus, tokens.textFieldBackgroundErrorColorFocus, rangeTokens.textFieldBackgroundSuccessColor, tokens.textFieldBackgroundSuccessColor, rangeTokens.textFieldBackgroundSuccessColorFocus, tokens.textFieldBackgroundSuccessColorFocus, rangeTokens.textFieldBorderWidth, tokens.textFieldBorderWidth, rangeTokens.textFieldBorderColorFocus, tokens.textFieldBorderColorFocus, rangeTokens.textFieldBorderColorError, tokens.textFieldBorderColorError, rangeTokens.textFieldBorderColorErrorFocus, tokens.textFieldBorderColorErrorFocus, rangeTokens.textFieldBorderColorSuccess, tokens.textFieldBorderColorSuccess, rangeTokens.textFieldBorderColorSuccessFocus, tokens.textFieldBorderColorSuccessFocus, rangeTokens.textFieldTextBeforeColor, tokens.textFieldTextBeforeColor, rangeTokens.textFieldTextAfterColor, tokens.textFieldTextAfterColor, rangeTokens.focusColor, tokens.focusColor, rangeTokens.borderRadius, tokens.borderRadius, rangeTokens.dividerPadding, tokens.dividerPadding, rangeTokens.dividerFontFamily, tokens.dividerFontFamily, rangeTokens.dividerFontStyle, tokens.dividerFontStyle, rangeTokens.dividerFontSize, tokens.dividerFontSize, rangeTokens.dividerFontWeight, tokens.dividerFontWeight, rangeTokens.dividerLetterSpacing, tokens.dividerLetterSpacing, rangeTokens.dividerLineHeight, tokens.dividerLineHeight, rangeTokens.leftContentMargin, tokens.leftContentMargin, rangeTokens.rightContentMargin, tokens.rightContentMargin, rangeTokens.labelOffset, tokens.labelOffset, rangeTokens.labelFontFamily, tokens.labelFontFamily, rangeTokens.labelFontStyle, tokens.labelFontStyle, rangeTokens.labelFontSize, tokens.labelFontSize, rangeTokens.labelFontWeight, tokens.labelFontWeight, rangeTokens.labelLetterSpacing, tokens.labelLetterSpacing, rangeTokens.labelLineHeight, tokens.labelLineHeight, rangeTokens.textFieldHeight, tokens.textFieldHeight, rangeTokens.textFieldBorderRadius, tokens.textFieldBorderRadius, rangeTokens.textFieldPadding, tokens.textFieldPadding, rangeTokens.textFieldFontFamily, tokens.textFieldFontFamily, rangeTokens.textFieldFontStyle, tokens.textFieldFontStyle, rangeTokens.textFieldFontSize, tokens.textFieldFontSize, rangeTokens.textFieldFontWeight, tokens.textFieldFontWeight, rangeTokens.textFieldLetterSpacing, tokens.textFieldLetterSpacing, rangeTokens.textFieldLineHeight, tokens.textFieldLineHeight, rangeTokens.leftHelperOffset, tokens.leftHelperOffset, rangeTokens.leftHelperFontFamily, tokens.leftHelperFontFamily, rangeTokens.leftHelperFontStyle, tokens.leftHelperFontStyle, rangeTokens.leftHelperFontSize, tokens.leftHelperFontSize, rangeTokens.leftHelperFontWeight, tokens.leftHelperFontWeight, rangeTokens.leftHelperLetterSpacing, tokens.leftHelperLetterSpacing, rangeTokens.leftHelperLineHeight, tokens.leftHelperLineHeight, rangeTokens.textFieldLeftContentMargin, tokens.textFieldLeftContentMargin, rangeTokens.textFieldRightContentMargin, tokens.textFieldRightContentMargin, rangeTokens.textFieldTextBeforeMargin, tokens.textFieldTextBeforeMargin, rangeTokens.textFieldTextAfterMargin, tokens.textFieldTextAfterMargin, rangeTokens.backgroundReadOnly, tokens.backgroundReadOnly, rangeTokens.labelColorReadOnly, tokens.labelColorReadOnly, rangeTokens.leftHelperColorReadOnly, tokens.leftHelperColorReadOnly, rangeTokens.dividerColorReadOnly, tokens.dividerColorReadOnly, rangeTokens.textFieldColorReadOnly, tokens.textFieldColorReadOnly, rangeTokens.textFieldBackgroundColorReadOnly, tokens.textFieldBackgroundColorReadOnly, rangeTokens.textFieldPlaceholderColorReadOnly, tokens.textFieldPlaceholderColorReadOnly);
19
19
  export var base = /*#__PURE__*/css(["display:inline-block;"]);
20
20
  export var StyledLabel = /*#__PURE__*/styled.label.withConfig({
21
- componentId: "plasma-new-hope__sc-zxqgpy-2"
21
+ componentId: "plasma-new-hope__sc-14j95rs-2"
22
22
  })([""]);
23
23
  export var LeftHelper = /*#__PURE__*/styled.div.withConfig({
24
- componentId: "plasma-new-hope__sc-zxqgpy-3"
24
+ componentId: "plasma-new-hope__sc-14j95rs-3"
25
25
  })([""]);
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { getPlacements } from '../../../../utils';
3
- import { StyledPopover } from '../DatePicker.styles';
3
+ import { StyledPopover } from '../RangeDate.styles';
4
4
  import { StyledCalendar, StyledCalendarDouble } from './RangeDatePopover.styles';
5
5
  export var RangeDatePopover = function RangeDatePopover(_ref) {
6
6
  var target = _ref.target,
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
2
  import { tokens } from '../../../DatePicker.tokens';
3
- import { LeftHelper, StyledLabel } from '../../DatePicker.styles';
3
+ import { LeftHelper, StyledLabel } from '../../RangeDate.styles';
4
4
  export var base = /*#__PURE__*/css(["&[readonly]{cursor:default;", ":transparent;", "{display:block;color:var(", ");}", "{color:var(", ");}}"], tokens.textFieldBackgroundColorReadOnly, StyledLabel, tokens.labelColorReadOnly, LeftHelper, tokens.leftHelperColorReadOnly);
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
2
  import { tokens } from '../../../DatePicker.tokens';
3
- import { StyledLabel, LeftHelper } from '../../DatePicker.styles';
3
+ import { StyledLabel, LeftHelper } from '../../RangeDate.styles';
4
4
  export var base = /*#__PURE__*/css(["width:var(", ");", "{margin:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}"], tokens.width, StyledLabel, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, LeftHelper, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight);
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
- import { LeftHelper, StyledLabel } from '../../DatePicker.styles';
2
+ import { LeftHelper, StyledLabel } from '../../RangeDate.styles';
3
3
  import { tokens } from '../../../DatePicker.tokens';
4
4
  export var base = /*#__PURE__*/css(["", "{display:block;color:var(", ");}", "{color:var(", ");}"], StyledLabel, tokens.labelColor, LeftHelper, tokens.leftHelperColor);
@@ -18,7 +18,7 @@ import { base as sizeCSS } from './variations/_size/base';
18
18
  import { base as viewCSS } from './variations/_view/base';
19
19
  import { base as disabledCSS } from './variations/_disabled/base';
20
20
  import { base as readOnlyCSS } from './variations/_readonly/base';
21
- import { LeftHelper, StyledInput, StyledLabel, StyledPopover, base } from './DatePicker.styles';
21
+ import { LeftHelper, StyledInput, StyledLabel, StyledPopover, base } from './SingleDate.styles';
22
22
  export var datePickerRoot = function datePickerRoot(Root) {
23
23
  return /*#__PURE__*/forwardRef(function (_ref, ref) {
24
24
  var className = _ref.className,
@@ -9,17 +9,17 @@ var TextField = /*#__PURE__*/component(mergedTextFieldConfig);
9
9
  var mergedPopoverConfig = /*#__PURE__*/mergeConfig(popoverConfig);
10
10
  var Popover = /*#__PURE__*/component(mergedPopoverConfig);
11
11
  export var StyledPopover = /*#__PURE__*/styled(Popover).withConfig({
12
- componentId: "plasma-new-hope__sc-1ohdd6s-0"
12
+ componentId: "plasma-new-hope__sc-1ye0xbz-0"
13
13
  })([""]);
14
14
 
15
15
  // NOTE: переопределение токенов TextField
16
16
  export var StyledInput = /*#__PURE__*/styled(TextField).withConfig({
17
- componentId: "plasma-new-hope__sc-1ohdd6s-1"
17
+ componentId: "plasma-new-hope__sc-1ye0xbz-1"
18
18
  })([" ", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}"], textFieldTokens.color, tokens.textFieldColor, textFieldTokens.placeholderColor, tokens.textFieldPlaceholderColor, textFieldTokens.caretColor, tokens.textFieldCaretColor, textFieldTokens.focusColor, tokens.textFieldFocusColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundColorFocus, textFieldTokens.borderColor, tokens.borderColor, textFieldTokens.borderColorHover, tokens.borderColorHover, textFieldTokens.borderColorFocus, tokens.borderColorFocus, textFieldTokens.colorReadOnly, tokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, tokens.textFieldBackgroundColorReadOnly, textFieldTokens.borderColorReadOnly, tokens.textFieldBorderColorReadOnly, textFieldTokens.placeholderColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, textFieldTokens.height, tokens.textFieldHeight, textFieldTokens.borderWidth, tokens.textFieldBorderWidth, textFieldTokens.borderRadius, tokens.textFieldBorderRadius, textFieldTokens.padding, tokens.textFieldPadding, textFieldTokens.leftContentMargin, tokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, tokens.textFieldRightContentMargin, textFieldTokens.fontFamily, tokens.textFieldFontFamily, textFieldTokens.fontSize, tokens.textFieldFontSize, textFieldTokens.fontStyle, tokens.textFieldFontStyle, textFieldTokens.fontWeight, tokens.textFieldFontWeight, textFieldTokens.letterSpacing, tokens.textFieldLetterSpacing, textFieldTokens.lineHeight, tokens.textFieldLineHeight, textFieldTokens.disabledOpacity, tokens.disabledOpacity, textFieldTokens.textBeforeColor, tokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, tokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, tokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, tokens.textFieldTextAfterMargin, classes.datePickerError, textFieldTokens.backgroundColor, tokens.textFieldBackgroundErrorColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundErrorColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundErrorColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorError, textFieldTokens.borderColorHover, tokens.textFieldBorderColorErrorHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorErrorFocus, classes.datePickerSuccess, textFieldTokens.backgroundColor, tokens.textFieldBackgroundSuccessColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundSuccessColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundSuccessColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorSuccess, textFieldTokens.borderColorHover, tokens.textFieldBorderColorSuccessHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorSuccessFocus);
19
19
  export var base = /*#__PURE__*/css(["display:inline-block;"]);
20
20
  export var StyledLabel = /*#__PURE__*/styled.label.withConfig({
21
- componentId: "plasma-new-hope__sc-1ohdd6s-2"
21
+ componentId: "plasma-new-hope__sc-1ye0xbz-2"
22
22
  })([""]);
23
23
  export var LeftHelper = /*#__PURE__*/styled.div.withConfig({
24
- componentId: "plasma-new-hope__sc-1ohdd6s-3"
24
+ componentId: "plasma-new-hope__sc-1ye0xbz-3"
25
25
  })([""]);
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
2
  import { tokens } from '../../../DatePicker.tokens';
3
- import { LeftHelper, StyledLabel } from '../../DatePicker.styles';
3
+ import { LeftHelper, StyledLabel } from '../../SingleDate.styles';
4
4
  export var base = /*#__PURE__*/css(["&[readonly]{cursor:default;", "{display:block;color:var(", ");}", "{color:var(", ");}}"], StyledLabel, tokens.labelColorReadOnly, LeftHelper, tokens.leftHelperColorReadOnly);
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
2
  import { tokens } from '../../../DatePicker.tokens';
3
- import { StyledLabel, LeftHelper } from '../../DatePicker.styles';
3
+ import { StyledLabel, LeftHelper } from '../../SingleDate.styles';
4
4
  export var base = /*#__PURE__*/css(["width:var(", ");", "{margin:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}"], tokens.width, StyledLabel, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, LeftHelper, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight);
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
- import { LeftHelper, StyledLabel } from '../../DatePicker.styles';
2
+ import { LeftHelper, StyledLabel } from '../../SingleDate.styles';
3
3
  import { tokens } from '../../../DatePicker.tokens';
4
4
  export var base = /*#__PURE__*/css(["", "{display:block;color:var(", ");}", "{color:var(", ");}"], StyledLabel, tokens.labelColor, LeftHelper, tokens.leftHelperColor);
@@ -1,3 +1,3 @@
1
- export { datePickerRoot, datePickerConfig } from './SingleDate/DatePicker';
2
- export { datePickerRangeRoot, datePickerRangeConfig } from './RangeDate/DatePicker';
1
+ export { datePickerRoot, datePickerConfig } from './SingleDate/SingleDate';
2
+ export { datePickerRangeRoot, datePickerRangeConfig } from './RangeDate/RangeDate';
3
3
  export { classes as datePickerClasses, tokens as datePickerTokens } from './DatePicker.tokens';
@@ -154,7 +154,8 @@ export var dropdownRoot = function dropdownRoot(Root) {
154
154
  onItemClick: onItemClick,
155
155
  listWidth: listWidth,
156
156
  variant: variant,
157
- hasArrow: hasArrow
157
+ hasArrow: hasArrow,
158
+ size: size
158
159
  });
159
160
  }))));
160
161
  });
@@ -19,7 +19,8 @@ var DropdownInner = function DropdownInner(_ref) {
19
19
  onItemClick = _ref.onItemClick,
20
20
  listWidth = _ref.listWidth,
21
21
  variant = _ref.variant,
22
- hasArrow = _ref.hasArrow;
22
+ hasArrow = _ref.hasArrow,
23
+ size = _ref.size;
23
24
  var handleToggle = function handleToggle(opened) {
24
25
  if (opened) {
25
26
  dispatchPath({
@@ -58,7 +59,8 @@ var DropdownInner = function DropdownInner(_ref) {
58
59
  ariaControls: listId,
59
60
  ariaExpanded: isCurrentListOpen,
60
61
  ariaLevel: nextLevel,
61
- ariaLabel: item.label
62
+ ariaLabel: item.label,
63
+ size: size
62
64
  }),
63
65
  onToggle: handleToggle,
64
66
  isFocusTrapped: false,
@@ -90,7 +92,8 @@ var DropdownInner = function DropdownInner(_ref) {
90
92
  onItemClick: onItemClick,
91
93
  listWidth: listWidth,
92
94
  variant: variant,
93
- hasArrow: hasArrow
95
+ hasArrow: hasArrow,
96
+ size: size
94
97
  });
95
98
  })));
96
99
  }
@@ -105,7 +108,8 @@ var DropdownInner = function DropdownInner(_ref) {
105
108
  onHover: onHover,
106
109
  onItemSelect: onItemSelect,
107
110
  onItemClick: onItemClick,
108
- variant: variant
111
+ variant: variant,
112
+ size: size
109
113
  });
110
114
  };
111
115
  export { DropdownInner };
@@ -1,4 +1,3 @@
1
- var _DisclosureIconWrappe;
2
1
  import React, { useEffect, useRef } from 'react';
3
2
  import { classes } from '../../Dropdown.tokens';
4
3
  import { cx } from '../../../../utils';
@@ -22,7 +21,8 @@ export var DropdownItem = function DropdownItem(_ref) {
22
21
  ariaLevel = _ref.ariaLevel,
23
22
  ariaLabel = _ref.ariaLabel,
24
23
  variant = _ref.variant,
25
- hasArrow = _ref.hasArrow;
24
+ hasArrow = _ref.hasArrow,
25
+ size = _ref.size;
26
26
  var value = item.value,
27
27
  label = item.label,
28
28
  disabled = item.disabled,
@@ -30,6 +30,7 @@ export var DropdownItem = function DropdownItem(_ref) {
30
30
  contentLeft = item.contentLeft,
31
31
  contentRight = item.contentRight;
32
32
  var ref = useRef(null);
33
+ var disclosureIconSize = size === 'xs' ? 'xs' : 's';
33
34
  var isDisabledClassName = disabled || isDisabled ? classes.dropdownItemIsDisabled : undefined;
34
35
  var focusedClass = currentLevel === focusedPath.length - 1 && index === (focusedPath === null || focusedPath === void 0 ? void 0 : focusedPath[currentLevel]) ? classes.dropdownItemIsFocused : undefined;
35
36
  var activeClass = value === (path === null || path === void 0 ? void 0 : path[currentLevel + 1]) ? classes.dropdownItemIsActive : undefined;
@@ -75,8 +76,8 @@ export var DropdownItem = function DropdownItem(_ref) {
75
76
  "aria-haspopup": ariaHasPopup,
76
77
  "aria-level": ariaLevel,
77
78
  "aria-label": ariaLabel
78
- }, contentLeft && /*#__PURE__*/React.createElement(StyledContentLeft, null, contentLeft), /*#__PURE__*/React.createElement(StyledText, null, label), contentRight && /*#__PURE__*/React.createElement(StyledContentRight, null, contentRight), item.items && hasArrow && (_DisclosureIconWrappe || (_DisclosureIconWrappe = /*#__PURE__*/React.createElement(DisclosureIconWrapper, null, /*#__PURE__*/React.createElement(IconDisclosureRight, {
79
- size: "xs",
79
+ }, contentLeft && /*#__PURE__*/React.createElement(StyledContentLeft, null, contentLeft), /*#__PURE__*/React.createElement(StyledText, null, label), contentRight && /*#__PURE__*/React.createElement(StyledContentRight, null, contentRight), item.items && hasArrow && /*#__PURE__*/React.createElement(DisclosureIconWrapper, null, /*#__PURE__*/React.createElement(IconDisclosureRight, {
80
+ size: disclosureIconSize,
80
81
  color: "inherit"
81
- })))));
82
+ })));
82
83
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDouble.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarDouble/CalendarDouble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA8C,cAAc,EAAE,MAAM,OAAO,CAAC;AAE1F,OAAO,KAAK,EAAE,QAAQ,EAAc,MAAM,mBAAmB,CAAC;AAI9D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAKnD,oBAAY,mBAAmB,GAAG,cAAc,CAAC,cAAc,CAAC,GAC5D,QAAQ,GAAG;IACP;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEN;;GAEG;AACH,eAAO,MAAM,kBAAkB,SAAU,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC;IAb1F;;OAEG;;IAEH;;OAEG;;wCAoKN,CAAC;AAEN,eAAO,MAAM,oBAAoB;;;mBA/JQ,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC;QAb1F;;WAEG;;QAEH;;WAEG;;;;;;;;;;;;;CAoLV,CAAC"}
1
+ {"version":3,"file":"CalendarDouble.d.ts","sourceRoot":"","sources":["../../../../src/components/Calendar/CalendarDouble/CalendarDouble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA8C,cAAc,EAAa,MAAM,OAAO,CAAC;AAErG,OAAO,KAAK,EAAE,QAAQ,EAAc,MAAM,mBAAmB,CAAC;AAI9D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAKnD,oBAAY,mBAAmB,GAAG,cAAc,CAAC,cAAc,CAAC,GAC5D,QAAQ,GAAG;IACP;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEN;;GAEG;AACH,eAAO,MAAM,kBAAkB,SAAU,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC;IAb1F;;OAEG;;IAEH;;OAEG;;wCA0KN,CAAC;AAEN,eAAO,MAAM,oBAAoB;;;mBArKQ,UAAU,cAAc,EAAE,eAAe,cAAc,CAAC,CAAC;QAb1F;;WAEG;;QAEH;;WAEG;;;;;;;;;;;;;CA0LV,CAAC"}
@@ -0,0 +1,110 @@
1
+ import React from 'react';
2
+ import type { RootProps } from '../../../engines';
3
+ import type { RangeInputRefs } from '../../Range/Range.types';
4
+ import type { DatePickerRangeProps } from './RangeDate.types';
5
+ export declare const datePickerRangeRoot: (Root: RootProps<HTMLDivElement, Omit<DatePickerRangeProps, 'isOpen' | 'defaultValue' | 'onChangeValue'>>) => React.ForwardRefExoticComponent<import("../DatePickerBase.types").DatePickerdVariationProps & {
6
+ defaultFirstDate?: Date | undefined;
7
+ defaultSecondDate?: Date | undefined;
8
+ onCommitFirstDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined) => void) | undefined;
9
+ onCommitSecondDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined) => void) | undefined;
10
+ } & {
11
+ label?: string | undefined;
12
+ view?: string | undefined;
13
+ disabled?: boolean | undefined;
14
+ readOnly?: boolean | undefined;
15
+ size?: string | undefined;
16
+ contentLeft?: React.ReactNode;
17
+ contentRight?: React.ReactNode;
18
+ leftHelper?: string | undefined;
19
+ dividerVariant?: "none" | "icon" | "dash" | undefined;
20
+ dividerIcon?: React.ReactNode;
21
+ firstValueError?: boolean | undefined;
22
+ secondValueError?: boolean | undefined;
23
+ firstValueSuccess?: boolean | undefined;
24
+ secondValueSuccess?: boolean | undefined;
25
+ firstPlaceholder?: string | undefined;
26
+ secondPlaceholder?: string | undefined;
27
+ firstTextfieldContentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
28
+ firstTextfieldContentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
29
+ secondTextfieldContentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
30
+ secondTextfieldContentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
31
+ firstTextfieldTextBefore?: string | undefined;
32
+ secondTextfieldTextBefore?: string | undefined;
33
+ firstTextfieldTextAfter?: string | undefined;
34
+ secondTextfieldTextAfter?: string | undefined;
35
+ onChangeFirstValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
36
+ onChangeSecondValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
37
+ onFocusFirstTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
38
+ onFocusSecondTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
39
+ onBlurFirstTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
40
+ onBlurSecondTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
41
+ } & import("./RangeDate.types").DatePickerCalendarProps & Omit<import("../SingleDate/SingleDate.types").DatePickerPopoverProps, "placement"> & {
42
+ placement?: import("./RangeDate.types").DatePickerRangePlacement | import("./RangeDate.types").DatePickerRangePlacement[] | undefined;
43
+ isDoubleCalendar?: boolean | undefined;
44
+ } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<RangeInputRefs>>;
45
+ export declare const datePickerRangeConfig: {
46
+ name: string;
47
+ tag: string;
48
+ layout: (Root: RootProps<HTMLDivElement, Omit<DatePickerRangeProps, 'isOpen' | 'defaultValue' | 'onChangeValue'>>) => React.ForwardRefExoticComponent<import("../DatePickerBase.types").DatePickerdVariationProps & {
49
+ defaultFirstDate?: Date | undefined;
50
+ defaultSecondDate?: Date | undefined;
51
+ onCommitFirstDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined) => void) | undefined;
52
+ onCommitSecondDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined) => void) | undefined;
53
+ } & {
54
+ label?: string | undefined;
55
+ view?: string | undefined;
56
+ disabled?: boolean | undefined;
57
+ readOnly?: boolean | undefined;
58
+ size?: string | undefined;
59
+ contentLeft?: React.ReactNode;
60
+ contentRight?: React.ReactNode;
61
+ leftHelper?: string | undefined;
62
+ dividerVariant?: "none" | "icon" | "dash" | undefined;
63
+ dividerIcon?: React.ReactNode;
64
+ firstValueError?: boolean | undefined;
65
+ secondValueError?: boolean | undefined;
66
+ firstValueSuccess?: boolean | undefined;
67
+ secondValueSuccess?: boolean | undefined;
68
+ firstPlaceholder?: string | undefined;
69
+ secondPlaceholder?: string | undefined;
70
+ firstTextfieldContentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
71
+ firstTextfieldContentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
72
+ secondTextfieldContentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
73
+ secondTextfieldContentRight?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
74
+ firstTextfieldTextBefore?: string | undefined;
75
+ secondTextfieldTextBefore?: string | undefined;
76
+ firstTextfieldTextAfter?: string | undefined;
77
+ secondTextfieldTextAfter?: string | undefined;
78
+ onChangeFirstValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
79
+ onChangeSecondValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
80
+ onFocusFirstTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
81
+ onFocusSecondTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
82
+ onBlurFirstTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
83
+ onBlurSecondTextfield?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
84
+ } & import("./RangeDate.types").DatePickerCalendarProps & Omit<import("../SingleDate/SingleDate.types").DatePickerPopoverProps, "placement"> & {
85
+ placement?: import("./RangeDate.types").DatePickerRangePlacement | import("./RangeDate.types").DatePickerRangePlacement[] | undefined;
86
+ isDoubleCalendar?: boolean | undefined;
87
+ } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<RangeInputRefs>>;
88
+ base: import("@linaria/core").LinariaClassName;
89
+ variations: {
90
+ view: {
91
+ css: import("@linaria/core").LinariaClassName;
92
+ };
93
+ size: {
94
+ css: import("@linaria/core").LinariaClassName;
95
+ };
96
+ disabled: {
97
+ css: import("@linaria/core").LinariaClassName;
98
+ attrs: boolean;
99
+ };
100
+ readOnly: {
101
+ css: import("@linaria/core").LinariaClassName;
102
+ attrs: boolean;
103
+ };
104
+ };
105
+ defaults: {
106
+ size: string;
107
+ view: string;
108
+ };
109
+ };
110
+ //# sourceMappingURL=RangeDate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RangeDate.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.tsx"],"names":[],"mappings":"AAAA,OAAO,KASN,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIlD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAG9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAQ9D,eAAO,MAAM,mBAAmB,SACtB,UAAU,cAAc,EAAE,KAAK,oBAAoB,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+EAwPvG,CAAC;AAEN,eAAO,MAAM,qBAAqB;;;mBA1PxB,UAAU,cAAc,EAAE,KAAK,oBAAoB,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmR3G,CAAC"}
@@ -112,4 +112,4 @@ export declare const StyledRange: import("@linaria/react").StyledMeta & import("
112
112
  export declare const base: import("@linaria/core").LinariaClassName;
113
113
  export declare const StyledLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
114
114
  export declare const LeftHelper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
115
- //# sourceMappingURL=DatePicker.styles.d.ts.map
115
+ //# sourceMappingURL=RangeDate.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RangeDate.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.styles.ts"],"names":[],"mappings":";AAcA,eAAO,MAAM,aAAa,4TAAoB,CAAC;AAG/C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2HA0FvB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAEhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAAiB,CAAC;AAE1C,eAAO,MAAM,UAAU,qKAAe,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import type { HTMLAttributes } from 'react';
2
2
  import type { CalendarStateType } from '../../Calendar';
3
3
  import type { DisabledDay, EventDay } from '../../Calendar/Calendar.types';
4
- import type { RangeProps } from '../../Range';
4
+ import type { RangeInnerProps } from '../../Range/Range.types';
5
5
  import type { DatePickerdVariationProps } from '../DatePickerBase.types';
6
- import { DatePickerPopoverProps } from '../SingleDate/DatePicker.types';
6
+ import { DatePickerPopoverProps } from '../SingleDate/SingleDate.types';
7
7
  export declare type DatePickerRangePlacement = 'top' | 'bottom';
8
- declare type BaseRangeProps = Omit<RangeProps, 'firstValue' | 'secondValue' | 'onSearchFirstValue' | 'onSearchSecondValue'>;
8
+ declare type BaseRangeProps = Omit<RangeInnerProps, 'firstValue' | 'secondValue' | 'onSearchFirstValue' | 'onSearchSecondValue'>;
9
9
  export declare type DatePickerRangeFieldProps = {
10
10
  /**
11
11
  * Значение по умолчанию для первого поля.
@@ -71,6 +71,6 @@ export declare type DatePickerDoublePopoverProps = Omit<DatePickerPopoverProps,
71
71
  */
72
72
  isDoubleCalendar?: boolean;
73
73
  };
74
- export declare type DatePickerRangeProps = DatePickerdVariationProps & DatePickerRangeFieldProps & DatePickerCalendarProps & DatePickerDoublePopoverProps & Omit<HTMLAttributes<HTMLDivElement>, 'defaultValue'>;
74
+ export declare type DatePickerRangeProps = DatePickerdVariationProps & DatePickerRangeFieldProps & DatePickerCalendarProps & DatePickerDoublePopoverProps & HTMLAttributes<HTMLDivElement>;
75
75
  export {};
76
- //# sourceMappingURL=DatePicker.types.d.ts.map
76
+ //# sourceMappingURL=RangeDate.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RangeDate.types.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAExE,oBAAY,wBAAwB,GAAG,KAAK,GAAG,QAAQ,CAAC;AAExD,aAAK,cAAc,GAAG,IAAI,CACtB,eAAe,EACf,YAAY,GAAG,aAAa,GAAG,oBAAoB,GAAG,qBAAqB,CAC9E,CAAC;AAEF,oBAAY,yBAAyB,GAAG;IACpC;;OAEG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IACxB;;OAEG;IACH,iBAAiB,CAAC,EAAE,IAAI,CAAC;IACzB;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACvF;;OAEG;IACH,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3F,GAAG,cAAc,CAAC;AAEnB,oBAAY,uBAAuB,GAAG;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF,oBAAY,4BAA4B,GAAG,IAAI,CAAC,sBAAsB,EAAE,WAAW,CAAC,GAAG;IACnF;;;;OAIG;IACH,SAAS,CAAC,EAAE,wBAAwB,GAAG,KAAK,CAAC,wBAAwB,CAAC,CAAC;IACvE;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,oBAAY,oBAAoB,GAAG,yBAAyB,GACxD,yBAAyB,GACzB,uBAAuB,GACvB,4BAA4B,GAC5B,cAAc,CAAC,cAAc,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { DatePickerCalendarProps, DatePickerPopoverProps } from '../../SingleDate/DatePicker.types';
2
+ import type { DatePickerCalendarProps, DatePickerPopoverProps } from '../../SingleDate/SingleDate.types';
3
3
  export declare type RangeDatePopoverProps = DatePickerCalendarProps & DatePickerPopoverProps & {
4
4
  /**
5
5
  * Обработчик изменения значения.
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import type { RootProps } from '../../../engines';
3
- import type { DatePickerProps } from './DatePicker.types';
4
- export declare const datePickerRoot: (Root: RootProps<HTMLDivElement, Omit<DatePickerProps, 'isOpen' | 'defaultValue' | 'onChangeValue'>>) => React.ForwardRefExoticComponent<import("../DatePickerBase.types").DatePickerdVariationProps & import("./DatePicker.types").DatePickerTextFieldProps & import("./DatePicker.types").DatePickerCalendarProps & import("./DatePicker.types").DatePickerPopoverProps & Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue"> & React.RefAttributes<HTMLInputElement>>;
3
+ import type { DatePickerProps } from './SingleDate.types';
4
+ export declare const datePickerRoot: (Root: RootProps<HTMLDivElement, Omit<DatePickerProps, 'isOpen' | 'defaultValue' | 'onChangeValue'>>) => React.ForwardRefExoticComponent<import("../DatePickerBase.types").DatePickerdVariationProps & import("./SingleDate.types").DatePickerTextFieldProps & import("./SingleDate.types").DatePickerCalendarProps & import("./SingleDate.types").DatePickerPopoverProps & Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue"> & React.RefAttributes<HTMLInputElement>>;
5
5
  export declare const datePickerConfig: {
6
6
  name: string;
7
7
  tag: string;
8
- layout: (Root: RootProps<HTMLDivElement, Omit<DatePickerProps, 'isOpen' | 'defaultValue' | 'onChangeValue'>>) => React.ForwardRefExoticComponent<import("../DatePickerBase.types").DatePickerdVariationProps & import("./DatePicker.types").DatePickerTextFieldProps & import("./DatePicker.types").DatePickerCalendarProps & import("./DatePicker.types").DatePickerPopoverProps & Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue"> & React.RefAttributes<HTMLInputElement>>;
8
+ layout: (Root: RootProps<HTMLDivElement, Omit<DatePickerProps, 'isOpen' | 'defaultValue' | 'onChangeValue'>>) => React.ForwardRefExoticComponent<import("../DatePickerBase.types").DatePickerdVariationProps & import("./SingleDate.types").DatePickerTextFieldProps & import("./SingleDate.types").DatePickerCalendarProps & import("./SingleDate.types").DatePickerPopoverProps & Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue"> & React.RefAttributes<HTMLInputElement>>;
9
9
  base: import("@linaria/core").LinariaClassName;
10
10
  variations: {
11
11
  view: {
@@ -28,4 +28,4 @@ export declare const datePickerConfig: {
28
28
  view: string;
29
29
  };
30
30
  };
31
- //# sourceMappingURL=DatePicker.d.ts.map
31
+ //# sourceMappingURL=SingleDate.d.ts.map