@prokodo/ui 0.1.13 → 0.1.15

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 (152) hide show
  1. package/README.md +2 -0
  2. package/dist/components/RTE/RTE.client.js +0 -1
  3. package/dist/components/RTE/RTE.js +4 -1
  4. package/dist/components/accordion/Accordion.js +8 -2
  5. package/dist/components/accordion/Accordion.view.js +1 -1
  6. package/dist/components/animated/Animated.client.js +13 -5
  7. package/dist/components/animated/Animated.js +8 -2
  8. package/dist/components/animatedText/AnimatedText.client.js +10 -2
  9. package/dist/components/animatedText/AnimatedText.js +8 -2
  10. package/dist/components/autocomplete/Autocomplete.client.js +5 -1
  11. package/dist/components/autocomplete/Autocomplete.js +4 -1
  12. package/dist/components/autocomplete/Autocomplete.view.js +13 -4
  13. package/dist/components/avatar/Avatar.js +4 -1
  14. package/dist/components/avatar/Avatar.view.js +19 -12
  15. package/dist/components/base-link/BaseLink.js +4 -1
  16. package/dist/components/base-link/BaseLink.view.js +3 -0
  17. package/dist/components/button/Button.css +114 -6
  18. package/dist/components/button/Button.js +4 -1
  19. package/dist/components/button/Button.module.css +114 -6
  20. package/dist/components/button/Button.module.scss.js +10 -2
  21. package/dist/components/button/Button.view.js +4 -1
  22. package/dist/components/calendly/Calendly.js +8 -2
  23. package/dist/components/card/Card.js +11 -5
  24. package/dist/components/card/Card.view.js +22 -5
  25. package/dist/components/carousel/Carousel.client.js +140 -129
  26. package/dist/components/carousel/Carousel.js +8 -2
  27. package/dist/components/carousel/Carousel.view.js +10 -0
  28. package/dist/components/checkbox/Checkbox.client.js +42 -0
  29. package/dist/components/checkbox/Checkbox.css +312 -0
  30. package/dist/components/checkbox/Checkbox.js +15 -0
  31. package/dist/components/checkbox/Checkbox.lazy.js +12 -0
  32. package/dist/components/checkbox/Checkbox.module.css +312 -0
  33. package/dist/components/checkbox/Checkbox.module.scss.js +20 -0
  34. package/dist/components/checkbox/Checkbox.server.js +20 -0
  35. package/dist/components/checkbox/Checkbox.view.js +89 -0
  36. package/dist/components/checkbox/index.js +4 -0
  37. package/dist/components/checkbox-group/CheckboxGroup.client.js +57 -0
  38. package/dist/components/checkbox-group/CheckboxGroup.css +238 -0
  39. package/dist/components/checkbox-group/CheckboxGroup.js +16 -0
  40. package/dist/components/checkbox-group/CheckboxGroup.lazy.js +12 -0
  41. package/dist/components/checkbox-group/CheckboxGroup.module.css +238 -0
  42. package/dist/components/checkbox-group/CheckboxGroup.module.scss.js +15 -0
  43. package/dist/components/checkbox-group/CheckboxGroup.server.js +25 -0
  44. package/dist/components/checkbox-group/CheckboxGroup.view.js +100 -0
  45. package/dist/components/checkbox-group/index.js +4 -0
  46. package/dist/components/chip/Chip.js +4 -1
  47. package/dist/components/chip/Chip.view.js +4 -0
  48. package/dist/components/datePicker/DatePicker.js +4 -1
  49. package/dist/components/dialog/Dialog.js +8 -2
  50. package/dist/components/dialog/Dialog.view.js +25 -6
  51. package/dist/components/drawer/Drawer.client.js +0 -1
  52. package/dist/components/drawer/Drawer.js +4 -1
  53. package/dist/components/drawer/Drawer.view.js +14 -3
  54. package/dist/components/dynamic-list/DynamicList.client.js +1 -0
  55. package/dist/components/dynamic-list/DynamicList.js +4 -1
  56. package/dist/components/dynamic-list/DynamicList.view.js +18 -5
  57. package/dist/components/form/Form.client.js +4 -1
  58. package/dist/components/form/Form.js +4 -1
  59. package/dist/components/form/Form.view.js +3 -1
  60. package/dist/components/form/FormField.client.js +8 -2
  61. package/dist/components/form/FormField.js +4 -1
  62. package/dist/components/form/FormResponse.js +4 -1
  63. package/dist/components/headline/Headline.js +8 -2
  64. package/dist/components/icon/Icon.js +8 -2
  65. package/dist/components/image/Image.client.js +9 -5
  66. package/dist/components/image/Image.js +8 -2
  67. package/dist/components/image/Image.server.js +2 -1
  68. package/dist/components/image-text/ImageText.js +18 -8
  69. package/dist/components/input/Input.client.js +15 -2
  70. package/dist/components/input/Input.js +4 -1
  71. package/dist/components/input/Input.view.js +15 -6
  72. package/dist/components/input/InputValidation.js +6 -2
  73. package/dist/components/inputOTP/InputOTP.js +2 -1
  74. package/dist/components/link/Link.js +5 -3
  75. package/dist/components/link/Link.view.js +2 -1
  76. package/dist/components/list/List.js +52 -23
  77. package/dist/components/loading/Loading.js +4 -1
  78. package/dist/components/loading/Loading.view.js +25 -5
  79. package/dist/components/lottie/Lottie.js +9 -5
  80. package/dist/components/map/Map.js +62 -44
  81. package/dist/components/pagination/Pagination.js +4 -1
  82. package/dist/components/pagination/Pagination.view.js +3 -1
  83. package/dist/components/post-item/PostItem.js +4 -1
  84. package/dist/components/post-item/PostItemAuthor.js +4 -1
  85. package/dist/components/post-teaser/PostTeaser.js +4 -1
  86. package/dist/components/post-teaser/PostTeaser.view.js +4 -2
  87. package/dist/components/post-widget/PostWidget.js +5 -3
  88. package/dist/components/post-widget/PostWidget.view.js +9 -3
  89. package/dist/components/post-widget-carousel/PostWidgetCarousel.js +8 -2
  90. package/dist/components/post-widget-carousel/PostWidgetCarousel.view.js +2 -1
  91. package/dist/components/progressBar/ProgressBar.js +8 -2
  92. package/dist/components/progressBar/ProgressBar.view.js +4 -1
  93. package/dist/components/rating/Rating.client.js +6 -1
  94. package/dist/components/rating/Rating.js +4 -1
  95. package/dist/components/rich-text/RichText.client.js +52 -17
  96. package/dist/components/rich-text/RichText.js +8 -2
  97. package/dist/components/rich-text/RichText.server.js +3 -0
  98. package/dist/components/select/Select.client.js +149 -101
  99. package/dist/components/select/Select.js +8 -2
  100. package/dist/components/select/Select.view.js +35 -11
  101. package/dist/components/sidenav/SideNav.js +8 -2
  102. package/dist/components/slider/Slider.client.js +11 -2
  103. package/dist/components/slider/Slider.js +4 -1
  104. package/dist/components/slider/Slider.view.js +43 -5
  105. package/dist/components/snackbar/Snackbar.client.js +5 -1
  106. package/dist/components/snackbar/Snackbar.css +5 -1
  107. package/dist/components/snackbar/Snackbar.js +4 -1
  108. package/dist/components/snackbar/Snackbar.module.css +5 -1
  109. package/dist/components/snackbar/SnackbarProvider.js +8 -2
  110. package/dist/components/stepper/Stepper.client.js +6 -3
  111. package/dist/components/stepper/Stepper.js +4 -1
  112. package/dist/components/switch/Switch.js +4 -1
  113. package/dist/components/switch/Switch.view.js +1 -0
  114. package/dist/components/table/Table.js +1 -0
  115. package/dist/components/tabs/Tabs.client.js +1 -0
  116. package/dist/components/tabs/Tabs.js +8 -2
  117. package/dist/components/tabs/Tabs.view.js +8 -2
  118. package/dist/components/tooltip/Tooltip.client.js +126 -91
  119. package/dist/components/tooltip/Tooltip.js +10 -4
  120. package/dist/components/tooltip/Tooltip.view.js +1 -0
  121. package/dist/constants/project.js +1 -1
  122. package/dist/helpers/createIsland.js +1 -0
  123. package/dist/helpers/createLazyWrapper.js +1 -0
  124. package/dist/hooks/useGoogleMaps.js +0 -1
  125. package/dist/index.js +4 -0
  126. package/dist/theme.css +430 -9
  127. package/dist/tsconfig.build.tsbuildinfo +1 -1
  128. package/dist/types/components/RTE/RTE.d.ts +1 -1
  129. package/dist/types/components/RTE/RTE.lazy.d.ts +1 -1
  130. package/dist/types/components/avatar/Avatar.view.d.ts +1 -1
  131. package/dist/types/components/carousel/Carousel.view.d.ts +1 -1
  132. package/dist/types/components/checkbox/Checkbox.client.d.ts +4 -0
  133. package/dist/types/components/checkbox/Checkbox.d.ts +18 -0
  134. package/dist/types/components/checkbox/Checkbox.lazy.d.ts +19 -0
  135. package/dist/types/components/checkbox/Checkbox.model.d.ts +23 -0
  136. package/dist/types/components/checkbox/Checkbox.server.d.ts +3 -0
  137. package/dist/types/components/checkbox/Checkbox.view.d.ts +3 -0
  138. package/dist/types/components/checkbox/index.d.ts +2 -0
  139. package/dist/types/components/checkbox-group/CheckboxGroup.client.d.ts +4 -0
  140. package/dist/types/components/checkbox-group/CheckboxGroup.d.ts +4 -0
  141. package/dist/types/components/checkbox-group/CheckboxGroup.lazy.d.ts +5 -0
  142. package/dist/types/components/checkbox-group/CheckboxGroup.model.d.ts +38 -0
  143. package/dist/types/components/checkbox-group/CheckboxGroup.server.d.ts +3 -0
  144. package/dist/types/components/checkbox-group/CheckboxGroup.view.d.ts +3 -0
  145. package/dist/types/components/checkbox-group/index.d.ts +2 -0
  146. package/dist/types/components/dialog/Dialog.model.d.ts +1 -0
  147. package/dist/types/components/dialog/Dialog.view.d.ts +1 -1
  148. package/dist/types/components/dynamic-list/DynamicList.model.d.ts +1 -1
  149. package/dist/types/components/headline/Headline.model.d.ts +1 -1
  150. package/dist/types/components/input/Input.view.d.ts +1 -1
  151. package/dist/types/index.d.ts +2 -0
  152. package/package.json +29 -5
@@ -320,10 +320,10 @@ export declare const RTE: import("react").ComponentType<{
320
320
  inputContainerClassName?: string | undefined;
321
321
  inputClassName?: string | undefined;
322
322
  hideCounter?: boolean | undefined;
323
+ hideLegend?: boolean | undefined;
323
324
  minRows?: number | undefined;
324
325
  maxRows?: number | undefined;
325
326
  errorTranslations?: import("../input").InputErrorTranslations | undefined;
326
- hideLegend?: boolean | undefined;
327
327
  onValidate?: import("../input").InputValidateEvent | undefined;
328
328
  } & {
329
329
  value?: string;
@@ -320,10 +320,10 @@ declare const _default: import("react").ComponentType<{
320
320
  inputContainerClassName?: string | undefined;
321
321
  inputClassName?: string | undefined;
322
322
  hideCounter?: boolean | undefined;
323
+ hideLegend?: boolean | undefined;
323
324
  minRows?: number | undefined;
324
325
  maxRows?: number | undefined;
325
326
  errorTranslations?: import("../input").InputErrorTranslations | undefined;
326
- hideLegend?: boolean | undefined;
327
327
  onValidate?: import("../input").InputValidateEvent | undefined;
328
328
  } & {
329
329
  value?: string;
@@ -1,3 +1,3 @@
1
1
  import type { AvatarProps } from "./Avatar.model";
2
2
  import type { JSX } from "react";
3
- export declare function AvatarView({ className, variant, size, image, redirect, ...rest }: AvatarProps): JSX.Element;
3
+ export declare function AvatarView({ className, variant, size, image, redirect, iconOverride, ...rest }: AvatarProps): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { type JSX } from "react";
2
2
  import type { CarouselProps } from "./Carousel.model";
3
- export declare function CarouselView({ itemsToShow, className, classNameWrapper, classNameItem, classNameDots, classNameDot, enableControl, children, ...rest }: CarouselProps): JSX.Element;
3
+ export declare function CarouselView({ itemsToShow, className, classNameWrapper, classNameItem, classNameDots, classNameDot, classNameDotActive: _classNameDotActive, classNameButtons: _classNameButtons, classNameControls: _classNameControls, enableControl, enableDots: _enableDots, autoplay: _autoplay, translateX: _translateX, itemStyle: _itemStyle, responsive: _responsive, nextButton: _nextButton, prevButton: _prevButton, children, ...rest }: CarouselProps): JSX.Element;
@@ -0,0 +1,4 @@
1
+ import type { CheckboxProps } from "./Checkbox.model";
2
+ declare function CheckboxClient<T extends string = string>(props: CheckboxProps<T>): import("react").JSX.Element;
3
+ declare const _default: typeof CheckboxClient;
4
+ export default _default;
@@ -0,0 +1,18 @@
1
+ export declare const Checkbox: import("react").ComponentType<Omit<import("react").HTMLAttributes<HTMLInputElement>, "title" | "onChange"> & {
2
+ name: string;
3
+ value: string;
4
+ title: import("react").ReactNode;
5
+ description?: import("react").ReactNode | null;
6
+ icon?: Omit<import("../icon").IconProps, "label"> | null;
7
+ iconLabel?: string | null;
8
+ checked?: boolean;
9
+ defaultChecked?: boolean;
10
+ required?: boolean;
11
+ showRequiredMark?: boolean;
12
+ disabled?: boolean;
13
+ variant?: import("./Checkbox.model").CheckboxVariant;
14
+ onChange?: (event: import("react").ChangeEvent<HTMLInputElement>, checked: boolean) => void;
15
+ className?: string;
16
+ } & {
17
+ priority?: boolean;
18
+ }>;
@@ -0,0 +1,19 @@
1
+ declare const _default: import("react").ComponentType<Omit<import("react").HTMLAttributes<HTMLInputElement>, "title" | "onChange"> & {
2
+ name: string;
3
+ value: string;
4
+ title: import("react").ReactNode;
5
+ description?: import("react").ReactNode | null;
6
+ icon?: Omit<import("../icon").IconProps, "label"> | null;
7
+ iconLabel?: string | null;
8
+ checked?: boolean;
9
+ defaultChecked?: boolean;
10
+ required?: boolean;
11
+ showRequiredMark?: boolean;
12
+ disabled?: boolean;
13
+ variant?: import("./Checkbox.model").CheckboxVariant;
14
+ onChange?: (event: import("react").ChangeEvent<HTMLInputElement>, checked: boolean) => void;
15
+ className?: string;
16
+ } & {
17
+ priority?: boolean;
18
+ }>;
19
+ export default _default;
@@ -0,0 +1,23 @@
1
+ import type { IconProps } from "@/components/icon";
2
+ import type { ChangeEvent, HTMLAttributes, ReactNode } from "react";
3
+ export type CheckboxVariant = "plain" | "card";
4
+ export type CheckboxProps<T extends string = string> = Omit<HTMLAttributes<HTMLInputElement>, "onChange" | "title"> & {
5
+ name: string;
6
+ value: T;
7
+ title: ReactNode;
8
+ description?: ReactNode | null;
9
+ icon?: Omit<IconProps, "label"> | null;
10
+ iconLabel?: string | null;
11
+ checked?: boolean;
12
+ defaultChecked?: boolean;
13
+ required?: boolean;
14
+ showRequiredMark?: boolean;
15
+ disabled?: boolean;
16
+ variant?: CheckboxVariant;
17
+ onChange?: (event: ChangeEvent<HTMLInputElement>, checked: boolean) => void;
18
+ className?: string;
19
+ };
20
+ export type CheckboxViewProps<T extends string = string> = CheckboxProps<T> & {
21
+ isChecked: boolean;
22
+ onChangeInternal?: (event: ChangeEvent<HTMLInputElement>) => void;
23
+ };
@@ -0,0 +1,3 @@
1
+ import type { CheckboxProps } from "./Checkbox.model";
2
+ import type { JSX } from "react";
3
+ export default function CheckboxServer<T extends string = string>(props: CheckboxProps<T>): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { CheckboxViewProps } from "./Checkbox.model";
2
+ import type { JSX } from "react";
3
+ export declare function CheckboxView<T extends string = string>({ className, name, value, title, description, icon, iconLabel, required, showRequiredMark, disabled, variant, isChecked, onChangeInternal, }: CheckboxViewProps<T>): JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from "./Checkbox";
2
+ export type { CheckboxProps, CheckboxVariant } from "./Checkbox.model";
@@ -0,0 +1,4 @@
1
+ import type { CheckboxGroupProps } from "./CheckboxGroup.model";
2
+ declare function CheckboxGroupClient<T extends string>(props: CheckboxGroupProps<T>): import("react").JSX.Element;
3
+ declare const _default: typeof CheckboxGroupClient;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import type { CheckboxGroupProps } from "./CheckboxGroup.model";
2
+ export declare const CheckboxGroup: import("react").ComponentType<CheckboxGroupProps<string> & {
3
+ priority?: boolean;
4
+ }>;
@@ -0,0 +1,5 @@
1
+ import type { CheckboxGroupProps } from "./CheckboxGroup.model";
2
+ declare const _default: import("react").ComponentType<CheckboxGroupProps<string> & {
3
+ priority?: boolean;
4
+ }>;
5
+ export default _default;
@@ -0,0 +1,38 @@
1
+ import type { IconProps } from "@/components/icon";
2
+ import type { HTMLAttributes } from "react";
3
+ export type CheckboxGroupOption<T extends string> = {
4
+ value: T;
5
+ title: string;
6
+ description?: string | null;
7
+ icon?: Omit<IconProps, "label"> | null;
8
+ iconLabel?: string | null;
9
+ required?: boolean;
10
+ disabled?: boolean;
11
+ };
12
+ export type CheckboxGroupVariant = "plain" | "card";
13
+ export type CheckboxGroupLayout = "stack" | "grid";
14
+ export type CheckboxGroupTranslations = {
15
+ ariaLabel?: string;
16
+ };
17
+ export type CheckboxGroupProps<T extends string> = {
18
+ ariaLabel?: string;
19
+ legend?: string | null;
20
+ hideLegend?: boolean;
21
+ legendProps?: HTMLAttributes<HTMLLegendElement>;
22
+ name: string;
23
+ disabled?: boolean;
24
+ required?: boolean;
25
+ values?: T[];
26
+ defaultValues?: T[];
27
+ options: CheckboxGroupOption<T>[];
28
+ onChange?: (next: T[]) => void;
29
+ hiddenInputName?: string;
30
+ layout?: CheckboxGroupLayout;
31
+ variant?: CheckboxGroupVariant;
32
+ translations?: CheckboxGroupTranslations;
33
+ };
34
+ export type CheckboxGroupViewProps<T extends string> = CheckboxGroupProps<T> & {
35
+ selectedValues: T[];
36
+ isChecked: (value: T) => boolean;
37
+ onToggle?: (value: T) => void;
38
+ };
@@ -0,0 +1,3 @@
1
+ import type { CheckboxGroupProps } from "./CheckboxGroup.model";
2
+ import type { JSX } from "react";
3
+ export default function CheckboxGroupServer<T extends string>(props: CheckboxGroupProps<T>): JSX.Element | null;
@@ -0,0 +1,3 @@
1
+ import type { CheckboxGroupViewProps } from "./CheckboxGroup.model";
2
+ import type { JSX } from "react";
3
+ export declare function CheckboxGroupView<T extends string>({ ariaLabel, legend, hideLegend, legendProps, name, disabled, required, options, selectedValues, hiddenInputName, layout, variant, translations: t, isChecked, onToggle, }: CheckboxGroupViewProps<T>): JSX.Element | null;
@@ -0,0 +1,2 @@
1
+ export * from "./CheckboxGroup";
2
+ export type { CheckboxGroupProps, CheckboxGroupOption, CheckboxGroupVariant, CheckboxGroupLayout, CheckboxGroupTranslations, } from "./CheckboxGroup.model";
@@ -30,6 +30,7 @@ export type DialogViewProps = HTMLAttributes<HTMLDivElement> & {
30
30
  contentRef?: Ref<HTMLDivElement>;
31
31
  containerChildren?: ReactNode;
32
32
  classNameHeader?: string;
33
+ actionsClassName?: string;
33
34
  scroll?: "paper" | "body";
34
35
  fullScreen?: boolean;
35
36
  onClose?: () => void;
@@ -1,3 +1,3 @@
1
1
  import type { DialogViewProps } from "./Dialog.model";
2
2
  import type { JSX } from "react";
3
- export declare function DialogView({ open, title, containerRef, hideTitle, renderHeader, hideCloseButton, translations, actions, contentProps, contentRef, containerChildren, className, classNameHeader, height, scroll, fullScreen, titleProps, children, onClose, onCloseKeyDown, wrapperProps, closeOnBackdropClick, closeButtonProps, closeButtonRef, ...rest }: DialogViewProps): JSX.Element;
3
+ export declare function DialogView({ open, title, containerRef, hideTitle, renderHeader, hideCloseButton, translations, actions, contentProps, contentRef, containerChildren, className, classNameHeader, actionsClassName, height, scroll, fullScreen, titleProps, children, onClose, onCloseKeyDown, wrapperProps, closeOnBackdropClick, closeButtonProps, closeButtonRef, ...rest }: DialogViewProps): JSX.Element;
@@ -14,7 +14,7 @@ export type DynamicListFieldSelect = Omit<SelectProps, "id"> & {
14
14
  export type DynamicListField = DynamicListFieldInput | DynamicListFieldSelect;
15
15
  export type DynamicListDefault = {
16
16
  id?: string;
17
- name: string;
17
+ name?: string;
18
18
  className?: string;
19
19
  classNameList?: string;
20
20
  buttonAddProps?: ButtonProps;
@@ -3,7 +3,7 @@ import type { Schema } from "@/types/schema";
3
3
  import type { Variants } from "@/types/variants";
4
4
  import type { HTMLAttributes } from "react";
5
5
  export type HeadlineTypeProps = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
6
- export type HeadlineSizeProps = "xxl" | "xl" | "lg" | "md" | "sm" | "xs";
6
+ export type HeadlineSizeProps = "xxl" | "xl" | "lg" | "md" | "sm" | "xs" | number;
7
7
  export type HeadlineVariant = Variants;
8
8
  export type HeadlineProps = HTMLAttributes<HTMLHeadElement> & {
9
9
  animated?: boolean;
@@ -1,3 +1,3 @@
1
1
  import type { InputProps } from "./Input.model";
2
2
  import type { JSX } from "react";
3
- export declare function InputView({ inputRef, name, label, disabled, placeholder, isFocused, labelProps, value, helperText, errorText, required, fullWidth, multiline, maxLength, className, fieldClassName, inputContainerClassName, inputClassName, hideCounter, rows, minRows, maxRows, type, renderNode, ...rest }: InputProps): JSX.Element;
3
+ export declare function InputView({ inputRef, name, label, disabled, placeholder, isFocused, labelProps, value, helperText, errorText, required, fullWidth, multiline, maxLength, className, fieldClassName, inputContainerClassName, inputClassName, hideCounter, rows, hideLegend: _hideLegend, minRows, maxRows, type, renderNode, ...rest }: InputProps): JSX.Element;
@@ -8,6 +8,8 @@ export { Button } from "./components/button";
8
8
  export { Calendly } from "./components/calendly";
9
9
  export { Card } from "./components/card";
10
10
  export { Carousel } from "./components/carousel";
11
+ export { Checkbox } from "./components/checkbox";
12
+ export { CheckboxGroup } from "./components/checkbox-group";
11
13
  export { Chip } from "./components/chip";
12
14
  export { DatePicker } from "./components/datePicker";
13
15
  export { Dialog } from "./components/dialog";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prokodo/ui",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "type": "module",
5
5
  "description": "UI components for production-grade Next.js + Headless CMS (Strapi, Contentful, Headless WordPress) websites by prokodo – built for Core Web Vitals & SEO.",
6
6
  "sideEffects": [
@@ -79,6 +79,16 @@
79
79
  "types": "./dist/types/components/carousel/index.d.ts"
80
80
  },
81
81
  "./carousel.css": "./dist/components/carousel/Carousel.css",
82
+ "./checkbox": {
83
+ "import": "./dist/components/checkbox/index.js",
84
+ "types": "./dist/types/components/checkbox/index.d.ts"
85
+ },
86
+ "./checkbox.css": "./dist/components/checkbox/Checkbox.css",
87
+ "./checkbox-group": {
88
+ "import": "./dist/components/checkbox-group/index.js",
89
+ "types": "./dist/types/components/checkbox-group/index.d.ts"
90
+ },
91
+ "./checkbox-group.css": "./dist/components/checkbox-group/CheckboxGroup.css",
82
92
  "./chip": {
83
93
  "import": "./dist/components/chip/index.js",
84
94
  "types": "./dist/types/components/chip/index.d.ts"
@@ -285,9 +295,14 @@
285
295
  "build": "vite build && pnpm build:types && node tools/duplicate-css-modules.mjs && node tools/update-exports.mjs",
286
296
  "build:types": "tsc --project tsconfig.build.json",
287
297
  "typecheck": "tsc --project tsconfig.typecheck.json",
288
- "test": "NODE_ENV=test jest --coverage --verbose && pnpm format && pnpm lint && pnpm typecheck",
289
- "test:watch": "NODE_ENV=test jest --watch",
290
- "test:ci": "NODE_ENV=test jest --runInBand --ci",
298
+ "typecheck:cypress": "tsc --project tsconfig.cypress.json",
299
+ "test": "pnpm format && pnpm lint && pnpm typecheck && pnpm test:unit && pnpm test:e2e:ci",
300
+ "test:ci": "pnpm format && pnpm lint && pnpm typecheck && pnpm test:unit:ci && pnpm test:e2e:ci",
301
+ "test:unit": "NODE_ENV=test jest --coverage --verbose",
302
+ "test:unit:watch": "NODE_ENV=test jest --watch",
303
+ "test:unit:ci": "NODE_ENV=test jest --runInBand --ci --coverage",
304
+ "test:e2e": "cypress open --component",
305
+ "test:e2e:ci": "cypress run --component --headless",
291
306
  "fix": "pnpm format:fix && pnpm lint:fix",
292
307
  "lint": "eslint 'src/**/*.{ts,tsx}' --cache --cache-location .eslintcache",
293
308
  "lint:fix": "eslint 'src/**/*.{ts,tsx}' --fix --cache --cache-location .eslintcache",
@@ -302,7 +317,7 @@
302
317
  },
303
318
  "dependencies": {
304
319
  "@googlemaps/js-api-loader": "^2.0.2",
305
- "@lottiefiles/dotlottie-react": "^0.17.8",
320
+ "@lottiefiles/dotlottie-react": "^0.18.2",
306
321
  "dayjs": "^1.11.19",
307
322
  "highlight.js": "^11.11.1",
308
323
  "markdown-it": "^14.1.0",
@@ -321,12 +336,14 @@
321
336
  "@babel/preset-react": "^7.27.1",
322
337
  "@babel/preset-typescript": "^7.27.1",
323
338
  "@changesets/cli": "^2.29.4",
339
+ "@chromatic-com/cypress": "^0.11.8",
324
340
  "@chromatic-com/storybook": "^3",
325
341
  "@csstools/css-color-parser": "^3.1.0",
326
342
  "@eslint/compat": "^1.2.0",
327
343
  "@hugeicons/core-free-icons": "^2.0.0",
328
344
  "@jest/globals": "^29.7.0",
329
345
  "@jest/types": "^29.6.3",
346
+ "@storybook/addon-a11y": "8.2.9",
330
347
  "@storybook/addon-essentials": "8.2.9",
331
348
  "@storybook/addon-interactions": "8.2.9",
332
349
  "@storybook/addon-links": "8.2.9",
@@ -338,12 +355,14 @@
338
355
  "@storybook/test": "8.2.9",
339
356
  "@storybook/theming": "^8.6.14",
340
357
  "@svgr/webpack": "^8.1.0",
358
+ "@testing-library/cypress": "^10.1.0",
341
359
  "@testing-library/jest-dom": "^6.5.0",
342
360
  "@testing-library/react": "^16.0.1",
343
361
  "@testing-library/user-event": "^14.6.1",
344
362
  "@types/google.maps": "^3.55.11",
345
363
  "@types/hast": "^3.0.4",
346
364
  "@types/jest": "^29.5.13",
365
+ "@types/jest-axe": "^3.5.9",
347
366
  "@types/node": "^22.15.21",
348
367
  "@types/react": "19.2.2",
349
368
  "@types/react-dom": "19.2.2",
@@ -352,7 +371,11 @@
352
371
  "@vitejs/plugin-react": "^4.5.0",
353
372
  "acorn": "^8.14.1",
354
373
  "acorn-walk": "^8.3.4",
374
+ "axe-core": "^4.11.1",
355
375
  "babel-jest": "^29.7.0",
376
+ "chromatic": "^15.2.0",
377
+ "cypress": "^15.10.0",
378
+ "cypress-axe": "^1.7.0",
356
379
  "esbuild": "^0.25.4",
357
380
  "eslint": "^9.10.0",
358
381
  "eslint-config-prettier": "^9.1.0",
@@ -373,6 +396,7 @@
373
396
  "husky": "^9.1.6",
374
397
  "identity-obj-proxy": "^3.0.0",
375
398
  "jest": "^29.7.0",
399
+ "jest-axe": "^10.0.0",
376
400
  "jest-canvas-mock": "^2.5.2",
377
401
  "jest-css-modules": "^2.1.0",
378
402
  "jest-environment-jsdom": "^29.7.0",