@openreachtech/furo-vue 1.7.0 → 2.0.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.
Files changed (44) hide show
  1. package/package.json +19 -19
  2. package/public/furo-vue/components.json +1 -1
  3. package/types/generated/components/atoms/FuroAvatar/FuroAvatar.vue.d.ts +6 -15
  4. package/types/generated/components/atoms/FuroBadge/FuroBadge.vue.d.ts +8 -43
  5. package/types/generated/components/atoms/FuroButton/FuroButton.vue.d.ts +10 -45
  6. package/types/generated/components/atoms/FuroCheckbox/FuroCheckbox.vue.d.ts +8 -20
  7. package/types/generated/components/atoms/FuroNumberField/FuroNumberField.vue.d.ts +12 -12
  8. package/types/generated/components/atoms/FuroRadio/FuroRadio.vue.d.ts +8 -24
  9. package/types/generated/components/atoms/FuroSwitch/FuroSwitch.vue.d.ts +0 -13
  10. package/types/generated/components/atoms/FuroToggle/FuroToggle.vue.d.ts +8 -19
  11. package/types/generated/components/molecules/FuroAccordion/FuroAccordion.vue.d.ts +14 -30
  12. package/types/generated/components/molecules/FuroAttachment/FuroAttachment.vue.d.ts +8 -44
  13. package/types/generated/components/molecules/FuroAutocompleteField/FuroAutocompleteField.vue.d.ts +74 -105
  14. package/types/generated/components/molecules/FuroAvatarGroup/FuroAvatarGroup.vue.d.ts +9 -18
  15. package/types/generated/components/molecules/FuroBreadcrumb/FuroBreadcrumb.vue.d.ts +22 -48
  16. package/types/generated/components/molecules/FuroCollapsible/FuroCollapsible.vue.d.ts +12 -23
  17. package/types/generated/components/molecules/FuroControlBlock/FuroControlBlock.vue.d.ts +6 -4
  18. package/types/generated/components/molecules/FuroDatePicker/FuroDatePicker.vue.d.ts +14 -16
  19. package/types/generated/components/molecules/FuroDropdownMenu/FuroDropdownMenu.vue.d.ts +13 -13
  20. package/types/generated/components/molecules/FuroDropdownMenu/FuroDropdownMenuOptionRows.vue.d.ts +34 -47
  21. package/types/generated/components/molecules/FuroEditableField/FuroEditableField.vue.d.ts +93 -115
  22. package/types/generated/components/molecules/FuroEmptyState/FuroEmptyState.vue.d.ts +8 -7
  23. package/types/generated/components/molecules/FuroErrorState/FuroErrorState.vue.d.ts +8 -7
  24. package/types/generated/components/molecules/FuroPagination/FuroPagination.vue.d.ts +14 -15
  25. package/types/generated/components/molecules/FuroPopover/FuroPopover.vue.d.ts +8 -7
  26. package/types/generated/components/molecules/FuroScrollArea/FuroScrollArea.vue.d.ts +6 -4
  27. package/types/generated/components/molecules/FuroSearchField/FuroSearchField.vue.d.ts +8 -22
  28. package/types/generated/components/molecules/FuroSectionHeader/FuroSectionHeader.vue.d.ts +10 -25
  29. package/types/generated/components/molecules/FuroSelect/FuroSelect.vue.d.ts +74 -108
  30. package/types/generated/components/molecules/FuroSelect/FuroSelectOptionText.vue.d.ts +6 -4
  31. package/types/generated/components/molecules/FuroSplitter/FuroSplitter.vue.d.ts +14 -29
  32. package/types/generated/components/molecules/FuroTimeField/FuroTimeField.vue.d.ts +8 -7
  33. package/types/generated/components/molecules/FuroToggleGroup/FuroToggleGroup.vue.d.ts +9 -24
  34. package/types/generated/components/molecules/FuroToolBar/FuroToolBar.vue.d.ts +6 -9
  35. package/types/generated/components/molecules/FuroTooltip/FuroTooltip.vue.d.ts +8 -7
  36. package/types/generated/components/organisms/FuroAlertDialog/FuroAlertDialog.vue.d.ts +17 -19
  37. package/types/generated/components/organisms/FuroDialog/FuroDialog.vue.d.ts +20 -24
  38. package/types/generated/components/organisms/FuroDrawer/FuroDrawer.vue.d.ts +20 -24
  39. package/types/generated/components/organisms/FuroEditor/FuroEditor.vue.d.ts +9 -42
  40. package/types/generated/components/organisms/FuroSidebar/FuroSidebar.vue.d.ts +23 -62
  41. package/types/generated/components/organisms/FuroStepper/FuroStepper.vue.d.ts +19 -19
  42. package/types/generated/components/organisms/FuroTable/FuroTable.vue.d.ts +54 -71
  43. package/types/generated/components/organisms/FuroTabs/FuroTabs.vue.d.ts +17 -17
  44. package/types/generated/components/organisms/FuroToast/FuroToast.vue.d.ts +25 -31
@@ -3,52 +3,7 @@ export default _default;
3
3
  export type __VLS_LocalComponents = typeof __VLS_componentsOption;
4
4
  export type __VLS_GlobalComponents = import("vue").GlobalComponents;
5
5
  export type __VLS_LocalDirectives = {};
6
- export type __VLS_StyleScopedClasses = {} & {
7
- "unit-sidebar": boolean;
8
- } & {
9
- "collapsed": boolean;
10
- } & {
11
- "header": boolean;
12
- } & {
13
- "groups": boolean;
14
- } & {
15
- "group": boolean;
16
- } & {
17
- "group-label": boolean;
18
- } & {
19
- "items": boolean;
20
- } & {
21
- "row": boolean;
22
- } & {
23
- "disclosure": boolean;
24
- } & {
25
- "active": boolean;
26
- } & {
27
- "row-icon": boolean;
28
- } & {
29
- "icon": boolean;
30
- } & {
31
- "label": boolean;
32
- } & {
33
- "caret": boolean;
34
- } & {
35
- "sub-items": boolean;
36
- } & {
37
- "sub-entry": boolean;
38
- } & {
39
- "sub-row": boolean;
40
- };
41
- export type __VLS_Slots = {} & {
42
- header?: (props: typeof __VLS_1) => any;
43
- } & {
44
- search?: (props: typeof __VLS_3) => any;
45
- } & {
46
- item?: (props: typeof __VLS_15) => any;
47
- } & {
48
- "sub-item"?: (props: typeof __VLS_28) => any;
49
- } & {
50
- footer?: (props: typeof __VLS_30) => any;
51
- };
6
+ export type __VLS_Slots = ReturnType<typeof __VLS_template>["__VLS_Slots"];
52
7
  declare const __VLS_export: import("vue").DefineComponent<{
53
8
  innerHTML?: string | undefined;
54
9
  class?: import("vue").ClassValue | undefined;
@@ -948,22 +903,28 @@ declare namespace __VLS_componentsOption {
948
903
  export { FuroIcon };
949
904
  export { FuroSearchField };
950
905
  }
951
- declare var __VLS_1: {};
952
- declare var __VLS_3: {};
953
- declare namespace __VLS_15 {
954
- let entry: import("./FuroSidebarContext.js").ItemEntry;
955
- let active: boolean;
956
- let expanded: boolean;
957
- let collapsed: boolean;
958
- }
959
- declare namespace __VLS_28 {
960
- let entry_1: import("./FuroSidebarContext.js").SubItemEntry;
961
- export { entry_1 as entry };
962
- export let parent: import("./FuroSidebarContext.js").ItemEntry;
963
- let active_1: boolean;
964
- export { active_1 as active };
965
- }
966
- declare var __VLS_30: {};
906
+ declare function __VLS_template(): {
907
+ __VLS_Slots: {
908
+ header?: (props: {}) => any;
909
+ } & {
910
+ search?: (props: {}) => any;
911
+ } & {
912
+ item?: (props: {
913
+ entry: import("./FuroSidebarContext.js").ItemEntry;
914
+ active: boolean;
915
+ expanded: boolean;
916
+ collapsed: boolean;
917
+ }) => any;
918
+ } & {
919
+ 'sub-item'?: (props: {
920
+ entry: import("./FuroSidebarContext.js").SubItemEntry;
921
+ parent: import("./FuroSidebarContext.js").ItemEntry;
922
+ active: boolean;
923
+ }) => any;
924
+ } & {
925
+ footer?: (props: {}) => any;
926
+ };
927
+ };
967
928
  import FuroSidebarContext from './FuroSidebarContext.js';
968
929
  import FuroIcon from '../../atoms/FuroIcon/FuroIcon.vue';
969
930
  import FuroSearchField from '../../molecules/FuroSearchField/FuroSearchField.vue';
@@ -3,7 +3,7 @@ export default _default;
3
3
  export type __VLS_LocalComponents = typeof __VLS_componentsOption;
4
4
  export type __VLS_GlobalComponents = import("vue").GlobalComponents;
5
5
  export type __VLS_LocalDirectives = {};
6
- export type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_34>]?: (props: typeof __VLS_35) => any; } & { [K in NonNullable<typeof __VLS_49>]?: (props: typeof __VLS_50) => any; } & { [K in NonNullable<typeof __VLS_60>]?: (props: typeof __VLS_61) => any; };
6
+ export type __VLS_Slots = ReturnType<typeof __VLS_template>["__VLS_Slots"];
7
7
  declare const __VLS_export: import("vue").DefineComponent<{
8
8
  innerHTML?: string | undefined;
9
9
  class?: import("vue").ClassValue | undefined;
@@ -774,23 +774,23 @@ declare namespace __VLS_componentsOption {
774
774
  };
775
775
  });
776
776
  }
777
- declare var __VLS_34: string;
778
- declare namespace __VLS_35 {
779
- let step: number;
780
- let value: string | number;
781
- let completed: boolean;
782
- }
783
- declare var __VLS_49: string;
784
- declare namespace __VLS_50 {
785
- let value_1: string | number;
786
- export { value_1 as value };
787
- }
788
- declare var __VLS_60: string;
789
- declare namespace __VLS_61 {
790
- let value_2: string | number;
791
- export { value_2 as value };
792
- let step_1: number;
793
- export { step_1 as step };
794
- }
777
+ declare function __VLS_template(): {
778
+ __VLS_Slots: {
779
+ [x: string]: (props: {
780
+ step: number;
781
+ value: string | number;
782
+ completed: boolean;
783
+ }) => any;
784
+ } & {
785
+ [x: string]: (props: {
786
+ value: string | number;
787
+ }) => any;
788
+ } & {
789
+ [x: string]: (props: {
790
+ value: string | number;
791
+ step: number;
792
+ }) => any;
793
+ };
794
+ };
795
795
  import FuroStepperContext from './FuroStepperContext.js';
796
796
  import FuroIcon from '../../atoms/FuroIcon/FuroIcon.vue';
@@ -3,33 +3,7 @@ export default _default;
3
3
  export type __VLS_LocalComponents = typeof __VLS_componentsOption;
4
4
  export type __VLS_GlobalComponents = import("vue").GlobalComponents;
5
5
  export type __VLS_LocalDirectives = {};
6
- export type __VLS_Slots = {} & {
7
- "header-cell"?: (props: typeof __VLS_10) => any;
8
- } & {
9
- "sort-icon"?: (props: typeof __VLS_12) => any;
10
- } & {
11
- error?: (props: typeof __VLS_19) => any;
12
- } & {
13
- loading?: (props: typeof __VLS_21) => any;
14
- } & {
15
- empty?: (props: typeof __VLS_28) => any;
16
- } & {
17
- cell?: (props: typeof __VLS_39) => any;
18
- } & {
19
- "row-actions"?: (props: typeof __VLS_41) => any;
20
- } & {
21
- placeholder?: (props: typeof __VLS_43) => any;
22
- } & {
23
- cell?: (props: typeof __VLS_54) => any;
24
- } & {
25
- "row-actions"?: (props: typeof __VLS_56) => any;
26
- } & {
27
- pagination?: (props: typeof __VLS_58) => any;
28
- } & {
29
- footer?: (props: typeof __VLS_60) => any;
30
- } & {
31
- loading?: (props: typeof __VLS_62) => any;
32
- };
6
+ export type __VLS_Slots = ReturnType<typeof __VLS_template>["__VLS_Slots"];
33
7
  declare const __VLS_export: import("vue").DefineComponent<{
34
8
  innerHTML?: string | undefined;
35
9
  class?: import("vue").ClassValue | undefined;
@@ -559,51 +533,60 @@ declare namespace __VLS_componentsOption {
559
533
  export { FuroIcon };
560
534
  export { FuroCheckbox };
561
535
  }
562
- declare namespace __VLS_10 {
563
- let column: import("./FuroTableContext.js").FuroTableColumn;
564
- }
565
- declare namespace __VLS_12 {
566
- let column_1: import("./FuroTableContext.js").FuroTableColumn;
567
- export { column_1 as column };
568
- }
569
- declare namespace __VLS_19 {
570
- let message: string;
571
- }
572
- declare var __VLS_21: {};
573
- declare var __VLS_28: {};
574
- declare namespace __VLS_39 {
575
- export let row: Record<string, unknown>;
576
- let column_2: import("./FuroTableContext.js").FuroTableColumn;
577
- export { column_2 as column };
578
- export let value: unknown;
579
- }
580
- declare namespace __VLS_41 {
581
- let row_1: Record<string, unknown>;
582
- export { row_1 as row };
583
- }
584
- declare namespace __VLS_43 {
585
- let index: number;
586
- }
587
- declare namespace __VLS_54 {
588
- let row_2: Record<string, unknown>;
589
- export { row_2 as row };
590
- let column_3: import("./FuroTableContext.js").FuroTableColumn;
591
- export { column_3 as column };
592
- let value_1: unknown;
593
- export { value_1 as value };
594
- }
595
- declare namespace __VLS_56 {
596
- let row_3: Record<string, unknown>;
597
- export { row_3 as row };
598
- }
599
- declare var __VLS_58: {};
600
- declare namespace __VLS_60 {
601
- let selection: {
602
- keys: Array<string | number>;
603
- count: number;
536
+ declare function __VLS_template(): {
537
+ __VLS_Slots: {
538
+ 'header-cell'?: (props: {
539
+ column: import("./FuroTableContext.js").FuroTableColumn;
540
+ }) => any;
541
+ } & {
542
+ 'sort-icon'?: (props: {
543
+ column: import("./FuroTableContext.js").FuroTableColumn;
544
+ }) => any;
545
+ } & {
546
+ error?: (props: {
547
+ message: string;
548
+ }) => any;
549
+ } & {
550
+ loading?: (props: {}) => any;
551
+ } & {
552
+ empty?: (props: {}) => any;
553
+ } & {
554
+ cell?: (props: {
555
+ row: Record<string, unknown>;
556
+ column: import("./FuroTableContext.js").FuroTableColumn;
557
+ value: unknown;
558
+ }) => any;
559
+ } & {
560
+ 'row-actions'?: (props: {
561
+ row: Record<string, unknown>;
562
+ }) => any;
563
+ } & {
564
+ placeholder?: (props: {
565
+ index: number;
566
+ }) => any;
567
+ } & {
568
+ cell?: (props: {
569
+ row: Record<string, unknown>;
570
+ column: import("./FuroTableContext.js").FuroTableColumn;
571
+ value: unknown;
572
+ }) => any;
573
+ } & {
574
+ 'row-actions'?: (props: {
575
+ row: Record<string, unknown>;
576
+ }) => any;
577
+ } & {
578
+ pagination?: (props: {}) => any;
579
+ } & {
580
+ footer?: (props: {
581
+ selection: {
582
+ keys: Array<string | number>;
583
+ count: number;
584
+ };
585
+ }) => any;
586
+ } & {
587
+ loading?: (props: {}) => any;
604
588
  };
605
- }
606
- declare var __VLS_62: {};
589
+ };
607
590
  import FuroTableContext from './FuroTableContext.js';
608
591
  import FuroIcon from '../../atoms/FuroIcon/FuroIcon.vue';
609
592
  import FuroCheckbox from '../../atoms/FuroCheckbox/FuroCheckbox.vue';
@@ -3,11 +3,7 @@ export default _default;
3
3
  export type __VLS_LocalComponents = typeof __VLS_componentsOption;
4
4
  export type __VLS_GlobalComponents = import("vue").GlobalComponents;
5
5
  export type __VLS_LocalDirectives = {};
6
- export type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_30>]?: (props: typeof __VLS_31) => any; } & { [K in NonNullable<typeof __VLS_54>]?: (props: typeof __VLS_55) => any; } & {
7
- "scroll-previous-icon"?: (props: typeof __VLS_9) => any;
8
- } & {
9
- "scroll-next-icon"?: (props: typeof __VLS_39) => any;
10
- };
6
+ export type __VLS_Slots = ReturnType<typeof __VLS_template>["__VLS_Slots"];
11
7
  declare const __VLS_export: import("vue").DefineComponent<{
12
8
  innerHTML?: string | undefined;
13
9
  class?: import("vue").ClassValue | undefined;
@@ -630,17 +626,21 @@ declare namespace __VLS_componentsOption {
630
626
  };
631
627
  });
632
628
  }
633
- declare var __VLS_30: string;
634
- declare namespace __VLS_31 {
635
- let value: string;
636
- let label: string;
637
- }
638
- declare var __VLS_54: string;
639
- declare namespace __VLS_55 {
640
- let value_1: string;
641
- export { value_1 as value };
642
- }
643
- declare var __VLS_9: {};
644
- declare var __VLS_39: {};
629
+ declare function __VLS_template(): {
630
+ __VLS_Slots: {
631
+ [x: string]: (props: {
632
+ value: string;
633
+ label: string;
634
+ }) => any;
635
+ } & {
636
+ [x: string]: (props: {
637
+ value: string;
638
+ }) => any;
639
+ } & {
640
+ 'scroll-previous-icon'?: (props: {}) => any;
641
+ } & {
642
+ 'scroll-next-icon'?: (props: {}) => any;
643
+ };
644
+ };
645
645
  import FuroTabsContext from './FuroTabsContext.js';
646
646
  import FuroIcon from '../../atoms/FuroIcon/FuroIcon.vue';
@@ -3,17 +3,7 @@ export default _default;
3
3
  export type __VLS_LocalComponents = typeof __VLS_componentsOption;
4
4
  export type __VLS_GlobalComponents = import("vue").GlobalComponents;
5
5
  export type __VLS_LocalDirectives = {};
6
- export type __VLS_Slots = {} & {
7
- icon?: (props: typeof __VLS_16) => any;
8
- } & {
9
- title?: (props: typeof __VLS_29) => any;
10
- } & {
11
- description?: (props: typeof __VLS_37) => any;
12
- } & {
13
- "action-spinner"?: (props: typeof __VLS_40) => any;
14
- } & {
15
- "close-icon"?: (props: typeof __VLS_53) => any;
16
- };
6
+ export type __VLS_Slots = ReturnType<typeof __VLS_template>["__VLS_Slots"];
17
7
  declare const __VLS_export: import("vue").DefineComponent<{
18
8
  innerHTML?: string | undefined;
19
9
  class?: import("vue").ClassValue | undefined;
@@ -1050,25 +1040,29 @@ declare namespace __VLS_componentsOption {
1050
1040
  };
1051
1041
  });
1052
1042
  }
1053
- declare namespace __VLS_16 {
1054
- let toast: import("./FuroToastContext.js").ToastViewModel;
1055
- }
1056
- declare namespace __VLS_29 {
1057
- let toast_1: import("./FuroToastContext.js").ToastViewModel;
1058
- export { toast_1 as toast };
1059
- }
1060
- declare namespace __VLS_37 {
1061
- let toast_2: import("./FuroToastContext.js").ToastViewModel;
1062
- export { toast_2 as toast };
1063
- }
1064
- declare namespace __VLS_40 {
1065
- let toast_3: import("./FuroToastContext.js").ToastViewModel;
1066
- export { toast_3 as toast };
1067
- export let action: import("./FuroToastContext.js").ToastActionDescriptor;
1068
- }
1069
- declare namespace __VLS_53 {
1070
- let toast_4: import("./FuroToastContext.js").ToastViewModel;
1071
- export { toast_4 as toast };
1072
- }
1043
+ declare function __VLS_template(): {
1044
+ __VLS_Slots: {
1045
+ icon?: (props: {
1046
+ toast: import("./FuroToastContext.js").ToastViewModel;
1047
+ }) => any;
1048
+ } & {
1049
+ title?: (props: {
1050
+ toast: import("./FuroToastContext.js").ToastViewModel;
1051
+ }) => any;
1052
+ } & {
1053
+ description?: (props: {
1054
+ toast: import("./FuroToastContext.js").ToastViewModel;
1055
+ }) => any;
1056
+ } & {
1057
+ 'action-spinner'?: (props: {
1058
+ toast: import("./FuroToastContext.js").ToastViewModel;
1059
+ action: import("./FuroToastContext.js").ToastActionDescriptor;
1060
+ }) => any;
1061
+ } & {
1062
+ 'close-icon'?: (props: {
1063
+ toast: import("./FuroToastContext.js").ToastViewModel;
1064
+ }) => any;
1065
+ };
1066
+ };
1073
1067
  import FuroToastContext from './FuroToastContext.js';
1074
1068
  import FuroIcon from '../../atoms/FuroIcon/FuroIcon.vue';