trepur_components 2.3.49 → 2.4.0

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 (94) hide show
  1. package/lib/components/AlertBar/index.d.ts +0 -1
  2. package/lib/components/Avatar/index.d.ts +0 -2
  3. package/lib/components/Breadcrumbs/index.d.ts +0 -1
  4. package/lib/components/Button/Button.stories.d.ts +4 -9
  5. package/lib/components/Button/index.d.ts +0 -1
  6. package/lib/components/Calendar/index.d.ts +0 -1
  7. package/lib/components/Carousel/index.d.ts +0 -1
  8. package/lib/components/Carousel/index.js +1 -1
  9. package/lib/components/CarouselThumbnail/index.d.ts +0 -1
  10. package/lib/components/Checkbox/index.d.ts +0 -1
  11. package/lib/components/Collapsible/index.d.ts +1 -2
  12. package/lib/components/Collapsible/index.js +9 -1
  13. package/lib/components/Counter/index.d.ts +0 -1
  14. package/lib/components/Dialog/index.d.ts +1 -2
  15. package/lib/components/Dropdown/index.d.ts +1 -2
  16. package/lib/components/FileUploader/index.d.ts +0 -1
  17. package/lib/components/Footer/index.d.ts +0 -1
  18. package/lib/components/FooterNav/index.d.ts +0 -1
  19. package/lib/components/Form/index.d.ts +2 -3
  20. package/lib/components/Gallery/index.d.ts +1 -2
  21. package/lib/components/Icon/index.d.ts +0 -1
  22. package/lib/components/ImageCard/index.d.ts +1 -2
  23. package/lib/components/Input/index.d.ts +0 -1
  24. package/lib/components/Link/index.d.ts +0 -1
  25. package/lib/components/Map/index.d.ts +0 -1
  26. package/lib/components/Map/utils.d.ts +0 -1
  27. package/lib/components/MenuButton/index.d.ts +0 -2
  28. package/lib/components/Modal/index.d.ts +0 -2
  29. package/lib/components/Nav/index.d.ts +0 -1
  30. package/lib/components/NavItem/index.d.ts +0 -1
  31. package/lib/components/Pill/index.d.ts +0 -1
  32. package/lib/components/Search/index.d.ts +1 -2
  33. package/lib/components/Showcase/index.d.ts +1 -2
  34. package/lib/components/SideNav/index.d.ts +0 -1
  35. package/lib/components/SocialButton/index.d.ts +0 -2
  36. package/lib/components/SplitCard/index.d.ts +0 -1
  37. package/lib/components/Testimonial/index.d.ts +1 -2
  38. package/lib/components/TextArea/index.d.ts +0 -1
  39. package/lib/components/Timeline/index.d.ts +0 -1
  40. package/lib/components/Tubestops/index.d.ts +0 -1
  41. package/lib/components/Video/index.d.ts +0 -1
  42. package/lib/components/index.d.ts +0 -1
  43. package/lib/tailwind/preset.ts +0 -1
  44. package/package.json +35 -64
  45. package/lib/assets/sample.jpg +0 -0
  46. package/lib/assets/trepurComponentsLogo.svg +0 -32
  47. package/lib/components/Accordion/Accordion.stories.d.ts +0 -13
  48. package/lib/components/AlertBar/AlertBar.stories.d.ts +0 -25
  49. package/lib/components/Avatar/Avatar.stories.d.ts +0 -10
  50. package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -20
  51. package/lib/components/Calendar/Calendar.stories.d.ts +0 -11
  52. package/lib/components/Card/Card.stories.d.ts +0 -11
  53. package/lib/components/Carousel/Carousel.stories.d.ts +0 -21
  54. package/lib/components/CarouselThumbnail/CarouselThumbnail.stories.d.ts +0 -22
  55. package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -17
  56. package/lib/components/Collapsible/Collapsible.stories.d.ts +0 -23
  57. package/lib/components/Counter/Counter.stories.d.ts +0 -17
  58. package/lib/components/DetailUpdater/DetailUpdater.stories.d.ts +0 -18
  59. package/lib/components/Dialog/Dialog.stories.d.ts +0 -15
  60. package/lib/components/Dropdown/Dropdown.stories.d.ts +0 -17
  61. package/lib/components/FileUploader/FileUploader.stories.d.ts +0 -18
  62. package/lib/components/Footer/Footer.stories.d.ts +0 -19
  63. package/lib/components/FooterNav/FooterNav.stories.d.ts +0 -22
  64. package/lib/components/Form/Form.stories.d.ts +0 -66
  65. package/lib/components/Gallery/Gallery.stories.d.ts +0 -16
  66. package/lib/components/Greeting/Greeting.stories.d.ts +0 -13
  67. package/lib/components/HamburgerIcon/HamburgerIcon.stories.d.ts +0 -12
  68. package/lib/components/Icon/Icon.stories.d.ts +0 -16
  69. package/lib/components/Image/Image.stories.d.ts +0 -13
  70. package/lib/components/ImageCard/ImageCard.stories.d.ts +0 -23
  71. package/lib/components/Input/Input.stories.d.ts +0 -21
  72. package/lib/components/Link/Link.stories.d.ts +0 -30
  73. package/lib/components/Map/Map.stories.d.ts +0 -18
  74. package/lib/components/MenuButton/MenuButton.stories.d.ts +0 -28
  75. package/lib/components/Modal/Modal.stories.d.ts +0 -67
  76. package/lib/components/Nav/Nav.stories.d.ts +0 -32
  77. package/lib/components/NavItem/NavItem.stories.d.ts +0 -22
  78. package/lib/components/Pill/Pill.stories.d.ts +0 -26
  79. package/lib/components/Search/Search.stories.d.ts +0 -44
  80. package/lib/components/Select/Select.stories.d.ts +0 -24
  81. package/lib/components/Showcase/Showcase.stories.d.ts +0 -17
  82. package/lib/components/SideNav/SideNav.stories.d.ts +0 -40
  83. package/lib/components/SocialButton/SocialButton.stories.d.ts +0 -83
  84. package/lib/components/SplitCard/SplitCard.stories.d.ts +0 -21
  85. package/lib/components/Stars/Stars.stories.d.ts +0 -14
  86. package/lib/components/Testimonial/Testimonial.stories.d.ts +0 -21
  87. package/lib/components/TextArea/TextArea.stories.d.ts +0 -21
  88. package/lib/components/Timeline/Timeline.stories.d.ts +0 -21
  89. package/lib/components/Tubestops/Tubestops.stories.d.ts +0 -24
  90. package/lib/components/Video/Video.stories.d.ts +0 -23
  91. package/lib/documentation/assets/index.d.ts +0 -3
  92. package/lib/documentation/components/ThemeColours.d.ts +0 -20
  93. package/lib/documentation/typography/Fonts/Fonts.d.ts +0 -2
  94. package/lib/documentation/typography/Fonts/Fonts.stories.d.ts +0 -10
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export interface AlertbarContextProps {
4
3
  variant?: 'success' | 'warning' | 'error' | 'info';
5
4
  loading?: boolean;
@@ -1,3 +1 @@
1
- import { default as React } from 'react';
2
-
3
1
  export declare const Avatar: React.FC;
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export interface BreadcrumbsContextProps {
4
3
  allLinks?: any;
5
4
  }
@@ -1,19 +1,14 @@
1
- import { Button } from './';
2
- import { StoryObj } from '@storybook/react';
3
-
1
+ import { Button } from '.';
2
+ import { StoryObj } from '@storybook/react-vite';
4
3
  declare const meta: {
4
+ tags: string[];
5
5
  title: string;
6
- component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLButtonElement> & import('./').ButtonProps & import('react').RefAttributes<HTMLButtonElement>> & {
6
+ component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLButtonElement> & import('.').ButtonProps & import('react').RefAttributes<HTMLButtonElement>> & {
7
7
  Icon: import('react').ForwardRefExoticComponent<{
8
8
  icon: any;
9
9
  } & import('react').RefAttributes<SVGSVGElement>>;
10
10
  Label: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
11
11
  };
12
- args: {
13
- variant: "primary";
14
- children: import("react/jsx-runtime").JSX.Element[];
15
- onClick: import('@storybook/addon-actions').HandlerFunction;
16
- };
17
12
  };
18
13
  export default meta;
19
14
  type Story = StoryObj<typeof Button>;
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export interface ButtonProps {
4
3
  variant?: 'primary' | 'secondary' | 'ghost' | 'bordered' | 'basic';
5
4
  disabled?: boolean;
@@ -1,4 +1,3 @@
1
-
2
1
  export type Detail = 'month' | 'year' | 'decade' | 'century';
3
2
  export interface CalendarProps {
4
3
  onChange?: () => void;
@@ -1,6 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { KeenSliderInstance, KeenSliderHooks, KeenSliderOptions } from 'keen-slider/react';
3
-
4
3
  export interface ArrowProps {
5
4
  rightArrow?: boolean;
6
5
  visible?: boolean;
@@ -101,7 +101,7 @@ const p = I(null), b = m(
101
101
  ),
102
102
  onClick: (c) => {
103
103
  var l, a;
104
- t ? c.stopPropagation() !== void 0 || ((l = r.current) == null || l.next()) : c.stopPropagation() !== void 0 || ((a = r.current) == null || a.prev());
104
+ return t ? c.stopPropagation() !== void 0 || ((l = r.current) == null ? void 0 : l.next()) : c.stopPropagation() !== void 0 || ((a = r.current) == null ? void 0 : a.prev());
105
105
  },
106
106
  ...s,
107
107
  children: /* @__PURE__ */ n(w, { icon: t ? L : T, size: "3x" })
@@ -1,6 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { KeenSliderInstance, KeenSliderHooks, KeenSliderOptions } from 'keen-slider/react';
3
-
4
3
  export interface CarouselThumbnailContextProps {
5
4
  slideWrapperClassName?: string;
6
5
  breakpoints?: Record<string, Omit<KeenSliderOptions<object, object, KeenSliderHooks>, 'breakpoints'>>;
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export interface CheckboxProps {
4
3
  label?: string;
5
4
  onClick?: (isChecked: boolean) => void;
@@ -1,6 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { ImageProps } from '../Image';
3
-
2
+ import { ImageProps } from 'src/components/Image';
4
3
  export interface CollapsibleContextProps {
5
4
  loading?: boolean;
6
5
  expanded?: boolean;
@@ -90,7 +90,15 @@ const m = S(null), x = o(
90
90
  children: e
91
91
  }
92
92
  );
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 } }));
93
+ }), v = o(({ children: e, className: l, ...t }, a) => /* @__PURE__ */ s(
94
+ "p",
95
+ {
96
+ className: n("text-xs md:text-sm pb-6", l),
97
+ ref: a,
98
+ ...t,
99
+ dangerouslySetInnerHTML: { __html: e }
100
+ }
101
+ ));
94
102
  x.displayName = "Collapsible";
95
103
  C.displayName = "Collapsible.Header";
96
104
  y.displayName = "Collapsible.Content";
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export interface CounterContextProps {
4
3
  currentCount?: number;
5
4
  setCurrentCount?: (val: number) => void;
@@ -1,5 +1,4 @@
1
- import { ButtonProps } from '../Button';
2
-
1
+ import { ButtonProps } from 'src/components/Button';
3
2
  export interface DialogProps extends Partial<Pick<HTMLElement, 'className' | 'id'>> {
4
3
  title: string;
5
4
  paragraph: string;
@@ -1,6 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { ButtonProps } from '../Button';
3
-
2
+ import { ButtonProps } from 'src/components/Button';
4
3
  export interface DropdownContextProps {
5
4
  showDropdown?: boolean;
6
5
  setShowDropdown?: (val: boolean) => void;
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export interface FileUploaderContextProps {
4
3
  fileList?: any;
5
4
  setFileList: (open: any) => void;
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export interface Props {
4
3
  id?: string;
5
4
  className?: string;
@@ -1,7 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { IconDefinition } from '@fortawesome/fontawesome-free-solid';
3
3
  import { IconProp } from '@fortawesome/fontawesome-svg-core';
4
-
5
4
  declare const FooterNav: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
6
5
  Item: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
7
6
  href?: string;
@@ -1,6 +1,5 @@
1
- import { ButtonProps } from '../Button';
2
- import { InputContextProps } from '../Input';
3
-
1
+ import { ButtonProps } from 'src/components/Button';
2
+ import { InputContextProps } from 'src/components/Input';
4
3
  export interface Props {
5
4
  id?: string;
6
5
  className?: string;
@@ -1,6 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { ImageProps } from '../Image';
3
-
2
+ import { ImageProps } from 'src/components/Image';
4
3
  declare const Gallery: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
5
4
  Item: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & ImageProps & import('react').RefAttributes<HTMLDivElement>>;
6
5
  };
@@ -1,6 +1,5 @@
1
1
  import { IconDefinition } from '@fortawesome/fontawesome-free-solid';
2
2
  import { IconProp, SizeProp } from '@fortawesome/fontawesome-svg-core';
3
-
4
3
  export interface IconProps {
5
4
  className?: string;
6
5
  icon: IconProp | IconDefinition;
@@ -1,6 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { ImageProps } from '../Image';
3
-
2
+ import { ImageProps } from 'src/components/Image';
4
3
  declare const ImageCard: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
5
4
  Image: import('react').ForwardRefExoticComponent<HTMLAttributes<ImageProps> & ImageProps & import('react').RefAttributes<HTMLImageElement>>;
6
5
  Content: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export interface InputContextProps {
4
3
  autoComplete?: string;
5
4
  disabled?: boolean;
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export interface LinkProps {
4
3
  variant?: 'primary' | 'secondary' | 'ghost' | 'bordered' | 'basic';
5
4
  loading?: boolean;
@@ -1,5 +1,4 @@
1
1
  import { Marker } from './types';
2
-
3
2
  import * as maptilersdk from '@maptiler/sdk';
4
3
  interface MapProps {
5
4
  id: string;
@@ -1,6 +1,5 @@
1
1
  import { MutableRefObject } from 'react';
2
2
  import { Marker } from './types';
3
-
4
3
  import * as maptilersdk from '@maptiler/sdk';
5
4
  export interface FeatureGeometry {
6
5
  type: string;
@@ -1,5 +1,3 @@
1
- import { default as React } from 'react';
2
-
3
1
  export interface Props {
4
2
  id?: string;
5
3
  className?: string;
@@ -1,5 +1,3 @@
1
- import { default as React } from 'react';
2
-
3
1
  export interface Props extends Partial<Pick<HTMLElement, 'className' | 'id'>> {
4
2
  children?: React.ReactNode;
5
3
  visible?: boolean;
@@ -1,6 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { ImageProps } from '../Image';
3
-
4
3
  export interface NavContextProps {
5
4
  expanded?: boolean;
6
5
  setExpanded?: (val: boolean) => void;
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  declare const NavItem: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLAnchorElement> & {
4
3
  href?: string;
5
4
  active?: boolean;
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export type PickU<T, K extends keyof T> = T extends any ? {
4
3
  [P in K]: T[P];
5
4
  } : never;
@@ -1,5 +1,4 @@
1
- import { IconProps } from '../Icon';
2
-
1
+ import { IconProps } from 'src/components/Icon';
3
2
  export interface Props {
4
3
  id?: string;
5
4
  className?: string;
@@ -1,6 +1,5 @@
1
- import { IconProps } from '../Icon';
1
+ import { IconProps } from 'src/components/Icon';
2
2
  import { Colours } from '../../utils/controls';
3
-
4
3
  export interface Props {
5
4
  id: string;
6
5
  className?: string;
@@ -1,5 +1,4 @@
1
1
  import { Colours } from '../../utils/controls';
2
-
3
2
  export interface Props {
4
3
  id: string;
5
4
  className: string;
@@ -1,5 +1,3 @@
1
- import { default as React } from 'react';
2
-
3
1
  export interface Props {
4
2
  id?: string;
5
3
  className?: string;
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export interface SplitCardContextProps {
4
3
  swapDesktop?: boolean;
5
4
  swapMobile?: boolean;
@@ -1,6 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { ImageProps } from '../Image';
3
-
2
+ import { ImageProps } from 'src/components/Image';
4
3
  declare const Testimonial: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
5
4
  Image: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLImageElement> & ImageProps & import('react').RefAttributes<HTMLImageElement>>;
6
5
  Title: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export interface TextAreaContextProps {
4
3
  autoComplete?: string;
5
4
  disabled?: boolean;
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  declare const Timeline: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
4
3
  Item: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
5
4
  Dot: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export interface TubestopsContextProps {
4
3
  totalStops?: number;
5
4
  setTotalStops?: (stop: number) => void;
@@ -1,5 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
-
3
2
  export interface VideoProps {
4
3
  autoPlay?: boolean;
5
4
  muted?: boolean;
@@ -36,5 +36,4 @@ import { TextArea } from './TextArea';
36
36
  import { Timeline } from './Timeline';
37
37
  import { Tubestops } from './Tubestops';
38
38
  import { Video } from './Video';
39
-
40
39
  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 };
@@ -2,7 +2,6 @@
2
2
  import tailwindScrollbar from 'tailwind-scrollbar';
3
3
  import type { Config } from 'tailwindcss';
4
4
  import tailwindAnimate from 'tailwindcss-animate';
5
- import defaultTheme from 'tailwindcss/defaultTheme';
6
5
 
7
6
  import boxShadow from './boxShadow';
8
7
  import colors from './colors';
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "trepur_components",
3
- "version": "2.3.49",
3
+ "version": "2.4.0",
4
4
  "description": "component lib",
5
5
  "author": "trepur_ttenneb",
6
+ "type": "module",
6
7
  "private": false,
7
8
  "keywords": [
8
9
  "react",
@@ -12,6 +13,10 @@
12
13
  "files": [
13
14
  "lib/**/*"
14
15
  ],
16
+ "engines": {
17
+ "node": ">=24.0.0",
18
+ "npm": ">=11.0.0"
19
+ },
15
20
  "license": "UNLICENSED",
16
21
  ".": {
17
22
  "import": "./lib/index.js"
@@ -20,13 +25,13 @@
20
25
  "*.css"
21
26
  ],
22
27
  "types": "lib/index.d.ts",
23
- "type": "module",
24
28
  "scripts": {
25
29
  "build": "rm -rf lib && concurrently -n \"VITE,CSS,SB\" -c \"magenta,blue,red\" \"npx vite build\" \"npm run build-css\" \"npm run storybook-css\"",
26
30
  "build-css": "tailwindcss -i ./src/styles/base.css -o ./lib/styles/base.css --minify",
27
- "build-storybook": "npm run storybook-css && storybook build -o ./storybook-build --quiet",
31
+ "build-storybook": "storybook build",
28
32
  "storybook-css": "tailwindcss -i ./.storybook/tailwind/style.css -o ./.storybook/tailwind/preview.css --minify",
29
33
  "storybook": "storybook dev -p 6006",
34
+ "storybook-docs": "storybook dev --docs",
30
35
  "lint": "eslint src --ext .tsx",
31
36
  "lint:fix": "npm run lint -- --fix",
32
37
  "prettier:check": "prettier --check .",
@@ -42,32 +47,23 @@
42
47
  "tailwindcss": "^3.0.23"
43
48
  },
44
49
  "dependencies": {
45
- "@fortawesome/fontawesome": "^1.2.0-6",
46
- "@fortawesome/fontawesome-common-types": "^6.5.1",
47
- "@fortawesome/fontawesome-free": "^6.5.2",
48
50
  "@fortawesome/fontawesome-free-regular": "^5.1.0-3",
49
51
  "@fortawesome/fontawesome-free-solid": "^5.1.0-3",
50
52
  "@fortawesome/fontawesome-svg-core": "^6.5.2",
51
53
  "@fortawesome/free-solid-svg-icons": "^6.5.2",
52
54
  "@fortawesome/react-fontawesome": "^0.2.0",
53
55
  "@maptiler/sdk": "^2.2.1",
54
- "@tailwindcss/line-clamp": "^0.4.4",
55
- "class-variance-authority": "^0.7.0",
56
+ "autoprefixer": "^10.4.23",
56
57
  "classnames": "^2.5.1",
57
58
  "clsx": "^2.1.1",
58
- "cmdk": "^0.2.0",
59
- "d3-array": "^3.2.4",
60
- "embla-carousel-react": "^8.0.0-rc17",
61
- "eslint-config-love": "^47.0.0",
59
+ "concurrently": "^9.2.1",
60
+ "husky": "^9.1.7",
62
61
  "keen-slider": "^6.7.0",
63
62
  "luxon": "^3.4.4",
64
63
  "react-calendar": "^5.0.0",
65
- "react-hook-form": "^7.49.2",
66
- "sonner": "^1.4.0",
67
- "tailwind-merge": "^2.1.0",
64
+ "storybook-react-i18next": "^10.0.1",
68
65
  "tailwind-scrollbar": "^3.0.5",
69
- "tailwindcss-animate": "^1.0.7",
70
- "what-input": "^5.2.12"
66
+ "tailwindcss-animate": "^1.0.7"
71
67
  },
72
68
  "browserslist": {
73
69
  "production": [
@@ -82,66 +78,41 @@
82
78
  ]
83
79
  },
84
80
  "devDependencies": {
85
- "@hookform/resolvers": "^3.3.2",
86
- "@storybook/addon-a11y": "^7.6.17",
87
- "@storybook/addon-actions": "^7.6.17",
88
- "@storybook/addon-essentials": "^7.6.17",
89
- "@storybook/addon-interactions": "^7.6.17",
90
- "@storybook/addon-links": "^7.6.17",
91
- "@storybook/blocks": "^7.6.17",
92
- "@storybook/manager-api": "^7.6.17",
93
- "@storybook/preview-api": "^7.6.17",
94
- "@storybook/react": "^7.6.17",
95
- "@storybook/react-vite": "^7.6.17",
96
- "@storybook/router": "^7.6.17",
97
- "@storybook/test": "^7.6.17",
98
- "@storybook/test-runner": "^0.16.0",
99
- "@storybook/testing-library": "^0.2.2",
100
- "@storybook/theming": "^7.6.17",
101
- "@tanstack/react-table": "^8.11.2",
102
- "@trivago/prettier-plugin-sort-imports": "^4.3.0",
103
- "@types/d3-array": "^3.2.1",
81
+ "@chromatic-com/storybook": "^4.1.3",
82
+ "@storybook/addon-a11y": "^10.1.9",
83
+ "@storybook/addon-docs": "^10.1.9",
84
+ "@storybook/addon-links": "^10.1.9",
85
+ "@storybook/addon-themes": "^10.1.9",
86
+ "@storybook/addon-vitest": "^10.1.9",
87
+ "@storybook/builder-vite": "^10.1.9",
88
+ "@storybook/react-vite": "^10.1.9",
104
89
  "@types/luxon": "^3.3.7",
90
+ "@types/node": "^25.0.2",
105
91
  "@types/react": "^18.2.45",
106
92
  "@types/react-dom": "^18.2.18",
107
- "@vitejs/plugin-react": "^4.2.1",
108
- "autoprefixer": "^10.4.16",
109
- "axe-playwright": "^1.2.3",
110
- "chromatic": "^10.1.0",
111
- "concurrently": "^8.2.2",
93
+ "@typescript-eslint/eslint-plugin": "^8.50.0",
94
+ "@vitejs/plugin-react": "^5.0.0",
95
+ "@vitest/browser-playwright": "^4.0.15",
96
+ "@vitest/coverage-v8": "^4.0.15",
112
97
  "eslint": "^8.56.0",
113
98
  "eslint-config-prettier": "^9.1.0",
114
- "eslint-import-resolver-typescript": "^3.6.1",
115
- "eslint-plugin-import": "^2.29.1",
116
99
  "eslint-plugin-prettier": "^5.1.3",
117
- "eslint-plugin-react": "^7.34.1",
118
- "eslint-plugin-storybook": "^0.6.15",
119
- "http-server": "^14.1.1",
120
- "husky": "^8.0.3",
100
+ "eslint-plugin-storybook": "^10.1.9",
121
101
  "i18next": "^23.9.0",
122
- "i18next-browser-languagedetector": "^7.2.0",
123
- "lint-staged": "^15.2.0",
124
- "postcss": "^8.4.32",
125
- "prettier": "^3.1.1",
126
- "prettier-plugin-tailwindcss": "^0.5.9",
102
+ "playwright": "^1.57.0",
127
103
  "react": "^18.2.0",
128
104
  "react-dom": "^18.2.0",
129
105
  "react-i18next": "^14.0.5",
130
106
  "snapsvg-cjs": "^0.0.6",
131
- "storybook": "^7.6.17",
132
- "storybook-addon-themes": "^6.1.0",
133
- "storybook-react-i18next": "^2.0.10",
107
+ "storybook": "^10.1.9",
108
+ "storybook-addon-pseudo-states": "^10.1.9",
134
109
  "tailwindcss": "^3.4.0",
135
- "ts-node": "^10.9.2",
136
- "typescript": "^5.3.3",
137
- "vite": "^5.0.10",
138
- "vite-plugin-dts": "^3.6.4",
139
- "vite-plugin-static-copy": "^1.0.0",
110
+ "vite": "^5.4.21",
111
+ "vite-plugin-dts": "4.5.4",
112
+ "vite-plugin-static-copy": "3.1.4",
140
113
  "vite-plugin-svgr": "^4.2.0",
141
114
  "vite-plugin-turbosnap": "^1.0.3",
142
- "vite-tsconfig-paths": "^4.2.2",
143
- "vitest": "^1.3.1",
144
- "wait-on": "^7.2.0",
145
- "zod": "^3.22.4"
115
+ "vite-tsconfig-paths": "^5.0.0",
116
+ "vitest": "^4.0.15"
146
117
  }
147
118
  }
Binary file