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
@@ -3,10 +3,10 @@ import { Colours } from '../../utils/controls';
3
3
  export interface Props {
4
4
  id: string;
5
5
  className: string;
6
- children: any;
6
+ children: React.ReactNode;
7
7
  getNavStatus: (asSideBar: boolean, open: boolean) => void;
8
8
  bgColour?: Colours;
9
9
  showNav?: boolean;
10
10
  leftExpand?: boolean;
11
11
  }
12
- export declare const SideNav: ({ id, className, children, bgColour, showNav, leftExpand, }: Props) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const SideNav: ({ id, className, children, showNav, leftExpand }: 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, onClick, type, href, openInNewTab, }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
6
+ component: ({ id, className, onClick, type, href, openInNewTab }: import('.').Props) => import("react/jsx-runtime").JSX.Element;
7
7
  parameters: {
8
8
  docs: {
9
9
  description: {
@@ -14,8 +14,8 @@ declare const meta: {
14
14
  argTypes: {
15
15
  onClick: {
16
16
  type: {
17
- name: string;
18
- required: boolean;
17
+ name: "function";
18
+ required: false;
19
19
  };
20
20
  description: string;
21
21
  action: string;
@@ -30,8 +30,8 @@ declare const meta: {
30
30
  };
31
31
  type: {
32
32
  type: {
33
- name: string;
34
- required: boolean;
33
+ name: "string";
34
+ required: false;
35
35
  };
36
36
  options: string[];
37
37
  description: string;
@@ -50,8 +50,8 @@ declare const meta: {
50
50
  };
51
51
  href: {
52
52
  type: {
53
- name: string;
54
- required: boolean;
53
+ name: "string";
54
+ required: false;
55
55
  };
56
56
  description: string;
57
57
  table: {
@@ -65,62 +65,15 @@ declare const meta: {
65
65
  };
66
66
  openInNewTab: {
67
67
  type: {
68
- name: string;
69
- required: boolean;
68
+ name: "boolean";
69
+ required: false;
70
70
  };
71
71
  description: string;
72
72
  defaultValue: string;
73
73
  };
74
- children: {
75
- type: {
76
- name: string;
77
- value: string;
78
- };
79
- description: string;
80
- table: {
81
- type: {
82
- summary: string;
83
- };
84
- defaultValue: {
85
- summary: string;
86
- };
87
- };
88
- };
89
- id: {
90
- description: string;
91
- control: {
92
- type: string;
93
- default: boolean;
94
- };
95
- table: {
96
- category: string;
97
- type: {
98
- summary: string;
99
- };
100
- defaultValue: {
101
- summary: string;
102
- };
103
- };
104
- };
105
- className: {
106
- description: string;
107
- control: {
108
- type: string;
109
- default: boolean;
110
- };
111
- table: {
112
- category: string;
113
- type: {
114
- summary: string;
115
- };
116
- defaultValue: {
117
- summary: string;
118
- };
119
- };
120
- };
121
74
  };
122
75
  args: {
123
- type: string;
76
+ type: "facebook";
124
77
  href: string;
125
78
  onClick: import('@storybook/addon-actions').HandlerFunction;
126
79
  };
@@ -1,12 +1,11 @@
1
- import { SocialTypes } 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
6
  onClick?: React.MouseEventHandler;
8
- type?: SocialTypes;
7
+ type?: 'facebook' | 'instagram' | 'github' | 'linkedin';
9
8
  href?: string;
10
9
  openInNewTab?: boolean;
11
10
  }
12
- export declare const SocialButton: ({ id, className, onClick, type, href, openInNewTab, }: Props) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const SocialButton: ({ id, className, onClick, type, href, openInNewTab }: Props) => import("react/jsx-runtime").JSX.Element;
@@ -1,85 +1,85 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { createContext as u, forwardRef as d, useMemo as N, useContext as c } from "react";
2
+ import { createContext as u, forwardRef as o, useMemo as N, useContext as c } from "react";
3
3
  import h from "../../utils/matchMedia.js";
4
4
  import { Screens as y } from "../../utils/screens.js";
5
- import p from "clsx";
6
- const a = u(null), x = d(({ id: l, className: e, children: r, swapDesktop: t, swapMobile: i, ...s }, o) => {
5
+ import d from "clsx";
6
+ const a = u(null), x = o(({ className: r, children: l, swapDesktop: t, swapMobile: e, ...i }, s) => {
7
7
  const f = `(min-width: ${y.md})`, m = h(f), S = N(
8
8
  () => ({
9
9
  swapDesktop: t,
10
- swapMobile: i,
10
+ swapMobile: e,
11
11
  isMd: m
12
12
  }),
13
- [t, i, m]
13
+ [t, e, m]
14
14
  );
15
15
  return /* @__PURE__ */ n(a.Provider, { value: S, children: /* @__PURE__ */ n(
16
16
  "div",
17
17
  {
18
- ref: o,
19
- ...s,
20
- className: p("grid grid-cols-1 md:grid-cols-2", e),
21
- children: r
18
+ ref: s,
19
+ ...i,
20
+ className: d("grid grid-cols-1 md:grid-cols-2", r),
21
+ children: l
22
22
  }
23
23
  ) });
24
- }), g = d(({ className: l, children: e, ...r }, t) => {
25
- const { swapDesktop: i, swapMobile: s, isMd: o } = c(a) || {};
24
+ }), g = o(({ className: r, children: l, ...t }, e) => {
25
+ const { swapDesktop: i, swapMobile: s, isMd: p } = c(a) || {};
26
26
  return /* @__PURE__ */ n(
27
27
  "div",
28
28
  {
29
- ref: t,
30
- ...r,
31
- className: p(
29
+ ref: e,
30
+ ...t,
31
+ className: d(
32
32
  "mx-auto flex items-center px-4 py-2 text-center md:p-8 lg:py-12",
33
33
  {
34
34
  "md:order-last lg:pl-12 lg:pr-20": i,
35
35
  "lg:pl-20 lg:pr-12": !i,
36
- "order-last": !o && s
36
+ "order-last": !p && s
37
37
  },
38
- l
38
+ r
39
39
  ),
40
- children: e
40
+ children: l
41
41
  }
42
42
  );
43
- }), C = d(({ className: l, children: e, ...r }, t) => {
44
- const { swapDesktop: i, swapMobile: s, isMd: o } = c(a) || {};
43
+ }), C = o(({ className: r, children: l, ...t }, e) => {
44
+ const { swapDesktop: i, swapMobile: s, isMd: p } = c(a) || {};
45
45
  return /* @__PURE__ */ n(
46
46
  "div",
47
47
  {
48
- ref: t,
49
- ...r,
50
- className: p(
48
+ ref: e,
49
+ ...t,
50
+ className: d(
51
51
  "flex h-full items-center px-4 py-2 text-center md:p-8 lg:py-12",
52
52
  {
53
53
  "md:order-first lg:pl-20 lg:pr-12": i,
54
54
  "lg:pl-12 lg:pr-20": !i,
55
- "order-first": !o && s
55
+ "order-first": !p && s
56
56
  },
57
- l
57
+ r
58
58
  ),
59
- children: e
59
+ children: l
60
60
  }
61
61
  );
62
- }), M = d(({ className: l, children: e, ...r }, t) => /* @__PURE__ */ n(
62
+ }), M = o(({ className: r, children: l, ...t }, e) => /* @__PURE__ */ n(
63
63
  "p",
64
64
  {
65
- ref: t,
66
- className: p(
65
+ ref: e,
66
+ className: d(
67
67
  "items-center text-6xl font-semibold tracking-wider md:text-4xl lg:text-6xl",
68
- l
68
+ r
69
69
  ),
70
- ...r,
71
- children: e
70
+ ...t,
71
+ children: l
72
72
  }
73
- )), v = d(({ className: l, children: e, ...r }, t) => /* @__PURE__ */ n("p", { ref: t, className: p("text-lg", l), ...r, children: e }));
73
+ )), v = o(({ className: r, children: l, ...t }, e) => /* @__PURE__ */ n("p", { ref: e, className: d("text-lg", r), ...t, children: l }));
74
74
  x.displayName = "SplitCard";
75
75
  g.displayName = "SplitCard.LeftContent";
76
76
  C.displayName = "SplitCard.RightContent";
77
- const k = Object.assign(x, {
77
+ const j = Object.assign(x, {
78
78
  LeftContent: g,
79
79
  RightContent: C,
80
80
  Title: M,
81
81
  Text: v
82
82
  });
83
83
  export {
84
- k as SplitCard
84
+ j as SplitCard
85
85
  };
@@ -1,8 +1,5 @@
1
- import { SizeProp } from '@fortawesome/fontawesome-svg-core';
2
-
3
1
  export interface StarProps {
4
2
  stars?: 1 | 2 | 3 | 4 | 5;
5
- size?: SizeProp;
6
3
  }
7
4
  declare const Stars: any;
8
5
  export { Stars };
@@ -3,20 +3,20 @@ import { forwardRef as c } from "react";
3
3
  import { Icon as i } from "../Icon/index.js";
4
4
  import { faStar as n } from "@fortawesome/fontawesome-free-solid";
5
5
  import f from "clsx";
6
- const o = c(({ className: s, stars: a = 0, size: p }, e) => {
7
- const m = () => [...Array(5)].map((d, r) => /* @__PURE__ */ t(
6
+ const o = c(({ className: a, stars: s = 0 }, e) => {
7
+ const m = () => [...Array(5)].map((p, r) => /* @__PURE__ */ t(
8
8
  i,
9
9
  {
10
- className: r < a ? "text-star" : "",
10
+ className: r < s ? "text-star" : "",
11
11
  icon: n,
12
12
  size: "2x"
13
13
  },
14
14
  `checked_star_${r}`
15
15
  ));
16
- return /* @__PURE__ */ t("div", { ref: e, className: f("flex", s), children: m() });
16
+ return /* @__PURE__ */ t("div", { ref: e, className: f("flex", a), children: m() });
17
17
  });
18
18
  o.displayName = "Stars";
19
- const _ = Object.assign(o);
19
+ const N = Object.assign(o);
20
20
  export {
21
- _ as Stars
21
+ N as Stars
22
22
  };
@@ -1,22 +1,38 @@
1
- import { jsx as i } from "react/jsx-runtime";
1
+ import { jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as m } from "react";
3
- import { Card as u } from "../Card/index.js";
4
- import { Image as x } from "../Image/index.js";
3
+ import { Card as x } from "../Card/index.js";
4
+ import { Image as N } from "../Image/index.js";
5
5
  import o from "clsx";
6
- const n = m(({ className: s, children: e, ...t }, a) => /* @__PURE__ */ i(u, { ref: a, className: o("grid gap-4", s), ...t, children: e })), l = m(({ className: s, src: e, ...t }, a) => /* @__PURE__ */ i("div", { ref: a, className: "mx-auto w-40 ", children: /* @__PURE__ */ i(x, { className: "rounded-full", src: e, ...t }) })), r = m(({ className: s, children: e, ...t }, a) => /* @__PURE__ */ i("h3", { ref: a, className: "text-center text-lg font-medium", ...t, children: e })), c = m(({ className: s, children: e, ...t }, a) => /* @__PURE__ */ i("div", { ref: a, className: o("text-center", s), ...t, children: e })), T = m(({ className: s, children: e, ...t }, a) => /* @__PURE__ */ i(
6
+ const n = m(({ className: t, children: e, ...i }, a) => /* @__PURE__ */ s(x, { ref: a, className: o("grid gap-4", t), ...i, children: e })), l = m(({ className: t, src: e, ...i }, a) => /* @__PURE__ */ s("div", { ref: a, className: o("mx-auto w-40", t), children: /* @__PURE__ */ s(N, { className: "rounded-full", src: e, ...i }) })), r = m(({ className: t, children: e, ...i }, a) => /* @__PURE__ */ s(
7
+ "h3",
8
+ {
9
+ ref: a,
10
+ className: o("text-center text-lg font-medium", t),
11
+ ...i,
12
+ children: e
13
+ }
14
+ )), c = m(({ className: t, children: e, ...i }, a) => /* @__PURE__ */ s("div", { ref: a, className: o("text-center", t), ...i, children: e })), T = m(({ className: t, children: e, ...i }, a) => /* @__PURE__ */ s(
15
+ "p",
16
+ {
17
+ ref: a,
18
+ className: o("text-md font-regular text-sm", t),
19
+ ...i,
20
+ children: e
21
+ }
22
+ )), d = m(({ className: t, children: e, ...i }, a) => /* @__PURE__ */ s("p", { ref: a, className: o("font-regular text-sm", t), ...i, children: e })), p = m(({ className: t, children: e, ...i }, a) => /* @__PURE__ */ s(
7
23
  "p",
8
24
  {
9
25
  ref: a,
10
- className: o("text-md font-regular text-sm", s),
11
- ...t,
26
+ className: o("text-md text-center font-light", t),
27
+ ...i,
12
28
  children: e
13
29
  }
14
- )), N = m(({ className: s, children: e, ...t }, a) => /* @__PURE__ */ i("p", { ref: a, className: "font-regular text-sm", ...t, children: e })), d = m(({ className: s, children: e, ...t }, a) => /* @__PURE__ */ i("p", { className: o("text-md text-center font-light"), ...t, children: e })), p = m(({ className: s, children: e, ...t }, a) => /* @__PURE__ */ i(
30
+ )), u = m(({ className: t, children: e, ...i }, a) => /* @__PURE__ */ s(
15
31
  "p",
16
32
  {
17
33
  ref: a,
18
- className: o("text-center text-sm font-medium", s),
19
- ...t,
34
+ className: o("text-center text-sm font-medium", t),
35
+ ...i,
20
36
  children: e
21
37
  }
22
38
  ));
@@ -25,17 +41,17 @@ l.displayName = "Testimonial.Image";
25
41
  r.displayName = "Testimonial.Title";
26
42
  c.displayName = "Testimonial.Section";
27
43
  T.displayName = "Testimonial.Position";
28
- N.displayName = "Testimonial.Date";
29
- d.displayName = "Testimonial.Text";
30
- p.displayName = "Testimonial.AuthorDetails";
44
+ d.displayName = "Testimonial.Date";
45
+ p.displayName = "Testimonial.Text";
46
+ u.displayName = "Testimonial.AuthorDetails";
31
47
  const I = Object.assign(n, {
32
48
  Image: l,
33
49
  Title: r,
34
50
  Section: c,
35
51
  Position: T,
36
- Date: N,
37
- Text: d,
38
- AuthorDetails: p
52
+ Date: d,
53
+ Text: p,
54
+ AuthorDetails: u
39
55
  });
40
56
  export {
41
57
  I as Testimonial
@@ -1,69 +1,69 @@
1
- import { jsx as a, jsxs as f } from "react/jsx-runtime";
2
- import { createContext as A, forwardRef as o, useMemo as T, useRef as N, useContext as x } from "react";
3
- const d = A(null), i = o(({ children: l, errors: e, placeholder: t, ...r }, n) => {
4
- const s = T(
1
+ import { jsx as r, jsxs as f } from "react/jsx-runtime";
2
+ import { createContext as A, forwardRef as o, useMemo as T, useRef as N, useContext as d } from "react";
3
+ const s = A(null), x = o(({ children: e, errors: a, placeholder: t, ...l }, n) => {
4
+ const p = T(
5
5
  () => ({
6
- errors: e,
6
+ errors: a,
7
7
  placeholder: t,
8
- ...r
8
+ ...l
9
9
  }),
10
- [e, r]
10
+ [a, l]
11
11
  );
12
- return /* @__PURE__ */ a(d.Provider, { value: s, children: /* @__PURE__ */ a("div", { ref: n, children: l }) });
13
- }), c = o(
14
- ({ children: l, ...e }, t) => {
15
- const r = N(null);
16
- return /* @__PURE__ */ a(
12
+ return /* @__PURE__ */ r(s.Provider, { value: p, children: /* @__PURE__ */ r("div", { ref: n, children: e }) });
13
+ }), i = o(
14
+ ({ children: e, ...a }, t) => {
15
+ const l = N(null);
16
+ return /* @__PURE__ */ r(
17
17
  "div",
18
18
  {
19
19
  className: "mt-4 w-full",
20
20
  onClick: () => {
21
21
  var n;
22
- return (n = r.current) == null ? void 0 : n.focus();
22
+ return (n = l.current) == null ? void 0 : n.focus();
23
23
  },
24
24
  ref: t,
25
- ...e,
26
- children: l
25
+ ...a,
26
+ children: e
27
27
  }
28
28
  );
29
29
  }
30
- ), m = o(({ children: l, required: e = !1 }, t) => /* @__PURE__ */ f("div", { ref: t, className: "font-regular text-md flex rounded-2xl px-1", children: [
31
- /* @__PURE__ */ a("p", { children: l }),
32
- e && /* @__PURE__ */ a("p", { className: "font-semiBold text-lg", children: " *" })
33
- ] })), u = o(
34
- ({ ...l }) => {
35
- const { errors: e, placeholder: t } = x(d) || {};
36
- return /* @__PURE__ */ a(
30
+ ), m = o(({ children: e, required: a = !1 }, t) => /* @__PURE__ */ f("div", { ref: t, className: "font-regular text-md flex rounded-2xl px-1", children: [
31
+ /* @__PURE__ */ r("p", { children: e }),
32
+ a && /* @__PURE__ */ r("p", { className: "font-semiBold text-lg", children: " *" })
33
+ ] })), c = o(
34
+ () => {
35
+ const { placeholder: e } = d(s) || {};
36
+ return /* @__PURE__ */ r(
37
37
  "textarea",
38
38
  {
39
39
  className: "text-ink text-md w-full rounded-md border border-gray-300 py-2 pl-4",
40
- placeholder: t
40
+ placeholder: e
41
41
  }
42
42
  );
43
43
  }
44
- ), p = o(({ children: l, ...e }, t) => {
45
- const { errors: r } = x(d) || {};
46
- return /* @__PURE__ */ a(
44
+ ), u = o(({ ...e }, a) => {
45
+ const { errors: t } = d(s) || {};
46
+ return /* @__PURE__ */ r(
47
47
  "div",
48
48
  {
49
- ref: t,
49
+ ref: a,
50
50
  className: "text-md gap-y-2 font-semibold text-error-default",
51
51
  ...e,
52
- children: r == null ? void 0 : r.map((n, s) => /* @__PURE__ */ a("p", { children: n }, `error-msg-${s + 1}`))
52
+ children: t == null ? void 0 : t.map((l, n) => /* @__PURE__ */ r("p", { children: l }, `error-msg-${n + 1}`))
53
53
  }
54
54
  );
55
55
  });
56
- i.displayName = "TextArea";
57
- c.displayName = "TextArea.Item";
56
+ x.displayName = "TextArea";
57
+ i.displayName = "TextArea.Item";
58
58
  m.displayName = "TextArea.Label";
59
- u.displayName = "TextArea.Box";
60
- p.displayName = "TextArea.Validation";
61
- const h = Object.assign(i, {
62
- Item: c,
59
+ c.displayName = "TextArea.Box";
60
+ u.displayName = "TextArea.Validation";
61
+ const g = Object.assign(x, {
62
+ Item: i,
63
63
  Label: m,
64
- Box: u,
65
- Validation: p
64
+ Box: c,
65
+ Validation: u
66
66
  });
67
67
  export {
68
- h as TextArea
68
+ g as TextArea
69
69
  };
@@ -35,4 +35,4 @@ import { Breadcrumbs } from './Breadcrumbs';
35
35
  import { AlertBar } from './AlertBar';
36
36
  import { Accordion } from './Accordion';
37
37
 
38
- export { Accordion, AlertBar, Breadcrumbs, Button, CalendarComponent, Card, Checkbox, Carousel, CarouselThumbnail, Collapsible, Counter, DetailUpdater, Dialog, Dropdown, Form, Footer, FooterNav, Greeting, Icon, Image, ImageCard, Input, MenuButton, Modal, Nav, NavItem, Pill, Search, Select, SplitCard, Stars, Testimonial, TextArea, Timeline, Tubestops, Video, };
38
+ export { Accordion, AlertBar, Breadcrumbs, Button, CalendarComponent, Card, Checkbox, Carousel, CarouselThumbnail, Collapsible, Counter, DetailUpdater, Dialog, Dropdown, Form, Footer, FooterNav, Greeting, Icon, Image, ImageCard, Input, MenuButton, Modal, Nav, NavItem, Pill, Search, Select, SplitCard, Stars, Testimonial, TextArea, Timeline, Tubestops, Video };
@@ -1,38 +1,38 @@
1
1
  body.theme-penrithmrt {
2
- --color-primary: #3C2F71;
3
- --color-secondary: #E94439;
2
+ --color-primary: #3c2f71;
3
+ --color-secondary: #e94439;
4
4
  --color-tertiary: #921457;
5
5
 
6
6
  --color-loading: #a3a3a3;
7
7
 
8
8
  /* pill */
9
- --color-error-default: #b91c1c;
9
+ --color-error-default: #ffffff;
10
10
  --color-warning-default: #a16207;
11
11
  --color-success-default: #047857;
12
12
  --color-info-default: #0369a1;
13
13
 
14
- --color-error-light: #fca5a5;
14
+ --color-error-light: #e94439;
15
15
  --color-warning-light: #fde047;
16
16
  --color-success-light: #6ee7b7;
17
17
  --color-info-light: #7dd3fc;
18
18
 
19
19
  /* Button */
20
- --color-button-primary-active: #3C2F71;
21
- --color-button-primary-border: #3C2F71;
22
- --color-button-primary-bg: #3C2F71;
20
+ --color-button-primary-active: #3c2f71;
21
+ --color-button-primary-border: #3c2f71;
22
+ --color-button-primary-bg: #3c2f71;
23
23
  --color-button-primary-text: #ffffff;
24
- --color-button-primary-hover: #3C2F71;
24
+ --color-button-primary-hover: #3c2f71;
25
25
 
26
26
  --color-button-secondary-active: #c71f1f;
27
27
  --color-button-secondary-border: #c71f1f;
28
- --color-button-secondary-bg: #E94439;
28
+ --color-button-secondary-bg: #e94439;
29
29
  --color-button-secondary-text: #ffffff;
30
30
  --color-button-secondary-hover: #c71f1f;
31
31
 
32
32
  --color-button-ghost-active: #242424;
33
33
  --color-button-ghost-border: #ffffff00;
34
34
  --color-button-ghost-bg: #cbcbcb00;
35
- --color-button-ghost-text: #3C2F71;
35
+ --color-button-ghost-text: #3c2f71;
36
36
  --color-button-ghost-hover: #c8c7c7;
37
37
 
38
38
  --color-button-bordered-active: #242424;
@@ -44,9 +44,16 @@ body.theme-penrithmrt {
44
44
  --color-button-basic-active: #acacac;
45
45
  --color-button-basic-border: #ffffff;
46
46
  --color-button-basic-bg: #ffffff;
47
- --color-button-basic-text: #3C2F71;
47
+ --color-button-basic-text: #3c2f71;
48
48
  --color-button-basic-hover: #cecece;
49
49
 
50
+ /* Carousel */
51
+ --color-carousel-arrow-default: '#3c2f71';
52
+ --color-carousel-arrow-hover: '#e94439';
53
+ --color-carousel-dots-default: '#3c2f71';
54
+ --color-carousel-dots-active: '#e94439';
55
+ --color-carousel-dots-hover: '#e94439';
56
+
50
57
  /* Footer */
51
58
  --color-footer-bg: #1b54c6;
52
59
  --color-footer-text: #ffffff;
@@ -64,15 +71,8 @@ body.theme-penrithmrt {
64
71
  --color-tubestop-text-complete: #c9c8c8;
65
72
  --color-tubestop-text-future: #5b5b5b;
66
73
 
67
- /* Carousel */
68
- --color-carousel-dots-active: #1a1dd9;
69
- --color-carousel-dots-default: #2c2525;
70
- --color-carousel-dots-hover: #1a1dd9;
71
- --color-carousel-arrow-default: #31a3dd;
72
- --color-carousel-arrow-hover: #ae127a;
73
-
74
74
  /* Nav */
75
75
  --color-nav-bg: #f3f4f6;
76
76
  --color-nav-shadow-bg: #d1d5db;
77
- --color-nav-text: #3C2F71;
77
+ --color-nav-text: #3c2f71;
78
78
  }
@@ -5,5 +5,5 @@ export default {
5
5
  DEFAULT: 'var(--shadow)',
6
6
  md: 'var(--shadow-md)',
7
7
  lg: 'var(--shadow-lg)',
8
- xl: 'var(--shadow-xl)',
8
+ xl: 'var(--shadow-xl)'
9
9
  };