@prokodo/ui 0.0.4 → 0.0.6
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.
- package/README.md +99 -12
- package/dist/components/Accordion-V3d_aGvZ.js +130 -0
- package/dist/components/Accordion-o8oKA6Tq.js +1 -0
- package/dist/components/Animated-BBfAgsHL.js +64 -0
- package/dist/components/Animated-CO4IEerF.js +1 -0
- package/dist/components/AnimatedText-BmB5Vkyq.js +31 -0
- package/dist/components/AnimatedText-Sy1jofZl.js +1 -0
- package/dist/components/Avatar-Ci5YNFc5.js +95 -0
- package/dist/components/Avatar-CjlbA5a5.js +1 -0
- package/dist/components/BaseLink-Dd9htNXU.js +1 -0
- package/dist/components/BaseLink-w1q9Qc1U.js +30 -0
- package/dist/components/Button-B8chVgsB.js +111 -0
- package/dist/components/Button-yvFLX-6Q.js +1 -0
- package/dist/components/Calendly-CWCAs02R.js +1 -0
- package/dist/components/Calendly-WBM4oHyC.js +82 -0
- package/dist/components/Card-BPEoLzF1.js +1 -0
- package/dist/components/Card-IW4R7bKr.js +202 -0
- package/dist/components/Carousel-CdS7SVzA.js +1 -0
- package/dist/components/Carousel-DpO4a3lm.js +257 -0
- package/dist/components/Chip-BmBxJH5M.js +80 -0
- package/dist/components/Chip-Q2ttDAQn.js +1 -0
- package/dist/components/ClassNameConfigurator-C6UbdI-d.js +21 -0
- package/dist/components/ClassNameConfigurator-Ce5BUPXc.js +860 -0
- package/dist/components/DatePicker-BTenaDN8.js +1 -0
- package/dist/components/DatePicker-PK173UTy.js +93 -0
- package/dist/components/Dialog-Bq3tfZ0_.js +1 -0
- package/dist/components/Dialog-KlXAOdt_.js +172 -0
- package/dist/components/Drawer-DulO9091.js +1 -0
- package/dist/components/Drawer-i9X07r74.js +120 -0
- package/dist/components/Form-B6963dT5.js +368 -0
- package/dist/components/Form-DVNzITG2.js +1 -0
- package/dist/components/GridRow-1h1JHuDl.js +114 -0
- package/dist/components/GridRow-C5v0sOZZ.js +1 -0
- package/dist/components/Headline-CnyLLQLB.js +1 -0
- package/dist/components/Headline-DzEinaZi.js +98 -0
- package/dist/components/Icon-BMrVlROP.js +4195 -0
- package/dist/components/Icon-eWdA85cf.js +1 -0
- package/dist/components/Image-B-lyA7ym.js +1 -0
- package/dist/components/Image-CVgvVlLE.js +33 -0
- package/dist/components/ImageText-Cqp4xp9y.js +113 -0
- package/dist/components/ImageText-D-06_EGf.js +1 -0
- package/dist/components/Input-BEO9ig1R.js +1 -0
- package/dist/components/Input-CrNLI_OY.js +258 -0
- package/dist/components/InputOTP-Db7DHrhS.js +88 -0
- package/dist/components/InputOTP-MnmjEmPU.js +1 -0
- package/dist/components/Label-BvCzZIGM.js +1 -0
- package/dist/components/Label-DRUCdGoX.js +71 -0
- package/dist/components/Link-DSQ1125B.js +69 -0
- package/dist/components/Link-Dg7XR4uY.js +1 -0
- package/dist/components/List-D_dSwMx5.js +1 -0
- package/dist/components/List-P6xbVrBc.js +196 -0
- package/dist/components/Loading-C7lyHDW7.js +68 -0
- package/dist/components/Loading-U-CrTVTi.js +1 -0
- package/dist/components/Lottie-Br7PmIzX.js +1 -0
- package/dist/components/Lottie-CrvbxK0R.js +87 -0
- package/dist/components/Map-D3xbPS1S.js +1 -0
- package/dist/components/Map-DEIB_y-M.js +64 -0
- package/dist/components/PostItem-B8Vfv_sW.js +183 -0
- package/dist/components/PostItem-BSTn6cHD.js +1 -0
- package/dist/components/PostTeaser-BmZyqFL2.js +186 -0
- package/dist/components/PostTeaser-DLynX43c.js +1 -0
- package/dist/components/PostWidget-Bo4KiSsV.js +170 -0
- package/dist/components/PostWidget-DYWA-B8d.js +1 -0
- package/dist/components/PostWidgetCarousel-CZ6ptOGv.js +168 -0
- package/dist/components/PostWidgetCarousel-D7-p3Pwr.js +1 -0
- package/dist/components/Quote-6aurOanD.js +1 -0
- package/dist/components/Quote-CV_UYE1G.js +101 -0
- package/dist/components/RichText-Cg_XzkUs.js +152 -0
- package/dist/components/RichText-DVg1dwMV.js +1 -0
- package/dist/components/Select-BMyrX8V0.js +3081 -0
- package/dist/components/Select-DbjU6dlH.js +3 -0
- package/dist/components/Skeleton-BuY3bttw.js +1 -0
- package/dist/components/Skeleton-D6olNYTG.js +40 -0
- package/dist/components/Slider-C-lecSwc.js +957 -0
- package/dist/components/Slider-GvO3Xllf.js +1 -0
- package/dist/components/Stepper-BV3PGCr2.js +1 -0
- package/dist/components/Stepper-CA1DOm4D.js +135 -0
- package/dist/components/Switch-C_6EUOIc.js +330 -0
- package/dist/components/Switch-Db3HpOhM.js +1 -0
- package/dist/components/Table-Csc0FIbX.js +1 -0
- package/dist/components/Table-Cy8bIv_C.js +95 -0
- package/dist/components/Teaser-CkisYOs-.js +1 -0
- package/dist/components/Teaser-Cl2oBeh5.js +118 -0
- package/dist/components/accordion.js +1 -0
- package/dist/components/animated.js +1 -0
- package/dist/components/animatedText.js +1 -0
- package/dist/components/areArraysEqual-6R3bBH2E.js +1 -0
- package/dist/components/areArraysEqual-CJkStQkx.js +20 -0
- package/dist/components/avatar.js +1 -0
- package/dist/components/base-link.js +1 -0
- package/dist/components/bem-CYKrPjje.js +11 -0
- package/dist/components/bem-DC5wv0dD.js +1 -0
- package/dist/components/button.js +1 -0
- package/dist/components/calculation-79PhfKvq.js +4 -0
- package/dist/components/calculation-D-p0iqpk.js +1 -0
- package/dist/components/calendly.js +1 -0
- package/dist/components/card.js +1 -0
- package/dist/components/carousel.js +1 -0
- package/dist/components/chip.js +1 -0
- package/dist/components/datePicker.js +1 -0
- package/dist/components/dialog.js +1 -0
- package/dist/components/drawer.js +1 -0
- package/dist/components/form.js +1 -0
- package/dist/components/grid.js +1 -0
- package/dist/components/headline.js +1 -0
- package/dist/components/icon.js +1 -0
- package/dist/components/image-text.js +1 -0
- package/dist/components/image.js +1 -0
- package/dist/components/input.js +1 -0
- package/dist/components/inputOTP.js +1 -0
- package/dist/components/jsx-runtime-C5mzlN2N.js +284 -0
- package/dist/components/jsx-runtime-CITbqOLs.js +22 -0
- package/dist/components/label.js +1 -0
- package/dist/components/link.js +1 -0
- package/dist/components/list.js +1 -0
- package/dist/components/loading.js +1 -0
- package/dist/components/lottie.js +1 -0
- package/dist/components/map.js +1 -0
- package/dist/components/post-item.js +1 -0
- package/dist/components/post-teaser.js +1 -0
- package/dist/components/post-widget-carousel.js +1 -0
- package/dist/components/post-widget.js +1 -0
- package/dist/components/quote.js +1 -0
- package/dist/components/rich-text.js +1 -0
- package/dist/components/select.js +1 -0
- package/dist/components/skeleton.js +1 -0
- package/dist/components/slider.js +1 -0
- package/dist/components/stepper.js +1 -0
- package/dist/components/switch.js +1 -0
- package/dist/components/table.js +1 -0
- package/dist/components/teaser.js +1 -0
- package/dist/components/useControlled-BYdyS7Pn.js +31 -0
- package/dist/components/useControlled-Ysk4KqoX.js +3 -0
- package/dist/components/validations-B_cxltQ_.js +8 -0
- package/dist/components/validations-Cnxtn28y.js +1 -0
- package/dist/index.cjs.js +1 -46
- package/dist/index.es.js +82 -13845
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/types/components/accordion/Accordion.d.ts +3 -0
- package/dist/types/components/accordion/Accordion.model.d.ts +28 -0
- package/dist/types/components/accordion/index.d.ts +2 -0
- package/dist/types/components/animated/Animated.d.ts +3 -0
- package/dist/types/components/animated/Animated.model.d.ts +12 -0
- package/dist/types/components/animated/index.d.ts +2 -0
- package/dist/types/components/animatedText/AnimatedText.d.ts +3 -0
- package/dist/types/components/animatedText/AnimatedText.model.d.ts +7 -0
- package/dist/types/components/animatedText/index.d.ts +2 -0
- package/dist/types/components/avatar/Avatar.d.ts +3 -0
- package/dist/types/components/avatar/Avatar.model.d.ts +11 -0
- package/dist/types/components/avatar/index.d.ts +2 -0
- package/dist/types/components/base-link/BaseLink.d.ts +3 -0
- package/dist/types/components/base-link/BaseLink.model.d.ts +7 -0
- package/dist/types/components/base-link/index.d.ts +2 -0
- package/dist/types/components/button/Button.d.ts +3 -0
- package/dist/types/components/button/Button.model.d.ts +26 -0
- package/dist/types/components/button/index.d.ts +2 -0
- package/dist/types/components/calendly/Calendly.d.ts +22 -0
- package/dist/types/components/calendly/Calendly.model.d.ts +27 -0
- package/dist/types/components/calendly/index.d.ts +2 -0
- package/dist/types/components/card/Card.d.ts +3 -0
- package/dist/types/components/card/Card.model.d.ts +35 -0
- package/dist/types/components/card/index.d.ts +2 -0
- package/dist/types/components/carousel/Carousel.d.ts +3 -0
- package/dist/types/components/carousel/Carousel.model.d.ts +24 -0
- package/dist/types/components/carousel/Carousel.services.d.ts +23 -0
- package/dist/types/components/carousel/index.d.ts +2 -0
- package/dist/types/components/chip/Chip.d.ts +3 -0
- package/dist/types/components/chip/Chip.model.d.ts +14 -0
- package/dist/types/components/chip/index.d.ts +2 -0
- package/dist/types/components/datePicker/DatePicker.d.ts +3 -0
- package/dist/types/components/datePicker/DatePicker.model.d.ts +21 -0
- package/dist/types/components/datePicker/index.d.ts +2 -0
- package/dist/types/components/dialog/Dialog.d.ts +3 -0
- package/dist/types/components/dialog/Dialog.model.d.ts +34 -0
- package/dist/types/components/dialog/index.d.ts +2 -0
- package/dist/types/components/drawer/Drawer.d.ts +5 -0
- package/dist/types/components/drawer/Drawer.model.d.ts +11 -0
- package/dist/types/components/drawer/index.d.ts +2 -0
- package/dist/types/components/form/Form.d.ts +3 -0
- package/dist/types/components/form/Form.model.d.ts +71 -0
- package/dist/types/components/form/FormField.d.ts +9 -0
- package/dist/types/components/form/FormResponse.d.ts +6 -0
- package/dist/types/components/form/index.d.ts +3 -0
- package/dist/types/components/grid/Grid.d.ts +7 -0
- package/dist/types/components/grid/GridRow.d.ts +13 -0
- package/dist/types/components/grid/index.d.ts +2 -0
- package/dist/types/components/headline/Headline.d.ts +4 -0
- package/dist/types/components/headline/Headline.model.d.ts +19 -0
- package/dist/types/components/headline/index.d.ts +2 -0
- package/dist/types/components/icon/Icon.d.ts +4 -0
- package/dist/types/components/icon/Icon.model.d.ts +15 -0
- package/dist/types/components/icon/iconsMap.d.ts +4128 -0
- package/dist/types/components/icon/index.d.ts +2 -0
- package/dist/types/components/image/Image.d.ts +3 -0
- package/dist/types/components/image/Image.model.d.ts +12 -0
- package/dist/types/components/image/index.d.ts +2 -0
- package/dist/types/components/image-text/ImageText.d.ts +3 -0
- package/dist/types/components/image-text/ImageText.model.d.ts +21 -0
- package/dist/types/components/image-text/index.d.ts +2 -0
- package/dist/types/components/input/Input.d.ts +3 -0
- package/dist/types/components/input/Input.model.d.ts +55 -0
- package/dist/types/components/input/InputValidation.d.ts +2 -0
- package/dist/types/components/input/index.d.ts +2 -0
- package/dist/types/components/inputOTP/InputOTP.d.ts +3 -0
- package/dist/types/components/inputOTP/InputOTP.model.d.ts +8 -0
- package/dist/types/components/inputOTP/index.d.ts +2 -0
- package/dist/types/components/label/Label.d.ts +3 -0
- package/dist/types/components/label/Label.model.d.ts +9 -0
- package/dist/types/components/label/index.d.ts +2 -0
- package/dist/types/components/link/Link.d.ts +3 -0
- package/dist/types/components/link/Link.model.d.ts +22 -0
- package/dist/types/components/link/index.d.ts +2 -0
- package/dist/types/components/list/List.d.ts +3 -0
- package/dist/types/components/list/List.model.d.ts +49 -0
- package/dist/types/components/list/index.d.ts +2 -0
- package/dist/types/components/loading/Loading.d.ts +3 -0
- package/dist/types/components/loading/Loading.model.d.ts +5 -0
- package/dist/types/components/loading/index.d.ts +2 -0
- package/dist/types/components/lottie/Lottie.d.ts +3 -0
- package/dist/types/components/lottie/Lottie.model.d.ts +8 -0
- package/dist/types/components/lottie/LottieAnimations.d.ts +32 -0
- package/dist/types/components/lottie/index.d.ts +2 -0
- package/dist/types/components/map/Map.d.ts +3 -0
- package/dist/types/components/map/Map.model.d.ts +20 -0
- package/dist/types/components/map/index.d.ts +2 -0
- package/dist/types/components/post-item/PostItem.d.ts +3 -0
- package/dist/types/components/post-item/PostItem.model.d.ts +21 -0
- package/dist/types/components/post-item/PostItemAuthor.d.ts +3 -0
- package/dist/types/components/post-item/PostItemAuthor.model.d.ts +14 -0
- package/dist/types/components/post-item/index.d.ts +3 -0
- package/dist/types/components/post-teaser/PostTeaser.d.ts +3 -0
- package/dist/types/components/post-teaser/PostTeaser.model.d.ts +25 -0
- package/dist/types/components/post-teaser/index.d.ts +2 -0
- package/dist/types/components/post-widget/PostWidget.d.ts +3 -0
- package/dist/types/components/post-widget/PostWidget.model.d.ts +25 -0
- package/dist/types/components/post-widget/index.d.ts +2 -0
- package/dist/types/components/post-widget-carousel/PostWidgetCarousel.d.ts +3 -0
- package/dist/types/components/post-widget-carousel/PostWidgetCarousel.model.d.ts +20 -0
- package/dist/types/components/post-widget-carousel/index.d.ts +2 -0
- package/dist/types/components/quote/Quote.d.ts +3 -0
- package/dist/types/components/quote/Quote.model.d.ts +19 -0
- package/dist/types/components/quote/index.d.ts +2 -0
- package/dist/types/components/rich-text/RichText.d.ts +3 -0
- package/dist/types/components/rich-text/RichText.model.d.ts +11 -0
- package/dist/types/components/rich-text/index.d.ts +2 -0
- package/dist/types/components/select/Select.d.ts +3 -0
- package/dist/types/components/select/Select.model.d.ts +30 -0
- package/dist/types/components/select/index.d.ts +2 -0
- package/dist/types/components/skeleton/Skeleton.d.ts +3 -0
- package/dist/types/components/skeleton/Skeleton.model.d.ts +7 -0
- package/dist/types/components/skeleton/index.d.ts +2 -0
- package/dist/types/components/slider/Slider.d.ts +3 -0
- package/dist/types/components/slider/Slider.model.d.ts +11 -0
- package/dist/types/components/slider/index.d.ts +2 -0
- package/dist/types/components/stepper/Stepper.d.ts +3 -0
- package/dist/types/components/stepper/Stepper.model.d.ts +24 -0
- package/dist/types/components/stepper/index.d.ts +2 -0
- package/dist/types/components/switch/Switch.d.ts +3 -0
- package/dist/types/components/switch/Switch.model.d.ts +18 -0
- package/dist/types/components/switch/index.d.ts +2 -0
- package/dist/types/components/table/Table.d.ts +3 -0
- package/dist/types/components/table/Table.model.d.ts +32 -0
- package/dist/types/components/table/index.d.ts +2 -0
- package/dist/types/components/teaser/Teaser.d.ts +3 -0
- package/dist/types/components/teaser/Teaser.model.d.ts +29 -0
- package/dist/types/components/teaser/index.d.ts +2 -0
- package/dist/types/helpers/bem.d.ts +8 -0
- package/dist/types/helpers/calculation.d.ts +2 -0
- package/dist/types/helpers/effect.d.ts +1 -0
- package/dist/types/helpers/getTracking.d.ts +5 -0
- package/dist/types/helpers/theme.d.ts +1 -0
- package/dist/types/helpers/validations.d.ts +6 -0
- package/dist/types/hooks/useGoogleMaps.d.ts +1 -0
- package/dist/types/hooks/useThrottleScroll.d.ts +1 -0
- package/dist/types/index.d.ts +80 -0
- package/dist/types/types/colors.d.ts +5 -0
- package/dist/types/types/core.d.ts +5 -0
- package/dist/types/types/schema.d.ts +7 -0
- package/dist/types/types/variants.d.ts +1 -0
- package/dist/ui.css +1 -1
- package/package.json +183 -18
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { LabelProps } from "../label";
|
|
2
|
+
import type { SliderProps as MUISliderProps } from "@mui/base/Slider";
|
|
3
|
+
import type { HTMLAttributes } from "react";
|
|
4
|
+
export type SliderProps = Omit<MUISliderProps, "value"> & {
|
|
5
|
+
id: string;
|
|
6
|
+
value?: string | number | number[];
|
|
7
|
+
label?: string;
|
|
8
|
+
labelProps?: LabelProps;
|
|
9
|
+
valueLabelProps?: HTMLAttributes<HTMLSpanElement>;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Ref, HTMLAttributes } from "react";
|
|
2
|
+
export type StepperRef = {
|
|
3
|
+
jumpToStep: (index: number) => void;
|
|
4
|
+
};
|
|
5
|
+
export type StepperTranslations = {
|
|
6
|
+
stepper: string;
|
|
7
|
+
step: string;
|
|
8
|
+
status: {
|
|
9
|
+
open: string;
|
|
10
|
+
completed: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export type Step = HTMLAttributes<HTMLLIElement> & {
|
|
14
|
+
key?: string;
|
|
15
|
+
label?: string;
|
|
16
|
+
labelProps?: HTMLAttributes<HTMLDivElement>;
|
|
17
|
+
};
|
|
18
|
+
export type StepperProps = HTMLAttributes<HTMLOListElement> & {
|
|
19
|
+
ref?: Ref<StepperRef>;
|
|
20
|
+
steps: Step[];
|
|
21
|
+
onChangeStep?: (index: number) => void;
|
|
22
|
+
initialStep?: number;
|
|
23
|
+
translations?: StepperTranslations;
|
|
24
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { IconName } from "../icon";
|
|
2
|
+
import type { LabelProps } from "../label";
|
|
3
|
+
import type { SwitchProps as MUISwitchProps } from "@mui/base";
|
|
4
|
+
import type { ChangeEvent } from "react";
|
|
5
|
+
export type SwitchColor = "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning";
|
|
6
|
+
export type SwitchProps = Omit<MUISwitchProps, "component" | "onChange"> & {
|
|
7
|
+
variant?: SwitchColor;
|
|
8
|
+
label?: string;
|
|
9
|
+
labelProps?: Omit<LabelProps, "label" | "require">;
|
|
10
|
+
name: string;
|
|
11
|
+
icon?: IconName;
|
|
12
|
+
checkedIcon?: IconName;
|
|
13
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>, checked: boolean) => void;
|
|
14
|
+
};
|
|
15
|
+
export type IconRenderProps = {
|
|
16
|
+
name: IconName;
|
|
17
|
+
isChecked?: boolean;
|
|
18
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Variants } from "@/types/variants";
|
|
2
|
+
import type { ReactNode, TableHTMLAttributes, HTMLAttributes } from "react";
|
|
3
|
+
export type TableHeaderCellProps = {
|
|
4
|
+
label?: string;
|
|
5
|
+
colSpan?: number;
|
|
6
|
+
rowSpan?: number;
|
|
7
|
+
className?: string;
|
|
8
|
+
};
|
|
9
|
+
export type TableBodyCellProps = {
|
|
10
|
+
label?: string;
|
|
11
|
+
icon?: ReactNode;
|
|
12
|
+
colSpan?: number;
|
|
13
|
+
rowSpan?: number;
|
|
14
|
+
className?: string;
|
|
15
|
+
};
|
|
16
|
+
export type TableRowProps = {
|
|
17
|
+
data: TableBodyCellProps[];
|
|
18
|
+
className?: string;
|
|
19
|
+
};
|
|
20
|
+
export type TableData = {
|
|
21
|
+
header?: TableHeaderCellProps[];
|
|
22
|
+
body?: TableRowProps[];
|
|
23
|
+
};
|
|
24
|
+
export type TableProps = TableHTMLAttributes<HTMLTableElement> & {
|
|
25
|
+
ariaLabel: string;
|
|
26
|
+
caption: string;
|
|
27
|
+
variant?: Variants;
|
|
28
|
+
headerType?: "single" | "double";
|
|
29
|
+
data?: TableData;
|
|
30
|
+
headerProps?: HTMLAttributes<HTMLTableSectionElement>;
|
|
31
|
+
bodyProps?: HTMLAttributes<HTMLTableSectionElement>;
|
|
32
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { HeadlineProps } from "../headline";
|
|
2
|
+
import type { IconProps } from "../icon";
|
|
3
|
+
import type { ImageProps } from "../image";
|
|
4
|
+
import type { LinkProps } from "../link";
|
|
5
|
+
import type { LottieAnimation } from "../lottie";
|
|
6
|
+
import type { Variants } from "@/types/variants";
|
|
7
|
+
export type TeaserVariant = Variants;
|
|
8
|
+
export type TeaserHeadline = {
|
|
9
|
+
content: string;
|
|
10
|
+
} & Omit<HeadlineProps, "children">;
|
|
11
|
+
export type TeaserImage = ImageProps;
|
|
12
|
+
export type TeaserAnimation = LottieAnimation;
|
|
13
|
+
export type TeaserRedirect = LinkProps & {
|
|
14
|
+
label?: string;
|
|
15
|
+
icon?: IconProps;
|
|
16
|
+
};
|
|
17
|
+
export type TeaserAlign = "left" | "center" | "right";
|
|
18
|
+
export type TeaserProps = {
|
|
19
|
+
className?: string;
|
|
20
|
+
variant?: TeaserVariant;
|
|
21
|
+
align?: TeaserAlign;
|
|
22
|
+
lineClamp?: boolean;
|
|
23
|
+
title: TeaserHeadline;
|
|
24
|
+
content?: string;
|
|
25
|
+
image?: TeaserImage;
|
|
26
|
+
animation?: TeaserAnimation;
|
|
27
|
+
onClick?: () => void;
|
|
28
|
+
redirect?: TeaserRedirect;
|
|
29
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type WordSet } from "react-bem-helper";
|
|
2
|
+
type Styles = {
|
|
3
|
+
readonly [key: string]: string;
|
|
4
|
+
};
|
|
5
|
+
type ClassNames = (element?: string, modifiers?: WordSet, extra?: WordSet) => string;
|
|
6
|
+
export declare const COMPANY_PREFIX = "prokodo";
|
|
7
|
+
declare function create(styles: Styles, blockName: string): ClassNames;
|
|
8
|
+
export { create };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const throttleLayoutEffect: <T extends (...args: unknown[]) => void>(callback: T) => ((...args: Parameters<T>) => void);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getTheme: () => "light" | "dark" | null;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const isString: (e?: string | null) => boolean;
|
|
2
|
+
export declare const isEqual: (a?: string, b?: string) => boolean;
|
|
3
|
+
export declare const isNumber: (e?: number | null) => boolean;
|
|
4
|
+
export declare const isArray: <T>(array: T[] | null | undefined) => array is T[];
|
|
5
|
+
export declare const isNull: (e: unknown) => boolean;
|
|
6
|
+
export declare const isTrue: (e?: boolean) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useGoogleMaps: (apiKey: string, reload?: boolean) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useThrottledScroll: (callback: () => void) => void;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export { Accordion } from "./components/accordion";
|
|
2
|
+
export { Animated } from "./components/animated";
|
|
3
|
+
export { AnimatedText } from "./components/animatedText";
|
|
4
|
+
export { Avatar } from "./components/avatar";
|
|
5
|
+
export { BaseLink } from "./components/base-link";
|
|
6
|
+
export { Button } from "./components/button";
|
|
7
|
+
export { Calendly } from "./components/calendly";
|
|
8
|
+
export { Card } from "./components/card";
|
|
9
|
+
export { Carousel } from "./components/carousel";
|
|
10
|
+
export { Chip } from "./components/chip";
|
|
11
|
+
export { DatePicker } from "./components/datePicker";
|
|
12
|
+
export { Dialog } from "./components/dialog";
|
|
13
|
+
export { Drawer } from "./components/drawer";
|
|
14
|
+
export { Form, FormResponse } from "./components/form";
|
|
15
|
+
export { Grid, GridRow } from "./components/grid";
|
|
16
|
+
export { Headline } from "./components/headline";
|
|
17
|
+
export { Icon } from "./components/icon";
|
|
18
|
+
export { Image } from "./components/image";
|
|
19
|
+
export { ImageText } from "./components/image-text";
|
|
20
|
+
export { Input } from "./components/input";
|
|
21
|
+
export { InputOTP } from "./components/inputOTP";
|
|
22
|
+
export { Label } from "./components/label";
|
|
23
|
+
export { Link } from "./components/link";
|
|
24
|
+
export { List } from "./components/list";
|
|
25
|
+
export { Loading } from "./components/loading";
|
|
26
|
+
export { Lottie } from "./components/lottie";
|
|
27
|
+
export { Map } from "./components/map";
|
|
28
|
+
export { PostItem } from "./components/post-item";
|
|
29
|
+
export { PostTeaser } from "./components/post-teaser";
|
|
30
|
+
export { PostWidget } from "./components/post-widget";
|
|
31
|
+
export { PostWidgetCarousel } from "./components/post-widget-carousel";
|
|
32
|
+
export { Quote } from "./components/quote";
|
|
33
|
+
export { RichText } from "./components/rich-text";
|
|
34
|
+
export { Select } from "./components/select";
|
|
35
|
+
export { Skeleton } from "./components/skeleton";
|
|
36
|
+
export { Slider } from "./components/slider";
|
|
37
|
+
export { Stepper } from "./components/stepper";
|
|
38
|
+
export { Switch } from "./components/switch";
|
|
39
|
+
export { Table } from "./components/table";
|
|
40
|
+
export { Teaser } from "./components/teaser";
|
|
41
|
+
export type { AccordionProps, AccordionItem, AccordionAction, } from "./components/accordion";
|
|
42
|
+
export type { AnimatedProps } from "./components/animated";
|
|
43
|
+
export type { AnimatedTextProps } from "./components/animatedText";
|
|
44
|
+
export type { AvatarProps, AvatarSize } from "./components/avatar";
|
|
45
|
+
export type { BaseLinkProps } from "./components/base-link";
|
|
46
|
+
export type { ButtonProps, ButtonColor, ButtonIconProps, ButtonDefaultProps, } from "./components/button";
|
|
47
|
+
export type { CalendlyProps, CalendlyColorOptions, CalendlyData, CalendlyDataCustomAnswers, } from "./components/calendly";
|
|
48
|
+
export type { CardProps, CardBackground, CardBackgroundProps, CardVariant, } from "./components/card";
|
|
49
|
+
export type { CarouselProps, CarouselDirection, CarouselRef, } from "./components/carousel";
|
|
50
|
+
export type { ChipProps, ChipColor, ChipVariant } from "./components/chip";
|
|
51
|
+
export type { DatePickerProps, DatePickerValue, DatePickerErrorTranslations, } from "./components/datePicker";
|
|
52
|
+
export type { DialogProps, DialogAction, DialogActions, DialogRef, DialogTranslations, } from "./components/dialog";
|
|
53
|
+
export type { DrawerProps } from "./components/drawer";
|
|
54
|
+
export type { FormProps, FormField, FormAllowedChildren, FormFieldCondition, FormFieldDate, FormFieldInput, FormFieldMessages, FormFieldMessagesErrors, FormFieldMessagesErrorsDate, FormFieldMessagesErrorsInput, FormFieldOptionals, FormFieldSelect, FormFieldSlider, FormFieldSwitch, FormFieldValue, FormMessages, FormMessagesErrors, FormResponseProps, FormVariants, } from "./components/form";
|
|
55
|
+
export type { GridProps, GridRowProps } from "./components/grid";
|
|
56
|
+
export type { HeadlineProps, HeadlineSizeProps, HeadlineTypeProps, HeadlineVariant, } from "./components/headline";
|
|
57
|
+
export type { IconProps, IconColor, IconName, IconSize, } from "./components/icon";
|
|
58
|
+
export type { ImageProps } from "./components/image";
|
|
59
|
+
export type { ImageTextProps, ImageTextHeadline, ImageTextAnimatedBorder, ImageTextAnimation, } from "./components/image-text";
|
|
60
|
+
export type { InputProps, InputChangeEvent, InputColor, InputErrorTranslations, InputValidateEvent, } from "./components/input";
|
|
61
|
+
export type { InputOTPProps } from "./components/inputOTP";
|
|
62
|
+
export type { LabelProps } from "./components/label";
|
|
63
|
+
export type { LinkProps, LinkClassNames, LinkClickProps, LinkDefaultProps, LinkHrefProps, LinkVariants, } from "./components/link";
|
|
64
|
+
export type { ListProps, ListCardItemProps, ListCardProps, ListDefaultItemProps, ListDefaultOptions, ListDefaultProps, ListItemProps, ListType, ListVariant, } from "./components/list";
|
|
65
|
+
export type { LoadingProps, LoadingSize } from "./components/loading";
|
|
66
|
+
export type { LottieProps, LottieAnimation } from "./components/lottie";
|
|
67
|
+
export type { MapProps, MapCenter, MapMarker, MapMarkerPosition, } from "./components/map";
|
|
68
|
+
export type { PostItemProps, PostItemAuthorAvatar, PostItemAuthorProps, PostItemHeadline, } from "./components/post-item";
|
|
69
|
+
export type { PostTeaserProps, PostTeaserHeadline, PostTeaserImage, PostTeaserRedirect, } from "./components/post-teaser";
|
|
70
|
+
export type { PostWidgetProps, PostWidgetHeadline, PostWidgetImage, PostWidgetItem, PostWidgetRedirect, } from "./components/post-widget";
|
|
71
|
+
export type { PostWidgetCarouselProps, PostWidgetCarouselHeadline, PostWidgetCarouselImage, PostWidgetCarouselItem, PostWidgetCarouselRedirect, } from "./components/post-widget-carousel";
|
|
72
|
+
export type { QuoteProps, QuoteAuthor, QuoteHeadline } from "./components/quote";
|
|
73
|
+
export type { RichTextProps } from "./components/rich-text";
|
|
74
|
+
export type { SelectProps, SelectChangeEvent, SelectColor, SelectEvent, SelectItem, SelectValueMultiple, SelectValueSingle, } from "./components/select";
|
|
75
|
+
export type { SkeletonProps } from "./components/skeleton";
|
|
76
|
+
export type { SliderProps } from "./components/slider";
|
|
77
|
+
export type { StepperProps, StepperRef, StepperTranslations, } from "./components/stepper";
|
|
78
|
+
export type { SwitchProps, SwitchColor } from "./components/switch";
|
|
79
|
+
export type { TableProps, TableBodyCellProps, TableData, TableHeaderCellProps, TableRowProps, } from "./components/table";
|
|
80
|
+
export type { TeaserProps, TeaserAlign, TeaserAnimation, TeaserHeadline, TeaserImage, TeaserRedirect, TeaserVariant, } from "./components/teaser";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Variants = "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | "white";
|