@funnest/charts 0.6.8 → 0.6.9

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.js CHANGED
@@ -1260,6 +1260,7 @@ var BUILTIN_DRAWINGS = [
1260
1260
  type: "fibonacci",
1261
1261
  name: { ko: "\uD53C\uBCF4\uB098\uCE58 \uB418\uB3CC\uB9BC", en: "Fib retracement" },
1262
1262
  group: "fib",
1263
+ section: { ko: "\uD53C\uBCF4\uB098\uCE58", en: "Fibonacci" },
1263
1264
  clicks: 2,
1264
1265
  distance: (g, x, y) => {
1265
1266
  const [x1, y1] = p0(g);
@@ -45,6 +45,11 @@ export interface DrawingDefinition {
45
45
  icon?: string;
46
46
  /** Tools with the same group share one drawing-bar button with a menu. Default: the type. */
47
47
  group?: string;
48
+ /**
49
+ * A heading in that menu (피보나치, 갠, 엘리어트 파동…): consecutive tools with the same section
50
+ * are listed under it, with a divider between sections. Default: no heading.
51
+ */
52
+ section?: Record<Locale, string>;
48
53
  /** Clicks (or drag ends) needed to place it. */
49
54
  clicks: number;
50
55
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnest/charts",
3
- "version": "0.6.8",
3
+ "version": "0.6.9",
4
4
  "description": "Canvas charting engine for financial charts",
5
5
  "keywords": [
6
6
  "chart",