sench-ui-kit 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/button/index.d.ts +3 -0
- package/dist/index.d.ts +2 -20
- package/dist/sench.es.ts +8 -12
- package/dist/sench.umd.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +2 -0
- package/package.json +2 -2
- package/dist/components/index.d.ts +0 -18
- /package/dist/{components/senchButton/index.vue.d.ts → button/sButton.vue.d.ts} +0 -0
- /package/dist/{components/senchButton → button}/types.d.ts +0 -0
package/dist/index.d.ts
CHANGED
@@ -1,20 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
senchButton: {
|
4
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./components/senchButton/types').ButtonProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
5
|
-
P: {};
|
6
|
-
B: {};
|
7
|
-
D: {};
|
8
|
-
C: {};
|
9
|
-
M: {};
|
10
|
-
Defaults: {};
|
11
|
-
}, Readonly<import('./components/senchButton/types').ButtonProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
12
|
-
__isFragment?: never;
|
13
|
-
__isTeleport?: never;
|
14
|
-
__isSuspense?: never;
|
15
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./components/senchButton/types').ButtonProps> & 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 () => {
|
16
|
-
$slots: Readonly<import('./components/senchButton/types').ButtonSlots> & import('./components/senchButton/types').ButtonSlots;
|
17
|
-
});
|
18
|
-
};
|
19
|
-
};
|
20
|
-
export default _default;
|
1
|
+
import { sButton as button } from './button';
|
2
|
+
export { button };
|
package/dist/sench.es.ts
CHANGED
@@ -1,26 +1,22 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
const p = { class: "button" },
|
3
|
-
__name: "
|
1
|
+
import { defineComponent as c, openBlock as _, createElementBlock as a, renderSlot as n } from "vue";
|
2
|
+
const p = { class: "button" }, u = /* @__PURE__ */ c({
|
3
|
+
__name: "sButton",
|
4
4
|
props: {
|
5
5
|
text: {},
|
6
6
|
color: {}
|
7
7
|
},
|
8
8
|
setup(o) {
|
9
|
-
return (t, e) => (_(),
|
9
|
+
return (t, e) => (_(), a("button", p, [
|
10
10
|
n(t.$slots, "default", {}, void 0, !0),
|
11
11
|
n(t.$slots, "icon", {}, void 0, !0)
|
12
12
|
]));
|
13
13
|
}
|
14
14
|
}), l = (o, t) => {
|
15
15
|
const e = o.__vccOpts || o;
|
16
|
-
for (const [s,
|
17
|
-
e[s] =
|
16
|
+
for (const [s, r] of t)
|
17
|
+
e[s] = r;
|
18
18
|
return e;
|
19
|
-
},
|
20
|
-
senchButton: u
|
21
|
-
}, m = {
|
22
|
-
components: i
|
23
|
-
};
|
19
|
+
}, f = /* @__PURE__ */ l(u, [["__scopeId", "data-v-2ea7e8f9"]]);
|
24
20
|
export {
|
25
|
-
|
21
|
+
f as button
|
26
22
|
};
|
package/dist/sench.umd.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(e
|
1
|
+
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.sench={},t.Vue))})(this,function(t,e){"use strict";const r={class:"button"},c=((n,o)=>{const s=n.__vccOpts||n;for(const[i,u]of o)s[i]=u;return s})(e.defineComponent({__name:"sButton",props:{text:{},color:{}},setup(n){return(o,s)=>(e.openBlock(),e.createElementBlock("button",r,[e.renderSlot(o.$slots,"default",{},void 0,!0),e.renderSlot(o.$slots,"icon",{},void 0,!0)]))}}),[["__scopeId","data-v-2ea7e8f9"]]);t.button=c,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
|
package/dist/style.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.button[data-v-
|
1
|
+
.button[data-v-2ea7e8f9]{padding:8px 16px}
|
package/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "sench-ui-kit",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.4",
|
4
4
|
"type": "module",
|
5
5
|
"main": "./dist/sench.umd.ts",
|
6
6
|
"module": "./dist/sench.es.ts",
|
7
|
-
"types": "./dist/
|
7
|
+
"types": "./dist/types/index.d.ts",
|
8
8
|
"files": [
|
9
9
|
"dist"
|
10
10
|
],
|
@@ -1,18 +0,0 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
senchButton: {
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./senchButton/types').ButtonProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
4
|
-
P: {};
|
5
|
-
B: {};
|
6
|
-
D: {};
|
7
|
-
C: {};
|
8
|
-
M: {};
|
9
|
-
Defaults: {};
|
10
|
-
}, Readonly<import('./senchButton/types').ButtonProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
11
|
-
__isFragment?: never;
|
12
|
-
__isTeleport?: never;
|
13
|
-
__isSuspense?: never;
|
14
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./senchButton/types').ButtonProps> & 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 () => {
|
15
|
-
$slots: Readonly<import('./senchButton/types').ButtonSlots> & import('./senchButton/types').ButtonSlots;
|
16
|
-
});
|
17
|
-
};
|
18
|
-
export default _default;
|
File without changes
|
File without changes
|