@nexxtmove/ui 0.1.52 → 0.1.53
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.d.ts +92 -47
- package/dist/index.js +2512 -2412
- package/dist/nuxt.js +28 -25
- package/package.json +1 -1
- package/src/assets/images/property_placeholder.jpg +0 -0
- package/src/components/Card/Card.vue +30 -0
- package/src/components/PropertyCard/PropertyCard.vue +39 -0
- package/src/components/PropertyListing/PropertyListing.vue +30 -0
- package/src/components/TimelinePhaseblock/TimelinePhaseblock.vue +8 -8
- package/src/components.json +3 -0
- package/src/index.ts +3 -0
package/dist/nuxt.js
CHANGED
|
@@ -1,38 +1,41 @@
|
|
|
1
1
|
import { defineNuxtModule as c, addComponent as s, addTemplate as a } from "@nuxt/kit";
|
|
2
|
-
const x = "components/AnimatedNumber/AnimatedNumber.vue", i = "components/Avatar/Avatar.vue", u = "components/Button/Button.vue", m = "components/Calendar/Calendar.vue", p = "components/Checkbox/Checkbox.vue",
|
|
2
|
+
const x = "components/AnimatedNumber/AnimatedNumber.vue", i = "components/Avatar/Avatar.vue", u = "components/Button/Button.vue", m = "components/Calendar/Calendar.vue", r = "components/Card/Card.vue", p = "components/Checkbox/Checkbox.vue", d = "components/Chip/Chip.vue", l = "components/Combobox/Combobox.vue", v = "components/ContactInfoCard/ContactInfoCard.vue", C = "components/CustomerJourneyTile/CustomerJourneyTile.vue", N = "components/DatePicker/DatePicker.vue", T = "components/DoughnutChart/DoughnutChart.vue", b = "components/DropdownButton/DropdownButton.vue", P = "components/Header/Header.vue", S = "components/Icon/Icon.vue", h = "components/InfoBlock/InfoBlock.vue", I = "components/InputField/InputField.vue", f = "components/Modal/Modal.vue", g = "components/Pagination/Pagination.vue", y = "components/PresenceIndicator/PresenceIndicator.vue", M = "components/ProgressBar/ProgressBar.vue", k = "components/PropertyCard/PropertyCard.vue", B = "components/PropertyListing/PropertyListing.vue", D = "components/SocialIcons/SocialIcons.vue", A = "components/SocialMediaCustomTemplate/SocialMediaCustomTemplate.vue", H = "components/SocialMediaTemplate/SocialMediaTemplate.vue", w = "components/SocialMediaType/SocialMediaType.vue", E = "components/Source/Source.vue", F = "components/StepperHeader/StepperHeader.vue", J = "components/TabbedContent/TabbedContent.vue", L = "components/Table/Table.vue", j = "components/Tabs/Tabs.vue", $ = "components/TimelineEvent/TimelineEvent.vue", K = "components/TimelinePhaseblock/TimelinePhaseblock.vue", O = "components/Tooltip/Tooltip.vue", U = {
|
|
3
3
|
NexxtAnimatedNumber: x,
|
|
4
4
|
NexxtAvatar: i,
|
|
5
5
|
NexxtButton: u,
|
|
6
6
|
NexxtCalendar: m,
|
|
7
|
+
NexxtCard: r,
|
|
7
8
|
NexxtCheckbox: p,
|
|
8
|
-
NexxtChip:
|
|
9
|
+
NexxtChip: d,
|
|
9
10
|
NexxtCombobox: l,
|
|
10
|
-
NexxtContactInfoCard:
|
|
11
|
-
NexxtCustomerJourneyTile:
|
|
11
|
+
NexxtContactInfoCard: v,
|
|
12
|
+
NexxtCustomerJourneyTile: C,
|
|
12
13
|
NexxtDatePicker: N,
|
|
13
|
-
NexxtDoughnutChart:
|
|
14
|
-
NexxtDropdownButton:
|
|
15
|
-
NexxtHeader:
|
|
14
|
+
NexxtDoughnutChart: T,
|
|
15
|
+
NexxtDropdownButton: b,
|
|
16
|
+
NexxtHeader: P,
|
|
16
17
|
NexxtIcon: S,
|
|
17
18
|
NexxtInfoBlock: h,
|
|
18
19
|
NexxtInputField: I,
|
|
19
20
|
NexxtModal: f,
|
|
20
|
-
NexxtPagination:
|
|
21
|
-
NexxtPresenceIndicator:
|
|
22
|
-
NexxtProgressBar:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
21
|
+
NexxtPagination: g,
|
|
22
|
+
NexxtPresenceIndicator: y,
|
|
23
|
+
NexxtProgressBar: M,
|
|
24
|
+
NexxtPropertyCard: k,
|
|
25
|
+
NexxtPropertyListing: B,
|
|
26
|
+
NexxtSocialIcons: D,
|
|
27
|
+
NexxtSocialMediaCustomTemplate: A,
|
|
28
|
+
NexxtSocialMediaTemplate: H,
|
|
29
|
+
NexxtSocialMediaType: w,
|
|
30
|
+
NexxtSource: E,
|
|
31
|
+
NexxtStepperHeader: F,
|
|
32
|
+
NexxtTabbedContent: J,
|
|
33
|
+
NexxtTable: L,
|
|
34
|
+
NexxtTabs: j,
|
|
35
|
+
NexxtTimelineEvent: $,
|
|
36
|
+
NexxtTimelinePhaseblock: K,
|
|
37
|
+
NexxtTooltip: O
|
|
38
|
+
}, q = c({
|
|
36
39
|
meta: {
|
|
37
40
|
name: "@nexxtmove/ui",
|
|
38
41
|
configKey: "nexxtmoveUi",
|
|
@@ -44,7 +47,7 @@ const x = "components/AnimatedNumber/AnimatedNumber.vue", i = "components/Avatar
|
|
|
44
47
|
addCSS: !0
|
|
45
48
|
},
|
|
46
49
|
setup(e, o) {
|
|
47
|
-
for (const [t, n] of Object.entries(
|
|
50
|
+
for (const [t, n] of Object.entries(U))
|
|
48
51
|
s({
|
|
49
52
|
name: t,
|
|
50
53
|
export: "default",
|
|
@@ -63,5 +66,5 @@ const x = "components/AnimatedNumber/AnimatedNumber.vue", i = "components/Avatar
|
|
|
63
66
|
}
|
|
64
67
|
});
|
|
65
68
|
export {
|
|
66
|
-
|
|
69
|
+
q as default
|
|
67
70
|
};
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
interface Props {
|
|
3
|
+
image?: string
|
|
4
|
+
imageAlt?: string
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
defineProps<Props>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
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
|
+
>
|
|
14
|
+
<slot name="image" v-if="image || $slots.image">
|
|
15
|
+
<img
|
|
16
|
+
v-if="image"
|
|
17
|
+
:src="image"
|
|
18
|
+
:alt="imageAlt ?? 'Card afbeelding'"
|
|
19
|
+
class="block h-40 max-h-40 min-h-40 w-full rounded-tl-lg rounded-tr-lg object-cover"
|
|
20
|
+
/>
|
|
21
|
+
</slot>
|
|
22
|
+
|
|
23
|
+
<div
|
|
24
|
+
class="card-content box-border flex w-full flex-col gap-2 rounded-b-lg border border-gray-200 px-4 py-2"
|
|
25
|
+
:class="{ 'rounded-t-lg border-t': !image && !$slots.image }"
|
|
26
|
+
>
|
|
27
|
+
<slot />
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import NexxtCard from '../Card/Card.vue'
|
|
3
|
+
import NexxtPropertyListing from '../PropertyListing/PropertyListing.vue'
|
|
4
|
+
import NexxtIcon from '../Icon/Icon.vue'
|
|
5
|
+
import PropertyPlaceholder from '../../assets/images/property_placeholder.jpg'
|
|
6
|
+
|
|
7
|
+
export interface NexxtPropertyCardProps {
|
|
8
|
+
image?: string
|
|
9
|
+
imageAlt?: string
|
|
10
|
+
price?: number
|
|
11
|
+
city: string
|
|
12
|
+
text?: string
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
defineOptions({ name: 'NexxtPropertyCard' })
|
|
16
|
+
|
|
17
|
+
defineProps<NexxtPropertyCardProps>()
|
|
18
|
+
</script>
|
|
19
|
+
|
|
20
|
+
<template>
|
|
21
|
+
<NexxtCard :image="image" :image-alt="imageAlt">
|
|
22
|
+
<template v-if="!image" #image>
|
|
23
|
+
<div class="relative isolate h-40 w-full overflow-hidden rounded-tl-lg rounded-tr-lg">
|
|
24
|
+
<img
|
|
25
|
+
:src="PropertyPlaceholder"
|
|
26
|
+
alt="Woning placeholder"
|
|
27
|
+
loading="lazy"
|
|
28
|
+
class="h-full w-full object-cover"
|
|
29
|
+
/>
|
|
30
|
+
<div
|
|
31
|
+
class="absolute inset-0 flex items-center justify-center rounded-tl-lg rounded-tr-lg bg-white/20 backdrop-blur-sm"
|
|
32
|
+
>
|
|
33
|
+
<NexxtIcon name="house" class="text-6xl text-white drop-shadow" />
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</template>
|
|
37
|
+
<NexxtPropertyListing :price="price" :city="city" :text="text" />
|
|
38
|
+
</NexxtCard>
|
|
39
|
+
</template>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
interface Props {
|
|
3
|
+
price?: number
|
|
4
|
+
city: string
|
|
5
|
+
text?: string
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
defineProps<Props>()
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<div class="flex flex-col items-start justify-start gap-2 self-stretch overflow-hidden">
|
|
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">
|
|
15
|
+
€ {{ price.toLocaleString('nl-NL') }}
|
|
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
|
+
>
|
|
22
|
+
{{ city }}
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<div v-if="text" class="text-color-gray-950 wrap-break-words w-full body-normal">
|
|
27
|
+
{{ text }}
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
@@ -70,7 +70,7 @@ const getPhaseDirection = () => {
|
|
|
70
70
|
<template>
|
|
71
71
|
<div class="relative z-10 flex flex-col gap-16" :data-phase="phase.phase.value">
|
|
72
72
|
<template v-if="index === 0 && isSplitView">
|
|
73
|
-
<div class="relative z-10
|
|
73
|
+
<div class="relative z-10">
|
|
74
74
|
<div class="flex items-center justify-between px-4 py-2">
|
|
75
75
|
<span class="flex gap-1">
|
|
76
76
|
Outbound
|
|
@@ -91,15 +91,15 @@ const getPhaseDirection = () => {
|
|
|
91
91
|
</template>
|
|
92
92
|
<!-- Left timeline line (always shown) -->
|
|
93
93
|
<div
|
|
94
|
-
class="absolute
|
|
95
|
-
:class="PHASE_MAP[phase.phase.value].color"
|
|
94
|
+
class="absolute bottom-0 left-5 w-0 border-l"
|
|
95
|
+
:class="[PHASE_MAP[phase.phase.value].color, index === 0 && isSplitView ? 'top-10' : 'top-0']"
|
|
96
96
|
></div>
|
|
97
97
|
|
|
98
98
|
<!-- Right timeline line (split view only) -->
|
|
99
99
|
<div
|
|
100
100
|
v-if="isSplitView"
|
|
101
|
-
class="absolute
|
|
102
|
-
:class="PHASE_MAP[phase.phase.value].color"
|
|
101
|
+
class="absolute right-5 bottom-0 w-0 border-l"
|
|
102
|
+
:class="[PHASE_MAP[phase.phase.value].color, index === 0 ? 'top-10' : 'top-0']"
|
|
103
103
|
></div>
|
|
104
104
|
|
|
105
105
|
<!-- Events -->
|
|
@@ -113,7 +113,7 @@ const getPhaseDirection = () => {
|
|
|
113
113
|
<!-- Phase separator badge (not shown for the very first phase) -->
|
|
114
114
|
<div
|
|
115
115
|
v-if="index !== phases.length - 1"
|
|
116
|
-
class="relative flex flex-col items-center
|
|
116
|
+
class="relative flex flex-col items-center pt-8 pb-24 text-center"
|
|
117
117
|
:class="{ 'pl-16': !isSplitView }"
|
|
118
118
|
>
|
|
119
119
|
<div
|
|
@@ -144,13 +144,13 @@ const getPhaseDirection = () => {
|
|
|
144
144
|
<div v-if="!isLast" class="h-1"></div>
|
|
145
145
|
|
|
146
146
|
<div
|
|
147
|
-
class="absolute top-0 bottom-0 left-5 w-
|
|
147
|
+
class="absolute top-0 bottom-0 left-5 w-px bg-linear-to-b"
|
|
148
148
|
:class="gradientClasses"
|
|
149
149
|
></div>
|
|
150
150
|
|
|
151
151
|
<div
|
|
152
152
|
v-if="isSplitView"
|
|
153
|
-
class="absolute top-0 right-5 bottom-0 w-
|
|
153
|
+
class="absolute top-0 right-5 bottom-0 w-px bg-linear-to-b"
|
|
154
154
|
:class="gradientClasses"
|
|
155
155
|
></div>
|
|
156
156
|
</div>
|
package/src/components.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"NexxtAvatar": "components/Avatar/Avatar.vue",
|
|
4
4
|
"NexxtButton": "components/Button/Button.vue",
|
|
5
5
|
"NexxtCalendar": "components/Calendar/Calendar.vue",
|
|
6
|
+
"NexxtCard": "components/Card/Card.vue",
|
|
6
7
|
"NexxtCheckbox": "components/Checkbox/Checkbox.vue",
|
|
7
8
|
"NexxtChip": "components/Chip/Chip.vue",
|
|
8
9
|
"NexxtCombobox": "components/Combobox/Combobox.vue",
|
|
@@ -19,6 +20,8 @@
|
|
|
19
20
|
"NexxtPagination": "components/Pagination/Pagination.vue",
|
|
20
21
|
"NexxtPresenceIndicator": "components/PresenceIndicator/PresenceIndicator.vue",
|
|
21
22
|
"NexxtProgressBar": "components/ProgressBar/ProgressBar.vue",
|
|
23
|
+
"NexxtPropertyCard": "components/PropertyCard/PropertyCard.vue",
|
|
24
|
+
"NexxtPropertyListing": "components/PropertyListing/PropertyListing.vue",
|
|
22
25
|
"NexxtSocialIcons": "components/SocialIcons/SocialIcons.vue",
|
|
23
26
|
"NexxtSocialMediaCustomTemplate": "components/SocialMediaCustomTemplate/SocialMediaCustomTemplate.vue",
|
|
24
27
|
"NexxtSocialMediaTemplate": "components/SocialMediaTemplate/SocialMediaTemplate.vue",
|
package/src/index.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { default as NexxtAnimatedNumber } from './components/AnimatedNumber/Anim
|
|
|
3
3
|
export { default as NexxtAvatar } from './components/Avatar/Avatar.vue'
|
|
4
4
|
export { default as NexxtButton } from './components/Button/Button.vue'
|
|
5
5
|
export { default as NexxtCalendar } from './components/Calendar/Calendar.vue'
|
|
6
|
+
export { default as NexxtCard } from './components/Card/Card.vue'
|
|
6
7
|
export { default as NexxtCheckbox } from './components/Checkbox/Checkbox.vue'
|
|
7
8
|
export { default as NexxtChip } from './components/Chip/Chip.vue'
|
|
8
9
|
export { default as NexxtCombobox } from './components/Combobox/Combobox.vue'
|
|
@@ -19,6 +20,8 @@ export { default as NexxtModal } from './components/Modal/Modal.vue'
|
|
|
19
20
|
export { default as NexxtPagination } from './components/Pagination/Pagination.vue'
|
|
20
21
|
export { default as NexxtPresenceIndicator } from './components/PresenceIndicator/PresenceIndicator.vue'
|
|
21
22
|
export { default as NexxtProgressBar } from './components/ProgressBar/ProgressBar.vue'
|
|
23
|
+
export { default as NexxtPropertyCard } from './components/PropertyCard/PropertyCard.vue'
|
|
24
|
+
export { default as NexxtPropertyListing } from './components/PropertyListing/PropertyListing.vue'
|
|
22
25
|
export { default as NexxtSocialIcons } from './components/SocialIcons/SocialIcons.vue'
|
|
23
26
|
export { default as NexxtSocialMediaCustomTemplate } from './components/SocialMediaCustomTemplate/SocialMediaCustomTemplate.vue'
|
|
24
27
|
export { default as NexxtSocialMediaTemplate } from './components/SocialMediaTemplate/SocialMediaTemplate.vue'
|