@sikka/hawa 0.33.0-next → 0.34.0-next
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/blocks/index.d.mts +5 -0
- package/dist/blocks/index.d.ts +5 -0
- package/dist/blocks/index.js +4 -3
- package/dist/blocks/index.mjs +4 -3
- package/dist/blocks/misc/index.d.mts +5 -0
- package/dist/blocks/misc/index.d.ts +5 -0
- package/dist/blocks/misc/index.js +4 -3
- package/dist/blocks/misc/index.mjs +4 -3
- package/dist/index.css +3 -0
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +4 -3
- package/dist/index.mjs +4 -3
- package/package.json +1 -1
package/dist/blocks/index.d.mts
CHANGED
@@ -411,11 +411,16 @@ type ContactFormProps = {
|
|
411
411
|
size?: "sm" | "default";
|
412
412
|
onSubmit: (e: ContactFormData) => void;
|
413
413
|
customFields?: CustomField[];
|
414
|
+
showSuccess?: boolean;
|
414
415
|
texts?: {
|
415
416
|
submit: string;
|
416
417
|
name: TextInputType;
|
417
418
|
email: TextInputType;
|
418
419
|
message: TextInputType;
|
420
|
+
success?: {
|
421
|
+
title?: string;
|
422
|
+
description?: string;
|
423
|
+
};
|
419
424
|
};
|
420
425
|
};
|
421
426
|
declare const ContactForm: React__default.FC<ContactFormProps>;
|
package/dist/blocks/index.d.ts
CHANGED
@@ -411,11 +411,16 @@ type ContactFormProps = {
|
|
411
411
|
size?: "sm" | "default";
|
412
412
|
onSubmit: (e: ContactFormData) => void;
|
413
413
|
customFields?: CustomField[];
|
414
|
+
showSuccess?: boolean;
|
414
415
|
texts?: {
|
415
416
|
submit: string;
|
416
417
|
name: TextInputType;
|
417
418
|
email: TextInputType;
|
418
419
|
message: TextInputType;
|
420
|
+
success?: {
|
421
|
+
title?: string;
|
422
|
+
description?: string;
|
423
|
+
};
|
419
424
|
};
|
420
425
|
};
|
421
426
|
declare const ContactForm: React__default.FC<ContactFormProps>;
|
package/dist/blocks/index.js
CHANGED
@@ -6148,9 +6148,10 @@ var ContactForm = ({
|
|
6148
6148
|
formId,
|
6149
6149
|
formAutoComplete = "off",
|
6150
6150
|
onSubmit,
|
6151
|
-
customFields
|
6151
|
+
customFields,
|
6152
|
+
...props
|
6152
6153
|
}) => {
|
6153
|
-
var _a, _b, _c;
|
6154
|
+
var _a, _b, _c, _d, _e;
|
6154
6155
|
const customFieldsSchema = z8.object({
|
6155
6156
|
...customFields == null ? void 0 : customFields.reduce(
|
6156
6157
|
(acc, curr) => {
|
@@ -6218,7 +6219,7 @@ var ContactForm = ({
|
|
6218
6219
|
),
|
6219
6220
|
style: cardless ? { boxShadow: "none" } : void 0
|
6220
6221
|
},
|
6221
|
-
/* @__PURE__ */ import_react52.default.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, /* @__PURE__ */ import_react52.default.createElement(
|
6222
|
+
/* @__PURE__ */ import_react52.default.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, props.showSuccess ? /* @__PURE__ */ import_react52.default.createElement(CardHeader, null, /* @__PURE__ */ import_react52.default.createElement(CardTitle, null, ((_d = texts == null ? void 0 : texts.success) == null ? void 0 : _d.title) || "Message Sent! \u{1F389}"), /* @__PURE__ */ import_react52.default.createElement(CardDescription, null, ((_e = texts == null ? void 0 : texts.success) == null ? void 0 : _e.description) || "Thank you for your submission, we will get back to you as soon as possible.")) : /* @__PURE__ */ import_react52.default.createElement(
|
6222
6223
|
"form",
|
6223
6224
|
{
|
6224
6225
|
noValidate: true,
|
package/dist/blocks/index.mjs
CHANGED
@@ -1850,9 +1850,10 @@ var ContactForm = ({
|
|
1850
1850
|
formId,
|
1851
1851
|
formAutoComplete = "off",
|
1852
1852
|
onSubmit,
|
1853
|
-
customFields
|
1853
|
+
customFields,
|
1854
|
+
...props
|
1854
1855
|
}) => {
|
1855
|
-
var _a, _b, _c;
|
1856
|
+
var _a, _b, _c, _d, _e;
|
1856
1857
|
const customFieldsSchema = z8.object({
|
1857
1858
|
...customFields == null ? void 0 : customFields.reduce(
|
1858
1859
|
(acc, curr) => {
|
@@ -1920,7 +1921,7 @@ var ContactForm = ({
|
|
1920
1921
|
),
|
1921
1922
|
style: cardless ? { boxShadow: "none" } : void 0
|
1922
1923
|
},
|
1923
|
-
/* @__PURE__ */ React20.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, /* @__PURE__ */ React20.createElement(
|
1924
|
+
/* @__PURE__ */ React20.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, props.showSuccess ? /* @__PURE__ */ React20.createElement(CardHeader, null, /* @__PURE__ */ React20.createElement(CardTitle, null, ((_d = texts == null ? void 0 : texts.success) == null ? void 0 : _d.title) || "Message Sent! \u{1F389}"), /* @__PURE__ */ React20.createElement(CardDescription, null, ((_e = texts == null ? void 0 : texts.success) == null ? void 0 : _e.description) || "Thank you for your submission, we will get back to you as soon as possible.")) : /* @__PURE__ */ React20.createElement(
|
1924
1925
|
"form",
|
1925
1926
|
{
|
1926
1927
|
noValidate: true,
|
@@ -88,11 +88,16 @@ type ContactFormProps = {
|
|
88
88
|
size?: "sm" | "default";
|
89
89
|
onSubmit: (e: ContactFormData) => void;
|
90
90
|
customFields?: CustomField[];
|
91
|
+
showSuccess?: boolean;
|
91
92
|
texts?: {
|
92
93
|
submit: string;
|
93
94
|
name: TextInputType;
|
94
95
|
email: TextInputType;
|
95
96
|
message: TextInputType;
|
97
|
+
success?: {
|
98
|
+
title?: string;
|
99
|
+
description?: string;
|
100
|
+
};
|
96
101
|
};
|
97
102
|
};
|
98
103
|
declare const ContactForm: React__default.FC<ContactFormProps>;
|
@@ -88,11 +88,16 @@ type ContactFormProps = {
|
|
88
88
|
size?: "sm" | "default";
|
89
89
|
onSubmit: (e: ContactFormData) => void;
|
90
90
|
customFields?: CustomField[];
|
91
|
+
showSuccess?: boolean;
|
91
92
|
texts?: {
|
92
93
|
submit: string;
|
93
94
|
name: TextInputType;
|
94
95
|
email: TextInputType;
|
95
96
|
message: TextInputType;
|
97
|
+
success?: {
|
98
|
+
title?: string;
|
99
|
+
description?: string;
|
100
|
+
};
|
96
101
|
};
|
97
102
|
};
|
98
103
|
declare const ContactForm: React__default.FC<ContactFormProps>;
|
@@ -1551,9 +1551,10 @@ var ContactForm = ({
|
|
1551
1551
|
formId,
|
1552
1552
|
formAutoComplete = "off",
|
1553
1553
|
onSubmit,
|
1554
|
-
customFields
|
1554
|
+
customFields,
|
1555
|
+
...props
|
1555
1556
|
}) => {
|
1556
|
-
var _a, _b, _c;
|
1557
|
+
var _a, _b, _c, _d, _e;
|
1557
1558
|
const customFieldsSchema = z.object({
|
1558
1559
|
...customFields == null ? void 0 : customFields.reduce(
|
1559
1560
|
(acc, curr) => {
|
@@ -1621,7 +1622,7 @@ var ContactForm = ({
|
|
1621
1622
|
),
|
1622
1623
|
style: cardless ? { boxShadow: "none" } : void 0
|
1623
1624
|
},
|
1624
|
-
/* @__PURE__ */ import_react30.default.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, /* @__PURE__ */ import_react30.default.createElement(
|
1625
|
+
/* @__PURE__ */ import_react30.default.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, props.showSuccess ? /* @__PURE__ */ import_react30.default.createElement(CardHeader, null, /* @__PURE__ */ import_react30.default.createElement(CardTitle, null, ((_d = texts == null ? void 0 : texts.success) == null ? void 0 : _d.title) || "Message Sent! \u{1F389}"), /* @__PURE__ */ import_react30.default.createElement(CardDescription, null, ((_e = texts == null ? void 0 : texts.success) == null ? void 0 : _e.description) || "Thank you for your submission, we will get back to you as soon as possible.")) : /* @__PURE__ */ import_react30.default.createElement(
|
1625
1626
|
"form",
|
1626
1627
|
{
|
1627
1628
|
noValidate: true,
|
@@ -464,9 +464,10 @@ var ContactForm = ({
|
|
464
464
|
formId,
|
465
465
|
formAutoComplete = "off",
|
466
466
|
onSubmit,
|
467
|
-
customFields
|
467
|
+
customFields,
|
468
|
+
...props
|
468
469
|
}) => {
|
469
|
-
var _a, _b, _c;
|
470
|
+
var _a, _b, _c, _d, _e;
|
470
471
|
const customFieldsSchema = z.object({
|
471
472
|
...customFields == null ? void 0 : customFields.reduce(
|
472
473
|
(acc, curr) => {
|
@@ -534,7 +535,7 @@ var ContactForm = ({
|
|
534
535
|
),
|
535
536
|
style: cardless ? { boxShadow: "none" } : void 0
|
536
537
|
},
|
537
|
-
/* @__PURE__ */ React19.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, /* @__PURE__ */ React19.createElement(
|
538
|
+
/* @__PURE__ */ React19.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, props.showSuccess ? /* @__PURE__ */ React19.createElement(CardHeader, null, /* @__PURE__ */ React19.createElement(CardTitle, null, ((_d = texts == null ? void 0 : texts.success) == null ? void 0 : _d.title) || "Message Sent! \u{1F389}"), /* @__PURE__ */ React19.createElement(CardDescription, null, ((_e = texts == null ? void 0 : texts.success) == null ? void 0 : _e.description) || "Thank you for your submission, we will get back to you as soon as possible.")) : /* @__PURE__ */ React19.createElement(
|
538
539
|
"form",
|
539
540
|
{
|
540
541
|
noValidate: true,
|
package/dist/index.css
CHANGED
@@ -3620,6 +3620,9 @@ body {
|
|
3620
3620
|
.hawa-group:hover .group-hover\:hawa-opacity-100 {
|
3621
3621
|
opacity: 1;
|
3622
3622
|
}
|
3623
|
+
.hawa-group:hover .group-hover\:hawa-opacity-60 {
|
3624
|
+
opacity: 0.6;
|
3625
|
+
}
|
3623
3626
|
.hawa-group:hover .group-hover\:hawa-blur-lg {
|
3624
3627
|
--tw-blur: blur(16px);
|
3625
3628
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
package/dist/index.d.mts
CHANGED
@@ -1900,11 +1900,16 @@ type ContactFormProps = {
|
|
1900
1900
|
size?: "sm" | "default";
|
1901
1901
|
onSubmit: (e: ContactFormData) => void;
|
1902
1902
|
customFields?: CustomField[];
|
1903
|
+
showSuccess?: boolean;
|
1903
1904
|
texts?: {
|
1904
1905
|
submit: string;
|
1905
1906
|
name: TextInputType;
|
1906
1907
|
email: TextInputType;
|
1907
1908
|
message: TextInputType;
|
1909
|
+
success?: {
|
1910
|
+
title?: string;
|
1911
|
+
description?: string;
|
1912
|
+
};
|
1908
1913
|
};
|
1909
1914
|
};
|
1910
1915
|
declare const ContactForm: React__default.FC<ContactFormProps>;
|
package/dist/index.d.ts
CHANGED
@@ -1900,11 +1900,16 @@ type ContactFormProps = {
|
|
1900
1900
|
size?: "sm" | "default";
|
1901
1901
|
onSubmit: (e: ContactFormData) => void;
|
1902
1902
|
customFields?: CustomField[];
|
1903
|
+
showSuccess?: boolean;
|
1903
1904
|
texts?: {
|
1904
1905
|
submit: string;
|
1905
1906
|
name: TextInputType;
|
1906
1907
|
email: TextInputType;
|
1907
1908
|
message: TextInputType;
|
1909
|
+
success?: {
|
1910
|
+
title?: string;
|
1911
|
+
description?: string;
|
1912
|
+
};
|
1908
1913
|
};
|
1909
1914
|
};
|
1910
1915
|
declare const ContactForm: React__default.FC<ContactFormProps>;
|
package/dist/index.js
CHANGED
@@ -11874,9 +11874,10 @@ var ContactForm = ({
|
|
11874
11874
|
formId,
|
11875
11875
|
formAutoComplete = "off",
|
11876
11876
|
onSubmit,
|
11877
|
-
customFields
|
11877
|
+
customFields,
|
11878
|
+
...props
|
11878
11879
|
}) => {
|
11879
|
-
var _a, _b, _c;
|
11880
|
+
var _a, _b, _c, _d, _e;
|
11880
11881
|
const customFieldsSchema = z8.object({
|
11881
11882
|
...customFields == null ? void 0 : customFields.reduce(
|
11882
11883
|
(acc, curr) => {
|
@@ -11944,7 +11945,7 @@ var ContactForm = ({
|
|
11944
11945
|
),
|
11945
11946
|
style: cardless ? { boxShadow: "none" } : void 0
|
11946
11947
|
},
|
11947
|
-
/* @__PURE__ */ import_react80.default.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, /* @__PURE__ */ import_react80.default.createElement(
|
11948
|
+
/* @__PURE__ */ import_react80.default.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, props.showSuccess ? /* @__PURE__ */ import_react80.default.createElement(CardHeader, null, /* @__PURE__ */ import_react80.default.createElement(CardTitle, null, ((_d = texts == null ? void 0 : texts.success) == null ? void 0 : _d.title) || "Message Sent! \u{1F389}"), /* @__PURE__ */ import_react80.default.createElement(CardDescription, null, ((_e = texts == null ? void 0 : texts.success) == null ? void 0 : _e.description) || "Thank you for your submission, we will get back to you as soon as possible.")) : /* @__PURE__ */ import_react80.default.createElement(
|
11948
11949
|
"form",
|
11949
11950
|
{
|
11950
11951
|
noValidate: true,
|
package/dist/index.mjs
CHANGED
@@ -11656,9 +11656,10 @@ var ContactForm = ({
|
|
11656
11656
|
formId,
|
11657
11657
|
formAutoComplete = "off",
|
11658
11658
|
onSubmit,
|
11659
|
-
customFields
|
11659
|
+
customFields,
|
11660
|
+
...props
|
11660
11661
|
}) => {
|
11661
|
-
var _a, _b, _c;
|
11662
|
+
var _a, _b, _c, _d, _e;
|
11662
11663
|
const customFieldsSchema = z8.object({
|
11663
11664
|
...customFields == null ? void 0 : customFields.reduce(
|
11664
11665
|
(acc, curr) => {
|
@@ -11726,7 +11727,7 @@ var ContactForm = ({
|
|
11726
11727
|
),
|
11727
11728
|
style: cardless ? { boxShadow: "none" } : void 0
|
11728
11729
|
},
|
11729
|
-
/* @__PURE__ */ React101.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, /* @__PURE__ */ React101.createElement(
|
11730
|
+
/* @__PURE__ */ React101.createElement(CardContent, { headless: true, className: cardless ? "!hawa-p-0" : "" }, props.showSuccess ? /* @__PURE__ */ React101.createElement(CardHeader, null, /* @__PURE__ */ React101.createElement(CardTitle, null, ((_d = texts == null ? void 0 : texts.success) == null ? void 0 : _d.title) || "Message Sent! \u{1F389}"), /* @__PURE__ */ React101.createElement(CardDescription, null, ((_e = texts == null ? void 0 : texts.success) == null ? void 0 : _e.description) || "Thank you for your submission, we will get back to you as soon as possible.")) : /* @__PURE__ */ React101.createElement(
|
11730
11731
|
"form",
|
11731
11732
|
{
|
11732
11733
|
noValidate: true,
|