adverich-kun-ui 0.1.43 → 0.1.44

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,34 @@
1
+ import { computed as r, createElementBlock as a, openBlock as o, normalizeStyle as c, normalizeClass as i } from "vue";
2
+ const s = {
3
+ __name: "KunDivider",
4
+ props: {
5
+ vertical: Boolean,
6
+ inset: Boolean,
7
+ dashed: Boolean,
8
+ length: [String, Number],
9
+ color: {
10
+ type: String,
11
+ default: ""
12
+ }
13
+ },
14
+ setup(e) {
15
+ const t = e, n = r(() => {
16
+ const l = t.length != null ? typeof t.length == "number" ? `${t.length}px` : t.length : void 0;
17
+ return t.vertical ? { height: l } : { width: l };
18
+ });
19
+ return (l, u) => (o(), a("div", {
20
+ role: "separator",
21
+ class: i([
22
+ "shrink-0",
23
+ e.vertical ? "w-px h-full" : "h-px w-full",
24
+ e.dashed ? "border border-dashed border-current bg-transparent" : "bg-current",
25
+ e.inset ? e.vertical ? "ml-4" : "mx-4" : "",
26
+ e.color
27
+ ]),
28
+ style: c(n.value)
29
+ }, null, 6));
30
+ }
31
+ };
32
+ export {
33
+ s as default
34
+ };
package/dist/index.js CHANGED
@@ -1,34 +1,36 @@
1
1
  /* empty css */
2
2
  import m from "./components/KunAlert/src/components/KunAlert.vue.js";
3
- import t from "./components/KunAppbar/src/components/KunAppbar.vue.js";
4
- import i from "./components/KunAppbarTitle/src/components/KunAppbarTitle.vue.js";
3
+ import i from "./components/KunAppbar/src/components/KunAppbar.vue.js";
4
+ import t from "./components/KunAppbarTitle/src/components/KunAppbarTitle.vue.js";
5
5
  import a from "./components/KunAutocomplete/src/components/KunAutocomplete.vue.js";
6
- import p from "./components/KunBtn/src/components/KunBtn.vue.js";
7
- import u from "./components/KunBudge/src/components/KunBudge.vue.js";
6
+ import u from "./components/KunBtn/src/components/KunBtn.vue.js";
7
+ import p from "./components/KunBudge/src/components/KunBudge.vue.js";
8
8
  import f from "./components/KunCard/src/components/KunCard.vue.js";
9
9
  import s from "./components/KunCardText/src/components/KunCardText.vue.js";
10
10
  import K from "./components/KunCurrency/src/components/KunCurrency.vue.js";
11
- import c from "./components/KunIcon/src/components/KunIcon.vue.js";
12
- import e from "./components/KunList/src/components/KunList.vue.js";
13
- import _ from "./components/KunSpacer/src/components/KunSpacer.vue.js";
14
- import l from "./components/KunSwitch/src/components/KunSwitch.vue.js";
15
- import $ from "./components/KunTextField/src/components/KunTextField.vue.js";
11
+ import c from "./components/KunDivider/src/components/KunDivider.vue.js";
12
+ import e from "./components/KunIcon/src/components/KunIcon.vue.js";
13
+ import _ from "./components/KunList/src/components/KunList.vue.js";
14
+ import l from "./components/KunSpacer/src/components/KunSpacer.vue.js";
15
+ import $ from "./components/KunSwitch/src/components/KunSwitch.vue.js";
16
+ import d from "./components/KunTextField/src/components/KunTextField.vue.js";
16
17
  import A from "./components/KunToolbar/src/components/KunToolbar.vue.js";
17
18
  const r = {
18
19
  KunAlert: m,
19
- KunAppbar: t,
20
- KunAppbarTitle: i,
20
+ KunAppbar: i,
21
+ KunAppbarTitle: t,
21
22
  KunAutocomplete: a,
22
- KunBtn: p,
23
- KunBudge: u,
23
+ KunBtn: u,
24
+ KunBudge: p,
24
25
  KunCard: f,
25
26
  KunCardText: s,
26
27
  KunCurrency: K,
27
- KunIcon: c,
28
- KunList: e,
29
- KunSpacer: _,
30
- KunSwitch: l,
31
- KunTextField: $,
28
+ KunDivider: c,
29
+ KunIcon: e,
30
+ KunList: _,
31
+ KunSpacer: l,
32
+ KunSwitch: $,
33
+ KunTextField: d,
32
34
  KunToolbar: A
33
35
  };
34
36
  function q(o) {
@@ -37,19 +39,20 @@ function q(o) {
37
39
  }
38
40
  export {
39
41
  m as KunAlert,
40
- t as KunAppbar,
41
- i as KunAppbarTitle,
42
+ i as KunAppbar,
43
+ t as KunAppbarTitle,
42
44
  a as KunAutocomplete,
43
- p as KunBtn,
44
- u as KunBudge,
45
+ u as KunBtn,
46
+ p as KunBudge,
45
47
  f as KunCard,
46
48
  s as KunCardText,
47
49
  K as KunCurrency,
48
- c as KunIcon,
49
- e as KunList,
50
- _ as KunSpacer,
51
- l as KunSwitch,
52
- $ as KunTextField,
50
+ c as KunDivider,
51
+ e as KunIcon,
52
+ _ as KunList,
53
+ l as KunSpacer,
54
+ $ as KunSwitch,
55
+ d as KunTextField,
53
56
  A as KunToolbar,
54
57
  q as install
55
58
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adverich-kun-ui",
3
- "version": "0.1.43",
3
+ "version": "0.1.44",
4
4
  "type": "module",
5
5
  "description": "Una librería de componentes Vue.js con Tailwind CSS",
6
6
  "main": "dist/index.js",