@apliteni/apliteni-ui 0.49.0 → 0.49.1

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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -224,6 +224,12 @@ the repository root. Start Storybook with `npm run storybook`. For React, use `n
224
224
  storybook -w react`. Before opening a PR, run `npm test`, `npm test -w react`, `npm run
225
225
  build-storybook`, and `node site/build.mjs`.
226
226
 
227
+ Add a general, composable kit component only when all three checks are true:
228
+ (1) the issue names at least two products that use it or have requested it;
229
+ (2) existing components cannot provide it without copying their markup or logic;
230
+ (3) it contains no domain-specific data or rules. Otherwise, build the UI by
231
+ composition and add a Storybook showcase. Keep the vanilla kit’s existing look.
232
+
227
233
  To add a component, put its token-based CSS in `src/styles/`. Include it in
228
234
  `src/index.css` and in both the `styles` map and `cssText` in `src/inline.js`. Add the
229
235
  HTML factory under `src/components/`, export it from `src/index.js`, and add a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apliteni/apliteni-ui",
3
- "version": "0.49.0",
3
+ "version": "0.49.1",
4
4
  "workspaces": [
5
5
  "react"
6
6
  ],