@salutejs/plasma-new-hope 0.88.0-canary.1223.9398061354.0 → 0.88.0-canary.1224.9413433725.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (728) hide show
  1. package/cjs/components/Calendar/Calendar.tokens.js +64 -28
  2. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  3. package/cjs/components/Calendar/Calendar.types.js.map +1 -1
  4. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +57 -29
  5. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +6 -0
  6. package/cjs/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  7. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  8. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  9. package/cjs/components/Calendar/CalendarBase/{CalendarBase.styles_rv9ax9.css → CalendarBase.styles_1m6uih1.css} +1 -1
  10. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +58 -30
  11. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -0
  12. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  13. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +1 -1
  14. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js.map +1 -1
  15. package/cjs/components/Calendar/CalendarDouble/{CalendarDouble.styles_1rc2ejs.css → CalendarDouble.styles_e9ada0.css} +2 -2
  16. package/cjs/components/Calendar/hoc/withRange.js.map +1 -1
  17. package/cjs/components/Calendar/hooks/useDays.js +1 -1
  18. package/cjs/components/Calendar/hooks/useDays.js.map +1 -1
  19. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.css +4 -4
  20. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +9 -9
  21. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js.map +1 -1
  22. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_wuxgzs.css +4 -0
  23. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +7 -7
  24. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -1
  25. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
  26. package/cjs/components/Calendar/ui/CalendarDays/{CalendarDays.styles_bnrjbd.css → CalendarDays.styles_1oq8sud.css} +1 -1
  27. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +36 -8
  28. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +26 -17
  29. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  30. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +27 -12
  31. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  32. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1b92i4d.css +8 -0
  33. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  34. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  35. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  36. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +1 -1
  37. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
  38. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_7kz2z4.css +4 -0
  39. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  40. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  41. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  42. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +1 -1
  43. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
  44. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_hbv1kh.css +4 -0
  45. package/cjs/components/Calendar/utils/index.js.map +1 -1
  46. package/cjs/components/Combobox/Combobox.js +2 -2
  47. package/cjs/components/Combobox/Combobox.js.map +1 -1
  48. package/cjs/components/DatePicker/DatePicker.tokens.js +186 -0
  49. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -0
  50. package/cjs/components/DatePicker/DatePickerBase.styles.js +30 -0
  51. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -0
  52. package/cjs/components/DatePicker/DatePickerBase.styles_1u3oyx8.css +1 -0
  53. package/cjs/components/DatePicker/RangeDate/DatePicker.css +150 -0
  54. package/cjs/components/DatePicker/RangeDate/DatePicker.js +341 -0
  55. package/cjs/components/DatePicker/RangeDate/DatePicker.js.map +1 -0
  56. package/cjs/components/DatePicker/RangeDate/DatePicker.styles.js +39 -0
  57. package/cjs/components/DatePicker/RangeDate/DatePicker.styles.js.map +1 -0
  58. package/cjs/components/DatePicker/RangeDate/DatePicker.styles_1aihs63.css +3 -0
  59. package/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.css +142 -0
  60. package/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.js +52 -0
  61. package/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.js.map +1 -0
  62. package/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.js +32 -0
  63. package/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.js.map +1 -0
  64. package/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles_x3to15.css +1 -0
  65. package/cjs/components/{Accordion/variations/_view → DatePicker/RangeDate/variations/_disabled}/base.js +2 -2
  66. package/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js.map +1 -0
  67. package/cjs/components/DatePicker/RangeDate/variations/_disabled/base_tl4jc7.css +1 -0
  68. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +9 -0
  69. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js.map +1 -0
  70. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base_1851hxh.css +1 -0
  71. package/cjs/components/DatePicker/RangeDate/variations/_size/base.js +9 -0
  72. package/cjs/components/DatePicker/RangeDate/variations/_size/base.js.map +1 -0
  73. package/cjs/components/DatePicker/RangeDate/variations/_size/base_1yswrwb.css +1 -0
  74. package/cjs/components/{Accordion/variations/_size → DatePicker/RangeDate/variations/_view}/base.js +1 -1
  75. package/cjs/components/DatePicker/RangeDate/variations/_view/base.js.map +1 -0
  76. package/cjs/components/DatePicker/SingleDate/DatePicker.css +134 -0
  77. package/cjs/components/DatePicker/SingleDate/DatePicker.js +183 -0
  78. package/cjs/components/DatePicker/SingleDate/DatePicker.js.map +1 -0
  79. package/cjs/components/DatePicker/SingleDate/DatePicker.styles.js +51 -0
  80. package/cjs/components/DatePicker/SingleDate/DatePicker.styles.js.map +1 -0
  81. package/cjs/components/DatePicker/SingleDate/DatePicker.styles_1udo3ch.css +5 -0
  82. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js +9 -0
  83. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js.map +1 -0
  84. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base_1rfgfsz.css +1 -0
  85. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +9 -0
  86. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js.map +1 -0
  87. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base_ayigv4.css +1 -0
  88. package/cjs/components/DatePicker/SingleDate/variations/_size/base.js +9 -0
  89. package/cjs/components/DatePicker/SingleDate/variations/_size/base.js.map +1 -0
  90. package/cjs/components/DatePicker/SingleDate/variations/_size/base_jrds3p.css +1 -0
  91. package/cjs/components/DatePicker/SingleDate/variations/_view/base.js +9 -0
  92. package/cjs/components/DatePicker/SingleDate/variations/_view/base.js.map +1 -0
  93. package/cjs/components/DatePicker/SingleDate/variations/_view/base_163gwfv.css +1 -0
  94. package/cjs/components/DatePicker/hooks/useDatePicker.js +79 -0
  95. package/cjs/components/DatePicker/hooks/useDatePicker.js.map +1 -0
  96. package/cjs/components/DatePicker/utils/dateHelper.js +84 -0
  97. package/cjs/components/DatePicker/utils/dateHelper.js.map +1 -0
  98. package/cjs/components/Dropdown/Dropdown.js +2 -1
  99. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  100. package/cjs/components/Dropdown/utils/index.js +0 -17
  101. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  102. package/cjs/components/Range/Range.css +14 -8
  103. package/cjs/components/Range/Range.js +79 -32
  104. package/cjs/components/Range/Range.js.map +1 -1
  105. package/cjs/components/Range/Range.styles.js +23 -11
  106. package/cjs/components/Range/Range.styles.js.map +1 -1
  107. package/cjs/components/Range/Range.styles_nik84l.css +9 -0
  108. package/cjs/components/Range/variations/_readonly/base.js +1 -1
  109. package/cjs/components/Range/variations/_readonly/base_yv1z2h.css +1 -0
  110. package/cjs/components/Range/variations/_size/base.js +1 -1
  111. package/cjs/components/Range/variations/_size/{base_16xiubi.css → base_gbgxzj.css} +1 -1
  112. package/cjs/components/Range/variations/_view/base.js +1 -1
  113. package/cjs/components/Range/variations/_view/base_87gpil.css +1 -0
  114. package/cjs/components/Select/Select.js +2 -2
  115. package/cjs/components/Select/Select.js.map +1 -1
  116. package/cjs/components/Slider/Slider.css +3 -3
  117. package/cjs/components/Slider/components/Double/Double.css +3 -3
  118. package/cjs/components/TextField/TextField.tokens.js +1 -1
  119. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  120. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  121. package/cjs/components/TextField/variations/_read-only/base_1vu13zn.css +1 -0
  122. package/cjs/components/TextField/variations/_size/base.js +1 -1
  123. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  124. package/cjs/components/TextField/variations/_size/base_orwx1f.css +1 -0
  125. package/cjs/components/TextField/variations/_view/base.js +1 -1
  126. package/cjs/components/TextField/variations/_view/base_18ea6z7.css +1 -0
  127. package/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js +23 -0
  128. package/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js.map +1 -0
  129. package/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  130. package/cjs/components/_Icon/Icon.assets/DisclosureLeft.js.map +1 -1
  131. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js +5 -15
  132. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  133. package/cjs/components/_Icon/Icons/{IconMinus.js → IconDisclosureDownFill.js} +5 -5
  134. package/cjs/components/_Icon/Icons/IconDisclosureDownFill.js.map +1 -0
  135. package/cjs/index.css +68 -41
  136. package/cjs/index.js +12 -8
  137. package/cjs/index.js.map +1 -1
  138. package/cjs/utils/datejs.js +12 -0
  139. package/cjs/utils/datejs.js.map +1 -0
  140. package/cjs/utils/getPopoverPlacement.js +23 -0
  141. package/cjs/utils/getPopoverPlacement.js.map +1 -0
  142. package/cjs/utils/index.js.map +1 -1
  143. package/es/components/Calendar/Calendar.tokens.js +64 -28
  144. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  145. package/es/components/Calendar/Calendar.types.js.map +1 -1
  146. package/es/components/Calendar/CalendarBase/CalendarBase.css +57 -29
  147. package/es/components/Calendar/CalendarBase/CalendarBase.js +7 -1
  148. package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  149. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  150. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  151. package/es/components/Calendar/CalendarBase/{CalendarBase.styles_rv9ax9.css → CalendarBase.styles_1m6uih1.css} +1 -1
  152. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +58 -30
  153. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -0
  154. package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  155. package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +1 -1
  156. package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js.map +1 -1
  157. package/es/components/Calendar/CalendarDouble/{CalendarDouble.styles_1rc2ejs.css → CalendarDouble.styles_e9ada0.css} +2 -2
  158. package/es/components/Calendar/hoc/withRange.js.map +1 -1
  159. package/es/components/Calendar/hooks/useDays.js +1 -1
  160. package/es/components/Calendar/hooks/useDays.js.map +1 -1
  161. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.css +4 -4
  162. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +9 -9
  163. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js.map +1 -1
  164. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_wuxgzs.css +4 -0
  165. package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +7 -7
  166. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -1
  167. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
  168. package/es/components/Calendar/ui/CalendarDays/{CalendarDays.styles_bnrjbd.css → CalendarDays.styles_1oq8sud.css} +1 -1
  169. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +36 -8
  170. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +27 -18
  171. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  172. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +26 -13
  173. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  174. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1b92i4d.css +8 -0
  175. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  176. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  177. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  178. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +1 -1
  179. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
  180. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_7kz2z4.css +4 -0
  181. package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  182. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  183. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  184. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +1 -1
  185. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
  186. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_hbv1kh.css +4 -0
  187. package/es/components/Calendar/utils/index.js.map +1 -1
  188. package/es/components/Combobox/Combobox.js +1 -1
  189. package/es/components/Combobox/Combobox.js.map +1 -1
  190. package/es/components/DatePicker/DatePicker.tokens.js +181 -0
  191. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -0
  192. package/es/components/DatePicker/DatePickerBase.styles.js +26 -0
  193. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -0
  194. package/es/components/DatePicker/DatePickerBase.styles_1u3oyx8.css +1 -0
  195. package/es/components/DatePicker/RangeDate/DatePicker.css +150 -0
  196. package/es/components/DatePicker/RangeDate/DatePicker.js +336 -0
  197. package/es/components/DatePicker/RangeDate/DatePicker.js.map +1 -0
  198. package/es/components/DatePicker/RangeDate/DatePicker.styles.js +33 -0
  199. package/es/components/DatePicker/RangeDate/DatePicker.styles.js.map +1 -0
  200. package/es/components/DatePicker/RangeDate/DatePicker.styles_1aihs63.css +3 -0
  201. package/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.css +142 -0
  202. package/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.js +48 -0
  203. package/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.js.map +1 -0
  204. package/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.js +28 -0
  205. package/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.js.map +1 -0
  206. package/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles_x3to15.css +1 -0
  207. package/es/components/{Accordion/variations/_size → DatePicker/RangeDate/variations/_disabled}/base.js +2 -2
  208. package/es/components/DatePicker/RangeDate/variations/_disabled/base.js.map +1 -0
  209. package/es/components/DatePicker/RangeDate/variations/_disabled/base_tl4jc7.css +1 -0
  210. package/es/components/DatePicker/RangeDate/variations/_readonly/base.js +5 -0
  211. package/es/components/DatePicker/RangeDate/variations/_readonly/base.js.map +1 -0
  212. package/es/components/DatePicker/RangeDate/variations/_readonly/base_1851hxh.css +1 -0
  213. package/es/components/DatePicker/RangeDate/variations/_size/base.js +5 -0
  214. package/es/components/DatePicker/RangeDate/variations/_size/base.js.map +1 -0
  215. package/es/components/DatePicker/RangeDate/variations/_size/base_1yswrwb.css +1 -0
  216. package/es/components/{Accordion → DatePicker/RangeDate}/variations/_view/base.js +1 -1
  217. package/es/components/DatePicker/RangeDate/variations/_view/base.js.map +1 -0
  218. package/es/components/DatePicker/SingleDate/DatePicker.css +134 -0
  219. package/es/components/DatePicker/SingleDate/DatePicker.js +178 -0
  220. package/es/components/DatePicker/SingleDate/DatePicker.js.map +1 -0
  221. package/es/components/DatePicker/SingleDate/DatePicker.styles.js +43 -0
  222. package/es/components/DatePicker/SingleDate/DatePicker.styles.js.map +1 -0
  223. package/es/components/DatePicker/SingleDate/DatePicker.styles_1udo3ch.css +5 -0
  224. package/es/components/DatePicker/SingleDate/variations/_disabled/base.js +5 -0
  225. package/es/components/DatePicker/SingleDate/variations/_disabled/base.js.map +1 -0
  226. package/es/components/DatePicker/SingleDate/variations/_disabled/base_1rfgfsz.css +1 -0
  227. package/es/components/DatePicker/SingleDate/variations/_readonly/base.js +5 -0
  228. package/es/components/DatePicker/SingleDate/variations/_readonly/base.js.map +1 -0
  229. package/es/components/DatePicker/SingleDate/variations/_readonly/base_ayigv4.css +1 -0
  230. package/es/components/DatePicker/SingleDate/variations/_size/base.js +5 -0
  231. package/es/components/DatePicker/SingleDate/variations/_size/base.js.map +1 -0
  232. package/es/components/DatePicker/SingleDate/variations/_size/base_jrds3p.css +1 -0
  233. package/es/components/DatePicker/SingleDate/variations/_view/base.js +5 -0
  234. package/es/components/DatePicker/SingleDate/variations/_view/base.js.map +1 -0
  235. package/es/components/DatePicker/SingleDate/variations/_view/base_163gwfv.css +1 -0
  236. package/es/components/DatePicker/hooks/useDatePicker.js +75 -0
  237. package/es/components/DatePicker/hooks/useDatePicker.js.map +1 -0
  238. package/es/components/DatePicker/utils/dateHelper.js +76 -0
  239. package/es/components/DatePicker/utils/dateHelper.js.map +1 -0
  240. package/es/components/Dropdown/Dropdown.js +2 -1
  241. package/es/components/Dropdown/Dropdown.js.map +1 -1
  242. package/es/components/Dropdown/utils/index.js +1 -16
  243. package/es/components/Dropdown/utils/index.js.map +1 -1
  244. package/es/components/Range/Range.css +14 -8
  245. package/es/components/Range/Range.js +81 -34
  246. package/es/components/Range/Range.js.map +1 -1
  247. package/es/components/Range/Range.styles.js +23 -12
  248. package/es/components/Range/Range.styles.js.map +1 -1
  249. package/es/components/Range/Range.styles_nik84l.css +9 -0
  250. package/es/components/Range/variations/_readonly/base.js +1 -1
  251. package/es/components/Range/variations/_readonly/base_yv1z2h.css +1 -0
  252. package/es/components/Range/variations/_size/base.js +1 -1
  253. package/es/components/Range/variations/_size/{base_16xiubi.css → base_gbgxzj.css} +1 -1
  254. package/es/components/Range/variations/_view/base.js +1 -1
  255. package/es/components/Range/variations/_view/base_87gpil.css +1 -0
  256. package/es/components/Select/Select.js +1 -1
  257. package/es/components/Select/Select.js.map +1 -1
  258. package/es/components/Slider/Slider.css +3 -3
  259. package/es/components/Slider/components/Double/Double.css +3 -3
  260. package/es/components/TextField/TextField.tokens.js +1 -1
  261. package/es/components/TextField/TextField.tokens.js.map +1 -1
  262. package/es/components/TextField/variations/_read-only/base.js +1 -1
  263. package/es/components/TextField/variations/_read-only/base_1vu13zn.css +1 -0
  264. package/es/components/TextField/variations/_size/base.js +1 -1
  265. package/es/components/TextField/variations/_size/base.js.map +1 -1
  266. package/es/components/TextField/variations/_size/base_orwx1f.css +1 -0
  267. package/es/components/TextField/variations/_view/base.js +1 -1
  268. package/es/components/TextField/variations/_view/base_18ea6z7.css +1 -0
  269. package/es/components/_Icon/Icon.assets/DisclosureDownFill.js +19 -0
  270. package/es/components/_Icon/Icon.assets/DisclosureDownFill.js.map +1 -0
  271. package/es/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  272. package/es/components/_Icon/Icon.assets/DisclosureLeft.js.map +1 -1
  273. package/es/components/_Icon/Icon.assets/DisclosureRight.js +5 -15
  274. package/es/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  275. package/es/components/_Icon/Icons/{IconMinus.js → IconDisclosureDownFill.js} +5 -5
  276. package/es/components/_Icon/Icons/IconDisclosureDownFill.js.map +1 -0
  277. package/es/index.css +68 -41
  278. package/es/index.js +4 -3
  279. package/es/index.js.map +1 -1
  280. package/es/utils/datejs.js +8 -0
  281. package/es/utils/datejs.js.map +1 -0
  282. package/es/utils/getPopoverPlacement.js +18 -0
  283. package/es/utils/getPopoverPlacement.js.map +1 -0
  284. package/es/utils/index.js.map +1 -1
  285. package/package.json +3 -2
  286. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +64 -28
  287. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +6 -0
  288. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -1
  289. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -0
  290. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +2 -2
  291. package/styled-components/cjs/components/Calendar/hooks/useDays.js +1 -1
  292. package/styled-components/cjs/components/Calendar/mixins/active.js +12 -0
  293. package/styled-components/cjs/components/Calendar/mixins/flex.js +8 -0
  294. package/styled-components/cjs/components/Calendar/mixins/index.js +30 -29
  295. package/styled-components/cjs/components/Calendar/mixins/selected.js +29 -0
  296. package/styled-components/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +26 -14
  297. package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +2 -1
  298. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +25 -16
  299. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +29 -11
  300. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  301. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +26 -12
  302. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  303. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +26 -14
  304. package/styled-components/cjs/components/Combobox/Combobox.js +6 -7
  305. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +184 -0
  306. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +19 -0
  307. package/styled-components/cjs/components/DatePicker/RangeDate/DatePicker.js +349 -0
  308. package/styled-components/cjs/components/DatePicker/RangeDate/DatePicker.styles.js +27 -0
  309. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.js +50 -0
  310. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.js +20 -0
  311. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.types.js +5 -0
  312. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js +9 -0
  313. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_disabled/tokens.json +0 -0
  314. package/styled-components/cjs/components/{Accordion/variations/_view → DatePicker/RangeDate/variations/_readonly}/base.js +2 -1
  315. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_readonly/tokens.json +4 -0
  316. package/styled-components/cjs/components/{Accordion/variations/_stretching → DatePicker/RangeDate/variations/_size}/base.js +2 -1
  317. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_size/tokens.json +0 -0
  318. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_view/tokens.json +0 -0
  319. package/styled-components/cjs/components/DatePicker/SingleDate/DatePicker.js +190 -0
  320. package/styled-components/cjs/components/DatePicker/SingleDate/DatePicker.styles.js +33 -0
  321. package/styled-components/cjs/components/DatePicker/SingleDate/DatePicker.types.js +5 -0
  322. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js +9 -0
  323. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_disabled/tokens.json +4 -0
  324. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +10 -0
  325. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/tokens.json +4 -0
  326. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/base.js +10 -0
  327. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/tokens.json +16 -0
  328. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/base.js +10 -0
  329. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/tokens.json +1 -0
  330. package/styled-components/cjs/components/DatePicker/hooks/useDatePicker.js +77 -0
  331. package/styled-components/cjs/components/DatePicker/index.js +44 -0
  332. package/styled-components/cjs/components/DatePicker/utils/dateHelper.js +78 -0
  333. package/styled-components/cjs/components/Dropdown/Dropdown.js +1 -1
  334. package/styled-components/cjs/components/Dropdown/utils/index.js +1 -16
  335. package/styled-components/cjs/components/Range/Range.js +78 -32
  336. package/styled-components/cjs/components/Range/Range.styles.js +16 -10
  337. package/styled-components/cjs/components/Select/Select.js +7 -8
  338. package/styled-components/cjs/components/TextField/TextField.tokens.js +1 -1
  339. package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
  340. package/styled-components/cjs/components/_Icon/Icon.assets/{Minus.js → DisclosureDownFill.js} +5 -4
  341. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  342. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRight.js +5 -15
  343. package/styled-components/cjs/components/_Icon/Icons/{IconMinus.js → IconDisclosureDownFill.js} +4 -4
  344. package/styled-components/cjs/components/_Icon/index.js +8 -15
  345. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +24 -6
  346. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -2
  347. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +4 -1
  348. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +31 -0
  349. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.js +13 -0
  350. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +302 -0
  351. package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +24 -6
  352. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -2
  353. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +4 -1
  354. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +31 -0
  355. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.js +13 -0
  356. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +302 -0
  357. package/styled-components/cjs/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +24 -6
  358. package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarBase.config.js +5 -2
  359. package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +4 -1
  360. package/styled-components/cjs/index.js +4 -4
  361. package/styled-components/cjs/utils/datejs.js +11 -0
  362. package/styled-components/cjs/utils/getPopoverPlacement.js +21 -0
  363. package/styled-components/cjs/utils/index.js +22 -0
  364. package/styled-components/es/components/Calendar/Calendar.tokens.js +64 -28
  365. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +7 -1
  366. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -1
  367. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -0
  368. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +2 -2
  369. package/styled-components/es/components/Calendar/hooks/useDays.js +1 -1
  370. package/styled-components/es/components/Calendar/mixins/active.js +6 -0
  371. package/styled-components/es/components/Calendar/mixins/flex.js +2 -0
  372. package/styled-components/es/components/Calendar/mixins/index.js +3 -27
  373. package/styled-components/es/components/Calendar/mixins/selected.js +23 -0
  374. package/styled-components/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +24 -12
  375. package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +2 -1
  376. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +27 -18
  377. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +29 -11
  378. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  379. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +24 -10
  380. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  381. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +24 -12
  382. package/styled-components/es/components/Combobox/Combobox.js +1 -2
  383. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +178 -0
  384. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +12 -0
  385. package/styled-components/es/components/DatePicker/RangeDate/DatePicker.js +340 -0
  386. package/styled-components/es/components/DatePicker/RangeDate/DatePicker.styles.js +19 -0
  387. package/styled-components/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.js +43 -0
  388. package/styled-components/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.js +13 -0
  389. package/styled-components/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.types.js +1 -0
  390. package/styled-components/es/components/DatePicker/RangeDate/variations/_disabled/base.js +3 -0
  391. package/styled-components/es/components/DatePicker/RangeDate/variations/_disabled/tokens.json +0 -0
  392. package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/base.js +3 -0
  393. package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/tokens.json +4 -0
  394. package/styled-components/es/components/DatePicker/RangeDate/variations/_size/base.js +3 -0
  395. package/styled-components/es/components/DatePicker/RangeDate/variations/_size/tokens.json +0 -0
  396. package/styled-components/es/components/DatePicker/RangeDate/variations/_view/tokens.json +0 -0
  397. package/styled-components/es/components/DatePicker/SingleDate/DatePicker.js +181 -0
  398. package/styled-components/es/components/DatePicker/SingleDate/DatePicker.styles.js +25 -0
  399. package/styled-components/es/components/DatePicker/SingleDate/DatePicker.types.js +1 -0
  400. package/styled-components/es/components/DatePicker/SingleDate/variations/_disabled/base.js +3 -0
  401. package/styled-components/es/components/DatePicker/SingleDate/variations/_disabled/tokens.json +4 -0
  402. package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/base.js +4 -0
  403. package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/tokens.json +4 -0
  404. package/styled-components/es/components/DatePicker/SingleDate/variations/_size/base.js +4 -0
  405. package/styled-components/es/components/DatePicker/SingleDate/variations/_size/tokens.json +16 -0
  406. package/styled-components/es/components/DatePicker/SingleDate/variations/_view/base.js +4 -0
  407. package/styled-components/es/components/DatePicker/SingleDate/variations/_view/tokens.json +1 -0
  408. package/styled-components/es/components/DatePicker/hooks/useDatePicker.js +71 -0
  409. package/styled-components/es/components/DatePicker/index.js +3 -0
  410. package/styled-components/es/components/DatePicker/utils/dateHelper.js +72 -0
  411. package/styled-components/es/components/Dropdown/Dropdown.js +2 -2
  412. package/styled-components/es/components/Dropdown/utils/index.js +0 -15
  413. package/styled-components/es/components/Range/Range.js +81 -35
  414. package/styled-components/es/components/Range/Range.styles.js +15 -9
  415. package/styled-components/es/components/Select/Select.js +1 -2
  416. package/styled-components/es/components/TextField/TextField.tokens.js +1 -1
  417. package/styled-components/es/components/TextField/variations/_size/base.js +1 -1
  418. package/styled-components/es/components/_Icon/Icon.assets/{Minus.js → DisclosureDownFill.js} +4 -3
  419. package/styled-components/es/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  420. package/styled-components/es/components/_Icon/Icon.assets/DisclosureRight.js +5 -15
  421. package/styled-components/es/components/_Icon/Icons/{IconMinus.js → IconDisclosureDownFill.js} +3 -3
  422. package/styled-components/es/components/_Icon/index.js +2 -3
  423. package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +24 -6
  424. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -2
  425. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +4 -1
  426. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +25 -0
  427. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.js +7 -0
  428. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +302 -0
  429. package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +24 -6
  430. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -2
  431. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +4 -1
  432. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +25 -0
  433. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.js +7 -0
  434. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +302 -0
  435. package/styled-components/es/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +24 -6
  436. package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarBase.config.js +5 -2
  437. package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +4 -1
  438. package/styled-components/es/index.js +1 -1
  439. package/styled-components/es/utils/datejs.js +4 -0
  440. package/styled-components/es/utils/getPopoverPlacement.js +15 -0
  441. package/styled-components/es/utils/index.js +1 -0
  442. package/types/components/Calendar/Calendar.tokens.d.ts +57 -26
  443. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  444. package/types/components/Calendar/Calendar.types.d.ts +1 -1
  445. package/types/components/Calendar/Calendar.types.d.ts.map +1 -1
  446. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts +27 -3
  447. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts.map +1 -1
  448. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  449. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts +30 -3
  450. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts.map +1 -1
  451. package/types/components/Calendar/hooks/useDays.d.ts.map +1 -1
  452. package/types/components/Calendar/mixins/active.d.ts +17 -0
  453. package/types/components/Calendar/mixins/active.d.ts.map +1 -0
  454. package/types/components/Calendar/mixins/flex.d.ts +3 -0
  455. package/types/components/Calendar/mixins/flex.d.ts.map +1 -0
  456. package/types/components/Calendar/mixins/index.d.ts +3 -8
  457. package/types/components/Calendar/mixins/index.d.ts.map +1 -1
  458. package/types/components/Calendar/mixins/selected.d.ts +60 -0
  459. package/types/components/Calendar/mixins/selected.d.ts.map +1 -0
  460. package/types/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.d.ts.map +1 -1
  461. package/types/components/Calendar/ui/CalendarDays/CalendarDays.styles.d.ts.map +1 -1
  462. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  463. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +47 -7
  464. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  465. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.types.d.ts +1 -0
  466. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.types.d.ts.map +1 -1
  467. package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.d.ts.map +1 -1
  468. package/types/components/Calendar/ui/CalendarYears/CalendarYears.styles.d.ts.map +1 -1
  469. package/types/components/Calendar/utils/index.d.ts +1 -1
  470. package/types/components/Calendar/utils/index.d.ts.map +1 -1
  471. package/types/components/Combobox/Combobox.d.ts.map +1 -1
  472. package/types/components/DatePicker/DatePicker.tokens.d.ts +179 -0
  473. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -0
  474. package/types/components/DatePicker/DatePickerBase.styles.d.ts +8 -0
  475. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -0
  476. package/types/components/DatePicker/DatePickerBase.types.d.ts +37 -0
  477. package/types/components/DatePicker/DatePickerBase.types.d.ts.map +1 -0
  478. package/types/components/DatePicker/RangeDate/DatePicker.d.ts +32 -0
  479. package/types/components/DatePicker/RangeDate/DatePicker.d.ts.map +1 -0
  480. package/types/components/DatePicker/RangeDate/DatePicker.styles.d.ts +140 -0
  481. package/types/components/DatePicker/RangeDate/DatePicker.styles.d.ts.map +1 -0
  482. package/types/components/DatePicker/RangeDate/DatePicker.types.d.ts +128 -0
  483. package/types/components/DatePicker/RangeDate/DatePicker.types.d.ts.map +1 -0
  484. package/types/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.d.ts +4 -0
  485. package/types/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.d.ts.map +1 -0
  486. package/types/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.d.ts +4 -0
  487. package/types/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.d.ts.map +1 -0
  488. package/types/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.types.d.ts +21 -0
  489. package/types/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.types.d.ts.map +1 -0
  490. package/types/components/DatePicker/RangeDate/variations/_disabled/base.d.ts.map +1 -0
  491. package/types/components/DatePicker/RangeDate/variations/_readonly/base.d.ts.map +1 -0
  492. package/types/components/DatePicker/RangeDate/variations/_size/base.d.ts.map +1 -0
  493. package/types/components/{Accordion/Accordion.styles.d.ts → DatePicker/RangeDate/variations/_view/base.d.ts} +1 -1
  494. package/types/components/DatePicker/RangeDate/variations/_view/base.d.ts.map +1 -0
  495. package/types/components/DatePicker/SingleDate/DatePicker.d.ts +31 -0
  496. package/types/components/DatePicker/SingleDate/DatePicker.d.ts.map +1 -0
  497. package/types/components/DatePicker/SingleDate/DatePicker.styles.d.ts +45 -0
  498. package/types/components/DatePicker/SingleDate/DatePicker.styles.d.ts.map +1 -0
  499. package/types/components/DatePicker/SingleDate/DatePicker.types.d.ts +115 -0
  500. package/types/components/DatePicker/SingleDate/DatePicker.types.d.ts.map +1 -0
  501. package/types/components/DatePicker/SingleDate/variations/_disabled/base.d.ts +2 -0
  502. package/types/components/DatePicker/SingleDate/variations/_disabled/base.d.ts.map +1 -0
  503. package/types/components/DatePicker/SingleDate/variations/_readonly/base.d.ts +2 -0
  504. package/types/components/DatePicker/SingleDate/variations/_readonly/base.d.ts.map +1 -0
  505. package/types/components/DatePicker/SingleDate/variations/_size/base.d.ts +2 -0
  506. package/types/components/DatePicker/SingleDate/variations/_size/base.d.ts.map +1 -0
  507. package/types/components/DatePicker/SingleDate/variations/_view/base.d.ts +2 -0
  508. package/types/components/DatePicker/SingleDate/variations/_view/base.d.ts.map +1 -0
  509. package/types/components/DatePicker/hooks/useDatePicker.d.ts +10 -0
  510. package/types/components/DatePicker/hooks/useDatePicker.d.ts.map +1 -0
  511. package/types/components/DatePicker/index.d.ts +6 -0
  512. package/types/components/DatePicker/index.d.ts.map +1 -0
  513. package/types/components/DatePicker/utils/dateHelper.d.ts +10 -0
  514. package/types/components/DatePicker/utils/dateHelper.d.ts.map +1 -0
  515. package/types/components/Dropdown/utils/index.d.ts +1 -3
  516. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  517. package/types/components/Range/Range.d.ts +3 -3
  518. package/types/components/Range/Range.d.ts.map +1 -1
  519. package/types/components/Range/Range.styles.d.ts +1 -0
  520. package/types/components/Range/Range.styles.d.ts.map +1 -1
  521. package/types/components/Range/Range.types.d.ts +46 -1
  522. package/types/components/Range/Range.types.d.ts.map +1 -1
  523. package/types/components/Select/Select.d.ts.map +1 -1
  524. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  525. package/types/components/_Icon/Icon.assets/DisclosureDownFill.d.ts +4 -0
  526. package/types/components/_Icon/Icon.assets/DisclosureDownFill.d.ts.map +1 -0
  527. package/types/components/_Icon/Icon.assets/DisclosureRight.d.ts.map +1 -1
  528. package/types/components/_Icon/Icons/IconDisclosureDownFill.d.ts +4 -0
  529. package/types/components/_Icon/Icons/IconDisclosureDownFill.d.ts.map +1 -0
  530. package/types/components/_Icon/index.d.ts +1 -2
  531. package/types/components/_Icon/index.d.ts.map +1 -1
  532. package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts +15 -4
  533. package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts.map +1 -1
  534. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts +3 -0
  535. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  536. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts +3 -0
  537. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  538. package/types/examples/plasma_b2c/components/{Accordion/Accordion.config.d.ts → DatePicker/DatePicker.config.d.ts} +7 -2
  539. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts.map +1 -0
  540. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +668 -0
  541. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +1 -0
  542. package/types/examples/plasma_b2c/components/Range/Range.d.ts +30 -3
  543. package/types/examples/plasma_b2c/components/Range/Range.d.ts.map +1 -1
  544. package/types/examples/plasma_web/components/Calendar/Calendar.d.ts +15 -4
  545. package/types/examples/plasma_web/components/Calendar/Calendar.d.ts.map +1 -1
  546. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts +3 -0
  547. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  548. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts +3 -0
  549. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  550. package/types/examples/plasma_web/components/{Accordion/Accordion.config.d.ts → DatePicker/DatePicker.config.d.ts} +6 -5
  551. package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts.map +1 -0
  552. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +668 -0
  553. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +1 -0
  554. package/types/examples/plasma_web/components/Range/Range.d.ts +30 -3
  555. package/types/examples/plasma_web/components/Range/Range.d.ts.map +1 -1
  556. package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts +15 -4
  557. package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts.map +1 -1
  558. package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts +3 -0
  559. package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  560. package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts +3 -0
  561. package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  562. package/types/index.d.ts +1 -1
  563. package/types/index.d.ts.map +1 -1
  564. package/types/utils/datejs.d.ts +3 -0
  565. package/types/utils/datejs.d.ts.map +1 -0
  566. package/types/utils/getPopoverPlacement.d.ts +5 -0
  567. package/types/utils/getPopoverPlacement.d.ts.map +1 -0
  568. package/types/utils/index.d.ts +1 -0
  569. package/types/utils/index.d.ts.map +1 -1
  570. package/cjs/components/Accordion/Accordion.css +0 -1
  571. package/cjs/components/Accordion/Accordion.js +0 -68
  572. package/cjs/components/Accordion/Accordion.js.map +0 -1
  573. package/cjs/components/Accordion/Accordion.styles.js +0 -9
  574. package/cjs/components/Accordion/Accordion.styles.js.map +0 -1
  575. package/cjs/components/Accordion/Accordion.styles_rsiff6.css +0 -1
  576. package/cjs/components/Accordion/Accordion.tokens.js +0 -45
  577. package/cjs/components/Accordion/Accordion.tokens.js.map +0 -1
  578. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -103
  579. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js.map +0 -1
  580. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -63
  581. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +0 -1
  582. package/cjs/components/Accordion/utils/index.js +0 -27
  583. package/cjs/components/Accordion/utils/index.js.map +0 -1
  584. package/cjs/components/Accordion/variations/_size/base.js.map +0 -1
  585. package/cjs/components/Accordion/variations/_view/base.js.map +0 -1
  586. package/cjs/components/Calendar/mixins/index.js +0 -18
  587. package/cjs/components/Calendar/mixins/index.js.map +0 -1
  588. package/cjs/components/Calendar/mixins/index_o3bz9l.css +0 -1
  589. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_xf9c5e.css +0 -4
  590. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1c4p417.css +0 -6
  591. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1jnzviu.css +0 -4
  592. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_1lubnwe.css +0 -4
  593. package/cjs/components/Range/Range.styles_mc4w65.css +0 -8
  594. package/cjs/components/Range/variations/_readonly/base_tzdxy8.css +0 -1
  595. package/cjs/components/Range/variations/_view/base_5iz3nr.css +0 -1
  596. package/cjs/components/TextField/variations/_read-only/base_134hshp.css +0 -1
  597. package/cjs/components/TextField/variations/_size/base_ntoddv.css +0 -1
  598. package/cjs/components/TextField/variations/_view/base_19gxyva.css +0 -1
  599. package/cjs/components/_Icon/Icon.assets/ChevronDownFill.js +0 -24
  600. package/cjs/components/_Icon/Icon.assets/ChevronDownFill.js.map +0 -1
  601. package/cjs/components/_Icon/Icon.assets/Minus.js +0 -22
  602. package/cjs/components/_Icon/Icon.assets/Minus.js.map +0 -1
  603. package/cjs/components/_Icon/Icons/IconChevronDownFill.js +0 -23
  604. package/cjs/components/_Icon/Icons/IconChevronDownFill.js.map +0 -1
  605. package/cjs/components/_Icon/Icons/IconMinus.js.map +0 -1
  606. package/es/components/Accordion/Accordion.css +0 -1
  607. package/es/components/Accordion/Accordion.js +0 -63
  608. package/es/components/Accordion/Accordion.js.map +0 -1
  609. package/es/components/Accordion/Accordion.styles.js +0 -5
  610. package/es/components/Accordion/Accordion.styles.js.map +0 -1
  611. package/es/components/Accordion/Accordion.styles_rsiff6.css +0 -1
  612. package/es/components/Accordion/Accordion.tokens.js +0 -40
  613. package/es/components/Accordion/Accordion.tokens.js.map +0 -1
  614. package/es/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -99
  615. package/es/components/Accordion/ui/AccordionItem/AccordionItem.js.map +0 -1
  616. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -49
  617. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +0 -1
  618. package/es/components/Accordion/utils/index.js +0 -22
  619. package/es/components/Accordion/utils/index.js.map +0 -1
  620. package/es/components/Accordion/variations/_size/base.js.map +0 -1
  621. package/es/components/Accordion/variations/_size/base_x642ct.css +0 -1
  622. package/es/components/Accordion/variations/_view/base.js.map +0 -1
  623. package/es/components/Accordion/variations/_view/base_x642ct.css +0 -1
  624. package/es/components/Calendar/mixins/index.js +0 -14
  625. package/es/components/Calendar/mixins/index.js.map +0 -1
  626. package/es/components/Calendar/mixins/index_o3bz9l.css +0 -1
  627. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_xf9c5e.css +0 -4
  628. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1c4p417.css +0 -6
  629. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1jnzviu.css +0 -4
  630. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_1lubnwe.css +0 -4
  631. package/es/components/Range/Range.styles_mc4w65.css +0 -8
  632. package/es/components/Range/variations/_readonly/base_tzdxy8.css +0 -1
  633. package/es/components/Range/variations/_view/base_5iz3nr.css +0 -1
  634. package/es/components/TextField/variations/_read-only/base_134hshp.css +0 -1
  635. package/es/components/TextField/variations/_size/base_ntoddv.css +0 -1
  636. package/es/components/TextField/variations/_view/base_19gxyva.css +0 -1
  637. package/es/components/_Icon/Icon.assets/ChevronDownFill.js +0 -20
  638. package/es/components/_Icon/Icon.assets/ChevronDownFill.js.map +0 -1
  639. package/es/components/_Icon/Icon.assets/Minus.js +0 -18
  640. package/es/components/_Icon/Icon.assets/Minus.js.map +0 -1
  641. package/es/components/_Icon/Icons/IconChevronDownFill.js +0 -19
  642. package/es/components/_Icon/Icons/IconChevronDownFill.js.map +0 -1
  643. package/es/components/_Icon/Icons/IconMinus.js.map +0 -1
  644. package/styled-components/cjs/components/Accordion/Accordion.js +0 -73
  645. package/styled-components/cjs/components/Accordion/Accordion.styles.js +0 -9
  646. package/styled-components/cjs/components/Accordion/Accordion.tokens.js +0 -43
  647. package/styled-components/cjs/components/Accordion/index.js +0 -38
  648. package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -109
  649. package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -49
  650. package/styled-components/cjs/components/Accordion/utils/index.js +0 -24
  651. package/styled-components/cjs/components/Accordion/variations/_size/tokens.json +0 -6
  652. package/styled-components/cjs/components/Accordion/variations/_stretching/tokens.json +0 -1
  653. package/styled-components/cjs/components/Accordion/variations/_view/tokens.json +0 -8
  654. package/styled-components/cjs/components/_Icon/Icon.assets/ChevronDownFill.js +0 -23
  655. package/styled-components/cjs/components/_Icon/Icons/IconChevronDownFill.js +0 -22
  656. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.config.js +0 -26
  657. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.js +0 -17
  658. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +0 -66
  659. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.config.js +0 -30
  660. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.js +0 -17
  661. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.stories.tsx +0 -65
  662. package/styled-components/es/components/Accordion/Accordion.js +0 -64
  663. package/styled-components/es/components/Accordion/Accordion.styles.js +0 -3
  664. package/styled-components/es/components/Accordion/Accordion.tokens.js +0 -37
  665. package/styled-components/es/components/Accordion/index.js +0 -3
  666. package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -100
  667. package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -42
  668. package/styled-components/es/components/Accordion/utils/index.js +0 -18
  669. package/styled-components/es/components/Accordion/variations/_size/tokens.json +0 -6
  670. package/styled-components/es/components/Accordion/variations/_stretching/base.js +0 -2
  671. package/styled-components/es/components/Accordion/variations/_stretching/tokens.json +0 -1
  672. package/styled-components/es/components/Accordion/variations/_view/base.js +0 -2
  673. package/styled-components/es/components/Accordion/variations/_view/tokens.json +0 -8
  674. package/styled-components/es/components/_Icon/Icon.assets/ChevronDownFill.js +0 -16
  675. package/styled-components/es/components/_Icon/Icons/IconChevronDownFill.js +0 -15
  676. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.config.js +0 -20
  677. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.js +0 -6
  678. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +0 -66
  679. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.config.js +0 -24
  680. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.js +0 -6
  681. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.stories.tsx +0 -65
  682. package/types/components/Accordion/Accordion.d.ts +0 -43
  683. package/types/components/Accordion/Accordion.d.ts.map +0 -1
  684. package/types/components/Accordion/Accordion.styles.d.ts.map +0 -1
  685. package/types/components/Accordion/Accordion.tokens.d.ts +0 -38
  686. package/types/components/Accordion/Accordion.tokens.d.ts.map +0 -1
  687. package/types/components/Accordion/Accordion.types.d.ts +0 -36
  688. package/types/components/Accordion/Accordion.types.d.ts.map +0 -1
  689. package/types/components/Accordion/index.d.ts +0 -5
  690. package/types/components/Accordion/index.d.ts.map +0 -1
  691. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts +0 -4
  692. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts.map +0 -1
  693. package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts +0 -13
  694. package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts.map +0 -1
  695. package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts +0 -47
  696. package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts.map +0 -1
  697. package/types/components/Accordion/utils/index.d.ts +0 -16
  698. package/types/components/Accordion/utils/index.d.ts.map +0 -1
  699. package/types/components/Accordion/variations/_size/base.d.ts.map +0 -1
  700. package/types/components/Accordion/variations/_stretching/base.d.ts.map +0 -1
  701. package/types/components/Accordion/variations/_view/base.d.ts.map +0 -1
  702. package/types/components/_Icon/Icon.assets/ChevronDownFill.d.ts +0 -4
  703. package/types/components/_Icon/Icon.assets/ChevronDownFill.d.ts.map +0 -1
  704. package/types/components/_Icon/Icon.assets/Minus.d.ts +0 -4
  705. package/types/components/_Icon/Icon.assets/Minus.d.ts.map +0 -1
  706. package/types/components/_Icon/Icons/IconChevronDownFill.d.ts +0 -4
  707. package/types/components/_Icon/Icons/IconChevronDownFill.d.ts.map +0 -1
  708. package/types/components/_Icon/Icons/IconMinus.d.ts +0 -4
  709. package/types/components/_Icon/Icons/IconMinus.d.ts.map +0 -1
  710. package/types/examples/plasma_b2c/components/Accordion/Accordion.config.d.ts.map +0 -1
  711. package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts +0 -26
  712. package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts.map +0 -1
  713. package/types/examples/plasma_web/components/Accordion/Accordion.config.d.ts.map +0 -1
  714. package/types/examples/plasma_web/components/Accordion/Accordion.d.ts +0 -30
  715. package/types/examples/plasma_web/components/Accordion/Accordion.d.ts.map +0 -1
  716. /package/cjs/components/{Accordion/variations/_size → DatePicker/RangeDate/variations/_view}/base_x642ct.css +0 -0
  717. /package/cjs/components/{Accordion/ui/AccordionItem/AccordionItem.css → _Icon/Icons/IconClose.css} +0 -0
  718. /package/{cjs/components/Accordion → es/components/DatePicker/RangeDate}/variations/_view/base_x642ct.css +0 -0
  719. /package/es/components/{Accordion/ui/AccordionItem/AccordionItem.css → _Icon/Icons/IconClose.css} +0 -0
  720. /package/styled-components/cjs/components/{Accordion/Accordion.types.js → DatePicker/DatePickerBase.types.js} +0 -0
  721. /package/styled-components/cjs/components/{Accordion/ui/AccordionItem/AccordionItem.types.js → DatePicker/RangeDate/DatePicker.types.js} +0 -0
  722. /package/styled-components/cjs/components/{Accordion/variations/_size → DatePicker/RangeDate/variations/_view}/base.js +0 -0
  723. /package/styled-components/es/components/{Accordion/Accordion.types.js → DatePicker/DatePickerBase.types.js} +0 -0
  724. /package/styled-components/es/components/{Accordion/ui/AccordionItem/AccordionItem.types.js → DatePicker/RangeDate/DatePicker.types.js} +0 -0
  725. /package/styled-components/es/components/{Accordion/variations/_size → DatePicker/RangeDate/variations/_view}/base.js +0 -0
  726. /package/types/components/{Accordion/variations/_size → DatePicker/RangeDate/variations/_disabled}/base.d.ts +0 -0
  727. /package/types/components/{Accordion/variations/_stretching → DatePicker/RangeDate/variations/_readonly}/base.d.ts +0 -0
  728. /package/types/components/{Accordion/variations/_view → DatePicker/RangeDate/variations/_size}/base.d.ts +0 -0
@@ -0,0 +1,140 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledPopover: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../engines/types").PropsType<import("../../../engines/types").Variants> & import("react").HTMLAttributes<HTMLDivElement> & import("../../Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ export declare const StyledRange: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../engines/types").PropsType<import("../../../engines/types").Variants> & (({
4
+ label?: string | undefined;
5
+ leftHelper?: string | undefined;
6
+ contentLeft?: import("react").ReactNode;
7
+ contentRight?: import("react").ReactNode;
8
+ firstValue?: import("../../Range/Range.types").TextfieldPrimitiveValue | undefined;
9
+ secondValue?: import("../../Range/Range.types").TextfieldPrimitiveValue | undefined;
10
+ firstValueError?: boolean | undefined;
11
+ secondValueError?: boolean | undefined;
12
+ firstValueSuccess?: boolean | undefined;
13
+ secondValueSuccess?: boolean | undefined;
14
+ firstPlaceholder?: string | undefined;
15
+ secondPlaceholder?: string | undefined;
16
+ firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
17
+ firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
18
+ secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
19
+ secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
20
+ firstTextfieldTextAfter?: string | undefined;
21
+ secondTextfieldTextAfter?: string | undefined;
22
+ view?: string | undefined;
23
+ size?: string | undefined;
24
+ readOnly?: boolean | undefined;
25
+ disabled?: boolean | undefined;
26
+ isOpenFirst?: boolean | undefined;
27
+ isOpenSecond?: boolean | undefined;
28
+ placement?: import("../../..").Placement | import("../../..").PlacementBasic[] | undefined;
29
+ offset?: [number, number] | undefined;
30
+ closeOnOverlayClick?: boolean | undefined;
31
+ firstInputPopoverContent?: import("react").ReactNode;
32
+ secondInputPopoverContent?: import("react").ReactNode;
33
+ onToggleFirst?: ((isOpen: boolean, event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
34
+ onToggleSecond?: ((isOpen: boolean, event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
35
+ onChangeFirstValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
36
+ onChangeSecondValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
37
+ onSearchFirstValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
38
+ onSearchSecondValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
39
+ onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
40
+ onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
41
+ onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
42
+ onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
43
+ } & {
44
+ firstTextfieldTextBefore: string;
45
+ secondTextfieldTextBefore: string;
46
+ dividerVariant?: "none" | undefined;
47
+ dividerIcon?: undefined;
48
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<import("../../Range/Range.types").RangeInputRefs>) | ({
49
+ label?: string | undefined;
50
+ leftHelper?: string | undefined;
51
+ contentLeft?: import("react").ReactNode;
52
+ contentRight?: import("react").ReactNode;
53
+ firstValue?: import("../../Range/Range.types").TextfieldPrimitiveValue | undefined;
54
+ secondValue?: import("../../Range/Range.types").TextfieldPrimitiveValue | undefined;
55
+ firstValueError?: boolean | undefined;
56
+ secondValueError?: boolean | undefined;
57
+ firstValueSuccess?: boolean | undefined;
58
+ secondValueSuccess?: boolean | undefined;
59
+ firstPlaceholder?: string | undefined;
60
+ secondPlaceholder?: string | undefined;
61
+ firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
62
+ firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
63
+ secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
64
+ secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
65
+ firstTextfieldTextAfter?: string | undefined;
66
+ secondTextfieldTextAfter?: string | undefined;
67
+ view?: string | undefined;
68
+ size?: string | undefined;
69
+ readOnly?: boolean | undefined;
70
+ disabled?: boolean | undefined;
71
+ isOpenFirst?: boolean | undefined;
72
+ isOpenSecond?: boolean | undefined;
73
+ placement?: import("../../..").Placement | import("../../..").PlacementBasic[] | undefined;
74
+ offset?: [number, number] | undefined;
75
+ closeOnOverlayClick?: boolean | undefined;
76
+ firstInputPopoverContent?: import("react").ReactNode;
77
+ secondInputPopoverContent?: import("react").ReactNode;
78
+ onToggleFirst?: ((isOpen: boolean, event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
79
+ onToggleSecond?: ((isOpen: boolean, event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
80
+ onChangeFirstValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
81
+ onChangeSecondValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
82
+ onSearchFirstValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
83
+ onSearchSecondValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
84
+ onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
85
+ onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
86
+ onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
87
+ onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
88
+ } & {
89
+ dividerVariant?: "dash" | undefined;
90
+ dividerIcon?: undefined;
91
+ firstTextfieldTextBefore?: string | undefined;
92
+ secondTextfieldTextBefore?: string | undefined;
93
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<import("../../Range/Range.types").RangeInputRefs>) | ({
94
+ label?: string | undefined;
95
+ leftHelper?: string | undefined;
96
+ contentLeft?: import("react").ReactNode;
97
+ contentRight?: import("react").ReactNode;
98
+ firstValue?: import("../../Range/Range.types").TextfieldPrimitiveValue | undefined;
99
+ secondValue?: import("../../Range/Range.types").TextfieldPrimitiveValue | undefined;
100
+ firstValueError?: boolean | undefined;
101
+ secondValueError?: boolean | undefined;
102
+ firstValueSuccess?: boolean | undefined;
103
+ secondValueSuccess?: boolean | undefined;
104
+ firstPlaceholder?: string | undefined;
105
+ secondPlaceholder?: string | undefined;
106
+ firstTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
107
+ firstTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
108
+ secondTextfieldContentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
109
+ secondTextfieldContentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
110
+ firstTextfieldTextAfter?: string | undefined;
111
+ secondTextfieldTextAfter?: string | undefined;
112
+ view?: string | undefined;
113
+ size?: string | undefined;
114
+ readOnly?: boolean | undefined;
115
+ disabled?: boolean | undefined;
116
+ isOpenFirst?: boolean | undefined;
117
+ isOpenSecond?: boolean | undefined;
118
+ placement?: import("../../..").Placement | import("../../..").PlacementBasic[] | undefined;
119
+ offset?: [number, number] | undefined;
120
+ closeOnOverlayClick?: boolean | undefined;
121
+ firstInputPopoverContent?: import("react").ReactNode;
122
+ secondInputPopoverContent?: import("react").ReactNode;
123
+ onToggleFirst?: ((isOpen: boolean, event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
124
+ onToggleSecond?: ((isOpen: boolean, event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
125
+ onChangeFirstValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
126
+ onChangeSecondValue?: import("../../Range/Range.types").BaseCallbackChangeInstance | undefined;
127
+ onSearchFirstValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
128
+ onSearchSecondValue?: import("../../Range/Range.types").BaseCallbackKeyboardInstance | undefined;
129
+ onFocusFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
130
+ onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
131
+ onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
132
+ onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
133
+ } & {
134
+ dividerIcon?: import("react").ReactNode;
135
+ dividerVariant?: "icon" | undefined;
136
+ firstTextfieldTextBefore?: string | undefined;
137
+ secondTextfieldTextBefore?: string | undefined;
138
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<import("../../Range/Range.types").RangeInputRefs>))>;
139
+ export declare const base: import("@linaria/core").LinariaClassName;
140
+ //# sourceMappingURL=DatePicker.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DatePicker.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/DatePicker.styles.ts"],"names":[],"mappings":";AAcA,eAAO,MAAM,aAAa,4TAAoB,CAAC;AAG/C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uIA0FvB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -0,0 +1,128 @@
1
+ import type { HTMLAttributes, SyntheticEvent } from 'react';
2
+ import type { CalendarStateType } from '../../Calendar';
3
+ import type { DisabledDay, EventDay } from '../../Calendar/Calendar.types';
4
+ import type { RangeProps } from '../../Range';
5
+ import type { DatePickerdVariationProps } from '../DatePickerBase.types';
6
+ export declare type DatePickerRangePlacement = 'top' | 'bottom';
7
+ declare type BaseRangeProps = Omit<RangeProps, 'firstValue' | 'secondValue' | 'onSearchFirstValue' | 'onSearchSecondValue'>;
8
+ export declare type DatePickerRangeFieldProps = {
9
+ /**
10
+ * Значение по умолчанию для первого поля.
11
+ */
12
+ defaultFirstDate?: Date;
13
+ /**
14
+ * Значение по умолчанию для второго поля.
15
+ */
16
+ defaultSecondDate?: Date;
17
+ /**
18
+ * Callback по нажатию Enter в поле ввода или выборе дня на календаре для первой даты.
19
+ */
20
+ onCommitFirstDate?: (value: Date | string, error?: boolean, success?: boolean) => void;
21
+ /**
22
+ * Callback по нажатию Enter в поле ввода или выборе дня на календаре для первой даты.
23
+ */
24
+ onCommitSecondDate?: (value: Date | string, error?: boolean, success?: boolean) => void;
25
+ } & BaseRangeProps;
26
+ export declare type DatePickerCalendarProps = {
27
+ /**
28
+ * Формат даты.
29
+ * @default `DD.MM.YYYY`
30
+ */
31
+ format?: string;
32
+ /**
33
+ * Формат применяется в качестве маски ввода.
34
+ */
35
+ maskWithFormat?: boolean;
36
+ /**
37
+ * Минимальное значение даты.
38
+ */
39
+ min?: Date;
40
+ /**
41
+ * Максимальное значение даты.
42
+ */
43
+ max?: Date;
44
+ /**
45
+ * Должны ли значения минимального и максимального дня включаться в диапазон.
46
+ */
47
+ includeEdgeDates?: boolean;
48
+ /**
49
+ * Список событий.
50
+ */
51
+ eventList?: EventDay[];
52
+ /**
53
+ * Список отключенных дней.
54
+ */
55
+ disabledList?: DisabledDay[];
56
+ /**
57
+ * Тип отображения календаря: дни, месяца, года.
58
+ */
59
+ type?: CalendarStateType;
60
+ };
61
+ declare type DatePickerDoubleRangeProps = {
62
+ /**
63
+ * Видимость первого календаря.
64
+ */
65
+ isOpenFirst?: boolean;
66
+ /**
67
+ * Видимость второго календаря.
68
+ */
69
+ isOpenSecond?: boolean;
70
+ /**
71
+ * Отобразить двойной календарь
72
+ */
73
+ isDoubleCalendar?: never;
74
+ /**
75
+ * Видимость двойного календаря.
76
+ */
77
+ isOpenDouble?: never;
78
+ } | {
79
+ /**
80
+ * Видимость первого календаря.
81
+ */
82
+ isOpenFirst?: never;
83
+ /**
84
+ * Видимость второго календаря.
85
+ */
86
+ isOpenSecond?: never;
87
+ /**
88
+ * Видимость двойного календаря.
89
+ */
90
+ isOpenDouble?: boolean;
91
+ /**
92
+ * Отобразить двойной календарь
93
+ */
94
+ isDoubleCalendar?: true;
95
+ };
96
+ export declare type DatePickerPopoverProps = {
97
+ /**
98
+ * Сторона открытия календаря относительно поля ввода.
99
+ * @default
100
+ * ["bottom", "top"]
101
+ */
102
+ placement?: DatePickerRangePlacement | Array<DatePickerRangePlacement>;
103
+ /**
104
+ * Отступ календаря относительно поля ввода.
105
+ * @default [0, 0]
106
+ */
107
+ offset?: [number, number];
108
+ /**
109
+ * Закрывать календарь при нажатии вне области элемента.
110
+ * @default true
111
+ */
112
+ closeOnOverlayClick?: boolean;
113
+ /**
114
+ * Событие сворачивания/разворачивания двойного календаря.
115
+ */
116
+ onToggleDouble?: (isOpen: boolean, event: SyntheticEvent | Event) => void;
117
+ /**
118
+ * Событие сворачивания/разворачивания первого календаря.
119
+ */
120
+ onToggleFirst?: (isOpen: boolean, event: SyntheticEvent | Event) => void;
121
+ /**
122
+ * Событие сворачивания/разворачивания второго календаря.
123
+ */
124
+ onToggleSecond?: (isOpen: boolean, event: SyntheticEvent | Event) => void;
125
+ } & DatePickerDoubleRangeProps;
126
+ export declare type DatePickerRangeProps = DatePickerdVariationProps & DatePickerRangeFieldProps & DatePickerCalendarProps & DatePickerPopoverProps & Omit<HTMLAttributes<HTMLDivElement>, 'defaultValue'>;
127
+ export {};
128
+ //# sourceMappingURL=DatePicker.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DatePicker.types.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/DatePicker.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEzE,oBAAY,wBAAwB,GAAG,KAAK,GAAG,QAAQ,CAAC;AAExD,aAAK,cAAc,GAAG,IAAI,CAAC,UAAU,EAAE,YAAY,GAAG,aAAa,GAAG,oBAAoB,GAAG,qBAAqB,CAAC,CAAC;AAEpH,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,aAAK,0BAA0B,GACzB;IACI;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC;IACzB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACxB,GACD;IACI;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;CAC3B,CAAC;AAER,oBAAY,sBAAsB,GAAG;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,wBAAwB,GAAG,KAAK,CAAC,wBAAwB,CAAC,CAAC;IACvE;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IAC1E;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACzE;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;CAC7E,GAAG,0BAA0B,CAAC;AAE/B,oBAAY,oBAAoB,GAAG,yBAAyB,GACxD,yBAAyB,GACzB,uBAAuB,GACvB,sBAAsB,GACtB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import type { RangeDoubleDateProps } from './RangeDoubleDate.types';
3
+ export declare const RangeDoubleDate: ({ target, isOpen, calendarValue, min, max, includeEdgeDates, eventList, disabledList, placement, closeOnOverlayClick, offset, onChangeValue, onChangeStartOfRange, onToggle, }: RangeDoubleDateProps) => JSX.Element;
4
+ //# sourceMappingURL=RangeDoubleDate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RangeDoubleDate.d.ts","sourceRoot":"","sources":["../../../../../src/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAGpE,eAAO,MAAM,eAAe,mLAmBzB,oBAAoB,gBA0BtB,CAAC"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import type { CalendarDoubleProps } from '../../../Calendar';
3
+ export declare const StyledCalendar: import("@linaria/react").StyledMeta & (({ value, disabledList, eventList, min, max, onChangeValue, onChangeStartOfRange, ...rest }: import("../../../Calendar/Calendar.types").CalendarRange<CalendarDoubleProps>) => import("react").ReactElement<CalendarDoubleProps, string | import("react").JSXElementConstructor<any>>);
4
+ //# sourceMappingURL=RangeDoubleDate.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RangeDoubleDate.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.ts"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAW7D,eAAO,MAAM,cAAc,+TAK1B,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { DatePickerCalendarProps, DatePickerPopoverProps } from '../../SingleDate/DatePicker.types';
3
+ export declare type RangeDoubleDateProps = {
4
+ /**
5
+ * Обработчик изменения значения.
6
+ */
7
+ onChangeValue: (values: [Date, Date?]) => void;
8
+ /**
9
+ * Выбранное значение.
10
+ */
11
+ calendarValue: [Date?, Date?];
12
+ /**
13
+ * Компонент для отображения диапазона.
14
+ */
15
+ target?: ReactNode;
16
+ /**
17
+ * Обработчик для выбора стартового значения в диапазоне.
18
+ */
19
+ onChangeStartOfRange?: (value: Date) => void;
20
+ } & DatePickerCalendarProps & DatePickerPopoverProps;
21
+ //# sourceMappingURL=RangeDoubleDate.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RangeDoubleDate.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAEzG,oBAAY,oBAAoB,GAAG;IAC/B;;OAEG;IACH,aAAa,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC;IAC/C;;OAEG;IACH,aAAa,EAAE,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IAC9B;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK,IAAI,CAAC;CAChD,GAAG,uBAAuB,GACvB,sBAAsB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DatePicker/RangeDate/variations/_disabled/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAKhB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DatePicker/RangeDate/variations/_readonly/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAIhB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DatePicker/RangeDate/variations/_size/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAEhB,CAAC"}
@@ -1,2 +1,2 @@
1
1
  export declare const base: import("@linaria/core").LinariaClassName;
2
- //# sourceMappingURL=Accordion.styles.d.ts.map
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DatePicker/RangeDate/variations/_view/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -0,0 +1,31 @@
1
+ import React from 'react';
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>>;
5
+ export declare const datePickerConfig: {
6
+ name: string;
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>>;
9
+ base: import("@linaria/core").LinariaClassName;
10
+ variations: {
11
+ view: {
12
+ css: import("@linaria/core").LinariaClassName;
13
+ };
14
+ size: {
15
+ css: import("@linaria/core").LinariaClassName;
16
+ };
17
+ disabled: {
18
+ css: import("@linaria/core").LinariaClassName;
19
+ attrs: boolean;
20
+ };
21
+ readOnly: {
22
+ css: import("@linaria/core").LinariaClassName;
23
+ attrs: boolean;
24
+ };
25
+ };
26
+ defaults: {
27
+ size: string;
28
+ view: string;
29
+ };
30
+ };
31
+ //# sourceMappingURL=DatePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAEzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAOlD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,eAAO,MAAM,cAAc,SACjB,UAAU,cAAc,EAAE,KAAK,eAAe,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC,2WAyIlG,CAAC;AAEN,eAAO,MAAM,gBAAgB;;;mBA3InB,UAAU,cAAc,EAAE,KAAK,eAAe,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;CAoKtG,CAAC"}
@@ -0,0 +1,45 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledPopover: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../engines/types").PropsType<import("../../../engines/types").Variants> & import("react").HTMLAttributes<HTMLDivElement> & import("../../Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ export declare const StyledInput: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../engines/types").PropsType<import("../../../engines/types").Variants> & (({
4
+ size?: string | undefined;
5
+ view?: string | undefined;
6
+ readOnly?: boolean | undefined;
7
+ disabled?: boolean | undefined;
8
+ } & {
9
+ label?: string | undefined;
10
+ labelPlacement?: "inner" | "outer" | undefined;
11
+ leftHelper?: string | undefined;
12
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
13
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
14
+ textBefore?: string | undefined;
15
+ textAfter?: string | undefined;
16
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
17
+ } & {
18
+ chips?: undefined;
19
+ onChangeChips?: undefined;
20
+ enumerationType?: "plain" | undefined;
21
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
22
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
23
+ size?: string | undefined;
24
+ view?: string | undefined;
25
+ readOnly?: boolean | undefined;
26
+ disabled?: boolean | undefined;
27
+ } & {
28
+ label?: string | undefined;
29
+ labelPlacement?: "inner" | "outer" | undefined;
30
+ leftHelper?: string | undefined;
31
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
32
+ contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
33
+ textBefore?: string | undefined;
34
+ textAfter?: string | undefined;
35
+ onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
36
+ } & {
37
+ enumerationType: "chip";
38
+ onSearch?: undefined;
39
+ chips?: import("../../TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
40
+ onChangeChips?: ((value: import("../../TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
41
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLInputElement>))>;
42
+ export declare const base: import("@linaria/core").LinariaClassName;
43
+ export declare const StyledLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
44
+ export declare const LeftHelper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
45
+ //# sourceMappingURL=DatePicker.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DatePicker.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/DatePicker.styles.ts"],"names":[],"mappings":";AAcA,eAAO,MAAM,aAAa,4TAAoB,CAAC;AAG/C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HA6DvB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAShB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAAiB,CAAC;AAE1C,eAAO,MAAM,UAAU,qKAAe,CAAC"}
@@ -0,0 +1,115 @@
1
+ import type { HTMLAttributes, SyntheticEvent } from 'react';
2
+ import type { CalendarStateType } from '../../Calendar';
3
+ import type { DisabledDay, EventDay } from '../../Calendar/Calendar.types';
4
+ import type { DatePickerdVariationProps } from '../DatePickerBase.types';
5
+ export declare type DatePickerPlacementBasic = 'top' | 'bottom' | 'right' | 'left';
6
+ export declare type DatePickerPlacement = DatePickerPlacementBasic | 'auto';
7
+ export declare type DatePickerTextFieldProps = {
8
+ /**
9
+ * Выбранное значение.
10
+ */
11
+ defaultDate?: Date;
12
+ /**
13
+ * Некорректное значение даты
14
+ */
15
+ valueError?: boolean;
16
+ /**
17
+ * Корректное значение даты
18
+ */
19
+ valueSuccess?: boolean;
20
+ /**
21
+ * Метка-подпись к элементу
22
+ */
23
+ label?: string;
24
+ /**
25
+ * Вспомогательный текст снизу слева для поля ввода.
26
+ */
27
+ leftHelper?: string;
28
+ /**
29
+ * Слот для контента слева.
30
+ */
31
+ contentLeft?: React.ReactElement;
32
+ /**
33
+ * Слот для контента справа.
34
+ */
35
+ contentRight?: React.ReactElement;
36
+ /**
37
+ * Слот для вспомогательного текста справа.
38
+ */
39
+ textBefore?: string;
40
+ /**
41
+ * Слот для вспомогательного текста слева.
42
+ */
43
+ textAfter?: string;
44
+ /**
45
+ * Callback по нажатию Enter в поле ввода или выборе дня на календаре.
46
+ */
47
+ onCommitDate?: (value: Date | string, error?: boolean, success?: boolean) => void;
48
+ /**
49
+ * Обработчик изменения значения.
50
+ */
51
+ onChangeValue?: (event: SyntheticEvent<HTMLInputElement>, value?: string) => void;
52
+ };
53
+ export declare type DatePickerCalendarProps = {
54
+ /**
55
+ * Формат даты.
56
+ * @default `DD.MM.YYYY`
57
+ */
58
+ format?: string;
59
+ /**
60
+ * Формат применяется в качестве маски ввода.
61
+ */
62
+ maskWithFormat?: boolean;
63
+ /**
64
+ * Минимальное значение даты.
65
+ */
66
+ min?: Date;
67
+ /**
68
+ * Максимальное значение даты.
69
+ */
70
+ max?: Date;
71
+ /**
72
+ * Должны ли значения минимального и максимального дня включаться в диапазон.
73
+ */
74
+ includeEdgeDates?: boolean;
75
+ /**
76
+ * Список событий.
77
+ */
78
+ eventList?: EventDay[];
79
+ /**
80
+ * Список отключенных дней.
81
+ */
82
+ disabledList?: DisabledDay[];
83
+ /**
84
+ * Тип отображения календаря: дни, месяца, года.
85
+ */
86
+ type?: CalendarStateType;
87
+ };
88
+ export declare type DatePickerPopoverProps = {
89
+ /**
90
+ * Видимость календаря.
91
+ */
92
+ isOpen?: boolean;
93
+ /**
94
+ * Сторона открытия календаря относительно поля ввода.
95
+ * @default
96
+ * ["bottom", "top"]
97
+ */
98
+ placement?: DatePickerPlacement | Array<DatePickerPlacementBasic>;
99
+ /**
100
+ * Отступ календаря относительно поля ввода.
101
+ * @default [0, 0]
102
+ */
103
+ offset?: [number, number];
104
+ /**
105
+ * Закрывать календарь при нажатии вне области элемента.
106
+ * @default true
107
+ */
108
+ closeOnOverlayClick?: boolean;
109
+ /**
110
+ * Событие сворачивания/разворачивания календаря.
111
+ */
112
+ onToggle?: (isOpen: boolean, event: SyntheticEvent | Event) => void;
113
+ };
114
+ export declare type DatePickerProps = DatePickerdVariationProps & DatePickerTextFieldProps & DatePickerCalendarProps & DatePickerPopoverProps & Omit<HTMLAttributes<HTMLDivElement>, 'defaultValue'>;
115
+ //# sourceMappingURL=DatePicker.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DatePicker.types.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/DatePicker.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEzE,oBAAY,wBAAwB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAC3E,oBAAY,mBAAmB,GAAG,wBAAwB,GAAG,MAAM,CAAC;AAEpE,oBAAY,wBAAwB,GAAG;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAClF;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,gBAAgB,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACrF,CAAC;AAEF,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,sBAAsB,GAAG;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,mBAAmB,GAAG,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAClE;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;CACvE,CAAC;AAEF,oBAAY,eAAe,GAAG,yBAAyB,GACnD,wBAAwB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DatePicker/SingleDate/variations/_disabled/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAKhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DatePicker/SingleDate/variations/_readonly/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAahB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DatePicker/SingleDate/variations/_size/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAwBhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DatePicker/SingleDate/variations/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAShB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { ChangeEvent, SyntheticEvent } from 'react';
2
+ import type { UseDatePickerProps } from '../DatePickerBase.types';
3
+ export declare const useDatePicker: ({ currentValue, setInputValue, setCalendarValue, setIsInnerOpen, dateFormatDelimiter, format, disabled, readOnly, maskWithFormat, valueError, valueSuccess, inputRef, onToggle, onChangeValue, onCommitDate, }: UseDatePickerProps) => {
4
+ datePickerErrorClass: string | undefined;
5
+ datePickerSuccessClass: string | undefined;
6
+ handleToggle: (opened: boolean, event: SyntheticEvent | Event) => void;
7
+ handleChangeValue: (event: ChangeEvent<HTMLInputElement>) => void;
8
+ handleCommitDate: (date?: string | Date | undefined, applyFormat?: boolean | undefined, isCalendarValue?: boolean | undefined) => void;
9
+ };
10
+ //# sourceMappingURL=useDatePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDatePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/hooks/useDatePicker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAGlE,eAAO,MAAM,aAAa,mNAgBvB,kBAAkB;;;2BAIa,OAAO,SAAS,cAAc,GAAG,KAAK;+BAclC,YAAY,gBAAgB,CAAC;;CAoDlE,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { datePickerRoot, datePickerConfig } from './SingleDate/DatePicker';
2
+ export type { DatePickerProps, DatePickerPlacementBasic, DatePickerPlacement } from './SingleDate/DatePicker.types';
3
+ export { datePickerRangeRoot, datePickerRangeConfig } from './RangeDate/DatePicker';
4
+ export type { DatePickerRangeProps, DatePickerRangePlacement } from './RangeDate/DatePicker.types';
5
+ export { classes as datePickerClasses, tokens as datePickerTokens } from './DatePicker.tokens';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,YAAY,EAAE,eAAe,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpH,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AACpF,YAAY,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAEnG,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,IAAI,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}