@cardenelabs/dragon 0.32.0 → 0.33.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/dist/index.d.cts CHANGED
@@ -102,8 +102,12 @@ declare function resolveLegendMark(s: string): LegendMark | null;
102
102
  * 公開済みの関数なので窓口を残し、どの意匠でも組み立てと同じ値を返す。
103
103
  */
104
104
  declare function 意匠の字の測り方(_theme: DslTheme): "widest";
105
- /** 意匠と節から、見本に合わせた円の区画間の弧の長さを引く (#2871)。 */
106
- declare function 意匠の円の区画の間(theme: DslTheme, node: Pick<CdlNode, "kind">): number | undefined;
105
+ /**
106
+ * 意匠と節から円の区画間の弧の長さを引く (#2871 / #2926)。
107
+ *
108
+ * 区画の形を意匠で変えないため値は返さない。公開済みの関数なので互換の窓口だけを残す。
109
+ */
110
+ declare function 意匠の円の区画の間(_theme: DslTheme, _node: Pick<CdlNode, "kind">): undefined;
107
111
  /** `barCornerRadii` が効く棒を描く節か。 */
108
112
  declare function 棒を描く節か(node: Pick<CdlNode, "kind" | "funnelForm">): boolean;
109
113
  /**
package/dist/index.d.ts CHANGED
@@ -102,8 +102,12 @@ declare function resolveLegendMark(s: string): LegendMark | null;
102
102
  * 公開済みの関数なので窓口を残し、どの意匠でも組み立てと同じ値を返す。
103
103
  */
104
104
  declare function 意匠の字の測り方(_theme: DslTheme): "widest";
105
- /** 意匠と節から、見本に合わせた円の区画間の弧の長さを引く (#2871)。 */
106
- declare function 意匠の円の区画の間(theme: DslTheme, node: Pick<CdlNode, "kind">): number | undefined;
105
+ /**
106
+ * 意匠と節から円の区画間の弧の長さを引く (#2871 / #2926)。
107
+ *
108
+ * 区画の形を意匠で変えないため値は返さない。公開済みの関数なので互換の窓口だけを残す。
109
+ */
110
+ declare function 意匠の円の区画の間(_theme: DslTheme, _node: Pick<CdlNode, "kind">): undefined;
107
111
  /** `barCornerRadii` が効く棒を描く節か。 */
108
112
  declare function 棒を描く節か(node: Pick<CdlNode, "kind" | "funnelForm">): boolean;
109
113
  /**
package/dist/index.js CHANGED
@@ -111,8 +111,8 @@ function resolveLegendMark(s) {
111
111
  function \u610F\u5320\u306E\u5B57\u306E\u6E2C\u308A\u65B9(_theme) {
112
112
  return "widest";
113
113
  }
114
- function \u610F\u5320\u306E\u5186\u306E\u533A\u753B\u306E\u9593(theme, node) {
115
- return theme === "neon" && node.kind === "chart-pie" ? 3 : void 0;
114
+ function \u610F\u5320\u306E\u5186\u306E\u533A\u753B\u306E\u9593(_theme, _node) {
115
+ return void 0;
116
116
  }
117
117
  function \u68D2\u3092\u63CF\u304F\u7BC0\u304B(node) {
118
118
  return node.kind === "chart-bar" || node.kind === "gantt-timeline" || node.kind === "chart-stacked-bar" || node.kind === "funnel-stages" && node.funnelForm === "proportional-bars";
@@ -12723,8 +12723,6 @@ function \u914D\u8272\u3068\u7E1E\u3092\u5F53\u3066\u308B(diagram12, doc) {
12723
12723
  if (\u914D\u8272 === void 0) return;
12724
12724
  diagram12.palette = \u914D\u8272;
12725
12725
  for (const node of diagram12.nodes) {
12726
- const \u5186\u306E\u533A\u753B\u306E\u9593 = \u610F\u5320\u306E\u5186\u306E\u533A\u753B\u306E\u9593(\u914D\u8272, node);
12727
- if (\u5186\u306E\u533A\u753B\u306E\u9593 !== void 0) node.chartPieSliceGap = \u5186\u306E\u533A\u753B\u306E\u9593;
12728
12726
  if (\u68D2\u3092\u63CF\u304F\u7BC0\u304B(node)) {
12729
12727
  const \u68D2\u306E\u89D2 = \u610F\u5320\u306E\u68D2\u306E\u89D2(\u914D\u8272, node);
12730
12728
  if (\u68D2\u306E\u89D2 !== void 0) node.barCornerRadii = \u68D2\u306E\u89D2;