@aehrc/smart-forms-renderer 0.31.1 → 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 (43) hide show
  1. package/package.json +1 -1
  2. package/src/stories/itemTypes/Attachment.stories.tsx +1 -1
  3. package/src/stories/itemTypes/Boolean.stories.tsx +1 -1
  4. package/src/stories/itemTypes/Choice.stories.tsx +1 -1
  5. package/src/stories/itemTypes/Date.stories.tsx +1 -1
  6. package/src/stories/itemTypes/DateTime.stories.tsx +1 -1
  7. package/src/stories/itemTypes/Decimal.stories.tsx +1 -1
  8. package/src/stories/itemTypes/Display.stories.tsx +1 -1
  9. package/src/stories/itemTypes/Group.stories.tsx +1 -1
  10. package/src/stories/itemTypes/Integer.stories.tsx +1 -1
  11. package/src/stories/itemTypes/OpenChoice.stories.tsx +1 -1
  12. package/src/stories/itemTypes/Quantity.stories.tsx +1 -1
  13. package/src/stories/itemTypes/Reference.stories.tsx +1 -1
  14. package/src/stories/itemTypes/String.stories.tsx +1 -1
  15. package/src/stories/itemTypes/Text.stories.tsx +1 -1
  16. package/src/stories/itemTypes/Time.stories.tsx +1 -1
  17. package/src/stories/itemTypes/Url.stories.tsx +1 -1
  18. package/src/stories/sdc/AdvancedAdditionalDisplayContent.stories.tsx +1 -1
  19. package/src/stories/sdc/AdvancedControlAppearance.stories.tsx +1 -1
  20. package/src/stories/sdc/AdvancedOther.stories.tsx +1 -1
  21. package/src/stories/sdc/AdvancedTextAppearance.stories.tsx +1 -1
  22. package/src/stories/sdc/BehaviorCalculations.stories.tsx +1 -1
  23. package/src/stories/sdc/BehaviorChoiceRestriction.stories.tsx +1 -1
  24. package/src/stories/sdc/BehaviorOther.stories.tsx +1 -1
  25. package/src/stories/sdc/BehaviorValueConstraints.stories.tsx +1 -1
  26. package/src/stories/sdc/FormPopulation.stories.tsx +1 -1
  27. package/src/stories/sdc/ItemControlDisplay.stories.tsx +1 -1
  28. package/src/stories/sdc/ItemControlGroup.stories.tsx +1 -1
  29. package/src/stories/sdc/ItemControlQuestion.stories.tsx +1 -1
  30. package/src/stories/testing/BuildFormButtonTesterWrapper.stories.tsx +1 -1
  31. package/src/stories/testing/PrePopButtonTesterWrapper.stories.tsx +1 -1
  32. package/src/stories/testing/ValidateFormTesterWrapper.stories.tsx +1 -1
  33. /package/src/stories/{StorybookWrappers → storybookWrappers}/BuildFormButtonForStorybook.tsx +0 -0
  34. /package/src/stories/{StorybookWrappers → storybookWrappers}/BuildFormButtonTesterWrapperForStorybook.tsx +0 -0
  35. /package/src/stories/{StorybookWrappers → storybookWrappers}/BuildFormWrapperForStorybook.tsx +0 -0
  36. /package/src/stories/{StorybookWrappers → storybookWrappers}/FormValidationTesterWrapperForStorybook.tsx +0 -0
  37. /package/src/stories/{StorybookWrappers → storybookWrappers}/FormValidationViewerForStorybook.tsx +0 -0
  38. /package/src/stories/{StorybookWrappers → storybookWrappers}/InitialiseFormWrapperForStorybook.tsx +0 -0
  39. /package/src/stories/{StorybookWrappers → storybookWrappers}/PrePopButtonForStorybook.tsx +0 -0
  40. /package/src/stories/{StorybookWrappers → storybookWrappers}/PrePopWrapperForStorybook.tsx +0 -0
  41. /package/src/stories/{StorybookWrappers → storybookWrappers}/ValidateFormButtonForStorybook.tsx +0 -0
  42. /package/src/stories/{StorybookWrappers → storybookWrappers}/index.ts +0 -0
  43. /package/src/stories/{StorybookWrappers → storybookWrappers}/populateCallbackForStorybook.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aehrc/smart-forms-renderer",
3
- "version": "0.31.1",
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": {
@@ -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