Skip to content

Commit

Permalink
Update package versions and fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
fongsean committed Jun 21, 2024
1 parent 7b4a20d commit ad43e61
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 15 deletions.
2 changes: 1 addition & 1 deletion apps/smart-forms-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@aehrc/sdc-assemble": "^1.2.0",
"@aehrc/sdc-populate": "^2.2.3",
"@aehrc/smart-forms-renderer": "^0.35.7",
"@aehrc/smart-forms-renderer": "^0.35.8",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@fontsource/material-icons": "^5.0.18",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import NotesIcon from '@mui/icons-material/Notes';
import AccountTreeIcon from '@mui/icons-material/AccountTree';
import ContentCopyIcon from '@mui/icons-material/ContentCopy';
import DebugResponseView from '../../../renderer/components/RendererDebugFooter/DebugResponseView.tsx';
import { ReactNode } from 'react';
import type { ReactNode } from 'react';

interface GenericViewerProps {
propertyName: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ The heading of the group to repopulate

***

### newQRItem
### newQRItem?

> **newQRItem**: `QuestionnaireResponseItem`
> `optional` **newQRItem**: `QuestionnaireResponseItem`
The new QuestionnaireResponseItem to replace the old one

***

### newQRItems
### newQRItems?

> **newQRItems**: `QuestionnaireResponseItem`[]
> `optional` **newQRItems**: `QuestionnaireResponseItem`[]
The new QuestionnaireResponseItems to replace the old ones

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ LinkId of the currently focused item

***

### initialExpressions

> **initialExpressions**: `Record`\<`string`, `InitialExpression`\>
***

### itemTypes

> **itemTypes**: `Record`\<`string`, `string`\>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,14 @@ This is the React version of the store which can be used as React hooks in React

`string`

### use.initialExpressions()

> **initialExpressions**: () => `Record`\<`string`, `InitialExpression`\>
#### Returns

`Record`\<`string`, `InitialExpression`\>

### use.itemTypes()

> **itemTypes**: () => `Record`\<`string`, `string`\>
Expand Down
2 changes: 0 additions & 2 deletions documentation/docs/sdc/advanced/question.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,6 @@ SliderStepValue is only supported on the [itemControl](https://hl7.org/fhir/exte

Allows the child items of a group to be displayed in a collapsible form where items can be shown and hidden from the view. It is useful for particularly long questionnaires.

Collapsible is only supported on **group** items.

#### Non-Group - Default Open Usage

<IframeContainer storyUrl="https://smartforms.csiro.au/storybook/?path=/story/component-sdc-8-1-2-advanced-control-appearance--collapsible-single-default-open">
Expand Down
2 changes: 1 addition & 1 deletion documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"typecheck": "tsc"
},
"dependencies": {
"@aehrc/smart-forms-renderer": "^0.35.5",
"@aehrc/smart-forms-renderer": "^0.35.8",
"@docusaurus/core": "^3.4.0",
"@docusaurus/preset-classic": "^3.4.0",
"@docusaurus/theme-live-codeblock": "^3.4.0",
Expand Down
8 changes: 4 additions & 4 deletions 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": "0.35.7",
"version": "0.35.8",
"description": "FHIR Structured Data Captured (SDC) rendering engine for Smart Forms",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion services/extract-express/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "extract-express",
"version": "0.1.0",
"version": "0.2.0",
"description": "",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit ad43e61

Please sign in to comment.