trepur_components 2.3.26 → 2.3.28

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 (54) hide show
  1. package/lib/components/Accordion/Accordion.stories.d.ts +0 -34
  2. package/lib/components/Accordion/index.js +5 -5
  3. package/lib/components/AlertBar/index.js +31 -27
  4. package/lib/components/Button/index.js +2 -3
  5. package/lib/components/Calendar/index.js +27 -27
  6. package/lib/components/Card/index.js +7 -7
  7. package/lib/components/Carousel/Carousel.stories.d.ts +1 -3
  8. package/lib/components/Carousel/index.d.ts +16 -18
  9. package/lib/components/Carousel/index.js +101 -100
  10. package/lib/components/CarouselThumbnail/index.d.ts +14 -14
  11. package/lib/components/Collapsible/Collapsible.stories.d.ts +0 -34
  12. package/lib/components/Collapsible/index.js +44 -41
  13. package/lib/components/DetailUpdater/DetailUpdater.stories.d.ts +1 -3
  14. package/lib/components/DetailUpdater/index.d.ts +2 -5
  15. package/lib/components/DetailUpdater/index.js +14 -17
  16. package/lib/components/Dialog/Dialog.stories.d.ts +1 -1
  17. package/lib/components/Dialog/index.d.ts +2 -2
  18. package/lib/components/Dialog/index.js +4 -14
  19. package/lib/components/Dropdown/index.js +41 -41
  20. package/lib/components/FileUploader/FilePreview.d.ts +1 -1
  21. package/lib/components/FileUploader/FileUploader.stories.d.ts +0 -34
  22. package/lib/components/FooterNav/index.js +24 -16
  23. package/lib/components/Form/Form.stories.d.ts +3 -54
  24. package/lib/components/Input/index.js +36 -36
  25. package/lib/components/MenuButton/MenuButton.stories.d.ts +1 -49
  26. package/lib/components/MenuButton/index.d.ts +1 -3
  27. package/lib/components/MenuButton/index.js +9 -15
  28. package/lib/components/Modal/Modal.stories.d.ts +1 -1
  29. package/lib/components/Modal/index.d.ts +1 -1
  30. package/lib/components/NavItem/index.js +21 -14
  31. package/lib/components/Search/Search.stories.d.ts +1 -43
  32. package/lib/components/Search/index.d.ts +1 -1
  33. package/lib/components/Select/Select.stories.d.ts +1 -33
  34. package/lib/components/Select/index.d.ts +1 -1
  35. package/lib/components/Showcase/Showcase.stories.d.ts +3 -41
  36. package/lib/components/Showcase/index.d.ts +1 -1
  37. package/lib/components/SideNav/SideNav.stories.d.ts +4 -44
  38. package/lib/components/SideNav/index.d.ts +2 -2
  39. package/lib/components/SocialButton/SocialButton.stories.d.ts +10 -57
  40. package/lib/components/SocialButton/index.d.ts +2 -3
  41. package/lib/components/SplitCard/index.js +34 -34
  42. package/lib/components/Stars/index.d.ts +0 -3
  43. package/lib/components/Stars/index.js +6 -6
  44. package/lib/components/Testimonial/index.js +31 -15
  45. package/lib/components/TextArea/index.js +37 -37
  46. package/lib/components/index.d.ts +1 -1
  47. package/lib/styles/themes/penrithmrt.css +19 -19
  48. package/lib/tailwind/boxShadow.ts +1 -1
  49. package/lib/tailwind/colors.ts +27 -27
  50. package/lib/tailwind/container.ts +2 -2
  51. package/lib/tailwind/preset.ts +12 -12
  52. package/lib/tailwind/spacing.ts +1 -1
  53. package/lib/utils/controls.d.ts +0 -35
  54. package/package.json +4 -2
@@ -5,25 +5,10 @@ declare const meta: {
5
5
  title: string;
6
6
  component: ({ id, className, onSubmit, ref, components }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
7
7
  argTypes: {
8
- title: {
9
- type: {
10
- name: string;
11
- required: boolean;
12
- };
13
- description: string;
14
- table: {
15
- type: {
16
- summary: string;
17
- };
18
- defaultValue: {
19
- summary: string;
20
- };
21
- };
22
- };
23
8
  onSubmit: {
24
9
  type: {
25
- name: string;
26
- required: boolean;
10
+ name: "function";
11
+ required: false;
27
12
  };
28
13
  description: string;
29
14
  action: string;
@@ -38,7 +23,7 @@ declare const meta: {
38
23
  };
39
24
  ref: {
40
25
  type: {
41
- name: string;
26
+ name: "other";
42
27
  value: string;
43
28
  };
44
29
  description: string;
@@ -63,52 +48,16 @@ declare const meta: {
63
48
  };
64
49
  };
65
50
  };
66
- id: {
67
- description: string;
68
- control: {
69
- type: string;
70
- default: boolean;
71
- };
72
- table: {
73
- category: string;
74
- type: {
75
- summary: string;
76
- };
77
- defaultValue: {
78
- summary: string;
79
- };
80
- };
81
- };
82
- className: {
83
- description: string;
84
- control: {
85
- type: string;
86
- default: boolean;
87
- };
88
- table: {
89
- category: string;
90
- type: {
91
- summary: string;
92
- };
93
- defaultValue: {
94
- summary: string;
95
- };
96
- };
97
- };
98
51
  };
99
52
  args: {
100
53
  components: ({
101
54
  htmlType: string;
102
55
  label: string;
103
56
  placeholder: string;
104
- children: string;
105
- className: string;
106
57
  } | {
107
58
  htmlType: string;
108
- children: string;
109
59
  label?: undefined;
110
60
  placeholder?: undefined;
111
- className?: undefined;
112
61
  })[];
113
62
  };
114
63
  };
@@ -1,82 +1,82 @@
1
1
  import { jsx as o, jsxs as I } from "react/jsx-runtime";
2
- import { createContext as b, forwardRef as a, useMemo as N, useRef as h, useContext as i } from "react";
2
+ import { createContext as b, forwardRef as a, useMemo as N, useRef as y, useContext as d } from "react";
3
3
  import m from "clsx";
4
- const d = b(null), p = a(({ children: r, errors: t, placeholder: n, ...e }, l) => {
5
- const s = N(
4
+ const s = b(null), p = a(({ children: n, errors: e, placeholder: t, ...r }, l) => {
5
+ const f = N(
6
6
  () => ({
7
- errors: t,
8
- placeholder: n,
9
- ...e
7
+ errors: e,
8
+ placeholder: t,
9
+ ...r
10
10
  }),
11
- [t, e]
11
+ [e, r]
12
12
  );
13
- return /* @__PURE__ */ o(d.Provider, { value: s, children: /* @__PURE__ */ o("div", { ref: l, children: r }) });
13
+ return /* @__PURE__ */ o(s.Provider, { value: f, children: /* @__PURE__ */ o("div", { ref: l, children: n }) });
14
14
  }), u = a(
15
- ({ children: r, ...t }, n) => {
16
- const e = h(null);
15
+ ({ children: n, ...e }, t) => {
16
+ const r = y(null);
17
17
  return /* @__PURE__ */ o(
18
18
  "div",
19
19
  {
20
20
  className: "mt-4 w-full",
21
21
  onClick: () => {
22
22
  var l;
23
- return (l = e.current) == null ? void 0 : l.focus();
23
+ return (l = r.current) == null ? void 0 : l.focus();
24
24
  },
25
- ref: n,
26
- ...t,
27
- children: r
25
+ ref: t,
26
+ ...e,
27
+ children: n
28
28
  }
29
29
  );
30
30
  }
31
- ), c = a(({ className: r, children: t, required: n = !1 }, e) => /* @__PURE__ */ I(
31
+ ), i = a(({ className: n, children: e, required: t = !1 }, r) => /* @__PURE__ */ I(
32
32
  "div",
33
33
  {
34
- ref: e,
35
- className: m("flex px-1 text-sm font-normal leading-5", r),
34
+ ref: r,
35
+ className: m("flex px-1 text-sm font-normal leading-5", n),
36
36
  children: [
37
- /* @__PURE__ */ o("p", { children: t }),
38
- n && /* @__PURE__ */ o("p", { className: "text-sm font-normal", children: " *" })
37
+ /* @__PURE__ */ o("p", { children: e }),
38
+ t && /* @__PURE__ */ o("p", { className: "text-sm font-normal", children: " *" })
39
39
  ]
40
40
  }
41
- )), x = a(
42
- ({ ...r }) => {
43
- const { errors: t, placeholder: n } = i(d) || {};
41
+ )), c = a(
42
+ ({ ...n }) => {
43
+ const { errors: e, placeholder: t } = d(s) || {};
44
44
  return /* @__PURE__ */ o(
45
45
  "input",
46
46
  {
47
- placeholder: n,
47
+ placeholder: t,
48
48
  className: m(
49
49
  "text-ink text-md w-full rounded-md border border-gray-300 bg-white py-2 pl-4",
50
50
  {
51
- "border-error border-2": t != null
51
+ "border-error border-2": e != null
52
52
  }
53
53
  ),
54
- ...r
54
+ ...n
55
55
  }
56
56
  );
57
57
  }
58
- ), f = a(({ children: r, ...t }, n) => {
59
- const { errors: e } = i(d) || {};
58
+ ), x = a(({ ...n }, e) => {
59
+ const { errors: t } = d(s) || {};
60
60
  return /* @__PURE__ */ o(
61
61
  "div",
62
62
  {
63
- ref: n,
63
+ ref: e,
64
64
  className: "text-md gap-y-2 pl-1 pt-2 font-semibold text-error-default",
65
- ...t,
66
- children: e == null ? void 0 : e.map((l, s) => /* @__PURE__ */ o("p", { children: l }, `error-msg-${s + 1}`))
65
+ ...n,
66
+ children: t == null ? void 0 : t.map((r, l) => /* @__PURE__ */ o("p", { children: r }, `error-msg-${l + 1}`))
67
67
  }
68
68
  );
69
69
  });
70
70
  p.displayName = "Input";
71
71
  u.displayName = "Input.Item";
72
- c.displayName = "Input.Label";
73
- x.displayName = "Input.Box";
74
- f.displayName = "Input.Validation";
72
+ i.displayName = "Input.Label";
73
+ c.displayName = "Input.Box";
74
+ x.displayName = "Input.Validation";
75
75
  const C = Object.assign(p, {
76
76
  Item: u,
77
- Label: c,
78
- Box: x,
79
- Validation: f
77
+ Label: i,
78
+ Box: c,
79
+ Validation: x
80
80
  });
81
81
  export {
82
82
  C as Input
@@ -3,23 +3,8 @@ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
6
- component: ({ id, className, backgroundColour, menuItems, onClick, }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
6
+ component: ({ id, className, menuItems, onClick }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
7
7
  argTypes: {
8
- backgroundColour: {
9
- type: {
10
- name: string;
11
- required: boolean;
12
- };
13
- options: string[];
14
- description: string;
15
- table: {
16
- type: {
17
- summary: string;
18
- };
19
- };
20
- defaultValue: string;
21
- control: string;
22
- };
23
8
  menuItems: {
24
9
  description: string;
25
10
  control: string;
@@ -29,41 +14,8 @@ declare const meta: {
29
14
  };
30
15
  };
31
16
  };
32
- id: {
33
- description: string;
34
- control: {
35
- type: string;
36
- default: boolean;
37
- };
38
- table: {
39
- category: string;
40
- type: {
41
- summary: string;
42
- };
43
- defaultValue: {
44
- summary: string;
45
- };
46
- };
47
- };
48
- className: {
49
- description: string;
50
- control: {
51
- type: string;
52
- default: boolean;
53
- };
54
- table: {
55
- category: string;
56
- type: {
57
- summary: string;
58
- };
59
- defaultValue: {
60
- summary: string;
61
- };
62
- };
63
- };
64
17
  };
65
18
  args: {
66
- backgroundColour: string;
67
19
  onClick: import('@storybook/addon-actions').HandlerFunction;
68
20
  menuItems: {
69
21
  name: string;
@@ -1,14 +1,12 @@
1
- import { Colours } from '../../utils/controls';
2
1
  import { default as React } from 'react';
3
2
 
4
3
  export interface Props {
5
4
  id?: string;
6
5
  className?: string;
7
- backgroundColour?: Colours;
8
6
  menuItems: Array<{
9
7
  name: string;
10
8
  href: string;
11
9
  }>;
12
10
  onClick?: React.MouseEventHandler;
13
11
  }
14
- export declare const MenuButton: ({ id, className, backgroundColour, menuItems, onClick, }: Props) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const MenuButton: ({ id, className, menuItems, onClick }: Props) => import("react/jsx-runtime").JSX.Element;
@@ -1,27 +1,21 @@
1
1
  import { jsx as t, Fragment as h, jsxs as o } from "react/jsx-runtime";
2
2
  import { useState as u } from "react";
3
3
  import { Dropdown as l } from "../Dropdown/index.js";
4
- import { Image as c } from "../Image/index.js";
5
- import p from "classnames";
6
- const H = ({
7
- id: s,
8
- className: d,
9
- backgroundColour: w = "white",
10
- menuItems: a,
11
- onClick: e
12
- }) => {
13
- const [r, i] = u(!1), m = p(
4
+ import { Image as p } from "../Image/index.js";
5
+ import c from "classnames";
6
+ const g = ({ id: s, className: d, menuItems: m, onClick: e }) => {
7
+ const [r, a] = u(!1), i = c(
14
8
  d,
15
9
  "h-[45px] w-[80px] overflow-hidden rounded-full border-2 border-lightest-grey my-auto flex cursor-pointer justify-between pl-2 text-center hover:shadow-md"
16
10
  );
17
- return a ? /* @__PURE__ */ o("div", { children: [
11
+ return m ? /* @__PURE__ */ o("div", { children: [
18
12
  /* @__PURE__ */ o(
19
13
  "div",
20
14
  {
21
15
  id: s,
22
- className: m,
16
+ className: i,
23
17
  onClick: () => {
24
- i(!r);
18
+ a(!r);
25
19
  },
26
20
  children: [
27
21
  /* @__PURE__ */ t("div", { className: "mx-auto my-auto", onClick: (n) => e == null ? void 0 : e(n), children: /* @__PURE__ */ o(
@@ -39,7 +33,7 @@ const H = ({
39
33
  }
40
34
  ) }),
41
35
  /* @__PURE__ */ t(
42
- c,
36
+ p,
43
37
  {
44
38
  src: "https://picsum.photos/300/300",
45
39
  className: "mx-auto my-auto h-8 w-8 rounded-full object-contain"
@@ -52,5 +46,5 @@ const H = ({
52
46
  ] }) : /* @__PURE__ */ t(h, {});
53
47
  };
54
48
  export {
55
- H as MenuButton
49
+ g as MenuButton
56
50
  };
@@ -2,7 +2,7 @@ import { default as React } from 'react';
2
2
 
3
3
  declare const meta: {
4
4
  title: string;
5
- component: ({ id, className, children, visible, onOverlayClick, mobileGutter, animationStyle, }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
5
+ component: ({ id, className, children, visible, onOverlayClick, mobileGutter, animationStyle }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
6
6
  parameters: {
7
7
  docs: {
8
8
  description: {
@@ -7,4 +7,4 @@ export interface Props extends Partial<Pick<HTMLElement, 'className' | 'id'>> {
7
7
  mobileGutter?: boolean;
8
8
  animationStyle?: 'fade' | 'slideBottom';
9
9
  }
10
- export declare const Modal: ({ id, className, children, visible, onOverlayClick, mobileGutter, animationStyle, }: Props) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const Modal: ({ id, className, children, visible, onOverlayClick, mobileGutter, animationStyle }: Props) => import("react/jsx-runtime").JSX.Element;
@@ -1,28 +1,35 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as o } from "react";
3
- import c from "clsx";
4
- const s = o(({ loading: r = !1, active: e, children: t, className: n, href: m, ...f }, i) => r ? /* @__PURE__ */ a("div", { className: "m-auto", children: /* @__PURE__ */ a("div", { className: "h-7 w-20 animate-pulse rounded-md bg-gray-300" }) }) : /* @__PURE__ */ a(
3
+ import n from "clsx";
4
+ const l = o(({ loading: t = !1, active: e, children: r, className: m, href: f, ...i }, c) => t ? /* @__PURE__ */ a("div", { className: "m-auto", children: /* @__PURE__ */ a("div", { className: "h-7 w-20 animate-pulse rounded-md bg-gray-300" }) }) : /* @__PURE__ */ a(
5
5
  "a",
6
6
  {
7
- href: m,
8
- ref: i,
9
- className: c(
7
+ href: f,
8
+ ref: c,
9
+ className: n(
10
10
  "m-auto inline-block py-0 text-nav-text after:block after:scale-x-0 after:border-b-2 after:border-nav-text after:transition-all after:duration-300 after:ease-in-out hover:cursor-pointer hover:after:scale-x-100",
11
11
  {
12
12
  "font-bold": e,
13
13
  "font-light": !e
14
14
  },
15
- n
15
+ m
16
16
  ),
17
- ...f,
18
- children: t
17
+ ...i,
18
+ children: r
19
19
  }
20
- )), l = o(({ className: r, ...e }, t) => /* @__PURE__ */ a("p", { className: "flex-none text-nowrap text-lg", ref: t, ...e }));
21
- s.displayName = "NavItem";
22
- l.displayName = "NavItem.Label";
23
- const b = Object.assign(s, {
24
- Label: l
20
+ )), s = o(({ className: t, ...e }, r) => /* @__PURE__ */ a(
21
+ "p",
22
+ {
23
+ className: n("flex-none text-nowrap text-lg", t),
24
+ ref: r,
25
+ ...e
26
+ }
27
+ ));
28
+ l.displayName = "NavItem";
29
+ s.displayName = "NavItem.Label";
30
+ const x = Object.assign(l, {
31
+ Label: s
25
32
  });
26
33
  export {
27
- b as NavItem
34
+ x as NavItem
28
35
  };
@@ -3,7 +3,7 @@ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
6
- component: ({ id, className, onChange, placeholder, text, leftIconProps, rightIconProps, }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
6
+ component: ({ id, className, onChange, placeholder, text, leftIconProps, rightIconProps }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
7
7
  parameters: {};
8
8
  argTypes: {
9
9
  leftIconProps: {
@@ -34,51 +34,9 @@ declare const meta: {
34
34
  category: string;
35
35
  };
36
36
  };
37
- id: {
38
- description: string;
39
- control: {
40
- type: string;
41
- default: boolean;
42
- };
43
- table: {
44
- category: string;
45
- type: {
46
- summary: string;
47
- };
48
- defaultValue: {
49
- summary: string;
50
- };
51
- };
52
- };
53
- className: {
54
- description: string;
55
- control: {
56
- type: string;
57
- default: boolean;
58
- };
59
- table: {
60
- category: string;
61
- type: {
62
- summary: string;
63
- };
64
- defaultValue: {
65
- summary: string;
66
- };
67
- };
68
- };
69
37
  };
70
38
  args: {
71
39
  placeholder: string;
72
- leftIconProps: {
73
- type: string;
74
- className: string;
75
- bgColour: string;
76
- };
77
- rightIconProps: {
78
- type: string;
79
- className: string;
80
- bgColour: string;
81
- };
82
40
  };
83
41
  };
84
42
  export default meta;
@@ -9,4 +9,4 @@ export interface Props {
9
9
  leftIconProps?: IconProps;
10
10
  rightIconProps?: IconProps;
11
11
  }
12
- export declare const Search: ({ id, className, onChange, placeholder, text, leftIconProps, rightIconProps, }: Props) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const Search: ({ id, className, onChange, placeholder, text, leftIconProps, rightIconProps }: Props) => import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ import { Select } from './';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
6
- component: ({ id, className, options, value, label, onClick, required, fullWidth, }: import('./').SelectProps) => import("react/jsx-runtime").JSX.Element;
6
+ component: ({ id, className, options, value, label, onClick, required, fullWidth }: import('./').SelectProps) => import("react/jsx-runtime").JSX.Element;
7
7
  parameters: {};
8
8
  argTypes: {
9
9
  label: {
@@ -13,38 +13,6 @@ declare const meta: {
13
13
  category: string;
14
14
  };
15
15
  };
16
- id: {
17
- description: string;
18
- control: {
19
- type: string;
20
- default: boolean;
21
- };
22
- table: {
23
- category: string;
24
- type: {
25
- summary: string;
26
- };
27
- defaultValue: {
28
- summary: string;
29
- };
30
- };
31
- };
32
- className: {
33
- description: string;
34
- control: {
35
- type: string;
36
- default: boolean;
37
- };
38
- table: {
39
- category: string;
40
- type: {
41
- summary: string;
42
- };
43
- defaultValue: {
44
- summary: string;
45
- };
46
- };
47
- };
48
16
  };
49
17
  args: {
50
18
  label: string;
@@ -8,4 +8,4 @@ export interface SelectProps {
8
8
  fullWidth?: boolean;
9
9
  required?: boolean;
10
10
  }
11
- export declare const Select: ({ id, className, options, value, label, onClick, required, fullWidth, }: SelectProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const Select: ({ id, className, options, value, label, onClick, required, fullWidth }: SelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -3,51 +3,13 @@ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
6
- component: ({ id, className, title, subTitle, description, bgColour, size, iconProps, }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
7
- argTypes: {
8
- id: {
9
- description: string;
10
- control: {
11
- type: string;
12
- default: boolean;
13
- };
14
- table: {
15
- category: string;
16
- type: {
17
- summary: string;
18
- };
19
- defaultValue: {
20
- summary: string;
21
- };
22
- };
23
- };
24
- className: {
25
- description: string;
26
- control: {
27
- type: string;
28
- default: boolean;
29
- };
30
- table: {
31
- category: string;
32
- type: {
33
- summary: string;
34
- };
35
- defaultValue: {
36
- summary: string;
37
- };
38
- };
39
- };
40
- };
6
+ component: ({ title, subTitle, description, size, iconProps }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
41
7
  args: {
42
8
  title: string;
43
9
  subTitle: string;
44
10
  description: string;
45
- bgColour: string;
46
- size: string;
47
- iconProps: {
48
- icon: import('@fortawesome/fontawesome-free-solid').IconDefinition;
49
- onClick: import('@storybook/addon-actions').HandlerFunction;
50
- };
11
+ bgColour: "white";
12
+ size: "large";
51
13
  };
52
14
  };
53
15
  export default meta;
@@ -12,4 +12,4 @@ export interface Props {
12
12
  size?: 'small' | 'medium' | 'large';
13
13
  iconProps?: IconProps;
14
14
  }
15
- export declare const Showcase: ({ id, className, title, subTitle, description, bgColour, size, iconProps, }: Props) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const Showcase: ({ title, subTitle, description, size, iconProps }: Props) => import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
6
- component: ({ id, className, children, bgColour, showNav, leftExpand, }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
6
+ component: ({ id, className, children, showNav, leftExpand }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
7
7
  parameters: {
8
8
  backgrounds: {
9
9
  default: string;
@@ -14,18 +14,10 @@ declare const meta: {
14
14
  };
15
15
  };
16
16
  argTypes: {
17
- navLinks: {
18
- description: string;
19
- table: {
20
- type: {
21
- summary: string;
22
- };
23
- };
24
- };
25
17
  bgColour: {
26
18
  type: {
27
- name: string;
28
- required: boolean;
19
+ name: "string";
20
+ required: false;
29
21
  };
30
22
  options: string[];
31
23
  description: string;
@@ -37,42 +29,10 @@ declare const meta: {
37
29
  defaultValue: string;
38
30
  control: string;
39
31
  };
40
- id: {
41
- description: string;
42
- control: {
43
- type: string;
44
- default: boolean;
45
- };
46
- table: {
47
- category: string;
48
- type: {
49
- summary: string;
50
- };
51
- defaultValue: {
52
- summary: string;
53
- };
54
- };
55
- };
56
- className: {
57
- description: string;
58
- control: {
59
- type: string;
60
- default: boolean;
61
- };
62
- table: {
63
- category: string;
64
- type: {
65
- summary: string;
66
- };
67
- defaultValue: {
68
- summary: string;
69
- };
70
- };
71
- };
72
32
  };
73
33
  args: {
74
34
  children: import("react/jsx-runtime").JSX.Element;
75
- showNav: boolean;
35
+ showNav: true;
76
36
  };
77
37
  };
78
38
  export default meta;