@abgov/react-components 6.10.0-dev.8 → 6.10.0-next.1

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 (67) hide show
  1. package/experimental.js +1 -1
  2. package/experimental.mjs +2 -2
  3. package/{icon-CK55b563.js → icon-B3p90m2x.js} +21 -26
  4. package/icon-B3p90m2x.js.map +1 -0
  5. package/{icon-CoYGOp1V.mjs → icon-CCNDGfBO.mjs} +22 -27
  6. package/icon-CCNDGfBO.mjs.map +1 -0
  7. package/index.d.ts +1 -0
  8. package/index.js +331 -755
  9. package/index.js.map +1 -1
  10. package/index.mjs +330 -753
  11. package/index.mjs.map +1 -1
  12. package/lib/accordion/accordion.d.ts +6 -5
  13. package/lib/app-header/app-header.d.ts +6 -4
  14. package/lib/app-header-menu/app-header-menu.d.ts +3 -3
  15. package/lib/badge/badge.d.ts +3 -3
  16. package/lib/block/block.d.ts +3 -3
  17. package/lib/button/button.d.ts +6 -5
  18. package/lib/button-group/button-group.d.ts +3 -3
  19. package/lib/calendar/calendar.d.ts +6 -5
  20. package/lib/callout/callout.d.ts +3 -3
  21. package/lib/card/card-actions.d.ts +3 -2
  22. package/lib/card/card-content.d.ts +3 -2
  23. package/lib/card/card-group.d.ts +3 -2
  24. package/lib/card/card-image.d.ts +3 -2
  25. package/lib/card/card.d.ts +3 -3
  26. package/lib/checkbox/checkbox.d.ts +6 -5
  27. package/lib/chip/chip.d.ts +6 -5
  28. package/lib/common/extract-props.d.ts +32 -0
  29. package/lib/container/container.d.ts +7 -3
  30. package/lib/data-grid/data-grid.d.ts +21 -0
  31. package/lib/date-picker/date-picker.d.ts +6 -5
  32. package/lib/details/details.d.ts +3 -3
  33. package/lib/dropdown/dropdown.d.ts +6 -5
  34. package/lib/file-upload-card/file-upload-card.d.ts +6 -5
  35. package/lib/file-upload-input/file-upload-input.d.ts +6 -5
  36. package/lib/filter-chip/filter-chip.d.ts +6 -5
  37. package/lib/footer/footer.d.ts +3 -2
  38. package/lib/footer-meta-section/footer-meta-section.d.ts +3 -2
  39. package/lib/footer-nav-section/footer-nav-section.d.ts +3 -2
  40. package/lib/form/fieldset.d.ts +7 -6
  41. package/lib/form/public-form-page.d.ts +6 -5
  42. package/lib/form/public-form-summary.d.ts +3 -3
  43. package/lib/form/public-form.d.ts +6 -5
  44. package/lib/form/public-subform-index.d.ts +3 -4
  45. package/lib/form/public-subform.d.ts +6 -5
  46. package/lib/form/task-list.d.ts +3 -3
  47. package/lib/form/task.d.ts +4 -4
  48. package/lib/form-item/form-item.d.ts +3 -3
  49. package/lib/icon/icon.d.ts +3 -14
  50. package/lib/icon-button/icon-button.d.ts +6 -5
  51. package/lib/input/input.d.ts +6 -5
  52. package/lib/link/link.d.ts +3 -3
  53. package/lib/link-button/link-button.d.ts +3 -3
  54. package/lib/menu-button/menu-action.d.ts +3 -3
  55. package/lib/menu-button/menu-button.d.ts +3 -3
  56. package/lib/popover/popover.d.ts +3 -3
  57. package/lib/radio-group/radio-group.d.ts +6 -5
  58. package/lib/tab/tab.d.ts +3 -1
  59. package/lib/table/table-sort-header.d.ts +3 -3
  60. package/lib/tabs/tabs.d.ts +4 -2
  61. package/lib/temporary-notification-ctrl/temporary-notification-ctrl.d.ts +6 -5
  62. package/lib/text/text.d.ts +3 -3
  63. package/lib/textarea/textarea.d.ts +6 -5
  64. package/lib/tooltip/tooltip.d.ts +3 -3
  65. package/package.json +1 -1
  66. package/icon-CK55b563.js.map +0 -1
  67. package/icon-CoYGOp1V.mjs.map +0 -1
package/index.mjs CHANGED
@@ -10,30 +10,23 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
10
10
  var _PublicFormController_instances, updateObjectListState_fn, dispatchError_fn;
11
11
  import { jsxs, jsx } from "react/jsx-runtime";
12
12
  import { useRef, useEffect, useLayoutEffect, useState, useCallback } from "react";
13
- import { G, a } from "./icon-CoYGOp1V.mjs";
13
+ import { t as transformProps, l as lowercase, k as kebab } from "./icon-CCNDGfBO.mjs";
14
+ import { G, a } from "./icon-CCNDGfBO.mjs";
14
15
  function GoabAccordion({
15
16
  open,
16
- heading,
17
- headingSize,
18
- secondaryText,
19
- headingContent,
20
- iconPosition,
21
- maxWidth,
22
- testId,
23
17
  onChange,
18
+ headingContent,
24
19
  children,
25
- mt,
26
- mr,
27
- mb,
28
- ml
20
+ ...rest
29
21
  }) {
30
22
  const ref = useRef(null);
23
+ const _props = transformProps(rest, lowercase);
31
24
  useEffect(() => {
32
25
  const element = ref.current;
33
26
  if (element && onChange) {
34
27
  const handler = (event) => {
35
28
  const customEvent = event;
36
- onChange(customEvent.detail.open);
29
+ onChange == null ? void 0 : onChange(customEvent.detail.open);
37
30
  };
38
31
  element.addEventListener("_change", handler);
39
32
  return () => {
@@ -46,16 +39,7 @@ function GoabAccordion({
46
39
  {
47
40
  ref,
48
41
  open: open ? "true" : void 0,
49
- headingsize: headingSize,
50
- heading,
51
- secondarytext: secondaryText,
52
- iconposition: iconPosition,
53
- maxwidth: maxWidth,
54
- testid: testId,
55
- mt,
56
- mr,
57
- mb,
58
- ml,
42
+ ..._props,
59
43
  children: [
60
44
  headingContent && /* @__PURE__ */ jsx("div", { slot: "headingcontent", children: headingContent }),
61
45
  children
@@ -64,15 +48,12 @@ function GoabAccordion({
64
48
  );
65
49
  }
66
50
  function GoabAppHeader({
67
- heading,
68
- url,
69
- maxContentWidth,
70
- fullMenuBreakpoint,
71
- testId,
51
+ onMenuClick,
72
52
  children,
73
- onMenuClick
53
+ ...rest
74
54
  }) {
75
55
  const el = useRef(null);
56
+ const _props = transformProps(rest, lowercase);
76
57
  useEffect(() => {
77
58
  if (!el.current) {
78
59
  return;
@@ -82,7 +63,7 @@ function GoabAppHeader({
82
63
  }
83
64
  const current = el.current;
84
65
  const listener = () => {
85
- onMenuClick();
66
+ onMenuClick == null ? void 0 : onMenuClick();
86
67
  };
87
68
  current.addEventListener("_menuClick", listener);
88
69
  return () => {
@@ -93,26 +74,18 @@ function GoabAppHeader({
93
74
  "goa-app-header",
94
75
  {
95
76
  ref: el,
96
- heading,
97
- url,
98
- fullmenubreakpoint: fullMenuBreakpoint,
99
- maxcontentwidth: maxContentWidth,
100
- testid: testId,
101
77
  hasmenuclickhandler: onMenuClick ? "true" : "false",
78
+ ..._props,
102
79
  children
103
80
  }
104
81
  );
105
82
  }
106
- function GoabAppHeaderMenu(props) {
107
- return /* @__PURE__ */ jsx(
108
- "goa-app-header-menu",
109
- {
110
- heading: props.heading,
111
- leadingicon: props.leadingIcon,
112
- testid: props.testId,
113
- children: props.children
114
- }
115
- );
83
+ function GoabAppHeaderMenu({
84
+ children,
85
+ ...rest
86
+ }) {
87
+ const _props = transformProps(rest, lowercase);
88
+ return /* @__PURE__ */ jsx("goa-app-header-menu", { ..._props, children });
116
89
  }
117
90
  function getIconValue(icon, iconType) {
118
91
  if (icon !== void 0) {
@@ -121,30 +94,17 @@ function getIconValue(icon, iconType) {
121
94
  return iconType ? "true" : "false";
122
95
  }
123
96
  function GoabBadge({
124
- type,
125
- content,
126
97
  icon,
127
- testId,
128
- mt,
129
- mr,
130
- mb,
131
- ml,
132
- ariaLabel,
133
- iconType
98
+ iconType,
99
+ ...rest
134
100
  }) {
101
+ const _props = transformProps(rest, lowercase);
135
102
  return /* @__PURE__ */ jsx(
136
103
  "goa-badge",
137
104
  {
138
- type,
139
- content,
140
105
  icon: getIconValue(icon, iconType),
141
- testid: testId,
142
- arialabel: ariaLabel,
143
106
  icontype: iconType,
144
- mt,
145
- mr,
146
- mb,
147
- ml
107
+ ..._props
148
108
  }
149
109
  );
150
110
  }
@@ -248,45 +208,27 @@ function GoabEmergencyBadge({
248
208
  }
249
209
  );
250
210
  }
251
- function GoabBlock(props) {
252
- return /* @__PURE__ */ jsx(
253
- "goa-block",
254
- {
255
- gap: props.gap,
256
- direction: props.direction,
257
- alignment: props.alignment,
258
- width: props.width,
259
- "min-width": props.minWidth,
260
- "max-width": props.maxWidth,
261
- mt: props.mt,
262
- mr: props.mr,
263
- mb: props.mb,
264
- ml: props.ml,
265
- testid: props.testId,
266
- children: props.children
267
- }
211
+ function GoabBlock({
212
+ testId,
213
+ children,
214
+ ...rest
215
+ }) {
216
+ const _props = transformProps(
217
+ { testid: testId, ...rest },
218
+ kebab
268
219
  );
220
+ return /* @__PURE__ */ jsx("goa-block", { ..._props, children });
269
221
  }
270
222
  function GoabButton({
271
223
  disabled,
272
- type,
273
- size,
274
- variant,
275
- leadingIcon,
276
- trailingIcon,
277
- width,
278
- testId,
279
- children,
280
224
  onClick,
281
- mt,
282
- mr,
283
- mb,
284
- ml,
285
- action,
286
225
  actionArgs,
287
- actionArg
226
+ actionArg,
227
+ children,
228
+ ...rest
288
229
  }) {
289
230
  const el = useRef(null);
231
+ const _props = transformProps(rest, lowercase);
290
232
  useEffect(() => {
291
233
  if (!el.current) {
292
234
  return;
@@ -296,7 +238,7 @@ function GoabButton({
296
238
  }
297
239
  const current = el.current;
298
240
  const listener = () => {
299
- onClick();
241
+ onClick == null ? void 0 : onClick();
300
242
  };
301
243
  current.addEventListener("_click", listener);
302
244
  return () => {
@@ -307,62 +249,30 @@ function GoabButton({
307
249
  "goa-button",
308
250
  {
309
251
  ref: el,
310
- type,
311
- size,
312
- variant,
313
252
  disabled: disabled ? "true" : void 0,
314
- leadingicon: leadingIcon,
315
- trailingicon: trailingIcon,
316
- width,
317
- testid: testId,
318
- action,
319
253
  "action-arg": actionArg,
320
254
  "action-args": JSON.stringify(actionArgs),
321
- mt,
322
- mr,
323
- mb,
324
- ml,
255
+ ..._props,
325
256
  children
326
257
  }
327
258
  );
328
259
  }
329
260
  function GoabButtonGroup({
330
- alignment,
331
- gap,
332
- testId,
333
261
  children,
334
- mt,
335
- mr,
336
- mb,
337
- ml
262
+ ...rest
338
263
  }) {
339
- return /* @__PURE__ */ jsx(
340
- "goa-button-group",
341
- {
342
- alignment,
343
- gap,
344
- mt,
345
- mr,
346
- mb,
347
- ml,
348
- testid: testId,
349
- children
350
- }
351
- );
264
+ const _props = transformProps(rest, lowercase);
265
+ return /* @__PURE__ */ jsx("goa-button-group", { ..._props, children });
352
266
  }
353
267
  function GoabCalendar({
354
- name,
355
- value,
356
268
  min,
357
269
  max,
358
- testId,
359
- mt,
360
- mr,
361
- mb,
362
- ml,
363
- onChange
270
+ onChange,
271
+ name,
272
+ ...rest
364
273
  }) {
365
274
  const ref = useRef(null);
275
+ const _props = transformProps(rest, lowercase);
366
276
  useEffect(() => {
367
277
  if (!ref.current) {
368
278
  return;
@@ -384,72 +294,41 @@ function GoabCalendar({
384
294
  {
385
295
  ref,
386
296
  name,
387
- value,
388
297
  min: min || void 0,
389
298
  max: max || void 0,
390
- testid: testId,
391
- mt,
392
- mr,
393
- mb,
394
- ml
299
+ ..._props
395
300
  }
396
301
  );
397
302
  }
398
303
  const GoabCallout = ({
399
- heading,
400
304
  type = "information",
401
305
  iconTheme = "outline",
402
306
  size = "large",
403
- maxWidth,
404
- testId,
405
307
  ariaLive = "off",
406
308
  children,
407
- mt,
408
- mr,
409
- mb,
410
- ml
309
+ ...rest
411
310
  }) => {
412
- return /* @__PURE__ */ jsx(
413
- "goa-callout",
414
- {
415
- heading,
416
- type,
417
- size,
418
- maxwidth: maxWidth,
419
- arialive: ariaLive,
420
- icontheme: iconTheme,
421
- mt,
422
- mr,
423
- mb,
424
- ml,
425
- testid: testId,
426
- children
427
- }
311
+ const _props = transformProps(
312
+ { type, icontheme: iconTheme, size, arialive: ariaLive, ...rest },
313
+ lowercase
428
314
  );
315
+ return /* @__PURE__ */ jsx("goa-callout", { ..._props, children });
429
316
  };
430
317
  function GoabCheckbox({
431
- id,
432
- name,
433
- testId,
434
318
  error,
435
- disabled,
436
319
  checked,
437
320
  indeterminate,
321
+ disabled,
438
322
  value,
439
- text,
440
323
  description,
441
324
  reveal,
442
- revealAriaLabel,
443
- maxWidth,
444
- children,
445
325
  onChange,
446
- ariaLabel,
447
- mt,
448
- mr,
449
- mb,
450
- ml
326
+ name,
327
+ children,
328
+ ...rest
451
329
  }) {
452
330
  const el = useRef(null);
331
+ const _props = transformProps(rest, lowercase);
453
332
  useEffect(() => {
454
333
  if (!el.current) {
455
334
  return;
@@ -457,7 +336,7 @@ function GoabCheckbox({
457
336
  const current = el.current;
458
337
  const listener = (e) => {
459
338
  const detail = e.detail;
460
- onChange == null ? void 0 : onChange(detail);
339
+ onChange == null ? void 0 : onChange({ ...detail, event: e });
461
340
  };
462
341
  current.addEventListener("_change", listener);
463
342
  return () => {
@@ -467,24 +346,15 @@ function GoabCheckbox({
467
346
  return /* @__PURE__ */ jsxs(
468
347
  "goa-checkbox",
469
348
  {
470
- testid: testId,
471
349
  ref: el,
472
- id,
350
+ ..._props,
473
351
  name,
474
352
  error: error ? "true" : void 0,
475
353
  checked: checked ? "true" : void 0,
476
354
  indeterminate: indeterminate ? "true" : void 0,
477
355
  disabled: disabled ? "true" : void 0,
478
- text,
479
356
  value: typeof value === "boolean" ? value ? "true" : void 0 : value,
480
- arialabel: ariaLabel,
481
- revealarialabel: revealAriaLabel,
482
357
  description: typeof description === "string" ? description : void 0,
483
- maxwidth: maxWidth,
484
- mt,
485
- mr,
486
- mb,
487
- ml,
488
358
  children: [
489
359
  children,
490
360
  typeof description !== "string" && description && /* @__PURE__ */ jsx("div", { slot: "description", children: description }),
@@ -514,7 +384,7 @@ function GoabCheckboxList({
514
384
  const listener = (e) => {
515
385
  try {
516
386
  const detail = e.detail;
517
- onChange == null ? void 0 : onChange(detail);
387
+ onChange == null ? void 0 : onChange({ ...detail, event: e });
518
388
  } catch (error2) {
519
389
  console.error("Error handling checkbox list change:", error2);
520
390
  }
@@ -551,26 +421,19 @@ function GoabCheckboxList({
551
421
  );
552
422
  }
553
423
  const GoabChip = ({
554
- leadingIcon,
555
- iconTheme,
556
- deletable,
557
424
  error,
558
- variant,
559
- content,
425
+ deletable,
560
426
  onClick,
561
- mt,
562
- mr,
563
- mb,
564
- ml,
565
- testId
427
+ ...rest
566
428
  }) => {
567
429
  const el = useRef(null);
430
+ const _props = transformProps(rest, lowercase);
568
431
  useEffect(() => {
569
432
  if (!el.current) return;
570
433
  if (!onClick) return;
571
434
  const current = el.current;
572
435
  const listener = () => {
573
- onClick();
436
+ onClick == null ? void 0 : onClick();
574
437
  };
575
438
  current.addEventListener("_click", listener);
576
439
  return () => {
@@ -581,17 +444,9 @@ const GoabChip = ({
581
444
  "goa-chip",
582
445
  {
583
446
  ref: el,
584
- leadingicon: leadingIcon,
585
- icontheme: iconTheme,
586
447
  error: error ? "true" : void 0,
587
448
  deletable: deletable ? "true" : void 0,
588
- content,
589
- variant,
590
- mt,
591
- mr,
592
- mb,
593
- ml,
594
- testid: testId
449
+ ..._props
595
450
  }
596
451
  );
597
452
  };
@@ -616,61 +471,48 @@ const GoabCircularProgress = ({
616
471
  );
617
472
  };
618
473
  function GoabContainer({
619
- accent,
620
474
  heading,
621
475
  title,
622
- padding,
623
- children,
624
476
  actions,
625
- type,
626
- width,
627
- maxWidth,
628
- mt,
629
- mr,
630
- mb,
631
- ml,
632
- testId
477
+ children,
478
+ ...rest
633
479
  }) {
480
+ const _props = transformProps(rest, lowercase);
634
481
  const headingContent = heading || title;
635
- return /* @__PURE__ */ jsxs(
636
- "goa-container",
482
+ return /* @__PURE__ */ jsxs("goa-container", { ..._props, children: [
483
+ headingContent && /* @__PURE__ */ jsx("div", { slot: "title", children: headingContent }),
484
+ children,
485
+ actions && /* @__PURE__ */ jsx("div", { slot: "actions", children: actions })
486
+ ] });
487
+ }
488
+ function GoabDataGrid({
489
+ keyboardIconVisibility = "visible",
490
+ keyboardIconPosition = "left",
491
+ keyboardNav,
492
+ children
493
+ }) {
494
+ return /* @__PURE__ */ jsx(
495
+ "goa-data-grid",
637
496
  {
638
- type,
639
- padding,
640
- accent,
641
- width,
642
- maxwidth: maxWidth,
643
- mt,
644
- mr,
645
- mb,
646
- ml,
647
- testid: testId,
648
- children: [
649
- headingContent && /* @__PURE__ */ jsx("div", { slot: "title", children: headingContent }),
650
- children,
651
- actions && /* @__PURE__ */ jsx("div", { slot: "actions", children: actions })
652
- ]
497
+ "keyboard-icon-visibility": keyboardIconVisibility,
498
+ "keyboard-icon-position": keyboardIconPosition,
499
+ "keyboard-nav": keyboardNav,
500
+ children
653
501
  }
654
502
  );
655
503
  }
656
504
  function GoabDatePicker({
657
- name,
658
505
  value,
659
506
  error,
660
507
  min,
661
508
  max,
662
- testId,
663
509
  disabled,
664
- type,
665
- mt,
666
- mr,
667
- mb,
668
- ml,
669
510
  relative,
670
- width,
671
- onChange
511
+ onChange,
512
+ ...rest
672
513
  }) {
673
514
  const ref = useRef(null);
515
+ const _props = transformProps(rest, lowercase);
674
516
  useEffect(() => {
675
517
  if (value && typeof value !== "string") {
676
518
  console.warn("Using a `Date` type for value is deprecated. Instead use a string of the format `yyyy-mm-dd`");
@@ -683,7 +525,7 @@ function GoabDatePicker({
683
525
  const current = ref.current;
684
526
  const handleChange = (e) => {
685
527
  const detail = e.detail;
686
- onChange == null ? void 0 : onChange(detail);
528
+ onChange == null ? void 0 : onChange({ ...detail, event: e });
687
529
  };
688
530
  if (onChange) {
689
531
  current.addEventListener("_change", handleChange);
@@ -694,47 +536,39 @@ function GoabDatePicker({
694
536
  }
695
537
  };
696
538
  }, [onChange]);
697
- const formatValue = (value2) => {
698
- if (!value2) return "";
699
- if (value2 instanceof Date) {
700
- return value2.toISOString();
539
+ const formatValue = (val) => {
540
+ if (!val) return "";
541
+ if (val instanceof Date) {
542
+ return val.toISOString();
701
543
  }
702
- return value2;
544
+ return val;
703
545
  };
704
546
  return /* @__PURE__ */ jsx(
705
547
  "goa-date-picker",
706
548
  {
707
549
  ref,
708
- name,
709
550
  value: formatValue(value) || void 0,
710
- type,
711
551
  error: error ? "true" : void 0,
712
552
  disabled: disabled ? "true" : void 0,
713
553
  min: formatValue(min) || void 0,
714
554
  max: formatValue(max) || void 0,
715
- testid: testId,
716
- mt,
717
- mr,
718
- mb,
719
- ml,
720
555
  relative: relative ? "true" : void 0,
721
- width
556
+ ..._props
722
557
  }
723
558
  );
724
559
  }
725
- function GoabDetails(props) {
560
+ function GoabDetails({
561
+ open,
562
+ children,
563
+ ...rest
564
+ }) {
565
+ const _props = transformProps(rest, lowercase);
726
566
  return /* @__PURE__ */ jsx(
727
567
  "goa-details",
728
568
  {
729
- heading: props.heading,
730
- open: props.open ? "true" : void 0,
731
- maxwidth: props.maxWidth,
732
- testid: props.testId,
733
- mt: props.mt,
734
- mr: props.mr,
735
- mb: props.mb,
736
- ml: props.ml,
737
- children: props.children
569
+ open: open ? "true" : void 0,
570
+ ..._props,
571
+ children
738
572
  }
739
573
  );
740
574
  }
@@ -759,54 +593,51 @@ function stringify(value) {
759
593
  }
760
594
  return JSON.stringify(value);
761
595
  }
762
- function GoabDropdown(props) {
596
+ function GoabDropdown({
597
+ value,
598
+ onChange,
599
+ disabled,
600
+ error,
601
+ filterable,
602
+ multiselect,
603
+ native,
604
+ relative,
605
+ children,
606
+ ...rest
607
+ }) {
763
608
  const el = useRef(null);
609
+ const _props = transformProps(rest, lowercase);
764
610
  useEffect(() => {
765
611
  if (!el.current) {
766
612
  return;
767
613
  }
768
614
  const current = el.current;
769
615
  const handler = (e) => {
770
- var _a;
771
616
  const detail = e.detail;
772
- (_a = props.onChange) == null ? void 0 : _a.call(props, detail);
617
+ onChange == null ? void 0 : onChange({ ...detail, event: e });
773
618
  };
774
- if (props.onChange) {
619
+ if (onChange) {
775
620
  current.addEventListener("_change", handler);
776
621
  }
777
622
  return () => {
778
- if (props.onChange) {
623
+ if (onChange) {
779
624
  current.removeEventListener("_change", handler);
780
625
  }
781
626
  };
782
- }, [el, props]);
627
+ }, [el, onChange]);
783
628
  return /* @__PURE__ */ jsx(
784
629
  "goa-dropdown",
785
630
  {
786
631
  ref: el,
787
- name: props.name,
788
- value: stringify(props.value),
789
- arialabel: props.ariaLabel,
790
- arialabelledby: props.ariaLabelledBy,
791
- disabled: props.disabled ? "true" : void 0,
792
- error: props.error ? "true" : void 0,
793
- filterable: props.filterable ? "true" : void 0,
794
- leadingicon: props.leadingIcon,
795
- maxheight: props.maxHeight,
796
- mb: props.mb,
797
- ml: props.ml,
798
- mr: props.mr,
799
- mt: props.mt,
800
- multiselect: props.multiselect ? "true" : void 0,
801
- native: props.native ? "true" : void 0,
802
- placeholder: props.placeholder,
803
- testid: props.testId,
804
- width: props.width,
805
- maxwidth: props.maxWidth,
806
- relative: props.relative ? "true" : void 0,
807
- autocomplete: props.autoComplete,
808
- id: props.id,
809
- children: props.children
632
+ value: stringify(value),
633
+ disabled: disabled ? "true" : void 0,
634
+ error: error ? "true" : void 0,
635
+ filterable: filterable ? "true" : void 0,
636
+ multiselect: multiselect ? "true" : void 0,
637
+ native: native ? "true" : void 0,
638
+ relative: relative ? "true" : void 0,
639
+ ..._props,
640
+ children
810
641
  }
811
642
  );
812
643
  }
@@ -835,111 +666,75 @@ function GoabDropdownItem({
835
666
  );
836
667
  }
837
668
  function GoabFileUploadCard({
838
- filename,
839
- size,
840
- type,
841
- progress,
842
- error,
843
- testId,
844
669
  onDelete,
845
- onCancel
670
+ onCancel,
671
+ filename,
672
+ ...rest
846
673
  }) {
847
674
  const el = useRef(null);
675
+ const _props = transformProps({ filename, ...rest }, lowercase);
848
676
  useEffect(() => {
849
677
  if (!el.current) return;
850
678
  const current = el.current;
851
- const deleteHandler = () => onDelete == null ? void 0 : onDelete({ filename });
852
- const cancelHandler = () => onCancel == null ? void 0 : onCancel({ filename });
679
+ const deleteHandler = (event) => onDelete == null ? void 0 : onDelete({ filename, event });
680
+ const cancelHandler = (event) => onCancel == null ? void 0 : onCancel({ filename, event });
853
681
  current.addEventListener("_delete", deleteHandler);
854
682
  current.addEventListener("_cancel", cancelHandler);
855
683
  return () => {
856
684
  current.removeEventListener("_delete", deleteHandler);
857
685
  current.removeEventListener("_cancel", cancelHandler);
858
686
  };
859
- }, [el, onDelete, onCancel]);
860
- return /* @__PURE__ */ jsx(
861
- "goa-file-upload-card",
862
- {
863
- ref: el,
864
- filename,
865
- size,
866
- type,
867
- progress,
868
- error,
869
- testid: testId
870
- }
871
- );
687
+ }, [el, onDelete, onCancel, filename]);
688
+ return /* @__PURE__ */ jsx("goa-file-upload-card", { ref: el, ..._props });
872
689
  }
873
690
  function GoabFileUploadInput({
874
- variant,
875
- accept,
876
- maxFileSize,
877
- testId,
878
- onSelectFile
691
+ onSelectFile,
692
+ ...rest
879
693
  }) {
880
694
  const el = useRef(null);
695
+ const _props = transformProps(rest, lowercase);
881
696
  useEffect(() => {
882
697
  if (!el.current) return;
883
698
  const current = el.current;
884
699
  const handler = (e) => {
885
700
  const detail = e.detail;
886
- onSelectFile(detail);
701
+ onSelectFile({ ...detail, event: e });
887
702
  };
888
703
  current.addEventListener("_selectFile", handler);
889
704
  return () => {
890
705
  current.removeEventListener("_selectFile", handler);
891
706
  };
892
707
  }, [el, onSelectFile]);
893
- return /* @__PURE__ */ jsx(
894
- "goa-file-upload-input",
895
- {
896
- ref: el,
897
- variant,
898
- accept,
899
- maxfilesize: maxFileSize,
900
- testid: testId
901
- }
902
- );
708
+ return /* @__PURE__ */ jsx("goa-file-upload-input", { ref: el, ..._props });
903
709
  }
904
710
  function GoabAppFooter({
905
- maxContentWidth,
906
711
  children,
907
- testId,
908
- url
712
+ ...rest
909
713
  }) {
910
- return /* @__PURE__ */ jsx("goa-app-footer", { maxcontentwidth: maxContentWidth, testid: testId, url, children });
714
+ const _props = transformProps(rest, lowercase);
715
+ return /* @__PURE__ */ jsx("goa-app-footer", { ..._props, children });
911
716
  }
912
717
  function GoabAppFooterMetaSection({
913
- testId,
914
- children
718
+ children,
719
+ ...rest
915
720
  }) {
916
- return /* @__PURE__ */ jsx("goa-app-footer-meta-section", { testid: testId, slot: "meta", children });
721
+ const _props = transformProps(rest, lowercase);
722
+ return /* @__PURE__ */ jsx("goa-app-footer-meta-section", { slot: "meta", ..._props, children });
917
723
  }
918
724
  function GoabAppFooterNavSection({
919
- heading,
920
- maxColumnCount = 1,
921
- testId,
922
- children
725
+ children,
726
+ ...rest
923
727
  }) {
924
- return /* @__PURE__ */ jsx(
925
- "goa-app-footer-nav-section",
926
- {
927
- slot: "nav",
928
- heading,
929
- maxcolumncount: maxColumnCount,
930
- testid: testId,
931
- children
932
- }
933
- );
728
+ const _props = transformProps(rest, lowercase);
729
+ return /* @__PURE__ */ jsx("goa-app-footer-nav-section", { slot: "nav", ..._props, children });
934
730
  }
935
731
  function GoabFieldset({
936
- id,
937
- sectionTitle,
938
- dispatchOn,
939
732
  onContinue,
940
- children
733
+ children,
734
+ ...rest
941
735
  }) {
942
736
  const ref = useRef(null);
737
+ const _props = transformProps(rest, kebab);
943
738
  useEffect(() => {
944
739
  if (!ref.current) return;
945
740
  const current = ref.current;
@@ -956,35 +751,15 @@ function GoabFieldset({
956
751
  }
957
752
  };
958
753
  }, [ref, onContinue]);
959
- return /* @__PURE__ */ jsx(
960
- "goa-fieldset",
961
- {
962
- ref,
963
- id,
964
- "section-title": sectionTitle,
965
- "dispatch-on": dispatchOn,
966
- children
967
- }
968
- );
754
+ return /* @__PURE__ */ jsx("goa-fieldset", { ref, ..._props, children });
969
755
  }
970
756
  function GoabPublicFormPage({
971
- id = "",
972
- heading = "",
973
- subHeading = "",
974
- summaryHeading = "",
975
- sectionTitle = "",
976
- backUrl = "",
977
- type = "step",
978
- buttonText = "",
979
- buttonVisibility = "visible",
980
757
  onContinue,
981
758
  children,
982
- mt,
983
- mr,
984
- mb,
985
- ml
759
+ ...rest
986
760
  }) {
987
761
  const ref = useRef(null);
762
+ const _props = transformProps(rest, kebab);
988
763
  useEffect(() => {
989
764
  if (!ref.current) return;
990
765
  const current = ref.current;
@@ -1000,49 +775,28 @@ function GoabPublicFormPage({
1000
775
  }
1001
776
  };
1002
777
  }, [ref, onContinue]);
1003
- return /* @__PURE__ */ jsx(
1004
- "goa-public-form-page",
1005
- {
1006
- ref,
1007
- id,
1008
- heading,
1009
- "sub-heading": subHeading,
1010
- "section-title": sectionTitle,
1011
- "back-url": backUrl,
1012
- type,
1013
- "button-text": buttonText,
1014
- "button-visibility": buttonVisibility,
1015
- "summary-heading": summaryHeading,
1016
- mt,
1017
- mr,
1018
- mb,
1019
- ml,
1020
- children
1021
- }
1022
- );
778
+ return /* @__PURE__ */ jsx("goa-public-form-page", { ref, ..._props, children });
1023
779
  }
1024
780
  function GoabPublicFormSummary({
1025
- heading = ""
781
+ heading = "",
782
+ ...rest
1026
783
  }) {
1027
- const ref = useRef(null);
1028
- return /* @__PURE__ */ jsx(
1029
- "goa-public-form-summary",
1030
- {
1031
- ref,
1032
- heading
1033
- }
784
+ const _props = transformProps(
785
+ { heading, ...rest },
786
+ lowercase
1034
787
  );
788
+ return /* @__PURE__ */ jsx("goa-public-form-summary", { ..._props });
1035
789
  }
1036
790
  function GoabPublicForm({
1037
- status = "complete",
1038
- name,
1039
791
  onInit,
1040
792
  onComplete,
1041
793
  onStateChange,
1042
- children
794
+ children,
795
+ ...rest
1043
796
  }) {
1044
797
  const ref = useRef(null);
1045
798
  const initialized = useRef(false);
799
+ const _props = transformProps(rest, lowercase);
1046
800
  useLayoutEffect(() => {
1047
801
  if (!ref.current) return;
1048
802
  const current = ref.current;
@@ -1078,15 +832,7 @@ function GoabPublicForm({
1078
832
  }
1079
833
  };
1080
834
  }, [onInit, onComplete, onStateChange]);
1081
- return /* @__PURE__ */ jsx(
1082
- "goa-public-form",
1083
- {
1084
- ref,
1085
- status,
1086
- name,
1087
- children
1088
- }
1089
- );
835
+ return /* @__PURE__ */ jsx("goa-public-form", { ref, ..._props, children });
1090
836
  }
1091
837
  function GoabPublicSubform({
1092
838
  id = "",
@@ -1095,12 +841,13 @@ function GoabPublicSubform({
1095
841
  onInit,
1096
842
  onStateChange,
1097
843
  children,
1098
- mt,
1099
- mr,
1100
- mb,
1101
- ml
844
+ ...rest
1102
845
  }) {
1103
846
  const ref = useRef(null);
847
+ const _props = transformProps(
848
+ { id, name, "continue-msg": continueMsg, ...rest },
849
+ kebab
850
+ );
1104
851
  useEffect(() => {
1105
852
  if (!ref.current) return;
1106
853
  const current = ref.current;
@@ -1125,20 +872,7 @@ function GoabPublicSubform({
1125
872
  }
1126
873
  };
1127
874
  }, [ref, onInit, onStateChange]);
1128
- return /* @__PURE__ */ jsx(
1129
- "goa-public-subform",
1130
- {
1131
- ref,
1132
- id,
1133
- name,
1134
- "continue-msg": continueMsg,
1135
- mt,
1136
- mr,
1137
- mb,
1138
- ml,
1139
- children
1140
- }
1141
- );
875
+ return /* @__PURE__ */ jsx("goa-public-subform", { ref, ..._props, children });
1142
876
  }
1143
877
  function GoabPublicSubformIndex({
1144
878
  heading = "",
@@ -1146,86 +880,47 @@ function GoabPublicSubformIndex({
1146
880
  actionButtonText = "",
1147
881
  buttonVisibility = "hidden",
1148
882
  children,
1149
- mt,
1150
- mr,
1151
- mb,
1152
- ml
883
+ ...rest
1153
884
  }) {
1154
- const ref = useRef(null);
1155
- return /* @__PURE__ */ jsx(
1156
- "goa-public-subform-index",
1157
- {
1158
- ref,
1159
- heading,
1160
- "section-title": sectionTitle,
1161
- "action-button-text": actionButtonText,
1162
- "button-visibility": buttonVisibility,
1163
- slot: "subform-index",
1164
- mt,
1165
- mr,
1166
- mb,
1167
- ml,
1168
- children
1169
- }
885
+ const _props = transformProps(
886
+ { heading, "section-title": sectionTitle, "action-button-text": actionButtonText, "button-visibility": buttonVisibility, ...rest },
887
+ kebab
1170
888
  );
889
+ return /* @__PURE__ */ jsx("goa-public-subform-index", { slot: "subform-index", ..._props, children });
1171
890
  }
1172
- function GoabPublicFormTask({ status = "cannot-start", children }) {
1173
- return /* @__PURE__ */ jsx("goa-public-form-task", { status, children });
891
+ function GoabPublicFormTask({
892
+ status = "cannot-start",
893
+ children,
894
+ ...rest
895
+ }) {
896
+ const _props = transformProps(
897
+ { status, ...rest },
898
+ lowercase
899
+ );
900
+ return /* @__PURE__ */ jsx("goa-public-form-task", { ..._props, children });
1174
901
  }
1175
902
  function GoabPublicFormTaskList({
1176
- heading = "",
1177
903
  children,
1178
- mt,
1179
- mr,
1180
- mb,
1181
- ml
904
+ ...rest
1182
905
  }) {
1183
- return /* @__PURE__ */ jsx(
1184
- "goa-public-form-task-list",
1185
- {
1186
- heading,
1187
- mt,
1188
- mr,
1189
- mb,
1190
- ml,
1191
- children
1192
- }
1193
- );
906
+ const _props = transformProps(rest, lowercase);
907
+ return /* @__PURE__ */ jsx("goa-public-form-task-list", { ..._props, children });
1194
908
  }
1195
909
  function GoabFormItem({
1196
- children,
1197
- helpText,
1198
910
  error,
1199
- requirement,
1200
- label,
1201
- labelSize,
1202
- maxWidth,
911
+ helpText,
1203
912
  publicFormSummaryOrder,
1204
- name,
1205
- mt,
1206
- mr,
1207
- mb,
1208
- ml,
1209
- testId,
1210
- id
913
+ children,
914
+ ...rest
1211
915
  }) {
916
+ const _props = transformProps(rest, lowercase);
1212
917
  return /* @__PURE__ */ jsxs(
1213
918
  "goa-form-item",
1214
919
  {
1215
- label,
1216
- labelsize: labelSize,
1217
920
  error: typeof error === "string" ? error : void 0,
1218
- requirement,
1219
921
  helptext: typeof helpText === "string" ? helpText : void 0,
1220
- maxwidth: maxWidth,
1221
922
  "public-form-summary-order": publicFormSummaryOrder,
1222
- name,
1223
- mt,
1224
- mr,
1225
- mb,
1226
- ml,
1227
- testid: testId,
1228
- id,
923
+ ..._props,
1229
924
  children: [
1230
925
  error && typeof error !== "string" && /* @__PURE__ */ jsx("div", { slot: "error", children: error }),
1231
926
  helpText && typeof helpText !== "string" && /* @__PURE__ */ jsx("div", { slot: "helptext", children: helpText }),
@@ -1330,24 +1025,20 @@ function GoabHeroBannerActions({
1330
1025
  return /* @__PURE__ */ jsx("div", { slot: "actions", children });
1331
1026
  }
1332
1027
  function GoabIconButton({
1333
- icon,
1334
- disabled,
1335
1028
  variant = "color",
1336
- onClick,
1337
1029
  size = "medium",
1338
- title,
1339
- ariaLabel,
1340
- testId,
1341
- children,
1342
- mt,
1343
- mr,
1344
- mb,
1345
- ml,
1346
- action,
1030
+ disabled,
1031
+ onClick,
1347
1032
  actionArgs,
1348
- actionArg
1033
+ actionArg,
1034
+ children,
1035
+ ...rest
1349
1036
  }) {
1350
1037
  const ref = useRef(null);
1038
+ const _props = transformProps(
1039
+ { variant, size, ...rest },
1040
+ lowercase
1041
+ );
1351
1042
  useEffect(() => {
1352
1043
  if (!ref.current) {
1353
1044
  return;
@@ -1357,7 +1048,7 @@ function GoabIconButton({
1357
1048
  }
1358
1049
  const current = ref.current;
1359
1050
  const listener = () => {
1360
- onClick();
1051
+ onClick == null ? void 0 : onClick();
1361
1052
  };
1362
1053
  current.addEventListener("_click", listener);
1363
1054
  return () => {
@@ -1368,20 +1059,10 @@ function GoabIconButton({
1368
1059
  "goa-icon-button",
1369
1060
  {
1370
1061
  ref,
1371
- icon,
1372
1062
  disabled: disabled ? "true" : void 0,
1373
- variant,
1374
- size,
1375
- title,
1376
- arialabel: ariaLabel,
1377
- action,
1378
1063
  "action-arg": actionArg,
1379
1064
  "action-args": JSON.stringify(actionArgs),
1380
- mt,
1381
- mr,
1382
- mb,
1383
- ml,
1384
- testid: testId,
1065
+ ..._props,
1385
1066
  children
1386
1067
  }
1387
1068
  );
@@ -3057,45 +2738,23 @@ function validateTimezone(_hours, minutes) {
3057
2738
  return minutes >= 0 && minutes <= 59;
3058
2739
  }
3059
2740
  function GoabInput({
3060
- id,
3061
- debounce,
3062
- name,
3063
- type,
3064
- autoCapitalize,
3065
- autoComplete,
3066
- leadingIcon,
3067
- trailingIcon,
3068
2741
  variant = "goa",
2742
+ textAlign = "left",
3069
2743
  focused,
3070
2744
  disabled,
3071
2745
  readonly,
3072
- value,
3073
- placeholder,
3074
2746
  error,
3075
- width,
3076
- testId,
3077
- min,
3078
- max,
3079
- step,
3080
- prefix,
3081
- suffix,
3082
- ariaLabel,
3083
- mt,
3084
- mr,
3085
- mb,
3086
- ml,
3087
2747
  leadingContent,
3088
2748
  trailingContent,
3089
- maxLength,
3090
- trailingIconAriaLabel,
3091
- textAlign = "left",
3092
2749
  onTrailingIconClick,
3093
2750
  onChange,
3094
2751
  onFocus,
3095
2752
  onBlur,
3096
- onKeyPress
2753
+ onKeyPress,
2754
+ ...rest
3097
2755
  }) {
3098
2756
  const ref = useRef(null);
2757
+ const _props = transformProps({ variant, textalign: textAlign, ...rest }, lowercase);
3099
2758
  useEffect(() => {
3100
2759
  if (!ref.current) {
3101
2760
  return;
@@ -3103,22 +2762,22 @@ function GoabInput({
3103
2762
  const current = ref.current;
3104
2763
  const changeListener = (e) => {
3105
2764
  const detail = e.detail;
3106
- onChange == null ? void 0 : onChange(detail);
2765
+ onChange == null ? void 0 : onChange({ ...detail, event: e });
3107
2766
  };
3108
2767
  const clickListener = () => {
3109
2768
  onTrailingIconClick == null ? void 0 : onTrailingIconClick();
3110
2769
  };
3111
2770
  const focusListener = (e) => {
3112
2771
  const detail = e.detail;
3113
- onFocus == null ? void 0 : onFocus(detail);
2772
+ onFocus == null ? void 0 : onFocus({ ...detail, event: e });
3114
2773
  };
3115
2774
  const blurListener = (e) => {
3116
2775
  const detail = e.detail;
3117
- onBlur == null ? void 0 : onBlur(detail);
2776
+ onBlur == null ? void 0 : onBlur({ ...detail, event: e });
3118
2777
  };
3119
2778
  const keypressListener = (e) => {
3120
2779
  const detail = e.detail;
3121
- onKeyPress == null ? void 0 : onKeyPress(detail);
2780
+ onKeyPress == null ? void 0 : onKeyPress({ ...detail, event: e });
3122
2781
  };
3123
2782
  current.addEventListener("_change", changeListener);
3124
2783
  current.addEventListener("_trailingIconClick", clickListener);
@@ -3137,37 +2796,12 @@ function GoabInput({
3137
2796
  "goa-input",
3138
2797
  {
3139
2798
  ref,
3140
- debounce,
2799
+ ..._props,
3141
2800
  focused: focused ? "true" : void 0,
3142
- type,
3143
- name,
3144
- autocapitalize: autoCapitalize,
3145
- autocomplete: autoComplete,
3146
- id,
3147
- leadingicon: leadingIcon,
3148
- trailingicon: trailingIcon,
3149
- variant,
3150
2801
  disabled: disabled ? "true" : void 0,
3151
2802
  readonly: readonly ? "true" : void 0,
3152
- placeholder,
3153
2803
  error: error ? "true" : void 0,
3154
- testid: testId,
3155
- value,
3156
- width,
3157
- min,
3158
- max,
3159
- step,
3160
- maxlength: maxLength,
3161
- prefix,
3162
- suffix,
3163
- arialabel: ariaLabel,
3164
- mt,
3165
- mr,
3166
- mb,
3167
- ml,
3168
2804
  handletrailingiconclick: onTrailingIconClick ? "true" : "false",
3169
- trailingiconarialabel: trailingIconAriaLabel,
3170
- textalign: textAlign,
3171
2805
  children: [
3172
2806
  leadingContent && /* @__PURE__ */ jsx("div", { slot: "leadingContent", children: leadingContent }),
3173
2807
  trailingContent && /* @__PURE__ */ jsx("div", { slot: "trailingContent", children: trailingContent })
@@ -3176,28 +2810,28 @@ function GoabInput({
3176
2810
  );
3177
2811
  }
3178
2812
  const onDateChangeHandler = (onChange) => {
3179
- return ({ name, value }) => {
2813
+ return ({ name, value, event }) => {
3180
2814
  if (!value) {
3181
- onChange == null ? void 0 : onChange({ name, value: "" });
2815
+ onChange == null ? void 0 : onChange({ name, value: "", event });
3182
2816
  return;
3183
2817
  }
3184
2818
  if (typeof value === "string" && isValid(new Date(value))) {
3185
- onChange == null ? void 0 : onChange({ name, value: parseISO(value) });
2819
+ onChange == null ? void 0 : onChange({ name, value: parseISO(value), event });
3186
2820
  return;
3187
2821
  }
3188
2822
  if (isValid(value)) {
3189
- onChange == null ? void 0 : onChange({ name, value });
2823
+ onChange == null ? void 0 : onChange({ name, value, event });
3190
2824
  return;
3191
2825
  }
3192
2826
  };
3193
2827
  };
3194
2828
  const onTimeChangeHandler = (onChange) => {
3195
- return ({ name, value }) => {
2829
+ return ({ name, value, event }) => {
3196
2830
  if (!value) {
3197
- onChange == null ? void 0 : onChange({ name, value: "" });
2831
+ onChange == null ? void 0 : onChange({ name, value: "", event });
3198
2832
  return;
3199
2833
  }
3200
- onChange == null ? void 0 : onChange({ name, value });
2834
+ onChange == null ? void 0 : onChange({ name, value, event });
3201
2835
  };
3202
2836
  };
3203
2837
  function toString(value, tmpl = "yyyy-MM-dd") {
@@ -3289,7 +2923,11 @@ function GoabInputFile(props) {
3289
2923
  type: "file",
3290
2924
  onChange: (e) => {
3291
2925
  var _a;
3292
- return (_a = props.onChange) == null ? void 0 : _a.call(props, { name: e.target.name, value: e.target.value });
2926
+ return (_a = props.onChange) == null ? void 0 : _a.call(props, {
2927
+ name: e.target.name,
2928
+ value: e.target.value,
2929
+ event: e.nativeEvent
2930
+ });
3293
2931
  },
3294
2932
  style: { backgroundColor: "revert" }
3295
2933
  }
@@ -3305,21 +2943,21 @@ function GoabInputNumber({
3305
2943
  textAlign = "right",
3306
2944
  ...props
3307
2945
  }) {
3308
- const onNumberChange = ({ name, value: value2 }) => {
2946
+ const onNumberChange = ({ name, value: value2, event }) => {
3309
2947
  var _a;
3310
- (_a = props.onChange) == null ? void 0 : _a.call(props, { name, value: parseFloat(value2) });
2948
+ (_a = props.onChange) == null ? void 0 : _a.call(props, { name, value: parseFloat(value2), event });
3311
2949
  };
3312
- const onFocus = ({ name, value: value2 }) => {
2950
+ const onFocus = ({ name, value: value2, event }) => {
3313
2951
  var _a;
3314
- (_a = props.onFocus) == null ? void 0 : _a.call(props, { name, value: parseFloat(value2) });
2952
+ (_a = props.onFocus) == null ? void 0 : _a.call(props, { name, value: parseFloat(value2), event });
3315
2953
  };
3316
- const onBlur = ({ name, value: value2 }) => {
2954
+ const onBlur = ({ name, value: value2, event }) => {
3317
2955
  var _a;
3318
- (_a = props.onBlur) == null ? void 0 : _a.call(props, { name, value: parseFloat(value2) });
2956
+ (_a = props.onBlur) == null ? void 0 : _a.call(props, { name, value: parseFloat(value2), event });
3319
2957
  };
3320
- const onKeyPress = ({ name, value: value2, key }) => {
2958
+ const onKeyPress = ({ name, value: value2, key, event }) => {
3321
2959
  var _a;
3322
- (_a = props.onKeyPress) == null ? void 0 : _a.call(props, { name, value: parseFloat(value2), key: parseInt(key) });
2960
+ (_a = props.onKeyPress) == null ? void 0 : _a.call(props, { name, value: parseFloat(value2), key: parseInt(key), event });
3323
2961
  };
3324
2962
  return /* @__PURE__ */ jsx(
3325
2963
  GoabInput,
@@ -3358,49 +2996,46 @@ const GoabLinearProgress = ({
3358
2996
  }
3359
2997
  );
3360
2998
  };
3361
- function GoabLink(props) {
2999
+ function GoabLink({
3000
+ actionArgs,
3001
+ actionArg,
3002
+ children,
3003
+ ...rest
3004
+ }) {
3005
+ const _props = transformProps(rest, lowercase);
3362
3006
  return /* @__PURE__ */ jsx(
3363
3007
  "goa-link",
3364
3008
  {
3365
- leadingicon: props.leadingIcon,
3366
- trailingicon: props.trailingIcon,
3367
- action: props.action,
3368
- "action-arg": props.actionArg,
3369
- "action-args": JSON.stringify(props.actionArgs),
3370
- testid: props.testId,
3371
- mt: props.mt,
3372
- mb: props.mb,
3373
- ml: props.ml,
3374
- mr: props.mr,
3375
- children: props.children
3009
+ "action-arg": actionArg,
3010
+ "action-args": JSON.stringify(actionArgs),
3011
+ ..._props,
3012
+ children
3376
3013
  }
3377
3014
  );
3378
3015
  }
3379
- function GoALinkButton({ type = "primary", ...props }) {
3380
- return /* @__PURE__ */ jsx(
3381
- "goa-link-button",
3382
- {
3383
- type,
3384
- leadingicon: props.leadingIcon,
3385
- trailingicon: props.trailingIcon,
3386
- mt: props.mt,
3387
- mb: props.mb,
3388
- ml: props.ml,
3389
- mr: props.mr,
3390
- children: props.children
3391
- }
3016
+ function GoALinkButton({
3017
+ type = "primary",
3018
+ children,
3019
+ ...rest
3020
+ }) {
3021
+ const _props = transformProps(
3022
+ { type, ...rest },
3023
+ lowercase
3392
3024
  );
3025
+ return /* @__PURE__ */ jsx("goa-link-button", { ..._props, children });
3393
3026
  }
3394
3027
  function GoabMenuButton({
3395
- text,
3396
3028
  type = "primary",
3397
- leadingIcon,
3398
- maxWidth,
3399
3029
  testId,
3400
3030
  onAction,
3401
- children
3031
+ children,
3032
+ ...rest
3402
3033
  }) {
3403
3034
  const el = useRef(null);
3035
+ const _props = transformProps(
3036
+ { type, testid: testId, ...rest },
3037
+ kebab
3038
+ );
3404
3039
  useEffect(() => {
3405
3040
  if (!el.current) {
3406
3041
  return;
@@ -3411,17 +3046,18 @@ function GoabMenuButton({
3411
3046
  const current = el.current;
3412
3047
  const listener = (e) => {
3413
3048
  const detail = e.detail;
3414
- onAction(detail);
3049
+ onAction == null ? void 0 : onAction(detail);
3415
3050
  };
3416
3051
  current.addEventListener("_action", listener);
3417
3052
  return () => {
3418
3053
  current.removeEventListener("_action", listener);
3419
3054
  };
3420
3055
  }, [el, onAction]);
3421
- return /* @__PURE__ */ jsx("goa-menu-button", { ref: el, text, type, testid: testId, "leading-icon": leadingIcon, "max-width": maxWidth, children });
3056
+ return /* @__PURE__ */ jsx("goa-menu-button", { ..._props, ref: el, children });
3422
3057
  }
3423
- function GoabMenuAction({ text, icon, action, testId }) {
3424
- return /* @__PURE__ */ jsx("goa-menu-action", { text, action, icon, testid: testId });
3058
+ function GoabMenuAction(props) {
3059
+ const _props = transformProps(props, lowercase);
3060
+ return /* @__PURE__ */ jsx("goa-menu-action", { ..._props });
3425
3061
  }
3426
3062
  function GoabMicrositeHeader({
3427
3063
  type,
@@ -3597,31 +3233,18 @@ function GoabPagination({ onChange, ...props }) {
3597
3233
  }
3598
3234
  function GoabPopover({
3599
3235
  target,
3600
- testId,
3601
- maxWidth,
3602
- minWidth,
3603
3236
  padded,
3604
- position,
3605
3237
  relative,
3606
3238
  children,
3607
- mt,
3608
- mr,
3609
- mb,
3610
- ml
3239
+ ...rest
3611
3240
  }) {
3241
+ const _props = transformProps(rest, lowercase);
3612
3242
  return /* @__PURE__ */ jsxs(
3613
3243
  "goa-popover",
3614
3244
  {
3615
- testid: testId,
3616
- maxwidth: maxWidth,
3617
- minwidth: minWidth,
3618
3245
  padded: typeof padded === "undefined" ? void 0 : padded ? "true" : "false",
3619
- position,
3620
3246
  relative: relative ? "true" : void 0,
3621
- mt,
3622
- mr,
3623
- mb,
3624
- ml,
3247
+ ..._props,
3625
3248
  children: [
3626
3249
  children,
3627
3250
  target && /* @__PURE__ */ jsx("div", { slot: "target", children: target })
@@ -3673,27 +3296,20 @@ function GoabRadioItem({
3673
3296
  );
3674
3297
  }
3675
3298
  function GoabRadioGroup({
3676
- name,
3677
- value,
3678
- children,
3679
- orientation,
3680
3299
  disabled,
3681
3300
  error,
3682
- id,
3683
- testId,
3684
- ariaLabel,
3685
- mt,
3686
- mr,
3687
- mb,
3688
- ml,
3689
- onChange
3301
+ onChange,
3302
+ name,
3303
+ children,
3304
+ ...rest
3690
3305
  }) {
3691
3306
  const el = useRef(null);
3307
+ const _props = transformProps(rest, lowercase);
3692
3308
  useEffect(() => {
3693
3309
  if (!el.current) return;
3694
3310
  const listener = (e) => {
3695
3311
  const detail = e.detail;
3696
- onChange == null ? void 0 : onChange(detail);
3312
+ onChange == null ? void 0 : onChange({ ...detail, event: e });
3697
3313
  };
3698
3314
  const currentEl = el.current;
3699
3315
  if (onChange) {
@@ -3708,19 +3324,11 @@ function GoabRadioGroup({
3708
3324
  return /* @__PURE__ */ jsx(
3709
3325
  "goa-radio-group",
3710
3326
  {
3711
- testid: testId,
3712
3327
  ref: el,
3713
- id,
3328
+ ..._props,
3714
3329
  name,
3715
- value,
3716
- orientation,
3717
3330
  disabled: disabled ? "true" : void 0,
3718
3331
  error: error ? "true" : void 0,
3719
- arialabel: ariaLabel,
3720
- mt,
3721
- mr,
3722
- mb,
3723
- ml,
3724
3332
  children
3725
3333
  }
3726
3334
  );
@@ -3835,16 +3443,17 @@ function GoabTable({ onSort, ...props }) {
3835
3443
  );
3836
3444
  }
3837
3445
  function GoabTableSortHeader({
3838
- name,
3839
- direction = "none",
3840
- children
3446
+ children,
3447
+ ...rest
3841
3448
  }) {
3842
- return /* @__PURE__ */ jsx("goa-table-sort-header", { name, direction, children });
3449
+ const _props = transformProps(rest, lowercase);
3450
+ return /* @__PURE__ */ jsx("goa-table-sort-header", { ..._props, children });
3843
3451
  }
3844
3452
  function GoabTabs({
3845
3453
  initialTab,
3846
3454
  children,
3847
3455
  testId,
3456
+ variant,
3848
3457
  onChange
3849
3458
  }) {
3850
3459
  const ref = useRef(null);
@@ -3861,10 +3470,10 @@ function GoabTabs({
3861
3470
  };
3862
3471
  }
3863
3472
  }, [onChange]);
3864
- return /* @__PURE__ */ jsx("goa-tabs", { ref, initialtab: initialTab, testid: testId, children });
3473
+ return /* @__PURE__ */ jsx("goa-tabs", { ref, initialtab: initialTab, testid: testId, variant, children });
3865
3474
  }
3866
- function GoabTab({ heading, children }) {
3867
- return /* @__PURE__ */ jsxs("goa-tab", { children: [
3475
+ function GoabTab({ heading, disabled, children }) {
3476
+ return /* @__PURE__ */ jsxs("goa-tab", { disabled: disabled ? "true" : void 0, children: [
3868
3477
  heading && /* @__PURE__ */ jsx("span", { slot: "heading", children: heading }),
3869
3478
  children
3870
3479
  ] });
@@ -3872,60 +3481,50 @@ function GoabTab({ heading, children }) {
3872
3481
  const GoabTemporaryNotificationCtrl = ({
3873
3482
  verticalPosition = "bottom",
3874
3483
  horizontalPosition = "center",
3875
- testId
3484
+ testId,
3485
+ ...rest
3876
3486
  }) => {
3877
3487
  const el = useRef(null);
3488
+ const _props = transformProps(
3489
+ { "vertical-position": verticalPosition, "horizontal-position": horizontalPosition, ...rest },
3490
+ kebab
3491
+ );
3878
3492
  return /* @__PURE__ */ jsx(
3879
3493
  "goa-temp-notification-ctrl",
3880
3494
  {
3881
3495
  ref: el,
3882
- "vertical-position": verticalPosition,
3883
- "horizontal-position": horizontalPosition,
3496
+ ..._props,
3884
3497
  testid: testId
3885
3498
  }
3886
3499
  );
3887
3500
  };
3888
- function GoabText(props) {
3501
+ function GoabText({
3502
+ as,
3503
+ tag,
3504
+ children,
3505
+ ...rest
3506
+ }) {
3507
+ const _props = transformProps(rest, lowercase);
3889
3508
  return /* @__PURE__ */ jsx(
3890
3509
  "goa-text",
3891
3510
  {
3892
- as: props.tag || props.as,
3893
- size: props.size,
3894
- maxwidth: props.maxWidth,
3895
- color: props.color,
3896
- id: props.id,
3897
- mt: props.mt,
3898
- mb: props.mb,
3899
- ml: props.ml,
3900
- mr: props.mr,
3901
- children: props.children
3511
+ as: tag || as,
3512
+ ..._props,
3513
+ children
3902
3514
  }
3903
3515
  );
3904
3516
  }
3905
3517
  function GoabTextArea({
3906
- name,
3907
- value,
3908
- placeholder,
3909
- rows,
3910
3518
  readOnly,
3911
3519
  disabled,
3912
- countBy,
3913
- maxCount,
3914
- width,
3915
- maxWidth,
3916
- testId,
3917
3520
  error,
3918
- ariaLabel,
3919
- mt,
3920
- mr,
3921
- mb,
3922
- ml,
3923
- autoComplete,
3924
3521
  onChange,
3925
3522
  onKeyPress,
3926
- onBlur
3523
+ onBlur,
3524
+ ...rest
3927
3525
  }) {
3928
3526
  const el = useRef(null);
3527
+ const _props = transformProps(rest, lowercase);
3929
3528
  useEffect(() => {
3930
3529
  if (!el.current) {
3931
3530
  return;
@@ -3933,15 +3532,15 @@ function GoabTextArea({
3933
3532
  const current = el.current;
3934
3533
  const changeListener = (e) => {
3935
3534
  const detail = e.detail;
3936
- onChange == null ? void 0 : onChange(detail);
3535
+ onChange == null ? void 0 : onChange({ ...detail, event: e });
3937
3536
  };
3938
3537
  const keypressListener = (e) => {
3939
3538
  const detail = e.detail;
3940
- onKeyPress == null ? void 0 : onKeyPress(detail);
3539
+ onKeyPress == null ? void 0 : onKeyPress({ ...detail, event: e });
3941
3540
  };
3942
3541
  const blurListener = (e) => {
3943
3542
  const detail = e.detail;
3944
- onBlur == null ? void 0 : onBlur(detail);
3543
+ onBlur == null ? void 0 : onBlur({ ...detail, event: e });
3945
3544
  };
3946
3545
  current.addEventListener("_change", changeListener);
3947
3546
  current.addEventListener("_keyPress", keypressListener);
@@ -3956,24 +3555,10 @@ function GoabTextArea({
3956
3555
  "goa-textarea",
3957
3556
  {
3958
3557
  ref: el,
3959
- name,
3960
- placeholder,
3961
- value,
3962
- rows,
3963
3558
  readOnly: readOnly ? "true" : void 0,
3964
3559
  disabled: disabled ? "true" : void 0,
3965
- countby: countBy,
3966
- maxcount: maxCount,
3967
- width,
3968
- maxwidth: maxWidth,
3969
3560
  error: error ? "true" : void 0,
3970
- testid: testId,
3971
- arialabel: ariaLabel,
3972
- mt,
3973
- mr,
3974
- mb,
3975
- ml,
3976
- autocomplete: autoComplete
3561
+ ..._props
3977
3562
  }
3978
3563
  );
3979
3564
  }
@@ -3995,23 +3580,21 @@ function GoabThreeColumnLayout(props) {
3995
3580
  }
3996
3581
  );
3997
3582
  }
3998
- function GoabTooltip(props) {
3999
- const isStringContent = typeof props.content === "string";
3583
+ function GoabTooltip({
3584
+ content,
3585
+ children,
3586
+ ...rest
3587
+ }) {
3588
+ const _props = transformProps(rest, lowercase);
3589
+ const isStringContent = typeof content === "string";
4000
3590
  return /* @__PURE__ */ jsxs(
4001
3591
  "goa-tooltip",
4002
3592
  {
4003
- position: props.position,
4004
- content: isStringContent ? props.content : void 0,
4005
- halign: props.hAlign,
4006
- testid: props.testId,
4007
- maxwidth: props.maxWidth,
4008
- mt: props.mt,
4009
- mr: props.mr,
4010
- mb: props.mb,
4011
- ml: props.ml,
3593
+ content: isStringContent ? content : void 0,
3594
+ ..._props,
4012
3595
  children: [
4013
- !isStringContent && props.content && /* @__PURE__ */ jsx("div", { slot: "content", children: props.content }),
4014
- props.children
3596
+ !isStringContent && content && /* @__PURE__ */ jsx("div", { slot: "content", children: content }),
3597
+ children
4015
3598
  ]
4016
3599
  }
4017
3600
  );
@@ -4034,15 +3617,14 @@ function GoabTwoColumnLayout(props) {
4034
3617
  const GoabFilterChip = ({
4035
3618
  iconTheme = "outline",
4036
3619
  error,
4037
- content,
4038
3620
  onClick,
4039
- mt,
4040
- mr,
4041
- mb,
4042
- ml,
4043
- testId
3621
+ ...rest
4044
3622
  }) => {
4045
3623
  const el = useRef(null);
3624
+ const _props = transformProps(
3625
+ { icontheme: iconTheme, ...rest },
3626
+ lowercase
3627
+ );
4046
3628
  useEffect(() => {
4047
3629
  if (!el.current) return;
4048
3630
  if (!onClick) return;
@@ -4056,14 +3638,8 @@ const GoabFilterChip = ({
4056
3638
  "goa-filter-chip",
4057
3639
  {
4058
3640
  ref: el,
4059
- icontheme: iconTheme,
4060
3641
  error: error ? "true" : void 0,
4061
- content,
4062
- mt,
4063
- mr,
4064
- mb,
4065
- ml,
4066
- testid: testId
3642
+ ..._props
4067
3643
  }
4068
3644
  );
4069
3645
  };
@@ -4492,6 +4068,7 @@ export {
4492
4068
  GoabChip,
4493
4069
  GoabCircularProgress,
4494
4070
  GoabContainer,
4071
+ GoabDataGrid,
4495
4072
  GoabDatePicker,
4496
4073
  GoabDetails,
4497
4074
  GoabDivider,