@sheetxl/studio-mui 1.0.4 → 1.0.6

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 (149) hide show
  1. package/browser/esm/{N5L4wQxRGEOH_wbp.mjs → 6wAcMpoIZS1ffzqR.mjs} +3 -3
  2. package/browser/esm/{DHmh3sMFGq4sRPhh.mjs → AVMBYVWPe170RO8d.mjs} +20 -20
  3. package/browser/esm/{D_r8MdiauI15ds00.mjs → B2k09pbNHOie-ZPU.mjs} +5 -5
  4. package/browser/esm/B5hj7BR72rs3Xx2-.mjs +40 -0
  5. package/browser/esm/{jDqohhLNEI6wqjo7.mjs → BK0H9A2QjD4YqPxq.mjs} +2 -2
  6. package/browser/esm/{CHfzSl32Bs6LVY3G.mjs → BMtR4PaoNnEhVh2U.mjs} +243 -245
  7. package/browser/esm/{DZngQvRDu3Qh7_uy.mjs → BVQX7HEZNPIvf0Bg.mjs} +1 -1
  8. package/browser/esm/BZWyHJnsP5yHfByl.mjs +461 -0
  9. package/browser/esm/{n1z1c9np4M3gMGCX.mjs → BaYDGaXi_5fNEPo1.mjs} +1 -1
  10. package/browser/esm/{B4vVBfkY4Oq6M196.mjs → BgOevzKxdIm3FqSz.mjs} +4 -4
  11. package/browser/esm/{BH1Qj4pv8pPWZVhO.mjs → BgvcXlX-fe99mlfa.mjs} +1 -1
  12. package/browser/esm/{BDSYU5nx_6eGxAa4.mjs → BmJRmCarQ2Y_DhcS.mjs} +6 -6
  13. package/browser/esm/{Cf6bsmEPyPpiNtxU.mjs → BnIfAdE8Qnu8RF3t.mjs} +1 -1
  14. package/browser/esm/{B130jd-PqNgY2pV8.mjs → Bu4IunF89gqzLc6A.mjs} +2 -2
  15. package/browser/esm/{B4EWee1CcAHS5vAA.mjs → BvvD5BVF5uSL-2Ow.mjs} +2 -2
  16. package/browser/esm/{CzWXYarhfF4mF8fj.mjs → Bzr0CzpORAOD9X-l.mjs} +1 -1
  17. package/browser/esm/{CEvJVwoVP9nscIcl.mjs → C-lKdgOAbn4Ycu7e.mjs} +2 -2
  18. package/browser/esm/{CFiyY-_XmW7G0_9y.mjs → C211u9yUXa4149g9.mjs} +1 -1
  19. package/browser/esm/{DoJ8N6FhUY0kYz9u.mjs → C7RPgX_8hKN1Umxm.mjs} +2 -2
  20. package/browser/esm/{DqP1sKmMsG0tKwmV.mjs → C9cBnewCaYFf2JV6.mjs} +21 -22
  21. package/browser/esm/{Cx1r__xbzz-5zZgw.mjs → CA42_0vpQwF292tA.mjs} +1 -1
  22. package/browser/esm/{D1WSqegx9Zbjc-cL.mjs → CAbY1N8X3Iryy2XC.mjs} +4 -4
  23. package/browser/esm/{k0bdGBFIHCTGANHW.mjs → CD6iCHysAki3ui3u.mjs} +4 -4
  24. package/browser/esm/{DVQZtsBbf_Fsh-B6.mjs → CFUur1yDoVOJMuo5.mjs} +1 -1
  25. package/browser/esm/{npsX_Rztx4_7rCGP.mjs → CHb2gapathcPfhdM.mjs} +5 -5
  26. package/browser/esm/{94_olh2OyEbGAcNw.mjs → CIZh3NmE8QG5ZkiA.mjs} +2 -2
  27. package/browser/esm/{BBNFlngSL8Y3242O.mjs → CImvd-NxbJGZOozE.mjs} +1 -1
  28. package/browser/esm/{Me9wSTkBepRyMDHH.mjs → CO-AxUDR6qjjgpyK.mjs} +2 -2
  29. package/browser/esm/CQ1ArTuEvBmc7W5I.mjs +695 -0
  30. package/browser/esm/{uV_YgeJoyPa9SdGV.mjs → CVNzlTdizLlhU05M.mjs} +2 -2
  31. package/browser/esm/{D2YXkXpEcP-NqHMv.mjs → CXwkm9x8MkCxPz74.mjs} +1 -1
  32. package/browser/esm/{WQaRUnIjMCkaRwsb.mjs → CZIV7UuyM5VGNrJT.mjs} +4 -4
  33. package/browser/esm/{BQTUWwRUxgqg4s6Y.mjs → CdK1lF_PdSw6YfAo.mjs} +1 -1
  34. package/browser/esm/{DoYGmNZ_X3Kvxx3K.mjs → CpgoYQ3P-S7njA7p.mjs} +2 -2
  35. package/browser/esm/{ph1FP1S-yYM0I269.mjs → CqEyDFDlQ75w1c41.mjs} +2 -2
  36. package/browser/esm/{BYUokd7Q6y5Xw36U.mjs → CqIX3rp_vI2S2KbN.mjs} +2 -2
  37. package/browser/esm/{NSuxs1P3kFsoLIMa.mjs → Csmz2j1S5pk-J0B3.mjs} +2 -2
  38. package/browser/esm/{B0q0gHDAexrBB16B.mjs → CsuFocZfRucugR3q.mjs} +1153 -922
  39. package/browser/esm/{SHaQophNZjobC_4f.mjs → Cw6wZyiZkwn9DPZn.mjs} +193 -105
  40. package/browser/esm/{m5mPoZGqgwOCQQOs.mjs → D91G6sYfKgwC24dQ.mjs} +1 -1
  41. package/browser/esm/{B1SDDlETvGUJ2Ipu.mjs → DF_ssRdRHuBueJgX.mjs} +89 -102
  42. package/browser/esm/{CWgz8hWLf3OzuMyZ.mjs → DJaMl_5NGyq62zwW.mjs} +1 -1
  43. package/browser/esm/DLixDE7fzzurotzQ.mjs +826 -0
  44. package/browser/esm/{dlNcqumPfehZG2ai.mjs → DM86XhEF4qmUnjuK.mjs} +4 -4
  45. package/browser/esm/{BrFq6SNq-qx1PYZO.mjs → DNXDqUO4_S_N8sSC.mjs} +2 -2
  46. package/browser/esm/{BMIfZN_dgjS_p-pF.mjs → DfrMUwmPoZFEFJFk.mjs} +1 -1
  47. package/browser/esm/{BESsacbR41SalUJv.mjs → Dn3ur1I_S9SlR8vu.mjs} +1 -1
  48. package/browser/esm/{CbCTAkfOjIThF31A.mjs → IUt6EgxYCpZe9iCH.mjs} +2 -2
  49. package/browser/esm/{a7OD-X4Jjp810Y6v.mjs → JNoXh3IYri5h1W3Y.mjs} +1 -1
  50. package/browser/esm/{1JW5qOuAMlejsOrm.mjs → LZ2X5C1kjiwUCDGz.mjs} +2 -2
  51. package/browser/esm/{DlZoddGNGipM3S72.mjs → MSkt-6o2ZLEiAbDl.mjs} +1 -1
  52. package/browser/esm/{MR6LXUjaCV0DShNi.mjs → bQOt-2VGBciMnvp_.mjs} +3 -3
  53. package/browser/esm/{CbC8ObddTe-7ix6F.mjs → drMcpHj_xCQ0KxuA.mjs} +4 -4
  54. package/browser/esm/{DGz8aGpEm8yfccoW.mjs → g-ScvvLFu66BzoGI.mjs} +2 -2
  55. package/browser/esm/index.mjs +299 -299
  56. package/browser/esm/{dikVMLRWr5g6T0E7.mjs → j6NYTR7qK3Ra-ctk.mjs} +2 -2
  57. package/browser/esm/qSdXw8S3Pv-_PPNl.mjs +210 -0
  58. package/browser/esm/{Bz6OaRkDOpj807bi.mjs → r8gxfS-mY5qhTMtJ.mjs} +2 -2
  59. package/browser/esm/{DVXQrjSOGoB23arZ.mjs → ro5VSIHWH1Nehr75.mjs} +1 -1
  60. package/browser/esm/tfUleloRF2hBRjjZ.mjs +996 -0
  61. package/browser/esm/vTlYAw0bvWP8B4jg.mjs +103 -0
  62. package/browser/esm/{D8RzgRnl0S1-W_Tx.mjs → vzJavAz2onbnB0zm.mjs} +1183 -1204
  63. package/browser/esm/{wwSpRKFXL9eeyQND.mjs → xaG6CESboBdgd5SL.mjs} +3 -3
  64. package/browser/esm/{B0ymykpoTxxHQosi.mjs → ze358yTiZmVH9_vX.mjs} +6 -4
  65. package/licenses/dependencies.txt +33 -33
  66. package/node/esm/5WNL9ztJdLI0VLJ7.mjs +997 -0
  67. package/node/esm/{B_7rer9pnurpMB9J.mjs → 8aFKkKyEL5n7sJAn.mjs} +12 -12
  68. package/node/esm/{DGieA81teTm8uNPr.mjs → 9Yzu2QTWzvPBNvc4.mjs} +1 -1
  69. package/node/esm/{DF5w_ZBWiRtITKLQ.mjs → BDGax8JuzpXDLe1U.mjs} +1 -1
  70. package/node/esm/{BedAzhQqTjs4BBb4.mjs → BMuPM5U4Q2kQVYTt.mjs} +251 -253
  71. package/node/esm/B_XE-SYyFRwWgVyQ.mjs +2070 -0
  72. package/node/esm/{C4esZkRHnb4HEK3k.mjs → Bap-XMVZ0X80-MNV.mjs} +2 -2
  73. package/node/esm/{DHrxhle3aK3XU-Jz.mjs → BghhH54dXAqciBpw.mjs} +2 -2
  74. package/node/esm/{Diu9L9DJzZCMtFb4.mjs → Bgsi1G5RDBa4Rnmh.mjs} +1 -1
  75. package/node/esm/{mHNl4j2rIZTqcQqb.mjs → Bj6wKB1N--BJ0A7u.mjs} +1 -1
  76. package/node/esm/{BBRSP-QRw-F0qQdJ.mjs → Bp6DyaGr7Ah4mCbj.mjs} +2 -2
  77. package/node/esm/BxIw0JqQD7Ibk44S.mjs +103 -0
  78. package/node/esm/{BRICG2VkglJJKy0X.mjs → C6J3DXYnvgXi5m4u.mjs} +1 -1
  79. package/node/esm/{Cr94rxP9x4CWSBhF.mjs → CAXzH3lCFKI5mhsY.mjs} +2 -2
  80. package/node/esm/CBpG1x4pS6pNfRR1.mjs +461 -0
  81. package/node/esm/{qYIPGp0bxwW5i6Tn.mjs → CDx7cgKCqLflEubV.mjs} +1 -1
  82. package/node/esm/{vTyr2di6cTC3sA1F.mjs → CFL1BiUsTE9X1-c8.mjs} +24 -24
  83. package/node/esm/{BRpSVGr1A8w4AG_c.mjs → CHBfOuyPAMiTojvS.mjs} +97 -110
  84. package/node/esm/{B1CcqB7Ue-EPkdE-.mjs → CJIgRvLMiUJG79DB.mjs} +1 -1
  85. package/node/esm/{Bwtmjq_jln0eMEMe.mjs → CcbjmWOlODDY8gGF.mjs} +1 -1
  86. package/node/esm/CdrSmZ9WDzkEGAXL.mjs +695 -0
  87. package/node/esm/{MNdDR5PA6J1YEtyL.mjs → Ck0jN6hnefC5Hbsk.mjs} +22 -22
  88. package/node/esm/{D13aAzbfNwj50sqn.mjs → CkGQNbOwGQPWEcUf.mjs} +2 -2
  89. package/node/esm/{4mAgDExCti1oMAez.mjs → D283LXrMqi3exI_l.mjs} +1 -1
  90. package/node/esm/DH0tw27cVxmy7-AI.mjs +40 -0
  91. package/node/esm/{CBes_pLI-7rJsre4.mjs → DJ4lhPXDGigmgQ-y.mjs} +2 -2
  92. package/node/esm/{CJszsuCXRBPNuT1A.mjs → DUZYSELfaHMSnDU2.mjs} +1 -1
  93. package/node/esm/{Bm31UyWMCsJ7z4wJ.mjs → DZYzjxDF58TKD0xV.mjs} +2 -2
  94. package/node/esm/{Bz0uw5YbQGvhlPhZ.mjs → Debl1EJrMSlRwGcN.mjs} +2 -2
  95. package/node/esm/{D2eYMCx5eAEJsfP6.mjs → Dga-nEOi0B5TjgH6.mjs} +148 -148
  96. package/node/esm/{BSZ0bAJn4ODpGusx.mjs → Diszdr1X5yDuuIzT.mjs} +1 -1
  97. package/node/esm/{suDXa2UiBKJB4nsR.mjs → Dms4poPA6WOC4jyK.mjs} +1 -1
  98. package/node/esm/{pm_LpeNYjo6Aahu3.mjs → DnjxhVMqfBhfsNHj.mjs} +14 -14
  99. package/node/esm/{D__UzirlxQlq32Rm.mjs → DsoWGkhZNfvhmpK-.mjs} +2 -2
  100. package/node/esm/DyKgKDqbquskgXEA.mjs +828 -0
  101. package/node/esm/{DlSfkSNLCwzofCfS.mjs → DzZb-LzjScchWCpk.mjs} +66 -67
  102. package/node/esm/{C1y7Z0K9Ougef8dU.mjs → MvXs13X1leYt7rBb.mjs} +2 -2
  103. package/node/esm/{DXQFo_r4CCCvIubP.mjs → SBp59gHxCkFpvNwi.mjs} +1 -1
  104. package/node/esm/{n5-pWzwq4pDS4adG.mjs → iJrkLXWLGxVhCmtE.mjs} +1 -1
  105. package/node/esm/index.mjs +3294 -3031
  106. package/node/esm/{B7_-3nxcN-ZSDQVT.mjs → l0liY9jxGCFXsxNX.mjs} +1 -1
  107. package/node/esm/{DvlZnGlon5gwQBxU.mjs → mhPcr4NaFejGRG5p.mjs} +1 -1
  108. package/node/esm/{9e9_OZYxc0ATDkNI.mjs → vfgV7wwOvzh9iYjc.mjs} +1 -1
  109. package/package.json +9 -9
  110. package/resources/locales/de/groups.cmd.json +4 -6
  111. package/resources/locales/de/ui.msg.json +164 -3
  112. package/resources/locales/en/groups.cmd.json +4 -6
  113. package/resources/locales/en/ui.msg.json +164 -3
  114. package/types/src/anomalies/AnomaliesCommands.d.ts +1 -1
  115. package/types/src/chart/ChartDetailsPanel.d.ts +34 -0
  116. package/types/src/chart/ChartDetailsTaskPane.d.ts +9 -0
  117. package/types/src/chart/ChartFormatPanel.d.ts +12 -14
  118. package/types/src/chart/command/ChartColorsCommandButton.d.ts +54 -0
  119. package/types/src/chart/command/ChartStyleCommandButton.d.ts +64 -0
  120. package/types/src/chart/command/InsertChartCommandButton.d.ts +15 -0
  121. package/types/src/chart/command/index.d.ts +2 -0
  122. package/types/src/chart/format/ChartElementFormat.d.ts +54 -0
  123. package/types/src/chart/pane/ChartPaneModel.d.ts +134 -0
  124. package/types/src/chart/pane/ChartPaneRow.d.ts +77 -0
  125. package/types/src/color/ColorSetSwatch.d.ts +34 -0
  126. package/types/src/color/index.d.ts +1 -0
  127. package/types/src/command/NumberFormatQuickButtons.d.ts +1 -1
  128. package/types/src/format/FillPanel.d.ts +1 -3
  129. package/types/src/format/FormatPanelParts.d.ts +2 -2
  130. package/types/src/format/FormatPlugin.d.ts +2 -2
  131. package/types/src/format/FormatTaskPane.d.ts +4 -10
  132. package/types/src/format/LinePanel.d.ts +0 -2
  133. package/types/src/format/editor/FormatEditor.d.ts +36 -0
  134. package/types/src/format/editor/FormatField.d.ts +97 -0
  135. package/types/src/format/editor/FormatFields.d.ts +20 -0
  136. package/types/src/format/editor/index.d.ts +4 -0
  137. package/types/src/format/index.d.ts +1 -0
  138. package/types/src/format/useFormatSelection.d.ts +0 -2
  139. package/types/src/index.d.ts +1 -1
  140. package/types/src/shape/ShapeFormatPanel.d.ts +3 -7
  141. package/types/src/workbook/DefaultRenderers.d.ts +7 -1
  142. package/browser/esm/39iN4gKrFnhPhM1Z.mjs +0 -517
  143. package/browser/esm/BWXXi0teArfwa70E.mjs +0 -72
  144. package/browser/esm/J519wp1_d0QjzPfN.mjs +0 -516
  145. package/node/esm/Bc2iZ6Qs3kHdsECK.mjs +0 -1831
  146. package/node/esm/BvKg2K2J7Us2czkC.mjs +0 -519
  147. package/node/esm/CwQPIQaC6CcVGkD2.mjs +0 -73
  148. package/node/esm/CyQekcyEfM7Engbk.mjs +0 -516
  149. package/types/src/studio/StudioSplitPane.d.ts +0 -60
@@ -1,20 +1,18 @@
1
- import { default as React } from 'react';
2
- import { IChart } from '@sheetxl/sdk';
3
- import { useTranslator } from '@sheetxl/utils-react';
4
1
  import { MovablePaneProps } from '@sheetxl/react';
5
- type Translate = ReturnType<typeof useTranslator>;
6
- /** The element by the name Excel's Chart Elements list gives it. */
7
- export declare const elementLabel: (t: Translate, element: IChart.IElement) => string;
8
2
  /**
9
- * The body of the format pane for a chart: Excel's Format pane for one chart element at a time,
10
- * chosen from the chart's elements as its Chart Elements list offers them.
3
+ * The body of the format pane for a chart: the format editor on whichever element is selected in
4
+ * the chart, or on the chart area when none is.
11
5
  *
12
6
  * @remarks
13
- * Each element shows its fill and line (the format pane's own Fill and Line controls, bound to the
14
- * element's style), its text style where it has text, and its own options. Every control writes
15
- * through the element's setters, one step to undo each; what a chart refuses is said under the
16
- * picker.
7
+ * What the chart has, and what each part reads, is the Chart Details pane's; this formats one
8
+ * element at a time. An element is chosen by pressing it in the chart or by the format button on its
9
+ * row in Chart Details. Each type of element says which tabs it has
10
+ * (`registerChartElementFormat`); a part with none of its own opens what it is part of on its tab,
11
+ * so a point's label is its point's Label. A call that opens the pane may name the tab too
12
+ * (`MovablePaneArgs.tab`): an axis's Labels row asks for the axis's Labels.
13
+ *
14
+ * The button beside the element's name goes the other way: it shows Chart Details, on the row of
15
+ * the element being formatted. A host without that pane has no button.
17
16
  */
18
- export declare const ChartFormatPanel: React.MemoExoticComponent<(props: MovablePaneProps) => React.JSX.Element>;
19
- export {};
17
+ export declare const ChartFormatPanel: import('react').MemoExoticComponent<(props: MovablePaneProps) => import("react").JSX.Element>;
20
18
  //# sourceMappingURL=ChartFormatPanel.d.ts.map
@@ -0,0 +1,54 @@
1
+ import { default as React } from 'react';
2
+ import { IChart, IColor } from '@sheetxl/sdk';
3
+ import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
4
+ export interface ChartColorsSwatchProps {
5
+ /** The colors, in order. */
6
+ colors: readonly IColor[];
7
+ /** `chips` for a colorful set, `ramp` for a set of one color. Default `chips`. */
8
+ variant?: 'chips' | 'ramp';
9
+ /** `medium` for a gallery, `icon` for a toolbar button. Default `medium`. */
10
+ size?: 'icon' | 'medium';
11
+ }
12
+ /**
13
+ * A chart's color set in small ({@link ColorSetSwatch}): a colorful set as chips, a set of one
14
+ * color as a ramp. A chart is drawn on the page's white, so its colors are shown as they are there.
15
+ */
16
+ export declare const ChartColorsSwatch: React.MemoExoticComponent<(props: ChartColorsSwatchProps) => React.JSX.Element>;
17
+ export interface ChartColorsGalleryProps {
18
+ /** The chart the sets are shown for, in its workbook's theme. */
19
+ chart: IChart;
20
+ /** The set marked as the chart's; `null` for none. Default: the one the chart's series are in. */
21
+ selectedScheme?: number | null;
22
+ disabled?: boolean;
23
+ /** Called with the set pressed, 10 to 26. */
24
+ onSelectScheme: (scheme: number) => void;
25
+ }
26
+ /**
27
+ * The gallery of color sets, as Excel's Change Colors lists them: the colorful sets, which take the
28
+ * theme's accents in turn, then the sets of one color, dark to light and light to dark. Each is
29
+ * drawn in the chart's own theme, with the set the chart is in marked.
30
+ */
31
+ export declare const ChartColorsGallery: React.MemoExoticComponent<(props: ChartColorsGalleryProps) => React.JSX.Element>;
32
+ export interface ChartColorsGalleryButtonProps extends CommandPopupButtonProps {
33
+ /** The chart the sets are shown for; `null` while there is none. */
34
+ chart: IChart | null;
35
+ /** Called with the set pressed in the gallery, 10 to 26. */
36
+ onSelectScheme: (scheme: number) => void;
37
+ /** What the button's tooltip says. */
38
+ tip?: {
39
+ label?: React.ReactNode;
40
+ description?: React.ReactNode;
41
+ };
42
+ }
43
+ /**
44
+ * A button that opens the {@link ChartColorsGallery} and hands back the set pressed. What is done
45
+ * with it is the caller's: the ribbon runs the chart's command, the chart's details write the chart.
46
+ * The button shows six colors of the set the chart is in, or of the first set where its series
47
+ * are in colors of their own.
48
+ */
49
+ export declare const ChartColorsGalleryButton: React.NamedExoticComponent<Omit<ChartColorsGalleryButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
50
+ export interface ChartColorsCommandButtonProps extends CommandPopupButtonProps {
51
+ }
52
+ /** The gallery of color sets on the selected chart's `chartColors` command: the ribbon's Change Colors. */
53
+ export declare const ChartColorsCommandButton: React.NamedExoticComponent<Omit<ChartColorsCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
54
+ //# sourceMappingURL=ChartColorsCommandButton.d.ts.map
@@ -0,0 +1,64 @@
1
+ import { default as React } from 'react';
2
+ import { IChart } from '@sheetxl/sdk';
3
+ import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
4
+ export interface ChartStyleSwatchProps {
5
+ preview: IChart.StylePreview;
6
+ /**
7
+ * How large it is drawn: `medium` for a gallery, `icon` for a toolbar button, where it is as
8
+ * tall as the toolbar's other icons (`--icon-size`, which follows the density) so the toolbar
9
+ * keeps its height, as the cell style button's preview is. Default `medium`.
10
+ */
11
+ size?: 'icon' | 'medium';
12
+ }
13
+ /**
14
+ * A preset chart style in small: three bars in the colors it gives the first three series, on the
15
+ * plot area it draws, with a baseline as heavy as its lines.
16
+ */
17
+ export declare const ChartStyleSwatch: React.MemoExoticComponent<(props: ChartStyleSwatchProps) => React.JSX.Element>;
18
+ export interface ChartStyleGalleryProps {
19
+ /** The chart the styles are shown for, in its workbook's theme. */
20
+ chart: IChart;
21
+ /** The style marked as the chart's. Default: the one the chart is in. */
22
+ selectedStyle?: number;
23
+ disabled?: boolean;
24
+ /** Called with the style pressed, 1 to 48. */
25
+ onSelectStyle: (style: number) => void;
26
+ }
27
+ /**
28
+ * The gallery of preset chart styles: the 48 a chart's file names (`c:style`), eight to a row, each
29
+ * drawn as the chart's own theme draws it, with the chart's own marked.
30
+ *
31
+ * @remarks
32
+ * A column of grays, a column of the theme's colors, and a column for each of its six accents, in
33
+ * six rows that differ by the weight of their lines and the plot area's fill.
34
+ */
35
+ export declare const ChartStyleGallery: React.MemoExoticComponent<(props: ChartStyleGalleryProps) => React.JSX.Element>;
36
+ export interface ChartStyleGalleryButtonProps extends CommandPopupButtonProps {
37
+ /** The chart the styles are shown for, in its workbook's theme; `null` while there is none. */
38
+ chart: IChart | null;
39
+ /** Called with the style pressed in the gallery, 1 to 48. */
40
+ onSelectStyle: (style: number) => void;
41
+ /** What the button's tooltip says. */
42
+ tip?: {
43
+ label?: React.ReactNode;
44
+ description?: React.ReactNode;
45
+ };
46
+ }
47
+ /**
48
+ * A button that opens the {@link ChartStyleGallery} and hands back the style pressed. What is done
49
+ * with it is the caller's: the ribbon runs the chart's command, the chart's details write the chart.
50
+ * The button shows the style the chart is in.
51
+ */
52
+ export declare const ChartStyleGalleryButton: React.NamedExoticComponent<Omit<ChartStyleGalleryButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
53
+ export interface ChartStyleCommandButtonProps extends CommandPopupButtonProps {
54
+ }
55
+ /** The gallery of chart styles on the selected chart's `chartStyle` command: the ribbon's Chart Styles. */
56
+ export declare const ChartStyleCommandButton: React.NamedExoticComponent<Omit<ChartStyleCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
57
+ export interface ChangeChartTypeCommandButtonProps extends CommandPopupButtonProps {
58
+ }
59
+ /**
60
+ * The gallery of chart types on the selected chart's `chartChangeType` command: the ribbon's Change
61
+ * Chart Type. It shows the type the chart is drawn as, and a type pressed draws every series as it.
62
+ */
63
+ export declare const ChangeChartTypeCommandButton: React.NamedExoticComponent<Omit<ChangeChartTypeCommandButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
64
+ //# sourceMappingURL=ChartStyleCommandButton.d.ts.map
@@ -1,6 +1,21 @@
1
1
  import { CommandPopupButtonProps } from '@sheetxl/utils-mui';
2
+ import { ChartTypeDescriptor } from '@sheetxl/react';
2
3
  export interface InsertChartCommandButtonProps extends CommandPopupButtonProps {
3
4
  }
5
+ export interface ChartTypeGalleryButtonProps extends CommandPopupButtonProps {
6
+ /** Called with the type pressed in the gallery. */
7
+ onSelectType: (descriptor: ChartTypeDescriptor) => void;
8
+ /** What the button's tooltip says. */
9
+ tip?: {
10
+ label?: React.ReactNode;
11
+ description?: React.ReactNode;
12
+ };
13
+ }
14
+ /**
15
+ * A button that opens the gallery of chart types and hands back the one pressed. What is done with
16
+ * it is the caller's: the ribbon inserts a chart of it, the chart's details draw the chart as it.
17
+ */
18
+ export declare const ChartTypeGalleryButton: import('react').NamedExoticComponent<Omit<ChartTypeGalleryButtonProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
4
19
  /**
5
20
  * TODO -
6
21
  * Quick button for last chart (like last color)
@@ -1,2 +1,4 @@
1
1
  export * from './InsertChartCommandButton';
2
+ export * from './ChartStyleCommandButton';
3
+ export * from './ChartColorsCommandButton';
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,54 @@
1
+ import { IChart } from '@sheetxl/sdk';
2
+ import { FormatTarget, FormatTargetTab } from '../../format';
3
+ import { Translate } from '../pane/ChartPaneModel';
4
+ /** What a chart element's format is built with. */
5
+ export interface ChartElementFormatContext {
6
+ chart: IChart;
7
+ t: Translate;
8
+ }
9
+ /**
10
+ * Answers the tabs the format editor shows for one chart element: the standard ones its kind has
11
+ * (fill and line, text) and its own options.
12
+ */
13
+ export type ChartElementFormat<E extends IChart.IElement = IChart.IElement> = (element: E, context: ChartElementFormatContext) => FormatTargetTab[];
14
+ /** The keys of the tabs the built-in chart formats use; a format that reuses one shares its place in the strip. */
15
+ export declare const ChartFormatTab: {
16
+ readonly FillLine: "fillLine";
17
+ readonly Text: "text";
18
+ /** An axis's labels: where they sit, what they show and how they read, with their font. */
19
+ readonly Labels: "labels";
20
+ readonly Marker: "marker";
21
+ readonly Label: "label";
22
+ readonly Options: "options";
23
+ };
24
+ /**
25
+ * Registers the format of one type of chart element (`IChart.IElement.getElementType()`), replacing
26
+ * the one registered before. Returns a function that puts the earlier one back.
27
+ *
28
+ * @remarks
29
+ * A format answers for every element of the type; one whose tabs depend on how a series is drawn
30
+ * reads the series' chart type from the element.
31
+ */
32
+ export declare function registerChartElementFormat<E extends IChart.IElement = IChart.IElement>(elementType: string, format: ChartElementFormat<E>): () => void;
33
+ /** What the format editor is shown for a chart: the target, the element it is of, and a tab to open on. */
34
+ export interface ChartFormatResolution {
35
+ target: FormatTarget;
36
+ element: IChart.IElement;
37
+ /** The tab the selected element is, where it is a part of the target (a point's label, a series' marker). */
38
+ tab?: string;
39
+ }
40
+ /**
41
+ * Resolves what the format editor formats for `chart` with `active` selected in it.
42
+ *
43
+ * @remarks
44
+ * Nothing selected is the chart area. A part with no format of its own formats what it is part of,
45
+ * on its tab: a marker is its series' or its point's Marker, and a point's label is its point's
46
+ * Label.
47
+ */
48
+ export declare const resolveChartFormat: (chart: IChart, active: IChart.IElement | null, t: Translate) => ChartFormatResolution;
49
+ /**
50
+ * Registers the formats of the chart elements this package knows, once. A host's own
51
+ * {@link registerChartElementFormat} for a type, made before or after, is not replaced by a second call.
52
+ */
53
+ export declare function registerChartElementFormats(): void;
54
+ //# sourceMappingURL=ChartElementFormat.d.ts.map
@@ -0,0 +1,134 @@
1
+ import { IChart } from '@sheetxl/sdk';
2
+ import { useTranslator } from '@sheetxl/utils-react';
3
+ import { FormatField } from '../../format';
4
+ export type Translate = ReturnType<typeof useTranslator>;
5
+ /**
6
+ * A row of the pane: one chart element, or one that would be there once shown.
7
+ *
8
+ * @remarks
9
+ * A row says that its element is there, what it reads and what it references. How the element
10
+ * looks, and the options that are its own, are the format editor's, reached from the row.
11
+ *
12
+ * What a row offers says what kind it is:
13
+ * - `always`: no control; the element is always there (the chart area, the plot area).
14
+ * - `toggle`: shown or hidden; hiding loses nothing.
15
+ * - `item`: one of a list; it can be removed, and a series can be put in another place.
16
+ * - `derived`: there because something uses it (a secondary axis, a group's lines); shown or hidden.
17
+ */
18
+ export interface ChartPaneNode {
19
+ /** Names the row in the tree. An element drawn under several rows has an id per row. */
20
+ id: string;
21
+ kind: 'always' | 'toggle' | 'item' | 'derived';
22
+ /** The row's label, short: its place in the tree says the rest. */
23
+ label: string;
24
+ /** The element by its whole name, as Excel's Chart Elements list gives it. */
25
+ name: string;
26
+ /** The element the row is of; `null` for a row of the chart as a whole. */
27
+ element: IChart.IElement | null;
28
+ /** Shows or hides the element. */
29
+ toggle?: {
30
+ get: () => boolean;
31
+ set: (shown: boolean) => void;
32
+ };
33
+ /** Removes the element from its list. */
34
+ remove?: () => void;
35
+ /** The element's place in its list, from 0, for a list whose rows can be put in another order. */
36
+ order?: {
37
+ get: () => number;
38
+ set: (index: number) => void;
39
+ };
40
+ /** The color the element is drawn in, as CSS, for the key on its header; `null` where it has no one color. */
41
+ swatch?: () => string | null;
42
+ /** How the element is drawn, chosen on its header. */
43
+ type?: {
44
+ get: () => string;
45
+ set: (type: string) => void;
46
+ options: () => readonly ChartPaneTypeOption[];
47
+ };
48
+ /** The tab of the format editor the row is of, where it is a part of its element with a tab of its own (an axis's labels). */
49
+ tab?: string;
50
+ /** Whether the row has nothing inside it: it does not open, and pressing it selects its element. */
51
+ leaf?: boolean;
52
+ /** The row's own settings. Asked for when the row opens. */
53
+ fields: () => FormatField[];
54
+ /** The rows and lists inside this one. Asked for when the row opens. */
55
+ children: () => (ChartPaneNode | ChartPaneList)[];
56
+ }
57
+ /** The chart's selection as the pane's rows need it: what is selected, and a way to select. */
58
+ export interface ChartPaneSelection {
59
+ /** The element selected in the chart, or `null`. */
60
+ active: IChart.IElement | null;
61
+ select: (element: IChart.IElement) => void;
62
+ /** Selects an element and brings up the format editor on it, on `tab` where one is named. */
63
+ format?: (element: IChart.IElement, tab?: string) => void;
64
+ }
65
+ /** A way a series can be drawn, as its header's picker offers it. */
66
+ export interface ChartPaneTypeOption {
67
+ type: string;
68
+ label: string;
69
+ }
70
+ /** Rows under a heading: a section of the pane, or a list inside a row that can be added to. */
71
+ export interface ChartPaneList {
72
+ id: string;
73
+ label: string;
74
+ /** Adds an item and returns its row's id, for the pane to open; `addLabel` names the action. */
75
+ add?: () => string | void;
76
+ addLabel?: string;
77
+ /** What is said in place of the rows while there are none. */
78
+ empty?: string;
79
+ items: () => ChartPaneNode[];
80
+ readonly isList: true;
81
+ }
82
+ export declare const isChartPaneList: (child: ChartPaneNode | ChartPaneList) => child is ChartPaneList;
83
+ /** The element by the name Excel's Chart Elements list gives it. */
84
+ export declare const elementLabel: (t: Translate, element: IChart.IElement) => string;
85
+ /**
86
+ * The details of `chart`, declared: its sections, their rows, and each row's fields and inner rows.
87
+ *
88
+ * @remarks
89
+ * Nothing here draws. Rows answer their fields and children when asked, so a closed row costs its
90
+ * label. Every setter writes through the element's own, one step to undo each, and may throw what
91
+ * the chart refuses.
92
+ */
93
+ export declare const buildChartPane: (chart: IChart, t: Translate, selection?: ChartPaneSelection) => ChartPaneList[];
94
+ /** The chart as a whole, at the head of its details: what it is called, the cells it is made of and how it is drawn. */
95
+ export interface ChartPaneSource {
96
+ /** The chart's name and the block of cells its series are made of. */
97
+ fields: FormatField[];
98
+ /**
99
+ * Which way the block is read, and reading it the other way. Disabled while the series do not
100
+ * make one block: there is then no other way to read.
101
+ */
102
+ seriesBy: {
103
+ get: () => 'rows' | 'columns';
104
+ switchLabel: string;
105
+ disabled: boolean;
106
+ switch: () => void;
107
+ };
108
+ /** The chart area: the chart itself, formatted from the head of the pane. */
109
+ area: IChart.IElement;
110
+ /** The type every series is drawn as; `combo` once they differ. */
111
+ type: {
112
+ get: () => string;
113
+ label: string;
114
+ set: (type: string) => void;
115
+ };
116
+ }
117
+ /**
118
+ * The head of the chart's details: its name, and the presets that write every series at once. The
119
+ * block of cells the series are made of, which way they read it, and the type they are all drawn
120
+ * as. Each shows what the chart is now, told from its series, and says so when they no longer
121
+ * agree; choosing one writes every series.
122
+ *
123
+ * @remarks
124
+ * Which way the block is read is not a setting of the chart, of a series or of an axis: nothing
125
+ * stores it. It is how the block was cut into series, told again from where the series' cells are,
126
+ * so it is offered beside the block and only while there is one.
127
+ */
128
+ export declare const buildChartSource: (chart: IChart, t: Translate) => ChartPaneSource;
129
+ /**
130
+ * Returns the ids of the rows that lead to `element`'s row, outermost first and its own last, or
131
+ * `null` when no row is the element's. An element under several rows answers the first.
132
+ */
133
+ export declare const findChartPaneRow: (lists: readonly ChartPaneList[], element: IChart.IElement) => string[] | null;
134
+ //# sourceMappingURL=ChartPaneModel.d.ts.map
@@ -0,0 +1,77 @@
1
+ import { default as React } from 'react';
2
+ import { IChart, IWorksheet } from '@sheetxl/sdk';
3
+ import { RunEdit } from '../../format';
4
+ import { ChartPaneList, ChartPaneNode, Translate } from './ChartPaneModel';
5
+ /** What every row of the pane is drawn with. */
6
+ export interface ChartPaneContext {
7
+ sheet: IWorksheet;
8
+ t: Translate;
9
+ disabled: boolean;
10
+ run: RunEdit;
11
+ /** The ids of the rows that are open. */
12
+ open: ReadonlySet<string>;
13
+ /** Opens or closes a row, as its header was pressed; a row with nothing inside it is selected instead. */
14
+ onToggleOpen: (node: ChartPaneNode) => void;
15
+ /** Opens or closes a list inside a row, as its heading was pressed. */
16
+ onToggleList: (list: ChartPaneList) => void;
17
+ /** Selects a row's element and brings up the format editor on it. */
18
+ onFormat: (node: ChartPaneNode) => void;
19
+ /** The id of the row whose body is the innermost pointed at, or else focused; `null` for none. */
20
+ lit: string | null;
21
+ /** The element selected in the chart, whose row is marked. */
22
+ active: IChart.IElement | null;
23
+ /** Hands the pane a row's header, to scroll to. */
24
+ registerRow: (id: string, header: HTMLElement | null) => void;
25
+ /** Adds an item to a list, as its heading's button was pressed. */
26
+ onAdd: (list: ChartPaneList) => void;
27
+ /** The row being dragged to another place in its list, and the list it is of. */
28
+ drag: {
29
+ current: {
30
+ node: ChartPaneNode;
31
+ listId: string;
32
+ } | null;
33
+ };
34
+ /** The id of the row a dragged row would be dropped on. */
35
+ dropTarget: string | null;
36
+ setDropTarget: (id: string | null) => void;
37
+ }
38
+ /**
39
+ * One row: a header that opens it, then, at the right edge, its format button, its remove button
40
+ * and its toggle; and under the header, once open, its fields and the rows inside it.
41
+ *
42
+ * @remarks
43
+ * The header opens a row whatever its toggle says: a hidden element can still be set up. The body
44
+ * is not built until the row first opens. A row with nothing inside it has no chevron, and pressing
45
+ * it selects its element. The format and remove buttons show while the row is pointed at or holds
46
+ * the focus, and always where there is no pointer to hover with; a list's add button is always
47
+ * drawn. A series' type picker follows its name.
48
+ *
49
+ * A press is not rippled: the button is the row's label, not the whole row, so a ripple would stop
50
+ * short of the row's controls. The keyboard's focus is shown by an outline.
51
+ *
52
+ * Every row is outlined, so that each reads as a control whether or not it opens. A row of a
53
+ * section is a `card` besides: a surface of its own on the section's ground. What is inside an open
54
+ * row is bracketed by a rule that drops from its chevron and turns under the body, which says whose
55
+ * it is. The bracket of the body pointed at, or holding the focus, is drawn in the primary color
56
+ * with the chevron it drops from, and no bracket around it is. The row of the element selected in
57
+ * the chart is outlined in that color, its chevron with it; its header is not filled.
58
+ */
59
+ export declare const ChartPaneRow: (props: {
60
+ node: ChartPaneNode;
61
+ context: ChartPaneContext;
62
+ listId?: string;
63
+ count?: number;
64
+ card?: boolean;
65
+ }) => React.ReactElement;
66
+ /** The id a list inside a row is held under while it is closed. */
67
+ export declare const closedListId: (id: string) => string;
68
+ /**
69
+ * Rows under a heading: a section of the pane, or a list inside a row. A list that can be added to
70
+ * has its add button on the heading. A section's rows sit on a ground of their own, each a card.
71
+ */
72
+ export declare const ChartPaneRows: (props: {
73
+ list: ChartPaneList;
74
+ context: ChartPaneContext;
75
+ nested?: boolean;
76
+ }) => React.ReactElement;
77
+ //# sourceMappingURL=ChartPaneRow.d.ts.map
@@ -0,0 +1,34 @@
1
+ import { default as React } from 'react';
2
+ import { Theme } from '@mui/material';
3
+ export interface ColorSetSwatchProps {
4
+ /** The colors, in order, as CSS. */
5
+ colors: readonly string[];
6
+ /** What each color is, in order: shown when it is pointed at. */
7
+ labels?: readonly string[];
8
+ /**
9
+ * How the colors are drawn. `chips`: each a rounded square of its own, overlapping the one
10
+ * before it, for colors that are different things. `ramp`: one rounded bar running from the
11
+ * first color to the last, for shades of one color. Default `chips`.
12
+ */
13
+ variant?: 'chips' | 'ramp';
14
+ /**
15
+ * How large it is drawn: `medium` for a gallery, `icon` for a toolbar button, where it is as tall
16
+ * as the toolbar's other icons (`--icon-size`) so the toolbar keeps its height. Default `medium`.
17
+ */
18
+ size?: 'icon' | 'medium';
19
+ style?: React.CSSProperties;
20
+ }
21
+ /**
22
+ * How a block of color is finished wherever colors are picked from or shown as a set: its corners'
23
+ * radius, and a faint flat edge over it (no shadow), so that a color close to the surface's is
24
+ * still seen. The color picker's squares and columns take the same, so they read as one family.
25
+ */
26
+ export declare const COLOR_BLOCK_RADIUS = 5;
27
+ export declare const colorBlockEdge: (theme: Theme) => Record<string, unknown>;
28
+ /**
29
+ * A set of colors in small: a theme's, a chart's color set. Colors that are different things are a
30
+ * row of chips, each ringed in the surface's color where it overlaps the one before, and edged
31
+ * faintly so that one the color of the surface is still seen. Shades of one color are a ramp.
32
+ */
33
+ export declare const ColorSetSwatch: React.MemoExoticComponent<(props: ColorSetSwatchProps) => React.JSX.Element>;
34
+ //# sourceMappingURL=ColorSetSwatch.d.ts.map
@@ -2,6 +2,7 @@ export * from './Types';
2
2
  export * from './ColorPanel';
3
3
  export * from './ColorButton';
4
4
  export * from './ColorButtonList';
5
+ export * from './ColorSetSwatch';
5
6
  export type * from './CustomColorPanel';
6
7
  export * from './ColorPopupButton';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -2,7 +2,7 @@ import { default as React } from 'react';
2
2
  import { Theme, SxProps } from '@mui/material';
3
3
  /**
4
4
  * The registry key the number-format popup is registered under — and the scope its members' labels
5
- * resolve against: `formatCells` reads as "More Number Formats…" there, "Format Cells" elsewhere,
5
+ * resolve against: `format` reads as "More Number Formats…" there, "Format Cells" elsewhere,
6
6
  * and the quick buttons below resolve their compact labels against it.
7
7
  */
8
8
  export declare const NUMBER_FORMAT_GROUP_KEY = "numberFormatOptions";
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { IFill, IColor, ICell, IStyleCollection } from '@sheetxl/sdk';
2
+ import { IFill, ICell, IStyleCollection } from '@sheetxl/sdk';
3
3
  import { FormatSelection } from './useFormatSelection';
4
4
  /**
5
5
  * What the Fill panel needs: one fill to show and one place to write a fill. A cell selection and a
@@ -10,8 +10,6 @@ export interface FillSelection {
10
10
  fill: IFill;
11
11
  /** The workbook's style collection — theme swatches and recent colors for the pickers. */
12
12
  styles: IStyleCollection;
13
- /** Theme color resolution for the color pickers. */
14
- schemeLookup: IColor.SchemeLookup;
15
13
  /** Whether the GRID renders dark (not the app chrome) — swatches follow the grid. */
16
14
  darkMode: boolean;
17
15
  /** True when the fill cannot be changed (a protected sheet). */
@@ -36,8 +36,8 @@ export interface FormatNumberFieldProps {
36
36
  step?: number;
37
37
  /** Accept fractions (a line width in points). Default: whole numbers only. */
38
38
  decimals?: boolean;
39
- /** Width in px. These sit in rows beside buttons, not in a form column. */
40
- width: number;
39
+ /** Width in px, for a field in a row beside buttons, or a CSS width (`'100%'`) for one in a form column. */
40
+ width: number | string;
41
41
  disabled?: boolean;
42
42
  /** A value to apply — typed, stepped, or re-committed with Enter. Already clamped to `min…max`. */
43
43
  onChange: (value: number) => void;
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Registers the Format Cells task pane. Called from the studio bootstrap alongside the other
3
- * built-in panes.
2
+ * Supplies the cells' body of the Format task pane, and registers the pane. Called from the studio
3
+ * bootstrap alongside the other built-in panes.
4
4
  */
5
5
  export declare const FormatPlugin: () => (() => void);
6
6
  //# sourceMappingURL=FormatPlugin.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { IWorkbook } from '@sheetxl/sdk';
3
- import { TaskPaneProps } from '@sheetxl/react';
3
+ import { FormatPaneArgs, TaskPaneProps } from '@sheetxl/react';
4
4
  /** The pane's tabs, in Excel's own order (with Fill where Excel keeps Patterns). */
5
5
  export declare const FormatTab: {
6
6
  readonly Number: "number";
@@ -10,17 +10,11 @@ export declare const FormatTab: {
10
10
  readonly Fill: "fill";
11
11
  };
12
12
  export type FormatTab = typeof FormatTab[keyof typeof FormatTab];
13
- /**
14
- * What a command may ask the format pane to open on — `activateTaskPane('formatCells', { args })`.
15
- */
16
- export interface FormatPaneArgs {
17
- /** The tab to show. Omit to reopen on whichever tab the user was last on. */
18
- tab?: FormatTab;
19
- }
20
- /** Persistence key for {@link FormatPaneArgs.tab | the tab} an argument-less activation returns to. */
13
+ /** Persistence key for the tab an argument-less activation (`FormatPaneArgs`) returns to. */
21
14
  export declare const FORMAT_TAB_KEY = "format.tab";
22
15
  /**
23
- * The **Format Cells** task pane: one preview over five tabs, applying live to the selection.
16
+ * The cells' body of the **Format** task pane (`registerFormatCellsPane`): one preview over five
17
+ * tabs, applying live to the selection.
24
18
  *
25
19
  * @remarks
26
20
  * Modeled on Excel Online's format pane, with two deliberate departures.
@@ -15,8 +15,6 @@ export interface LineSelection {
15
15
  autoColor: IColor;
16
16
  /** The workbook's style collection — theme swatches and recent colors for the picker. */
17
17
  styles: IStyleCollection;
18
- /** Theme color resolution for the color picker. */
19
- schemeLookup: IColor.SchemeLookup;
20
18
  /** Whether the GRID renders dark (not the app chrome) — swatches follow the grid. */
21
19
  darkMode: boolean;
22
20
  /** True when the line cannot be changed (a protected sheet). */
@@ -0,0 +1,36 @@
1
+ import { default as React } from 'react';
2
+ import { IWorksheet } from '@sheetxl/sdk';
3
+ import { FormatTarget } from './FormatField';
4
+ export interface FormatEditorProps {
5
+ /** What is formatted. */
6
+ target: FormatTarget;
7
+ /** The sheet the target is on: its styles, and the cells a field may pick. */
8
+ sheet: IWorksheet;
9
+ /**
10
+ * A tab to show, by key. An event, not state: the editor moves to it when the object changes, and
11
+ * the user is free to leave it.
12
+ */
13
+ request?: {
14
+ tab: string;
15
+ } | null;
16
+ /**
17
+ * Drawn at the end of the title's line: where a host puts the way from this thing's format to
18
+ * whatever else is done with it (a chart element's row in Chart Details).
19
+ */
20
+ actions?: React.ReactNode;
21
+ }
22
+ /**
23
+ * Formats one thing: its tabs across the top, and under them the fields of the tab shown, each
24
+ * applying as it is set.
25
+ *
26
+ * @remarks
27
+ * The editor knows nothing of what it formats. A {@link FormatTarget} says what the thing is called,
28
+ * which tabs its kind has and what is on each, so the same editor serves a shape, a chart's legend
29
+ * and one point of a series. It is a component, not a pane: a host puts it where it wants one.
30
+ *
31
+ * It stays on the tab it was on when the target changes, where the new target has a tab of that
32
+ * key: pressing one series after another keeps Fill and Line in view. A target with one tab shows
33
+ * no tab strip. What a write is refused for is said above the fields.
34
+ */
35
+ export declare const FormatEditor: (props: FormatEditorProps) => React.ReactElement;
36
+ //# sourceMappingURL=FormatEditor.d.ts.map