@insforge/react 0.6.9 → 0.7.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 -1
- package/dist/atoms.cjs +754 -106
- package/dist/atoms.cjs.map +1 -1
- package/dist/atoms.js +728 -84
- package/dist/atoms.js.map +1 -1
- package/dist/components.cjs +1050 -272
- package/dist/components.cjs.map +1 -1
- package/dist/components.d.cts +28 -1
- package/dist/components.d.ts +28 -1
- package/dist/components.js +1044 -271
- package/dist/components.js.map +1 -1
- package/dist/forms.cjs +922 -264
- package/dist/forms.cjs.map +1 -1
- package/dist/forms.js +896 -242
- package/dist/forms.js.map +1 -1
- package/dist/hooks.cjs +2 -0
- package/dist/hooks.cjs.map +1 -1
- package/dist/hooks.js +2 -0
- package/dist/hooks.js.map +1 -1
- package/dist/index.cjs +1081 -274
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +114 -2
- package/dist/index.d.ts +114 -2
- package/dist/index.js +1071 -272
- package/dist/index.js.map +1 -1
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
**Framework-agnostic authentication solution for React applications.** Production-ready components with full business logic included.
|
|
4
4
|
|
|
5
|
+
> **✨ CSS-in-JS**: All components now use Emotion CSS-in-JS for zero FOUC in SSR environments. No CSS imports needed!
|
|
6
|
+
|
|
5
7
|
## Why @insforge/react?
|
|
6
8
|
|
|
7
9
|
✅ **Framework Agnostic** - Works with any React setup (Vite, CRA, or no bundler)
|
|
@@ -525,7 +527,6 @@ npm install @insforge/nextjs
|
|
|
525
527
|
```tsx
|
|
526
528
|
// app/layout.tsx
|
|
527
529
|
import { InsforgeProvider } from '@insforge/nextjs';
|
|
528
|
-
import '@insforge/nextjs/styles.css';
|
|
529
530
|
|
|
530
531
|
export default function RootLayout({ children }) {
|
|
531
532
|
return (
|