@salutejs/plasma-new-hope 0.325.0-canary.1972.15208810578.0 → 0.325.0-canary.1991.15252784001.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 (1301) hide show
  1. package/cjs/components/Calendar/Calendar.tokens.js +13 -4
  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 +15 -11
  5. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +3 -9
  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_zk3a46.css +2 -0
  10. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +18 -14
  11. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +3 -9
  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_dt34s7.css → cjs/components/Calendar/CalendarDouble/CalendarDouble.styles_e9ada0.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 +7 -6
  23. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +6 -3
  24. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js.map +1 -1
  25. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +9 -3
  26. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
  27. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles_1oq8sud.css +3 -0
  28. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +6 -5
  29. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +3 -2
  30. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  31. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +7 -1
  32. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
  33. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1v3msg.css +2 -0
  34. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +6 -5
  35. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +3 -2
  36. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js.map +1 -1
  37. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js +7 -1
  38. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js.map +1 -1
  39. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles_14gqhct.css +2 -0
  40. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +6 -5
  41. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +3 -2
  42. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  43. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +7 -1
  44. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
  45. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_1d4ov6t.css +2 -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_1hkk03u.css +4 -0
  50. package/cjs/components/Calendar/utils/calendarGridHelper.js +2 -10
  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/DatePicker/DatePicker.tokens.js +11 -9
  55. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
  56. package/cjs/components/DatePicker/DatePickerBase.styles.js +2 -19
  57. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  58. package/cjs/components/DatePicker/DatePickerBase.styles_1a5ddg3.css +2 -0
  59. package/cjs/components/DatePicker/RangeDate/RangeDate.css +25 -21
  60. package/cjs/components/DatePicker/RangeDate/RangeDate.js +10 -22
  61. package/cjs/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
  62. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +1 -1
  63. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  64. package/cjs/components/DatePicker/RangeDate/{RangeDate.styles_1q1mn0z.css → RangeDate.styles_vzsqwo.css} +1 -1
  65. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +23 -19
  66. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +2 -43
  67. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  68. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +5 -38
  69. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  70. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1fhuiqs.css +2 -0
  71. package/cjs/components/DatePicker/SingleDate/SingleDate.css +23 -19
  72. package/cjs/components/DatePicker/SingleDate/SingleDate.js +7 -31
  73. package/cjs/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
  74. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  75. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  76. package/cjs/components/DatePicker/SingleDate/{SingleDate.styles_7r4r8k.css → SingleDate.styles_4wd0mq.css} +1 -1
  77. package/cjs/components/Note/Note.css +35 -6
  78. package/cjs/components/Note/Note.js +17 -3
  79. package/cjs/components/Note/Note.js.map +1 -1
  80. package/cjs/components/Note/Note.styles.js +25 -2
  81. package/cjs/components/Note/Note.styles.js.map +1 -1
  82. package/cjs/components/Note/{Note.styles_178qpj9.css → Note.styles_thpfhk.css} +2 -1
  83. package/cjs/components/Note/Note.tokens.js +9 -1
  84. package/cjs/components/Note/Note.tokens.js.map +1 -1
  85. package/cjs/components/PaginationDots/PaginationDot.js +59 -0
  86. package/cjs/components/PaginationDots/PaginationDot.js.map +1 -0
  87. package/cjs/components/PaginationDots/PaginationDot_baul9c.css +2 -0
  88. package/cjs/components/PaginationDots/PaginationDots.js +34 -0
  89. package/cjs/components/PaginationDots/PaginationDots.js.map +1 -0
  90. package/cjs/components/PaginationDots/PaginationDots_fm2ha5.css +2 -0
  91. package/cjs/components/PaginationDots/SmartPaginationDots.css +5 -0
  92. package/cjs/components/PaginationDots/SmartPaginationDots.js +47 -0
  93. package/cjs/components/PaginationDots/SmartPaginationDots.js.map +1 -0
  94. package/cjs/components/PaginationDots/usePaginationDots.js +40 -0
  95. package/cjs/components/PaginationDots/usePaginationDots.js.map +1 -0
  96. package/cjs/index.css +42 -31
  97. package/cjs/index.js +6 -0
  98. package/cjs/index.js.map +1 -1
  99. package/emotion/cjs/components/Calendar/Calendar.tokens.js +13 -4
  100. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.js +3 -12
  101. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  102. package/emotion/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +3 -12
  103. package/emotion/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +7 -7
  104. package/emotion/cjs/components/Calendar/hooks/useMonths.js +3 -1
  105. package/emotion/cjs/components/Calendar/hooks/useQuarters.js +4 -2
  106. package/emotion/cjs/components/Calendar/hooks/useYears.js +3 -1
  107. package/emotion/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +6 -3
  108. package/emotion/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +8 -3
  109. package/emotion/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +3 -2
  110. package/emotion/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +8 -3
  111. package/emotion/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +3 -2
  112. package/emotion/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js +8 -3
  113. package/emotion/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +3 -2
  114. package/emotion/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +8 -3
  115. package/emotion/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +7 -7
  116. package/emotion/cjs/components/Calendar/utils/calendarGridHelper.js +3 -10
  117. package/emotion/cjs/components/Calendar/utils/getDateWithModification.js +28 -24
  118. package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +12 -9
  119. package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +3 -9
  120. package/emotion/cjs/components/DatePicker/RangeDate/RangeDate.js +9 -25
  121. package/emotion/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +13 -4
  122. package/emotion/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +3 -47
  123. package/emotion/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +2 -14
  124. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.js +6 -33
  125. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +4 -4
  126. package/emotion/cjs/components/Note/Note.js +17 -3
  127. package/emotion/cjs/components/Note/Note.styles.js +27 -15
  128. package/emotion/cjs/components/Note/Note.tokens.js +9 -1
  129. package/emotion/cjs/components/PaginationDots/PaginationDot.js +35 -0
  130. package/emotion/cjs/components/PaginationDots/PaginationDots.js +35 -0
  131. package/emotion/cjs/components/PaginationDots/SmartPaginationDots.js +43 -0
  132. package/emotion/cjs/components/PaginationDots/index.js +26 -0
  133. package/emotion/cjs/components/PaginationDots/usePaginationDots.js +38 -0
  134. package/emotion/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +29 -37
  135. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  136. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  137. package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  138. package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -6
  139. package/emotion/cjs/examples/plasma_b2c/components/Note/Note.config.js +9 -9
  140. package/emotion/cjs/examples/plasma_b2c/components/Note/Note.stories.tsx +1 -0
  141. package/emotion/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +29 -37
  142. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  143. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  144. package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  145. package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +6 -8
  146. package/emotion/cjs/examples/plasma_web/components/Note/Note.config.js +9 -9
  147. package/emotion/cjs/examples/plasma_web/components/Note/Note.stories.tsx +1 -0
  148. package/emotion/cjs/index.js +11 -0
  149. package/emotion/es/components/Calendar/Calendar.tokens.js +13 -4
  150. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.js +3 -12
  151. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.styles.js +3 -3
  152. package/emotion/es/components/Calendar/CalendarDouble/CalendarDouble.js +3 -12
  153. package/emotion/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +8 -8
  154. package/emotion/es/components/Calendar/hooks/useMonths.js +3 -1
  155. package/emotion/es/components/Calendar/hooks/useQuarters.js +4 -2
  156. package/emotion/es/components/Calendar/hooks/useYears.js +3 -1
  157. package/emotion/es/components/Calendar/ui/CalendarDays/CalendarDays.js +8 -5
  158. package/emotion/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +7 -2
  159. package/emotion/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +5 -4
  160. package/emotion/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +7 -2
  161. package/emotion/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +5 -4
  162. package/emotion/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js +7 -2
  163. package/emotion/es/components/Calendar/ui/CalendarYears/CalendarYears.js +5 -4
  164. package/emotion/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +7 -2
  165. package/emotion/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +7 -7
  166. package/emotion/es/components/Calendar/utils/calendarGridHelper.js +2 -9
  167. package/emotion/es/components/Calendar/utils/getDateWithModification.js +28 -24
  168. package/emotion/es/components/DatePicker/DatePicker.tokens.js +11 -8
  169. package/emotion/es/components/DatePicker/DatePickerBase.styles.js +3 -9
  170. package/emotion/es/components/DatePicker/RangeDate/RangeDate.js +10 -26
  171. package/emotion/es/components/DatePicker/RangeDate/RangeDate.styles.js +14 -5
  172. package/emotion/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +4 -46
  173. package/emotion/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +3 -15
  174. package/emotion/es/components/DatePicker/SingleDate/SingleDate.js +7 -34
  175. package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +4 -4
  176. package/emotion/es/components/Note/Note.js +18 -4
  177. package/emotion/es/components/Note/Note.styles.js +26 -14
  178. package/emotion/es/components/Note/Note.tokens.js +9 -1
  179. package/emotion/es/components/PaginationDots/PaginationDot.js +28 -0
  180. package/emotion/es/components/PaginationDots/PaginationDots.js +28 -0
  181. package/emotion/es/components/PaginationDots/SmartPaginationDots.js +36 -0
  182. package/emotion/es/components/PaginationDots/index.js +3 -0
  183. package/emotion/es/components/PaginationDots/usePaginationDots.js +32 -0
  184. package/emotion/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +29 -37
  185. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  186. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  187. package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  188. package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -6
  189. package/emotion/es/examples/plasma_b2c/components/Note/Note.config.js +9 -9
  190. package/emotion/es/examples/plasma_b2c/components/Note/Note.stories.tsx +1 -0
  191. package/emotion/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +29 -37
  192. package/emotion/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  193. package/emotion/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  194. package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  195. package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +6 -8
  196. package/emotion/es/examples/plasma_web/components/Note/Note.config.js +9 -9
  197. package/emotion/es/examples/plasma_web/components/Note/Note.stories.tsx +1 -0
  198. package/emotion/es/index.js +2 -1
  199. package/es/components/Calendar/Calendar.tokens.js +13 -4
  200. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  201. package/es/components/Calendar/Calendar.types.js.map +1 -1
  202. package/es/components/Calendar/CalendarBase/CalendarBase.css +15 -11
  203. package/es/components/Calendar/CalendarBase/CalendarBase.js +4 -9
  204. package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  205. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  206. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  207. package/es/components/Calendar/CalendarBase/CalendarBase.styles_zk3a46.css +2 -0
  208. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +18 -14
  209. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +5 -10
  210. package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  211. package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +1 -1
  212. package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js.map +1 -1
  213. package/{cjs/components/Calendar/CalendarDouble/CalendarDouble.styles_dt34s7.css → es/components/Calendar/CalendarDouble/CalendarDouble.styles_e9ada0.css} +2 -2
  214. package/es/components/Calendar/hooks/useMonths.js +3 -1
  215. package/es/components/Calendar/hooks/useMonths.js.map +1 -1
  216. package/es/components/Calendar/hooks/useQuarters.js +5 -3
  217. package/es/components/Calendar/hooks/useQuarters.js.map +1 -1
  218. package/es/components/Calendar/hooks/useYears.js +3 -1
  219. package/es/components/Calendar/hooks/useYears.js.map +1 -1
  220. package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +7 -6
  221. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +8 -5
  222. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js.map +1 -1
  223. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +9 -4
  224. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
  225. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles_1oq8sud.css +3 -0
  226. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +6 -5
  227. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +5 -4
  228. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  229. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +7 -2
  230. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
  231. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1v3msg.css +2 -0
  232. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +6 -5
  233. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +5 -4
  234. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js.map +1 -1
  235. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js +7 -2
  236. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js.map +1 -1
  237. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles_14gqhct.css +2 -0
  238. package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +6 -5
  239. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +5 -4
  240. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  241. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +7 -2
  242. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
  243. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_1d4ov6t.css +2 -0
  244. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  245. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +7 -7
  246. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  247. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles_1hkk03u.css +4 -0
  248. package/es/components/Calendar/utils/calendarGridHelper.js +3 -10
  249. package/es/components/Calendar/utils/calendarGridHelper.js.map +1 -1
  250. package/es/components/Calendar/utils/getDateWithModification.js +28 -24
  251. package/es/components/Calendar/utils/getDateWithModification.js.map +1 -1
  252. package/es/components/DatePicker/DatePicker.tokens.js +12 -9
  253. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  254. package/es/components/DatePicker/DatePickerBase.styles.js +2 -19
  255. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  256. package/es/components/DatePicker/DatePickerBase.styles_1a5ddg3.css +2 -0
  257. package/es/components/DatePicker/RangeDate/RangeDate.css +25 -21
  258. package/es/components/DatePicker/RangeDate/RangeDate.js +11 -22
  259. package/es/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
  260. package/es/components/DatePicker/RangeDate/RangeDate.styles.js +1 -1
  261. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  262. package/es/components/DatePicker/RangeDate/{RangeDate.styles_1q1mn0z.css → RangeDate.styles_vzsqwo.css} +1 -1
  263. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +23 -19
  264. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +3 -43
  265. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  266. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +5 -38
  267. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  268. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1fhuiqs.css +2 -0
  269. package/es/components/DatePicker/SingleDate/SingleDate.css +23 -19
  270. package/es/components/DatePicker/SingleDate/SingleDate.js +8 -31
  271. package/es/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
  272. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  273. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  274. package/es/components/DatePicker/SingleDate/{SingleDate.styles_7r4r8k.css → SingleDate.styles_4wd0mq.css} +1 -1
  275. package/es/components/Note/Note.css +35 -6
  276. package/es/components/Note/Note.js +18 -4
  277. package/es/components/Note/Note.js.map +1 -1
  278. package/es/components/Note/Note.styles.js +25 -3
  279. package/es/components/Note/Note.styles.js.map +1 -1
  280. package/es/components/Note/{Note.styles_178qpj9.css → Note.styles_thpfhk.css} +2 -1
  281. package/es/components/Note/Note.tokens.js +9 -1
  282. package/es/components/Note/Note.tokens.js.map +1 -1
  283. package/es/components/PaginationDots/PaginationDot.js +54 -0
  284. package/es/components/PaginationDots/PaginationDot.js.map +1 -0
  285. package/es/components/PaginationDots/PaginationDot_baul9c.css +2 -0
  286. package/es/components/PaginationDots/PaginationDots.js +29 -0
  287. package/es/components/PaginationDots/PaginationDots.js.map +1 -0
  288. package/es/components/PaginationDots/PaginationDots_fm2ha5.css +2 -0
  289. package/es/components/PaginationDots/SmartPaginationDots.css +5 -0
  290. package/es/components/PaginationDots/SmartPaginationDots.js +39 -0
  291. package/es/components/PaginationDots/SmartPaginationDots.js.map +1 -0
  292. package/es/components/PaginationDots/usePaginationDots.js +36 -0
  293. package/es/components/PaginationDots/usePaginationDots.js.map +1 -0
  294. package/es/index.css +42 -31
  295. package/es/index.js +3 -0
  296. package/es/index.js.map +1 -1
  297. package/package.json +5 -5
  298. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +13 -4
  299. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +3 -12
  300. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  301. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +3 -12
  302. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +2 -2
  303. package/styled-components/cjs/components/Calendar/hooks/useMonths.js +3 -1
  304. package/styled-components/cjs/components/Calendar/hooks/useQuarters.js +4 -2
  305. package/styled-components/cjs/components/Calendar/hooks/useYears.js +3 -1
  306. package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +6 -3
  307. package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +8 -4
  308. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +3 -2
  309. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +6 -2
  310. package/styled-components/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +3 -2
  311. package/styled-components/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js +6 -2
  312. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +3 -2
  313. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +6 -2
  314. package/styled-components/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +3 -3
  315. package/styled-components/cjs/components/Calendar/utils/calendarGridHelper.js +3 -10
  316. package/styled-components/cjs/components/Calendar/utils/getDateWithModification.js +28 -24
  317. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +12 -9
  318. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +2 -8
  319. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.js +9 -25
  320. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +1 -1
  321. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +3 -47
  322. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +2 -14
  323. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.js +6 -33
  324. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  325. package/styled-components/cjs/components/Note/Note.js +17 -3
  326. package/styled-components/cjs/components/Note/Note.styles.js +14 -3
  327. package/styled-components/cjs/components/Note/Note.tokens.js +9 -1
  328. package/styled-components/cjs/components/PaginationDots/PaginationDot.js +33 -0
  329. package/styled-components/cjs/components/PaginationDots/PaginationDots.js +24 -0
  330. package/styled-components/cjs/components/PaginationDots/SmartPaginationDots.js +43 -0
  331. package/styled-components/cjs/components/PaginationDots/index.js +26 -0
  332. package/styled-components/cjs/components/PaginationDots/usePaginationDots.js +38 -0
  333. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +29 -37
  334. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +4 -4
  335. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +4 -4
  336. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +4 -4
  337. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -6
  338. package/styled-components/cjs/examples/plasma_b2c/components/Note/Note.config.js +4 -4
  339. package/styled-components/cjs/examples/plasma_b2c/components/Note/Note.stories.tsx +1 -0
  340. package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +29 -37
  341. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +4 -4
  342. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +4 -4
  343. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +4 -4
  344. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +6 -8
  345. package/styled-components/cjs/examples/plasma_web/components/Note/Note.config.js +4 -4
  346. package/styled-components/cjs/examples/plasma_web/components/Note/Note.stories.tsx +1 -0
  347. package/styled-components/cjs/index.js +11 -0
  348. package/styled-components/es/components/Calendar/Calendar.tokens.js +13 -4
  349. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +3 -12
  350. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  351. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +3 -12
  352. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +3 -3
  353. package/styled-components/es/components/Calendar/hooks/useMonths.js +3 -1
  354. package/styled-components/es/components/Calendar/hooks/useQuarters.js +4 -2
  355. package/styled-components/es/components/Calendar/hooks/useYears.js +3 -1
  356. package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.js +8 -5
  357. package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +7 -3
  358. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +5 -4
  359. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +5 -1
  360. package/styled-components/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +5 -4
  361. package/styled-components/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.js +5 -1
  362. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.js +5 -4
  363. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +5 -1
  364. package/styled-components/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +3 -3
  365. package/styled-components/es/components/Calendar/utils/calendarGridHelper.js +2 -9
  366. package/styled-components/es/components/Calendar/utils/getDateWithModification.js +28 -24
  367. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +11 -8
  368. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +2 -8
  369. package/styled-components/es/components/DatePicker/RangeDate/RangeDate.js +10 -26
  370. package/styled-components/es/components/DatePicker/RangeDate/RangeDate.styles.js +2 -2
  371. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +4 -46
  372. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +3 -15
  373. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.js +7 -34
  374. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  375. package/styled-components/es/components/Note/Note.js +18 -4
  376. package/styled-components/es/components/Note/Note.styles.js +13 -2
  377. package/styled-components/es/components/Note/Note.tokens.js +9 -1
  378. package/styled-components/es/components/PaginationDots/PaginationDot.js +26 -0
  379. package/styled-components/es/components/PaginationDots/PaginationDots.js +18 -0
  380. package/styled-components/es/components/PaginationDots/SmartPaginationDots.js +36 -0
  381. package/styled-components/es/components/PaginationDots/index.js +3 -0
  382. package/styled-components/es/components/PaginationDots/usePaginationDots.js +32 -0
  383. package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +29 -37
  384. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +4 -4
  385. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +4 -4
  386. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +4 -4
  387. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -6
  388. package/styled-components/es/examples/plasma_b2c/components/Note/Note.config.js +4 -4
  389. package/styled-components/es/examples/plasma_b2c/components/Note/Note.stories.tsx +1 -0
  390. package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +29 -37
  391. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +4 -4
  392. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +4 -4
  393. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +4 -4
  394. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +6 -8
  395. package/styled-components/es/examples/plasma_web/components/Note/Note.config.js +4 -4
  396. package/styled-components/es/examples/plasma_web/components/Note/Note.stories.tsx +1 -0
  397. package/styled-components/es/index.js +2 -1
  398. package/types/components/Accordion/Accordion.d.ts +16 -16
  399. package/types/components/Accordion/Accordion.d.ts.map +1 -1
  400. package/types/components/Accordion/Accordion.types.d.ts +2 -2
  401. package/types/components/Accordion/Accordion.types.d.ts.map +1 -1
  402. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts +12 -12
  403. package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts +0 -1
  404. package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts.map +1 -1
  405. package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts +2 -2
  406. package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts.map +1 -1
  407. package/types/components/Accordion/utils/index.d.ts +2 -2
  408. package/types/components/Accordion/utils/index.d.ts.map +1 -1
  409. package/types/components/Attach/Attach.d.ts.map +1 -1
  410. package/types/components/Attach/Attach.styles.d.ts +0 -1
  411. package/types/components/Attach/Attach.styles.d.ts.map +1 -1
  412. package/types/components/Attach/Attach.types.d.ts +3 -3
  413. package/types/components/Attach/Attach.types.d.ts.map +1 -1
  414. package/types/components/Attach/ui/Button/Button.styles.d.ts +35 -36
  415. package/types/components/Attach/ui/Button/Button.styles.d.ts.map +1 -1
  416. package/types/components/Attach/ui/Cell/Cell.styles.d.ts +19 -20
  417. package/types/components/Attach/ui/Cell/Cell.styles.d.ts.map +1 -1
  418. package/types/components/Attach/ui/IconButton/IconButton.styles.d.ts +70 -71
  419. package/types/components/Attach/ui/IconButton/IconButton.styles.d.ts.map +1 -1
  420. package/types/components/Attach/utils/getFileicon.d.ts +1 -2
  421. package/types/components/Attach/utils/getFileicon.d.ts.map +1 -1
  422. package/types/components/Autocomplete/Autocomplete.d.ts +2 -2
  423. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  424. package/types/components/Autocomplete/Autocomplete.styles.d.ts +2 -3
  425. package/types/components/Autocomplete/Autocomplete.styles.d.ts.map +1 -1
  426. package/types/components/Autocomplete/Autocomplete.types.d.ts +3 -3
  427. package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
  428. package/types/components/Autocomplete/reducers/focusedReducer.d.ts +2 -2
  429. package/types/components/Autocomplete/reducers/focusedReducer.d.ts.map +1 -1
  430. package/types/components/Autocomplete/ui/SuggestionItem/SuggestionItem.styles.d.ts +0 -1
  431. package/types/components/Autocomplete/ui/SuggestionItem/SuggestionItem.styles.d.ts.map +1 -1
  432. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +224 -225
  433. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  434. package/types/components/Avatar/Avatar.d.ts.map +1 -1
  435. package/types/components/Avatar/Avatar.styles.d.ts +41 -42
  436. package/types/components/Avatar/Avatar.styles.d.ts.map +1 -1
  437. package/types/components/Avatar/Avatar.types.d.ts +8 -8
  438. package/types/components/Avatar/Avatar.types.d.ts.map +1 -1
  439. package/types/components/Avatar/utils/getInitialsForName.d.ts +1 -1
  440. package/types/components/Avatar/utils/getInitialsForName.d.ts.map +1 -1
  441. package/types/components/Avatar/utils/index.d.ts +1 -1
  442. package/types/components/Avatar/utils/index.d.ts.map +1 -1
  443. package/types/components/AvatarGroup/AvatarGroup.d.ts.map +1 -1
  444. package/types/components/AvatarGroup/AvatarGroup.types.d.ts +2 -2
  445. package/types/components/AvatarGroup/AvatarGroup.types.d.ts.map +1 -1
  446. package/types/components/Badge/Badge.d.ts.map +1 -1
  447. package/types/components/Badge/Badge.styles.d.ts +0 -1
  448. package/types/components/Badge/Badge.styles.d.ts.map +1 -1
  449. package/types/components/Badge/Badge.types.d.ts +5 -5
  450. package/types/components/Badge/Badge.types.d.ts.map +1 -1
  451. package/types/components/Breadcrumbs/Breadcrumbs.d.ts +9 -9
  452. package/types/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  453. package/types/components/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -1
  454. package/types/components/Breadcrumbs/Breadcrumbs.styles.d.ts.map +1 -1
  455. package/types/components/Breadcrumbs/Breadcrumbs.types.d.ts +3 -3
  456. package/types/components/Breadcrumbs/Breadcrumbs.types.d.ts.map +1 -1
  457. package/types/components/Breadcrumbs/ui/BreadcrumbShorter/BreadcrumbShorter.styles.d.ts +0 -1
  458. package/types/components/Breadcrumbs/ui/BreadcrumbShorter/BreadcrumbShorter.styles.d.ts.map +1 -1
  459. package/types/components/Breadcrumbs/ui/BreadcrumbShorter/BreadcrumbShorter.types.d.ts +2 -2
  460. package/types/components/Breadcrumbs/ui/BreadcrumbShorter/BreadcrumbShorter.types.d.ts.map +1 -1
  461. package/types/components/Breadcrumbs/utils/getShortItems.d.ts +2 -2
  462. package/types/components/Breadcrumbs/utils/getShortItems.d.ts.map +1 -1
  463. package/types/components/Breadcrumbs/utils/index.d.ts +1 -1
  464. package/types/components/Breadcrumbs/utils/index.d.ts.map +1 -1
  465. package/types/components/Button/Button.d.ts +2 -2
  466. package/types/components/Button/Button.d.ts.map +1 -1
  467. package/types/components/Button/Button.styles.d.ts +11 -12
  468. package/types/components/Button/Button.styles.d.ts.map +1 -1
  469. package/types/components/Button/Button.types.d.ts +7 -7
  470. package/types/components/Button/Button.types.d.ts.map +1 -1
  471. package/types/components/ButtonBase/index.d.ts +0 -1
  472. package/types/components/ButtonBase/index.d.ts.map +1 -1
  473. package/types/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
  474. package/types/components/ButtonGroup/ButtonGroup.types.d.ts +5 -5
  475. package/types/components/ButtonGroup/ButtonGroup.types.d.ts.map +1 -1
  476. package/types/components/Calendar/Calendar.tokens.d.ts +12 -3
  477. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  478. package/types/components/Calendar/Calendar.types.d.ts +15 -19
  479. package/types/components/Calendar/Calendar.types.d.ts.map +1 -1
  480. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts +1 -1
  481. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts.map +1 -1
  482. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts +0 -1
  483. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  484. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts +1 -1
  485. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts.map +1 -1
  486. package/types/components/Calendar/CalendarDouble/CalendarDouble.styles.d.ts +0 -1
  487. package/types/components/Calendar/CalendarDouble/CalendarDouble.styles.d.ts.map +1 -1
  488. package/types/components/Calendar/hoc/withRange.d.ts +1 -2
  489. package/types/components/Calendar/hoc/withRange.d.ts.map +1 -1
  490. package/types/components/Calendar/hooks/types.d.ts +12 -7
  491. package/types/components/Calendar/hooks/types.d.ts.map +1 -1
  492. package/types/components/Calendar/hooks/useCalendarNavigation.d.ts +2 -2
  493. package/types/components/Calendar/hooks/useKeyNavigation.d.ts.map +1 -1
  494. package/types/components/Calendar/hooks/useMonths.d.ts +1 -1
  495. package/types/components/Calendar/hooks/useMonths.d.ts.map +1 -1
  496. package/types/components/Calendar/hooks/useQuarters.d.ts +1 -1
  497. package/types/components/Calendar/hooks/useQuarters.d.ts.map +1 -1
  498. package/types/components/Calendar/hooks/useYears.d.ts +1 -1
  499. package/types/components/Calendar/hooks/useYears.d.ts.map +1 -1
  500. package/types/components/Calendar/mixins/active.d.ts +1 -1
  501. package/types/components/Calendar/mixins/active.d.ts.map +1 -1
  502. package/types/components/Calendar/mixins/selected.d.ts +1 -1
  503. package/types/components/Calendar/mixins/selected.d.ts.map +1 -1
  504. package/types/components/Calendar/store/reducer.d.ts +1 -1
  505. package/types/components/Calendar/store/reducer.d.ts.map +1 -1
  506. package/types/components/Calendar/store/types.d.ts +13 -13
  507. package/types/components/Calendar/store/types.d.ts.map +1 -1
  508. package/types/components/Calendar/ui/CalendarDays/CalendarDays.d.ts.map +1 -1
  509. package/types/components/Calendar/ui/CalendarDays/CalendarDays.styles.d.ts +1 -1
  510. package/types/components/Calendar/ui/CalendarDays/CalendarDays.styles.d.ts.map +1 -1
  511. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +35 -36
  512. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  513. package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.d.ts.map +1 -1
  514. package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.d.ts +1 -1
  515. package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.d.ts.map +1 -1
  516. package/types/components/Calendar/ui/CalendarQuarters/CalendarQuarters.d.ts.map +1 -1
  517. package/types/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.d.ts +1 -1
  518. package/types/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles.d.ts.map +1 -1
  519. package/types/components/Calendar/ui/CalendarYears/CalendarYears.d.ts.map +1 -1
  520. package/types/components/Calendar/ui/CalendarYears/CalendarYears.styles.d.ts +1 -1
  521. package/types/components/Calendar/ui/CalendarYears/CalendarYears.styles.d.ts.map +1 -1
  522. package/types/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.d.ts +1 -2
  523. package/types/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.d.ts.map +1 -1
  524. package/types/components/Calendar/utils/calendarGridHelper.d.ts +1 -2
  525. package/types/components/Calendar/utils/calendarGridHelper.d.ts.map +1 -1
  526. package/types/components/Calendar/utils/calendarRangeHelper.d.ts +5 -5
  527. package/types/components/Calendar/utils/calendarRangeHelper.d.ts.map +1 -1
  528. package/types/components/Calendar/utils/constants.d.ts +1 -1
  529. package/types/components/Calendar/utils/constants.d.ts.map +1 -1
  530. package/types/components/Calendar/utils/getDateWithModification.d.ts +1 -1
  531. package/types/components/Calendar/utils/getDateWithModification.d.ts.map +1 -1
  532. package/types/components/Card/Card.d.ts +10 -10
  533. package/types/components/Card/Card.d.ts.map +1 -1
  534. package/types/components/Card/Card.styles.d.ts +3 -4
  535. package/types/components/Card/Card.styles.d.ts.map +1 -1
  536. package/types/components/Card/Card.types.d.ts +2 -2
  537. package/types/components/Card/Card.types.d.ts.map +1 -1
  538. package/types/components/Carousel/Carousel.d.ts +4 -4
  539. package/types/components/Carousel/Carousel.d.ts.map +1 -1
  540. package/types/components/Carousel/Carousel.styles.d.ts +3 -4
  541. package/types/components/Carousel/Carousel.styles.d.ts.map +1 -1
  542. package/types/components/Carousel/Carousel.types.d.ts +8 -8
  543. package/types/components/Carousel/Carousel.types.d.ts.map +1 -1
  544. package/types/components/Carousel/useCarousel.d.ts +6 -6
  545. package/types/components/Carousel/useCarousel.d.ts.map +1 -1
  546. package/types/components/Carousel/useDragScroll.d.ts +1 -2
  547. package/types/components/Carousel/useDragScroll.d.ts.map +1 -1
  548. package/types/components/Cell/Cell.d.ts.map +1 -1
  549. package/types/components/Cell/Cell.styles.d.ts +0 -1
  550. package/types/components/Cell/Cell.styles.d.ts.map +1 -1
  551. package/types/components/Cell/Cell.types.d.ts +3 -3
  552. package/types/components/Cell/Cell.types.d.ts.map +1 -1
  553. package/types/components/Cell/ui/CellTextbox/CellTextbox.styles.d.ts +0 -1
  554. package/types/components/Cell/ui/CellTextbox/CellTextbox.styles.d.ts.map +1 -1
  555. package/types/components/Cell/ui/CellTextbox/CellTextbox.types.d.ts +2 -2
  556. package/types/components/Cell/ui/CellTextbox/CellTextbox.types.d.ts.map +1 -1
  557. package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.d.ts +0 -1
  558. package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.d.ts.map +1 -1
  559. package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.d.ts +0 -1
  560. package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.d.ts.map +1 -1
  561. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.d.ts +0 -1
  562. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.d.ts.map +1 -1
  563. package/types/components/Checkbox/Checkbox.d.ts.map +1 -1
  564. package/types/components/Checkbox/Checkbox.styles.d.ts +0 -1
  565. package/types/components/Checkbox/Checkbox.styles.d.ts.map +1 -1
  566. package/types/components/Checkbox/Checkbox.types.d.ts +0 -1
  567. package/types/components/Checkbox/Checkbox.types.d.ts.map +1 -1
  568. package/types/components/Checkbox/IconsSvg.d.ts +0 -1
  569. package/types/components/Checkbox/IconsSvg.d.ts.map +1 -1
  570. package/types/components/Chip/Chip.d.ts.map +1 -1
  571. package/types/components/Chip/Chip.styles.d.ts +0 -1
  572. package/types/components/Chip/Chip.styles.d.ts.map +1 -1
  573. package/types/components/Chip/Chip.types.d.ts +1 -1
  574. package/types/components/Chip/Chip.types.d.ts.map +1 -1
  575. package/types/components/ChipGroup/ChipGroup.d.ts.map +1 -1
  576. package/types/components/ChipGroup/ChipGroup.types.d.ts +2 -2
  577. package/types/components/ChipGroup/ChipGroup.types.d.ts.map +1 -1
  578. package/types/components/Combobox/ComboboxNew/Combobox.context.d.ts +0 -1
  579. package/types/components/Combobox/ComboboxNew/Combobox.context.d.ts.map +1 -1
  580. package/types/components/Combobox/ComboboxNew/Combobox.d.ts +2 -3
  581. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  582. package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts +5 -6
  583. package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts.map +1 -1
  584. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +7 -7
  585. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  586. package/types/components/Combobox/ComboboxNew/hooks/getPathMaps.d.ts +7 -7
  587. package/types/components/Combobox/ComboboxNew/hooks/getPathMaps.d.ts.map +1 -1
  588. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts +2 -2
  589. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts.map +1 -1
  590. package/types/components/Combobox/ComboboxNew/reducers/focusedPathReducer.d.ts +2 -2
  591. package/types/components/Combobox/ComboboxNew/reducers/focusedPathReducer.d.ts.map +1 -1
  592. package/types/components/Combobox/ComboboxNew/reducers/pathReducer.d.ts +2 -2
  593. package/types/components/Combobox/ComboboxNew/reducers/pathReducer.d.ts.map +1 -1
  594. package/types/components/Combobox/ComboboxNew/ui/Inner/Inner.type.d.ts +1 -1
  595. package/types/components/Combobox/ComboboxNew/ui/Inner/Inner.type.d.ts.map +1 -1
  596. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.d.ts +21 -22
  597. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  598. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.types.d.ts +3 -3
  599. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.types.d.ts.map +1 -1
  600. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts +1 -1
  601. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts.map +1 -1
  602. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.d.ts +0 -1
  603. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.d.ts.map +1 -1
  604. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +224 -225
  605. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  606. package/types/components/Combobox/ComboboxNew/utils/filterItems.d.ts +1 -1
  607. package/types/components/Combobox/ComboboxNew/utils/filterItems.d.ts.map +1 -1
  608. package/types/components/Combobox/ComboboxNew/utils/initialItemsTransform.d.ts +1 -1
  609. package/types/components/Combobox/ComboboxNew/utils/initialItemsTransform.d.ts.map +1 -1
  610. package/types/components/Combobox/ComboboxNew/utils/sizeToIconSize.d.ts +1 -1
  611. package/types/components/Combobox/ComboboxNew/utils/sizeToIconSize.d.ts.map +1 -1
  612. package/types/components/Combobox/ComboboxNew/utils/updateAncestors.d.ts.map +1 -1
  613. package/types/components/Combobox/ComboboxNew/utils/updateDescendants.d.ts +1 -1
  614. package/types/components/Combobox/ComboboxNew/utils/updateDescendants.d.ts.map +1 -1
  615. package/types/components/Combobox/ComboboxNew/utils/updateSingleAncestors.d.ts +1 -1
  616. package/types/components/Combobox/ComboboxNew/utils/updateSingleAncestors.d.ts.map +1 -1
  617. package/types/components/Combobox/ComboboxOld/Combobox.d.ts.map +1 -1
  618. package/types/components/Combobox/ComboboxOld/Combobox.styles.d.ts +1 -2
  619. package/types/components/Combobox/ComboboxOld/Combobox.styles.d.ts.map +1 -1
  620. package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts +11 -11
  621. package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts.map +1 -1
  622. package/types/components/Combobox/ComboboxOld/hooks/useFocusController.d.ts.map +1 -1
  623. package/types/components/Combobox/ComboboxOld/hooks/useKeyNavigation.d.ts.map +1 -1
  624. package/types/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.d.ts +0 -1
  625. package/types/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.d.ts.map +1 -1
  626. package/types/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.d.ts +6 -7
  627. package/types/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.d.ts.map +1 -1
  628. package/types/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.types.d.ts +1 -1
  629. package/types/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.types.d.ts.map +1 -1
  630. package/types/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.d.ts +6 -7
  631. package/types/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.d.ts.map +1 -1
  632. package/types/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.type.d.ts +1 -1
  633. package/types/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.type.d.ts.map +1 -1
  634. package/types/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.d.ts +14 -15
  635. package/types/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.d.ts.map +1 -1
  636. package/types/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.type.d.ts +1 -1
  637. package/types/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.type.d.ts.map +1 -1
  638. package/types/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.d.ts +6 -7
  639. package/types/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.d.ts.map +1 -1
  640. package/types/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.type.d.ts +1 -1
  641. package/types/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.type.d.ts.map +1 -1
  642. package/types/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.d.ts +28 -28
  643. package/types/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.d.ts.map +1 -1
  644. package/types/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.d.ts +0 -1
  645. package/types/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.d.ts.map +1 -1
  646. package/types/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.type.d.ts +2 -2
  647. package/types/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.type.d.ts.map +1 -1
  648. package/types/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.d.ts +3 -4
  649. package/types/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.d.ts.map +1 -1
  650. package/types/components/Combobox/ComboboxOld/utils/index.d.ts +4 -4
  651. package/types/components/Combobox/ComboboxOld/utils/index.d.ts.map +1 -1
  652. package/types/components/Counter/Counter.d.ts.map +1 -1
  653. package/types/components/Counter/Counter.types.d.ts +2 -2
  654. package/types/components/Counter/Counter.types.d.ts.map +1 -1
  655. package/types/components/DatePicker/DatePicker.tokens.d.ts +10 -7
  656. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  657. package/types/components/DatePicker/DatePickerBase.styles.d.ts +1 -5
  658. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
  659. package/types/components/DatePicker/DatePickerBase.types.d.ts +4 -23
  660. package/types/components/DatePicker/DatePickerBase.types.d.ts.map +1 -1
  661. package/types/components/DatePicker/RangeDate/RangeDate.d.ts +58 -57
  662. package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +1 -1
  663. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts +105 -106
  664. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts.map +1 -1
  665. package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts +9 -9
  666. package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts.map +1 -1
  667. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts +1 -2
  668. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts.map +1 -1
  669. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts +2 -16
  670. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts.map +1 -1
  671. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts +21 -13
  672. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts.map +1 -1
  673. package/types/components/DatePicker/SingleDate/SingleDate.d.ts +48 -48
  674. package/types/components/DatePicker/SingleDate/SingleDate.d.ts.map +1 -1
  675. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +224 -225
  676. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  677. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts +6 -6
  678. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts.map +1 -1
  679. package/types/components/DatePicker/hooks/useDatePicker.d.ts +1 -1
  680. package/types/components/DatePicker/hooks/useDatePicker.d.ts.map +1 -1
  681. package/types/components/DatePicker/hooks/useKeyboardNavigation.d.ts.map +1 -1
  682. package/types/components/DatePicker/utils/dateHelper.d.ts +2 -2
  683. package/types/components/DatePicker/utils/dateHelper.d.ts.map +1 -1
  684. package/types/components/DatePicker/utils/getFormattedDates.d.ts +1 -1
  685. package/types/components/DatePicker/utils/getFormattedDates.d.ts.map +1 -1
  686. package/types/components/DatePicker/utils/getMaskedDateOnInput.d.ts +1 -1
  687. package/types/components/DatePicker/utils/getMaskedDateOnInput.d.ts.map +1 -1
  688. package/types/components/DatePicker/utils/getOriginalDates.d.ts +1 -1
  689. package/types/components/DatePicker/utils/getOriginalDates.d.ts.map +1 -1
  690. package/types/components/DatePicker/utils/normalizeDates.d.ts +1 -1
  691. package/types/components/DatePicker/utils/normalizeDates.d.ts.map +1 -1
  692. package/types/components/Divider/Divider.d.ts.map +1 -1
  693. package/types/components/Drawer/Drawer.d.ts +24 -24
  694. package/types/components/Drawer/Drawer.d.ts.map +1 -1
  695. package/types/components/Drawer/Drawer.styles.d.ts +2 -3
  696. package/types/components/Drawer/Drawer.styles.d.ts.map +1 -1
  697. package/types/components/Drawer/Drawer.types.d.ts +2 -3
  698. package/types/components/Drawer/Drawer.types.d.ts.map +1 -1
  699. package/types/components/Drawer/ui/DrawerContent/DrawerContent.d.ts +2 -3
  700. package/types/components/Drawer/ui/DrawerContent/DrawerContent.d.ts.map +1 -1
  701. package/types/components/Drawer/ui/DrawerContent/DrawerContent.types.d.ts +0 -1
  702. package/types/components/Drawer/ui/DrawerContent/DrawerContent.types.d.ts.map +1 -1
  703. package/types/components/Drawer/ui/DrawerFooter/DrawerFooter.d.ts +2 -3
  704. package/types/components/Drawer/ui/DrawerFooter/DrawerFooter.d.ts.map +1 -1
  705. package/types/components/Drawer/ui/DrawerFooter/DrawerFooter.types.d.ts +1 -1
  706. package/types/components/Drawer/ui/DrawerFooter/DrawerFooter.types.d.ts.map +1 -1
  707. package/types/components/Drawer/ui/DrawerHeader/DrawerHeader.d.ts +8 -9
  708. package/types/components/Drawer/ui/DrawerHeader/DrawerHeader.d.ts.map +1 -1
  709. package/types/components/Drawer/ui/DrawerHeader/DrawerHeader.types.d.ts +1 -1
  710. package/types/components/Drawer/ui/DrawerHeader/DrawerHeader.types.d.ts.map +1 -1
  711. package/types/components/Dropdown/Dropdown.context.d.ts +0 -1
  712. package/types/components/Dropdown/Dropdown.context.d.ts.map +1 -1
  713. package/types/components/Dropdown/Dropdown.d.ts +48 -48
  714. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  715. package/types/components/Dropdown/Dropdown.styles.d.ts +4 -5
  716. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  717. package/types/components/Dropdown/Dropdown.types.d.ts +7 -7
  718. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  719. package/types/components/Dropdown/hooks/useHashMaps.d.ts +3 -3
  720. package/types/components/Dropdown/hooks/useHashMaps.d.ts.map +1 -1
  721. package/types/components/Dropdown/reducers/focusedPathReducer.d.ts +2 -2
  722. package/types/components/Dropdown/reducers/focusedPathReducer.d.ts.map +1 -1
  723. package/types/components/Dropdown/reducers/pathReducer.d.ts +2 -2
  724. package/types/components/Dropdown/reducers/pathReducer.d.ts.map +1 -1
  725. package/types/components/Dropdown/ui/DropdownDivider/DropdownDivider.d.ts +6 -6
  726. package/types/components/Dropdown/ui/DropdownDivider/DropdownDivider.d.ts.map +1 -1
  727. package/types/components/Dropdown/ui/DropdownDivider/DropdownDivider.styles.d.ts +0 -1
  728. package/types/components/Dropdown/ui/DropdownDivider/DropdownDivider.styles.d.ts.map +1 -1
  729. package/types/components/Dropdown/ui/DropdownDivider/DropdownDivider.types.d.ts +2 -2
  730. package/types/components/Dropdown/ui/DropdownDivider/DropdownDivider.types.d.ts.map +1 -1
  731. package/types/components/Dropdown/ui/DropdownFooter/DropdownFooter.d.ts +6 -6
  732. package/types/components/Dropdown/ui/DropdownFooter/DropdownFooter.d.ts.map +1 -1
  733. package/types/components/Dropdown/ui/DropdownFooter/DropdownFooter.styles.d.ts +0 -1
  734. package/types/components/Dropdown/ui/DropdownFooter/DropdownFooter.styles.d.ts.map +1 -1
  735. package/types/components/Dropdown/ui/DropdownFooter/DropdownFooter.type.d.ts +2 -2
  736. package/types/components/Dropdown/ui/DropdownFooter/DropdownFooter.type.d.ts.map +1 -1
  737. package/types/components/Dropdown/ui/DropdownGroup/DropdownGroup.d.ts +12 -12
  738. package/types/components/Dropdown/ui/DropdownGroup/DropdownGroup.d.ts.map +1 -1
  739. package/types/components/Dropdown/ui/DropdownGroup/DropdownGroup.styles.d.ts +0 -1
  740. package/types/components/Dropdown/ui/DropdownGroup/DropdownGroup.styles.d.ts.map +1 -1
  741. package/types/components/Dropdown/ui/DropdownGroup/DropdownGroup.type.d.ts +2 -2
  742. package/types/components/Dropdown/ui/DropdownGroup/DropdownGroup.type.d.ts.map +1 -1
  743. package/types/components/Dropdown/ui/DropdownHeader/DropdownHeader.d.ts +6 -6
  744. package/types/components/Dropdown/ui/DropdownHeader/DropdownHeader.d.ts.map +1 -1
  745. package/types/components/Dropdown/ui/DropdownHeader/DropdownHeader.styles.d.ts +0 -1
  746. package/types/components/Dropdown/ui/DropdownHeader/DropdownHeader.styles.d.ts.map +1 -1
  747. package/types/components/Dropdown/ui/DropdownHeader/DropdownHeader.type.d.ts +2 -2
  748. package/types/components/Dropdown/ui/DropdownHeader/DropdownHeader.type.d.ts.map +1 -1
  749. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +21 -22
  750. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  751. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +1 -1
  752. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
  753. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.d.ts +0 -1
  754. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.d.ts.map +1 -1
  755. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.d.ts +2 -2
  756. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.d.ts.map +1 -1
  757. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.d.ts +28 -28
  758. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.d.ts.map +1 -1
  759. package/types/components/Dropdown/ui/DropdownOld/Dropdown.styles.d.ts +0 -1
  760. package/types/components/Dropdown/ui/DropdownOld/Dropdown.styles.d.ts.map +1 -1
  761. package/types/components/Dropdown/ui/DropdownOld/Dropdown.types.d.ts +5 -5
  762. package/types/components/Dropdown/ui/DropdownOld/Dropdown.types.d.ts.map +1 -1
  763. package/types/components/Dropdown/ui/DropdownOld/DropdownOld.d.ts.map +1 -1
  764. package/types/components/Dropdown/ui/DropdownOld/utils/index.d.ts +1 -1
  765. package/types/components/Dropdown/ui/DropdownOld/utils/index.d.ts.map +1 -1
  766. package/types/components/Dropdown/utils/getItemByFocused.d.ts.map +1 -1
  767. package/types/components/Dropdown/utils/getPlacement.d.ts +1 -1
  768. package/types/components/Dropdown/utils/index.d.ts +2 -2
  769. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  770. package/types/components/Dropzone/Dropzone.d.ts +25 -24
  771. package/types/components/Dropzone/Dropzone.d.ts.map +1 -1
  772. package/types/components/Dropzone/Dropzone.styles.d.ts +0 -1
  773. package/types/components/Dropzone/Dropzone.styles.d.ts.map +1 -1
  774. package/types/components/Dropzone/Dropzone.types.d.ts +5 -5
  775. package/types/components/Dropzone/Dropzone.types.d.ts.map +1 -1
  776. package/types/components/Editable/Editable.d.ts +1 -1
  777. package/types/components/Editable/Editable.d.ts.map +1 -1
  778. package/types/components/Editable/Editable.styles.d.ts +0 -1
  779. package/types/components/Editable/Editable.styles.d.ts.map +1 -1
  780. package/types/components/Editable/Editable.types.d.ts +1 -1
  781. package/types/components/Editable/Editable.types.d.ts.map +1 -1
  782. package/types/components/EmptyState/EmptyState.d.ts.map +1 -1
  783. package/types/components/EmptyState/EmptyState.styles.d.ts +35 -36
  784. package/types/components/EmptyState/EmptyState.styles.d.ts.map +1 -1
  785. package/types/components/Flow/Flow.d.ts +3 -3
  786. package/types/components/Flow/Flow.d.ts.map +1 -1
  787. package/types/components/Flow/Flow.styles.d.ts +0 -1
  788. package/types/components/Flow/Flow.styles.d.ts.map +1 -1
  789. package/types/components/Grid/Grid.d.ts.map +1 -1
  790. package/types/components/Grid/ui/Col/Col.styles.d.ts +0 -1
  791. package/types/components/Grid/ui/Col/Col.styles.d.ts.map +1 -1
  792. package/types/components/Grid/ui/Col/Col.types.d.ts +4 -4
  793. package/types/components/Grid/ui/Col/Col.types.d.ts.map +1 -1
  794. package/types/components/Grid/ui/Row/Row.styles.d.ts +0 -1
  795. package/types/components/Grid/ui/Row/Row.styles.d.ts.map +1 -1
  796. package/types/components/Grid/utils/types.d.ts +6 -6
  797. package/types/components/Grid/utils/types.d.ts.map +1 -1
  798. package/types/components/IconButton/IconButton.d.ts +2 -3
  799. package/types/components/IconButton/IconButton.d.ts.map +1 -1
  800. package/types/components/Image/Image.d.ts +6 -6
  801. package/types/components/Image/Image.d.ts.map +1 -1
  802. package/types/components/Image/Image.styles.d.ts +0 -1
  803. package/types/components/Image/Image.styles.d.ts.map +1 -1
  804. package/types/components/Image/Image.types.d.ts +4 -4
  805. package/types/components/Image/Image.types.d.ts.map +1 -1
  806. package/types/components/Indicator/Indicator.d.ts.map +1 -1
  807. package/types/components/Indicator/Indicator.types.d.ts +2 -2
  808. package/types/components/Indicator/Indicator.types.d.ts.map +1 -1
  809. package/types/components/Link/Link.d.ts.map +1 -1
  810. package/types/components/Link/Link.types.d.ts +2 -3
  811. package/types/components/Link/Link.types.d.ts.map +1 -1
  812. package/types/components/LinkButton/LinkButton.d.ts +10 -10
  813. package/types/components/LinkButton/LinkButton.d.ts.map +1 -1
  814. package/types/components/LinkButton/LinkButton.styles.d.ts +9 -10
  815. package/types/components/LinkButton/LinkButton.styles.d.ts.map +1 -1
  816. package/types/components/LinkButton/LinkButton.types.d.ts +2 -2
  817. package/types/components/LinkButton/LinkButton.types.d.ts.map +1 -1
  818. package/types/components/Mask/Mask.d.ts +1 -1
  819. package/types/components/Mask/Mask.d.ts.map +1 -1
  820. package/types/components/Mask/Mask.types.d.ts +2 -2
  821. package/types/components/Mask/Mask.types.d.ts.map +1 -1
  822. package/types/components/Modal/Modal.d.ts.map +1 -1
  823. package/types/components/Modal/Modal.styles.d.ts +0 -1
  824. package/types/components/Modal/Modal.styles.d.ts.map +1 -1
  825. package/types/components/Modal/Modal.types.d.ts +5 -6
  826. package/types/components/Modal/Modal.types.d.ts.map +1 -1
  827. package/types/components/Note/Note.d.ts +20 -16
  828. package/types/components/Note/Note.d.ts.map +1 -1
  829. package/types/components/Note/Note.styles.d.ts +46 -2
  830. package/types/components/Note/Note.styles.d.ts.map +1 -1
  831. package/types/components/Note/Note.tokens.d.ts +8 -0
  832. package/types/components/Note/Note.tokens.d.ts.map +1 -1
  833. package/types/components/Note/Note.types.d.ts +9 -1
  834. package/types/components/Note/Note.types.d.ts.map +1 -1
  835. package/types/components/Notification/Notification.d.ts +2 -2
  836. package/types/components/Notification/Notification.d.ts.map +1 -1
  837. package/types/components/Notification/Notification.styles.d.ts +41 -42
  838. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  839. package/types/components/Notification/Notification.types.d.ts +6 -6
  840. package/types/components/Notification/Notification.types.d.ts.map +1 -1
  841. package/types/components/Notification/NotificationsStore.d.ts +3 -3
  842. package/types/components/Notification/NotificationsStore.d.ts.map +1 -1
  843. package/types/components/Notification/utils/index.d.ts +2 -1
  844. package/types/components/Notification/utils/index.d.ts.map +1 -1
  845. package/types/components/NumberFormat/NumberFormat.d.ts +11 -11
  846. package/types/components/NumberFormat/NumberFormat.d.ts.map +1 -1
  847. package/types/components/NumberFormat/NumberFormat.types.d.ts +3 -3
  848. package/types/components/NumberFormat/NumberFormat.types.d.ts.map +1 -1
  849. package/types/components/NumberInput/NumberInput.d.ts.map +1 -1
  850. package/types/components/NumberInput/NumberInput.types.d.ts +3 -3
  851. package/types/components/NumberInput/NumberInput.types.d.ts.map +1 -1
  852. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +35 -36
  853. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +1 -1
  854. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +1 -1
  855. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +1 -1
  856. package/types/components/NumberInput/ui/Input/Input.d.ts +12 -12
  857. package/types/components/NumberInput/ui/Input/Input.styles.d.ts +8 -9
  858. package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +1 -1
  859. package/types/components/NumberInput/ui/Input/Input.types.d.ts +1 -1
  860. package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +1 -1
  861. package/types/components/NumberInput/utils/index.d.ts +1 -1
  862. package/types/components/NumberInput/utils/index.d.ts.map +1 -1
  863. package/types/components/Overlay/Overlay.styles.d.ts +3 -4
  864. package/types/components/Overlay/Overlay.styles.d.ts.map +1 -1
  865. package/types/components/Overlay/Overlay.types.d.ts +1 -1
  866. package/types/components/Overlay/Overlay.types.d.ts.map +1 -1
  867. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  868. package/types/components/Pagination/Pagination.styles.d.ts +70 -71
  869. package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
  870. package/types/components/Pagination/Pagination.types.d.ts +2 -2
  871. package/types/components/Pagination/Pagination.types.d.ts.map +1 -1
  872. package/types/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.styles.d.ts +0 -1
  873. package/types/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.styles.d.ts.map +1 -1
  874. package/types/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.types.d.ts +2 -2
  875. package/types/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.types.d.ts.map +1 -1
  876. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +264 -265
  877. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  878. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.d.ts +2 -2
  879. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.d.ts.map +1 -1
  880. package/types/components/Pagination/utils/index.d.ts +2 -1
  881. package/types/components/Pagination/utils/index.d.ts.map +1 -1
  882. package/types/components/PaginationDots/PaginationDot.d.ts +20 -0
  883. package/types/components/PaginationDots/PaginationDot.d.ts.map +1 -0
  884. package/types/components/PaginationDots/PaginationDots.d.ts +14 -0
  885. package/types/components/PaginationDots/PaginationDots.d.ts.map +1 -0
  886. package/types/components/PaginationDots/SmartPaginationDots.d.ts +15 -0
  887. package/types/components/PaginationDots/SmartPaginationDots.d.ts.map +1 -0
  888. package/types/components/PaginationDots/index.d.ts +6 -0
  889. package/types/components/PaginationDots/index.d.ts.map +1 -0
  890. package/types/components/PaginationDots/usePaginationDots.d.ts +14 -0
  891. package/types/components/PaginationDots/usePaginationDots.d.ts.map +1 -0
  892. package/types/components/Panel/Panel.d.ts.map +1 -1
  893. package/types/components/Panel/Panel.styles.d.ts +1 -2
  894. package/types/components/Panel/Panel.styles.d.ts.map +1 -1
  895. package/types/components/Panel/Panel.types.d.ts +1 -1
  896. package/types/components/Panel/Panel.types.d.ts.map +1 -1
  897. package/types/components/Panel/ui/PanelContent/PanelContent.d.ts +2 -2
  898. package/types/components/Panel/ui/PanelContent/PanelContent.d.ts.map +1 -1
  899. package/types/components/Panel/ui/PanelContent/PanelContent.types.d.ts +1 -1
  900. package/types/components/Panel/ui/PanelContent/PanelContent.types.d.ts.map +1 -1
  901. package/types/components/Panel/ui/PanelFooter/PanelFooter.d.ts +2 -2
  902. package/types/components/Panel/ui/PanelFooter/PanelFooter.d.ts.map +1 -1
  903. package/types/components/Panel/ui/PanelFooter/PanelFooter.types.d.ts +1 -1
  904. package/types/components/Panel/ui/PanelFooter/PanelFooter.types.d.ts.map +1 -1
  905. package/types/components/Panel/ui/PanelHeader/PanelHeader.d.ts +8 -8
  906. package/types/components/Panel/ui/PanelHeader/PanelHeader.d.ts.map +1 -1
  907. package/types/components/Panel/ui/PanelHeader/PanelHeader.styles.d.ts +37 -37
  908. package/types/components/Panel/ui/PanelHeader/PanelHeader.styles.d.ts.map +1 -1
  909. package/types/components/Panel/ui/PanelHeader/PanelHeader.types.d.ts +2 -2
  910. package/types/components/Panel/ui/PanelHeader/PanelHeader.types.d.ts.map +1 -1
  911. package/types/components/Popover/Popover.d.ts.map +1 -1
  912. package/types/components/Popover/Popover.styles.d.ts +0 -1
  913. package/types/components/Popover/Popover.styles.d.ts.map +1 -1
  914. package/types/components/Popover/Popover.types.d.ts +3 -3
  915. package/types/components/Popover/Popover.types.d.ts.map +1 -1
  916. package/types/components/Popover/hooks/usePopoverOffset.d.ts +0 -1
  917. package/types/components/Popover/hooks/usePopoverOffset.d.ts.map +1 -1
  918. package/types/components/Popup/Popup.d.ts.map +1 -1
  919. package/types/components/Popup/Popup.styles.d.ts +0 -1
  920. package/types/components/Popup/Popup.styles.d.ts.map +1 -1
  921. package/types/components/Popup/Popup.types.d.ts +3 -4
  922. package/types/components/Popup/Popup.types.d.ts.map +1 -1
  923. package/types/components/Popup/hooks/usePopup.d.ts +0 -1
  924. package/types/components/Popup/hooks/usePopup.d.ts.map +1 -1
  925. package/types/components/Portal/Portal.types.d.ts +1 -1
  926. package/types/components/Portal/Portal.types.d.ts.map +1 -1
  927. package/types/components/Price/Price.d.ts +2 -2
  928. package/types/components/Price/Price.d.ts.map +1 -1
  929. package/types/components/Price/Price.styles.d.ts +0 -1
  930. package/types/components/Price/Price.styles.d.ts.map +1 -1
  931. package/types/components/Price/utils/formatCurrency.d.ts.map +1 -1
  932. package/types/components/Progress/Progress.d.ts.map +1 -1
  933. package/types/components/Progress/Progress.styles.d.ts +0 -1
  934. package/types/components/Progress/Progress.styles.d.ts.map +1 -1
  935. package/types/components/Progress/Progress.types.d.ts +1 -1
  936. package/types/components/Progress/Progress.types.d.ts.map +1 -1
  937. package/types/components/Radiobox/Radiobox.d.ts +1 -1
  938. package/types/components/Radiobox/Radiobox.d.ts.map +1 -1
  939. package/types/components/Radiobox/Radiobox.styles.d.ts +0 -1
  940. package/types/components/Radiobox/Radiobox.styles.d.ts.map +1 -1
  941. package/types/components/Range/Range.d.ts.map +1 -1
  942. package/types/components/Range/Range.styles.d.ts +224 -225
  943. package/types/components/Range/Range.styles.d.ts.map +1 -1
  944. package/types/components/Range/Range.types.d.ts +7 -7
  945. package/types/components/Range/Range.types.d.ts.map +1 -1
  946. package/types/components/Range/utils/index.d.ts +2 -2
  947. package/types/components/Range/utils/index.d.ts.map +1 -1
  948. package/types/components/Rating/Rating.d.ts +20 -20
  949. package/types/components/Rating/Rating.d.ts.map +1 -1
  950. package/types/components/Rating/Rating.styles.d.ts +0 -1
  951. package/types/components/Rating/Rating.styles.d.ts.map +1 -1
  952. package/types/components/Rating/Rating.types.d.ts +1 -1
  953. package/types/components/Rating/Rating.types.d.ts.map +1 -1
  954. package/types/components/Rating/utils/getIcons.d.ts +1 -2
  955. package/types/components/Rating/utils/getIcons.d.ts.map +1 -1
  956. package/types/components/Rating/utils/index.d.ts +2 -2
  957. package/types/components/Rating/utils/index.d.ts.map +1 -1
  958. package/types/components/SSRProvider/SSRProvider.d.ts.map +1 -1
  959. package/types/components/Segment/SegmentProvider/SegmentProvider.types.d.ts +3 -3
  960. package/types/components/Segment/SegmentProvider/SegmentProvider.types.d.ts.map +1 -1
  961. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.d.ts.map +1 -1
  962. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.styles.d.ts +4 -5
  963. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.styles.d.ts.map +1 -1
  964. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.types.d.ts +1 -1
  965. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.types.d.ts.map +1 -1
  966. package/types/components/Segment/ui/SegmentItem/SegmentItem.d.ts +13 -12
  967. package/types/components/Segment/ui/SegmentItem/SegmentItem.d.ts.map +1 -1
  968. package/types/components/Segment/ui/SegmentItem/SegmentItem.styles.d.ts +3 -4
  969. package/types/components/Segment/ui/SegmentItem/SegmentItem.styles.d.ts.map +1 -1
  970. package/types/components/Segment/ui/SegmentItem/SegmentItem.types.d.ts +2 -2
  971. package/types/components/Segment/ui/SegmentItem/SegmentItem.types.d.ts.map +1 -1
  972. package/types/components/Select/Select.context.d.ts +0 -1
  973. package/types/components/Select/Select.context.d.ts.map +1 -1
  974. package/types/components/Select/Select.d.ts +2 -2
  975. package/types/components/Select/Select.d.ts.map +1 -1
  976. package/types/components/Select/Select.styles.d.ts +5 -6
  977. package/types/components/Select/Select.styles.d.ts.map +1 -1
  978. package/types/components/Select/Select.types.d.ts +11 -11
  979. package/types/components/Select/Select.types.d.ts.map +1 -1
  980. package/types/components/Select/hooks/useKeyboardNavigation.d.ts +2 -2
  981. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
  982. package/types/components/Select/hooks/usePathMaps.d.ts +6 -6
  983. package/types/components/Select/hooks/usePathMaps.d.ts.map +1 -1
  984. package/types/components/Select/reducers/focusedPathReducer.d.ts +2 -2
  985. package/types/components/Select/reducers/focusedPathReducer.d.ts.map +1 -1
  986. package/types/components/Select/reducers/pathReducer.d.ts +2 -2
  987. package/types/components/Select/reducers/pathReducer.d.ts.map +1 -1
  988. package/types/components/Select/ui/Inner/Inner.type.d.ts +1 -1
  989. package/types/components/Select/ui/Inner/Inner.type.d.ts.map +1 -1
  990. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +22 -23
  991. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  992. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts +5 -5
  993. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts.map +1 -1
  994. package/types/components/Select/ui/SelectNative/SelectNative.d.ts +1 -1
  995. package/types/components/Select/ui/SelectNative/SelectNative.d.ts.map +1 -1
  996. package/types/components/Select/ui/SelectNative/SelectNative.styles.d.ts +0 -1
  997. package/types/components/Select/ui/SelectNative/SelectNative.styles.d.ts.map +1 -1
  998. package/types/components/Select/ui/Target/Target.d.ts +6 -5
  999. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  1000. package/types/components/Select/ui/Target/Target.types.d.ts +1 -1
  1001. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  1002. package/types/components/Select/ui/Target/ui/Button/Button.styles.d.ts +35 -36
  1003. package/types/components/Select/ui/Target/ui/Button/Button.styles.d.ts.map +1 -1
  1004. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts +2 -2
  1005. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts.map +1 -1
  1006. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +227 -228
  1007. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  1008. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
  1009. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  1010. package/types/components/Select/utils/getCorrectHeight.d.ts +1 -1
  1011. package/types/components/Select/utils/getCorrectHeight.d.ts.map +1 -1
  1012. package/types/components/Select/utils/getFallbackPlacements.d.ts +1 -1
  1013. package/types/components/Select/utils/getFallbackPlacements.d.ts.map +1 -1
  1014. package/types/components/Select/utils/getPlacement.d.ts +1 -1
  1015. package/types/components/Select/utils/getPlacement.d.ts.map +1 -1
  1016. package/types/components/Select/utils/getView.d.ts +1 -1
  1017. package/types/components/Select/utils/initialItemsTransform.d.ts +1 -1
  1018. package/types/components/Select/utils/initialItemsTransform.d.ts.map +1 -1
  1019. package/types/components/Select/utils/sizeToIconSize.d.ts +1 -1
  1020. package/types/components/Select/utils/sizeToIconSize.d.ts.map +1 -1
  1021. package/types/components/Select/utils/updateAncestors.d.ts.map +1 -1
  1022. package/types/components/Select/utils/updateDescendants.d.ts +1 -1
  1023. package/types/components/Select/utils/updateDescendants.d.ts.map +1 -1
  1024. package/types/components/Select/utils/updateSingleAncestors.d.ts +1 -1
  1025. package/types/components/Select/utils/updateSingleAncestors.d.ts.map +1 -1
  1026. package/types/components/Sheet/Sheet.d.ts.map +1 -1
  1027. package/types/components/Sheet/Sheet.styles.d.ts +4 -5
  1028. package/types/components/Sheet/Sheet.styles.d.ts.map +1 -1
  1029. package/types/components/Sheet/Sheet.types.d.ts +2 -2
  1030. package/types/components/Sheet/Sheet.types.d.ts.map +1 -1
  1031. package/types/components/Sheet/hooks/useSheetSwipe.d.ts +1 -1
  1032. package/types/components/Sheet/hooks/useSheetSwipe.d.ts.map +1 -1
  1033. package/types/components/Sheet/utils/handleTransition.d.ts +1 -1
  1034. package/types/components/Sheet/utils/handleTransition.d.ts.map +1 -1
  1035. package/types/components/Skeleton/LineSkeleton/LineSkeleton.d.ts +4 -4
  1036. package/types/components/Skeleton/LineSkeleton/LineSkeleton.d.ts.map +1 -1
  1037. package/types/components/Skeleton/LineSkeleton/LineSkeleton.styles.d.ts +0 -1
  1038. package/types/components/Skeleton/LineSkeleton/LineSkeleton.styles.d.ts.map +1 -1
  1039. package/types/components/Skeleton/LineSkeleton/LineSkeleton.types.d.ts +3 -3
  1040. package/types/components/Skeleton/LineSkeleton/LineSkeleton.types.d.ts.map +1 -1
  1041. package/types/components/Skeleton/RectSkeleton/RectSkeleton.d.ts +2 -2
  1042. package/types/components/Skeleton/RectSkeleton/RectSkeleton.styles.d.ts +0 -1
  1043. package/types/components/Skeleton/RectSkeleton/RectSkeleton.styles.d.ts.map +1 -1
  1044. package/types/components/Skeleton/RectSkeleton/RectSkeleton.types.d.ts +3 -3
  1045. package/types/components/Skeleton/RectSkeleton/RectSkeleton.types.d.ts.map +1 -1
  1046. package/types/components/Skeleton/Skeleton.types.d.ts +1 -1
  1047. package/types/components/Skeleton/Skeleton.types.d.ts.map +1 -1
  1048. package/types/components/Skeleton/TextSkeleton/TextSkeleton.d.ts +1 -2
  1049. package/types/components/Skeleton/TextSkeleton/TextSkeleton.d.ts.map +1 -1
  1050. package/types/components/Skeleton/TextSkeleton/TextSkeleton.styles.d.ts +0 -1
  1051. package/types/components/Skeleton/TextSkeleton/TextSkeleton.styles.d.ts.map +1 -1
  1052. package/types/components/Skeleton/TextSkeleton/TextSkeleton.types.d.ts +2 -2
  1053. package/types/components/Skeleton/TextSkeleton/TextSkeleton.types.d.ts.map +1 -1
  1054. package/types/components/Skeleton/hoc/withSkeleton.d.ts +1 -2
  1055. package/types/components/Skeleton/hoc/withSkeleton.d.ts.map +1 -1
  1056. package/types/components/Slider/Slider.d.ts.map +1 -1
  1057. package/types/components/Slider/Slider.types.d.ts +1 -1
  1058. package/types/components/Slider/Slider.types.d.ts.map +1 -1
  1059. package/types/components/Slider/components/Double/Double.styles.d.ts +224 -225
  1060. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  1061. package/types/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.types.d.ts +2 -2
  1062. package/types/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.types.d.ts.map +1 -1
  1063. package/types/components/Slider/components/Single/Single.styles.d.ts +0 -1
  1064. package/types/components/Slider/components/Single/Single.styles.d.ts.map +1 -1
  1065. package/types/components/Slider/components/Single/Single.types.d.ts +3 -3
  1066. package/types/components/Slider/components/Single/Single.types.d.ts.map +1 -1
  1067. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts +0 -1
  1068. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts.map +1 -1
  1069. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts +1 -1
  1070. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts.map +1 -1
  1071. package/types/components/Slider/ui/Handler/Handler.styles.d.ts +4 -5
  1072. package/types/components/Slider/ui/Handler/Handler.styles.d.ts.map +1 -1
  1073. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts.map +1 -1
  1074. package/types/components/Slider/ui/Thumb/Thumb.d.ts +0 -1
  1075. package/types/components/Slider/ui/Thumb/Thumb.d.ts.map +1 -1
  1076. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts +1 -2
  1077. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts.map +1 -1
  1078. package/types/components/Spinner/Spinner.d.ts.map +1 -1
  1079. package/types/components/Spinner/Spinner.styles.d.ts +0 -1
  1080. package/types/components/Spinner/Spinner.styles.d.ts.map +1 -1
  1081. package/types/components/Spinner/Spinner.types.d.ts +2 -3
  1082. package/types/components/Spinner/Spinner.types.d.ts.map +1 -1
  1083. package/types/components/Steps/Steps.d.ts +1 -1
  1084. package/types/components/Steps/Steps.d.ts.map +1 -1
  1085. package/types/components/Steps/Steps.types.d.ts +3 -3
  1086. package/types/components/Steps/Steps.types.d.ts.map +1 -1
  1087. package/types/components/Steps/ui/StepItem/StepItem.styles.d.ts +11 -12
  1088. package/types/components/Steps/ui/StepItem/StepItem.styles.d.ts.map +1 -1
  1089. package/types/components/Steps/ui/StepItem/StepItem.types.d.ts +2 -2
  1090. package/types/components/Steps/ui/StepItem/StepItem.types.d.ts.map +1 -1
  1091. package/types/components/Steps/utils/getItemStatus.d.ts +2 -2
  1092. package/types/components/Steps/utils/getItemStatus.d.ts.map +1 -1
  1093. package/types/components/Switch/Switch.d.ts.map +1 -1
  1094. package/types/components/Switch/Switch.styles.d.ts +0 -1
  1095. package/types/components/Switch/Switch.styles.d.ts.map +1 -1
  1096. package/types/components/Table/Table.d.ts.map +1 -1
  1097. package/types/components/Table/Table.styles.d.ts +83 -84
  1098. package/types/components/Table/Table.styles.d.ts.map +1 -1
  1099. package/types/components/Table/Table.types.d.ts +2 -2
  1100. package/types/components/Table/Table.types.d.ts.map +1 -1
  1101. package/types/components/Table/ui/Cell/Cell.d.ts +1 -1
  1102. package/types/components/Table/ui/Cell/Cell.d.ts.map +1 -1
  1103. package/types/components/Table/ui/Cell/Cell.styles.d.ts +4 -5
  1104. package/types/components/Table/ui/Cell/Cell.styles.d.ts.map +1 -1
  1105. package/types/components/Table/ui/EditableCell/EditableCell.d.ts +1 -1
  1106. package/types/components/Table/ui/EditableCell/EditableCell.d.ts.map +1 -1
  1107. package/types/components/Table/ui/EditableCell/EditableCell.styles.d.ts +74 -75
  1108. package/types/components/Table/ui/EditableCell/EditableCell.styles.d.ts.map +1 -1
  1109. package/types/components/Table/ui/HeadCell/HeadCell.d.ts +2 -2
  1110. package/types/components/Table/ui/HeadCell/HeadCell.d.ts.map +1 -1
  1111. package/types/components/Table/ui/HeadCell/HeadCell.styles.d.ts +0 -1
  1112. package/types/components/Table/ui/HeadCell/HeadCell.styles.d.ts.map +1 -1
  1113. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.d.ts +1 -1
  1114. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.d.ts.map +1 -1
  1115. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.styles.d.ts +264 -265
  1116. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.styles.d.ts.map +1 -1
  1117. package/types/components/Tabs/TabItem.types.d.ts +7 -7
  1118. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  1119. package/types/components/Tabs/Tabs.types.d.ts +7 -7
  1120. package/types/components/Tabs/Tabs.types.d.ts.map +1 -1
  1121. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  1122. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts +0 -1
  1123. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  1124. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts.map +1 -1
  1125. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.d.ts +2 -3
  1126. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.d.ts.map +1 -1
  1127. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts.map +1 -1
  1128. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts +0 -1
  1129. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  1130. package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.d.ts.map +1 -1
  1131. package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.d.ts +1 -2
  1132. package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.d.ts.map +1 -1
  1133. package/types/components/Tabs/utils/index.d.ts +2 -2
  1134. package/types/components/Tabs/utils/index.d.ts.map +1 -1
  1135. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  1136. package/types/components/TextArea/TextArea.styles.d.ts +6 -7
  1137. package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
  1138. package/types/components/TextArea/TextArea.types.d.ts +13 -13
  1139. package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
  1140. package/types/components/TextArea/hooks/useAutoResize.d.ts +1 -1
  1141. package/types/components/TextArea/hooks/useAutoResize.d.ts.map +1 -1
  1142. package/types/components/TextArea/ui/Hint/Hint.types.d.ts +1 -1
  1143. package/types/components/TextArea/ui/Hint/Hint.types.d.ts.map +1 -1
  1144. package/types/components/TextField/TextField.d.ts.map +1 -1
  1145. package/types/components/TextField/TextField.styles.d.ts +3 -4
  1146. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  1147. package/types/components/TextField/TextField.types.d.ts +12 -12
  1148. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  1149. package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +1 -1
  1150. package/types/components/TextField/ui/Hint/Hint.types.d.ts +1 -1
  1151. package/types/components/TextField/ui/Hint/Hint.types.d.ts.map +1 -1
  1152. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +0 -1
  1153. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -1
  1154. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +0 -1
  1155. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +1 -1
  1156. package/types/components/TextFieldGroup/TextFieldGroup.d.ts.map +1 -1
  1157. package/types/components/TextFieldGroup/TextFieldGroup.types.d.ts +8 -8
  1158. package/types/components/TextFieldGroup/TextFieldGroup.types.d.ts.map +1 -1
  1159. package/types/components/Toast/Toast.d.ts.map +1 -1
  1160. package/types/components/Toast/Toast.styles.d.ts +37 -38
  1161. package/types/components/Toast/Toast.styles.d.ts.map +1 -1
  1162. package/types/components/Toast/Toast.types.d.ts +5 -5
  1163. package/types/components/Toast/Toast.types.d.ts.map +1 -1
  1164. package/types/components/Toast/ToastController.d.ts +1 -2
  1165. package/types/components/Toast/ToastController.d.ts.map +1 -1
  1166. package/types/components/Toast/ToastNew/ToastNew.d.ts.map +1 -1
  1167. package/types/components/Toast/ToastNew/ToastNew.styles.d.ts +37 -37
  1168. package/types/components/Toast/ToastNew/ToastNew.types.d.ts +2 -2
  1169. package/types/components/Toast/ToastNew/ToastNew.types.d.ts.map +1 -1
  1170. package/types/components/Toast/ToastProvider/ToastProvider.d.ts +1 -1
  1171. package/types/components/Toast/ToastProvider/ToastProvider.d.ts.map +1 -1
  1172. package/types/components/Toast/ToastProvider/ToastProvider.types.d.ts +7 -7
  1173. package/types/components/Toast/ToastProvider/ToastProvider.types.d.ts.map +1 -1
  1174. package/types/components/Toast/utils.d.ts +35 -36
  1175. package/types/components/Toast/utils.d.ts.map +1 -1
  1176. package/types/components/Toolbar/Toolbar.d.ts +8 -8
  1177. package/types/components/Toolbar/Toolbar.d.ts.map +1 -1
  1178. package/types/components/Toolbar/Toolbar.types.d.ts +2 -2
  1179. package/types/components/Toolbar/Toolbar.types.d.ts.map +1 -1
  1180. package/types/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.d.ts +0 -1
  1181. package/types/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.d.ts.map +1 -1
  1182. package/types/components/Tooltip/Tooltip.d.ts +2 -2
  1183. package/types/components/Tooltip/Tooltip.d.ts.map +1 -1
  1184. package/types/components/Tooltip/Tooltip.styles.d.ts +0 -1
  1185. package/types/components/Tooltip/Tooltip.styles.d.ts.map +1 -1
  1186. package/types/components/Tree/Tree.d.ts.map +1 -1
  1187. package/types/components/Tree/Tree.styles.d.ts +1 -2
  1188. package/types/components/Tree/Tree.styles.d.ts.map +1 -1
  1189. package/types/components/Tree/Tree.types.d.ts +2 -2
  1190. package/types/components/Tree/Tree.types.d.ts.map +1 -1
  1191. package/types/components/Tree/utils/sizeToIconSize.d.ts +1 -1
  1192. package/types/components/Tree/utils/sizeToIconSize.d.ts.map +1 -1
  1193. package/types/components/Typography/Body/Body.d.ts +1 -2
  1194. package/types/components/Typography/Body/Body.d.ts.map +1 -1
  1195. package/types/components/Typography/Dspl/Dspl.d.ts +1 -2
  1196. package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
  1197. package/types/components/Typography/Heading/Heading.d.ts +1 -2
  1198. package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  1199. package/types/components/Typography/Old/Body/Body.d.ts +1 -2
  1200. package/types/components/Typography/Old/Body/Body.d.ts.map +1 -1
  1201. package/types/components/Typography/Old/Button/Button.d.ts +1 -2
  1202. package/types/components/Typography/Old/Button/Button.d.ts.map +1 -1
  1203. package/types/components/Typography/Old/Caption/Caption.d.ts +1 -2
  1204. package/types/components/Typography/Old/Caption/Caption.d.ts.map +1 -1
  1205. package/types/components/Typography/Old/Display/Display.d.ts +1 -2
  1206. package/types/components/Typography/Old/Display/Display.d.ts.map +1 -1
  1207. package/types/components/Typography/Old/Footnote/Footnote.d.ts +1 -2
  1208. package/types/components/Typography/Old/Footnote/Footnote.d.ts.map +1 -1
  1209. package/types/components/Typography/Old/Headline/Headline.d.ts +1 -2
  1210. package/types/components/Typography/Old/Headline/Headline.d.ts.map +1 -1
  1211. package/types/components/Typography/Old/Paragraph/Paragraph.d.ts +1 -2
  1212. package/types/components/Typography/Old/Paragraph/Paragraph.d.ts.map +1 -1
  1213. package/types/components/Typography/Old/ParagraphText/ParagraphText.d.ts +1 -2
  1214. package/types/components/Typography/Old/ParagraphText/ParagraphText.d.ts.map +1 -1
  1215. package/types/components/Typography/Old/Subtitle/Subtitle.d.ts +1 -1
  1216. package/types/components/Typography/Old/Subtitle/Subtitle.d.ts.map +1 -1
  1217. package/types/components/Typography/Old/TypographyOld.d.ts +1 -1
  1218. package/types/components/Typography/Old/TypographyOld.d.ts.map +1 -1
  1219. package/types/components/Typography/Old/Underline/Underline.d.ts +1 -2
  1220. package/types/components/Typography/Old/Underline/Underline.d.ts.map +1 -1
  1221. package/types/components/Typography/Text/Text.d.ts +1 -2
  1222. package/types/components/Typography/Text/Text.d.ts.map +1 -1
  1223. package/types/components/Typography/Typography.d.ts +2 -2
  1224. package/types/components/Typography/Typography.d.ts.map +1 -1
  1225. package/types/components/Typography/Typography.types.d.ts +1 -1
  1226. package/types/components/Typography/Typography.types.d.ts.map +1 -1
  1227. package/types/components/ViewContainer/ViewContainer.d.ts +2 -2
  1228. package/types/components/ViewContainer/ViewContainer.d.ts.map +1 -1
  1229. package/types/components/_Icon/IconRoot.d.ts +1 -1
  1230. package/types/components/_Icon/IconRoot.d.ts.map +1 -1
  1231. package/types/engines/common.d.ts +1 -1
  1232. package/types/engines/common.d.ts.map +1 -1
  1233. package/types/engines/index.d.ts.map +1 -1
  1234. package/types/engines/types.d.ts +14 -15
  1235. package/types/engines/types.d.ts.map +1 -1
  1236. package/types/engines/utils.d.ts +1 -1
  1237. package/types/engines/utils.d.ts.map +1 -1
  1238. package/types/hooks/useDidMountEffect.d.ts.map +1 -1
  1239. package/types/hooks/useFocusTrap.d.ts +1 -2
  1240. package/types/hooks/useFocusTrap.d.ts.map +1 -1
  1241. package/types/hooks/useOutsideClick.d.ts +1 -1
  1242. package/types/hooks/useOutsideClick.d.ts.map +1 -1
  1243. package/types/hooks/usePreviousValue.d.ts.map +1 -1
  1244. package/types/index.d.ts +1 -0
  1245. package/types/index.d.ts.map +1 -1
  1246. package/types/mixins/addFocus.d.ts +1 -1
  1247. package/types/mixins/addFocus.d.ts.map +1 -1
  1248. package/types/mixins/applyBlur.d.ts +1 -1
  1249. package/types/mixins/applyBlur.d.ts.map +1 -1
  1250. package/types/mixins/applyRoundness.d.ts +2 -2
  1251. package/types/mixins/applyRoundness.d.ts.map +1 -1
  1252. package/types/mixins/applySpacing.d.ts +1 -1
  1253. package/types/mixins/applySpacing.d.ts.map +1 -1
  1254. package/types/mixins/createApplyPaperMixin.d.ts +11 -11
  1255. package/types/mixins/createApplyPaperMixin.d.ts.map +1 -1
  1256. package/types/mixins/mediaQuery.d.ts +3 -3
  1257. package/types/mixins/mediaQuery.d.ts.map +1 -1
  1258. package/types/types/AsProps.d.ts +1 -2
  1259. package/types/types/AsProps.d.ts.map +1 -1
  1260. package/types/types/DistributiveOmit.d.ts +1 -1
  1261. package/types/types/DistributiveOmit.d.ts.map +1 -1
  1262. package/types/types/DistributivePick.d.ts +1 -1
  1263. package/types/types/DistributivePick.d.ts.map +1 -1
  1264. package/types/types/FormType.d.ts +2 -2
  1265. package/types/types/FormType.d.ts.map +1 -1
  1266. package/types/types/Range.d.ts +2 -2
  1267. package/types/types/Range.d.ts.map +1 -1
  1268. package/types/utils/createConditionalComponent.d.ts +2 -2
  1269. package/types/utils/createConditionalComponent.d.ts.map +1 -1
  1270. package/types/utils/createEvent.d.ts +1 -1
  1271. package/types/utils/createEvent.d.ts.map +1 -1
  1272. package/types/utils/focusManager.d.ts +1 -2
  1273. package/types/utils/focusManager.d.ts.map +1 -1
  1274. package/types/utils/getHeightAsNumber.d.ts +1 -1
  1275. package/types/utils/getPopoverPlacement.d.ts +4 -4
  1276. package/types/utils/getPopoverPlacement.d.ts.map +1 -1
  1277. package/types/utils/index.d.ts.map +1 -1
  1278. package/types/utils/roundness.d.ts +2 -2
  1279. package/types/utils/roundness.d.ts.map +1 -1
  1280. package/types/utils/setRefList.d.ts +1 -1
  1281. package/types/utils/setRefList.d.ts.map +1 -1
  1282. package/types/utils/tabbable.d.ts +3 -3
  1283. package/types/utils/tabbable.d.ts.map +1 -1
  1284. package/types/utils/useFocusTrap.d.ts +1 -2
  1285. package/types/utils/useFocusTrap.d.ts.map +1 -1
  1286. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles_fpdm18.css +0 -2
  1287. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles_445k2m.css +0 -2
  1288. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_3fk0w8.css +0 -1
  1289. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles_g2v0cv.css +0 -1
  1290. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_97bjgu.css +0 -1
  1291. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles_12b03hz.css +0 -4
  1292. package/cjs/components/DatePicker/DatePickerBase.styles_10sa0ht.css +0 -2
  1293. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1n0dbxm.css +0 -2
  1294. package/es/components/Calendar/CalendarBase/CalendarBase.styles_fpdm18.css +0 -2
  1295. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles_445k2m.css +0 -2
  1296. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_3fk0w8.css +0 -1
  1297. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.styles_g2v0cv.css +0 -1
  1298. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_97bjgu.css +0 -1
  1299. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles_12b03hz.css +0 -4
  1300. package/es/components/DatePicker/DatePickerBase.styles_10sa0ht.css +0 -2
  1301. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1n0dbxm.css +0 -2
@@ -4,11 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
6
6
  var React = require('react');
7
- var cls = require('classnames');
8
7
  var reducer = require('../store/reducer.js');
9
8
  var types = require('../store/types.js');
10
9
  var CalendarBase_styles = require('../CalendarBase/CalendarBase.styles.js');
11
- var Calendar_tokens = require('../Calendar.tokens.js');
12
10
  var base = require('./variations/_view/base.js');
13
11
  var CalendarDouble_styles = require('./CalendarDouble.styles.js');
14
12
  var useCalendarNavigation = require('../hooks/useCalendarNavigation.js');
@@ -26,17 +24,15 @@ var calendarGridHelper = require('../utils/calendarGridHelper.js');
26
24
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
27
25
 
28
26
  var React__default = /*#__PURE__*/_interopDefault(React);
29
- var cls__default = /*#__PURE__*/_interopDefault(cls);
30
27
 
31
28
  var _StyledSeparator, _StyledSeparator2, _StyledSeparator3, _StyledSeparator4;
32
- var _excluded = ["className", "value", "min", "max", "renderFromDate", "includeEdgeDates", "type", "eventList", "disabledList", "eventMonthList", "disabledMonthList", "eventQuarterList", "disabledQuarterList", "eventYearList", "disabledYearList", "locale", "stretched", "onChangeValue"];
29
+ var _excluded = ["value", "min", "max", "renderFromDate", "includeEdgeDates", "type", "eventList", "disabledList", "eventMonthList", "disabledMonthList", "eventQuarterList", "disabledQuarterList", "eventYearList", "disabledYearList", "onChangeValue", "locale"];
33
30
  /**
34
31
  * Компонент двойного календаря.
35
32
  */
36
33
  var calendarDoubleRoot = function calendarDoubleRoot(Root) {
37
34
  return /*#__PURE__*/React.forwardRef(function (_ref, outerRootRef) {
38
- var className = _ref.className,
39
- externalValue = _ref.value,
35
+ var externalValue = _ref.value,
40
36
  minDate = _ref.min,
41
37
  maxDate = _ref.max,
42
38
  renderFromDate = _ref.renderFromDate,
@@ -51,10 +47,9 @@ var calendarDoubleRoot = function calendarDoubleRoot(Root) {
51
47
  disabledQuarterList = _ref.disabledQuarterList,
52
48
  eventYearList = _ref.eventYearList,
53
49
  disabledYearList = _ref.disabledYearList,
50
+ onChangeValue = _ref.onChangeValue,
54
51
  _ref$locale = _ref.locale,
55
52
  locale = _ref$locale === void 0 ? 'ru' : _ref$locale,
56
- stretched = _ref.stretched,
57
- onChangeValue = _ref.onChangeValue,
58
53
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
59
54
  var _useMemo = React.useMemo(function () {
60
55
  return Array.isArray(externalValue) ? externalValue : [externalValue];
@@ -219,7 +214,6 @@ var calendarDoubleRoot = function calendarDoubleRoot(Root) {
219
214
  }, [date, calendarState]);
220
215
  return /*#__PURE__*/React__default.default.createElement(Root, _rollupPluginBabelHelpers.extends({
221
216
  ref: outerRootRef,
222
- className: cls__default.default(className, _rollupPluginBabelHelpers.defineProperty({}, Calendar_tokens.classes.stretched, stretched)),
223
217
  "aria-label": constants.I18N.selectDate[locale]
224
218
  }, rest), isOutOfRange && /*#__PURE__*/React__default.default.createElement(CalendarBase_styles.IsOutOfRange, {
225
219
  key: outOfRangeKey,
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDouble.js","sources":["../../../../src/components/Calendar/CalendarDouble/CalendarDouble.tsx"],"sourcesContent":["import React, {\n useState,\n useCallback,\n useMemo,\n forwardRef,\n HTMLAttributes,\n KeyboardEvent,\n useEffect,\n useReducer,\n} from 'react';\nimport cls from 'classnames';\n\nimport type { Calendar, CalendarConfigProps, DateObject } from '../Calendar.types';\nimport { YEAR_RENDER_COUNT, getNextDate, isValueUpdate, I18N } from '../utils';\nimport { useKeyNavigation, useCalendarNavigation, useCalendarDateChange } from '../hooks';\nimport { CalendarDays, CalendarHeader, CalendarMonths, CalendarQuarters, CalendarYears } from '../ui';\nimport { RootProps } from '../../../engines/types';\nimport { getInitialState, reducer, sizeMap } from '../store/reducer';\nimport { ActionType, CalendarState } from '../store/types';\nimport { IsOutOfRange } from '../CalendarBase/CalendarBase.styles';\nimport { classes } from '../Calendar.tokens';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { StyledCalendar, StyledSeparator, StyledWrapper } from './CalendarDouble.styles';\n\nexport type CalendarDoubleProps = Calendar & CalendarConfigProps;\n\n/**\n * Компонент двойного календаря.\n */\nexport const calendarDoubleRoot = (Root: RootProps<HTMLDivElement, HTMLAttributes<HTMLDivElement>>) =>\n forwardRef<HTMLDivElement, CalendarDoubleProps>(\n (\n {\n className,\n value: externalValue,\n min: minDate,\n max: maxDate,\n renderFromDate,\n includeEdgeDates,\n type = 'Days',\n eventList,\n disabledList,\n eventMonthList,\n disabledMonthList,\n eventQuarterList,\n disabledQuarterList,\n eventYearList,\n disabledYearList,\n locale = 'ru',\n stretched,\n onChangeValue,\n ...rest\n },\n outerRootRef,\n ) => {\n const [firstValue, secondValue] = useMemo(\n () => (Array.isArray(externalValue) ? externalValue : [externalValue]),\n [externalValue],\n );\n const value = secondValue || firstValue;\n\n const [hoveredItem, setHoveredItem] = useState<DateObject | undefined>();\n const [prevType, setPrevType] = useState(type);\n const [prevValue, setPrevValue] = useState(value);\n const [outOfRangeKey, setOutOfRangeKey] = useState<number>(0);\n\n const min = minDate && new Date(minDate);\n const max = maxDate && new Date(maxDate);\n\n const [state, dispatch] = useReducer(reducer, getInitialState(value, min, renderFromDate, type, true));\n\n const { date, calendarState, startYear, size } = state;\n\n const [firstDate, setFirstDate] = useState<DateObject>(date);\n const [secondDate, setSecondDate] = useState<DateObject>(date);\n\n const { handleNext, handlePrev } = useCalendarNavigation({\n calendarState,\n date,\n dispatch,\n });\n\n const [selectIndexes, onKeyDown, onSelectIndexes, outerRefs, isOutOfRange] = useKeyNavigation({\n isDouble: true,\n size,\n calendarState,\n onNext: handleNext,\n onPrev: handlePrev,\n });\n\n const {\n handleOnChangeDay,\n handleOnChangeMonth,\n handleOnChangeQuarter,\n handleOnChangeYear,\n handleUpdateCalendarState,\n } = useCalendarDateChange({ type, onChangeValue, onSelectIndexes, dispatch });\n\n const updateSecondDate = () => {\n if (calendarState === CalendarState.Days) {\n const [nextYear, nextMonthIndex] = getNextDate(date.year, date.monthIndex);\n setSecondDate({ year: nextYear, monthIndex: nextMonthIndex, day: date.day });\n }\n\n if (calendarState === CalendarState.Months || calendarState === CalendarState.Quarters) {\n setSecondDate({ year: date.year + 1, monthIndex: date.monthIndex, day: date.day });\n }\n\n if (calendarState === CalendarState.Years) {\n setSecondDate({ year: startYear + YEAR_RENDER_COUNT, monthIndex: date.monthIndex, day: date.day });\n }\n };\n\n const getBoundaryDates = () => {\n // NOTE: Если установить индекс дня равным \"0\", то берется последнее число предыдущего месяца\n if (calendarState === CalendarState.Days) {\n return [\n new Date(firstDate.year, firstDate.monthIndex, 1),\n new Date(secondDate.year, secondDate.monthIndex + 1, 0),\n ];\n }\n\n if (calendarState === CalendarState.Months || calendarState === CalendarState.Quarters) {\n return [new Date(firstDate.year, 0), new Date(secondDate.year, 12, 0)];\n }\n\n const endVisibleYear = startYear + YEAR_RENDER_COUNT * 2 - 1;\n return [new Date(startYear, 0), new Date(endVisibleYear, 11)];\n };\n\n // Изменяем ключ каждый раз как пытаемся перейти на даты которые находятся за пределами min/max ограничений.\n // Это необходимо для того чтобы screen-reader корректно озвучивал уведомление aria-live=\"assertive\"\n // о том что нет доступных дат\n const handleKeyDown = useCallback(\n (event: KeyboardEvent<HTMLDivElement>) => {\n setOutOfRangeKey((previousState) => Number(!previousState));\n\n onKeyDown(event);\n },\n [onKeyDown],\n );\n\n useEffect(() => {\n if (prevType !== calendarState) {\n dispatch({\n type: ActionType.UPDATE_CALENDAR_STATE,\n payload: { calendarState, size: sizeMap[calendarState].double },\n });\n\n setPrevType(calendarState);\n }\n }, [calendarState]);\n\n useEffect(() => {\n if ((value && prevValue && isValueUpdate(value, prevValue)) || (value && !prevValue)) {\n const [minVisibleDate, maxVisibleDate] = getBoundaryDates();\n\n if (value > maxVisibleDate || value < minVisibleDate) {\n dispatch({\n type: ActionType.UPDATE_DATE,\n payload: { value },\n });\n }\n }\n\n if (!value && !prevValue) {\n dispatch({\n type: ActionType.UPDATE_DATE,\n payload: { value: renderFromDate || min || new Date() },\n });\n }\n\n setPrevValue(value);\n }, [value]);\n\n useEffect(() => {\n setFirstDate(date);\n\n updateSecondDate();\n }, [date, calendarState]);\n\n return (\n <Root\n ref={outerRootRef}\n className={cls(className, { [classes.stretched]: stretched })}\n aria-label={I18N.selectDate[locale]}\n {...rest}\n >\n {isOutOfRange && (\n <IsOutOfRange\n key={outOfRangeKey}\n aria-atomic=\"true\"\n role=\"alert\"\n aria-live=\"assertive\"\n aria-relevant=\"additions\"\n >\n Далее нет доступных дат.\n </IsOutOfRange>\n )}\n <CalendarHeader\n isDouble\n size={rest.size}\n firstDate={firstDate}\n secondDate={secondDate}\n startYear={startYear}\n type={calendarState}\n onPrev={handlePrev}\n onNext={handleNext}\n onUpdateCalendarState={handleUpdateCalendarState}\n locale={locale}\n />\n\n <StyledWrapper>\n {calendarState === CalendarState.Days && (\n <>\n <CalendarDays\n value={externalValue}\n date={firstDate}\n min={min}\n max={max}\n eventList={eventList}\n disabledList={disabledList}\n includeEdgeDates={includeEdgeDates}\n hoveredDay={hoveredItem}\n selectIndexes={selectIndexes}\n onChangeDay={handleOnChangeDay}\n onHoverDay={setHoveredItem}\n onSetSelected={onSelectIndexes}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n locale={locale}\n isDouble\n />\n <StyledSeparator />\n <CalendarDays\n value={externalValue}\n date={secondDate}\n min={min}\n max={max}\n eventList={eventList}\n disabledList={disabledList}\n includeEdgeDates={includeEdgeDates}\n hoveredDay={hoveredItem}\n selectIndexes={selectIndexes}\n onChangeDay={handleOnChangeDay}\n onHoverDay={setHoveredItem}\n onSetSelected={onSelectIndexes}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n locale={locale}\n isDouble\n isSecond\n />\n </>\n )}\n {calendarState === CalendarState.Months && (\n <>\n <CalendarMonths\n value={externalValue}\n date={firstDate}\n min={min}\n max={max}\n eventList={eventMonthList}\n disabledList={disabledMonthList}\n hoveredMonth={hoveredItem}\n selectIndexes={selectIndexes}\n onChangeMonth={handleOnChangeMonth}\n onSetSelected={onSelectIndexes}\n onHoverMonth={setHoveredItem}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n locale={locale}\n isDouble\n />\n <StyledSeparator />\n <CalendarMonths\n value={externalValue}\n date={secondDate}\n min={min}\n max={max}\n eventList={eventMonthList}\n disabledList={disabledMonthList}\n hoveredMonth={hoveredItem}\n selectIndexes={selectIndexes}\n onChangeMonth={handleOnChangeMonth}\n onSetSelected={onSelectIndexes}\n onHoverMonth={setHoveredItem}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n locale={locale}\n isDouble\n isSecond\n />\n </>\n )}\n {calendarState === CalendarState.Quarters && (\n <>\n <CalendarQuarters\n value={externalValue}\n date={firstDate}\n min={min}\n max={max}\n eventList={eventQuarterList}\n disabledList={disabledQuarterList}\n hoveredQuarter={hoveredItem}\n selectIndexes={selectIndexes}\n onChangeQuarter={handleOnChangeQuarter}\n onSetSelected={onSelectIndexes}\n onHoverQuarter={setHoveredItem}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n isDouble\n />\n <StyledSeparator />\n <CalendarQuarters\n value={externalValue}\n date={secondDate}\n min={min}\n max={max}\n eventList={eventQuarterList}\n disabledList={disabledQuarterList}\n hoveredQuarter={hoveredItem}\n selectIndexes={selectIndexes}\n onChangeQuarter={handleOnChangeQuarter}\n onSetSelected={onSelectIndexes}\n onHoverQuarter={setHoveredItem}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n isDouble\n isSecond\n />\n </>\n )}\n {calendarState === CalendarState.Years && (\n <>\n <CalendarYears\n value={externalValue}\n date={firstDate}\n startYear={startYear}\n selectIndexes={selectIndexes}\n min={min}\n max={max}\n eventList={eventYearList}\n disabledList={disabledYearList}\n hoveredYear={hoveredItem}\n onChangeYear={handleOnChangeYear}\n onSetSelected={onSelectIndexes}\n onHoverYear={setHoveredItem}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n isDouble\n />\n <StyledSeparator />\n <CalendarYears\n value={externalValue}\n date={secondDate}\n startYear={startYear + YEAR_RENDER_COUNT}\n selectIndexes={selectIndexes}\n min={min}\n max={max}\n eventList={eventYearList}\n disabledList={disabledYearList}\n hoveredYear={hoveredItem}\n onChangeYear={handleOnChangeYear}\n onSetSelected={onSelectIndexes}\n onHoverYear={setHoveredItem}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n isDouble\n isSecond\n />\n </>\n )}\n </StyledWrapper>\n </Root>\n );\n },\n );\n\nexport const calendarDoubleConfig = {\n name: 'CalendarDouble',\n tag: 'div',\n layout: calendarDoubleRoot,\n base: StyledCalendar,\n variations: {\n view: {\n css: viewCSS,\n },\n },\n defaults: {\n view: 'primary',\n size: 'm',\n },\n};\n"],"names":["calendarDoubleRoot","Root","forwardRef","_ref","outerRootRef","className","externalValue","value","minDate","min","maxDate","max","renderFromDate","includeEdgeDates","_ref$type","type","eventList","disabledList","eventMonthList","disabledMonthList","eventQuarterList","disabledQuarterList","eventYearList","disabledYearList","_ref$locale","locale","stretched","onChangeValue","rest","_objectWithoutProperties","_excluded","_useMemo","useMemo","Array","isArray","_useMemo2","_slicedToArray","firstValue","secondValue","_useState","useState","_useState2","hoveredItem","setHoveredItem","_useState3","_useState4","prevType","setPrevType","_useState5","_useState6","prevValue","setPrevValue","_useState7","_useState8","outOfRangeKey","setOutOfRangeKey","Date","_useReducer","useReducer","reducer","getInitialState","_useReducer2","state","dispatch","date","calendarState","startYear","size","_useState9","_useState10","firstDate","setFirstDate","_useState11","_useState12","secondDate","setSecondDate","_useCalendarNavigatio","useCalendarNavigation","handleNext","handlePrev","_useKeyNavigation","useKeyNavigation","isDouble","onNext","onPrev","_useKeyNavigation2","selectIndexes","onKeyDown","onSelectIndexes","outerRefs","isOutOfRange","_useCalendarDateChang","useCalendarDateChange","handleOnChangeDay","handleOnChangeMonth","handleOnChangeQuarter","handleOnChangeYear","handleUpdateCalendarState","updateSecondDate","CalendarState","Days","_getNextDate","getNextDate","year","monthIndex","_getNextDate2","nextYear","nextMonthIndex","day","Months","Quarters","Years","YEAR_RENDER_COUNT","getBoundaryDates","endVisibleYear","handleKeyDown","useCallback","event","previousState","Number","useEffect","ActionType","UPDATE_CALENDAR_STATE","payload","sizeMap","isValueUpdate","_getBoundaryDates","_getBoundaryDates2","minVisibleDate","maxVisibleDate","UPDATE_DATE","React","createElement","_extends","ref","cls","_defineProperty","classes","I18N","selectDate","IsOutOfRange","key","role","CalendarHeader","onUpdateCalendarState","StyledWrapper","Fragment","CalendarDays","hoveredDay","onChangeDay","onHoverDay","onSetSelected","_StyledSeparator","StyledSeparator","isSecond","CalendarMonths","hoveredMonth","onChangeMonth","onHoverMonth","_StyledSeparator2","CalendarQuarters","hoveredQuarter","onChangeQuarter","onHoverQuarter","_StyledSeparator3","CalendarYears","hoveredYear","onChangeYear","onHoverYear","_StyledSeparator4","calendarDoubleConfig","name","tag","layout","base","StyledCalendar","variations","view","css","viewCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BA;AACA;AACA;IACaA,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAIC,IAA+D,EAAA;AAAA,EAAA,oBAC9FC,gBAAU,CACN,UAAAC,IAAA,EAsBIC,YAAY,EACX;AAAA,IAAA,IArBGC,SAAS,GAAAF,IAAA,CAATE,SAAS;MACFC,aAAa,GAAAH,IAAA,CAApBI,KAAK;MACAC,OAAO,GAAAL,IAAA,CAAZM,GAAG;MACEC,OAAO,GAAAP,IAAA,CAAZQ,GAAG;MACHC,cAAc,GAAAT,IAAA,CAAdS,cAAc;MACdC,gBAAgB,GAAAV,IAAA,CAAhBU,gBAAgB;MAAAC,SAAA,GAAAX,IAAA,CAChBY,IAAI;AAAJA,MAAAA,IAAI,GAAAD,SAAA,KAAG,KAAA,CAAA,GAAA,MAAM,GAAAA,SAAA;MACbE,SAAS,GAAAb,IAAA,CAATa,SAAS;MACTC,YAAY,GAAAd,IAAA,CAAZc,YAAY;MACZC,cAAc,GAAAf,IAAA,CAAde,cAAc;MACdC,iBAAiB,GAAAhB,IAAA,CAAjBgB,iBAAiB;MACjBC,gBAAgB,GAAAjB,IAAA,CAAhBiB,gBAAgB;MAChBC,mBAAmB,GAAAlB,IAAA,CAAnBkB,mBAAmB;MACnBC,aAAa,GAAAnB,IAAA,CAAbmB,aAAa;MACbC,gBAAgB,GAAApB,IA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BC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,SAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNH,IAAAA,IAAI,EAAE,SAAS;AACf9G,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
1
+ {"version":3,"file":"CalendarDouble.js","sources":["../../../../src/components/Calendar/CalendarDouble/CalendarDouble.tsx"],"sourcesContent":["import React, {\n useState,\n useCallback,\n useMemo,\n forwardRef,\n HTMLAttributes,\n KeyboardEvent,\n useEffect,\n useReducer,\n} from 'react';\n\nimport type { Calendar, CalendarConfigProps, DateObject } from '../Calendar.types';\nimport { YEAR_RENDER_COUNT, getNextDate, isValueUpdate, I18N } from '../utils';\nimport { useKeyNavigation, useCalendarNavigation, useCalendarDateChange } from '../hooks';\nimport { CalendarDays, CalendarHeader, CalendarMonths, CalendarQuarters, CalendarYears } from '../ui';\nimport { RootProps } from '../../../engines/types';\nimport { getInitialState, reducer, sizeMap } from '../store/reducer';\nimport { ActionType, CalendarState } from '../store/types';\nimport { IsOutOfRange } from '../CalendarBase/CalendarBase.styles';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { StyledCalendar, StyledSeparator, StyledWrapper } from './CalendarDouble.styles';\n\nexport type CalendarDoubleProps = Calendar & CalendarConfigProps;\n\n/**\n * Компонент двойного календаря.\n */\nexport const calendarDoubleRoot = (Root: RootProps<HTMLDivElement, HTMLAttributes<HTMLDivElement>>) =>\n forwardRef<HTMLDivElement, CalendarDoubleProps>(\n (\n {\n value: externalValue,\n min: minDate,\n max: maxDate,\n renderFromDate,\n includeEdgeDates,\n type = 'Days',\n eventList,\n disabledList,\n eventMonthList,\n disabledMonthList,\n eventQuarterList,\n disabledQuarterList,\n eventYearList,\n disabledYearList,\n onChangeValue,\n locale = 'ru',\n ...rest\n },\n outerRootRef,\n ) => {\n const [firstValue, secondValue] = useMemo(\n () => (Array.isArray(externalValue) ? externalValue : [externalValue]),\n [externalValue],\n );\n const value = secondValue || firstValue;\n\n const [hoveredItem, setHoveredItem] = useState<DateObject | undefined>();\n const [prevType, setPrevType] = useState(type);\n const [prevValue, setPrevValue] = useState(value);\n const [outOfRangeKey, setOutOfRangeKey] = useState<number>(0);\n\n const min = minDate && new Date(minDate);\n const max = maxDate && new Date(maxDate);\n\n const [state, dispatch] = useReducer(reducer, getInitialState(value, min, renderFromDate, type, true));\n\n const { date, calendarState, startYear, size } = state;\n\n const [firstDate, setFirstDate] = useState<DateObject>(date);\n const [secondDate, setSecondDate] = useState<DateObject>(date);\n\n const { handleNext, handlePrev } = useCalendarNavigation({\n calendarState,\n date,\n dispatch,\n });\n\n const [selectIndexes, onKeyDown, onSelectIndexes, outerRefs, isOutOfRange] = useKeyNavigation({\n isDouble: true,\n size,\n calendarState,\n onNext: handleNext,\n onPrev: handlePrev,\n });\n\n const {\n handleOnChangeDay,\n handleOnChangeMonth,\n handleOnChangeQuarter,\n handleOnChangeYear,\n handleUpdateCalendarState,\n } = useCalendarDateChange({ type, onChangeValue, onSelectIndexes, dispatch });\n\n const updateSecondDate = () => {\n if (calendarState === CalendarState.Days) {\n const [nextYear, nextMonthIndex] = getNextDate(date.year, date.monthIndex);\n setSecondDate({ year: nextYear, monthIndex: nextMonthIndex, day: date.day });\n }\n\n if (calendarState === CalendarState.Months || calendarState === CalendarState.Quarters) {\n setSecondDate({ year: date.year + 1, monthIndex: date.monthIndex, day: date.day });\n }\n\n if (calendarState === CalendarState.Years) {\n setSecondDate({ year: startYear + YEAR_RENDER_COUNT, monthIndex: date.monthIndex, day: date.day });\n }\n };\n\n const getBoundaryDates = () => {\n // NOTE: Если установить индекс дня равным \"0\", то берется последнее число предыдущего месяца\n if (calendarState === CalendarState.Days) {\n return [\n new Date(firstDate.year, firstDate.monthIndex, 1),\n new Date(secondDate.year, secondDate.monthIndex + 1, 0),\n ];\n }\n\n if (calendarState === CalendarState.Months || calendarState === CalendarState.Quarters) {\n return [new Date(firstDate.year, 0), new Date(secondDate.year, 12, 0)];\n }\n\n const endVisibleYear = startYear + YEAR_RENDER_COUNT * 2 - 1;\n return [new Date(startYear, 0), new Date(endVisibleYear, 11)];\n };\n\n // Изменяем ключ каждый раз как пытаемся перейти на даты которые находятся за пределами min/max ограничений.\n // Это необходимо для того чтобы screen-reader корректно озвучивал уведомление aria-live=\"assertive\"\n // о том что нет доступных дат\n const handleKeyDown = useCallback(\n (event: KeyboardEvent<HTMLDivElement>) => {\n setOutOfRangeKey((previousState) => Number(!previousState));\n\n onKeyDown(event);\n },\n [onKeyDown],\n );\n\n useEffect(() => {\n if (prevType !== calendarState) {\n dispatch({\n type: ActionType.UPDATE_CALENDAR_STATE,\n payload: { calendarState, size: sizeMap[calendarState].double },\n });\n\n setPrevType(calendarState);\n }\n }, [calendarState]);\n\n useEffect(() => {\n if ((value && prevValue && isValueUpdate(value, prevValue)) || (value && !prevValue)) {\n const [minVisibleDate, maxVisibleDate] = getBoundaryDates();\n\n if (value > maxVisibleDate || value < minVisibleDate) {\n dispatch({\n type: ActionType.UPDATE_DATE,\n payload: { value },\n });\n }\n }\n\n if (!value && !prevValue) {\n dispatch({\n type: ActionType.UPDATE_DATE,\n payload: { value: renderFromDate || min || new Date() },\n });\n }\n\n setPrevValue(value);\n }, [value]);\n\n useEffect(() => {\n setFirstDate(date);\n\n updateSecondDate();\n }, [date, calendarState]);\n\n return (\n <Root ref={outerRootRef} aria-label={I18N.selectDate[locale]} {...rest}>\n {isOutOfRange && (\n <IsOutOfRange\n key={outOfRangeKey}\n aria-atomic=\"true\"\n role=\"alert\"\n aria-live=\"assertive\"\n aria-relevant=\"additions\"\n >\n Далее нет доступных дат.\n </IsOutOfRange>\n )}\n <CalendarHeader\n isDouble\n size={rest.size}\n firstDate={firstDate}\n secondDate={secondDate}\n startYear={startYear}\n type={calendarState}\n onPrev={handlePrev}\n onNext={handleNext}\n onUpdateCalendarState={handleUpdateCalendarState}\n locale={locale}\n />\n\n <StyledWrapper>\n {calendarState === CalendarState.Days && (\n <>\n <CalendarDays\n value={externalValue}\n date={firstDate}\n min={min}\n max={max}\n eventList={eventList}\n disabledList={disabledList}\n includeEdgeDates={includeEdgeDates}\n hoveredDay={hoveredItem}\n selectIndexes={selectIndexes}\n onChangeDay={handleOnChangeDay}\n onHoverDay={setHoveredItem}\n onSetSelected={onSelectIndexes}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n locale={locale}\n isDouble\n />\n <StyledSeparator />\n <CalendarDays\n value={externalValue}\n date={secondDate}\n min={min}\n max={max}\n eventList={eventList}\n disabledList={disabledList}\n includeEdgeDates={includeEdgeDates}\n hoveredDay={hoveredItem}\n selectIndexes={selectIndexes}\n onChangeDay={handleOnChangeDay}\n onHoverDay={setHoveredItem}\n onSetSelected={onSelectIndexes}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n locale={locale}\n isDouble\n isSecond\n />\n </>\n )}\n {calendarState === CalendarState.Months && (\n <>\n <CalendarMonths\n value={externalValue}\n date={firstDate}\n min={min}\n max={max}\n eventList={eventMonthList}\n disabledList={disabledMonthList}\n hoveredMonth={hoveredItem}\n selectIndexes={selectIndexes}\n onChangeMonth={handleOnChangeMonth}\n onSetSelected={onSelectIndexes}\n onHoverMonth={setHoveredItem}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n locale={locale}\n isDouble\n />\n <StyledSeparator />\n <CalendarMonths\n value={externalValue}\n date={secondDate}\n min={min}\n max={max}\n eventList={eventMonthList}\n disabledList={disabledMonthList}\n hoveredMonth={hoveredItem}\n selectIndexes={selectIndexes}\n onChangeMonth={handleOnChangeMonth}\n onSetSelected={onSelectIndexes}\n onHoverMonth={setHoveredItem}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n locale={locale}\n isDouble\n isSecond\n />\n </>\n )}\n {calendarState === CalendarState.Quarters && (\n <>\n <CalendarQuarters\n value={externalValue}\n date={firstDate}\n min={min}\n max={max}\n eventList={eventQuarterList}\n disabledList={disabledQuarterList}\n hoveredQuarter={hoveredItem}\n selectIndexes={selectIndexes}\n onChangeQuarter={handleOnChangeQuarter}\n onSetSelected={onSelectIndexes}\n onHoverQuarter={setHoveredItem}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n isDouble\n />\n <StyledSeparator />\n <CalendarQuarters\n value={externalValue}\n date={secondDate}\n min={min}\n max={max}\n eventList={eventQuarterList}\n disabledList={disabledQuarterList}\n hoveredQuarter={hoveredItem}\n selectIndexes={selectIndexes}\n onChangeQuarter={handleOnChangeQuarter}\n onSetSelected={onSelectIndexes}\n onHoverQuarter={setHoveredItem}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n isDouble\n isSecond\n />\n </>\n )}\n {calendarState === CalendarState.Years && (\n <>\n <CalendarYears\n value={externalValue}\n date={firstDate}\n startYear={startYear}\n selectIndexes={selectIndexes}\n min={min}\n max={max}\n eventList={eventYearList}\n disabledList={disabledYearList}\n hoveredYear={hoveredItem}\n onChangeYear={handleOnChangeYear}\n onSetSelected={onSelectIndexes}\n onHoverYear={setHoveredItem}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n isDouble\n />\n <StyledSeparator />\n <CalendarYears\n value={externalValue}\n date={secondDate}\n startYear={startYear + YEAR_RENDER_COUNT}\n selectIndexes={selectIndexes}\n min={min}\n max={max}\n eventList={eventYearList}\n disabledList={disabledYearList}\n hoveredYear={hoveredItem}\n onChangeYear={handleOnChangeYear}\n onSetSelected={onSelectIndexes}\n onHoverYear={setHoveredItem}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n isDouble\n isSecond\n />\n </>\n )}\n </StyledWrapper>\n </Root>\n );\n },\n );\n\nexport const calendarDoubleConfig = {\n name: 'CalendarDouble',\n tag: 'div',\n layout: calendarDoubleRoot,\n base: StyledCalendar,\n variations: {\n view: {\n css: viewCSS,\n },\n },\n defaults: {\n view: 'primary',\n size: 'm',\n },\n};\n"],"names":["calendarDoubleRoot","Root","forwardRef","_ref","outerRootRef","externalValue","value","minDate","min","maxDate","max","renderFromDate","includeEdgeDates","_ref$type","type","eventList","disabledList","eventMonthList","disabledMonthList","eventQuarterList","disabledQuarterList","eventYearList","disabledYearList","onChangeValue","_ref$locale","locale","rest","_objectWithoutProperties","_excluded","_useMemo","useMemo","Array","isArray","_useMemo2","_slicedToArray","firstValue","secondValue","_useState","useState","_useState2","hoveredItem","setHoveredItem","_useState3","_useState4","prevType","setPrevType","_useState5","_useState6","prevValue","setPrevValue","_useState7","_useState8","outOfRangeKey","setOutOfRangeKey","Date","_useReducer","useReducer","reducer","getInitialState","_useReducer2","state","dispatch","date","calendarState","startYear","size","_useState9","_useState10","firstDate","setFirstDate","_useState11","_useState12","secondDate","setSecondDate","_useCalendarNavigatio","useCalendarNavigation","handleNext","handlePrev","_useKeyNavigation","useKeyNavigation","isDouble","onNext","onPrev","_useKeyNavigation2","selectIndexes","onKeyDown","onSelectIndexes","outerRefs","isOutOfRange","_useCalendarDateChang","useCalendarDateChange","handleOnChangeDay","handleOnChangeMonth","handleOnChangeQuarter","handleOnChangeYear","handleUpdateCalendarState","updateSecondDate","CalendarState","Days","_getNextDate","getNextDate","year","monthIndex","_getNextDate2","nextYear","nextMonthIndex","day","Months","Quarters","Years","YEAR_RENDER_COUNT","getBoundaryDates","endVisibleYear","handleKeyDown","useCallback","event","previousState","Number","useEffect","ActionType","UPDATE_CALENDAR_STATE","payload","sizeMap","isValueUpdate","_getBoundaryDates","_getBoundaryDates2","minVisibleDate","maxVisibleDate","UPDATE_DATE","React","createElement","_extends","ref","I18N","selectDate","IsOutOfRange","key","role","CalendarHeader","onUpdateCalendarState","StyledWrapper","Fragment","CalendarDays","hoveredDay","onChangeDay","onHoverDay","onSetSelected","_StyledSeparator","StyledSeparator","isSecond","CalendarMonths","hoveredMonth","onChangeMonth","onHoverMonth","_StyledSeparator2","CalendarQuarters","hoveredQuarter","onChangeQuarter","onHoverQuarter","_StyledSeparator3","CalendarYears","hoveredYear","onChangeYear","onHoverYear","_StyledSeparator4","calendarDoubleConfig","name","tag","layout","base","StyledCalendar","variations","view","css","viewCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA;AACA;AACA;IACaA,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAIC,IAA+D,EAAA;AAAA,EAAA,oBAC9FC,gBAAU,CACN,UAAAC,IAAA,EAoBIC,YAAY,EACX;AAAA,IAAA,IAnBUC,aAAa,GAAAF,IAAA,CAApBG,KAAK;MACAC,OAAO,GAAAJ,IAAA,CAAZK,GAAG;MACEC,OAAO,GAAAN,IAAA,CAAZO,GAAG;MACHC,cAAc,GAAAR,IAAA,CAAdQ,cAAc;MACdC,gBAAgB,GAAAT,IAAA,CAAhBS,gBAAgB;MAAAC,SAAA,GAAAV,IAAA,CAChBW,IAAI;AAAJA,MAAAA,IAAI,GAAAD,SAAA,KAAG,KAAA,CAAA,GAAA,MAAM,GAAAA,SAAA;MACbE,SAAS,GAAAZ,IAAA,CAATY,SAAS;MACTC,YAAY,GAAAb,IAAA,CAAZa,YAAY;MACZC,cAAc,GAAAd,IAAA,CAAdc,cAAc;MACdC,iBAAiB,GAAAf,IAAA,CAAjBe,iBAAiB;MACjBC,gBAAgB,GAAAhB,IAAA,CAAhBgB,gBAAgB;MAChBC,mBAAmB,GAAAjB,IAAA,CAAnBiB,mBAAmB;MACnBC,aAAa,GAAAlB,IAAA,CAAbkB,aAAa;MACbC,gBAAgB,GAAAnB,IAAA,CAAhBmB,gBAAgB;MAChBC,aAAa,GAAApB,IAAA,CAAboB,aAAa;MAAAC,WAAA,GAAArB,IAAA,CACbsB,MAAM;AAANA,MAAAA,MAAM,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,IAAI,GAAAA,WAAA;AACVE,MAAAA,IAAI,GAAAC,iDAAA,CAAAxB,IAAA,EAAAyB,SAAA,CAAA,CAAA;IAIX,IAAAC,QAAA,GAAkCC,aAAO,CACrC,YAAA;QAAA,OAAOC,KAAK,CAACC,OAA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,SAAS,EAAEA,SAAS,GAAG8C,2BAAkB;AACzC1B,MAAAA,aAAa,EAAEA,aAAc;AAC7B5E,MAAAA,GAAG,EAAEA,GAAI;AACTE,MAAAA,GAAG,EAAEA,GAAI;AACTK,MAAAA,SAAS,EAAEM,aAAc;AACzBL,MAAAA,YAAY,EAAEM,gBAAiB;AAC/B2I,MAAAA,WAAW,EAAEzH,WAAY;AACzB0H,MAAAA,YAAY,EAAEpE,kBAAmB;AACjCoD,MAAAA,aAAa,EAAE5D,eAAgB;AAC/B6E,MAAAA,WAAW,EAAE1H,cAAe;AAC5B4C,MAAAA,SAAS,EAAE4B,aAAc;AACzB1B,MAAAA,SAAS,EAAEA,SAAU;MACrBP,QAAQ,EAAA,IAAA;MACRqE,QAAQ,EAAA,IAAA;KACX,CACH,CAEK,CACb,CAAC,CAAA;AAEf,GACJ,CAAC,CAAA;AAAA,EAAA;AAEE,IAAMgB,oBAAoB,GAAG;AAChCC,EAAAA,IAAI,EAAE,gBAAgB;AACtBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAExK,kBAAkB;AAC1ByK,EAAAA,IAAI,EAAEC,oCAAc;AACpBC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,SAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNH,IAAAA,IAAI,EAAE,SAAS;AACf3G,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
@@ -1,4 +1,4 @@
1
- require('./CalendarDouble.styles_dt34s7.css');
1
+ require('./CalendarDouble.styles_e9ada0.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDouble.styles.js","sources":["../../../../src/components/Calendar/CalendarDouble/CalendarDouble.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\nimport { styled } from '@linaria/react';\n\nimport { classes, tokens } from '../Calendar.tokens';\n\nexport const StyledCalendar = css`\n position: relative;\n user-select: none;\n z-index: 1;\n\n display: flex;\n flex-direction: column;\n\n width: var(${tokens.calendarContainerWidth});\n height: var(${tokens.calendarContainerHeight});\n\n &.${classes.stretched} {\n width: 100%;\n height: 100%;\n }\n`;\n\nexport const StyledSeparator = styled.div`\n background-color: var(${tokens.calendarSeparatorBackground});\n min-width: 0.063rem;\n margin: 0.5rem 1rem 0 1rem;\n`;\n\nexport const StyledWrapper = styled.div`\n display: flex;\n height: 100%;\n`;\n"],"names":["StyledCalendar","StyledSeparator","styled","name","class","propsAsIs","StyledWrapper"],"mappings":";;;;;;AAKO,IAAMA,cAAc,GAe1B,WAAA;AAEM,IAAMC,eAAe,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,iBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAIpC,EAAA;AAEM,IAAMC,aAAa,gBAAGJ,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAGlC;;;;;;"}
1
+ {"version":3,"file":"CalendarDouble.styles.js","sources":["../../../../src/components/Calendar/CalendarDouble/CalendarDouble.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\nimport { styled } from '@linaria/react';\n\nimport { tokens } from '../Calendar.tokens';\n\nexport const StyledCalendar = css`\n position: relative;\n user-select: none;\n z-index: 1;\n\n display: flex;\n flex-direction: column;\n\n width: var(${tokens.calendarWidth});\n height: var(${tokens.calendarHeight});\n`;\n\nexport const StyledSeparator = styled.div`\n background-color: var(${tokens.calendarSeparatorBackground});\n min-width: 0.063rem;\n margin: 0.5rem 1rem 0 1rem;\n`;\n\nexport const StyledWrapper = styled.div`\n display: flex;\n`;\n"],"names":["StyledCalendar","StyledSeparator","styled","name","class","propsAsIs","StyledWrapper"],"mappings":";;;;;;AAKO,IAAMA,cAAc,GAU1B,WAAA;AAEM,IAAMC,eAAe,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,iBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAIpC,EAAA;AAEM,IAAMC,aAAa,gBAAGJ,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAElC;;;;;;"}
@@ -1,3 +1,3 @@
1
- .s1fax5l5{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:var(--plasma-calendar-container-width);height:var(--plasma-calendar-container-height);}.s1fax5l5.plasma-calendar-stretched{width:100%;height:100%;}
1
+ .s1fax5l5{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:var(--plasma-calendar-width);height:var(--plasma-calendar-height);}
2
2
  .s1y1gz42{background-color:var(--plasma-calendar-separator-background);min-width:0.063rem;margin:0.5rem 1rem 0 1rem;}
3
- .s7fv2hn{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:100%;}
3
+ .s7fv2hn{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}
@@ -20,7 +20,8 @@ var useMonths = function useMonths(_ref) {
20
20
  min = _ref.min,
21
21
  max = _ref.max,
22
22
  _ref$locale = _ref.locale,
23
- locale = _ref$locale === void 0 ? 'ru' : _ref$locale;
23
+ locale = _ref$locale === void 0 ? 'ru' : _ref$locale,
24
+ includeEdgeDates = _ref.includeEdgeDates;
24
25
  return React.useMemo(function () {
25
26
  var months = constants.SHORT_MONTH_NAME[locale].map(function (monthName, monthIndex) {
26
27
  return {
@@ -45,6 +46,7 @@ var useMonths = function useMonths(_ref) {
45
46
  type: types.CalendarState.Months,
46
47
  min: min,
47
48
  max: max,
49
+ includeEdgeDates: includeEdgeDates,
48
50
  eventList: eventList,
49
51
  disabledList: disabledList
50
52
  });
@@ -1 +1 @@
1
- {"version":3,"file":"useMonths.js","sources":["../../../../src/components/Calendar/hooks/useMonths.ts"],"sourcesContent":["import { useMemo } from 'react';\n\nimport type { DateItem } from '../Calendar.types';\nimport {\n SHORT_MONTH_NAME,\n isSelectedMonth,\n isCurrentMonth,\n getMatrix,\n MONTH_NAMES,\n isDateInRange,\n getDatesWithModifications,\n} from '../utils';\nimport { CalendarState } from '../store/types';\n\nimport { UseMonthsArgs } from './types';\n\n/**\n * Хук для получения списка месяцев.\n */\nexport const useMonths = ({ date, value, eventList, disabledList, min, max, locale = 'ru' }: UseMonthsArgs) =>\n useMemo(() => {\n const months = SHORT_MONTH_NAME[locale].map((monthName, monthIndex) => {\n return {\n monthName,\n monthIndex,\n isCurrent: isCurrentMonth(date, monthIndex),\n isSelected: Array.isArray(value)\n ? Boolean(value.find((v) => isSelectedMonth(date, monthIndex, v)))\n : isSelectedMonth(date, monthIndex, value),\n inRange: Array.isArray(value) ? isDateInRange(date.year, monthIndex, 1, value) : false,\n monthFullName: MONTH_NAMES[locale][monthIndex],\n date: { year: date.year, monthIndex, day: 1 },\n };\n });\n\n if (eventList?.length || disabledList?.length || max || min) {\n const modifiedMonths = getDatesWithModifications({\n dates: months,\n type: CalendarState.Months,\n min,\n max,\n eventList,\n disabledList,\n });\n return getMatrix<DateItem>(modifiedMonths, 3);\n }\n\n return getMatrix<DateItem>(months, 3);\n }, [date, value, eventList, disabledList, max, min, locale]);\n"],"names":["useMonths","_ref","date","value","eventList","disabledList","min","max","_ref$locale","locale","useMemo","months","SHORT_MONTH_NAME","map","monthName","monthIndex","isCurrent","isCurrentMonth","isSelected","Array","isArray","Boolean","find","v","isSelectedMonth","inRange","isDateInRange","year","monthFullName","MONTH_NAMES","day","length","modifiedMonths","getDatesWithModifications","dates","type","CalendarState","Months","getMatrix"],"mappings":";;;;;;;;;;;AAgBA;AACA;AACA;IACaA,SAAS,GAAG,SAAZA,SAASA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAEC,SAAS,GAAAH,IAAA,CAATG,SAAS;IAAEC,YAAY,GAAAJ,IAAA,CAAZI,YAAY;IAAEC,GAAG,GAAAL,IAAA,CAAHK,GAAG;IAAEC,GAAG,GAAAN,IAAA,CAAHM,GAAG;IAAAC,WAAA,GAAAP,IAAA,CAAEQ,MAAM;AAANA,IAAAA,MAAM,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,IAAI,GAAAA,WAAA,CAAA;EAAA,OACrFE,aAAO,CAAC,YAAM;AACV,IAAA,IAAMC,MAAM,GAAGC,0BAAgB,CAACH,MAAM,CAAC,CAACI,GAAG,CAAC,UAACC,SAAS,EAAEC,UAAU,EAAK;MACnE,OAAO;AACHD,QAAAA,SAAS,EAATA,SAAS;AACTC,QAAAA,UAAU,EAAVA,UAAU;AACVC,QAAAA,SAAS,EAAEC,iCAAc,CAACf,IAAI,EAAEa,UAAU,CAAC;AAC3CG,QAAAA,UAAU,EAAEC,KAAK,CAACC,OAAO,CAACjB,KAAK,CAAC,GAC1BkB,OAAO,CAAClB,KAAK,CAACmB,IAAI,CAAC,UAACC,CAAC,EAAA;AAAA,UAAA,OAAKC,kCAAe,CAACtB,IAAI,EAAEa,UAAU,EAAEQ,CAAC,CAAC,CAAA;SAAC,CAAA,CAAC,GAChEC,kCAAe,CAACtB,IAAI,EAAEa,UAAU,EAAEZ,KAAK,C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cesContent":["import { useMemo } from 'react';\n\nimport type { DateItem } from '../Calendar.types';\nimport {\n SHORT_MONTH_NAME,\n isSelectedMonth,\n isCurrentMonth,\n getMatrix,\n MONTH_NAMES,\n isDateInRange,\n getDatesWithModifications,\n} from '../utils';\nimport { CalendarState } from '../store/types';\n\nimport { UseMonthsArgs } from './types';\n\n/**\n * Хук для получения списка месяцев.\n */\nexport const useMonths = ({\n date,\n value,\n eventList,\n disabledList,\n min,\n max,\n locale = 'ru',\n includeEdgeDates,\n}: UseMonthsArgs) =>\n useMemo(() => {\n const months = SHORT_MONTH_NAME[locale].map((monthName, monthIndex) => {\n return {\n monthName,\n monthIndex,\n isCurrent: isCurrentMonth(date, monthIndex),\n isSelected: Array.isArray(value)\n ? Boolean(value.find((v) => isSelectedMonth(date, monthIndex, v)))\n : isSelectedMonth(date, monthIndex, value),\n inRange: Array.isArray(value) ? isDateInRange(date.year, monthIndex, 1, value) : false,\n monthFullName: MONTH_NAMES[locale][monthIndex],\n date: { year: date.year, monthIndex, day: 1 },\n };\n });\n\n if (eventList?.length || disabledList?.length || max || min) {\n const modifiedMonths = getDatesWithModifications({\n dates: months,\n type: CalendarState.Months,\n min,\n max,\n includeEdgeDates,\n eventList,\n disabledList,\n });\n return getMatrix<DateItem>(modifiedMonths, 3);\n }\n\n return getMatrix<DateItem>(months, 3);\n }, [date, value, eventList, disabledList, max, min, locale]);\n"],"names":["useMonths","_ref","date","value","eventList","disabledList","min","max","_ref$locale","locale","includeEdgeDates","useMemo","months","SHORT_MONTH_NAME","map","monthName","monthIndex","isCurrent","isCurrentMonth","isSelected","Array","isArray","Boolean","find","v","isSelectedMonth","inRange","isDateInRange","year","monthFullName","MONTH_NAMES","day","length","modifiedMonths","getDatesWithModifications","dates","type","CalendarState","Months","getMatrix"],"mappings":";;;;;;;;;;;AAgBA;AACA;AACA;IACaA,SAAS,GAAG,SAAZA,SAASA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAClBC,IAAI,GAAAD,IAAA,C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I,CAAC0B,IAAI;AAAEZ,UAAAA,UAAU,EAAVA,UAAU;AAAEe,UAAAA,GAAG,EAAE,CAAA;AAAE,SAAA;OAC/C,CAAA;AACL,KAAC,CAAC,CAAA;AAEF,IAAA,IAAI3B,SAAS,KAATA,IAAAA,IAAAA,SAAS,eAATA,SAAS,CAAE4B,MAAM,IAAI3B,YAAY,aAAZA,YAAY,KAAA,KAAA,CAAA,IAAZA,YAAY,CAAE2B,MAAM,IAAIzB,GAAG,IAAID,GAAG,EAAE;MACzD,IAAM2B,cAAc,GAAGC,iDAAyB,CAAC;AAC7CC,QAAAA,KAAK,EAAEvB,MAAM;QACbwB,IAAI,EAAEC,mBAAa,CAACC,MAAM;AAC1BhC,QAAAA,GAAG,EAAHA,GAAG;AACHC,QAAAA,GAAG,EAAHA,GAAG;AACHG,QAAAA,gBAAgB,EAAhBA,gBAAgB;AAChBN,QAAAA,SAAS,EAATA,SAAS;AACTC,QAAAA,YAAY,EAAZA,YAAAA;AACJ,OAAC,CAAC,CAAA;AACF,MAAA,OAAOkC,4BAAS,CAAWN,cAAc,EAAE,CAAC,CAAC,CAAA;AACjD,KAAA;AAEA,IAAA,OAAOM,4BAAS,CAAW3B,MAAM,EAAE,CAAC,CAAC,CAAA;AACzC,GAAC,EAAE,CAACV,IAAI,EAAEC,KAAK,EAAEC,SAAS,EAAEC,YAAY,EAAEE,GAAG,EAAED,GAAG,EAAEG,MAAM,CAAC,CAAC,CAAA;AAAA;;;;"}
@@ -18,7 +18,8 @@ var useQuarters = function useQuarters(_ref) {
18
18
  eventList = _ref.eventList,
19
19
  disabledList = _ref.disabledList,
20
20
  min = _ref.min,
21
- max = _ref.max;
21
+ max = _ref.max,
22
+ includeEdgeDates = _ref.includeEdgeDates;
22
23
  return React.useMemo(function () {
23
24
  var quarters = constants.QUARTER_NAMES.map(function (quarterName) {
24
25
  var _quarterDates$quarter = constants.quarterDates[quarterName],
@@ -26,7 +27,7 @@ var useQuarters = function useQuarters(_ref) {
26
27
  day = _quarterDates$quarter.day;
27
28
  return {
28
29
  quarterName: quarterName,
29
- isCurrent: calendarGridHelper.isCurrentQuarter(date, monthIndex),
30
+ isCurrent: calendarGridHelper.isCurrentMonth(date, monthIndex),
30
31
  isSelected: Array.isArray(value) ? Boolean(value.find(function (v) {
31
32
  return calendarGridHelper.isSelectedMonth(date, monthIndex, v);
32
33
  })) : calendarGridHelper.isSelectedMonth(date, monthIndex, value),
@@ -44,6 +45,7 @@ var useQuarters = function useQuarters(_ref) {
44
45
  type: types.CalendarState.Quarters,
45
46
  min: min,
46
47
  max: max,
48
+ includeEdgeDates: includeEdgeDates,
47
49
  eventList: eventList,
48
50
  disabledList: disabledList
49
51
  });
@@ -1 +1 @@
1
- {"version":3,"file":"useQuarters.js","sources":["../../../../src/components/Calendar/hooks/useQuarters.ts"],"sourcesContent":["import { useMemo } from 'react';\n\nimport type { DateItem } from '../Calendar.types';\nimport {\n QUARTER_NAMES,\n getMatrix,\n isDateInRange,\n getDatesWithModifications,\n quarterDates,\n isSelectedMonth as isSelectedQuarter,\n isCurrentQuarter,\n} from '../utils';\nimport { CalendarState } from '../store/types';\n\nimport type { UseQuartersArgs } from './types';\n\n/**\n * Хук для получения списка месяцев.\n */\nexport const useQuarters = ({ date, value, eventList, disabledList, min, max }: UseQuartersArgs) =>\n useMemo(() => {\n const quarters = QUARTER_NAMES.map((quarterName: string) => {\n const { monthIndex, day } = quarterDates[quarterName];\n\n return {\n quarterName,\n isCurrent: isCurrentQuarter(date, monthIndex),\n isSelected: Array.isArray(value)\n ? Boolean(value.find((v) => isSelectedQuarter(date, monthIndex, v)))\n : isSelectedQuarter(date, monthIndex, value),\n inRange: Array.isArray(value) ? isDateInRange(date.year, monthIndex, day, value) : false,\n date: { year: date.year, monthIndex, day: 1 },\n };\n });\n\n if (eventList?.length || disabledList?.length || max || min) {\n const modifiedQuarters = getDatesWithModifications({\n dates: quarters,\n type: CalendarState.Quarters,\n min,\n max,\n eventList,\n disabledList,\n });\n\n return getMatrix<DateItem>(modifiedQuarters, 2);\n }\n\n return getMatrix<DateItem>(quarters, 2);\n }, [date, value, eventList, disabledList, max, min]);\n"],"names":["useQuarters","_ref","date","value","eventList","disabledList","min","max","useMemo","quarters","QUARTER_NAMES","map","quarterName","_quarterDates$quarter","quarterDates","monthIndex","day","isCurrent","isCurrentQuarter","isSelected","Array","isArray","Boolean","find","v","isSelectedQuarter","inRange","isDateInRange","year","length","modifiedQuarters","getDatesWithModifications","dates","type","CalendarState","Quarters","getMatrix"],"mappings":";;;;;;;;;;;AAgBA;AACA;AACA;IACaA,WAAW,GAAG,SAAdA,WAAWA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAEC,SAAS,GAAAH,IAAA,CAATG,SAAS;IAAEC,YAAY,GAAAJ,IAAA,CAAZI,YAAY;IAAEC,GAAG,GAAAL,IAAA,CAAHK,GAAG;IAAEC,GAAG,GAAAN,IAAA,CAAHM,GAAG,CAAA;EAAA,OACxEC,aAAO,CAAC,YAAM;IACV,IAAMC,QAAQ,GAAGC,uBAAa,CAACC,GAAG,CAAC,UAACC,WAAmB,EAAK;AACxD,MAAA,IAAAC,qBAAA,GAA4BC,sBAAY,CAACF,WAAW,CAAC;QAA7CG,UAAU,GAAAF,qBAAA,CAAVE,UAAU;QAAEC,GAAG,GAAAH,qBAAA,CAAHG,GAAG,CAAA;MAEvB,OAAO;AACHJ,QAAAA,WAAW,EAAXA,WAAW;AACXK,QAAAA,SAAS,EAAEC,mCAAgB,CAAChB,IAAI,EAAEa,UAAU,CAAC;AAC7CI,QAAAA,UAAU,EAAEC,KAAK,CAACC,OAAO,CAAClB,KAAK,CAAC,GAC1BmB,OAAO,CAACnB,KAAK,CAACoB,IAAI,CAAC,UAACC,CAAC,EAAA;AAAA,UAAA,OAAKC,kCAAiB,CAACvB,IAAI,EAAEa,UAAU,EAAES,CAAC,CAAC,CAA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cesContent":["import { useMemo } from 'react';\n\nimport type { DateItem } from '../Calendar.types';\nimport {\n QUARTER_NAMES,\n getMatrix,\n isDateInRange,\n getDatesWithModifications,\n quarterDates,\n isSelectedMonth as isSelectedQuarter,\n isCurrentMonth as isCurrentQuarter,\n} from '../utils';\nimport { CalendarState } from '../store/types';\n\nimport type { UseQuartersArgs } from './types';\n\n/**\n * Хук для получения списка месяцев.\n */\nexport const useQuarters = ({ date, value, eventList, disabledList, min, max, includeEdgeDates }: UseQuartersArgs) =>\n useMemo(() => {\n const quarters = QUARTER_NAMES.map((quarterName: string) => {\n const { monthIndex, day } = quarterDates[quarterName];\n\n return {\n quarterName,\n isCurrent: isCurrentQuarter(date, monthIndex),\n isSelected: Array.isArray(value)\n ? Boolean(value.find((v) => isSelectedQuarter(date, monthIndex, v)))\n : isSelectedQuarter(date, monthIndex, value),\n inRange: Array.isArray(value) ? isDateInRange(date.year, monthIndex, day, value) : false,\n date: { year: date.year, monthIndex, day: 1 },\n };\n });\n\n if (eventList?.length || disabledList?.length || max || min) {\n const modifiedQuarters = getDatesWithModifications({\n dates: quarters,\n type: CalendarState.Quarters,\n min,\n max,\n includeEdgeDates,\n eventList,\n disabledList,\n });\n\n return getMatrix<DateItem>(modifiedQuarters, 2);\n }\n\n return getMatrix<DateItem>(quarters, 2);\n }, [date, value, eventList, disabledList, max, min]);\n"],"names":["useQuarters","_ref","date","value","eventList","disabledList","min","max","includeEdgeDates","useMemo","quarters","QUARTER_NAMES","map","quarterName","_quarterDates$quarter","quarterDates","monthIndex","day","isCurrent","isCurrentQuarter","isSelected","Array","isArray","Boolean","find","v","isSelectedQuarter","inRange","isDateInRange","year","length","modifiedQuarters","getDatesWithModifications","dates","type","CalendarState","Quarters","getMatrix"],"mappings":";;;;;;;;;;;AAgBA;AACA;AACA;IACaA,WAAW,GAAG,SAAdA,WAAWA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAEC,KAA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C,CAAA;AAEF,IAAA,IAAIb,SAAS,KAATA,IAAAA,IAAAA,SAAS,eAATA,SAAS,CAAE0B,MAAM,IAAIzB,YAAY,aAAZA,YAAY,KAAA,KAAA,CAAA,IAAZA,YAAY,CAAEyB,MAAM,IAAIvB,GAAG,IAAID,GAAG,EAAE;MACzD,IAAMyB,gBAAgB,GAAGC,iDAAyB,CAAC;AAC/CC,QAAAA,KAAK,EAAEvB,QAAQ;QACfwB,IAAI,EAAEC,mBAAa,CAACC,QAAQ;AAC5B9B,QAAAA,GAAG,EAAHA,GAAG;AACHC,QAAAA,GAAG,EAAHA,GAAG;AACHC,QAAAA,gBAAgB,EAAhBA,gBAAgB;AAChBJ,QAAAA,SAAS,EAATA,SAAS;AACTC,QAAAA,YAAY,EAAZA,YAAAA;AACJ,OAAC,CAAC,CAAA;AAEF,MAAA,OAAOgC,4BAAS,CAAWN,gBAAgB,EAAE,CAAC,CAAC,CAAA;AACnD,KAAA;AAEA,IAAA,OAAOM,4BAAS,CAAW3B,QAAQ,EAAE,CAAC,CAAC,CAAA;AAC3C,GAAC,EAAE,CAACR,IAAI,EAAEC,KAAK,EAAEC,SAAS,EAAEC,YAAY,EAAEE,GAAG,EAAED,GAAG,CAAC,CAAC,CAAA;AAAA;;;;"}
@@ -19,7 +19,8 @@ var useYears = function useYears(_ref) {
19
19
  eventList = _ref.eventList,
20
20
  disabledList = _ref.disabledList,
21
21
  min = _ref.min,
22
- max = _ref.max;
22
+ max = _ref.max,
23
+ includeEdgeDates = _ref.includeEdgeDates;
23
24
  return React.useMemo(function () {
24
25
  // type-coverage:ignore-next-line
25
26
  var years = Array.from(Array(constants.YEAR_RENDER_COUNT), function (_, i) {
@@ -44,6 +45,7 @@ var useYears = function useYears(_ref) {
44
45
  type: types.CalendarState.Years,
45
46
  min: min,
46
47
  max: max,
48
+ includeEdgeDates: includeEdgeDates,
47
49
  eventList: eventList,
48
50
  disabledList: disabledList
49
51
  });
@@ -1 +1 @@
1
- {"version":3,"file":"useYears.js","sources":["../../../../src/components/Calendar/hooks/useYears.ts"],"sourcesContent":["import { useMemo } from 'react';\n\nimport {\n YEAR_RENDER_COUNT,\n isCurrentYear,\n isSelectedYear,\n getMatrix,\n isDateInRange,\n getDatesWithModifications,\n} from '../utils';\nimport type { DateItem } from '../Calendar.types';\nimport { CalendarState } from '../store/types';\n\nimport type { UseYearsArgs } from './types';\n\n/**\n * Хук для получения списка годов.\n */\nexport const useYears = ({ date, value, startYear, eventList, disabledList, min, max }: UseYearsArgs) =>\n useMemo(() => {\n // type-coverage:ignore-next-line\n const years = Array.from(Array(YEAR_RENDER_COUNT), (_, i) => {\n const yearValue = startYear + i;\n\n return {\n isCurrent: isCurrentYear(startYear + i),\n isSelected: Array.isArray(value)\n ? Boolean(value.find((v) => isSelectedYear(yearValue, v)))\n : isSelectedYear(yearValue, value),\n inRange: Array.isArray(value) ? isDateInRange(yearValue, 0, 1, value) : false,\n date: { year: yearValue, monthIndex: 0, day: 1 },\n yearValue,\n };\n });\n\n if (eventList?.length || disabledList?.length || max || min) {\n const modifiedMonths = getDatesWithModifications({\n dates: years,\n type: CalendarState.Years,\n min,\n max,\n eventList,\n disabledList,\n });\n return getMatrix<DateItem>(modifiedMonths, 3);\n }\n\n return getMatrix<DateItem>(years, 3);\n }, [date, startYear, value, eventList, disabledList, max, min]);\n"],"names":["useYears","_ref","date","value","startYear","eventList","disabledList","min","max","useMemo","years","Array","from","YEAR_RENDER_COUNT","_","i","yearValue","isCurrent","isCurrentYear","isSelected","isArray","Boolean","find","v","isSelectedYear","inRange","isDateInRange","year","monthIndex","day","length","modifiedMonths","getDatesWithModifications","dates","type","CalendarState","Years","getMatrix"],"mappings":";;;;;;;;;;;AAeA;AACA;AACA;IACaA,QAAQ,GAAG,SAAXA,QAAQA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAEC,SAAS,GAAAH,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B,MAAM,IAAItB,GAAG,IAAID,GAAG,EAAE;MACzD,IAAMwB,cAAc,GAAGC,iDAAyB,CAAC;AAC7CC,QAAAA,KAAK,EAAEvB,KAAK;QACZwB,IAAI,EAAEC,mBAAa,CAACC,KAAK;AACzB7B,QAAAA,GAAG,EAAHA,GAAG;AACHC,QAAAA,GAAG,EAAHA,GAAG;AACHH,QAAAA,SAAS,EAATA,SAAS;AACTC,QAAAA,YAAY,EAAZA,YAAAA;AACJ,OAAC,CAAC,CAAA;AACF,MAAA,OAAO+B,4BAAS,CAAWN,cAAc,EAAE,CAAC,CAAC,CAAA;AACjD,KAAA;AAEA,IAAA,OAAOM,4BAAS,CAAW3B,KAAK,EAAE,CAAC,CAAC,CAAA;AACxC,GAAC,EAAE,CAACR,IAAI,EAAEE,SAAS,EAAED,KAAK,EAAEE,SAAS,EAAEC,YAAY,EAAEE,GAAG,EAAED,GAAG,CAAC,CAAC,CAAA;AAAA;;;;"}
1
+ {"version":3,"file":"useYears.js","sources":["../../../../src/components/Calendar/hooks/useYears.ts"],"sourcesContent":["import { useMemo } from 'react';\n\nimport {\n YEAR_RENDER_COUNT,\n isCurrentYear,\n isSelectedYear,\n getMatrix,\n isDateInRange,\n getDatesWithModifications,\n} from '../utils';\nimport type { DateItem } from '../Calendar.types';\nimport { CalendarState } from '../store/types';\n\nimport type { UseYearsArgs } from './types';\n\n/**\n * Хук для получения списка годов.\n */\nexport const useYears = ({\n date,\n value,\n startYear,\n eventList,\n disabledList,\n min,\n max,\n includeEdgeDates,\n}: UseYearsArgs) =>\n useMemo(() => {\n // type-coverage:ignore-next-line\n const years = Array.from(Array(YEAR_RENDER_COUNT), (_, i) => {\n const yearValue = startYear + i;\n\n return {\n isCurrent: isCurrentYear(startYear + i),\n isSelected: Array.isArray(value)\n ? Boolean(value.find((v) => isSelectedYear(yearValue, v)))\n : isSelectedYear(yearValue, value),\n inRange: Array.isArray(value) ? isDateInRange(yearValue, 0, 1, value) : false,\n date: { year: yearValue, monthIndex: 0, day: 1 },\n yearValue,\n };\n });\n\n if (eventList?.length || disabledList?.length || max || min) {\n const modifiedMonths = getDatesWithModifications({\n dates: years,\n type: CalendarState.Years,\n min,\n max,\n includeEdgeDates,\n eventList,\n disabledList,\n });\n return getMatrix<DateItem>(modifiedMonths, 3);\n }\n\n return getMatrix<DateItem>(years, 3);\n }, [date, startYear, value, eventList, disabledList, max, min]);\n"],"names":["useYears","_ref","date","value","startYear","eventList","disabledList","min","max","includeEdgeDates","useMemo","years","Array","from","YEAR_RENDER_COUNT","_","i","yearValue","isCurrent","isCurrentYear","isSelected","isArray","Boolean","find","v","isSelectedYear","inRange","isDateInRange","year","monthIndex","day","length","modifiedMonths","getDatesWithModifications","dates","type","CalendarState","Years","getMatrix"],"mappings":";;;;;;;;;;;AAeA;AACA;AACA;IACaA,QAAQ,GAAG,SAAXA,QAAQA,CAAAC,IAAA,EAAA;AAAA,EAAA,IACjBC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IACJC,KAAK,GAAAF,IAAA,CAALE,KAAK;IACLC,SAAS,GAAAH,IAAA,CAATG,SAAS;IACTC,SAAS,GAAAJ,IAAA,CAATI,SAAS;IACTC,YAAY,GAAAL,IAAA,CAAZK,YAAY;IACZC,GAAG,GAAAN,IAAA,CAAHM,GAAG;IACHC,GAAG,GAAAP,IAAA,CAAHO,GAAG;IACHC,gBAAgB,GAAAR,IAAA,CAAhBQ,gBAAgB,CAAA;EAAA,OAEhBC,aAAO,CAAC,YAAM;AACV;AACA,IAAA,IAAMC,KAAK,GAAGC,KAAK,CAACC,IAAI,CAACD,KAAK,CAACE,2BAAiB,CAAC,EAAE,UAACC,CAAC,EAAEC,CAAC,EAAK;AACzD,MAAA,IAAMC,SAAS,GAAGb,SAAS,GAAGY,CAAC,CAAA;MAE/B,OAAO;AACHE,QAAAA,SAAS,EAAEC,gCAAa,CAACf,SAAS,GAAGY,CAAC,CAAC;AACvCI,QAAAA,UAAU,EAAER,KAAK,CAACS,OAAO,CAAClB,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,EAAEE,SAAS,EAAED,KAAK,EAAEE,SAAS,EAAEC,YAAY,EAAEE,GAAG,EAAED,GAAG,CAAC,CAAC,CAAA;AAAA;;;;"}
@@ -1,7 +1,8 @@
1
- .DateStructureItem_styles_12b03hz_s140bov1__23973e8e{border-radius:calc(var(--plasma-calendar-date-structure-border-radius) - 0.125rem);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.DateStructureItem_styles_12b03hz_s140bov1__23973e8e.DateStructureItem_styles_12b03hz_itemInRange__23973e8e:before{content:'';z-index:-1;position:absolute;width:100%;height:calc(100% - 0.125rem);background:var(--plasma-calendar-range-background);}.DateStructureItem_styles_12b03hz_s140bov1__23973e8e.DateStructureItem_styles_12b03hz_itemSideInRange__23973e8e:before{content:'';z-index:-1;position:absolute;width:0.75rem;height:calc(100% - 0.125rem);background:var(--plasma-calendar-range-background);}.DateStructureItem_styles_12b03hz_s140bov1__23973e8e.DateStructureItem_styles_12b03hz_itemSideLeft__23973e8e:before{left:var(--s140bov1-0);}.DateStructureItem_styles_12b03hz_s140bov1__23973e8e.DateStructureItem_styles_12b03hz_itemSideRight__23973e8e:before{right:var(--s140bov1-0);}
2
- .DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e{font-family:var(--plasma-calendar-date-structure-font-family);font-size:var(--plasma-calendar-date-structure-font-size);font-style:var(--plasma-calendar-date-structure-font-style);font-weight:var(--plasma-calendar-date-structure-font-weight);-webkit-letter-spacing:var(--plasma-calendar-date-structure-font-letter-spacing);-moz-letter-spacing:var(--plasma-calendar-date-structure-font-letter-spacing);-ms-letter-spacing:var(--plasma-calendar-date-structure-font-letter-spacing);letter-spacing:var(--plasma-calendar-date-structure-font-letter-spacing);line-height:var(--plasma-calendar-date-structure-line-height);position:relative;box-sizing:border-box;border-radius:var(--plasma-calendar-date-structure-border-radius);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--s1k1xcqq-0);}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e{outline:none;cursor:pointer;position:relative;}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e:hover{background-color:var(--plasma-calendar-selectable-item-bg-hover);}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e.DateStructureItem_styles_12b03hz_itemHovered__23973e8e,.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e.DateStructureItem_styles_12b03hz_itemHovered__23973e8e:hover{background-color:var(--plasma-calendar-selected-item-background);color:var(--plasma-calendar-selected-item-color);cursor:pointer;font-weight:var(--plasma-calendar-date-structure-selected-font-weight);}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e.DateStructureItem_styles_12b03hz_itemSelected__23973e8e:not(.DateStructureItem_styles_12b03hz_itemCurrent__23973e8e){border:0;background-color:var(--plasma-calendar-selected-item-background);color:var(--plasma-calendar-selected-item-color);cursor:default;font-weight:var(--plasma-calendar-date-structure-selected-font-weight);}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e.DateStructureItem_styles_12b03hz_itemCurrent__23973e8e{border:var(--plasma-calendar-current-item-border-width) solid var(--plasma-calendar-current-item-border-color);}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e.DateStructureItem_styles_12b03hz_itemCurrent__23973e8e.DateStructureItem_styles_12b03hz_itemSelected__23973e8e{background-color:initial;color:var(--plasma-calendar-selected-item-color);font-weight:var(--plasma-calendar-date-structure-selected-font-weight);}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e.DateStructureItem_styles_12b03hz_itemCurrent__23973e8e.DateStructureItem_styles_12b03hz_itemSelected__23973e8e > div:first-of-type{background-color:var(--plasma-calendar-selected-item-background);min-width:calc(100% - 0.125rem);min-height:calc(100% - 0.125rem);}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.063rem solid transparent;border-radius:calc(var(--plasma-calendar-date-structure-border-radius) + 0.125rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e.DateStructureItem_styles_12b03hz_focusVisible__23973e8e:focus::before,.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e.DateStructureItem_styles_12b03hz_itemCurrent__23973e8e{position:relative;}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e.DateStructureItem_styles_12b03hz_itemCurrent__23973e8e::before{content:'';position:absolute;top:-0.1875rem;left:-0.1875rem;right:-0.1875rem;bottom:-0.1875rem;z-index:1;display:block;box-sizing:content-box;border:0.063rem solid transparent;border-radius:calc(var(--plasma-calendar-date-structure-border-radius) + 0.125rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e.DateStructureItem_styles_12b03hz_itemCurrent__23973e8e.DateStructureItem_styles_12b03hz_focusVisible__23973e8e:focus::before,.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemSelectable__23973e8e.DateStructureItem_styles_12b03hz_itemCurrent__23973e8e[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_dayInCurrentMonth__23973e8e:not(.DateStructureItem_styles_12b03hz_itemDisabled__23973e8e):active{background-color:var(--plasma-calendar-active-item-bg);color:var(--plasma-calendar-active-item-color);font-weight:var(--plasma-calendar-date-structure-selected-font-weight);}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_dayOfWeek__23973e8e{color:var(--plasma-calendar-day-of-the-week-color);}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemDisabled__23973e8e{color:var(--s1k1xcqq-1);cursor:not-allowed;opacity:var(--plasma-calendar-disabled-opacity);}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemDisabledCurrent__23973e8e{color:var(--s1k1xcqq-1);cursor:not-allowed;opacity:var(--plasma-calendar-disabled-opacity);}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemCurrent__23973e8e > .DateStructureItem_styles_12b03hz_itemInRange__23973e8e:before{width:calc(100% + 2px);height:100%;}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemCurrent__23973e8e > .DateStructureItem_styles_12b03hz_itemSideRight__23973e8e:before{width:100%;right:-1px;left:unset;}.DateStructureItem_styles_12b03hz_s1k1xcqq__23973e8e.DateStructureItem_styles_12b03hz_itemCurrent__23973e8e > .DateStructureItem_styles_12b03hz_itemSideLeft__23973e8e:before{width:100%;left:-1px;right:unset;}
3
- .DateStructureItem_styles_12b03hz_s1wqrord__23973e8e{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:absolute;bottom:0.25rem;}
4
- .DateStructureItem_styles_12b03hz_s1cvvf5__23973e8e{margin:0 0.063rem;width:0.188rem;height:0.188rem;border-radius:50%;background-color:var(--s1cvvf5-0);}
1
+ .DateStructureItem_styles_1hkk03u_s140bov1__1f08c8b0{border-radius:calc(var(--plasma-calendar-date-structure-border-radius) - 0.125rem);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.DateStructureItem_styles_1hkk03u_s140bov1__1f08c8b0.DateStructureItem_styles_1hkk03u_itemInRange__1f08c8b0:before{content:'';z-index:-1;position:absolute;width:100%;height:calc(100% - 0.125rem);background:var(--plasma-calendar-range-background);}.DateStructureItem_styles_1hkk03u_s140bov1__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSideInRange__1f08c8b0:before{content:'';z-index:-1;position:absolute;width:0.75rem;height:calc(100% - 0.125rem);background:var(--plasma-calendar-range-background);}.DateStructureItem_styles_1hkk03u_s140bov1__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSideLeft__1f08c8b0:before{left:var(--s140bov1-0);}.DateStructureItem_styles_1hkk03u_s140bov1__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSideRight__1f08c8b0:before{right:var(--s140bov1-0);}
2
+ .DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0{font-family:var(--plasma-calendar-date-structure-font-family);font-size:var(--plasma-calendar-date-structure-font-size);font-style:var(--plasma-calendar-date-structure-font-style);font-weight:var(--plasma-calendar-date-structure-font-weight);-webkit-letter-spacing:var(--plasma-calendar-date-structure-font-letter-spacing);-moz-letter-spacing:var(--plasma-calendar-date-structure-font-letter-spacing);-ms-letter-spacing:var(--plasma-calendar-date-structure-font-letter-spacing);letter-spacing:var(--plasma-calendar-date-structure-font-letter-spacing);line-height:var(--plasma-calendar-date-structure-line-height);position:relative;box-sizing:border-box;min-width:var(--plasma-calendar-date-structure-width);min-height:var(--plasma-calendar-date-structure-height);border-radius:var(--plasma-calendar-date-structure-border-radius);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--s1k1xcqq-0);}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0{outline:none;cursor:pointer;position:relative;}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0:hover{background-color:var(--plasma-calendar-selectable-item-bg-hover);}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0.DateStructureItem_styles_1hkk03u_itemHovered__1f08c8b0,.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0.DateStructureItem_styles_1hkk03u_itemHovered__1f08c8b0:hover{background-color:var(--plasma-calendar-selected-item-background);color:var(--plasma-calendar-selected-item-color);cursor:pointer;font-weight:var(--plasma-calendar-date-structure-selected-font-weight);}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelected__1f08c8b0:not(.DateStructureItem_styles_1hkk03u_itemCurrent__1f08c8b0){border:0;background-color:var(--plasma-calendar-selected-item-background);color:var(--plasma-calendar-selected-item-color);cursor:default;font-weight:var(--plasma-calendar-date-structure-selected-font-weight);}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0.DateStructureItem_styles_1hkk03u_itemCurrent__1f08c8b0{border:var(--plasma-calendar-current-item-border-width) solid var(--plasma-calendar-current-item-border-color);}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0.DateStructureItem_styles_1hkk03u_itemCurrent__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelected__1f08c8b0{background-color:initial;color:var(--plasma-calendar-selected-item-color);font-weight:var(--plasma-calendar-date-structure-selected-font-weight);}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0.DateStructureItem_styles_1hkk03u_itemCurrent__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelected__1f08c8b0 > div:first-of-type{background-color:var(--plasma-calendar-selected-item-background);min-width:calc(var(--plasma-calendar-date-structure-width) - 0.25rem);min-height:calc(var(--plasma-calendar-date-structure-height) - 0.25rem);}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.063rem solid transparent;border-radius:calc(var(--plasma-calendar-date-structure-border-radius) + 0.125rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0.DateStructureItem_styles_1hkk03u_focusVisible__1f08c8b0:focus::before,.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0.DateStructureItem_styles_1hkk03u_itemCurrent__1f08c8b0{position:relative;}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0.DateStructureItem_styles_1hkk03u_itemCurrent__1f08c8b0::before{content:'';position:absolute;top:-0.1875rem;left:-0.1875rem;right:-0.1875rem;bottom:-0.1875rem;z-index:1;display:block;box-sizing:content-box;border:0.063rem solid transparent;border-radius:calc(var(--plasma-calendar-date-structure-border-radius) + 0.125rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0.DateStructureItem_styles_1hkk03u_itemCurrent__1f08c8b0.DateStructureItem_styles_1hkk03u_focusVisible__1f08c8b0:focus::before,.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemSelectable__1f08c8b0.DateStructureItem_styles_1hkk03u_itemCurrent__1f08c8b0[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_dayInCurrentMonth__1f08c8b0:not(.DateStructureItem_styles_1hkk03u_itemDisabled__1f08c8b0):active{background-color:var(--plasma-calendar-active-item-bg);color:var(--plasma-calendar-active-item-color);font-weight:var(--plasma-calendar-date-structure-selected-font-weight);}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_dayOfWeek__1f08c8b0{color:var(--plasma-calendar-day-of-the-week-color);}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemDisabled__1f08c8b0{color:var(--s1k1xcqq-1);cursor:not-allowed;opacity:var(--plasma-calendar-disabled-opacity);}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemDisabledCurrent__1f08c8b0{color:var(--s1k1xcqq-1);cursor:not-allowed;opacity:var(--plasma-calendar-disabled-opacity);}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemCurrent__1f08c8b0 > .DateStructureItem_styles_1hkk03u_itemInRange__1f08c8b0:before{width:calc(100% + 2px);height:100%;}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemCurrent__1f08c8b0 > .DateStructureItem_styles_1hkk03u_itemSideRight__1f08c8b0:before{width:100%;right:-1px;left:unset;}.DateStructureItem_styles_1hkk03u_s1k1xcqq__1f08c8b0.DateStructureItem_styles_1hkk03u_itemCurrent__1f08c8b0 > .DateStructureItem_styles_1hkk03u_itemSideLeft__1f08c8b0:before{width:100%;left:-1px;right:unset;}
3
+ .DateStructureItem_styles_1hkk03u_s1wqrord__1f08c8b0{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:absolute;bottom:0.25rem;}
4
+ .DateStructureItem_styles_1hkk03u_s1cvvf5__1f08c8b0{margin:0 0.063rem;width:0.188rem;height:0.188rem;border-radius:50%;background-color:var(--s1cvvf5-0);}
5
5
 
6
- .CalendarDays_styles_445k2m_s1jnjaxw__ac4a553a{outline:none;padding:var(--plasma-calendar-days-padding);box-sizing:border-box;display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:repeat(7,1fr);width:100%;height:100%;}
7
- .CalendarDays_styles_445k2m_s1rv3pd5__ac4a553a{display:none;}
6
+ .CalendarDays_styles_1oq8sud_s1jnjaxw__be296257{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
7
+ .CalendarDays_styles_1oq8sud_s1rv3pd5__be296257{outline:none;padding:var(--plasma-calendar-days-padding);box-sizing:border-box;}
8
+ .CalendarDays_styles_1oq8sud_scupvll__be296257{display:none;}
@@ -53,7 +53,7 @@ var CalendarDays = function CalendarDays(_ref) {
53
53
  var selectedRef = React.useRef(selected);
54
54
  var onSetSelectedRef = React.useRef(onSetSelected);
55
55
  var offset = isSecond ? constants.ROW_STEP : 0;
56
- var dayItemTokens = _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(Calendar_tokens.innerTokens.dateStructureFontFamily), "var(".concat(Calendar_tokens.tokens.calendarDayFontFamily, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureFontSize), "var(".concat(Calendar_tokens.tokens.calendarDayFontSize, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureFontWeight), "var(".concat(Calendar_tokens.tokens.calendarDayFontWeight, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureFontLineHeight), "var(".concat(Calendar_tokens.tokens.calendarDayFontLineHeight, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureFontLetterSpacing), "var(".concat(Calendar_tokens.tokens.calendarDayFontLetterSpacing, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureFontStyle), "var(".concat(Calendar_tokens.tokens.calendarDayFontStyle, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureSelectedFontWeight), "var(".concat(Calendar_tokens.tokens.calendarDaySelectedFontWeight, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureBorderRadius), "var(".concat(Calendar_tokens.tokens.calendarDayItemBorderRadius, ")"));
56
+ var dayItemTokens = _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(Calendar_tokens.innerTokens.dateStructureFontFamily), "var(".concat(Calendar_tokens.tokens.calendarDayFontFamily, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureFontSize), "var(".concat(Calendar_tokens.tokens.calendarDayFontSize, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureFontWeight), "var(".concat(Calendar_tokens.tokens.calendarDayFontWeight, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureFontLineHeight), "var(".concat(Calendar_tokens.tokens.calendarDayFontLineHeight, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureFontLetterSpacing), "var(".concat(Calendar_tokens.tokens.calendarDayFontLetterSpacing, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureFontStyle), "var(".concat(Calendar_tokens.tokens.calendarDayFontStyle, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureSelectedFontWeight), "var(".concat(Calendar_tokens.tokens.calendarDaySelectedFontWeight, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureWidth), "var(".concat(Calendar_tokens.tokens.calendarDayItemWidth, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureHeight), "var(".concat(Calendar_tokens.tokens.calendarDayItemHeight, ")")), "".concat(Calendar_tokens.innerTokens.dateStructureBorderRadius), "var(".concat(Calendar_tokens.tokens.calendarDayItemBorderRadius, ")"));
57
57
  var getSelectedDate = React.useCallback(function (event) {
58
58
  var _event$currentTarget$ = event.currentTarget.dataset,
59
59
  day = _event$currentTarget$.day,
@@ -110,7 +110,9 @@ var CalendarDays = function CalendarDays(_ref) {
110
110
  onMouseLeave: handleMouseOutGrid
111
111
  }, /*#__PURE__*/React__default.default.createElement(CalendarDays_styles.StyledCalendarDaysHint, {
112
112
  id: "withShift"
113
- }, constants.I18N.navigationByShift[locale]), /*#__PURE__*/React__default.default.createElement(React__default.default.Fragment, null, constants.SHORT_DAY_NAMES[locale].map(function (name) {
113
+ }, constants.I18N.navigationByShift[locale]), /*#__PURE__*/React__default.default.createElement(CalendarDays_styles.StyledFlex, {
114
+ role: "row"
115
+ }, constants.SHORT_DAY_NAMES[locale].map(function (name) {
114
116
  return /*#__PURE__*/React__default.default.createElement(DateStructureItem.DateStructureItem, {
115
117
  role: "columnheader",
116
118
  "aria-label": constants.FULL_DAY_NAMES[locale][name],
@@ -120,7 +122,8 @@ var CalendarDays = function CalendarDays(_ref) {
120
122
  style: dayItemTokens
121
123
  }, name);
122
124
  })), days.map(function (day, i) {
123
- return /*#__PURE__*/React__default.default.createElement(React.Fragment, {
125
+ return /*#__PURE__*/React__default.default.createElement(CalendarDays_styles.StyledFlex, {
126
+ role: "row",
124
127
  key: i
125
128
  }, day.map(function (_ref2, j) {
126
129
  var date = _ref2.date,
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDays.js","sources":["../../../../../src/components/Calendar/ui/CalendarDays/CalendarDays.tsx"],"sourcesContent":["import React, { Fragment, useCallback, useEffect, useRef } from 'react';\n\nimport { useDays } from '../../hooks';\nimport {\n canSelectDate,\n FULL_DAY_NAMES,\n getInRange,\n getSideInRange,\n isSameDay,\n isSelectProcess,\n ROW_STEP,\n SHORT_DAY_NAMES,\n I18N,\n} from '../../utils';\nimport { DateStructureItem } from '../DateStructureItem/DateStructureItem';\nimport { DateItem } from '../../Calendar.types';\nimport { innerTokens, tokens } from '../../Calendar.tokens';\n\nimport { StyledCalendarDays, StyledCalendarDaysHint } from './CalendarDays.styles';\nimport type { CalendarDaysProps } from './CalendarDays.types';\n\n/**\n * Компонент дней в календаре.\n */\nexport const CalendarDays: React.FC<CalendarDaysProps> = ({\n date: currentDate,\n value,\n eventList,\n disabledList,\n min,\n max,\n includeEdgeDates,\n hoveredDay,\n selectIndexes,\n isDouble,\n isSecond,\n outerRefs,\n onChangeDay,\n onHoverDay,\n onSetSelected,\n onKeyDown,\n locale = 'ru',\n}) => {\n const [days, selected] = useDays({ date: currentDate, value, eventList, disabledList, min, max, includeEdgeDates });\n const selectedRef = useRef(selected);\n const onSetSelectedRef = useRef(onSetSelected);\n\n const offset = isSecond ? ROW_STEP : 0;\n\n const dayItemTokens = {\n [`${innerTokens.dateStructureFontFamily}`]: `var(${tokens.calendarDayFontFamily})`,\n [`${innerTokens.dateStructureFontSize}`]: `var(${tokens.calendarDayFontSize})`,\n [`${innerTokens.dateStructureFontWeight}`]: `var(${tokens.calendarDayFontWeight})`,\n [`${innerTokens.dateStructureFontLineHeight}`]: `var(${tokens.calendarDayFontLineHeight})`,\n [`${innerTokens.dateStructureFontLetterSpacing}`]: `var(${tokens.calendarDayFontLetterSpacing})`,\n [`${innerTokens.dateStructureFontStyle}`]: `var(${tokens.calendarDayFontStyle})`,\n [`${innerTokens.dateStructureSelectedFontWeight}`]: `var(${tokens.calendarDaySelectedFontWeight})`,\n [`${innerTokens.dateStructureBorderRadius}`]: `var(${tokens.calendarDayItemBorderRadius})`,\n };\n\n const getSelectedDate = useCallback(\n (event: React.MouseEvent<HTMLDivElement>) => {\n const { day, monthIndex, year } = event.currentTarget.dataset;\n\n const selectedDate = {\n day: Number(day),\n monthIndex: Number(monthIndex),\n year: Number(year),\n };\n\n if (!canSelectDate(selectedDate, value, disabledList)) {\n return;\n }\n\n return selectedDate;\n },\n [disabledList, value],\n );\n\n const handleOnChangeDay = useCallback(\n (i: number, j: number) => (event: React.MouseEvent<HTMLDivElement>) => {\n const selectedDate = getSelectedDate(event);\n\n if (!selectedDate) {\n return;\n }\n\n onChangeDay(selectedDate, [i + offset, j]);\n\n if (isSelectProcess(value)) {\n onHoverDay?.(undefined);\n }\n },\n [getSelectedDate, onChangeDay, offset, value, onHoverDay],\n );\n\n const handleOnHoverDay = useCallback(\n (event: React.MouseEvent<HTMLDivElement>) => {\n const selectedDate = getSelectedDate(event);\n const isSelectedDone = Array.isArray(value) && value[0] && value[1];\n\n if (!selectedDate || !Array.isArray(value) || isSelectedDone) {\n return;\n }\n\n onHoverDay?.(selectedDate);\n },\n [getSelectedDate, onHoverDay, value],\n );\n\n const handleMouseOutGrid = () => onHoverDay?.(undefined);\n\n const getRefs = (element: HTMLDivElement, isDayInCurrentMonth: boolean, i: number, j: number) => {\n if (isDayInCurrentMonth) {\n outerRefs.current[i + offset][j] = element;\n }\n };\n\n useEffect(() => {\n if (selectedRef.current) {\n onSetSelectedRef.current?.(selectedRef.current);\n }\n }, []);\n\n return (\n <StyledCalendarDays\n role=\"grid\"\n aria-labelledby=\"id-grid-label\"\n onKeyDown={onKeyDown}\n onMouseLeave={handleMouseOutGrid}\n >\n <StyledCalendarDaysHint id=\"withShift\">{I18N.navigationByShift[locale]}</StyledCalendarDaysHint>\n <>\n {SHORT_DAY_NAMES[locale].map((name) => (\n <DateStructureItem\n role=\"columnheader\"\n aria-label={FULL_DAY_NAMES[locale][name]}\n key={name}\n dayOfWeek\n day={name}\n style={dayItemTokens}\n >\n {name}\n </DateStructureItem>\n ))}\n </>\n {days.map((day: DateItem[], i) => (\n <Fragment key={i}>\n {day.map(\n (\n {\n date,\n events,\n disabled,\n isSelected,\n isCurrent,\n isDayInCurrentMonth,\n inRange,\n isOutOfMinMaxRange = false,\n disabledArrowKey,\n disabledDates,\n },\n j,\n ) => (\n <DateStructureItem\n ref={(element: HTMLDivElement) => getRefs(element, Boolean(isDayInCurrentMonth), i, j)}\n style={dayItemTokens}\n eventList={events}\n disabled={disabled}\n day={date.day}\n year={date.year}\n monthIndex={date.monthIndex}\n isFocused={\n i + offset === selectIndexes?.[0] && j === selectIndexes?.[1] && !isOutOfMinMaxRange\n }\n isSelected={isSelected}\n isCurrent={isCurrent}\n isDayInCurrentMonth={isDayInCurrentMonth}\n isDouble={isDouble}\n isHovered={isSameDay(date, hoveredDay)}\n inRange={getInRange(value, date, hoveredDay, inRange)}\n sideInRange={getSideInRange(value, date, hoveredDay, isSelected)}\n onClick={disabled ? undefined : handleOnChangeDay(i, j)}\n onMouseOver={disabled ? undefined : handleOnHoverDay}\n key={`StyledDay-${i}-${j}`}\n role=\"gridcell\"\n disabledArrowKey={disabledArrowKey}\n disabledMonths={disabledDates}\n >\n {date.day}\n </DateStructureItem>\n ),\n )}\n </Fragment>\n ))}\n </StyledCalendarDays>\n );\n};\n"],"names":["CalendarDays","_ref","currentDate","date","value","eventList","disabledList","min","max","includeEdgeDates","hoveredDay","selectIndexes","isDouble","isSecond","outerRefs","onChangeDay","onHoverDay","onSetSelected","onKeyDown","_ref$locale","locale","_useDays","useDays","_useDays2","_slicedToArray","days","selected","selectedRef","useRef","onSetSelectedRef","offset","ROW_STEP","dayItemTokens","_defineProperty","concat","innerTokens","dateStructureFontFamily","tokens","calendarDayFontFamily","dateStructureFontSize","calendarDayFontSize","dateStructureFontWeight","calendarDayFontWeight","dateStructureFontLineHeight","calendarDayFontLineHeight","dateStructureFontLetterSpacing","calendarDayFontLetterSpacing","dateStructureFontStyle","calendarDayFontStyle","dateStructureSelectedFontWeight","calendarDaySelectedFontWeight","dateStructureBorderRadius","calendarDayItemBorderRadius","getSelectedDate","useCallback","event","_event$currentTarget$","currentTarget","dataset","day","monthIndex","year","selectedDate","Number","canSelectDate","handleOnChangeDay","i","j","isSelectProcess","undefined","handleOnHoverDay","isSelectedDone","Array","isArray","handleMouseOutGrid","getRefs","element","isDayInCurrentMonth","current","useEffect","_onSetSelectedRef$cur","call","React","createElement","StyledCalendarDays","role","onMouseLeave","StyledCalendarDaysHint","id","I18N","navigationByShift","Fragment","SHORT_DAY_NAMES","map","name","DateStructureItem","FULL_DAY_NAMES","key","dayOfWeek","style","_ref2","events","disabled","isSelected","isCurrent","inRange","_ref2$isOutOfMinMaxRa","isOutOfMinMaxRange","disabledArrowKey","disabledDates","ref","Boolean","isFocused","isHovered","isSameDay","getInRange","sideInRange","getSideInRange","onClick","onMouseOver","disabledMonths"],"mappings":";;;;;;;;;;;;;;;;;;AAqBA;AACA;AACA;IACaA,YAAyC,GAAG,SAA5CA,YAAyCA,CAAAC,IAAA,EAkBhD;AAAA,EAAA,IAjBIC,WAAW,GAAAD,IAAA,CAAjBE,IAAI;IACJC,KAAK,GAAAH,IAAA,CAALG,KAAK;IACLC,SAAS,GAAAJ,IAAA,CAATI,SAAS;IACTC,YAAY,GAAAL,IAAA,CAAZK,YAAY;IACZC,GAAG,GAAAN,IAAA,CAAHM,GAAG;IACHC,GAAG,GAAAP,IAAA,CAAHO,GAAG;IACHC,gBAAgB,GAAAR,IAAA,CAAhBQ,gBAAgB;IAChBC,UAAU,GAAAT,IAAA,CAAVS,UAAU;IACVC,aAAa,GAAAV,IAAA,CAAbU,aAAa;IACbC,QAAQ,GAAAX,IAAA,CAARW,QAAQ;IACRC,QAAQ,GAAAZ,IAAA,CAARY,QAAQ;IACRC,SAAS,GAAAb,IAAA,CAATa,SAAS;IACTC,WAAW,GAAAd,IAAA,CAAXc,WAAW;IACXC,UAAU,GAAAf,IAAA,CAAVe,UAAU;IACVC,aAAa,GAAAhB,IAAA,CAAbgB,aAAa;IACbC,SAAS,GAAAjB,IAAA,CAATiB,SAAS;IAAAC,WAAA,GAAAlB,IAAA,CACTmB,MAAM;AAANA,IAAAA,MAAM,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,IAAI,GAAAA,WAAA,CAAA;EAEb,IAAAE,QAAA,GAAyBC,eAAO,CAAC;AAAEnB,MAAAA,IAAI,EAAED,WAAW;AAAEE,MAAAA,KAAK,EAALA,KAAK;AAAEC,MAAAA,SAAS,EAATA,SAAS;AAAEC,MAAAA,YAAY,EAAZA,YAAY;AAAEC,MAAAA,GAAG,EAAHA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BAAiB;AACnCY,QAAAA,cAAc,EAAEX,aAAAA;OAEf1G,EAAAA,IAAI,CAACwD,GACS,CAAC,CAAA;AAAA,KAE5B,CACM,CAAC,CAAA;AAAA,GACd,CACe,CAAC,CAAA;AAE7B;;;;"}
1
+ {"version":3,"file":"CalendarDays.js","sources":["../../../../../src/components/Calendar/ui/CalendarDays/CalendarDays.tsx"],"sourcesContent":["import React, { useCallback, useEffect, useRef } from 'react';\n\nimport { useDays } from '../../hooks';\nimport {\n canSelectDate,\n FULL_DAY_NAMES,\n getInRange,\n getSideInRange,\n isSameDay,\n isSelectProcess,\n ROW_STEP,\n SHORT_DAY_NAMES,\n I18N,\n} from '../../utils';\nimport { DateStructureItem } from '../DateStructureItem/DateStructureItem';\nimport { DateItem } from '../../Calendar.types';\nimport { innerTokens, tokens } from '../../Calendar.tokens';\n\nimport { StyledCalendarDays, StyledCalendarDaysHint, StyledFlex } from './CalendarDays.styles';\nimport type { CalendarDaysProps } from './CalendarDays.types';\n\n/**\n * Компонент дней в календаре.\n */\nexport const CalendarDays: React.FC<CalendarDaysProps> = ({\n date: currentDate,\n value,\n eventList,\n disabledList,\n min,\n max,\n includeEdgeDates,\n hoveredDay,\n selectIndexes,\n isDouble,\n isSecond,\n outerRefs,\n onChangeDay,\n onHoverDay,\n onSetSelected,\n onKeyDown,\n locale = 'ru',\n}) => {\n const [days, selected] = useDays({ date: currentDate, value, eventList, disabledList, min, max, includeEdgeDates });\n const selectedRef = useRef(selected);\n const onSetSelectedRef = useRef(onSetSelected);\n\n const offset = isSecond ? ROW_STEP : 0;\n\n const dayItemTokens = {\n [`${innerTokens.dateStructureFontFamily}`]: `var(${tokens.calendarDayFontFamily})`,\n [`${innerTokens.dateStructureFontSize}`]: `var(${tokens.calendarDayFontSize})`,\n [`${innerTokens.dateStructureFontWeight}`]: `var(${tokens.calendarDayFontWeight})`,\n [`${innerTokens.dateStructureFontLineHeight}`]: `var(${tokens.calendarDayFontLineHeight})`,\n [`${innerTokens.dateStructureFontLetterSpacing}`]: `var(${tokens.calendarDayFontLetterSpacing})`,\n [`${innerTokens.dateStructureFontStyle}`]: `var(${tokens.calendarDayFontStyle})`,\n [`${innerTokens.dateStructureSelectedFontWeight}`]: `var(${tokens.calendarDaySelectedFontWeight})`,\n [`${innerTokens.dateStructureWidth}`]: `var(${tokens.calendarDayItemWidth})`,\n [`${innerTokens.dateStructureHeight}`]: `var(${tokens.calendarDayItemHeight})`,\n [`${innerTokens.dateStructureBorderRadius}`]: `var(${tokens.calendarDayItemBorderRadius})`,\n };\n\n const getSelectedDate = useCallback(\n (event: React.MouseEvent<HTMLDivElement>) => {\n const { day, monthIndex, year } = event.currentTarget.dataset;\n\n const selectedDate = {\n day: Number(day),\n monthIndex: Number(monthIndex),\n year: Number(year),\n };\n\n if (!canSelectDate(selectedDate, value, disabledList)) {\n return;\n }\n\n return selectedDate;\n },\n [disabledList, value],\n );\n\n const handleOnChangeDay = useCallback(\n (i: number, j: number) => (event: React.MouseEvent<HTMLDivElement>) => {\n const selectedDate = getSelectedDate(event);\n\n if (!selectedDate) {\n return;\n }\n\n onChangeDay(selectedDate, [i + offset, j]);\n\n if (isSelectProcess(value)) {\n onHoverDay?.(undefined);\n }\n },\n [getSelectedDate, onChangeDay, offset, value, onHoverDay],\n );\n\n const handleOnHoverDay = useCallback(\n (event: React.MouseEvent<HTMLDivElement>) => {\n const selectedDate = getSelectedDate(event);\n const isSelectedDone = Array.isArray(value) && value[0] && value[1];\n\n if (!selectedDate || !Array.isArray(value) || isSelectedDone) {\n return;\n }\n\n onHoverDay?.(selectedDate);\n },\n [getSelectedDate, onHoverDay, value],\n );\n\n const handleMouseOutGrid = () => onHoverDay?.(undefined);\n\n const getRefs = (element: HTMLDivElement, isDayInCurrentMonth: boolean, i: number, j: number) => {\n if (isDayInCurrentMonth) {\n outerRefs.current[i + offset][j] = element;\n }\n };\n\n useEffect(() => {\n if (selectedRef.current) {\n onSetSelectedRef.current?.(selectedRef.current);\n }\n }, []);\n\n return (\n <StyledCalendarDays\n role=\"grid\"\n aria-labelledby=\"id-grid-label\"\n onKeyDown={onKeyDown}\n onMouseLeave={handleMouseOutGrid}\n >\n <StyledCalendarDaysHint id=\"withShift\">{I18N.navigationByShift[locale]}</StyledCalendarDaysHint>\n <StyledFlex role=\"row\">\n {SHORT_DAY_NAMES[locale].map((name) => (\n <DateStructureItem\n role=\"columnheader\"\n aria-label={FULL_DAY_NAMES[locale][name]}\n key={name}\n dayOfWeek\n day={name}\n style={dayItemTokens}\n >\n {name}\n </DateStructureItem>\n ))}\n </StyledFlex>\n {days.map((day: DateItem[], i) => (\n <StyledFlex role=\"row\" key={i}>\n {day.map(\n (\n {\n date,\n events,\n disabled,\n isSelected,\n isCurrent,\n isDayInCurrentMonth,\n inRange,\n isOutOfMinMaxRange = false,\n disabledArrowKey,\n disabledDates,\n },\n j,\n ) => (\n <DateStructureItem\n ref={(element: HTMLDivElement) => getRefs(element, Boolean(isDayInCurrentMonth), i, j)}\n style={dayItemTokens}\n eventList={events}\n disabled={disabled}\n day={date.day}\n year={date.year}\n monthIndex={date.monthIndex}\n isFocused={\n i + offset === selectIndexes?.[0] && j === selectIndexes?.[1] && !isOutOfMinMaxRange\n }\n isSelected={isSelected}\n isCurrent={isCurrent}\n isDayInCurrentMonth={isDayInCurrentMonth}\n isDouble={isDouble}\n isHovered={isSameDay(date, hoveredDay)}\n inRange={getInRange(value, date, hoveredDay, inRange)}\n sideInRange={getSideInRange(value, date, hoveredDay, isSelected)}\n onClick={disabled ? undefined : handleOnChangeDay(i, j)}\n onMouseOver={disabled ? undefined : handleOnHoverDay}\n key={`StyledDay-${i}-${j}`}\n role=\"gridcell\"\n disabledArrowKey={disabledArrowKey}\n disabledMonths={disabledDates}\n >\n {date.day}\n </DateStructureItem>\n ),\n )}\n </StyledFlex>\n ))}\n </StyledCalendarDays>\n );\n};\n"],"names":["CalendarDays","_ref","currentDate","date","value","eventList","disabledList","min","max","includeEdgeDates","hoveredDay","selectIndexes","isDouble","isSecond","outerRefs","onChangeDay","onHoverDay","onSetSelected","onKeyDown","_ref$locale","locale","_useDays","useDays","_useDays2","_slicedToArray","days","selected","selectedRef","useRef","onSetSelectedRef","offset","ROW_STEP","dayItemTokens","_defineProperty","concat","innerTokens","dateStructureFontFamily","tokens","calendarDayFontFamily","dateStructureFontSize","calendarDayFontSize","dateStructureFontWeight","calendarDayFontWeight","dateStructureFontLineHeight","calendarDayFontLineHeight","dateStructureFontLetterSpacing","calendarDayFontLetterSpacing","dateStructureFontStyle","calendarDayFontStyle","dateStructureSelectedFontWeight","calendarDaySelectedFontWeight","dateStructureWidth","calendarDayItemWidth","dateStructureHeight","calendarDayItemHeight","dateStructureBorderRadius","calendarDayItemBorderRadius","getSelectedDate","useCallback","event","_event$currentTarget$","currentTarget","dataset","day","monthIndex","year","selectedDate","Number","canSelectDate","handleOnChangeDay","i","j","isSelectProcess","undefined","handleOnHoverDay","isSelectedDone","Array","isArray","handleMouseOutGrid","getRefs","element","isDayInCurrentMonth","current","useEffect","_onSetSelectedRef$cur","call","React","createElement","StyledCalendarDays","role","onMouseLeave","StyledCalendarDaysHint","id","I18N","navigationByShift","StyledFlex","SHORT_DAY_NAMES","map","name","DateStructureItem","FULL_DAY_NAMES","key","dayOfWeek","style","_ref2","events","disabled","isSelected","isCurrent","inRange","_ref2$isOutOfMinMaxRa","isOutOfMinMaxRange","disabledArrowKey","disabledDates","ref","Boolean","isFocused","isHovered","isSameDay","getInRange","sideInRange","getSideInRange","onClick","onMouseOver","disabledMonths"],"mappings":";;;;;;;;;;;;;;;;;;AAqBA;AACA;AACA;IACaA,YAAyC,GAAG,SAA5CA,YAAyCA,CAAAC,IAAA,EAkBhD;AAAA,EAAA,IAjBIC,WAAW,GAAAD,IAAA,CAAjBE,IAAI;IACJC,KAAK,GAAAH,IAAA,CAALG,KAAK;IACLC,SAAS,GAAAJ,IAAA,CAATI,SAAS;IACTC,YAAY,GAAAL,IAAA,CAAZK,YAAY;IACZC,GAAG,GAAAN,IA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