@frontile/overlays 0.18.0-alpha.3 → 0.18.0-alpha.5

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.
Files changed (44) hide show
  1. package/declarations/components/backdrop.d.ts +1 -39
  2. package/declarations/components/drawer/body.d.ts +1 -17
  3. package/declarations/components/drawer/footer.d.ts +1 -17
  4. package/declarations/components/drawer/header.d.ts +1 -21
  5. package/declarations/components/drawer.d.ts +1 -125
  6. package/declarations/components/modal/body.d.ts +1 -17
  7. package/declarations/components/modal/footer.d.ts +1 -17
  8. package/declarations/components/modal/header.d.ts +1 -21
  9. package/declarations/components/modal.d.ts +1 -124
  10. package/declarations/components/overlay.d.ts +1 -161
  11. package/declarations/components/popover.d.ts +1 -165
  12. package/declarations/components/portal-target.d.ts +1 -15
  13. package/declarations/components/portal.d.ts +1 -38
  14. package/declarations/index.d.ts +1 -6
  15. package/declarations/template-registry.d.ts +1 -7
  16. package/dist/components/backdrop.js +1 -43
  17. package/dist/components/backdrop.js.map +1 -1
  18. package/dist/components/drawer/body.js +1 -17
  19. package/dist/components/drawer/body.js.map +1 -1
  20. package/dist/components/drawer/footer.js +1 -17
  21. package/dist/components/drawer/footer.js.map +1 -1
  22. package/dist/components/drawer/header.js +1 -17
  23. package/dist/components/drawer/header.js.map +1 -1
  24. package/dist/components/drawer.js +1 -60
  25. package/dist/components/drawer.js.map +1 -1
  26. package/dist/components/modal/body.js +1 -17
  27. package/dist/components/modal/body.js.map +1 -1
  28. package/dist/components/modal/footer.js +1 -17
  29. package/dist/components/modal/footer.js.map +1 -1
  30. package/dist/components/modal/header.js +1 -17
  31. package/dist/components/modal/header.js.map +1 -1
  32. package/dist/components/modal.js +1 -60
  33. package/dist/components/modal.js.map +1 -1
  34. package/dist/components/overlay.js +1 -16
  35. package/dist/components/overlay.js.map +1 -1
  36. package/dist/components/popover.js +1 -230
  37. package/dist/components/popover.js.map +1 -1
  38. package/dist/components/portal-target.js +1 -9
  39. package/dist/components/portal-target.js.map +1 -1
  40. package/dist/components/portal.js +1 -8
  41. package/dist/components/portal.js.map +1 -1
  42. package/dist/index.js +13 -6
  43. package/dist/index.js.map +1 -1
  44. package/package.json +3 -11
@@ -1,39 +1 @@
1
- import Component from '@glimmer/component';
2
- import type { CssTransitionSignature } from 'ember-css-transitions/modifiers/css-transition';
3
- interface BackdropSignature {
4
- Args: {
5
- /**
6
- * @defaultValue 'faded'
7
- */
8
- type?: 'none' | 'transparent' | 'faded' | 'blur';
9
- class?: string;
10
- /**
11
- * @defaultValue false
12
- */
13
- inPlace?: boolean;
14
- transition?: CssTransitionSignature['Args']['Named'];
15
- };
16
- Element: HTMLDivElement;
17
- Blocks: {
18
- default: [];
19
- };
20
- }
21
- declare class Backdrop extends Component<BackdropSignature> {
22
- get classNames(): string;
23
- get transition(): {
24
- didTransitionIn?: () => void;
25
- didTransitionOut?: () => void;
26
- enterClass?: string;
27
- enterActiveClass?: string;
28
- enterToClass?: string;
29
- isEnabled?: boolean;
30
- leaveClass?: string;
31
- leaveActiveClass?: string;
32
- leaveToClass?: string;
33
- name?: string;
34
- parentSelector?: string;
35
- };
36
- get isVisible(): boolean;
37
- }
38
- export { Backdrop, type BackdropSignature };
39
- export default Backdrop;
1
+ export { default } from 'frontile/components/overlays/backdrop';
@@ -1,17 +1 @@
1
- import Component from '@glimmer/component';
2
- export interface DrawerBodyArgs {
3
- class?: string;
4
- /**
5
- * @internal
6
- */
7
- classFromParent?: string;
8
- }
9
- export interface DrawerBodySignature {
10
- Args: DrawerBodyArgs;
11
- Element: HTMLDivElement;
12
- Blocks: {
13
- default: [];
14
- };
15
- }
16
- export default class DrawerBody extends Component<DrawerBodySignature> {
17
- }
1
+ export { default } from 'frontile/components/overlays/drawer/body';
@@ -1,17 +1 @@
1
- import Component from '@glimmer/component';
2
- export interface DrawerFooterArgs {
3
- class?: string;
4
- /**
5
- * @internal
6
- */
7
- classFromParent?: string;
8
- }
9
- export interface DrawerFooterSignature {
10
- Args: DrawerFooterArgs;
11
- Element: HTMLDivElement;
12
- Blocks: {
13
- default: [];
14
- };
15
- }
16
- export default class DrawerFooter extends Component<DrawerFooterSignature> {
17
- }
1
+ export { default } from 'frontile/components/overlays/drawer/footer';
@@ -1,21 +1 @@
1
- import Component from '@glimmer/component';
2
- export interface DrawerHeaderArgs {
3
- /**
4
- * The id used to reference labelledById in Drawer component
5
- */
6
- labelledById: string;
7
- class?: string;
8
- /**
9
- * @internal
10
- */
11
- classFromParent?: string;
12
- }
13
- export interface DrawerHeaderSignature {
14
- Args: DrawerHeaderArgs;
15
- Element: HTMLDivElement;
16
- Blocks: {
17
- default: [];
18
- };
19
- }
20
- export default class DrawerHeader extends Component<DrawerHeaderSignature> {
21
- }
1
+ export { default } from 'frontile/components/overlays/drawer/header';
@@ -1,125 +1 @@
1
- import Component from '@glimmer/component';
2
- import { type OverlaySignature } from './overlay';
3
- import { type DrawerBodySignature } from './drawer/body';
4
- import { type DrawerFooterSignature } from './drawer/footer';
5
- import { type DrawerHeaderSignature } from './drawer/header';
6
- import { type CloseButtonSignature } from '@frontile/buttons';
7
- import type { ComponentLike, WithBoundArgs } from '@glint/template';
8
- import { type SlotsToClasses, type DrawerSlots, type DrawerVariants } from '@frontile/theme';
9
- export interface DrawerArgs extends Pick<OverlaySignature['Args'], 'isOpen' | 'onOpen' | 'onClose' | 'didClose' | 'renderInPlace' | 'target' | 'transitionDuration' | 'backdrop' | 'disableTransitions' | 'disableFocusTrap' | 'focusTrapOptions' | 'closeOnOutsideClick' | 'closeOnEscapeKey' | 'backdropTransition'> {
10
- /**
11
- * The transition to be used in the Drawer.
12
- *
13
- * @defaultValue {name: 'overlay-transition--slide-from-[placement]'}
14
- */
15
- transition?: OverlaySignature['Args']['transition'];
16
- /**
17
- * If set to false, the close button will not be displayed,
18
- * closeOnOutsideClick will be set to false, and closeOnEscapeKey will also be set
19
- * to false.
20
- *
21
- * @defaultValue true
22
- */
23
- allowClosing?: boolean;
24
- /**
25
- * If set to false, the close button will not be displayed.
26
- *
27
- * @defaultValue true
28
- */
29
- allowCloseButton?: boolean;
30
- /**
31
- * The Close Button size.
32
- */
33
- closeButtonSize?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
34
- /**
35
- * The Drawer can appear from any side of the screen. The 'placement'
36
- * option allows to choose where it appears from.
37
- *
38
- * @defaultValue 'right'
39
- */
40
- placement?: DrawerVariants['placement'];
41
- /**
42
- * The Drawer size.
43
- *
44
- * @defaultValue 'md'
45
- */
46
- size?: DrawerVariants['size'];
47
- classes?: SlotsToClasses<DrawerSlots>;
48
- }
49
- export interface DrawerSignature {
50
- Args: DrawerArgs;
51
- Blocks: {
52
- default: [
53
- {
54
- CloseButton: WithBoundArgs<ComponentLike<CloseButtonSignature>, 'onPress' | 'class'>;
55
- Header: WithBoundArgs<ComponentLike<DrawerHeaderSignature>, 'labelledById' | 'classFromParent'>;
56
- Body: WithBoundArgs<ComponentLike<DrawerBodySignature>, 'classFromParent'>;
57
- Footer: WithBoundArgs<ComponentLike<DrawerFooterSignature>, 'classFromParent'>;
58
- headerId: string;
59
- }
60
- ];
61
- };
62
- Element: HTMLDivElement;
63
- }
64
- export default class Drawer extends Component<DrawerSignature> {
65
- headerId: string;
66
- get preventClosing(): boolean;
67
- get showCloseButton(): boolean;
68
- get placement(): "bottom" | "left" | "right" | "top";
69
- get classes(): {
70
- base: (slotProps?: ({
71
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
72
- placement?: "bottom" | "left" | "right" | "top" | undefined;
73
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
74
- closeButton: (slotProps?: ({
75
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
76
- placement?: "bottom" | "left" | "right" | "top" | undefined;
77
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
78
- header: (slotProps?: ({
79
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
80
- placement?: "bottom" | "left" | "right" | "top" | undefined;
81
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
82
- body: (slotProps?: ({
83
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
84
- placement?: "bottom" | "left" | "right" | "top" | undefined;
85
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
86
- footer: (slotProps?: ({
87
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
88
- placement?: "bottom" | "left" | "right" | "top" | undefined;
89
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
90
- } & {
91
- base: (slotProps?: ({
92
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
93
- placement?: "bottom" | "left" | "right" | "top" | undefined;
94
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
95
- closeButton: (slotProps?: ({
96
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
97
- placement?: "bottom" | "left" | "right" | "top" | undefined;
98
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
99
- header: (slotProps?: ({
100
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
101
- placement?: "bottom" | "left" | "right" | "top" | undefined;
102
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
103
- body: (slotProps?: ({
104
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
105
- placement?: "bottom" | "left" | "right" | "top" | undefined;
106
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
107
- footer: (slotProps?: ({
108
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
109
- placement?: "bottom" | "left" | "right" | "top" | undefined;
110
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
111
- } & {};
112
- get transition(): {
113
- didTransitionIn?: () => void;
114
- didTransitionOut?: () => void;
115
- enterClass?: string;
116
- enterActiveClass?: string;
117
- enterToClass?: string;
118
- isEnabled?: boolean;
119
- leaveClass?: string;
120
- leaveActiveClass?: string;
121
- leaveToClass?: string;
122
- name?: string;
123
- parentSelector?: string;
124
- };
125
- }
1
+ export { default } from 'frontile/components/overlays/drawer';
@@ -1,17 +1 @@
1
- import Component from '@glimmer/component';
2
- export interface ModalBodyArgs {
3
- class?: string;
4
- /**
5
- * @internal
6
- */
7
- classFromParent?: string;
8
- }
9
- export interface ModalBodySignature {
10
- Args: ModalBodyArgs;
11
- Element: HTMLDivElement;
12
- Blocks: {
13
- default: [];
14
- };
15
- }
16
- export default class ModalBody extends Component<ModalBodySignature> {
17
- }
1
+ export { default } from 'frontile/components/overlays/modal/body';
@@ -1,17 +1 @@
1
- import Component from '@glimmer/component';
2
- export interface ModalFooterArgs {
3
- class?: string;
4
- /**
5
- * @internal
6
- */
7
- classFromParent?: string;
8
- }
9
- export interface ModalFooterSignature {
10
- Args: ModalFooterArgs;
11
- Element: HTMLDivElement;
12
- Blocks: {
13
- default: [];
14
- };
15
- }
16
- export default class ModalFooter extends Component<ModalFooterSignature> {
17
- }
1
+ export { default } from 'frontile/components/overlays/modal/footer';
@@ -1,21 +1 @@
1
- import Component from '@glimmer/component';
2
- export interface ModalHeaderArgs {
3
- class?: string;
4
- /**
5
- * The id used to reference labelledById in Modal component
6
- */
7
- labelledById: string;
8
- /**
9
- * @internal
10
- */
11
- classFromParent?: string;
12
- }
13
- export interface ModalHeaderSignature {
14
- Args: ModalHeaderArgs;
15
- Element: HTMLDivElement;
16
- Blocks: {
17
- default: [];
18
- };
19
- }
20
- export default class ModalHeader extends Component<ModalHeaderSignature> {
21
- }
1
+ export { default } from 'frontile/components/overlays/modal/header';
@@ -1,124 +1 @@
1
- import Component from '@glimmer/component';
2
- import { type OverlaySignature } from './overlay';
3
- import { type ModalFooterSignature } from './modal/footer';
4
- import { type ModalBodySignature } from './modal/body';
5
- import { type ModalHeaderSignature } from './modal/header';
6
- import { type CloseButtonSignature } from '@frontile/buttons';
7
- import { type SlotsToClasses, type ModalSlots, type ModalVariants } from '@frontile/theme';
8
- import type { ComponentLike, WithBoundArgs } from '@glint/template';
9
- export interface ModalArgs extends Pick<OverlaySignature['Args'], 'isOpen' | 'onOpen' | 'onClose' | 'didClose' | 'renderInPlace' | 'target' | 'transitionDuration' | 'backdrop' | 'disableTransitions' | 'disableFocusTrap' | 'focusTrapOptions' | 'closeOnOutsideClick' | 'closeOnEscapeKey' | 'backdropTransition'> {
10
- /**
11
- * The transition to be used in the Modal.
12
- *
13
- * @defaultValue {name: 'overlay-transition--zoom'}
14
- */
15
- transition?: OverlaySignature['Args']['transition'];
16
- /**
17
- * If set to false, the close button will not be displayed,
18
- * closeOnOutsideClick will be set to false, and closeOnEscapeKey will also be set
19
- * to false.
20
- *
21
- * @defaultValue true
22
- */
23
- allowClosing?: boolean;
24
- /**
25
- * If set to false, the close button will not be displayed.
26
- *
27
- * @defaultValue true
28
- */
29
- allowCloseButton?: boolean;
30
- /**
31
- * The Close Button size.
32
- */
33
- closeButtonSize?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
34
- /**
35
- * If set to true, the modal will be vertically centered
36
- *
37
- * @defaultValue false
38
- */
39
- isCentered?: boolean;
40
- /**
41
- * The Modal size.
42
- *
43
- * @defaultValue 'lg'
44
- */
45
- size?: ModalVariants['size'];
46
- classes?: SlotsToClasses<ModalSlots>;
47
- }
48
- export interface ModalSignature {
49
- Args: ModalArgs;
50
- Blocks: {
51
- default: [
52
- {
53
- CloseButton: WithBoundArgs<ComponentLike<CloseButtonSignature>, 'onPress' | 'class'>;
54
- Header: WithBoundArgs<ComponentLike<ModalHeaderSignature>, 'labelledById' | 'classFromParent'>;
55
- Body: WithBoundArgs<ComponentLike<ModalBodySignature>, 'classFromParent'>;
56
- Footer: WithBoundArgs<ComponentLike<ModalFooterSignature>, 'classFromParent'>;
57
- headerId: string;
58
- }
59
- ];
60
- };
61
- Element: HTMLDivElement;
62
- }
63
- export default class Modal extends Component<ModalSignature> {
64
- headerId: string;
65
- get preventClosing(): boolean;
66
- get showCloseButton(): boolean;
67
- get size(): "sm" | "md" | "lg" | "xl" | "xs" | "full";
68
- get classes(): {
69
- base: (slotProps?: ({
70
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
71
- isCentered?: boolean | undefined;
72
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
73
- closeButton: (slotProps?: ({
74
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
75
- isCentered?: boolean | undefined;
76
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
77
- header: (slotProps?: ({
78
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
79
- isCentered?: boolean | undefined;
80
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
81
- body: (slotProps?: ({
82
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
83
- isCentered?: boolean | undefined;
84
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
85
- footer: (slotProps?: ({
86
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
87
- isCentered?: boolean | undefined;
88
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
89
- } & {
90
- base: (slotProps?: ({
91
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
92
- isCentered?: boolean | undefined;
93
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
94
- closeButton: (slotProps?: ({
95
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
96
- isCentered?: boolean | undefined;
97
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
98
- header: (slotProps?: ({
99
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
100
- isCentered?: boolean | undefined;
101
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
102
- body: (slotProps?: ({
103
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
104
- isCentered?: boolean | undefined;
105
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
106
- footer: (slotProps?: ({
107
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined;
108
- isCentered?: boolean | undefined;
109
- } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
110
- } & {};
111
- get transition(): {
112
- didTransitionIn?: () => void;
113
- didTransitionOut?: () => void;
114
- enterClass?: string;
115
- enterActiveClass?: string;
116
- enterToClass?: string;
117
- isEnabled?: boolean;
118
- leaveClass?: string;
119
- leaveActiveClass?: string;
120
- leaveToClass?: string;
121
- name?: string;
122
- parentSelector?: string;
123
- };
124
- }
1
+ export { default } from 'frontile/components/overlays/modal';
@@ -1,161 +1 @@
1
- import Component from '@glimmer/component';
2
- import { type BackdropSignature } from './backdrop';
3
- import { type PortalSignature } from './portal';
4
- import type { ModifierLike } from '@glint/template';
5
- import type { CssTransitionSignature } from 'ember-css-transitions/modifiers/css-transition';
6
- interface Args extends Pick<PortalSignature['Args'], 'renderInPlace' | 'target'> {
7
- /**
8
- * Duration of the animation
9
- *
10
- * @defaultValue 200
11
- */
12
- transitionDuration?: number;
13
- backdrop?: BackdropSignature['Args']['type'];
14
- backdropTransition?: BackdropSignature['Args']['transition'];
15
- /**
16
- * Disable css transitions
17
- *
18
- * @defaultValue false
19
- */
20
- disableTransitions?: boolean;
21
- /**
22
- * Whether the focus trap is disabled or not
23
- *
24
- * @defaultValue false
25
- */
26
- disableFocusTrap?: boolean;
27
- /**
28
- * Focus trap options
29
- *
30
- * @defaultValue { clickOutsideDeactivates: true, allowOutsideClick: true }
31
- */
32
- focusTrapOptions?: unknown;
33
- /**
34
- * Whether it is open or not
35
- */
36
- isOpen: boolean;
37
- /**
38
- * A function that will be called when closed
39
- */
40
- onClose?: () => void;
41
- /**
42
- * A function that will be called when closing is finished executing, this
43
- * includes waiting for animations/transitions to finish.
44
- */
45
- didClose?: () => void;
46
- /**
47
- * A function that will be called when opened
48
- */
49
- onOpen?: () => void;
50
- /**
51
- * Whether to close when the area outside (the backdrop) is clicked
52
- *
53
- * @defaultValue true
54
- */
55
- closeOnOutsideClick?: boolean;
56
- /**
57
- * Whether to close when the overlay element is clicked, used for modal and drawer components.
58
- * This is set to true by default to allow "outside click" functionality to work properly.
59
- * Most overlay content is wrapped with an inner element, preventing accidental closure.
60
- *
61
- * @defaultValue true
62
- */
63
- closeOnOverlayElementClick?: boolean;
64
- /**
65
- * Whether to close when the escape key is pressed
66
- *
67
- * @defaultValue true
68
- */
69
- closeOnEscapeKey?: boolean;
70
- /**
71
- * Transition options
72
- *
73
- * @defaultValue {name:'overlay-transition--fade'}
74
- */
75
- transition?: CssTransitionSignature['Args']['Named'];
76
- disableFlexContent?: boolean;
77
- customContentModifier?: ModifierLike<{
78
- Element: HTMLElement;
79
- }>;
80
- class?: string;
81
- /**
82
- * @defaultValue false
83
- */
84
- preventFocusRestore?: boolean;
85
- /**
86
- * When focusTrap is disabled, by default Oberlay will be auto focused. This option prevents that.
87
- * @defaultValue false
88
- */
89
- preventAutoFocus?: boolean;
90
- /**
91
- * @defaultValue true
92
- */
93
- blockScroll?: boolean;
94
- }
95
- interface OverlaySignature {
96
- Args: Args;
97
- Element: HTMLDivElement;
98
- Blocks: {
99
- default: [];
100
- };
101
- }
102
- declare class Overlay extends Component<OverlaySignature> {
103
- keepOpen: boolean;
104
- contentElement: HTMLElement | undefined;
105
- focusedElement: Element | null | undefined;
106
- mouseDownContentElement: EventTarget | null;
107
- handleClose(): void;
108
- handleContentClick(event: MouseEvent): void;
109
- handleOutsideClick(e: Event): void;
110
- handleContentMouseDown(event: MouseEvent): void;
111
- handleKeyDown(event: KeyboardEvent): void;
112
- setupContent: import("ember-modifier").FunctionBasedModifier<{
113
- Args: {
114
- Positional: unknown[];
115
- Named: import("ember-modifier/-private/signature").EmptyObject;
116
- };
117
- Element: HTMLDivElement;
118
- }>;
119
- get isVisible(): boolean;
120
- get backdrop(): BackdropSignature['Args']['type'];
121
- get isAnimationEnabled(): boolean;
122
- get focusTrapOptions(): unknown;
123
- get classes(): string;
124
- get customContentModifier(): ModifierLike<{
125
- Element: HTMLElement;
126
- }> | import("ember-modifier").FunctionBasedModifier<{
127
- Args: {
128
- Positional: unknown[];
129
- Named: import("ember-modifier/-private/signature").EmptyObject;
130
- };
131
- Element: Element;
132
- }>;
133
- get backdropTransition(): {
134
- didTransitionIn?: () => void;
135
- didTransitionOut?: () => void;
136
- enterClass?: string;
137
- enterActiveClass?: string;
138
- enterToClass?: string;
139
- isEnabled?: boolean;
140
- leaveClass?: string;
141
- leaveActiveClass?: string;
142
- leaveToClass?: string;
143
- name?: string;
144
- parentSelector?: string;
145
- };
146
- get transition(): {
147
- didTransitionIn?: () => void;
148
- didTransitionOut?: () => void;
149
- enterClass?: string;
150
- enterActiveClass?: string;
151
- enterToClass?: string;
152
- isEnabled?: boolean;
153
- leaveClass?: string;
154
- leaveActiveClass?: string;
155
- leaveToClass?: string;
156
- name?: string;
157
- parentSelector?: string;
158
- };
159
- }
160
- export { Overlay, type OverlaySignature };
161
- export default Overlay;
1
+ export { default as Overlay } from 'frontile/components/overlays/overlay';