@nice-code/state 0.11.0 → 0.12.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.
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import { createRequire } from "node:module";
|
|
2
1
|
import { useCallback, useEffect, useId, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
3
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
3
|
import { useVirtualizer } from "@tanstack/react-virtual";
|
|
5
|
-
//#region \0rolldown/runtime.js
|
|
6
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
7
|
-
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
8
|
-
//#endregion
|
|
9
4
|
//#region src/devtools/core/StateDevtoolsCore.ts
|
|
10
5
|
/**
|
|
11
6
|
* Framework-agnostic collector for nice-state stores.
|
|
@@ -480,32 +475,6 @@ function SectionLabel({ label, color = DEVTOOL_COLOR_SEMANTIC_SYSTEM }) {
|
|
|
480
475
|
});
|
|
481
476
|
}
|
|
482
477
|
//#endregion
|
|
483
|
-
//#region ../../node_modules/.bun/react-dom@19.2.7+e14d3f224186685e/node_modules/react-dom/cjs/react-dom.production.js
|
|
484
|
-
/**
|
|
485
|
-
* @license React
|
|
486
|
-
* react-dom.production.js
|
|
487
|
-
*
|
|
488
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
489
|
-
*
|
|
490
|
-
* This source code is licensed under the MIT license found in the
|
|
491
|
-
* LICENSE file in the root directory of this source tree.
|
|
492
|
-
*/
|
|
493
|
-
var require_react_dom_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
494
|
-
__require("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
495
|
-
}));
|
|
496
|
-
(/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
497
|
-
function checkDCE() {
|
|
498
|
-
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") return;
|
|
499
|
-
try {
|
|
500
|
-
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
|
|
501
|
-
} catch (err) {
|
|
502
|
-
console.error(err);
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
checkDCE();
|
|
506
|
-
module.exports = require_react_dom_production();
|
|
507
|
-
})))();
|
|
508
|
-
//#endregion
|
|
509
478
|
//#region ../nice-devtools-shared/src/components/PanelChrome.tsx
|
|
510
479
|
const DOCKED_SIZE_MIN = 140;
|
|
511
480
|
const POSITION_GRID = [
|