adverich-kun-ui 0.1.304 → 0.1.305

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.
@@ -1,11 +1,11 @@
1
- import { useSlots as k, ref as c, computed as s, createBlock as r, openBlock as o, resolveDynamicComponent as $, mergeProps as p, withCtx as w, renderSlot as n, createCommentVNode as i, createElementVNode as u, createElementBlock as a, normalizeClass as d, normalizeStyle as B } from "vue";
1
+ import { useSlots as k, ref as c, computed as s, createBlock as r, openBlock as o, resolveDynamicComponent as $, mergeProps as p, withCtx as w, renderSlot as l, createCommentVNode as i, createElementVNode as u, createElementBlock as a, normalizeClass as d, normalizeStyle as B } from "vue";
2
2
  import f from "./KunToolbarTitle.vue.js";
3
3
  const N = {
4
4
  key: 0,
5
5
  class: "pl-2 max-w-1/2 truncate"
6
6
  }, P = {
7
7
  key: 0,
8
- class: "flex-1 flex justify-center items-center max-w-1/2 truncate"
8
+ class: "flex justify-center items-center max-w-1/2 truncate"
9
9
  }, R = {
10
10
  key: 0,
11
11
  class: "pr-2 max-w-1/2 truncate"
@@ -34,8 +34,8 @@ const N = {
34
34
  theme: String,
35
35
  tile: Boolean,
36
36
  title: String,
37
- leftSectionClass: { type: String, default: "flex items-center gap-2" },
38
- rightSectionClass: { type: String, default: "flex items-center gap-2 justify-end ml-auto" }
37
+ leftSectionClass: { type: String, default: "flex items-center gap-x-2" },
38
+ rightSectionClass: { type: String, default: "flex items-center gap-x-2 justify-end" }
39
39
  },
40
40
  setup(t) {
41
41
  const e = t, m = k(), g = c(null), h = c(null), x = s(() => e.extended || !!m.extension), y = s(() => {
@@ -63,26 +63,26 @@ const N = {
63
63
  b.value,
64
64
  S.value
65
65
  );
66
- return (l, j) => (o(), r($(t.tag), p({
66
+ return (n, j) => (o(), r($(t.tag), p({
67
67
  class: ["w-full flex flex-col relative", C.value]
68
- }, l.$attrs), {
68
+ }, n.$attrs), {
69
69
  default: w(() => [
70
- t.image ? n(l.$slots, "image", { key: 0 }) : i("", !0),
70
+ t.image ? l(n.$slots, "image", { key: 0 }) : i("", !0),
71
71
  u("div", {
72
72
  ref_key: "contentRef",
73
73
  ref: g,
74
74
  class: d(["flex items-center w-full justify-between", [
75
75
  y.value,
76
76
  t.extended ? "min-h-[96px]" : "",
77
- "px-4"
77
+ "px-2"
78
78
  ]])
79
79
  }, [
80
80
  u("div", {
81
81
  class: d(t.leftSectionClass)
82
82
  }, [
83
- n(l.$slots, "prepend"),
83
+ l(n.$slots, "prepend"),
84
84
  t.titlePosition === "left" ? (o(), a("div", N, [
85
- n(l.$slots, "title", {}, () => [
85
+ l(n.$slots, "title", {}, () => [
86
86
  t.title ? (o(), r(f, {
87
87
  key: 0,
88
88
  text: t.title
@@ -90,9 +90,9 @@ const N = {
90
90
  ])
91
91
  ])) : i("", !0)
92
92
  ], 2),
93
- n(l.$slots, "default"),
93
+ l(n.$slots, "default"),
94
94
  t.titlePosition === "center" ? (o(), a("div", P, [
95
- n(l.$slots, "title", {}, () => [
95
+ l(n.$slots, "title", {}, () => [
96
96
  t.title ? (o(), r(f, {
97
97
  key: 0,
98
98
  text: t.title
@@ -102,16 +102,16 @@ const N = {
102
102
  u("div", {
103
103
  class: d(t.rightSectionClass)
104
104
  }, [
105
- n(l.$slots, "items"),
105
+ l(n.$slots, "items"),
106
106
  t.titlePosition === "right" ? (o(), a("div", R, [
107
- n(l.$slots, "title", {}, () => [
107
+ l(n.$slots, "title", {}, () => [
108
108
  t.title ? (o(), r(f, {
109
109
  key: 0,
110
110
  text: t.title
111
111
  }, null, 8, ["text"])) : i("", !0)
112
112
  ])
113
113
  ])) : i("", !0),
114
- n(l.$slots, "append")
114
+ l(n.$slots, "append")
115
115
  ], 2)
116
116
  ], 2),
117
117
  x.value ? (o(), a("div", {
@@ -121,7 +121,7 @@ const N = {
121
121
  class: "w-full",
122
122
  style: B({ height: `${t.extensionHeight}px` })
123
123
  }, [
124
- n(l.$slots, "extension")
124
+ l(n.$slots, "extension")
125
125
  ], 4)) : i("", !0)
126
126
  ]),
127
127
  _: 3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adverich-kun-ui",
3
- "version": "0.1.304",
3
+ "version": "0.1.305",
4
4
  "type": "module",
5
5
  "description": "Una librería de componentes Vue.js con Tailwind CSS",
6
6
  "main": "dist/index.js",