indas-ui 0.1.5 → 0.1.6

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/dist/auth.js CHANGED
@@ -1,5 +1,7 @@
1
1
  // Auth entry: `import { AuthSessionProvider } from 'indas-ui/auth'`
2
- // The one entry that needs next-auth (an optional peer dependency): it feeds next-auth's session into
2
+ // The one entry that needs next-auth, which the app installs itself (^4.24.7). It is not listed as a
3
+ // peer, even an optional one: npm then checks next-auth's own peers (nodemailer ^7) against every
4
+ // app and refuses to install beside a newer nodemailer. This entry feeds next-auth's session into
3
5
  // the library's session adapter, which every other component reads. Apps on another sign-in system
4
6
  // skip this entry and use SessionAdapterProvider from 'indas-ui/providers' instead.
5
7
  export { AuthSessionProvider } from './components/providers/session-provider.js';
package/dist/cjs/auth.js CHANGED
@@ -3,7 +3,9 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.AuthSessionProvider = void 0;
5
5
  // Auth entry: `import { AuthSessionProvider } from 'indas-ui/auth'`
6
- // The one entry that needs next-auth (an optional peer dependency): it feeds next-auth's session into
6
+ // The one entry that needs next-auth, which the app installs itself (^4.24.7). It is not listed as a
7
+ // peer, even an optional one: npm then checks next-auth's own peers (nodemailer ^7) against every
8
+ // app and refuses to install beside a newer nodemailer. This entry feeds next-auth's session into
7
9
  // the library's session adapter, which every other component reads. Apps on another sign-in system
8
10
  // skip this entry and use SessionAdapterProvider from 'indas-ui/providers' instead.
9
11
  var session_provider_1 = require("./components/providers/session-provider.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indas-ui",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Indas UI — React component library for business apps: Tailwind design tokens, Radix primitives, Lucide icons, DataGrid, dashboards and charts.",
5
5
  "license": "MIT",
6
6
  "author": "Indas Analytics Pvt Ltd",
@@ -98,8 +98,7 @@
98
98
  "peerDependencies": {
99
99
  "react": ">=18.0.0",
100
100
  "react-dom": ">=18.0.0",
101
- "lucide-react": ">=0.562.0 <2",
102
- "next-auth": "^4.24.7"
101
+ "lucide-react": ">=0.562.0 <2"
103
102
  },
104
103
  "dependencies": {
105
104
  "@dnd-kit/core": "^6.3.1",
@@ -193,10 +192,5 @@
193
192
  "./dist/auth.d.ts"
194
193
  ]
195
194
  }
196
- },
197
- "peerDependenciesMeta": {
198
- "next-auth": {
199
- "optional": true
200
- }
201
195
  }
202
196
  }