@sheetxl/utils-react 0.1.116 → 0.2.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.
package/LICENSE.md ADDED
@@ -0,0 +1,11 @@
1
+ # Repository Licensing
2
+
3
+ SheetXL contains a mix of open-source and commercially licensed packages. Each package is individually licensed and contains its own license file.
4
+
5
+ For the specific terms and conditions applicable to a package, please see the `LICENSE.md` file located in that package's root directory.
6
+
7
+ Generally, packages intended for public distribution (such as CLIs, adapters, and vanilla wrappers) are licensed under the MIT license. All other core packages are proprietary and require a commercial license for use.
8
+
9
+ For more details on commercial licensing, please visit our website:
10
+
11
+ https://www.sheetxl.com/licensing-pricing
package/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # React Utilities
2
2
 
3
- <a href="https://www.sheetxl.com" target="_blank" rel="noopener">
4
- <img src="https://www.sheetxl.com/logo-text.svg" width="150" alt="SheetXL"/>
5
- </a>
3
+ ![SheetXL](https://www.sheetxl.com/logo-text.svg)
6
4
 
7
5
  Collection of React components available for all [SheetXL](https://www.sheetxl.com) projects.
8
6
 
@@ -1,6 +1,6 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._sheetxl-scrollbar_18qzf_11 ::-webkit-scrollbar-button{background:transparent}._fullscreen-portal-root_5qk7s_7{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;z-index:1200}._fullscreen-portal-root_5qk7s_7>*{pointer-events:auto}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
2
  "use strict";/**
3
- * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.1.95
3
+ * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.2.0
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -5,7 +5,7 @@ import { CommonUtils as et, ClipboardUtils as It, MimeType as Nt, InternalClipbo
5
5
  import { createRoot as sn } from "react-dom/client";
6
6
  import { unstable_batchedUpdates as ln } from "react-dom";
7
7
  /**
8
- * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.1.95
8
+ * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.2.0
9
9
  *
10
10
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
11
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.1.95
2
+ * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.2.0
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
package/package.json CHANGED
@@ -1,40 +1,21 @@
1
1
  {
2
2
  "name": "@sheetxl/utils-react",
3
3
  "description": "Utils React - Utilities for React capabilities needed for all SheetXL components.",
4
- "version": "0.1.116",
4
+ "version": "0.2.0",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
- "author": "Michael T Ford",
7
- "private": false,
8
- "publishConfig": {
9
- "access": "public"
10
- },
11
- "files": [
12
- "build"
13
- ],
14
6
  "type": "module",
15
7
  "exports": {
16
8
  ".": {
17
- "development": "./src/index.ts",
18
- "types": "./build/types/index.d.ts",
19
- "import": {
20
- "node": "./build/node/esm/index.mjs",
21
- "browser": "./build/browser/esm/index.mjs",
22
- "default": "./build/browser/esm/index.mjs"
23
- }
9
+ "types": "./types/index.d.ts",
10
+ "browser": "./browser/esm/index.mjs",
11
+ "node": "./node/esm/index.mjs",
12
+ "import": "./browser/esm/index.mjs",
13
+ "require": "./browser/cjs/index.cjs"
24
14
  }
25
15
  },
26
- "dependencies": {
27
- "clsx": "^2.1.1",
28
- "detect-it": "^4.0.1",
29
- "react-merge-refs": "^3.0.2",
30
- "react-use": "^17.6.0",
31
- "tiny-invariant": "^1.3.3"
32
- },
33
- "peerDependencies": {
34
- "react": "^19.1.0",
35
- "react-dom": "^19.1.0",
36
- "@sheetxl/utils": "0.1.116"
37
- },
16
+ "types": "./types/index.d.ts",
17
+ "module": "./browser/esm/index.mjs",
18
+ "main": "./browser/cjs/index.cjs",
38
19
  "sideEffects": [
39
20
  "*.css",
40
21
  "**/*.css"
@@ -45,16 +26,16 @@
45
26
  "utilities",
46
27
  "react"
47
28
  ],
48
- "scripts": {
49
- "build:node": "cross-env BUILD_ENV=node vite build",
50
- "build:browser": "vite build",
51
- "build": "pnpm run build:node && pnpm run build:browser",
52
- "clean": "rimraf ./build",
53
- "clean:all": "git clean -fdX .",
54
- "release:update:package": "tsx ../../config/updateBuildPackageVersion.ts",
55
- "lint": "eslint .",
56
- "test": "vitest run",
57
- "test:watch": "vitest",
58
- "coverage": "vitest run --coverage"
29
+ "dependencies": {
30
+ "clsx": "^2.1.1",
31
+ "detect-it": "^4.0.1",
32
+ "react-merge-refs": "^3.0.2",
33
+ "react-use": "^17.6.0",
34
+ "tiny-invariant": "^1.3.3"
35
+ },
36
+ "peerDependencies": {
37
+ "@sheetxl/utils": "^0.2.0",
38
+ "react": "^19.1.0",
39
+ "react-dom": "^19.1.0"
59
40
  }
60
41
  }
@@ -1,45 +0,0 @@
1
- {
2
- "name": "@sheetxl/utils-react",
3
- "description": "Utils React - Utilities for React capabilities needed for all SheetXL components.",
4
- "version": "0.1.116",
5
- "license": "SEE LICENSE IN <LICENSE>",
6
- "type": "module",
7
- "exports": {
8
- ".": {
9
- "types": "./types/index.d.ts",
10
- "browser": "./browser/esm/index.mjs",
11
- "node": "./node/esm/index.mjs",
12
- "import": "./browser/esm/index.mjs",
13
- "require": "./browser/cjs/index.cjs"
14
- }
15
- },
16
- "types": "./types/index.d.ts",
17
- "module": "./browser/esm/index.mjs",
18
- "main": "./browser/cjs/index.cjs",
19
- "publishConfig": {
20
- "access": "public"
21
- },
22
- "sideEffects": [
23
- "*.css",
24
- "**/*.css"
25
- ],
26
- "author": "Michael T Ford",
27
- "keywords": [
28
- "sheetxl",
29
- "spreadsheet",
30
- "utilities",
31
- "react"
32
- ],
33
- "dependencies": {
34
- "clsx": "^2.1.1",
35
- "detect-it": "^4.0.1",
36
- "react-merge-refs": "^3.0.2",
37
- "react-use": "^17.6.0",
38
- "tiny-invariant": "^1.3.3"
39
- },
40
- "peerDependencies": {
41
- "@sheetxl/utils": "^0.1.95",
42
- "react": "^19.1.0",
43
- "react-dom": "^19.1.0"
44
- }
45
- }
File without changes
File without changes
File without changes