@nexxtmove/ui 0.1.61 → 0.1.63

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 CHANGED
@@ -49,9 +49,9 @@ declare const __VLS_component_13: DefineComponent<NexxtStepperHeaderProps, {}, {
49
49
  "onUpdate:currentStep"?: ((...args: any[]) => any) | undefined;
50
50
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
51
51
 
52
- declare const __VLS_component_14: DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
52
+ declare const __VLS_component_14: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
53
53
  "update:modelValue": (value: string) => any;
54
- }, string, PublicProps, Readonly<__VLS_PublicProps_7> & Readonly<{
54
+ }, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
55
55
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
56
56
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
57
57
 
@@ -256,6 +256,7 @@ $data: {};
256
256
  $props: {
257
257
  readonly placement?: Placement | undefined;
258
258
  readonly offsetDistance?: number | undefined;
259
+ readonly matchWidth?: boolean | undefined;
259
260
  readonly onClose?: (() => any) | undefined;
260
261
  readonly onOpen?: (() => any) | undefined;
261
262
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -292,6 +293,7 @@ open: () => any;
292
293
  }, string, {
293
294
  placement: Placement;
294
295
  offsetDistance: number;
296
+ matchWidth: boolean;
295
297
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
296
298
  beforeCreate?: (() => void) | (() => void)[];
297
299
  created?: (() => void) | (() => void)[];
@@ -315,10 +317,11 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
315
317
  } & Readonly<{
316
318
  placement: Placement;
317
319
  offsetDistance: number;
320
+ matchWidth: boolean;
318
321
  }> & Omit<Readonly<NexxtFloatingPanelProps> & Readonly<{
319
322
  onClose?: (() => any) | undefined;
320
323
  onOpen?: (() => any) | undefined;
321
- }>, "close" | "open" | "isOpen" | "toggle" | "triggerRef" | "floatingRef" | ("placement" | "offsetDistance")> & ShallowUnwrapRef< {
324
+ }>, "close" | "open" | "isOpen" | "toggle" | "triggerRef" | "floatingRef" | ("placement" | "offsetDistance" | "matchWidth")> & ShallowUnwrapRef< {
322
325
  isOpen: Ref<boolean, boolean>;
323
326
  open: () => void;
324
327
  close: () => void;
@@ -361,6 +364,7 @@ onOpen?: (() => any) | undefined;
361
364
  }>, {
362
365
  placement: Placement;
363
366
  offsetDistance: number;
367
+ matchWidth: boolean;
364
368
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
365
369
  triggerRef: HTMLSpanElement;
366
370
  floatingRef: HTMLDivElement;
@@ -378,12 +382,14 @@ declare type __VLS_Props = {
378
382
  delay?: number;
379
383
  };
380
384
 
381
- declare type __VLS_Props_10 = {
385
+ declare type __VLS_Props_10 = NexxtTabs_2;
386
+
387
+ declare type __VLS_Props_11 = {
382
388
  event: TimelineEvent;
383
389
  splitView?: boolean;
384
390
  };
385
391
 
386
- declare type __VLS_Props_11 = {
392
+ declare type __VLS_Props_12 = {
387
393
  phase: TimelinePhase;
388
394
  /** Index within the filtered phases array (used to determine phase direction/date). */
389
395
  index: number;
@@ -405,9 +411,9 @@ declare type __VLS_Props_6 = NexxtModalProps;
405
411
 
406
412
  declare type __VLS_Props_7 = NexxtPaginationProps;
407
413
 
408
- declare type __VLS_Props_8 = NexxtTabbedContent_2;
414
+ declare type __VLS_Props_8 = NexxtSelectProps;
409
415
 
410
- declare type __VLS_Props_9 = NexxtTabs_2;
416
+ declare type __VLS_Props_9 = NexxtTabbedContent_2;
411
417
 
412
418
  declare type __VLS_PublicProps = {
413
419
  modelValue?: Date | null;
@@ -434,13 +440,17 @@ declare type __VLS_PublicProps_6 = {
434
440
  } & __VLS_Props_7;
435
441
 
436
442
  declare type __VLS_PublicProps_7 = {
437
- modelValue?: string;
443
+ modelValue?: string | number | null;
438
444
  } & __VLS_Props_8;
439
445
 
440
446
  declare type __VLS_PublicProps_8 = {
441
- modelValue?: typeof selected['value'];
447
+ modelValue?: string;
442
448
  } & __VLS_Props_9;
443
449
 
450
+ declare type __VLS_PublicProps_9 = {
451
+ modelValue?: typeof selected['value'];
452
+ } & __VLS_Props_10;
453
+
444
454
  declare function __VLS_template(): {
445
455
  attrs: Partial<{}>;
446
456
  slots: {
@@ -684,6 +694,7 @@ declare function __VLS_template_6(): {
684
694
  $props: {
685
695
  readonly placement?: Placement | undefined;
686
696
  readonly offsetDistance?: number | undefined;
697
+ readonly matchWidth?: boolean | undefined;
687
698
  readonly onClose?: (() => any) | undefined;
688
699
  readonly onOpen?: (() => any) | undefined;
689
700
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -720,6 +731,7 @@ declare function __VLS_template_6(): {
720
731
  }, string, {
721
732
  placement: Placement;
722
733
  offsetDistance: number;
734
+ matchWidth: boolean;
723
735
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
724
736
  beforeCreate?: (() => void) | (() => void)[];
725
737
  created?: (() => void) | (() => void)[];
@@ -743,10 +755,11 @@ declare function __VLS_template_6(): {
743
755
  } & Readonly<{
744
756
  placement: Placement;
745
757
  offsetDistance: number;
758
+ matchWidth: boolean;
746
759
  }> & Omit<Readonly<NexxtFloatingPanelProps> & Readonly<{
747
760
  onClose?: (() => any) | undefined;
748
761
  onOpen?: (() => any) | undefined;
749
- }>, "close" | "open" | "isOpen" | "toggle" | "triggerRef" | "floatingRef" | ("placement" | "offsetDistance")> & ShallowUnwrapRef< {
762
+ }>, "close" | "open" | "isOpen" | "toggle" | "triggerRef" | "floatingRef" | ("placement" | "offsetDistance" | "matchWidth")> & ShallowUnwrapRef< {
750
763
  isOpen: Ref<boolean, boolean>;
751
764
  open: () => void;
752
765
  close: () => void;
@@ -1017,6 +1030,7 @@ declare interface NexxtCalendarProps {
1017
1030
  maxDate?: Date;
1018
1031
  monthYearPicker?: boolean;
1019
1032
  timezone?: string;
1033
+ datetime?: boolean;
1020
1034
  }
1021
1035
 
1022
1036
  export declare const NexxtCard: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
@@ -1224,6 +1238,7 @@ $data: {};
1224
1238
  $props: {
1225
1239
  readonly placement?: Placement | undefined;
1226
1240
  readonly offsetDistance?: number | undefined;
1241
+ readonly matchWidth?: boolean | undefined;
1227
1242
  readonly onClose?: (() => any) | undefined;
1228
1243
  readonly onOpen?: (() => any) | undefined;
1229
1244
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1260,6 +1275,7 @@ open: () => any;
1260
1275
  }, string, {
1261
1276
  placement: Placement;
1262
1277
  offsetDistance: number;
1278
+ matchWidth: boolean;
1263
1279
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1264
1280
  beforeCreate?: (() => void) | (() => void)[];
1265
1281
  created?: (() => void) | (() => void)[];
@@ -1283,10 +1299,11 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
1283
1299
  } & Readonly<{
1284
1300
  placement: Placement;
1285
1301
  offsetDistance: number;
1302
+ matchWidth: boolean;
1286
1303
  }> & Omit<Readonly<NexxtFloatingPanelProps> & Readonly<{
1287
1304
  onClose?: (() => any) | undefined;
1288
1305
  onOpen?: (() => any) | undefined;
1289
- }>, "close" | "open" | "isOpen" | "toggle" | "triggerRef" | "floatingRef" | ("placement" | "offsetDistance")> & ShallowUnwrapRef< {
1306
+ }>, "close" | "open" | "isOpen" | "toggle" | "triggerRef" | "floatingRef" | ("placement" | "offsetDistance" | "matchWidth")> & ShallowUnwrapRef< {
1290
1307
  isOpen: Ref<boolean, boolean>;
1291
1308
  open: () => void;
1292
1309
  close: () => void;
@@ -1336,6 +1353,7 @@ export declare const NexxtFloatingPanel: __VLS_WithTemplateSlots_8<typeof __VLS_
1336
1353
  declare interface NexxtFloatingPanelProps {
1337
1354
  placement?: Placement;
1338
1355
  offsetDistance?: number;
1356
+ matchWidth?: boolean;
1339
1357
  }
1340
1358
 
1341
1359
  export declare const NexxtHeader: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
@@ -1430,6 +1448,24 @@ declare interface NexxtPropertyCardProps {
1430
1448
 
1431
1449
  export declare const NexxtPropertyListing: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1432
1450
 
1451
+ export declare const NexxtSelect: DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1452
+ "update:modelValue": (value: string | number | null) => any;
1453
+ }, string, PublicProps, Readonly<__VLS_PublicProps_7> & Readonly<{
1454
+ "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
1455
+ }>, {
1456
+ placeholder: string;
1457
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1458
+
1459
+ declare interface NexxtSelectProps {
1460
+ options: SelectOption[];
1461
+ placeholder?: string;
1462
+ label?: string;
1463
+ error?: boolean;
1464
+ errorMessage?: string;
1465
+ leftIcon?: InstanceType<typeof NexxtIcon>['name'];
1466
+ required?: boolean;
1467
+ }
1468
+
1433
1469
  export declare const NexxtSkeleton: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1434
1470
 
1435
1471
  export declare const NexxtSkeletonPropertyCard: DefineComponent<NexxtSkeletonPropertyCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtSkeletonPropertyCardProps> & Readonly<{}>, {
@@ -1549,9 +1585,9 @@ declare interface NexxtTableProps<TKey extends string = string, TRow extends Rec
1549
1585
  loading?: boolean;
1550
1586
  }
1551
1587
 
1552
- export declare const NexxtTabs: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1588
+ export declare const NexxtTabs: DefineComponent<__VLS_PublicProps_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1553
1589
  "update:modelValue": (value: string) => any;
1554
- }, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
1590
+ }, string, PublicProps, Readonly<__VLS_PublicProps_9> & Readonly<{
1555
1591
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1556
1592
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1557
1593
  containerRef: HTMLDivElement;
@@ -1562,11 +1598,11 @@ declare interface NexxtTabs_2 {
1562
1598
  tablistLabel?: string;
1563
1599
  }
1564
1600
 
1565
- export declare const NexxtTimelineEvent: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {
1601
+ export declare const NexxtTimelineEvent: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {
1566
1602
  splitView: boolean;
1567
1603
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1568
1604
 
1569
- export declare const NexxtTimelinePhaseblock: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1605
+ export declare const NexxtTimelinePhaseblock: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1570
1606
 
1571
1607
  export declare const NexxtTooltip: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1572
1608
 
@@ -1591,6 +1627,11 @@ declare interface Props_2 {
1591
1627
 
1592
1628
  declare const selected: ModelRef<string, string, string, string>;
1593
1629
 
1630
+ declare type SelectOption = {
1631
+ label: string;
1632
+ value: string | number;
1633
+ } | string;
1634
+
1594
1635
  declare type SocialPlatform = 'tiktok' | 'facebook' | 'instagram' | 'linkedin' | 'x' | 'twitter' | 'google';
1595
1636
 
1596
1637
  export declare const SOURCE_MAP: {