@abgov/react-components 5.0.0-alpha.6 → 5.0.0-alpha.8

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 (55) hide show
  1. package/index.d.ts +4 -0
  2. package/index.js +155 -53
  3. package/index.js.map +1 -1
  4. package/index.mjs +155 -53
  5. package/index.mjs.map +1 -1
  6. package/lib/accordion/accordion.d.ts +1 -0
  7. package/lib/app-header/app-header.d.ts +1 -0
  8. package/lib/app-header-menu/app-header-menu.d.ts +1 -0
  9. package/lib/badge/badge.d.ts +1 -0
  10. package/lib/block/block.d.ts +1 -0
  11. package/lib/button/button.d.ts +1 -0
  12. package/lib/button-group/button-group.d.ts +1 -0
  13. package/lib/calendar/calendar.d.ts +1 -0
  14. package/lib/callout/callout.d.ts +1 -0
  15. package/lib/checkbox/checkbox.d.ts +2 -1
  16. package/lib/chip/chip.d.ts +1 -0
  17. package/lib/circular-progress/circular-progress.d.ts +1 -0
  18. package/lib/container/container.d.ts +1 -0
  19. package/lib/date-picker/date-picker.d.ts +2 -1
  20. package/lib/details/details.d.ts +1 -0
  21. package/lib/divider/divider.d.ts +4 -1
  22. package/lib/dropdown/dropdown.d.ts +2 -1
  23. package/lib/fieldset/fieldset.d.ts +29 -0
  24. package/lib/file-upload-card/file-upload-card.d.ts +1 -0
  25. package/lib/file-upload-input/file-upload-input.d.ts +1 -0
  26. package/lib/footer/footer.d.ts +1 -0
  27. package/lib/footer-meta-section/footer-meta-section.d.ts +4 -1
  28. package/lib/footer-nav-section/footer-nav-section.d.ts +1 -0
  29. package/lib/form-item/form-item.d.ts +1 -0
  30. package/lib/form-stepper/form-stepper.d.ts +1 -0
  31. package/lib/grid/grid.d.ts +1 -0
  32. package/lib/hero-banner/hero-banner.d.ts +1 -0
  33. package/lib/icon-button/icon-button.d.ts +1 -0
  34. package/lib/input/input.d.ts +4 -3
  35. package/lib/link/link.d.ts +21 -0
  36. package/lib/link-button/link-button.d.ts +24 -0
  37. package/lib/microsite-header/microsite-header.d.ts +1 -0
  38. package/lib/modal/modal.d.ts +1 -0
  39. package/lib/notification/notification.d.ts +1 -0
  40. package/lib/page-block/page-block.d.ts +1 -0
  41. package/lib/pagination/pagination.d.ts +1 -0
  42. package/lib/popover/popover.d.ts +1 -0
  43. package/lib/radio-group/radio-group.d.ts +2 -1
  44. package/lib/side-menu/side-menu.d.ts +4 -1
  45. package/lib/side-menu-group/side-menu-group.d.ts +1 -0
  46. package/lib/side-menu-heading/side-menu-heading.d.ts +1 -0
  47. package/lib/skeleton/skeleton.d.ts +1 -0
  48. package/lib/spacer/spacer.d.ts +1 -0
  49. package/lib/spinner/spinner.d.ts +1 -0
  50. package/lib/table/table.d.ts +1 -0
  51. package/lib/tabs/tabs.d.ts +1 -0
  52. package/lib/text/text.d.ts +28 -0
  53. package/lib/textarea/textarea.d.ts +2 -1
  54. package/lib/tooltip/tooltip.d.ts +1 -0
  55. package/package.json +1 -1
package/index.mjs CHANGED
@@ -22,7 +22,7 @@ function GoAAccordion({
22
22
  heading,
23
23
  secondaryText,
24
24
  maxwidth: maxWidth,
25
- "data-testid": testid,
25
+ testid,
26
26
  mt,
27
27
  mr,
28
28
  mb,
@@ -49,7 +49,7 @@ function GoAAppHeader({
49
49
  url,
50
50
  fullmenubreakpoint: fullMenuBreakpoint,
51
51
  maxcontentwidth: maxContentWidth,
52
- "data-testid": testId,
52
+ testid: testId,
53
53
  children
54
54
  }
55
55
  );
@@ -60,7 +60,7 @@ function GoAAppHeaderMenu(props) {
60
60
  {
61
61
  heading: props.heading,
62
62
  leadingicon: props.leadingIcon,
63
- "data-testid": props.testId,
63
+ testid: props.testId,
64
64
  children: props.children
65
65
  }
66
66
  );
@@ -82,7 +82,7 @@ function GoABadge({
82
82
  type,
83
83
  content,
84
84
  icon,
85
- "data-testid": testId,
85
+ testid: testId,
86
86
  arialabel: ariaLabel,
87
87
  mt,
88
88
  mr,
@@ -202,7 +202,7 @@ function GoABlock(props) {
202
202
  mr: props.mr,
203
203
  mb: props.mb,
204
204
  ml: props.ml,
205
- "data-testid": props.testId,
205
+ testid: props.testId,
206
206
  children: props.children
207
207
  }
208
208
  );
@@ -249,7 +249,7 @@ function GoAButton({
249
249
  disabled,
250
250
  leadingicon: leadingIcon,
251
251
  trailingicon: trailingIcon,
252
- "data-testid": testId,
252
+ testid: testId,
253
253
  mt,
254
254
  mr,
255
255
  mb,
@@ -277,7 +277,7 @@ function GoAButtonGroup({
277
277
  mr,
278
278
  mb,
279
279
  ml,
280
- "data-testid": testId,
280
+ testid: testId,
281
281
  children
282
282
  }
283
283
  );
@@ -312,7 +312,7 @@ function GoACalendar({
312
312
  value: value == null ? void 0 : value.toISOString(),
313
313
  min: min == null ? void 0 : min.toISOString(),
314
314
  max: max == null ? void 0 : max.toISOString(),
315
- "data-testid": testId,
315
+ testid: testId,
316
316
  mt,
317
317
  mr,
318
318
  mb,
@@ -345,7 +345,7 @@ const GoACallout = ({
345
345
  mr,
346
346
  mb,
347
347
  ml,
348
- "data-testid": testId,
348
+ testid: testId,
349
349
  children
350
350
  }
351
351
  );
@@ -387,12 +387,12 @@ function GoACheckbox({
387
387
  return /* @__PURE__ */ jsxs(
388
388
  "goa-checkbox",
389
389
  {
390
- "data-testid": testId,
390
+ testid: testId,
391
391
  ref: el,
392
392
  id,
393
393
  name,
394
394
  error,
395
- checked,
395
+ checked: checked || false,
396
396
  disabled,
397
397
  text,
398
398
  value,
@@ -451,7 +451,7 @@ const GoAChip = ({
451
451
  mr,
452
452
  mb,
453
453
  ml,
454
- "data-testid": testId
454
+ testid: testId
455
455
  }
456
456
  );
457
457
  };
@@ -471,7 +471,7 @@ const GoACircularProgress = ({
471
471
  progress,
472
472
  variant,
473
473
  size,
474
- "data-testid": testId
474
+ testid: testId
475
475
  }
476
476
  );
477
477
  };
@@ -504,7 +504,7 @@ function GoAContainer({
504
504
  mr,
505
505
  mb,
506
506
  ml,
507
- "data-testid": testId,
507
+ testid: testId,
508
508
  children: [
509
509
  headingContent && /* @__PURE__ */ jsx("div", { slot: "title", children: headingContent }),
510
510
  children,
@@ -536,7 +536,7 @@ function GoADatePicker({
536
536
  const current = ref.current;
537
537
  const handleChange = (e) => {
538
538
  const newValue = e.detail.value;
539
- onChange(name || "", newValue ? new Date(newValue) : void 0);
539
+ onChange == null ? void 0 : onChange(name || "", newValue ? new Date(newValue) : void 0);
540
540
  };
541
541
  current.addEventListener("_change", handleChange);
542
542
  return () => {
@@ -553,7 +553,7 @@ function GoADatePicker({
553
553
  disabled,
554
554
  min: min == null ? void 0 : min.toISOString(),
555
555
  max: max == null ? void 0 : max.toISOString(),
556
- "data-testid": testId,
556
+ testid: testId,
557
557
  mt,
558
558
  mr,
559
559
  mb,
@@ -569,7 +569,7 @@ function GoADetails(props) {
569
569
  heading: props.heading,
570
570
  open: props.open,
571
571
  maxwidth: props.maxWidth,
572
- "data-testid": props.testId,
572
+ testid: props.testId,
573
573
  mt: props.mt,
574
574
  mr: props.mr,
575
575
  mb: props.mb,
@@ -586,7 +586,7 @@ function GoADivider(props) {
586
586
  mr: props.mr,
587
587
  mb: props.mb,
588
588
  ml: props.ml,
589
- "data-testid": props.testId
589
+ testid: props.testId
590
590
  }
591
591
  );
592
592
  }
@@ -607,8 +607,9 @@ function GoADropdown(props) {
607
607
  }
608
608
  const current = el.current;
609
609
  const handler = (e) => {
610
+ var _a;
610
611
  const { name, value, values } = e.detail;
611
- props.onChange(name, props.multiselect ? values : value);
612
+ (_a = props.onChange) == null ? void 0 : _a.call(props, name, props.multiselect ? values : value);
612
613
  };
613
614
  current.addEventListener("_change", handler);
614
615
  return () => {
@@ -635,7 +636,7 @@ function GoADropdown(props) {
635
636
  multiselect: props.multiselect,
636
637
  native: props.native,
637
638
  placeholder: props.placeholder,
638
- "data-testid": props.testId,
639
+ testid: props.testId,
639
640
  width: props.width,
640
641
  relative: props.relative,
641
642
  id: props.id,
@@ -662,6 +663,53 @@ function GoADropdownItem({ value, label, filter, name, testId, mountType = "appe
662
663
  }
663
664
  );
664
665
  }
666
+ function GoAFieldset({
667
+ heading,
668
+ buttonText,
669
+ id,
670
+ onContinue,
671
+ children,
672
+ mt,
673
+ mr,
674
+ mb,
675
+ ml,
676
+ first,
677
+ last
678
+ }) {
679
+ const ref = useRef(null);
680
+ useEffect(() => {
681
+ var _a;
682
+ const _continue = (e) => {
683
+ const { el, state } = e.detail;
684
+ return onContinue == null ? void 0 : onContinue(el, state);
685
+ };
686
+ if (onContinue) {
687
+ (_a = ref.current) == null ? void 0 : _a.addEventListener("_continue", _continue);
688
+ }
689
+ return () => {
690
+ var _a2;
691
+ if (onContinue) {
692
+ (_a2 = ref.current) == null ? void 0 : _a2.removeEventListener("_continue", _continue);
693
+ }
694
+ };
695
+ }, [ref.current, onContinue]);
696
+ return /* @__PURE__ */ jsx(
697
+ "goa-fieldset",
698
+ {
699
+ ref,
700
+ id,
701
+ first,
702
+ last,
703
+ heading,
704
+ buttontext: buttonText,
705
+ mt,
706
+ mr,
707
+ mb,
708
+ ml,
709
+ children
710
+ }
711
+ );
712
+ }
665
713
  function GoAFileUploadCard({
666
714
  filename,
667
715
  size,
@@ -694,7 +742,7 @@ function GoAFileUploadCard({
694
742
  type,
695
743
  progress,
696
744
  error,
697
- "data-testid": testId
745
+ testid: testId
698
746
  }
699
747
  );
700
748
  }
@@ -724,7 +772,7 @@ function GoAFileUploadInput({
724
772
  variant,
725
773
  accept,
726
774
  maxfilesize: maxFileSize,
727
- "data-testid": testId
775
+ testid: testId
728
776
  }
729
777
  );
730
778
  }
@@ -733,13 +781,13 @@ function GoAAppFooter({
733
781
  children,
734
782
  testId
735
783
  }) {
736
- return /* @__PURE__ */ jsx("goa-app-footer", { maxcontentwidth: maxContentWidth, "data-testid": testId, children });
784
+ return /* @__PURE__ */ jsx("goa-app-footer", { maxcontentwidth: maxContentWidth, testid: testId, children });
737
785
  }
738
786
  function GoAAppFooterMetaSection({ testId, children }) {
739
787
  return /* @__PURE__ */ jsx(
740
788
  "goa-app-footer-meta-section",
741
789
  {
742
- "data-testid": testId,
790
+ testid: testId,
743
791
  slot: "meta",
744
792
  children
745
793
  }
@@ -757,7 +805,7 @@ function GoAAppFooterNavSection({
757
805
  slot: "nav",
758
806
  heading,
759
807
  maxcolumncount: maxColumnCount,
760
- "data-testid": testId,
808
+ testid: testId,
761
809
  children
762
810
  }
763
811
  );
@@ -790,7 +838,7 @@ function GoAFormItem({
790
838
  mr,
791
839
  mb,
792
840
  ml,
793
- "data-testid": testId,
841
+ testid: testId,
794
842
  id,
795
843
  children: [
796
844
  error && typeof error !== "string" && /* @__PURE__ */ jsx("div", { slot: "error", children: error }),
@@ -832,7 +880,7 @@ function GoAFormStepper({
832
880
  "goa-form-stepper",
833
881
  {
834
882
  ref,
835
- "data-testid": testId,
883
+ testid: testId,
836
884
  step,
837
885
  mt,
838
886
  mr,
@@ -861,7 +909,7 @@ function GoAGrid({
861
909
  mr,
862
910
  mb,
863
911
  ml,
864
- "data-testid": testId,
912
+ testid: testId,
865
913
  children
866
914
  }
867
915
  );
@@ -885,7 +933,7 @@ function GoAHeroBanner({
885
933
  maxcontentwidth: maxContentWidth,
886
934
  backgroundcolor: backgroundColor,
887
935
  textcolor: textColor,
888
- "data-testid": testId,
936
+ testid: testId,
889
937
  children
890
938
  }
891
939
  );
@@ -941,7 +989,7 @@ function GoAIconButton({
941
989
  mr,
942
990
  mb,
943
991
  ml,
944
- "data-testid": testId,
992
+ testid: testId,
945
993
  children
946
994
  }
947
995
  );
@@ -976,7 +1024,7 @@ function GoAIcon({
976
1024
  mr,
977
1025
  mb,
978
1026
  ml,
979
- "data-testid": testId
1027
+ testid: testId
980
1028
  }
981
1029
  );
982
1030
  }
@@ -2628,7 +2676,7 @@ function GoAInput({
2628
2676
  const current = ref.current;
2629
2677
  const changeListener = (e) => {
2630
2678
  const { name: name2, value: value2 } = e.detail;
2631
- onChange(name2, value2);
2679
+ onChange == null ? void 0 : onChange(name2, value2);
2632
2680
  };
2633
2681
  const clickListener = () => {
2634
2682
  onTrailingIconClick == null ? void 0 : onTrailingIconClick();
@@ -2675,7 +2723,7 @@ function GoAInput({
2675
2723
  readonly,
2676
2724
  placeholder,
2677
2725
  error,
2678
- "data-testid": testId,
2726
+ testid: testId,
2679
2727
  value,
2680
2728
  width,
2681
2729
  min,
@@ -2699,6 +2747,7 @@ function GoAInput({
2699
2747
  }
2700
2748
  const onDateChangeHandler = (onChange) => {
2701
2749
  return (name, value) => {
2750
+ if (!onChange) return;
2702
2751
  if (!value) {
2703
2752
  onChange(name, "");
2704
2753
  return;
@@ -2710,6 +2759,7 @@ const onDateChangeHandler = (onChange) => {
2710
2759
  };
2711
2760
  const onTimeChangeHandler = (onChange) => {
2712
2761
  return (name, value) => {
2762
+ if (!onChange) return;
2713
2763
  if (!value) {
2714
2764
  onChange(name, "");
2715
2765
  return;
@@ -2804,7 +2854,10 @@ function GoAInputFile(props) {
2804
2854
  id: props.id,
2805
2855
  name: props.name,
2806
2856
  type: "file",
2807
- onChange: (e) => props.onChange(e.target.name, e.target.value),
2857
+ onChange: (e) => {
2858
+ var _a;
2859
+ return (_a = props.onChange) == null ? void 0 : _a.call(props, e.target.name, e.target.value);
2860
+ },
2808
2861
  style: { backgroundColor: "revert" }
2809
2862
  }
2810
2863
  );
@@ -2819,7 +2872,8 @@ function GoAInputNumber({
2819
2872
  ...props
2820
2873
  }) {
2821
2874
  const onNumberChange = (name, value2) => {
2822
- props.onChange(name, parseFloat(value2));
2875
+ var _a;
2876
+ (_a = props.onChange) == null ? void 0 : _a.call(props, name, parseFloat(value2));
2823
2877
  };
2824
2878
  const onFocus = (name, value2) => {
2825
2879
  var _a;
@@ -2851,6 +2905,35 @@ function GoAInputNumber({
2851
2905
  function GoAInputRange(props) {
2852
2906
  return /* @__PURE__ */ jsx(GoAInput, { ...props, type: "range" });
2853
2907
  }
2908
+ function GoALink(props) {
2909
+ return /* @__PURE__ */ jsx(
2910
+ "goa-link",
2911
+ {
2912
+ leadingicon: props.leadingIcon,
2913
+ trailingicon: props.trailingIcon,
2914
+ mt: props.mt,
2915
+ mb: props.mb,
2916
+ ml: props.ml,
2917
+ mr: props.mr,
2918
+ children: props.children
2919
+ }
2920
+ );
2921
+ }
2922
+ function GoALinkButton({ type = "primary", ...props }) {
2923
+ return /* @__PURE__ */ jsx(
2924
+ "goa-link-button",
2925
+ {
2926
+ type,
2927
+ leadingicon: props.leadingIcon,
2928
+ trailingicon: props.trailingIcon,
2929
+ mt: props.mt,
2930
+ mb: props.mb,
2931
+ ml: props.ml,
2932
+ mr: props.mr,
2933
+ children: props.children
2934
+ }
2935
+ );
2936
+ }
2854
2937
  function GoAMicrositeHeader({
2855
2938
  type,
2856
2939
  version,
@@ -2885,7 +2968,7 @@ function GoAMicrositeHeader({
2885
2968
  type,
2886
2969
  version: typeof version === "string" ? version : void 0,
2887
2970
  feedbackurl: feedbackUrl,
2888
- "data-testid": testId,
2971
+ testid: testId,
2889
2972
  maxcontentwidth: maxContentWidth,
2890
2973
  feedbackurltarget: feedbackUrlTarget,
2891
2974
  headerurltarget: headerUrlTarget,
@@ -2939,7 +3022,7 @@ function GoAModal({
2939
3022
  maxwidth: maxWidth,
2940
3023
  transition,
2941
3024
  calloutvariant: calloutVariant,
2942
- "data-testid": testId,
3025
+ testid: testId,
2943
3026
  role,
2944
3027
  children: [
2945
3028
  heading && /* @__PURE__ */ jsx("div", { slot: "heading", children: heading }),
@@ -2976,7 +3059,7 @@ const GoANotification = ({
2976
3059
  {
2977
3060
  ref: el,
2978
3061
  type,
2979
- "data-testid": testId,
3062
+ testid: testId,
2980
3063
  maxcontentwidth: maxContentWidth,
2981
3064
  arialive: ariaLive,
2982
3065
  children
@@ -2987,7 +3070,7 @@ function GoAOneColumnLayout(props) {
2987
3070
  return /* @__PURE__ */ jsx("goa-one-column-layout", { children: props.children });
2988
3071
  }
2989
3072
  function GoAPageBlock(props) {
2990
- return /* @__PURE__ */ jsx("goa-page-block", { width: props.width, "data-testid": props.testId, children: props.children });
3073
+ return /* @__PURE__ */ jsx("goa-page-block", { width: props.width, testid: props.testId, children: props.children });
2991
3074
  }
2992
3075
  function GoAPages(props) {
2993
3076
  return /* @__PURE__ */ jsx(
@@ -3030,7 +3113,7 @@ function GoAPagination({ onChange, ...props }) {
3030
3113
  mb: props.mb,
3031
3114
  ml: props.ml,
3032
3115
  mr: props.mr,
3033
- "data-testid": props.testId
3116
+ testid: props.testId
3034
3117
  }
3035
3118
  );
3036
3119
  }
@@ -3051,7 +3134,7 @@ function GoAPopover({
3051
3134
  return /* @__PURE__ */ jsxs(
3052
3135
  "goa-popover",
3053
3136
  {
3054
- "data-testid": testId,
3137
+ testid: testId,
3055
3138
  maxwidth: maxWidth,
3056
3139
  minwidth: minWidth,
3057
3140
  padded,
@@ -3145,7 +3228,7 @@ function GoARadioGroup({
3145
3228
  return /* @__PURE__ */ jsx(
3146
3229
  "goa-radio-group",
3147
3230
  {
3148
- "data-testid": testId,
3231
+ testid: testId,
3149
3232
  ref: el,
3150
3233
  name,
3151
3234
  value,
@@ -3166,7 +3249,7 @@ function GoASideMenuGroup(props) {
3166
3249
  "goa-side-menu-group",
3167
3250
  {
3168
3251
  heading: props.heading,
3169
- "data-testid": props.testId,
3252
+ testid: props.testId,
3170
3253
  children: props.children
3171
3254
  }
3172
3255
  );
@@ -3176,7 +3259,7 @@ function GoASideMenuHeading(props) {
3176
3259
  "goa-side-menu-heading",
3177
3260
  {
3178
3261
  icon: props.icon,
3179
- "data-testid": props.testId,
3262
+ testid: props.testId,
3180
3263
  children: [
3181
3264
  props.children,
3182
3265
  props.meta && /* @__PURE__ */ jsx("span", { slot: "meta", children: props.meta })
@@ -3185,7 +3268,7 @@ function GoASideMenuHeading(props) {
3185
3268
  );
3186
3269
  }
3187
3270
  function GoASideMenu(props) {
3188
- return /* @__PURE__ */ jsx("goa-side-menu", { "data-testid": props.testId, children: props.children });
3271
+ return /* @__PURE__ */ jsx("goa-side-menu", { testid: props.testId, children: props.children });
3189
3272
  }
3190
3273
  const GoASkeleton = ({
3191
3274
  maxWidth,
@@ -3209,7 +3292,7 @@ const GoASkeleton = ({
3209
3292
  mr,
3210
3293
  mb,
3211
3294
  ml,
3212
- "data-testid": testId
3295
+ testid: testId
3213
3296
  }
3214
3297
  );
3215
3298
  };
@@ -3219,7 +3302,7 @@ function GoASpacer(props) {
3219
3302
  {
3220
3303
  hspacing: props.hSpacing,
3221
3304
  vspacing: props.vSpacing,
3222
- "data-testid": props.testId
3305
+ testid: props.testId
3223
3306
  }
3224
3307
  );
3225
3308
  }
@@ -3237,7 +3320,7 @@ function GoASpinner({
3237
3320
  size,
3238
3321
  progress,
3239
3322
  invert,
3240
- "data-testid": testId
3323
+ testid: testId
3241
3324
  }
3242
3325
  );
3243
3326
  }
@@ -3264,7 +3347,7 @@ function GoATable({ onSort, ...props }) {
3264
3347
  width: props.width,
3265
3348
  stickyheader: false,
3266
3349
  variant: props.variant,
3267
- "data-testid": props.testId,
3350
+ testid: props.testId,
3268
3351
  mt: props.mt,
3269
3352
  mb: props.mb,
3270
3353
  ml: props.ml,
@@ -3300,7 +3383,7 @@ function GoATabs({
3300
3383
  };
3301
3384
  }
3302
3385
  }, [onChange]);
3303
- return /* @__PURE__ */ jsx("goa-tabs", { ref, initialtab: initialTab, "data-testid": testId, children });
3386
+ return /* @__PURE__ */ jsx("goa-tabs", { ref, initialtab: initialTab, testid: testId, children });
3304
3387
  }
3305
3388
  function GoATab({ heading, children }) {
3306
3389
  return /* @__PURE__ */ jsxs("goa-tab", { children: [
@@ -3308,6 +3391,21 @@ function GoATab({ heading, children }) {
3308
3391
  children
3309
3392
  ] });
3310
3393
  }
3394
+ function GoAText(props) {
3395
+ return /* @__PURE__ */ jsx(
3396
+ "goa-text",
3397
+ {
3398
+ as: props.as || "div",
3399
+ size: props.size,
3400
+ maxwidth: props.maxWidth || "65ch",
3401
+ mt: props.mt,
3402
+ mb: props.mb,
3403
+ ml: props.ml,
3404
+ mr: props.mr,
3405
+ children: props.children
3406
+ }
3407
+ );
3408
+ }
3311
3409
  function GoATextarea({
3312
3410
  name,
3313
3411
  value,
@@ -3336,7 +3434,7 @@ function GoATextarea({
3336
3434
  const current = el.current;
3337
3435
  const listener = (e) => {
3338
3436
  const { name: name2, value: value2 } = e.detail;
3339
- onChange(name2, value2);
3437
+ onChange == null ? void 0 : onChange(name2, value2);
3340
3438
  };
3341
3439
  current.addEventListener("_change", listener);
3342
3440
  return () => {
@@ -3371,7 +3469,7 @@ function GoATextarea({
3371
3469
  width,
3372
3470
  maxwidth: maxWidth,
3373
3471
  error,
3374
- "data-testid": testId,
3472
+ testid: testId,
3375
3473
  arialabel: ariaLabel,
3376
3474
  mt,
3377
3475
  mr,
@@ -3405,7 +3503,7 @@ function GoATooltip(props) {
3405
3503
  position: props.position,
3406
3504
  content: props.content,
3407
3505
  halign: props.hAlign,
3408
- "data-testid": props.testId,
3506
+ testid: props.testId,
3409
3507
  mt: props.mt,
3410
3508
  mr: props.mr,
3411
3509
  mb: props.mb,
@@ -3453,6 +3551,7 @@ export {
3453
3551
  GoADropdownItem,
3454
3552
  GoADropdownOption,
3455
3553
  GoAEmergencyBadge,
3554
+ GoAFieldset,
3456
3555
  GoAFileUploadCard,
3457
3556
  GoAFileUploadInput,
3458
3557
  GoAFormItem,
@@ -3479,6 +3578,8 @@ export {
3479
3578
  GoAInputText,
3480
3579
  GoAInputTime,
3481
3580
  GoAInputUrl,
3581
+ GoALink,
3582
+ GoALinkButton,
3482
3583
  GoAMicrositeHeader,
3483
3584
  GoAModal,
3484
3585
  GoANotification,
@@ -3500,6 +3601,7 @@ export {
3500
3601
  GoATable,
3501
3602
  GoATableSortHeader,
3502
3603
  GoATabs,
3604
+ GoAText,
3503
3605
  GoATextarea as GoATextArea,
3504
3606
  GoATextarea,
3505
3607
  GoAThreeColumnLayout,