@salutejs/plasma-new-hope 0.88.0-canary.1223.9505247307.0 → 0.88.0-canary.1224.9504044130.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (723) hide show
  1. package/cjs/components/Calendar/Calendar.tokens.js +67 -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_fznpy7.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 +31 -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_gnorek.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_wmlwil.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_f2aje6.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 +189 -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_1thp2xv.css +1 -0
  53. package/cjs/components/DatePicker/RangeDate/DatePicker.css +152 -0
  54. package/cjs/components/DatePicker/RangeDate/DatePicker.js +285 -0
  55. package/cjs/components/DatePicker/RangeDate/DatePicker.js.map +1 -0
  56. package/cjs/components/DatePicker/RangeDate/DatePicker.styles.js +51 -0
  57. package/cjs/components/DatePicker/RangeDate/DatePicker.styles.js.map +1 -0
  58. package/cjs/components/DatePicker/RangeDate/DatePicker.styles_6cvsgx.css +5 -0
  59. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +144 -0
  60. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +83 -0
  61. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -0
  62. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +42 -0
  63. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -0
  64. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_wp3vfj.css +2 -0
  65. package/cjs/components/{Accordion/variations/_size → 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/{Accordion/variations/_view → DatePicker/RangeDate/variations/_readonly}/base.js +2 -2
  69. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js.map +1 -0
  70. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base_dhosc0.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_c0144z.css +1 -0
  74. package/cjs/components/DatePicker/RangeDate/variations/_view/base.js +9 -0
  75. package/cjs/components/DatePicker/RangeDate/variations/_view/base.js.map +1 -0
  76. package/cjs/components/DatePicker/RangeDate/variations/_view/base_1vly6xz.css +1 -0
  77. package/cjs/components/DatePicker/SingleDate/DatePicker.css +134 -0
  78. package/cjs/components/DatePicker/SingleDate/DatePicker.js +183 -0
  79. package/cjs/components/DatePicker/SingleDate/DatePicker.js.map +1 -0
  80. package/cjs/components/DatePicker/SingleDate/DatePicker.styles.js +51 -0
  81. package/cjs/components/DatePicker/SingleDate/DatePicker.styles.js.map +1 -0
  82. package/cjs/components/DatePicker/SingleDate/DatePicker.styles_1reoff2.css +5 -0
  83. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js +9 -0
  84. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js.map +1 -0
  85. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base_1rfgfsz.css +1 -0
  86. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +9 -0
  87. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js.map +1 -0
  88. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base_ayigv4.css +1 -0
  89. package/cjs/components/DatePicker/SingleDate/variations/_size/base.js +9 -0
  90. package/cjs/components/DatePicker/SingleDate/variations/_size/base.js.map +1 -0
  91. package/cjs/components/DatePicker/SingleDate/variations/_size/base_jrds3p.css +1 -0
  92. package/cjs/components/DatePicker/SingleDate/variations/_view/base.js +9 -0
  93. package/cjs/components/DatePicker/SingleDate/variations/_view/base.js.map +1 -0
  94. package/cjs/components/DatePicker/SingleDate/variations/_view/base_163gwfv.css +1 -0
  95. package/cjs/components/DatePicker/hooks/useDatePicker.js +79 -0
  96. package/cjs/components/DatePicker/hooks/useDatePicker.js.map +1 -0
  97. package/cjs/components/DatePicker/utils/dateHelper.js +84 -0
  98. package/cjs/components/DatePicker/utils/dateHelper.js.map +1 -0
  99. package/cjs/components/Dropdown/Dropdown.js +2 -1
  100. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  101. package/cjs/components/Dropdown/utils/index.js +0 -17
  102. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  103. package/cjs/components/Range/Range.css +6 -6
  104. package/cjs/components/Range/Range.js +17 -2
  105. package/cjs/components/Range/Range.js.map +1 -1
  106. package/cjs/components/Range/Range.styles.js +1 -1
  107. package/cjs/components/Range/Range.styles.js.map +1 -1
  108. package/cjs/components/Range/Range.styles_9rort8.css +8 -0
  109. package/cjs/components/Select/Select.js +2 -2
  110. package/cjs/components/Select/Select.js.map +1 -1
  111. package/cjs/components/Slider/Slider.css +3 -3
  112. package/cjs/components/Slider/components/Double/Double.css +3 -3
  113. package/cjs/components/TextField/TextField.tokens.js +1 -1
  114. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  115. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  116. package/cjs/components/TextField/variations/_read-only/base_1vu13zn.css +1 -0
  117. package/cjs/components/TextField/variations/_size/base.js +1 -1
  118. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  119. package/cjs/components/TextField/variations/_size/base_orwx1f.css +1 -0
  120. package/cjs/components/TextField/variations/_view/base.js +1 -1
  121. package/cjs/components/TextField/variations/_view/base_18ea6z7.css +1 -0
  122. package/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js +23 -0
  123. package/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js.map +1 -0
  124. package/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  125. package/cjs/components/_Icon/Icon.assets/DisclosureLeft.js.map +1 -1
  126. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js +5 -15
  127. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  128. package/cjs/components/_Icon/Icons/{IconMinus.js → IconDisclosureDownFill.js} +5 -5
  129. package/cjs/components/_Icon/Icons/IconDisclosureDownFill.js.map +1 -0
  130. package/cjs/index.css +69 -38
  131. package/cjs/index.js +12 -8
  132. package/cjs/index.js.map +1 -1
  133. package/cjs/utils/datejs.js +12 -0
  134. package/cjs/utils/datejs.js.map +1 -0
  135. package/cjs/utils/getPopoverPlacement.js +23 -0
  136. package/cjs/utils/getPopoverPlacement.js.map +1 -0
  137. package/cjs/utils/index.js.map +1 -1
  138. package/es/components/Calendar/Calendar.tokens.js +67 -28
  139. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  140. package/es/components/Calendar/Calendar.types.js.map +1 -1
  141. package/es/components/Calendar/CalendarBase/CalendarBase.css +57 -29
  142. package/es/components/Calendar/CalendarBase/CalendarBase.js +7 -1
  143. package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  144. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  145. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  146. package/es/components/Calendar/CalendarBase/{CalendarBase.styles_rv9ax9.css → CalendarBase.styles_1m6uih1.css} +1 -1
  147. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +58 -30
  148. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -0
  149. package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  150. package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +1 -1
  151. package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js.map +1 -1
  152. package/es/components/Calendar/CalendarDouble/{CalendarDouble.styles_1rc2ejs.css → CalendarDouble.styles_e9ada0.css} +2 -2
  153. package/es/components/Calendar/hoc/withRange.js.map +1 -1
  154. package/es/components/Calendar/hooks/useDays.js +1 -1
  155. package/es/components/Calendar/hooks/useDays.js.map +1 -1
  156. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.css +4 -4
  157. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +9 -9
  158. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js.map +1 -1
  159. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_fznpy7.css +4 -0
  160. package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +7 -7
  161. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -1
  162. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
  163. package/es/components/Calendar/ui/CalendarDays/{CalendarDays.styles_bnrjbd.css → CalendarDays.styles_1oq8sud.css} +1 -1
  164. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +36 -8
  165. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +32 -18
  166. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  167. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +26 -13
  168. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  169. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_gnorek.css +8 -0
  170. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  171. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  172. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  173. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +1 -1
  174. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
  175. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_wmlwil.css +4 -0
  176. package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  177. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  178. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  179. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +1 -1
  180. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
  181. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_f2aje6.css +4 -0
  182. package/es/components/Calendar/utils/index.js.map +1 -1
  183. package/es/components/Combobox/Combobox.js +1 -1
  184. package/es/components/Combobox/Combobox.js.map +1 -1
  185. package/es/components/DatePicker/DatePicker.tokens.js +184 -0
  186. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -0
  187. package/es/components/DatePicker/DatePickerBase.styles.js +26 -0
  188. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -0
  189. package/es/components/DatePicker/DatePickerBase.styles_1thp2xv.css +1 -0
  190. package/es/components/DatePicker/RangeDate/DatePicker.css +152 -0
  191. package/es/components/DatePicker/RangeDate/DatePicker.js +280 -0
  192. package/es/components/DatePicker/RangeDate/DatePicker.js.map +1 -0
  193. package/es/components/DatePicker/RangeDate/DatePicker.styles.js +43 -0
  194. package/es/components/DatePicker/RangeDate/DatePicker.styles.js.map +1 -0
  195. package/es/components/DatePicker/RangeDate/DatePicker.styles_6cvsgx.css +5 -0
  196. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +144 -0
  197. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +79 -0
  198. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -0
  199. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +37 -0
  200. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -0
  201. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_wp3vfj.css +2 -0
  202. package/es/components/{Accordion/variations/_view → DatePicker/RangeDate/variations/_disabled}/base.js +2 -2
  203. package/es/components/DatePicker/RangeDate/variations/_disabled/base.js.map +1 -0
  204. package/es/components/DatePicker/RangeDate/variations/_disabled/base_tl4jc7.css +1 -0
  205. package/es/components/{Accordion/variations/_size → DatePicker/RangeDate/variations/_readonly}/base.js +2 -2
  206. package/es/components/DatePicker/RangeDate/variations/_readonly/base.js.map +1 -0
  207. package/es/components/DatePicker/RangeDate/variations/_readonly/base_dhosc0.css +1 -0
  208. package/es/components/DatePicker/RangeDate/variations/_size/base.js +5 -0
  209. package/es/components/DatePicker/RangeDate/variations/_size/base.js.map +1 -0
  210. package/es/components/DatePicker/RangeDate/variations/_size/base_c0144z.css +1 -0
  211. package/es/components/DatePicker/RangeDate/variations/_view/base.js +5 -0
  212. package/es/components/DatePicker/RangeDate/variations/_view/base.js.map +1 -0
  213. package/es/components/DatePicker/RangeDate/variations/_view/base_1vly6xz.css +1 -0
  214. package/es/components/DatePicker/SingleDate/DatePicker.css +134 -0
  215. package/es/components/DatePicker/SingleDate/DatePicker.js +178 -0
  216. package/es/components/DatePicker/SingleDate/DatePicker.js.map +1 -0
  217. package/es/components/DatePicker/SingleDate/DatePicker.styles.js +43 -0
  218. package/es/components/DatePicker/SingleDate/DatePicker.styles.js.map +1 -0
  219. package/es/components/DatePicker/SingleDate/DatePicker.styles_1reoff2.css +5 -0
  220. package/es/components/DatePicker/SingleDate/variations/_disabled/base.js +5 -0
  221. package/es/components/DatePicker/SingleDate/variations/_disabled/base.js.map +1 -0
  222. package/es/components/DatePicker/SingleDate/variations/_disabled/base_1rfgfsz.css +1 -0
  223. package/es/components/DatePicker/SingleDate/variations/_readonly/base.js +5 -0
  224. package/es/components/DatePicker/SingleDate/variations/_readonly/base.js.map +1 -0
  225. package/es/components/DatePicker/SingleDate/variations/_readonly/base_ayigv4.css +1 -0
  226. package/es/components/DatePicker/SingleDate/variations/_size/base.js +5 -0
  227. package/es/components/DatePicker/SingleDate/variations/_size/base.js.map +1 -0
  228. package/es/components/DatePicker/SingleDate/variations/_size/base_jrds3p.css +1 -0
  229. package/es/components/DatePicker/SingleDate/variations/_view/base.js +5 -0
  230. package/es/components/DatePicker/SingleDate/variations/_view/base.js.map +1 -0
  231. package/es/components/DatePicker/SingleDate/variations/_view/base_163gwfv.css +1 -0
  232. package/es/components/DatePicker/hooks/useDatePicker.js +75 -0
  233. package/es/components/DatePicker/hooks/useDatePicker.js.map +1 -0
  234. package/es/components/DatePicker/utils/dateHelper.js +76 -0
  235. package/es/components/DatePicker/utils/dateHelper.js.map +1 -0
  236. package/es/components/Dropdown/Dropdown.js +2 -1
  237. package/es/components/Dropdown/Dropdown.js.map +1 -1
  238. package/es/components/Dropdown/utils/index.js +1 -16
  239. package/es/components/Dropdown/utils/index.js.map +1 -1
  240. package/es/components/Range/Range.css +6 -6
  241. package/es/components/Range/Range.js +18 -3
  242. package/es/components/Range/Range.js.map +1 -1
  243. package/es/components/Range/Range.styles.js +1 -1
  244. package/es/components/Range/Range.styles.js.map +1 -1
  245. package/es/components/Range/Range.styles_9rort8.css +8 -0
  246. package/es/components/Select/Select.js +1 -1
  247. package/es/components/Select/Select.js.map +1 -1
  248. package/es/components/Slider/Slider.css +3 -3
  249. package/es/components/Slider/components/Double/Double.css +3 -3
  250. package/es/components/TextField/TextField.tokens.js +1 -1
  251. package/es/components/TextField/TextField.tokens.js.map +1 -1
  252. package/es/components/TextField/variations/_read-only/base.js +1 -1
  253. package/es/components/TextField/variations/_read-only/base_1vu13zn.css +1 -0
  254. package/es/components/TextField/variations/_size/base.js +1 -1
  255. package/es/components/TextField/variations/_size/base.js.map +1 -1
  256. package/es/components/TextField/variations/_size/base_orwx1f.css +1 -0
  257. package/es/components/TextField/variations/_view/base.js +1 -1
  258. package/es/components/TextField/variations/_view/base_18ea6z7.css +1 -0
  259. package/es/components/_Icon/Icon.assets/DisclosureDownFill.js +19 -0
  260. package/es/components/_Icon/Icon.assets/DisclosureDownFill.js.map +1 -0
  261. package/es/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  262. package/es/components/_Icon/Icon.assets/DisclosureLeft.js.map +1 -1
  263. package/es/components/_Icon/Icon.assets/DisclosureRight.js +5 -15
  264. package/es/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  265. package/es/components/_Icon/Icons/{IconMinus.js → IconDisclosureDownFill.js} +5 -5
  266. package/es/components/_Icon/Icons/IconDisclosureDownFill.js.map +1 -0
  267. package/es/index.css +69 -38
  268. package/es/index.js +4 -3
  269. package/es/index.js.map +1 -1
  270. package/es/utils/datejs.js +8 -0
  271. package/es/utils/datejs.js.map +1 -0
  272. package/es/utils/getPopoverPlacement.js +18 -0
  273. package/es/utils/getPopoverPlacement.js.map +1 -0
  274. package/es/utils/index.js.map +1 -1
  275. package/package.json +3 -2
  276. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +67 -28
  277. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +6 -0
  278. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -1
  279. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -0
  280. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +2 -2
  281. package/styled-components/cjs/components/Calendar/hooks/useDays.js +1 -1
  282. package/styled-components/cjs/components/Calendar/mixins/active.js +12 -0
  283. package/styled-components/cjs/components/Calendar/mixins/flex.js +8 -0
  284. package/styled-components/cjs/components/Calendar/mixins/index.js +30 -29
  285. package/styled-components/cjs/components/Calendar/mixins/selected.js +24 -0
  286. package/styled-components/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +27 -20
  287. package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +2 -1
  288. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +30 -16
  289. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +29 -11
  290. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  291. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +26 -12
  292. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  293. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +26 -14
  294. package/styled-components/cjs/components/Combobox/Combobox.js +6 -7
  295. package/styled-components/cjs/components/DatePicker/DatePicker.template-doc.mdx +150 -0
  296. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +187 -0
  297. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +19 -0
  298. package/styled-components/cjs/components/DatePicker/RangeDate/DatePicker.js +293 -0
  299. package/styled-components/cjs/components/DatePicker/RangeDate/DatePicker.styles.js +33 -0
  300. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +81 -0
  301. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +26 -0
  302. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.js +5 -0
  303. package/styled-components/cjs/components/{Accordion/variations/_view → DatePicker/RangeDate/variations/_disabled}/base.js +2 -1
  304. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_disabled/tokens.json +0 -0
  305. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +10 -0
  306. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_readonly/tokens.json +4 -0
  307. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_size/base.js +10 -0
  308. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_size/tokens.json +0 -0
  309. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_view/base.js +10 -0
  310. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_view/tokens.json +0 -0
  311. package/styled-components/cjs/components/DatePicker/SingleDate/DatePicker.js +190 -0
  312. package/styled-components/cjs/components/DatePicker/SingleDate/DatePicker.styles.js +33 -0
  313. package/styled-components/cjs/components/DatePicker/SingleDate/DatePicker.types.js +5 -0
  314. package/styled-components/cjs/components/{Accordion/variations/_stretching → DatePicker/SingleDate/variations/_disabled}/base.js +2 -1
  315. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_disabled/tokens.json +4 -0
  316. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +10 -0
  317. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/tokens.json +4 -0
  318. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/base.js +10 -0
  319. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/tokens.json +16 -0
  320. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/base.js +10 -0
  321. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/tokens.json +1 -0
  322. package/styled-components/cjs/components/DatePicker/hooks/useDatePicker.js +77 -0
  323. package/styled-components/cjs/components/DatePicker/index.js +44 -0
  324. package/styled-components/cjs/components/DatePicker/utils/dateHelper.js +78 -0
  325. package/styled-components/cjs/components/Dropdown/Dropdown.js +1 -1
  326. package/styled-components/cjs/components/Dropdown/utils/index.js +1 -16
  327. package/styled-components/cjs/components/Range/Range.js +17 -2
  328. package/styled-components/cjs/components/Range/Range.styles.js +3 -2
  329. package/styled-components/cjs/components/Select/Select.js +7 -8
  330. package/styled-components/cjs/components/TextField/TextField.tokens.js +1 -1
  331. package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
  332. package/styled-components/cjs/components/_Icon/Icon.assets/{Minus.js → DisclosureDownFill.js} +5 -4
  333. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  334. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRight.js +5 -15
  335. package/styled-components/cjs/components/_Icon/Icons/{IconMinus.js → IconDisclosureDownFill.js} +4 -4
  336. package/styled-components/cjs/components/_Icon/index.js +8 -15
  337. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +24 -6
  338. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -2
  339. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -2
  340. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +31 -0
  341. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.js +13 -0
  342. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +251 -0
  343. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.config.js +4 -4
  344. package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +24 -6
  345. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -2
  346. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -2
  347. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +31 -0
  348. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.js +13 -0
  349. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +251 -0
  350. package/styled-components/cjs/examples/plasma_web/components/Range/Range.config.js +4 -4
  351. package/styled-components/cjs/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +24 -6
  352. package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarBase.config.js +5 -2
  353. package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +5 -2
  354. package/styled-components/cjs/index.js +4 -4
  355. package/styled-components/cjs/utils/datejs.js +11 -0
  356. package/styled-components/cjs/utils/getPopoverPlacement.js +21 -0
  357. package/styled-components/cjs/utils/index.js +22 -0
  358. package/styled-components/es/components/Calendar/Calendar.tokens.js +67 -28
  359. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +7 -1
  360. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -1
  361. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -0
  362. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +2 -2
  363. package/styled-components/es/components/Calendar/hooks/useDays.js +1 -1
  364. package/styled-components/es/components/Calendar/mixins/active.js +6 -0
  365. package/styled-components/es/components/Calendar/mixins/flex.js +2 -0
  366. package/styled-components/es/components/Calendar/mixins/index.js +3 -27
  367. package/styled-components/es/components/Calendar/mixins/selected.js +18 -0
  368. package/styled-components/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +26 -19
  369. package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +2 -1
  370. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +32 -18
  371. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +29 -11
  372. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  373. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +25 -11
  374. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  375. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +25 -13
  376. package/styled-components/es/components/Combobox/Combobox.js +1 -2
  377. package/styled-components/es/components/DatePicker/DatePicker.template-doc.mdx +150 -0
  378. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +181 -0
  379. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +12 -0
  380. package/styled-components/es/components/DatePicker/RangeDate/DatePicker.js +284 -0
  381. package/styled-components/es/components/DatePicker/RangeDate/DatePicker.styles.js +25 -0
  382. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +74 -0
  383. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +19 -0
  384. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.js +1 -0
  385. package/styled-components/es/components/DatePicker/RangeDate/variations/_disabled/base.js +3 -0
  386. package/styled-components/es/components/DatePicker/RangeDate/variations/_disabled/tokens.json +0 -0
  387. package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/base.js +4 -0
  388. package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/tokens.json +4 -0
  389. package/styled-components/es/components/DatePicker/RangeDate/variations/_size/base.js +4 -0
  390. package/styled-components/es/components/DatePicker/RangeDate/variations/_size/tokens.json +0 -0
  391. package/styled-components/es/components/DatePicker/RangeDate/variations/_view/base.js +4 -0
  392. package/styled-components/es/components/DatePicker/RangeDate/variations/_view/tokens.json +0 -0
  393. package/styled-components/es/components/DatePicker/SingleDate/DatePicker.js +181 -0
  394. package/styled-components/es/components/DatePicker/SingleDate/DatePicker.styles.js +25 -0
  395. package/styled-components/es/components/DatePicker/SingleDate/DatePicker.types.js +1 -0
  396. package/styled-components/es/components/DatePicker/SingleDate/variations/_disabled/base.js +3 -0
  397. package/styled-components/es/components/DatePicker/SingleDate/variations/_disabled/tokens.json +4 -0
  398. package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/base.js +4 -0
  399. package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/tokens.json +4 -0
  400. package/styled-components/es/components/DatePicker/SingleDate/variations/_size/base.js +4 -0
  401. package/styled-components/es/components/DatePicker/SingleDate/variations/_size/tokens.json +16 -0
  402. package/styled-components/es/components/DatePicker/SingleDate/variations/_view/base.js +4 -0
  403. package/styled-components/es/components/DatePicker/SingleDate/variations/_view/tokens.json +1 -0
  404. package/styled-components/es/components/DatePicker/hooks/useDatePicker.js +71 -0
  405. package/styled-components/es/components/DatePicker/index.js +3 -0
  406. package/styled-components/es/components/DatePicker/utils/dateHelper.js +72 -0
  407. package/styled-components/es/components/Dropdown/Dropdown.js +2 -2
  408. package/styled-components/es/components/Dropdown/utils/index.js +0 -15
  409. package/styled-components/es/components/Range/Range.js +18 -3
  410. package/styled-components/es/components/Range/Range.styles.js +3 -2
  411. package/styled-components/es/components/Select/Select.js +1 -2
  412. package/styled-components/es/components/TextField/TextField.tokens.js +1 -1
  413. package/styled-components/es/components/TextField/variations/_size/base.js +1 -1
  414. package/styled-components/es/components/_Icon/Icon.assets/{Minus.js → DisclosureDownFill.js} +4 -3
  415. package/styled-components/es/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  416. package/styled-components/es/components/_Icon/Icon.assets/DisclosureRight.js +5 -15
  417. package/styled-components/es/components/_Icon/Icons/{IconMinus.js → IconDisclosureDownFill.js} +3 -3
  418. package/styled-components/es/components/_Icon/index.js +2 -3
  419. package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +24 -6
  420. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -2
  421. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -2
  422. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +25 -0
  423. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.js +7 -0
  424. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +251 -0
  425. package/styled-components/es/examples/plasma_b2c/components/Range/Range.config.js +4 -4
  426. package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +24 -6
  427. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -2
  428. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -2
  429. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +25 -0
  430. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.js +7 -0
  431. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +251 -0
  432. package/styled-components/es/examples/plasma_web/components/Range/Range.config.js +4 -4
  433. package/styled-components/es/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +24 -6
  434. package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarBase.config.js +5 -2
  435. package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +5 -2
  436. package/styled-components/es/index.js +1 -1
  437. package/styled-components/es/utils/datejs.js +4 -0
  438. package/styled-components/es/utils/getPopoverPlacement.js +15 -0
  439. package/styled-components/es/utils/index.js +1 -0
  440. package/types/components/Calendar/Calendar.tokens.d.ts +60 -26
  441. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  442. package/types/components/Calendar/Calendar.types.d.ts +1 -1
  443. package/types/components/Calendar/Calendar.types.d.ts.map +1 -1
  444. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts +27 -3
  445. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts.map +1 -1
  446. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  447. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts +30 -3
  448. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts.map +1 -1
  449. package/types/components/Calendar/hooks/useDays.d.ts.map +1 -1
  450. package/types/components/Calendar/mixins/active.d.ts +17 -0
  451. package/types/components/Calendar/mixins/active.d.ts.map +1 -0
  452. package/types/components/Calendar/mixins/flex.d.ts +3 -0
  453. package/types/components/Calendar/mixins/flex.d.ts.map +1 -0
  454. package/types/components/Calendar/mixins/index.d.ts +3 -8
  455. package/types/components/Calendar/mixins/index.d.ts.map +1 -1
  456. package/types/components/Calendar/mixins/selected.d.ts +40 -0
  457. package/types/components/Calendar/mixins/selected.d.ts.map +1 -0
  458. package/types/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.d.ts.map +1 -1
  459. package/types/components/Calendar/ui/CalendarDays/CalendarDays.styles.d.ts.map +1 -1
  460. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  461. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +47 -7
  462. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  463. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.types.d.ts +1 -0
  464. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.types.d.ts.map +1 -1
  465. package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.d.ts.map +1 -1
  466. package/types/components/Calendar/ui/CalendarYears/CalendarYears.styles.d.ts.map +1 -1
  467. package/types/components/Calendar/utils/index.d.ts +1 -1
  468. package/types/components/Calendar/utils/index.d.ts.map +1 -1
  469. package/types/components/Combobox/Combobox.d.ts.map +1 -1
  470. package/types/components/DatePicker/DatePicker.tokens.d.ts +182 -0
  471. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -0
  472. package/types/components/DatePicker/DatePickerBase.styles.d.ts +8 -0
  473. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -0
  474. package/types/components/DatePicker/DatePickerBase.types.d.ts +37 -0
  475. package/types/components/DatePicker/DatePickerBase.types.d.ts.map +1 -0
  476. package/types/components/DatePicker/RangeDate/DatePicker.d.ts +628 -0
  477. package/types/components/DatePicker/RangeDate/DatePicker.d.ts.map +1 -0
  478. package/types/components/DatePicker/RangeDate/DatePicker.styles.d.ts +115 -0
  479. package/types/components/DatePicker/RangeDate/DatePicker.styles.d.ts.map +1 -0
  480. package/types/components/DatePicker/RangeDate/DatePicker.types.d.ts +76 -0
  481. package/types/components/DatePicker/RangeDate/DatePicker.types.d.ts.map +1 -0
  482. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts +4 -0
  483. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts.map +1 -0
  484. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts +5 -0
  485. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts.map +1 -0
  486. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts +29 -0
  487. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts.map +1 -0
  488. package/types/components/DatePicker/RangeDate/variations/_disabled/base.d.ts.map +1 -0
  489. package/types/components/DatePicker/RangeDate/variations/_readonly/base.d.ts.map +1 -0
  490. package/types/components/DatePicker/RangeDate/variations/_size/base.d.ts.map +1 -0
  491. package/types/components/{Accordion/Accordion.styles.d.ts → DatePicker/RangeDate/variations/_view/base.d.ts} +1 -1
  492. package/types/components/DatePicker/RangeDate/variations/_view/base.d.ts.map +1 -0
  493. package/types/components/DatePicker/SingleDate/DatePicker.d.ts +31 -0
  494. package/types/components/DatePicker/SingleDate/DatePicker.d.ts.map +1 -0
  495. package/types/components/DatePicker/SingleDate/DatePicker.styles.d.ts +45 -0
  496. package/types/components/DatePicker/SingleDate/DatePicker.styles.d.ts.map +1 -0
  497. package/types/components/DatePicker/SingleDate/DatePicker.types.d.ts +120 -0
  498. package/types/components/DatePicker/SingleDate/DatePicker.types.d.ts.map +1 -0
  499. package/types/components/DatePicker/SingleDate/variations/_disabled/base.d.ts +2 -0
  500. package/types/components/DatePicker/SingleDate/variations/_disabled/base.d.ts.map +1 -0
  501. package/types/components/DatePicker/SingleDate/variations/_readonly/base.d.ts +2 -0
  502. package/types/components/DatePicker/SingleDate/variations/_readonly/base.d.ts.map +1 -0
  503. package/types/components/DatePicker/SingleDate/variations/_size/base.d.ts +2 -0
  504. package/types/components/DatePicker/SingleDate/variations/_size/base.d.ts.map +1 -0
  505. package/types/components/DatePicker/SingleDate/variations/_view/base.d.ts +2 -0
  506. package/types/components/DatePicker/SingleDate/variations/_view/base.d.ts.map +1 -0
  507. package/types/components/DatePicker/hooks/useDatePicker.d.ts +10 -0
  508. package/types/components/DatePicker/hooks/useDatePicker.d.ts.map +1 -0
  509. package/types/components/DatePicker/index.d.ts +6 -0
  510. package/types/components/DatePicker/index.d.ts.map +1 -0
  511. package/types/components/DatePicker/utils/dateHelper.d.ts +10 -0
  512. package/types/components/DatePicker/utils/dateHelper.d.ts.map +1 -0
  513. package/types/components/Dropdown/utils/index.d.ts +1 -3
  514. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  515. package/types/components/Range/Range.d.ts +3 -3
  516. package/types/components/Range/Range.d.ts.map +1 -1
  517. package/types/components/Range/Range.styles.d.ts.map +1 -1
  518. package/types/components/Range/Range.types.d.ts +5 -1
  519. package/types/components/Range/Range.types.d.ts.map +1 -1
  520. package/types/components/Range/index.d.ts +1 -1
  521. package/types/components/Range/index.d.ts.map +1 -1
  522. package/types/components/Select/Select.d.ts.map +1 -1
  523. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  524. package/types/components/_Icon/Icon.assets/DisclosureDownFill.d.ts +4 -0
  525. package/types/components/_Icon/Icon.assets/DisclosureDownFill.d.ts.map +1 -0
  526. package/types/components/_Icon/Icon.assets/DisclosureRight.d.ts.map +1 -1
  527. package/types/components/_Icon/Icons/IconDisclosureDownFill.d.ts +4 -0
  528. package/types/components/_Icon/Icons/IconDisclosureDownFill.d.ts.map +1 -0
  529. package/types/components/_Icon/index.d.ts +1 -2
  530. package/types/components/_Icon/index.d.ts.map +1 -1
  531. package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts +15 -4
  532. package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts.map +1 -1
  533. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts +3 -0
  534. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  535. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts +3 -0
  536. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  537. package/types/examples/plasma_b2c/components/{Accordion/Accordion.config.d.ts → DatePicker/DatePicker.config.d.ts} +7 -2
  538. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts.map +1 -0
  539. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +334 -0
  540. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +1 -0
  541. package/types/examples/plasma_b2c/components/Range/Range.d.ts +3 -3
  542. package/types/examples/plasma_b2c/components/Range/Range.d.ts.map +1 -1
  543. package/types/examples/plasma_web/components/Calendar/Calendar.d.ts +15 -4
  544. package/types/examples/plasma_web/components/Calendar/Calendar.d.ts.map +1 -1
  545. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts +3 -0
  546. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  547. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts +3 -0
  548. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  549. package/types/examples/plasma_web/components/{Accordion/Accordion.config.d.ts → DatePicker/DatePicker.config.d.ts} +6 -5
  550. package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts.map +1 -0
  551. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +334 -0
  552. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +1 -0
  553. package/types/examples/plasma_web/components/Range/Range.d.ts +3 -3
  554. package/types/examples/plasma_web/components/Range/Range.d.ts.map +1 -1
  555. package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts +15 -4
  556. package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts.map +1 -1
  557. package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts +3 -0
  558. package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  559. package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts +3 -0
  560. package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  561. package/types/index.d.ts +1 -1
  562. package/types/index.d.ts.map +1 -1
  563. package/types/utils/datejs.d.ts +3 -0
  564. package/types/utils/datejs.d.ts.map +1 -0
  565. package/types/utils/getPopoverPlacement.d.ts +5 -0
  566. package/types/utils/getPopoverPlacement.d.ts.map +1 -0
  567. package/types/utils/index.d.ts +1 -0
  568. package/types/utils/index.d.ts.map +1 -1
  569. package/cjs/components/Accordion/Accordion.css +0 -1
  570. package/cjs/components/Accordion/Accordion.js +0 -81
  571. package/cjs/components/Accordion/Accordion.js.map +0 -1
  572. package/cjs/components/Accordion/Accordion.styles.js +0 -9
  573. package/cjs/components/Accordion/Accordion.styles.js.map +0 -1
  574. package/cjs/components/Accordion/Accordion.styles_rsiff6.css +0 -1
  575. package/cjs/components/Accordion/Accordion.tokens.js +0 -45
  576. package/cjs/components/Accordion/Accordion.tokens.js.map +0 -1
  577. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -106
  578. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js.map +0 -1
  579. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -63
  580. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +0 -1
  581. package/cjs/components/Accordion/utils/index.js +0 -30
  582. package/cjs/components/Accordion/utils/index.js.map +0 -1
  583. package/cjs/components/Accordion/variations/_size/base.js.map +0 -1
  584. package/cjs/components/Accordion/variations/_size/base_x642ct.css +0 -1
  585. package/cjs/components/Accordion/variations/_view/base.js.map +0 -1
  586. package/cjs/components/Accordion/variations/_view/base_x642ct.css +0 -1
  587. package/cjs/components/Calendar/mixins/index.js +0 -18
  588. package/cjs/components/Calendar/mixins/index.js.map +0 -1
  589. package/cjs/components/Calendar/mixins/index_o3bz9l.css +0 -1
  590. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_xf9c5e.css +0 -4
  591. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1c4p417.css +0 -6
  592. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1jnzviu.css +0 -4
  593. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_1lubnwe.css +0 -4
  594. package/cjs/components/Range/Range.styles_mc4w65.css +0 -8
  595. package/cjs/components/TextField/variations/_read-only/base_134hshp.css +0 -1
  596. package/cjs/components/TextField/variations/_size/base_ntoddv.css +0 -1
  597. package/cjs/components/TextField/variations/_view/base_19gxyva.css +0 -1
  598. package/cjs/components/_Icon/Icon.assets/ChevronDownFill.js +0 -24
  599. package/cjs/components/_Icon/Icon.assets/ChevronDownFill.js.map +0 -1
  600. package/cjs/components/_Icon/Icon.assets/Minus.js +0 -22
  601. package/cjs/components/_Icon/Icon.assets/Minus.js.map +0 -1
  602. package/cjs/components/_Icon/Icons/IconChevronDownFill.js +0 -23
  603. package/cjs/components/_Icon/Icons/IconChevronDownFill.js.map +0 -1
  604. package/cjs/components/_Icon/Icons/IconMinus.js.map +0 -1
  605. package/es/components/Accordion/Accordion.css +0 -1
  606. package/es/components/Accordion/Accordion.js +0 -76
  607. package/es/components/Accordion/Accordion.js.map +0 -1
  608. package/es/components/Accordion/Accordion.styles.js +0 -5
  609. package/es/components/Accordion/Accordion.styles.js.map +0 -1
  610. package/es/components/Accordion/Accordion.styles_rsiff6.css +0 -1
  611. package/es/components/Accordion/Accordion.tokens.js +0 -40
  612. package/es/components/Accordion/Accordion.tokens.js.map +0 -1
  613. package/es/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -102
  614. package/es/components/Accordion/ui/AccordionItem/AccordionItem.js.map +0 -1
  615. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -49
  616. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +0 -1
  617. package/es/components/Accordion/utils/index.js +0 -25
  618. package/es/components/Accordion/utils/index.js.map +0 -1
  619. package/es/components/Accordion/variations/_size/base.js.map +0 -1
  620. package/es/components/Accordion/variations/_size/base_x642ct.css +0 -1
  621. package/es/components/Accordion/variations/_view/base.js.map +0 -1
  622. package/es/components/Accordion/variations/_view/base_x642ct.css +0 -1
  623. package/es/components/Calendar/mixins/index.js +0 -14
  624. package/es/components/Calendar/mixins/index.js.map +0 -1
  625. package/es/components/Calendar/mixins/index_o3bz9l.css +0 -1
  626. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_xf9c5e.css +0 -4
  627. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1c4p417.css +0 -6
  628. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1jnzviu.css +0 -4
  629. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_1lubnwe.css +0 -4
  630. package/es/components/Range/Range.styles_mc4w65.css +0 -8
  631. package/es/components/TextField/variations/_read-only/base_134hshp.css +0 -1
  632. package/es/components/TextField/variations/_size/base_ntoddv.css +0 -1
  633. package/es/components/TextField/variations/_view/base_19gxyva.css +0 -1
  634. package/es/components/_Icon/Icon.assets/ChevronDownFill.js +0 -20
  635. package/es/components/_Icon/Icon.assets/ChevronDownFill.js.map +0 -1
  636. package/es/components/_Icon/Icon.assets/Minus.js +0 -18
  637. package/es/components/_Icon/Icon.assets/Minus.js.map +0 -1
  638. package/es/components/_Icon/Icons/IconChevronDownFill.js +0 -19
  639. package/es/components/_Icon/Icons/IconChevronDownFill.js.map +0 -1
  640. package/es/components/_Icon/Icons/IconMinus.js.map +0 -1
  641. package/styled-components/cjs/components/Accordion/Accordion.js +0 -90
  642. package/styled-components/cjs/components/Accordion/Accordion.styles.js +0 -9
  643. package/styled-components/cjs/components/Accordion/Accordion.tokens.js +0 -43
  644. package/styled-components/cjs/components/Accordion/index.js +0 -38
  645. package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -112
  646. package/styled-components/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -49
  647. package/styled-components/cjs/components/Accordion/utils/index.js +0 -27
  648. package/styled-components/cjs/components/Accordion/variations/_size/base.js +0 -8
  649. package/styled-components/cjs/components/Accordion/variations/_size/tokens.json +0 -6
  650. package/styled-components/cjs/components/Accordion/variations/_stretching/tokens.json +0 -1
  651. package/styled-components/cjs/components/Accordion/variations/_view/tokens.json +0 -8
  652. package/styled-components/cjs/components/_Icon/Icon.assets/ChevronDownFill.js +0 -23
  653. package/styled-components/cjs/components/_Icon/Icons/IconChevronDownFill.js +0 -22
  654. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.config.js +0 -26
  655. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.js +0 -17
  656. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +0 -66
  657. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.config.js +0 -30
  658. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.js +0 -17
  659. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.stories.tsx +0 -65
  660. package/styled-components/es/components/Accordion/Accordion.js +0 -81
  661. package/styled-components/es/components/Accordion/Accordion.styles.js +0 -3
  662. package/styled-components/es/components/Accordion/Accordion.tokens.js +0 -37
  663. package/styled-components/es/components/Accordion/index.js +0 -3
  664. package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.js +0 -103
  665. package/styled-components/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -42
  666. package/styled-components/es/components/Accordion/utils/index.js +0 -21
  667. package/styled-components/es/components/Accordion/variations/_size/base.js +0 -2
  668. package/styled-components/es/components/Accordion/variations/_size/tokens.json +0 -6
  669. package/styled-components/es/components/Accordion/variations/_stretching/base.js +0 -2
  670. package/styled-components/es/components/Accordion/variations/_stretching/tokens.json +0 -1
  671. package/styled-components/es/components/Accordion/variations/_view/base.js +0 -2
  672. package/styled-components/es/components/Accordion/variations/_view/tokens.json +0 -8
  673. package/styled-components/es/components/_Icon/Icon.assets/ChevronDownFill.js +0 -16
  674. package/styled-components/es/components/_Icon/Icons/IconChevronDownFill.js +0 -15
  675. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.config.js +0 -20
  676. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.js +0 -6
  677. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +0 -66
  678. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.config.js +0 -24
  679. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.js +0 -6
  680. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.stories.tsx +0 -65
  681. package/types/components/Accordion/Accordion.d.ts +0 -43
  682. package/types/components/Accordion/Accordion.d.ts.map +0 -1
  683. package/types/components/Accordion/Accordion.styles.d.ts.map +0 -1
  684. package/types/components/Accordion/Accordion.tokens.d.ts +0 -38
  685. package/types/components/Accordion/Accordion.tokens.d.ts.map +0 -1
  686. package/types/components/Accordion/Accordion.types.d.ts +0 -36
  687. package/types/components/Accordion/Accordion.types.d.ts.map +0 -1
  688. package/types/components/Accordion/index.d.ts +0 -5
  689. package/types/components/Accordion/index.d.ts.map +0 -1
  690. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts +0 -4
  691. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts.map +0 -1
  692. package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts +0 -13
  693. package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts.map +0 -1
  694. package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts +0 -51
  695. package/types/components/Accordion/ui/AccordionItem/AccordionItem.types.d.ts.map +0 -1
  696. package/types/components/Accordion/utils/index.d.ts +0 -17
  697. package/types/components/Accordion/utils/index.d.ts.map +0 -1
  698. package/types/components/Accordion/variations/_size/base.d.ts.map +0 -1
  699. package/types/components/Accordion/variations/_stretching/base.d.ts.map +0 -1
  700. package/types/components/Accordion/variations/_view/base.d.ts.map +0 -1
  701. package/types/components/_Icon/Icon.assets/ChevronDownFill.d.ts +0 -4
  702. package/types/components/_Icon/Icon.assets/ChevronDownFill.d.ts.map +0 -1
  703. package/types/components/_Icon/Icon.assets/Minus.d.ts +0 -4
  704. package/types/components/_Icon/Icon.assets/Minus.d.ts.map +0 -1
  705. package/types/components/_Icon/Icons/IconChevronDownFill.d.ts +0 -4
  706. package/types/components/_Icon/Icons/IconChevronDownFill.d.ts.map +0 -1
  707. package/types/components/_Icon/Icons/IconMinus.d.ts +0 -4
  708. package/types/components/_Icon/Icons/IconMinus.d.ts.map +0 -1
  709. package/types/examples/plasma_b2c/components/Accordion/Accordion.config.d.ts.map +0 -1
  710. package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts +0 -26
  711. package/types/examples/plasma_b2c/components/Accordion/Accordion.d.ts.map +0 -1
  712. package/types/examples/plasma_web/components/Accordion/Accordion.config.d.ts.map +0 -1
  713. package/types/examples/plasma_web/components/Accordion/Accordion.d.ts +0 -30
  714. package/types/examples/plasma_web/components/Accordion/Accordion.d.ts.map +0 -1
  715. /package/cjs/components/{Accordion/ui/AccordionItem/AccordionItem.css → _Icon/Icons/IconClose.css} +0 -0
  716. /package/es/components/{Accordion/ui/AccordionItem/AccordionItem.css → _Icon/Icons/IconClose.css} +0 -0
  717. /package/styled-components/cjs/components/{Accordion/Accordion.types.js → DatePicker/DatePickerBase.types.js} +0 -0
  718. /package/styled-components/cjs/components/{Accordion/ui/AccordionItem/AccordionItem.types.js → DatePicker/RangeDate/DatePicker.types.js} +0 -0
  719. /package/styled-components/es/components/{Accordion/Accordion.types.js → DatePicker/DatePickerBase.types.js} +0 -0
  720. /package/styled-components/es/components/{Accordion/ui/AccordionItem/AccordionItem.types.js → DatePicker/RangeDate/DatePicker.types.js} +0 -0
  721. /package/types/components/{Accordion/variations/_size → DatePicker/RangeDate/variations/_disabled}/base.d.ts +0 -0
  722. /package/types/components/{Accordion/variations/_stretching → DatePicker/RangeDate/variations/_readonly}/base.d.ts +0 -0
  723. /package/types/components/{Accordion/variations/_view → DatePicker/RangeDate/variations/_size}/base.d.ts +0 -0
@@ -26,6 +26,12 @@ const meta: Meta<typeof CalendarBase> = {
26
26
  type: 'date',
27
27
  },
28
28
  },
29
+ size: {
30
+ options: ['l', 'm', 's', 'xs'],
31
+ control: {
32
+ type: 'inline-radio',
33
+ },
34
+ },
29
35
  },
30
36
  };
31
37
 
@@ -79,7 +85,7 @@ const baseEvents = [
79
85
  ];
80
86
 
81
87
  const StoryDefault = (args: CalendarProps) => {
82
- const { isRange, isDouble, min, max, date, includeEdgeDates } = args;
88
+ const { isRange, isDouble, min, max, date, includeEdgeDates, size } = args;
83
89
  const [value, setValue] = useState(new Date(2023, 10, 16));
84
90
  const [valueRange, setValueRange] = useState<[Date, Date?]>([new Date(2023, 10, 16), new Date(2023, 10, 23)]);
85
91
 
@@ -102,6 +108,7 @@ const StoryDefault = (args: CalendarProps) => {
102
108
 
103
109
  return (
104
110
  <Calendar
111
+ size={size}
105
112
  isRange={isRange}
106
113
  isDouble={isDouble}
107
114
  date={date}
@@ -123,12 +130,13 @@ export const Default: StoryObj<CalendarProps> = {
123
130
  isDouble: false,
124
131
  isRange: false,
125
132
  includeEdgeDates: false,
133
+ size: 'm',
126
134
  },
127
135
  render: (args) => <StoryDefault {...args} />,
128
136
  };
129
137
 
130
138
  const StoryBase = (args: CalendarBaseProps) => {
131
- const { min, max, type, includeEdgeDates } = args;
139
+ const { min, max, type, includeEdgeDates, size } = args;
132
140
  const [value, setValue] = useState(new Date(2023, 10, 16));
133
141
 
134
142
  const handleOnChange = useCallback((newValue: Date) => {
@@ -147,6 +155,7 @@ const StoryBase = (args: CalendarBaseProps) => {
147
155
 
148
156
  return (
149
157
  <CalendarBase
158
+ size={size}
150
159
  value={value}
151
160
  eventList={eventsRange}
152
161
  disabledList={disabledDays}
@@ -169,6 +178,7 @@ export const Base: StoryObj<CalendarBaseProps> = {
169
178
  },
170
179
  },
171
180
  args: {
181
+ size: 'm',
172
182
  min: new Date(2023, 10, 1),
173
183
  max: new Date(2023, 11, 24),
174
184
  includeEdgeDates: false,
@@ -178,7 +188,7 @@ export const Base: StoryObj<CalendarBaseProps> = {
178
188
  };
179
189
 
180
190
  const StoryDouble = (args: CalendarDoubleProps) => {
181
- const { min, max, includeEdgeDates } = args;
191
+ const { min, max, includeEdgeDates, size } = args;
182
192
  const [value, setValue] = useState(new Date(2023, 10, 16));
183
193
  const handleOnChange = useCallback((newValue: Date) => {
184
194
  setValue(newValue);
@@ -196,6 +206,7 @@ const StoryDouble = (args: CalendarDoubleProps) => {
196
206
 
197
207
  return (
198
208
  <CalendarDouble
209
+ size={size}
199
210
  value={value}
200
211
  eventList={eventsRange}
201
212
  disabledList={disabledDays}
@@ -209,6 +220,7 @@ const StoryDouble = (args: CalendarDoubleProps) => {
209
220
 
210
221
  export const Double: StoryObj<CalendarDoubleProps> = {
211
222
  args: {
223
+ size: 'm',
212
224
  min: new Date(2023, 10, 1),
213
225
  max: new Date(2023, 11, 24),
214
226
  includeEdgeDates: false,
@@ -217,7 +229,7 @@ export const Double: StoryObj<CalendarDoubleProps> = {
217
229
  };
218
230
 
219
231
  const StoryRange = (args: CalendarBaseRangeProps) => {
220
- const { min, max, type, includeEdgeDates } = args;
232
+ const { min, max, type, includeEdgeDates, size } = args;
221
233
  const [values, setValue] = useState<[Date, Date?]>([new Date(2023, 10, 15), new Date(2023, 10, 24)]);
222
234
  const handleOnChange = useCallback((newValue: [Date, Date?]) => {
223
235
  onChangeValue(newValue);
@@ -238,6 +250,7 @@ const StoryRange = (args: CalendarBaseRangeProps) => {
238
250
 
239
251
  return (
240
252
  <CalendarBaseRange
253
+ size={size}
241
254
  value={values}
242
255
  eventList={eventList}
243
256
  disabledList={disabledList}
@@ -260,6 +273,7 @@ export const Range: StoryObj<CalendarBaseRangeProps> = {
260
273
  },
261
274
  },
262
275
  args: {
276
+ size: 'm',
263
277
  min: new Date(2023, 10, 1),
264
278
  max: new Date(2023, 11, 24),
265
279
  includeEdgeDates: false,
@@ -269,7 +283,7 @@ export const Range: StoryObj<CalendarBaseRangeProps> = {
269
283
  };
270
284
 
271
285
  const StoryRangeDouble = (args: CalendarBaseRangeProps) => {
272
- const { min, max, includeEdgeDates } = args;
286
+ const { min, max, includeEdgeDates, size } = args;
273
287
  const [values, setValue] = useState<[Date, Date?]>([new Date(2023, 10, 15), new Date(2023, 10, 24)]);
274
288
  const handleOnChange = useCallback((newValue: [Date, Date?]) => {
275
289
  onChangeValue(newValue);
@@ -290,6 +304,7 @@ const StoryRangeDouble = (args: CalendarBaseRangeProps) => {
290
304
 
291
305
  return (
292
306
  <CalendarDoubleRange
307
+ size={size}
293
308
  value={values}
294
309
  eventList={eventList}
295
310
  disabledList={disabledList}
@@ -303,6 +318,7 @@ const StoryRangeDouble = (args: CalendarBaseRangeProps) => {
303
318
 
304
319
  export const RangeDouble: StoryObj<CalendarBaseRangeProps> = {
305
320
  args: {
321
+ size: 'm',
306
322
  min: new Date(2023, 10, 1),
307
323
  max: new Date(2023, 11, 24),
308
324
  includeEdgeDates: false,
@@ -311,7 +327,7 @@ export const RangeDouble: StoryObj<CalendarBaseRangeProps> = {
311
327
  };
312
328
 
313
329
  const StoryWithPopover = (args: CalendarProps) => {
314
- const { isDouble, min, max, includeEdgeDates } = args;
330
+ const { isDouble, min, max, includeEdgeDates, size } = args;
315
331
  const [isOpen, setIsOpen] = useState(false);
316
332
  const [textValue, setTextValue] = useState('2023-10-16');
317
333
  const [value, setValue] = useState(new Date(textValue));
@@ -345,6 +361,7 @@ const StoryWithPopover = (args: CalendarProps) => {
345
361
  closeOnOverlayClick
346
362
  >
347
363
  <StyledCalendar
364
+ size={size}
348
365
  value={value}
349
366
  eventList={[...baseEvents, ...eventsRange]}
350
367
  disabledList={disabledDays}
@@ -361,6 +378,7 @@ const StoryWithPopover = (args: CalendarProps) => {
361
378
 
362
379
  export const WithPopover: StoryObj<CalendarProps> = {
363
380
  args: {
381
+ size: 'm',
364
382
  min: new Date(2023, 9, 1),
365
383
  max: new Date(2023, 11, 24),
366
384
  isDouble: false,
@@ -13,10 +13,13 @@ var config = exports.config = {
13
13
  },
14
14
  variations: {
15
15
  view: {
16
- "default": /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--plasma-colors-primary);", ":var(--plasma-colors-background-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-primary);", ":transparent;", ":var(--plasma-colors-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-primary);", ":var(--plasma-colors-surface-solid03);", ":var(--plasma-colors-accent);", ":var(--plasma-colors-background-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-button-focused);", ":var(--plasma-colors-primary);", ":var(--plasma-colors-secondary);"], _Calendar.tokens.calendarBackgroundColor, _Calendar.tokens.calendarSelectedItemBackground, _Calendar.tokens.calendarSelectedItemColor, _Calendar.tokens.calendarSelectableItemBackgroundHover, _Calendar.tokens.calendarCurrentItemBorderColor, _Calendar.tokens.calendarCurrentItemBackgroundHover, _Calendar.tokens.calendarCurrentItemColorHover, _Calendar.tokens.calendarCurrentItemChildBackgroundHover, _Calendar.tokens.calendarActiveItemBackground, _Calendar.tokens.calendarActiveItemColor, _Calendar.tokens.calendarHoveredItemBackground, _Calendar.tokens.calendarHoveredItemColor, _Calendar.tokens.calendarRangeBackground, _Calendar.tokens.calendarOutlineFocusColor, _Calendar.tokens.calendarContentPrimaryColor, _Calendar.tokens.calendarContentSecondaryColor)
16
+ "default": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-active);", ":var(--surface-clear);", ":var(--surface-accent);"], _Calendar.tokens.calendarSelectedItemBackground, _Calendar.tokens.calendarSelectedItemColor, _Calendar.tokens.calendarSelectableItemBackgroundHover, _Calendar.tokens.calendarCurrentItemBorderColor, _Calendar.tokens.calendarCurrentItemBackgroundHover, _Calendar.tokens.calendarCurrentItemColorHover, _Calendar.tokens.calendarCurrentItemChildBackgroundHover, _Calendar.tokens.calendarActiveItemBackground, _Calendar.tokens.calendarActiveItemColor, _Calendar.tokens.calendarHoveredItemBackground, _Calendar.tokens.calendarHoveredItemColor, _Calendar.tokens.calendarRangeBackground, _Calendar.tokens.calendarOutlineFocusColor, _Calendar.tokens.calendarContentPrimaryColor, _Calendar.tokens.calendarContentSecondaryColor, _Calendar.tokens.calendarDayOfWeekColor, _Calendar.tokens.iconButtonColor, _Calendar.tokens.iconButtonBackgroundColor, _Calendar.tokens.iconButtonColorHover, _Calendar.tokens.iconButtonBackgroundColorHover, _Calendar.tokens.iconButtonColorActive, _Calendar.tokens.iconButtonBackgroundColorActive, _Calendar.tokens.iconButtonFocusColor)
17
17
  },
18
18
  size: {
19
- m: /*#__PURE__*/(0, _styledComponents.css)(["", ":5.5rem;", ":0.5rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);"], _Calendar.tokens.calendarHeaderArrowContainerWidth, _Calendar.tokens.calendarItemBorderRadius, _Calendar.tokens.calendarHeaderFontFamily, _Calendar.tokens.calendarHeaderFontSize, _Calendar.tokens.calendarHeaderFontStyle, _Calendar.tokens.calendarHeaderFontLetterSpacing, _Calendar.tokens.calendarHeaderFontLineHeight, _Calendar.tokens.calendarHeaderFontWeight, _Calendar.tokens.calendarHeaderFontWeightBold, _Calendar.tokens.calendarYearFontFamily, _Calendar.tokens.calendarYearFontSize, _Calendar.tokens.calendarYearFontStyle, _Calendar.tokens.calendarYearFontLetterSpacing, _Calendar.tokens.calendarYearFontLineHeight, _Calendar.tokens.calendarYearFontWeight, _Calendar.tokens.calendarMonthFontFamily, _Calendar.tokens.calendarMonthFontSize, _Calendar.tokens.calendarMonthFontStyle, _Calendar.tokens.calendarMonthFontLetterSpacing, _Calendar.tokens.calendarMonthFontLineHeight, _Calendar.tokens.calendarMonthFontWeight, _Calendar.tokens.calendarDayFontFamily, _Calendar.tokens.calendarDayFontSize, _Calendar.tokens.calendarDayFontStyle, _Calendar.tokens.calendarDayFontLetterSpacing, _Calendar.tokens.calendarDayFontLineHeight, _Calendar.tokens.calendarDayFontWeight)
19
+ l: /*#__PURE__*/(0, _styledComponents.css)(["", ":24.5rem;", ":25rem;", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0 0 0;", ":0.75rem;", ":3.5rem;", ":3rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem;", ":0 0 0 1rem;", ":0.5rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":3.5rem;", ":3.5rem;", ":1.5rem;", ":0.875rem;"], _Calendar.tokens.calendarWidth, _Calendar.tokens.calendarHeight, _Calendar.tokens.calendarYearsPadding, _Calendar.tokens.calendarYearItemBorderRadius, _Calendar.tokens.calendarYearItemWidth, _Calendar.tokens.calendarYearItemHeight, _Calendar.tokens.calendarYearFontFamily, _Calendar.tokens.calendarYearFontSize, _Calendar.tokens.calendarYearFontStyle, _Calendar.tokens.calendarYearFontLetterSpacing, _Calendar.tokens.calendarYearFontLineHeight, _Calendar.tokens.calendarYearFontWeight, _Calendar.tokens.calendarYearSelectedFontWeight, _Calendar.tokens.calendarMonthsPadding, _Calendar.tokens.calendarMonthItemBorderRadius, _Calendar.tokens.calendarMonthItemWidth, _Calendar.tokens.calendarMonthItemHeight, _Calendar.tokens.calendarMonthFontFamily, _Calendar.tokens.calendarMonthFontSize, _Calendar.tokens.calendarMonthFontStyle, _Calendar.tokens.calendarMonthFontLetterSpacing, _Calendar.tokens.calendarMonthFontLineHeight, _Calendar.tokens.calendarMonthFontWeight, _Calendar.tokens.calendarMonthSelectedFontWeight, _Calendar.tokens.calendarDaysPadding, _Calendar.tokens.calendarDayItemBorderRadius, _Calendar.tokens.calendarDayItemWidth, _Calendar.tokens.calendarDayItemHeight, _Calendar.tokens.calendarDayFontFamily, _Calendar.tokens.calendarDayFontSize, _Calendar.tokens.calendarDayFontStyle, _Calendar.tokens.calendarDayFontLetterSpacing, _Calendar.tokens.calendarDayFontLineHeight, _Calendar.tokens.calendarDayFontWeight, _Calendar.tokens.calendarDaySelectedFontWeight, _Calendar.tokens.calendarHeaderArrowGap, _Calendar.tokens.calendarHeaderPadding, _Calendar.tokens.calendarHeaderDateGap, _Calendar.tokens.calendarHeaderFontFamily, _Calendar.tokens.calendarHeaderFontSize, _Calendar.tokens.calendarHeaderFontStyle, _Calendar.tokens.calendarHeaderFontLetterSpacing, _Calendar.tokens.calendarHeaderFontLineHeight, _Calendar.tokens.calendarHeaderFontWeight, _Calendar.tokens.calendarHeaderFontWeightBold, _Calendar.tokens.iconButtonHeight, _Calendar.tokens.iconButtonWidth, _Calendar.tokens.iconButtonPadding, _Calendar.tokens.iconButtonRadius),
20
+ m: /*#__PURE__*/(0, _styledComponents.css)(["", ":21rem;", ":21rem;", ":0.5rem 0.5rem 0 0.5rem;", ":0.625rem;", ":6.688rem;", ":4.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.625rem;", ":6.688rem;", ":4.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-bold-font-weight);", ":0.5rem 0 0 0;", ":0.625rem;", ":3rem;", ":2.5rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-bold-font-weight);", ":0.5rem;", ":0 0 0 0.75rem;", ":0.375rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":3rem;", ":3rem;", ":1.25rem;", ":0.75rem;"], _Calendar.tokens.calendarWidth, _Calendar.tokens.calendarHeight, _Calendar.tokens.calendarYearsPadding, _Calendar.tokens.calendarYearItemBorderRadius, _Calendar.tokens.calendarYearItemWidth, _Calendar.tokens.calendarYearItemHeight, _Calendar.tokens.calendarYearFontFamily, _Calendar.tokens.calendarYearFontSize, _Calendar.tokens.calendarYearFontStyle, _Calendar.tokens.calendarYearFontLetterSpacing, _Calendar.tokens.calendarYearFontLineHeight, _Calendar.tokens.calendarYearFontWeight, _Calendar.tokens.calendarYearSelectedFontWeight, _Calendar.tokens.calendarMonthsPadding, _Calendar.tokens.calendarMonthItemBorderRadius, _Calendar.tokens.calendarMonthItemWidth, _Calendar.tokens.calendarMonthItemHeight, _Calendar.tokens.calendarMonthFontFamily, _Calendar.tokens.calendarMonthFontSize, _Calendar.tokens.calendarMonthFontStyle, _Calendar.tokens.calendarMonthFontLetterSpacing, _Calendar.tokens.calendarMonthFontLineHeight, _Calendar.tokens.calendarMonthFontWeight, _Calendar.tokens.calendarMonthSelectedFontWeight, _Calendar.tokens.calendarDaysPadding, _Calendar.tokens.calendarDayItemBorderRadius, _Calendar.tokens.calendarDayItemWidth, _Calendar.tokens.calendarDayItemHeight, _Calendar.tokens.calendarDayFontFamily, _Calendar.tokens.calendarDayFontSize, _Calendar.tokens.calendarDayFontStyle, _Calendar.tokens.calendarDayFontLetterSpacing, _Calendar.tokens.calendarDayFontLineHeight, _Calendar.tokens.calendarDayFontWeight, _Calendar.tokens.calendarDaySelectedFontWeight, _Calendar.tokens.calendarHeaderArrowGap, _Calendar.tokens.calendarHeaderPadding, _Calendar.tokens.calendarHeaderDateGap, _Calendar.tokens.calendarHeaderFontFamily, _Calendar.tokens.calendarHeaderFontSize, _Calendar.tokens.calendarHeaderFontStyle, _Calendar.tokens.calendarHeaderFontLetterSpacing, _Calendar.tokens.calendarHeaderFontLineHeight, _Calendar.tokens.calendarHeaderFontWeight, _Calendar.tokens.calendarHeaderFontWeightBold, _Calendar.tokens.iconButtonHeight, _Calendar.tokens.iconButtonWidth, _Calendar.tokens.iconButtonPadding, _Calendar.tokens.iconButtonRadius),
21
+ s: /*#__PURE__*/(0, _styledComponents.css)(["", ":17.5rem;", ":17rem;", ":0.5rem 0.5rem 0 0.5rem;", ":0.5rem;", ":5.5rem;", ":3.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.5rem;", ":5.5rem;", ":3.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-bold-font-weight);", ":0.5rem 0 0 0;", ":0.5rem;", ":2.5rem;", ":2rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-bold-font-weight);", ":0.5rem;", ":0 0 0 0.5rem;", ":0.25rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":2.5rem;", ":2.5rem;", ":1rem;", ":0.625rem;"], _Calendar.tokens.calendarWidth, _Calendar.tokens.calendarHeight, _Calendar.tokens.calendarYearsPadding, _Calendar.tokens.calendarYearItemBorderRadius, _Calendar.tokens.calendarYearItemWidth, _Calendar.tokens.calendarYearItemHeight, _Calendar.tokens.calendarYearFontFamily, _Calendar.tokens.calendarYearFontSize, _Calendar.tokens.calendarYearFontStyle, _Calendar.tokens.calendarYearFontLetterSpacing, _Calendar.tokens.calendarYearFontLineHeight, _Calendar.tokens.calendarYearFontWeight, _Calendar.tokens.calendarYearSelectedFontWeight, _Calendar.tokens.calendarMonthsPadding, _Calendar.tokens.calendarMonthItemBorderRadius, _Calendar.tokens.calendarMonthItemWidth, _Calendar.tokens.calendarMonthItemHeight, _Calendar.tokens.calendarMonthFontFamily, _Calendar.tokens.calendarMonthFontSize, _Calendar.tokens.calendarMonthFontStyle, _Calendar.tokens.calendarMonthFontLetterSpacing, _Calendar.tokens.calendarMonthFontLineHeight, _Calendar.tokens.calendarMonthFontWeight, _Calendar.tokens.calendarMonthSelectedFontWeight, _Calendar.tokens.calendarDaysPadding, _Calendar.tokens.calendarDayItemBorderRadius, _Calendar.tokens.calendarDayItemWidth, _Calendar.tokens.calendarDayItemHeight, _Calendar.tokens.calendarDayFontFamily, _Calendar.tokens.calendarDayFontSize, _Calendar.tokens.calendarDayFontStyle, _Calendar.tokens.calendarDayFontLetterSpacing, _Calendar.tokens.calendarDayFontLineHeight, _Calendar.tokens.calendarDayFontWeight, _Calendar.tokens.calendarDaySelectedFontWeight, _Calendar.tokens.calendarHeaderArrowGap, _Calendar.tokens.calendarHeaderPadding, _Calendar.tokens.calendarHeaderDateGap, _Calendar.tokens.calendarHeaderFontFamily, _Calendar.tokens.calendarHeaderFontSize, _Calendar.tokens.calendarHeaderFontStyle, _Calendar.tokens.calendarHeaderFontLetterSpacing, _Calendar.tokens.calendarHeaderFontLineHeight, _Calendar.tokens.calendarHeaderFontWeight, _Calendar.tokens.calendarHeaderFontWeightBold, _Calendar.tokens.iconButtonHeight, _Calendar.tokens.iconButtonWidth, _Calendar.tokens.iconButtonPadding, _Calendar.tokens.iconButtonRadius),
22
+ xs: /*#__PURE__*/(0, _styledComponents.css)(["", ":17.5rem;", ":15.5rem;", ":0.375rem 0.25rem 0 0.25rem;", ":0.375rem;", ":5.625rem;", ":3.281rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":0.375rem 0.25rem 0 0.25rem;", ":0.375rem;", ":5.625rem;", ":3.281rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":0.375rem 0 0 0;", ":0.5rem;", ":2.5rem;", ":1.875rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":0;", ":0 0 0 0.5rem;", ":0.25rem;", ":var(--plasma-typo-h5-font-family);", ":var(--plasma-typo-h5-font-size);", ":var(--plasma-typo-h5-font-style);", ":var(--plasma-typo-h5-letter-spacing);", ":var(--plasma-typo-h5-line-height);", ":var(--plasma-typo-h5-font-weight);", ":var(--plasma-typo-h5-bold-font-weight);", ":2rem;", ":2rem;", ":0.75rem;", ":0.5rem;"], _Calendar.tokens.calendarWidth, _Calendar.tokens.calendarHeight, _Calendar.tokens.calendarYearsPadding, _Calendar.tokens.calendarYearItemBorderRadius, _Calendar.tokens.calendarYearItemWidth, _Calendar.tokens.calendarYearItemHeight, _Calendar.tokens.calendarYearFontFamily, _Calendar.tokens.calendarYearFontSize, _Calendar.tokens.calendarYearFontStyle, _Calendar.tokens.calendarYearFontLetterSpacing, _Calendar.tokens.calendarYearFontLineHeight, _Calendar.tokens.calendarYearFontWeight, _Calendar.tokens.calendarYearSelectedFontWeight, _Calendar.tokens.calendarMonthsPadding, _Calendar.tokens.calendarMonthItemBorderRadius, _Calendar.tokens.calendarMonthItemWidth, _Calendar.tokens.calendarMonthItemHeight, _Calendar.tokens.calendarMonthFontFamily, _Calendar.tokens.calendarMonthFontSize, _Calendar.tokens.calendarMonthFontStyle, _Calendar.tokens.calendarMonthFontLetterSpacing, _Calendar.tokens.calendarMonthFontLineHeight, _Calendar.tokens.calendarMonthFontWeight, _Calendar.tokens.calendarMonthSelectedFontWeight, _Calendar.tokens.calendarDaysPadding, _Calendar.tokens.calendarDayItemBorderRadius, _Calendar.tokens.calendarDayItemWidth, _Calendar.tokens.calendarDayItemHeight, _Calendar.tokens.calendarDayFontFamily, _Calendar.tokens.calendarDayFontSize, _Calendar.tokens.calendarDayFontStyle, _Calendar.tokens.calendarDayFontLetterSpacing, _Calendar.tokens.calendarDayFontLineHeight, _Calendar.tokens.calendarDayFontWeight, _Calendar.tokens.calendarDaySelectedFontWeight, _Calendar.tokens.calendarHeaderArrowGap, _Calendar.tokens.calendarHeaderPadding, _Calendar.tokens.calendarHeaderDateGap, _Calendar.tokens.calendarHeaderFontFamily, _Calendar.tokens.calendarHeaderFontSize, _Calendar.tokens.calendarHeaderFontStyle, _Calendar.tokens.calendarHeaderFontLetterSpacing, _Calendar.tokens.calendarHeaderFontLineHeight, _Calendar.tokens.calendarHeaderFontWeight, _Calendar.tokens.calendarHeaderFontWeightBold, _Calendar.tokens.iconButtonHeight, _Calendar.tokens.iconButtonWidth, _Calendar.tokens.iconButtonPadding, _Calendar.tokens.iconButtonRadius)
20
23
  }
21
24
  }
22
25
  };
@@ -13,10 +13,13 @@ var config = exports.config = {
13
13
  },
14
14
  variations: {
15
15
  view: {
16
- "default": /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":var(--plasma-colors-primary);", ":var(--plasma-colors-background-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-primary);", ":transparent;", ":var(--plasma-colors-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-primary);", ":var(--plasma-colors-surface-solid03);", ":var(--plasma-colors-accent);", ":var(--plasma-colors-background-primary);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-surface-liquid02);", ":var(--plasma-colors-button-focused);", ":var(--plasma-colors-primary);", ":var(--plasma-colors-secondary);"], _Calendar.tokens.calendarBackgroundColor, _Calendar.tokens.calendarSelectedItemBackground, _Calendar.tokens.calendarSelectedItemColor, _Calendar.tokens.calendarSelectableItemBackgroundHover, _Calendar.tokens.calendarCurrentItemBorderColor, _Calendar.tokens.calendarCurrentItemBackgroundHover, _Calendar.tokens.calendarCurrentItemColorHover, _Calendar.tokens.calendarCurrentItemChildBackgroundHover, _Calendar.tokens.calendarActiveItemBackground, _Calendar.tokens.calendarActiveItemColor, _Calendar.tokens.calendarHoveredItemBackground, _Calendar.tokens.calendarHoveredItemColor, _Calendar.tokens.calendarSeparatorBackground, _Calendar.tokens.calendarRangeBackground, _Calendar.tokens.calendarOutlineFocusColor, _Calendar.tokens.calendarContentPrimaryColor, _Calendar.tokens.calendarContentSecondaryColor)
16
+ "default": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--surface-transparent-secondary);", ":transparent;", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-active);", ":var(--surface-clear);", ":var(--surface-accent);"], _Calendar.tokens.calendarSeparatorBackground, _Calendar.tokens.calendarBackgroundColor, _Calendar.tokens.calendarSelectedItemBackground, _Calendar.tokens.calendarSelectedItemColor, _Calendar.tokens.calendarSelectableItemBackgroundHover, _Calendar.tokens.calendarCurrentItemBorderColor, _Calendar.tokens.calendarCurrentItemBackgroundHover, _Calendar.tokens.calendarCurrentItemColorHover, _Calendar.tokens.calendarCurrentItemChildBackgroundHover, _Calendar.tokens.calendarActiveItemBackground, _Calendar.tokens.calendarActiveItemColor, _Calendar.tokens.calendarHoveredItemBackground, _Calendar.tokens.calendarHoveredItemColor, _Calendar.tokens.calendarRangeBackground, _Calendar.tokens.calendarOutlineFocusColor, _Calendar.tokens.calendarContentPrimaryColor, _Calendar.tokens.calendarContentSecondaryColor, _Calendar.tokens.iconButtonColor, _Calendar.tokens.iconButtonBackgroundColor, _Calendar.tokens.iconButtonColorHover, _Calendar.tokens.iconButtonBackgroundColorHover, _Calendar.tokens.iconButtonColorActive, _Calendar.tokens.iconButtonBackgroundColorActive, _Calendar.tokens.iconButtonFocusColor)
17
17
  },
18
18
  size: {
19
- m: /*#__PURE__*/(0, _styledComponents.css)(["", ":0.5rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);"], _Calendar.tokens.calendarItemBorderRadius, _Calendar.tokens.calendarHeaderFontFamily, _Calendar.tokens.calendarHeaderFontSize, _Calendar.tokens.calendarHeaderFontStyle, _Calendar.tokens.calendarHeaderFontLetterSpacing, _Calendar.tokens.calendarHeaderFontLineHeight, _Calendar.tokens.calendarHeaderFontWeight, _Calendar.tokens.calendarHeaderFontWeightBold, _Calendar.tokens.calendarYearFontFamily, _Calendar.tokens.calendarYearFontSize, _Calendar.tokens.calendarYearFontStyle, _Calendar.tokens.calendarYearFontLetterSpacing, _Calendar.tokens.calendarYearFontLineHeight, _Calendar.tokens.calendarYearFontWeight, _Calendar.tokens.calendarMonthFontFamily, _Calendar.tokens.calendarMonthFontSize, _Calendar.tokens.calendarMonthFontStyle, _Calendar.tokens.calendarMonthFontLetterSpacing, _Calendar.tokens.calendarMonthFontLineHeight, _Calendar.tokens.calendarMonthFontWeight, _Calendar.tokens.calendarDayFontFamily, _Calendar.tokens.calendarDayFontSize, _Calendar.tokens.calendarDayFontStyle, _Calendar.tokens.calendarDayFontLetterSpacing, _Calendar.tokens.calendarDayFontLineHeight, _Calendar.tokens.calendarDayFontWeight)
19
+ l: /*#__PURE__*/(0, _styledComponents.css)(["", ":51.063rem;", ":25rem;", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.75rem;", ":3.5rem;", ":3rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem;", ":0.5rem 0 0 0;", ":0 0 0 1rem;", ":0.5rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":3.5rem;", ":3.5rem;", ":1.5rem;", ":0.875rem;"], _Calendar.tokens.calendarWidth, _Calendar.tokens.calendarHeight, _Calendar.tokens.calendarYearsPadding, _Calendar.tokens.calendarYearItemBorderRadius, _Calendar.tokens.calendarYearItemWidth, _Calendar.tokens.calendarYearItemHeight, _Calendar.tokens.calendarYearFontFamily, _Calendar.tokens.calendarYearFontSize, _Calendar.tokens.calendarYearFontStyle, _Calendar.tokens.calendarYearFontLetterSpacing, _Calendar.tokens.calendarYearFontLineHeight, _Calendar.tokens.calendarYearFontWeight, _Calendar.tokens.calendarYearSelectedFontWeight, _Calendar.tokens.calendarMonthsPadding, _Calendar.tokens.calendarMonthItemBorderRadius, _Calendar.tokens.calendarMonthItemWidth, _Calendar.tokens.calendarMonthItemHeight, _Calendar.tokens.calendarMonthFontFamily, _Calendar.tokens.calendarMonthFontSize, _Calendar.tokens.calendarMonthFontStyle, _Calendar.tokens.calendarMonthFontLetterSpacing, _Calendar.tokens.calendarMonthFontLineHeight, _Calendar.tokens.calendarMonthFontWeight, _Calendar.tokens.calendarMonthSelectedFontWeight, _Calendar.tokens.calendarDayItemBorderRadius, _Calendar.tokens.calendarDayItemWidth, _Calendar.tokens.calendarDayItemHeight, _Calendar.tokens.calendarDayFontFamily, _Calendar.tokens.calendarDayFontSize, _Calendar.tokens.calendarDayFontStyle, _Calendar.tokens.calendarDayFontLetterSpacing, _Calendar.tokens.calendarDayFontLineHeight, _Calendar.tokens.calendarDayFontWeight, _Calendar.tokens.calendarDaySelectedFontWeight, _Calendar.tokens.calendarHeaderArrowGap, _Calendar.tokens.calendarDaysPadding, _Calendar.tokens.calendarHeaderPadding, _Calendar.tokens.calendarHeaderDateGap, _Calendar.tokens.calendarHeaderFontFamily, _Calendar.tokens.calendarHeaderFontSize, _Calendar.tokens.calendarHeaderFontStyle, _Calendar.tokens.calendarHeaderFontLetterSpacing, _Calendar.tokens.calendarHeaderFontLineHeight, _Calendar.tokens.calendarHeaderFontWeight, _Calendar.tokens.calendarHeaderFontWeightBold, _Calendar.tokens.iconButtonHeight, _Calendar.tokens.iconButtonWidth, _Calendar.tokens.iconButtonPadding, _Calendar.tokens.iconButtonRadius),
20
+ m: /*#__PURE__*/(0, _styledComponents.css)(["", ":44.063rem;", ":21rem;", ":0.5rem 0.5rem 0 0.5rem;", ":0.625rem;", ":6.688rem;", ":4.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.625rem;", ":6.688rem;", ":4.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-bold-font-weight);", ":0.5rem 0 0 0;", ":0.625rem;", ":3rem;", ":2.5rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-bold-font-weight);", ":0.5rem;", ":0.5rem 0 0 0;", ":0 0 0 0.75rem;", ":0.375rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":3rem;", ":3rem;", ":1.25rem;", ":0.75rem;"], _Calendar.tokens.calendarWidth, _Calendar.tokens.calendarHeight, _Calendar.tokens.calendarYearsPadding, _Calendar.tokens.calendarYearItemBorderRadius, _Calendar.tokens.calendarYearItemWidth, _Calendar.tokens.calendarYearItemHeight, _Calendar.tokens.calendarYearFontFamily, _Calendar.tokens.calendarYearFontSize, _Calendar.tokens.calendarYearFontStyle, _Calendar.tokens.calendarYearFontLetterSpacing, _Calendar.tokens.calendarYearFontLineHeight, _Calendar.tokens.calendarYearFontWeight, _Calendar.tokens.calendarYearSelectedFontWeight, _Calendar.tokens.calendarMonthsPadding, _Calendar.tokens.calendarMonthItemBorderRadius, _Calendar.tokens.calendarMonthItemWidth, _Calendar.tokens.calendarMonthItemHeight, _Calendar.tokens.calendarMonthFontFamily, _Calendar.tokens.calendarMonthFontSize, _Calendar.tokens.calendarMonthFontStyle, _Calendar.tokens.calendarMonthFontLetterSpacing, _Calendar.tokens.calendarMonthFontLineHeight, _Calendar.tokens.calendarMonthFontWeight, _Calendar.tokens.calendarMonthSelectedFontWeight, _Calendar.tokens.calendarDaysPadding, _Calendar.tokens.calendarDayItemBorderRadius, _Calendar.tokens.calendarDayItemWidth, _Calendar.tokens.calendarDayItemHeight, _Calendar.tokens.calendarDayFontFamily, _Calendar.tokens.calendarDayFontSize, _Calendar.tokens.calendarDayFontStyle, _Calendar.tokens.calendarDayFontLetterSpacing, _Calendar.tokens.calendarDayFontLineHeight, _Calendar.tokens.calendarDayFontWeight, _Calendar.tokens.calendarDaySelectedFontWeight, _Calendar.tokens.calendarHeaderArrowGap, _Calendar.tokens.calendarDaysPadding, _Calendar.tokens.calendarHeaderPadding, _Calendar.tokens.calendarHeaderDateGap, _Calendar.tokens.calendarHeaderFontFamily, _Calendar.tokens.calendarHeaderFontSize, _Calendar.tokens.calendarHeaderFontStyle, _Calendar.tokens.calendarHeaderFontLetterSpacing, _Calendar.tokens.calendarHeaderFontLineHeight, _Calendar.tokens.calendarHeaderFontWeight, _Calendar.tokens.calendarHeaderFontWeightBold, _Calendar.tokens.iconButtonHeight, _Calendar.tokens.iconButtonWidth, _Calendar.tokens.iconButtonPadding, _Calendar.tokens.iconButtonRadius),
21
+ s: /*#__PURE__*/(0, _styledComponents.css)(["", ":37.063rem;", ":17rem;", ":0.5rem 0.5rem 0 0.5rem;", ":0.5rem;", ":5.5rem;", ":3.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.5rem;", ":5.5rem;", ":3.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-bold-font-weight);", ":0.5rem;", ":2.5rem;", ":2rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-bold-font-weight);", ":0.5rem;", ":0.5rem 0 0 0;", ":0 0 0 0.5rem;", ":0.25rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":2.5rem;", ":2.5rem;", ":1rem;", ":0.625rem;"], _Calendar.tokens.calendarWidth, _Calendar.tokens.calendarHeight, _Calendar.tokens.calendarYearsPadding, _Calendar.tokens.calendarYearItemBorderRadius, _Calendar.tokens.calendarYearItemWidth, _Calendar.tokens.calendarYearItemHeight, _Calendar.tokens.calendarYearFontFamily, _Calendar.tokens.calendarYearFontSize, _Calendar.tokens.calendarYearFontStyle, _Calendar.tokens.calendarYearFontLetterSpacing, _Calendar.tokens.calendarYearFontLineHeight, _Calendar.tokens.calendarYearFontWeight, _Calendar.tokens.calendarYearSelectedFontWeight, _Calendar.tokens.calendarMonthsPadding, _Calendar.tokens.calendarMonthItemBorderRadius, _Calendar.tokens.calendarMonthItemWidth, _Calendar.tokens.calendarMonthItemHeight, _Calendar.tokens.calendarMonthFontFamily, _Calendar.tokens.calendarMonthFontSize, _Calendar.tokens.calendarMonthFontStyle, _Calendar.tokens.calendarMonthFontLetterSpacing, _Calendar.tokens.calendarMonthFontLineHeight, _Calendar.tokens.calendarMonthFontWeight, _Calendar.tokens.calendarMonthSelectedFontWeight, _Calendar.tokens.calendarDayItemBorderRadius, _Calendar.tokens.calendarDayItemWidth, _Calendar.tokens.calendarDayItemHeight, _Calendar.tokens.calendarDayFontFamily, _Calendar.tokens.calendarDayFontSize, _Calendar.tokens.calendarDayFontStyle, _Calendar.tokens.calendarDayFontLetterSpacing, _Calendar.tokens.calendarDayFontLineHeight, _Calendar.tokens.calendarDayFontWeight, _Calendar.tokens.calendarDaySelectedFontWeight, _Calendar.tokens.calendarHeaderArrowGap, _Calendar.tokens.calendarDaysPadding, _Calendar.tokens.calendarHeaderPadding, _Calendar.tokens.calendarHeaderDateGap, _Calendar.tokens.calendarHeaderFontFamily, _Calendar.tokens.calendarHeaderFontSize, _Calendar.tokens.calendarHeaderFontStyle, _Calendar.tokens.calendarHeaderFontLetterSpacing, _Calendar.tokens.calendarHeaderFontLineHeight, _Calendar.tokens.calendarHeaderFontWeight, _Calendar.tokens.calendarHeaderFontWeightBold, _Calendar.tokens.iconButtonHeight, _Calendar.tokens.iconButtonWidth, _Calendar.tokens.iconButtonPadding, _Calendar.tokens.iconButtonRadius),
22
+ xs: /*#__PURE__*/(0, _styledComponents.css)(["", ":37.063rem;", ":15.5rem;", ":0.375rem 0.25rem 0 0.25rem;", ":0.375rem;", ":5.625rem;", ":3.281rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":0.375rem 0.25rem 0 0.25rem;", ":0.375rem;", ":5.625rem;", ":3.281rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":0.375rem 0 0 0;", ":0.375rem;", ":2.5rem;", ":1.875rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":0;", ":0 0 0 0.5rem;", ":0.25rem;", ":var(--plasma-typo-h5-font-family);", ":var(--plasma-typo-h5-font-size);", ":var(--plasma-typo-h5-font-style);", ":var(--plasma-typo-h5-letter-spacing);", ":var(--plasma-typo-h5-line-height);", ":var(--plasma-typo-h5-font-weight);", ":var(--plasma-typo-h5-bold-font-weight);", ":2rem;", ":2rem;", ":0.75rem;", ":0.5rem;"], _Calendar.tokens.calendarWidth, _Calendar.tokens.calendarHeight, _Calendar.tokens.calendarYearsPadding, _Calendar.tokens.calendarYearItemBorderRadius, _Calendar.tokens.calendarYearItemWidth, _Calendar.tokens.calendarYearItemHeight, _Calendar.tokens.calendarYearFontFamily, _Calendar.tokens.calendarYearFontSize, _Calendar.tokens.calendarYearFontStyle, _Calendar.tokens.calendarYearFontLetterSpacing, _Calendar.tokens.calendarYearFontLineHeight, _Calendar.tokens.calendarYearFontWeight, _Calendar.tokens.calendarYearSelectedFontWeight, _Calendar.tokens.calendarMonthsPadding, _Calendar.tokens.calendarMonthItemBorderRadius, _Calendar.tokens.calendarMonthItemWidth, _Calendar.tokens.calendarMonthItemHeight, _Calendar.tokens.calendarMonthFontFamily, _Calendar.tokens.calendarMonthFontSize, _Calendar.tokens.calendarMonthFontStyle, _Calendar.tokens.calendarMonthFontLetterSpacing, _Calendar.tokens.calendarMonthFontLineHeight, _Calendar.tokens.calendarMonthFontWeight, _Calendar.tokens.calendarMonthSelectedFontWeight, _Calendar.tokens.calendarDaysPadding, _Calendar.tokens.calendarDayItemBorderRadius, _Calendar.tokens.calendarDayItemWidth, _Calendar.tokens.calendarDayItemHeight, _Calendar.tokens.calendarDayFontFamily, _Calendar.tokens.calendarDayFontSize, _Calendar.tokens.calendarDayFontStyle, _Calendar.tokens.calendarDayFontLetterSpacing, _Calendar.tokens.calendarDayFontLineHeight, _Calendar.tokens.calendarDayFontWeight, _Calendar.tokens.calendarDaySelectedFontWeight, _Calendar.tokens.calendarHeaderArrowGap, _Calendar.tokens.calendarHeaderPadding, _Calendar.tokens.calendarHeaderDateGap, _Calendar.tokens.calendarHeaderFontFamily, _Calendar.tokens.calendarHeaderFontSize, _Calendar.tokens.calendarHeaderFontStyle, _Calendar.tokens.calendarHeaderFontLetterSpacing, _Calendar.tokens.calendarHeaderFontLineHeight, _Calendar.tokens.calendarHeaderFontWeight, _Calendar.tokens.calendarHeaderFontWeightBold, _Calendar.tokens.iconButtonHeight, _Calendar.tokens.iconButtonWidth, _Calendar.tokens.iconButtonPadding, _Calendar.tokens.iconButtonRadius)
20
23
  }
21
24
  }
22
25
  };
@@ -531,14 +531,14 @@ Object.keys(_Range).forEach(function (key) {
531
531
  }
532
532
  });
533
533
  });
534
- var _Accordion = /*#__PURE__*/require("./components/Accordion");
535
- Object.keys(_Accordion).forEach(function (key) {
534
+ var _DatePicker = /*#__PURE__*/require("./components/DatePicker");
535
+ Object.keys(_DatePicker).forEach(function (key) {
536
536
  if (key === "default" || key === "__esModule") return;
537
- if (key in exports && exports[key] === _Accordion[key]) return;
537
+ if (key in exports && exports[key] === _DatePicker[key]) return;
538
538
  Object.defineProperty(exports, key, {
539
539
  enumerable: true,
540
540
  get: function get() {
541
- return _Accordion[key];
541
+ return _DatePicker[key];
542
542
  }
543
543
  });
544
544
  });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.customDayjs = void 0;
7
+ var _dayjs = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("dayjs"));
8
+ var _customParseFormat = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("dayjs/plugin/customParseFormat"));
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ _dayjs["default"].extend(_customParseFormat["default"]);
11
+ var customDayjs = exports.customDayjs = _dayjs["default"];
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getPlacements = exports.getPlacement = void 0;
7
+ var getPlacement = exports.getPlacement = function getPlacement(placement) {
8
+ return "".concat(placement, "-start");
9
+ };
10
+ var getPlacements = exports.getPlacements = function getPlacements(placements) {
11
+ if (!placements) {
12
+ return;
13
+ }
14
+ var isArray = Array.isArray(placements);
15
+ if (!isArray) {
16
+ return getPlacement(placements);
17
+ }
18
+ return (placements || []).map(function (placement) {
19
+ return getPlacement(placement);
20
+ });
21
+ };
@@ -3,6 +3,16 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ var _exportNames = {
7
+ cx: true,
8
+ composableStyle: true,
9
+ canUseDOM: true,
10
+ extractTextFrom: true,
11
+ getSizeValueFromProp: true,
12
+ IS_REACT_18: true,
13
+ safeUseId: true,
14
+ isNumber: true
15
+ };
6
16
  Object.defineProperty(exports, "IS_REACT_18", {
7
17
  enumerable: true,
8
18
  get: function get() {
@@ -45,6 +55,18 @@ var _extractTextFrom = /*#__PURE__*/require("./extractTextFrom");
45
55
  var _getSizeValueFromProp = /*#__PURE__*/require("./getSizeValueFromProp");
46
56
  var _react = /*#__PURE__*/require("./react");
47
57
  var _isNumber = /*#__PURE__*/require("./isNumber");
58
+ var _getPopoverPlacement = /*#__PURE__*/require("./getPopoverPlacement");
59
+ Object.keys(_getPopoverPlacement).forEach(function (key) {
60
+ if (key === "default" || key === "__esModule") return;
61
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
62
+ if (key in exports && exports[key] === _getPopoverPlacement[key]) return;
63
+ Object.defineProperty(exports, key, {
64
+ enumerable: true,
65
+ get: function get() {
66
+ return _getPopoverPlacement[key];
67
+ }
68
+ });
69
+ });
48
70
  var cx = exports.cx = function cx() {
49
71
  for (var _len = arguments.length, classes = new Array(_len), _key = 0; _key < _len; _key++) {
50
72
  classes[_key] = arguments[_key];
@@ -9,51 +9,90 @@ export var classes = {
9
9
  selectableItem: 'item-selectable',
10
10
  selectedItem: 'item-selected',
11
11
  currentItem: 'item-current',
12
- hoveredItem: 'item-hovered'
12
+ hoveredItem: 'item-hovered',
13
+ doubleHeaderDate: 'double-header-date',
14
+ doubleHeaderLastDateWrapper: 'double-header--last-date-wrapper'
13
15
  };
14
16
  export var tokens = {
15
- calendarBackgroundColor: '--plasma-calendar-background',
16
- calendarHeaderArrowContainerWidth: '--plasma-calendar-arrow-container-width',
17
- calendarItemBorderRadius: '--plasma-calendar-item-border-radius',
18
- calendarSelectedItemBackground: '--plasma-calendar-selected-item-background',
19
- calendarSelectedItemColor: '--plasma-calendar-selected-item-color',
20
- calendarSelectableItemBackgroundHover: '--plasma-calendar-selectable-item-bg-hover',
21
- calendarCurrentItemBorderColor: '--plasma-calendar-current-item-border-color',
22
- calendarCurrentItemBackgroundHover: '--plasma-calendar-current-item-bg-hover',
23
- calendarCurrentItemColorHover: '--plasma-calendar-current-item-color-hover',
24
- calendarCurrentItemChildBackgroundHover: '--plasma-calendar-current-item-child-bg-hover',
25
- calendarActiveItemBackground: '--plasma-calendar-active-item-bg',
26
- calendarActiveItemColor: '--plasma-calendar-active-item-color',
27
- calendarHoveredItemBackground: '--plasma-calendar-hovered-item-bg',
28
- calendarHoveredItemColor: '--plasma-calendar-hovered-item-color',
29
- calendarSeparatorBackground: '--plasma-calendar-separator-background',
30
- calendarRangeBackground: '--plasma-calendar-range-background',
31
- calendarOutlineFocusColor: '--plasma-calendar-outline-focus-color',
32
- calendarContentPrimaryColor: '--plasma-calendar-content-primary-color',
33
- calendarContentSecondaryColor: '--plasma-calendar-content-secondary-color',
34
- calendarHeaderFontFamily: '--plasma-calendar-header-font-family',
35
- calendarHeaderFontSize: '--plasma-calendar-header-font-size',
36
- calendarHeaderFontStyle: '--plasma-calendar-header-font-style',
37
- calendarHeaderFontLetterSpacing: '--plasma-calendar-header-font-letter-spacing',
38
- calendarHeaderFontLineHeight: '--plasma-calendar-header-line-height',
39
- calendarHeaderFontWeight: '--plasma-calendar-header-font-weight',
40
- calendarHeaderFontWeightBold: '--plasma-calendar-header-font-weight-bold',
17
+ calendarWidth: '--plasma-calendar-width',
18
+ calendarHeight: '--plasma-calendar-height',
19
+ /* Токены размера сетки лет */
20
+ calendarYearsPadding: '--plasma-calendar-years-padding',
21
+ calendarYearItemBorderRadius: '--plasma-calendar-year-item-border-radius',
22
+ calendarYearItemWidth: '--plasma-calendar-year-item-width',
23
+ calendarYearItemHeight: '--plasma-calendar-year-item-height',
41
24
  calendarYearFontFamily: '--plasma-calendar-year-font-family',
42
25
  calendarYearFontSize: '--plasma-calendar-year-font-size',
43
26
  calendarYearFontStyle: '--plasma-calendar-year-font-style',
44
27
  calendarYearFontLetterSpacing: '--plasma-calendar-year-font-letter-spacing',
45
28
  calendarYearFontLineHeight: '--plasma-calendar-year-line-height',
46
29
  calendarYearFontWeight: '--plasma-calendar-year-font-weight',
30
+ calendarYearSelectedFontWeight: '--plasma-calendar-year-selected-font-weight',
31
+ /* Токены размера сетки месяцев */
32
+ calendarMonthsPadding: '--plasma-calendar-months-padding',
33
+ calendarMonthItemBorderRadius: '--plasma-calendar-month-item-border-radius',
34
+ calendarMonthItemWidth: '--plasma-calendar-month-item-width',
35
+ calendarMonthItemHeight: '--plasma-calendar-month-item-height',
47
36
  calendarMonthFontFamily: '--plasma-calendar-month-font-family',
48
37
  calendarMonthFontSize: '--plasma-calendar-month-font-size',
49
38
  calendarMonthFontStyle: '--plasma-calendar-month-font-style',
50
39
  calendarMonthFontLetterSpacing: '--plasma-calendar-month-font-letter-spacing',
51
40
  calendarMonthFontLineHeight: '--plasma-calendar-month-line-height',
52
41
  calendarMonthFontWeight: '--plasma-calendar-month-font-weight',
42
+ calendarMonthSelectedFontWeight: '--plasma-calendar-month-selected-font-weight',
43
+ /* Токены размера сетки дней */
44
+ calendarDaysPadding: '--plasma-calendar-days-padding',
45
+ calendarDayItemBorderRadius: '--plasma-calendar-day-item-border-radius',
46
+ calendarDayItemWidth: '--plasma-calendar-day-item-width',
47
+ calendarDayItemHeight: '--plasma-calendar-day-item-height',
53
48
  calendarDayFontFamily: '--plasma-calendar-day-font-family',
54
49
  calendarDayFontSize: '--plasma-calendar-day-font-size',
55
50
  calendarDayFontStyle: '--plasma-calendar-day-font-style',
56
51
  calendarDayFontLetterSpacing: '--plasma-calendar-day-font-letter-spacing',
57
52
  calendarDayFontLineHeight: '--plasma-calendar-day-line-height',
58
- calendarDayFontWeight: '--plasma-calendar-day-font-weight'
53
+ calendarDayFontWeight: '--plasma-calendar-day-font-weight',
54
+ calendarDaySelectedFontWeight: '--plasma-calendar-day-selected-font-weight',
55
+ calendarDayOfWeekColor: '--plasma-calendar-day-of-the-week-color',
56
+ /* Токены шапки календаря */
57
+ calendarHeaderWrapperPadding: '--plasma-calendar-header-wrapper-padding',
58
+ calendarHeaderArrowGap: '--plasma-calendar-arrow-container-gap',
59
+ calendarHeaderArrowPadding: '--plasma-calendar-arrow-container-padding',
60
+ calendarHeaderPadding: '--plasma-calendar-header-padding',
61
+ calendarHeaderDateGap: '--plasma-calendar-header-date-gap',
62
+ calendarHeaderFontFamily: '--plasma-calendar-header-font-family',
63
+ calendarHeaderFontSize: '--plasma-calendar-header-font-size',
64
+ calendarHeaderFontStyle: '--plasma-calendar-header-font-style',
65
+ calendarHeaderFontLetterSpacing: '--plasma-calendar-header-font-letter-spacing',
66
+ calendarHeaderFontLineHeight: '--plasma-calendar-header-line-height',
67
+ calendarHeaderFontWeight: '--plasma-calendar-header-font-weight',
68
+ calendarHeaderFontWeightBold: '--plasma-calendar-header-font-weight-bold',
69
+ /* Токены стрелок навигации календаря */
70
+ iconButtonColor: '--plasma-calendar-icon-button-color',
71
+ iconButtonBackgroundColor: '--plasma-calendar-icon-button-background',
72
+ iconButtonColorHover: '--plasma-calendar-icon-button-color-hover',
73
+ iconButtonBackgroundColorHover: '--plasma-calendar-icon-button-background-hover',
74
+ iconButtonColorActive: '--plasma-calendar-icon-button-color-active',
75
+ iconButtonBackgroundColorActive: '--plasma-calendar-icon-button-background-active',
76
+ iconButtonHeight: '--plasma-calendar-icon-button-height',
77
+ iconButtonWidth: '--plasma-calendar-icon-button-width',
78
+ iconButtonPadding: '--plasma-calendar-icon-button-padding',
79
+ iconButtonRadius: '--plasma-calendar-icon-button-radius',
80
+ iconButtonFocusColor: '--plasma-calendar-icon-button-focus-color',
81
+ calendarBackgroundColor: '--plasma-calendar-background',
82
+ calendarSelectedItemBackground: '--plasma-calendar-selected-item-background',
83
+ calendarSelectedItemColor: '--plasma-calendar-selected-item-color',
84
+ calendarSelectableItemBackgroundHover: '--plasma-calendar-selectable-item-bg-hover',
85
+ calendarCurrentItemBorderColor: '--plasma-calendar-current-item-border-color',
86
+ calendarCurrentItemBackgroundHover: '--plasma-calendar-current-item-bg-hover',
87
+ calendarCurrentItemColorHover: '--plasma-calendar-current-item-color-hover',
88
+ calendarCurrentItemChildBackgroundHover: '--plasma-calendar-current-item-child-bg-hover',
89
+ calendarActiveItemBackground: '--plasma-calendar-active-item-bg',
90
+ calendarActiveItemColor: '--plasma-calendar-active-item-color',
91
+ calendarHoveredItemBackground: '--plasma-calendar-hovered-item-bg',
92
+ calendarHoveredItemColor: '--plasma-calendar-hovered-item-color',
93
+ calendarSeparatorBackground: '--plasma-calendar-separator-background',
94
+ calendarRangeBackground: '--plasma-calendar-range-background',
95
+ calendarOutlineFocusColor: '--plasma-calendar-outline-focus-color',
96
+ calendarContentPrimaryColor: '--plasma-calendar-content-primary-color',
97
+ calendarContentSecondaryColor: '--plasma-calendar-content-secondary-color'
59
98
  };
@@ -8,7 +8,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10
10
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11
- import React, { useCallback, useMemo, useReducer, useState, forwardRef } from 'react';
11
+ import React, { useCallback, useMemo, useReducer, useState, forwardRef, useEffect } from 'react';
12
12
  import { getInitialState, reducer } from '../store/reducer';
13
13
  import { ActionType, CalendarState } from '../store/types';
14
14
  import { isValueUpdate, YEAR_RENDER_COUNT } from '../utils';
@@ -213,6 +213,11 @@ export var calendarBaseRoot = function calendarBaseRoot(Root) {
213
213
  });
214
214
  onKeyDown(event);
215
215
  }, [onKeyDown]);
216
+ useEffect(function () {
217
+ if (!prevValue) {
218
+ setPrevValue(value);
219
+ }
220
+ }, [value, prevValue]);
216
221
  return /*#__PURE__*/React.createElement(Root, _extends({
217
222
  ref: outerRootRef,
218
223
  "aria-label": "\u0412\u044B\u0431\u043E\u0440 \u0434\u0430\u0442\u044B"
@@ -223,6 +228,7 @@ export var calendarBaseRoot = function calendarBaseRoot(Root) {
223
228
  "aria-live": "assertive",
224
229
  "aria-relevant": "additions"
225
230
  }, "\u0414\u0430\u043B\u0435\u0435 \u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0434\u0430\u0442."), /*#__PURE__*/React.createElement(CalendarHeader, {
231
+ size: rest.size,
226
232
  firstDate: date,
227
233
  startYear: startYear,
228
234
  type: calendarState,
@@ -2,7 +2,8 @@ var _templateObject;
2
2
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
3
3
  import { css } from 'styled-components';
4
4
  import styled from 'styled-components';
5
- export var StyledCalendar = /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n user-select: none;\n z-index: 1;\n\n width: 19.5rem;\n height: 19.5rem;\n"])));
5
+ import { tokens } from '../Calendar.tokens';
6
+ export var StyledCalendar = /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n user-select: none;\n z-index: 1;\n\n width: var(", ");\n height: var(", ");\n"])), tokens.calendarWidth, tokens.calendarHeight);
6
7
  export var IsOutOfRange = /*#__PURE__*/styled.div.withConfig({
7
8
  componentId: "plasma-new-hope__sc-1xkgu4c-0"
8
9
  })(["position:absolute;padding:0;margin:0;height:0;width:0;border:0;overflow:hidden;clip:rect(0 0 0 0);"]);
@@ -137,6 +137,7 @@ export var calendarDoubleRoot = function calendarDoubleRoot(Root) {
137
137
  "aria-label": "\u0412\u044B\u0431\u043E\u0440 \u0434\u0430\u0442\u044B"
138
138
  }, rest), /*#__PURE__*/React.createElement(CalendarHeader, {
139
139
  isDouble: true,
140
+ size: rest.size,
140
141
  firstDate: firstDate,
141
142
  secondDate: secondDate,
142
143
  onPrev: handlePrev,
@@ -3,10 +3,10 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
3
3
  import { css } from 'styled-components';
4
4
  import styled from 'styled-components';
5
5
  import { tokens } from '../Calendar.tokens';
6
- export var StyledCalendar = /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n user-select: none;\n z-index: 1;\n\n display: flex;\n flex-direction: column;\n\n width: 39rem;\n height: 19.5rem;\n"])));
6
+ export var StyledCalendar = /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n user-select: none;\n z-index: 1;\n\n display: flex;\n flex-direction: column;\n\n width: var(", ");\n height: var(", ");\n"])), tokens.calendarWidth, tokens.calendarHeight);
7
7
  export var StyledSeparator = /*#__PURE__*/styled.div.withConfig({
8
8
  componentId: "plasma-new-hope__sc-1dp3a9f-0"
9
- })(["background-color:var(", ");min-width:0.063rem;margin:0.5rem 0 1.5rem;"], tokens.calendarSeparatorBackground);
9
+ })(["background-color:var(", ");min-width:0.063rem;margin:0.5rem 1rem 0 1rem;"], tokens.calendarSeparatorBackground);
10
10
  export var StyledWrapper = /*#__PURE__*/styled.div.withConfig({
11
11
  componentId: "plasma-new-hope__sc-1dp3a9f-1"
12
12
  })(["display:flex;"]);
@@ -227,5 +227,5 @@ export var useDays = function useDays(date, value, eventList, disabledList, min,
227
227
  return getMatrix(modifiedDays);
228
228
  }
229
229
  return getMatrix(days);
230
- }, [date, value, eventList, disabledList, max, min]);
230
+ }, [date, value, eventList, disabledList, max, min, includeEdgeDates]);
231
231
  };
@@ -0,0 +1,6 @@
1
+ export var addActive = function addActive(args) {
2
+ var activeBackground = args.activeBackground,
3
+ activeColor = args.activeColor,
4
+ activeFontWeight = args.activeFontWeight;
5
+ return "\n &:active {\n background-color: ".concat(activeBackground, ";\n color: ").concat(activeColor, ";\n font-weight: ").concat(activeFontWeight, ";\n }\n ");
6
+ };
@@ -0,0 +1,2 @@
1
+ export var flexCenter = "\n display: flex;\n justify-content: center;\n align-items: center;\n";
2
+ export var flexSpaceBetween = "\n display: flex;\n justify-content: space-between;\n align-items: center;\n";
@@ -1,27 +1,3 @@
1
- import styled from 'styled-components';
2
- import { tokens } from '../Calendar.tokens';
3
- import { addFocus } from '../../../mixins';
4
- export var flexCenter = "\n display: flex;\n justify-content: center;\n align-items: center;\n";
5
- export var flexSpaceBetween = "\n display: flex;\n justify-content: space-between;\n align-items: center;\n";
6
-
7
- /**
8
- * Миксин для установки синтетического фокуса на выбранной кнопке.
9
- */
10
- export var buttonFocus = /*#__PURE__*/styled.button.withConfig({
11
- componentId: "plasma-new-hope__sc-1tntqjy-0"
12
- })(["border:none;background-color:transparent;padding:0;outline:none;", ";"], /*#__PURE__*/addFocus({
13
- outlineSize: '0.063rem',
14
- outlineOffset: '-0.125rem',
15
- outlineColor: /*#__PURE__*/"var(".concat(tokens.calendarOutlineFocusColor, ")"),
16
- outlineRadius: '0.563rem'
17
- }));
18
-
19
- /**
20
- * Миксины для изменения стиля выбранного дня.
21
- */
22
- var active = "\n &:active {\n background-color: var(--calendar_private-active-background);\n color: var(--calendar_private-active-color);\n font-weight: var(--plasma-typo-body-s-bold-font-weight);\n }\n";
23
-
24
- /*
25
- * Если использовать токены и классы из ./tokens rollup ругается на этот миксин
26
- */
27
- export var selectedMixin = /*#__PURE__*/"\n outline: none;\n cursor: pointer;\n\n &:hover:not(.item-selected) {\n background-color: var(--calendar_private-selectable-background-hover);\n \n ".concat(String(active), ";\n };\n\n &.item-selected {\n border: 0;\n background-color: var(--calendar_private-selected-background);\n color: var(--calendar_private-selected-color);\n cursor: default;\n font-weight: var(--plasma-typo-body-s-bold-font-weight);\n };\n\n &.item-current {\n border: 0.063rem solid var(--calendar_private-current-border-color);\n\n &:not(.item-selected):hover {\n background-color: var(--calendar_private-current-background-hover);\n color: var(--calendar_private-current-color-hover);\n\n & > div:first-of-type {\n background-color: var(--calendar_private-current-child-background-hover);\n min-width: var(--calendar_private-selected-min-width);\n min-height: var(--calendar_private-selected-min-height);\n }\n \n ").concat(String(active), ";\n }\n };\n\n &.item-hovered, &.item-hovered:hover {\n background-color: var(--calendar_private-hovered-background);\n color: var(--calendar_private-hovered-color);\n cursor: pointer;\n font-weight: var(--plasma-typo-body-s-bold-font-weight);\n ").concat(String(active), ";\n }\n\n ").concat( /*#__PURE__*/String(active), ";\n");
1
+ export { addActive } from './active';
2
+ export { addSelected } from './selected';
3
+ export * from './flex';