@nexxtmove/ui 1.0.1 → 1.0.2
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 +90 -60
- package/dist/index.js +1158 -1134
- package/dist/nuxt.js +1 -0
- package/package.json +1 -1
- package/src/components/Announcement/Announcement.vue +32 -0
- package/src/components.json +1 -0
- package/src/index.ts +1 -0
package/dist/nuxt.js
CHANGED
|
@@ -42938,6 +42938,7 @@ var Vw, Hw, Uw, Ww, Gw, Kw = t((() => {
|
|
|
42938
42938
|
}, t.exports.default = t.exports;
|
|
42939
42939
|
})))(), 1), kk = {
|
|
42940
42940
|
NexxtAnimatedNumber: "components/AnimatedNumber/AnimatedNumber.vue",
|
|
42941
|
+
NexxtAnnouncement: "components/Announcement/Announcement.vue",
|
|
42941
42942
|
NexxtAvatar: "components/Avatar/Avatar.vue",
|
|
42942
42943
|
NexxtButton: "components/Button/Button.vue",
|
|
42943
42944
|
NexxtCalendar: "components/Calendar/Calendar.vue",
|
package/package.json
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import NexxtIcon from '../Icon/Icon.vue'
|
|
3
|
+
|
|
4
|
+
interface NexxtAnnouncementProps {
|
|
5
|
+
color?: string
|
|
6
|
+
text_color?: string
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
const { color = 'blue', text_color = 'white' } = defineProps<NexxtAnnouncementProps>()
|
|
10
|
+
|
|
11
|
+
const emit = defineEmits<{ hide: [] }>()
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<div
|
|
16
|
+
class="flex items-center justify-between overflow-hidden rounded-md px-4 py-3"
|
|
17
|
+
:style="{ background: color, color: text_color }"
|
|
18
|
+
>
|
|
19
|
+
<div class="flex items-center gap-3">
|
|
20
|
+
<NexxtIcon class="text-lg" name="megaphone" />
|
|
21
|
+
<slot />
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<button
|
|
25
|
+
type="button"
|
|
26
|
+
class="cursor-pointer text-2xl leading-none opacity-70 hover:opacity-100"
|
|
27
|
+
@click="emit('hide')"
|
|
28
|
+
>
|
|
29
|
+
×
|
|
30
|
+
</button>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|
package/src/components.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"NexxtAnimatedNumber": "components/AnimatedNumber/AnimatedNumber.vue",
|
|
3
|
+
"NexxtAnnouncement": "components/Announcement/Announcement.vue",
|
|
3
4
|
"NexxtAvatar": "components/Avatar/Avatar.vue",
|
|
4
5
|
"NexxtButton": "components/Button/Button.vue",
|
|
5
6
|
"NexxtCalendar": "components/Calendar/Calendar.vue",
|
package/src/index.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated by scripts/generate-index.ts
|
|
2
2
|
export { default as NexxtAnimatedNumber } from './components/AnimatedNumber/AnimatedNumber.vue'
|
|
3
|
+
export { default as NexxtAnnouncement } from './components/Announcement/Announcement.vue'
|
|
3
4
|
export { default as NexxtAvatar } from './components/Avatar/Avatar.vue'
|
|
4
5
|
export { default as NexxtButton } from './components/Button/Button.vue'
|
|
5
6
|
export { default as NexxtCalendar } from './components/Calendar/Calendar.vue'
|