@almadar/ui 2.48.4 → 2.48.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/avl/index.cjs +117 -25
- package/dist/avl/index.js +117 -25
- package/dist/components/index.cjs +37 -177
- package/dist/components/index.js +36 -176
- package/dist/components/organisms/game/three/index.cjs +5 -14
- package/dist/components/organisms/game/three/index.js +5 -14
- package/dist/docs/index.cjs +5 -14
- package/dist/docs/index.js +5 -14
- package/dist/hooks/index.cjs +233 -246
- package/dist/hooks/index.js +8 -21
- package/dist/lib/index.cjs +5 -14
- package/dist/lib/index.js +5 -14
- package/dist/marketing/index.cjs +5 -14
- package/dist/marketing/index.js +5 -14
- package/dist/providers/index.cjs +5 -14
- package/dist/providers/index.js +5 -14
- package/dist/runtime/OrbPreview.d.ts +25 -5
- package/dist/runtime/index.cjs +1173 -1783
- package/dist/runtime/index.d.ts +1 -0
- package/dist/runtime/index.js +417 -1030
- package/dist/runtime/prepareSchemaForPreview.d.ts +71 -0
- package/package.json +1 -1
package/dist/docs/index.js
CHANGED
|
@@ -2486,22 +2486,13 @@ function cn(...inputs) {
|
|
|
2486
2486
|
// lib/logger.ts
|
|
2487
2487
|
var LEVEL_PRIORITY = { DEBUG: 0, INFO: 1, WARN: 2, ERROR: 3 };
|
|
2488
2488
|
var ENV = typeof process !== "undefined" && process.env ? process.env : {};
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
try {
|
|
2492
|
-
const meta = (0, eval)('typeof import.meta !== "undefined" && import.meta');
|
|
2493
|
-
return meta ? meta.env?.[key] : void 0;
|
|
2494
|
-
} catch {
|
|
2495
|
-
return void 0;
|
|
2496
|
-
}
|
|
2497
|
-
}
|
|
2498
|
-
function envGet(key, viteKey) {
|
|
2499
|
-
return ENV[key] ?? (viteKey ? getViteEnv(viteKey) : void 0) ?? VITE_ENV[viteKey ?? key];
|
|
2489
|
+
function envGet(key) {
|
|
2490
|
+
return ENV[key] ?? ENV[`VITE_${key}`];
|
|
2500
2491
|
}
|
|
2501
|
-
var NODE_ENV = envGet("NODE_ENV"
|
|
2502
|
-
var CONFIGURED_LEVEL = (envGet("LOG_LEVEL"
|
|
2492
|
+
var NODE_ENV = envGet("NODE_ENV") ?? "development";
|
|
2493
|
+
var CONFIGURED_LEVEL = (envGet("LOG_LEVEL") ?? (NODE_ENV === "production" ? "info" : "debug")).toUpperCase();
|
|
2503
2494
|
var MIN_PRIORITY = LEVEL_PRIORITY[CONFIGURED_LEVEL] ?? 0;
|
|
2504
|
-
var DEBUG_FILTER = (envGet("ALMADAR_DEBUG"
|
|
2495
|
+
var DEBUG_FILTER = (envGet("ALMADAR_DEBUG") ?? "").split(",").map((s) => s.trim()).filter(Boolean);
|
|
2505
2496
|
function matchesNamespace(namespace) {
|
|
2506
2497
|
if (DEBUG_FILTER.length === 0) return true;
|
|
2507
2498
|
return DEBUG_FILTER.some((pattern) => {
|