@rxdrag/website-lib-react 0.0.1
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/dist/components/Analytics/eventHandlers.d.ts +8 -0
- package/dist/components/Analytics/index.d.ts +3 -0
- package/dist/components/Analytics/singleton.d.ts +18 -0
- package/dist/components/Analytics/tracking.d.ts +11 -0
- package/dist/components/Analytics/types.d.ts +54 -0
- package/dist/components/Analytics/utils.d.ts +10 -0
- package/dist/components/AttachmentIcon/index.d.ts +5 -0
- package/dist/components/BackgroundHlsVideoPlayer.d.ts +3 -0
- package/dist/components/BackgroundVideoPlayer.d.ts +3 -0
- package/dist/components/Bulletin.d.ts +3 -0
- package/dist/components/ContactForm/ContactForm.d.ts +3 -0
- package/dist/components/ContactForm/FileUpload2.d.ts +24 -0
- package/dist/components/ContactForm/Input.d.ts +14 -0
- package/dist/components/ContactForm/Input2.d.ts +6 -0
- package/dist/components/ContactForm/Submit.d.ts +11 -0
- package/dist/components/ContactForm/TelInput.d.ts +14 -0
- package/dist/components/ContactForm/TelInput2.d.ts +15 -0
- package/dist/components/ContactForm/Textarea.d.ts +14 -0
- package/dist/components/ContactForm/Textarea2.d.ts +6 -0
- package/dist/components/ContactForm/countryDialCodes.d.ts +7 -0
- package/dist/components/ContactForm/factory.d.ts +28 -0
- package/dist/components/ContactForm/funcs.d.ts +14 -0
- package/dist/components/ContactForm/hooks/useInlineLabelPadding.d.ts +9 -0
- package/dist/components/ContactForm/hooks/useTelControl.d.ts +18 -0
- package/dist/components/ContactForm/index.d.ts +7 -0
- package/dist/components/ContactForm/types.d.ts +58 -0
- package/dist/components/Icon/index.d.ts +6 -0
- package/dist/components/Medias/MainMedia.d.ts +17 -0
- package/dist/components/Medias/Thumbnail.d.ts +12 -0
- package/dist/components/Medias/VideoPlayer.d.ts +7 -0
- package/dist/components/Medias/index.d.ts +23 -0
- package/dist/components/ProductCard/ProductCard.d.ts +17 -0
- package/dist/components/ProductCard/ProductCta/index.d.ts +8 -0
- package/dist/components/ProductCard/ProductDescription/index.d.ts +3 -0
- package/dist/components/ProductCard/ProductMedia/index.d.ts +8 -0
- package/dist/components/ProductCard/ProductTitle/index.d.ts +3 -0
- package/dist/components/ProductCard/ProductView.d.ts +7 -0
- package/dist/components/ProductCard/index.d.ts +5 -0
- package/dist/components/ProductCard/useQueryProduct.d.ts +3 -0
- package/dist/components/ReactModalTrigger.d.ts +8 -0
- package/dist/components/ReactVideoPlayer.d.ts +30 -0
- package/dist/components/RichTextOutline/index.d.ts +8 -0
- package/dist/components/RichTextOutline/useAcitviedHeading.d.ts +1 -0
- package/dist/components/RichTextOutline/useAnchorScroll.d.ts +2 -0
- package/dist/components/Scroller.d.ts +5 -0
- package/dist/components/SearchInput.d.ts +2 -0
- package/dist/components/Share/index.d.ts +10 -0
- package/dist/components/Share/socials.d.ts +12 -0
- package/dist/components/ToTop.d.ts +6 -0
- package/dist/components/VideoPlayIcon.d.ts +8 -0
- package/dist/components/all.d.ts +40 -0
- package/dist/components/index.d.ts +17 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +3954 -0
- package/dist/index.mjs.map +1 -0
- package/dist/style.css +17 -0
- package/dist/types/view-model.d.ts +35 -0
- package/package.json +40 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface IconListType {
|
|
4
|
+
[key: string]: {
|
|
5
|
+
title: string;
|
|
6
|
+
path: React.ReactElement;
|
|
7
|
+
url: (l: string, t?: string, ti?: string) => string;
|
|
8
|
+
color: string;
|
|
9
|
+
viewBox?: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare const iconList: IconListType;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type ToTopProps = {
|
|
2
|
+
className?: string;
|
|
3
|
+
svg?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const topIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const ToTop: import('react').ForwardRefExoticComponent<ToTopProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Analytics } from './Analytics';
|
|
2
|
+
import { BackgroundHlsVideoPlayer } from './BackgroundHlsVideoPlayer';
|
|
3
|
+
import { BackgroundVideoPlayer } from './BackgroundVideoPlayer';
|
|
4
|
+
import { Bulletin } from './Bulletin';
|
|
5
|
+
import { ProductCta, ProductDescription, ProductMedia, ProductTitle } from './ProductCard';
|
|
6
|
+
import { ReactModalTrigger } from './ReactModalTrigger';
|
|
7
|
+
import { Scroller } from './Scroller';
|
|
8
|
+
|
|
9
|
+
export declare const allCoreComponents: {
|
|
10
|
+
Analytics: typeof Analytics;
|
|
11
|
+
AttachmentIcon: import('react').ForwardRefExoticComponent<import('./AttachmentIcon').AttachmentIconProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
|
+
BackgroundHlsVideoPlayer: typeof BackgroundHlsVideoPlayer;
|
|
13
|
+
BackgroundVideoPlayer: typeof BackgroundVideoPlayer;
|
|
14
|
+
Bulletin: typeof Bulletin;
|
|
15
|
+
ContactForm: import('react').ForwardRefExoticComponent<import('./ContactForm').ContactFormProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
16
|
+
Icon: import('react').ForwardRefExoticComponent<Omit<import('./Icon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
17
|
+
Medias: import('react').ForwardRefExoticComponent<import('./Medias').MediasProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
18
|
+
ProductCard: ({ node }: import('./ProductCard').ProductCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
ProductCta: typeof ProductCta;
|
|
20
|
+
ProductDescription: typeof ProductDescription;
|
|
21
|
+
ProductMedia: typeof ProductMedia;
|
|
22
|
+
ProductTitle: typeof ProductTitle;
|
|
23
|
+
ReactModalTrigger: typeof ReactModalTrigger;
|
|
24
|
+
ReactVideoPlayer: import('react').ForwardRefExoticComponent<{
|
|
25
|
+
endTitle?: string;
|
|
26
|
+
media?: import('@rxdrag/rxcms-models').Media;
|
|
27
|
+
posterUrl?: string;
|
|
28
|
+
eagerLoad?: boolean;
|
|
29
|
+
classNames?: import('./ReactVideoPlayer').VideoPlayerClassNames;
|
|
30
|
+
callToAction?: string;
|
|
31
|
+
onToggleSelect?: (id: import('./ReactVideoPlayer').ID) => void;
|
|
32
|
+
designMode?: boolean;
|
|
33
|
+
children?: React.ReactNode;
|
|
34
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
35
|
+
RichTextOutline: import('react').ForwardRefExoticComponent<import('./RichTextOutline').RichTextOutlineProps & import('react').RefAttributes<HTMLUListElement>>;
|
|
36
|
+
Scroller: typeof Scroller;
|
|
37
|
+
SearchInput: import('react').ForwardRefExoticComponent<import('./SearchInput').SearchProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
38
|
+
Share: import('react').ForwardRefExoticComponent<import('./Share').ShareProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
39
|
+
ToTop: import('react').ForwardRefExoticComponent<import('./ToTop').ToTopProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
40
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from './Analytics';
|
|
2
|
+
export * from './AttachmentIcon';
|
|
3
|
+
export * from './ContactForm';
|
|
4
|
+
export * from './Icon';
|
|
5
|
+
export * from './Medias';
|
|
6
|
+
export * from './ProductCard';
|
|
7
|
+
export * from './RichTextOutline';
|
|
8
|
+
export * from './Share';
|
|
9
|
+
export * from './Scroller';
|
|
10
|
+
export * from './SearchInput';
|
|
11
|
+
export * from './ToTop';
|
|
12
|
+
export * from './BackgroundVideoPlayer';
|
|
13
|
+
export * from './BackgroundHlsVideoPlayer';
|
|
14
|
+
export * from './Bulletin';
|
|
15
|
+
export * from './ReactModalTrigger';
|
|
16
|
+
export * from './ReactVideoPlayer';
|
|
17
|
+
export * from './all';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|