trepur_components 2.4.0 → 2.4.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 (92) hide show
  1. package/lib/components/Accordion/Accordion.stories.d.ts +13 -0
  2. package/lib/components/AlertBar/AlertBar.stories.d.ts +25 -0
  3. package/lib/components/AlertBar/index.d.ts +1 -0
  4. package/lib/components/Avatar/Avatar.stories.d.ts +10 -0
  5. package/lib/components/Avatar/index.d.ts +2 -0
  6. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +20 -0
  7. package/lib/components/Breadcrumbs/index.d.ts +1 -0
  8. package/lib/components/Button/Button.stories.d.ts +9 -4
  9. package/lib/components/Button/index.d.ts +1 -0
  10. package/lib/components/Calendar/Calendar.stories.d.ts +11 -0
  11. package/lib/components/Calendar/index.d.ts +1 -0
  12. package/lib/components/Card/Card.stories.d.ts +11 -0
  13. package/lib/components/Carousel/Carousel.stories.d.ts +21 -0
  14. package/lib/components/Carousel/index.d.ts +1 -0
  15. package/lib/components/Carousel/index.js +1 -1
  16. package/lib/components/CarouselThumbnail/CarouselThumbnail.stories.d.ts +22 -0
  17. package/lib/components/CarouselThumbnail/index.d.ts +1 -0
  18. package/lib/components/Checkbox/Checkbox.stories.d.ts +17 -0
  19. package/lib/components/Checkbox/index.d.ts +1 -0
  20. package/lib/components/Collapsible/Collapsible.stories.d.ts +23 -0
  21. package/lib/components/Collapsible/index.d.ts +2 -1
  22. package/lib/components/Collapsible/index.js +1 -1
  23. package/lib/components/Counter/Counter.stories.d.ts +17 -0
  24. package/lib/components/Counter/index.d.ts +1 -0
  25. package/lib/components/DetailUpdater/DetailUpdater.stories.d.ts +18 -0
  26. package/lib/components/Dialog/Dialog.stories.d.ts +15 -0
  27. package/lib/components/Dialog/index.d.ts +2 -1
  28. package/lib/components/Dropdown/Dropdown.stories.d.ts +17 -0
  29. package/lib/components/Dropdown/index.d.ts +2 -1
  30. package/lib/components/FileUploader/FileUploader.stories.d.ts +18 -0
  31. package/lib/components/FileUploader/index.d.ts +1 -0
  32. package/lib/components/Footer/Footer.stories.d.ts +19 -0
  33. package/lib/components/Footer/index.d.ts +1 -0
  34. package/lib/components/FooterNav/FooterNav.stories.d.ts +22 -0
  35. package/lib/components/FooterNav/index.d.ts +1 -0
  36. package/lib/components/Form/Form.stories.d.ts +66 -0
  37. package/lib/components/Form/index.d.ts +3 -2
  38. package/lib/components/Gallery/Gallery.stories.d.ts +16 -0
  39. package/lib/components/Gallery/index.d.ts +2 -1
  40. package/lib/components/Greeting/Greeting.stories.d.ts +13 -0
  41. package/lib/components/HamburgerIcon/HamburgerIcon.stories.d.ts +12 -0
  42. package/lib/components/Icon/Icon.stories.d.ts +16 -0
  43. package/lib/components/Icon/index.d.ts +1 -0
  44. package/lib/components/Image/Image.stories.d.ts +13 -0
  45. package/lib/components/ImageCard/ImageCard.stories.d.ts +23 -0
  46. package/lib/components/ImageCard/index.d.ts +2 -1
  47. package/lib/components/Input/Input.stories.d.ts +21 -0
  48. package/lib/components/Input/index.d.ts +1 -0
  49. package/lib/components/Link/Link.stories.d.ts +30 -0
  50. package/lib/components/Link/index.d.ts +1 -0
  51. package/lib/components/Map/Map.stories.d.ts +18 -0
  52. package/lib/components/Map/index.d.ts +1 -0
  53. package/lib/components/Map/utils.d.ts +1 -0
  54. package/lib/components/MenuButton/MenuButton.stories.d.ts +28 -0
  55. package/lib/components/MenuButton/index.d.ts +2 -0
  56. package/lib/components/Modal/Modal.stories.d.ts +67 -0
  57. package/lib/components/Modal/index.d.ts +2 -0
  58. package/lib/components/Nav/Nav.stories.d.ts +32 -0
  59. package/lib/components/Nav/index.d.ts +1 -0
  60. package/lib/components/NavItem/NavItem.stories.d.ts +22 -0
  61. package/lib/components/NavItem/index.d.ts +1 -0
  62. package/lib/components/Pill/Pill.stories.d.ts +26 -0
  63. package/lib/components/Pill/index.d.ts +1 -0
  64. package/lib/components/Search/Search.stories.d.ts +44 -0
  65. package/lib/components/Search/index.d.ts +2 -1
  66. package/lib/components/Select/Select.stories.d.ts +24 -0
  67. package/lib/components/Showcase/Showcase.stories.d.ts +17 -0
  68. package/lib/components/Showcase/index.d.ts +2 -1
  69. package/lib/components/SideNav/SideNav.stories.d.ts +40 -0
  70. package/lib/components/SideNav/index.d.ts +1 -0
  71. package/lib/components/SocialButton/SocialButton.stories.d.ts +83 -0
  72. package/lib/components/SocialButton/index.d.ts +2 -0
  73. package/lib/components/SplitCard/SplitCard.stories.d.ts +21 -0
  74. package/lib/components/SplitCard/index.d.ts +1 -0
  75. package/lib/components/Stars/Stars.stories.d.ts +14 -0
  76. package/lib/components/Testimonial/Testimonial.stories.d.ts +21 -0
  77. package/lib/components/Testimonial/index.d.ts +2 -1
  78. package/lib/components/TextArea/TextArea.stories.d.ts +21 -0
  79. package/lib/components/TextArea/index.d.ts +1 -0
  80. package/lib/components/Timeline/Timeline.stories.d.ts +21 -0
  81. package/lib/components/Timeline/index.d.ts +1 -0
  82. package/lib/components/Tubestops/Tubestops.stories.d.ts +24 -0
  83. package/lib/components/Tubestops/index.d.ts +1 -0
  84. package/lib/components/Video/Video.stories.d.ts +23 -0
  85. package/lib/components/Video/index.d.ts +1 -0
  86. package/lib/components/index.d.ts +1 -0
  87. package/lib/documentation/components/ThemeColours.d.ts +20 -0
  88. package/lib/documentation/typography/Fonts/Fonts.d.ts +2 -0
  89. package/lib/documentation/typography/Fonts/Fonts.stories.d.ts +10 -0
  90. package/lib/sample.jpg +0 -0
  91. package/lib/trepurComponentsLogo.svg +32 -0
  92. package/package.json +65 -36
@@ -1,5 +1,6 @@
1
1
  import { IconDefinition } from '@fortawesome/fontawesome-free-solid';
2
2
  import { IconProp, SizeProp } from '@fortawesome/fontawesome-svg-core';
3
+
3
4
  export interface IconProps {
4
5
  className?: string;
5
6
  icon: IconProp | IconDefinition;
@@ -0,0 +1,13 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { Image } from '.';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: any;
7
+ args: {
8
+ src: string;
9
+ };
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof Image>;
13
+ export declare const Default: Story;
@@ -0,0 +1,23 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { ImageCard } from '.';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
7
+ Image: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<import('../Image').ImageProps> & import('../Image').ImageProps & import('react').RefAttributes<HTMLImageElement>>;
8
+ Content: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
9
+ Title: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
10
+ Subtitle: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
11
+ Text: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
12
+ Button: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLButtonElement> & import('react').RefAttributes<HTMLButtonElement>>;
13
+ Caption: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
14
+ };
15
+ args: {
16
+ children: import("react/jsx-runtime").JSX.Element[];
17
+ };
18
+ };
19
+ export default meta;
20
+ type Story = StoryObj<typeof ImageCard>;
21
+ export declare const Default: Story;
22
+ export declare const WithButton: Story;
23
+ export declare const WithCaption: Story;
@@ -1,5 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { ImageProps } from 'src/components/Image';
2
+ import { ImageProps } from '../Image';
3
+
3
4
  declare const ImageCard: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
4
5
  Image: import('react').ForwardRefExoticComponent<HTMLAttributes<ImageProps> & ImageProps & import('react').RefAttributes<HTMLImageElement>>;
5
6
  Content: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,21 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { Input } from '.';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('.').InputContextProps & import('react').RefAttributes<HTMLDivElement>> & {
7
+ Item: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
8
+ Label: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
9
+ required?: boolean;
10
+ } & import('react').RefAttributes<HTMLDivElement>>;
11
+ Box: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLInputElement> & import('react').RefAttributes<HTMLInputElement>>;
12
+ Validation: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
13
+ };
14
+ args: {
15
+ placeholder: string;
16
+ children: import("react/jsx-runtime").JSX.Element[];
17
+ };
18
+ };
19
+ export default meta;
20
+ type Story = StoryObj<typeof Input>;
21
+ export declare const Default: Story;
@@ -1,4 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
+
2
3
  export interface InputContextProps {
3
4
  autoComplete?: string;
4
5
  disabled?: boolean;
@@ -0,0 +1,30 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { Link } from '.';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLAnchorElement> & import('.').LinkProps & import('react').RefAttributes<HTMLAnchorElement>> & {
7
+ Icon: import('react').ForwardRefExoticComponent<{
8
+ icon: any;
9
+ } & import('react').RefAttributes<SVGSVGElement>>;
10
+ Label: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
11
+ };
12
+ args: {
13
+ variant: "primary";
14
+ href: string;
15
+ target: string;
16
+ children: import("react/jsx-runtime").JSX.Element[];
17
+ onClick: import('@storybook/addon-actions').HandlerFunction;
18
+ };
19
+ };
20
+ export default meta;
21
+ type Story = StoryObj<typeof Link>;
22
+ export declare const Default: Story;
23
+ export declare const Secondary: Story;
24
+ export declare const Bordered: Story;
25
+ export declare const Ghost: Story;
26
+ export declare const Basic: Story;
27
+ export declare const Loading: Story;
28
+ export declare const Small: Story;
29
+ export declare const Large: Story;
30
+ export declare const Download: Story;
@@ -1,4 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
+
2
3
  export interface LinkProps {
3
4
  variant?: 'primary' | 'secondary' | 'ghost' | 'bordered' | 'basic';
4
5
  loading?: boolean;
@@ -0,0 +1,18 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { Map } from '.';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: typeof Map;
7
+ argTypes: {};
8
+ args: {
9
+ zoom: number;
10
+ terrain: true;
11
+ };
12
+ };
13
+ export default meta;
14
+ type Story = StoryObj<typeof Map>;
15
+ export declare const Default: Story;
16
+ export declare const Markers: Story;
17
+ export declare const PopupLabel: Story;
18
+ export declare const Boundaries: Story;
@@ -1,4 +1,5 @@
1
1
  import { Marker } from './types';
2
+
2
3
  import * as maptilersdk from '@maptiler/sdk';
3
4
  interface MapProps {
4
5
  id: string;
@@ -1,5 +1,6 @@
1
1
  import { MutableRefObject } from 'react';
2
2
  import { Marker } from './types';
3
+
3
4
  import * as maptilersdk from '@maptiler/sdk';
4
5
  export interface FeatureGeometry {
5
6
  type: string;
@@ -0,0 +1,28 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { MenuButton } from '.';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: ({ id, className, menuItems, onClick }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
7
+ argTypes: {
8
+ menuItems: {
9
+ description: string;
10
+ control: string;
11
+ table: {
12
+ type: {
13
+ summary: string;
14
+ };
15
+ };
16
+ };
17
+ };
18
+ args: {
19
+ onClick: import('@storybook/addon-actions').HandlerFunction;
20
+ menuItems: {
21
+ name: string;
22
+ href: string;
23
+ }[];
24
+ };
25
+ };
26
+ export default meta;
27
+ type Story = StoryObj<typeof MenuButton>;
28
+ export declare const Default: Story;
@@ -1,3 +1,5 @@
1
+ import { default as React } from 'react';
2
+
1
3
  export interface Props {
2
4
  id?: string;
3
5
  className?: string;
@@ -0,0 +1,67 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ id, className, children, visible, onOverlayClick, mobileGutter, animationStyle }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
6
+ parameters: {
7
+ docs: {
8
+ description: {
9
+ component: string;
10
+ };
11
+ };
12
+ };
13
+ argTypes: {
14
+ id: {
15
+ type: {
16
+ name: string;
17
+ required: boolean;
18
+ };
19
+ description: string;
20
+ table: {
21
+ type: {
22
+ summary: string;
23
+ };
24
+ };
25
+ };
26
+ className: {
27
+ type: {
28
+ name: string;
29
+ required: boolean;
30
+ };
31
+ description: string;
32
+ table: {
33
+ type: {
34
+ summary: string;
35
+ };
36
+ };
37
+ };
38
+ children: {
39
+ type: {
40
+ name: string;
41
+ value: string;
42
+ };
43
+ description: string;
44
+ table: {
45
+ type: {
46
+ summary: string;
47
+ };
48
+ defaultValue: {
49
+ summary: string;
50
+ };
51
+ };
52
+ };
53
+ onOverlayClick: {
54
+ type: {
55
+ name: string;
56
+ required: boolean;
57
+ };
58
+ description: string;
59
+ };
60
+ };
61
+ args: {
62
+ visible: boolean;
63
+ children: import("react/jsx-runtime").JSX.Element;
64
+ };
65
+ };
66
+ export declare const _Modal: (args: any) => React.ReactElement;
67
+ export default meta;
@@ -1,3 +1,5 @@
1
+ import { default as React } from 'react';
2
+
1
3
  export interface Props extends Partial<Pick<HTMLElement, 'className' | 'id'>> {
2
4
  children?: React.ReactNode;
3
5
  visible?: boolean;
@@ -0,0 +1,32 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { Nav } from '..';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('.').NavContextProps & import('react').RefAttributes<HTMLDivElement>> & {
7
+ Header: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
8
+ DesktopHeader: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
9
+ MobileHeader: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
10
+ Section: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
11
+ Logo: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLImageElement> & import('../Image').ImageProps & import('react').RefAttributes<HTMLImageElement>>;
12
+ Body: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
13
+ Folder: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
14
+ label: string;
15
+ active?: boolean;
16
+ } & import('react').RefAttributes<HTMLDivElement>>;
17
+ };
18
+ parameters: {
19
+ docs: {
20
+ story: {
21
+ iframe: string;
22
+ };
23
+ };
24
+ };
25
+ args: {
26
+ children: import("react/jsx-runtime").JSX.Element[];
27
+ };
28
+ };
29
+ export default meta;
30
+ type Story = StoryObj<typeof Nav>;
31
+ export declare const Default: Story;
32
+ export declare const Loading: Story;
@@ -1,5 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { ImageProps } from '../Image';
3
+
3
4
  export interface NavContextProps {
4
5
  expanded?: boolean;
5
6
  setExpanded?: (val: boolean) => void;
@@ -0,0 +1,22 @@
1
+ import { NavItem } from './';
2
+ import { StoryObj } from '@storybook/react';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLAnchorElement> & {
7
+ href?: string;
8
+ active?: boolean;
9
+ loading?: boolean;
10
+ isInFolder?: boolean;
11
+ } & import('react').RefAttributes<HTMLAnchorElement>> & {
12
+ Label: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
13
+ };
14
+ args: {
15
+ children: import("react/jsx-runtime").JSX.Element[];
16
+ };
17
+ };
18
+ export default meta;
19
+ type Story = StoryObj<typeof NavItem>;
20
+ export declare const Default: Story;
21
+ export declare const Active: Story;
22
+ export declare const Loading: Story;
@@ -1,4 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
+
2
3
  declare const NavItem: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLAnchorElement> & {
3
4
  href?: string;
4
5
  active?: boolean;
@@ -0,0 +1,26 @@
1
+ import { Pill } from './';
2
+ import { StoryObj } from '@storybook/react';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('./').PillProps & import('react').RefAttributes<HTMLDivElement>> & {
7
+ Icon: import('react').ForwardRefExoticComponent<{
8
+ icon: any;
9
+ } & import('react').RefAttributes<SVGSVGElement>>;
10
+ Label: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
11
+ };
12
+ args: {
13
+ children: import("react/jsx-runtime").JSX.Element[];
14
+ };
15
+ };
16
+ export default meta;
17
+ type Story = StoryObj<typeof Pill>;
18
+ export declare const Default: Story;
19
+ export declare const Error: Story;
20
+ export declare const ErrorInverse: Story;
21
+ export declare const Warning: Story;
22
+ export declare const WarningInverse: Story;
23
+ export declare const Success: Story;
24
+ export declare const SuccessInverse: Story;
25
+ export declare const Info: Story;
26
+ export declare const InfoInverse: Story;
@@ -1,4 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
+
2
3
  export type PickU<T, K extends keyof T> = T extends any ? {
3
4
  [P in K]: T[P];
4
5
  } : never;
@@ -0,0 +1,44 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { Search } from '.';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: ({ id, className, onChange, placeholder, text, leftIconProps, rightIconProps }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
7
+ parameters: {};
8
+ argTypes: {
9
+ leftIconProps: {
10
+ description: string;
11
+ control: string;
12
+ table: {
13
+ category: string;
14
+ };
15
+ };
16
+ rightIconProps: {
17
+ description: string;
18
+ control: string;
19
+ table: {
20
+ category: string;
21
+ };
22
+ };
23
+ placeholder: {
24
+ description: string;
25
+ control: string;
26
+ table: {
27
+ category: string;
28
+ };
29
+ };
30
+ text: {
31
+ description: string;
32
+ control: string;
33
+ table: {
34
+ category: string;
35
+ };
36
+ };
37
+ };
38
+ args: {
39
+ placeholder: string;
40
+ };
41
+ };
42
+ export default meta;
43
+ type Story = StoryObj<typeof Search>;
44
+ export declare const Default: Story;
@@ -1,4 +1,5 @@
1
- import { IconProps } from 'src/components/Icon';
1
+ import { IconProps } from '../Icon';
2
+
2
3
  export interface Props {
3
4
  id?: string;
4
5
  className?: string;
@@ -0,0 +1,24 @@
1
+ import { Select } from './';
2
+ import { StoryObj } from '@storybook/react';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: ({ id, className, options, value, label, onClick, required, fullWidth }: import('./').SelectProps) => import("react/jsx-runtime").JSX.Element;
7
+ parameters: {};
8
+ argTypes: {
9
+ label: {
10
+ description: string;
11
+ control: string;
12
+ table: {
13
+ category: string;
14
+ };
15
+ };
16
+ };
17
+ args: {
18
+ label: string;
19
+ options: string[];
20
+ };
21
+ };
22
+ export default meta;
23
+ type Story = StoryObj<typeof Select>;
24
+ export declare const Default: Story;
@@ -0,0 +1,17 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { Showcase } from '.';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: ({ title, subTitle, description, size, iconProps }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
7
+ args: {
8
+ title: string;
9
+ subTitle: string;
10
+ description: string;
11
+ bgColour: "white";
12
+ size: "large";
13
+ };
14
+ };
15
+ export default meta;
16
+ type Story = StoryObj<typeof Showcase>;
17
+ export declare const Default: Story;
@@ -1,5 +1,6 @@
1
- import { IconProps } from 'src/components/Icon';
1
+ import { IconProps } from '../Icon';
2
2
  import { Colours } from '../../utils/controls';
3
+
3
4
  export interface Props {
4
5
  id: string;
5
6
  className?: string;
@@ -0,0 +1,40 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { SideNav } from '.';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: ({ id, className, children, showNav, leftExpand }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
7
+ parameters: {
8
+ backgrounds: {
9
+ default: string;
10
+ values: {
11
+ name: string;
12
+ value: string;
13
+ }[];
14
+ };
15
+ };
16
+ argTypes: {
17
+ bgColour: {
18
+ type: {
19
+ name: "string";
20
+ required: false;
21
+ };
22
+ options: string[];
23
+ description: string;
24
+ table: {
25
+ type: {
26
+ summary: string;
27
+ };
28
+ };
29
+ defaultValue: string;
30
+ control: string;
31
+ };
32
+ };
33
+ args: {
34
+ children: import("react/jsx-runtime").JSX.Element;
35
+ showNav: true;
36
+ };
37
+ };
38
+ export default meta;
39
+ type Story = StoryObj<typeof SideNav>;
40
+ export declare const Default: Story;
@@ -1,4 +1,5 @@
1
1
  import { Colours } from '../../utils/controls';
2
+
2
3
  export interface Props {
3
4
  id: string;
4
5
  className: string;
@@ -0,0 +1,83 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { SocialButton } from '.';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: ({ id, className, onClick, type, href, openInNewTab }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
7
+ parameters: {
8
+ docs: {
9
+ description: {
10
+ component: string;
11
+ };
12
+ };
13
+ };
14
+ argTypes: {
15
+ onClick: {
16
+ type: {
17
+ name: "function";
18
+ required: false;
19
+ };
20
+ description: string;
21
+ action: string;
22
+ table: {
23
+ type: {
24
+ summary: string;
25
+ };
26
+ defaultValue: {
27
+ summary: string;
28
+ };
29
+ };
30
+ };
31
+ type: {
32
+ type: {
33
+ name: "string";
34
+ required: false;
35
+ };
36
+ options: string[];
37
+ description: string;
38
+ table: {
39
+ type: {
40
+ summary: string;
41
+ };
42
+ defaultValue: {
43
+ summary: string;
44
+ };
45
+ };
46
+ defaultValue: string;
47
+ control: {
48
+ type: string;
49
+ };
50
+ };
51
+ href: {
52
+ type: {
53
+ name: "string";
54
+ required: false;
55
+ };
56
+ description: string;
57
+ table: {
58
+ type: {
59
+ summary: string;
60
+ };
61
+ defaultValue: {
62
+ summary: string;
63
+ };
64
+ };
65
+ };
66
+ openInNewTab: {
67
+ type: {
68
+ name: "boolean";
69
+ required: false;
70
+ };
71
+ description: string;
72
+ defaultValue: string;
73
+ };
74
+ };
75
+ args: {
76
+ type: "facebook";
77
+ href: string;
78
+ onClick: import('@storybook/addon-actions').HandlerFunction;
79
+ };
80
+ };
81
+ export default meta;
82
+ type Story = StoryObj<typeof SocialButton>;
83
+ export declare const Default: Story;
@@ -1,3 +1,5 @@
1
+ import { default as React } from 'react';
2
+
1
3
  export interface Props {
2
4
  id?: string;
3
5
  className?: string;
@@ -0,0 +1,21 @@
1
+ import { SplitCard } from './';
2
+ import { StoryObj } from '@storybook/react';
3
+
4
+ declare const meta: {
5
+ title: string;
6
+ component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('./').SplitCardContextProps & import('react').RefAttributes<HTMLDivElement>> & {
7
+ LeftContent: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
8
+ RightContent: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
9
+ Title: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
10
+ Text: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
11
+ };
12
+ args: {
13
+ children: import("react/jsx-runtime").JSX.Element[];
14
+ };
15
+ };
16
+ export default meta;
17
+ type Story = StoryObj<typeof SplitCard>;
18
+ export declare const Default: Story;
19
+ export declare const swapDesktop: Story;
20
+ export declare const swapMobile: Story;
21
+ export declare const loading: Story;
@@ -1,4 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
+
2
3
  export interface SplitCardContextProps {
3
4
  swapDesktop?: boolean;
4
5
  swapMobile?: boolean;