@mekari/pixel3-progress 0.0.0

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.
@@ -0,0 +1,27 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+
4
+ // src/modules/progress.props.ts
5
+ var progressProps = {
6
+ variant: {
7
+ type: String,
8
+ default: "linear"
9
+ },
10
+ size: {
11
+ type: String,
12
+ default: "md"
13
+ },
14
+ color: {
15
+ type: String,
16
+ default: "sky.400"
17
+ },
18
+ value: {
19
+ type: String,
20
+ default: "0"
21
+ }
22
+ };
23
+
24
+ export {
25
+ __name,
26
+ progressProps
27
+ };
@@ -0,0 +1,59 @@
1
+ import {
2
+ __name,
3
+ progressProps
4
+ } from "./chunk-624LFHHP.mjs";
5
+
6
+ // src/progress.tsx
7
+ import { createVNode as _createVNode } from "vue";
8
+ import { defineComponent } from "vue";
9
+ import { progressSlotRecipe } from "@mekari/pixel3-styled-system/recipes";
10
+ import { token } from "@mekari/pixel3-styled-system/tokens";
11
+ var MpProgress = defineComponent({
12
+ name: "MpProgress",
13
+ props: progressProps,
14
+ setup(props) {
15
+ const classes = progressSlotRecipe({
16
+ size: props.size,
17
+ variant: props.variant
18
+ });
19
+ const progressValue = /* @__PURE__ */ __name((val) => {
20
+ let value = Number(val);
21
+ if (value < 0)
22
+ value = 0;
23
+ if (value > 100)
24
+ value = 100;
25
+ if (props.variant === "circular") {
26
+ return `${value * 3.6}deg`;
27
+ }
28
+ return `${value}%`;
29
+ }, "progressValue");
30
+ return () => {
31
+ const {
32
+ value,
33
+ color
34
+ } = props;
35
+ return _createVNode("div", {
36
+ "class": classes.root,
37
+ "data-pixel-component": "MpProgress",
38
+ "role": "progressbar",
39
+ "aria-valuemax": "100",
40
+ "aria-valuemin": "0",
41
+ "aria-valuenow": value,
42
+ "style": {
43
+ "--mp-progress-color": token(`colors.${color}`) || color,
44
+ "--mp-progress-width": progressValue(value)
45
+ }
46
+ }, [props.variant === "linear" && _createVNode("div", {
47
+ "class": classes.linear
48
+ }, null), props.variant === "circular" && _createVNode("div", {
49
+ "class": classes.circularBase
50
+ }, [_createVNode("div", {
51
+ "class": classes.circularTrack
52
+ }, null)])]);
53
+ };
54
+ }
55
+ });
56
+
57
+ export {
58
+ MpProgress
59
+ };
@@ -0,0 +1,3 @@
1
+ export { MpProgress } from './progress.mjs';
2
+ import 'vue';
3
+ import './modules/progress.type.mjs';
@@ -0,0 +1,3 @@
1
+ export { MpProgress } from './progress.js';
2
+ import 'vue';
3
+ import './modules/progress.type.js';
package/dist/index.js ADDED
@@ -0,0 +1,103 @@
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 __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.tsx
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ MpProgress: () => MpProgress
25
+ });
26
+ module.exports = __toCommonJS(src_exports);
27
+
28
+ // src/progress.tsx
29
+ var import_vue = require("vue");
30
+ var import_vue2 = require("vue");
31
+ var import_recipes = require("@mekari/pixel3-styled-system/recipes");
32
+ var import_tokens = require("@mekari/pixel3-styled-system/tokens");
33
+
34
+ // src/modules/progress.props.ts
35
+ var progressProps = {
36
+ variant: {
37
+ type: String,
38
+ default: "linear"
39
+ },
40
+ size: {
41
+ type: String,
42
+ default: "md"
43
+ },
44
+ color: {
45
+ type: String,
46
+ default: "sky.400"
47
+ },
48
+ value: {
49
+ type: String,
50
+ default: "0"
51
+ }
52
+ };
53
+
54
+ // src/progress.tsx
55
+ var MpProgress = (0, import_vue2.defineComponent)({
56
+ name: "MpProgress",
57
+ props: progressProps,
58
+ setup(props) {
59
+ const classes = (0, import_recipes.progressSlotRecipe)({
60
+ size: props.size,
61
+ variant: props.variant
62
+ });
63
+ const progressValue = /* @__PURE__ */ __name((val) => {
64
+ let value = Number(val);
65
+ if (value < 0)
66
+ value = 0;
67
+ if (value > 100)
68
+ value = 100;
69
+ if (props.variant === "circular") {
70
+ return `${value * 3.6}deg`;
71
+ }
72
+ return `${value}%`;
73
+ }, "progressValue");
74
+ return () => {
75
+ const {
76
+ value,
77
+ color
78
+ } = props;
79
+ return (0, import_vue.createVNode)("div", {
80
+ "class": classes.root,
81
+ "data-pixel-component": "MpProgress",
82
+ "role": "progressbar",
83
+ "aria-valuemax": "100",
84
+ "aria-valuemin": "0",
85
+ "aria-valuenow": value,
86
+ "style": {
87
+ "--mp-progress-color": (0, import_tokens.token)(`colors.${color}`) || color,
88
+ "--mp-progress-width": progressValue(value)
89
+ }
90
+ }, [props.variant === "linear" && (0, import_vue.createVNode)("div", {
91
+ "class": classes.linear
92
+ }, null), props.variant === "circular" && (0, import_vue.createVNode)("div", {
93
+ "class": classes.circularBase
94
+ }, [(0, import_vue.createVNode)("div", {
95
+ "class": classes.circularTrack
96
+ }, null)])]);
97
+ };
98
+ }
99
+ });
100
+ // Annotate the CommonJS export names for ESM import in node:
101
+ 0 && (module.exports = {
102
+ MpProgress
103
+ });
package/dist/index.mjs ADDED
@@ -0,0 +1,7 @@
1
+ import {
2
+ MpProgress
3
+ } from "./chunk-ANRJP6RI.mjs";
4
+ import "./chunk-624LFHHP.mjs";
5
+ export {
6
+ MpProgress
7
+ };
@@ -0,0 +1 @@
1
+ {"inputs":{"src/modules/progress.props.ts":{"bytes":624,"imports":[{"path":"../modules/progress.type","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true}],"format":"esm"},"src/progress.tsx":{"bytes":1761,"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},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true},{"path":"src/modules/progress.props.ts","kind":"import-statement","original":"./modules/progress.props"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.tsx":{"bytes":125,"imports":[{"path":"src/progress.tsx","kind":"import-statement","original":"./progress"}],"format":"esm"},"src/modules/progress.type.ts":{"bytes":177,"imports":[],"format":"esm"}},"outputs":{"dist/index.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},{"path":"@mekari/pixel3-styled-system/tokens","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.tsx","inputs":{"src/index.tsx":{"bytesInOutput":125},"src/progress.tsx":{"bytesInOutput":1608},"src/modules/progress.props.ts":{"bytesInOutput":241}},"bytes":3061},"dist/progress.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},{"path":"@mekari/pixel3-styled-system/tokens","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/progress.tsx","inputs":{"src/progress.tsx":{"bytesInOutput":1748},"src/modules/progress.props.ts":{"bytesInOutput":241}},"bytes":3058},"dist/modules/progress.props.js":{"imports":[],"exports":[],"entryPoint":"src/modules/progress.props.ts","inputs":{"src/modules/progress.props.ts":{"bytesInOutput":405}},"bytes":1345},"dist/modules/progress.type.js":{"imports":[],"exports":[],"entryPoint":"src/modules/progress.type.ts","inputs":{"src/modules/progress.type.ts":{"bytesInOutput":86}},"bytes":790}}}
@@ -0,0 +1 @@
1
+ {"inputs":{"src/modules/progress.props.ts":{"bytes":624,"imports":[{"path":"../modules/progress.type","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true}],"format":"esm"},"src/progress.tsx":{"bytes":1761,"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},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true},{"path":"src/modules/progress.props.ts","kind":"import-statement","original":"./modules/progress.props"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.tsx":{"bytes":125,"imports":[{"path":"src/progress.tsx","kind":"import-statement","original":"./progress"}],"format":"esm"},"src/modules/progress.type.ts":{"bytes":177,"imports":[],"format":"esm"}},"outputs":{"dist/index.mjs":{"imports":[{"path":"dist/chunk-ANRJP6RI.mjs","kind":"import-statement"},{"path":"dist/chunk-624LFHHP.mjs","kind":"import-statement"}],"exports":["MpProgress"],"entryPoint":"src/index.tsx","inputs":{"src/index.tsx":{"bytesInOutput":0}},"bytes":109},"dist/progress.mjs":{"imports":[{"path":"dist/chunk-ANRJP6RI.mjs","kind":"import-statement"},{"path":"dist/chunk-624LFHHP.mjs","kind":"import-statement"}],"exports":["MpProgress"],"entryPoint":"src/progress.tsx","inputs":{},"bytes":109},"dist/chunk-ANRJP6RI.mjs":{"imports":[{"path":"dist/chunk-624LFHHP.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},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true}],"exports":["MpProgress"],"inputs":{"src/progress.tsx":{"bytesInOutput":1513}},"bytes":1626},"dist/modules/progress.props.mjs":{"imports":[{"path":"dist/chunk-624LFHHP.mjs","kind":"import-statement"}],"exports":["progressProps"],"entryPoint":"src/modules/progress.props.ts","inputs":{},"bytes":85},"dist/chunk-624LFHHP.mjs":{"imports":[],"exports":["__name","progressProps"],"inputs":{"src/modules/progress.props.ts":{"bytesInOutput":241}},"bytes":443},"dist/modules/progress.type.mjs":{"imports":[],"exports":[],"entryPoint":"src/modules/progress.type.ts","inputs":{"src/modules/progress.type.ts":{"bytesInOutput":0}},"bytes":0}}}
@@ -0,0 +1,23 @@
1
+ import { PropType } from 'vue';
2
+ import { ProgressVariant, ProgressSize } from './progress.type.mjs';
3
+
4
+ declare const progressProps: {
5
+ variant: {
6
+ type: PropType<ProgressVariant>;
7
+ default: string;
8
+ };
9
+ size: {
10
+ type: PropType<ProgressSize>;
11
+ default: string;
12
+ };
13
+ color: {
14
+ type: PropType<string>;
15
+ default: string;
16
+ };
17
+ value: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ };
22
+
23
+ export { progressProps };
@@ -0,0 +1,23 @@
1
+ import { PropType } from 'vue';
2
+ import { ProgressVariant, ProgressSize } from './progress.type.js';
3
+
4
+ declare const progressProps: {
5
+ variant: {
6
+ type: PropType<ProgressVariant>;
7
+ default: string;
8
+ };
9
+ size: {
10
+ type: PropType<ProgressSize>;
11
+ default: string;
12
+ };
13
+ color: {
14
+ type: PropType<string>;
15
+ default: string;
16
+ };
17
+ value: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ };
22
+
23
+ export { progressProps };
@@ -0,0 +1,47 @@
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 __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/modules/progress.props.ts
21
+ var progress_props_exports = {};
22
+ __export(progress_props_exports, {
23
+ progressProps: () => progressProps
24
+ });
25
+ module.exports = __toCommonJS(progress_props_exports);
26
+ var progressProps = {
27
+ variant: {
28
+ type: String,
29
+ default: "linear"
30
+ },
31
+ size: {
32
+ type: String,
33
+ default: "md"
34
+ },
35
+ color: {
36
+ type: String,
37
+ default: "sky.400"
38
+ },
39
+ value: {
40
+ type: String,
41
+ default: "0"
42
+ }
43
+ };
44
+ // Annotate the CommonJS export names for ESM import in node:
45
+ 0 && (module.exports = {
46
+ progressProps
47
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ progressProps
3
+ } from "../chunk-624LFHHP.mjs";
4
+ export {
5
+ progressProps
6
+ };
@@ -0,0 +1,4 @@
1
+ type ProgressVariant = 'linear' | 'circular';
2
+ type ProgressSize = 'sm' | 'md';
3
+
4
+ export { ProgressSize, ProgressVariant };
@@ -0,0 +1,4 @@
1
+ type ProgressVariant = 'linear' | 'circular';
2
+ type ProgressSize = 'sm' | 'md';
3
+
4
+ export { ProgressSize, ProgressVariant };
@@ -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/progress.type.ts
17
+ var progress_type_exports = {};
18
+ module.exports = __toCommonJS(progress_type_exports);
File without changes
@@ -0,0 +1,45 @@
1
+ import * as vue from 'vue';
2
+ import { ProgressVariant, ProgressSize } from './modules/progress.type.mjs';
3
+
4
+ declare const MpProgress: vue.DefineComponent<{
5
+ variant: {
6
+ type: vue.PropType<ProgressVariant>;
7
+ default: string;
8
+ };
9
+ size: {
10
+ type: vue.PropType<ProgressSize>;
11
+ default: string;
12
+ };
13
+ color: {
14
+ type: vue.PropType<string>;
15
+ default: string;
16
+ };
17
+ value: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ }, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
22
+ variant: {
23
+ type: vue.PropType<ProgressVariant>;
24
+ default: string;
25
+ };
26
+ size: {
27
+ type: vue.PropType<ProgressSize>;
28
+ default: string;
29
+ };
30
+ color: {
31
+ type: vue.PropType<string>;
32
+ default: string;
33
+ };
34
+ value: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ }>>, {
39
+ variant: ProgressVariant;
40
+ size: ProgressSize;
41
+ color: string;
42
+ value: string;
43
+ }, {}>;
44
+
45
+ export { MpProgress };
@@ -0,0 +1,45 @@
1
+ import * as vue from 'vue';
2
+ import { ProgressVariant, ProgressSize } from './modules/progress.type.js';
3
+
4
+ declare const MpProgress: vue.DefineComponent<{
5
+ variant: {
6
+ type: vue.PropType<ProgressVariant>;
7
+ default: string;
8
+ };
9
+ size: {
10
+ type: vue.PropType<ProgressSize>;
11
+ default: string;
12
+ };
13
+ color: {
14
+ type: vue.PropType<string>;
15
+ default: string;
16
+ };
17
+ value: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ }, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
22
+ variant: {
23
+ type: vue.PropType<ProgressVariant>;
24
+ default: string;
25
+ };
26
+ size: {
27
+ type: vue.PropType<ProgressSize>;
28
+ default: string;
29
+ };
30
+ color: {
31
+ type: vue.PropType<string>;
32
+ default: string;
33
+ };
34
+ value: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ }>>, {
39
+ variant: ProgressVariant;
40
+ size: ProgressSize;
41
+ color: string;
42
+ value: string;
43
+ }, {}>;
44
+
45
+ export { MpProgress };
@@ -0,0 +1,101 @@
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 __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/progress.tsx
22
+ var progress_exports = {};
23
+ __export(progress_exports, {
24
+ MpProgress: () => MpProgress
25
+ });
26
+ module.exports = __toCommonJS(progress_exports);
27
+ var import_vue = require("vue");
28
+ var import_vue2 = require("vue");
29
+ var import_recipes = require("@mekari/pixel3-styled-system/recipes");
30
+ var import_tokens = require("@mekari/pixel3-styled-system/tokens");
31
+
32
+ // src/modules/progress.props.ts
33
+ var progressProps = {
34
+ variant: {
35
+ type: String,
36
+ default: "linear"
37
+ },
38
+ size: {
39
+ type: String,
40
+ default: "md"
41
+ },
42
+ color: {
43
+ type: String,
44
+ default: "sky.400"
45
+ },
46
+ value: {
47
+ type: String,
48
+ default: "0"
49
+ }
50
+ };
51
+
52
+ // src/progress.tsx
53
+ var MpProgress = (0, import_vue2.defineComponent)({
54
+ name: "MpProgress",
55
+ props: progressProps,
56
+ setup(props) {
57
+ const classes = (0, import_recipes.progressSlotRecipe)({
58
+ size: props.size,
59
+ variant: props.variant
60
+ });
61
+ const progressValue = /* @__PURE__ */ __name((val) => {
62
+ let value = Number(val);
63
+ if (value < 0)
64
+ value = 0;
65
+ if (value > 100)
66
+ value = 100;
67
+ if (props.variant === "circular") {
68
+ return `${value * 3.6}deg`;
69
+ }
70
+ return `${value}%`;
71
+ }, "progressValue");
72
+ return () => {
73
+ const {
74
+ value,
75
+ color
76
+ } = props;
77
+ return (0, import_vue.createVNode)("div", {
78
+ "class": classes.root,
79
+ "data-pixel-component": "MpProgress",
80
+ "role": "progressbar",
81
+ "aria-valuemax": "100",
82
+ "aria-valuemin": "0",
83
+ "aria-valuenow": value,
84
+ "style": {
85
+ "--mp-progress-color": (0, import_tokens.token)(`colors.${color}`) || color,
86
+ "--mp-progress-width": progressValue(value)
87
+ }
88
+ }, [props.variant === "linear" && (0, import_vue.createVNode)("div", {
89
+ "class": classes.linear
90
+ }, null), props.variant === "circular" && (0, import_vue.createVNode)("div", {
91
+ "class": classes.circularBase
92
+ }, [(0, import_vue.createVNode)("div", {
93
+ "class": classes.circularTrack
94
+ }, null)])]);
95
+ };
96
+ }
97
+ });
98
+ // Annotate the CommonJS export names for ESM import in node:
99
+ 0 && (module.exports = {
100
+ MpProgress
101
+ });
@@ -0,0 +1,7 @@
1
+ import {
2
+ MpProgress
3
+ } from "./chunk-ANRJP6RI.mjs";
4
+ import "./chunk-624LFHHP.mjs";
5
+ export {
6
+ MpProgress
7
+ };
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@mekari/pixel3-progress",
3
+ "description": "Progress component for mekari pixel 3",
4
+ "version": "0.0.0",
5
+ "main": "dist/index.js",
6
+ "license": "MIT",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "dependencies": {
11
+ "@mekari/pixel3-icon": "0.0.0",
12
+ "@mekari/pixel3-spinner": "0.0.0",
13
+ "@mekari/pixel3-styled-system": "0.0.0"
14
+ },
15
+ "peerDependencies": {
16
+ "vue": "^3.3.7"
17
+ },
18
+ "devDependencies": {
19
+ "vue": "^3.3.7"
20
+ },
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "module": "dist/index.mjs",
25
+ "types": "dist/index.d.ts",
26
+ "exports": {
27
+ ".": {
28
+ "types": "./dist/index.d.ts",
29
+ "require": "./dist/index.js",
30
+ "default": "./dist/index.mjs"
31
+ }
32
+ },
33
+ "scripts": {
34
+ "clean": "rimraf dist .turbo",
35
+ "build": "tsup && pnpm build:types",
36
+ "build:fast": "tsup",
37
+ "build:types": "tsup src --dts-only",
38
+ "build:external": "tsup src/index.tsx --external",
39
+ "types:check": "tsc --noEmit",
40
+ "replace-config": "clean-package",
41
+ "restore-config": "clean-package restore"
42
+ }
43
+ }