@salutejs/plasma-new-hope 0.335.0-canary.2196.17375511532.0 → 0.335.0-canary.2196.17400757003.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.js +4 -1
  2. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  3. package/cjs/components/Autocomplete/FloatingPopover.js +5 -4
  4. package/cjs/components/Autocomplete/FloatingPopover.js.map +1 -1
  5. package/cjs/components/Calendar/Calendar.tokens.js +1 -0
  6. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  7. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  8. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  9. package/cjs/components/DatePicker/DatePicker.tokens.js +1 -0
  10. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
  11. package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  12. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  13. package/cjs/components/DatePicker/{DatePickerBase.styles_10sa0ht.css → DatePickerBase.styles_1fnt3hc.css} +1 -1
  14. package/cjs/components/DatePicker/RangeDate/RangeDate.css +4 -4
  15. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +2 -2
  16. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  17. package/{es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1n0dbxm.css → cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_160e4y4.css} +2 -2
  18. package/cjs/components/DatePicker/SingleDate/SingleDate.css +2 -2
  19. package/cjs/components/Popup/Popup.js +8 -67
  20. package/cjs/components/Popup/Popup.js.map +1 -1
  21. package/cjs/components/Popup/ui/Draggable/Draggable.js +33 -0
  22. package/cjs/components/Popup/ui/Draggable/Draggable.js.map +1 -0
  23. package/cjs/components/Popup/ui/Resizable/Resizable.js +79 -0
  24. package/cjs/components/Popup/ui/Resizable/Resizable.js.map +1 -0
  25. package/cjs/components/Slider/ui/Handler/Handler.js +3 -3
  26. package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -1
  27. package/cjs/components/Tooltip/Tooltip.js +22 -45
  28. package/cjs/components/Tooltip/Tooltip.js.map +1 -1
  29. package/cjs/components/Tooltip/hooks/useDelayedTooltip.js +49 -0
  30. package/cjs/components/Tooltip/hooks/useDelayedTooltip.js.map +1 -0
  31. package/cjs/components/Tree/Tree.css +6 -6
  32. package/cjs/components/Tree/Tree.js +9 -2
  33. package/cjs/components/Tree/Tree.js.map +1 -1
  34. package/cjs/components/Tree/Tree.styles.js +1 -1
  35. package/cjs/components/Tree/Tree.styles.js.map +1 -1
  36. package/cjs/components/Tree/Tree.styles_6sla5y.css +7 -0
  37. package/cjs/components/Tree/Tree.tokens.js +2 -1
  38. package/cjs/components/Tree/Tree.tokens.js.map +1 -1
  39. package/cjs/index.css +10 -10
  40. package/emotion/cjs/components/Autocomplete/Autocomplete.js +3 -1
  41. package/emotion/cjs/components/Autocomplete/FloatingPopover.js +31 -4
  42. package/emotion/cjs/components/Calendar/Calendar.tokens.js +1 -0
  43. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  44. package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +1 -0
  45. package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +5 -5
  46. package/emotion/cjs/components/Popup/Popup.js +7 -69
  47. package/emotion/cjs/components/Popup/ui/Draggable/Draggable.js +75 -0
  48. package/emotion/cjs/components/Popup/ui/Resizable/Resizable.js +114 -0
  49. package/emotion/cjs/components/Popup/ui/index.js +20 -0
  50. package/emotion/cjs/components/Tooltip/Tooltip.js +19 -41
  51. package/emotion/cjs/components/Tooltip/hooks/index.js +11 -0
  52. package/emotion/cjs/components/Tooltip/hooks/useDelayedTooltip.js +93 -0
  53. package/emotion/cjs/components/Tree/Tree.js +7 -2
  54. package/emotion/cjs/components/Tree/Tree.styles.js +13 -13
  55. package/emotion/cjs/components/Tree/Tree.tokens.js +2 -1
  56. package/emotion/cjs/examples/components/Calendar/CalendarBase.config.js +5 -5
  57. package/emotion/cjs/examples/components/Calendar/CalendarDouble.config.js +5 -5
  58. package/emotion/cjs/examples/components/Combobox/Combobox.js +15 -0
  59. package/emotion/cjs/examples/components/DatePicker/DatePicker.config.js +7 -7
  60. package/emotion/es/components/Autocomplete/Autocomplete.js +3 -1
  61. package/emotion/es/components/Autocomplete/FloatingPopover.js +31 -4
  62. package/emotion/es/components/Calendar/Calendar.tokens.js +1 -0
  63. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +4 -4
  64. package/emotion/es/components/DatePicker/DatePicker.tokens.js +1 -0
  65. package/emotion/es/components/DatePicker/DatePickerBase.styles.js +5 -5
  66. package/emotion/es/components/Popup/Popup.js +6 -63
  67. package/emotion/es/components/Popup/ui/Draggable/Draggable.js +19 -0
  68. package/emotion/es/components/Popup/ui/Resizable/Resizable.js +63 -0
  69. package/emotion/es/components/Popup/ui/index.js +2 -0
  70. package/emotion/es/components/Tooltip/Tooltip.js +20 -42
  71. package/emotion/es/components/Tooltip/hooks/index.js +1 -0
  72. package/emotion/es/components/Tooltip/hooks/useDelayedTooltip.js +83 -0
  73. package/emotion/es/components/Tree/Tree.js +7 -2
  74. package/emotion/es/components/Tree/Tree.styles.js +13 -13
  75. package/emotion/es/components/Tree/Tree.tokens.js +2 -1
  76. package/emotion/es/examples/components/Calendar/CalendarBase.config.js +5 -5
  77. package/emotion/es/examples/components/Calendar/CalendarDouble.config.js +5 -5
  78. package/emotion/es/examples/components/Combobox/Combobox.js +7 -0
  79. package/emotion/es/examples/components/DatePicker/DatePicker.config.js +7 -7
  80. package/es/components/Autocomplete/Autocomplete.js +4 -1
  81. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  82. package/es/components/Autocomplete/FloatingPopover.js +6 -5
  83. package/es/components/Autocomplete/FloatingPopover.js.map +1 -1
  84. package/es/components/Calendar/Calendar.tokens.js +1 -0
  85. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  86. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +4 -4
  87. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  88. package/es/components/DatePicker/DatePicker.tokens.js +1 -0
  89. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  90. package/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  91. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  92. package/es/components/DatePicker/{DatePickerBase.styles_10sa0ht.css → DatePickerBase.styles_1fnt3hc.css} +1 -1
  93. package/es/components/DatePicker/RangeDate/RangeDate.css +4 -4
  94. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +2 -2
  95. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  96. package/{cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1n0dbxm.css → es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_160e4y4.css} +2 -2
  97. package/es/components/DatePicker/SingleDate/SingleDate.css +2 -2
  98. package/es/components/Popup/Popup.js +7 -65
  99. package/es/components/Popup/Popup.js.map +1 -1
  100. package/es/components/Popup/ui/Draggable/Draggable.js +24 -0
  101. package/es/components/Popup/ui/Draggable/Draggable.js.map +1 -0
  102. package/es/components/Popup/ui/Resizable/Resizable.js +71 -0
  103. package/es/components/Popup/ui/Resizable/Resizable.js.map +1 -0
  104. package/es/components/Slider/ui/Handler/Handler.js +2 -2
  105. package/es/components/Slider/ui/Handler/Handler.js.map +1 -1
  106. package/es/components/Tooltip/Tooltip.js +23 -46
  107. package/es/components/Tooltip/Tooltip.js.map +1 -1
  108. package/es/components/Tooltip/hooks/useDelayedTooltip.js +45 -0
  109. package/es/components/Tooltip/hooks/useDelayedTooltip.js.map +1 -0
  110. package/es/components/Tree/Tree.css +6 -6
  111. package/es/components/Tree/Tree.js +9 -2
  112. package/es/components/Tree/Tree.js.map +1 -1
  113. package/es/components/Tree/Tree.styles.js +1 -1
  114. package/es/components/Tree/Tree.styles.js.map +1 -1
  115. package/es/components/Tree/Tree.styles_6sla5y.css +7 -0
  116. package/es/components/Tree/Tree.tokens.js +2 -1
  117. package/es/components/Tree/Tree.tokens.js.map +1 -1
  118. package/es/index.css +10 -10
  119. package/package.json +4 -4
  120. package/styled-components/cjs/components/Autocomplete/Autocomplete.js +3 -1
  121. package/styled-components/cjs/components/Autocomplete/FloatingPopover.js +31 -4
  122. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +1 -0
  123. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  124. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +1 -0
  125. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
  126. package/styled-components/cjs/components/Popup/Popup.js +7 -69
  127. package/styled-components/cjs/components/Popup/ui/Draggable/Draggable.js +75 -0
  128. package/styled-components/cjs/components/Popup/ui/Resizable/Resizable.js +114 -0
  129. package/styled-components/cjs/components/Popup/ui/index.js +20 -0
  130. package/styled-components/cjs/components/Tooltip/Tooltip.js +18 -40
  131. package/styled-components/cjs/components/Tooltip/hooks/index.js +11 -0
  132. package/styled-components/cjs/components/Tooltip/hooks/useDelayedTooltip.js +93 -0
  133. package/styled-components/cjs/components/Tree/Tree.js +7 -2
  134. package/styled-components/cjs/components/Tree/Tree.styles.js +13 -10
  135. package/styled-components/cjs/components/Tree/Tree.tokens.js +2 -1
  136. package/styled-components/cjs/examples/components/Calendar/CalendarBase.config.js +8 -4
  137. package/styled-components/cjs/examples/components/Calendar/CalendarDouble.config.js +8 -4
  138. package/styled-components/cjs/examples/components/Combobox/Combobox.js +15 -0
  139. package/styled-components/cjs/examples/components/DatePicker/DatePicker.config.js +8 -4
  140. package/styled-components/es/components/Autocomplete/Autocomplete.js +3 -1
  141. package/styled-components/es/components/Autocomplete/FloatingPopover.js +31 -4
  142. package/styled-components/es/components/Calendar/Calendar.tokens.js +1 -0
  143. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +4 -4
  144. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +1 -0
  145. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +3 -3
  146. package/styled-components/es/components/Popup/Popup.js +6 -63
  147. package/styled-components/es/components/Popup/ui/Draggable/Draggable.js +19 -0
  148. package/styled-components/es/components/Popup/ui/Resizable/Resizable.js +63 -0
  149. package/styled-components/es/components/Popup/ui/index.js +2 -0
  150. package/styled-components/es/components/Tooltip/Tooltip.js +19 -41
  151. package/styled-components/es/components/Tooltip/hooks/index.js +1 -0
  152. package/styled-components/es/components/Tooltip/hooks/useDelayedTooltip.js +83 -0
  153. package/styled-components/es/components/Tree/Tree.js +7 -2
  154. package/styled-components/es/components/Tree/Tree.styles.js +13 -10
  155. package/styled-components/es/components/Tree/Tree.tokens.js +2 -1
  156. package/styled-components/es/examples/components/Calendar/CalendarBase.config.js +8 -4
  157. package/styled-components/es/examples/components/Calendar/CalendarDouble.config.js +8 -4
  158. package/styled-components/es/examples/components/Combobox/Combobox.js +0 -7
  159. package/styled-components/es/examples/components/DatePicker/DatePicker.config.js +8 -4
  160. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  161. package/types/components/Autocomplete/Autocomplete.types.d.ts +6 -0
  162. package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
  163. package/types/components/Calendar/Calendar.tokens.d.ts +1 -0
  164. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  165. package/types/components/DatePicker/DatePicker.tokens.d.ts +1 -0
  166. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  167. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
  168. package/types/components/Popup/Popup.d.ts.map +1 -1
  169. package/types/components/Popup/ui/Draggable/Draggable.d.ts +6 -0
  170. package/types/components/Popup/ui/Draggable/Draggable.d.ts.map +1 -0
  171. package/types/components/Popup/ui/Resizable/Resizable.d.ts +7 -0
  172. package/types/components/Popup/ui/Resizable/Resizable.d.ts.map +1 -0
  173. package/types/components/Popup/ui/index.d.ts +3 -0
  174. package/types/components/Popup/ui/index.d.ts.map +1 -0
  175. package/types/components/Tooltip/Tooltip.d.ts.map +1 -1
  176. package/types/components/Tooltip/Tooltip.types.d.ts +31 -20
  177. package/types/components/Tooltip/Tooltip.types.d.ts.map +1 -1
  178. package/types/components/Tooltip/hooks/index.d.ts +2 -0
  179. package/types/components/Tooltip/hooks/index.d.ts.map +1 -0
  180. package/types/components/Tooltip/hooks/useDelayedTooltip.d.ts +7 -0
  181. package/types/components/Tooltip/hooks/useDelayedTooltip.d.ts.map +1 -0
  182. package/types/components/Tree/Tree.d.ts.map +1 -1
  183. package/types/components/Tree/Tree.styles.d.ts.map +1 -1
  184. package/types/components/Tree/Tree.tokens.d.ts +1 -0
  185. package/types/components/Tree/Tree.tokens.d.ts.map +1 -1
  186. package/types/components/Tree/Tree.types.d.ts +11 -4
  187. package/types/components/Tree/Tree.types.d.ts.map +1 -1
  188. package/types/examples/components/Autocomplete/Autocomplete.d.ts +8 -0
  189. package/types/examples/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  190. package/types/examples/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  191. package/types/examples/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  192. package/types/examples/components/DatePicker/DatePicker.config.d.ts.map +1 -1
  193. package/cjs/components/Tree/Tree.styles_1w91oy6.css +0 -7
  194. package/es/components/Tree/Tree.styles_1w91oy6.css +0 -7
@@ -19,7 +19,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
19
19
 
20
20
  var React__default = /*#__PURE__*/_interopDefault(React);
21
21
 
22
- var _excluded = ["value", "defaultValue", "onChange", "suggestions", "view", "size", "labelPlacement", "keepPlaceholder", "disabled", "readOnly", "label", "leftHelper", "contentLeft", "contentRight", "textBefore", "textAfter", "onScroll", "listMaxHeight", "listWidth", "portal", "zIndex", "filter", "onSuggestionSelect", "threshold", "renderList", "renderListEnd", "renderItem", "onSearch", "hintText", "hintView", "hintSize", "beforeList", "afterList", "virtual", "_offset"];
22
+ var _excluded = ["value", "defaultValue", "onChange", "suggestions", "view", "size", "labelPlacement", "keepPlaceholder", "disabled", "readOnly", "label", "leftHelper", "contentLeft", "contentRight", "textBefore", "textAfter", "onScroll", "listMaxHeight", "listWidth", "portal", "zIndex", "filter", "onSuggestionSelect", "threshold", "renderList", "renderListEnd", "renderItem", "onSearch", "hintText", "hintView", "hintSize", "beforeList", "afterList", "virtual", "flip", "_offset"];
23
23
 
24
24
  /**
25
25
  * Компонент Autocomplete. Поле ввода с подсказками в выпадающем списке.
@@ -66,6 +66,8 @@ var autocompleteRoot = function autocompleteRoot(Root) {
66
66
  afterList = _ref.afterList,
67
67
  _ref$virtual = _ref.virtual,
68
68
  virtual = _ref$virtual === void 0 ? false : _ref$virtual,
69
+ _ref$flip = _ref.flip,
70
+ flip = _ref$flip === void 0 ? false : _ref$flip,
69
71
  _offset = _ref._offset,
70
72
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
71
73
  var _useReducer = React.useReducer(focusedReducer.focusedReducer, null),
@@ -148,6 +150,7 @@ var autocompleteRoot = function autocompleteRoot(Root) {
148
150
  zIndex: zIndex,
149
151
  listWidth: listWidth,
150
152
  offset: _offset,
153
+ flip: flip,
151
154
  target: function target(referenceRef) {
152
155
  return /*#__PURE__*/React__default.default.createElement(TextField_styles.StyledTextField, _rollupPluginBabelHelpers.extends({
153
156
  ref: ref,
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.js","sources":["../../../src/components/Autocomplete/Autocomplete.tsx"],"sourcesContent":["import React, { forwardRef, useState, useReducer, useRef } from 'react';\nimport { safeUseId } from 'src/utils';\nimport { useDidMountEffect, useOutsideClick } from 'src/hooks';\nimport { RootProps } from 'src/engines';\n\nimport { FloatingPopover } from './FloatingPopover';\nimport { focusedReducer } from './reducers/focusedReducer';\nimport { SuggestionItem, StyledTextField, VirtualList } from './ui';\nimport { Ul, InfiniteLoaderWrapper, base, StyledLeftHelper, ListWrapper } from './Autocomplete.styles';\nimport type { AutocompleteProps, SuggestionItemType } from './Autocomplete.types';\nimport { useKeyNavigation } from './hooks/useKeyboardNavigation';\n\n/**\n * Компонент Autocomplete. Поле ввода с подсказками в выпадающем списке.\n */\nexport const autocompleteRoot = (Root: RootProps<HTMLInputElement, Omit<AutocompleteProps, 'hintText'>>) =>\n forwardRef<HTMLInputElement, AutocompleteProps>(\n (\n {\n value: outerValue,\n defaultValue,\n onChange,\n suggestions,\n view,\n size,\n labelPlacement,\n keepPlaceholder,\n disabled,\n readOnly,\n label,\n leftHelper,\n contentLeft,\n contentRight,\n textBefore,\n textAfter,\n onScroll,\n listMaxHeight = '25rem',\n listWidth,\n portal,\n zIndex,\n filter,\n onSuggestionSelect,\n threshold = 2,\n renderList,\n renderListEnd,\n renderItem,\n onSearch,\n hintText,\n hintView = 'default',\n hintSize = 'm',\n beforeList,\n afterList,\n virtual = false,\n // @ts-ignore\n _offset,\n ...rest\n },\n ref,\n ) => {\n const [focused, dispatchFocused] = useReducer(focusedReducer, null);\n const [innerValue, setInnerValue] = useState<string>(defaultValue || '');\n const [isOpen, setIsOpen] = useState(false);\n\n const listId = safeUseId();\n const value = outerValue ?? innerValue;\n\n const helperTextId = safeUseId();\n const floatingPopoverRef = useRef<HTMLDivElement>(null);\n\n const targetRef = useOutsideClick<HTMLUListElement>(() => {\n setIsOpen(false);\n }, floatingPopoverRef);\n\n const handleFocus = () => {\n if (value.toString().length >= threshold) {\n setIsOpen(true);\n }\n };\n\n const handleItemClick = (e: SuggestionItemType) => {\n setInnerValue(e.label);\n\n if (onSuggestionSelect) {\n onSuggestionSelect(e);\n }\n\n setIsOpen(false);\n };\n\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n const currentValue = e.target.value;\n\n setInnerValue(currentValue);\n\n if (onChange) {\n onChange(e);\n }\n\n if (currentValue.toString().length >= threshold) {\n setIsOpen(true);\n } else {\n setIsOpen(false);\n }\n };\n\n const defaultFilterCallback = ({ label }: { label: string }) => {\n return label.toLowerCase().includes(value.toString().toLowerCase());\n };\n\n const helperTextStopPropagation = (event: React.MouseEvent<HTMLDivElement>) => {\n event.stopPropagation();\n };\n\n const finalResults = suggestions?.filter(filter || defaultFilterCallback) || [];\n\n const { onKeyDown } = useKeyNavigation({\n isOpen,\n setIsOpen,\n focused,\n dispatchFocused,\n finalResults,\n handleItemClick,\n });\n\n useDidMountEffect(() => {\n dispatchFocused({ type: 'reset' });\n }, [value]);\n\n return (\n <Root\n view={view}\n size={size}\n labelPlacement={labelPlacement}\n disabled={disabled}\n readOnly={readOnly}\n hintView={hintView}\n hintSize={hintSize}\n >\n <FloatingPopover\n ref={floatingPopoverRef}\n opened={isOpen}\n portal={portal}\n zIndex={zIndex}\n listWidth={listWidth}\n offset={_offset}\n target={(referenceRef) => (\n <StyledTextField\n ref={ref}\n inputWrapperRef={referenceRef}\n value={value}\n onChange={handleChange}\n onSearch={focused === null ? onSearch : undefined}\n size={size}\n view={view}\n disabled={disabled}\n readOnly={readOnly}\n label={label}\n contentLeft={contentLeft}\n contentRight={contentRight}\n textBefore={textBefore}\n textAfter={textAfter}\n onFocus={handleFocus}\n onKeyDown={onKeyDown}\n role=\"combobox\"\n aria-autocomplete=\"list\"\n aria-controls={listId}\n aria-expanded={isOpen}\n aria-activedescendant={`${listId}/${focused}`}\n aria-describedby={helperTextId}\n hintText={String(hintText || '')}\n labelPlacement={labelPlacement}\n keepPlaceholder={keepPlaceholder}\n leftHelper={\n leftHelper && (\n <StyledLeftHelper onClick={helperTextStopPropagation}>\n {leftHelper}\n </StyledLeftHelper>\n )\n }\n {...rest}\n />\n )}\n >\n {(renderList && renderList(finalResults)) ||\n (Boolean(finalResults.length) && (\n <Root\n view={view}\n size={size}\n labelPlacement={labelPlacement}\n disabled={disabled}\n readOnly={readOnly}\n >\n <ListWrapper>\n <Ul\n ref={targetRef}\n id={listId}\n role=\"listbox\"\n aria-label={label}\n onScroll={virtual ? undefined : onScroll}\n listMaxHeight={listMaxHeight}\n virtual={virtual}\n >\n {virtual ? (\n <VirtualList\n items={finalResults}\n onClick={handleItemClick}\n listId={listId}\n listMaxHeight={listMaxHeight}\n onScroll={onScroll}\n renderItem={renderItem}\n />\n ) : (\n <>\n {beforeList}\n\n {finalResults.map((suggestion, index) => (\n <SuggestionItem\n key={index}\n item={suggestion}\n onClick={handleItemClick}\n id={`${listId}/${index}`}\n focused={focused === index}\n renderItem={renderItem}\n />\n ))}\n\n {afterList}\n </>\n )}\n\n {renderListEnd && (\n <InfiniteLoaderWrapper>{renderListEnd()}</InfiniteLoaderWrapper>\n )}\n </Ul>\n </ListWrapper>\n </Root>\n ))}\n </FloatingPopover>\n </Root>\n );\n },\n );\n\nexport const autocompleteConfig = {\n name: 'Autocomplete',\n tag: 'div',\n layout: autocompleteRoot,\n base,\n defaults: {\n view: 'default',\n size: 'l',\n labelPlacement: 'outer',\n },\n variations: {\n view: {\n css: '',\n },\n },\n};\n"],"names":["autocompleteRoot","Root","forwardRef","_ref","ref","_StyledLeftHelper","outerValue","value","defaultValue","onChange","suggestions","view","size","labelPlacement","keepPlaceholder","disabled","readOnly","label","leftHelper","contentLeft","contentRight","textBefore","textAfter","onScroll","_ref$listMaxHeight","listMaxHeight","listWidth","portal","zIndex","filter","onSuggestionSelect","_ref$threshold","threshold","renderList","renderListEnd","renderItem","onSearch","hintText","_ref$hintView","hintView","_ref$hintSize","hintSize","beforeList","afterList","_ref$virtual","virtual","_offset","rest","_objectWithoutProperties","_excluded","_useReducer","useReducer","focusedReducer","_useReducer2","_slicedToArray","focused","dispatchFocused","_useState","useState","_useState2","innerValue","setInnerValue","_useState3","_useState4","isOpen","setIsOpen","listId","safeUseId","helperTextId","floatingPopoverRef","useRef","targetRef","useOutsideClick","handleFocus","toString","length","handleItemClick","e","handleChange","currentValue","target","defaultFilterCallback","_ref2","toLowerCase","includes","helperTextStopPropagation","event","stopPropagation","finalResults","_useKeyNavigation","useKeyNavigation","onKeyDown","useDidMountEffect","type","React","createElement","FloatingPopover","opened","offset","referenceRef","StyledTextField","_extends","inputWrapperRef","undefined","onFocus","role","concat","String","StyledLeftHelper","onClick","Boolean","ListWrapper","Ul","id","VirtualList","items","Fragment","map","suggestion","index","SuggestionItem","key","item","InfiniteLoaderWrapper","autocompleteConfig","name","tag","layout","base","defaults","variations","css"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAYA;AACA;AACA;IACaA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,IAAsE,EAAA;AAAA,EAAA,oBACnGC,gBAAU,CACN,UAAAC,IAAA,EAwCIC,GAAG,EACF;AAAA,IAAA,IAAAC,iBAAA,CAAA;AAAA,IAAA,IAvCUC,UAAU,GAAAH,IAAA,CAAjBI,KAAK;MACLC,YAAY,GAAAL,IAAA,CAAZK,YAAY;MACZC,QAAQ,GAAAN,IAAA,CAARM,QAAQ;MACRC,WAAW,GAAAP,IAAA,CAAXO,WAAW;MACXC,IAAI,GAAAR,IAAA,CAAJQ,IAAI;MACJC,IAAI,GAAAT,IAAA,CAAJS,IAAI;MACJC,cAAc,GAAAV,IAAA,CAAdU,cAAc;MACdC,eAAe,GAAAX,IAAA,CAAfW,eAAe;MACfC,QAAQ,GAAAZ,IAAA,CAARY,QAAQ;MACRC,QAAQ,GAAAb,IAAA,CAARa,QAAQ;MACRC,KAAK,GAAAd,IAAA,CAALc,KAAK;MACLC,UAAU,GAAAf,IAAA,CAAVe,UAAU;MACVC,WAAW,GAAAhB,IAAA,CAAXgB,WAAW;MACXC,YAAY,GAAAjB,IAAA,CAAZiB,YAAY;MACZC,UAAU,GAAAlB,IAAA,CAAVkB,UAAU;MACVC,SAAS,GAAAnB,IAAA,CAATmB,SAAS;MACTC,QAA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;AAAA,MAAA,oBAChCzB,sBAAA,CAAAC,aAAA,CAACyB,6BAAc,EAAA;AACXC,QAAAA,GAAG,EAAEF,KAAM;AACXG,QAAAA,IAAI,EAAEJ,UAAW;AACjBT,QAAAA,OAAO,EAAEjC,eAAgB;QACzBqC,EAAE,EAAA,EAAA,CAAAP,MAAA,CAAKxC,MAAM,OAAAwC,MAAA,CAAIa,KAAK,CAAG;QACzBhE,OAAO,EAAEA,OAAO,KAAKgE,KAAM;AAC3BpF,QAAAA,UAAU,EAAEA,UAAAA;AAAW,OAC1B,CAAC,CAAA;KACL,CAAC,EAEDQ,SACH,CACL,EAEAT,aAAa,iBACV4D,sBAAA,CAAAC,aAAA,CAAC4B,yCAAqB,EAAA,IAAA,EAAEzF,aAAa,EAA0B,CAEnE,CACK,CACX,CAED,CACf,CAAC,CAAA;AAEf,GACJ,CAAC,CAAA;AAAA,EAAA;AAEE,IAAM0F,kBAAkB,GAAG;AAC9BC,EAAAA,IAAI,EAAE,cAAc;AACpBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAE/H,gBAAgB;AACxBgI,EAAAA,IAAI,EAAJA,wBAAI;AACJC,EAAAA,QAAQ,EAAE;AACNtH,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAG;AACTC,IAAAA,cAAc,EAAE,OAAA;GACnB;AACDqH,EAAAA,UAAU,EAAE;AACRvH,IAAAA,IAAI,EAAE;AACFwH,MAAAA,GAAG,EAAE,EAAA;AACT,KAAA;AACJ,GAAA;AACJ;;;;;"}
1
+ {"version":3,"file":"Autocomplete.js","sources":["../../../src/components/Autocomplete/Autocomplete.tsx"],"sourcesContent":["import React, { forwardRef, useState, useReducer, useRef } from 'react';\nimport { safeUseId } from 'src/utils';\nimport { useDidMountEffect, useOutsideClick } from 'src/hooks';\nimport { RootProps } from 'src/engines';\n\nimport { FloatingPopover } from './FloatingPopover';\nimport { focusedReducer } from './reducers/focusedReducer';\nimport { SuggestionItem, StyledTextField, VirtualList } from './ui';\nimport { Ul, InfiniteLoaderWrapper, base, StyledLeftHelper, ListWrapper } from './Autocomplete.styles';\nimport type { AutocompleteProps, SuggestionItemType } from './Autocomplete.types';\nimport { useKeyNavigation } from './hooks/useKeyboardNavigation';\n\n/**\n * Компонент Autocomplete. Поле ввода с подсказками в выпадающем списке.\n */\nexport const autocompleteRoot = (Root: RootProps<HTMLInputElement, Omit<AutocompleteProps, 'hintText'>>) =>\n forwardRef<HTMLInputElement, AutocompleteProps>(\n (\n {\n value: outerValue,\n defaultValue,\n onChange,\n suggestions,\n view,\n size,\n labelPlacement,\n keepPlaceholder,\n disabled,\n readOnly,\n label,\n leftHelper,\n contentLeft,\n contentRight,\n textBefore,\n textAfter,\n onScroll,\n listMaxHeight = '25rem',\n listWidth,\n portal,\n zIndex,\n filter,\n onSuggestionSelect,\n threshold = 2,\n renderList,\n renderListEnd,\n renderItem,\n onSearch,\n hintText,\n hintView = 'default',\n hintSize = 'm',\n beforeList,\n afterList,\n virtual = false,\n flip = false,\n // @ts-ignore\n _offset,\n ...rest\n },\n ref,\n ) => {\n const [focused, dispatchFocused] = useReducer(focusedReducer, null);\n const [innerValue, setInnerValue] = useState<string>(defaultValue || '');\n const [isOpen, setIsOpen] = useState(false);\n\n const listId = safeUseId();\n const value = outerValue ?? innerValue;\n\n const helperTextId = safeUseId();\n const floatingPopoverRef = useRef<HTMLDivElement>(null);\n\n const targetRef = useOutsideClick<HTMLUListElement>(() => {\n setIsOpen(false);\n }, floatingPopoverRef);\n\n const handleFocus = () => {\n if (value.toString().length >= threshold) {\n setIsOpen(true);\n }\n };\n\n const handleItemClick = (e: SuggestionItemType) => {\n setInnerValue(e.label);\n\n if (onSuggestionSelect) {\n onSuggestionSelect(e);\n }\n\n setIsOpen(false);\n };\n\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n const currentValue = e.target.value;\n\n setInnerValue(currentValue);\n\n if (onChange) {\n onChange(e);\n }\n\n if (currentValue.toString().length >= threshold) {\n setIsOpen(true);\n } else {\n setIsOpen(false);\n }\n };\n\n const defaultFilterCallback = ({ label }: { label: string }) => {\n return label.toLowerCase().includes(value.toString().toLowerCase());\n };\n\n const helperTextStopPropagation = (event: React.MouseEvent<HTMLDivElement>) => {\n event.stopPropagation();\n };\n\n const finalResults = suggestions?.filter(filter || defaultFilterCallback) || [];\n\n const { onKeyDown } = useKeyNavigation({\n isOpen,\n setIsOpen,\n focused,\n dispatchFocused,\n finalResults,\n handleItemClick,\n });\n\n useDidMountEffect(() => {\n dispatchFocused({ type: 'reset' });\n }, [value]);\n\n return (\n <Root\n view={view}\n size={size}\n labelPlacement={labelPlacement}\n disabled={disabled}\n readOnly={readOnly}\n hintView={hintView}\n hintSize={hintSize}\n >\n <FloatingPopover\n ref={floatingPopoverRef}\n opened={isOpen}\n portal={portal}\n zIndex={zIndex}\n listWidth={listWidth}\n offset={_offset}\n flip={flip}\n target={(referenceRef) => (\n <StyledTextField\n ref={ref}\n inputWrapperRef={referenceRef}\n value={value}\n onChange={handleChange}\n onSearch={focused === null ? onSearch : undefined}\n size={size}\n view={view}\n disabled={disabled}\n readOnly={readOnly}\n label={label}\n contentLeft={contentLeft}\n contentRight={contentRight}\n textBefore={textBefore}\n textAfter={textAfter}\n onFocus={handleFocus}\n onKeyDown={onKeyDown}\n role=\"combobox\"\n aria-autocomplete=\"list\"\n aria-controls={listId}\n aria-expanded={isOpen}\n aria-activedescendant={`${listId}/${focused}`}\n aria-describedby={helperTextId}\n hintText={String(hintText || '')}\n labelPlacement={labelPlacement}\n keepPlaceholder={keepPlaceholder}\n leftHelper={\n leftHelper && (\n <StyledLeftHelper onClick={helperTextStopPropagation}>\n {leftHelper}\n </StyledLeftHelper>\n )\n }\n {...rest}\n />\n )}\n >\n {(renderList && renderList(finalResults)) ||\n (Boolean(finalResults.length) && (\n <Root\n view={view}\n size={size}\n labelPlacement={labelPlacement}\n disabled={disabled}\n readOnly={readOnly}\n >\n <ListWrapper>\n <Ul\n ref={targetRef}\n id={listId}\n role=\"listbox\"\n aria-label={label}\n onScroll={virtual ? undefined : onScroll}\n listMaxHeight={listMaxHeight}\n virtual={virtual}\n >\n {virtual ? (\n <VirtualList\n items={finalResults}\n onClick={handleItemClick}\n listId={listId}\n listMaxHeight={listMaxHeight}\n onScroll={onScroll}\n renderItem={renderItem}\n />\n ) : (\n <>\n {beforeList}\n\n {finalResults.map((suggestion, index) => (\n <SuggestionItem\n key={index}\n item={suggestion}\n onClick={handleItemClick}\n id={`${listId}/${index}`}\n focused={focused === index}\n renderItem={renderItem}\n />\n ))}\n\n {afterList}\n </>\n )}\n\n {renderListEnd && (\n <InfiniteLoaderWrapper>{renderListEnd()}</InfiniteLoaderWrapper>\n )}\n </Ul>\n </ListWrapper>\n </Root>\n ))}\n </FloatingPopover>\n </Root>\n );\n },\n );\n\nexport const autocompleteConfig = {\n name: 'Autocomplete',\n tag: 'div',\n layout: autocompleteRoot,\n base,\n defaults: {\n view: 'default',\n size: 'l',\n labelPlacement: 'outer',\n },\n variations: {\n view: {\n css: '',\n },\n },\n};\n"],"names":["autocompleteRoot","Root","forwardRef","_ref","ref","_StyledLeftHelper","outerValue","value","defaultValue","onChange","suggestions","view","size","labelPlacement","keepPlaceholder","disabled","readOnly","label","leftHelper","contentLeft","contentRight","textBefore","textAfter","onScroll","_ref$listMaxHeight","listMaxHeight","listWidth","portal","zIndex","filter","onSuggestionSelect","_ref$threshold","threshold","renderList","renderListEnd","renderItem","onSearch","hintText","_ref$hintView","hintView","_ref$hintSize","hintSize","beforeList","afterList","_ref$virtual","virtual","_ref$flip","flip","_offset","rest","_objectWithoutProperties","_excluded","_useReducer","useReducer","focusedReducer","_useReducer2","_slicedToArray","focused","dispatchFocused","_useState","useState","_useState2","innerValue","setInnerValue","_useState3","_useState4","isOpen","setIsOpen","listId","safeUseId","helperTextId","floatingPopoverRef","useRef","targetRef","useOutsideClick","handleFocus","toString","length","handleItemClick","e","handleChange","currentValue","target","defaultFilterCallback","_ref2","toLowerCase","includes","helperTextStopPropagation","event","stopPropagation","finalResults","_useKeyNavigation","useKeyNavigation","onKeyDown","useDidMountEffect","type","React","createElement","FloatingPopover","opened","offset","referenceRef","StyledTextField","_extends","inputWrapperRef","undefined","onFocus","role","concat","String","StyledLeftHelper","onClick","Boolean","ListWrapper","Ul","id","VirtualList","items","Fragment","map","suggestion","index","SuggestionItem","key","item","InfiniteLoaderWrapper","autocompleteConfig","name","tag","layout","base","defaults","variations","css"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAYA;AACA;AACA;IACaA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,IAAsE,EAAA;AAAA,EAAA,oBACnGC,gBAAU,CACN,UAAAC,IAAA,EAyCIC,GAAG,EACF;AAAA,IAAA,IAAAC,iBAAA,CAAA;AAAA,IAAA,IAxCUC,UAAU,GAAAH,IAAA,CAAjBI,KAAK;MACLC,YAAY,GAAAL,IAAA,CAAZK,YAAY;MACZC,QAAQ,GAAAN,IAAA,CAARM,QAAQ;MACRC,WAAW,GAAAP,IAAA,CAAXO,WAAW;MACXC,IAAI,GAAAR,IAAA,CAAJQ,IAAI;MACJC,IAAI,GAAAT,IAAA,CAAJS,IAAI;MACJC,cAAc,GAAAV,IAAA,CAAdU,cAAc;MACdC,eAAe,GAAAX,IAAA,CAAfW,eAAe;MACfC,QAAQ,GAAAZ,IAAA,CAARY,QAAQ;MACRC,QAAQ,GAAAb,IAAA,CAARa,QAAQ;MACRC,KAAK,GAAAd,IAAA,CAALc,KAAK;MACLC,UAAU,GAAAf,IAAA,CAAVe,UAAU;MACVC,WAAW,GAAAhB,IAAA,CAAXgB,WAAW;MACXC,YAAY,GAAAjB,IAAA,CAAZiB,YAAY;MACZC,UAAU,GAAAlB,IAAA,CAAVkB,UAAU;MACVC,SAAS,GAAAnB,IAAA,CAATmB,SAAS;MACTC,QAAQ,GAAApB,IAAA,CAARoB,QAAQ;MAAAC,kBAAA,GAAArB,IAAA,CACRsB,aAAa;AAA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E,UAAU,EAEVgD,YAAY,CAAC6B,GAAG,CAAC,UAACC,UAAU,EAAEC,KAAK,EAAA;AAAA,MAAA,oBAChCzB,sBAAA,CAAAC,aAAA,CAACyB,6BAAc,EAAA;AACXC,QAAAA,GAAG,EAAEF,KAAM;AACXG,QAAAA,IAAI,EAAEJ,UAAW;AACjBT,QAAAA,OAAO,EAAEjC,eAAgB;QACzBqC,EAAE,EAAA,EAAA,CAAAP,MAAA,CAAKxC,MAAM,OAAAwC,MAAA,CAAIa,KAAK,CAAG;QACzBhE,OAAO,EAAEA,OAAO,KAAKgE,KAAM;AAC3BtF,QAAAA,UAAU,EAAEA,UAAAA;AAAW,OAC1B,CAAC,CAAA;KACL,CAAC,EAEDQ,SACH,CACL,EAEAT,aAAa,iBACV8D,sBAAA,CAAAC,aAAA,CAAC4B,yCAAqB,EAAA,IAAA,EAAE3F,aAAa,EAA0B,CAEnE,CACK,CACX,CAED,CACf,CAAC,CAAA;AAEf,GACJ,CAAC,CAAA;AAAA,EAAA;AAEE,IAAM4F,kBAAkB,GAAG;AAC9BC,EAAAA,IAAI,EAAE,cAAc;AACpBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEjI,gBAAgB;AACxBkI,EAAAA,IAAI,EAAJA,wBAAI;AACJC,EAAAA,QAAQ,EAAE;AACNxH,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAG;AACTC,IAAAA,cAAc,EAAE,OAAA;GACnB;AACDuH,EAAAA,UAAU,EAAE;AACRzH,IAAAA,IAAI,EAAE;AACF0H,MAAAA,GAAG,EAAE,EAAA;AACT,KAAA;AACJ,GAAA;AACJ;;;;;"}
@@ -18,7 +18,8 @@ var FloatingPopover = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
18
18
  portal = _ref.portal,
19
19
  zIndex = _ref.zIndex,
20
20
  listWidth = _ref.listWidth,
21
- offset = _ref.offset;
21
+ offset = _ref.offset,
22
+ flipFlag = _ref.flip;
22
23
  var _useFloating = react.useFloating({
23
24
  whileElementsMounted: function whileElementsMounted(referenceEl, floatingEl, update) {
24
25
  return react.autoUpdate(referenceEl, floatingEl, update, {
@@ -32,9 +33,9 @@ var FloatingPopover = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
32
33
  middleware: [react.offset({
33
34
  mainAxis: (offset === null || offset === void 0 ? void 0 : offset[1]) || 0,
34
35
  alignmentAxis: (offset === null || offset === void 0 ? void 0 : offset[0]) || 0
35
- }), react.flip({
36
+ })].concat(_rollupPluginBabelHelpers.toConsumableArray(flipFlag ? [react.flip({
36
37
  fallbackAxisSideDirection: 'end'
37
- }), react.shift(), react.size({
38
+ })] : []), [react.shift(), react.size({
38
39
  apply: function apply(_ref2) {
39
40
  var rects = _ref2.rects,
40
41
  elements = _ref2.elements;
@@ -42,7 +43,7 @@ var FloatingPopover = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
42
43
  width: listWidth || "".concat(rects.reference.width, "px")
43
44
  });
44
45
  }
45
- })]
46
+ })])
46
47
  }),
47
48
  refs = _useFloating.refs,
48
49
  floatingStyles = _useFloating.floatingStyles;
@@ -1 +1 @@
1
- {"version":3,"file":"FloatingPopover.js","sources":["../../../src/components/Autocomplete/FloatingPopover.tsx"],"sourcesContent":["import {\n flip,\n shift,\n size,\n useFloating,\n FloatingPortal,\n autoUpdate,\n offset as offsetMiddleware,\n} from '@floating-ui/react';\nimport React, { forwardRef } from 'react';\nimport { safeUseId } from 'src/utils';\n\nimport type { FloatingPopoverProps } from './Autocomplete.types';\n\nconst FloatingPopover = forwardRef<HTMLDivElement, FloatingPopoverProps>(\n ({ target, children, opened, portal, zIndex, listWidth, offset }, ref) => {\n const { refs, floatingStyles } = useFloating({\n whileElementsMounted(referenceEl, floatingEl, update) {\n return autoUpdate(referenceEl, floatingEl, update, {\n ancestorScroll: false,\n ancestorResize: false,\n layoutShift: false,\n });\n },\n placement: 'bottom-start',\n open: opened,\n middleware: [\n offsetMiddleware({\n mainAxis: offset?.[1] || 0,\n alignmentAxis: offset?.[0] || 0,\n }),\n flip({ fallbackAxisSideDirection: 'end' }),\n shift(),\n size({\n apply({ rects, elements }) {\n Object.assign(elements.floating.style, {\n width: listWidth || `${rects.reference.width}px`,\n });\n },\n }),\n ],\n });\n\n const wrappedId = safeUseId();\n\n // Проверка на target. Это может быть как ReactNode, так и функция, в которую пробрасывается ref.\n // Это нужно для более тонкой настройки reference-элемента, вокруг которого и будет позиционироваться выпадашка.\n // Пример: когда в Textfield под инпутом находится helperText (или еще что-либо),\n // но выпадающий список должен позиционироваться непосредственно возле самого инпута.\n const isTargetAsFunction = typeof target === 'function';\n\n return (\n <div ref={ref} id={wrappedId} style={{ position: 'relative' }}>\n <div ref={isTargetAsFunction ? undefined : refs.setReference}>\n {typeof target === 'function' ? target(refs.setReference as any) : target}\n </div>\n\n {opened && (\n // root - принимает ref контейнера портала.\n // id - если есть портал - не используется, если портала нет - подставляется 'wrappedId'.\n <FloatingPortal {...getFloatingPortalProps(portal, wrappedId)}>\n <div ref={refs.setFloating} style={{ ...floatingStyles, zIndex: zIndex || 1000 }}>\n {children}\n </div>\n </FloatingPortal>\n )}\n </div>\n );\n },\n);\n\ntype FloatingPortalReturnedProps = {\n root?: React.RefObject<HTMLElement>;\n id?: string;\n};\n\n// root - принимает ref контейнера портала.\n// id - если есть портал - не используется, если портала нет - подставляется 'wrappedId'.\nconst getFloatingPortalProps = (\n portal: FloatingPopoverProps['portal'],\n wrappedId: string,\n): FloatingPortalReturnedProps => {\n if (!portal) {\n return { id: wrappedId };\n }\n\n if (typeof portal === 'string') {\n return { id: portal };\n }\n\n return { root: portal };\n};\n\nexport { FloatingPopover };\n"],"names":["FloatingPopover","forwardRef","_ref","ref","target","children","opened","portal","zIndex","listWidth","offset","_useFloating","useFloating","whileElementsMounted","referenceEl","floatingEl","update","autoUpdate","ancestorScroll","ancestorResize","layoutShift","placement","open","middleware","offsetMiddleware","mainAxis","alignmentAxis","flip","fallbackAxisSideDirection","shift","size","apply","_ref2","rects","elements","Object","assign","floating","style","width","concat","reference","refs","floatingStyles","wrappedId","safeUseId","isTargetAsFunction","React","createElement","id","position","undefined","setReference","FloatingPortal","getFloatingPortalProps","setFloating","_objectSpread","root"],"mappings":";;;;;;;;;;;;;AAcMA,IAAAA,eAAe,gBAAGC,gBAAU,CAC9B,UAAAC,IAAA,EAAkEC,GAAG,EAAK;AAAA,EAAA,IAAvEC,MAAM,GAAAF,IAAA,CAANE,MAAM;IAAEC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;IAAEC,MAAM,GAAAJ,IAAA,CAANI,MAAM;IAAEC,MAAM,GAAAL,IAAA,CAANK,MAAM;IAAEC,MAAM,GAAAN,IAAA,CAANM,MAAM;IAAEC,SAAS,GAAAP,IAAA,CAATO,SAAS;IAAEC,MAAM,GAAAR,IAAA,CAANQ,MAAM,CAAA;EAC1D,IAAAC,YAAA,GAAiCC,iBAAW,CAAC;AACzCC,MAAAA,oBAAoB,WAAAA,oBAACC,CAAAA,WAAW,EAAEC,UAAU,EAAEC,MAAM,EAAE;AAClD,QAAA,OAAOC,gBAAU,CAACH,WAAW,EAAEC,UAAU,EAAEC,MAAM,EAAE;AAC/CE,UAAAA,cAAc,EAAE,KAAK;AACrBC,UAAAA,cAAc,EAAE,KAAK;AACrBC,UAAAA,WAAW,EAAE,KAAA;AACjB,SAAC,CAAC,CAAA;OACL;AACDC,MAAAA,SAAS,EAAE,cAAc;AACzBC,MAAAA,IAAI,EAAEhB,MAAM;MACZiB,UAAU,EAAE,CACRC,YAAgB,CAAC;QACbC,QAAQ,EAAE,CAAAf,MAAM,KAANA,IAAAA,IAAAA,MAAM,KAANA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,MAAM,CAAG,CAAC,CAAC,KAAI,CAAC;QAC1BgB,aAAa,EAAE,CAAAhB,MAAM,KAANA,IAAAA,IAAAA,MAAM,uBAANA,MAAM,CAAG,CAAC,CAAC,KAAI,CAAA;OACjC,CAAC,EACFiB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AAA,CAAAC,aAAA,CAACK,oBAAc,EAAKC,sBAAsB,CAAC/C,MAAM,EAAEqC,SAAS,CAAC,eACzDG,sBAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAK7C,GAAG,EAAEuC,IAAI,CAACa,WAAY;AAACjB,IAAAA,KAAK,EAAAkB,uCAAA,CAAAA,uCAAA,KAAOb,cAAc,CAAA,EAAA,EAAA,EAAA;MAAEnC,MAAM,EAAEA,MAAM,IAAI,IAAA;AAAI,KAAA,CAAA;GACzEH,EAAAA,QACA,CACO,CAEnB,CAAC,CAAA;AAEd,CACJ,EAAC;AAOD;AACA;AACA,IAAMiD,sBAAsB,GAAG,SAAzBA,sBAAsBA,CACxB/C,MAAsC,EACtCqC,SAAiB,EACa;EAC9B,IAAI,CAACrC,MAAM,EAAE;IACT,OAAO;AAAE0C,MAAAA,EAAE,EAAEL,SAAAA;KAAW,CAAA;AAC5B,GAAA;AAEA,EAAA,IAAI,OAAOrC,MAAM,KAAK,QAAQ,EAAE;IAC5B,OAAO;AAAE0C,MAAAA,EAAE,EAAE1C,MAAAA;KAAQ,CAAA;AACzB,GAAA;EAEA,OAAO;AAAEkD,IAAAA,IAAI,EAAElD,MAAAA;GAAQ,CAAA;AAC3B,CAAC;;;;"}
1
+ {"version":3,"file":"FloatingPopover.js","sources":["../../../src/components/Autocomplete/FloatingPopover.tsx"],"sourcesContent":["import {\n flip,\n shift,\n size,\n useFloating,\n FloatingPortal,\n autoUpdate,\n offset as offsetMiddleware,\n} from '@floating-ui/react';\nimport React, { forwardRef } from 'react';\nimport { safeUseId } from 'src/utils';\n\nimport type { FloatingPopoverProps } from './Autocomplete.types';\n\nconst FloatingPopover = forwardRef<HTMLDivElement, FloatingPopoverProps>(\n ({ target, children, opened, portal, zIndex, listWidth, offset, flip: flipFlag }, ref) => {\n const { refs, floatingStyles } = useFloating({\n whileElementsMounted(referenceEl, floatingEl, update) {\n return autoUpdate(referenceEl, floatingEl, update, {\n ancestorScroll: false,\n ancestorResize: false,\n layoutShift: false,\n });\n },\n placement: 'bottom-start',\n open: opened,\n middleware: [\n offsetMiddleware({\n mainAxis: offset?.[1] || 0,\n alignmentAxis: offset?.[0] || 0,\n }),\n ...(flipFlag ? [flip({ fallbackAxisSideDirection: 'end' })] : []),\n shift(),\n size({\n apply({ rects, elements }) {\n Object.assign(elements.floating.style, {\n width: listWidth || `${rects.reference.width}px`,\n });\n },\n }),\n ],\n });\n\n const wrappedId = safeUseId();\n\n // Проверка на target. Это может быть как ReactNode, так и функция, в которую пробрасывается ref.\n // Это нужно для более тонкой настройки reference-элемента, вокруг которого и будет позиционироваться выпадашка.\n // Пример: когда в Textfield под инпутом находится helperText (или еще что-либо),\n // но выпадающий список должен позиционироваться непосредственно возле самого инпута.\n const isTargetAsFunction = typeof target === 'function';\n\n return (\n <div ref={ref} id={wrappedId} style={{ position: 'relative' }}>\n <div ref={isTargetAsFunction ? undefined : refs.setReference}>\n {typeof target === 'function' ? target(refs.setReference as any) : target}\n </div>\n\n {opened && (\n // root - принимает ref контейнера портала.\n // id - если есть портал - не используется, если портала нет - подставляется 'wrappedId'.\n <FloatingPortal {...getFloatingPortalProps(portal, wrappedId)}>\n <div ref={refs.setFloating} style={{ ...floatingStyles, zIndex: zIndex || 1000 }}>\n {children}\n </div>\n </FloatingPortal>\n )}\n </div>\n );\n },\n);\n\ntype FloatingPortalReturnedProps = {\n root?: React.RefObject<HTMLElement>;\n id?: string;\n};\n\n// root - принимает ref контейнера портала.\n// id - если есть портал - не используется, если портала нет - подставляется 'wrappedId'.\nconst getFloatingPortalProps = (\n portal: FloatingPopoverProps['portal'],\n wrappedId: string,\n): FloatingPortalReturnedProps => {\n if (!portal) {\n return { id: wrappedId };\n }\n\n if (typeof portal === 'string') {\n return { id: portal };\n }\n\n return { root: portal };\n};\n\nexport { FloatingPopover };\n"],"names":["FloatingPopover","forwardRef","_ref","ref","target","children","opened","portal","zIndex","listWidth","offset","flipFlag","flip","_useFloating","useFloating","whileElementsMounted","referenceEl","floatingEl","update","autoUpdate","ancestorScroll","ancestorResize","layoutShift","placement","open","middleware","offsetMiddleware","mainAxis","alignmentAxis","concat","_toConsumableArray","fallbackAxisSideDirection","shift","size","apply","_ref2","rects","elements","Object","assign","floating","style","width","reference","refs","floatingStyles","wrappedId","safeUseId","isTargetAsFunction","React","createElement","id","position","undefined","setReference","FloatingPortal","getFloatingPortalProps","setFloating","_objectSpread","root"],"mappings":";;;;;;;;;;;;;AAcMA,IAAAA,eAAe,gBAAGC,gBAAU,CAC9B,UAAAC,IAAA,EAAkFC,GAAG,EAAK;AAAA,EAAA,IAAvFC,MAAM,GAAAF,IAAA,CAANE,MAAM;IAAEC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;IAAEC,MAAM,GAAAJ,IAAA,CAANI,MAAM;IAAEC,MAAM,GAAAL,IAAA,CAANK,MAAM;IAAEC,MAAM,GAAAN,IAAA,CAANM,MAAM;IAAEC,SAAS,GAAAP,IAAA,CAATO,SAAS;IAAEC,MAAM,GAAAR,IAAA,CAANQ,MAAM;IAAQC,QAAQ,GAAAT,IAAA,CAAdU,IAAI,CAAA;EAChE,IAAAC,YAAA,GAAiCC,iBAAW,CAAC;AACzCC,MAAAA,oBAAoB,WAAAA,oBAACC,CAAAA,WAAW,EAAEC,UAAU,EAAEC,MAAM,EAAE;AAClD,QAAA,OAAOC,gBAAU,CAACH,WAAW,EAAEC,UAAU,EAAEC,MAAM,EAAE;AAC/CE,UAAAA,cAAc,EAAE,KAAK;AACrBC,UAAAA,cAAc,EAAE,KAAK;AACrBC,UAAAA,WAAW,EAAE,KAAA;AACjB,SAAC,CAAC,CAAA;OACL;AACDC,MAAAA,SAAS,EAAE,cAAc;AACzBC,MAAAA,IAAI,EAAElB,MAAM;MACZmB,UAAU,EAAA,CACNC,YAAgB,CAAC;QACbC,QAAQ,EAAE,CAAAjB,MAAM,KAANA,IAAAA,IAAAA,MAAM,KAANA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,MAAM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AA;AAAK/C,IAAAA,GAAG,EAAE6C,kBAAkB,GAAGK,SAAS,GAAGT,IAAI,CAACU,YAAAA;AAAa,GAAA,EACxD,OAAOlD,MAAM,KAAK,UAAU,GAAGA,MAAM,CAACwC,IAAI,CAACU,YAAmB,CAAC,GAAGlD,MAClE,CAAC,EAELE,MAAM;AAAA;AACH;AACA;AACA2C,EAAAA,sBAAA,CAAAC,aAAA,CAACK,oBAAc,EAAKC,sBAAsB,CAACjD,MAAM,EAAEuC,SAAS,CAAC,eACzDG,sBAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;IAAK/C,GAAG,EAAEyC,IAAI,CAACa,WAAY;AAAChB,IAAAA,KAAK,EAAAiB,uCAAA,CAAAA,uCAAA,KAAOb,cAAc,CAAA,EAAA,EAAA,EAAA;MAAErC,MAAM,EAAEA,MAAM,IAAI,IAAA;AAAI,KAAA,CAAA;GACzEH,EAAAA,QACA,CACO,CAEnB,CAAC,CAAA;AAEd,CACJ,EAAC;AAOD;AACA;AACA,IAAMmD,sBAAsB,GAAG,SAAzBA,sBAAsBA,CACxBjD,MAAsC,EACtCuC,SAAiB,EACa;EAC9B,IAAI,CAACvC,MAAM,EAAE;IACT,OAAO;AAAE4C,MAAAA,EAAE,EAAEL,SAAAA;KAAW,CAAA;AAC5B,GAAA;AAEA,EAAA,IAAI,OAAOvC,MAAM,KAAK,QAAQ,EAAE;IAC5B,OAAO;AAAE4C,MAAAA,EAAE,EAAE5C,MAAAA;KAAQ,CAAA;AACzB,GAAA;EAEA,OAAO;AAAEoD,IAAAA,IAAI,EAAEpD,MAAAA;GAAQ,CAAA;AAC3B,CAAC;;;;"}
@@ -80,6 +80,7 @@ var tokens = {
80
80
  calendarHeaderWrapperPadding: '--plasma-calendar-header-wrapper-padding',
81
81
  calendarHeaderArrowGap: '--plasma-calendar-arrow-container-gap',
82
82
  calendarHeaderArrowPadding: '--plasma-calendar-arrow-container-padding',
83
+ calendarArrowHeaderCustomSize: '--plasma-calendar-arrow-custom-size',
83
84
  calendarHeaderPadding: '--plasma-calendar-header-padding',
84
85
  calendarHeaderDateGap: '--plasma-calendar-header-date-gap',
85
86
  calendarHeaderFontFamily: '--plasma-calendar-header-font-family',
@@ -1 +1 @@
1
- {"version":3,"file":"Calendar.tokens.js","sources":["../../../src/components/Calendar/Calendar.tokens.ts"],"sourcesContent":["export const classes = {\n dayOfWeek: 'day-of-week',\n dayInCurrentMonth: 'day-in-current-month',\n disabled: 'item-disabled',\n disabledCurrent: 'item-disabled-current',\n sideInRange: 'item-side-in-range',\n inRange: 'item-in-range',\n sideLeft: 'item-side-left',\n sideRight: 'item-side-right',\n selectableItem: 'item-selectable',\n selectedItem: 'item-selected',\n currentItem: 'item-current',\n hoveredItem: 'item-hovered',\n doubleHeaderDate: 'double-header-date',\n doubleHeaderLastDateWrapper: 'double-header--last-date-wrapper',\n disabledPrevButton: 'disabled-prev-button',\n stretched: 'plasma-calendar-stretched',\n};\n\nexport const innerTokens = {\n dateStructureFontFamily: '--plasma-calendar-date-structure-font-family',\n dateStructureFontSize: '--plasma-calendar-date-structure-font-size',\n dateStructureFontStyle: '--plasma-calendar-date-structure-font-style',\n dateStructureFontWeight: '--plasma-calendar-date-structure-font-weight',\n dateStructureFontLetterSpacing: '--plasma-calendar-date-structure-font-letter-spacing',\n dateStructureFontLineHeight: '--plasma-calendar-date-structure-line-height',\n\n dateStructureSelectedFontWeight: '--plasma-calendar-date-structure-selected-font-weight',\n\n dateStructureBorderRadius: '--plasma-calendar-date-structure-border-radius',\n};\n\nexport const tokens = {\n calendarContainerWidth: '--plasma-calendar-container-width',\n calendarContainerHeight: '--plasma-calendar-container-height',\n calendarBorderWidth: '--plasma-calendar-border-width',\n calendarBorderColor: '--plasma-calendar-border-color',\n\n /* Токены размера сетки лет */\n calendarYearsPadding: '--plasma-calendar-years-padding',\n calendarYearItemBorderRadius: '--plasma-calendar-year-item-border-radius',\n\n calendarYearFontFamily: '--plasma-calendar-year-font-family',\n calendarYearFontSize: '--plasma-calendar-year-font-size',\n calendarYearFontStyle: '--plasma-calendar-year-font-style',\n calendarYearFontLetterSpacing: '--plasma-calendar-year-font-letter-spacing',\n calendarYearFontLineHeight: '--plasma-calendar-year-line-height',\n calendarYearFontWeight: '--plasma-calendar-year-font-weight',\n calendarYearSelectedFontWeight: '--plasma-calendar-year-selected-font-weight',\n\n /* Токены размера сетки дней */\n calendarQuartersPadding: '--plasma-calendar-quarters-padding',\n calendarQuarterItemBorderRadius: '--plasma-calendar-quarter-item-border-radius',\n\n calendarQuarterFontFamily: '--plasma-calendar-quarter-font-family',\n calendarQuarterFontSize: '--plasma-calendar-quarter-font-size',\n calendarQuarterFontStyle: '--plasma-calendar-quarter-font-style',\n calendarQuarterFontLetterSpacing: '--plasma-calendar-quarter-font-letter-spacing',\n calendarQuarterFontLineHeight: '--plasma-calendar-quarter-line-height',\n calendarQuarterFontWeight: '--plasma-calendar-quarter-font-weight',\n calendarQuarterSelectedFontWeight: '--plasma-calendar-quarter-selected-font-weight',\n\n /* Токены размера сетки месяцев */\n calendarMonthsPadding: '--plasma-calendar-months-padding',\n calendarMonthItemBorderRadius: '--plasma-calendar-month-item-border-radius',\n\n calendarMonthFontFamily: '--plasma-calendar-month-font-family',\n calendarMonthFontSize: '--plasma-calendar-month-font-size',\n calendarMonthFontStyle: '--plasma-calendar-month-font-style',\n calendarMonthFontLetterSpacing: '--plasma-calendar-month-font-letter-spacing',\n calendarMonthFontLineHeight: '--plasma-calendar-month-line-height',\n calendarMonthFontWeight: '--plasma-calendar-month-font-weight',\n calendarMonthSelectedFontWeight: '--plasma-calendar-month-selected-font-weight',\n\n /* Токены размера сетки дней */\n calendarDaysPadding: '--plasma-calendar-days-padding',\n calendarDayItemBorderRadius: '--plasma-calendar-day-item-border-radius',\n\n calendarDayFontFamily: '--plasma-calendar-day-font-family',\n calendarDayFontSize: '--plasma-calendar-day-font-size',\n calendarDayFontStyle: '--plasma-calendar-day-font-style',\n calendarDayFontLetterSpacing: '--plasma-calendar-day-font-letter-spacing',\n calendarDayFontLineHeight: '--plasma-calendar-day-line-height',\n calendarDayFontWeight: '--plasma-calendar-day-font-weight',\n calendarDaySelectedFontWeight: '--plasma-calendar-day-selected-font-weight',\n\n calendarDayOfWeekColor: '--plasma-calendar-day-of-the-week-color',\n\n /* Токены шапки календаря */\n calendarHeaderWrapperPadding: '--plasma-calendar-header-wrapper-padding',\n calendarHeaderArrowGap: '--plasma-calendar-arrow-container-gap',\n calendarHeaderArrowPadding: '--plasma-calendar-arrow-container-padding',\n\n calendarHeaderPadding: '--plasma-calendar-header-padding',\n calendarHeaderDateGap: '--plasma-calendar-header-date-gap',\n\n calendarHeaderFontFamily: '--plasma-calendar-header-font-family',\n calendarHeaderFontSize: '--plasma-calendar-header-font-size',\n calendarHeaderFontStyle: '--plasma-calendar-header-font-style',\n calendarHeaderFontLetterSpacing: '--plasma-calendar-header-font-letter-spacing',\n calendarHeaderFontLineHeight: '--plasma-calendar-header-line-height',\n calendarHeaderFontWeight: '--plasma-calendar-header-font-weight',\n calendarHeaderFontWeightBold: '--plasma-calendar-header-font-weight-bold',\n calendarHeaderArrowColor: '--plasma-calendar-header-arrow-color',\n\n /* Токены стрелок навигации календаря */\n iconButtonColor: '--plasma-calendar-icon-button-color',\n iconButtonBackgroundColor: '--plasma-calendar-icon-button-background',\n iconButtonColorHover: '--plasma-calendar-icon-button-color-hover',\n iconButtonBackgroundColorHover: '--plasma-calendar-icon-button-background-hover',\n iconButtonColorActive: '--plasma-calendar-icon-button-color-active',\n iconButtonBackgroundColorActive: '--plasma-calendar-icon-button-background-active',\n iconButtonHeight: '--plasma-calendar-icon-button-height',\n iconButtonWidth: '--plasma-calendar-icon-button-width',\n iconButtonPadding: '--plasma-calendar-icon-button-padding',\n iconButtonRadius: '--plasma-calendar-icon-button-radius',\n iconButtonFocusColor: '--plasma-calendar-icon-button-focus-color',\n\n calendarBackgroundColor: '--plasma-calendar-background',\n calendarSelectedItemBackground: '--plasma-calendar-selected-item-background',\n calendarSelectedItemColor: '--plasma-calendar-selected-item-color',\n calendarSelectableItemBackgroundHover: '--plasma-calendar-selectable-item-bg-hover',\n calendarCurrentItemBorderColor: '--plasma-calendar-current-item-border-color',\n calendarCurrentItemBorderWidth: '--plasma-calendar-current-item-border-width',\n calendarCurrentItemBackgroundHover: '--plasma-calendar-current-item-bg-hover',\n calendarCurrentItemColorHover: '--plasma-calendar-current-item-color-hover',\n calendarCurrentItemChildBackgroundHover: '--plasma-calendar-current-item-child-bg-hover',\n calendarActiveItemBackground: '--plasma-calendar-active-item-bg',\n calendarActiveItemColor: '--plasma-calendar-active-item-color',\n calendarHoveredItemBackground: '--plasma-calendar-hovered-item-bg',\n calendarHoveredItemColor: '--plasma-calendar-hovered-item-color',\n calendarSeparatorBackground: '--plasma-calendar-separator-background',\n calendarRangeBackground: '--plasma-calendar-range-background',\n calendarOutlineFocusColor: '--plasma-calendar-outline-focus-color',\n calendarContentPrimaryColor: '--plasma-calendar-content-primary-color',\n calendarContentPrimaryDisabledColor: '--plasma-calendar-content-primary-disabled-color',\n calendarContentSecondaryColor: '--plasma-calendar-content-secondary-color',\n calendarContentSecondaryDisabledColor: '--plasma-calendar-content-secondary-disabled-color',\n calendarDisabledOpacity: '--plasma-calendar-disabled-opacity',\n};\n"],"names":["classes","dayOfWeek","dayInCurrentMonth","disabled","disabledCurrent","sideInRange","inRange","sideLeft","sideRight","selectableItem","selectedItem","currentItem","hoveredItem","doubleHeaderDate","doubleHeaderLastDateWrapper","disabledPrevButton","stretched","innerTokens","dateStructureFontFamily","dateStructureFontSize","dateStructureFontStyle","dateStructureFontWeight","dateStructureFontLetterSpacing","dateStructureFontLineHeight","dateStructureSelectedFontWeight","dateStructureBorderRadius","tokens","calendarContainerWidth","calendarContainerHeight","calendarBorderWidth","calendarBorderColor","calendarYearsPadding","calendarYearItemBorderRadius","calendarYearFontFamily","calendarYearFontSize","calendarYearFontStyle","calendarYearFontLetterSpacing","calendarYearFontLineHeight","calendarYearFontWeight","calendarYearSelectedFontWeight","calendarQuartersPadding","calendarQuarterItemBorderRadius","calendarQuarterFontFamily","calendarQuarterFontSize","calendarQuarterFontStyle","calendarQuarterFontLetterSpacing","calendarQuarterFontLineHeight","calendarQuarterFontWeight","calendarQuarterSelectedFontWeight","calendarMonthsPadding","calendarMonthItemBorderRadius","calendarMonthFontFamily","calendarMonthFontSize","calendarMonthFontStyle","calendarMonthFontLetterSpacing","calendarMonthFontLineHeight","calendarMonthFontWeight","calendarMonthSelectedFontWeight","calendarDaysPadding","calendarDayItemBorderRadius","calendarDayFontFamily","calendarDayFontSize","calendarDayFontStyle","calendarDayFontLetterSpacing","calendarDayFontLineHeight","calendarDayFontWeight","calendarDaySelectedFontWeight","calendarDayOfWeekColor","calendarHeaderWrapperPadding","calendarHeaderArrowGap","calendarHeaderArrowPadding","calendarHeaderPadding","calendarHeaderDateGap","calendarHeaderFontFamily","calendarHeaderFontSize","calendarHeaderFontStyle","calendarHeaderFontLetterSpacing","calendarHeaderFontLineHeight","calendarHeaderFontWeight","calendarHeaderFontWeightBold","calendarHeaderArrowColor","iconButtonColor","iconButtonBackgroundColor","iconButtonColorHover","iconButtonBackgroundColorHover","iconButtonColorActive","iconButtonBackgroundColorActive","iconButtonHeight","iconButtonWidth","iconButtonPadding","iconButtonRadius","iconButtonFocusColor","calendarBackgroundColor","calendarSelectedItemBackground","calendarSelectedItemColor","calendarSelectableItemBackgroundHover","calendarCurrentItemBorderColor","calendarCurrentItemBorderWidth","calendarCurrentItemBackgroundHover","calendarCurrentItemColorHover","calendarCurrentItemChildBackgroundHover","calendarActiveItemBackground","calendarActiveItemColor","calendarHoveredItemBackground","calendarHoveredItemColor","calendarSeparatorBackground","calendarRangeBackground","calendarOutlineFocusColor","calendarContentPrimaryColor","calendarContentPrimaryDisabledColor","calendarContentSecondaryColor","calendarContentSecondaryDisabledColor","calendarDisabledOpacity"],"mappings":";;;;AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,SAAS,EAAE,aAAa;AACxBC,EAA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AAA,uCAAuC,EAAE,+CAA+C;AACxFC,EAAAA,4BAA4B,EAAE,kCAAkC;AAChEC,EAAAA,uBAAuB,EAAE,qCAAqC;AAC9DC,EAAAA,6BAA6B,EAAE,mCAAmC;AAClEC,EAAAA,wBAAwB,EAAE,sCAAsC;AAChEC,EAAAA,2BAA2B,EAAE,wCAAwC;AACrEC,EAAAA,uBAAuB,EAAE,oCAAoC;AAC7DC,EAAAA,yBAAyB,EAAE,uCAAuC;AAClEC,EAAAA,2BAA2B,EAAE,yCAAyC;AACtEC,EAAAA,mCAAmC,EAAE,kDAAkD;AACvFC,EAAAA,6BAA6B,EAAE,2CAA2C;AAC1EC,EAAAA,qCAAqC,EAAE,oDAAoD;AAC3FC,EAAAA,uBAAuB,EAAE,oCAAA;AAC7B;;;;;;"}
1
+ {"version":3,"file":"Calendar.tokens.js","sources":["../../../src/components/Calendar/Calendar.tokens.ts"],"sourcesContent":["export const classes = {\n dayOfWeek: 'day-of-week',\n dayInCurrentMonth: 'day-in-current-month',\n disabled: 'item-disabled',\n disabledCurrent: 'item-disabled-current',\n sideInRange: 'item-side-in-range',\n inRange: 'item-in-range',\n sideLeft: 'item-side-left',\n sideRight: 'item-side-right',\n selectableItem: 'item-selectable',\n selectedItem: 'item-selected',\n currentItem: 'item-current',\n hoveredItem: 'item-hovered',\n doubleHeaderDate: 'double-header-date',\n doubleHeaderLastDateWrapper: 'double-header--last-date-wrapper',\n disabledPrevButton: 'disabled-prev-button',\n stretched: 'plasma-calendar-stretched',\n};\n\nexport const innerTokens = {\n dateStructureFontFamily: '--plasma-calendar-date-structure-font-family',\n dateStructureFontSize: '--plasma-calendar-date-structure-font-size',\n dateStructureFontStyle: '--plasma-calendar-date-structure-font-style',\n dateStructureFontWeight: '--plasma-calendar-date-structure-font-weight',\n dateStructureFontLetterSpacing: '--plasma-calendar-date-structure-font-letter-spacing',\n dateStructureFontLineHeight: '--plasma-calendar-date-structure-line-height',\n\n dateStructureSelectedFontWeight: '--plasma-calendar-date-structure-selected-font-weight',\n\n dateStructureBorderRadius: '--plasma-calendar-date-structure-border-radius',\n};\n\nexport const tokens = {\n calendarContainerWidth: '--plasma-calendar-container-width',\n calendarContainerHeight: '--plasma-calendar-container-height',\n calendarBorderWidth: '--plasma-calendar-border-width',\n calendarBorderColor: '--plasma-calendar-border-color',\n\n /* Токены размера сетки лет */\n calendarYearsPadding: '--plasma-calendar-years-padding',\n calendarYearItemBorderRadius: '--plasma-calendar-year-item-border-radius',\n\n calendarYearFontFamily: '--plasma-calendar-year-font-family',\n calendarYearFontSize: '--plasma-calendar-year-font-size',\n calendarYearFontStyle: '--plasma-calendar-year-font-style',\n calendarYearFontLetterSpacing: '--plasma-calendar-year-font-letter-spacing',\n calendarYearFontLineHeight: '--plasma-calendar-year-line-height',\n calendarYearFontWeight: '--plasma-calendar-year-font-weight',\n calendarYearSelectedFontWeight: '--plasma-calendar-year-selected-font-weight',\n\n /* Токены размера сетки дней */\n calendarQuartersPadding: '--plasma-calendar-quarters-padding',\n calendarQuarterItemBorderRadius: '--plasma-calendar-quarter-item-border-radius',\n\n calendarQuarterFontFamily: '--plasma-calendar-quarter-font-family',\n calendarQuarterFontSize: '--plasma-calendar-quarter-font-size',\n calendarQuarterFontStyle: '--plasma-calendar-quarter-font-style',\n calendarQuarterFontLetterSpacing: '--plasma-calendar-quarter-font-letter-spacing',\n calendarQuarterFontLineHeight: '--plasma-calendar-quarter-line-height',\n calendarQuarterFontWeight: '--plasma-calendar-quarter-font-weight',\n calendarQuarterSelectedFontWeight: '--plasma-calendar-quarter-selected-font-weight',\n\n /* Токены размера сетки месяцев */\n calendarMonthsPadding: '--plasma-calendar-months-padding',\n calendarMonthItemBorderRadius: '--plasma-calendar-month-item-border-radius',\n\n calendarMonthFontFamily: '--plasma-calendar-month-font-family',\n calendarMonthFontSize: '--plasma-calendar-month-font-size',\n calendarMonthFontStyle: '--plasma-calendar-month-font-style',\n calendarMonthFontLetterSpacing: '--plasma-calendar-month-font-letter-spacing',\n calendarMonthFontLineHeight: '--plasma-calendar-month-line-height',\n calendarMonthFontWeight: '--plasma-calendar-month-font-weight',\n calendarMonthSelectedFontWeight: '--plasma-calendar-month-selected-font-weight',\n\n /* Токены размера сетки дней */\n calendarDaysPadding: '--plasma-calendar-days-padding',\n calendarDayItemBorderRadius: '--plasma-calendar-day-item-border-radius',\n\n calendarDayFontFamily: '--plasma-calendar-day-font-family',\n calendarDayFontSize: '--plasma-calendar-day-font-size',\n calendarDayFontStyle: '--plasma-calendar-day-font-style',\n calendarDayFontLetterSpacing: '--plasma-calendar-day-font-letter-spacing',\n calendarDayFontLineHeight: '--plasma-calendar-day-line-height',\n calendarDayFontWeight: '--plasma-calendar-day-font-weight',\n calendarDaySelectedFontWeight: '--plasma-calendar-day-selected-font-weight',\n\n calendarDayOfWeekColor: '--plasma-calendar-day-of-the-week-color',\n\n /* Токены шапки календаря */\n calendarHeaderWrapperPadding: '--plasma-calendar-header-wrapper-padding',\n calendarHeaderArrowGap: '--plasma-calendar-arrow-container-gap',\n calendarHeaderArrowPadding: '--plasma-calendar-arrow-container-padding',\n calendarArrowHeaderCustomSize: '--plasma-calendar-arrow-custom-size',\n\n calendarHeaderPadding: '--plasma-calendar-header-padding',\n calendarHeaderDateGap: '--plasma-calendar-header-date-gap',\n\n calendarHeaderFontFamily: '--plasma-calendar-header-font-family',\n calendarHeaderFontSize: '--plasma-calendar-header-font-size',\n calendarHeaderFontStyle: '--plasma-calendar-header-font-style',\n calendarHeaderFontLetterSpacing: '--plasma-calendar-header-font-letter-spacing',\n calendarHeaderFontLineHeight: '--plasma-calendar-header-line-height',\n calendarHeaderFontWeight: '--plasma-calendar-header-font-weight',\n calendarHeaderFontWeightBold: '--plasma-calendar-header-font-weight-bold',\n calendarHeaderArrowColor: '--plasma-calendar-header-arrow-color',\n\n /* Токены стрелок навигации календаря */\n iconButtonColor: '--plasma-calendar-icon-button-color',\n iconButtonBackgroundColor: '--plasma-calendar-icon-button-background',\n iconButtonColorHover: '--plasma-calendar-icon-button-color-hover',\n iconButtonBackgroundColorHover: '--plasma-calendar-icon-button-background-hover',\n iconButtonColorActive: '--plasma-calendar-icon-button-color-active',\n iconButtonBackgroundColorActive: '--plasma-calendar-icon-button-background-active',\n iconButtonHeight: '--plasma-calendar-icon-button-height',\n iconButtonWidth: '--plasma-calendar-icon-button-width',\n iconButtonPadding: '--plasma-calendar-icon-button-padding',\n iconButtonRadius: '--plasma-calendar-icon-button-radius',\n iconButtonFocusColor: '--plasma-calendar-icon-button-focus-color',\n\n calendarBackgroundColor: '--plasma-calendar-background',\n calendarSelectedItemBackground: '--plasma-calendar-selected-item-background',\n calendarSelectedItemColor: '--plasma-calendar-selected-item-color',\n calendarSelectableItemBackgroundHover: '--plasma-calendar-selectable-item-bg-hover',\n calendarCurrentItemBorderColor: '--plasma-calendar-current-item-border-color',\n calendarCurrentItemBorderWidth: '--plasma-calendar-current-item-border-width',\n calendarCurrentItemBackgroundHover: '--plasma-calendar-current-item-bg-hover',\n calendarCurrentItemColorHover: '--plasma-calendar-current-item-color-hover',\n calendarCurrentItemChildBackgroundHover: '--plasma-calendar-current-item-child-bg-hover',\n calendarActiveItemBackground: '--plasma-calendar-active-item-bg',\n calendarActiveItemColor: '--plasma-calendar-active-item-color',\n calendarHoveredItemBackground: '--plasma-calendar-hovered-item-bg',\n calendarHoveredItemColor: '--plasma-calendar-hovered-item-color',\n calendarSeparatorBackground: '--plasma-calendar-separator-background',\n calendarRangeBackground: '--plasma-calendar-range-background',\n calendarOutlineFocusColor: '--plasma-calendar-outline-focus-color',\n calendarContentPrimaryColor: '--plasma-calendar-content-primary-color',\n calendarContentPrimaryDisabledColor: '--plasma-calendar-content-primary-disabled-color',\n calendarContentSecondaryColor: '--plasma-calendar-content-secondary-color',\n calendarContentSecondaryDisabledColor: '--plasma-calendar-content-secondary-disabled-color',\n calendarDisabledOpacity: '--plasma-calendar-disabled-opacity',\n};\n"],"names":["classes","dayOfWeek","dayInCurrentMonth","disabled","disabledCurrent","sideInRange","inRange","sideLeft","sideRight","selectableItem","selectedItem","currentItem","hoveredItem","doubleHeaderDate","doubleHeaderLastDateWrapper","disabledPrevButton","stretched","innerTokens","dateStructureFontFamily","dateStructureFontSize","dateStructureFontStyle","dateStructureFontWeight","dateStructureFontLetterSpacing","dateStructureFontLineHeight","dateStructureSelectedFontWeight","dateStructureBorderRadius","tokens","calendarContainerWidth","calendarContainerHeight","calendarBorderWidth","calendarBorderColor","calendarYearsPadding","calendarYearItemBorderRadius","calendarYearFontFamily","calendarYearFontSize","calendarYearFontStyle","calendarYearFontLetterSpacing","calendarYearFontLineHeight","calendarYearFontWeight","calendarYearSelectedFontWeight","calendarQuartersPadding","calendarQuarterItemBorderRadius","calendarQuarterFontFamily","calendarQuarterFontSize","calendarQuarterFontStyle","calendarQuarterFontLetterSpacing","calendarQuarterFontLineHeight","calendarQuarterFontWeight","calendarQuarterSelectedFontWeight","calendarMonthsPadding","calendarMonthItemBorderRadius","calendarMonthFontFamily","calendarMonthFontSize","calendarMonthFontStyle","calendarMonthFontLetterSpacing","calendarMonthFontLineHeight","calendarMonthFontWeight","calendarMonthSelectedFontWeight","calendarDaysPadding","calendarDayItemBorderRadius","calendarDayFontFamily","calendarDayFontSize","calendarDayFontStyle","calendarDayFontLetterSpacing","calendarDayFontLineHeight","calendarDayFontWeight","calendarDaySelectedFontWeight","calendarDayOfWeekColor","calendarHeaderWrapperPadding","calendarHeaderArrowGap","calendarHeaderArrowPadding","calendarArrowHeaderCustomSize","calendarHeaderPadding","calendarHeaderDateGap","calendarHeaderFontFamily","calendarHeaderFontSize","calendarHeaderFontStyle","calendarHeaderFontLetterSpacing","calendarHeaderFontLineHeight","calendarHeaderFontWeight","calendarHeaderFontWeightBold","calendarHeaderArrowColor","iconButtonColor","iconButtonBackgroundColor","iconButtonColorHover","iconButtonBackgroundColorHover","iconButtonColorActive","iconButtonBackgroundColorActive","iconButtonHeight","iconButtonWidth","iconButtonPadding","iconButtonRadius","iconButtonFocusColor","calendarBackgroundColor","calendarSelectedItemBackground","calendarSelectedItemColor","calendarSelectableItemBackgroundHover","calendarCurrentItemBorderColor","calendarCurrentItemBorderWidth","calendarCurrentItemBackgroundHover","calendarCurrentItemColorHover","calendarCurrentItemChildBackgroundHover","calendarActiveItemBackground","calendarActiveItemColor","calendarHoveredItemBackground","calendarHoveredItemColor","calendarSeparatorBackground","calendarRangeBackground","calendarOutlineFocusColor","calendarContentPrimaryColor","calendarContentPrimaryDisabledColor","calendarContentSecondaryColor","calendarContentSecondaryDisabledColor","calendarDisabledOpacity"],"mappings":";;;;AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,SAAS,EAAE,aAAa;AACxBC,EAAAA,iBAAiB,EAAE,sBAAsB;AACzCC,EAAAA,QAAQ,EAAE,eAAe;AACzBC,EAAAA,eAAe,EAAE,uBAAuB;AACxCC,EAAAA,WAAW,EAAE,oBAAoB;AACjCC,EAAAA,OAAO,EAAE,eAAe;AACxBC,EAAAA,QAAQ,EAAE,gBAAgB;AAC1BC,EAAAA,SAAS,EAAE,iBAAiB;AAC5BC,EAAAA,cAAc,EAAE,iBAAiB;AACjCC,EAAAA,YAAY,EAAE,eAAe;AAC7BC,EAAAA,WAAW,EAAE,cAAc;AAC3BC,EAAAA,WAAW,EAAE,cAAc;AAC3BC,EAAAA,gBAAgB,EAAE,oBAAoB;AACtCC,EAAAA,2BAA2B,EAAE,kCAAkC;AAC/DC,EAAAA,kBAAkB,EAAE,sBAAsB;AAC1CC,EAAAA,SAAS,EAAE,2BAAA;AACf,EAAC;AAEM,IAAMC,WAAW,GAAG;AACvBC,EAAAA,uBAAuB,EAAE,8CAA8C;AACvEC,EAAAA,qBAAqB,EAAE,4CAA4C;AACnEC,EAAAA,sBAAsB,EAAE,6CAA6C;AACrEC,EAAAA,uBAAuB,EAAE,8CAA8C;AACvEC,EAAAA,8BAA8B,EAAE,sDAAsD;AACtFC,EAAAA,2BAA2B,EAAE,8CAA8C;AAE3EC,EAAAA,+BAA+B,EAAE,uD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,EAAAA,eAAe,EAAE,qCAAqC;AACtDC,EAAAA,iBAAiB,EAAE,uCAAuC;AAC1DC,EAAAA,gBAAgB,EAAE,sCAAsC;AACxDC,EAAAA,oBAAoB,EAAE,2CAA2C;AAEjEC,EAAAA,uBAAuB,EAAE,8BAA8B;AACvDC,EAAAA,8BAA8B,EAAE,4CAA4C;AAC5EC,EAAAA,yBAAyB,EAAE,uCAAuC;AAClEC,EAAAA,qCAAqC,EAAE,4CAA4C;AACnFC,EAAAA,8BAA8B,EAAE,6CAA6C;AAC7EC,EAAAA,8BAA8B,EAAE,6CAA6C;AAC7EC,EAAAA,kCAAkC,EAAE,yCAAyC;AAC7EC,EAAAA,6BAA6B,EAAE,4CAA4C;AAC3EC,EAAAA,uCAAuC,EAAE,+CAA+C;AACxFC,EAAAA,4BAA4B,EAAE,kCAAkC;AAChEC,EAAAA,uBAAuB,EAAE,qCAAqC;AAC9DC,EAAAA,6BAA6B,EAAE,mCAAmC;AAClEC,EAAAA,wBAAwB,EAAE,sCAAsC;AAChEC,EAAAA,2BAA2B,EAAE,wCAAwC;AACrEC,EAAAA,uBAAuB,EAAE,oCAAoC;AAC7DC,EAAAA,yBAAyB,EAAE,uCAAuC;AAClEC,EAAAA,2BAA2B,EAAE,yCAAyC;AACtEC,EAAAA,mCAAmC,EAAE,kDAAkD;AACvFC,EAAAA,6BAA6B,EAAE,2CAA2C;AAC1EC,EAAAA,qCAAqC,EAAE,oDAAoD;AAC3FC,EAAAA,uBAAuB,EAAE,oCAAA;AAC7B;;;;;;"}
@@ -60,20 +60,20 @@ var CalendarHeader = function CalendarHeader(_ref) {
60
60
  if (type === types.CalendarState.Days) {
61
61
  return /*#__PURE__*/React__default.default.createElement(React__default.default.Fragment, null, /*#__PURE__*/React__default.default.createElement(CalendarHeader_styles.StyledHeaderDate, null, constants.MONTH_NAMES[locale][date.monthIndex]), /*#__PURE__*/React__default.default.createElement(CalendarHeader_styles.StyledHeaderDate, null, date.year, /*#__PURE__*/React__default.default.createElement(CalendarHeader_styles.StyledHeaderArrow, {
62
62
  color: "inherit",
63
- size: size === 'xs' ? 'xs' : 's'
63
+ sizeCustomProperty: Calendar_tokens.tokens.calendarArrowHeaderCustomSize
64
64
  })));
65
65
  }
66
66
  if (type === types.CalendarState.Months || type === types.CalendarState.Quarters) {
67
67
  return /*#__PURE__*/React__default.default.createElement(CalendarHeader_styles.StyledHeaderDate, null, date.year, /*#__PURE__*/React__default.default.createElement(CalendarHeader_styles.StyledHeaderArrow, {
68
68
  color: "inherit",
69
- size: size === 'xs' ? 'xs' : 's'
69
+ sizeCustomProperty: Calendar_tokens.tokens.calendarArrowHeaderCustomSize
70
70
  }));
71
71
  }
72
72
  if (type === types.CalendarState.Years) {
73
73
  var yearValue = secondPart ? startYear + 12 : startYear;
74
74
  return /*#__PURE__*/React__default.default.createElement(CalendarHeader_styles.StyledHeaderDate, null, yearValue, "\u2014", yearValue + constants.YEAR_RENDER_COUNT - 1, /*#__PURE__*/React__default.default.createElement(CalendarHeader_styles.StyledHeaderArrow, {
75
75
  color: "inherit",
76
- size: size === 'xs' ? 'xs' : 's'
76
+ sizeCustomProperty: Calendar_tokens.tokens.calendarArrowHeaderCustomSize
77
77
  }));
78
78
  }
79
79
  return '';
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarHeader.js","sources":["../../../../../src/components/Calendar/ui/CalendarHeader/CalendarHeader.tsx"],"sourcesContent":["import React from 'react';\nimport type { MouseEvent } from 'react';\n\nimport { IconDisclosureLeft, IconDisclosureRight } from '../../../_Icon';\nimport { CalendarState } from '../../store/types';\nimport { getCalendarType, MONTH_NAMES, YEAR_RENDER_COUNT, I18N } from '../../utils';\nimport type { DateObject } from '../../Calendar.types';\nimport { classes } from '../../Calendar.tokens';\nimport { sizeMap } from '../../store/reducer';\nimport { cx } from '../../../../utils';\n\nimport type { CalendarHeaderProps } from './CalendarHeader.types';\nimport {\n StyledArrow,\n StyledArrows,\n StyledCalendarHeader,\n StyledDoubleHeaderWrapper,\n StyledHeader,\n StyledHeaderDate,\n StyledHeaderDouble,\n StyledNavigation,\n StyledHeaderArrow,\n} from './CalendarHeader.styles';\n\n/**\n * Компонент шапки календаря.\n */\nexport const CalendarHeader: React.FC<CalendarHeaderProps> = ({\n type = 'Days',\n startYear = 0,\n size,\n firstDate,\n secondDate,\n isDouble,\n onPrev,\n onNext,\n onUpdateCalendarState,\n locale,\n}) => {\n const handleCalendarState = () => {\n const newSize: [number, number] = isDouble ? sizeMap.Months.double : sizeMap.Months.single;\n\n if (type === CalendarState.Days) {\n onUpdateCalendarState?.(CalendarState.Months, newSize);\n }\n\n if (type === CalendarState.Months || type === CalendarState.Quarters) {\n onUpdateCalendarState?.(CalendarState.Years, newSize);\n }\n };\n\n const handlePrev = (event: MouseEvent<HTMLDivElement>) => {\n event.stopPropagation();\n\n if (startYear <= 0) {\n return;\n }\n onPrev();\n };\n\n const handleNext = (event: MouseEvent<HTMLDivElement>) => {\n event.stopPropagation();\n\n onNext();\n };\n\n const getHeaderContent = (date?: DateObject, secondPart?: boolean) => {\n if (!date) {\n return '';\n }\n\n if (type === CalendarState.Days) {\n return (\n <>\n <StyledHeaderDate>{MONTH_NAMES[locale][date.monthIndex]}</StyledHeaderDate>\n <StyledHeaderDate>\n {date.year}\n <StyledHeaderArrow color=\"inherit\" size={size === 'xs' ? 'xs' : 's'} />\n </StyledHeaderDate>\n </>\n );\n }\n\n if (type === CalendarState.Months || type === CalendarState.Quarters) {\n return (\n <StyledHeaderDate>\n {date.year}\n <StyledHeaderArrow color=\"inherit\" size={size === 'xs' ? 'xs' : 's'} />\n </StyledHeaderDate>\n );\n }\n\n if (type === CalendarState.Years) {\n const yearValue = secondPart ? startYear + 12 : startYear;\n\n return (\n <StyledHeaderDate>\n {yearValue}—{yearValue + YEAR_RENDER_COUNT - 1}\n <StyledHeaderArrow color=\"inherit\" size={size === 'xs' ? 'xs' : 's'} />\n </StyledHeaderDate>\n );\n }\n\n return '';\n };\n\n const currentCalendarType = getCalendarType(type, locale);\n\n const PreviousButton = () => (\n <StyledArrow\n className={cx(startYear <= 0 && classes.disabledPrevButton)}\n aria-label={`${I18N.previous[locale]} ${currentCalendarType}`}\n onClick={handlePrev}\n >\n <IconDisclosureLeft color=\"inherit\" size={size === 'xs' ? 'xs' : 's'} />\n </StyledArrow>\n );\n\n const NextButton = () => (\n <StyledArrow aria-label={`${I18N.next[locale]} ${currentCalendarType}`} onClick={handleNext}>\n <IconDisclosureRight color=\"inherit\" size={size === 'xs' ? 'xs' : 's'} />\n </StyledArrow>\n );\n\n return (\n <StyledCalendarHeader>\n {isDouble ? (\n <StyledNavigation>\n <StyledDoubleHeaderWrapper>\n <PreviousButton />\n <StyledHeaderDouble onClick={handleCalendarState} aria-live=\"polite\">\n {getHeaderContent(firstDate)}\n </StyledHeaderDouble>\n </StyledDoubleHeaderWrapper>\n <StyledDoubleHeaderWrapper className={classes.doubleHeaderLastDateWrapper}>\n <StyledHeaderDouble onClick={handleCalendarState} aria-live=\"polite\">\n {getHeaderContent(secondDate, true)}\n </StyledHeaderDouble>\n <NextButton />\n </StyledDoubleHeaderWrapper>\n </StyledNavigation>\n ) : (\n <>\n <StyledHeader\n type=\"button\"\n aria-live=\"polite\"\n id=\"id-grid-label\"\n onClick={handleCalendarState}\n tabIndex={0}\n >\n {getHeaderContent(firstDate)}\n </StyledHeader>\n <StyledArrows>\n <PreviousButton />\n <NextButton />\n </StyledArrows>\n </>\n )}\n </StyledCalendarHeader>\n );\n};\n"],"names":["CalendarHeader","_ref","_ref$type","type","_ref$startYear","startYear","size","firstDate","secondDate","isDouble","onPrev","onNext","onUpdateCalendarState","locale","handleCalendarState","newSize","sizeMap","Months","single","CalendarState","Days","Quarters","Years","handlePrev","event","stopPropagation","handleNext","getHeaderContent","date","secondPart","React","createElement","Fragment","StyledHeaderDate","MONTH_NAMES","monthIndex","year","StyledHeaderArrow","color","yearValue","YEAR_RENDER_COUNT","currentCalendarType","getCalendarType","PreviousButton","StyledArrow","className","cx","classes","disabledPrevButton","concat","I18N","previous","onClick","IconDisclosureLeft","NextButton","next","IconDisclosureRight","StyledCalendarHeader","StyledNavigation","StyledDoubleHeaderWrapper","StyledHeaderDouble","doubleHeaderLastDateWrapper","StyledHeader","id","tabIndex","StyledArrows"],"mappings":";;;;;;;;;;;;;;;;;;;AAwBA;AACA;AACA;IACaA,cAA6C,GAAG,SAAhDA,cAA6CA,CAAAC,IAAA,EAWpD;AAAA,EAAA,IAAAC,SAAA,GAAAD,IAAA,CAVFE,IAAI;AAAJA,IAAAA,IAAI,GAAAD,SAAA,KAAG,KAAA,CAAA,GAAA,MAAM,GAAAA,SAAA;IAAAE,cAAA,GAAAH,IAAA,CACbI,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAG,KAAA,CAAA,GAAA,CAAC,GAAAA,cAAA;IACbE,IAAI,GAAAL,IAAA,CAAJK,IAAI;IACJC,SAAS,GAAAN,IAAA,CAATM,SAAS;IACTC,UAAU,GAAAP,IAAA,CAAVO,UAAU;IACVC,QAAQ,GAAAR,IAAA,CAARQ,QAAQ;IACRC,MAAM,GAAAT,IAAA,CAANS,MAAM;IACNC,MAAM,GAAAV,IAAA,CAANU,MAAM;IACNC,qBAAqB,GAAAX,IAAA,CAArBW,qBAAqB;IACrBC,MAAM,GAAAZ,IAAA,CAANY,MAAM,CAAA;AAEN,EAAA,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmBA,GAAS;AAC9B,IAAA,IAAMC,OAAyB,GAAGN,QAAQ,GAAGO,eAAO,CAACC,MAAM,CAAA,QAAA,CAAO,GAAGD,eAAO,CAACC,MAAM,CAACC,MAAM,CAAA;AAE1F,IAAA,IAAIf,IAAI,KAAKgB,mBAAa,CAACC,IAAI,EAAE;MAC7BR,qBAAqB,KAAA,IAAA,IAArBA,qBAAqB,KAAA,KAAA,CAAA,IAArBA,qBAAqB,CAAGO,mBAAa,CAACF,MAAM,EAAEF,OAAO,CAAC,CAAA;AAC1D,KAAA;IAEA,IAAIZ,IAAI,KA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BAAgB,CAACpB,SAAS,CACX,CACG,CAAC,eAC5BuB,sBAAA,CAAAC,aAAA,CAAC4B,+CAAyB,EAAA;IAACd,SAAS,EAAEE,uBAAO,CAACc,2BAAAA;AAA4B,GAAA,eACtE/B,sBAAA,CAAAC,aAAA,CAAC6B,wCAAkB,EAAA;AAACR,IAAAA,OAAO,EAAEtC,mBAAoB;IAAC,WAAU,EAAA,QAAA;AAAQ,GAAA,EAC/Da,gBAAgB,CAACnB,UAAU,EAAE,IAAI,CAClB,CAAC,eACrBsB,sBAAA,CAAAC,aAAA,CAACuB,UAAU,EAAE,IAAA,CACU,CACb,CAAC,gBAEnBxB,sBAAA,CAAAC,aAAA,CAAAD,sBAAA,CAAAE,QAAA,EACIF,IAAAA,eAAAA,sBAAA,CAAAC,aAAA,CAAC+B,kCAAY,EAAA;AACT3D,IAAAA,IAAI,EAAC,QAAQ;AACb,IAAA,WAAA,EAAU,QAAQ;AAClB4D,IAAAA,EAAE,EAAC,eAAe;AAClBX,IAAAA,OAAO,EAAEtC,mBAAoB;AAC7BkD,IAAAA,QAAQ,EAAE,CAAA;AAAE,GAAA,EAEXrC,gBAAgB,CAACpB,SAAS,CACjB,CAAC,eACfuB,sBAAA,CAAAC,aAAA,CAACkC,kCAAY,EAAA,IAAA,eACTnC,sBAAA,CAAAC,aAAA,CAACY,cAAc,EAAA,IAAE,CAAC,eAClBb,sBAAA,CAAAC,aAAA,CAACuB,UAAU,EAAA,IAAE,CACH,CAChB,CAEY,CAAC,CAAA;AAE/B;;;;"}
1
+ {"version":3,"file":"CalendarHeader.js","sources":["../../../../../src/components/Calendar/ui/CalendarHeader/CalendarHeader.tsx"],"sourcesContent":["import React from 'react';\nimport type { MouseEvent } from 'react';\n\nimport { IconDisclosureLeft, IconDisclosureRight } from '../../../_Icon';\nimport { CalendarState } from '../../store/types';\nimport { getCalendarType, MONTH_NAMES, YEAR_RENDER_COUNT, I18N } from '../../utils';\nimport type { DateObject } from '../../Calendar.types';\nimport { classes, tokens } from '../../Calendar.tokens';\nimport { sizeMap } from '../../store/reducer';\nimport { cx } from '../../../../utils';\n\nimport type { CalendarHeaderProps } from './CalendarHeader.types';\nimport {\n StyledArrow,\n StyledArrows,\n StyledCalendarHeader,\n StyledDoubleHeaderWrapper,\n StyledHeader,\n StyledHeaderDate,\n StyledHeaderDouble,\n StyledNavigation,\n StyledHeaderArrow,\n} from './CalendarHeader.styles';\n\n/**\n * Компонент шапки календаря.\n */\nexport const CalendarHeader: React.FC<CalendarHeaderProps> = ({\n type = 'Days',\n startYear = 0,\n size,\n firstDate,\n secondDate,\n isDouble,\n onPrev,\n onNext,\n onUpdateCalendarState,\n locale,\n}) => {\n const handleCalendarState = () => {\n const newSize: [number, number] = isDouble ? sizeMap.Months.double : sizeMap.Months.single;\n\n if (type === CalendarState.Days) {\n onUpdateCalendarState?.(CalendarState.Months, newSize);\n }\n\n if (type === CalendarState.Months || type === CalendarState.Quarters) {\n onUpdateCalendarState?.(CalendarState.Years, newSize);\n }\n };\n\n const handlePrev = (event: MouseEvent<HTMLDivElement>) => {\n event.stopPropagation();\n\n if (startYear <= 0) {\n return;\n }\n onPrev();\n };\n\n const handleNext = (event: MouseEvent<HTMLDivElement>) => {\n event.stopPropagation();\n\n onNext();\n };\n\n const getHeaderContent = (date?: DateObject, secondPart?: boolean) => {\n if (!date) {\n return '';\n }\n\n if (type === CalendarState.Days) {\n return (\n <>\n <StyledHeaderDate>{MONTH_NAMES[locale][date.monthIndex]}</StyledHeaderDate>\n <StyledHeaderDate>\n {date.year}\n <StyledHeaderArrow color=\"inherit\" sizeCustomProperty={tokens.calendarArrowHeaderCustomSize} />\n </StyledHeaderDate>\n </>\n );\n }\n\n if (type === CalendarState.Months || type === CalendarState.Quarters) {\n return (\n <StyledHeaderDate>\n {date.year}\n <StyledHeaderArrow color=\"inherit\" sizeCustomProperty={tokens.calendarArrowHeaderCustomSize} />\n </StyledHeaderDate>\n );\n }\n\n if (type === CalendarState.Years) {\n const yearValue = secondPart ? startYear + 12 : startYear;\n\n return (\n <StyledHeaderDate>\n {yearValue}—{yearValue + YEAR_RENDER_COUNT - 1}\n <StyledHeaderArrow color=\"inherit\" sizeCustomProperty={tokens.calendarArrowHeaderCustomSize} />\n </StyledHeaderDate>\n );\n }\n\n return '';\n };\n\n const currentCalendarType = getCalendarType(type, locale);\n\n const PreviousButton = () => (\n <StyledArrow\n className={cx(startYear <= 0 && classes.disabledPrevButton)}\n aria-label={`${I18N.previous[locale]} ${currentCalendarType}`}\n onClick={handlePrev}\n >\n <IconDisclosureLeft color=\"inherit\" size={size === 'xs' ? 'xs' : 's'} />\n </StyledArrow>\n );\n\n const NextButton = () => (\n <StyledArrow aria-label={`${I18N.next[locale]} ${currentCalendarType}`} onClick={handleNext}>\n <IconDisclosureRight color=\"inherit\" size={size === 'xs' ? 'xs' : 's'} />\n </StyledArrow>\n );\n\n return (\n <StyledCalendarHeader>\n {isDouble ? (\n <StyledNavigation>\n <StyledDoubleHeaderWrapper>\n <PreviousButton />\n <StyledHeaderDouble onClick={handleCalendarState} aria-live=\"polite\">\n {getHeaderContent(firstDate)}\n </StyledHeaderDouble>\n </StyledDoubleHeaderWrapper>\n <StyledDoubleHeaderWrapper className={classes.doubleHeaderLastDateWrapper}>\n <StyledHeaderDouble onClick={handleCalendarState} aria-live=\"polite\">\n {getHeaderContent(secondDate, true)}\n </StyledHeaderDouble>\n <NextButton />\n </StyledDoubleHeaderWrapper>\n </StyledNavigation>\n ) : (\n <>\n <StyledHeader\n type=\"button\"\n aria-live=\"polite\"\n id=\"id-grid-label\"\n onClick={handleCalendarState}\n tabIndex={0}\n >\n {getHeaderContent(firstDate)}\n </StyledHeader>\n <StyledArrows>\n <PreviousButton />\n <NextButton />\n </StyledArrows>\n </>\n )}\n </StyledCalendarHeader>\n );\n};\n"],"names":["CalendarHeader","_ref","_ref$type","type","_ref$startYear","startYear","size","firstDate","secondDate","isDouble","onPrev","onNext","onUpdateCalendarState","locale","handleCalendarState","newSize","sizeMap","Months","single","CalendarState","Days","Quarters","Years","handlePrev","event","stopPropagation","handleNext","getHeaderContent","date","secondPart","React","createElement","Fragment","StyledHeaderDate","MONTH_NAMES","monthIndex","year","StyledHeaderArrow","color","sizeCustomProperty","tokens","calendarArrowHeaderCustomSize","yearValue","YEAR_RENDER_COUNT","currentCalendarType","getCalendarType","PreviousButton","StyledArrow","className","cx","classes","disabledPrevButton","concat","I18N","previous","onClick","IconDisclosureLeft","NextButton","next","IconDisclosureRight","StyledCalendarHeader","StyledNavigation","StyledDoubleHeaderWrapper","StyledHeaderDouble","doubleHeaderLastDateWrapper","StyledHeader","id","tabIndex","StyledArrows"],"mappings":";;;;;;;;;;;;;;;;;;;AAwBA;AACA;AACA;IACaA,cAA6C,GAAG,SAAhDA,cAA6CA,CAAAC,IAAA,EAWpD;AAAA,EAAA,IAAAC,SAAA,GAAAD,IAAA,CAVFE,IAAI;AAAJA,IAAAA,IAAI,GAAAD,SAAA,KAAG,KAAA,CAAA,GAAA,MAAM,GAAAA,SAAA;IAAAE,cAAA,GAAAH,IAAA,CACbI,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAG,KAAA,CAAA,GAAA,CAAC,GAAAA,cAAA;IACbE,IAAI,GAAAL,IAAA,CAAJK,IAAI;IACJC,SAAS,GAAAN,IAAA,CAATM,SAAS;IACTC,UAAU,GAAAP,IAAA,CAAVO,UAAU;IACVC,QAAQ,GAAAR,IAAA,CAARQ,QAAQ;IACRC,MAAM,GAAAT,IAAA,CAANS,MAAM;IACNC,MAAM,GAAAV,IAAA,CAANU,MAAM;IACNC,qBAAqB,GAAAX,IAAA,CAArBW,qBAAqB;IACrBC,MAAM,GAAAZ,IAAA,CAANY,MAAM,CAAA;AAEN,EAAA,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmBA,GAAS;AAC9B,IAAA,IAAMC,OAAyB,GAAGN,QAAQ,GAAGO,eAAO,CAACC,MAAM,CAAA,QAAA,CAAO,GAAGD,eAAO,CAACC,MAAM,CAACC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AA,CAAAC,aAAA,CAACe,cAAc,EAAE,IAAA,CAAC,eAClBhB,sBAAA,CAAAC,aAAA,CAACgC,wCAAkB,EAAA;AAACR,IAAAA,OAAO,EAAEzC,mBAAoB;IAAC,WAAU,EAAA,QAAA;GACvDa,EAAAA,gBAAgB,CAACpB,SAAS,CACX,CACG,CAAC,eAC5BuB,sBAAA,CAAAC,aAAA,CAAC+B,+CAAyB,EAAA;IAACd,SAAS,EAAEE,uBAAO,CAACc,2BAAAA;AAA4B,GAAA,eACtElC,sBAAA,CAAAC,aAAA,CAACgC,wCAAkB,EAAA;AAACR,IAAAA,OAAO,EAAEzC,mBAAoB;IAAC,WAAU,EAAA,QAAA;AAAQ,GAAA,EAC/Da,gBAAgB,CAACnB,UAAU,EAAE,IAAI,CAClB,CAAC,eACrBsB,sBAAA,CAAAC,aAAA,CAAC0B,UAAU,EAAE,IAAA,CACU,CACb,CAAC,gBAEnB3B,sBAAA,CAAAC,aAAA,CAAAD,sBAAA,CAAAE,QAAA,EACIF,IAAAA,eAAAA,sBAAA,CAAAC,aAAA,CAACkC,kCAAY,EAAA;AACT9D,IAAAA,IAAI,EAAC,QAAQ;AACb,IAAA,WAAA,EAAU,QAAQ;AAClB+D,IAAAA,EAAE,EAAC,eAAe;AAClBX,IAAAA,OAAO,EAAEzC,mBAAoB;AAC7BqD,IAAAA,QAAQ,EAAE,CAAA;AAAE,GAAA,EAEXxC,gBAAgB,CAACpB,SAAS,CACjB,CAAC,eACfuB,sBAAA,CAAAC,aAAA,CAACqC,kCAAY,EAAA,IAAA,eACTtC,sBAAA,CAAAC,aAAA,CAACe,cAAc,EAAA,IAAE,CAAC,eAClBhB,sBAAA,CAAAC,aAAA,CAAC0B,UAAU,EAAA,IAAE,CACH,CAChB,CAEY,CAAC,CAAA;AAE/B;;;;"}
@@ -189,6 +189,7 @@ var tokens = {
189
189
  calendarHeaderFontWeight: '--plasma-date-picker-calendar__header-font-weight',
190
190
  calendarHeaderFontWeightBold: '--plasma-date-picker-calendar__header-font-weight-bold',
191
191
  calendarHeaderArrowColor: '--plasma-date-picker-calendar__header-arrow-color',
192
+ calendarHeaderArrowCustomSize: '--plasma-date-picker-calendar__header-arrow-custom-size',
192
193
  iconButtonColor: '--plasma-date-picker-icon-button__color',
193
194
  iconButtonBackgroundColor: '--plasma-date-picker-icon-button__background-color',
194
195
  iconButtonColorHover: '--plasma-date-picker-icon-button__color-hover',
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.tokens.js","sources":["../../../src/components/DatePicker/DatePicker.tokens.ts"],"sourcesContent":["export const classes = {\n datePickerError: 'date-picker-error',\n datePickerSuccess: 'date-picker-success',\n datePickerRoot: 'date-picker-root',\n datePickerstretched: 'date-picker-stretched',\n datePickerCalendarstretched: 'date-picker-calendar-stretched',\n};\n\nexport const pivateTokens = {\n calendarDoubleWidth: '--plasma_private-calendar-double-width',\n};\n\nexport const tokens = {\n width: '--plasma-date-picker-width',\n\n /** Токены полей ввода в рендже */\n background: '--plasma-date-picker_range-background',\n backgroundError: '--plasma-date-picker_range-background-error',\n backgroundSuccess: '--plasma-date-picker_range-background-success',\n backgroundReadOnly: '--plasma-date-picker_range-background-readonly',\n borderRadius: '--plasma-date-picker_range-border-radius',\n borderWidth: '--plasma-date-picker_range-border-width',\n borderColor: '--plasma-date-picker_range-border-color',\n borderColorHover: '--plasma-date-picker_range-border-color-hover',\n borderColorFocus: '--plasma-date-picker_range-border-color-focus',\n borderColorError: '--plasma-date-picker_range-border-color-error',\n borderColorSuccess: '--plasma-date-picker_range-border-color-success',\n borderColorReadOnly: '--plasma-date-picker_range-border-color-readonly',\n\n /** Токены разделителя */\n dividerColor: '--plasma-date-picker_range__divider-color',\n dividerColorReadOnly: '--plasma-date-picker_range__divider-color-readonly',\n dividerPadding: '--plasma-date-picker_range__divider-padding',\n dividerFontFamily: '--plasma-date-picker_range__divider-font-family',\n dividerFontStyle: '--plasma-date-picker_range__divider-font-style',\n dividerFontSize: '--plasma-date-picker_range__divider-font-size',\n dividerFontWeight: '--plasma-date-picker_range__divider-font-weight',\n dividerLetterSpacing: '--plasma-date-picker_range__divider-letter-spacing',\n dividerLineHeight: '--plasma-date-picker_range__divider-line-height',\n\n /** Токены слотов для контента в рендже */\n leftContentMargin: '--plasma-date-picker_range__left-content-margin',\n rightContentMargin: '--plasma-date-picker_range__right-content-margin',\n\n /** Токены лейбла */\n labelColor: '--plasma-date-picker__label-color',\n labelColorReadOnly: '--plasma-date-picker__label-color-readonly',\n labelOffset: '--plasma-date-picker__label-offset',\n\n labelFontFamily: '--plasma-date-picker__label-font-family',\n labelFontStyle: '--plasma-date-picker__label-font-style',\n labelFontSize: '--plasma-date-picker__label-font-size',\n labelFontWeight: '--plasma-date-picker__label-font-weight',\n labelLetterSpacing: '--plasma-date-picker__label-letter-spacing',\n labelLineHeight: '--plasma-date-picker__label-line-height',\n\n /** Токены индикатора */\n indicatorColor: '--plasma-date-picker__indicator-color',\n\n indicatorSize: '--plasma-date-picker__indicator-size',\n indicatorSizeOuter: '--plasma-date-picker__indicator-size-outer',\n indicatorPlacement: '--plasma-date-picker__indicator-placement',\n indicatorPlacementRight: '--plasma-date-picker__indicator-placement-right',\n indicatorOuterPlacement: '--plasma-date-picker__indicator-placement-outer',\n indicatorOuterPlacementRight: '--plasma-date-picker__indicator-placement-outer-right',\n\n /* label-placement-inner */\n labelInnerFontFamily: '--plasma-date-picker-placement_inner__label-font-family',\n labelInnerFontStyle: '--plasma-date-picker-placement_inner__label-font-style',\n labelInnerFontSize: '--plasma-date-picker-placement_inner__label-font-size',\n labelInnerFontWeight: '--plasma-date-picker-placement_inner__label-font-weight',\n labelInnerLetterSpacing: '--plasma-date-picker-placement_inner__label-letter-spacing',\n labelInnerLineHeight: '--plasma-date-picker-placement_inner__label-line-height',\n\n labelInnerPadding: '--plasma-date-picker-placement_inner__label-padding',\n contentLabelInnerPadding: '--plasma-date-picker-placement_inner__content-padding',\n\n /** Токены вспомогательного текста */\n leftHelperColor: '--plasma-date-picker__left-helper-color',\n leftHelperColorError: '--plasma-date-picker__left-helper-color-error',\n leftHelperColorSuccess: '--plasma-date-picker__left-helper-color-success',\n leftHelperColorReadOnly: '--plasma-date-picker__left-helper-color-readonly',\n leftHelperOffset: '--plasma-date-picker__left-helper-offset',\n\n leftHelperFontFamily: '--plasma-date-picker__left-helper-font-family',\n leftHelperFontStyle: '--plasma-date-picker__left-helper-font-style',\n leftHelperFontSize: '--plasma-date-picker__left-helper-font-size',\n leftHelperFontWeight: '--plasma-date-picker__left-helper-font-weight',\n leftHelperLetterSpacing: '--plasma-date-picker__left-helper-letter-spacing',\n leftHelperLineHeight: '--plasma-date-picker__left-helper-line-height',\n\n /** Прозрачность для всего компонента в состоянии disabled */\n disabledOpacity: '--plasma-date-picker-disabled-opacity',\n\n /** Цвет обводки поля ввода при фокусе */\n focusColor: '--plasma-date-picker-focus-color',\n\n /** Токены полей ввода */\n textFieldColor: '--plasma-date-picker-textfield-color',\n textFieldPlaceholderColorFocus: '--plasma-datepicker-textfield__placeholder-color-focus',\n textFieldFocusColor: '--plasma-date-picker-textfield-focus-color',\n textFieldPlaceholderColor: '--plasma-date-picker-textfield-placeholder-color',\n textFieldCaretColor: '--plasma-date-picker-textfield-caret-color',\n\n textFieldBackgroundColor: '--plasma-date-picker-textfield-background-color',\n textFieldBackgroundColorHover: '--plasma-date-picker-textfield-background-color-hover',\n textFieldBackgroundColorFocus: '--plasma-date-picker-textfield-background-color-focus',\n textFieldBackgroundErrorColor: '--plasma-date-picker-textfield-background-color-error',\n textFieldBackgroundErrorColorHover: '--plasma-date-picker-textfield-background-color-error-hover',\n textFieldBackgroundErrorColorFocus: '--plasma-date-picker-textfield-background-color-error-focus',\n textFieldBackgroundSuccessColor: '--plasma-date-picker-textfield-background-color-success',\n textFieldBackgroundSuccessColorHover: '--plasma-date-picker-textfield-background-color-success-hover',\n textFieldBackgroundSuccessColorFocus: '--plasma-date-picker-textfield-background-color-success-focus',\n\n textFieldBorderColor: '--plasma-date-picker-textfield-border-color',\n textFieldBorderColorHover: '--plasma-date-picker-textfield-border-color-hover',\n textFieldBorderColorFocus: '--plasma-date-picker-textfield-border-color-focus',\n textFieldBorderColorError: '--plasma-date-picker-textfield-border-color-error',\n textFieldBorderColorErrorHover: '--plasma-date-picker-textfield-border-color-error-hover',\n textFieldBorderColorErrorFocus: '--plasma-date-picker-textfield-border-color-error-focus',\n textFieldBorderColorSuccess: '--plasma-date-picker-textfield-border-color-success',\n textFieldBorderColorSuccessHover: '--plasma-date-picker-textfield-border-color-success-hover',\n textFieldBorderColorSuccessFocus: '--plasma-date-picker-textfield-border-color-success-focus',\n\n textFieldColorReadOnly: '--plasma-date-picker-textfield-color-readonly',\n textFieldBackgroundColorReadOnly: '--plasma-date-picker-textfield-background-color-readonly',\n textFieldBorderColorReadOnly: '--plasma-date-picker-textfield-border-color-readonly',\n textFieldPlaceholderColorReadOnly: '--plasma-date-picker-textfield-placeholder-color-readonly',\n\n textFieldHeight: '--plasma-date-picker-textfield-height',\n textFieldBorderWidth: '--plasma-date-picker-textfield-border-width',\n textFieldBorderRadius: '--plasma-date-picker-textfield-border-radius',\n textFieldPadding: '--plasma-date-picker-textfield-padding',\n textFieldLeftContentMargin: '--plasma-date-picker-textfield__left-content-margin',\n textFieldRightContentMargin: '--plasma-date-picker-textfield__right-content-margin',\n textFieldFontFamily: '--plasma-date-picker-textfield-font-family',\n textFieldFontStyle: '--plasma-date-picker-textfield-font-style',\n textFieldFontSize: '--plasma-date-picker-textfield-font-size',\n textFieldFontWeight: '--plasma-date-picker-textfield-font-weight',\n textFieldLetterSpacing: '--plasma-date-picker-textfield-letter-spacing',\n textFieldLineHeight: '--plasma-date-picker-textfield-line-height',\n\n textFieldTextBeforeColor: '--plasma-date-picker-textfield__before-text-color',\n textFieldTextAfterColor: '--plasma-date-picker-textfield__after-text-color',\n textFieldTextBeforeMargin: '--plasma-date-picker-textfield__before-text-margin',\n textFieldTextAfterMargin: '--plasma-date-picker-textfield__after-text-margin',\n textFieldContentSlotColor: '--plasma-date-picker-textfield__content-color',\n textFieldContentRightSlotColor: '--plasma-date-picker-textfield__content-right-color',\n textFieldContentRightSlotColorHover: '--plasma-date-picker-textfield__content-right-color-hover',\n\n /** Токены календаря */\n calendarMarginTop: '--plasma-date-picker-calendar-margin-top',\n calendarPaddingTop: '--plasma-date-picker-calendar-padding-top',\n calendarShadow: '--plasma-date-picker-calendar-shadow',\n calendarBorderRadius: '--plasma-date-picker-calendar-border-radius',\n calendarContainerWidth: '--plasma-date-picker-calendar-container-width',\n calendarContainerHeight: '--plasma-date-picker-calendar-container-height',\n calendarBorderWidth: '--plasma-date-picker-calendar-border-width',\n calendarBorderColor: '--plasma-date-picker-calendar-border-color',\n\n calendarYearsPadding: '--plasma-date-picker-calendar__years-padding',\n calendarYearItemBorderRadius: '--plasma-date-picker-calendar__year-item-border-radius',\n calendarYearFontFamily: '--plasma-date-picker-calendar__year-font-family',\n calendarYearFontSize: '--plasma-date-picker-calendar__year-font-size',\n calendarYearFontStyle: '--plasma-date-picker-calendar__year-font-style',\n calendarYearFontLetterSpacing: '--plasma-date-picker-calendar__year-letter-spacing',\n calendarYearFontLineHeight: '--plasma-date-picker-calendar__year-line-height',\n calendarYearFontWeight: '--plasma-date-picker-calendar__year-font-weight',\n calendarYearSelectedFontWeight: '--plasma-date-picker-calendar__year-selected-font-weight',\n\n calendarMonthsPadding: '--plasma-date-picker-calendar__months-padding',\n calendarMonthItemBorderRadius: '--plasma-date-picker-calendar__month-item-border-radius',\n calendarMonthFontFamily: '--plasma-date-picker-calendar__month-font-family',\n calendarMonthFontSize: '--plasma-date-picker-calendar__month-font-size',\n calendarMonthFontStyle: '--plasma-date-picker-calendar__month-font-style',\n calendarMonthFontLetterSpacing: '--plasma-date-picker-calendar__month-letter-spacing',\n calendarMonthFontLineHeight: '--plasma-date-picker-calendar__month-line-height',\n calendarMonthFontWeight: '--plasma-date-picker-calendar__month-font-weight',\n calendarMonthSelectedFontWeight: '--plasma-date-picker-calendar__month-selected-font-weight',\n\n calendarQuartersPadding: '--plasma-date-picker-calendar__quarters-padding',\n calendarQuarterItemBorderRadius: '--plasma-date-picker-calendar__quarter-item-border-radius',\n calendarQuarterFontFamily: '--plasma-date-picker-calendar__quarter-font-family',\n calendarQuarterFontSize: '--plasma-date-picker-calendar__quarter-font-size',\n calendarQuarterFontStyle: '--plasma-date-picker-calendar__quarter-font-style',\n calendarQuarterFontLetterSpacing: '--plasma-date-picker-calendar__quarter-letter-spacing',\n calendarQuarterFontLineHeight: '--plasma-date-picker-calendar__quarter-line-height',\n calendarQuarterFontWeight: '--plasma-date-picker-calendar__quarter-font-weight',\n calendarQuarterSelectedFontWeight: '--plasma-date-picker-calendar__quarter-selected-font-weight',\n\n calendarDaysPadding: '--plasma-date-picker-calendar__days-padding',\n calendarDayItemBorderRadius: '--plasma-date-picker-calendar__day-item-border-radius',\n calendarDayFontFamily: '--plasma-date-picker-calendar__day-font-family',\n calendarDayFontSize: '--plasma-date-picker-calendar__day-font-size',\n calendarDayFontStyle: '--plasma-date-picker-calendar__day-font-style',\n calendarDayFontLetterSpacing: '--plasma-date-picker-calendar__day-letter-spacing',\n calendarDayFontLineHeight: '--plasma-date-picker-calendar__day-line-height',\n calendarDayFontWeight: '--plasma-date-picker-calendar__day-font-weight',\n calendarDaySelectedFontWeight: '--plasma-date-picker-calendar__day-selected-font-weight',\n calendarDayOfWeekColor: '--plasma-date-picker-calendar__day-of-week-color',\n\n calendarHeaderWrapperPadding: '--plasma-date-picker-calendar__header-wrapper-padding',\n calendarHeaderArrowGap: '--plasma-date-picker-calendar__header-arrow-gap',\n calendarHeaderArrowPadding: '--plasma-date-picker-calendar__header-arrow-padding',\n calendarHeaderPadding: '--plasma-date-picker-calendar__header-padding',\n calendarHeaderDateGap: '--plasma-date-picker-calendar__header-date-gap',\n calendarHeaderFontFamily: '--plasma-date-picker-calendar__header-font-family',\n calendarHeaderFontSize: '--plasma-date-picker-calendar__header-font-size',\n calendarHeaderFontStyle: '--plasma-date-picker-calendar__header-font-style',\n calendarHeaderFontLetterSpacing: '--plasma-date-picker-calendar__header-letter-spacing',\n calendarHeaderFontLineHeight: '--plasma-date-picker-calendar__header-line-height',\n calendarHeaderFontWeight: '--plasma-date-picker-calendar__header-font-weight',\n calendarHeaderFontWeightBold: '--plasma-date-picker-calendar__header-font-weight-bold',\n calendarHeaderArrowColor: '--plasma-date-picker-calendar__header-arrow-color',\n\n iconButtonColor: '--plasma-date-picker-icon-button__color',\n iconButtonBackgroundColor: '--plasma-date-picker-icon-button__background-color',\n iconButtonColorHover: '--plasma-date-picker-icon-button__color-hover',\n iconButtonBackgroundColorHover: '--plasma-date-picker-icon-button__background-color-hover',\n iconButtonColorActive: '--plasma-date-picker-icon-button__color-active',\n iconButtonBackgroundColorActive: '--plasma-date-picker-icon-button__background-color-active',\n iconButtonHeight: '--plasma-date-picker-icon-button__height',\n iconButtonWidth: '--plasma-date-picker-icon-button__width',\n iconButtonPadding: '--plasma-date-picker-icon-button__padding',\n iconButtonRadius: '--plasma-date-picker-icon-button__radius',\n iconButtonFocusColor: '--plasma-date-picker-icon-button__focus-color',\n calendarBackgroundColor: '--plasma-date-picker-calendar__background-color',\n\n calendarSelectedItemBackground: '--plasma-date-picker-calendar__selected-item-background',\n calendarSelectedItemColor: '--plasma-date-picker-calendar__selected-item-color',\n calendarSelectableItemBackgroundHover: '--plasma-date-picker-calendar__selectable-item-background-hover',\n calendarCurrentItemBorderColor: '--plasma-date-picker-calendar__current-item-border-color',\n calendarCurrentItemBorderWidth: '--plasma-date-picker-calendar__current-item-border-width',\n calendarCurrentItemBackgroundHover: '--plasma-date-picker-calendar__current-item-background-hover',\n calendarCurrentItemColorHover: '--plasma-date-picker-calendar__current-item-color-hover',\n calendarCurrentItemChildBackgroundHover: '--plasma-date-picker-calendar__current-item-child-background-hover',\n calendarActiveItemBackground: '--plasma-date-picker-calendar__active-item-background',\n calendarActiveItemColor: '--plasma-date-picker-calendar__active-item-color',\n calendarHoveredItemBackground: '--plasma-date-picker-calendar__hovered-item-background',\n calendarHoveredItemColor: '--plasma-date-picker-calendar__hovered-item-color',\n calendarSeparatorBackground: '--plasma-date-picker-calendar__separator-background',\n calendarRangeBackground: '--plasma-date-picker-calendar__range-background',\n calendarOutlineFocusColor: '--plasma-date-picker-calendar__outline-focus-color',\n calendarContentPrimaryColor: '--plasma-date-picker-calendar__content-primary-color',\n calendarContentSecondaryColor: '--plasma-date-picker-calendar__content-secondary-color',\n calendarContentPrimaryDisabledColor: '--plasma-date-picker-calendar__content-primary-disabled-color',\n calendarContentSecondaryDisabledColor: '--plasma-date-picker-calendar__content-secondary-disabled-color',\n calendarDisabledOpacity: '--plasma-date-picker-calendar__disabled-opacity',\n};\n"],"names":["classes","datePickerError","datePickerSuccess","datePickerRoot","datePickerstretched","datePickerCalendarstretched","pivateTokens","calendarDoubleWidth","tokens","width","background","backgroundError","backgroundSuccess","backgroundReadOnly","borderRadius","borderWidth","borderColor","borderColorHover","borderColorFocus","borderColorError","borderColorSuccess","borderColorReadOnly","dividerColor","dividerColorReadOnly","dividerPadding","dividerFontFamily","dividerFontStyle","dividerFontSize","dividerFontWeight","dividerLetterSpacing","dividerLineHeight","leftContentMargin","rightContentMargin","labelColor","labelColorReadOnly","labelOffset","labelFontFamily","labelFontStyle","labelFontSize","labelFontWeight","labelLetterSpacing","labelLineHeight","indicatorColor","indicatorSize","indicatorSizeOuter","indicatorPlacement","indicatorPlacementRight","indicatorOuterPlacement","indicatorOuterPlacementRight","labelInnerFontFamily","labelInnerFontStyle","labelInnerFontSize","labelInnerFontWeight","labelInnerLetterSpacing","labelInnerLineHeight","labelInnerPadding","contentLabelInnerPadding","leftHelperColor","leftHelperColorError","leftHelperColorSuccess","leftHelperColorReadOnly","leftHelperOffset","leftHelperFontFamily","leftHelperFontStyle","leftHelperFontSize","leftHelperFontWeight","leftHelperLetterSpacing","leftHelperLineHeight","disabledOpacity","focusColor","textFieldColor","textFieldPlaceholderColorFocus","textFieldFocusColor","textFieldPlaceholderColor","textFieldCaretColor","textFieldBackgroundColor","textFieldBackgroundColorHover","textFieldBackgroundColorFocus","textFieldBackgroundErrorColor","textFieldBackgroundErrorColorHover","textFieldBackgroundErrorColorFocus","textFieldBackgroundSuccessColor","textFieldBackgroundSuccessColorHover","textFieldBackgroundSuccessColorFocus","textFieldBorderColor","textFieldBorderColorHover","textFieldBorderColorFocus","textFieldBorderColorError","textFieldBorderColorErrorHover","textFieldBorderColorErrorFocus","textFieldBorderColorSuccess","textFieldBorderColorSuccessHover","textFieldBorderColorSuccessFocus","textFieldColorReadOnly","textFieldBackgroundColorReadOnly","textFieldBorderColorReadOnly","textFieldPlaceholderColorReadOnly","textFieldHeight","textFieldBorderWidth","textFieldBorderRadius","textFieldPadding","textFieldLeftContentMargin","textFieldRightContentMargin","textFieldFontFamily","textFieldFontStyle","textFieldFontSize","textFieldFontWeight","textFieldLetterSpacing","textFieldLineHeight","textFieldTextBeforeColor","textFieldTextAfterColor","textFieldTextBeforeMargin","textFieldTextAfterMargin","textFieldContentSlotColor","textFieldContentRightSlotColor","textFieldContentRightSlotColorHover","calendarMarginTop","calendarPaddingTop","calendarShadow","calendarBorderRadius","calendarContainerWidth","calendarContainerHeight","calendarBorderWidth","calendarBorderColor","calendarYearsPadding","calendarYearItemBorderRadius","calendarYearFontFamily","calendarYearFontSize","calendarYearFontStyle","calendarYearFontLetterSpacing","calendarYearFontLineHeight","calendarYearFontWeight","calendarYearSelectedFontWeight","calendarMonthsPadding","calendarMonthItemBorderRadius","calendarMonthFontFamily","calendarMonthFontSize","calendarMonthFontStyle","calendarMonthFontLetterSpacing","calendarMonthFontLineHeight","calendarMonthFontWeight","calendarMonthSelectedFontWeight","calendarQuartersPadding","calendarQuarterItemBorderRadius","calendarQuarterFontFamily","calendarQuarterFontSize","calendarQuarterFontStyle","calendarQuarterFontLetterSpacing","calendarQuarterFontLineHeight","calendarQuarterFontWeight","calendarQuarterSelectedFontWeight","calendarDaysPadding","calendarDayItemBorderRadius","calendarDayFontFamily","calendarDayFontSize","calendarDayFontStyle","calendarDayFontLetterSpacing","calendarDayFontLineHeight","calendarDayFontWeight","calendarDaySelectedFontWeight","calendarDayOfWeekColor","calendarHeaderWrapperPadding","calendarHeaderArrowGap","calendarHeaderArrowPadding","calendarHeaderPadding","calendarHeaderDateGap","calendarHeaderFontFamily","calendarHeaderFontSize","calendarHeaderFontStyle","calendarHeaderFontLetterSpacing","calendarHeaderFontLineHeight","calendarHeaderFontWeight","calendarHeaderFontWeightBold","calendarHeaderArrowColor","iconButtonColor","iconButtonBackgroundColor","iconButtonColorHover","iconButtonBackgroundColorHover","iconButtonColorActive","iconButtonBackgroundColorActive","iconButtonHeight","iconButtonWidth","iconButtonPadding","iconButtonRadius","iconButtonFocusColor","calendarBackgroundColor","calendarSelectedItemBackground","calendarSelectedItemColor","calendarSelectableItemBackgroundHover","calendarCurrentItemBorderColor","calendarCurrentItemBorderWidth","calendarCurrentItemBackgroundHover","calendarCurrentItemColorHover","calendarCurrentItemChildBackgroundHover","calendarActiveItemBackground","calendarActiveItemColor","calendarHoveredItemBackground","calendarHoveredItemColor","calendarSeparatorBackground","calendarRangeBackground","calendarOutlineFocusColor","calendarContentPrimaryColor","calendarContentSecondaryColor","calendarContentPrimaryDisabledColor","calendarContentSecondaryDisabledColor","calendarDisabledOpacity"],"mappings":";;;;AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,eAAe,EAAE,mBAAmB;AACpCC,EAAAA,iBAAiB,EAAE,qBAAqB;AACxCC,EAAAA,cAAc,EAAE,kBAAkB;AAClCC,EAAAA,mBAAmB,EAAE,uBAAuB;AAC5CC,EAAAA,2BAA2B,EAAE,gCAAA;AACjC,EAAC;AAEM,IAAMC,YAAY,GAAG;AACxBC,EAAAA,mBAAmB,EAAE,wCAAA;AACzB,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClBC,EAAAA,KAAK,EAAE,4BAA4B;AAEnC;AACAC,EAAAA,UAAU,EAAE,uCAAuC;AACnDC,EAAAA,eAAe,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js","sources":["../../../src/components/DatePicker/DatePicker.tokens.ts"],"sourcesContent":["export const classes = {\n datePickerError: 'date-picker-error',\n datePickerSuccess: 'date-picker-success',\n datePickerRoot: 'date-picker-root',\n datePickerstretched: 'date-picker-stretched',\n datePickerCalendarstretched: 'date-picker-calendar-stretched',\n};\n\nexport const pivateTokens = {\n calendarDoubleWidth: '--plasma_private-calendar-double-width',\n};\n\nexport const tokens = {\n width: '--plasma-date-picker-width',\n\n /** Токены полей ввода в рендже */\n background: '--plasma-date-picker_range-background',\n backgroundError: '--plasma-date-picker_range-background-error',\n backgroundSuccess: '--plasma-date-picker_range-background-success',\n backgroundReadOnly: '--plasma-date-picker_range-background-readonly',\n borderRadius: '--plasma-date-picker_range-border-radius',\n borderWidth: '--plasma-date-picker_range-border-width',\n borderColor: '--plasma-date-picker_range-border-color',\n borderColorHover: '--plasma-date-picker_range-border-color-hover',\n borderColorFocus: '--plasma-date-picker_range-border-color-focus',\n borderColorError: '--plasma-date-picker_range-border-color-error',\n borderColorSuccess: '--plasma-date-picker_range-border-color-success',\n borderColorReadOnly: '--plasma-date-picker_range-border-color-readonly',\n\n /** Токены разделителя */\n dividerColor: '--plasma-date-picker_range__divider-color',\n dividerColorReadOnly: '--plasma-date-picker_range__divider-color-readonly',\n dividerPadding: '--plasma-date-picker_range__divider-padding',\n dividerFontFamily: '--plasma-date-picker_range__divider-font-family',\n dividerFontStyle: '--plasma-date-picker_range__divider-font-style',\n dividerFontSize: '--plasma-date-picker_range__divider-font-size',\n dividerFontWeight: '--plasma-date-picker_range__divider-font-weight',\n dividerLetterSpacing: '--plasma-date-picker_range__divider-letter-spacing',\n dividerLineHeight: '--plasma-date-picker_range__divider-line-height',\n\n /** Токены слотов для контента в рендже */\n leftContentMargin: '--plasma-date-picker_range__left-content-margin',\n rightContentMargin: '--plasma-date-picker_range__right-content-margin',\n\n /** Токены лейбла */\n labelColor: '--plasma-date-picker__label-color',\n labelColorReadOnly: '--plasma-date-picker__label-color-readonly',\n labelOffset: '--plasma-date-picker__label-offset',\n\n labelFontFamily: '--plasma-date-picker__label-font-family',\n labelFontStyle: '--plasma-date-picker__label-font-style',\n labelFontSize: '--plasma-date-picker__label-font-size',\n labelFontWeight: '--plasma-date-picker__label-font-weight',\n labelLetterSpacing: '--plasma-date-picker__label-letter-spacing',\n labelLineHeight: '--plasma-date-picker__label-line-height',\n\n /** Токены индикатора */\n indicatorColor: '--plasma-date-picker__indicator-color',\n\n indicatorSize: '--plasma-date-picker__indicator-size',\n indicatorSizeOuter: '--plasma-date-picker__indicator-size-outer',\n indicatorPlacement: '--plasma-date-picker__indicator-placement',\n indicatorPlacementRight: '--plasma-date-picker__indicator-placement-right',\n indicatorOuterPlacement: '--plasma-date-picker__indicator-placement-outer',\n indicatorOuterPlacementRight: '--plasma-date-picker__indicator-placement-outer-right',\n\n /* label-placement-inner */\n labelInnerFontFamily: '--plasma-date-picker-placement_inner__label-font-family',\n labelInnerFontStyle: '--plasma-date-picker-placement_inner__label-font-style',\n labelInnerFontSize: '--plasma-date-picker-placement_inner__label-font-size',\n labelInnerFontWeight: '--plasma-date-picker-placement_inner__label-font-weight',\n labelInnerLetterSpacing: '--plasma-date-picker-placement_inner__label-letter-spacing',\n labelInnerLineHeight: '--plasma-date-picker-placement_inner__label-line-height',\n\n labelInnerPadding: '--plasma-date-picker-placement_inner__label-padding',\n contentLabelInnerPadding: '--plasma-date-picker-placement_inner__content-padding',\n\n /** Токены вспомогательного текста */\n leftHelperColor: '--plasma-date-picker__left-helper-color',\n leftHelperColorError: '--plasma-date-picker__left-helper-color-error',\n leftHelperColorSuccess: '--plasma-date-picker__left-helper-color-success',\n leftHelperColorReadOnly: '--plasma-date-picker__left-helper-color-readonly',\n leftHelperOffset: '--plasma-date-picker__left-helper-offset',\n\n leftHelperFontFamily: '--plasma-date-picker__left-helper-font-family',\n leftHelperFontStyle: '--plasma-date-picker__left-helper-font-style',\n leftHelperFontSize: '--plasma-date-picker__left-helper-font-size',\n leftHelperFontWeight: '--plasma-date-picker__left-helper-font-weight',\n leftHelperLetterSpacing: '--plasma-date-picker__left-helper-letter-spacing',\n leftHelperLineHeight: '--plasma-date-picker__left-helper-line-height',\n\n /** Прозрачность для всего компонента в состоянии disabled */\n disabledOpacity: '--plasma-date-picker-disabled-opacity',\n\n /** Цвет обводки поля ввода при фокусе */\n focusColor: '--plasma-date-picker-focus-color',\n\n /** Токены полей ввода */\n textFieldColor: '--plasma-date-picker-textfield-color',\n textFieldPlaceholderColorFocus: '--plasma-datepicker-textfield__placeholder-color-focus',\n textFieldFocusColor: '--plasma-date-picker-textfield-focus-color',\n textFieldPlaceholderColor: '--plasma-date-picker-textfield-placeholder-color',\n textFieldCaretColor: '--plasma-date-picker-textfield-caret-color',\n\n textFieldBackgroundColor: '--plasma-date-picker-textfield-background-color',\n textFieldBackgroundColorHover: '--plasma-date-picker-textfield-background-color-hover',\n textFieldBackgroundColorFocus: '--plasma-date-picker-textfield-background-color-focus',\n textFieldBackgroundErrorColor: '--plasma-date-picker-textfield-background-color-error',\n textFieldBackgroundErrorColorHover: '--plasma-date-picker-textfield-background-color-error-hover',\n textFieldBackgroundErrorColorFocus: '--plasma-date-picker-textfield-background-color-error-focus',\n textFieldBackgroundSuccessColor: '--plasma-date-picker-textfield-background-color-success',\n textFieldBackgroundSuccessColorHover: '--plasma-date-picker-textfield-background-color-success-hover',\n textFieldBackgroundSuccessColorFocus: '--plasma-date-picker-textfield-background-color-success-focus',\n\n textFieldBorderColor: '--plasma-date-picker-textfield-border-color',\n textFieldBorderColorHover: '--plasma-date-picker-textfield-border-color-hover',\n textFieldBorderColorFocus: '--plasma-date-picker-textfield-border-color-focus',\n textFieldBorderColorError: '--plasma-date-picker-textfield-border-color-error',\n textFieldBorderColorErrorHover: '--plasma-date-picker-textfield-border-color-error-hover',\n textFieldBorderColorErrorFocus: '--plasma-date-picker-textfield-border-color-error-focus',\n textFieldBorderColorSuccess: '--plasma-date-picker-textfield-border-color-success',\n textFieldBorderColorSuccessHover: '--plasma-date-picker-textfield-border-color-success-hover',\n textFieldBorderColorSuccessFocus: '--plasma-date-picker-textfield-border-color-success-focus',\n\n textFieldColorReadOnly: '--plasma-date-picker-textfield-color-readonly',\n textFieldBackgroundColorReadOnly: '--plasma-date-picker-textfield-background-color-readonly',\n textFieldBorderColorReadOnly: '--plasma-date-picker-textfield-border-color-readonly',\n textFieldPlaceholderColorReadOnly: '--plasma-date-picker-textfield-placeholder-color-readonly',\n\n textFieldHeight: '--plasma-date-picker-textfield-height',\n textFieldBorderWidth: '--plasma-date-picker-textfield-border-width',\n textFieldBorderRadius: '--plasma-date-picker-textfield-border-radius',\n textFieldPadding: '--plasma-date-picker-textfield-padding',\n textFieldLeftContentMargin: '--plasma-date-picker-textfield__left-content-margin',\n textFieldRightContentMargin: '--plasma-date-picker-textfield__right-content-margin',\n textFieldFontFamily: '--plasma-date-picker-textfield-font-family',\n textFieldFontStyle: '--plasma-date-picker-textfield-font-style',\n textFieldFontSize: '--plasma-date-picker-textfield-font-size',\n textFieldFontWeight: '--plasma-date-picker-textfield-font-weight',\n textFieldLetterSpacing: '--plasma-date-picker-textfield-letter-spacing',\n textFieldLineHeight: '--plasma-date-picker-textfield-line-height',\n\n textFieldTextBeforeColor: '--plasma-date-picker-textfield__before-text-color',\n textFieldTextAfterColor: '--plasma-date-picker-textfield__after-text-color',\n textFieldTextBeforeMargin: '--plasma-date-picker-textfield__before-text-margin',\n textFieldTextAfterMargin: '--plasma-date-picker-textfield__after-text-margin',\n textFieldContentSlotColor: '--plasma-date-picker-textfield__content-color',\n textFieldContentRightSlotColor: '--plasma-date-picker-textfield__content-right-color',\n textFieldContentRightSlotColorHover: '--plasma-date-picker-textfield__content-right-color-hover',\n\n /** Токены календаря */\n calendarMarginTop: '--plasma-date-picker-calendar-margin-top',\n calendarPaddingTop: '--plasma-date-picker-calendar-padding-top',\n calendarShadow: '--plasma-date-picker-calendar-shadow',\n calendarBorderRadius: '--plasma-date-picker-calendar-border-radius',\n calendarContainerWidth: '--plasma-date-picker-calendar-container-width',\n calendarContainerHeight: '--plasma-date-picker-calendar-container-height',\n calendarBorderWidth: '--plasma-date-picker-calendar-border-width',\n calendarBorderColor: '--plasma-date-picker-calendar-border-color',\n\n calendarYearsPadding: '--plasma-date-picker-calendar__years-padding',\n calendarYearItemBorderRadius: '--plasma-date-picker-calendar__year-item-border-radius',\n calendarYearFontFamily: '--plasma-date-picker-calendar__year-font-family',\n calendarYearFontSize: '--plasma-date-picker-calendar__year-font-size',\n calendarYearFontStyle: '--plasma-date-picker-calendar__year-font-style',\n calendarYearFontLetterSpacing: '--plasma-date-picker-calendar__year-letter-spacing',\n calendarYearFontLineHeight: '--plasma-date-picker-calendar__year-line-height',\n calendarYearFontWeight: '--plasma-date-picker-calendar__year-font-weight',\n calendarYearSelectedFontWeight: '--plasma-date-picker-calendar__year-selected-font-weight',\n\n calendarMonthsPadding: '--plasma-date-picker-calendar__months-padding',\n calendarMonthItemBorderRadius: '--plasma-date-picker-calendar__month-item-border-radius',\n calendarMonthFontFamily: '--plasma-date-picker-calendar__month-font-family',\n calendarMonthFontSize: '--plasma-date-picker-calendar__month-font-size',\n calendarMonthFontStyle: '--plasma-date-picker-calendar__month-font-style',\n calendarMonthFontLetterSpacing: '--plasma-date-picker-calendar__month-letter-spacing',\n calendarMonthFontLineHeight: '--plasma-date-picker-calendar__month-line-height',\n calendarMonthFontWeight: '--plasma-date-picker-calendar__month-font-weight',\n calendarMonthSelectedFontWeight: '--plasma-date-picker-calendar__month-selected-font-weight',\n\n calendarQuartersPadding: '--plasma-date-picker-calendar__quarters-padding',\n calendarQuarterItemBorderRadius: '--plasma-date-picker-calendar__quarter-item-border-radius',\n calendarQuarterFontFamily: '--plasma-date-picker-calendar__quarter-font-family',\n calendarQuarterFontSize: '--plasma-date-picker-calendar__quarter-font-size',\n calendarQuarterFontStyle: '--plasma-date-picker-calendar__quarter-font-style',\n calendarQuarterFontLetterSpacing: '--plasma-date-picker-calendar__quarter-letter-spacing',\n calendarQuarterFontLineHeight: '--plasma-date-picker-calendar__quarter-line-height',\n calendarQuarterFontWeight: '--plasma-date-picker-calendar__quarter-font-weight',\n calendarQuarterSelectedFontWeight: '--plasma-date-picker-calendar__quarter-selected-font-weight',\n\n calendarDaysPadding: '--plasma-date-picker-calendar__days-padding',\n calendarDayItemBorderRadius: '--plasma-date-picker-calendar__day-item-border-radius',\n calendarDayFontFamily: '--plasma-date-picker-calendar__day-font-family',\n calendarDayFontSize: '--plasma-date-picker-calendar__day-font-size',\n calendarDayFontStyle: '--plasma-date-picker-calendar__day-font-style',\n calendarDayFontLetterSpacing: '--plasma-date-picker-calendar__day-letter-spacing',\n calendarDayFontLineHeight: '--plasma-date-picker-calendar__day-line-height',\n calendarDayFontWeight: '--plasma-date-picker-calendar__day-font-weight',\n calendarDaySelectedFontWeight: '--plasma-date-picker-calendar__day-selected-font-weight',\n calendarDayOfWeekColor: '--plasma-date-picker-calendar__day-of-week-color',\n\n calendarHeaderWrapperPadding: '--plasma-date-picker-calendar__header-wrapper-padding',\n calendarHeaderArrowGap: '--plasma-date-picker-calendar__header-arrow-gap',\n calendarHeaderArrowPadding: '--plasma-date-picker-calendar__header-arrow-padding',\n calendarHeaderPadding: '--plasma-date-picker-calendar__header-padding',\n calendarHeaderDateGap: '--plasma-date-picker-calendar__header-date-gap',\n calendarHeaderFontFamily: '--plasma-date-picker-calendar__header-font-family',\n calendarHeaderFontSize: '--plasma-date-picker-calendar__header-font-size',\n calendarHeaderFontStyle: '--plasma-date-picker-calendar__header-font-style',\n calendarHeaderFontLetterSpacing: '--plasma-date-picker-calendar__header-letter-spacing',\n calendarHeaderFontLineHeight: '--plasma-date-picker-calendar__header-line-height',\n calendarHeaderFontWeight: '--plasma-date-picker-calendar__header-font-weight',\n calendarHeaderFontWeightBold: '--plasma-date-picker-calendar__header-font-weight-bold',\n calendarHeaderArrowColor: '--plasma-date-picker-calendar__header-arrow-color',\n calendarHeaderArrowCustomSize: '--plasma-date-picker-calendar__header-arrow-custom-size',\n\n iconButtonColor: '--plasma-date-picker-icon-button__color',\n iconButtonBackgroundColor: '--plasma-date-picker-icon-button__background-color',\n iconButtonColorHover: '--plasma-date-picker-icon-button__color-hover',\n iconButtonBackgroundColorHover: '--plasma-date-picker-icon-button__background-color-hover',\n iconButtonColorActive: '--plasma-date-picker-icon-button__color-active',\n iconButtonBackgroundColorActive: '--plasma-date-picker-icon-button__background-color-active',\n iconButtonHeight: '--plasma-date-picker-icon-button__height',\n iconButtonWidth: '--plasma-date-picker-icon-button__width',\n iconButtonPadding: '--plasma-date-picker-icon-button__padding',\n iconButtonRadius: '--plasma-date-picker-icon-button__radius',\n iconButtonFocusColor: '--plasma-date-picker-icon-button__focus-color',\n calendarBackgroundColor: '--plasma-date-picker-calendar__background-color',\n\n calendarSelectedItemBackground: '--plasma-date-picker-calendar__selected-item-background',\n calendarSelectedItemColor: '--plasma-date-picker-calendar__selected-item-color',\n calendarSelectableItemBackgroundHover: '--plasma-date-picker-calendar__selectable-item-background-hover',\n calendarCurrentItemBorderColor: '--plasma-date-picker-calendar__current-item-border-color',\n calendarCurrentItemBorderWidth: '--plasma-date-picker-calendar__current-item-border-width',\n calendarCurrentItemBackgroundHover: '--plasma-date-picker-calendar__current-item-background-hover',\n calendarCurrentItemColorHover: '--plasma-date-picker-calendar__current-item-color-hover',\n calendarCurrentItemChildBackgroundHover: '--plasma-date-picker-calendar__current-item-child-background-hover',\n calendarActiveItemBackground: '--plasma-date-picker-calendar__active-item-background',\n calendarActiveItemColor: '--plasma-date-picker-calendar__active-item-color',\n calendarHoveredItemBackground: '--plasma-date-picker-calendar__hovered-item-background',\n calendarHoveredItemColor: '--plasma-date-picker-calendar__hovered-item-color',\n calendarSeparatorBackground: '--plasma-date-picker-calendar__separator-background',\n calendarRangeBackground: '--plasma-date-picker-calendar__range-background',\n calendarOutlineFocusColor: '--plasma-date-picker-calendar__outline-focus-color',\n calendarContentPrimaryColor: '--plasma-date-picker-calendar__content-primary-color',\n calendarContentSecondaryColor: '--plasma-date-picker-calendar__content-secondary-color',\n calendarContentPrimaryDisabledColor: '--plasma-date-picker-calendar__content-primary-disabled-color',\n calendarContentSecondaryDisabledColor: '--plasma-date-picker-calendar__content-secondary-disabled-color',\n calendarDisabledOpacity: '--plasma-date-picker-calendar__disabled-opacity',\n};\n"],"names":["classes","datePickerError","datePickerSuccess","datePickerRoot","datePickerstretched","datePickerCalendarstretched","pivateTokens","calendarDoubleWidth","tokens","width","background","backgroundError","backgroundSuccess","backgroundReadOnly","borderRadius","borderWidth","borderColor","borderColorHover","borderColorFocus","borderColorError","borderColorSuccess","borderColorReadOnly","dividerColor","dividerColorReadOnly","dividerPadding","dividerFontFamily","dividerFontStyle","dividerFontSize","dividerFontWeight","dividerLetterSpacing","dividerLineHeight","leftContentMargin","rightContentMargin","labelColor","labelColorReadOnly","labelOffset","labelFontFamily","labelFontStyle","labelFontSize","labelFontWeight","labelLetterSpacing","labelLineHeight","indicatorColor","indicatorSize","indicatorSizeOuter","indicatorPlacement","indicatorPlacementRight","indicatorOuterPlacement","indicatorOuterPlacementRight","labelInnerFontFamily","labelInnerFontStyle","labelInnerFontSize","labelInnerFontWeight","labelInnerLetterSpacing","labelInnerLineHeight","labelInnerPadding","contentLabelInnerPadding","leftHelperColor","leftHelperColorError","leftHelperColorSuccess","leftHelperColorReadOnly","leftHelperOffset","leftHelperFontFamily","leftHelperFontStyle","leftHelperFontSize","leftHelperFontWeight","leftHelperLetterSpacing","leftHelperLineHeight","disabledOpacity","focusColor","textFieldColor","textFieldPlaceholderColorFocus","textFieldFocusColor","textFieldPlaceholderColor","textFieldCaretColor","textFieldBackgroundColor","textFieldBackgroundColorHover","textFieldBackgroundColorFocus","textFieldBackgroundErrorColor","textFieldBackgroundErrorColorHover","textFieldBackgroundErrorColorFocus","textFieldBackgroundSuccessColor","textFieldBackgroundSuccessColorHover","textFieldBackgroundSuccessColorFocus","textFieldBorderColor","textFieldBorderColorHover","textFieldBorderColorFocus","textFieldBorderColorError","textFieldBorderColorErrorHover","textFieldBorderColorErrorFocus","textFieldBorderColorSuccess","textFieldBorderColorSuccessHover","textFieldBorderColorSuccessFocus","textFieldColorReadOnly","textFieldBackgroundColorReadOnly","textFieldBorderColorReadOnly","textFieldPlaceholderColorReadOnly","textFieldHeight","textFieldBorderWidth","textFieldBorderRadius","textFieldPadding","textFieldLeftContentMargin","textFieldRightContentMargin","textFieldFontFamily","textFieldFontStyle","textFieldFontSize","textFieldFontWeight","textFieldLetterSpacing","textFieldLineHeight","textFieldTextBeforeColor","textFieldTextAfterColor","textFieldTextBeforeMargin","textFieldTextAfterMargin","textFieldContentSlotColor","textFieldContentRightSlotColor","textFieldContentRightSlotColorHover","calendarMarginTop","calendarPaddingTop","calendarShadow","calendarBorderRadius","calendarContainerWidth","calendarContainerHeight","calendarBorderWidth","calendarBorderColor","calendarYearsPadding","calendarYearItemBorderRadius","calendarYearFontFamily","calendarYearFontSize","calendarYearFontStyle","calendarYearFontLetterSpacing","calendarYearFontLineHeight","calendarYearFontWeight","calendarYearSelectedFontWeight","calendarMonthsPadding","calendarMonthItemBorderRadius","calendarMonthFontFamily","calendarMonthFontSize","calendarMonthFontStyle","calendarMonthFontLetterSpacing","calendarMonthFontLineHeight","calendarMonthFontWeight","calendarMonthSelectedFontWeight","calendarQuartersPadding","calendarQuarterItemBorderRadius","calendarQuarterFontFamily","calendarQuarterFontSize","calendarQuarterFontStyle","calendarQuarterFontLetterSpacing","calendarQuarterFontLineHeight","calendarQuarterFontWeight","calendarQuarterSelectedFontWeight","calendarDaysPadding","calendarDayItemBorderRadius","calendarDayFontFamily","calendarDayFontSize","calendarDayFontStyle","calendarDayFontLetterSpacing","calendarDayFontLineHeight","calendarDayFontWeight","calendarDaySelectedFontWeight","calendarDayOfWeekColor","calendarHeaderWrapperPadding","calendarHeaderArrowGap","calendarHeaderArrowPadding","calendarHeaderPadding","calendarHeaderDateGap","calendarHeaderFontFamily","calendarHeaderFontSize","calendarHeaderFontStyle","calendarHeaderFontLetterSpacing","calendarHeaderFontLineHeight","calendarHeaderFontWeight","calendarHeaderFontWeightBold","calendarHeaderArrowColor","calendarHeaderArrowCustomSize","iconButtonColor","iconButtonBackgroundColor","iconButtonColorHover","iconButtonBackgroundColorHover","iconButtonColorActive","iconButtonBackgroundColorActive","iconButtonHeight","iconButtonWidth","iconButtonPadding","iconButtonRadius","iconButtonFocusColor","calendarBackgroundColor","calendarSelectedItemBackground","calendarSelectedItemColor","calendarSelectableItemBackgroundHover","calendarCurrentItemBorderColor","calendarCurrentItemBorderWidth","calendarCurrentItemBackgroundHover","calendarCurrentItemColorHover","calendarCurrentItemChildBackgroundHover","calendarActiveItemBackground","calendarActiveItemColor","calendarHoveredItemBackground","calendarHoveredItemColor","calendarSeparatorBackground","calendarRangeBackground","calendarOutlineFocusColor","calendarContentPrimaryColor","calendarContentSecondaryColor","calendarContentPrimaryDisabledColor","calendarContentSecondaryDisabledColor","calendarDisabledOpacity"],"mappings":";;;;AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,eAAe,EAAE,mBAAmB;AACpCC,EAAAA,iBAAiB,EAAE,qBAAqB;AACxCC,EAAAA,cAAc,EAAE,kBAAkB;AAClCC,EAAAA,mBAAmB,EAAE,uBAAuB;AAC5CC,EAAAA,2BAA2B,EAAE,gCAAA;AACjC,EAAC;AAEM,IAAMC,YAAY,GAAG;AACxBC,EAAAA,mBAAmB,EAAE,wCAAA;AACzB,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClBC,EAAAA,KAAK,EAAE,4BAA4B;AAEnC;AACAC,EAAAA,UAAU,EAAE,uCAAuC;AACnDC,EAAAA,eAAe,EAAE,6CAA6C;AAC9DC,EAAAA,iBAAiB,EAAE,+CAA+C;AAClEC,EAAAA,kBAAkB,EAAE,gDAAgD;AACpEC,EAAAA,YAAY,EAAE,0CAA0C;AACxDC,EAAAA,WAAW,EAAE,yCAAyC;AACtDC,EAAAA,WAAW,EAAE,yCAAyC;AACtDC,EAAAA,gBAAgB,EAAE,+CA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AAE,2DAA2D;AAC5FC,EAAAA,gBAAgB,EAAE,0CAA0C;AAC5DC,EAAAA,eAAe,EAAE,yCAAyC;AAC1DC,EAAAA,iBAAiB,EAAE,2CAA2C;AAC9DC,EAAAA,gBAAgB,EAAE,0CAA0C;AAC5DC,EAAAA,oBAAoB,EAAE,+CAA+C;AACrEC,EAAAA,uBAAuB,EAAE,iDAAiD;AAE1EC,EAAAA,8BAA8B,EAAE,yDAAyD;AACzFC,EAAAA,yBAAyB,EAAE,oDAAoD;AAC/EC,EAAAA,qCAAqC,EAAE,iEAAiE;AACxGC,EAAAA,8BAA8B,EAAE,0DAA0D;AAC1FC,EAAAA,8BAA8B,EAAE,0DAA0D;AAC1FC,EAAAA,kCAAkC,EAAE,8DAA8D;AAClGC,EAAAA,6BAA6B,EAAE,yDAAyD;AACxFC,EAAAA,uCAAuC,EAAE,oEAAoE;AAC7GC,EAAAA,4BAA4B,EAAE,uDAAuD;AACrFC,EAAAA,uBAAuB,EAAE,kDAAkD;AAC3EC,EAAAA,6BAA6B,EAAE,wDAAwD;AACvFC,EAAAA,wBAAwB,EAAE,mDAAmD;AAC7EC,EAAAA,2BAA2B,EAAE,qDAAqD;AAClFC,EAAAA,uBAAuB,EAAE,iDAAiD;AAC1EC,EAAAA,yBAAyB,EAAE,oDAAoD;AAC/EC,EAAAA,2BAA2B,EAAE,sDAAsD;AACnFC,EAAAA,6BAA6B,EAAE,wDAAwD;AACvFC,EAAAA,mCAAmC,EAAE,+DAA+D;AACpGC,EAAAA,qCAAqC,EAAE,iEAAiE;AACxGC,EAAAA,uBAAuB,EAAE,iDAAA;AAC7B;;;;;;"}
@@ -1,4 +1,4 @@
1
- require('./DatePickerBase.styles_10sa0ht.css');
1
+ require('./DatePickerBase.styles_1fnt3hc.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });