@bridgephase/pylon-ui
v0.0.27
Published
```bash nvm use npm install npm run dev ```
Keywords
Readme
Pylon UI
Running Sample App
nvm use
npm install
npm run devKnown Issues
- Mantine Grid container doesn't work with USWDS styles imported (SimpleGrid does work)
- Alerts don't support USWDS slim or headingLevel properties
USWDS Component Targets
Components used in Waves application:
| USWDS | Mantine | Progress |
| ----------------- | ---------------------- | ------------------------------------------------------ |
| Accordion | Accordion | |
| Address | PylonFooterItems |
|
| Alert | Alert |
|
| Breadcrumb | Breadcrumbs* |
|
| BreadcrumbItem | Breadcrumbs* |
|
| Button | Button |
|
| ButtonGroup | Group |
|
| Card | Card |
|
| CardBody | Card.Section** |
|
| CardGroup | PylonCardGroup |
|
| CardHeader | Card.Section** |
|
| Checkbox | Checkbox |
|
| Collection | PylonCollection |
|
| CollectionHeading | PylonCollectionHeading |
|
| CollectionItem | PylonCollectionItem |
|
| CollectionMeta | PylonCollectionMeta |
|
| DatePicker | DateInput |
|
| ErrorMessage | Input.Error |
|
| Footer | PylonFooter |
|
| Grid | Grid |
|
| GridContainer | Container |
|
| Header | AppShell.Header |
|
| Icon | Icon |
|
| InputGroup | FieldSet |
|
| InputSuffix | TextInput |
|
| Label | PylonLabel |
|
| Link | Anchor |
|
| Logo | PylonFooter |
|
| Modal | Modal |
|
| ModalRef | useModalsStack |
|
| NavMenuButton | Burger |
|
| Pagination | Pagination |
|
| PrimaryNav | PylonHeaderNav |
|
| RequiredMarker | – |
|
| Select | Select |
|
| StepIndicator | Stepper |
|
| StepIndicatorStep | Stepper.Step |
|
| Table | Table |
|
| Tag | Badge |
|
| TextInput | TextInput |
|
| TextInputMask | PylonMaskedTextInput |
|
| Title | AppShellHeaderTitle |
|
Packaging Release
You might need to install json if you don't already have it: npm install -g json
npm run prepacknpm publish- Verify: https://www.npmjs.com/package/@bridgephase/pylon-ui
React + TypeScript + Vite Template README
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptionsproperty like this:
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},- Replace
plugin:@typescript-eslint/recommendedtoplugin:@typescript-eslint/recommended-type-checkedorplugin:@typescript-eslint/strict-type-checked - Optionally add
plugin:@typescript-eslint/stylistic-type-checked - Install eslint-plugin-react and add
plugin:react/recommended&plugin:react/jsx-runtimeto theextendslist
