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.
@@ -0,0 +1,3 @@
1
+ import { default as sButton } from './sButton.vue';
2
+ import * as types from './types';
3
+ export { sButton, types, };
package/dist/index.d.ts CHANGED
@@ -1,20 +1,2 @@
1
- declare const _default: {
2
- components: {
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 r, openBlock as _, createElementBlock as d, renderSlot as n } from "vue";
2
- const p = { class: "button" }, a = /* @__PURE__ */ r({
3
- __name: "index",
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) => (_(), d("button", p, [
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, c] of t)
17
- e[s] = c;
16
+ for (const [s, r] of t)
17
+ e[s] = r;
18
18
  return e;
19
- }, u = /* @__PURE__ */ l(a, [["__scopeId", "data-v-7196e6dd"]]), i = {
20
- senchButton: u
21
- }, m = {
22
- components: i
23
- };
19
+ }, f = /* @__PURE__ */ l(u, [["__scopeId", "data-v-2ea7e8f9"]]);
24
20
  export {
25
- m as default
21
+ f as button
26
22
  };
package/dist/sench.umd.ts CHANGED
@@ -1 +1 @@
1
- (function(e,t){typeof exports=="object"&&typeof module<"u"?module.exports=t(require("vue")):typeof define=="function"&&define.amd?define(["vue"],t):(e=typeof globalThis<"u"?globalThis:e||self,e.sench=t(e.Vue))})(this,function(e){"use strict";const t={class:"button"};return{components:{senchButton:((o,n)=>{const s=o.__vccOpts||o;for(const[c,r]of n)s[c]=r;return s})(e.defineComponent({__name:"index",props:{text:{},color:{}},setup(o){return(n,s)=>(e.openBlock(),e.createElementBlock("button",t,[e.renderSlot(n.$slots,"default",{},void 0,!0),e.renderSlot(n.$slots,"icon",{},void 0,!0)]))}}),[["__scopeId","data-v-7196e6dd"]])}}});
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-7196e6dd]{padding:8px 16px}
1
+ .button[data-v-2ea7e8f9]{padding:8px 16px}
@@ -0,0 +1,2 @@
1
+ export * from '../index'
2
+ export {}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "sench-ui-kit",
3
- "version": "0.0.2",
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/components/index.d.ts",
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;