@sesionario/blocks 1.0.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 ADDED
@@ -0,0 +1,34 @@
1
+ # @sesionario/blocks
2
+
3
+ Shared UI components for [Sesionario](https://github.com/Docufacil) applications.
4
+
5
+ This package is the Sesionario-specific successor to `@algenium/blocks`. It ships only the components, hooks, and data the five Sesionario apps (`admin`, `app`, `auth`, `backoffice`, `pharma`) actually use, plus shadcn `Empty` primitives under the hood of `EmptyState`.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ pnpm add @sesionario/blocks
11
+ ```
12
+
13
+ Peer dependencies (install in the consuming app as needed):
14
+
15
+ - `react`, `react-dom`
16
+ - `lucide-react`
17
+ - `next-themes` (ThemeSwitcher)
18
+ - `framer-motion` (Theme/Language switchers, AvatarEditorDialog)
19
+ - `react-phone-number-input` (PhoneInput — also import its CSS in your app layout)
20
+ - `hls.js` (optional — VideoPlayer)
21
+
22
+ ## Development
23
+
24
+ ```bash
25
+ pnpm install
26
+ pnpm build
27
+ pnpm typecheck
28
+ pnpm lint
29
+ pnpm test
30
+ ```
31
+
32
+ ## Release
33
+
34
+ Pushes to `main` / `dev` / `features/*` run semantic-release and publish to npm via OIDC trusted publishing (see `.github/workflows/release.yml`). Configure the npm package for trusted publishing against the `Docufacil/blocks` GitHub repository before the first release.