@code0-tech/pictor 0.8.0 → 0.9.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.
Files changed (31) hide show
  1. package/dist/assets/components/progress/Progress.style.css +1 -0
  2. package/dist/components/breadcrumb/Breadcrumb.js +7 -7
  3. package/dist/components/button/Button.js +11 -11
  4. package/dist/components/data-table/DataTable.js +15 -15
  5. package/dist/components/data-table/DataTableFilterSuggestionMenu.js +15 -15
  6. package/dist/components/editor/Editor.js +13 -13
  7. package/dist/components/form/CheckboxInput.js +4 -4
  8. package/dist/components/form/EmailInput.js +9 -9
  9. package/dist/components/form/InputContentEditable.hook.js +11 -11
  10. package/dist/components/form/InputWrapper.js +15 -15
  11. package/dist/components/form/NumberInput.js +9 -9
  12. package/dist/components/form/PasswordInput.js +4 -4
  13. package/dist/components/form/SwitchInput.js +7 -7
  14. package/dist/components/form/TextAreaInput.js +6 -6
  15. package/dist/components/form/TextInput.js +6 -6
  16. package/dist/components/form/useForm.js +2 -2
  17. package/dist/components/fullscreen/FullScreen.js +2 -2
  18. package/dist/components/gantt/GanttGroup.js +17 -17
  19. package/dist/components/progress/Progress.d.ts +8 -0
  20. package/dist/components/progress/Progress.js +42 -0
  21. package/dist/index.d.ts +1 -0
  22. package/dist/index.js +67 -65
  23. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +25 -0
  24. package/dist/node_modules/@radix-ui/react-progress/dist/index.js +81 -0
  25. package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-context/dist/index.js +55 -0
  26. package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
  27. package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-slot/dist/index.js +58 -0
  28. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +2 -2
  29. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +8 -8
  30. package/dist/utils/reactiveArrayService.js +4 -4
  31. package/package.json +10 -7
@@ -1,14 +1,14 @@
1
- import { __exports as r } from "../../../_virtual/react-compiler-runtime.production.js";
1
+ import { __exports as e } from "../../../_virtual/react-compiler-runtime.production.js";
2
2
  import o from "react";
3
- var e;
4
- function u() {
5
- if (e) return r;
6
- e = 1;
3
+ var r;
4
+ function n() {
5
+ if (r) return e;
6
+ r = 1;
7
7
  var t = o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
8
- return r.c = function(_) {
8
+ return e.c = function(_) {
9
9
  return t.H.useMemoCache(_);
10
- }, r;
10
+ }, e;
11
11
  }
12
12
  export {
13
- u as __require
13
+ n as __require
14
14
  };
@@ -1,5 +1,5 @@
1
1
  import a from "react";
2
- import { View as d } from "./view.js";
2
+ import { View as v } from "./view.js";
3
3
  function h(t, e, r) {
4
4
  return (e = p(e)) in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
5
5
  }
@@ -60,14 +60,14 @@ function w(t, e = []) {
60
60
  }, l = {
61
61
  construct: () => l
62
62
  };
63
- return ((v) => {
63
+ return ((d) => {
64
64
  try {
65
- return !!new new Proxy(v, l)();
65
+ return !!new new Proxy(d, l)();
66
66
  } catch {
67
67
  return !1;
68
68
  }
69
69
  })(t) ? new t(n) : t(n);
70
- }, [t, o]), u = a.useCallback((n) => new d(n), []), f = a.useRef(!1);
70
+ }, [t, o]), u = a.useCallback((n) => new v(n), []), f = a.useRef(!1);
71
71
  return a.useEffect(() => {
72
72
  f.current || (f.current = !0, i.clear(), e.forEach((n) => {
73
73
  i.add(u(n));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code0-tech/pictor",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "type": "module",
5
5
  "description": "A simple template for a custom React component library",
6
6
  "scripts": {
@@ -17,6 +17,7 @@
17
17
  },
18
18
  "author": "CodeZero",
19
19
  "devDependencies": {
20
+ "@ark-ui/react": "^5.36.2",
20
21
  "@babel/plugin-proposal-decorators": "^7.29.0",
21
22
  "@babel/plugin-transform-class-properties": "^7.28.6",
22
23
  "@codemirror/autocomplete": "^6.20.1",
@@ -26,7 +27,7 @@
26
27
  "@codemirror/state": "^6.6.0",
27
28
  "@codemirror/view": "^6.41.0",
28
29
  "@dagrejs/dagre": "^2.0.4",
29
- "@lezer/common": "^1.5.1",
30
+ "@lezer/common": "^1.5.2",
30
31
  "@mdx-js/react": "^3.1.1",
31
32
  "@radix-ui/react-checkbox": "^1.3.3",
32
33
  "@radix-ui/react-context-menu": "^2.2.16",
@@ -70,7 +71,7 @@
70
71
  "cmdk": "^1.1.1",
71
72
  "concurrently": "^9.2.1",
72
73
  "css-loader": "^7.1.4",
73
- "html-webpack-plugin": "^5.6.6",
74
+ "html-webpack-plugin": "^5.6.7",
74
75
  "identity-obj-proxy": "^3.0.0",
75
76
  "jest-image-snapshot": "^6.5.2",
76
77
  "js-md5": "^0.8.3",
@@ -92,8 +93,7 @@
92
93
  "vite": "^7.3.1",
93
94
  "vite-plugin-dts": "^4.5.4",
94
95
  "vite-plugin-lib-inject-css": "^2.2.2",
95
- "vitest": "^4.1.2",
96
- "@ark-ui/react": "^5.36.2"
96
+ "vitest": "^4.1.2"
97
97
  },
98
98
  "main": "dist/index.js",
99
99
  "repository": {
@@ -105,6 +105,7 @@
105
105
  ],
106
106
  "types": "dist/index.d.ts",
107
107
  "peerDependencies": {
108
+ "@ark-ui/react": "^5.36.2",
108
109
  "@codemirror/autocomplete": "^6.20.0",
109
110
  "@codemirror/lang-json": "^6.0.2",
110
111
  "@codemirror/language": "^6.12.1",
@@ -135,10 +136,12 @@
135
136
  "react-dom": "^18.0.0 || ^19.0.0",
136
137
  "react-resizable-panels": "^4.3.1",
137
138
  "react-zoom-pan-pinch": "^3.7.0",
138
- "sonner": "^2.0.7",
139
- "@ark-ui/react": "^5.36.2"
139
+ "sonner": "^2.0.7"
140
140
  },
141
141
  "publishConfig": {
142
142
  "access": "public"
143
+ },
144
+ "dependencies": {
145
+ "@radix-ui/react-progress": "^1.1.8"
143
146
  }
144
147
  }