@wra-gov/vue-components 0.30.2 → 0.31.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.d.ts CHANGED
@@ -12,21 +12,103 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
12
12
  color: WraTagAvailableColors;
13
13
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
14
14
 
15
+ declare const __VLS_component_2: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
16
+
17
+ declare const __VLS_component_3: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
18
+
19
+ declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
20
+
21
+ declare const __VLS_component_5: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {
22
+ hiddenPrint: boolean;
23
+ id: string;
24
+ navigationLinks: NavigationLink[];
25
+ mobileBreakpoint: number;
26
+ menuLabel: string;
27
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
28
+
15
29
  declare type __VLS_Props = {
16
30
  content: string;
17
31
  color?: WraTagAvailableColors;
18
32
  };
19
33
 
34
+ declare type __VLS_Props_2 = {
35
+ /**
36
+ * The name of the service to display.
37
+ */
38
+ serviceName: string;
39
+ /**
40
+ * Array of navigation links. Each link should have a label, href, and aria label.
41
+ */
42
+ navigationLinks?: NavigationLink[];
43
+ /**
44
+ * If true, the service bar will be hidden when printing the page.
45
+ */
46
+ hiddenPrint?: boolean;
47
+ /**
48
+ * Mobile breakpoint in pixels. Burger menu shows on screens smaller than this width.
49
+ */
50
+ mobileBreakpoint?: number;
51
+ /**
52
+ * Label text for the menu button.
53
+ */
54
+ menuLabel?: string;
55
+ id: string;
56
+ };
57
+
20
58
  declare type __VLS_Slots = {} & {
21
59
  default?: (props: typeof __VLS_1) => any;
22
60
  };
23
61
 
62
+ declare type __VLS_Slots_2 = {} & {
63
+ default?: (props: typeof __VLS_1) => any;
64
+ };
65
+
66
+ declare type __VLS_Slots_3 = {} & {
67
+ default?: (props: typeof __VLS_1) => any;
68
+ } & {
69
+ hint?: (props: typeof __VLS_7) => any;
70
+ } & {
71
+ status?: (props: typeof __VLS_9) => any;
72
+ };
73
+
74
+ declare type __VLS_Slots_4 = {} & {
75
+ default?: (props: typeof __VLS_1) => any;
76
+ };
77
+
78
+ declare type __VLS_Slots_5 = {} & {
79
+ default?: (props: typeof __VLS_1) => any;
80
+ };
81
+
24
82
  declare type __VLS_WithSlots<T, S> = T & {
25
83
  new (): {
26
84
  $slots: S;
27
85
  };
28
86
  };
29
87
 
88
+ declare type __VLS_WithSlots_2<T, S> = T & {
89
+ new (): {
90
+ $slots: S;
91
+ };
92
+ };
93
+
94
+ declare type __VLS_WithSlots_3<T, S> = T & {
95
+ new (): {
96
+ $slots: S;
97
+ };
98
+ };
99
+
100
+ declare type __VLS_WithSlots_4<T, S> = T & {
101
+ new (): {
102
+ $slots: S;
103
+ };
104
+ };
105
+
106
+ declare type __VLS_WithSlots_5<T, S> = T & {
107
+ new (): {
108
+ $slots: S;
109
+ };
110
+ };
111
+
30
112
  export declare interface AutocompleteOption {
31
113
  label: string;
32
114
  value: string;
@@ -54,6 +136,12 @@ export declare type DataTableSort = {
54
136
  order: "asc" | "desc";
55
137
  };
56
138
 
139
+ declare interface NavigationLink {
140
+ label: string;
141
+ href: string;
142
+ ariaLabel: string;
143
+ }
144
+
57
145
  declare const plugin: {
58
146
  install(Vue: any): void;
59
147
  };
@@ -3006,157 +3094,7 @@ monthInputWidth: string;
3006
3094
  yearInputWidth: string;
3007
3095
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3008
3096
 
3009
- export declare const WraServiceBar: DefineComponent<ExtractPropTypes< {
3010
- /**
3011
- * The name of the service to display.
3012
- */
3013
- serviceName: {
3014
- type: PropType<string>;
3015
- required: true;
3016
- };
3017
- /**
3018
- * Array of navigation links. Each link should have a label, href, and aria label.
3019
- */
3020
- navigationLinks: {
3021
- type: PropType<Array<{
3022
- label: string;
3023
- href: string;
3024
- ariaLabel: string;
3025
- }>>;
3026
- default: () => any[];
3027
- };
3028
- /**
3029
- * If true, the service bar will be hidden when printing the page.
3030
- */
3031
- hiddenPrint: {
3032
- type: PropType<boolean>;
3033
- default: boolean;
3034
- };
3035
- /**
3036
- * Mobile breakpoint in pixels. Burger menu shows on screens smaller than this width.
3037
- */
3038
- mobileBreakpoint: {
3039
- type: PropType<number>;
3040
- default: number;
3041
- };
3042
- /**
3043
- * Label text for the menu button.
3044
- */
3045
- menuLabel: {
3046
- type: PropType<string>;
3047
- default: string;
3048
- };
3049
- }>, {}, {
3050
- isMenuOpen: boolean;
3051
- mdiMenu: string;
3052
- mdiClose: string;
3053
- windowWidth: number;
3054
- }, {
3055
- usesBurgerMenu(): boolean;
3056
- }, {
3057
- handleWindowResize(): void;
3058
- }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
3059
- /**
3060
- * The name of the service to display.
3061
- */
3062
- serviceName: {
3063
- type: PropType<string>;
3064
- required: true;
3065
- };
3066
- /**
3067
- * Array of navigation links. Each link should have a label, href, and aria label.
3068
- */
3069
- navigationLinks: {
3070
- type: PropType<Array<{
3071
- label: string;
3072
- href: string;
3073
- ariaLabel: string;
3074
- }>>;
3075
- default: () => any[];
3076
- };
3077
- /**
3078
- * If true, the service bar will be hidden when printing the page.
3079
- */
3080
- hiddenPrint: {
3081
- type: PropType<boolean>;
3082
- default: boolean;
3083
- };
3084
- /**
3085
- * Mobile breakpoint in pixels. Burger menu shows on screens smaller than this width.
3086
- */
3087
- mobileBreakpoint: {
3088
- type: PropType<number>;
3089
- default: number;
3090
- };
3091
- /**
3092
- * Label text for the menu button.
3093
- */
3094
- menuLabel: {
3095
- type: PropType<string>;
3096
- default: string;
3097
- };
3098
- }>> & Readonly<{}>, {
3099
- hiddenPrint: boolean;
3100
- navigationLinks: {
3101
- label: string;
3102
- href: string;
3103
- ariaLabel: string;
3104
- }[];
3105
- mobileBreakpoint: number;
3106
- menuLabel: string;
3107
- }, {}, {
3108
- WraIcon: DefineComponent<ExtractPropTypes< {
3109
- icon: {
3110
- type: PropType<string>;
3111
- required: true;
3112
- };
3113
- width: {
3114
- type: PropType<number>;
3115
- default: number;
3116
- };
3117
- height: {
3118
- type: PropType<number>;
3119
- default: number;
3120
- };
3121
- viewBox: {
3122
- type: PropType<string>;
3123
- default: string;
3124
- };
3125
- stroke: {
3126
- type: PropType<string>;
3127
- };
3128
- fill: {
3129
- type: PropType<string>;
3130
- };
3131
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
3132
- icon: {
3133
- type: PropType<string>;
3134
- required: true;
3135
- };
3136
- width: {
3137
- type: PropType<number>;
3138
- default: number;
3139
- };
3140
- height: {
3141
- type: PropType<number>;
3142
- default: number;
3143
- };
3144
- viewBox: {
3145
- type: PropType<string>;
3146
- default: string;
3147
- };
3148
- stroke: {
3149
- type: PropType<string>;
3150
- };
3151
- fill: {
3152
- type: PropType<string>;
3153
- };
3154
- }>> & Readonly<{}>, {
3155
- width: number;
3156
- height: number;
3157
- viewBox: string;
3158
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3159
- }, {}, string, ComponentProvideOptions, true, {}, any>;
3097
+ export declare const WraServiceBar: __VLS_WithSlots_5<typeof __VLS_component_5, __VLS_Slots_5>;
3160
3098
 
3161
3099
  export declare const WraServiceLogo: DefineComponent<ExtractPropTypes< {
3162
3100
  /**
@@ -3556,7 +3494,13 @@ active: boolean;
3556
3494
 
3557
3495
  export declare const WraTag: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
3558
3496
 
3559
- declare type WraTagAvailableColors = "wra-blue" | "wra-green" | "wra-grey";
3497
+ export declare type WraTagAvailableColors = "wra-blue" | "wra-green" | "wra-grey";
3498
+
3499
+ export declare const WraTaskList: __VLS_WithSlots_2<typeof __VLS_component_2, __VLS_Slots_2>;
3500
+
3501
+ export declare const WraTaskListHint: __VLS_WithSlots_4<typeof __VLS_component_4, __VLS_Slots_4>;
3502
+
3503
+ export declare const WraTaskListItem: __VLS_WithSlots_3<typeof __VLS_component_3, __VLS_Slots_3>;
3560
3504
 
3561
3505
  export declare const WraTextArea: DefineComponent<ExtractPropTypes< {
3562
3506
  /**