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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +5 -0
  2. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  3. package/cjs/components/DatePicker/RangeDate/{DatePicker.css → RangeDate.css} +5 -5
  4. package/cjs/components/DatePicker/RangeDate/{DatePicker.js → RangeDate.js} +6 -6
  5. package/cjs/components/DatePicker/RangeDate/RangeDate.js.map +1 -0
  6. package/cjs/components/DatePicker/RangeDate/{DatePicker.styles.js → RangeDate.styles.js} +7 -7
  7. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -0
  8. package/cjs/components/DatePicker/RangeDate/{DatePicker.styles_6cvsgx.css → RangeDate.styles_ww61h9.css} +2 -2
  9. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +2 -2
  10. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +3 -3
  11. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  12. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +1 -1
  13. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js.map +1 -1
  14. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base_f58pkk.css +1 -0
  15. package/cjs/components/DatePicker/RangeDate/variations/_size/base.js +1 -1
  16. package/cjs/components/DatePicker/RangeDate/variations/_size/base.js.map +1 -1
  17. package/cjs/components/DatePicker/RangeDate/variations/_size/base_1911nyw.css +1 -0
  18. package/cjs/components/DatePicker/RangeDate/variations/_view/base.js +1 -1
  19. package/cjs/components/DatePicker/RangeDate/variations/_view/base.js.map +1 -1
  20. package/cjs/components/DatePicker/RangeDate/variations/_view/base_11yn9y8.css +1 -0
  21. package/cjs/components/DatePicker/SingleDate/{DatePicker.css → SingleDate.css} +5 -5
  22. package/cjs/components/DatePicker/SingleDate/{DatePicker.js → SingleDate.js} +6 -6
  23. package/cjs/components/DatePicker/SingleDate/{DatePicker.js.map → SingleDate.js.map} +1 -1
  24. package/cjs/components/DatePicker/SingleDate/{DatePicker.styles.js → SingleDate.styles.js} +7 -7
  25. package/cjs/components/DatePicker/SingleDate/{DatePicker.styles.js.map → SingleDate.styles.js.map} +1 -1
  26. package/{es/components/DatePicker/SingleDate/DatePicker.styles_1reoff2.css → cjs/components/DatePicker/SingleDate/SingleDate.styles_18b5qkz.css} +2 -2
  27. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +1 -1
  28. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js.map +1 -1
  29. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base_1jucwp.css +1 -0
  30. package/cjs/components/DatePicker/SingleDate/variations/_size/base.js +1 -1
  31. package/cjs/components/DatePicker/SingleDate/variations/_size/base.js.map +1 -1
  32. package/cjs/components/DatePicker/SingleDate/variations/_size/base_lf7y25.css +1 -0
  33. package/cjs/components/DatePicker/SingleDate/variations/_view/base.js +1 -1
  34. package/cjs/components/DatePicker/SingleDate/variations/_view/base.js.map +1 -1
  35. package/cjs/components/DatePicker/SingleDate/variations/_view/base_15vaheb.css +1 -0
  36. package/cjs/components/Dropdown/Dropdown.js +2 -1
  37. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  38. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +8 -4
  39. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  40. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +6 -5
  41. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  42. package/cjs/index.css +10 -10
  43. package/cjs/index.js +6 -6
  44. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +6 -1
  45. package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  46. package/es/components/DatePicker/RangeDate/{DatePicker.css → RangeDate.css} +5 -5
  47. package/es/components/DatePicker/RangeDate/{DatePicker.js → RangeDate.js} +2 -2
  48. package/es/components/DatePicker/RangeDate/RangeDate.js.map +1 -0
  49. package/es/components/DatePicker/RangeDate/{DatePicker.styles.js → RangeDate.styles.js} +7 -7
  50. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -0
  51. package/es/components/DatePicker/RangeDate/{DatePicker.styles_6cvsgx.css → RangeDate.styles_ww61h9.css} +2 -2
  52. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +2 -2
  53. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -1
  54. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  55. package/es/components/DatePicker/RangeDate/variations/_readonly/base.js +1 -1
  56. package/es/components/DatePicker/RangeDate/variations/_readonly/base.js.map +1 -1
  57. package/es/components/DatePicker/RangeDate/variations/_readonly/base_f58pkk.css +1 -0
  58. package/es/components/DatePicker/RangeDate/variations/_size/base.js +1 -1
  59. package/es/components/DatePicker/RangeDate/variations/_size/base.js.map +1 -1
  60. package/es/components/DatePicker/RangeDate/variations/_size/base_1911nyw.css +1 -0
  61. package/es/components/DatePicker/RangeDate/variations/_view/base.js +1 -1
  62. package/es/components/DatePicker/RangeDate/variations/_view/base.js.map +1 -1
  63. package/es/components/DatePicker/RangeDate/variations/_view/base_11yn9y8.css +1 -0
  64. package/es/components/DatePicker/SingleDate/{DatePicker.css → SingleDate.css} +5 -5
  65. package/es/components/DatePicker/SingleDate/{DatePicker.js → SingleDate.js} +2 -2
  66. package/es/components/DatePicker/SingleDate/{DatePicker.js.map → SingleDate.js.map} +1 -1
  67. package/es/components/DatePicker/SingleDate/{DatePicker.styles.js → SingleDate.styles.js} +7 -7
  68. package/es/components/DatePicker/SingleDate/{DatePicker.styles.js.map → SingleDate.styles.js.map} +1 -1
  69. package/{cjs/components/DatePicker/SingleDate/DatePicker.styles_1reoff2.css → es/components/DatePicker/SingleDate/SingleDate.styles_18b5qkz.css} +2 -2
  70. package/es/components/DatePicker/SingleDate/variations/_readonly/base.js +1 -1
  71. package/es/components/DatePicker/SingleDate/variations/_readonly/base.js.map +1 -1
  72. package/es/components/DatePicker/SingleDate/variations/_readonly/base_1jucwp.css +1 -0
  73. package/es/components/DatePicker/SingleDate/variations/_size/base.js +1 -1
  74. package/es/components/DatePicker/SingleDate/variations/_size/base.js.map +1 -1
  75. package/es/components/DatePicker/SingleDate/variations/_size/base_lf7y25.css +1 -0
  76. package/es/components/DatePicker/SingleDate/variations/_view/base.js +1 -1
  77. package/es/components/DatePicker/SingleDate/variations/_view/base.js.map +1 -1
  78. package/es/components/DatePicker/SingleDate/variations/_view/base_15vaheb.css +1 -0
  79. package/es/components/Dropdown/Dropdown.js +2 -1
  80. package/es/components/Dropdown/Dropdown.js.map +1 -1
  81. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +8 -4
  82. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  83. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +6 -5
  84. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  85. package/es/index.css +10 -10
  86. package/es/index.js +2 -2
  87. package/package.json +2 -2
  88. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +5 -0
  89. package/styled-components/cjs/components/DatePicker/RangeDate/{DatePicker.js → RangeDate.js} +5 -5
  90. package/styled-components/cjs/components/DatePicker/RangeDate/{DatePicker.styles.js → RangeDate.styles.js} +4 -4
  91. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +3 -3
  92. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_readonly/base.js +2 -2
  93. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_size/base.js +2 -2
  94. package/styled-components/cjs/components/DatePicker/RangeDate/variations/_view/base.js +3 -3
  95. package/styled-components/cjs/components/DatePicker/SingleDate/{DatePicker.js → SingleDate.js} +5 -5
  96. package/styled-components/cjs/components/DatePicker/SingleDate/{DatePicker.styles.js → SingleDate.styles.js} +4 -4
  97. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_readonly/base.js +2 -2
  98. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_size/base.js +2 -2
  99. package/styled-components/cjs/components/DatePicker/SingleDate/variations/_view/base.js +3 -3
  100. package/styled-components/cjs/components/DatePicker/index.js +9 -9
  101. package/styled-components/cjs/components/Dropdown/Dropdown.js +2 -1
  102. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +8 -4
  103. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +6 -5
  104. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +6 -1
  105. package/styled-components/es/components/DatePicker/RangeDate/{DatePicker.js → RangeDate.js} +1 -1
  106. package/styled-components/es/components/DatePicker/RangeDate/{DatePicker.styles.js → RangeDate.styles.js} +4 -4
  107. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -1
  108. package/styled-components/es/components/DatePicker/RangeDate/variations/_readonly/base.js +1 -1
  109. package/styled-components/es/components/DatePicker/RangeDate/variations/_size/base.js +1 -1
  110. package/styled-components/es/components/DatePicker/RangeDate/variations/_view/base.js +1 -1
  111. package/styled-components/es/components/DatePicker/SingleDate/{DatePicker.js → SingleDate.js} +1 -1
  112. package/styled-components/es/components/DatePicker/SingleDate/{DatePicker.styles.js → SingleDate.styles.js} +4 -4
  113. package/styled-components/es/components/DatePicker/SingleDate/variations/_readonly/base.js +1 -1
  114. package/styled-components/es/components/DatePicker/SingleDate/variations/_size/base.js +1 -1
  115. package/styled-components/es/components/DatePicker/SingleDate/variations/_view/base.js +1 -1
  116. package/styled-components/es/components/DatePicker/index.js +2 -2
  117. package/styled-components/es/components/Dropdown/Dropdown.js +2 -1
  118. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +8 -4
  119. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +6 -5
  120. package/types/components/Calendar/CalendarDouble/CalendarDouble.d.ts.map +1 -1
  121. package/types/components/DatePicker/RangeDate/RangeDate.d.ts +110 -0
  122. package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +1 -0
  123. package/types/components/DatePicker/RangeDate/{DatePicker.styles.d.ts → RangeDate.styles.d.ts} +1 -1
  124. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts.map +1 -0
  125. package/types/components/DatePicker/RangeDate/{DatePicker.types.d.ts → RangeDate.types.d.ts} +5 -5
  126. package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts.map +1 -0
  127. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.types.d.ts +1 -1
  128. package/types/components/DatePicker/SingleDate/{DatePicker.d.ts → SingleDate.d.ts} +4 -4
  129. package/types/components/DatePicker/SingleDate/{DatePicker.d.ts.map → SingleDate.d.ts.map} +1 -1
  130. package/types/components/DatePicker/SingleDate/{DatePicker.styles.d.ts → SingleDate.styles.d.ts} +1 -1
  131. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -0
  132. package/types/components/DatePicker/SingleDate/{DatePicker.types.d.ts → SingleDate.types.d.ts} +1 -1
  133. package/types/components/DatePicker/SingleDate/{DatePicker.types.d.ts.map → SingleDate.types.d.ts.map} +1 -1
  134. package/types/components/DatePicker/index.d.ts +4 -4
  135. package/types/components/DatePicker/index.d.ts.map +1 -1
  136. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  137. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +1 -1
  138. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts +1 -0
  139. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts.map +1 -1
  140. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  141. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +1 -0
  142. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
  143. package/types/components/Range/Range.types.d.ts +4 -3
  144. package/types/components/Range/Range.types.d.ts.map +1 -1
  145. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +3 -262
  146. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +1 -1
  147. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +3 -262
  148. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +1 -1
  149. package/cjs/components/DatePicker/RangeDate/DatePicker.js.map +0 -1
  150. package/cjs/components/DatePicker/RangeDate/DatePicker.styles.js.map +0 -1
  151. package/cjs/components/DatePicker/RangeDate/variations/_readonly/base_dhosc0.css +0 -1
  152. package/cjs/components/DatePicker/RangeDate/variations/_size/base_c0144z.css +0 -1
  153. package/cjs/components/DatePicker/RangeDate/variations/_view/base_1vly6xz.css +0 -1
  154. package/cjs/components/DatePicker/SingleDate/variations/_readonly/base_ayigv4.css +0 -1
  155. package/cjs/components/DatePicker/SingleDate/variations/_size/base_jrds3p.css +0 -1
  156. package/cjs/components/DatePicker/SingleDate/variations/_view/base_163gwfv.css +0 -1
  157. package/es/components/DatePicker/RangeDate/DatePicker.js.map +0 -1
  158. package/es/components/DatePicker/RangeDate/DatePicker.styles.js.map +0 -1
  159. package/es/components/DatePicker/RangeDate/variations/_readonly/base_dhosc0.css +0 -1
  160. package/es/components/DatePicker/RangeDate/variations/_size/base_c0144z.css +0 -1
  161. package/es/components/DatePicker/RangeDate/variations/_view/base_1vly6xz.css +0 -1
  162. package/es/components/DatePicker/SingleDate/variations/_readonly/base_ayigv4.css +0 -1
  163. package/es/components/DatePicker/SingleDate/variations/_size/base_jrds3p.css +0 -1
  164. package/es/components/DatePicker/SingleDate/variations/_view/base_163gwfv.css +0 -1
  165. package/types/components/DatePicker/RangeDate/DatePicker.d.ts +0 -628
  166. package/types/components/DatePicker/RangeDate/DatePicker.d.ts.map +0 -1
  167. package/types/components/DatePicker/RangeDate/DatePicker.styles.d.ts.map +0 -1
  168. package/types/components/DatePicker/RangeDate/DatePicker.types.d.ts.map +0 -1
  169. package/types/components/DatePicker/SingleDate/DatePicker.styles.d.ts.map +0 -1
  170. /package/styled-components/cjs/components/DatePicker/RangeDate/{DatePicker.types.js → RangeDate.types.js} +0 -0
  171. /package/styled-components/cjs/components/DatePicker/SingleDate/{DatePicker.types.js → SingleDate.types.js} +0 -0
  172. /package/styled-components/es/components/DatePicker/RangeDate/{DatePicker.types.js → RangeDate.types.js} +0 -0
  173. /package/styled-components/es/components/DatePicker/SingleDate/{DatePicker.types.js → SingleDate.types.js} +0 -0
@@ -28,7 +28,8 @@ var DropdownInner = function DropdownInner(_ref) {
28
28
  onItemClick = _ref.onItemClick,
29
29
  listWidth = _ref.listWidth,
30
30
  variant = _ref.variant,
31
- hasArrow = _ref.hasArrow;
31
+ hasArrow = _ref.hasArrow,
32
+ size = _ref.size;
32
33
  var handleToggle = function handleToggle(opened) {
33
34
  if (opened) {
34
35
  dispatchPath({
@@ -67,7 +68,8 @@ var DropdownInner = function DropdownInner(_ref) {
67
68
  ariaControls: listId,
68
69
  ariaExpanded: isCurrentListOpen,
69
70
  ariaLevel: nextLevel,
70
- ariaLabel: item.label
71
+ ariaLabel: item.label,
72
+ size: size
71
73
  }),
72
74
  onToggle: handleToggle,
73
75
  isFocusTrapped: false,
@@ -99,7 +101,8 @@ var DropdownInner = function DropdownInner(_ref) {
99
101
  onItemClick: onItemClick,
100
102
  listWidth: listWidth,
101
103
  variant: variant,
102
- hasArrow: hasArrow
104
+ hasArrow: hasArrow,
105
+ size: size
103
106
  });
104
107
  })));
105
108
  }
@@ -114,7 +117,8 @@ var DropdownInner = function DropdownInner(_ref) {
114
117
  onHover: onHover,
115
118
  onItemSelect: onItemSelect,
116
119
  onItemClick: onItemClick,
117
- variant: variant
120
+ variant: variant,
121
+ size: size
118
122
  });
119
123
  };
120
124
 
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownInner.js","sources":["../../../../../src/components/Dropdown/ui/DropdownInner/DropdownInner.tsx"],"sourcesContent":["import React from 'react';\nimport type { FC } from 'react';\n\nimport { DropdownItem } from '..';\nimport { Ul, StyledPopover } from '../../Dropdown.styles';\n\nimport { DropdownInnerProps } from './DropdownInner.type';\n\nconst DropdownInner: FC<DropdownInnerProps> = ({\n item,\n currentLevel,\n focusedPath,\n path,\n dispatchPath,\n index,\n trigger,\n itemRole,\n listHeight,\n listOverflow,\n handleGlobalToggle,\n closeOnSelect,\n onHover,\n onItemSelect,\n onItemClick,\n listWidth,\n variant,\n hasArrow,\n}) => {\n const handleToggle = (opened: boolean): void => {\n if (opened) {\n dispatchPath({ type: 'changed_on_level', value: item.value.toString(), level: currentLevel + 1 });\n } else {\n dispatchPath({ type: 'cut_by_level', level: currentLevel + 1 });\n }\n };\n\n const isCurrentListOpen = path[currentLevel + 1] === item.value.toString();\n\n const listId = `tree_level_${currentLevel + 2}`;\n const nextLevel = currentLevel + 1;\n\n if (item?.items) {\n return (\n <StyledPopover\n isOpen={isCurrentListOpen}\n usePortal={false}\n placement=\"right-start\"\n trigger={trigger}\n target={\n <DropdownItem\n item={item}\n index={index}\n path={path}\n focusedPath={focusedPath}\n currentLevel={currentLevel}\n itemRole={itemRole}\n onHover={onHover}\n onItemSelect={onItemSelect}\n onItemClick={onItemClick}\n variant={variant}\n hasArrow={hasArrow}\n ariaControls={listId}\n ariaExpanded={isCurrentListOpen}\n ariaLevel={nextLevel}\n ariaLabel={item.label}\n />\n }\n onToggle={handleToggle}\n isFocusTrapped={false}\n preventOverflow={false}\n >\n <Ul\n listHeight={listHeight}\n listOverflow={listOverflow}\n role=\"group\"\n id={listId}\n listWidth={listWidth}\n isInnerUl\n >\n {item.items.map((innerItem, innerIndex) => (\n <DropdownInner\n key={`${innerIndex}/${currentLevel}`}\n item={innerItem}\n currentLevel={nextLevel}\n focusedPath={focusedPath}\n path={path}\n dispatchPath={dispatchPath}\n index={innerIndex}\n trigger={trigger}\n itemRole={itemRole}\n listHeight={listHeight}\n listOverflow={listOverflow}\n handleGlobalToggle={handleGlobalToggle}\n closeOnSelect={closeOnSelect}\n onHover={onHover}\n onItemSelect={onItemSelect}\n onItemClick={onItemClick}\n listWidth={listWidth}\n variant={variant}\n hasArrow={hasArrow}\n />\n ))}\n </Ul>\n </StyledPopover>\n );\n }\n\n return (\n <DropdownItem\n item={item}\n index={index}\n focusedPath={focusedPath}\n currentLevel={currentLevel}\n itemRole={itemRole}\n handleGlobalToggle={handleGlobalToggle}\n closeOnSelect={closeOnSelect}\n onHover={onHover}\n onItemSelect={onItemSelect}\n onItemClick={onItemClick}\n variant={variant}\n />\n );\n};\n\nexport { DropdownInner };\n"],"names":["DropdownInner","_ref","item","currentLevel","focusedPath","path","dispatchPath","index","trigger","itemRole","listHeight","listOverflow","handleGlobalToggle","closeOnSelect","onHover","onItemSelect","onItemClick","listWidth","variant","hasArrow","handleToggle","opened","type","value","toString","level","isCurrentListOpen","listId","concat","nextLevel","items","React","createElement","StyledPopover","isOpen","usePortal","placement","target","DropdownItem","ariaControls","ariaExpanded","ariaLevel","ariaLabel","label","onToggle","isFocusTrapped","preventOverflow","Ul","role","id","isInnerUl","map","innerItem","innerIndex","key"],"mappings":";;;;;;;;;;;;AAQA,IAAMA,aAAqC,GAAG,SAAxCA,aAAqCA,CAAAC,IAAA,EAmBrC;AAAA,EAAA,IAlBFC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IACJC,YAAY,GAAAF,IAAA,CAAZE,YAAY;IACZC,WAAW,GAAAH,IAAA,CAAXG,WAAW;IACXC,IAAI,GAAAJ,IAAA,CAAJI,IAAI;IACJC,YAAY,GAAAL,IAAA,CAAZK,YAAY;IACZC,KAAK,GAAAN,IAAA,CAALM,KAAK;IACLC,OAAO,GAAAP,IAAA,CAAPO,OAAO;IACPC,QAAQ,GAAAR,IAAA,CAARQ,QAAQ;IACRC,UAAU,GAAAT,IAAA,CAAVS,UAAU;IAC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,GACpB,CAAC,CAAA;AAEV;;;;"}
1
+ {"version":3,"file":"DropdownInner.js","sources":["../../../../../src/components/Dropdown/ui/DropdownInner/DropdownInner.tsx"],"sourcesContent":["import React from 'react';\nimport type { FC } from 'react';\n\nimport { DropdownItem } from '..';\nimport { Ul, StyledPopover } from '../../Dropdown.styles';\n\nimport { DropdownInnerProps } from './DropdownInner.type';\n\nconst DropdownInner: FC<DropdownInnerProps> = ({\n item,\n currentLevel,\n focusedPath,\n path,\n dispatchPath,\n index,\n trigger,\n itemRole,\n listHeight,\n listOverflow,\n handleGlobalToggle,\n closeOnSelect,\n onHover,\n onItemSelect,\n onItemClick,\n listWidth,\n variant,\n hasArrow,\n size,\n}) => {\n const handleToggle = (opened: boolean): void => {\n if (opened) {\n dispatchPath({ type: 'changed_on_level', value: item.value.toString(), level: currentLevel + 1 });\n } else {\n dispatchPath({ type: 'cut_by_level', level: currentLevel + 1 });\n }\n };\n\n const isCurrentListOpen = path[currentLevel + 1] === item.value.toString();\n\n const listId = `tree_level_${currentLevel + 2}`;\n const nextLevel = currentLevel + 1;\n\n if (item?.items) {\n return (\n <StyledPopover\n isOpen={isCurrentListOpen}\n usePortal={false}\n placement=\"right-start\"\n trigger={trigger}\n target={\n <DropdownItem\n item={item}\n index={index}\n path={path}\n focusedPath={focusedPath}\n currentLevel={currentLevel}\n itemRole={itemRole}\n onHover={onHover}\n onItemSelect={onItemSelect}\n onItemClick={onItemClick}\n variant={variant}\n hasArrow={hasArrow}\n ariaControls={listId}\n ariaExpanded={isCurrentListOpen}\n ariaLevel={nextLevel}\n ariaLabel={item.label}\n size={size}\n />\n }\n onToggle={handleToggle}\n isFocusTrapped={false}\n preventOverflow={false}\n >\n <Ul\n listHeight={listHeight}\n listOverflow={listOverflow}\n role=\"group\"\n id={listId}\n listWidth={listWidth}\n isInnerUl\n >\n {item.items.map((innerItem, innerIndex) => (\n <DropdownInner\n key={`${innerIndex}/${currentLevel}`}\n item={innerItem}\n currentLevel={nextLevel}\n focusedPath={focusedPath}\n path={path}\n dispatchPath={dispatchPath}\n index={innerIndex}\n trigger={trigger}\n itemRole={itemRole}\n listHeight={listHeight}\n listOverflow={listOverflow}\n handleGlobalToggle={handleGlobalToggle}\n closeOnSelect={closeOnSelect}\n onHover={onHover}\n onItemSelect={onItemSelect}\n onItemClick={onItemClick}\n listWidth={listWidth}\n variant={variant}\n hasArrow={hasArrow}\n size={size}\n />\n ))}\n </Ul>\n </StyledPopover>\n );\n }\n\n return (\n <DropdownItem\n item={item}\n index={index}\n focusedPath={focusedPath}\n currentLevel={currentLevel}\n itemRole={itemRole}\n handleGlobalToggle={handleGlobalToggle}\n closeOnSelect={closeOnSelect}\n onHover={onHover}\n onItemSelect={onItemSelect}\n onItemClick={onItemClick}\n variant={variant}\n size={size}\n />\n );\n};\n\nexport { DropdownInner };\n"],"names":["DropdownInner","_ref","item","currentLevel","focusedPath","path","dispatchPath","index","trigger","itemRole","listHeight","listOverflow","handleGlobalToggle","closeOnSelect","onHover","onItemSelect","onItemClick","listWidth","variant","hasArrow","size","handleToggle","opened","type","value","toString","level","isCurrentListOpen","listId","concat","nextLevel","items","React","createElement","StyledPopover","isOpen","usePortal","placement","target","DropdownItem","ariaControls","ariaExpanded","ariaLevel","ariaLabel","label","onToggle","isFocusTrapped","preventOverflow","Ul","role","id","isInnerUl","map","innerItem","innerIndex","key"],"mappings":";;;;;;;;;;;;AAQA,IAAMA,aAAqC,GAAG,SAAxCA,aAAqCA,CAAAC,IAAA,EAoBrC;AAAA,EAAA,IAnBFC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IACJC,YAAY,GAAAF,IAAA,CAAZE,YAAY;IACZC,WAAW,GAAAH,IAAA,CAAXG,WAAW;IACXC,IAAI,GAAAJ,IAAA,CAAJI,IAAI;IACJC,YAAY,GAAAL,IAAA,CAAZK,YAAY;IACZC,KAAK,GAAAN,IAAA,CAALM,KAAK;IACLC,OAAO,GAAAP,IAAA,CAAPO,OAAO;IACPC,QAAQ,GAAA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;AACvCC,IAAAA,aAAa,EAAEA,aAAc;AAC7BC,IAAAA,OAAO,EAAEA,OAAQ;AACjBC,IAAAA,YAAY,EAAEA,YAAa;AAC3BC,IAAAA,WAAW,EAAEA,WAAY;AACzBE,IAAAA,OAAO,EAAEA,OAAQ;AACjBE,IAAAA,IAAI,EAAEA,IAAAA;AAAK,GACd,CAAC,CAAA;AAEV;;;;"}
@@ -5,7 +5,6 @@ import '@linaria/react';
5
5
  import { IconDisclosureRight } from '../../../_Icon/Icons/IconDisclosureRight.js';
6
6
  import { Wrapper, StyledContentLeft, StyledText, StyledContentRight, DisclosureIconWrapper } from './DropdownItem.styles.js';
7
7
 
8
- var _DisclosureIconWrappe;
9
8
  var DropdownItem = function DropdownItem(_ref) {
10
9
  var item = _ref.item,
11
10
  path = _ref.path,
@@ -24,7 +23,8 @@ var DropdownItem = function DropdownItem(_ref) {
24
23
  ariaLevel = _ref.ariaLevel,
25
24
  ariaLabel = _ref.ariaLabel,
26
25
  variant = _ref.variant,
27
- hasArrow = _ref.hasArrow;
26
+ hasArrow = _ref.hasArrow,
27
+ size = _ref.size;
28
28
  var value = item.value,
29
29
  label = item.label,
30
30
  disabled = item.disabled,
@@ -32,6 +32,7 @@ var DropdownItem = function DropdownItem(_ref) {
32
32
  contentLeft = item.contentLeft,
33
33
  contentRight = item.contentRight;
34
34
  var ref = useRef(null);
35
+ var disclosureIconSize = size === 'xs' ? 'xs' : 's';
35
36
  var isDisabledClassName = disabled || isDisabled ? classes.dropdownItemIsDisabled : undefined;
36
37
  var focusedClass = currentLevel === focusedPath.length - 1 && index === (focusedPath === null || focusedPath === void 0 ? void 0 : focusedPath[currentLevel]) ? classes.dropdownItemIsFocused : undefined;
37
38
  var activeClass = value === (path === null || path === void 0 ? void 0 : path[currentLevel + 1]) ? classes.dropdownItemIsActive : undefined;
@@ -77,10 +78,10 @@ var DropdownItem = function DropdownItem(_ref) {
77
78
  "aria-haspopup": ariaHasPopup,
78
79
  "aria-level": ariaLevel,
79
80
  "aria-label": ariaLabel
80
- }, contentLeft && /*#__PURE__*/React.createElement(StyledContentLeft, null, contentLeft), /*#__PURE__*/React.createElement(StyledText, null, label), contentRight && /*#__PURE__*/React.createElement(StyledContentRight, null, contentRight), item.items && hasArrow && (_DisclosureIconWrappe || (_DisclosureIconWrappe = /*#__PURE__*/React.createElement(DisclosureIconWrapper, null, /*#__PURE__*/React.createElement(IconDisclosureRight, {
81
- size: "xs",
81
+ }, contentLeft && /*#__PURE__*/React.createElement(StyledContentLeft, null, contentLeft), /*#__PURE__*/React.createElement(StyledText, null, label), contentRight && /*#__PURE__*/React.createElement(StyledContentRight, null, contentRight), item.items && hasArrow && /*#__PURE__*/React.createElement(DisclosureIconWrapper, null, /*#__PURE__*/React.createElement(IconDisclosureRight, {
82
+ size: disclosureIconSize,
82
83
  color: "inherit"
83
- })))));
84
+ })));
84
85
  };
85
86
 
86
87
  export { DropdownItem };
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownItem.js","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.tsx"],"sourcesContent":["import React, { useEffect, useRef, FC } from 'react';\n\nimport { classes } from '../../Dropdown.tokens';\nimport { cx } from '../../../../utils';\nimport { IconDisclosureRight } from '../../../_Icon';\n\nimport {\n StyledContentLeft,\n StyledContentRight,\n StyledText,\n Wrapper,\n DisclosureIconWrapper,\n} from './DropdownItem.styles';\nimport type { DropdownItemProps } from './DropdownItem.type';\n\nexport const DropdownItem: FC<DropdownItemProps> = ({\n item,\n path,\n focusedPath,\n currentLevel,\n index,\n itemRole,\n closeOnSelect,\n handleGlobalToggle,\n onHover,\n onItemSelect,\n onItemClick,\n ariaControls,\n ariaExpanded,\n ariaHasPopup,\n ariaLevel,\n ariaLabel,\n variant,\n hasArrow,\n}) => {\n const { value, label, disabled, isDisabled, contentLeft, contentRight } = item;\n\n const ref = useRef<HTMLLIElement | null>(null);\n\n const isDisabledClassName = disabled || isDisabled ? classes.dropdownItemIsDisabled : undefined;\n const focusedClass =\n currentLevel === focusedPath.length - 1 && index === focusedPath?.[currentLevel]\n ? classes.dropdownItemIsFocused\n : undefined;\n const activeClass = value === path?.[currentLevel + 1] ? classes.dropdownItemIsActive : undefined;\n\n useEffect(() => {\n if (focusedClass && ref?.current) {\n ref.current.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n inline: 'center',\n });\n }\n }, [focusedClass]);\n\n const handleClick = (event: React.MouseEvent<HTMLLIElement>): void => {\n if (disabled || isDisabled) {\n return;\n }\n\n if (onItemSelect) {\n onItemSelect(item, event);\n }\n\n if (onItemClick) {\n onItemClick(item, event);\n }\n\n if (handleGlobalToggle && closeOnSelect) {\n handleGlobalToggle(false, event);\n }\n };\n\n const handleHover = () => {\n if (onHover) {\n onHover(index);\n }\n };\n\n return (\n <Wrapper\n className={cx(isDisabledClassName, focusedClass, activeClass)}\n id={value.toString()}\n role={itemRole}\n ref={ref}\n aria-disabled={disabled || isDisabled}\n onClick={handleClick}\n onMouseEnter={handleHover}\n variant={variant}\n aria-controls={ariaControls}\n aria-expanded={ariaExpanded}\n aria-haspopup={ariaHasPopup}\n aria-level={ariaLevel}\n aria-label={ariaLabel}\n >\n {contentLeft && <StyledContentLeft>{contentLeft}</StyledContentLeft>}\n <StyledText>{label}</StyledText>\n {contentRight && <StyledContentRight>{contentRight}</StyledContentRight>}\n\n {item.items && hasArrow && (\n <DisclosureIconWrapper>\n <IconDisclosureRight size=\"xs\" color=\"inherit\" />\n </DisclosureIconWrapper>\n )}\n </Wrapper>\n );\n};\n"],"names":["DropdownItem","_ref","item","path","focusedPath","currentLevel","index","itemRole","closeOnSelect","handleGlobalToggle","onHover","onItemSelect","onItemClick","ariaControls","ariaExpanded","ariaHasPopup","ariaLevel","ariaLabel","variant","hasArrow","value","label","disabled","isDisabled","contentLeft","contentRight","ref","useRef","isDisabledClassName","classes","dropdownItemIsDisabled","undefined","focusedClass","length","dropdownItemIsFocused","activeClass","dropdownItemIsActive","useEffect","current","scrollIntoView","behavior","block","inline","handleClick","event","handleHover","React","createElement","Wrapper","className","cx","id","toString","role","onClick","onMouseEnter","StyledContentLeft","StyledText","StyledContentRight","items","_DisclosureIconWrappe","DisclosureIconWrapper","IconDisclosureRight","size","color"],"mappings":";;;;;;;;IAeaA,YAAmC,GAAG,SAAtCA,YAAmCA,CAAAC,IAAA,EAmB1C;AAAA,EAAA,IAlBFC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IACJC,IAAI,GAAAF,IAAA,CAAJE,IAAI;IACJC,WAAW,GAAAH,IAAA,CAAXG,WAAW;IACXC,YAAY,GAAAJ,IAAA,CAAZI,YAAY;IACZC,KAAK,GAAAL,IAAA,CAALK,KAAK;IACLC,QAAQ,GAAAN,IAAA,CAARM,QAAQ;IACRC,aAAa,GAAAP,IAAA,CAAbO,aAAa;IACbC,kBAAkB,GAAAR,IAAA,CAAlBQ,kBAAkB;IAClBC,OAAO,GAAAT,IAAA,CAAPS,OAAO;IACPC,YAAY,GAAAV,IAAA,CAAZU,YAAY;IACZC,WAAW,GAAAX,IAAA,CAAXW,WAAW;IACXC,YAAY,GAAAZ,IAAA,CAAZY,YAAY;IACZC,YAAY,GAAAb,IAAA,CAAZa,YAAY;IACZC,YAAY,GAAAd,IAAA,CAAZc,YAAY;IACZC,SAAS,GAAAf,IAAA,CAATe,SAAS;IACTC,SAAS,GAAAhB,IAAA,CAATgB,SAAS;IACTC,OAAO,GAAAjB,IAAA,CAAPiB,OAAO;IACPC,QAAQ,GAAAlB,IAAA,CAARkB,QAAQ,CAAA;AAER,EAAA,IAAQC,KAAK,GAA6DlB,IAAI,CAAtEkB,KAAK;IAAEC,KAAK,GAAsDnB,IAAI,CAA/DmB,KAAK;IAAEC,QAAQ,GAA4CpB,IAAI,CAAxDoB,QAAQ;IAAEC,UAAU,GAAgCrB,IAAI,CAA9CqB,UAAU;IAAEC,WAAW,GAAmBtB,IAAI,CAAlCsB,WAAW;IAAEC,YAAY,GAAKvB,IAAI,CAArBuB,YAAY,CAAA;AAErE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IAAI,CAACyD,KAAK,IAAIxC,QAAQ,KAAAyC,qBAAA,KAAAA,qBAAA,gBACnBd,KAAA,CAAAC,aAAA,CAACc,qBAAqB,qBAClBf,KAAA,CAAAC,aAAA,CAACe,mBAAmB,EAAA;AAACC,IAAAA,IAAI,EAAC,IAAI;AAACC,IAAAA,KAAK,EAAC,SAAA;GAAW,CAC7B,CAAC,CAAA,CAEvB,CAAC,CAAA;AAElB;;;;"}
1
+ {"version":3,"file":"DropdownItem.js","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.tsx"],"sourcesContent":["import React, { useEffect, useRef, FC } from 'react';\n\nimport { classes } from '../../Dropdown.tokens';\nimport { cx } from '../../../../utils';\nimport { IconDisclosureRight } from '../../../_Icon';\n\nimport {\n StyledContentLeft,\n StyledContentRight,\n StyledText,\n Wrapper,\n DisclosureIconWrapper,\n} from './DropdownItem.styles';\nimport type { DropdownItemProps } from './DropdownItem.type';\n\nexport const DropdownItem: FC<DropdownItemProps> = ({\n item,\n path,\n focusedPath,\n currentLevel,\n index,\n itemRole,\n closeOnSelect,\n handleGlobalToggle,\n onHover,\n onItemSelect,\n onItemClick,\n ariaControls,\n ariaExpanded,\n ariaHasPopup,\n ariaLevel,\n ariaLabel,\n variant,\n hasArrow,\n size,\n}) => {\n const { value, label, disabled, isDisabled, contentLeft, contentRight } = item;\n\n const ref = useRef<HTMLLIElement | null>(null);\n\n const disclosureIconSize = size === 'xs' ? 'xs' : 's';\n const isDisabledClassName = disabled || isDisabled ? classes.dropdownItemIsDisabled : undefined;\n const focusedClass =\n currentLevel === focusedPath.length - 1 && index === focusedPath?.[currentLevel]\n ? classes.dropdownItemIsFocused\n : undefined;\n const activeClass = value === path?.[currentLevel + 1] ? classes.dropdownItemIsActive : undefined;\n\n useEffect(() => {\n if (focusedClass && ref?.current) {\n ref.current.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n inline: 'center',\n });\n }\n }, [focusedClass]);\n\n const handleClick = (event: React.MouseEvent<HTMLLIElement>): void => {\n if (disabled || isDisabled) {\n return;\n }\n\n if (onItemSelect) {\n onItemSelect(item, event);\n }\n\n if (onItemClick) {\n onItemClick(item, event);\n }\n\n if (handleGlobalToggle && closeOnSelect) {\n handleGlobalToggle(false, event);\n }\n };\n\n const handleHover = () => {\n if (onHover) {\n onHover(index);\n }\n };\n\n return (\n <Wrapper\n className={cx(isDisabledClassName, focusedClass, activeClass)}\n id={value.toString()}\n role={itemRole}\n ref={ref}\n aria-disabled={disabled || isDisabled}\n onClick={handleClick}\n onMouseEnter={handleHover}\n variant={variant}\n aria-controls={ariaControls}\n aria-expanded={ariaExpanded}\n aria-haspopup={ariaHasPopup}\n aria-level={ariaLevel}\n aria-label={ariaLabel}\n >\n {contentLeft && <StyledContentLeft>{contentLeft}</StyledContentLeft>}\n <StyledText>{label}</StyledText>\n {contentRight && <StyledContentRight>{contentRight}</StyledContentRight>}\n\n {item.items && hasArrow && (\n <DisclosureIconWrapper>\n <IconDisclosureRight size={disclosureIconSize} color=\"inherit\" />\n </DisclosureIconWrapper>\n )}\n </Wrapper>\n );\n};\n"],"names":["DropdownItem","_ref","item","path","focusedPath","currentLevel","index","itemRole","closeOnSelect","handleGlobalToggle","onHover","onItemSelect","onItemClick","ariaControls","ariaExpanded","ariaHasPopup","ariaLevel","ariaLabel","variant","hasArrow","size","value","label","disabled","isDisabled","contentLeft","contentRight","ref","useRef","disclosureIconSize","isDisabledClassName","classes","dropdownItemIsDisabled","undefined","focusedClass","length","dropdownItemIsFocused","activeClass","dropdownItemIsActive","useEffect","current","scrollIntoView","behavior","block","inline","handleClick","event","handleHover","React","createElement","Wrapper","className","cx","id","toString","role","onClick","onMouseEnter","StyledContentLeft","StyledText","StyledContentRight","items","DisclosureIconWrapper","IconDisclosureRight","color"],"mappings":";;;;;;;IAeaA,YAAmC,GAAG,SAAtCA,YAAmCA,CAAAC,IAAA,EAoB1C;AAAA,EAAA,IAnBFC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAC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AAA,KAAK,EAAC,SAAA;GAAW,CAC7C,CAEtB,CAAC,CAAA;AAElB;;;;"}
package/es/index.css CHANGED
@@ -582,31 +582,31 @@
582
582
 
583
583
  .DatePickerBase_styles_1thp2xv_s1ywkx25__1c934a3c{padding-top:var(--plasma-date-picker-calendar-padding-top);box-shadow:var(--plasma-date-picker-calendar-shadow);border-radius:var(--plasma-date-picker-calendar-border-radius);--plasma-calendar-background:var(--plasma-date-picker-calendar__background-color);--plasma-calendar-selected-item-background:var(--plasma-date-picker-calendar__selected-item-background);--plasma-calendar-selected-item-color:var(--plasma-date-picker-calendar__selected-item-color);--plasma-calendar-selectable-item-bg-hover:var(--plasma-date-picker-calendar__selectable-item-background-hover);--plasma-calendar-current-item-border-color:var(--plasma-date-picker-calendar__current-item-border-color);--plasma-calendar-current-item-bg-hover:var(--plasma-date-picker-calendar__current-item-background-hover);--plasma-calendar-current-item-color-hover:var(--plasma-date-picker-calendar__current-item-color-hover);--plasma-calendar-current-item-child-bg-hover:var(--plasma-date-picker-calendar__current-item-child-background-hover);--plasma-calendar-active-item-bg:var(--plasma-date-picker-calendar__active-item-background);--plasma-calendar-active-item-color:var(--plasma-date-picker-calendar__active-item-color);--plasma-calendar-hovered-item-bg:var(--plasma-date-picker-calendar__hovered-item-background);--plasma-calendar-hovered-item-color:var(--plasma-date-picker-calendar__hovered-item-color);--plasma-calendar-range-background:var(--plasma-date-picker-calendar__range-background);--plasma-calendar-outline-focus-color:var(--plasma-date-picker-calendar__outline-focus-color);--plasma-calendar-content-primary-color:var(--plasma-date-picker-calendar__content-primary-color);--plasma-calendar-content-secondary-color:var(--plasma-date-picker-calendar__content-secondary-color);--plasma-calendar-icon-button-color:var(--plasma-date-picker-icon-button__color);--plasma-calendar-icon-button-background:var(--plasma-date-picker-icon-button__background-color);--plasma-calendar-icon-button-color-hover:var(--plasma-date-picker-icon-button__color-hover);--plasma-calendar-icon-button-background-hover:var(--plasma-date-picker-icon-button__background-color-hover);--plasma-calendar-icon-button-color-active:var(--plasma-date-picker-icon-button__color-active);--plasma-calendar-icon-button-background-active:var(--plasma-date-picker-icon-button__background-color-active);--plasma-calendar-width:var(--plasma-date-picker-calendar-width);--plasma-calendar-height:var(--plasma-date-picker-calendar-height);--plasma-calendar-years-padding:var(--plasma-date-picker-calendar__years-padding);--plasma-calendar-year-item-border-radius:var(--plasma-date-picker-calendar__year-item-border-radius);--plasma-calendar-year-item-width:var(--plasma-date-picker-calendar__year-item-width);--plasma-calendar-year-item-height:var(--plasma-date-picker-calendar__year-item-height);--plasma-calendar-year-font-family:var(--plasma-date-picker-calendar__year-font-family);--plasma-calendar-year-font-size:var(--plasma-date-picker-calendar__year-font-size);--plasma-calendar-year-font-style:var(--plasma-date-picker-calendar__year-font-style);--plasma-calendar-year-font-letter-spacing:var(--plasma-date-picker-calendar__year-letter-spacing);--plasma-calendar-year-line-height:var(--plasma-date-picker-calendar__year-line-height);--plasma-calendar-year-font-weight:var(--plasma-date-picker-calendar__year-font-weight);--plasma-calendar-year-selected-font-weight:var(--plasma-date-picker-calendar__year-selected-font-weight);--plasma-calendar-months-padding:var(--plasma-date-picker-calendar__months-padding);--plasma-calendar-month-item-border-radius:var(--plasma-date-picker-calendar__month-item-border-radius);--plasma-calendar-month-item-width:var(--plasma-date-picker-calendar__month-item-width);--plasma-calendar-month-item-height:var(--plasma-date-picker-calendar__month-item-height);--plasma-calendar-month-font-family:var(--plasma-date-picker-calendar__month-font-family);--plasma-calendar-month-font-size:var(--plasma-date-picker-calendar__month-font-size);--plasma-calendar-month-font-style:var(--plasma-date-picker-calendar__month-font-style);--plasma-calendar-month-font-letter-spacing:var(--plasma-date-picker-calendar__month-letter-spacing);--plasma-calendar-month-line-height:var(--plasma-date-picker-calendar__month-line-height);--plasma-calendar-month-font-weight:var(--plasma-date-picker-calendar__month-font-weight);--plasma-calendar-month-selected-font-weight:var(--plasma-date-picker-calendar__month-selected-font-weight);--plasma-calendar-days-padding:var(--plasma-date-picker-calendar__days-padding);--plasma-calendar-day-item-border-radius:var(--plasma-date-picker-calendar__day-item-border-radius);--plasma-calendar-day-item-width:var(--plasma-date-picker-calendar__day-item-width);--plasma-calendar-day-item-height:var(--plasma-date-picker-calendar__day-item-height);--plasma-calendar-day-font-family:var(--plasma-date-picker-calendar__day-font-family);--plasma-calendar-day-font-size:var(--plasma-date-picker-calendar__day-font-size);--plasma-calendar-day-font-style:var(--plasma-date-picker-calendar__day-font-style);--plasma-calendar-day-font-letter-spacing:var(--plasma-date-picker-calendar__day-letter-spacing);--plasma-calendar-day-line-height:var(--plasma-date-picker-calendar__day-line-height);--plasma-calendar-day-font-weight:var(--plasma-date-picker-calendar__day-font-weight);--plasma-calendar-day-selected-font-weight:var(--plasma-date-picker-calendar__day-selected-font-weight);--plasma-calendar-header-wrapper-padding:var(--plasma-date-picker-calendar__header-wrapper-padding);--plasma-calendar-arrow-container-gap:var(--plasma-date-picker-calendar__header-arrow-gap);--plasma-calendar-arrow-container-padding:var(--plasma-date-picker-calendar__header-arrow-padding);--plasma-calendar-header-padding:var(--plasma-date-picker-calendar__header-padding);--plasma-calendar-header-date-gap:var(--plasma-date-picker-calendar__header-date-gap);--plasma-calendar-header-font-family:var(--plasma-date-picker-calendar__header-font-family);--plasma-calendar-header-font-size:var(--plasma-date-picker-calendar__header-font-size);--plasma-calendar-header-font-style:var(--plasma-date-picker-calendar__header-font-style);--plasma-calendar-header-font-letter-spacing:var(--plasma-date-picker-calendar__header-letter-spacing);--plasma-calendar-header-line-height:var(--plasma-date-picker-calendar__header-line-height);--plasma-calendar-header-font-weight:var(--plasma-date-picker-calendar__header-font-weight);--plasma-calendar-header-font-weight-bold:var(--plasma-date-picker-calendar__header-font-weight-bold);--plasma-calendar-icon-button-height:var(--plasma-date-picker-icon-button__height);--plasma-calendar-icon-button-width:var(--plasma-date-picker-icon-button__width);--plasma-calendar-icon-button-padding:var(--plasma-date-picker-icon-button__padding);--plasma-calendar-icon-button-radius:var(--plasma-date-picker-icon-button__radius);--plasma-calendar-icon-button-focus-color:var(--plasma-date-picker-icon-button__focus-color);}
584
584
 
585
- .base_jrds3p_bjvjzuw__efd34d01{width:var(--plasma-date-picker-width);}.base_jrds3p_bjvjzuw__efd34d01 .base_jrds3p_s1k0v87d__efd34d01{margin:var(--plasma-date-picker__label-offset);font-family:var(--plasma-date-picker__label-font-family);font-size:var(--plasma-date-picker__label-font-size);font-style:var(--plasma-date-picker__label-font-style);font-weight:var(--plasma-date-picker__label-font-weight);-webkit-letter-spacing:var(--plasma-date-picker__label-letter-spacing);-moz-letter-spacing:var(--plasma-date-picker__label-letter-spacing);-ms-letter-spacing:var(--plasma-date-picker__label-letter-spacing);letter-spacing:var(--plasma-date-picker__label-letter-spacing);line-height:var(--plasma-date-picker__label-line-height);}.base_jrds3p_bjvjzuw__efd34d01 .base_jrds3p_l1kt76cl__efd34d01{margin:var(--plasma-date-picker__left-helper-offset);font-family:var(--plasma-date-picker__left-helper-font-family);font-size:var(--plasma-date-picker__left-helper-font-size);font-style:var(--plasma-date-picker__left-helper-font-style);font-weight:var(--plasma-date-picker__left-helper-font-weight);-webkit-letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);-moz-letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);-ms-letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);line-height:var(--plasma-date-picker__left-helper-line-height);}
585
+ .base_lf7y25_bjvjzuw__c1098ff4{width:var(--plasma-date-picker-width);}.base_lf7y25_bjvjzuw__c1098ff4 .base_lf7y25_svfqi8__c1098ff4{margin:var(--plasma-date-picker__label-offset);font-family:var(--plasma-date-picker__label-font-family);font-size:var(--plasma-date-picker__label-font-size);font-style:var(--plasma-date-picker__label-font-style);font-weight:var(--plasma-date-picker__label-font-weight);-webkit-letter-spacing:var(--plasma-date-picker__label-letter-spacing);-moz-letter-spacing:var(--plasma-date-picker__label-letter-spacing);-ms-letter-spacing:var(--plasma-date-picker__label-letter-spacing);letter-spacing:var(--plasma-date-picker__label-letter-spacing);line-height:var(--plasma-date-picker__label-line-height);}.base_lf7y25_bjvjzuw__c1098ff4 .base_lf7y25_l5dd1qs__c1098ff4{margin:var(--plasma-date-picker__left-helper-offset);font-family:var(--plasma-date-picker__left-helper-font-family);font-size:var(--plasma-date-picker__left-helper-font-size);font-style:var(--plasma-date-picker__left-helper-font-style);font-weight:var(--plasma-date-picker__left-helper-font-weight);-webkit-letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);-moz-letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);-ms-letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);line-height:var(--plasma-date-picker__left-helper-line-height);}
586
586
 
587
- .base_163gwfv_bgt8q06__b5269406 .base_163gwfv_s1k0v87d__b5269406{display:block;color:var(--plasma-date-picker__label-color);}.base_163gwfv_bgt8q06__b5269406 .base_163gwfv_l1kt76cl__b5269406{color:var(--plasma-date-picker__left-helper-color);}
587
+ .base_15vaheb_bgt8q06__7d0ca642 .base_15vaheb_svfqi8__7d0ca642{display:block;color:var(--plasma-date-picker__label-color);}.base_15vaheb_bgt8q06__7d0ca642 .base_15vaheb_l5dd1qs__7d0ca642{color:var(--plasma-date-picker__left-helper-color);}
588
588
 
589
589
  .base_1rfgfsz_bl4tpwr__96fa6e5c[disabled]{opacity:var(--plasma-date-picker-disabled-opacity);cursor:not-allowed;}
590
590
 
591
- .base_ayigv4_b160pc19__979f3f11[readonly]{cursor:default;}.base_ayigv4_b160pc19__979f3f11[readonly] .base_ayigv4_s1k0v87d__979f3f11{display:block;color:var(--plasma-date-picker__label-color-readonly);}.base_ayigv4_b160pc19__979f3f11[readonly] .base_ayigv4_l1kt76cl__979f3f11{color:var(--plasma-date-picker__left-helper-color-readonly);}
591
+ .base_1jucwp_b160pc19__2f1aa288[readonly]{cursor:default;}.base_1jucwp_b160pc19__2f1aa288[readonly] .base_1jucwp_svfqi8__2f1aa288{display:block;color:var(--plasma-date-picker__label-color-readonly);}.base_1jucwp_b160pc19__2f1aa288[readonly] .base_1jucwp_l5dd1qs__2f1aa288{color:var(--plasma-date-picker__left-helper-color-readonly);}
592
592
 
593
593
 
594
- .DatePicker_styles_1reoff2_s1jzsihc__ce39c9fb{--plasma-textfield-color:var(--plasma-date-picker-textfield-color);--plasma-textfield__placeholder-color:var(--plasma-date-picker-textfield-placeholder-color);--plasma-textfield__caret-color:var(--plasma-date-picker-textfield-caret-color);--plasma-textfield-focus-color:var(--plasma-date-picker-textfield-focus-color);--plasma-textfield-bg-color:var(--plasma-date-picker-textfield-background-color);--plasma-textfield-bg-color-hover:var(--plasma-date-picker-textfield-background-color-hover);--plasma-textfield-bg-color-focus:var(--plasma-date-picker-textfield-background-color-focus);--plasma-textfield-border-color:var(--plasma-date-picker_range-border-color);--plasma-textfield-border-color-hover:var(--plasma-date-picker_range-border-color-hover);--plasma-textfield-border-color-focus:var(--plasma-date-picker_range-border-color-focus);--plasma-textfield-color-readonly:var(--plasma-date-picker-textfield-color-readonly);--plasma-textfield-bg-color-readonly:var(--plasma-date-picker-textfield-background-color-readonly);--plasma-textfield-border-color-readonly:var(--plasma-date-picker-textfield-border-color-readonly);--plasma-textfield__placeholder-color-readonly:var(--plasma-date-picker-textfield-placeholder-color-readonly);--plasma-textfield-height:var(--plasma-date-picker-textfield-height);--plasma-textfield-border-width:var(--plasma-date-picker-textfield-border-width);--plasma-textfield-border-radius:var(--plasma-date-picker-textfield-border-radius);--plasma-textfield-padding:var(--plasma-date-picker-textfield-padding);--plasma-textfield__left-content-margin:var(--plasma-date-picker-textfield__left-content-margin);--plasma-textfield__right-content-margin:var(--plasma-date-picker-textfield__right-content-margin);--plasma-textfield-font-family:var(--plasma-date-picker-textfield-font-family);--plasma-textfield-font-size:var(--plasma-date-picker-textfield-font-size);--plasma-textfield-font-style:var(--plasma-date-picker-textfield-font-style);--plasma-textfield-font-weight:var(--plasma-date-picker-textfield-font-weight);--plasma-textfield-letter-spacing:var(--plasma-date-picker-textfield-letter-spacing);--plasma-textfield-line-height:var(--plasma-date-picker-textfield-line-height);--plasma-textfield-disabled-opacity:var(--plasma-date-picker-disabled-opacity);--plasma-textfield__before-text-color:var(--plasma-date-picker-textfield__before-text-color);--plasma-textfield__after-text-color:var(--plasma-date-picker-textfield__after-text-color);--plasma-textfield__before-text-margin:var(--plasma-date-picker-textfield__before-text-margin);--plasma-textfield__after-text-margin:var(--plasma-date-picker-textfield__after-text-margin);}.DatePicker_styles_1reoff2_s1jzsihc__ce39c9fb.DatePicker_styles_1reoff2_datePickerError__ce39c9fb{--plasma-textfield-bg-color:var(--plasma-date-picker-textfield-background-color-error);--plasma-textfield-bg-color-hover:var(--plasma-date-picker-textfield-background-color-error-hover);--plasma-textfield-bg-color-focus:var(--plasma-date-picker-textfield-background-color-error-focus);--plasma-textfield-border-color:var(--plasma-date-picker-textfield-border-color-error);--plasma-textfield-border-color-hover:var(--plasma-date-picker-textfield-border-color-error-hover);--plasma-textfield-border-color-focus:var(--plasma-date-picker-textfield-border-color-error-focus);}.DatePicker_styles_1reoff2_s1jzsihc__ce39c9fb.DatePicker_styles_1reoff2_datePickerSuccess__ce39c9fb{--plasma-textfield-bg-color:var(--plasma-date-picker-textfield-background-color-success);--plasma-textfield-bg-color-hover:var(--plasma-date-picker-textfield-background-color-success-hover);--plasma-textfield-bg-color-focus:var(--plasma-date-picker-textfield-background-color-success-focus);--plasma-textfield-border-color:var(--plasma-date-picker-textfield-border-color-success);--plasma-textfield-border-color-hover:var(--plasma-date-picker-textfield-border-color-success-hover);--plasma-textfield-border-color-focus:var(--plasma-date-picker-textfield-border-color-success-focus);}
595
- .DatePicker_styles_1reoff2_b1m02sw3__ce39c9fb{display:inline-block;}
594
+ .SingleDate_styles_18b5qkz_s15omatb__2a7347e9{--plasma-textfield-color:var(--plasma-date-picker-textfield-color);--plasma-textfield__placeholder-color:var(--plasma-date-picker-textfield-placeholder-color);--plasma-textfield__caret-color:var(--plasma-date-picker-textfield-caret-color);--plasma-textfield-focus-color:var(--plasma-date-picker-textfield-focus-color);--plasma-textfield-bg-color:var(--plasma-date-picker-textfield-background-color);--plasma-textfield-bg-color-hover:var(--plasma-date-picker-textfield-background-color-hover);--plasma-textfield-bg-color-focus:var(--plasma-date-picker-textfield-background-color-focus);--plasma-textfield-border-color:var(--plasma-date-picker_range-border-color);--plasma-textfield-border-color-hover:var(--plasma-date-picker_range-border-color-hover);--plasma-textfield-border-color-focus:var(--plasma-date-picker_range-border-color-focus);--plasma-textfield-color-readonly:var(--plasma-date-picker-textfield-color-readonly);--plasma-textfield-bg-color-readonly:var(--plasma-date-picker-textfield-background-color-readonly);--plasma-textfield-border-color-readonly:var(--plasma-date-picker-textfield-border-color-readonly);--plasma-textfield__placeholder-color-readonly:var(--plasma-date-picker-textfield-placeholder-color-readonly);--plasma-textfield-height:var(--plasma-date-picker-textfield-height);--plasma-textfield-border-width:var(--plasma-date-picker-textfield-border-width);--plasma-textfield-border-radius:var(--plasma-date-picker-textfield-border-radius);--plasma-textfield-padding:var(--plasma-date-picker-textfield-padding);--plasma-textfield__left-content-margin:var(--plasma-date-picker-textfield__left-content-margin);--plasma-textfield__right-content-margin:var(--plasma-date-picker-textfield__right-content-margin);--plasma-textfield-font-family:var(--plasma-date-picker-textfield-font-family);--plasma-textfield-font-size:var(--plasma-date-picker-textfield-font-size);--plasma-textfield-font-style:var(--plasma-date-picker-textfield-font-style);--plasma-textfield-font-weight:var(--plasma-date-picker-textfield-font-weight);--plasma-textfield-letter-spacing:var(--plasma-date-picker-textfield-letter-spacing);--plasma-textfield-line-height:var(--plasma-date-picker-textfield-line-height);--plasma-textfield-disabled-opacity:var(--plasma-date-picker-disabled-opacity);--plasma-textfield__before-text-color:var(--plasma-date-picker-textfield__before-text-color);--plasma-textfield__after-text-color:var(--plasma-date-picker-textfield__after-text-color);--plasma-textfield__before-text-margin:var(--plasma-date-picker-textfield__before-text-margin);--plasma-textfield__after-text-margin:var(--plasma-date-picker-textfield__after-text-margin);}.SingleDate_styles_18b5qkz_s15omatb__2a7347e9.SingleDate_styles_18b5qkz_datePickerError__2a7347e9{--plasma-textfield-bg-color:var(--plasma-date-picker-textfield-background-color-error);--plasma-textfield-bg-color-hover:var(--plasma-date-picker-textfield-background-color-error-hover);--plasma-textfield-bg-color-focus:var(--plasma-date-picker-textfield-background-color-error-focus);--plasma-textfield-border-color:var(--plasma-date-picker-textfield-border-color-error);--plasma-textfield-border-color-hover:var(--plasma-date-picker-textfield-border-color-error-hover);--plasma-textfield-border-color-focus:var(--plasma-date-picker-textfield-border-color-error-focus);}.SingleDate_styles_18b5qkz_s15omatb__2a7347e9.SingleDate_styles_18b5qkz_datePickerSuccess__2a7347e9{--plasma-textfield-bg-color:var(--plasma-date-picker-textfield-background-color-success);--plasma-textfield-bg-color-hover:var(--plasma-date-picker-textfield-background-color-success-hover);--plasma-textfield-bg-color-focus:var(--plasma-date-picker-textfield-background-color-success-focus);--plasma-textfield-border-color:var(--plasma-date-picker-textfield-border-color-success);--plasma-textfield-border-color-hover:var(--plasma-date-picker-textfield-border-color-success-hover);--plasma-textfield-border-color-focus:var(--plasma-date-picker-textfield-border-color-success-focus);}
595
+ .SingleDate_styles_18b5qkz_boba7w3__2a7347e9{display:inline-block;}
596
596
 
597
597
 
598
598
 
599
- .base_c0144z_bxpb4df__1a10d31f{width:var(--plasma-date-picker-width);}.base_c0144z_bxpb4df__1a10d31f .base_c0144z_s1e76aix__1a10d31f{margin:var(--plasma-date-picker__label-offset);font-family:var(--plasma-date-picker__label-font-family);font-size:var(--plasma-date-picker__label-font-size);font-style:var(--plasma-date-picker__label-font-style);font-weight:var(--plasma-date-picker__label-font-weight);-webkit-letter-spacing:var(--plasma-date-picker__label-letter-spacing);-moz-letter-spacing:var(--plasma-date-picker__label-letter-spacing);-ms-letter-spacing:var(--plasma-date-picker__label-letter-spacing);letter-spacing:var(--plasma-date-picker__label-letter-spacing);line-height:var(--plasma-date-picker__label-line-height);}.base_c0144z_bxpb4df__1a10d31f .base_c0144z_l1jb75sx__1a10d31f{margin:var(--plasma-date-picker__left-helper-offset);font-family:var(--plasma-date-picker__left-helper-font-family);font-size:var(--plasma-date-picker__left-helper-font-size);font-style:var(--plasma-date-picker__left-helper-font-style);font-weight:var(--plasma-date-picker__left-helper-font-weight);-webkit-letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);-moz-letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);-ms-letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);line-height:var(--plasma-date-picker__left-helper-line-height);}
599
+ .base_1911nyw_bxpb4df__5db6cb4b{width:var(--plasma-date-picker-width);}.base_1911nyw_bxpb4df__5db6cb4b .base_1911nyw_ss94ai0__5db6cb4b{margin:var(--plasma-date-picker__label-offset);font-family:var(--plasma-date-picker__label-font-family);font-size:var(--plasma-date-picker__label-font-size);font-style:var(--plasma-date-picker__label-font-style);font-weight:var(--plasma-date-picker__label-font-weight);-webkit-letter-spacing:var(--plasma-date-picker__label-letter-spacing);-moz-letter-spacing:var(--plasma-date-picker__label-letter-spacing);-ms-letter-spacing:var(--plasma-date-picker__label-letter-spacing);letter-spacing:var(--plasma-date-picker__label-letter-spacing);line-height:var(--plasma-date-picker__label-line-height);}.base_1911nyw_bxpb4df__5db6cb4b .base_1911nyw_l1b381ow__5db6cb4b{margin:var(--plasma-date-picker__left-helper-offset);font-family:var(--plasma-date-picker__left-helper-font-family);font-size:var(--plasma-date-picker__left-helper-font-size);font-style:var(--plasma-date-picker__left-helper-font-style);font-weight:var(--plasma-date-picker__left-helper-font-weight);-webkit-letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);-moz-letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);-ms-letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);line-height:var(--plasma-date-picker__left-helper-line-height);}
600
600
 
601
- .base_1vly6xz_bcuyjma__8448b1f0 .base_1vly6xz_s1e76aix__8448b1f0{display:block;color:var(--plasma-date-picker__label-color);}.base_1vly6xz_bcuyjma__8448b1f0 .base_1vly6xz_l1jb75sx__8448b1f0{color:var(--plasma-date-picker__left-helper-color);}
601
+ .base_11yn9y8_bcuyjma__ffe2947a .base_11yn9y8_ss94ai0__ffe2947a{display:block;color:var(--plasma-date-picker__label-color);}.base_11yn9y8_bcuyjma__ffe2947a .base_11yn9y8_l1b381ow__ffe2947a{color:var(--plasma-date-picker__left-helper-color);}
602
602
 
603
603
  .base_tl4jc7_b1ld6e5k__7b050e65[disabled]{opacity:var(--plasma-date-picker-disabled-opacity);cursor:not-allowed;}
604
604
 
605
- .base_dhosc0_bc1qq8l__5bfa0a7a[readonly]{cursor:default;--plasma-date-picker-textfield-background-color-readonly:transparent;}.base_dhosc0_bc1qq8l__5bfa0a7a[readonly] .base_dhosc0_s1e76aix__5bfa0a7a{display:block;color:var(--plasma-date-picker__label-color-readonly);}.base_dhosc0_bc1qq8l__5bfa0a7a[readonly] .base_dhosc0_l1jb75sx__5bfa0a7a{color:var(--plasma-date-picker__left-helper-color-readonly);}
605
+ .base_f58pkk_bc1qq8l__c5322faa[readonly]{cursor:default;--plasma-date-picker-textfield-background-color-readonly:transparent;}.base_f58pkk_bc1qq8l__c5322faa[readonly] .base_f58pkk_ss94ai0__c5322faa{display:block;color:var(--plasma-date-picker__label-color-readonly);}.base_f58pkk_bc1qq8l__c5322faa[readonly] .base_f58pkk_l1b381ow__c5322faa{color:var(--plasma-date-picker__left-helper-color-readonly);}
606
606
 
607
607
 
608
- .DatePicker_styles_6cvsgx_s14tzje9__c9a8ecd6{--plasma-range-background:var(--plasma-date-picker_range-background);--plasma-range-background-error:var(--plasma-date-picker_range-background-error);--plasma-range-background-success:var(--plasma-date-picker_range-background-success);--plasma-range-border-color:var(--plasma-date-picker_range-border-color);--plasma-range-border-color-error:var(--plasma-date-picker_range-border-color-error);--plasma-range-border-color-success:var(--plasma-date-picker_range-border-color-success);--plasma-range-border-width:var(--plasma-date-picker-textfield-border-width);--plasma-range__divider-color:var(--plasma-date-picker_range__divider-color);--plasma-range__label-color:var(--plasma-date-picker__label-color);--plasma-range__left-helper-color:var(--plasma-date-picker__left-helper-color);--plasma-range-textfield-color:var(--plasma-date-picker-textfield-color);--plasma-range-textfield-placeholder-color:var(--plasma-date-picker-textfield-placeholder-color);--plasma-range-textfield-caret-color:var(--plasma-date-picker-textfield-caret-color);--plasma-range-textfield-background-color-focus:var(--plasma-date-picker-textfield-background-color-focus);--plasma-range-textfield-background-color-error:var(--plasma-date-picker-textfield-background-color-error);--plasma-range-textfield-background-color-error-focus:var(--plasma-date-picker-textfield-background-color-error-focus);--plasma-range-textfield-background-color-success:var(--plasma-date-picker-textfield-background-color-success);--plasma-range-textfield-background-color-success-focus:var(--plasma-date-picker-textfield-background-color-success-focus);--plasma-range-textfield-border-width:var(--plasma-date-picker-textfield-border-width);--plasma-range-textfield-border-color-focus:var(--plasma-date-picker-textfield-border-color-focus);--plasma-range-textfield-border-color-error:var(--plasma-date-picker-textfield-border-color-error);--plasma-range-textfield-border-color-error-focus:var(--plasma-date-picker-textfield-border-color-error-focus);--plasma-range-textfield-border-color-success:var(--plasma-date-picker-textfield-border-color-success);--plasma-range-textfield-border-color-success-focus:var(--plasma-date-picker-textfield-border-color-success-focus);--plasma-range-textfield__before-text-color:var(--plasma-date-picker-textfield__before-text-color);--plasma-range-textfield__after-text-color:var(--plasma-date-picker-textfield__after-text-color);--plasma-range-focus-color:var(--plasma-date-picker-focus-color);--plasma-range-border-radius:var(--plasma-date-picker_range-border-radius);--plasma-range__divider-padding:var(--plasma-date-picker_range__divider-padding);--plasma-range__divider-font-family:var(--plasma-date-picker_range__divider-font-family);--plasma-range__divider-font-style:var(--plasma-date-picker_range__divider-font-style);--plasma-range__divider-font-size:var(--plasma-date-picker_range__divider-font-size);--plasma-range__divider-font-weight:var(--plasma-date-picker_range__divider-font-weight);--plasma-range__divider-letter-spacing:var(--plasma-date-picker_range__divider-letter-spacing);--plasma-range__divider-line-height:var(--plasma-date-picker_range__divider-line-height);--plasma-range__left-content-margin:var(--plasma-date-picker_range__left-content-margin);--plasma-range__right-content-margin:var(--plasma-date-picker_range__right-content-margin);--plasma-range__label-offset:var(--plasma-date-picker__label-offset);--plasma-range__label-font-family:var(--plasma-date-picker__label-font-family);--plasma-range__label-font-style:var(--plasma-date-picker__label-font-style);--plasma-range__label-font-size:var(--plasma-date-picker__label-font-size);--plasma-range__label-font-weight:var(--plasma-date-picker__label-font-weight);--plasma-range__label-letter-spacing:var(--plasma-date-picker__label-letter-spacing);--plasma-range__label-line-height:var(--plasma-date-picker__label-line-height);--plasma-range-textfield-height:var(--plasma-date-picker-textfield-height);--plasma-range-textfield-border-radius:var(--plasma-date-picker-textfield-border-radius);--plasma-range-textfield-padding:var(--plasma-date-picker-textfield-padding);--plasma-range-textfield-font-family:var(--plasma-date-picker-textfield-font-family);--plasma-range-textfield-font-style:var(--plasma-date-picker-textfield-font-style);--plasma-range-textfield-font-size:var(--plasma-date-picker-textfield-font-size);--plasma-range-textfield-font-weight:var(--plasma-date-picker-textfield-font-weight);--plasma-range-textfield-letter-spacing:var(--plasma-date-picker-textfield-letter-spacing);--plasma-range-textfield-line-height:var(--plasma-date-picker-textfield-line-height);--plasma-range__left-helper-offset:var(--plasma-date-picker__left-helper-offset);--plasma-range__left-helper-font-family:var(--plasma-date-picker__left-helper-font-family);--plasma-range__left-helper-font-style:var(--plasma-date-picker__left-helper-font-style);--plasma-range__left-helper-font-size:var(--plasma-date-picker__left-helper-font-size);--plasma-range__left-helper-font-weight:var(--plasma-date-picker__left-helper-font-weight);--plasma-range__left-helper-letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);--plasma-range__left-helper-line-height:var(--plasma-date-picker__left-helper-line-height);--plasma-range-textfield__left-content-margin:var(--plasma-date-picker-textfield__left-content-margin);--plasma-range-textfield__right-content-margin:var(--plasma-date-picker-textfield__right-content-margin);--plasma-range-textfield__before-text-margin:var(--plasma-date-picker-textfield__before-text-margin);--plasma-range-textfield__after-text-margin:var(--plasma-date-picker-textfield__after-text-margin);--plasma-range-background-readonly:var(--plasma-date-picker_range-background-readonly);--plasma-range__label-color-readonly:var(--plasma-date-picker__label-color-readonly);--plasma-range__left-helper-color-readonly:var(--plasma-date-picker__left-helper-color-readonly);--plasma-range__divider-color-readonly:var(--plasma-date-picker_range__divider-color-readonly);--plasma-range-textfield-color-readonly:var(--plasma-date-picker-textfield-color-readonly);--plasma-range-textfield-background-color-readonly:var(--plasma-date-picker-textfield-background-color-readonly);--plasma-range-textfield-placeholder-color-readonly:var(--plasma-date-picker-textfield-placeholder-color-readonly);}
609
- .DatePicker_styles_6cvsgx_b1mbbfog__c9a8ecd6{display:inline-block;}
608
+ .RangeDate_styles_ww61h9_s1sos0hp__aa87bb58{--plasma-range-background:var(--plasma-date-picker_range-background);--plasma-range-background-error:var(--plasma-date-picker_range-background-error);--plasma-range-background-success:var(--plasma-date-picker_range-background-success);--plasma-range-border-color:var(--plasma-date-picker_range-border-color);--plasma-range-border-color-error:var(--plasma-date-picker_range-border-color-error);--plasma-range-border-color-success:var(--plasma-date-picker_range-border-color-success);--plasma-range-border-width:var(--plasma-date-picker-textfield-border-width);--plasma-range__divider-color:var(--plasma-date-picker_range__divider-color);--plasma-range__label-color:var(--plasma-date-picker__label-color);--plasma-range__left-helper-color:var(--plasma-date-picker__left-helper-color);--plasma-range-textfield-color:var(--plasma-date-picker-textfield-color);--plasma-range-textfield-placeholder-color:var(--plasma-date-picker-textfield-placeholder-color);--plasma-range-textfield-caret-color:var(--plasma-date-picker-textfield-caret-color);--plasma-range-textfield-background-color-focus:var(--plasma-date-picker-textfield-background-color-focus);--plasma-range-textfield-background-color-error:var(--plasma-date-picker-textfield-background-color-error);--plasma-range-textfield-background-color-error-focus:var(--plasma-date-picker-textfield-background-color-error-focus);--plasma-range-textfield-background-color-success:var(--plasma-date-picker-textfield-background-color-success);--plasma-range-textfield-background-color-success-focus:var(--plasma-date-picker-textfield-background-color-success-focus);--plasma-range-textfield-border-width:var(--plasma-date-picker-textfield-border-width);--plasma-range-textfield-border-color-focus:var(--plasma-date-picker-textfield-border-color-focus);--plasma-range-textfield-border-color-error:var(--plasma-date-picker-textfield-border-color-error);--plasma-range-textfield-border-color-error-focus:var(--plasma-date-picker-textfield-border-color-error-focus);--plasma-range-textfield-border-color-success:var(--plasma-date-picker-textfield-border-color-success);--plasma-range-textfield-border-color-success-focus:var(--plasma-date-picker-textfield-border-color-success-focus);--plasma-range-textfield__before-text-color:var(--plasma-date-picker-textfield__before-text-color);--plasma-range-textfield__after-text-color:var(--plasma-date-picker-textfield__after-text-color);--plasma-range-focus-color:var(--plasma-date-picker-focus-color);--plasma-range-border-radius:var(--plasma-date-picker_range-border-radius);--plasma-range__divider-padding:var(--plasma-date-picker_range__divider-padding);--plasma-range__divider-font-family:var(--plasma-date-picker_range__divider-font-family);--plasma-range__divider-font-style:var(--plasma-date-picker_range__divider-font-style);--plasma-range__divider-font-size:var(--plasma-date-picker_range__divider-font-size);--plasma-range__divider-font-weight:var(--plasma-date-picker_range__divider-font-weight);--plasma-range__divider-letter-spacing:var(--plasma-date-picker_range__divider-letter-spacing);--plasma-range__divider-line-height:var(--plasma-date-picker_range__divider-line-height);--plasma-range__left-content-margin:var(--plasma-date-picker_range__left-content-margin);--plasma-range__right-content-margin:var(--plasma-date-picker_range__right-content-margin);--plasma-range__label-offset:var(--plasma-date-picker__label-offset);--plasma-range__label-font-family:var(--plasma-date-picker__label-font-family);--plasma-range__label-font-style:var(--plasma-date-picker__label-font-style);--plasma-range__label-font-size:var(--plasma-date-picker__label-font-size);--plasma-range__label-font-weight:var(--plasma-date-picker__label-font-weight);--plasma-range__label-letter-spacing:var(--plasma-date-picker__label-letter-spacing);--plasma-range__label-line-height:var(--plasma-date-picker__label-line-height);--plasma-range-textfield-height:var(--plasma-date-picker-textfield-height);--plasma-range-textfield-border-radius:var(--plasma-date-picker-textfield-border-radius);--plasma-range-textfield-padding:var(--plasma-date-picker-textfield-padding);--plasma-range-textfield-font-family:var(--plasma-date-picker-textfield-font-family);--plasma-range-textfield-font-style:var(--plasma-date-picker-textfield-font-style);--plasma-range-textfield-font-size:var(--plasma-date-picker-textfield-font-size);--plasma-range-textfield-font-weight:var(--plasma-date-picker-textfield-font-weight);--plasma-range-textfield-letter-spacing:var(--plasma-date-picker-textfield-letter-spacing);--plasma-range-textfield-line-height:var(--plasma-date-picker-textfield-line-height);--plasma-range__left-helper-offset:var(--plasma-date-picker__left-helper-offset);--plasma-range__left-helper-font-family:var(--plasma-date-picker__left-helper-font-family);--plasma-range__left-helper-font-style:var(--plasma-date-picker__left-helper-font-style);--plasma-range__left-helper-font-size:var(--plasma-date-picker__left-helper-font-size);--plasma-range__left-helper-font-weight:var(--plasma-date-picker__left-helper-font-weight);--plasma-range__left-helper-letter-spacing:var(--plasma-date-picker__left-helper-letter-spacing);--plasma-range__left-helper-line-height:var(--plasma-date-picker__left-helper-line-height);--plasma-range-textfield__left-content-margin:var(--plasma-date-picker-textfield__left-content-margin);--plasma-range-textfield__right-content-margin:var(--plasma-date-picker-textfield__right-content-margin);--plasma-range-textfield__before-text-margin:var(--plasma-date-picker-textfield__before-text-margin);--plasma-range-textfield__after-text-margin:var(--plasma-date-picker-textfield__after-text-margin);--plasma-range-background-readonly:var(--plasma-date-picker_range-background-readonly);--plasma-range__label-color-readonly:var(--plasma-date-picker__label-color-readonly);--plasma-range__left-helper-color-readonly:var(--plasma-date-picker__left-helper-color-readonly);--plasma-range__divider-color-readonly:var(--plasma-date-picker_range__divider-color-readonly);--plasma-range-textfield-color-readonly:var(--plasma-date-picker-textfield-color-readonly);--plasma-range-textfield-background-color-readonly:var(--plasma-date-picker-textfield-background-color-readonly);--plasma-range-textfield-placeholder-color-readonly:var(--plasma-date-picker-textfield-placeholder-color-readonly);}
609
+ .RangeDate_styles_ww61h9_b1x6qh3t__aa87bb58{display:inline-block;}
610
610
 
611
611
 
612
612
 
package/es/index.js CHANGED
@@ -175,8 +175,8 @@ export { ThumbBase } from './components/Slider/ui/Thumb/Thumb.styles.js';
175
175
  import '@linaria/react';
176
176
  export { rangeConfig, rangeRoot } from './components/Range/Range.js';
177
177
  export { tokens as rangeTokens } from './components/Range/Range.tokens.js';
178
- export { datePickerConfig, datePickerRoot } from './components/DatePicker/SingleDate/DatePicker.js';
179
- export { datePickerRangeConfig, datePickerRangeRoot } from './components/DatePicker/RangeDate/DatePicker.js';
178
+ export { datePickerConfig, datePickerRoot } from './components/DatePicker/SingleDate/SingleDate.js';
179
+ export { datePickerRangeConfig, datePickerRangeRoot } from './components/DatePicker/RangeDate/RangeDate.js';
180
180
  export { classes as datePickerClasses, tokens as datePickerTokens } from './components/DatePicker/DatePicker.tokens.js';
181
181
  export { component, mergeConfig } from './engines/common.js';
182
182
  export { canUseDOM } from './utils/canUseDOM.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-new-hope",
3
- "version": "0.88.0-canary.1224.9504044130.0",
3
+ "version": "0.88.0-canary.1224.9514350339.0",
4
4
  "description": "Salute Design System blueprint",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -104,5 +104,5 @@
104
104
  "react-popper": "2.3.0",
105
105
  "storeon": "3.1.5"
106
106
  },
107
- "gitHead": "20bdbcc41e149ca61dc5485f4b387f5831f795d2"
107
+ "gitHead": "7e798da9f5fa182c4651747a75d725f939d6cad6"
108
108
  }
@@ -141,6 +141,11 @@ var calendarDoubleRoot = exports.calendarDoubleRoot = function calendarDoubleRoo
141
141
  }
142
142
  setPrevValue(value);
143
143
  }
144
+ (0, _react.useEffect)(function () {
145
+ if (!prevValue) {
146
+ setPrevValue(value);
147
+ }
148
+ }, [value, prevValue]);
144
149
  return /*#__PURE__*/_react["default"].createElement(Root, _extends({
145
150
  ref: outerRootRef,
146
151
  "aria-label": "\u0412\u044B\u0431\u043E\u0440 \u0434\u0430\u0442\u044B"
@@ -14,7 +14,7 @@ var _base = /*#__PURE__*/require("./variations/_size/base");
14
14
  var _base2 = /*#__PURE__*/require("./variations/_view/base");
15
15
  var _base3 = /*#__PURE__*/require("./variations/_disabled/base");
16
16
  var _base4 = /*#__PURE__*/require("./variations/_readonly/base");
17
- var _DatePicker2 = /*#__PURE__*/require("./DatePicker.styles");
17
+ var _RangeDate = /*#__PURE__*/require("./RangeDate.styles");
18
18
  var _RangeDatePopover = /*#__PURE__*/require("./RangeDatePopover/RangeDatePopover");
19
19
  var _excluded = ["className", "isDoubleCalendar", "isOpen", "label", "leftHelper", "contentLeft", "contentRight", "view", "size", "readOnly", "disabled", "dividerVariant", "dividerIcon", "defaultFirstDate", "defaultSecondDate", "firstValueError", "secondValueError", "firstValueSuccess", "secondValueSuccess", "firstPlaceholder", "secondPlaceholder", "firstTextfieldContentLeft", "firstTextfieldContentRight", "secondTextfieldContentLeft", "secondTextfieldContentRight", "firstTextfieldTextBefore", "secondTextfieldTextBefore", "firstTextfieldTextAfter", "secondTextfieldTextAfter", "format", "maskWithFormat", "min", "max", "includeEdgeDates", "eventList", "disabledList", "type", "placement", "closeOnOverlayClick", "closeOnEsc", "offset", "onToggle", "onChangeFirstValue", "onChangeSecondValue", "onCommitFirstDate", "onCommitSecondDate", "onFocusFirstTextfield", "onFocusSecondTextfield", "onBlurFirstTextfield", "onBlurSecondTextfield"];
20
20
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
@@ -175,7 +175,7 @@ var datePickerRangeRoot = exports.datePickerRangeRoot = function datePickerRange
175
175
  }
176
176
  setIsInnerOpen(isCalendarOpen);
177
177
  };
178
- var RangeComponent = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_DatePicker2.StyledRange, {
178
+ var RangeComponent = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_RangeDate.StyledRange, {
179
179
  ref: rangeRef,
180
180
  dividerIcon: dividerIcon,
181
181
  dividerVariant: dividerVariant,
@@ -232,7 +232,7 @@ var datePickerRangeRoot = exports.datePickerRangeRoot = function datePickerRange
232
232
  className: (0, _utils.cx)(_DatePicker.classes.datePickerRoot, className),
233
233
  disabled: disabled,
234
234
  readOnly: !disabled && readOnly
235
- }, rest), label && /*#__PURE__*/_react["default"].createElement(_DatePicker2.StyledLabel, null, label), /*#__PURE__*/_react["default"].createElement(_RangeDatePopover.RangeDatePopover, {
235
+ }, rest), label && /*#__PURE__*/_react["default"].createElement(_RangeDate.StyledLabel, null, label), /*#__PURE__*/_react["default"].createElement(_RangeDatePopover.RangeDatePopover, {
236
236
  calendarValue: [calendarFirstValue, calendarSecondValue],
237
237
  target: RangeComponent,
238
238
  isOpen: isOpen || isInnerOpen,
@@ -262,14 +262,14 @@ var datePickerRangeRoot = exports.datePickerRangeRoot = function datePickerRange
262
262
  setIsInnerOpen(false);
263
263
  }
264
264
  }
265
- }), leftHelper && /*#__PURE__*/_react["default"].createElement(_DatePicker2.LeftHelper, null, leftHelper));
265
+ }), leftHelper && /*#__PURE__*/_react["default"].createElement(_RangeDate.LeftHelper, null, leftHelper));
266
266
  });
267
267
  };
268
268
  var datePickerRangeConfig = exports.datePickerRangeConfig = {
269
269
  name: 'DatePickerRange',
270
270
  tag: 'div',
271
271
  layout: datePickerRangeRoot,
272
- base: _DatePicker2.base,
272
+ base: _RangeDate.base,
273
273
  variations: {
274
274
  view: {
275
275
  css: _base2.base
@@ -17,17 +17,17 @@ var Range = /*#__PURE__*/(0, _engines.component)(mergedRangeConfig);
17
17
  var mergedPopoverConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Popover.popoverConfig);
18
18
  var Popover = /*#__PURE__*/(0, _engines.component)(mergedPopoverConfig);
19
19
  var StyledPopover = exports.StyledPopover = /*#__PURE__*/(0, _styledComponents["default"])(Popover).withConfig({
20
- componentId: "plasma-new-hope__sc-zxqgpy-0"
20
+ componentId: "plasma-new-hope__sc-14j95rs-0"
21
21
  })([""]);
22
22
 
23
23
  // NOTE: переопределение токенов Range
24
24
  var StyledRange = exports.StyledRange = /*#__PURE__*/(0, _styledComponents["default"])(Range).withConfig({
25
- componentId: "plasma-new-hope__sc-zxqgpy-1"
25
+ componentId: "plasma-new-hope__sc-14j95rs-1"
26
26
  })(["", ":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(", ");", ":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(", ");"], _Range.rangeTokens.background, _DatePicker.tokens.background, _Range.rangeTokens.backgroundError, _DatePicker.tokens.backgroundError, _Range.rangeTokens.backgroundSuccess, _DatePicker.tokens.backgroundSuccess, _Range.rangeTokens.borderColor, _DatePicker.tokens.borderColor, _Range.rangeTokens.borderColorError, _DatePicker.tokens.borderColorError, _Range.rangeTokens.borderColorSuccess, _DatePicker.tokens.borderColorSuccess, _Range.rangeTokens.borderWidth, _DatePicker.tokens.textFieldBorderWidth, _Range.rangeTokens.dividerColor, _DatePicker.tokens.dividerColor, _Range.rangeTokens.labelColor, _DatePicker.tokens.labelColor, _Range.rangeTokens.leftHelperColor, _DatePicker.tokens.leftHelperColor, _Range.rangeTokens.textFieldColor, _DatePicker.tokens.textFieldColor, _Range.rangeTokens.textFieldPlaceholderColor, _DatePicker.tokens.textFieldPlaceholderColor, _Range.rangeTokens.textFieldCaretColor, _DatePicker.tokens.textFieldCaretColor, _Range.rangeTokens.textFieldBackgroundColorFocus, _DatePicker.tokens.textFieldBackgroundColorFocus, _Range.rangeTokens.textFieldBackgroundErrorColor, _DatePicker.tokens.textFieldBackgroundErrorColor, _Range.rangeTokens.textFieldBackgroundErrorColorFocus, _DatePicker.tokens.textFieldBackgroundErrorColorFocus, _Range.rangeTokens.textFieldBackgroundSuccessColor, _DatePicker.tokens.textFieldBackgroundSuccessColor, _Range.rangeTokens.textFieldBackgroundSuccessColorFocus, _DatePicker.tokens.textFieldBackgroundSuccessColorFocus, _Range.rangeTokens.textFieldBorderWidth, _DatePicker.tokens.textFieldBorderWidth, _Range.rangeTokens.textFieldBorderColorFocus, _DatePicker.tokens.textFieldBorderColorFocus, _Range.rangeTokens.textFieldBorderColorError, _DatePicker.tokens.textFieldBorderColorError, _Range.rangeTokens.textFieldBorderColorErrorFocus, _DatePicker.tokens.textFieldBorderColorErrorFocus, _Range.rangeTokens.textFieldBorderColorSuccess, _DatePicker.tokens.textFieldBorderColorSuccess, _Range.rangeTokens.textFieldBorderColorSuccessFocus, _DatePicker.tokens.textFieldBorderColorSuccessFocus, _Range.rangeTokens.textFieldTextBeforeColor, _DatePicker.tokens.textFieldTextBeforeColor, _Range.rangeTokens.textFieldTextAfterColor, _DatePicker.tokens.textFieldTextAfterColor, _Range.rangeTokens.focusColor, _DatePicker.tokens.focusColor, _Range.rangeTokens.borderRadius, _DatePicker.tokens.borderRadius, _Range.rangeTokens.dividerPadding, _DatePicker.tokens.dividerPadding, _Range.rangeTokens.dividerFontFamily, _DatePicker.tokens.dividerFontFamily, _Range.rangeTokens.dividerFontStyle, _DatePicker.tokens.dividerFontStyle, _Range.rangeTokens.dividerFontSize, _DatePicker.tokens.dividerFontSize, _Range.rangeTokens.dividerFontWeight, _DatePicker.tokens.dividerFontWeight, _Range.rangeTokens.dividerLetterSpacing, _DatePicker.tokens.dividerLetterSpacing, _Range.rangeTokens.dividerLineHeight, _DatePicker.tokens.dividerLineHeight, _Range.rangeTokens.leftContentMargin, _DatePicker.tokens.leftContentMargin, _Range.rangeTokens.rightContentMargin, _DatePicker.tokens.rightContentMargin, _Range.rangeTokens.labelOffset, _DatePicker.tokens.labelOffset, _Range.rangeTokens.labelFontFamily, _DatePicker.tokens.labelFontFamily, _Range.rangeTokens.labelFontStyle, _DatePicker.tokens.labelFontStyle, _Range.rangeTokens.labelFontSize, _DatePicker.tokens.labelFontSize, _Range.rangeTokens.labelFontWeight, _DatePicker.tokens.labelFontWeight, _Range.rangeTokens.labelLetterSpacing, _DatePicker.tokens.labelLetterSpacing, _Range.rangeTokens.labelLineHeight, _DatePicker.tokens.labelLineHeight, _Range.rangeTokens.textFieldHeight, _DatePicker.tokens.textFieldHeight, _Range.rangeTokens.textFieldBorderRadius, _DatePicker.tokens.textFieldBorderRadius, _Range.rangeTokens.textFieldPadding, _DatePicker.tokens.textFieldPadding, _Range.rangeTokens.textFieldFontFamily, _DatePicker.tokens.textFieldFontFamily, _Range.rangeTokens.textFieldFontStyle, _DatePicker.tokens.textFieldFontStyle, _Range.rangeTokens.textFieldFontSize, _DatePicker.tokens.textFieldFontSize, _Range.rangeTokens.textFieldFontWeight, _DatePicker.tokens.textFieldFontWeight, _Range.rangeTokens.textFieldLetterSpacing, _DatePicker.tokens.textFieldLetterSpacing, _Range.rangeTokens.textFieldLineHeight, _DatePicker.tokens.textFieldLineHeight, _Range.rangeTokens.leftHelperOffset, _DatePicker.tokens.leftHelperOffset, _Range.rangeTokens.leftHelperFontFamily, _DatePicker.tokens.leftHelperFontFamily, _Range.rangeTokens.leftHelperFontStyle, _DatePicker.tokens.leftHelperFontStyle, _Range.rangeTokens.leftHelperFontSize, _DatePicker.tokens.leftHelperFontSize, _Range.rangeTokens.leftHelperFontWeight, _DatePicker.tokens.leftHelperFontWeight, _Range.rangeTokens.leftHelperLetterSpacing, _DatePicker.tokens.leftHelperLetterSpacing, _Range.rangeTokens.leftHelperLineHeight, _DatePicker.tokens.leftHelperLineHeight, _Range.rangeTokens.textFieldLeftContentMargin, _DatePicker.tokens.textFieldLeftContentMargin, _Range.rangeTokens.textFieldRightContentMargin, _DatePicker.tokens.textFieldRightContentMargin, _Range.rangeTokens.textFieldTextBeforeMargin, _DatePicker.tokens.textFieldTextBeforeMargin, _Range.rangeTokens.textFieldTextAfterMargin, _DatePicker.tokens.textFieldTextAfterMargin, _Range.rangeTokens.backgroundReadOnly, _DatePicker.tokens.backgroundReadOnly, _Range.rangeTokens.labelColorReadOnly, _DatePicker.tokens.labelColorReadOnly, _Range.rangeTokens.leftHelperColorReadOnly, _DatePicker.tokens.leftHelperColorReadOnly, _Range.rangeTokens.dividerColorReadOnly, _DatePicker.tokens.dividerColorReadOnly, _Range.rangeTokens.textFieldColorReadOnly, _DatePicker.tokens.textFieldColorReadOnly, _Range.rangeTokens.textFieldBackgroundColorReadOnly, _DatePicker.tokens.textFieldBackgroundColorReadOnly, _Range.rangeTokens.textFieldPlaceholderColorReadOnly, _DatePicker.tokens.textFieldPlaceholderColorReadOnly);
27
27
  var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["display:inline-block;"]);
28
28
  var StyledLabel = exports.StyledLabel = /*#__PURE__*/_styledComponents["default"].label.withConfig({
29
- componentId: "plasma-new-hope__sc-zxqgpy-2"
29
+ componentId: "plasma-new-hope__sc-14j95rs-2"
30
30
  })([""]);
31
31
  var LeftHelper = exports.LeftHelper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
32
- componentId: "plasma-new-hope__sc-zxqgpy-3"
32
+ componentId: "plasma-new-hope__sc-14j95rs-3"
33
33
  })([""]);
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.RangeDatePopover = void 0;
7
7
  var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
8
  var _utils = /*#__PURE__*/require("../../../../utils");
9
- var _DatePicker = /*#__PURE__*/require("../DatePicker.styles");
9
+ var _RangeDate = /*#__PURE__*/require("../RangeDate.styles");
10
10
  var _RangeDatePopover = /*#__PURE__*/require("./RangeDatePopover.styles");
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
12
  var RangeDatePopover = exports.RangeDatePopover = function RangeDatePopover(_ref) {
@@ -31,7 +31,7 @@ var RangeDatePopover = exports.RangeDatePopover = function RangeDatePopover(_ref
31
31
  onChangeStartOfRange = _ref.onChangeStartOfRange,
32
32
  onToggle = _ref.onToggle;
33
33
  if (isDoubleCalendar) {
34
- return /*#__PURE__*/_react["default"].createElement(_DatePicker.StyledPopover, {
34
+ return /*#__PURE__*/_react["default"].createElement(_RangeDate.StyledPopover, {
35
35
  isOpen: isOpen,
36
36
  usePortal: false,
37
37
  onToggle: onToggle,
@@ -54,7 +54,7 @@ var RangeDatePopover = exports.RangeDatePopover = function RangeDatePopover(_ref
54
54
  onChangeStartOfRange: onChangeStartOfRange
55
55
  }));
56
56
  }
57
- return /*#__PURE__*/_react["default"].createElement(_DatePicker.StyledPopover, {
57
+ return /*#__PURE__*/_react["default"].createElement(_RangeDate.StyledPopover, {
58
58
  isOpen: isOpen,
59
59
  usePortal: false,
60
60
  onToggle: onToggle,
@@ -6,5 +6,5 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
8
  var _DatePicker = /*#__PURE__*/require("../../../DatePicker.tokens");
9
- var _DatePicker2 = /*#__PURE__*/require("../../DatePicker.styles");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&[readonly]{cursor:default;", ":transparent;", "{display:block;color:var(", ");}", "{color:var(", ");}}"], _DatePicker.tokens.textFieldBackgroundColorReadOnly, _DatePicker2.StyledLabel, _DatePicker.tokens.labelColorReadOnly, _DatePicker2.LeftHelper, _DatePicker.tokens.leftHelperColorReadOnly);
9
+ var _RangeDate = /*#__PURE__*/require("../../RangeDate.styles");
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&[readonly]{cursor:default;", ":transparent;", "{display:block;color:var(", ");}", "{color:var(", ");}}"], _DatePicker.tokens.textFieldBackgroundColorReadOnly, _RangeDate.StyledLabel, _DatePicker.tokens.labelColorReadOnly, _RangeDate.LeftHelper, _DatePicker.tokens.leftHelperColorReadOnly);
@@ -6,5 +6,5 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
8
  var _DatePicker = /*#__PURE__*/require("../../../DatePicker.tokens");
9
- var _DatePicker2 = /*#__PURE__*/require("../../DatePicker.styles");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.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(", ");}"], _DatePicker.tokens.width, _DatePicker2.StyledLabel, _DatePicker.tokens.labelOffset, _DatePicker.tokens.labelFontFamily, _DatePicker.tokens.labelFontSize, _DatePicker.tokens.labelFontStyle, _DatePicker.tokens.labelFontWeight, _DatePicker.tokens.labelLetterSpacing, _DatePicker.tokens.labelLineHeight, _DatePicker2.LeftHelper, _DatePicker.tokens.leftHelperOffset, _DatePicker.tokens.leftHelperFontFamily, _DatePicker.tokens.leftHelperFontSize, _DatePicker.tokens.leftHelperFontStyle, _DatePicker.tokens.leftHelperFontWeight, _DatePicker.tokens.leftHelperLetterSpacing, _DatePicker.tokens.leftHelperLineHeight);
9
+ var _RangeDate = /*#__PURE__*/require("../../RangeDate.styles");
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.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(", ");}"], _DatePicker.tokens.width, _RangeDate.StyledLabel, _DatePicker.tokens.labelOffset, _DatePicker.tokens.labelFontFamily, _DatePicker.tokens.labelFontSize, _DatePicker.tokens.labelFontStyle, _DatePicker.tokens.labelFontWeight, _DatePicker.tokens.labelLetterSpacing, _DatePicker.tokens.labelLineHeight, _RangeDate.LeftHelper, _DatePicker.tokens.leftHelperOffset, _DatePicker.tokens.leftHelperFontFamily, _DatePicker.tokens.leftHelperFontSize, _DatePicker.tokens.leftHelperFontStyle, _DatePicker.tokens.leftHelperFontWeight, _DatePicker.tokens.leftHelperLetterSpacing, _DatePicker.tokens.leftHelperLineHeight);
@@ -5,6 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
- var _DatePicker = /*#__PURE__*/require("../../DatePicker.styles");
9
- var _DatePicker2 = /*#__PURE__*/require("../../../DatePicker.tokens");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{display:block;color:var(", ");}", "{color:var(", ");}"], _DatePicker.StyledLabel, _DatePicker2.tokens.labelColor, _DatePicker.LeftHelper, _DatePicker2.tokens.leftHelperColor);
8
+ var _RangeDate = /*#__PURE__*/require("../../RangeDate.styles");
9
+ var _DatePicker = /*#__PURE__*/require("../../../DatePicker.tokens");
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{display:block;color:var(", ");}", "{color:var(", ");}"], _RangeDate.StyledLabel, _DatePicker.tokens.labelColor, _RangeDate.LeftHelper, _DatePicker.tokens.leftHelperColor);
@@ -15,7 +15,7 @@ var _base = /*#__PURE__*/require("./variations/_size/base");
15
15
  var _base2 = /*#__PURE__*/require("./variations/_view/base");
16
16
  var _base3 = /*#__PURE__*/require("./variations/_disabled/base");
17
17
  var _base4 = /*#__PURE__*/require("./variations/_readonly/base");
18
- var _DatePicker2 = /*#__PURE__*/require("./DatePicker.styles");
18
+ var _SingleDate = /*#__PURE__*/require("./SingleDate.styles");
19
19
  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"];
20
20
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
21
21
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
@@ -110,7 +110,7 @@ var datePickerRoot = exports.datePickerRoot = function datePickerRoot(Root) {
110
110
  handleToggle = _useDatePicker.handleToggle,
111
111
  handleChangeValue = _useDatePicker.handleChangeValue,
112
112
  handleCommitDate = _useDatePicker.handleCommitDate;
113
- var DatePickerInput = /*#__PURE__*/_react["default"].createElement(_DatePicker2.StyledInput, {
113
+ var DatePickerInput = /*#__PURE__*/_react["default"].createElement(_SingleDate.StyledInput, {
114
114
  ref: inputRef,
115
115
  className: (0, _utils.cx)(datePickerErrorClass, datePickerSuccessClass),
116
116
  value: inputValue,
@@ -135,7 +135,7 @@ var datePickerRoot = exports.datePickerRoot = function datePickerRoot(Root) {
135
135
  disabled: disabled,
136
136
  readOnly: !disabled && readOnly,
137
137
  ref: ref
138
- }, rest), label && /*#__PURE__*/_react["default"].createElement(_DatePicker2.StyledLabel, null, label), /*#__PURE__*/_react["default"].createElement(_DatePicker2.StyledPopover, {
138
+ }, rest), label && /*#__PURE__*/_react["default"].createElement(_SingleDate.StyledLabel, null, label), /*#__PURE__*/_react["default"].createElement(_SingleDate.StyledPopover, {
139
139
  isOpen: isOpen || isInnerOpen,
140
140
  usePortal: false,
141
141
  onToggle: handleToggle,
@@ -159,14 +159,14 @@ var datePickerRoot = exports.datePickerRoot = function datePickerRoot(Root) {
159
159
  onChangeValue: function onChangeValue(date) {
160
160
  return handleCommitDate(date, false, true);
161
161
  }
162
- })), leftHelper && /*#__PURE__*/_react["default"].createElement(_DatePicker2.LeftHelper, null, leftHelper));
162
+ })), leftHelper && /*#__PURE__*/_react["default"].createElement(_SingleDate.LeftHelper, null, leftHelper));
163
163
  });
164
164
  };
165
165
  var datePickerConfig = exports.datePickerConfig = {
166
166
  name: 'DatePicker',
167
167
  tag: 'div',
168
168
  layout: datePickerRoot,
169
- base: _DatePicker2.base,
169
+ base: _SingleDate.base,
170
170
  variations: {
171
171
  view: {
172
172
  css: _base2.base
@@ -17,17 +17,17 @@ var TextField = /*#__PURE__*/(0, _engines.component)(mergedTextFieldConfig);
17
17
  var mergedPopoverConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Popover.popoverConfig);
18
18
  var Popover = /*#__PURE__*/(0, _engines.component)(mergedPopoverConfig);
19
19
  var StyledPopover = exports.StyledPopover = /*#__PURE__*/(0, _styledComponents["default"])(Popover).withConfig({
20
- componentId: "plasma-new-hope__sc-1ohdd6s-0"
20
+ componentId: "plasma-new-hope__sc-1ye0xbz-0"
21
21
  })([""]);
22
22
 
23
23
  // NOTE: переопределение токенов TextField
24
24
  var StyledInput = exports.StyledInput = /*#__PURE__*/(0, _styledComponents["default"])(TextField).withConfig({
25
- componentId: "plasma-new-hope__sc-1ohdd6s-1"
25
+ componentId: "plasma-new-hope__sc-1ye0xbz-1"
26
26
  })([" ", ":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(", ");}"], _TextField.textFieldTokens.color, _DatePicker.tokens.textFieldColor, _TextField.textFieldTokens.placeholderColor, _DatePicker.tokens.textFieldPlaceholderColor, _TextField.textFieldTokens.caretColor, _DatePicker.tokens.textFieldCaretColor, _TextField.textFieldTokens.focusColor, _DatePicker.tokens.textFieldFocusColor, _TextField.textFieldTokens.backgroundColor, _DatePicker.tokens.textFieldBackgroundColor, _TextField.textFieldTokens.backgroundColorHover, _DatePicker.tokens.textFieldBackgroundColorHover, _TextField.textFieldTokens.backgroundColorFocus, _DatePicker.tokens.textFieldBackgroundColorFocus, _TextField.textFieldTokens.borderColor, _DatePicker.tokens.borderColor, _TextField.textFieldTokens.borderColorHover, _DatePicker.tokens.borderColorHover, _TextField.textFieldTokens.borderColorFocus, _DatePicker.tokens.borderColorFocus, _TextField.textFieldTokens.colorReadOnly, _DatePicker.tokens.textFieldColorReadOnly, _TextField.textFieldTokens.backgroundColorReadOnly, _DatePicker.tokens.textFieldBackgroundColorReadOnly, _TextField.textFieldTokens.borderColorReadOnly, _DatePicker.tokens.textFieldBorderColorReadOnly, _TextField.textFieldTokens.placeholderColorReadOnly, _DatePicker.tokens.textFieldPlaceholderColorReadOnly, _TextField.textFieldTokens.height, _DatePicker.tokens.textFieldHeight, _TextField.textFieldTokens.borderWidth, _DatePicker.tokens.textFieldBorderWidth, _TextField.textFieldTokens.borderRadius, _DatePicker.tokens.textFieldBorderRadius, _TextField.textFieldTokens.padding, _DatePicker.tokens.textFieldPadding, _TextField.textFieldTokens.leftContentMargin, _DatePicker.tokens.textFieldLeftContentMargin, _TextField.textFieldTokens.rightContentMargin, _DatePicker.tokens.textFieldRightContentMargin, _TextField.textFieldTokens.fontFamily, _DatePicker.tokens.textFieldFontFamily, _TextField.textFieldTokens.fontSize, _DatePicker.tokens.textFieldFontSize, _TextField.textFieldTokens.fontStyle, _DatePicker.tokens.textFieldFontStyle, _TextField.textFieldTokens.fontWeight, _DatePicker.tokens.textFieldFontWeight, _TextField.textFieldTokens.letterSpacing, _DatePicker.tokens.textFieldLetterSpacing, _TextField.textFieldTokens.lineHeight, _DatePicker.tokens.textFieldLineHeight, _TextField.textFieldTokens.disabledOpacity, _DatePicker.tokens.disabledOpacity, _TextField.textFieldTokens.textBeforeColor, _DatePicker.tokens.textFieldTextBeforeColor, _TextField.textFieldTokens.textAfterColor, _DatePicker.tokens.textFieldTextAfterColor, _TextField.textFieldTokens.textBeforeMargin, _DatePicker.tokens.textFieldTextBeforeMargin, _TextField.textFieldTokens.textAfterMargin, _DatePicker.tokens.textFieldTextAfterMargin, _DatePicker.classes.datePickerError, _TextField.textFieldTokens.backgroundColor, _DatePicker.tokens.textFieldBackgroundErrorColor, _TextField.textFieldTokens.backgroundColorHover, _DatePicker.tokens.textFieldBackgroundErrorColorHover, _TextField.textFieldTokens.backgroundColorFocus, _DatePicker.tokens.textFieldBackgroundErrorColorFocus, _TextField.textFieldTokens.borderColor, _DatePicker.tokens.textFieldBorderColorError, _TextField.textFieldTokens.borderColorHover, _DatePicker.tokens.textFieldBorderColorErrorHover, _TextField.textFieldTokens.borderColorFocus, _DatePicker.tokens.textFieldBorderColorErrorFocus, _DatePicker.classes.datePickerSuccess, _TextField.textFieldTokens.backgroundColor, _DatePicker.tokens.textFieldBackgroundSuccessColor, _TextField.textFieldTokens.backgroundColorHover, _DatePicker.tokens.textFieldBackgroundSuccessColorHover, _TextField.textFieldTokens.backgroundColorFocus, _DatePicker.tokens.textFieldBackgroundSuccessColorFocus, _TextField.textFieldTokens.borderColor, _DatePicker.tokens.textFieldBorderColorSuccess, _TextField.textFieldTokens.borderColorHover, _DatePicker.tokens.textFieldBorderColorSuccessHover, _TextField.textFieldTokens.borderColorFocus, _DatePicker.tokens.textFieldBorderColorSuccessFocus);
27
27
  var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["display:inline-block;"]);
28
28
  var StyledLabel = exports.StyledLabel = /*#__PURE__*/_styledComponents["default"].label.withConfig({
29
- componentId: "plasma-new-hope__sc-1ohdd6s-2"
29
+ componentId: "plasma-new-hope__sc-1ye0xbz-2"
30
30
  })([""]);
31
31
  var LeftHelper = exports.LeftHelper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
32
- componentId: "plasma-new-hope__sc-1ohdd6s-3"
32
+ componentId: "plasma-new-hope__sc-1ye0xbz-3"
33
33
  })([""]);
@@ -6,5 +6,5 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
8
  var _DatePicker = /*#__PURE__*/require("../../../DatePicker.tokens");
9
- var _DatePicker2 = /*#__PURE__*/require("../../DatePicker.styles");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&[readonly]{cursor:default;", "{display:block;color:var(", ");}", "{color:var(", ");}}"], _DatePicker2.StyledLabel, _DatePicker.tokens.labelColorReadOnly, _DatePicker2.LeftHelper, _DatePicker.tokens.leftHelperColorReadOnly);
9
+ var _SingleDate = /*#__PURE__*/require("../../SingleDate.styles");
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&[readonly]{cursor:default;", "{display:block;color:var(", ");}", "{color:var(", ");}}"], _SingleDate.StyledLabel, _DatePicker.tokens.labelColorReadOnly, _SingleDate.LeftHelper, _DatePicker.tokens.leftHelperColorReadOnly);
@@ -6,5 +6,5 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
8
  var _DatePicker = /*#__PURE__*/require("../../../DatePicker.tokens");
9
- var _DatePicker2 = /*#__PURE__*/require("../../DatePicker.styles");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.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(", ");}"], _DatePicker.tokens.width, _DatePicker2.StyledLabel, _DatePicker.tokens.labelOffset, _DatePicker.tokens.labelFontFamily, _DatePicker.tokens.labelFontSize, _DatePicker.tokens.labelFontStyle, _DatePicker.tokens.labelFontWeight, _DatePicker.tokens.labelLetterSpacing, _DatePicker.tokens.labelLineHeight, _DatePicker2.LeftHelper, _DatePicker.tokens.leftHelperOffset, _DatePicker.tokens.leftHelperFontFamily, _DatePicker.tokens.leftHelperFontSize, _DatePicker.tokens.leftHelperFontStyle, _DatePicker.tokens.leftHelperFontWeight, _DatePicker.tokens.leftHelperLetterSpacing, _DatePicker.tokens.leftHelperLineHeight);
9
+ var _SingleDate = /*#__PURE__*/require("../../SingleDate.styles");
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.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(", ");}"], _DatePicker.tokens.width, _SingleDate.StyledLabel, _DatePicker.tokens.labelOffset, _DatePicker.tokens.labelFontFamily, _DatePicker.tokens.labelFontSize, _DatePicker.tokens.labelFontStyle, _DatePicker.tokens.labelFontWeight, _DatePicker.tokens.labelLetterSpacing, _DatePicker.tokens.labelLineHeight, _SingleDate.LeftHelper, _DatePicker.tokens.leftHelperOffset, _DatePicker.tokens.leftHelperFontFamily, _DatePicker.tokens.leftHelperFontSize, _DatePicker.tokens.leftHelperFontStyle, _DatePicker.tokens.leftHelperFontWeight, _DatePicker.tokens.leftHelperLetterSpacing, _DatePicker.tokens.leftHelperLineHeight);