@hh.ru/magritte-ui-tabs 7.0.3 → 7.0.5

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.
@@ -10,7 +10,7 @@ import { OFFSETS_BY_MODE } from './offsets.js';
10
10
  import { TooltipHover } from '@hh.ru/magritte-ui-tooltip';
11
11
  import { Text } from '@hh.ru/magritte-ui-typography';
12
12
 
13
- var styles = {"tabs":"magritte-tabs___VcV8C_7-0-3","tab-wrapper":"magritte-tab-wrapper___9j9qk_7-0-3","tabWrapper":"magritte-tab-wrapper___9j9qk_7-0-3","tab":"magritte-tab___B0BeU_7-0-3","tab_selected":"magritte-tab_selected___w9PT2_7-0-3","tabSelected":"magritte-tab_selected___w9PT2_7-0-3","tab-wrapper_primary":"magritte-tab-wrapper_primary___yt3sT_7-0-3","tabWrapperPrimary":"magritte-tab-wrapper_primary___yt3sT_7-0-3","tab_primary":"magritte-tab_primary___3Of2H_7-0-3","tabPrimary":"magritte-tab_primary___3Of2H_7-0-3","tab-label":"magritte-tab-label___nFmge_7-0-3","tabLabel":"magritte-tab-label___nFmge_7-0-3","postfix":"magritte-postfix___30ZxD_7-0-3","tab-content":"magritte-tab-content___onvTJ_7-0-3","tabContent":"magritte-tab-content___onvTJ_7-0-3","tab-wrapper_secondary":"magritte-tab-wrapper_secondary___avLln_7-0-3","tabWrapperSecondary":"magritte-tab-wrapper_secondary___avLln_7-0-3","tab_secondary":"magritte-tab_secondary___-00LL_7-0-3","tabSecondary":"magritte-tab_secondary___-00LL_7-0-3","postfix-wrapper":"magritte-postfix-wrapper___1dORq_7-0-3","postfixWrapper":"magritte-postfix-wrapper___1dORq_7-0-3","indicator-wrapper":"magritte-indicator-wrapper___Q68i7_7-0-3","indicatorWrapper":"magritte-indicator-wrapper___Q68i7_7-0-3","indicator":"magritte-indicator___irp4W_7-0-3","animate":"magritte-animate___5GxTP_7-0-3"};
13
+ var styles = {"tabs":"magritte-tabs___VcV8C_7-0-5","tab-wrapper":"magritte-tab-wrapper___9j9qk_7-0-5","tabWrapper":"magritte-tab-wrapper___9j9qk_7-0-5","tab":"magritte-tab___B0BeU_7-0-5","tab_selected":"magritte-tab_selected___w9PT2_7-0-5","tabSelected":"magritte-tab_selected___w9PT2_7-0-5","tab-wrapper_primary":"magritte-tab-wrapper_primary___yt3sT_7-0-5","tabWrapperPrimary":"magritte-tab-wrapper_primary___yt3sT_7-0-5","tab_primary":"magritte-tab_primary___3Of2H_7-0-5","tabPrimary":"magritte-tab_primary___3Of2H_7-0-5","tab-label":"magritte-tab-label___nFmge_7-0-5","tabLabel":"magritte-tab-label___nFmge_7-0-5","postfix":"magritte-postfix___30ZxD_7-0-5","tab-content":"magritte-tab-content___onvTJ_7-0-5","tabContent":"magritte-tab-content___onvTJ_7-0-5","tab-wrapper_secondary":"magritte-tab-wrapper_secondary___avLln_7-0-5","tabWrapperSecondary":"magritte-tab-wrapper_secondary___avLln_7-0-5","tab_secondary":"magritte-tab_secondary___-00LL_7-0-5","tabSecondary":"magritte-tab_secondary___-00LL_7-0-5","postfix-wrapper":"magritte-postfix-wrapper___1dORq_7-0-5","postfixWrapper":"magritte-postfix-wrapper___1dORq_7-0-5","indicator-wrapper":"magritte-indicator-wrapper___Q68i7_7-0-5","indicatorWrapper":"magritte-indicator-wrapper___Q68i7_7-0-5","indicator":"magritte-indicator___irp4W_7-0-5","animate":"magritte-animate___5GxTP_7-0-5"};
14
14
 
15
15
  const TabForwardRefRenderFunc = ({ Element = 'button', badge = false, children, 'data-qa': dataQa = 'tab', focused, hidden, id, itemRef, mode = 'primary', onClick, onSelect, postfix, selected, ...buttonProps }, ref) => {
16
16
  const activatorRef = useRef(null);
@@ -77,4 +77,4 @@ const TabComponent = forwardRef(TabForwardRefRenderFunc);
77
77
  const Tab = TabComponent;
78
78
 
79
79
  export { Tab as T, styles as s };
80
- //# sourceMappingURL=Tab-Bx-E9RTQ.js.map
80
+ //# sourceMappingURL=Tab-CLR8_qZ9.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tab-Bx-E9RTQ.js","sources":["../src/Tab.tsx"],"sourcesContent":["import { forwardRef, 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 { OFFSETS_BY_MODE } from '@hh.ru/magritte-ui-tabs/offsets';\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, 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\n data-qa={`wrapper-${dataQa}`}\n ref={itemRef}\n className={classnames(styles.tabWrapper, { [styles[`tab-wrapper_${mode}`]]: !!mode })}\n >\n {badge ? (\n <ComponentWithBadge badge={<Badge size=\"extra-small\" />} {...OFFSETS_BY_MODE[mode]}>\n {tabElement}\n </ComponentWithBadge>\n ) : (\n tabElement\n )}\n </div>\n );\n};\n\nconst TabComponent = forwardRef(TabForwardRefRenderFunc) as PolymorphicComponentWithRef<TabProps, 'button'>;\n\nexport const Tab: PolymorphicComponentWithRef<TabProps, 'button'> = TabComponent;\n"],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;AAeA,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,YA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EACa,CAAW,QAAA,EAAA,MAAM,EAAE,EAC5B,GAAG,EAAE,OAAO,EACZ,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,CAAC,MAAM,CAAC,eAAe,IAAI,CAAA,CAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAA,QAAA,EAEpF,KAAK,IACFA,GAAA,CAAC,kBAAkB,EAAC,EAAA,KAAK,EAAEA,GAAA,CAAC,KAAK,EAAA,EAAC,IAAI,EAAC,aAAa,EAAG,CAAA,EAAA,GAAM,eAAe,CAAC,IAAI,CAAC,EAC7E,QAAA,EAAA,UAAU,GACM,KAErB,UAAU,CACb,EAAA,CACC,EACR;AACN,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,UAAU,CAAC,uBAAuB,CAAoD,CAAC;AAErG,MAAM,GAAG,GAAoD;;;;"}
1
+ {"version":3,"file":"Tab-CLR8_qZ9.js","sources":["../src/Tab.tsx"],"sourcesContent":["import { forwardRef, 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 { OFFSETS_BY_MODE } from '@hh.ru/magritte-ui-tabs/offsets';\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, 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\n data-qa={`wrapper-${dataQa}`}\n ref={itemRef}\n className={classnames(styles.tabWrapper, { [styles[`tab-wrapper_${mode}`]]: !!mode })}\n >\n {badge ? (\n <ComponentWithBadge badge={<Badge size=\"extra-small\" />} {...OFFSETS_BY_MODE[mode]}>\n {tabElement}\n </ComponentWithBadge>\n ) : (\n tabElement\n )}\n </div>\n );\n};\n\nconst TabComponent = forwardRef(TabForwardRefRenderFunc) as PolymorphicComponentWithRef<TabProps, 'button'>;\n\nexport const Tab: PolymorphicComponentWithRef<TabProps, 'button'> = TabComponent;\n"],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;AAeA,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,GA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AAG,QAAQ,EAAE,CAAC,MAAM,CAAC,CAAA,IAAA,EAAO,IAAI,CAAE,CAAA,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EACvF,eAAA,EAAA,QAAQ,EACvB,OAAO,EAAE,WAAW,EACpB,WAAW,EAAE,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,EAAA,SAAA,EACa,CAAW,QAAA,EAAA,MAAM,EAAE,EAC5B,GAAG,EAAE,OAAO,EACZ,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,CAAC,MAAM,CAAC,eAAe,IAAI,CAAA,CAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAA,QAAA,EAEpF,KAAK,IACFA,GAAA,CAAC,kBAAkB,EAAC,EAAA,KAAK,EAAEA,GAAA,CAAC,KAAK,EAAA,EAAC,IAAI,EAAC,aAAa,EAAG,CAAA,EAAA,GAAM,eAAe,CAAC,IAAI,CAAC,EAC7E,QAAA,EAAA,UAAU,GACM,KAErB,UAAU,CACb,EAAA,CACC,EACR;AACN,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,UAAU,CAAC,uBAAuB,CAAoD,CAAC;AAErG,MAAM,GAAG,GAAoD;;;;"}
package/Tab.js CHANGED
@@ -9,5 +9,5 @@ import '@hh.ru/magritte-ui-scrollable-container';
9
9
  import './offsets.js';
10
10
  import '@hh.ru/magritte-ui-tooltip';
11
11
  import '@hh.ru/magritte-ui-typography';
12
- export { T as Tab } from './Tab-Bx-E9RTQ.js';
12
+ export { T as Tab } from './Tab-CLR8_qZ9.js';
13
13
  //# 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-Bx-E9RTQ.js';
5
+ import { s as styles, T as Tab } from './Tab-CLR8_qZ9.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,89 +1,92 @@
1
1
  :root{
2
- --magritte-color-component-tabs-stroke-state-focused-accessible-v22-1-0:#0070ff7a;
3
- --magritte-color-component-tabs-background-selected-v22-1-0:#000000;
4
- --magritte-color-component-tabs-background-unselected-v22-1-0:#F1F4F9;
5
- --magritte-color-component-tabs-background-state-unselected-pressed-v22-1-0:#F1F4F9;
6
- --magritte-color-component-tabs-background-state-unselected-focused-v22-1-0:#F1F4F9;
7
- --magritte-color-component-tabs-background-state-selected-focused-v22-1-0:#000000;
8
- --magritte-color-component-tabs-background-state-unselected-hovered-v22-1-0:#DCE3EB;
9
- --magritte-color-component-tabs-text-selected-v22-1-0:#ffffff;
10
- --magritte-color-component-tabs-text-unselected-v22-1-0:#6a7885;
11
- --magritte-color-component-tabs-postfix-text-selected-v22-1-0:#BBC8D4;
12
- --magritte-color-component-tabs-postfix-text-unselected-v22-1-0:#AABBCA;
13
- --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v22-1-0:#0070ff7a;
14
- --magritte-color-component-secondary-tabs-text-selected-v22-1-0:#000000;
15
- --magritte-color-component-secondary-tabs-text-unselected-v22-1-0:#768694;
16
- --magritte-color-component-secondary-tabs-indicator-selected-v22-1-0:#000000;
17
- --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-1-0:#000000;
18
- --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v22-1-0:#000000;
19
- --magritte-color-component-secondary-tabs-postfix-text-selected-v22-1-0:#AABBCA;
20
- --magritte-color-component-secondary-tabs-postfix-text-unselected-v22-1-0:#AABBCA;
21
- }
2
+ --magritte-color-component-tabs-stroke-state-focused-accessible-v23-0-0:#0070ff7a;
3
+ --magritte-color-component-tabs-background-selected-v23-0-0:#000000;
4
+ --magritte-color-component-tabs-background-unselected-v23-0-0:#F1F4F9;
5
+ --magritte-color-component-tabs-background-state-unselected-pressed-v23-0-0:#F1F4F9;
6
+ --magritte-color-component-tabs-background-state-unselected-focused-v23-0-0:#F1F4F9;
7
+ --magritte-color-component-tabs-background-state-selected-focused-v23-0-0:#000000;
8
+ --magritte-color-component-tabs-background-state-unselected-hovered-v23-0-0:#DCE3EB;
9
+ --magritte-color-component-tabs-text-selected-v23-0-0:#ffffff;
10
+ --magritte-color-component-tabs-text-unselected-v23-0-0:#6a7885;
11
+ --magritte-color-component-tabs-postfix-text-selected-v23-0-0:#BBC8D4;
12
+ --magritte-color-component-tabs-postfix-text-unselected-v23-0-0:#AABBCA;
13
+ --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-0-0:#0070ff7a;
14
+ --magritte-color-component-secondary-tabs-text-selected-v23-0-0:#000000;
15
+ --magritte-color-component-secondary-tabs-text-unselected-v23-0-0:#768694;
16
+ --magritte-color-component-secondary-tabs-indicator-selected-v23-0-0:#000000;
17
+ --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-0-0:#000000;
18
+ --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-0-0:#000000;
19
+ --magritte-color-component-secondary-tabs-postfix-text-selected-v23-0-0:#AABBCA;
20
+ --magritte-color-component-secondary-tabs-postfix-text-unselected-v23-0-0:#AABBCA;
21
+ }
22
+
22
23
  :root{
23
- --magritte-semantic-border-radius-form-v22-1-0:12px;
24
- --magritte-semantic-scale-pressed-v22-1-0:0.96;
25
- --magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v22-1-0:cubic-bezier(0.25, 0.1, 0.25, 1);
26
- --magritte-semantic-animation-ease-in-out-tiger-100-duration-v22-1-0:100ms;
27
- --magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v22-1-0:cubic-bezier(0.25, 0.1, 0.25, 1);
28
- --magritte-semantic-animation-ease-in-out-tiger-200-duration-v22-1-0:200ms;
29
- --magritte-static-space-0-v22-1-0:0px;
30
- --magritte-static-space-200-v22-1-0:8px;
31
- --magritte-static-space-300-v22-1-0:12px;
32
- --magritte-static-space-400-v22-1-0:16px;
33
- --magritte-static-space-600-v22-1-0:24px;
34
- --magritte-core-border-radius-25-x-v22-1-0:100px;
35
- }
24
+ --magritte-semantic-border-radius-form-v23-0-0:12px;
25
+ --magritte-semantic-scale-pressed-v23-0-0:0.96;
26
+ --magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v23-0-0:cubic-bezier(0.25, 0.1, 0.25, 1);
27
+ --magritte-semantic-animation-ease-in-out-tiger-100-duration-v23-0-0:100ms;
28
+ --magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v23-0-0:cubic-bezier(0.25, 0.1, 0.25, 1);
29
+ --magritte-semantic-animation-ease-in-out-tiger-200-duration-v23-0-0:200ms;
30
+ --magritte-static-space-0-v23-0-0:0px;
31
+ --magritte-static-space-200-v23-0-0:8px;
32
+ --magritte-static-space-300-v23-0-0:12px;
33
+ --magritte-static-space-400-v23-0-0:16px;
34
+ --magritte-static-space-600-v23-0-0:24px;
35
+ --magritte-core-border-radius-25-x-v23-0-0:100px;
36
+ }
37
+
36
38
  .magritte-night-theme{
37
- --magritte-color-component-tabs-stroke-state-focused-accessible-v22-1-0:#0070ff7a;
38
- --magritte-color-component-tabs-background-selected-v22-1-0:#ffffff;
39
- --magritte-color-component-tabs-background-unselected-v22-1-0:#303030;
40
- --magritte-color-component-tabs-background-state-unselected-pressed-v22-1-0:#303030;
41
- --magritte-color-component-tabs-background-state-unselected-focused-v22-1-0:#303030;
42
- --magritte-color-component-tabs-background-state-selected-focused-v22-1-0:#ffffff;
43
- --magritte-color-component-tabs-background-state-unselected-hovered-v22-1-0:#3B3B3B;
44
- --magritte-color-component-tabs-text-selected-v22-1-0:#000000;
45
- --magritte-color-component-tabs-text-unselected-v22-1-0:#B9B9B9;
46
- --magritte-color-component-tabs-postfix-text-selected-v22-1-0:#919191;
47
- --magritte-color-component-tabs-postfix-text-unselected-v22-1-0:#919191;
48
- --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v22-1-0:#0070ff7a;
49
- --magritte-color-component-secondary-tabs-text-selected-v22-1-0:#ffffff;
50
- --magritte-color-component-secondary-tabs-text-unselected-v22-1-0:#ABABAB;
51
- --magritte-color-component-secondary-tabs-indicator-selected-v22-1-0:#ffffff;
52
- --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-1-0:#ABABAB;
53
- --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v22-1-0:#ABABAB;
54
- --magritte-color-component-secondary-tabs-postfix-text-selected-v22-1-0:#919191;
55
- --magritte-color-component-secondary-tabs-postfix-text-unselected-v22-1-0:#919191;
56
- }
39
+ --magritte-color-component-tabs-stroke-state-focused-accessible-v23-0-0:#0070ff7a;
40
+ --magritte-color-component-tabs-background-selected-v23-0-0:#ffffff;
41
+ --magritte-color-component-tabs-background-unselected-v23-0-0:#303030;
42
+ --magritte-color-component-tabs-background-state-unselected-pressed-v23-0-0:#303030;
43
+ --magritte-color-component-tabs-background-state-unselected-focused-v23-0-0:#303030;
44
+ --magritte-color-component-tabs-background-state-selected-focused-v23-0-0:#ffffff;
45
+ --magritte-color-component-tabs-background-state-unselected-hovered-v23-0-0:#3B3B3B;
46
+ --magritte-color-component-tabs-text-selected-v23-0-0:#000000;
47
+ --magritte-color-component-tabs-text-unselected-v23-0-0:#B9B9B9;
48
+ --magritte-color-component-tabs-postfix-text-selected-v23-0-0:#919191;
49
+ --magritte-color-component-tabs-postfix-text-unselected-v23-0-0:#919191;
50
+ --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-0-0:#0070ff7a;
51
+ --magritte-color-component-secondary-tabs-text-selected-v23-0-0:#ffffff;
52
+ --magritte-color-component-secondary-tabs-text-unselected-v23-0-0:#ABABAB;
53
+ --magritte-color-component-secondary-tabs-indicator-selected-v23-0-0:#ffffff;
54
+ --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-0-0:#ABABAB;
55
+ --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-0-0:#ABABAB;
56
+ --magritte-color-component-secondary-tabs-postfix-text-selected-v23-0-0:#919191;
57
+ --magritte-color-component-secondary-tabs-postfix-text-unselected-v23-0-0:#919191;
58
+ }
59
+
57
60
  .magritte-zp-day-theme{
58
- --magritte-color-component-tabs-stroke-state-focused-accessible-v22-1-0:#0070ff7a;
59
- --magritte-color-component-tabs-background-selected-v22-1-0:#000000;
60
- --magritte-color-component-tabs-background-unselected-v22-1-0:#F1F4F9;
61
- --magritte-color-component-tabs-background-state-unselected-pressed-v22-1-0:#F1F4F9;
62
- --magritte-color-component-tabs-background-state-unselected-focused-v22-1-0:#F1F4F9;
63
- --magritte-color-component-tabs-background-state-selected-focused-v22-1-0:#000000;
64
- --magritte-color-component-tabs-background-state-unselected-hovered-v22-1-0:#DCE3EB;
65
- --magritte-color-component-tabs-text-selected-v22-1-0:#ffffff;
66
- --magritte-color-component-tabs-text-unselected-v22-1-0:#6a7885;
67
- --magritte-color-component-tabs-postfix-text-selected-v22-1-0:#BBC8D4;
68
- --magritte-color-component-tabs-postfix-text-unselected-v22-1-0:#AABBCA;
69
- --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v22-1-0:#0070ff7a;
70
- --magritte-color-component-secondary-tabs-text-selected-v22-1-0:#000000;
71
- --magritte-color-component-secondary-tabs-text-unselected-v22-1-0:#768694;
72
- --magritte-color-component-secondary-tabs-indicator-selected-v22-1-0:#000000;
73
- --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-1-0:#000000;
74
- --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v22-1-0:#000000;
75
- --magritte-color-component-secondary-tabs-postfix-text-selected-v22-1-0:#AABBCA;
76
- --magritte-color-component-secondary-tabs-postfix-text-unselected-v22-1-0:#AABBCA;
77
- }
78
- .magritte-tabs___VcV8C_7-0-3{
61
+ --magritte-color-component-tabs-stroke-state-focused-accessible-v23-0-0:#0070ff7a;
62
+ --magritte-color-component-tabs-background-selected-v23-0-0:#000000;
63
+ --magritte-color-component-tabs-background-unselected-v23-0-0:#F1F4F9;
64
+ --magritte-color-component-tabs-background-state-unselected-pressed-v23-0-0:#F1F4F9;
65
+ --magritte-color-component-tabs-background-state-unselected-focused-v23-0-0:#F1F4F9;
66
+ --magritte-color-component-tabs-background-state-selected-focused-v23-0-0:#000000;
67
+ --magritte-color-component-tabs-background-state-unselected-hovered-v23-0-0:#DCE3EB;
68
+ --magritte-color-component-tabs-text-selected-v23-0-0:#ffffff;
69
+ --magritte-color-component-tabs-text-unselected-v23-0-0:#6a7885;
70
+ --magritte-color-component-tabs-postfix-text-selected-v23-0-0:#BBC8D4;
71
+ --magritte-color-component-tabs-postfix-text-unselected-v23-0-0:#AABBCA;
72
+ --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-0-0:#0070ff7a;
73
+ --magritte-color-component-secondary-tabs-text-selected-v23-0-0:#000000;
74
+ --magritte-color-component-secondary-tabs-text-unselected-v23-0-0:#768694;
75
+ --magritte-color-component-secondary-tabs-indicator-selected-v23-0-0:#000000;
76
+ --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-0-0:#000000;
77
+ --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-0-0:#000000;
78
+ --magritte-color-component-secondary-tabs-postfix-text-selected-v23-0-0:#AABBCA;
79
+ --magritte-color-component-secondary-tabs-postfix-text-unselected-v23-0-0:#AABBCA;
80
+ }
81
+ .magritte-tabs___VcV8C_7-0-5{
79
82
  display:flex;
80
83
  align-items:center;
81
84
  outline:none;
82
85
  }
83
- .magritte-tab-wrapper___9j9qk_7-0-3:last-of-type{
84
- margin-right:var(--magritte-static-space-0-v22-1-0);
86
+ .magritte-tab-wrapper___9j9qk_7-0-5:last-of-type{
87
+ margin-right:var(--magritte-static-space-0-v23-0-0);
85
88
  }
86
- .magritte-tab___B0BeU_7-0-3{
89
+ .magritte-tab___B0BeU_7-0-5{
87
90
  box-sizing:border-box;
88
91
  flex-shrink:0;
89
92
  display:block;
@@ -91,186 +94,186 @@
91
94
  border:0;
92
95
  outline:0 solid transparent;
93
96
  min-height:40px;
94
- transition:all var(--magritte-semantic-animation-ease-in-out-tiger-100-duration-v22-1-0) var(--magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v22-1-0);
97
+ transition:all var(--magritte-semantic-animation-ease-in-out-tiger-100-duration-v23-0-0) var(--magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v23-0-0);
95
98
  }
96
- .magritte-tab___B0BeU_7-0-3:active{
97
- transform:scale(var(--magritte-semantic-scale-pressed-v22-1-0));
98
- transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v22-1-0) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v22-1-0);
99
+ .magritte-tab___B0BeU_7-0-5:active{
100
+ transform:scale(var(--magritte-semantic-scale-pressed-v23-0-0));
101
+ transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v23-0-0) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v23-0-0);
99
102
  }
100
- .magritte-tab___B0BeU_7-0-3.magritte-tab_selected___w9PT2_7-0-3{
103
+ .magritte-tab___B0BeU_7-0-5.magritte-tab_selected___w9PT2_7-0-5{
101
104
  cursor:default;
102
105
  }
103
- .magritte-tab___B0BeU_7-0-3.magritte-tab_selected___w9PT2_7-0-3:active{
106
+ .magritte-tab___B0BeU_7-0-5.magritte-tab_selected___w9PT2_7-0-5:active{
104
107
  transform:none;
105
108
  }
106
- .magritte-tab-wrapper_primary___yt3sT_7-0-3{
107
- margin-right:var(--magritte-static-space-300-v22-1-0);
109
+ .magritte-tab-wrapper_primary___yt3sT_7-0-5{
110
+ margin-right:var(--magritte-static-space-300-v23-0-0);
108
111
  }
109
- .magritte-tab_primary___3Of2H_7-0-3{
110
- border-radius:var(--magritte-core-border-radius-25-x-v22-1-0);
111
- background-color:var(--magritte-color-component-tabs-background-unselected-v22-1-0);
112
- --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-unselected-v22-1-0);
112
+ .magritte-tab_primary___3Of2H_7-0-5{
113
+ border-radius:var(--magritte-core-border-radius-25-x-v23-0-0);
114
+ background-color:var(--magritte-color-component-tabs-background-unselected-v23-0-0);
115
+ --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-unselected-v23-0-0);
113
116
  }
114
- .magritte-tab_primary___3Of2H_7-0-3:active{
115
- background-color:var(--magritte-color-component-tabs-background-state-unselected-pressed-v22-1-0);
117
+ .magritte-tab_primary___3Of2H_7-0-5:active{
118
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-pressed-v23-0-0);
116
119
  }
117
- .magritte-tab_primary___3Of2H_7-0-3.focus-visible{
118
- background-color:var(--magritte-color-component-tabs-background-state-unselected-focused-v22-1-0);
119
- outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v22-1-0);
120
+ .magritte-tab_primary___3Of2H_7-0-5.focus-visible{
121
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-focused-v23-0-0);
122
+ outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v23-0-0);
120
123
  }
121
- .magritte-tab_primary___3Of2H_7-0-3.magritte-tab_selected___w9PT2_7-0-3{
122
- background-color:var(--magritte-color-component-tabs-background-selected-v22-1-0);
123
- --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-selected-v22-1-0);
124
+ .magritte-tab_primary___3Of2H_7-0-5.magritte-tab_selected___w9PT2_7-0-5{
125
+ background-color:var(--magritte-color-component-tabs-background-selected-v23-0-0);
126
+ --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-selected-v23-0-0);
124
127
  }
125
- .magritte-tab_primary___3Of2H_7-0-3.magritte-tab_selected___w9PT2_7-0-3 .magritte-tab-label___nFmge_7-0-3{
126
- color:var(--magritte-color-component-tabs-text-selected-v22-1-0);
128
+ .magritte-tab_primary___3Of2H_7-0-5.magritte-tab_selected___w9PT2_7-0-5 .magritte-tab-label___nFmge_7-0-5{
129
+ color:var(--magritte-color-component-tabs-text-selected-v23-0-0);
127
130
  }
128
- .magritte-tab_primary___3Of2H_7-0-3.magritte-tab_selected___w9PT2_7-0-3 .magritte-postfix___30ZxD_7-0-3{
129
- color:var(--magritte-color-component-tabs-postfix-text-selected-v22-1-0);
131
+ .magritte-tab_primary___3Of2H_7-0-5.magritte-tab_selected___w9PT2_7-0-5 .magritte-postfix___30ZxD_7-0-5{
132
+ color:var(--magritte-color-component-tabs-postfix-text-selected-v23-0-0);
130
133
  }
131
- .magritte-tab_primary___3Of2H_7-0-3.magritte-tab_selected___w9PT2_7-0-3:active{
132
- background-color:var(--magritte-color-component-tabs-background-selected-v22-1-0);
134
+ .magritte-tab_primary___3Of2H_7-0-5.magritte-tab_selected___w9PT2_7-0-5:active{
135
+ background-color:var(--magritte-color-component-tabs-background-selected-v23-0-0);
133
136
  }
134
- .magritte-tab_primary___3Of2H_7-0-3.magritte-tab_selected___w9PT2_7-0-3.focus-visible{
135
- background-color:var(--magritte-color-component-tabs-background-state-selected-focused-v22-1-0);
136
- outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v22-1-0);
137
+ .magritte-tab_primary___3Of2H_7-0-5.magritte-tab_selected___w9PT2_7-0-5.focus-visible{
138
+ background-color:var(--magritte-color-component-tabs-background-state-selected-focused-v23-0-0);
139
+ outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v23-0-0);
137
140
  }
138
141
  @media (min-width: 1020px){
139
- body.magritte-old-layout .magritte-tab_primary___3Of2H_7-0-3.magritte-tab_selected___w9PT2_7-0-3:hover:not(:active){
140
- background-color:var(--magritte-color-component-tabs-background-selected-v22-1-0);
142
+ body.magritte-old-layout .magritte-tab_primary___3Of2H_7-0-5.magritte-tab_selected___w9PT2_7-0-5:hover:not(:active){
143
+ background-color:var(--magritte-color-component-tabs-background-selected-v23-0-0);
141
144
  }
142
145
  }
143
146
  @media (min-width: 1024px){
144
- body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_7-0-3.magritte-tab_selected___w9PT2_7-0-3:hover:not(:active){
145
- background-color:var(--magritte-color-component-tabs-background-selected-v22-1-0);
147
+ body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_7-0-5.magritte-tab_selected___w9PT2_7-0-5:hover:not(:active){
148
+ background-color:var(--magritte-color-component-tabs-background-selected-v23-0-0);
146
149
  }
147
150
  }
148
- .magritte-tab_primary___3Of2H_7-0-3 .magritte-tab-content___onvTJ_7-0-3{
149
- padding:var(--magritte-static-space-200-v22-1-0) var(--magritte-static-space-400-v22-1-0);
151
+ .magritte-tab_primary___3Of2H_7-0-5 .magritte-tab-content___onvTJ_7-0-5{
152
+ padding:var(--magritte-static-space-200-v23-0-0) var(--magritte-static-space-400-v23-0-0);
150
153
  }
151
- .magritte-tab_primary___3Of2H_7-0-3 .magritte-tab-label___nFmge_7-0-3{
152
- color:var(--magritte-color-component-tabs-text-unselected-v22-1-0);
154
+ .magritte-tab_primary___3Of2H_7-0-5 .magritte-tab-label___nFmge_7-0-5{
155
+ color:var(--magritte-color-component-tabs-text-unselected-v23-0-0);
153
156
  }
154
- .magritte-tab_primary___3Of2H_7-0-3 .magritte-postfix___30ZxD_7-0-3{
155
- color:var(--magritte-color-component-tabs-postfix-text-unselected-v22-1-0);
157
+ .magritte-tab_primary___3Of2H_7-0-5 .magritte-postfix___30ZxD_7-0-5{
158
+ color:var(--magritte-color-component-tabs-postfix-text-unselected-v23-0-0);
156
159
  }
157
160
  @media (min-width: 1020px){
158
- body.magritte-old-layout .magritte-tab_primary___3Of2H_7-0-3:hover:not(:active){
159
- background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v22-1-0);
161
+ body.magritte-old-layout .magritte-tab_primary___3Of2H_7-0-5:hover:not(:active){
162
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v23-0-0);
160
163
  }
161
164
  }
162
165
  @media (min-width: 1024px){
163
- body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_7-0-3:hover:not(:active){
164
- background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v22-1-0);
166
+ body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_7-0-5:hover:not(:active){
167
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v23-0-0);
165
168
  }
166
169
  }
167
- .magritte-tab-wrapper_secondary___avLln_7-0-3{
168
- margin-right:var(--magritte-static-space-600-v22-1-0);
170
+ .magritte-tab-wrapper_secondary___avLln_7-0-5{
171
+ margin-right:var(--magritte-static-space-600-v23-0-0);
169
172
  }
170
- .magritte-tab_secondary___-00LL_7-0-3{
171
- border-radius:var(--magritte-semantic-border-radius-form-v22-1-0);
173
+ .magritte-tab_secondary___-00LL_7-0-5{
174
+ border-radius:var(--magritte-semantic-border-radius-form-v23-0-0);
172
175
  max-width:288px;
173
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-unselected-v22-1-0);
176
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-unselected-v23-0-0);
174
177
  }
175
- .magritte-tab_secondary___-00LL_7-0-3:active{
176
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v22-1-0);
178
+ .magritte-tab_secondary___-00LL_7-0-5:active{
179
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-0-0);
177
180
  }
178
- .magritte-tab_secondary___-00LL_7-0-3:active .magritte-tab-label___nFmge_7-0-3{
179
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v22-1-0);
181
+ .magritte-tab_secondary___-00LL_7-0-5:active .magritte-tab-label___nFmge_7-0-5{
182
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-0-0);
180
183
  }
181
- .magritte-tab_secondary___-00LL_7-0-3.focus-visible{
182
- outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v22-1-0);
184
+ .magritte-tab_secondary___-00LL_7-0-5.focus-visible{
185
+ outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-0-0);
183
186
  }
184
- .magritte-tab_secondary___-00LL_7-0-3.magritte-tab_selected___w9PT2_7-0-3{
185
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
187
+ .magritte-tab_secondary___-00LL_7-0-5.magritte-tab_selected___w9PT2_7-0-5{
188
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v23-0-0);
186
189
  }
187
- .magritte-tab_secondary___-00LL_7-0-3.magritte-tab_selected___w9PT2_7-0-3 .magritte-tab-label___nFmge_7-0-3{
188
- color:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
190
+ .magritte-tab_secondary___-00LL_7-0-5.magritte-tab_selected___w9PT2_7-0-5 .magritte-tab-label___nFmge_7-0-5{
191
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v23-0-0);
189
192
  }
190
- .magritte-tab_secondary___-00LL_7-0-3.magritte-tab_selected___w9PT2_7-0-3 .magritte-postfix___30ZxD_7-0-3{
191
- color:var(--magritte-color-component-secondary-tabs-postfix-text-selected-v22-1-0);
193
+ .magritte-tab_secondary___-00LL_7-0-5.magritte-tab_selected___w9PT2_7-0-5 .magritte-postfix___30ZxD_7-0-5{
194
+ color:var(--magritte-color-component-secondary-tabs-postfix-text-selected-v23-0-0);
192
195
  }
193
- .magritte-tab_secondary___-00LL_7-0-3.magritte-tab_selected___w9PT2_7-0-3:active{
194
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
196
+ .magritte-tab_secondary___-00LL_7-0-5.magritte-tab_selected___w9PT2_7-0-5:active{
197
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v23-0-0);
195
198
  }
196
- .magritte-tab_secondary___-00LL_7-0-3.magritte-tab_selected___w9PT2_7-0-3:active .magritte-tab-label___nFmge_7-0-3{
197
- color:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
199
+ .magritte-tab_secondary___-00LL_7-0-5.magritte-tab_selected___w9PT2_7-0-5:active .magritte-tab-label___nFmge_7-0-5{
200
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v23-0-0);
198
201
  }
199
- .magritte-tab_secondary___-00LL_7-0-3.magritte-tab_selected___w9PT2_7-0-3.focus-visible{
200
- outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v22-1-0);
202
+ .magritte-tab_secondary___-00LL_7-0-5.magritte-tab_selected___w9PT2_7-0-5.focus-visible{
203
+ outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-0-0);
201
204
  }
202
205
  @media (min-width: 1020px){
203
- body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-3.magritte-tab_selected___w9PT2_7-0-3:hover:not(:active){
204
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
206
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-5.magritte-tab_selected___w9PT2_7-0-5:hover:not(:active){
207
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v23-0-0);
205
208
  }
206
- body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-3.magritte-tab_selected___w9PT2_7-0-3:hover:not(:active) .magritte-tab-label___nFmge_7-0-3{
207
- color:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
209
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-5.magritte-tab_selected___w9PT2_7-0-5:hover:not(:active) .magritte-tab-label___nFmge_7-0-5{
210
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v23-0-0);
208
211
  }
209
212
  }
210
213
  @media (min-width: 1024px){
211
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-3.magritte-tab_selected___w9PT2_7-0-3:hover:not(:active){
212
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
214
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-5.magritte-tab_selected___w9PT2_7-0-5:hover:not(:active){
215
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v23-0-0);
213
216
  }
214
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-3.magritte-tab_selected___w9PT2_7-0-3:hover:not(:active) .magritte-tab-label___nFmge_7-0-3{
215
- color:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
217
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-5.magritte-tab_selected___w9PT2_7-0-5:hover:not(:active) .magritte-tab-label___nFmge_7-0-5{
218
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v23-0-0);
216
219
  }
217
220
  }
218
- .magritte-tab_secondary___-00LL_7-0-3 .magritte-tab-content___onvTJ_7-0-3{
219
- padding:var(--magritte-static-space-400-v22-1-0) 0;
221
+ .magritte-tab_secondary___-00LL_7-0-5 .magritte-tab-content___onvTJ_7-0-5{
222
+ padding:var(--magritte-static-space-400-v23-0-0) 0;
220
223
  }
221
- .magritte-tab_secondary___-00LL_7-0-3 .magritte-tab-label___nFmge_7-0-3{
222
- color:var(--magritte-color-component-secondary-tabs-text-unselected-v22-1-0);
224
+ .magritte-tab_secondary___-00LL_7-0-5 .magritte-tab-label___nFmge_7-0-5{
225
+ color:var(--magritte-color-component-secondary-tabs-text-unselected-v23-0-0);
223
226
  }
224
- .magritte-tab_secondary___-00LL_7-0-3 .magritte-postfix___30ZxD_7-0-3{
225
- color:var(--magritte-color-component-secondary-tabs-postfix-text-unselected-v22-1-0);
227
+ .magritte-tab_secondary___-00LL_7-0-5 .magritte-postfix___30ZxD_7-0-5{
228
+ color:var(--magritte-color-component-secondary-tabs-postfix-text-unselected-v23-0-0);
226
229
  }
227
230
  @media (min-width: 1020px){
228
- body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-3:hover:not(:active){
229
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-1-0);
231
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-5:hover:not(:active){
232
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-0-0);
230
233
  }
231
- body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-3:hover:not(:active) .magritte-tab-label___nFmge_7-0-3{
232
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-1-0);
234
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-5:hover:not(:active) .magritte-tab-label___nFmge_7-0-5{
235
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-0-0);
233
236
  }
234
237
  }
235
238
  @media (min-width: 1024px){
236
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-3:hover:not(:active){
237
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-1-0);
239
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-5:hover:not(:active){
240
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-0-0);
238
241
  }
239
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-3:hover:not(:active) .magritte-tab-label___nFmge_7-0-3{
240
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-1-0);
242
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-5:hover:not(:active) .magritte-tab-label___nFmge_7-0-5{
243
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-0-0);
241
244
  }
242
245
  }
243
- .magritte-tab-content___onvTJ_7-0-3{
246
+ .magritte-tab-content___onvTJ_7-0-5{
244
247
  display:flex;
245
248
  align-items:center;
246
249
  height:24px;
247
250
  }
248
- .magritte-tab-label___nFmge_7-0-3{
251
+ .magritte-tab-label___nFmge_7-0-5{
249
252
  flex:0 1 auto;
250
253
  min-width:0;
251
254
  overflow:hidden;
252
255
  text-overflow:ellipsis;
253
256
  white-space:pre;
254
257
  }
255
- .magritte-postfix-wrapper___1dORq_7-0-3{
258
+ .magritte-postfix-wrapper___1dORq_7-0-5{
256
259
  flex:0 0 auto;
257
260
  min-width:0;
258
261
  max-width:100%;
259
- margin-left:var(--magritte-static-space-200-v22-1-0);
262
+ margin-left:var(--magritte-static-space-200-v23-0-0);
260
263
  overflow:hidden;
261
264
  text-overflow:ellipsis;
262
265
  white-space:pre;
263
266
  }
264
- .magritte-indicator-wrapper___Q68i7_7-0-3{
267
+ .magritte-indicator-wrapper___Q68i7_7-0-5{
265
268
  margin-top:-4px;
266
269
  }
267
- .magritte-indicator___irp4W_7-0-3{
270
+ .magritte-indicator___irp4W_7-0-5{
268
271
  position:relative;
269
- background-color:var(--magritte-color-component-secondary-tabs-indicator-selected-v22-1-0);
272
+ background-color:var(--magritte-color-component-secondary-tabs-indicator-selected-v23-0-0);
270
273
  border-radius:4px 4px 0 0;
271
274
  height:4px;
272
275
  width:0;
273
276
  }
274
- .magritte-animate___5GxTP_7-0-3{
275
- transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v22-1-0) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v22-1-0);
277
+ .magritte-animate___5GxTP_7-0-5{
278
+ transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v23-0-0) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v23-0-0);
276
279
  }
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
  export { Tabs } from './Tabs.js';
3
- export { T as Tab } from './Tab-Bx-E9RTQ.js';
3
+ export { T as Tab } from './Tab-CLR8_qZ9.js';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react';
6
6
  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": "7.0.3",
3
+ "version": "7.0.5",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -19,17 +19,17 @@
19
19
  "watch": "yarn root:watch $(pwd)"
20
20
  },
21
21
  "dependencies": {
22
- "@hh.ru/magritte-common-focus-visible": "0.1.8",
22
+ "@hh.ru/magritte-common-focus-visible": "0.1.9",
23
23
  "@hh.ru/magritte-common-keyboard": "4.1.2",
24
24
  "@hh.ru/magritte-common-use-multiple-refs": "1.1.8",
25
- "@hh.ru/magritte-design-tokens": "22.1.0",
25
+ "@hh.ru/magritte-design-tokens": "23.0.0",
26
26
  "@hh.ru/magritte-types": "5.0.4",
27
- "@hh.ru/magritte-ui-badge": "3.0.0",
27
+ "@hh.ru/magritte-ui-badge": "3.0.1",
28
28
  "@hh.ru/magritte-ui-breakpoint": "6.0.0",
29
- "@hh.ru/magritte-ui-button": "6.0.2",
30
- "@hh.ru/magritte-ui-scrollable-container": "5.2.25",
31
- "@hh.ru/magritte-ui-tooltip": "10.0.3",
32
- "@hh.ru/magritte-ui-typography": "4.1.0"
29
+ "@hh.ru/magritte-ui-button": "6.0.4",
30
+ "@hh.ru/magritte-ui-scrollable-container": "5.2.27",
31
+ "@hh.ru/magritte-ui-tooltip": "10.0.5",
32
+ "@hh.ru/magritte-ui-typography": "4.1.1"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "classnames": ">=2.3.2",
@@ -38,5 +38,5 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "84be7fb81c268510672bdaa32f856319f7022df8"
41
+ "gitHead": "759fe057f9c0fbf62497dea6dc4f996f8c5d9a84"
42
42
  }
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-Bx-E9RTQ.js';
5
+ import { s as styles, T as Tab } from './Tab-CLR8_qZ9.js';
6
6
  import 'react/jsx-runtime';
7
7
  import 'classnames';
8
8
  import '@hh.ru/magritte-common-focus-visible';