@sudobility/documents-components 2.0.4 → 2.0.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.
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/index.test.ts"],"names":[],"mappings":""}
package/dist/index.esm.js CHANGED
@@ -5,7 +5,7 @@ var L;
5
5
  function tr() {
6
6
  if (L) return k;
7
7
  L = 1;
8
- var n = Symbol.for("react.transitional.element"), s = Symbol.for("react.fragment");
8
+ var n = /* @__PURE__ */ Symbol.for("react.transitional.element"), s = /* @__PURE__ */ Symbol.for("react.fragment");
9
9
  function t(c, o, a) {
10
10
  var l = null;
11
11
  if (a !== void 0 && (l = "" + a), o.key !== void 0 && (l = "" + o.key), "key" in o) {
@@ -220,7 +220,7 @@ React keys must be passed directly to JSX without using spread:
220
220
  function _(r) {
221
221
  return typeof r == "object" && r !== null && r.$$typeof === E;
222
222
  }
223
- var p = er, E = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), J = Symbol.for("react.consumer"), V = Symbol.for("react.context"), G = Symbol.for("react.forward_ref"), X = Symbol.for("react.suspense"), B = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), Z = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), S = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, I = Object.prototype.hasOwnProperty, K = Array.isArray, N = console.createTask ? console.createTask : function() {
223
+ var p = er, E = /* @__PURE__ */ Symbol.for("react.transitional.element"), C = /* @__PURE__ */ Symbol.for("react.portal"), v = /* @__PURE__ */ Symbol.for("react.fragment"), x = /* @__PURE__ */ Symbol.for("react.strict_mode"), O = /* @__PURE__ */ Symbol.for("react.profiler"), J = /* @__PURE__ */ Symbol.for("react.consumer"), V = /* @__PURE__ */ Symbol.for("react.context"), G = /* @__PURE__ */ Symbol.for("react.forward_ref"), X = /* @__PURE__ */ Symbol.for("react.suspense"), B = /* @__PURE__ */ Symbol.for("react.suspense_list"), H = /* @__PURE__ */ Symbol.for("react.memo"), A = /* @__PURE__ */ Symbol.for("react.lazy"), Z = /* @__PURE__ */ Symbol.for("react.activity"), Q = /* @__PURE__ */ Symbol.for("react.client.reference"), S = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, I = Object.prototype.hasOwnProperty, K = Array.isArray, N = console.createTask ? console.createTask : function() {
224
224
  return null;
225
225
  };
226
226
  p = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sudobility/documents-components",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "documents UI components for React",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
@@ -21,7 +21,8 @@
21
21
  "build": "tsc && vite build",
22
22
  "dev": "vite build --watch",
23
23
  "type-check": "tsc --noEmit",
24
- "test": "echo \"Tests passed\" && exit 0"
24
+ "test": "vitest run",
25
+ "test:watch": "vitest"
25
26
  },
26
27
  "peerDependencies": {
27
28
  "@sudobility/components": "*",
@@ -34,6 +35,8 @@
34
35
  "@heroicons/react": "^2.2.0",
35
36
  "@sudobility/components": "*",
36
37
  "@sudobility/design": "^1.1.14",
38
+ "@testing-library/dom": "^10.4.1",
39
+ "@testing-library/react": "^16.3.0",
37
40
  "@types/node": "^24.7.1",
38
41
  "@types/react": "^19.2.2",
39
42
  "@types/react-dom": "^19.2.2",
@@ -48,13 +51,15 @@
48
51
  "eslint-plugin-prettier": "^5.5.4",
49
52
  "eslint-plugin-react-hooks": "^7.0.0",
50
53
  "eslint-plugin-react-refresh": "^0.4.0",
54
+ "jsdom": "^27.0.1",
51
55
  "prettier": "^3.6.2",
52
56
  "react": "^19.2.0",
53
57
  "react-dom": "^19.2.0",
54
58
  "tailwind-merge": "^3.3.1",
55
59
  "typescript": "^5.9.3",
56
60
  "vite": "^7.1.12",
57
- "vite-plugin-dts": "^4.5.4"
61
+ "vite-plugin-dts": "^4.5.4",
62
+ "vitest": "^3.2.4"
58
63
  },
59
64
  "publishConfig": {
60
65
  "access": "public"