@nexxtmove/ui 1.0.0 → 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/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",
@@ -42964,6 +42965,7 @@ var Vw, Hw, Uw, Ww, Gw, Kw = t((() => {
42964
42965
  NexxtPropertyCard: "components/PropertyCard/PropertyCard.vue",
42965
42966
  NexxtPropertyListing: "components/PropertyListing/PropertyListing.vue",
42966
42967
  NexxtSelect: "components/Select/Select.vue",
42968
+ NexxtSidebarMenuItem: "components/SidebarMenuItem/SidebarMenuItem.vue",
42967
42969
  NexxtSkeleton: "components/Skeleton/Skeleton.vue",
42968
42970
  NexxtSkeletonPropertyCard: "components/SkeletonPropertyCard/SkeletonPropertyCard.vue",
42969
42971
  NexxtSocialIcons: "components/SocialIcons/SocialIcons.vue",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nexxtmove/ui",
3
3
  "type": "module",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -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
+ &times;
30
+ </button>
31
+ </div>
32
+ </template>
@@ -1,7 +1,9 @@
1
1
  <script setup lang="ts">
2
+ import { computed } from 'vue'
2
3
  import type { IconName } from '@awesome.me/kit-37b149f3ef/icons'
4
+ import { brandIconNames } from './brandIconNames'
3
5
 
4
- export type IconType = 'regular' | 'solid' | 'light' | 'duotone' | 'brands'
6
+ export type IconType = 'regular' | 'solid' | 'light' | 'duotone'
5
7
 
6
8
  interface NexxtIconProps {
7
9
  name: IconName
@@ -12,7 +14,9 @@ defineOptions({
12
14
  name: 'NexxtIcon',
13
15
  })
14
16
 
15
- const { type = 'light' } = defineProps<NexxtIconProps>()
17
+ const props = defineProps<NexxtIconProps>()
18
+
19
+ const type = computed(() => props.type ?? (brandIconNames.has(props.name) ? 'brands' : 'light'))
16
20
  </script>
17
21
 
18
22
  <template>
@@ -0,0 +1,591 @@
1
+ import type { IconName } from '@awesome.me/kit-37b149f3ef/icons'
2
+
3
+ export const brandIconNames = new Set<IconName>([
4
+ '11ty',
5
+ '42-group',
6
+ '500px',
7
+ 'accessible-icon',
8
+ 'accusoft',
9
+ 'adn',
10
+ 'adversal',
11
+ 'affiliatetheme',
12
+ 'airbnb',
13
+ 'algolia',
14
+ 'alipay',
15
+ 'amazon',
16
+ 'amazon-pay',
17
+ 'amilia',
18
+ 'android',
19
+ 'angellist',
20
+ 'angrycreative',
21
+ 'angular',
22
+ 'app-store',
23
+ 'app-store-ios',
24
+ 'apper',
25
+ 'apple',
26
+ 'apple-pay',
27
+ 'arch-linux',
28
+ 'artstation',
29
+ 'asymmetrik',
30
+ 'atlassian',
31
+ 'audible',
32
+ 'autoprefixer',
33
+ 'avianex',
34
+ 'aviato',
35
+ 'aws',
36
+ 'bandcamp',
37
+ 'battle-net',
38
+ 'behance',
39
+ 'behance-square',
40
+ 'bgg',
41
+ 'bilibili',
42
+ 'bimobject',
43
+ 'bitbucket',
44
+ 'bitcoin',
45
+ 'bity',
46
+ 'black-tie',
47
+ 'blackberry',
48
+ 'blogger',
49
+ 'blogger-b',
50
+ 'bluesky',
51
+ 'bluetooth',
52
+ 'bluetooth-b',
53
+ 'board-game-geek',
54
+ 'bootstrap',
55
+ 'bots',
56
+ 'brave',
57
+ 'brave-reverse',
58
+ 'btc',
59
+ 'buffer',
60
+ 'buromobelexperte',
61
+ 'buy-n-large',
62
+ 'buysellads',
63
+ 'canadian-maple-leaf',
64
+ 'cash-app',
65
+ 'cc-amazon-pay',
66
+ 'cc-amex',
67
+ 'cc-apple-pay',
68
+ 'cc-diners-club',
69
+ 'cc-discover',
70
+ 'cc-jcb',
71
+ 'cc-mastercard',
72
+ 'cc-paypal',
73
+ 'cc-stripe',
74
+ 'cc-visa',
75
+ 'centercode',
76
+ 'centos',
77
+ 'chrome',
78
+ 'chromecast',
79
+ 'circle-zulip',
80
+ 'claude',
81
+ 'cloudflare',
82
+ 'cloudscale',
83
+ 'cloudsmith',
84
+ 'cloudversify',
85
+ 'cmplid',
86
+ 'codepen',
87
+ 'codiepie',
88
+ 'confluence',
89
+ 'connectdevelop',
90
+ 'contao',
91
+ 'cotton-bureau',
92
+ 'cpanel',
93
+ 'creative-commons',
94
+ 'creative-commons-by',
95
+ 'creative-commons-nc',
96
+ 'creative-commons-nc-eu',
97
+ 'creative-commons-nc-jp',
98
+ 'creative-commons-nd',
99
+ 'creative-commons-pd',
100
+ 'creative-commons-pd-alt',
101
+ 'creative-commons-remix',
102
+ 'creative-commons-sa',
103
+ 'creative-commons-sampling',
104
+ 'creative-commons-sampling-plus',
105
+ 'creative-commons-share',
106
+ 'creative-commons-zero',
107
+ 'critical-role',
108
+ 'css',
109
+ 'css3',
110
+ 'css3-alt',
111
+ 'cuttlefish',
112
+ 'd-and-d',
113
+ 'd-and-d-beyond',
114
+ 'dailymotion',
115
+ 'dart-lang',
116
+ 'dashcube',
117
+ 'debian',
118
+ 'deezer',
119
+ 'delicious',
120
+ 'deploydog',
121
+ 'deskpro',
122
+ 'dev',
123
+ 'deviantart',
124
+ 'dhl',
125
+ 'diaspora',
126
+ 'digg',
127
+ 'digital-ocean',
128
+ 'discord',
129
+ 'discourse',
130
+ 'disqus',
131
+ 'dochub',
132
+ 'docker',
133
+ 'draft2digital',
134
+ 'dribbble',
135
+ 'dribbble-square',
136
+ 'dropbox',
137
+ 'drupal',
138
+ 'duolingo',
139
+ 'dyalog',
140
+ 'earlybirds',
141
+ 'ebay',
142
+ 'edge',
143
+ 'edge-legacy',
144
+ 'elementor',
145
+ 'eleventy',
146
+ 'ello',
147
+ 'ember',
148
+ 'empire',
149
+ 'envira',
150
+ 'erlang',
151
+ 'ethereum',
152
+ 'etsy',
153
+ 'evernote',
154
+ 'expeditedssl',
155
+ 'facebook',
156
+ 'facebook-f',
157
+ 'facebook-messenger',
158
+ 'facebook-square',
159
+ 'fantasy-flight-games',
160
+ 'fedex',
161
+ 'fediverse',
162
+ 'fedora',
163
+ 'figma',
164
+ 'files-pinwheel',
165
+ 'firefox',
166
+ 'firefox-browser',
167
+ 'first-order',
168
+ 'first-order-alt',
169
+ 'firstdraft',
170
+ 'flickr',
171
+ 'flipboard',
172
+ 'flutter',
173
+ 'fly',
174
+ 'font-awesome',
175
+ 'font-awesome-alt',
176
+ 'font-awesome-flag',
177
+ 'font-awesome-logo-full',
178
+ 'fonticons',
179
+ 'fonticons-fi',
180
+ 'forgejo',
181
+ 'fort-awesome',
182
+ 'fort-awesome-alt',
183
+ 'forumbee',
184
+ 'foursquare',
185
+ 'free-code-camp',
186
+ 'freebsd',
187
+ 'fulcrum',
188
+ 'galactic-republic',
189
+ 'galactic-senate',
190
+ 'get-pocket',
191
+ 'gg',
192
+ 'gg-circle',
193
+ 'git',
194
+ 'git-alt',
195
+ 'git-square',
196
+ 'gitee',
197
+ 'github',
198
+ 'github-alt',
199
+ 'github-square',
200
+ 'gitkraken',
201
+ 'gitlab',
202
+ 'gitlab-square',
203
+ 'gitter',
204
+ 'glide',
205
+ 'glide-g',
206
+ 'globaleaks',
207
+ 'gofore',
208
+ 'golang',
209
+ 'goodreads',
210
+ 'goodreads-g',
211
+ 'google',
212
+ 'google-drive',
213
+ 'google-pay',
214
+ 'google-play',
215
+ 'google-plus',
216
+ 'google-plus-g',
217
+ 'google-plus-square',
218
+ 'google-scholar',
219
+ 'google-wallet',
220
+ 'gratipay',
221
+ 'grav',
222
+ 'gripfire',
223
+ 'grunt',
224
+ 'guilded',
225
+ 'gulp',
226
+ 'hacker-news',
227
+ 'hacker-news-square',
228
+ 'hackerrank',
229
+ 'hashnode',
230
+ 'hips',
231
+ 'hire-a-helper',
232
+ 'hive',
233
+ 'hooli',
234
+ 'hornbill',
235
+ 'hotjar',
236
+ 'houzz',
237
+ 'html5',
238
+ 'hubspot',
239
+ 'hugging-face',
240
+ 'ideal',
241
+ 'imdb',
242
+ 'innosoft',
243
+ 'instagram',
244
+ 'instagram-square',
245
+ 'instalod',
246
+ 'intercom',
247
+ 'internet-explorer',
248
+ 'invision',
249
+ 'ioxhost',
250
+ 'itch-io',
251
+ 'itunes',
252
+ 'itunes-note',
253
+ 'java',
254
+ 'jedi-order',
255
+ 'jenkins',
256
+ 'jira',
257
+ 'joget',
258
+ 'joomla',
259
+ 'js',
260
+ 'js-square',
261
+ 'jsfiddle',
262
+ 'julia',
263
+ 'jxl',
264
+ 'kaggle',
265
+ 'kakao-talk',
266
+ 'keybase',
267
+ 'keycdn',
268
+ 'kickstarter',
269
+ 'kickstarter-k',
270
+ 'ko-fi',
271
+ 'korvue',
272
+ 'kubernetes',
273
+ 'laravel',
274
+ 'lastfm',
275
+ 'lastfm-square',
276
+ 'leanpub',
277
+ 'leetcode',
278
+ 'less',
279
+ 'letterboxd',
280
+ 'line',
281
+ 'linkedin',
282
+ 'linkedin-in',
283
+ 'linktree',
284
+ 'linode',
285
+ 'linux',
286
+ 'lumon',
287
+ 'lumon-drop',
288
+ 'lyft',
289
+ 'magento',
290
+ 'mailchimp',
291
+ 'mandalorian',
292
+ 'markdown',
293
+ 'mastodon',
294
+ 'maxcdn',
295
+ 'mdb',
296
+ 'medapps',
297
+ 'medium',
298
+ 'medium-m',
299
+ 'medrt',
300
+ 'meetup',
301
+ 'megaport',
302
+ 'mendeley',
303
+ 'meta',
304
+ 'microblog',
305
+ 'microsoft',
306
+ 'mintbit',
307
+ 'mix',
308
+ 'mixcloud',
309
+ 'mixer',
310
+ 'mizuni',
311
+ 'modx',
312
+ 'monero',
313
+ 'napster',
314
+ 'neos',
315
+ 'nfc-directional',
316
+ 'nfc-symbol',
317
+ 'nimblr',
318
+ 'node',
319
+ 'node-js',
320
+ 'notion',
321
+ 'npm',
322
+ 'ns8',
323
+ 'nutritionix',
324
+ 'obsidian',
325
+ 'octopus-deploy',
326
+ 'odnoklassniki',
327
+ 'odnoklassniki-square',
328
+ 'odysee',
329
+ 'old-republic',
330
+ 'openai',
331
+ 'opencart',
332
+ 'openid',
333
+ 'openstreetmap',
334
+ 'opensuse',
335
+ 'opera',
336
+ 'optin-monster',
337
+ 'orcid',
338
+ 'osi',
339
+ 'padlet',
340
+ 'page4',
341
+ 'pagelines',
342
+ 'palfed',
343
+ 'pandora',
344
+ 'patreon',
345
+ 'paypal',
346
+ 'perbyte',
347
+ 'periscope',
348
+ 'phabricator',
349
+ 'phoenix-framework',
350
+ 'phoenix-squadron',
351
+ 'php',
352
+ 'pied-piper',
353
+ 'pied-piper-alt',
354
+ 'pied-piper-hat',
355
+ 'pied-piper-pp',
356
+ 'pied-piper-square',
357
+ 'pinterest',
358
+ 'pinterest-p',
359
+ 'pinterest-square',
360
+ 'pix',
361
+ 'pixelfed',
362
+ 'pixiv',
363
+ 'playstation',
364
+ 'postgresql',
365
+ 'product-hunt',
366
+ 'pushed',
367
+ 'python',
368
+ 'qq',
369
+ 'quinscape',
370
+ 'quora',
371
+ 'r-project',
372
+ 'raspberry-pi',
373
+ 'ravelry',
374
+ 'react',
375
+ 'reacteurope',
376
+ 'readme',
377
+ 'rebel',
378
+ 'red-river',
379
+ 'reddit',
380
+ 'reddit-alien',
381
+ 'reddit-square',
382
+ 'redhat',
383
+ 'rendact',
384
+ 'renren',
385
+ 'replyd',
386
+ 'researchgate',
387
+ 'resolving',
388
+ 'rev',
389
+ 'rocketchat',
390
+ 'rockrms',
391
+ 'rust',
392
+ 'safari',
393
+ 'salesforce',
394
+ 'sass',
395
+ 'scaleway',
396
+ 'schlix',
397
+ 'screenpal',
398
+ 'scribd',
399
+ 'searchengin',
400
+ 'sellcast',
401
+ 'sellsy',
402
+ 'servicestack',
403
+ 'shirtsinbulk',
404
+ 'shoelace',
405
+ 'shopify',
406
+ 'shopware',
407
+ 'signal-messenger',
408
+ 'simplybuilt',
409
+ 'sistrix',
410
+ 'sith',
411
+ 'sitrox',
412
+ 'sketch',
413
+ 'skyatlas',
414
+ 'skype',
415
+ 'slack',
416
+ 'slack-hash',
417
+ 'slideshare',
418
+ 'snapchat',
419
+ 'snapchat-ghost',
420
+ 'snapchat-square',
421
+ 'solana',
422
+ 'soundcloud',
423
+ 'sourcetree',
424
+ 'space-awesome',
425
+ 'speakap',
426
+ 'speaker-deck',
427
+ 'spotify',
428
+ 'square-behance',
429
+ 'square-bluesky',
430
+ 'square-deskpro',
431
+ 'square-dribbble',
432
+ 'square-facebook',
433
+ 'square-figma',
434
+ 'square-font-awesome',
435
+ 'square-font-awesome-stroke',
436
+ 'square-git',
437
+ 'square-github',
438
+ 'square-gitlab',
439
+ 'square-google-plus',
440
+ 'square-hacker-news',
441
+ 'square-instagram',
442
+ 'square-js',
443
+ 'square-kickstarter',
444
+ 'square-lastfm',
445
+ 'square-letterboxd',
446
+ 'square-linkedin',
447
+ 'square-odnoklassniki',
448
+ 'square-pied-piper',
449
+ 'square-pinterest',
450
+ 'square-reddit',
451
+ 'square-snapchat',
452
+ 'square-steam',
453
+ 'square-threads',
454
+ 'square-tumblr',
455
+ 'square-twitter',
456
+ 'square-upwork',
457
+ 'square-viadeo',
458
+ 'square-vimeo',
459
+ 'square-web-awesome',
460
+ 'square-web-awesome-stroke',
461
+ 'square-whatsapp',
462
+ 'square-x-twitter',
463
+ 'square-xing',
464
+ 'square-youtube',
465
+ 'squarespace',
466
+ 'stack-exchange',
467
+ 'stack-overflow',
468
+ 'stackpath',
469
+ 'staylinked',
470
+ 'steam',
471
+ 'steam-square',
472
+ 'steam-symbol',
473
+ 'sticker-mule',
474
+ 'strava',
475
+ 'stripe',
476
+ 'stripe-s',
477
+ 'stubber',
478
+ 'studiovinari',
479
+ 'stumbleupon',
480
+ 'stumbleupon-circle',
481
+ 'superpowers',
482
+ 'supple',
483
+ 'supportnow',
484
+ 'suse',
485
+ 'svelte',
486
+ 'swift',
487
+ 'symfony',
488
+ 'symfonycasts',
489
+ 'tailwind-css',
490
+ 'teamspeak',
491
+ 'telegram',
492
+ 'telegram-plane',
493
+ 'tencent-weibo',
494
+ 'tex',
495
+ 'the-red-yeti',
496
+ 'themeco',
497
+ 'themeisle',
498
+ 'think-peaks',
499
+ 'threads',
500
+ 'threema',
501
+ 'tidal',
502
+ 'tiktok',
503
+ 'tor-browser',
504
+ 'trade-federation',
505
+ 'trello',
506
+ 'tumblr',
507
+ 'tumblr-square',
508
+ 'twitch',
509
+ 'twitter',
510
+ 'twitter-square',
511
+ 'typescript',
512
+ 'typo3',
513
+ 'uber',
514
+ 'ubuntu',
515
+ 'uikit',
516
+ 'ultralytics',
517
+ 'ultralytics-hub',
518
+ 'ultralytics-yolo',
519
+ 'umbraco',
520
+ 'uncharted',
521
+ 'uniregistry',
522
+ 'unison',
523
+ 'unity',
524
+ 'unreal-engine',
525
+ 'unsplash',
526
+ 'untappd',
527
+ 'ups',
528
+ 'upwork',
529
+ 'usb',
530
+ 'usps',
531
+ 'ussunnah',
532
+ 'vaadin',
533
+ 'venmo',
534
+ 'venmo-v',
535
+ 'viacoin',
536
+ 'viadeo',
537
+ 'viadeo-square',
538
+ 'viber',
539
+ 'vim',
540
+ 'vimeo',
541
+ 'vimeo-square',
542
+ 'vimeo-v',
543
+ 'vine',
544
+ 'vk',
545
+ 'vnv',
546
+ 'vsco',
547
+ 'vuejs',
548
+ 'w3c',
549
+ 'watchman-monitoring',
550
+ 'waze',
551
+ 'web-awesome',
552
+ 'webflow',
553
+ 'weebly',
554
+ 'weibo',
555
+ 'weixin',
556
+ 'whatsapp',
557
+ 'whatsapp-square',
558
+ 'whmcs',
559
+ 'wikipedia-w',
560
+ 'windows',
561
+ 'wirsindhandwerk',
562
+ 'wix',
563
+ 'wizards-of-the-coast',
564
+ 'wodu',
565
+ 'wolf-pack-battalion',
566
+ 'wordpress',
567
+ 'wordpress-simple',
568
+ 'wpbeginner',
569
+ 'wpexplorer',
570
+ 'wpforms',
571
+ 'wpressr',
572
+ 'wsh',
573
+ 'x-twitter',
574
+ 'xbox',
575
+ 'xing',
576
+ 'xing-square',
577
+ 'xmpp',
578
+ 'y-combinator',
579
+ 'yahoo',
580
+ 'yammer',
581
+ 'yandex',
582
+ 'yandex-international',
583
+ 'yarn',
584
+ 'yelp',
585
+ 'yoast',
586
+ 'youtube',
587
+ 'youtube-square',
588
+ 'zhihu',
589
+ 'zoom',
590
+ 'zulip',
591
+ ])