trepur_components 2.3.48 → 2.3.49

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 (87) hide show
  1. package/lib/components/Accordion/Accordion.stories.d.ts +1 -1
  2. package/lib/components/AlertBar/AlertBar.stories.d.ts +1 -1
  3. package/lib/components/AlertBar/index.js +3 -3
  4. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -2
  5. package/lib/components/Breadcrumbs/index.d.ts +1 -1
  6. package/lib/components/Breadcrumbs/index.js +4 -4
  7. package/lib/components/Button/Button.stories.d.ts +1 -1
  8. package/lib/components/Calendar/Calendar.stories.d.ts +1 -1
  9. package/lib/components/Calendar/index.js +1 -1
  10. package/lib/components/Card/Card.stories.d.ts +1 -1
  11. package/lib/components/Carousel/Carousel.stories.d.ts +1 -1
  12. package/lib/components/Carousel/index.d.ts +1 -1
  13. package/lib/components/Carousel/index.js +7 -7
  14. package/lib/components/CarouselThumbnail/CarouselThumbnail.stories.d.ts +1 -1
  15. package/lib/components/CarouselThumbnail/index.d.ts +1 -1
  16. package/lib/components/CarouselThumbnail/index.js +4 -4
  17. package/lib/components/Checkbox/Checkbox.stories.d.ts +1 -1
  18. package/lib/components/Collapsible/Collapsible.stories.d.ts +1 -1
  19. package/lib/components/Collapsible/index.d.ts +2 -2
  20. package/lib/components/Collapsible/index.js +40 -42
  21. package/lib/components/Counter/Counter.stories.d.ts +1 -1
  22. package/lib/components/Counter/index.js +6 -6
  23. package/lib/components/DetailUpdater/DetailUpdater.stories.d.ts +1 -1
  24. package/lib/components/DetailUpdater/index.d.ts +0 -1
  25. package/lib/components/Dropdown/Dropdown.stories.d.ts +1 -1
  26. package/lib/components/Dropdown/index.d.ts +1 -1
  27. package/lib/components/Dropdown/index.js +3 -3
  28. package/lib/components/FileUploader/FileUploader.stories.d.ts +1 -1
  29. package/lib/components/Footer/Footer.stories.d.ts +1 -1
  30. package/lib/components/FooterNav/FooterNav.stories.d.ts +3 -3
  31. package/lib/components/FooterNav/index.d.ts +3 -3
  32. package/lib/components/Form/Form.stories.d.ts +1 -1
  33. package/lib/components/Form/index.d.ts +1 -1
  34. package/lib/components/Gallery/Gallery.stories.d.ts +1 -1
  35. package/lib/components/Gallery/index.d.ts +1 -1
  36. package/lib/components/Greeting/Greeting.stories.d.ts +1 -1
  37. package/lib/components/HamburgerIcon/HamburgerIcon.stories.d.ts +1 -1
  38. package/lib/components/Icon/Icon.stories.d.ts +1 -1
  39. package/lib/components/Icon/index.d.ts +1 -1
  40. package/lib/components/Image/Image.stories.d.ts +1 -1
  41. package/lib/components/ImageCard/ImageCard.stories.d.ts +1 -1
  42. package/lib/components/ImageCard/index.d.ts +1 -1
  43. package/lib/components/Input/Input.stories.d.ts +2 -2
  44. package/lib/components/Input/index.d.ts +1 -1
  45. package/lib/components/Input/index.js +3 -3
  46. package/lib/components/Link/Link.stories.d.ts +1 -1
  47. package/lib/components/Map/Map.stories.d.ts +1 -1
  48. package/lib/components/Map/index.js +2 -2
  49. package/lib/components/Map/utils.d.ts +1 -1
  50. package/lib/components/Map/utils.js +3 -6
  51. package/lib/components/MenuButton/MenuButton.stories.d.ts +1 -1
  52. package/lib/components/Nav/Nav.stories.d.ts +2 -2
  53. package/lib/components/Nav/index.d.ts +2 -2
  54. package/lib/components/Nav/index.js +3 -3
  55. package/lib/components/NavItem/NavItem.stories.d.ts +5 -5
  56. package/lib/components/NavItem/index.d.ts +4 -4
  57. package/lib/components/Pill/Pill.stories.d.ts +1 -1
  58. package/lib/components/Search/Search.stories.d.ts +1 -1
  59. package/lib/components/Select/Select.stories.d.ts +1 -1
  60. package/lib/components/Showcase/Showcase.stories.d.ts +1 -1
  61. package/lib/components/Showcase/index.d.ts +1 -1
  62. package/lib/components/SideNav/SideNav.stories.d.ts +1 -1
  63. package/lib/components/SocialButton/SocialButton.stories.d.ts +1 -1
  64. package/lib/components/SplitCard/SplitCard.stories.d.ts +1 -1
  65. package/lib/components/SplitCard/index.js +3 -3
  66. package/lib/components/Stars/Stars.stories.d.ts +1 -1
  67. package/lib/components/Testimonial/Testimonial.stories.d.ts +1 -1
  68. package/lib/components/Testimonial/index.d.ts +1 -1
  69. package/lib/components/TextArea/TextArea.stories.d.ts +2 -2
  70. package/lib/components/TextArea/index.d.ts +1 -1
  71. package/lib/components/TextArea/index.js +3 -3
  72. package/lib/components/Timeline/Timeline.stories.d.ts +1 -1
  73. package/lib/components/Tubestops/Tubestops.stories.d.ts +1 -1
  74. package/lib/components/Tubestops/index.js +4 -4
  75. package/lib/components/Video/Video.stories.d.ts +1 -1
  76. package/lib/components/Video/index.d.ts +1 -1
  77. package/lib/components/index.d.ts +37 -37
  78. package/lib/documentation/typography/Fonts/Fonts.stories.d.ts +1 -1
  79. package/lib/node_modules/keen-slider/react.js +261 -294
  80. package/lib/style.css +1 -1
  81. package/lib/utils/matchMedia.js +1 -2
  82. package/lib/utils/screens.js +3 -7
  83. package/package.json +2 -2
  84. package/lib/components/Calendar/style.css.js +0 -1
  85. package/lib/components/Map/map.css.js +0 -1
  86. package/lib/node_modules/@maptiler/sdk/dist/maptiler-sdk.css.js +0 -1
  87. package/lib/node_modules/keen-slider/keen-slider.min.css.js +0 -1
@@ -1,5 +1,5 @@
1
- import { Accordion } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Accordion } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { AlertBar } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,10 +1,10 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { createContext as b, forwardRef as o, useMemo as h, useContext as l } from "react";
2
+ import { forwardRef as o, useMemo as b, createContext as h, useContext as l } from "react";
3
3
  import { faCrosshairs as A } from "@fortawesome/fontawesome-free-solid";
4
4
  import B from "clsx";
5
5
  import { Button as w } from "../Button/index.js";
6
6
  import { Icon as c } from "../Icon/index.js";
7
- const s = b(null), f = o(
7
+ const s = h(null), f = o(
8
8
  ({
9
9
  className: t,
10
10
  children: a,
@@ -13,7 +13,7 @@ const s = b(null), f = o(
13
13
  loading: i = !1,
14
14
  ...g
15
15
  }, p) => {
16
- const x = h(
16
+ const x = b(
17
17
  () => ({
18
18
  dismiss: n,
19
19
  loading: i
@@ -1,5 +1,5 @@
1
- import { Breadcrumbs } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Breadcrumbs } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -8,7 +8,7 @@ declare const meta: {
8
8
  children?: any;
9
9
  } & import('react').RefAttributes<HTMLLIElement>>;
10
10
  Label: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLAnchorElement> & {
11
- href?: string | undefined;
11
+ href?: string;
12
12
  } & import('react').RefAttributes<HTMLAnchorElement>>;
13
13
  };
14
14
  args: {
@@ -11,7 +11,7 @@ declare const Breadcrumbs: import('react').ForwardRefExoticComponent<HTMLAttribu
11
11
  children?: any;
12
12
  } & import('react').RefAttributes<HTMLLIElement>>;
13
13
  Label: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLAnchorElement> & {
14
- href?: string | undefined;
14
+ href?: string;
15
15
  } & import('react').RefAttributes<HTMLAnchorElement>>;
16
16
  };
17
17
  export { Breadcrumbs };
@@ -1,7 +1,7 @@
1
1
  import { jsx as s, jsxs as C } from "react/jsx-runtime";
2
- import { createContext as p, forwardRef as n, useMemo as d, useContext as i, Children as v } from "react";
3
- const b = p(null), f = p(null), x = n(({ children: e, ...r }, t) => {
4
- const a = d(
2
+ import { forwardRef as n, useMemo as p, createContext as d, useContext as i, Children as v } from "react";
3
+ const b = d(null), f = d(null), x = n(({ children: e, ...r }, t) => {
4
+ const a = p(
5
5
  () => ({
6
6
  allLinks: e
7
7
  }),
@@ -10,7 +10,7 @@ const b = p(null), f = p(null), x = n(({ children: e, ...r }, t) => {
10
10
  return /* @__PURE__ */ s(b.Provider, { value: a, children: /* @__PURE__ */ s("ul", { ref: t, className: "flex gap-2", ...r, children: e }) });
11
11
  }), B = n(({ children: e, ...r }, t) => {
12
12
  var c, m, u;
13
- const { allLinks: a } = i(b) || {}, o = v.toArray(a), l = ((c = e == null ? void 0 : e.props) == null ? void 0 : c.children) === ((u = (m = o[o.length - 1]) == null ? void 0 : m.props) == null ? void 0 : u.children.props.children), N = d(
13
+ const { allLinks: a } = i(b) || {}, o = v.toArray(a), l = ((c = e == null ? void 0 : e.props) == null ? void 0 : c.children) === ((u = (m = o[o.length - 1]) == null ? void 0 : m.props) == null ? void 0 : u.children.props.children), N = p(
14
14
  () => ({
15
15
  isLast: l
16
16
  }),
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { Button } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { CalendarComponent } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,7 +1,7 @@
1
1
  import { jsx as C } from "react/jsx-runtime";
2
2
  import { forwardRef as g, useState as w } from "react";
3
3
  import y from "react-calendar";
4
- import "./style.css.js";
4
+ /* empty css */
5
5
  const o = g(
6
6
  ({
7
7
  onChange: i,
@@ -1,5 +1,5 @@
1
- import { Card } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Card } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { Carousel } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Carousel } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { KeenSliderInstance, KeenSliderHooks, KeenSliderOptions } from 'keen-slider/react';
2
1
  import { HTMLAttributes } from 'react';
2
+ import { KeenSliderInstance, KeenSliderHooks, KeenSliderOptions } from 'keen-slider/react';
3
3
 
4
4
  export interface ArrowProps {
5
5
  rightArrow?: boolean;
@@ -1,12 +1,12 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { createContext as z, forwardRef as m, useState as g, useMemo as I, useContext as x } from "react";
2
+ import { forwardRef as m, useState as g, useMemo as z, createContext as I, useContext as x } from "react";
3
3
  import { Icon as w } from "../Icon/index.js";
4
- import { faChevronRight as K, faChevronLeft as L, faCircle as T } from "@fortawesome/fontawesome-free-solid";
4
+ import { faCircle as K, faChevronRight as L, faChevronLeft as T } from "@fortawesome/fontawesome-free-solid";
5
5
  import u from "clsx";
6
- import "../../node_modules/keen-slider/keen-slider.min.css.js";
6
+ /* empty css */
7
7
  import { useKeenSlider as $ } from "../../node_modules/keen-slider/react.js";
8
8
  import { WheelControls as M } from "./utils.js";
9
- const p = z(null), b = m(
9
+ const p = I(null), b = m(
10
10
  ({
11
11
  breakpoints: o,
12
12
  children: t,
@@ -34,7 +34,7 @@ const p = z(null), b = m(
34
34
  }
35
35
  },
36
36
  [M]
37
- ), A = I(
37
+ ), A = z(
38
38
  () => ({
39
39
  sliderRef: y,
40
40
  instanceRef: v,
@@ -104,7 +104,7 @@ const p = z(null), b = m(
104
104
  t ? c.stopPropagation() !== void 0 || ((l = r.current) == null || l.next()) : c.stopPropagation() !== void 0 || ((a = r.current) == null || a.prev());
105
105
  },
106
106
  ...s,
107
- children: /* @__PURE__ */ n(w, { icon: t ? K : L, size: "3x" })
107
+ children: /* @__PURE__ */ n(w, { icon: t ? L : T, size: "3x" })
108
108
  }
109
109
  );
110
110
  }), j = m(({ className: o, ...t }, s) => {
@@ -127,7 +127,7 @@ const p = z(null), b = m(
127
127
  "hover:text-carousel-dots-hover",
128
128
  r === i ? "text-carousel-dots-active" : "text-carousel-dots-default"
129
129
  ),
130
- icon: T,
130
+ icon: K,
131
131
  size: "xl"
132
132
  }
133
133
  )
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { CarouselThumbnail } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { KeenSliderInstance, KeenSliderHooks, KeenSliderOptions } from 'keen-slider/react';
2
1
  import { HTMLAttributes } from 'react';
2
+ import { KeenSliderInstance, KeenSliderHooks, KeenSliderOptions } from 'keen-slider/react';
3
3
 
4
4
  export interface CarouselThumbnailContextProps {
5
5
  slideWrapperClassName?: string;
@@ -1,12 +1,12 @@
1
1
  import { jsx as i, jsxs as C, Fragment as T } from "react/jsx-runtime";
2
- import { createContext as x, forwardRef as o, useMemo as v, useContext as N } from "react";
2
+ import { forwardRef as o, useMemo as x, createContext as v, useContext as N } from "react";
3
3
  import t from "clsx";
4
- import "../../node_modules/keen-slider/keen-slider.min.css.js";
4
+ /* empty css */
5
5
  import { useKeenSlider as a } from "../../node_modules/keen-slider/react.js";
6
6
  import { breakpointsToRender as S } from "./const.js";
7
7
  import { WheelControls as g, ThumbnailPlugin as w } from "./utils.js";
8
- const m = x(null), u = o(({ children: r, className: l, ...e }, s) => {
9
- const n = v(
8
+ const m = v(null), u = o(({ children: r, className: l, ...e }, s) => {
9
+ const n = x(
10
10
  () => ({
11
11
  ...e
12
12
  }),
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { Checkbox } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { Collapsible } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Collapsible } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,11 +1,11 @@
1
- import { ImageProps } from '../Image';
2
1
  import { HTMLAttributes } from 'react';
2
+ import { ImageProps } from '../Image';
3
3
 
4
4
  export interface CollapsibleContextProps {
5
5
  loading?: boolean;
6
6
  expanded?: boolean;
7
7
  setExpanded?: (expanded: boolean) => void;
8
- expandFully?: boolean;
8
+ defaultExpanded?: boolean;
9
9
  }
10
10
  declare const Collapsible: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & CollapsibleContextProps & import('react').RefAttributes<HTMLDivElement>> & {
11
11
  Header: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,21 +1,20 @@
1
- import { jsx as t, jsxs as H } from "react/jsx-runtime";
2
- import { createContext as T, forwardRef as o, useState as I, useMemo as S, useContext as c } from "react";
3
- import { Icon as j } from "../Icon/index.js";
4
- import { Image as L } from "../Image/index.js";
5
- import { faChevronDown as k, faChevronUp as q } from "@fortawesome/fontawesome-free-solid";
1
+ import { jsx as s, jsxs as H } from "react/jsx-runtime";
2
+ import { forwardRef as o, useState as T, useMemo as I, createContext as S, useContext as c } from "react";
3
+ import { Icon as L } from "../Icon/index.js";
4
+ import { Image as j } from "../Image/index.js";
5
+ import { faChevronDown as M, faChevronUp as _ } from "@fortawesome/fontawesome-free-solid";
6
6
  import n from "clsx";
7
- const r = T(null), x = o(
8
- ({ id: e, className: l, children: a, loading: s, expandFully: i = !1, ...m }, g) => {
9
- const [p, d] = I(!1), w = S(
7
+ const m = S(null), x = o(
8
+ ({ id: e, className: l, children: t, loading: a, defaultExpanded: i = !1, ...r }, g) => {
9
+ const [p, d] = T(i), w = I(
10
10
  () => ({
11
- loading: s,
11
+ loading: a,
12
12
  expanded: p,
13
- setExpanded: d,
14
- expandFully: i
13
+ setExpanded: d
15
14
  }),
16
- [s, p, d]
15
+ [a, p, d]
17
16
  );
18
- return /* @__PURE__ */ t(r.Provider, { value: w, children: /* @__PURE__ */ t(
17
+ return /* @__PURE__ */ s(m.Provider, { value: w, children: /* @__PURE__ */ s(
19
18
  "div",
20
19
  {
21
20
  id: e,
@@ -24,81 +23,80 @@ const r = T(null), x = o(
24
23
  l
25
24
  ),
26
25
  ref: g,
27
- ...m,
28
- children: a
26
+ ...r,
27
+ children: t
29
28
  }
30
29
  ) });
31
30
  }
32
- ), C = o(({ className: e, children: l, ...a }, s) => {
33
- const { expanded: i, setExpanded: m } = c(r) || {};
31
+ ), C = o(({ className: e, children: l, ...t }, a) => {
32
+ const { expanded: i, setExpanded: r } = c(m) || {};
34
33
  return /* @__PURE__ */ H(
35
34
  "div",
36
35
  {
37
36
  className: n("flex h-24 pr-4 sm:pr-8", e),
38
- onClick: () => m == null ? void 0 : m(!i),
39
- ref: s,
40
- ...a,
37
+ onClick: () => r == null ? void 0 : r(!i),
38
+ ref: a,
39
+ ...t,
41
40
  children: [
42
41
  l,
43
- /* @__PURE__ */ t("div", { className: "my-auto flex-none", children: /* @__PURE__ */ t(j, { icon: i ? k : q }) })
42
+ /* @__PURE__ */ s("div", { className: "my-auto flex-none", children: /* @__PURE__ */ s(L, { icon: i ? M : _ }) })
44
43
  ]
45
44
  }
46
45
  );
47
- }), b = o(({ children: e, className: l, ...a }, s) => /* @__PURE__ */ t(
46
+ }), b = o(({ children: e, className: l, ...t }, a) => /* @__PURE__ */ s(
48
47
  "div",
49
48
  {
50
49
  className: n("mx-4 my-auto grid w-full", l),
51
- ref: s,
52
- ...a,
50
+ ref: a,
51
+ ...t,
53
52
  children: e
54
53
  }
55
- )), u = o(({ className: e, src: l, ...a }, s) => /* @__PURE__ */ t("div", { ref: s, className: n("aspect-square flex-none p-4", e), children: /* @__PURE__ */ t(L, { src: l, className: "h-full rounded-2xl", ...a }) })), f = o(({ className: e, ...l }, a) => /* @__PURE__ */ t(
54
+ )), u = o(({ className: e, src: l, ...t }, a) => /* @__PURE__ */ s("div", { ref: a, className: n("aspect-square flex-none p-4", e), children: /* @__PURE__ */ s(j, { src: l, className: "h-full rounded-2xl", ...t }) })), N = o(({ className: e, ...l }, t) => /* @__PURE__ */ s(
56
55
  "p",
57
56
  {
58
57
  className: n("text-xxs text-light-grey truncate md:text-xs", e),
59
- ref: a,
58
+ ref: t,
60
59
  ...l
61
60
  }
62
- )), N = o(({ className: e, ...l }, a) => /* @__PURE__ */ t(
61
+ )), f = o(({ className: e, ...l }, t) => /* @__PURE__ */ s(
63
62
  "p",
64
63
  {
65
64
  className: n("md:text-md truncate text-sm", e),
66
- ref: a,
65
+ ref: t,
67
66
  ...l
68
67
  }
69
- )), h = o(({ className: e, ...l }, a) => /* @__PURE__ */ t(
68
+ )), h = o(({ className: e, ...l }, t) => /* @__PURE__ */ s(
70
69
  "p",
71
70
  {
72
71
  className: n("truncate text-xs md:text-sm", e),
73
- ref: a,
72
+ ref: t,
74
73
  ...l
75
74
  }
76
- )), y = o(({ children: e, className: l, ...a }, s) => {
77
- const { expanded: i, expandFully: m } = c(r) || {};
78
- return /* @__PURE__ */ t(
75
+ )), y = o(({ children: e, className: l, ...t }, a) => {
76
+ const { expanded: i } = c(m) || {};
77
+ return /* @__PURE__ */ s(
79
78
  "div",
80
79
  {
81
80
  className: n(
82
81
  "w-auto overflow-scroll px-4 transition-max-height duration-300",
83
82
  {
84
- "max-h-32": i && !m,
85
- "max-h-full": i && m,
83
+ "max-h-[800px]": i,
86
84
  "max-h-0": !i
87
85
  },
88
86
  l
89
87
  ),
90
- ref: s,
91
- ...a,
88
+ ref: a,
89
+ ...t,
92
90
  children: e
93
91
  }
94
92
  );
95
- }), v = o(({ className: e, ...l }, a) => /* @__PURE__ */ t("p", { className: n("text-xs md:text-sm", e), ref: a, ...l }));
93
+ }), v = o(({ children: e, className: l, ...t }, a) => /* @__PURE__ */ s("p", { className: n("text-xs md:text-sm pb-6", l), ref: a, ...t, dangerouslySetInnerHTML: { __html: e } }));
96
94
  x.displayName = "Collapsible";
97
95
  C.displayName = "Collapsible.Header";
98
96
  y.displayName = "Collapsible.Content";
99
97
  u.displayName = "Collapsible.Image";
100
- f.displayName = "Collapsible.Label";
101
- N.displayName = "Collapsible.Title";
98
+ N.displayName = "Collapsible.Label";
99
+ f.displayName = "Collapsible.Title";
102
100
  h.displayName = "Collapsible.Subtitle";
103
101
  b.displayName = "Collapsible.HeaderContent";
104
102
  v.displayName = "Collapsible.Text";
@@ -106,8 +104,8 @@ const U = Object.assign(x, {
106
104
  Header: C,
107
105
  HeaderContent: b,
108
106
  Image: u,
109
- Label: f,
110
- Title: N,
107
+ Label: N,
108
+ Title: f,
111
109
  Subtitle: h,
112
110
  Content: y,
113
111
  Text: v
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { Counter } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,9 +1,9 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { createContext as f, forwardRef as t, useState as I, useMemo as v, useContext as c } from "react";
2
+ import { forwardRef as t, useState as f, useMemo as I, createContext as v, useContext as c } from "react";
3
3
  import { Icon as i } from "../Icon/index.js";
4
- import { faChevronCircleLeft as h, faChevronCircleRight as N } from "@fortawesome/fontawesome-free-solid";
5
- const r = f(null), a = t(({ children: e, count: o = 0 }, d) => {
6
- const [u, s] = I(o), p = v(
4
+ import { faChevronCircleRight as h, faChevronCircleLeft as N } from "@fortawesome/fontawesome-free-solid";
5
+ const r = v(null), a = t(({ children: e, count: o = 0 }, d) => {
6
+ const [u, s] = f(o), p = I(
7
7
  () => ({
8
8
  currentCount: u,
9
9
  setCurrentCount: s
@@ -16,7 +16,7 @@ const r = f(null), a = t(({ children: e, count: o = 0 }, d) => {
16
16
  return /* @__PURE__ */ n("div", { className: "my-auto cursor-pointer", children: /* @__PURE__ */ n(
17
17
  i,
18
18
  {
19
- icon: h,
19
+ icon: N,
20
20
  onClick: () => e == null ? void 0 : e(o - 1)
21
21
  }
22
22
  ) });
@@ -25,7 +25,7 @@ const r = f(null), a = t(({ children: e, count: o = 0 }, d) => {
25
25
  return /* @__PURE__ */ n("div", { className: "my-auto cursor-pointer", children: /* @__PURE__ */ n(
26
26
  i,
27
27
  {
28
- icon: N,
28
+ icon: h,
29
29
  onClick: () => e == null ? void 0 : e(o + 1)
30
30
  }
31
31
  ) });
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { DetailUpdater } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface DetailUpdatesProps {
3
2
  id?: string;
4
3
  className?: string;
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { Dropdown } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { ButtonProps } from '../Button';
2
1
  import { HTMLAttributes } from 'react';
2
+ import { ButtonProps } from '../Button';
3
3
 
4
4
  export interface DropdownContextProps {
5
5
  showDropdown?: boolean;
@@ -1,10 +1,10 @@
1
1
  import { jsx as r, jsxs as f } from "react/jsx-runtime";
2
- import { createContext as D, forwardRef as s, useState as b, useRef as x, useMemo as y, useContext as i } from "react";
2
+ import { forwardRef as s, useState as D, useRef as b, useMemo as x, createContext as y, useContext as i } from "react";
3
3
  import { Button as d } from "../Button/index.js";
4
4
  import { faChevronDown as v } from "@fortawesome/fontawesome-free-solid";
5
5
  import { useClickOutside as C } from "./utils.js";
6
- const a = D(null), c = s(({ children: t }, n) => {
7
- const [o, e] = b(!1), l = x(null), w = y(
6
+ const a = y(null), c = s(({ children: t }, n) => {
7
+ const [o, e] = D(!1), l = b(null), w = x(
8
8
  () => ({
9
9
  showDropdown: o,
10
10
  setShowDropdown: e
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { FileUploader } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { Footer } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,16 +1,16 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { FooterNav } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
6
6
  component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
7
7
  Item: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
8
- href?: string | undefined;
8
+ href?: string;
9
9
  onClick?: any;
10
10
  } & import('react').RefAttributes<HTMLDivElement>>;
11
11
  Label: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
12
12
  Icon: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
13
- icon: import('@fortawesome/fontawesome-svg-core').IconProp | import('@fortawesome/fontawesome-free-solid').IconDefinition;
13
+ icon: import('@fortawesome/fontawesome-free-solid').IconDefinition | import('@fortawesome/fontawesome-svg-core').IconProp;
14
14
  } & import('react').RefAttributes<HTMLDivElement>>;
15
15
  };
16
16
  args: {
@@ -1,10 +1,10 @@
1
- import { IconProp } from '@fortawesome/fontawesome-svg-core';
2
- import { IconDefinition } from '@fortawesome/fontawesome-free-solid';
3
1
  import { HTMLAttributes } from 'react';
2
+ import { IconDefinition } from '@fortawesome/fontawesome-free-solid';
3
+ import { IconProp } from '@fortawesome/fontawesome-svg-core';
4
4
 
5
5
  declare const FooterNav: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
6
6
  Item: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
7
- href?: string | undefined;
7
+ href?: string;
8
8
  onClick?: any;
9
9
  } & import('react').RefAttributes<HTMLDivElement>>;
10
10
  Label: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
- import { Form } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Form } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { InputContextProps } from '../Input';
2
1
  import { ButtonProps } from '../Button';
2
+ import { InputContextProps } from '../Input';
3
3
 
4
4
  export interface Props {
5
5
  id?: string;
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { Gallery } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { ImageProps } from '../Image';
2
1
  import { HTMLAttributes } from 'react';
2
+ import { ImageProps } from '../Image';
3
3
 
4
4
  declare const Gallery: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
5
5
  Item: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & ImageProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { Greeting } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { HamburgerIcon } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { HamburgerIcon } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { Icon } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { IconProp, SizeProp } from '@fortawesome/fontawesome-svg-core';
2
1
  import { IconDefinition } from '@fortawesome/fontawesome-free-solid';
2
+ import { IconProp, SizeProp } from '@fortawesome/fontawesome-svg-core';
3
3
 
4
4
  export interface IconProps {
5
5
  className?: string;
@@ -1,5 +1,5 @@
1
- import { Image } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Image } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { ImageCard } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { ImageCard } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { ImageProps } from '../Image';
2
1
  import { HTMLAttributes } from 'react';
2
+ import { ImageProps } from '../Image';
3
3
 
4
4
  declare const ImageCard: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
5
5
  Image: import('react').ForwardRefExoticComponent<HTMLAttributes<ImageProps> & ImageProps & import('react').RefAttributes<HTMLImageElement>>;