@hh.ru/magritte-ui-tabs 7.0.9 → 7.0.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.
@@ -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-9","tab-wrapper":"magritte-tab-wrapper___9j9qk_7-0-9","tabWrapper":"magritte-tab-wrapper___9j9qk_7-0-9","tab":"magritte-tab___B0BeU_7-0-9","tab_selected":"magritte-tab_selected___w9PT2_7-0-9","tabSelected":"magritte-tab_selected___w9PT2_7-0-9","tab-wrapper_primary":"magritte-tab-wrapper_primary___yt3sT_7-0-9","tabWrapperPrimary":"magritte-tab-wrapper_primary___yt3sT_7-0-9","tab_primary":"magritte-tab_primary___3Of2H_7-0-9","tabPrimary":"magritte-tab_primary___3Of2H_7-0-9","tab-label":"magritte-tab-label___nFmge_7-0-9","tabLabel":"magritte-tab-label___nFmge_7-0-9","postfix":"magritte-postfix___30ZxD_7-0-9","tab-content":"magritte-tab-content___onvTJ_7-0-9","tabContent":"magritte-tab-content___onvTJ_7-0-9","tab-wrapper_secondary":"magritte-tab-wrapper_secondary___avLln_7-0-9","tabWrapperSecondary":"magritte-tab-wrapper_secondary___avLln_7-0-9","tab_secondary":"magritte-tab_secondary___-00LL_7-0-9","tabSecondary":"magritte-tab_secondary___-00LL_7-0-9","postfix-wrapper":"magritte-postfix-wrapper___1dORq_7-0-9","postfixWrapper":"magritte-postfix-wrapper___1dORq_7-0-9","indicator-wrapper":"magritte-indicator-wrapper___Q68i7_7-0-9","indicatorWrapper":"magritte-indicator-wrapper___Q68i7_7-0-9","indicator":"magritte-indicator___irp4W_7-0-9","animate":"magritte-animate___5GxTP_7-0-9"};
13
+ var styles = {"tabs":"magritte-tabs___VcV8C_7-0-10","tab-wrapper":"magritte-tab-wrapper___9j9qk_7-0-10","tabWrapper":"magritte-tab-wrapper___9j9qk_7-0-10","tab":"magritte-tab___B0BeU_7-0-10","tab_selected":"magritte-tab_selected___w9PT2_7-0-10","tabSelected":"magritte-tab_selected___w9PT2_7-0-10","tab-wrapper_primary":"magritte-tab-wrapper_primary___yt3sT_7-0-10","tabWrapperPrimary":"magritte-tab-wrapper_primary___yt3sT_7-0-10","tab_primary":"magritte-tab_primary___3Of2H_7-0-10","tabPrimary":"magritte-tab_primary___3Of2H_7-0-10","tab-label":"magritte-tab-label___nFmge_7-0-10","tabLabel":"magritte-tab-label___nFmge_7-0-10","postfix":"magritte-postfix___30ZxD_7-0-10","tab-content":"magritte-tab-content___onvTJ_7-0-10","tabContent":"magritte-tab-content___onvTJ_7-0-10","tab-wrapper_secondary":"magritte-tab-wrapper_secondary___avLln_7-0-10","tabWrapperSecondary":"magritte-tab-wrapper_secondary___avLln_7-0-10","tab_secondary":"magritte-tab_secondary___-00LL_7-0-10","tabSecondary":"magritte-tab_secondary___-00LL_7-0-10","postfix-wrapper":"magritte-postfix-wrapper___1dORq_7-0-10","postfixWrapper":"magritte-postfix-wrapper___1dORq_7-0-10","indicator-wrapper":"magritte-indicator-wrapper___Q68i7_7-0-10","indicatorWrapper":"magritte-indicator-wrapper___Q68i7_7-0-10","indicator":"magritte-indicator___irp4W_7-0-10","animate":"magritte-animate___5GxTP_7-0-10"};
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-BVp35G9D.js.map
80
+ //# sourceMappingURL=Tab-BDXWUj-7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tab-BVp35G9D.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,YAAA,UAAU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W,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-BDXWUj-7.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,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,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-BVp35G9D.js';
12
+ export { T as Tab } from './Tab-BDXWUj-7.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-BVp35G9D.js';
5
+ import { s as styles, T as Tab } from './Tab-BDXWUj-7.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,92 +1,92 @@
1
1
  :root{
2
- --magritte-color-component-tabs-stroke-state-focused-accessible-v23-2-0:#0070ff7a;
3
- --magritte-color-component-tabs-background-selected-v23-2-0:#000000;
4
- --magritte-color-component-tabs-background-unselected-v23-2-0:#F1F4F9;
5
- --magritte-color-component-tabs-background-state-unselected-pressed-v23-2-0:#F1F4F9;
6
- --magritte-color-component-tabs-background-state-unselected-focused-v23-2-0:#F1F4F9;
7
- --magritte-color-component-tabs-background-state-selected-focused-v23-2-0:#000000;
8
- --magritte-color-component-tabs-background-state-unselected-hovered-v23-2-0:#DCE3EB;
9
- --magritte-color-component-tabs-text-selected-v23-2-0:#ffffff;
10
- --magritte-color-component-tabs-text-unselected-v23-2-0:#6a7885;
11
- --magritte-color-component-tabs-postfix-text-selected-v23-2-0:#BBC8D4;
12
- --magritte-color-component-tabs-postfix-text-unselected-v23-2-0:#AABBCA;
13
- --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-2-0:#0070ff7a;
14
- --magritte-color-component-secondary-tabs-text-selected-v23-2-0:#000000;
15
- --magritte-color-component-secondary-tabs-text-unselected-v23-2-0:#768694;
16
- --magritte-color-component-secondary-tabs-indicator-selected-v23-2-0:#000000;
17
- --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-2-0:#000000;
18
- --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-2-0:#000000;
19
- --magritte-color-component-secondary-tabs-postfix-text-selected-v23-2-0:#AABBCA;
20
- --magritte-color-component-secondary-tabs-postfix-text-unselected-v23-2-0:#AABBCA;
2
+ --magritte-color-component-tabs-stroke-state-focused-accessible-v23-2-1:#0070ff7a;
3
+ --magritte-color-component-tabs-background-selected-v23-2-1:#000000;
4
+ --magritte-color-component-tabs-background-unselected-v23-2-1:#F1F4F9;
5
+ --magritte-color-component-tabs-background-state-unselected-pressed-v23-2-1:#F1F4F9;
6
+ --magritte-color-component-tabs-background-state-unselected-focused-v23-2-1:#F1F4F9;
7
+ --magritte-color-component-tabs-background-state-selected-focused-v23-2-1:#000000;
8
+ --magritte-color-component-tabs-background-state-unselected-hovered-v23-2-1:#DCE3EB;
9
+ --magritte-color-component-tabs-text-selected-v23-2-1:#ffffff;
10
+ --magritte-color-component-tabs-text-unselected-v23-2-1:#6a7885;
11
+ --magritte-color-component-tabs-postfix-text-selected-v23-2-1:#BBC8D4;
12
+ --magritte-color-component-tabs-postfix-text-unselected-v23-2-1:#AABBCA;
13
+ --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-2-1:#0070ff7a;
14
+ --magritte-color-component-secondary-tabs-text-selected-v23-2-1:#000000;
15
+ --magritte-color-component-secondary-tabs-text-unselected-v23-2-1:#768694;
16
+ --magritte-color-component-secondary-tabs-indicator-selected-v23-2-1:#000000;
17
+ --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-2-1:#000000;
18
+ --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-2-1:#000000;
19
+ --magritte-color-component-secondary-tabs-postfix-text-selected-v23-2-1:#AABBCA;
20
+ --magritte-color-component-secondary-tabs-postfix-text-unselected-v23-2-1:#AABBCA;
21
21
  }
22
22
 
23
23
  :root{
24
- --magritte-semantic-border-radius-form-v23-2-0:12px;
25
- --magritte-semantic-scale-pressed-v23-2-0:0.96;
26
- --magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v23-2-0:cubic-bezier(0.25, 0.1, 0.25, 1);
27
- --magritte-semantic-animation-ease-in-out-tiger-100-duration-v23-2-0:100ms;
28
- --magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v23-2-0:cubic-bezier(0.25, 0.1, 0.25, 1);
29
- --magritte-semantic-animation-ease-in-out-tiger-200-duration-v23-2-0:200ms;
30
- --magritte-static-space-0-v23-2-0:0px;
31
- --magritte-static-space-200-v23-2-0:8px;
32
- --magritte-static-space-300-v23-2-0:12px;
33
- --magritte-static-space-400-v23-2-0:16px;
34
- --magritte-static-space-600-v23-2-0:24px;
35
- --magritte-core-border-radius-25-x-v23-2-0:100px;
24
+ --magritte-semantic-border-radius-form-v23-2-1:12px;
25
+ --magritte-semantic-scale-pressed-v23-2-1:0.96;
26
+ --magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v23-2-1:cubic-bezier(0.25, 0.1, 0.25, 1);
27
+ --magritte-semantic-animation-ease-in-out-tiger-100-duration-v23-2-1:100ms;
28
+ --magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v23-2-1:cubic-bezier(0.25, 0.1, 0.25, 1);
29
+ --magritte-semantic-animation-ease-in-out-tiger-200-duration-v23-2-1:200ms;
30
+ --magritte-static-space-0-v23-2-1:0px;
31
+ --magritte-static-space-200-v23-2-1:8px;
32
+ --magritte-static-space-300-v23-2-1:12px;
33
+ --magritte-static-space-400-v23-2-1:16px;
34
+ --magritte-static-space-600-v23-2-1:24px;
35
+ --magritte-core-border-radius-25-x-v23-2-1:100px;
36
36
  }
37
37
 
38
38
  .magritte-night-theme{
39
- --magritte-color-component-tabs-stroke-state-focused-accessible-v23-2-0:#0070ff7a;
40
- --magritte-color-component-tabs-background-selected-v23-2-0:#ffffff;
41
- --magritte-color-component-tabs-background-unselected-v23-2-0:#303030;
42
- --magritte-color-component-tabs-background-state-unselected-pressed-v23-2-0:#303030;
43
- --magritte-color-component-tabs-background-state-unselected-focused-v23-2-0:#303030;
44
- --magritte-color-component-tabs-background-state-selected-focused-v23-2-0:#ffffff;
45
- --magritte-color-component-tabs-background-state-unselected-hovered-v23-2-0:#3B3B3B;
46
- --magritte-color-component-tabs-text-selected-v23-2-0:#000000;
47
- --magritte-color-component-tabs-text-unselected-v23-2-0:#B9B9B9;
48
- --magritte-color-component-tabs-postfix-text-selected-v23-2-0:#919191;
49
- --magritte-color-component-tabs-postfix-text-unselected-v23-2-0:#919191;
50
- --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-2-0:#0070ff7a;
51
- --magritte-color-component-secondary-tabs-text-selected-v23-2-0:#ffffff;
52
- --magritte-color-component-secondary-tabs-text-unselected-v23-2-0:#ABABAB;
53
- --magritte-color-component-secondary-tabs-indicator-selected-v23-2-0:#ffffff;
54
- --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-2-0:#ABABAB;
55
- --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-2-0:#ABABAB;
56
- --magritte-color-component-secondary-tabs-postfix-text-selected-v23-2-0:#919191;
57
- --magritte-color-component-secondary-tabs-postfix-text-unselected-v23-2-0:#919191;
39
+ --magritte-color-component-tabs-stroke-state-focused-accessible-v23-2-1:#0070ff7a;
40
+ --magritte-color-component-tabs-background-selected-v23-2-1:#ffffff;
41
+ --magritte-color-component-tabs-background-unselected-v23-2-1:#303030;
42
+ --magritte-color-component-tabs-background-state-unselected-pressed-v23-2-1:#303030;
43
+ --magritte-color-component-tabs-background-state-unselected-focused-v23-2-1:#303030;
44
+ --magritte-color-component-tabs-background-state-selected-focused-v23-2-1:#ffffff;
45
+ --magritte-color-component-tabs-background-state-unselected-hovered-v23-2-1:#3B3B3B;
46
+ --magritte-color-component-tabs-text-selected-v23-2-1:#000000;
47
+ --magritte-color-component-tabs-text-unselected-v23-2-1:#B9B9B9;
48
+ --magritte-color-component-tabs-postfix-text-selected-v23-2-1:#919191;
49
+ --magritte-color-component-tabs-postfix-text-unselected-v23-2-1:#919191;
50
+ --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-2-1:#0070ff7a;
51
+ --magritte-color-component-secondary-tabs-text-selected-v23-2-1:#ffffff;
52
+ --magritte-color-component-secondary-tabs-text-unselected-v23-2-1:#ABABAB;
53
+ --magritte-color-component-secondary-tabs-indicator-selected-v23-2-1:#ffffff;
54
+ --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-2-1:#ABABAB;
55
+ --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-2-1:#ABABAB;
56
+ --magritte-color-component-secondary-tabs-postfix-text-selected-v23-2-1:#919191;
57
+ --magritte-color-component-secondary-tabs-postfix-text-unselected-v23-2-1:#919191;
58
58
  }
59
59
 
60
60
  .magritte-zp-day-theme{
61
- --magritte-color-component-tabs-stroke-state-focused-accessible-v23-2-0:#0070ff7a;
62
- --magritte-color-component-tabs-background-selected-v23-2-0:#000000;
63
- --magritte-color-component-tabs-background-unselected-v23-2-0:#F1F4F9;
64
- --magritte-color-component-tabs-background-state-unselected-pressed-v23-2-0:#F1F4F9;
65
- --magritte-color-component-tabs-background-state-unselected-focused-v23-2-0:#F1F4F9;
66
- --magritte-color-component-tabs-background-state-selected-focused-v23-2-0:#000000;
67
- --magritte-color-component-tabs-background-state-unselected-hovered-v23-2-0:#DCE3EB;
68
- --magritte-color-component-tabs-text-selected-v23-2-0:#ffffff;
69
- --magritte-color-component-tabs-text-unselected-v23-2-0:#6a7885;
70
- --magritte-color-component-tabs-postfix-text-selected-v23-2-0:#BBC8D4;
71
- --magritte-color-component-tabs-postfix-text-unselected-v23-2-0:#AABBCA;
72
- --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-2-0:#0070ff7a;
73
- --magritte-color-component-secondary-tabs-text-selected-v23-2-0:#000000;
74
- --magritte-color-component-secondary-tabs-text-unselected-v23-2-0:#768694;
75
- --magritte-color-component-secondary-tabs-indicator-selected-v23-2-0:#000000;
76
- --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-2-0:#000000;
77
- --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-2-0:#000000;
78
- --magritte-color-component-secondary-tabs-postfix-text-selected-v23-2-0:#AABBCA;
79
- --magritte-color-component-secondary-tabs-postfix-text-unselected-v23-2-0:#AABBCA;
80
- }
81
- .magritte-tabs___VcV8C_7-0-9{
61
+ --magritte-color-component-tabs-stroke-state-focused-accessible-v23-2-1:#0070ff7a;
62
+ --magritte-color-component-tabs-background-selected-v23-2-1:#000000;
63
+ --magritte-color-component-tabs-background-unselected-v23-2-1:#F1F4F9;
64
+ --magritte-color-component-tabs-background-state-unselected-pressed-v23-2-1:#F1F4F9;
65
+ --magritte-color-component-tabs-background-state-unselected-focused-v23-2-1:#F1F4F9;
66
+ --magritte-color-component-tabs-background-state-selected-focused-v23-2-1:#000000;
67
+ --magritte-color-component-tabs-background-state-unselected-hovered-v23-2-1:#DCE3EB;
68
+ --magritte-color-component-tabs-text-selected-v23-2-1:#ffffff;
69
+ --magritte-color-component-tabs-text-unselected-v23-2-1:#6a7885;
70
+ --magritte-color-component-tabs-postfix-text-selected-v23-2-1:#BBC8D4;
71
+ --magritte-color-component-tabs-postfix-text-unselected-v23-2-1:#AABBCA;
72
+ --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-2-1:#0070ff7a;
73
+ --magritte-color-component-secondary-tabs-text-selected-v23-2-1:#000000;
74
+ --magritte-color-component-secondary-tabs-text-unselected-v23-2-1:#768694;
75
+ --magritte-color-component-secondary-tabs-indicator-selected-v23-2-1:#000000;
76
+ --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-2-1:#000000;
77
+ --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-2-1:#000000;
78
+ --magritte-color-component-secondary-tabs-postfix-text-selected-v23-2-1:#AABBCA;
79
+ --magritte-color-component-secondary-tabs-postfix-text-unselected-v23-2-1:#AABBCA;
80
+ }
81
+ .magritte-tabs___VcV8C_7-0-10{
82
82
  display:flex;
83
83
  align-items:center;
84
84
  outline:none;
85
85
  }
86
- .magritte-tab-wrapper___9j9qk_7-0-9:last-of-type{
87
- margin-right:var(--magritte-static-space-0-v23-2-0);
86
+ .magritte-tab-wrapper___9j9qk_7-0-10:last-of-type{
87
+ margin-right:var(--magritte-static-space-0-v23-2-1);
88
88
  }
89
- .magritte-tab___B0BeU_7-0-9{
89
+ .magritte-tab___B0BeU_7-0-10{
90
90
  box-sizing:border-box;
91
91
  flex-shrink:0;
92
92
  display:block;
@@ -94,186 +94,186 @@
94
94
  border:0;
95
95
  outline:0 solid transparent;
96
96
  min-height:40px;
97
- transition:all var(--magritte-semantic-animation-ease-in-out-tiger-100-duration-v23-2-0) var(--magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v23-2-0);
97
+ transition:all var(--magritte-semantic-animation-ease-in-out-tiger-100-duration-v23-2-1) var(--magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v23-2-1);
98
98
  }
99
- .magritte-tab___B0BeU_7-0-9:active{
100
- transform:scale(var(--magritte-semantic-scale-pressed-v23-2-0));
101
- transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v23-2-0) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v23-2-0);
99
+ .magritte-tab___B0BeU_7-0-10:active{
100
+ transform:scale(var(--magritte-semantic-scale-pressed-v23-2-1));
101
+ transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v23-2-1) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v23-2-1);
102
102
  }
103
- .magritte-tab___B0BeU_7-0-9.magritte-tab_selected___w9PT2_7-0-9{
103
+ .magritte-tab___B0BeU_7-0-10.magritte-tab_selected___w9PT2_7-0-10{
104
104
  cursor:default;
105
105
  }
106
- .magritte-tab___B0BeU_7-0-9.magritte-tab_selected___w9PT2_7-0-9:active{
106
+ .magritte-tab___B0BeU_7-0-10.magritte-tab_selected___w9PT2_7-0-10:active{
107
107
  transform:none;
108
108
  }
109
- .magritte-tab-wrapper_primary___yt3sT_7-0-9{
110
- margin-right:var(--magritte-static-space-300-v23-2-0);
109
+ .magritte-tab-wrapper_primary___yt3sT_7-0-10{
110
+ margin-right:var(--magritte-static-space-300-v23-2-1);
111
111
  }
112
- .magritte-tab_primary___3Of2H_7-0-9{
113
- border-radius:var(--magritte-core-border-radius-25-x-v23-2-0);
114
- background-color:var(--magritte-color-component-tabs-background-unselected-v23-2-0);
115
- --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-unselected-v23-2-0);
112
+ .magritte-tab_primary___3Of2H_7-0-10{
113
+ border-radius:var(--magritte-core-border-radius-25-x-v23-2-1);
114
+ background-color:var(--magritte-color-component-tabs-background-unselected-v23-2-1);
115
+ --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-unselected-v23-2-1);
116
116
  }
117
- .magritte-tab_primary___3Of2H_7-0-9:active{
118
- background-color:var(--magritte-color-component-tabs-background-state-unselected-pressed-v23-2-0);
117
+ .magritte-tab_primary___3Of2H_7-0-10:active{
118
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-pressed-v23-2-1);
119
119
  }
120
- .magritte-tab_primary___3Of2H_7-0-9.focus-visible{
121
- background-color:var(--magritte-color-component-tabs-background-state-unselected-focused-v23-2-0);
122
- outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v23-2-0);
120
+ .magritte-tab_primary___3Of2H_7-0-10.focus-visible{
121
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-focused-v23-2-1);
122
+ outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v23-2-1);
123
123
  }
124
- .magritte-tab_primary___3Of2H_7-0-9.magritte-tab_selected___w9PT2_7-0-9{
125
- background-color:var(--magritte-color-component-tabs-background-selected-v23-2-0);
126
- --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-selected-v23-2-0);
124
+ .magritte-tab_primary___3Of2H_7-0-10.magritte-tab_selected___w9PT2_7-0-10{
125
+ background-color:var(--magritte-color-component-tabs-background-selected-v23-2-1);
126
+ --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-selected-v23-2-1);
127
127
  }
128
- .magritte-tab_primary___3Of2H_7-0-9.magritte-tab_selected___w9PT2_7-0-9 .magritte-tab-label___nFmge_7-0-9{
129
- color:var(--magritte-color-component-tabs-text-selected-v23-2-0);
128
+ .magritte-tab_primary___3Of2H_7-0-10.magritte-tab_selected___w9PT2_7-0-10 .magritte-tab-label___nFmge_7-0-10{
129
+ color:var(--magritte-color-component-tabs-text-selected-v23-2-1);
130
130
  }
131
- .magritte-tab_primary___3Of2H_7-0-9.magritte-tab_selected___w9PT2_7-0-9 .magritte-postfix___30ZxD_7-0-9{
132
- color:var(--magritte-color-component-tabs-postfix-text-selected-v23-2-0);
131
+ .magritte-tab_primary___3Of2H_7-0-10.magritte-tab_selected___w9PT2_7-0-10 .magritte-postfix___30ZxD_7-0-10{
132
+ color:var(--magritte-color-component-tabs-postfix-text-selected-v23-2-1);
133
133
  }
134
- .magritte-tab_primary___3Of2H_7-0-9.magritte-tab_selected___w9PT2_7-0-9:active{
135
- background-color:var(--magritte-color-component-tabs-background-selected-v23-2-0);
134
+ .magritte-tab_primary___3Of2H_7-0-10.magritte-tab_selected___w9PT2_7-0-10:active{
135
+ background-color:var(--magritte-color-component-tabs-background-selected-v23-2-1);
136
136
  }
137
- .magritte-tab_primary___3Of2H_7-0-9.magritte-tab_selected___w9PT2_7-0-9.focus-visible{
138
- background-color:var(--magritte-color-component-tabs-background-state-selected-focused-v23-2-0);
139
- outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v23-2-0);
137
+ .magritte-tab_primary___3Of2H_7-0-10.magritte-tab_selected___w9PT2_7-0-10.focus-visible{
138
+ background-color:var(--magritte-color-component-tabs-background-state-selected-focused-v23-2-1);
139
+ outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v23-2-1);
140
140
  }
141
141
  @media (min-width: 1020px){
142
- body.magritte-old-layout .magritte-tab_primary___3Of2H_7-0-9.magritte-tab_selected___w9PT2_7-0-9:hover:not(:active){
143
- background-color:var(--magritte-color-component-tabs-background-selected-v23-2-0);
142
+ body.magritte-old-layout .magritte-tab_primary___3Of2H_7-0-10.magritte-tab_selected___w9PT2_7-0-10:hover:not(:active){
143
+ background-color:var(--magritte-color-component-tabs-background-selected-v23-2-1);
144
144
  }
145
145
  }
146
146
  @media (min-width: 1024px){
147
- body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_7-0-9.magritte-tab_selected___w9PT2_7-0-9:hover:not(:active){
148
- background-color:var(--magritte-color-component-tabs-background-selected-v23-2-0);
147
+ body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_7-0-10.magritte-tab_selected___w9PT2_7-0-10:hover:not(:active){
148
+ background-color:var(--magritte-color-component-tabs-background-selected-v23-2-1);
149
149
  }
150
150
  }
151
- .magritte-tab_primary___3Of2H_7-0-9 .magritte-tab-content___onvTJ_7-0-9{
152
- padding:var(--magritte-static-space-200-v23-2-0) var(--magritte-static-space-400-v23-2-0);
151
+ .magritte-tab_primary___3Of2H_7-0-10 .magritte-tab-content___onvTJ_7-0-10{
152
+ padding:var(--magritte-static-space-200-v23-2-1) var(--magritte-static-space-400-v23-2-1);
153
153
  }
154
- .magritte-tab_primary___3Of2H_7-0-9 .magritte-tab-label___nFmge_7-0-9{
155
- color:var(--magritte-color-component-tabs-text-unselected-v23-2-0);
154
+ .magritte-tab_primary___3Of2H_7-0-10 .magritte-tab-label___nFmge_7-0-10{
155
+ color:var(--magritte-color-component-tabs-text-unselected-v23-2-1);
156
156
  }
157
- .magritte-tab_primary___3Of2H_7-0-9 .magritte-postfix___30ZxD_7-0-9{
158
- color:var(--magritte-color-component-tabs-postfix-text-unselected-v23-2-0);
157
+ .magritte-tab_primary___3Of2H_7-0-10 .magritte-postfix___30ZxD_7-0-10{
158
+ color:var(--magritte-color-component-tabs-postfix-text-unselected-v23-2-1);
159
159
  }
160
160
  @media (min-width: 1020px){
161
- body.magritte-old-layout .magritte-tab_primary___3Of2H_7-0-9:hover:not(:active){
162
- background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v23-2-0);
161
+ body.magritte-old-layout .magritte-tab_primary___3Of2H_7-0-10:hover:not(:active){
162
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v23-2-1);
163
163
  }
164
164
  }
165
165
  @media (min-width: 1024px){
166
- body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_7-0-9:hover:not(:active){
167
- background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v23-2-0);
166
+ body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_7-0-10:hover:not(:active){
167
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v23-2-1);
168
168
  }
169
169
  }
170
- .magritte-tab-wrapper_secondary___avLln_7-0-9{
171
- margin-right:var(--magritte-static-space-600-v23-2-0);
170
+ .magritte-tab-wrapper_secondary___avLln_7-0-10{
171
+ margin-right:var(--magritte-static-space-600-v23-2-1);
172
172
  }
173
- .magritte-tab_secondary___-00LL_7-0-9{
174
- border-radius:var(--magritte-semantic-border-radius-form-v23-2-0);
173
+ .magritte-tab_secondary___-00LL_7-0-10{
174
+ border-radius:var(--magritte-semantic-border-radius-form-v23-2-1);
175
175
  max-width:288px;
176
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-unselected-v23-2-0);
176
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-unselected-v23-2-1);
177
177
  }
178
- .magritte-tab_secondary___-00LL_7-0-9:active{
179
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-2-0);
178
+ .magritte-tab_secondary___-00LL_7-0-10:active{
179
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-2-1);
180
180
  }
181
- .magritte-tab_secondary___-00LL_7-0-9:active .magritte-tab-label___nFmge_7-0-9{
182
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-2-0);
181
+ .magritte-tab_secondary___-00LL_7-0-10:active .magritte-tab-label___nFmge_7-0-10{
182
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v23-2-1);
183
183
  }
184
- .magritte-tab_secondary___-00LL_7-0-9.focus-visible{
185
- outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-2-0);
184
+ .magritte-tab_secondary___-00LL_7-0-10.focus-visible{
185
+ outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-2-1);
186
186
  }
187
- .magritte-tab_secondary___-00LL_7-0-9.magritte-tab_selected___w9PT2_7-0-9{
188
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-0);
187
+ .magritte-tab_secondary___-00LL_7-0-10.magritte-tab_selected___w9PT2_7-0-10{
188
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-1);
189
189
  }
190
- .magritte-tab_secondary___-00LL_7-0-9.magritte-tab_selected___w9PT2_7-0-9 .magritte-tab-label___nFmge_7-0-9{
191
- color:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-0);
190
+ .magritte-tab_secondary___-00LL_7-0-10.magritte-tab_selected___w9PT2_7-0-10 .magritte-tab-label___nFmge_7-0-10{
191
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-1);
192
192
  }
193
- .magritte-tab_secondary___-00LL_7-0-9.magritte-tab_selected___w9PT2_7-0-9 .magritte-postfix___30ZxD_7-0-9{
194
- color:var(--magritte-color-component-secondary-tabs-postfix-text-selected-v23-2-0);
193
+ .magritte-tab_secondary___-00LL_7-0-10.magritte-tab_selected___w9PT2_7-0-10 .magritte-postfix___30ZxD_7-0-10{
194
+ color:var(--magritte-color-component-secondary-tabs-postfix-text-selected-v23-2-1);
195
195
  }
196
- .magritte-tab_secondary___-00LL_7-0-9.magritte-tab_selected___w9PT2_7-0-9:active{
197
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-0);
196
+ .magritte-tab_secondary___-00LL_7-0-10.magritte-tab_selected___w9PT2_7-0-10:active{
197
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-1);
198
198
  }
199
- .magritte-tab_secondary___-00LL_7-0-9.magritte-tab_selected___w9PT2_7-0-9:active .magritte-tab-label___nFmge_7-0-9{
200
- color:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-0);
199
+ .magritte-tab_secondary___-00LL_7-0-10.magritte-tab_selected___w9PT2_7-0-10:active .magritte-tab-label___nFmge_7-0-10{
200
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-1);
201
201
  }
202
- .magritte-tab_secondary___-00LL_7-0-9.magritte-tab_selected___w9PT2_7-0-9.focus-visible{
203
- outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-2-0);
202
+ .magritte-tab_secondary___-00LL_7-0-10.magritte-tab_selected___w9PT2_7-0-10.focus-visible{
203
+ outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v23-2-1);
204
204
  }
205
205
  @media (min-width: 1020px){
206
- body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-9.magritte-tab_selected___w9PT2_7-0-9:hover:not(:active){
207
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-0);
206
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-10.magritte-tab_selected___w9PT2_7-0-10:hover:not(:active){
207
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-1);
208
208
  }
209
- body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-9.magritte-tab_selected___w9PT2_7-0-9:hover:not(:active) .magritte-tab-label___nFmge_7-0-9{
210
- color:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-0);
209
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-10.magritte-tab_selected___w9PT2_7-0-10:hover:not(:active) .magritte-tab-label___nFmge_7-0-10{
210
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-1);
211
211
  }
212
212
  }
213
213
  @media (min-width: 1024px){
214
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-9.magritte-tab_selected___w9PT2_7-0-9:hover:not(:active){
215
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-0);
214
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-10.magritte-tab_selected___w9PT2_7-0-10:hover:not(:active){
215
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-1);
216
216
  }
217
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-9.magritte-tab_selected___w9PT2_7-0-9:hover:not(:active) .magritte-tab-label___nFmge_7-0-9{
218
- color:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-0);
217
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-10.magritte-tab_selected___w9PT2_7-0-10:hover:not(:active) .magritte-tab-label___nFmge_7-0-10{
218
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v23-2-1);
219
219
  }
220
220
  }
221
- .magritte-tab_secondary___-00LL_7-0-9 .magritte-tab-content___onvTJ_7-0-9{
222
- padding:var(--magritte-static-space-400-v23-2-0) 0;
221
+ .magritte-tab_secondary___-00LL_7-0-10 .magritte-tab-content___onvTJ_7-0-10{
222
+ padding:var(--magritte-static-space-400-v23-2-1) 0;
223
223
  }
224
- .magritte-tab_secondary___-00LL_7-0-9 .magritte-tab-label___nFmge_7-0-9{
225
- color:var(--magritte-color-component-secondary-tabs-text-unselected-v23-2-0);
224
+ .magritte-tab_secondary___-00LL_7-0-10 .magritte-tab-label___nFmge_7-0-10{
225
+ color:var(--magritte-color-component-secondary-tabs-text-unselected-v23-2-1);
226
226
  }
227
- .magritte-tab_secondary___-00LL_7-0-9 .magritte-postfix___30ZxD_7-0-9{
228
- color:var(--magritte-color-component-secondary-tabs-postfix-text-unselected-v23-2-0);
227
+ .magritte-tab_secondary___-00LL_7-0-10 .magritte-postfix___30ZxD_7-0-10{
228
+ color:var(--magritte-color-component-secondary-tabs-postfix-text-unselected-v23-2-1);
229
229
  }
230
230
  @media (min-width: 1020px){
231
- body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-9:hover:not(:active){
232
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-2-0);
231
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-10:hover:not(:active){
232
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-2-1);
233
233
  }
234
- body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-9:hover:not(:active) .magritte-tab-label___nFmge_7-0-9{
235
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-2-0);
234
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-10:hover:not(:active) .magritte-tab-label___nFmge_7-0-10{
235
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-2-1);
236
236
  }
237
237
  }
238
238
  @media (min-width: 1024px){
239
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-9:hover:not(:active){
240
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-2-0);
239
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-10:hover:not(:active){
240
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-2-1);
241
241
  }
242
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-9:hover:not(:active) .magritte-tab-label___nFmge_7-0-9{
243
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-2-0);
242
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-10:hover:not(:active) .magritte-tab-label___nFmge_7-0-10{
243
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v23-2-1);
244
244
  }
245
245
  }
246
- .magritte-tab-content___onvTJ_7-0-9{
246
+ .magritte-tab-content___onvTJ_7-0-10{
247
247
  display:flex;
248
248
  align-items:center;
249
249
  height:24px;
250
250
  }
251
- .magritte-tab-label___nFmge_7-0-9{
251
+ .magritte-tab-label___nFmge_7-0-10{
252
252
  flex:0 1 auto;
253
253
  min-width:0;
254
254
  overflow:hidden;
255
255
  text-overflow:ellipsis;
256
256
  white-space:pre;
257
257
  }
258
- .magritte-postfix-wrapper___1dORq_7-0-9{
258
+ .magritte-postfix-wrapper___1dORq_7-0-10{
259
259
  flex:0 0 auto;
260
260
  min-width:0;
261
261
  max-width:100%;
262
- margin-left:var(--magritte-static-space-200-v23-2-0);
262
+ margin-left:var(--magritte-static-space-200-v23-2-1);
263
263
  overflow:hidden;
264
264
  text-overflow:ellipsis;
265
265
  white-space:pre;
266
266
  }
267
- .magritte-indicator-wrapper___Q68i7_7-0-9{
267
+ .magritte-indicator-wrapper___Q68i7_7-0-10{
268
268
  margin-top:-4px;
269
269
  }
270
- .magritte-indicator___irp4W_7-0-9{
270
+ .magritte-indicator___irp4W_7-0-10{
271
271
  position:relative;
272
- background-color:var(--magritte-color-component-secondary-tabs-indicator-selected-v23-2-0);
272
+ background-color:var(--magritte-color-component-secondary-tabs-indicator-selected-v23-2-1);
273
273
  border-radius:4px 4px 0 0;
274
274
  height:4px;
275
275
  width:0;
276
276
  }
277
- .magritte-animate___5GxTP_7-0-9{
278
- transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v23-2-0) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v23-2-0);
277
+ .magritte-animate___5GxTP_7-0-10{
278
+ transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v23-2-1) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v23-2-1);
279
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-BVp35G9D.js';
3
+ export { T as Tab } from './Tab-BDXWUj-7.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.9",
3
+ "version": "7.0.10",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -20,16 +20,16 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@hh.ru/magritte-common-focus-visible": "0.1.9",
23
- "@hh.ru/magritte-common-keyboard": "4.1.2",
24
- "@hh.ru/magritte-common-use-multiple-refs": "1.1.8",
25
- "@hh.ru/magritte-design-tokens": "23.2.0",
23
+ "@hh.ru/magritte-common-keyboard": "4.1.3",
24
+ "@hh.ru/magritte-common-use-multiple-refs": "1.1.9",
25
+ "@hh.ru/magritte-design-tokens": "23.2.1",
26
26
  "@hh.ru/magritte-types": "5.0.4",
27
- "@hh.ru/magritte-ui-badge": "3.1.2",
28
- "@hh.ru/magritte-ui-breakpoint": "6.0.0",
29
- "@hh.ru/magritte-ui-button": "6.0.7",
30
- "@hh.ru/magritte-ui-scrollable-container": "5.2.30",
31
- "@hh.ru/magritte-ui-tooltip": "10.0.9",
32
- "@hh.ru/magritte-ui-typography": "4.2.1"
27
+ "@hh.ru/magritte-ui-badge": "3.1.3",
28
+ "@hh.ru/magritte-ui-breakpoint": "6.0.1",
29
+ "@hh.ru/magritte-ui-button": "6.0.8",
30
+ "@hh.ru/magritte-ui-scrollable-container": "5.2.31",
31
+ "@hh.ru/magritte-ui-tooltip": "10.0.10",
32
+ "@hh.ru/magritte-ui-typography": "4.2.2"
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": "fb6e7a383f8c329c0b5bc46df4d4bb11e44d9d24"
41
+ "gitHead": "18a4c9f53b8572077ce0fba28266865c1b619cee"
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-BVp35G9D.js';
5
+ import { s as styles, T as Tab } from './Tab-BDXWUj-7.js';
6
6
  import 'react/jsx-runtime';
7
7
  import 'classnames';
8
8
  import '@hh.ru/magritte-common-focus-visible';