@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
@@ -15,7 +15,7 @@ export declare const DatePicker: import("react").FunctionComponent<import("../..
15
15
  readOnly: {
16
16
  true: import("@linaria/core").LinariaClassName;
17
17
  };
18
- }> & import("../../../../components/DatePicker/DatePickerBase.types").DatePickerdVariationProps & import("../../../../components/DatePicker/SingleDate/DatePicker.types").DatePickerTextFieldProps & import("../../../../components/DatePicker/SingleDate/DatePicker.types").DatePickerCalendarProps & import("../../../../components/DatePicker/SingleDate/DatePicker.types").DatePickerPopoverProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>>;
18
+ }> & import("../../../../components/DatePicker/DatePickerBase.types").DatePickerdVariationProps & import("../../../../components/DatePicker/SingleDate/SingleDate.types").DatePickerTextFieldProps & import("../../../../components/DatePicker/SingleDate/SingleDate.types").DatePickerCalendarProps & import("../../../../components/DatePicker/SingleDate/SingleDate.types").DatePickerPopoverProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>>;
19
19
  export declare const DatePickerRange: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
20
20
  view: {
21
21
  default: import("@linaria/core").LinariaClassName;
@@ -38,267 +38,8 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
38
38
  onCommitFirstDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined) => void) | undefined;
39
39
  onCommitSecondDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined) => void) | undefined;
40
40
  } & {
41
- hidden?: boolean | undefined;
42
41
  label?: string | undefined;
43
- slot?: string | undefined;
44
- style?: import("react").CSSProperties | undefined;
45
- title?: string | undefined;
46
42
  view?: string | undefined;
47
- className?: string | undefined;
48
- color?: string | undefined;
49
- id?: string | undefined;
50
- lang?: string | undefined;
51
- role?: import("react").AriaRole | undefined;
52
- tabIndex?: number | undefined;
53
- 'aria-activedescendant'?: string | undefined;
54
- 'aria-atomic'?: (boolean | "true" | "false") | undefined;
55
- 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
56
- 'aria-busy'?: (boolean | "true" | "false") | undefined;
57
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
58
- 'aria-colcount'?: number | undefined;
59
- 'aria-colindex'?: number | undefined;
60
- 'aria-colspan'?: number | undefined;
61
- 'aria-controls'?: string | undefined;
62
- 'aria-current'?: boolean | "time" | "true" | "false" | "step" | "date" | "page" | "location" | undefined;
63
- 'aria-describedby'?: string | undefined;
64
- 'aria-details'?: string | undefined;
65
- 'aria-disabled'?: (boolean | "true" | "false") | undefined;
66
- 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
67
- 'aria-errormessage'?: string | undefined;
68
- 'aria-expanded'?: (boolean | "true" | "false") | undefined;
69
- 'aria-flowto'?: string | undefined;
70
- 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
71
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
72
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
73
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
74
- 'aria-keyshortcuts'?: string | undefined;
75
- 'aria-label'?: string | undefined;
76
- 'aria-labelledby'?: string | undefined;
77
- 'aria-level'?: number | undefined;
78
- 'aria-live'?: "off" | "assertive" | "polite" | undefined;
79
- 'aria-modal'?: (boolean | "true" | "false") | undefined;
80
- 'aria-multiline'?: (boolean | "true" | "false") | undefined;
81
- 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
82
- 'aria-orientation'?: "horizontal" | "vertical" | undefined;
83
- 'aria-owns'?: string | undefined;
84
- 'aria-placeholder'?: string | undefined;
85
- 'aria-posinset'?: number | undefined;
86
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
87
- 'aria-readonly'?: (boolean | "true" | "false") | undefined;
88
- 'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
89
- 'aria-required'?: (boolean | "true" | "false") | undefined;
90
- 'aria-roledescription'?: string | undefined;
91
- 'aria-rowcount'?: number | undefined;
92
- 'aria-rowindex'?: number | undefined;
93
- 'aria-rowspan'?: number | undefined;
94
- 'aria-selected'?: (boolean | "true" | "false") | undefined;
95
- 'aria-setsize'?: number | undefined;
96
- 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
97
- 'aria-valuemax'?: number | undefined;
98
- 'aria-valuemin'?: number | undefined;
99
- 'aria-valuenow'?: number | undefined;
100
- 'aria-valuetext'?: string | undefined;
101
- children?: import("react").ReactNode;
102
- dangerouslySetInnerHTML?: {
103
- __html: string;
104
- } | undefined;
105
- onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
106
- onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
107
- onCut?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
108
- onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
109
- onPaste?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
110
- onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
111
- onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
112
- onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
113
- onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
114
- onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
115
- onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
116
- onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
117
- onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
118
- onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
119
- onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
120
- onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
121
- onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
122
- onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
123
- onBeforeInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
124
- onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
125
- onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
126
- onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
127
- onReset?: import("react").FormEventHandler<HTMLDivElement> | undefined;
128
- onResetCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
129
- onSubmit?: import("react").FormEventHandler<HTMLDivElement> | undefined;
130
- onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
131
- onInvalid?: import("react").FormEventHandler<HTMLDivElement> | undefined;
132
- onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
133
- onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
134
- onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
135
- onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
136
- onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
137
- onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
138
- onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
139
- onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
140
- onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
141
- onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
142
- onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
143
- onAbort?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
144
- onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
145
- onCanPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
146
- onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
147
- onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
148
- onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
149
- onDurationChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
150
- onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
151
- onEmptied?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
152
- onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
153
- onEncrypted?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
154
- onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
155
- onEnded?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
156
- onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
157
- onLoadedData?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
158
- onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
159
- onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
160
- onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
161
- onLoadStart?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
162
- onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
163
- onPause?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
164
- onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
165
- onPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
166
- onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
167
- onPlaying?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
168
- onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
169
- onProgress?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
170
- onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
171
- onRateChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
172
- onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
173
- onResize?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
174
- onResizeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
175
- onSeeked?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
176
- onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
177
- onSeeking?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
178
- onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
179
- onStalled?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
180
- onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
181
- onSuspend?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
182
- onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
183
- onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
184
- onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
185
- onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
186
- onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
187
- onWaiting?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
188
- onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
189
- onAuxClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
190
- onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
191
- onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
192
- onClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
193
- onContextMenu?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
194
- onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
195
- onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
196
- onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
197
- onDrag?: import("react").DragEventHandler<HTMLDivElement> | undefined;
198
- onDragCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
199
- onDragEnd?: import("react").DragEventHandler<HTMLDivElement> | undefined;
200
- onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
201
- onDragEnter?: import("react").DragEventHandler<HTMLDivElement> | undefined;
202
- onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
203
- onDragExit?: import("react").DragEventHandler<HTMLDivElement> | undefined;
204
- onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
205
- onDragLeave?: import("react").DragEventHandler<HTMLDivElement> | undefined;
206
- onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
207
- onDragOver?: import("react").DragEventHandler<HTMLDivElement> | undefined;
208
- onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
209
- onDragStart?: import("react").DragEventHandler<HTMLDivElement> | undefined;
210
- onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
211
- onDrop?: import("react").DragEventHandler<HTMLDivElement> | undefined;
212
- onDropCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
213
- onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
214
- onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
215
- onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
216
- onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
217
- onMouseMove?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
218
- onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
219
- onMouseOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
220
- onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
221
- onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
222
- onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
223
- onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
224
- onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
225
- onSelect?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
226
- onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
227
- onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
228
- onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
229
- onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
230
- onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
231
- onTouchMove?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
232
- onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
233
- onTouchStart?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
234
- onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
235
- onPointerDown?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
236
- onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
237
- onPointerMove?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
238
- onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
239
- onPointerUp?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
240
- onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
241
- onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
242
- onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
243
- onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
244
- onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
245
- onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
246
- onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
247
- onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
248
- onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
249
- onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
250
- onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
251
- onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
252
- onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
253
- onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
254
- onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
255
- onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
256
- onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
257
- onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
258
- onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
259
- onAnimationStart?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
260
- onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
261
- onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
262
- onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
263
- onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
264
- onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
265
- onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
266
- onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
267
- defaultChecked?: boolean | undefined;
268
- defaultValue?: string | number | readonly string[] | undefined;
269
- suppressContentEditableWarning?: boolean | undefined;
270
- suppressHydrationWarning?: boolean | undefined;
271
- accessKey?: string | undefined;
272
- contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
273
- contextMenu?: string | undefined;
274
- dir?: string | undefined;
275
- draggable?: (boolean | "true" | "false") | undefined;
276
- nonce?: string | undefined;
277
- placeholder?: string | undefined;
278
- spellCheck?: (boolean | "true" | "false") | undefined;
279
- translate?: "no" | "yes" | undefined;
280
- radioGroup?: string | undefined;
281
- about?: string | undefined;
282
- datatype?: string | undefined;
283
- inlist?: any;
284
- prefix?: string | undefined;
285
- property?: string | undefined;
286
- resource?: string | undefined;
287
- typeof?: string | undefined;
288
- vocab?: string | undefined;
289
- autoCapitalize?: string | undefined;
290
- autoCorrect?: string | undefined;
291
- autoSave?: string | undefined;
292
- itemProp?: string | undefined;
293
- itemScope?: boolean | undefined;
294
- itemType?: string | undefined;
295
- itemID?: string | undefined;
296
- itemRef?: string | undefined;
297
- results?: number | undefined;
298
- security?: string | undefined;
299
- unselectable?: "on" | "off" | undefined;
300
- inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
301
- is?: string | undefined;
302
43
  disabled?: boolean | undefined;
303
44
  readOnly?: boolean | undefined;
304
45
  size?: string | undefined;
@@ -327,8 +68,8 @@ export declare const DatePickerRange: import("react").FunctionComponent<import("
327
68
  onFocusSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
328
69
  onBlurFirstTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
329
70
  onBlurSecondTextfield?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
330
- } & import("../../../../components/DatePicker/RangeDate/DatePicker.types").DatePickerCalendarProps & Omit<import("../../../../components/DatePicker/SingleDate/DatePicker.types").DatePickerPopoverProps, "placement"> & {
71
+ } & import("../../../../components/DatePicker/RangeDate/RangeDate.types").DatePickerCalendarProps & Omit<import("../../../../components/DatePicker/SingleDate/SingleDate.types").DatePickerPopoverProps, "placement"> & {
331
72
  placement?: import("../../../../components/DatePicker").DatePickerRangePlacement | import("../../../../components/DatePicker").DatePickerRangePlacement[] | undefined;
332
73
  isDoubleCalendar?: boolean | undefined;
333
- } & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<import("../../../..").RangeInputRefs>>;
74
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<import("../../../..").RangeInputRefs>>;
334
75
  //# sourceMappingURL=DatePicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/DatePicker/DatePicker.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;+fAA0B,CAAC;AAGlD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+IAA+B,CAAC"}
1
+ {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/DatePicker/DatePicker.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;+fAA0B,CAAC;AAGlD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yHAA+B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DatePicker.js","sources":["../../../../src/components/DatePicker/RangeDate/DatePicker.tsx"],"sourcesContent":["import React, {\n MutableRefObject,\n SyntheticEvent,\n createRef,\n forwardRef,\n useCallback,\n useEffect,\n useRef,\n useState,\n} from 'react';\n\nimport type { RootProps } from '../../../engines';\nimport { cx } from '../../../utils';\nimport { formatCalendarValue, formatInputValue, getDateFormatDelimiter } from '../utils/dateHelper';\nimport { useDatePicker } from '../hooks/useDatePicker';\nimport type { RangeInputRefs } from '../../Range/Range.types';\nimport { classes } from '../DatePicker.tokens';\n\nimport type { DatePickerRangeProps } from './DatePicker.types';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as readOnlyCSS } from './variations/_readonly/base';\nimport { LeftHelper, StyledLabel, StyledRange, base } from './DatePicker.styles';\nimport { RangeDatePopover } from './RangeDatePopover/RangeDatePopover';\n\nexport const datePickerRangeRoot = (\n Root: RootProps<HTMLDivElement, Omit<DatePickerRangeProps, 'isOpen' | 'defaultValue' | 'onChangeValue'>>,\n) =>\n forwardRef<RangeInputRefs, DatePickerRangeProps>(\n (\n {\n className,\n\n isDoubleCalendar = false,\n isOpen = false,\n\n label,\n leftHelper,\n contentLeft,\n contentRight,\n view,\n size,\n readOnly = false,\n disabled = false,\n\n dividerVariant = 'dash',\n dividerIcon,\n\n defaultFirstDate = '',\n defaultSecondDate = '',\n firstValueError,\n secondValueError,\n firstValueSuccess,\n secondValueSuccess,\n firstPlaceholder,\n secondPlaceholder,\n firstTextfieldContentLeft,\n firstTextfieldContentRight,\n secondTextfieldContentLeft,\n secondTextfieldContentRight,\n firstTextfieldTextBefore,\n secondTextfieldTextBefore,\n firstTextfieldTextAfter,\n secondTextfieldTextAfter,\n\n format = 'DD.MM.YYYY',\n maskWithFormat,\n min,\n max,\n includeEdgeDates = false,\n eventList,\n disabledList,\n type = 'Days',\n\n placement = ['top', 'bottom'],\n closeOnOverlayClick = true,\n closeOnEsc = true,\n offset,\n\n onToggle,\n\n onChangeFirstValue,\n onChangeSecondValue,\n\n onCommitFirstDate,\n onCommitSecondDate,\n\n onFocusFirstTextfield,\n onFocusSecondTextfield,\n onBlurFirstTextfield,\n onBlurSecondTextfield,\n\n ...rest\n },\n ref,\n ) => {\n const rangeRef = ref && 'current' in ref ? ref : createRef<RangeInputRefs>();\n const rootRef = useRef<HTMLDivElement | null>(null);\n\n const [firstInputRef, setFirstInputRef] = useState<MutableRefObject<HTMLInputElement | null> | undefined>(\n rangeRef?.current?.firstTextField(),\n );\n const [secondInputRef, setSecondInputRef] = useState<MutableRefObject<HTMLInputElement | null> | undefined>(\n rangeRef?.current?.secondTextField(),\n );\n const [isInnerOpen, setIsInnerOpen] = useState(isOpen);\n\n const [calendarFirstValue, setCalendarFirstValue] = useState(formatCalendarValue(defaultFirstDate, format));\n const [inputFirstValue, setInputFirstValue] = useState(formatInputValue(defaultFirstDate, format));\n\n const [calendarSecondValue, setCalendarSecondValue] = useState(\n formatCalendarValue(defaultSecondDate, format),\n );\n const [inputSecondValue, setInputSecondValue] = useState(formatInputValue(defaultSecondDate, format));\n\n const dateFormatDelimiter = useCallback(() => getDateFormatDelimiter(format), [format]);\n\n const {\n handleChangeValue: handleChangeFirstValue,\n handleCommitDate: handleCommitFirstDate,\n } = useDatePicker({\n currentValue: inputFirstValue,\n setInputValue: setInputFirstValue,\n setCalendarValue: setCalendarFirstValue,\n setIsInnerOpen,\n dateFormatDelimiter,\n format,\n disabled,\n readOnly,\n maskWithFormat,\n valueError: firstValueError,\n valueSuccess: firstValueSuccess,\n inputRef: firstInputRef,\n onChangeValue: onChangeFirstValue,\n onCommitDate: onCommitFirstDate,\n });\n\n const {\n handleChangeValue: handleChangeSecondValue,\n handleCommitDate: handleCommitSecondDate,\n } = useDatePicker({\n currentValue: inputSecondValue,\n setInputValue: setInputSecondValue,\n setCalendarValue: setCalendarSecondValue,\n setIsInnerOpen,\n dateFormatDelimiter,\n format,\n disabled,\n readOnly,\n maskWithFormat,\n valueError: secondValueError,\n valueSuccess: secondValueSuccess,\n inputRef: secondInputRef,\n onChangeValue: onChangeSecondValue,\n onCommitDate: onCommitSecondDate,\n });\n\n const handleToggle = (opened: boolean, event: SyntheticEvent | Event) => {\n if (disabled || readOnly) {\n return;\n }\n\n const isCalendarOpen =\n firstInputRef?.current?.contains((event.target as Node) || null) ||\n secondInputRef?.current?.contains((event.target as Node) || null)\n ? true\n : opened;\n\n if (onToggle) {\n return onToggle(isCalendarOpen, event);\n }\n\n setIsInnerOpen(isCalendarOpen);\n };\n\n const RangeComponent = (\n <>\n {/* TODO https://github.com/salute-developers/plasma/issues/1227\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n //@ts-ignore */}\n <StyledRange\n ref={rangeRef}\n dividerIcon={dividerIcon}\n dividerVariant={dividerVariant}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n firstPlaceholder={firstPlaceholder}\n secondPlaceholder={secondPlaceholder}\n contentLeft={contentLeft}\n contentRight={contentRight}\n firstTextfieldTextBefore={firstTextfieldTextBefore}\n secondTextfieldTextBefore={secondTextfieldTextBefore}\n firstTextfieldTextAfter={firstTextfieldTextAfter}\n secondTextfieldTextAfter={secondTextfieldTextAfter}\n firstTextfieldContentLeft={firstTextfieldContentLeft}\n firstTextfieldContentRight={firstTextfieldContentRight}\n secondTextfieldContentLeft={secondTextfieldContentLeft}\n secondTextfieldContentRight={secondTextfieldContentRight}\n firstValue={inputFirstValue}\n secondValue={inputSecondValue}\n firstValueError={firstValueError}\n secondValueError={secondValueError}\n firstValueSuccess={firstValueSuccess}\n secondValueSuccess={secondValueSuccess}\n onChangeFirstValue={handleChangeFirstValue}\n onChangeSecondValue={handleChangeSecondValue}\n onSearchFirstValue={(_, date) => {\n handleCommitFirstDate(String(date), true, false);\n if (!calendarSecondValue || secondValueError) {\n rangeRef?.current?.secondTextField()?.current?.focus();\n }\n }}\n onSearchSecondValue={(_, date) => {\n handleCommitSecondDate(String(date), true, false);\n if (!calendarFirstValue || firstValueError) {\n rangeRef?.current?.firstTextField()?.current?.focus();\n }\n }}\n onFocusFirstTextfield={onFocusFirstTextfield}\n onFocusSecondTextfield={onFocusSecondTextfield}\n onBlurFirstTextfield={onBlurFirstTextfield}\n onBlurSecondTextfield={onBlurSecondTextfield}\n />\n </>\n );\n\n useEffect(() => {\n setFirstInputRef(rangeRef.current?.firstTextField());\n setSecondInputRef(rangeRef.current?.secondTextField());\n }, [rangeRef.current]);\n\n return (\n <Root\n ref={rootRef}\n view={view}\n size={size}\n className={cx(classes.datePickerRoot, className)}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n {...rest}\n >\n {label && <StyledLabel>{label}</StyledLabel>}\n <RangeDatePopover\n calendarValue={[calendarFirstValue, calendarSecondValue]}\n target={RangeComponent}\n isOpen={isOpen || isInnerOpen}\n includeEdgeDates={includeEdgeDates}\n eventList={eventList}\n disabledList={disabledList}\n min={min}\n max={max}\n placement={placement}\n closeOnOverlayClick={closeOnOverlayClick}\n closeOnEsc={closeOnEsc}\n offset={offset}\n type={type}\n onToggle={handleToggle}\n isDoubleCalendar={isDoubleCalendar}\n onChangeStartOfRange={(firstDate) => {\n handleCommitFirstDate(firstDate, false, true);\n handleCommitSecondDate('');\n }}\n onChangeValue={([firstDate, secondDate]) => {\n firstDate && handleCommitFirstDate(firstDate, false, true);\n secondDate && handleCommitSecondDate(secondDate, false, true);\n if (firstDate && secondDate && !firstValueError && !secondValueError) {\n setIsInnerOpen(false);\n }\n }}\n />\n {leftHelper && <LeftHelper>{leftHelper}</LeftHelper>}\n </Root>\n );\n },\n );\n\nexport const datePickerRangeConfig = {\n name: 'DatePickerRange',\n tag: 'div',\n layout: datePickerRangeRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n readOnly: {\n css: readOnlyCSS,\n attrs: true,\n },\n },\n defaults: {\n size: 'm',\n view: 'default',\n },\n};\n"],"names":["datePickerRangeRoot","Root","forwardRef","_ref","ref","_rangeRef$current","_rangeRef$current2","className","_ref$isDoubleCalendar","isDoubleCalendar","_ref$isOpen","isOpen","label","leftHelper","contentLeft","contentRight","view","size","_ref$readOnly","readOnly","_ref$disabled","disabled","_ref$dividerVariant","dividerVariant","dividerIcon","_ref$defaultFirstDate","defaultFirstDate","_ref$defaultSecondDat","defaultSecondDate","firstValueError","secondValueError","firstValueSuccess","secondValueSuccess","firstPlaceholder","secondPlaceholder","firstTextfieldContentLeft","firstTextfieldContentRight","secondTextfieldContentLeft","secondTextfieldContentRight","firstTextfieldTextBefore","secondTextfieldTextBefore","firstTextfieldTextAfter","secondTextfieldTextAfter","_ref$format","format","maskWithFormat","min","max","_ref$includeEdgeDates","includeEdgeDates","eventList","disabledList","_ref$type","type","_ref$placement","placement","_ref$closeOnOverlayCl","closeOnOverlayClick","_ref$closeOnEsc","closeOnEsc","offset","onToggle","onChangeFirstValue","onChangeSecondValue","onCommitFirstDate","onCommitSecondDate","onFocusFirstTextfield","onFocusSecondTextfield","onBlurFirstTextfield","onBlurSecondTextfield","rest","_objectWithoutProperties","_excluded","rangeRef","createRef","rootRef","useRef","_useState","useState","current","firstTextField","_useState2","_slicedToArray","firstInputRef","setFirstInputRef","_useState3","secondTextField","_useState4","secondInputRef","setSecondInputRef","_useState5","_useState6","isInnerOpen","setIsInnerOpen","_useState7","formatCalendarValue","_useState8","calendarFirstValue","setCalendarFirstValue","_useState9","formatInputValue","_useState10","inputFirstValue","setInputFirstValue","_useState11","_useState12","calendarSecondValue","setCalendarSecondValue","_useState13","_useState14","inputSecondValue","setInputSecondValue","dateFormatDelimiter","useCallback","getDateFormatDelimiter","_useDatePicker","useDatePicker","currentValue","setInputValue","setCalendarValue","valueError","valueSuccess","inputRef","onChangeValue","onCommitDate","handleChangeFirstValue","handleChangeValue","handleCommitFirstDate","handleCommitDate","_useDatePicker2","handleChangeSecondValue","handleCommitSecondDate","handleToggle","opened","event","_firstInputRef$curren","_secondInputRef$curre","isCalendarOpen","contains","target","RangeComponent","React","createElement","Fragment","StyledRange","firstValue","secondValue","onSearchFirstValue","_","date","String","_rangeRef$current3","focus","onSearchSecondValue","_rangeRef$current4","useEffect","_rangeRef$current5","_rangeRef$current6","_extends","cx","classes","datePickerRoot","StyledLabel","RangeDatePopover","calendarValue","onChangeStartOfRange","firstDate","_ref2","_ref3","secondDate","LeftHelper","datePickerRangeConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","disabledCSS","attrs","readOnlyCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;IA0BaA,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAC5BC,IAAwG,EAAA;AAAA,EAAA,oBAExGC,gBAAU,CACN,UAAAC,IAAA,EAiEIC,GAAG,EACF;IAAA,IAAAC,iBAAA,EAAAC,kBAAA,CAAA;AAAA,IAAA,IAhEGC,SAAS,GAAAJ,IAAA,CAATI,SAAS;MAAAC,qBAAA,GAAAL,IAAA,CAETM,gBAAgB;AAAhBA,MAAAA,gBAAgB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,KAAK,GAAAA,qBAAA;MAAAE,WAAA,GAAAP,IAAA,CACxBQ,MAAM;AAANA,MAAAA,MAAM,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,KAAK,GAAAA,WAAA;MAEdE,KAAK,GAAAT,IAAA,CAALS,KAAK;MACLC,UAAU,GAAAV,IAAA,CAAVU,UAAU;MACVC,WAAW,GAAAX,IAAA,CAAXW,WAAW;MACXC,YAAY,GAAAZ,IAAA,CAAZY,YAAY;MACZC,IAAI,GAAAb,IAAA,CAAJa,IAAI;MACJC,IAAI,GAAAd,IAAA,CAAJc,IAAI;MAAAC,aAAA,GAAAf,IAAA,CACJ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Ac,CAAC,KAAK,CAAC,CAAA;AACzB,SAAA;AACJ,OAAA;AAAE,KACL,CAAC,EACDhF,UAAU,iBAAIgI,KAAA,CAAAC,aAAA,CAAC4B,4BAAU,EAAA,IAAA,EAAE7J,UAAuB,CACjD,CAAC,CAAA;AAEf,GACJ,CAAC,CAAA;AAAA,EAAA;AAEE,IAAM8J,qBAAqB,GAAG;AACjCC,EAAAA,IAAI,EAAE,iBAAiB;AACvBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAE9K,mBAAmB;AAC3B+K,EAAAA,IAAI,EAAJA,sBAAI;AACJC,EAAAA,UAAU,EAAE;AACRhK,IAAAA,IAAI,EAAE;AACFiK,MAAAA,GAAG,EAAEC,SAAAA;KACR;AACDjK,IAAAA,IAAI,EAAE;AACFgK,MAAAA,GAAG,EAAEE,WAAAA;KACR;AACD9J,IAAAA,QAAQ,EAAE;AACN4J,MAAAA,GAAG,EAAEG,WAAW;AAChBC,MAAAA,KAAK,EAAE,IAAA;KACV;AACDlK,IAAAA,QAAQ,EAAE;AACN8J,MAAAA,GAAG,EAAEK,WAAW;AAChBD,MAAAA,KAAK,EAAE,IAAA;AACX,KAAA;GACH;AACDE,EAAAA,QAAQ,EAAE;AACNtK,IAAAA,IAAI,EAAE,GAAG;AACTD,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DatePicker.styles.js","sources":["../../../../src/components/DatePicker/RangeDate/DatePicker.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { component, mergeConfig } from '../../../engines';\nimport { rangeConfig, rangeTokens } from '../../Range';\nimport { tokens } from '../DatePicker.tokens';\nimport { popoverConfig } from '../../Popover';\n\nconst mergedRangeConfig = mergeConfig(rangeConfig);\nconst Range = component(mergedRangeConfig);\n\nconst mergedPopoverConfig = mergeConfig(popoverConfig);\nconst Popover = component(mergedPopoverConfig);\n\nexport const StyledPopover = styled(Popover)``;\n\n// NOTE: переопределение токенов Range\nexport const StyledRange = styled(Range)`\n ${rangeTokens.background}: var(${tokens.background});\n ${rangeTokens.backgroundError}: var(${tokens.backgroundError});\n ${rangeTokens.backgroundSuccess}: var(${tokens.backgroundSuccess});\n \n ${rangeTokens.borderColor}: var(${tokens.borderColor});\n ${rangeTokens.borderColorError}: var(${tokens.borderColorError});\n ${rangeTokens.borderColorSuccess}: var(${tokens.borderColorSuccess});\n \n ${rangeTokens.borderWidth}: var(${tokens.textFieldBorderWidth});\n\n ${rangeTokens.dividerColor}: var(${tokens.dividerColor});\n ${rangeTokens.labelColor}: var(${tokens.labelColor});\n ${rangeTokens.leftHelperColor}: var(${tokens.leftHelperColor});\n\n ${rangeTokens.textFieldColor}: var(${tokens.textFieldColor});\n ${rangeTokens.textFieldPlaceholderColor}: var(${tokens.textFieldPlaceholderColor});\n ${rangeTokens.textFieldCaretColor}: var(${tokens.textFieldCaretColor});\n\n ${rangeTokens.textFieldBackgroundColorFocus}: var(${tokens.textFieldBackgroundColorFocus});\n ${rangeTokens.textFieldBackgroundErrorColor}: var(${tokens.textFieldBackgroundErrorColor});\n ${rangeTokens.textFieldBackgroundErrorColorFocus}: var(${tokens.textFieldBackgroundErrorColorFocus});\n ${rangeTokens.textFieldBackgroundSuccessColor}: var(${tokens.textFieldBackgroundSuccessColor});\n ${rangeTokens.textFieldBackgroundSuccessColorFocus}: var(${tokens.textFieldBackgroundSuccessColorFocus});\n\n ${rangeTokens.textFieldBorderWidth}: var(${tokens.textFieldBorderWidth});\n ${rangeTokens.textFieldBorderColorFocus}: var(${tokens.textFieldBorderColorFocus});\n ${rangeTokens.textFieldBorderColorError}: var(${tokens.textFieldBorderColorError});\n ${rangeTokens.textFieldBorderColorErrorFocus}: var(${tokens.textFieldBorderColorErrorFocus});\n ${rangeTokens.textFieldBorderColorSuccess}: var(${tokens.textFieldBorderColorSuccess});\n ${rangeTokens.textFieldBorderColorSuccessFocus}: var(${tokens.textFieldBorderColorSuccessFocus});\n\n ${rangeTokens.textFieldTextBeforeColor}: var(${tokens.textFieldTextBeforeColor});\n ${rangeTokens.textFieldTextAfterColor}: var(${tokens.textFieldTextAfterColor});\n\n ${rangeTokens.focusColor}: var(${tokens.focusColor});\n\n ${rangeTokens.borderRadius}: var(${tokens.borderRadius});\n\n ${rangeTokens.dividerPadding}: var(${tokens.dividerPadding});\n ${rangeTokens.dividerFontFamily}: var(${tokens.dividerFontFamily});\n ${rangeTokens.dividerFontStyle}: var(${tokens.dividerFontStyle});\n ${rangeTokens.dividerFontSize}: var(${tokens.dividerFontSize});\n ${rangeTokens.dividerFontWeight}: var(${tokens.dividerFontWeight});\n ${rangeTokens.dividerLetterSpacing}: var(${tokens.dividerLetterSpacing});\n ${rangeTokens.dividerLineHeight}: var(${tokens.dividerLineHeight});\n\n ${rangeTokens.leftContentMargin}: var(${tokens.leftContentMargin});\n ${rangeTokens.rightContentMargin}: var(${tokens.rightContentMargin});\n\n ${rangeTokens.labelOffset}: var(${tokens.labelOffset});\n\n ${rangeTokens.labelFontFamily}: var(${tokens.labelFontFamily});\n ${rangeTokens.labelFontStyle}: var(${tokens.labelFontStyle});\n ${rangeTokens.labelFontSize}: var(${tokens.labelFontSize});\n ${rangeTokens.labelFontWeight}: var(${tokens.labelFontWeight});\n ${rangeTokens.labelLetterSpacing}: var(${tokens.labelLetterSpacing});\n ${rangeTokens.labelLineHeight}: var(${tokens.labelLineHeight});\n\n ${rangeTokens.textFieldHeight}: var(${tokens.textFieldHeight});\n ${rangeTokens.textFieldBorderRadius}: var(${tokens.textFieldBorderRadius});\n ${rangeTokens.textFieldPadding}: var(${tokens.textFieldPadding});\n ${rangeTokens.textFieldFontFamily}: var(${tokens.textFieldFontFamily});\n ${rangeTokens.textFieldFontStyle}: var(${tokens.textFieldFontStyle});\n ${rangeTokens.textFieldFontSize}: var(${tokens.textFieldFontSize});\n ${rangeTokens.textFieldFontWeight}: var(${tokens.textFieldFontWeight});\n ${rangeTokens.textFieldLetterSpacing}: var(${tokens.textFieldLetterSpacing});\n ${rangeTokens.textFieldLineHeight}: var(${tokens.textFieldLineHeight});\n\n ${rangeTokens.leftHelperOffset}: var(${tokens.leftHelperOffset});\n ${rangeTokens.leftHelperFontFamily}: var(${tokens.leftHelperFontFamily});\n ${rangeTokens.leftHelperFontStyle}: var(${tokens.leftHelperFontStyle});\n ${rangeTokens.leftHelperFontSize}: var(${tokens.leftHelperFontSize});\n ${rangeTokens.leftHelperFontWeight}: var(${tokens.leftHelperFontWeight});\n ${rangeTokens.leftHelperLetterSpacing}: var(${tokens.leftHelperLetterSpacing});\n ${rangeTokens.leftHelperLineHeight}: var(${tokens.leftHelperLineHeight});\n\n ${rangeTokens.textFieldLeftContentMargin}: var(${tokens.textFieldLeftContentMargin});\n ${rangeTokens.textFieldRightContentMargin}: var(${tokens.textFieldRightContentMargin});\n ${rangeTokens.textFieldTextBeforeMargin}: var(${tokens.textFieldTextBeforeMargin});\n ${rangeTokens.textFieldTextAfterMargin}: var(${tokens.textFieldTextAfterMargin});\n\n ${rangeTokens.backgroundReadOnly}: var(${tokens.backgroundReadOnly});\n ${rangeTokens.labelColorReadOnly}: var(${tokens.labelColorReadOnly});\n ${rangeTokens.leftHelperColorReadOnly}: var(${tokens.leftHelperColorReadOnly});\n ${rangeTokens.dividerColorReadOnly}: var(${tokens.dividerColorReadOnly});\n\n ${rangeTokens.textFieldColorReadOnly}: var(${tokens.textFieldColorReadOnly});\n ${rangeTokens.textFieldBackgroundColorReadOnly}: var(${tokens.textFieldBackgroundColorReadOnly});\n ${rangeTokens.textFieldPlaceholderColorReadOnly}: var(${tokens.textFieldPlaceholderColorReadOnly});\n`;\n\nexport const base = css`\n display: inline-block;\n`;\n\nexport const StyledLabel = styled.label``;\n\nexport const LeftHelper = styled.div``;\n"],"names":["mergedRangeConfig","mergeConfig","rangeConfig","Range","component","mergedPopoverConfig","popoverConfig","Popover","_exp","StyledPopover","styled","name","class","propsAsIs","_exp2","Sty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AA,CAAM;;;;;;;;"}
@@ -1 +0,0 @@
1
- .bc1qq8l[readonly]{cursor:default;--plasma-date-picker-textfield-background-color-readonly:transparent;}.bc1qq8l[readonly] .s1e76aix{display:block;color:var(--plasma-date-picker__label-color-readonly);}.bc1qq8l[readonly] .l1jb75sx{color:var(--plasma-date-picker__left-helper-color-readonly);}
@@ -1 +0,0 @@
1
- .bxpb4df{width:var(--plasma-date-picker-width);}.bxpb4df .s1e76aix{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);}.bxpb4df .l1jb75sx{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);}
@@ -1 +0,0 @@
1
- .bcuyjma .s1e76aix{display:block;color:var(--plasma-date-picker__label-color);}.bcuyjma .l1jb75sx{color:var(--plasma-date-picker__left-helper-color);}
@@ -1 +0,0 @@
1
- .b160pc19[readonly]{cursor:default;}.b160pc19[readonly] .s1k0v87d{display:block;color:var(--plasma-date-picker__label-color-readonly);}.b160pc19[readonly] .l1kt76cl{color:var(--plasma-date-picker__left-helper-color-readonly);}
@@ -1 +0,0 @@
1
- .bjvjzuw{width:var(--plasma-date-picker-width);}.bjvjzuw .s1k0v87d{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);}.bjvjzuw .l1kt76cl{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);}
@@ -1 +0,0 @@
1
- .bgt8q06 .s1k0v87d{display:block;color:var(--plasma-date-picker__label-color);}.bgt8q06 .l1kt76cl{color:var(--plasma-date-picker__left-helper-color);}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DatePicker.js","sources":["../../../../src/components/DatePicker/RangeDate/DatePicker.tsx"],"sourcesContent":["import React, {\n MutableRefObject,\n SyntheticEvent,\n createRef,\n forwardRef,\n useCallback,\n useEffect,\n useRef,\n useState,\n} from 'react';\n\nimport type { RootProps } from '../../../engines';\nimport { cx } from '../../../utils';\nimport { formatCalendarValue, formatInputValue, getDateFormatDelimiter } from '../utils/dateHelper';\nimport { useDatePicker } from '../hooks/useDatePicker';\nimport type { RangeInputRefs } from '../../Range/Range.types';\nimport { classes } from '../DatePicker.tokens';\n\nimport type { DatePickerRangeProps } from './DatePicker.types';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as readOnlyCSS } from './variations/_readonly/base';\nimport { LeftHelper, StyledLabel, StyledRange, base } from './DatePicker.styles';\nimport { RangeDatePopover } from './RangeDatePopover/RangeDatePopover';\n\nexport const datePickerRangeRoot = (\n Root: RootProps<HTMLDivElement, Omit<DatePickerRangeProps, 'isOpen' | 'defaultValue' | 'onChangeValue'>>,\n) =>\n forwardRef<RangeInputRefs, DatePickerRangeProps>(\n (\n {\n className,\n\n isDoubleCalendar = false,\n isOpen = false,\n\n label,\n leftHelper,\n contentLeft,\n contentRight,\n view,\n size,\n readOnly = false,\n disabled = false,\n\n dividerVariant = 'dash',\n dividerIcon,\n\n defaultFirstDate = '',\n defaultSecondDate = '',\n firstValueError,\n secondValueError,\n firstValueSuccess,\n secondValueSuccess,\n firstPlaceholder,\n secondPlaceholder,\n firstTextfieldContentLeft,\n firstTextfieldContentRight,\n secondTextfieldContentLeft,\n secondTextfieldContentRight,\n firstTextfieldTextBefore,\n secondTextfieldTextBefore,\n firstTextfieldTextAfter,\n secondTextfieldTextAfter,\n\n format = 'DD.MM.YYYY',\n maskWithFormat,\n min,\n max,\n includeEdgeDates = false,\n eventList,\n disabledList,\n type = 'Days',\n\n placement = ['top', 'bottom'],\n closeOnOverlayClick = true,\n closeOnEsc = true,\n offset,\n\n onToggle,\n\n onChangeFirstValue,\n onChangeSecondValue,\n\n onCommitFirstDate,\n onCommitSecondDate,\n\n onFocusFirstTextfield,\n onFocusSecondTextfield,\n onBlurFirstTextfield,\n onBlurSecondTextfield,\n\n ...rest\n },\n ref,\n ) => {\n const rangeRef = ref && 'current' in ref ? ref : createRef<RangeInputRefs>();\n const rootRef = useRef<HTMLDivElement | null>(null);\n\n const [firstInputRef, setFirstInputRef] = useState<MutableRefObject<HTMLInputElement | null> | undefined>(\n rangeRef?.current?.firstTextField(),\n );\n const [secondInputRef, setSecondInputRef] = useState<MutableRefObject<HTMLInputElement | null> | undefined>(\n rangeRef?.current?.secondTextField(),\n );\n const [isInnerOpen, setIsInnerOpen] = useState(isOpen);\n\n const [calendarFirstValue, setCalendarFirstValue] = useState(formatCalendarValue(defaultFirstDate, format));\n const [inputFirstValue, setInputFirstValue] = useState(formatInputValue(defaultFirstDate, format));\n\n const [calendarSecondValue, setCalendarSecondValue] = useState(\n formatCalendarValue(defaultSecondDate, format),\n );\n const [inputSecondValue, setInputSecondValue] = useState(formatInputValue(defaultSecondDate, format));\n\n const dateFormatDelimiter = useCallback(() => getDateFormatDelimiter(format), [format]);\n\n const {\n handleChangeValue: handleChangeFirstValue,\n handleCommitDate: handleCommitFirstDate,\n } = useDatePicker({\n currentValue: inputFirstValue,\n setInputValue: setInputFirstValue,\n setCalendarValue: setCalendarFirstValue,\n setIsInnerOpen,\n dateFormatDelimiter,\n format,\n disabled,\n readOnly,\n maskWithFormat,\n valueError: firstValueError,\n valueSuccess: firstValueSuccess,\n inputRef: firstInputRef,\n onChangeValue: onChangeFirstValue,\n onCommitDate: onCommitFirstDate,\n });\n\n const {\n handleChangeValue: handleChangeSecondValue,\n handleCommitDate: handleCommitSecondDate,\n } = useDatePicker({\n currentValue: inputSecondValue,\n setInputValue: setInputSecondValue,\n setCalendarValue: setCalendarSecondValue,\n setIsInnerOpen,\n dateFormatDelimiter,\n format,\n disabled,\n readOnly,\n maskWithFormat,\n valueError: secondValueError,\n valueSuccess: secondValueSuccess,\n inputRef: secondInputRef,\n onChangeValue: onChangeSecondValue,\n onCommitDate: onCommitSecondDate,\n });\n\n const handleToggle = (opened: boolean, event: SyntheticEvent | Event) => {\n if (disabled || readOnly) {\n return;\n }\n\n const isCalendarOpen =\n firstInputRef?.current?.contains((event.target as Node) || null) ||\n secondInputRef?.current?.contains((event.target as Node) || null)\n ? true\n : opened;\n\n if (onToggle) {\n return onToggle(isCalendarOpen, event);\n }\n\n setIsInnerOpen(isCalendarOpen);\n };\n\n const RangeComponent = (\n <>\n {/* TODO https://github.com/salute-developers/plasma/issues/1227\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n //@ts-ignore */}\n <StyledRange\n ref={rangeRef}\n dividerIcon={dividerIcon}\n dividerVariant={dividerVariant}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n firstPlaceholder={firstPlaceholder}\n secondPlaceholder={secondPlaceholder}\n contentLeft={contentLeft}\n contentRight={contentRight}\n firstTextfieldTextBefore={firstTextfieldTextBefore}\n secondTextfieldTextBefore={secondTextfieldTextBefore}\n firstTextfieldTextAfter={firstTextfieldTextAfter}\n secondTextfieldTextAfter={secondTextfieldTextAfter}\n firstTextfieldContentLeft={firstTextfieldContentLeft}\n firstTextfieldContentRight={firstTextfieldContentRight}\n secondTextfieldContentLeft={secondTextfieldContentLeft}\n secondTextfieldContentRight={secondTextfieldContentRight}\n firstValue={inputFirstValue}\n secondValue={inputSecondValue}\n firstValueError={firstValueError}\n secondValueError={secondValueError}\n firstValueSuccess={firstValueSuccess}\n secondValueSuccess={secondValueSuccess}\n onChangeFirstValue={handleChangeFirstValue}\n onChangeSecondValue={handleChangeSecondValue}\n onSearchFirstValue={(_, date) => {\n handleCommitFirstDate(String(date), true, false);\n if (!calendarSecondValue || secondValueError) {\n rangeRef?.current?.secondTextField()?.current?.focus();\n }\n }}\n onSearchSecondValue={(_, date) => {\n handleCommitSecondDate(String(date), true, false);\n if (!calendarFirstValue || firstValueError) {\n rangeRef?.current?.firstTextField()?.current?.focus();\n }\n }}\n onFocusFirstTextfield={onFocusFirstTextfield}\n onFocusSecondTextfield={onFocusSecondTextfield}\n onBlurFirstTextfield={onBlurFirstTextfield}\n onBlurSecondTextfield={onBlurSecondTextfield}\n />\n </>\n );\n\n useEffect(() => {\n setFirstInputRef(rangeRef.current?.firstTextField());\n setSecondInputRef(rangeRef.current?.secondTextField());\n }, [rangeRef.current]);\n\n return (\n <Root\n ref={rootRef}\n view={view}\n size={size}\n className={cx(classes.datePickerRoot, className)}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n {...rest}\n >\n {label && <StyledLabel>{label}</StyledLabel>}\n <RangeDatePopover\n calendarValue={[calendarFirstValue, calendarSecondValue]}\n target={RangeComponent}\n isOpen={isOpen || isInnerOpen}\n includeEdgeDates={includeEdgeDates}\n eventList={eventList}\n disabledList={disabledList}\n min={min}\n max={max}\n placement={placement}\n closeOnOverlayClick={closeOnOverlayClick}\n closeOnEsc={closeOnEsc}\n offset={offset}\n type={type}\n onToggle={handleToggle}\n isDoubleCalendar={isDoubleCalendar}\n onChangeStartOfRange={(firstDate) => {\n handleCommitFirstDate(firstDate, false, true);\n handleCommitSecondDate('');\n }}\n onChangeValue={([firstDate, secondDate]) => {\n firstDate && handleCommitFirstDate(firstDate, false, true);\n secondDate && handleCommitSecondDate(secondDate, false, true);\n if (firstDate && secondDate && !firstValueError && !secondValueError) {\n setIsInnerOpen(false);\n }\n }}\n />\n {leftHelper && <LeftHelper>{leftHelper}</LeftHelper>}\n </Root>\n );\n },\n );\n\nexport const datePickerRangeConfig = {\n name: 'DatePickerRange',\n tag: 'div',\n layout: datePickerRangeRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n readOnly: {\n css: readOnlyCSS,\n attrs: true,\n },\n },\n defaults: {\n size: 'm',\n view: 'default',\n },\n};\n"],"names":["datePickerRangeRoot","Root","forwardRef","_ref","ref","_rangeRef$current","_rangeRef$current2","className","_ref$isDoubleCalendar","isDoubleCalendar","_ref$isOpen","isOpen","label","leftHelper","contentLeft","contentRight","view","size","_ref$readOnly","readOnly","_ref$disabled","disabled","_ref$dividerVariant","dividerVariant","dividerIcon","_ref$defaultFirstDate","defaultFirstDate","_ref$defaultSecondDat","defaultSecondDate","firstValueError","secondValueError","firstValueSuccess","secondValueSuccess","firstPlaceholder","secondPlaceholder","firstTextfieldContentLeft","firstTextfieldContentRight","secondTextfieldContentLeft","secondTextfieldContentRight","firstTextfieldTextBefore","secondTextfieldTextBefore","firstTextfieldTextAfter","secondTextfieldTextAfter","_ref$format","format","maskWithFormat","min","max","_ref$includeEdgeDates","includeEdgeDates","eventList","disabledList","_ref$type","type","_ref$placement","placement","_ref$closeOnOverlayCl","closeOnOverlayClick","_ref$closeOnEsc","closeOnEsc","offset","onToggle","onChangeFirstValue","onChangeSecondValue","onCommitFirstDate","onCommitSecondDate","onFocusFirstTextfield","onFocusSecondTextfield","onBlurFirstTextfield","onBlurSecondTextfield","rest","_objectWithoutProperties","_excluded","rangeRef","createRef","rootRef","useRef","_useState","useState","current","firstTextField","_useState2","_slicedToArray","firstInputRef","setFirstInputRef","_useState3","secondTextField","_useState4","secondInputRef","setSecondInputRef","_useState5","_useState6","isInnerOpen","setIsInnerOpen","_useState7","formatCalendarValue","_useState8","calendarFirstValue","setCalendarFirstValue","_useState9","formatInputValue","_useState10","inputFirstValue","setInputFirstValue","_useState11","_useState12","calendarSecondValue","setCalendarSecondValue","_useState13","_useState14","inputSecondValue","setInputSecondValue","dateFormatDelimiter","useCallback","getDateFormatDelimiter","_useDatePicker","useDatePicker","currentValue","setInputValue","setCalendarValue","valueError","valueSuccess","inputRef","onChangeValue","onCommitDate","handleChangeFirstValue","handleChangeValue","handleCommitFirstDate","handleCommitDate","_useDatePicker2","handleChangeSecondValue","handleCommitSecondDate","handleToggle","opened","event","_firstInputRef$curren","_secondInputRef$curre","isCalendarOpen","contains","target","RangeComponent","React","createElement","Fragment","StyledRange","firstValue","secondValue","onSearchFirstValue","_","date","String","_rangeRef$current3","focus","onSearchSecondValue","_rangeRef$current4","useEffect","_rangeRef$current5","_rangeRef$current6","_extends","cx","classes","datePickerRoot","StyledLabel","RangeDatePopover","calendarValue","onChangeStartOfRange","firstDate","_ref2","_ref3","secondDate","LeftHelper","datePickerRangeConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","disabledCSS","attrs","readOnlyCSS","defa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,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACD9J,IAAAA,QAAQ,EAAE;AACN4J,MAAAA,GAAG,EAAEG,MAAW;AAChBC,MAAAA,KAAK,EAAE,IAAA;KACV;AACDlK,IAAAA,QAAQ,EAAE;AACN8J,MAAAA,GAAG,EAAEK,MAAW;AAChBD,MAAAA,KAAK,EAAE,IAAA;AACX,KAAA;GACH;AACDE,EAAAA,QAAQ,EAAE;AACNtK,IAAAA,IAAI,EAAE,GAAG;AACTD,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DatePicker.styles.js","sources":["../../../../src/components/DatePicker/RangeDate/DatePicker.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { component, mergeConfig } from '../../../engines';\nimport { rangeConfig, rangeTokens } from '../../Range';\nimport { tokens } from '../DatePicker.tokens';\nimport { popoverConfig } from '../../Popover';\n\nconst mergedRangeConfig = mergeConfig(rangeConfig);\nconst Range = component(mergedRangeConfig);\n\nconst mergedPopoverConfig = mergeConfig(popoverConfig);\nconst Popover = component(mergedPopoverConfig);\n\nexport const StyledPopover = styled(Popover)``;\n\n// NOTE: переопределение токенов Range\nexport const StyledRange = styled(Range)`\n ${rangeTokens.background}: var(${tokens.background});\n ${rangeTokens.backgroundError}: var(${tokens.backgroundError});\n ${rangeTokens.backgroundSuccess}: var(${tokens.backgroundSuccess});\n \n ${rangeTokens.borderColor}: var(${tokens.borderColor});\n ${rangeTokens.borderColorError}: var(${tokens.borderColorError});\n ${rangeTokens.borderColorSuccess}: var(${tokens.borderColorSuccess});\n \n ${rangeTokens.borderWidth}: var(${tokens.textFieldBorderWidth});\n\n ${rangeTokens.dividerColor}: var(${tokens.dividerColor});\n ${rangeTokens.labelColor}: var(${tokens.labelColor});\n ${rangeTokens.leftHelperColor}: var(${tokens.leftHelperColor});\n\n ${rangeTokens.textFieldColor}: var(${tokens.textFieldColor});\n ${rangeTokens.textFieldPlaceholderColor}: var(${tokens.textFieldPlaceholderColor});\n ${rangeTokens.textFieldCaretColor}: var(${tokens.textFieldCaretColor});\n\n ${rangeTokens.textFieldBackgroundColorFocus}: var(${tokens.textFieldBackgroundColorFocus});\n ${rangeTokens.textFieldBackgroundErrorColor}: var(${tokens.textFieldBackgroundErrorColor});\n ${rangeTokens.textFieldBackgroundErrorColorFocus}: var(${tokens.textFieldBackgroundErrorColorFocus});\n ${rangeTokens.textFieldBackgroundSuccessColor}: var(${tokens.textFieldBackgroundSuccessColor});\n ${rangeTokens.textFieldBackgroundSuccessColorFocus}: var(${tokens.textFieldBackgroundSuccessColorFocus});\n\n ${rangeTokens.textFieldBorderWidth}: var(${tokens.textFieldBorderWidth});\n ${rangeTokens.textFieldBorderColorFocus}: var(${tokens.textFieldBorderColorFocus});\n ${rangeTokens.textFieldBorderColorError}: var(${tokens.textFieldBorderColorError});\n ${rangeTokens.textFieldBorderColorErrorFocus}: var(${tokens.textFieldBorderColorErrorFocus});\n ${rangeTokens.textFieldBorderColorSuccess}: var(${tokens.textFieldBorderColorSuccess});\n ${rangeTokens.textFieldBorderColorSuccessFocus}: var(${tokens.textFieldBorderColorSuccessFocus});\n\n ${rangeTokens.textFieldTextBeforeColor}: var(${tokens.textFieldTextBeforeColor});\n ${rangeTokens.textFieldTextAfterColor}: var(${tokens.textFieldTextAfterColor});\n\n ${rangeTokens.focusColor}: var(${tokens.focusColor});\n\n ${rangeTokens.borderRadius}: var(${tokens.borderRadius});\n\n ${rangeTokens.dividerPadding}: var(${tokens.dividerPadding});\n ${rangeTokens.dividerFontFamily}: var(${tokens.dividerFontFamily});\n ${rangeTokens.dividerFontStyle}: var(${tokens.dividerFontStyle});\n ${rangeTokens.dividerFontSize}: var(${tokens.dividerFontSize});\n ${rangeTokens.dividerFontWeight}: var(${tokens.dividerFontWeight});\n ${rangeTokens.dividerLetterSpacing}: var(${tokens.dividerLetterSpacing});\n ${rangeTokens.dividerLineHeight}: var(${tokens.dividerLineHeight});\n\n ${rangeTokens.leftContentMargin}: var(${tokens.leftContentMargin});\n ${rangeTokens.rightContentMargin}: var(${tokens.rightContentMargin});\n\n ${rangeTokens.labelOffset}: var(${tokens.labelOffset});\n\n ${rangeTokens.labelFontFamily}: var(${tokens.labelFontFamily});\n ${rangeTokens.labelFontStyle}: var(${tokens.labelFontStyle});\n ${rangeTokens.labelFontSize}: var(${tokens.labelFontSize});\n ${rangeTokens.labelFontWeight}: var(${tokens.labelFontWeight});\n ${rangeTokens.labelLetterSpacing}: var(${tokens.labelLetterSpacing});\n ${rangeTokens.labelLineHeight}: var(${tokens.labelLineHeight});\n\n ${rangeTokens.textFieldHeight}: var(${tokens.textFieldHeight});\n ${rangeTokens.textFieldBorderRadius}: var(${tokens.textFieldBorderRadius});\n ${rangeTokens.textFieldPadding}: var(${tokens.textFieldPadding});\n ${rangeTokens.textFieldFontFamily}: var(${tokens.textFieldFontFamily});\n ${rangeTokens.textFieldFontStyle}: var(${tokens.textFieldFontStyle});\n ${rangeTokens.textFieldFontSize}: var(${tokens.textFieldFontSize});\n ${rangeTokens.textFieldFontWeight}: var(${tokens.textFieldFontWeight});\n ${rangeTokens.textFieldLetterSpacing}: var(${tokens.textFieldLetterSpacing});\n ${rangeTokens.textFieldLineHeight}: var(${tokens.textFieldLineHeight});\n\n ${rangeTokens.leftHelperOffset}: var(${tokens.leftHelperOffset});\n ${rangeTokens.leftHelperFontFamily}: var(${tokens.leftHelperFontFamily});\n ${rangeTokens.leftHelperFontStyle}: var(${tokens.leftHelperFontStyle});\n ${rangeTokens.leftHelperFontSize}: var(${tokens.leftHelperFontSize});\n ${rangeTokens.leftHelperFontWeight}: var(${tokens.leftHelperFontWeight});\n ${rangeTokens.leftHelperLetterSpacing}: var(${tokens.leftHelperLetterSpacing});\n ${rangeTokens.leftHelperLineHeight}: var(${tokens.leftHelperLineHeight});\n\n ${rangeTokens.textFieldLeftContentMargin}: var(${tokens.textFieldLeftContentMargin});\n ${rangeTokens.textFieldRightContentMargin}: var(${tokens.textFieldRightContentMargin});\n ${rangeTokens.textFieldTextBeforeMargin}: var(${tokens.textFieldTextBeforeMargin});\n ${rangeTokens.textFieldTextAfterMargin}: var(${tokens.textFieldTextAfterMargin});\n\n ${rangeTokens.backgroundReadOnly}: var(${tokens.backgroundReadOnly});\n ${rangeTokens.labelColorReadOnly}: var(${tokens.labelColorReadOnly});\n ${rangeTokens.leftHelperColorReadOnly}: var(${tokens.leftHelperColorReadOnly});\n ${rangeTokens.dividerColorReadOnly}: var(${tokens.dividerColorReadOnly});\n\n ${rangeTokens.textFieldColorReadOnly}: var(${tokens.textFieldColorReadOnly});\n ${rangeTokens.textFieldBackgroundColorReadOnly}: var(${tokens.textFieldBackgroundColorReadOnly});\n ${rangeTokens.textFieldPlaceholderColorReadOnly}: var(${tokens.textFieldPlaceholderColorReadOnly});\n`;\n\nexport const base = css`\n display: inline-block;\n`;\n\nexport const StyledLabel = styled.label``;\n\nexport const LeftHelper = styled.div``;\n"],"names":["mergedRangeConfig","mergeConfig","rangeConfig","Range","component","mergedPopoverConfig","popoverConfig","Popover","_exp","StyledPopover","styled","name","class","propsAsIs","_exp2","StyledRange","base","StyledLabel","LeftHelper"],"mappings":";;;;;;AAQA,IAAMA,iBAAiB,gBAAGC,WAAW,CAACC,WAAW,CAAC,CAAA;AAClD,IAAMC,KAAK,gBAAGC,SAAS,CAACJ,iBAAiB,CAAC,CAAA;AAE1C,IAAMK,mBAAmB,gBAAGJ,WAAW,CAACK,aAAa,CAAC,CAAA;AACtD,IAAMC,OAAO,gBAAGH,SAAS,CAACC,mBAAmB,CAAC,CAAA;AAAC,IAAAG,IAAA,GAX7BA,SAW6BA,IAAAA,GAAA;AAAA,EAAA,OAEXD,OAAO,CAAA;AAAA,CAAA,CAAA;AAApC,IAAME,aAAa,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAAW,EAAA;;AAE9C;AAAA,IAAAC,KAAA,GAfkBA,SAelBA,KAAAA,GAAA;AAAA,EAAA,OACkCX,KAAK,CAAA;AAAA,CAAA,CAAA;AAAhC,IAAMY,WAAW,gBAAGL,MAAM,CAAAI,KAAA,EAAA,CAAA,CAAA;AAAAH,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CA0FhC,EAAA;AAEM,IAAMG,IAAI,GAEhB,WAAA;AAEM,IAAMC,WAAW,gBAAGP,MAAM,CAAA,OAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAQ,EAAA;AAElC,IAAMK,UAAU,gBAAGR,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM;;;;"}
@@ -1 +0,0 @@
1
- .bc1qq8l[readonly]{cursor:default;--plasma-date-picker-textfield-background-color-readonly:transparent;}.bc1qq8l[readonly] .s1e76aix{display:block;color:var(--plasma-date-picker__label-color-readonly);}.bc1qq8l[readonly] .l1jb75sx{color:var(--plasma-date-picker__left-helper-color-readonly);}
@@ -1 +0,0 @@
1
- .bxpb4df{width:var(--plasma-date-picker-width);}.bxpb4df .s1e76aix{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);}.bxpb4df .l1jb75sx{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);}
@@ -1 +0,0 @@
1
- .bcuyjma .s1e76aix{display:block;color:var(--plasma-date-picker__label-color);}.bcuyjma .l1jb75sx{color:var(--plasma-date-picker__left-helper-color);}
@@ -1 +0,0 @@
1
- .b160pc19[readonly]{cursor:default;}.b160pc19[readonly] .s1k0v87d{display:block;color:var(--plasma-date-picker__label-color-readonly);}.b160pc19[readonly] .l1kt76cl{color:var(--plasma-date-picker__left-helper-color-readonly);}
@@ -1 +0,0 @@
1
- .bjvjzuw{width:var(--plasma-date-picker-width);}.bjvjzuw .s1k0v87d{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);}.bjvjzuw .l1kt76cl{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);}
@@ -1 +0,0 @@
1
- .bgt8q06 .s1k0v87d{display:block;color:var(--plasma-date-picker__label-color);}.bgt8q06 .l1kt76cl{color:var(--plasma-date-picker__left-helper-color);}