@hh.ru/magritte-ui-trigger 4.3.43 → 4.3.45

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.
package/Trigger.js CHANGED
@@ -9,7 +9,7 @@ import { useMultipleRefs } from '@hh.ru/magritte-common-use-multiple-refs';
9
9
  import { FormHelper } from '@hh.ru/magritte-ui-form-helper';
10
10
  import { CrossOutlinedSize24, ChevronDownOutlinedSize24, CrossOutlinedSize16, ChevronDownOutlinedSize16 } from '@hh.ru/magritte-ui-icon/icon';
11
11
 
12
- var styles = {"trigger-root":"magritte-trigger-root___dPhW4_4-3-43","triggerRoot":"magritte-trigger-root___dPhW4_4-3-43","disabled":"magritte-disabled___ZTuRA_4-3-43","trigger-root_stretched":"magritte-trigger-root_stretched___IhAsT_4-3-43","triggerRootStretched":"magritte-trigger-root_stretched___IhAsT_4-3-43","trigger":"magritte-trigger___IpHhR_4-3-43","xsmall":"magritte-xsmall___8iEkS_4-3-43","applied":"magritte-applied___jrfWs_4-3-43","content":"magritte-content___5eg6m_4-3-43","label_elevated":"magritte-label_elevated___N0xnk_4-3-43","labelElevated":"magritte-label_elevated___N0xnk_4-3-43","postfix":"magritte-postfix___u4999_4-3-43","small":"magritte-small___DphY3_4-3-43","medium":"magritte-medium___0kuIk_4-3-43","large":"magritte-large___1eRM6_4-3-43","invalid":"magritte-invalid___Xlbyg_4-3-43","icon":"magritte-icon___HbC0r_4-3-43","selected":"magritte-selected___NjQNn_4-3-43","content_medium":"magritte-content_medium___VnlIy_4-3-43","contentMedium":"magritte-content_medium___VnlIy_4-3-43","content_large":"magritte-content_large___byZTA_4-3-43","contentLarge":"magritte-content_large___byZTA_4-3-43","content_label-can-be-elevated":"magritte-content_label-can-be-elevated___HRkpl_4-3-43","contentLabelCanBeElevated":"magritte-content_label-can-be-elevated___HRkpl_4-3-43","values-wrapper":"magritte-values-wrapper___yQbdl_4-3-43","valuesWrapper":"magritte-values-wrapper___yQbdl_4-3-43","values-wrapper_label-can-elevated":"magritte-values-wrapper_label-can-elevated___A0bzp_4-3-43","valuesWrapperLabelCanElevated":"magritte-values-wrapper_label-can-elevated___A0bzp_4-3-43","values":"magritte-values___6wj-v_4-3-43","label":"magritte-label___VsUEF_4-3-43","icon_expanded":"magritte-icon_expanded___ggr1u_4-3-43","iconExpanded":"magritte-icon_expanded___ggr1u_4-3-43","postfix_metric":"magritte-postfix_metric___jO3qH_4-3-43","postfixMetric":"magritte-postfix_metric___jO3qH_4-3-43"};
12
+ var styles = {"trigger-root":"magritte-trigger-root___dPhW4_4-3-45","triggerRoot":"magritte-trigger-root___dPhW4_4-3-45","disabled":"magritte-disabled___ZTuRA_4-3-45","trigger-root_stretched":"magritte-trigger-root_stretched___IhAsT_4-3-45","triggerRootStretched":"magritte-trigger-root_stretched___IhAsT_4-3-45","trigger":"magritte-trigger___IpHhR_4-3-45","xsmall":"magritte-xsmall___8iEkS_4-3-45","applied":"magritte-applied___jrfWs_4-3-45","content":"magritte-content___5eg6m_4-3-45","label_elevated":"magritte-label_elevated___N0xnk_4-3-45","labelElevated":"magritte-label_elevated___N0xnk_4-3-45","postfix":"magritte-postfix___u4999_4-3-45","small":"magritte-small___DphY3_4-3-45","medium":"magritte-medium___0kuIk_4-3-45","large":"magritte-large___1eRM6_4-3-45","invalid":"magritte-invalid___Xlbyg_4-3-45","icon":"magritte-icon___HbC0r_4-3-45","selected":"magritte-selected___NjQNn_4-3-45","content_medium":"magritte-content_medium___VnlIy_4-3-45","contentMedium":"magritte-content_medium___VnlIy_4-3-45","content_large":"magritte-content_large___byZTA_4-3-45","contentLarge":"magritte-content_large___byZTA_4-3-45","content_label-can-be-elevated":"magritte-content_label-can-be-elevated___HRkpl_4-3-45","contentLabelCanBeElevated":"magritte-content_label-can-be-elevated___HRkpl_4-3-45","values-wrapper":"magritte-values-wrapper___yQbdl_4-3-45","valuesWrapper":"magritte-values-wrapper___yQbdl_4-3-45","values-wrapper_label-can-elevated":"magritte-values-wrapper_label-can-elevated___A0bzp_4-3-45","valuesWrapperLabelCanElevated":"magritte-values-wrapper_label-can-elevated___A0bzp_4-3-45","values":"magritte-values___6wj-v_4-3-45","label":"magritte-label___VsUEF_4-3-45","icon_expanded":"magritte-icon_expanded___ggr1u_4-3-45","iconExpanded":"magritte-icon_expanded___ggr1u_4-3-45","postfix_metric":"magritte-postfix_metric___jO3qH_4-3-45","postfixMetric":"magritte-postfix_metric___jO3qH_4-3-45"};
13
13
 
14
14
  // расчитываем размер шеврона на базе `size`
15
15
  // если состояние `applied`, то нужно использовать крест
@@ -66,7 +66,7 @@ const TriggerComponent = ({ applied, description, disabled, expanded, maxWidth,
66
66
  event.stopPropagation();
67
67
  }
68
68
  }, [onClear]);
69
- // eslint-disable-next-line disable-autofix/react-hooks/exhaustive-deps
69
+ // eslint-disable-next-line react-hooks/exhaustive-deps
70
70
  const calcPostfix = useCallback(throttle(() => {
71
71
  if (!itemsWrapperRef.current || !postfixMetricRef.current) {
72
72
  return;
package/Trigger.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Trigger.js","sources":["src/Trigger.tsx"],"sourcesContent":["import {\n useCallback,\n KeyboardEventHandler,\n useRef,\n ReactNode,\n useMemo,\n useLayoutEffect,\n useState,\n forwardRef,\n ForwardedRef,\n ReactElement,\n MouseEventHandler,\n useId,\n} from 'react';\nimport classnames from 'classnames';\n\nimport { throttle } from '@hh.ru/magritte-common-func-utils';\nimport { keyboardKeys, keyboardMatches } from '@hh.ru/magritte-common-keyboard';\nimport { useResize } from '@hh.ru/magritte-common-resize';\nimport { useMultipleRefs } from '@hh.ru/magritte-common-use-multiple-refs';\nimport { FormHelper } from '@hh.ru/magritte-ui-form-helper';\nimport {\n ChevronDownOutlinedSize16,\n ChevronDownOutlinedSize24,\n CrossOutlinedSize16,\n CrossOutlinedSize24,\n} from '@hh.ru/magritte-ui-icon/icon';\nimport { type IconWrapperComponentSize24, type IconWrapperComponentSize16 } from '@hh.ru/magritte-ui-icon/types';\nimport { TriggerProps, TriggerSize } from '@hh.ru/magritte-ui-trigger/types';\n\nimport styles from './trigger.less';\n\n// расчитываем размер шеврона на базе `size`\n// если состояние `applied`, то нужно использовать крест\nconst getIcon = (size: TriggerSize, applied: boolean): IconWrapperComponentSize24 | IconWrapperComponentSize16 => {\n if (size === 'large' || size === 'medium') {\n if (applied) {\n return CrossOutlinedSize24;\n }\n return ChevronDownOutlinedSize24;\n }\n if (applied) {\n return CrossOutlinedSize16;\n }\n return ChevronDownOutlinedSize16;\n};\n\nconst defaultRenderFormattedValue = (value: ReactNode, index: number, length: number) => {\n return (\n <>\n {value}\n {index !== length - 1 && ', '}\n </>\n );\n};\n\nexport const TriggerComponent = (\n {\n applied,\n description,\n disabled,\n expanded,\n maxWidth,\n invalid,\n values = [],\n label,\n elevateLabel,\n errorMessage,\n renderFormattedValue = defaultRenderFormattedValue,\n trls,\n stretched,\n size = 'medium',\n showPostfix,\n onChange,\n onClear,\n onFocus,\n onKeyDown,\n onBlur,\n role,\n 'data-qa': dataQa,\n 'aria-label': ariaLabel,\n 'aria-haspopup': ariaHasPopup,\n 'aria-controls': ariaControls,\n }: TriggerProps,\n ref: ForwardedRef<HTMLElement>\n): ReactElement => {\n const triggerRef = useRef<HTMLDivElement>(null);\n const triggerRefCallback = useMultipleRefs(ref, triggerRef);\n const itemsRefs = useRef<HTMLElement[]>([]);\n const itemsWrapperRef = useRef<HTMLDivElement>(null);\n const postfixMetricRef = useRef<HTMLDivElement>(null);\n const showValues = values.length > 0;\n const labelCanBeElevated = size === 'large' && !!elevateLabel && !!label;\n const labelIsElevated = showValues && labelCanBeElevated;\n const IconComponent = getIcon(size, Boolean(applied));\n const [postfix, setPostfix] = useState<number>(0);\n const postfixRef = useRef<number>(postfix);\n const descriptionId = useId();\n postfixRef.current = postfix;\n const formattedValues = useMemo(() => {\n itemsRefs.current = [];\n return values.map((value, index) => (\n <span key={index} ref={(element) => element && (itemsRefs.current[index] = element)}>\n {renderFormattedValue(value, index, values.length)}\n </span>\n ));\n }, [renderFormattedValue, values]);\n\n const handleClickTrigger = useCallback(() => {\n onChange(!expanded);\n }, [onChange, expanded]);\n\n const handleKeyDownTrigger = useCallback<KeyboardEventHandler>(\n (event) => {\n if (keyboardMatches(event.nativeEvent, [keyboardKeys.Space])) {\n onChange(!expanded);\n }\n onKeyDown?.(event);\n },\n [onChange, onKeyDown, expanded]\n );\n\n const handleMouseDownClear = useCallback<MouseEventHandler>(\n (event) => {\n onClear?.();\n event.preventDefault();\n },\n [onClear]\n );\n\n const handleKeyDownClear = useCallback<KeyboardEventHandler>(\n (event) => {\n if (keyboardMatches(event.nativeEvent, [keyboardKeys.Space])) {\n onClear?.();\n triggerRef.current?.focus();\n event.stopPropagation();\n }\n },\n [onClear]\n );\n\n // eslint-disable-next-line disable-autofix/react-hooks/exhaustive-deps\n const calcPostfix = useCallback(\n throttle(() => {\n if (!itemsWrapperRef.current || !postfixMetricRef.current) {\n return;\n }\n if (!showPostfix) {\n return;\n }\n // перевод в постфиксе может поменяться, а ширину надо учесть\n postfixMetricRef.current.style.display = 'inline';\n const postfixRect = postfixMetricRef.current.getBoundingClientRect();\n const postfixWidth = postfixRect.width;\n postfixMetricRef.current.style.display = 'none';\n const parentRect = itemsWrapperRef.current.getBoundingClientRect();\n const parentWidth = parentRect.width;\n // если постфикс виден, то ширину его не учитываем (реф стоит на values)\n const parentWidthWithoutPostfix = parentWidth - (postfixRef.current === 0 ? postfixWidth : 0);\n // ищем первый элемент, где значения схлопываются в ...\n let truncatedItemIndex = -1;\n let childrenWidth = 0;\n itemsRefs.current.forEach((itemRef, index) => {\n const itemRect = itemRef.getBoundingClientRect();\n childrenWidth += itemRect.width;\n if (truncatedItemIndex === -1 && childrenWidth > parentWidthWithoutPostfix) {\n truncatedItemIndex = index;\n }\n });\n // проверяем, есть ли ... в тригере\n if (Math.abs(parentWidth - childrenWidth) < 1) {\n setPostfix(0);\n return;\n }\n const length = values.length - 1;\n if (truncatedItemIndex === -1 || truncatedItemIndex === length) {\n setPostfix(0);\n return;\n }\n setPostfix(length - truncatedItemIndex);\n }, 50),\n [values, showPostfix, maxWidth]\n );\n\n useLayoutEffect(calcPostfix, [calcPostfix]);\n useResize(calcPostfix);\n\n return (\n <div\n className={classnames(styles.triggerRoot, { [styles.triggerRootStretched]: stretched })}\n style={maxWidth ? { maxWidth } : {}}\n >\n <div\n role={role}\n ref={triggerRefCallback}\n className={classnames(styles.trigger, styles[size], {\n [styles.applied]: applied,\n [styles.disabled]: disabled,\n [styles.invalid]: invalid,\n [styles.selected]: showValues,\n })}\n onClick={!disabled ? handleClickTrigger : undefined}\n onKeyDown={!disabled ? handleKeyDownTrigger : undefined}\n onFocus={!disabled ? onFocus : undefined}\n onBlur={onBlur}\n tabIndex={disabled ? undefined : 0}\n data-qa={dataQa || 'trigger-root'}\n aria-describedby={descriptionId}\n aria-invalid={invalid}\n aria-expanded={expanded}\n aria-label={ariaLabel}\n aria-haspopup={ariaHasPopup}\n aria-controls={ariaControls}\n aria-disabled={disabled}\n >\n <div\n className={classnames(styles.content, styles[`content_${size}`], {\n [styles.contentLabelCanBeElevated]: labelCanBeElevated,\n })}\n >\n {labelCanBeElevated && (\n <div\n className={classnames(styles.label, {\n [styles.labelElevated]: labelIsElevated,\n })}\n >\n {label}\n </div>\n )}\n {!labelCanBeElevated && !showValues && <div className={styles.label}>{label}</div>}\n {showValues && (\n <div\n className={classnames(styles.valuesWrapper, {\n [styles.valuesWrapperLabelCanElevated]: labelIsElevated,\n })}\n >\n <div ref={itemsWrapperRef} className={styles.values} data-qa=\"trigger-values-wrapper\">\n {formattedValues}\n </div>\n {showPostfix && postfix > 0 && (\n <div\n className={styles.postfix}\n data-qa=\"trigger-postfix\"\n aria-hidden=\"true\"\n >{`${trls?.postfix} ${postfix}`}</div>\n )}\n </div>\n )}\n {showPostfix && (\n <span\n ref={postfixMetricRef}\n className={classnames(styles.postfix, styles.postfixMetric)}\n data-qa=\"trigger-postfix-metric\"\n aria-hidden=\"true\"\n >{`${trls?.postfix} ${postfix || 1}`}</span>\n )}\n </div>\n {!applied && (\n <div\n className={classnames(styles.icon, {\n [styles.iconExpanded]: expanded,\n })}\n >\n <IconComponent />\n </div>\n )}\n {applied && (\n <div className={styles.icon}>\n <IconComponent\n borderRadius=\"halfHeight\"\n onClick={() => null}\n onKeyDown={handleKeyDownClear}\n onMouseDown={handleMouseDownClear}\n disabled={disabled}\n />\n </div>\n )}\n </div>\n <FormHelper\n description={description}\n errorMessage={errorMessage}\n disabled={disabled}\n invalid={invalid}\n descriptionId={descriptionId}\n />\n </div>\n );\n};\n\nexport const Trigger = forwardRef(TriggerComponent) as (\n props: TriggerProps & { ref?: ForwardedRef<HTMLElement> }\n) => ReactElement;\n"],"names":["_jsxs","_Fragment","_jsx"],"mappings":";;;;;;;;;;;;AAgCA;AACA;AACA,MAAM,OAAO,GAAG,CAAC,IAAiB,EAAE,OAAgB,KAA6D;IAC7G,IAAI,IAAI,KAAK,OAAO,IAAI,IAAI,KAAK,QAAQ,EAAE;QACvC,IAAI,OAAO,EAAE;AACT,YAAA,OAAO,mBAAmB,CAAC;SAC9B;AACD,QAAA,OAAO,yBAAyB,CAAC;KACpC;IACD,IAAI,OAAO,EAAE;AACT,QAAA,OAAO,mBAAmB,CAAC;KAC9B;AACD,IAAA,OAAO,yBAAyB,CAAC;AACrC,CAAC,CAAC;AAEF,MAAM,2BAA2B,GAAG,CAAC,KAAgB,EAAE,KAAa,EAAE,MAAc,KAAI;AACpF,IAAA,QACIA,IAAA,CAAAC,QAAA,EAAA,EAAA,QAAA,EAAA,CACK,KAAK,EACL,KAAK,KAAK,MAAM,GAAG,CAAC,IAAI,IAAI,CAAA,EAAA,CAC9B,EACL;AACN,CAAC,CAAC;AAEK,MAAM,gBAAgB,GAAG,CAC5B,EACI,OAAO,EACP,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,MAAM,GAAG,EAAE,EACX,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,oBA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AAA,CAAA,EAAA,CACA,EACR;AACN,EAAE;MAEW,OAAO,GAAG,UAAU,CAAC,gBAAgB;;;;"}
1
+ {"version":3,"file":"Trigger.js","sources":["src/Trigger.tsx"],"sourcesContent":["import {\n useCallback,\n KeyboardEventHandler,\n useRef,\n ReactNode,\n useMemo,\n useLayoutEffect,\n useState,\n forwardRef,\n ForwardedRef,\n ReactElement,\n MouseEventHandler,\n useId,\n} from 'react';\nimport classnames from 'classnames';\n\nimport { throttle } from '@hh.ru/magritte-common-func-utils';\nimport { keyboardKeys, keyboardMatches } from '@hh.ru/magritte-common-keyboard';\nimport { useResize } from '@hh.ru/magritte-common-resize';\nimport { useMultipleRefs } from '@hh.ru/magritte-common-use-multiple-refs';\nimport { FormHelper } from '@hh.ru/magritte-ui-form-helper';\nimport {\n ChevronDownOutlinedSize16,\n ChevronDownOutlinedSize24,\n CrossOutlinedSize16,\n CrossOutlinedSize24,\n} from '@hh.ru/magritte-ui-icon/icon';\nimport { type IconWrapperComponentSize24, type IconWrapperComponentSize16 } from '@hh.ru/magritte-ui-icon/types';\nimport { TriggerProps, TriggerSize } from '@hh.ru/magritte-ui-trigger/types';\n\nimport styles from './trigger.less';\n\n// расчитываем размер шеврона на базе `size`\n// если состояние `applied`, то нужно использовать крест\nconst getIcon = (size: TriggerSize, applied: boolean): IconWrapperComponentSize24 | IconWrapperComponentSize16 => {\n if (size === 'large' || size === 'medium') {\n if (applied) {\n return CrossOutlinedSize24;\n }\n return ChevronDownOutlinedSize24;\n }\n if (applied) {\n return CrossOutlinedSize16;\n }\n return ChevronDownOutlinedSize16;\n};\n\nconst defaultRenderFormattedValue = (value: ReactNode, index: number, length: number) => {\n return (\n <>\n {value}\n {index !== length - 1 && ', '}\n </>\n );\n};\n\nexport const TriggerComponent = (\n {\n applied,\n description,\n disabled,\n expanded,\n maxWidth,\n invalid,\n values = [],\n label,\n elevateLabel,\n errorMessage,\n renderFormattedValue = defaultRenderFormattedValue,\n trls,\n stretched,\n size = 'medium',\n showPostfix,\n onChange,\n onClear,\n onFocus,\n onKeyDown,\n onBlur,\n role,\n 'data-qa': dataQa,\n 'aria-label': ariaLabel,\n 'aria-haspopup': ariaHasPopup,\n 'aria-controls': ariaControls,\n }: TriggerProps,\n ref: ForwardedRef<HTMLElement>\n): ReactElement => {\n const triggerRef = useRef<HTMLDivElement>(null);\n const triggerRefCallback = useMultipleRefs(ref, triggerRef);\n const itemsRefs = useRef<HTMLElement[]>([]);\n const itemsWrapperRef = useRef<HTMLDivElement>(null);\n const postfixMetricRef = useRef<HTMLDivElement>(null);\n const showValues = values.length > 0;\n const labelCanBeElevated = size === 'large' && !!elevateLabel && !!label;\n const labelIsElevated = showValues && labelCanBeElevated;\n const IconComponent = getIcon(size, Boolean(applied));\n const [postfix, setPostfix] = useState<number>(0);\n const postfixRef = useRef<number>(postfix);\n const descriptionId = useId();\n postfixRef.current = postfix;\n const formattedValues = useMemo(() => {\n itemsRefs.current = [];\n return values.map((value, index) => (\n <span key={index} ref={(element) => element && (itemsRefs.current[index] = element)}>\n {renderFormattedValue(value, index, values.length)}\n </span>\n ));\n }, [renderFormattedValue, values]);\n\n const handleClickTrigger = useCallback(() => {\n onChange(!expanded);\n }, [onChange, expanded]);\n\n const handleKeyDownTrigger = useCallback<KeyboardEventHandler>(\n (event) => {\n if (keyboardMatches(event.nativeEvent, [keyboardKeys.Space])) {\n onChange(!expanded);\n }\n onKeyDown?.(event);\n },\n [onChange, onKeyDown, expanded]\n );\n\n const handleMouseDownClear = useCallback<MouseEventHandler>(\n (event) => {\n onClear?.();\n event.preventDefault();\n },\n [onClear]\n );\n\n const handleKeyDownClear = useCallback<KeyboardEventHandler>(\n (event) => {\n if (keyboardMatches(event.nativeEvent, [keyboardKeys.Space])) {\n onClear?.();\n triggerRef.current?.focus();\n event.stopPropagation();\n }\n },\n [onClear]\n );\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const calcPostfix = useCallback(\n throttle(() => {\n if (!itemsWrapperRef.current || !postfixMetricRef.current) {\n return;\n }\n if (!showPostfix) {\n return;\n }\n // перевод в постфиксе может поменяться, а ширину надо учесть\n postfixMetricRef.current.style.display = 'inline';\n const postfixRect = postfixMetricRef.current.getBoundingClientRect();\n const postfixWidth = postfixRect.width;\n postfixMetricRef.current.style.display = 'none';\n const parentRect = itemsWrapperRef.current.getBoundingClientRect();\n const parentWidth = parentRect.width;\n // если постфикс виден, то ширину его не учитываем (реф стоит на values)\n const parentWidthWithoutPostfix = parentWidth - (postfixRef.current === 0 ? postfixWidth : 0);\n // ищем первый элемент, где значения схлопываются в ...\n let truncatedItemIndex = -1;\n let childrenWidth = 0;\n itemsRefs.current.forEach((itemRef, index) => {\n const itemRect = itemRef.getBoundingClientRect();\n childrenWidth += itemRect.width;\n if (truncatedItemIndex === -1 && childrenWidth > parentWidthWithoutPostfix) {\n truncatedItemIndex = index;\n }\n });\n // проверяем, есть ли ... в тригере\n if (Math.abs(parentWidth - childrenWidth) < 1) {\n setPostfix(0);\n return;\n }\n const length = values.length - 1;\n if (truncatedItemIndex === -1 || truncatedItemIndex === length) {\n setPostfix(0);\n return;\n }\n setPostfix(length - truncatedItemIndex);\n }, 50),\n [values, showPostfix, maxWidth]\n );\n\n useLayoutEffect(calcPostfix, [calcPostfix]);\n useResize(calcPostfix);\n\n return (\n <div\n className={classnames(styles.triggerRoot, { [styles.triggerRootStretched]: stretched })}\n style={maxWidth ? { maxWidth } : {}}\n >\n <div\n role={role}\n ref={triggerRefCallback}\n className={classnames(styles.trigger, styles[size], {\n [styles.applied]: applied,\n [styles.disabled]: disabled,\n [styles.invalid]: invalid,\n [styles.selected]: showValues,\n })}\n onClick={!disabled ? handleClickTrigger : undefined}\n onKeyDown={!disabled ? handleKeyDownTrigger : undefined}\n onFocus={!disabled ? onFocus : undefined}\n onBlur={onBlur}\n tabIndex={disabled ? undefined : 0}\n data-qa={dataQa || 'trigger-root'}\n aria-describedby={descriptionId}\n aria-invalid={invalid}\n aria-expanded={expanded}\n aria-label={ariaLabel}\n aria-haspopup={ariaHasPopup}\n aria-controls={ariaControls}\n aria-disabled={disabled}\n >\n <div\n className={classnames(styles.content, styles[`content_${size}`], {\n [styles.contentLabelCanBeElevated]: labelCanBeElevated,\n })}\n >\n {labelCanBeElevated && (\n <div\n className={classnames(styles.label, {\n [styles.labelElevated]: labelIsElevated,\n })}\n >\n {label}\n </div>\n )}\n {!labelCanBeElevated && !showValues && <div className={styles.label}>{label}</div>}\n {showValues && (\n <div\n className={classnames(styles.valuesWrapper, {\n [styles.valuesWrapperLabelCanElevated]: labelIsElevated,\n })}\n >\n <div ref={itemsWrapperRef} className={styles.values} data-qa=\"trigger-values-wrapper\">\n {formattedValues}\n </div>\n {showPostfix && postfix > 0 && (\n <div className={styles.postfix} data-qa=\"trigger-postfix\" aria-hidden=\"true\">\n {/* oxlint-disable-next-line typescript/no-base-to-string */}\n {`${trls?.postfix} ${postfix}`}\n </div>\n )}\n </div>\n )}\n {showPostfix && (\n <span\n ref={postfixMetricRef}\n className={classnames(styles.postfix, styles.postfixMetric)}\n data-qa=\"trigger-postfix-metric\"\n aria-hidden=\"true\"\n >\n {/* oxlint-disable-next-line typescript/no-base-to-string */}\n {`${trls?.postfix} ${postfix || 1}`}\n </span>\n )}\n </div>\n {!applied && (\n <div\n className={classnames(styles.icon, {\n [styles.iconExpanded]: expanded,\n })}\n >\n <IconComponent />\n </div>\n )}\n {applied && (\n <div className={styles.icon}>\n <IconComponent\n borderRadius=\"halfHeight\"\n onClick={() => null}\n onKeyDown={handleKeyDownClear}\n onMouseDown={handleMouseDownClear}\n disabled={disabled}\n />\n </div>\n )}\n </div>\n <FormHelper\n description={description}\n errorMessage={errorMessage}\n disabled={disabled}\n invalid={invalid}\n descriptionId={descriptionId}\n />\n </div>\n );\n};\n\nexport const Trigger = forwardRef(TriggerComponent) as (\n props: TriggerProps & { ref?: ForwardedRef<HTMLElement> }\n) => ReactElement;\n"],"names":["_jsxs","_Fragment","_jsx"],"mappings":";;;;;;;;;;;;AAgCA;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AAO,IAAI,OAAO,IAAI,CAAC,CAAE,CAAA,EAAA,CAChC,CACV,CAAA,EAAA,CACC,EACL,CAAC,OAAO,KACLA,aACI,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE;AAC/B,4BAAA,CAAC,MAAM,CAAC,YAAY,GAAG,QAAQ;AAClC,yBAAA,CAAC,EAEF,QAAA,EAAAA,GAAA,CAAC,aAAa,EAAA,EAAA,CAAG,GACf,CACT,EACA,OAAO,KACJA,GAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,MAAM,CAAC,IAAI,EAAA,QAAA,EACvBA,GAAC,CAAA,aAAa,EACV,EAAA,YAAY,EAAC,YAAY,EACzB,OAAO,EAAE,MAAM,IAAI,EACnB,SAAS,EAAE,kBAAkB,EAC7B,WAAW,EAAE,oBAAoB,EACjC,QAAQ,EAAE,QAAQ,GACpB,EACA,CAAA,CACT,CACC,EAAA,CAAA,EACNA,IAAC,UAAU,EAAA,EACP,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,aAAa,EAC9B,CAAA,CAAA,EAAA,CACA,EACR;AACN,EAAE;MAEW,OAAO,GAAG,UAAU,CAAC,gBAAgB;;;;"}
package/index.css CHANGED
@@ -1,100 +1,100 @@
1
1
  :root{
2
- --magritte-color-component-input-stroke-state-field-hovered-v25-0-1:#CCD5DF;
3
- --magritte-color-component-input-stroke-state-field-focused-v25-0-1:#0070ff;
4
- --magritte-color-component-input-stroke-state-accent-focused-accessible-v25-0-1:#0070ff7a;
5
- --magritte-color-component-input-stroke-state-field-invalid-v25-0-1:#ff4d3a;
6
- --magritte-color-component-input-stroke-state-negative-focused-accessible-v25-0-1:#ff4d3a7a;
7
- --magritte-color-component-input-stroke-state-field-disabled-v25-0-1:#EEF1F7;
8
- --magritte-color-component-input-stroke-state-field-applied-v25-0-1:#000000;
9
- --magritte-color-component-input-background-field-v25-0-1:#ffffff;
10
- --magritte-color-component-input-background-state-field-hovered-v25-0-1:#ffffff;
11
- --magritte-color-component-input-background-state-field-focused-v25-0-1:#ffffff;
12
- --magritte-color-component-input-background-state-field-invalid-v25-0-1:#ffffff;
13
- --magritte-color-component-input-background-state-field-disabled-v25-0-1:#F4F6FB;
14
- --magritte-color-component-input-stroke-field-v25-0-1:#DCE3EB;
15
- --magritte-color-component-input-text-state-label-disabled-v25-0-1:#AABBCA;
16
- --magritte-color-component-input-text-state-description-disabled-v25-0-1:#AABBCA;
17
- --magritte-color-component-input-text-state-content-hovered-v25-0-1:#000000;
18
- --magritte-color-component-input-text-state-content-invalid-attention-v25-0-1:#ff4d3a;
19
- --magritte-color-component-input-text-state-label-hovered-v25-0-1:#768694;
20
- --magritte-color-component-input-text-state-label-focused-v25-0-1:#768694;
21
- --magritte-color-component-input-text-state-label-invalid-v25-0-1:#768694;
22
- --magritte-color-component-input-text-state-description-invalid-v25-0-1:#ff4d3a;
23
- --magritte-color-component-input-text-state-postfix-disabled-v25-0-1:#AABBCA;
24
- --magritte-color-component-input-text-state-postfix-focused-v25-0-1:#768694;
25
- --magritte-color-component-input-text-state-postfix-hovered-v25-0-1:#768694;
26
- --magritte-color-component-input-text-state-postfix-invalid-v25-0-1:#768694;
27
- --magritte-color-component-input-icon-chevron-v25-0-1:#AABBCA;
28
- --magritte-color-component-input-icon-state-content-applied-v25-0-1:#000000;
29
- --magritte-color-component-input-icon-state-chevron-focused-v25-0-1:#000000;
30
- --magritte-color-component-input-icon-state-chevron-hovered-v25-0-1:#6a7885;
31
- --magritte-color-component-input-icon-state-chevron-disabled-v25-0-1:#AABBCA;
32
- --magritte-color-component-input-icon-state-chevron-invalid-v25-0-1:#AABBCA;
33
- --magritte-color-component-input-text-content-v25-0-1:#000000;
34
- --magritte-color-component-input-text-label-v25-0-1:#768694;
35
- --magritte-color-component-input-text-placeholder-v25-0-1:#AABBCA;
36
- --magritte-color-component-input-text-description-v25-0-1:#768694;
37
- --magritte-color-component-input-text-postfix-v25-0-1:#768694;
2
+ --magritte-color-component-input-stroke-state-field-hovered-v25-1-1:#CCD5DF;
3
+ --magritte-color-component-input-stroke-state-field-focused-v25-1-1:#0070ff;
4
+ --magritte-color-component-input-stroke-state-accent-focused-accessible-v25-1-1:#0070ff7a;
5
+ --magritte-color-component-input-stroke-state-field-invalid-v25-1-1:#ff4d3a;
6
+ --magritte-color-component-input-stroke-state-negative-focused-accessible-v25-1-1:#ff4d3a7a;
7
+ --magritte-color-component-input-stroke-state-field-disabled-v25-1-1:#EEF1F7;
8
+ --magritte-color-component-input-stroke-state-field-applied-v25-1-1:#000000;
9
+ --magritte-color-component-input-background-field-v25-1-1:#ffffff;
10
+ --magritte-color-component-input-background-state-field-hovered-v25-1-1:#ffffff;
11
+ --magritte-color-component-input-background-state-field-focused-v25-1-1:#ffffff;
12
+ --magritte-color-component-input-background-state-field-invalid-v25-1-1:#ffffff;
13
+ --magritte-color-component-input-background-state-field-disabled-v25-1-1:#F4F6FB;
14
+ --magritte-color-component-input-stroke-field-v25-1-1:#DCE3EB;
15
+ --magritte-color-component-input-text-state-label-disabled-v25-1-1:#AABBCA;
16
+ --magritte-color-component-input-text-state-description-disabled-v25-1-1:#AABBCA;
17
+ --magritte-color-component-input-text-state-content-hovered-v25-1-1:#000000;
18
+ --magritte-color-component-input-text-state-content-invalid-attention-v25-1-1:#ff4d3a;
19
+ --magritte-color-component-input-text-state-label-hovered-v25-1-1:#768694;
20
+ --magritte-color-component-input-text-state-label-focused-v25-1-1:#768694;
21
+ --magritte-color-component-input-text-state-label-invalid-v25-1-1:#768694;
22
+ --magritte-color-component-input-text-state-description-invalid-v25-1-1:#ff4d3a;
23
+ --magritte-color-component-input-text-state-postfix-disabled-v25-1-1:#AABBCA;
24
+ --magritte-color-component-input-text-state-postfix-focused-v25-1-1:#768694;
25
+ --magritte-color-component-input-text-state-postfix-hovered-v25-1-1:#768694;
26
+ --magritte-color-component-input-text-state-postfix-invalid-v25-1-1:#768694;
27
+ --magritte-color-component-input-icon-chevron-v25-1-1:#AABBCA;
28
+ --magritte-color-component-input-icon-state-content-applied-v25-1-1:#000000;
29
+ --magritte-color-component-input-icon-state-chevron-focused-v25-1-1:#000000;
30
+ --magritte-color-component-input-icon-state-chevron-hovered-v25-1-1:#6a7885;
31
+ --magritte-color-component-input-icon-state-chevron-disabled-v25-1-1:#AABBCA;
32
+ --magritte-color-component-input-icon-state-chevron-invalid-v25-1-1:#AABBCA;
33
+ --magritte-color-component-input-text-content-v25-1-1:#000000;
34
+ --magritte-color-component-input-text-label-v25-1-1:#768694;
35
+ --magritte-color-component-input-text-placeholder-v25-1-1:#AABBCA;
36
+ --magritte-color-component-input-text-description-v25-1-1:#768694;
37
+ --magritte-color-component-input-text-postfix-v25-1-1:#768694;
38
38
  }
39
39
 
40
40
  :root{
41
- --magritte-semantic-animation-ease-in-out-100-timing-function-v25-0-1:cubic-bezier(0.25, 0.1, 0.25, 1);
42
- --magritte-semantic-animation-ease-in-out-100-duration-v25-0-1:100ms;
41
+ --magritte-semantic-animation-ease-in-out-100-timing-function-v25-1-1:cubic-bezier(0.25, 0.1, 0.25, 1);
42
+ --magritte-semantic-animation-ease-in-out-100-duration-v25-1-1:100ms;
43
43
  }
44
44
 
45
45
  .magritte-night-theme{
46
- --magritte-color-component-input-stroke-state-field-hovered-v25-0-1:#3B3B3B;
47
- --magritte-color-component-input-stroke-state-field-disabled-v25-0-1:#1B1B1B;
48
- --magritte-color-component-input-stroke-state-field-applied-v25-0-1:#ffffff;
49
- --magritte-color-component-input-background-field-v25-0-1:#111;
50
- --magritte-color-component-input-background-state-field-hovered-v25-0-1:#111;
51
- --magritte-color-component-input-background-state-field-focused-v25-0-1:#111;
52
- --magritte-color-component-input-background-state-field-invalid-v25-0-1:#111;
53
- --magritte-color-component-input-background-state-field-disabled-v25-0-1:#111;
54
- --magritte-color-component-input-stroke-field-v25-0-1:#303030;
55
- --magritte-color-component-input-text-content-v25-0-1:#ffffff;
56
- --magritte-color-component-input-text-label-v25-0-1:#919191;
57
- --magritte-color-component-input-text-placeholder-v25-0-1:#535353;
58
- --magritte-color-component-input-text-description-v25-0-1:#6A6A6A;
59
- --magritte-color-component-input-text-postfix-v25-0-1:#848484;
60
- --magritte-color-component-input-text-state-label-disabled-v25-0-1:#474747;
61
- --magritte-color-component-input-text-state-description-disabled-v25-0-1:#535353;
62
- --magritte-color-component-input-text-state-content-hovered-v25-0-1:#ffffff;
63
- --magritte-color-component-input-text-state-label-hovered-v25-0-1:#919191;
64
- --magritte-color-component-input-text-state-label-focused-v25-0-1:#919191;
65
- --magritte-color-component-input-text-state-label-invalid-v25-0-1:#919191;
66
- --magritte-color-component-input-text-state-postfix-disabled-v25-0-1:#474747;
67
- --magritte-color-component-input-text-state-postfix-invalid-v25-0-1:#848484;
68
- --magritte-color-component-input-text-state-postfix-focused-v25-0-1:#848484;
69
- --magritte-color-component-input-text-state-postfix-hovered-v25-0-1:#848484;
70
- --magritte-color-component-input-icon-state-content-applied-v25-0-1:#ffffff;
71
- --magritte-color-component-input-icon-state-chevron-disabled-v25-0-1:#474747;
72
- --magritte-color-component-input-icon-state-chevron-hovered-v25-0-1:#848484;
73
- --magritte-color-component-input-icon-state-chevron-focused-v25-0-1:#ffffff;
74
- --magritte-color-component-input-icon-state-chevron-invalid-v25-0-1:#474747;
75
- --magritte-color-component-input-icon-chevron-v25-0-1:#5E5E5E;
46
+ --magritte-color-component-input-stroke-state-field-hovered-v25-1-1:#3B3B3B;
47
+ --magritte-color-component-input-stroke-state-field-disabled-v25-1-1:#1B1B1B;
48
+ --magritte-color-component-input-stroke-state-field-applied-v25-1-1:#ffffff;
49
+ --magritte-color-component-input-background-field-v25-1-1:#111;
50
+ --magritte-color-component-input-background-state-field-hovered-v25-1-1:#111;
51
+ --magritte-color-component-input-background-state-field-focused-v25-1-1:#111;
52
+ --magritte-color-component-input-background-state-field-invalid-v25-1-1:#111;
53
+ --magritte-color-component-input-background-state-field-disabled-v25-1-1:#111;
54
+ --magritte-color-component-input-stroke-field-v25-1-1:#303030;
55
+ --magritte-color-component-input-text-content-v25-1-1:#ffffff;
56
+ --magritte-color-component-input-text-label-v25-1-1:#919191;
57
+ --magritte-color-component-input-text-placeholder-v25-1-1:#535353;
58
+ --magritte-color-component-input-text-description-v25-1-1:#6A6A6A;
59
+ --magritte-color-component-input-text-postfix-v25-1-1:#848484;
60
+ --magritte-color-component-input-text-state-label-disabled-v25-1-1:#474747;
61
+ --magritte-color-component-input-text-state-description-disabled-v25-1-1:#535353;
62
+ --magritte-color-component-input-text-state-content-hovered-v25-1-1:#ffffff;
63
+ --magritte-color-component-input-text-state-label-hovered-v25-1-1:#919191;
64
+ --magritte-color-component-input-text-state-label-focused-v25-1-1:#919191;
65
+ --magritte-color-component-input-text-state-label-invalid-v25-1-1:#919191;
66
+ --magritte-color-component-input-text-state-postfix-disabled-v25-1-1:#474747;
67
+ --magritte-color-component-input-text-state-postfix-invalid-v25-1-1:#848484;
68
+ --magritte-color-component-input-text-state-postfix-focused-v25-1-1:#848484;
69
+ --magritte-color-component-input-text-state-postfix-hovered-v25-1-1:#848484;
70
+ --magritte-color-component-input-icon-state-content-applied-v25-1-1:#ffffff;
71
+ --magritte-color-component-input-icon-state-chevron-disabled-v25-1-1:#474747;
72
+ --magritte-color-component-input-icon-state-chevron-hovered-v25-1-1:#848484;
73
+ --magritte-color-component-input-icon-state-chevron-focused-v25-1-1:#ffffff;
74
+ --magritte-color-component-input-icon-state-chevron-invalid-v25-1-1:#474747;
75
+ --magritte-color-component-input-icon-chevron-v25-1-1:#5E5E5E;
76
76
  }
77
77
 
78
78
  .magritte-zp-day-theme{
79
- --magritte-color-component-input-stroke-state-field-focused-v25-0-1:#7195AF;
80
- --magritte-color-component-input-icon-state-chevron-hovered-v25-0-1:#8293a2;
81
- --magritte-color-component-input-icon-state-chevron-disabled-v25-0-1:#96aabb;
79
+ --magritte-color-component-input-stroke-state-field-focused-v25-1-1:#7195AF;
80
+ --magritte-color-component-input-icon-state-chevron-hovered-v25-1-1:#8293a2;
81
+ --magritte-color-component-input-icon-state-chevron-disabled-v25-1-1:#96aabb;
82
82
  }
83
- .magritte-trigger-root___dPhW4_4-3-43{
83
+ .magritte-trigger-root___dPhW4_4-3-45{
84
84
  display:flex;
85
85
  max-width:fit-content;
86
86
  flex-direction:column;
87
- --magritte-ui-form-helper-description-color-override:var(--magritte-color-component-input-text-description-v25-0-1);
88
- --magritte-ui-form-helper-error-color-override:var(--magritte-color-component-input-text-state-description-invalid-v25-0-1);
87
+ --magritte-ui-form-helper-description-color-override:var(--magritte-color-component-input-text-description-v25-1-1);
88
+ --magritte-ui-form-helper-error-color-override:var(--magritte-color-component-input-text-state-description-invalid-v25-1-1);
89
89
  }
90
- .magritte-trigger-root___dPhW4_4-3-43:has(.magritte-disabled___ZTuRA_4-3-43){
91
- --magritte-ui-form-helper-description-color-override:var(--magritte-color-component-input-text-state-description-disabled-v25-0-1);
90
+ .magritte-trigger-root___dPhW4_4-3-45:has(.magritte-disabled___ZTuRA_4-3-45){
91
+ --magritte-ui-form-helper-description-color-override:var(--magritte-color-component-input-text-state-description-disabled-v25-1-1);
92
92
  }
93
- .magritte-trigger-root_stretched___IhAsT_4-3-43{
93
+ .magritte-trigger-root_stretched___IhAsT_4-3-45{
94
94
  width:100%;
95
95
  max-width:none;
96
96
  }
97
- .magritte-trigger___IpHhR_4-3-43{
97
+ .magritte-trigger___IpHhR_4-3-45{
98
98
  display:inline-flex;
99
99
  align-items:center;
100
100
  cursor:pointer;
@@ -103,14 +103,14 @@
103
103
  user-select:none;
104
104
  white-space:nowrap;
105
105
  appearance:none;
106
- background-color:var(--magritte-color-component-input-background-field-v25-0-1);
106
+ background-color:var(--magritte-color-component-input-background-field-v25-1-1);
107
107
  border-radius:12px;
108
- --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-chevron-v25-0-1);
108
+ --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-chevron-v25-1-1);
109
109
  }
110
- .magritte-trigger___IpHhR_4-3-43.focus-visible{
111
- outline:var(--magritte-color-component-input-stroke-state-accent-focused-accessible-v25-0-1) solid 4px;
110
+ .magritte-trigger___IpHhR_4-3-45.focus-visible{
111
+ outline:var(--magritte-color-component-input-stroke-state-accent-focused-accessible-v25-1-1) solid 4px;
112
112
  }
113
- .magritte-xsmall___8iEkS_4-3-43{
113
+ .magritte-xsmall___8iEkS_4-3-45{
114
114
  background-color:transparent;
115
115
  font-family:"hh sans";
116
116
  font-weight:400;
@@ -122,122 +122,122 @@
122
122
  text-decoration:none;
123
123
  }
124
124
  @media (min-width: 1020px){
125
- body.magritte-old-layout .magritte-xsmall___8iEkS_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover{
126
- --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-hovered-v25-0-1);
125
+ body.magritte-old-layout .magritte-xsmall___8iEkS_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover{
126
+ --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-hovered-v25-1-1);
127
127
  }
128
- body.magritte-old-layout .magritte-xsmall___8iEkS_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-content___5eg6m_4-3-43{
129
- color:var(--magritte-color-component-input-text-state-label-hovered-v25-0-1);
128
+ body.magritte-old-layout .magritte-xsmall___8iEkS_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-content___5eg6m_4-3-45{
129
+ color:var(--magritte-color-component-input-text-state-label-hovered-v25-1-1);
130
130
  }
131
- body.magritte-old-layout .magritte-xsmall___8iEkS_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-label_elevated___N0xnk_4-3-43{
132
- color:var(--magritte-color-component-input-text-state-label-hovered-v25-0-1);
131
+ body.magritte-old-layout .magritte-xsmall___8iEkS_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-label_elevated___N0xnk_4-3-45{
132
+ color:var(--magritte-color-component-input-text-state-label-hovered-v25-1-1);
133
133
  }
134
- body.magritte-old-layout .magritte-xsmall___8iEkS_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-postfix___u4999_4-3-43{
135
- color:var(--magritte-color-component-input-text-state-postfix-hovered-v25-0-1);
134
+ body.magritte-old-layout .magritte-xsmall___8iEkS_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-postfix___u4999_4-3-45{
135
+ color:var(--magritte-color-component-input-text-state-postfix-hovered-v25-1-1);
136
136
  }
137
137
  }
138
138
  @media (min-width: 1024px){
139
- body:not(.magritte-old-layout) .magritte-xsmall___8iEkS_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover{
140
- --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-hovered-v25-0-1);
139
+ body:not(.magritte-old-layout) .magritte-xsmall___8iEkS_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover{
140
+ --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-hovered-v25-1-1);
141
141
  }
142
- body:not(.magritte-old-layout) .magritte-xsmall___8iEkS_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-content___5eg6m_4-3-43{
143
- color:var(--magritte-color-component-input-text-state-label-hovered-v25-0-1);
142
+ body:not(.magritte-old-layout) .magritte-xsmall___8iEkS_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-content___5eg6m_4-3-45{
143
+ color:var(--magritte-color-component-input-text-state-label-hovered-v25-1-1);
144
144
  }
145
- body:not(.magritte-old-layout) .magritte-xsmall___8iEkS_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-label_elevated___N0xnk_4-3-43{
146
- color:var(--magritte-color-component-input-text-state-label-hovered-v25-0-1);
145
+ body:not(.magritte-old-layout) .magritte-xsmall___8iEkS_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-label_elevated___N0xnk_4-3-45{
146
+ color:var(--magritte-color-component-input-text-state-label-hovered-v25-1-1);
147
147
  }
148
- body:not(.magritte-old-layout) .magritte-xsmall___8iEkS_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-postfix___u4999_4-3-43{
149
- color:var(--magritte-color-component-input-text-state-postfix-hovered-v25-0-1);
148
+ body:not(.magritte-old-layout) .magritte-xsmall___8iEkS_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-postfix___u4999_4-3-45{
149
+ color:var(--magritte-color-component-input-text-state-postfix-hovered-v25-1-1);
150
150
  }
151
151
  }
152
- .magritte-xsmall___8iEkS_4-3-43:focus{
153
- --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-focused-v25-0-1);
152
+ .magritte-xsmall___8iEkS_4-3-45:focus{
153
+ --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-focused-v25-1-1);
154
154
  }
155
- .magritte-xsmall___8iEkS_4-3-43:focus .magritte-content___5eg6m_4-3-43{
156
- color:var(--magritte-color-component-input-text-state-label-focused-v25-0-1);
155
+ .magritte-xsmall___8iEkS_4-3-45:focus .magritte-content___5eg6m_4-3-45{
156
+ color:var(--magritte-color-component-input-text-state-label-focused-v25-1-1);
157
157
  }
158
- .magritte-xsmall___8iEkS_4-3-43:focus .magritte-label_elevated___N0xnk_4-3-43{
159
- color:var(--magritte-color-component-input-text-state-label-focused-v25-0-1);
158
+ .magritte-xsmall___8iEkS_4-3-45:focus .magritte-label_elevated___N0xnk_4-3-45{
159
+ color:var(--magritte-color-component-input-text-state-label-focused-v25-1-1);
160
160
  }
161
- .magritte-xsmall___8iEkS_4-3-43:focus .magritte-postfix___u4999_4-3-43{
162
- color:var(--magritte-color-component-input-text-state-postfix-focused-v25-0-1);
161
+ .magritte-xsmall___8iEkS_4-3-45:focus .magritte-postfix___u4999_4-3-45{
162
+ color:var(--magritte-color-component-input-text-state-postfix-focused-v25-1-1);
163
163
  }
164
- .magritte-small___DphY3_4-3-43,
165
- .magritte-medium___0kuIk_4-3-43,
166
- .magritte-large___1eRM6_4-3-43{
164
+ .magritte-small___DphY3_4-3-45,
165
+ .magritte-medium___0kuIk_4-3-45,
166
+ .magritte-large___1eRM6_4-3-45{
167
167
  box-sizing:border-box;
168
- box-shadow:inset 0 0 0 1px var(--magritte-color-component-input-stroke-field-v25-0-1);
168
+ box-shadow:inset 0 0 0 1px var(--magritte-color-component-input-stroke-field-v25-1-1);
169
169
  }
170
170
  @media (min-width: 1020px){
171
- body.magritte-old-layout .magritte-small___DphY3_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover,
172
- body.magritte-old-layout .magritte-medium___0kuIk_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover,
173
- body.magritte-old-layout .magritte-large___1eRM6_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover{
174
- background-color:var(--magritte-color-component-input-background-state-field-hovered-v25-0-1);
175
- box-shadow:inset 0 0 0 1px var(--magritte-color-component-input-stroke-state-field-hovered-v25-0-1);
176
- --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-hovered-v25-0-1);
171
+ body.magritte-old-layout .magritte-small___DphY3_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover,
172
+ body.magritte-old-layout .magritte-medium___0kuIk_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover,
173
+ body.magritte-old-layout .magritte-large___1eRM6_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover{
174
+ background-color:var(--magritte-color-component-input-background-state-field-hovered-v25-1-1);
175
+ box-shadow:inset 0 0 0 1px var(--magritte-color-component-input-stroke-state-field-hovered-v25-1-1);
176
+ --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-hovered-v25-1-1);
177
177
  }
178
- body.magritte-old-layout .magritte-small___DphY3_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-content___5eg6m_4-3-43,
179
- body.magritte-old-layout .magritte-medium___0kuIk_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-content___5eg6m_4-3-43,
180
- body.magritte-old-layout .magritte-large___1eRM6_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-content___5eg6m_4-3-43{
181
- color:var(--magritte-color-component-input-text-state-label-hovered-v25-0-1);
178
+ body.magritte-old-layout .magritte-small___DphY3_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-content___5eg6m_4-3-45,
179
+ body.magritte-old-layout .magritte-medium___0kuIk_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-content___5eg6m_4-3-45,
180
+ body.magritte-old-layout .magritte-large___1eRM6_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-content___5eg6m_4-3-45{
181
+ color:var(--magritte-color-component-input-text-state-label-hovered-v25-1-1);
182
182
  }
183
- body.magritte-old-layout .magritte-small___DphY3_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-label_elevated___N0xnk_4-3-43,
184
- body.magritte-old-layout .magritte-medium___0kuIk_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-label_elevated___N0xnk_4-3-43,
185
- body.magritte-old-layout .magritte-large___1eRM6_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-label_elevated___N0xnk_4-3-43{
186
- color:var(--magritte-color-component-input-text-state-label-hovered-v25-0-1);
183
+ body.magritte-old-layout .magritte-small___DphY3_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-label_elevated___N0xnk_4-3-45,
184
+ body.magritte-old-layout .magritte-medium___0kuIk_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-label_elevated___N0xnk_4-3-45,
185
+ body.magritte-old-layout .magritte-large___1eRM6_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-label_elevated___N0xnk_4-3-45{
186
+ color:var(--magritte-color-component-input-text-state-label-hovered-v25-1-1);
187
187
  }
188
- body.magritte-old-layout .magritte-small___DphY3_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-postfix___u4999_4-3-43,
189
- body.magritte-old-layout .magritte-medium___0kuIk_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-postfix___u4999_4-3-43,
190
- body.magritte-old-layout .magritte-large___1eRM6_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-postfix___u4999_4-3-43{
191
- color:var(--magritte-color-component-input-text-state-postfix-hovered-v25-0-1);
188
+ body.magritte-old-layout .magritte-small___DphY3_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-postfix___u4999_4-3-45,
189
+ body.magritte-old-layout .magritte-medium___0kuIk_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-postfix___u4999_4-3-45,
190
+ body.magritte-old-layout .magritte-large___1eRM6_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-postfix___u4999_4-3-45{
191
+ color:var(--magritte-color-component-input-text-state-postfix-hovered-v25-1-1);
192
192
  }
193
193
  }
194
194
  @media (min-width: 1024px){
195
- body:not(.magritte-old-layout) .magritte-small___DphY3_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover,
196
- body:not(.magritte-old-layout) .magritte-medium___0kuIk_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover,
197
- body:not(.magritte-old-layout) .magritte-large___1eRM6_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover{
198
- background-color:var(--magritte-color-component-input-background-state-field-hovered-v25-0-1);
199
- box-shadow:inset 0 0 0 1px var(--magritte-color-component-input-stroke-state-field-hovered-v25-0-1);
200
- --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-hovered-v25-0-1);
195
+ body:not(.magritte-old-layout) .magritte-small___DphY3_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover,
196
+ body:not(.magritte-old-layout) .magritte-medium___0kuIk_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover,
197
+ body:not(.magritte-old-layout) .magritte-large___1eRM6_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover{
198
+ background-color:var(--magritte-color-component-input-background-state-field-hovered-v25-1-1);
199
+ box-shadow:inset 0 0 0 1px var(--magritte-color-component-input-stroke-state-field-hovered-v25-1-1);
200
+ --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-hovered-v25-1-1);
201
201
  }
202
- body:not(.magritte-old-layout) .magritte-small___DphY3_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-content___5eg6m_4-3-43,
203
- body:not(.magritte-old-layout) .magritte-medium___0kuIk_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-content___5eg6m_4-3-43,
204
- body:not(.magritte-old-layout) .magritte-large___1eRM6_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-content___5eg6m_4-3-43{
205
- color:var(--magritte-color-component-input-text-state-label-hovered-v25-0-1);
202
+ body:not(.magritte-old-layout) .magritte-small___DphY3_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-content___5eg6m_4-3-45,
203
+ body:not(.magritte-old-layout) .magritte-medium___0kuIk_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-content___5eg6m_4-3-45,
204
+ body:not(.magritte-old-layout) .magritte-large___1eRM6_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-content___5eg6m_4-3-45{
205
+ color:var(--magritte-color-component-input-text-state-label-hovered-v25-1-1);
206
206
  }
207
- body:not(.magritte-old-layout) .magritte-small___DphY3_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-label_elevated___N0xnk_4-3-43,
208
- body:not(.magritte-old-layout) .magritte-medium___0kuIk_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-label_elevated___N0xnk_4-3-43,
209
- body:not(.magritte-old-layout) .magritte-large___1eRM6_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-label_elevated___N0xnk_4-3-43{
210
- color:var(--magritte-color-component-input-text-state-label-hovered-v25-0-1);
207
+ body:not(.magritte-old-layout) .magritte-small___DphY3_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-label_elevated___N0xnk_4-3-45,
208
+ body:not(.magritte-old-layout) .magritte-medium___0kuIk_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-label_elevated___N0xnk_4-3-45,
209
+ body:not(.magritte-old-layout) .magritte-large___1eRM6_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-label_elevated___N0xnk_4-3-45{
210
+ color:var(--magritte-color-component-input-text-state-label-hovered-v25-1-1);
211
211
  }
212
- body:not(.magritte-old-layout) .magritte-small___DphY3_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-postfix___u4999_4-3-43,
213
- body:not(.magritte-old-layout) .magritte-medium___0kuIk_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-postfix___u4999_4-3-43,
214
- body:not(.magritte-old-layout) .magritte-large___1eRM6_4-3-43:not(:focus):not(.magritte-applied___jrfWs_4-3-43):not(.magritte-disabled___ZTuRA_4-3-43):hover .magritte-postfix___u4999_4-3-43{
215
- color:var(--magritte-color-component-input-text-state-postfix-hovered-v25-0-1);
212
+ body:not(.magritte-old-layout) .magritte-small___DphY3_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-postfix___u4999_4-3-45,
213
+ body:not(.magritte-old-layout) .magritte-medium___0kuIk_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-postfix___u4999_4-3-45,
214
+ body:not(.magritte-old-layout) .magritte-large___1eRM6_4-3-45:not(:focus):not(.magritte-applied___jrfWs_4-3-45):not(.magritte-disabled___ZTuRA_4-3-45):hover .magritte-postfix___u4999_4-3-45{
215
+ color:var(--magritte-color-component-input-text-state-postfix-hovered-v25-1-1);
216
216
  }
217
217
  }
218
- .magritte-small___DphY3_4-3-43:focus,
219
- .magritte-medium___0kuIk_4-3-43:focus,
220
- .magritte-large___1eRM6_4-3-43:focus{
221
- background-color:var(--magritte-color-component-input-background-state-field-focused-v25-0-1);
222
- box-shadow:inset 0 0 0 2px var(--magritte-color-component-input-stroke-state-field-focused-v25-0-1);
223
- --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-focused-v25-0-1);
224
- }
225
- .magritte-small___DphY3_4-3-43:focus .magritte-content___5eg6m_4-3-43,
226
- .magritte-medium___0kuIk_4-3-43:focus .magritte-content___5eg6m_4-3-43,
227
- .magritte-large___1eRM6_4-3-43:focus .magritte-content___5eg6m_4-3-43{
228
- color:var(--magritte-color-component-input-text-state-label-focused-v25-0-1);
229
- }
230
- .magritte-small___DphY3_4-3-43:focus .magritte-label_elevated___N0xnk_4-3-43,
231
- .magritte-medium___0kuIk_4-3-43:focus .magritte-label_elevated___N0xnk_4-3-43,
232
- .magritte-large___1eRM6_4-3-43:focus .magritte-label_elevated___N0xnk_4-3-43{
233
- color:var(--magritte-color-component-input-text-state-label-focused-v25-0-1);
234
- }
235
- .magritte-small___DphY3_4-3-43:focus .magritte-postfix___u4999_4-3-43,
236
- .magritte-medium___0kuIk_4-3-43:focus .magritte-postfix___u4999_4-3-43,
237
- .magritte-large___1eRM6_4-3-43:focus .magritte-postfix___u4999_4-3-43{
238
- color:var(--magritte-color-component-input-text-state-postfix-focused-v25-0-1);
239
- }
240
- .magritte-small___DphY3_4-3-43{
218
+ .magritte-small___DphY3_4-3-45:focus,
219
+ .magritte-medium___0kuIk_4-3-45:focus,
220
+ .magritte-large___1eRM6_4-3-45:focus{
221
+ background-color:var(--magritte-color-component-input-background-state-field-focused-v25-1-1);
222
+ box-shadow:inset 0 0 0 2px var(--magritte-color-component-input-stroke-state-field-focused-v25-1-1);
223
+ --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-focused-v25-1-1);
224
+ }
225
+ .magritte-small___DphY3_4-3-45:focus .magritte-content___5eg6m_4-3-45,
226
+ .magritte-medium___0kuIk_4-3-45:focus .magritte-content___5eg6m_4-3-45,
227
+ .magritte-large___1eRM6_4-3-45:focus .magritte-content___5eg6m_4-3-45{
228
+ color:var(--magritte-color-component-input-text-state-label-focused-v25-1-1);
229
+ }
230
+ .magritte-small___DphY3_4-3-45:focus .magritte-label_elevated___N0xnk_4-3-45,
231
+ .magritte-medium___0kuIk_4-3-45:focus .magritte-label_elevated___N0xnk_4-3-45,
232
+ .magritte-large___1eRM6_4-3-45:focus .magritte-label_elevated___N0xnk_4-3-45{
233
+ color:var(--magritte-color-component-input-text-state-label-focused-v25-1-1);
234
+ }
235
+ .magritte-small___DphY3_4-3-45:focus .magritte-postfix___u4999_4-3-45,
236
+ .magritte-medium___0kuIk_4-3-45:focus .magritte-postfix___u4999_4-3-45,
237
+ .magritte-large___1eRM6_4-3-45:focus .magritte-postfix___u4999_4-3-45{
238
+ color:var(--magritte-color-component-input-text-state-postfix-focused-v25-1-1);
239
+ }
240
+ .magritte-small___DphY3_4-3-45{
241
241
  padding:10px 12px;
242
242
  font-family:"hh sans";
243
243
  font-weight:400;
@@ -248,7 +248,7 @@
248
248
  text-transform:none;
249
249
  text-decoration:none;
250
250
  }
251
- .magritte-medium___0kuIk_4-3-43{
251
+ .magritte-medium___0kuIk_4-3-45{
252
252
  padding:12px 16px;
253
253
  font-family:"hh sans";
254
254
  font-weight:400;
@@ -259,7 +259,7 @@
259
259
  text-transform:none;
260
260
  text-decoration:none;
261
261
  }
262
- .magritte-large___1eRM6_4-3-43{
262
+ .magritte-large___1eRM6_4-3-45{
263
263
  padding:16px;
264
264
  font-family:"hh sans";
265
265
  font-weight:400;
@@ -270,160 +270,160 @@
270
270
  text-transform:none;
271
271
  text-decoration:none;
272
272
  }
273
- .magritte-applied___jrfWs_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43).magritte-small___DphY3_4-3-43:not(.magritte-invalid___Xlbyg_4-3-43),
274
- .magritte-applied___jrfWs_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43).magritte-medium___0kuIk_4-3-43:not(.magritte-invalid___Xlbyg_4-3-43),
275
- .magritte-applied___jrfWs_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43).magritte-large___1eRM6_4-3-43:not(.magritte-invalid___Xlbyg_4-3-43){
276
- box-shadow:inset 0 0 0 2px var(--magritte-color-component-input-stroke-state-field-applied-v25-0-1);
273
+ .magritte-applied___jrfWs_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45).magritte-small___DphY3_4-3-45:not(.magritte-invalid___Xlbyg_4-3-45),
274
+ .magritte-applied___jrfWs_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45).magritte-medium___0kuIk_4-3-45:not(.magritte-invalid___Xlbyg_4-3-45),
275
+ .magritte-applied___jrfWs_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45).magritte-large___1eRM6_4-3-45:not(.magritte-invalid___Xlbyg_4-3-45){
276
+ box-shadow:inset 0 0 0 2px var(--magritte-color-component-input-stroke-state-field-applied-v25-1-1);
277
277
  }
278
- .magritte-applied___jrfWs_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43) .magritte-icon___HbC0r_4-3-43{
279
- --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-content-applied-v25-0-1);
278
+ .magritte-applied___jrfWs_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45) .magritte-icon___HbC0r_4-3-45{
279
+ --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-content-applied-v25-1-1);
280
280
  }
281
- .magritte-applied___jrfWs_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43) .magritte-content___5eg6m_4-3-43{
282
- color:var(--magritte-color-component-input-text-content-v25-0-1);
281
+ .magritte-applied___jrfWs_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45) .magritte-content___5eg6m_4-3-45{
282
+ color:var(--magritte-color-component-input-text-content-v25-1-1);
283
283
  }
284
- .magritte-invalid___Xlbyg_4-3-43.magritte-small___DphY3_4-3-43,
285
- .magritte-invalid___Xlbyg_4-3-43.magritte-medium___0kuIk_4-3-43,
286
- .magritte-invalid___Xlbyg_4-3-43.magritte-large___1eRM6_4-3-43{
287
- background-color:var(--magritte-color-component-input-background-state-field-invalid-v25-0-1);
288
- box-shadow:inset 0 0 0 1px var(--magritte-color-component-input-stroke-state-field-invalid-v25-0-1);
289
- --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-invalid-v25-0-1);
284
+ .magritte-invalid___Xlbyg_4-3-45.magritte-small___DphY3_4-3-45,
285
+ .magritte-invalid___Xlbyg_4-3-45.magritte-medium___0kuIk_4-3-45,
286
+ .magritte-invalid___Xlbyg_4-3-45.magritte-large___1eRM6_4-3-45{
287
+ background-color:var(--magritte-color-component-input-background-state-field-invalid-v25-1-1);
288
+ box-shadow:inset 0 0 0 1px var(--magritte-color-component-input-stroke-state-field-invalid-v25-1-1);
289
+ --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-invalid-v25-1-1);
290
290
  }
291
- .magritte-invalid___Xlbyg_4-3-43.magritte-small___DphY3_4-3-43 .magritte-content___5eg6m_4-3-43,
292
- .magritte-invalid___Xlbyg_4-3-43.magritte-medium___0kuIk_4-3-43 .magritte-content___5eg6m_4-3-43,
293
- .magritte-invalid___Xlbyg_4-3-43.magritte-large___1eRM6_4-3-43 .magritte-content___5eg6m_4-3-43{
294
- color:var(--magritte-color-component-input-text-state-label-invalid-v25-0-1);
291
+ .magritte-invalid___Xlbyg_4-3-45.magritte-small___DphY3_4-3-45 .magritte-content___5eg6m_4-3-45,
292
+ .magritte-invalid___Xlbyg_4-3-45.magritte-medium___0kuIk_4-3-45 .magritte-content___5eg6m_4-3-45,
293
+ .magritte-invalid___Xlbyg_4-3-45.magritte-large___1eRM6_4-3-45 .magritte-content___5eg6m_4-3-45{
294
+ color:var(--magritte-color-component-input-text-state-label-invalid-v25-1-1);
295
295
  }
296
- .magritte-invalid___Xlbyg_4-3-43.magritte-small___DphY3_4-3-43 .magritte-label_elevated___N0xnk_4-3-43,
297
- .magritte-invalid___Xlbyg_4-3-43.magritte-medium___0kuIk_4-3-43 .magritte-label_elevated___N0xnk_4-3-43,
298
- .magritte-invalid___Xlbyg_4-3-43.magritte-large___1eRM6_4-3-43 .magritte-label_elevated___N0xnk_4-3-43{
299
- color:var(--magritte-color-component-input-text-state-label-invalid-v25-0-1);
296
+ .magritte-invalid___Xlbyg_4-3-45.magritte-small___DphY3_4-3-45 .magritte-label_elevated___N0xnk_4-3-45,
297
+ .magritte-invalid___Xlbyg_4-3-45.magritte-medium___0kuIk_4-3-45 .magritte-label_elevated___N0xnk_4-3-45,
298
+ .magritte-invalid___Xlbyg_4-3-45.magritte-large___1eRM6_4-3-45 .magritte-label_elevated___N0xnk_4-3-45{
299
+ color:var(--magritte-color-component-input-text-state-label-invalid-v25-1-1);
300
300
  }
301
- .magritte-invalid___Xlbyg_4-3-43.magritte-small___DphY3_4-3-43 .magritte-postfix___u4999_4-3-43,
302
- .magritte-invalid___Xlbyg_4-3-43.magritte-medium___0kuIk_4-3-43 .magritte-postfix___u4999_4-3-43,
303
- .magritte-invalid___Xlbyg_4-3-43.magritte-large___1eRM6_4-3-43 .magritte-postfix___u4999_4-3-43{
304
- color:var(--magritte-color-component-input-text-state-postfix-invalid-v25-0-1);
301
+ .magritte-invalid___Xlbyg_4-3-45.magritte-small___DphY3_4-3-45 .magritte-postfix___u4999_4-3-45,
302
+ .magritte-invalid___Xlbyg_4-3-45.magritte-medium___0kuIk_4-3-45 .magritte-postfix___u4999_4-3-45,
303
+ .magritte-invalid___Xlbyg_4-3-45.magritte-large___1eRM6_4-3-45 .magritte-postfix___u4999_4-3-45{
304
+ color:var(--magritte-color-component-input-text-state-postfix-invalid-v25-1-1);
305
305
  }
306
306
  @media (min-width: 1020px){
307
- body.magritte-old-layout .magritte-invalid___Xlbyg_4-3-43.magritte-small___DphY3_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43):not(:focus):hover,
308
- body.magritte-old-layout .magritte-invalid___Xlbyg_4-3-43.magritte-medium___0kuIk_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43):not(:focus):hover,
309
- body.magritte-old-layout .magritte-invalid___Xlbyg_4-3-43.magritte-large___1eRM6_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43):not(:focus):hover{
310
- box-shadow:inset 0 0 0 1px var(--magritte-color-component-input-stroke-state-field-invalid-v25-0-1);
307
+ body.magritte-old-layout .magritte-invalid___Xlbyg_4-3-45.magritte-small___DphY3_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45):not(:focus):hover,
308
+ body.magritte-old-layout .magritte-invalid___Xlbyg_4-3-45.magritte-medium___0kuIk_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45):not(:focus):hover,
309
+ body.magritte-old-layout .magritte-invalid___Xlbyg_4-3-45.magritte-large___1eRM6_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45):not(:focus):hover{
310
+ box-shadow:inset 0 0 0 1px var(--magritte-color-component-input-stroke-state-field-invalid-v25-1-1);
311
311
  }
312
312
  }
313
313
  @media (min-width: 1024px){
314
- body:not(.magritte-old-layout) .magritte-invalid___Xlbyg_4-3-43.magritte-small___DphY3_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43):not(:focus):hover,
315
- body:not(.magritte-old-layout) .magritte-invalid___Xlbyg_4-3-43.magritte-medium___0kuIk_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43):not(:focus):hover,
316
- body:not(.magritte-old-layout) .magritte-invalid___Xlbyg_4-3-43.magritte-large___1eRM6_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43):not(:focus):hover{
317
- box-shadow:inset 0 0 0 1px var(--magritte-color-component-input-stroke-state-field-invalid-v25-0-1);
314
+ body:not(.magritte-old-layout) .magritte-invalid___Xlbyg_4-3-45.magritte-small___DphY3_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45):not(:focus):hover,
315
+ body:not(.magritte-old-layout) .magritte-invalid___Xlbyg_4-3-45.magritte-medium___0kuIk_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45):not(:focus):hover,
316
+ body:not(.magritte-old-layout) .magritte-invalid___Xlbyg_4-3-45.magritte-large___1eRM6_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45):not(:focus):hover{
317
+ box-shadow:inset 0 0 0 1px var(--magritte-color-component-input-stroke-state-field-invalid-v25-1-1);
318
318
  }
319
319
  }
320
- .magritte-invalid___Xlbyg_4-3-43.focus-visible{
321
- outline:var(--magritte-color-component-input-stroke-state-negative-focused-accessible-v25-0-1) solid 4px;
320
+ .magritte-invalid___Xlbyg_4-3-45.focus-visible{
321
+ outline:var(--magritte-color-component-input-stroke-state-negative-focused-accessible-v25-1-1) solid 4px;
322
322
  }
323
- .magritte-disabled___ZTuRA_4-3-43{
323
+ .magritte-disabled___ZTuRA_4-3-45{
324
324
  cursor:not-allowed;
325
325
  }
326
- .magritte-disabled___ZTuRA_4-3-43.magritte-xsmall___8iEkS_4-3-43{
327
- --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-disabled-v25-0-1);
326
+ .magritte-disabled___ZTuRA_4-3-45.magritte-xsmall___8iEkS_4-3-45{
327
+ --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-disabled-v25-1-1);
328
328
  }
329
- .magritte-disabled___ZTuRA_4-3-43.magritte-xsmall___8iEkS_4-3-43 .magritte-content___5eg6m_4-3-43{
330
- color:var(--magritte-color-component-input-text-state-label-disabled-v25-0-1);
329
+ .magritte-disabled___ZTuRA_4-3-45.magritte-xsmall___8iEkS_4-3-45 .magritte-content___5eg6m_4-3-45{
330
+ color:var(--magritte-color-component-input-text-state-label-disabled-v25-1-1);
331
331
  }
332
- .magritte-disabled___ZTuRA_4-3-43.magritte-xsmall___8iEkS_4-3-43 .magritte-label_elevated___N0xnk_4-3-43{
333
- color:var(--magritte-color-component-input-text-state-label-disabled-v25-0-1);
332
+ .magritte-disabled___ZTuRA_4-3-45.magritte-xsmall___8iEkS_4-3-45 .magritte-label_elevated___N0xnk_4-3-45{
333
+ color:var(--magritte-color-component-input-text-state-label-disabled-v25-1-1);
334
334
  }
335
- .magritte-disabled___ZTuRA_4-3-43.magritte-xsmall___8iEkS_4-3-43 .magritte-postfix___u4999_4-3-43{
336
- color:var(--magritte-color-component-input-text-state-postfix-disabled-v25-0-1);
335
+ .magritte-disabled___ZTuRA_4-3-45.magritte-xsmall___8iEkS_4-3-45 .magritte-postfix___u4999_4-3-45{
336
+ color:var(--magritte-color-component-input-text-state-postfix-disabled-v25-1-1);
337
337
  }
338
- .magritte-disabled___ZTuRA_4-3-43.magritte-small___DphY3_4-3-43,
339
- .magritte-disabled___ZTuRA_4-3-43.magritte-medium___0kuIk_4-3-43,
340
- .magritte-disabled___ZTuRA_4-3-43.magritte-large___1eRM6_4-3-43{
341
- background-color:var(--magritte-color-component-input-background-state-field-disabled-v25-0-1);
342
- box-shadow:inset 0 0 0 1px var(--magritte-color-component-input-stroke-state-field-disabled-v25-0-1);
343
- --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-disabled-v25-0-1);
338
+ .magritte-disabled___ZTuRA_4-3-45.magritte-small___DphY3_4-3-45,
339
+ .magritte-disabled___ZTuRA_4-3-45.magritte-medium___0kuIk_4-3-45,
340
+ .magritte-disabled___ZTuRA_4-3-45.magritte-large___1eRM6_4-3-45{
341
+ background-color:var(--magritte-color-component-input-background-state-field-disabled-v25-1-1);
342
+ box-shadow:inset 0 0 0 1px var(--magritte-color-component-input-stroke-state-field-disabled-v25-1-1);
343
+ --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-disabled-v25-1-1);
344
344
  }
345
- .magritte-disabled___ZTuRA_4-3-43.magritte-small___DphY3_4-3-43 .magritte-content___5eg6m_4-3-43,
346
- .magritte-disabled___ZTuRA_4-3-43.magritte-medium___0kuIk_4-3-43 .magritte-content___5eg6m_4-3-43,
347
- .magritte-disabled___ZTuRA_4-3-43.magritte-large___1eRM6_4-3-43 .magritte-content___5eg6m_4-3-43{
348
- color:var(--magritte-color-component-input-text-state-label-disabled-v25-0-1);
345
+ .magritte-disabled___ZTuRA_4-3-45.magritte-small___DphY3_4-3-45 .magritte-content___5eg6m_4-3-45,
346
+ .magritte-disabled___ZTuRA_4-3-45.magritte-medium___0kuIk_4-3-45 .magritte-content___5eg6m_4-3-45,
347
+ .magritte-disabled___ZTuRA_4-3-45.magritte-large___1eRM6_4-3-45 .magritte-content___5eg6m_4-3-45{
348
+ color:var(--magritte-color-component-input-text-state-label-disabled-v25-1-1);
349
349
  }
350
- .magritte-disabled___ZTuRA_4-3-43.magritte-small___DphY3_4-3-43 .magritte-label_elevated___N0xnk_4-3-43,
351
- .magritte-disabled___ZTuRA_4-3-43.magritte-medium___0kuIk_4-3-43 .magritte-label_elevated___N0xnk_4-3-43,
352
- .magritte-disabled___ZTuRA_4-3-43.magritte-large___1eRM6_4-3-43 .magritte-label_elevated___N0xnk_4-3-43{
353
- color:var(--magritte-color-component-input-text-state-label-disabled-v25-0-1);
350
+ .magritte-disabled___ZTuRA_4-3-45.magritte-small___DphY3_4-3-45 .magritte-label_elevated___N0xnk_4-3-45,
351
+ .magritte-disabled___ZTuRA_4-3-45.magritte-medium___0kuIk_4-3-45 .magritte-label_elevated___N0xnk_4-3-45,
352
+ .magritte-disabled___ZTuRA_4-3-45.magritte-large___1eRM6_4-3-45 .magritte-label_elevated___N0xnk_4-3-45{
353
+ color:var(--magritte-color-component-input-text-state-label-disabled-v25-1-1);
354
354
  }
355
- .magritte-disabled___ZTuRA_4-3-43.magritte-small___DphY3_4-3-43 .magritte-postfix___u4999_4-3-43,
356
- .magritte-disabled___ZTuRA_4-3-43.magritte-medium___0kuIk_4-3-43 .magritte-postfix___u4999_4-3-43,
357
- .magritte-disabled___ZTuRA_4-3-43.magritte-large___1eRM6_4-3-43 .magritte-postfix___u4999_4-3-43{
358
- color:var(--magritte-color-component-input-text-state-postfix-disabled-v25-0-1);
355
+ .magritte-disabled___ZTuRA_4-3-45.magritte-small___DphY3_4-3-45 .magritte-postfix___u4999_4-3-45,
356
+ .magritte-disabled___ZTuRA_4-3-45.magritte-medium___0kuIk_4-3-45 .magritte-postfix___u4999_4-3-45,
357
+ .magritte-disabled___ZTuRA_4-3-45.magritte-large___1eRM6_4-3-45 .magritte-postfix___u4999_4-3-45{
358
+ color:var(--magritte-color-component-input-text-state-postfix-disabled-v25-1-1);
359
359
  }
360
360
  @media (min-width: 1020px){
361
- body.magritte-old-layout .magritte-selected___NjQNn_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43).magritte-xsmall___8iEkS_4-3-43:hover:not(.magritte-disabled___ZTuRA_4-3-43) .magritte-content___5eg6m_4-3-43,
362
- body.magritte-old-layout .magritte-selected___NjQNn_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43).magritte-small___DphY3_4-3-43:hover:not(.magritte-disabled___ZTuRA_4-3-43) .magritte-content___5eg6m_4-3-43,
363
- body.magritte-old-layout .magritte-selected___NjQNn_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43).magritte-medium___0kuIk_4-3-43:hover:not(.magritte-disabled___ZTuRA_4-3-43) .magritte-content___5eg6m_4-3-43,
364
- body.magritte-old-layout .magritte-selected___NjQNn_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43).magritte-large___1eRM6_4-3-43:hover:not(.magritte-disabled___ZTuRA_4-3-43) .magritte-content___5eg6m_4-3-43{
365
- color:var(--magritte-color-component-input-text-state-content-hovered-v25-0-1);
361
+ body.magritte-old-layout .magritte-selected___NjQNn_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45).magritte-xsmall___8iEkS_4-3-45:hover:not(.magritte-disabled___ZTuRA_4-3-45) .magritte-content___5eg6m_4-3-45,
362
+ body.magritte-old-layout .magritte-selected___NjQNn_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45).magritte-small___DphY3_4-3-45:hover:not(.magritte-disabled___ZTuRA_4-3-45) .magritte-content___5eg6m_4-3-45,
363
+ body.magritte-old-layout .magritte-selected___NjQNn_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45).magritte-medium___0kuIk_4-3-45:hover:not(.magritte-disabled___ZTuRA_4-3-45) .magritte-content___5eg6m_4-3-45,
364
+ body.magritte-old-layout .magritte-selected___NjQNn_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45).magritte-large___1eRM6_4-3-45:hover:not(.magritte-disabled___ZTuRA_4-3-45) .magritte-content___5eg6m_4-3-45{
365
+ color:var(--magritte-color-component-input-text-state-content-hovered-v25-1-1);
366
366
  }
367
367
  }
368
368
  @media (min-width: 1024px){
369
- body:not(.magritte-old-layout) .magritte-selected___NjQNn_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43).magritte-xsmall___8iEkS_4-3-43:hover:not(.magritte-disabled___ZTuRA_4-3-43) .magritte-content___5eg6m_4-3-43,
370
- body:not(.magritte-old-layout) .magritte-selected___NjQNn_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43).magritte-small___DphY3_4-3-43:hover:not(.magritte-disabled___ZTuRA_4-3-43) .magritte-content___5eg6m_4-3-43,
371
- body:not(.magritte-old-layout) .magritte-selected___NjQNn_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43).magritte-medium___0kuIk_4-3-43:hover:not(.magritte-disabled___ZTuRA_4-3-43) .magritte-content___5eg6m_4-3-43,
372
- body:not(.magritte-old-layout) .magritte-selected___NjQNn_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43).magritte-large___1eRM6_4-3-43:hover:not(.magritte-disabled___ZTuRA_4-3-43) .magritte-content___5eg6m_4-3-43{
373
- color:var(--magritte-color-component-input-text-state-content-hovered-v25-0-1);
369
+ body:not(.magritte-old-layout) .magritte-selected___NjQNn_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45).magritte-xsmall___8iEkS_4-3-45:hover:not(.magritte-disabled___ZTuRA_4-3-45) .magritte-content___5eg6m_4-3-45,
370
+ body:not(.magritte-old-layout) .magritte-selected___NjQNn_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45).magritte-small___DphY3_4-3-45:hover:not(.magritte-disabled___ZTuRA_4-3-45) .magritte-content___5eg6m_4-3-45,
371
+ body:not(.magritte-old-layout) .magritte-selected___NjQNn_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45).magritte-medium___0kuIk_4-3-45:hover:not(.magritte-disabled___ZTuRA_4-3-45) .magritte-content___5eg6m_4-3-45,
372
+ body:not(.magritte-old-layout) .magritte-selected___NjQNn_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45).magritte-large___1eRM6_4-3-45:hover:not(.magritte-disabled___ZTuRA_4-3-45) .magritte-content___5eg6m_4-3-45{
373
+ color:var(--magritte-color-component-input-text-state-content-hovered-v25-1-1);
374
374
  }
375
375
  }
376
- .magritte-selected___NjQNn_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43) .magritte-content___5eg6m_4-3-43{
377
- color:var(--magritte-color-component-input-text-content-v25-0-1);
376
+ .magritte-selected___NjQNn_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45) .magritte-content___5eg6m_4-3-45{
377
+ color:var(--magritte-color-component-input-text-content-v25-1-1);
378
378
  }
379
- .magritte-content___5eg6m_4-3-43{
379
+ .magritte-content___5eg6m_4-3-45{
380
380
  min-width:0;
381
- color:var(--magritte-color-component-input-text-placeholder-v25-0-1);
381
+ color:var(--magritte-color-component-input-text-placeholder-v25-1-1);
382
382
  padding-right:8px;
383
383
  }
384
- .magritte-invalid___Xlbyg_4-3-43.magritte-xsmall___8iEkS_4-3-43 .magritte-content___5eg6m_4-3-43{
385
- color:var(--magritte-color-component-input-text-state-content-invalid-attention-v25-0-1);
384
+ .magritte-invalid___Xlbyg_4-3-45.magritte-xsmall___8iEkS_4-3-45 .magritte-content___5eg6m_4-3-45{
385
+ color:var(--magritte-color-component-input-text-state-content-invalid-attention-v25-1-1);
386
386
  }
387
387
  @media (min-width: 1020px){
388
- body.magritte-old-layout .magritte-invalid___Xlbyg_4-3-43.magritte-xsmall___8iEkS_4-3-43 .magritte-content___5eg6m_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43):not(:focus):hover{
389
- color:var(--magritte-color-component-input-text-state-content-invalid-attention-v25-0-1);
388
+ body.magritte-old-layout .magritte-invalid___Xlbyg_4-3-45.magritte-xsmall___8iEkS_4-3-45 .magritte-content___5eg6m_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45):not(:focus):hover{
389
+ color:var(--magritte-color-component-input-text-state-content-invalid-attention-v25-1-1);
390
390
  }
391
391
  }
392
392
  @media (min-width: 1024px){
393
- body:not(.magritte-old-layout) .magritte-invalid___Xlbyg_4-3-43.magritte-xsmall___8iEkS_4-3-43 .magritte-content___5eg6m_4-3-43:not(.magritte-disabled___ZTuRA_4-3-43):not(:focus):hover{
394
- color:var(--magritte-color-component-input-text-state-content-invalid-attention-v25-0-1);
393
+ body:not(.magritte-old-layout) .magritte-invalid___Xlbyg_4-3-45.magritte-xsmall___8iEkS_4-3-45 .magritte-content___5eg6m_4-3-45:not(.magritte-disabled___ZTuRA_4-3-45):not(:focus):hover{
394
+ color:var(--magritte-color-component-input-text-state-content-invalid-attention-v25-1-1);
395
395
  }
396
396
  }
397
- .magritte-content_medium___VnlIy_4-3-43,
398
- .magritte-content_large___byZTA_4-3-43{
397
+ .magritte-content_medium___VnlIy_4-3-45,
398
+ .magritte-content_large___byZTA_4-3-45{
399
399
  padding-right:12px;
400
400
  }
401
- .magritte-content_label-can-be-elevated___HRkpl_4-3-43{
401
+ .magritte-content_label-can-be-elevated___HRkpl_4-3-45{
402
402
  height:22px;
403
403
  }
404
- .magritte-values-wrapper___yQbdl_4-3-43{
404
+ .magritte-values-wrapper___yQbdl_4-3-45{
405
405
  display:flex;
406
406
  }
407
- .magritte-values-wrapper_label-can-elevated___A0bzp_4-3-43{
407
+ .magritte-values-wrapper_label-can-elevated___A0bzp_4-3-45{
408
408
  margin-top:calc(0px - ((18px + 22px) / 2) + (18px / 2));
409
409
  }
410
- .magritte-values___6wj-v_4-3-43{
410
+ .magritte-values___6wj-v_4-3-45{
411
411
  white-space:nowrap;
412
412
  text-overflow:ellipsis;
413
413
  text-align:left;
414
414
  overflow:hidden;
415
415
  flex:0 1 auto;
416
416
  }
417
- .magritte-label___VsUEF_4-3-43{
417
+ .magritte-label___VsUEF_4-3-45{
418
418
  text-align:left;
419
419
  transition-property:transform, color, font-size, letter-spacing;
420
- transition-duration:var(--magritte-semantic-animation-ease-in-out-100-duration-v25-0-1);
421
- transition-timing-function:var(--magritte-semantic-animation-ease-in-out-100-timing-function-v25-0-1);
420
+ transition-duration:var(--magritte-semantic-animation-ease-in-out-100-duration-v25-1-1);
421
+ transition-timing-function:var(--magritte-semantic-animation-ease-in-out-100-timing-function-v25-1-1);
422
422
  white-space:nowrap;
423
423
  text-overflow:ellipsis;
424
424
  overflow:hidden;
425
425
  }
426
- .magritte-label_elevated___N0xnk_4-3-43{
426
+ .magritte-label_elevated___N0xnk_4-3-45{
427
427
  font-family:"hh sans";
428
428
  font-weight:400;
429
429
  line-height:18px;
@@ -432,30 +432,30 @@
432
432
  text-indent:0px;
433
433
  text-transform:none;
434
434
  text-decoration:none;
435
- color:var(--magritte-color-component-input-text-label-v25-0-1);
435
+ color:var(--magritte-color-component-input-text-label-v25-1-1);
436
436
  margin-top:2px;
437
437
  transform:translateY(calc(0px - ((18px + 22px) / 2) + (18px / 2)));
438
438
  }
439
- .magritte-icon___HbC0r_4-3-43{
439
+ .magritte-icon___HbC0r_4-3-45{
440
440
  display:inline-flex;
441
441
  margin-left:auto;
442
442
  border-radius:12px;
443
443
  transition-property:transform;
444
- transition-duration:var(--magritte-semantic-animation-ease-in-out-100-duration-v25-0-1);
445
- transition-timing-function:var(--magritte-semantic-animation-ease-in-out-100-timing-function-v25-0-1);
444
+ transition-duration:var(--magritte-semantic-animation-ease-in-out-100-duration-v25-1-1);
445
+ transition-timing-function:var(--magritte-semantic-animation-ease-in-out-100-timing-function-v25-1-1);
446
446
  }
447
- .magritte-icon___HbC0r_4-3-43.focus-visible{
448
- outline:var(--magritte-color-component-input-stroke-state-accent-focused-accessible-v25-0-1) solid 4px;
447
+ .magritte-icon___HbC0r_4-3-45.focus-visible{
448
+ outline:var(--magritte-color-component-input-stroke-state-accent-focused-accessible-v25-1-1) solid 4px;
449
449
  }
450
- .magritte-icon_expanded___ggr1u_4-3-43{
450
+ .magritte-icon_expanded___ggr1u_4-3-45{
451
451
  transform:rotate(-180deg);
452
- --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-focused-v25-0-1);
452
+ --magritte-ui-icon-color-override:var(--magritte-color-component-input-icon-state-chevron-focused-v25-1-1);
453
453
  }
454
- .magritte-postfix___u4999_4-3-43{
455
- color:var(--magritte-color-component-input-text-postfix-v25-0-1);
454
+ .magritte-postfix___u4999_4-3-45{
455
+ color:var(--magritte-color-component-input-text-postfix-v25-1-1);
456
456
  padding-left:6px;
457
457
  flex:1 0 auto;
458
458
  }
459
- .magritte-postfix_metric___jO3qH_4-3-43{
459
+ .magritte-postfix_metric___jO3qH_4-3-45{
460
460
  display:none;
461
461
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-trigger",
3
- "version": "4.3.43",
3
+ "version": "4.3.45",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -12,7 +12,7 @@
12
12
  "prepack": "yarn root:prepack $(pwd)",
13
13
  "postpublish": "yarn root:postpublish $(pwd)",
14
14
  "stylelint-check": "yarn root:stylelint-check $(pwd)",
15
- "eslint-check": "yarn root:eslint-check $(pwd)",
15
+ "lint-check": "yarn root:lint-check $(pwd)",
16
16
  "ts-config": "yarn root:ts-config $(pwd)",
17
17
  "ts-check": "yarn root:ts-check $(pwd)",
18
18
  "test": "yarn root:test $(pwd)"
@@ -25,14 +25,14 @@
25
25
  "react": ">=18.2.0"
26
26
  },
27
27
  "dependencies": {
28
- "@hh.ru/magritte-common-func-utils": "1.3.15",
29
- "@hh.ru/magritte-common-keyboard": "4.3.5",
30
- "@hh.ru/magritte-common-resize": "0.2.2",
31
- "@hh.ru/magritte-common-use-multiple-refs": "1.1.11",
32
- "@hh.ru/magritte-design-tokens": "25.0.1",
33
- "@hh.ru/magritte-ui-button": "7.3.3",
34
- "@hh.ru/magritte-ui-form-helper": "2.1.21",
35
- "@hh.ru/magritte-ui-icon": "15.1.1"
28
+ "@hh.ru/magritte-common-func-utils": "1.3.16",
29
+ "@hh.ru/magritte-common-keyboard": "4.3.6",
30
+ "@hh.ru/magritte-common-resize": "0.2.3",
31
+ "@hh.ru/magritte-common-use-multiple-refs": "1.1.12",
32
+ "@hh.ru/magritte-design-tokens": "25.1.1",
33
+ "@hh.ru/magritte-ui-button": "7.3.5",
34
+ "@hh.ru/magritte-ui-form-helper": "2.1.23",
35
+ "@hh.ru/magritte-ui-icon": "15.1.3"
36
36
  },
37
- "gitHead": "278281e65d7efba3ff0ec88b1d36fbc9ac82ac14"
37
+ "gitHead": "46d606980abbb523a41afba452c0a852ee902864"
38
38
  }