@aehrc/smart-forms-renderer 0.31.0 → 0.31.2

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.
Files changed (51) hide show
  1. package/lib/components/Renderer/SmartFormsRenderer.d.ts +1 -1
  2. package/lib/components/Renderer/SmartFormsRenderer.js +1 -1
  3. package/lib/index.d.ts +0 -1
  4. package/lib/index.js +0 -1
  5. package/lib/index.js.map +1 -1
  6. package/package.json +2 -2
  7. package/src/components/Renderer/SmartFormsRenderer.tsx +1 -1
  8. package/src/index.ts +0 -6
  9. package/src/stories/itemTypes/Attachment.stories.tsx +1 -1
  10. package/src/stories/itemTypes/Boolean.stories.tsx +1 -1
  11. package/src/stories/itemTypes/Choice.stories.tsx +1 -1
  12. package/src/stories/itemTypes/Date.stories.tsx +1 -1
  13. package/src/stories/itemTypes/DateTime.stories.tsx +1 -1
  14. package/src/stories/itemTypes/Decimal.stories.tsx +1 -1
  15. package/src/stories/itemTypes/Display.stories.tsx +1 -1
  16. package/src/stories/itemTypes/Group.stories.tsx +1 -1
  17. package/src/stories/itemTypes/Integer.stories.tsx +1 -1
  18. package/src/stories/itemTypes/OpenChoice.stories.tsx +1 -1
  19. package/src/stories/itemTypes/Quantity.stories.tsx +1 -1
  20. package/src/stories/itemTypes/Reference.stories.tsx +1 -1
  21. package/src/stories/itemTypes/String.stories.tsx +1 -1
  22. package/src/stories/itemTypes/Text.stories.tsx +1 -1
  23. package/src/stories/itemTypes/Time.stories.tsx +1 -1
  24. package/src/stories/itemTypes/Url.stories.tsx +1 -1
  25. package/src/stories/sdc/AdvancedAdditionalDisplayContent.stories.tsx +1 -1
  26. package/src/stories/sdc/AdvancedControlAppearance.stories.tsx +1 -1
  27. package/src/stories/sdc/AdvancedOther.stories.tsx +1 -1
  28. package/src/stories/sdc/AdvancedTextAppearance.stories.tsx +1 -1
  29. package/src/stories/sdc/BehaviorCalculations.stories.tsx +1 -1
  30. package/src/stories/sdc/BehaviorChoiceRestriction.stories.tsx +1 -1
  31. package/src/stories/sdc/BehaviorOther.stories.tsx +1 -1
  32. package/src/stories/sdc/BehaviorValueConstraints.stories.tsx +1 -1
  33. package/src/stories/sdc/FormPopulation.stories.tsx +1 -1
  34. package/src/stories/sdc/ItemControlDisplay.stories.tsx +1 -1
  35. package/src/stories/sdc/ItemControlGroup.stories.tsx +1 -1
  36. package/src/stories/sdc/ItemControlQuestion.stories.tsx +1 -1
  37. package/src/stories/testing/BuildFormButtonTesterWrapper.stories.tsx +1 -1
  38. package/src/stories/testing/PrePopButtonTesterWrapper.stories.tsx +1 -1
  39. package/src/stories/testing/ValidateFormTesterWrapper.stories.tsx +1 -1
  40. package/vite.config.ts +1 -1
  41. /package/src/stories/{StorybookWrappers → storybookWrappers}/BuildFormButtonForStorybook.tsx +0 -0
  42. /package/src/stories/{StorybookWrappers → storybookWrappers}/BuildFormButtonTesterWrapperForStorybook.tsx +0 -0
  43. /package/src/stories/{StorybookWrappers → storybookWrappers}/BuildFormWrapperForStorybook.tsx +0 -0
  44. /package/src/stories/{StorybookWrappers → storybookWrappers}/FormValidationTesterWrapperForStorybook.tsx +0 -0
  45. /package/src/stories/{StorybookWrappers → storybookWrappers}/FormValidationViewerForStorybook.tsx +0 -0
  46. /package/src/stories/{StorybookWrappers → storybookWrappers}/InitialiseFormWrapperForStorybook.tsx +0 -0
  47. /package/src/stories/{StorybookWrappers → storybookWrappers}/PrePopButtonForStorybook.tsx +0 -0
  48. /package/src/stories/{StorybookWrappers → storybookWrappers}/PrePopWrapperForStorybook.tsx +0 -0
  49. /package/src/stories/{StorybookWrappers → storybookWrappers}/ValidateFormButtonForStorybook.tsx +0 -0
  50. /package/src/stories/{StorybookWrappers → storybookWrappers}/index.ts +0 -0
  51. /package/src/stories/{StorybookWrappers → storybookWrappers}/populateCallbackForStorybook.ts +0 -0
@@ -24,7 +24,7 @@ export interface SmartFormsRendererProps {
24
24
  /**
25
25
  * A self-initialising wrapper around the BaseRenderer rendering engine.
26
26
  * Will be deprecated in version 1.0.0. For alternative usage, see:
27
- * - https://github.com/aehrc/smart-forms/blob/main/packages/smart-forms-renderer/src/stories/InitialiseFormWrapperForStorybook.tsx#L40-L51
27
+ * - https://github.com/aehrc/smart-forms/blob/main/packages/smart-forms-renderer/src/stories/StorybookWrappers/InitialiseFormWrapperForStorybook.tsx#L40-L51
28
28
  *
29
29
  * @see {SmartFormsRendererProps} for props.
30
30
  *
@@ -27,7 +27,7 @@ import BaseRenderer from './BaseRenderer';
27
27
  /**
28
28
  * A self-initialising wrapper around the BaseRenderer rendering engine.
29
29
  * Will be deprecated in version 1.0.0. For alternative usage, see:
30
- * - https://github.com/aehrc/smart-forms/blob/main/packages/smart-forms-renderer/src/stories/InitialiseFormWrapperForStorybook.tsx#L40-L51
30
+ * - https://github.com/aehrc/smart-forms/blob/main/packages/smart-forms-renderer/src/stories/StorybookWrappers/InitialiseFormWrapperForStorybook.tsx#L40-L51
31
31
  *
32
32
  * @see {SmartFormsRendererProps} for props.
33
33
  *
package/lib/index.d.ts CHANGED
@@ -7,4 +7,3 @@ 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, BuildFormButtonTesterWrapperForStorybook, PrePopWrapperForStorybook } from './stories/StorybookWrappers';
package/lib/index.js CHANGED
@@ -5,5 +5,4 @@ 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
- export { InitialiseFormWrapperForStorybook, BuildFormButtonTesterWrapperForStorybook, PrePopWrapperForStorybook } from './stories/StorybookWrappers';
9
8
  //# 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;AAEhD,OAAO,EACL,iCAAiC,EACjC,wCAAwC,EACxC,yBAAyB,EAC1B,MAAM,6BAA6B,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aehrc/smart-forms-renderer",
3
- "version": "0.31.0",
3
+ "version": "0.31.2",
4
4
  "description": "FHIR Structured Data Captured (SDC) rendering engine for Smart Forms",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "homepage": "https://github.com/aehrc/smart-forms#readme",
29
29
  "dependencies": {
30
- "@aehrc/sdc-populate": "^2.0.1",
30
+ "@aehrc/sdc-populate": "^2.0.2",
31
31
  "@iconify/react": "^4.1.1",
32
32
  "dayjs": "^1.11.10",
33
33
  "deep-diff": "^1.0.2",
@@ -54,7 +54,7 @@ export interface SmartFormsRendererProps {
54
54
  /**
55
55
  * A self-initialising wrapper around the BaseRenderer rendering engine.
56
56
  * Will be deprecated in version 1.0.0. For alternative usage, see:
57
- * - https://github.com/aehrc/smart-forms/blob/main/packages/smart-forms-renderer/src/stories/InitialiseFormWrapperForStorybook.tsx#L40-L51
57
+ * - https://github.com/aehrc/smart-forms/blob/main/packages/smart-forms-renderer/src/stories/StorybookWrappers/InitialiseFormWrapperForStorybook.tsx#L40-L51
58
58
  *
59
59
  * @see {SmartFormsRendererProps} for props.
60
60
  *
package/src/index.ts CHANGED
@@ -51,9 +51,3 @@ export {
51
51
 
52
52
  // theme provider exports
53
53
  export { RendererThemeProvider } from './theme';
54
-
55
- export {
56
- InitialiseFormWrapperForStorybook,
57
- BuildFormButtonTesterWrapperForStorybook,
58
- PrePopWrapperForStorybook
59
- } from './stories/StorybookWrappers';
@@ -16,7 +16,7 @@
16
16
  */
17
17
 
18
18
  import type { Meta, StoryObj } from '@storybook/react';
19
- import BuildFormWrapperForStorybook from '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook'; // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/PrePopWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormWrapperForStorybook';
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 '../StorybookWrappers/BuildFormButtonTesterWrapperForStorybook';
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 '../StorybookWrappers/PrePopWrapperForStorybook';
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 '../StorybookWrappers/FormValidationTesterWrapperForStorybook';
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/vite.config.ts CHANGED
@@ -26,7 +26,7 @@ export default defineConfig({
26
26
  },
27
27
  build: {
28
28
  commonjsOptions: {
29
- include: ['@aehrc/sdc-populate']
29
+ include: [/node_modules/, '@aehrc/sdc-populate']
30
30
  }
31
31
  },
32
32
  resolve: { preserveSymlinks: true }