@mieweb/ui 0.6.1-dev.134 → 0.6.1-dev.135
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 +21 -34
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -729,40 +729,27 @@ We follow [Semantic Versioning](https://semver.org/):
|
|
|
729
729
|
|
|
730
730
|
## Contributing
|
|
731
731
|
|
|
732
|
-
We welcome contributions!
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
1. Create a new directory in `src/components/YourComponent/`
|
|
754
|
-
2. Add the component file: `YourComponent.tsx`
|
|
755
|
-
3. Add the index export: `index.ts`
|
|
756
|
-
4. Add Storybook stories: `YourComponent.stories.tsx`
|
|
757
|
-
5. Export from `src/components/index.ts`
|
|
758
|
-
6. Add to the README components list
|
|
759
|
-
|
|
760
|
-
### Adding a New Brand
|
|
761
|
-
|
|
762
|
-
1. Create `src/brands/your-brand.ts` with the `BrandConfig`
|
|
763
|
-
2. Create `src/brands/your-brand.css` with CSS variables
|
|
764
|
-
3. Export from `src/brands/index.ts`
|
|
765
|
-
4. Add to the README brands table
|
|
732
|
+
We welcome contributions! This README and the [Storybook](https://ui.mieweb.org)
|
|
733
|
+
are the **consumer** docs (how to *use* the library). If you want to *build or
|
|
734
|
+
change* the library itself, the **provider / maintainer** guide is
|
|
735
|
+
**[CONTRIBUTING.md](CONTRIBUTING.md)** — it covers repo layout, the component
|
|
736
|
+
anatomy and conventions, the autodocs story pattern, exports & tree-shaking,
|
|
737
|
+
build, testing (unit + visual baselines), submodules, brands, and the release
|
|
738
|
+
process.
|
|
739
|
+
|
|
740
|
+
Quick start for contributors:
|
|
741
|
+
|
|
742
|
+
```bash
|
|
743
|
+
git clone --recurse-submodules https://github.com/mieweb/ui.git
|
|
744
|
+
cd ui && pnpm install
|
|
745
|
+
pnpm storybook # http://localhost:6006
|
|
746
|
+
# before opening a PR:
|
|
747
|
+
pnpm typecheck && pnpm lint && pnpm format && pnpm test
|
|
748
|
+
```
|
|
749
|
+
|
|
750
|
+
Non-trivial modules also carry a `MAINTAINERS.md` next to the code with internals,
|
|
751
|
+
invariants, and gotchas for that module — see the table in
|
|
752
|
+
[CONTRIBUTING.md](CONTRIBUTING.md#per-component-maintainer-notes).
|
|
766
753
|
|
|
767
754
|
## License
|
|
768
755
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mieweb/ui",
|
|
3
|
-
"version": "0.6.1-dev.
|
|
3
|
+
"version": "0.6.1-dev.135",
|
|
4
4
|
"description": "A themeable, accessible React component library built with Tailwind CSS",
|
|
5
5
|
"author": "Medical Informatics Engineering, Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|