Skip to content

Commit

Permalink
Expose rendererStyling interfaces and store
Browse files Browse the repository at this point in the history
  • Loading branch information
fongsean committed Oct 31, 2024
1 parent df60faa commit 2f88754
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/smart-forms-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aehrc/smart-forms-renderer",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "FHIR Structured Data Captured (SDC) rendering engine for Smart Forms",
"main": "lib/index.js",
"scripts": {
Expand Down
8 changes: 6 additions & 2 deletions packages/smart-forms-renderer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export type {
QuestionnaireStoreType,
QuestionnaireResponseStoreType,
SmartConfigStoreType,
TerminologyServerStoreType
TerminologyServerStoreType,
RendererStyling,
RendererStylingStoreType
} from './stores';
export {
questionnaireStore,
Expand All @@ -40,7 +42,9 @@ export {
smartConfigStore,
useSmartConfigStore,
terminologyServerStore,
useTerminologyServerStore
useTerminologyServerStore,
rendererStylingStore,
useRendererStylingStore
} from './stores';

// hooks exports
Expand Down
3 changes: 3 additions & 0 deletions packages/smart-forms-renderer/src/stores/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ export { smartConfigStore, useSmartConfigStore } from './smartConfigStore';

export type { TerminologyServerStoreType } from './terminologyServerStore';
export { terminologyServerStore, useTerminologyServerStore } from './terminologyServerStore';

export type { RendererStyling, RendererStylingStoreType } from './rendererStylingStore';
export { rendererStylingStore, useRendererStylingStore } from './rendererStylingStore';

0 comments on commit 2f88754

Please sign in to comment.