@canonical/maas-react-components 1.28.0 → 1.29.1

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 (116) hide show
  1. package/dist/@canonical/maas-react-components.es.js +2577 -1600
  2. package/dist/@canonical/maas-react-components.umd.js +14 -14
  3. package/dist/index.d.ts +1 -0
  4. package/dist/maas-react-components.css +1 -0
  5. package/dist/src/lib/components/DynamicTable/DynamicTable.d.ts +6 -7
  6. package/dist/src/lib/components/DynamicTable/DynamicTable.stories.d.ts +1 -1
  7. package/dist/src/lib/components/DynamicTable/index.d.ts +1 -1
  8. package/dist/src/lib/components/FadeInDown/FadeInDown.d.ts +1 -2
  9. package/dist/src/lib/components/FadeInDown/index.d.ts +1 -1
  10. package/dist/src/lib/components/FileUpload/FileUpload.d.ts +2 -3
  11. package/dist/src/lib/components/FileUpload/FileUpload.stories.d.ts +1 -1
  12. package/dist/src/lib/components/FileUpload/hooks.d.ts +2 -2
  13. package/dist/src/lib/components/FileUpload/index.d.ts +1 -1
  14. package/dist/src/lib/components/GenericTable/ColumnHeader/ColumnHeader.d.ts +7 -0
  15. package/dist/src/lib/components/GenericTable/ColumnHeader/index.d.ts +1 -0
  16. package/dist/src/lib/components/GenericTable/GenericTable.d.ts +77 -0
  17. package/dist/src/lib/components/GenericTable/GenericTable.stories.d.ts +14 -0
  18. package/dist/src/lib/components/GenericTable/GenericTable.test.d.ts +1 -0
  19. package/dist/src/lib/components/GenericTable/GroupRowActions/GroupRowActions.d.ts +7 -0
  20. package/dist/src/lib/components/GenericTable/GroupRowActions/GroupRowActions.test.d.ts +1 -0
  21. package/dist/src/lib/components/GenericTable/GroupRowActions/index.d.ts +1 -0
  22. package/dist/src/lib/components/GenericTable/PaginationBar/ControlsBar/ControlsBar.d.ts +7 -0
  23. package/dist/src/lib/components/GenericTable/PaginationBar/ControlsBar/index.d.ts +1 -0
  24. package/dist/src/lib/components/GenericTable/PaginationBar/PaginationBar.d.ts +13 -0
  25. package/dist/src/lib/components/GenericTable/PaginationBar/index.d.ts +2 -0
  26. package/dist/src/lib/components/GenericTable/SortingIndicator/SortingIndicator.d.ts +7 -0
  27. package/dist/src/lib/components/GenericTable/SortingIndicator/index.d.ts +1 -0
  28. package/dist/src/lib/components/GenericTable/TableCheckbox/TableCheckbox.d.ts +12 -0
  29. package/dist/src/lib/components/GenericTable/TableCheckbox/TableCheckbox.test.d.ts +1 -0
  30. package/dist/src/lib/components/GenericTable/TableCheckbox/index.d.ts +1 -0
  31. package/dist/src/lib/components/GenericTable/index.d.ts +1 -0
  32. package/dist/src/lib/components/MultiSelect/MultiSelect.d.ts +1 -2
  33. package/dist/src/lib/components/MultiSelect/MultiSelect.stories.d.ts +1 -1
  34. package/dist/src/lib/components/MultiSelect/index.d.ts +1 -1
  35. package/dist/src/lib/components/NestedFormGroup/NestedFormGroup.d.ts +1 -2
  36. package/dist/src/lib/components/NestedFormGroup/NestedFormGroup.stories.d.ts +2 -2
  37. package/dist/src/lib/components/NestedFormGroup/index.d.ts +1 -1
  38. package/dist/src/lib/components/Pagination/Pagination.d.ts +1 -2
  39. package/dist/src/lib/components/Pagination/Pagination.stories.d.ts +2 -2
  40. package/dist/src/lib/components/Pagination/index.d.ts +1 -1
  41. package/dist/src/lib/components/Stepper/Stepper.d.ts +2 -1
  42. package/dist/src/lib/components/Stepper/Stepper.stories.d.ts +1 -1
  43. package/dist/src/lib/components/Stepper/index.d.ts +1 -1
  44. package/dist/src/lib/components/TableCaption/TableCaption.d.ts +1 -1
  45. package/dist/src/lib/components/TableCaption/TableCaption.stories.d.ts +1 -1
  46. package/dist/src/lib/components/TableCaption/index.d.ts +1 -1
  47. package/dist/src/lib/components/index.d.ts +7 -7
  48. package/dist/src/lib/elements/ExternalLink/ExternalLink.d.ts +2 -2
  49. package/dist/src/lib/elements/ExternalLink/ExternalLink.stories.d.ts +2 -2
  50. package/dist/src/lib/elements/ExternalLink/index.d.ts +1 -1
  51. package/dist/src/lib/elements/Meter/Meter.d.ts +0 -1
  52. package/dist/src/lib/elements/Meter/Meter.stories.d.ts +2 -2
  53. package/dist/src/lib/elements/Meter/index.d.ts +1 -1
  54. package/dist/src/lib/elements/Placeholder/Placeholder.d.ts +1 -2
  55. package/dist/src/lib/elements/Placeholder/Placeholder.stories.d.ts +1 -1
  56. package/dist/src/lib/elements/Placeholder/index.d.ts +1 -1
  57. package/dist/src/lib/elements/ProgressIndicator/ProgressIndicator.d.ts +0 -2
  58. package/dist/src/lib/elements/ProgressIndicator/index.d.ts +1 -1
  59. package/dist/src/lib/elements/index.d.ts +4 -4
  60. package/dist/src/lib/index.d.ts +4 -4
  61. package/dist/src/lib/sections/ContentSection/ContentSection.d.ts +2 -3
  62. package/dist/src/lib/sections/ContentSection/ContentSection.stories.d.ts +1 -1
  63. package/dist/src/lib/sections/ContentSection/index.d.ts +1 -1
  64. package/dist/src/lib/sections/FormSection/FormSection.d.ts +0 -1
  65. package/dist/src/lib/sections/FormSection/FormSection.stories.d.ts +4 -4
  66. package/dist/src/lib/sections/FormSection/index.d.ts +1 -1
  67. package/dist/src/lib/sections/InputGroup/InputGroup.stories.d.ts +2 -2
  68. package/dist/src/lib/sections/InputGroup/index.d.ts +1 -1
  69. package/dist/src/lib/sections/MainToolbar/MainToolbar.d.ts +1 -2
  70. package/dist/src/lib/sections/MainToolbar/MainToolbar.stories.d.ts +1 -1
  71. package/dist/src/lib/sections/MainToolbar/index.d.ts +1 -1
  72. package/dist/src/lib/sections/Navigation/Banner/Banner.d.ts +1 -1
  73. package/dist/src/lib/sections/Navigation/Banner/Banner.stories.d.ts +1 -1
  74. package/dist/src/lib/sections/Navigation/CollapseToggle/CollapseToggle.d.ts +2 -1
  75. package/dist/src/lib/sections/Navigation/CollapseToggle/CollapseToggle.stories.d.ts +1 -1
  76. package/dist/src/lib/sections/Navigation/Content/Content.d.ts +1 -1
  77. package/dist/src/lib/sections/Navigation/Content/Content.stories.d.ts +1 -1
  78. package/dist/src/lib/sections/Navigation/Controls/Controls.d.ts +1 -1
  79. package/dist/src/lib/sections/Navigation/Controls/Controls.stories.d.ts +1 -1
  80. package/dist/src/lib/sections/Navigation/Drawer/Drawer.d.ts +1 -1
  81. package/dist/src/lib/sections/Navigation/Drawer/Drawer.stories.d.ts +1 -1
  82. package/dist/src/lib/sections/Navigation/Footer/Footer.d.ts +1 -1
  83. package/dist/src/lib/sections/Navigation/Footer/Footer.stories.d.ts +1 -1
  84. package/dist/src/lib/sections/Navigation/Header/Header.d.ts +1 -1
  85. package/dist/src/lib/sections/Navigation/Header/Header.stories.d.ts +1 -1
  86. package/dist/src/lib/sections/Navigation/Icon/Icon.stories.d.ts +1 -1
  87. package/dist/src/lib/sections/Navigation/Item/Item.d.ts +1 -1
  88. package/dist/src/lib/sections/Navigation/Item/Item.stories.d.ts +1 -1
  89. package/dist/src/lib/sections/Navigation/Label/Label.d.ts +1 -1
  90. package/dist/src/lib/sections/Navigation/Label/Label.stories.d.ts +1 -1
  91. package/dist/src/lib/sections/Navigation/Link/Link.d.ts +1 -1
  92. package/dist/src/lib/sections/Navigation/List/List.d.ts +1 -1
  93. package/dist/src/lib/sections/Navigation/List/List.stories.d.ts +1 -1
  94. package/dist/src/lib/sections/Navigation/Logo/Logo.d.ts +1 -1
  95. package/dist/src/lib/sections/Navigation/Logo/Logo.stories.d.ts +1 -1
  96. package/dist/src/lib/sections/Navigation/LogoIcon/LogoIcon.d.ts +3 -3
  97. package/dist/src/lib/sections/Navigation/LogoIcon/LogoIcon.stories.d.ts +1 -1
  98. package/dist/src/lib/sections/Navigation/LogoName/LogoName.d.ts +1 -1
  99. package/dist/src/lib/sections/Navigation/LogoName/LogoName.stories.d.ts +1 -1
  100. package/dist/src/lib/sections/Navigation/LogoTag/LogoTag.d.ts +1 -1
  101. package/dist/src/lib/sections/Navigation/LogoTag/LogoTag.stories.d.ts +1 -1
  102. package/dist/src/lib/sections/Navigation/LogoText/LogoText.d.ts +1 -1
  103. package/dist/src/lib/sections/Navigation/MenuButton/MenuButton.d.ts +2 -2
  104. package/dist/src/lib/sections/Navigation/MenuButton/MenuButton.stories.d.ts +1 -1
  105. package/dist/src/lib/sections/Navigation/Navigation.d.ts +20 -21
  106. package/dist/src/lib/sections/Navigation/Navigation.stories.d.ts +2 -2
  107. package/dist/src/lib/sections/Navigation/Text/Text.d.ts +1 -1
  108. package/dist/src/lib/sections/Navigation/index.d.ts +1 -1
  109. package/dist/src/lib/sections/index.d.ts +5 -5
  110. package/dist/src/lib/utils/formatBytes/formatBytes.stories.d.ts +1 -1
  111. package/dist/src/lib/utils/formatBytes/index.d.ts +1 -1
  112. package/dist/src/lib/utils/index.d.ts +1 -1
  113. package/dist/src/types.d.ts +1 -1
  114. package/package.json +41 -51
  115. package/dist/src/lib/sections/Navigation/Link/Link.stories.d.ts +0 -19
  116. package/dist/style.css +0 -1
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { MultiSelect } from './MultiSelect';
3
3
  declare const meta: Meta<typeof MultiSelect>;
4
4
  export default meta;
@@ -1 +1 @@
1
- export * from "./MultiSelect";
1
+ export * from './MultiSelect';
@@ -1,3 +1,2 @@
1
- import { AriaAttributes, PropsWithChildren } from "react";
2
- import "./NestedFormGroup.scss";
1
+ import { AriaAttributes, PropsWithChildren } from 'react';
3
2
  export declare const NestedFormGroup: ({ children, ...props }: PropsWithChildren & Pick<AriaAttributes, "aria-hidden">) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import type { Meta } from "@storybook/react";
2
- import { NestedFormGroup } from ".";
1
+ import { Meta } from '@storybook/react';
2
+ import { NestedFormGroup } from '.';
3
3
  declare const meta: Meta<typeof NestedFormGroup>;
4
4
  export default meta;
5
5
  export declare const Example: {
@@ -1 +1 @@
1
- export * from "./NestedFormGroup";
1
+ export * from './NestedFormGroup';
@@ -1,5 +1,4 @@
1
- import { ChangeEvent } from "react";
2
- import "./Pagination.scss";
1
+ import { ChangeEvent } from 'react';
3
2
  export interface PaginationProps extends React.AriaAttributes {
4
3
  className?: string;
5
4
  currentPage: number | undefined;
@@ -1,5 +1,5 @@
1
- import { Meta } from "@storybook/react";
2
- import { Pagination } from "./Pagination";
1
+ import { Meta } from '@storybook/react';
2
+ import { Pagination } from './Pagination';
3
3
  declare const meta: Meta<typeof Pagination>;
4
4
  export default meta;
5
5
  export declare const Example: {
@@ -1 +1 @@
1
- export * from "./Pagination";
1
+ export * from './Pagination';
@@ -1,3 +1,4 @@
1
+ import { ReactNode } from 'react';
1
2
  type Props = {
2
3
  /**
3
4
  * A zero-based index of the currently active step
@@ -8,5 +9,5 @@ type Props = {
8
9
  */
9
10
  items: string[];
10
11
  };
11
- export declare const Stepper: ({ activeStep, items }: Props) => JSX.Element;
12
+ export declare const Stepper: ({ activeStep, items }: Props) => ReactNode;
12
13
  export default Stepper;
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Stepper } from './Stepper';
3
3
  declare const meta: Meta<typeof Stepper>;
4
4
  export default meta;
@@ -1 +1 @@
1
- export * from "./Stepper";
1
+ export * from './Stepper';
@@ -1,4 +1,4 @@
1
- import type { PropsWithChildren } from "react";
1
+ import { PropsWithChildren } from 'react';
2
2
  type TableCationProps = PropsWithChildren;
3
3
  /**
4
4
  * A caption that can be displayed instead of a table body.
@@ -1,4 +1,4 @@
1
- import { Meta, StoryObj } from "@storybook/react";
1
+ import { Meta, StoryObj } from '@storybook/react';
2
2
  import { TableCaption } from './TableCaption';
3
3
  declare const meta: Meta<typeof TableCaption>;
4
4
  export default meta;
@@ -1 +1 @@
1
- export * from "./TableCaption";
1
+ export * from './TableCaption';
@@ -1,7 +1,7 @@
1
- export * from "./NestedFormGroup";
2
- export * from "./Pagination";
3
- export * from "./Stepper";
4
- export * from "./FileUpload";
5
- export * from "./MultiSelect";
6
- export * from "./DynamicTable";
7
- export * from "./TableCaption";
1
+ export * from './NestedFormGroup';
2
+ export * from './Pagination';
3
+ export * from './Stepper';
4
+ export * from './FileUpload';
5
+ export * from './MultiSelect';
6
+ export * from './DynamicTable';
7
+ export * from './TableCaption';
@@ -1,5 +1,5 @@
1
- import { LinkProps } from "@canonical/react-components";
2
- import type { LinkProps as RouterLinkProps } from "react-router-dom";
1
+ import { LinkProps } from '@canonical/react-components';
2
+ import { LinkProps as RouterLinkProps } from 'react-router-dom';
3
3
  type ExternalLinkProps = Pick<LinkProps, "children"> & Omit<RouterLinkProps, "children"> & {
4
4
  to: string;
5
5
  };
@@ -1,5 +1,5 @@
1
- import type { Meta } from "@storybook/react";
2
- import { ExternalLink } from ".";
1
+ import { Meta } from '@storybook/react';
2
+ import { ExternalLink } from '.';
3
3
  declare const meta: Meta<typeof ExternalLink>;
4
4
  export default meta;
5
5
  export declare const Example: {
@@ -1 +1 @@
1
- export * from "./ExternalLink";
1
+ export * from './ExternalLink';
@@ -1,5 +1,4 @@
1
1
  import * as React from "react";
2
- import "./Meter.scss";
3
2
  export declare const meterColor: {
4
3
  readonly caution: "#F99B11";
5
4
  readonly light: "#F7F7F7";
@@ -1,5 +1,5 @@
1
- import type { Meta } from "@storybook/react";
2
- import { Meter } from ".";
1
+ import { Meta } from '@storybook/react';
2
+ import { Meter } from '.';
3
3
  declare const meta: Meta<typeof Meter>;
4
4
  export default meta;
5
5
  export declare const Regular: {
@@ -1 +1 @@
1
- export * from "./Meter";
1
+ export * from './Meter';
@@ -1,5 +1,4 @@
1
- import type { ReactNode } from "react";
2
- import "./Placeholder.scss";
1
+ import { ReactNode } from 'react';
3
2
  export type PlaceholderProps = {
4
3
  className?: string;
5
4
  isPending?: boolean;
@@ -1,4 +1,4 @@
1
- import { Meta, StoryObj } from "@storybook/react";
1
+ import { Meta, StoryObj } from '@storybook/react';
2
2
  import { Placeholder } from './Placeholder';
3
3
  declare const meta: Meta<typeof Placeholder>;
4
4
  export default meta;
@@ -1 +1 @@
1
- export * from "./Placeholder";
1
+ export * from './Placeholder';
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
- import "./ProgressIndicator.scss";
3
1
  export interface ProgressIndicatorProps {
4
2
  percentComplete: number;
5
3
  }
@@ -1 +1 @@
1
- export * from "./ProgressIndicator";
1
+ export * from './ProgressIndicator';
@@ -1,4 +1,4 @@
1
- export * from "./Meter";
2
- export * from "./ExternalLink";
3
- export * from "./ProgressIndicator";
4
- export * from "./Placeholder";
1
+ export * from './Meter';
2
+ export * from './ExternalLink';
3
+ export * from './ProgressIndicator';
4
+ export * from './Placeholder';
@@ -1,4 +1,4 @@
1
- export * from "./elements";
2
- export * from "./sections";
3
- export * from "./components";
4
- export * from "./utils";
1
+ export * from './elements';
2
+ export * from './sections';
3
+ export * from './components';
4
+ export * from './utils';
@@ -1,6 +1,5 @@
1
- import * as React from "react";
2
- import "./ContentSection.scss";
3
1
  import { AsProp } from '../../../types';
2
+ import * as React from "react";
4
3
  interface CommonContentSectionProps extends React.PropsWithChildren {
5
4
  className?: string;
6
5
  }
@@ -18,7 +17,7 @@ export interface ContentSectionProps extends CommonContentSectionProps, React.HT
18
17
  */
19
18
  export declare const ContentSection: {
20
19
  ({ children, className, as, variant, ...props }: ContentSectionProps & {
21
- variant?: "narrow" | "wide" | undefined;
20
+ variant?: "narrow" | "wide";
22
21
  }): import("react/jsx-runtime").JSX.Element;
23
22
  Title: ({ children, className, as, ...props }: ContentSectionProps) => import("react/jsx-runtime").JSX.Element;
24
23
  Header: ({ children, className }: CommonContentSectionProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { ContentSection } from './ContentSection';
3
3
  declare const meta: Meta<typeof ContentSection>;
4
4
  export default meta;
@@ -1 +1 @@
1
- export * from "./ContentSection";
1
+ export * from './ContentSection';
@@ -1,6 +1,5 @@
1
1
  export interface FormSectionProps {
2
2
  }
3
- import "./FormSection.scss";
4
3
  export declare const FormSection: {
5
4
  ({ children }: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;
6
5
  Title: ({ children }: React.PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,8 @@
1
- import type { Meta } from "@storybook/react";
2
- import { FormSection } from ".";
1
+ import { Meta } from '@storybook/react';
2
+ import { FormSection } from '.';
3
3
  export declare const Example: ({ children, }: {
4
- label?: string | undefined;
5
- description?: string | undefined;
4
+ label?: string;
5
+ description?: string;
6
6
  children: React.ReactNode;
7
7
  }) => import("react/jsx-runtime").JSX.Element;
8
8
  declare const meta: Meta<typeof FormSection>;
@@ -1 +1 @@
1
- export * from "./FormSection";
1
+ export * from './FormSection';
@@ -1,5 +1,5 @@
1
- import type { Meta } from "@storybook/react";
2
- import { InputGroup } from ".";
1
+ import { Meta } from '@storybook/react';
2
+ import { InputGroup } from '.';
3
3
  export declare const Example: () => import("react/jsx-runtime").JSX.Element;
4
4
  declare const meta: Meta<typeof InputGroup>;
5
5
  export default meta;
@@ -1 +1 @@
1
- export * from "./InputGroup";
1
+ export * from './InputGroup';
@@ -1,6 +1,5 @@
1
- import * as React from "react";
2
- import "./MainToolbar.scss";
3
1
  import { AsProp } from '../../../types';
2
+ import * as React from "react";
4
3
  type MainToolbarProps = {
5
4
  children: React.ReactNode;
6
5
  };
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { MainToolbar } from './MainToolbar';
3
3
  declare const meta: Meta<typeof MainToolbar>;
4
4
  export default meta;
@@ -1 +1 @@
1
- export * from "./MainToolbar";
1
+ export * from './MainToolbar';
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface NavigationBannerProps {
3
3
  children: ReactNode;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.Banner>;
4
4
  export default meta;
@@ -1,6 +1,7 @@
1
+ import { ReactNode } from 'react';
1
2
  export interface NavigationCollapseToggleProps {
2
3
  isCollapsed: boolean;
3
4
  setIsCollapsed: (isCollapsed: boolean) => void;
4
5
  className?: string;
5
6
  }
6
- export declare const CollapseToggle: ({ isCollapsed, setIsCollapsed, className, }: NavigationCollapseToggleProps) => JSX.Element;
7
+ export declare const CollapseToggle: ({ isCollapsed, setIsCollapsed, className, }: NavigationCollapseToggleProps) => ReactNode;
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.CollapseToggle>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface NavigationContentProps {
3
3
  children: ReactNode;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.Content>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface NavigationPanelControlsProps {
3
3
  children: ReactNode;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.Controls>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface NavigationDrawerProps {
3
3
  children: ReactNode;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.Drawer>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface NavigationFooterProps {
3
3
  children: ReactNode;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.Footer>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface NavigationHeaderProps {
3
3
  children: ReactNode;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.Header>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.Icon>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface NavigationItemProps {
3
3
  children: ReactNode;
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.Item>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface NavigationLabelProps {
3
3
  children: ReactNode;
4
4
  id?: string;
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.Label>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { ComponentProps, ElementType } from "react";
1
+ import { ComponentProps, ElementType } from 'react';
2
2
  import { AsProp } from '../../../../types';
3
3
  export interface NavigationLinkProps extends ComponentProps<typeof Link> {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface NavigationListProps {
3
3
  children: ReactNode;
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.List>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { ComponentProps, ElementType, ReactNode } from "react";
1
+ import { ComponentProps, ElementType, ReactNode } from 'react';
2
2
  import { AsProp } from '../../../../types';
3
3
  export interface NavigationLogoProps extends ComponentProps<typeof Logo> {
4
4
  children: ReactNode;
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.Logo>;
4
4
  export default meta;
@@ -1,5 +1,5 @@
1
- import { ReactElement } from "react";
1
+ import { ReactElement, SVGAttributes, HTMLAttributes } from 'react';
2
2
  export interface NavigationLogoIconProps {
3
- children: ReactElement;
3
+ children: ReactElement<SVGAttributes<SVGElement> & HTMLAttributes<HTMLElement>>;
4
4
  }
5
- export declare const LogoIcon: ({ children }: NavigationLogoIconProps) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
5
+ export declare const LogoIcon: ({ children }: NavigationLogoIconProps) => ReactElement<SVGAttributes<SVGElement> & HTMLAttributes<HTMLElement>, string | import('react').JSXElementConstructor<any>>;
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.LogoIcon>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface NavigationLogoNameProps {
3
3
  children: ReactNode;
4
4
  variant?: "base" | "small";
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.LogoName>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface NavigationLogoTagProps {
3
3
  children: ReactNode;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { Navigation } from '../Navigation';
3
3
  declare const meta: Meta<typeof Navigation.LogoTag>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  export interface NavigationTextProps {
3
3
  children: ReactNode;
4
4
  }
@@ -1,5 +1,5 @@
1
- import { ReactNode } from "react";
2
- import { ButtonProps } from "@canonical/react-components";
1
+ import { ReactNode } from 'react';
2
+ import { ButtonProps } from '@canonical/react-components';
3
3
  export interface NavigationMenuButtonProps {
4
4
  children: ReactNode;
5
5
  className?: string;
@@ -1,4 +1,4 @@
1
- import { Meta } from "@storybook/react";
1
+ import { Meta } from '@storybook/react';
2
2
  import { NavigationBar } from '..';
3
3
  declare const meta: Meta<typeof NavigationBar.MenuButton>;
4
4
  export default meta;