@mekari/pixel3-badge 0.0.16-dev.0 → 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-UDPPFDFH.mjs +0 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +1 -0
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/modules/badge.hooks.d.mts +0 -2
- package/dist/modules/badge.hooks.d.ts +0 -2
- package/dist/modules/badge.props.d.mts +1 -4
- package/dist/modules/badge.props.d.ts +1 -4
- package/dist/modules/badge.types.d.mts +8 -0
- package/dist/modules/badge.types.d.ts +8 -0
- package/dist/modules/badge.types.js +18 -0
- package/dist/modules/badge.types.mjs +1 -0
- package/package.json +5 -4
|
File without changes
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
package/dist/metafile-cjs.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/modules/badge.props.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/modules/badge.props.ts":{"bytes":918,"imports":[],"format":"esm"},"src/modules/badge.hooks.ts":{"bytes":564,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"./badge.props","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/badge.tsx":{"bytes":564,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/badge.props.ts","kind":"import-statement","original":"./modules/badge.props"},{"path":"src/modules/badge.hooks.ts","kind":"import-statement","original":"./modules/badge.hooks"}],"format":"esm"},"src/modules/badge.types.ts":{"bytes":439,"imports":[{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":158,"imports":[{"path":"src/badge.tsx","kind":"import-statement","original":"./badge"},{"path":"src/modules/badge.types.ts","kind":"import-statement","original":"./modules/badge.types"}],"format":"esm"}},"outputs":{"dist/badge.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-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/badge.tsx","inputs":{"src/badge.tsx":{"bytesInOutput":578},"src/modules/badge.props.ts":{"bytesInOutput":280},"src/modules/badge.hooks.ts":{"bytesInOutput":486}},"bytes":2432},"dist/index.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-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":119},"src/badge.tsx":{"bytesInOutput":453},"src/modules/badge.props.ts":{"bytesInOutput":280},"src/modules/badge.hooks.ts":{"bytesInOutput":486}},"bytes":2443},"dist/modules/badge.hooks.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/badge.hooks.ts","inputs":{"src/modules/badge.hooks.ts":{"bytesInOutput":631}},"bytes":1653},"dist/modules/badge.props.js":{"imports":[],"exports":[],"entryPoint":"src/modules/badge.props.ts","inputs":{"src/modules/badge.props.ts":{"bytesInOutput":429}},"bytes":1363},"dist/modules/badge.types.js":{"imports":[],"exports":[],"entryPoint":"src/modules/badge.types.ts","inputs":{"src/modules/badge.types.ts":{"bytesInOutput":82}},"bytes":784}}}
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/modules/badge.props.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/modules/badge.props.ts":{"bytes":918,"imports":[],"format":"esm"},"src/modules/badge.hooks.ts":{"bytes":564,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"./badge.props","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/badge.tsx":{"bytes":564,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"src/modules/badge.props.ts","kind":"import-statement","original":"./modules/badge.props"},{"path":"src/modules/badge.hooks.ts","kind":"import-statement","original":"./modules/badge.hooks"}],"format":"esm"},"src/modules/badge.types.ts":{"bytes":439,"imports":[{"path":"@mekari/pixel3-styled-system/css","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":158,"imports":[{"path":"src/badge.tsx","kind":"import-statement","original":"./badge"},{"path":"src/modules/badge.types.ts","kind":"import-statement","original":"./modules/badge.types"}],"format":"esm"}},"outputs":{"dist/badge.mjs":{"imports":[{"path":"dist/chunk-IPZIOE6I.mjs","kind":"import-statement"},{"path":"dist/chunk-MAY2TPAB.mjs","kind":"import-statement"},{"path":"dist/chunk-WYPDAYWQ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpBadge"],"entryPoint":"src/badge.tsx","inputs":{},"bytes":165},"dist/index.mjs":{"imports":[{"path":"dist/chunk-IPZIOE6I.mjs","kind":"import-statement"},{"path":"dist/chunk-MAY2TPAB.mjs","kind":"import-statement"},{"path":"dist/chunk-WYPDAYWQ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"dist/chunk-UDPPFDFH.mjs","kind":"import-statement"}],"exports":["MpBadge"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":196},"dist/chunk-IPZIOE6I.mjs":{"imports":[{"path":"dist/chunk-MAY2TPAB.mjs","kind":"import-statement"},{"path":"dist/chunk-WYPDAYWQ.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true}],"exports":["MpBadge"],"inputs":{"src/badge.tsx":{"bytesInOutput":442}},"bytes":587},"dist/modules/badge.hooks.mjs":{"imports":[{"path":"dist/chunk-MAY2TPAB.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["useBadge"],"entryPoint":"src/modules/badge.hooks.ts","inputs":{},"bytes":107},"dist/chunk-MAY2TPAB.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true}],"exports":["useBadge"],"inputs":{"src/modules/badge.hooks.ts":{"bytesInOutput":447}},"bytes":551},"dist/modules/badge.props.mjs":{"imports":[{"path":"dist/chunk-WYPDAYWQ.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["badgeProps"],"entryPoint":"src/modules/badge.props.ts","inputs":{},"bytes":111},"dist/chunk-WYPDAYWQ.mjs":{"imports":[],"exports":["badgeProps"],"inputs":{"src/modules/badge.props.ts":{"bytesInOutput":280}},"bytes":336},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151},"dist/modules/badge.types.mjs":{"imports":[{"path":"dist/chunk-UDPPFDFH.mjs","kind":"import-statement"}],"exports":[],"entryPoint":"src/modules/badge.types.ts","inputs":{},"bytes":32},"dist/chunk-UDPPFDFH.mjs":{"imports":[],"exports":[],"inputs":{"src/modules/badge.types.ts":{"bytesInOutput":0}},"bytes":0}}}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { RecipeVariantProps } from '@mekari/pixel3-styled-system/css';
|
|
3
|
-
import { badgeRecipe } from '@mekari/pixel3-styled-system/recipes';
|
|
4
2
|
|
|
5
|
-
type BadgeVariants = NonNullable<RecipeVariantProps<typeof badgeRecipe>>;
|
|
6
3
|
declare const badgeProps: {
|
|
7
4
|
size: {
|
|
8
5
|
type: PropType<"sm" | "md" | undefined>;
|
|
@@ -24,4 +21,4 @@ declare const badgeProps: {
|
|
|
24
21
|
};
|
|
25
22
|
type BadgeProps = ExtractPropTypes<typeof badgeProps>;
|
|
26
23
|
|
|
27
|
-
export { BadgeProps,
|
|
24
|
+
export { BadgeProps, badgeProps };
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { RecipeVariantProps } from '@mekari/pixel3-styled-system/css';
|
|
3
|
-
import { badgeRecipe } from '@mekari/pixel3-styled-system/recipes';
|
|
4
2
|
|
|
5
|
-
type BadgeVariants = NonNullable<RecipeVariantProps<typeof badgeRecipe>>;
|
|
6
3
|
declare const badgeProps: {
|
|
7
4
|
size: {
|
|
8
5
|
type: PropType<"sm" | "md" | undefined>;
|
|
@@ -24,4 +21,4 @@ declare const badgeProps: {
|
|
|
24
21
|
};
|
|
25
22
|
type BadgeProps = ExtractPropTypes<typeof badgeProps>;
|
|
26
23
|
|
|
27
|
-
export { BadgeProps,
|
|
24
|
+
export { BadgeProps, badgeProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RecipeVariantProps } from '@mekari/pixel3-styled-system/css';
|
|
2
|
+
import { badgeRecipe } from '@mekari/pixel3-styled-system/recipes';
|
|
3
|
+
|
|
4
|
+
type BadgeSize = NonNullable<RecipeVariantProps<typeof badgeRecipe>>;
|
|
5
|
+
type BadgeVariantColor<T extends BadgeSize['variantColor']> = T;
|
|
6
|
+
type BadgeVariant<T extends BadgeSize['variant']> = T;
|
|
7
|
+
|
|
8
|
+
export { BadgeSize, BadgeVariant, BadgeVariantColor };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RecipeVariantProps } from '@mekari/pixel3-styled-system/css';
|
|
2
|
+
import { badgeRecipe } from '@mekari/pixel3-styled-system/recipes';
|
|
3
|
+
|
|
4
|
+
type BadgeSize = NonNullable<RecipeVariantProps<typeof badgeRecipe>>;
|
|
5
|
+
type BadgeVariantColor<T extends BadgeSize['variantColor']> = T;
|
|
6
|
+
type BadgeVariant<T extends BadgeSize['variant']> = T;
|
|
7
|
+
|
|
8
|
+
export { BadgeSize, BadgeVariant, BadgeVariantColor };
|
|
@@ -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/badge.types.ts
|
|
17
|
+
var badge_types_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(badge_types_exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "../chunk-UDPPFDFH.mjs";
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mekari/pixel3-badge",
|
|
3
3
|
"description": "Badge component for mekari pixel 3",
|
|
4
|
-
"version": "0.0.16-dev.
|
|
4
|
+
"version": "0.0.16-dev.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.1.2-dev.
|
|
12
|
-
"@mekari/pixel3-utils": "0.0.7-dev.
|
|
11
|
+
"@mekari/pixel3-styled-system": "0.1.2-dev.1",
|
|
12
|
+
"@mekari/pixel3-utils": "0.0.7-dev.1"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"vue": "^3.4.9"
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"build:types": "tsup src --dts-only",
|
|
37
37
|
"types:check": "tsc --noEmit",
|
|
38
38
|
"replace-config": "clean-package",
|
|
39
|
-
"restore-config": "clean-package restore"
|
|
39
|
+
"restore-config": "clean-package restore",
|
|
40
|
+
"types:vue": "vue-tsc --noEmit"
|
|
40
41
|
}
|
|
41
42
|
}
|