@aehrc/smart-forms-renderer 0.31.0 → 0.31.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.
@@ -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.1",
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';
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 }