@stackshift-ui/form 7.0.0-beta.5 → 7.0.0-beta.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/dist/chunk-KLHELBJB.mjs +1 -0
- package/dist/form.d.ts +10 -0
- package/dist/form.js +1 -0
- package/dist/form.mjs +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/dist/types.d.ts +13 -0
- package/dist/types.js +1 -0
- package/package.json +9 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{WebriQForm as a}from"@stackshift-ui/webriq-form";import{jsx as i}from"react/jsx-runtime";var p=({id:o,name:r,thankyouPage:t,className:e,children:m})=>i(a,{method:"POST","data-form-id":o,name:r!=null?r:"Form",className:e,"data-thankyou-url":t,scriptsrc:"https://pagebuilderforms.webriq.com/js/initReactForms",children:m});export{p as a};
|
package/dist/form.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { LabeledRoute } from "./types";
|
|
3
|
+
export type FormProps = {
|
|
4
|
+
className?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
thankyouPage?: LabeledRoute;
|
|
9
|
+
};
|
|
10
|
+
export declare const Form: ({ id, name, thankyouPage, className, children }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/form.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var a=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var l=(o,r)=>{for(var e in r)a(o,e,{get:r[e],enumerable:!0})},F=(o,r,e,m)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of c(r))!d.call(o,t)&&t!==e&&a(o,t,{get:()=>r[t],enumerable:!(m=p(r,t))||m.enumerable});return o};var b=o=>F(a({},"__esModule",{value:!0}),o);var u={};l(u,{Form:()=>n});module.exports=b(u);var i=require("@stackshift-ui/webriq-form"),s=require("react/jsx-runtime"),n=({id:o,name:r,thankyouPage:e,className:m,children:t})=>(0,s.jsx)(i.WebriQForm,{method:"POST","data-form-id":o,name:r!=null?r:"Form",className:m,"data-thankyou-url":e,scriptsrc:"https://pagebuilderforms.webriq.com/js/initReactForms",children:t});0&&(module.exports={Form});
|
package/dist/form.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-KLHELBJB.mjs";export{a as Form};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./form";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";var i=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var l=(o,r)=>{for(var e in r)i(o,e,{get:r[e],enumerable:!0})},n=(o,r,e,m)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of c(r))!d.call(o,t)&&t!==e&&i(o,t,{get:()=>r[t],enumerable:!(m=p(r,t))||m.enumerable});return o};var u=o=>n(i({},"__esModule",{value:!0}),o);var b={};l(b,{Form:()=>F});module.exports=u(b);var s=require("@stackshift-ui/webriq-form"),a=require("react/jsx-runtime"),F=({id:o,name:r,thankyouPage:e,className:m,children:t})=>(0,a.jsx)(s.WebriQForm,{method:"POST","data-form-id":o,name:r!=null?r:"Form",className:m,"data-thankyou-url":e,scriptsrc:"https://pagebuilderforms.webriq.com/js/initReactForms",children:t});0&&(module.exports={Form});
|
package/dist/index.mjs
ADDED
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface LabeledRoute extends ConditionalLink {
|
|
2
|
+
ariaLabel?: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
linkTarget?: string;
|
|
5
|
+
linkType?: string;
|
|
6
|
+
_type?: string;
|
|
7
|
+
linkInternal?: any;
|
|
8
|
+
}
|
|
9
|
+
export interface ConditionalLink {
|
|
10
|
+
type?: string;
|
|
11
|
+
internalLink?: string | null;
|
|
12
|
+
externalLink?: string | null;
|
|
13
|
+
}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var r=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var k=(i,n,l,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of g(n))!s.call(i,t)&&t!==l&&r(i,t,{get:()=>n[t],enumerable:!(e=a(n,t))||e.enumerable});return i};var o=i=>k(r({},"__esModule",{value:!0}),i);var L={};module.exports=o(L);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackshift-ui/form",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.0.0-beta.
|
|
4
|
+
"version": "7.0.0-beta.6",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -29,22 +29,22 @@
|
|
|
29
29
|
"typescript": "^5.6.2",
|
|
30
30
|
"vite-tsconfig-paths": "^5.0.1",
|
|
31
31
|
"vitest": "^2.1.1",
|
|
32
|
-
"@stackshift-ui/
|
|
33
|
-
"@stackshift-ui/
|
|
32
|
+
"@stackshift-ui/eslint-config": "6.0.10",
|
|
33
|
+
"@stackshift-ui/typescript-config": "6.0.10"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@stackshift-ui/
|
|
37
|
-
"@stackshift-ui/webriq-form": "7.0.0-beta.
|
|
38
|
-
"@stackshift-ui/
|
|
36
|
+
"@stackshift-ui/system": "7.0.0-beta.6",
|
|
37
|
+
"@stackshift-ui/webriq-form": "7.0.0-beta.6",
|
|
38
|
+
"@stackshift-ui/scripts": "7.0.0-beta.5"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@types/react": "16.8 - 19",
|
|
42
42
|
"next": "10 - 14",
|
|
43
43
|
"react": "16.8 - 19",
|
|
44
44
|
"react-dom": "16.8 - 19",
|
|
45
|
-
"@stackshift-ui/system": ">=7.0.0-beta.
|
|
46
|
-
"@stackshift-ui/scripts": ">=7.0.0-beta.
|
|
47
|
-
"@stackshift-ui/webriq-form": ">=7.0.0-beta.
|
|
45
|
+
"@stackshift-ui/system": ">=7.0.0-beta.6",
|
|
46
|
+
"@stackshift-ui/scripts": ">=7.0.0-beta.5",
|
|
47
|
+
"@stackshift-ui/webriq-form": ">=7.0.0-beta.6"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"next": {
|