@vkontakte/vkui 8.1.2 → 8.1.3
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/dist/components/NavTransitionContext/NavTransitionContext.d.ts +2 -1
- package/dist/components/NavTransitionContext/NavTransitionContext.d.ts.map +1 -1
- package/dist/components/NavTransitionContext/NavTransitionContext.js +8 -4
- package/dist/components/NavTransitionContext/NavTransitionContext.js.map +1 -1
- package/dist/components/OnboardingTooltip/OnboardingTooltip.d.ts.map +1 -1
- package/dist/components/OnboardingTooltip/OnboardingTooltip.js +2 -4
- package/dist/components/OnboardingTooltip/OnboardingTooltip.js.map +1 -1
- package/dist/components/Popper/Popper.d.ts.map +1 -1
- package/dist/components/Popper/Popper.js +6 -3
- package/dist/components/Popper/Popper.js.map +1 -1
- package/dist/components/Root/Root.d.ts.map +1 -1
- package/dist/components/Root/Root.js +29 -32
- package/dist/components/Root/Root.js.map +1 -1
- package/dist/components/View/View.d.ts.map +1 -1
- package/dist/components/View/View.js +50 -53
- package/dist/components/View/View.js.map +1 -1
- package/dist/components/View/ViewInfinite.d.ts.map +1 -1
- package/dist/components/View/ViewInfinite.js +34 -37
- package/dist/components/View/ViewInfinite.js.map +1 -1
- package/dist/cssm/components/NavTransitionContext/NavTransitionContext.js +8 -4
- package/dist/cssm/components/NavTransitionContext/NavTransitionContext.js.map +1 -1
- package/dist/cssm/components/OnboardingTooltip/OnboardingTooltip.js +2 -4
- package/dist/cssm/components/OnboardingTooltip/OnboardingTooltip.js.map +1 -1
- package/dist/cssm/components/Popper/Popper.js +6 -3
- package/dist/cssm/components/Popper/Popper.js.map +1 -1
- package/dist/cssm/components/Root/Root.js +29 -32
- package/dist/cssm/components/Root/Root.js.map +1 -1
- package/dist/cssm/components/View/View.js +50 -53
- package/dist/cssm/components/View/View.js.map +1 -1
- package/dist/cssm/components/View/ViewInfinite.js +34 -37
- package/dist/cssm/components/View/ViewInfinite.js.map +1 -1
- package/dist/cssm/lib/floating/useFloatingWithInteractions/useFloatingWithInteractions.js +4 -4
- package/dist/cssm/lib/floating/useFloatingWithInteractions/useFloatingWithInteractions.js.map +1 -1
- package/dist/lib/floating/useFloatingWithInteractions/useFloatingWithInteractions.d.ts.map +1 -1
- package/dist/lib/floating/useFloatingWithInteractions/useFloatingWithInteractions.js +4 -4
- package/dist/lib/floating/useFloatingWithInteractions/useFloatingWithInteractions.js.map +1 -1
- package/package.json +1 -1
- package/src/components/NavTransitionContext/NavTransitionContext.tsx +5 -1
- package/src/components/OnboardingTooltip/OnboardingTooltip.tsx +2 -5
- package/src/components/Popper/Popper.tsx +7 -4
- package/src/components/Root/Root.tsx +50 -52
- package/src/components/View/View.tsx +83 -89
- package/src/components/View/ViewInfinite.tsx +65 -69
- package/src/lib/floating/useFloatingWithInteractions/useFloatingWithInteractions.ts +4 -5
- package/dist/cssm/lib/floating/LockFloatingPosition/LockFloatingPosition.js +0 -6
- package/dist/cssm/lib/floating/LockFloatingPosition/LockFloatingPosition.js.map +0 -1
- package/dist/lib/floating/LockFloatingPosition/LockFloatingPosition.d.ts +0 -6
- package/dist/lib/floating/LockFloatingPosition/LockFloatingPosition.d.ts.map +0 -1
- package/dist/lib/floating/LockFloatingPosition/LockFloatingPosition.js +0 -6
- package/dist/lib/floating/LockFloatingPosition/LockFloatingPosition.js.map +0 -1
- package/src/lib/floating/LockFloatingPosition/LockFloatingPosition.tsx +0 -6
|
@@ -5,7 +5,6 @@ import { classNames } from '@vkontakte/vkjs';
|
|
|
5
5
|
import { usePlatform } from '../../hooks/usePlatform';
|
|
6
6
|
import { millisecondsInSecond } from '../../lib/date';
|
|
7
7
|
import { blurActiveElement, useDOM } from '../../lib/dom';
|
|
8
|
-
import { LockFloatingPositionContext } from '../../lib/floating/LockFloatingPosition/LockFloatingPosition';
|
|
9
8
|
import { getNavId, type NavIdProps } from '../../lib/getNavId';
|
|
10
9
|
import { warnOnce } from '../../lib/warnOnce';
|
|
11
10
|
import type { HTMLAttributesWithRootRef } from '../../types';
|
|
@@ -457,96 +456,91 @@ export const View = ({
|
|
|
457
456
|
|
|
458
457
|
return (
|
|
459
458
|
<NavViewIdContext.Provider value={id}>
|
|
460
|
-
<
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
const marginTop = scrolls.get(panelId);
|
|
500
|
-
if (marginTop !== undefined) {
|
|
501
|
-
scrollCompensateStyle = { marginTop: -1 * marginTop };
|
|
502
|
-
}
|
|
459
|
+
<Touch
|
|
460
|
+
Component="section"
|
|
461
|
+
{...restProps}
|
|
462
|
+
className={classNames(
|
|
463
|
+
styles.host,
|
|
464
|
+
platform === 'ios' && classNames(styles.ios, 'vkuiInternalView--ios'),
|
|
465
|
+
!disableAnimation && animated && styles.animated,
|
|
466
|
+
!disableAnimation && swipingBack && styles.swipingBack,
|
|
467
|
+
disableAnimation && styles.noMotion,
|
|
468
|
+
className,
|
|
469
|
+
)}
|
|
470
|
+
onMoveX={
|
|
471
|
+
iOSSwipeBackSimulationEnabled
|
|
472
|
+
? handleTouchMoveXForIOSSwipeBackSimulation
|
|
473
|
+
: platform === 'ios'
|
|
474
|
+
? handleTouchMoveXForNativeIOSSwipeBackOrSwipeNext
|
|
475
|
+
: undefined
|
|
476
|
+
}
|
|
477
|
+
onEnd={iOSSwipeBackSimulationEnabled ? handleTouchEndForIOSSwipeBackSimulation : undefined}
|
|
478
|
+
>
|
|
479
|
+
<div className={styles.panels}>
|
|
480
|
+
{panels.map((panel) => {
|
|
481
|
+
const panelId = getNavId(panel.props, warn);
|
|
482
|
+
|
|
483
|
+
const isPanelActive = panelId === activePanel;
|
|
484
|
+
const isPanelPrev = panelId === prevPanel;
|
|
485
|
+
const isPanelNext = panelId === nextPanel;
|
|
486
|
+
const isAnimatedTarget = animated && (isBack ? isPanelPrev : isPanelNext);
|
|
487
|
+
|
|
488
|
+
const isSwipeBackPrev = panelId === swipeBackPrevPanel;
|
|
489
|
+
const isSwipeBackNext = panelId === swipeBackNextPanel;
|
|
490
|
+
const isSwipeBackTarget = swipeBackResult && isSwipeBackPrev;
|
|
491
|
+
|
|
492
|
+
let scrollCompensateStyle: React.CSSProperties | undefined = undefined;
|
|
493
|
+
|
|
494
|
+
if (isPanelPrev || (isPanelNext && isBack) || isSwipeBackPrev || isSwipeBackNext) {
|
|
495
|
+
const marginTop = scrolls.get(panelId);
|
|
496
|
+
if (marginTop !== undefined) {
|
|
497
|
+
scrollCompensateStyle = { marginTop: -1 * marginTop };
|
|
503
498
|
}
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
<
|
|
536
|
-
<
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
</div>
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
return (
|
|
502
|
+
<div
|
|
503
|
+
className={classNames(
|
|
504
|
+
styles.panel,
|
|
505
|
+
|
|
506
|
+
isPanelActive && styles.panelActive,
|
|
507
|
+
isPanelPrev && styles.panelPrev,
|
|
508
|
+
isPanelNext && styles.panelNext,
|
|
509
|
+
|
|
510
|
+
isSwipeBackPrev && styles.panelSwipeBackPrev,
|
|
511
|
+
isSwipeBackNext && styles.panelSwipeBackNext,
|
|
512
|
+
swipeBackResult === 'success' && styles.panelSwipeBackSuccess,
|
|
513
|
+
swipeBackResult === 'fail' && styles.panelSwipeBackFailed,
|
|
514
|
+
)}
|
|
515
|
+
onTransitionEnd={isSwipeBackTarget ? handleSwipeBackTargetTransitionEnd : undefined}
|
|
516
|
+
onAnimationEnd={isAnimatedTarget ? handleAnimatedTargetAnimationEnd : undefined}
|
|
517
|
+
ref={(el) => {
|
|
518
|
+
panelId !== undefined && (panelNodes.current[panelId] = el);
|
|
519
|
+
}}
|
|
520
|
+
style={calcPanelSwipeStyles(isSwipeBackPrev, isSwipeBackNext)}
|
|
521
|
+
key={panelId}
|
|
522
|
+
>
|
|
523
|
+
{platform === 'ios' && (
|
|
524
|
+
<div
|
|
525
|
+
className={styles.panelOverlay}
|
|
526
|
+
style={calcPanelSwipeBackOverlayStyles(isSwipeBackNext)}
|
|
527
|
+
/>
|
|
528
|
+
)}
|
|
529
|
+
<div className={styles.panelIn} style={scrollCompensateStyle}>
|
|
530
|
+
<NavTransitionDirectionProvider isBack={swipingBack || isBack}>
|
|
531
|
+
<NavTransitionProvider
|
|
532
|
+
entering={panelId === nextPanel || panelId === swipeBackNextPanel}
|
|
533
|
+
animating={swipingBack || animated}
|
|
534
|
+
>
|
|
535
|
+
{panel}
|
|
536
|
+
</NavTransitionProvider>
|
|
537
|
+
</NavTransitionDirectionProvider>
|
|
544
538
|
</div>
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
</
|
|
549
|
-
</
|
|
539
|
+
</div>
|
|
540
|
+
);
|
|
541
|
+
})}
|
|
542
|
+
</div>
|
|
543
|
+
</Touch>
|
|
550
544
|
</NavViewIdContext.Provider>
|
|
551
545
|
);
|
|
552
546
|
};
|
|
@@ -6,7 +6,6 @@ import { withContext } from '../../hoc/withContext';
|
|
|
6
6
|
import { withPlatform } from '../../hoc/withPlatform';
|
|
7
7
|
import { millisecondsInSecond } from '../../lib/date';
|
|
8
8
|
import { canUseDOM, type DOMProps, withDOM } from '../../lib/dom';
|
|
9
|
-
import { LockFloatingPositionContext } from '../../lib/floating/LockFloatingPosition/LockFloatingPosition';
|
|
10
9
|
import { getNavId, type NavIdProps } from '../../lib/getNavId';
|
|
11
10
|
import { warnOnce } from '../../lib/warnOnce';
|
|
12
11
|
import type { HasPlatform, HTMLAttributesWithRootRef } from '../../types';
|
|
@@ -601,78 +600,75 @@ class ViewInfiniteComponent extends React.Component<
|
|
|
601
600
|
|
|
602
601
|
return (
|
|
603
602
|
<NavViewIdContext.Provider value={id || nav}>
|
|
604
|
-
<
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
? this.handleTouchMoveXForNativeIOSSwipeBackOrSwipeNext
|
|
621
|
-
: undefined
|
|
622
|
-
}
|
|
623
|
-
onEnd={
|
|
624
|
-
iOSSwipeBackSimulationEnabled
|
|
625
|
-
? this.handleTouchEndForIOSSwipeBackSimulation
|
|
603
|
+
<Touch
|
|
604
|
+
Component="section"
|
|
605
|
+
{...restProps}
|
|
606
|
+
className={classNames(
|
|
607
|
+
styles.host,
|
|
608
|
+
platform === 'ios' && classNames(styles.ios, 'vkuiInternalView--ios'),
|
|
609
|
+
!disableAnimation && this.state.animated && styles.animated,
|
|
610
|
+
!disableAnimation && this.state.swipingBack && styles.swipingBack,
|
|
611
|
+
disableAnimation && styles.noMotion,
|
|
612
|
+
className,
|
|
613
|
+
)}
|
|
614
|
+
onMoveX={
|
|
615
|
+
iOSSwipeBackSimulationEnabled
|
|
616
|
+
? this.handleTouchMoveXForIOSSwipeBackSimulation
|
|
617
|
+
: platform === 'ios'
|
|
618
|
+
? this.handleTouchMoveXForNativeIOSSwipeBackOrSwipeNext
|
|
626
619
|
: undefined
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
620
|
+
}
|
|
621
|
+
onEnd={
|
|
622
|
+
iOSSwipeBackSimulationEnabled ? this.handleTouchEndForIOSSwipeBackSimulation : undefined
|
|
623
|
+
}
|
|
624
|
+
>
|
|
625
|
+
<div className={styles.panels}>
|
|
626
|
+
{panels.map((panel) => {
|
|
627
|
+
const panelId = getNavId(panel.props, warn);
|
|
628
|
+
const isPrev = panelId === prevPanel || panelId === swipeBackPrevPanel;
|
|
629
|
+
const compensateScroll =
|
|
630
|
+
isPrev || panelId === swipeBackNextPanel || (panelId === nextPanel && isBack);
|
|
631
|
+
const isTransitionTarget = animated && panelId === (isBack ? prevPanel : nextPanel);
|
|
632
|
+
const scrollList = (panelId && this.scrolls.get(panelId)) || [];
|
|
633
|
+
const scroll = scrollList[scrollList.length - 1] || 0;
|
|
634
|
+
|
|
635
|
+
return (
|
|
636
|
+
<div
|
|
637
|
+
className={classNames(
|
|
638
|
+
styles.panel,
|
|
639
|
+
panelId === activePanel && styles.panelActive,
|
|
640
|
+
panelId === prevPanel && styles.panelPrev,
|
|
641
|
+
panelId === nextPanel && styles.panelNext,
|
|
642
|
+
panelId === swipeBackPrevPanel && styles.panelSwipeBackPrev,
|
|
643
|
+
panelId === swipeBackNextPanel && styles.panelSwipeBackNext,
|
|
644
|
+
swipeBackResult === 'success' && styles.panelSwipeBackSuccess,
|
|
645
|
+
swipeBackResult === 'fail' && styles.panelSwipeBackFailed,
|
|
646
|
+
)}
|
|
647
|
+
onAnimationEnd={isTransitionTarget ? this.transitionEndHandler : undefined}
|
|
648
|
+
ref={(el) => {
|
|
649
|
+
panelId !== undefined && (this.panelNodes[panelId] = el);
|
|
650
|
+
}}
|
|
651
|
+
style={this.calcPanelSwipeStyles(panelId)}
|
|
652
|
+
key={panelId}
|
|
653
|
+
>
|
|
640
654
|
<div
|
|
641
|
-
className={
|
|
642
|
-
|
|
643
|
-
panelId === activePanel && styles.panelActive,
|
|
644
|
-
panelId === prevPanel && styles.panelPrev,
|
|
645
|
-
panelId === nextPanel && styles.panelNext,
|
|
646
|
-
panelId === swipeBackPrevPanel && styles.panelSwipeBackPrev,
|
|
647
|
-
panelId === swipeBackNextPanel && styles.panelSwipeBackNext,
|
|
648
|
-
swipeBackResult === 'success' && styles.panelSwipeBackSuccess,
|
|
649
|
-
swipeBackResult === 'fail' && styles.panelSwipeBackFailed,
|
|
650
|
-
)}
|
|
651
|
-
onAnimationEnd={isTransitionTarget ? this.transitionEndHandler : undefined}
|
|
652
|
-
ref={(el) => {
|
|
653
|
-
panelId !== undefined && (this.panelNodes[panelId] = el);
|
|
654
|
-
}}
|
|
655
|
-
style={this.calcPanelSwipeStyles(panelId)}
|
|
656
|
-
key={panelId}
|
|
655
|
+
className={styles.panelIn}
|
|
656
|
+
style={{ marginTop: compensateScroll ? -scroll : undefined }}
|
|
657
657
|
>
|
|
658
|
-
<
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
{panel}
|
|
667
|
-
</NavTransitionProvider>
|
|
668
|
-
</NavTransitionDirectionProvider>
|
|
669
|
-
</div>
|
|
658
|
+
<NavTransitionDirectionProvider isBack={swipingBack || isBack}>
|
|
659
|
+
<NavTransitionProvider
|
|
660
|
+
entering={panelId === nextPanel || panelId === swipeBackNextPanel}
|
|
661
|
+
animating={swipingBack || animated}
|
|
662
|
+
>
|
|
663
|
+
{panel}
|
|
664
|
+
</NavTransitionProvider>
|
|
665
|
+
</NavTransitionDirectionProvider>
|
|
670
666
|
</div>
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
</
|
|
675
|
-
</
|
|
667
|
+
</div>
|
|
668
|
+
);
|
|
669
|
+
})}
|
|
670
|
+
</div>
|
|
671
|
+
</Touch>
|
|
676
672
|
</NavViewIdContext.Provider>
|
|
677
673
|
);
|
|
678
674
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { debounce, noop } from '@vkontakte/vkjs';
|
|
3
3
|
import { getWindow, isHTMLElement } from '@vkontakte/vkui-floating-ui/utils/dom';
|
|
4
|
+
import { useNavTransition } from '../../../components/NavTransitionContext/NavTransitionContext';
|
|
4
5
|
import { useCustomEnsuredControl } from '../../../hooks/useEnsuredControl';
|
|
5
6
|
import { useGlobalOnClickOutside } from '../../../hooks/useGlobalOnClickOutside';
|
|
6
7
|
import { useStableCallback } from '../../../hooks/useStableCallback';
|
|
7
8
|
import { contains, getActiveElementByAnotherElement } from '../../dom';
|
|
8
9
|
import { useIsomorphicLayoutEffect } from '../../useIsomorphicLayoutEffect';
|
|
9
|
-
import { LockFloatingPositionContext } from '../LockFloatingPosition/LockFloatingPosition';
|
|
10
10
|
import { autoUpdateFloatingElement, useFloating } from '../adapters';
|
|
11
11
|
import { convertFloatingDataToReactCSSProperties } from '../functions';
|
|
12
12
|
import type { UseFloatingOptions } from '../types/common';
|
|
@@ -57,6 +57,7 @@ export const useFloatingWithInteractions = <T extends HTMLElement = HTMLElement>
|
|
|
57
57
|
() => (shownProp !== undefined ? { shown: shownProp } : undefined),
|
|
58
58
|
[shownProp],
|
|
59
59
|
);
|
|
60
|
+
const { entering, animating } = useNavTransition();
|
|
60
61
|
const [shownLocalState, setShownLocalState] = useCustomEnsuredControl<LocalState>({
|
|
61
62
|
value: memoizedValue,
|
|
62
63
|
disabled,
|
|
@@ -84,14 +85,12 @@ export const useFloatingWithInteractions = <T extends HTMLElement = HTMLElement>
|
|
|
84
85
|
|
|
85
86
|
const { triggerOnFocus, triggerOnClick, triggerOnHover } = useResolveTriggerType(trigger);
|
|
86
87
|
|
|
87
|
-
const isLock = React.useContext(LockFloatingPositionContext);
|
|
88
|
-
|
|
89
88
|
// Библиотека `floating-ui`
|
|
90
89
|
const { placement, x, y, strategy, refs, middlewareData } = useFloating<T>({
|
|
91
90
|
strategy: strategyProp,
|
|
92
91
|
placement: placementProp,
|
|
93
92
|
...(middlewares !== undefined ? { middleware: middlewares } : {}),
|
|
94
|
-
...(!
|
|
93
|
+
...(!animating && { whileElementsMounted }),
|
|
95
94
|
});
|
|
96
95
|
|
|
97
96
|
const commitShownLocalState = React.useCallback(
|
|
@@ -376,7 +375,7 @@ export const useFloatingWithInteractions = <T extends HTMLElement = HTMLElement>
|
|
|
376
375
|
|
|
377
376
|
return {
|
|
378
377
|
placement,
|
|
379
|
-
shown: shownFinalState,
|
|
378
|
+
shown: shownFinalState && !entering,
|
|
380
379
|
willBeHide,
|
|
381
380
|
refs,
|
|
382
381
|
referenceProps,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/lib/floating/LockFloatingPosition/LockFloatingPosition.tsx"],"sourcesContent":["import * as React from 'react';\n\n/**\n * @see https://github.com/VKCOM/VKUI/pull/9603\n */\nexport const LockFloatingPositionContext = React.createContext(false);\n"],"names":["React","LockFloatingPositionContext","createContext"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAE/B;;CAEC,GACD,OAAO,MAAMC,4CAA8BD,MAAME,aAAa,CAAC,OAAO"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LockFloatingPosition.d.ts","sourceRoot":"","sources":["../../../../src/lib/floating/LockFloatingPosition/LockFloatingPosition.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,2BAA2B,wBAA6B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/floating/LockFloatingPosition/LockFloatingPosition.tsx"],"sourcesContent":["import * as React from 'react';\n\n/**\n * @see https://github.com/VKCOM/VKUI/pull/9603\n */\nexport const LockFloatingPositionContext = React.createContext(false);\n"],"names":["React","LockFloatingPositionContext","createContext"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAE/B;;CAEC,GACD,OAAO,MAAMC,4CAA8BD,MAAME,aAAa,CAAC,OAAO"}
|