1.1.28 • Published 5 years ago

catalyst-ui_reactlibrary v1.1.28

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

CATALYST UI library

UI components for Catalyst Applications

Setup

After Cloning Down this Repository...
  • Install dependencies: npm install
  • Run Storybook: npm run storybook
  • Visit: localhost 6006

Components

LystThemeProvider

Code Sandbox Example Must wrap root App component with LystThemeProvider Else render individual Lyst components as children of LystThemeProvider

Props
NameAllowed ValuesDescription
theme'orange', 'green', 'blue'Color selection from Theme

LystLoading

Code Sandbox Example

Props
NameAllowed ValuesDescription
color'primary', 'secondary', 'inherit'Color selection
sizeany numberSize of SVG
thicknessany numberThickness of SVG

LystDrawer

CodeSandbox Example

Props
NameAllowed ValuesDescription
menuItemsArray (see below for schema)items of the menuItems
openbooleanopen/close drawer
interface menuItems: [
  {
    name: string,
    icon: Material UI Icon,
    subItems: [
      {
        name: string,
        path: string
      }
    ]
  }
]
Example
import PersonOutline from '@material-ui/icons/PersonOutline';

[
  {
    name: 'Current Resident',
    icon: PersonOutline,
    subItems: [
      {
        name: 'homepage',
        path: `/current-resident/home`
      }
    ]
  }
]

LystLoginForm

Code Sandbox Example

Props
NameAllowed ValuesDescription
handleChangeFunctionCallback function onChange
requiredbooleanApplies required flag
type'password', 'username'Type of input Field
variant'outlined', 'filled', 'standard'Styles for input

LystTypography

Code Sandbox Example

Props
NameAllowed ValuesDescription
variant"h1", "h2", "h3", "h4', "h5", "h6", "display1", "display2", "display3", "display4", "title", "caption", "headline", "inherit", "overline", "body1", "body2", "subtitle1", "subtitle2"Font size/color Variation
1.1.28

5 years ago

1.1.27

5 years ago

1.1.26

5 years ago

1.1.25

5 years ago

1.1.24

5 years ago

1.1.23

5 years ago

1.1.22

5 years ago

1.1.21

5 years ago

1.1.20

5 years ago

1.1.19

5 years ago

1.1.18

5 years ago

1.1.17

5 years ago

1.1.16

5 years ago

1.1.15

5 years ago

1.1.14

5 years ago

1.1.13

5 years ago

1.1.12

5 years ago

1.1.11

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.27

5 years ago

1.0.26

5 years ago

1.0.25

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago