@levo-so/studio 0.2.3 → 0.3.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/{BillingStep-mq3o5Hrf.js → BillingStep-DNg2PTXV.js} +1 -1
- package/{Button-DIDhszPV.js → Button-DUBI4k7m.js} +2 -2
- package/{EntryCard-DiMic9hv.js → EntryCard-B3wpp5oI.js} +1 -1
- package/{KBChatWidget-hquzCtvm.js → KBChatWidget-BAvoYVFq.js} +400 -389
- package/{LoginCard-Cs9X8LC8.js → LoginCard-CaLgm9c4.js} +1 -1
- package/{PendingApprovalCard-wW8Ko-w8.js → PendingApprovalCard-ARwwmFAe.js} +1 -1
- package/{PopupRenderer-Bncp54gB-CQloeJYR.js → PopupRenderer-Bncp54gB-DTM3Wdxp.js} +1 -1
- package/{ProfileCard-BhnTmQaE.js → ProfileCard-CnL0X_Ui.js} +1 -1
- package/{bookingCard-BSRCH57N.js → bookingCard-C0_NNfko.js} +2 -2
- package/{dist-D3lGqLBP.js → dist-DanVCpXe.js} +357 -356
- package/index.d.ts +28 -1
- package/index.js +664 -617
- package/kbChat-DnIItqUJ.js +168 -0
- package/package.json +1 -1
- package/pillChrome-BHFzM9re.js +20 -0
- package/studio.css +1 -1
- package/kbChat-g2bupQqp.js +0 -163
- package/pillChrome-Cx8qlbsn.js +0 -16
package/index.d.ts
CHANGED
|
@@ -49,6 +49,28 @@ collapsible?: boolean;
|
|
|
49
49
|
|
|
50
50
|
export declare const AccordionTrigger: WithBlockPropsComponent<BaseAccordionTriggerProps>;
|
|
51
51
|
|
|
52
|
+
/**
|
|
53
|
+
* Optional attendee fields. Each is hidden unless its `key` is listed in the
|
|
54
|
+
* `additionalFields` prop, so every event can collect exactly what it needs.
|
|
55
|
+
* Rendered in this order regardless of the order keys are passed in.
|
|
56
|
+
*/
|
|
57
|
+
declare const ADDITIONAL_FIELDS: readonly [{
|
|
58
|
+
readonly key: "designation";
|
|
59
|
+
readonly label: "Designation";
|
|
60
|
+
readonly placeholder: "Product Manager";
|
|
61
|
+
readonly type: "text";
|
|
62
|
+
}, {
|
|
63
|
+
readonly key: "mobile";
|
|
64
|
+
readonly label: "Phone Number";
|
|
65
|
+
readonly placeholder: "+91 98765 43210";
|
|
66
|
+
readonly type: "tel";
|
|
67
|
+
}, {
|
|
68
|
+
readonly key: "organization";
|
|
69
|
+
readonly label: "Company Name";
|
|
70
|
+
readonly placeholder: "Acme Corporation";
|
|
71
|
+
readonly type: "text";
|
|
72
|
+
}];
|
|
73
|
+
|
|
52
74
|
/**
|
|
53
75
|
* Alternate method values for quick checking
|
|
54
76
|
*/
|
|
@@ -981,6 +1003,9 @@ declare type HTMLImageProps_2 = Omit<React.DetailedHTMLProps<React.ImgHTMLAttrib
|
|
|
981
1003
|
|
|
982
1004
|
declare type HTMLVideoProps = Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "src" | keyof BaseElementProps>;
|
|
983
1005
|
|
|
1006
|
+
/** Keys accepted by the `additionalFields` prop. */
|
|
1007
|
+
declare type IAdditionalFieldKey = (typeof ADDITIONAL_FIELDS)[number]["key"];
|
|
1008
|
+
|
|
984
1009
|
declare interface IAuthActions {
|
|
985
1010
|
setAuthState: (updates: Partial<IAuthState>) => void;
|
|
986
1011
|
resetAuth: () => void;
|
|
@@ -2815,11 +2840,13 @@ export declare const processTheme: ({ pageTheme, blocks, pageID, device, }: {
|
|
|
2815
2840
|
html: string;
|
|
2816
2841
|
};
|
|
2817
2842
|
|
|
2818
|
-
export declare const RegisterModal: ({ eventID, title, external, buttonText, }: {
|
|
2843
|
+
export declare const RegisterModal: ({ eventID, title, external, buttonText, additionalFields, }: {
|
|
2819
2844
|
eventID: string;
|
|
2820
2845
|
title?: string;
|
|
2821
2846
|
external?: string;
|
|
2822
2847
|
buttonText?: string;
|
|
2848
|
+
/** Optional attendee fields to collect ("designation" | "mobile" | "organization"). Hidden unless listed. */
|
|
2849
|
+
additionalFields?: IAdditionalFieldKey[];
|
|
2823
2850
|
}) => JSX.Element;
|
|
2824
2851
|
|
|
2825
2852
|
/**
|