@nexxtmove/ui 1.0.14 → 1.0.15

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.
package/dist/index.js CHANGED
@@ -8612,35 +8612,35 @@ var Ed = { class: "flex flex-col gap-1" }, Dd = {
8612
8612
  ref_for: !0,
8613
8613
  ref: (e) => a.value[t] = e,
8614
8614
  type: "button",
8615
- class: "relative z-10 flex flex-1 cursor-pointer items-center justify-center rounded-lg px-4 py-1.5 text-gray-500 hover:text-gray-700",
8615
+ class: "relative z-10 flex flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-lg px-4 py-1.5 text-gray-500 hover:text-gray-700",
8616
8616
  onClick: (t) => n.value = e.value
8617
8617
  }, [e.icon ? (A(), c(G, {
8618
8618
  key: 0,
8619
8619
  name: e.icon
8620
- }, null, 8, ["name"])) : e.label ? (A(), u("span", kd, L(e.label), 1)) : l("", !0)], 8, Od)]),
8620
+ }, null, 8, ["name"])) : l("", !0), e.label ? (A(), u("span", kd, L(e.label), 1)) : l("", !0)], 8, Od)]),
8621
8621
  _: 2
8622
8622
  }, 1024)) : (A(), u("button", {
8623
8623
  key: 1,
8624
8624
  ref_for: !0,
8625
8625
  ref: (e) => a.value[t] = e,
8626
8626
  type: "button",
8627
- class: "relative z-10 flex flex-1 cursor-pointer items-center justify-center rounded-lg px-4 py-1.5 text-gray-500 hover:text-gray-700",
8627
+ class: "relative z-10 flex flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-lg px-4 py-1.5 text-gray-500 hover:text-gray-700",
8628
8628
  onClick: (t) => n.value = e.value
8629
8629
  }, [e.icon ? (A(), c(G, {
8630
8630
  key: 0,
8631
8631
  name: e.icon
8632
- }, null, 8, ["name"])) : e.label ? (A(), u("span", jd, L(e.label), 1)) : l("", !0)], 8, Ad))], 64))), 128)),
8632
+ }, null, 8, ["name"])) : l("", !0), e.label ? (A(), u("span", jd, L(e.label), 1)) : l("", !0)], 8, Ad))], 64))), 128)),
8633
8633
  d("div", {
8634
8634
  "aria-hidden": "true",
8635
8635
  class: T(["pointer-events-none absolute inset-0 z-20 flex gap-1 p-1", f.value ? "transition-[clip-path] duration-500 ease-[cubic-bezier(0.34,1.2,0.64,1)]" : ""]),
8636
8636
  style: D({ clipPath: s.value })
8637
8637
  }, [(A(!0), u(r, null, N(e.options, (e) => (A(), u("span", {
8638
8638
  key: e.value,
8639
- class: "flex flex-1 items-center justify-center rounded-lg px-4 py-1.5 text-cornflower-blue-600"
8639
+ class: "flex flex-1 items-center justify-center gap-1.5 rounded-lg px-4 py-1.5 text-cornflower-blue-600"
8640
8640
  }, [e.icon ? (A(), c(G, {
8641
8641
  key: 0,
8642
8642
  name: e.icon
8643
- }, null, 8, ["name"])) : e.label ? (A(), u("span", Md, L(e.label), 1)) : l("", !0)]))), 128))], 6)
8643
+ }, null, 8, ["name"])) : l("", !0), e.label ? (A(), u("span", Md, L(e.label), 1)) : l("", !0)]))), 128))], 6)
8644
8644
  ], 512)]));
8645
8645
  }
8646
8646
  }), Pd = [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nexxtmove/ui",
3
3
  "type": "module",
4
- "version": "1.0.14",
4
+ "version": "1.0.15",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -86,11 +86,11 @@ onMounted(async () => {
86
86
  <button
87
87
  :ref="(el) => (buttonRefs[index] = el as HTMLButtonElement)"
88
88
  type="button"
89
- class="relative z-10 flex flex-1 cursor-pointer items-center justify-center rounded-lg px-4 py-1.5 text-gray-500 hover:text-gray-700"
89
+ class="relative z-10 flex flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-lg px-4 py-1.5 text-gray-500 hover:text-gray-700"
90
90
  @click="model = option.value"
91
91
  >
92
92
  <NexxtIcon v-if="option.icon" :name="option.icon" />
93
- <span v-else-if="option.label" class="extra-small-semibold">{{ option.label }}</span>
93
+ <span v-if="option.label" class="extra-small-semibold">{{ option.label }}</span>
94
94
  </button>
95
95
  <template #tooltip>{{ option.tooltip }}</template>
96
96
  </NexxtTooltip>
@@ -98,11 +98,11 @@ onMounted(async () => {
98
98
  v-else
99
99
  :ref="(el) => (buttonRefs[index] = el as HTMLButtonElement)"
100
100
  type="button"
101
- class="relative z-10 flex flex-1 cursor-pointer items-center justify-center rounded-lg px-4 py-1.5 text-gray-500 hover:text-gray-700"
101
+ class="relative z-10 flex flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-lg px-4 py-1.5 text-gray-500 hover:text-gray-700"
102
102
  @click="model = option.value"
103
103
  >
104
104
  <NexxtIcon v-if="option.icon" :name="option.icon" />
105
- <span v-else-if="option.label" class="extra-small-semibold">{{ option.label }}</span>
105
+ <span v-if="option.label" class="extra-small-semibold">{{ option.label }}</span>
106
106
  </button>
107
107
  </template>
108
108
 
@@ -117,10 +117,10 @@ onMounted(async () => {
117
117
  <span
118
118
  v-for="option in options"
119
119
  :key="option.value"
120
- class="flex flex-1 items-center justify-center rounded-lg px-4 py-1.5 text-cornflower-blue-600"
120
+ class="flex flex-1 items-center justify-center gap-1.5 rounded-lg px-4 py-1.5 text-cornflower-blue-600"
121
121
  >
122
122
  <NexxtIcon v-if="option.icon" :name="option.icon" />
123
- <span v-else-if="option.label" class="extra-small-semibold">{{ option.label }}</span>
123
+ <span v-if="option.label" class="extra-small-semibold">{{ option.label }}</span>
124
124
  </span>
125
125
  </div>
126
126
  </div>