@aehrc/smart-forms-renderer 0.31.1 → 0.31.3
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/lib/index.d.ts +1 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +3 -0
- package/src/stories/itemTypes/Attachment.stories.tsx +1 -1
- package/src/stories/itemTypes/Boolean.stories.tsx +1 -1
- package/src/stories/itemTypes/Choice.stories.tsx +1 -1
- package/src/stories/itemTypes/Date.stories.tsx +1 -1
- package/src/stories/itemTypes/DateTime.stories.tsx +1 -1
- package/src/stories/itemTypes/Decimal.stories.tsx +1 -1
- package/src/stories/itemTypes/Display.stories.tsx +1 -1
- package/src/stories/itemTypes/Group.stories.tsx +1 -1
- package/src/stories/itemTypes/Integer.stories.tsx +1 -1
- package/src/stories/itemTypes/OpenChoice.stories.tsx +1 -1
- package/src/stories/itemTypes/Quantity.stories.tsx +1 -1
- package/src/stories/itemTypes/Reference.stories.tsx +1 -1
- package/src/stories/itemTypes/String.stories.tsx +1 -1
- package/src/stories/itemTypes/Text.stories.tsx +1 -1
- package/src/stories/itemTypes/Time.stories.tsx +1 -1
- package/src/stories/itemTypes/Url.stories.tsx +1 -1
- package/src/stories/sdc/AdvancedAdditionalDisplayContent.stories.tsx +1 -1
- package/src/stories/sdc/AdvancedControlAppearance.stories.tsx +1 -1
- package/src/stories/sdc/AdvancedOther.stories.tsx +1 -1
- package/src/stories/sdc/AdvancedTextAppearance.stories.tsx +1 -1
- package/src/stories/sdc/BehaviorCalculations.stories.tsx +1 -1
- package/src/stories/sdc/BehaviorChoiceRestriction.stories.tsx +1 -1
- package/src/stories/sdc/BehaviorOther.stories.tsx +1 -1
- package/src/stories/sdc/BehaviorValueConstraints.stories.tsx +1 -1
- package/src/stories/sdc/FormPopulation.stories.tsx +1 -1
- package/src/stories/sdc/ItemControlDisplay.stories.tsx +1 -1
- package/src/stories/sdc/ItemControlGroup.stories.tsx +1 -1
- package/src/stories/sdc/ItemControlQuestion.stories.tsx +1 -1
- package/src/stories/testing/BuildFormButtonTesterWrapper.stories.tsx +1 -1
- package/src/stories/testing/PrePopButtonTesterWrapper.stories.tsx +1 -1
- package/src/stories/testing/ValidateFormTesterWrapper.stories.tsx +1 -1
- /package/src/stories/{StorybookWrappers → storybookWrappers}/BuildFormButtonForStorybook.tsx +0 -0
- /package/src/stories/{StorybookWrappers → storybookWrappers}/BuildFormButtonTesterWrapperForStorybook.tsx +0 -0
- /package/src/stories/{StorybookWrappers → storybookWrappers}/BuildFormWrapperForStorybook.tsx +0 -0
- /package/src/stories/{StorybookWrappers → storybookWrappers}/FormValidationTesterWrapperForStorybook.tsx +0 -0
- /package/src/stories/{StorybookWrappers → storybookWrappers}/FormValidationViewerForStorybook.tsx +0 -0
- /package/src/stories/{StorybookWrappers → storybookWrappers}/InitialiseFormWrapperForStorybook.tsx +0 -0
- /package/src/stories/{StorybookWrappers → storybookWrappers}/PrePopButtonForStorybook.tsx +0 -0
- /package/src/stories/{StorybookWrappers → storybookWrappers}/PrePopWrapperForStorybook.tsx +0 -0
- /package/src/stories/{StorybookWrappers → storybookWrappers}/ValidateFormButtonForStorybook.tsx +0 -0
- /package/src/stories/{StorybookWrappers → storybookWrappers}/index.ts +0 -0
- /package/src/stories/{StorybookWrappers → storybookWrappers}/populateCallbackForStorybook.ts +0 -0
package/lib/index.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ export { useHidden, useBuildForm, useRendererQueryClient } from './hooks';
|
|
|
7
7
|
export type { ItemToRepopulate } from './utils';
|
|
8
8
|
export { buildForm, destroyForm, getResponse, removeEmptyAnswersFromResponse, isSpecificItemControl, isRepeatItemAndNotCheckbox, initialiseQuestionnaireResponse, generateItemsToRepopulate, repopulateResponse } from './utils';
|
|
9
9
|
export { RendererThemeProvider } from './theme';
|
|
10
|
+
export { InitialiseFormWrapperForStorybook } from './stories/StorybookWrappers';
|
package/lib/index.js
CHANGED
|
@@ -5,4 +5,6 @@ export { useHidden, useBuildForm, useRendererQueryClient } from './hooks';
|
|
|
5
5
|
export { buildForm, destroyForm, getResponse, removeEmptyAnswersFromResponse, isSpecificItemControl, isRepeatItemAndNotCheckbox, initialiseQuestionnaireResponse, generateItemsToRepopulate, repopulateResponse } from './utils';
|
|
6
6
|
// theme provider exports
|
|
7
7
|
export { RendererThemeProvider } from './theme';
|
|
8
|
+
// wrapper exports - only for smartforms.csiro.au/standalone use
|
|
9
|
+
export { InitialiseFormWrapperForStorybook } from './stories/StorybookWrappers';
|
|
8
10
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,UAAU,EACV,UAAU,EACV,WAAW,EACX,UAAU,EACV,SAAS,EACT,0BAA0B,EAC3B,MAAM,cAAc,CAAC;AAStB,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7B,gBAAgB,EAChB,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,EAC1B,MAAM,UAAU,CAAC;AAElB,gBAAgB;AAChB,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAI1E,OAAO,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,8BAA8B,EAC9B,qBAAqB,EACrB,0BAA0B,EAC1B,+BAA+B,EAC/B,yBAAyB,EACzB,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAEjB,yBAAyB;AACzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,UAAU,EACV,UAAU,EACV,WAAW,EACX,UAAU,EACV,SAAS,EACT,0BAA0B,EAC3B,MAAM,cAAc,CAAC;AAStB,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7B,gBAAgB,EAChB,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,EAC1B,MAAM,UAAU,CAAC;AAElB,gBAAgB;AAChB,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAI1E,OAAO,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,8BAA8B,EAC9B,qBAAqB,EACrB,0BAA0B,EAC1B,+BAA+B,EAC/B,yBAAyB,EACzB,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAEjB,yBAAyB;AACzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,gEAAgE;AAChE,OAAO,EAAE,iCAAiC,EAAE,MAAM,6BAA6B,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import { qAttachmentBasic } from '../assets/questionnaires';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
qBooleanCalculation,
|
|
22
22
|
qrBooleanBasicResponse
|
|
23
23
|
} from '../assets/questionnaires';
|
|
24
|
-
import BuildFormWrapperForStorybook from '../
|
|
24
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook'; // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
25
25
|
|
|
26
26
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
27
27
|
const meta = {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import {
|
|
21
21
|
qChoiceAnswerOptionBasic,
|
|
22
22
|
qChoiceAnswerOptionCalculation,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import { qDateBasic, qrDateBasicResponse } from '../assets/questionnaires';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import { qDateTimeBasic, qrDateTimeBasicResponse } from '../assets/questionnaires';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import {
|
|
21
21
|
qCalculatedExpressionBMICalculator,
|
|
22
22
|
qDecimalBasic,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import { qDisplayBasic, qDisplayCalculation } from '../assets/questionnaires/QDisplay';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import { qGroupBasic } from '../assets/questionnaires/QGroup';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import {
|
|
21
21
|
qIntegerBasic,
|
|
22
22
|
qIntegerCalculation,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import {
|
|
21
21
|
qOpenChoiceAnswerOptionBasic,
|
|
22
22
|
qOpenChoiceAnswerValueSetBasic,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import { qQuantityBasic } from '../assets/questionnaires';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import { qReferenceBasic } from '../assets/questionnaires';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import { qrStringBasicResponse, qStringBasic, qStringCalculation } from '../assets/questionnaires';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import { qrTextBasicResponse, qTextBasic, qTextCalculation } from '../assets/questionnaires';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import { qTimeBasic } from '../assets/questionnaires';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import { qUrlBasic } from '../assets/questionnaires';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import { qEntryFormat, qQuestionnaireUnit, qShortText } from '../assets/questionnaires';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import { qChoiceOrientation, qItemControl, qSliderStepValue } from '../assets/questionnaires';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import {
|
|
21
21
|
qReadOnly,
|
|
22
22
|
qRepeatsAutocomplete,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import {
|
|
21
21
|
qDisplayCategoryInstructions,
|
|
22
22
|
qHidden,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import {
|
|
21
21
|
qCalculatedExpressionBMICalculator,
|
|
22
22
|
qCalculatedExpressionCvdRiskCalculator,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import {
|
|
21
21
|
qAnswerExpression,
|
|
22
22
|
qAnswerOption,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import {
|
|
21
21
|
qEnableBehaviorAll,
|
|
22
22
|
qEnableBehaviorAny,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import {
|
|
21
21
|
qMaxDecimalPlaces,
|
|
22
22
|
qMaxLength,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import PrePopWrapperForStorybook from '../
|
|
19
|
+
import PrePopWrapperForStorybook from '../storybookWrappers/PrePopWrapperForStorybook';
|
|
20
20
|
import {
|
|
21
21
|
qCalculatedExpressionBMICalculatorPrepop,
|
|
22
22
|
qCalculatedExpressionCvdRiskCalculatorPrepop,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import {
|
|
21
21
|
qItemControlDisplayContextDisplay,
|
|
22
22
|
qItemControlDisplayFlyover,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import {
|
|
21
21
|
qItemControlDisplayTabContainer,
|
|
22
22
|
qItemControlGroupGridMultiRow,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormWrapperForStorybook from '../
|
|
19
|
+
import BuildFormWrapperForStorybook from '../storybookWrappers/BuildFormWrapperForStorybook';
|
|
20
20
|
import {
|
|
21
21
|
qChoiceCheckboxAnswerOption,
|
|
22
22
|
qChoiceCheckboxAnswerValueSet,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import BuildFormButtonTesterWrapperForStorybook from '../
|
|
19
|
+
import BuildFormButtonTesterWrapperForStorybook from '../storybookWrappers/BuildFormButtonTesterWrapperForStorybook';
|
|
20
20
|
import { qButtonTester, qrButtonTesterResponse } from '../assets/questionnaires/QButtonTester';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import PrePopWrapperForStorybook from '../
|
|
19
|
+
import PrePopWrapperForStorybook from '../storybookWrappers/PrePopWrapperForStorybook';
|
|
20
20
|
import { mockFhirClient } from '../assets/fhirClient/mockFhirClient';
|
|
21
21
|
import { patSmartForm } from '../assets/patients/PatSmartForm';
|
|
22
22
|
import { pracPrimaryPeter } from '../assets/practitioners/PracPrimaryPeter';
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
19
|
-
import ValidationFormTesterWrapper from '../
|
|
19
|
+
import ValidationFormTesterWrapper from '../storybookWrappers/FormValidationTesterWrapperForStorybook';
|
|
20
20
|
import { qValidateTester } from '../assets/questionnaires/QValidateTester';
|
|
21
21
|
|
|
22
22
|
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
/package/src/stories/{StorybookWrappers → storybookWrappers}/BuildFormButtonForStorybook.tsx
RENAMED
|
File without changes
|
|
File without changes
|
/package/src/stories/{StorybookWrappers → storybookWrappers}/BuildFormWrapperForStorybook.tsx
RENAMED
|
File without changes
|
|
File without changes
|
/package/src/stories/{StorybookWrappers → storybookWrappers}/FormValidationViewerForStorybook.tsx
RENAMED
|
File without changes
|
/package/src/stories/{StorybookWrappers → storybookWrappers}/InitialiseFormWrapperForStorybook.tsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/stories/{StorybookWrappers → storybookWrappers}/ValidateFormButtonForStorybook.tsx
RENAMED
|
File without changes
|
|
File without changes
|
/package/src/stories/{StorybookWrappers → storybookWrappers}/populateCallbackForStorybook.ts
RENAMED
|
File without changes
|