adverich-kun-ui 0.1.20 → 0.1.22

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,13 +1,13 @@
1
- import { computed as u, createElementBlock as l, openBlock as e, normalizeClass as S, createElementVNode as c, createCommentVNode as n, renderSlot as o, createBlock as r, createVNode as g, h as f } from "vue";
2
- import s from "../../../KunAppbarTitle/src/components/KunAppbarTitle.vue.js";
1
+ import { computed as u, createElementBlock as l, openBlock as e, normalizeClass as x, createElementVNode as o, createCommentVNode as n, renderSlot as r, createBlock as s, createVNode as g, h as f } from "vue";
2
+ import d from "../../../KunAppbarTitle/src/components/KunAppbarTitle.vue.js";
3
3
  import m from "../../../KunIcon/src/components/KunIcon.vue.js";
4
- const x = { class: "flex items-center gap-2 flex-1 min-w-0" }, v = {
4
+ const S = { class: "flex items-center gap-2 flex-1 min-w-0" }, v = {
5
5
  key: 0,
6
6
  class: "absolute left-1/2 -translate-x-1/2"
7
7
  }, b = {
8
8
  key: 1,
9
9
  class: "flex-1 flex justify-end"
10
- }, k = { class: "flex items-center gap-2" }, C = {
10
+ }, k = { class: "flex items-center gap-2 flex-1 justify-end" }, z = { class: "flex items-center gap-2 ml-auto" }, $ = {
11
11
  __name: "KunAppbar",
12
12
  props: {
13
13
  bgColor: {
@@ -88,27 +88,27 @@ const x = { class: "flex items-center gap-2 flex-1 min-w-0" }, v = {
88
88
  ]);
89
89
  }
90
90
  };
91
- return (i, d) => (e(), l("header", {
92
- class: S(["flex items-center px-4 w-full", [
91
+ return (i, c) => (e(), l("header", {
92
+ class: x(["flex items-center px-4 w-full", [
93
93
  h.value,
94
94
  t.bgColor,
95
95
  y.value,
96
96
  t.bordered ? "border-b border-gray-200" : ""
97
97
  ]])
98
98
  }, [
99
- c("div", x, [
100
- o(i.$slots, "appbarButton", {}, () => [
99
+ o("div", S, [
100
+ r(i.$slots, "appbarButton", {}, () => [
101
101
  t.showDrawerButton ? (e(), l("button", {
102
102
  key: 0,
103
103
  class: "p-2 rounded-md hover:bg-white/10 transition",
104
- onClick: d[0] || (d[0] = (z) => i.$emit("toggle-drawer"))
104
+ onClick: c[0] || (c[0] = (I) => i.$emit("toggle-drawer"))
105
105
  }, [
106
- t.drawerIcon ? (e(), r(m, {
106
+ t.drawerIcon ? (e(), s(m, {
107
107
  key: 1,
108
108
  icon: t.drawerIcon,
109
109
  class: "text-white",
110
110
  size: "text-lg"
111
- }, null, 8, ["icon"])) : (e(), r(m, {
111
+ }, null, 8, ["icon"])) : (e(), s(m, {
112
112
  key: 0,
113
113
  icon: w,
114
114
  class: "text-white",
@@ -116,8 +116,8 @@ const x = { class: "flex items-center gap-2 flex-1 min-w-0" }, v = {
116
116
  }))
117
117
  ])) : n("", !0)
118
118
  ]),
119
- o(i.$slots, "prepend"),
120
- t.title && t.titlePosition === "left" ? (e(), r(s, {
119
+ r(i.$slots, "prepend"),
120
+ t.title && t.titlePosition === "left" ? (e(), s(d, {
121
121
  key: 0,
122
122
  title: t.title,
123
123
  titleImage: t.titleImage,
@@ -126,7 +126,7 @@ const x = { class: "flex items-center gap-2 flex-1 min-w-0" }, v = {
126
126
  }, null, 8, ["title", "titleImage", "textSize", "fontWeight"])) : n("", !0)
127
127
  ]),
128
128
  t.title && t.titlePosition === "center" ? (e(), l("div", v, [
129
- g(s, {
129
+ g(d, {
130
130
  title: t.title,
131
131
  titleImage: t.titleImage,
132
132
  textSize: t.titleSize,
@@ -134,19 +134,21 @@ const x = { class: "flex items-center gap-2 flex-1 min-w-0" }, v = {
134
134
  }, null, 8, ["title", "titleImage", "textSize", "fontWeight"])
135
135
  ])) : n("", !0),
136
136
  t.title && t.titlePosition === "right" ? (e(), l("div", b, [
137
- g(s, {
137
+ g(d, {
138
138
  title: t.title,
139
139
  titleImage: t.titleImage,
140
140
  textSize: t.titleSize,
141
141
  fontWeight: t.titleWeight
142
142
  }, null, 8, ["title", "titleImage", "textSize", "fontWeight"])
143
143
  ])) : n("", !0),
144
- c("div", k, [
145
- o(i.$slots, "actions")
144
+ o("div", k, [
145
+ o("div", z, [
146
+ r(i.$slots, "actions")
147
+ ])
146
148
  ])
147
149
  ], 2));
148
150
  }
149
151
  };
150
152
  export {
151
- C as default
153
+ $ as default
152
154
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adverich-kun-ui",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "type": "module",
5
5
  "description": "Una librería de componentes Vue.js con Tailwind CSS",
6
6
  "main": "dist/index.js",