Skip to content

Monorail Release v0.0.18 - 'X Ambassadors'

Compare
Choose a tag to compare
@steve-jones steve-jones released this 22 Nov 20:05
· 17 commits to master since this release
806288b

Monorail Release v0.0.18 - 'X Ambassadors'

package.json

  • Update: ”@types/styled-components": "4.4.0"
  • Update: "styled-components": "4.4.1"
  • Update: "typescript": "3.7.2"

src/pageComponents/ContentPage/ContentBody.tsx

  • Add scrollCSS

Dropdown

  • Added clearable? prop that defaults to true, which displays a clear IconButton within the dropdown component when an item is selected
  • Added display? prop that defaults to DisplayType.Edit, which displays either regular Dropdown or read-only text of the selected value

src/visualComponents/inputs/CheckboxSelect.tsx

  • Updated import to reflect changes to Choice

src/visualComponents/inputs/Choice.tsx

  • Removed BB and CC prefixes from styled components
  • Converted component from FCwDP to FC

src/visualComponents/inputs/Label.tsx

  • Added display prop so Label can conditionally display asterisk

src/visualComponents/inputs/RadioGroup.tsx

  • Converted SFC to FC
  • Added display? prop that defaults to DisplayType.Edit, which displays either regular RadioGroup or read-only text of the selected value

src/visualComponents/inputs/TextArea.tsx

  • Added display? prop that defaults to DisplayType.Edit, which displays either regular TextArea or read-only text
  • Converted class to FC

src/visualComponents/inputs/TextField.tsx

  • Added display? prop that defaults to DisplayType.Edit, which displays either regular TextField or read-only text

src/visualComponents/inputs/ViewInput.tsx

  • Added component that displays read-only text or None

src/visualComponents/inputs/inputTypes.ts

  • Moved DisplayType declaration to Monorail

src/visualComponents/loading/Loading.tsx

  • Rename: loading.jsonloadingData.json

src/visualComponents/loading/LoadingGeneric.tsx

  • Rename: loadingGeneric.jsonloadingGenericData.json

src/visualComponents/modals/Modals.tsx

  • Add ‘modal-’ className to allow global style customization to modal positioning