trepur_components 2.3.9 → 2.3.11
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/lib/_virtual/react.js +4 -0
- package/lib/components/Accordion/Accordion.stories.d.ts +47 -0
- package/lib/components/Accordion/const.d.ts +31 -0
- package/lib/components/Accordion/index.d.ts +5 -0
- package/lib/components/Accordion/index.js +9 -0
- package/lib/components/AlertBar/AlertBar.stories.d.ts +25 -0
- package/lib/components/AlertBar/index.d.ts +15 -0
- package/lib/components/AlertBar/index.js +66 -0
- package/lib/components/Avatar/Avatar.stories.d.ts +10 -0
- package/lib/components/Avatar/index.d.ts +3 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +18 -0
- package/lib/components/Breadcrumbs/index.d.ts +15 -0
- package/lib/components/Breadcrumbs/index.js +49 -0
- package/lib/components/Button/Button.stories.d.ts +24 -0
- package/lib/components/Button/index.d.ts +14 -0
- package/lib/components/Button/index.js +43 -0
- package/lib/components/Calendar/Calendar.stories.d.ts +11 -0
- package/lib/components/Calendar/index.d.ts +14 -0
- package/lib/components/Calendar/index.js +49 -0
- package/lib/components/Calendar/style.css.js +1 -0
- package/lib/components/Card/Card.stories.d.ts +11 -0
- package/lib/components/Card/index.d.ts +2 -0
- package/lib/components/Card/index.js +25 -0
- package/lib/components/Carousel/Carousel.stories.d.ts +23 -0
- package/lib/components/Carousel/index.d.ts +70 -0
- package/lib/components/Carousel/index.js +159 -0
- package/lib/components/Carousel/utils.d.ts +1 -0
- package/lib/components/Carousel/utils.js +38 -0
- package/lib/components/CarouselThumbnail/CarouselThumbnail.stories.d.ts +22 -0
- package/lib/components/CarouselThumbnail/const.d.ts +1 -0
- package/lib/components/CarouselThumbnail/const.js +20 -0
- package/lib/components/CarouselThumbnail/index.d.ts +51 -0
- package/lib/components/CarouselThumbnail/index.js +74 -0
- package/lib/components/CarouselThumbnail/utils.d.ts +2 -0
- package/lib/components/CarouselThumbnail/utils.js +65 -0
- package/lib/components/Checkbox/Checkbox.stories.d.ts +17 -0
- package/lib/components/Checkbox/index.d.ts +11 -0
- package/lib/components/Checkbox/index.js +28 -0
- package/lib/components/Collapsible/Collapsible.stories.d.ts +57 -0
- package/lib/components/Collapsible/index.d.ts +19 -0
- package/lib/components/Collapsible/index.js +87 -0
- package/lib/components/Counter/Counter.stories.d.ts +17 -0
- package/lib/components/Counter/index.d.ts +14 -0
- package/lib/components/Counter/index.js +49 -0
- package/lib/components/DetailUpdater/DetailUpdater.stories.d.ts +20 -0
- package/lib/components/DetailUpdater/index.d.ts +18 -0
- package/lib/components/DetailUpdater/index.js +63 -0
- package/lib/components/Dialog/Dialog.stories.d.ts +15 -0
- package/lib/components/Dialog/index.d.ts +12 -0
- package/lib/components/Dialog/index.js +16 -0
- package/lib/components/Dropdown/Dropdown.stories.d.ts +17 -0
- package/lib/components/Dropdown/index.d.ts +13 -0
- package/lib/components/Dropdown/index.js +66 -0
- package/lib/components/Dropdown/utils.d.ts +1 -0
- package/lib/components/Dropdown/utils.js +14 -0
- package/lib/components/FileUploader/FilePreview.d.ts +8 -0
- package/lib/components/FileUploader/FileUploader.stories.d.ts +52 -0
- package/lib/components/FileUploader/index.d.ts +15 -0
- package/lib/components/Footer/Footer.stories.d.ts +19 -0
- package/lib/components/Footer/index.d.ts +16 -0
- package/lib/components/Footer/index.js +36 -0
- package/lib/components/FooterNav/FooterNav.stories.d.ts +22 -0
- package/lib/components/FooterNav/index.d.ts +15 -0
- package/lib/components/FooterNav/index.js +38 -0
- package/lib/components/Form/Form.stories.d.ts +117 -0
- package/lib/components/Form/index.d.ts +13 -0
- package/lib/components/Form/index.js +17 -0
- package/lib/components/Gallery/Gallery.stories.d.ts +16 -0
- package/lib/components/Gallery/index.d.ts +7 -0
- package/lib/components/Greeting/Greeting.stories.d.ts +13 -0
- package/lib/components/Greeting/index.d.ts +7 -0
- package/lib/components/Greeting/index.js +20 -0
- package/lib/components/HamburgerIcon/HamburgerIcon.stories.d.ts +10 -0
- package/lib/components/HamburgerIcon/index.d.ts +2 -0
- package/lib/components/HamburgerIcon/index.js +78 -0
- package/lib/components/Icon/Icon.stories.d.ts +16 -0
- package/lib/components/Icon/index.d.ts +10 -0
- package/lib/components/Icon/index.js +23 -0
- package/lib/components/Image/Image.stories.d.ts +13 -0
- package/lib/components/Image/index.d.ts +5 -0
- package/lib/components/Image/index.js +17 -0
- package/lib/components/ImageCard/ImageCard.stories.d.ts +19 -0
- package/lib/components/ImageCard/index.d.ts +11 -0
- package/lib/components/ImageCard/index.js +32 -0
- package/lib/components/Input/Input.stories.d.ts +22 -0
- package/lib/components/Input/index.d.ts +33 -0
- package/lib/components/Input/index.js +83 -0
- package/lib/components/MenuButton/MenuButton.stories.d.ts +76 -0
- package/lib/components/MenuButton/index.d.ts +14 -0
- package/lib/components/MenuButton/index.js +56 -0
- package/lib/components/Modal/Modal.stories.d.ts +67 -0
- package/lib/components/Modal/index.d.ts +10 -0
- package/lib/components/Modal/index.js +45 -0
- package/lib/components/Nav/Nav.stories.d.ts +31 -0
- package/lib/components/Nav/index.d.ts +20 -0
- package/lib/components/Nav/index.js +81 -0
- package/lib/components/NavItem/NavItem.stories.d.ts +17 -0
- package/lib/components/NavItem/index.d.ts +8 -0
- package/lib/components/NavItem/index.js +31 -0
- package/lib/components/Pill/Pill.stories.d.ts +22 -0
- package/lib/components/Pill/index.d.ts +17 -0
- package/lib/components/Pill/index.js +30 -0
- package/lib/components/Search/Search.stories.d.ts +86 -0
- package/lib/components/Search/index.d.ts +12 -0
- package/lib/components/Search/index.js +42 -0
- package/lib/components/Select/Select.stories.d.ts +56 -0
- package/lib/components/Select/index.d.ts +11 -0
- package/lib/components/Select/index.js +68 -0
- package/lib/components/Showcase/Showcase.stories.d.ts +55 -0
- package/lib/components/Showcase/index.d.ts +15 -0
- package/lib/components/SideNav/SideNav.stories.d.ts +80 -0
- package/lib/components/SideNav/index.d.ts +12 -0
- package/lib/components/SocialButton/SocialButton.stories.d.ts +130 -0
- package/lib/components/SocialButton/index.d.ts +12 -0
- package/lib/components/SplitCard/SplitCard.stories.d.ts +21 -0
- package/lib/components/SplitCard/index.d.ts +14 -0
- package/lib/components/Stars/Star.stories.d.ts +14 -0
- package/lib/components/Stars/index.d.ts +8 -0
- package/lib/components/Stars/index.js +22 -0
- package/lib/components/Testimonial/Testimonial.stories.d.ts +21 -0
- package/lib/components/Testimonial/index.d.ts +13 -0
- package/lib/components/Testimonial/index.js +42 -0
- package/lib/components/TextArea/TextArea.stories.d.ts +21 -0
- package/lib/components/TextArea/index.d.ts +33 -0
- package/lib/components/TextArea/index.js +76 -0
- package/lib/components/Timeline/Timeline.stories.d.ts +21 -0
- package/lib/components/Timeline/index.d.ts +11 -0
- package/lib/components/Timeline/index.js +31 -0
- package/lib/components/Tubestops/Tubestops.stories.d.ts +19 -0
- package/lib/components/Tubestops/index.d.ts +15 -0
- package/lib/components/Tubestops/index.js +77 -0
- package/lib/components/Video/Video.stories.d.ts +23 -0
- package/lib/components/Video/index.d.ts +18 -0
- package/lib/components/Video/index.js +32 -0
- package/{src/components/index.ts → lib/components/index.d.ts} +35 -71
- package/lib/documentation/assets/index.d.ts +3 -0
- package/lib/documentation/typography/Fonts/Fonts.d.ts +2 -0
- package/lib/documentation/typography/Fonts/Fonts.stories.d.ts +10 -0
- package/lib/index.js +72 -0
- package/lib/node_modules/keen-slider/keen-slider.min.css.js +1 -0
- package/lib/node_modules/keen-slider/react.js +591 -0
- package/lib/style.css +1 -0
- package/lib/styles/global.css +19 -0
- package/{src → lib}/styles/themes/local.css +9 -1
- package/lib/styles/themes/penrithmrt.css +101 -0
- package/{tailwind → lib/tailwind}/colors.ts +12 -1
- package/lib/utils/controls.d.ts +36 -0
- package/lib/utils/matchMedia.d.ts +2 -0
- package/lib/utils/screens.d.ts +7 -0
- package/package.json +4 -1
- package/.eslintrc.cjs +0 -72
- package/.husky/pre-commit +0 -4
- package/.prettierignore +0 -10
- package/.prettierrc.json +0 -22
- package/postcss.config.js +0 -8
- package/src/components/Accordion/Accordion.stories.tsx +0 -39
- package/src/components/Accordion/const.tsx +0 -34
- package/src/components/Accordion/index.tsx +0 -22
- package/src/components/AlertBar/AlertBar.stories.tsx +0 -89
- package/src/components/AlertBar/index.tsx +0 -82
- package/src/components/Avatar/Avatar.stories.tsx +0 -14
- package/src/components/Avatar/index.tsx +0 -492
- package/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +0 -29
- package/src/components/Breadcrumbs/index.tsx +0 -89
- package/src/components/Button/Button.stories.tsx +0 -24
- package/src/components/Button/index.tsx +0 -59
- package/src/components/Calendar/Calendar.stories.tsx +0 -21
- package/src/components/Calendar/index.tsx +0 -92
- package/src/components/Calendar/style.css +0 -233
- package/src/components/Card/Card.stories.tsx +0 -14
- package/src/components/Card/index.tsx +0 -39
- package/src/components/Carousel/Carousel.stories.tsx +0 -44
- package/src/components/Carousel/index.tsx +0 -301
- package/src/components/Carousel/utils.ts +0 -53
- package/src/components/CarouselThumbnail/CarouselThumbnail.stories.tsx +0 -29
- package/src/components/CarouselThumbnail/const.ts +0 -17
- package/src/components/CarouselThumbnail/index.tsx +0 -169
- package/src/components/CarouselThumbnail/utils.ts +0 -87
- package/src/components/Checkbox/Checkbox.mdx +0 -33
- package/src/components/Checkbox/Checkbox.stories.tsx +0 -27
- package/src/components/Checkbox/index.tsx +0 -44
- package/src/components/Collapsible/Collapsible.stories.tsx +0 -67
- package/src/components/Collapsible/index.tsx +0 -169
- package/src/components/Counter/Counter.stories.tsx +0 -20
- package/src/components/Counter/index.tsx +0 -98
- package/src/components/DetailUpdater/DetailUpdater.stories.tsx +0 -37
- package/src/components/DetailUpdater/index.tsx +0 -107
- package/src/components/Dialog/Dialog.stories.tsx +0 -65
- package/src/components/Dialog/index.tsx +0 -29
- package/src/components/Dropdown/Dropdown.stories.tsx +0 -22
- package/src/components/Dropdown/index.tsx +0 -117
- package/src/components/Dropdown/utils.ts +0 -15
- package/src/components/FileUploader/FilePreview.tsx +0 -45
- package/src/components/FileUploader/FileUploader.stories.tsx +0 -28
- package/src/components/FileUploader/index.tsx +0 -177
- package/src/components/Footer/Footer.stories.tsx +0 -47
- package/src/components/Footer/index.tsx +0 -96
- package/src/components/FooterNav/FooterNav.stories.tsx +0 -32
- package/src/components/FooterNav/index.tsx +0 -75
- package/src/components/Form/Form.stories.tsx +0 -86
- package/src/components/Form/index.tsx +0 -41
- package/src/components/Gallery/Gallery.stories.tsx +0 -39
- package/src/components/Gallery/index.tsx +0 -31
- package/src/components/Greeting/Greeting.stories.tsx +0 -16
- package/src/components/Greeting/index.tsx +0 -49
- package/src/components/HamburgerIcon/HamburgerIcon.stories.tsx +0 -14
- package/src/components/HamburgerIcon/index.tsx +0 -75
- package/src/components/Icon/Icon.stories.tsx +0 -41
- package/src/components/Icon/index.tsx +0 -33
- package/src/components/Image/Image.stories.tsx +0 -17
- package/src/components/Image/index.tsx +0 -25
- package/src/components/ImageCard/ImageCard.stories.tsx +0 -29
- package/src/components/ImageCard/index.tsx +0 -75
- package/src/components/Input/Input.stories.tsx +0 -25
- package/src/components/Input/index.tsx +0 -139
- package/src/components/MenuButton/MenuButton.stories.tsx +0 -46
- package/src/components/MenuButton/index.tsx +0 -66
- package/src/components/Modal/Modal.stories.tsx +0 -82
- package/src/components/Modal/index.tsx +0 -71
- package/src/components/Nav/Nav.stories.tsx +0 -80
- package/src/components/Nav/index.tsx +0 -171
- package/src/components/NavItem/NavItem.stories.tsx +0 -17
- package/src/components/NavItem/index.tsx +0 -39
- package/src/components/Pill/Pill.stories.tsx +0 -51
- package/src/components/Pill/index.tsx +0 -69
- package/src/components/Search/Search.stories.tsx +0 -63
- package/src/components/Search/index.tsx +0 -64
- package/src/components/Select/Select.stories.tsx +0 -55
- package/src/components/Select/index.tsx +0 -97
- package/src/components/Showcase/Showcase.stories.tsx +0 -31
- package/src/components/Showcase/index.tsx +0 -62
- package/src/components/SideNav/SideNav.stories.tsx +0 -50
- package/src/components/SideNav/index.tsx +0 -39
- package/src/components/SocialButton/SocialButton.stories.tsx +0 -88
- package/src/components/SocialButton/index.tsx +0 -63
- package/src/components/SplitCard/SplitCard.stories.tsx +0 -34
- package/src/components/SplitCard/index.tsx +0 -132
- package/src/components/Stars/Star.stories.tsx +0 -18
- package/src/components/Stars/index.tsx +0 -38
- package/src/components/Testimonial/Testimonial.stories.tsx +0 -37
- package/src/components/Testimonial/index.tsx +0 -123
- package/src/components/TextArea/TextArea.stories.tsx +0 -24
- package/src/components/TextArea/index.tsx +0 -133
- package/src/components/Timeline/Timeline.stories.tsx +0 -45
- package/src/components/Timeline/index.tsx +0 -65
- package/src/components/Tubestops/Tubestops.stories.tsx +0 -22
- package/src/components/Tubestops/index.tsx +0 -132
- package/src/components/Video/Video.stories.tsx +0 -58
- package/src/components/Video/assets/example.mp4 +0 -0
- package/src/components/Video/assets/example.ogv +0 -0
- package/src/components/Video/assets/example.webm +0 -0
- package/src/components/Video/index.tsx +0 -92
- package/src/custom.d.ts +0 -14
- package/src/documentation/Colours.mdx +0 -192
- package/src/documentation/Introduction.mdx +0 -13
- package/src/documentation/assets/index.ts +0 -3
- package/src/documentation/assets/trepurComponentsLogo.svg +0 -32
- package/src/documentation/typography/Fonts/Fonts.stories.tsx +0 -14
- package/src/documentation/typography/Fonts/Fonts.tsx +0 -73
- package/src/fonts/Sora/OFL.txt +0 -93
- package/src/fonts/Sora/README.txt +0 -70
- package/src/fonts/Sora/Sora-VariableFont_wght.ttf +0 -0
- package/src/fonts/Sora/static/Sora-Bold.ttf +0 -0
- package/src/fonts/Sora/static/Sora-ExtraBold.ttf +0 -0
- package/src/fonts/Sora/static/Sora-ExtraLight.ttf +0 -0
- package/src/fonts/Sora/static/Sora-Light.ttf +0 -0
- package/src/fonts/Sora/static/Sora-Medium.ttf +0 -0
- package/src/fonts/Sora/static/Sora-Regular.ttf +0 -0
- package/src/fonts/Sora/static/Sora-SemiBold.ttf +0 -0
- package/src/fonts/Sora/static/Sora-Thin.ttf +0 -0
- package/src/styles/global.css +0 -75
- package/src/styles/themes/test.css +0 -28
- package/src/utils/controls.ts +0 -44
- package/src/utils/matchMedia.ts +0 -9
- package/src/utils/screens.ts +0 -7
- package/tailwind.config.ts +0 -13
- package/tsconfig.json +0 -49
- package/tsconfig.node.json +0 -12
- package/vite.config.mjs +0 -64
- /package/{src/index.ts → lib/index.d.ts} +0 -0
- /package/{tailwind → lib/tailwind}/boxShadow.ts +0 -0
- /package/{tailwind → lib/tailwind}/container.ts +0 -0
- /package/{tailwind → lib/tailwind}/preset.ts +0 -0
- /package/{tailwind → lib/tailwind}/spacing.ts +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TextArea } from '.';
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('.').TextAreaContextProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
7
|
+
Item: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
8
|
+
Label: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
9
|
+
required?: boolean | undefined;
|
|
10
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
11
|
+
Box: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
|
+
Validation: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
|
+
};
|
|
14
|
+
args: {
|
|
15
|
+
placeholder: string;
|
|
16
|
+
children: import("react/jsx-runtime").JSX.Element[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default meta;
|
|
20
|
+
type Story = StoryObj<typeof TextArea>;
|
|
21
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface TextAreaContextProps {
|
|
4
|
+
autoComplete?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
formId?: string;
|
|
7
|
+
height?: string;
|
|
8
|
+
maxLength?: number;
|
|
9
|
+
minLength?: number;
|
|
10
|
+
pattern?: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
readOnly?: boolean;
|
|
13
|
+
label?: string;
|
|
14
|
+
type?: string;
|
|
15
|
+
name?: string;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
withValidation?: boolean;
|
|
18
|
+
onChange?: (e: any) => void;
|
|
19
|
+
onBlur?: () => void;
|
|
20
|
+
onFocus?: () => void;
|
|
21
|
+
onClick?: () => void;
|
|
22
|
+
errors?: string[];
|
|
23
|
+
value?: string;
|
|
24
|
+
}
|
|
25
|
+
declare const TextArea: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & TextAreaContextProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
26
|
+
Item: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
27
|
+
Label: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
28
|
+
required?: boolean | undefined;
|
|
29
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
30
|
+
Box: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
31
|
+
Validation: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
32
|
+
};
|
|
33
|
+
export { TextArea };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { jsx as a, jsxs as f } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as b, forwardRef as n, useMemo as A, useRef as T, useContext as d } from "react";
|
|
3
|
+
const i = b(null), x = n(({ children: o, errors: e, placeholder: t, ...r }, l) => {
|
|
4
|
+
const s = A(
|
|
5
|
+
() => ({
|
|
6
|
+
errors: e,
|
|
7
|
+
placeholder: t,
|
|
8
|
+
...r
|
|
9
|
+
}),
|
|
10
|
+
[e, r]
|
|
11
|
+
);
|
|
12
|
+
return /* @__PURE__ */ a(i.Provider, { value: s, children: /* @__PURE__ */ a("div", { ref: l, children: o }) });
|
|
13
|
+
}), c = n(
|
|
14
|
+
({ children: o, ...e }, t) => {
|
|
15
|
+
const r = T(null);
|
|
16
|
+
return /* @__PURE__ */ a(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
className: "mt-4 w-full cursor-pointer bg-white",
|
|
20
|
+
onClick: () => {
|
|
21
|
+
var l;
|
|
22
|
+
return (l = r.current) == null ? void 0 : l.focus();
|
|
23
|
+
},
|
|
24
|
+
ref: t,
|
|
25
|
+
...e,
|
|
26
|
+
children: o
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
), m = n(({ children: o, required: e = !1 }, t) => /* @__PURE__ */ f(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
ref: t,
|
|
34
|
+
className: "font-regular absolute -mt-3 ml-3 flex rounded-2xl bg-white px-1 text-sm ",
|
|
35
|
+
children: [
|
|
36
|
+
/* @__PURE__ */ a("p", { children: o }),
|
|
37
|
+
e && /* @__PURE__ */ a("p", { className: "font-semiBold text-lg text-error-default", children: " *" })
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
)), u = n(
|
|
41
|
+
({ ...o }) => {
|
|
42
|
+
const { errors: e, placeholder: t } = d(i) || {};
|
|
43
|
+
return /* @__PURE__ */ a(
|
|
44
|
+
"textarea",
|
|
45
|
+
{
|
|
46
|
+
className: "text-ink text-md w-full cursor-pointer rounded-md border border-black bg-white py-2 pl-4",
|
|
47
|
+
placeholder: t
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
), p = n(({ children: o, ...e }, t) => {
|
|
52
|
+
const { errors: r } = d(i) || {};
|
|
53
|
+
return /* @__PURE__ */ a(
|
|
54
|
+
"div",
|
|
55
|
+
{
|
|
56
|
+
ref: t,
|
|
57
|
+
className: "font-regular gap-y-2 text-sm text-error-default",
|
|
58
|
+
...e,
|
|
59
|
+
children: r == null ? void 0 : r.map((l, s) => /* @__PURE__ */ a("p", { children: l }, `error-msg-${s + 1}`))
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
});
|
|
63
|
+
x.displayName = "TextArea";
|
|
64
|
+
c.displayName = "TextArea.Item";
|
|
65
|
+
m.displayName = "TextArea.Label";
|
|
66
|
+
u.displayName = "TextArea.Box";
|
|
67
|
+
p.displayName = "TextArea.Validation";
|
|
68
|
+
const g = Object.assign(x, {
|
|
69
|
+
Item: c,
|
|
70
|
+
Label: m,
|
|
71
|
+
Box: u,
|
|
72
|
+
Validation: p
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
g as TextArea
|
|
76
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Timeline } from '.';
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
|
|
7
|
+
Item: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
8
|
+
Dot: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
9
|
+
index: number;
|
|
10
|
+
length: number;
|
|
11
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
|
+
Content: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
|
+
};
|
|
14
|
+
parameters: {};
|
|
15
|
+
args: {
|
|
16
|
+
children: import("react/jsx-runtime").JSX.Element[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default meta;
|
|
20
|
+
type Story = StoryObj<typeof Timeline>;
|
|
21
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
declare const Timeline: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>> & {
|
|
4
|
+
Item: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
Dot: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
6
|
+
index: number;
|
|
7
|
+
length: number;
|
|
8
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
9
|
+
Content: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
|
+
};
|
|
11
|
+
export { Timeline };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as n, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as t } from "react";
|
|
3
|
+
import l from "clsx";
|
|
4
|
+
const o = t(({ id: e, className: m, children: i }, d) => /* @__PURE__ */ n("div", { ref: d, id: e, className: m, children: i })), r = t(
|
|
5
|
+
({ id: e, children: m }, i) => /* @__PURE__ */ n("div", { ref: i, id: e, className: "flex", children: m })
|
|
6
|
+
), s = t(({ className: e, index: m, length: i }) => /* @__PURE__ */ c("div", { className: "hidden sm:block", children: [
|
|
7
|
+
/* @__PURE__ */ n(
|
|
8
|
+
"p",
|
|
9
|
+
{
|
|
10
|
+
className: l("z-10 m-auto mt-12 h-4 w-4 rounded-full", e)
|
|
11
|
+
}
|
|
12
|
+
),
|
|
13
|
+
/* @__PURE__ */ n(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
className: m !== i - 1 ? l("m-auto h-full w-1", e) : "border-r-2 border-transparent"
|
|
17
|
+
}
|
|
18
|
+
)
|
|
19
|
+
] })), a = t(({ children: e }) => /* @__PURE__ */ n("div", { className: "my-2 w-full sm:ml-8", children: e }));
|
|
20
|
+
o.displayName = "Timeline";
|
|
21
|
+
r.displayName = "Timeline.Item";
|
|
22
|
+
s.displayName = "Timeline.Dot";
|
|
23
|
+
a.displayName = "Timeline.Content";
|
|
24
|
+
const T = Object.assign(o, {
|
|
25
|
+
Item: r,
|
|
26
|
+
Dot: s,
|
|
27
|
+
Content: a
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
T as Timeline
|
|
31
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Tubestops } from '.';
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('.').TubestopsContextProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
7
|
+
Stop: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
|
|
8
|
+
stopId: number;
|
|
9
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
|
+
Text: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
|
|
11
|
+
};
|
|
12
|
+
args: {
|
|
13
|
+
activeStop: number;
|
|
14
|
+
children: import("react/jsx-runtime").JSX.Element[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof Tubestops>;
|
|
19
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface TubestopsContextProps {
|
|
4
|
+
stops?: number;
|
|
5
|
+
activeStop?: number;
|
|
6
|
+
currentStop?: number;
|
|
7
|
+
setCurrentStop?: (stop: number) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const Tubestops: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & TubestopsContextProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
10
|
+
Stop: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
11
|
+
stopId: number;
|
|
12
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
|
+
Text: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & import('react').RefAttributes<HTMLParagraphElement>>;
|
|
14
|
+
};
|
|
15
|
+
export { Tubestops };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as b, forwardRef as m, useState as x, Children as C, useMemo as f, useContext as c } from "react";
|
|
3
|
+
import l from "clsx";
|
|
4
|
+
const i = b(null), v = b(
|
|
5
|
+
null
|
|
6
|
+
), T = m(({ className: n, children: t, activeStop: r = 0 }, s) => {
|
|
7
|
+
const [e, o] = x(r), a = C.count(t), p = f(
|
|
8
|
+
() => ({
|
|
9
|
+
stops: a ?? 0,
|
|
10
|
+
currentStop: e,
|
|
11
|
+
setCurrentStop: o
|
|
12
|
+
}),
|
|
13
|
+
[e, o]
|
|
14
|
+
);
|
|
15
|
+
return /* @__PURE__ */ u(i.Provider, { value: p, children: /* @__PURE__ */ u("div", { ref: s, className: l("flex py-4", n), children: t }) });
|
|
16
|
+
}), N = m(({ className: n, stopId: t = 0, children: r }, s) => {
|
|
17
|
+
const { currentStop: e = 0, stops: o = 0 } = c(i) || {}, [a] = x(t), p = f(
|
|
18
|
+
() => ({
|
|
19
|
+
stopNumber: a
|
|
20
|
+
}),
|
|
21
|
+
[a]
|
|
22
|
+
);
|
|
23
|
+
return /* @__PURE__ */ u(v.Provider, { value: p, children: /* @__PURE__ */ d("div", { ref: s, className: l(n, "w-full min-w-[120px]"), children: [
|
|
24
|
+
/* @__PURE__ */ u(
|
|
25
|
+
"div",
|
|
26
|
+
{
|
|
27
|
+
className: l({
|
|
28
|
+
"mt-4 h-1 w-full translate-x-1/2 bg-tubestop-line-future": t >= e && t < o,
|
|
29
|
+
"mt-4 h-1 w-full translate-x-1/2 bg-tubestop-line-complete": t < e && t < o
|
|
30
|
+
})
|
|
31
|
+
}
|
|
32
|
+
),
|
|
33
|
+
/* @__PURE__ */ u(
|
|
34
|
+
"p",
|
|
35
|
+
{
|
|
36
|
+
className: l(
|
|
37
|
+
{
|
|
38
|
+
"relative z-20 -mt-4 bg-tubestop-station-complete": t < e,
|
|
39
|
+
"relative z-20 -mt-4 bg-tubestop-station-active": e === t,
|
|
40
|
+
"relative z-20 -mt-4 bg-tubestop-station-future": t > e,
|
|
41
|
+
"mt-1": t === o
|
|
42
|
+
},
|
|
43
|
+
"z-10 mx-auto h-6 w-6 rounded-full"
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
r
|
|
48
|
+
] }) });
|
|
49
|
+
}), S = m(({ className: n, children: t }, r) => {
|
|
50
|
+
const { currentStop: s = 0 } = c(i) || {}, { stopNumber: e = 0 } = c(v) || {};
|
|
51
|
+
return /* @__PURE__ */ u(
|
|
52
|
+
"p",
|
|
53
|
+
{
|
|
54
|
+
ref: r,
|
|
55
|
+
className: l(
|
|
56
|
+
"mt-2 text-center",
|
|
57
|
+
{
|
|
58
|
+
"font-medium text-tubestop-text-complete": e < s,
|
|
59
|
+
"font-bold text-tubestop-text-active": s === e,
|
|
60
|
+
"font-medium text-tubestop-text-future": e > s
|
|
61
|
+
},
|
|
62
|
+
n
|
|
63
|
+
),
|
|
64
|
+
children: t
|
|
65
|
+
}
|
|
66
|
+
);
|
|
67
|
+
});
|
|
68
|
+
T.displayName = "Tubestop";
|
|
69
|
+
N.displayName = "Tubestops.Stop";
|
|
70
|
+
S.displayName = "Tubestops.Text";
|
|
71
|
+
const y = Object.assign(T, {
|
|
72
|
+
Stop: N,
|
|
73
|
+
Text: S
|
|
74
|
+
});
|
|
75
|
+
export {
|
|
76
|
+
y as Tubestops
|
|
77
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Video } from './';
|
|
3
|
+
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLVideoElement> & import('./').VideoProps & import('react').RefAttributes<HTMLVideoElement>> & {
|
|
7
|
+
File: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLSourceElement> & {
|
|
8
|
+
src: string;
|
|
9
|
+
type: "video/mp4" | "video/webm" | "video/ogv";
|
|
10
|
+
} & import('react').RefAttributes<HTMLSourceElement>>;
|
|
11
|
+
};
|
|
12
|
+
args: {
|
|
13
|
+
children: import("react/jsx-runtime").JSX.Element[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof Video>;
|
|
18
|
+
export declare const Default: Story;
|
|
19
|
+
export declare const Mp4: Story;
|
|
20
|
+
export declare const withControls: Story;
|
|
21
|
+
export declare const Muted: Story;
|
|
22
|
+
export declare const autoPlay: Story;
|
|
23
|
+
export declare const withPoster: Story;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface VideoProps {
|
|
4
|
+
autoPlay?: boolean;
|
|
5
|
+
muted?: boolean;
|
|
6
|
+
poster?: string;
|
|
7
|
+
mp4File?: string;
|
|
8
|
+
webmFile?: string;
|
|
9
|
+
withControls?: boolean;
|
|
10
|
+
withPoster?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const Video: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLVideoElement> & VideoProps & import('react').RefAttributes<HTMLVideoElement>> & {
|
|
13
|
+
File: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLSourceElement> & {
|
|
14
|
+
src: string;
|
|
15
|
+
type: 'video/mp4' | 'video/webm' | 'video/ogv';
|
|
16
|
+
} & import('react').RefAttributes<HTMLSourceElement>>;
|
|
17
|
+
};
|
|
18
|
+
export { Video };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as r } from "react";
|
|
3
|
+
const a = r(
|
|
4
|
+
({
|
|
5
|
+
children: e,
|
|
6
|
+
poster: o,
|
|
7
|
+
withControls: s = !1,
|
|
8
|
+
autoPlay: i = !1,
|
|
9
|
+
muted: d = !1,
|
|
10
|
+
...f
|
|
11
|
+
}, m) => /* @__PURE__ */ l(
|
|
12
|
+
"video",
|
|
13
|
+
{
|
|
14
|
+
className: "h-full w-full max-w-[800px]",
|
|
15
|
+
ref: m,
|
|
16
|
+
poster: o,
|
|
17
|
+
controls: s,
|
|
18
|
+
autoPlay: i,
|
|
19
|
+
muted: d,
|
|
20
|
+
...f,
|
|
21
|
+
children: e
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
), t = r(({ src: e, type: o, ...s }, i) => /* @__PURE__ */ l("source", { ref: i, src: e, type: o, ...s }));
|
|
25
|
+
a.displayName = "Video";
|
|
26
|
+
t.displayName = "Video.File";
|
|
27
|
+
const p = Object.assign(a, {
|
|
28
|
+
File: t
|
|
29
|
+
});
|
|
30
|
+
export {
|
|
31
|
+
p as Video
|
|
32
|
+
};
|
|
@@ -1,73 +1,37 @@
|
|
|
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 { MenuButton } from './MenuButton';
|
|
24
|
-
import { Modal } from './Modal';
|
|
25
|
-
import { Nav } from './Nav';
|
|
26
|
-
import { NavItem } from './NavItem';
|
|
27
|
-
import { Pill } from './Pill';
|
|
28
|
-
import { Search } from './Search';
|
|
29
|
-
import { Select } from './Select';
|
|
30
|
-
import { Stars } from './Stars';
|
|
31
|
-
import { Testimonial } from './Testimonial';
|
|
32
|
-
import { TextArea } from './TextArea';
|
|
33
|
-
import { Timeline } from './Timeline';
|
|
34
|
-
import { Tubestops } from './Tubestops';
|
|
35
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 { Select } from './Select';
|
|
8
|
+
import { Search } from './Search';
|
|
9
|
+
import { Pill } from './Pill';
|
|
10
|
+
import { NavItem } from './NavItem';
|
|
11
|
+
import { Nav } from './Nav';
|
|
12
|
+
import { Modal } from './Modal';
|
|
13
|
+
import { MenuButton } from './MenuButton';
|
|
14
|
+
import { Input } from './Input';
|
|
15
|
+
import { ImageCard } from './ImageCard';
|
|
16
|
+
import { Image } from './Image';
|
|
17
|
+
import { Icon } from './Icon';
|
|
18
|
+
import { Greeting } from './Greeting';
|
|
19
|
+
import { Form } from './Form';
|
|
20
|
+
import { FooterNav } from './FooterNav';
|
|
21
|
+
import { Footer } from './Footer';
|
|
22
|
+
import { Dropdown } from './Dropdown';
|
|
23
|
+
import { Dialog } from './Dialog';
|
|
24
|
+
import { DetailUpdater } from './DetailUpdater';
|
|
25
|
+
import { Counter } from './Counter';
|
|
26
|
+
import { Collapsible } from './Collapsible';
|
|
27
|
+
import { Checkbox } from './Checkbox';
|
|
28
|
+
import { CarouselThumbnail } from './CarouselThumbnail';
|
|
29
|
+
import { Carousel } from './Carousel';
|
|
30
|
+
import { Card } from './Card';
|
|
31
|
+
import { CalendarComponent } from './Calendar';
|
|
32
|
+
import { Button } from './Button';
|
|
33
|
+
import { Breadcrumbs } from './Breadcrumbs';
|
|
34
|
+
import { AlertBar } from './AlertBar';
|
|
35
|
+
import { Accordion } from './Accordion';
|
|
36
36
|
|
|
37
|
-
export {
|
|
38
|
-
Accordion,
|
|
39
|
-
AlertBar,
|
|
40
|
-
Breadcrumbs,
|
|
41
|
-
Button,
|
|
42
|
-
CalendarComponent,
|
|
43
|
-
Card,
|
|
44
|
-
Checkbox,
|
|
45
|
-
Carousel,
|
|
46
|
-
CarouselThumbnail,
|
|
47
|
-
Collapsible,
|
|
48
|
-
Counter,
|
|
49
|
-
DetailUpdater,
|
|
50
|
-
Dialog,
|
|
51
|
-
Dropdown,
|
|
52
|
-
Form,
|
|
53
|
-
Footer,
|
|
54
|
-
FooterNav,
|
|
55
|
-
Greeting,
|
|
56
|
-
Icon,
|
|
57
|
-
Image,
|
|
58
|
-
ImageCard,
|
|
59
|
-
Input,
|
|
60
|
-
MenuButton,
|
|
61
|
-
Modal,
|
|
62
|
-
Nav,
|
|
63
|
-
NavItem,
|
|
64
|
-
Pill,
|
|
65
|
-
Search,
|
|
66
|
-
Select,
|
|
67
|
-
Stars,
|
|
68
|
-
Testimonial,
|
|
69
|
-
TextArea,
|
|
70
|
-
Timeline,
|
|
71
|
-
Tubestops,
|
|
72
|
-
Video,
|
|
73
|
-
};
|
|
37
|
+
export { Accordion, AlertBar, Breadcrumbs, Button, CalendarComponent, Card, Checkbox, Carousel, CarouselThumbnail, Collapsible, Counter, DetailUpdater, Dialog, Dropdown, Form, Footer, FooterNav, Greeting, Icon, Image, ImageCard, Input, MenuButton, Modal, Nav, NavItem, Pill, Search, Select, Stars, Testimonial, TextArea, Timeline, Tubestops, Video, };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Fonts } from './Fonts';
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
};
|
|
8
|
+
export default meta;
|
|
9
|
+
type Story = StoryObj<typeof Fonts>;
|
|
10
|
+
export declare const Default: Story;
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Accordion as e } from "./components/Accordion/index.js";
|
|
2
|
+
import { AlertBar as m } from "./components/AlertBar/index.js";
|
|
3
|
+
import { Breadcrumbs as x } from "./components/Breadcrumbs/index.js";
|
|
4
|
+
import { Button as a } from "./components/Button/index.js";
|
|
5
|
+
import { CalendarComponent as n } from "./components/Calendar/index.js";
|
|
6
|
+
import { Card as u } from "./components/Card/index.js";
|
|
7
|
+
import { Checkbox as C } from "./components/Checkbox/index.js";
|
|
8
|
+
import { Carousel as c } from "./components/Carousel/index.js";
|
|
9
|
+
import { CarouselThumbnail as I } from "./components/CarouselThumbnail/index.js";
|
|
10
|
+
import { Collapsible as g } from "./components/Collapsible/index.js";
|
|
11
|
+
import { Counter as h } from "./components/Counter/index.js";
|
|
12
|
+
import { DetailUpdater as A } from "./components/DetailUpdater/index.js";
|
|
13
|
+
import { Dialog as F } from "./components/Dialog/index.js";
|
|
14
|
+
import { Dropdown as S } from "./components/Dropdown/index.js";
|
|
15
|
+
import { Form as k } from "./components/Form/index.js";
|
|
16
|
+
import { Footer as G } from "./components/Footer/index.js";
|
|
17
|
+
import { FooterNav as U } from "./components/FooterNav/index.js";
|
|
18
|
+
import { Greeting as j } from "./components/Greeting/index.js";
|
|
19
|
+
import { Icon as y } from "./components/Icon/index.js";
|
|
20
|
+
import { Image as E } from "./components/Image/index.js";
|
|
21
|
+
import { ImageCard as J } from "./components/ImageCard/index.js";
|
|
22
|
+
import { Input as L } from "./components/Input/index.js";
|
|
23
|
+
import { MenuButton as Q } from "./components/MenuButton/index.js";
|
|
24
|
+
import { Modal as W } from "./components/Modal/index.js";
|
|
25
|
+
import { Nav as Y } from "./components/Nav/index.js";
|
|
26
|
+
import { NavItem as _ } from "./components/NavItem/index.js";
|
|
27
|
+
import { Pill as oo } from "./components/Pill/index.js";
|
|
28
|
+
import { Search as eo } from "./components/Search/index.js";
|
|
29
|
+
import { Select as mo } from "./components/Select/index.js";
|
|
30
|
+
import { Stars as xo } from "./components/Stars/index.js";
|
|
31
|
+
import { Testimonial as ao } from "./components/Testimonial/index.js";
|
|
32
|
+
import { TextArea as no } from "./components/TextArea/index.js";
|
|
33
|
+
import { Timeline as uo } from "./components/Timeline/index.js";
|
|
34
|
+
import { Tubestops as so } from "./components/Tubestops/index.js";
|
|
35
|
+
import { Video as bo } from "./components/Video/index.js";
|
|
36
|
+
export {
|
|
37
|
+
e as Accordion,
|
|
38
|
+
m as AlertBar,
|
|
39
|
+
x as Breadcrumbs,
|
|
40
|
+
a as Button,
|
|
41
|
+
n as CalendarComponent,
|
|
42
|
+
u as Card,
|
|
43
|
+
c as Carousel,
|
|
44
|
+
I as CarouselThumbnail,
|
|
45
|
+
C as Checkbox,
|
|
46
|
+
g as Collapsible,
|
|
47
|
+
h as Counter,
|
|
48
|
+
A as DetailUpdater,
|
|
49
|
+
F as Dialog,
|
|
50
|
+
S as Dropdown,
|
|
51
|
+
G as Footer,
|
|
52
|
+
U as FooterNav,
|
|
53
|
+
k as Form,
|
|
54
|
+
j as Greeting,
|
|
55
|
+
y as Icon,
|
|
56
|
+
E as Image,
|
|
57
|
+
J as ImageCard,
|
|
58
|
+
L as Input,
|
|
59
|
+
Q as MenuButton,
|
|
60
|
+
W as Modal,
|
|
61
|
+
Y as Nav,
|
|
62
|
+
_ as NavItem,
|
|
63
|
+
oo as Pill,
|
|
64
|
+
eo as Search,
|
|
65
|
+
mo as Select,
|
|
66
|
+
xo as Stars,
|
|
67
|
+
ao as Testimonial,
|
|
68
|
+
no as TextArea,
|
|
69
|
+
uo as Timeline,
|
|
70
|
+
so as Tubestops,
|
|
71
|
+
bo as Video
|
|
72
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|