@hh.ru/magritte-ui-tabs 5.4.9 → 5.4.10

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.
@@ -9,7 +9,7 @@ import { useScrollContext } from '@hh.ru/magritte-ui-scrollable-container';
9
9
  import { TooltipHover } from '@hh.ru/magritte-ui-tooltip';
10
10
  import { Text } from '@hh.ru/magritte-ui-typography';
11
11
 
12
- var styles = {"tabs":"magritte-tabs___VcV8C_5-4-9","tab-wrapper":"magritte-tab-wrapper___9j9qk_5-4-9","tabWrapper":"magritte-tab-wrapper___9j9qk_5-4-9","tab":"magritte-tab___B0BeU_5-4-9","tab_selected":"magritte-tab_selected___w9PT2_5-4-9","tabSelected":"magritte-tab_selected___w9PT2_5-4-9","tab-wrapper_primary":"magritte-tab-wrapper_primary___yt3sT_5-4-9","tabWrapperPrimary":"magritte-tab-wrapper_primary___yt3sT_5-4-9","tab_primary":"magritte-tab_primary___3Of2H_5-4-9","tabPrimary":"magritte-tab_primary___3Of2H_5-4-9","tab-label":"magritte-tab-label___nFmge_5-4-9","tabLabel":"magritte-tab-label___nFmge_5-4-9","postfix":"magritte-postfix___30ZxD_5-4-9","tab-content":"magritte-tab-content___onvTJ_5-4-9","tabContent":"magritte-tab-content___onvTJ_5-4-9","tab-wrapper_secondary":"magritte-tab-wrapper_secondary___avLln_5-4-9","tabWrapperSecondary":"magritte-tab-wrapper_secondary___avLln_5-4-9","tab_secondary":"magritte-tab_secondary___-00LL_5-4-9","tabSecondary":"magritte-tab_secondary___-00LL_5-4-9","postfix-wrapper":"magritte-postfix-wrapper___1dORq_5-4-9","postfixWrapper":"magritte-postfix-wrapper___1dORq_5-4-9","indicator-wrapper":"magritte-indicator-wrapper___Q68i7_5-4-9","indicatorWrapper":"magritte-indicator-wrapper___Q68i7_5-4-9","indicator":"magritte-indicator___irp4W_5-4-9","animate":"magritte-animate___5GxTP_5-4-9"};
12
+ var styles = {"tabs":"magritte-tabs___VcV8C_5-4-10","tab-wrapper":"magritte-tab-wrapper___9j9qk_5-4-10","tabWrapper":"magritte-tab-wrapper___9j9qk_5-4-10","tab":"magritte-tab___B0BeU_5-4-10","tab_selected":"magritte-tab_selected___w9PT2_5-4-10","tabSelected":"magritte-tab_selected___w9PT2_5-4-10","tab-wrapper_primary":"magritte-tab-wrapper_primary___yt3sT_5-4-10","tabWrapperPrimary":"magritte-tab-wrapper_primary___yt3sT_5-4-10","tab_primary":"magritte-tab_primary___3Of2H_5-4-10","tabPrimary":"magritte-tab_primary___3Of2H_5-4-10","tab-label":"magritte-tab-label___nFmge_5-4-10","tabLabel":"magritte-tab-label___nFmge_5-4-10","postfix":"magritte-postfix___30ZxD_5-4-10","tab-content":"magritte-tab-content___onvTJ_5-4-10","tabContent":"magritte-tab-content___onvTJ_5-4-10","tab-wrapper_secondary":"magritte-tab-wrapper_secondary___avLln_5-4-10","tabWrapperSecondary":"magritte-tab-wrapper_secondary___avLln_5-4-10","tab_secondary":"magritte-tab_secondary___-00LL_5-4-10","tabSecondary":"magritte-tab_secondary___-00LL_5-4-10","postfix-wrapper":"magritte-postfix-wrapper___1dORq_5-4-10","postfixWrapper":"magritte-postfix-wrapper___1dORq_5-4-10","indicator-wrapper":"magritte-indicator-wrapper___Q68i7_5-4-10","indicatorWrapper":"magritte-indicator-wrapper___Q68i7_5-4-10","indicator":"magritte-indicator___irp4W_5-4-10","animate":"magritte-animate___5GxTP_5-4-10"};
13
13
 
14
14
  const TabForwardRefRenderFunc = ({ Element = 'button', badge = false, children, 'data-qa': dataQa = 'tab', focused, hidden, id, itemRef, mode = 'primary', onClick, onSelect, postfix, selected, ...buttonProps }, ref) => {
15
15
  const activatorRef = useRef(null);
@@ -76,4 +76,4 @@ const TabComponent = forwardRef(TabForwardRefRenderFunc);
76
76
  const Tab = memo(TabComponent);
77
77
 
78
78
  export { Tab as T, styles as s };
79
- //# sourceMappingURL=Tab-BJDarDf8.js.map
79
+ //# sourceMappingURL=Tab-DPm4qFq9.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tab-BJDarDf8.js","sources":["../src/Tab.tsx"],"sourcesContent":["import { forwardRef, memo, useCallback, useLayoutEffect, useRef, useState } from 'react';\nimport classnames from 'classnames';\n\nimport '@hh.ru/magritte-common-focus-visible';\nimport { useMultipleRefs } from '@hh.ru/magritte-common-use-multiple-refs';\nimport type { PolymorphicForwardRefRenderFunc, PolymorphicComponentWithRef } from '@hh.ru/magritte-types';\nimport { Badge, ComponentWithBadge } from '@hh.ru/magritte-ui-badge';\nimport { useScrollContext } from '@hh.ru/magritte-ui-scrollable-container';\nimport type { TabProps } from '@hh.ru/magritte-ui-tabs/types';\nimport { TooltipHover } from '@hh.ru/magritte-ui-tooltip';\nimport { Text } from '@hh.ru/magritte-ui-typography';\n\nimport styles from './tabs.less';\n\nconst TabForwardRefRenderFunc: PolymorphicForwardRefRenderFunc<TabProps, 'button'> = (\n {\n Element = 'button',\n badge = false,\n children,\n 'data-qa': dataQa = 'tab',\n focused,\n hidden,\n id,\n itemRef,\n mode = 'primary',\n onClick,\n onSelect,\n postfix,\n selected,\n ...buttonProps\n },\n ref\n) => {\n const activatorRef = useRef<HTMLSpanElement>(null);\n const elementRef = useRef<HTMLElement | null>(null);\n const labelRef = useRef<HTMLSpanElement>(null);\n const mouseEventRef = useRef(false);\n\n const { removeItem, registerItem, scrollToItem } = useScrollContext();\n\n const scrollItemCallback = useCallback(\n (element: HTMLElement | null) => {\n if (element !== null) {\n elementRef.current = element;\n registerItem(elementRef);\n } else {\n removeItem(elementRef);\n elementRef.current = null;\n }\n },\n [registerItem, removeItem]\n );\n\n const elementRefCallback = useMultipleRefs<HTMLElement>(scrollItemCallback, itemRef, ref as React.Ref<HTMLElement>);\n\n const [showTooltip, setShowTooltip] = useState(false);\n\n useLayoutEffect(() => {\n if (focused && elementRef.current) {\n elementRef.current.focus();\n }\n }, [focused]);\n\n useLayoutEffect(() => {\n if (selected && elementRef.current) {\n scrollToItem(elementRef);\n if (showTooltip && labelRef.current) {\n labelRef.current.dispatchEvent(new MouseEvent('mouseout', { bubbles: true, cancelable: true }));\n }\n }\n }, [selected, scrollToItem, showTooltip]);\n\n useLayoutEffect(() => {\n if (\n mode === 'secondary' &&\n labelRef.current !== null &&\n labelRef.current.scrollWidth > labelRef.current.offsetWidth\n ) {\n setShowTooltip(true);\n }\n }, [mode, setShowTooltip]);\n\n const handleFocus = useCallback(() => {\n if (!mouseEventRef.current) {\n scrollToItem(elementRef);\n }\n }, [scrollToItem]);\n\n const setMouseEventRef = useCallback(() => (mouseEventRef.current = true), []);\n\n const resetMouseEventRef = useCallback(() => (mouseEventRef.current = false), []);\n\n const handleWheel = useCallback(() => {\n if (labelRef?.current) {\n labelRef.current.dispatchEvent(new MouseEvent('mouseout', { bubbles: true, cancelable: true }));\n }\n }, []);\n\n if (hidden) {\n return null;\n }\n\n const handleClick: React.MouseEventHandler<HTMLElement> = (event) => {\n onSelect?.(id);\n onClick?.(event);\n };\n\n const content = (\n <span className={styles.tabContent} ref={activatorRef}>\n <span className={styles.tabLabel} ref={labelRef}>\n <Text Element=\"span\" typography={mode === 'primary' ? 'subtitle-1-semibold' : 'label-3-regular'}>\n {children}\n </Text>\n </span>\n {postfix && (\n <span className={styles.postfixWrapper} data-qa=\"tab-postfix\">\n <Text\n Element=\"span\"\n typography={mode === 'primary' ? 'subtitle-1-semibold' : 'subtitle-2-semibold'}\n >\n <span className={styles.postfix}>{postfix}</span>\n </Text>\n </span>\n )}\n </span>\n );\n\n const tabElement = (\n <Element\n {...buttonProps}\n type=\"button\"\n ref={elementRefCallback}\n role=\"tab\"\n data-qa={dataQa}\n onClick={handleClick}\n className={classnames(styles.tab, { [styles.tabSelected]: selected, [styles[`tab_${mode}`]]: !!mode })}\n aria-selected={selected}\n onFocus={handleFocus}\n onMouseDown={setMouseEventRef}\n onMouseLeave={resetMouseEventRef}\n onMouseUp={resetMouseEventRef}\n onWheel={showTooltip ? handleWheel : undefined}\n >\n {content}\n {showTooltip && (\n <TooltipHover activatorRef={activatorRef} placement=\"top-center\">\n {children}\n </TooltipHover>\n )}\n </Element>\n );\n\n return (\n <div className={classnames(styles.tabWrapper, { [styles[`tab-wrapper_${mode}`]]: !!mode })}>\n {badge && mode === 'primary' ? (\n <ComponentWithBadge badge={<Badge size=\"extra-small\" />} offset={2}>\n {tabElement}\n </ComponentWithBadge>\n ) : (\n tabElement\n )}\n </div>\n );\n};\n\nconst TabComponent: PolymorphicComponentWithRef<TabProps, 'button'> = forwardRef(TabForwardRefRenderFunc);\n\nexport const Tab: PolymorphicComponentWithRef<TabProps, 'button'> = memo(TabComponent);\n"],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;;AAcA,MAAM,uBAAuB,GAAwD,CACjF,EACI,OAAO,GAAG,QAAQ,EAClB,KAAK,GAAG,KAAK,EACb,QAAQ,EACR,SAAS,EAAE,MAAM,GAAG,KAAK,EACzB,OAAO,EACP,MAAM,EACN,EAAE,EACF,OAAO,EACP,IAAI,GAAG,SAAS,EAChB,OAAO,EACP,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,GAAG,WAAW,EACjB,EACD,GAAG,KACH;AACA,IAAA,MAAM,YAAY,GAAG,MAAM,CAAkB,IAAI,CAAC,CAAC;AACnD,IAAA,MAAM,UAAU,GAAG,MAAM,CAAqB,IAAI,CAAC,CAAC;AACpD,IAAA,MAAM,QAAQ,GAAG,MAAM,CAAkB,IAAI,CAAC,CAAC;AAC/C,IAAA,MAAM,aAAa,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAEpC,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,GAAG,gBAAgB,EAAE,CAAC;AAEtE,IAAA,MAAM,kBAAkB,GAAG,WAAW,CAClC,CAAC,OAA2B,KAAI;AAC5B,QAAA,IAAI,OAAO,KAAK,IAAI,EAAE;AAClB,YAAA,UAAU,CAAC,OAAO,GAAG,OAAO,CAAC;YAC7B,YAAY,CAAC,UAAU,CAAC,CAAC;SAC5B;a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AAA,EAAA,IAAI,CAAE,CAAA,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAA,QAAA,EACrF,KAAK,IAAI,IAAI,KAAK,SAAS,IACxBA,GAAC,CAAA,kBAAkB,EAAC,EAAA,KAAK,EAAEA,GAAA,CAAC,KAAK,EAAA,EAAC,IAAI,EAAC,aAAa,EAAG,CAAA,EAAE,MAAM,EAAE,CAAC,EAAA,QAAA,EAC7D,UAAU,EAAA,CACM,KAErB,UAAU,CACb,EAAA,CACC,EACR;AACN,CAAC,CAAC;AAEF,MAAM,YAAY,GAAoD,UAAU,CAAC,uBAAuB,CAAC,CAAC;MAE7F,GAAG,GAAoD,IAAI,CAAC,YAAY;;;;"}
1
+ {"version":3,"file":"Tab-DPm4qFq9.js","sources":["../src/Tab.tsx"],"sourcesContent":["import { forwardRef, memo, useCallback, useLayoutEffect, useRef, useState } from 'react';\nimport classnames from 'classnames';\n\nimport '@hh.ru/magritte-common-focus-visible';\nimport { useMultipleRefs } from '@hh.ru/magritte-common-use-multiple-refs';\nimport type { PolymorphicForwardRefRenderFunc, PolymorphicComponentWithRef } from '@hh.ru/magritte-types';\nimport { Badge, ComponentWithBadge } from '@hh.ru/magritte-ui-badge';\nimport { useScrollContext } from '@hh.ru/magritte-ui-scrollable-container';\nimport type { TabProps } from '@hh.ru/magritte-ui-tabs/types';\nimport { TooltipHover } from '@hh.ru/magritte-ui-tooltip';\nimport { Text } from '@hh.ru/magritte-ui-typography';\n\nimport styles from './tabs.less';\n\nconst TabForwardRefRenderFunc: PolymorphicForwardRefRenderFunc<TabProps, 'button'> = (\n {\n Element = 'button',\n badge = false,\n children,\n 'data-qa': dataQa = 'tab',\n focused,\n hidden,\n id,\n itemRef,\n mode = 'primary',\n onClick,\n onSelect,\n postfix,\n selected,\n ...buttonProps\n },\n ref\n) => {\n const activatorRef = useRef<HTMLSpanElement>(null);\n const elementRef = useRef<HTMLElement | null>(null);\n const labelRef = useRef<HTMLSpanElement>(null);\n const mouseEventRef = useRef(false);\n\n const { removeItem, registerItem, scrollToItem } = useScrollContext();\n\n const scrollItemCallback = useCallback(\n (element: HTMLElement | null) => {\n if (element !== null) {\n elementRef.current = element;\n registerItem(elementRef);\n } else {\n removeItem(elementRef);\n elementRef.current = null;\n }\n },\n [registerItem, removeItem]\n );\n\n const elementRefCallback = useMultipleRefs<HTMLElement>(scrollItemCallback, itemRef, ref as React.Ref<HTMLElement>);\n\n const [showTooltip, setShowTooltip] = useState(false);\n\n useLayoutEffect(() => {\n if (focused && elementRef.current) {\n elementRef.current.focus();\n }\n }, [focused]);\n\n useLayoutEffect(() => {\n if (selected && elementRef.current) {\n scrollToItem(elementRef);\n if (showTooltip && labelRef.current) {\n labelRef.current.dispatchEvent(new MouseEvent('mouseout', { bubbles: true, cancelable: true }));\n }\n }\n }, [selected, scrollToItem, showTooltip]);\n\n useLayoutEffect(() => {\n if (\n mode === 'secondary' &&\n labelRef.current !== null &&\n labelRef.current.scrollWidth > labelRef.current.offsetWidth\n ) {\n setShowTooltip(true);\n }\n }, [mode, setShowTooltip]);\n\n const handleFocus = useCallback(() => {\n if (!mouseEventRef.current) {\n scrollToItem(elementRef);\n }\n }, [scrollToItem]);\n\n const setMouseEventRef = useCallback(() => (mouseEventRef.current = true), []);\n\n const resetMouseEventRef = useCallback(() => (mouseEventRef.current = false), []);\n\n const handleWheel = useCallback(() => {\n if (labelRef?.current) {\n labelRef.current.dispatchEvent(new MouseEvent('mouseout', { bubbles: true, cancelable: true }));\n }\n }, []);\n\n if (hidden) {\n return null;\n }\n\n const handleClick: React.MouseEventHandler<HTMLElement> = (event) => {\n onSelect?.(id);\n onClick?.(event);\n };\n\n const content = (\n <span className={styles.tabContent} ref={activatorRef}>\n <span className={styles.tabLabel} ref={labelRef}>\n <Text Element=\"span\" typography={mode === 'primary' ? 'subtitle-1-semibold' : 'label-3-regular'}>\n {children}\n </Text>\n </span>\n {postfix && (\n <span className={styles.postfixWrapper} data-qa=\"tab-postfix\">\n <Text\n Element=\"span\"\n typography={mode === 'primary' ? 'subtitle-1-semibold' : 'subtitle-2-semibold'}\n >\n <span className={styles.postfix}>{postfix}</span>\n </Text>\n </span>\n )}\n </span>\n );\n\n const tabElement = (\n <Element\n {...buttonProps}\n type=\"button\"\n ref={elementRefCallback}\n role=\"tab\"\n data-qa={dataQa}\n onClick={handleClick}\n className={classnames(styles.tab, { [styles.tabSelected]: selected, [styles[`tab_${mode}`]]: !!mode })}\n aria-selected={selected}\n onFocus={handleFocus}\n onMouseDown={setMouseEventRef}\n onMouseLeave={resetMouseEventRef}\n onMouseUp={resetMouseEventRef}\n onWheel={showTooltip ? handleWheel : undefined}\n >\n {content}\n {showTooltip && (\n <TooltipHover activatorRef={activatorRef} placement=\"top-center\">\n {children}\n </TooltipHover>\n )}\n </Element>\n );\n\n return (\n <div className={classnames(styles.tabWrapper, { [styles[`tab-wrapper_${mode}`]]: !!mode })}>\n {badge && mode === 'primary' ? (\n <ComponentWithBadge badge={<Badge size=\"extra-small\" />} offset={2}>\n {tabElement}\n </ComponentWithBadge>\n ) : (\n tabElement\n )}\n </div>\n );\n};\n\nconst TabComponent: PolymorphicComponentWithRef<TabProps, 'button'> = forwardRef(TabForwardRefRenderFunc);\n\nexport const Tab: PolymorphicComponentWithRef<TabProps, 'button'> = memo(TabComponent);\n"],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;;AAcA,MAAM,uBAAuB,GAAwD,CACjF,EACI,OAAO,GAAG,QAAQ,EAClB,KAAK,GAAG,KAAK,EACb,QAAQ,EACR,SAAS,EAAE,MAAM,GAAG,KAAK,EACzB,OAAO,EACP,MAAM,EACN,EAAE,EACF,OAAO,EACP,IAAI,GAAG,SAAS,EAChB,OAAO,EACP,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,GAAG,WAAW,EACjB,EACD,GAAG,KACH;AACA,IAAA,MAAM,YAAY,GAAG,MAAM,CAAkB,IAAI,CAAC,CAAC;AACnD,IAAA,MAAM,UAAU,GAAG,MAAM,CA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gBAAgB,EAC7B,YAAY,EAAE,kBAAkB,EAChC,SAAS,EAAE,kBAAkB,EAC7B,OAAO,EAAE,WAAW,GAAG,WAAW,GAAG,SAAS,EAE7C,QAAA,EAAA,CAAA,OAAO,EACP,WAAW,KACRC,GAAA,CAAC,YAAY,EAAA,EAAC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAC,YAAY,EAC3D,QAAA,EAAA,QAAQ,EACE,CAAA,CAClB,CACK,EAAA,CAAA,CACb,CAAC;AAEF,IAAA,QACIA,GAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,CAAC,MAAM,CAAC,CAAe,YAAA,EAAA,IAAI,CAAE,CAAA,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAA,QAAA,EACrF,KAAK,IAAI,IAAI,KAAK,SAAS,IACxBA,GAAC,CAAA,kBAAkB,EAAC,EAAA,KAAK,EAAEA,GAAA,CAAC,KAAK,EAAA,EAAC,IAAI,EAAC,aAAa,EAAG,CAAA,EAAE,MAAM,EAAE,CAAC,EAAA,QAAA,EAC7D,UAAU,EAAA,CACM,KAErB,UAAU,CACb,EAAA,CACC,EACR;AACN,CAAC,CAAC;AAEF,MAAM,YAAY,GAAoD,UAAU,CAAC,uBAAuB,CAAC,CAAC;MAE7F,GAAG,GAAoD,IAAI,CAAC,YAAY;;;;"}
package/Tab.js CHANGED
@@ -8,5 +8,5 @@ import '@hh.ru/magritte-ui-badge';
8
8
  import '@hh.ru/magritte-ui-scrollable-container';
9
9
  import '@hh.ru/magritte-ui-tooltip';
10
10
  import '@hh.ru/magritte-ui-typography';
11
- export { T as Tab } from './Tab-BJDarDf8.js';
11
+ export { T as Tab } from './Tab-DPm4qFq9.js';
12
12
  //# sourceMappingURL=Tab.js.map
package/Tabs.js CHANGED
@@ -2,7 +2,7 @@ import './index.css';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import { useState, useRef, useCallback } from 'react';
4
4
  import { ScrollableContainer } from '@hh.ru/magritte-ui-scrollable-container';
5
- import { s as styles, T as Tab } from './Tab-BJDarDf8.js';
5
+ import { s as styles, T as Tab } from './Tab-DPm4qFq9.js';
6
6
  import { useTabs } from './useTabs.js';
7
7
  import 'classnames';
8
8
  import '@hh.ru/magritte-common-focus-visible';
package/index.css CHANGED
@@ -1,598 +1,68 @@
1
1
  :root{
2
- --magritte-color-component-tabs-stroke-state-focused-accessible-v20-1-0:#0070ff7a;
3
- --magritte-color-component-tabs-background-selected-v20-1-0:#000000;
4
- --magritte-color-component-tabs-background-unselected-v20-1-0:#F1F4F9;
5
- --magritte-color-component-tabs-background-state-unselected-pressed-v20-1-0:#F1F4F9;
6
- --magritte-color-component-tabs-background-state-unselected-focused-v20-1-0:#F1F4F9;
7
- --magritte-color-component-tabs-background-state-selected-focused-v20-1-0:#000000;
8
- --magritte-color-component-tabs-background-state-unselected-hovered-v20-1-0:#DCE3EB;
9
- --magritte-color-component-tabs-text-selected-v20-1-0:#ffffff;
10
- --magritte-color-component-tabs-text-unselected-v20-1-0:#6a7885;
11
- --magritte-color-component-tabs-postfix-text-selected-v20-1-0:#BBC8D4;
12
- --magritte-color-component-tabs-postfix-text-unselected-v20-1-0:#AABBCA;
13
- --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v20-1-0:#0070ff7a;
14
- --magritte-color-component-secondary-tabs-text-selected-v20-1-0:#000000;
15
- --magritte-color-component-secondary-tabs-text-unselected-v20-1-0:#768694;
16
- --magritte-color-component-secondary-tabs-indicator-selected-v20-1-0:#000000;
17
- --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v20-1-0:#000000;
18
- --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v20-1-0:#000000;
19
- --magritte-color-component-secondary-tabs-postfix-text-selected-v20-1-0:#AABBCA;
20
- --magritte-color-component-secondary-tabs-postfix-text-unselected-v20-1-0:#AABBCA;
2
+ --magritte-color-component-tabs-stroke-state-focused-accessible-v21-0-0:#0070ff7a;
3
+ --magritte-color-component-tabs-background-selected-v21-0-0:#000000;
4
+ --magritte-color-component-tabs-background-unselected-v21-0-0:#F1F4F9;
5
+ --magritte-color-component-tabs-background-state-unselected-pressed-v21-0-0:#F1F4F9;
6
+ --magritte-color-component-tabs-background-state-unselected-focused-v21-0-0:#F1F4F9;
7
+ --magritte-color-component-tabs-background-state-selected-focused-v21-0-0:#000000;
8
+ --magritte-color-component-tabs-background-state-unselected-hovered-v21-0-0:#DCE3EB;
9
+ --magritte-color-component-tabs-text-selected-v21-0-0:#ffffff;
10
+ --magritte-color-component-tabs-text-unselected-v21-0-0:#6a7885;
11
+ --magritte-color-component-tabs-postfix-text-selected-v21-0-0:#BBC8D4;
12
+ --magritte-color-component-tabs-postfix-text-unselected-v21-0-0:#AABBCA;
13
+ --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v21-0-0:#0070ff7a;
14
+ --magritte-color-component-secondary-tabs-text-selected-v21-0-0:#000000;
15
+ --magritte-color-component-secondary-tabs-text-unselected-v21-0-0:#768694;
16
+ --magritte-color-component-secondary-tabs-indicator-selected-v21-0-0:#000000;
17
+ --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v21-0-0:#000000;
18
+ --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v21-0-0:#000000;
19
+ --magritte-color-component-secondary-tabs-postfix-text-selected-v21-0-0:#AABBCA;
20
+ --magritte-color-component-secondary-tabs-postfix-text-unselected-v21-0-0:#AABBCA;
21
21
  }
22
22
  :root{
23
- --magritte-typography-title-1-semibold-font-family-v20-1-0:"hh sans";
24
- --magritte-typography-title-1-semibold-font-weight-v20-1-0:500;
25
- --magritte-typography-title-1-semibold-line-height-v20-1-0:60px;
26
- --magritte-typography-title-1-semibold-font-size-v20-1-0:48px;
27
- --magritte-typography-title-1-semibold-letter-spacing-v20-1-0:-0.02em;
28
- --magritte-typography-title-1-semibold-text-indent-v20-1-0:0px;
29
- --magritte-typography-title-1-semibold-text-transform-v20-1-0:none;
30
- --magritte-typography-title-1-semibold-text-decoration-v20-1-0:none;
31
- --magritte-typography-title-2-semibold-font-family-v20-1-0:"hh sans";
32
- --magritte-typography-title-2-semibold-font-weight-v20-1-0:500;
33
- --magritte-typography-title-2-semibold-line-height-v20-1-0:48px;
34
- --magritte-typography-title-2-semibold-font-size-v20-1-0:36px;
35
- --magritte-typography-title-2-semibold-letter-spacing-v20-1-0:-0.0175em;
36
- --magritte-typography-title-2-semibold-text-indent-v20-1-0:0px;
37
- --magritte-typography-title-2-semibold-text-transform-v20-1-0:none;
38
- --magritte-typography-title-2-semibold-text-decoration-v20-1-0:none;
39
- --magritte-typography-title-3-semibold-font-family-v20-1-0:"hh sans";
40
- --magritte-typography-title-3-semibold-font-weight-v20-1-0:500;
41
- --magritte-typography-title-3-semibold-line-height-v20-1-0:40px;
42
- --magritte-typography-title-3-semibold-font-size-v20-1-0:28px;
43
- --magritte-typography-title-3-semibold-letter-spacing-v20-1-0:-0.0125em;
44
- --magritte-typography-title-3-semibold-text-indent-v20-1-0:0px;
45
- --magritte-typography-title-3-semibold-text-transform-v20-1-0:none;
46
- --magritte-typography-title-3-semibold-text-decoration-v20-1-0:none;
47
- --magritte-typography-title-4-semibold-font-family-v20-1-0:"hh sans";
48
- --magritte-typography-title-4-semibold-font-weight-v20-1-0:500;
49
- --magritte-typography-title-4-semibold-line-height-v20-1-0:32px;
50
- --magritte-typography-title-4-semibold-font-size-v20-1-0:22px;
51
- --magritte-typography-title-4-semibold-letter-spacing-v20-1-0:-0.0075em;
52
- --magritte-typography-title-4-semibold-text-indent-v20-1-0:0px;
53
- --magritte-typography-title-4-semibold-text-transform-v20-1-0:none;
54
- --magritte-typography-title-4-semibold-text-decoration-v20-1-0:none;
55
- --magritte-typography-title-5-semibold-font-family-v20-1-0:"hh sans";
56
- --magritte-typography-title-5-semibold-font-weight-v20-1-0:500;
57
- --magritte-typography-title-5-semibold-line-height-v20-1-0:26px;
58
- --magritte-typography-title-5-semibold-font-size-v20-1-0:18px;
59
- --magritte-typography-title-5-semibold-letter-spacing-v20-1-0:0em;
60
- --magritte-typography-title-5-semibold-text-indent-v20-1-0:0px;
61
- --magritte-typography-title-5-semibold-text-transform-v20-1-0:none;
62
- --magritte-typography-title-5-semibold-text-decoration-v20-1-0:none;
63
- --magritte-typography-subtitle-1-semibold-font-family-v20-1-0:"hh sans";
64
- --magritte-typography-subtitle-1-semibold-font-weight-v20-1-0:500;
65
- --magritte-typography-subtitle-1-semibold-line-height-v20-1-0:22px;
66
- --magritte-typography-subtitle-1-semibold-font-size-v20-1-0:16px;
67
- --magritte-typography-subtitle-1-semibold-letter-spacing-v20-1-0:0em;
68
- --magritte-typography-subtitle-1-semibold-text-indent-v20-1-0:0px;
69
- --magritte-typography-subtitle-1-semibold-text-transform-v20-1-0:none;
70
- --magritte-typography-subtitle-1-semibold-text-decoration-v20-1-0:none;
71
- --magritte-typography-subtitle-2-semibold-font-family-v20-1-0:"hh sans";
72
- --magritte-typography-subtitle-2-semibold-font-weight-v20-1-0:500;
73
- --magritte-typography-subtitle-2-semibold-line-height-v20-1-0:20px;
74
- --magritte-typography-subtitle-2-semibold-font-size-v20-1-0:14px;
75
- --magritte-typography-subtitle-2-semibold-letter-spacing-v20-1-0:0.005em;
76
- --magritte-typography-subtitle-2-semibold-text-indent-v20-1-0:0px;
77
- --magritte-typography-subtitle-2-semibold-text-transform-v20-1-0:none;
78
- --magritte-typography-subtitle-2-semibold-text-decoration-v20-1-0:none;
79
- --magritte-typography-subtitle-3-semibold-font-family-v20-1-0:"hh sans";
80
- --magritte-typography-subtitle-3-semibold-font-weight-v20-1-0:500;
81
- --magritte-typography-subtitle-3-semibold-line-height-v20-1-0:18px;
82
- --magritte-typography-subtitle-3-semibold-font-size-v20-1-0:12px;
83
- --magritte-typography-subtitle-3-semibold-letter-spacing-v20-1-0:0.01em;
84
- --magritte-typography-subtitle-3-semibold-text-indent-v20-1-0:0px;
85
- --magritte-typography-subtitle-3-semibold-text-transform-v20-1-0:none;
86
- --magritte-typography-subtitle-3-semibold-text-decoration-v20-1-0:none;
87
- --magritte-typography-subtitle-4-semibold-font-family-v20-1-0:"hh sans";
88
- --magritte-typography-subtitle-4-semibold-font-weight-v20-1-0:500;
89
- --magritte-typography-subtitle-4-semibold-line-height-v20-1-0:16px;
90
- --magritte-typography-subtitle-4-semibold-font-size-v20-1-0:10px;
91
- --magritte-typography-subtitle-4-semibold-letter-spacing-v20-1-0:0.015em;
92
- --magritte-typography-subtitle-4-semibold-text-indent-v20-1-0:0px;
93
- --magritte-typography-subtitle-4-semibold-text-transform-v20-1-0:none;
94
- --magritte-typography-subtitle-4-semibold-text-decoration-v20-1-0:none;
95
- --magritte-typography-label-1-regular-font-family-v20-1-0:"hh sans";
96
- --magritte-typography-label-1-regular-font-weight-v20-1-0:400;
97
- --magritte-typography-label-1-regular-line-height-v20-1-0:26px;
98
- --magritte-typography-label-1-regular-font-size-v20-1-0:18px;
99
- --magritte-typography-label-1-regular-letter-spacing-v20-1-0:-0.005em;
100
- --magritte-typography-label-1-regular-text-indent-v20-1-0:0px;
101
- --magritte-typography-label-1-regular-text-transform-v20-1-0:none;
102
- --magritte-typography-label-1-regular-text-decoration-v20-1-0:none;
103
- --magritte-typography-label-2-regular-font-family-v20-1-0:"hh sans";
104
- --magritte-typography-label-2-regular-font-weight-v20-1-0:400;
105
- --magritte-typography-label-2-regular-line-height-v20-1-0:22px;
106
- --magritte-typography-label-2-regular-font-size-v20-1-0:16px;
107
- --magritte-typography-label-2-regular-letter-spacing-v20-1-0:0em;
108
- --magritte-typography-label-2-regular-text-indent-v20-1-0:0px;
109
- --magritte-typography-label-2-regular-text-transform-v20-1-0:none;
110
- --magritte-typography-label-2-regular-text-decoration-v20-1-0:none;
111
- --magritte-typography-label-3-regular-font-family-v20-1-0:"hh sans";
112
- --magritte-typography-label-3-regular-font-weight-v20-1-0:400;
113
- --magritte-typography-label-3-regular-line-height-v20-1-0:20px;
114
- --magritte-typography-label-3-regular-font-size-v20-1-0:14px;
115
- --magritte-typography-label-3-regular-letter-spacing-v20-1-0:0.005em;
116
- --magritte-typography-label-3-regular-text-indent-v20-1-0:0px;
117
- --magritte-typography-label-3-regular-text-transform-v20-1-0:none;
118
- --magritte-typography-label-3-regular-text-decoration-v20-1-0:none;
119
- --magritte-typography-label-4-regular-font-family-v20-1-0:"hh sans";
120
- --magritte-typography-label-4-regular-font-weight-v20-1-0:400;
121
- --magritte-typography-label-4-regular-line-height-v20-1-0:18px;
122
- --magritte-typography-label-4-regular-font-size-v20-1-0:12px;
123
- --magritte-typography-label-4-regular-letter-spacing-v20-1-0:0.01em;
124
- --magritte-typography-label-4-regular-text-indent-v20-1-0:0px;
125
- --magritte-typography-label-4-regular-text-transform-v20-1-0:none;
126
- --magritte-typography-label-4-regular-text-decoration-v20-1-0:none;
127
- --magritte-typography-label-5-regular-font-family-v20-1-0:"hh sans";
128
- --magritte-typography-label-5-regular-font-weight-v20-1-0:400;
129
- --magritte-typography-label-5-regular-line-height-v20-1-0:14px;
130
- --magritte-typography-label-5-regular-font-size-v20-1-0:10px;
131
- --magritte-typography-label-5-regular-letter-spacing-v20-1-0:0.02em;
132
- --magritte-typography-label-5-regular-text-indent-v20-1-0:0px;
133
- --magritte-typography-label-5-regular-text-transform-v20-1-0:none;
134
- --magritte-typography-label-5-regular-text-decoration-v20-1-0:none;
135
- --magritte-typography-paragraph-1-regular-font-family-v20-1-0:"hh sans";
136
- --magritte-typography-paragraph-1-regular-font-weight-v20-1-0:400;
137
- --magritte-typography-paragraph-1-regular-line-height-v20-1-0:28px;
138
- --magritte-typography-paragraph-1-regular-font-size-v20-1-0:18px;
139
- --magritte-typography-paragraph-1-regular-letter-spacing-v20-1-0:0em;
140
- --magritte-typography-paragraph-1-regular-text-indent-v20-1-0:0px;
141
- --magritte-typography-paragraph-1-regular-text-transform-v20-1-0:none;
142
- --magritte-typography-paragraph-1-regular-text-decoration-v20-1-0:none;
143
- --magritte-typography-paragraph-2-regular-font-family-v20-1-0:"hh sans";
144
- --magritte-typography-paragraph-2-regular-font-weight-v20-1-0:400;
145
- --magritte-typography-paragraph-2-regular-line-height-v20-1-0:26px;
146
- --magritte-typography-paragraph-2-regular-font-size-v20-1-0:16px;
147
- --magritte-typography-paragraph-2-regular-letter-spacing-v20-1-0:0.005em;
148
- --magritte-typography-paragraph-2-regular-text-indent-v20-1-0:0px;
149
- --magritte-typography-paragraph-2-regular-text-transform-v20-1-0:none;
150
- --magritte-typography-paragraph-2-regular-text-decoration-v20-1-0:none;
151
- --magritte-typography-paragraph-3-regular-font-family-v20-1-0:"hh sans";
152
- --magritte-typography-paragraph-3-regular-font-weight-v20-1-0:400;
153
- --magritte-typography-paragraph-3-regular-line-height-v20-1-0:24px;
154
- --magritte-typography-paragraph-3-regular-font-size-v20-1-0:14px;
155
- --magritte-typography-paragraph-3-regular-letter-spacing-v20-1-0:0.01em;
156
- --magritte-typography-paragraph-3-regular-text-indent-v20-1-0:0px;
157
- --magritte-typography-paragraph-3-regular-text-transform-v20-1-0:none;
158
- --magritte-typography-paragraph-3-regular-text-decoration-v20-1-0:none;
159
- --magritte-typography-paragraph-4-regular-font-family-v20-1-0:"hh sans";
160
- --magritte-typography-paragraph-4-regular-font-weight-v20-1-0:400;
161
- --magritte-typography-paragraph-4-regular-line-height-v20-1-0:22px;
162
- --magritte-typography-paragraph-4-regular-font-size-v20-1-0:12px;
163
- --magritte-typography-paragraph-4-regular-letter-spacing-v20-1-0:0.015em;
164
- --magritte-typography-paragraph-4-regular-text-indent-v20-1-0:0px;
165
- --magritte-typography-paragraph-4-regular-text-transform-v20-1-0:none;
166
- --magritte-typography-paragraph-4-regular-text-decoration-v20-1-0:none;
167
- --magritte-typography-_custom-1-semibold-font-family-v20-1-0:"hh sans";
168
- --magritte-typography-_custom-1-semibold-font-weight-v20-1-0:500;
169
- --magritte-typography-_custom-1-semibold-line-height-v20-1-0:28px;
170
- --magritte-typography-_custom-1-semibold-font-size-v20-1-0:18px;
171
- --magritte-typography-_custom-1-semibold-letter-spacing-v20-1-0:0em;
172
- --magritte-typography-_custom-1-semibold-text-indent-v20-1-0:0px;
173
- --magritte-typography-_custom-1-semibold-text-transform-v20-1-0:none;
174
- --magritte-typography-_custom-1-semibold-text-decoration-v20-1-0:none;
175
- --magritte-typography-_custom-2-semibold-font-family-v20-1-0:"hh sans";
176
- --magritte-typography-_custom-2-semibold-font-weight-v20-1-0:500;
177
- --magritte-typography-_custom-2-semibold-line-height-v20-1-0:26px;
178
- --magritte-typography-_custom-2-semibold-font-size-v20-1-0:16px;
179
- --magritte-typography-_custom-2-semibold-letter-spacing-v20-1-0:0.005em;
180
- --magritte-typography-_custom-2-semibold-text-indent-v20-1-0:0px;
181
- --magritte-typography-_custom-2-semibold-text-transform-v20-1-0:none;
182
- --magritte-typography-_custom-2-semibold-text-decoration-v20-1-0:none;
183
- --magritte-typography-_custom-3-semibold-font-family-v20-1-0:"hh sans";
184
- --magritte-typography-_custom-3-semibold-font-weight-v20-1-0:500;
185
- --magritte-typography-_custom-3-semibold-line-height-v20-1-0:24px;
186
- --magritte-typography-_custom-3-semibold-font-size-v20-1-0:14px;
187
- --magritte-typography-_custom-3-semibold-letter-spacing-v20-1-0:0.01em;
188
- --magritte-typography-_custom-3-semibold-text-indent-v20-1-0:0px;
189
- --magritte-typography-_custom-3-semibold-text-transform-v20-1-0:none;
190
- --magritte-typography-_custom-3-semibold-text-decoration-v20-1-0:none;
191
- --magritte-typography-_custom-4-semibold-font-family-v20-1-0:"hh sans";
192
- --magritte-typography-_custom-4-semibold-font-weight-v20-1-0:400;
193
- --magritte-typography-_custom-4-semibold-line-height-v20-1-0:22px;
194
- --magritte-typography-_custom-4-semibold-font-size-v20-1-0:12px;
195
- --magritte-typography-_custom-4-semibold-letter-spacing-v20-1-0:0.015em;
196
- --magritte-typography-_custom-4-semibold-text-indent-v20-1-0:0px;
197
- --magritte-typography-_custom-4-semibold-text-transform-v20-1-0:none;
198
- --magritte-typography-_custom-4-semibold-text-decoration-v20-1-0:none;
199
- --magritte-typography-_custom-5-semibold-font-family-v20-1-0:"hh sans";
200
- --magritte-typography-_custom-5-semibold-font-weight-v20-1-0:400;
201
- --magritte-typography-_custom-5-semibold-line-height-v20-1-0:12px;
202
- --magritte-typography-_custom-5-semibold-font-size-v20-1-0:10px;
203
- --magritte-typography-_custom-5-semibold-letter-spacing-v20-1-0:0.015em;
204
- --magritte-typography-_custom-5-semibold-text-indent-v20-1-0:0px;
205
- --magritte-typography-_custom-5-semibold-text-transform-v20-1-0:none;
206
- --magritte-typography-_custom-5-semibold-text-decoration-v20-1-0:none;
207
- --magritte-typography-_custom-1-medium-font-family-v20-1-0:"hh sans";
208
- --magritte-typography-_custom-1-medium-font-weight-v20-1-0:500;
209
- --magritte-typography-_custom-1-medium-line-height-v20-1-0:28px;
210
- --magritte-typography-_custom-1-medium-font-size-v20-1-0:18px;
211
- --magritte-typography-_custom-1-medium-letter-spacing-v20-1-0:0em;
212
- --magritte-typography-_custom-1-medium-text-indent-v20-1-0:0px;
213
- --magritte-typography-_custom-1-medium-text-transform-v20-1-0:none;
214
- --magritte-typography-_custom-1-medium-text-decoration-v20-1-0:none;
215
- --magritte-typography-_custom-2-medium-font-family-v20-1-0:"hh sans";
216
- --magritte-typography-_custom-2-medium-font-weight-v20-1-0:500;
217
- --magritte-typography-_custom-2-medium-line-height-v20-1-0:26px;
218
- --magritte-typography-_custom-2-medium-font-size-v20-1-0:16px;
219
- --magritte-typography-_custom-2-medium-letter-spacing-v20-1-0:0.005em;
220
- --magritte-typography-_custom-2-medium-text-indent-v20-1-0:0px;
221
- --magritte-typography-_custom-2-medium-text-transform-v20-1-0:none;
222
- --magritte-typography-_custom-2-medium-text-decoration-v20-1-0:none;
223
- --magritte-typography-_custom-3-medium-font-family-v20-1-0:"hh sans";
224
- --magritte-typography-_custom-3-medium-font-weight-v20-1-0:500;
225
- --magritte-typography-_custom-3-medium-line-height-v20-1-0:24px;
226
- --magritte-typography-_custom-3-medium-font-size-v20-1-0:14px;
227
- --magritte-typography-_custom-3-medium-letter-spacing-v20-1-0:0.01em;
228
- --magritte-typography-_custom-3-medium-text-indent-v20-1-0:0px;
229
- --magritte-typography-_custom-3-medium-text-transform-v20-1-0:none;
230
- --magritte-typography-_custom-3-medium-text-decoration-v20-1-0:none;
231
- --magritte-typography-_custom-4-medium-font-family-v20-1-0:"hh sans";
232
- --magritte-typography-_custom-4-medium-font-weight-v20-1-0:500;
233
- --magritte-typography-_custom-4-medium-line-height-v20-1-0:22px;
234
- --magritte-typography-_custom-4-medium-font-size-v20-1-0:12px;
235
- --magritte-typography-_custom-4-medium-letter-spacing-v20-1-0:0.015em;
236
- --magritte-typography-_custom-4-medium-text-indent-v20-1-0:0px;
237
- --magritte-typography-_custom-4-medium-text-transform-v20-1-0:none;
238
- --magritte-typography-_custom-4-medium-text-decoration-v20-1-0:none;
239
- --magritte-typography-_custom-5-medium-font-family-v20-1-0:"hh sans";
240
- --magritte-typography-_custom-5-medium-font-weight-v20-1-0:500;
241
- --magritte-typography-_custom-5-medium-line-height-v20-1-0:12px;
242
- --magritte-typography-_custom-5-medium-font-size-v20-1-0:10px;
243
- --magritte-typography-_custom-5-medium-letter-spacing-v20-1-0:0.015em;
244
- --magritte-typography-_custom-5-medium-text-indent-v20-1-0:0px;
245
- --magritte-typography-_custom-5-medium-text-transform-v20-1-0:none;
246
- --magritte-typography-_custom-5-medium-text-decoration-v20-1-0:none;
247
- --magritte-typography-_custom-1-italic-font-family-v20-1-0:"hh sans";
248
- --magritte-typography-_custom-1-italic-font-weight-v20-1-0:400;
249
- --magritte-typography-_custom-1-italic-line-height-v20-1-0:28px;
250
- --magritte-typography-_custom-1-italic-font-size-v20-1-0:18px;
251
- --magritte-typography-_custom-1-italic-letter-spacing-v20-1-0:0em;
252
- --magritte-typography-_custom-1-italic-text-indent-v20-1-0:0px;
253
- --magritte-typography-_custom-1-italic-text-transform-v20-1-0:none;
254
- --magritte-typography-_custom-1-italic-text-decoration-v20-1-0:none;
255
- --magritte-typography-_custom-2-italic-font-family-v20-1-0:"hh sans";
256
- --magritte-typography-_custom-2-italic-font-weight-v20-1-0:400;
257
- --magritte-typography-_custom-2-italic-line-height-v20-1-0:26px;
258
- --magritte-typography-_custom-2-italic-font-size-v20-1-0:16px;
259
- --magritte-typography-_custom-2-italic-letter-spacing-v20-1-0:0.005em;
260
- --magritte-typography-_custom-2-italic-text-indent-v20-1-0:0px;
261
- --magritte-typography-_custom-2-italic-text-transform-v20-1-0:none;
262
- --magritte-typography-_custom-2-italic-text-decoration-v20-1-0:none;
263
- --magritte-typography-_custom-3-italic-font-family-v20-1-0:"hh sans";
264
- --magritte-typography-_custom-3-italic-font-weight-v20-1-0:400;
265
- --magritte-typography-_custom-3-italic-line-height-v20-1-0:24px;
266
- --magritte-typography-_custom-3-italic-font-size-v20-1-0:14px;
267
- --magritte-typography-_custom-3-italic-letter-spacing-v20-1-0:0.01em;
268
- --magritte-typography-_custom-3-italic-text-indent-v20-1-0:0px;
269
- --magritte-typography-_custom-3-italic-text-transform-v20-1-0:none;
270
- --magritte-typography-_custom-3-italic-text-decoration-v20-1-0:none;
271
- --magritte-typography-_custom-4-italic-font-family-v20-1-0:"hh sans";
272
- --magritte-typography-_custom-4-italic-font-weight-v20-1-0:400;
273
- --magritte-typography-_custom-4-italic-line-height-v20-1-0:22px;
274
- --magritte-typography-_custom-4-italic-font-size-v20-1-0:12px;
275
- --magritte-typography-_custom-4-italic-letter-spacing-v20-1-0:0.015em;
276
- --magritte-typography-_custom-4-italic-text-indent-v20-1-0:0px;
277
- --magritte-typography-_custom-4-italic-text-transform-v20-1-0:none;
278
- --magritte-typography-_custom-4-italic-text-decoration-v20-1-0:none;
279
- --magritte-typography-_custom-5-italic-font-family-v20-1-0:"hh sans";
280
- --magritte-typography-_custom-5-italic-font-weight-v20-1-0:400;
281
- --magritte-typography-_custom-5-italic-line-height-v20-1-0:12px;
282
- --magritte-typography-_custom-5-italic-font-size-v20-1-0:10px;
283
- --magritte-typography-_custom-5-italic-letter-spacing-v20-1-0:0.015em;
284
- --magritte-typography-_custom-5-italic-text-indent-v20-1-0:0px;
285
- --magritte-typography-_custom-5-italic-text-transform-v20-1-0:none;
286
- --magritte-typography-_custom-5-italic-text-decoration-v20-1-0:none;
287
- --magritte-semantic-border-radius-form-v20-1-0:12px;
288
- --magritte-semantic-scale-pressed-v20-1-0:0.96;
289
- --magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v20-1-0:cubic-bezier(0.25, 0.1, 0.25, 1);
290
- --magritte-semantic-animation-ease-in-out-tiger-100-duration-v20-1-0:100ms;
291
- --magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v20-1-0:cubic-bezier(0.25, 0.1, 0.25, 1);
292
- --magritte-semantic-animation-ease-in-out-tiger-200-duration-v20-1-0:200ms;
293
- --magritte-static-space-0-v20-1-0:0px;
294
- --magritte-static-space-200-v20-1-0:8px;
295
- --magritte-static-space-300-v20-1-0:12px;
296
- --magritte-static-space-400-v20-1-0:16px;
297
- --magritte-static-space-600-v20-1-0:24px;
298
- --magritte-core-border-radius-25-x-v20-1-0:100px;
23
+ --magritte-semantic-border-radius-form-v21-0-0:12px;
24
+ --magritte-semantic-scale-pressed-v21-0-0:0.96;
25
+ --magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v21-0-0:cubic-bezier(0.25, 0.1, 0.25, 1);
26
+ --magritte-semantic-animation-ease-in-out-tiger-100-duration-v21-0-0:100ms;
27
+ --magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v21-0-0:cubic-bezier(0.25, 0.1, 0.25, 1);
28
+ --magritte-semantic-animation-ease-in-out-tiger-200-duration-v21-0-0:200ms;
29
+ --magritte-static-space-0-v21-0-0:0px;
30
+ --magritte-static-space-200-v21-0-0:8px;
31
+ --magritte-static-space-300-v21-0-0:12px;
32
+ --magritte-static-space-400-v21-0-0:16px;
33
+ --magritte-static-space-600-v21-0-0:24px;
34
+ --magritte-core-border-radius-25-x-v21-0-0:100px;
299
35
  }
300
36
  .magritte-night-theme{
301
- --magritte-color-component-tabs-stroke-state-focused-accessible-v20-1-0:#0070ff7a;
302
- --magritte-color-component-tabs-background-selected-v20-1-0:#ffffff;
303
- --magritte-color-component-tabs-background-unselected-v20-1-0:#303030;
304
- --magritte-color-component-tabs-background-state-unselected-pressed-v20-1-0:#303030;
305
- --magritte-color-component-tabs-background-state-unselected-focused-v20-1-0:#303030;
306
- --magritte-color-component-tabs-background-state-selected-focused-v20-1-0:#ffffff;
307
- --magritte-color-component-tabs-background-state-unselected-hovered-v20-1-0:#3B3B3B;
308
- --magritte-color-component-tabs-text-selected-v20-1-0:#000000;
309
- --magritte-color-component-tabs-text-unselected-v20-1-0:#B9B9B9;
310
- --magritte-color-component-tabs-postfix-text-selected-v20-1-0:#919191;
311
- --magritte-color-component-tabs-postfix-text-unselected-v20-1-0:#919191;
312
- --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v20-1-0:#0070ff7a;
313
- --magritte-color-component-secondary-tabs-text-selected-v20-1-0:#ffffff;
314
- --magritte-color-component-secondary-tabs-text-unselected-v20-1-0:#ABABAB;
315
- --magritte-color-component-secondary-tabs-indicator-selected-v20-1-0:#ffffff;
316
- --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v20-1-0:#ABABAB;
317
- --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v20-1-0:#ABABAB;
318
- --magritte-color-component-secondary-tabs-postfix-text-selected-v20-1-0:#919191;
319
- --magritte-color-component-secondary-tabs-postfix-text-unselected-v20-1-0:#919191;
320
- }
321
- .magritte-with-inter{
322
- --magritte-typography-title-1-semibold-font-family-v20-1-0:"Inter";
323
- --magritte-typography-title-1-semibold-font-weight-v20-1-0:600;
324
- --magritte-typography-title-1-semibold-line-height-v20-1-0:60px;
325
- --magritte-typography-title-1-semibold-font-size-v20-1-0:48px;
326
- --magritte-typography-title-1-semibold-letter-spacing-v20-1-0:-0.02em;
327
- --magritte-typography-title-1-semibold-text-indent-v20-1-0:0px;
328
- --magritte-typography-title-1-semibold-text-transform-v20-1-0:none;
329
- --magritte-typography-title-1-semibold-text-decoration-v20-1-0:none;
330
- --magritte-typography-title-2-semibold-font-family-v20-1-0:"Inter";
331
- --magritte-typography-title-2-semibold-font-weight-v20-1-0:600;
332
- --magritte-typography-title-2-semibold-line-height-v20-1-0:48px;
333
- --magritte-typography-title-2-semibold-font-size-v20-1-0:36px;
334
- --magritte-typography-title-2-semibold-letter-spacing-v20-1-0:-0.0175em;
335
- --magritte-typography-title-2-semibold-text-indent-v20-1-0:0px;
336
- --magritte-typography-title-2-semibold-text-transform-v20-1-0:none;
337
- --magritte-typography-title-2-semibold-text-decoration-v20-1-0:none;
338
- --magritte-typography-title-3-semibold-font-family-v20-1-0:"Inter";
339
- --magritte-typography-title-3-semibold-font-weight-v20-1-0:600;
340
- --magritte-typography-title-3-semibold-line-height-v20-1-0:40px;
341
- --magritte-typography-title-3-semibold-font-size-v20-1-0:28px;
342
- --magritte-typography-title-3-semibold-letter-spacing-v20-1-0:-0.0125em;
343
- --magritte-typography-title-3-semibold-text-indent-v20-1-0:0px;
344
- --magritte-typography-title-3-semibold-text-transform-v20-1-0:none;
345
- --magritte-typography-title-3-semibold-text-decoration-v20-1-0:none;
346
- --magritte-typography-title-4-semibold-font-family-v20-1-0:"Inter";
347
- --magritte-typography-title-4-semibold-font-weight-v20-1-0:600;
348
- --magritte-typography-title-4-semibold-line-height-v20-1-0:32px;
349
- --magritte-typography-title-4-semibold-font-size-v20-1-0:22px;
350
- --magritte-typography-title-4-semibold-letter-spacing-v20-1-0:-0.0075em;
351
- --magritte-typography-title-4-semibold-text-indent-v20-1-0:0px;
352
- --magritte-typography-title-4-semibold-text-transform-v20-1-0:none;
353
- --magritte-typography-title-4-semibold-text-decoration-v20-1-0:none;
354
- --magritte-typography-title-5-semibold-font-family-v20-1-0:"Inter";
355
- --magritte-typography-title-5-semibold-font-weight-v20-1-0:600;
356
- --magritte-typography-title-5-semibold-line-height-v20-1-0:26px;
357
- --magritte-typography-title-5-semibold-font-size-v20-1-0:18px;
358
- --magritte-typography-title-5-semibold-letter-spacing-v20-1-0:0em;
359
- --magritte-typography-title-5-semibold-text-indent-v20-1-0:0px;
360
- --magritte-typography-title-5-semibold-text-transform-v20-1-0:none;
361
- --magritte-typography-title-5-semibold-text-decoration-v20-1-0:none;
362
- --magritte-typography-subtitle-1-semibold-font-family-v20-1-0:"Inter";
363
- --magritte-typography-subtitle-1-semibold-font-weight-v20-1-0:600;
364
- --magritte-typography-subtitle-1-semibold-line-height-v20-1-0:22px;
365
- --magritte-typography-subtitle-1-semibold-font-size-v20-1-0:16px;
366
- --magritte-typography-subtitle-1-semibold-letter-spacing-v20-1-0:0em;
367
- --magritte-typography-subtitle-1-semibold-text-indent-v20-1-0:0px;
368
- --magritte-typography-subtitle-1-semibold-text-transform-v20-1-0:none;
369
- --magritte-typography-subtitle-1-semibold-text-decoration-v20-1-0:none;
370
- --magritte-typography-subtitle-2-semibold-font-family-v20-1-0:"Inter";
371
- --magritte-typography-subtitle-2-semibold-font-weight-v20-1-0:600;
372
- --magritte-typography-subtitle-2-semibold-line-height-v20-1-0:20px;
373
- --magritte-typography-subtitle-2-semibold-font-size-v20-1-0:14px;
374
- --magritte-typography-subtitle-2-semibold-letter-spacing-v20-1-0:0.005em;
375
- --magritte-typography-subtitle-2-semibold-text-indent-v20-1-0:0px;
376
- --magritte-typography-subtitle-2-semibold-text-transform-v20-1-0:none;
377
- --magritte-typography-subtitle-2-semibold-text-decoration-v20-1-0:none;
378
- --magritte-typography-subtitle-3-semibold-font-family-v20-1-0:"Inter";
379
- --magritte-typography-subtitle-3-semibold-font-weight-v20-1-0:600;
380
- --magritte-typography-subtitle-3-semibold-line-height-v20-1-0:18px;
381
- --magritte-typography-subtitle-3-semibold-font-size-v20-1-0:12px;
382
- --magritte-typography-subtitle-3-semibold-letter-spacing-v20-1-0:0.01em;
383
- --magritte-typography-subtitle-3-semibold-text-indent-v20-1-0:0px;
384
- --magritte-typography-subtitle-3-semibold-text-transform-v20-1-0:none;
385
- --magritte-typography-subtitle-3-semibold-text-decoration-v20-1-0:none;
386
- --magritte-typography-subtitle-4-semibold-font-family-v20-1-0:"Inter";
387
- --magritte-typography-subtitle-4-semibold-font-weight-v20-1-0:600;
388
- --magritte-typography-subtitle-4-semibold-line-height-v20-1-0:16px;
389
- --magritte-typography-subtitle-4-semibold-font-size-v20-1-0:10px;
390
- --magritte-typography-subtitle-4-semibold-letter-spacing-v20-1-0:0.015em;
391
- --magritte-typography-subtitle-4-semibold-text-indent-v20-1-0:0px;
392
- --magritte-typography-subtitle-4-semibold-text-transform-v20-1-0:none;
393
- --magritte-typography-subtitle-4-semibold-text-decoration-v20-1-0:none;
394
- --magritte-typography-label-1-regular-font-family-v20-1-0:"Inter";
395
- --magritte-typography-label-1-regular-font-weight-v20-1-0:400;
396
- --magritte-typography-label-1-regular-line-height-v20-1-0:26px;
397
- --magritte-typography-label-1-regular-font-size-v20-1-0:18px;
398
- --magritte-typography-label-1-regular-letter-spacing-v20-1-0:-0.005em;
399
- --magritte-typography-label-1-regular-text-indent-v20-1-0:0px;
400
- --magritte-typography-label-1-regular-text-transform-v20-1-0:none;
401
- --magritte-typography-label-1-regular-text-decoration-v20-1-0:none;
402
- --magritte-typography-label-2-regular-font-family-v20-1-0:"Inter";
403
- --magritte-typography-label-2-regular-font-weight-v20-1-0:400;
404
- --magritte-typography-label-2-regular-line-height-v20-1-0:22px;
405
- --magritte-typography-label-2-regular-font-size-v20-1-0:16px;
406
- --magritte-typography-label-2-regular-letter-spacing-v20-1-0:0em;
407
- --magritte-typography-label-2-regular-text-indent-v20-1-0:0px;
408
- --magritte-typography-label-2-regular-text-transform-v20-1-0:none;
409
- --magritte-typography-label-2-regular-text-decoration-v20-1-0:none;
410
- --magritte-typography-label-3-regular-font-family-v20-1-0:"Inter";
411
- --magritte-typography-label-3-regular-font-weight-v20-1-0:400;
412
- --magritte-typography-label-3-regular-line-height-v20-1-0:20px;
413
- --magritte-typography-label-3-regular-font-size-v20-1-0:14px;
414
- --magritte-typography-label-3-regular-letter-spacing-v20-1-0:0.005em;
415
- --magritte-typography-label-3-regular-text-indent-v20-1-0:0px;
416
- --magritte-typography-label-3-regular-text-transform-v20-1-0:none;
417
- --magritte-typography-label-3-regular-text-decoration-v20-1-0:none;
418
- --magritte-typography-label-4-regular-font-family-v20-1-0:"Inter";
419
- --magritte-typography-label-4-regular-font-weight-v20-1-0:400;
420
- --magritte-typography-label-4-regular-line-height-v20-1-0:18px;
421
- --magritte-typography-label-4-regular-font-size-v20-1-0:12px;
422
- --magritte-typography-label-4-regular-letter-spacing-v20-1-0:0.01em;
423
- --magritte-typography-label-4-regular-text-indent-v20-1-0:0px;
424
- --magritte-typography-label-4-regular-text-transform-v20-1-0:none;
425
- --magritte-typography-label-4-regular-text-decoration-v20-1-0:none;
426
- --magritte-typography-label-5-regular-font-family-v20-1-0:"Inter";
427
- --magritte-typography-label-5-regular-font-weight-v20-1-0:400;
428
- --magritte-typography-label-5-regular-line-height-v20-1-0:14px;
429
- --magritte-typography-label-5-regular-font-size-v20-1-0:10px;
430
- --magritte-typography-label-5-regular-letter-spacing-v20-1-0:0.02em;
431
- --magritte-typography-label-5-regular-text-indent-v20-1-0:0px;
432
- --magritte-typography-label-5-regular-text-transform-v20-1-0:none;
433
- --magritte-typography-label-5-regular-text-decoration-v20-1-0:none;
434
- --magritte-typography-paragraph-1-regular-font-family-v20-1-0:"Inter";
435
- --magritte-typography-paragraph-1-regular-font-weight-v20-1-0:400;
436
- --magritte-typography-paragraph-1-regular-line-height-v20-1-0:28px;
437
- --magritte-typography-paragraph-1-regular-font-size-v20-1-0:18px;
438
- --magritte-typography-paragraph-1-regular-letter-spacing-v20-1-0:0em;
439
- --magritte-typography-paragraph-1-regular-text-indent-v20-1-0:0px;
440
- --magritte-typography-paragraph-1-regular-text-transform-v20-1-0:none;
441
- --magritte-typography-paragraph-1-regular-text-decoration-v20-1-0:none;
442
- --magritte-typography-paragraph-2-regular-font-family-v20-1-0:"Inter";
443
- --magritte-typography-paragraph-2-regular-font-weight-v20-1-0:400;
444
- --magritte-typography-paragraph-2-regular-line-height-v20-1-0:26px;
445
- --magritte-typography-paragraph-2-regular-font-size-v20-1-0:16px;
446
- --magritte-typography-paragraph-2-regular-letter-spacing-v20-1-0:0.005em;
447
- --magritte-typography-paragraph-2-regular-text-indent-v20-1-0:0px;
448
- --magritte-typography-paragraph-2-regular-text-transform-v20-1-0:none;
449
- --magritte-typography-paragraph-2-regular-text-decoration-v20-1-0:none;
450
- --magritte-typography-paragraph-3-regular-font-family-v20-1-0:"Inter";
451
- --magritte-typography-paragraph-3-regular-font-weight-v20-1-0:400;
452
- --magritte-typography-paragraph-3-regular-line-height-v20-1-0:24px;
453
- --magritte-typography-paragraph-3-regular-font-size-v20-1-0:14px;
454
- --magritte-typography-paragraph-3-regular-letter-spacing-v20-1-0:0.01em;
455
- --magritte-typography-paragraph-3-regular-text-indent-v20-1-0:0px;
456
- --magritte-typography-paragraph-3-regular-text-transform-v20-1-0:none;
457
- --magritte-typography-paragraph-3-regular-text-decoration-v20-1-0:none;
458
- --magritte-typography-paragraph-4-regular-font-family-v20-1-0:"Inter";
459
- --magritte-typography-paragraph-4-regular-font-weight-v20-1-0:400;
460
- --magritte-typography-paragraph-4-regular-line-height-v20-1-0:22px;
461
- --magritte-typography-paragraph-4-regular-font-size-v20-1-0:12px;
462
- --magritte-typography-paragraph-4-regular-letter-spacing-v20-1-0:0.015em;
463
- --magritte-typography-paragraph-4-regular-text-indent-v20-1-0:0px;
464
- --magritte-typography-paragraph-4-regular-text-transform-v20-1-0:none;
465
- --magritte-typography-paragraph-4-regular-text-decoration-v20-1-0:none;
466
- --magritte-typography-_custom-1-semibold-font-family-v20-1-0:"Inter";
467
- --magritte-typography-_custom-1-semibold-font-weight-v20-1-0:600;
468
- --magritte-typography-_custom-1-semibold-line-height-v20-1-0:28px;
469
- --magritte-typography-_custom-1-semibold-font-size-v20-1-0:18px;
470
- --magritte-typography-_custom-1-semibold-letter-spacing-v20-1-0:0em;
471
- --magritte-typography-_custom-1-semibold-text-indent-v20-1-0:0px;
472
- --magritte-typography-_custom-1-semibold-text-transform-v20-1-0:none;
473
- --magritte-typography-_custom-1-semibold-text-decoration-v20-1-0:none;
474
- --magritte-typography-_custom-2-semibold-font-family-v20-1-0:"Inter";
475
- --magritte-typography-_custom-2-semibold-font-weight-v20-1-0:600;
476
- --magritte-typography-_custom-2-semibold-line-height-v20-1-0:26px;
477
- --magritte-typography-_custom-2-semibold-font-size-v20-1-0:16px;
478
- --magritte-typography-_custom-2-semibold-letter-spacing-v20-1-0:0.005em;
479
- --magritte-typography-_custom-2-semibold-text-indent-v20-1-0:0px;
480
- --magritte-typography-_custom-2-semibold-text-transform-v20-1-0:none;
481
- --magritte-typography-_custom-2-semibold-text-decoration-v20-1-0:none;
482
- --magritte-typography-_custom-3-semibold-font-family-v20-1-0:"Inter";
483
- --magritte-typography-_custom-3-semibold-font-weight-v20-1-0:600;
484
- --magritte-typography-_custom-3-semibold-line-height-v20-1-0:24px;
485
- --magritte-typography-_custom-3-semibold-font-size-v20-1-0:14px;
486
- --magritte-typography-_custom-3-semibold-letter-spacing-v20-1-0:0.01em;
487
- --magritte-typography-_custom-3-semibold-text-indent-v20-1-0:0px;
488
- --magritte-typography-_custom-3-semibold-text-transform-v20-1-0:none;
489
- --magritte-typography-_custom-3-semibold-text-decoration-v20-1-0:none;
490
- --magritte-typography-_custom-4-semibold-font-family-v20-1-0:"Inter";
491
- --magritte-typography-_custom-4-semibold-font-weight-v20-1-0:400;
492
- --magritte-typography-_custom-4-semibold-line-height-v20-1-0:22px;
493
- --magritte-typography-_custom-4-semibold-font-size-v20-1-0:12px;
494
- --magritte-typography-_custom-4-semibold-letter-spacing-v20-1-0:0.015em;
495
- --magritte-typography-_custom-4-semibold-text-indent-v20-1-0:0px;
496
- --magritte-typography-_custom-4-semibold-text-transform-v20-1-0:none;
497
- --magritte-typography-_custom-4-semibold-text-decoration-v20-1-0:none;
498
- --magritte-typography-_custom-5-semibold-font-family-v20-1-0:"Inter";
499
- --magritte-typography-_custom-5-semibold-font-weight-v20-1-0:400;
500
- --magritte-typography-_custom-5-semibold-line-height-v20-1-0:12px;
501
- --magritte-typography-_custom-5-semibold-font-size-v20-1-0:10px;
502
- --magritte-typography-_custom-5-semibold-letter-spacing-v20-1-0:0.015em;
503
- --magritte-typography-_custom-5-semibold-text-indent-v20-1-0:0px;
504
- --magritte-typography-_custom-5-semibold-text-transform-v20-1-0:none;
505
- --magritte-typography-_custom-5-semibold-text-decoration-v20-1-0:none;
506
- --magritte-typography-_custom-1-medium-font-family-v20-1-0:"Inter";
507
- --magritte-typography-_custom-1-medium-font-weight-v20-1-0:undefined;
508
- --magritte-typography-_custom-1-medium-line-height-v20-1-0:28px;
509
- --magritte-typography-_custom-1-medium-font-size-v20-1-0:18px;
510
- --magritte-typography-_custom-1-medium-letter-spacing-v20-1-0:0em;
511
- --magritte-typography-_custom-1-medium-text-indent-v20-1-0:0px;
512
- --magritte-typography-_custom-1-medium-text-transform-v20-1-0:none;
513
- --magritte-typography-_custom-1-medium-text-decoration-v20-1-0:none;
514
- --magritte-typography-_custom-2-medium-font-family-v20-1-0:"Inter";
515
- --magritte-typography-_custom-2-medium-font-weight-v20-1-0:undefined;
516
- --magritte-typography-_custom-2-medium-line-height-v20-1-0:26px;
517
- --magritte-typography-_custom-2-medium-font-size-v20-1-0:16px;
518
- --magritte-typography-_custom-2-medium-letter-spacing-v20-1-0:0.005em;
519
- --magritte-typography-_custom-2-medium-text-indent-v20-1-0:0px;
520
- --magritte-typography-_custom-2-medium-text-transform-v20-1-0:none;
521
- --magritte-typography-_custom-2-medium-text-decoration-v20-1-0:none;
522
- --magritte-typography-_custom-3-medium-font-family-v20-1-0:"Inter";
523
- --magritte-typography-_custom-3-medium-font-weight-v20-1-0:undefined;
524
- --magritte-typography-_custom-3-medium-line-height-v20-1-0:24px;
525
- --magritte-typography-_custom-3-medium-font-size-v20-1-0:14px;
526
- --magritte-typography-_custom-3-medium-letter-spacing-v20-1-0:0.01em;
527
- --magritte-typography-_custom-3-medium-text-indent-v20-1-0:0px;
528
- --magritte-typography-_custom-3-medium-text-transform-v20-1-0:none;
529
- --magritte-typography-_custom-3-medium-text-decoration-v20-1-0:none;
530
- --magritte-typography-_custom-4-medium-font-family-v20-1-0:"Inter";
531
- --magritte-typography-_custom-4-medium-font-weight-v20-1-0:undefined;
532
- --magritte-typography-_custom-4-medium-line-height-v20-1-0:22px;
533
- --magritte-typography-_custom-4-medium-font-size-v20-1-0:12px;
534
- --magritte-typography-_custom-4-medium-letter-spacing-v20-1-0:0.015em;
535
- --magritte-typography-_custom-4-medium-text-indent-v20-1-0:0px;
536
- --magritte-typography-_custom-4-medium-text-transform-v20-1-0:none;
537
- --magritte-typography-_custom-4-medium-text-decoration-v20-1-0:none;
538
- --magritte-typography-_custom-5-medium-font-family-v20-1-0:"Inter";
539
- --magritte-typography-_custom-5-medium-font-weight-v20-1-0:undefined;
540
- --magritte-typography-_custom-5-medium-line-height-v20-1-0:12px;
541
- --magritte-typography-_custom-5-medium-font-size-v20-1-0:10px;
542
- --magritte-typography-_custom-5-medium-letter-spacing-v20-1-0:0.015em;
543
- --magritte-typography-_custom-5-medium-text-indent-v20-1-0:0px;
544
- --magritte-typography-_custom-5-medium-text-transform-v20-1-0:none;
545
- --magritte-typography-_custom-5-medium-text-decoration-v20-1-0:none;
546
- --magritte-typography-_custom-1-italic-font-family-v20-1-0:"Inter";
547
- --magritte-typography-_custom-1-italic-font-weight-v20-1-0:200;
548
- --magritte-typography-_custom-1-italic-line-height-v20-1-0:28px;
549
- --magritte-typography-_custom-1-italic-font-size-v20-1-0:18px;
550
- --magritte-typography-_custom-1-italic-letter-spacing-v20-1-0:0em;
551
- --magritte-typography-_custom-1-italic-text-indent-v20-1-0:0px;
552
- --magritte-typography-_custom-1-italic-text-transform-v20-1-0:none;
553
- --magritte-typography-_custom-1-italic-text-decoration-v20-1-0:none;
554
- --magritte-typography-_custom-2-italic-font-family-v20-1-0:"Inter";
555
- --magritte-typography-_custom-2-italic-font-weight-v20-1-0:200;
556
- --magritte-typography-_custom-2-italic-line-height-v20-1-0:26px;
557
- --magritte-typography-_custom-2-italic-font-size-v20-1-0:16px;
558
- --magritte-typography-_custom-2-italic-letter-spacing-v20-1-0:0.005em;
559
- --magritte-typography-_custom-2-italic-text-indent-v20-1-0:0px;
560
- --magritte-typography-_custom-2-italic-text-transform-v20-1-0:none;
561
- --magritte-typography-_custom-2-italic-text-decoration-v20-1-0:none;
562
- --magritte-typography-_custom-3-italic-font-family-v20-1-0:"Inter";
563
- --magritte-typography-_custom-3-italic-font-weight-v20-1-0:200;
564
- --magritte-typography-_custom-3-italic-line-height-v20-1-0:24px;
565
- --magritte-typography-_custom-3-italic-font-size-v20-1-0:14px;
566
- --magritte-typography-_custom-3-italic-letter-spacing-v20-1-0:0.01em;
567
- --magritte-typography-_custom-3-italic-text-indent-v20-1-0:0px;
568
- --magritte-typography-_custom-3-italic-text-transform-v20-1-0:none;
569
- --magritte-typography-_custom-3-italic-text-decoration-v20-1-0:none;
570
- --magritte-typography-_custom-4-italic-font-family-v20-1-0:"Inter";
571
- --magritte-typography-_custom-4-italic-font-weight-v20-1-0:200;
572
- --magritte-typography-_custom-4-italic-line-height-v20-1-0:22px;
573
- --magritte-typography-_custom-4-italic-font-size-v20-1-0:12px;
574
- --magritte-typography-_custom-4-italic-letter-spacing-v20-1-0:0.015em;
575
- --magritte-typography-_custom-4-italic-text-indent-v20-1-0:0px;
576
- --magritte-typography-_custom-4-italic-text-transform-v20-1-0:none;
577
- --magritte-typography-_custom-4-italic-text-decoration-v20-1-0:none;
578
- --magritte-typography-_custom-5-italic-font-family-v20-1-0:"Inter";
579
- --magritte-typography-_custom-5-italic-font-weight-v20-1-0:200;
580
- --magritte-typography-_custom-5-italic-line-height-v20-1-0:12px;
581
- --magritte-typography-_custom-5-italic-font-size-v20-1-0:10px;
582
- --magritte-typography-_custom-5-italic-letter-spacing-v20-1-0:0.015em;
583
- --magritte-typography-_custom-5-italic-text-indent-v20-1-0:0px;
584
- --magritte-typography-_custom-5-italic-text-transform-v20-1-0:none;
585
- --magritte-typography-_custom-5-italic-text-decoration-v20-1-0:none;
586
- }
587
- .magritte-tabs___VcV8C_5-4-9{
37
+ --magritte-color-component-tabs-stroke-state-focused-accessible-v21-0-0:#0070ff7a;
38
+ --magritte-color-component-tabs-background-selected-v21-0-0:#ffffff;
39
+ --magritte-color-component-tabs-background-unselected-v21-0-0:#303030;
40
+ --magritte-color-component-tabs-background-state-unselected-pressed-v21-0-0:#303030;
41
+ --magritte-color-component-tabs-background-state-unselected-focused-v21-0-0:#303030;
42
+ --magritte-color-component-tabs-background-state-selected-focused-v21-0-0:#ffffff;
43
+ --magritte-color-component-tabs-background-state-unselected-hovered-v21-0-0:#3B3B3B;
44
+ --magritte-color-component-tabs-text-selected-v21-0-0:#000000;
45
+ --magritte-color-component-tabs-text-unselected-v21-0-0:#B9B9B9;
46
+ --magritte-color-component-tabs-postfix-text-selected-v21-0-0:#919191;
47
+ --magritte-color-component-tabs-postfix-text-unselected-v21-0-0:#919191;
48
+ --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v21-0-0:#0070ff7a;
49
+ --magritte-color-component-secondary-tabs-text-selected-v21-0-0:#ffffff;
50
+ --magritte-color-component-secondary-tabs-text-unselected-v21-0-0:#ABABAB;
51
+ --magritte-color-component-secondary-tabs-indicator-selected-v21-0-0:#ffffff;
52
+ --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v21-0-0:#ABABAB;
53
+ --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v21-0-0:#ABABAB;
54
+ --magritte-color-component-secondary-tabs-postfix-text-selected-v21-0-0:#919191;
55
+ --magritte-color-component-secondary-tabs-postfix-text-unselected-v21-0-0:#919191;
56
+ }
57
+ .magritte-tabs___VcV8C_5-4-10{
588
58
  display:flex;
589
59
  align-items:center;
590
60
  outline:none;
591
61
  }
592
- .magritte-tab-wrapper___9j9qk_5-4-9:last-of-type{
593
- margin-right:var(--magritte-static-space-0-v20-1-0);
62
+ .magritte-tab-wrapper___9j9qk_5-4-10:last-of-type{
63
+ margin-right:var(--magritte-static-space-0-v21-0-0);
594
64
  }
595
- .magritte-tab___B0BeU_5-4-9{
65
+ .magritte-tab___B0BeU_5-4-10{
596
66
  box-sizing:border-box;
597
67
  flex-shrink:0;
598
68
  display:block;
@@ -600,186 +70,186 @@
600
70
  border:0;
601
71
  outline:0 solid transparent;
602
72
  min-height:40px;
603
- transition:all var(--magritte-semantic-animation-ease-in-out-tiger-100-duration-v20-1-0) var(--magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v20-1-0);
73
+ transition:all var(--magritte-semantic-animation-ease-in-out-tiger-100-duration-v21-0-0) var(--magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v21-0-0);
604
74
  }
605
- .magritte-tab___B0BeU_5-4-9:active{
606
- transform:scale(var(--magritte-semantic-scale-pressed-v20-1-0));
607
- transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v20-1-0) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v20-1-0);
75
+ .magritte-tab___B0BeU_5-4-10:active{
76
+ transform:scale(var(--magritte-semantic-scale-pressed-v21-0-0));
77
+ transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v21-0-0) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v21-0-0);
608
78
  }
609
- .magritte-tab___B0BeU_5-4-9.magritte-tab_selected___w9PT2_5-4-9{
79
+ .magritte-tab___B0BeU_5-4-10.magritte-tab_selected___w9PT2_5-4-10{
610
80
  cursor:default;
611
81
  }
612
- .magritte-tab___B0BeU_5-4-9.magritte-tab_selected___w9PT2_5-4-9:active{
82
+ .magritte-tab___B0BeU_5-4-10.magritte-tab_selected___w9PT2_5-4-10:active{
613
83
  transform:none;
614
84
  }
615
- .magritte-tab-wrapper_primary___yt3sT_5-4-9{
616
- margin-right:var(--magritte-static-space-300-v20-1-0);
85
+ .magritte-tab-wrapper_primary___yt3sT_5-4-10{
86
+ margin-right:var(--magritte-static-space-300-v21-0-0);
617
87
  }
618
- .magritte-tab_primary___3Of2H_5-4-9{
619
- border-radius:var(--magritte-core-border-radius-25-x-v20-1-0);
620
- background-color:var(--magritte-color-component-tabs-background-unselected-v20-1-0);
621
- --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-unselected-v20-1-0);
88
+ .magritte-tab_primary___3Of2H_5-4-10{
89
+ border-radius:var(--magritte-core-border-radius-25-x-v21-0-0);
90
+ background-color:var(--magritte-color-component-tabs-background-unselected-v21-0-0);
91
+ --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-unselected-v21-0-0);
622
92
  }
623
- .magritte-tab_primary___3Of2H_5-4-9:active{
624
- background-color:var(--magritte-color-component-tabs-background-state-unselected-pressed-v20-1-0);
93
+ .magritte-tab_primary___3Of2H_5-4-10:active{
94
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-pressed-v21-0-0);
625
95
  }
626
- .magritte-tab_primary___3Of2H_5-4-9.focus-visible{
627
- background-color:var(--magritte-color-component-tabs-background-state-unselected-focused-v20-1-0);
628
- outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v20-1-0);
96
+ .magritte-tab_primary___3Of2H_5-4-10.focus-visible{
97
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-focused-v21-0-0);
98
+ outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v21-0-0);
629
99
  }
630
- .magritte-tab_primary___3Of2H_5-4-9.magritte-tab_selected___w9PT2_5-4-9{
631
- background-color:var(--magritte-color-component-tabs-background-selected-v20-1-0);
632
- --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-selected-v20-1-0);
100
+ .magritte-tab_primary___3Of2H_5-4-10.magritte-tab_selected___w9PT2_5-4-10{
101
+ background-color:var(--magritte-color-component-tabs-background-selected-v21-0-0);
102
+ --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-selected-v21-0-0);
633
103
  }
634
- .magritte-tab_primary___3Of2H_5-4-9.magritte-tab_selected___w9PT2_5-4-9 .magritte-tab-label___nFmge_5-4-9{
635
- color:var(--magritte-color-component-tabs-text-selected-v20-1-0);
104
+ .magritte-tab_primary___3Of2H_5-4-10.magritte-tab_selected___w9PT2_5-4-10 .magritte-tab-label___nFmge_5-4-10{
105
+ color:var(--magritte-color-component-tabs-text-selected-v21-0-0);
636
106
  }
637
- .magritte-tab_primary___3Of2H_5-4-9.magritte-tab_selected___w9PT2_5-4-9 .magritte-postfix___30ZxD_5-4-9{
638
- color:var(--magritte-color-component-tabs-postfix-text-selected-v20-1-0);
107
+ .magritte-tab_primary___3Of2H_5-4-10.magritte-tab_selected___w9PT2_5-4-10 .magritte-postfix___30ZxD_5-4-10{
108
+ color:var(--magritte-color-component-tabs-postfix-text-selected-v21-0-0);
639
109
  }
640
- .magritte-tab_primary___3Of2H_5-4-9.magritte-tab_selected___w9PT2_5-4-9:active{
641
- background-color:var(--magritte-color-component-tabs-background-selected-v20-1-0);
110
+ .magritte-tab_primary___3Of2H_5-4-10.magritte-tab_selected___w9PT2_5-4-10:active{
111
+ background-color:var(--magritte-color-component-tabs-background-selected-v21-0-0);
642
112
  }
643
- .magritte-tab_primary___3Of2H_5-4-9.magritte-tab_selected___w9PT2_5-4-9.focus-visible{
644
- background-color:var(--magritte-color-component-tabs-background-state-selected-focused-v20-1-0);
645
- outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v20-1-0);
113
+ .magritte-tab_primary___3Of2H_5-4-10.magritte-tab_selected___w9PT2_5-4-10.focus-visible{
114
+ background-color:var(--magritte-color-component-tabs-background-state-selected-focused-v21-0-0);
115
+ outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v21-0-0);
646
116
  }
647
117
  @media (min-width: 1020px){
648
- body.magritte-old-layout .magritte-tab_primary___3Of2H_5-4-9.magritte-tab_selected___w9PT2_5-4-9:hover:not(:active){
649
- background-color:var(--magritte-color-component-tabs-background-selected-v20-1-0);
118
+ body.magritte-old-layout .magritte-tab_primary___3Of2H_5-4-10.magritte-tab_selected___w9PT2_5-4-10:hover:not(:active){
119
+ background-color:var(--magritte-color-component-tabs-background-selected-v21-0-0);
650
120
  }
651
121
  }
652
122
  @media (min-width: 1024px){
653
- body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_5-4-9.magritte-tab_selected___w9PT2_5-4-9:hover:not(:active){
654
- background-color:var(--magritte-color-component-tabs-background-selected-v20-1-0);
123
+ body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_5-4-10.magritte-tab_selected___w9PT2_5-4-10:hover:not(:active){
124
+ background-color:var(--magritte-color-component-tabs-background-selected-v21-0-0);
655
125
  }
656
126
  }
657
- .magritte-tab_primary___3Of2H_5-4-9 .magritte-tab-content___onvTJ_5-4-9{
658
- padding:var(--magritte-static-space-200-v20-1-0) var(--magritte-static-space-400-v20-1-0);
127
+ .magritte-tab_primary___3Of2H_5-4-10 .magritte-tab-content___onvTJ_5-4-10{
128
+ padding:var(--magritte-static-space-200-v21-0-0) var(--magritte-static-space-400-v21-0-0);
659
129
  }
660
- .magritte-tab_primary___3Of2H_5-4-9 .magritte-tab-label___nFmge_5-4-9{
661
- color:var(--magritte-color-component-tabs-text-unselected-v20-1-0);
130
+ .magritte-tab_primary___3Of2H_5-4-10 .magritte-tab-label___nFmge_5-4-10{
131
+ color:var(--magritte-color-component-tabs-text-unselected-v21-0-0);
662
132
  }
663
- .magritte-tab_primary___3Of2H_5-4-9 .magritte-postfix___30ZxD_5-4-9{
664
- color:var(--magritte-color-component-tabs-postfix-text-unselected-v20-1-0);
133
+ .magritte-tab_primary___3Of2H_5-4-10 .magritte-postfix___30ZxD_5-4-10{
134
+ color:var(--magritte-color-component-tabs-postfix-text-unselected-v21-0-0);
665
135
  }
666
136
  @media (min-width: 1020px){
667
- body.magritte-old-layout .magritte-tab_primary___3Of2H_5-4-9:hover:not(:active){
668
- background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v20-1-0);
137
+ body.magritte-old-layout .magritte-tab_primary___3Of2H_5-4-10:hover:not(:active){
138
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v21-0-0);
669
139
  }
670
140
  }
671
141
  @media (min-width: 1024px){
672
- body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_5-4-9:hover:not(:active){
673
- background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v20-1-0);
142
+ body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_5-4-10:hover:not(:active){
143
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v21-0-0);
674
144
  }
675
145
  }
676
- .magritte-tab-wrapper_secondary___avLln_5-4-9{
677
- margin-right:var(--magritte-static-space-600-v20-1-0);
146
+ .magritte-tab-wrapper_secondary___avLln_5-4-10{
147
+ margin-right:var(--magritte-static-space-600-v21-0-0);
678
148
  }
679
- .magritte-tab_secondary___-00LL_5-4-9{
680
- border-radius:var(--magritte-semantic-border-radius-form-v20-1-0);
149
+ .magritte-tab_secondary___-00LL_5-4-10{
150
+ border-radius:var(--magritte-semantic-border-radius-form-v21-0-0);
681
151
  max-width:288px;
682
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-unselected-v20-1-0);
152
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-unselected-v21-0-0);
683
153
  }
684
- .magritte-tab_secondary___-00LL_5-4-9:active{
685
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v20-1-0);
154
+ .magritte-tab_secondary___-00LL_5-4-10:active{
155
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v21-0-0);
686
156
  }
687
- .magritte-tab_secondary___-00LL_5-4-9:active .magritte-tab-label___nFmge_5-4-9{
688
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v20-1-0);
157
+ .magritte-tab_secondary___-00LL_5-4-10:active .magritte-tab-label___nFmge_5-4-10{
158
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v21-0-0);
689
159
  }
690
- .magritte-tab_secondary___-00LL_5-4-9.focus-visible{
691
- outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v20-1-0);
160
+ .magritte-tab_secondary___-00LL_5-4-10.focus-visible{
161
+ outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v21-0-0);
692
162
  }
693
- .magritte-tab_secondary___-00LL_5-4-9.magritte-tab_selected___w9PT2_5-4-9{
694
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v20-1-0);
163
+ .magritte-tab_secondary___-00LL_5-4-10.magritte-tab_selected___w9PT2_5-4-10{
164
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v21-0-0);
695
165
  }
696
- .magritte-tab_secondary___-00LL_5-4-9.magritte-tab_selected___w9PT2_5-4-9 .magritte-tab-label___nFmge_5-4-9{
697
- color:var(--magritte-color-component-secondary-tabs-text-selected-v20-1-0);
166
+ .magritte-tab_secondary___-00LL_5-4-10.magritte-tab_selected___w9PT2_5-4-10 .magritte-tab-label___nFmge_5-4-10{
167
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v21-0-0);
698
168
  }
699
- .magritte-tab_secondary___-00LL_5-4-9.magritte-tab_selected___w9PT2_5-4-9 .magritte-postfix___30ZxD_5-4-9{
700
- color:var(--magritte-color-component-secondary-tabs-postfix-text-selected-v20-1-0);
169
+ .magritte-tab_secondary___-00LL_5-4-10.magritte-tab_selected___w9PT2_5-4-10 .magritte-postfix___30ZxD_5-4-10{
170
+ color:var(--magritte-color-component-secondary-tabs-postfix-text-selected-v21-0-0);
701
171
  }
702
- .magritte-tab_secondary___-00LL_5-4-9.magritte-tab_selected___w9PT2_5-4-9:active{
703
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v20-1-0);
172
+ .magritte-tab_secondary___-00LL_5-4-10.magritte-tab_selected___w9PT2_5-4-10:active{
173
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v21-0-0);
704
174
  }
705
- .magritte-tab_secondary___-00LL_5-4-9.magritte-tab_selected___w9PT2_5-4-9:active .magritte-tab-label___nFmge_5-4-9{
706
- color:var(--magritte-color-component-secondary-tabs-text-selected-v20-1-0);
175
+ .magritte-tab_secondary___-00LL_5-4-10.magritte-tab_selected___w9PT2_5-4-10:active .magritte-tab-label___nFmge_5-4-10{
176
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v21-0-0);
707
177
  }
708
- .magritte-tab_secondary___-00LL_5-4-9.magritte-tab_selected___w9PT2_5-4-9.focus-visible{
709
- outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v20-1-0);
178
+ .magritte-tab_secondary___-00LL_5-4-10.magritte-tab_selected___w9PT2_5-4-10.focus-visible{
179
+ outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v21-0-0);
710
180
  }
711
181
  @media (min-width: 1020px){
712
- body.magritte-old-layout .magritte-tab_secondary___-00LL_5-4-9.magritte-tab_selected___w9PT2_5-4-9:hover:not(:active){
713
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v20-1-0);
182
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_5-4-10.magritte-tab_selected___w9PT2_5-4-10:hover:not(:active){
183
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v21-0-0);
714
184
  }
715
- body.magritte-old-layout .magritte-tab_secondary___-00LL_5-4-9.magritte-tab_selected___w9PT2_5-4-9:hover:not(:active) .magritte-tab-label___nFmge_5-4-9{
716
- color:var(--magritte-color-component-secondary-tabs-text-selected-v20-1-0);
185
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_5-4-10.magritte-tab_selected___w9PT2_5-4-10:hover:not(:active) .magritte-tab-label___nFmge_5-4-10{
186
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v21-0-0);
717
187
  }
718
188
  }
719
189
  @media (min-width: 1024px){
720
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_5-4-9.magritte-tab_selected___w9PT2_5-4-9:hover:not(:active){
721
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v20-1-0);
190
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_5-4-10.magritte-tab_selected___w9PT2_5-4-10:hover:not(:active){
191
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v21-0-0);
722
192
  }
723
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_5-4-9.magritte-tab_selected___w9PT2_5-4-9:hover:not(:active) .magritte-tab-label___nFmge_5-4-9{
724
- color:var(--magritte-color-component-secondary-tabs-text-selected-v20-1-0);
193
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_5-4-10.magritte-tab_selected___w9PT2_5-4-10:hover:not(:active) .magritte-tab-label___nFmge_5-4-10{
194
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v21-0-0);
725
195
  }
726
196
  }
727
- .magritte-tab_secondary___-00LL_5-4-9 .magritte-tab-content___onvTJ_5-4-9{
728
- padding:var(--magritte-static-space-400-v20-1-0) 0;
197
+ .magritte-tab_secondary___-00LL_5-4-10 .magritte-tab-content___onvTJ_5-4-10{
198
+ padding:var(--magritte-static-space-400-v21-0-0) 0;
729
199
  }
730
- .magritte-tab_secondary___-00LL_5-4-9 .magritte-tab-label___nFmge_5-4-9{
731
- color:var(--magritte-color-component-secondary-tabs-text-unselected-v20-1-0);
200
+ .magritte-tab_secondary___-00LL_5-4-10 .magritte-tab-label___nFmge_5-4-10{
201
+ color:var(--magritte-color-component-secondary-tabs-text-unselected-v21-0-0);
732
202
  }
733
- .magritte-tab_secondary___-00LL_5-4-9 .magritte-postfix___30ZxD_5-4-9{
734
- color:var(--magritte-color-component-secondary-tabs-postfix-text-unselected-v20-1-0);
203
+ .magritte-tab_secondary___-00LL_5-4-10 .magritte-postfix___30ZxD_5-4-10{
204
+ color:var(--magritte-color-component-secondary-tabs-postfix-text-unselected-v21-0-0);
735
205
  }
736
206
  @media (min-width: 1020px){
737
- body.magritte-old-layout .magritte-tab_secondary___-00LL_5-4-9:hover:not(:active){
738
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v20-1-0);
207
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_5-4-10:hover:not(:active){
208
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v21-0-0);
739
209
  }
740
- body.magritte-old-layout .magritte-tab_secondary___-00LL_5-4-9:hover:not(:active) .magritte-tab-label___nFmge_5-4-9{
741
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v20-1-0);
210
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_5-4-10:hover:not(:active) .magritte-tab-label___nFmge_5-4-10{
211
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v21-0-0);
742
212
  }
743
213
  }
744
214
  @media (min-width: 1024px){
745
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_5-4-9:hover:not(:active){
746
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v20-1-0);
215
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_5-4-10:hover:not(:active){
216
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v21-0-0);
747
217
  }
748
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_5-4-9:hover:not(:active) .magritte-tab-label___nFmge_5-4-9{
749
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v20-1-0);
218
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_5-4-10:hover:not(:active) .magritte-tab-label___nFmge_5-4-10{
219
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v21-0-0);
750
220
  }
751
221
  }
752
- .magritte-tab-content___onvTJ_5-4-9{
222
+ .magritte-tab-content___onvTJ_5-4-10{
753
223
  display:flex;
754
224
  align-items:center;
755
225
  height:24px;
756
226
  }
757
- .magritte-tab-label___nFmge_5-4-9{
227
+ .magritte-tab-label___nFmge_5-4-10{
758
228
  flex:0 1 auto;
759
229
  min-width:0;
760
230
  overflow:hidden;
761
231
  text-overflow:ellipsis;
762
232
  white-space:pre;
763
233
  }
764
- .magritte-postfix-wrapper___1dORq_5-4-9{
234
+ .magritte-postfix-wrapper___1dORq_5-4-10{
765
235
  flex:0 0 auto;
766
236
  min-width:0;
767
237
  max-width:100%;
768
- margin-left:var(--magritte-static-space-200-v20-1-0);
238
+ margin-left:var(--magritte-static-space-200-v21-0-0);
769
239
  overflow:hidden;
770
240
  text-overflow:ellipsis;
771
241
  white-space:pre;
772
242
  }
773
- .magritte-indicator-wrapper___Q68i7_5-4-9{
243
+ .magritte-indicator-wrapper___Q68i7_5-4-10{
774
244
  margin-top:-4px;
775
245
  }
776
- .magritte-indicator___irp4W_5-4-9{
246
+ .magritte-indicator___irp4W_5-4-10{
777
247
  position:relative;
778
- background-color:var(--magritte-color-component-secondary-tabs-indicator-selected-v20-1-0);
248
+ background-color:var(--magritte-color-component-secondary-tabs-indicator-selected-v21-0-0);
779
249
  border-radius:4px 4px 0 0;
780
250
  height:4px;
781
251
  width:0;
782
252
  }
783
- .magritte-animate___5GxTP_5-4-9{
784
- transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v20-1-0) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v20-1-0);
253
+ .magritte-animate___5GxTP_5-4-10{
254
+ transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v21-0-0) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v21-0-0);
785
255
  }
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import './index.css';
2
2
  export * from '@hh.ru/magritte-ui-theme-provider';
3
3
  export { Tabs } from './Tabs.js';
4
- export { T as Tab } from './Tab-BJDarDf8.js';
4
+ export { T as Tab } from './Tab-DPm4qFq9.js';
5
5
  import 'react/jsx-runtime';
6
6
  import 'react';
7
7
  import '@hh.ru/magritte-ui-scrollable-container';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-tabs",
3
- "version": "5.4.9",
3
+ "version": "5.4.10",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -23,15 +23,15 @@
23
23
  "@hh.ru/magritte-common-focus-visible": "0.1.6",
24
24
  "@hh.ru/magritte-common-keyboard": "4.0.3",
25
25
  "@hh.ru/magritte-common-use-multiple-refs": "1.1.5",
26
- "@hh.ru/magritte-design-tokens": "20.1.0",
26
+ "@hh.ru/magritte-design-tokens": "21.0.0",
27
27
  "@hh.ru/magritte-types": "5.0.1",
28
- "@hh.ru/magritte-ui-badge": "2.2.14",
28
+ "@hh.ru/magritte-ui-badge": "2.2.15",
29
29
  "@hh.ru/magritte-ui-breakpoint": "5.0.0",
30
- "@hh.ru/magritte-ui-button": "5.2.14",
31
- "@hh.ru/magritte-ui-scrollable-container": "4.5.5",
32
- "@hh.ru/magritte-ui-theme-provider": "1.1.35",
33
- "@hh.ru/magritte-ui-tooltip": "8.0.15",
34
- "@hh.ru/magritte-ui-typography": "3.0.25"
30
+ "@hh.ru/magritte-ui-button": "5.2.15",
31
+ "@hh.ru/magritte-ui-scrollable-container": "4.5.6",
32
+ "@hh.ru/magritte-ui-theme-provider": "1.1.36",
33
+ "@hh.ru/magritte-ui-tooltip": "8.0.16",
34
+ "@hh.ru/magritte-ui-typography": "3.0.26"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "classnames": ">=2.3.2",
@@ -40,5 +40,5 @@
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "189cfcda0cfad62286d9b586c40fabedf25241d1"
43
+ "gitHead": "d969104667bac3470d222588ac719c4fc9cd06d6"
44
44
  }
package/useTabs.js CHANGED
@@ -2,7 +2,7 @@ import './index.css';
2
2
  import { useState, useRef, useMemo, useCallback, Children, useEffect, isValidElement } from 'react';
3
3
  import { keyboardMatch, keyboardKeys, keyboardMatches } from '@hh.ru/magritte-common-keyboard';
4
4
  import { useBreakpoint } from '@hh.ru/magritte-ui-breakpoint';
5
- import { s as styles, T as Tab } from './Tab-BJDarDf8.js';
5
+ import { s as styles, T as Tab } from './Tab-DPm4qFq9.js';
6
6
  import 'react/jsx-runtime';
7
7
  import 'classnames';
8
8
  import '@hh.ru/magritte-common-focus-visible';