@solibo/solibo-ui 0.3.26 → 0.3.28

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 (42) hide show
  1. package/README.md +53 -8
  2. package/dist/assets/index.css +1 -1
  3. package/dist/assets/index12.css +1 -1
  4. package/dist/assets/index14.css +1 -1
  5. package/dist/assets/index22.css +1 -1
  6. package/dist/assets/index27.css +1 -1
  7. package/dist/assets/index38.css +1 -1
  8. package/dist/components/_collapsible/index.cjs +1 -1
  9. package/dist/components/_collapsible/index.js +3 -3
  10. package/dist/components/_dropzone/index.cjs +1 -1
  11. package/dist/components/_dropzone/index.cjs.map +1 -1
  12. package/dist/components/_dropzone/index.js +64 -40
  13. package/dist/components/_dropzone/index.js.map +1 -1
  14. package/dist/components/_editor/index.cjs.map +1 -1
  15. package/dist/components/_editor/index.js +1 -0
  16. package/dist/components/_editor/index.js.map +1 -1
  17. package/dist/components/_portal/index.cjs +1 -1
  18. package/dist/components/_portal/index.js +5 -5
  19. package/dist/components/checkbox/index.cjs +1 -1
  20. package/dist/components/checkbox/index.js +4 -4
  21. package/dist/components/dialog/index.cjs +1 -1
  22. package/dist/components/dialog/index.js +7 -7
  23. package/dist/components/icon/index.cjs +1 -1
  24. package/dist/components/icon/index.js +1 -1
  25. package/dist/components/list/index.cjs +1 -1
  26. package/dist/components/list/index.js +8 -8
  27. package/dist/components/nav/index.cjs.map +1 -1
  28. package/dist/components/nav/index.js.map +1 -1
  29. package/dist/components/textarea/index.cjs +1 -1
  30. package/dist/components/textarea/index.cjs.map +1 -1
  31. package/dist/components/textarea/index.js +17 -17
  32. package/dist/components/textarea/index.js.map +1 -1
  33. package/dist/{icons-Bo1YqbZg.cjs → icons-CWtPtYZj.cjs} +2 -2
  34. package/dist/icons-CWtPtYZj.cjs.map +1 -0
  35. package/dist/{icons-CqrxHwOe.js → icons-DeUtqBx_.js} +9 -5
  36. package/dist/icons-DeUtqBx_.js.map +1 -0
  37. package/dist/index.d.ts +7 -1
  38. package/dist/utils-DXIJVVzz.js.map +1 -1
  39. package/dist/utils-D_TJ8wDc.cjs.map +1 -1
  40. package/package.json +2 -3
  41. package/dist/icons-Bo1YqbZg.cjs.map +0 -1
  42. package/dist/icons-CqrxHwOe.js.map +0 -1
package/README.md CHANGED
@@ -1,6 +1,38 @@
1
- ## Development Guide 👩‍💻
1
+ # @solibo/solibo-ui
2
2
 
3
- There is no try, only do.
3
+ A React 19 + TypeScript component library built with Vite. Ships typed, tree‑shakeable components, CSS Modules styling, and Storybook docs.
4
+
5
+ - Package: `@solibo/solibo-ui`
6
+ - Node: 22
7
+ - Package manager: pnpm
8
+
9
+ ## Installation
10
+
11
+ ```bash
12
+ pnpm add @solibo/solibo-ui
13
+ # peer deps (if not present)
14
+ pnpm add react@^19 react-dom@^19 -D
15
+ ```
16
+
17
+ ## Quick usage
18
+
19
+ ```tsx
20
+ import { Figure } from '@solibo/solibo-ui';
21
+
22
+ export const Example = () => (
23
+ <Figure
24
+ label='Example'
25
+ offset='left'
26
+ >
27
+ <img
28
+ src='/path/to/image.jpg'
29
+ alt=''
30
+ />
31
+ </Figure>
32
+ );
33
+ ```
34
+
35
+ ## Development
4
36
 
5
37
  ### Quickstart
6
38
 
@@ -9,17 +41,30 @@ pnpm install
9
41
  pnpm storybook
10
42
  ```
11
43
 
12
- ### Component Generator
44
+ ### Component generator
13
45
 
14
46
  ```bash
15
47
  ./generate <name>
16
48
  ```
17
49
 
18
- ### Tooling
50
+ ### Scripts
19
51
 
20
52
  ```bash
21
- pnpm dev
22
- pnpm format
23
- pnpm lint
24
- pnpm test
53
+ pnpm dev # vite build --watch (library build)
54
+ pnpm build # type-check + library build
55
+ pnpm test # vitest (UI mode by default via script)
56
+ pnpm lint # eslint
57
+ pnpm stylelint # stylelint for CSS modules
58
+ pnpm format # prettier check
59
+ pnpm format:fix # prettier write
25
60
  ```
61
+
62
+ ## CI/CD
63
+
64
+ - GitHub Actions handle builds, tests, and publishing.
65
+ - See `docs/CI.md` for details about development snapshots, production releases, S3 Storybook sync, and required secrets.
66
+
67
+ ## Contributing
68
+
69
+ - Follow the conventions in `AGENTS.md` and `.github/copilot-instructions.md`.
70
+ - Prefer small, focused PRs with tests and stories.