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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (728) hide show
  1. package/cjs/components/Calendar/Calendar.tokens.js +64 -28
  2. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  3. package/cjs/components/Calendar/Calendar.types.js.map +1 -1
  4. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +57 -29
  5. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +6 -0
  6. package/cjs/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  7. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  8. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  9. package/cjs/components/Calendar/CalendarBase/{CalendarBase.styles_rv9ax9.css → CalendarBase.styles_1m6uih1.css} +1 -1
  10. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +58 -30
  11. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -0
  12. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  13. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +1 -1
  14. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js.map +1 -1
  15. package/cjs/components/Calendar/CalendarDouble/{CalendarDouble.styles_1rc2ejs.css → CalendarDouble.styles_e9ada0.css} +2 -2
  16. package/cjs/components/Calendar/hoc/withRange.js.map +1 -1
  17. package/cjs/components/Calendar/hooks/useDays.js +1 -1
  18. package/cjs/components/Calendar/hooks/useDays.js.map +1 -1
  19. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.css +4 -4
  20. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +9 -9
  21. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js.map +1 -1
  22. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_wuxgzs.css +4 -0
  23. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +7 -7
  24. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -1
  25. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
  26. package/cjs/components/Calendar/ui/CalendarDays/{CalendarDays.styles_bnrjbd.css → CalendarDays.styles_1oq8sud.css} +1 -1
  27. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +36 -8
  28. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +26 -17
  29. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  30. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +27 -12
  31. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  32. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1b92i4d.css +8 -0
  33. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  34. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  35. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  36. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +1 -1
  37. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
  38. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_7kz2z4.css +4 -0
  39. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  40. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  41. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  42. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +1 -1
  43. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
  44. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_hbv1kh.css +4 -0
  45. package/cjs/components/Calendar/utils/index.js.map +1 -1
  46. package/cjs/components/Combobox/Combobox.js +2 -2
  47. package/cjs/components/Combobox/Combobox.js.map +1 -1
  48. package/cjs/components/DatePicker/DatePicker.tokens.js +186 -0
  49. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -0
  50. package/cjs/components/DatePicker/DatePickerBase.styles.js +30 -0
  51. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -0
  52. package/cjs/components/DatePicker/DatePickerBase.styles_1u3oyx8.css +1 -0
  53. package/cjs/components/DatePicker/RangeDate/DatePicker.css +150 -0
  54. package/cjs/components/DatePicker/RangeDate/DatePicker.js +341 -0
  55. package/cjs/components/DatePicker/RangeDate/DatePicker.js.map +1 -0
  56. package/cjs/components/DatePicker/RangeDate/DatePicker.styles.js +39 -0
  57. package/cjs/components/DatePicker/RangeDate/DatePicker.styles.js.map +1 -0
  58. package/cjs/components/DatePicker/RangeDate/DatePicker.styles_1aihs63.css +3 -0
  59. package/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.css +142 -0
  60. package/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.js +52 -0
  61. package/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.js.map +1 -0
  62. package/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.js +32 -0
  63. package/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.js.map +1 -0
  64. package/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles_x3to15.css +1 -0
  65. package/cjs/components/{Accordion/variations/_view → DatePicker/RangeDate/variations/_disabled}/base.js +2 -2
  66. package/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js.map +1 -0
  67. package/cjs/components/DatePicker/RangeDate/variations/_disabled/base_tl4jc7.css +1 -0
  68. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +9 -0
  69. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js.map +1 -0
  70. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base_1851hxh.css +1 -0
  71. package/cjs/components/DatePicker/RangeDate/variations/_size/base.js +9 -0
  72. package/cjs/components/DatePicker/RangeDate/variations/_size/base.js.map +1 -0
  73. package/cjs/components/DatePicker/RangeDate/variations/_size/base_1yswrwb.css +1 -0
  74. package/cjs/components/{Accordion/variations/_size → DatePicker/RangeDate/variations/_view}/base.js +1 -1
  75. package/cjs/components/DatePicker/RangeDate/variations/_view/base.js.map +1 -0
  76. package/cjs/components/DatePicker/SingleDate/DatePicker.css +134 -0
  77. package/cjs/components/DatePicker/SingleDate/DatePicker.js +183 -0
  78. package/cjs/components/DatePicker/SingleDate/DatePicker.js.map +1 -0
  79. package/cjs/components/DatePicker/SingleDate/DatePicker.styles.js +51 -0
  80. package/cjs/components/DatePicker/SingleDate/DatePicker.styles.js.map +1 -0
  81. package/cjs/components/DatePicker/SingleDate/DatePicker.styles_1udo3ch.css +5 -0
  82. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js +9 -0
  83. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js.map +1 -0
  84. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base_1rfgfsz.css +1 -0
  85. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +9 -0
  86. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js.map +1 -0
  87. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base_ayigv4.css +1 -0
  88. package/cjs/components/DatePicker/SingleDate/variations/_size/base.js +9 -0
  89. package/cjs/components/DatePicker/SingleDate/variations/_size/base.js.map +1 -0
  90. package/cjs/components/DatePicker/SingleDate/variations/_size/base_jrds3p.css +1 -0
  91. package/cjs/components/DatePicker/SingleDate/variations/_view/base.js +9 -0
  92. package/cjs/components/DatePicker/SingleDate/variations/_view/base.js.map +1 -0
  93. package/cjs/components/DatePicker/SingleDate/variations/_view/base_163gwfv.css +1 -0
  94. package/cjs/components/DatePicker/hooks/useDatePicker.js +79 -0
  95. package/cjs/components/DatePicker/hooks/useDatePicker.js.map +1 -0
  96. package/cjs/components/DatePicker/utils/dateHelper.js +84 -0
  97. package/cjs/components/DatePicker/utils/dateHelper.js.map +1 -0
  98. package/cjs/components/Dropdown/Dropdown.js +2 -1
  99. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  100. package/cjs/components/Dropdown/utils/index.js +0 -17
  101. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  102. package/cjs/components/Range/Range.css +14 -8
  103. package/cjs/components/Range/Range.js +79 -32
  104. package/cjs/components/Range/Range.js.map +1 -1
  105. package/cjs/components/Range/Range.styles.js +23 -11
  106. package/cjs/components/Range/Range.styles.js.map +1 -1
  107. package/cjs/components/Range/Range.styles_nik84l.css +9 -0
  108. package/cjs/components/Range/variations/_readonly/base.js +1 -1
  109. package/cjs/components/Range/variations/_readonly/base_yv1z2h.css +1 -0
  110. package/cjs/components/Range/variations/_size/base.js +1 -1
  111. package/cjs/components/Range/variations/_size/{base_16xiubi.css → base_gbgxzj.css} +1 -1
  112. package/cjs/components/Range/variations/_view/base.js +1 -1
  113. package/cjs/components/Range/variations/_view/base_87gpil.css +1 -0
  114. package/cjs/components/Select/Select.js +2 -2
  115. package/cjs/components/Select/Select.js.map +1 -1
  116. package/cjs/components/Slider/Slider.css +3 -3
  117. package/cjs/components/Slider/components/Double/Double.css +3 -3
  118. package/cjs/components/TextField/TextField.tokens.js +1 -1
  119. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  120. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  121. package/cjs/components/TextField/variations/_read-only/base_1vu13zn.css +1 -0
  122. package/cjs/components/TextField/variations/_size/base.js +1 -1
  123. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  124. package/cjs/components/TextField/variations/_size/base_orwx1f.css +1 -0
  125. package/cjs/components/TextField/variations/_view/base.js +1 -1
  126. package/cjs/components/TextField/variations/_view/base_18ea6z7.css +1 -0
  127. package/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js +23 -0
  128. package/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js.map +1 -0
  129. package/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  130. package/cjs/components/_Icon/Icon.assets/DisclosureLeft.js.map +1 -1
  131. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js +5 -15
  132. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  133. package/cjs/components/_Icon/Icons/{IconMinus.js → IconDisclosureDownFill.js} +5 -5
  134. package/cjs/components/_Icon/Icons/IconDisclosureDownFill.js.map +1 -0
  135. package/cjs/index.css +68 -41
  136. package/cjs/index.js +12 -8
  137. package/cjs/index.js.map +1 -1
  138. package/cjs/utils/datejs.js +12 -0
  139. package/cjs/utils/datejs.js.map +1 -0
  140. package/cjs/utils/getPopoverPlacement.js +23 -0
  141. package/cjs/utils/getPopoverPlacement.js.map +1 -0
  142. package/cjs/utils/index.js.map +1 -1
  143. package/es/components/Calendar/Calendar.tokens.js +64 -28
  144. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  145. package/es/components/Calendar/Calendar.types.js.map +1 -1
  146. package/es/components/Calendar/CalendarBase/CalendarBase.css +57 -29
  147. package/es/components/Calendar/CalendarBase/CalendarBase.js +7 -1
  148. package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  149. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  150. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  151. package/es/components/Calendar/CalendarBase/{CalendarBase.styles_rv9ax9.css → CalendarBase.styles_1m6uih1.css} +1 -1
  152. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +58 -30
  153. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -0
  154. package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  155. package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +1 -1
  156. package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js.map +1 -1
  157. package/es/components/Calendar/CalendarDouble/{CalendarDouble.styles_1rc2ejs.css → CalendarDouble.styles_e9ada0.css} +2 -2
  158. package/es/components/Calendar/hoc/withRange.js.map +1 -1
  159. package/es/components/Calendar/hooks/useDays.js +1 -1
  160. package/es/components/Calendar/hooks/useDays.js.map +1 -1
  161. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.css +4 -4
  162. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +9 -9
  163. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js.map +1 -1
  164. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_wuxgzs.css +4 -0
  165. package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +7 -7
  166. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -1
  167. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
  168. package/es/components/Calendar/ui/CalendarDays/{CalendarDays.styles_bnrjbd.css → CalendarDays.styles_1oq8sud.css} +1 -1
  169. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +36 -8
  170. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +27 -18
  171. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  172. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +26 -13
  173. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  174. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1b92i4d.css +8 -0
  175. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  176. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  177. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  178. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +1 -1
  179. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
  180. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_7kz2z4.css +4 -0
  181. package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  182. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  183. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  184. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +1 -1
  185. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
  186. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_hbv1kh.css +4 -0
  187. package/es/components/Calendar/utils/index.js.map +1 -1
  188. package/es/components/Combobox/Combobox.js +1 -1
  189. package/es/components/Combobox/Combobox.js.map +1 -1
  190. package/es/components/DatePicker/DatePicker.tokens.js +181 -0
  191. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -0
  192. package/es/components/DatePicker/DatePickerBase.styles.js +26 -0
  193. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -0
  194. package/es/components/DatePicker/DatePickerBase.styles_1u3oyx8.css +1 -0
  195. package/es/components/DatePicker/RangeDate/DatePicker.css +150 -0
  196. package/es/components/DatePicker/RangeDate/DatePicker.js +336 -0
  197. package/es/components/DatePicker/RangeDate/DatePicker.js.map +1 -0
  198. package/es/components/DatePicker/RangeDate/DatePicker.styles.js +33 -0
  199. package/es/components/DatePicker/RangeDate/DatePicker.styles.js.map +1 -0
  200. package/es/components/DatePicker/RangeDate/DatePicker.styles_1aihs63.css +3 -0
  201. package/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.css +142 -0
  202. package/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.js +48 -0
  203. package/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.js.map +1 -0
  204. package/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.js +28 -0
  205. package/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.js.map +1 -0
  206. package/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles_x3to15.css +1 -0
  207. package/es/components/{Accordion/variations/_size → DatePicker/RangeDate/variations/_disabled}/base.js +2 -2
  208. package/es/components/DatePicker/RangeDate/variations/_disabled/base.js.map +1 -0
  209. package/es/components/DatePicker/RangeDate/variations/_disabled/base_tl4jc7.css +1 -0
  210. package/es/components/DatePicker/RangeDate/variations/_readonly/base.js +5 -0
  211. package/es/components/DatePicker/RangeDate/variations/_readonly/base.js.map +1 -0
  212. package/es/components/DatePicker/RangeDate/variations/_readonly/base_1851hxh.css +1 -0
  213. package/es/components/DatePicker/RangeDate/variations/_size/base.js +5 -0
  214. package/es/components/DatePicker/RangeDate/variations/_size/base.js.map +1 -0
  215. package/es/components/DatePicker/RangeDate/variations/_size/base_1yswrwb.css +1 -0
  216. package/es/components/{Accordion → DatePicker/RangeDate}/variations/_view/base.js +1 -1
  217. package/es/components/DatePicker/RangeDate/variations/_view/base.js.map +1 -0
  218. package/es/components/DatePicker/SingleDate/DatePicker.css +134 -0
  219. package/es/components/DatePicker/SingleDate/DatePicker.js +178 -0
  220. package/es/components/DatePicker/SingleDate/DatePicker.js.map +1 -0
  221. package/es/components/DatePicker/SingleDate/DatePicker.styles.js +43 -0
  222. package/es/components/DatePicker/SingleDate/DatePicker.styles.js.map +1 -0
  223. package/es/components/DatePicker/SingleDate/DatePicker.styles_1udo3ch.css +5 -0
  224. package/es/components/DatePicker/SingleDate/variations/_disabled/base.js +5 -0
  225. package/es/components/DatePicker/SingleDate/variations/_disabled/base.js.map +1 -0
  226. package/es/components/DatePicker/SingleDate/variations/_disabled/base_1rfgfsz.css +1 -0
  227. package/es/components/DatePicker/SingleDate/variations/_readonly/base.js +5 -0
  228. package/es/components/DatePicker/SingleDate/variations/_readonly/base.js.map +1 -0
  229. package/es/components/DatePicker/SingleDate/variations/_readonly/base_ayigv4.css +1 -0
  230. package/es/components/DatePicker/SingleDate/variations/_size/base.js +5 -0
  231. package/es/components/DatePicker/SingleDate/variations/_size/base.js.map +1 -0
  232. package/es/components/DatePicker/SingleDate/variations/_size/base_jrds3p.css +1 -0
  233. package/es/components/DatePicker/SingleDate/variations/_view/base.js +5 -0
  234. package/es/components/DatePicker/SingleDate/variations/_view/base.js.map +1 -0
  235. package/es/components/DatePicker/SingleDate/variations/_view/base_163gwfv.css +1 -0
  236. package/es/components/DatePicker/hooks/useDatePicker.js +75 -0
  237. package/es/components/DatePicker/hooks/useDatePicker.js.map +1 -0
  238. package/es/components/DatePicker/utils/dateHelper.js +76 -0
  239. package/es/components/DatePicker/utils/dateHelper.js.map +1 -0
  240. package/es/components/Dropdown/Dropdown.js +2 -1
  241. package/es/components/Dropdown/Dropdown.js.map +1 -1
  242. package/es/components/Dropdown/utils/index.js +1 -16
  243. package/es/components/Dropdown/utils/index.js.map +1 -1
  244. package/es/components/Range/Range.css +14 -8
  245. package/es/components/Range/Range.js +81 -34
  246. package/es/components/Range/Range.js.map +1 -1
  247. package/es/components/Range/Range.styles.js +23 -12
  248. package/es/components/Range/Range.styles.js.map +1 -1
  249. package/es/components/Range/Range.styles_nik84l.css +9 -0
  250. package/es/components/Range/variations/_readonly/base.js +1 -1
  251. package/es/components/Range/variations/_readonly/base_yv1z2h.css +1 -0
  252. package/es/components/Range/variations/_size/base.js +1 -1
  253. package/es/components/Range/variations/_size/{base_16xiubi.css → base_gbgxzj.css} +1 -1
  254. package/es/components/Range/variations/_view/base.js +1 -1
  255. package/es/components/Range/variations/_view/base_87gpil.css +1 -0
  256. package/es/components/Select/Select.js +1 -1
  257. package/es/components/Select/Select.js.map +1 -1
  258. package/es/components/Slider/Slider.css +3 -3
  259. package/es/components/Slider/components/Double/Double.css +3 -3
  260. package/es/components/TextField/TextField.tokens.js +1 -1
  261. package/es/components/TextField/TextField.tokens.js.map +1 -1
  262. package/es/components/TextField/variations/_read-only/base.js +1 -1
  263. package/es/components/TextField/variations/_read-only/base_1vu13zn.css +1 -0
  264. package/es/components/TextField/variations/_size/base.js +1 -1
  265. package/es/components/TextField/variations/_size/base.js.map +1 -1
  266. package/es/components/TextField/variations/_size/base_orwx1f.css +1 -0
  267. package/es/components/TextField/variations/_view/base.js +1 -1
  268. package/es/components/TextField/variations/_view/base_18ea6z7.css +1 -0
  269. package/es/components/_Icon/Icon.assets/DisclosureDownFill.js +19 -0
  270. package/es/components/_Icon/Icon.assets/DisclosureDownFill.js.map +1 -0
  271. package/es/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  272. package/es/components/_Icon/Icon.assets/DisclosureLeft.js.map +1 -1
  273. package/es/components/_Icon/Icon.assets/DisclosureRight.js +5 -15
  274. package/es/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  275. package/es/components/_Icon/Icons/{IconMinus.js → IconDisclosureDownFill.js} +5 -5
  276. package/es/components/_Icon/Icons/IconDisclosureDownFill.js.map +1 -0
  277. package/es/index.css +68 -41
  278. package/es/index.js +4 -3
  279. package/es/index.js.map +1 -1
  280. package/es/utils/datejs.js +8 -0
  281. package/es/utils/datejs.js.map +1 -0
  282. package/es/utils/getPopoverPlacement.js +18 -0
  283. package/es/utils/getPopoverPlacement.js.map +1 -0
  284. package/es/utils/index.js.map +1 -1
  285. package/package.json +3 -2
  286. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +64 -28
  287. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +6 -0
  288. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -1
  289. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -0
  290. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +2 -2
  291. package/styled-components/cjs/components/Calendar/hooks/useDays.js +1 -1
  292. package/styled-components/cjs/components/Calendar/mixins/active.js +12 -0
  293. package/styled-components/cjs/components/Calendar/mixins/flex.js +8 -0
  294. package/styled-components/cjs/components/Calendar/mixins/index.js +30 -29
  295. package/styled-components/cjs/components/Calendar/mixins/selected.js +29 -0
  296. package/styled-components/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +26 -14
  297. package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +2 -1
  298. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +25 -16
  299. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +29 -11
  300. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  301. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +26 -12
  302. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  303. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +26 -14
  304. package/styled-components/cjs/components/Combobox/Combobox.js +6 -7
  305. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +184 -0
  306. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +19 -0
  307. package/styled-components/cjs/components/DatePicker/RangeDate/DatePicker.js +349 -0
  308. package/styled-components/cjs/components/DatePicker/RangeDate/DatePicker.styles.js +27 -0
  309. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.js +50 -0
  310. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.js +20 -0
  311. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.types.js +5 -0
  312. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js +9 -0
  313. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_disabled/tokens.json +0 -0
  314. package/styled-components/cjs/components/{Accordion/variations/_view → DatePicker/RangeDate/variations/_readonly}/base.js +2 -1
  315. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_readonly/tokens.json +4 -0
  316. package/styled-components/cjs/components/{Accordion/variations/_stretching → DatePicker/RangeDate/variations/_size}/base.js +2 -1
  317. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_size/tokens.json +0 -0
  318. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_view/tokens.json +0 -0
  319. package/styled-components/cjs/components/DatePicker/SingleDate/DatePicker.js +190 -0
  320. package/styled-components/cjs/components/DatePicker/SingleDate/DatePicker.styles.js +33 -0
  321. package/styled-components/cjs/components/DatePicker/SingleDate/DatePicker.types.js +5 -0
  322. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js +9 -0
  323. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_disabled/tokens.json +4 -0
  324. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +10 -0
  325. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/tokens.json +4 -0
  326. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/base.js +10 -0
  327. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/tokens.json +16 -0
  328. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/base.js +10 -0
  329. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/tokens.json +1 -0
  330. package/styled-components/cjs/components/DatePicker/hooks/useDatePicker.js +77 -0
  331. package/styled-components/cjs/components/DatePicker/index.js +44 -0
  332. package/styled-components/cjs/components/DatePicker/utils/dateHelper.js +78 -0
  333. package/styled-components/cjs/components/Dropdown/Dropdown.js +1 -1
  334. package/styled-components/cjs/components/Dropdown/utils/index.js +1 -16
  335. package/styled-components/cjs/components/Range/Range.js +78 -32
  336. package/styled-components/cjs/components/Range/Range.styles.js +16 -10
  337. package/styled-components/cjs/components/Select/Select.js +7 -8
  338. package/styled-components/cjs/components/TextField/TextField.tokens.js +1 -1
  339. package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
  340. package/styled-components/cjs/components/_Icon/Icon.assets/{Minus.js → DisclosureDownFill.js} +5 -4
  341. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  342. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRight.js +5 -15
  343. package/styled-components/cjs/components/_Icon/Icons/{IconMinus.js → IconDisclosureDownFill.js} +4 -4
  344. package/styled-components/cjs/components/_Icon/index.js +8 -15
  345. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +24 -6
  346. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -2
  347. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +4 -1
  348. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +31 -0
  349. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.js +13 -0
  350. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +302 -0
  351. package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +24 -6
  352. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -2
  353. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +4 -1
  354. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +31 -0
  355. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.js +13 -0
  356. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +302 -0
  357. package/styled-components/cjs/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +24 -6
  358. package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarBase.config.js +5 -2
  359. package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +4 -1
  360. package/styled-components/cjs/index.js +4 -4
  361. package/styled-components/cjs/utils/datejs.js +11 -0
  362. package/styled-components/cjs/utils/getPopoverPlacement.js +21 -0
  363. package/styled-components/cjs/utils/index.js +22 -0
  364. package/styled-components/es/components/Calendar/Calendar.tokens.js +64 -28
  365. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +7 -1
  366. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -1
  367. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -0
  368. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +2 -2
  369. package/styled-components/es/components/Calendar/hooks/useDays.js +1 -1
  370. package/styled-components/es/components/Calendar/mixins/active.js +6 -0
  371. package/styled-components/es/components/Calendar/mixins/flex.js +2 -0
  372. package/styled-components/es/components/Calendar/mixins/index.js +3 -27
  373. package/styled-components/es/components/Calendar/mixins/selected.js +23 -0
  374. package/styled-components/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +24 -12
  375. package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +2 -1
  376. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +27 -18
  377. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +29 -11
  378. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  379. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +24 -10
  380. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  381. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +24 -12
  382. package/styled-components/es/components/Combobox/Combobox.js +1 -2
  383. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +178 -0
  384. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +12 -0
  385. package/styled-components/es/components/DatePicker/RangeDate/DatePicker.js +340 -0
  386. package/styled-components/es/components/DatePicker/RangeDate/DatePicker.styles.js +19 -0
  387. package/styled-components/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.js +43 -0
  388. package/styled-components/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.js +13 -0
  389. package/styled-components/es/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.types.js +1 -0
  390. package/styled-components/es/components/DatePicker/RangeDate/variations/_disabled/base.js +3 -0
  391. package/styled-components/es/components/DatePicker/RangeDate/variations/_disabled/tokens.json +0 -0
  392. package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/base.js +3 -0
  393. package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/tokens.json +4 -0
  394. package/styled-components/es/components/DatePicker/RangeDate/variations/_size/base.js +3 -0
  395. package/styled-components/es/components/DatePicker/RangeDate/variations/_size/tokens.json +0 -0
  396. package/styled-components/es/components/DatePicker/RangeDate/variations/_view/tokens.json +0 -0
  397. package/styled-components/es/components/DatePicker/SingleDate/DatePicker.js +181 -0
  398. package/styled-components/es/components/DatePicker/SingleDate/DatePicker.styles.js +25 -0
  399. package/styled-components/es/components/DatePicker/SingleDate/DatePicker.types.js +1 -0
  400. package/styled-components/es/components/DatePicker/SingleDate/variations/_disabled/base.js +3 -0
  401. package/styled-components/es/components/DatePicker/SingleDate/variations/_disabled/tokens.json +4 -0
  402. package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/base.js +4 -0
  403. package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/tokens.json +4 -0
  404. package/styled-components/es/components/DatePicker/SingleDate/variations/_size/base.js +4 -0
  405. package/styled-components/es/components/DatePicker/SingleDate/variations/_size/tokens.json +16 -0
  406. package/styled-components/es/components/DatePicker/SingleDate/variations/_view/base.js +4 -0
  407. package/styled-components/es/components/DatePicker/SingleDate/variations/_view/tokens.json +1 -0
  408. package/styled-components/es/components/DatePicker/hooks/useDatePicker.js +71 -0
  409. package/styled-components/es/components/DatePicker/index.js +3 -0
  410. package/styled-components/es/components/DatePicker/utils/dateHelper.js +72 -0
  411. package/styled-components/es/components/Dropdown/Dropdown.js +2 -2
  412. package/styled-components/es/components/Dropdown/utils/index.js +0 -15
  413. package/styled-components/es/components/Range/Range.js +81 -35
  414. package/styled-components/es/components/Range/Range.styles.js +15 -9
  415. package/styled-components/es/components/Select/Select.js +1 -2
  416. package/styled-components/es/components/TextField/TextField.tokens.js +1 -1
  417. package/styled-components/es/components/TextField/variations/_size/base.js +1 -1
  418. package/styled-components/es/components/_Icon/Icon.assets/{Minus.js → DisclosureDownFill.js} +4 -3
  419. package/styled-components/es/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  420. package/styled-components/es/components/_Icon/Icon.assets/DisclosureRight.js +5 -15
  421. package/styled-components/es/components/_Icon/Icons/{IconMinus.js → IconDisclosureDownFill.js} +3 -3
  422. package/styled-components/es/components/_Icon/index.js +2 -3
  423. package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +24 -6
  424. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -2
  425. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +4 -1
  426. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +25 -0
  427. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.js +7 -0
  428. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +302 -0
  429. package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +24 -6
  430. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -2
  431. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +4 -1
  432. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +25 -0
  433. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.js +7 -0
  434. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +302 -0
  435. package/styled-components/es/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +24 -6
  436. package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarBase.config.js +5 -2
  437. package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +4 -1
  438. package/styled-components/es/index.js +1 -1
  439. package/styled-components/es/utils/datejs.js +4 -0
  440. package/styled-components/es/utils/getPopoverPlacement.js +15 -0
  441. package/styled-components/es/utils/index.js +1 -0
  442. package/types/components/Calendar/Calendar.tokens.d.ts +57 -26
  443. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  444. package/types/components/Calendar/Calendar.types.d.ts +1 -1
  445. package/types/components/Calendar/Calendar.types.d.ts.map +1 -1
  446. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts +27 -3
  447. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts.map +1 -1
  448. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  449. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts +30 -3
  450. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts.map +1 -1
  451. package/types/components/Calendar/hooks/useDays.d.ts.map +1 -1
  452. package/types/components/Calendar/mixins/active.d.ts +17 -0
  453. package/types/components/Calendar/mixins/active.d.ts.map +1 -0
  454. package/types/components/Calendar/mixins/flex.d.ts +3 -0
  455. package/types/components/Calendar/mixins/flex.d.ts.map +1 -0
  456. package/types/components/Calendar/mixins/index.d.ts +3 -8
  457. package/types/components/Calendar/mixins/index.d.ts.map +1 -1
  458. package/types/components/Calendar/mixins/selected.d.ts +60 -0
  459. package/types/components/Calendar/mixins/selected.d.ts.map +1 -0
  460. package/types/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.d.ts.map +1 -1
  461. package/types/components/Calendar/ui/CalendarDays/CalendarDays.styles.d.ts.map +1 -1
  462. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  463. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +47 -7
  464. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  465. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.types.d.ts +1 -0
  466. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.types.d.ts.map +1 -1
  467. package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.d.ts.map +1 -1
  468. package/types/components/Calendar/ui/CalendarYears/CalendarYears.styles.d.ts.map +1 -1
  469. package/types/components/Calendar/utils/index.d.ts +1 -1
  470. package/types/components/Calendar/utils/index.d.ts.map +1 -1
  471. package/types/components/Combobox/Combobox.d.ts.map +1 -1
  472. package/types/components/DatePicker/DatePicker.tokens.d.ts +179 -0
  473. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -0
  474. package/types/components/DatePicker/DatePickerBase.styles.d.ts +8 -0
  475. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -0
  476. package/types/components/DatePicker/DatePickerBase.types.d.ts +37 -0
  477. package/types/components/DatePicker/DatePickerBase.types.d.ts.map +1 -0
  478. package/types/components/DatePicker/RangeDate/DatePicker.d.ts +32 -0
  479. package/types/components/DatePicker/RangeDate/DatePicker.d.ts.map +1 -0
  480. package/types/components/DatePicker/RangeDate/DatePicker.styles.d.ts +140 -0
  481. package/types/components/DatePicker/RangeDate/DatePicker.styles.d.ts.map +1 -0
  482. package/types/components/DatePicker/RangeDate/DatePicker.types.d.ts +128 -0
  483. package/types/components/DatePicker/RangeDate/DatePicker.types.d.ts.map +1 -0
  484. package/types/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.d.ts +4 -0
  485. package/types/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.d.ts.map +1 -0
  486. package/types/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.d.ts +4 -0
  487. package/types/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.styles.d.ts.map +1 -0
  488. package/types/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.types.d.ts +21 -0
  489. package/types/components/DatePicker/RangeDate/RangeDoubleDate/RangeDoubleDate.types.d.ts.map +1 -0
  490. package/types/components/DatePicker/RangeDate/variations/_disabled/base.d.ts.map +1 -0
  491. package/types/components/DatePicker/RangeDate/variations/_readonly/base.d.ts.map +1 -0
  492. package/types/components/DatePicker/RangeDate/variations/_size/base.d.ts.map +1 -0
  493. package/types/components/{Accordion/Accordion.styles.d.ts → DatePicker/RangeDate/variations/_view/base.d.ts} +1 -1
  494. package/types/components/DatePicker/RangeDate/variations/_view/base.d.ts.map +1 -0
  495. package/types/components/DatePicker/SingleDate/DatePicker.d.ts +31 -0
  496. package/types/components/DatePicker/SingleDate/DatePicker.d.ts.map +1 -0
  497. package/types/components/DatePicker/SingleDate/DatePicker.styles.d.ts +45 -0
  498. package/types/components/DatePicker/SingleDate/DatePicker.styles.d.ts.map +1 -0
  499. package/types/components/DatePicker/SingleDate/DatePicker.types.d.ts +115 -0
  500. package/types/components/DatePicker/SingleDate/DatePicker.types.d.ts.map +1 -0
  501. package/types/components/DatePicker/SingleDate/variations/_disabled/base.d.ts +2 -0
  502. package/types/components/DatePicker/SingleDate/variations/_disabled/base.d.ts.map +1 -0
  503. package/types/components/DatePicker/SingleDate/variations/_readonly/base.d.ts +2 -0
  504. package/types/components/DatePicker/SingleDate/variations/_readonly/base.d.ts.map +1 -0
  505. package/types/components/DatePicker/SingleDate/variations/_size/base.d.ts +2 -0
  506. package/types/components/DatePicker/SingleDate/variations/_size/base.d.ts.map +1 -0
  507. package/types/components/DatePicker/SingleDate/variations/_view/base.d.ts +2 -0
  508. package/types/components/DatePicker/SingleDate/variations/_view/base.d.ts.map +1 -0
  509. package/types/components/DatePicker/hooks/useDatePicker.d.ts +10 -0
  510. package/types/components/DatePicker/hooks/useDatePicker.d.ts.map +1 -0
  511. package/types/components/DatePicker/index.d.ts +6 -0
  512. package/types/components/DatePicker/index.d.ts.map +1 -0
  513. package/types/components/DatePicker/utils/dateHelper.d.ts +10 -0
  514. package/types/components/DatePicker/utils/dateHelper.d.ts.map +1 -0
  515. package/types/components/Dropdown/utils/index.d.ts +1 -3
  516. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  517. package/types/components/Range/Range.d.ts +3 -3
  518. package/types/components/Range/Range.d.ts.map +1 -1
  519. package/types/components/Range/Range.styles.d.ts +1 -0
  520. package/types/components/Range/Range.styles.d.ts.map +1 -1
  521. package/types/components/Range/Range.types.d.ts +46 -1
  522. package/types/components/Range/Range.types.d.ts.map +1 -1
  523. package/types/components/Select/Select.d.ts.map +1 -1
  524. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  525. package/types/components/_Icon/Icon.assets/DisclosureDownFill.d.ts +4 -0
  526. package/types/components/_Icon/Icon.assets/DisclosureDownFill.d.ts.map +1 -0
  527. package/types/components/_Icon/Icon.assets/DisclosureRight.d.ts.map +1 -1
  528. package/types/components/_Icon/Icons/IconDisclosureDownFill.d.ts +4 -0
  529. package/types/components/_Icon/Icons/IconDisclosureDownFill.d.ts.map +1 -0
  530. package/types/components/_Icon/index.d.ts +1 -2
  531. package/types/components/_Icon/index.d.ts.map +1 -1
  532. package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts +15 -4
  533. package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts.map +1 -1
  534. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts +3 -0
  535. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  536. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts +3 -0
  537. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  538. package/types/examples/plasma_b2c/components/{Accordion/Accordion.config.d.ts → DatePicker/DatePicker.config.d.ts} +7 -2
  539. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts.map +1 -0
  540. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +668 -0
  541. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +1 -0
  542. package/types/examples/plasma_b2c/components/Range/Range.d.ts +30 -3
  543. package/types/examples/plasma_b2c/components/Range/Range.d.ts.map +1 -1
  544. package/types/examples/plasma_web/components/Calendar/Calendar.d.ts +15 -4
  545. package/types/examples/plasma_web/components/Calendar/Calendar.d.ts.map +1 -1
  546. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts +3 -0
  547. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  548. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts +3 -0
  549. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  550. package/types/examples/plasma_web/components/{Accordion/Accordion.config.d.ts → DatePicker/DatePicker.config.d.ts} +6 -5
  551. package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts.map +1 -0
  552. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +668 -0
  553. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +1 -0
  554. package/types/examples/plasma_web/components/Range/Range.d.ts +30 -3
  555. package/types/examples/plasma_web/components/Range/Range.d.ts.map +1 -1
  556. package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts +15 -4
  557. package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts.map +1 -1
  558. package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts +3 -0
  559. package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  560. package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts +3 -0
  561. package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  562. package/types/index.d.ts +1 -1
  563. package/types/index.d.ts.map +1 -1
  564. package/types/utils/datejs.d.ts +3 -0
  565. package/types/utils/datejs.d.ts.map +1 -0
  566. package/types/utils/getPopoverPlacement.d.ts +5 -0
  567. package/types/utils/getPopoverPlacement.d.ts.map +1 -0
  568. package/types/utils/index.d.ts +1 -0
  569. package/types/utils/index.d.ts.map +1 -1
  570. package/cjs/components/Accordion/Accordion.css +0 -1
  571. package/cjs/components/Accordion/Accordion.js +0 -68
  572. package/cjs/components/Accordion/Accordion.js.map +0 -1
  573. package/cjs/components/Accordion/Accordion.styles.js +0 -9
  574. package/cjs/components/Accordion/Accordion.styles.js.map +0 -1
  575. package/cjs/components/Accordion/Accordion.styles_rsiff6.css +0 -1
  576. package/cjs/components/Accordion/Accordion.tokens.js +0 -45
  577. package/cjs/components/Accordion/Accordion.tokens.js.map +0 -1
  578. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -103
  579. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js.map +0 -1
  580. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -63
  581. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +0 -1
  582. package/cjs/components/Accordion/utils/index.js +0 -27
  583. package/cjs/components/Accordion/utils/index.js.map +0 -1
  584. package/cjs/components/Accordion/variations/_size/base.js.map +0 -1
  585. package/cjs/components/Accordion/variations/_view/base.js.map +0 -1
  586. package/cjs/components/Calendar/mixins/index.js +0 -18
  587. package/cjs/components/Calendar/mixins/index.js.map +0 -1
  588. package/cjs/components/Calendar/mixins/index_o3bz9l.css +0 -1
  589. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_xf9c5e.css +0 -4
  590. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1c4p417.css +0 -6
  591. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1jnzviu.css +0 -4
  592. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_1lubnwe.css +0 -4
  593. package/cjs/components/Range/Range.styles_mc4w65.css +0 -8
  594. package/cjs/components/Range/variations/_readonly/base_tzdxy8.css +0 -1
  595. package/cjs/components/Range/variations/_view/base_5iz3nr.css +0 -1
  596. package/cjs/components/TextField/variations/_read-only/base_134hshp.css +0 -1
  597. package/cjs/components/TextField/variations/_size/base_ntoddv.css +0 -1
  598. package/cjs/components/TextField/variations/_view/base_19gxyva.css +0 -1
  599. package/cjs/components/_Icon/Icon.assets/ChevronDownFill.js +0 -24
  600. package/cjs/components/_Icon/Icon.assets/ChevronDownFill.js.map +0 -1
  601. package/cjs/components/_Icon/Icon.assets/Minus.js +0 -22
  602. package/cjs/components/_Icon/Icon.assets/Minus.js.map +0 -1
  603. package/cjs/components/_Icon/Icons/IconChevronDownFill.js +0 -23
  604. package/cjs/components/_Icon/Icons/IconChevronDownFill.js.map +0 -1
  605. package/cjs/components/_Icon/Icons/IconMinus.js.map +0 -1
  606. package/es/components/Accordion/Accordion.css +0 -1
  607. package/es/components/Accordion/Accordion.js +0 -63
  608. package/es/components/Accordion/Accordion.js.map +0 -1
  609. package/es/components/Accordion/Accordion.styles.js +0 -5
  610. package/es/components/Accordion/Accordion.styles.js.map +0 -1
  611. package/es/components/Accordion/Accordion.styles_rsiff6.css +0 -1
  612. package/es/components/Accordion/Accordion.tokens.js +0 -40
  613. package/es/components/Accordion/Accordion.tokens.js.map +0 -1
  614. package/es/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -99
  615. package/es/components/Accordion/ui/AccordionItem/AccordionItem.js.map +0 -1
  616. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -49
  617. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +0 -1
  618. package/es/components/Accordion/utils/index.js +0 -22
  619. package/es/components/Accordion/utils/index.js.map +0 -1
  620. package/es/components/Accordion/variations/_size/base.js.map +0 -1
  621. package/es/components/Accordion/variations/_size/base_x642ct.css +0 -1
  622. package/es/components/Accordion/variations/_view/base.js.map +0 -1
  623. package/es/components/Accordion/variations/_view/base_x642ct.css +0 -1
  624. package/es/components/Calendar/mixins/index.js +0 -14
  625. package/es/components/Calendar/mixins/index.js.map +0 -1
  626. package/es/components/Calendar/mixins/index_o3bz9l.css +0 -1
  627. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_xf9c5e.css +0 -4
  628. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1c4p417.css +0 -6
  629. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1jnzviu.css +0 -4
  630. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_1lubnwe.css +0 -4
  631. package/es/components/Range/Range.styles_mc4w65.css +0 -8
  632. package/es/components/Range/variations/_readonly/base_tzdxy8.css +0 -1
  633. package/es/components/Range/variations/_view/base_5iz3nr.css +0 -1
  634. package/es/components/TextField/variations/_read-only/base_134hshp.css +0 -1
  635. package/es/components/TextField/variations/_size/base_ntoddv.css +0 -1
  636. package/es/components/TextField/variations/_view/base_19gxyva.css +0 -1
  637. package/es/components/_Icon/Icon.assets/ChevronDownFill.js +0 -20
  638. package/es/components/_Icon/Icon.assets/ChevronDownFill.js.map +0 -1
  639. package/es/components/_Icon/Icon.assets/Minus.js +0 -18
  640. package/es/components/_Icon/Icon.assets/Minus.js.map +0 -1
  641. package/es/components/_Icon/Icons/IconChevronDownFill.js +0 -19
  642. package/es/components/_Icon/Icons/IconChevronDownFill.js.map +0 -1
  643. package/es/components/_Icon/Icons/IconMinus.js.map +0 -1
  644. package/styled-components/cjs/components/Accordion/Accordion.js +0 -73
  645. package/styled-components/cjs/components/Accordion/Accordion.styles.js +0 -9
  646. package/styled-components/cjs/components/Accordion/Accordion.tokens.js +0 -43
  647. package/styled-components/cjs/components/Accordion/index.js +0 -38
  648. package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -109
  649. package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -49
  650. package/styled-components/cjs/components/Accordion/utils/index.js +0 -24
  651. package/styled-components/cjs/components/Accordion/variations/_size/tokens.json +0 -6
  652. package/styled-components/cjs/components/Accordion/variations/_stretching/tokens.json +0 -1
  653. package/styled-components/cjs/components/Accordion/variations/_view/tokens.json +0 -8
  654. package/styled-components/cjs/components/_Icon/Icon.assets/ChevronDownFill.js +0 -23
  655. package/styled-components/cjs/components/_Icon/Icons/IconChevronDownFill.js +0 -22
  656. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.config.js +0 -26
  657. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.js +0 -17
  658. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +0 -66
  659. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.config.js +0 -30
  660. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.js +0 -17
  661. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.stories.tsx +0 -65
  662. package/styled-components/es/components/Accordion/Accordion.js +0 -64
  663. package/styled-components/es/components/Accordion/Accordion.styles.js +0 -3
  664. package/styled-components/es/components/Accordion/Accordion.tokens.js +0 -37
  665. package/styled-components/es/components/Accordion/index.js +0 -3
  666. package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -100
  667. package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -42
  668. package/styled-components/es/components/Accordion/utils/index.js +0 -18
  669. package/styled-components/es/components/Accordion/variations/_size/tokens.json +0 -6
  670. package/styled-components/es/components/Accordion/variations/_stretching/base.js +0 -2
  671. package/styled-components/es/components/Accordion/variations/_stretching/tokens.json +0 -1
  672. package/styled-components/es/components/Accordion/variations/_view/base.js +0 -2
  673. package/styled-components/es/components/Accordion/variations/_view/tokens.json +0 -8
  674. package/styled-components/es/components/_Icon/Icon.assets/ChevronDownFill.js +0 -16
  675. package/styled-components/es/components/_Icon/Icons/IconChevronDownFill.js +0 -15
  676. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.config.js +0 -20
  677. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.js +0 -6
  678. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +0 -66
  679. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.config.js +0 -24
  680. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.js +0 -6
  681. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.stories.tsx +0 -65
  682. package/types/components/Accordion/Accordion.d.ts +0 -43
  683. package/types/components/Accordion/Accordion.d.ts.map +0 -1
  684. package/types/components/Accordion/Accordion.styles.d.ts.map +0 -1
  685. package/types/components/Accordion/Accordion.tokens.d.ts +0 -38
  686. package/types/components/Accordion/Accordion.tokens.d.ts.map +0 -1
  687. package/types/components/Accordion/Accordion.types.d.ts +0 -36
  688. package/types/components/Accordion/Accordion.types.d.ts.map +0 -1
  689. package/types/components/Accordion/index.d.ts +0 -5
  690. package/types/components/Accordion/index.d.ts.map +0 -1
  691. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts +0 -4
  692. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts.map +0 -1
  693. package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts +0 -13
  694. package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts.map +0 -1
  695. package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts +0 -47
  696. package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts.map +0 -1
  697. package/types/components/Accordion/utils/index.d.ts +0 -16
  698. package/types/components/Accordion/utils/index.d.ts.map +0 -1
  699. package/types/components/Accordion/variations/_size/base.d.ts.map +0 -1
  700. package/types/components/Accordion/variations/_stretching/base.d.ts.map +0 -1
  701. package/types/components/Accordion/variations/_view/base.d.ts.map +0 -1
  702. package/types/components/_Icon/Icon.assets/ChevronDownFill.d.ts +0 -4
  703. package/types/components/_Icon/Icon.assets/ChevronDownFill.d.ts.map +0 -1
  704. package/types/components/_Icon/Icon.assets/Minus.d.ts +0 -4
  705. package/types/components/_Icon/Icon.assets/Minus.d.ts.map +0 -1
  706. package/types/components/_Icon/Icons/IconChevronDownFill.d.ts +0 -4
  707. package/types/components/_Icon/Icons/IconChevronDownFill.d.ts.map +0 -1
  708. package/types/components/_Icon/Icons/IconMinus.d.ts +0 -4
  709. package/types/components/_Icon/Icons/IconMinus.d.ts.map +0 -1
  710. package/types/examples/plasma_b2c/components/Accordion/Accordion.config.d.ts.map +0 -1
  711. package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts +0 -26
  712. package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts.map +0 -1
  713. package/types/examples/plasma_web/components/Accordion/Accordion.config.d.ts.map +0 -1
  714. package/types/examples/plasma_web/components/Accordion/Accordion.d.ts +0 -30
  715. package/types/examples/plasma_web/components/Accordion/Accordion.d.ts.map +0 -1
  716. /package/cjs/components/{Accordion/variations/_size → DatePicker/RangeDate/variations/_view}/base_x642ct.css +0 -0
  717. /package/cjs/components/{Accordion/ui/AccordionItem/AccordionItem.css → _Icon/Icons/IconClose.css} +0 -0
  718. /package/{cjs/components/Accordion → es/components/DatePicker/RangeDate}/variations/_view/base_x642ct.css +0 -0
  719. /package/es/components/{Accordion/ui/AccordionItem/AccordionItem.css → _Icon/Icons/IconClose.css} +0 -0
  720. /package/styled-components/cjs/components/{Accordion/Accordion.types.js → DatePicker/DatePickerBase.types.js} +0 -0
  721. /package/styled-components/cjs/components/{Accordion/ui/AccordionItem/AccordionItem.types.js → DatePicker/RangeDate/DatePicker.types.js} +0 -0
  722. /package/styled-components/cjs/components/{Accordion/variations/_size → DatePicker/RangeDate/variations/_view}/base.js +0 -0
  723. /package/styled-components/es/components/{Accordion/Accordion.types.js → DatePicker/DatePickerBase.types.js} +0 -0
  724. /package/styled-components/es/components/{Accordion/ui/AccordionItem/AccordionItem.types.js → DatePicker/RangeDate/DatePicker.types.js} +0 -0
  725. /package/styled-components/es/components/{Accordion/variations/_size → DatePicker/RangeDate/variations/_view}/base.js +0 -0
  726. /package/types/components/{Accordion/variations/_size → DatePicker/RangeDate/variations/_disabled}/base.d.ts +0 -0
  727. /package/types/components/{Accordion/variations/_stretching → DatePicker/RangeDate/variations/_readonly}/base.d.ts +0 -0
  728. /package/types/components/{Accordion/variations/_view → DatePicker/RangeDate/variations/_size}/base.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- .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);}
2
- .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);}
3
- .CalendarDayItem_styles_xf9c5e_s58etsc__95ac98f6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:absolute;bottom:0.25rem;}
4
- .CalendarDayItem_styles_xf9c5e_say0ota__95ac98f6{margin:0 0.063rem;width:0.188rem;height:0.188rem;border-radius:50%;background-color:var(--say0ota-0);}
1
+ .CalendarDayItem_styles_wuxgzs_sotsbos__736ff036{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;}.CalendarDayItem_styles_wuxgzs_sotsbos__736ff036.CalendarDayItem_styles_wuxgzs_dayInRange__736ff036:before{content:'';z-index:-1;position:absolute;width:100%;height:calc(100% - 0.125rem);background:var(--plasma-calendar-range-background);}.CalendarDayItem_styles_wuxgzs_sotsbos__736ff036.CalendarDayItem_styles_wuxgzs_daySideInRange__736ff036:before{content:'';z-index:-1;position:absolute;width:0.75rem;height:calc(100% - 0.125rem);background:var(--plasma-calendar-range-background);}.CalendarDayItem_styles_wuxgzs_sotsbos__736ff036.CalendarDayItem_styles_wuxgzs_daySideLeft__736ff036:before{left:var(--sotsbos-0);}.CalendarDayItem_styles_wuxgzs_sotsbos__736ff036.CalendarDayItem_styles_wuxgzs_daySideRight__736ff036:before{right:var(--sotsbos-0);}
2
+ .CalendarDayItem_styles_wuxgzs_smv00b5__736ff036{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_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036{outline:none;cursor:pointer;position:relative;}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036:hover{background-color:var(--plasma-calendar-selectable-item-bg-hover);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemHovered__736ff036,.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemHovered__736ff036:hover{background-color:var(--plasma-calendar-hovered-item-bg);color:var(--plasma-calendar-hovered-item-color);cursor:pointer;font-weight:var(--plasma-calendar-day-selected-font-weight);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036:not(.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036){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_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036: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_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036{border:0.063rem solid var(--plasma-calendar-current-item-border-color);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036{background-color:initial;color:var(--plasma-calendar-selected-item-color);font-weight:var(--plasma-calendar-day-selected-font-weight);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036 > 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_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036:not(.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036):hover{background-color:var(--plasma-calendar-current-item-bg-hover);color:var(--plasma-calendar-current-item-color-hover);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036:not(.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036):hover > div:first-of-type{background-color:var(--plasma-calendar-current-item-child-bg-hover);min-width:calc(var(--plasma-calendar-day-item-width) - 0.25rem);min-height:calc(var(--plasma-calendar-day-item-height) - 0.25rem);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036:not(.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036):hover:active > div:first-of-type{background-color:var(--plasma-calendar-selected-item-background);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036.CalendarDayItem_styles_wuxgzs_itemHovered__736ff036:not(.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036):hover{background-color:initial;color:var(--plasma-calendar-hovered-item-color);font-weight:var(--plasma-calendar-day-selected-font-weight);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036.CalendarDayItem_styles_wuxgzs_itemHovered__736ff036:not(.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036):hover > div:first-of-type{background-color:var(--plasma-calendar-hovered-item-bg);min-width:calc(var(--plasma-calendar-day-item-width) - 0.25rem);min-height:calc(var(--plasma-calendar-day-item-height) - 0.25rem);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036::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: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;}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_focusVisible__736ff036:focus::before,.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayOfWeek__736ff036{color:var(--plasma-calendar-day-of-the-week-color);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabled__736ff036{cursor:not-allowed;opacity:0.4;position:relative;}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabled__736ff036::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: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_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabled__736ff036.CalendarDayItem_styles_wuxgzs_focusVisible__736ff036:focus::before,.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabled__736ff036[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabledCurrent__736ff036{cursor:not-allowed;opacity:0.4;position:relative;--calendar_private-add-focus-outline-offset:0.125rem;}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabledCurrent__736ff036::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: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_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabledCurrent__736ff036.CalendarDayItem_styles_wuxgzs_focusVisible__736ff036:focus::before,.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabledCurrent__736ff036[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}
3
+ .CalendarDayItem_styles_wuxgzs_s58etsc__736ff036{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:absolute;bottom:0.25rem;}
4
+ .CalendarDayItem_styles_wuxgzs_say0ota__736ff036{margin:0 0.063rem;width:0.188rem;height:0.188rem;border-radius:50%;background-color:var(--say0ota-0);}
@@ -1,4 +1,4 @@
1
- import './CalendarDayItem.styles_xf9c5e.css';
1
+ import './CalendarDayItem.styles_wuxgzs.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -6,7 +6,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
6
6
  var react = require('@linaria/react');
7
7
  var Calendar_tokens = require('../../Calendar.tokens.js');
8
8
 
9
- var _exp9 = function _exp9() {
9
+ var _exp10 = function _exp10() {
10
10
  return function (_ref) {
11
11
  var offset = _ref.offset;
12
12
  return "".concat(offset, "px");
@@ -17,16 +17,16 @@ var StyledDay = /*#__PURE__*/react.styled('div')({
17
17
  "class": "sotsbos",
18
18
  propsAsIs: false,
19
19
  vars: {
20
- "sotsbos-0": [/*#__PURE__*/_exp9()]
20
+ "sotsbos-0": [/*#__PURE__*/_exp10()]
21
21
  }
22
22
  });
23
- var _exp18 = function _exp18() {
23
+ var _exp21 = function _exp21() {
24
24
  return function (_ref2) {
25
25
  var isDayInCurrentMonth = _ref2.isDayInCurrentMonth;
26
26
  return isDayInCurrentMonth ? "var(".concat(Calendar_tokens.tokens.calendarContentPrimaryColor, ")") : "var(".concat(Calendar_tokens.tokens.calendarContentSecondaryColor, ")");
27
27
  };
28
28
  };
29
- var _exp19 = function _exp19() {
29
+ var _exp22 = function _exp22() {
30
30
  return function (_ref3) {
31
31
  var isDayInCurrentMonth = _ref3.isDayInCurrentMonth,
32
32
  isDouble = _ref3.isDouble;
@@ -38,8 +38,8 @@ var StyledDayRoot = /*#__PURE__*/react.styled('div')({
38
38
  "class": "smv00b5",
39
39
  propsAsIs: false,
40
40
  vars: {
41
- "smv00b5-0": [/*#__PURE__*/_exp18()],
42
- "smv00b5-1": [/*#__PURE__*/_exp19()]
41
+ "smv00b5-0": [/*#__PURE__*/_exp21()],
42
+ "smv00b5-1": [/*#__PURE__*/_exp22()]
43
43
  }
44
44
  });
45
45
  var StyledEvents = /*#__PURE__*/react.styled('div')({
@@ -47,7 +47,7 @@ var StyledEvents = /*#__PURE__*/react.styled('div')({
47
47
  "class": "s58etsc",
48
48
  propsAsIs: false
49
49
  });
50
- var _exp40 = function _exp40() {
50
+ var _exp32 = function _exp32() {
51
51
  return function (_ref4) {
52
52
  var _ref4$color = _ref4.color,
53
53
  color = _ref4$color === void 0 ? 'var(--plasma-colors-accent)' : _ref4$color;
@@ -59,7 +59,7 @@ var StyledEvent = /*#__PURE__*/react.styled('div')({
59
59
  "class": "say0ota",
60
60
  propsAsIs: false,
61
61
  vars: {
62
- "say0ota-0": [/*#__PURE__*/_exp40()]
62
+ "say0ota-0": [/*#__PURE__*/_exp32()]
63
63
  }
64
64
  });
65
65
 
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDayItem.styles.js","sources":["../../../../../src/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { FocusProps } from '@salutejs/plasma-core';\n\nimport type { DayProps } from '../../Calendar.types';\nimport { flexCenter, selectedMixin } from '../../mixins';\nimport { classes, tokens } from '../../Calendar.tokens';\nimport { addFocus } from '../../../../mixins';\n\nconst inRange = () => `\n &:before {\n content: '';\n z-index: -1;\n position: absolute;\n width: 2.5rem;\n height: 1.875rem;\n background: var(${tokens.calendarRangeBackground});\n }\n`;\n\nconst sideInRange = () => `\n &:before {\n content: '';\n z-index: -1;\n position: absolute;\n width: 0.313rem;\n height: 1.875rem;\n background: var(${tokens.calendarRangeBackground});\n }\n`;\n\nexport const StyledDay = styled.div<{ offset: number }>`\n border-radius: 0.375rem;\n\n ${String(flexCenter)};\n\n &.${String(classes.dayInRange)} {\n ${inRange()};\n }\n\n &.${String(classes.daySideInRange)} {\n ${sideInRange()};\n }\n\n &.${String(classes.daySideLeft)} {\n &:before {\n left: ${({ offset }) => `${offset}px`};\n }\n }\n\n &.${String(classes.daySideRight)} {\n &:before {\n right: ${({ offset }) => `${offset}px`};\n }\n }\n`;\n\nconst dayOfWeek = () => `\n color: var(--plasma-colors-tertiary);\n`;\n\nconst disabledDay = () => `\n cursor: not-allowed;\n opacity: 0.4;\n\n ${addFocus({\n outlineSize: '0.063rem',\n outlineOffset: '-0.063rem',\n outlineColor: `var(${tokens.calendarOutlineFocusColor})`,\n outlineRadius: '0.563rem',\n })};\n`;\n\nconst disabledCurrentDay = () => `\n ${disabledDay()};\n --calendar_private-add-focus-outline-offset: 0.125rem;\n`;\n\nexport const StyledDayRoot = styled.div<DayProps & FocusProps>`\n font-family: var(${tokens.calendarDayFontFamily});\n font-size: var(${tokens.calendarDayFontSize});\n font-style: var(${tokens.calendarDayFontStyle});\n font-weight: var(${tokens.calendarDayFontWeight});\n letter-spacing: var(${tokens.calendarDayFontLetterSpacing});\n line-height: var(${tokens.calendarDayFontLineHeight});\n\n position: relative;\n box-sizing: border-box;\n\n min-width: 2.5rem;\n min-height: 2rem;\n\n border-radius: var(${tokens.calendarItemBorderRadius});\n\n ${String(flexCenter)};\n\n color: ${({ isDayInCurrentMonth }) =>\n isDayInCurrentMonth\n ? `var(${tokens.calendarContentPrimaryColor})`\n : `var(${tokens.calendarContentSecondaryColor})`};\n visibility: ${({ isDayInCurrentMonth, isDouble }) => (!isDayInCurrentMonth && isDouble ? 'hidden' : 'visible')};\n\n &.${String(classes.selectableItem)} {\n --calendar_private-selected-min-width: 2.25rem;\n --calendar_private-selected-min-height: 1.75rem;\n --calendar_private-selected-background: var(${tokens.calendarSelectedItemBackground});\n --calendar_private-selected-color: var(${tokens.calendarSelectedItemColor});\n --calendar_private-selectable-background-hover: var(${tokens.calendarSelectableItemBackgroundHover});\n --calendar_private-current-border-color: var(${tokens.calendarCurrentItemBorderColor});\n --calendar_private-current-background-hover: var(${tokens.calendarCurrentItemBackgroundHover});\n --calendar_private-current-color-hover: var(${tokens.calendarCurrentItemColorHover});\n --calendar_private-current-child-background-hover: var(${tokens.calendarCurrentItemChildBackgroundHover});\n --calendar_private-active-background: var(${tokens.calendarActiveItemBackground});\n --calendar_private-active-color: var(${tokens.calendarActiveItemColor});\n --calendar_private-hovered-background: var(${tokens.calendarHoveredItemBackground});\n --calendar_private-hovered-color: var(${tokens.calendarHoveredItemColor});\n\n ${addFocus({\n outlineSize: '0.063rem',\n outlineOffset: '-0.063rem',\n outlineColor: `var(${tokens.calendarOutlineFocusColor})`,\n outlineRadius: '0.563rem',\n })};\n\n ${String(selectedMixin)};\n }\n\n &.${String(classes.dayOfWeek)} {\n ${dayOfWeek()};\n }\n\n &.${String(classes.dayDisabled)} {\n ${disabledDay()};\n }\n\n &.${String(classes.dayDisabledCurrent)} {\n ${disabledCurrentDay()};\n }\n`;\n\nexport const StyledEvents = styled.div`\n display: flex;\n\n position: absolute;\n bottom: 0.25rem;\n`;\n\nexport const StyledEvent = styled.div<{ color?: string }>`\n margin: 0 0.063rem;\n\n width: 0.188rem;\n height: 0.188rem;\n border-radius: 50%;\n\n background-color: ${({ color = 'var(--plasma-colors-accent)' }) => color};\n`;\n"],"names":["_exp9","_ref","offset","StyledDay","styled","name","class","propsAsIs","vars","_exp18","_ref2","isDayInCurrentMonth","concat","tokens","calendarContentPrimaryColor","calendarContentSecondaryColor","_exp19","_ref3","isDouble","StyledDayRoot","StyledEvents","_exp40","_ref4","_ref4$color","color","StyledEvent"],"mappings":";;;;;;;AAKwD,IAAAA,KAAA,GAJtCA,SAIsCA,KAAAA,GAAA;AAAA,EAAA,OA8CnC,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,MAAAA,GAAAA,IAAAA,CAAAA,MAAAA,CAAAA;IAAAA,OAAAA,EAAAA,CAAAA,MAAAA,CAAgBA,MAAO,EAAA,IAAA,CAAA,CAAA;GAAG,CAAA;AAAA,CAAA,CAAA;AArB3C,IAAMC,SAAS,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,WAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAAC,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cAqBVR,KAA6B,EAAA,CAAA;AAAA,GAAA;AAAA,CAGjD,EAAA;AAAC,IAAAS,MAAA,GArDgBA,SAqDhBA,MAAAA,GAAA;AAAA,EAAA,OAyCW,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAGC,mBAAAA,GAAAA,KAAAA,CAAAA,mBAAAA,CAAAA;AAAAA,IAAAA,OACRA,mBAAmB,GAAA,MAAA,CAAAC,MAAA,CACNC,sBAAM,CAACC,2BAA4B,EAAA,GAAA,CAAA,GAAA,MAAA,CAAAF,MAAA,CACnCC,sBAAM,CAACE,6BAA8B,EAAE,GAAA,CAAA,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAC,MAAA,GAjG1CA,SAiG0CA,MAAAA,GAAA;AAAA,EAAA,OAC1C,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAGN,mBAAmB,GAAAM,KAAA,CAAnBN,mBAAmB;MAAEO,QAAAA,GAAAA,KAAAA,CAAAA,QAAAA,CAAAA;AAAAA,IAAAA,OAAgB,CAACP,mBAAmB,IAAIO,QAAQ,GAAG,QAAQ,GAAG,SAAU,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAtB3G,IAAMC,aAAa,gBAAGf,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAAC,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cAkBtBC,MAG+C,EAAA,CAAA;AAAA,IAAA,WAAA,EAAA,cAC1CO,MAAgG,EAAA,CAAA;AAAA,GAAA;AAAA,CAsCjH,EAAA;AAEM,IAAMI,YAAY,gBAAGhB,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,cAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAKjC,EAAA;AAAC,IAAAc,MAAA,GA/IgBA,SA+IhBA,MAAAA,GAAA;AAAA,EAAA,OASsB,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAAC,WAAA,GAAAD,KAAA,CAAGE,KAAK;AAALA,MAAAA,KAAK,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,6BAAA,GAAAA,WAAA,CAAA;AAAA,IAAA,OAAoCC,KAAK,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAPrE,IAAMC,WAAW,gBAAGrB,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAAC,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cAOTa,MAAoD,EAAA,CAAA;AAAA,GAAA;AAAA,CAC3E;;;;;;;"}
1
+ {"version":3,"file":"CalendarDayItem.styles.js","sources":["../../../../../src/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { FocusProps } from '@salutejs/plasma-core';\n\nimport type { DayProps } from '../../Calendar.types';\nimport { classes, tokens } from '../../Calendar.tokens';\nimport { addFocus } from '../../../../mixins';\nimport { addSelected, flexCenter } from '../../mixins';\n\nconst inRange = () => `\n &:before {\n content: '';\n z-index: -1;\n position: absolute;\n width: 100%;\n height: calc(100% - 0.125rem);\n background: var(${tokens.calendarRangeBackground});\n }\n`;\n\nconst sideInRange = () => `\n &:before {\n content: '';\n z-index: -1;\n position: absolute;\n width: 0.75rem;\n height: calc(100% - 0.125rem);\n background: var(${tokens.calendarRangeBackground});\n }\n`;\n\nexport const StyledDay = styled.div<{ offset: number }>`\n border-radius: var(${tokens.calendarDayItemBorderRadius});\n\n ${String(flexCenter)};\n\n &.${String(classes.dayInRange)} {\n ${inRange()};\n }\n\n &.${String(classes.daySideInRange)} {\n ${sideInRange()};\n }\n\n &.${String(classes.daySideLeft)} {\n &:before {\n left: ${({ offset }) => `${offset}px`};\n }\n }\n\n &.${String(classes.daySideRight)} {\n &:before {\n right: ${({ offset }) => `${offset}px`};\n }\n }\n`;\n\nconst disabledDay = () => `\n cursor: not-allowed;\n opacity: 0.4;\n\n ${addFocus({\n outlineSize: '0.063rem',\n outlineOffset: '-0.063rem',\n outlineColor: `var(${tokens.calendarOutlineFocusColor})`,\n outlineRadius: `calc(var(${tokens.calendarDayItemBorderRadius}) - 0.125rem)`,\n })};\n`;\n\nconst disabledCurrentDay = () => `\n ${disabledDay()};\n --calendar_private-add-focus-outline-offset: 0.125rem;\n`;\n\nexport const StyledDayRoot = styled.div<DayProps & FocusProps>`\n font-family: var(${tokens.calendarDayFontFamily});\n font-size: var(${tokens.calendarDayFontSize});\n font-style: var(${tokens.calendarDayFontStyle});\n font-weight: var(${tokens.calendarDayFontWeight});\n letter-spacing: var(${tokens.calendarDayFontLetterSpacing});\n line-height: var(${tokens.calendarDayFontLineHeight});\n\n position: relative;\n box-sizing: border-box;\n\n min-width: var(${tokens.calendarDayItemWidth});\n min-height: var(${tokens.calendarDayItemHeight});\n\n border-radius: var(${tokens.calendarDayItemBorderRadius});\n\n ${String(flexCenter)};\n\n color: ${({ isDayInCurrentMonth }) =>\n isDayInCurrentMonth\n ? `var(${tokens.calendarContentPrimaryColor})`\n : `var(${tokens.calendarContentSecondaryColor})`};\n visibility: ${({ isDayInCurrentMonth, isDouble }) => (!isDayInCurrentMonth && isDouble ? 'hidden' : 'visible')};\n\n &.${String(classes.selectableItem)} {\n ${addSelected({\n minWidth: `calc(var(${tokens.calendarDayItemWidth}) - 0.25rem)`,\n minHeight: `calc(var(${tokens.calendarDayItemHeight}) - 0.25rem)`,\n selectedFontWeight: `var(${tokens.calendarDaySelectedFontWeight})`,\n selectedBackground: `var(${tokens.calendarSelectedItemBackground})`,\n selectedColor: `var(${tokens.calendarSelectedItemColor})`,\n selectableBackgroundHover: `var(${tokens.calendarSelectableItemBackgroundHover})`,\n currentBorderColor: `var(${tokens.calendarCurrentItemBorderColor})`,\n currentBackgroundHover: `var(${tokens.calendarCurrentItemBackgroundHover})`,\n currentColorHover: `var(${tokens.calendarCurrentItemColorHover})`,\n currentChildBackgroundHover: `var(${tokens.calendarCurrentItemChildBackgroundHover})`,\n hoveredBackground: `var(${tokens.calendarHoveredItemBackground})`,\n hoveredColor: `var(${tokens.calendarHoveredItemColor})`,\n activeBackground: `var(${tokens.calendarActiveItemBackground})`,\n activeColor: `var(${tokens.calendarActiveItemColor})`,\n })};\n\n ${addFocus({\n outlineSize: '0.063rem',\n outlineOffset: '-0.063rem',\n outlineColor: `var(${tokens.calendarOutlineFocusColor})`,\n outlineRadius: `calc(var(${tokens.calendarMonthItemBorderRadius}) - 0.125rem)`,\n })};\n }\n\n &.${classes.dayOfWeek} {\n color: var(${tokens.calendarDayOfWeekColor});\n }\n\n &.${classes.dayDisabled} {\n ${disabledDay()};\n }\n\n &.${classes.dayDisabledCurrent} {\n ${disabledCurrentDay()};\n }\n`;\n\nexport const StyledEvents = styled.div`\n display: flex;\n\n position: absolute;\n bottom: 0.25rem;\n`;\n\nexport const StyledEvent = styled.div<{ color?: string }>`\n margin: 0 0.063rem;\n\n width: 0.188rem;\n height: 0.188rem;\n border-radius: 50%;\n\n background-color: ${({ color = 'var(--plasma-colors-accent)' }) => color};\n`;\n"],"names":["_exp10","_ref","offset","StyledDay","styled","name","class","propsAsIs","vars","_exp21","_ref2","isDayInCurrentMonth","concat","tokens","calendarContentPrimaryColor","calendarContentSecondaryColor","_exp22","_ref3","isDouble","StyledDayRoot","StyledEvents","_exp32","_ref4","_ref4$color","color","StyledEvent"],"mappings":";;;;;;;AAIwD,IAAAA,MAAA,GAHtCA,SAGsCA,MAAAA,GAAA;AAAA,EAAA,OA+CnC,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,MAAAA,GAAAA,IAAAA,CAAAA,MAAAA,CAAAA;IAAAA,OAAAA,EAAAA,CAAAA,MAAAA,CAAgBA,MAAO,EAAA,IAAA,CAAA,CAAA;GAAG,CAAA;AAAA,CAAA,CAAA;AArB3C,IAAMC,SAAS,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,WAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAAC,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cAqBVR,MAA6B,EAAA,CAAA;AAAA,GAAA;AAAA,CAGjD,EAAA;AAAC,IAAAS,MAAA,GArDgBA,SAqDhBA,MAAAA,GAAA;AAAA,EAAA,OAqCW,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAGC,mBAAAA,GAAAA,KAAAA,CAAAA,mBAAAA,CAAAA;AAAAA,IAAAA,OACRA,mBAAmB,GAAA,MAAA,CAAAC,MAAA,CACNC,sBAAM,CAACC,2BAA4B,EAAA,GAAA,CAAA,GAAA,MAAA,CAAAF,MAAA,CACnCC,sBAAM,CAACE,6BAA8B,EAAE,GAAA,CAAA,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAC,MAAA,GA7F1CA,SA6F0CA,MAAAA,GAAA;AAAA,EAAA,OAC1C,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAGN,mBAAmB,GAAAM,KAAA,CAAnBN,mBAAmB;MAAEO,QAAAA,GAAAA,KAAAA,CAAAA,QAAAA,CAAAA;AAAAA,IAAAA,OAAgB,CAACP,mBAAmB,IAAIO,QAAQ,GAAG,QAAQ,GAAG,SAAU,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAtB3G,IAAMC,aAAa,gBAAGf,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAAC,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cAkBtBC,MAG+C,EAAA,CAAA;AAAA,IAAA,WAAA,EAAA,cAC1CO,MAAgG,EAAA,CAAA;AAAA,GAAA;AAAA,CAuCjH,EAAA;AAEM,IAAMI,YAAY,gBAAGhB,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,cAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAKjC,EAAA;AAAC,IAAAc,MAAA,GA5IgBA,SA4IhBA,MAAAA,GAAA;AAAA,EAAA,OASsB,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAAC,WAAA,GAAAD,KAAA,CAAGE,KAAK;AAALA,MAAAA,KAAK,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,6BAAA,GAAAA,WAAA,CAAA;AAAA,IAAA,OAAoCC,KAAK,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAPrE,IAAMC,WAAW,gBAAGrB,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAAC,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cAOTa,MAAoD,EAAA,CAAA;AAAA,GAAA;AAAA,CAC3E;;;;;;;"}
@@ -0,0 +1,4 @@
1
+ .sotsbos{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;}.sotsbos.day-in-range:before{content:'';z-index:-1;position:absolute;width:100%;height:calc(100% - 0.125rem);background:var(--plasma-calendar-range-background);}.sotsbos.day-side-in-range:before{content:'';z-index:-1;position:absolute;width:0.75rem;height:calc(100% - 0.125rem);background:var(--plasma-calendar-range-background);}.sotsbos.day-side-left:before{left:var(--sotsbos-0);}.sotsbos.day-side-right:before{right:var(--sotsbos-0);}
2
+ .smv00b5{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);}.smv00b5.item-selectable{outline:none;cursor:pointer;position:relative;}.smv00b5.item-selectable:hover{background-color:var(--plasma-calendar-selectable-item-bg-hover);}.smv00b5.item-selectable.item-hovered,.smv00b5.item-selectable.item-hovered:hover{background-color:var(--plasma-calendar-hovered-item-bg);color:var(--plasma-calendar-hovered-item-color);cursor:pointer;font-weight:var(--plasma-calendar-day-selected-font-weight);}.smv00b5.item-selectable.item-selected:not(.item-current){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);}.smv00b5.item-selectable: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);}.smv00b5.item-selectable.item-current{border:0.063rem solid var(--plasma-calendar-current-item-border-color);}.smv00b5.item-selectable.item-current.item-selected{background-color:initial;color:var(--plasma-calendar-selected-item-color);font-weight:var(--plasma-calendar-day-selected-font-weight);}.smv00b5.item-selectable.item-current.item-selected > 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);}.smv00b5.item-selectable.item-current:not(.item-selected):hover{background-color:var(--plasma-calendar-current-item-bg-hover);color:var(--plasma-calendar-current-item-color-hover);}.smv00b5.item-selectable.item-current:not(.item-selected):hover > div:first-of-type{background-color:var(--plasma-calendar-current-item-child-bg-hover);min-width:calc(var(--plasma-calendar-day-item-width) - 0.25rem);min-height:calc(var(--plasma-calendar-day-item-height) - 0.25rem);}.smv00b5.item-selectable.item-current:not(.item-selected):hover:active > div:first-of-type{background-color:var(--plasma-calendar-selected-item-background);}.smv00b5.item-selectable.item-current.item-hovered:not(.item-selected):hover{background-color:initial;color:var(--plasma-calendar-hovered-item-color);font-weight:var(--plasma-calendar-day-selected-font-weight);}.smv00b5.item-selectable.item-current.item-hovered:not(.item-selected):hover > div:first-of-type{background-color:var(--plasma-calendar-hovered-item-bg);min-width:calc(var(--plasma-calendar-day-item-width) - 0.25rem);min-height:calc(var(--plasma-calendar-day-item-height) - 0.25rem);}.smv00b5.item-selectable::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: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;}.smv00b5.item-selectable.focus-visible:focus::before,.smv00b5.item-selectable[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.smv00b5.day-of-week{color:var(--plasma-calendar-day-of-the-week-color);}.smv00b5.day-disabled{cursor:not-allowed;opacity:0.4;position:relative;}.smv00b5.day-disabled::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: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;}.smv00b5.day-disabled.focus-visible:focus::before,.smv00b5.day-disabled[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.smv00b5.day-disabled-current{cursor:not-allowed;opacity:0.4;position:relative;--calendar_private-add-focus-outline-offset:0.125rem;}.smv00b5.day-disabled-current::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: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;}.smv00b5.day-disabled-current.focus-visible:focus::before,.smv00b5.day-disabled-current[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}
3
+ .s58etsc{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:absolute;bottom:0.25rem;}
4
+ .say0ota{margin:0 0.063rem;width:0.188rem;height:0.188rem;border-radius:50%;background-color:var(--say0ota-0);}
@@ -1,8 +1,8 @@
1
- .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);}
2
- .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);}
3
- .CalendarDayItem_styles_xf9c5e_s58etsc__95ac98f6{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:absolute;bottom:0.25rem;}
4
- .CalendarDayItem_styles_xf9c5e_say0ota__95ac98f6{margin:0 0.063rem;width:0.188rem;height:0.188rem;border-radius:50%;background-color:var(--say0ota-0);}
1
+ .CalendarDayItem_styles_wuxgzs_sotsbos__736ff036{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;}.CalendarDayItem_styles_wuxgzs_sotsbos__736ff036.CalendarDayItem_styles_wuxgzs_dayInRange__736ff036:before{content:'';z-index:-1;position:absolute;width:100%;height:calc(100% - 0.125rem);background:var(--plasma-calendar-range-background);}.CalendarDayItem_styles_wuxgzs_sotsbos__736ff036.CalendarDayItem_styles_wuxgzs_daySideInRange__736ff036:before{content:'';z-index:-1;position:absolute;width:0.75rem;height:calc(100% - 0.125rem);background:var(--plasma-calendar-range-background);}.CalendarDayItem_styles_wuxgzs_sotsbos__736ff036.CalendarDayItem_styles_wuxgzs_daySideLeft__736ff036:before{left:var(--sotsbos-0);}.CalendarDayItem_styles_wuxgzs_sotsbos__736ff036.CalendarDayItem_styles_wuxgzs_daySideRight__736ff036:before{right:var(--sotsbos-0);}
2
+ .CalendarDayItem_styles_wuxgzs_smv00b5__736ff036{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_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036{outline:none;cursor:pointer;position:relative;}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036:hover{background-color:var(--plasma-calendar-selectable-item-bg-hover);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemHovered__736ff036,.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemHovered__736ff036:hover{background-color:var(--plasma-calendar-hovered-item-bg);color:var(--plasma-calendar-hovered-item-color);cursor:pointer;font-weight:var(--plasma-calendar-day-selected-font-weight);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036:not(.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036){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_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036: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_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036{border:0.063rem solid var(--plasma-calendar-current-item-border-color);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036{background-color:initial;color:var(--plasma-calendar-selected-item-color);font-weight:var(--plasma-calendar-day-selected-font-weight);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036 > 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_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036:not(.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036):hover{background-color:var(--plasma-calendar-current-item-bg-hover);color:var(--plasma-calendar-current-item-color-hover);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036:not(.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036):hover > div:first-of-type{background-color:var(--plasma-calendar-current-item-child-bg-hover);min-width:calc(var(--plasma-calendar-day-item-width) - 0.25rem);min-height:calc(var(--plasma-calendar-day-item-height) - 0.25rem);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036:not(.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036):hover:active > div:first-of-type{background-color:var(--plasma-calendar-selected-item-background);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036.CalendarDayItem_styles_wuxgzs_itemHovered__736ff036:not(.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036):hover{background-color:initial;color:var(--plasma-calendar-hovered-item-color);font-weight:var(--plasma-calendar-day-selected-font-weight);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_itemCurrent__736ff036.CalendarDayItem_styles_wuxgzs_itemHovered__736ff036:not(.CalendarDayItem_styles_wuxgzs_itemSelected__736ff036):hover > div:first-of-type{background-color:var(--plasma-calendar-hovered-item-bg);min-width:calc(var(--plasma-calendar-day-item-width) - 0.25rem);min-height:calc(var(--plasma-calendar-day-item-height) - 0.25rem);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036::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: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;}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036.CalendarDayItem_styles_wuxgzs_focusVisible__736ff036:focus::before,.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_itemSelectable__736ff036[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayOfWeek__736ff036{color:var(--plasma-calendar-day-of-the-week-color);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabled__736ff036{cursor:not-allowed;opacity:0.4;position:relative;}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabled__736ff036::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: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_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabled__736ff036.CalendarDayItem_styles_wuxgzs_focusVisible__736ff036:focus::before,.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabled__736ff036[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabledCurrent__736ff036{cursor:not-allowed;opacity:0.4;position:relative;--calendar_private-add-focus-outline-offset:0.125rem;}.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabledCurrent__736ff036::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: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_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabledCurrent__736ff036.CalendarDayItem_styles_wuxgzs_focusVisible__736ff036:focus::before,.CalendarDayItem_styles_wuxgzs_smv00b5__736ff036.CalendarDayItem_styles_wuxgzs_dayDisabledCurrent__736ff036[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}
3
+ .CalendarDayItem_styles_wuxgzs_s58etsc__736ff036{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:absolute;bottom:0.25rem;}
4
+ .CalendarDayItem_styles_wuxgzs_say0ota__736ff036{margin:0 0.063rem;width:0.188rem;height:0.188rem;border-radius:50%;background-color:var(--say0ota-0);}
5
5
 
6
- .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;}
7
- .CalendarDays_styles_bnrjbd_s1rv3pd5__ecb9e72f{outline:none;padding:0.5rem 1rem 1.5rem;box-sizing:border-box;}
8
- .CalendarDays_styles_bnrjbd_scupvll__ecb9e72f{display:none;}
6
+ .CalendarDays_styles_1oq8sud_s1jnjaxw__be296257{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
7
+ .CalendarDays_styles_1oq8sud_s1rv3pd5__be296257{outline:none;padding:var(--plasma-calendar-days-padding);box-sizing:border-box;}
8
+ .CalendarDays_styles_1oq8sud_scupvll__be296257{display:none;}
@@ -1,4 +1,4 @@
1
- import './CalendarDays.styles_bnrjbd.css';
1
+ import './CalendarDays.styles_1oq8sud.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDays.styles.js","sources":["../../../../../src/components/Calendar/ui/CalendarDays/CalendarDays.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { flexCenter } from '../../mixins';\n\nexport const StyledFlex = styled.div`\n ${String(flexCenter)};\n`;\n\nexport const StyledCalendarDays = styled.div`\n outline: none;\n\n padding: 0.5rem 1rem 1.5rem;\n box-sizing: border-box;\n`;\n\nexport const StyledCalendarDaysHint = styled.span`\n display: none;\n`;\n"],"names":["StyledFlex","styled","name","class","propsAsIs","StyledCalendarDays","StyledCalendarDaysHint"],"mappings":";;;;;;AAIO,IAAMA,UAAU,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAE/B,EAAA;AAEM,IAAMC,kBAAkB,gBAAGJ,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,oBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAKvC,EAAA;AAEM,IAAME,sBAAsB,gBAAGL,YAAM,CAAA,MAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,wBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAE3C;;;;;;"}
1
+ {"version":3,"file":"CalendarDays.styles.js","sources":["../../../../../src/components/Calendar/ui/CalendarDays/CalendarDays.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { flexCenter } from '../../mixins';\nimport { tokens } from '../../Calendar.tokens';\n\nexport const StyledFlex = styled.div`\n ${String(flexCenter)};\n`;\n\nexport const StyledCalendarDays = styled.div`\n outline: none;\n\n padding: var(${tokens.calendarDaysPadding});\n box-sizing: border-box;\n`;\n\nexport const StyledCalendarDaysHint = styled.span`\n display: none;\n`;\n"],"names":["StyledFlex","styled","name","class","propsAsIs","StyledCalendarDays","StyledCalendarDaysHint"],"mappings":";;;;;;AAKO,IAAMA,UAAU,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAE/B,EAAA;AAEM,IAAMC,kBAAkB,gBAAGJ,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,oBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAKvC,EAAA;AAEM,IAAME,sBAAsB,gBAAGL,YAAM,CAAA,MAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,wBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAE3C;;;;;;"}
@@ -1,3 +1,3 @@
1
1
  .s1jnjaxw{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;}
2
- .s1rv3pd5{outline:none;padding:0.5rem 1rem 1.5rem;box-sizing:border-box;}
2
+ .s1rv3pd5{outline:none;padding:var(--plasma-calendar-days-padding);box-sizing:border-box;}
3
3
  .scupvll{display:none;}
@@ -1,10 +1,38 @@
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
- .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;}
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_1b92i4d_sjaqipy__da7add3c{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;}
32
+ .CalendarHeader_styles_1b92i4d_s1k7jebr__da7add3c{border:none;background-color:transparent;padding:0;outline:none;color:var(--plasma-calendar-content-primary-color);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);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_1b92i4d_s1k7jebr__da7add3c::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_1b92i4d_s1k7jebr__da7add3c.CalendarHeader_styles_1b92i4d_focusVisible__da7add3c:focus::before,.CalendarHeader_styles_1b92i4d_s1k7jebr__da7add3c[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.063rem var(--plasma-calendar-outline-focus-color);}
33
+ .CalendarHeader_styles_1b92i4d_s1b07tlr__da7add3c{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_1b92i4d_s13yvda3__da7add3c{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-calendar-arrow-container-gap);}
35
+ .CalendarHeader_styles_1b92i4d_s1i8jkj2__da7add3c{--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);}
36
+ .CalendarHeader_styles_1b92i4d_sw3by8z__da7add3c{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_1b92i4d_sdke0q6__da7add3c{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_1b92i4d_sdke0q6__da7add3c .CalendarHeader_styles_1b92i4d_s1i8jkj2__da7add3c{grid-area:a;}.CalendarHeader_styles_1b92i4d_sdke0q6__da7add3c.CalendarHeader_styles_1b92i4d_doubleHeader_LastDateWrapper__da7add3c .CalendarHeader_styles_1b92i4d_s1i8jkj2__da7add3c{grid-area:c;}
38
+ .CalendarHeader_styles_1b92i4d_sdtpxcv__da7add3c{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;}
@@ -5,13 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var React = require('react');
6
6
  var IconDisclosureLeft = require('../../../_Icon/Icons/IconDisclosureLeft.js');
7
7
  var IconDisclosureRight = require('../../../_Icon/Icons/IconDisclosureRight.js');
8
+ var IconDisclosureDownFill = require('../../../_Icon/Icons/IconDisclosureDownFill.js');
8
9
  require('@linaria/react');
9
10
  var types = require('../../store/types.js');
10
11
  var index = require('../../utils/index.js');
12
+ var Calendar_tokens = require('../../Calendar.tokens.js');
11
13
  var CalendarHeader_styles = require('./CalendarHeader.styles.js');
12
14
 
13
- var _IconDisclosureLeft, _IconDisclosureRight;
14
-
15
15
  /**
16
16
  * Компонент шапки календаря.
17
17
  */
@@ -20,6 +20,7 @@ var CalendarHeader = function CalendarHeader(_ref) {
20
20
  type = _ref$type === void 0 ? 'Days' : _ref$type,
21
21
  _ref$startYear = _ref.startYear,
22
22
  startYear = _ref$startYear === void 0 ? 0 : _ref$startYear,
23
+ size = _ref.size,
23
24
  firstDate = _ref.firstDate,
24
25
  secondDate = _ref.secondDate,
25
26
  isDouble = _ref.isDouble,
@@ -39,42 +40,50 @@ var CalendarHeader = function CalendarHeader(_ref) {
39
40
  return '';
40
41
  }
41
42
  if (type === types.CalendarState.Days) {
42
- return "".concat(index.MONTH_NAMES[date.monthIndex], " ").concat(date.year);
43
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledHeaderDate, null, index.MONTH_NAMES[date.monthIndex]), /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledHeaderDate, null, date.year, /*#__PURE__*/React.createElement(IconDisclosureDownFill.IconDisclosureDownFill, {
44
+ size: size === 'xs' ? 'xs' : 's'
45
+ })));
43
46
  }
44
47
  if (type === types.CalendarState.Months) {
45
- return "".concat(date.year);
48
+ return /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledHeaderDate, null, date.year, /*#__PURE__*/React.createElement(IconDisclosureDownFill.IconDisclosureDownFill, {
49
+ size: size === 'xs' ? 'xs' : 's'
50
+ }));
46
51
  }
47
52
  if (type === types.CalendarState.Years) {
48
- return "".concat(startYear, "\u2014").concat(startYear + index.YEAR_RENDER_COUNT - 1);
53
+ return /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledHeaderDate, null, startYear, "\u2014", startYear + index.YEAR_RENDER_COUNT - 1, /*#__PURE__*/React.createElement(IconDisclosureDownFill.IconDisclosureDownFill, {
54
+ size: size === 'xs' ? 'xs' : 's'
55
+ }));
49
56
  }
50
57
  return '';
51
- }, [type, startYear]);
58
+ }, [type, startYear, size]);
52
59
  var currentCalendarType = index.getCalendarType(isDouble ? types.CalendarState.Days : type);
53
60
  var PreviousButton = React.useMemo(function () {
54
61
  return /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledArrow, {
55
- type: "button",
56
62
  "aria-label": "\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0439 ".concat(currentCalendarType),
57
- tabIndex: 0,
58
63
  onClick: function onClick() {
59
64
  return onPrev();
60
65
  }
61
- }, _IconDisclosureLeft || (_IconDisclosureLeft = /*#__PURE__*/React.createElement(IconDisclosureLeft.IconDisclosureLeft, null)));
62
- }, [currentCalendarType, onPrev]);
66
+ }, /*#__PURE__*/React.createElement(IconDisclosureLeft.IconDisclosureLeft, {
67
+ size: size === 'xs' ? 'xs' : 's'
68
+ }));
69
+ }, [currentCalendarType, size, onPrev]);
63
70
  var NextButton = React.useMemo(function () {
64
71
  return /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledArrow, {
65
- type: "button",
66
72
  "aria-label": "\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 ".concat(currentCalendarType),
67
- tabIndex: 0,
68
73
  onClick: function onClick() {
69
74
  return onNext();
70
75
  }
71
- }, _IconDisclosureRight || (_IconDisclosureRight = /*#__PURE__*/React.createElement(IconDisclosureRight.IconDisclosureRight, null)));
72
- }, [currentCalendarType, onNext]);
73
- return /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledCalendarHeader, null, isDouble ? /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledNavigation, null, PreviousButton, /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledHeaderDouble, {
76
+ }, /*#__PURE__*/React.createElement(IconDisclosureRight.IconDisclosureRight, {
77
+ size: size === 'xs' ? 'xs' : 's'
78
+ }));
79
+ }, [currentCalendarType, size, onNext]);
80
+ return /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledCalendarHeader, null, isDouble ? /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledNavigation, null, /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledDoubleHeaderWrapper, null, PreviousButton, /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledHeaderDouble, {
74
81
  "aria-live": "polite"
75
- }, getHeaderContent(firstDate)), /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledHeaderDouble, {
82
+ }, getHeaderContent(firstDate))), /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledDoubleHeaderWrapper, {
83
+ className: Calendar_tokens.classes.doubleHeaderLastDateWrapper
84
+ }, /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledHeaderDouble, {
76
85
  "aria-live": "polite"
77
- }, getHeaderContent(secondDate)), NextButton) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledHeader, {
86
+ }, getHeaderContent(secondDate)), NextButton)) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(CalendarHeader_styles.StyledHeader, {
78
87
  type: "button",
79
88
  "aria-live": "polite",
80
89
  id: "id-grid-label",
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarHeader.js","sources":["../../../../../src/components/Calendar/ui/CalendarHeader/CalendarHeader.tsx"],"sourcesContent":["import React, { useCallback, useMemo } from 'react';\n\nimport { IconDisclosureLeft, IconDisclosureRight } from '../../../_Icon';\nimport { CalendarState } from '../../store/types';\nimport { getCalendarType, MONTH_NAMES, YEAR_RENDER_COUNT } from '../../utils';\nimport type { DateObject } from '../../Calendar.types';\n\nimport type { CalendarHeaderProps } from './CalendarHeader.types';\nimport {\n StyledArrow,\n StyledArrows,\n StyledCalendarHeader,\n StyledHeader,\n StyledHeaderDouble,\n StyledNavigation,\n} from './CalendarHeader.styles';\n\n/**\n * Компонент шапки календаря.\n */\nexport const CalendarHeader: React.FC<CalendarHeaderProps> = ({\n type = 'Days',\n startYear = 0,\n firstDate,\n secondDate,\n isDouble,\n onPrev,\n onNext,\n onUpdateCalendarState,\n}) => {\n const handleCalendarState = useCallback(() => {\n if (type === CalendarState.Days) {\n onUpdateCalendarState?.(CalendarState.Months, [3, 2]);\n }\n\n if (type === CalendarState.Months) {\n onUpdateCalendarState?.(CalendarState.Years, [3, 2]);\n }\n }, [type, onUpdateCalendarState]);\n\n const getHeaderContent = useCallback(\n (date?: DateObject) => {\n if (!date) {\n return '';\n }\n\n if (type === CalendarState.Days) {\n return `${MONTH_NAMES[date.monthIndex]} ${date.year}`;\n }\n\n if (type === CalendarState.Months) {\n return `${date.year}`;\n }\n\n if (type === CalendarState.Years) {\n return `${startYear}—${startYear + YEAR_RENDER_COUNT - 1}`;\n }\n\n return '';\n },\n [type, startYear],\n );\n\n const currentCalendarType = getCalendarType(isDouble ? CalendarState.Days : type);\n\n const PreviousButton = useMemo(\n () => (\n <StyledArrow\n type=\"button\"\n aria-label={`Предыдущий ${currentCalendarType}`}\n tabIndex={0}\n onClick={() => onPrev()}\n >\n <IconDisclosureLeft />\n </StyledArrow>\n ),\n [currentCalendarType, onPrev],\n );\n\n const NextButton = useMemo(\n () => (\n <StyledArrow\n type=\"button\"\n aria-label={`Следующий ${currentCalendarType}`}\n tabIndex={0}\n onClick={() => onNext()}\n >\n <IconDisclosureRight />\n </StyledArrow>\n ),\n [currentCalendarType, onNext],\n );\n\n return (\n <StyledCalendarHeader>\n {isDouble ? (\n <StyledNavigation>\n {PreviousButton}\n <StyledHeaderDouble aria-live=\"polite\">{getHeaderContent(firstDate)}</StyledHeaderDouble>\n <StyledHeaderDouble aria-live=\"polite\">{getHeaderContent(secondDate)}</StyledHeaderDouble>\n {NextButton}\n </StyledNavigation>\n ) : (\n <>\n <StyledHeader\n type=\"button\"\n aria-live=\"polite\"\n id=\"id-grid-label\"\n onClick={handleCalendarState}\n tabIndex={0}\n >\n {getHeaderContent(firstDate)}\n </StyledHeader>\n <StyledArrows>\n {PreviousButton}\n {NextButton}\n </StyledArrows>\n </>\n )}\n </StyledCalendarHeader>\n );\n};\n"],"names":["CalendarHeader","_ref","_ref$type","type","_ref$startYear","startYear","firstDate","secondDate","isDouble","onPrev","onNext","onUpdateCalendarState","handleCalendarState","useCallback","CalendarState","Days","Months","Years","getHeaderContent","date","concat","MONTH_NAMES","monthIndex","year","YEAR_RENDER_COUNT","currentCalendarType","getCalendarType","PreviousButton","useMemo","React","createElement","StyledArrow","tabIndex","onClick","_IconDisclosureLeft","IconDisclosureLeft","NextButton","_IconDisclosureRight","IconDisclosureRight","StyledCalendarHeader","StyledNavigation","StyledHeaderDouble","Fragment","StyledHeader","id","StyledArrows"],"mappings":"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"}
1
+ {"version":3,"file":"CalendarHeader.js","sources":["../../../../../src/components/Calendar/ui/CalendarHeader/CalendarHeader.tsx"],"sourcesContent":["import React, { useCallback, useMemo } from 'react';\n\nimport { IconDisclosureDownFill, IconDisclosureLeft, IconDisclosureRight } from '../../../_Icon';\nimport { CalendarState } from '../../store/types';\nimport { getCalendarType, MONTH_NAMES, YEAR_RENDER_COUNT } from '../../utils';\nimport type { DateObject } from '../../Calendar.types';\nimport { classes } from '../../Calendar.tokens';\n\nimport type { CalendarHeaderProps } from './CalendarHeader.types';\nimport {\n StyledArrow,\n StyledArrows,\n StyledCalendarHeader,\n StyledDoubleHeaderWrapper,\n StyledHeader,\n StyledHeaderDate,\n StyledHeaderDouble,\n StyledNavigation,\n} from './CalendarHeader.styles';\n\n/**\n * Компонент шапки календаря.\n */\nexport const CalendarHeader: React.FC<CalendarHeaderProps> = ({\n type = 'Days',\n startYear = 0,\n size,\n firstDate,\n secondDate,\n isDouble,\n onPrev,\n onNext,\n onUpdateCalendarState,\n}) => {\n const handleCalendarState = useCallback(() => {\n if (type === CalendarState.Days) {\n onUpdateCalendarState?.(CalendarState.Months, [3, 2]);\n }\n\n if (type === CalendarState.Months) {\n onUpdateCalendarState?.(CalendarState.Years, [3, 2]);\n }\n }, [type, onUpdateCalendarState]);\n\n const getHeaderContent = useCallback(\n (date?: DateObject) => {\n if (!date) {\n return '';\n }\n\n if (type === CalendarState.Days) {\n return (\n <>\n <StyledHeaderDate>{MONTH_NAMES[date.monthIndex]}</StyledHeaderDate>\n <StyledHeaderDate>\n {date.year}\n <IconDisclosureDownFill size={size === 'xs' ? 'xs' : 's'} />\n </StyledHeaderDate>\n </>\n );\n }\n\n if (type === CalendarState.Months) {\n return (\n <StyledHeaderDate>\n {date.year}\n <IconDisclosureDownFill size={size === 'xs' ? 'xs' : 's'} />\n </StyledHeaderDate>\n );\n }\n\n if (type === CalendarState.Years) {\n return (\n <StyledHeaderDate>\n {startYear}{startYear + YEAR_RENDER_COUNT - 1}\n <IconDisclosureDownFill size={size === 'xs' ? 'xs' : 's'} />\n </StyledHeaderDate>\n );\n }\n\n return '';\n },\n [type, startYear, size],\n );\n\n const currentCalendarType = getCalendarType(isDouble ? CalendarState.Days : type);\n\n const PreviousButton = useMemo(\n () => (\n <StyledArrow aria-label={`Предыдущий ${currentCalendarType}`} onClick={() => onPrev()}>\n <IconDisclosureLeft size={size === 'xs' ? 'xs' : 's'} />\n </StyledArrow>\n ),\n [currentCalendarType, size, onPrev],\n );\n\n const NextButton = useMemo(\n () => (\n <StyledArrow aria-label={`Следующий ${currentCalendarType}`} onClick={() => onNext()}>\n <IconDisclosureRight size={size === 'xs' ? 'xs' : 's'} />\n </StyledArrow>\n ),\n [currentCalendarType, size, onNext],\n );\n\n return (\n <StyledCalendarHeader>\n {isDouble ? (\n <StyledNavigation>\n <StyledDoubleHeaderWrapper>\n {PreviousButton}\n <StyledHeaderDouble aria-live=\"polite\">{getHeaderContent(firstDate)}</StyledHeaderDouble>\n </StyledDoubleHeaderWrapper>\n <StyledDoubleHeaderWrapper className={classes.doubleHeaderLastDateWrapper}>\n <StyledHeaderDouble aria-live=\"polite\">{getHeaderContent(secondDate)}</StyledHeaderDouble>\n {NextButton}\n </StyledDoubleHeaderWrapper>\n </StyledNavigation>\n ) : (\n <>\n <StyledHeader\n type=\"button\"\n aria-live=\"polite\"\n id=\"id-grid-label\"\n onClick={handleCalendarState}\n tabIndex={0}\n >\n {getHeaderContent(firstDate)}\n </StyledHeader>\n <StyledArrows>\n {PreviousButton}\n {NextButton}\n </StyledArrows>\n </>\n )}\n </StyledCalendarHeader>\n );\n};\n"],"names":["CalendarHeader","_ref","_ref$type","type","_ref$startYear","startYear","size","firstDate","secondDate","isDouble","onPrev","onNext","onUpdateCalendarState","handleCalendarState","useCallback","CalendarState","Days","Months","Years","getHeaderContent","date","React","createElement","Fragment","StyledHeaderDate","MONTH_NAMES","monthIndex","year","IconDisclosureDownFill","YEAR_RENDER_COUNT","currentCalendarType","getCalendarType","PreviousButton","useMemo","StyledArrow","concat","onClick","IconDisclosureLeft","NextButton","IconDisclosureRight","StyledCalendarHeader","StyledNavigation","StyledDoubleHeaderWrapper","StyledHeaderDouble","className","classes","doubleHeaderLastDateWrapper","StyledHeader","id","tabIndex","StyledArrows"],"mappings":"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"}
@@ -1,26 +1,27 @@
1
- import './CalendarHeader.styles_1c4p417.css';
1
+ import './CalendarHeader.styles_1b92i4d.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  var react = require('@linaria/react');
7
- var index = require('../../mixins/index.js');
7
+ require('@linaria/core');
8
+ var common = require('../../../../engines/common.js');
9
+ var IconButton$1 = require('../../../IconButton/IconButton.js');
8
10
 
11
+ var mergedIconButtonConfig = /*#__PURE__*/common.mergeConfig(IconButton$1.iconButtonConfig);
12
+ var IconButton = /*#__PURE__*/common.component(mergedIconButtonConfig);
9
13
  var StyledCalendarHeader = /*#__PURE__*/react.styled('div')({
10
14
  name: "StyledCalendarHeader",
11
15
  "class": "sjaqipy",
12
16
  propsAsIs: false
13
17
  });
14
- var _exp7 = function _exp7() {
15
- return index.buttonFocus;
16
- };
17
- var StyledHeader = /*#__PURE__*/react.styled(_exp7())({
18
+ var StyledHeader = /*#__PURE__*/react.styled('button')({
18
19
  name: "StyledHeader",
19
20
  "class": "s1k7jebr",
20
- propsAsIs: true
21
+ propsAsIs: false
21
22
  });
22
- var StyledHeaderDouble = /*#__PURE__*/react.styled('h4')({
23
- name: "StyledHeaderDouble",
23
+ var StyledHeaderDate = /*#__PURE__*/react.styled('span')({
24
+ name: "StyledHeaderDate",
24
25
  "class": "s1b07tlr",
25
26
  propsAsIs: false
26
27
  });
@@ -29,10 +30,12 @@ var StyledArrows = /*#__PURE__*/react.styled('div')({
29
30
  "class": "s13yvda3",
30
31
  propsAsIs: false
31
32
  });
32
- var _exp23 = function _exp23() {
33
- return index.buttonFocus;
33
+
34
+ // NOTE: переопределение токенов IconButton
35
+ var _exp13 = function _exp13() {
36
+ return IconButton;
34
37
  };
35
- var StyledArrow = /*#__PURE__*/react.styled(_exp23())({
38
+ var StyledArrow = /*#__PURE__*/react.styled(_exp13())({
36
39
  name: "StyledArrow",
37
40
  "class": "s1i8jkj2",
38
41
  propsAsIs: true
@@ -42,11 +45,23 @@ var StyledNavigation = /*#__PURE__*/react.styled('div')({
42
45
  "class": "sw3by8z",
43
46
  propsAsIs: false
44
47
  });
48
+ var StyledDoubleHeaderWrapper = /*#__PURE__*/react.styled('div')({
49
+ name: "StyledDoubleHeaderWrapper",
50
+ "class": "sdke0q6",
51
+ propsAsIs: false
52
+ });
53
+ var StyledHeaderDouble = /*#__PURE__*/react.styled('h4')({
54
+ name: "StyledHeaderDouble",
55
+ "class": "sdtpxcv",
56
+ propsAsIs: false
57
+ });
45
58
 
46
59
  exports.StyledArrow = StyledArrow;
47
60
  exports.StyledArrows = StyledArrows;
48
61
  exports.StyledCalendarHeader = StyledCalendarHeader;
62
+ exports.StyledDoubleHeaderWrapper = StyledDoubleHeaderWrapper;
49
63
  exports.StyledHeader = StyledHeader;
64
+ exports.StyledHeaderDate = StyledHeaderDate;
50
65
  exports.StyledHeaderDouble = StyledHeaderDouble;
51
66
  exports.StyledNavigation = StyledNavigation;
52
67
  //# sourceMappingURL=CalendarHeader.styles.js.map