@nexxtmove/ui 1.12.0 → 1.13.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 +113 -100
- package/dist/ui.css +1 -1
- package/package.json +2 -1
- package/src/components/atoms/Avatar/Avatar.vue +3 -3
- package/src/components/atoms/Button/Button.vue +11 -1
- package/src/components/atoms/Card/Card.vue +1 -1
- package/src/components/atoms/Checkbox/Checkbox.vue +1 -1
- package/src/components/atoms/EnergyLabel/EnergyLabel.vue +1 -1
- package/src/components/atoms/PresenceIndicator/PresenceIndicator.vue +3 -3
- package/src/components/atoms/PropertyListing/PropertyListing.vue +1 -1
- package/src/components/atoms/SelectableOption/SelectableOption.vue +1 -1
- package/src/components/atoms/Skeleton/Skeleton.vue +1 -1
- package/src/components/atoms/Squircle/Squircle.vue +1 -1
- package/src/components/molecules/CustomerJourneyTile/CustomerJourneyTile.vue +1 -1
- package/src/components/molecules/DoughnutChart/DoughnutChart.vue +1 -4
- package/src/components/molecules/InputField/InputField.vue +1 -1
- package/src/components/molecules/InputSelect/InputSelect.vue +1 -1
- package/src/components/molecules/Pagination/Pagination.vue +5 -5
- package/src/components/molecules/PropertyCard/PropertyCard.vue +4 -4
- package/src/components/molecules/SkeletonPropertyCard/SkeletonPropertyCard.vue +2 -2
- package/src/components/molecules/SocialIcons/SocialIcons.vue +1 -1
- package/src/components/molecules/SocialMediaCustomTemplate/SocialMediaCustomTemplate.vue +1 -1
- package/src/components/molecules/TemplateCard/TemplateCard.vue +1 -1
- package/src/components/molecules/TimelineEvent/TimelineEvent.vue +3 -3
- package/src/components/molecules/TimelineLanes/TimelineLanes.vue +2 -2
- package/src/components/molecules/Toast/Toast.vue +11 -3
- package/src/components/organisms/Calendar/_CalendarDayView.vue +2 -2
- package/src/components/organisms/Calendar/_CalendarHeader.vue +7 -7
- package/src/components/organisms/Calendar/_CalendarTimePicker.vue +4 -4
- package/src/components/organisms/ColorPicker/ColorPicker.vue +12 -12
- package/src/components/organisms/DropdownButton/DropdownButton.vue +1 -1
- package/src/components/organisms/Modal/Modal.vue +2 -2
- package/src/components/organisms/SocialMediaTemplate/SocialMediaTemplate.vue +4 -4
- package/src/components/organisms/Table/Table.vue +1 -1
- package/src/components/organisms/TimelinePhaseblock/TimelinePhaseblock.vue +3 -6
- package/src/components/organisms/VideoPlayer/VideoPlayer.vue +5 -5
|
@@ -176,7 +176,7 @@ const buttonClasses = computed(() => {
|
|
|
176
176
|
</template>
|
|
177
177
|
<button
|
|
178
178
|
class="w-10 shrink-0 cursor-pointer transition-colors duration-200"
|
|
179
|
-
:class="[buttonClasses, iconOnly ? 'p-2' : '
|
|
179
|
+
:class="[buttonClasses, iconOnly ? 'p-2' : 'p-2']"
|
|
180
180
|
aria-haspopup="menu"
|
|
181
181
|
:aria-expanded="isOpen"
|
|
182
182
|
:aria-label="triggerAriaLabel"
|
|
@@ -114,14 +114,14 @@ const dialogStyle = computed(() =>
|
|
|
114
114
|
</div>
|
|
115
115
|
<DialogClose
|
|
116
116
|
v-if="showClose"
|
|
117
|
-
class="ml-4 shrink-0 cursor-pointer rounded p-1 focus-visible:outline-2"
|
|
117
|
+
class="ml-4 shrink-0 cursor-pointer rounded-sm p-1 focus-visible:outline-2"
|
|
118
118
|
>
|
|
119
119
|
<NexxtIcon name="xmark" />
|
|
120
120
|
</DialogClose>
|
|
121
121
|
</div>
|
|
122
122
|
<DialogClose
|
|
123
123
|
v-else-if="showClose"
|
|
124
|
-
class="absolute top-3 right-3 cursor-pointer rounded p-1 focus-visible:outline-2"
|
|
124
|
+
class="absolute top-3 right-3 cursor-pointer rounded-sm p-1 focus-visible:outline-2"
|
|
125
125
|
>
|
|
126
126
|
<NexxtIcon name="xmark" />
|
|
127
127
|
</DialogClose>
|
|
@@ -87,14 +87,14 @@ const handleMouseLeave = () => {
|
|
|
87
87
|
>
|
|
88
88
|
<picture v-if="mediaType === 'image'" class="col-start-1 row-span-2 row-start-1">
|
|
89
89
|
<source :srcset="media" />
|
|
90
|
-
<img :src="media" alt="Media content" class="
|
|
90
|
+
<img :src="media" alt="Media content" class="size-full object-cover object-center" />
|
|
91
91
|
</picture>
|
|
92
92
|
<video
|
|
93
93
|
v-else
|
|
94
94
|
ref="videoRef"
|
|
95
95
|
:muted="muted"
|
|
96
96
|
loop="true"
|
|
97
|
-
class="col-start-1 row-span-2 row-start-1
|
|
97
|
+
class="col-start-1 row-span-2 row-start-1 size-full object-cover"
|
|
98
98
|
>
|
|
99
99
|
<source :src="media" :type="videoMimeType" />
|
|
100
100
|
Your browser does not support the video tag.
|
|
@@ -114,12 +114,12 @@ const handleMouseLeave = () => {
|
|
|
114
114
|
</div>
|
|
115
115
|
</div>
|
|
116
116
|
<div
|
|
117
|
-
class="
|
|
117
|
+
class="z-20 col-start-1 row-start-2 flex items-center px-5 pt-2.5 pb-3.5 text-white transition-all duration-300 ease-out group-hover:translate-y-full group-hover:opacity-0"
|
|
118
118
|
:class="variant === 'video' ? 'bg-purple-500' : 'bg-social-media-template-info-bg'"
|
|
119
119
|
>
|
|
120
120
|
<div>
|
|
121
121
|
<div class="heading-4">{{ name }}</div>
|
|
122
|
-
<div class="extra-small">{{ type }}</div>
|
|
122
|
+
<div class="extra-small-normal">{{ type }}</div>
|
|
123
123
|
</div>
|
|
124
124
|
<Icon
|
|
125
125
|
:name="variant === 'post' ? 'image' : variant === 'video' ? 'play-circle' : 'images'"
|
|
@@ -238,7 +238,7 @@ const handleRowKeydown = (event: KeyboardEvent, rowIndex: number) => {
|
|
|
238
238
|
<div
|
|
239
239
|
v-for="(column, colIndex) in columns"
|
|
240
240
|
:key="column.key"
|
|
241
|
-
class="flex items-center truncate
|
|
241
|
+
class="flex items-center truncate p-4 extra-small-normal text-slate-700"
|
|
242
242
|
role="gridcell"
|
|
243
243
|
:aria-colindex="colIndex + (selectable ? 2 : 1)"
|
|
244
244
|
>
|
|
@@ -107,7 +107,7 @@ const getPhaseDirection = () => {
|
|
|
107
107
|
<template v-if="getPhaseDirection()">
|
|
108
108
|
<NexxtIcon
|
|
109
109
|
:name="getPhaseDirection() === 'up' ? 'arrow-up' : 'arrow-down'"
|
|
110
|
-
class="
|
|
110
|
+
class="size-4 text-white"
|
|
111
111
|
/>
|
|
112
112
|
</template>
|
|
113
113
|
</div>
|
|
@@ -124,14 +124,11 @@ const getPhaseDirection = () => {
|
|
|
124
124
|
|
|
125
125
|
<div v-if="!isLast" class="h-1"></div>
|
|
126
126
|
|
|
127
|
-
<div
|
|
128
|
-
class="absolute top-0 bottom-0 left-5 w-px bg-linear-to-b"
|
|
129
|
-
:class="gradientClasses"
|
|
130
|
-
></div>
|
|
127
|
+
<div class="absolute inset-y-0 left-5 w-px bg-linear-to-b" :class="gradientClasses"></div>
|
|
131
128
|
|
|
132
129
|
<div
|
|
133
130
|
v-if="isSplitView"
|
|
134
|
-
class="absolute
|
|
131
|
+
class="absolute inset-y-0 right-5 w-px bg-linear-to-b"
|
|
135
132
|
:class="gradientClasses"
|
|
136
133
|
></div>
|
|
137
134
|
</div>
|
|
@@ -218,7 +218,7 @@ defineExpose({ playing, muted })
|
|
|
218
218
|
class="pointer-events-none absolute inset-0 flex items-center justify-center"
|
|
219
219
|
>
|
|
220
220
|
<div
|
|
221
|
-
class="flex
|
|
221
|
+
class="flex size-16 items-center justify-center rounded-full bg-black/50 text-white"
|
|
222
222
|
aria-hidden="true"
|
|
223
223
|
>
|
|
224
224
|
<NexxtIcon :name="flashIcon" class="text-2xl" />
|
|
@@ -264,7 +264,7 @@ defineExpose({ playing, muted })
|
|
|
264
264
|
:style="{ width: `${progressPct}%` }"
|
|
265
265
|
/>
|
|
266
266
|
<div
|
|
267
|
-
class="absolute top-1/2
|
|
267
|
+
class="absolute top-1/2 size-3 -translate-1/2 rounded-full bg-sapphire-100 opacity-0 shadow-sm transition-opacity group-hover/player:opacity-100"
|
|
268
268
|
:style="{ left: `${progressPct}%` }"
|
|
269
269
|
/>
|
|
270
270
|
</div>
|
|
@@ -273,7 +273,7 @@ defineExpose({ playing, muted })
|
|
|
273
273
|
<button
|
|
274
274
|
type="button"
|
|
275
275
|
:aria-label="playing ? labels.pause : labels.play"
|
|
276
|
-
class="flex
|
|
276
|
+
class="flex size-8 cursor-pointer items-center justify-center rounded-full text-white transition hover:bg-white/10 hover:text-cornflower-blue-400"
|
|
277
277
|
@click="togglePlay"
|
|
278
278
|
>
|
|
279
279
|
<NexxtIcon :name="playing ? 'pause' : 'play'" class="text-sm" aria-hidden="true" />
|
|
@@ -288,7 +288,7 @@ defineExpose({ playing, muted })
|
|
|
288
288
|
<button
|
|
289
289
|
type="button"
|
|
290
290
|
:aria-label="muted ? labels.unmute : labels.mute"
|
|
291
|
-
class="flex
|
|
291
|
+
class="flex size-8 cursor-pointer items-center justify-center rounded-full text-white transition hover:bg-white/10 hover:text-cornflower-blue-400"
|
|
292
292
|
@click="toggleMute"
|
|
293
293
|
>
|
|
294
294
|
<NexxtIcon
|
|
@@ -301,7 +301,7 @@ defineExpose({ playing, muted })
|
|
|
301
301
|
<button
|
|
302
302
|
type="button"
|
|
303
303
|
:aria-label="isFullscreen ? labels.exitFullscreen : labels.enterFullscreen"
|
|
304
|
-
class="flex
|
|
304
|
+
class="flex size-8 cursor-pointer items-center justify-center rounded-full text-white transition hover:bg-white/10 hover:text-cornflower-blue-400"
|
|
305
305
|
@click="toggleFullscreen"
|
|
306
306
|
>
|
|
307
307
|
<NexxtIcon
|