@hh.ru/magritte-ui-tabs 6.1.28 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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_6-1-28","tab-wrapper":"magritte-tab-wrapper___9j9qk_6-1-28","tabWrapper":"magritte-tab-wrapper___9j9qk_6-1-28","tab":"magritte-tab___B0BeU_6-1-28","tab_selected":"magritte-tab_selected___w9PT2_6-1-28","tabSelected":"magritte-tab_selected___w9PT2_6-1-28","tab-wrapper_primary":"magritte-tab-wrapper_primary___yt3sT_6-1-28","tabWrapperPrimary":"magritte-tab-wrapper_primary___yt3sT_6-1-28","tab_primary":"magritte-tab_primary___3Of2H_6-1-28","tabPrimary":"magritte-tab_primary___3Of2H_6-1-28","tab-label":"magritte-tab-label___nFmge_6-1-28","tabLabel":"magritte-tab-label___nFmge_6-1-28","postfix":"magritte-postfix___30ZxD_6-1-28","tab-content":"magritte-tab-content___onvTJ_6-1-28","tabContent":"magritte-tab-content___onvTJ_6-1-28","tab-wrapper_secondary":"magritte-tab-wrapper_secondary___avLln_6-1-28","tabWrapperSecondary":"magritte-tab-wrapper_secondary___avLln_6-1-28","tab_secondary":"magritte-tab_secondary___-00LL_6-1-28","tabSecondary":"magritte-tab_secondary___-00LL_6-1-28","postfix-wrapper":"magritte-postfix-wrapper___1dORq_6-1-28","postfixWrapper":"magritte-postfix-wrapper___1dORq_6-1-28","indicator-wrapper":"magritte-indicator-wrapper___Q68i7_6-1-28","indicatorWrapper":"magritte-indicator-wrapper___Q68i7_6-1-28","indicator":"magritte-indicator___irp4W_6-1-28","animate":"magritte-animate___5GxTP_6-1-28"};
13
+ var styles = {"tabs":"magritte-tabs___VcV8C_7-0-0","tab-wrapper":"magritte-tab-wrapper___9j9qk_7-0-0","tabWrapper":"magritte-tab-wrapper___9j9qk_7-0-0","tab":"magritte-tab___B0BeU_7-0-0","tab_selected":"magritte-tab_selected___w9PT2_7-0-0","tabSelected":"magritte-tab_selected___w9PT2_7-0-0","tab-wrapper_primary":"magritte-tab-wrapper_primary___yt3sT_7-0-0","tabWrapperPrimary":"magritte-tab-wrapper_primary___yt3sT_7-0-0","tab_primary":"magritte-tab_primary___3Of2H_7-0-0","tabPrimary":"magritte-tab_primary___3Of2H_7-0-0","tab-label":"magritte-tab-label___nFmge_7-0-0","tabLabel":"magritte-tab-label___nFmge_7-0-0","postfix":"magritte-postfix___30ZxD_7-0-0","tab-content":"magritte-tab-content___onvTJ_7-0-0","tabContent":"magritte-tab-content___onvTJ_7-0-0","tab-wrapper_secondary":"magritte-tab-wrapper_secondary___avLln_7-0-0","tabWrapperSecondary":"magritte-tab-wrapper_secondary___avLln_7-0-0","tab_secondary":"magritte-tab_secondary___-00LL_7-0-0","tabSecondary":"magritte-tab_secondary___-00LL_7-0-0","postfix-wrapper":"magritte-postfix-wrapper___1dORq_7-0-0","postfixWrapper":"magritte-postfix-wrapper___1dORq_7-0-0","indicator-wrapper":"magritte-indicator-wrapper___Q68i7_7-0-0","indicatorWrapper":"magritte-indicator-wrapper___Q68i7_7-0-0","indicator":"magritte-indicator___irp4W_7-0-0","animate":"magritte-animate___5GxTP_7-0-0"};
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-BkiCPwRm.js.map
80
+ //# sourceMappingURL=Tab-D9Yrz9XD.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tab-BkiCPwRm.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,U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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-D9Yrz9XD.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,S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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-BkiCPwRm.js';
12
+ export { T as Tab } from './Tab-D9Yrz9XD.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-BkiCPwRm.js';
5
+ import { s as styles, T as Tab } from './Tab-D9Yrz9XD.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,68 +1,89 @@
1
1
  :root{
2
- --magritte-color-component-tabs-stroke-state-focused-accessible-v22-0-0:#0070ff7a;
3
- --magritte-color-component-tabs-background-selected-v22-0-0:#000000;
4
- --magritte-color-component-tabs-background-unselected-v22-0-0:#F1F4F9;
5
- --magritte-color-component-tabs-background-state-unselected-pressed-v22-0-0:#F1F4F9;
6
- --magritte-color-component-tabs-background-state-unselected-focused-v22-0-0:#F1F4F9;
7
- --magritte-color-component-tabs-background-state-selected-focused-v22-0-0:#000000;
8
- --magritte-color-component-tabs-background-state-unselected-hovered-v22-0-0:#DCE3EB;
9
- --magritte-color-component-tabs-text-selected-v22-0-0:#ffffff;
10
- --magritte-color-component-tabs-text-unselected-v22-0-0:#6a7885;
11
- --magritte-color-component-tabs-postfix-text-selected-v22-0-0:#BBC8D4;
12
- --magritte-color-component-tabs-postfix-text-unselected-v22-0-0:#AABBCA;
13
- --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v22-0-0:#0070ff7a;
14
- --magritte-color-component-secondary-tabs-text-selected-v22-0-0:#000000;
15
- --magritte-color-component-secondary-tabs-text-unselected-v22-0-0:#768694;
16
- --magritte-color-component-secondary-tabs-indicator-selected-v22-0-0:#000000;
17
- --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-0-0:#000000;
18
- --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v22-0-0:#000000;
19
- --magritte-color-component-secondary-tabs-postfix-text-selected-v22-0-0:#AABBCA;
20
- --magritte-color-component-secondary-tabs-postfix-text-unselected-v22-0-0:#AABBCA;
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
21
  }
22
22
  :root{
23
- --magritte-semantic-border-radius-form-v22-0-0:12px;
24
- --magritte-semantic-scale-pressed-v22-0-0:0.96;
25
- --magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v22-0-0:cubic-bezier(0.25, 0.1, 0.25, 1);
26
- --magritte-semantic-animation-ease-in-out-tiger-100-duration-v22-0-0:100ms;
27
- --magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v22-0-0:cubic-bezier(0.25, 0.1, 0.25, 1);
28
- --magritte-semantic-animation-ease-in-out-tiger-200-duration-v22-0-0:200ms;
29
- --magritte-static-space-0-v22-0-0:0px;
30
- --magritte-static-space-200-v22-0-0:8px;
31
- --magritte-static-space-300-v22-0-0:12px;
32
- --magritte-static-space-400-v22-0-0:16px;
33
- --magritte-static-space-600-v22-0-0:24px;
34
- --magritte-core-border-radius-25-x-v22-0-0:100px;
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
35
  }
36
36
  .magritte-night-theme{
37
- --magritte-color-component-tabs-stroke-state-focused-accessible-v22-0-0:#0070ff7a;
38
- --magritte-color-component-tabs-background-selected-v22-0-0:#ffffff;
39
- --magritte-color-component-tabs-background-unselected-v22-0-0:#303030;
40
- --magritte-color-component-tabs-background-state-unselected-pressed-v22-0-0:#303030;
41
- --magritte-color-component-tabs-background-state-unselected-focused-v22-0-0:#303030;
42
- --magritte-color-component-tabs-background-state-selected-focused-v22-0-0:#ffffff;
43
- --magritte-color-component-tabs-background-state-unselected-hovered-v22-0-0:#3B3B3B;
44
- --magritte-color-component-tabs-text-selected-v22-0-0:#000000;
45
- --magritte-color-component-tabs-text-unselected-v22-0-0:#B9B9B9;
46
- --magritte-color-component-tabs-postfix-text-selected-v22-0-0:#919191;
47
- --magritte-color-component-tabs-postfix-text-unselected-v22-0-0:#919191;
48
- --magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v22-0-0:#0070ff7a;
49
- --magritte-color-component-secondary-tabs-text-selected-v22-0-0:#ffffff;
50
- --magritte-color-component-secondary-tabs-text-unselected-v22-0-0:#ABABAB;
51
- --magritte-color-component-secondary-tabs-indicator-selected-v22-0-0:#ffffff;
52
- --magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-0-0:#ABABAB;
53
- --magritte-color-component-secondary-tabs-text-state-unselected-pressed-v22-0-0:#ABABAB;
54
- --magritte-color-component-secondary-tabs-postfix-text-selected-v22-0-0:#919191;
55
- --magritte-color-component-secondary-tabs-postfix-text-unselected-v22-0-0:#919191;
56
- }
57
- .magritte-tabs___VcV8C_6-1-28{
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
+ }
57
+ .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-0{
58
79
  display:flex;
59
80
  align-items:center;
60
81
  outline:none;
61
82
  }
62
- .magritte-tab-wrapper___9j9qk_6-1-28:last-of-type{
63
- margin-right:var(--magritte-static-space-0-v22-0-0);
83
+ .magritte-tab-wrapper___9j9qk_7-0-0:last-of-type{
84
+ margin-right:var(--magritte-static-space-0-v22-1-0);
64
85
  }
65
- .magritte-tab___B0BeU_6-1-28{
86
+ .magritte-tab___B0BeU_7-0-0{
66
87
  box-sizing:border-box;
67
88
  flex-shrink:0;
68
89
  display:block;
@@ -70,186 +91,186 @@
70
91
  border:0;
71
92
  outline:0 solid transparent;
72
93
  min-height:40px;
73
- transition:all var(--magritte-semantic-animation-ease-in-out-tiger-100-duration-v22-0-0) var(--magritte-semantic-animation-ease-in-out-tiger-100-timing-function-v22-0-0);
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);
74
95
  }
75
- .magritte-tab___B0BeU_6-1-28:active{
76
- transform:scale(var(--magritte-semantic-scale-pressed-v22-0-0));
77
- transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v22-0-0) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v22-0-0);
96
+ .magritte-tab___B0BeU_7-0-0: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);
78
99
  }
79
- .magritte-tab___B0BeU_6-1-28.magritte-tab_selected___w9PT2_6-1-28{
100
+ .magritte-tab___B0BeU_7-0-0.magritte-tab_selected___w9PT2_7-0-0{
80
101
  cursor:default;
81
102
  }
82
- .magritte-tab___B0BeU_6-1-28.magritte-tab_selected___w9PT2_6-1-28:active{
103
+ .magritte-tab___B0BeU_7-0-0.magritte-tab_selected___w9PT2_7-0-0:active{
83
104
  transform:none;
84
105
  }
85
- .magritte-tab-wrapper_primary___yt3sT_6-1-28{
86
- margin-right:var(--magritte-static-space-300-v22-0-0);
106
+ .magritte-tab-wrapper_primary___yt3sT_7-0-0{
107
+ margin-right:var(--magritte-static-space-300-v22-1-0);
87
108
  }
88
- .magritte-tab_primary___3Of2H_6-1-28{
89
- border-radius:var(--magritte-core-border-radius-25-x-v22-0-0);
90
- background-color:var(--magritte-color-component-tabs-background-unselected-v22-0-0);
91
- --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-unselected-v22-0-0);
109
+ .magritte-tab_primary___3Of2H_7-0-0{
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);
92
113
  }
93
- .magritte-tab_primary___3Of2H_6-1-28:active{
94
- background-color:var(--magritte-color-component-tabs-background-state-unselected-pressed-v22-0-0);
114
+ .magritte-tab_primary___3Of2H_7-0-0:active{
115
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-pressed-v22-1-0);
95
116
  }
96
- .magritte-tab_primary___3Of2H_6-1-28.focus-visible{
97
- background-color:var(--magritte-color-component-tabs-background-state-unselected-focused-v22-0-0);
98
- outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v22-0-0);
117
+ .magritte-tab_primary___3Of2H_7-0-0.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);
99
120
  }
100
- .magritte-tab_primary___3Of2H_6-1-28.magritte-tab_selected___w9PT2_6-1-28{
101
- background-color:var(--magritte-color-component-tabs-background-selected-v22-0-0);
102
- --magritte-ui-text-color-override:var(--magritte-color-component-tabs-text-selected-v22-0-0);
121
+ .magritte-tab_primary___3Of2H_7-0-0.magritte-tab_selected___w9PT2_7-0-0{
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);
103
124
  }
104
- .magritte-tab_primary___3Of2H_6-1-28.magritte-tab_selected___w9PT2_6-1-28 .magritte-tab-label___nFmge_6-1-28{
105
- color:var(--magritte-color-component-tabs-text-selected-v22-0-0);
125
+ .magritte-tab_primary___3Of2H_7-0-0.magritte-tab_selected___w9PT2_7-0-0 .magritte-tab-label___nFmge_7-0-0{
126
+ color:var(--magritte-color-component-tabs-text-selected-v22-1-0);
106
127
  }
107
- .magritte-tab_primary___3Of2H_6-1-28.magritte-tab_selected___w9PT2_6-1-28 .magritte-postfix___30ZxD_6-1-28{
108
- color:var(--magritte-color-component-tabs-postfix-text-selected-v22-0-0);
128
+ .magritte-tab_primary___3Of2H_7-0-0.magritte-tab_selected___w9PT2_7-0-0 .magritte-postfix___30ZxD_7-0-0{
129
+ color:var(--magritte-color-component-tabs-postfix-text-selected-v22-1-0);
109
130
  }
110
- .magritte-tab_primary___3Of2H_6-1-28.magritte-tab_selected___w9PT2_6-1-28:active{
111
- background-color:var(--magritte-color-component-tabs-background-selected-v22-0-0);
131
+ .magritte-tab_primary___3Of2H_7-0-0.magritte-tab_selected___w9PT2_7-0-0:active{
132
+ background-color:var(--magritte-color-component-tabs-background-selected-v22-1-0);
112
133
  }
113
- .magritte-tab_primary___3Of2H_6-1-28.magritte-tab_selected___w9PT2_6-1-28.focus-visible{
114
- background-color:var(--magritte-color-component-tabs-background-state-selected-focused-v22-0-0);
115
- outline:4px solid var(--magritte-color-component-tabs-stroke-state-focused-accessible-v22-0-0);
134
+ .magritte-tab_primary___3Of2H_7-0-0.magritte-tab_selected___w9PT2_7-0-0.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);
116
137
  }
117
138
  @media (min-width: 1020px){
118
- body.magritte-old-layout .magritte-tab_primary___3Of2H_6-1-28.magritte-tab_selected___w9PT2_6-1-28:hover:not(:active){
119
- background-color:var(--magritte-color-component-tabs-background-selected-v22-0-0);
139
+ body.magritte-old-layout .magritte-tab_primary___3Of2H_7-0-0.magritte-tab_selected___w9PT2_7-0-0:hover:not(:active){
140
+ background-color:var(--magritte-color-component-tabs-background-selected-v22-1-0);
120
141
  }
121
142
  }
122
143
  @media (min-width: 1024px){
123
- body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_6-1-28.magritte-tab_selected___w9PT2_6-1-28:hover:not(:active){
124
- background-color:var(--magritte-color-component-tabs-background-selected-v22-0-0);
144
+ body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_7-0-0.magritte-tab_selected___w9PT2_7-0-0:hover:not(:active){
145
+ background-color:var(--magritte-color-component-tabs-background-selected-v22-1-0);
125
146
  }
126
147
  }
127
- .magritte-tab_primary___3Of2H_6-1-28 .magritte-tab-content___onvTJ_6-1-28{
128
- padding:var(--magritte-static-space-200-v22-0-0) var(--magritte-static-space-400-v22-0-0);
148
+ .magritte-tab_primary___3Of2H_7-0-0 .magritte-tab-content___onvTJ_7-0-0{
149
+ padding:var(--magritte-static-space-200-v22-1-0) var(--magritte-static-space-400-v22-1-0);
129
150
  }
130
- .magritte-tab_primary___3Of2H_6-1-28 .magritte-tab-label___nFmge_6-1-28{
131
- color:var(--magritte-color-component-tabs-text-unselected-v22-0-0);
151
+ .magritte-tab_primary___3Of2H_7-0-0 .magritte-tab-label___nFmge_7-0-0{
152
+ color:var(--magritte-color-component-tabs-text-unselected-v22-1-0);
132
153
  }
133
- .magritte-tab_primary___3Of2H_6-1-28 .magritte-postfix___30ZxD_6-1-28{
134
- color:var(--magritte-color-component-tabs-postfix-text-unselected-v22-0-0);
154
+ .magritte-tab_primary___3Of2H_7-0-0 .magritte-postfix___30ZxD_7-0-0{
155
+ color:var(--magritte-color-component-tabs-postfix-text-unselected-v22-1-0);
135
156
  }
136
157
  @media (min-width: 1020px){
137
- body.magritte-old-layout .magritte-tab_primary___3Of2H_6-1-28:hover:not(:active){
138
- background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v22-0-0);
158
+ body.magritte-old-layout .magritte-tab_primary___3Of2H_7-0-0:hover:not(:active){
159
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v22-1-0);
139
160
  }
140
161
  }
141
162
  @media (min-width: 1024px){
142
- body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_6-1-28:hover:not(:active){
143
- background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v22-0-0);
163
+ body:not(.magritte-old-layout) .magritte-tab_primary___3Of2H_7-0-0:hover:not(:active){
164
+ background-color:var(--magritte-color-component-tabs-background-state-unselected-hovered-v22-1-0);
144
165
  }
145
166
  }
146
- .magritte-tab-wrapper_secondary___avLln_6-1-28{
147
- margin-right:var(--magritte-static-space-600-v22-0-0);
167
+ .magritte-tab-wrapper_secondary___avLln_7-0-0{
168
+ margin-right:var(--magritte-static-space-600-v22-1-0);
148
169
  }
149
- .magritte-tab_secondary___-00LL_6-1-28{
150
- border-radius:var(--magritte-semantic-border-radius-form-v22-0-0);
170
+ .magritte-tab_secondary___-00LL_7-0-0{
171
+ border-radius:var(--magritte-semantic-border-radius-form-v22-1-0);
151
172
  max-width:288px;
152
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-unselected-v22-0-0);
173
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-unselected-v22-1-0);
153
174
  }
154
- .magritte-tab_secondary___-00LL_6-1-28:active{
155
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v22-0-0);
175
+ .magritte-tab_secondary___-00LL_7-0-0:active{
176
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v22-1-0);
156
177
  }
157
- .magritte-tab_secondary___-00LL_6-1-28:active .magritte-tab-label___nFmge_6-1-28{
158
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v22-0-0);
178
+ .magritte-tab_secondary___-00LL_7-0-0:active .magritte-tab-label___nFmge_7-0-0{
179
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-pressed-v22-1-0);
159
180
  }
160
- .magritte-tab_secondary___-00LL_6-1-28.focus-visible{
161
- outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v22-0-0);
181
+ .magritte-tab_secondary___-00LL_7-0-0.focus-visible{
182
+ outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v22-1-0);
162
183
  }
163
- .magritte-tab_secondary___-00LL_6-1-28.magritte-tab_selected___w9PT2_6-1-28{
164
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v22-0-0);
184
+ .magritte-tab_secondary___-00LL_7-0-0.magritte-tab_selected___w9PT2_7-0-0{
185
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
165
186
  }
166
- .magritte-tab_secondary___-00LL_6-1-28.magritte-tab_selected___w9PT2_6-1-28 .magritte-tab-label___nFmge_6-1-28{
167
- color:var(--magritte-color-component-secondary-tabs-text-selected-v22-0-0);
187
+ .magritte-tab_secondary___-00LL_7-0-0.magritte-tab_selected___w9PT2_7-0-0 .magritte-tab-label___nFmge_7-0-0{
188
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
168
189
  }
169
- .magritte-tab_secondary___-00LL_6-1-28.magritte-tab_selected___w9PT2_6-1-28 .magritte-postfix___30ZxD_6-1-28{
170
- color:var(--magritte-color-component-secondary-tabs-postfix-text-selected-v22-0-0);
190
+ .magritte-tab_secondary___-00LL_7-0-0.magritte-tab_selected___w9PT2_7-0-0 .magritte-postfix___30ZxD_7-0-0{
191
+ color:var(--magritte-color-component-secondary-tabs-postfix-text-selected-v22-1-0);
171
192
  }
172
- .magritte-tab_secondary___-00LL_6-1-28.magritte-tab_selected___w9PT2_6-1-28:active{
173
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v22-0-0);
193
+ .magritte-tab_secondary___-00LL_7-0-0.magritte-tab_selected___w9PT2_7-0-0:active{
194
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
174
195
  }
175
- .magritte-tab_secondary___-00LL_6-1-28.magritte-tab_selected___w9PT2_6-1-28:active .magritte-tab-label___nFmge_6-1-28{
176
- color:var(--magritte-color-component-secondary-tabs-text-selected-v22-0-0);
196
+ .magritte-tab_secondary___-00LL_7-0-0.magritte-tab_selected___w9PT2_7-0-0:active .magritte-tab-label___nFmge_7-0-0{
197
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
177
198
  }
178
- .magritte-tab_secondary___-00LL_6-1-28.magritte-tab_selected___w9PT2_6-1-28.focus-visible{
179
- outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v22-0-0);
199
+ .magritte-tab_secondary___-00LL_7-0-0.magritte-tab_selected___w9PT2_7-0-0.focus-visible{
200
+ outline:4px solid var(--magritte-color-component-secondary-tabs-stroke-state-focused-accessible-v22-1-0);
180
201
  }
181
202
  @media (min-width: 1020px){
182
- body.magritte-old-layout .magritte-tab_secondary___-00LL_6-1-28.magritte-tab_selected___w9PT2_6-1-28:hover:not(:active){
183
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v22-0-0);
203
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-0.magritte-tab_selected___w9PT2_7-0-0:hover:not(:active){
204
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
184
205
  }
185
- body.magritte-old-layout .magritte-tab_secondary___-00LL_6-1-28.magritte-tab_selected___w9PT2_6-1-28:hover:not(:active) .magritte-tab-label___nFmge_6-1-28{
186
- color:var(--magritte-color-component-secondary-tabs-text-selected-v22-0-0);
206
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-0.magritte-tab_selected___w9PT2_7-0-0:hover:not(:active) .magritte-tab-label___nFmge_7-0-0{
207
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
187
208
  }
188
209
  }
189
210
  @media (min-width: 1024px){
190
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_6-1-28.magritte-tab_selected___w9PT2_6-1-28:hover:not(:active){
191
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v22-0-0);
211
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-0.magritte-tab_selected___w9PT2_7-0-0:hover:not(:active){
212
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
192
213
  }
193
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_6-1-28.magritte-tab_selected___w9PT2_6-1-28:hover:not(:active) .magritte-tab-label___nFmge_6-1-28{
194
- color:var(--magritte-color-component-secondary-tabs-text-selected-v22-0-0);
214
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-0.magritte-tab_selected___w9PT2_7-0-0:hover:not(:active) .magritte-tab-label___nFmge_7-0-0{
215
+ color:var(--magritte-color-component-secondary-tabs-text-selected-v22-1-0);
195
216
  }
196
217
  }
197
- .magritte-tab_secondary___-00LL_6-1-28 .magritte-tab-content___onvTJ_6-1-28{
198
- padding:var(--magritte-static-space-400-v22-0-0) 0;
218
+ .magritte-tab_secondary___-00LL_7-0-0 .magritte-tab-content___onvTJ_7-0-0{
219
+ padding:var(--magritte-static-space-400-v22-1-0) 0;
199
220
  }
200
- .magritte-tab_secondary___-00LL_6-1-28 .magritte-tab-label___nFmge_6-1-28{
201
- color:var(--magritte-color-component-secondary-tabs-text-unselected-v22-0-0);
221
+ .magritte-tab_secondary___-00LL_7-0-0 .magritte-tab-label___nFmge_7-0-0{
222
+ color:var(--magritte-color-component-secondary-tabs-text-unselected-v22-1-0);
202
223
  }
203
- .magritte-tab_secondary___-00LL_6-1-28 .magritte-postfix___30ZxD_6-1-28{
204
- color:var(--magritte-color-component-secondary-tabs-postfix-text-unselected-v22-0-0);
224
+ .magritte-tab_secondary___-00LL_7-0-0 .magritte-postfix___30ZxD_7-0-0{
225
+ color:var(--magritte-color-component-secondary-tabs-postfix-text-unselected-v22-1-0);
205
226
  }
206
227
  @media (min-width: 1020px){
207
- body.magritte-old-layout .magritte-tab_secondary___-00LL_6-1-28:hover:not(:active){
208
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-0-0);
228
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-0:hover:not(:active){
229
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-1-0);
209
230
  }
210
- body.magritte-old-layout .magritte-tab_secondary___-00LL_6-1-28:hover:not(:active) .magritte-tab-label___nFmge_6-1-28{
211
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-0-0);
231
+ body.magritte-old-layout .magritte-tab_secondary___-00LL_7-0-0:hover:not(:active) .magritte-tab-label___nFmge_7-0-0{
232
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-1-0);
212
233
  }
213
234
  }
214
235
  @media (min-width: 1024px){
215
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_6-1-28:hover:not(:active){
216
- --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-0-0);
236
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-0:hover:not(:active){
237
+ --magritte-ui-text-color-override:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-1-0);
217
238
  }
218
- body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_6-1-28:hover:not(:active) .magritte-tab-label___nFmge_6-1-28{
219
- color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-0-0);
239
+ body:not(.magritte-old-layout) .magritte-tab_secondary___-00LL_7-0-0:hover:not(:active) .magritte-tab-label___nFmge_7-0-0{
240
+ color:var(--magritte-color-component-secondary-tabs-text-state-unselected-hovered-v22-1-0);
220
241
  }
221
242
  }
222
- .magritte-tab-content___onvTJ_6-1-28{
243
+ .magritte-tab-content___onvTJ_7-0-0{
223
244
  display:flex;
224
245
  align-items:center;
225
246
  height:24px;
226
247
  }
227
- .magritte-tab-label___nFmge_6-1-28{
248
+ .magritte-tab-label___nFmge_7-0-0{
228
249
  flex:0 1 auto;
229
250
  min-width:0;
230
251
  overflow:hidden;
231
252
  text-overflow:ellipsis;
232
253
  white-space:pre;
233
254
  }
234
- .magritte-postfix-wrapper___1dORq_6-1-28{
255
+ .magritte-postfix-wrapper___1dORq_7-0-0{
235
256
  flex:0 0 auto;
236
257
  min-width:0;
237
258
  max-width:100%;
238
- margin-left:var(--magritte-static-space-200-v22-0-0);
259
+ margin-left:var(--magritte-static-space-200-v22-1-0);
239
260
  overflow:hidden;
240
261
  text-overflow:ellipsis;
241
262
  white-space:pre;
242
263
  }
243
- .magritte-indicator-wrapper___Q68i7_6-1-28{
264
+ .magritte-indicator-wrapper___Q68i7_7-0-0{
244
265
  margin-top:-4px;
245
266
  }
246
- .magritte-indicator___irp4W_6-1-28{
267
+ .magritte-indicator___irp4W_7-0-0{
247
268
  position:relative;
248
- background-color:var(--magritte-color-component-secondary-tabs-indicator-selected-v22-0-0);
269
+ background-color:var(--magritte-color-component-secondary-tabs-indicator-selected-v22-1-0);
249
270
  border-radius:4px 4px 0 0;
250
271
  height:4px;
251
272
  width:0;
252
273
  }
253
- .magritte-animate___5GxTP_6-1-28{
254
- transition:all var(--magritte-semantic-animation-ease-in-out-tiger-200-duration-v22-0-0) var(--magritte-semantic-animation-ease-in-out-tiger-200-timing-function-v22-0-0);
274
+ .magritte-animate___5GxTP_7-0-0{
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);
255
276
  }
package/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- export * from '@hh.ru/magritte-ui-theme-provider';
2
1
  export * from '@hh.ru/magritte-ui-tabs/Tabs';
3
2
  export * from '@hh.ru/magritte-ui-tabs/Tab';
4
3
  export { type TabProps, type TabsProps, type TabId } from '@hh.ru/magritte-ui-tabs/types';
package/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import './index.css';
2
- export * from '@hh.ru/magritte-ui-theme-provider';
3
2
  export { Tabs } from './Tabs.js';
4
- export { T as Tab } from './Tab-BkiCPwRm.js';
3
+ export { T as Tab } from './Tab-D9Yrz9XD.js';
5
4
  import 'react/jsx-runtime';
6
5
  import 'react';
7
6
  import '@hh.ru/magritte-ui-scrollable-container';
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-tabs",
3
- "version": "6.1.28",
3
+ "version": "7.0.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -22,15 +22,14 @@
22
22
  "@hh.ru/magritte-common-focus-visible": "0.1.8",
23
23
  "@hh.ru/magritte-common-keyboard": "4.1.2",
24
24
  "@hh.ru/magritte-common-use-multiple-refs": "1.1.7",
25
- "@hh.ru/magritte-design-tokens": "22.0.0",
25
+ "@hh.ru/magritte-design-tokens": "22.1.0",
26
26
  "@hh.ru/magritte-types": "5.0.4",
27
- "@hh.ru/magritte-ui-badge": "2.4.9",
27
+ "@hh.ru/magritte-ui-badge": "3.0.0",
28
28
  "@hh.ru/magritte-ui-breakpoint": "5.0.3",
29
- "@hh.ru/magritte-ui-button": "5.4.3",
30
- "@hh.ru/magritte-ui-scrollable-container": "5.2.22",
31
- "@hh.ru/magritte-ui-theme-provider": "1.1.51",
32
- "@hh.ru/magritte-ui-tooltip": "9.3.17",
33
- "@hh.ru/magritte-ui-typography": "3.0.47"
29
+ "@hh.ru/magritte-ui-button": "6.0.0",
30
+ "@hh.ru/magritte-ui-scrollable-container": "5.2.23",
31
+ "@hh.ru/magritte-ui-tooltip": "10.0.0",
32
+ "@hh.ru/magritte-ui-typography": "4.0.0"
34
33
  },
35
34
  "peerDependencies": {
36
35
  "classnames": ">=2.3.2",
@@ -39,5 +38,5 @@
39
38
  "publishConfig": {
40
39
  "access": "public"
41
40
  },
42
- "gitHead": "5b83b8f36a1aa79857e35ef038d9d32abef39be0"
41
+ "gitHead": "a823b2d582e812bf99b5fdf32058a93eaa59076b"
43
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-BkiCPwRm.js';
5
+ import { s as styles, T as Tab } from './Tab-D9Yrz9XD.js';
6
6
  import 'react/jsx-runtime';
7
7
  import 'classnames';
8
8
  import '@hh.ru/magritte-common-focus-visible';