@iowas/toolpad 1.0.0 → 1.0.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.
- package/README.md +9 -2
- package/dist/{chunk-3JWXE2JW.mjs → chunk-6JQJK2JX.mjs} +11 -1
- package/dist/{chunk-ZXM3V5SD.mjs → chunk-IDMYUY7L.mjs} +1187 -503
- package/dist/{chunk-UNVYOWC2.mjs → chunk-PMIWCP25.mjs} +25 -1
- package/dist/core.d.mts +198 -4
- package/dist/core.d.ts +198 -4
- package/dist/core.mjs +11 -14
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.mjs +17 -23
- package/dist/nextjs.d.mts +157 -3
- package/dist/nextjs.d.ts +157 -3
- package/dist/nextjs.js +4 -59
- package/dist/nextjs.mjs +736 -66
- package/dist/utils.mjs +7 -11
- package/package.json +102 -87
- package/dist/AppProvider-CIyOzZv_.d.mts +0 -201
- package/dist/AppProvider-CIyOzZv_.d.ts +0 -201
- package/dist/chunk-CENJI4RY.mjs +0 -26
- package/dist/chunk-F6JD4MSY.mjs +0 -12
- package/dist/chunk-LUTZBKSG.mjs +0 -710
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ import { NextAppProvider } from '@iowas/toolpad/nextjs';
|
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
30
|
pnpm install
|
|
31
|
-
pnpm build
|
|
31
|
+
pnpm run build
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Build output is generated in `dist/`.
|
|
@@ -38,7 +38,7 @@ Build output is generated in `dist/`.
|
|
|
38
38
|
From this repository:
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
pnpm build
|
|
41
|
+
pnpm run build
|
|
42
42
|
pnpm pack
|
|
43
43
|
```
|
|
44
44
|
|
|
@@ -55,3 +55,10 @@ pnpm add /absolute/path/to/@iowas%2ftoolpad-1.0.0.tgz
|
|
|
55
55
|
- `@iowas/toolpad/utils`
|
|
56
56
|
- `@iowas/toolpad/nextjs`
|
|
57
57
|
|
|
58
|
+
```bash
|
|
59
|
+
npm login
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
pnpm publish
|
|
64
|
+
```
|
|
@@ -112,6 +112,15 @@ function createGlobalState(initialState) {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
// src/toolpad-utils/warnOnce.ts
|
|
116
|
+
var history = /* @__PURE__ */ new Set();
|
|
117
|
+
function warnOnce(msg) {
|
|
118
|
+
if (!history.has(msg)) {
|
|
119
|
+
history.add(msg);
|
|
120
|
+
console.warn(msg);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
115
124
|
export {
|
|
116
125
|
__spreadValues,
|
|
117
126
|
__spreadProps,
|
|
@@ -121,5 +130,6 @@ export {
|
|
|
121
130
|
createProvidedContext,
|
|
122
131
|
useAssertedContext,
|
|
123
132
|
useTraceUpdates,
|
|
124
|
-
createGlobalState
|
|
133
|
+
createGlobalState,
|
|
134
|
+
warnOnce
|
|
125
135
|
};
|