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,12 +1,12 @@
1
- import { Input } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Input } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
6
6
  component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('.').InputContextProps & import('react').RefAttributes<HTMLDivElement>> & {
7
7
  Item: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
8
8
  Label: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
9
- required?: boolean | undefined;
9
+ required?: boolean;
10
10
  } & import('react').RefAttributes<HTMLDivElement>>;
11
11
  Box: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLInputElement> & import('react').RefAttributes<HTMLInputElement>>;
12
12
  Validation: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
@@ -25,7 +25,7 @@ export interface InputContextProps {
25
25
  declare const Input: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & InputContextProps & import('react').RefAttributes<HTMLDivElement>> & {
26
26
  Item: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
27
27
  Label: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
28
- required?: boolean | undefined;
28
+ required?: boolean;
29
29
  } & import('react').RefAttributes<HTMLDivElement>>;
30
30
  Box: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLInputElement> & import('react').RefAttributes<HTMLInputElement>>;
31
31
  Validation: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,8 +1,8 @@
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 y, useContext as d } from "react";
2
+ import { forwardRef as a, useMemo as b, createContext as N, useContext as d, useRef as y } from "react";
3
3
  import m from "clsx";
4
- const s = b(null), p = a(({ children: r, errors: e, placeholder: t, ...n }, l) => {
5
- const f = N(
4
+ const s = N(null), p = a(({ children: r, errors: e, placeholder: t, ...n }, l) => {
5
+ const f = b(
6
6
  () => ({
7
7
  errors: e,
8
8
  placeholder: t,
@@ -1,5 +1,5 @@
1
- import { Link } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Link } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { Map } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Map } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -3,8 +3,8 @@ import { useRef as D, useEffect as J } from "react";
3
3
  import { handleBoundary as j, renderMarkers as q, handleFitMarkers as C, renderInformationPopups as Q } from "./utils.js";
4
4
  import X from "clsx";
5
5
  import * as l from "@maptiler/sdk";
6
- import "../../node_modules/@maptiler/sdk/dist/maptiler-sdk.css.js";
7
- import "./map.css.js";
6
+ /* empty css */
7
+ /* empty css */
8
8
  function G({
9
9
  id: P,
10
10
  markers: u,
@@ -1,5 +1,5 @@
1
- import { Marker } from './types';
2
1
  import { MutableRefObject } from 'react';
2
+ import { Marker } from './types';
3
3
 
4
4
  import * as maptilersdk from '@maptiler/sdk';
5
5
  export interface FeatureGeometry {
@@ -44,8 +44,7 @@ function B(t, e) {
44
44
  });
45
45
  (i = t.current) == null || i.on("mouseenter", "places", function(o) {
46
46
  var c, s, f, g;
47
- if (!t.current)
48
- return;
47
+ if (!t.current) return;
49
48
  t.current.getCanvas().style.cursor = "pointer";
50
49
  const { coordinates: r } = (s = (c = o.features) == null ? void 0 : c[0]) == null ? void 0 : s.geometry, { title: l } = (g = (f = o.features) == null ? void 0 : f[0]) == null ? void 0 : g.properties, a = `
51
50
  <h3 class='bg-red-600 text-white'>
@@ -62,8 +61,7 @@ function B(t, e) {
62
61
  }
63
62
  async function P(t, e, u, i, n = !1, o, r, l) {
64
63
  var f, g, y, v, h, L, S, p, I, $;
65
- if (!t.current)
66
- return;
64
+ if (!t.current) return;
67
65
  const a = (f = t.current) == null ? void 0 : f.getSource(u), c = (g = t.current) == null ? void 0 : g.getSource(i);
68
66
  !a && !((y = t.current) != null && y.getSource(e)) && ((v = t.current) == null || v.addSource(e, {
69
67
  type: "geojson",
@@ -115,8 +113,7 @@ async function P(t, e, u, i, n = !1, o, r, l) {
115
113
  }
116
114
  function j(t, e) {
117
115
  var i, n, o, r;
118
- if (!e || e.length === 0)
119
- return;
116
+ if (!e || e.length === 0) return;
120
117
  const u = new M.LngLatBounds(
121
118
  {
122
119
  lat: (i = e == null ? void 0 : e[0]) == null ? void 0 : i.lat,
@@ -1,5 +1,5 @@
1
- import { MenuButton } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { MenuButton } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { Nav } from '..';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Nav } from '..';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -12,7 +12,7 @@ declare const meta: {
12
12
  Body: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
13
13
  Folder: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
14
14
  label: string;
15
- active?: boolean | undefined;
15
+ active?: boolean;
16
16
  } & import('react').RefAttributes<HTMLDivElement>>;
17
17
  };
18
18
  parameters: {
@@ -1,5 +1,5 @@
1
- import { ImageProps } from '../Image';
2
1
  import { HTMLAttributes } from 'react';
2
+ import { ImageProps } from '../Image';
3
3
 
4
4
  export interface NavContextProps {
5
5
  expanded?: boolean;
@@ -15,7 +15,7 @@ declare const Nav: import('react').ForwardRefExoticComponent<HTMLAttributes<HTML
15
15
  Body: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
16
16
  Folder: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
17
17
  label: string;
18
- active?: boolean | undefined;
18
+ active?: boolean;
19
19
  } & import('react').RefAttributes<HTMLDivElement>>;
20
20
  };
21
21
  export { Nav };
@@ -1,12 +1,12 @@
1
1
  import { jsx as e, jsxs as p, Fragment as w } from "react/jsx-runtime";
2
- import { createContext as C, forwardRef as d, useState as v, useMemo as k, useContext as m, useRef as M } from "react";
2
+ import { forwardRef as d, useState as v, useMemo as C, createContext as k, useRef as M, useContext as m } from "react";
3
3
  import { HamburgerIcon as j } from "../HamburgerIcon/index.js";
4
4
  import { faChevronDown as D } from "@fortawesome/fontawesome-free-solid";
5
5
  import n from "clsx";
6
6
  import { Icon as F } from "../Icon/index.js";
7
7
  import { NavItem as L } from "../NavItem/index.js";
8
- const c = C(null), g = d(({ className: r, children: t, loading: a }, o) => {
9
- const [s, l] = v(!1), i = k(
8
+ const c = k(null), g = d(({ className: r, children: t, loading: a }, o) => {
9
+ const [s, l] = v(!1), i = C(
10
10
  () => ({
11
11
  expanded: s,
12
12
  setExpanded: l,
@@ -1,13 +1,13 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { NavItem } 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<HTMLAnchorElement> & {
7
- href?: string | undefined;
8
- active?: boolean | undefined;
9
- loading?: boolean | undefined;
10
- isInFolder?: boolean | undefined;
7
+ href?: string;
8
+ active?: boolean;
9
+ loading?: boolean;
10
+ isInFolder?: boolean;
11
11
  } & import('react').RefAttributes<HTMLAnchorElement>> & {
12
12
  Label: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
13
13
  };
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
 
3
3
  declare const NavItem: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLAnchorElement> & {
4
- href?: string | undefined;
5
- active?: boolean | undefined;
6
- loading?: boolean | undefined;
7
- isInFolder?: boolean | undefined;
4
+ href?: string;
5
+ active?: boolean;
6
+ loading?: boolean;
7
+ isInFolder?: boolean;
8
8
  } & import('react').RefAttributes<HTMLAnchorElement>> & {
9
9
  Label: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
10
10
  };
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { Pill } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { Search } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Search } 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 { Select } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { Showcase } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Showcase } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { Colours } from '../../utils/controls';
2
1
  import { IconProps } from '../Icon';
2
+ import { Colours } from '../../utils/controls';
3
3
 
4
4
  export interface Props {
5
5
  id: string;
@@ -1,5 +1,5 @@
1
- import { SideNav } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { SideNav } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { SocialButton } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { SocialButton } 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 { SplitCard } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,11 +1,11 @@
1
1
  import { jsx as e, jsxs as N } from "react/jsx-runtime";
2
- import { createContext as S, forwardRef as n, useMemo as v, useContext as u } from "react";
2
+ import { forwardRef as n, useMemo as S, createContext as v, useContext as u } from "react";
3
3
  import w from "../../utils/matchMedia.js";
4
4
  import { Screens as y } from "../../utils/screens.js";
5
5
  import o from "clsx";
6
- const p = S(null), g = n(
6
+ const p = v(null), g = n(
7
7
  ({ className: r, children: a, swapDesktop: t, swapMobile: l, loading: s, ...i }, d) => {
8
- const C = `(min-width: ${y.md})`, c = w(C), h = v(
8
+ const C = `(min-width: ${y.md})`, c = w(C), h = S(
9
9
  () => ({
10
10
  swapDesktop: t,
11
11
  swapMobile: l,
@@ -1,5 +1,5 @@
1
- import { Stars } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Stars } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { Testimonial } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Testimonial } 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 Testimonial: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
5
5
  Image: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLImageElement> & ImageProps & import('react').RefAttributes<HTMLImageElement>>;
@@ -1,12 +1,12 @@
1
- import { TextArea } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { TextArea } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
6
6
  component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('.').TextAreaContextProps & import('react').RefAttributes<HTMLDivElement>> & {
7
7
  Item: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
8
8
  Label: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
9
- required?: boolean | undefined;
9
+ required?: boolean;
10
10
  } & import('react').RefAttributes<HTMLDivElement>>;
11
11
  Box: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
12
12
  Validation: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
@@ -25,7 +25,7 @@ export interface TextAreaContextProps {
25
25
  declare const TextArea: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & TextAreaContextProps & import('react').RefAttributes<HTMLDivElement>> & {
26
26
  Item: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
27
27
  Label: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
28
- required?: boolean | undefined;
28
+ required?: boolean;
29
29
  } & import('react').RefAttributes<HTMLDivElement>>;
30
30
  Box: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
31
31
  Validation: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,7 @@
1
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(
2
+ import { forwardRef as o, useMemo as A, createContext as T, useContext as d, useRef as N } from "react";
3
+ const s = T(null), x = o(({ children: e, errors: a, placeholder: t, ...l }, n) => {
4
+ const p = A(
5
5
  () => ({
6
6
  errors: a,
7
7
  placeholder: t,
@@ -1,5 +1,5 @@
1
- import { Timeline } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Timeline } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,5 +1,5 @@
1
- import { Tubestops } from '.';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Tubestops } from '.';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -1,12 +1,12 @@
1
1
  import { jsx as r, jsxs as T } from "react/jsx-runtime";
2
- import { createContext as f, forwardRef as a, useState as v, Children as z, useMemo as N, useContext as i } from "react";
2
+ import { forwardRef as a, useState as f, Children as z, useMemo as v, createContext as N, useContext as i } from "react";
3
3
  import l from "clsx";
4
4
  import { Button as d } from "../Button/index.js";
5
- const p = f(null), h = f(
5
+ const p = N(null), h = N(
6
6
  null
7
7
  ), y = a(({ className: n, children: t, activeStop: e = 1 }, s) => {
8
8
  var b, x;
9
- const [o, u] = v(e), c = (x = (b = z.toArray(t)[0]) == null ? void 0 : b.props) == null ? void 0 : x.children.length, m = N(
9
+ const [o, u] = f(e), c = (x = (b = z.toArray(t)[0]) == null ? void 0 : b.props) == null ? void 0 : x.children.length, m = v(
10
10
  () => ({
11
11
  totalStops: c,
12
12
  currentStop: o,
@@ -57,7 +57,7 @@ const p = f(null), h = f(
57
57
  currentStop: o = 0,
58
58
  setCurrentStop: u,
59
59
  totalStops: c = 0
60
- } = i(p) || {}, [m] = v(t), b = N(
60
+ } = i(p) || {}, [m] = f(t), b = v(
61
61
  () => ({
62
62
  stopNumber: m
63
63
  }),
@@ -1,5 +1,5 @@
1
- import { StoryObj } from '@storybook/react';
2
1
  import { Video } from './';
2
+ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
@@ -12,7 +12,7 @@ export interface VideoProps {
12
12
  declare const Video: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLVideoElement> & VideoProps & import('react').RefAttributes<HTMLVideoElement>> & {
13
13
  File: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLSourceElement> & {
14
14
  src: string;
15
- type: 'video/mp4' | 'video/webm' | 'video/ogv';
15
+ type: "video/mp4" | "video/webm" | "video/ogv";
16
16
  } & import('react').RefAttributes<HTMLSourceElement>>;
17
17
  };
18
18
  export { Video };
@@ -1,40 +1,40 @@
1
- import { Video } from './Video';
2
- import { Tubestops } from './Tubestops';
3
- import { Timeline } from './Timeline';
4
- import { TextArea } from './TextArea';
5
- import { Testimonial } from './Testimonial';
6
- import { Stars } from './Stars';
7
- import { SplitCard } from './SplitCard';
8
- import { Select } from './Select';
9
- import { Search } from './Search';
10
- import { Pill } from './Pill';
11
- import { NavItem } from './NavItem';
12
- import { Nav } from './Nav';
13
- import { Modal } from './Modal';
14
- import { MenuButton } from './MenuButton';
15
- import { Map } from './Map';
16
- import { Link } from './Link';
17
- import { Input } from './Input';
18
- import { ImageCard } from './ImageCard';
19
- import { Image } from './Image';
20
- import { Icon } from './Icon';
21
- import { Greeting } from './Greeting';
22
- import { Form } from './Form';
23
- import { FooterNav } from './FooterNav';
24
- import { Footer } from './Footer';
25
- import { Dropdown } from './Dropdown';
26
- import { Dialog } from './Dialog';
27
- import { DetailUpdater } from './DetailUpdater';
28
- import { Counter } from './Counter';
29
- import { Collapsible } from './Collapsible';
30
- import { Checkbox } from './Checkbox';
31
- import { CarouselThumbnail } from './CarouselThumbnail';
32
- import { Carousel } from './Carousel';
33
- import { Card } from './Card';
34
- import { CalendarComponent } from './Calendar';
35
- import { Button } from './Button';
36
- import { Breadcrumbs } from './Breadcrumbs';
37
- import { AlertBar } from './AlertBar';
38
1
  import { Accordion } from './Accordion';
2
+ import { AlertBar } from './AlertBar';
3
+ import { Breadcrumbs } from './Breadcrumbs';
4
+ import { Button } from './Button';
5
+ import { CalendarComponent } from './Calendar';
6
+ import { Card } from './Card';
7
+ import { Carousel } from './Carousel';
8
+ import { CarouselThumbnail } from './CarouselThumbnail';
9
+ import { Checkbox } from './Checkbox';
10
+ import { Collapsible } from './Collapsible';
11
+ import { Counter } from './Counter';
12
+ import { DetailUpdater } from './DetailUpdater';
13
+ import { Dialog } from './Dialog';
14
+ import { Dropdown } from './Dropdown';
15
+ import { Footer } from './Footer';
16
+ import { FooterNav } from './FooterNav';
17
+ import { Form } from './Form';
18
+ import { Greeting } from './Greeting';
19
+ import { Icon } from './Icon';
20
+ import { Image } from './Image';
21
+ import { ImageCard } from './ImageCard';
22
+ import { Input } from './Input';
23
+ import { Link } from './Link';
24
+ import { Map } from './Map';
25
+ import { MenuButton } from './MenuButton';
26
+ import { Modal } from './Modal';
27
+ import { Nav } from './Nav';
28
+ import { NavItem } from './NavItem';
29
+ import { Pill } from './Pill';
30
+ import { Search } from './Search';
31
+ import { Select } from './Select';
32
+ import { SplitCard } from './SplitCard';
33
+ import { Stars } from './Stars';
34
+ import { Testimonial } from './Testimonial';
35
+ import { TextArea } from './TextArea';
36
+ import { Timeline } from './Timeline';
37
+ import { Tubestops } from './Tubestops';
38
+ import { Video } from './Video';
39
39
 
40
40
  export { Accordion, AlertBar, Breadcrumbs, Button, CalendarComponent, Card, Checkbox, Carousel, CarouselThumbnail, Collapsible, Counter, DetailUpdater, Dialog, Dropdown, Form, Footer, FooterNav, Greeting, Icon, Image, ImageCard, Input, Link, Map, MenuButton, Modal, Nav, NavItem, Pill, Search, Select, SplitCard, Stars, Testimonial, TextArea, Timeline, Tubestops, Video };
@@ -1,5 +1,5 @@
1
- import { Fonts } from './Fonts';
2
1
  import { StoryObj } from '@storybook/react';
2
+ import { Fonts } from './Fonts';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;