@bcgov/design-system-react-components 0.1.4-pr476 → 0.1.4

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,3 +1,4 @@
1
+ import React from "react";
1
2
  import "./Footer.css";
2
3
  export interface FooterLinksProps {
3
4
  /**
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren } from "react";
1
+ import React from "react";
2
2
  import "./Header.css";
3
3
  export interface HeaderProps {
4
4
  /**
@@ -26,4 +26,4 @@ export interface HeaderProps {
26
26
  */
27
27
  titleElement?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "span" | "p";
28
28
  }
29
- export default function Header({ children, logoLinkElement, logoImage, skipLinks, title, titleElement, }: PropsWithChildren<HeaderProps>): import("react/jsx-runtime").JSX.Element;
29
+ export default function Header({ children, logoLinkElement, logoImage, skipLinks, title, titleElement, }: React.PropsWithChildren<HeaderProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import "./InlineAlert.css";
2
3
  export interface InlineAlertProps extends React.PropsWithChildren {
3
4
  variant?: "info" | "success" | "warning" | "danger";
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { Key, ListBoxItemProps as ReactAriaListBoxItemProps, SelectProps as ReactAriaSelectProps, ValidationResult } from "react-aria-components";
2
3
  import "./Select.css";
3
4
  export interface ListBoxItemProps extends ReactAriaListBoxItemProps {
package/dist/esm/index.js CHANGED
@@ -13950,7 +13950,7 @@ function Header({ children, logoLinkElement, logoImage = jsx(SvgBcLogo, { id: "b
13950
13950
  function getLogo() {
13951
13951
  if (!logoLinkElement)
13952
13952
  return (jsx("a", { href: "/", title: "Government of British Columbia", children: logoImage }));
13953
- return cloneElement(logoLinkElement, { children: logoImage });
13953
+ return $dbSRa$react.cloneElement(logoLinkElement, { children: logoImage });
13954
13954
  }
13955
13955
  function getTitle() {
13956
13956
  switch (titleElement) {