@iowas/toolpad 1.0.2 → 1.0.3
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/{chunk-3JWXE2JW.mjs → chunk-6JQJK2JX.mjs} +11 -1
- package/dist/{chunk-ZXM3V5SD.mjs → chunk-IDMYUY7L.mjs} +1187 -503
- 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 +13 -17
- package/dist/nextjs.d.mts +157 -3
- package/dist/nextjs.d.ts +157 -3
- package/dist/nextjs.js +1 -0
- package/dist/nextjs.mjs +737 -15
- package/dist/utils.mjs +3 -5
- package/package.json +3 -2
- package/dist/AppProvider-CIyOzZv_.d.mts +0 -201
- package/dist/AppProvider-CIyOzZv_.d.ts +0 -201
- package/dist/chunk-F6JD4MSY.mjs +0 -12
- package/dist/chunk-LUTZBKSG.mjs +0 -710
|
@@ -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
|
};
|