@dimasbaguspm/versaur 0.0.11 → 0.0.12

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.
@@ -32,61 +32,61 @@ const u = i(
32
32
  }
33
33
  }
34
34
  ), d = n(
35
- ({ children: e, className: t }, a) => /* @__PURE__ */ o.jsx(
35
+ ({ children: e, className: a }, t) => /* @__PURE__ */ o.jsx(
36
36
  "div",
37
37
  {
38
- ref: a,
38
+ ref: t,
39
39
  "data-versaur-appbar-bottom": !0,
40
- className: l("w-full flex items-center min-h-[2.5rem] mt-2", t),
40
+ className: l("w-full flex items-center min-h-[2.5rem] mt-2", a),
41
41
  children: e
42
42
  }
43
43
  )
44
44
  ), f = n(
45
- ({ children: e, className: t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: l("flex items-center", t), children: e })
45
+ ({ children: e, className: a }, t) => /* @__PURE__ */ o.jsx("div", { ref: t, className: l("flex items-center", a), children: e })
46
46
  ), v = n(
47
- ({ children: e, className: t }, a) => /* @__PURE__ */ o.jsx(
47
+ ({ children: e, className: a }, t) => /* @__PURE__ */ o.jsx(
48
48
  "div",
49
49
  {
50
- ref: a,
51
- className: l("font-semibold text-lg truncate min-w-0", t),
50
+ ref: t,
51
+ className: l("font-semibold text-lg truncate min-w-0", a),
52
52
  children: e
53
53
  }
54
54
  )
55
55
  ), g = n(
56
- ({ children: e, className: t }, a) => /* @__PURE__ */ o.jsx(
56
+ ({ children: e, className: a }, t) => /* @__PURE__ */ o.jsx(
57
57
  "div",
58
58
  {
59
- ref: a,
60
- className: l("text-xs text-ghost-400 truncate min-w-0", t),
59
+ ref: t,
60
+ className: l("text-xs text-ghost-400 truncate min-w-0", a),
61
61
  children: e
62
62
  }
63
63
  )
64
64
  ), y = n(
65
- ({ children: e, className: t }, a) => /* @__PURE__ */ o.jsx(
65
+ ({ children: e, className: a }, t) => /* @__PURE__ */ o.jsx(
66
66
  "div",
67
67
  {
68
- ref: a,
69
- className: l("flex items-center justify-end gap-2", t),
68
+ ref: t,
69
+ className: l("flex items-center justify-end gap-2", a),
70
70
  children: e
71
71
  }
72
72
  )
73
73
  ), B = n(
74
- ({ children: e, className: t, placement: a }, s) => /* @__PURE__ */ o.jsx(
74
+ ({ children: e, className: a, placement: t }, s) => /* @__PURE__ */ o.jsx(
75
75
  "div",
76
76
  {
77
77
  ref: s,
78
- className: l(x({ placement: a }), t),
78
+ className: l(x({ placement: t }), a),
79
79
  children: e
80
80
  }
81
81
  )
82
82
  ), b = ({
83
83
  children: e,
84
- className: t,
85
- variant: a = "primary"
84
+ className: a,
85
+ variant: t = "primary"
86
86
  }) => /* @__PURE__ */ o.jsx(
87
87
  "header",
88
88
  {
89
- className: l(u({ variant: a }), t),
89
+ className: l(u({ variant: t }), a),
90
90
  role: "banner",
91
91
  children: e
92
92
  }
@@ -133,23 +133,23 @@ const u = i(
133
133
  }
134
134
  }
135
135
  ), w = n(
136
- ({ icon: e, label: t, active: a = !1, className: s, ...r }, c) => /* @__PURE__ */ o.jsxs(
136
+ ({ icon: e, label: a, active: t = !1, className: s, ...r }, c) => /* @__PURE__ */ o.jsxs(
137
137
  "div",
138
138
  {
139
139
  ref: c,
140
- "aria-current": a ? "page" : void 0,
141
- className: N({ active: a, className: s }),
140
+ "aria-current": t ? "page" : void 0,
141
+ className: N({ active: t, className: s }),
142
142
  ...r,
143
143
  children: [
144
144
  e,
145
- t && /* @__PURE__ */ o.jsx("span", { className: "text-xs mt-0.5", children: t })
145
+ a && /* @__PURE__ */ o.jsx("span", { className: "text-xs mt-0.5", children: a })
146
146
  ]
147
147
  }
148
148
  )
149
149
  ), h = ({
150
150
  children: e,
151
- variant: t = "primary",
152
- size: a = "md",
151
+ variant: a = "primary",
152
+ size: t = "md",
153
153
  className: s,
154
154
  ...r
155
155
  }) => /* @__PURE__ */ o.jsx(
@@ -157,7 +157,7 @@ const u = i(
157
157
  {
158
158
  role: "navigation",
159
159
  "aria-label": "Bottom navigation",
160
- className: j({ variant: t, size: a, className: s }),
160
+ className: j({ variant: a, size: t, className: s }),
161
161
  ...r,
162
162
  children: e
163
163
  }
@@ -183,43 +183,43 @@ const u = i(
183
183
  }
184
184
  }
185
185
  ), R = i("flex items-center gap-2 ml-4"), S = i("flex items-center gap-2 mr-4"), C = n(
186
- function({ children: t, className: a, ...s }, r) {
187
- return /* @__PURE__ */ o.jsx("nav", { ref: r, className: R({ className: a }), ...s, children: t });
186
+ function({ children: a, className: t, ...s }, r) {
187
+ return /* @__PURE__ */ o.jsx("nav", { ref: r, className: R({ className: t }), ...s, children: a });
188
188
  }
189
189
  ), I = n(
190
- function({ children: t, className: a, ...s }, r) {
191
- return /* @__PURE__ */ o.jsx("div", { ref: r, className: S({ className: a }), ...s, children: t });
190
+ function({ children: a, className: t, ...s }, r) {
191
+ return /* @__PURE__ */ o.jsx("div", { ref: r, className: S({ className: t }), ...s, children: a });
192
192
  }
193
193
  ), F = n(
194
- function({ children: t, className: a, ...s }, r) {
195
- return /* @__PURE__ */ o.jsx("div", { ref: r, className: L({ className: a }), ...s, children: t });
194
+ function({ children: a, className: t, ...s }, r) {
195
+ return /* @__PURE__ */ o.jsx("div", { ref: r, className: L({ className: t }), ...s, children: a });
196
196
  }
197
197
  ), k = n(
198
- function({ children: t, className: a, ...s }, r) {
199
- return /* @__PURE__ */ o.jsx("div", { ref: r, className: V({ className: a }), ...s, children: t });
198
+ function({ children: a, className: t, ...s }, r) {
199
+ return /* @__PURE__ */ o.jsx("div", { ref: r, className: V({ className: t }), ...s, children: a });
200
200
  }
201
201
  ), O = n(
202
- function({ children: t, className: a, active: s, ...r }, c) {
202
+ function({ children: a, className: t, active: s, ...r }, c) {
203
203
  return /* @__PURE__ */ o.jsx(
204
204
  "div",
205
205
  {
206
206
  ref: c,
207
- className: A({ active: s, className: a }),
207
+ className: A({ active: s, className: t }),
208
208
  "aria-current": s ? "page" : void 0,
209
209
  ...r,
210
- children: t
210
+ children: a
211
211
  }
212
212
  );
213
213
  }
214
214
  ), z = n(
215
- ({ children: e, className: t, ...a }, s) => /* @__PURE__ */ o.jsx("header", { ref: s, className: T({ className: t }), ...a, children: e })
215
+ ({ children: e, className: a, ...t }, s) => /* @__PURE__ */ o.jsx("header", { ref: s, className: T({ className: a }), ...t, children: e })
216
216
  ), K = Object.assign(z, {
217
217
  Leading: F,
218
218
  Trailing: k,
219
219
  NavItem: O,
220
220
  Nav: C,
221
221
  Actions: I
222
- }), P = i("w-full bg-white mx-auto relative", {
222
+ }), P = i("w-full mx-auto relative", {
223
223
  variants: {
224
224
  type: {
225
225
  desktop: "max-w-7xl px-6 py-10",
@@ -231,12 +231,12 @@ const u = i(
231
231
  type: "desktop"
232
232
  }
233
233
  }), Q = p.forwardRef(
234
- function({ type: t = "desktop", className: a, children: s, ...r }, c) {
234
+ function({ type: a = "desktop", className: t, children: s, ...r }, c) {
235
235
  return /* @__PURE__ */ o.jsx(
236
236
  "div",
237
237
  {
238
238
  ref: c,
239
- className: l(P({ type: t }), a),
239
+ className: l(P({ type: a }), t),
240
240
  ...r,
241
241
  children: s
242
242
  }
@@ -263,27 +263,27 @@ const u = i(
263
263
  span: "4"
264
264
  }
265
265
  }), E = n(
266
- function({ className: t, children: a, ...s }, r) {
266
+ function({ className: a, children: t, ...s }, r) {
267
267
  return /* @__PURE__ */ o.jsx(
268
268
  "div",
269
269
  {
270
270
  ref: r,
271
- className: l(H(), t),
271
+ className: l(H(), a),
272
272
  ...s,
273
- children: a
273
+ children: t
274
274
  }
275
275
  );
276
276
  }
277
277
  ), $ = n(
278
- function({ span: t = 4, className: a, children: s, ...r }, c) {
279
- const m = Math.min(12, Math.max(1, t));
278
+ function({ span: a = 4, className: t, children: s, ...r }, c) {
279
+ const m = Math.min(12, Math.max(1, a));
280
280
  return /* @__PURE__ */ o.jsx(
281
281
  "div",
282
282
  {
283
283
  ref: c,
284
284
  className: l(
285
285
  M({ span: `${m}` }),
286
- a
286
+ t
287
287
  ),
288
288
  ...r,
289
289
  children: s
package/dist/js/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { L as s, P as e, S as r } from "./skeleton-BNZyaRjo.js";
2
- import { A as n, B as p, F as u, P as c, T as i } from "./form-layout-BRqZZe8s.js";
2
+ import { A as n, B as p, F as u, P as c, T as i } from "./form-layout-BBDs1Y8m.js";
3
3
  import { C as I, a as m, b as T, D as B, R as S, c as x, S as d, d as b, g as f, j as g, i as h, h as C, e as k, T as A, f as P } from "./switch-input-B-pwBWbi.js";
4
4
  import { D as L } from "./drawer-Cn7sreJG.js";
5
5
  import { M, a as F } from "./menu-Du409VIG.js";
@@ -1,4 +1,4 @@
1
- import { A as r, B as s, F as t, P as B, T as p } from "../form-layout-BRqZZe8s.js";
1
+ import { A as r, B as s, F as t, P as B, T as p } from "../form-layout-BBDs1Y8m.js";
2
2
  export {
3
3
  r as AppBar,
4
4
  s as BottomBar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimasbaguspm/versaur",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "React UI library with Tailwind CSS",
5
5
  "author": "Dimas Bagus Prayogo Mukti<dimas.bagus.pm@gmail.com>",
6
6
  "license": "MIT",