@vonage/vivid-vue 4.10.0 → 4.11.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.
@@ -72,34 +72,6 @@ declare const _default: import("vue").DefineComponent<{
72
72
  type: PropType<boolean>;
73
73
  default: undefined;
74
74
  };
75
- /**
76
- * The id of a form to associate the element to.
77
- */
78
- form: {
79
- type: PropType<string>;
80
- default: undefined;
81
- };
82
- /**
83
- * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
84
- */
85
- formaction: {
86
- type: PropType<string>;
87
- default: undefined;
88
- };
89
- /**
90
- * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
91
- */
92
- formenctype: {
93
- type: PropType<string>;
94
- default: undefined;
95
- };
96
- /**
97
- * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
98
- */
99
- formmethod: {
100
- type: PropType<string>;
101
- default: undefined;
102
- };
103
75
  /**
104
76
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
105
77
  */
@@ -108,28 +80,17 @@ declare const _default: import("vue").DefineComponent<{
108
80
  default: undefined;
109
81
  };
110
82
  /**
111
- * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
112
- */
113
- formtarget: {
114
- type: PropType<"_self" | "_blank" | "_parent" | "_top">;
115
- default: undefined;
116
- };
117
- /**
118
- * The button type.
83
+ * Determines if the element should receive document focus on page load.
119
84
  */
120
- type: {
121
- type: PropType<"submit" | "reset" | "button">;
122
- default: undefined;
123
- };
124
85
  title: {
125
- type: PropType<string>;
86
+ type: PropType<boolean>;
126
87
  default: undefined;
127
88
  };
128
89
  /**
129
90
  * The connotation the button should have.
130
91
  */
131
92
  connotation: {
132
- type: PropType<"accent" | "cta" | "success" | "alert">;
93
+ type: PropType<"accent" | "announcement" | "cta" | "success" | "alert">;
133
94
  default: undefined;
134
95
  };
135
96
  /**
@@ -237,6 +198,48 @@ declare const _default: import("vue").DefineComponent<{
237
198
  type: PropType<"_self" | "_blank" | "_parent" | "_top">;
238
199
  default: undefined;
239
200
  };
201
+ /**
202
+ * The id of a form to associate the element to.
203
+ */
204
+ form: {
205
+ type: PropType<string>;
206
+ default: undefined;
207
+ };
208
+ /**
209
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
210
+ */
211
+ formaction: {
212
+ type: PropType<string>;
213
+ default: undefined;
214
+ };
215
+ /**
216
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
217
+ */
218
+ formenctype: {
219
+ type: PropType<string>;
220
+ default: undefined;
221
+ };
222
+ /**
223
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
224
+ */
225
+ formmethod: {
226
+ type: PropType<string>;
227
+ default: undefined;
228
+ };
229
+ /**
230
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
231
+ */
232
+ formtarget: {
233
+ type: PropType<"_self" | "_blank" | "_parent" | "_top">;
234
+ default: undefined;
235
+ };
236
+ /**
237
+ * The button type.
238
+ */
239
+ type: {
240
+ type: PropType<"submit" | "reset" | "button">;
241
+ default: undefined;
242
+ };
240
243
  }, {
241
244
  componentName: import("vue").Ref<string>;
242
245
  element: import("vue").Ref<Button | null>;
@@ -346,34 +349,6 @@ declare const _default: import("vue").DefineComponent<{
346
349
  type: PropType<boolean>;
347
350
  default: undefined;
348
351
  };
349
- /**
350
- * The id of a form to associate the element to.
351
- */
352
- form: {
353
- type: PropType<string>;
354
- default: undefined;
355
- };
356
- /**
357
- * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
358
- */
359
- formaction: {
360
- type: PropType<string>;
361
- default: undefined;
362
- };
363
- /**
364
- * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
365
- */
366
- formenctype: {
367
- type: PropType<string>;
368
- default: undefined;
369
- };
370
- /**
371
- * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
372
- */
373
- formmethod: {
374
- type: PropType<string>;
375
- default: undefined;
376
- };
377
352
  /**
378
353
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
379
354
  */
@@ -382,28 +357,17 @@ declare const _default: import("vue").DefineComponent<{
382
357
  default: undefined;
383
358
  };
384
359
  /**
385
- * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
386
- */
387
- formtarget: {
388
- type: PropType<"_self" | "_blank" | "_parent" | "_top">;
389
- default: undefined;
390
- };
391
- /**
392
- * The button type.
360
+ * Determines if the element should receive document focus on page load.
393
361
  */
394
- type: {
395
- type: PropType<"submit" | "reset" | "button">;
396
- default: undefined;
397
- };
398
362
  title: {
399
- type: PropType<string>;
363
+ type: PropType<boolean>;
400
364
  default: undefined;
401
365
  };
402
366
  /**
403
367
  * The connotation the button should have.
404
368
  */
405
369
  connotation: {
406
- type: PropType<"accent" | "cta" | "success" | "alert">;
370
+ type: PropType<"accent" | "announcement" | "cta" | "success" | "alert">;
407
371
  default: undefined;
408
372
  };
409
373
  /**
@@ -511,6 +475,48 @@ declare const _default: import("vue").DefineComponent<{
511
475
  type: PropType<"_self" | "_blank" | "_parent" | "_top">;
512
476
  default: undefined;
513
477
  };
478
+ /**
479
+ * The id of a form to associate the element to.
480
+ */
481
+ form: {
482
+ type: PropType<string>;
483
+ default: undefined;
484
+ };
485
+ /**
486
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
487
+ */
488
+ formaction: {
489
+ type: PropType<string>;
490
+ default: undefined;
491
+ };
492
+ /**
493
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
494
+ */
495
+ formenctype: {
496
+ type: PropType<string>;
497
+ default: undefined;
498
+ };
499
+ /**
500
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
501
+ */
502
+ formmethod: {
503
+ type: PropType<string>;
504
+ default: undefined;
505
+ };
506
+ /**
507
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
508
+ */
509
+ formtarget: {
510
+ type: PropType<"_self" | "_blank" | "_parent" | "_top">;
511
+ default: undefined;
512
+ };
513
+ /**
514
+ * The button type.
515
+ */
516
+ type: {
517
+ type: PropType<"submit" | "reset" | "button">;
518
+ default: undefined;
519
+ };
514
520
  }>> & {
515
521
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
516
522
  onClick?: ((event: MouseEvent) => any) | undefined;
@@ -528,7 +534,7 @@ declare const _default: import("vue").DefineComponent<{
528
534
  size: "expanded" | "condensed" | "normal" | "super-condensed";
529
535
  shape: "rounded" | "pill";
530
536
  appearance: "ghost" | "filled" | "outlined" | "ghost-light" | "outlined-light";
531
- connotation: "accent" | "success" | "alert" | "cta";
537
+ connotation: "accent" | "success" | "announcement" | "alert" | "cta";
532
538
  disabled: boolean;
533
539
  download: string;
534
540
  href: string;
@@ -540,18 +546,18 @@ declare const _default: import("vue").DefineComponent<{
540
546
  initialValue: string;
541
547
  required: boolean;
542
548
  autofocus: boolean;
543
- form: string;
544
- formaction: string;
545
- formenctype: string;
546
- formmethod: string;
547
549
  formnovalidate: boolean;
548
- formtarget: "_self" | "_blank" | "_parent" | "_top";
549
- title: string;
550
+ title: boolean;
550
551
  stacked: boolean;
551
552
  pending: boolean;
552
553
  dropdownIndicator: boolean;
553
554
  active: boolean;
554
555
  label: string;
556
+ form: string;
557
+ formaction: string;
558
+ formenctype: string;
559
+ formmethod: string;
560
+ formtarget: "_self" | "_blank" | "_parent" | "_top";
555
561
  }, SlotsType<{
556
562
  /**
557
563
  * Add an icon to the component.
@@ -105,13 +105,6 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
105
105
  type: PropType<boolean>;
106
106
  default: undefined;
107
107
  };
108
- /**
109
- * When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
110
- */
111
- readonly: {
112
- type: PropType<boolean>;
113
- default: undefined;
114
- };
115
108
  ariaLabel: {
116
109
  type: PropType<string>;
117
110
  default: undefined;
@@ -134,11 +127,17 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
134
127
  type: PropType<"true" | "false" | "mixed" | "undefined">;
135
128
  default: undefined;
136
129
  };
130
+ /**
131
+ * When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
132
+ */
133
+ readonly: {
134
+ type: PropType<boolean>;
135
+ default: undefined;
136
+ };
137
137
  }, {
138
138
  componentName: import("vue").Ref<string>;
139
139
  element: import("vue").Ref<Checkbox | null>;
140
140
  }, import("vue").Data, {}, {
141
- indeterminateChanged(_: boolean, next: boolean): unknown;
142
141
  ariaCheckedChanged(): unknown;
143
142
  }, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "change" | "update:modelValue")[], string, Readonly<import("vue").ExtractPropTypes<{
144
143
  /**
@@ -245,13 +244,6 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
245
244
  type: PropType<boolean>;
246
245
  default: undefined;
247
246
  };
248
- /**
249
- * When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
250
- */
251
- readonly: {
252
- type: PropType<boolean>;
253
- default: undefined;
254
- };
255
247
  ariaLabel: {
256
248
  type: PropType<string>;
257
249
  default: undefined;
@@ -274,6 +266,13 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
274
266
  type: PropType<"true" | "false" | "mixed" | "undefined">;
275
267
  default: undefined;
276
268
  };
269
+ /**
270
+ * When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
271
+ */
272
+ readonly: {
273
+ type: PropType<boolean>;
274
+ default: undefined;
275
+ };
277
276
  }>>, {
278
277
  name: string;
279
278
  ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
@@ -290,8 +289,8 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
290
289
  helperText: string;
291
290
  defaultChecked: boolean;
292
291
  checked: boolean;
293
- readonly: boolean;
294
292
  tabindex: string;
295
293
  ariaChecked: "undefined" | "true" | "false" | "mixed";
294
+ readonly: boolean;
296
295
  }>;
297
296
  export default _default;
@@ -106,13 +106,6 @@ declare const _default: import("vue").DefineComponent<{
106
106
  type: PropType<boolean>;
107
107
  default: undefined;
108
108
  };
109
- /**
110
- * When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
111
- */
112
- readonly: {
113
- type: PropType<boolean>;
114
- default: undefined;
115
- };
116
109
  ariaLabel: {
117
110
  type: PropType<string>;
118
111
  default: undefined;
@@ -135,11 +128,17 @@ declare const _default: import("vue").DefineComponent<{
135
128
  type: PropType<"true" | "false" | "mixed" | "undefined">;
136
129
  default: undefined;
137
130
  };
131
+ /**
132
+ * When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
133
+ */
134
+ readonly: {
135
+ type: PropType<boolean>;
136
+ default: undefined;
137
+ };
138
138
  }, {
139
139
  componentName: import("vue").Ref<string>;
140
140
  element: import("vue").Ref<Checkbox | null>;
141
141
  }, unknown, {}, {
142
- indeterminateChanged(_: boolean, next: boolean): unknown;
143
142
  ariaCheckedChanged(): unknown;
144
143
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
145
144
  /**
@@ -287,13 +286,6 @@ declare const _default: import("vue").DefineComponent<{
287
286
  type: PropType<boolean>;
288
287
  default: undefined;
289
288
  };
290
- /**
291
- * When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
292
- */
293
- readonly: {
294
- type: PropType<boolean>;
295
- default: undefined;
296
- };
297
289
  ariaLabel: {
298
290
  type: PropType<string>;
299
291
  default: undefined;
@@ -316,6 +308,13 @@ declare const _default: import("vue").DefineComponent<{
316
308
  type: PropType<"true" | "false" | "mixed" | "undefined">;
317
309
  default: undefined;
318
310
  };
311
+ /**
312
+ * When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
313
+ */
314
+ readonly: {
315
+ type: PropType<boolean>;
316
+ default: undefined;
317
+ };
319
318
  }>> & {
320
319
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
321
320
  onClick?: ((event: MouseEvent) => any) | undefined;
@@ -341,9 +340,9 @@ declare const _default: import("vue").DefineComponent<{
341
340
  helperText: string;
342
341
  defaultChecked: boolean;
343
342
  checked: boolean;
344
- readonly: boolean;
345
343
  tabindex: string;
346
344
  ariaChecked: "undefined" | "true" | "false" | "mixed";
345
+ readonly: boolean;
347
346
  }, SlotsType<{
348
347
  /**
349
348
  * Describes how to use the checkbox. Alternative to the `helper-text` attribute.
@@ -1,6 +1,5 @@
1
1
  import { PropType } from 'vue';
2
2
  import { IconId } from '../icons';
3
- import type { Fab } from '@vonage/vivid/lib/fab/fab';
4
3
  declare const _default: import("vue/types/v3-define-component").DefineComponent<{
5
4
  /**
6
5
  * A decorative icon the custom element should have.
@@ -64,6 +63,34 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
64
63
  type: PropType<boolean>;
65
64
  default: undefined;
66
65
  };
66
+ /**
67
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
68
+ */
69
+ formnovalidate: {
70
+ type: PropType<boolean>;
71
+ default: undefined;
72
+ };
73
+ /**
74
+ * The connotation the fab should have.
75
+ */
76
+ connotation: {
77
+ type: PropType<"cta" | "accent" | "announcement">;
78
+ default: undefined;
79
+ };
80
+ /**
81
+ * The size the FAB should have.
82
+ */
83
+ size: {
84
+ type: PropType<"condensed" | "normal" | "expanded">;
85
+ default: undefined;
86
+ };
87
+ /**
88
+ * Indicates the fab's label.
89
+ */
90
+ label: {
91
+ type: PropType<string>;
92
+ default: undefined;
93
+ };
67
94
  /**
68
95
  * Determines if the element should receive document focus on page load.
69
96
  */
@@ -99,13 +126,6 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
99
126
  type: PropType<string>;
100
127
  default: undefined;
101
128
  };
102
- /**
103
- * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
104
- */
105
- formnovalidate: {
106
- type: PropType<boolean>;
107
- default: undefined;
108
- };
109
129
  /**
110
130
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
111
131
  */
@@ -120,30 +140,25 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
120
140
  type: PropType<"submit" | "reset" | "button">;
121
141
  default: undefined;
122
142
  };
123
- /**
124
- * The connotation the fab should have.
125
- */
126
- connotation: {
127
- type: PropType<"cta" | "accent" | "announcement">;
128
- default: undefined;
129
- };
130
- /**
131
- * The size the FAB should have.
132
- */
133
- size: {
134
- type: PropType<"condensed" | "normal" | "expanded">;
135
- default: undefined;
136
- };
137
- /**
138
- * Indicates the fab's label.
139
- */
140
- label: {
141
- type: PropType<string>;
142
- default: undefined;
143
- };
144
143
  }, {
145
144
  componentName: import("vue").Ref<string>;
146
- element: import("vue").Ref<Fab | null>;
145
+ element: import("vue").Ref<{
146
+ connotation?: import("@vonage/vivid").FabConnotation | undefined;
147
+ size?: import("@vonage/vivid").FABSize | undefined;
148
+ label?: string | undefined;
149
+ autofocus: boolean;
150
+ formId: string;
151
+ formaction: string;
152
+ formenctype: string;
153
+ formmethod: string;
154
+ formnovalidate: boolean;
155
+ formtarget: "_self" | "_blank" | "_parent" | "_top";
156
+ type: "submit" | "reset" | "button";
157
+ validate: () => void;
158
+ control: HTMLButtonElement;
159
+ iconTrailing: boolean;
160
+ icon?: string | undefined;
161
+ } | null>;
147
162
  }, import("vue").Data, {}, {
148
163
  /**
149
164
  * {@inheritDoc (FormAssociated:interface).validate}
@@ -212,6 +227,34 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
212
227
  type: PropType<boolean>;
213
228
  default: undefined;
214
229
  };
230
+ /**
231
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
232
+ */
233
+ formnovalidate: {
234
+ type: PropType<boolean>;
235
+ default: undefined;
236
+ };
237
+ /**
238
+ * The connotation the fab should have.
239
+ */
240
+ connotation: {
241
+ type: PropType<"cta" | "accent" | "announcement">;
242
+ default: undefined;
243
+ };
244
+ /**
245
+ * The size the FAB should have.
246
+ */
247
+ size: {
248
+ type: PropType<"condensed" | "normal" | "expanded">;
249
+ default: undefined;
250
+ };
251
+ /**
252
+ * Indicates the fab's label.
253
+ */
254
+ label: {
255
+ type: PropType<string>;
256
+ default: undefined;
257
+ };
215
258
  /**
216
259
  * Determines if the element should receive document focus on page load.
217
260
  */
@@ -247,13 +290,6 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
247
290
  type: PropType<string>;
248
291
  default: undefined;
249
292
  };
250
- /**
251
- * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
252
- */
253
- formnovalidate: {
254
- type: PropType<boolean>;
255
- default: undefined;
256
- };
257
293
  /**
258
294
  * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.
259
295
  */
@@ -268,27 +304,6 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
268
304
  type: PropType<"submit" | "reset" | "button">;
269
305
  default: undefined;
270
306
  };
271
- /**
272
- * The connotation the fab should have.
273
- */
274
- connotation: {
275
- type: PropType<"cta" | "accent" | "announcement">;
276
- default: undefined;
277
- };
278
- /**
279
- * The size the FAB should have.
280
- */
281
- size: {
282
- type: PropType<"condensed" | "normal" | "expanded">;
283
- default: undefined;
284
- };
285
- /**
286
- * Indicates the fab's label.
287
- */
288
- label: {
289
- type: PropType<string>;
290
- default: undefined;
291
- };
292
307
  }>>, {
293
308
  name: string;
294
309
  ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
@@ -302,12 +317,12 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
302
317
  initialValue: string;
303
318
  required: boolean;
304
319
  autofocus: boolean;
320
+ formnovalidate: boolean;
321
+ label: string;
305
322
  form: string;
306
323
  formaction: string;
307
324
  formenctype: string;
308
325
  formmethod: string;
309
- formnovalidate: boolean;
310
326
  formtarget: "_self" | "_blank" | "_parent" | "_top";
311
- label: string;
312
327
  }>;
313
328
  export default _default;