@stachelock/ui 0.6.10 → 0.6.11

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.
Files changed (41) hide show
  1. package/dist/{CalendarHeader.vue_vue_type_script_setup_true_lang-Cbgbb2e5.js → CalendarHeader.vue_vue_type_script_setup_true_lang-CooyV5tq.js} +1 -1
  2. package/dist/{ComboboxInput.vue_vue_type_script_setup_true_lang-kHTj4Ju2.js → ComboboxInput.vue_vue_type_script_setup_true_lang-Cy0Pl8Ap.js} +3 -3
  3. package/dist/{DatepickerInput.vue_vue_type_style_index_0_lang-DbI3619T.js → DatepickerInput.vue_vue_type_style_index_0_lang-C_0dWHo6.js} +5 -4
  4. package/dist/{EmailInput.vue_vue_type_script_setup_true_lang-CWEfbsJ_.js → EmailInput.vue_vue_type_script_setup_true_lang-59bDl9yw.js} +5 -5
  5. package/dist/{FileDropzoneInput.vue_vue_type_script_setup_true_lang-BJR-_ngq.js → FileDropzoneInput.vue_vue_type_script_setup_true_lang-BC_qN5qn.js} +1 -1
  6. package/dist/{ImageDropzoneInput.vue_vue_type_script_setup_true_lang-7JWDfxD2.js → ImageDropzoneInput.vue_vue_type_script_setup_true_lang-Dhl2jFaM.js} +93 -89
  7. package/dist/{InlineTabs.vue_vue_type_script_setup_true_lang-BWzrSbT3.js → InlineTabs.vue_vue_type_script_setup_true_lang-DGGJem-g.js} +1 -1
  8. package/dist/{SelectInput.vue_vue_type_script_setup_true_lang-D9yg_rkV.js → SelectInput.vue_vue_type_script_setup_true_lang-DEaP3bhC.js} +15 -14
  9. package/dist/{SelectTextInput.vue_vue_type_script_setup_true_lang-CtFVOrhm.js → SelectTextInput.vue_vue_type_script_setup_true_lang-DYlrRigi.js} +19 -18
  10. package/dist/{TabGroup.vue_vue_type_script_setup_true_lang-123nIzRC.js → TabGroup.vue_vue_type_script_setup_true_lang-DTWW7kYh.js} +1 -1
  11. package/dist/{TabGroupUnderline.vue_vue_type_script_setup_true_lang-DbIwjaLJ.js → TabGroupUnderline.vue_vue_type_script_setup_true_lang-B8e7kxad.js} +1 -1
  12. package/dist/{TabsInPills.vue_vue_type_script_setup_true_lang-mw68ZzS1.js → TabsInPills.vue_vue_type_script_setup_true_lang-Dzi4ENL1.js} +1 -1
  13. package/dist/{TagifyInput.vue_vue_type_script_setup_true_lang-BF2mK8JC.js → TagifyInput.vue_vue_type_script_setup_true_lang-CwxJ2x1x.js} +65 -62
  14. package/dist/{TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js → TextAreaInput.vue_vue_type_script_setup_true_lang-Dtf7H1sT.js} +3 -2
  15. package/dist/calendars/CalendarDashboard.js +1 -1
  16. package/dist/calendars/CalendarHeader.js +1 -1
  17. package/dist/forms/FormFieldWrapper.js +2 -2
  18. package/dist/index.js +14 -14
  19. package/dist/inputs/AddressInput.js +37 -36
  20. package/dist/inputs/ComboboxInput.js +1 -1
  21. package/dist/inputs/DatepickerInput.js +1 -1
  22. package/dist/inputs/EmailInput.js +1 -1
  23. package/dist/inputs/FileDropzoneInput.js +1 -1
  24. package/dist/inputs/ImageDropzoneInput.js +1 -1
  25. package/dist/inputs/PhoneInput.js +3 -3
  26. package/dist/inputs/RichTextInput.js +1 -1
  27. package/dist/inputs/SelectInput.js +1 -1
  28. package/dist/inputs/SelectTextInput.js +1 -1
  29. package/dist/inputs/TagifyInput.js +1 -1
  30. package/dist/inputs/TextAreaInput.js +1 -1
  31. package/dist/inputs/TextInput.js +32 -27
  32. package/dist/src/views/components/index.d.ts +1 -1
  33. package/dist/src/views/index.d.ts +1 -0
  34. package/dist/src/views/inputs/index.d.ts +1 -0
  35. package/dist/style.css +1 -1
  36. package/dist/tabs/InlineTabs.js +1 -1
  37. package/dist/tabs/TabGroup.js +1 -1
  38. package/dist/tabs/TabGroupUnderline.js +1 -1
  39. package/dist/tabs/TabsInPills.js +1 -1
  40. package/dist/tabs/index.js +4 -4
  41. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { defineComponent as Z, ref as w, onMounted as F, onBeforeUnmount as _, reactive as ee, toRefs as te, computed as u, watch as le, createElementBlock as L, openBlock as m, createVNode as v, unref as c, createSlots as se, withCtx as f, createElementVNode as d, normalizeClass as g, createBlock as O, toDisplayString as V, Teleport as ae, Transition as ne, normalizeStyle as ie, Fragment as oe, renderList as re, createCommentVNode as de, resolveDynamicComponent as ue } from "vue";
1
+ import { defineComponent as Z, ref as w, onMounted as F, onBeforeUnmount as _, reactive as ee, toRefs as te, computed as u, watch as le, createElementBlock as L, openBlock as g, createVNode as v, unref as c, createSlots as se, withCtx as f, createElementVNode as d, normalizeClass as m, createBlock as O, toDisplayString as V, Teleport as ae, Transition as ne, normalizeStyle as ie, Fragment as oe, renderList as re, createCommentVNode as de, resolveDynamicComponent as ue } from "vue";
2
2
  import { ChevronUpDownIcon as ce, CheckIcon as fe } from "@heroicons/vue/20/solid";
3
- import { Listbox as ve, ListboxButton as xe, ListboxOptions as me, ListboxOption as ge } from "@headlessui/vue";
3
+ import { Listbox as ve, ListboxButton as xe, ListboxOptions as ge, ListboxOption as me } from "@headlessui/vue";
4
4
  import pe from "./forms/FormFieldWrapper.js";
5
5
  import { g as ye } from "./id-DafBB_QF.js";
6
6
  const he = {
@@ -39,7 +39,8 @@ const he = {
39
39
  disabled: { type: Boolean, default: !1 },
40
40
  disabledMessage: { type: String, default: "" },
41
41
  colorfulValidation: { type: Boolean, default: !0 },
42
- showValidCheck: { type: Boolean, default: !0 },
42
+ showValidCheck: { type: Boolean, default: !1 },
43
+ // Disabled by default since chevron icon would overlap
43
44
  optional: { type: Boolean, default: !1 }
44
45
  },
45
46
  emits: ["update:value", "update:validity"],
@@ -154,7 +155,7 @@ const he = {
154
155
  { deep: !0 }
155
156
  ), F(() => {
156
157
  H.value && k();
157
- }), n.validateOnMount && (p.value = !0, k()), (e, t) => (m(), L("div", he, [
158
+ }), n.validateOnMount && (p.value = !0, k()), (e, t) => (g(), L("div", he, [
158
159
  v(pe, {
159
160
  id: c(U),
160
161
  name: s.name,
@@ -172,7 +173,7 @@ const he = {
172
173
  }, se({
173
174
  default: f(() => [
174
175
  d("div", {
175
- class: g(["sl-flex sl-rounded-md sl-shadow-sm sl-ring-1 sl-ring-inset focus-within:sl-ring-2 focus-within:sl-ring-inset", [
176
+ class: m(["sl-flex sl-rounded-md sl-shadow-sm sl-ring-1 sl-ring-inset focus-within:sl-ring-2 focus-within:sl-ring-inset", [
176
177
  J.value,
177
178
  s.disabled ? "sl-bg-gray-50 dark:sl-bg-slate-800" : "sl-bg-white dark:sl-bg-slate-800"
178
179
  ]])
@@ -187,8 +188,8 @@ const he = {
187
188
  v(c(xe), {
188
189
  ref_key: "listboxButtonRef",
189
190
  ref: R,
190
- class: g([
191
- "sl-relative sl-cursor-default sl-rounded-l-md sl-border-0 sl-py-1.5 sl-pl-3 sl-pr-10 sl-text-left sl-text-sm sl-bg-transparent",
191
+ class: m([
192
+ "sl-relative sl-cursor-default sl-rounded-l-md sl-border-0 sl-py-1.5 sl-pl-2 sl-pr-10 sl-text-left sl-text-sm sl-leading-6 sl-bg-transparent",
192
193
  "focus:sl-outline-none focus:sl-ring-0",
193
194
  s.disabled ? "sl-cursor-not-allowed sl-text-gray-500 dark:sl-text-slate-400" : "sl-text-gray-900 dark:sl-text-slate-100"
194
195
  ]),
@@ -198,7 +199,7 @@ const he = {
198
199
  }, {
199
200
  default: f(() => [
200
201
  d("span", {
201
- class: g(["sl-block sl-truncate sl-min-w-[80px]", B.value ? "" : "sl-text-gray-400 dark:sl-text-slate-500"])
202
+ class: m(["sl-block sl-truncate sl-min-w-[80px] sl-max-w-[200px]", B.value ? "" : "sl-text-gray-400 dark:sl-text-slate-500"])
202
203
  }, V(B.value?.label || s.select?.placeholder || "Select…"), 3),
203
204
  d("span", ke, [
204
205
  v(c(ce), {
@@ -209,34 +210,34 @@ const he = {
209
210
  ]),
210
211
  _: 1
211
212
  }, 8, ["class"]),
212
- (m(), O(ae, { to: "body" }, [
213
+ (g(), O(ae, { to: "body" }, [
213
214
  v(ne, {
214
215
  "leave-active-class": "sl-transition sl-duration-100 sl-ease-in",
215
216
  "leave-from-class": "sl-opacity-100",
216
217
  "leave-to-class": "sl-opacity-0"
217
218
  }, {
218
219
  default: f(() => [
219
- v(c(me), {
220
+ v(c(ge), {
220
221
  class: "sl-fixed sl-z-[9999] sl-max-h-56 sl-overflow-auto sl-rounded-md sl-bg-white dark:sl-bg-slate-800 sl-py-1 sl-text-base sl-shadow-lg dark:sl-shadow-slate-900/50 sl-ring-1 sl-ring-black sl-ring-opacity-5 dark:sl-ring-slate-700 focus:sl-outline-none sm:sl-text-sm",
221
222
  style: ie(I.value)
222
223
  }, {
223
224
  default: f(() => [
224
- (m(!0), L(oe, null, re(N.value, (l) => (m(), O(c(ge), {
225
+ (g(!0), L(oe, null, re(N.value, (l) => (g(), O(c(me), {
225
226
  key: l.value,
226
227
  value: l,
227
228
  as: "template"
228
229
  }, {
229
230
  default: f(({ active: r, selected: o }) => [
230
231
  d("li", {
231
- class: g([
232
+ class: m([
232
233
  "sl-relative sl-cursor-default sl-select-none sl-py-2 sl-pl-3 sl-pr-9",
233
234
  r ? "sl-bg-stachelock-600 sl-text-white" : "sl-text-gray-900 dark:sl-text-slate-200"
234
235
  ])
235
236
  }, [
236
237
  d("span", {
237
- class: g(["sl-block sl-truncate", o ? "sl-font-medium" : "sl-font-normal"])
238
+ class: m(["sl-block sl-truncate", o ? "sl-font-medium" : "sl-font-normal"])
238
239
  }, V(l.label), 3),
239
- o ? (m(), L("span", we, [
240
+ o ? (g(), L("span", we, [
240
241
  v(c(fe), {
241
242
  class: "sl-h-5 sl-w-5",
242
243
  "aria-hidden": "true"
@@ -260,9 +261,9 @@ const he = {
260
261
  t[1] || (t[1] = d("div", { class: "sl-w-px sl-bg-gray-200 dark:sl-bg-slate-700 sl-self-stretch" }, null, -1)),
261
262
  d("div", Se, [
262
263
  d("input", {
263
- class: g([
264
- "sl-block sl-w-full sl-text-sm focus:sl-outline-none focus:sl-ring-0 sl-border-0 sl-py-1.5 sl-pl-3 sl-pr-10 sl-rounded-r-md sl-bg-transparent",
265
- "sl-placeholder:text-gray-400 dark:sl-placeholder:text-slate-500",
264
+ class: m([
265
+ "sl-block sl-w-full sl-text-sm sl-leading-6 focus:sl-outline-none focus:sl-ring-0 sl-border-0 sl-py-1.5 sl-pl-2 sl-pr-10 sl-rounded-r-md sl-bg-transparent",
266
+ "placeholder:sl-text-gray-400 dark:placeholder:sl-text-slate-500",
266
267
  s.disabled ? "sl-text-gray-500 dark:sl-text-slate-400 sl-cursor-not-allowed" : "sl-text-gray-900 dark:sl-text-slate-100"
267
268
  ]),
268
269
  "aria-invalid": h.value || void 0,
@@ -284,7 +285,7 @@ const he = {
284
285
  s.labelIconLeft ? {
285
286
  name: "prefix",
286
287
  fn: f(() => [
287
- (m(), O(ue(s.labelIconLeft), { class: "sl-h-4 sl-w-4 sl-text-yellow-300" }))
288
+ (g(), O(ue(s.labelIconLeft), { class: "sl-h-4 sl-w-4 sl-text-yellow-300" }))
288
289
  ]),
289
290
  key: "0"
290
291
  } : void 0,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as P, computed as v, createElementBlock as a, openBlock as o, createCommentVNode as d, createVNode as u, unref as s, withCtx as c, createElementVNode as m, Fragment as j, renderList as z, createBlock as p, normalizeClass as _, createTextVNode as A, toDisplayString as k, renderSlot as y, KeepAlive as F, resolveDynamicComponent as K, mergeProps as U, toHandlers as q } from "vue";
2
2
  import { TabGroup as J, TabList as Q, Tab as R } from "@headlessui/vue";
3
3
  import { useTabs as W } from "./composables/useTabs.js";
4
- import { _ as X } from "./SelectInput.vue_vue_type_script_setup_true_lang-D9yg_rkV.js";
4
+ import { _ as X } from "./SelectInput.vue_vue_type_script_setup_true_lang-DEaP3bhC.js";
5
5
  const Y = { class: "sl-w-full" }, Z = {
6
6
  key: 0,
7
7
  class: "sl-block sm:sl-hidden sl-mb-4"
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as P, computed as x, createElementBlock as n, openBlock as t, createCommentVNode as r, createVNode as v, toDisplayString as m, unref as l, withCtx as F, createElementVNode as c, Fragment as L, renderList as U, normalizeClass as f, createTextVNode as z, renderSlot as g, createBlock as y, KeepAlive as A, resolveDynamicComponent as K, mergeProps as j, toHandlers as q } from "vue";
2
2
  import { TabGroup as J } from "@headlessui/vue";
3
3
  import { useTabs as Q } from "./composables/useTabs.js";
4
- import { _ as R } from "./SelectInput.vue_vue_type_script_setup_true_lang-D9yg_rkV.js";
4
+ import { _ as R } from "./SelectInput.vue_vue_type_script_setup_true_lang-DEaP3bhC.js";
5
5
  const W = { class: "sl-w-full" }, X = {
6
6
  key: 0,
7
7
  class: "sl-text-lg sl-font-semibold sl-text-gray-900 dark:sl-text-white sl-mb-4"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as I, createElementBlock as l, openBlock as t, createElementVNode as o, renderSlot as m, createVNode as V, unref as s, Fragment as r, renderList as i, normalizeClass as u, withModifiers as w, createTextVNode as N, createCommentVNode as h, toDisplayString as p } from "vue";
2
- import { _ as S } from "./SelectInput.vue_vue_type_script_setup_true_lang-D9yg_rkV.js";
2
+ import { _ as S } from "./SelectInput.vue_vue_type_script_setup_true_lang-DEaP3bhC.js";
3
3
  import { u as $ } from "./useSimpleTabs-CSgkChEU.js";
4
4
  const B = { class: "sl-w-full" }, E = { class: "sm:sl-hidden" }, U = { class: "sl-hidden sm:sl-block sl-overflow-x-auto" }, z = {
5
5
  class: "sl-flex sl-flex-nowrap sl-space-x-4",
@@ -1,14 +1,14 @@
1
- import { defineComponent as V, ref as p, watch as z, onMounted as A, createBlock as w, openBlock as u, withCtx as g, createElementVNode as d, normalizeClass as F, createElementBlock as c, Fragment as T, renderList as S, withDirectives as k, toDisplayString as h, normalizeStyle as Q, withKeys as C, withModifiers as y, vModelText as B, createVNode as U, unref as R, createCommentVNode as K, renderSlot as L, nextTick as W } from "vue";
1
+ import { defineComponent as z, ref as v, watch as A, onMounted as F, createBlock as w, openBlock as u, withCtx as g, createElementVNode as d, normalizeClass as k, createElementBlock as c, Fragment as T, renderList as S, withDirectives as C, toDisplayString as h, normalizeStyle as Q, withKeys as B, withModifiers as y, vModelText as K, createVNode as U, unref as R, createCommentVNode as L, renderSlot as N, nextTick as W } from "vue";
2
2
  import { XMarkIcon as X } from "@heroicons/vue/20/solid";
3
- import { _ } from "./UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js";
4
- import j from "./forms/FormFieldWrapper.js";
5
- const G = { key: 0 }, H = ["onUpdate:modelValue", "placeholder", "disabled", "onKeydown", "onBlur"], P = ["onClick", "disabled"], Y = { class: "sl-flex-1 sl-min-w-0 sl-relative" }, Z = ["placeholder", "disabled", "onKeydown"], ee = { class: "sl-absolute sl-inset-y-0 sl-right-0 sl-flex sl-items-center sl-pr-3 sl-pointer-events-auto" }, te = {
3
+ import { _ as j } from "./UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js";
4
+ import G from "./forms/FormFieldWrapper.js";
5
+ const H = { key: 0 }, P = ["onUpdate:modelValue", "placeholder", "disabled", "onKeydown", "onBlur"], Y = ["onClick", "disabled"], Z = ["placeholder", "disabled", "onKeydown"], _ = { class: "sl-absolute sl-inset-y-0 sl-right-0 sl-flex sl-items-center sl-pr-3 sl-pointer-events-auto" }, ee = {
6
6
  key: 0,
7
7
  class: "sl-absolute sl-z-50 sl-mt-1 sl-max-h-60 sl-w-full sl-overflow-auto sl-rounded-md sl-bg-white sl-py-1 sl-text-base sl-shadow-lg sl-ring-1 sl-ring-black sl-ring-opacity-5 focus:sl-outline-none sm:sl-text-sm"
8
- }, le = ["onClick"], se = { class: "sl-flex" }, ae = { class: "sl-truncate sl-font-semibold" }, ne = { class: "sl-block sl-truncate" }, oe = {
8
+ }, te = ["onClick"], le = { class: "sl-flex" }, se = { class: "sl-truncate sl-font-semibold" }, ae = { class: "sl-block sl-truncate" }, ne = {
9
9
  key: 0,
10
10
  class: "sl-ml-2 sl-truncate sl-text-gray-500"
11
- }, ce = /* @__PURE__ */ V({
11
+ }, de = /* @__PURE__ */ z({
12
12
  __name: "TagifyInput",
13
13
  props: {
14
14
  items: {
@@ -81,29 +81,29 @@ const G = { key: 0 }, H = ["onUpdate:modelValue", "placeholder", "disabled", "on
81
81
  }
82
82
  },
83
83
  emits: ["update:value", "update:query", "invalid-tag"],
84
- setup(s, { expose: N, emit: D }) {
85
- const t = s, m = D, i = p(""), f = p([]), n = p(JSON.parse(JSON.stringify(t.value))), v = p(!1);
86
- z(
84
+ setup(s, { expose: D, emit: I }) {
85
+ const t = s, m = I, o = v(""), p = v([]), n = v(JSON.parse(JSON.stringify(t.value))), f = v(!1);
86
+ A(
87
87
  () => t.value,
88
88
  (e) => {
89
89
  JSON.stringify(e) !== JSON.stringify(n.value) && (n.value = JSON.parse(JSON.stringify(e)));
90
90
  },
91
91
  { deep: !0 }
92
92
  );
93
- const I = (e) => e[t.itemSubtext] || e[t.itemText], $ = (e) => e[t.itemSubtext] ? e[t.itemText] : void 0, q = (e) => e[t.tagDisplayKey] || e[t.itemText], E = () => {
94
- if (i.value && i.value.length > 0) {
95
- m("update:query", i.value);
96
- const e = i.value.toLowerCase();
97
- f.value = t.items.filter((a) => a[t.itemText]?.toLowerCase().includes(e) || a[t.itemSubtext]?.toLowerCase().includes(e)), v.value = !0;
93
+ const $ = (e) => e[t.itemSubtext] || e[t.itemText], q = (e) => e[t.itemSubtext] ? e[t.itemText] : void 0, E = (e) => e[t.tagDisplayKey] || e[t.itemText], J = () => {
94
+ if (o.value && o.value.length > 0) {
95
+ m("update:query", o.value);
96
+ const e = o.value.toLowerCase();
97
+ p.value = t.items.filter((a) => a[t.itemText]?.toLowerCase().includes(e) || a[t.itemSubtext]?.toLowerCase().includes(e)), f.value = !0;
98
98
  } else
99
- f.value = [], v.value = !1;
100
- }, J = () => {
101
- const e = i.value.trim();
99
+ p.value = [], f.value = !1;
100
+ }, M = () => {
101
+ const e = o.value.trim();
102
102
  if (e === "")
103
103
  return;
104
104
  let a = null;
105
105
  const l = e.toLowerCase(), r = t.items.find(
106
- (o) => o[t.itemText]?.toLowerCase() === l || o[t.itemSubtext]?.toLowerCase() === l
106
+ (i) => i[t.itemText]?.toLowerCase() === l || i[t.itemSubtext]?.toLowerCase() === l
107
107
  );
108
108
  if (r)
109
109
  a = { ...r };
@@ -112,16 +112,16 @@ const G = { key: 0 }, H = ["onUpdate:modelValue", "placeholder", "disabled", "on
112
112
  else
113
113
  return;
114
114
  n.value.some(
115
- (o) => o[t.itemText] === a[t.itemText]
116
- ) || (n.value.push(a), m("update:value", n.value)), i.value = "", f.value = [], v.value = !1;
117
- }, M = (e) => {
115
+ (i) => i[t.itemText] === a[t.itemText]
116
+ ) || (n.value.push(a), m("update:value", n.value)), o.value = "", p.value = [], f.value = !1;
117
+ }, O = (e) => {
118
118
  const a = e[t.itemText].trim();
119
119
  n.value.some(
120
120
  (l) => l[t.itemText] === a
121
- ) || (n.value.push({ ...e }), m("update:value", n.value)), i.value = "", f.value = [], v.value = !1;
121
+ ) || (n.value.push({ ...e }), m("update:value", n.value)), o.value = "", p.value = [], f.value = !1;
122
122
  }, b = (e) => {
123
123
  n.value.splice(e, 1), m("update:value", n.value);
124
- }, O = (e) => {
124
+ }, V = (e) => {
125
125
  n.value[e].isEditing = !0, W(() => {
126
126
  });
127
127
  }, x = (e) => {
@@ -136,11 +136,11 @@ const G = { key: 0 }, H = ["onUpdate:modelValue", "placeholder", "disabled", "on
136
136
  a[t.itemText] = l, m("update:value", n.value);
137
137
  }
138
138
  };
139
- return A(() => {
140
- f.value = [];
141
- }), N({
139
+ return F(() => {
140
+ p.value = [];
141
+ }), D({
142
142
  selectedTags: n
143
- }), (e, a) => (u(), w(j, {
143
+ }), (e, a) => (u(), w(G, {
144
144
  id: s.name,
145
145
  name: s.name,
146
146
  label: s.label,
@@ -150,74 +150,77 @@ const G = { key: 0 }, H = ["onUpdate:modelValue", "placeholder", "disabled", "on
150
150
  optional: s.optional
151
151
  }, {
152
152
  "tertiary-label-overlay": g(() => [
153
- L(e.$slots, "tertiary-overlay")
153
+ N(e.$slots, "tertiary-overlay")
154
154
  ]),
155
155
  default: g(() => [
156
156
  d("div", {
157
- class: F(["sl-flex sl-flex-wrap sl-items-center sl-gap-4 sl-rounded-md sl-bg-white sl-px-3 sm:sl-text-sm sm:sl-leading-6", s.inline ? null : "sl-shadow-sm sl-border sl-border-gray-300 focus-within:sl-ring-2 focus-within:sl-ring-stachelock-600"])
157
+ class: k(["sl-flex sl-flex-wrap sl-items-center sl-gap-2 sl-rounded-md sl-bg-white sl-py-1.5 sl-ring-1 sl-ring-inset sl-ring-gray-300 dark:sl-ring-slate-600 dark:sl-bg-slate-800 sm:sl-text-sm sm:sl-leading-6", s.inline ? null : "sl-shadow-sm focus-within:sl-ring-2 focus-within:sl-ring-stachelock-600"])
158
158
  }, [
159
- (u(!0), c(T, null, S(n.value, (l, r) => (u(), w(_, {
159
+ (u(!0), c(T, null, S(n.value, (l, r) => (u(), w(j, {
160
160
  key: r,
161
- onClick: (o) => O(r),
161
+ onClick: (i) => V(r),
162
162
  theme: "primary",
163
- size: "sm"
163
+ size: "sm",
164
+ class: "sl-ml-2"
164
165
  }, {
165
166
  default: g(() => [
166
- l.isEditing ? k((u(), c("input", {
167
+ l.isEditing ? C((u(), c("input", {
167
168
  key: 1,
168
169
  ref_for: !0,
169
170
  ref: "editInput",
170
- "onUpdate:modelValue": (o) => l[t.itemText] = o,
171
+ "onUpdate:modelValue": (i) => l[t.itemText] = i,
171
172
  placeholder: s.placeholder,
172
173
  disabled: s.disabled,
173
- onKeydown: C(y((o) => x(r), ["prevent"]), ["enter"]),
174
- onBlur: (o) => x(r),
175
- class: "sl-bg-transparent sl-border-none sl-outline-none sl-text-stachelock-600 sl-text-sm placeholder:sl-text-stachelock-400/80 focus:sl-ring-0 focus:sl-ring-stachelock-600 focus:sl-rounded-lg -sl-mx-3 -sl-my-2",
174
+ onKeydown: B(y((i) => x(r), ["prevent"]), ["enter"]),
175
+ onBlur: (i) => x(r),
176
+ class: "sl-bg-transparent sl-border-none sl-outline-none sl-text-stachelock-600 sl-text-sm placeholder:sl-text-gray-400 dark:placeholder:sl-text-slate-500 focus:sl-ring-0 focus:sl-ring-stachelock-600 focus:sl-rounded-lg",
176
177
  style: Q({ width: l[t.itemText].length + 4 + "ch" })
177
- }, null, 44, H)), [
178
- [B, l[t.itemText]]
179
- ]) : (u(), c("span", G, h(q(l)), 1)),
178
+ }, null, 44, P)), [
179
+ [K, l[t.itemText]]
180
+ ]) : (u(), c("span", H, h(E(l)), 1)),
180
181
  d("button", {
181
182
  type: "button",
182
183
  class: "sl-ml-2 sl-text-stachelock-600 hover:sl-text-stachelock-400 focus:sl-outline-none",
183
- onClick: y((o) => b(r), ["stop"]),
184
+ onClick: y((i) => b(r), ["stop"]),
184
185
  disabled: s.disabled
185
186
  }, [
186
187
  U(R(X), { class: "sl-h-4 sl-w-4" })
187
- ], 8, P)
188
+ ], 8, Y)
188
189
  ]),
189
190
  _: 2
190
191
  }, 1032, ["onClick"]))), 128)),
191
- d("div", Y, [
192
- k(d("input", {
192
+ d("div", {
193
+ class: k(["sl-flex-1 sl-min-w-0 sl-relative", n.value.length === 0 ? "sl-pl-2" : ""])
194
+ }, [
195
+ C(d("input", {
193
196
  ref: "input",
194
- "onUpdate:modelValue": a[0] || (a[0] = (l) => i.value = l),
197
+ "onUpdate:modelValue": a[0] || (a[0] = (l) => o.value = l),
195
198
  placeholder: s.placeholder,
196
- onInput: E,
199
+ onInput: J,
197
200
  disabled: s.disabled,
198
- onKeydown: C(y(J, ["prevent"]), ["enter"]),
199
- class: "sl-w-full sl-border-none sl-outline-none sl-rounded-md focus:sl-ring-0 sl-text-sm sl-font-light -sl-mx-3 sl-pr-12"
201
+ onKeydown: B(y(M, ["prevent"]), ["enter"]),
202
+ class: "sl-w-full sl-border-none sl-outline-none sl-rounded-md sl-bg-transparent focus:sl-ring-0 sl-text-sm sl-text-gray-900 dark:sl-text-slate-100 placeholder:sl-text-gray-400 dark:placeholder:sl-text-slate-500 sl-pr-12"
200
203
  }, null, 40, Z), [
201
- [B, i.value]
204
+ [K, o.value]
202
205
  ]),
203
- d("div", ee, [
204
- L(e.$slots, "input-overlay")
206
+ d("div", _, [
207
+ N(e.$slots, "input-overlay")
205
208
  ]),
206
- v.value && !s.disabled ? (u(), c("div", te, [
207
- (u(!0), c(T, null, S(f.value, (l) => (u(), c("div", {
209
+ f.value && !s.disabled ? (u(), c("div", ee, [
210
+ (u(!0), c(T, null, S(p.value, (l) => (u(), c("div", {
208
211
  key: l[s.itemKey],
209
212
  class: "sl-cursor-pointer sl-select-none sl-py-2 sl-pl-3 sl-pr-9 hover:sl-bg-stachelock-600 hover:sl-text-white",
210
- onClick: y((r) => M(l), ["prevent"])
213
+ onClick: y((r) => O(l), ["prevent"])
211
214
  }, [
212
- d("div", se, [
213
- d("span", ae, [
214
- d("span", ne, h(I(l)), 1)
215
+ d("div", le, [
216
+ d("span", se, [
217
+ d("span", ae, h($(l)), 1)
215
218
  ]),
216
- s.showSubext ? (u(), c("span", oe, h($(l)), 1)) : K("", !0)
219
+ s.showSubext ? (u(), c("span", ne, h(q(l)), 1)) : L("", !0)
217
220
  ])
218
- ], 8, le))), 128))
219
- ])) : K("", !0)
220
- ])
221
+ ], 8, te))), 128))
222
+ ])) : L("", !0)
223
+ ], 2)
221
224
  ], 2)
222
225
  ]),
223
226
  _: 3
@@ -225,5 +228,5 @@ const G = { key: 0 }, H = ["onUpdate:modelValue", "placeholder", "disabled", "on
225
228
  }
226
229
  });
227
230
  export {
228
- ce as _
231
+ de as _
229
232
  };
@@ -50,8 +50,9 @@ const L = { class: "sl-w-full" }, T = { class: "sl-relative" }, P = ["id", "name
50
50
  const w = F(() => {
51
51
  const l = [
52
52
  "sl-w-full",
53
- "sl-px-3",
54
- "sl-py-2",
53
+ "sl-pl-2",
54
+ "sl-pr-3",
55
+ "sl-py-1.5",
55
56
  "sl-text-sm",
56
57
  "sl-border",
57
58
  "sl-rounded-md",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as _, ref as w, computed as d, createElementBlock as y, openBlock as D, createElementVNode as r, createVNode as s, withCtx as b, createTextVNode as x } from "vue";
2
- import { _ as C } from "../CalendarHeader.vue_vue_type_script_setup_true_lang-Cbgbb2e5.js";
2
+ import { _ as C } from "../CalendarHeader.vue_vue_type_script_setup_true_lang-CooyV5tq.js";
3
3
  import { _ as S } from "../MonthCalendar.vue_vue_type_style_index_0_lang-BdrrlrNr.js";
4
4
  import { _ as E } from "../EventsList.vue_vue_type_script_setup_true_lang-BTIoGr_e.js";
5
5
  import V from "../components/Button.js";
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../CalendarHeader.vue_vue_type_script_setup_true_lang-Cbgbb2e5.js";
1
+ import { _ as f } from "../CalendarHeader.vue_vue_type_script_setup_true_lang-CooyV5tq.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -113,7 +113,7 @@ const B = { class: "sl-grid sl-grid-cols-3 sl-items-center" }, p = ["for"], E =
113
113
  ])) : i("", !0),
114
114
  x.value ? (t(), l("div", {
115
115
  key: 2,
116
- class: n(["sl-flex sl-rounded-md sl-shadow-sm sl-ring-1 sl-ring-inset focus-within:sl-ring-2 focus-within:sl-ring-inset focus-within:sl-ring-stachelock-600", h.value])
116
+ class: n(["sl-flex sl-rounded-md sl-shadow-sm sl-ring-1 sl-ring-inset sl-bg-white dark:sl-bg-slate-800 focus-within:sl-ring-2 focus-within:sl-ring-inset focus-within:sl-ring-stachelock-600", h.value])
117
117
  }, [
118
118
  o("div", N, [
119
119
  r(a.$slots, "prefix", {}, void 0, !0)
@@ -160,7 +160,7 @@ const B = { class: "sl-grid sl-grid-cols-3 sl-items-center" }, p = ["for"], E =
160
160
  }, 8, ["show"])
161
161
  ], 2));
162
162
  }
163
- }), U = /* @__PURE__ */ M(G, [["__scopeId", "data-v-ab892ba2"]]);
163
+ }), U = /* @__PURE__ */ M(G, [["__scopeId", "data-v-7b34e824"]]);
164
164
  export {
165
165
  U as default
166
166
  };
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ import { _ as Ti } from "./UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.
27
27
  import { _ as Mi } from "./UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js";
28
28
  import { UserIcon as st, XMarkIcon as lt, XCircleIcon as at } from "@heroicons/vue/24/solid";
29
29
  import rt from "./components/CloudinaryImage.js";
30
- import { _ as ji } from "./CalendarHeader.vue_vue_type_script_setup_true_lang-Cbgbb2e5.js";
30
+ import { _ as ji } from "./CalendarHeader.vue_vue_type_script_setup_true_lang-CooyV5tq.js";
31
31
  import { _ as Bi } from "./DayCalendar.vue_vue_type_script_setup_true_lang-BgV8wr8v.js";
32
32
  import { _ as Pi } from "./EventCard.vue_vue_type_script_setup_true_lang-B3TP-mWX.js";
33
33
  import { _ as Ai } from "./EventsList.vue_vue_type_script_setup_true_lang-BTIoGr_e.js";
@@ -52,19 +52,19 @@ import Ae from "dayjs/plugin/timezone";
52
52
  import dt from "dayjs/plugin/relativeTime";
53
53
  import { _ as nd } from "./DynamicFormField.vue_vue_type_script_setup_true_lang-BCVmqg_n.js";
54
54
  import { _ as ct } from "./CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js";
55
- import { _ as ut } from "./ComboboxInput.vue_vue_type_script_setup_true_lang-kHTj4Ju2.js";
56
- import { _ as dd } from "./DatepickerInput.vue_vue_type_style_index_0_lang-DbI3619T.js";
57
- import { _ as ud } from "./EmailInput.vue_vue_type_script_setup_true_lang-CWEfbsJ_.js";
55
+ import { _ as ut } from "./ComboboxInput.vue_vue_type_script_setup_true_lang-Cy0Pl8Ap.js";
56
+ import { _ as dd } from "./DatepickerInput.vue_vue_type_style_index_0_lang-C_0dWHo6.js";
57
+ import { _ as ud } from "./EmailInput.vue_vue_type_script_setup_true_lang-59bDl9yw.js";
58
58
  import { _ as fd } from "./EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js";
59
- import { _ as gd } from "./FileDropzoneInput.vue_vue_type_script_setup_true_lang-BJR-_ngq.js";
59
+ import { _ as gd } from "./FileDropzoneInput.vue_vue_type_script_setup_true_lang-BC_qN5qn.js";
60
60
  import { _ as yd } from "./HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js";
61
- import { _ as vd } from "./ImageDropzoneInput.vue_vue_type_script_setup_true_lang-7JWDfxD2.js";
62
- import { _ as mt } from "./TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js";
61
+ import { _ as vd } from "./ImageDropzoneInput.vue_vue_type_script_setup_true_lang-Dhl2jFaM.js";
62
+ import { _ as mt } from "./TextAreaInput.vue_vue_type_script_setup_true_lang-Dtf7H1sT.js";
63
63
  import { _ as ft } from "./SwitchInput.vue_vue_type_script_setup_true_lang-D5Es9AjF.js";
64
- import { _ as ke } from "./SelectInput.vue_vue_type_script_setup_true_lang-D9yg_rkV.js";
65
- import { _ as kd } from "./SelectTextInput.vue_vue_type_script_setup_true_lang-CtFVOrhm.js";
64
+ import { _ as ke } from "./SelectInput.vue_vue_type_script_setup_true_lang-DEaP3bhC.js";
65
+ import { _ as kd } from "./SelectTextInput.vue_vue_type_script_setup_true_lang-DYlrRigi.js";
66
66
  import { _ as $d } from "./SwitchInputGroup.vue_vue_type_script_setup_true_lang-DigNYqVZ.js";
67
- import { _ as Cd } from "./TagifyInput.vue_vue_type_script_setup_true_lang-BF2mK8JC.js";
67
+ import { _ as Cd } from "./TagifyInput.vue_vue_type_script_setup_true_lang-CwxJ2x1x.js";
68
68
  import { _ as Sd } from "./DashboardLayout.vue_vue_type_script_setup_true_lang-BAx4gKqh.js";
69
69
  import { _ as Td } from "./DefaultLayout.vue_vue_type_script_setup_true_lang-BZAz6aC-.js";
70
70
  import { _ as Md } from "./HeaderLayout.vue_vue_type_script_setup_true_lang-BY2G6hCc.js";
@@ -84,10 +84,10 @@ import { TransitionRoot as ge, Dialog as pt, TransitionChild as $e, DialogPanel
84
84
  import { QuestionMarkCircleIcon as yt } from "@heroicons/vue/20/solid";
85
85
  import { SwatchIcon as xt, XMarkIcon as vt, PhoneIcon as _e, EnvelopeIcon as bt, GlobeAltIcon as Re, CakeIcon as He, CalendarDaysIcon as kt, BriefcaseIcon as wt, BuildingOfficeIcon as $t, LinkIcon as _t, MapPinIcon as Ce, BuildingLibraryIcon as Ct, UserGroupIcon as It } from "@heroicons/vue/24/outline";
86
86
  import { _ as Jd } from "./StepperPanels.vue_vue_type_script_setup_true_lang-DPLQ9mQn.js";
87
- import { _ as Qd } from "./InlineTabs.vue_vue_type_script_setup_true_lang-BWzrSbT3.js";
88
- import { _ as t0 } from "./TabGroup.vue_vue_type_script_setup_true_lang-123nIzRC.js";
89
- import { _ as l0 } from "./TabGroupUnderline.vue_vue_type_script_setup_true_lang-DbIwjaLJ.js";
90
- import { _ as r0 } from "./TabsInPills.vue_vue_type_script_setup_true_lang-mw68ZzS1.js";
87
+ import { _ as Qd } from "./InlineTabs.vue_vue_type_script_setup_true_lang-DGGJem-g.js";
88
+ import { _ as t0 } from "./TabGroup.vue_vue_type_script_setup_true_lang-DTWW7kYh.js";
89
+ import { _ as l0 } from "./TabGroupUnderline.vue_vue_type_script_setup_true_lang-B8e7kxad.js";
90
+ import { _ as r0 } from "./TabsInPills.vue_vue_type_script_setup_true_lang-Dzi4ENL1.js";
91
91
  import { _ as n0 } from "./BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js";
92
92
  import { _ as d0 } from "./CardWrapper.vue_vue_type_script_setup_true_lang-D59QBAi9.js";
93
93
  import { _ as u0 } from "./DisclosureWrapper.vue_vue_type_script_setup_true_lang-CgHPOC-w.js";