@salutejs/plasma-new-hope 0.325.0-canary.1941.15208820474.0 → 0.325.0-canary.1941.15269219653.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (550) hide show
  1. package/cjs/components/Calendar/Calendar.tokens.js +4 -13
  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 +11 -15
  5. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +9 -3
  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_fpdm18.css +2 -0
  10. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +14 -18
  11. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +9 -3
  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/{es/components/Calendar/CalendarDouble/CalendarDouble.styles_e9ada0.css → cjs/components/Calendar/CalendarDouble/CalendarDouble.styles_dt34s7.css} +2 -2
  16. package/cjs/components/Calendar/hooks/useMonths.js +3 -1
  17. package/cjs/components/Calendar/hooks/useMonths.js.map +1 -1
  18. package/cjs/components/Calendar/hooks/useQuarters.js +4 -2
  19. package/cjs/components/Calendar/hooks/useQuarters.js.map +1 -1
  20. package/cjs/components/Calendar/hooks/useYears.js +3 -1
  21. package/cjs/components/Calendar/hooks/useYears.js.map +1 -1
  22. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +6 -7
  23. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +3 -6
  24. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js.map +1 -1
  25. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +3 -9
  26. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
  27. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles_445k2m.css +2 -0
  28. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +5 -6
  29. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +2 -3
  30. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  31. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +1 -7
  32. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
  33. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_3fk0w8.css +1 -0
  34. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +5 -6
  35. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +2 -3
  36. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js.map +1 -1
  37. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js +1 -7
  38. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js.map +1 -1
  39. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles_g2v0cv.css +1 -0
  40. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +5 -6
  41. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +2 -3
  42. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  43. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +1 -7
  44. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
  45. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_97bjgu.css +1 -0
  46. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  47. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +7 -7
  48. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  49. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles_12b03hz.css +4 -0
  50. package/cjs/components/Calendar/utils/calendarGridHelper.js +10 -2
  51. package/cjs/components/Calendar/utils/calendarGridHelper.js.map +1 -1
  52. package/cjs/components/Calendar/utils/getDateWithModification.js +28 -24
  53. package/cjs/components/Calendar/utils/getDateWithModification.js.map +1 -1
  54. package/cjs/components/CodeField/CodeField.js +2 -2
  55. package/cjs/components/CodeField/CodeField.js.map +1 -1
  56. package/cjs/components/DatePicker/DatePicker.tokens.js +9 -11
  57. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
  58. package/cjs/components/DatePicker/DatePickerBase.styles.js +19 -2
  59. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  60. package/cjs/components/DatePicker/DatePickerBase.styles_10sa0ht.css +2 -0
  61. package/cjs/components/DatePicker/RangeDate/RangeDate.css +21 -25
  62. package/cjs/components/DatePicker/RangeDate/RangeDate.js +22 -10
  63. package/cjs/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
  64. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +1 -1
  65. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  66. package/cjs/components/DatePicker/RangeDate/{RangeDate.styles_vzsqwo.css → RangeDate.styles_1q1mn0z.css} +1 -1
  67. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +19 -23
  68. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +43 -2
  69. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  70. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +38 -5
  71. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  72. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1n0dbxm.css +2 -0
  73. package/cjs/components/DatePicker/SingleDate/SingleDate.css +19 -23
  74. package/cjs/components/DatePicker/SingleDate/SingleDate.js +31 -7
  75. package/cjs/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
  76. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  77. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  78. package/{es/components/DatePicker/SingleDate/SingleDate.styles_4wd0mq.css → cjs/components/DatePicker/SingleDate/SingleDate.styles_7r4r8k.css} +1 -1
  79. package/cjs/components/Note/Note.css +35 -6
  80. package/cjs/components/Note/Note.js +17 -3
  81. package/cjs/components/Note/Note.js.map +1 -1
  82. package/cjs/components/Note/Note.styles.js +25 -2
  83. package/cjs/components/Note/Note.styles.js.map +1 -1
  84. package/cjs/components/Note/{Note.styles_178qpj9.css → Note.styles_thpfhk.css} +2 -1
  85. package/cjs/components/Note/Note.tokens.js +9 -1
  86. package/cjs/components/Note/Note.tokens.js.map +1 -1
  87. package/cjs/components/Pagination/Pagination.css +10 -10
  88. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +10 -10
  89. package/cjs/components/PaginationDots/PaginationDot.js +59 -0
  90. package/cjs/components/PaginationDots/PaginationDot.js.map +1 -0
  91. package/cjs/components/PaginationDots/PaginationDot_baul9c.css +2 -0
  92. package/cjs/components/PaginationDots/PaginationDots.js +34 -0
  93. package/cjs/components/PaginationDots/PaginationDots.js.map +1 -0
  94. package/cjs/components/PaginationDots/PaginationDots_fm2ha5.css +2 -0
  95. package/cjs/components/PaginationDots/SmartPaginationDots.css +5 -0
  96. package/cjs/components/PaginationDots/SmartPaginationDots.js +47 -0
  97. package/cjs/components/PaginationDots/SmartPaginationDots.js.map +1 -0
  98. package/cjs/components/PaginationDots/usePaginationDots.js +40 -0
  99. package/cjs/components/PaginationDots/usePaginationDots.js.map +1 -0
  100. package/cjs/components/Select/Select.css +10 -10
  101. package/cjs/components/Select/Select.tokens.js +23 -0
  102. package/cjs/components/Select/Select.tokens.js.map +1 -1
  103. package/cjs/components/Select/ui/Inner/Inner.css +10 -10
  104. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +3 -1
  105. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  106. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +21 -12
  107. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  108. package/{es/components/Select/ui/Inner/ui/Item/Item.styles_1gk72bp.css → cjs/components/Select/ui/Inner/ui/Item/Item.styles_ir8fmi.css} +2 -2
  109. package/cjs/components/Select/ui/VirtualList/VirtualList.css +10 -10
  110. package/cjs/components/Table/Table.css +10 -10
  111. package/cjs/components/Table/ui/Cell/Cell.css +10 -10
  112. package/cjs/components/Table/ui/EditableCell/EditableCell.css +10 -10
  113. package/cjs/components/Table/ui/HeadCell/HeadCell.css +10 -10
  114. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +10 -10
  115. package/cjs/index.css +47 -44
  116. package/cjs/index.js +6 -0
  117. package/cjs/index.js.map +1 -1
  118. package/emotion/cjs/components/Calendar/Calendar.tokens.js +4 -13
  119. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.js +12 -3
  120. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  121. package/emotion/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +12 -3
  122. package/emotion/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +7 -7
  123. package/emotion/cjs/components/Calendar/hooks/useMonths.js +3 -1
  124. package/emotion/cjs/components/Calendar/hooks/useQuarters.js +4 -2
  125. package/emotion/cjs/components/Calendar/hooks/useYears.js +3 -1
  126. package/emotion/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +3 -6
  127. package/emotion/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +3 -8
  128. package/emotion/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +2 -3
  129. package/emotion/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +3 -8
  130. package/emotion/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +2 -3
  131. package/emotion/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js +3 -8
  132. package/emotion/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +2 -3
  133. package/emotion/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +3 -8
  134. package/emotion/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +7 -7
  135. package/emotion/cjs/components/Calendar/utils/calendarGridHelper.js +10 -3
  136. package/emotion/cjs/components/Calendar/utils/getDateWithModification.js +28 -24
  137. package/emotion/cjs/components/CodeField/CodeField.js +2 -2
  138. package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +9 -12
  139. package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +9 -3
  140. package/emotion/cjs/components/DatePicker/RangeDate/RangeDate.js +25 -9
  141. package/emotion/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +4 -13
  142. package/emotion/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +47 -3
  143. package/emotion/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +14 -2
  144. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.js +33 -6
  145. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +4 -4
  146. package/emotion/cjs/components/Note/Note.js +17 -3
  147. package/emotion/cjs/components/Note/Note.styles.js +27 -15
  148. package/emotion/cjs/components/Note/Note.tokens.js +9 -1
  149. package/emotion/cjs/components/PaginationDots/PaginationDot.js +35 -0
  150. package/emotion/cjs/components/PaginationDots/PaginationDots.js +35 -0
  151. package/emotion/cjs/components/PaginationDots/SmartPaginationDots.js +43 -0
  152. package/emotion/cjs/components/PaginationDots/index.js +26 -0
  153. package/emotion/cjs/components/PaginationDots/usePaginationDots.js +38 -0
  154. package/emotion/cjs/components/Select/Select.tokens.js +2 -0
  155. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +3 -1
  156. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +31 -28
  157. package/emotion/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +37 -29
  158. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  159. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  160. package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  161. package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +6 -0
  162. package/emotion/cjs/examples/plasma_b2c/components/Note/Note.config.js +9 -9
  163. package/emotion/cjs/examples/plasma_b2c/components/Note/Note.stories.tsx +1 -0
  164. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +24 -24
  165. package/emotion/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +37 -29
  166. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  167. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  168. package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  169. package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +8 -6
  170. package/emotion/cjs/examples/plasma_web/components/Note/Note.config.js +9 -9
  171. package/emotion/cjs/examples/plasma_web/components/Note/Note.stories.tsx +1 -0
  172. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +24 -24
  173. package/emotion/cjs/index.js +11 -0
  174. package/emotion/es/components/Calendar/Calendar.tokens.js +4 -13
  175. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.js +12 -3
  176. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.styles.js +3 -3
  177. package/emotion/es/components/Calendar/CalendarDouble/CalendarDouble.js +12 -3
  178. package/emotion/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +8 -8
  179. package/emotion/es/components/Calendar/hooks/useMonths.js +3 -1
  180. package/emotion/es/components/Calendar/hooks/useQuarters.js +4 -2
  181. package/emotion/es/components/Calendar/hooks/useYears.js +3 -1
  182. package/emotion/es/components/Calendar/ui/CalendarDays/CalendarDays.js +5 -8
  183. package/emotion/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +2 -7
  184. package/emotion/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -5
  185. package/emotion/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +2 -7
  186. package/emotion/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -5
  187. package/emotion/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js +2 -7
  188. package/emotion/es/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -5
  189. package/emotion/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +2 -7
  190. package/emotion/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +7 -7
  191. package/emotion/es/components/Calendar/utils/calendarGridHelper.js +9 -2
  192. package/emotion/es/components/Calendar/utils/getDateWithModification.js +28 -24
  193. package/emotion/es/components/CodeField/CodeField.js +2 -2
  194. package/emotion/es/components/DatePicker/DatePicker.tokens.js +8 -11
  195. package/emotion/es/components/DatePicker/DatePickerBase.styles.js +9 -3
  196. package/emotion/es/components/DatePicker/RangeDate/RangeDate.js +26 -10
  197. package/emotion/es/components/DatePicker/RangeDate/RangeDate.styles.js +5 -14
  198. package/emotion/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +46 -4
  199. package/emotion/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +15 -3
  200. package/emotion/es/components/DatePicker/SingleDate/SingleDate.js +34 -7
  201. package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +4 -4
  202. package/emotion/es/components/Note/Note.js +18 -4
  203. package/emotion/es/components/Note/Note.styles.js +26 -14
  204. package/emotion/es/components/Note/Note.tokens.js +9 -1
  205. package/emotion/es/components/PaginationDots/PaginationDot.js +28 -0
  206. package/emotion/es/components/PaginationDots/PaginationDots.js +28 -0
  207. package/emotion/es/components/PaginationDots/SmartPaginationDots.js +36 -0
  208. package/emotion/es/components/PaginationDots/index.js +3 -0
  209. package/emotion/es/components/PaginationDots/usePaginationDots.js +32 -0
  210. package/emotion/es/components/Select/Select.tokens.js +2 -0
  211. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +3 -1
  212. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +31 -28
  213. package/emotion/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +37 -29
  214. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  215. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  216. package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  217. package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +6 -0
  218. package/emotion/es/examples/plasma_b2c/components/Note/Note.config.js +9 -9
  219. package/emotion/es/examples/plasma_b2c/components/Note/Note.stories.tsx +1 -0
  220. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +24 -24
  221. package/emotion/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +37 -29
  222. package/emotion/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  223. package/emotion/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  224. package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  225. package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +8 -6
  226. package/emotion/es/examples/plasma_web/components/Note/Note.config.js +9 -9
  227. package/emotion/es/examples/plasma_web/components/Note/Note.stories.tsx +1 -0
  228. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +24 -24
  229. package/emotion/es/index.js +1 -0
  230. package/es/components/Calendar/Calendar.tokens.js +4 -13
  231. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  232. package/es/components/Calendar/Calendar.types.js.map +1 -1
  233. package/es/components/Calendar/CalendarBase/CalendarBase.css +11 -15
  234. package/es/components/Calendar/CalendarBase/CalendarBase.js +9 -4
  235. package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  236. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  237. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  238. package/es/components/Calendar/CalendarBase/CalendarBase.styles_fpdm18.css +2 -0
  239. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +14 -18
  240. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +10 -5
  241. package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  242. package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +1 -1
  243. package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js.map +1 -1
  244. package/{cjs/components/Calendar/CalendarDouble/CalendarDouble.styles_e9ada0.css → es/components/Calendar/CalendarDouble/CalendarDouble.styles_dt34s7.css} +2 -2
  245. package/es/components/Calendar/hooks/useMonths.js +3 -1
  246. package/es/components/Calendar/hooks/useMonths.js.map +1 -1
  247. package/es/components/Calendar/hooks/useQuarters.js +5 -3
  248. package/es/components/Calendar/hooks/useQuarters.js.map +1 -1
  249. package/es/components/Calendar/hooks/useYears.js +3 -1
  250. package/es/components/Calendar/hooks/useYears.js.map +1 -1
  251. package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +6 -7
  252. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +5 -8
  253. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js.map +1 -1
  254. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +4 -9
  255. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
  256. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles_445k2m.css +2 -0
  257. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +5 -6
  258. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -5
  259. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  260. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +2 -7
  261. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
  262. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_3fk0w8.css +1 -0
  263. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +5 -6
  264. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -5
  265. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js.map +1 -1
  266. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js +2 -7
  267. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js.map +1 -1
  268. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles_g2v0cv.css +1 -0
  269. package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +5 -6
  270. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -5
  271. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  272. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +2 -7
  273. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
  274. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_97bjgu.css +1 -0
  275. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  276. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +7 -7
  277. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  278. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles_12b03hz.css +4 -0
  279. package/es/components/Calendar/utils/calendarGridHelper.js +10 -3
  280. package/es/components/Calendar/utils/calendarGridHelper.js.map +1 -1
  281. package/es/components/Calendar/utils/getDateWithModification.js +28 -24
  282. package/es/components/Calendar/utils/getDateWithModification.js.map +1 -1
  283. package/es/components/CodeField/CodeField.js +2 -2
  284. package/es/components/CodeField/CodeField.js.map +1 -1
  285. package/es/components/DatePicker/DatePicker.tokens.js +9 -12
  286. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  287. package/es/components/DatePicker/DatePickerBase.styles.js +19 -2
  288. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  289. package/es/components/DatePicker/DatePickerBase.styles_10sa0ht.css +2 -0
  290. package/es/components/DatePicker/RangeDate/RangeDate.css +21 -25
  291. package/es/components/DatePicker/RangeDate/RangeDate.js +22 -11
  292. package/es/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
  293. package/es/components/DatePicker/RangeDate/RangeDate.styles.js +1 -1
  294. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  295. package/es/components/DatePicker/RangeDate/{RangeDate.styles_vzsqwo.css → RangeDate.styles_1q1mn0z.css} +1 -1
  296. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +19 -23
  297. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +43 -3
  298. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  299. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +38 -5
  300. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  301. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1n0dbxm.css +2 -0
  302. package/es/components/DatePicker/SingleDate/SingleDate.css +19 -23
  303. package/es/components/DatePicker/SingleDate/SingleDate.js +31 -8
  304. package/es/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
  305. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  306. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  307. package/{cjs/components/DatePicker/SingleDate/SingleDate.styles_4wd0mq.css → es/components/DatePicker/SingleDate/SingleDate.styles_7r4r8k.css} +1 -1
  308. package/es/components/Note/Note.css +35 -6
  309. package/es/components/Note/Note.js +18 -4
  310. package/es/components/Note/Note.js.map +1 -1
  311. package/es/components/Note/Note.styles.js +25 -3
  312. package/es/components/Note/Note.styles.js.map +1 -1
  313. package/es/components/Note/{Note.styles_178qpj9.css → Note.styles_thpfhk.css} +2 -1
  314. package/es/components/Note/Note.tokens.js +9 -1
  315. package/es/components/Note/Note.tokens.js.map +1 -1
  316. package/es/components/Pagination/Pagination.css +10 -10
  317. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +10 -10
  318. package/es/components/PaginationDots/PaginationDot.js +54 -0
  319. package/es/components/PaginationDots/PaginationDot.js.map +1 -0
  320. package/es/components/PaginationDots/PaginationDot_baul9c.css +2 -0
  321. package/es/components/PaginationDots/PaginationDots.js +29 -0
  322. package/es/components/PaginationDots/PaginationDots.js.map +1 -0
  323. package/es/components/PaginationDots/PaginationDots_fm2ha5.css +2 -0
  324. package/es/components/PaginationDots/SmartPaginationDots.css +5 -0
  325. package/es/components/PaginationDots/SmartPaginationDots.js +39 -0
  326. package/es/components/PaginationDots/SmartPaginationDots.js.map +1 -0
  327. package/es/components/PaginationDots/usePaginationDots.js +36 -0
  328. package/es/components/PaginationDots/usePaginationDots.js.map +1 -0
  329. package/es/components/Select/Select.css +10 -10
  330. package/es/components/Select/Select.tokens.js +23 -1
  331. package/es/components/Select/Select.tokens.js.map +1 -1
  332. package/es/components/Select/ui/Inner/Inner.css +10 -10
  333. package/es/components/Select/ui/Inner/ui/Item/Item.js +3 -1
  334. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  335. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +22 -13
  336. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  337. package/{cjs/components/Select/ui/Inner/ui/Item/Item.styles_1gk72bp.css → es/components/Select/ui/Inner/ui/Item/Item.styles_ir8fmi.css} +2 -2
  338. package/es/components/Select/ui/VirtualList/VirtualList.css +10 -10
  339. package/es/components/Table/Table.css +10 -10
  340. package/es/components/Table/ui/Cell/Cell.css +10 -10
  341. package/es/components/Table/ui/EditableCell/EditableCell.css +10 -10
  342. package/es/components/Table/ui/HeadCell/HeadCell.css +10 -10
  343. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +10 -10
  344. package/es/index.css +47 -44
  345. package/es/index.js +3 -0
  346. package/es/index.js.map +1 -1
  347. package/package.json +2 -2
  348. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +4 -13
  349. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +12 -3
  350. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  351. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +12 -3
  352. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +2 -2
  353. package/styled-components/cjs/components/Calendar/hooks/useMonths.js +3 -1
  354. package/styled-components/cjs/components/Calendar/hooks/useQuarters.js +4 -2
  355. package/styled-components/cjs/components/Calendar/hooks/useYears.js +3 -1
  356. package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +3 -6
  357. package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +4 -8
  358. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +2 -3
  359. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +2 -6
  360. package/styled-components/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +2 -3
  361. package/styled-components/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js +2 -6
  362. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +2 -3
  363. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +2 -6
  364. package/styled-components/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +3 -3
  365. package/styled-components/cjs/components/Calendar/utils/calendarGridHelper.js +10 -3
  366. package/styled-components/cjs/components/Calendar/utils/getDateWithModification.js +28 -24
  367. package/styled-components/cjs/components/CodeField/CodeField.js +2 -2
  368. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +9 -12
  369. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +8 -2
  370. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.js +25 -9
  371. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +1 -1
  372. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +47 -3
  373. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +14 -2
  374. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.js +33 -6
  375. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  376. package/styled-components/cjs/components/Note/Note.js +17 -3
  377. package/styled-components/cjs/components/Note/Note.styles.js +14 -3
  378. package/styled-components/cjs/components/Note/Note.tokens.js +9 -1
  379. package/styled-components/cjs/components/PaginationDots/PaginationDot.js +33 -0
  380. package/styled-components/cjs/components/PaginationDots/PaginationDots.js +24 -0
  381. package/styled-components/cjs/components/PaginationDots/SmartPaginationDots.js +43 -0
  382. package/styled-components/cjs/components/PaginationDots/index.js +26 -0
  383. package/styled-components/cjs/components/PaginationDots/usePaginationDots.js +38 -0
  384. package/styled-components/cjs/components/Select/Select.tokens.js +2 -0
  385. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +3 -1
  386. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +21 -18
  387. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +37 -29
  388. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +4 -4
  389. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +4 -4
  390. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +4 -4
  391. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +6 -0
  392. package/styled-components/cjs/examples/plasma_b2c/components/Note/Note.config.js +4 -4
  393. package/styled-components/cjs/examples/plasma_b2c/components/Note/Note.stories.tsx +1 -0
  394. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +10 -10
  395. package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +37 -29
  396. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +4 -4
  397. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +4 -4
  398. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +4 -4
  399. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +8 -6
  400. package/styled-components/cjs/examples/plasma_web/components/Note/Note.config.js +4 -4
  401. package/styled-components/cjs/examples/plasma_web/components/Note/Note.stories.tsx +1 -0
  402. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +10 -10
  403. package/styled-components/cjs/index.js +11 -0
  404. package/styled-components/es/components/Calendar/Calendar.tokens.js +4 -13
  405. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +12 -3
  406. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  407. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +12 -3
  408. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +3 -3
  409. package/styled-components/es/components/Calendar/hooks/useMonths.js +3 -1
  410. package/styled-components/es/components/Calendar/hooks/useQuarters.js +4 -2
  411. package/styled-components/es/components/Calendar/hooks/useYears.js +3 -1
  412. package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.js +5 -8
  413. package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +3 -7
  414. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -5
  415. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +1 -5
  416. package/styled-components/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -5
  417. package/styled-components/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js +1 -5
  418. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -5
  419. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +1 -5
  420. package/styled-components/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +3 -3
  421. package/styled-components/es/components/Calendar/utils/calendarGridHelper.js +9 -2
  422. package/styled-components/es/components/Calendar/utils/getDateWithModification.js +28 -24
  423. package/styled-components/es/components/CodeField/CodeField.js +2 -2
  424. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +8 -11
  425. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +8 -2
  426. package/styled-components/es/components/DatePicker/RangeDate/RangeDate.js +26 -10
  427. package/styled-components/es/components/DatePicker/RangeDate/RangeDate.styles.js +2 -2
  428. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +46 -4
  429. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +15 -3
  430. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.js +34 -7
  431. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  432. package/styled-components/es/components/Note/Note.js +18 -4
  433. package/styled-components/es/components/Note/Note.styles.js +13 -2
  434. package/styled-components/es/components/Note/Note.tokens.js +9 -1
  435. package/styled-components/es/components/PaginationDots/PaginationDot.js +26 -0
  436. package/styled-components/es/components/PaginationDots/PaginationDots.js +18 -0
  437. package/styled-components/es/components/PaginationDots/SmartPaginationDots.js +36 -0
  438. package/styled-components/es/components/PaginationDots/index.js +3 -0
  439. package/styled-components/es/components/PaginationDots/usePaginationDots.js +32 -0
  440. package/styled-components/es/components/Select/Select.tokens.js +2 -0
  441. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +3 -1
  442. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +21 -18
  443. package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +37 -29
  444. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +4 -4
  445. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +4 -4
  446. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +4 -4
  447. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +6 -0
  448. package/styled-components/es/examples/plasma_b2c/components/Note/Note.config.js +4 -4
  449. package/styled-components/es/examples/plasma_b2c/components/Note/Note.stories.tsx +1 -0
  450. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +10 -10
  451. package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +37 -29
  452. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +4 -4
  453. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +4 -4
  454. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +4 -4
  455. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +8 -6
  456. package/styled-components/es/examples/plasma_web/components/Note/Note.config.js +4 -4
  457. package/styled-components/es/examples/plasma_web/components/Note/Note.stories.tsx +1 -0
  458. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +10 -10
  459. package/styled-components/es/index.js +1 -0
  460. package/types/components/Calendar/Calendar.tokens.d.ts +3 -12
  461. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  462. package/types/components/Calendar/Calendar.types.d.ts +4 -0
  463. package/types/components/Calendar/Calendar.types.d.ts.map +1 -1
  464. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts.map +1 -1
  465. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  466. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts.map +1 -1
  467. package/types/components/Calendar/CalendarDouble/CalendarDouble.styles.d.ts.map +1 -1
  468. package/types/components/Calendar/hooks/types.d.ts +7 -2
  469. package/types/components/Calendar/hooks/types.d.ts.map +1 -1
  470. package/types/components/Calendar/hooks/useMonths.d.ts +1 -1
  471. package/types/components/Calendar/hooks/useMonths.d.ts.map +1 -1
  472. package/types/components/Calendar/hooks/useQuarters.d.ts +1 -1
  473. package/types/components/Calendar/hooks/useQuarters.d.ts.map +1 -1
  474. package/types/components/Calendar/hooks/useYears.d.ts +1 -1
  475. package/types/components/Calendar/hooks/useYears.d.ts.map +1 -1
  476. package/types/components/Calendar/ui/CalendarDays/CalendarDays.d.ts.map +1 -1
  477. package/types/components/Calendar/ui/CalendarDays/CalendarDays.styles.d.ts +0 -1
  478. package/types/components/Calendar/ui/CalendarDays/CalendarDays.styles.d.ts.map +1 -1
  479. package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.d.ts.map +1 -1
  480. package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.d.ts +0 -1
  481. package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.d.ts.map +1 -1
  482. package/types/components/Calendar/ui/CalendarQuarters/CalendarQuarters.d.ts.map +1 -1
  483. package/types/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.d.ts +0 -1
  484. package/types/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.d.ts.map +1 -1
  485. package/types/components/Calendar/ui/CalendarYears/CalendarYears.d.ts.map +1 -1
  486. package/types/components/Calendar/ui/CalendarYears/CalendarYears.styles.d.ts +0 -1
  487. package/types/components/Calendar/ui/CalendarYears/CalendarYears.styles.d.ts.map +1 -1
  488. package/types/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.d.ts.map +1 -1
  489. package/types/components/Calendar/utils/calendarGridHelper.d.ts +1 -0
  490. package/types/components/Calendar/utils/calendarGridHelper.d.ts.map +1 -1
  491. package/types/components/Calendar/utils/getDateWithModification.d.ts.map +1 -1
  492. package/types/components/CodeField/CodeField.d.ts.map +1 -1
  493. package/types/components/DatePicker/DatePicker.tokens.d.ts +7 -10
  494. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  495. package/types/components/DatePicker/DatePickerBase.styles.d.ts +4 -1
  496. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
  497. package/types/components/DatePicker/DatePickerBase.types.d.ts +18 -0
  498. package/types/components/DatePicker/DatePickerBase.types.d.ts.map +1 -1
  499. package/types/components/DatePicker/RangeDate/RangeDate.d.ts +1 -1
  500. package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +1 -1
  501. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts.map +1 -1
  502. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts +1 -1
  503. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts.map +1 -1
  504. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts +16 -3
  505. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts.map +1 -1
  506. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts +12 -20
  507. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts.map +1 -1
  508. package/types/components/DatePicker/SingleDate/SingleDate.d.ts +1 -1
  509. package/types/components/DatePicker/SingleDate/SingleDate.d.ts.map +1 -1
  510. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  511. package/types/components/Note/Note.d.ts +4 -0
  512. package/types/components/Note/Note.d.ts.map +1 -1
  513. package/types/components/Note/Note.styles.d.ts +46 -1
  514. package/types/components/Note/Note.styles.d.ts.map +1 -1
  515. package/types/components/Note/Note.tokens.d.ts +8 -0
  516. package/types/components/Note/Note.tokens.d.ts.map +1 -1
  517. package/types/components/Note/Note.types.d.ts +8 -0
  518. package/types/components/Note/Note.types.d.ts.map +1 -1
  519. package/types/components/PaginationDots/PaginationDot.d.ts +21 -0
  520. package/types/components/PaginationDots/PaginationDot.d.ts.map +1 -0
  521. package/types/components/PaginationDots/PaginationDots.d.ts +15 -0
  522. package/types/components/PaginationDots/PaginationDots.d.ts.map +1 -0
  523. package/types/components/PaginationDots/SmartPaginationDots.d.ts +15 -0
  524. package/types/components/PaginationDots/SmartPaginationDots.d.ts.map +1 -0
  525. package/types/components/PaginationDots/index.d.ts +6 -0
  526. package/types/components/PaginationDots/index.d.ts.map +1 -0
  527. package/types/components/PaginationDots/usePaginationDots.d.ts +14 -0
  528. package/types/components/PaginationDots/usePaginationDots.d.ts.map +1 -0
  529. package/types/components/Select/Select.tokens.d.ts +2 -0
  530. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  531. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +3 -1
  532. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  533. package/types/index.d.ts +1 -0
  534. package/types/index.d.ts.map +1 -1
  535. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles_zk3a46.css +0 -2
  536. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles_1oq8sud.css +0 -3
  537. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1v3msg.css +0 -2
  538. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles_14gqhct.css +0 -2
  539. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_1d4ov6t.css +0 -2
  540. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles_1hkk03u.css +0 -4
  541. package/cjs/components/DatePicker/DatePickerBase.styles_1a5ddg3.css +0 -2
  542. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1fhuiqs.css +0 -2
  543. package/es/components/Calendar/CalendarBase/CalendarBase.styles_zk3a46.css +0 -2
  544. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles_1oq8sud.css +0 -3
  545. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1v3msg.css +0 -2
  546. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles_14gqhct.css +0 -2
  547. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_1d4ov6t.css +0 -2
  548. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles_1hkk03u.css +0 -4
  549. package/es/components/DatePicker/DatePickerBase.styles_1a5ddg3.css +0 -2
  550. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1fhuiqs.css +0 -2
@@ -828,6 +828,17 @@ Object.keys(_Carousel).forEach(function (key) {
828
828
  }
829
829
  });
830
830
  });
831
+ var _PaginationDots = /*#__PURE__*/require("./components/PaginationDots");
832
+ Object.keys(_PaginationDots).forEach(function (key) {
833
+ if (key === "default" || key === "__esModule") return;
834
+ if (key in exports && exports[key] === _PaginationDots[key]) return;
835
+ Object.defineProperty(exports, key, {
836
+ enumerable: true,
837
+ get: function get() {
838
+ return _PaginationDots[key];
839
+ }
840
+ });
841
+ });
831
842
  var _CodeField = /*#__PURE__*/require("./components/CodeField");
832
843
  Object.keys(_CodeField).forEach(function (key) {
833
844
  if (key === "default" || key === "__esModule") return;
@@ -13,7 +13,8 @@ export var classes = {
13
13
  hoveredItem: 'item-hovered',
14
14
  doubleHeaderDate: 'double-header-date',
15
15
  doubleHeaderLastDateWrapper: 'double-header--last-date-wrapper',
16
- disabledPrevButton: 'disabled-prev-button'
16
+ disabledPrevButton: 'disabled-prev-button',
17
+ stretched: 'plasma-calendar-stretched'
17
18
  };
18
19
  export var innerTokens = {
19
20
  dateStructureFontFamily: '--plasma-calendar-date-structure-font-family',
@@ -23,20 +24,16 @@ export var innerTokens = {
23
24
  dateStructureFontLetterSpacing: '--plasma-calendar-date-structure-font-letter-spacing',
24
25
  dateStructureFontLineHeight: '--plasma-calendar-date-structure-line-height',
25
26
  dateStructureSelectedFontWeight: '--plasma-calendar-date-structure-selected-font-weight',
26
- dateStructureWidth: '--plasma-calendar-date-structure-width',
27
- dateStructureHeight: '--plasma-calendar-date-structure-height',
28
27
  dateStructureBorderRadius: '--plasma-calendar-date-structure-border-radius'
29
28
  };
30
29
  export var tokens = {
31
- calendarWidth: '--plasma-calendar-width',
32
- calendarHeight: '--plasma-calendar-height',
30
+ calendarContainerWidth: '--plasma-calendar-container-width',
31
+ calendarContainerHeight: '--plasma-calendar-container-height',
33
32
  calendarBorderWidth: '--plasma-calendar-border-width',
34
33
  calendarBorderColor: '--plasma-calendar-border-color',
35
34
  /* Токены размера сетки лет */
36
35
  calendarYearsPadding: '--plasma-calendar-years-padding',
37
36
  calendarYearItemBorderRadius: '--plasma-calendar-year-item-border-radius',
38
- calendarYearItemWidth: '--plasma-calendar-year-item-width',
39
- calendarYearItemHeight: '--plasma-calendar-year-item-height',
40
37
  calendarYearFontFamily: '--plasma-calendar-year-font-family',
41
38
  calendarYearFontSize: '--plasma-calendar-year-font-size',
42
39
  calendarYearFontStyle: '--plasma-calendar-year-font-style',
@@ -47,8 +44,6 @@ export var tokens = {
47
44
  /* Токены размера сетки дней */
48
45
  calendarQuartersPadding: '--plasma-calendar-quarters-padding',
49
46
  calendarQuarterItemBorderRadius: '--plasma-calendar-quarter-item-border-radius',
50
- calendarQuarterItemWidth: '--plasma-calendar-quarter-item-width',
51
- calendarQuarterItemHeight: '--plasma-calendar-quarter-item-height',
52
47
  calendarQuarterFontFamily: '--plasma-calendar-quarter-font-family',
53
48
  calendarQuarterFontSize: '--plasma-calendar-quarter-font-size',
54
49
  calendarQuarterFontStyle: '--plasma-calendar-quarter-font-style',
@@ -59,8 +54,6 @@ export var tokens = {
59
54
  /* Токены размера сетки месяцев */
60
55
  calendarMonthsPadding: '--plasma-calendar-months-padding',
61
56
  calendarMonthItemBorderRadius: '--plasma-calendar-month-item-border-radius',
62
- calendarMonthItemWidth: '--plasma-calendar-month-item-width',
63
- calendarMonthItemHeight: '--plasma-calendar-month-item-height',
64
57
  calendarMonthFontFamily: '--plasma-calendar-month-font-family',
65
58
  calendarMonthFontSize: '--plasma-calendar-month-font-size',
66
59
  calendarMonthFontStyle: '--plasma-calendar-month-font-style',
@@ -71,8 +64,6 @@ export var tokens = {
71
64
  /* Токены размера сетки дней */
72
65
  calendarDaysPadding: '--plasma-calendar-days-padding',
73
66
  calendarDayItemBorderRadius: '--plasma-calendar-day-item-border-radius',
74
- calendarDayItemWidth: '--plasma-calendar-day-item-width',
75
- calendarDayItemHeight: '--plasma-calendar-day-item-height',
76
67
  calendarDayFontFamily: '--plasma-calendar-day-font-family',
77
68
  calendarDayFontSize: '--plasma-calendar-day-font-size',
78
69
  calendarDayFontStyle: '--plasma-calendar-day-font-style',
@@ -1,5 +1,9 @@
1
- var _excluded = ["value", "min", "max", "renderFromDate", "includeEdgeDates", "type", "eventList", "disabledList", "eventMonthList", "disabledMonthList", "eventQuarterList", "disabledQuarterList", "eventYearList", "disabledYearList", "onChangeValue", "locale"];
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ var _excluded = ["className", "value", "min", "max", "renderFromDate", "includeEdgeDates", "type", "eventList", "disabledList", "eventMonthList", "disabledMonthList", "eventQuarterList", "disabledQuarterList", "eventYearList", "disabledYearList", "locale", "stretched", "onChangeValue"];
2
3
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
3
7
  function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
4
8
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
9
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
@@ -9,11 +13,13 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
9
13
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
10
14
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
11
15
  import React, { useCallback, useMemo, useReducer, useState, forwardRef, useEffect } from 'react';
16
+ import cls from 'classnames';
12
17
  import { getInitialState, reducer, sizeMap } from "../store/reducer";
13
18
  import { ActionType, CalendarState } from "../store/types";
14
19
  import { I18N, isValueUpdate } from "../utils";
15
20
  import { useKeyNavigation, useCalendarNavigation, useCalendarDateChange } from "../hooks";
16
21
  import { CalendarDays, CalendarHeader, CalendarMonths, CalendarQuarters, CalendarYears } from "../ui";
22
+ import { classes } from "../Calendar.tokens";
17
23
  import { base as viewCSS } from "./variations/_view/base";
18
24
  import { base as sizeCSS } from "./variations/_size/base";
19
25
  import { IsOutOfRange, StyledCalendar } from "./CalendarBase.styles";
@@ -22,7 +28,8 @@ import { IsOutOfRange, StyledCalendar } from "./CalendarBase.styles";
22
28
  */
23
29
  export var calendarBaseRoot = function calendarBaseRoot(Root) {
24
30
  return /*#__PURE__*/forwardRef(function (_ref, outerRootRef) {
25
- var externalValue = _ref.value,
31
+ var className = _ref.className,
32
+ externalValue = _ref.value,
26
33
  minDate = _ref.min,
27
34
  maxDate = _ref.max,
28
35
  renderFromDate = _ref.renderFromDate,
@@ -37,9 +44,10 @@ export var calendarBaseRoot = function calendarBaseRoot(Root) {
37
44
  disabledQuarterList = _ref.disabledQuarterList,
38
45
  eventYearList = _ref.eventYearList,
39
46
  disabledYearList = _ref.disabledYearList,
40
- onChangeValue = _ref.onChangeValue,
41
47
  _ref$locale = _ref.locale,
42
48
  locale = _ref$locale === void 0 ? 'ru' : _ref$locale,
49
+ stretched = _ref.stretched,
50
+ onChangeValue = _ref.onChangeValue,
43
51
  rest = _objectWithoutProperties(_ref, _excluded);
44
52
  var _useMemo = useMemo(function () {
45
53
  return Array.isArray(externalValue) ? externalValue : [externalValue];
@@ -148,6 +156,7 @@ export var calendarBaseRoot = function calendarBaseRoot(Root) {
148
156
  }, [value]);
149
157
  return /*#__PURE__*/React.createElement(Root, _extends({
150
158
  ref: outerRootRef,
159
+ className: cls(className, _defineProperty({}, classes.stretched, stretched)),
151
160
  "aria-label": I18N.selectDate[locale]
152
161
  }, rest), isOutOfRange && /*#__PURE__*/React.createElement(IsOutOfRange, {
153
162
  key: outOfRangeKey,
@@ -1,8 +1,8 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
3
3
  import { css } from '@emotion/react';
4
- import { tokens } from "../Calendar.tokens";
5
- export var StyledCalendar = /*#__PURE__*/css("position:relative;user-select:none;z-index:1;width:var(", tokens.calendarWidth, ");height:var(", tokens.calendarHeight, ");border:var(", tokens.calendarBorderWidth, ") solid var(", tokens.calendarBorderColor, ");box-sizing:border-box;;label:plasma-new-hope__StyledCalendar;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvQ2FsZW5kYXJCYXNlL0NhbGVuZGFyQmFzZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS2lDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvQ2FsZW5kYXJCYXNlL0NhbGVuZGFyQmFzZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uL0NhbGVuZGFyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRDYWxlbmRhciA9IGNzc2BcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdXNlci1zZWxlY3Q6IG5vbmU7XG4gICAgei1pbmRleDogMTtcblxuICAgIHdpZHRoOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJXaWR0aH0pO1xuICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLmNhbGVuZGFySGVpZ2h0fSk7XG4gICAgYm9yZGVyOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJCb3JkZXJXaWR0aH0pIHNvbGlkIHZhcigke3Rva2Vucy5jYWxlbmRhckJvcmRlckNvbG9yfSk7XG4gICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbmA7XG5cbmV4cG9ydCBjb25zdCBJc091dE9mUmFuZ2UgPSBzdHlsZWQuZGl2YFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICBwYWRkaW5nOiAwO1xuICAgIG1hcmdpbjogMDtcbiAgICBoZWlnaHQ6IDA7XG4gICAgd2lkdGg6IDA7XG4gICAgYm9yZGVyOiAwO1xuICAgIG92ZXJmbG93OiBoaWRkZW47XG4gICAgY2xpcDogcmVjdCgwIDAgMCAwKTtcbmA7XG4iXX0= */"));
4
+ import { classes, tokens } from "../Calendar.tokens";
5
+ export var StyledCalendar = /*#__PURE__*/css("position:relative;user-select:none;z-index:1;width:var(", tokens.calendarContainerWidth, ");height:var(", tokens.calendarContainerHeight, ");border:var(", tokens.calendarBorderWidth, ") solid var(", tokens.calendarBorderColor, ");box-sizing:border-box;display:flex;flex-direction:column;&.", classes.stretched, "{width:100%;height:100%;};label:plasma-new-hope__StyledCalendar;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvQ2FsZW5kYXJCYXNlL0NhbGVuZGFyQmFzZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS2lDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvQ2FsZW5kYXJCYXNlL0NhbGVuZGFyQmFzZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uL0NhbGVuZGFyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRDYWxlbmRhciA9IGNzc2BcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdXNlci1zZWxlY3Q6IG5vbmU7XG4gICAgei1pbmRleDogMTtcblxuICAgIHdpZHRoOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJDb250YWluZXJXaWR0aH0pO1xuICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLmNhbGVuZGFyQ29udGFpbmVySGVpZ2h0fSk7XG4gICAgYm9yZGVyOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJCb3JkZXJXaWR0aH0pIHNvbGlkIHZhcigke3Rva2Vucy5jYWxlbmRhckJvcmRlckNvbG9yfSk7XG4gICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG5cbiAgICAmLiR7Y2xhc3Nlcy5zdHJldGNoZWR9IHtcbiAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG5gO1xuXG5leHBvcnQgY29uc3QgSXNPdXRPZlJhbmdlID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgcGFkZGluZzogMDtcbiAgICBtYXJnaW46IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdpZHRoOiAwO1xuICAgIGJvcmRlcjogMDtcbiAgICBvdmVyZmxvdzogaGlkZGVuO1xuICAgIGNsaXA6IHJlY3QoMCAwIDAgMCk7XG5gO1xuIl19 */"));
6
6
  export var IsOutOfRange = /*#__PURE__*/_styled("div", {
7
7
  target: "ejb438m0",
8
8
  label: "plasma-new-hope__IsOutOfRange"
@@ -12,6 +12,6 @@ export var IsOutOfRange = /*#__PURE__*/_styled("div", {
12
12
  } : {
13
13
  name: "27ncmn",
14
14
  styles: "position:absolute;padding:0;margin:0;height:0;width:0;border:0;overflow:hidden;clip:rect(0 0 0 0)",
15
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvQ2FsZW5kYXJCYXNlL0NhbGVuZGFyQmFzZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZ0JzQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0NhbGVuZGFyL0NhbGVuZGFyQmFzZS9DYWxlbmRhckJhc2Uuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi9DYWxlbmRhci50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQ2FsZW5kYXIgPSBjc3NgXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIHVzZXItc2VsZWN0OiBub25lO1xuICAgIHotaW5kZXg6IDE7XG5cbiAgICB3aWR0aDogdmFyKCR7dG9rZW5zLmNhbGVuZGFyV2lkdGh9KTtcbiAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5jYWxlbmRhckhlaWdodH0pO1xuICAgIGJvcmRlcjogdmFyKCR7dG9rZW5zLmNhbGVuZGFyQm9yZGVyV2lkdGh9KSBzb2xpZCB2YXIoJHt0b2tlbnMuY2FsZW5kYXJCb3JkZXJDb2xvcn0pO1xuICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG5gO1xuXG5leHBvcnQgY29uc3QgSXNPdXRPZlJhbmdlID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgcGFkZGluZzogMDtcbiAgICBtYXJnaW46IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdpZHRoOiAwO1xuICAgIGJvcmRlcjogMDtcbiAgICBvdmVyZmxvdzogaGlkZGVuO1xuICAgIGNsaXA6IHJlY3QoMCAwIDAgMCk7XG5gO1xuIl19 */",
15
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvQ2FsZW5kYXJCYXNlL0NhbGVuZGFyQmFzZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdUJzQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0NhbGVuZGFyL0NhbGVuZGFyQmFzZS9DYWxlbmRhckJhc2Uuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi9DYWxlbmRhci50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQ2FsZW5kYXIgPSBjc3NgXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIHVzZXItc2VsZWN0OiBub25lO1xuICAgIHotaW5kZXg6IDE7XG5cbiAgICB3aWR0aDogdmFyKCR7dG9rZW5zLmNhbGVuZGFyQ29udGFpbmVyV2lkdGh9KTtcbiAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5jYWxlbmRhckNvbnRhaW5lckhlaWdodH0pO1xuICAgIGJvcmRlcjogdmFyKCR7dG9rZW5zLmNhbGVuZGFyQm9yZGVyV2lkdGh9KSBzb2xpZCB2YXIoJHt0b2tlbnMuY2FsZW5kYXJCb3JkZXJDb2xvcn0pO1xuICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXG4gICAgJi4ke2NsYXNzZXMuc3RyZXRjaGVkfSB7XG4gICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IElzT3V0T2ZSYW5nZSA9IHN0eWxlZC5kaXZgXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHBhZGRpbmc6IDA7XG4gICAgbWFyZ2luOiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aWR0aDogMDtcbiAgICBib3JkZXI6IDA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICBjbGlwOiByZWN0KDAgMCAwIDApO1xuYDtcbiJdfQ== */",
16
16
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
17
17
  });
@@ -1,6 +1,10 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
1
2
  var _StyledSeparator, _StyledSeparator2, _StyledSeparator3, _StyledSeparator4;
2
- var _excluded = ["value", "min", "max", "renderFromDate", "includeEdgeDates", "type", "eventList", "disabledList", "eventMonthList", "disabledMonthList", "eventQuarterList", "disabledQuarterList", "eventYearList", "disabledYearList", "onChangeValue", "locale"];
3
+ var _excluded = ["className", "value", "min", "max", "renderFromDate", "includeEdgeDates", "type", "eventList", "disabledList", "eventMonthList", "disabledMonthList", "eventQuarterList", "disabledQuarterList", "eventYearList", "disabledYearList", "locale", "stretched", "onChangeValue"];
3
4
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
5
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
7
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
8
  function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
5
9
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
6
10
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
@@ -10,12 +14,14 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
10
14
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
11
15
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
12
16
  import React, { useState, useCallback, useMemo, forwardRef, useEffect, useReducer } from 'react';
17
+ import cls from 'classnames';
13
18
  import { YEAR_RENDER_COUNT, getNextDate, isValueUpdate, I18N } from "../utils";
14
19
  import { useKeyNavigation, useCalendarNavigation, useCalendarDateChange } from "../hooks";
15
20
  import { CalendarDays, CalendarHeader, CalendarMonths, CalendarQuarters, CalendarYears } from "../ui";
16
21
  import { getInitialState, reducer, sizeMap } from "../store/reducer";
17
22
  import { ActionType, CalendarState } from "../store/types";
18
23
  import { IsOutOfRange } from "../CalendarBase/CalendarBase.styles";
24
+ import { classes } from "../Calendar.tokens";
19
25
  import { base as viewCSS } from "./variations/_view/base";
20
26
  import { StyledCalendar, StyledSeparator, StyledWrapper } from "./CalendarDouble.styles";
21
27
  /**
@@ -23,7 +29,8 @@ import { StyledCalendar, StyledSeparator, StyledWrapper } from "./CalendarDouble
23
29
  */
24
30
  export var calendarDoubleRoot = function calendarDoubleRoot(Root) {
25
31
  return /*#__PURE__*/forwardRef(function (_ref, outerRootRef) {
26
- var externalValue = _ref.value,
32
+ var className = _ref.className,
33
+ externalValue = _ref.value,
27
34
  minDate = _ref.min,
28
35
  maxDate = _ref.max,
29
36
  renderFromDate = _ref.renderFromDate,
@@ -38,9 +45,10 @@ export var calendarDoubleRoot = function calendarDoubleRoot(Root) {
38
45
  disabledQuarterList = _ref.disabledQuarterList,
39
46
  eventYearList = _ref.eventYearList,
40
47
  disabledYearList = _ref.disabledYearList,
41
- onChangeValue = _ref.onChangeValue,
42
48
  _ref$locale = _ref.locale,
43
49
  locale = _ref$locale === void 0 ? 'ru' : _ref$locale,
50
+ stretched = _ref.stretched,
51
+ onChangeValue = _ref.onChangeValue,
44
52
  rest = _objectWithoutProperties(_ref, _excluded);
45
53
  var _useMemo = useMemo(function () {
46
54
  return Array.isArray(externalValue) ? externalValue : [externalValue];
@@ -205,6 +213,7 @@ export var calendarDoubleRoot = function calendarDoubleRoot(Root) {
205
213
  }, [date, calendarState]);
206
214
  return /*#__PURE__*/React.createElement(Root, _extends({
207
215
  ref: outerRootRef,
216
+ className: cls(className, _defineProperty({}, classes.stretched, stretched)),
208
217
  "aria-label": I18N.selectDate[locale]
209
218
  }, rest), isOutOfRange && /*#__PURE__*/React.createElement(IsOutOfRange, {
210
219
  key: outOfRangeKey,
@@ -1,21 +1,21 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
3
3
  import { css } from '@emotion/react';
4
- import { tokens } from "../Calendar.tokens";
5
- export var StyledCalendar = /*#__PURE__*/css("position:relative;user-select:none;z-index:1;display:flex;flex-direction:column;width:var(", tokens.calendarWidth, ");height:var(", tokens.calendarHeight, ");;label:plasma-new-hope__StyledCalendar;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvQ2FsZW5kYXJEb3VibGUvQ2FsZW5kYXJEb3VibGUuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUtpQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0NhbGVuZGFyL0NhbGVuZGFyRG91YmxlL0NhbGVuZGFyRG91YmxlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vQ2FsZW5kYXIudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZENhbGVuZGFyID0gY3NzYFxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICB1c2VyLXNlbGVjdDogbm9uZTtcbiAgICB6LWluZGV4OiAxO1xuXG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXG4gICAgd2lkdGg6IHZhcigke3Rva2Vucy5jYWxlbmRhcldpZHRofSk7XG4gICAgaGVpZ2h0OiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJIZWlnaHR9KTtcbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRTZXBhcmF0b3IgPSBzdHlsZWQuZGl2YFxuICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5jYWxlbmRhclNlcGFyYXRvckJhY2tncm91bmR9KTtcbiAgICBtaW4td2lkdGg6IDAuMDYzcmVtO1xuICAgIG1hcmdpbjogMC41cmVtIDFyZW0gMCAxcmVtO1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICAgIGRpc3BsYXk6IGZsZXg7XG5gO1xuIl19 */"));
4
+ import { classes, tokens } from "../Calendar.tokens";
5
+ export var StyledCalendar = /*#__PURE__*/css("position:relative;user-select:none;z-index:1;display:flex;flex-direction:column;width:var(", tokens.calendarContainerWidth, ");height:var(", tokens.calendarContainerHeight, ");&.", classes.stretched, "{width:100%;height:100%;};label:plasma-new-hope__StyledCalendar;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvQ2FsZW5kYXJEb3VibGUvQ2FsZW5kYXJEb3VibGUuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUtpQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0NhbGVuZGFyL0NhbGVuZGFyRG91YmxlL0NhbGVuZGFyRG91YmxlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vQ2FsZW5kYXIudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZENhbGVuZGFyID0gY3NzYFxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICB1c2VyLXNlbGVjdDogbm9uZTtcbiAgICB6LWluZGV4OiAxO1xuXG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuXG4gICAgd2lkdGg6IHZhcigke3Rva2Vucy5jYWxlbmRhckNvbnRhaW5lcldpZHRofSk7XG4gICAgaGVpZ2h0OiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJDb250YWluZXJIZWlnaHR9KTtcblxuICAgICYuJHtjbGFzc2VzLnN0cmV0Y2hlZH0ge1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgaGVpZ2h0OiAxMDAlO1xuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRTZXBhcmF0b3IgPSBzdHlsZWQuZGl2YFxuICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5jYWxlbmRhclNlcGFyYXRvckJhY2tncm91bmR9KTtcbiAgICBtaW4td2lkdGg6IDAuMDYzcmVtO1xuICAgIG1hcmdpbjogMC41cmVtIDFyZW0gMCAxcmVtO1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgaGVpZ2h0OiAxMDAlO1xuYDtcbiJdfQ== */"));
6
6
  export var StyledSeparator = /*#__PURE__*/_styled("div", {
7
7
  target: "e18wrrje1",
8
8
  label: "plasma-new-hope__StyledSeparator"
9
- })("background-color:var(", tokens.calendarSeparatorBackground, ");min-width:0.063rem;margin:0.5rem 1rem 0 1rem;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvQ2FsZW5kYXJEb3VibGUvQ2FsZW5kYXJEb3VibGUuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlCeUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9DYWxlbmRhci9DYWxlbmRhckRvdWJsZS9DYWxlbmRhckRvdWJsZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uL0NhbGVuZGFyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRDYWxlbmRhciA9IGNzc2BcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdXNlci1zZWxlY3Q6IG5vbmU7XG4gICAgei1pbmRleDogMTtcblxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgIHdpZHRoOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJXaWR0aH0pO1xuICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLmNhbGVuZGFySGVpZ2h0fSk7XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkU2VwYXJhdG9yID0gc3R5bGVkLmRpdmBcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJTZXBhcmF0b3JCYWNrZ3JvdW5kfSk7XG4gICAgbWluLXdpZHRoOiAwLjA2M3JlbTtcbiAgICBtYXJnaW46IDAuNXJlbSAxcmVtIDAgMXJlbTtcbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBmbGV4O1xuYDtcbiJdfQ== */"));
9
+ })("background-color:var(", tokens.calendarSeparatorBackground, ");min-width:0.063rem;margin:0.5rem 1rem 0 1rem;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvQ2FsZW5kYXJEb3VibGUvQ2FsZW5kYXJEb3VibGUuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXNCeUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9DYWxlbmRhci9DYWxlbmRhckRvdWJsZS9DYWxlbmRhckRvdWJsZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uL0NhbGVuZGFyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRDYWxlbmRhciA9IGNzc2BcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdXNlci1zZWxlY3Q6IG5vbmU7XG4gICAgei1pbmRleDogMTtcblxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgIHdpZHRoOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJDb250YWluZXJXaWR0aH0pO1xuICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLmNhbGVuZGFyQ29udGFpbmVySGVpZ2h0fSk7XG5cbiAgICAmLiR7Y2xhc3Nlcy5zdHJldGNoZWR9IHtcbiAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkU2VwYXJhdG9yID0gc3R5bGVkLmRpdmBcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJTZXBhcmF0b3JCYWNrZ3JvdW5kfSk7XG4gICAgbWluLXdpZHRoOiAwLjA2M3JlbTtcbiAgICBtYXJnaW46IDAuNXJlbSAxcmVtIDAgMXJlbTtcbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGhlaWdodDogMTAwJTtcbmA7XG4iXX0= */"));
10
10
  export var StyledWrapper = /*#__PURE__*/_styled("div", {
11
11
  target: "e18wrrje0",
12
12
  label: "plasma-new-hope__StyledWrapper"
13
13
  })(process.env.NODE_ENV === "production" ? {
14
- name: "zjik7",
15
- styles: "display:flex"
14
+ name: "15currb",
15
+ styles: "display:flex;height:100%"
16
16
  } : {
17
- name: "zjik7",
18
- styles: "display:flex",
19
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvQ2FsZW5kYXJEb3VibGUvQ2FsZW5kYXJEb3VibGUuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCdUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9DYWxlbmRhci9DYWxlbmRhckRvdWJsZS9DYWxlbmRhckRvdWJsZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uL0NhbGVuZGFyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRDYWxlbmRhciA9IGNzc2BcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdXNlci1zZWxlY3Q6IG5vbmU7XG4gICAgei1pbmRleDogMTtcblxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgIHdpZHRoOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJXaWR0aH0pO1xuICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLmNhbGVuZGFySGVpZ2h0fSk7XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkU2VwYXJhdG9yID0gc3R5bGVkLmRpdmBcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJTZXBhcmF0b3JCYWNrZ3JvdW5kfSk7XG4gICAgbWluLXdpZHRoOiAwLjA2M3JlbTtcbiAgICBtYXJnaW46IDAuNXJlbSAxcmVtIDAgMXJlbTtcbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBmbGV4O1xuYDtcbiJdfQ== */",
17
+ name: "15currb",
18
+ styles: "display:flex;height:100%",
19
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvQ2FsZW5kYXJEb3VibGUvQ2FsZW5kYXJEb3VibGUuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTRCdUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9DYWxlbmRhci9DYWxlbmRhckRvdWJsZS9DYWxlbmRhckRvdWJsZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uL0NhbGVuZGFyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRDYWxlbmRhciA9IGNzc2BcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdXNlci1zZWxlY3Q6IG5vbmU7XG4gICAgei1pbmRleDogMTtcblxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcblxuICAgIHdpZHRoOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJDb250YWluZXJXaWR0aH0pO1xuICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLmNhbGVuZGFyQ29udGFpbmVySGVpZ2h0fSk7XG5cbiAgICAmLiR7Y2xhc3Nlcy5zdHJldGNoZWR9IHtcbiAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkU2VwYXJhdG9yID0gc3R5bGVkLmRpdmBcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJTZXBhcmF0b3JCYWNrZ3JvdW5kfSk7XG4gICAgbWluLXdpZHRoOiAwLjA2M3JlbTtcbiAgICBtYXJnaW46IDAuNXJlbSAxcmVtIDAgMXJlbTtcbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGhlaWdodDogMTAwJTtcbmA7XG4iXX0= */",
20
20
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
21
21
  });
@@ -12,7 +12,8 @@ export var useMonths = function useMonths(_ref) {
12
12
  min = _ref.min,
13
13
  max = _ref.max,
14
14
  _ref$locale = _ref.locale,
15
- locale = _ref$locale === void 0 ? 'ru' : _ref$locale;
15
+ locale = _ref$locale === void 0 ? 'ru' : _ref$locale,
16
+ includeEdgeDates = _ref.includeEdgeDates;
16
17
  return useMemo(function () {
17
18
  var months = SHORT_MONTH_NAME[locale].map(function (monthName, monthIndex) {
18
19
  return {
@@ -37,6 +38,7 @@ export var useMonths = function useMonths(_ref) {
37
38
  type: CalendarState.Months,
38
39
  min: min,
39
40
  max: max,
41
+ includeEdgeDates: includeEdgeDates,
40
42
  eventList: eventList,
41
43
  disabledList: disabledList
42
44
  });
@@ -1,5 +1,5 @@
1
1
  import { useMemo } from 'react';
2
- import { QUARTER_NAMES, getMatrix, isDateInRange, getDatesWithModifications, quarterDates, isSelectedMonth as isSelectedQuarter, isCurrentMonth as isCurrentQuarter } from "../utils";
2
+ import { QUARTER_NAMES, getMatrix, isDateInRange, getDatesWithModifications, quarterDates, isSelectedMonth as isSelectedQuarter, isCurrentQuarter } from "../utils";
3
3
  import { CalendarState } from "../store/types";
4
4
  /**
5
5
  * Хук для получения списка месяцев.
@@ -10,7 +10,8 @@ export var useQuarters = function useQuarters(_ref) {
10
10
  eventList = _ref.eventList,
11
11
  disabledList = _ref.disabledList,
12
12
  min = _ref.min,
13
- max = _ref.max;
13
+ max = _ref.max,
14
+ includeEdgeDates = _ref.includeEdgeDates;
14
15
  return useMemo(function () {
15
16
  var quarters = QUARTER_NAMES.map(function (quarterName) {
16
17
  var _quarterDates$quarter = quarterDates[quarterName],
@@ -36,6 +37,7 @@ export var useQuarters = function useQuarters(_ref) {
36
37
  type: CalendarState.Quarters,
37
38
  min: min,
38
39
  max: max,
40
+ includeEdgeDates: includeEdgeDates,
39
41
  eventList: eventList,
40
42
  disabledList: disabledList
41
43
  });
@@ -11,7 +11,8 @@ export var useYears = function useYears(_ref) {
11
11
  eventList = _ref.eventList,
12
12
  disabledList = _ref.disabledList,
13
13
  min = _ref.min,
14
- max = _ref.max;
14
+ max = _ref.max,
15
+ includeEdgeDates = _ref.includeEdgeDates;
15
16
  return useMemo(function () {
16
17
  // type-coverage:ignore-next-line
17
18
  var years = Array.from(Array(YEAR_RENDER_COUNT), function (_, i) {
@@ -36,6 +37,7 @@ export var useYears = function useYears(_ref) {
36
37
  type: CalendarState.Years,
37
38
  min: min,
38
39
  max: max,
40
+ includeEdgeDates: includeEdgeDates,
39
41
  eventList: eventList,
40
42
  disabledList: disabledList
41
43
  });
@@ -8,12 +8,12 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
8
8
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
9
9
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
10
10
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
11
- import React, { useCallback, useEffect, useRef } from 'react';
11
+ import React, { Fragment, useCallback, useEffect, useRef } from 'react';
12
12
  import { useDays } from "../../hooks";
13
13
  import { canSelectDate, FULL_DAY_NAMES, getInRange, getSideInRange, isSameDay, isSelectProcess, ROW_STEP, SHORT_DAY_NAMES, I18N } from "../../utils";
14
14
  import { DateStructureItem } from "../DateStructureItem/DateStructureItem";
15
15
  import { innerTokens, tokens } from "../../Calendar.tokens";
16
- import { StyledCalendarDays, StyledCalendarDaysHint, StyledFlex } from "./CalendarDays.styles";
16
+ import { StyledCalendarDays, StyledCalendarDaysHint } from "./CalendarDays.styles";
17
17
  /**
18
18
  * Компонент дней в календаре.
19
19
  */
@@ -51,7 +51,7 @@ export var CalendarDays = function CalendarDays(_ref) {
51
51
  var selectedRef = useRef(selected);
52
52
  var onSetSelectedRef = useRef(onSetSelected);
53
53
  var offset = isSecond ? ROW_STEP : 0;
54
- var dayItemTokens = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(innerTokens.dateStructureFontFamily), "var(".concat(tokens.calendarDayFontFamily, ")")), "".concat(innerTokens.dateStructureFontSize), "var(".concat(tokens.calendarDayFontSize, ")")), "".concat(innerTokens.dateStructureFontWeight), "var(".concat(tokens.calendarDayFontWeight, ")")), "".concat(innerTokens.dateStructureFontLineHeight), "var(".concat(tokens.calendarDayFontLineHeight, ")")), "".concat(innerTokens.dateStructureFontLetterSpacing), "var(".concat(tokens.calendarDayFontLetterSpacing, ")")), "".concat(innerTokens.dateStructureFontStyle), "var(".concat(tokens.calendarDayFontStyle, ")")), "".concat(innerTokens.dateStructureSelectedFontWeight), "var(".concat(tokens.calendarDaySelectedFontWeight, ")")), "".concat(innerTokens.dateStructureWidth), "var(".concat(tokens.calendarDayItemWidth, ")")), "".concat(innerTokens.dateStructureHeight), "var(".concat(tokens.calendarDayItemHeight, ")")), "".concat(innerTokens.dateStructureBorderRadius), "var(".concat(tokens.calendarDayItemBorderRadius, ")"));
54
+ var dayItemTokens = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(innerTokens.dateStructureFontFamily), "var(".concat(tokens.calendarDayFontFamily, ")")), "".concat(innerTokens.dateStructureFontSize), "var(".concat(tokens.calendarDayFontSize, ")")), "".concat(innerTokens.dateStructureFontWeight), "var(".concat(tokens.calendarDayFontWeight, ")")), "".concat(innerTokens.dateStructureFontLineHeight), "var(".concat(tokens.calendarDayFontLineHeight, ")")), "".concat(innerTokens.dateStructureFontLetterSpacing), "var(".concat(tokens.calendarDayFontLetterSpacing, ")")), "".concat(innerTokens.dateStructureFontStyle), "var(".concat(tokens.calendarDayFontStyle, ")")), "".concat(innerTokens.dateStructureSelectedFontWeight), "var(".concat(tokens.calendarDaySelectedFontWeight, ")")), "".concat(innerTokens.dateStructureBorderRadius), "var(".concat(tokens.calendarDayItemBorderRadius, ")"));
55
55
  var getSelectedDate = useCallback(function (event) {
56
56
  var _event$currentTarget$ = event.currentTarget.dataset,
57
57
  day = _event$currentTarget$.day,
@@ -108,9 +108,7 @@ export var CalendarDays = function CalendarDays(_ref) {
108
108
  onMouseLeave: handleMouseOutGrid
109
109
  }, /*#__PURE__*/React.createElement(StyledCalendarDaysHint, {
110
110
  id: "withShift"
111
- }, I18N.navigationByShift[locale]), /*#__PURE__*/React.createElement(StyledFlex, {
112
- role: "row"
113
- }, SHORT_DAY_NAMES[locale].map(function (name) {
111
+ }, I18N.navigationByShift[locale]), /*#__PURE__*/React.createElement(React.Fragment, null, SHORT_DAY_NAMES[locale].map(function (name) {
114
112
  return /*#__PURE__*/React.createElement(DateStructureItem, {
115
113
  role: "columnheader",
116
114
  "aria-label": FULL_DAY_NAMES[locale][name],
@@ -120,8 +118,7 @@ export var CalendarDays = function CalendarDays(_ref) {
120
118
  style: dayItemTokens
121
119
  }, name);
122
120
  })), days.map(function (day, i) {
123
- return /*#__PURE__*/React.createElement(StyledFlex, {
124
- role: "row",
121
+ return /*#__PURE__*/React.createElement(Fragment, {
125
122
  key: i
126
123
  }, day.map(function (_ref2, j) {
127
124
  var date = _ref2.date,
@@ -1,15 +1,10 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
3
- import { flexCenter } from "../../mixins";
4
3
  import { tokens } from "../../Calendar.tokens";
5
- export var StyledFlex = /*#__PURE__*/_styled("div", {
6
- target: "ehyu6ha2",
7
- label: "plasma-new-hope__StyledFlex"
8
- })(/*#__PURE__*/String(flexCenter), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvdWkvQ2FsZW5kYXJEYXlzL0NhbGVuZGFyRGF5cy5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS29DIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvdWkvQ2FsZW5kYXJEYXlzL0NhbGVuZGFyRGF5cy5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGZsZXhDZW50ZXIgfSBmcm9tICcuLi8uLi9taXhpbnMnO1xuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vQ2FsZW5kYXIudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEZsZXggPSBzdHlsZWQuZGl2YFxuICAgICR7U3RyaW5nKGZsZXhDZW50ZXIpfTtcbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRDYWxlbmRhckRheXMgPSBzdHlsZWQuZGl2YFxuICAgIG91dGxpbmU6IG5vbmU7XG5cbiAgICBwYWRkaW5nOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJEYXlzUGFkZGluZ30pO1xuICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQ2FsZW5kYXJEYXlzSGludCA9IHN0eWxlZC5zcGFuYFxuICAgIGRpc3BsYXk6IG5vbmU7XG5gO1xuIl19 */"));
9
4
  export var StyledCalendarDays = /*#__PURE__*/_styled("div", {
10
5
  target: "ehyu6ha1",
11
6
  label: "plasma-new-hope__StyledCalendarDays"
12
- })("outline:none;padding:var(", tokens.calendarDaysPadding, ");box-sizing:border-box;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvdWkvQ2FsZW5kYXJEYXlzL0NhbGVuZGFyRGF5cy5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUzRDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvdWkvQ2FsZW5kYXJEYXlzL0NhbGVuZGFyRGF5cy5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGZsZXhDZW50ZXIgfSBmcm9tICcuLi8uLi9taXhpbnMnO1xuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vQ2FsZW5kYXIudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEZsZXggPSBzdHlsZWQuZGl2YFxuICAgICR7U3RyaW5nKGZsZXhDZW50ZXIpfTtcbmA7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRDYWxlbmRhckRheXMgPSBzdHlsZWQuZGl2YFxuICAgIG91dGxpbmU6IG5vbmU7XG5cbiAgICBwYWRkaW5nOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJEYXlzUGFkZGluZ30pO1xuICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQ2FsZW5kYXJEYXlzSGludCA9IHN0eWxlZC5zcGFuYFxuICAgIGRpc3BsYXk6IG5vbmU7XG5gO1xuIl19 */"));
7
+ })("outline:none;padding:var(", tokens.calendarDaysPadding, ");box-sizing:border-box;display:grid;grid-template-columns:repeat(7, 1fr);grid-template-rows:repeat(7, 1fr);width:100%;height:100%;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvdWkvQ2FsZW5kYXJEYXlzL0NhbGVuZGFyRGF5cy5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSTRDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvdWkvQ2FsZW5kYXJEYXlzL0NhbGVuZGFyRGF5cy5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uL0NhbGVuZGFyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRDYWxlbmRhckRheXMgPSBzdHlsZWQuZGl2YFxuICAgIG91dGxpbmU6IG5vbmU7XG5cbiAgICBwYWRkaW5nOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJEYXlzUGFkZGluZ30pO1xuICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gICAgZGlzcGxheTogZ3JpZDtcbiAgICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IHJlcGVhdCg3LCAxZnIpO1xuICAgIGdyaWQtdGVtcGxhdGUtcm93czogcmVwZWF0KDcsIDFmcik7XG5cbiAgICB3aWR0aDogMTAwJTtcbiAgICBoZWlnaHQ6IDEwMCU7XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQ2FsZW5kYXJEYXlzSGludCA9IHN0eWxlZC5zcGFuYFxuICAgIGRpc3BsYXk6IG5vbmU7XG5gO1xuIl19 */"));
13
8
  export var StyledCalendarDaysHint = /*#__PURE__*/_styled("span", {
14
9
  target: "ehyu6ha0",
15
10
  label: "plasma-new-hope__StyledCalendarDaysHint"
@@ -19,6 +14,6 @@ export var StyledCalendarDaysHint = /*#__PURE__*/_styled("span", {
19
14
  } : {
20
15
  name: "eivff4",
21
16
  styles: "display:none",
22
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvdWkvQ2FsZW5kYXJEYXlzL0NhbGVuZGFyRGF5cy5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZ0JpRCIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0NhbGVuZGFyL3VpL0NhbGVuZGFyRGF5cy9DYWxlbmRhckRheXMuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBmbGV4Q2VudGVyIH0gZnJvbSAnLi4vLi4vbWl4aW5zJztcbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uL0NhbGVuZGFyLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRGbGV4ID0gc3R5bGVkLmRpdmBcbiAgICAke1N0cmluZyhmbGV4Q2VudGVyKX07XG5gO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQ2FsZW5kYXJEYXlzID0gc3R5bGVkLmRpdmBcbiAgICBvdXRsaW5lOiBub25lO1xuXG4gICAgcGFkZGluZzogdmFyKCR7dG9rZW5zLmNhbGVuZGFyRGF5c1BhZGRpbmd9KTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZENhbGVuZGFyRGF5c0hpbnQgPSBzdHlsZWQuc3BhbmBcbiAgICBkaXNwbGF5OiBub25lO1xuYDtcbiJdfQ== */",
17
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvdWkvQ2FsZW5kYXJEYXlzL0NhbGVuZGFyRGF5cy5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUJpRCIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0NhbGVuZGFyL3VpL0NhbGVuZGFyRGF5cy9DYWxlbmRhckRheXMuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8uLi9DYWxlbmRhci50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQ2FsZW5kYXJEYXlzID0gc3R5bGVkLmRpdmBcbiAgICBvdXRsaW5lOiBub25lO1xuXG4gICAgcGFkZGluZzogdmFyKCR7dG9rZW5zLmNhbGVuZGFyRGF5c1BhZGRpbmd9KTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGRpc3BsYXk6IGdyaWQ7XG4gICAgZ3JpZC10ZW1wbGF0ZS1jb2x1bW5zOiByZXBlYXQoNywgMWZyKTtcbiAgICBncmlkLXRlbXBsYXRlLXJvd3M6IHJlcGVhdCg3LCAxZnIpO1xuXG4gICAgd2lkdGg6IDEwMCU7XG4gICAgaGVpZ2h0OiAxMDAlO1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZENhbGVuZGFyRGF5c0hpbnQgPSBzdHlsZWQuc3BhbmBcbiAgICBkaXNwbGF5OiBub25lO1xuYDtcbiJdfQ== */",
23
18
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
24
19
  });
@@ -8,12 +8,12 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
8
8
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
9
9
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
10
10
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
11
- import React, { useCallback, useEffect, useRef } from 'react';
11
+ import React, { Fragment, useCallback, useEffect, useRef } from 'react';
12
12
  import { useMonths } from "../../hooks";
13
13
  import { innerTokens, tokens } from "../../Calendar.tokens";
14
14
  import { ROW_MONTH_STEP, canSelectDate, getInRange, getSideInRange, isSameDay, isSelectProcess } from "../../utils";
15
15
  import { DateStructureItem } from "../DateStructureItem/DateStructureItem";
16
- import { StyledCalendarMonths, StyledFlex } from "./CalendarMonths.styles";
16
+ import { StyledCalendarMonths } from "./CalendarMonths.styles";
17
17
 
18
18
  /**
19
19
  * Компонент месяцев в календаре.
@@ -52,7 +52,7 @@ export var CalendarMonths = function CalendarMonths(_ref) {
52
52
  var selectedRef = useRef(selected);
53
53
  var onSetSelectedRef = useRef(onSetSelected);
54
54
  var offset = isSecond ? ROW_MONTH_STEP : 0;
55
- var monthItemTokens = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(innerTokens.dateStructureFontFamily), "var(".concat(tokens.calendarMonthFontFamily, ")")), "".concat(innerTokens.dateStructureFontSize), "var(".concat(tokens.calendarMonthFontSize, ")")), "".concat(innerTokens.dateStructureFontWeight), "var(".concat(tokens.calendarMonthFontWeight, ")")), "".concat(innerTokens.dateStructureFontLineHeight), "var(".concat(tokens.calendarMonthFontLineHeight, ")")), "".concat(innerTokens.dateStructureFontLetterSpacing), "var(".concat(tokens.calendarMonthFontLetterSpacing, ")")), "".concat(innerTokens.dateStructureFontStyle), "var(".concat(tokens.calendarMonthFontStyle, ")")), "".concat(innerTokens.dateStructureSelectedFontWeight), "var(".concat(tokens.calendarMonthSelectedFontWeight, ")")), "".concat(innerTokens.dateStructureWidth), "var(".concat(tokens.calendarMonthItemWidth, ")")), "".concat(innerTokens.dateStructureHeight), "var(".concat(tokens.calendarMonthItemHeight, ")")), "".concat(innerTokens.dateStructureBorderRadius), "var(".concat(tokens.calendarMonthItemBorderRadius, ")"));
55
+ var monthItemTokens = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(innerTokens.dateStructureFontFamily), "var(".concat(tokens.calendarMonthFontFamily, ")")), "".concat(innerTokens.dateStructureFontSize), "var(".concat(tokens.calendarMonthFontSize, ")")), "".concat(innerTokens.dateStructureFontWeight), "var(".concat(tokens.calendarMonthFontWeight, ")")), "".concat(innerTokens.dateStructureFontLineHeight), "var(".concat(tokens.calendarMonthFontLineHeight, ")")), "".concat(innerTokens.dateStructureFontLetterSpacing), "var(".concat(tokens.calendarMonthFontLetterSpacing, ")")), "".concat(innerTokens.dateStructureFontStyle), "var(".concat(tokens.calendarMonthFontStyle, ")")), "".concat(innerTokens.dateStructureSelectedFontWeight), "var(".concat(tokens.calendarMonthSelectedFontWeight, ")")), "".concat(innerTokens.dateStructureBorderRadius), "var(".concat(tokens.calendarMonthItemBorderRadius, ")"));
56
56
  var getSelectedDate = useCallback(function (event) {
57
57
  var _event$currentTarget$ = event.currentTarget.dataset,
58
58
  day = _event$currentTarget$.day,
@@ -112,8 +112,7 @@ export var CalendarMonths = function CalendarMonths(_ref) {
112
112
  onKeyDown: onKeyDown,
113
113
  onMouseLeave: handleMouseOutGrid
114
114
  }, months.map(function (month, i) {
115
- return /*#__PURE__*/React.createElement(StyledFlex, {
116
- role: "row",
115
+ return /*#__PURE__*/React.createElement(Fragment, {
117
116
  key: i
118
117
  }, month.map(function (_ref2, j) {
119
118
  var monthName = _ref2.monthName,
@@ -1,11 +1,6 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  import { tokens } from "../../Calendar.tokens";
3
- import { flexCenter } from "../../mixins";
4
3
  export var StyledCalendarMonths = /*#__PURE__*/_styled("div", {
5
- target: "e1ifyd4q1",
6
- label: "plasma-new-hope__StyledCalendarMonths"
7
- })("padding:var(", tokens.calendarMonthsPadding, ");box-sizing:border-box;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvdWkvQ2FsZW5kYXJNb250aHMvQ2FsZW5kYXJNb250aHMuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUs4QyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0NhbGVuZGFyL3VpL0NhbGVuZGFyTW9udGhzL0NhbGVuZGFyTW9udGhzLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vQ2FsZW5kYXIudG9rZW5zJztcbmltcG9ydCB7IGZsZXhDZW50ZXIgfSBmcm9tICcuLi8uLi9taXhpbnMnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQ2FsZW5kYXJNb250aHMgPSBzdHlsZWQuZGl2YFxuICAgIHBhZGRpbmc6IHZhcigke3Rva2Vucy5jYWxlbmRhck1vbnRoc1BhZGRpbmd9KTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEZsZXggPSBzdHlsZWQuZGl2YFxuICAgICR7U3RyaW5nKGZsZXhDZW50ZXIpfTtcbmA7XG4iXX0= */"));
8
- export var StyledFlex = /*#__PURE__*/_styled("div", {
9
4
  target: "e1ifyd4q0",
10
- label: "plasma-new-hope__StyledFlex"
11
- })(/*#__PURE__*/String(flexCenter), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvdWkvQ2FsZW5kYXJNb250aHMvQ2FsZW5kYXJNb250aHMuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVVvQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0NhbGVuZGFyL3VpL0NhbGVuZGFyTW9udGhzL0NhbGVuZGFyTW9udGhzLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vQ2FsZW5kYXIudG9rZW5zJztcbmltcG9ydCB7IGZsZXhDZW50ZXIgfSBmcm9tICcuLi8uLi9taXhpbnMnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQ2FsZW5kYXJNb250aHMgPSBzdHlsZWQuZGl2YFxuICAgIHBhZGRpbmc6IHZhcigke3Rva2Vucy5jYWxlbmRhck1vbnRoc1BhZGRpbmd9KTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEZsZXggPSBzdHlsZWQuZGl2YFxuICAgICR7U3RyaW5nKGZsZXhDZW50ZXIpfTtcbmA7XG4iXX0= */"));
5
+ label: "plasma-new-hope__StyledCalendarMonths"
6
+ })("padding:var(", tokens.calendarMonthsPadding, ");box-sizing:border-box;display:grid;grid-template-columns:repeat(3, 1fr);grid-template-rows:repeat(4, 1fr);width:100%;height:100%;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvdWkvQ2FsZW5kYXJNb250aHMvQ2FsZW5kYXJNb250aHMuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUk4QyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0NhbGVuZGFyL3VpL0NhbGVuZGFyTW9udGhzL0NhbGVuZGFyTW9udGhzLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vQ2FsZW5kYXIudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZENhbGVuZGFyTW9udGhzID0gc3R5bGVkLmRpdmBcbiAgICBwYWRkaW5nOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJNb250aHNQYWRkaW5nfSk7XG4gICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcblxuICAgIGRpc3BsYXk6IGdyaWQ7XG4gICAgZ3JpZC10ZW1wbGF0ZS1jb2x1bW5zOiByZXBlYXQoMywgMWZyKTtcbiAgICBncmlkLXRlbXBsYXRlLXJvd3M6IHJlcGVhdCg0LCAxZnIpO1xuXG4gICAgd2lkdGg6IDEwMCU7XG4gICAgaGVpZ2h0OiAxMDAlO1xuYDtcbiJdfQ== */"));
@@ -8,12 +8,12 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
8
8
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
9
9
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
10
10
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
11
- import React, { useCallback, useEffect, useRef } from 'react';
11
+ import React, { Fragment, useCallback, useEffect, useRef } from 'react';
12
12
  import { useQuarters } from "../../hooks";
13
13
  import { innerTokens, tokens } from "../../Calendar.tokens";
14
14
  import { ROW_QUARTER_STEP, canSelectDate, getInRange, getSideInRange, isSameDay, isSelectProcess } from "../../utils";
15
15
  import { DateStructureItem } from "../DateStructureItem/DateStructureItem";
16
- import { StyledCalendarQuarters, StyledFlex } from "./CalendarQuarters.styles";
16
+ import { StyledCalendarQuarters } from "./CalendarQuarters.styles";
17
17
 
18
18
  /**
19
19
  * Компонент кварталов в календаре.
@@ -50,7 +50,7 @@ export var CalendarQuarters = function CalendarQuarters(_ref) {
50
50
  var selectedRef = useRef(selected);
51
51
  var onSetSelectedRef = useRef(onSetSelected);
52
52
  var offset = isSecond ? ROW_QUARTER_STEP : 0;
53
- var quarterItemTokens = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(innerTokens.dateStructureFontFamily), "var(".concat(tokens.calendarQuarterFontFamily, ")")), "".concat(innerTokens.dateStructureFontSize), "var(".concat(tokens.calendarQuarterFontSize, ")")), "".concat(innerTokens.dateStructureFontWeight), "var(".concat(tokens.calendarQuarterFontWeight, ")")), "".concat(innerTokens.dateStructureFontLineHeight), "var(".concat(tokens.calendarQuarterFontLineHeight, ")")), "".concat(innerTokens.dateStructureFontLetterSpacing), "var(".concat(tokens.calendarQuarterFontLetterSpacing, ")")), "".concat(innerTokens.dateStructureFontStyle), "var(".concat(tokens.calendarQuarterFontStyle, ")")), "".concat(innerTokens.dateStructureSelectedFontWeight), "var(".concat(tokens.calendarQuarterSelectedFontWeight, ")")), "".concat(innerTokens.dateStructureWidth), "var(".concat(tokens.calendarQuarterItemWidth, ")")), "".concat(innerTokens.dateStructureHeight), "var(".concat(tokens.calendarQuarterItemHeight, ")")), "".concat(innerTokens.dateStructureBorderRadius), "var(".concat(tokens.calendarQuarterItemBorderRadius, ")"));
53
+ var quarterItemTokens = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(innerTokens.dateStructureFontFamily), "var(".concat(tokens.calendarQuarterFontFamily, ")")), "".concat(innerTokens.dateStructureFontSize), "var(".concat(tokens.calendarQuarterFontSize, ")")), "".concat(innerTokens.dateStructureFontWeight), "var(".concat(tokens.calendarQuarterFontWeight, ")")), "".concat(innerTokens.dateStructureFontLineHeight), "var(".concat(tokens.calendarQuarterFontLineHeight, ")")), "".concat(innerTokens.dateStructureFontLetterSpacing), "var(".concat(tokens.calendarQuarterFontLetterSpacing, ")")), "".concat(innerTokens.dateStructureFontStyle), "var(".concat(tokens.calendarQuarterFontStyle, ")")), "".concat(innerTokens.dateStructureSelectedFontWeight), "var(".concat(tokens.calendarQuarterSelectedFontWeight, ")")), "".concat(innerTokens.dateStructureBorderRadius), "var(".concat(tokens.calendarQuarterItemBorderRadius, ")"));
54
54
  var getSelectedDate = useCallback(function (event) {
55
55
  var _event$currentTarget$ = event.currentTarget.dataset,
56
56
  day = _event$currentTarget$.day,
@@ -110,8 +110,7 @@ export var CalendarQuarters = function CalendarQuarters(_ref) {
110
110
  onKeyDown: onKeyDown,
111
111
  onMouseLeave: handleMouseOutGrid
112
112
  }, quarters.map(function (quarter, i) {
113
- return /*#__PURE__*/React.createElement(StyledFlex, {
114
- role: "row",
113
+ return /*#__PURE__*/React.createElement(Fragment, {
115
114
  key: i
116
115
  }, quarter.map(function (_ref2, j) {
117
116
  var quarterName = _ref2.quarterName,
@@ -1,11 +1,6 @@
1
1
  import _styled from "@emotion/styled/base";
2
2
  import { tokens } from "../../Calendar.tokens";
3
- import { flexCenter } from "../../mixins";
4
3
  export var StyledCalendarQuarters = /*#__PURE__*/_styled("div", {
5
- target: "e1upfrix1",
6
- label: "plasma-new-hope__StyledCalendarQuarters"
7
- })("padding:var(", tokens.calendarQuartersPadding, ");box-sizing:border-box;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvdWkvQ2FsZW5kYXJRdWFydGVycy9DYWxlbmRhclF1YXJ0ZXJzLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLZ0QiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9DYWxlbmRhci91aS9DYWxlbmRhclF1YXJ0ZXJzL0NhbGVuZGFyUXVhcnRlcnMuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8uLi9DYWxlbmRhci50b2tlbnMnO1xuaW1wb3J0IHsgZmxleENlbnRlciB9IGZyb20gJy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRDYWxlbmRhclF1YXJ0ZXJzID0gc3R5bGVkLmRpdmBcbiAgICBwYWRkaW5nOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJRdWFydGVyc1BhZGRpbmd9KTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEZsZXggPSBzdHlsZWQuZGl2YFxuICAgICR7U3RyaW5nKGZsZXhDZW50ZXIpfTtcbmA7XG4iXX0= */"));
8
- export var StyledFlex = /*#__PURE__*/_styled("div", {
9
4
  target: "e1upfrix0",
10
- label: "plasma-new-hope__StyledFlex"
11
- })(/*#__PURE__*/String(flexCenter), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvdWkvQ2FsZW5kYXJRdWFydGVycy9DYWxlbmRhclF1YXJ0ZXJzLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFVb0MiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9DYWxlbmRhci91aS9DYWxlbmRhclF1YXJ0ZXJzL0NhbGVuZGFyUXVhcnRlcnMuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8uLi9DYWxlbmRhci50b2tlbnMnO1xuaW1wb3J0IHsgZmxleENlbnRlciB9IGZyb20gJy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRDYWxlbmRhclF1YXJ0ZXJzID0gc3R5bGVkLmRpdmBcbiAgICBwYWRkaW5nOiB2YXIoJHt0b2tlbnMuY2FsZW5kYXJRdWFydGVyc1BhZGRpbmd9KTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEZsZXggPSBzdHlsZWQuZGl2YFxuICAgICR7U3RyaW5nKGZsZXhDZW50ZXIpfTtcbmA7XG4iXX0= */"));
5
+ label: "plasma-new-hope__StyledCalendarQuarters"
6
+ })("padding:var(", tokens.calendarQuartersPadding, ");box-sizing:border-box;display:grid;grid-template-columns:repeat(2, 1fr);grid-template-rows:repeat(2, 1fr);width:100%;height:100%;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvQ2FsZW5kYXIvdWkvQ2FsZW5kYXJRdWFydGVycy9DYWxlbmRhclF1YXJ0ZXJzLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJZ0QiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9DYWxlbmRhci91aS9DYWxlbmRhclF1YXJ0ZXJzL0NhbGVuZGFyUXVhcnRlcnMuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8uLi9DYWxlbmRhci50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkQ2FsZW5kYXJRdWFydGVycyA9IHN0eWxlZC5kaXZgXG4gICAgcGFkZGluZzogdmFyKCR7dG9rZW5zLmNhbGVuZGFyUXVhcnRlcnNQYWRkaW5nfSk7XG4gICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcblxuICAgIGRpc3BsYXk6IGdyaWQ7XG4gICAgZ3JpZC10ZW1wbGF0ZS1jb2x1bW5zOiByZXBlYXQoMiwgMWZyKTtcbiAgICBncmlkLXRlbXBsYXRlLXJvd3M6IHJlcGVhdCgyLCAxZnIpO1xuXG4gICAgd2lkdGg6IDEwMCU7XG4gICAgaGVpZ2h0OiAxMDAlO1xuYDtcbiJdfQ== */"));
@@ -8,12 +8,12 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
8
8
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
9
9
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
10
10
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
11
- import React, { useCallback, useEffect, useRef } from 'react';
11
+ import React, { Fragment, useCallback, useEffect, useRef } from 'react';
12
12
  import { useYears } from "../../hooks";
13
13
  import { innerTokens, tokens } from "../../Calendar.tokens";
14
14
  import { ROW_YEAR_STEP, canSelectDate, getInRange, getSideInRange, isSameDay, isSelectProcess } from "../../utils";
15
15
  import { DateStructureItem } from "../DateStructureItem/DateStructureItem";
16
- import { StyledCalendarYears, StyledFlex } from "./CalendarYears.styles";
16
+ import { StyledCalendarYears } from "./CalendarYears.styles";
17
17
 
18
18
  /**
19
19
  * Компонент годов в календаре.
@@ -52,7 +52,7 @@ export var CalendarYears = function CalendarYears(_ref) {
52
52
  var selectedRef = useRef(selected);
53
53
  var onSetSelectedRef = useRef(onSetSelected);
54
54
  var offset = isSecond ? ROW_YEAR_STEP : 0;
55
- var yearItemTokens = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(innerTokens.dateStructureFontFamily), "var(".concat(tokens.calendarYearFontFamily, ")")), "".concat(innerTokens.dateStructureFontSize), "var(".concat(tokens.calendarYearFontSize, ")")), "".concat(innerTokens.dateStructureFontWeight), "var(".concat(tokens.calendarYearFontWeight, ")")), "".concat(innerTokens.dateStructureFontLineHeight), "var(".concat(tokens.calendarYearFontLineHeight, ")")), "".concat(innerTokens.dateStructureFontLetterSpacing), "var(".concat(tokens.calendarYearFontLetterSpacing, ")")), "".concat(innerTokens.dateStructureFontStyle), "var(".concat(tokens.calendarYearFontStyle, ")")), "".concat(innerTokens.dateStructureSelectedFontWeight), "var(".concat(tokens.calendarYearSelectedFontWeight, ")")), "".concat(innerTokens.dateStructureWidth), "var(".concat(tokens.calendarYearItemWidth, ")")), "".concat(innerTokens.dateStructureHeight), "var(".concat(tokens.calendarYearItemHeight, ")")), "".concat(innerTokens.dateStructureBorderRadius), "var(".concat(tokens.calendarYearItemBorderRadius, ")"));
55
+ var yearItemTokens = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(innerTokens.dateStructureFontFamily), "var(".concat(tokens.calendarYearFontFamily, ")")), "".concat(innerTokens.dateStructureFontSize), "var(".concat(tokens.calendarYearFontSize, ")")), "".concat(innerTokens.dateStructureFontWeight), "var(".concat(tokens.calendarYearFontWeight, ")")), "".concat(innerTokens.dateStructureFontLineHeight), "var(".concat(tokens.calendarYearFontLineHeight, ")")), "".concat(innerTokens.dateStructureFontLetterSpacing), "var(".concat(tokens.calendarYearFontLetterSpacing, ")")), "".concat(innerTokens.dateStructureFontStyle), "var(".concat(tokens.calendarYearFontStyle, ")")), "".concat(innerTokens.dateStructureSelectedFontWeight), "var(".concat(tokens.calendarYearSelectedFontWeight, ")")), "".concat(innerTokens.dateStructureBorderRadius), "var(".concat(tokens.calendarYearItemBorderRadius, ")"));
56
56
  var getSelectedDate = useCallback(function (event) {
57
57
  var _event$currentTarget$ = event.currentTarget.dataset,
58
58
  day = _event$currentTarget$.day,
@@ -112,8 +112,7 @@ export var CalendarYears = function CalendarYears(_ref) {
112
112
  onKeyDown: onKeyDown,
113
113
  onMouseLeave: handleMouseOutGrid
114
114
  }, years.map(function (year, i) {
115
- return /*#__PURE__*/React.createElement(StyledFlex, {
116
- role: "row",
115
+ return /*#__PURE__*/React.createElement(Fragment, {
117
116
  key: i
118
117
  }, year.map(function (_ref2, j) {
119
118
  var yearValue = _ref2.yearValue,