@code0-tech/pictor 0.10.3 → 0.10.5

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 (37) hide show
  1. package/dist/assets/components/json-view/JsonView.style.css +1 -0
  2. package/dist/components/breadcrumb/Breadcrumb.js +2 -2
  3. package/dist/components/button/Button.js +11 -11
  4. package/dist/components/command/Command.js +19 -22
  5. package/dist/components/data-table/DataTable.js +15 -15
  6. package/dist/components/data-table/DataTableFilterSuggestionMenu.js +15 -15
  7. package/dist/components/editor/Editor.js +13 -13
  8. package/dist/components/form/CheckboxInput.js +4 -4
  9. package/dist/components/form/EditorInput.js +68 -62
  10. package/dist/components/form/EmailInput.js +9 -9
  11. package/dist/components/form/InputContentEditable.hook.js +11 -11
  12. package/dist/components/form/InputWrapper.js +15 -15
  13. package/dist/components/form/NumberInput.js +9 -9
  14. package/dist/components/form/PasswordInput.js +4 -4
  15. package/dist/components/form/SwitchInput.js +7 -7
  16. package/dist/components/form/TextAreaInput.js +6 -6
  17. package/dist/components/form/TextInput.js +6 -6
  18. package/dist/components/form/useForm.js +2 -2
  19. package/dist/components/fullscreen/FullScreen.js +2 -2
  20. package/dist/components/gantt/Gantt.js +67 -54
  21. package/dist/components/gantt/GanttGroup.js +117 -98
  22. package/dist/components/gantt/GanttHeader.js +45 -36
  23. package/dist/components/json-view/JsonView.d.ts +19 -0
  24. package/dist/components/json-view/JsonView.js +103 -0
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.js +102 -100
  27. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +59 -0
  28. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +34 -0
  29. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +47 -0
  30. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +12 -0
  31. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +28 -0
  32. package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +2 -2
  33. package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +8 -8
  34. package/dist/utils/reactiveArrayService.js +4 -4
  35. package/package.json +22 -22
  36. package/dist/components/gantt/GanttFooter.d.ts +0 -2
  37. package/dist/components/gantt/GanttFooter.js +0 -38
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code0-tech/pictor",
3
- "version": "0.10.3",
3
+ "version": "0.10.5",
4
4
  "type": "module",
5
5
  "description": "A simple template for a custom React component library",
6
6
  "scripts": {
@@ -20,13 +20,13 @@
20
20
  "@ark-ui/react": "^5.36.2",
21
21
  "@babel/plugin-proposal-decorators": "^7.29.0",
22
22
  "@babel/plugin-transform-class-properties": "^7.28.6",
23
- "@codemirror/autocomplete": "^6.20.1",
23
+ "@codemirror/autocomplete": "^6.20.3",
24
24
  "@codemirror/lang-json": "^6.0.2",
25
25
  "@codemirror/language": "^6.12.3",
26
- "@codemirror/lint": "^6.9.5",
26
+ "@codemirror/lint": "^6.9.7",
27
27
  "@codemirror/state": "^6.6.0",
28
- "@codemirror/view": "^6.41.0",
29
- "@dagrejs/dagre": "^2.0.4",
28
+ "@codemirror/view": "^6.43.1",
29
+ "@dagrejs/dagre": "^3.0.0",
30
30
  "@lezer/common": "^1.5.2",
31
31
  "@mdx-js/react": "^3.1.1",
32
32
  "@radix-ui/react-checkbox": "^1.3.3",
@@ -35,36 +35,36 @@
35
35
  "@radix-ui/react-dropdown-menu": "^2.1.16",
36
36
  "@radix-ui/react-hover-card": "^1.1.15",
37
37
  "@radix-ui/react-one-time-password-field": "^0.1.8",
38
+ "@radix-ui/react-progress": "^1.1.8",
38
39
  "@radix-ui/react-radio-group": "^1.3.8",
39
40
  "@radix-ui/react-scroll-area": "^1.2.10",
40
41
  "@radix-ui/react-select": "^2.2.6",
41
42
  "@radix-ui/react-tabs": "^1.1.13",
42
43
  "@radix-ui/react-toggle-group": "^1.1.11",
43
44
  "@radix-ui/react-tooltip": "^1.2.8",
44
- "@radix-ui/react-progress": "^1.1.8",
45
45
  "@rollup/plugin-commonjs": "^29.0.2",
46
46
  "@rollup/plugin-node-resolve": "^16.0.3",
47
47
  "@rollup/plugin-terser": "^1.0.0",
48
48
  "@rollup/plugin-typescript": "^12.3.0",
49
- "@storybook/addon-a11y": "^10.3.3",
50
- "@storybook/addon-docs": "^10.3.3",
51
- "@storybook/addon-links": "^10.3.3",
52
- "@storybook/addon-onboarding": "^10.3.3",
53
- "@storybook/addon-vitest": "^10.3.3",
54
- "@storybook/builder-vite": "^10.3.3",
55
- "@storybook/cli": "^10.3.3",
56
- "@storybook/react-vite": "^10.3.3",
49
+ "@storybook/addon-a11y": "^10.4.2",
50
+ "@storybook/addon-docs": "^10.4.2",
51
+ "@storybook/addon-links": "^10.4.2",
52
+ "@storybook/addon-onboarding": "^10.4.2",
53
+ "@storybook/addon-vitest": "^10.4.2",
54
+ "@storybook/builder-vite": "^10.4.2",
55
+ "@storybook/cli": "^10.4.2",
56
+ "@storybook/react-vite": "^10.4.2",
57
57
  "@tabler/icons-react": "3.41.1",
58
58
  "@types/jest-image-snapshot": "^6.4.1",
59
59
  "@types/react": "^19.2.14",
60
60
  "@types/react-dom": "^19.2.3",
61
61
  "@types/react-syntax-highlighter": "^15.5.13",
62
- "@uiw/codemirror-themes": "^4.25.9",
63
- "@uiw/react-codemirror": "^4.25.8",
62
+ "@uiw/codemirror-themes": "^4.25.10",
63
+ "@uiw/react-codemirror": "^4.25.10",
64
+ "@uiw/react-json-view": "^2.0.0-alpha.43",
64
65
  "@vitejs/plugin-react": "^5.2.0",
65
66
  "@vitest/browser-playwright": "^4.1.2",
66
67
  "@vitest/coverage-v8": "^4.1.2",
67
- "@xyflow/react": "^12.10.1",
68
68
  "avvvatars-react": "^0.4.2",
69
69
  "axe-playwright": "^2.2.2",
70
70
  "babel-loader": "^10.1.1",
@@ -77,6 +77,7 @@
77
77
  "jest-image-snapshot": "^6.5.2",
78
78
  "js-md5": "^0.8.3",
79
79
  "merge-props": "^6.0.0",
80
+ "motion": "^12.40.0",
80
81
  "playwright": "1.58.1",
81
82
  "react": "^19.2.4",
82
83
  "react-dom": "^19.2.4",
@@ -86,7 +87,7 @@
86
87
  "sass": "^1.99.0",
87
88
  "sass-loader": "^16.0.7",
88
89
  "sonner": "^2.0.7",
89
- "storybook": "^10.3.3",
90
+ "storybook": "^10.4.2",
90
91
  "style-loader": "^4.0.0",
91
92
  "ts-jest": "^29.4.9",
92
93
  "ts-node": "^10.9.2",
@@ -95,7 +96,6 @@
95
96
  "vite-plugin-dts": "^4.5.4",
96
97
  "vite-plugin-lib-inject-css": "^2.2.2",
97
98
  "vitest": "^4.1.2",
98
- "motion": "^12.40.0",
99
99
  "zustand": "^4.3.0"
100
100
  },
101
101
  "main": "dist/index.js",
@@ -121,27 +121,27 @@
121
121
  "@radix-ui/react-dropdown-menu": "^2.1.16",
122
122
  "@radix-ui/react-hover-card": "^1.1.15",
123
123
  "@radix-ui/react-one-time-password-field": "^0.1.8",
124
+ "@radix-ui/react-progress": "^1.1.8",
124
125
  "@radix-ui/react-radio-group": "^1.3.8",
125
126
  "@radix-ui/react-scroll-area": "^1.2.10",
126
127
  "@radix-ui/react-select": "^2.2.6",
127
128
  "@radix-ui/react-tabs": "^1.1.13",
128
129
  "@radix-ui/react-toggle-group": "^1.1.11",
129
130
  "@radix-ui/react-tooltip": "^1.2.8",
130
- "@radix-ui/react-progress": "^1.1.8",
131
131
  "@tabler/icons-react": "3.41.1",
132
132
  "@uiw/codemirror-themes": "^4.25.4",
133
133
  "@uiw/react-codemirror": "^4.25.4",
134
- "@xyflow/react": "^12.10.0",
134
+ "@uiw/react-json-view": "^2.0.0-alpha.43",
135
135
  "avvvatars-react": "^0.4.2",
136
136
  "cmdk": "^1.1.1",
137
137
  "js-md5": "^0.8.3",
138
138
  "merge-props": "^6.0.0",
139
+ "motion": "^12.40.0",
139
140
  "react": "^18.0.0 || ^19.0.0",
140
141
  "react-dom": "^18.0.0 || ^19.0.0",
141
142
  "react-resizable-panels": "^4.3.1",
142
143
  "react-zoom-pan-pinch": "^3.7.0",
143
144
  "sonner": "^2.0.7",
144
- "motion": "^12.40.0",
145
145
  "zustand": ">=4.3.0 <5.0.0"
146
146
  },
147
147
  "publishConfig": {
@@ -1,2 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const GanttFooter: React.FC;
@@ -1,38 +0,0 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { c as n } from "../../_virtual/compiler-runtime.js";
3
- import { Text as l } from "../text/Text.js";
4
- const d = (s) => {
5
- const t = n.c(3);
6
- let e, o;
7
- t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = {
8
- gridColumn: "1 / -1",
9
- height: "fit-content",
10
- position: "sticky",
11
- display: "flex",
12
- top: 0,
13
- backgroundColor: "#070514",
14
- borderBottom: "1px solid rgba(255, 255, 255, 0.25)",
15
- zIndex: 10
16
- }, o = {
17
- position: "sticky",
18
- left: 0,
19
- width: "fit-content",
20
- height: "100%",
21
- padding: "8px",
22
- display: "flex",
23
- alignItems: "center",
24
- justifyContent: "start",
25
- boxSizing: "border-box",
26
- background: "#070514",
27
- zIndex: 2
28
- }, t[0] = e, t[1] = o) : (e = t[0], o = t[1]);
29
- let i;
30
- return t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ r("div", { style: e, children: /* @__PURE__ */ r("div", { style: o, children: /* @__PURE__ */ r(l, { style: {
31
- textWrap: "nowrap",
32
- display: "flex",
33
- alignItems: "center"
34
- }, children: "Available Groups" }) }) }), t[2] = i) : i = t[2], i;
35
- };
36
- export {
37
- d as GanttFooter
38
- };