@nexxtmove/ui 1.0.9 → 1.0.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.
package/dist/index.js CHANGED
@@ -5699,6 +5699,26 @@ var _s = /* @__PURE__ */ _({
5699
5699
  icon: "file-signature",
5700
5700
  color: "bg-green-600"
5701
5701
  },
5702
+ automation_phase_sent: {
5703
+ label: "Automation e-mail verzonden",
5704
+ icon: "paper-plane",
5705
+ color: "bg-indigo-500"
5706
+ },
5707
+ automation_phase_delivered: {
5708
+ label: "Automation e-mail afgeleverd",
5709
+ icon: "envelope-circle-check",
5710
+ color: "bg-indigo-400"
5711
+ },
5712
+ newsletter_sent: {
5713
+ label: "Nieuwsbrief verzonden",
5714
+ icon: "paper-plane",
5715
+ color: "bg-indigo-500"
5716
+ },
5717
+ newsletter_delivered: {
5718
+ label: "Nieuwsbrief afgeleverd",
5719
+ icon: "envelope-circle-check",
5720
+ color: "bg-indigo-400"
5721
+ },
5702
5722
  newsletter_opened: {
5703
5723
  label: "Nieuwsbrief geopend",
5704
5724
  icon: "envelope-open",
@@ -6103,7 +6123,7 @@ var _s = /* @__PURE__ */ _({
6103
6123
  _: 1
6104
6124
  }, 8, ["placement"]));
6105
6125
  }
6106
- }), Ls = { class: "flex max-w-full items-center justify-start gap-4" }, Rs = {
6126
+ }), Ls = { class: "flex max-w-full min-w-0 flex-1 items-center justify-start gap-4" }, Rs = {
6107
6127
  key: 0,
6108
6128
  class: "col-span-1 col-start-2 flex justify-center"
6109
6129
  }, zs = /* @__PURE__ */ _({
@@ -6121,7 +6141,7 @@ var _s = /* @__PURE__ */ _({
6121
6141
  }
6122
6142
  },
6123
6143
  setup(e) {
6124
- return (t, n) => (k(), u("div", { class: T(["header flex items-center", t.$slots.center ? "grid grid-cols-3" : ""]) }, [
6144
+ return (t, n) => (k(), u("div", { class: T(["header flex w-full max-w-full min-w-0 items-center", t.$slots.center ? "grid grid-cols-3" : ""]) }, [
6125
6145
  d("div", Ls, [M(t.$slots, "back-button", {}, () => [e.backButtonText && e.backButtonAction && !t.$slots["back-button"] ? (k(), c(Nt, {
6126
6146
  key: 0,
6127
6147
  class: "shrink-0",
@@ -6130,11 +6150,11 @@ var _s = /* @__PURE__ */ _({
6130
6150
  }, {
6131
6151
  default: B(() => [m(F(e.backButtonText), 1)]),
6132
6152
  _: 1
6133
- }, 8, ["onClick"])) : l("", !0)]), d("span", { class: T(["block truncate text-sapphire-500", e.headingType]) }, F(e.title), 3)]),
6153
+ }, 8, ["onClick"])) : l("", !0)]), d("span", { class: T(["min-w-0 flex-1 truncate text-sapphire-500", e.headingType]) }, F(e.title), 3)]),
6134
6154
  t.$slots.center ? (k(), u("div", Rs, [M(t.$slots, "center")])) : l("", !0),
6135
6155
  t.$slots.right ? (k(), u("div", {
6136
6156
  key: 1,
6137
- class: T(t.$slots.center ? "col-span-1 col-start-3 flex justify-end" : "ml-auto")
6157
+ class: T([t.$slots.center ? "col-span-1 col-start-3 flex justify-end" : "ml-auto", "shrink-0"])
6138
6158
  }, [M(t.$slots, "right")], 2)) : l("", !0)
6139
6159
  ], 2));
6140
6160
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nexxtmove/ui",
3
3
  "type": "module",
4
- "version": "1.0.9",
4
+ "version": "1.0.11",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -22,8 +22,11 @@ const {
22
22
  </script>
23
23
 
24
24
  <template>
25
- <div class="header flex items-center" :class="$slots.center ? 'grid grid-cols-3' : ''">
26
- <div class="flex max-w-full items-center justify-start gap-4">
25
+ <div
26
+ class="header flex w-full max-w-full min-w-0 items-center"
27
+ :class="$slots.center ? 'grid grid-cols-3' : ''"
28
+ >
29
+ <div class="flex max-w-full min-w-0 flex-1 items-center justify-start gap-4">
27
30
  <slot name="back-button">
28
31
  <Button
29
32
  v-if="backButtonText && backButtonAction && !$slots['back-button']"
@@ -34,7 +37,7 @@ const {
34
37
  {{ backButtonText }}
35
38
  </Button>
36
39
  </slot>
37
- <span class="block truncate text-sapphire-500" :class="headingType">
40
+ <span class="min-w-0 flex-1 truncate text-sapphire-500" :class="headingType">
38
41
  {{ title }}
39
42
  </span>
40
43
  </div>
@@ -44,6 +47,7 @@ const {
44
47
  <div
45
48
  v-if="$slots.right"
46
49
  :class="$slots.center ? 'col-span-1 col-start-3 flex justify-end' : 'ml-auto'"
50
+ class="shrink-0"
47
51
  >
48
52
  <slot name="right" />
49
53
  </div>
@@ -158,6 +158,28 @@ export const EVENT_CONFIG_MAP: Record<string, { label: string; icon: string; col
158
158
  color: 'bg-green-600',
159
159
  },
160
160
 
161
+ // Delivery
162
+ automation_phase_sent: {
163
+ label: 'Automation e-mail verzonden',
164
+ icon: 'paper-plane',
165
+ color: 'bg-indigo-500',
166
+ },
167
+ automation_phase_delivered: {
168
+ label: 'Automation e-mail afgeleverd',
169
+ icon: 'envelope-circle-check',
170
+ color: 'bg-indigo-400',
171
+ },
172
+ newsletter_sent: {
173
+ label: 'Nieuwsbrief verzonden',
174
+ icon: 'paper-plane',
175
+ color: 'bg-indigo-500',
176
+ },
177
+ newsletter_delivered: {
178
+ label: 'Nieuwsbrief afgeleverd',
179
+ icon: 'envelope-circle-check',
180
+ color: 'bg-indigo-400',
181
+ },
182
+
161
183
  // Other / Awareness
162
184
  newsletter_opened: {
163
185
  label: 'Nieuwsbrief geopend',