@salutejs/plasma-new-hope 0.330.0-canary.1655.16067292539.0 → 0.330.0-canary.1655.16168034594.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 (168) hide show
  1. package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
  2. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  3. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  4. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  5. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
  6. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  7. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_80gotw.css → Item.styles_1q0u1o1.css} +2 -2
  8. package/cjs/components/Combobox/ComboboxNew/ui/SelectAll/SelectAll.css +12 -12
  9. package/cjs/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.css +12 -12
  10. package/cjs/components/Drawer/Drawer.css +5 -5
  11. package/cjs/components/Modal/Modal.css +5 -5
  12. package/cjs/components/Modal/Modal.js +3 -8
  13. package/cjs/components/Modal/Modal.js.map +1 -1
  14. package/cjs/components/Modal/Modal.styles.js +1 -10
  15. package/cjs/components/Modal/Modal.styles.js.map +1 -1
  16. package/cjs/components/Notification/NotificationsProvider.css +5 -5
  17. package/cjs/components/NumberFormat/NumberFormat.js +44 -4
  18. package/cjs/components/NumberFormat/NumberFormat.js.map +1 -1
  19. package/cjs/components/Pagination/Pagination.css +10 -10
  20. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +10 -10
  21. package/cjs/components/Popup/Popup.js +17 -5
  22. package/cjs/components/Popup/Popup.js.map +1 -1
  23. package/cjs/components/Popup/Popup.styles.js +17 -17
  24. package/cjs/components/Popup/Popup.styles.js.map +1 -1
  25. package/{es/components/Popup/Popup.styles_sejy82.css → cjs/components/Popup/Popup.styles_1dvwxdu.css} +1 -1
  26. package/cjs/components/Popup/Popup.tokens.js +4 -1
  27. package/cjs/components/Popup/Popup.tokens.js.map +1 -1
  28. package/cjs/components/Popup/PopupContext.css +5 -5
  29. package/cjs/components/Select/Select.css +10 -10
  30. package/cjs/components/Select/Select.tokens.js +1 -0
  31. package/cjs/components/Select/Select.tokens.js.map +1 -1
  32. package/cjs/components/Select/ui/Inner/Inner.css +10 -10
  33. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +1 -1
  34. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  35. package/{es/components/Select/ui/Inner/ui/Item/Item.styles_1qpfn0s.css → cjs/components/Select/ui/Inner/ui/Item/Item.styles_1dlmiti.css} +2 -2
  36. package/cjs/components/Select/ui/SelectAll/SelectAll.css +10 -10
  37. package/cjs/components/Select/ui/VirtualList/VirtualList.css +10 -10
  38. package/cjs/components/Table/Table.css +10 -10
  39. package/cjs/components/Table/ui/Cell/Cell.css +10 -10
  40. package/cjs/components/Table/ui/EditableCell/EditableCell.css +10 -10
  41. package/cjs/components/Table/ui/HeadCell/HeadCell.css +10 -10
  42. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +10 -10
  43. package/cjs/components/TextField/TextField.js +32 -11
  44. package/cjs/components/TextField/TextField.js.map +1 -1
  45. package/cjs/index.css +25 -25
  46. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  47. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +26 -26
  48. package/emotion/cjs/components/Modal/Modal.js +4 -9
  49. package/emotion/cjs/components/Modal/Modal.styles.js +7 -10
  50. package/emotion/cjs/components/NumberFormat/NumberFormat.js +88 -5
  51. package/emotion/cjs/components/Popup/Popup.js +19 -5
  52. package/emotion/cjs/components/Popup/Popup.styles.js +11 -11
  53. package/emotion/cjs/components/Popup/Popup.tokens.js +4 -1
  54. package/emotion/cjs/components/Select/Select.tokens.js +1 -0
  55. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +22 -22
  56. package/emotion/cjs/components/TextField/TextField.js +36 -14
  57. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +15 -15
  58. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +24 -24
  59. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +15 -15
  60. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +24 -24
  61. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  62. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +26 -26
  63. package/emotion/es/components/Modal/Modal.js +4 -9
  64. package/emotion/es/components/Modal/Modal.styles.js +7 -10
  65. package/emotion/es/components/NumberFormat/NumberFormat.js +90 -7
  66. package/emotion/es/components/Popup/Popup.js +14 -6
  67. package/emotion/es/components/Popup/Popup.styles.js +11 -11
  68. package/emotion/es/components/Popup/Popup.tokens.js +4 -1
  69. package/emotion/es/components/Select/Select.tokens.js +1 -0
  70. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +22 -22
  71. package/emotion/es/components/TextField/TextField.js +36 -14
  72. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +15 -15
  73. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +24 -24
  74. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +15 -15
  75. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +24 -24
  76. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  77. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  78. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  79. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  80. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
  81. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  82. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_80gotw.css → Item.styles_1q0u1o1.css} +2 -2
  83. package/es/components/Combobox/ComboboxNew/ui/SelectAll/SelectAll.css +12 -12
  84. package/es/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.css +12 -12
  85. package/es/components/Drawer/Drawer.css +5 -5
  86. package/es/components/Modal/Modal.css +5 -5
  87. package/es/components/Modal/Modal.js +3 -8
  88. package/es/components/Modal/Modal.js.map +1 -1
  89. package/es/components/Modal/Modal.styles.js +1 -10
  90. package/es/components/Modal/Modal.styles.js.map +1 -1
  91. package/es/components/Notification/NotificationsProvider.css +5 -5
  92. package/es/components/NumberFormat/NumberFormat.js +47 -7
  93. package/es/components/NumberFormat/NumberFormat.js.map +1 -1
  94. package/es/components/Pagination/Pagination.css +10 -10
  95. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +10 -10
  96. package/es/components/Popup/Popup.js +16 -5
  97. package/es/components/Popup/Popup.js.map +1 -1
  98. package/es/components/Popup/Popup.styles.js +17 -17
  99. package/es/components/Popup/Popup.styles.js.map +1 -1
  100. package/{cjs/components/Popup/Popup.styles_sejy82.css → es/components/Popup/Popup.styles_1dvwxdu.css} +1 -1
  101. package/es/components/Popup/Popup.tokens.js +4 -1
  102. package/es/components/Popup/Popup.tokens.js.map +1 -1
  103. package/es/components/Popup/PopupContext.css +5 -5
  104. package/es/components/Select/Select.css +10 -10
  105. package/es/components/Select/Select.tokens.js +1 -0
  106. package/es/components/Select/Select.tokens.js.map +1 -1
  107. package/es/components/Select/ui/Inner/Inner.css +10 -10
  108. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +1 -1
  109. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  110. package/{cjs/components/Select/ui/Inner/ui/Item/Item.styles_1qpfn0s.css → es/components/Select/ui/Inner/ui/Item/Item.styles_1dlmiti.css} +2 -2
  111. package/es/components/Select/ui/SelectAll/SelectAll.css +10 -10
  112. package/es/components/Select/ui/VirtualList/VirtualList.css +10 -10
  113. package/es/components/Table/Table.css +10 -10
  114. package/es/components/Table/ui/Cell/Cell.css +10 -10
  115. package/es/components/Table/ui/EditableCell/EditableCell.css +10 -10
  116. package/es/components/Table/ui/HeadCell/HeadCell.css +10 -10
  117. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +10 -10
  118. package/es/components/TextField/TextField.js +32 -11
  119. package/es/components/TextField/TextField.js.map +1 -1
  120. package/es/index.css +25 -25
  121. package/package.json +2 -2
  122. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  123. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +15 -15
  124. package/styled-components/cjs/components/Modal/Modal.js +4 -9
  125. package/styled-components/cjs/components/Modal/Modal.styles.js +3 -3
  126. package/styled-components/cjs/components/NumberFormat/NumberFormat.js +88 -5
  127. package/styled-components/cjs/components/Popup/Popup.js +19 -5
  128. package/styled-components/cjs/components/Popup/Popup.styles.js +9 -7
  129. package/styled-components/cjs/components/Popup/Popup.tokens.js +4 -1
  130. package/styled-components/cjs/components/Select/Select.tokens.js +1 -0
  131. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +13 -13
  132. package/styled-components/cjs/components/TextField/TextField.js +35 -13
  133. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +32 -28
  134. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +74 -40
  135. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +32 -28
  136. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +74 -40
  137. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  138. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +15 -15
  139. package/styled-components/es/components/Modal/Modal.js +4 -9
  140. package/styled-components/es/components/Modal/Modal.styles.js +3 -3
  141. package/styled-components/es/components/NumberFormat/NumberFormat.js +90 -7
  142. package/styled-components/es/components/Popup/Popup.js +14 -6
  143. package/styled-components/es/components/Popup/Popup.styles.js +9 -7
  144. package/styled-components/es/components/Popup/Popup.tokens.js +4 -1
  145. package/styled-components/es/components/Select/Select.tokens.js +1 -0
  146. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +13 -13
  147. package/styled-components/es/components/TextField/TextField.js +35 -13
  148. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +32 -28
  149. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +74 -40
  150. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +32 -28
  151. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +74 -40
  152. package/types/components/Carousel/CarouselOld/Carousel.d.ts +2 -2
  153. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +1 -0
  154. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  155. package/types/components/Drawer/Drawer.d.ts +2 -2
  156. package/types/components/Modal/Modal.d.ts.map +1 -1
  157. package/types/components/Modal/Modal.styles.d.ts +1 -3
  158. package/types/components/Modal/Modal.styles.d.ts.map +1 -1
  159. package/types/components/NumberFormat/NumberFormat.d.ts.map +1 -1
  160. package/types/components/Popup/Popup.d.ts.map +1 -1
  161. package/types/components/Popup/Popup.styles.d.ts.map +1 -1
  162. package/types/components/Popup/Popup.tokens.d.ts +3 -0
  163. package/types/components/Popup/Popup.tokens.d.ts.map +1 -1
  164. package/types/components/Popup/Popup.types.d.ts +2 -8
  165. package/types/components/Popup/Popup.types.d.ts.map +1 -1
  166. package/types/components/Select/Select.tokens.d.ts +1 -0
  167. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  168. package/types/components/TextField/TextField.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.js","sources":["../../../src/components/TextField/TextField.tsx"],"sourcesContent":["import React, { forwardRef, useEffect, useRef, useState } from 'react';\nimport type { FormEventHandler, ChangeEventHandler, KeyboardEvent, ChangeEvent, MouseEventHandler } from 'react';\nimport { useForkRef } from '@salutejs/plasma-core';\nimport { css } from '@linaria/core';\nimport { cx, safeUseId } from 'src/utils';\nimport type { RootProps } from 'src/engines';\nimport { useOutsideClick } from 'src/hooks';\n\nimport type { ChipValues, TextFieldPrimitiveValue, TextFieldProps, TextFieldRootProps } from './TextField.types';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as clearCSS } from './variations/_clear/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as readOnlyCSS } from './variations/_read-only/base';\nimport { base as labelPlacementCSS } from './variations/_label-placement/base';\nimport { base as hintViewCSS } from './variations/_hint-view/base';\nimport { base as hintSizeCSS } from './variations/_hint-size/base';\nimport { base as chipViewCSS } from './variations/_chip-view/base';\nimport {\n Input,\n InputContainer,\n LeftHelper,\n Label,\n InputWrapper,\n InputLabelWrapper,\n StyledContentLeft,\n StyledContentRight,\n StyledChips,\n StyledTextBefore,\n StyledTextAfter,\n StyledIndicator,\n StyledOptionalText,\n InputPlaceholder,\n OuterLabelWrapper,\n TitleCaption,\n StyledHintWrapper,\n StyledIndicatorWrapper,\n StyledContentRightWrapper,\n} from './TextField.styles';\nimport { classes } from './TextField.tokens';\nimport { TextFieldChip } from './ui';\nimport { useKeyNavigation } from './hooks';\nimport { HintComponent } from './ui/Hint/Hint';\nimport { getInputWidth } from './getInputWidth';\n\nconst optionalText = 'optional';\n\nexport const base = css`\n /* NOTE: Webkit не применяет opacity к inline тегам */\n display: block;\n`;\n\nconst HINT_DEFAULT_OFFSET: [number, number] = [0, 0];\n\nexport const textFieldRoot = (Root: RootProps<HTMLDivElement, TextFieldRootProps>) =>\n forwardRef<HTMLInputElement, TextFieldProps>(\n (\n {\n id,\n className,\n style,\n\n // layout\n contentLeft,\n contentRight,\n label,\n labelPlacement,\n keepPlaceholder,\n textBefore,\n textAfter,\n placeholder,\n leftHelper,\n enumerationType = 'plain',\n requiredPlacement = 'right',\n hasRequiredIndicator = true,\n titleCaption,\n chipView = 'default',\n chipValidator,\n\n // hint\n hintTrigger = 'hover',\n hintText,\n hintView = 'default',\n hintSize = 'm',\n hintTargetIcon,\n hintTargetPlacement = 'outer',\n hintPlacement = 'auto',\n hintHasArrow,\n hintOffset = HINT_DEFAULT_OFFSET,\n hintWidth,\n hintContentLeft,\n\n // variations\n view,\n size,\n readOnly = false,\n disabled = false,\n required = false,\n clear = false,\n optional,\n hasDivider,\n\n // controlled\n value: outerValue,\n chips: values,\n chipType = 'default',\n\n // events\n onChange,\n onChangeChips,\n onSearch,\n onKeyDown,\n onFocus,\n onBlur,\n\n // Пропсы для внутреннего использования, не отдается наружу.\n // @ts-ignore\n _onEnterDisabled,\n // @ts-ignore\n _forceChipManipulationWithReadonly,\n\n ...rest\n },\n ref,\n ) => {\n const contentRef = useRef<HTMLDivElement>(null);\n const inputContainerRef = useRef<HTMLDivElement>(null);\n const inputRef = useRef<HTMLInputElement>(null);\n const inputForkRef = useForkRef(inputRef, ref);\n const chipsRefs = useRef<Array<HTMLButtonElement>>([]);\n\n const controlledRefs = { contentRef, inputRef, chipsRefs };\n\n const [hasValue, setHasValue] = useState(\n Boolean(outerValue) || Boolean(inputRef?.current?.value) || Boolean(rest?.defaultValue),\n );\n const [hasFocus, setHasFocus] = useState(false);\n\n const [chips, setChips] = useState<Array<ChipValues>>([]);\n const [isHintVisible, setIsHintVisible] = useState(false);\n\n const uniqId = safeUseId();\n const innerId = id || uniqId;\n const labelId = safeUseId();\n const helperTextId = safeUseId();\n\n const isDefaultView = view === 'default' || readOnly || disabled;\n\n const isChipEnumeration = enumerationType === 'chip';\n const isChipsVisible = isChipEnumeration && Boolean(chips?.length);\n const withHasChips = isChipsVisible ? classes.hasChips : undefined;\n\n const hasLabelValue = Boolean(label);\n const hasInnerLabel = size !== 'xs' && labelPlacement === 'inner' && !isChipsVisible && hasLabelValue;\n const hasOuterLabel = labelPlacement === 'outer' && hasLabelValue;\n const innerKeepPlaceholder = keepPlaceholder && labelPlacement === 'inner';\n const hasPlaceholder = Boolean(placeholder) && (innerKeepPlaceholder || !hasInnerLabel);\n let hasTextAfter = Boolean(textAfter);\n let hasTextBefore = textBefore && !isChipEnumeration;\n if (labelPlacement === 'inner') {\n if (!hasValue && !hasPlaceholder && !hasFocus) {\n hasTextAfter = false;\n hasTextBefore = false;\n }\n }\n\n const hasPlaceholderPadding = hasInnerLabel && keepPlaceholder && size !== 'xs';\n\n const innerLabelValue = hasInnerLabel || hasOuterLabel ? label : undefined;\n const innerLabelPlacementValue = labelPlacement === 'inner' && !hasInnerLabel ? undefined : labelPlacement;\n\n const innerPlaceholderValue = hasPlaceholder ? placeholder : undefined;\n const placeholderShown = Boolean(innerPlaceholderValue) && !hasValue;\n\n const clearClass = clear ? classes.clear : undefined;\n const hasDividerClass = hasDivider ? classes.hasDivider : undefined;\n const hasInnerHintClass = hintText && hintTargetPlacement === 'outer' ? classes.hasHint : undefined;\n const hasHintClass = hintText ? classes.hasHint : undefined;\n const requiredPlacementClass = requiredPlacement === 'right' ? classes.requiredAlignRight : undefined;\n const labelPlacementClass = innerLabelPlacementValue\n ? classes[`${innerLabelPlacementValue}LabelPlacement` as keyof typeof classes]\n : undefined;\n const hasValueClass = hasValue ? classes.hasValue : undefined;\n const keepPlaceholderClass = hasPlaceholder && placeholderShown && classes.keepPlaceholder;\n\n const wrapperWithoutLeftContent =\n !contentLeft && isChipsVisible && chipType === 'default' ? classes.hasEmptyContentLeft : undefined;\n const wrapperWithoutRightContent =\n !contentRight && isChipsVisible && chipType === 'default' ? classes.hasEmptyContentRight : undefined;\n\n const contentRightCompensationMargin =\n !hasOuterLabel && hintText && hintTargetPlacement === 'inner'\n ? classes.contentRightCompensationMargin\n : undefined;\n\n const hintRef = useOutsideClick<HTMLDivElement>(() => {\n setIsHintVisible(false);\n });\n const hintInnerRef = useRef<HTMLDivElement>(null);\n const hintForkRef = useForkRef(hintRef, hintInnerRef);\n\n const handleInput: FormEventHandler<HTMLInputElement> = (event) => {\n const { value } = event.target as HTMLInputElement;\n\n setHasValue(Boolean(value));\n };\n\n useEffect(() => {\n if (hasTextAfter && inputRef.current) {\n const textWidth = getInputWidth(inputRef.current, inputContainerRef.current);\n inputRef.current.style.width = `${textWidth}px`;\n } else {\n inputRef.current?.style.removeProperty('width');\n }\n }, [hasTextAfter]);\n\n const handleFocus = (event: React.FocusEvent<HTMLInputElement>) => {\n setHasFocus(true);\n onFocus?.(event);\n };\n\n const handleBlur = (event: React.FocusEvent<HTMLInputElement>) => {\n setHasFocus(false);\n onBlur?.(event);\n };\n\n const handleHintShow = () => setIsHintVisible(true);\n const handleHintHide = () => setIsHintVisible(false);\n const handleHintClick: MouseEventHandler = (event) => {\n if (!hintText || hintTrigger !== 'click') {\n return;\n }\n\n event.stopPropagation();\n const targetIsPopover = event.target === hintInnerRef.current;\n const rootHasTarget = hintInnerRef.current?.contains(event.target as Element);\n\n if (!targetIsPopover && !rootHasTarget) {\n setIsHintVisible(true);\n }\n };\n\n const handleChange: ChangeEventHandler<HTMLInputElement> = (event) => {\n if (disabled || readOnly) {\n return;\n }\n\n const { maxLength, value } = event.target;\n\n if (maxLength !== -1 && value.length > maxLength) {\n return;\n }\n\n onChange?.(event);\n\n if (hasTextAfter) {\n const textWidth = getInputWidth(event.currentTarget, inputContainerRef.current);\n event.currentTarget.style.width = `${textWidth}px`;\n }\n };\n\n const updateChips = (newChips: Array<ChipValues>, newValues: Array<TextFieldPrimitiveValue>) => {\n setChips(newChips);\n onChangeChips?.(newValues);\n };\n\n const { handleInputKeydown, handleChipKeyDown, onChipClear, handleContentKeyDown } = useKeyNavigation({\n controlledRefs,\n disabled,\n readOnly,\n chips,\n enumerationType,\n updateChips,\n onSearch,\n onChange,\n onEnterDisabled: _onEnterDisabled,\n });\n\n const onChipClick = (event: React.MouseEvent<HTMLButtonElement>) => event.stopPropagation();\n\n const handleInputFocus = () => {\n if (readOnly || disabled || !inputRef?.current) {\n return;\n }\n\n inputRef.current.scrollTo({\n top: 0,\n left: inputRef.current.offsetLeft,\n behavior: 'smooth',\n });\n\n inputRef.current.focus();\n };\n\n const getRef = (element: HTMLButtonElement | null, index: number) => {\n if (element && chipsRefs?.current) {\n chipsRefs.current[index] = element;\n }\n };\n\n const handleOnKeyDown = (event: ChangeEvent<HTMLInputElement> & KeyboardEvent<HTMLInputElement>) => {\n handleInputKeydown(event);\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n useEffect(() => {\n if (!isChipEnumeration && !values?.length) {\n return;\n }\n\n const newChips =\n values?.map((value, index) => ({\n id: `${index}_${value}`,\n text: value,\n })) || [];\n\n setChips(newChips);\n }, [isChipEnumeration, values]);\n\n useEffect(() => {\n setHasValue(Boolean(rest?.defaultValue));\n }, [rest.defaultValue]);\n\n useEffect(() => {\n setHasValue(Boolean(outerValue) || Boolean(inputRef?.current?.value));\n }, [outerValue, inputRef?.current?.value]);\n\n const innerOptional = Boolean(required ? false : optional);\n const hasPlaceholderOptional = innerOptional && !innerLabelValue && !hasOuterLabel;\n const optionalTextNode = innerOptional ? (\n <StyledOptionalText>\n {Boolean(hasPlaceholderOptional ? innerPlaceholderValue : innerLabelValue) && '\\xa0'}\n {optionalText}\n </StyledOptionalText>\n ) : null;\n\n const classTextEllipsis =\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-underscore-dangle\n !(rest as any)._textEllipsisDisable && !textAfter ? classes.inputTextEllipsis : undefined;\n\n return (\n <Root\n view={view}\n size={size}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n labelPlacement={innerLabelPlacementValue}\n onClick={handleInputFocus}\n data-root\n className={cx(\n labelPlacementClass,\n clearClass,\n hasDividerClass,\n hasInnerHintClass,\n classes.textFieldGroupItem,\n className,\n )}\n style={style}\n {...(hintText && { hintView, hintSize })}\n >\n {(hasOuterLabel || titleCaption) && (\n <OuterLabelWrapper isInnerLabel={labelPlacement === 'inner'}>\n {hasOuterLabel && (\n <StyledIndicatorWrapper>\n <Label id={labelId} htmlFor={id}>\n {innerLabelValue}\n </Label>\n\n {hintText && (\n <StyledHintWrapper>\n <HintComponent\n ref={hintForkRef}\n hintText={hintText}\n hintTrigger={hintTrigger}\n isHintVisible={isHintVisible}\n hintTargetIcon={hintTargetIcon}\n hintPlacement={hintPlacement}\n hintHasArrow={hintHasArrow}\n hintOffset={hintOffset}\n hintWidth={hintWidth}\n hintContentLeft={hintContentLeft}\n handleHintShow={handleHintShow}\n handleHintHide={handleHintHide}\n handleHintClick={handleHintClick}\n />\n </StyledHintWrapper>\n )}\n {required && hasRequiredIndicator && (\n <StyledIndicator\n className={cx(\n classes.outerLabelPlacement,\n requiredPlacementClass,\n hasHintClass,\n )}\n />\n )}\n {optionalTextNode}\n </StyledIndicatorWrapper>\n )}\n {titleCaption && <TitleCaption data-root>{titleCaption}</TitleCaption>}\n </OuterLabelWrapper>\n )}\n <InputWrapper\n // Ref для внутреннего использования. Не отдается наружу.\n ref={(rest as any).inputWrapperRef}\n // TODO: #1544, и после убрать classes.inputWrapper\n className={cx(\n withHasChips,\n wrapperWithoutLeftContent,\n wrapperWithoutRightContent,\n classes.inputWrapper,\n )}\n >\n {!hasOuterLabel && (\n <>\n {required && hasRequiredIndicator && (\n <StyledIndicator\n className={cx(classes.innerLabelPlacement, requiredPlacementClass)}\n />\n )}\n {hintText && hintTargetPlacement === 'outer' && (\n <StyledHintWrapper className={classes.innerLabelPlacement}>\n <HintComponent\n ref={hintForkRef}\n hintText={hintText}\n hintTrigger={hintTrigger}\n isHintVisible={isHintVisible}\n hintTargetIcon={hintTargetIcon}\n hintPlacement={hintPlacement}\n hintHasArrow={hintHasArrow}\n hintOffset={hintOffset}\n hintWidth={hintWidth}\n hintContentLeft={hintContentLeft}\n size={size}\n handleHintShow={handleHintShow}\n handleHintHide={handleHintHide}\n handleHintClick={handleHintClick}\n isInnerLabel\n />\n </StyledHintWrapper>\n )}\n </>\n )}\n {contentLeft && (\n <StyledContentLeft data-root isClear={clear} isDefaultView={isDefaultView}>\n {contentLeft}\n </StyledContentLeft>\n )}\n <InputLabelWrapper\n tabIndex={-1}\n ref={contentRef}\n onKeyDown={handleContentKeyDown}\n className={withHasChips}\n >\n {Boolean(textBefore && isChipEnumeration) && (\n <StyledTextBefore>{textBefore}</StyledTextBefore>\n )}\n {isChipEnumeration && Boolean(chips?.length) && (\n <StyledChips className={classes.chipsWrapper}>\n {chips?.map(({ id: chipId, text }, index) => {\n const validationView = chipValidator?.(String(text));\n const resView = validationView?.view || chipView;\n\n return (\n <TextFieldChip\n id={chipId}\n ref={(element) => getRef(element, index)}\n key={`${chipId}_${index}`}\n disabled={disabled}\n readOnly={readOnly}\n value={text}\n text={text}\n onKeyDown={(event) => handleChipKeyDown(event, chipId, index)}\n onClear={() => onChipClear(chipId, index)}\n onClick={onChipClick}\n chipType={chipType}\n view={resView}\n rootWrapper={Root}\n // TODO: #1547\n // @ts-ignore\n _forceChipManipulationWithReadonly={_forceChipManipulationWithReadonly}\n />\n );\n })}\n </StyledChips>\n )}\n <InputContainer ref={inputContainerRef} hasDynamicWidth={hasTextAfter}>\n {hasTextBefore && <StyledTextBefore>{textBefore}</StyledTextBefore>}\n <Input\n ref={inputForkRef}\n id={innerId}\n value={outerValue}\n required={enumerationType === 'chip' ? chips.length === 0 && required : required}\n aria-labelledby={labelId}\n aria-describedby={helperTextId}\n placeholder={innerPlaceholderValue}\n className={cx(\n hasValueClass,\n keepPlaceholderClass,\n classTextEllipsis,\n readOnly && classes.readOnlyInput,\n )}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n onInput={handleInput}\n onChange={handleChange}\n onKeyDown={handleOnKeyDown}\n onFocus={handleFocus}\n onBlur={handleBlur}\n data-tour\n {...rest}\n />\n {hasInnerLabel && (\n <Label data-root id={labelId} htmlFor={innerId}>\n {innerLabelValue}\n {optionalTextNode}\n </Label>\n )}\n {placeholderShown && !hasValue && (\n <InputPlaceholder hasPadding={hasPlaceholderPadding}>\n {hasTextBefore && <StyledTextBefore isHidden>{textBefore}</StyledTextBefore>}\n {innerPlaceholderValue}\n {hasPlaceholderOptional && optionalTextNode}\n </InputPlaceholder>\n )}\n {hasTextAfter && <StyledTextAfter>{textAfter}</StyledTextAfter>}\n </InputContainer>\n </InputLabelWrapper>\n <StyledContentRightWrapper className={cx(contentRightCompensationMargin)}>\n {contentRight && <StyledContentRight data-root>{contentRight}</StyledContentRight>}\n\n {!hasOuterLabel && hintText && hintTargetPlacement === 'inner' && (\n <HintComponent\n ref={hintForkRef}\n hintText={hintText}\n hintTrigger={hintTrigger}\n isHintVisible={isHintVisible}\n hintTargetIcon={hintTargetIcon}\n hintPlacement={hintPlacement}\n hintHasArrow={hintHasArrow}\n hintOffset={hintOffset}\n hintWidth={hintWidth}\n hintContentLeft={hintContentLeft}\n size={size}\n handleHintShow={handleHintShow}\n handleHintHide={handleHintHide}\n handleHintClick={handleHintClick}\n isInnerLabel\n />\n )}\n </StyledContentRightWrapper>\n </InputWrapper>\n {leftHelper && (\n <LeftHelper data-root id={helperTextId}>\n {leftHelper}\n </LeftHelper>\n )}\n </Root>\n );\n },\n );\n\nexport const textFieldConfig = {\n name: 'TextField',\n tag: 'div',\n layout: textFieldRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n clear: {\n css: clearCSS,\n attrs: true,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n readOnly: {\n css: readOnlyCSS,\n attrs: true,\n },\n labelPlacement: {\n css: labelPlacementCSS,\n },\n hintView: {\n css: hintViewCSS,\n },\n hintSize: {\n css: hintSizeCSS,\n },\n chipView: {\n css: chipViewCSS,\n },\n },\n defaults: {\n size: 'm',\n view: 'default',\n },\n};\n"],"names":["optionalText","base","HINT_DEFAULT_OFFSET","textFieldRoot","Root","forwardRef","_ref","ref","_inputRef$current","_inputRef$current4","id","className","style","contentLeft","contentRight","label","labelPlacement","keepPlaceholder","textBefore","textAfter","placeholder","leftHelper","_ref$enumerationType","enumerationType","_ref$requiredPlacemen","requiredPlacement","_ref$hasRequiredIndic","hasRequiredIndicator","titleCaption","_ref$chipView","chipView","chipValidator","_ref$hintTrigger","hintTrigger","hintText","_ref$hintView","hintView","_ref$hintSize","hintSize","hintTargetIcon","_ref$hintTargetPlacem","hintTargetPlacement","_ref$hintPlacement","hintPlacement","hintHasArrow","_ref$hintOffset","hintOffset","hintWidth","hintContentLeft","view","size","_ref$readOnly","readOnly","_ref$disabled","disabled","_ref$required","required","_ref$clear","clear","optional","hasDivider","outerValue","value","values","chips","_ref$chipType","chipType","onChange","onChangeChips","onSearch","onKeyDown","onFocus","onBlur","_onEnterDisabled","_forceChipManipulationWithReadonly","rest","contentRef","useRef","inputContainerRef","inputRef","inputForkRef","useForkRef","chipsRefs","controlledRefs","_useState","useState","Boolean","current","defaultValue","_useState2","_slicedToArray","hasValue","setHasValue","_useState3","_useState4","hasFocus","setHasFocus","_useState5","_useState6","setChips","_useState7","_useState8","isHintVisible","setIsHintVisible","uniqId","safeUseId","innerId","labelId","helperTextId","isDefaultView","isChipEnumeration","isChipsVisible","length","withHasChips","classes","hasChips","undefined","hasLabelValue","hasInnerLabel","hasOuterLabel","innerKeepPlaceholder","hasPlaceholder","hasTextAfter","hasTextBefore","hasPlaceholderPadding","innerLabelValue","innerLabelPlacementValue","innerPlaceholderValue","placeholderShown","clearClass","hasDividerClass","hasInnerHintClass","hasHint","hasHintClass","requiredPlacementClass","requiredAlignRight","labelPlacementClass","concat","hasValueClass","keepPlaceholderClass","wrapperWithoutLeftContent","hasEmptyContentLeft","wrapperWithoutRightContent","hasEmptyContentRight","contentRightCompensationMargin","hintRef","useOutsideClick","hintInnerRef","hintForkRef","handleInput","event","_ref2","target","useEffect","textWidth","getInputWidth","width","_inputRef$current2","removeProperty","handleFocus","handleBlur","handleHintShow","handleHintHide","handleHintClick","_hintInnerRef$current","stopPropagation","targetIsPopover","rootHasTarget","contains","handleChange","_event$target","maxLength","currentTarget","updateChips","newChips","newValues","_useKeyNavigation","useKeyNavigation","onEnterDisabled","handleInputKeydown","handleChipKeyDown","onChipClear","handleContentKeyDown","onChipClick","handleInputFocus","scrollTo","top","left","offsetLeft","behavior","focus","getRef","element","index","handleOnKeyDown","map","text","_inputRef$current3","innerOptional","hasPlaceholderOptional","optionalTextNode","React","createElement","StyledOptionalText","classTextEllipsis","_textEllipsisDisable","inputTextEllipsis","_extends","onClick","cx","textFieldGroupItem","OuterLabelWrapper","isInnerLabel","StyledIndicatorWrapper","Label","htmlFor","StyledHintWrapper","HintComponent","StyledIndicator","outerLabelPlacement","TitleCaption","InputWrapper","inputWrapperRef","inputWrapper","Fragment","innerLabelPlacement","StyledContentLeft","isClear","InputLabelWrapper","tabIndex","StyledTextBefore","StyledChips","chipsWrapper","_ref3","chipId","validationView","String","resView","TextFieldChip","key","onClear","rootWrapper","InputContainer","hasDynamicWidth","Input","readOnlyInput","onInput","InputPlaceholder","hasPadding","isHidden","StyledTextAfter","StyledContentRightWrapper","StyledContentRight","LeftHelper","textFieldConfig","name","tag","layout","variations","css","viewCSS","sizeCSS","clearCSS","attrs","disabledCSS","readOnlyCSS","labelPlacementCSS","hintViewCSS","hintSizeCSS","chipViewCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA6CA,IAAMA,YAAY,GAAG,UAAU,CAAA;AAExB,IAAMC,IAAI,GAGhB,UAAA;AAED,IAAMC,mBAAqC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IAEvCC,aAAa,GAAGA,SAAhBA,aAAaA,CAAIC,IAAmD,EAAA;AAAA,EAAA,oBAC7EC,UAAU,CACN,UAAAC,IAAA,EAmEIC,GAAG,EACF;IAAA,IAAAC,iBAAA,EAAAC,kBAAA,CAAA;AAAA,IAAA,IAlEGC,EAAE,GAAAJ,IAAA,CAAFI,EAAE;M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AG;AAC3BC,EAAAA,IAAI,EAAE,WAAW;AACjBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAE9P,aAAa;AACrBF,EAAAA,IAAI,EAAJA,IAAI;AACJiQ,EAAAA,UAAU,EAAE;AACRjN,IAAAA,IAAI,EAAE;AACFkN,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDlN,IAAAA,IAAI,EAAE;AACFiN,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACD3M,IAAAA,KAAK,EAAE;AACHyM,MAAAA,GAAG,EAAEG,MAAQ;AACbC,MAAAA,KAAK,EAAE,IAAA;KACV;AACDjN,IAAAA,QAAQ,EAAE;AACN6M,MAAAA,GAAG,EAAEK,MAAW;AAChBD,MAAAA,KAAK,EAAE,IAAA;KACV;AACDnN,IAAAA,QAAQ,EAAE;AACN+M,MAAAA,GAAG,EAAEM,MAAW;AAChBF,MAAAA,KAAK,EAAE,IAAA;KACV;AACDvP,IAAAA,cAAc,EAAE;AACZmP,MAAAA,GAAG,EAAEO,MAAAA;KACR;AACDtO,IAAAA,QAAQ,EAAE;AACN+N,MAAAA,GAAG,EAAEQ,MAAAA;KACR;AACDrO,IAAAA,QAAQ,EAAE;AACN6N,MAAAA,GAAG,EAAES,MAAAA;KACR;AACD9O,IAAAA,QAAQ,EAAE;AACNqO,MAAAA,GAAG,EAAEU,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACN5N,IAAAA,IAAI,EAAE,GAAG;AACTD,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"TextField.js","sources":["../../../src/components/TextField/TextField.tsx"],"sourcesContent":["import React, { forwardRef, useEffect, useRef, useState } from 'react';\nimport type {\n FormEventHandler,\n ChangeEventHandler,\n KeyboardEvent,\n ChangeEvent,\n MouseEventHandler,\n ClipboardEventHandler,\n} from 'react';\nimport { useForkRef } from '@salutejs/plasma-core';\nimport { css } from '@linaria/core';\nimport { cx, safeUseId } from 'src/utils';\nimport type { RootProps } from 'src/engines';\nimport { useOutsideClick } from 'src/hooks';\n\nimport type { ChipValues, TextFieldPrimitiveValue, TextFieldProps, TextFieldRootProps } from './TextField.types';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as clearCSS } from './variations/_clear/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as readOnlyCSS } from './variations/_read-only/base';\nimport { base as labelPlacementCSS } from './variations/_label-placement/base';\nimport { base as hintViewCSS } from './variations/_hint-view/base';\nimport { base as hintSizeCSS } from './variations/_hint-size/base';\nimport { base as chipViewCSS } from './variations/_chip-view/base';\nimport {\n Input,\n InputContainer,\n LeftHelper,\n Label,\n InputWrapper,\n InputLabelWrapper,\n StyledContentLeft,\n StyledContentRight,\n StyledChips,\n StyledTextBefore,\n StyledTextAfter,\n StyledIndicator,\n StyledOptionalText,\n InputPlaceholder,\n OuterLabelWrapper,\n TitleCaption,\n StyledHintWrapper,\n StyledIndicatorWrapper,\n StyledContentRightWrapper,\n} from './TextField.styles';\nimport { classes } from './TextField.tokens';\nimport { TextFieldChip } from './ui';\nimport { useKeyNavigation } from './hooks';\nimport { HintComponent } from './ui/Hint/Hint';\nimport { getInputWidth } from './getInputWidth';\n\nconst optionalText = 'optional';\n\nexport const base = css`\n /* NOTE: Webkit не применяет opacity к inline тегам */\n display: block;\n`;\n\nconst HINT_DEFAULT_OFFSET: [number, number] = [0, 0];\n\nexport const textFieldRoot = (Root: RootProps<HTMLDivElement, TextFieldRootProps>) =>\n forwardRef<HTMLInputElement, TextFieldProps>(\n (\n {\n id,\n className,\n style,\n\n // layout\n contentLeft,\n contentRight,\n label,\n labelPlacement,\n keepPlaceholder,\n textBefore,\n textAfter,\n placeholder,\n leftHelper,\n enumerationType = 'plain',\n requiredPlacement = 'right',\n hasRequiredIndicator = true,\n titleCaption,\n chipView = 'default',\n chipValidator,\n\n // hint\n hintTrigger = 'hover',\n hintText,\n hintView = 'default',\n hintSize = 'm',\n hintTargetIcon,\n hintTargetPlacement = 'outer',\n hintPlacement = 'auto',\n hintHasArrow,\n hintOffset = HINT_DEFAULT_OFFSET,\n hintWidth,\n hintContentLeft,\n\n // variations\n view,\n size,\n readOnly = false,\n disabled = false,\n required = false,\n clear = false,\n optional,\n hasDivider,\n\n // controlled\n value: outerValue,\n chips: values,\n chipType = 'default',\n\n // events\n onChange,\n onChangeChips,\n onSearch,\n onKeyDown,\n onFocus,\n onBlur,\n onPaste,\n\n // Пропсы для внутреннего использования, не отдается наружу.\n // @ts-ignore\n _onEnterDisabled,\n // @ts-ignore\n _forceChipManipulationWithReadonly,\n\n ...rest\n },\n ref,\n ) => {\n const contentRef = useRef<HTMLDivElement>(null);\n const inputContainerRef = useRef<HTMLDivElement>(null);\n const inputRef = useRef<HTMLInputElement>(null);\n const inputForkRef = useForkRef(inputRef, ref);\n const chipsRefs = useRef<Array<HTMLButtonElement>>([]);\n\n const controlledRefs = { contentRef, inputRef, chipsRefs };\n\n const [hasValue, setHasValue] = useState(\n Boolean(outerValue) || Boolean(inputRef?.current?.value) || Boolean(rest?.defaultValue),\n );\n const [hasFocus, setHasFocus] = useState(false);\n\n const [chips, setChips] = useState<Array<ChipValues>>([]);\n const [isHintVisible, setIsHintVisible] = useState(false);\n\n const uniqId = safeUseId();\n const innerId = id || uniqId;\n const labelId = safeUseId();\n const helperTextId = safeUseId();\n\n const isDefaultView = view === 'default' || readOnly || disabled;\n\n const isChipEnumeration = enumerationType === 'chip';\n const isChipsVisible = isChipEnumeration && Boolean(chips?.length);\n const withHasChips = isChipsVisible ? classes.hasChips : undefined;\n\n const hasLabelValue = Boolean(label);\n const hasInnerLabel = size !== 'xs' && labelPlacement === 'inner' && !isChipsVisible && hasLabelValue;\n const hasOuterLabel = labelPlacement === 'outer' && hasLabelValue;\n const innerKeepPlaceholder = keepPlaceholder && labelPlacement === 'inner';\n const hasPlaceholder = Boolean(placeholder) && (innerKeepPlaceholder || !hasInnerLabel);\n let hasTextAfter = Boolean(textAfter);\n let hasTextBefore = textBefore && !isChipEnumeration;\n if (labelPlacement === 'inner') {\n if (!hasValue && !hasPlaceholder && !hasFocus) {\n hasTextAfter = false;\n hasTextBefore = false;\n }\n }\n\n const hasPlaceholderPadding = hasInnerLabel && keepPlaceholder && size !== 'xs';\n\n const innerLabelValue = hasInnerLabel || hasOuterLabel ? label : undefined;\n const innerLabelPlacementValue = labelPlacement === 'inner' && !hasInnerLabel ? undefined : labelPlacement;\n\n const innerPlaceholderValue = hasPlaceholder ? placeholder : undefined;\n const placeholderShown = Boolean(innerPlaceholderValue) && !hasValue;\n\n const clearClass = clear ? classes.clear : undefined;\n const hasDividerClass = hasDivider ? classes.hasDivider : undefined;\n const hasInnerHintClass = hintText && hintTargetPlacement === 'outer' ? classes.hasHint : undefined;\n const hasHintClass = hintText ? classes.hasHint : undefined;\n const requiredPlacementClass = requiredPlacement === 'right' ? classes.requiredAlignRight : undefined;\n const labelPlacementClass = innerLabelPlacementValue\n ? classes[`${innerLabelPlacementValue}LabelPlacement` as keyof typeof classes]\n : undefined;\n const hasValueClass = hasValue ? classes.hasValue : undefined;\n const keepPlaceholderClass = hasPlaceholder && placeholderShown && classes.keepPlaceholder;\n\n const wrapperWithoutLeftContent =\n !contentLeft && isChipsVisible && chipType === 'default' ? classes.hasEmptyContentLeft : undefined;\n const wrapperWithoutRightContent =\n !contentRight && isChipsVisible && chipType === 'default' ? classes.hasEmptyContentRight : undefined;\n\n const contentRightCompensationMargin =\n !hasOuterLabel && hintText && hintTargetPlacement === 'inner'\n ? classes.contentRightCompensationMargin\n : undefined;\n\n const hintRef = useOutsideClick<HTMLDivElement>(() => {\n setIsHintVisible(false);\n });\n const hintInnerRef = useRef<HTMLDivElement>(null);\n const hintForkRef = useForkRef(hintRef, hintInnerRef);\n\n const handleInput: FormEventHandler<HTMLInputElement> = (event) => {\n const { value } = event.target as HTMLInputElement;\n\n setHasValue(Boolean(value));\n };\n\n const handleFocus = (event: React.FocusEvent<HTMLInputElement>) => {\n setHasFocus(true);\n onFocus?.(event);\n };\n\n const handleBlur = (event: React.FocusEvent<HTMLInputElement>) => {\n setHasFocus(false);\n onBlur?.(event);\n };\n\n const handleHintShow = () => setIsHintVisible(true);\n const handleHintHide = () => setIsHintVisible(false);\n const handleHintClick: MouseEventHandler = (event) => {\n if (!hintText || hintTrigger !== 'click') {\n return;\n }\n\n event.stopPropagation();\n const targetIsPopover = event.target === hintInnerRef.current;\n const rootHasTarget = hintInnerRef.current?.contains(event.target as Element);\n\n if (!targetIsPopover && !rootHasTarget) {\n setIsHintVisible(true);\n }\n };\n\n const handleChange: ChangeEventHandler<HTMLInputElement> = (event) => {\n if (disabled || readOnly) {\n return;\n }\n\n const { maxLength, value } = event.target;\n\n if (maxLength !== -1 && value.length > maxLength) {\n return;\n }\n\n if (onChange) {\n onChange(event);\n }\n\n if (hasTextAfter) {\n const textWidth = getInputWidth(event.currentTarget, inputContainerRef.current);\n event.currentTarget.style.width = `${textWidth}px`;\n }\n };\n\n const handlePaste: ClipboardEventHandler<HTMLInputElement> = (event) => {\n if (disabled || readOnly) {\n return;\n }\n\n if (onPaste) {\n onPaste(event);\n }\n\n if (hasTextAfter) {\n setTimeout(() => {\n if (!inputRef.current) {\n return;\n }\n\n const textWidth = getInputWidth(inputRef.current, inputContainerRef.current);\n inputRef.current.style.width = `${textWidth}px`;\n });\n }\n };\n\n const updateChips = (newChips: Array<ChipValues>, newValues: Array<TextFieldPrimitiveValue>) => {\n setChips(newChips);\n onChangeChips?.(newValues);\n };\n\n const { handleInputKeydown, handleChipKeyDown, onChipClear, handleContentKeyDown } = useKeyNavigation({\n controlledRefs,\n disabled,\n readOnly,\n chips,\n enumerationType,\n updateChips,\n onSearch,\n onChange,\n onEnterDisabled: _onEnterDisabled,\n });\n\n const onChipClick = (event: React.MouseEvent<HTMLButtonElement>) => event.stopPropagation();\n\n const handleInputFocus = () => {\n if (readOnly || disabled || !inputRef?.current) {\n return;\n }\n\n inputRef.current.scrollTo({\n top: 0,\n left: inputRef.current.offsetLeft,\n behavior: 'smooth',\n });\n\n inputRef.current.focus();\n };\n\n const getRef = (element: HTMLButtonElement | null, index: number) => {\n if (element && chipsRefs?.current) {\n chipsRefs.current[index] = element;\n }\n };\n\n const handleOnKeyDown = (event: ChangeEvent<HTMLInputElement> & KeyboardEvent<HTMLInputElement>) => {\n handleInputKeydown(event);\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n useEffect(() => {\n if (hasTextAfter && inputRef.current) {\n const textWidth = getInputWidth(inputRef.current, inputContainerRef.current);\n inputRef.current.style.width = `${textWidth}px`;\n } else {\n inputRef.current?.style.removeProperty('width');\n }\n }, [hasTextAfter, outerValue]);\n\n useEffect(() => {\n if (!isChipEnumeration && !values?.length) {\n return;\n }\n\n const newChips =\n values?.map((value, index) => ({\n id: `${index}_${value}`,\n text: value,\n })) || [];\n\n setChips(newChips);\n }, [isChipEnumeration, values]);\n\n useEffect(() => {\n setHasValue(Boolean(rest?.defaultValue));\n }, [rest.defaultValue]);\n\n useEffect(() => {\n setHasValue(Boolean(outerValue) || Boolean(inputRef?.current?.value));\n }, [outerValue, inputRef?.current?.value]);\n\n const innerOptional = Boolean(required ? false : optional);\n const hasPlaceholderOptional = innerOptional && !innerLabelValue && !hasOuterLabel;\n const optionalTextNode = innerOptional ? (\n <StyledOptionalText>\n {Boolean(hasPlaceholderOptional ? innerPlaceholderValue : innerLabelValue) && '\\xa0'}\n {optionalText}\n </StyledOptionalText>\n ) : null;\n\n const classTextEllipsis =\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line no-underscore-dangle\n !(rest as any)._textEllipsisDisable && !textAfter ? classes.inputTextEllipsis : undefined;\n\n return (\n <Root\n view={view}\n size={size}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n labelPlacement={innerLabelPlacementValue}\n onClick={handleInputFocus}\n data-root\n className={cx(\n labelPlacementClass,\n clearClass,\n hasDividerClass,\n hasInnerHintClass,\n classes.textFieldGroupItem,\n className,\n )}\n style={style}\n {...(hintText && { hintView, hintSize })}\n >\n {(hasOuterLabel || titleCaption) && (\n <OuterLabelWrapper isInnerLabel={labelPlacement === 'inner'}>\n {hasOuterLabel && (\n <StyledIndicatorWrapper>\n <Label id={labelId} htmlFor={id}>\n {innerLabelValue}\n </Label>\n\n {hintText && (\n <StyledHintWrapper>\n <HintComponent\n ref={hintForkRef}\n hintText={hintText}\n hintTrigger={hintTrigger}\n isHintVisible={isHintVisible}\n hintTargetIcon={hintTargetIcon}\n hintPlacement={hintPlacement}\n hintHasArrow={hintHasArrow}\n hintOffset={hintOffset}\n hintWidth={hintWidth}\n hintContentLeft={hintContentLeft}\n handleHintShow={handleHintShow}\n handleHintHide={handleHintHide}\n handleHintClick={handleHintClick}\n />\n </StyledHintWrapper>\n )}\n {required && hasRequiredIndicator && (\n <StyledIndicator\n className={cx(\n classes.outerLabelPlacement,\n requiredPlacementClass,\n hasHintClass,\n )}\n />\n )}\n {optionalTextNode}\n </StyledIndicatorWrapper>\n )}\n {titleCaption && <TitleCaption data-root>{titleCaption}</TitleCaption>}\n </OuterLabelWrapper>\n )}\n <InputWrapper\n // Ref для внутреннего использования. Не отдается наружу.\n ref={(rest as any).inputWrapperRef}\n // TODO: #1544, и после убрать classes.inputWrapper\n className={cx(\n withHasChips,\n wrapperWithoutLeftContent,\n wrapperWithoutRightContent,\n classes.inputWrapper,\n )}\n >\n {!hasOuterLabel && (\n <>\n {required && hasRequiredIndicator && (\n <StyledIndicator\n className={cx(classes.innerLabelPlacement, requiredPlacementClass)}\n />\n )}\n {hintText && hintTargetPlacement === 'outer' && (\n <StyledHintWrapper className={classes.innerLabelPlacement}>\n <HintComponent\n ref={hintForkRef}\n hintText={hintText}\n hintTrigger={hintTrigger}\n isHintVisible={isHintVisible}\n hintTargetIcon={hintTargetIcon}\n hintPlacement={hintPlacement}\n hintHasArrow={hintHasArrow}\n hintOffset={hintOffset}\n hintWidth={hintWidth}\n hintContentLeft={hintContentLeft}\n size={size}\n handleHintShow={handleHintShow}\n handleHintHide={handleHintHide}\n handleHintClick={handleHintClick}\n isInnerLabel\n />\n </StyledHintWrapper>\n )}\n </>\n )}\n {contentLeft && (\n <StyledContentLeft data-root isClear={clear} isDefaultView={isDefaultView}>\n {contentLeft}\n </StyledContentLeft>\n )}\n <InputLabelWrapper\n tabIndex={-1}\n ref={contentRef}\n onKeyDown={handleContentKeyDown}\n className={withHasChips}\n >\n {Boolean(textBefore && isChipEnumeration) && (\n <StyledTextBefore>{textBefore}</StyledTextBefore>\n )}\n {isChipEnumeration && Boolean(chips?.length) && (\n <StyledChips className={classes.chipsWrapper}>\n {chips?.map(({ id: chipId, text }, index) => {\n const validationView = chipValidator?.(String(text));\n const resView = validationView?.view || chipView;\n\n return (\n <TextFieldChip\n id={chipId}\n ref={(element) => getRef(element, index)}\n key={`${chipId}_${index}`}\n disabled={disabled}\n readOnly={readOnly}\n value={text}\n text={text}\n onKeyDown={(event) => handleChipKeyDown(event, chipId, index)}\n onClear={() => onChipClear(chipId, index)}\n onClick={onChipClick}\n chipType={chipType}\n view={resView}\n rootWrapper={Root}\n // TODO: #1547\n // @ts-ignore\n _forceChipManipulationWithReadonly={_forceChipManipulationWithReadonly}\n />\n );\n })}\n </StyledChips>\n )}\n <InputContainer ref={inputContainerRef} hasDynamicWidth={hasTextAfter}>\n {hasTextBefore && <StyledTextBefore>{textBefore}</StyledTextBefore>}\n <Input\n ref={inputForkRef}\n id={innerId}\n value={outerValue}\n required={enumerationType === 'chip' ? chips.length === 0 && required : required}\n aria-labelledby={labelId}\n aria-describedby={helperTextId}\n placeholder={innerPlaceholderValue}\n className={cx(\n hasValueClass,\n keepPlaceholderClass,\n classTextEllipsis,\n readOnly && classes.readOnlyInput,\n )}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n onInput={handleInput}\n onChange={handleChange}\n onKeyDown={handleOnKeyDown}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onPaste={handlePaste}\n data-tour\n {...rest}\n />\n {hasInnerLabel && (\n <Label data-root id={labelId} htmlFor={innerId}>\n {innerLabelValue}\n {optionalTextNode}\n </Label>\n )}\n {placeholderShown && !hasValue && (\n <InputPlaceholder hasPadding={hasPlaceholderPadding}>\n {hasTextBefore && <StyledTextBefore isHidden>{textBefore}</StyledTextBefore>}\n {innerPlaceholderValue}\n {hasPlaceholderOptional && optionalTextNode}\n </InputPlaceholder>\n )}\n {hasTextAfter && <StyledTextAfter>{textAfter}</StyledTextAfter>}\n </InputContainer>\n </InputLabelWrapper>\n <StyledContentRightWrapper className={cx(contentRightCompensationMargin)}>\n {contentRight && <StyledContentRight data-root>{contentRight}</StyledContentRight>}\n\n {!hasOuterLabel && hintText && hintTargetPlacement === 'inner' && (\n <HintComponent\n ref={hintForkRef}\n hintText={hintText}\n hintTrigger={hintTrigger}\n isHintVisible={isHintVisible}\n hintTargetIcon={hintTargetIcon}\n hintPlacement={hintPlacement}\n hintHasArrow={hintHasArrow}\n hintOffset={hintOffset}\n hintWidth={hintWidth}\n hintContentLeft={hintContentLeft}\n size={size}\n handleHintShow={handleHintShow}\n handleHintHide={handleHintHide}\n handleHintClick={handleHintClick}\n isInnerLabel\n />\n )}\n </StyledContentRightWrapper>\n </InputWrapper>\n {leftHelper && (\n <LeftHelper data-root id={helperTextId}>\n {leftHelper}\n </LeftHelper>\n )}\n </Root>\n );\n },\n );\n\nexport const textFieldConfig = {\n name: 'TextField',\n tag: 'div',\n layout: textFieldRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n clear: {\n css: clearCSS,\n attrs: true,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n readOnly: {\n css: readOnlyCSS,\n attrs: true,\n },\n labelPlacement: {\n css: labelPlacementCSS,\n },\n hintView: {\n css: hintViewCSS,\n },\n hintSize: {\n css: hintSizeCSS,\n },\n chipView: {\n css: chipViewCSS,\n },\n },\n defaults: {\n size: 'm',\n view: 'default',\n },\n};\n"],"names":["optionalText","base","HINT_DEFAULT_OFFSET","textFieldRoot","Root","forwardRef","_ref","ref","_inputRef$current","_inputRef$current4","id","className","style","contentLeft","contentRight","label","labelPlacement","keepPlaceholder","textBefore","textAfter","placeholder","leftHelper","_ref$enumerationType","enumerationType","_ref$requiredPlacemen","requiredPlacement","_ref$hasRequiredIndic","hasRequiredIndicator","titleCaption","_ref$chipView","chipView","chipValidator","_ref$hintTrigger","hintTrigger","hintText","_ref$hintView","hintView","_ref$hintSize","hintSize","hintTargetIcon","_ref$hintTargetPlacem","hintTargetPlacement","_ref$hintPlacement","hintPlacement","hintHasArrow","_ref$hintOffset","hintOffset","hintWidth","hintContentLeft","view","size","_ref$readOnly","readOnly","_ref$disabled","disabled","_ref$required","required","_ref$clear","clear","optional","hasDivider","outerValue","value","values","chips","_ref$chipType","chipType","onChange","onChangeChips","onSearch","onKeyDown","onFocus","onBlur","onPaste","_onEnterDisabled","_forceChipManipulationWithReadonly","rest","contentRef","useRef","inputContainerRef","inputRef","inputForkRef","useForkRef","chipsRefs","controlledRefs","_useState","useState","Boolean","current","defaultValue","_useState2","_slicedToArray","hasValue","setHasValue","_useState3","_useState4","hasFocus","setHasFocus","_useState5","_useState6","setChips","_useState7","_useState8","isHintVisible","setIsHintVisible","uniqId","safeUseId","innerId","labelId","helperTextId","isDefaultView","isChipEnumeration","isChipsVisible","length","withHasChips","classes","hasChips","undefined","hasLabelValue","hasInnerLabel","hasOuterLabel","innerKeepPlaceholder","hasPlaceholder","hasTextAfter","hasTextBefore","hasPlaceholderPadding","innerLabelValue","innerLabelPlacementValue","innerPlaceholderValue","placeholderShown","clearClass","hasDividerClass","hasInnerHintClass","hasHint","hasHintClass","requiredPlacementClass","requiredAlignRight","labelPlacementClass","concat","hasValueClass","keepPlaceholderClass","wrapperWithoutLeftContent","hasEmptyContentLeft","wrapperWithoutRightContent","hasEmptyContentRight","contentRightCompensationMargin","hintRef","useOutsideClick","hintInnerRef","hintForkRef","handleInput","event","_ref2","target","handleFocus","handleBlur","handleHintShow","handleHintHide","handleHintClick","_hintInnerRef$current","stopPropagation","targetIsPopover","rootHasTarget","contains","handleChange","_event$target","maxLength","textWidth","getInputWidth","currentTarget","width","handlePaste","setTimeout","updateChips","newChips","newValues","_useKeyNavigation","useKeyNavigation","onEnterDisabled","handleInputKeydown","handleChipKeyDown","onChipClear","handleContentKeyDown","onChipClick","handleInputFocus","scrollTo","top","left","offsetLeft","behavior","focus","getRef","element","index","handleOnKeyDown","useEffect","_inputRef$current2","removeProperty","map","text","_inputRef$current3","innerOptional","hasPlaceholderOptional","optionalTextNode","React","createElement","StyledOptionalText","classTextEllipsis","_textEllipsisDisable","inputTextEllipsis","_extends","onClick","cx","textFieldGroupItem","OuterLabelWrapper","isInnerLabel","StyledIndicatorWrapper","Label","htmlFor","StyledHintWrapper","HintComponent","StyledIndicator","outerLabelPlacement","TitleCaption","InputWrapper","inputWrapperRef","inputWrapper","Fragment","innerLabelPlacement","StyledContentLeft","isClear","InputLabelWrapper","tabIndex","StyledTextBefore","StyledChips","chipsWrapper","_ref3","chipId","validationView","String","resView","TextFieldChip","key","onClear","rootWrapper","InputContainer","hasDynamicWidth","Input","readOnlyInput","onInput","InputPlaceholder","hasPadding","isHidden","StyledTextAfter","StyledContentRightWrapper","StyledContentRight","LeftHelper","textFieldConfig","name","tag","layout","variations","css","viewCSS","sizeCSS","clearCSS","attrs","disabledCSS","readOnlyCSS","labelPlacementCSS","hintViewCSS","hintSizeCSS","chipViewCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAoDA,IAAMA,YAAY,GAAG,UAAU,CAAA;AAExB,IAAMC,IAAI,GAGhB,UAAA;AAED,IAAMC,mBAAqC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IAEvCC,aAAa,GAAGA,SAAhBA,aAAaA,CAAIC,IAAmD,EAAA;AAAA,EAAA,oBAC7EC,UAAU,CACN,UAAAC,IAAA,EAoEIC,G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,EAAE;AACNgN,MAAAA,GAAG,EAAEK,MAAW;AAChBD,MAAAA,KAAK,EAAE,IAAA;KACV;AACDtN,IAAAA,QAAQ,EAAE;AACNkN,MAAAA,GAAG,EAAEM,MAAW;AAChBF,MAAAA,KAAK,EAAE,IAAA;KACV;AACD1P,IAAAA,cAAc,EAAE;AACZsP,MAAAA,GAAG,EAAEO,MAAAA;KACR;AACDzO,IAAAA,QAAQ,EAAE;AACNkO,MAAAA,GAAG,EAAEQ,MAAAA;KACR;AACDxO,IAAAA,QAAQ,EAAE;AACNgO,MAAAA,GAAG,EAAES,MAAAA;KACR;AACDjP,IAAAA,QAAQ,EAAE;AACNwO,MAAAA,GAAG,EAAEU,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACN/N,IAAAA,IAAI,EAAE,GAAG;AACTD,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;"}
package/es/index.css CHANGED
@@ -345,12 +345,12 @@
345
345
 
346
346
  .Subtitle_styles_g6d0r2_b810c19__dce1fd86{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}.Subtitle_styles_g6d0r2_b810c19__dce1fd86.Subtitle_styles_g6d0r2_withNoWrap__dce1fd86{white-space:nowrap;}
347
347
 
348
+ .Popup_styles_1dvwxdu_bvkpf6n__17d6e35c .Popup_styles_1dvwxdu_draggablePopupWrapper__17d6e35c{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab;}.Popup_styles_1dvwxdu_bvkpf6n__17d6e35c .Popup_styles_1dvwxdu_draggingPopupWrapper__17d6e35c{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing;}
348
349
 
349
-
350
- .Popup_styles_sejy82_s5u7tqa__dfce5444{width:0;}
351
- .Popup_styles_sejy82_p1f40oul__dfce5444{position:relative;max-width:100%;pointer-events:all;}
352
- .Popup_styles_sejy82_p1ug7bn2__dfce5444{position:var(--p1ug7bn2-0);z-index:var(--p1ug7bn2-1);left:var(--p1ug7bn2-2);right:var(--p1ug7bn2-3);top:var(--p1ug7bn2-4);bottom:var(--p1ug7bn2-5);-webkit-transform:var(--p1ug7bn2-6);-ms-transform:var(--p1ug7bn2-6);transform:var(--p1ug7bn2-6);}
353
- .Popup_styles_sejy82_i10c9529__dfce5444{color:var(--text-secondary);}.Popup_styles_sejy82_i10c9529__dfce5444:hover{color:var(--text-secondary-hover);}.Popup_styles_sejy82_i10c9529__dfce5444:active{color:var(--text-secondary-active);}.Popup_styles_sejy82_i10c9529__dfce5444.Popup_styles_sejy82_resizableTopRightIcon__dfce5444{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Popup_styles_sejy82_i10c9529__dfce5444.Popup_styles_sejy82_resizableBottomRightIcon__dfce5444{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}.Popup_styles_sejy82_i10c9529__dfce5444.Popup_styles_sejy82_resizableBottomLeftIcon__dfce5444{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Popup_styles_sejy82_i10c9529__dfce5444.Popup_styles_sejy82_resizableTopLeftIcon__dfce5444{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}
350
+ .Popup_styles_1dvwxdu_s5u7tqa__17d6e35c{width:0;}
351
+ .Popup_styles_1dvwxdu_p1f40oul__17d6e35c{position:relative;max-width:100%;pointer-events:all;}
352
+ .Popup_styles_1dvwxdu_p1ug7bn2__17d6e35c{position:var(--p1ug7bn2-0);z-index:var(--p1ug7bn2-1);left:var(--p1ug7bn2-2);right:var(--p1ug7bn2-3);top:var(--p1ug7bn2-4);bottom:var(--p1ug7bn2-5);-webkit-transform:var(--p1ug7bn2-6);-ms-transform:var(--p1ug7bn2-6);transform:var(--p1ug7bn2-6);}
353
+ .Popup_styles_1dvwxdu_i10c9529__17d6e35c{color:var(--text-secondary);}.Popup_styles_1dvwxdu_i10c9529__17d6e35c:hover{color:var(--text-secondary-hover);}.Popup_styles_1dvwxdu_i10c9529__17d6e35c:active{color:var(--text-secondary-active);}.Popup_styles_1dvwxdu_i10c9529__17d6e35c.Popup_styles_1dvwxdu_resizableTopRightIcon__17d6e35c{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Popup_styles_1dvwxdu_i10c9529__17d6e35c.Popup_styles_1dvwxdu_resizableBottomRightIcon__17d6e35c{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}.Popup_styles_1dvwxdu_i10c9529__17d6e35c.Popup_styles_1dvwxdu_resizableBottomLeftIcon__17d6e35c{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Popup_styles_1dvwxdu_i10c9529__17d6e35c.Popup_styles_1dvwxdu_resizableTopLeftIcon__17d6e35c{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}
354
354
 
355
355
  .Modal_styles_1obtvtw_b7npn1w__a2f4e50d{height:100%;}
356
356
  .Modal_styles_1obtvtw_m16phoaz__a2f4e50d{height:100%;box-sizing:border-box;border-radius:var(--plasma-modal-body-border-radius);padding:var(--plasma-modal-body-padding);background:var(--plasma-modal-body-background);box-shadow:var(--shadow-down-soft-l);}
@@ -594,18 +594,18 @@
594
594
 
595
595
  .Target_styles_5dghru_s1wiuml6__ed6b6c68{--plasma-textfield-color:var(--plasma-combobox-new-textfield-color);--plasma-textfield-clear-color:var(--plasma-combobox-new-textfield-color);--plasma-textfield-bg-color:var(--plasma-combobox-new-textfield-background-color);--plasma-textfield-bg-color-hover:var(--plasma-combobox-new-textfield-background-color-hover);--plasma-textfield-bg-color-focus:var(--plasma-combobox-new-textfield-background-color-focus);--plasma-textfield-border-color:var(--plasma-combobox-new-textfield-border-color);--plasma-textfield-border-color-hover:var(--plasma-combobox-new-textfield-border-color-hover);--plasma-textfield-border-color-focus:var(--plasma-combobox-new-textfield-border-color-focus);--plasma-textfield-color-readonly:var(--plasma-combobox-new-textfield-color-readonly);--plasma-textfield-bg-color-readonly:var(--plasma-combobox-new-textfield-bg-color-readonly);--plasma-textfield-border-color-readonly:var(--plasma-combobox-new-textfield-border-color-readonly);--plasma-textfield__placeholder-color-readonly:var(--plasma-combobox-new-textfield-placeholder-color-readonly);--plasma-textfield__caret-color:var(--plasma-combobox-new-textfield-caret-color);--plasma-textfield__placeholder-color:var(--plasma-combobox-new-textfield-placeholder-color);--plasma-textfield__placeholder-color-focus:var(--plasma-combobox-new-textfield-placeholder-color-focus);--plasma-textfield__clear-placeholder-color:var(--plasma-combobox-new-textfield-clear-placeholder-color);--plasma-textfield__clear-placeholder-color-focus:var(--plasma-combobox-new-textfield-clear-placeholder-color-focus);--plasma-textfield__optional-color:var(--plasma-combobox-new-textfield-optional-color);--plasma-textfield-height:var(--plasma-combobox-new-textfield-height);--plasma-textfield-border-width:var(--plasma-combobox-new-textfield-border-width);--plasma-textfield-border-radius:var(--plasma-combobox-new-textfield-border-radius);--plasma-textfield-padding:var(--plasma-combobox-new-textfield-padding);--plasma-textfield-padding-with-chips:var(--plasma-combobox-new-textfield-padding-with-chips);--plasma-textfield__left-content-margin:var(--plasma-combobox-new-textfield-left-content-margin);--plasma-textfield__right-content-margin:var(--plasma-combobox-new-textfield-right-content-margin);--plasma-textfield__right-content-with-hint-margin:var(--plasma-combobox-textfield-right-content-with-hint-margin);--plasma-textfield-content-right-wrapper-gap:var(--plasma-combobox-textfield-content-right-wrapper-gap);--plasma-textfield-content-right-wrapper-margin:var(--plasma-combobox-textfield-content-right-wrapper-margin);--plasma-textfield-font-family:var(--plasma-combobox-new-textfield-font-family);--plasma-textfield-font-style:var(--plasma-combobox-new-textfield-font-style);--plasma-textfield-font-size:var(--plasma-combobox-new-textfield-font-size);--plasma-textfield-font-weight:var(--plasma-combobox-new-textfield-font-weight);--plasma-textfield-letter-spacing:var(--plasma-combobox-new-textfield-letter-spacing);--plasma-textfield-line-height:var(--plasma-combobox-new-textfield-line-height);--plasma-textfield-content-slot-color:var(--plasma-combobox-new-textfield-content-slot-color);--plasma-textfield-content-slot-color-hover:var(--plasma-combobox-new-textfield-content-slot-color-hover);--plasma-textfield-content-slot-color-active:var(--plasma-combobox-new-textfield-content-slot-color-active);--plasma-textfield-content-right-slot-color:var(--plasma-combobox-new-textfield-content-right-slot-color);--plasma-textfield-content-right-slot-color-hover:var(--plasma-combobox-new-textfield-content-right-slot-color-hover);--plasma-textfield-content-right-slot-color-active:var(--plasma-combobox-new-textfield-content-right-slot-color-active);--plasma-textfield__label-color:var(--plasma-combobox-new-textfield-label-color);--plasma-textfield__label-color-readonly:var(--plasma-combobox-new-textfield-label-color-readonly);--plasma-textfield__label-offset:var(--plasma-combobox-new-textfield-label-offset);--plasma-textfield__clear-label-offset:var(--plasma-combobox-new-textfield-clear-label-offset);--plasma-textfield__label-font-family:var(--plasma-combobox-new-textfield-label-font-family);--plasma-textfield__label-font-style:var(--plasma-combobox-new-textfield-label-font-style);--plasma-textfield__label-font-size:var(--plasma-combobox-new-textfield-label-font-size);--plasma-textfield__label-font-weight:var(--plasma-combobox-new-textfield-label-font-weight);--plasma-textfield__label-letter-spacing:var(--plasma-combobox-new-textfield-label-letter-spacing);--plasma-textfield__label-line-height:var(--plasma-combobox-new-textfield-label-line-height);--plasma-textfield-placement_inner__label-font-family:var(--plasma-combobox-new-textfield-placement_inner-label-font-family);--plasma-textfield-placement_inner__label-font-style:var(--plasma-combobox-new-textfield-placement_inner-label-font-style);--plasma-textfield-placement_inner__label-font-size:var(--plasma-combobox-new-textfield-placement_inner-label-font-size);--plasma-textfield-placement_inner__label-font-weight:var(--plasma-combobox-new-textfield-placement_inner-label-font-weight);--plasma-textfield-placement_inner__label-letter-spacing:var(--plasma-combobox-new-textfield-placement_inner-label-letter-spacing);--plasma-textfield-placement_inner__label-line-height:var(--plasma-combobox-new-textfield-placement_inner-label-line-height);--plasma-textfield-placement_inner__label-padding:var(--plasma-combobox-new-textfield-placement_inner-label-padding);--plasma-textfield-placement_inner__content-padding:var(--plasma-combobox-new-textfield-placement_inner-content-padding);--plasma-textfield__title-caption-color:var(--plasma-combobox-new-textfield-title-caption-color);--plasma-textfield__title-caption-color-readonly:var(--plasma-combobox-new-textfield-title-caption-color-readonly);--plasma-textfield__title-caption-label-inner-offset:var(--plasma-combobox-new-textfield-title-caption-label-inner-offset);--plasma-textfield__title-caption-font-family:var(--plasma-combobox-new-textfield-title-caption-font-family);--plasma-textfield__title-caption-font-style:var(--plasma-combobox-new-textfield-title-caption-font-style);--plasma-textfield__title-caption-font-size:var(--plasma-combobox-new-textfield-title-caption-font-size);--plasma-textfield__title-caption-font-weight:var(--plasma-combobox-new-textfield-title-caption-font-weight);--plasma-textfield__title-caption-letter-spacing:var(--plasma-combobox-new-textfield-title-caption-letter-spacing);--plasma-textfield__title-caption-line-height:var(--plasma-combobox-new-textfield-title-caption-line-height);--plasma-textfield__left-helper-color:var(--plasma-combobox-new-textfield-left-helper-color);--plasma-textfield__left-helper-color-readonly:var(--plasma-combobox-new-textfield-left-helper-color-readonly);--plasma-textfield__left-helper-offset:var(--plasma-combobox-new-textfield-left-helper-offset);--plasma-textfield__left-helper-font-family:var(--plasma-combobox-new-textfield-left-helper-font-family);--plasma-textfield__left-helper-font-style:var(--plasma-combobox-new-textfield-left-helper-font-style);--plasma-textfield__left-helper-font-size:var(--plasma-combobox-new-textfield-left-helper-font-size);--plasma-textfield__left-helper-font-weight:var(--plasma-combobox-new-textfield-left-helper-font-weight);--plasma-textfield__left-helper-letter-spacing:var(--plasma-combobox-new-textfield-left-helper-letter-spacing);--plasma-textfield__left-helper-line-height:var(--plasma-combobox-new-textfield-left-helper-line-height);--plasma-textfield__before-text-color:var(--plasma-combobox-new-textfield-before-text-color);--plasma-textfield__after-text-color:var(--plasma-combobox-new-textfield-after-text-color);--plasma-textfield__before-text-margin:var(--plasma-combobox-new-textfield-before-text-margin);--plasma-textfield__after-text-margin:var(--plasma-combobox-new-textfield-after-text-margin);--plasma-textfield-disabled-opacity:var(--plasma-combobox-new-textfield-disabled-opacity);--plasma-textfield__hint-custom-icon-target-size:var(--plasma-combobox-textfield__hint-custom-icon-target-size);--plasma-textfield__hint-margin:var(--plasma-combobox-textfield__hint-margin);--plasma-textfield__hint-target-size:var(--plasma-combobox-textfield__hint-target-size);--plasma-textfield__hint-icon-color:var(--plasma-combobox-textfield__hint-icon-color);--plasma-textfield__hint-inner-label-placement-offset:var(--plasma-combobox-textfield__hint-inner-label-placement-offset);--plasma-textfield__clear-hint-inner-label-placement-offset:var(--plasma-combobox-textfield__clear-hint-inner-label-placement-offset);--plasma-textfield__tooltip-background-color:var(--plasma-combobox-textfield__tooltip-background-color);--plasma-textfield__tooltip-box-shadow:var(--plasma-combobox-textfield__tooltip-box-shadow);--plasma-textfield__tooltip-color:var(--plasma-combobox-textfield__tooltip-color);--plasma-textfield__tooltip-padding-top:var(--plasma-combobox-textfield__tooltip-padding-top);--plasma-textfield__tooltip-padding-right:var(--plasma-combobox-textfield__tooltip-padding-right);--plasma-textfield__tooltip-padding-bottom:var(--plasma-combobox-textfield__tooltip-padding-bottom);--plasma-textfield__tooltip-padding-left:var(--plasma-combobox-textfield__tooltip-padding-left);--plasma-textfield__tooltip-min-height:var(--plasma-combobox-textfield__tooltip-min-height);--plasma-textfield__tooltip-border-radius:var(--plasma-combobox-textfield__tooltip-border-radius);--plasma-textfield__tooltip-text-font-family:var(--plasma-combobox-textfield__tooltip-text-font-family);--plasma-textfield__tooltip-text-font-size:var(--plasma-combobox-textfield__tooltip-text-font-size);--plasma-textfield__tooltip-text-font-style:var(--plasma-combobox-textfield__tooltip-text-font-style);--plasma-textfield__tooltip-text-font-weight:var(--plasma-combobox-textfield__tooltip-text-font-weight);--plasma-textfield__tooltip-text-font-letter-spacing:var(--plasma-combobox-textfield__tooltip-text-font-letter-spacing);--plasma-textfield__tooltip-text-font-line-height:var(--plasma-combobox-textfield__tooltip-text-font-line-height);--plasma-textfield__tooltip-content-left-margin:var(--plasma-combobox-textfield__tooltip-content-left-margin);--plasma-textfield__tooltip-arrow-mask-width:var(--plasma-combobox-textfield__tooltip-arrow-mask-width);--plasma-textfield__tooltip-arrow-mask-height:var(--plasma-combobox-textfield__tooltip-arrow-mask-height);--plasma-textfield__tooltip-arrow-mask-image:var(--plasma-combobox-textfield__tooltip-arrow-mask-image);--plasma-textfield__tooltip-arrow-height:var(--plasma-combobox-textfield__tooltip-arrow-height);--plasma-textfield__tooltip-arrow-edge-margin:var(--plasma-combobox-textfield__tooltip-arrow-edge-margin);--plasma-textfield__tooltip-arrow-background:var(--plasma-combobox-textfield__tooltip-arrow-background);--plasma-textfield__chip-height:var(--plasma-combobox-new-textfield-chip-height);--plasma-textfield__chip-border-radius:var(--plasma-combobox-new-textfield-chip-border-radius);--plasma-textfield__chip-gap:var(--plasma-combobox-new-textfield-chip-gap);--plasma-textfield__chip-background:var(--plasma-combobox-new-textfield--chip-background);--plasma-textfield__chip-color:var(--plasma-combobox-new-textfield-chip-color);--plasma-textfield__chip-background-hover:var(--plasma-combobox-new-textfield-chip-background-hover);--plasma-textfield__chip-color-hover:var(--plasma-combobox-new-textfield-chip-color-hover);--plasma-textfield__chip-scale-hover:var(--plasma-combobox-new-textfield-chip-scale-hover);--plasma-textfield__chip-background-readonly:var(--plasma-combobox-new-textfield-chip-background-read-only);--plasma-textfield__chip-color-readonly:var(--plasma-combobox-new-textfield-chip-color-read-only);--plasma-textfield__chip-background-readonly-hover:var(--plasma-combobox-new-textfield-chip-background-read-only-hover);--plasma-textfield__chip-color-readonly-hover:var(--plasma-combobox-new-textfield-chip-color-read-only-hover);--plasma-textfield__chip-background-active:var(--plasma-combobox-new-textfield-chip-background-active);--plasma-textfield__chip-color-active:var(--plasma-combobox-new-textfield-chip-color-active);--plasma-textfield__chip-scale-active:var(--plasma-combobox-new-textfield-chip-scale-active);--plasma-textfield__chip-close-icon-color:var(--plasma-combobox-new-textfield-chip-close-icons-color);--plasma-textfield__chip-outline-size:var(--plasma-combobox-new-textfield-chip-outline-size);--plasma-textfield__chip-width:var(--plasma-combobox-new-textfield-chip-width);--plasma-textfield__chip-padding:var(--plasma-combobox-new-textfield-chip-padding);--plasma-textfield__chip-close-icon-size:var(--plasma-combobox-new-textfield-chip-close-icon-size);--plasma-textfield__chip-font-family:var(--plasma-combobox-new-textfield-chip-font-family);--plasma-textfield__chip-font-size:var(--plasma-combobox-new-textfield-chip-font-size);--plasma-textfield__chip-font-style:var(--plasma-combobox-new-textfield-chip-font-style);--plasma-textfield__chip-font-weight:var(--plasma-combobox-new-textfield-chip-font-weight);--plasma-textfield__chip-letter-spacing:var(--plasma-combobox-new-textfield-chip-letter-spacing);--plasma-textfield__chip-line-height:var(--plasma-combobox-new-textfield-chip-line-height);--plasma-textfield__chip-clear-content-margin-left:var(--plasma-combobox-new-textfield-chip-clear-content-margin-left);--plasma-textfield__chip-clear-content-margin-right:var(--plasma-combobox-new-textfield-chip-clear-content-margin-right);--plasma-textfield__chip-opacity-readonly:var(--plasma-combobox-new-textfield-chip-opacity-readonly);--plasma-textfield-focus-color:var(--plasma-combobox-new-textfield-focus-color);--plasma-textfield__indicator-color:var(--plasma-combobox-new-textfield-indicator-color);--plasma-textfield__indicator-size-inner:var(--plasma-combobox-new-textfield-indicator-size-inner);--plasma-textfield__indicator-size-outer:var(--plasma-combobox-new-textfield-indicator-size-outer);--plasma-textfield__indicator-placement-inner:var(--plasma-combobox-new-textfield-indicator-placement-inner);--plasma-textfield__indicator-placement-outer:var(--plasma-combobox-new-textfield-indicator-placement-outer);--plasma-textfield__indicator-placement-inner-right:var(--plasma-combobox-new-textfield-indicator-placement-inner-right);--plasma-textfield__indicator-placement-outer-right:var(--plasma-combobox-new-textfield-indicator-placement-outer-right);--plasma-textfield__clear-indicator-placement-inner:var(--plasma-combobox-new-textfield-clear-indicator-placement-inner);--plasma-textfield__clear-indicator-placement-inner-right:var(--plasma-combobox-new-textfield-clear-indicator-placement-inner-right);--plasma-textfield__clear-indicator-hint-placement-inner-right:var(--plasma-combobox-new-textfield-clear-indicator-hint-placement-inner-right);--plasma-textfield-box-shadow:var(--plasma-select-textfield-box-shadow);}
596
596
 
597
- .Item_styles_80gotw_s17m41ki__77e23bce{--plasma-cell-title-color:var(--text-primary);--plasma-cell-background-color:var(--surface-clear);--plasma-cell-padding:var(--plasma-combobox-cell-padding);--plasma-cell-padding-left-content:var(--plasma-combobox-cell-padding-left-content);--plasma-cell-padding-content:var(--plasma-combobox-cell-padding-content);--plasma-cell-padding-right-content:var(--plasma-combobox-cell-padding-right-content);--plasma-cell-textbox-gap:var(--plasma-combobox-cell-textbox-gap);--plasma-cell-gap:var(--plasma-combobox-cell-gap);--plasma-cell-title-font-family:var(--plasma-combobox-cell-title-font-family);--plasma-cell-title-font-size:var(--plasma-combobox-cell-title-font-size);--plasma-cell-title-font-style:var(--plasma-combobox-cell-title-font-style);--plasma-cell-title-font-weight:var(--plasma-combobox-cell-title-font-weight);--plasma-cell-title-letter-spacing:var(--plasma-combobox-cell-title-letter-spacing);--plasma-cell-title-line-height:var(--plasma-combobox-cell-title-line-height);width:100%;}
597
+ .Item_styles_1q0u1o1_s17m41ki__6b861fbb{--plasma-cell-title-color:var(--text-primary);--plasma-cell-background-color:var(--surface-clear);--plasma-cell-padding:var(--plasma-combobox-cell-padding);--plasma-cell-padding-left-content:var(--plasma-combobox-cell-padding-left-content);--plasma-cell-padding-content:var(--plasma-combobox-cell-padding-content);--plasma-cell-padding-right-content:var(--plasma-combobox-cell-padding-right-content);--plasma-cell-textbox-gap:var(--plasma-combobox-cell-textbox-gap);--plasma-cell-gap:var(--plasma-combobox-cell-gap);--plasma-cell-title-font-family:var(--plasma-combobox-cell-title-font-family);--plasma-cell-title-font-size:var(--plasma-combobox-cell-title-font-size);--plasma-cell-title-font-style:var(--plasma-combobox-cell-title-font-style);--plasma-cell-title-font-weight:var(--plasma-combobox-cell-title-font-weight);--plasma-cell-title-letter-spacing:var(--plasma-combobox-cell-title-letter-spacing);--plasma-cell-title-line-height:var(--plasma-combobox-cell-title-line-height);width:100%;}
598
598
 
599
- .Item_styles_80gotw_sabntqz__77e23bce{--plasma-checkbox-trigger-size:var(--plasma-combobox-checkbox-trigger-size);--plasma-checkbox-trigger-border-radius:var(--plasma-combobox-checkbox-trigger-border-radius);--plasma-checkbox-fill-color:var(--plasma-combobox-checkbox-fill-color);--plasma-checkbox-icon-color:var(--plasma-combobox-checkbox-icon-color);--plasma-checkbox-trigger-border-color:var(--plasma-combobox-checkbox-trigger-border-color);--plasma-checkbox-trigger-border-checked-color:var(--plasma-combobox-checkbox-trigger-border-checked-color);--plasma-checkbox-trigger-border-width:var(--plasma-combobox-checkbox-trigger-border-width);}
600
- .Item_styles_80gotw_sbva27s__77e23bce{--plasma-indicator-size:var(--plasma-combobox-indicator-size);--plasma-indicator-color:var(--plasma-combobox-checkbox-fill-color);}
601
- .Item_styles_80gotw_s198ssfl__77e23bce{width:var(--s198ssfl-0);height:var(--s198ssfl-0);}
602
- .Item_styles_80gotw_sq42uro__77e23bce{width:var(--sq42uro-0);height:var(--sq42uro-0);}
603
- .Item_styles_80gotw_s96nkq__77e23bce{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
604
- .Item_styles_80gotw_s170raop__77e23bce{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
605
- .Item_styles_80gotw_d1bsz3m1__77e23bce{line-height:0;margin:var(--plasma-select-disclosure-icon-margin);color:var(--plasma-combobox-disclosure-icon-color);}.Item_styles_80gotw_d1bsz3m1__77e23bce:hover{color:var(--plasma-combobox-disclosure-icon-color-hover);}
606
- .Item_styles_80gotw_iwurntn__77e23bce{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-flex:none;-ms-flex:none;flex:none;width:var(--iwurntn-0);height:var(--iwurntn-0);margin:var(--plasma-combobox-item-icon-margin);line-height:0;color:var(--plasma-combobox-checkbox-fill-color);}
607
- .Item_styles_80gotw_s1pzdaox__77e23bce{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
608
- .Item_styles_80gotw_wm3n62u__77e23bce{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:var(--plasma-combobox-item-height);margin:0;box-sizing:content-box;padding:var(--wm3n62u-0);font-family:var(--plasma-combobox-font-family);font-size:var(--plasma-combobox-font-size);font-style:var(--plasma-combobox-font-style);font-weight:var(--plasma-combobox-font-weight);-webkit-letter-spacing:var(--plasma-combobox-font-letter-spacing);-moz-letter-spacing:var(--plasma-combobox-font-letter-spacing);-ms-letter-spacing:var(--plasma-combobox-font-letter-spacing);letter-spacing:var(--plasma-combobox-font-letter-spacing);line-height:var(--plasma-combobox-font-line-height);background-color:var(--surface-clear);color:var(--text-primary);border-radius:calc(var(--plasma-combobox-border-radius) - 0.125rem - var(--plasma-select-dropdown-border-width,0rem));-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-clip:padding-box;position:relative;}.Item_styles_80gotw_wm3n62u__77e23bce:hover:not(.Item_styles_80gotw_dropdownItemIsDisabled__77e23bce){cursor:pointer;background-color:var(--plasma-combobox-item-background-hover);}.Item_styles_80gotw_wm3n62u__77e23bce.Item_styles_80gotw_dropdownItemIsActive__77e23bce{background-color:var(--plasma-combobox-item-background-hover);}.Item_styles_80gotw_wm3n62u__77e23bce.Item_styles_80gotw_dropdownItemIsDisabled__77e23bce{opacity:0.4;cursor:not-allowed;}.Item_styles_80gotw_wm3n62u__77e23bce:focus{outline:none;}.Item_styles_80gotw_wm3n62u__77e23bce::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0 solid transparent;border-radius:calc(var(--plasma-combobox-border-radius) - 0.125rem - var(--plasma-select-dropdown-border-width,0rem));-webkit-transition:none;transition:none;pointer-events:none;}.Item_styles_80gotw_wm3n62u__77e23bce.Item_styles_80gotw_dropdownItemIsFocused__77e23bce:before{outline:none;box-shadow:inset 0 0 0 0.0625rem var(--surface-accent);}
599
+ .Item_styles_1q0u1o1_sabntqz__6b861fbb{--plasma-checkbox-trigger-size:var(--plasma-combobox-checkbox-trigger-size);--plasma-checkbox-trigger-border-radius:var(--plasma-combobox-checkbox-trigger-border-radius);--plasma-checkbox-fill-color:var(--plasma-combobox-checkbox-fill-color);--plasma-checkbox-icon-color:var(--plasma-combobox-checkbox-icon-color);--plasma-checkbox-trigger-border-color:var(--plasma-combobox-checkbox-trigger-border-color);--plasma-checkbox-trigger-border-checked-color:var(--plasma-combobox-checkbox-trigger-border-checked-color);--plasma-checkbox-trigger-border-width:var(--plasma-combobox-checkbox-trigger-border-width);}
600
+ .Item_styles_1q0u1o1_sbva27s__6b861fbb{--plasma-indicator-size:var(--plasma-combobox-indicator-size);--plasma-indicator-color:var(--plasma-combobox-item-icon-color);}
601
+ .Item_styles_1q0u1o1_s198ssfl__6b861fbb{width:var(--s198ssfl-0);height:var(--s198ssfl-0);}
602
+ .Item_styles_1q0u1o1_sq42uro__6b861fbb{width:var(--sq42uro-0);height:var(--sq42uro-0);}
603
+ .Item_styles_1q0u1o1_s96nkq__6b861fbb{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
604
+ .Item_styles_1q0u1o1_s170raop__6b861fbb{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
605
+ .Item_styles_1q0u1o1_d1bsz3m1__6b861fbb{line-height:0;margin:var(--plasma-select-disclosure-icon-margin);color:var(--plasma-combobox-disclosure-icon-color);}.Item_styles_1q0u1o1_d1bsz3m1__6b861fbb:hover{color:var(--plasma-combobox-disclosure-icon-color-hover);}
606
+ .Item_styles_1q0u1o1_iwurntn__6b861fbb{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-flex:none;-ms-flex:none;flex:none;width:var(--iwurntn-0);height:var(--iwurntn-0);margin:var(--plasma-combobox-item-icon-margin);line-height:0;color:var(--plasma-combobox-item-icon-color);}
607
+ .Item_styles_1q0u1o1_s1pzdaox__6b861fbb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
608
+ .Item_styles_1q0u1o1_wm3n62u__6b861fbb{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:var(--plasma-combobox-item-height);margin:0;box-sizing:content-box;padding:var(--wm3n62u-0);font-family:var(--plasma-combobox-font-family);font-size:var(--plasma-combobox-font-size);font-style:var(--plasma-combobox-font-style);font-weight:var(--plasma-combobox-font-weight);-webkit-letter-spacing:var(--plasma-combobox-font-letter-spacing);-moz-letter-spacing:var(--plasma-combobox-font-letter-spacing);-ms-letter-spacing:var(--plasma-combobox-font-letter-spacing);letter-spacing:var(--plasma-combobox-font-letter-spacing);line-height:var(--plasma-combobox-font-line-height);background-color:var(--surface-clear);color:var(--text-primary);border-radius:calc(var(--plasma-combobox-border-radius) - 0.125rem - var(--plasma-select-dropdown-border-width,0rem));-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-clip:padding-box;position:relative;}.Item_styles_1q0u1o1_wm3n62u__6b861fbb:hover:not(.Item_styles_1q0u1o1_dropdownItemIsDisabled__6b861fbb){cursor:pointer;background-color:var(--plasma-combobox-item-background-hover);}.Item_styles_1q0u1o1_wm3n62u__6b861fbb.Item_styles_1q0u1o1_dropdownItemIsActive__6b861fbb{background-color:var(--plasma-combobox-item-background-hover);}.Item_styles_1q0u1o1_wm3n62u__6b861fbb.Item_styles_1q0u1o1_dropdownItemIsDisabled__6b861fbb{opacity:0.4;cursor:not-allowed;}.Item_styles_1q0u1o1_wm3n62u__6b861fbb:focus{outline:none;}.Item_styles_1q0u1o1_wm3n62u__6b861fbb::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0 solid transparent;border-radius:calc(var(--plasma-combobox-border-radius) - 0.125rem - var(--plasma-select-dropdown-border-width,0rem));-webkit-transition:none;transition:none;pointer-events:none;}.Item_styles_1q0u1o1_wm3n62u__6b861fbb.Item_styles_1q0u1o1_dropdownItemIsFocused__6b861fbb:before{outline:none;box-shadow:inset 0 0 0 0.0625rem var(--surface-accent);}
609
609
 
610
610
 
611
611
  .SelectAll_styles_tjme4i_w14070q1__a0f87d11{position:var(--w14070q1-0);z-index:10;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;background:var(--surface-solid-card);margin-bottom:var(--w14070q1-1);border-top-left-radius:calc(var(--plasma-combobox-border-radius) - 0.125rem - var(--plasma-select-dropdown-border-width,0rem));border-top-right-radius:calc(var(--plasma-combobox-border-radius) - 0.125rem - var(--plasma-select-dropdown-border-width,0rem));}
@@ -656,16 +656,16 @@
656
656
  .Textfield_styles_1i2t1rz_s2oocb4__22fdf4fc{width:var(--s2oocb4-0);height:var(--s2oocb4-0);}
657
657
  .Textfield_styles_1i2t1rz_s1kxyc50__22fdf4fc{margin:0;padding:0;}
658
658
 
659
- .Item_styles_1qpfn0s_s1vls8ri__6e0dc038{--plasma-cell-title-color:var(--s1vls8ri-0);--plasma-cell-background-color:var(--surface-clear);--plasma-cell-padding:var(--plasma-select-cell-padding);--plasma-cell-padding-left-content:var(--plasma-select-cell-padding-left-content);--plasma-cell-padding-content:var(--plasma-select-cell-padding-content);--plasma-cell-padding-right-content:var(--plasma-select-cell-padding-right-content);--plasma-cell-textbox-gap:var(--plasma-select-cell-textbox-gap);--plasma-cell-gap:var(--plasma-select-cell-gap);--plasma-cell-title-font-family:var(--plasma-select-cell-title-font-family);--plasma-cell-title-font-size:var(--plasma-select-cell-title-font-size);--plasma-cell-title-font-style:var(--plasma-select-cell-title-font-style);--plasma-cell-title-font-weight:var(--plasma-select-cell-title-font-weight);--plasma-cell-title-letter-spacing:var(--plasma-select-cell-title-letter-spacing);--plasma-cell-title-line-height:var(--plasma-select-cell-title-line-height);width:100%;}.Item_styles_1qpfn0s_s1vls8ri__6e0dc038 div.Item_styles_1qpfn0s_cellContent__6e0dc038,.Item_styles_1qpfn0s_s1vls8ri__6e0dc038 div.Item_styles_1qpfn0s_cellTextbox__6e0dc038{-webkit-flex:1;-ms-flex:1;flex:1;}.Item_styles_1qpfn0s_s1vls8ri__6e0dc038 div.Item_styles_1qpfn0s_cellTextboxTitle__6e0dc038{position:relative;}.Item_styles_1qpfn0s_s1vls8ri__6e0dc038 div.Item_styles_1qpfn0s_cellTextboxTitle__6e0dc038:before{content:'&nbsp;';visibility:hidden;}.Item_styles_1qpfn0s_s1vls8ri__6e0dc038 div.Item_styles_1qpfn0s_cellTextboxTitle__6e0dc038 span{position:absolute;left:0;right:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
659
+ .Item_styles_1dlmiti_s1vls8ri__89f11c6e{--plasma-cell-title-color:var(--s1vls8ri-0);--plasma-cell-background-color:var(--surface-clear);--plasma-cell-padding:var(--plasma-select-cell-padding);--plasma-cell-padding-left-content:var(--plasma-select-cell-padding-left-content);--plasma-cell-padding-content:var(--plasma-select-cell-padding-content);--plasma-cell-padding-right-content:var(--plasma-select-cell-padding-right-content);--plasma-cell-textbox-gap:var(--plasma-select-cell-textbox-gap);--plasma-cell-gap:var(--plasma-select-cell-gap);--plasma-cell-title-font-family:var(--plasma-select-cell-title-font-family);--plasma-cell-title-font-size:var(--plasma-select-cell-title-font-size);--plasma-cell-title-font-style:var(--plasma-select-cell-title-font-style);--plasma-cell-title-font-weight:var(--plasma-select-cell-title-font-weight);--plasma-cell-title-letter-spacing:var(--plasma-select-cell-title-letter-spacing);--plasma-cell-title-line-height:var(--plasma-select-cell-title-line-height);width:100%;}.Item_styles_1dlmiti_s1vls8ri__89f11c6e div.Item_styles_1dlmiti_cellContent__89f11c6e,.Item_styles_1dlmiti_s1vls8ri__89f11c6e div.Item_styles_1dlmiti_cellTextbox__89f11c6e{-webkit-flex:1;-ms-flex:1;flex:1;}.Item_styles_1dlmiti_s1vls8ri__89f11c6e div.Item_styles_1dlmiti_cellTextboxTitle__89f11c6e{position:relative;}.Item_styles_1dlmiti_s1vls8ri__89f11c6e div.Item_styles_1dlmiti_cellTextboxTitle__89f11c6e:before{content:'&nbsp;';visibility:hidden;}.Item_styles_1dlmiti_s1vls8ri__89f11c6e div.Item_styles_1dlmiti_cellTextboxTitle__89f11c6e span{position:absolute;left:0;right:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
660
660
 
661
- .Item_styles_1qpfn0s_s17z4dei__6e0dc038{--plasma-checkbox-trigger-size:var(--plasma-select-checkbox-trigger-size);--plasma-checkbox-trigger-border-radius:var(--plasma-select-checkbox-trigger-border-radius);--plasma-checkbox-fill-color:var(--plasma-select-checkbox-fill-color);--plasma-checkbox-icon-color:var(--plasma-select-checkbox-icon-color);--plasma-checkbox-trigger-border-width:var(--plasma-select-checkbox-trigger-border-width);--plasma-checkbox-trigger-border-color:var(--plasma-select-checkbox-trigger-border-color);--plasma-checkbox-trigger-border-checked-color:var(--plasma-select-checkbox-trigger-border-checked-color);}
662
- .Item_styles_1qpfn0s_s1nd9idj__6e0dc038{--plasma-indicator-size:var(--plasma-select-indicator-size);--plasma-indicator-color:var(--plasma-select-checkbox-fill-color);}
663
- .Item_styles_1qpfn0s_snb2nsj__6e0dc038{width:var(--snb2nsj-0);height:var(--snb2nsj-0);}
664
- .Item_styles_1qpfn0s_s581hb1__6e0dc038{width:var(--s581hb1-0);height:var(--s581hb1-0);}
665
- .Item_styles_1qpfn0s_dcgpql7__6e0dc038{margin:var(--plasma-select-disclosure-icon-margin);line-height:0;color:var(--plasma-select-disclosure-icon-color);}.Item_styles_1qpfn0s_dcgpql7__6e0dc038:hover{color:var(--plasma-select-disclosure-icon-color-hover);}
666
- .Item_styles_1qpfn0s_izzpzvq__6e0dc038{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-flex:none;-ms-flex:none;flex:none;width:var(--izzpzvq-0);height:var(--izzpzvq-0);margin:var(--plasma-select-item-icon-margin);line-height:0;color:var(--plasma-select-checkbox-fill-color);}
667
- .Item_styles_1qpfn0s_stxu93x__6e0dc038{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
668
- .Item_styles_1qpfn0s_w1hgpj20__6e0dc038{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:var(--plasma-select-item-height);margin:0;box-sizing:content-box;padding:var(--w1hgpj20-0);font-family:var(--plasma-select-font-family);font-size:var(--plasma-select-font-size);font-style:var(--plasma-select-font-style);font-weight:var(--plasma-select-font-weight);-webkit-letter-spacing:var(--plasma-select-font-letter-spacing);-moz-letter-spacing:var(--plasma-select-font-letter-spacing);-ms-letter-spacing:var(--plasma-select-font-letter-spacing);letter-spacing:var(--plasma-select-font-letter-spacing);line-height:var(--plasma-select-font-line-height);background-color:var(--surface-clear);color:var(--text-primary);border-radius:calc(var(--plasma-select-border-radius) - 0.125rem - var(--plasma-select-dropdown-border-width,0rem));-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-clip:padding-box;position:relative;}.Item_styles_1qpfn0s_w1hgpj20__6e0dc038:hover:not(.Item_styles_1qpfn0s_dropdownItemIsDisabled__6e0dc038){cursor:pointer;background-color:var(--plasma-select-item-background-hover);}.Item_styles_1qpfn0s_w1hgpj20__6e0dc038.Item_styles_1qpfn0s_dropdownItemIsActive__6e0dc038{background-color:var(--plasma-select-item-background-hover);}.Item_styles_1qpfn0s_w1hgpj20__6e0dc038.Item_styles_1qpfn0s_dropdownItemIsDisabled__6e0dc038{opacity:var(--plasma-select-item-disabled-opacity);color:var(--plasma-select-item-disabled-color);cursor:not-allowed;}.Item_styles_1qpfn0s_w1hgpj20__6e0dc038:focus{outline:none;}.Item_styles_1qpfn0s_w1hgpj20__6e0dc038::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0 solid transparent;border-radius:calc(var(--plasma-select-border-radius) - 0.125rem - var(--plasma-select-dropdown-border-width,0rem));-webkit-transition:none;transition:none;pointer-events:none;}.Item_styles_1qpfn0s_w1hgpj20__6e0dc038.Item_styles_1qpfn0s_dropdownItemIsFocused__6e0dc038:before{outline:none;box-shadow:inset 0 0 0 0.0625rem var(--surface-accent);}
661
+ .Item_styles_1dlmiti_s17z4dei__89f11c6e{--plasma-checkbox-trigger-size:var(--plasma-select-checkbox-trigger-size);--plasma-checkbox-trigger-border-radius:var(--plasma-select-checkbox-trigger-border-radius);--plasma-checkbox-fill-color:var(--plasma-select-checkbox-fill-color);--plasma-checkbox-icon-color:var(--plasma-select-checkbox-icon-color);--plasma-checkbox-trigger-border-width:var(--plasma-select-checkbox-trigger-border-width);--plasma-checkbox-trigger-border-color:var(--plasma-select-checkbox-trigger-border-color);--plasma-checkbox-trigger-border-checked-color:var(--plasma-select-checkbox-trigger-border-checked-color);}
662
+ .Item_styles_1dlmiti_s1nd9idj__89f11c6e{--plasma-indicator-size:var(--plasma-select-indicator-size);--plasma-indicator-color:var(--plasma-select-item-icon-color);}
663
+ .Item_styles_1dlmiti_snb2nsj__89f11c6e{width:var(--snb2nsj-0);height:var(--snb2nsj-0);}
664
+ .Item_styles_1dlmiti_s581hb1__89f11c6e{width:var(--s581hb1-0);height:var(--s581hb1-0);}
665
+ .Item_styles_1dlmiti_dcgpql7__89f11c6e{margin:var(--plasma-select-disclosure-icon-margin);line-height:0;color:var(--plasma-select-disclosure-icon-color);}.Item_styles_1dlmiti_dcgpql7__89f11c6e:hover{color:var(--plasma-select-disclosure-icon-color-hover);}
666
+ .Item_styles_1dlmiti_izzpzvq__89f11c6e{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-flex:none;-ms-flex:none;flex:none;width:var(--izzpzvq-0);height:var(--izzpzvq-0);margin:var(--plasma-select-item-icon-margin);line-height:0;color:var(--plasma-select-item-icon-color);}
667
+ .Item_styles_1dlmiti_stxu93x__89f11c6e{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
668
+ .Item_styles_1dlmiti_w1hgpj20__89f11c6e{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:var(--plasma-select-item-height);margin:0;box-sizing:content-box;padding:var(--w1hgpj20-0);font-family:var(--plasma-select-font-family);font-size:var(--plasma-select-font-size);font-style:var(--plasma-select-font-style);font-weight:var(--plasma-select-font-weight);-webkit-letter-spacing:var(--plasma-select-font-letter-spacing);-moz-letter-spacing:var(--plasma-select-font-letter-spacing);-ms-letter-spacing:var(--plasma-select-font-letter-spacing);letter-spacing:var(--plasma-select-font-letter-spacing);line-height:var(--plasma-select-font-line-height);background-color:var(--surface-clear);color:var(--text-primary);border-radius:calc(var(--plasma-select-border-radius) - 0.125rem - var(--plasma-select-dropdown-border-width,0rem));-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-clip:padding-box;position:relative;}.Item_styles_1dlmiti_w1hgpj20__89f11c6e:hover:not(.Item_styles_1dlmiti_dropdownItemIsDisabled__89f11c6e){cursor:pointer;background-color:var(--plasma-select-item-background-hover);}.Item_styles_1dlmiti_w1hgpj20__89f11c6e.Item_styles_1dlmiti_dropdownItemIsActive__89f11c6e{background-color:var(--plasma-select-item-background-hover);}.Item_styles_1dlmiti_w1hgpj20__89f11c6e.Item_styles_1dlmiti_dropdownItemIsDisabled__89f11c6e{opacity:var(--plasma-select-item-disabled-opacity);color:var(--plasma-select-item-disabled-color);cursor:not-allowed;}.Item_styles_1dlmiti_w1hgpj20__89f11c6e:focus{outline:none;}.Item_styles_1dlmiti_w1hgpj20__89f11c6e::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0 solid transparent;border-radius:calc(var(--plasma-select-border-radius) - 0.125rem - var(--plasma-select-dropdown-border-width,0rem));-webkit-transition:none;transition:none;pointer-events:none;}.Item_styles_1dlmiti_w1hgpj20__89f11c6e.Item_styles_1dlmiti_dropdownItemIsFocused__89f11c6e:before{outline:none;box-shadow:inset 0 0 0 0.0625rem var(--surface-accent);}
669
669
 
670
670
 
671
671
  .SelectAll_styles_ql2mqj_w1r0n22v__b71a8639{position:var(--w1r0n22v-0);z-index:10;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;background:var(--surface-solid-card);margin-bottom:var(--w1r0n22v-1);border-top-left-radius:calc(var(--plasma-select-border-radius) - 0.125rem - var(--plasma-select-dropdown-border-width,0rem));border-top-right-radius:calc(var(--plasma-select-border-radius) - 0.125rem - var(--plasma-select-dropdown-border-width,0rem));}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-new-hope",
3
- "version": "0.330.0-canary.1655.16067292539.0",
3
+ "version": "0.330.0-canary.1655.16168034594.0",
4
4
  "description": "Salute Design System blueprint",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -138,5 +138,5 @@
138
138
  "sideEffects": [
139
139
  "*.css"
140
140
  ],
141
- "gitHead": "306c14b67283d164a591b5df4d720b48f288215b"
141
+ "gitHead": "442a980a4686af3a6f7c14eaf5d8c569217d37b8"
142
142
  }
@@ -53,6 +53,7 @@ var tokens = {
53
53
  itemIconSizeTight: '--plasma-combobox-item-icon-size-tight',
54
54
  itemIconMargin: '--plasma-combobox-item-icon-margin',
55
55
  itemBackgroundHover: '--plasma-combobox-item-background-hover',
56
+ itemIconColor: '--plasma-combobox-item-icon-color',
56
57
  cellPadding: '--plasma-combobox-cell-padding',
57
58
  cellPaddingLeftContent: '--plasma-combobox-cell-padding-left-content',
58
59
  cellPaddingContent: '--plasma-combobox-cell-padding-content',
@@ -71,7 +71,7 @@ var mergedCellConfig = (0, _engines.mergeConfig)(_Cell.cellConfig);
71
71
  var Cell = (0, _engines.component)(mergedCellConfig);
72
72
  var StyledWrapper = _styledcomponents.default.div.withConfig({
73
73
  displayName: "Item.styles__StyledWrapper",
74
- componentId: "sc-85d7faec-0"
74
+ componentId: "sc-15bf1974-0"
75
75
  })([
76
76
  "",
77
77
  ":var(",
@@ -105,13 +105,13 @@ var StyledWrapper = _styledcomponents.default.div.withConfig({
105
105
  ], _Cell.cellTokens.cellTitleColor, _Comboboxtokens.constants.cellTitleColor, _Cell.cellTokens.cellBackgroundColor, _Comboboxtokens.constants.cellBackgroundColor, _Cell.cellTokens.cellPadding, _Comboboxtokens.tokens.cellPadding, _Cell.cellTokens.cellPaddingLeftContent, _Comboboxtokens.tokens.cellPaddingLeftContent, _Cell.cellTokens.cellPaddingContent, _Comboboxtokens.tokens.cellPaddingContent, _Cell.cellTokens.cellPaddingRightContent, _Comboboxtokens.tokens.cellPaddingRightContent, _Cell.cellTokens.cellTextboxGap, _Comboboxtokens.tokens.cellTextboxGap, _Cell.cellTokens.cellGap, _Comboboxtokens.tokens.cellGap, _Cell.cellTokens.cellTitleFontFamily, _Comboboxtokens.tokens.cellTitleFontFamily, _Cell.cellTokens.cellTitleFontSize, _Comboboxtokens.tokens.cellTitleFontSize, _Cell.cellTokens.cellTitleFontStyle, _Comboboxtokens.tokens.cellTitleFontStyle, _Cell.cellTokens.cellTitleFontWeight, _Comboboxtokens.tokens.cellTitleFontWeight, _Cell.cellTokens.cellTitleLetterSpacing, _Comboboxtokens.tokens.cellTitleLetterSpacing, _Cell.cellTokens.cellTitleLineHeight, _Comboboxtokens.tokens.cellTitleLineHeight);
106
106
  var StyledCell = (0, _styledcomponents.default)(Cell).withConfig({
107
107
  displayName: "Item.styles__StyledCell",
108
- componentId: "sc-85d7faec-1"
108
+ componentId: "sc-15bf1974-1"
109
109
  })([
110
110
  ""
111
111
  ]);
112
112
  var StyledCheckbox = (0, _styledcomponents.default)(Checkbox).withConfig({
113
113
  displayName: "Item.styles__StyledCheckbox",
114
- componentId: "sc-85d7faec-2"
114
+ componentId: "sc-15bf1974-2"
115
115
  })([
116
116
  "",
117
117
  ":var(",
@@ -133,21 +133,21 @@ var mergedIndicatorConfig = (0, _engines.mergeConfig)(_Indicator.indicatorConfig
133
133
  var Indicator = (0, _engines.component)(mergedIndicatorConfig);
134
134
  var StyledIndicator = (0, _styledcomponents.default)(Indicator).withConfig({
135
135
  displayName: "Item.styles__StyledIndicator",
136
- componentId: "sc-85d7faec-3"
136
+ componentId: "sc-15bf1974-3"
137
137
  })([
138
138
  "",
139
139
  ":var(",
140
140
  ");",
141
141
  ":var(",
142
142
  ");"
143
- ], _Indicator.indicatorTokens.size, _Comboboxtokens.tokens.indicatorSize, _Indicator.indicatorTokens.color, _Comboboxtokens.tokens.checkboxFillColor);
143
+ ], _Indicator.indicatorTokens.size, _Comboboxtokens.tokens.indicatorSize, _Indicator.indicatorTokens.color, _Comboboxtokens.tokens.itemIconColor);
144
144
  var sizeMap = {
145
145
  xs: '1rem',
146
146
  s: '1.5rem'
147
147
  };
148
148
  var StyledArrow = (0, _styledcomponents.default)(_Icon.IconDisclosureRightCentered).withConfig({
149
149
  displayName: "Item.styles__StyledArrow",
150
- componentId: "sc-85d7faec-4"
150
+ componentId: "sc-15bf1974-4"
151
151
  })([
152
152
  "width:",
153
153
  ";height:",
@@ -161,7 +161,7 @@ var StyledArrow = (0, _styledcomponents.default)(_Icon.IconDisclosureRightCenter
161
161
  });
162
162
  var StyledIconDone = (0, _styledcomponents.default)(_Icon.IconDone).withConfig({
163
163
  displayName: "Item.styles__StyledIconDone",
164
- componentId: "sc-85d7faec-5"
164
+ componentId: "sc-15bf1974-5"
165
165
  })([
166
166
  "width:",
167
167
  ";height:",
@@ -175,19 +175,19 @@ var StyledIconDone = (0, _styledcomponents.default)(_Icon.IconDone).withConfig({
175
175
  });
176
176
  var StyledContentLeft = _styledcomponents.default.div.withConfig({
177
177
  displayName: "Item.styles__StyledContentLeft",
178
- componentId: "sc-85d7faec-6"
178
+ componentId: "sc-15bf1974-6"
179
179
  })([
180
180
  "display:inline-flex;"
181
181
  ]);
182
182
  var StyledContentRight = _styledcomponents.default.div.withConfig({
183
183
  displayName: "Item.styles__StyledContentRight",
184
- componentId: "sc-85d7faec-7"
184
+ componentId: "sc-15bf1974-7"
185
185
  })([
186
186
  "margin-left:auto;display:inline-flex;"
187
187
  ]);
188
188
  var DisclosureIconWrapper = _styledcomponents.default.div.withConfig({
189
189
  displayName: "Item.styles__DisclosureIconWrapper",
190
- componentId: "sc-85d7faec-8"
190
+ componentId: "sc-15bf1974-8"
191
191
  })([
192
192
  "line-height:0;margin:var(",
193
193
  ");color:var(",
@@ -196,7 +196,7 @@ var DisclosureIconWrapper = _styledcomponents.default.div.withConfig({
196
196
  ], _Comboboxtokens.tokens.disclosureIconMargin, _Comboboxtokens.tokens.disclosureIconColor, _Comboboxtokens.tokens.disclosureIconColorHover);
197
197
  var IconWrapper = _styledcomponents.default.div.withConfig({
198
198
  displayName: "Item.styles__IconWrapper",
199
- componentId: "sc-85d7faec-9"
199
+ componentId: "sc-15bf1974-9"
200
200
  })([
201
201
  "display:flex;align-items:center;justify-content:center;flex:none;width:",
202
202
  ";height:",
@@ -209,17 +209,17 @@ var IconWrapper = _styledcomponents.default.div.withConfig({
209
209
  }, function(param) {
210
210
  var variant = param.variant;
211
211
  return "var(".concat(variant === 'tight' ? _Comboboxtokens.tokens.itemIconSizeTight : _Comboboxtokens.tokens.itemIconSize, ")");
212
- }, _Comboboxtokens.tokens.itemIconMargin, _Comboboxtokens.tokens.checkboxFillColor);
212
+ }, _Comboboxtokens.tokens.itemIconMargin, _Comboboxtokens.tokens.itemIconColor);
213
213
  var StyledText = _styledcomponents.default.div.withConfig({
214
214
  displayName: "Item.styles__StyledText",
215
- componentId: "sc-85d7faec-10"
215
+ componentId: "sc-15bf1974-10"
216
216
  })([
217
217
  "",
218
218
  ";flex:1;"
219
219
  ], (0, _mixins.applyEllipsis)());
220
220
  var Wrapper = _styledcomponents.default.li.withConfig({
221
221
  displayName: "Item.styles__Wrapper",
222
- componentId: "sc-85d7faec-11"
222
+ componentId: "sc-15bf1974-11"
223
223
  })([
224
224
  "display:flex;align-items:center;min-height:var(",
225
225
  ");margin:0;box-sizing:content-box;padding:",
@@ -253,7 +253,7 @@ var Wrapper = _styledcomponents.default.li.withConfig({
253
253
  }));
254
254
  var StyledCheckboxWrapper = _styledcomponents.default.span.withConfig({
255
255
  displayName: "Item.styles__StyledCheckboxWrapper",
256
- componentId: "sc-85d7faec-12"
256
+ componentId: "sc-15bf1974-12"
257
257
  })([
258
258
  ""
259
259
  ]);