yangs-ui 0.0.5 → 0.0.7
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/index.full.js +4 -4
- package/es/component.js +2 -2
- package/es/{compontents → components}/button/index.d.ts +2 -2
- package/es/{compontents → components}/button/index.js +1 -1
- package/es/{compontents → components}/button/src/button.js +1 -1
- package/es/{compontents → components}/button/src/button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/{compontents → components}/button/src/button2.js +1 -1
- package/es/components/icon/index.d.ts +10 -0
- package/es/{compontents → components}/icon/index.js +1 -1
- package/es/{compontents → components}/icon/src/icon.js +1 -1
- package/es/{compontents → components}/icon/src/icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/{compontents → components}/icon/src/icon2.js +1 -1
- package/es/index.d.ts +2 -2
- package/es/index.js +4 -4
- package/lib/component.cjs +2 -2
- package/lib/{compontents → components}/button/index.cjs +1 -1
- package/lib/{compontents → components}/button/index.d.ts +2 -2
- package/lib/{compontents → components}/button/src/button.cjs +1 -1
- package/lib/{compontents → components}/button/src/button.vue_vue_type_script_setup_true_lang.cjs +1 -1
- package/lib/{compontents → components}/button/src/button2.cjs +1 -1
- package/lib/{compontents → components}/icon/index.cjs +1 -1
- package/lib/components/icon/index.d.ts +10 -0
- package/lib/{compontents → components}/icon/src/icon.cjs +1 -1
- package/lib/{compontents → components}/icon/src/icon.vue_vue_type_script_setup_true_lang.cjs +1 -1
- package/lib/{compontents → components}/icon/src/icon2.cjs +1 -1
- package/lib/index.cjs +4 -4
- package/lib/index.d.ts +2 -2
- package/package.json +4 -4
- package/es/compontents/icon/index.d.ts +0 -33
- package/lib/compontents/icon/index.d.ts +0 -33
- /package/es/{compontents → components}/button/src/button.d.ts +0 -0
- /package/es/{compontents → components}/button/src/button.vue.d.ts +0 -0
- /package/es/{compontents → components}/icon/src/icon.d.ts +0 -0
- /package/es/{compontents → components}/icon/src/icon.vue.d.ts +0 -0
- /package/es/{compontents → components}/index.d.ts +0 -0
- /package/lib/{compontents → components}/button/src/button.d.ts +0 -0
- /package/lib/{compontents → components}/button/src/button.vue.d.ts +0 -0
- /package/lib/{compontents → components}/icon/src/icon.d.ts +0 -0
- /package/lib/{compontents → components}/icon/src/icon.vue.d.ts +0 -0
- /package/lib/{compontents → components}/index.d.ts +0 -0
package/dist/index.full.js
CHANGED
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
console.log(bem.em("element", "modifier"));
|
|
70
70
|
console.log(bem.bem("block", "element", "modifier"));
|
|
71
71
|
*/
|
|
72
|
-
// ../
|
|
72
|
+
// ../components/icon/src/icon.ts
|
|
73
73
|
var iconProps = {
|
|
74
74
|
color: String,
|
|
75
75
|
size: [Number, String]
|
|
76
76
|
};
|
|
77
|
-
// ../
|
|
77
|
+
// ../components/icon/index.ts
|
|
78
78
|
var YIcon = withInstall(/* @__PURE__ */ (0, vue.defineComponent)({
|
|
79
79
|
name: "y-icon",
|
|
80
80
|
__name: "icon",
|
|
@@ -97,12 +97,12 @@
|
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
}));
|
|
100
|
-
// ../
|
|
100
|
+
// ../components/button/src/button.ts
|
|
101
101
|
var buttonProps = {
|
|
102
102
|
color: String,
|
|
103
103
|
size: [Number, String]
|
|
104
104
|
};
|
|
105
|
-
// ../
|
|
105
|
+
// ../components/button/index.ts
|
|
106
106
|
var YButton = withInstall(/* @__PURE__ */ (0, vue.defineComponent)({
|
|
107
107
|
name: "y-button",
|
|
108
108
|
__name: "button",
|
package/es/component.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { YIcon } from "./
|
|
2
|
-
import { YButton } from "./
|
|
1
|
+
import { YIcon } from "./components/icon/index.js";
|
|
2
|
+
import { YButton } from "./components/button/index.js";
|
|
3
3
|
// component.ts
|
|
4
4
|
var component_default = [YIcon, YButton];
|
|
5
5
|
export { component_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const YButton: import('
|
|
1
|
+
export declare const YButton: import('yangs-ui/es/utils/with-install').SFCWithInstall<{
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
3
|
readonly color: StringConstructor;
|
|
4
4
|
readonly size: import('vue').PropType<number | string>;
|
|
@@ -25,7 +25,7 @@ export declare const YButton: import('@yangs-ui/utils/with-install').SFCWithInst
|
|
|
25
25
|
};
|
|
26
26
|
})>;
|
|
27
27
|
export default YButton;
|
|
28
|
-
export * from './src/button';
|
|
28
|
+
export * from './src/button.ts';
|
|
29
29
|
declare module "vue" {
|
|
30
30
|
interface GlobalComponents {
|
|
31
31
|
YButton: typeof YButton;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { withInstall } from "../../utils/with-install.js";
|
|
2
2
|
import { buttonProps } from "./src/button.js";
|
|
3
3
|
import button_default from "./src/button2.js";
|
|
4
|
-
// ../
|
|
4
|
+
// ../components/button/index.ts
|
|
5
5
|
var YButton = withInstall(button_default);
|
|
6
6
|
export { YButton, YButton as default, buttonProps };
|
package/es/{compontents → components}/button/src/button.vue_vue_type_script_setup_true_lang.js
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createNameSpace } from "../../../utils/create.js";
|
|
2
2
|
import { buttonProps } from "./button.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, normalizeClass, normalizeStyle, openBlock, renderSlot, unref } from "vue";
|
|
4
|
-
// ../
|
|
4
|
+
// ../components/button/src/button.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var button_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
6
6
|
name: "y-button",
|
|
7
7
|
__name: "button",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import button_vue_vue_type_script_setup_true_lang_default from "./button.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
-
// ../
|
|
2
|
+
// ../components/button/src/button.vue
|
|
3
3
|
var button_default = button_vue_vue_type_script_setup_true_lang_default;
|
|
4
4
|
export { button_default as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as Icon } from './src/icon.vue';
|
|
2
|
+
import { SFCWithInstall } from 'yangs-ui/es/utils/with-install';
|
|
3
|
+
export declare const YIcon: SFCWithInstall<typeof Icon>;
|
|
4
|
+
export default YIcon;
|
|
5
|
+
export * from './src/icon.ts';
|
|
6
|
+
declare module "vue" {
|
|
7
|
+
interface GlobalComponents {
|
|
8
|
+
YIcon: typeof YIcon;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { withInstall } from "../../utils/with-install.js";
|
|
2
2
|
import { iconProps } from "./src/icon.js";
|
|
3
3
|
import icon_default from "./src/icon2.js";
|
|
4
|
-
// ../
|
|
4
|
+
// ../components/icon/index.ts
|
|
5
5
|
var YIcon = withInstall(icon_default);
|
|
6
6
|
export { YIcon, YIcon as default, iconProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createNameSpace } from "../../../utils/create.js";
|
|
2
2
|
import { iconProps } from "./icon.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, normalizeClass, normalizeStyle, openBlock, renderSlot, unref } from "vue";
|
|
4
|
-
// ../
|
|
4
|
+
// ../components/icon/src/icon.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var icon_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
6
6
|
name: "y-icon",
|
|
7
7
|
__name: "icon",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import icon_vue_vue_type_script_setup_true_lang_default from "./icon.vue_vue_type_script_setup_true_lang.js";
|
|
2
|
-
// ../
|
|
2
|
+
// ../components/icon/src/icon.vue
|
|
3
3
|
var icon_default = icon_vue_vue_type_script_setup_true_lang_default;
|
|
4
4
|
export { icon_default as default };
|
package/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { INSTALLED_KEY } from "./constants/key.js";
|
|
2
2
|
import { makeInstall } from "./make-install.js";
|
|
3
|
-
import { iconProps } from "./
|
|
4
|
-
import { YIcon } from "./
|
|
5
|
-
import { buttonProps } from "./
|
|
6
|
-
import { YButton } from "./
|
|
3
|
+
import { iconProps } from "./components/icon/src/icon.js";
|
|
4
|
+
import { YIcon } from "./components/icon/index.js";
|
|
5
|
+
import { buttonProps } from "./components/button/src/button.js";
|
|
6
|
+
import { YButton } from "./components/button/index.js";
|
|
7
7
|
import component_default from "./component.js";
|
|
8
8
|
// index.ts
|
|
9
9
|
var installer = makeInstall(component_default);
|
package/lib/component.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_index = require("./
|
|
2
|
-
const require_index$1 = require("./
|
|
1
|
+
const require_index = require("./components/icon/index.cjs");
|
|
2
|
+
const require_index$1 = require("./components/button/index.cjs");
|
|
3
3
|
// component.ts
|
|
4
4
|
var component_default = [require_index.YIcon, require_index$1.YButton];
|
|
5
5
|
exports.default = component_default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_with_install = require("../../utils/with-install.cjs");
|
|
2
2
|
const require_button = require("./src/button.cjs");
|
|
3
3
|
const require_button$1 = require("./src/button2.cjs");
|
|
4
|
-
// ../
|
|
4
|
+
// ../components/button/index.ts
|
|
5
5
|
var YButton = require_with_install.withInstall(require_button$1.default);
|
|
6
6
|
exports.YButton = YButton;
|
|
7
7
|
exports.default = YButton;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const YButton: import('
|
|
1
|
+
export declare const YButton: import('yangs-ui/es/utils/with-install').SFCWithInstall<{
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
3
|
readonly color: StringConstructor;
|
|
4
4
|
readonly size: import('vue').PropType<number | string>;
|
|
@@ -25,7 +25,7 @@ export declare const YButton: import('@yangs-ui/utils/with-install').SFCWithInst
|
|
|
25
25
|
};
|
|
26
26
|
})>;
|
|
27
27
|
export default YButton;
|
|
28
|
-
export * from './src/button';
|
|
28
|
+
export * from './src/button.ts';
|
|
29
29
|
declare module "vue" {
|
|
30
30
|
interface GlobalComponents {
|
|
31
31
|
YButton: typeof YButton;
|
package/lib/{compontents → components}/button/src/button.vue_vue_type_script_setup_true_lang.cjs
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_create = require("../../../utils/create.cjs");
|
|
2
2
|
const require_button = require("./button.cjs");
|
|
3
3
|
let vue = require("vue");
|
|
4
|
-
// ../
|
|
4
|
+
// ../components/button/src/button.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var button_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
6
6
|
name: "y-button",
|
|
7
7
|
__name: "button",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_with_install = require("../../utils/with-install.cjs");
|
|
2
2
|
const require_icon = require("./src/icon.cjs");
|
|
3
3
|
const require_icon$1 = require("./src/icon2.cjs");
|
|
4
|
-
// ../
|
|
4
|
+
// ../components/icon/index.ts
|
|
5
5
|
var YIcon = require_with_install.withInstall(require_icon$1.default);
|
|
6
6
|
exports.YIcon = YIcon;
|
|
7
7
|
exports.default = YIcon;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as Icon } from './src/icon.vue';
|
|
2
|
+
import { SFCWithInstall } from 'yangs-ui/es/utils/with-install';
|
|
3
|
+
export declare const YIcon: SFCWithInstall<typeof Icon>;
|
|
4
|
+
export default YIcon;
|
|
5
|
+
export * from './src/icon.ts';
|
|
6
|
+
declare module "vue" {
|
|
7
|
+
interface GlobalComponents {
|
|
8
|
+
YIcon: typeof YIcon;
|
|
9
|
+
}
|
|
10
|
+
}
|
package/lib/{compontents → components}/icon/src/icon.vue_vue_type_script_setup_true_lang.cjs
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_create = require("../../../utils/create.cjs");
|
|
2
2
|
const require_icon = require("./icon.cjs");
|
|
3
3
|
let vue = require("vue");
|
|
4
|
-
// ../
|
|
4
|
+
// ../components/icon/src/icon.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var icon_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
6
6
|
name: "y-icon",
|
|
7
7
|
__name: "icon",
|
package/lib/index.cjs
CHANGED
|
@@ -4,10 +4,10 @@ Object.defineProperties(exports, {
|
|
|
4
4
|
});
|
|
5
5
|
const require_key = require("./constants/key.cjs");
|
|
6
6
|
const require_make_install = require("./make-install.cjs");
|
|
7
|
-
const require_icon = require("./
|
|
8
|
-
const require_index = require("./
|
|
9
|
-
const require_button = require("./
|
|
10
|
-
const require_index$1 = require("./
|
|
7
|
+
const require_icon = require("./components/icon/src/icon.cjs");
|
|
8
|
+
const require_index = require("./components/icon/index.cjs");
|
|
9
|
+
const require_button = require("./components/button/src/button.cjs");
|
|
10
|
+
const require_index$1 = require("./components/button/index.cjs");
|
|
11
11
|
const require_component = require("./component.cjs");
|
|
12
12
|
// index.ts
|
|
13
13
|
var installer = require_make_install.makeInstall(require_component.default);
|
package/lib/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yangs-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.7",
|
|
5
5
|
"description": "A Component Library for Vue 3",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"yangs-ui",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"vue": "^3.5.0"
|
|
18
18
|
},
|
|
19
|
-
"unpkg": "./
|
|
20
|
-
"jsdelivr": "./
|
|
21
|
-
"style": "./
|
|
19
|
+
"unpkg": "./dist/index.full.js",
|
|
20
|
+
"jsdelivr": "./dist/index.full.js",
|
|
21
|
+
"style": "./dist/index.css",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
24
|
"types": "./es/index.d.ts",
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export declare const YIcon: import('@yangs-ui/utils/with-install').SFCWithInstall<{
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
-
readonly color: StringConstructor;
|
|
4
|
-
readonly size: import('vue').PropType<number | string>;
|
|
5
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
6
|
-
P: {};
|
|
7
|
-
B: {};
|
|
8
|
-
D: {};
|
|
9
|
-
C: {};
|
|
10
|
-
M: {};
|
|
11
|
-
Defaults: {};
|
|
12
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
-
readonly color: StringConstructor;
|
|
14
|
-
readonly size: import('vue').PropType<number | string>;
|
|
15
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
16
|
-
__isFragment?: never;
|
|
17
|
-
__isTeleport?: never;
|
|
18
|
-
__isSuspense?: never;
|
|
19
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
-
readonly color: StringConstructor;
|
|
21
|
-
readonly size: import('vue').PropType<number | string>;
|
|
22
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
23
|
-
$slots: {
|
|
24
|
-
default?: (props: {}) => any;
|
|
25
|
-
};
|
|
26
|
-
})>;
|
|
27
|
-
export default YIcon;
|
|
28
|
-
export * from './src/icon';
|
|
29
|
-
declare module "vue" {
|
|
30
|
-
interface GlobalComponents {
|
|
31
|
-
YIcon: typeof YIcon;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export declare const YIcon: import('@yangs-ui/utils/with-install').SFCWithInstall<{
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
-
readonly color: StringConstructor;
|
|
4
|
-
readonly size: import('vue').PropType<number | string>;
|
|
5
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
6
|
-
P: {};
|
|
7
|
-
B: {};
|
|
8
|
-
D: {};
|
|
9
|
-
C: {};
|
|
10
|
-
M: {};
|
|
11
|
-
Defaults: {};
|
|
12
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
-
readonly color: StringConstructor;
|
|
14
|
-
readonly size: import('vue').PropType<number | string>;
|
|
15
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
16
|
-
__isFragment?: never;
|
|
17
|
-
__isTeleport?: never;
|
|
18
|
-
__isSuspense?: never;
|
|
19
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
-
readonly color: StringConstructor;
|
|
21
|
-
readonly size: import('vue').PropType<number | string>;
|
|
22
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
23
|
-
$slots: {
|
|
24
|
-
default?: (props: {}) => any;
|
|
25
|
-
};
|
|
26
|
-
})>;
|
|
27
|
-
export default YIcon;
|
|
28
|
-
export * from './src/icon';
|
|
29
|
-
declare module "vue" {
|
|
30
|
-
interface GlobalComponents {
|
|
31
|
-
YIcon: typeof YIcon;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|