@salutejs/plasma-new-hope 0.94.0-canary.1224.9684925191.0 → 0.94.0-canary.1253.9693605980.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (626) hide show
  1. package/cjs/components/Calendar/Calendar.tokens.js +28 -67
  2. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  3. package/cjs/components/Calendar/Calendar.types.js.map +1 -1
  4. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +29 -57
  5. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +0 -6
  6. package/cjs/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  7. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  8. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  9. package/cjs/components/Calendar/CalendarBase/{CalendarBase.styles_1m6uih1.css → CalendarBase.styles_rv9ax9.css} +1 -1
  10. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +30 -58
  11. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +0 -6
  12. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  13. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +1 -1
  14. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js.map +1 -1
  15. package/{es/components/Calendar/CalendarDouble/CalendarDouble.styles_e9ada0.css → cjs/components/Calendar/CalendarDouble/CalendarDouble.styles_1rc2ejs.css} +2 -2
  16. package/cjs/components/Calendar/hoc/withRange.js.map +1 -1
  17. package/cjs/components/Calendar/hooks/useDays.js +1 -1
  18. package/cjs/components/Calendar/hooks/useDays.js.map +1 -1
  19. package/cjs/components/Calendar/mixins/index.js +18 -0
  20. package/cjs/components/Calendar/mixins/index.js.map +1 -0
  21. package/cjs/components/Calendar/mixins/index_o3bz9l.css +1 -0
  22. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.css +4 -4
  23. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +9 -9
  24. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js.map +1 -1
  25. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_xf9c5e.css +4 -0
  26. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +7 -7
  27. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -1
  28. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
  29. package/{es/components/Calendar/ui/CalendarDays/CalendarDays.styles_1oq8sud.css → cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles_bnrjbd.css} +1 -1
  30. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +8 -36
  31. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +17 -31
  32. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  33. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +12 -27
  34. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  35. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1c4p417.css +6 -0
  36. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  37. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  38. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  39. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +1 -1
  40. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
  41. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1jnzviu.css +4 -0
  42. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  43. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  44. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  45. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +1 -1
  46. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
  47. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_1lubnwe.css +4 -0
  48. package/cjs/components/Calendar/utils/index.js.map +1 -1
  49. package/cjs/components/Combobox/Combobox.js +2 -2
  50. package/cjs/components/Combobox/Combobox.js.map +1 -1
  51. package/cjs/components/Dropdown/Dropdown.js +2 -4
  52. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  53. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +4 -8
  54. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  55. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -6
  56. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  57. package/cjs/components/Dropdown/utils/index.js +17 -0
  58. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  59. package/cjs/components/Range/Range.css +12 -12
  60. package/cjs/components/Range/Range.js +2 -17
  61. package/cjs/components/Range/Range.js.map +1 -1
  62. package/cjs/components/Range/Range.styles.js +1 -1
  63. package/cjs/components/Range/Range.styles.js.map +1 -1
  64. package/cjs/components/Range/Range.styles_mc4w65.css +8 -0
  65. package/cjs/components/Select/Select.js +2 -2
  66. package/cjs/components/Select/Select.js.map +1 -1
  67. package/cjs/components/Slider/Slider.css +9 -9
  68. package/cjs/components/Slider/components/Double/Double.css +9 -9
  69. package/cjs/components/TextField/TextField.styles.js +1 -1
  70. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  71. package/{es/components/TextField/TextField.styles_aqmut.css → cjs/components/TextField/TextField.styles_9fkr1l.css} +2 -2
  72. package/cjs/components/TextField/TextField.tokens.js +1 -1
  73. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  74. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  75. package/cjs/components/TextField/variations/_read-only/base_134hshp.css +1 -0
  76. package/cjs/components/TextField/variations/_size/base.js +1 -1
  77. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  78. package/cjs/components/TextField/variations/_size/base_ntoddv.css +1 -0
  79. package/cjs/components/TextField/variations/_view/base.js +1 -1
  80. package/cjs/components/TextField/variations/_view/base_19gxyva.css +1 -0
  81. package/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  82. package/cjs/components/_Icon/Icon.assets/DisclosureLeft.js.map +1 -1
  83. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js +15 -5
  84. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  85. package/cjs/index.css +44 -77
  86. package/cjs/index.js +0 -12
  87. package/cjs/index.js.map +1 -1
  88. package/cjs/utils/index.js.map +1 -1
  89. package/es/components/Calendar/Calendar.tokens.js +28 -67
  90. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  91. package/es/components/Calendar/Calendar.types.js.map +1 -1
  92. package/es/components/Calendar/CalendarBase/CalendarBase.css +29 -57
  93. package/es/components/Calendar/CalendarBase/CalendarBase.js +1 -7
  94. package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  95. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  96. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  97. package/es/components/Calendar/CalendarBase/{CalendarBase.styles_1m6uih1.css → CalendarBase.styles_rv9ax9.css} +1 -1
  98. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +30 -58
  99. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -7
  100. package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  101. package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +1 -1
  102. package/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js.map +1 -1
  103. package/{cjs/components/Calendar/CalendarDouble/CalendarDouble.styles_e9ada0.css → es/components/Calendar/CalendarDouble/CalendarDouble.styles_1rc2ejs.css} +2 -2
  104. package/es/components/Calendar/hoc/withRange.js.map +1 -1
  105. package/es/components/Calendar/hooks/useDays.js +1 -1
  106. package/es/components/Calendar/hooks/useDays.js.map +1 -1
  107. package/es/components/Calendar/mixins/index.js +14 -0
  108. package/es/components/Calendar/mixins/index.js.map +1 -0
  109. package/es/components/Calendar/mixins/index_o3bz9l.css +1 -0
  110. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.css +4 -4
  111. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +9 -9
  112. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js.map +1 -1
  113. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_xf9c5e.css +4 -0
  114. package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +7 -7
  115. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -1
  116. package/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js.map +1 -1
  117. package/{cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles_1oq8sud.css → es/components/Calendar/ui/CalendarDays/CalendarDays.styles_bnrjbd.css} +1 -1
  118. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +8 -36
  119. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +18 -32
  120. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  121. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +13 -26
  122. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  123. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1c4p417.css +6 -0
  124. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  125. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  126. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js.map +1 -1
  127. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +1 -1
  128. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js.map +1 -1
  129. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_1jnzviu.css +4 -0
  130. package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  131. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  132. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js.map +1 -1
  133. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +1 -1
  134. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js.map +1 -1
  135. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_1lubnwe.css +4 -0
  136. package/es/components/Calendar/utils/index.js.map +1 -1
  137. package/es/components/Combobox/Combobox.js +1 -1
  138. package/es/components/Combobox/Combobox.js.map +1 -1
  139. package/es/components/Dropdown/Dropdown.js +2 -4
  140. package/es/components/Dropdown/Dropdown.js.map +1 -1
  141. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +4 -8
  142. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  143. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -6
  144. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  145. package/es/components/Dropdown/utils/index.js +16 -1
  146. package/es/components/Dropdown/utils/index.js.map +1 -1
  147. package/es/components/Range/Range.css +12 -12
  148. package/es/components/Range/Range.js +3 -18
  149. package/es/components/Range/Range.js.map +1 -1
  150. package/es/components/Range/Range.styles.js +1 -1
  151. package/es/components/Range/Range.styles.js.map +1 -1
  152. package/es/components/Range/Range.styles_mc4w65.css +8 -0
  153. package/es/components/Select/Select.js +1 -1
  154. package/es/components/Select/Select.js.map +1 -1
  155. package/es/components/Slider/Slider.css +9 -9
  156. package/es/components/Slider/components/Double/Double.css +9 -9
  157. package/es/components/TextField/TextField.styles.js +1 -1
  158. package/es/components/TextField/TextField.styles.js.map +1 -1
  159. package/{cjs/components/TextField/TextField.styles_aqmut.css → es/components/TextField/TextField.styles_9fkr1l.css} +2 -2
  160. package/es/components/TextField/TextField.tokens.js +1 -1
  161. package/es/components/TextField/TextField.tokens.js.map +1 -1
  162. package/es/components/TextField/variations/_read-only/base.js +1 -1
  163. package/es/components/TextField/variations/_read-only/base_134hshp.css +1 -0
  164. package/es/components/TextField/variations/_size/base.js +1 -1
  165. package/es/components/TextField/variations/_size/base.js.map +1 -1
  166. package/es/components/TextField/variations/_size/base_ntoddv.css +1 -0
  167. package/es/components/TextField/variations/_view/base.js +1 -1
  168. package/es/components/TextField/variations/_view/base_19gxyva.css +1 -0
  169. package/es/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  170. package/es/components/_Icon/Icon.assets/DisclosureLeft.js.map +1 -1
  171. package/es/components/_Icon/Icon.assets/DisclosureRight.js +15 -5
  172. package/es/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  173. package/es/index.css +44 -77
  174. package/es/index.js +0 -4
  175. package/es/index.js.map +1 -1
  176. package/es/utils/index.js.map +1 -1
  177. package/package.json +2 -3
  178. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +28 -67
  179. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +0 -6
  180. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -2
  181. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +0 -6
  182. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.styles.js +2 -2
  183. package/styled-components/cjs/components/Calendar/hooks/useDays.js +1 -1
  184. package/styled-components/cjs/components/Calendar/mixins/index.js +29 -30
  185. package/styled-components/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +20 -27
  186. package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -2
  187. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +16 -30
  188. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -29
  189. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  190. package/styled-components/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +12 -26
  191. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  192. package/styled-components/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +14 -26
  193. package/styled-components/cjs/components/Combobox/Combobox.js +7 -6
  194. package/styled-components/cjs/components/Dropdown/Dropdown.js +2 -3
  195. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +4 -8
  196. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -6
  197. package/styled-components/cjs/components/Dropdown/utils/index.js +16 -1
  198. package/styled-components/cjs/components/Range/Range.js +2 -17
  199. package/styled-components/cjs/components/Range/Range.styles.js +2 -3
  200. package/styled-components/cjs/components/Select/Select.js +8 -7
  201. package/styled-components/cjs/components/TextField/TextField.styles.js +2 -2
  202. package/styled-components/cjs/components/TextField/TextField.tokens.js +1 -1
  203. package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
  204. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  205. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRight.js +15 -5
  206. package/styled-components/cjs/components/_Icon/index.js +0 -7
  207. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +6 -24
  208. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +2 -5
  209. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +2 -5
  210. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.config.js +4 -4
  211. package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +6 -24
  212. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +2 -5
  213. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +2 -5
  214. package/styled-components/cjs/examples/plasma_web/components/Range/Range.config.js +4 -4
  215. package/styled-components/cjs/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +6 -24
  216. package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarBase.config.js +2 -5
  217. package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +2 -5
  218. package/styled-components/cjs/index.js +0 -11
  219. package/styled-components/cjs/utils/index.js +0 -22
  220. package/styled-components/es/components/Calendar/Calendar.tokens.js +28 -67
  221. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +1 -7
  222. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -2
  223. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -7
  224. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.styles.js +2 -2
  225. package/styled-components/es/components/Calendar/hooks/useDays.js +1 -1
  226. package/styled-components/es/components/Calendar/mixins/index.js +27 -3
  227. package/styled-components/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.js +19 -26
  228. package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.styles.js +1 -2
  229. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +18 -32
  230. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -29
  231. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +1 -1
  232. package/styled-components/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.js +11 -25
  233. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.js +1 -1
  234. package/styled-components/es/components/Calendar/ui/CalendarYears/CalendarYears.styles.js +13 -25
  235. package/styled-components/es/components/Combobox/Combobox.js +2 -1
  236. package/styled-components/es/components/Dropdown/Dropdown.js +3 -4
  237. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +4 -8
  238. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -6
  239. package/styled-components/es/components/Dropdown/utils/index.js +15 -0
  240. package/styled-components/es/components/Range/Range.js +3 -18
  241. package/styled-components/es/components/Range/Range.styles.js +2 -3
  242. package/styled-components/es/components/Select/Select.js +2 -1
  243. package/styled-components/es/components/TextField/TextField.styles.js +2 -2
  244. package/styled-components/es/components/TextField/TextField.tokens.js +1 -1
  245. package/styled-components/es/components/TextField/variations/_size/base.js +1 -1
  246. package/styled-components/es/components/_Icon/Icon.assets/DisclosureLeft.js +1 -1
  247. package/styled-components/es/components/_Icon/Icon.assets/DisclosureRight.js +15 -5
  248. package/styled-components/es/components/_Icon/index.js +0 -1
  249. package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +6 -24
  250. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +2 -5
  251. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +2 -5
  252. package/styled-components/es/examples/plasma_b2c/components/Range/Range.config.js +4 -4
  253. package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +6 -24
  254. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +2 -5
  255. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +2 -5
  256. package/styled-components/es/examples/plasma_web/components/Range/Range.config.js +4 -4
  257. package/styled-components/es/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +6 -24
  258. package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarBase.config.js +2 -5
  259. package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +2 -5
  260. package/styled-components/es/index.js +1 -2
  261. package/styled-components/es/utils/index.js +0 -1
  262. package/types/components/Accordion/utils/index.d.ts +1 -1
  263. package/types/components/Calendar/Calendar.tokens.d.ts +26 -60
  264. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  265. package/types/components/Calendar/Calendar.types.d.ts +1 -1
  266. package/types/components/Calendar/Calendar.types.d.ts.map +1 -1
  267. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts +3 -27
  268. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts.map +1 -1
  269. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  270. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts +3 -30
  271. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts.map +1 -1
  272. package/types/components/Calendar/hooks/useDays.d.ts.map +1 -1
  273. package/types/components/Calendar/mixins/index.d.ts +8 -3
  274. package/types/components/Calendar/mixins/index.d.ts.map +1 -1
  275. package/types/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles.d.ts.map +1 -1
  276. package/types/components/Calendar/ui/CalendarDays/CalendarDays.styles.d.ts.map +1 -1
  277. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  278. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +7 -47
  279. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  280. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.types.d.ts +0 -1
  281. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.types.d.ts.map +1 -1
  282. package/types/components/Calendar/ui/CalendarMonths/CalendarMonths.styles.d.ts.map +1 -1
  283. package/types/components/Calendar/ui/CalendarYears/CalendarYears.styles.d.ts.map +1 -1
  284. package/types/components/Calendar/utils/index.d.ts +1 -1
  285. package/types/components/Calendar/utils/index.d.ts.map +1 -1
  286. package/types/components/Combobox/Combobox.d.ts.map +1 -1
  287. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  288. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +1 -1
  289. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts +0 -1
  290. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts.map +1 -1
  291. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  292. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +0 -1
  293. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
  294. package/types/components/Dropdown/utils/index.d.ts +3 -1
  295. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  296. package/types/components/Range/Range.d.ts +3 -3
  297. package/types/components/Range/Range.d.ts.map +1 -1
  298. package/types/components/Range/Range.styles.d.ts.map +1 -1
  299. package/types/components/Range/Range.types.d.ts +3 -8
  300. package/types/components/Range/Range.types.d.ts.map +1 -1
  301. package/types/components/Range/index.d.ts +1 -1
  302. package/types/components/Range/index.d.ts.map +1 -1
  303. package/types/components/Select/Select.d.ts.map +1 -1
  304. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  305. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  306. package/types/components/_Icon/Icon.assets/DisclosureRight.d.ts.map +1 -1
  307. package/types/components/_Icon/index.d.ts +0 -1
  308. package/types/components/_Icon/index.d.ts.map +1 -1
  309. package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts +4 -15
  310. package/types/examples/plasma_b2c/components/Calendar/Calendar.d.ts.map +1 -1
  311. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts +0 -3
  312. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  313. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts +0 -3
  314. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  315. package/types/examples/plasma_b2c/components/Range/Range.d.ts +3 -3
  316. package/types/examples/plasma_b2c/components/Range/Range.d.ts.map +1 -1
  317. package/types/examples/plasma_web/components/Calendar/Calendar.d.ts +4 -15
  318. package/types/examples/plasma_web/components/Calendar/Calendar.d.ts.map +1 -1
  319. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts +0 -3
  320. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  321. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts +0 -3
  322. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  323. package/types/examples/plasma_web/components/Range/Range.d.ts +3 -3
  324. package/types/examples/plasma_web/components/Range/Range.d.ts.map +1 -1
  325. package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts +4 -15
  326. package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts.map +1 -1
  327. package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts +0 -3
  328. package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  329. package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts +0 -3
  330. package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  331. package/types/index.d.ts +0 -1
  332. package/types/index.d.ts.map +1 -1
  333. package/types/utils/index.d.ts +0 -1
  334. package/types/utils/index.d.ts.map +1 -1
  335. package/cjs/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_107vqka.css +0 -4
  336. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_gnorek.css +0 -8
  337. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_7jeg2n.css +0 -4
  338. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.styles_4z2ki7.css +0 -4
  339. package/cjs/components/DatePicker/DatePicker.tokens.js +0 -189
  340. package/cjs/components/DatePicker/DatePicker.tokens.js.map +0 -1
  341. package/cjs/components/DatePicker/DatePickerBase.styles.js +0 -30
  342. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +0 -1
  343. package/cjs/components/DatePicker/DatePickerBase.styles_1thp2xv.css +0 -1
  344. package/cjs/components/DatePicker/RangeDate/RangeDate.css +0 -152
  345. package/cjs/components/DatePicker/RangeDate/RangeDate.js +0 -285
  346. package/cjs/components/DatePicker/RangeDate/RangeDate.js.map +0 -1
  347. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -51
  348. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +0 -1
  349. package/cjs/components/DatePicker/RangeDate/RangeDate.styles_ww61h9.css +0 -5
  350. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +0 -144
  351. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -83
  352. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +0 -1
  353. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +0 -42
  354. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +0 -1
  355. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_wp3vfj.css +0 -2
  356. package/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js +0 -9
  357. package/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js.map +0 -1
  358. package/cjs/components/DatePicker/RangeDate/variations/_disabled/base_tl4jc7.css +0 -1
  359. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +0 -9
  360. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js.map +0 -1
  361. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base_f58pkk.css +0 -1
  362. package/cjs/components/DatePicker/RangeDate/variations/_size/base.js +0 -9
  363. package/cjs/components/DatePicker/RangeDate/variations/_size/base.js.map +0 -1
  364. package/cjs/components/DatePicker/RangeDate/variations/_size/base_1911nyw.css +0 -1
  365. package/cjs/components/DatePicker/RangeDate/variations/_view/base.js +0 -9
  366. package/cjs/components/DatePicker/RangeDate/variations/_view/base.js.map +0 -1
  367. package/cjs/components/DatePicker/RangeDate/variations/_view/base_11yn9y8.css +0 -1
  368. package/cjs/components/DatePicker/SingleDate/SingleDate.css +0 -134
  369. package/cjs/components/DatePicker/SingleDate/SingleDate.js +0 -183
  370. package/cjs/components/DatePicker/SingleDate/SingleDate.js.map +0 -1
  371. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +0 -51
  372. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +0 -1
  373. package/cjs/components/DatePicker/SingleDate/SingleDate.styles_18b5qkz.css +0 -5
  374. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js +0 -9
  375. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js.map +0 -1
  376. package/cjs/components/DatePicker/SingleDate/variations/_disabled/base_1rfgfsz.css +0 -1
  377. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +0 -9
  378. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js.map +0 -1
  379. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base_1jucwp.css +0 -1
  380. package/cjs/components/DatePicker/SingleDate/variations/_size/base.js +0 -9
  381. package/cjs/components/DatePicker/SingleDate/variations/_size/base.js.map +0 -1
  382. package/cjs/components/DatePicker/SingleDate/variations/_size/base_lf7y25.css +0 -1
  383. package/cjs/components/DatePicker/SingleDate/variations/_view/base.js +0 -9
  384. package/cjs/components/DatePicker/SingleDate/variations/_view/base.js.map +0 -1
  385. package/cjs/components/DatePicker/SingleDate/variations/_view/base_15vaheb.css +0 -1
  386. package/cjs/components/DatePicker/hooks/useDatePicker.js +0 -79
  387. package/cjs/components/DatePicker/hooks/useDatePicker.js.map +0 -1
  388. package/cjs/components/DatePicker/utils/dateHelper.js +0 -84
  389. package/cjs/components/DatePicker/utils/dateHelper.js.map +0 -1
  390. package/cjs/components/Range/Range.styles_9rort8.css +0 -8
  391. package/cjs/components/TextField/variations/_read-only/base_1vu13zn.css +0 -1
  392. package/cjs/components/TextField/variations/_size/base_orwx1f.css +0 -1
  393. package/cjs/components/TextField/variations/_view/base_18ea6z7.css +0 -1
  394. package/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js +0 -23
  395. package/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js.map +0 -1
  396. package/cjs/components/_Icon/Icons/IconDisclosureDownFill.js +0 -23
  397. package/cjs/components/_Icon/Icons/IconDisclosureDownFill.js.map +0 -1
  398. package/cjs/utils/datejs.js +0 -12
  399. package/cjs/utils/datejs.js.map +0 -1
  400. package/cjs/utils/getPopoverPlacement.js +0 -23
  401. package/cjs/utils/getPopoverPlacement.js.map +0 -1
  402. package/es/components/Calendar/ui/CalendarDayItem/CalendarDayItem.styles_107vqka.css +0 -4
  403. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_gnorek.css +0 -8
  404. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.styles_7jeg2n.css +0 -4
  405. package/es/components/Calendar/ui/CalendarYears/CalendarYears.styles_4z2ki7.css +0 -4
  406. package/es/components/DatePicker/DatePicker.tokens.js +0 -184
  407. package/es/components/DatePicker/DatePicker.tokens.js.map +0 -1
  408. package/es/components/DatePicker/DatePickerBase.styles.js +0 -26
  409. package/es/components/DatePicker/DatePickerBase.styles.js.map +0 -1
  410. package/es/components/DatePicker/DatePickerBase.styles_1thp2xv.css +0 -1
  411. package/es/components/DatePicker/RangeDate/RangeDate.css +0 -152
  412. package/es/components/DatePicker/RangeDate/RangeDate.js +0 -280
  413. package/es/components/DatePicker/RangeDate/RangeDate.js.map +0 -1
  414. package/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -43
  415. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +0 -1
  416. package/es/components/DatePicker/RangeDate/RangeDate.styles_ww61h9.css +0 -5
  417. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +0 -144
  418. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -79
  419. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +0 -1
  420. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +0 -37
  421. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +0 -1
  422. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_wp3vfj.css +0 -2
  423. package/es/components/DatePicker/RangeDate/variations/_disabled/base.js +0 -5
  424. package/es/components/DatePicker/RangeDate/variations/_disabled/base.js.map +0 -1
  425. package/es/components/DatePicker/RangeDate/variations/_disabled/base_tl4jc7.css +0 -1
  426. package/es/components/DatePicker/RangeDate/variations/_readonly/base.js +0 -5
  427. package/es/components/DatePicker/RangeDate/variations/_readonly/base.js.map +0 -1
  428. package/es/components/DatePicker/RangeDate/variations/_readonly/base_f58pkk.css +0 -1
  429. package/es/components/DatePicker/RangeDate/variations/_size/base.js +0 -5
  430. package/es/components/DatePicker/RangeDate/variations/_size/base.js.map +0 -1
  431. package/es/components/DatePicker/RangeDate/variations/_size/base_1911nyw.css +0 -1
  432. package/es/components/DatePicker/RangeDate/variations/_view/base.js +0 -5
  433. package/es/components/DatePicker/RangeDate/variations/_view/base.js.map +0 -1
  434. package/es/components/DatePicker/RangeDate/variations/_view/base_11yn9y8.css +0 -1
  435. package/es/components/DatePicker/SingleDate/SingleDate.css +0 -134
  436. package/es/components/DatePicker/SingleDate/SingleDate.js +0 -178
  437. package/es/components/DatePicker/SingleDate/SingleDate.js.map +0 -1
  438. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +0 -43
  439. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +0 -1
  440. package/es/components/DatePicker/SingleDate/SingleDate.styles_18b5qkz.css +0 -5
  441. package/es/components/DatePicker/SingleDate/variations/_disabled/base.js +0 -5
  442. package/es/components/DatePicker/SingleDate/variations/_disabled/base.js.map +0 -1
  443. package/es/components/DatePicker/SingleDate/variations/_disabled/base_1rfgfsz.css +0 -1
  444. package/es/components/DatePicker/SingleDate/variations/_readonly/base.js +0 -5
  445. package/es/components/DatePicker/SingleDate/variations/_readonly/base.js.map +0 -1
  446. package/es/components/DatePicker/SingleDate/variations/_readonly/base_1jucwp.css +0 -1
  447. package/es/components/DatePicker/SingleDate/variations/_size/base.js +0 -5
  448. package/es/components/DatePicker/SingleDate/variations/_size/base.js.map +0 -1
  449. package/es/components/DatePicker/SingleDate/variations/_size/base_lf7y25.css +0 -1
  450. package/es/components/DatePicker/SingleDate/variations/_view/base.js +0 -5
  451. package/es/components/DatePicker/SingleDate/variations/_view/base.js.map +0 -1
  452. package/es/components/DatePicker/SingleDate/variations/_view/base_15vaheb.css +0 -1
  453. package/es/components/DatePicker/hooks/useDatePicker.js +0 -75
  454. package/es/components/DatePicker/hooks/useDatePicker.js.map +0 -1
  455. package/es/components/DatePicker/utils/dateHelper.js +0 -76
  456. package/es/components/DatePicker/utils/dateHelper.js.map +0 -1
  457. package/es/components/Range/Range.styles_9rort8.css +0 -8
  458. package/es/components/TextField/variations/_read-only/base_1vu13zn.css +0 -1
  459. package/es/components/TextField/variations/_size/base_orwx1f.css +0 -1
  460. package/es/components/TextField/variations/_view/base_18ea6z7.css +0 -1
  461. package/es/components/_Icon/Icon.assets/DisclosureDownFill.js +0 -19
  462. package/es/components/_Icon/Icon.assets/DisclosureDownFill.js.map +0 -1
  463. package/es/components/_Icon/Icons/IconDisclosureDownFill.js +0 -19
  464. package/es/components/_Icon/Icons/IconDisclosureDownFill.js.map +0 -1
  465. package/es/utils/datejs.js +0 -8
  466. package/es/utils/datejs.js.map +0 -1
  467. package/es/utils/getPopoverPlacement.js +0 -18
  468. package/es/utils/getPopoverPlacement.js.map +0 -1
  469. package/styled-components/cjs/components/Calendar/mixins/active.js +0 -12
  470. package/styled-components/cjs/components/Calendar/mixins/flex.js +0 -8
  471. package/styled-components/cjs/components/Calendar/mixins/selected.js +0 -24
  472. package/styled-components/cjs/components/DatePicker/DatePicker.template-doc.mdx +0 -150
  473. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +0 -187
  474. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +0 -19
  475. package/styled-components/cjs/components/DatePicker/DatePickerBase.types.js +0 -5
  476. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.js +0 -293
  477. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -33
  478. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.types.js +0 -5
  479. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -81
  480. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +0 -26
  481. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.js +0 -5
  482. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_disabled/base.js +0 -9
  483. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_disabled/tokens.json +0 -0
  484. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +0 -10
  485. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_readonly/tokens.json +0 -4
  486. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_size/base.js +0 -10
  487. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_size/tokens.json +0 -0
  488. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_view/base.js +0 -10
  489. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_view/tokens.json +0 -0
  490. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.js +0 -190
  491. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +0 -33
  492. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.types.js +0 -5
  493. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_disabled/base.js +0 -9
  494. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_disabled/tokens.json +0 -4
  495. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +0 -10
  496. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/tokens.json +0 -4
  497. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/base.js +0 -10
  498. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/tokens.json +0 -16
  499. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/base.js +0 -10
  500. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/tokens.json +0 -1
  501. package/styled-components/cjs/components/DatePicker/hooks/useDatePicker.js +0 -77
  502. package/styled-components/cjs/components/DatePicker/index.js +0 -44
  503. package/styled-components/cjs/components/DatePicker/utils/dateHelper.js +0 -78
  504. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureDownFill.js +0 -22
  505. package/styled-components/cjs/components/_Icon/Icons/IconDisclosureDownFill.js +0 -22
  506. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +0 -31
  507. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.js +0 -13
  508. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -257
  509. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +0 -31
  510. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.js +0 -13
  511. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +0 -257
  512. package/styled-components/cjs/utils/datejs.js +0 -11
  513. package/styled-components/cjs/utils/getPopoverPlacement.js +0 -21
  514. package/styled-components/es/components/Calendar/mixins/active.js +0 -6
  515. package/styled-components/es/components/Calendar/mixins/flex.js +0 -2
  516. package/styled-components/es/components/Calendar/mixins/selected.js +0 -18
  517. package/styled-components/es/components/DatePicker/DatePicker.template-doc.mdx +0 -150
  518. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +0 -181
  519. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +0 -12
  520. package/styled-components/es/components/DatePicker/DatePickerBase.types.js +0 -1
  521. package/styled-components/es/components/DatePicker/RangeDate/RangeDate.js +0 -284
  522. package/styled-components/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -25
  523. package/styled-components/es/components/DatePicker/RangeDate/RangeDate.types.js +0 -1
  524. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -74
  525. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +0 -19
  526. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.js +0 -1
  527. package/styled-components/es/components/DatePicker/RangeDate/variations/_disabled/base.js +0 -3
  528. package/styled-components/es/components/DatePicker/RangeDate/variations/_disabled/tokens.json +0 -0
  529. package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/base.js +0 -4
  530. package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/tokens.json +0 -4
  531. package/styled-components/es/components/DatePicker/RangeDate/variations/_size/base.js +0 -4
  532. package/styled-components/es/components/DatePicker/RangeDate/variations/_size/tokens.json +0 -0
  533. package/styled-components/es/components/DatePicker/RangeDate/variations/_view/base.js +0 -4
  534. package/styled-components/es/components/DatePicker/RangeDate/variations/_view/tokens.json +0 -0
  535. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.js +0 -181
  536. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +0 -25
  537. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.types.js +0 -1
  538. package/styled-components/es/components/DatePicker/SingleDate/variations/_disabled/base.js +0 -3
  539. package/styled-components/es/components/DatePicker/SingleDate/variations/_disabled/tokens.json +0 -4
  540. package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/base.js +0 -4
  541. package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/tokens.json +0 -4
  542. package/styled-components/es/components/DatePicker/SingleDate/variations/_size/base.js +0 -4
  543. package/styled-components/es/components/DatePicker/SingleDate/variations/_size/tokens.json +0 -16
  544. package/styled-components/es/components/DatePicker/SingleDate/variations/_view/base.js +0 -4
  545. package/styled-components/es/components/DatePicker/SingleDate/variations/_view/tokens.json +0 -1
  546. package/styled-components/es/components/DatePicker/hooks/useDatePicker.js +0 -71
  547. package/styled-components/es/components/DatePicker/index.js +0 -3
  548. package/styled-components/es/components/DatePicker/utils/dateHelper.js +0 -72
  549. package/styled-components/es/components/_Icon/Icon.assets/DisclosureDownFill.js +0 -15
  550. package/styled-components/es/components/_Icon/Icons/IconDisclosureDownFill.js +0 -15
  551. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +0 -25
  552. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.js +0 -7
  553. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -257
  554. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +0 -25
  555. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.js +0 -7
  556. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +0 -257
  557. package/styled-components/es/utils/datejs.js +0 -4
  558. package/styled-components/es/utils/getPopoverPlacement.js +0 -15
  559. package/types/components/Calendar/mixins/active.d.ts +0 -17
  560. package/types/components/Calendar/mixins/active.d.ts.map +0 -1
  561. package/types/components/Calendar/mixins/flex.d.ts +0 -3
  562. package/types/components/Calendar/mixins/flex.d.ts.map +0 -1
  563. package/types/components/Calendar/mixins/selected.d.ts +0 -40
  564. package/types/components/Calendar/mixins/selected.d.ts.map +0 -1
  565. package/types/components/DatePicker/DatePicker.tokens.d.ts +0 -182
  566. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +0 -1
  567. package/types/components/DatePicker/DatePickerBase.styles.d.ts +0 -8
  568. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +0 -1
  569. package/types/components/DatePicker/DatePickerBase.types.d.ts +0 -37
  570. package/types/components/DatePicker/DatePickerBase.types.d.ts.map +0 -1
  571. package/types/components/DatePicker/RangeDate/RangeDate.d.ts +0 -110
  572. package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +0 -1
  573. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts +0 -115
  574. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts.map +0 -1
  575. package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts +0 -76
  576. package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts.map +0 -1
  577. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts +0 -4
  578. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts.map +0 -1
  579. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts +0 -5
  580. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.d.ts.map +0 -1
  581. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts +0 -29
  582. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts.map +0 -1
  583. package/types/components/DatePicker/RangeDate/variations/_disabled/base.d.ts +0 -2
  584. package/types/components/DatePicker/RangeDate/variations/_disabled/base.d.ts.map +0 -1
  585. package/types/components/DatePicker/RangeDate/variations/_readonly/base.d.ts +0 -2
  586. package/types/components/DatePicker/RangeDate/variations/_readonly/base.d.ts.map +0 -1
  587. package/types/components/DatePicker/RangeDate/variations/_size/base.d.ts +0 -2
  588. package/types/components/DatePicker/RangeDate/variations/_size/base.d.ts.map +0 -1
  589. package/types/components/DatePicker/RangeDate/variations/_view/base.d.ts +0 -2
  590. package/types/components/DatePicker/RangeDate/variations/_view/base.d.ts.map +0 -1
  591. package/types/components/DatePicker/SingleDate/SingleDate.d.ts +0 -31
  592. package/types/components/DatePicker/SingleDate/SingleDate.d.ts.map +0 -1
  593. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +0 -45
  594. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +0 -1
  595. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts +0 -120
  596. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts.map +0 -1
  597. package/types/components/DatePicker/SingleDate/variations/_disabled/base.d.ts +0 -2
  598. package/types/components/DatePicker/SingleDate/variations/_disabled/base.d.ts.map +0 -1
  599. package/types/components/DatePicker/SingleDate/variations/_readonly/base.d.ts +0 -2
  600. package/types/components/DatePicker/SingleDate/variations/_readonly/base.d.ts.map +0 -1
  601. package/types/components/DatePicker/SingleDate/variations/_size/base.d.ts +0 -2
  602. package/types/components/DatePicker/SingleDate/variations/_size/base.d.ts.map +0 -1
  603. package/types/components/DatePicker/SingleDate/variations/_view/base.d.ts +0 -2
  604. package/types/components/DatePicker/SingleDate/variations/_view/base.d.ts.map +0 -1
  605. package/types/components/DatePicker/hooks/useDatePicker.d.ts +0 -10
  606. package/types/components/DatePicker/hooks/useDatePicker.d.ts.map +0 -1
  607. package/types/components/DatePicker/index.d.ts +0 -6
  608. package/types/components/DatePicker/index.d.ts.map +0 -1
  609. package/types/components/DatePicker/utils/dateHelper.d.ts +0 -10
  610. package/types/components/DatePicker/utils/dateHelper.d.ts.map +0 -1
  611. package/types/components/_Icon/Icon.assets/DisclosureDownFill.d.ts +0 -4
  612. package/types/components/_Icon/Icon.assets/DisclosureDownFill.d.ts.map +0 -1
  613. package/types/components/_Icon/Icons/IconDisclosureDownFill.d.ts +0 -4
  614. package/types/components/_Icon/Icons/IconDisclosureDownFill.d.ts.map +0 -1
  615. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts +0 -24
  616. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts.map +0 -1
  617. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +0 -75
  618. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +0 -1
  619. package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts +0 -24
  620. package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts.map +0 -1
  621. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +0 -75
  622. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +0 -1
  623. package/types/utils/datejs.d.ts +0 -3
  624. package/types/utils/datejs.d.ts.map +0 -1
  625. package/types/utils/getPopoverPlacement.d.ts +0 -5
  626. package/types/utils/getPopoverPlacement.d.ts.map +0 -1
@@ -1,181 +0,0 @@
1
- var _excluded = ["className", "isOpen", "label", "placeholder", "leftHelper", "contentLeft", "contentRight", "textBefore", "textAfter", "view", "size", "readOnly", "disabled", "defaultDate", "valueError", "valueSuccess", "format", "maskWithFormat", "min", "max", "includeEdgeDates", "eventList", "disabledList", "type", "placement", "closeOnOverlayClick", "offset", "onChangeValue", "onCommitDate", "onToggle", "onFocus", "onBlur"];
2
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
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
- 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, { forwardRef, useCallback, useRef, useState } from 'react';
12
- import { cx, getPlacements } from '../../../utils';
13
- import { formatCalendarValue, formatInputValue, getDateFormatDelimiter } from '../utils/dateHelper';
14
- import { useDatePicker } from '../hooks/useDatePicker';
15
- import { classes } from '../DatePicker.tokens';
16
- import { StyledCalendar } from '../DatePickerBase.styles';
17
- import { base as sizeCSS } from './variations/_size/base';
18
- import { base as viewCSS } from './variations/_view/base';
19
- import { base as disabledCSS } from './variations/_disabled/base';
20
- import { base as readOnlyCSS } from './variations/_readonly/base';
21
- import { LeftHelper, StyledInput, StyledLabel, StyledPopover, base } from './SingleDate.styles';
22
- export var datePickerRoot = function datePickerRoot(Root) {
23
- return /*#__PURE__*/forwardRef(function (_ref, ref) {
24
- var className = _ref.className,
25
- _ref$isOpen = _ref.isOpen,
26
- isOpen = _ref$isOpen === void 0 ? false : _ref$isOpen,
27
- label = _ref.label,
28
- placeholder = _ref.placeholder,
29
- leftHelper = _ref.leftHelper,
30
- contentLeft = _ref.contentLeft,
31
- contentRight = _ref.contentRight,
32
- textBefore = _ref.textBefore,
33
- textAfter = _ref.textAfter,
34
- view = _ref.view,
35
- size = _ref.size,
36
- _ref$readOnly = _ref.readOnly,
37
- readOnly = _ref$readOnly === void 0 ? false : _ref$readOnly,
38
- _ref$disabled = _ref.disabled,
39
- disabled = _ref$disabled === void 0 ? false : _ref$disabled,
40
- _ref$defaultDate = _ref.defaultDate,
41
- defaultDate = _ref$defaultDate === void 0 ? '' : _ref$defaultDate,
42
- valueError = _ref.valueError,
43
- valueSuccess = _ref.valueSuccess,
44
- _ref$format = _ref.format,
45
- format = _ref$format === void 0 ? 'DD.MM.YYYY' : _ref$format,
46
- maskWithFormat = _ref.maskWithFormat,
47
- min = _ref.min,
48
- max = _ref.max,
49
- _ref$includeEdgeDates = _ref.includeEdgeDates,
50
- includeEdgeDates = _ref$includeEdgeDates === void 0 ? false : _ref$includeEdgeDates,
51
- eventList = _ref.eventList,
52
- disabledList = _ref.disabledList,
53
- _ref$type = _ref.type,
54
- type = _ref$type === void 0 ? 'Days' : _ref$type,
55
- _ref$placement = _ref.placement,
56
- placement = _ref$placement === void 0 ? ['top', 'bottom'] : _ref$placement,
57
- _ref$closeOnOverlayCl = _ref.closeOnOverlayClick,
58
- closeOnOverlayClick = _ref$closeOnOverlayCl === void 0 ? true : _ref$closeOnOverlayCl,
59
- offset = _ref.offset,
60
- onChangeValue = _ref.onChangeValue,
61
- onCommitDate = _ref.onCommitDate,
62
- onToggle = _ref.onToggle,
63
- onFocus = _ref.onFocus,
64
- onBlur = _ref.onBlur,
65
- rest = _objectWithoutProperties(_ref, _excluded);
66
- var inputRef = useRef(null);
67
- var _useState = useState(isOpen),
68
- _useState2 = _slicedToArray(_useState, 2),
69
- isInnerOpen = _useState2[0],
70
- setIsInnerOpen = _useState2[1];
71
- var _useState3 = useState(formatCalendarValue(defaultDate, format)),
72
- _useState4 = _slicedToArray(_useState3, 2),
73
- calendarValue = _useState4[0],
74
- setCalendarValue = _useState4[1];
75
- var _useState5 = useState(formatInputValue(defaultDate, format)),
76
- _useState6 = _slicedToArray(_useState5, 2),
77
- inputValue = _useState6[0],
78
- setInputValue = _useState6[1];
79
- var dateFormatDelimiter = useCallback(function () {
80
- return getDateFormatDelimiter(format);
81
- }, [format]);
82
- var _useDatePicker = useDatePicker({
83
- currentValue: inputValue,
84
- setInputValue: setInputValue,
85
- setCalendarValue: setCalendarValue,
86
- setIsInnerOpen: setIsInnerOpen,
87
- dateFormatDelimiter: dateFormatDelimiter,
88
- format: format,
89
- disabled: disabled,
90
- readOnly: readOnly,
91
- maskWithFormat: maskWithFormat,
92
- valueError: valueError,
93
- valueSuccess: valueSuccess,
94
- inputRef: inputRef,
95
- onToggle: onToggle,
96
- onChangeValue: onChangeValue,
97
- onCommitDate: onCommitDate
98
- }),
99
- datePickerErrorClass = _useDatePicker.datePickerErrorClass,
100
- datePickerSuccessClass = _useDatePicker.datePickerSuccessClass,
101
- handleToggle = _useDatePicker.handleToggle,
102
- handleChangeValue = _useDatePicker.handleChangeValue,
103
- handleCommitDate = _useDatePicker.handleCommitDate;
104
- var DatePickerInput = /*#__PURE__*/React.createElement(StyledInput, {
105
- ref: inputRef,
106
- className: cx(datePickerErrorClass, datePickerSuccessClass),
107
- value: inputValue,
108
- readOnly: readOnly,
109
- disabled: disabled,
110
- placeholder: placeholder,
111
- contentLeft: contentLeft,
112
- contentRight: contentRight,
113
- textBefore: textBefore,
114
- textAfter: textAfter,
115
- onChange: handleChangeValue,
116
- onSearch: function onSearch(date) {
117
- return handleCommitDate(date, true, false);
118
- },
119
- onFocus: onFocus,
120
- onBlur: onBlur
121
- });
122
- return /*#__PURE__*/React.createElement(Root, _extends({
123
- view: view,
124
- size: size,
125
- className: cx(classes.datePickerRoot, className),
126
- disabled: disabled,
127
- readOnly: !disabled && readOnly,
128
- ref: ref
129
- }, rest), label && /*#__PURE__*/React.createElement(StyledLabel, null, label), /*#__PURE__*/React.createElement(StyledPopover, {
130
- isOpen: isOpen || isInnerOpen,
131
- usePortal: false,
132
- onToggle: handleToggle,
133
- offset: offset,
134
- placement: getPlacements(placement),
135
- trigger: "click",
136
- closeOnOverlayClick: closeOnOverlayClick,
137
- isFocusTrapped: false,
138
- target: DatePickerInput,
139
- preventOverflow: false
140
- }, /*#__PURE__*/React.createElement(StyledCalendar, {
141
- size: size,
142
- value: calendarValue,
143
- type: type,
144
- eventList: eventList,
145
- disabledList: disabledList,
146
- min: min,
147
- max: max,
148
- includeEdgeDates: includeEdgeDates,
149
- isRange: false,
150
- onChangeValue: function onChangeValue(date) {
151
- return handleCommitDate(date, false, true);
152
- }
153
- })), leftHelper && /*#__PURE__*/React.createElement(LeftHelper, null, leftHelper));
154
- });
155
- };
156
- export var datePickerConfig = {
157
- name: 'DatePicker',
158
- tag: 'div',
159
- layout: datePickerRoot,
160
- base: base,
161
- variations: {
162
- view: {
163
- css: viewCSS
164
- },
165
- size: {
166
- css: sizeCSS
167
- },
168
- disabled: {
169
- css: disabledCSS,
170
- attrs: true
171
- },
172
- readOnly: {
173
- css: readOnlyCSS,
174
- attrs: true
175
- }
176
- },
177
- defaults: {
178
- size: 'm',
179
- view: 'default'
180
- }
181
- };
@@ -1,25 +0,0 @@
1
- import styled from 'styled-components';
2
- import { css } from 'styled-components';
3
- import { component, mergeConfig } from '../../../engines';
4
- import { textFieldConfig, textFieldTokens } from '../../TextField';
5
- import { classes, tokens } from '../DatePicker.tokens';
6
- import { popoverConfig } from '../../Popover';
7
- var mergedTextFieldConfig = /*#__PURE__*/mergeConfig(textFieldConfig);
8
- var TextField = /*#__PURE__*/component(mergedTextFieldConfig);
9
- var mergedPopoverConfig = /*#__PURE__*/mergeConfig(popoverConfig);
10
- var Popover = /*#__PURE__*/component(mergedPopoverConfig);
11
- export var StyledPopover = /*#__PURE__*/styled(Popover).withConfig({
12
- componentId: "plasma-new-hope__sc-1ye0xbz-0"
13
- })([""]);
14
-
15
- // NOTE: переопределение токенов TextField
16
- export var StyledInput = /*#__PURE__*/styled(TextField).withConfig({
17
- componentId: "plasma-new-hope__sc-1ye0xbz-1"
18
- })([" ", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}"], textFieldTokens.color, tokens.textFieldColor, textFieldTokens.placeholderColor, tokens.textFieldPlaceholderColor, textFieldTokens.caretColor, tokens.textFieldCaretColor, textFieldTokens.focusColor, tokens.textFieldFocusColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundColorFocus, textFieldTokens.borderColor, tokens.borderColor, textFieldTokens.borderColorHover, tokens.borderColorHover, textFieldTokens.borderColorFocus, tokens.borderColorFocus, textFieldTokens.colorReadOnly, tokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, tokens.textFieldBackgroundColorReadOnly, textFieldTokens.borderColorReadOnly, tokens.textFieldBorderColorReadOnly, textFieldTokens.placeholderColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, textFieldTokens.height, tokens.textFieldHeight, textFieldTokens.borderWidth, tokens.textFieldBorderWidth, textFieldTokens.borderRadius, tokens.textFieldBorderRadius, textFieldTokens.padding, tokens.textFieldPadding, textFieldTokens.leftContentMargin, tokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, tokens.textFieldRightContentMargin, textFieldTokens.fontFamily, tokens.textFieldFontFamily, textFieldTokens.fontSize, tokens.textFieldFontSize, textFieldTokens.fontStyle, tokens.textFieldFontStyle, textFieldTokens.fontWeight, tokens.textFieldFontWeight, textFieldTokens.letterSpacing, tokens.textFieldLetterSpacing, textFieldTokens.lineHeight, tokens.textFieldLineHeight, textFieldTokens.disabledOpacity, tokens.disabledOpacity, textFieldTokens.textBeforeColor, tokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, tokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, tokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, tokens.textFieldTextAfterMargin, classes.datePickerError, textFieldTokens.backgroundColor, tokens.textFieldBackgroundErrorColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundErrorColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundErrorColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorError, textFieldTokens.borderColorHover, tokens.textFieldBorderColorErrorHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorErrorFocus, classes.datePickerSuccess, textFieldTokens.backgroundColor, tokens.textFieldBackgroundSuccessColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundSuccessColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundSuccessColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorSuccess, textFieldTokens.borderColorHover, tokens.textFieldBorderColorSuccessHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorSuccessFocus);
19
- export var base = /*#__PURE__*/css(["display:inline-block;"]);
20
- export var StyledLabel = /*#__PURE__*/styled.label.withConfig({
21
- componentId: "plasma-new-hope__sc-1ye0xbz-2"
22
- })([""]);
23
- export var LeftHelper = /*#__PURE__*/styled.div.withConfig({
24
- componentId: "plasma-new-hope__sc-1ye0xbz-3"
25
- })([""]);
@@ -1,3 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { tokens } from '../../../DatePicker.tokens';
3
- export var base = /*#__PURE__*/css(["&[disabled]{opacity:var(", ");cursor:not-allowed;}"], tokens.disabledOpacity);
@@ -1,4 +0,0 @@
1
- {
2
- "type": "boolean",
3
- "tokens": ["--plasma-date-picker-disabled-opacity"]
4
- }
@@ -1,4 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { tokens } from '../../../DatePicker.tokens';
3
- import { LeftHelper, StyledLabel } from '../../SingleDate.styles';
4
- export var base = /*#__PURE__*/css(["&[readonly]{cursor:default;", "{display:block;color:var(", ");}", "{color:var(", ");}}"], StyledLabel, tokens.labelColorReadOnly, LeftHelper, tokens.leftHelperColorReadOnly);
@@ -1,4 +0,0 @@
1
- {
2
- "type": "boolean",
3
- "tokens": ["--plasma-date-picker__label-color-readonly", "--plasma-date-picker__left-helper-color-readonly"]
4
- }
@@ -1,4 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { tokens } from '../../../DatePicker.tokens';
3
- import { StyledLabel, LeftHelper } from '../../SingleDate.styles';
4
- export var base = /*#__PURE__*/css(["width:var(", ");", "{margin:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}"], tokens.width, StyledLabel, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, LeftHelper, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight);
@@ -1,16 +0,0 @@
1
- [
2
- "--plasma-date-picker__label-offset",
3
- "--plasma-date-picker__label-font-family",
4
- "--plasma-date-picker__label-font-style",
5
- "--plasma-date-picker__label-font-size",
6
- "--plasma-date-picker__label-font-weight",
7
- "--plasma-date-picker__label-letter-spacing",
8
- "--plasma-date-picker__label-line-height",
9
- "--plasma-date-picker__left-helper-offset",
10
- "--plasma-date-picker__left-helper-font-family",
11
- "--plasma-date-picker__left-helper-font-style",
12
- "--plasma-date-picker__left-helper-font-size",
13
- "--plasma-date-picker__left-helper-font-weight",
14
- "--plasma-date-picker__left-helper-letter-spacing",
15
- "--plasma-date-picker__left-helper-line-height"
16
- ]
@@ -1,4 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { LeftHelper, StyledLabel } from '../../SingleDate.styles';
3
- import { tokens } from '../../../DatePicker.tokens';
4
- export var base = /*#__PURE__*/css(["", "{display:block;color:var(", ");}", "{color:var(", ");}"], StyledLabel, tokens.labelColor, LeftHelper, tokens.leftHelperColor);
@@ -1 +0,0 @@
1
- ["--plasma-datepicker__label-color", "--plasma-datepicker__left-helper-color"]
@@ -1,71 +0,0 @@
1
- import { classes } from '../DatePicker.tokens';
2
- import { formatCalendarValue, formatInputValue, getDateFromFormat, getMaskedDateOnInput } from '../utils/dateHelper';
3
- export var useDatePicker = function useDatePicker(_ref) {
4
- var currentValue = _ref.currentValue,
5
- setInputValue = _ref.setInputValue,
6
- setCalendarValue = _ref.setCalendarValue,
7
- setIsInnerOpen = _ref.setIsInnerOpen,
8
- dateFormatDelimiter = _ref.dateFormatDelimiter,
9
- format = _ref.format,
10
- disabled = _ref.disabled,
11
- readOnly = _ref.readOnly,
12
- maskWithFormat = _ref.maskWithFormat,
13
- valueError = _ref.valueError,
14
- valueSuccess = _ref.valueSuccess,
15
- inputRef = _ref.inputRef,
16
- onToggle = _ref.onToggle,
17
- onChangeValue = _ref.onChangeValue,
18
- onCommitDate = _ref.onCommitDate;
19
- var datePickerErrorClass = valueError ? classes.datePickerError : undefined;
20
- var datePickerSuccessClass = valueSuccess ? classes.datePickerSuccess : undefined;
21
- var handleToggle = function handleToggle(opened, event) {
22
- if (disabled || readOnly) {
23
- return;
24
- }
25
- var isCalendarOpen = event.target === (inputRef === null || inputRef === void 0 ? void 0 : inputRef.current) ? true : opened;
26
- if (onToggle) {
27
- return onToggle(isCalendarOpen, event);
28
- }
29
- setIsInnerOpen(isCalendarOpen);
30
- };
31
- var handleChangeValue = function handleChangeValue(event) {
32
- if (disabled || readOnly) {
33
- return;
34
- }
35
- var value = event.target.value;
36
- var newValue = maskWithFormat ? getMaskedDateOnInput(value, format, dateFormatDelimiter(), currentValue) : value;
37
- setCalendarValue(formatCalendarValue(newValue, format));
38
- setInputValue(formatInputValue(newValue, format));
39
- onChangeValue === null || onChangeValue === void 0 || onChangeValue(event, newValue);
40
- };
41
- var handleCommitDate = function handleCommitDate(date, applyFormat, isCalendarValue) {
42
- if (disabled || readOnly) {
43
- return;
44
- }
45
- if (!date) {
46
- setCalendarValue(undefined);
47
- setInputValue('');
48
- return onCommitDate === null || onCommitDate === void 0 ? void 0 : onCommitDate('', false, true);
49
- }
50
- if (isCalendarValue) {
51
- setCalendarValue(formatCalendarValue(date, format));
52
- setInputValue(formatInputValue(date, format));
53
- return onCommitDate === null || onCommitDate === void 0 ? void 0 : onCommitDate(date, false, true);
54
- }
55
- var formatString = applyFormat ? format : undefined;
56
- var _getDateFromFormat = getDateFromFormat(date, formatString),
57
- newDate = _getDateFromFormat.value,
58
- isError = _getDateFromFormat.isError,
59
- isSuccess = _getDateFromFormat.isSuccess;
60
- setCalendarValue(formatCalendarValue(newDate, format));
61
- setInputValue(formatInputValue(newDate, format));
62
- onCommitDate === null || onCommitDate === void 0 || onCommitDate(newDate, isError, isSuccess);
63
- };
64
- return {
65
- datePickerErrorClass: datePickerErrorClass,
66
- datePickerSuccessClass: datePickerSuccessClass,
67
- handleToggle: handleToggle,
68
- handleChangeValue: handleChangeValue,
69
- handleCommitDate: handleCommitDate
70
- };
71
- };
@@ -1,3 +0,0 @@
1
- export { datePickerRoot, datePickerConfig } from './SingleDate/SingleDate';
2
- export { datePickerRangeRoot, datePickerRangeConfig } from './RangeDate/RangeDate';
3
- export { classes as datePickerClasses, tokens as datePickerTokens } from './DatePicker.tokens';
@@ -1,72 +0,0 @@
1
- import { customDayjs } from '../../../utils/datejs';
2
- export var formatInputValue = function formatInputValue(value, format) {
3
- if (!value) {
4
- return '';
5
- }
6
- if (format && customDayjs(value, format, true).isValid()) {
7
- return customDayjs(value, format).format(format);
8
- }
9
- if (format && String(value).length >= 10 && String(new Date(value)) !== 'Invalid Date') {
10
- return customDayjs(value).format(format);
11
- }
12
- return String(value);
13
- };
14
- export var formatCalendarValue = function formatCalendarValue(value, format) {
15
- if (!value) {
16
- return undefined;
17
- }
18
- if (format && customDayjs(value, format, true).isValid()) {
19
- return customDayjs(value, format, true).toDate();
20
- }
21
- if (String(new Date(value)) !== 'Invalid Date') {
22
- return customDayjs(value).toDate();
23
- }
24
- return undefined;
25
- };
26
- export var getDateFromFormat = function getDateFromFormat(value, format) {
27
- if (format && customDayjs(value, format, true).isValid()) {
28
- return {
29
- value: customDayjs(value, format, true).toDate(),
30
- isError: false,
31
- isSuccess: true
32
- };
33
- }
34
- if (!format && String(new Date(value)) !== 'Invalid Date') {
35
- return {
36
- value: customDayjs(value).toDate(),
37
- isError: false,
38
- isSuccess: true
39
- };
40
- }
41
- return {
42
- value: value,
43
- isError: true,
44
- isSuccess: false
45
- };
46
- };
47
- export var getDateFormatDelimiter = function getDateFormatDelimiter(format) {
48
- var _format$match;
49
- if (!format) {
50
- return '';
51
- }
52
- var delimiter = (_format$match = format.match(/[^a-zA-Z0-9]/)) === null || _format$match === void 0 ? void 0 : _format$match[0];
53
- return delimiter !== null && delimiter !== void 0 ? delimiter : '';
54
- };
55
- export var getMaskedDateOnInput = function getMaskedDateOnInput(value, format, delimiter, prevValue) {
56
- if (!value) {
57
- return '';
58
- }
59
- if (!format || !delimiter) {
60
- return value;
61
- }
62
- if (value.length >= format.length) {
63
- return value.slice(0, format.length);
64
- }
65
- if (prevValue && value.length < prevValue.length && (prevValue === null || prevValue === void 0 ? void 0 : prevValue[value.length]) === delimiter) {
66
- return value.slice(0, -1);
67
- }
68
- if ((format === null || format === void 0 ? void 0 : format[value.length]) === delimiter) {
69
- return value + delimiter;
70
- }
71
- return value;
72
- };
@@ -1,15 +0,0 @@
1
- var _path;
2
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
- import React from 'react';
4
- export var DisclosureDownFill = function DisclosureDownFill(props) {
5
- return /*#__PURE__*/React.createElement("svg", _extends({
6
- width: "100%",
7
- viewBox: "0 0 24 24",
8
- fill: "none"
9
- }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
10
- fillRule: "evenodd",
11
- clipRule: "evenodd",
12
- d: "M17.1814 9.43661C17.059 9.17051 16.7929 9 16.5 9H7.50001C7.20711 9 6.94102 9.17051 6.81863 9.43661C6.69624 9.70271 6.73995 10.0157 6.93057 10.2381L11.4306 15.4881C11.5731 15.6543 11.7811 15.75 12 15.75C12.219 15.75 12.427 15.6543 12.5695 15.4881L17.0695 10.2381C17.2601 10.0157 17.3038 9.70271 17.1814 9.43661Z",
13
- fill: "currentColor"
14
- })));
15
- };
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import { DisclosureDownFill } from '../Icon.assets/DisclosureDownFill';
3
- import { IconRoot } from '../IconRoot';
4
- export var IconDisclosureDownFill = function IconDisclosureDownFill(_ref) {
5
- var _ref$size = _ref.size,
6
- size = _ref$size === void 0 ? 's' : _ref$size,
7
- color = _ref.color,
8
- className = _ref.className;
9
- return /*#__PURE__*/React.createElement(IconRoot, {
10
- className: className,
11
- size: size,
12
- color: color,
13
- icon: DisclosureDownFill
14
- });
15
- };
@@ -1,25 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { datePickerTokens as tokens } from '../../../../components/DatePicker';
3
- export var config = {
4
- defaults: {
5
- view: 'default',
6
- size: 'm'
7
- },
8
- variations: {
9
- view: {
10
- "default": /*#__PURE__*/css(["", ":var(--surface-transparent-primary);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-positive);", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-accent);", ":var(--surface-transparent-secondary);", ":var(--surface-transparent-secondary);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative-active);", ":var(--surface-transparent-positive);", ":var(--surface-transparent-positive-active);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-accent);", ":var(--shadow-down-soft-s);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-card);", ":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-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], tokens.background, tokens.backgroundError, tokens.backgroundSuccess, tokens.dividerColor, tokens.labelColor, tokens.leftHelperColor, tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldCaretColor, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldBackgroundErrorColor, tokens.textFieldBackgroundErrorColorFocus, tokens.textFieldBackgroundSuccessColor, tokens.textFieldBackgroundSuccessColorFocus, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.focusColor, tokens.calendarShadow, tokens.calendarSeparatorBackground, tokens.calendarBackgroundColor, tokens.calendarSelectedItemBackground, tokens.calendarSelectedItemColor, tokens.calendarSelectableItemBackgroundHover, tokens.calendarCurrentItemBorderColor, tokens.calendarCurrentItemBackgroundHover, tokens.calendarCurrentItemColorHover, tokens.calendarCurrentItemChildBackgroundHover, tokens.calendarActiveItemBackground, tokens.calendarActiveItemColor, tokens.calendarHoveredItemBackground, tokens.calendarHoveredItemColor, tokens.calendarRangeBackground, tokens.calendarOutlineFocusColor, tokens.calendarContentPrimaryColor, tokens.calendarContentSecondaryColor, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.iconButtonBackgroundColorActive, tokens.iconButtonFocusColor)
11
- },
12
- size: {
13
- l: /*#__PURE__*/css(["", ":26.5rem;", ":0.875rem;", ":0 0.375rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0 0 0 1rem;", ":0;", ":0 0 0.75rem 0;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":3.5rem;", ":0.875rem;", ":1.0625rem 1.125rem 1.0625rem 1.125rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.25rem 0 0 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":-0.0625rem 0.5rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":0.875rem;", ":26.5rem;", ":0.5rem 1rem 1.125rem 1rem;", ":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 1rem 1.125rem 1rem;", ":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 1rem 1.125rem 1rem;", ":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.875rem 1rem 0 1rem;", ":0.5rem;", ":0 0 0 1rem;", ":0.5rem;", ":var(--plasma-typo-h3-font-family);", ":var(--plasma-typo-h3-font-size);", ":var(--plasma-typo-h3-font-style);", ":var(--plasma-typo-h3-letter-spacing);", ":var(--plasma-typo-h3-line-height);", ":var(--plasma-typo-h3-font-weight);", ":var(--plasma-typo-h3-bold-font-weight);", ":3.5rem;", ":3.5rem;", ":1.5rem;", ":0.875rem;"], tokens.width, tokens.borderRadius, tokens.dividerPadding, tokens.dividerFontFamily, tokens.dividerFontStyle, tokens.dividerFontSize, tokens.dividerFontWeight, tokens.dividerLetterSpacing, tokens.dividerLineHeight, tokens.leftContentMargin, tokens.rightContentMargin, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontStyle, tokens.labelFontSize, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.textFieldHeight, tokens.textFieldBorderRadius, tokens.textFieldPadding, tokens.textFieldFontFamily, tokens.textFieldFontStyle, tokens.textFieldFontSize, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontStyle, tokens.leftHelperFontSize, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.calendarBorderRadius, tokens.calendarWidth, tokens.calendarYearsPadding, tokens.calendarYearItemBorderRadius, tokens.calendarYearItemWidth, tokens.calendarYearItemHeight, tokens.calendarYearFontFamily, tokens.calendarYearFontSize, tokens.calendarYearFontStyle, tokens.calendarYearFontLetterSpacing, tokens.calendarYearFontLineHeight, tokens.calendarYearFontWeight, tokens.calendarYearSelectedFontWeight, tokens.calendarMonthsPadding, tokens.calendarMonthItemBorderRadius, tokens.calendarMonthItemWidth, tokens.calendarMonthItemHeight, tokens.calendarMonthFontFamily, tokens.calendarMonthFontSize, tokens.calendarMonthFontStyle, tokens.calendarMonthFontLetterSpacing, tokens.calendarMonthFontLineHeight, tokens.calendarMonthFontWeight, tokens.calendarMonthSelectedFontWeight, tokens.calendarDaysPadding, tokens.calendarDayItemBorderRadius, tokens.calendarDayItemWidth, tokens.calendarDayItemHeight, tokens.calendarDayFontFamily, tokens.calendarDayFontSize, tokens.calendarDayFontStyle, tokens.calendarDayFontLetterSpacing, tokens.calendarDayFontLineHeight, tokens.calendarDayFontWeight, tokens.calendarDaySelectedFontWeight, tokens.calendarHeaderWrapperPadding, tokens.calendarHeaderArrowGap, tokens.calendarHeaderPadding, tokens.calendarHeaderDateGap, tokens.calendarHeaderFontFamily, tokens.calendarHeaderFontSize, tokens.calendarHeaderFontStyle, tokens.calendarHeaderFontLetterSpacing, tokens.calendarHeaderFontLineHeight, tokens.calendarHeaderFontWeight, tokens.calendarHeaderFontWeightBold, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonRadius),
14
- m: /*#__PURE__*/css(["", ":23rem;", ":0.75rem;", ":0 0.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0 0 0 0.875rem;", ":0;", ":0 0 0.625rem 0;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":3rem;", ":0.75rem;", ":0.875rem 1rem 0.875rem 1rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.25rem 0 0 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":-0.125rem 0.375rem -0.125rem -0.125rem;", ":-0.125rem -0.125rem -0.125rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":23rem;", ":0.875rem;", ":0.5rem 1rem 1.125rem 1rem;", ":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 1rem 1.125rem 1rem;", ":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 1rem 1.125rem 1rem;", ":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.75rem 1rem 0 1rem;", ":0.5rem;", ":0 0 0 0.875rem;", ":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;"], tokens.width, tokens.borderRadius, tokens.dividerPadding, tokens.dividerFontFamily, tokens.dividerFontStyle, tokens.dividerFontSize, tokens.dividerFontWeight, tokens.dividerLetterSpacing, tokens.dividerLineHeight, tokens.leftContentMargin, tokens.rightContentMargin, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontStyle, tokens.labelFontSize, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.textFieldHeight, tokens.textFieldBorderRadius, tokens.textFieldPadding, tokens.textFieldFontFamily, tokens.textFieldFontStyle, tokens.textFieldFontSize, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontStyle, tokens.leftHelperFontSize, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.calendarWidth, tokens.calendarBorderRadius, tokens.calendarYearsPadding, tokens.calendarYearItemBorderRadius, tokens.calendarYearItemWidth, tokens.calendarYearItemHeight, tokens.calendarYearFontFamily, tokens.calendarYearFontSize, tokens.calendarYearFontStyle, tokens.calendarYearFontLetterSpacing, tokens.calendarYearFontLineHeight, tokens.calendarYearFontWeight, tokens.calendarYearSelectedFontWeight, tokens.calendarMonthsPadding, tokens.calendarMonthItemBorderRadius, tokens.calendarMonthItemWidth, tokens.calendarMonthItemHeight, tokens.calendarMonthFontFamily, tokens.calendarMonthFontSize, tokens.calendarMonthFontStyle, tokens.calendarMonthFontLetterSpacing, tokens.calendarMonthFontLineHeight, tokens.calendarMonthFontWeight, tokens.calendarMonthSelectedFontWeight, tokens.calendarDaysPadding, tokens.calendarDayItemBorderRadius, tokens.calendarDayItemWidth, tokens.calendarDayItemHeight, tokens.calendarDayFontFamily, tokens.calendarDayFontSize, tokens.calendarDayFontStyle, tokens.calendarDayFontLetterSpacing, tokens.calendarDayFontLineHeight, tokens.calendarDayFontWeight, tokens.calendarDaySelectedFontWeight, tokens.calendarHeaderWrapperPadding, tokens.calendarHeaderArrowGap, tokens.calendarHeaderPadding, tokens.calendarHeaderDateGap, tokens.calendarHeaderFontFamily, tokens.calendarHeaderFontSize, tokens.calendarHeaderFontStyle, tokens.calendarHeaderFontLetterSpacing, tokens.calendarHeaderFontLineHeight, tokens.calendarHeaderFontWeight, tokens.calendarHeaderFontWeightBold, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonRadius),
15
- s: /*#__PURE__*/css(["", ":19.5rem;", ":0.625rem;", ":0 0.375rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0 0 0 0.75rem;", ":0;", ":0 0 0.5rem 0;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":2.5rem;", ":0.625rem;", ":0.6875rem 0.875rem 0.6875rem 0.875rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.25rem 0 0 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":-0.1875rem 0.25rem -0.1875rem -0.125rem;", ":-0.1875rem -0.125rem -0.1875rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":19.5rem;", ":0.875rem;", ":0.5rem 1rem 0.875rem 1rem;", ":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 1rem 0.875rem 1rem;", ":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 1rem 0.875rem 1rem;", ":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.75rem 1rem 0 1rem;", ":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);", ":2rem;", ":2rem;", ":0.75rem;", ":0.5rem;"], tokens.width, tokens.borderRadius, tokens.dividerPadding, tokens.dividerFontFamily, tokens.dividerFontStyle, tokens.dividerFontSize, tokens.dividerFontWeight, tokens.dividerLetterSpacing, tokens.dividerLineHeight, tokens.leftContentMargin, tokens.rightContentMargin, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontStyle, tokens.labelFontSize, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.textFieldHeight, tokens.textFieldBorderRadius, tokens.textFieldPadding, tokens.textFieldFontFamily, tokens.textFieldFontStyle, tokens.textFieldFontSize, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontStyle, tokens.leftHelperFontSize, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.calendarWidth, tokens.calendarBorderRadius, tokens.calendarYearsPadding, tokens.calendarYearItemBorderRadius, tokens.calendarYearItemWidth, tokens.calendarYearItemHeight, tokens.calendarYearFontFamily, tokens.calendarYearFontSize, tokens.calendarYearFontStyle, tokens.calendarYearFontLetterSpacing, tokens.calendarYearFontLineHeight, tokens.calendarYearFontWeight, tokens.calendarYearSelectedFontWeight, tokens.calendarMonthsPadding, tokens.calendarMonthItemBorderRadius, tokens.calendarMonthItemWidth, tokens.calendarMonthItemHeight, tokens.calendarMonthFontFamily, tokens.calendarMonthFontSize, tokens.calendarMonthFontStyle, tokens.calendarMonthFontLetterSpacing, tokens.calendarMonthFontLineHeight, tokens.calendarMonthFontWeight, tokens.calendarMonthSelectedFontWeight, tokens.calendarDaysPadding, tokens.calendarDayItemBorderRadius, tokens.calendarDayItemWidth, tokens.calendarDayItemHeight, tokens.calendarDayFontFamily, tokens.calendarDayFontSize, tokens.calendarDayFontStyle, tokens.calendarDayFontLetterSpacing, tokens.calendarDayFontLineHeight, tokens.calendarDayFontWeight, tokens.calendarDaySelectedFontWeight, tokens.calendarHeaderWrapperPadding, tokens.calendarHeaderArrowGap, tokens.calendarHeaderPadding, tokens.calendarHeaderDateGap, tokens.calendarHeaderFontFamily, tokens.calendarHeaderFontSize, tokens.calendarHeaderFontStyle, tokens.calendarHeaderFontLetterSpacing, tokens.calendarHeaderFontLineHeight, tokens.calendarHeaderFontWeight, tokens.calendarHeaderFontWeightBold, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonRadius),
16
- xs: /*#__PURE__*/css(["", ":19rem;", ":0.5rem;", ":0 0.375rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0 0 0 0.5rem;", ":0;", ":0 0 0.375rem 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":2rem;", ":0.5rem;", ":0.5625rem 0.625rem 0.5625rem 0.625rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.25rem 0 0 0;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":-0.0625rem 0.25rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":19rem;", ":0.5rem;", ":0.5rem 0.75rem 0.625rem 0.75rem;", ":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.5rem 0.75rem 0.625rem 0.75rem;", ":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.75rem 0.625rem 0.75rem;", ":0.375rem;", ":2.5rem;", ":2rem;", ":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.5rem 0.75rem 0 0.75rem;", ":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;"], tokens.width, tokens.borderRadius, tokens.dividerPadding, tokens.dividerFontFamily, tokens.dividerFontStyle, tokens.dividerFontSize, tokens.dividerFontWeight, tokens.dividerLetterSpacing, tokens.dividerLineHeight, tokens.leftContentMargin, tokens.rightContentMargin, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontStyle, tokens.labelFontSize, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.textFieldHeight, tokens.textFieldBorderRadius, tokens.textFieldPadding, tokens.textFieldFontFamily, tokens.textFieldFontStyle, tokens.textFieldFontSize, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontStyle, tokens.leftHelperFontSize, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.calendarWidth, tokens.calendarBorderRadius, tokens.calendarYearsPadding, tokens.calendarYearItemBorderRadius, tokens.calendarYearItemWidth, tokens.calendarYearItemHeight, tokens.calendarYearFontFamily, tokens.calendarYearFontSize, tokens.calendarYearFontStyle, tokens.calendarYearFontLetterSpacing, tokens.calendarYearFontLineHeight, tokens.calendarYearFontWeight, tokens.calendarYearSelectedFontWeight, tokens.calendarMonthsPadding, tokens.calendarMonthItemBorderRadius, tokens.calendarMonthItemWidth, tokens.calendarMonthItemHeight, tokens.calendarMonthFontFamily, tokens.calendarMonthFontSize, tokens.calendarMonthFontStyle, tokens.calendarMonthFontLetterSpacing, tokens.calendarMonthFontLineHeight, tokens.calendarMonthFontWeight, tokens.calendarMonthSelectedFontWeight, tokens.calendarDaysPadding, tokens.calendarDayItemBorderRadius, tokens.calendarDayItemWidth, tokens.calendarDayItemHeight, tokens.calendarDayFontFamily, tokens.calendarDayFontSize, tokens.calendarDayFontStyle, tokens.calendarDayFontLetterSpacing, tokens.calendarDayFontLineHeight, tokens.calendarDayFontWeight, tokens.calendarDaySelectedFontWeight, tokens.calendarHeaderWrapperPadding, tokens.calendarHeaderArrowGap, tokens.calendarHeaderPadding, tokens.calendarHeaderDateGap, tokens.calendarHeaderFontFamily, tokens.calendarHeaderFontSize, tokens.calendarHeaderFontStyle, tokens.calendarHeaderFontLetterSpacing, tokens.calendarHeaderFontLineHeight, tokens.calendarHeaderFontWeight, tokens.calendarHeaderFontWeightBold, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonRadius)
17
- },
18
- disabled: {
19
- "true": /*#__PURE__*/css(["", ":0.4;"], tokens.disabledOpacity)
20
- },
21
- readOnly: {
22
- "true": /*#__PURE__*/css(["", ":var(--surface-transparent-primary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--surface-transparent-primary);", ":var(--text-secondary);"], tokens.backgroundReadOnly, tokens.labelColorReadOnly, tokens.leftHelperColorReadOnly, tokens.dividerColorReadOnly, tokens.textFieldColorReadOnly, tokens.textFieldBackgroundColorReadOnly, tokens.textFieldPlaceholderColorReadOnly)
23
- }
24
- }
25
- };
@@ -1,7 +0,0 @@
1
- import { component, mergeConfig } from '../../../../engines';
2
- import { datePickerConfig, datePickerRangeConfig } from '../../../../components/DatePicker';
3
- import { config } from './DatePicker.config';
4
- var mergedConfig = /*#__PURE__*/mergeConfig(datePickerConfig, config);
5
- export var DatePicker = /*#__PURE__*/component(mergedConfig);
6
- var mergedRangeConfig = /*#__PURE__*/mergeConfig(datePickerRangeConfig, config);
7
- export var DatePickerRange = /*#__PURE__*/component(mergedRangeConfig);