@abgov/react-components 6.5.0-alpha.1 → 6.5.0-alpha.2

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 (82) hide show
  1. package/experimental/form/form.d.ts +1 -2
  2. package/experimental/form/task-list.d.ts +1 -2
  3. package/experimental/form/task.d.ts +1 -2
  4. package/experimental/resizable-panel/ResizablePanel.d.ts +0 -1
  5. package/experimental.js.map +1 -1
  6. package/experimental.mjs.map +1 -1
  7. package/icon-CK55b563.js.map +1 -1
  8. package/icon-CoYGOp1V.mjs.map +1 -1
  9. package/index.js +4 -10
  10. package/index.js.map +1 -1
  11. package/index.mjs +4 -10
  12. package/index.mjs.map +1 -1
  13. package/lib/accordion/accordion.d.ts +1 -2
  14. package/lib/app-header/app-header.d.ts +0 -1
  15. package/lib/app-header-menu/app-header-menu.d.ts +1 -2
  16. package/lib/badge/badge.d.ts +1 -2
  17. package/lib/block/block.d.ts +1 -2
  18. package/lib/button/button.d.ts +1 -2
  19. package/lib/button-group/button-group.d.ts +1 -2
  20. package/lib/calendar/calendar.d.ts +1 -2
  21. package/lib/callout/callout.d.ts +0 -1
  22. package/lib/card/card-actions.d.ts +0 -1
  23. package/lib/card/card-content.d.ts +0 -1
  24. package/lib/card/card-group.d.ts +0 -1
  25. package/lib/card/card-image.d.ts +0 -1
  26. package/lib/card/card.d.ts +1 -2
  27. package/lib/checkbox/checkbox.d.ts +1 -2
  28. package/lib/chip/chip.d.ts +0 -1
  29. package/lib/circular-progress/circular-progress.d.ts +0 -1
  30. package/lib/container/container.d.ts +1 -2
  31. package/lib/date-picker/date-picker.d.ts +1 -2
  32. package/lib/details/details.d.ts +1 -2
  33. package/lib/divider/divider.d.ts +0 -1
  34. package/lib/drawer/drawer.d.ts +1 -2
  35. package/lib/dropdown/dropdown-item.d.ts +0 -1
  36. package/lib/dropdown/dropdown.d.ts +1 -2
  37. package/lib/file-upload-card/file-upload-card.d.ts +0 -1
  38. package/lib/file-upload-input/file-upload-input.d.ts +0 -1
  39. package/lib/filter-chip/filter-chip.d.ts +0 -1
  40. package/lib/footer/footer.d.ts +0 -1
  41. package/lib/footer-meta-section/footer-meta-section.d.ts +0 -1
  42. package/lib/footer-nav-section/footer-nav-section.d.ts +0 -1
  43. package/lib/form/fieldset.d.ts +1 -2
  44. package/lib/form/public-form-page.d.ts +4 -4
  45. package/lib/form/public-form.d.ts +2 -3
  46. package/lib/form-item/form-item.d.ts +1 -2
  47. package/lib/form-step/form-step.d.ts +0 -1
  48. package/lib/form-stepper/form-stepper.d.ts +1 -2
  49. package/lib/grid/grid.d.ts +1 -2
  50. package/lib/hero-banner/hero-banner-actions.d.ts +0 -1
  51. package/lib/hero-banner/hero-banner.d.ts +0 -1
  52. package/lib/icon/icon.d.ts +1 -2
  53. package/lib/icon-button/icon-button.d.ts +1 -2
  54. package/lib/input/input.d.ts +1 -2
  55. package/lib/link/link.d.ts +1 -2
  56. package/lib/link-button/link-button.d.ts +1 -2
  57. package/lib/microsite-header/microsite-header.d.ts +1 -2
  58. package/lib/modal/modal.d.ts +1 -2
  59. package/lib/notification/notification.d.ts +0 -1
  60. package/lib/one-column-layout/one-column-layout.d.ts +0 -1
  61. package/lib/page-block/page-block.d.ts +0 -1
  62. package/lib/pages/pages.d.ts +1 -2
  63. package/lib/pagination/pagination.d.ts +0 -1
  64. package/lib/popover/popover.d.ts +1 -2
  65. package/lib/radio-group/radio-group.d.ts +1 -2
  66. package/lib/radio-group/radio.d.ts +1 -2
  67. package/lib/side-menu/side-menu.d.ts +0 -1
  68. package/lib/side-menu-group/side-menu-group.d.ts +1 -2
  69. package/lib/side-menu-heading/side-menu-heading.d.ts +1 -2
  70. package/lib/skeleton/skeleton.d.ts +0 -1
  71. package/lib/spacer/spacer.d.ts +0 -1
  72. package/lib/spinner/spinner.d.ts +1 -2
  73. package/lib/tab/tab.d.ts +0 -1
  74. package/lib/table/table-sort-header.d.ts +1 -2
  75. package/lib/table/table.d.ts +1 -2
  76. package/lib/tabs/tabs.d.ts +1 -2
  77. package/lib/text/text.d.ts +1 -2
  78. package/lib/textarea/textarea.d.ts +1 -2
  79. package/lib/three-column-layout/three-column-layout.d.ts +0 -1
  80. package/lib/tooltip/tooltip.d.ts +1 -2
  81. package/lib/two-column-layout/two-column-layout.d.ts +0 -1
  82. package/package.json +1 -1
@@ -1,6 +1,5 @@
1
- import { GoabAccordionHeadingSize, GoabAccordionIconPosition, Margins } from '@abgov/ui-components-common';
2
1
  import { ReactNode, JSX } from 'react';
3
-
2
+ import { GoabAccordionHeadingSize, GoabAccordionIconPosition, Margins } from '@abgov/ui-components-common';
4
3
  interface WCProps extends Margins {
5
4
  ref: React.RefObject<HTMLElement | null>;
6
5
  open?: string;
@@ -1,5 +1,4 @@
1
1
  import { JSX } from 'react';
2
-
3
2
  interface WCProps {
4
3
  heading?: string;
5
4
  url?: string;
@@ -1,6 +1,5 @@
1
- import { GoabIconType } from '@abgov/ui-components-common';
2
1
  import { ReactNode } from 'react';
3
-
2
+ import { GoabIconType } from '@abgov/ui-components-common';
4
3
  interface WCProps {
5
4
  heading: string;
6
5
  leadingicon?: GoabIconType;
@@ -1,6 +1,5 @@
1
- import { JSX } from 'react';
2
1
  import { GoabBadgeType, Margins } from '@abgov/ui-components-common';
3
-
2
+ import { JSX } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  type: GoabBadgeType;
6
5
  icon?: string;
@@ -1,6 +1,5 @@
1
- import { ReactNode } from 'react';
2
1
  import { GoabBlockAlignment, GoabBlockDirection, Margins, Spacing } from '@abgov/ui-components-common';
3
-
2
+ import { ReactNode } from 'react';
4
3
  export interface WCProps extends Margins {
5
4
  gap?: Spacing;
6
5
  direction?: GoabBlockDirection;
@@ -1,6 +1,5 @@
1
- import { GoabButtonSize, GoabButtonType, GoabButtonVariant, GoabIconType, Margins } from '@abgov/ui-components-common';
2
1
  import { ReactNode, JSX } from 'react';
3
-
2
+ import { GoabButtonSize, GoabButtonType, GoabButtonVariant, GoabIconType, Margins } from '@abgov/ui-components-common';
4
3
  interface WCProps extends Margins {
5
4
  type?: GoabButtonType;
6
5
  size?: GoabButtonSize;
@@ -1,6 +1,5 @@
1
- import { JSX } from 'react';
2
1
  import { GoabButtonGroupAlignment, GoabButtonGroupGap, Margins } from '@abgov/ui-components-common';
3
-
2
+ import { JSX } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  alignment: GoabButtonGroupAlignment;
6
5
  gap?: GoabButtonGroupGap;
@@ -1,6 +1,5 @@
1
- import { GoabCalendarOnChangeDetail, Margins } from '@abgov/ui-components-common';
2
1
  import { JSX } from 'react';
3
-
2
+ import { GoabCalendarOnChangeDetail, Margins } from '@abgov/ui-components-common';
4
3
  interface WCProps extends Margins {
5
4
  ref: React.RefObject<HTMLElement | null>;
6
5
  name?: string;
@@ -1,5 +1,4 @@
1
1
  import { GoabCalloutAriaLive, GoabCalloutSize, GoabCalloutType, GoabCalloutIconTheme, Margins } from '@abgov/ui-components-common';
2
-
3
2
  interface WCProps extends Margins {
4
3
  heading?: string;
5
4
  type?: GoabCalloutType;
@@ -1,5 +1,4 @@
1
1
  import { JSX } from 'react';
2
-
3
2
  declare module "react" {
4
3
  namespace JSX {
5
4
  interface IntrinsicElements {
@@ -1,5 +1,4 @@
1
1
  import { JSX } from 'react';
2
-
3
2
  declare module "react" {
4
3
  namespace JSX {
5
4
  interface IntrinsicElements {
@@ -1,5 +1,4 @@
1
1
  import { JSX } from 'react';
2
-
3
2
  declare module "react" {
4
3
  namespace JSX {
5
4
  interface IntrinsicElements {
@@ -1,5 +1,4 @@
1
1
  import { JSX } from 'react';
2
-
3
2
  interface WCProps {
4
3
  src: string;
5
4
  height: string;
@@ -1,6 +1,5 @@
1
- import { JSX } from 'react';
2
1
  import { Margins } from '@abgov/ui-components-common';
3
-
2
+ import { JSX } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  elevation?: number;
6
5
  width?: string;
@@ -1,6 +1,5 @@
1
- import { JSX } from 'react';
2
1
  import { GoabCheckboxOnChangeDetail, Margins } from '@abgov/ui-components-common';
3
-
2
+ import { JSX } from 'react';
4
3
  declare module "react" {
5
4
  namespace JSX {
6
5
  interface IntrinsicElements {
@@ -1,5 +1,4 @@
1
1
  import { GoabChipTheme, GoabChipVariant, Margins } from '@abgov/ui-components-common';
2
-
3
2
  interface WCProps extends Margins {
4
3
  ref: React.RefObject<HTMLElement | null>;
5
4
  leadingicon?: string;
@@ -1,5 +1,4 @@
1
1
  import { GoabCircularProgressSize, GoabCircularProgressVariant } from '@abgov/ui-components-common';
2
-
3
2
  interface WCProps {
4
3
  variant?: GoabCircularProgressVariant;
5
4
  size?: GoabCircularProgressSize;
@@ -1,6 +1,5 @@
1
- import { ReactNode, JSX } from 'react';
2
1
  import { GoabContainerAccent, GoabContainerPadding, GoabContainerType, GoabContainerWidth, Margins } from '@abgov/ui-components-common';
3
-
2
+ import { ReactNode, JSX } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  type?: GoabContainerType;
6
5
  accent?: GoabContainerAccent;
@@ -1,6 +1,5 @@
1
- import { GoabDatePickerOnChangeDetail, Margins } from '@abgov/ui-components-common';
2
1
  import { JSX } from 'react';
3
-
2
+ import { GoabDatePickerOnChangeDetail, Margins } from '@abgov/ui-components-common';
4
3
  interface WCProps extends Margins {
5
4
  ref: React.RefObject<HTMLElement | null>;
6
5
  name?: string;
@@ -1,6 +1,5 @@
1
- import { ReactNode } from 'react';
2
1
  import { Margins } from '@abgov/ui-components-common';
3
-
2
+ import { ReactNode } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  heading: string;
6
5
  open?: string;
@@ -1,5 +1,4 @@
1
1
  import { Margins } from '@abgov/ui-components-common';
2
-
3
2
  interface WCProps extends Margins {
4
3
  testid?: string;
5
4
  }
@@ -1,6 +1,5 @@
1
- import { GoabDrawerPosition, GoabDrawerSize } from '@abgov/ui-components-common';
2
1
  import { ReactNode, JSX } from 'react';
3
-
2
+ import { GoabDrawerPosition, GoabDrawerSize } from '@abgov/ui-components-common';
4
3
  interface WCProps {
5
4
  position: GoabDrawerPosition;
6
5
  open?: boolean;
@@ -1,5 +1,4 @@
1
1
  import { GoabDropdownItemMountType } from '@abgov/ui-components-common';
2
-
3
2
  interface WCProps {
4
3
  value: string;
5
4
  label?: string;
@@ -1,6 +1,5 @@
1
- import { JSX } from 'react';
2
1
  import { GoabDropdownOnChangeDetail, GoabIconType, Margins } from '@abgov/ui-components-common';
3
-
2
+ import { JSX } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  ref: React.RefObject<HTMLElement | null>;
6
5
  arialabel?: string;
@@ -1,5 +1,4 @@
1
1
  import { GoabFileUploadOnCancelDetail, GoabFileUploadOnDeleteDetail } from '@abgov/ui-components-common';
2
-
3
2
  interface WCProps {
4
3
  ref: React.RefObject<HTMLElement | null>;
5
4
  filename: string;
@@ -1,5 +1,4 @@
1
1
  import { GoabFileUploadInputOnSelectFileDetail, GoabFileUploadInputVariant } from '@abgov/ui-components-common';
2
-
3
2
  interface WCProps {
4
3
  ref: React.RefObject<HTMLElement | null>;
5
4
  variant?: GoabFileUploadInputVariant;
@@ -1,5 +1,4 @@
1
1
  import { Margins, GoabFilterChipTheme } from '@abgov/ui-components-common';
2
-
3
2
  interface WCProps extends Margins {
4
3
  ref: React.RefObject<HTMLElement | null>;
5
4
  icontheme: GoabFilterChipTheme;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode, JSX } from 'react';
2
-
3
2
  interface WCProps {
4
3
  maxcontentwidth?: string;
5
4
  testid?: string;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  interface WCProps {
4
3
  testid?: string;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  interface WCProps {
4
3
  maxcolumncount?: number;
5
4
  heading?: string;
@@ -1,6 +1,5 @@
1
- import { GoabFieldsetOnChangeDetail, GoabFieldsetOnContinueDetail, GoabFormDispatchOn, Margins } from '@abgov/ui-components-common';
2
1
  import { ReactNode } from 'react';
3
-
2
+ import { GoabFieldsetOnChangeDetail, GoabFieldsetOnContinueDetail, GoabFormDispatchOn, Margins } from '@abgov/ui-components-common';
4
3
  interface WCProps extends Margins {
5
4
  ref?: React.RefObject<HTMLElement | null>;
6
5
  id?: string;
@@ -1,6 +1,5 @@
1
- import { GoabPublicFormPageButtonVisibility, GoabPublicFormPageOnFieldsetChangeDetail, GoabPublicFormPageOnCompleteDetail, GoabPublicFormPageOnContinueDetail, GoabPublicFormPageStep, Margins } from '@abgov/ui-components-common';
2
1
  import { ReactNode } from 'react';
3
-
2
+ import { GoabPublicFormPageButtonVisibility, GoabPublicFormPageOnFieldsetChangeDetail, GoabPublicFormPageOnCompleteDetail, GoabPublicFormPageStep, Margins } from '@abgov/ui-components-common';
4
3
  interface WCProps extends Margins {
5
4
  ref?: React.RefObject<HTMLElement | null>;
6
5
  id?: string;
@@ -38,11 +37,12 @@ interface GoabPublicFormPageProps extends Margins {
38
37
  * Triggered when the form page continues to the next step
39
38
  * @param event - The continue event details
40
39
  */
41
- onContinue?: (event: GoabPublicFormPageOnContinueDetail) => void;
40
+ onContinue?: (event: Event) => void;
42
41
  /**
43
42
  * Triggered when the user clicks the back link
43
+ * @param event: The back event details
44
44
  */
45
- onBack?: () => void;
45
+ onBack?: (event: Event) => void;
46
46
  /**
47
47
  * Triggered when the form fieldset content changes
48
48
  * @param event - The fieldset change event details
@@ -1,6 +1,5 @@
1
- import { GoabFormState, GoabPublicFormOnInitDetail, GoabPublicFormStatus } from '@abgov/ui-components-common';
2
1
  import { ReactNode } from 'react';
3
-
2
+ import { GoabFormState, GoabPublicFormStatus } from '@abgov/ui-components-common';
4
3
  interface WCProps {
5
4
  ref?: React.RefObject<HTMLElement | null>;
6
5
  status?: string;
@@ -16,7 +15,7 @@ declare module "react" {
16
15
  interface GoabPublicFormProps {
17
16
  status?: GoabPublicFormStatus;
18
17
  name?: string;
19
- onInit?: (event: GoabPublicFormOnInitDetail) => void;
18
+ onInit?: (event: Event) => void;
20
19
  onComplete?: (event: GoabFormState) => void;
21
20
  onStateChange?: (event: GoabFormState) => void;
22
21
  children: ReactNode;
@@ -1,6 +1,5 @@
1
- import { JSX } from 'react';
2
1
  import { GoabFormItemLabelSize, GoabFormItemRequirement, Margins } from '@abgov/ui-components-common';
3
-
2
+ import { JSX } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  label?: string;
6
5
  labelsize?: GoabFormItemLabelSize;
@@ -1,5 +1,4 @@
1
1
  import { GoabFormStepStatus } from '@abgov/ui-components-common';
2
-
3
2
  interface WCProps {
4
3
  text: string;
5
4
  status?: GoabFormStepStatus;
@@ -1,6 +1,5 @@
1
- import { ReactNode } from 'react';
2
1
  import { GoabFormStepperOnChangeDetail, Margins } from '@abgov/ui-components-common';
3
-
2
+ import { ReactNode } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  ref?: React.RefObject<HTMLElement | null>;
6
5
  step?: number;
@@ -1,6 +1,5 @@
1
- import { JSX } from 'react';
2
1
  import { Margins, Spacing } from '@abgov/ui-components-common';
3
-
2
+ import { JSX } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  gap?: Spacing;
6
5
  minchildwidth: string;
@@ -1,5 +1,4 @@
1
1
  import { JSX } from 'react';
2
-
3
2
  export type GoabHeroBannerActionsType = {
4
3
  children?: React.ReactNode;
5
4
  };
@@ -1,5 +1,4 @@
1
1
  import { JSX } from 'react';
2
-
3
2
  interface WCProps {
4
3
  heading: string;
5
4
  backgroundurl?: string;
@@ -1,6 +1,5 @@
1
- import { JSX } from 'react';
2
1
  import { GoabIconFilledType, GoabIconSize, GoabIconTheme, GoabIconType, Margins } from '@abgov/ui-components-common';
3
-
2
+ import { JSX } from 'react';
4
3
  interface IonIconProps {
5
4
  name: GoabIconType | GoabIconFilledType;
6
5
  }
@@ -1,6 +1,5 @@
1
- import { JSX, ReactNode } from 'react';
2
1
  import { GoabIconButtonVariant, GoabIconSize, GoabIconType, Margins } from '@abgov/ui-components-common';
3
-
2
+ import { JSX, ReactNode } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  ref: React.RefObject<HTMLElement | null>;
6
5
  icon: GoabIconType;
@@ -1,6 +1,5 @@
1
- import { GoabAutoCapitalize, GoabDate, GoabIconType, GoaInputOnBlurDetail, GoabInputOnChangeDetail, GoabInputOnFocusDetail, GoabInputOnKeyPressDetail, GoabInputType, Margins } from '@abgov/ui-components-common';
2
1
  import { JSX } from 'react';
3
-
2
+ import { GoabAutoCapitalize, GoabDate, GoabIconType, GoaInputOnBlurDetail, GoabInputOnChangeDetail, GoabInputOnFocusDetail, GoabInputOnKeyPressDetail, GoabInputType, Margins } from '@abgov/ui-components-common';
4
3
  export interface IgnoreMe {
5
4
  ignore: string;
6
5
  }
@@ -1,6 +1,5 @@
1
- import { GoabIconType, Margins } from '@abgov/ui-components-common';
2
1
  import { ReactNode } from 'react';
3
-
2
+ import { GoabIconType, Margins } from '@abgov/ui-components-common';
4
3
  interface WCProps extends Margins {
5
4
  leadingicon?: GoabIconType;
6
5
  trailingicon?: GoabIconType;
@@ -1,6 +1,5 @@
1
- import { GoabIconType, GoabLinkButtonType, Margins } from '@abgov/ui-components-common';
2
1
  import { ReactNode } from 'react';
3
-
2
+ import { GoabIconType, GoabLinkButtonType, Margins } from '@abgov/ui-components-common';
4
3
  interface WCProps extends Margins {
5
4
  type?: GoabLinkButtonType;
6
5
  leadingicon?: GoabIconType;
@@ -1,6 +1,5 @@
1
- import { JSX } from 'react';
2
1
  import { GoabLinkTarget, GoabServiceLevel } from '@abgov/ui-components-common';
3
-
2
+ import { JSX } from 'react';
4
3
  declare module "react" {
5
4
  namespace JSX {
6
5
  interface IntrinsicElements {
@@ -1,6 +1,5 @@
1
- import { ReactElement, ReactNode, RefObject, JSX } from 'react';
2
1
  import { GoabModalCalloutVariant, GoabModalRole, GoabModalTransition } from '@abgov/ui-components-common';
3
-
2
+ import { ReactElement, ReactNode, RefObject, JSX } from 'react';
4
3
  interface WCProps {
5
4
  ref: RefObject<HTMLElement | null>;
6
5
  heading?: ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { GoabAriaLiveType, GoabNotificationType } from '@abgov/ui-components-common';
2
-
3
2
  interface WCProps {
4
3
  ref: React.RefObject<HTMLElement | null>;
5
4
  type: GoabNotificationType;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode, JSX } from 'react';
2
-
3
2
  declare module "react" {
4
3
  namespace JSX {
5
4
  interface IntrinsicElements {
@@ -1,5 +1,4 @@
1
1
  import { ReactNode, JSX } from 'react';
2
-
3
2
  interface WCProps {
4
3
  width: "full" | string;
5
4
  testid?: string;
@@ -1,6 +1,5 @@
1
- import { ReactNode, JSX } from 'react';
2
1
  import { Margins } from '@abgov/ui-components-common';
3
-
2
+ import { ReactNode, JSX } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  current?: number;
6
5
  }
@@ -1,5 +1,4 @@
1
1
  import { GoabPaginationOnChangeDetail, Margins } from '@abgov/ui-components-common';
2
-
3
2
  interface WCProps extends Margins {
4
3
  ref?: React.RefObject<HTMLElement | null>;
5
4
  itemcount: number;
@@ -1,6 +1,5 @@
1
- import { ReactNode, JSX } from 'react';
2
1
  import { GoabPopoverPosition, Margins } from '@abgov/ui-components-common';
3
-
2
+ import { ReactNode, JSX } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  maxwidth?: string;
6
5
  minwidth?: string;
@@ -1,6 +1,5 @@
1
- import { GoabRadioGroupOnChangeDetail, GoabRadioGroupOrientation, Margins } from '@abgov/ui-components-common';
2
1
  import { JSX } from 'react';
3
-
2
+ import { GoabRadioGroupOnChangeDetail, GoabRadioGroupOrientation, Margins } from '@abgov/ui-components-common';
4
3
  export * from './radio';
5
4
  interface WCProps extends Margins {
6
5
  ref: React.RefObject<HTMLElement | null>;
@@ -1,6 +1,5 @@
1
- import { JSX } from 'react';
2
1
  import { Margins } from '@abgov/ui-components-common';
3
-
2
+ import { JSX } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  name?: string;
6
5
  value?: string;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode, JSX } from 'react';
2
-
3
2
  interface WCProps {
4
3
  testid?: string;
5
4
  }
@@ -1,6 +1,5 @@
1
- import { GoabIconType, Margins } from '@abgov/ui-components-common';
2
1
  import { ReactNode, JSX } from 'react';
3
-
2
+ import { GoabIconType, Margins } from '@abgov/ui-components-common';
4
3
  interface WCProps extends Margins {
5
4
  heading: string;
6
5
  icon?: GoabIconType;
@@ -1,6 +1,5 @@
1
- import { ReactNode } from 'react';
2
1
  import { GoabIconType } from '@abgov/ui-components-common';
3
-
2
+ import { ReactNode } from 'react';
4
3
  interface WCProps {
5
4
  testid?: string;
6
5
  icon?: GoabIconType;
@@ -1,5 +1,4 @@
1
1
  import { GoabSkeletonSize, GoabSkeletonType, Margins } from '@abgov/ui-components-common';
2
-
3
2
  interface WCProps extends Margins {
4
3
  maxwidth?: string;
5
4
  size?: GoabSkeletonSize;
@@ -1,5 +1,4 @@
1
1
  import { GoabSpacerHorizontalSpacing, GoabSpacerVerticalSpacing } from '@abgov/ui-components-common';
2
-
3
2
  interface WCProps {
4
3
  hspacing?: GoabSpacerHorizontalSpacing;
5
4
  vspacing?: GoabSpacerVerticalSpacing;
@@ -1,6 +1,5 @@
1
- import { JSX } from 'react';
2
1
  import { GoabSpinnerSize, GoabSpinnerType } from '@abgov/ui-components-common';
3
-
2
+ import { JSX } from 'react';
4
3
  interface WCProps {
5
4
  size: GoabSpinnerSize;
6
5
  type: GoabSpinnerType;
package/lib/tab/tab.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { JSX } from 'react';
2
-
3
2
  interface WCProps {
4
3
  heading?: React.ReactNode;
5
4
  }
@@ -1,6 +1,5 @@
1
- import { JSX } from 'react';
2
1
  import { GoabTableSortDirection } from '@abgov/ui-components-common';
3
-
2
+ import { JSX } from 'react';
4
3
  interface WCProps {
5
4
  name?: string;
6
5
  direction?: GoabTableSortDirection;
@@ -1,6 +1,5 @@
1
- import { ReactNode } from 'react';
2
1
  import { GoabTableOnSortDetail, GoabTableVariant, Margins } from '@abgov/ui-components-common';
3
-
2
+ import { ReactNode } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  ref?: React.RefObject<HTMLElement | null>;
6
5
  width?: string;
@@ -1,6 +1,5 @@
1
- import { GoabTabsOnChangeDetail } from '@abgov/ui-components-common';
2
1
  import { default as React, JSX } from 'react';
3
-
2
+ import { GoabTabsOnChangeDetail } from '@abgov/ui-components-common';
4
3
  interface WCProps {
5
4
  initialtab?: number;
6
5
  ref: React.RefObject<HTMLElement | null>;
@@ -1,6 +1,5 @@
1
- import { GoabTextMaxWidth, GoabTextHeadingElement, GoabTextTextElement, GoabTextSize, GoabTextColor, Margins } from '@abgov/ui-components-common';
2
1
  import { ReactNode, JSX } from 'react';
3
-
2
+ import { GoabTextMaxWidth, GoabTextHeadingElement, GoabTextTextElement, GoabTextSize, GoabTextColor, Margins } from '@abgov/ui-components-common';
4
3
  interface WCProps extends Margins {
5
4
  as?: GoabTextTextElement | GoabTextHeadingElement;
6
5
  size?: GoabTextSize;
@@ -1,6 +1,5 @@
1
- import { JSX } from 'react';
2
1
  import { GoabTextAreaCountBy, GoabTextAreaOnChangeDetail, GoabTextAreaOnKeyPressDetail, Margins } from '@abgov/ui-components-common';
3
-
2
+ import { JSX } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  ref: React.Ref<HTMLTextAreaElement>;
6
5
  name: string;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  interface WCProps {
4
3
  leftcolumnwidth?: string;
5
4
  maxcontentwidth?: string;
@@ -1,6 +1,5 @@
1
- import { ReactNode, JSX } from 'react';
2
1
  import { GoabTooltipHorizontalAlignment, GoabTooltipPosition, Margins } from '@abgov/ui-components-common';
3
-
2
+ import { ReactNode, JSX } from 'react';
4
3
  interface WCProps extends Margins {
5
4
  position?: GoabTooltipPosition;
6
5
  content?: string;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  interface WCProps {
4
3
  navcolumnwidth?: string;
5
4
  maxcontentwidth?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "6.5.0-alpha.1",
3
+ "version": "6.5.0-alpha.2",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"