sprintify-ui 0.0.170 → 0.0.172

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.
@@ -184,28 +184,22 @@ const Pu = /* @__PURE__ */ $t(Nu, [["render", Lu]]), $u = be({
184
184
  };
185
185
  }
186
186
  }), ju = {
187
- key: 1,
187
+ key: 0,
188
188
  class: "ml-0.5 text-red-600"
189
189
  }, qu = {
190
190
  key: 0,
191
191
  class: "pointer-events-none absolute bottom-[100%] left-0 z-[1] w-auto max-w-[300px]"
192
192
  }, Ru = { class: "relative bottom-1 rounded-md bg-slate-700 py-1 px-2 text-xs leading-tight text-white" };
193
193
  function Fu(t, i, e, r, o, a) {
194
- const l = st("BaseIcon");
195
194
  return R(), X("label", {
196
195
  class: de(t.classes)
197
196
  }, [
198
197
  q("div", {
199
198
  class: de(["relative", [t.help ? "cursor-help" : "cursor-default"]]),
200
- onMouseenter: i[0] || (i[0] = (c) => t.showTooltip = !0),
201
- onMouseleave: i[1] || (i[1] = (c) => t.showTooltip = !1)
199
+ onMouseenter: i[0] || (i[0] = (l) => t.showTooltip = !0),
200
+ onMouseleave: i[1] || (i[1] = (l) => t.showTooltip = !1)
202
201
  }, [
203
202
  q("span", null, Se(t.label), 1),
204
- t.help ? (R(), Te(l, {
205
- key: 0,
206
- class: "relative bottom-px ml-1 inline h-4 w-4 text-slate-400",
207
- icon: "heroicons:question-mark-circle-20-solid"
208
- })) : ke("", !0),
209
203
  t.required ? (R(), X("span", ju, " *")) : ke("", !0),
210
204
  he(Pt, {
211
205
  "enter-active-class": "transition duration-200 ease-out",
@@ -1182,22 +1176,20 @@ const Ra = /* @__PURE__ */ new WeakMap(), Fa = (t) => {
1182
1176
  }, 8, ["label", "name"]),
1183
1177
  he(Mn, {
1184
1178
  label: d.$t("sui.region"),
1185
- name: `${I(c)}country`,
1179
+ name: `${I(c)}region`,
1186
1180
  required: "",
1187
1181
  class: "mb-4 flex-1"
1188
1182
  }, {
1189
1183
  default: ge(() => [
1190
1184
  he(Ii, {
1191
1185
  "model-value": I(r).region ?? "",
1192
- label: d.$t("sui.region"),
1193
- name: `${I(c)}region`,
1194
1186
  class: "w-full",
1195
1187
  required: "",
1196
1188
  options: I(l),
1197
1189
  "label-key": "name",
1198
1190
  "value-key": "id",
1199
1191
  "onUpdate:modelValue": w[5] || (w[5] = (b) => u("region", b))
1200
- }, null, 8, ["model-value", "label", "name", "options"])
1192
+ }, null, 8, ["model-value", "options"])
1201
1193
  ]),
1202
1194
  _: 1
1203
1195
  }, 8, ["label", "name"])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.0.170",
3
+ "version": "0.0.172",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -72,14 +72,12 @@
72
72
  </BaseField>
73
73
  <BaseField
74
74
  :label="$t('sui.region')"
75
- :name="`${namePrefix}country`"
75
+ :name="`${namePrefix}region`"
76
76
  required
77
77
  class="mb-4 flex-1"
78
78
  >
79
79
  <BaseSelect
80
80
  :model-value="normalizedModelValue.region ?? ''"
81
- :label="$t('sui.region')"
82
- :name="`${namePrefix}region`"
83
81
  class="w-full"
84
82
  required
85
83
  :options="regions"
@@ -7,12 +7,13 @@
7
7
  @mouseleave="showTooltip = false"
8
8
  >
9
9
  <span> {{ label }}</span>
10
-
10
+ <!--
11
11
  <BaseIcon
12
12
  v-if="help"
13
13
  class="relative bottom-px ml-1 inline h-4 w-4 text-slate-400"
14
14
  icon="heroicons:question-mark-circle-20-solid"
15
15
  />
16
+ -->
16
17
 
17
18
  <span v-if="required" class="ml-0.5 text-red-600"> *</span>
18
19