@alfalab/core-components 45.8.0-beta.0 → 45.8.0-beta.1
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/bottom-sheet/component.js +22 -12
- package/bottom-sheet/consts/swipeConsts.d.ts +2 -0
- package/bottom-sheet/consts/swipeConsts.js +7 -0
- package/bottom-sheet/cssm/component.js +22 -12
- package/bottom-sheet/cssm/consts/swipeConsts.d.ts +2 -0
- package/bottom-sheet/cssm/consts/swipeConsts.js +7 -0
- package/bottom-sheet/cssm/enums/swipeEnums.d.ts +7 -0
- package/bottom-sheet/cssm/enums/swipeEnums.js +9 -0
- package/bottom-sheet/cssm/types/swipeTypes.d.ts +9 -0
- package/bottom-sheet/cssm/types/swipeTypes.js +1 -0
- package/bottom-sheet/enums/swipeEnums.d.ts +7 -0
- package/bottom-sheet/enums/swipeEnums.js +9 -0
- package/bottom-sheet/esm/component.js +23 -12
- package/bottom-sheet/esm/consts/swipeConsts.d.ts +2 -0
- package/bottom-sheet/esm/consts/swipeConsts.js +5 -0
- package/bottom-sheet/esm/enums/swipeEnums.d.ts +7 -0
- package/bottom-sheet/esm/enums/swipeEnums.js +9 -0
- package/bottom-sheet/esm/index.js +2 -0
- package/bottom-sheet/esm/types/swipeTypes.d.ts +9 -0
- package/bottom-sheet/esm/types/swipeTypes.js +1 -0
- package/bottom-sheet/modern/component.js +23 -9
- package/bottom-sheet/modern/consts/swipeConsts.d.ts +2 -0
- package/bottom-sheet/modern/consts/swipeConsts.js +5 -0
- package/bottom-sheet/modern/enums/swipeEnums.d.ts +7 -0
- package/bottom-sheet/modern/enums/swipeEnums.js +9 -0
- package/bottom-sheet/modern/index.js +2 -0
- package/bottom-sheet/modern/types/swipeTypes.d.ts +9 -0
- package/bottom-sheet/modern/types/swipeTypes.js +1 -0
- package/bottom-sheet/types/swipeTypes.d.ts +9 -0
- package/bottom-sheet/types/swipeTypes.js +1 -0
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/component.responsive.js +1 -1
- package/confirmation/esm/components/base-confirmation/component.js +1 -1
- package/confirmation/esm/components/base-confirmation/index.js +1 -1
- package/confirmation/esm/components/index.js +1 -1
- package/confirmation/esm/components/screens/index.js +1 -1
- package/confirmation/esm/components/screens/initial/component.js +1 -1
- package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/components/screens/initial/index.js +1 -1
- package/confirmation/esm/desktop/component.desktop.js +1 -1
- package/confirmation/esm/desktop/index.js +1 -1
- package/confirmation/esm/index.js +1 -1
- package/confirmation/esm/mobile/component.mobile.js +1 -1
- package/confirmation/esm/mobile/index.js +1 -1
- package/confirmation/esm/shared/index.js +1 -1
- package/confirmation/modern/component.responsive.js +1 -1
- package/confirmation/modern/components/base-confirmation/component.js +1 -1
- package/confirmation/modern/components/base-confirmation/index.js +1 -1
- package/confirmation/modern/components/index.js +1 -1
- package/confirmation/modern/components/screens/index.js +1 -1
- package/confirmation/modern/components/screens/initial/component.js +1 -1
- package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/modern/components/screens/initial/index.js +1 -1
- package/confirmation/modern/desktop/component.desktop.js +1 -1
- package/confirmation/modern/desktop/index.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile/component.mobile.js +1 -1
- package/confirmation/modern/mobile/index.js +1 -1
- package/confirmation/modern/shared/index.js +1 -1
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/esm/Component.js +2 -2
- package/gallery/esm/components/header/Component.js +1 -1
- package/gallery/esm/components/header/buttons.js +1 -1
- package/gallery/esm/components/header/index.js +1 -1
- package/gallery/esm/components/image-preview/Component.js +1 -1
- package/gallery/esm/components/image-preview/index.js +1 -1
- package/gallery/esm/components/image-viewer/component.js +1 -1
- package/gallery/esm/components/image-viewer/index.js +1 -1
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/components/navigation-bar/Component.js +1 -1
- package/gallery/esm/components/navigation-bar/index.js +1 -1
- package/gallery/esm/index.js +2 -2
- package/gallery/modern/Component.js +2 -2
- package/gallery/modern/components/header/Component.js +1 -1
- package/gallery/modern/components/header/buttons.js +1 -1
- package/gallery/modern/components/header/index.js +1 -1
- package/gallery/modern/components/image-preview/Component.js +1 -1
- package/gallery/modern/components/image-preview/index.js +1 -1
- package/gallery/modern/components/image-viewer/component.js +1 -1
- package/gallery/modern/components/image-viewer/index.js +1 -1
- package/gallery/modern/components/image-viewer/slide.js +1 -1
- package/gallery/modern/components/index.js +2 -2
- package/gallery/modern/components/navigation-bar/Component.js +1 -1
- package/gallery/modern/components/navigation-bar/index.js +1 -1
- package/gallery/modern/index.js +2 -2
- package/international-phone-input/cssm/typings-57569e57.d.ts +18 -2
- package/international-phone-input/esm/typings-57569e57.d.ts +18 -2
- package/international-phone-input/modern/typings-57569e57.d.ts +18 -2
- package/international-phone-input/typings-57569e57.d.ts +18 -2
- package/modal/components/controls/Component.js +1 -1
- package/modal/components/footer/Component.js +1 -1
- package/modal/esm/Component.responsive.js +1 -1
- package/modal/esm/components/controls/Component.js +1 -1
- package/modal/esm/components/controls/index.js +1 -1
- package/modal/esm/components/footer/Component.js +1 -1
- package/modal/esm/desktop/Component.desktop.js +1 -1
- package/modal/esm/desktop/index.js +1 -1
- package/modal/esm/index.js +1 -1
- package/modal/esm/mobile/Component.mobile.js +1 -1
- package/modal/esm/mobile/index.js +1 -1
- package/modal/modern/Component.responsive.js +1 -1
- package/modal/modern/components/controls/Component.js +1 -1
- package/modal/modern/components/controls/index.js +1 -1
- package/modal/modern/components/footer/Component.js +1 -1
- package/modal/modern/desktop/Component.desktop.js +1 -1
- package/modal/modern/desktop/index.js +1 -1
- package/modal/modern/index.js +1 -1
- package/modal/modern/mobile/Component.mobile.js +1 -1
- package/modal/modern/mobile/index.js +1 -1
- package/package.json +1 -1
- package/picker-button/cssm/typings-57569e57.d.ts +18 -2
- package/picker-button/esm/typings-57569e57.d.ts +18 -2
- package/picker-button/modern/typings-57569e57.d.ts +18 -2
- package/picker-button/typings-57569e57.d.ts +18 -2
- package/select/esm/Component.responsive.js +1 -1
- package/select/esm/index.js +1 -1
- package/select/esm/mobile/Component.mobile.js +1 -1
- package/select/esm/mobile/Component.modal.mobile.js +1 -1
- package/select/esm/mobile/index.js +1 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/esm/shared/index.js +1 -1
- package/select/mobile/Component.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/index.js +1 -1
- package/select/modern/mobile/Component.mobile.js +1 -1
- package/select/modern/mobile/Component.modal.mobile.js +1 -1
- package/select/modern/mobile/index.js +1 -1
- package/select/modern/presets/index.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/modern/shared/index.js +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared/index.js +1 -1
- package/side-panel/components/controls/Component.js +1 -1
- package/side-panel/components/footer/Component.js +1 -1
- package/side-panel/esm/Component.responsive.js +1 -1
- package/side-panel/esm/components/controls/Component.js +1 -1
- package/side-panel/esm/components/controls/index.js +1 -1
- package/side-panel/esm/components/footer/Component.desktop.js +1 -1
- package/side-panel/esm/components/footer/Component.js +1 -1
- package/side-panel/esm/components/footer/Component.mobile.js +1 -1
- package/side-panel/esm/desktop/Component.desktop.js +1 -1
- package/side-panel/esm/desktop/index.js +1 -1
- package/side-panel/esm/index.js +1 -1
- package/side-panel/esm/mobile/Component.mobile.js +1 -1
- package/side-panel/esm/mobile/index.js +1 -1
- package/side-panel/modern/Component.responsive.js +1 -1
- package/side-panel/modern/components/controls/Component.js +1 -1
- package/side-panel/modern/components/controls/index.js +1 -1
- package/side-panel/modern/components/footer/Component.desktop.js +1 -1
- package/side-panel/modern/components/footer/Component.js +1 -1
- package/side-panel/modern/components/footer/Component.mobile.js +1 -1
- package/side-panel/modern/desktop/Component.desktop.js +1 -1
- package/side-panel/modern/desktop/index.js +1 -1
- package/side-panel/modern/index.js +1 -1
- package/side-panel/modern/mobile/Component.mobile.js +1 -1
- package/side-panel/modern/mobile/index.js +1 -1
- package/themes/click.css +1515 -0
- package/themes/compiled/mobile-dark-bluetint.css +65 -204
- package/themes/corp.css +1515 -0
- package/themes/intranet.css +1515 -0
- package/themes/mobile.css +1515 -0
- package/themes/site.css +1515 -0
- /package/confirmation/{countdown-section-ea52770e.d.ts → countdown-section-b30d5212.d.ts} +0 -0
- /package/confirmation/{countdown-section-ea52770e.js → countdown-section-b30d5212.js} +0 -0
- /package/confirmation/esm/{countdown-section-95b6b929.d.ts → countdown-section-c4f73a77.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-95b6b929.js → countdown-section-c4f73a77.js} +0 -0
- /package/confirmation/modern/{countdown-section-bfef8483.d.ts → countdown-section-f3215ad8.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-bfef8483.js → countdown-section-f3215ad8.js} +0 -0
- /package/gallery/{buttons-c863bfdb.d.ts → buttons-01e8353f.d.ts} +0 -0
- /package/gallery/{buttons-c863bfdb.js → buttons-01e8353f.js} +0 -0
- /package/gallery/esm/{buttons-7955bd19.d.ts → buttons-85c1b9a3.d.ts} +0 -0
- /package/gallery/esm/{buttons-7955bd19.js → buttons-85c1b9a3.js} +0 -0
- /package/gallery/esm/{slide-ccf09eda.d.ts → slide-530dfb83.d.ts} +0 -0
- /package/gallery/esm/{slide-ccf09eda.js → slide-530dfb83.js} +0 -0
- /package/gallery/modern/{buttons-a7c365d3.d.ts → buttons-5f86c790.d.ts} +0 -0
- /package/gallery/modern/{buttons-a7c365d3.js → buttons-5f86c790.js} +0 -0
- /package/gallery/modern/{slide-8098a08f.d.ts → slide-afec4d99.d.ts} +0 -0
- /package/gallery/modern/{slide-8098a08f.js → slide-afec4d99.js} +0 -0
- /package/gallery/{slide-11daaf82.d.ts → slide-18998644.d.ts} +0 -0
- /package/gallery/{slide-11daaf82.js → slide-18998644.js} +0 -0
- /package/modal/esm/{layout.module-b635b128.js → layout.module-1b8afca9.js} +0 -0
- /package/modal/{layout.module-34149103.js → layout.module-3eb92921.js} +0 -0
- /package/modal/modern/{layout.module-41e8947b.js → layout.module-13b15398.js} +0 -0
- /package/select/esm/{hook-c0758dcd.d.ts → hook-aa7d4c07.d.ts} +0 -0
- /package/select/esm/{hook-c0758dcd.js → hook-aa7d4c07.js} +0 -0
- /package/select/{hook-10a14b43.d.ts → hook-f0adfa6b.d.ts} +0 -0
- /package/select/{hook-10a14b43.js → hook-f0adfa6b.js} +0 -0
- /package/select/modern/{hook-5ccdb908.d.ts → hook-d72e58c4.d.ts} +0 -0
- /package/select/modern/{hook-5ccdb908.js → hook-d72e58c4.js} +0 -0
- /package/side-panel/esm/{layout.module-82f2a2ed.js → layout.module-d6ca40a5.js} +0 -0
- /package/side-panel/{layout.module-cda730eb.js → layout.module-85234bb1.js} +0 -0
- /package/side-panel/modern/{layout.module-2b3f98d0.js → layout.module-9f8549ee.js} +0 -0
|
@@ -8,7 +8,7 @@ import { BaseModalProps, BaseModalContext } from "./index-bdb4c6b9";
|
|
|
8
8
|
import { BaseFormControlProps, BackdropProps } from "./index-ebda875c";
|
|
9
9
|
import { CSSTransitionProps } from "react-transition-group/CSSTransition";
|
|
10
10
|
import { BasePlacement, VariationPlacement } from "@popperjs/core";
|
|
11
|
-
import { SwipeableHandlers } from "react-swipeable";
|
|
11
|
+
import { SwipeableHandlers, SwipeDirections } from "react-swipeable";
|
|
12
12
|
import { TextElementType, TextSkeletonProps } from "./types-1328ead9";
|
|
13
13
|
import { ButtonProps } from "./index-6d57839f";
|
|
14
14
|
import { ContentProps } from "./typings-88b743b5";
|
|
@@ -672,6 +672,16 @@ type SwipeableBackdropProps = BackdropProps & {
|
|
|
672
672
|
opacityTimeout?: number;
|
|
673
673
|
};
|
|
674
674
|
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
675
|
+
declare const horizontalDirections: [
|
|
676
|
+
string,
|
|
677
|
+
string
|
|
678
|
+
];
|
|
679
|
+
type ShouldSkipSwipingParams = {
|
|
680
|
+
deltaY: number;
|
|
681
|
+
startY: number;
|
|
682
|
+
event: HandledEvents;
|
|
683
|
+
dir: SwipeDirections;
|
|
684
|
+
};
|
|
675
685
|
declare const colors: readonly [
|
|
676
686
|
"tertiary",
|
|
677
687
|
"disabled",
|
|
@@ -885,6 +895,12 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
885
895
|
dataTestId?: string | undefined;
|
|
886
896
|
colors?: "default" | "inverted" | undefined;
|
|
887
897
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "breakpoint" | "href" | "Component" | "loading"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
898
|
+
declare enum SwipeDirection {
|
|
899
|
+
Left = "Left",
|
|
900
|
+
Right = "Right",
|
|
901
|
+
Up = "Up",
|
|
902
|
+
Down = "Down"
|
|
903
|
+
}
|
|
888
904
|
declare const Content: FC<ContentProps>;
|
|
889
905
|
type UseSelectWithApplyProps = {
|
|
890
906
|
/**
|
|
@@ -1586,7 +1602,7 @@ type SelectProps = BaseSelectProps & AdditionalMobileProps & ConditionalMobilePr
|
|
|
1586
1602
|
*/
|
|
1587
1603
|
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
1588
1604
|
};
|
|
1589
|
-
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, Typography, typographyPresets, TitleResponsive, getDefaultWeight, IconButtonProps, IconButton, Content, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1605
|
+
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, horizontalDirections, ShouldSkipSwipingParams, Typography, typographyPresets, TitleResponsive, getDefaultWeight, IconButtonProps, IconButton, SwipeDirection, Content, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1590
1606
|
export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps, TitleProps, TextProps, Color };
|
|
1591
1607
|
export { ModalResponsiveProps as ModalProps } from "./typings-88b743b5";
|
|
1592
1608
|
export type { ContentProps as ModalContentProps } from "./typings-88b743b5";
|
|
@@ -8,7 +8,7 @@ import { BaseModalProps, BaseModalContext } from "./index-bdb4c6b9";
|
|
|
8
8
|
import { BaseFormControlProps, BackdropProps } from "./index-ebda875c";
|
|
9
9
|
import { CSSTransitionProps } from "react-transition-group/CSSTransition";
|
|
10
10
|
import { BasePlacement, VariationPlacement } from "@popperjs/core";
|
|
11
|
-
import { SwipeableHandlers } from "react-swipeable";
|
|
11
|
+
import { SwipeableHandlers, SwipeDirections } from "react-swipeable";
|
|
12
12
|
import { TextElementType, TextSkeletonProps } from "./types-1328ead9";
|
|
13
13
|
import { ButtonProps } from "./index-6d57839f";
|
|
14
14
|
import { ContentProps } from "./typings-88b743b5";
|
|
@@ -672,6 +672,16 @@ type SwipeableBackdropProps = BackdropProps & {
|
|
|
672
672
|
opacityTimeout?: number;
|
|
673
673
|
};
|
|
674
674
|
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
675
|
+
declare const horizontalDirections: [
|
|
676
|
+
string,
|
|
677
|
+
string
|
|
678
|
+
];
|
|
679
|
+
type ShouldSkipSwipingParams = {
|
|
680
|
+
deltaY: number;
|
|
681
|
+
startY: number;
|
|
682
|
+
event: HandledEvents;
|
|
683
|
+
dir: SwipeDirections;
|
|
684
|
+
};
|
|
675
685
|
declare const colors: readonly [
|
|
676
686
|
"tertiary",
|
|
677
687
|
"disabled",
|
|
@@ -885,6 +895,12 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
885
895
|
dataTestId?: string | undefined;
|
|
886
896
|
colors?: "default" | "inverted" | undefined;
|
|
887
897
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "breakpoint" | "href" | "Component" | "loading"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
898
|
+
declare enum SwipeDirection {
|
|
899
|
+
Left = "Left",
|
|
900
|
+
Right = "Right",
|
|
901
|
+
Up = "Up",
|
|
902
|
+
Down = "Down"
|
|
903
|
+
}
|
|
888
904
|
declare const Content: FC<ContentProps>;
|
|
889
905
|
type UseSelectWithApplyProps = {
|
|
890
906
|
/**
|
|
@@ -1586,7 +1602,7 @@ type SelectProps = BaseSelectProps & AdditionalMobileProps & ConditionalMobilePr
|
|
|
1586
1602
|
*/
|
|
1587
1603
|
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
1588
1604
|
};
|
|
1589
|
-
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, Typography, typographyPresets, TitleResponsive, getDefaultWeight, IconButtonProps, IconButton, Content, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1605
|
+
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, horizontalDirections, ShouldSkipSwipingParams, Typography, typographyPresets, TitleResponsive, getDefaultWeight, IconButtonProps, IconButton, SwipeDirection, Content, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1590
1606
|
export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps, TitleProps, TextProps, Color };
|
|
1591
1607
|
export { ModalResponsiveProps as ModalProps } from "./typings-88b743b5";
|
|
1592
1608
|
export type { ContentProps as ModalContentProps } from "./typings-88b743b5";
|
|
@@ -8,7 +8,7 @@ import { BaseModalProps, BaseModalContext } from "./index-bdb4c6b9";
|
|
|
8
8
|
import { BaseFormControlProps, BackdropProps } from "./index-ebda875c";
|
|
9
9
|
import { CSSTransitionProps } from "react-transition-group/CSSTransition";
|
|
10
10
|
import { BasePlacement, VariationPlacement } from "@popperjs/core";
|
|
11
|
-
import { SwipeableHandlers } from "react-swipeable";
|
|
11
|
+
import { SwipeableHandlers, SwipeDirections } from "react-swipeable";
|
|
12
12
|
import { TextElementType, TextSkeletonProps } from "./types-1328ead9";
|
|
13
13
|
import { ButtonProps } from "./index-6d57839f";
|
|
14
14
|
import { ContentProps } from "./typings-88b743b5";
|
|
@@ -672,6 +672,16 @@ type SwipeableBackdropProps = BackdropProps & {
|
|
|
672
672
|
opacityTimeout?: number;
|
|
673
673
|
};
|
|
674
674
|
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
675
|
+
declare const horizontalDirections: [
|
|
676
|
+
string,
|
|
677
|
+
string
|
|
678
|
+
];
|
|
679
|
+
type ShouldSkipSwipingParams = {
|
|
680
|
+
deltaY: number;
|
|
681
|
+
startY: number;
|
|
682
|
+
event: HandledEvents;
|
|
683
|
+
dir: SwipeDirections;
|
|
684
|
+
};
|
|
675
685
|
declare const colors: readonly [
|
|
676
686
|
"tertiary",
|
|
677
687
|
"disabled",
|
|
@@ -885,6 +895,12 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
885
895
|
dataTestId?: string | undefined;
|
|
886
896
|
colors?: "default" | "inverted" | undefined;
|
|
887
897
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "breakpoint" | "href" | "Component" | "loading"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
898
|
+
declare enum SwipeDirection {
|
|
899
|
+
Left = "Left",
|
|
900
|
+
Right = "Right",
|
|
901
|
+
Up = "Up",
|
|
902
|
+
Down = "Down"
|
|
903
|
+
}
|
|
888
904
|
declare const Content: FC<ContentProps>;
|
|
889
905
|
type UseSelectWithApplyProps = {
|
|
890
906
|
/**
|
|
@@ -1586,7 +1602,7 @@ type SelectProps = BaseSelectProps & AdditionalMobileProps & ConditionalMobilePr
|
|
|
1586
1602
|
*/
|
|
1587
1603
|
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
1588
1604
|
};
|
|
1589
|
-
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, Typography, typographyPresets, TitleResponsive, getDefaultWeight, IconButtonProps, IconButton, Content, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1605
|
+
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, horizontalDirections, ShouldSkipSwipingParams, Typography, typographyPresets, TitleResponsive, getDefaultWeight, IconButtonProps, IconButton, SwipeDirection, Content, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1590
1606
|
export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps, TitleProps, TextProps, Color };
|
|
1591
1607
|
export { ModalResponsiveProps as ModalProps } from "./typings-88b743b5";
|
|
1592
1608
|
export type { ContentProps as ModalContentProps } from "./typings-88b743b5";
|
|
@@ -4,7 +4,7 @@ var React = require('react');
|
|
|
4
4
|
var cn = require('classnames');
|
|
5
5
|
var coreComponentsShared = require('../../../shared');
|
|
6
6
|
var ResponsiveContext = require('../../ResponsiveContext.js');
|
|
7
|
-
var layout_module = require('../../layout.module-
|
|
7
|
+
var layout_module = require('../../layout.module-3eb92921.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
10
10
|
|
|
@@ -6,7 +6,7 @@ var coreComponentsShared = require('../../../shared');
|
|
|
6
6
|
var consts = require('../../consts.js');
|
|
7
7
|
var Context = require('../../Context.js');
|
|
8
8
|
var ResponsiveContext = require('../../ResponsiveContext.js');
|
|
9
|
-
var layout_module = require('../../layout.module-
|
|
9
|
+
var layout_module = require('../../layout.module-3eb92921.js');
|
|
10
10
|
|
|
11
11
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
12
12
|
|
|
@@ -12,7 +12,7 @@ import './consts.js';
|
|
|
12
12
|
import './Context.js';
|
|
13
13
|
import '../../base-modal/esm';
|
|
14
14
|
import './ResponsiveContext.js';
|
|
15
|
-
import './layout.module-
|
|
15
|
+
import './layout.module-1b8afca9.js';
|
|
16
16
|
import '../../navigation-bar/esm';
|
|
17
17
|
import 'react-merge-refs';
|
|
18
18
|
|
|
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { getDataTestId } from '../../../../shared/esm';
|
|
4
4
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
5
|
-
import { l as layoutStyles } from '../../layout.module-
|
|
5
|
+
import { l as layoutStyles } from '../../layout.module-1b8afca9.js';
|
|
6
6
|
|
|
7
7
|
var styles = {"component":"modal__component_1kic4"};
|
|
8
8
|
require('./index.css');
|
|
@@ -4,7 +4,7 @@ import { getDataTestId } from '../../../../shared/esm';
|
|
|
4
4
|
import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
|
|
5
5
|
import { ModalContext } from '../../Context.js';
|
|
6
6
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
7
|
-
import { l as layoutStyles } from '../../layout.module-
|
|
7
|
+
import { l as layoutStyles } from '../../layout.module-1b8afca9.js';
|
|
8
8
|
import '../../../../base-modal/esm';
|
|
9
9
|
|
|
10
10
|
var desktopStyles = {"footer":"modal__footer_i3yo5","sticky":"modal__sticky_i3yo5","fullscreen":"modal__fullscreen_i3yo5","size-500":"modal__size-500_i3yo5","size-600":"modal__size-600_i3yo5","size-800":"modal__size-800_i3yo5","size-1140":"modal__size-1140_i3yo5"};
|
|
@@ -12,7 +12,7 @@ import '../consts.js';
|
|
|
12
12
|
import '../ResponsiveContext.js';
|
|
13
13
|
import '../../../shared/esm';
|
|
14
14
|
import '../Context.js';
|
|
15
|
-
import '../layout.module-
|
|
15
|
+
import '../layout.module-1b8afca9.js';
|
|
16
16
|
import '../../../navigation-bar/esm';
|
|
17
17
|
|
|
18
18
|
var ModalDesktopComponent = forwardRef(function (props, ref) { return (React.createElement(Modal, __assign({}, props, { ref: ref, view: 'desktop' }))); });
|
|
@@ -11,7 +11,7 @@ import '../components/content/Component.js';
|
|
|
11
11
|
import '../../../shared/esm';
|
|
12
12
|
import '../Context.js';
|
|
13
13
|
import '../components/controls/Component.js';
|
|
14
|
-
import '../layout.module-
|
|
14
|
+
import '../layout.module-1b8afca9.js';
|
|
15
15
|
import '../components/footer/Component.js';
|
|
16
16
|
import '../components/header/Component.js';
|
|
17
17
|
import '../../../navigation-bar/esm';
|
package/modal/esm/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import './Context.js';
|
|
|
10
10
|
import '../../base-modal/esm';
|
|
11
11
|
import './ResponsiveContext.js';
|
|
12
12
|
import './components/controls/Component.js';
|
|
13
|
-
import './layout.module-
|
|
13
|
+
import './layout.module-1b8afca9.js';
|
|
14
14
|
import './components/footer/Component.js';
|
|
15
15
|
import './components/header/Component.js';
|
|
16
16
|
import '../../navigation-bar/esm';
|
|
@@ -12,7 +12,7 @@ import '../consts.js';
|
|
|
12
12
|
import '../ResponsiveContext.js';
|
|
13
13
|
import '../../../shared/esm';
|
|
14
14
|
import '../Context.js';
|
|
15
|
-
import '../layout.module-
|
|
15
|
+
import '../layout.module-1b8afca9.js';
|
|
16
16
|
import '../../../navigation-bar/esm';
|
|
17
17
|
|
|
18
18
|
var ModalMobileComponent = forwardRef(function (props, ref) { return (React.createElement(Modal, __assign({}, props, { ref: ref, view: 'mobile' }))); });
|
|
@@ -11,7 +11,7 @@ import '../components/content/Component.js';
|
|
|
11
11
|
import '../../../shared/esm';
|
|
12
12
|
import '../Context.js';
|
|
13
13
|
import '../components/controls/Component.js';
|
|
14
|
-
import '../layout.module-
|
|
14
|
+
import '../layout.module-1b8afca9.js';
|
|
15
15
|
import '../components/footer/Component.js';
|
|
16
16
|
import '../components/header/Component.js';
|
|
17
17
|
import '../../../navigation-bar/esm';
|
|
@@ -11,7 +11,7 @@ import './consts.js';
|
|
|
11
11
|
import './Context.js';
|
|
12
12
|
import '../../base-modal/modern';
|
|
13
13
|
import './ResponsiveContext.js';
|
|
14
|
-
import './layout.module-
|
|
14
|
+
import './layout.module-13b15398.js';
|
|
15
15
|
import '../../navigation-bar/modern';
|
|
16
16
|
import 'react-merge-refs';
|
|
17
17
|
|
|
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { getDataTestId } from '../../../../shared/modern';
|
|
4
4
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
5
|
-
import { l as layoutStyles } from '../../layout.module-
|
|
5
|
+
import { l as layoutStyles } from '../../layout.module-13b15398.js';
|
|
6
6
|
|
|
7
7
|
const styles = {"component":"modal__component_1kic4"};
|
|
8
8
|
require('./index.css');
|
|
@@ -4,7 +4,7 @@ import { getDataTestId } from '../../../../shared/modern';
|
|
|
4
4
|
import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
|
|
5
5
|
import { ModalContext } from '../../Context.js';
|
|
6
6
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
7
|
-
import { l as layoutStyles } from '../../layout.module-
|
|
7
|
+
import { l as layoutStyles } from '../../layout.module-13b15398.js';
|
|
8
8
|
import '../../../../base-modal/modern';
|
|
9
9
|
|
|
10
10
|
const desktopStyles = {"footer":"modal__footer_i3yo5","sticky":"modal__sticky_i3yo5","fullscreen":"modal__fullscreen_i3yo5","size-500":"modal__size-500_i3yo5","size-600":"modal__size-600_i3yo5","size-800":"modal__size-800_i3yo5","size-1140":"modal__size-1140_i3yo5"};
|
|
@@ -11,7 +11,7 @@ import '../consts.js';
|
|
|
11
11
|
import '../ResponsiveContext.js';
|
|
12
12
|
import '../../../shared/modern';
|
|
13
13
|
import '../Context.js';
|
|
14
|
-
import '../layout.module-
|
|
14
|
+
import '../layout.module-13b15398.js';
|
|
15
15
|
import '../../../navigation-bar/modern';
|
|
16
16
|
|
|
17
17
|
const ModalDesktopComponent = forwardRef((props, ref) => (React.createElement(Modal, { ...props, ref: ref, view: 'desktop' })));
|
|
@@ -10,7 +10,7 @@ import '../components/content/Component.js';
|
|
|
10
10
|
import '../../../shared/modern';
|
|
11
11
|
import '../Context.js';
|
|
12
12
|
import '../components/controls/Component.js';
|
|
13
|
-
import '../layout.module-
|
|
13
|
+
import '../layout.module-13b15398.js';
|
|
14
14
|
import '../components/footer/Component.js';
|
|
15
15
|
import '../components/header/Component.js';
|
|
16
16
|
import '../../../navigation-bar/modern';
|
package/modal/modern/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import './Context.js';
|
|
|
9
9
|
import '../../base-modal/modern';
|
|
10
10
|
import './ResponsiveContext.js';
|
|
11
11
|
import './components/controls/Component.js';
|
|
12
|
-
import './layout.module-
|
|
12
|
+
import './layout.module-13b15398.js';
|
|
13
13
|
import './components/footer/Component.js';
|
|
14
14
|
import './components/header/Component.js';
|
|
15
15
|
import '../../navigation-bar/modern';
|
|
@@ -11,7 +11,7 @@ import '../consts.js';
|
|
|
11
11
|
import '../ResponsiveContext.js';
|
|
12
12
|
import '../../../shared/modern';
|
|
13
13
|
import '../Context.js';
|
|
14
|
-
import '../layout.module-
|
|
14
|
+
import '../layout.module-13b15398.js';
|
|
15
15
|
import '../../../navigation-bar/modern';
|
|
16
16
|
|
|
17
17
|
const ModalMobileComponent = forwardRef((props, ref) => (React.createElement(Modal, { ...props, ref: ref, view: 'mobile' })));
|
|
@@ -10,7 +10,7 @@ import '../components/content/Component.js';
|
|
|
10
10
|
import '../../../shared/modern';
|
|
11
11
|
import '../Context.js';
|
|
12
12
|
import '../components/controls/Component.js';
|
|
13
|
-
import '../layout.module-
|
|
13
|
+
import '../layout.module-13b15398.js';
|
|
14
14
|
import '../components/footer/Component.js';
|
|
15
15
|
import '../components/header/Component.js';
|
|
16
16
|
import '../../../navigation-bar/modern';
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ import { BaseModalProps } from "./index-bdb4c6b9";
|
|
|
8
8
|
import { NavigationBarProps } from "./types-667e33fd";
|
|
9
9
|
import { BackgroundColorType } from "./index-064acd29";
|
|
10
10
|
import { BaseInputProps, BackdropProps } from "./index-ebda875c";
|
|
11
|
-
import { SwipeableHandlers } from "react-swipeable";
|
|
11
|
+
import { SwipeableHandlers, SwipeDirections } from "react-swipeable";
|
|
12
12
|
import { FormControlProps } from "./index-c44170fe";
|
|
13
13
|
import { ModalResponsiveProps as ModalProps } from "./typings-88b743b5";
|
|
14
14
|
import { PopoverProps } from "../../popover";
|
|
@@ -390,6 +390,22 @@ type SwipeableBackdropProps = BackdropProps & {
|
|
|
390
390
|
opacityTimeout?: number;
|
|
391
391
|
};
|
|
392
392
|
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
393
|
+
declare const horizontalDirections: [
|
|
394
|
+
string,
|
|
395
|
+
string
|
|
396
|
+
];
|
|
397
|
+
type ShouldSkipSwipingParams = {
|
|
398
|
+
deltaY: number;
|
|
399
|
+
startY: number;
|
|
400
|
+
event: HandledEvents;
|
|
401
|
+
dir: SwipeDirections;
|
|
402
|
+
};
|
|
403
|
+
declare enum SwipeDirection {
|
|
404
|
+
Left = "Left",
|
|
405
|
+
Right = "Right",
|
|
406
|
+
Up = "Up",
|
|
407
|
+
Down = "Down"
|
|
408
|
+
}
|
|
393
409
|
type AnyObject = Record<string, any>;
|
|
394
410
|
type OptionShape = {
|
|
395
411
|
/**
|
|
@@ -1048,7 +1064,7 @@ type SelectProps = BaseSelectProps & AdditionalMobileProps & ConditionalMobilePr
|
|
|
1048
1064
|
*/
|
|
1049
1065
|
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
1050
1066
|
};
|
|
1051
|
-
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, InputProps, Input, ModalResponsive as Modal, getModalTestIds, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1067
|
+
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, InputProps, Input, ModalResponsive as Modal, getModalTestIds, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, horizontalDirections, ShouldSkipSwipingParams, SwipeDirection, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1052
1068
|
export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps };
|
|
1053
1069
|
export { ModalResponsiveProps as ModalProps } from "./typings-88b743b5";
|
|
1054
1070
|
export { ModalContext } from "./Context-c2e6f1b2";
|
|
@@ -8,7 +8,7 @@ import { BaseModalProps } from "./index-bdb4c6b9";
|
|
|
8
8
|
import { NavigationBarProps } from "./types-667e33fd";
|
|
9
9
|
import { BackgroundColorType } from "./index-064acd29";
|
|
10
10
|
import { BaseInputProps, BackdropProps } from "./index-ebda875c";
|
|
11
|
-
import { SwipeableHandlers } from "react-swipeable";
|
|
11
|
+
import { SwipeableHandlers, SwipeDirections } from "react-swipeable";
|
|
12
12
|
import { FormControlProps } from "./index-c44170fe";
|
|
13
13
|
import { ModalResponsiveProps as ModalProps } from "./typings-88b743b5";
|
|
14
14
|
import { PopoverProps } from "../../popover";
|
|
@@ -390,6 +390,22 @@ type SwipeableBackdropProps = BackdropProps & {
|
|
|
390
390
|
opacityTimeout?: number;
|
|
391
391
|
};
|
|
392
392
|
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
393
|
+
declare const horizontalDirections: [
|
|
394
|
+
string,
|
|
395
|
+
string
|
|
396
|
+
];
|
|
397
|
+
type ShouldSkipSwipingParams = {
|
|
398
|
+
deltaY: number;
|
|
399
|
+
startY: number;
|
|
400
|
+
event: HandledEvents;
|
|
401
|
+
dir: SwipeDirections;
|
|
402
|
+
};
|
|
403
|
+
declare enum SwipeDirection {
|
|
404
|
+
Left = "Left",
|
|
405
|
+
Right = "Right",
|
|
406
|
+
Up = "Up",
|
|
407
|
+
Down = "Down"
|
|
408
|
+
}
|
|
393
409
|
type AnyObject = Record<string, any>;
|
|
394
410
|
type OptionShape = {
|
|
395
411
|
/**
|
|
@@ -1048,7 +1064,7 @@ type SelectProps = BaseSelectProps & AdditionalMobileProps & ConditionalMobilePr
|
|
|
1048
1064
|
*/
|
|
1049
1065
|
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
1050
1066
|
};
|
|
1051
|
-
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, InputProps, Input, ModalResponsive as Modal, getModalTestIds, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1067
|
+
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, InputProps, Input, ModalResponsive as Modal, getModalTestIds, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, horizontalDirections, ShouldSkipSwipingParams, SwipeDirection, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1052
1068
|
export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps };
|
|
1053
1069
|
export { ModalResponsiveProps as ModalProps } from "./typings-88b743b5";
|
|
1054
1070
|
export { ModalContext } from "./Context-c2e6f1b2";
|
|
@@ -8,7 +8,7 @@ import { BaseModalProps } from "./index-bdb4c6b9";
|
|
|
8
8
|
import { NavigationBarProps } from "./types-667e33fd";
|
|
9
9
|
import { BackgroundColorType } from "./index-064acd29";
|
|
10
10
|
import { BaseInputProps, BackdropProps } from "./index-ebda875c";
|
|
11
|
-
import { SwipeableHandlers } from "react-swipeable";
|
|
11
|
+
import { SwipeableHandlers, SwipeDirections } from "react-swipeable";
|
|
12
12
|
import { FormControlProps } from "./index-c44170fe";
|
|
13
13
|
import { ModalResponsiveProps as ModalProps } from "./typings-88b743b5";
|
|
14
14
|
import { PopoverProps } from "../../popover";
|
|
@@ -390,6 +390,22 @@ type SwipeableBackdropProps = BackdropProps & {
|
|
|
390
390
|
opacityTimeout?: number;
|
|
391
391
|
};
|
|
392
392
|
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
393
|
+
declare const horizontalDirections: [
|
|
394
|
+
string,
|
|
395
|
+
string
|
|
396
|
+
];
|
|
397
|
+
type ShouldSkipSwipingParams = {
|
|
398
|
+
deltaY: number;
|
|
399
|
+
startY: number;
|
|
400
|
+
event: HandledEvents;
|
|
401
|
+
dir: SwipeDirections;
|
|
402
|
+
};
|
|
403
|
+
declare enum SwipeDirection {
|
|
404
|
+
Left = "Left",
|
|
405
|
+
Right = "Right",
|
|
406
|
+
Up = "Up",
|
|
407
|
+
Down = "Down"
|
|
408
|
+
}
|
|
393
409
|
type AnyObject = Record<string, any>;
|
|
394
410
|
type OptionShape = {
|
|
395
411
|
/**
|
|
@@ -1048,7 +1064,7 @@ type SelectProps = BaseSelectProps & AdditionalMobileProps & ConditionalMobilePr
|
|
|
1048
1064
|
*/
|
|
1049
1065
|
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
1050
1066
|
};
|
|
1051
|
-
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, InputProps, Input, ModalResponsive as Modal, getModalTestIds, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1067
|
+
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, InputProps, Input, ModalResponsive as Modal, getModalTestIds, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, horizontalDirections, ShouldSkipSwipingParams, SwipeDirection, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1052
1068
|
export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps };
|
|
1053
1069
|
export { ModalResponsiveProps as ModalProps } from "./typings-88b743b5";
|
|
1054
1070
|
export { ModalContext } from "./Context-c2e6f1b2";
|
|
@@ -8,7 +8,7 @@ import { BaseModalProps } from "./index-bdb4c6b9";
|
|
|
8
8
|
import { NavigationBarProps } from "./types-667e33fd";
|
|
9
9
|
import { BackgroundColorType } from "./index-064acd29";
|
|
10
10
|
import { BaseInputProps, BackdropProps } from "./index-ebda875c";
|
|
11
|
-
import { SwipeableHandlers } from "react-swipeable";
|
|
11
|
+
import { SwipeableHandlers, SwipeDirections } from "react-swipeable";
|
|
12
12
|
import { FormControlProps } from "./index-c44170fe";
|
|
13
13
|
import { ModalResponsiveProps as ModalProps } from "./typings-88b743b5";
|
|
14
14
|
import { PopoverProps } from "../popover";
|
|
@@ -390,6 +390,22 @@ type SwipeableBackdropProps = BackdropProps & {
|
|
|
390
390
|
opacityTimeout?: number;
|
|
391
391
|
};
|
|
392
392
|
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
393
|
+
declare const horizontalDirections: [
|
|
394
|
+
string,
|
|
395
|
+
string
|
|
396
|
+
];
|
|
397
|
+
type ShouldSkipSwipingParams = {
|
|
398
|
+
deltaY: number;
|
|
399
|
+
startY: number;
|
|
400
|
+
event: HandledEvents;
|
|
401
|
+
dir: SwipeDirections;
|
|
402
|
+
};
|
|
403
|
+
declare enum SwipeDirection {
|
|
404
|
+
Left = "Left",
|
|
405
|
+
Right = "Right",
|
|
406
|
+
Up = "Up",
|
|
407
|
+
Down = "Down"
|
|
408
|
+
}
|
|
393
409
|
type AnyObject = Record<string, any>;
|
|
394
410
|
type OptionShape = {
|
|
395
411
|
/**
|
|
@@ -1048,7 +1064,7 @@ type SelectProps = BaseSelectProps & AdditionalMobileProps & ConditionalMobilePr
|
|
|
1048
1064
|
*/
|
|
1049
1065
|
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
1050
1066
|
};
|
|
1051
|
-
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, InputProps, Input, ModalResponsive as Modal, getModalTestIds, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1067
|
+
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, InputProps, Input, ModalResponsive as Modal, getModalTestIds, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, horizontalDirections, ShouldSkipSwipingParams, SwipeDirection, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1052
1068
|
export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps };
|
|
1053
1069
|
export { ModalResponsiveProps as ModalProps } from "./typings-88b743b5";
|
|
1054
1070
|
export { ModalContext } from "./Context-c2e6f1b2";
|
|
@@ -41,7 +41,7 @@ import '../../base-modal/esm';
|
|
|
41
41
|
import '../../button/esm/mobile';
|
|
42
42
|
import './components/virtual-options-list/Component.js';
|
|
43
43
|
import 'react-virtual';
|
|
44
|
-
import './hook-
|
|
44
|
+
import './hook-aa7d4c07.js';
|
|
45
45
|
import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
46
46
|
import '../../button/esm/desktop';
|
|
47
47
|
import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
package/select/esm/index.js
CHANGED
|
@@ -41,7 +41,7 @@ import '../../base-modal/esm';
|
|
|
41
41
|
import '../../button/esm/mobile';
|
|
42
42
|
import './components/virtual-options-list/Component.js';
|
|
43
43
|
import 'react-virtual';
|
|
44
|
-
import './hook-
|
|
44
|
+
import './hook-aa7d4c07.js';
|
|
45
45
|
import './presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
46
46
|
import '../../button/esm/desktop';
|
|
47
47
|
import './presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
@@ -12,7 +12,7 @@ import { Option } from '../components/option/Component.js';
|
|
|
12
12
|
import { OptionsList } from '../components/options-list/Component.js';
|
|
13
13
|
import { Search } from '../components/search/Component.js';
|
|
14
14
|
import { VirtualOptionsList } from '../components/virtual-options-list/Component.js';
|
|
15
|
-
import { u as useSelectWithApply } from '../hook-
|
|
15
|
+
import { u as useSelectWithApply } from '../hook-aa7d4c07.js';
|
|
16
16
|
import { Header } from '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
17
17
|
import 'classnames';
|
|
18
18
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
@@ -37,7 +37,7 @@ import '../../../input/esm';
|
|
|
37
37
|
import '@alfalab/icons-glyph/MagnifierMIcon';
|
|
38
38
|
import '../components/virtual-options-list/Component.js';
|
|
39
39
|
import 'react-virtual';
|
|
40
|
-
import '../hook-
|
|
40
|
+
import '../hook-aa7d4c07.js';
|
|
41
41
|
import '../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
42
42
|
import '../../../button/esm/desktop';
|
|
43
43
|
import '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
@@ -38,7 +38,7 @@ import '../../../input/esm';
|
|
|
38
38
|
import '@alfalab/icons-glyph/MagnifierMIcon';
|
|
39
39
|
import '../components/virtual-options-list/Component.js';
|
|
40
40
|
import 'react-virtual';
|
|
41
|
-
import '../hook-
|
|
41
|
+
import '../hook-aa7d4c07.js';
|
|
42
42
|
import '../presets/useSelectWithApply/options-list-with-apply/footer/Component.js';
|
|
43
43
|
import '../../../button/esm/desktop';
|
|
44
44
|
import '../presets/useSelectWithApply/options-list-with-apply/header/Component.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { useSelectWithLoading } from './useSelectWithLoading/hook.js';
|
|
2
2
|
export { useLazyLoading } from './useLazyLoading/hook.js';
|
|
3
|
-
export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-
|
|
3
|
+
export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../hook-aa7d4c07.js';
|
|
4
4
|
import 'tslib';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '../../../skeleton/esm';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'tslib';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../../../shared/esm';
|
|
4
|
-
export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../../hook-
|
|
4
|
+
export { S as SELECT_ALL_KEY, u as useSelectWithApply } from '../../hook-aa7d4c07.js';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
import '../../components/options-list/Component.js';
|
|
7
7
|
import 'react-merge-refs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'tslib';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../../components/options-list/Component.js';
|
|
4
|
-
export { O as OptionsListWithApply } from '../../../hook-
|
|
4
|
+
export { O as OptionsListWithApply } from '../../../hook-aa7d4c07.js';
|
|
5
5
|
import './footer/Component.js';
|
|
6
6
|
import './header/Component.js';
|
|
7
7
|
import 'react-merge-refs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../../hook-
|
|
1
|
+
export * from "../../../hook-aa7d4c07";
|