@hh.ru/magritte-ui-drop 7.2.10 → 7.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Drop.js +6 -6
- package/Drop.js.map +1 -1
- package/{DropContainer-B2PQ6EMH.js → DropContainer-CfDepPZT.js} +2 -2
- package/{DropContainer-B2PQ6EMH.js.map → DropContainer-CfDepPZT.js.map} +1 -1
- package/DropContainer.js +1 -1
- package/index.css +67 -597
- package/index.js +1 -1
- package/package.json +6 -6
package/Drop.js
CHANGED
|
@@ -5,7 +5,7 @@ import classnames from 'classnames';
|
|
|
5
5
|
import { DropBase } from '@hh.ru/magritte-internal-drop-base';
|
|
6
6
|
import { InternalLayerName } from '@hh.ru/magritte-internal-layer-name';
|
|
7
7
|
import { useBreakpoint } from '@hh.ru/magritte-ui-breakpoint';
|
|
8
|
-
import { s as styles, D as DropContainer } from './DropContainer-
|
|
8
|
+
import { s as styles, D as DropContainer } from './DropContainer-CfDepPZT.js';
|
|
9
9
|
import { PureChildren } from './PureChildren.js';
|
|
10
10
|
import { Layer } from '@hh.ru/magritte-ui-layer';
|
|
11
11
|
import '@hh.ru/magritte-common-use-multiple-refs';
|
|
@@ -28,10 +28,10 @@ const isKeyboardInput = (element) => {
|
|
|
28
28
|
tagName === 'textarea' ||
|
|
29
29
|
element.hasAttribute('contenteditable'));
|
|
30
30
|
};
|
|
31
|
-
const DropComponent = ({ visible, activatorRef, onClose, maxWidth = 320, minHeight = 200, width, space = 600, children, footer, role = 'dialog', dividerState = 'show', widthEqualToActivator = false, allowShrinkHeightToFitIntoViewport = true, autoFocusWhenOpened, closeByClickOutside = true, 'data-qa': dataQA = 'drop', onAppear, onBeforeExit, onAfterExit, placement, forcePlacement, ignoreIntersections, ...props }, ref) => {
|
|
31
|
+
const DropComponent = ({ visible, activatorRef, onClose, maxWidth = 320, minHeight = 200, width, space = 600, children, footer, role = 'dialog', dividerState = 'show', widthEqualToActivator = false, allowShrinkHeightToFitIntoViewport = true, autoFocusWhenOpened, closeByClickOutside = true, 'data-qa': dataQA = 'drop', onAppear, onBeforeExit, onAfterExit, placement, forcePlacement, ignoreIntersections, lockPlacement = false, ...props }, ref) => {
|
|
32
32
|
const { isMobile } = useBreakpoint();
|
|
33
33
|
const [animationTimeout, setAnimationTimeout] = useState(200);
|
|
34
|
-
const [
|
|
34
|
+
const [isPlacementLockedByFocus, setPlacementLockedByFocus] = useState(false);
|
|
35
35
|
const forceUpdateDropMetricsRef = useRef();
|
|
36
36
|
const actualIgnoreIntersections = ignoreIntersections === undefined ? !allowShrinkHeightToFitIntoViewport : ignoreIntersections;
|
|
37
37
|
const placementsList = useMemo(() => {
|
|
@@ -59,9 +59,9 @@ const DropComponent = ({ visible, activatorRef, onClose, maxWidth = 320, minHeig
|
|
|
59
59
|
if (!target || !isKeyboardInput(target)) {
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
|
|
62
|
+
setPlacementLockedByFocus(true);
|
|
63
63
|
};
|
|
64
|
-
const blurHandler = () =>
|
|
64
|
+
const blurHandler = () => setPlacementLockedByFocus(false);
|
|
65
65
|
useEffect(() => {
|
|
66
66
|
if (!visible || isMobile || !activatorRef.current) {
|
|
67
67
|
return void 0;
|
|
@@ -89,7 +89,7 @@ const DropComponent = ({ visible, activatorRef, onClose, maxWidth = 320, minHeig
|
|
|
89
89
|
enterActive: styles.dropEnterActive,
|
|
90
90
|
exit: styles.dropExit,
|
|
91
91
|
exitActive: styles.dropExitActive,
|
|
92
|
-
}, animationTimeout: animationTimeout, widthEqualToActivator: widthEqualToActivator, allowShrinkHeightToFitIntoViewport: allowShrinkHeightToFitIntoViewport, ignoreIntersections: actualIgnoreIntersections, minHeight: minHeight, ref: ref, onAppear: onAppear, onBeforeExit: onBeforeExit, onAfterExit: onAfterExit, forceDropMetricsUpdate: forceUpdateDropMetricsRef, lockPlacement:
|
|
92
|
+
}, animationTimeout: animationTimeout, widthEqualToActivator: widthEqualToActivator, allowShrinkHeightToFitIntoViewport: allowShrinkHeightToFitIntoViewport, ignoreIntersections: actualIgnoreIntersections, minHeight: minHeight, ref: ref, onAppear: onAppear, onBeforeExit: onBeforeExit, onAfterExit: onAfterExit, forceDropMetricsUpdate: forceUpdateDropMetricsRef, lockPlacement: isPlacementLockedByFocus || lockPlacement, children: (resizeRefCallbackFactory) => (jsxs("div", { className: classnames(styles.drop, {
|
|
93
93
|
[styles.dropSpace300]: space === 300,
|
|
94
94
|
[styles.dropSpace400]: space === 400,
|
|
95
95
|
[styles.dropSpace600]: space === 600,
|
package/Drop.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drop.js","sources":["../src/Drop.tsx"],"sourcesContent":["import {\n useMemo,\n useEffect,\n useState,\n type ReactElement,\n ForwardedRef,\n forwardRef,\n useRef,\n RefObject,\n CSSProperties,\n type FocusEvent,\n} from 'react';\nimport classnames from 'classnames';\n\nimport { DropBase, type Placement } from '@hh.ru/magritte-internal-drop-base';\nimport { InternalLayerName } from '@hh.ru/magritte-internal-layer-name';\nimport { useBreakpoint } from '@hh.ru/magritte-ui-breakpoint';\nimport { DropContainer } from '@hh.ru/magritte-ui-drop/DropContainer';\nimport { PureChildren } from '@hh.ru/magritte-ui-drop/PureChildren';\nimport type { DropProps, DropPlacement } from '@hh.ru/magritte-ui-drop/types';\nimport { Layer } from '@hh.ru/magritte-ui-layer';\n\nimport styles from './drop.less';\n\nconst PLACEMENTS_LIST: Placement[] = [\n 'left-top',\n 'left-bottom',\n 'right-top',\n 'right-bottom',\n 'top-left',\n 'top-right',\n 'bottom-left',\n 'bottom-right',\n];\n\nconst isKeyboardInput = (element: HTMLElement): boolean => {\n const tagName = element.tagName.toLowerCase();\n const keyboardInputTypes = ['text', 'password', 'email', 'number', 'tel', 'url', 'search'];\n return (\n (tagName === 'input' && keyboardInputTypes.includes((element as HTMLInputElement).type)) ||\n tagName === 'textarea' ||\n element.hasAttribute('contenteditable')\n );\n};\n\nconst DropComponent = (\n {\n visible,\n activatorRef,\n onClose,\n maxWidth = 320,\n minHeight = 200,\n width,\n space = 600,\n children,\n footer,\n role = 'dialog',\n dividerState = 'show',\n widthEqualToActivator = false,\n allowShrinkHeightToFitIntoViewport = true,\n autoFocusWhenOpened,\n closeByClickOutside = true,\n 'data-qa': dataQA = 'drop',\n onAppear,\n onBeforeExit,\n onAfterExit,\n placement,\n forcePlacement,\n ignoreIntersections,\n ...props\n }: DropProps,\n ref: ForwardedRef<HTMLElement>\n): ReactElement | null => {\n const { isMobile } = useBreakpoint();\n const [animationTimeout, setAnimationTimeout] = useState(200);\n const [isPlacementLocked, setPlacementLocked] = useState(false);\n const forceUpdateDropMetricsRef = useRef<VoidFunction>();\n\n const actualIgnoreIntersections =\n ignoreIntersections === undefined ? !allowShrinkHeightToFitIntoViewport : ignoreIntersections;\n\n const placementsList = useMemo(() => {\n const placementsArray: DropPlacement[] = Array.isArray(placement) ? placement : [placement];\n return (\n forcePlacement\n ? placementsArray\n : [...placementsArray, ...PLACEMENTS_LIST.filter((place) => !placement.includes(place))]\n ) as Placement[];\n }, [placement, forcePlacement]);\n\n useEffect(() => {\n const animationTimeoutElement = document.createElement('div');\n animationTimeoutElement.classList.add(styles.dropAnimationTimeout);\n document.body.appendChild(animationTimeoutElement);\n const style = window.getComputedStyle(animationTimeoutElement);\n const animationTimeout = parseInt(style.getPropertyValue(`--animation-duration`), 10);\n if (Number.isInteger(animationTimeout)) {\n setAnimationTimeout(animationTimeout);\n }\n document.body.removeChild(animationTimeoutElement);\n }, []);\n\n useEffect(() => {\n forceUpdateDropMetricsRef.current?.();\n }, [maxWidth, space, footer]);\n\n const focusHandler = (event: Event | FocusEvent) => {\n const target = event.target;\n if (!target || !isKeyboardInput(target as HTMLElement)) {\n return;\n }\n setPlacementLocked(true);\n };\n const blurHandler = () => setPlacementLocked(false);\n\n useEffect(() => {\n if (!visible || isMobile || !activatorRef.current) {\n return void 0;\n }\n\n const activatorElement = activatorRef.current;\n activatorElement.addEventListener('focus', focusHandler);\n activatorElement.addEventListener('blur', blurHandler);\n return () => {\n activatorElement.removeEventListener('focus', focusHandler);\n activatorElement.removeEventListener('blur', blurHandler);\n };\n }, [visible, activatorRef, isMobile]);\n\n if (isMobile) {\n return null;\n }\n\n let widthStyle: CSSProperties;\n if (widthEqualToActivator) {\n widthStyle = { width: '100%' };\n } else {\n widthStyle = width ? { width } : { maxWidth };\n }\n\n return (\n <Layer layer={InternalLayerName.Drop}>\n <DropBase\n {...props}\n visible={visible}\n placement={placementsList}\n activatorRef={activatorRef}\n closeByClickOutside={closeByClickOutside}\n onClose={onClose}\n autoFocusWhenOpened={autoFocusWhenOpened ?? role !== 'status'}\n animationClassNames={{\n enter: styles.dropEnter,\n enterActive: styles.dropEnterActive,\n exit: styles.dropExit,\n exitActive: styles.dropExitActive,\n }}\n animationTimeout={animationTimeout}\n widthEqualToActivator={widthEqualToActivator}\n allowShrinkHeightToFitIntoViewport={allowShrinkHeightToFitIntoViewport}\n ignoreIntersections={actualIgnoreIntersections}\n minHeight={minHeight}\n ref={ref}\n onAppear={onAppear}\n onBeforeExit={onBeforeExit}\n onAfterExit={onAfterExit}\n forceDropMetricsUpdate={forceUpdateDropMetricsRef as RefObject<VoidFunction>}\n lockPlacement={isPlacementLocked}\n >\n {(resizeRefCallbackFactory) => (\n <div\n className={classnames(styles.drop, {\n [styles.dropSpace300]: space === 300,\n [styles.dropSpace400]: space === 400,\n [styles.dropSpace600]: space === 600,\n [styles.dropWithFooter]: !!footer,\n })}\n style={widthStyle}\n data-qa={dataQA}\n key=\"drop-outer-container\"\n onFocus={focusHandler}\n onBlur={blurHandler}\n >\n <DropContainer\n key=\"drop-container\"\n dividerState={!footer ? 'hide' : dividerState}\n ref={resizeRefCallbackFactory('scroll-container', false, true)}\n >\n <div ref={resizeRefCallbackFactory('drop-content')}>\n <PureChildren>{children}</PureChildren>\n </div>\n </DropContainer>\n {footer && (\n <div ref={resizeRefCallbackFactory('drop-footer')} className={styles.dropFooter}>\n <PureChildren>{footer}</PureChildren>\n </div>\n )}\n </div>\n )}\n </DropBase>\n </Layer>\n );\n};\n\nconst Drop = forwardRef<HTMLElement, DropProps>(DropComponent);\nexport { Drop };\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;AAwBA,MAAM,eAAe,GAAgB;IACjC,UAAU;IACV,aAAa;IACb,WAAW;IACX,cAAc;IACd,UAAU;IACV,WAAW;IACX,aAAa;IACb,cAAc;CACjB,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,OAAoB,KAAa;IACtD,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;AAC9C,IAAA,MAAM,kBAAkB,GAAG,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;AAC3F,IAAA,QACI,CAAC,OAAO,KAAK,OAAO,IAAI,kBAAkB,CAAC,QAAQ,CAAE,OAA4B,CAAC,IAAI,CAAC;AACvF,QAAA,OAAO,KAAK,UAAU;AACtB,QAAA,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC,EACzC;AACN,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,CAClB,EACI,OAAO,EACP,YAAY,EACZ,OAAO,EACP,QAAQ,GAAG,GAAG,EACd,SAAS,GAAG,GAAG,EACf,KAAK,EACL,KAAK,GAAG,GAAG,EACX,QAAQ,EACR,MAAM,EACN,IAAI,GAAG,QAAQ,EACf,YAAY,GAAG,MAAM,EACrB,qBAAqB,GAAG,KAAK,EAC7B,kCAAkC,GAAG,IAAI,EACzC,mBAAmB,EACnB,mBAAmB,GAAG,IAAI,EAC1B,SAAS,EAAE,MAAM,GAAG,MAAM,EAC1B,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,GAAG,KAAK,EACA,EACZ,GAA8B,KACT;AACrB,IAAA,MAAM,EAAE,QAAQ,EA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,KAAK,KAAK,GAAG;AACpC,oBAAA,CAAC,MAAM,CAAC,YAAY,GAAG,KAAK,KAAK,GAAG;AACpC,oBAAA,CAAC,MAAM,CAAC,cAAc,GAAG,CAAC,CAAC,MAAM;AACpC,iBAAA,CAAC,EACF,KAAK,EAAE,UAAU,EACR,SAAA,EAAA,MAAM,EAEf,OAAO,EAAE,YAAY,EACrB,MAAM,EAAE,WAAW,EAAA,QAAA,EAAA,CAEnBD,IAAC,aAAa,EAAA,EAEV,YAAY,EAAE,CAAC,MAAM,GAAG,MAAM,GAAG,YAAY,EAC7C,GAAG,EAAE,wBAAwB,CAAC,kBAAkB,EAAE,KAAK,EAAE,IAAI,CAAC,EAAA,QAAA,EAE9DA,aAAK,GAAG,EAAE,wBAAwB,CAAC,cAAc,CAAC,EAC9C,QAAA,EAAAA,GAAA,CAAC,YAAY,EAAE,EAAA,QAAA,EAAA,QAAQ,GAAgB,EACrC,CAAA,EAAA,EANF,gBAAgB,CAOR,EACf,MAAM,KACHA,aAAK,GAAG,EAAE,wBAAwB,CAAC,aAAa,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,UAAU,EAC3E,QAAA,EAAAA,GAAA,CAAC,YAAY,EAAE,EAAA,QAAA,EAAA,MAAM,GAAgB,EACnC,CAAA,CACT,KAjBG,sBAAsB,CAkBxB,CACT,EACM,CAAA,EAAA,CACP,EACV;AACN,CAAC,CAAC;AAEF,MAAM,IAAI,GAAG,UAAU,CAAyB,aAAa;;;;"}
|
|
1
|
+
{"version":3,"file":"Drop.js","sources":["../src/Drop.tsx"],"sourcesContent":["import {\n useMemo,\n useEffect,\n useState,\n type ReactElement,\n ForwardedRef,\n forwardRef,\n useRef,\n RefObject,\n CSSProperties,\n type FocusEvent,\n} from 'react';\nimport classnames from 'classnames';\n\nimport { DropBase, type Placement } from '@hh.ru/magritte-internal-drop-base';\nimport { InternalLayerName } from '@hh.ru/magritte-internal-layer-name';\nimport { useBreakpoint } from '@hh.ru/magritte-ui-breakpoint';\nimport { DropContainer } from '@hh.ru/magritte-ui-drop/DropContainer';\nimport { PureChildren } from '@hh.ru/magritte-ui-drop/PureChildren';\nimport type { DropProps, DropPlacement } from '@hh.ru/magritte-ui-drop/types';\nimport { Layer } from '@hh.ru/magritte-ui-layer';\n\nimport styles from './drop.less';\n\nconst PLACEMENTS_LIST: Placement[] = [\n 'left-top',\n 'left-bottom',\n 'right-top',\n 'right-bottom',\n 'top-left',\n 'top-right',\n 'bottom-left',\n 'bottom-right',\n];\n\nconst isKeyboardInput = (element: HTMLElement): boolean => {\n const tagName = element.tagName.toLowerCase();\n const keyboardInputTypes = ['text', 'password', 'email', 'number', 'tel', 'url', 'search'];\n return (\n (tagName === 'input' && keyboardInputTypes.includes((element as HTMLInputElement).type)) ||\n tagName === 'textarea' ||\n element.hasAttribute('contenteditable')\n );\n};\n\nconst DropComponent = (\n {\n visible,\n activatorRef,\n onClose,\n maxWidth = 320,\n minHeight = 200,\n width,\n space = 600,\n children,\n footer,\n role = 'dialog',\n dividerState = 'show',\n widthEqualToActivator = false,\n allowShrinkHeightToFitIntoViewport = true,\n autoFocusWhenOpened,\n closeByClickOutside = true,\n 'data-qa': dataQA = 'drop',\n onAppear,\n onBeforeExit,\n onAfterExit,\n placement,\n forcePlacement,\n ignoreIntersections,\n lockPlacement = false,\n ...props\n }: DropProps,\n ref: ForwardedRef<HTMLElement>\n): ReactElement | null => {\n const { isMobile } = useBreakpoint();\n const [animationTimeout, setAnimationTimeout] = useState(200);\n const [isPlacementLockedByFocus, setPlacementLockedByFocus] = useState(false);\n const forceUpdateDropMetricsRef = useRef<VoidFunction>();\n\n const actualIgnoreIntersections =\n ignoreIntersections === undefined ? !allowShrinkHeightToFitIntoViewport : ignoreIntersections;\n\n const placementsList = useMemo(() => {\n const placementsArray: DropPlacement[] = Array.isArray(placement) ? placement : [placement];\n return (\n forcePlacement\n ? placementsArray\n : [...placementsArray, ...PLACEMENTS_LIST.filter((place) => !placement.includes(place))]\n ) as Placement[];\n }, [placement, forcePlacement]);\n\n useEffect(() => {\n const animationTimeoutElement = document.createElement('div');\n animationTimeoutElement.classList.add(styles.dropAnimationTimeout);\n document.body.appendChild(animationTimeoutElement);\n const style = window.getComputedStyle(animationTimeoutElement);\n const animationTimeout = parseInt(style.getPropertyValue(`--animation-duration`), 10);\n if (Number.isInteger(animationTimeout)) {\n setAnimationTimeout(animationTimeout);\n }\n document.body.removeChild(animationTimeoutElement);\n }, []);\n\n useEffect(() => {\n forceUpdateDropMetricsRef.current?.();\n }, [maxWidth, space, footer]);\n\n const focusHandler = (event: Event | FocusEvent) => {\n const target = event.target;\n if (!target || !isKeyboardInput(target as HTMLElement)) {\n return;\n }\n setPlacementLockedByFocus(true);\n };\n const blurHandler = () => setPlacementLockedByFocus(false);\n\n useEffect(() => {\n if (!visible || isMobile || !activatorRef.current) {\n return void 0;\n }\n\n const activatorElement = activatorRef.current;\n activatorElement.addEventListener('focus', focusHandler);\n activatorElement.addEventListener('blur', blurHandler);\n return () => {\n activatorElement.removeEventListener('focus', focusHandler);\n activatorElement.removeEventListener('blur', blurHandler);\n };\n }, [visible, activatorRef, isMobile]);\n\n if (isMobile) {\n return null;\n }\n\n let widthStyle: CSSProperties;\n if (widthEqualToActivator) {\n widthStyle = { width: '100%' };\n } else {\n widthStyle = width ? { width } : { maxWidth };\n }\n\n return (\n <Layer layer={InternalLayerName.Drop}>\n <DropBase\n {...props}\n visible={visible}\n placement={placementsList}\n activatorRef={activatorRef}\n closeByClickOutside={closeByClickOutside}\n onClose={onClose}\n autoFocusWhenOpened={autoFocusWhenOpened ?? role !== 'status'}\n animationClassNames={{\n enter: styles.dropEnter,\n enterActive: styles.dropEnterActive,\n exit: styles.dropExit,\n exitActive: styles.dropExitActive,\n }}\n animationTimeout={animationTimeout}\n widthEqualToActivator={widthEqualToActivator}\n allowShrinkHeightToFitIntoViewport={allowShrinkHeightToFitIntoViewport}\n ignoreIntersections={actualIgnoreIntersections}\n minHeight={minHeight}\n ref={ref}\n onAppear={onAppear}\n onBeforeExit={onBeforeExit}\n onAfterExit={onAfterExit}\n forceDropMetricsUpdate={forceUpdateDropMetricsRef as RefObject<VoidFunction>}\n lockPlacement={isPlacementLockedByFocus || lockPlacement}\n >\n {(resizeRefCallbackFactory) => (\n <div\n className={classnames(styles.drop, {\n [styles.dropSpace300]: space === 300,\n [styles.dropSpace400]: space === 400,\n [styles.dropSpace600]: space === 600,\n [styles.dropWithFooter]: !!footer,\n })}\n style={widthStyle}\n data-qa={dataQA}\n key=\"drop-outer-container\"\n onFocus={focusHandler}\n onBlur={blurHandler}\n >\n <DropContainer\n key=\"drop-container\"\n dividerState={!footer ? 'hide' : dividerState}\n ref={resizeRefCallbackFactory('scroll-container', false, true)}\n >\n <div ref={resizeRefCallbackFactory('drop-content')}>\n <PureChildren>{children}</PureChildren>\n </div>\n </DropContainer>\n {footer && (\n <div ref={resizeRefCallbackFactory('drop-footer')} className={styles.dropFooter}>\n <PureChildren>{footer}</PureChildren>\n </div>\n )}\n </div>\n )}\n </DropBase>\n </Layer>\n );\n};\n\nconst Drop = forwardRef<HTMLElement, DropProps>(DropComponent);\nexport { Drop };\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;AAwBA,MAAM,eAAe,GAAgB;IACjC,UAAU;IACV,aAAa;IACb,WAAW;IACX,cAAc;IACd,UAAU;IACV,WAAW;IACX,aAAa;IACb,cAAc;CACjB,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,OAAoB,KAAa;IACtD,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;AAC9C,IAAA,MAAM,kBAAkB,GAAG,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;AAC3F,IAAA,QACI,CAAC,OAAO,KAAK,OAAO,IAAI,kBAAkB,CAAC,QAAQ,CAAE,OAA4B,CAAC,IAAI,CAAC;AACvF,QAAA,OAAO,K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AM,KACHA,aAAK,GAAG,EAAE,wBAAwB,CAAC,aAAa,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,UAAU,EAC3E,QAAA,EAAAA,GAAA,CAAC,YAAY,EAAE,EAAA,QAAA,EAAA,MAAM,GAAgB,EACnC,CAAA,CACT,KAjBG,sBAAsB,CAkBxB,CACT,EACM,CAAA,EAAA,CACP,EACV;AACN,CAAC,CAAC;AAEF,MAAM,IAAI,GAAG,UAAU,CAAyB,aAAa;;;;"}
|
|
@@ -4,7 +4,7 @@ import { forwardRef, useRef, useCallback, useEffect } from 'react';
|
|
|
4
4
|
import { useMultipleRefs } from '@hh.ru/magritte-common-use-multiple-refs';
|
|
5
5
|
import { Divider } from '@hh.ru/magritte-ui-divider';
|
|
6
6
|
|
|
7
|
-
var styles = {"drop":"magritte-drop___Z10P4_7-2-
|
|
7
|
+
var styles = {"drop":"magritte-drop___Z10P4_7-2-12","drop-container":"magritte-drop-container___dbMt9_7-2-12","dropContainer":"magritte-drop-container___dbMt9_7-2-12","divider-container":"magritte-divider-container___ZCdDW_7-2-12","dividerContainer":"magritte-divider-container___ZCdDW_7-2-12","drop-footer":"magritte-drop-footer___v8ZEO_7-2-12","dropFooter":"magritte-drop-footer___v8ZEO_7-2-12","drop-space-300":"magritte-drop-space-300___41acH_7-2-12","dropSpace300":"magritte-drop-space-300___41acH_7-2-12","drop-space-400":"magritte-drop-space-400___XX1RM_7-2-12","dropSpace400":"magritte-drop-space-400___XX1RM_7-2-12","drop-padding":"magritte-drop-padding___xBiJO_7-2-12","dropPadding":"magritte-drop-padding___xBiJO_7-2-12","drop-space-600":"magritte-drop-space-600___6B1i0_7-2-12","dropSpace600":"magritte-drop-space-600___6B1i0_7-2-12","drop-with-footer":"magritte-drop-with-footer___CgBIV_7-2-12","dropWithFooter":"magritte-drop-with-footer___CgBIV_7-2-12","drop-enter":"magritte-drop-enter___4vEuH_7-2-12","dropEnter":"magritte-drop-enter___4vEuH_7-2-12","drop-exit":"magritte-drop-exit___brFjz_7-2-12","dropExit":"magritte-drop-exit___brFjz_7-2-12","drop-enter-active":"magritte-drop-enter-active___SQUog_7-2-12","dropEnterActive":"magritte-drop-enter-active___SQUog_7-2-12","drop-exit-active":"magritte-drop-exit-active___GB0ET_7-2-12","dropExitActive":"magritte-drop-exit-active___GB0ET_7-2-12","drop-animation-timeout":"magritte-drop-animation-timeout___uO7LF_7-2-12","dropAnimationTimeout":"magritte-drop-animation-timeout___uO7LF_7-2-12"};
|
|
8
8
|
|
|
9
9
|
const DropContainer = forwardRef(({ children, dividerState }, ref) => {
|
|
10
10
|
const dividerRef = useRef(null);
|
|
@@ -55,4 +55,4 @@ const DropContainer = forwardRef(({ children, dividerState }, ref) => {
|
|
|
55
55
|
DropContainer.displayName = 'DropContainer';
|
|
56
56
|
|
|
57
57
|
export { DropContainer as D, styles as s };
|
|
58
|
-
//# sourceMappingURL=DropContainer-
|
|
58
|
+
//# sourceMappingURL=DropContainer-CfDepPZT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropContainer-
|
|
1
|
+
{"version":3,"file":"DropContainer-CfDepPZT.js","sources":["../src/DropContainer.tsx"],"sourcesContent":["import { useRef, type PropsWithChildren, useEffect, useCallback, forwardRef } from 'react';\n\nimport { useMultipleRefs } from '@hh.ru/magritte-common-use-multiple-refs';\nimport { Divider } from '@hh.ru/magritte-ui-divider';\nimport type { DividerState } from '@hh.ru/magritte-ui-drop/types';\n\nimport styles from './drop.less';\n\nexport const DropContainer = forwardRef<\n HTMLDivElement,\n PropsWithChildren<{\n dividerState: DividerState;\n }>\n>(({ children, dividerState }, ref) => {\n const dividerRef = useRef<HTMLDivElement>(null);\n const showDividerRef = useRef(false);\n showDividerRef.current = dividerState !== 'hide';\n const contentContainerRef = useRef<HTMLDivElement>(null);\n const contentContainerRefMulti = useMultipleRefs(contentContainerRef, ref);\n\n const updateDividerVisibility = useCallback(\n (showDivider: boolean) => {\n if (!contentContainerRef.current || !dividerRef.current) {\n return;\n }\n if (!showDivider) {\n dividerRef.current.style.visibility = 'hidden';\n return;\n }\n if (contentContainerRef?.current !== null && dividerRef.current) {\n const hasScroll =\n contentContainerRef.current.scrollHeight - contentContainerRef.current.clientHeight > 0;\n dividerRef.current.style.visibility = hasScroll ? 'visible' : 'hidden';\n }\n },\n [contentContainerRef, dividerRef]\n );\n\n useEffect(() => {\n const observer = new ResizeObserver(() => {\n updateDividerVisibility(showDividerRef.current);\n });\n observer.observe(contentContainerRef.current as Element);\n return () => observer.disconnect();\n }, [updateDividerVisibility]);\n\n useEffect(() => {\n updateDividerVisibility(showDividerRef.current);\n // eslint-disable-next-line disable-autofix/react-hooks/exhaustive-deps\n }, [updateDividerVisibility, showDividerRef.current]);\n\n const props = showDividerRef.current\n ? {\n onScroll: ({ target }: { target: EventTarget }) => {\n const scrollableContainer = target as HTMLDivElement;\n\n if (dividerRef.current && dividerState !== 'showWhenFullyScrolled') {\n const scrollEnded =\n scrollableContainer.scrollTop +\n scrollableContainer.offsetHeight -\n scrollableContainer.scrollHeight ===\n 0;\n\n dividerRef.current.style.visibility = scrollEnded ? 'hidden' : 'visible';\n }\n },\n }\n : {};\n\n return (\n <>\n <div ref={contentContainerRefMulti} className={styles.dropContainer} {...props}>\n {children}\n </div>\n <div ref={dividerRef} className={styles.dividerContainer} data-qa=\"drop-divider\">\n <Divider />\n </div>\n </>\n );\n});\n\nDropContainer.displayName = 'DropContainer';\n"],"names":["_jsxs","_Fragment","_jsx"],"mappings":";;;;;;;AAQO,MAAM,aAAa,GAAG,UAAU,CAKrC,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,GAAG,KAAI;AAClC,IAAA,MAAM,UAAU,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;AAChD,IAAA,MAAM,cAAc,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;AACrC,IAAA,cAAc,CAAC,OAAO,GAAG,YAAY,KAAK,MAAM,CAAC;AACjD,IAAA,MAAM,mBAAmB,GA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,MAAM,KAAK,GAAG,cAAc,CAAC,OAAO;AAChC,UAAE;AACI,YAAA,QAAQ,EAAE,CAAC,EAAE,MAAM,EAA2B,KAAI;gBAC9C,MAAM,mBAAmB,GAAG,MAAwB,CAAC;gBAErD,IAAI,UAAU,CAAC,OAAO,IAAI,YAAY,KAAK,uBAAuB,EAAE;AAChE,oBAAA,MAAM,WAAW,GACb,mBAAmB,CAAC,SAAS;AACzB,wBAAA,mBAAmB,CAAC,YAAY;AAChC,wBAAA,mBAAmB,CAAC,YAAY;AACpC,wBAAA,CAAC,CAAC;AAEN,oBAAA,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;iBAC5E;aACJ;AACJ,SAAA;UACD,EAAE,CAAC;AAET,IAAA,QACIA,IACI,CAAAC,QAAA,EAAA,EAAA,QAAA,EAAA,CAAAC,GAAA,CAAA,KAAA,EAAA,EAAK,GAAG,EAAE,wBAAwB,EAAE,SAAS,EAAE,MAAM,CAAC,aAAa,EAAA,GAAM,KAAK,EAAA,QAAA,EACzE,QAAQ,EACP,CAAA,EACNA,GAAK,CAAA,KAAA,EAAA,EAAA,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,CAAC,gBAAgB,EAAU,SAAA,EAAA,cAAc,YAC5EA,GAAC,CAAA,OAAO,KAAG,EACT,CAAA,CAAA,EAAA,CACP,EACL;AACN,CAAC,EAAE;AAEH,aAAa,CAAC,WAAW,GAAG,eAAe;;;;"}
|
package/DropContainer.js
CHANGED
|
@@ -3,5 +3,5 @@ import 'react/jsx-runtime';
|
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@hh.ru/magritte-common-use-multiple-refs';
|
|
5
5
|
import '@hh.ru/magritte-ui-divider';
|
|
6
|
-
export { D as DropContainer } from './DropContainer-
|
|
6
|
+
export { D as DropContainer } from './DropContainer-CfDepPZT.js';
|
|
7
7
|
//# sourceMappingURL=DropContainer.js.map
|
package/index.css
CHANGED
|
@@ -1,660 +1,130 @@
|
|
|
1
1
|
:root{
|
|
2
|
-
--magritte-color-component-drop-background-content-
|
|
3
|
-
--magritte-shadow-level-2-color-
|
|
4
|
-
--magritte-shadow-level-2-x-
|
|
5
|
-
--magritte-shadow-level-2-y-
|
|
6
|
-
--magritte-shadow-level-2-blur-
|
|
7
|
-
--magritte-shadow-level-2-spread-
|
|
2
|
+
--magritte-color-component-drop-background-content-v21-0-0:#ffffff;
|
|
3
|
+
--magritte-shadow-level-2-color-v21-0-0:#7090b03d;
|
|
4
|
+
--magritte-shadow-level-2-x-v21-0-0:0px;
|
|
5
|
+
--magritte-shadow-level-2-y-v21-0-0:8px;
|
|
6
|
+
--magritte-shadow-level-2-blur-v21-0-0:16px;
|
|
7
|
+
--magritte-shadow-level-2-spread-v21-0-0:0px;
|
|
8
8
|
}
|
|
9
9
|
:root{
|
|
10
|
-
--magritte-
|
|
11
|
-
--magritte-
|
|
12
|
-
--magritte-
|
|
13
|
-
--magritte-
|
|
14
|
-
--magritte-
|
|
15
|
-
--magritte-
|
|
16
|
-
--magritte-
|
|
17
|
-
--magritte-typography-title-1-semibold-text-decoration-v20-1-0:none;
|
|
18
|
-
--magritte-typography-title-2-semibold-font-family-v20-1-0:"hh sans";
|
|
19
|
-
--magritte-typography-title-2-semibold-font-weight-v20-1-0:500;
|
|
20
|
-
--magritte-typography-title-2-semibold-line-height-v20-1-0:48px;
|
|
21
|
-
--magritte-typography-title-2-semibold-font-size-v20-1-0:36px;
|
|
22
|
-
--magritte-typography-title-2-semibold-letter-spacing-v20-1-0:-0.0175em;
|
|
23
|
-
--magritte-typography-title-2-semibold-text-indent-v20-1-0:0px;
|
|
24
|
-
--magritte-typography-title-2-semibold-text-transform-v20-1-0:none;
|
|
25
|
-
--magritte-typography-title-2-semibold-text-decoration-v20-1-0:none;
|
|
26
|
-
--magritte-typography-title-3-semibold-font-family-v20-1-0:"hh sans";
|
|
27
|
-
--magritte-typography-title-3-semibold-font-weight-v20-1-0:500;
|
|
28
|
-
--magritte-typography-title-3-semibold-line-height-v20-1-0:40px;
|
|
29
|
-
--magritte-typography-title-3-semibold-font-size-v20-1-0:28px;
|
|
30
|
-
--magritte-typography-title-3-semibold-letter-spacing-v20-1-0:-0.0125em;
|
|
31
|
-
--magritte-typography-title-3-semibold-text-indent-v20-1-0:0px;
|
|
32
|
-
--magritte-typography-title-3-semibold-text-transform-v20-1-0:none;
|
|
33
|
-
--magritte-typography-title-3-semibold-text-decoration-v20-1-0:none;
|
|
34
|
-
--magritte-typography-title-4-semibold-font-family-v20-1-0:"hh sans";
|
|
35
|
-
--magritte-typography-title-4-semibold-font-weight-v20-1-0:500;
|
|
36
|
-
--magritte-typography-title-4-semibold-line-height-v20-1-0:32px;
|
|
37
|
-
--magritte-typography-title-4-semibold-font-size-v20-1-0:22px;
|
|
38
|
-
--magritte-typography-title-4-semibold-letter-spacing-v20-1-0:-0.0075em;
|
|
39
|
-
--magritte-typography-title-4-semibold-text-indent-v20-1-0:0px;
|
|
40
|
-
--magritte-typography-title-4-semibold-text-transform-v20-1-0:none;
|
|
41
|
-
--magritte-typography-title-4-semibold-text-decoration-v20-1-0:none;
|
|
42
|
-
--magritte-typography-title-5-semibold-font-family-v20-1-0:"hh sans";
|
|
43
|
-
--magritte-typography-title-5-semibold-font-weight-v20-1-0:500;
|
|
44
|
-
--magritte-typography-title-5-semibold-line-height-v20-1-0:26px;
|
|
45
|
-
--magritte-typography-title-5-semibold-font-size-v20-1-0:18px;
|
|
46
|
-
--magritte-typography-title-5-semibold-letter-spacing-v20-1-0:0em;
|
|
47
|
-
--magritte-typography-title-5-semibold-text-indent-v20-1-0:0px;
|
|
48
|
-
--magritte-typography-title-5-semibold-text-transform-v20-1-0:none;
|
|
49
|
-
--magritte-typography-title-5-semibold-text-decoration-v20-1-0:none;
|
|
50
|
-
--magritte-typography-subtitle-1-semibold-font-family-v20-1-0:"hh sans";
|
|
51
|
-
--magritte-typography-subtitle-1-semibold-font-weight-v20-1-0:500;
|
|
52
|
-
--magritte-typography-subtitle-1-semibold-line-height-v20-1-0:22px;
|
|
53
|
-
--magritte-typography-subtitle-1-semibold-font-size-v20-1-0:16px;
|
|
54
|
-
--magritte-typography-subtitle-1-semibold-letter-spacing-v20-1-0:0em;
|
|
55
|
-
--magritte-typography-subtitle-1-semibold-text-indent-v20-1-0:0px;
|
|
56
|
-
--magritte-typography-subtitle-1-semibold-text-transform-v20-1-0:none;
|
|
57
|
-
--magritte-typography-subtitle-1-semibold-text-decoration-v20-1-0:none;
|
|
58
|
-
--magritte-typography-subtitle-2-semibold-font-family-v20-1-0:"hh sans";
|
|
59
|
-
--magritte-typography-subtitle-2-semibold-font-weight-v20-1-0:500;
|
|
60
|
-
--magritte-typography-subtitle-2-semibold-line-height-v20-1-0:20px;
|
|
61
|
-
--magritte-typography-subtitle-2-semibold-font-size-v20-1-0:14px;
|
|
62
|
-
--magritte-typography-subtitle-2-semibold-letter-spacing-v20-1-0:0.005em;
|
|
63
|
-
--magritte-typography-subtitle-2-semibold-text-indent-v20-1-0:0px;
|
|
64
|
-
--magritte-typography-subtitle-2-semibold-text-transform-v20-1-0:none;
|
|
65
|
-
--magritte-typography-subtitle-2-semibold-text-decoration-v20-1-0:none;
|
|
66
|
-
--magritte-typography-subtitle-3-semibold-font-family-v20-1-0:"hh sans";
|
|
67
|
-
--magritte-typography-subtitle-3-semibold-font-weight-v20-1-0:500;
|
|
68
|
-
--magritte-typography-subtitle-3-semibold-line-height-v20-1-0:18px;
|
|
69
|
-
--magritte-typography-subtitle-3-semibold-font-size-v20-1-0:12px;
|
|
70
|
-
--magritte-typography-subtitle-3-semibold-letter-spacing-v20-1-0:0.01em;
|
|
71
|
-
--magritte-typography-subtitle-3-semibold-text-indent-v20-1-0:0px;
|
|
72
|
-
--magritte-typography-subtitle-3-semibold-text-transform-v20-1-0:none;
|
|
73
|
-
--magritte-typography-subtitle-3-semibold-text-decoration-v20-1-0:none;
|
|
74
|
-
--magritte-typography-subtitle-4-semibold-font-family-v20-1-0:"hh sans";
|
|
75
|
-
--magritte-typography-subtitle-4-semibold-font-weight-v20-1-0:500;
|
|
76
|
-
--magritte-typography-subtitle-4-semibold-line-height-v20-1-0:16px;
|
|
77
|
-
--magritte-typography-subtitle-4-semibold-font-size-v20-1-0:10px;
|
|
78
|
-
--magritte-typography-subtitle-4-semibold-letter-spacing-v20-1-0:0.015em;
|
|
79
|
-
--magritte-typography-subtitle-4-semibold-text-indent-v20-1-0:0px;
|
|
80
|
-
--magritte-typography-subtitle-4-semibold-text-transform-v20-1-0:none;
|
|
81
|
-
--magritte-typography-subtitle-4-semibold-text-decoration-v20-1-0:none;
|
|
82
|
-
--magritte-typography-label-1-regular-font-family-v20-1-0:"hh sans";
|
|
83
|
-
--magritte-typography-label-1-regular-font-weight-v20-1-0:400;
|
|
84
|
-
--magritte-typography-label-1-regular-line-height-v20-1-0:26px;
|
|
85
|
-
--magritte-typography-label-1-regular-font-size-v20-1-0:18px;
|
|
86
|
-
--magritte-typography-label-1-regular-letter-spacing-v20-1-0:-0.005em;
|
|
87
|
-
--magritte-typography-label-1-regular-text-indent-v20-1-0:0px;
|
|
88
|
-
--magritte-typography-label-1-regular-text-transform-v20-1-0:none;
|
|
89
|
-
--magritte-typography-label-1-regular-text-decoration-v20-1-0:none;
|
|
90
|
-
--magritte-typography-label-2-regular-font-family-v20-1-0:"hh sans";
|
|
91
|
-
--magritte-typography-label-2-regular-font-weight-v20-1-0:400;
|
|
92
|
-
--magritte-typography-label-2-regular-line-height-v20-1-0:22px;
|
|
93
|
-
--magritte-typography-label-2-regular-font-size-v20-1-0:16px;
|
|
94
|
-
--magritte-typography-label-2-regular-letter-spacing-v20-1-0:0em;
|
|
95
|
-
--magritte-typography-label-2-regular-text-indent-v20-1-0:0px;
|
|
96
|
-
--magritte-typography-label-2-regular-text-transform-v20-1-0:none;
|
|
97
|
-
--magritte-typography-label-2-regular-text-decoration-v20-1-0:none;
|
|
98
|
-
--magritte-typography-label-3-regular-font-family-v20-1-0:"hh sans";
|
|
99
|
-
--magritte-typography-label-3-regular-font-weight-v20-1-0:400;
|
|
100
|
-
--magritte-typography-label-3-regular-line-height-v20-1-0:20px;
|
|
101
|
-
--magritte-typography-label-3-regular-font-size-v20-1-0:14px;
|
|
102
|
-
--magritte-typography-label-3-regular-letter-spacing-v20-1-0:0.005em;
|
|
103
|
-
--magritte-typography-label-3-regular-text-indent-v20-1-0:0px;
|
|
104
|
-
--magritte-typography-label-3-regular-text-transform-v20-1-0:none;
|
|
105
|
-
--magritte-typography-label-3-regular-text-decoration-v20-1-0:none;
|
|
106
|
-
--magritte-typography-label-4-regular-font-family-v20-1-0:"hh sans";
|
|
107
|
-
--magritte-typography-label-4-regular-font-weight-v20-1-0:400;
|
|
108
|
-
--magritte-typography-label-4-regular-line-height-v20-1-0:18px;
|
|
109
|
-
--magritte-typography-label-4-regular-font-size-v20-1-0:12px;
|
|
110
|
-
--magritte-typography-label-4-regular-letter-spacing-v20-1-0:0.01em;
|
|
111
|
-
--magritte-typography-label-4-regular-text-indent-v20-1-0:0px;
|
|
112
|
-
--magritte-typography-label-4-regular-text-transform-v20-1-0:none;
|
|
113
|
-
--magritte-typography-label-4-regular-text-decoration-v20-1-0:none;
|
|
114
|
-
--magritte-typography-label-5-regular-font-family-v20-1-0:"hh sans";
|
|
115
|
-
--magritte-typography-label-5-regular-font-weight-v20-1-0:400;
|
|
116
|
-
--magritte-typography-label-5-regular-line-height-v20-1-0:14px;
|
|
117
|
-
--magritte-typography-label-5-regular-font-size-v20-1-0:10px;
|
|
118
|
-
--magritte-typography-label-5-regular-letter-spacing-v20-1-0:0.02em;
|
|
119
|
-
--magritte-typography-label-5-regular-text-indent-v20-1-0:0px;
|
|
120
|
-
--magritte-typography-label-5-regular-text-transform-v20-1-0:none;
|
|
121
|
-
--magritte-typography-label-5-regular-text-decoration-v20-1-0:none;
|
|
122
|
-
--magritte-typography-paragraph-1-regular-font-family-v20-1-0:"hh sans";
|
|
123
|
-
--magritte-typography-paragraph-1-regular-font-weight-v20-1-0:400;
|
|
124
|
-
--magritte-typography-paragraph-1-regular-line-height-v20-1-0:28px;
|
|
125
|
-
--magritte-typography-paragraph-1-regular-font-size-v20-1-0:18px;
|
|
126
|
-
--magritte-typography-paragraph-1-regular-letter-spacing-v20-1-0:0em;
|
|
127
|
-
--magritte-typography-paragraph-1-regular-text-indent-v20-1-0:0px;
|
|
128
|
-
--magritte-typography-paragraph-1-regular-text-transform-v20-1-0:none;
|
|
129
|
-
--magritte-typography-paragraph-1-regular-text-decoration-v20-1-0:none;
|
|
130
|
-
--magritte-typography-paragraph-2-regular-font-family-v20-1-0:"hh sans";
|
|
131
|
-
--magritte-typography-paragraph-2-regular-font-weight-v20-1-0:400;
|
|
132
|
-
--magritte-typography-paragraph-2-regular-line-height-v20-1-0:26px;
|
|
133
|
-
--magritte-typography-paragraph-2-regular-font-size-v20-1-0:16px;
|
|
134
|
-
--magritte-typography-paragraph-2-regular-letter-spacing-v20-1-0:0.005em;
|
|
135
|
-
--magritte-typography-paragraph-2-regular-text-indent-v20-1-0:0px;
|
|
136
|
-
--magritte-typography-paragraph-2-regular-text-transform-v20-1-0:none;
|
|
137
|
-
--magritte-typography-paragraph-2-regular-text-decoration-v20-1-0:none;
|
|
138
|
-
--magritte-typography-paragraph-3-regular-font-family-v20-1-0:"hh sans";
|
|
139
|
-
--magritte-typography-paragraph-3-regular-font-weight-v20-1-0:400;
|
|
140
|
-
--magritte-typography-paragraph-3-regular-line-height-v20-1-0:24px;
|
|
141
|
-
--magritte-typography-paragraph-3-regular-font-size-v20-1-0:14px;
|
|
142
|
-
--magritte-typography-paragraph-3-regular-letter-spacing-v20-1-0:0.01em;
|
|
143
|
-
--magritte-typography-paragraph-3-regular-text-indent-v20-1-0:0px;
|
|
144
|
-
--magritte-typography-paragraph-3-regular-text-transform-v20-1-0:none;
|
|
145
|
-
--magritte-typography-paragraph-3-regular-text-decoration-v20-1-0:none;
|
|
146
|
-
--magritte-typography-paragraph-4-regular-font-family-v20-1-0:"hh sans";
|
|
147
|
-
--magritte-typography-paragraph-4-regular-font-weight-v20-1-0:400;
|
|
148
|
-
--magritte-typography-paragraph-4-regular-line-height-v20-1-0:22px;
|
|
149
|
-
--magritte-typography-paragraph-4-regular-font-size-v20-1-0:12px;
|
|
150
|
-
--magritte-typography-paragraph-4-regular-letter-spacing-v20-1-0:0.015em;
|
|
151
|
-
--magritte-typography-paragraph-4-regular-text-indent-v20-1-0:0px;
|
|
152
|
-
--magritte-typography-paragraph-4-regular-text-transform-v20-1-0:none;
|
|
153
|
-
--magritte-typography-paragraph-4-regular-text-decoration-v20-1-0:none;
|
|
154
|
-
--magritte-typography-_custom-1-semibold-font-family-v20-1-0:"hh sans";
|
|
155
|
-
--magritte-typography-_custom-1-semibold-font-weight-v20-1-0:500;
|
|
156
|
-
--magritte-typography-_custom-1-semibold-line-height-v20-1-0:28px;
|
|
157
|
-
--magritte-typography-_custom-1-semibold-font-size-v20-1-0:18px;
|
|
158
|
-
--magritte-typography-_custom-1-semibold-letter-spacing-v20-1-0:0em;
|
|
159
|
-
--magritte-typography-_custom-1-semibold-text-indent-v20-1-0:0px;
|
|
160
|
-
--magritte-typography-_custom-1-semibold-text-transform-v20-1-0:none;
|
|
161
|
-
--magritte-typography-_custom-1-semibold-text-decoration-v20-1-0:none;
|
|
162
|
-
--magritte-typography-_custom-2-semibold-font-family-v20-1-0:"hh sans";
|
|
163
|
-
--magritte-typography-_custom-2-semibold-font-weight-v20-1-0:500;
|
|
164
|
-
--magritte-typography-_custom-2-semibold-line-height-v20-1-0:26px;
|
|
165
|
-
--magritte-typography-_custom-2-semibold-font-size-v20-1-0:16px;
|
|
166
|
-
--magritte-typography-_custom-2-semibold-letter-spacing-v20-1-0:0.005em;
|
|
167
|
-
--magritte-typography-_custom-2-semibold-text-indent-v20-1-0:0px;
|
|
168
|
-
--magritte-typography-_custom-2-semibold-text-transform-v20-1-0:none;
|
|
169
|
-
--magritte-typography-_custom-2-semibold-text-decoration-v20-1-0:none;
|
|
170
|
-
--magritte-typography-_custom-3-semibold-font-family-v20-1-0:"hh sans";
|
|
171
|
-
--magritte-typography-_custom-3-semibold-font-weight-v20-1-0:500;
|
|
172
|
-
--magritte-typography-_custom-3-semibold-line-height-v20-1-0:24px;
|
|
173
|
-
--magritte-typography-_custom-3-semibold-font-size-v20-1-0:14px;
|
|
174
|
-
--magritte-typography-_custom-3-semibold-letter-spacing-v20-1-0:0.01em;
|
|
175
|
-
--magritte-typography-_custom-3-semibold-text-indent-v20-1-0:0px;
|
|
176
|
-
--magritte-typography-_custom-3-semibold-text-transform-v20-1-0:none;
|
|
177
|
-
--magritte-typography-_custom-3-semibold-text-decoration-v20-1-0:none;
|
|
178
|
-
--magritte-typography-_custom-4-semibold-font-family-v20-1-0:"hh sans";
|
|
179
|
-
--magritte-typography-_custom-4-semibold-font-weight-v20-1-0:400;
|
|
180
|
-
--magritte-typography-_custom-4-semibold-line-height-v20-1-0:22px;
|
|
181
|
-
--magritte-typography-_custom-4-semibold-font-size-v20-1-0:12px;
|
|
182
|
-
--magritte-typography-_custom-4-semibold-letter-spacing-v20-1-0:0.015em;
|
|
183
|
-
--magritte-typography-_custom-4-semibold-text-indent-v20-1-0:0px;
|
|
184
|
-
--magritte-typography-_custom-4-semibold-text-transform-v20-1-0:none;
|
|
185
|
-
--magritte-typography-_custom-4-semibold-text-decoration-v20-1-0:none;
|
|
186
|
-
--magritte-typography-_custom-5-semibold-font-family-v20-1-0:"hh sans";
|
|
187
|
-
--magritte-typography-_custom-5-semibold-font-weight-v20-1-0:400;
|
|
188
|
-
--magritte-typography-_custom-5-semibold-line-height-v20-1-0:12px;
|
|
189
|
-
--magritte-typography-_custom-5-semibold-font-size-v20-1-0:10px;
|
|
190
|
-
--magritte-typography-_custom-5-semibold-letter-spacing-v20-1-0:0.015em;
|
|
191
|
-
--magritte-typography-_custom-5-semibold-text-indent-v20-1-0:0px;
|
|
192
|
-
--magritte-typography-_custom-5-semibold-text-transform-v20-1-0:none;
|
|
193
|
-
--magritte-typography-_custom-5-semibold-text-decoration-v20-1-0:none;
|
|
194
|
-
--magritte-typography-_custom-1-medium-font-family-v20-1-0:"hh sans";
|
|
195
|
-
--magritte-typography-_custom-1-medium-font-weight-v20-1-0:500;
|
|
196
|
-
--magritte-typography-_custom-1-medium-line-height-v20-1-0:28px;
|
|
197
|
-
--magritte-typography-_custom-1-medium-font-size-v20-1-0:18px;
|
|
198
|
-
--magritte-typography-_custom-1-medium-letter-spacing-v20-1-0:0em;
|
|
199
|
-
--magritte-typography-_custom-1-medium-text-indent-v20-1-0:0px;
|
|
200
|
-
--magritte-typography-_custom-1-medium-text-transform-v20-1-0:none;
|
|
201
|
-
--magritte-typography-_custom-1-medium-text-decoration-v20-1-0:none;
|
|
202
|
-
--magritte-typography-_custom-2-medium-font-family-v20-1-0:"hh sans";
|
|
203
|
-
--magritte-typography-_custom-2-medium-font-weight-v20-1-0:500;
|
|
204
|
-
--magritte-typography-_custom-2-medium-line-height-v20-1-0:26px;
|
|
205
|
-
--magritte-typography-_custom-2-medium-font-size-v20-1-0:16px;
|
|
206
|
-
--magritte-typography-_custom-2-medium-letter-spacing-v20-1-0:0.005em;
|
|
207
|
-
--magritte-typography-_custom-2-medium-text-indent-v20-1-0:0px;
|
|
208
|
-
--magritte-typography-_custom-2-medium-text-transform-v20-1-0:none;
|
|
209
|
-
--magritte-typography-_custom-2-medium-text-decoration-v20-1-0:none;
|
|
210
|
-
--magritte-typography-_custom-3-medium-font-family-v20-1-0:"hh sans";
|
|
211
|
-
--magritte-typography-_custom-3-medium-font-weight-v20-1-0:500;
|
|
212
|
-
--magritte-typography-_custom-3-medium-line-height-v20-1-0:24px;
|
|
213
|
-
--magritte-typography-_custom-3-medium-font-size-v20-1-0:14px;
|
|
214
|
-
--magritte-typography-_custom-3-medium-letter-spacing-v20-1-0:0.01em;
|
|
215
|
-
--magritte-typography-_custom-3-medium-text-indent-v20-1-0:0px;
|
|
216
|
-
--magritte-typography-_custom-3-medium-text-transform-v20-1-0:none;
|
|
217
|
-
--magritte-typography-_custom-3-medium-text-decoration-v20-1-0:none;
|
|
218
|
-
--magritte-typography-_custom-4-medium-font-family-v20-1-0:"hh sans";
|
|
219
|
-
--magritte-typography-_custom-4-medium-font-weight-v20-1-0:500;
|
|
220
|
-
--magritte-typography-_custom-4-medium-line-height-v20-1-0:22px;
|
|
221
|
-
--magritte-typography-_custom-4-medium-font-size-v20-1-0:12px;
|
|
222
|
-
--magritte-typography-_custom-4-medium-letter-spacing-v20-1-0:0.015em;
|
|
223
|
-
--magritte-typography-_custom-4-medium-text-indent-v20-1-0:0px;
|
|
224
|
-
--magritte-typography-_custom-4-medium-text-transform-v20-1-0:none;
|
|
225
|
-
--magritte-typography-_custom-4-medium-text-decoration-v20-1-0:none;
|
|
226
|
-
--magritte-typography-_custom-5-medium-font-family-v20-1-0:"hh sans";
|
|
227
|
-
--magritte-typography-_custom-5-medium-font-weight-v20-1-0:500;
|
|
228
|
-
--magritte-typography-_custom-5-medium-line-height-v20-1-0:12px;
|
|
229
|
-
--magritte-typography-_custom-5-medium-font-size-v20-1-0:10px;
|
|
230
|
-
--magritte-typography-_custom-5-medium-letter-spacing-v20-1-0:0.015em;
|
|
231
|
-
--magritte-typography-_custom-5-medium-text-indent-v20-1-0:0px;
|
|
232
|
-
--magritte-typography-_custom-5-medium-text-transform-v20-1-0:none;
|
|
233
|
-
--magritte-typography-_custom-5-medium-text-decoration-v20-1-0:none;
|
|
234
|
-
--magritte-typography-_custom-1-italic-font-family-v20-1-0:"hh sans";
|
|
235
|
-
--magritte-typography-_custom-1-italic-font-weight-v20-1-0:400;
|
|
236
|
-
--magritte-typography-_custom-1-italic-line-height-v20-1-0:28px;
|
|
237
|
-
--magritte-typography-_custom-1-italic-font-size-v20-1-0:18px;
|
|
238
|
-
--magritte-typography-_custom-1-italic-letter-spacing-v20-1-0:0em;
|
|
239
|
-
--magritte-typography-_custom-1-italic-text-indent-v20-1-0:0px;
|
|
240
|
-
--magritte-typography-_custom-1-italic-text-transform-v20-1-0:none;
|
|
241
|
-
--magritte-typography-_custom-1-italic-text-decoration-v20-1-0:none;
|
|
242
|
-
--magritte-typography-_custom-2-italic-font-family-v20-1-0:"hh sans";
|
|
243
|
-
--magritte-typography-_custom-2-italic-font-weight-v20-1-0:400;
|
|
244
|
-
--magritte-typography-_custom-2-italic-line-height-v20-1-0:26px;
|
|
245
|
-
--magritte-typography-_custom-2-italic-font-size-v20-1-0:16px;
|
|
246
|
-
--magritte-typography-_custom-2-italic-letter-spacing-v20-1-0:0.005em;
|
|
247
|
-
--magritte-typography-_custom-2-italic-text-indent-v20-1-0:0px;
|
|
248
|
-
--magritte-typography-_custom-2-italic-text-transform-v20-1-0:none;
|
|
249
|
-
--magritte-typography-_custom-2-italic-text-decoration-v20-1-0:none;
|
|
250
|
-
--magritte-typography-_custom-3-italic-font-family-v20-1-0:"hh sans";
|
|
251
|
-
--magritte-typography-_custom-3-italic-font-weight-v20-1-0:400;
|
|
252
|
-
--magritte-typography-_custom-3-italic-line-height-v20-1-0:24px;
|
|
253
|
-
--magritte-typography-_custom-3-italic-font-size-v20-1-0:14px;
|
|
254
|
-
--magritte-typography-_custom-3-italic-letter-spacing-v20-1-0:0.01em;
|
|
255
|
-
--magritte-typography-_custom-3-italic-text-indent-v20-1-0:0px;
|
|
256
|
-
--magritte-typography-_custom-3-italic-text-transform-v20-1-0:none;
|
|
257
|
-
--magritte-typography-_custom-3-italic-text-decoration-v20-1-0:none;
|
|
258
|
-
--magritte-typography-_custom-4-italic-font-family-v20-1-0:"hh sans";
|
|
259
|
-
--magritte-typography-_custom-4-italic-font-weight-v20-1-0:400;
|
|
260
|
-
--magritte-typography-_custom-4-italic-line-height-v20-1-0:22px;
|
|
261
|
-
--magritte-typography-_custom-4-italic-font-size-v20-1-0:12px;
|
|
262
|
-
--magritte-typography-_custom-4-italic-letter-spacing-v20-1-0:0.015em;
|
|
263
|
-
--magritte-typography-_custom-4-italic-text-indent-v20-1-0:0px;
|
|
264
|
-
--magritte-typography-_custom-4-italic-text-transform-v20-1-0:none;
|
|
265
|
-
--magritte-typography-_custom-4-italic-text-decoration-v20-1-0:none;
|
|
266
|
-
--magritte-typography-_custom-5-italic-font-family-v20-1-0:"hh sans";
|
|
267
|
-
--magritte-typography-_custom-5-italic-font-weight-v20-1-0:400;
|
|
268
|
-
--magritte-typography-_custom-5-italic-line-height-v20-1-0:12px;
|
|
269
|
-
--magritte-typography-_custom-5-italic-font-size-v20-1-0:10px;
|
|
270
|
-
--magritte-typography-_custom-5-italic-letter-spacing-v20-1-0:0.015em;
|
|
271
|
-
--magritte-typography-_custom-5-italic-text-indent-v20-1-0:0px;
|
|
272
|
-
--magritte-typography-_custom-5-italic-text-transform-v20-1-0:none;
|
|
273
|
-
--magritte-typography-_custom-5-italic-text-decoration-v20-1-0:none;
|
|
274
|
-
--magritte-semantic-animation-ease-in-out-100-duration-v20-1-0:100ms;
|
|
275
|
-
--magritte-semantic-animation-ease-in-out-200-timing-function-v20-1-0:cubic-bezier(0.25, 0.1, 0.25, 1);
|
|
276
|
-
--magritte-semantic-animation-ease-in-out-200-duration-v20-1-0:200ms;
|
|
277
|
-
--magritte-static-space-300-v20-1-0:12px;
|
|
278
|
-
--magritte-static-space-400-v20-1-0:16px;
|
|
279
|
-
--magritte-static-space-600-v20-1-0:24px;
|
|
280
|
-
--magritte-static-border-radius-600-v20-1-0:24px;
|
|
10
|
+
--magritte-semantic-animation-ease-in-out-100-duration-v21-0-0:100ms;
|
|
11
|
+
--magritte-semantic-animation-ease-in-out-200-timing-function-v21-0-0:cubic-bezier(0.25, 0.1, 0.25, 1);
|
|
12
|
+
--magritte-semantic-animation-ease-in-out-200-duration-v21-0-0:200ms;
|
|
13
|
+
--magritte-static-space-300-v21-0-0:12px;
|
|
14
|
+
--magritte-static-space-400-v21-0-0:16px;
|
|
15
|
+
--magritte-static-space-600-v21-0-0:24px;
|
|
16
|
+
--magritte-static-border-radius-600-v21-0-0:24px;
|
|
281
17
|
}
|
|
282
18
|
.magritte-night-theme{
|
|
283
|
-
--magritte-color-component-drop-background-content-
|
|
284
|
-
--magritte-shadow-level-2-color-
|
|
285
|
-
--magritte-shadow-level-2-x-
|
|
286
|
-
--magritte-shadow-level-2-y-
|
|
287
|
-
--magritte-shadow-level-2-blur-
|
|
288
|
-
--magritte-shadow-level-2-spread-
|
|
19
|
+
--magritte-color-component-drop-background-content-v21-0-0:#1B1B1B;
|
|
20
|
+
--magritte-shadow-level-2-color-v21-0-0:#0000003d;
|
|
21
|
+
--magritte-shadow-level-2-x-v21-0-0:0px;
|
|
22
|
+
--magritte-shadow-level-2-y-v21-0-0:8px;
|
|
23
|
+
--magritte-shadow-level-2-blur-v21-0-0:16px;
|
|
24
|
+
--magritte-shadow-level-2-spread-v21-0-0:0px;
|
|
289
25
|
}
|
|
290
|
-
.magritte-
|
|
291
|
-
--magritte-typography-title-1-semibold-font-family-v20-1-0:"Inter";
|
|
292
|
-
--magritte-typography-title-1-semibold-font-weight-v20-1-0:600;
|
|
293
|
-
--magritte-typography-title-1-semibold-line-height-v20-1-0:60px;
|
|
294
|
-
--magritte-typography-title-1-semibold-font-size-v20-1-0:48px;
|
|
295
|
-
--magritte-typography-title-1-semibold-letter-spacing-v20-1-0:-0.02em;
|
|
296
|
-
--magritte-typography-title-1-semibold-text-indent-v20-1-0:0px;
|
|
297
|
-
--magritte-typography-title-1-semibold-text-transform-v20-1-0:none;
|
|
298
|
-
--magritte-typography-title-1-semibold-text-decoration-v20-1-0:none;
|
|
299
|
-
--magritte-typography-title-2-semibold-font-family-v20-1-0:"Inter";
|
|
300
|
-
--magritte-typography-title-2-semibold-font-weight-v20-1-0:600;
|
|
301
|
-
--magritte-typography-title-2-semibold-line-height-v20-1-0:48px;
|
|
302
|
-
--magritte-typography-title-2-semibold-font-size-v20-1-0:36px;
|
|
303
|
-
--magritte-typography-title-2-semibold-letter-spacing-v20-1-0:-0.0175em;
|
|
304
|
-
--magritte-typography-title-2-semibold-text-indent-v20-1-0:0px;
|
|
305
|
-
--magritte-typography-title-2-semibold-text-transform-v20-1-0:none;
|
|
306
|
-
--magritte-typography-title-2-semibold-text-decoration-v20-1-0:none;
|
|
307
|
-
--magritte-typography-title-3-semibold-font-family-v20-1-0:"Inter";
|
|
308
|
-
--magritte-typography-title-3-semibold-font-weight-v20-1-0:600;
|
|
309
|
-
--magritte-typography-title-3-semibold-line-height-v20-1-0:40px;
|
|
310
|
-
--magritte-typography-title-3-semibold-font-size-v20-1-0:28px;
|
|
311
|
-
--magritte-typography-title-3-semibold-letter-spacing-v20-1-0:-0.0125em;
|
|
312
|
-
--magritte-typography-title-3-semibold-text-indent-v20-1-0:0px;
|
|
313
|
-
--magritte-typography-title-3-semibold-text-transform-v20-1-0:none;
|
|
314
|
-
--magritte-typography-title-3-semibold-text-decoration-v20-1-0:none;
|
|
315
|
-
--magritte-typography-title-4-semibold-font-family-v20-1-0:"Inter";
|
|
316
|
-
--magritte-typography-title-4-semibold-font-weight-v20-1-0:600;
|
|
317
|
-
--magritte-typography-title-4-semibold-line-height-v20-1-0:32px;
|
|
318
|
-
--magritte-typography-title-4-semibold-font-size-v20-1-0:22px;
|
|
319
|
-
--magritte-typography-title-4-semibold-letter-spacing-v20-1-0:-0.0075em;
|
|
320
|
-
--magritte-typography-title-4-semibold-text-indent-v20-1-0:0px;
|
|
321
|
-
--magritte-typography-title-4-semibold-text-transform-v20-1-0:none;
|
|
322
|
-
--magritte-typography-title-4-semibold-text-decoration-v20-1-0:none;
|
|
323
|
-
--magritte-typography-title-5-semibold-font-family-v20-1-0:"Inter";
|
|
324
|
-
--magritte-typography-title-5-semibold-font-weight-v20-1-0:600;
|
|
325
|
-
--magritte-typography-title-5-semibold-line-height-v20-1-0:26px;
|
|
326
|
-
--magritte-typography-title-5-semibold-font-size-v20-1-0:18px;
|
|
327
|
-
--magritte-typography-title-5-semibold-letter-spacing-v20-1-0:0em;
|
|
328
|
-
--magritte-typography-title-5-semibold-text-indent-v20-1-0:0px;
|
|
329
|
-
--magritte-typography-title-5-semibold-text-transform-v20-1-0:none;
|
|
330
|
-
--magritte-typography-title-5-semibold-text-decoration-v20-1-0:none;
|
|
331
|
-
--magritte-typography-subtitle-1-semibold-font-family-v20-1-0:"Inter";
|
|
332
|
-
--magritte-typography-subtitle-1-semibold-font-weight-v20-1-0:600;
|
|
333
|
-
--magritte-typography-subtitle-1-semibold-line-height-v20-1-0:22px;
|
|
334
|
-
--magritte-typography-subtitle-1-semibold-font-size-v20-1-0:16px;
|
|
335
|
-
--magritte-typography-subtitle-1-semibold-letter-spacing-v20-1-0:0em;
|
|
336
|
-
--magritte-typography-subtitle-1-semibold-text-indent-v20-1-0:0px;
|
|
337
|
-
--magritte-typography-subtitle-1-semibold-text-transform-v20-1-0:none;
|
|
338
|
-
--magritte-typography-subtitle-1-semibold-text-decoration-v20-1-0:none;
|
|
339
|
-
--magritte-typography-subtitle-2-semibold-font-family-v20-1-0:"Inter";
|
|
340
|
-
--magritte-typography-subtitle-2-semibold-font-weight-v20-1-0:600;
|
|
341
|
-
--magritte-typography-subtitle-2-semibold-line-height-v20-1-0:20px;
|
|
342
|
-
--magritte-typography-subtitle-2-semibold-font-size-v20-1-0:14px;
|
|
343
|
-
--magritte-typography-subtitle-2-semibold-letter-spacing-v20-1-0:0.005em;
|
|
344
|
-
--magritte-typography-subtitle-2-semibold-text-indent-v20-1-0:0px;
|
|
345
|
-
--magritte-typography-subtitle-2-semibold-text-transform-v20-1-0:none;
|
|
346
|
-
--magritte-typography-subtitle-2-semibold-text-decoration-v20-1-0:none;
|
|
347
|
-
--magritte-typography-subtitle-3-semibold-font-family-v20-1-0:"Inter";
|
|
348
|
-
--magritte-typography-subtitle-3-semibold-font-weight-v20-1-0:600;
|
|
349
|
-
--magritte-typography-subtitle-3-semibold-line-height-v20-1-0:18px;
|
|
350
|
-
--magritte-typography-subtitle-3-semibold-font-size-v20-1-0:12px;
|
|
351
|
-
--magritte-typography-subtitle-3-semibold-letter-spacing-v20-1-0:0.01em;
|
|
352
|
-
--magritte-typography-subtitle-3-semibold-text-indent-v20-1-0:0px;
|
|
353
|
-
--magritte-typography-subtitle-3-semibold-text-transform-v20-1-0:none;
|
|
354
|
-
--magritte-typography-subtitle-3-semibold-text-decoration-v20-1-0:none;
|
|
355
|
-
--magritte-typography-subtitle-4-semibold-font-family-v20-1-0:"Inter";
|
|
356
|
-
--magritte-typography-subtitle-4-semibold-font-weight-v20-1-0:600;
|
|
357
|
-
--magritte-typography-subtitle-4-semibold-line-height-v20-1-0:16px;
|
|
358
|
-
--magritte-typography-subtitle-4-semibold-font-size-v20-1-0:10px;
|
|
359
|
-
--magritte-typography-subtitle-4-semibold-letter-spacing-v20-1-0:0.015em;
|
|
360
|
-
--magritte-typography-subtitle-4-semibold-text-indent-v20-1-0:0px;
|
|
361
|
-
--magritte-typography-subtitle-4-semibold-text-transform-v20-1-0:none;
|
|
362
|
-
--magritte-typography-subtitle-4-semibold-text-decoration-v20-1-0:none;
|
|
363
|
-
--magritte-typography-label-1-regular-font-family-v20-1-0:"Inter";
|
|
364
|
-
--magritte-typography-label-1-regular-font-weight-v20-1-0:400;
|
|
365
|
-
--magritte-typography-label-1-regular-line-height-v20-1-0:26px;
|
|
366
|
-
--magritte-typography-label-1-regular-font-size-v20-1-0:18px;
|
|
367
|
-
--magritte-typography-label-1-regular-letter-spacing-v20-1-0:-0.005em;
|
|
368
|
-
--magritte-typography-label-1-regular-text-indent-v20-1-0:0px;
|
|
369
|
-
--magritte-typography-label-1-regular-text-transform-v20-1-0:none;
|
|
370
|
-
--magritte-typography-label-1-regular-text-decoration-v20-1-0:none;
|
|
371
|
-
--magritte-typography-label-2-regular-font-family-v20-1-0:"Inter";
|
|
372
|
-
--magritte-typography-label-2-regular-font-weight-v20-1-0:400;
|
|
373
|
-
--magritte-typography-label-2-regular-line-height-v20-1-0:22px;
|
|
374
|
-
--magritte-typography-label-2-regular-font-size-v20-1-0:16px;
|
|
375
|
-
--magritte-typography-label-2-regular-letter-spacing-v20-1-0:0em;
|
|
376
|
-
--magritte-typography-label-2-regular-text-indent-v20-1-0:0px;
|
|
377
|
-
--magritte-typography-label-2-regular-text-transform-v20-1-0:none;
|
|
378
|
-
--magritte-typography-label-2-regular-text-decoration-v20-1-0:none;
|
|
379
|
-
--magritte-typography-label-3-regular-font-family-v20-1-0:"Inter";
|
|
380
|
-
--magritte-typography-label-3-regular-font-weight-v20-1-0:400;
|
|
381
|
-
--magritte-typography-label-3-regular-line-height-v20-1-0:20px;
|
|
382
|
-
--magritte-typography-label-3-regular-font-size-v20-1-0:14px;
|
|
383
|
-
--magritte-typography-label-3-regular-letter-spacing-v20-1-0:0.005em;
|
|
384
|
-
--magritte-typography-label-3-regular-text-indent-v20-1-0:0px;
|
|
385
|
-
--magritte-typography-label-3-regular-text-transform-v20-1-0:none;
|
|
386
|
-
--magritte-typography-label-3-regular-text-decoration-v20-1-0:none;
|
|
387
|
-
--magritte-typography-label-4-regular-font-family-v20-1-0:"Inter";
|
|
388
|
-
--magritte-typography-label-4-regular-font-weight-v20-1-0:400;
|
|
389
|
-
--magritte-typography-label-4-regular-line-height-v20-1-0:18px;
|
|
390
|
-
--magritte-typography-label-4-regular-font-size-v20-1-0:12px;
|
|
391
|
-
--magritte-typography-label-4-regular-letter-spacing-v20-1-0:0.01em;
|
|
392
|
-
--magritte-typography-label-4-regular-text-indent-v20-1-0:0px;
|
|
393
|
-
--magritte-typography-label-4-regular-text-transform-v20-1-0:none;
|
|
394
|
-
--magritte-typography-label-4-regular-text-decoration-v20-1-0:none;
|
|
395
|
-
--magritte-typography-label-5-regular-font-family-v20-1-0:"Inter";
|
|
396
|
-
--magritte-typography-label-5-regular-font-weight-v20-1-0:400;
|
|
397
|
-
--magritte-typography-label-5-regular-line-height-v20-1-0:14px;
|
|
398
|
-
--magritte-typography-label-5-regular-font-size-v20-1-0:10px;
|
|
399
|
-
--magritte-typography-label-5-regular-letter-spacing-v20-1-0:0.02em;
|
|
400
|
-
--magritte-typography-label-5-regular-text-indent-v20-1-0:0px;
|
|
401
|
-
--magritte-typography-label-5-regular-text-transform-v20-1-0:none;
|
|
402
|
-
--magritte-typography-label-5-regular-text-decoration-v20-1-0:none;
|
|
403
|
-
--magritte-typography-paragraph-1-regular-font-family-v20-1-0:"Inter";
|
|
404
|
-
--magritte-typography-paragraph-1-regular-font-weight-v20-1-0:400;
|
|
405
|
-
--magritte-typography-paragraph-1-regular-line-height-v20-1-0:28px;
|
|
406
|
-
--magritte-typography-paragraph-1-regular-font-size-v20-1-0:18px;
|
|
407
|
-
--magritte-typography-paragraph-1-regular-letter-spacing-v20-1-0:0em;
|
|
408
|
-
--magritte-typography-paragraph-1-regular-text-indent-v20-1-0:0px;
|
|
409
|
-
--magritte-typography-paragraph-1-regular-text-transform-v20-1-0:none;
|
|
410
|
-
--magritte-typography-paragraph-1-regular-text-decoration-v20-1-0:none;
|
|
411
|
-
--magritte-typography-paragraph-2-regular-font-family-v20-1-0:"Inter";
|
|
412
|
-
--magritte-typography-paragraph-2-regular-font-weight-v20-1-0:400;
|
|
413
|
-
--magritte-typography-paragraph-2-regular-line-height-v20-1-0:26px;
|
|
414
|
-
--magritte-typography-paragraph-2-regular-font-size-v20-1-0:16px;
|
|
415
|
-
--magritte-typography-paragraph-2-regular-letter-spacing-v20-1-0:0.005em;
|
|
416
|
-
--magritte-typography-paragraph-2-regular-text-indent-v20-1-0:0px;
|
|
417
|
-
--magritte-typography-paragraph-2-regular-text-transform-v20-1-0:none;
|
|
418
|
-
--magritte-typography-paragraph-2-regular-text-decoration-v20-1-0:none;
|
|
419
|
-
--magritte-typography-paragraph-3-regular-font-family-v20-1-0:"Inter";
|
|
420
|
-
--magritte-typography-paragraph-3-regular-font-weight-v20-1-0:400;
|
|
421
|
-
--magritte-typography-paragraph-3-regular-line-height-v20-1-0:24px;
|
|
422
|
-
--magritte-typography-paragraph-3-regular-font-size-v20-1-0:14px;
|
|
423
|
-
--magritte-typography-paragraph-3-regular-letter-spacing-v20-1-0:0.01em;
|
|
424
|
-
--magritte-typography-paragraph-3-regular-text-indent-v20-1-0:0px;
|
|
425
|
-
--magritte-typography-paragraph-3-regular-text-transform-v20-1-0:none;
|
|
426
|
-
--magritte-typography-paragraph-3-regular-text-decoration-v20-1-0:none;
|
|
427
|
-
--magritte-typography-paragraph-4-regular-font-family-v20-1-0:"Inter";
|
|
428
|
-
--magritte-typography-paragraph-4-regular-font-weight-v20-1-0:400;
|
|
429
|
-
--magritte-typography-paragraph-4-regular-line-height-v20-1-0:22px;
|
|
430
|
-
--magritte-typography-paragraph-4-regular-font-size-v20-1-0:12px;
|
|
431
|
-
--magritte-typography-paragraph-4-regular-letter-spacing-v20-1-0:0.015em;
|
|
432
|
-
--magritte-typography-paragraph-4-regular-text-indent-v20-1-0:0px;
|
|
433
|
-
--magritte-typography-paragraph-4-regular-text-transform-v20-1-0:none;
|
|
434
|
-
--magritte-typography-paragraph-4-regular-text-decoration-v20-1-0:none;
|
|
435
|
-
--magritte-typography-_custom-1-semibold-font-family-v20-1-0:"Inter";
|
|
436
|
-
--magritte-typography-_custom-1-semibold-font-weight-v20-1-0:600;
|
|
437
|
-
--magritte-typography-_custom-1-semibold-line-height-v20-1-0:28px;
|
|
438
|
-
--magritte-typography-_custom-1-semibold-font-size-v20-1-0:18px;
|
|
439
|
-
--magritte-typography-_custom-1-semibold-letter-spacing-v20-1-0:0em;
|
|
440
|
-
--magritte-typography-_custom-1-semibold-text-indent-v20-1-0:0px;
|
|
441
|
-
--magritte-typography-_custom-1-semibold-text-transform-v20-1-0:none;
|
|
442
|
-
--magritte-typography-_custom-1-semibold-text-decoration-v20-1-0:none;
|
|
443
|
-
--magritte-typography-_custom-2-semibold-font-family-v20-1-0:"Inter";
|
|
444
|
-
--magritte-typography-_custom-2-semibold-font-weight-v20-1-0:600;
|
|
445
|
-
--magritte-typography-_custom-2-semibold-line-height-v20-1-0:26px;
|
|
446
|
-
--magritte-typography-_custom-2-semibold-font-size-v20-1-0:16px;
|
|
447
|
-
--magritte-typography-_custom-2-semibold-letter-spacing-v20-1-0:0.005em;
|
|
448
|
-
--magritte-typography-_custom-2-semibold-text-indent-v20-1-0:0px;
|
|
449
|
-
--magritte-typography-_custom-2-semibold-text-transform-v20-1-0:none;
|
|
450
|
-
--magritte-typography-_custom-2-semibold-text-decoration-v20-1-0:none;
|
|
451
|
-
--magritte-typography-_custom-3-semibold-font-family-v20-1-0:"Inter";
|
|
452
|
-
--magritte-typography-_custom-3-semibold-font-weight-v20-1-0:600;
|
|
453
|
-
--magritte-typography-_custom-3-semibold-line-height-v20-1-0:24px;
|
|
454
|
-
--magritte-typography-_custom-3-semibold-font-size-v20-1-0:14px;
|
|
455
|
-
--magritte-typography-_custom-3-semibold-letter-spacing-v20-1-0:0.01em;
|
|
456
|
-
--magritte-typography-_custom-3-semibold-text-indent-v20-1-0:0px;
|
|
457
|
-
--magritte-typography-_custom-3-semibold-text-transform-v20-1-0:none;
|
|
458
|
-
--magritte-typography-_custom-3-semibold-text-decoration-v20-1-0:none;
|
|
459
|
-
--magritte-typography-_custom-4-semibold-font-family-v20-1-0:"Inter";
|
|
460
|
-
--magritte-typography-_custom-4-semibold-font-weight-v20-1-0:400;
|
|
461
|
-
--magritte-typography-_custom-4-semibold-line-height-v20-1-0:22px;
|
|
462
|
-
--magritte-typography-_custom-4-semibold-font-size-v20-1-0:12px;
|
|
463
|
-
--magritte-typography-_custom-4-semibold-letter-spacing-v20-1-0:0.015em;
|
|
464
|
-
--magritte-typography-_custom-4-semibold-text-indent-v20-1-0:0px;
|
|
465
|
-
--magritte-typography-_custom-4-semibold-text-transform-v20-1-0:none;
|
|
466
|
-
--magritte-typography-_custom-4-semibold-text-decoration-v20-1-0:none;
|
|
467
|
-
--magritte-typography-_custom-5-semibold-font-family-v20-1-0:"Inter";
|
|
468
|
-
--magritte-typography-_custom-5-semibold-font-weight-v20-1-0:400;
|
|
469
|
-
--magritte-typography-_custom-5-semibold-line-height-v20-1-0:12px;
|
|
470
|
-
--magritte-typography-_custom-5-semibold-font-size-v20-1-0:10px;
|
|
471
|
-
--magritte-typography-_custom-5-semibold-letter-spacing-v20-1-0:0.015em;
|
|
472
|
-
--magritte-typography-_custom-5-semibold-text-indent-v20-1-0:0px;
|
|
473
|
-
--magritte-typography-_custom-5-semibold-text-transform-v20-1-0:none;
|
|
474
|
-
--magritte-typography-_custom-5-semibold-text-decoration-v20-1-0:none;
|
|
475
|
-
--magritte-typography-_custom-1-medium-font-family-v20-1-0:"Inter";
|
|
476
|
-
--magritte-typography-_custom-1-medium-font-weight-v20-1-0:undefined;
|
|
477
|
-
--magritte-typography-_custom-1-medium-line-height-v20-1-0:28px;
|
|
478
|
-
--magritte-typography-_custom-1-medium-font-size-v20-1-0:18px;
|
|
479
|
-
--magritte-typography-_custom-1-medium-letter-spacing-v20-1-0:0em;
|
|
480
|
-
--magritte-typography-_custom-1-medium-text-indent-v20-1-0:0px;
|
|
481
|
-
--magritte-typography-_custom-1-medium-text-transform-v20-1-0:none;
|
|
482
|
-
--magritte-typography-_custom-1-medium-text-decoration-v20-1-0:none;
|
|
483
|
-
--magritte-typography-_custom-2-medium-font-family-v20-1-0:"Inter";
|
|
484
|
-
--magritte-typography-_custom-2-medium-font-weight-v20-1-0:undefined;
|
|
485
|
-
--magritte-typography-_custom-2-medium-line-height-v20-1-0:26px;
|
|
486
|
-
--magritte-typography-_custom-2-medium-font-size-v20-1-0:16px;
|
|
487
|
-
--magritte-typography-_custom-2-medium-letter-spacing-v20-1-0:0.005em;
|
|
488
|
-
--magritte-typography-_custom-2-medium-text-indent-v20-1-0:0px;
|
|
489
|
-
--magritte-typography-_custom-2-medium-text-transform-v20-1-0:none;
|
|
490
|
-
--magritte-typography-_custom-2-medium-text-decoration-v20-1-0:none;
|
|
491
|
-
--magritte-typography-_custom-3-medium-font-family-v20-1-0:"Inter";
|
|
492
|
-
--magritte-typography-_custom-3-medium-font-weight-v20-1-0:undefined;
|
|
493
|
-
--magritte-typography-_custom-3-medium-line-height-v20-1-0:24px;
|
|
494
|
-
--magritte-typography-_custom-3-medium-font-size-v20-1-0:14px;
|
|
495
|
-
--magritte-typography-_custom-3-medium-letter-spacing-v20-1-0:0.01em;
|
|
496
|
-
--magritte-typography-_custom-3-medium-text-indent-v20-1-0:0px;
|
|
497
|
-
--magritte-typography-_custom-3-medium-text-transform-v20-1-0:none;
|
|
498
|
-
--magritte-typography-_custom-3-medium-text-decoration-v20-1-0:none;
|
|
499
|
-
--magritte-typography-_custom-4-medium-font-family-v20-1-0:"Inter";
|
|
500
|
-
--magritte-typography-_custom-4-medium-font-weight-v20-1-0:undefined;
|
|
501
|
-
--magritte-typography-_custom-4-medium-line-height-v20-1-0:22px;
|
|
502
|
-
--magritte-typography-_custom-4-medium-font-size-v20-1-0:12px;
|
|
503
|
-
--magritte-typography-_custom-4-medium-letter-spacing-v20-1-0:0.015em;
|
|
504
|
-
--magritte-typography-_custom-4-medium-text-indent-v20-1-0:0px;
|
|
505
|
-
--magritte-typography-_custom-4-medium-text-transform-v20-1-0:none;
|
|
506
|
-
--magritte-typography-_custom-4-medium-text-decoration-v20-1-0:none;
|
|
507
|
-
--magritte-typography-_custom-5-medium-font-family-v20-1-0:"Inter";
|
|
508
|
-
--magritte-typography-_custom-5-medium-font-weight-v20-1-0:undefined;
|
|
509
|
-
--magritte-typography-_custom-5-medium-line-height-v20-1-0:12px;
|
|
510
|
-
--magritte-typography-_custom-5-medium-font-size-v20-1-0:10px;
|
|
511
|
-
--magritte-typography-_custom-5-medium-letter-spacing-v20-1-0:0.015em;
|
|
512
|
-
--magritte-typography-_custom-5-medium-text-indent-v20-1-0:0px;
|
|
513
|
-
--magritte-typography-_custom-5-medium-text-transform-v20-1-0:none;
|
|
514
|
-
--magritte-typography-_custom-5-medium-text-decoration-v20-1-0:none;
|
|
515
|
-
--magritte-typography-_custom-1-italic-font-family-v20-1-0:"Inter";
|
|
516
|
-
--magritte-typography-_custom-1-italic-font-weight-v20-1-0:200;
|
|
517
|
-
--magritte-typography-_custom-1-italic-line-height-v20-1-0:28px;
|
|
518
|
-
--magritte-typography-_custom-1-italic-font-size-v20-1-0:18px;
|
|
519
|
-
--magritte-typography-_custom-1-italic-letter-spacing-v20-1-0:0em;
|
|
520
|
-
--magritte-typography-_custom-1-italic-text-indent-v20-1-0:0px;
|
|
521
|
-
--magritte-typography-_custom-1-italic-text-transform-v20-1-0:none;
|
|
522
|
-
--magritte-typography-_custom-1-italic-text-decoration-v20-1-0:none;
|
|
523
|
-
--magritte-typography-_custom-2-italic-font-family-v20-1-0:"Inter";
|
|
524
|
-
--magritte-typography-_custom-2-italic-font-weight-v20-1-0:200;
|
|
525
|
-
--magritte-typography-_custom-2-italic-line-height-v20-1-0:26px;
|
|
526
|
-
--magritte-typography-_custom-2-italic-font-size-v20-1-0:16px;
|
|
527
|
-
--magritte-typography-_custom-2-italic-letter-spacing-v20-1-0:0.005em;
|
|
528
|
-
--magritte-typography-_custom-2-italic-text-indent-v20-1-0:0px;
|
|
529
|
-
--magritte-typography-_custom-2-italic-text-transform-v20-1-0:none;
|
|
530
|
-
--magritte-typography-_custom-2-italic-text-decoration-v20-1-0:none;
|
|
531
|
-
--magritte-typography-_custom-3-italic-font-family-v20-1-0:"Inter";
|
|
532
|
-
--magritte-typography-_custom-3-italic-font-weight-v20-1-0:200;
|
|
533
|
-
--magritte-typography-_custom-3-italic-line-height-v20-1-0:24px;
|
|
534
|
-
--magritte-typography-_custom-3-italic-font-size-v20-1-0:14px;
|
|
535
|
-
--magritte-typography-_custom-3-italic-letter-spacing-v20-1-0:0.01em;
|
|
536
|
-
--magritte-typography-_custom-3-italic-text-indent-v20-1-0:0px;
|
|
537
|
-
--magritte-typography-_custom-3-italic-text-transform-v20-1-0:none;
|
|
538
|
-
--magritte-typography-_custom-3-italic-text-decoration-v20-1-0:none;
|
|
539
|
-
--magritte-typography-_custom-4-italic-font-family-v20-1-0:"Inter";
|
|
540
|
-
--magritte-typography-_custom-4-italic-font-weight-v20-1-0:200;
|
|
541
|
-
--magritte-typography-_custom-4-italic-line-height-v20-1-0:22px;
|
|
542
|
-
--magritte-typography-_custom-4-italic-font-size-v20-1-0:12px;
|
|
543
|
-
--magritte-typography-_custom-4-italic-letter-spacing-v20-1-0:0.015em;
|
|
544
|
-
--magritte-typography-_custom-4-italic-text-indent-v20-1-0:0px;
|
|
545
|
-
--magritte-typography-_custom-4-italic-text-transform-v20-1-0:none;
|
|
546
|
-
--magritte-typography-_custom-4-italic-text-decoration-v20-1-0:none;
|
|
547
|
-
--magritte-typography-_custom-5-italic-font-family-v20-1-0:"Inter";
|
|
548
|
-
--magritte-typography-_custom-5-italic-font-weight-v20-1-0:200;
|
|
549
|
-
--magritte-typography-_custom-5-italic-line-height-v20-1-0:12px;
|
|
550
|
-
--magritte-typography-_custom-5-italic-font-size-v20-1-0:10px;
|
|
551
|
-
--magritte-typography-_custom-5-italic-letter-spacing-v20-1-0:0.015em;
|
|
552
|
-
--magritte-typography-_custom-5-italic-text-indent-v20-1-0:0px;
|
|
553
|
-
--magritte-typography-_custom-5-italic-text-transform-v20-1-0:none;
|
|
554
|
-
--magritte-typography-_custom-5-italic-text-decoration-v20-1-0:none;
|
|
555
|
-
}
|
|
556
|
-
.magritte-drop___Z10P4_7-2-10{
|
|
26
|
+
.magritte-drop___Z10P4_7-2-12{
|
|
557
27
|
position:relative;
|
|
558
28
|
display:flex;
|
|
559
29
|
flex-direction:column;
|
|
560
|
-
background:var(--magritte-color-component-drop-background-content-
|
|
561
|
-
border-radius:var(--magritte-static-border-radius-600-
|
|
562
|
-
box-shadow:var(--magritte-shadow-level-2-x-
|
|
30
|
+
background:var(--magritte-color-component-drop-background-content-v21-0-0);
|
|
31
|
+
border-radius:var(--magritte-static-border-radius-600-v21-0-0);
|
|
32
|
+
box-shadow:var(--magritte-shadow-level-2-x-v21-0-0) var(--magritte-shadow-level-2-y-v21-0-0) var(--magritte-shadow-level-2-blur-v21-0-0) var(--magritte-shadow-level-2-spread-v21-0-0) var(--magritte-shadow-level-2-color-v21-0-0);
|
|
563
33
|
box-sizing:border-box;
|
|
564
34
|
height:100%;
|
|
565
35
|
overflow:hidden;
|
|
566
36
|
}
|
|
567
|
-
.magritte-drop-container___dbMt9_7-2-
|
|
37
|
+
.magritte-drop-container___dbMt9_7-2-12{
|
|
568
38
|
display:block;
|
|
569
39
|
overflow:auto;
|
|
570
40
|
}
|
|
571
|
-
.magritte-divider-container___ZCdDW_7-2-
|
|
41
|
+
.magritte-divider-container___ZCdDW_7-2-12{
|
|
572
42
|
visibility:hidden;
|
|
573
43
|
}
|
|
574
|
-
.magritte-drop-footer___v8ZEO_7-2-
|
|
44
|
+
.magritte-drop-footer___v8ZEO_7-2-12{
|
|
575
45
|
display:flex;
|
|
576
46
|
flex-flow:column;
|
|
577
47
|
gap:12px;
|
|
578
48
|
}
|
|
579
|
-
.magritte-drop-space-300___41acH_7-2-
|
|
580
|
-
.magritte-drop-space-300___41acH_7-2-
|
|
581
|
-
padding:var(--magritte-static-space-300-
|
|
49
|
+
.magritte-drop-space-300___41acH_7-2-12 .magritte-drop-container___dbMt9_7-2-12,
|
|
50
|
+
.magritte-drop-space-300___41acH_7-2-12 .magritte-drop-footer___v8ZEO_7-2-12{
|
|
51
|
+
padding:var(--magritte-static-space-300-v21-0-0);
|
|
582
52
|
}
|
|
583
|
-
.magritte-drop-space-400___XX1RM_7-2-
|
|
584
|
-
.magritte-drop-space-400___XX1RM_7-2-
|
|
585
|
-
.magritte-drop-space-400___XX1RM_7-2-
|
|
586
|
-
padding:var(--magritte-static-space-400-
|
|
53
|
+
.magritte-drop-space-400___XX1RM_7-2-12 .magritte-drop-padding___xBiJO_7-2-12,
|
|
54
|
+
.magritte-drop-space-400___XX1RM_7-2-12 .magritte-drop-container___dbMt9_7-2-12,
|
|
55
|
+
.magritte-drop-space-400___XX1RM_7-2-12 .magritte-drop-footer___v8ZEO_7-2-12{
|
|
56
|
+
padding:var(--magritte-static-space-400-v21-0-0);
|
|
587
57
|
}
|
|
588
|
-
.magritte-drop-space-600___6B1i0_7-2-
|
|
589
|
-
.magritte-drop-space-600___6B1i0_7-2-
|
|
590
|
-
.magritte-drop-space-600___6B1i0_7-2-
|
|
591
|
-
padding:var(--magritte-static-space-600-
|
|
58
|
+
.magritte-drop-space-600___6B1i0_7-2-12 .magritte-drop-padding___xBiJO_7-2-12,
|
|
59
|
+
.magritte-drop-space-600___6B1i0_7-2-12 .magritte-drop-container___dbMt9_7-2-12,
|
|
60
|
+
.magritte-drop-space-600___6B1i0_7-2-12 .magritte-drop-footer___v8ZEO_7-2-12{
|
|
61
|
+
padding:var(--magritte-static-space-600-v21-0-0);
|
|
592
62
|
}
|
|
593
|
-
.magritte-drop-with-footer___CgBIV_7-2-
|
|
63
|
+
.magritte-drop-with-footer___CgBIV_7-2-12 .magritte-drop-container___dbMt9_7-2-12{
|
|
594
64
|
padding-bottom:0;
|
|
595
65
|
}
|
|
596
66
|
@media (prefers-reduced-motion: no-preference){
|
|
597
|
-
.magritte-drop-enter___4vEuH_7-2-
|
|
67
|
+
.magritte-drop-enter___4vEuH_7-2-12 .magritte-drop___Z10P4_7-2-12{
|
|
598
68
|
opacity:0;
|
|
599
69
|
}
|
|
600
|
-
.magritte-drop-exit___brFjz_7-2-
|
|
601
|
-
.magritte-drop-enter-active___SQUog_7-2-
|
|
70
|
+
.magritte-drop-exit___brFjz_7-2-12 .magritte-drop___Z10P4_7-2-12,
|
|
71
|
+
.magritte-drop-enter-active___SQUog_7-2-12 .magritte-drop___Z10P4_7-2-12{
|
|
602
72
|
opacity:1;
|
|
603
73
|
}
|
|
604
|
-
.magritte-drop-exit-active___GB0ET_7-2-
|
|
74
|
+
.magritte-drop-exit-active___GB0ET_7-2-12 .magritte-drop___Z10P4_7-2-12{
|
|
605
75
|
opacity:0;
|
|
606
76
|
}
|
|
607
|
-
.magritte-drop-animation-timeout___uO7LF_7-2-
|
|
608
|
-
.magritte-drop-enter-active___SQUog_7-2-
|
|
77
|
+
.magritte-drop-animation-timeout___uO7LF_7-2-12,
|
|
78
|
+
.magritte-drop-enter-active___SQUog_7-2-12 .magritte-drop___Z10P4_7-2-12{
|
|
609
79
|
transition-property:opacity, transform;
|
|
610
|
-
transition-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-
|
|
611
|
-
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-
|
|
612
|
-
--animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-
|
|
80
|
+
transition-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v21-0-0);
|
|
81
|
+
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v21-0-0);
|
|
82
|
+
--animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v21-0-0);
|
|
613
83
|
}
|
|
614
|
-
.magritte-drop-animation-timeout___uO7LF_7-2-
|
|
615
|
-
.magritte-drop-exit-active___GB0ET_7-2-
|
|
84
|
+
.magritte-drop-animation-timeout___uO7LF_7-2-12,
|
|
85
|
+
.magritte-drop-exit-active___GB0ET_7-2-12 .magritte-drop___Z10P4_7-2-12{
|
|
616
86
|
transition-property:opacity, transform;
|
|
617
|
-
transition-duration:var(--magritte-semantic-animation-ease-in-out-100-duration-
|
|
618
|
-
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-
|
|
87
|
+
transition-duration:var(--magritte-semantic-animation-ease-in-out-100-duration-v21-0-0);
|
|
88
|
+
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v21-0-0);
|
|
619
89
|
}
|
|
620
|
-
.magritte-drop-enter___4vEuH_7-2-
|
|
90
|
+
.magritte-drop-enter___4vEuH_7-2-12[data-magritte-drop-base-direction='top'] .magritte-drop___Z10P4_7-2-12{
|
|
621
91
|
transform:translateY(-4px);
|
|
622
92
|
}
|
|
623
|
-
.magritte-drop-exit-active___GB0ET_7-2-
|
|
93
|
+
.magritte-drop-exit-active___GB0ET_7-2-12[data-magritte-drop-base-direction='top'] .magritte-drop___Z10P4_7-2-12{
|
|
624
94
|
transform:translateY(-4px);
|
|
625
95
|
}
|
|
626
|
-
.magritte-drop-enter___4vEuH_7-2-
|
|
96
|
+
.magritte-drop-enter___4vEuH_7-2-12[data-magritte-drop-base-direction='bottom'] .magritte-drop___Z10P4_7-2-12{
|
|
627
97
|
transform:translateY(4px);
|
|
628
98
|
}
|
|
629
|
-
.magritte-drop-exit-active___GB0ET_7-2-
|
|
99
|
+
.magritte-drop-exit-active___GB0ET_7-2-12[data-magritte-drop-base-direction='bottom'] .magritte-drop___Z10P4_7-2-12{
|
|
630
100
|
transform:translateY(4px);
|
|
631
101
|
}
|
|
632
|
-
.magritte-drop-enter___4vEuH_7-2-
|
|
102
|
+
.magritte-drop-enter___4vEuH_7-2-12[data-magritte-drop-base-direction='left'] .magritte-drop___Z10P4_7-2-12{
|
|
633
103
|
transform:translateX(-4px);
|
|
634
104
|
}
|
|
635
|
-
.magritte-drop-exit-active___GB0ET_7-2-
|
|
105
|
+
.magritte-drop-exit-active___GB0ET_7-2-12[data-magritte-drop-base-direction='left'] .magritte-drop___Z10P4_7-2-12{
|
|
636
106
|
transform:translateX(4px);
|
|
637
107
|
}
|
|
638
|
-
.magritte-drop-enter___4vEuH_7-2-
|
|
108
|
+
.magritte-drop-enter___4vEuH_7-2-12[data-magritte-drop-base-direction='right'] .magritte-drop___Z10P4_7-2-12{
|
|
639
109
|
transform:translateX(4px);
|
|
640
110
|
}
|
|
641
|
-
.magritte-drop-exit-active___GB0ET_7-2-
|
|
111
|
+
.magritte-drop-exit-active___GB0ET_7-2-12[data-magritte-drop-base-direction='right'] .magritte-drop___Z10P4_7-2-12{
|
|
642
112
|
transform:translateX(4px);
|
|
643
113
|
}
|
|
644
|
-
.magritte-drop-exit___brFjz_7-2-
|
|
645
|
-
.magritte-drop-enter-active___SQUog_7-2-
|
|
114
|
+
.magritte-drop-exit___brFjz_7-2-12[data-magritte-drop-base-direction='left'] .magritte-drop___Z10P4_7-2-12,
|
|
115
|
+
.magritte-drop-enter-active___SQUog_7-2-12[data-magritte-drop-base-direction='left'] .magritte-drop___Z10P4_7-2-12{
|
|
646
116
|
transform:translateX(0%);
|
|
647
117
|
}
|
|
648
|
-
.magritte-drop-exit___brFjz_7-2-
|
|
649
|
-
.magritte-drop-enter-active___SQUog_7-2-
|
|
118
|
+
.magritte-drop-exit___brFjz_7-2-12[data-magritte-drop-base-direction='bottom'] .magritte-drop___Z10P4_7-2-12,
|
|
119
|
+
.magritte-drop-enter-active___SQUog_7-2-12[data-magritte-drop-base-direction='bottom'] .magritte-drop___Z10P4_7-2-12{
|
|
650
120
|
transform:translateY(0%);
|
|
651
121
|
}
|
|
652
|
-
.magritte-drop-exit___brFjz_7-2-
|
|
653
|
-
.magritte-drop-enter-active___SQUog_7-2-
|
|
122
|
+
.magritte-drop-exit___brFjz_7-2-12[data-magritte-drop-base-direction='right'] .magritte-drop___Z10P4_7-2-12,
|
|
123
|
+
.magritte-drop-enter-active___SQUog_7-2-12[data-magritte-drop-base-direction='right'] .magritte-drop___Z10P4_7-2-12{
|
|
654
124
|
transform:translateX(0%);
|
|
655
125
|
}
|
|
656
|
-
.magritte-drop-exit___brFjz_7-2-
|
|
657
|
-
.magritte-drop-enter-active___SQUog_7-2-
|
|
126
|
+
.magritte-drop-exit___brFjz_7-2-12[data-magritte-drop-base-direction='top'] .magritte-drop___Z10P4_7-2-12,
|
|
127
|
+
.magritte-drop-enter-active___SQUog_7-2-12[data-magritte-drop-base-direction='top'] .magritte-drop___Z10P4_7-2-12{
|
|
658
128
|
transform:translateY(0%);
|
|
659
129
|
}
|
|
660
130
|
}
|
package/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import 'classnames';
|
|
|
7
7
|
import '@hh.ru/magritte-internal-drop-base';
|
|
8
8
|
import '@hh.ru/magritte-internal-layer-name';
|
|
9
9
|
import '@hh.ru/magritte-ui-breakpoint';
|
|
10
|
-
import './DropContainer-
|
|
10
|
+
import './DropContainer-CfDepPZT.js';
|
|
11
11
|
import '@hh.ru/magritte-common-use-multiple-refs';
|
|
12
12
|
import '@hh.ru/magritte-ui-divider';
|
|
13
13
|
import './PureChildren.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-drop",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.12",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@hh.ru/magritte-common-use-multiple-refs": "1.1.5",
|
|
24
|
-
"@hh.ru/magritte-design-tokens": "
|
|
25
|
-
"@hh.ru/magritte-internal-drop-base": "7.0.
|
|
24
|
+
"@hh.ru/magritte-design-tokens": "21.0.0",
|
|
25
|
+
"@hh.ru/magritte-internal-drop-base": "7.0.11",
|
|
26
26
|
"@hh.ru/magritte-internal-layer-name": "2.2.0",
|
|
27
27
|
"@hh.ru/magritte-ui-breakpoint": "5.0.0",
|
|
28
|
-
"@hh.ru/magritte-ui-divider": "1.1.
|
|
28
|
+
"@hh.ru/magritte-ui-divider": "1.1.40",
|
|
29
29
|
"@hh.ru/magritte-ui-layer": "2.1.2",
|
|
30
|
-
"@hh.ru/magritte-ui-theme-provider": "1.1.
|
|
30
|
+
"@hh.ru/magritte-ui-theme-provider": "1.1.36"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"classnames": "2.3.2",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "63be4e0bc30632fe572103a23a41e0550a561693"
|
|
40
40
|
}
|