@mekari/pixel3-icon 0.0.1-alpha.0 → 0.0.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.
@@ -20,7 +20,7 @@ import { token } from "@mekari/pixel3-styled-system/tokens";
20
20
  import { iconRecipe } from "@mekari/pixel3-styled-system/recipes";
21
21
 
22
22
  // package.json
23
- var version = "0.0.0";
23
+ var version = "0.0.1";
24
24
 
25
25
  // src/icon.tsx
26
26
  import { useStorage } from "@mekari/pixel3-utils";
package/dist/icon.d.mts CHANGED
@@ -1,53 +1,8 @@
1
- import * as vue from 'vue';
2
- import { IconSize, IconVariant } from './modules/icon.type.mjs';
1
+ import { MpIconType } from './modules/icon.props.mjs';
2
+ import 'vue';
3
+ import './modules/icon.type.mjs';
4
+ import '@mekari/pixel3-utils';
3
5
 
4
- declare const MpIcon: vue.DefineComponent<{
5
- name: {
6
- type: StringConstructor;
7
- };
8
- size: {
9
- type: vue.PropType<IconSize>;
10
- default: string;
11
- };
12
- variant: {
13
- type: vue.PropType<IconVariant>;
14
- default: string;
15
- };
16
- color: {
17
- type: vue.PropType<string>;
18
- default: string;
19
- };
20
- viewBox: {
21
- type: StringConstructor;
22
- default: string;
23
- };
24
- }, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
25
- [key: string]: any;
26
- }>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
27
- name: {
28
- type: StringConstructor;
29
- };
30
- size: {
31
- type: vue.PropType<IconSize>;
32
- default: string;
33
- };
34
- variant: {
35
- type: vue.PropType<IconVariant>;
36
- default: string;
37
- };
38
- color: {
39
- type: vue.PropType<string>;
40
- default: string;
41
- };
42
- viewBox: {
43
- type: StringConstructor;
44
- default: string;
45
- };
46
- }>>, {
47
- size: IconSize;
48
- variant: IconVariant;
49
- color: string;
50
- viewBox: string;
51
- }, {}>;
6
+ declare const MpIcon: MpIconType;
52
7
 
53
8
  export { MpIcon };
package/dist/icon.d.ts CHANGED
@@ -1,53 +1,8 @@
1
- import * as vue from 'vue';
2
- import { IconSize, IconVariant } from './modules/icon.type.js';
1
+ import { MpIconType } from './modules/icon.props.js';
2
+ import 'vue';
3
+ import './modules/icon.type.js';
4
+ import '@mekari/pixel3-utils';
3
5
 
4
- declare const MpIcon: vue.DefineComponent<{
5
- name: {
6
- type: StringConstructor;
7
- };
8
- size: {
9
- type: vue.PropType<IconSize>;
10
- default: string;
11
- };
12
- variant: {
13
- type: vue.PropType<IconVariant>;
14
- default: string;
15
- };
16
- color: {
17
- type: vue.PropType<string>;
18
- default: string;
19
- };
20
- viewBox: {
21
- type: StringConstructor;
22
- default: string;
23
- };
24
- }, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
25
- [key: string]: any;
26
- }>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
27
- name: {
28
- type: StringConstructor;
29
- };
30
- size: {
31
- type: vue.PropType<IconSize>;
32
- default: string;
33
- };
34
- variant: {
35
- type: vue.PropType<IconVariant>;
36
- default: string;
37
- };
38
- color: {
39
- type: vue.PropType<string>;
40
- default: string;
41
- };
42
- viewBox: {
43
- type: StringConstructor;
44
- default: string;
45
- };
46
- }>>, {
47
- size: IconSize;
48
- variant: IconVariant;
49
- color: string;
50
- viewBox: string;
51
- }, {}>;
6
+ declare const MpIcon: MpIconType;
52
7
 
53
8
  export { MpIcon };
package/dist/icon.js CHANGED
@@ -66,7 +66,7 @@ var iconProps = {
66
66
  };
67
67
 
68
68
  // package.json
69
- var version = "0.0.0";
69
+ var version = "0.0.1";
70
70
 
71
71
  // src/icon.tsx
72
72
  var import_pixel3_utils = require("@mekari/pixel3-utils");
package/dist/icon.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MpIcon
3
- } from "./chunk-SWYNLONQ.mjs";
3
+ } from "./chunk-IO4NYUR4.mjs";
4
4
  import "./chunk-4MXV6Z2I.mjs";
5
5
  import "./chunk-RMUCNXRJ.mjs";
6
6
  import "./chunk-UVKSW4B4.mjs";
package/dist/index.d.mts CHANGED
@@ -1,3 +1,5 @@
1
1
  export { MpIcon } from './icon.mjs';
2
+ import './modules/icon.props.mjs';
2
3
  import 'vue';
3
4
  import './modules/icon.type.mjs';
5
+ import '@mekari/pixel3-utils';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
1
  export { MpIcon } from './icon.js';
2
+ import './modules/icon.props.js';
2
3
  import 'vue';
3
4
  import './modules/icon.type.js';
5
+ import '@mekari/pixel3-utils';
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ var __copyProps = (to, from, except, desc) => {
18
18
  };
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
- // src/index.tsx
21
+ // src/index.ts
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
24
  MpIcon: () => MpIcon
@@ -68,7 +68,7 @@ var iconProps = {
68
68
  };
69
69
 
70
70
  // package.json
71
- var version = "0.0.0";
71
+ var version = "0.0.1";
72
72
 
73
73
  // src/icon.tsx
74
74
  var import_pixel3_utils = require("@mekari/pixel3-utils");
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MpIcon
3
- } from "./chunk-SWYNLONQ.mjs";
3
+ } from "./chunk-IO4NYUR4.mjs";
4
4
  import "./chunk-4MXV6Z2I.mjs";
5
5
  import "./chunk-RMUCNXRJ.mjs";
6
6
  import "./chunk-UVKSW4B4.mjs";
@@ -1 +1 @@
1
- {"inputs":{"src/data/iconsWithoutVariant.ts":{"bytes":1882,"imports":[],"format":"esm"},"src/data/specialIcons.ts":{"bytes":1317,"imports":[],"format":"esm"},"src/data/config.ts":{"bytes":163,"imports":[],"format":"esm"},"src/modules/icon.props.ts":{"bytes":630,"imports":[{"path":"../modules/icon.type","kind":"import-statement","external":true}],"format":"esm"},"package.json":{"bytes":787,"imports":[]},"src/icon.tsx":{"bytes":8682,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"src/data/iconsWithoutVariant.ts","kind":"import-statement","original":"./data/iconsWithoutVariant"},{"path":"src/data/specialIcons.ts","kind":"import-statement","original":"./data/specialIcons"},{"path":"src/data/config.ts","kind":"import-statement","original":"./data/config"},{"path":"src/modules/icon.props.ts","kind":"import-statement","original":"./modules/icon.props"},{"path":"package.json","kind":"import-statement","original":"../package.json"},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.tsx":{"bytes":117,"imports":[{"path":"src/icon.tsx","kind":"import-statement","original":"./icon"}],"format":"esm"},"src/data/iconsCategories.ts":{"bytes":4402,"imports":[],"format":"esm"},"src/modules/icon.type.ts":{"bytes":178,"imports":[],"format":"esm"}},"outputs":{"dist/icon.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/icon.tsx","inputs":{"src/icon.tsx":{"bytesInOutput":8404},"src/data/iconsWithoutVariant.ts":{"bytesInOutput":1750},"src/data/specialIcons.ts":{"bytesInOutput":1162},"src/data/config.ts":{"bytesInOutput":85},"src/modules/icon.props.ts":{"bytesInOutput":281},"package.json":{"bytesInOutput":23}},"bytes":12863},"dist/index.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.tsx","inputs":{"src/index.tsx":{"bytesInOutput":117},"src/icon.tsx":{"bytesInOutput":8284},"src/data/iconsWithoutVariant.ts":{"bytesInOutput":1750},"src/data/specialIcons.ts":{"bytesInOutput":1162},"src/data/config.ts":{"bytesInOutput":85},"src/modules/icon.props.ts":{"bytesInOutput":281},"package.json":{"bytesInOutput":23}},"bytes":12878},"dist/data/config.js":{"imports":[],"exports":[],"entryPoint":"src/data/config.ts","inputs":{"src/data/config.ts":{"bytesInOutput":220}},"bytes":1042},"dist/data/iconsCategories.js":{"imports":[],"exports":[],"entryPoint":"src/data/iconsCategories.ts","inputs":{"src/data/iconsCategories.ts":{"bytesInOutput":4512}},"bytes":5557},"dist/data/iconsWithoutVariant.js":{"imports":[],"exports":[],"entryPoint":"src/data/iconsWithoutVariant.ts","inputs":{"src/data/iconsWithoutVariant.ts":{"bytesInOutput":1937}},"bytes":2772},"dist/data/specialIcons.js":{"imports":[],"exports":[],"entryPoint":"src/data/specialIcons.ts","inputs":{"src/data/specialIcons.ts":{"bytesInOutput":1321}},"bytes":2149},"dist/modules/icon.props.js":{"imports":[],"exports":[],"entryPoint":"src/modules/icon.props.ts","inputs":{"src/modules/icon.props.ts":{"bytesInOutput":425}},"bytes":1357},"dist/modules/icon.type.js":{"imports":[],"exports":[],"entryPoint":"src/modules/icon.type.ts","inputs":{"src/modules/icon.type.ts":{"bytesInOutput":78}},"bytes":778}}}
1
+ {"inputs":{"src/data/iconsWithoutVariant.ts":{"bytes":1882,"imports":[],"format":"esm"},"src/data/specialIcons.ts":{"bytes":1317,"imports":[],"format":"esm"},"src/data/config.ts":{"bytes":163,"imports":[],"format":"esm"},"src/modules/icon.props.ts":{"bytes":906,"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"},"package.json":{"bytes":788,"imports":[]},"src/icon.tsx":{"bytes":8750,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"src/data/iconsWithoutVariant.ts","kind":"import-statement","original":"./data/iconsWithoutVariant"},{"path":"src/data/specialIcons.ts","kind":"import-statement","original":"./data/specialIcons"},{"path":"src/data/config.ts","kind":"import-statement","original":"./data/config"},{"path":"src/modules/icon.props.ts","kind":"import-statement","original":"./modules/icon.props"},{"path":"package.json","kind":"import-statement","original":"../package.json"},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":117,"imports":[{"path":"src/icon.tsx","kind":"import-statement","original":"./icon"}],"format":"esm"},"src/data/iconsCategories.ts":{"bytes":4402,"imports":[],"format":"esm"},"src/modules/icon.type.ts":{"bytes":178,"imports":[],"format":"esm"}},"outputs":{"dist/icon.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/icon.tsx","inputs":{"src/icon.tsx":{"bytesInOutput":8404},"src/data/iconsWithoutVariant.ts":{"bytesInOutput":1750},"src/data/specialIcons.ts":{"bytesInOutput":1162},"src/data/config.ts":{"bytesInOutput":85},"src/modules/icon.props.ts":{"bytesInOutput":281},"package.json":{"bytesInOutput":23}},"bytes":12863},"dist/index.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":117},"src/icon.tsx":{"bytesInOutput":8284},"src/data/iconsWithoutVariant.ts":{"bytesInOutput":1750},"src/data/specialIcons.ts":{"bytesInOutput":1162},"src/data/config.ts":{"bytesInOutput":85},"src/modules/icon.props.ts":{"bytesInOutput":281},"package.json":{"bytesInOutput":23}},"bytes":12877},"dist/data/config.js":{"imports":[],"exports":[],"entryPoint":"src/data/config.ts","inputs":{"src/data/config.ts":{"bytesInOutput":220}},"bytes":1042},"dist/data/iconsCategories.js":{"imports":[],"exports":[],"entryPoint":"src/data/iconsCategories.ts","inputs":{"src/data/iconsCategories.ts":{"bytesInOutput":4512}},"bytes":5557},"dist/data/iconsWithoutVariant.js":{"imports":[],"exports":[],"entryPoint":"src/data/iconsWithoutVariant.ts","inputs":{"src/data/iconsWithoutVariant.ts":{"bytesInOutput":1937}},"bytes":2772},"dist/data/specialIcons.js":{"imports":[],"exports":[],"entryPoint":"src/data/specialIcons.ts","inputs":{"src/data/specialIcons.ts":{"bytesInOutput":1321}},"bytes":2149},"dist/modules/icon.props.js":{"imports":[],"exports":[],"entryPoint":"src/modules/icon.props.ts","inputs":{"src/modules/icon.props.ts":{"bytesInOutput":425}},"bytes":1357},"dist/modules/icon.type.js":{"imports":[],"exports":[],"entryPoint":"src/modules/icon.type.ts","inputs":{"src/modules/icon.type.ts":{"bytesInOutput":78}},"bytes":778}}}
@@ -1 +1 @@
1
- {"inputs":{"src/data/iconsWithoutVariant.ts":{"bytes":1882,"imports":[],"format":"esm"},"src/data/specialIcons.ts":{"bytes":1317,"imports":[],"format":"esm"},"src/data/config.ts":{"bytes":163,"imports":[],"format":"esm"},"src/modules/icon.props.ts":{"bytes":630,"imports":[{"path":"../modules/icon.type","kind":"import-statement","external":true}],"format":"esm"},"package.json":{"bytes":787,"imports":[]},"src/icon.tsx":{"bytes":8682,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"src/data/iconsWithoutVariant.ts","kind":"import-statement","original":"./data/iconsWithoutVariant"},{"path":"src/data/specialIcons.ts","kind":"import-statement","original":"./data/specialIcons"},{"path":"src/data/config.ts","kind":"import-statement","original":"./data/config"},{"path":"src/modules/icon.props.ts","kind":"import-statement","original":"./modules/icon.props"},{"path":"package.json","kind":"import-statement","original":"../package.json"},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.tsx":{"bytes":117,"imports":[{"path":"src/icon.tsx","kind":"import-statement","original":"./icon"}],"format":"esm"},"src/data/iconsCategories.ts":{"bytes":4402,"imports":[],"format":"esm"},"src/modules/icon.type.ts":{"bytes":178,"imports":[],"format":"esm"}},"outputs":{"dist/icon.mjs":{"imports":[{"path":"dist/chunk-SWYNLONQ.mjs","kind":"import-statement"},{"path":"dist/chunk-4MXV6Z2I.mjs","kind":"import-statement"},{"path":"dist/chunk-RMUCNXRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-UVKSW4B4.mjs","kind":"import-statement"},{"path":"dist/chunk-VYFXFPHQ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpIcon"],"entryPoint":"src/icon.tsx","inputs":{},"bytes":225},"dist/index.mjs":{"imports":[{"path":"dist/chunk-SWYNLONQ.mjs","kind":"import-statement"},{"path":"dist/chunk-4MXV6Z2I.mjs","kind":"import-statement"},{"path":"dist/chunk-RMUCNXRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-UVKSW4B4.mjs","kind":"import-statement"},{"path":"dist/chunk-VYFXFPHQ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpIcon"],"entryPoint":"src/index.tsx","inputs":{"src/index.tsx":{"bytesInOutput":0}},"bytes":225},"dist/chunk-SWYNLONQ.mjs":{"imports":[{"path":"dist/chunk-4MXV6Z2I.mjs","kind":"import-statement"},{"path":"dist/chunk-RMUCNXRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-UVKSW4B4.mjs","kind":"import-statement"},{"path":"dist/chunk-VYFXFPHQ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"exports":["MpIcon"],"inputs":{"src/icon.tsx":{"bytesInOutput":8122},"package.json":{"bytesInOutput":23}},"bytes":8509},"dist/data/config.mjs":{"imports":[{"path":"dist/chunk-4MXV6Z2I.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/data/config.ts","inputs":{},"bytes":130},"dist/chunk-4MXV6Z2I.mjs":{"imports":[],"exports":["config_default"],"inputs":{"src/data/config.ts":{"bytesInOutput":85}},"bytes":137},"dist/data/iconsCategories.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["alertIcons","allIcons","arrowIcons","featureIcons","fileIcons","interfaceEssentialsIcons","logoIcons","otherIcons"],"entryPoint":"src/data/iconsCategories.ts","inputs":{"src/data/iconsCategories.ts":{"bytesInOutput":4103}},"bytes":4302},"dist/data/iconsWithoutVariant.mjs":{"imports":[{"path":"dist/chunk-RMUCNXRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/data/iconsWithoutVariant.ts","inputs":{},"bytes":156},"dist/chunk-RMUCNXRJ.mjs":{"imports":[],"exports":["iconsWithoutVariant_default"],"inputs":{"src/data/iconsWithoutVariant.ts":{"bytesInOutput":1750}},"bytes":1828},"dist/data/specialIcons.mjs":{"imports":[{"path":"dist/chunk-UVKSW4B4.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/data/specialIcons.ts","inputs":{},"bytes":142},"dist/chunk-UVKSW4B4.mjs":{"imports":[],"exports":["specialIcons_default"],"inputs":{"src/data/specialIcons.ts":{"bytesInOutput":1162}},"bytes":1226},"dist/modules/icon.props.mjs":{"imports":[{"path":"dist/chunk-VYFXFPHQ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["iconProps"],"entryPoint":"src/modules/icon.props.ts","inputs":{},"bytes":109},"dist/chunk-VYFXFPHQ.mjs":{"imports":[],"exports":["iconProps"],"inputs":{"src/modules/icon.props.ts":{"bytesInOutput":281}},"bytes":335},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151},"dist/modules/icon.type.mjs":{"imports":[],"exports":[],"entryPoint":"src/modules/icon.type.ts","inputs":{"src/modules/icon.type.ts":{"bytesInOutput":0}},"bytes":0}}}
1
+ {"inputs":{"src/data/iconsWithoutVariant.ts":{"bytes":1882,"imports":[],"format":"esm"},"src/data/specialIcons.ts":{"bytes":1317,"imports":[],"format":"esm"},"src/data/config.ts":{"bytes":163,"imports":[],"format":"esm"},"src/modules/icon.props.ts":{"bytes":906,"imports":[{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"format":"esm"},"package.json":{"bytes":788,"imports":[]},"src/icon.tsx":{"bytes":8750,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"src/data/iconsWithoutVariant.ts","kind":"import-statement","original":"./data/iconsWithoutVariant"},{"path":"src/data/specialIcons.ts","kind":"import-statement","original":"./data/specialIcons"},{"path":"src/data/config.ts","kind":"import-statement","original":"./data/config"},{"path":"src/modules/icon.props.ts","kind":"import-statement","original":"./modules/icon.props"},{"path":"package.json","kind":"import-statement","original":"../package.json"},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":117,"imports":[{"path":"src/icon.tsx","kind":"import-statement","original":"./icon"}],"format":"esm"},"src/data/iconsCategories.ts":{"bytes":4402,"imports":[],"format":"esm"},"src/modules/icon.type.ts":{"bytes":178,"imports":[],"format":"esm"}},"outputs":{"dist/icon.mjs":{"imports":[{"path":"dist/chunk-IO4NYUR4.mjs","kind":"import-statement"},{"path":"dist/chunk-4MXV6Z2I.mjs","kind":"import-statement"},{"path":"dist/chunk-RMUCNXRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-UVKSW4B4.mjs","kind":"import-statement"},{"path":"dist/chunk-VYFXFPHQ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpIcon"],"entryPoint":"src/icon.tsx","inputs":{},"bytes":225},"dist/index.mjs":{"imports":[{"path":"dist/chunk-IO4NYUR4.mjs","kind":"import-statement"},{"path":"dist/chunk-4MXV6Z2I.mjs","kind":"import-statement"},{"path":"dist/chunk-RMUCNXRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-UVKSW4B4.mjs","kind":"import-statement"},{"path":"dist/chunk-VYFXFPHQ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpIcon"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":225},"dist/chunk-IO4NYUR4.mjs":{"imports":[{"path":"dist/chunk-4MXV6Z2I.mjs","kind":"import-statement"},{"path":"dist/chunk-RMUCNXRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-UVKSW4B4.mjs","kind":"import-statement"},{"path":"dist/chunk-VYFXFPHQ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"exports":["MpIcon"],"inputs":{"src/icon.tsx":{"bytesInOutput":8122},"package.json":{"bytesInOutput":23}},"bytes":8509},"dist/data/config.mjs":{"imports":[{"path":"dist/chunk-4MXV6Z2I.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/data/config.ts","inputs":{},"bytes":130},"dist/chunk-4MXV6Z2I.mjs":{"imports":[],"exports":["config_default"],"inputs":{"src/data/config.ts":{"bytesInOutput":85}},"bytes":137},"dist/data/iconsCategories.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["alertIcons","allIcons","arrowIcons","featureIcons","fileIcons","interfaceEssentialsIcons","logoIcons","otherIcons"],"entryPoint":"src/data/iconsCategories.ts","inputs":{"src/data/iconsCategories.ts":{"bytesInOutput":4103}},"bytes":4302},"dist/data/iconsWithoutVariant.mjs":{"imports":[{"path":"dist/chunk-RMUCNXRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/data/iconsWithoutVariant.ts","inputs":{},"bytes":156},"dist/chunk-RMUCNXRJ.mjs":{"imports":[],"exports":["iconsWithoutVariant_default"],"inputs":{"src/data/iconsWithoutVariant.ts":{"bytesInOutput":1750}},"bytes":1828},"dist/data/specialIcons.mjs":{"imports":[{"path":"dist/chunk-UVKSW4B4.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/data/specialIcons.ts","inputs":{},"bytes":142},"dist/chunk-UVKSW4B4.mjs":{"imports":[],"exports":["specialIcons_default"],"inputs":{"src/data/specialIcons.ts":{"bytesInOutput":1162}},"bytes":1226},"dist/modules/icon.props.mjs":{"imports":[{"path":"dist/chunk-VYFXFPHQ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["iconProps"],"entryPoint":"src/modules/icon.props.ts","inputs":{},"bytes":109},"dist/chunk-VYFXFPHQ.mjs":{"imports":[],"exports":["iconProps"],"inputs":{"src/modules/icon.props.ts":{"bytesInOutput":281}},"bytes":335},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151},"dist/modules/icon.type.mjs":{"imports":[],"exports":[],"entryPoint":"src/modules/icon.type.ts","inputs":{"src/modules/icon.type.ts":{"bytesInOutput":0}},"bytes":0}}}
@@ -1,26 +1,29 @@
1
- import { PropType } from 'vue';
1
+ import { PropType, ExtractPublicPropTypes } from 'vue';
2
2
  import { IconSize, IconVariant } from './icon.type.mjs';
3
+ import { ComponentWithProps } from '@mekari/pixel3-utils';
3
4
 
4
5
  declare const iconProps: {
5
- name: {
6
- type: StringConstructor;
6
+ readonly name: {
7
+ readonly type: PropType<string | undefined>;
7
8
  };
8
- size: {
9
- type: PropType<IconSize>;
10
- default: string;
9
+ readonly size: {
10
+ readonly type: PropType<IconSize>;
11
+ readonly default: "md";
11
12
  };
12
- variant: {
13
- type: PropType<IconVariant>;
14
- default: string;
13
+ readonly variant: {
14
+ readonly type: PropType<IconVariant>;
15
+ readonly default: "outline";
15
16
  };
16
- color: {
17
- type: PropType<string>;
18
- default: string;
17
+ readonly color: {
18
+ readonly type: PropType<string>;
19
+ readonly default: "gray.600";
19
20
  };
20
- viewBox: {
21
- type: StringConstructor;
22
- default: string;
21
+ readonly viewBox: {
22
+ readonly type: PropType<string>;
23
+ readonly default: "0 0 24 24";
23
24
  };
24
25
  };
26
+ type IconPropsType = ExtractPublicPropTypes<typeof iconProps>;
27
+ type MpIconType = ComponentWithProps<IconPropsType>;
25
28
 
26
- export { iconProps };
29
+ export { IconPropsType, MpIconType, iconProps };
@@ -1,26 +1,29 @@
1
- import { PropType } from 'vue';
1
+ import { PropType, ExtractPublicPropTypes } from 'vue';
2
2
  import { IconSize, IconVariant } from './icon.type.js';
3
+ import { ComponentWithProps } from '@mekari/pixel3-utils';
3
4
 
4
5
  declare const iconProps: {
5
- name: {
6
- type: StringConstructor;
6
+ readonly name: {
7
+ readonly type: PropType<string | undefined>;
7
8
  };
8
- size: {
9
- type: PropType<IconSize>;
10
- default: string;
9
+ readonly size: {
10
+ readonly type: PropType<IconSize>;
11
+ readonly default: "md";
11
12
  };
12
- variant: {
13
- type: PropType<IconVariant>;
14
- default: string;
13
+ readonly variant: {
14
+ readonly type: PropType<IconVariant>;
15
+ readonly default: "outline";
15
16
  };
16
- color: {
17
- type: PropType<string>;
18
- default: string;
17
+ readonly color: {
18
+ readonly type: PropType<string>;
19
+ readonly default: "gray.600";
19
20
  };
20
- viewBox: {
21
- type: StringConstructor;
22
- default: string;
21
+ readonly viewBox: {
22
+ readonly type: PropType<string>;
23
+ readonly default: "0 0 24 24";
23
24
  };
24
25
  };
26
+ type IconPropsType = ExtractPublicPropTypes<typeof iconProps>;
27
+ type MpIconType = ComponentWithProps<IconPropsType>;
25
28
 
26
- export { iconProps };
29
+ export { IconPropsType, MpIconType, iconProps };
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@mekari/pixel3-icon",
3
3
  "description": "Icon component for mekari pixel 3",
4
- "version": "0.0.1-alpha.0",
4
+ "version": "0.0.1",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
7
7
  "files": [
8
8
  "dist"
9
9
  ],
10
10
  "dependencies": {
11
- "@mekari/pixel3-styled-system": "0.0.1-alpha.0",
12
- "@mekari/pixel3-utils": "0.0.1-alpha.0"
11
+ "@mekari/pixel3-styled-system": "0.0.1",
12
+ "@mekari/pixel3-utils": "0.0.1"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "vue": "^3.3.7"