@rxdrag/website-lib-core 0.0.91 → 0.0.93
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdrag/website-lib-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.93",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.ts"
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@types/react-dom": "^19.1.0",
|
|
25
25
|
"eslint": "^7.32.0",
|
|
26
26
|
"typescript": "^5",
|
|
27
|
-
"@rxdrag/tsconfig": "0.2.0",
|
|
28
27
|
"@rxdrag/eslint-config-custom": "0.2.12",
|
|
29
|
-
"@rxdrag/slate-preview": "1.2.61"
|
|
28
|
+
"@rxdrag/slate-preview": "1.2.61",
|
|
29
|
+
"@rxdrag/tsconfig": "0.2.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@iconify/utils": "^3.0.2",
|
|
@@ -22,6 +22,7 @@ export const ContactForm = forwardRef<HTMLDivElement, ContactFormProps>(
|
|
|
22
22
|
fields = [],
|
|
23
23
|
className,
|
|
24
24
|
classNames,
|
|
25
|
+
...rest
|
|
25
26
|
} = props;
|
|
26
27
|
const [formData, setFormData] = useState<QuoteRequest>({
|
|
27
28
|
name: "",
|
|
@@ -182,6 +183,7 @@ export const ContactForm = forwardRef<HTMLDivElement, ContactFormProps>(
|
|
|
182
183
|
"py-4 grid max-w-2xl grid-cols-1 gap-x-6 sm:grid-cols-2 w-full",
|
|
183
184
|
className || "gap-y-6"
|
|
184
185
|
)}
|
|
186
|
+
{...rest}
|
|
185
187
|
>
|
|
186
188
|
{fields.map((field, index) => {
|
|
187
189
|
const {
|
|
@@ -36,6 +36,7 @@ export const ReactVideoPlayer = forwardRef<HTMLDivElement, {
|
|
|
36
36
|
classNames,
|
|
37
37
|
callToAction,
|
|
38
38
|
designMode,
|
|
39
|
+
...rest
|
|
39
40
|
} = props;
|
|
40
41
|
const videoRef = useRef<HTMLVideoElement>(null);
|
|
41
42
|
const hlsRef = useRef<Hls | null>(null);
|
|
@@ -143,6 +144,7 @@ export const ReactVideoPlayer = forwardRef<HTMLDivElement, {
|
|
|
143
144
|
ref={ref}
|
|
144
145
|
className={clsx("relative w-full aspect-video rounded-2xl", classNames?.container)}
|
|
145
146
|
onClick={handleContainerClick}
|
|
147
|
+
{...rest}
|
|
146
148
|
>
|
|
147
149
|
<video
|
|
148
150
|
ref={videoRef}
|