@abgov/react-components 6.2.2-alpha.3 → 6.2.2-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -53,9 +53,9 @@ export * from './lib/table/table-sort-header';
53
53
  export * from './lib/tabs/tabs';
54
54
  export * from './lib/tab/tab';
55
55
  export * from './lib/text/text';
56
- export * from './lib/textarea/textarea';
56
+ export { GoabTextArea, GoabTextArea as GoabTextarea } from './lib/textarea/textarea';
57
57
  export * from './lib/three-column-layout/three-column-layout';
58
58
  export * from './lib/tooltip/tooltip';
59
59
  export * from './lib/two-column-layout/two-column-layout';
60
60
  export * from './lib/filter-chip/filter-chip';
61
- export type { GoabSpinnerType, GoabSpinnerSize, GoabRadioGroupOnChangeDetail, GoabInputOnChangeDetail, GoabInputOnFocusDetail, GoaInputOnBlurDetail, GoabInputAutoCapitalize, GoabInputOnKeyPressDetail, GoabFormStepperOnChangeDetail, GoabFileUploadInputOnSelectFileDetail, GoabFileUploadOnCancelDetail, GoabFileUploadOnDeleteDetail, GoabDropdownItemMountType, GoabDropdownOnChangeDetail, GoabDatePickerOnChangeDetail, GoabChipVariant, GoabChipTheme, GoabFilterChipTheme, GoabCheckboxOnChangeDetail, GoabCalendarOnChangeDetail, GoabBadgeType, GoabPaginationVariant, GoabPaginationOnChangeDetail, GoabFormStepperType, GoabFormStepStatus, GoabFormItemLabelSize, GoabFormItemRequirement, GoabFileUploadInputVariant, GoabContainerAccent, GoabContainerPadding, GoabContainerType, GoabContainerWidth, GoabCalloutType, GoabCalloutSize, GoabCalloutAriaLive, GoabCalloutIconTheme, GoabButtonType, GoabButtonSize, GoabButtonVariant, GoabButtonGroupAlignment, GoabButtonGroupGap, GoabAccordionHeadingSize, GoabAccordionIconPosition, GoabTooltipPosition, GoabTooltipHorizontalAlignment, GoabTextAreaCountBy, GoabTextAreaOnChangeDetail, GoabTextAreaOnKeyPressDetail, GoabTabsProps, GoabTabsOnChangeDetail, GoabTableVariant, GoabTableSortDirection, GoabTableProps, GoabTableOnSortDetail, GoabSpacerHorizontalSpacing, GoabSpacerVerticalSpacing, GoabSpacerProps, GoabSkeletonProps, GoabSkeletonType, GoabSkeletonSize, GoabRadioGroupOrientation, GoabRadioGroupProps, GoabRadioItemProps, GoabCircularProgressVariant, GoabCircularProgressSize, GoabPopoverPosition, GoabPopoverProps, GoabNotificationType, GoabAriaLiveType, GoabServiceLevel, GoabLinkTarget, GoabModalRole, GoabModalTransition, GoabModalCalloutVariant, GoabDate, GoabInputType, GoabAutoCapitalize, OnChange, OnFocus, OnBlur, OnKeyPress, GoabInputProps, GoabNumberInputProps, GoabDateInputProps, GoabIconFilledType, GoabIconType, GoabIconSize, GoabIconTheme, GoabIconButtonVariant, GoabIconVariant, NumericSpacing, TShirtSpacing, Spacing, Margins, GoabBlockDirection, GoabBlockAlignment, GoabLinkButtonType, GoabTextMaxWidth, GoabTextHeadingElement, GoabTextTextElement, GoabTextHeadingSize, GoabTextBodySize, GoabTextSize, GoabFielsetOnContinueDetail, GoabFormField, GoabFormState, GoabFormStorageType, GoabFormOnMountDetail, GoabFormOnStateChange, } from '@abgov/ui-components-common';
61
+ export type { GoabSpinnerType, GoabSpinnerSize, GoabRadioGroupOnChangeDetail, GoabInputOnChangeDetail, GoabInputOnFocusDetail, GoaInputOnBlurDetail, GoabInputAutoCapitalize, GoabInputOnKeyPressDetail, GoabFormStepperOnChangeDetail, GoabFileUploadInputOnSelectFileDetail, GoabFileUploadOnCancelDetail, GoabFileUploadOnDeleteDetail, GoabDropdownItemMountType, GoabDropdownOnChangeDetail, GoabDatePickerOnChangeDetail, GoabChipVariant, GoabChipTheme, GoabFilterChipTheme, GoabCheckboxOnChangeDetail, GoabCalendarOnChangeDetail, GoabBadgeType, GoabPaginationVariant, GoabPaginationOnChangeDetail, GoabFormStepperType, GoabFormStepStatus, GoabFormItemLabelSize, GoabFormItemRequirement, GoabFileUploadInputVariant, GoabContainerAccent, GoabContainerPadding, GoabContainerType, GoabContainerWidth, GoabCalloutType, GoabCalloutSize, GoabCalloutAriaLive, GoabCalloutIconTheme, GoabButtonType, GoabButtonSize, GoabButtonVariant, GoabButtonGroupAlignment, GoabButtonGroupGap, GoabAccordionHeadingSize, GoabAccordionIconPosition, GoabTooltipPosition, GoabTooltipHorizontalAlignment, GoabTextAreaCountBy, GoabTextAreaOnChangeDetail, GoabTextAreaOnKeyPressDetail, GoabTabsProps, GoabTabsOnChangeDetail, GoabTableVariant, GoabTableSortDirection, GoabTableProps, GoabTableOnSortDetail, GoabSpacerHorizontalSpacing, GoabSpacerVerticalSpacing, GoabSpacerProps, GoabSkeletonProps, GoabSkeletonType, GoabSkeletonSize, GoabRadioGroupOrientation, GoabRadioGroupProps, GoabRadioItemProps, GoabCircularProgressVariant, GoabCircularProgressSize, GoabPopoverPosition, GoabPopoverProps, GoabNotificationType, GoabAriaLiveType, GoabServiceLevel, GoabLinkTarget, GoabModalRole, GoabModalTransition, GoabModalCalloutVariant, GoabDate, GoabInputType, GoabAutoCapitalize, OnChange, OnFocus, OnBlur, OnKeyPress, GoabInputProps, GoabNumberInputProps, GoabDateInputProps, GoabIconFilledType, GoabIconType, GoabIconSize, GoabIconTheme, GoabIconButtonVariant, GoabIconVariant, NumericSpacing, TShirtSpacing, Spacing, Margins, GoabBlockDirection, GoabBlockAlignment, GoabLinkButtonType, GoabTextMaxWidth, GoabTextHeadingElement, GoabTextTextElement, GoabTextHeadingSize, GoabTextBodySize, GoabTextSize, GoabTextColor, GoabFielsetOnContinueDetail, GoabFormField, GoabFormState, GoabFormStorageType, GoabFormOnMountDetail, GoabFormOnStateChange, } from '@abgov/ui-components-common';
package/index.js CHANGED
@@ -11,7 +11,7 @@ function GoabAccordion({
11
11
  headingContent,
12
12
  iconPosition,
13
13
  maxWidth,
14
- testid,
14
+ testId,
15
15
  onChange,
16
16
  children,
17
17
  mt,
@@ -43,7 +43,7 @@ function GoabAccordion({
43
43
  secondarytext: secondaryText,
44
44
  iconposition: iconPosition,
45
45
  maxwidth: maxWidth,
46
- testid,
46
+ testid: testId,
47
47
  mt,
48
48
  mr,
49
49
  mb,
@@ -2923,12 +2923,13 @@ function GoabInputNumber({
2923
2923
  function GoabInputRange(props) {
2924
2924
  return /* @__PURE__ */ jsxRuntime.jsx(GoabInput, { ...props, type: "range" });
2925
2925
  }
2926
- function GoALink(props) {
2926
+ function GoabLink(props) {
2927
2927
  return /* @__PURE__ */ jsxRuntime.jsx(
2928
2928
  "goa-link",
2929
2929
  {
2930
2930
  leadingicon: props.leadingIcon,
2931
2931
  trailingicon: props.trailingIcon,
2932
+ testid: props.testId,
2932
2933
  mt: props.mt,
2933
2934
  mb: props.mb,
2934
2935
  ml: props.ml,
@@ -3399,9 +3400,10 @@ function GoabText(props) {
3399
3400
  return /* @__PURE__ */ jsxRuntime.jsx(
3400
3401
  "goa-text",
3401
3402
  {
3402
- as: props.as || "div",
3403
+ as: props.as,
3403
3404
  size: props.size,
3404
- maxwidth: props.maxWidth || "65ch",
3405
+ maxwidth: props.maxWidth,
3406
+ color: props.color,
3405
3407
  mt: props.mt,
3406
3408
  mb: props.mb,
3407
3409
  ml: props.ml,
@@ -3410,7 +3412,7 @@ function GoabText(props) {
3410
3412
  }
3411
3413
  );
3412
3414
  }
3413
- function GoabTextarea({
3415
+ function GoabTextArea({
3414
3416
  name,
3415
3417
  value,
3416
3418
  placeholder,
@@ -3570,7 +3572,6 @@ const GoabFilterChip = ({
3570
3572
  );
3571
3573
  };
3572
3574
  exports.GoabIcon = icon.GoabIcon;
3573
- exports.GoALink = GoALink;
3574
3575
  exports.GoALinkButton = GoALinkButton;
3575
3576
  exports.GoabAccordion = GoabAccordion;
3576
3577
  exports.GoabAppFooter = GoabAppFooter;
@@ -3622,6 +3623,7 @@ exports.GoabInputTel = GoabInputTel;
3622
3623
  exports.GoabInputText = GoabInputText;
3623
3624
  exports.GoabInputTime = GoabInputTime;
3624
3625
  exports.GoabInputUrl = GoabInputUrl;
3626
+ exports.GoabLink = GoabLink;
3625
3627
  exports.GoabMicrositeHeader = GoabMicrositeHeader;
3626
3628
  exports.GoabModal = GoabModal;
3627
3629
  exports.GoabNotification = GoabNotification;
@@ -3644,7 +3646,8 @@ exports.GoabTable = GoabTable;
3644
3646
  exports.GoabTableSortHeader = GoabTableSortHeader;
3645
3647
  exports.GoabTabs = GoabTabs;
3646
3648
  exports.GoabText = GoabText;
3647
- exports.GoabTextarea = GoabTextarea;
3649
+ exports.GoabTextArea = GoabTextArea;
3650
+ exports.GoabTextarea = GoabTextArea;
3648
3651
  exports.GoabThreeColumnLayout = GoabThreeColumnLayout;
3649
3652
  exports.GoabTooltip = GoabTooltip;
3650
3653
  exports.GoabTwoColumnLayout = GoabTwoColumnLayout;