sench-ui-kit 0.0.3 → 0.0.4

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.
@@ -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,18 +1,2 @@
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;
1
+ import { sButton as button } from './button';
2
+ export { button };
package/dist/sench.es.ts CHANGED
@@ -1,12 +1,12 @@
1
- import { defineComponent as c, openBlock as _, createElementBlock as d, renderSlot as n } from "vue";
2
- const a = { class: "button" }, p = /* @__PURE__ */ c({
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", a, [
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
  ]));
@@ -16,9 +16,7 @@ const a = { class: "button" }, p = /* @__PURE__ */ c({
16
16
  for (const [s, r] of t)
17
17
  e[s] = r;
18
18
  return e;
19
- }, u = /* @__PURE__ */ l(p, [["__scopeId", "data-v-7196e6dd"]]), f = {
20
- senchButton: u
21
- };
19
+ }, f = /* @__PURE__ */ l(u, [["__scopeId", "data-v-2ea7e8f9"]]);
22
20
  export {
23
- f as default
21
+ f as button
24
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{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}
@@ -1,4 +1,2 @@
1
- export {}
2
- import Sench from '../index'
3
- export default Sench
1
+ export * from '../index'
4
2
  export {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sench-ui-kit",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "main": "./dist/sench.umd.ts",
6
6
  "module": "./dist/sench.es.ts",
File without changes