@code0-tech/pictor 0.0.0-mvp.15 → 0.0.0-mvp.16

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 +1 @@
1
- .d-layout{position:relative;width:100%;height:100%;overflow:hidden}.d-layout>.flex,.d-layout>.flex>.flex{width:100%;height:100%;gap:1.3rem}.d-layout__content{width:100%}
1
+ .d-layout{position:relative;width:100%;height:100%;overflow:hidden;display:flex}.d-layout__inner{display:flex;flex-direction:column;width:100%;height:100%;gap:1.3rem}.d-layout__top,.d-layout__bottom{flex:0 0 auto}.d-layout__middle{display:flex;flex:1 1 auto;min-height:0;width:100%;gap:1.3rem}.d-layout__left,.d-layout__right{flex:0 0 auto}.d-layout__content{flex:1 1 auto;min-width:0;min-height:0;overflow:auto}
@@ -1,51 +1,51 @@
1
1
  import { jsx as h, jsxs as p } from "react/jsx-runtime";
2
2
  import { c as E } from "../../_virtual/compiler-runtime.js";
3
3
  import { mergeCode0Props as F } from "../../utils/utils.js";
4
- import { Flex as v } from "../flex/Flex.js";
4
+ import { Flex as N } from "../flex/Flex.js";
5
5
  import '../../assets/components/d-layout/DLayout.style.css';/* empty css */
6
6
  const k = (C) => {
7
7
  const t = E.c(29);
8
- let e, i, l, o, r, n;
8
+ let e, n, l, o, s, i;
9
9
  if (t[0] !== C) {
10
10
  const {
11
- children: x,
12
- topContent: N,
11
+ children: v,
12
+ topContent: x,
13
13
  bottomContent: b,
14
14
  leftContent: g,
15
15
  rightContent: j,
16
16
  ...D
17
17
  } = C;
18
- i = x, n = N, e = b, l = g, o = j, r = F("d-layout", D), t[0] = C, t[1] = e, t[2] = i, t[3] = l, t[4] = o, t[5] = r, t[6] = n;
18
+ n = v, i = x, e = b, l = g, o = j, s = F("d-layout", D), t[0] = C, t[1] = e, t[2] = n, t[3] = l, t[4] = o, t[5] = s, t[6] = i;
19
19
  } else
20
- e = t[1], i = t[2], l = t[3], o = t[4], r = t[5], n = t[6];
21
- let _;
22
- t[7] === Symbol.for("react.memo_cache_sentinel") ? (_ = {
20
+ e = t[1], n = t[2], l = t[3], o = t[4], s = t[5], i = t[6];
21
+ let u;
22
+ t[7] === Symbol.for("react.memo_cache_sentinel") ? (u = {
23
23
  flexDirection: "column"
24
- }, t[7] = _) : _ = t[7];
25
- let s;
26
- t[8] !== n ? (s = n ? /* @__PURE__ */ h("div", { className: "d-layout__top", children: n }) : null, t[8] = n, t[9] = s) : s = t[9];
24
+ }, t[7] = u) : u = t[7];
25
+ let r;
26
+ t[8] !== i ? (r = i && /* @__PURE__ */ h("div", { className: "d-layout__top", children: i }), t[8] = i, t[9] = r) : r = t[9];
27
27
  let c;
28
- t[10] !== l ? (c = l ? /* @__PURE__ */ h("div", { className: "d-layout__left", children: l }) : null, t[10] = l, t[11] = c) : c = t[11];
28
+ t[10] !== l ? (c = l && /* @__PURE__ */ h("div", { className: "d-layout__left", children: l }), t[10] = l, t[11] = c) : c = t[11];
29
29
  let m;
30
- t[12] !== i ? (m = /* @__PURE__ */ h("div", { className: "d-layout__content", children: i }), t[12] = i, t[13] = m) : m = t[13];
31
- let d;
32
- t[14] !== o ? (d = o ? /* @__PURE__ */ h("div", { className: "d-layout__right", children: o }) : null, t[14] = o, t[15] = d) : d = t[15];
30
+ t[12] !== n ? (m = /* @__PURE__ */ h("div", { className: "d-layout__content", children: n }), t[12] = n, t[13] = m) : m = t[13];
33
31
  let a;
34
- t[16] !== c || t[17] !== m || t[18] !== d ? (a = /* @__PURE__ */ p(v, { children: [
32
+ t[14] !== o ? (a = o && /* @__PURE__ */ h("div", { className: "d-layout__right", children: o }), t[14] = o, t[15] = a) : a = t[15];
33
+ let d;
34
+ t[16] !== c || t[17] !== m || t[18] !== a ? (d = /* @__PURE__ */ p(N, { className: "d-layout__middle", children: [
35
35
  c,
36
36
  m,
37
- d
38
- ] }), t[16] = c, t[17] = m, t[18] = d, t[19] = a) : a = t[19];
37
+ a
38
+ ] }), t[16] = c, t[17] = m, t[18] = a, t[19] = d) : d = t[19];
39
39
  let f;
40
- t[20] !== e ? (f = e ? /* @__PURE__ */ h("div", { className: "d-layout__bottom", children: e }) : null, t[20] = e, t[21] = f) : f = t[21];
41
- let u;
42
- t[22] !== s || t[23] !== a || t[24] !== f ? (u = /* @__PURE__ */ p(v, { style: _, children: [
43
- s,
44
- a,
40
+ t[20] !== e ? (f = e && /* @__PURE__ */ h("div", { className: "d-layout__bottom", children: e }), t[20] = e, t[21] = f) : f = t[21];
41
+ let _;
42
+ t[22] !== r || t[23] !== d || t[24] !== f ? (_ = /* @__PURE__ */ p(N, { className: "d-layout__inner", style: u, children: [
43
+ r,
44
+ d,
45
45
  f
46
- ] }), t[22] = s, t[23] = a, t[24] = f, t[25] = u) : u = t[25];
46
+ ] }), t[22] = r, t[23] = d, t[24] = f, t[25] = _) : _ = t[25];
47
47
  let y;
48
- return t[26] !== r || t[27] !== u ? (y = /* @__PURE__ */ h("div", { ...r, children: u }), t[26] = r, t[27] = u, t[28] = y) : y = t[28], y;
48
+ return t[26] !== s || t[27] !== _ ? (y = /* @__PURE__ */ h("div", { ...s, children: _ }), t[26] = s, t[27] = _, t[28] = y) : y = t[28], y;
49
49
  };
50
50
  export {
51
51
  k as DLayout
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code0-tech/pictor",
3
- "version": "0.0.0-mvp.15",
3
+ "version": "0.0.0-mvp.16",
4
4
  "type": "module",
5
5
  "description": "A simple template for a custom React component library",
6
6
  "scripts": {
@@ -20,7 +20,7 @@
20
20
  "@ariakit/react": "^0.4.17",
21
21
  "@babel/plugin-proposal-decorators": "^7.28.0",
22
22
  "@babel/plugin-transform-class-properties": "^7.27.1",
23
- "@code0-tech/definition-reader": "^0.0.16",
23
+ "@code0-tech/definition-reader": "^0.0.18",
24
24
  "@code0-tech/sagittarius-graphql-types": "^0.0.0-beb91167a8ea12eb6d4a6e3933483bacf845f2f6",
25
25
  "@dagrejs/dagre": "^1.1.8",
26
26
  "@mdx-js/react": "^3.1.1",
@@ -37,17 +37,17 @@
37
37
  "@rollup/plugin-node-resolve": "^16.0.3",
38
38
  "@rollup/plugin-terser": "^0.4.4",
39
39
  "@rollup/plugin-typescript": "^12.3.0",
40
- "@storybook/addon-a11y": "^10.0.7",
41
- "@storybook/addon-docs": "^10.0.7",
42
- "@storybook/addon-links": "^10.0.7",
43
- "@storybook/addon-onboarding": "^10.0.7",
44
- "@storybook/addon-vitest": "^10.0.7",
45
- "@storybook/builder-vite": "^10.0.7",
46
- "@storybook/cli": "^10.0.7",
47
- "@storybook/react-vite": "^10.0.7",
40
+ "@storybook/addon-a11y": "^10.0.8",
41
+ "@storybook/addon-docs": "^10.0.8",
42
+ "@storybook/addon-links": "^10.0.8",
43
+ "@storybook/addon-onboarding": "^10.0.8",
44
+ "@storybook/addon-vitest": "^10.0.8",
45
+ "@storybook/builder-vite": "^10.0.8",
46
+ "@storybook/cli": "^10.0.8",
47
+ "@storybook/react-vite": "^10.0.8",
48
48
  "@tabler/icons-react": "3.35.0",
49
49
  "@types/jest-image-snapshot": "^6.4.0",
50
- "@types/react": "^19.2.4",
50
+ "@types/react": "^19.2.5",
51
51
  "@vitejs/plugin-react": "^5.1.1",
52
52
  "@xyflow/react": "^12.9.3",
53
53
  "axe-playwright": "^2.2.2",
@@ -71,7 +71,7 @@
71
71
  "sass": "^1.94.0",
72
72
  "sass-loader": "^16.0.6",
73
73
  "sonner": "^2.0.7",
74
- "storybook": "^10.0.7",
74
+ "storybook": "^10.0.8",
75
75
  "style-loader": "^4.0.0",
76
76
  "ts-jest": "^29.4.5",
77
77
  "ts-node": "^10.9.2",
@@ -79,9 +79,9 @@
79
79
  "vite": "^7.2.2",
80
80
  "vite-plugin-dts": "^4.5.4",
81
81
  "vite-plugin-lib-inject-css": "^2.2.2",
82
- "vitest": "^4.0.9",
83
- "@vitest/browser-playwright": "^4.0.9",
84
- "@vitest/coverage-v8": "^4.0.9"
82
+ "vitest": "^4.0.10",
83
+ "@vitest/browser-playwright": "^4.0.10",
84
+ "@vitest/coverage-v8": "^4.0.10"
85
85
  },
86
86
  "main": "dist/index.js",
87
87
  "repository": {