@sikka/hawa 0.27.14-next → 0.27.16-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/appLayout/index.js +6 -1
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +6 -1
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/blocks/auth/index.js +15 -8
- package/dist/blocks/auth/index.mjs +13 -11
- package/dist/blocks/feedback/index.js +9 -2
- package/dist/blocks/feedback/index.mjs +8 -6
- package/dist/blocks/index.js +18 -9
- package/dist/blocks/index.mjs +11 -9
- package/dist/blocks/misc/index.js +6 -1
- package/dist/blocks/misc/index.mjs +5 -5
- package/dist/blocks/pricing/index.js +6 -1
- package/dist/blocks/pricing/index.mjs +4 -4
- package/dist/{chunk-NKJ56AFS.mjs → chunk-7CYXEZDV.mjs} +1 -1
- package/dist/{chunk-PEV5RH2A.mjs → chunk-7QEBDFLT.mjs} +6 -1
- package/dist/{chunk-47JBRNHV.mjs → chunk-DQHPOUHR.mjs} +1 -1
- package/dist/{chunk-SFXAOGDN.mjs → chunk-DUL6C2S2.mjs} +1 -1
- package/dist/{chunk-M76J5JHP.mjs → chunk-EFWL3FFK.mjs} +1 -1
- package/dist/{chunk-BWWRORXM.mjs → chunk-F56X3EW2.mjs} +4 -2
- package/dist/{chunk-TWCAKKEP.mjs → chunk-M6XGGAPQ.mjs} +1 -1
- package/dist/{chunk-ZPUA6IU3.mjs → chunk-MMOEFJSP.mjs} +1 -1
- package/dist/{chunk-ZNAH5EOY.mjs → chunk-W5I4VB5Z.mjs} +1 -1
- package/dist/{chunk-AOS5F2JU.mjs → chunk-ZOWDRDAM.mjs} +6 -1
- package/dist/codeBlock/index.js +6 -1
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs +6 -1
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/colorPicker/index.js +6 -1
- package/dist/colorPicker/index.js.map +1 -1
- package/dist/colorPicker/index.mjs +6 -1
- package/dist/colorPicker/index.mjs.map +1 -1
- package/dist/combobox/index.js +6 -1
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +6 -1
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/dataTable/index.js +6 -1
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +6 -1
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/elements/index.js +9 -2
- package/dist/elements/index.mjs +3 -3
- package/dist/index.js +18 -9
- package/dist/index.mjs +18 -9
- package/dist/input/index.js +6 -1
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs +6 -1
- package/dist/input/index.mjs.map +1 -1
- package/dist/interfaceSettings/index.js +6 -1
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs +6 -1
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/label/index.js +6 -1
- package/dist/label/index.js.map +1 -1
- package/dist/label/index.mjs +6 -1
- package/dist/label/index.mjs.map +1 -1
- package/dist/layout/index.js +6 -1
- package/dist/layout/index.mjs +2 -2
- package/dist/passwordInput/index.js +9 -2
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +9 -2
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/phoneInput/index.js +6 -1
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs +6 -1
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/popover/index.js +3 -1
- package/dist/popover/index.js.map +1 -1
- package/dist/popover/index.mjs +3 -1
- package/dist/popover/index.mjs.map +1 -1
- package/dist/radio/index.js +6 -1
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs +6 -1
- package/dist/radio/index.mjs.map +1 -1
- package/dist/select/index.js +6 -1
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs +6 -1
- package/dist/select/index.mjs.map +1 -1
- package/dist/signature/index.js +6 -1
- package/dist/signature/index.js.map +1 -1
- package/dist/signature/index.mjs +6 -1
- package/dist/signature/index.mjs.map +1 -1
- package/dist/textarea/index.js +6 -1
- package/dist/textarea/index.js.map +1 -1
- package/dist/textarea/index.mjs +6 -1
- package/dist/textarea/index.mjs.map +1 -1
- package/dist/tooltip/index.js +6 -1
- package/dist/tooltip/index.js.map +1 -1
- package/dist/tooltip/index.mjs +6 -1
- package/dist/tooltip/index.mjs.map +1 -1
- package/package.json +4 -2
@@ -1,17 +1,17 @@
|
|
1
1
|
"use client";
|
2
2
|
import {
|
3
3
|
Input
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-M6XGGAPQ.mjs";
|
5
5
|
import {
|
6
6
|
StopPropagationWrapper
|
7
7
|
} from "../../chunk-47APBDKK.mjs";
|
8
8
|
import {
|
9
9
|
Select
|
10
|
-
} from "../../chunk-
|
10
|
+
} from "../../chunk-DQHPOUHR.mjs";
|
11
11
|
import {
|
12
12
|
EyeIcon,
|
13
13
|
HiddenEyeIcon
|
14
|
-
} from "../../chunk-
|
14
|
+
} from "../../chunk-EFWL3FFK.mjs";
|
15
15
|
import {
|
16
16
|
Button,
|
17
17
|
Card,
|
@@ -23,7 +23,7 @@ import {
|
|
23
23
|
Label,
|
24
24
|
Loading,
|
25
25
|
cn
|
26
|
-
} from "../../chunk-
|
26
|
+
} from "../../chunk-7QEBDFLT.mjs";
|
27
27
|
|
28
28
|
// blocks/auth/LoginForm.tsx
|
29
29
|
import React5, { useState as useState3 } from "react";
|
@@ -2723,10 +2723,12 @@ var RegisterForm = ({
|
|
2723
2723
|
}),
|
2724
2724
|
refCode: z2.string().optional(),
|
2725
2725
|
reference: z2.string().optional(),
|
2726
|
-
terms_accepted: z2.boolean({ required_error: texts == null ? void 0 : texts.termsRequired }).refine((value) => value, {
|
2726
|
+
terms_accepted: z2.boolean({ required_error: (texts == null ? void 0 : texts.termsRequired) || "Terms required" }).refine((value) => value, {
|
2727
|
+
message: (texts == null ? void 0 : texts.termsRequired) || "Terms required"
|
2728
|
+
}),
|
2727
2729
|
newsletter_accepted: z2.boolean().optional()
|
2728
2730
|
}).refine((data) => data.password === data.confirm_password, {
|
2729
|
-
message: (_f = texts == null ? void 0 : texts.confirm) == null ? void 0 : _f.dontMatch,
|
2731
|
+
message: ((_f = texts == null ? void 0 : texts.confirm) == null ? void 0 : _f.dontMatch) || "Passwords don't match",
|
2730
2732
|
path: ["confirm_password"]
|
2731
2733
|
});
|
2732
2734
|
const { handleSubmit, control, formState } = useForm2({
|
@@ -2879,7 +2881,7 @@ var RegisterForm = ({
|
|
2879
2881
|
type: "password",
|
2880
2882
|
autoComplete: "new-password",
|
2881
2883
|
label: ((_a2 = texts == null ? void 0 : texts.confirm) == null ? void 0 : _a2.label) || "Confirm Password",
|
2882
|
-
placeholder: (_b2 = texts == null ? void 0 : texts.confirm) == null ? void 0 : _b2.placeholder,
|
2884
|
+
placeholder: ((_b2 = texts == null ? void 0 : texts.confirm) == null ? void 0 : _b2.placeholder) || "Confirm your Password",
|
2883
2885
|
helperText: (_c2 = formState.errors.confirm_password) == null ? void 0 : _c2.message,
|
2884
2886
|
...field
|
2885
2887
|
}
|
@@ -2933,7 +2935,7 @@ var RegisterForm = ({
|
|
2933
2935
|
}
|
2934
2936
|
}
|
2935
2937
|
),
|
2936
|
-
/* @__PURE__ */ React7.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3" }, showTermsOption && /* @__PURE__ */ React7.createElement(
|
2938
|
+
showTermsOption || showNewsletterOption ? /* @__PURE__ */ React7.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3 hawa-mb-2" }, showTermsOption && /* @__PURE__ */ React7.createElement(
|
2937
2939
|
Controller2,
|
2938
2940
|
{
|
2939
2941
|
control,
|
@@ -2967,16 +2969,16 @@ var RegisterForm = ({
|
|
2967
2969
|
Checkbox,
|
2968
2970
|
{
|
2969
2971
|
id: "newsletter_accepted",
|
2970
|
-
label: texts == null ? void 0 : texts.subscribeToNewsletter,
|
2972
|
+
label: (texts == null ? void 0 : texts.subscribeToNewsletter) || "Subscribe to our newsletter",
|
2971
2973
|
onCheckedChange: field.onChange
|
2972
2974
|
}
|
2973
2975
|
)
|
2974
2976
|
}
|
2975
|
-
)),
|
2977
|
+
)) : null,
|
2976
2978
|
/* @__PURE__ */ React7.createElement(
|
2977
2979
|
Button,
|
2978
2980
|
{
|
2979
|
-
className: "
|
2981
|
+
className: " hawa-w-full",
|
2980
2982
|
type: "submit",
|
2981
2983
|
isLoading: props.isLoading,
|
2982
2984
|
disabled: props.isLoading
|
@@ -492,7 +492,12 @@ var Tooltip = ({
|
|
492
492
|
size,
|
493
493
|
side,
|
494
494
|
align: "center",
|
495
|
-
...contentProps
|
495
|
+
...contentProps,
|
496
|
+
style: {
|
497
|
+
...contentProps == null ? void 0 : contentProps.style,
|
498
|
+
maxWidth: "var(--radix-tooltip-content-available-width)",
|
499
|
+
maxHeight: "var(--radix-tooltip-content-available-height)"
|
500
|
+
}
|
496
501
|
},
|
497
502
|
content
|
498
503
|
)
|
@@ -1145,7 +1150,9 @@ var Popover = ({
|
|
1145
1150
|
align,
|
1146
1151
|
sideOffset,
|
1147
1152
|
style: {
|
1148
|
-
width: widthStyles[width]
|
1153
|
+
width: widthStyles[width],
|
1154
|
+
maxWidth: "var(--radix-popover-content-available-width)",
|
1155
|
+
maxHeight: "var(--radix-popover-content-available-height)"
|
1149
1156
|
},
|
1150
1157
|
...contentProps
|
1151
1158
|
},
|
@@ -1,26 +1,26 @@
|
|
1
1
|
"use client";
|
2
2
|
import {
|
3
3
|
Textarea
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-W5I4VB5Z.mjs";
|
5
5
|
import {
|
6
6
|
Select
|
7
|
-
} from "../../chunk-
|
7
|
+
} from "../../chunk-DQHPOUHR.mjs";
|
8
8
|
import {
|
9
9
|
Radio
|
10
|
-
} from "../../chunk-
|
10
|
+
} from "../../chunk-DUL6C2S2.mjs";
|
11
11
|
import {
|
12
12
|
BadEmoji,
|
13
13
|
GoodEmoji,
|
14
14
|
VeryBadEmoji,
|
15
15
|
VeryGoodEmoji
|
16
|
-
} from "../../chunk-
|
16
|
+
} from "../../chunk-EFWL3FFK.mjs";
|
17
17
|
import {
|
18
18
|
Button,
|
19
19
|
Card,
|
20
20
|
CardContent,
|
21
21
|
Label,
|
22
22
|
cn
|
23
|
-
} from "../../chunk-
|
23
|
+
} from "../../chunk-7QEBDFLT.mjs";
|
24
24
|
|
25
25
|
// blocks/feedback/UserReferralSource.tsx
|
26
26
|
import React, { useRef, useState } from "react";
|
@@ -348,7 +348,9 @@ var Popover = ({
|
|
348
348
|
align,
|
349
349
|
sideOffset,
|
350
350
|
style: {
|
351
|
-
width: widthStyles[width]
|
351
|
+
width: widthStyles[width],
|
352
|
+
maxWidth: "var(--radix-popover-content-available-width)",
|
353
|
+
maxHeight: "var(--radix-popover-content-available-height)"
|
352
354
|
},
|
353
355
|
...contentProps
|
354
356
|
},
|
package/dist/blocks/index.js
CHANGED
@@ -660,7 +660,12 @@ var Tooltip = ({
|
|
660
660
|
size,
|
661
661
|
side,
|
662
662
|
align: "center",
|
663
|
-
...contentProps
|
663
|
+
...contentProps,
|
664
|
+
style: {
|
665
|
+
...contentProps == null ? void 0 : contentProps.style,
|
666
|
+
maxWidth: "var(--radix-tooltip-content-available-width)",
|
667
|
+
maxHeight: "var(--radix-tooltip-content-available-height)"
|
668
|
+
}
|
664
669
|
},
|
665
670
|
content
|
666
671
|
)
|
@@ -3754,10 +3759,12 @@ var RegisterForm = ({
|
|
3754
3759
|
}),
|
3755
3760
|
refCode: z2.string().optional(),
|
3756
3761
|
reference: z2.string().optional(),
|
3757
|
-
terms_accepted: z2.boolean({ required_error: texts == null ? void 0 : texts.termsRequired }).refine((value) => value, {
|
3762
|
+
terms_accepted: z2.boolean({ required_error: (texts == null ? void 0 : texts.termsRequired) || "Terms required" }).refine((value) => value, {
|
3763
|
+
message: (texts == null ? void 0 : texts.termsRequired) || "Terms required"
|
3764
|
+
}),
|
3758
3765
|
newsletter_accepted: z2.boolean().optional()
|
3759
3766
|
}).refine((data) => data.password === data.confirm_password, {
|
3760
|
-
message: (_f = texts == null ? void 0 : texts.confirm) == null ? void 0 : _f.dontMatch,
|
3767
|
+
message: ((_f = texts == null ? void 0 : texts.confirm) == null ? void 0 : _f.dontMatch) || "Passwords don't match",
|
3761
3768
|
path: ["confirm_password"]
|
3762
3769
|
});
|
3763
3770
|
const { handleSubmit, control, formState } = (0, import_react_hook_form2.useForm)({
|
@@ -3910,7 +3917,7 @@ var RegisterForm = ({
|
|
3910
3917
|
type: "password",
|
3911
3918
|
autoComplete: "new-password",
|
3912
3919
|
label: ((_a2 = texts == null ? void 0 : texts.confirm) == null ? void 0 : _a2.label) || "Confirm Password",
|
3913
|
-
placeholder: (_b2 = texts == null ? void 0 : texts.confirm) == null ? void 0 : _b2.placeholder,
|
3920
|
+
placeholder: ((_b2 = texts == null ? void 0 : texts.confirm) == null ? void 0 : _b2.placeholder) || "Confirm your Password",
|
3914
3921
|
helperText: (_c2 = formState.errors.confirm_password) == null ? void 0 : _c2.message,
|
3915
3922
|
...field
|
3916
3923
|
}
|
@@ -3964,7 +3971,7 @@ var RegisterForm = ({
|
|
3964
3971
|
}
|
3965
3972
|
}
|
3966
3973
|
),
|
3967
|
-
/* @__PURE__ */ import_react15.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3" }, showTermsOption && /* @__PURE__ */ import_react15.default.createElement(
|
3974
|
+
showTermsOption || showNewsletterOption ? /* @__PURE__ */ import_react15.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3 hawa-mb-2" }, showTermsOption && /* @__PURE__ */ import_react15.default.createElement(
|
3968
3975
|
import_react_hook_form2.Controller,
|
3969
3976
|
{
|
3970
3977
|
control,
|
@@ -3998,16 +4005,16 @@ var RegisterForm = ({
|
|
3998
4005
|
Checkbox,
|
3999
4006
|
{
|
4000
4007
|
id: "newsletter_accepted",
|
4001
|
-
label: texts == null ? void 0 : texts.subscribeToNewsletter,
|
4008
|
+
label: (texts == null ? void 0 : texts.subscribeToNewsletter) || "Subscribe to our newsletter",
|
4002
4009
|
onCheckedChange: field.onChange
|
4003
4010
|
}
|
4004
4011
|
)
|
4005
4012
|
}
|
4006
|
-
)),
|
4013
|
+
)) : null,
|
4007
4014
|
/* @__PURE__ */ import_react15.default.createElement(
|
4008
4015
|
Button,
|
4009
4016
|
{
|
4010
|
-
className: "
|
4017
|
+
className: " hawa-w-full",
|
4011
4018
|
type: "submit",
|
4012
4019
|
isLoading: props.isLoading,
|
4013
4020
|
disabled: props.isLoading
|
@@ -5012,7 +5019,9 @@ var Popover = ({
|
|
5012
5019
|
align,
|
5013
5020
|
sideOffset,
|
5014
5021
|
style: {
|
5015
|
-
width: widthStyles[width]
|
5022
|
+
width: widthStyles[width],
|
5023
|
+
maxWidth: "var(--radix-popover-content-available-width)",
|
5024
|
+
maxHeight: "var(--radix-popover-content-available-height)"
|
5016
5025
|
},
|
5017
5026
|
...contentProps
|
5018
5027
|
},
|
package/dist/blocks/index.mjs
CHANGED
@@ -26,7 +26,7 @@ import {
|
|
26
26
|
UncheckMark,
|
27
27
|
VeryBadEmoji,
|
28
28
|
VeryGoodEmoji
|
29
|
-
} from "../chunk-
|
29
|
+
} from "../chunk-F56X3EW2.mjs";
|
30
30
|
import {
|
31
31
|
Button,
|
32
32
|
Card,
|
@@ -42,7 +42,7 @@ import {
|
|
42
42
|
Skeleton,
|
43
43
|
Tooltip,
|
44
44
|
cn
|
45
|
-
} from "../chunk-
|
45
|
+
} from "../chunk-ZOWDRDAM.mjs";
|
46
46
|
import "../chunk-4OOSUQZG.mjs";
|
47
47
|
|
48
48
|
// blocks/auth/LoginForm.tsx
|
@@ -497,10 +497,12 @@ var RegisterForm = ({
|
|
497
497
|
}),
|
498
498
|
refCode: z2.string().optional(),
|
499
499
|
reference: z2.string().optional(),
|
500
|
-
terms_accepted: z2.boolean({ required_error: texts == null ? void 0 : texts.termsRequired }).refine((value) => value, {
|
500
|
+
terms_accepted: z2.boolean({ required_error: (texts == null ? void 0 : texts.termsRequired) || "Terms required" }).refine((value) => value, {
|
501
|
+
message: (texts == null ? void 0 : texts.termsRequired) || "Terms required"
|
502
|
+
}),
|
501
503
|
newsletter_accepted: z2.boolean().optional()
|
502
504
|
}).refine((data) => data.password === data.confirm_password, {
|
503
|
-
message: (_f = texts == null ? void 0 : texts.confirm) == null ? void 0 : _f.dontMatch,
|
505
|
+
message: ((_f = texts == null ? void 0 : texts.confirm) == null ? void 0 : _f.dontMatch) || "Passwords don't match",
|
504
506
|
path: ["confirm_password"]
|
505
507
|
});
|
506
508
|
const { handleSubmit, control, formState } = useForm2({
|
@@ -653,7 +655,7 @@ var RegisterForm = ({
|
|
653
655
|
type: "password",
|
654
656
|
autoComplete: "new-password",
|
655
657
|
label: ((_a2 = texts == null ? void 0 : texts.confirm) == null ? void 0 : _a2.label) || "Confirm Password",
|
656
|
-
placeholder: (_b2 = texts == null ? void 0 : texts.confirm) == null ? void 0 : _b2.placeholder,
|
658
|
+
placeholder: ((_b2 = texts == null ? void 0 : texts.confirm) == null ? void 0 : _b2.placeholder) || "Confirm your Password",
|
657
659
|
helperText: (_c2 = formState.errors.confirm_password) == null ? void 0 : _c2.message,
|
658
660
|
...field
|
659
661
|
}
|
@@ -707,7 +709,7 @@ var RegisterForm = ({
|
|
707
709
|
}
|
708
710
|
}
|
709
711
|
),
|
710
|
-
/* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3" }, showTermsOption && /* @__PURE__ */ React3.createElement(
|
712
|
+
showTermsOption || showNewsletterOption ? /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-3 hawa-mb-2" }, showTermsOption && /* @__PURE__ */ React3.createElement(
|
711
713
|
Controller2,
|
712
714
|
{
|
713
715
|
control,
|
@@ -741,16 +743,16 @@ var RegisterForm = ({
|
|
741
743
|
Checkbox,
|
742
744
|
{
|
743
745
|
id: "newsletter_accepted",
|
744
|
-
label: texts == null ? void 0 : texts.subscribeToNewsletter,
|
746
|
+
label: (texts == null ? void 0 : texts.subscribeToNewsletter) || "Subscribe to our newsletter",
|
745
747
|
onCheckedChange: field.onChange
|
746
748
|
}
|
747
749
|
)
|
748
750
|
}
|
749
|
-
)),
|
751
|
+
)) : null,
|
750
752
|
/* @__PURE__ */ React3.createElement(
|
751
753
|
Button,
|
752
754
|
{
|
753
|
-
className: "
|
755
|
+
className: " hawa-w-full",
|
754
756
|
type: "submit",
|
755
757
|
isLoading: props.isLoading,
|
756
758
|
disabled: props.isLoading
|
@@ -746,7 +746,12 @@ var Tooltip = ({
|
|
746
746
|
size,
|
747
747
|
side,
|
748
748
|
align: "center",
|
749
|
-
...contentProps
|
749
|
+
...contentProps,
|
750
|
+
style: {
|
751
|
+
...contentProps == null ? void 0 : contentProps.style,
|
752
|
+
maxWidth: "var(--radix-tooltip-content-available-width)",
|
753
|
+
maxHeight: "var(--radix-tooltip-content-available-height)"
|
754
|
+
}
|
750
755
|
},
|
751
756
|
content
|
752
757
|
)
|
@@ -1,17 +1,17 @@
|
|
1
1
|
"use client";
|
2
2
|
import {
|
3
3
|
Input
|
4
|
-
} from "../../chunk-
|
4
|
+
} from "../../chunk-M6XGGAPQ.mjs";
|
5
5
|
import {
|
6
6
|
Chip,
|
7
7
|
ScrollArea
|
8
|
-
} from "../../chunk-
|
8
|
+
} from "../../chunk-MMOEFJSP.mjs";
|
9
9
|
import {
|
10
10
|
Textarea
|
11
|
-
} from "../../chunk-
|
11
|
+
} from "../../chunk-W5I4VB5Z.mjs";
|
12
12
|
import {
|
13
13
|
Select
|
14
|
-
} from "../../chunk-
|
14
|
+
} from "../../chunk-DQHPOUHR.mjs";
|
15
15
|
import {
|
16
16
|
Button,
|
17
17
|
Card,
|
@@ -21,7 +21,7 @@ import {
|
|
21
21
|
CardHeader,
|
22
22
|
CardTitle,
|
23
23
|
cn
|
24
|
-
} from "../../chunk-
|
24
|
+
} from "../../chunk-7QEBDFLT.mjs";
|
25
25
|
|
26
26
|
// blocks/misc/LegalTexts.tsx
|
27
27
|
import React2 from "react";
|
@@ -542,7 +542,12 @@ var Tooltip = ({
|
|
542
542
|
size,
|
543
543
|
side,
|
544
544
|
align: "center",
|
545
|
-
...contentProps
|
545
|
+
...contentProps,
|
546
|
+
style: {
|
547
|
+
...contentProps == null ? void 0 : contentProps.style,
|
548
|
+
maxWidth: "var(--radix-tooltip-content-available-width)",
|
549
|
+
maxHeight: "var(--radix-tooltip-content-available-height)"
|
550
|
+
}
|
546
551
|
},
|
547
552
|
content
|
548
553
|
)
|
@@ -2,22 +2,22 @@
|
|
2
2
|
import {
|
3
3
|
Chip,
|
4
4
|
ScrollArea
|
5
|
-
} from "../../chunk-
|
5
|
+
} from "../../chunk-MMOEFJSP.mjs";
|
6
6
|
import "../../chunk-47APBDKK.mjs";
|
7
7
|
import {
|
8
8
|
Radio
|
9
|
-
} from "../../chunk-
|
9
|
+
} from "../../chunk-DUL6C2S2.mjs";
|
10
10
|
import {
|
11
11
|
CheckMark,
|
12
12
|
UncheckMark
|
13
|
-
} from "../../chunk-
|
13
|
+
} from "../../chunk-EFWL3FFK.mjs";
|
14
14
|
import {
|
15
15
|
Button,
|
16
16
|
Card,
|
17
17
|
Skeleton,
|
18
18
|
Tooltip,
|
19
19
|
cn
|
20
|
-
} from "../../chunk-
|
20
|
+
} from "../../chunk-7QEBDFLT.mjs";
|
21
21
|
|
22
22
|
// blocks/pricing/PricingPlans.tsx
|
23
23
|
import React8 from "react";
|
@@ -440,7 +440,12 @@ var Tooltip = ({
|
|
440
440
|
size,
|
441
441
|
side,
|
442
442
|
align: "center",
|
443
|
-
...contentProps
|
443
|
+
...contentProps,
|
444
|
+
style: {
|
445
|
+
...contentProps == null ? void 0 : contentProps.style,
|
446
|
+
maxWidth: "var(--radix-tooltip-content-available-width)",
|
447
|
+
maxHeight: "var(--radix-tooltip-content-available-height)"
|
448
|
+
}
|
444
449
|
},
|
445
450
|
content
|
446
451
|
)
|
@@ -5,7 +5,7 @@ import {
|
|
5
5
|
Skeleton,
|
6
6
|
Tooltip,
|
7
7
|
cn
|
8
|
-
} from "./chunk-
|
8
|
+
} from "./chunk-ZOWDRDAM.mjs";
|
9
9
|
|
10
10
|
// elements/alert/Alert.tsx
|
11
11
|
import React, { useRef, useState, useEffect } from "react";
|
@@ -2751,7 +2751,9 @@ var Popover = ({
|
|
2751
2751
|
align,
|
2752
2752
|
sideOffset,
|
2753
2753
|
style: {
|
2754
|
-
width: widthStyles[width]
|
2754
|
+
width: widthStyles[width],
|
2755
|
+
maxWidth: "var(--radix-popover-content-available-width)",
|
2756
|
+
maxHeight: "var(--radix-popover-content-available-height)"
|
2755
2757
|
},
|
2756
2758
|
...contentProps
|
2757
2759
|
},
|
@@ -459,7 +459,12 @@ var Tooltip = ({
|
|
459
459
|
size,
|
460
460
|
side,
|
461
461
|
align: "center",
|
462
|
-
...contentProps
|
462
|
+
...contentProps,
|
463
|
+
style: {
|
464
|
+
...contentProps == null ? void 0 : contentProps.style,
|
465
|
+
maxWidth: "var(--radix-tooltip-content-available-width)",
|
466
|
+
maxHeight: "var(--radix-tooltip-content-available-height)"
|
467
|
+
}
|
463
468
|
},
|
464
469
|
content
|
465
470
|
)
|
package/dist/codeBlock/index.js
CHANGED
@@ -426,7 +426,12 @@ var Tooltip = ({
|
|
426
426
|
size,
|
427
427
|
side,
|
428
428
|
align: "center",
|
429
|
-
...contentProps
|
429
|
+
...contentProps,
|
430
|
+
style: {
|
431
|
+
...contentProps == null ? void 0 : contentProps.style,
|
432
|
+
maxWidth: "var(--radix-tooltip-content-available-width)",
|
433
|
+
maxHeight: "var(--radix-tooltip-content-available-height)"
|
434
|
+
}
|
430
435
|
},
|
431
436
|
content
|
432
437
|
)
|