@bcgov/design-system-react-components 0.6.1 → 0.7.0-pr593

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -87,12 +87,16 @@ export default function App() {
87
87
  | InlineAlert | N/A |
88
88
  | Modal | https://react-aria.adobe.com/Modal |
89
89
  | Link | https://react-spectrum.adobe.com/v3/Link |
90
+ | ProgressBar | https://react-aria.adobe.com/ProgressBar |
91
+ | ProgressCircle | https://react-aria.adobe.com/ProgressBar |
90
92
  | RadioGroup, Radio | https://react-aria.adobe.com/RadioGroup |
91
93
  | Select | https://react-aria.adobe.com/Select |
94
+ | Separator | https://react-aria.adobe.com/Separator |
92
95
  | Switch | https://react-aria.adobe.com/Switch |
93
96
  | TagGroup, TagList, Tag | https://react-aria.adobe.com/TagGroup |
94
97
  | Text | https://react-spectrum.adobe.com/v3/Text |
95
98
  | TextArea, TextField | https://react-aria.adobe.com/TextField |
99
+ | TimeField | https://react-aria.adobe.com/TimeField |
96
100
  | ToggleButton | https://react-aria.adobe.com/ToggleButton |
97
101
  | ToggleButtonGroup | https://react-aria.adobe.com/ToggleButtonGroup |
98
102
  | Tooltip, TooltipTrigger | https://react-aria.adobe.com/Tooltip |
@@ -119,6 +123,8 @@ This project follows semantic versioning. See [CHANGELOG.md](./CHANGELOG.md) for
119
123
 
120
124
  Components live in `./src/components` and are targeted by the build process with an export in `./src/index.ts`.
121
125
 
126
+ The `*.figma.tsx` files alongside each component are used to map component props to their counterpart properties in Figma via [Code Connect](https://help.figma.com/hc/en-us/articles/23920389749655-Code-Connect).
127
+
122
128
  #### Testing components with Vitest
123
129
 
124
130
  Unit tests can be run with Vitest using `npm run test`. Use `npm run test:watch` to run Vitest in watch mode.
@@ -129,9 +135,9 @@ Storybook stories live in `./src/stories`.
129
135
 
130
136
  Run `npm run storybook-dev` to access the Storybook instance for the component library.
131
137
 
132
- New versions of Storybook are automatically built in a GitHub Actions workflow and deployed in the `-dev` namespace in the OpenShift Silver cluster. See `.github/build_react_component_library_apps.yaml`.
138
+ New versions of Storybook are automatically built in a GitHub Actions workflow and deployed in the `-dev` namespace in the OpenShift Silver cluster. New builds are automatically deployed to the `-prod` namespace when a GitHub release is published. See `.github/build_react_component_library_apps.yaml`.
133
139
 
134
- To deploy a new version of Storybook into `-test` or `-prod`, log in to the OpenShift CLI and run:
140
+ To manually deploy a new version of Storybook into `-test` or `-prod`, log in to the OpenShift CLI and run:
135
141
 
136
142
  ```sh
137
143
  # Create a new layer in the `test` ImageStream from the latest `develop` image:
@@ -179,7 +185,11 @@ Then in a local React project folder, use `npm link @bcgov/design-system-react-c
179
185
 
180
186
  ### Linting
181
187
 
182
- ESLint is used for linting. See configuration file `eslint.config.js`.
188
+ ESLint is used for linting. See configuration file `eslint.config.js` and `lint` script in `package.json`.
189
+
190
+ ### Formatting
191
+
192
+ Prettier is used for formatting. See configuration file `prettier.config.js` and `format` scripts in `package.json`.
183
193
 
184
194
  ### Publish new versions
185
195