@abgov/react-components 3.4.0-alpha.55 → 3.4.0-alpha.58

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.
@@ -1,7 +1,7 @@
1
1
  import React, { FC } from 'react';
2
2
  interface WCProps {
3
3
  ref: React.RefObject<HTMLElement>;
4
- title?: string;
4
+ heading?: string;
5
5
  open?: boolean;
6
6
  width?: string;
7
7
  closable?: boolean;
@@ -15,7 +15,7 @@ declare global {
15
15
  }
16
16
  }
17
17
  interface Props {
18
- title?: string;
18
+ heading?: string;
19
19
  width?: string;
20
20
  actions?: React.ReactElement;
21
21
  onClose?: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "3.4.0-alpha.55",
3
+ "version": "3.4.0-alpha.58",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"
@@ -601,7 +601,7 @@ const GoAMicrositeHeader = ({
601
601
  };
602
602
 
603
603
  const GoAModal = ({
604
- title,
604
+ heading,
605
605
  children,
606
606
  open,
607
607
  width,
@@ -627,7 +627,7 @@ const GoAModal = ({
627
627
  }, [el, onClose]);
628
628
  return jsxs("goa-modal", Object.assign({
629
629
  ref: el,
630
- title: title,
630
+ heading: heading,
631
631
  open: open,
632
632
  closable: !!onClose,
633
633
  scrollable: true,
@@ -610,7 +610,7 @@
610
610
  };
611
611
 
612
612
  var GoAModal = function GoAModal(_a) {
613
- var title = _a.title,
613
+ var heading = _a.heading,
614
614
  children = _a.children,
615
615
  open = _a.open,
616
616
  width = _a.width,
@@ -635,7 +635,7 @@
635
635
  }, [el, onClose]);
636
636
  return jsxRuntime.jsxs("goa-modal", __assign({
637
637
  ref: el,
638
- title: title,
638
+ heading: heading,
639
639
  open: open,
640
640
  closable: !!onClose,
641
641
  scrollable: true,