@nexxtmove/ui 1.4.0 → 1.6.0

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
@@ -1071,7 +1071,7 @@ var dt = { funda: { render: ut } }, Z = /* @__PURE__ */ p({
1071
1071
  }, null, 8, ["modelValue"])) : o("", !0)
1072
1072
  ]));
1073
1073
  }
1074
- }), Qt = { class: "card bg-color-white inline-flex w-80 flex-col items-start justify-start gap-0 rounded-t-lg" }, $t = ["src", "alt"], en = /* @__PURE__ */ p({
1074
+ }), Qt = { class: "card inline-flex w-80 flex-col items-start justify-start gap-0 rounded-t-lg" }, $t = ["src", "alt"], en = /* @__PURE__ */ p({
1075
1075
  __name: "Card",
1076
1076
  props: {
1077
1077
  image: {},
@@ -1419,7 +1419,7 @@ var dt = { funda: { render: ut } }, Z = /* @__PURE__ */ p({
1419
1419
  e.label ? (w(), s("label", {
1420
1420
  key: 0,
1421
1421
  for: t,
1422
- class: "text-color-gray-700 justify-start body-normal text-sm"
1422
+ class: "justify-start small-normal text-gray-700"
1423
1423
  }, [d(k(e.label) + " ", 1), e.required ? (w(), s("span", sn, "*")) : o("", !0)])) : o("", !0),
1424
1424
  f($, {
1425
1425
  placement: "bottom-start",
@@ -1670,7 +1670,7 @@ var dt = { funda: { render: ut } }, Z = /* @__PURE__ */ p({
1670
1670
  return (t, i) => (w(), s("div", bn, [
1671
1671
  e.label ? (w(), s("label", {
1672
1672
  key: 0,
1673
- class: "text-color-gray-700 justify-start body-normal text-sm",
1673
+ class: "justify-start small-normal text-gray-700",
1674
1674
  for: r
1675
1675
  }, [d(k(e.label) + " ", 1), e.required ? (w(), s("span", xn, "*")) : o("", !0)])) : o("", !0),
1676
1676
  c("div", { class: y(["group flex items-center gap-2 overflow-hidden rounded-lg ring transition-colors ease-out focus-within:ring-cornflower-blue-500", [e.error ? "ring-brick-400" : "ring-gray-200", {
@@ -2885,7 +2885,7 @@ var sr = /* @__PURE__ */ p({
2885
2885
  return (i, l) => (w(), s("div", Zn, [
2886
2886
  t.label ? (w(), s("label", {
2887
2887
  key: 0,
2888
- class: "text-color-gray-700 justify-start body-normal text-sm",
2888
+ class: "justify-start small-normal text-gray-700",
2889
2889
  for: A(r)
2890
2890
  }, [d(k(t.label) + " ", 1), t.required ? (w(), s("span", $n, "*")) : o("", !0)], 8, Qn)) : o("", !0),
2891
2891
  f($, {
@@ -3437,7 +3437,7 @@ var sr = /* @__PURE__ */ p({
3437
3437
  return (r, i) => (w(), s("div", Fr, [
3438
3438
  t.label ? (w(), s("label", {
3439
3439
  key: 0,
3440
- class: "text-color-gray-700 justify-start body-normal text-sm",
3440
+ class: "justify-start small-normal text-gray-700",
3441
3441
  for: A(l)
3442
3442
  }, [d(k(t.label) + " ", 1), t.required ? (w(), s("span", Lr, "*")) : o("", !0)], 8, Ir)) : o("", !0),
3443
3443
  c("div", { class: y(["group flex items-center overflow-hidden rounded-lg ring transition-colors ease-out focus-within:ring-cornflower-blue-500", [t.error ? "ring-brick-400" : "ring-gray-200", t.selectPosition === "after" ? "flex-row-reverse" : "flex-row"]]) }, [f($, { placement: t.selectPosition === "after" ? "bottom-end" : "bottom-start" }, {
@@ -3887,13 +3887,13 @@ var sr = /* @__PURE__ */ p({
3887
3887
  }
3888
3888
  }), pi = { class: "flex flex-col items-start justify-start gap-2 self-stretch overflow-hidden" }, mi = { class: "inline-flex w-full items-center gap-2 overflow-hidden" }, hi = {
3889
3889
  key: 0,
3890
- class: "text-color-gray-950 shrink-0 body-semibold"
3890
+ class: "shrink-0 body-semibold text-gray-950"
3891
3891
  }, gi = {
3892
3892
  key: 1,
3893
- class: "text-color-gray-950 shrink-0 body-normal"
3893
+ class: "shrink-0 body-normal text-gray-950"
3894
3894
  }, _i = {
3895
3895
  key: 0,
3896
- class: "text-color-gray-950 wrap-break-words w-full body-normal"
3896
+ class: "wrap-break-words w-full body-normal text-gray-950"
3897
3897
  }, vi = /* @__PURE__ */ p({
3898
3898
  __name: "PropertyListing",
3899
3899
  props: {
@@ -3905,7 +3905,7 @@ var sr = /* @__PURE__ */ p({
3905
3905
  return (t, n) => (w(), s("div", pi, [c("div", mi, [
3906
3906
  e.price ? (w(), s("div", hi, " € " + k(e.price.toLocaleString("nl-NL")), 1)) : o("", !0),
3907
3907
  e.price ? (w(), s("div", gi, "|")) : o("", !0),
3908
- c("div", { class: y(["text-color-gray-950 min-w-0 truncate", e.price ? "body-normal" : "body-semibold"]) }, k(e.city), 3)
3908
+ c("div", { class: y(["min-w-0 truncate text-gray-950", e.price ? "body-normal" : "body-semibold"]) }, k(e.city), 3)
3909
3909
  ]), e.text ? (w(), s("div", _i, k(e.text), 1)) : o("", !0)]));
3910
3910
  }
3911
3911
  }), yi = new URL("assets/property_placeholder-CxdNZf4X.jpg", import.meta.url).href, bi = { class: "relative isolate h-40 w-full overflow-hidden rounded-tl-lg rounded-tr-lg" }, xi = ["src"], Si = { class: "absolute inset-0 flex items-center justify-center rounded-tl-lg rounded-tr-lg bg-white/20 backdrop-blur-sm" }, Ci = /* @__PURE__ */ p({
@@ -4142,7 +4142,7 @@ var sr = /* @__PURE__ */ p({
4142
4142
  }), (i, h) => (w(), s("div", Bi, [
4143
4143
  t.label ? (w(), s("label", {
4144
4144
  key: 0,
4145
- class: "text-color-gray-700 justify-start body-normal text-sm",
4145
+ class: "justify-start small-normal text-gray-700",
4146
4146
  for: A(u)
4147
4147
  }, [d(k(t.label) + " ", 1), t.required ? (w(), s("span", Hi, "*")) : o("", !0)], 8, Vi)) : o("", !0),
4148
4148
  f($, {
@@ -5593,7 +5593,7 @@ var Pa = { render: Na }, Fa = { class: "flex items-center justify-end self-stret
5593
5593
  }
5594
5594
  }), ls = { class: "flex flex-col gap-1" }, us = {
5595
5595
  key: 0,
5596
- class: "text-color-gray-700 justify-start body-normal text-sm"
5596
+ class: "justify-start small-normal text-gray-700"
5597
5597
  }, ds = ["onClick"], fs = {
5598
5598
  key: 1,
5599
5599
  class: "extra-small-semibold"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nexxtmove/ui",
3
3
  "type": "module",
4
- "version": "1.4.0",
4
+ "version": "1.6.0",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -8,9 +8,7 @@ defineProps<Props>()
8
8
  </script>
9
9
 
10
10
  <template>
11
- <div
12
- class="card bg-color-white inline-flex w-80 flex-col items-start justify-start gap-0 rounded-t-lg"
13
- >
11
+ <div class="card inline-flex w-80 flex-col items-start justify-start gap-0 rounded-t-lg">
14
12
  <slot name="image" v-if="image || $slots.image">
15
13
  <img
16
14
  v-if="image"
@@ -113,11 +113,7 @@ watch(
113
113
 
114
114
  <template>
115
115
  <div class="inline-flex flex-col gap-1" :class="{ 'w-full': fullWidth }">
116
- <label
117
- v-if="label"
118
- :for="PICKER_ID"
119
- class="text-color-gray-700 justify-start body-normal text-sm"
120
- >
116
+ <label v-if="label" :for="PICKER_ID" class="justify-start small-normal text-gray-700">
121
117
  {{ label }}
122
118
  <span v-if="required" class="text-brick-500">*</span>
123
119
  </label>
@@ -72,11 +72,7 @@ const onOpen = async () => {
72
72
 
73
73
  <template>
74
74
  <div class="inline-flex flex-col gap-1">
75
- <label
76
- v-if="label"
77
- class="text-color-gray-700 justify-start body-normal text-sm"
78
- :for="selectId"
79
- >
75
+ <label v-if="label" class="justify-start small-normal text-gray-700" :for="selectId">
80
76
  {{ label }}
81
77
  <span v-if="required" class="text-brick-500">*</span>
82
78
  </label>
@@ -51,11 +51,7 @@ const decrement = () => {
51
51
 
52
52
  <template>
53
53
  <div class="inline-flex flex-col gap-1">
54
- <label
55
- v-if="label"
56
- class="text-color-gray-700 justify-start body-normal text-sm"
57
- :for="INPUT_ID"
58
- >
54
+ <label v-if="label" class="justify-start small-normal text-gray-700" :for="INPUT_ID">
59
55
  {{ label }}
60
56
  <span v-if="required" class="text-brick-500">*</span>
61
57
  </label>
@@ -50,11 +50,7 @@ const select = (opt: SelectOption, close: () => void) => {
50
50
 
51
51
  <template>
52
52
  <div class="inline-flex flex-col gap-1">
53
- <label
54
- v-if="label"
55
- class="text-color-gray-700 justify-start body-normal text-sm"
56
- :for="fieldId"
57
- >
53
+ <label v-if="label" class="justify-start small-normal text-gray-700" :for="fieldId">
58
54
  {{ label }}
59
55
  <span v-if="required" class="text-brick-500">*</span>
60
56
  </label>
@@ -11,19 +11,16 @@ defineProps<Props>()
11
11
  <template>
12
12
  <div class="flex flex-col items-start justify-start gap-2 self-stretch overflow-hidden">
13
13
  <div class="inline-flex w-full items-center gap-2 overflow-hidden">
14
- <div v-if="price" class="text-color-gray-950 shrink-0 body-semibold">
14
+ <div v-if="price" class="shrink-0 body-semibold text-gray-950">
15
15
  € {{ price.toLocaleString('nl-NL') }}
16
16
  </div>
17
- <div v-if="price" class="text-color-gray-950 shrink-0 body-normal">|</div>
18
- <div
19
- class="text-color-gray-950 min-w-0 truncate"
20
- :class="price ? 'body-normal' : 'body-semibold'"
21
- >
17
+ <div v-if="price" class="shrink-0 body-normal text-gray-950">|</div>
18
+ <div class="min-w-0 truncate text-gray-950" :class="price ? 'body-normal' : 'body-semibold'">
22
19
  {{ city }}
23
20
  </div>
24
21
  </div>
25
22
 
26
- <div v-if="text" class="text-color-gray-950 wrap-break-words w-full body-normal">
23
+ <div v-if="text" class="wrap-break-words w-full body-normal text-gray-950">
27
24
  {{ text }}
28
25
  </div>
29
26
  </div>
@@ -123,11 +123,7 @@ watch(model, () => {
123
123
 
124
124
  <template>
125
125
  <div class="inline-flex flex-col gap-1">
126
- <label
127
- v-if="label"
128
- class="text-color-gray-700 justify-start body-normal text-sm"
129
- :for="selectId"
130
- >
126
+ <label v-if="label" class="justify-start small-normal text-gray-700" :for="selectId">
131
127
  {{ label }}
132
128
  <span v-if="required" class="text-brick-500">*</span>
133
129
  </label>
@@ -70,7 +70,7 @@ onMounted(async () => {
70
70
 
71
71
  <template>
72
72
  <div class="flex flex-col gap-1">
73
- <label v-if="label" class="text-color-gray-700 justify-start body-normal text-sm">
73
+ <label v-if="label" class="justify-start small-normal text-gray-700">
74
74
  {{ label }}
75
75
  </label>
76
76
  <div