@kbss-cvut/s-forms 0.7.2-beta-8d9d462.0 → 0.7.2-beta-d74849d.0
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,8 +40,8 @@ Building SForms library can be done using `npm run build:lib`.
|
|
|
40
40
|
|
|
41
41
|
Storybook is an open-source tool for building UI components and pages in isolation. Rendering of a form or a specific component can be tested through a story provided in `./src/stories/`. The application can be started by executing npm script through `npm run dev` and then accessing `localhost:6006` from a browser. It renders the forms provided by the file `./src/stories/assets/`. See `./src/stories/SForms/SForms.stories.tsx` for more details.
|
|
42
42
|
|
|
43
|
-
#### Testing forms with
|
|
44
|
-
With the Storybook [toolbar](https://storybook.js.org/docs/essentials/toolbars-and-globals),
|
|
43
|
+
#### Testing forms with Storybook toolbar
|
|
44
|
+
With the Storybook [toolbar](https://storybook.js.org/docs/essentials/toolbars-and-globals), testing a set of predefined global variables is possible. The toolbar supports the following features:
|
|
45
45
|
- Icon behavior: Set the behavior for the icons
|
|
46
46
|
- Locale: Set the internationalization locale
|
|
47
47
|
- Debug mode: Show irrelevant questions
|