@mekari/pixel3-modal 0.0.15 → 0.0.16-dev.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/dist/chunk-T47XIOLI.mjs +0 -0
- package/dist/content.d.mts +7 -7
- package/dist/content.d.ts +7 -7
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -0
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/modal.d.mts +7 -7
- package/dist/modal.d.ts +7 -7
- package/dist/modules/modal.context.d.mts +1 -0
- package/dist/modules/modal.context.d.ts +1 -0
- package/dist/modules/modal.props.d.mts +6 -8
- package/dist/modules/modal.props.d.ts +6 -8
- package/dist/modules/modal.types.d.mts +6 -0
- package/dist/modules/modal.types.d.ts +6 -0
- package/dist/modules/modal.types.js +18 -0
- package/dist/modules/modal.types.mjs +1 -0
- package/dist/modules/useModal.d.mts +4 -3
- package/dist/modules/useModal.d.ts +4 -3
- package/package.json +6 -5
|
File without changes
|
package/dist/content.d.mts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
2
|
-
import { Placement } from './modules/modal.props.mjs';
|
|
3
2
|
import * as vue from 'vue';
|
|
3
|
+
import { ModalType, ModalPlacement } from './modules/modal.types.mjs';
|
|
4
4
|
|
|
5
5
|
declare const MpModalContent: vue.DefineComponent<{
|
|
6
6
|
type: {
|
|
7
|
-
type: vue.PropType<
|
|
7
|
+
type: vue.PropType<ModalType>;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
placement: {
|
|
11
|
-
type: vue.PropType<
|
|
11
|
+
type: vue.PropType<ModalPlacement>;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
}, () => vue_jsx_runtime.JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
15
15
|
type: {
|
|
16
|
-
type: vue.PropType<
|
|
16
|
+
type: vue.PropType<ModalType>;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
placement: {
|
|
20
|
-
type: vue.PropType<
|
|
20
|
+
type: vue.PropType<ModalPlacement>;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
23
|
}>>, {
|
|
24
|
-
type:
|
|
25
|
-
placement:
|
|
24
|
+
type: ModalType;
|
|
25
|
+
placement: ModalPlacement;
|
|
26
26
|
}, {}>;
|
|
27
27
|
|
|
28
28
|
export { MpModalContent };
|
package/dist/content.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
2
|
-
import { Placement } from './modules/modal.props.js';
|
|
3
2
|
import * as vue from 'vue';
|
|
3
|
+
import { ModalType, ModalPlacement } from './modules/modal.types.js';
|
|
4
4
|
|
|
5
5
|
declare const MpModalContent: vue.DefineComponent<{
|
|
6
6
|
type: {
|
|
7
|
-
type: vue.PropType<
|
|
7
|
+
type: vue.PropType<ModalType>;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
placement: {
|
|
11
|
-
type: vue.PropType<
|
|
11
|
+
type: vue.PropType<ModalPlacement>;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
}, () => vue_jsx_runtime.JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
15
15
|
type: {
|
|
16
|
-
type: vue.PropType<
|
|
16
|
+
type: vue.PropType<ModalType>;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
placement: {
|
|
20
|
-
type: vue.PropType<
|
|
20
|
+
type: vue.PropType<ModalPlacement>;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
23
|
}>>, {
|
|
24
|
-
type:
|
|
25
|
-
placement:
|
|
24
|
+
type: ModalType;
|
|
25
|
+
placement: ModalPlacement;
|
|
26
26
|
}, {}>;
|
|
27
27
|
|
|
28
28
|
export { MpModalContent };
|
package/dist/index.d.mts
CHANGED
|
@@ -5,6 +5,6 @@ export { MpModalBody } from './body.mjs';
|
|
|
5
5
|
export { MpModalHeader } from './header.mjs';
|
|
6
6
|
export { MpModalFooter } from './footer.mjs';
|
|
7
7
|
export { MpModalCloseButton } from './close-button.mjs';
|
|
8
|
+
export { ModalBaseSize, ModalPlacement, ModalScrollBehavior, ModalType } from './modules/modal.types.mjs';
|
|
8
9
|
import 'vue/jsx-runtime';
|
|
9
|
-
import './modules/modal.props.mjs';
|
|
10
10
|
import 'vue';
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,6 @@ export { MpModalBody } from './body.js';
|
|
|
5
5
|
export { MpModalHeader } from './header.js';
|
|
6
6
|
export { MpModalFooter } from './footer.js';
|
|
7
7
|
export { MpModalCloseButton } from './close-button.js';
|
|
8
|
+
export { ModalBaseSize, ModalPlacement, ModalScrollBehavior, ModalType } from './modules/modal.types.js';
|
|
8
9
|
import 'vue/jsx-runtime';
|
|
9
|
-
import './modules/modal.props.js';
|
|
10
10
|
import 'vue';
|
package/dist/index.mjs
CHANGED
package/dist/metafile-cjs.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/modules/modal.context.ts":{"bytes":517,"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"},"src/body.tsx":{"bytes":899,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/close-button.tsx":{"bytes":837,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-button","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/modules/useModal.ts":{"bytes":7065,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"body-scroll-lock","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modal.context"},{"path":"animejs","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/modal.props.ts":{"bytes":1715,"imports":[],"format":"esm"},"src/content.tsx":{"bytes":2061,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/useModal.ts","kind":"import-statement","original":"./modules/useModal"},{"path":"src/modules/modal.props.ts","kind":"import-statement","original":"./modules/modal.props"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/footer.tsx":{"bytes":596,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/header.tsx":{"bytes":596,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/modal.tsx":{"bytes":2128,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"src/modules/modal.props.ts","kind":"import-statement","original":"./modules/modal.props"},{"path":"src/modules/useModal.ts","kind":"import-statement","original":"./modules/useModal"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/overlay.tsx":{"bytes":2005,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"animejs","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":271,"imports":[{"path":"src/modal.tsx","kind":"import-statement","original":"./modal"},{"path":"src/overlay.tsx","kind":"import-statement","original":"./overlay"},{"path":"src/content.tsx","kind":"import-statement","original":"./content"},{"path":"src/body.tsx","kind":"import-statement","original":"./body"},{"path":"src/header.tsx","kind":"import-statement","original":"./header"},{"path":"src/footer.tsx","kind":"import-statement","original":"./footer"},{"path":"src/close-button.tsx","kind":"import-statement","original":"./close-button"}],"format":"esm"}},"outputs":{"dist/body.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/body.tsx","inputs":{"src/body.tsx":{"bytesInOutput":904},"src/modules/modal.context.ts":{"bytesInOutput":162}},"bytes":2037},"dist/close-button.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-button","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/close-button.tsx","inputs":{"src/close-button.tsx":{"bytesInOutput":912},"src/modules/modal.context.ts":{"bytesInOutput":162}},"bytes":2068},"dist/content.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"body-scroll-lock","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"animejs","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/content.tsx","inputs":{"src/content.tsx":{"bytesInOutput":1971},"src/modules/useModal.ts":{"bytesInOutput":6364},"src/modules/modal.context.ts":{"bytesInOutput":162},"src/modules/modal.props.ts":{"bytesInOutput":141}},"bytes":10392},"dist/footer.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/footer.tsx","inputs":{"src/footer.tsx":{"bytesInOutput":670}},"bytes":1595},"dist/header.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/header.tsx","inputs":{"src/header.tsx":{"bytesInOutput":670}},"bytes":1595},"dist/index.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"body-scroll-lock","kind":"require-call","external":true},{"path":"animejs","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"animejs","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-button","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":357},"src/modal.tsx":{"bytesInOutput":1933},"src/modules/modal.context.ts":{"bytesInOutput":162},"src/modules/modal.props.ts":{"bytesInOutput":886},"src/modules/useModal.ts":{"bytesInOutput":7172},"src/overlay.tsx":{"bytesInOutput":1966},"src/content.tsx":{"bytesInOutput":1828},"src/body.tsx":{"bytesInOutput":780},"src/header.tsx":{"bytesInOutput":538},"src/footer.tsx":{"bytesInOutput":538},"src/close-button.tsx":{"bytesInOutput":752}},"bytes":18871},"dist/modal.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"body-scroll-lock","kind":"require-call","external":true},{"path":"animejs","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modal.tsx","inputs":{"src/modal.tsx":{"bytesInOutput":2058},"src/modules/modal.context.ts":{"bytesInOutput":162},"src/modules/modal.props.ts":{"bytesInOutput":745},"src/modules/useModal.ts":{"bytesInOutput":1068}},"bytes":5748},"dist/overlay.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"animejs","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/overlay.tsx","inputs":{"src/overlay.tsx":{"bytesInOutput":2099},"src/modules/modal.context.ts":{"bytesInOutput":162}},"bytes":3928},"dist/modules/modal.context.js":{"imports":[{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/modal.context.ts","inputs":{"src/modules/modal.context.ts":{"bytesInOutput":365}},"bytes":1323},"dist/modules/modal.props.js":{"imports":[],"exports":[],"entryPoint":"src/modules/modal.props.ts","inputs":{"src/modules/modal.props.ts":{"bytesInOutput":1113}},"bytes":2082},"dist/modules/useModal.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"body-scroll-lock","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"animejs","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/useModal.ts","inputs":{"src/modules/useModal.ts":{"bytesInOutput":7378},"src/modules/modal.context.ts":{"bytesInOutput":162}},"bytes":9249}}}
|
|
1
|
+
{"inputs":{"src/modules/modal.context.ts":{"bytes":517,"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"},"src/body.tsx":{"bytes":899,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/close-button.tsx":{"bytes":837,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-button","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/modules/useModal.ts":{"bytes":7112,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"body-scroll-lock","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modal.context"},{"path":"animejs","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/modal.props.ts":{"bytes":1633,"imports":[],"format":"esm"},"src/content.tsx":{"bytes":2061,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/useModal.ts","kind":"import-statement","original":"./modules/useModal"},{"path":"src/modules/modal.props.ts","kind":"import-statement","original":"./modules/modal.props"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/footer.tsx":{"bytes":596,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/header.tsx":{"bytes":596,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/modal.tsx":{"bytes":2128,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"src/modules/modal.props.ts","kind":"import-statement","original":"./modules/modal.props"},{"path":"src/modules/useModal.ts","kind":"import-statement","original":"./modules/useModal"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/overlay.tsx":{"bytes":2005,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"animejs","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/modal.types.ts":{"bytes":331,"imports":[],"format":"esm"},"src/index.ts":{"bytes":310,"imports":[{"path":"src/modal.tsx","kind":"import-statement","original":"./modal"},{"path":"src/overlay.tsx","kind":"import-statement","original":"./overlay"},{"path":"src/content.tsx","kind":"import-statement","original":"./content"},{"path":"src/body.tsx","kind":"import-statement","original":"./body"},{"path":"src/header.tsx","kind":"import-statement","original":"./header"},{"path":"src/footer.tsx","kind":"import-statement","original":"./footer"},{"path":"src/close-button.tsx","kind":"import-statement","original":"./close-button"},{"path":"src/modules/modal.types.ts","kind":"import-statement","original":"./modules/modal.types"}],"format":"esm"}},"outputs":{"dist/body.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/body.tsx","inputs":{"src/body.tsx":{"bytesInOutput":904},"src/modules/modal.context.ts":{"bytesInOutput":162}},"bytes":2037},"dist/close-button.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-button","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/close-button.tsx","inputs":{"src/close-button.tsx":{"bytesInOutput":912},"src/modules/modal.context.ts":{"bytesInOutput":162}},"bytes":2068},"dist/content.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"body-scroll-lock","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"animejs","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/content.tsx","inputs":{"src/content.tsx":{"bytesInOutput":1971},"src/modules/useModal.ts":{"bytesInOutput":6364},"src/modules/modal.context.ts":{"bytesInOutput":162},"src/modules/modal.props.ts":{"bytesInOutput":141}},"bytes":10392},"dist/footer.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/footer.tsx","inputs":{"src/footer.tsx":{"bytesInOutput":670}},"bytes":1595},"dist/header.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/header.tsx","inputs":{"src/header.tsx":{"bytesInOutput":670}},"bytes":1595},"dist/index.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"body-scroll-lock","kind":"require-call","external":true},{"path":"animejs","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"animejs","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-button","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":357},"src/modal.tsx":{"bytesInOutput":1933},"src/modules/modal.context.ts":{"bytesInOutput":162},"src/modules/modal.props.ts":{"bytesInOutput":886},"src/modules/useModal.ts":{"bytesInOutput":7172},"src/overlay.tsx":{"bytesInOutput":1966},"src/content.tsx":{"bytesInOutput":1828},"src/body.tsx":{"bytesInOutput":780},"src/header.tsx":{"bytesInOutput":538},"src/footer.tsx":{"bytesInOutput":538},"src/close-button.tsx":{"bytesInOutput":752}},"bytes":18871},"dist/modal.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"body-scroll-lock","kind":"require-call","external":true},{"path":"animejs","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modal.tsx","inputs":{"src/modal.tsx":{"bytesInOutput":2058},"src/modules/modal.context.ts":{"bytesInOutput":162},"src/modules/modal.props.ts":{"bytesInOutput":745},"src/modules/useModal.ts":{"bytesInOutput":1068}},"bytes":5748},"dist/overlay.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"animejs","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/overlay.tsx","inputs":{"src/overlay.tsx":{"bytesInOutput":2099},"src/modules/modal.context.ts":{"bytesInOutput":162}},"bytes":3928},"dist/modules/modal.context.js":{"imports":[{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/modal.context.ts","inputs":{"src/modules/modal.context.ts":{"bytesInOutput":365}},"bytes":1323},"dist/modules/modal.props.js":{"imports":[],"exports":[],"entryPoint":"src/modules/modal.props.ts","inputs":{"src/modules/modal.props.ts":{"bytesInOutput":1113}},"bytes":2082},"dist/modules/modal.types.js":{"imports":[],"exports":[],"entryPoint":"src/modules/modal.types.ts","inputs":{"src/modules/modal.types.ts":{"bytesInOutput":82}},"bytes":784},"dist/modules/useModal.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"body-scroll-lock","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"animejs","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/useModal.ts","inputs":{"src/modules/useModal.ts":{"bytesInOutput":7378},"src/modules/modal.context.ts":{"bytesInOutput":162}},"bytes":9249}}}
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/modules/modal.context.ts":{"bytes":517,"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"},"src/body.tsx":{"bytes":899,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/close-button.tsx":{"bytes":837,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-button","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/modules/useModal.ts":{"bytes":7065,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"body-scroll-lock","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modal.context"},{"path":"animejs","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/modal.props.ts":{"bytes":1715,"imports":[],"format":"esm"},"src/content.tsx":{"bytes":2061,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/useModal.ts","kind":"import-statement","original":"./modules/useModal"},{"path":"src/modules/modal.props.ts","kind":"import-statement","original":"./modules/modal.props"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/footer.tsx":{"bytes":596,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/header.tsx":{"bytes":596,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/modal.tsx":{"bytes":2128,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"src/modules/modal.props.ts","kind":"import-statement","original":"./modules/modal.props"},{"path":"src/modules/useModal.ts","kind":"import-statement","original":"./modules/useModal"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/overlay.tsx":{"bytes":2005,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"animejs","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":271,"imports":[{"path":"src/modal.tsx","kind":"import-statement","original":"./modal"},{"path":"src/overlay.tsx","kind":"import-statement","original":"./overlay"},{"path":"src/content.tsx","kind":"import-statement","original":"./content"},{"path":"src/body.tsx","kind":"import-statement","original":"./body"},{"path":"src/header.tsx","kind":"import-statement","original":"./header"},{"path":"src/footer.tsx","kind":"import-statement","original":"./footer"},{"path":"src/close-button.tsx","kind":"import-statement","original":"./close-button"}],"format":"esm"}},"outputs":{"dist/modules/modal.context.mjs":{"imports":[{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["ModalProvider","useModalContext"],"entryPoint":"src/modules/modal.context.ts","inputs":{},"bytes":155},"dist/modules/modal.props.mjs":{"imports":[{"path":"dist/chunk-C32JEGIV.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["modalContentProps","modalEmits","modalProps"],"entryPoint":"src/modules/modal.props.ts","inputs":{},"bytes":181},"dist/modules/useModal.mjs":{"imports":[{"path":"dist/chunk-DOYCA7TN.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["baseSizes","useModal","useModalContent"],"entryPoint":"src/modules/useModal.ts","inputs":{},"bytes":203},"dist/body.mjs":{"imports":[{"path":"dist/chunk-ASQKAMBD.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModalBody"],"entryPoint":"src/body.tsx","inputs":{},"bytes":142},"dist/close-button.mjs":{"imports":[{"path":"dist/chunk-D4KITWKW.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModalCloseButton"],"entryPoint":"src/close-button.tsx","inputs":{},"bytes":156},"dist/content.mjs":{"imports":[{"path":"dist/chunk-GECRKENZ.mjs","kind":"import-statement"},{"path":"dist/chunk-C32JEGIV.mjs","kind":"import-statement"},{"path":"dist/chunk-DOYCA7TN.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModalContent"],"entryPoint":"src/content.tsx","inputs":{},"bytes":210},"dist/footer.mjs":{"imports":[{"path":"dist/chunk-THCDEEFK.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModalFooter"],"entryPoint":"src/footer.tsx","inputs":{},"bytes":115},"dist/header.mjs":{"imports":[{"path":"dist/chunk-FXPPG3HJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModalHeader"],"entryPoint":"src/header.tsx","inputs":{},"bytes":115},"dist/index.mjs":{"imports":[{"path":"dist/chunk-ASQKAMBD.mjs","kind":"import-statement"},{"path":"dist/chunk-D4KITWKW.mjs","kind":"import-statement"},{"path":"dist/chunk-GECRKENZ.mjs","kind":"import-statement"},{"path":"dist/chunk-THCDEEFK.mjs","kind":"import-statement"},{"path":"dist/chunk-FXPPG3HJ.mjs","kind":"import-statement"},{"path":"dist/chunk-F4DFMFXX.mjs","kind":"import-statement"},{"path":"dist/chunk-C32JEGIV.mjs","kind":"import-statement"},{"path":"dist/chunk-DOYCA7TN.mjs","kind":"import-statement"},{"path":"dist/chunk-FU2Y3XYA.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModal","MpModalBody","MpModalCloseButton","MpModalContent","MpModalFooter","MpModalHeader","MpModalOverlay"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":644},"dist/chunk-ASQKAMBD.mjs":{"imports":[{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["MpModalBody"],"inputs":{"src/body.tsx":{"bytesInOutput":747}},"bytes":849},"dist/chunk-D4KITWKW.mjs":{"imports":[{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-button","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["MpModalCloseButton"],"inputs":{"src/close-button.tsx":{"bytesInOutput":685}},"bytes":802},"dist/chunk-GECRKENZ.mjs":{"imports":[{"path":"dist/chunk-C32JEGIV.mjs","kind":"import-statement"},{"path":"dist/chunk-DOYCA7TN.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["MpModalContent"],"inputs":{"src/content.tsx":{"bytesInOutput":1801}},"bytes":1982},"dist/chunk-THCDEEFK.mjs":{"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["MpModalFooter"],"inputs":{"src/footer.tsx":{"bytesInOutput":503}},"bytes":550},"dist/chunk-FXPPG3HJ.mjs":{"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["MpModalHeader"],"inputs":{"src/header.tsx":{"bytesInOutput":503}},"bytes":550},"dist/modal.mjs":{"imports":[{"path":"dist/chunk-F4DFMFXX.mjs","kind":"import-statement"},{"path":"dist/chunk-C32JEGIV.mjs","kind":"import-statement"},{"path":"dist/chunk-DOYCA7TN.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModal"],"entryPoint":"src/modal.tsx","inputs":{},"bytes":196},"dist/chunk-F4DFMFXX.mjs":{"imports":[{"path":"dist/chunk-C32JEGIV.mjs","kind":"import-statement"},{"path":"dist/chunk-DOYCA7TN.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["MpModal"],"inputs":{"src/modal.tsx":{"bytesInOutput":1856}},"bytes":2071},"dist/chunk-C32JEGIV.mjs":{"imports":[],"exports":["modalContentProps","modalEmits","modalProps"],"inputs":{"src/modules/modal.props.ts":{"bytesInOutput":886}},"bytes":977},"dist/chunk-DOYCA7TN.mjs":{"imports":[{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"body-scroll-lock","kind":"import-statement","external":true},{"path":"animejs","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"exports":["baseSizes","useModal","useModalContent"],"inputs":{"src/modules/useModal.ts":{"bytesInOutput":6889}},"bytes":7080},"dist/overlay.mjs":{"imports":[{"path":"dist/chunk-FU2Y3XYA.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModalOverlay"],"entryPoint":"src/overlay.tsx","inputs":{},"bytes":148},"dist/chunk-FU2Y3XYA.mjs":{"imports":[{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"animejs","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["MpModalOverlay"],"inputs":{"src/overlay.tsx":{"bytesInOutput":1874}},"bytes":2031},"dist/chunk-DKUTSUEJ.mjs":{"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"exports":["ModalProvider","useModalContext"],"inputs":{"src/modules/modal.context.ts":{"bytesInOutput":140}},"bytes":220},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151}}}
|
|
1
|
+
{"inputs":{"src/modules/modal.context.ts":{"bytes":517,"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"},"src/body.tsx":{"bytes":899,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/close-button.tsx":{"bytes":837,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-button","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/modules/useModal.ts":{"bytes":7112,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"body-scroll-lock","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modal.context"},{"path":"animejs","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/modal.props.ts":{"bytes":1633,"imports":[],"format":"esm"},"src/content.tsx":{"bytes":2061,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/useModal.ts","kind":"import-statement","original":"./modules/useModal"},{"path":"src/modules/modal.props.ts","kind":"import-statement","original":"./modules/modal.props"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/footer.tsx":{"bytes":596,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/header.tsx":{"bytes":596,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/modal.tsx":{"bytes":2128,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"src/modules/modal.props.ts","kind":"import-statement","original":"./modules/modal.props"},{"path":"src/modules/useModal.ts","kind":"import-statement","original":"./modules/useModal"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/overlay.tsx":{"bytes":2005,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"animejs","kind":"import-statement","external":true},{"path":"src/modules/modal.context.ts","kind":"import-statement","original":"./modules/modal.context"},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/modal.types.ts":{"bytes":331,"imports":[],"format":"esm"},"src/index.ts":{"bytes":310,"imports":[{"path":"src/modal.tsx","kind":"import-statement","original":"./modal"},{"path":"src/overlay.tsx","kind":"import-statement","original":"./overlay"},{"path":"src/content.tsx","kind":"import-statement","original":"./content"},{"path":"src/body.tsx","kind":"import-statement","original":"./body"},{"path":"src/header.tsx","kind":"import-statement","original":"./header"},{"path":"src/footer.tsx","kind":"import-statement","original":"./footer"},{"path":"src/close-button.tsx","kind":"import-statement","original":"./close-button"},{"path":"src/modules/modal.types.ts","kind":"import-statement","original":"./modules/modal.types"}],"format":"esm"}},"outputs":{"dist/modules/modal.context.mjs":{"imports":[{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["ModalProvider","useModalContext"],"entryPoint":"src/modules/modal.context.ts","inputs":{},"bytes":155},"dist/modules/modal.props.mjs":{"imports":[{"path":"dist/chunk-C32JEGIV.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["modalContentProps","modalEmits","modalProps"],"entryPoint":"src/modules/modal.props.ts","inputs":{},"bytes":181},"dist/modules/modal.types.mjs":{"imports":[{"path":"dist/chunk-T47XIOLI.mjs","kind":"import-statement"}],"exports":[],"entryPoint":"src/modules/modal.types.ts","inputs":{},"bytes":32},"dist/modules/useModal.mjs":{"imports":[{"path":"dist/chunk-DOYCA7TN.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["baseSizes","useModal","useModalContent"],"entryPoint":"src/modules/useModal.ts","inputs":{},"bytes":203},"dist/body.mjs":{"imports":[{"path":"dist/chunk-ASQKAMBD.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModalBody"],"entryPoint":"src/body.tsx","inputs":{},"bytes":142},"dist/close-button.mjs":{"imports":[{"path":"dist/chunk-D4KITWKW.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModalCloseButton"],"entryPoint":"src/close-button.tsx","inputs":{},"bytes":156},"dist/content.mjs":{"imports":[{"path":"dist/chunk-GECRKENZ.mjs","kind":"import-statement"},{"path":"dist/chunk-C32JEGIV.mjs","kind":"import-statement"},{"path":"dist/chunk-DOYCA7TN.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModalContent"],"entryPoint":"src/content.tsx","inputs":{},"bytes":210},"dist/footer.mjs":{"imports":[{"path":"dist/chunk-THCDEEFK.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModalFooter"],"entryPoint":"src/footer.tsx","inputs":{},"bytes":115},"dist/header.mjs":{"imports":[{"path":"dist/chunk-FXPPG3HJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModalHeader"],"entryPoint":"src/header.tsx","inputs":{},"bytes":115},"dist/index.mjs":{"imports":[{"path":"dist/chunk-T47XIOLI.mjs","kind":"import-statement"},{"path":"dist/chunk-ASQKAMBD.mjs","kind":"import-statement"},{"path":"dist/chunk-D4KITWKW.mjs","kind":"import-statement"},{"path":"dist/chunk-GECRKENZ.mjs","kind":"import-statement"},{"path":"dist/chunk-THCDEEFK.mjs","kind":"import-statement"},{"path":"dist/chunk-FXPPG3HJ.mjs","kind":"import-statement"},{"path":"dist/chunk-F4DFMFXX.mjs","kind":"import-statement"},{"path":"dist/chunk-C32JEGIV.mjs","kind":"import-statement"},{"path":"dist/chunk-DOYCA7TN.mjs","kind":"import-statement"},{"path":"dist/chunk-FU2Y3XYA.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModal","MpModalBody","MpModalCloseButton","MpModalContent","MpModalFooter","MpModalHeader","MpModalOverlay"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":675},"dist/chunk-T47XIOLI.mjs":{"imports":[],"exports":[],"inputs":{"src/modules/modal.types.ts":{"bytesInOutput":0}},"bytes":0},"dist/chunk-ASQKAMBD.mjs":{"imports":[{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["MpModalBody"],"inputs":{"src/body.tsx":{"bytesInOutput":747}},"bytes":849},"dist/chunk-D4KITWKW.mjs":{"imports":[{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-button","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["MpModalCloseButton"],"inputs":{"src/close-button.tsx":{"bytesInOutput":685}},"bytes":802},"dist/chunk-GECRKENZ.mjs":{"imports":[{"path":"dist/chunk-C32JEGIV.mjs","kind":"import-statement"},{"path":"dist/chunk-DOYCA7TN.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["MpModalContent"],"inputs":{"src/content.tsx":{"bytesInOutput":1801}},"bytes":1982},"dist/chunk-THCDEEFK.mjs":{"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["MpModalFooter"],"inputs":{"src/footer.tsx":{"bytesInOutput":503}},"bytes":550},"dist/chunk-FXPPG3HJ.mjs":{"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["MpModalHeader"],"inputs":{"src/header.tsx":{"bytesInOutput":503}},"bytes":550},"dist/modal.mjs":{"imports":[{"path":"dist/chunk-F4DFMFXX.mjs","kind":"import-statement"},{"path":"dist/chunk-C32JEGIV.mjs","kind":"import-statement"},{"path":"dist/chunk-DOYCA7TN.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModal"],"entryPoint":"src/modal.tsx","inputs":{},"bytes":196},"dist/chunk-F4DFMFXX.mjs":{"imports":[{"path":"dist/chunk-C32JEGIV.mjs","kind":"import-statement"},{"path":"dist/chunk-DOYCA7TN.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["MpModal"],"inputs":{"src/modal.tsx":{"bytesInOutput":1856}},"bytes":2071},"dist/chunk-C32JEGIV.mjs":{"imports":[],"exports":["modalContentProps","modalEmits","modalProps"],"inputs":{"src/modules/modal.props.ts":{"bytesInOutput":886}},"bytes":977},"dist/chunk-DOYCA7TN.mjs":{"imports":[{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"body-scroll-lock","kind":"import-statement","external":true},{"path":"animejs","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"exports":["baseSizes","useModal","useModalContent"],"inputs":{"src/modules/useModal.ts":{"bytesInOutput":6889}},"bytes":7080},"dist/overlay.mjs":{"imports":[{"path":"dist/chunk-FU2Y3XYA.mjs","kind":"import-statement"},{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpModalOverlay"],"entryPoint":"src/overlay.tsx","inputs":{},"bytes":148},"dist/chunk-FU2Y3XYA.mjs":{"imports":[{"path":"dist/chunk-DKUTSUEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"animejs","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["MpModalOverlay"],"inputs":{"src/overlay.tsx":{"bytesInOutput":1874}},"bytes":2031},"dist/chunk-DKUTSUEJ.mjs":{"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"exports":["ModalProvider","useModalContext"],"inputs":{"src/modules/modal.context.ts":{"bytesInOutput":140}},"bytes":220},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151}}}
|
package/dist/modal.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
2
|
-
import { ScrollBehavior, BaseSize } from './modules/modal.props.mjs';
|
|
3
2
|
import * as vue from 'vue';
|
|
3
|
+
import { ModalScrollBehavior, ModalBaseSize } from './modules/modal.types.mjs';
|
|
4
4
|
|
|
5
5
|
declare const MpModal: vue.DefineComponent<{
|
|
6
6
|
id: {
|
|
@@ -31,11 +31,11 @@ declare const MpModal: vue.DefineComponent<{
|
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
scrollBehavior: {
|
|
34
|
-
type: vue.PropType<
|
|
34
|
+
type: vue.PropType<ModalScrollBehavior>;
|
|
35
35
|
default: string;
|
|
36
36
|
};
|
|
37
37
|
size: {
|
|
38
|
-
type: vue.PropType<
|
|
38
|
+
type: vue.PropType<ModalBaseSize>;
|
|
39
39
|
default: string;
|
|
40
40
|
};
|
|
41
41
|
isDisablePortal: {
|
|
@@ -78,11 +78,11 @@ declare const MpModal: vue.DefineComponent<{
|
|
|
78
78
|
default: boolean;
|
|
79
79
|
};
|
|
80
80
|
scrollBehavior: {
|
|
81
|
-
type: vue.PropType<
|
|
81
|
+
type: vue.PropType<ModalScrollBehavior>;
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
84
|
size: {
|
|
85
|
-
type: vue.PropType<
|
|
85
|
+
type: vue.PropType<ModalBaseSize>;
|
|
86
86
|
default: string;
|
|
87
87
|
};
|
|
88
88
|
isDisablePortal: {
|
|
@@ -103,8 +103,8 @@ declare const MpModal: vue.DefineComponent<{
|
|
|
103
103
|
isCloseOnOverlayClick: boolean;
|
|
104
104
|
isKeepAlive: boolean;
|
|
105
105
|
isCentered: boolean;
|
|
106
|
-
scrollBehavior:
|
|
107
|
-
size:
|
|
106
|
+
scrollBehavior: ModalScrollBehavior;
|
|
107
|
+
size: ModalBaseSize;
|
|
108
108
|
isDisablePortal: boolean;
|
|
109
109
|
isDisableFocusTrap: boolean;
|
|
110
110
|
}, {}>;
|
package/dist/modal.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
2
|
-
import { ScrollBehavior, BaseSize } from './modules/modal.props.js';
|
|
3
2
|
import * as vue from 'vue';
|
|
3
|
+
import { ModalScrollBehavior, ModalBaseSize } from './modules/modal.types.js';
|
|
4
4
|
|
|
5
5
|
declare const MpModal: vue.DefineComponent<{
|
|
6
6
|
id: {
|
|
@@ -31,11 +31,11 @@ declare const MpModal: vue.DefineComponent<{
|
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
scrollBehavior: {
|
|
34
|
-
type: vue.PropType<
|
|
34
|
+
type: vue.PropType<ModalScrollBehavior>;
|
|
35
35
|
default: string;
|
|
36
36
|
};
|
|
37
37
|
size: {
|
|
38
|
-
type: vue.PropType<
|
|
38
|
+
type: vue.PropType<ModalBaseSize>;
|
|
39
39
|
default: string;
|
|
40
40
|
};
|
|
41
41
|
isDisablePortal: {
|
|
@@ -78,11 +78,11 @@ declare const MpModal: vue.DefineComponent<{
|
|
|
78
78
|
default: boolean;
|
|
79
79
|
};
|
|
80
80
|
scrollBehavior: {
|
|
81
|
-
type: vue.PropType<
|
|
81
|
+
type: vue.PropType<ModalScrollBehavior>;
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
84
|
size: {
|
|
85
|
-
type: vue.PropType<
|
|
85
|
+
type: vue.PropType<ModalBaseSize>;
|
|
86
86
|
default: string;
|
|
87
87
|
};
|
|
88
88
|
isDisablePortal: {
|
|
@@ -103,8 +103,8 @@ declare const MpModal: vue.DefineComponent<{
|
|
|
103
103
|
isCloseOnOverlayClick: boolean;
|
|
104
104
|
isKeepAlive: boolean;
|
|
105
105
|
isCentered: boolean;
|
|
106
|
-
scrollBehavior:
|
|
107
|
-
size:
|
|
106
|
+
scrollBehavior: ModalScrollBehavior;
|
|
107
|
+
size: ModalBaseSize;
|
|
108
108
|
isDisablePortal: boolean;
|
|
109
109
|
isDisableFocusTrap: boolean;
|
|
110
110
|
}, {}>;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { ModalScrollBehavior, ModalBaseSize, ModalType, ModalPlacement } from './modal.types.mjs';
|
|
2
3
|
|
|
3
|
-
type BaseSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full';
|
|
4
|
-
type ScrollBehavior = 'inside' | 'outside' | 'auto';
|
|
5
|
-
type Placement = 'left' | 'right' | 'top' | 'bottom';
|
|
6
4
|
declare const modalProps: {
|
|
7
5
|
id: {
|
|
8
6
|
type: PropType<string>;
|
|
@@ -32,11 +30,11 @@ declare const modalProps: {
|
|
|
32
30
|
default: boolean;
|
|
33
31
|
};
|
|
34
32
|
scrollBehavior: {
|
|
35
|
-
type: PropType<
|
|
33
|
+
type: PropType<ModalScrollBehavior>;
|
|
36
34
|
default: string;
|
|
37
35
|
};
|
|
38
36
|
size: {
|
|
39
|
-
type: PropType<
|
|
37
|
+
type: PropType<ModalBaseSize>;
|
|
40
38
|
default: string;
|
|
41
39
|
};
|
|
42
40
|
isDisablePortal: {
|
|
@@ -50,11 +48,11 @@ declare const modalProps: {
|
|
|
50
48
|
};
|
|
51
49
|
declare const modalContentProps: {
|
|
52
50
|
type: {
|
|
53
|
-
type: PropType<
|
|
51
|
+
type: PropType<ModalType>;
|
|
54
52
|
default: string;
|
|
55
53
|
};
|
|
56
54
|
placement: {
|
|
57
|
-
type: PropType<
|
|
55
|
+
type: PropType<ModalPlacement>;
|
|
58
56
|
default: string;
|
|
59
57
|
};
|
|
60
58
|
};
|
|
@@ -65,4 +63,4 @@ declare const modalEmits: {
|
|
|
65
63
|
type ModalProps = ExtractPropTypes<typeof modalProps>;
|
|
66
64
|
type ModalContentProps = ExtractPropTypes<typeof modalContentProps>;
|
|
67
65
|
|
|
68
|
-
export {
|
|
66
|
+
export { ModalContentProps, ModalProps, modalContentProps, modalEmits, modalProps };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { ModalScrollBehavior, ModalBaseSize, ModalType, ModalPlacement } from './modal.types.js';
|
|
2
3
|
|
|
3
|
-
type BaseSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full';
|
|
4
|
-
type ScrollBehavior = 'inside' | 'outside' | 'auto';
|
|
5
|
-
type Placement = 'left' | 'right' | 'top' | 'bottom';
|
|
6
4
|
declare const modalProps: {
|
|
7
5
|
id: {
|
|
8
6
|
type: PropType<string>;
|
|
@@ -32,11 +30,11 @@ declare const modalProps: {
|
|
|
32
30
|
default: boolean;
|
|
33
31
|
};
|
|
34
32
|
scrollBehavior: {
|
|
35
|
-
type: PropType<
|
|
33
|
+
type: PropType<ModalScrollBehavior>;
|
|
36
34
|
default: string;
|
|
37
35
|
};
|
|
38
36
|
size: {
|
|
39
|
-
type: PropType<
|
|
37
|
+
type: PropType<ModalBaseSize>;
|
|
40
38
|
default: string;
|
|
41
39
|
};
|
|
42
40
|
isDisablePortal: {
|
|
@@ -50,11 +48,11 @@ declare const modalProps: {
|
|
|
50
48
|
};
|
|
51
49
|
declare const modalContentProps: {
|
|
52
50
|
type: {
|
|
53
|
-
type: PropType<
|
|
51
|
+
type: PropType<ModalType>;
|
|
54
52
|
default: string;
|
|
55
53
|
};
|
|
56
54
|
placement: {
|
|
57
|
-
type: PropType<
|
|
55
|
+
type: PropType<ModalPlacement>;
|
|
58
56
|
default: string;
|
|
59
57
|
};
|
|
60
58
|
};
|
|
@@ -65,4 +63,4 @@ declare const modalEmits: {
|
|
|
65
63
|
type ModalProps = ExtractPropTypes<typeof modalProps>;
|
|
66
64
|
type ModalContentProps = ExtractPropTypes<typeof modalContentProps>;
|
|
67
65
|
|
|
68
|
-
export {
|
|
66
|
+
export { ModalContentProps, ModalProps, modalContentProps, modalEmits, modalProps };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type ModalType = 'modal' | 'drawer';
|
|
2
|
+
type ModalBaseSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full';
|
|
3
|
+
type ModalScrollBehavior = 'inside' | 'outside' | 'auto';
|
|
4
|
+
type ModalPlacement = 'left' | 'right' | 'top' | 'bottom';
|
|
5
|
+
|
|
6
|
+
export { ModalBaseSize, ModalPlacement, ModalScrollBehavior, ModalType };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type ModalType = 'modal' | 'drawer';
|
|
2
|
+
type ModalBaseSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full';
|
|
3
|
+
type ModalScrollBehavior = 'inside' | 'outside' | 'auto';
|
|
4
|
+
type ModalPlacement = 'left' | 'right' | 'top' | 'bottom';
|
|
5
|
+
|
|
6
|
+
export { ModalBaseSize, ModalPlacement, ModalScrollBehavior, ModalType };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/modules/modal.types.ts
|
|
17
|
+
var modal_types_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(modal_types_exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../chunk-T47XIOLI.mjs";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { ModalProps, ModalContentProps } from './modal.props.mjs';
|
|
3
|
+
import { ModalBaseSize } from './modal.types.mjs';
|
|
3
4
|
|
|
4
|
-
declare const baseSizes: Record<
|
|
5
|
+
declare const baseSizes: Record<ModalBaseSize, string>;
|
|
5
6
|
declare function useModal(props: ModalProps, emit: CallableFunction): {
|
|
6
7
|
isModalOpen: vue.Ref<boolean>;
|
|
7
8
|
modalEl: vue.Ref<any>;
|
|
@@ -13,7 +14,7 @@ declare function useModalContent(props: ModalContentProps): {
|
|
|
13
14
|
wrapperEl: vue.Ref<any>;
|
|
14
15
|
isOpen: vue.Ref<boolean>;
|
|
15
16
|
isKeepAlive: vue.Ref<boolean>;
|
|
16
|
-
size: vue.Ref<
|
|
17
|
+
size: vue.Ref<ModalBaseSize>;
|
|
17
18
|
inlineStyle: vue.ComputedRef<{
|
|
18
19
|
wrapperStyle: {};
|
|
19
20
|
contentStyle: {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { ModalProps, ModalContentProps } from './modal.props.js';
|
|
3
|
+
import { ModalBaseSize } from './modal.types.js';
|
|
3
4
|
|
|
4
|
-
declare const baseSizes: Record<
|
|
5
|
+
declare const baseSizes: Record<ModalBaseSize, string>;
|
|
5
6
|
declare function useModal(props: ModalProps, emit: CallableFunction): {
|
|
6
7
|
isModalOpen: vue.Ref<boolean>;
|
|
7
8
|
modalEl: vue.Ref<any>;
|
|
@@ -13,7 +14,7 @@ declare function useModalContent(props: ModalContentProps): {
|
|
|
13
14
|
wrapperEl: vue.Ref<any>;
|
|
14
15
|
isOpen: vue.Ref<boolean>;
|
|
15
16
|
isKeepAlive: vue.Ref<boolean>;
|
|
16
|
-
size: vue.Ref<
|
|
17
|
+
size: vue.Ref<ModalBaseSize>;
|
|
17
18
|
inlineStyle: vue.ComputedRef<{
|
|
18
19
|
wrapperStyle: {};
|
|
19
20
|
contentStyle: {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mekari/pixel3-modal",
|
|
3
3
|
"description": "Modal component for mekari pixel 3",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.16-dev.1",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"files": [
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"animejs": "^3.2.2",
|
|
12
12
|
"body-scroll-lock": "4.0.0-beta.0",
|
|
13
|
-
"@mekari/pixel3-button": "0.0.
|
|
14
|
-
"@mekari/pixel3-
|
|
15
|
-
"@mekari/pixel3-
|
|
13
|
+
"@mekari/pixel3-button": "0.0.17-dev.1",
|
|
14
|
+
"@mekari/pixel3-styled-system": "0.1.2-dev.1",
|
|
15
|
+
"@mekari/pixel3-utils": "0.0.7-dev.1"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"vue": "^3.4.9"
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"build:types": "tsup src --dts-only",
|
|
42
42
|
"types:check": "tsc --noEmit",
|
|
43
43
|
"replace-config": "clean-package",
|
|
44
|
-
"restore-config": "clean-package restore"
|
|
44
|
+
"restore-config": "clean-package restore",
|
|
45
|
+
"types:vue": "vue-tsc --noEmit"
|
|
45
46
|
}
|
|
46
47
|
}
|