@awell-health/ui-library 0.1.43 → 0.1.47
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/index.css +27 -3
- package/dist/index.js +42 -10
- package/dist/types/atoms/index.d.ts +1 -1
- package/dist/types/atoms/themeProvider/ThemeProvider.d.ts +9 -0
- package/dist/types/atoms/themeProvider/index.d.ts +1 -1
- package/dist/types/constants/descriptionFixture.d.ts +0 -11
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1536,6 +1536,12 @@ html {
|
|
|
1536
1536
|
font-size: var(--awell-font-size-lg);
|
|
1537
1537
|
}
|
|
1538
1538
|
}
|
|
1539
|
+
.awell__richTextViewer_content > :first-child {
|
|
1540
|
+
margin-top: 0 !important;
|
|
1541
|
+
}
|
|
1542
|
+
.awell__richTextViewer_content > :last-child {
|
|
1543
|
+
margin-bottom: 0 !important;
|
|
1544
|
+
}
|
|
1539
1545
|
.awell__richTextViewer_content h1,
|
|
1540
1546
|
.awell__richTextViewer_content h2,
|
|
1541
1547
|
.awell__richTextViewer_content h3,
|
|
@@ -6287,7 +6293,7 @@ html {
|
|
|
6287
6293
|
@media (min-width: 640px) {
|
|
6288
6294
|
.awell__hostedPageFooter_footer .awell__hostedPageFooter_scrollHint {
|
|
6289
6295
|
padding: var(--awell-spacing-4) 0;
|
|
6290
|
-
|
|
6296
|
+
bottom: var(--awell-footer-height);
|
|
6291
6297
|
}
|
|
6292
6298
|
}
|
|
6293
6299
|
.awell__hostedPageFooter_footer .awell__hostedPageFooter_scrollHint.awell__hostedPageFooter_visible {
|
|
@@ -7008,9 +7014,14 @@ html {
|
|
|
7008
7014
|
z-index: 999;
|
|
7009
7015
|
display: flex;
|
|
7010
7016
|
flex-direction: column;
|
|
7017
|
+
}
|
|
7018
|
+
.awell__hostedPageLayout_layout_container.awell__hostedPageLayout_fullViewportHeight {
|
|
7011
7019
|
height: 100%;
|
|
7012
7020
|
overflow: hidden;
|
|
7013
7021
|
}
|
|
7022
|
+
.awell__hostedPageLayout_layout_container.awell__hostedPageLayout_flexible {
|
|
7023
|
+
height: auto;
|
|
7024
|
+
}
|
|
7014
7025
|
|
|
7015
7026
|
.awell__hostedPageLayout_main_content {
|
|
7016
7027
|
flex: auto;
|
|
@@ -7778,6 +7789,9 @@ html {
|
|
|
7778
7789
|
margin: 0 auto;
|
|
7779
7790
|
height: 100%;
|
|
7780
7791
|
}
|
|
7792
|
+
.awell__form_container.awell__form_traditional_container {
|
|
7793
|
+
height: auto;
|
|
7794
|
+
}
|
|
7781
7795
|
|
|
7782
7796
|
.awell__form_awell_wizard_form {
|
|
7783
7797
|
display: flex;
|
|
@@ -7813,14 +7827,24 @@ html {
|
|
|
7813
7827
|
flex-grow: 1;
|
|
7814
7828
|
}
|
|
7815
7829
|
|
|
7816
|
-
.
|
|
7830
|
+
.awell__form_conversational_button_wrapper {
|
|
7817
7831
|
display: flex;
|
|
7818
7832
|
justify-content: space-between;
|
|
7819
|
-
height: 100%;
|
|
7820
7833
|
align-items: center;
|
|
7821
7834
|
width: 100%;
|
|
7822
7835
|
}
|
|
7823
7836
|
|
|
7837
|
+
.awell__form_traditional_button_wrapper {
|
|
7838
|
+
display: flex;
|
|
7839
|
+
justify-content: space-between;
|
|
7840
|
+
align-items: center;
|
|
7841
|
+
width: 100%;
|
|
7842
|
+
padding-bottom: var(--awell-spacing-6);
|
|
7843
|
+
max-width: var(--awell-activity-form-max-width);
|
|
7844
|
+
padding: var(--awell-activity-form-padding);
|
|
7845
|
+
margin: 0 auto;
|
|
7846
|
+
}
|
|
7847
|
+
|
|
7824
7848
|
.awell__form_traditional_form {
|
|
7825
7849
|
margin-bottom: 0px;
|
|
7826
7850
|
}
|
package/dist/index.js
CHANGED
|
@@ -34720,8 +34720,11 @@ Check the top-level render call using <` + t + ">.");
|
|
|
34720
34720
|
|
|
34721
34721
|
var classes$e = {"awell_themeProvider":"awell__themeProvider_awell_themeProvider","bold":"awell__themeProvider_bold","strikethrough":"awell__themeProvider_strikethrough","underline":"awell__themeProvider_underline","italic":"awell__themeProvider_italic"};
|
|
34722
34722
|
|
|
34723
|
+
var defaultMode = 'fullViewportHeight';
|
|
34724
|
+
var ThemeContext = /*#__PURE__*/React.createContext(undefined);
|
|
34723
34725
|
var ThemeProvider = function (_a) {
|
|
34724
34726
|
var children = _a.children,_b = _a.accentColor,accentColor = _b === void 0 ? 'var(--awell-brand100, #004ac2)' : _b;
|
|
34727
|
+
var _c = React.useState(defaultMode),layoutMode = _c[0],setLayoutMode = _c[1];
|
|
34725
34728
|
var style = {
|
|
34726
34729
|
'--awell-accent-color': accentColor,
|
|
34727
34730
|
'--awell-accent-text-color': getTextColor(accentColor),
|
|
@@ -34735,7 +34738,26 @@ Check the top-level render call using <` + t + ">.");
|
|
|
34735
34738
|
'--awell-secondary-ring-color-buttons': accentColor,
|
|
34736
34739
|
height: '100%' };
|
|
34737
34740
|
|
|
34738
|
-
|
|
34741
|
+
var updateLayoutMode = function (mode) {
|
|
34742
|
+
setLayoutMode(mode);
|
|
34743
|
+
};
|
|
34744
|
+
var resetLayoutMode = function () {
|
|
34745
|
+
setLayoutMode(defaultMode);
|
|
34746
|
+
};
|
|
34747
|
+
var contextValue = {
|
|
34748
|
+
accentColor: accentColor,
|
|
34749
|
+
layoutMode: layoutMode,
|
|
34750
|
+
updateLayoutMode: updateLayoutMode,
|
|
34751
|
+
resetLayoutMode: resetLayoutMode };
|
|
34752
|
+
|
|
34753
|
+
return jsxRuntime.exports.jsx(ThemeContext.Provider, __assign({ value: contextValue }, { children: jsxRuntime.exports.jsx("div", __assign({ className: classes$e.awell_themeProvider, style: style }, { children: children })) }));
|
|
34754
|
+
};
|
|
34755
|
+
var useTheme = function () {
|
|
34756
|
+
var context = React.useContext(ThemeContext);
|
|
34757
|
+
if (!context) {
|
|
34758
|
+
throw new Error('useTheme must be used within a ThemeProvider');
|
|
34759
|
+
}
|
|
34760
|
+
return context;
|
|
34739
34761
|
};
|
|
34740
34762
|
|
|
34741
34763
|
var classes$d = {"caret":"awell__typingCaret_caret"};
|
|
@@ -37093,7 +37115,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
37093
37115
|
|
|
37094
37116
|
var classes$5 = {"container":"awell__checklist_container","awell_checklist":"awell__checklist_awell_checklist","title":"awell__checklist_title","checklist":"awell__checklist_checklist","checkboxListFormControl":"awell__checklist_checkboxListFormControl","button_wrapper":"awell__checklist_button_wrapper"};
|
|
37095
37117
|
|
|
37096
|
-
var classes$4 = {"layout_container":"awell__hostedPageLayout_layout_container","main_content":"awell__hostedPageLayout_main_content"};
|
|
37118
|
+
var classes$4 = {"layout_container":"awell__hostedPageLayout_layout_container","fullViewportHeight":"awell__hostedPageLayout_fullViewportHeight","flexible":"awell__hostedPageLayout_flexible","main_content":"awell__hostedPageLayout_main_content"};
|
|
37097
37119
|
|
|
37098
37120
|
var Checklist = function (_a) {
|
|
37099
37121
|
var title = _a.title,items = _a.items,onSubmit = _a.onSubmit,_b = _a.readOnly,readOnly = _b === void 0 ? false : _b,_c = _a.disabled,disabled = _c === void 0 ? false : _c,submitLabel = _a.submitLabel;
|
|
@@ -37119,7 +37141,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
37119
37141
|
return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment, { children: [jsxRuntime.exports.jsx("main", __assign({ id: "ahp_main_content_with_scroll_hint", className: classes$4.main_content }, { children: jsxRuntime.exports.jsxs("article", __assign({ className: "".concat(classes$3.awell_message, " ").concat(classes$3.container) }, { children: [jsxRuntime.exports.jsx("div", __assign({ className: classes$3.message_title }, { children: subject })), jsxRuntime.exports.jsx("div", __assign({ className: classes$3.content }, { children: jsxRuntime.exports.jsx(RichTextViewer, { content: cleanContent }) })), jsxRuntime.exports.jsxs("div", __assign({ className: classes$3.attachmentList }, { children: [jsxRuntime.exports.jsx(AttachmentList, { attachments: attachments, icon: attachmentIcon, labels: attachmentLabels }), children] }))] })) })), jsxRuntime.exports.jsx(HostedPageFooter, __assign({ showScrollHint: showScrollHint }, { children: jsxRuntime.exports.jsx("div", __assign({ className: "".concat(classes$3.button_wrapper, " ").concat(classes$3.container) }, { children: jsxRuntime.exports.jsx(Button, __assign({ "data-cy": "markMessageAsReadButton", variant: "secondary", onClick: onMessageRead }, { children: buttonLabels.readMessage })) })) }))] });
|
|
37120
37142
|
};
|
|
37121
37143
|
|
|
37122
|
-
var classes$2 = {"container":"awell__form_container","awell_wizard_form":"awell__form_awell_wizard_form","form_progress":"awell__form_form_progress","loadingContainer":"awell__form_loadingContainer","title":"awell__form_title","wizard_form":"awell__form_wizard_form","
|
|
37144
|
+
var classes$2 = {"container":"awell__form_container","traditional_container":"awell__form_traditional_container","awell_wizard_form":"awell__form_awell_wizard_form","form_progress":"awell__form_form_progress","loadingContainer":"awell__form_loadingContainer","title":"awell__form_title","wizard_form":"awell__form_wizard_form","conversational_button_wrapper":"awell__form_conversational_button_wrapper","traditional_button_wrapper":"awell__form_traditional_button_wrapper","traditional_form":"awell__form_traditional_form","traditional_form_question":"awell__form_traditional_form_question","traditional_form_question_slider":"awell__form_traditional_form_question_slider","trademark":"awell__form_trademark","traditional":"awell__form_traditional","conversational":"awell__form_conversational"};
|
|
37123
37145
|
|
|
37124
37146
|
var useClickOutsideNotifier = function (_a) {
|
|
37125
37147
|
var ref = _a.ref,clickOutsideHandler = _a.clickOutsideHandler;
|
|
@@ -37622,13 +37644,15 @@ Check the top-level render call using <` + t + ">.");
|
|
|
37622
37644
|
}
|
|
37623
37645
|
return false;
|
|
37624
37646
|
};
|
|
37625
|
-
|
|
37626
|
-
|
|
37647
|
+
var hideProgressIndicator = isEvaluatingQuestionVisibility && percentageCompleted === 100;
|
|
37648
|
+
return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment, { children: [jsxRuntime.exports.jsx("main", __assign({ id: "ahp_main_content_with_scroll_hint", className: classes$4.main_content }, { children: jsxRuntime.exports.jsxs("div", __assign({ className: "".concat(classes$2.awell_wizard_form, " ").concat(classes$2.container) }, { children: [!hideProgressIndicator && jsxRuntime.exports.jsx("div", __assign({ className: classes$2.form_progress }, { children: jsxRuntime.exports.jsx(ProgressIndicator, { percentageCompleted: percentageCompleted }) })), isEvaluatingQuestionVisibility ||
|
|
37649
|
+
(currentQuestion === null || currentQuestion === void 0 ? void 0 : currentQuestion.id) === undefined ? jsxRuntime.exports.jsx("div", __assign({ className: classes$2.loadingContainer }, { children: jsxRuntime.exports.jsx(HorizontalSpinner, {}) })) : jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment, { children: jsxRuntime.exports.jsxs("div", __assign({ className: classes$2.wizard_form }, { children: [jsxRuntime.exports.jsx(Question, { question: currentQuestion, control: control, getValues: getValues, errors: errors, labels: questionLabels, submitAndMoveToNextQuestion: submitAndMoveToNextQuestion, inputAutoFocus: true, shouldAutoProgress: shouldAutoProgress }, currentQuestion.id), (form === null || form === void 0 ? void 0 : form.trademark) && jsxRuntime.exports.jsx("div", __assign({ className: "".concat(classes$2.trademark, " ").concat(classes$2.conversational) }, { children: form.trademark }))] })) })] })) })), jsxRuntime.exports.jsx(HostedPageFooter, __assign({ showScrollHint: showScrollHint }, { children: !isEvaluatingQuestionVisibility && jsxRuntime.exports.jsxs("div", __assign({ className: "".concat(classes$2.conversational_button_wrapper, " ").concat(classes$2.container) }, { children: [jsxRuntime.exports.jsx("div", { children: !isFirstQuestion && jsxRuntime.exports.jsx(Button, __assign({ variant: "tertiary", onClick: handleGoToPrevQuestion, "data-cy": "navigateToPrevQuestionButton" }, { children: buttonLabels.prev })) }), isLastQuestion ? jsxRuntime.exports.jsx(Button, __assign({ onClick: submitForm, type: "submit", "data-cy": "submitFormButton", disabled: isSubmittingForm }, { children: buttonLabels.submit })) : jsxRuntime.exports.jsx(Button, __assign({ variant: "secondary", onClick: handleGoToNextQuestion, "data-cy": "navigateToNextQuestionButton" }, { children: buttonLabels.next }))] })) }))] });
|
|
37627
37650
|
};
|
|
37628
37651
|
|
|
37629
37652
|
var TraditionalForm = function (_a) {
|
|
37630
37653
|
var form = _a.form,onSubmit = _a.onSubmit,buttonLabels = _a.buttonLabels,evaluateDisplayConditions = _a.evaluateDisplayConditions,errorLabels = _a.errorLabels,storedAnswers = _a.storedAnswers,onAnswersChange = _a.onAnswersChange,_b = _a.autosaveAnswers,autosaveAnswers = _b === void 0 ? true : _b;
|
|
37631
|
-
var _c =
|
|
37654
|
+
var _c = useTheme(),updateLayoutMode = _c.updateLayoutMode,resetLayoutMode = _c.resetLayoutMode;
|
|
37655
|
+
var _d = useTraditionalForm({
|
|
37632
37656
|
questions: form.questions,
|
|
37633
37657
|
onSubmit: onSubmit,
|
|
37634
37658
|
evaluateDisplayConditions: evaluateDisplayConditions,
|
|
@@ -37636,13 +37660,19 @@ Check the top-level render call using <` + t + ">.");
|
|
|
37636
37660
|
storedAnswers: storedAnswers,
|
|
37637
37661
|
autosaveAnswers: autosaveAnswers,
|
|
37638
37662
|
onAnswersChange: onAnswersChange }),
|
|
37639
|
-
updateQuestionVisibility =
|
|
37640
|
-
|
|
37663
|
+
updateQuestionVisibility = _d.updateQuestionVisibility,submitForm = _d.submitForm,isSubmittingForm = _d.isSubmittingForm,_e = _d.formMethods,control = _e.control,getValues = _e.getValues,errors = _d.errors,questionWithVisiblity = _d.questionWithVisiblity,formHasErrors = _d.formHasErrors;
|
|
37664
|
+
React.useEffect(function () {
|
|
37665
|
+
updateLayoutMode('flexible');
|
|
37666
|
+
return function () {
|
|
37667
|
+
resetLayoutMode();
|
|
37668
|
+
};
|
|
37669
|
+
}, []);
|
|
37670
|
+
return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment, { children: [jsxRuntime.exports.jsx("main", __assign({ id: "ahp_main_content_with_scroll_hint", className: "".concat(classes$4.main_content, " ").concat(classes$2.traditional_form) }, { children: jsxRuntime.exports.jsxs("div", __assign({ className: "".concat(classes$2.container, " ").concat(classes$2.traditional_container) }, { children: [!questionWithVisiblity ? jsxRuntime.exports.jsx("div", __assign({ className: classes$2.loadingContainer }, { children: jsxRuntime.exports.jsx(HorizontalSpinner, {}) })) : jsxRuntime.exports.jsx("div", { children: jsxRuntime.exports.jsx("div", { children: questionWithVisiblity.
|
|
37641
37671
|
filter(function (vb) {return vb.visible;}).
|
|
37642
37672
|
map(function (visibleQuestion) {return jsxRuntime.exports.jsx("div", __assign({ className: "".concat(classes$2.traditional_form_question, " ").concat(visibleQuestion.userQuestionType ===
|
|
37643
37673
|
exports.UserQuestionType.Slider ?
|
|
37644
37674
|
classes$2.traditional_form_question_slider :
|
|
37645
|
-
'') }, { children: jsxRuntime.exports.jsx(Question, { question: visibleQuestion, control: control, getValues: getValues, errors: errors, inputAutoFocus: false, onAnswerChange: updateQuestionVisibility }, visibleQuestion.id) }), visibleQuestion.id);}) }) }), (form === null || form === void 0 ? void 0 : form.trademark) && jsxRuntime.exports.jsx("div", __assign({ className: "".concat(classes$2.trademark, " ").concat(classes$2.conversational) }, { children: form.trademark })), jsxRuntime.exports.jsxs("div", __assign({ className: "".concat(classes$2.
|
|
37675
|
+
'') }, { children: jsxRuntime.exports.jsx(Question, { question: visibleQuestion, control: control, getValues: getValues, errors: errors, inputAutoFocus: false, onAnswerChange: updateQuestionVisibility }, visibleQuestion.id) }), visibleQuestion.id);}) }) }), (form === null || form === void 0 ? void 0 : form.trademark) && jsxRuntime.exports.jsx("div", __assign({ className: "".concat(classes$2.trademark, " ").concat(classes$2.conversational) }, { children: form.trademark }))] })) })), jsxRuntime.exports.jsx(HostedPageFooter, __assign({ showScrollHint: false }, { children: jsxRuntime.exports.jsxs("div", __assign({ className: "".concat(classes$2.traditional_button_wrapper) }, { children: [formHasErrors && jsxRuntime.exports.jsx("div", { children: jsxRuntime.exports.jsx(Text, __assign({ variant: "textSmall", color: "var(--awell-signalError100)" }, { children: errorLabels.formHasErrors })) }), jsxRuntime.exports.jsx("div", {}), jsxRuntime.exports.jsx(Button, __assign({ onClick: submitForm, type: "submit", "data-cy": "submitFormButton", disabled: isSubmittingForm }, { children: buttonLabels.submit }))] })) }))] });
|
|
37646
37676
|
};
|
|
37647
37677
|
|
|
37648
37678
|
var WizardForm = ConversationalForm;
|
|
@@ -51360,7 +51390,8 @@ Check the top-level render call using <` + t + ">.");
|
|
|
51360
51390
|
|
|
51361
51391
|
var HostedPageLayout = function (_a) {
|
|
51362
51392
|
var children = _a.children,onCloseHostedPage = _a.onCloseHostedPage,logo = _a.logo,_b = _a.hideCloseButton,hideCloseButton = _b === void 0 ? false : _b;
|
|
51363
|
-
|
|
51393
|
+
var layoutMode = useTheme().layoutMode;
|
|
51394
|
+
return jsxRuntime.exports.jsxs("div", __assign({ className: "".concat(classes$4.layout_container, " ").concat(classes$4[layoutMode]) }, { children: [!hideCloseButton && jsxRuntime.exports.jsx(CloseButton, { onClose: onCloseHostedPage }), jsxRuntime.exports.jsx("header", { children: jsxRuntime.exports.jsx(Navbar, { logo: logo }) }), children] }));
|
|
51364
51395
|
};
|
|
51365
51396
|
|
|
51366
51397
|
exports.AttachmentList = AttachmentList;
|
|
@@ -51413,6 +51444,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
51413
51444
|
exports.useClickOutsideNotifier = useClickOutsideNotifier;
|
|
51414
51445
|
exports.useConversationalForm = useConversationalForm;
|
|
51415
51446
|
exports.useScrollHint = useScrollHint;
|
|
51447
|
+
exports.useTheme = useTheme;
|
|
51416
51448
|
exports.useTraditionalForm = useTraditionalForm;
|
|
51417
51449
|
|
|
51418
51450
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -17,5 +17,5 @@ export { RangeInput } from './rangeInput';
|
|
|
17
17
|
export { RichTextViewer } from './richTextViewer';
|
|
18
18
|
export { ScrollIndicator } from './scrollIndicator';
|
|
19
19
|
export { Select } from './select';
|
|
20
|
-
export { ThemeProvider } from './themeProvider';
|
|
20
|
+
export { ThemeProvider, useTheme } from './themeProvider';
|
|
21
21
|
export { TypingCaret, WithTypingCaret } from './typingCaret';
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
|
+
declare type LayoutMode = 'fullViewportHeight' | 'flexible';
|
|
3
|
+
interface ThemeContextType {
|
|
4
|
+
accentColor: string;
|
|
5
|
+
layoutMode: LayoutMode;
|
|
6
|
+
updateLayoutMode: (mode: LayoutMode) => void;
|
|
7
|
+
resetLayoutMode: () => void;
|
|
8
|
+
}
|
|
2
9
|
export interface ThemeProviderProps {
|
|
3
10
|
children: React.ReactNode | string;
|
|
4
11
|
accentColor?: string;
|
|
5
12
|
}
|
|
6
13
|
export declare const ThemeProvider: FC<ThemeProviderProps>;
|
|
14
|
+
export declare const useTheme: () => ThemeContextType;
|
|
15
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ThemeProvider } from './ThemeProvider';
|
|
1
|
+
export { ThemeProvider, useTheme } from './ThemeProvider';
|
|
2
2
|
export type { ThemeProviderProps } from './ThemeProvider';
|
|
@@ -9,7 +9,6 @@ export declare const descriptionFixture: ({
|
|
|
9
9
|
}[];
|
|
10
10
|
}[];
|
|
11
11
|
}[];
|
|
12
|
-
url?: undefined;
|
|
13
12
|
} | {
|
|
14
13
|
type: string;
|
|
15
14
|
children: ({
|
|
@@ -25,32 +24,22 @@ export declare const descriptionFixture: ({
|
|
|
25
24
|
}[];
|
|
26
25
|
text?: undefined;
|
|
27
26
|
})[];
|
|
28
|
-
url?: undefined;
|
|
29
27
|
} | {
|
|
30
28
|
type: string;
|
|
31
29
|
children: {
|
|
32
30
|
text: string;
|
|
33
31
|
italic: boolean;
|
|
34
32
|
}[];
|
|
35
|
-
url?: undefined;
|
|
36
33
|
} | {
|
|
37
34
|
type: string;
|
|
38
35
|
children: {
|
|
39
36
|
text: string;
|
|
40
37
|
underline: boolean;
|
|
41
38
|
}[];
|
|
42
|
-
url?: undefined;
|
|
43
39
|
} | {
|
|
44
40
|
type: string;
|
|
45
41
|
children: {
|
|
46
42
|
text: string;
|
|
47
43
|
strikethrough: boolean;
|
|
48
44
|
}[];
|
|
49
|
-
url?: undefined;
|
|
50
|
-
} | {
|
|
51
|
-
type: string;
|
|
52
|
-
url: string;
|
|
53
|
-
children: {
|
|
54
|
-
text: string;
|
|
55
|
-
}[];
|
|
56
45
|
})[];
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Button, CheckboxButton, DatePicker, Description, InputField, QuestionLabel, Logo, LongTextField, RadioButton, RangeInput, RichTextViewer, HeadingMain, HeadingSecondary, HeadingTertiary, SubHeading, Heading5, Heading6, Text, InlineText, ExternalLink, InnerText, CircularSpinner, HorizontalSpinner, ThemeProvider, ScrollIndicator, Modal, CalDotComScheduling, type CalDotComBookingSuccessfulFunction, ProgressIndicator, TypingCaret, WithTypingCaret, Select, } from './atoms';
|
|
1
|
+
export { Button, CheckboxButton, DatePicker, Description, InputField, QuestionLabel, Logo, LongTextField, RadioButton, RangeInput, RichTextViewer, HeadingMain, HeadingSecondary, HeadingTertiary, SubHeading, Heading5, Heading6, Text, InlineText, ExternalLink, InnerText, CircularSpinner, HorizontalSpinner, ThemeProvider, useTheme, ScrollIndicator, Modal, CalDotComScheduling, type CalDotComBookingSuccessfulFunction, ProgressIndicator, TypingCaret, WithTypingCaret, Select, } from './atoms';
|
|
2
2
|
export { MultipleChoiceQuestion, Navbar, Question, SingleChoiceQuestion, AttachmentList, } from './molecules';
|
|
3
3
|
export { Checklist, ConversationalForm, TraditionalForm, WizardForm, Message, HostedPageLayout, CloseButton, CloudinaryUpload, CloudinarySingleFileUpload, } from './hostedPages';
|
|
4
4
|
export { useClickOutsideNotifier, useScrollHint, useConversationalForm, useTraditionalForm, } from './hooks';
|