@salutejs/plasma-new-hope 0.93.0-canary.1224.9678231866.0 → 0.93.0-canary.1252.9678189355.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (633) hide show
  1. package/cjs/components/Calendar/Calendar.tokens.js +28 -67
  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 +29 -57
  5. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +0 -6
  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_1m6uih1.css → CalendarBase.styles_rv9ax9.css} +1 -1
  10. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +30 -58
  11. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +0 -6
  12. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  13. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +1 -1
  14. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js.map +1 -1
  15. package/{es/components/Calendar/CalendarDouble/CalendarDouble.styles_e9ada0.css → cjs/components/Calendar/CalendarDouble/CalendarDouble.styles_1rc2ejs.css} +2 -2
  16. package/cjs/components/Calendar/hoc/withRange.js.map +1 -1
  17. package/cjs/components/Calendar/hooks/useDays.js +1 -1
  18. package/cjs/components/Calendar/hooks/useDays.js.map +1 -1
  19. package/cjs/components/Calendar/mixins/index.js +18 -0
  20. package/cjs/components/Calendar/mixins/index.js.map +1 -0
  21. package/cjs/components/Calendar/mixins/index_o3bz9l.css +1 -0
  22. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.css +4 -4
  23. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +9 -9
  24. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js.map +1 -1
  25. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_xf9c5e.css +4 -0
  26. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +7 -7
  27. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -1
  28. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
  29. package/{es/components/Calendar/ui/CalendarDays/CalendarDays.styles_1oq8sud.css → cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles_bnrjbd.css} +1 -1
  30. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +8 -36
  31. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +17 -31
  32. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  33. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +12 -27
  34. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  35. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1c4p417.css +6 -0
  36. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  37. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  38. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  39. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +1 -1
  40. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
  41. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1jnzviu.css +4 -0
  42. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  43. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  44. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  45. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +1 -1
  46. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
  47. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_1lubnwe.css +4 -0
  48. package/cjs/components/Calendar/utils/index.js.map +1 -1
  49. package/cjs/components/Combobox/Combobox.js +2 -2
  50. package/cjs/components/Combobox/Combobox.js.map +1 -1
  51. package/cjs/components/Dropdown/Dropdown.js +2 -4
  52. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  53. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +4 -8
  54. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  55. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -6
  56. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  57. package/cjs/components/Dropdown/utils/index.js +17 -0
  58. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  59. package/cjs/components/Range/Range.css +6 -6
  60. package/cjs/components/Range/Range.js +2 -17
  61. package/cjs/components/Range/Range.js.map +1 -1
  62. package/cjs/components/Range/Range.styles.js +1 -1
  63. package/cjs/components/Range/Range.styles.js.map +1 -1
  64. package/cjs/components/Range/Range.styles_mc4w65.css +8 -0
  65. package/cjs/components/Segment/SegmentProvider/SegmentProvider.js +4 -5
  66. package/cjs/components/Segment/SegmentProvider/SegmentProvider.js.map +1 -1
  67. package/cjs/components/Select/Select.js +2 -2
  68. package/cjs/components/Select/Select.js.map +1 -1
  69. package/cjs/components/Slider/Slider.css +3 -3
  70. package/cjs/components/Slider/components/Double/Double.css +3 -3
  71. package/cjs/components/TextField/TextField.tokens.js +1 -1
  72. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  73. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  74. package/cjs/components/TextField/variations/_read-only/base_134hshp.css +1 -0
  75. package/cjs/components/TextField/variations/_size/base.js +1 -1
  76. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  77. package/cjs/components/TextField/variations/_size/base_ntoddv.css +1 -0
  78. package/cjs/components/TextField/variations/_view/base.js +1 -1
  79. package/cjs/components/TextField/variations/_view/base_19gxyva.css +1 -0
  80. package/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  81. package/cjs/components/_Icon/Icon.assets/DisclosureLeft.js.map +1 -1
  82. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js +15 -5
  83. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  84. package/cjs/index.css +38 -71
  85. package/cjs/index.js +0 -12
  86. package/cjs/index.js.map +1 -1
  87. package/cjs/utils/index.js.map +1 -1
  88. package/es/components/Calendar/Calendar.tokens.js +28 -67
  89. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  90. package/es/components/Calendar/Calendar.types.js.map +1 -1
  91. package/es/components/Calendar/CalendarBase/CalendarBase.css +29 -57
  92. package/es/components/Calendar/CalendarBase/CalendarBase.js +1 -7
  93. package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  94. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  95. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  96. package/es/components/Calendar/CalendarBase/{CalendarBase.styles_1m6uih1.css → CalendarBase.styles_rv9ax9.css} +1 -1
  97. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +30 -58
  98. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -7
  99. package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  100. package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +1 -1
  101. package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js.map +1 -1
  102. package/{cjs/components/Calendar/CalendarDouble/CalendarDouble.styles_e9ada0.css → es/components/Calendar/CalendarDouble/CalendarDouble.styles_1rc2ejs.css} +2 -2
  103. package/es/components/Calendar/hoc/withRange.js.map +1 -1
  104. package/es/components/Calendar/hooks/useDays.js +1 -1
  105. package/es/components/Calendar/hooks/useDays.js.map +1 -1
  106. package/es/components/Calendar/mixins/index.js +14 -0
  107. package/es/components/Calendar/mixins/index.js.map +1 -0
  108. package/es/components/Calendar/mixins/index_o3bz9l.css +1 -0
  109. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.css +4 -4
  110. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +9 -9
  111. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js.map +1 -1
  112. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_xf9c5e.css +4 -0
  113. package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +7 -7
  114. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -1
  115. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
  116. package/{cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles_1oq8sud.css → es/components/Calendar/ui/CalendarDays/CalendarDays.styles_bnrjbd.css} +1 -1
  117. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +8 -36
  118. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +18 -32
  119. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  120. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +13 -26
  121. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  122. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1c4p417.css +6 -0
  123. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  124. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  125. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  126. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +1 -1
  127. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
  128. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1jnzviu.css +4 -0
  129. package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  130. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  131. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  132. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +1 -1
  133. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
  134. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_1lubnwe.css +4 -0
  135. package/es/components/Calendar/utils/index.js.map +1 -1
  136. package/es/components/Combobox/Combobox.js +1 -1
  137. package/es/components/Combobox/Combobox.js.map +1 -1
  138. package/es/components/Dropdown/Dropdown.js +2 -4
  139. package/es/components/Dropdown/Dropdown.js.map +1 -1
  140. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +4 -8
  141. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  142. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -6
  143. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  144. package/es/components/Dropdown/utils/index.js +16 -1
  145. package/es/components/Dropdown/utils/index.js.map +1 -1
  146. package/es/components/Range/Range.css +6 -6
  147. package/es/components/Range/Range.js +3 -18
  148. package/es/components/Range/Range.js.map +1 -1
  149. package/es/components/Range/Range.styles.js +1 -1
  150. package/es/components/Range/Range.styles.js.map +1 -1
  151. package/es/components/Range/Range.styles_mc4w65.css +8 -0
  152. package/es/components/Segment/SegmentProvider/SegmentProvider.js +5 -6
  153. package/es/components/Segment/SegmentProvider/SegmentProvider.js.map +1 -1
  154. package/es/components/Select/Select.js +1 -1
  155. package/es/components/Select/Select.js.map +1 -1
  156. package/es/components/Slider/Slider.css +3 -3
  157. package/es/components/Slider/components/Double/Double.css +3 -3
  158. package/es/components/TextField/TextField.tokens.js +1 -1
  159. package/es/components/TextField/TextField.tokens.js.map +1 -1
  160. package/es/components/TextField/variations/_read-only/base.js +1 -1
  161. package/es/components/TextField/variations/_read-only/base_134hshp.css +1 -0
  162. package/es/components/TextField/variations/_size/base.js +1 -1
  163. package/es/components/TextField/variations/_size/base.js.map +1 -1
  164. package/es/components/TextField/variations/_size/base_ntoddv.css +1 -0
  165. package/es/components/TextField/variations/_view/base.js +1 -1
  166. package/es/components/TextField/variations/_view/base_19gxyva.css +1 -0
  167. package/es/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  168. package/es/components/_Icon/Icon.assets/DisclosureLeft.js.map +1 -1
  169. package/es/components/_Icon/Icon.assets/DisclosureRight.js +15 -5
  170. package/es/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  171. package/es/index.css +38 -71
  172. package/es/index.js +0 -4
  173. package/es/index.js.map +1 -1
  174. package/es/utils/index.js.map +1 -1
  175. package/package.json +2 -3
  176. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +28 -67
  177. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +0 -6
  178. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -2
  179. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +0 -6
  180. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +2 -2
  181. package/styled-components/cjs/components/Calendar/hooks/useDays.js +1 -1
  182. package/styled-components/cjs/components/Calendar/mixins/index.js +29 -30
  183. package/styled-components/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +20 -27
  184. package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -2
  185. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +16 -30
  186. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -29
  187. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  188. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +12 -26
  189. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  190. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +14 -26
  191. package/styled-components/cjs/components/Combobox/Combobox.js +7 -6
  192. package/styled-components/cjs/components/Dropdown/Dropdown.js +2 -3
  193. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +4 -8
  194. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -6
  195. package/styled-components/cjs/components/Dropdown/utils/index.js +16 -1
  196. package/styled-components/cjs/components/Range/Range.js +2 -17
  197. package/styled-components/cjs/components/Range/Range.styles.js +2 -3
  198. package/styled-components/cjs/components/Segment/Segment.template-doc.mdx +7 -2
  199. package/styled-components/cjs/components/Segment/SegmentProvider/SegmentProvider.js +4 -5
  200. package/styled-components/cjs/components/Select/Select.js +8 -7
  201. package/styled-components/cjs/components/TextField/TextField.tokens.js +1 -1
  202. package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
  203. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  204. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRight.js +15 -5
  205. package/styled-components/cjs/components/_Icon/index.js +0 -7
  206. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +6 -24
  207. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +2 -5
  208. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +2 -5
  209. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.config.js +4 -4
  210. package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +6 -24
  211. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +2 -5
  212. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +2 -5
  213. package/styled-components/cjs/examples/plasma_web/components/Range/Range.config.js +4 -4
  214. package/styled-components/cjs/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +6 -24
  215. package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarBase.config.js +2 -5
  216. package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +2 -5
  217. package/styled-components/cjs/index.js +0 -11
  218. package/styled-components/cjs/utils/index.js +0 -22
  219. package/styled-components/es/components/Calendar/Calendar.tokens.js +28 -67
  220. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +1 -7
  221. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -2
  222. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -7
  223. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +2 -2
  224. package/styled-components/es/components/Calendar/hooks/useDays.js +1 -1
  225. package/styled-components/es/components/Calendar/mixins/index.js +27 -3
  226. package/styled-components/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +19 -26
  227. package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -2
  228. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +18 -32
  229. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -29
  230. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  231. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +11 -25
  232. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  233. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +13 -25
  234. package/styled-components/es/components/Combobox/Combobox.js +2 -1
  235. package/styled-components/es/components/Dropdown/Dropdown.js +3 -4
  236. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +4 -8
  237. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -6
  238. package/styled-components/es/components/Dropdown/utils/index.js +15 -0
  239. package/styled-components/es/components/Range/Range.js +3 -18
  240. package/styled-components/es/components/Range/Range.styles.js +2 -3
  241. package/styled-components/es/components/Segment/Segment.template-doc.mdx +7 -2
  242. package/styled-components/es/components/Segment/SegmentProvider/SegmentProvider.js +5 -6
  243. package/styled-components/es/components/Select/Select.js +2 -1
  244. package/styled-components/es/components/TextField/TextField.tokens.js +1 -1
  245. package/styled-components/es/components/TextField/variations/_size/base.js +1 -1
  246. package/styled-components/es/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  247. package/styled-components/es/components/_Icon/Icon.assets/DisclosureRight.js +15 -5
  248. package/styled-components/es/components/_Icon/index.js +0 -1
  249. package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +6 -24
  250. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +2 -5
  251. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +2 -5
  252. package/styled-components/es/examples/plasma_b2c/components/Range/Range.config.js +4 -4
  253. package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +6 -24
  254. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +2 -5
  255. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +2 -5
  256. package/styled-components/es/examples/plasma_web/components/Range/Range.config.js +4 -4
  257. package/styled-components/es/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +6 -24
  258. package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarBase.config.js +2 -5
  259. package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +2 -5
  260. package/styled-components/es/index.js +1 -2
  261. package/styled-components/es/utils/index.js +0 -1
  262. package/types/components/Accordion/utils/index.d.ts +1 -1
  263. package/types/components/Calendar/Calendar.tokens.d.ts +26 -60
  264. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  265. package/types/components/Calendar/Calendar.types.d.ts +1 -1
  266. package/types/components/Calendar/Calendar.types.d.ts.map +1 -1
  267. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts +3 -27
  268. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts.map +1 -1
  269. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  270. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts +3 -30
  271. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts.map +1 -1
  272. package/types/components/Calendar/hooks/useDays.d.ts.map +1 -1
  273. package/types/components/Calendar/mixins/index.d.ts +8 -3
  274. package/types/components/Calendar/mixins/index.d.ts.map +1 -1
  275. package/types/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.d.ts.map +1 -1
  276. package/types/components/Calendar/ui/CalendarDays/CalendarDays.styles.d.ts.map +1 -1
  277. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  278. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +7 -47
  279. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  280. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.types.d.ts +0 -1
  281. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.types.d.ts.map +1 -1
  282. package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.d.ts.map +1 -1
  283. package/types/components/Calendar/ui/CalendarYears/CalendarYears.styles.d.ts.map +1 -1
  284. package/types/components/Calendar/utils/index.d.ts +1 -1
  285. package/types/components/Calendar/utils/index.d.ts.map +1 -1
  286. package/types/components/Combobox/Combobox.d.ts.map +1 -1
  287. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  288. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +1 -1
  289. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts +0 -1
  290. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts.map +1 -1
  291. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  292. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +0 -1
  293. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
  294. package/types/components/Dropdown/utils/index.d.ts +3 -1
  295. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  296. package/types/components/Range/Range.d.ts +3 -3
  297. package/types/components/Range/Range.d.ts.map +1 -1
  298. package/types/components/Range/Range.styles.d.ts.map +1 -1
  299. package/types/components/Range/Range.types.d.ts +3 -8
  300. package/types/components/Range/Range.types.d.ts.map +1 -1
  301. package/types/components/Range/index.d.ts +1 -1
  302. package/types/components/Range/index.d.ts.map +1 -1
  303. package/types/components/Segment/SegmentProvider/SegmentProvider.d.ts +3 -3
  304. package/types/components/Segment/SegmentProvider/SegmentProvider.d.ts.map +1 -1
  305. package/types/components/Segment/SegmentProvider/SegmentProvider.types.d.ts +11 -3
  306. package/types/components/Segment/SegmentProvider/SegmentProvider.types.d.ts.map +1 -1
  307. package/types/components/Segment/SegmentProvider/index.d.ts +1 -0
  308. package/types/components/Segment/SegmentProvider/index.d.ts.map +1 -1
  309. package/types/components/Segment/index.d.ts +1 -0
  310. package/types/components/Segment/index.d.ts.map +1 -1
  311. package/types/components/Select/Select.d.ts.map +1 -1
  312. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  313. package/types/components/_Icon/Icon.assets/DisclosureRight.d.ts.map +1 -1
  314. package/types/components/_Icon/index.d.ts +0 -1
  315. package/types/components/_Icon/index.d.ts.map +1 -1
  316. package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts +4 -15
  317. package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts.map +1 -1
  318. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts +0 -3
  319. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  320. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts +0 -3
  321. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  322. package/types/examples/plasma_b2c/components/Range/Range.d.ts +3 -3
  323. package/types/examples/plasma_b2c/components/Range/Range.d.ts.map +1 -1
  324. package/types/examples/plasma_web/components/Calendar/Calendar.d.ts +4 -15
  325. package/types/examples/plasma_web/components/Calendar/Calendar.d.ts.map +1 -1
  326. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts +0 -3
  327. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  328. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts +0 -3
  329. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  330. package/types/examples/plasma_web/components/Range/Range.d.ts +3 -3
  331. package/types/examples/plasma_web/components/Range/Range.d.ts.map +1 -1
  332. package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts +4 -15
  333. package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts.map +1 -1
  334. package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts +0 -3
  335. package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  336. package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts +0 -3
  337. package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  338. package/types/index.d.ts +0 -1
  339. package/types/index.d.ts.map +1 -1
  340. package/types/utils/index.d.ts +0 -1
  341. package/types/utils/index.d.ts.map +1 -1
  342. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_107vqka.css +0 -4
  343. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_gnorek.css +0 -8
  344. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_wmlwil.css +0 -4
  345. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_f2aje6.css +0 -4
  346. package/cjs/components/DatePicker/DatePicker.tokens.js +0 -189
  347. package/cjs/components/DatePicker/DatePicker.tokens.js.map +0 -1
  348. package/cjs/components/DatePicker/DatePickerBase.styles.js +0 -30
  349. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +0 -1
  350. package/cjs/components/DatePicker/DatePickerBase.styles_1thp2xv.css +0 -1
  351. package/cjs/components/DatePicker/RangeDate/RangeDate.css +0 -152
  352. package/cjs/components/DatePicker/RangeDate/RangeDate.js +0 -285
  353. package/cjs/components/DatePicker/RangeDate/RangeDate.js.map +0 -1
  354. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -51
  355. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +0 -1
  356. package/cjs/components/DatePicker/RangeDate/RangeDate.styles_ww61h9.css +0 -5
  357. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +0 -144
  358. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -83
  359. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +0 -1
  360. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +0 -42
  361. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +0 -1
  362. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_wp3vfj.css +0 -2
  363. package/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js +0 -9
  364. package/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js.map +0 -1
  365. package/cjs/components/DatePicker/RangeDate/variations/_disabled/base_tl4jc7.css +0 -1
  366. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +0 -9
  367. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js.map +0 -1
  368. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base_f58pkk.css +0 -1
  369. package/cjs/components/DatePicker/RangeDate/variations/_size/base.js +0 -9
  370. package/cjs/components/DatePicker/RangeDate/variations/_size/base.js.map +0 -1
  371. package/cjs/components/DatePicker/RangeDate/variations/_size/base_1911nyw.css +0 -1
  372. package/cjs/components/DatePicker/RangeDate/variations/_view/base.js +0 -9
  373. package/cjs/components/DatePicker/RangeDate/variations/_view/base.js.map +0 -1
  374. package/cjs/components/DatePicker/RangeDate/variations/_view/base_11yn9y8.css +0 -1
  375. package/cjs/components/DatePicker/SingleDate/SingleDate.css +0 -134
  376. package/cjs/components/DatePicker/SingleDate/SingleDate.js +0 -183
  377. package/cjs/components/DatePicker/SingleDate/SingleDate.js.map +0 -1
  378. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +0 -51
  379. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +0 -1
  380. package/cjs/components/DatePicker/SingleDate/SingleDate.styles_18b5qkz.css +0 -5
  381. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js +0 -9
  382. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js.map +0 -1
  383. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base_1rfgfsz.css +0 -1
  384. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +0 -9
  385. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js.map +0 -1
  386. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base_1jucwp.css +0 -1
  387. package/cjs/components/DatePicker/SingleDate/variations/_size/base.js +0 -9
  388. package/cjs/components/DatePicker/SingleDate/variations/_size/base.js.map +0 -1
  389. package/cjs/components/DatePicker/SingleDate/variations/_size/base_lf7y25.css +0 -1
  390. package/cjs/components/DatePicker/SingleDate/variations/_view/base.js +0 -9
  391. package/cjs/components/DatePicker/SingleDate/variations/_view/base.js.map +0 -1
  392. package/cjs/components/DatePicker/SingleDate/variations/_view/base_15vaheb.css +0 -1
  393. package/cjs/components/DatePicker/hooks/useDatePicker.js +0 -79
  394. package/cjs/components/DatePicker/hooks/useDatePicker.js.map +0 -1
  395. package/cjs/components/DatePicker/utils/dateHelper.js +0 -84
  396. package/cjs/components/DatePicker/utils/dateHelper.js.map +0 -1
  397. package/cjs/components/Range/Range.styles_9rort8.css +0 -8
  398. package/cjs/components/TextField/variations/_read-only/base_1vu13zn.css +0 -1
  399. package/cjs/components/TextField/variations/_size/base_orwx1f.css +0 -1
  400. package/cjs/components/TextField/variations/_view/base_18ea6z7.css +0 -1
  401. package/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js +0 -23
  402. package/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js.map +0 -1
  403. package/cjs/components/_Icon/Icons/IconDisclosureDownFill.js +0 -23
  404. package/cjs/components/_Icon/Icons/IconDisclosureDownFill.js.map +0 -1
  405. package/cjs/utils/datejs.js +0 -12
  406. package/cjs/utils/datejs.js.map +0 -1
  407. package/cjs/utils/getPopoverPlacement.js +0 -23
  408. package/cjs/utils/getPopoverPlacement.js.map +0 -1
  409. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_107vqka.css +0 -4
  410. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_gnorek.css +0 -8
  411. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_wmlwil.css +0 -4
  412. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_f2aje6.css +0 -4
  413. package/es/components/DatePicker/DatePicker.tokens.js +0 -184
  414. package/es/components/DatePicker/DatePicker.tokens.js.map +0 -1
  415. package/es/components/DatePicker/DatePickerBase.styles.js +0 -26
  416. package/es/components/DatePicker/DatePickerBase.styles.js.map +0 -1
  417. package/es/components/DatePicker/DatePickerBase.styles_1thp2xv.css +0 -1
  418. package/es/components/DatePicker/RangeDate/RangeDate.css +0 -152
  419. package/es/components/DatePicker/RangeDate/RangeDate.js +0 -280
  420. package/es/components/DatePicker/RangeDate/RangeDate.js.map +0 -1
  421. package/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -43
  422. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +0 -1
  423. package/es/components/DatePicker/RangeDate/RangeDate.styles_ww61h9.css +0 -5
  424. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +0 -144
  425. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -79
  426. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +0 -1
  427. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +0 -37
  428. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +0 -1
  429. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_wp3vfj.css +0 -2
  430. package/es/components/DatePicker/RangeDate/variations/_disabled/base.js +0 -5
  431. package/es/components/DatePicker/RangeDate/variations/_disabled/base.js.map +0 -1
  432. package/es/components/DatePicker/RangeDate/variations/_disabled/base_tl4jc7.css +0 -1
  433. package/es/components/DatePicker/RangeDate/variations/_readonly/base.js +0 -5
  434. package/es/components/DatePicker/RangeDate/variations/_readonly/base.js.map +0 -1
  435. package/es/components/DatePicker/RangeDate/variations/_readonly/base_f58pkk.css +0 -1
  436. package/es/components/DatePicker/RangeDate/variations/_size/base.js +0 -5
  437. package/es/components/DatePicker/RangeDate/variations/_size/base.js.map +0 -1
  438. package/es/components/DatePicker/RangeDate/variations/_size/base_1911nyw.css +0 -1
  439. package/es/components/DatePicker/RangeDate/variations/_view/base.js +0 -5
  440. package/es/components/DatePicker/RangeDate/variations/_view/base.js.map +0 -1
  441. package/es/components/DatePicker/RangeDate/variations/_view/base_11yn9y8.css +0 -1
  442. package/es/components/DatePicker/SingleDate/SingleDate.css +0 -134
  443. package/es/components/DatePicker/SingleDate/SingleDate.js +0 -178
  444. package/es/components/DatePicker/SingleDate/SingleDate.js.map +0 -1
  445. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +0 -43
  446. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +0 -1
  447. package/es/components/DatePicker/SingleDate/SingleDate.styles_18b5qkz.css +0 -5
  448. package/es/components/DatePicker/SingleDate/variations/_disabled/base.js +0 -5
  449. package/es/components/DatePicker/SingleDate/variations/_disabled/base.js.map +0 -1
  450. package/es/components/DatePicker/SingleDate/variations/_disabled/base_1rfgfsz.css +0 -1
  451. package/es/components/DatePicker/SingleDate/variations/_readonly/base.js +0 -5
  452. package/es/components/DatePicker/SingleDate/variations/_readonly/base.js.map +0 -1
  453. package/es/components/DatePicker/SingleDate/variations/_readonly/base_1jucwp.css +0 -1
  454. package/es/components/DatePicker/SingleDate/variations/_size/base.js +0 -5
  455. package/es/components/DatePicker/SingleDate/variations/_size/base.js.map +0 -1
  456. package/es/components/DatePicker/SingleDate/variations/_size/base_lf7y25.css +0 -1
  457. package/es/components/DatePicker/SingleDate/variations/_view/base.js +0 -5
  458. package/es/components/DatePicker/SingleDate/variations/_view/base.js.map +0 -1
  459. package/es/components/DatePicker/SingleDate/variations/_view/base_15vaheb.css +0 -1
  460. package/es/components/DatePicker/hooks/useDatePicker.js +0 -75
  461. package/es/components/DatePicker/hooks/useDatePicker.js.map +0 -1
  462. package/es/components/DatePicker/utils/dateHelper.js +0 -76
  463. package/es/components/DatePicker/utils/dateHelper.js.map +0 -1
  464. package/es/components/Range/Range.styles_9rort8.css +0 -8
  465. package/es/components/TextField/variations/_read-only/base_1vu13zn.css +0 -1
  466. package/es/components/TextField/variations/_size/base_orwx1f.css +0 -1
  467. package/es/components/TextField/variations/_view/base_18ea6z7.css +0 -1
  468. package/es/components/_Icon/Icon.assets/DisclosureDownFill.js +0 -19
  469. package/es/components/_Icon/Icon.assets/DisclosureDownFill.js.map +0 -1
  470. package/es/components/_Icon/Icons/IconDisclosureDownFill.js +0 -19
  471. package/es/components/_Icon/Icons/IconDisclosureDownFill.js.map +0 -1
  472. package/es/utils/datejs.js +0 -8
  473. package/es/utils/datejs.js.map +0 -1
  474. package/es/utils/getPopoverPlacement.js +0 -18
  475. package/es/utils/getPopoverPlacement.js.map +0 -1
  476. package/styled-components/cjs/components/Calendar/mixins/active.js +0 -12
  477. package/styled-components/cjs/components/Calendar/mixins/flex.js +0 -8
  478. package/styled-components/cjs/components/Calendar/mixins/selected.js +0 -24
  479. package/styled-components/cjs/components/DatePicker/DatePicker.template-doc.mdx +0 -150
  480. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +0 -187
  481. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +0 -19
  482. package/styled-components/cjs/components/DatePicker/DatePickerBase.types.js +0 -5
  483. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.js +0 -293
  484. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -33
  485. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.types.js +0 -5
  486. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -81
  487. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +0 -26
  488. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.js +0 -5
  489. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js +0 -9
  490. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_disabled/tokens.json +0 -0
  491. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +0 -10
  492. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_readonly/tokens.json +0 -4
  493. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_size/base.js +0 -10
  494. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_size/tokens.json +0 -0
  495. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_view/base.js +0 -10
  496. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_view/tokens.json +0 -0
  497. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.js +0 -190
  498. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +0 -33
  499. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.types.js +0 -5
  500. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js +0 -9
  501. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_disabled/tokens.json +0 -4
  502. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +0 -10
  503. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/tokens.json +0 -4
  504. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/base.js +0 -10
  505. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/tokens.json +0 -16
  506. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/base.js +0 -10
  507. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/tokens.json +0 -1
  508. package/styled-components/cjs/components/DatePicker/hooks/useDatePicker.js +0 -77
  509. package/styled-components/cjs/components/DatePicker/index.js +0 -44
  510. package/styled-components/cjs/components/DatePicker/utils/dateHelper.js +0 -78
  511. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js +0 -22
  512. package/styled-components/cjs/components/_Icon/Icons/IconDisclosureDownFill.js +0 -22
  513. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +0 -31
  514. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.js +0 -13
  515. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -257
  516. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +0 -31
  517. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.js +0 -13
  518. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +0 -257
  519. package/styled-components/cjs/utils/datejs.js +0 -11
  520. package/styled-components/cjs/utils/getPopoverPlacement.js +0 -21
  521. package/styled-components/es/components/Calendar/mixins/active.js +0 -6
  522. package/styled-components/es/components/Calendar/mixins/flex.js +0 -2
  523. package/styled-components/es/components/Calendar/mixins/selected.js +0 -18
  524. package/styled-components/es/components/DatePicker/DatePicker.template-doc.mdx +0 -150
  525. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +0 -181
  526. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +0 -12
  527. package/styled-components/es/components/DatePicker/DatePickerBase.types.js +0 -1
  528. package/styled-components/es/components/DatePicker/RangeDate/RangeDate.js +0 -284
  529. package/styled-components/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -25
  530. package/styled-components/es/components/DatePicker/RangeDate/RangeDate.types.js +0 -1
  531. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -74
  532. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +0 -19
  533. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.js +0 -1
  534. package/styled-components/es/components/DatePicker/RangeDate/variations/_disabled/base.js +0 -3
  535. package/styled-components/es/components/DatePicker/RangeDate/variations/_disabled/tokens.json +0 -0
  536. package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/base.js +0 -4
  537. package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/tokens.json +0 -4
  538. package/styled-components/es/components/DatePicker/RangeDate/variations/_size/base.js +0 -4
  539. package/styled-components/es/components/DatePicker/RangeDate/variations/_size/tokens.json +0 -0
  540. package/styled-components/es/components/DatePicker/RangeDate/variations/_view/base.js +0 -4
  541. package/styled-components/es/components/DatePicker/RangeDate/variations/_view/tokens.json +0 -0
  542. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.js +0 -181
  543. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +0 -25
  544. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.types.js +0 -1
  545. package/styled-components/es/components/DatePicker/SingleDate/variations/_disabled/base.js +0 -3
  546. package/styled-components/es/components/DatePicker/SingleDate/variations/_disabled/tokens.json +0 -4
  547. package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/base.js +0 -4
  548. package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/tokens.json +0 -4
  549. package/styled-components/es/components/DatePicker/SingleDate/variations/_size/base.js +0 -4
  550. package/styled-components/es/components/DatePicker/SingleDate/variations/_size/tokens.json +0 -16
  551. package/styled-components/es/components/DatePicker/SingleDate/variations/_view/base.js +0 -4
  552. package/styled-components/es/components/DatePicker/SingleDate/variations/_view/tokens.json +0 -1
  553. package/styled-components/es/components/DatePicker/hooks/useDatePicker.js +0 -71
  554. package/styled-components/es/components/DatePicker/index.js +0 -3
  555. package/styled-components/es/components/DatePicker/utils/dateHelper.js +0 -72
  556. package/styled-components/es/components/_Icon/Icon.assets/DisclosureDownFill.js +0 -15
  557. package/styled-components/es/components/_Icon/Icons/IconDisclosureDownFill.js +0 -15
  558. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +0 -25
  559. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.js +0 -7
  560. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -257
  561. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +0 -25
  562. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.js +0 -7
  563. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +0 -257
  564. package/styled-components/es/utils/datejs.js +0 -4
  565. package/styled-components/es/utils/getPopoverPlacement.js +0 -15
  566. package/types/components/Calendar/mixins/active.d.ts +0 -17
  567. package/types/components/Calendar/mixins/active.d.ts.map +0 -1
  568. package/types/components/Calendar/mixins/flex.d.ts +0 -3
  569. package/types/components/Calendar/mixins/flex.d.ts.map +0 -1
  570. package/types/components/Calendar/mixins/selected.d.ts +0 -40
  571. package/types/components/Calendar/mixins/selected.d.ts.map +0 -1
  572. package/types/components/DatePicker/DatePicker.tokens.d.ts +0 -182
  573. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +0 -1
  574. package/types/components/DatePicker/DatePickerBase.styles.d.ts +0 -8
  575. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +0 -1
  576. package/types/components/DatePicker/DatePickerBase.types.d.ts +0 -37
  577. package/types/components/DatePicker/DatePickerBase.types.d.ts.map +0 -1
  578. package/types/components/DatePicker/RangeDate/RangeDate.d.ts +0 -110
  579. package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +0 -1
  580. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts +0 -115
  581. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts.map +0 -1
  582. package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts +0 -76
  583. package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts.map +0 -1
  584. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts +0 -4
  585. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts.map +0 -1
  586. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts +0 -5
  587. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts.map +0 -1
  588. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts +0 -29
  589. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts.map +0 -1
  590. package/types/components/DatePicker/RangeDate/variations/_disabled/base.d.ts +0 -2
  591. package/types/components/DatePicker/RangeDate/variations/_disabled/base.d.ts.map +0 -1
  592. package/types/components/DatePicker/RangeDate/variations/_readonly/base.d.ts +0 -2
  593. package/types/components/DatePicker/RangeDate/variations/_readonly/base.d.ts.map +0 -1
  594. package/types/components/DatePicker/RangeDate/variations/_size/base.d.ts +0 -2
  595. package/types/components/DatePicker/RangeDate/variations/_size/base.d.ts.map +0 -1
  596. package/types/components/DatePicker/RangeDate/variations/_view/base.d.ts +0 -2
  597. package/types/components/DatePicker/RangeDate/variations/_view/base.d.ts.map +0 -1
  598. package/types/components/DatePicker/SingleDate/SingleDate.d.ts +0 -31
  599. package/types/components/DatePicker/SingleDate/SingleDate.d.ts.map +0 -1
  600. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +0 -45
  601. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +0 -1
  602. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts +0 -120
  603. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts.map +0 -1
  604. package/types/components/DatePicker/SingleDate/variations/_disabled/base.d.ts +0 -2
  605. package/types/components/DatePicker/SingleDate/variations/_disabled/base.d.ts.map +0 -1
  606. package/types/components/DatePicker/SingleDate/variations/_readonly/base.d.ts +0 -2
  607. package/types/components/DatePicker/SingleDate/variations/_readonly/base.d.ts.map +0 -1
  608. package/types/components/DatePicker/SingleDate/variations/_size/base.d.ts +0 -2
  609. package/types/components/DatePicker/SingleDate/variations/_size/base.d.ts.map +0 -1
  610. package/types/components/DatePicker/SingleDate/variations/_view/base.d.ts +0 -2
  611. package/types/components/DatePicker/SingleDate/variations/_view/base.d.ts.map +0 -1
  612. package/types/components/DatePicker/hooks/useDatePicker.d.ts +0 -10
  613. package/types/components/DatePicker/hooks/useDatePicker.d.ts.map +0 -1
  614. package/types/components/DatePicker/index.d.ts +0 -6
  615. package/types/components/DatePicker/index.d.ts.map +0 -1
  616. package/types/components/DatePicker/utils/dateHelper.d.ts +0 -10
  617. package/types/components/DatePicker/utils/dateHelper.d.ts.map +0 -1
  618. package/types/components/_Icon/Icon.assets/DisclosureDownFill.d.ts +0 -4
  619. package/types/components/_Icon/Icon.assets/DisclosureDownFill.d.ts.map +0 -1
  620. package/types/components/_Icon/Icons/IconDisclosureDownFill.d.ts +0 -4
  621. package/types/components/_Icon/Icons/IconDisclosureDownFill.d.ts.map +0 -1
  622. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts +0 -24
  623. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts.map +0 -1
  624. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +0 -75
  625. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +0 -1
  626. package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts +0 -24
  627. package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts.map +0 -1
  628. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +0 -75
  629. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +0 -1
  630. package/types/utils/datejs.d.ts +0 -3
  631. package/types/utils/datejs.d.ts.map +0 -1
  632. package/types/utils/getPopoverPlacement.d.ts +0 -5
  633. package/types/utils/getPopoverPlacement.d.ts.map +0 -1
@@ -13,92 +13,53 @@ var classes = {
13
13
  selectableItem: 'item-selectable',
14
14
  selectedItem: 'item-selected',
15
15
  currentItem: 'item-current',
16
- hoveredItem: 'item-hovered',
17
- doubleHeaderDate: 'double-header-date',
18
- doubleHeaderLastDateWrapper: 'double-header--last-date-wrapper'
16
+ hoveredItem: 'item-hovered'
19
17
  };
20
18
  var tokens = {
21
- calendarWidth: '--plasma-calendar-width',
22
- calendarHeight: '--plasma-calendar-height',
23
- /* Токены размера сетки лет */
24
- calendarYearsPadding: '--plasma-calendar-years-padding',
25
- calendarYearItemBorderRadius: '--plasma-calendar-year-item-border-radius',
26
- calendarYearItemWidth: '--plasma-calendar-year-item-width',
27
- calendarYearItemHeight: '--plasma-calendar-year-item-height',
19
+ calendarBackgroundColor: '--plasma-calendar-background',
20
+ calendarHeaderArrowContainerWidth: '--plasma-calendar-arrow-container-width',
21
+ calendarItemBorderRadius: '--plasma-calendar-item-border-radius',
22
+ calendarSelectedItemBackground: '--plasma-calendar-selected-item-background',
23
+ calendarSelectedItemColor: '--plasma-calendar-selected-item-color',
24
+ calendarSelectableItemBackgroundHover: '--plasma-calendar-selectable-item-bg-hover',
25
+ calendarCurrentItemBorderColor: '--plasma-calendar-current-item-border-color',
26
+ calendarCurrentItemBackgroundHover: '--plasma-calendar-current-item-bg-hover',
27
+ calendarCurrentItemColorHover: '--plasma-calendar-current-item-color-hover',
28
+ calendarCurrentItemChildBackgroundHover: '--plasma-calendar-current-item-child-bg-hover',
29
+ calendarActiveItemBackground: '--plasma-calendar-active-item-bg',
30
+ calendarActiveItemColor: '--plasma-calendar-active-item-color',
31
+ calendarHoveredItemBackground: '--plasma-calendar-hovered-item-bg',
32
+ calendarHoveredItemColor: '--plasma-calendar-hovered-item-color',
33
+ calendarSeparatorBackground: '--plasma-calendar-separator-background',
34
+ calendarRangeBackground: '--plasma-calendar-range-background',
35
+ calendarOutlineFocusColor: '--plasma-calendar-outline-focus-color',
36
+ calendarContentPrimaryColor: '--plasma-calendar-content-primary-color',
37
+ calendarContentSecondaryColor: '--plasma-calendar-content-secondary-color',
38
+ calendarHeaderFontFamily: '--plasma-calendar-header-font-family',
39
+ calendarHeaderFontSize: '--plasma-calendar-header-font-size',
40
+ calendarHeaderFontStyle: '--plasma-calendar-header-font-style',
41
+ calendarHeaderFontLetterSpacing: '--plasma-calendar-header-font-letter-spacing',
42
+ calendarHeaderFontLineHeight: '--plasma-calendar-header-line-height',
43
+ calendarHeaderFontWeight: '--plasma-calendar-header-font-weight',
44
+ calendarHeaderFontWeightBold: '--plasma-calendar-header-font-weight-bold',
28
45
  calendarYearFontFamily: '--plasma-calendar-year-font-family',
29
46
  calendarYearFontSize: '--plasma-calendar-year-font-size',
30
47
  calendarYearFontStyle: '--plasma-calendar-year-font-style',
31
48
  calendarYearFontLetterSpacing: '--plasma-calendar-year-font-letter-spacing',
32
49
  calendarYearFontLineHeight: '--plasma-calendar-year-line-height',
33
50
  calendarYearFontWeight: '--plasma-calendar-year-font-weight',
34
- calendarYearSelectedFontWeight: '--plasma-calendar-year-selected-font-weight',
35
- /* Токены размера сетки месяцев */
36
- calendarMonthsPadding: '--plasma-calendar-months-padding',
37
- calendarMonthItemBorderRadius: '--plasma-calendar-month-item-border-radius',
38
- calendarMonthItemWidth: '--plasma-calendar-month-item-width',
39
- calendarMonthItemHeight: '--plasma-calendar-month-item-height',
40
51
  calendarMonthFontFamily: '--plasma-calendar-month-font-family',
41
52
  calendarMonthFontSize: '--plasma-calendar-month-font-size',
42
53
  calendarMonthFontStyle: '--plasma-calendar-month-font-style',
43
54
  calendarMonthFontLetterSpacing: '--plasma-calendar-month-font-letter-spacing',
44
55
  calendarMonthFontLineHeight: '--plasma-calendar-month-line-height',
45
56
  calendarMonthFontWeight: '--plasma-calendar-month-font-weight',
46
- calendarMonthSelectedFontWeight: '--plasma-calendar-month-selected-font-weight',
47
- /* Токены размера сетки дней */
48
- calendarDaysPadding: '--plasma-calendar-days-padding',
49
- calendarDayItemBorderRadius: '--plasma-calendar-day-item-border-radius',
50
- calendarDayItemWidth: '--plasma-calendar-day-item-width',
51
- calendarDayItemHeight: '--plasma-calendar-day-item-height',
52
57
  calendarDayFontFamily: '--plasma-calendar-day-font-family',
53
58
  calendarDayFontSize: '--plasma-calendar-day-font-size',
54
59
  calendarDayFontStyle: '--plasma-calendar-day-font-style',
55
60
  calendarDayFontLetterSpacing: '--plasma-calendar-day-font-letter-spacing',
56
61
  calendarDayFontLineHeight: '--plasma-calendar-day-line-height',
57
- calendarDayFontWeight: '--plasma-calendar-day-font-weight',
58
- calendarDaySelectedFontWeight: '--plasma-calendar-day-selected-font-weight',
59
- calendarDayOfWeekColor: '--plasma-calendar-day-of-the-week-color',
60
- /* Токены шапки календаря */
61
- calendarHeaderWrapperPadding: '--plasma-calendar-header-wrapper-padding',
62
- calendarHeaderArrowGap: '--plasma-calendar-arrow-container-gap',
63
- calendarHeaderArrowPadding: '--plasma-calendar-arrow-container-padding',
64
- calendarHeaderPadding: '--plasma-calendar-header-padding',
65
- calendarHeaderDateGap: '--plasma-calendar-header-date-gap',
66
- calendarHeaderFontFamily: '--plasma-calendar-header-font-family',
67
- calendarHeaderFontSize: '--plasma-calendar-header-font-size',
68
- calendarHeaderFontStyle: '--plasma-calendar-header-font-style',
69
- calendarHeaderFontLetterSpacing: '--plasma-calendar-header-font-letter-spacing',
70
- calendarHeaderFontLineHeight: '--plasma-calendar-header-line-height',
71
- calendarHeaderFontWeight: '--plasma-calendar-header-font-weight',
72
- calendarHeaderFontWeightBold: '--plasma-calendar-header-font-weight-bold',
73
- /* Токены стрелок навигации календаря */
74
- iconButtonColor: '--plasma-calendar-icon-button-color',
75
- iconButtonBackgroundColor: '--plasma-calendar-icon-button-background',
76
- iconButtonColorHover: '--plasma-calendar-icon-button-color-hover',
77
- iconButtonBackgroundColorHover: '--plasma-calendar-icon-button-background-hover',
78
- iconButtonColorActive: '--plasma-calendar-icon-button-color-active',
79
- iconButtonBackgroundColorActive: '--plasma-calendar-icon-button-background-active',
80
- iconButtonHeight: '--plasma-calendar-icon-button-height',
81
- iconButtonWidth: '--plasma-calendar-icon-button-width',
82
- iconButtonPadding: '--plasma-calendar-icon-button-padding',
83
- iconButtonRadius: '--plasma-calendar-icon-button-radius',
84
- iconButtonFocusColor: '--plasma-calendar-icon-button-focus-color',
85
- calendarBackgroundColor: '--plasma-calendar-background',
86
- calendarSelectedItemBackground: '--plasma-calendar-selected-item-background',
87
- calendarSelectedItemColor: '--plasma-calendar-selected-item-color',
88
- calendarSelectableItemBackgroundHover: '--plasma-calendar-selectable-item-bg-hover',
89
- calendarCurrentItemBorderColor: '--plasma-calendar-current-item-border-color',
90
- calendarCurrentItemBackgroundHover: '--plasma-calendar-current-item-bg-hover',
91
- calendarCurrentItemColorHover: '--plasma-calendar-current-item-color-hover',
92
- calendarCurrentItemChildBackgroundHover: '--plasma-calendar-current-item-child-bg-hover',
93
- calendarActiveItemBackground: '--plasma-calendar-active-item-bg',
94
- calendarActiveItemColor: '--plasma-calendar-active-item-color',
95
- calendarHoveredItemBackground: '--plasma-calendar-hovered-item-bg',
96
- calendarHoveredItemColor: '--plasma-calendar-hovered-item-color',
97
- calendarSeparatorBackground: '--plasma-calendar-separator-background',
98
- calendarRangeBackground: '--plasma-calendar-range-background',
99
- calendarOutlineFocusColor: '--plasma-calendar-outline-focus-color',
100
- calendarContentPrimaryColor: '--plasma-calendar-content-primary-color',
101
- calendarContentSecondaryColor: '--plasma-calendar-content-secondary-color'
62
+ calendarDayFontWeight: '--plasma-calendar-day-font-weight'
102
63
  };
103
64
 
104
65
  exports.classes = classes;
@@ -1 +1 @@
1
- {"version":3,"file":"Calendar.tokens.js","sources":["../../../src/components/Calendar/Calendar.tokens.ts"],"sourcesContent":["export const classes = {\n dayOfWeek: 'day-of-week',\n dayDisabled: 'day-disabled',\n dayDisabledCurrent: 'day-disabled-current',\n daySideInRange: 'day-side-in-range',\n dayInRange: 'day-in-range',\n daySideLeft: 'day-side-left',\n daySideRight: 'day-side-right',\n selectableItem: 'item-selectable',\n selectedItem: 'item-selected',\n currentItem: 'item-current',\n hoveredItem: 'item-hovered',\n doubleHeaderDate: 'double-header-date',\n doubleHeaderLastDateWrapper: 'double-header--last-date-wrapper',\n};\n\nexport const tokens = {\n calendarWidth: '--plasma-calendar-width',\n calendarHeight: '--plasma-calendar-height',\n\n /* Токены размера сетки лет */\n calendarYearsPadding: '--plasma-calendar-years-padding',\n calendarYearItemBorderRadius: '--plasma-calendar-year-item-border-radius',\n calendarYearItemWidth: '--plasma-calendar-year-item-width',\n calendarYearItemHeight: '--plasma-calendar-year-item-height',\n\n calendarYearFontFamily: '--plasma-calendar-year-font-family',\n calendarYearFontSize: '--plasma-calendar-year-font-size',\n calendarYearFontStyle: '--plasma-calendar-year-font-style',\n calendarYearFontLetterSpacing: '--plasma-calendar-year-font-letter-spacing',\n calendarYearFontLineHeight: '--plasma-calendar-year-line-height',\n calendarYearFontWeight: '--plasma-calendar-year-font-weight',\n calendarYearSelectedFontWeight: '--plasma-calendar-year-selected-font-weight',\n\n /* Токены размера сетки месяцев */\n calendarMonthsPadding: '--plasma-calendar-months-padding',\n calendarMonthItemBorderRadius: '--plasma-calendar-month-item-border-radius',\n calendarMonthItemWidth: '--plasma-calendar-month-item-width',\n calendarMonthItemHeight: '--plasma-calendar-month-item-height',\n\n calendarMonthFontFamily: '--plasma-calendar-month-font-family',\n calendarMonthFontSize: '--plasma-calendar-month-font-size',\n calendarMonthFontStyle: '--plasma-calendar-month-font-style',\n calendarMonthFontLetterSpacing: '--plasma-calendar-month-font-letter-spacing',\n calendarMonthFontLineHeight: '--plasma-calendar-month-line-height',\n calendarMonthFontWeight: '--plasma-calendar-month-font-weight',\n calendarMonthSelectedFontWeight: '--plasma-calendar-month-selected-font-weight',\n\n /* Токены размера сетки дней */\n calendarDaysPadding: '--plasma-calendar-days-padding',\n calendarDayItemBorderRadius: '--plasma-calendar-day-item-border-radius',\n calendarDayItemWidth: '--plasma-calendar-day-item-width',\n calendarDayItemHeight: '--plasma-calendar-day-item-height',\n\n calendarDayFontFamily: '--plasma-calendar-day-font-family',\n calendarDayFontSize: '--plasma-calendar-day-font-size',\n calendarDayFontStyle: '--plasma-calendar-day-font-style',\n calendarDayFontLetterSpacing: '--plasma-calendar-day-font-letter-spacing',\n calendarDayFontLineHeight: '--plasma-calendar-day-line-height',\n calendarDayFontWeight: '--plasma-calendar-day-font-weight',\n calendarDaySelectedFontWeight: '--plasma-calendar-day-selected-font-weight',\n\n calendarDayOfWeekColor: '--plasma-calendar-day-of-the-week-color',\n\n /* Токены шапки календаря */\n calendarHeaderWrapperPadding: '--plasma-calendar-header-wrapper-padding',\n calendarHeaderArrowGap: '--plasma-calendar-arrow-container-gap',\n calendarHeaderArrowPadding: '--plasma-calendar-arrow-container-padding',\n\n calendarHeaderPadding: '--plasma-calendar-header-padding',\n calendarHeaderDateGap: '--plasma-calendar-header-date-gap',\n\n calendarHeaderFontFamily: '--plasma-calendar-header-font-family',\n calendarHeaderFontSize: '--plasma-calendar-header-font-size',\n calendarHeaderFontStyle: '--plasma-calendar-header-font-style',\n calendarHeaderFontLetterSpacing: '--plasma-calendar-header-font-letter-spacing',\n calendarHeaderFontLineHeight: '--plasma-calendar-header-line-height',\n calendarHeaderFontWeight: '--plasma-calendar-header-font-weight',\n calendarHeaderFontWeightBold: '--plasma-calendar-header-font-weight-bold',\n\n /* Токены стрелок навигации календаря */\n iconButtonColor: '--plasma-calendar-icon-button-color',\n iconButtonBackgroundColor: '--plasma-calendar-icon-button-background',\n iconButtonColorHover: '--plasma-calendar-icon-button-color-hover',\n iconButtonBackgroundColorHover: '--plasma-calendar-icon-button-background-hover',\n iconButtonColorActive: '--plasma-calendar-icon-button-color-active',\n iconButtonBackgroundColorActive: '--plasma-calendar-icon-button-background-active',\n iconButtonHeight: '--plasma-calendar-icon-button-height',\n iconButtonWidth: '--plasma-calendar-icon-button-width',\n iconButtonPadding: '--plasma-calendar-icon-button-padding',\n iconButtonRadius: '--plasma-calendar-icon-button-radius',\n iconButtonFocusColor: '--plasma-calendar-icon-button-focus-color',\n\n calendarBackgroundColor: '--plasma-calendar-background',\n calendarSelectedItemBackground: '--plasma-calendar-selected-item-background',\n calendarSelectedItemColor: '--plasma-calendar-selected-item-color',\n calendarSelectableItemBackgroundHover: '--plasma-calendar-selectable-item-bg-hover',\n calendarCurrentItemBorderColor: '--plasma-calendar-current-item-border-color',\n calendarCurrentItemBackgroundHover: '--plasma-calendar-current-item-bg-hover',\n calendarCurrentItemColorHover: '--plasma-calendar-current-item-color-hover',\n calendarCurrentItemChildBackgroundHover: '--plasma-calendar-current-item-child-bg-hover',\n calendarActiveItemBackground: '--plasma-calendar-active-item-bg',\n calendarActiveItemColor: '--plasma-calendar-active-item-color',\n calendarHoveredItemBackground: '--plasma-calendar-hovered-item-bg',\n calendarHoveredItemColor: '--plasma-calendar-hovered-item-color',\n calendarSeparatorBackground: '--plasma-calendar-separator-background',\n calendarRangeBackground: '--plasma-calendar-range-background',\n calendarOutlineFocusColor: '--plasma-calendar-outline-focus-color',\n calendarContentPrimaryColor: '--plasma-calendar-content-primary-color',\n calendarContentSecondaryColor: '--plasma-calendar-content-secondary-color',\n};\n"],"names":["classes","dayOfWeek","dayDisabled","dayDisabledCurrent","daySideInRange","dayInRange","daySideLeft","daySideRight","selectableItem","selectedItem","currentItem","hoveredItem","doubleHeaderDate","doubleHeaderLastDateWrapper","tokens","calendarWidth","calendarHeight","calendarYearsPadding","calendarYearItemBorderRadius","calendarYearItemWidth","calendarYearItemHeight","calendarYearFontFamily","calendarYearFontSize","calendarYearFontStyle","calendarYearFontLetterSpacing","calendarYearFontLineHeight","calendarYearFontWeight","calendarYearSelectedFontWeight","calendarMonthsPadding","calendarMonthItemBorderRadius","calendarMonthItemWidth","calendarMonthItemHeight","calendarMonthFontFamily","calendarMonthFontSize","calendarMonthFontStyle","calendarMonthFontLetterSpacing","calendarMonthFontLineHeight","calendarMonthFontWeight","calendarMonthSelectedFontWeight","calendarDaysPadding","calendarDayItemBorderRadius","calendarDayItemWidth","calendarDayItemHeight","calendarDayFontFamily","calendarDayFontSize","calendarDayFontStyle","calendarDayFontLetterSpacing","calendarDayFontLineHeight","calendarDayFontWeight","calendarDaySelectedFontWeight","calendarDayOfWeekColor","calendarHeaderWrapperPadding","calendarHeaderArrowGap","calendarHeaderArrowPadding","calendarHeaderPadding","calendarHeaderDateGap","calendarHeaderFontFamily","calendarHeaderFontSize","calendarHeaderFontStyle","calendarHeaderFontLetterSpacing","calendarHeaderFontLineHeight","calendarHeaderFontWeight","calendarHeaderFontWeightBold","iconButtonColor","iconButtonBackgroundColor","iconButtonColorHover","iconButtonBackgroundColorHover","iconButtonColorActive","iconButtonBackgroundColorActive","iconButtonHeight","iconButtonWidth","iconButtonPadding","iconButtonRadius","iconButtonFocusColor","calendarBackgroundColor","calendarSelectedItemBackground","calendarSelectedItemColor","calendarSelectableItemBackgroundHover","calendarCurrentItemBorderColor","calendarCurrentItemBackgroundHover","calendarCurrentItemColorHover","calendarCurrentItemChildBackgroundHover","calendarActiveItemBackground","calendarActiveItemColor","calendarHoveredItemBackground","calendarHoveredItemColor","calendarSeparatorBackground","calendarRangeBackground","calendarOutlineFocusColor","calendarContentPrimaryColor","calendarContentSecondaryColor"],"mappings":";;;;AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,SAAS,EAAE,aAAa;AACxBC,EAAAA,WAAW,EAAE,cAAc;AAC3BC,EAAAA,kBAAkB,EAAE,sBAAsB;AAC1CC,EAAAA,cAAc,EAAE,mBAAmB;AACnCC,EAAAA,U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,qCAAqC;AACtDC,EAAAA,iBAAiB,EAAE,uCAAuC;AAC1DC,EAAAA,gBAAgB,EAAE,sCAAsC;AACxDC,EAAAA,oBAAoB,EAAE,2CAA2C;AAEjEC,EAAAA,uBAAuB,EAAE,8BAA8B;AACvDC,EAAAA,8BAA8B,EAAE,4CAA4C;AAC5EC,EAAAA,yBAAyB,EAAE,uCAAuC;AAClEC,EAAAA,qCAAqC,EAAE,4CAA4C;AACnFC,EAAAA,8BAA8B,EAAE,6CAA6C;AAC7EC,EAAAA,kCAAkC,EAAE,yCAAyC;AAC7EC,EAAAA,6BAA6B,EAAE,4CAA4C;AAC3EC,EAAAA,uCAAuC,EAAE,+CAA+C;AACxFC,EAAAA,4BAA4B,EAAE,kCAAkC;AAChEC,EAAAA,uBAAuB,EAAE,qCAAqC;AAC9DC,EAAAA,6BAA6B,EAAE,mCAAmC;AAClEC,EAAAA,wBAAwB,EAAE,sCAAsC;AAChEC,EAAAA,2BAA2B,EAAE,wCAAwC;AACrEC,EAAAA,uBAAuB,EAAE,oCAAoC;AAC7DC,EAAAA,yBAAyB,EAAE,uCAAuC;AAClEC,EAAAA,2BAA2B,EAAE,yCAAyC;AACtEC,EAAAA,6BAA6B,EAAE,2CAAA;AACnC;;;;;"}
1
+ {"version":3,"file":"Calendar.tokens.js","sources":["../../../src/components/Calendar/Calendar.tokens.ts"],"sourcesContent":["export const classes = {\n dayOfWeek: 'day-of-week',\n dayDisabled: 'day-disabled',\n dayDisabledCurrent: 'day-disabled-current',\n daySideInRange: 'day-side-in-range',\n dayInRange: 'day-in-range',\n daySideLeft: 'day-side-left',\n daySideRight: 'day-side-right',\n selectableItem: 'item-selectable',\n selectedItem: 'item-selected',\n currentItem: 'item-current',\n hoveredItem: 'item-hovered',\n};\n\nexport const tokens = {\n calendarBackgroundColor: '--plasma-calendar-background',\n calendarHeaderArrowContainerWidth: '--plasma-calendar-arrow-container-width',\n calendarItemBorderRadius: '--plasma-calendar-item-border-radius',\n calendarSelectedItemBackground: '--plasma-calendar-selected-item-background',\n calendarSelectedItemColor: '--plasma-calendar-selected-item-color',\n calendarSelectableItemBackgroundHover: '--plasma-calendar-selectable-item-bg-hover',\n calendarCurrentItemBorderColor: '--plasma-calendar-current-item-border-color',\n calendarCurrentItemBackgroundHover: '--plasma-calendar-current-item-bg-hover',\n calendarCurrentItemColorHover: '--plasma-calendar-current-item-color-hover',\n calendarCurrentItemChildBackgroundHover: '--plasma-calendar-current-item-child-bg-hover',\n calendarActiveItemBackground: '--plasma-calendar-active-item-bg',\n calendarActiveItemColor: '--plasma-calendar-active-item-color',\n calendarHoveredItemBackground: '--plasma-calendar-hovered-item-bg',\n calendarHoveredItemColor: '--plasma-calendar-hovered-item-color',\n calendarSeparatorBackground: '--plasma-calendar-separator-background',\n calendarRangeBackground: '--plasma-calendar-range-background',\n calendarOutlineFocusColor: '--plasma-calendar-outline-focus-color',\n calendarContentPrimaryColor: '--plasma-calendar-content-primary-color',\n calendarContentSecondaryColor: '--plasma-calendar-content-secondary-color',\n calendarHeaderFontFamily: '--plasma-calendar-header-font-family',\n calendarHeaderFontSize: '--plasma-calendar-header-font-size',\n calendarHeaderFontStyle: '--plasma-calendar-header-font-style',\n calendarHeaderFontLetterSpacing: '--plasma-calendar-header-font-letter-spacing',\n calendarHeaderFontLineHeight: '--plasma-calendar-header-line-height',\n calendarHeaderFontWeight: '--plasma-calendar-header-font-weight',\n calendarHeaderFontWeightBold: '--plasma-calendar-header-font-weight-bold',\n calendarYearFontFamily: '--plasma-calendar-year-font-family',\n calendarYearFontSize: '--plasma-calendar-year-font-size',\n calendarYearFontStyle: '--plasma-calendar-year-font-style',\n calendarYearFontLetterSpacing: '--plasma-calendar-year-font-letter-spacing',\n calendarYearFontLineHeight: '--plasma-calendar-year-line-height',\n calendarYearFontWeight: '--plasma-calendar-year-font-weight',\n calendarMonthFontFamily: '--plasma-calendar-month-font-family',\n calendarMonthFontSize: '--plasma-calendar-month-font-size',\n calendarMonthFontStyle: '--plasma-calendar-month-font-style',\n calendarMonthFontLetterSpacing: '--plasma-calendar-month-font-letter-spacing',\n calendarMonthFontLineHeight: '--plasma-calendar-month-line-height',\n calendarMonthFontWeight: '--plasma-calendar-month-font-weight',\n calendarDayFontFamily: '--plasma-calendar-day-font-family',\n calendarDayFontSize: '--plasma-calendar-day-font-size',\n calendarDayFontStyle: '--plasma-calendar-day-font-style',\n calendarDayFontLetterSpacing: '--plasma-calendar-day-font-letter-spacing',\n calendarDayFontLineHeight: '--plasma-calendar-day-line-height',\n calendarDayFontWeight: '--plasma-calendar-day-font-weight',\n};\n"],"names":["classes","dayOfWeek","dayDisabled","dayDisabledCurrent","daySideInRange","dayInRange","daySideLeft","daySideRight","selectableItem","selectedItem","currentItem","hoveredItem","tokens","calendarBackgroundColor","calendarHeaderArrowContainerWidth","calendarItemBorderRadius","calendarSelectedItemBackground","calendarSelectedItemColor","calendarSelectableItemBackgroundHover","calendarCurrentItemBorderColor","calendarCurrentItemBackgroundHover","calendarCurrentItemColorHover","calendarCurrentItemChildBackgroundHover","calendarActiveItemBackground","calendarActiveItemColor","calendarHoveredItemBackground","calendarHoveredItemColor","calendarSeparatorBackground","calendarRangeBackground","calendarOutlineFocusColor","calendarContentPrimaryColor","calendarContentSecondaryColor","calendarHeaderFontFamily","calendarHeaderFontSize","calendarHeaderFontStyle","calendarHeaderFontLetterSpacing","calendarHeaderFontLineHeight","calendarHeaderFontWeight","calendarHeaderFontWeightBold","calendarYearFontFamily","calendarYearFontSize","calendarYearFontStyle","calendarYearFontLetterSpacing","calendarYearFontLineHeight","calendarYearFontWeight","calendarMonthFontFamily","calendarMonthFontSize","calendarMonthFontStyle","calendarMonthFontLetterSpacing","calendarMonthFontLineHeight","calendarMonthFontWeight","calendarDayFontFamily","calendarDayFontSize","calendarDayFontStyle","calendarDayFontLetterSpacing","calendarDayFontLineHeight","calendarDayFontWeight"],"mappings":";;;;AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,SAAS,EAAE,aAAa;AACxBC,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AAE,8CAA8C;AAC/EC,EAAAA,4BAA4B,EAAE,sCAAsC;AACpEC,EAAAA,wBAAwB,EAAE,sCAAsC;AAChEC,EAAAA,4BAA4B,EAAE,2CAA2C;AACzEC,EAAAA,sBAAsB,EAAE,oCAAoC;AAC5DC,EAAAA,oBAAoB,EAAE,kCAAkC;AACxDC,EAAAA,qBAAqB,EAAE,mCAAmC;AAC1DC,EAAAA,6BAA6B,EAAE,4CAA4C;AAC3EC,EAAAA,0BAA0B,EAAE,oCAAoC;AAChEC,EAAAA,sBAAsB,EAAE,oCAAoC;AAC5DC,EAAAA,uBAAuB,EAAE,qCAAqC;AAC9DC,EAAAA,qBAAqB,EAAE,mCAAmC;AAC1DC,EAAAA,sBAAsB,EAAE,oCAAoC;AAC5DC,EAAAA,8BAA8B,EAAE,6CAA6C;AAC7EC,EAAAA,2BAA2B,EAAE,qCAAqC;AAClEC,EAAAA,uBAAuB,EAAE,qCAAqC;AAC9DC,EAAAA,qBAAqB,EAAE,mCAAmC;AAC1DC,EAAAA,mBAAmB,EAAE,iCAAiC;AACtDC,EAAAA,oBAAoB,EAAE,kCAAkC;AACxDC,EAAAA,4BAA4B,EAAE,2CAA2C;AACzEC,EAAAA,yBAAyB,EAAE,mCAAmC;AAC9DC,EAAAA,qBAAqB,EAAE,mCAAA;AAC3B;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Calendar.types.js","sources":["../../../src/components/Calendar/Calendar.types.ts"],"sourcesContent":["import { HTMLAttributes, MutableRefObject } from 'react';\n\nimport type { CalendarBaseProps } from './CalendarBase/CalendarBase';\nimport type { CalendarDoubleProps } from './CalendarDouble/CalendarDouble';\n\nexport enum Keys {\n pageUp = 33,\n pageDown = 34,\n home = 36,\n end = 35,\n left = 37,\n right = 39,\n up = 38,\n down = 40,\n enter = 13,\n space = 32,\n}\n\nexport interface DateObject {\n day: number;\n monthIndex: number;\n year: number;\n}\n\nexport interface ItemProps {\n isCurrent: boolean;\n isSelected: boolean;\n}\n\nexport interface DateItem extends ItemProps {\n isDayInCurrentMonth: boolean;\n inRange?: boolean;\n date: DateObject;\n events?: EventDay[];\n disabled?: boolean;\n isOutOfMinMaxRange?: boolean;\n disabledArrowKey?: string;\n disabledMonths?: string;\n}\n\nexport interface DayProps extends Partial<ItemProps> {\n isDouble?: boolean;\n isDayInCurrentMonth?: boolean;\n isHovered?: boolean;\n inRange?: boolean;\n sideInRange?: 'left' | 'right';\n disabled?: boolean;\n dayOfWeek?: boolean;\n}\n\nexport interface MonthsProps extends ItemProps {}\n\nexport interface MonthsItem extends ItemProps {\n monthName: string;\n monthFullName?: string;\n monthIndex: number;\n}\n\nexport interface YearsProps extends ItemProps {}\n\nexport interface YearsItem extends ItemProps {\n yearValue: number;\n}\n\nexport interface EventDay {\n date: Date;\n color?: string;\n}\n\nexport interface DisabledDay {\n date: Date;\n}\n\nexport interface UseKeyNavigationProps {\n size: [number, number];\n isDouble?: boolean;\n onPrev: (withShift?: boolean) => void;\n onNext: (withShift?: boolean) => void;\n}\n\nexport type CalendarValueType = Date | undefined | [Date | undefined, Date?];\n\nexport interface Calendar extends HTMLAttributes<HTMLDivElement> {\n /**\n * Выбранное значение.\n */\n value: CalendarValueType;\n /**\n * Состояние календаря, отвечающее за отображение.\n */\n date?: DateObject;\n /**\n * Минимальное значение даты.\n */\n min?: Date;\n /**\n * Максимальное значение даты.\n */\n max?: Date;\n /**\n * Должны ли значения минимального и максимального дня включаться в диапазон.\n */\n includeEdgeDates?: boolean;\n /**\n * Список событий.\n */\n eventList?: EventDay[];\n /**\n * Список отключенных дней.\n */\n disabledList?: DisabledDay[];\n /**\n * Обработчик изменения значения.\n */\n onChangeValue: (value: Date) => void;\n}\n\nexport type CalendarRange<T> = Omit<T, 'value' | 'onChangeValue'> & {\n /**\n * Выбранное значение.\n */\n value: [Date?, Date?];\n /**\n * Обработчик изменения значения.\n */\n onChangeValue: (values: [Date, Date?]) => void;\n /**\n * Обработчик для выбора стартового значения в диапазоне.\n */\n onChangeStartOfRange?: (value: Date) => void;\n};\n\nexport interface DaysMetaDescription {\n refs: MutableRefObject<HTMLDivElement[][]>;\n rowSize: number;\n newRowIndex: number;\n newColumnIndex: number;\n columnSize: number;\n minColumnIndex: number;\n defaultState?: number[];\n}\n\nexport type KeyboardArrowKey = 'left' | 'right' | 'up' | 'down';\n\ntype BaseProps = {\n /**\n * Режим отображения: двойной или одинарный.\n */\n isDouble?: false;\n /**\n * Режим выбора: диапазон или одинарный.\n */\n isRange?: false;\n /**\n * Выбранное значение.\n */\n value: Date;\n} & CalendarBaseProps;\n\ntype BaseRangeProps = {\n /**\n * Режим отображения: двойной или одинарный.\n */\n isDouble?: false;\n /**\n * Режим выбора: диапазон или одинарный.\n */\n isRange: true;\n} & CalendarRange<CalendarBaseProps>;\n\ntype DoubleProps = {\n /**\n * Режим отображения: двойной или одинарный.\n */\n isDouble?: true;\n /**\n * Режим выбора: диапазон или одинарный.\n */\n isRange?: false;\n /**\n * Выбранное значение.\n */\n value: Date;\n} & CalendarDoubleProps;\n\ntype DoubleRangeProps = {\n /**\n * Режим отображения: двойной или одинарный.\n */\n isDouble?: true;\n /**\n * Режим выбора: диапазон или одинарный.\n */\n isRange: true;\n} & CalendarRange<CalendarDoubleProps>;\n\nexport type ComponentVariation = {\n base: React.FC<CalendarBaseProps>;\n baseRange: React.FC<CalendarRange<CalendarBaseProps>>;\n double: React.FC<CalendarDoubleProps>;\n doubleRange: React.FC<CalendarRange<CalendarDoubleProps>>;\n};\n\nexport type CalendarProps = BaseProps | BaseRangeProps | DoubleProps | DoubleRangeProps;\n"],"names":["Keys"],"mappings":";;;;AAKYA,IAAAA,IAAI,0BAAJA,IAAI,EAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,QAAA,CAAA,GAAA,EAAA,CAAA,GAAA,QAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,UAAA,CAAA,GAAA,EAAA,CAAA,GAAA,UAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA,GAAA,MAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,KAAA,CAAA,GAAA,EAAA,CAAA,GAAA,KAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA,GAAA,MAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,OAAA,CAAA,GAAA,EAAA,CAAA,GAAA,OAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,IAAA,CAAA,GAAA,EAAA,CAAA,GAAA,IAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA,GAAA,MAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,OAAA,CAAA,GAAA,EAAA,CAAA,GAAA,OAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,OAAA,CAAA,GAAA,EAAA,CAAA,GAAA,OAAA,CAAA;AAAA,EAAA,OAAJA,IAAI,CAAA;AAAA,CAAA,CAAA,EAAA;;;;"}
1
+ {"version":3,"file":"Calendar.types.js","sources":["../../../src/components/Calendar/Calendar.types.ts"],"sourcesContent":["import { HTMLAttributes, MutableRefObject } from 'react';\n\nimport type { CalendarBaseProps } from './CalendarBase/CalendarBase';\nimport type { CalendarDoubleProps } from './CalendarDouble/CalendarDouble';\n\nexport enum Keys {\n pageUp = 33,\n pageDown = 34,\n home = 36,\n end = 35,\n left = 37,\n right = 39,\n up = 38,\n down = 40,\n enter = 13,\n space = 32,\n}\n\nexport interface DateObject {\n day: number;\n monthIndex: number;\n year: number;\n}\n\nexport interface ItemProps {\n isCurrent: boolean;\n isSelected: boolean;\n}\n\nexport interface DateItem extends ItemProps {\n isDayInCurrentMonth: boolean;\n inRange?: boolean;\n date: DateObject;\n events?: EventDay[];\n disabled?: boolean;\n isOutOfMinMaxRange?: boolean;\n disabledArrowKey?: string;\n disabledMonths?: string;\n}\n\nexport interface DayProps extends Partial<ItemProps> {\n isDouble?: boolean;\n isDayInCurrentMonth?: boolean;\n isHovered?: boolean;\n inRange?: boolean;\n sideInRange?: 'left' | 'right';\n disabled?: boolean;\n dayOfWeek?: boolean;\n}\n\nexport interface MonthsProps extends ItemProps {}\n\nexport interface MonthsItem extends ItemProps {\n monthName: string;\n monthFullName?: string;\n monthIndex: number;\n}\n\nexport interface YearsProps extends ItemProps {}\n\nexport interface YearsItem extends ItemProps {\n yearValue: number;\n}\n\nexport interface EventDay {\n date: Date;\n color?: string;\n}\n\nexport interface DisabledDay {\n date: Date;\n}\n\nexport interface UseKeyNavigationProps {\n size: [number, number];\n isDouble?: boolean;\n onPrev: (withShift?: boolean) => void;\n onNext: (withShift?: boolean) => void;\n}\n\nexport type CalendarValueType = Date | undefined | [Date | undefined, Date?];\n\nexport interface Calendar extends HTMLAttributes<HTMLDivElement> {\n /**\n * Выбранное значение.\n */\n value: CalendarValueType;\n /**\n * Состояние календаря, отвечающее за отображение.\n */\n date?: DateObject;\n /**\n * Минимальное значение даты.\n */\n min?: Date;\n /**\n * Максимальное значение даты.\n */\n max?: Date;\n /**\n * Должны ли значения минимального и максимального дня включаться в диапазон.\n */\n includeEdgeDates?: boolean;\n /**\n * Список событий.\n */\n eventList?: EventDay[];\n /**\n * Список отключенных дней.\n */\n disabledList?: DisabledDay[];\n /**\n * Обработчик изменения значения.\n */\n onChangeValue: (value: Date) => void;\n}\n\nexport type CalendarRange<T> = Omit<T, 'value' | 'onChangeValue'> & {\n /**\n * Выбранное значение.\n */\n value: [Date, Date?];\n /**\n * Обработчик изменения значения.\n */\n onChangeValue: (values: [Date, Date?]) => void;\n /**\n * Обработчик для выбора стартового значения в диапазоне.\n */\n onChangeStartOfRange?: (value: Date) => void;\n};\n\nexport interface DaysMetaDescription {\n refs: MutableRefObject<HTMLDivElement[][]>;\n rowSize: number;\n newRowIndex: number;\n newColumnIndex: number;\n columnSize: number;\n minColumnIndex: number;\n defaultState?: number[];\n}\n\nexport type KeyboardArrowKey = 'left' | 'right' | 'up' | 'down';\n\ntype BaseProps = {\n /**\n * Режим отображения: двойной или одинарный.\n */\n isDouble?: false;\n /**\n * Режим выбора: диапазон или одинарный.\n */\n isRange?: false;\n /**\n * Выбранное значение.\n */\n value: Date;\n} & CalendarBaseProps;\n\ntype BaseRangeProps = {\n /**\n * Режим отображения: двойной или одинарный.\n */\n isDouble?: false;\n /**\n * Режим выбора: диапазон или одинарный.\n */\n isRange: true;\n} & CalendarRange<CalendarBaseProps>;\n\ntype DoubleProps = {\n /**\n * Режим отображения: двойной или одинарный.\n */\n isDouble?: true;\n /**\n * Режим выбора: диапазон или одинарный.\n */\n isRange?: false;\n /**\n * Выбранное значение.\n */\n value: Date;\n} & CalendarDoubleProps;\n\ntype DoubleRangeProps = {\n /**\n * Режим отображения: двойной или одинарный.\n */\n isDouble?: true;\n /**\n * Режим выбора: диапазон или одинарный.\n */\n isRange: true;\n} & CalendarRange<CalendarDoubleProps>;\n\nexport type ComponentVariation = {\n base: React.FC<CalendarBaseProps>;\n baseRange: React.FC<CalendarRange<CalendarBaseProps>>;\n double: React.FC<CalendarDoubleProps>;\n doubleRange: React.FC<CalendarRange<CalendarDoubleProps>>;\n};\n\nexport type CalendarProps = BaseProps | BaseRangeProps | DoubleProps | DoubleRangeProps;\n"],"names":["Keys"],"mappings":";;;;AAKYA,IAAAA,IAAI,0BAAJA,IAAI,EAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,QAAA,CAAA,GAAA,EAAA,CAAA,GAAA,QAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,UAAA,CAAA,GAAA,EAAA,CAAA,GAAA,UAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA,GAAA,MAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,KAAA,CAAA,GAAA,EAAA,CAAA,GAAA,KAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA,GAAA,MAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,OAAA,CAAA,GAAA,EAAA,CAAA,GAAA,OAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,IAAA,CAAA,GAAA,EAAA,CAAA,GAAA,IAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA,GAAA,MAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,OAAA,CAAA,GAAA,EAAA,CAAA,GAAA,OAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,OAAA,CAAA,GAAA,EAAA,CAAA,GAAA,OAAA,CAAA;AAAA,EAAA,OAAJA,IAAI,CAAA;AAAA,CAAA,CAAA,EAAA;;;;"}
@@ -1,62 +1,34 @@
1
1
  .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
2
2
 
3
- .base_1gusher_b1chvyq8__76b641f5{color:var(--plasma-spinner-color);}
4
-
5
- .base_ova69f_bw56nfh__55225c7f{width:var(--plasma-spinner-size);height:var(--plasma-spinner-size);}
6
-
7
- .Spinner_styles_13q7ndk_b1hp2dsz__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;}
8
- .Spinner_styles_13q7ndk_s122r4cn__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:var(--s122r4cn-0);height:var(--s122r4cn-1);-webkit-animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;}@-webkit-keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}@keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}
9
-
10
- .Button_styles_1oz1dew_bzw1898__a16b28b2{min-width:4ch;-webkit-flex-shrink:2;-ms-flex-negative:2;flex-shrink:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.Button_styles_1oz1dew_bzw1898__a16b28b2.Button_styles_1oz1dew_buttonContentRelaxed__a16b28b2{text-align:start;-webkit-box-flex:2;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2;}
11
- .Button_styles_1oz1dew_bdfuqwe__a16b28b2{color:var(--plasma-button-value-color);margin:var(--plasma-button-value-margin);min-width:4ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
12
- .Button_styles_1oz1dew_l9ypozh__a16b28b2{opacity:var(--l9ypozh-0);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-box-pack:var(--l9ypozh-1);-webkit-justify-content:var(--l9ypozh-1);-ms-flex-pack:var(--l9ypozh-1);justify-content:var(--l9ypozh-1);height:100%;width:100%;}
13
- .Button_styles_1oz1dew_l4dfhbg__a16b28b2{position:absolute;}
14
- .Button_styles_1oz1dew_srdlazt__a16b28b2{--plasma-spinner-size:var(--plasma-button-spinner-size);--plasma-spinner-color:var(--plasma-button-spinner-color);}
15
- .Button_styles_1oz1dew_s7rggv0__a16b28b2{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-left-content-margin);}
16
- .Button_styles_1oz1dew_s1rjh7ra__a16b28b2{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-right-content-margin);}
17
- .Button_styles_1oz1dew_b9ga1dj__a16b28b2{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_1oz1dew_b9ga1dj__a16b28b2{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_1oz1dew_b9ga1dj__a16b28b2.Button_styles_1oz1dew_b9ga1dj__a16b28b2.Button_styles_1oz1dew_buttonSquare__a16b28b2{width:var(--plasma-button-height);padding:0;}
18
-
19
- .base_x95x4p_b1ty39ru__349bf40b{color:var(--plasma-button-color);background-color:var(--plasma-button-background-color);}.base_x95x4p_b1ty39ru__349bf40b:hover{color:var(--plasma-button-color-hover,var(--plasma-button-color));background-color:var(--plasma-button-background-color-hover,var(--plasma-button-background-color));scale:var(--plasma-button-scale-hover);}.base_x95x4p_b1ty39ru__349bf40b:active{color:var(--plasma-button-color-active,var(--plasma-button-color));background-color:var(--plasma-button-background-color-active,var(--plasma-button-background-color));scale:var(---plasma-button-scale-active);}
20
-
21
- .base_1alzrso_be0ha5g__cdc67255{height:var(--plasma-button-height);padding:0 var(--plasma-button-padding,calc(var(--plasma-button-height) * 1.618 / 4));font-family:var(--plasma-button-font-family);font-size:var(--plasma-button-font-size);font-style:var(--plasma-button-font-style);font-weight:var(--plasma-button-font-weight);-webkit-letter-spacing:var(--plasma-button-letter-spacing);-moz-letter-spacing:var(--plasma-button-letter-spacing);-ms-letter-spacing:var(--plasma-button-letter-spacing);letter-spacing:var(--plasma-button-letter-spacing);line-height:var(--plasma-button-line-height);--plasma_private-btn-outline-size:var(--plasma-button-outline-size,0.0625rem);}
22
-
23
- .base_1t3ywu_b169l30m__aba40ddd[disabled]{opacity:var(--plasma-button-disabled-opacity);cursor:not-allowed;}.base_1t3ywu_b169l30m__aba40ddd[disabled]:hover,.base_1t3ywu_b169l30m__aba40ddd[disabled]:active{scale:none;color:var(--plasma-button-color);background-color:var(--plasma-button-background-color);}
24
-
25
- .base_1kq737e_b187cmzt__d829f64a{position:relative;}.base_1kq737e_b187cmzt__d829f64a:focus{outline:none;}.base_1kq737e_b187cmzt__d829f64a::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:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + var(--plasma_private-btn-br));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_1kq737e_b187cmzt__d829f64a.base_1kq737e_focusVisible__d829f64a:focus::before,.base_1kq737e_b187cmzt__d829f64a[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}
26
-
27
- .base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFixed__bd4ad37e{width:var(--plasma-button-width);}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFilled__bd4ad37e{width:100%;}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingAuto__bd4ad37e{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
28
-
29
- .IconButton_styles_7v8g0e_b1ua728l__3b30d792{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);color:var(--plasma-button-color);background-color:var(--plasma-button-background-color);height:var(--plasma-button-height);width:var(--plasma-button-width);padding:0 var(--plasma-button-padding,calc(var(--plasma-button-height) * 1.618 / 4));font-family:var(--plasma-button-font-family);font-size:var(--plasma-button-font-size);font-style:var(--plasma-button-font-style);font-weight:var(--plasma-button-font-weight);-webkit-letter-spacing:var(--plasma-button-letter-spacing);-moz-letter-spacing:var(--plasma-button-letter-spacing);-ms-letter-spacing:var(--plasma-button-letter-spacing);letter-spacing:var(--plasma-button-letter-spacing);line-height:var(--plasma-button-line-height);--plasma_private-btn-outline-size:var(--plasma-button-outline-size,0.0625rem);position:relative;--plasma-button-padding:0;--plasma-button-color:var(--plasma-icon-button-color);--plasma-button-background-color:var(--plasma-icon-button-background-color);--plasma-button-color-hover:var(--plasma-icon-button-color-hover);--plasma-button-background-color-hover:var(--plasma-icon-button-background-color-hover);--plasma-button-color-active:var(--plasma-icon-button-color-active);--plasma-button-background-color-active:var(--plasma-icon-button-background-color-active);--plasma-button-font-family:var(--plasma-icon-button-font-family);--plasma-button-font-size:var(--plasma-icon-button-font-size);--plasma-button-font-style:var(--plasma-icon-button-font-style);--plasma-button-font-weight:var(--plasma-icon-button-font-weight);--plasma-button-letter-spacing:var(--plasma-icon-button-letter-spacing);--plasma-button-line-height:var(--plasma-icon-button-line-height);--plasma-button-width:var(--plasma-icon-button-width);--plasma-button-height:var(--plasma-icon-button-height);--plasma-button-radius:var(--plasma-icon-button-radius);--plasma-button-disabled-opacity:var(--plasma-icon-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-icon-button-focus-color);--plasma-button-spinner-size:var(--plasma-icon-button-spinner-size);--plasma-button-spinner-color:var(--plasma-icon-button-spinner-color);}a.IconButton_styles_7v8g0e_b1ua728l__3b30d792{-webkit-text-decoration:none;text-decoration:none;}.IconButton_styles_7v8g0e_b1ua728l__3b30d792.IconButton_styles_7v8g0e_b1ua728l__3b30d792.IconButton_styles_7v8g0e_buttonSquare__3b30d792{width:var(--plasma-button-height);padding:0;}.IconButton_styles_7v8g0e_b1ua728l__3b30d792:hover{color:var(--plasma-button-color-hover,var(--plasma-button-color));background-color:var(--plasma-button-background-color-hover,var(--plasma-button-background-color));scale:var(--plasma-button-scale-hover);}.IconButton_styles_7v8g0e_b1ua728l__3b30d792:active{color:var(--plasma-button-color-active,var(--plasma-button-color));background-color:var(--plasma-button-background-color-active,var(--plasma-button-background-color));scale:var(---plasma-button-scale-active);}.IconButton_styles_7v8g0e_b1ua728l__3b30d792:focus{outline:none;}.IconButton_styles_7v8g0e_b1ua728l__3b30d792::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:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + var(--plasma_private-btn-br));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.IconButton_styles_7v8g0e_b1ua728l__3b30d792.IconButton_styles_7v8g0e_focusVisible__3b30d792:focus::before,.IconButton_styles_7v8g0e_b1ua728l__3b30d792[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}.IconButton_styles_7v8g0e_b1ua728l__3b30d792[disabled]{opacity:var(--plasma-button-disabled-opacity);cursor:not-allowed;}.IconButton_styles_7v8g0e_b1ua728l__3b30d792[disabled]:hover,.IconButton_styles_7v8g0e_b1ua728l__3b30d792[disabled]:active{scale:none;color:var(--plasma-button-color);background-color:var(--plasma-button-background-color);}.IconButton_styles_7v8g0e_b1ua728l__3b30d792.IconButton_styles_7v8g0e_buttonStretchingFixed__3b30d792{width:var(--plasma-button-width);}.IconButton_styles_7v8g0e_b1ua728l__3b30d792.IconButton_styles_7v8g0e_buttonStretchingFilled__3b30d792{width:100%;}.IconButton_styles_7v8g0e_b1ua728l__3b30d792.IconButton_styles_7v8g0e_buttonStretchingAuto__3b30d792{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
30
-
31
- .CalendarHeader_styles_gnorek_sjaqipy__eb2e05d8{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:var(--plasma-calendar-header-wrapper-padding);}
32
- .CalendarHeader_styles_gnorek_s1k7jebr__eb2e05d8{border:none;background-color:transparent;padding:0;outline:none;font-family:var(--plasma-calendar-header-font-family);font-size:var(--plasma-calendar-header-font-size);font-style:var(--plasma-calendar-header-font-style);font-weight:var(--plasma-calendar-header-font-weight-bold);-webkit-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);-moz-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);-ms-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);letter-spacing:var(--plasma-calendar-header-font-letter-spacing);line-height:var(--plasma-calendar-header-line-height);padding:var(--plasma-calendar-header-padding);color:var(--plasma-calendar-content-primary-color);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-calendar-header-date-gap);-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;}.CalendarHeader_styles_gnorek_s1k7jebr__eb2e05d8:hover,.CalendarHeader_styles_gnorek_s1k7jebr__eb2e05d8:active{color:var(--plasma-calendar-content-secondary-color);}.CalendarHeader_styles_gnorek_s1k7jebr__eb2e05d8::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:0.563rem;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.CalendarHeader_styles_gnorek_s1k7jebr__eb2e05d8.CalendarHeader_styles_gnorek_focusVisible__eb2e05d8:focus::before,.CalendarHeader_styles_gnorek_s1k7jebr__eb2e05d8[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}
33
- .CalendarHeader_styles_gnorek_s1b07tlr__eb2e05d8{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;pointer-events:none;}
34
- .CalendarHeader_styles_gnorek_s13yvda3__eb2e05d8{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-calendar-arrow-container-gap);padding:var(--plasma-calendar-arrow-container-padding);}
35
- .CalendarHeader_styles_gnorek_s1i8jkj2__eb2e05d8{--plasma-icon-button-color:var(--plasma-calendar-icon-button-color);--plasma-icon-button-background-color:var(--plasma-calendar-icon-button-background);--plasma-icon-button-color-hover:var(--plasma-calendar-icon-button-color-hover);--plasma-icon-button-background-color-hover:var(--plasma-calendar-icon-button-background-hover);--plasma-icon-button-color-active:var(--plasma-calendar-icon-button-color-active);--plasma-icon-button-background-color-active:var(--plasma-calendar-icon-button-background-active);--plasma-icon-button-height:var(--plasma-calendar-icon-button-height);--plasma-icon-button-width:var(--plasma-calendar-icon-button-width);--plasma-icon-button-padding:var(--plasma-calendar-icon-button-padding);--plasma-icon-button-radius:var(--plasma-calendar-icon-button-radius);--plasma-icon-button-focus-color:var(--plasma-calendar-icon-button-focus-color);}
36
- .CalendarHeader_styles_gnorek_sw3by8z__eb2e05d8{width:100%;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;}
37
- .CalendarHeader_styles_gnorek_sdke0q6__eb2e05d8{width:100%;display:grid;grid-template-columns:var(--plasma-calendar-icon-button-width) 1fr var(--plasma-calendar-icon-button-width);grid-template-areas:'a b c';}.CalendarHeader_styles_gnorek_sdke0q6__eb2e05d8 .CalendarHeader_styles_gnorek_s1i8jkj2__eb2e05d8{grid-area:a;}.CalendarHeader_styles_gnorek_sdke0q6__eb2e05d8.CalendarHeader_styles_gnorek_doubleHeader_LastDateWrapper__eb2e05d8 .CalendarHeader_styles_gnorek_s1i8jkj2__eb2e05d8{grid-area:c;}
38
- .CalendarHeader_styles_gnorek_sdtpxcv__eb2e05d8{font-family:var(--plasma-calendar-header-font-family);font-size:var(--plasma-calendar-header-font-size);font-style:var(--plasma-calendar-header-font-style);font-weight:var(--plasma-calendar-header-font-weight-bold);-webkit-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);-moz-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);-ms-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);letter-spacing:var(--plasma-calendar-header-font-letter-spacing);line-height:var(--plasma-calendar-header-line-height);grid-area:b;justify-self:center;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-calendar-header-date-gap);-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0;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;}
39
-
40
- .CalendarDayItem_styles_107vqka_sotsbos__e3c541ae{border-radius:calc(var(--plasma-calendar-day-item-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;}.CalendarDayItem_styles_107vqka_sotsbos__e3c541ae.CalendarDayItem_styles_107vqka_dayInRange__e3c541ae:before{content:'';z-index:-1;position:absolute;width:100%;height:calc(100% - 0.125rem);background:var(--plasma-calendar-range-background);}.CalendarDayItem_styles_107vqka_sotsbos__e3c541ae.CalendarDayItem_styles_107vqka_daySideInRange__e3c541ae:before{content:'';z-index:-1;position:absolute;width:0.75rem;height:calc(100% - 0.125rem);background:var(--plasma-calendar-range-background);}.CalendarDayItem_styles_107vqka_sotsbos__e3c541ae.CalendarDayItem_styles_107vqka_daySideLeft__e3c541ae:before{left:var(--sotsbos-0);}.CalendarDayItem_styles_107vqka_sotsbos__e3c541ae.CalendarDayItem_styles_107vqka_daySideRight__e3c541ae:before{right:var(--sotsbos-0);}
41
- .CalendarDayItem_styles_107vqka_smv00b5__e3c541ae{font-family:var(--plasma-calendar-day-font-family);font-size:var(--plasma-calendar-day-font-size);font-style:var(--plasma-calendar-day-font-style);font-weight:var(--plasma-calendar-day-font-weight);-webkit-letter-spacing:var(--plasma-calendar-day-font-letter-spacing);-moz-letter-spacing:var(--plasma-calendar-day-font-letter-spacing);-ms-letter-spacing:var(--plasma-calendar-day-font-letter-spacing);letter-spacing:var(--plasma-calendar-day-font-letter-spacing);line-height:var(--plasma-calendar-day-line-height);position:relative;box-sizing:border-box;min-width:var(--plasma-calendar-day-item-width);min-height:var(--plasma-calendar-day-item-height);border-radius:var(--plasma-calendar-day-item-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(--smv00b5-0);visibility:var(--smv00b5-1);}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae{outline:none;cursor:pointer;position:relative;}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae:hover{background-color:var(--plasma-calendar-selectable-item-bg-hover);}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae.CalendarDayItem_styles_107vqka_itemHovered__e3c541ae,.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae.CalendarDayItem_styles_107vqka_itemHovered__e3c541ae:hover{background-color:var(--plasma-calendar-selected-item-background);color:var(--plasma-calendar-selected-item-color);cursor:pointer;font-weight:var(--plasma-calendar-day-selected-font-weight);}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae.CalendarDayItem_styles_107vqka_itemSelected__e3c541ae:not(.CalendarDayItem_styles_107vqka_itemCurrent__e3c541ae){border:0;background-color:var(--plasma-calendar-selected-item-background);color:var(--plasma-calendar-selected-item-color);cursor:default;font-weight:var(--plasma-calendar-day-selected-font-weight);}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae:active{background-color:var(--plasma-calendar-active-item-bg);color:var(--plasma-calendar-active-item-color);font-weight:var(--plasma-calendar-day-selected-font-weight);}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae.CalendarDayItem_styles_107vqka_itemCurrent__e3c541ae{border:0.063rem solid var(--plasma-calendar-current-item-border-color);}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae.CalendarDayItem_styles_107vqka_itemCurrent__e3c541ae.CalendarDayItem_styles_107vqka_itemSelected__e3c541ae{background-color:initial;color:var(--plasma-calendar-selected-item-color);font-weight:var(--plasma-calendar-day-selected-font-weight);}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae.CalendarDayItem_styles_107vqka_itemCurrent__e3c541ae.CalendarDayItem_styles_107vqka_itemSelected__e3c541ae > div:first-of-type{background-color:var(--plasma-calendar-selected-item-background);min-width:calc(var(--plasma-calendar-day-item-width) - 0.25rem);min-height:calc(var(--plasma-calendar-day-item-height) - 0.25rem);}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae::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-day-item-border-radius) + 0.125rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae.CalendarDayItem_styles_107vqka_focusVisible__e3c541ae:focus::before,.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae.CalendarDayItem_styles_107vqka_itemCurrent__e3c541ae{position:relative;}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae.CalendarDayItem_styles_107vqka_itemCurrent__e3c541ae::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-day-item-border-radius) + 0.125rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae.CalendarDayItem_styles_107vqka_itemCurrent__e3c541ae.CalendarDayItem_styles_107vqka_focusVisible__e3c541ae:focus::before,.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemSelectable__e3c541ae.CalendarDayItem_styles_107vqka_itemCurrent__e3c541ae[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_dayOfWeek__e3c541ae{color:var(--plasma-calendar-day-of-the-week-color);}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_dayDisabled__e3c541ae{cursor:not-allowed;opacity:0.4;}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_dayDisabledCurrent__e3c541ae{cursor:not-allowed;opacity:0.4;}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemCurrent__e3c541ae > .CalendarDayItem_styles_107vqka_dayInRange__e3c541ae:before{width:calc(100% + 2px);height:100%;}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemCurrent__e3c541ae > .CalendarDayItem_styles_107vqka_daySideRight__e3c541ae:before{width:100%;right:-1px;left:unset;}.CalendarDayItem_styles_107vqka_smv00b5__e3c541ae.CalendarDayItem_styles_107vqka_itemCurrent__e3c541ae > .CalendarDayItem_styles_107vqka_daySideLeft__e3c541ae:before{width:100%;left:-1px;right:unset;}
42
- .CalendarDayItem_styles_107vqka_s58etsc__e3c541ae{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:absolute;bottom:0.25rem;}
43
- .CalendarDayItem_styles_107vqka_say0ota__e3c541ae{margin:0 0.063rem;width:0.188rem;height:0.188rem;border-radius:50%;background-color:var(--say0ota-0);}
44
-
45
- .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;}
46
- .CalendarDays_styles_1oq8sud_s1rv3pd5__be296257{outline:none;padding:var(--plasma-calendar-days-padding);box-sizing:border-box;}
47
- .CalendarDays_styles_1oq8sud_scupvll__be296257{display:none;}
48
-
49
- .CalendarMonths_styles_wmlwil_s2fb05v__7dae290b{padding:var(--plasma-calendar-months-padding);box-sizing:border-box;}
50
- .CalendarMonths_styles_wmlwil_s1nlg4aa__7dae290b{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;}
51
- .CalendarMonths_styles_wmlwil_s1cvx4bk__7dae290b{border-radius:calc(var(--plasma-calendar-month-item-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;}
52
- .CalendarMonths_styles_wmlwil_s14caaqm__7dae290b{font-family:var(--plasma-calendar-month-font-family);font-size:var(--plasma-calendar-month-font-size);font-style:var(--plasma-calendar-month-font-style);font-weight:var(--plasma-calendar-month-font-weight);-webkit-letter-spacing:var(--plasma-calendar-month-font-letter-spacing);-moz-letter-spacing:var(--plasma-calendar-month-font-letter-spacing);-ms-letter-spacing:var(--plasma-calendar-month-font-letter-spacing);letter-spacing:var(--plasma-calendar-month-font-letter-spacing);line-height:var(--plasma-calendar-month-line-height);position:relative;box-sizing:border-box;min-height:var(--plasma-calendar-month-item-height);min-width:var(--plasma-calendar-month-item-width);border-radius:var(--plasma-calendar-month-item-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;outline:none;cursor:pointer;position:relative;}.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b:hover{background-color:var(--plasma-calendar-selectable-item-bg-hover);}.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b.CalendarMonths_styles_wmlwil_itemHovered__7dae290b,.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b.CalendarMonths_styles_wmlwil_itemHovered__7dae290b:hover{background-color:var(--plasma-calendar-selected-item-background);color:var(--plasma-calendar-selected-item-color);cursor:pointer;font-weight:var(--plasma-calendar-month-selected-font-weight);}.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b.CalendarMonths_styles_wmlwil_itemSelected__7dae290b:not(.CalendarMonths_styles_wmlwil_itemCurrent__7dae290b){border:0;background-color:var(--plasma-calendar-selected-item-background);color:var(--plasma-calendar-selected-item-color);cursor:default;font-weight:var(--plasma-calendar-month-selected-font-weight);}.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b:active{background-color:var(--plasma-calendar-active-item-bg);color:var(--plasma-calendar-active-item-color);font-weight:var(--plasma-calendar-month-selected-font-weight);}.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b.CalendarMonths_styles_wmlwil_itemCurrent__7dae290b{border:0.063rem solid var(--plasma-calendar-current-item-border-color);}.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b.CalendarMonths_styles_wmlwil_itemCurrent__7dae290b.CalendarMonths_styles_wmlwil_itemSelected__7dae290b{background-color:initial;color:var(--plasma-calendar-selected-item-color);font-weight:var(--plasma-calendar-month-selected-font-weight);}.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b.CalendarMonths_styles_wmlwil_itemCurrent__7dae290b.CalendarMonths_styles_wmlwil_itemSelected__7dae290b > div:first-of-type{background-color:var(--plasma-calendar-selected-item-background);min-width:calc(var(--plasma-calendar-month-item-width) - 0.25rem);min-height:calc(var(--plasma-calendar-month-item-height) - 0.25rem);}.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b::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-month-item-border-radius) + 0.125rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b.CalendarMonths_styles_wmlwil_focusVisible__7dae290b:focus::before,.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b.CalendarMonths_styles_wmlwil_itemCurrent__7dae290b{position:relative;}.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b.CalendarMonths_styles_wmlwil_itemCurrent__7dae290b::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-month-item-border-radius) - 0.125rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b.CalendarMonths_styles_wmlwil_itemCurrent__7dae290b.CalendarMonths_styles_wmlwil_focusVisible__7dae290b:focus::before,.CalendarMonths_styles_wmlwil_s14caaqm__7dae290b.CalendarMonths_styles_wmlwil_itemCurrent__7dae290b[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}
53
-
54
- .CalendarYears_styles_f2aje6_sq90exc__599b4140{padding:var(--plasma-calendar-years-padding);box-sizing:border-box;}
55
- .CalendarYears_styles_f2aje6_sp45mzt__599b4140{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;}
56
- .CalendarYears_styles_f2aje6_s1rv7a6a__599b4140{border-radius:calc(var(--plasma-calendar-year-item-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;}
57
- .CalendarYears_styles_f2aje6_s1fgpu0g__599b4140{font-family:var(--plasma-calendar-year-font-family);font-size:var(--plasma-calendar-year-font-size);font-style:var(--plasma-calendar-year-font-style);font-weight:var(--plasma-calendar-year-font-weight);-webkit-letter-spacing:var(--plasma-calendar-year-font-letter-spacing);-moz-letter-spacing:var(--plasma-calendar-year-font-letter-spacing);-ms-letter-spacing:var(--plasma-calendar-year-font-letter-spacing);letter-spacing:var(--plasma-calendar-year-font-letter-spacing);line-height:var(--plasma-calendar-year-line-height);position:relative;box-sizing:border-box;min-height:var(--plasma-calendar-year-item-height);min-width:var(--plasma-calendar-year-item-width);border-radius:var(--plasma-calendar-year-item-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;outline:none;cursor:pointer;position:relative;}.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140:hover{background-color:var(--plasma-calendar-selectable-item-bg-hover);}.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140.CalendarYears_styles_f2aje6_itemHovered__599b4140,.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140.CalendarYears_styles_f2aje6_itemHovered__599b4140:hover{background-color:var(--plasma-calendar-selected-item-background);color:var(--plasma-calendar-selected-item-color);cursor:pointer;font-weight:var(--plasma-calendar-year-selected-font-weight);}.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140.CalendarYears_styles_f2aje6_itemSelected__599b4140:not(.CalendarYears_styles_f2aje6_itemCurrent__599b4140){border:0;background-color:var(--plasma-calendar-selected-item-background);color:var(--plasma-calendar-selected-item-color);cursor:default;font-weight:var(--plasma-calendar-year-selected-font-weight);}.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140:active{background-color:var(--plasma-calendar-active-item-bg);color:var(--plasma-calendar-active-item-color);font-weight:var(--plasma-calendar-year-selected-font-weight);}.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140.CalendarYears_styles_f2aje6_itemCurrent__599b4140{border:0.063rem solid var(--plasma-calendar-current-item-border-color);}.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140.CalendarYears_styles_f2aje6_itemCurrent__599b4140.CalendarYears_styles_f2aje6_itemSelected__599b4140{background-color:initial;color:var(--plasma-calendar-selected-item-color);font-weight:var(--plasma-calendar-year-selected-font-weight);}.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140.CalendarYears_styles_f2aje6_itemCurrent__599b4140.CalendarYears_styles_f2aje6_itemSelected__599b4140 > div:first-of-type{background-color:var(--plasma-calendar-selected-item-background);min-width:calc(var(--plasma-calendar-year-item-width) - 0.25rem);min-height:calc(var(--plasma-calendar-year-item-height) - 0.25rem);}.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140::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-year-item-border-radius) + 0.125rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140.CalendarYears_styles_f2aje6_focusVisible__599b4140:focus::before,.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140.CalendarYears_styles_f2aje6_itemCurrent__599b4140{position:relative;}.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140.CalendarYears_styles_f2aje6_itemCurrent__599b4140::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-year-item-border-radius) - 0.125rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140.CalendarYears_styles_f2aje6_itemCurrent__599b4140.CalendarYears_styles_f2aje6_focusVisible__599b4140:focus::before,.CalendarYears_styles_f2aje6_s1fgpu0g__599b4140.CalendarYears_styles_f2aje6_itemCurrent__599b4140[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}
3
+ .index_o3bz9l_bd8av9p__81d630c3{border:none;background-color:transparent;padding:0;outline:none;position:relative;}.index_o3bz9l_bd8av9p__81d630c3::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:0.563rem;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.index_o3bz9l_bd8av9p__81d630c3.index_o3bz9l_focusVisible__81d630c3:focus::before,.index_o3bz9l_bd8av9p__81d630c3[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}
4
+
5
+ .CalendarHeader_styles_1c4p417_sjaqipy__deb51ed8{padding:1rem 1.5rem 0;font-family:var(--plasma-calendar-header-font-family);font-size:var(--plasma-calendar-header-font-size);font-style:var(--plasma-calendar-header-font-style);font-weight:var(--plasma-calendar-header-font-weight-bold);-webkit-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);-moz-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);-ms-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);letter-spacing:var(--plasma-calendar-header-font-letter-spacing);line-height:var(--plasma-calendar-header-line-height);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
6
+ .CalendarHeader_styles_1c4p417_s1k7jebr__deb51ed8{color:var(--plasma-calendar-content-primary-color);cursor:pointer;padding:0.5rem 0;font-family:var(--plasma-calendar-header-font-family);font-size:var(--plasma-calendar-header-font-size);font-style:var(--plasma-calendar-header-font-style);font-weight:var(--plasma-calendar-header-font-weight-bold);-webkit-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);-moz-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);-ms-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);letter-spacing:var(--plasma-calendar-header-font-letter-spacing);line-height:var(--plasma-calendar-header-line-height);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
7
+ .CalendarHeader_styles_1c4p417_s1b07tlr__deb51ed8{font-family:var(--plasma-calendar-header-font-family);font-size:var(--plasma-calendar-header-font-size);font-style:var(--plasma-calendar-header-font-style);font-weight:var(--plasma-calendar-header-font-weight-bold);-webkit-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);-moz-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);-ms-letter-spacing:var(--plasma-calendar-header-font-letter-spacing);letter-spacing:var(--plasma-calendar-header-font-letter-spacing);line-height:var(--plasma-calendar-header-line-height);margin-top:0;margin-bottom:0;padding:0.5rem 0;-webkit-flex:1;-ms-flex:1;flex:1;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;}.CalendarHeader_styles_1c4p417_s1b07tlr__deb51ed8:first-of-type{margin-right:3rem;}.CalendarHeader_styles_1c4p417_s1b07tlr__deb51ed8:last-of-type{margin-left:3rem;}
8
+ .CalendarHeader_styles_1c4p417_s13yvda3__deb51ed8{padding:0.5rem 0;width:var(--plasma-calendar-arrow-container-width);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
9
+ .CalendarHeader_styles_1c4p417_s1i8jkj2__deb51ed8{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;cursor:pointer;}
10
+ .CalendarHeader_styles_1c4p417_sw3by8z__deb51ed8{width:100%;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;}
11
+
12
+ .CalendarDayItem_styles_xf9c5e_sotsbos__95ac98f6{border-radius:0.375rem;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;}.CalendarDayItem_styles_xf9c5e_sotsbos__95ac98f6.CalendarDayItem_styles_xf9c5e_dayInRange__95ac98f6:before{content:'';z-index:-1;position:absolute;width:2.5rem;height:1.875rem;background:var(--plasma-calendar-range-background);}.CalendarDayItem_styles_xf9c5e_sotsbos__95ac98f6.CalendarDayItem_styles_xf9c5e_daySideInRange__95ac98f6:before{content:'';z-index:-1;position:absolute;width:0.313rem;height:1.875rem;background:var(--plasma-calendar-range-background);}.CalendarDayItem_styles_xf9c5e_sotsbos__95ac98f6.CalendarDayItem_styles_xf9c5e_daySideLeft__95ac98f6:before{left:var(--sotsbos-0);}.CalendarDayItem_styles_xf9c5e_sotsbos__95ac98f6.CalendarDayItem_styles_xf9c5e_daySideRight__95ac98f6:before{right:var(--sotsbos-0);}
13
+ .CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6{font-family:var(--plasma-calendar-day-font-family);font-size:var(--plasma-calendar-day-font-size);font-style:var(--plasma-calendar-day-font-style);font-weight:var(--plasma-calendar-day-font-weight);-webkit-letter-spacing:var(--plasma-calendar-day-font-letter-spacing);-moz-letter-spacing:var(--plasma-calendar-day-font-letter-spacing);-ms-letter-spacing:var(--plasma-calendar-day-font-letter-spacing);letter-spacing:var(--plasma-calendar-day-font-letter-spacing);line-height:var(--plasma-calendar-day-line-height);position:relative;box-sizing:border-box;min-width:2.5rem;min-height:2rem;border-radius:var(--plasma-calendar-item-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(--smv00b5-0);visibility:var(--smv00b5-1);}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6{--calendar_private-selected-min-width:2.25rem;--calendar_private-selected-min-height:1.75rem;--calendar_private-selected-background:var(--plasma-calendar-selected-item-background);--calendar_private-selected-color:var(--plasma-calendar-selected-item-color);--calendar_private-selectable-background-hover:var(--plasma-calendar-selectable-item-bg-hover);--calendar_private-current-border-color:var(--plasma-calendar-current-item-border-color);--calendar_private-current-background-hover:var(--plasma-calendar-current-item-bg-hover);--calendar_private-current-color-hover:var(--plasma-calendar-current-item-color-hover);--calendar_private-current-child-background-hover:var(--plasma-calendar-current-item-child-bg-hover);--calendar_private-active-background:var(--plasma-calendar-active-item-bg);--calendar_private-active-color:var(--plasma-calendar-active-item-color);--calendar_private-hovered-background:var(--plasma-calendar-hovered-item-bg);--calendar_private-hovered-color:var(--plasma-calendar-hovered-item-color);position:relative;outline:none;cursor:pointer;}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6::before{content:'';position:absolute;top:-0.063rem;left:-0.063rem;right:-0.063rem;bottom:-0.063rem;z-index:1;display:block;box-sizing:content-box;border:0.063rem solid transparent;border-radius:0.563rem;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6.CalendarDayItem_styles_xf9c5e_focusVisible__95ac98f6:focus::before,.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6:hover:not(.CalendarDayItem_styles_xf9c5e_itemSelected__95ac98f6){background-color:var(--calendar_private-selectable-background-hover);}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6:hover:not(.CalendarDayItem_styles_xf9c5e_itemSelected__95ac98f6):active{background-color:var(--calendar_private-active-background);color:var(--calendar_private-active-color);font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelected__95ac98f6{border:0;background-color:var(--calendar_private-selected-background);color:var(--calendar_private-selected-color);cursor:default;font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6.CalendarDayItem_styles_xf9c5e_itemCurrent__95ac98f6{border:0.063rem solid var(--calendar_private-current-border-color);}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6.CalendarDayItem_styles_xf9c5e_itemCurrent__95ac98f6:not(.CalendarDayItem_styles_xf9c5e_itemSelected__95ac98f6):hover{background-color:var(--calendar_private-current-background-hover);color:var(--calendar_private-current-color-hover);}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6.CalendarDayItem_styles_xf9c5e_itemCurrent__95ac98f6:not(.CalendarDayItem_styles_xf9c5e_itemSelected__95ac98f6):hover > div:first-of-type{background-color:var(--calendar_private-current-child-background-hover);min-width:var(--calendar_private-selected-min-width);min-height:var(--calendar_private-selected-min-height);}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6.CalendarDayItem_styles_xf9c5e_itemCurrent__95ac98f6:not(.CalendarDayItem_styles_xf9c5e_itemSelected__95ac98f6):hover:active{background-color:var(--calendar_private-active-background);color:var(--calendar_private-active-color);font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6.CalendarDayItem_styles_xf9c5e_itemHovered__95ac98f6,.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6.CalendarDayItem_styles_xf9c5e_itemHovered__95ac98f6:hover{background-color:var(--calendar_private-hovered-background);color:var(--calendar_private-hovered-color);cursor:pointer;font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6.CalendarDayItem_styles_xf9c5e_itemHovered__95ac98f6:active,.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6.CalendarDayItem_styles_xf9c5e_itemHovered__95ac98f6:hover:active{background-color:var(--calendar_private-active-background);color:var(--calendar_private-active-color);font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_itemSelectable__95ac98f6:active{background-color:var(--calendar_private-active-background);color:var(--calendar_private-active-color);font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_dayOfWeek__95ac98f6{color:var(--plasma-colors-tertiary);}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_dayDisabled__95ac98f6{cursor:not-allowed;opacity:0.4;position:relative;}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_dayDisabled__95ac98f6::before{content:'';position:absolute;top:-0.063rem;left:-0.063rem;right:-0.063rem;bottom:-0.063rem;z-index:1;display:block;box-sizing:content-box;border:0.063rem solid transparent;border-radius:0.563rem;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_dayDisabled__95ac98f6.CalendarDayItem_styles_xf9c5e_focusVisible__95ac98f6:focus::before,.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_dayDisabled__95ac98f6[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_dayDisabledCurrent__95ac98f6{cursor:not-allowed;opacity:0.4;position:relative;--calendar_private-add-focus-outline-offset:0.125rem;}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_dayDisabledCurrent__95ac98f6::before{content:'';position:absolute;top:-0.063rem;left:-0.063rem;right:-0.063rem;bottom:-0.063rem;z-index:1;display:block;box-sizing:content-box;border:0.063rem solid transparent;border-radius:0.563rem;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_dayDisabledCurrent__95ac98f6.CalendarDayItem_styles_xf9c5e_focusVisible__95ac98f6:focus::before,.CalendarDayItem_styles_xf9c5e_smv00b5__95ac98f6.CalendarDayItem_styles_xf9c5e_dayDisabledCurrent__95ac98f6[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}
14
+ .CalendarDayItem_styles_xf9c5e_s58etsc__95ac98f6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:absolute;bottom:0.25rem;}
15
+ .CalendarDayItem_styles_xf9c5e_say0ota__95ac98f6{margin:0 0.063rem;width:0.188rem;height:0.188rem;border-radius:50%;background-color:var(--say0ota-0);}
16
+
17
+ .CalendarDays_styles_bnrjbd_s1jnjaxw__ecb9e72f{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;}
18
+ .CalendarDays_styles_bnrjbd_s1rv3pd5__ecb9e72f{outline:none;padding:0.5rem 1rem 1.5rem;box-sizing:border-box;}
19
+ .CalendarDays_styles_bnrjbd_scupvll__ecb9e72f{display:none;}
20
+
21
+ .CalendarMonths_styles_1jnzviu_s2fb05v__623e79aa{padding:0.5rem 1.5rem 1.5rem;box-sizing:border-box;}
22
+ .CalendarMonths_styles_1jnzviu_s1nlg4aa__623e79aa{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;}
23
+ .CalendarMonths_styles_1jnzviu_s1cvx4bk__623e79aa{border-radius:0.438rem;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;}
24
+ .CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa{font-family:var(--plasma-calendar-month-font-family);font-size:var(--plasma-calendar-month-font-size);font-style:var(--plasma-calendar-month-font-style);font-weight:var(--plasma-calendar-month-font-weight);-webkit-letter-spacing:var(--plasma-calendar-month-font-letter-spacing);-moz-letter-spacing:var(--plasma-calendar-month-font-letter-spacing);-ms-letter-spacing:var(--plasma-calendar-month-font-letter-spacing);letter-spacing:var(--plasma-calendar-month-font-letter-spacing);line-height:var(--plasma-calendar-month-line-height);position:relative;box-sizing:border-box;min-height:3.5rem;border-radius:var(--plasma-calendar-item-border-radius);-webkit-flex:1;-ms-flex:1;flex:1;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;position:relative;--calendar_private-selected-min-width:5.25rem;--calendar_private-selected-min-height:3.25rem;--calendar_private-selected-background:var(--plasma-calendar-selected-item-background);--calendar_private-selected-color:var(--plasma-calendar-selected-item-color);--calendar_private-selectable-background-hover:var(--plasma-calendar-selectable-item-bg-hover);--calendar_private-current-border-color:var(--plasma-calendar-current-item-border-color);--calendar_private-current-background-hover:var(--plasma-calendar-current-item-bg-hover);--calendar_private-current-color-hover:var(--plasma-calendar-current-item-color-hover);--calendar_private-current-child-background-hover:var(--plasma-calendar-current-item-child-bg-hover);--calendar_private-active-background:var(--plasma-calendar-active-item-bg);--calendar_private-active-color-hover:var(--plasma-calendar-active-item-color);--calendar_private-hovered-background:var(--plasma-calendar-hovered-item-bg);--calendar_private-hovered-color:var(--plasma-calendar-hovered-item-color);outline:none;cursor:pointer;}.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa::before{content:'';position:absolute;top:-0.063rem;left:-0.063rem;right:-0.063rem;bottom:-0.063rem;z-index:1;display:block;box-sizing:content-box;border:0.063rem solid transparent;border-radius:0.563rem;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa.CalendarMonths_styles_1jnzviu_focusVisible__623e79aa:focus::before,.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa:hover:not(.CalendarMonths_styles_1jnzviu_itemSelected__623e79aa){background-color:var(--calendar_private-selectable-background-hover);}.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa:hover:not(.CalendarMonths_styles_1jnzviu_itemSelected__623e79aa):active{background-color:var(--calendar_private-active-background);color:var(--calendar_private-active-color);font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa.CalendarMonths_styles_1jnzviu_itemSelected__623e79aa{border:0;background-color:var(--calendar_private-selected-background);color:var(--calendar_private-selected-color);cursor:default;font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa.CalendarMonths_styles_1jnzviu_itemCurrent__623e79aa{border:0.063rem solid var(--calendar_private-current-border-color);}.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa.CalendarMonths_styles_1jnzviu_itemCurrent__623e79aa:not(.CalendarMonths_styles_1jnzviu_itemSelected__623e79aa):hover{background-color:var(--calendar_private-current-background-hover);color:var(--calendar_private-current-color-hover);}.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa.CalendarMonths_styles_1jnzviu_itemCurrent__623e79aa:not(.CalendarMonths_styles_1jnzviu_itemSelected__623e79aa):hover > div:first-of-type{background-color:var(--calendar_private-current-child-background-hover);min-width:var(--calendar_private-selected-min-width);min-height:var(--calendar_private-selected-min-height);}.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa.CalendarMonths_styles_1jnzviu_itemCurrent__623e79aa:not(.CalendarMonths_styles_1jnzviu_itemSelected__623e79aa):hover:active{background-color:var(--calendar_private-active-background);color:var(--calendar_private-active-color);font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa.CalendarMonths_styles_1jnzviu_itemHovered__623e79aa,.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa.CalendarMonths_styles_1jnzviu_itemHovered__623e79aa:hover{background-color:var(--calendar_private-hovered-background);color:var(--calendar_private-hovered-color);cursor:pointer;font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa.CalendarMonths_styles_1jnzviu_itemHovered__623e79aa:active,.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa.CalendarMonths_styles_1jnzviu_itemHovered__623e79aa:hover:active{background-color:var(--calendar_private-active-background);color:var(--calendar_private-active-color);font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarMonths_styles_1jnzviu_s14caaqm__623e79aa:active{background-color:var(--calendar_private-active-background);color:var(--calendar_private-active-color);font-weight:var(--plasma-typo-body-s-bold-font-weight);}
25
+
26
+ .CalendarYears_styles_1lubnwe_sq90exc__a926589b{padding:0.5rem 1.5rem 1.5rem;box-sizing:border-box;}
27
+ .CalendarYears_styles_1lubnwe_sp45mzt__a926589b{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;}
28
+ .CalendarYears_styles_1lubnwe_s1rv7a6a__a926589b{border-radius:0.438rem;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;}
29
+ .CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b{font-family:var(--plasma-calendar-year-font-family);font-size:var(--plasma-calendar-year-font-size);font-style:var(--plasma-calendar-year-font-style);font-weight:var(--plasma-calendar-year-font-weight);-webkit-letter-spacing:var(--plasma-calendar-year-font-letter-spacing);-moz-letter-spacing:var(--plasma-calendar-year-font-letter-spacing);-ms-letter-spacing:var(--plasma-calendar-year-font-letter-spacing);letter-spacing:var(--plasma-calendar-year-font-letter-spacing);line-height:var(--plasma-calendar-year-line-height);position:relative;box-sizing:border-box;min-height:3.5rem;border-radius:var(--plasma-calendar-item-border-radius);-webkit-flex:1;-ms-flex:1;flex:1;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;position:relative;--calendar_private-selected-min-width:5.25rem;--calendar_private-selected-min-height:3.25rem;--calendar_private-selected-background:var(--plasma-calendar-selected-item-background);--calendar_private-selected-color:var(--plasma-calendar-selected-item-color);--calendar_private-selectable-background-hover:var(--plasma-calendar-selectable-item-bg-hover);--calendar_private-current-border-color:var(--plasma-calendar-current-item-border-color);--calendar_private-current-background-hover:var(--plasma-calendar-current-item-bg-hover);--calendar_private-current-color-hover:var(--plasma-calendar-current-item-color-hover);--calendar_private-current-child-background-hover:var(--plasma-calendar-current-item-child-bg-hover);--calendar_private-active-background:var(--plasma-calendar-active-item-bg);--calendar_private-active-color:var(--plasma-calendar-active-item-color);--calendar_private-hovered-background:var(--plasma-calendar-hovered-item-bg);--calendar_private-hovered-color:var(--plasma-calendar-hovered-item-color);outline:none;cursor:pointer;}.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b::before{content:'';position:absolute;top:-0.063rem;left:-0.063rem;right:-0.063rem;bottom:-0.063rem;z-index:1;display:block;box-sizing:content-box;border:0.063rem solid transparent;border-radius:0.563rem;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b.CalendarYears_styles_1lubnwe_focusVisible__a926589b:focus::before,.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b:hover:not(.CalendarYears_styles_1lubnwe_itemSelected__a926589b){background-color:var(--calendar_private-selectable-background-hover);}.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b:hover:not(.CalendarYears_styles_1lubnwe_itemSelected__a926589b):active{background-color:var(--calendar_private-active-background);color:var(--calendar_private-active-color);font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b.CalendarYears_styles_1lubnwe_itemSelected__a926589b{border:0;background-color:var(--calendar_private-selected-background);color:var(--calendar_private-selected-color);cursor:default;font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b.CalendarYears_styles_1lubnwe_itemCurrent__a926589b{border:0.063rem solid var(--calendar_private-current-border-color);}.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b.CalendarYears_styles_1lubnwe_itemCurrent__a926589b:not(.CalendarYears_styles_1lubnwe_itemSelected__a926589b):hover{background-color:var(--calendar_private-current-background-hover);color:var(--calendar_private-current-color-hover);}.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b.CalendarYears_styles_1lubnwe_itemCurrent__a926589b:not(.CalendarYears_styles_1lubnwe_itemSelected__a926589b):hover > div:first-of-type{background-color:var(--calendar_private-current-child-background-hover);min-width:var(--calendar_private-selected-min-width);min-height:var(--calendar_private-selected-min-height);}.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b.CalendarYears_styles_1lubnwe_itemCurrent__a926589b:not(.CalendarYears_styles_1lubnwe_itemSelected__a926589b):hover:active{background-color:var(--calendar_private-active-background);color:var(--calendar_private-active-color);font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b.CalendarYears_styles_1lubnwe_itemHovered__a926589b,.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b.CalendarYears_styles_1lubnwe_itemHovered__a926589b:hover{background-color:var(--calendar_private-hovered-background);color:var(--calendar_private-hovered-color);cursor:pointer;font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b.CalendarYears_styles_1lubnwe_itemHovered__a926589b:active,.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b.CalendarYears_styles_1lubnwe_itemHovered__a926589b:hover:active{background-color:var(--calendar_private-active-background);color:var(--calendar_private-active-color);font-weight:var(--plasma-typo-body-s-bold-font-weight);}.CalendarYears_styles_1lubnwe_s1fgpu0g__a926589b:active{background-color:var(--calendar_private-active-background);color:var(--calendar_private-active-color);font-weight:var(--plasma-typo-body-s-bold-font-weight);}
58
30
 
59
31
  .base_ds2lcv_bw5u18k__536fbc96{background:var(--plasma-calendar-background);}
60
32
 
61
- .CalendarBase_styles_1m6uih1_s154tyhv__d2ba08f9{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1;width:var(--plasma-calendar-width);height:var(--plasma-calendar-height);}
62
- .CalendarBase_styles_1m6uih1_i1hf4g69__d2ba08f9{position:absolute;padding:0;margin:0;height:0;width:0;border:0;overflow:hidden;-webkit-clip:rect(0 0 0 0);clip:rect(0 0 0 0);}
33
+ .CalendarBase_styles_rv9ax9_s154tyhv__2db45c6c{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1;width:19.5rem;height:19.5rem;}
34
+ .CalendarBase_styles_rv9ax9_i1hf4g69__2db45c6c{position:absolute;padding:0;margin:0;height:0;width:0;border:0;overflow:hidden;-webkit-clip:rect(0 0 0 0);clip:rect(0 0 0 0);}
@@ -213,11 +213,6 @@ var calendarBaseRoot = function calendarBaseRoot(Root) {
213
213
  });
214
214
  onKeyDown(event);
215
215
  }, [onKeyDown]);
216
- React.useEffect(function () {
217
- if (!prevValue) {
218
- setPrevValue(value);
219
- }
220
- }, [value, prevValue]);
221
216
  return /*#__PURE__*/React.createElement(Root, _rollupPluginBabelHelpers.extends({
222
217
  ref: outerRootRef,
223
218
  "aria-label": "\u0412\u044B\u0431\u043E\u0440 \u0434\u0430\u0442\u044B"
@@ -228,7 +223,6 @@ var calendarBaseRoot = function calendarBaseRoot(Root) {
228
223
  "aria-live": "assertive",
229
224
  "aria-relevant": "additions"
230
225
  }, "\u0414\u0430\u043B\u0435\u0435 \u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0434\u0430\u0442."), /*#__PURE__*/React.createElement(CalendarHeader.CalendarHeader, {
231
- size: rest.size,
232
226
  firstDate: date,
233
227
  startYear: startYear,
234
228
  type: calendarState,
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarBase.js","sources":["../../../../src/components/Calendar/CalendarBase/CalendarBase.tsx"],"sourcesContent":["import React, {\n useCallback,\n useMemo,\n useReducer,\n useState,\n KeyboardEvent,\n HTMLAttributes,\n forwardRef,\n useEffect,\n} from 'react';\n\nimport type { Calendar, DateObject, UseKeyNavigationProps } from '../Calendar.types';\nimport type { CalendarStateType } from '../store/types';\nimport { getInitialState, reducer } from '../store/reducer';\nimport { ActionType, CalendarState } from '../store/types';\nimport { isValueUpdate, YEAR_RENDER_COUNT } from '../utils';\nimport { useKeyNavigation } from '../hooks';\nimport { CalendarDays, CalendarHeader, CalendarMonths, CalendarYears } from '../ui';\nimport { RootProps } from '../../../engines';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { IsOutOfRange, StyledCalendar } from './CalendarBase.styles';\n\nexport type CalendarBaseProps = Calendar & {\n /**\n * Тип отображения календаря: дни, месяца, года.\n */\n type?: CalendarStateType;\n /**\n * Размер календаря.\n */\n size?: string;\n /**\n * Вид календаря.\n */\n view?: string;\n};\n\n/**\n * Компонент календаря.\n */\nexport const calendarBaseRoot = (Root: RootProps<HTMLDivElement, HTMLAttributes<HTMLDivElement>>) =>\n forwardRef<HTMLDivElement, CalendarBaseProps>(\n (\n {\n value: externalValue,\n min,\n max,\n includeEdgeDates,\n type = 'Days',\n eventList,\n disabledList,\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 const [hoveredDay, setHoveredDay] = 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 [state, dispatch] = useReducer(reducer, getInitialState(value, [5, 6], type));\n\n const { date, calendarState, startYear, size } = state;\n\n const handlePrev = useCallback<UseKeyNavigationProps['onPrev']>(\n (withShift = false) => {\n if (calendarState === CalendarState.Days) {\n if (withShift) {\n dispatch({\n type: ActionType.PREVIOUS_YEAR,\n payload: { step: 1 },\n });\n\n return;\n }\n\n dispatch({\n type: ActionType.PREVIOUS_MONTH,\n payload: { monthIndex: date.monthIndex, year: date.year },\n });\n\n return;\n }\n\n if (calendarState === CalendarState.Months) {\n dispatch({ type: ActionType.PREVIOUS_YEAR, payload: { step: 1 } });\n\n return;\n }\n\n if (calendarState === CalendarState.Years) {\n dispatch({ type: ActionType.PREVIOUS_START_YEAR, payload: { yearsCount: YEAR_RENDER_COUNT } });\n }\n },\n [date, calendarState],\n );\n\n const handleNext = useCallback<UseKeyNavigationProps['onNext']>(\n (withShift = false) => {\n if (calendarState === CalendarState.Days) {\n if (withShift) {\n dispatch({\n type: ActionType.NEXT_YEAR,\n payload: { step: 1 },\n });\n\n return;\n }\n\n dispatch({\n type: ActionType.NEXT_MONTH,\n payload: { monthIndex: date.monthIndex, year: date.year },\n });\n\n return;\n }\n\n if (calendarState === CalendarState.Months) {\n dispatch({ type: ActionType.NEXT_YEAR, payload: { step: 1 } });\n\n return;\n }\n\n if (calendarState === CalendarState.Years) {\n dispatch({ type: ActionType.NEXT_START_YEAR, payload: { yearsCount: YEAR_RENDER_COUNT } });\n }\n },\n [date, calendarState],\n );\n\n const [selectIndexes, onKeyDown, onSelectIndexes, outerRefs, isOutOfRange] = useKeyNavigation({\n size,\n onNext: handleNext,\n onPrev: handlePrev,\n });\n\n const handleOnChangeDay = useCallback(\n (newDate: DateObject, coord: number[]) => {\n const newDay = new Date(newDate.year, newDate.monthIndex, newDate.day);\n onChangeValue?.(newDay);\n\n onSelectIndexes(coord);\n },\n [onChangeValue, onSelectIndexes],\n );\n\n const handleOnChangeMonth = useCallback((monthIndex: number) => {\n dispatch({\n type: ActionType.UPDATE_MONTH,\n payload: { calendarState: CalendarState.Days, monthIndex, size: [5, 6] },\n });\n }, []);\n\n const handleOnChangeYear = useCallback((year: number) => {\n dispatch({\n type: ActionType.UPDATE_YEAR,\n payload: { calendarState: CalendarState.Months, year },\n });\n }, []);\n\n const handleUpdateCalendarState = useCallback(\n (newCalendarState: CalendarStateType, newSize: [number, number]) => {\n dispatch({\n type: ActionType.UPDATE_CALENDAR_STATE,\n payload: { calendarState: newCalendarState, size: newSize },\n });\n },\n [],\n );\n\n if (value && prevValue && isValueUpdate(value, prevValue)) {\n dispatch({\n type: ActionType.UPDATE_DATE,\n payload: { value },\n });\n\n setPrevValue(value);\n }\n\n if (prevType !== type) {\n dispatch({\n type: ActionType.UPDATE_CALENDAR_STATE,\n payload: { calendarState: type },\n });\n\n setPrevType(type);\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 (!prevValue) {\n setPrevValue(value);\n }\n }, [value, prevValue]);\n\n return (\n <Root ref={outerRootRef} aria-label=\"Выбор даты\" {...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 size={rest.size}\n firstDate={date}\n startYear={startYear}\n type={calendarState}\n onPrev={handlePrev}\n onNext={handleNext}\n onUpdateCalendarState={handleUpdateCalendarState}\n />\n {calendarState === CalendarState.Days && (\n <CalendarDays\n eventList={eventList}\n disabledList={disabledList}\n min={min}\n max={max}\n includeEdgeDates={includeEdgeDates}\n value={externalValue}\n date={date}\n hoveredDay={hoveredDay}\n selectIndexes={selectIndexes}\n onChangeDay={handleOnChangeDay}\n onHoverDay={setHoveredDay}\n onSetSelected={onSelectIndexes}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n />\n )}\n {calendarState === CalendarState.Months && (\n <CalendarMonths\n date={date}\n selectIndexes={selectIndexes}\n onChangeMonth={handleOnChangeMonth}\n onSetSelected={onSelectIndexes}\n onKeyDown={onKeyDown}\n outerRefs={outerRefs}\n />\n )}\n {calendarState === CalendarState.Years && (\n <CalendarYears\n date={date}\n startYear={startYear}\n selectIndexes={selectIndexes}\n onChangeYear={handleOnChangeYear}\n onSetSelected={onSelectIndexes}\n onKeyDown={onKeyDown}\n outerRefs={outerRefs}\n />\n )}\n </Root>\n );\n },\n );\n\nexport const calendarBaseConfig = {\n name: 'CalendarBase',\n tag: 'div',\n layout: calendarBaseRoot,\n base: StyledCalendar,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'primary',\n size: 'm',\n },\n};\n"],"names":["calendarBaseRoot","Root","forwardRef","_ref","outerRootRef","externalValue","value","min","max","includeEdgeDates","_ref$type","type","eventList","disabledList","onChangeValue","rest","_objectWithoutProperties","_excluded","_useMemo","useMemo","Array","isArray","_useMemo2","_slicedToArray","firstValue","secondValue","_useState","useState","_useState2","hoveredDay","setHoveredDay","_useState3","_useState4","prevType","setPrevType","_useState5","_useState6","prevValue","setPrevValue","_useState7","_useState8","outOfRangeKey","setOutOfRangeKey","_useReducer","useReducer","reducer","getInitialState","_useReducer2","state","dispatch","date","calendarState","startYear","size","handlePrev","useCallback","withShift","arguments","length","undefined","CalendarState","Days","ActionType","PREVIOUS_YEAR","payload","step","PREVIOUS_MONTH","monthIndex","year","Months","Years","PREVIOUS_START_YEAR","yearsCount","YEAR_RENDER_COUNT","handleNext","NEXT_YEAR","NEXT_MONTH","NEXT_START_YEAR","_useKeyNavigation","useKeyNavigation","onNext","onPrev","_useKeyNavigation2","selectIndexes","onKeyDown","onSelectIndexes","outerRefs","isOutOfRange","handleOnChangeDay","newDate","coord","newDay","Date","day","handleOnChangeMonth","UPDATE_MONTH","handleOnChangeYear","UPDATE_YEAR","handleUpdateCalendarState","newCalendarState","newSize","UPDATE_CALENDAR_STATE","isValueUpdate","UPDATE_DATE","handleKeyDown","event","previousState","Number","useEffect","React","createElement","_extends","ref","IsOutOfRange","key","role","CalendarHeader","firstDate","onUpdateCalendarState","CalendarDays","onChangeDay","onHoverDay","onSetSelected","CalendarMonths","onChangeMonth","CalendarYears","onChangeYear","calendarBaseConfig","name","tag","layout","base","StyledCalendar","variations","view","css","viewCSS","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;AAuCA;AACA;AACA;IACaA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,IAA+D,EAAA;AAAA,EAAA,oBAC5FC,gBAAU,CACN,UAAAC,IAAA,EAYIC,YAAY,EACX;AAAA,IAAA,IAXUC,aAAa,GAAAF,IAAA,CAApBG,KAAK;MACLC,GAAG,GAAAJ,IAAA,CAAHI,GAAG;MACHC,GAAG,GAAAL,IAAA,CAAHK,GAAG;MACHC,gBAAgB,GAAAN,IAAA,CAAhBM,gBAAgB;MAAAC,SAAA,GAAAP,IAAA,CAChBQ,IAAI;AAAJA,MAAAA,IAAI,GAAAD,SAAA,KAAG,KAAA,CAAA,GAAA,MAAM,GAAAA,SAAA;MACbE,SAAS,GAAAT,IAAA,CAATS,SAAS;MACTC,YAAY,GAAAV,IAAA,CAAZU,YAAY;MACZC,aAAa,GAAAX,IAAA,CAAbW,aAAa;AACVC,MAAAA,IAAI,GAAAC,iDAAA,CAAAb,IAAA,EAAAc,SAAA,CAAA,CAAA;IAIX,IAAAC,QAAA,GAAkCC,aAAO,CACrC,YAAA;QAAA,OAAOC,KAAK,CAACC,OAAO,CAAChB,aAAa,CAAC,GAAGA,aAAa,GAAG,CAACA,aAAa,CAAC,CAAA;AAAA,OAAC,EACtE,CAACA,aAAa,CAClB,CAAC;MAAAiB,SAAA,GAAAC,uCAAA,CAAAL,QAAA,EAAA,CAAA,CAAA;AAHMM,MAAAA,UAAU,GAAAF,SAAA,CAAA,CAAA,CAAA;AAAEG,MAAAA,WAAW,GAAAH,SAAA,CAAA,CAAA,CAAA,CAAA;AA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AU;AACrBE,MAAAA,SAAS,EAAEA,SAAAA;AAAU,KACxB,CACJ,EACAnC,aAAa,KAAKS,mBAAa,CAACU,KAAK,iBAClCuC,KAAA,CAAAC,aAAA,CAACe,2BAAa,EAAA;AACV3E,MAAAA,IAAI,EAAEA,IAAK;AACXE,MAAAA,SAAS,EAAEA,SAAU;AACrB+B,MAAAA,aAAa,EAAEA,aAAc;AAC7B2C,MAAAA,YAAY,EAAE9B,kBAAmB;AACjC0B,MAAAA,aAAa,EAAErC,eAAgB;AAC/BD,MAAAA,SAAS,EAAEA,SAAU;AACrBE,MAAAA,SAAS,EAAEA,SAAAA;AAAU,KACxB,CAEH,CAAC,CAAA;AAEf,GACJ,CAAC,CAAA;AAAA,EAAA;AAEE,IAAMyC,kBAAkB,GAAG;AAC9BC,EAAAA,IAAI,EAAE,cAAc;AACpBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAElI,gBAAgB;AACxBmI,EAAAA,IAAI,EAAEC,kCAAc;AACpBC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,SAAAA;KACR;AACDnF,IAAAA,IAAI,EAAE;AACFkF,MAAAA,GAAG,EAAEE,WAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNJ,IAAAA,IAAI,EAAE,SAAS;AACfjF,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
1
+ {"version":3,"file":"CalendarBase.js","sources":["../../../../src/components/Calendar/CalendarBase/CalendarBase.tsx"],"sourcesContent":["import React, { useCallback, useMemo, useReducer, useState, KeyboardEvent, HTMLAttributes, forwardRef } from 'react';\n\nimport type { Calendar, DateObject, UseKeyNavigationProps } from '../Calendar.types';\nimport type { CalendarStateType } from '../store/types';\nimport { getInitialState, reducer } from '../store/reducer';\nimport { ActionType, CalendarState } from '../store/types';\nimport { isValueUpdate, YEAR_RENDER_COUNT } from '../utils';\nimport { useKeyNavigation } from '../hooks';\nimport { CalendarDays, CalendarHeader, CalendarMonths, CalendarYears } from '../ui';\nimport { RootProps } from '../../../engines';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { IsOutOfRange, StyledCalendar } from './CalendarBase.styles';\n\nexport type CalendarBaseProps = HTMLAttributes<HTMLDivElement> &\n Calendar & {\n /**\n * Тип отображения календаря: дни, месяца, года.\n */\n type?: CalendarStateType;\n };\n\n/**\n * Компонент календаря.\n */\nexport const calendarBaseRoot = (Root: RootProps<HTMLDivElement, HTMLAttributes<HTMLDivElement>>) =>\n forwardRef<HTMLDivElement, CalendarBaseProps>(\n (\n {\n value: externalValue,\n min,\n max,\n includeEdgeDates,\n type = 'Days',\n eventList,\n disabledList,\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 const [hoveredDay, setHoveredDay] = 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 [state, dispatch] = useReducer(reducer, getInitialState(value, [5, 6], type));\n\n const { date, calendarState, startYear, size } = state;\n\n const handlePrev = useCallback<UseKeyNavigationProps['onPrev']>(\n (withShift = false) => {\n if (calendarState === CalendarState.Days) {\n if (withShift) {\n dispatch({\n type: ActionType.PREVIOUS_YEAR,\n payload: { step: 1 },\n });\n\n return;\n }\n\n dispatch({\n type: ActionType.PREVIOUS_MONTH,\n payload: { monthIndex: date.monthIndex, year: date.year },\n });\n\n return;\n }\n\n if (calendarState === CalendarState.Months) {\n dispatch({ type: ActionType.PREVIOUS_YEAR, payload: { step: 1 } });\n\n return;\n }\n\n if (calendarState === CalendarState.Years) {\n dispatch({ type: ActionType.PREVIOUS_START_YEAR, payload: { yearsCount: YEAR_RENDER_COUNT } });\n }\n },\n [date, calendarState],\n );\n\n const handleNext = useCallback<UseKeyNavigationProps['onNext']>(\n (withShift = false) => {\n if (calendarState === CalendarState.Days) {\n if (withShift) {\n dispatch({\n type: ActionType.NEXT_YEAR,\n payload: { step: 1 },\n });\n\n return;\n }\n\n dispatch({\n type: ActionType.NEXT_MONTH,\n payload: { monthIndex: date.monthIndex, year: date.year },\n });\n\n return;\n }\n\n if (calendarState === CalendarState.Months) {\n dispatch({ type: ActionType.NEXT_YEAR, payload: { step: 1 } });\n\n return;\n }\n\n if (calendarState === CalendarState.Years) {\n dispatch({ type: ActionType.NEXT_START_YEAR, payload: { yearsCount: YEAR_RENDER_COUNT } });\n }\n },\n [date, calendarState],\n );\n\n const [selectIndexes, onKeyDown, onSelectIndexes, outerRefs, isOutOfRange] = useKeyNavigation({\n size,\n onNext: handleNext,\n onPrev: handlePrev,\n });\n\n const handleOnChangeDay = useCallback(\n (newDate: DateObject, coord: number[]) => {\n const newDay = new Date(newDate.year, newDate.monthIndex, newDate.day);\n onChangeValue?.(newDay);\n\n onSelectIndexes(coord);\n },\n [onChangeValue, onSelectIndexes],\n );\n\n const handleOnChangeMonth = useCallback((monthIndex: number) => {\n dispatch({\n type: ActionType.UPDATE_MONTH,\n payload: { calendarState: CalendarState.Days, monthIndex, size: [5, 6] },\n });\n }, []);\n\n const handleOnChangeYear = useCallback((year: number) => {\n dispatch({\n type: ActionType.UPDATE_YEAR,\n payload: { calendarState: CalendarState.Months, year },\n });\n }, []);\n\n const handleUpdateCalendarState = useCallback(\n (newCalendarState: CalendarStateType, newSize: [number, number]) => {\n dispatch({\n type: ActionType.UPDATE_CALENDAR_STATE,\n payload: { calendarState: newCalendarState, size: newSize },\n });\n },\n [],\n );\n\n if (value && prevValue && isValueUpdate(value, prevValue)) {\n dispatch({\n type: ActionType.UPDATE_DATE,\n payload: { value },\n });\n\n setPrevValue(value);\n }\n\n if (prevType !== type) {\n dispatch({\n type: ActionType.UPDATE_CALENDAR_STATE,\n payload: { calendarState: type },\n });\n\n setPrevType(type);\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 return (\n <Root ref={outerRootRef} aria-label=\"Выбор даты\" {...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 firstDate={date}\n startYear={startYear}\n type={calendarState}\n onPrev={handlePrev}\n onNext={handleNext}\n onUpdateCalendarState={handleUpdateCalendarState}\n />\n {calendarState === CalendarState.Days && (\n <CalendarDays\n eventList={eventList}\n disabledList={disabledList}\n min={min}\n max={max}\n includeEdgeDates={includeEdgeDates}\n value={externalValue}\n date={date}\n hoveredDay={hoveredDay}\n selectIndexes={selectIndexes}\n onChangeDay={handleOnChangeDay}\n onHoverDay={setHoveredDay}\n onSetSelected={onSelectIndexes}\n onKeyDown={handleKeyDown}\n outerRefs={outerRefs}\n />\n )}\n {calendarState === CalendarState.Months && (\n <CalendarMonths\n date={date}\n selectIndexes={selectIndexes}\n onChangeMonth={handleOnChangeMonth}\n onSetSelected={onSelectIndexes}\n onKeyDown={onKeyDown}\n outerRefs={outerRefs}\n />\n )}\n {calendarState === CalendarState.Years && (\n <CalendarYears\n date={date}\n startYear={startYear}\n selectIndexes={selectIndexes}\n onChangeYear={handleOnChangeYear}\n onSetSelected={onSelectIndexes}\n onKeyDown={onKeyDown}\n outerRefs={outerRefs}\n />\n )}\n </Root>\n );\n },\n );\n\nexport const calendarBaseConfig = {\n name: 'CalendarBase',\n tag: 'div',\n layout: calendarBaseRoot,\n base: StyledCalendar,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'primary',\n size: 'm',\n },\n};\n"],"names":["calendarBaseRoot","Root","forwardRef","_ref","outerRootRef","externalValue","value","min","max","includeEdgeDates","_ref$type","type","eventList","disabledList","onChangeValue","rest","_objectWithoutProperties","_excluded","_useMemo","useMemo","Array","isArray","_useMemo2","_slicedToArray","firstValue","secondValue","_useState","useState","_useState2","hoveredDay","setHoveredDay","_useState3","_useState4","prevType","setPrevType","_useState5","_useState6","prevValue","setPrevValue","_useState7","_useState8","outOfRangeKey","setOutOfRangeKey","_useReducer","useReducer","reducer","getInitialState","_useReducer2","state","dispatch","date","calendarState","startYear","size","handlePrev","useCallback","withShift","arguments","length","undefined","CalendarState","Days","ActionType","PREVIOUS_YEAR","payload","step","PREVIOUS_MONTH","monthIndex","year","Months","Years","PREVIOUS_START_YEAR","yearsCount","YEAR_RENDER_COUNT","handleNext","NEXT_YEAR","NEXT_MONTH","NEXT_START_YEAR","_useKeyNavigation","useKeyNavigation","onNext","onPrev","_useKeyNavigation2","selectIndexes","onKeyDown","onSelectIndexes","outerRefs","isOutOfRange","handleOnChangeDay","newDate","coord","newDay","Date","day","handleOnChangeMonth","UPDATE_MONTH","handleOnChangeYear","UPDATE_YEAR","handleUpdateCalendarState","newCalendarState","newSize","UPDATE_CALENDAR_STATE","isValueUpdate","UPDATE_DATE","handleKeyDown","event","previousState","Number","React","createElement","_extends","ref","IsOutOfRange","key","role","CalendarHeader","firstDate","onUpdateCalendarState","CalendarDays","onChangeDay","onHoverDay","onSetSelected","CalendarMonths","onChangeMonth","CalendarYears","onChangeYear","calendarBaseConfig","name","tag","layout","base","StyledCalendar","variations","view","css","viewCSS","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;AAuBA;AACA;AACA;IACaA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,IAA+D,EAAA;AAAA,EAAA,oBAC5FC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I,gBAAgB;AACxBkI,EAAAA,IAAI,EAAEC,kCAAc;AACpBC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,SAAAA;KACR;AACDlF,IAAAA,IAAI,EAAE;AACFiF,MAAAA,GAAG,EAAEE,WAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNJ,IAAAA,IAAI,EAAE,SAAS;AACfhF,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
@@ -1,4 +1,4 @@
1
- import './CalendarBase.styles_1m6uih1.css';
1
+ import './CalendarBase.styles_rv9ax9.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });