@sheetxl/react 0.8.0-beta.17 → 0.8.0-beta.19

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 (116) hide show
  1. package/browser/esm/{9YeNE9FbgAbj-kFJ.mjs → 0i5npOCRbbj7n8AX.mjs} +1 -1
  2. package/browser/esm/{BxmM4_1EU7z1fS8J.mjs → 6KVLDn6fk3Lwk3W0.mjs} +6 -6
  3. package/browser/esm/{B7yfrZvX62qlpS-V.mjs → BFBIk0dXMPBtSHGB.mjs} +1 -1
  4. package/browser/esm/{-mdWrNwKPMBQbhpW.mjs → BMZ6O7J3XnUMlQJ5.mjs} +2 -2
  5. package/browser/esm/{B9r44M1lVTxnLqBb.mjs → BMl3t5nAS8wea8ia.mjs} +1 -1
  6. package/browser/esm/{B0tm14veV7VbqCXF.mjs → BR8he3r4FlfNbM5Y.mjs} +1 -1
  7. package/browser/esm/{NUXuZQHZmiYexulZ.mjs → BWCG8Jc6oF3jzfFk.mjs} +5 -5
  8. package/browser/esm/{BzLeA0HlYOPeNbAo.mjs → B_PNL36bd0h74iJo.mjs} +4 -4
  9. package/browser/esm/{CmDfYf-7BEMQKyqH.mjs → BcTcL2e5NjgL1j-k.mjs} +1 -1
  10. package/browser/esm/{Dm5_yXkbckf2odQK.mjs → BiyB416KncWj7-2t.mjs} +3 -3
  11. package/browser/esm/BpEap6qV7SAhbiMg.mjs +78 -0
  12. package/browser/esm/{Ip8RHzHhXWuXTW8Z.mjs → By-Xfu2c6LLIWg-G.mjs} +6 -6
  13. package/browser/esm/{DQ7lWEbxzkSksQvK.mjs → C8CBCqCUydGXhIco.mjs} +2 -2
  14. package/browser/esm/{qmxmy7tirF1as3Xs.mjs → CEIulpO2M6bY6Hgq.mjs} +1 -1
  15. package/browser/esm/{Z57bAJBcfLMsZG74.mjs → CJxA4mQkgsRg8ejK.mjs} +3 -3
  16. package/browser/esm/{DmIj68EaqzbpmhGu.mjs → CSsytd3vgnhi7AMm.mjs} +1 -1
  17. package/browser/esm/CTFVB5vQl5dFo1zd.mjs +14092 -0
  18. package/browser/esm/{CWZ7Dx5SBWu4aU9Z.mjs → C_OaCmryR0Nc4vfH.mjs} +1 -1
  19. package/browser/esm/{CYEzd5w4p9LRScYN.mjs → D7Kvnl4-FdEGuadk.mjs} +1 -1
  20. package/browser/esm/{BeVkpREgRD5DVvqq.mjs → DOuAxKNRVl3p4oUg.mjs} +1 -1
  21. package/browser/esm/{B1rrVGz1PwKbTLA2.mjs → DZT2k-wAR3bBFQhh.mjs} +1 -1
  22. package/browser/esm/{CNv5ABj97zChkI-j.mjs → Dce_lDRjVEpn-4Gj.mjs} +1 -1
  23. package/browser/esm/DrYGRymc8k3JZBZu.mjs +9560 -0
  24. package/browser/esm/{E7Yhe921O7ju1JLF.mjs → cKu0KgwuR2qIeUnu.mjs} +1 -1
  25. package/browser/esm/chart.mjs +3 -3
  26. package/browser/esm/control.mjs +2 -2
  27. package/browser/esm/group.mjs +3 -3
  28. package/browser/esm/index.mjs +5741 -3965
  29. package/browser/esm/note.mjs +4 -4
  30. package/browser/esm/picture.mjs +2 -2
  31. package/browser/esm/shape.mjs +2 -2
  32. package/browser/esm/slicer.mjs +4 -4
  33. package/browser/esm/{DcFFrmHW4tX2q1az.mjs → wr_Q6qSI16PKN4hz.mjs} +3 -3
  34. package/licenses/dependencies.txt +347 -347
  35. package/node/esm/{C8lBxk7g8FU777JZ.mjs → 365x7ulQ-64LrEAY.mjs} +2 -2
  36. package/node/esm/{DrGBVKfXN46SccPc.mjs → 5NC4KAa0mRhqju4E.mjs} +1 -1
  37. package/node/esm/{D4wcZkeFJ9g3E1Wx.mjs → 7F9gtINd9IcYvclT.mjs} +1 -1
  38. package/node/esm/{D6T6RsUdqj-dsOrE.mjs → 9PkyqxxZGq4LpuXf.mjs} +1 -1
  39. package/node/esm/{BPEE8SA9ZAebcfZs.mjs → B7NgL3l0XJbyq9CG.mjs} +1 -1
  40. package/node/esm/{roCYJ0G69HBpAkf3.mjs → BdEX-Y0ROOf8zRce.mjs} +4 -4
  41. package/node/esm/{B-M8LEF1gQC4VTti.mjs → C9l2nKVgsffhreTD.mjs} +1 -1
  42. package/node/esm/CAbud00Api3zYMB0.mjs +80 -0
  43. package/node/esm/{CXe6zO8r3qcKa8eD.mjs → CRM_BM8JnHgH5kni.mjs} +1 -1
  44. package/node/esm/{DSA6_IsV7Vneo5Za.mjs → C_E-6lqeDHYSKGcS.mjs} +5 -5
  45. package/node/esm/{Cp8J0CabzCF6tfAx.mjs → CyNcgbrqDcBpNJ-N.mjs} +2 -2
  46. package/node/esm/{SRhq2ObYt2tWPLDG.mjs → D2fA8lJO1ZAm7rTz.mjs} +1 -1
  47. package/node/esm/{DQ7xw--8XAi5NYEh.mjs → D5tl-HceFOKuhUPG.mjs} +2 -2
  48. package/node/esm/{DdXBknb60h6u7ljS.mjs → D7jDl04btyfWjg7U.mjs} +1 -1
  49. package/node/esm/{BXwXN7P_JyLZbQ1F.mjs → D8MLM0vKRTMxDGC6.mjs} +1 -1
  50. package/node/esm/{BzAvJXwmJZ2aBZff.mjs → DQkjdt-an36XKGvV.mjs} +1 -1
  51. package/node/esm/{BN9TsBId0PUOF3YQ.mjs → Dg4ph4wH0DWRbx7E.mjs} +1 -1
  52. package/node/esm/{D1o8P8Vu5yBBWDkw.mjs → Dx0Dz6NG76-IKZ1i.mjs} +2 -2
  53. package/node/esm/{BLyZ6mSICbKNrNXK.mjs → UbxFnWpUxT3TQSUA.mjs} +1 -1
  54. package/node/esm/chart.mjs +2 -2
  55. package/node/esm/control.mjs +2 -2
  56. package/node/esm/{arYXYwcOVpS7tQUp.mjs → gqpfUtQ8Q1y4j0w3.mjs} +1 -1
  57. package/node/esm/group.mjs +3 -3
  58. package/node/esm/index.mjs +8700 -6907
  59. package/node/esm/note.mjs +4 -4
  60. package/node/esm/picture.mjs +5 -5
  61. package/node/esm/shape.mjs +6 -6
  62. package/node/esm/{DOmvQX0Ox-3oN9aN.mjs → skitA3Vys5WjKQnm.mjs} +1 -1
  63. package/node/esm/slicer.mjs +4 -4
  64. package/package.json +7 -7
  65. package/resources/contents.json +6 -0
  66. package/resources/locales/contents.json +14 -0
  67. package/resources/locales/de/pivot.cmd.json +1 -1
  68. package/resources/locales/de/sheet.cmd.json +46 -5
  69. package/resources/locales/de/sparkline.cmd.json +301 -0
  70. package/resources/locales/de/ui.msg.json +37 -0
  71. package/resources/locales/de/workbook.cmd.json +0 -5
  72. package/resources/locales/en/pivot.cmd.json +1 -1
  73. package/resources/locales/en/sheet.cmd.json +46 -5
  74. package/resources/locales/en/sparkline.cmd.json +301 -0
  75. package/resources/locales/en/ui.msg.json +37 -0
  76. package/resources/locales/en/workbook.cmd.json +0 -5
  77. package/types/src/annotation/RangeAnnotationLayer.d.ts +110 -0
  78. package/types/src/annotation/RangeAnnotationTag.d.ts +23 -0
  79. package/types/src/annotation/RangeAnnotations.d.ts +67 -6
  80. package/types/src/annotation/index.d.ts +2 -0
  81. package/types/src/editor/VirtualKeyboardLayer.d.ts +2 -1
  82. package/types/src/frame/CommandContext.d.ts +16 -1
  83. package/types/src/index.d.ts +3 -3
  84. package/types/src/layer/CommentCardLayer.d.ts +1 -1
  85. package/types/src/layer/SheetLayers.d.ts +57 -1
  86. package/types/src/layer/SheetSparklineCommandLayer.d.ts +14 -0
  87. package/types/src/layer/SparklineLayer.d.ts +32 -0
  88. package/types/src/layer/index.d.ts +2 -1
  89. package/types/src/movable/MovableCommandGroups.d.ts +0 -18
  90. package/types/src/pivot/PivotTablePane.d.ts +0 -2
  91. package/types/src/presence/PresenceCommands.d.ts +35 -0
  92. package/types/src/presence/PresenceHost.d.ts +58 -0
  93. package/types/src/presence/PresenceMessages.d.ts +42 -0
  94. package/types/src/presence/PresenceStore.d.ts +165 -0
  95. package/types/src/presence/PresenceTypes.d.ts +78 -0
  96. package/types/src/presence/index.d.ts +7 -0
  97. package/types/src/presence/usePresence.d.ts +20 -0
  98. package/types/src/sparkline/PictureCache.d.ts +37 -0
  99. package/types/src/sparkline/SparklineCommands.d.ts +23 -0
  100. package/types/src/sparkline/SparklinePictures.d.ts +7 -0
  101. package/types/src/sparkline/paint/_drawing.d.ts +24 -0
  102. package/types/src/sparkline/paint/echarts.d.ts +8 -0
  103. package/types/src/sparkline/paint/index.d.ts +8 -0
  104. package/types/src/taskPane/CellControlPane.d.ts +0 -2
  105. package/types/src/taskPane/MovablePane.d.ts +0 -2
  106. package/types/src/taskPane/TaskPaneFrame.d.ts +4 -4
  107. package/types/src/taskPane/TaskPaneKeys.d.ts +38 -0
  108. package/types/src/taskPane/TaskPaneRegistry.d.ts +32 -12
  109. package/types/src/taskPane/_paneReasons.d.ts +7 -0
  110. package/types/src/taskPane/index.d.ts +1 -0
  111. package/types/src/theme/ThemeState.d.ts +2 -2
  112. package/types/src/theme/useGridColorScheme.d.ts +1 -1
  113. package/types/src/workbook/IWorkbookElement.d.ts +3 -1
  114. package/types/src/workbook/WorkbookCommands.d.ts +6 -1
  115. package/browser/esm/CWwumtsC8-1gwMAu.mjs +0 -23561
  116. package/types/src/layer/RangeAnnotationLayer.d.ts +0 -71
@@ -1,71 +0,0 @@
1
- import { default as React } from 'react';
2
- import { IWorksheet, IWorkbook } from '@sheetxl/sdk';
3
- import { LayerProps, StickyState } from '@sheetxl/grid-react';
4
- import { RangeAnnotation } from '../annotation';
5
- /** How an intent is drawn: its box, and the chip's frame. */
6
- export interface RangeAnnotationStyle {
7
- /** The box border (and the chip's frame). */
8
- border: string;
9
- /** The box fill — translucent, the cells show through. */
10
- fill: string;
11
- /** The chip's frame — opaque; a chip reads by z-order, never by letting what is under it show through. */
12
- chip: string;
13
- }
14
- /**
15
- * The default look per intent. Deliberately flatter than the selection (no thick, handled border,
16
- * which reads as "draggable"): a soft fill and a thin border.
17
- */
18
- export declare const DEFAULT_ANNOTATION_STYLES: Readonly<Record<string, RangeAnnotationStyle>>;
19
- /** What a chip (or its out-of-view marker) is rendered from. */
20
- export interface RangeAnnotationChipProps {
21
- workbook: IWorkbook;
22
- /** The annotation the chip stands for — the current one of its group when it is among them. */
23
- annotation: RangeAnnotation;
24
- /** Others sharing this chip's anchor cell. */
25
- more: number;
26
- /** 1-based position in the walked list; `0` for a `working` annotation. */
27
- position: number;
28
- /** How many are walked. */
29
- total: number;
30
- isCurrent: boolean;
31
- style: RangeAnnotationStyle;
32
- /** The float's resolved state (`slid`, `outOfView`, `scrollIntoView`, …). */
33
- state: StickyState;
34
- }
35
- export interface RangeAnnotationLayerProps extends Omit<LayerProps, 'children'> {
36
- /** The sheet whose annotations are drawn. @defaultValue the sheet in context (an injected layer needs none) */
37
- sheet?: IWorksheet;
38
- /** Per-intent look. Merged over {@link DEFAULT_ANNOTATION_STYLES}. */
39
- styles?: Readonly<Record<string, RangeAnnotationStyle>>;
40
- /** Render the chip beside an annotation that is in view. Omit for the default. */
41
- renderChip?: (props: RangeAnnotationChipProps) => React.ReactNode;
42
- /** Render the marker that stands in for a chip whose range is scrolled out of view. Omit for the default. */
43
- renderMarker?: (props: RangeAnnotationChipProps) => React.ReactNode;
44
- /** How much a box that is not the navigator's current one fades. Boxes only — never chips. @defaultValue 0.45 */
45
- dimOpacity?: number;
46
- /**
47
- * Whether an annotation gets a chip (and, scrolled off, a marker) or is drawn as its box alone —
48
- * for a host that shows some annotations elsewhere (an agent's cursor, in its own status control).
49
- * @defaultValue every walked annotation, and a `working` one only when it has a label
50
- */
51
- showChip?: (annotation: RangeAnnotation) => boolean;
52
- }
53
- /**
54
- * The workbook's range annotations on this sheet: a soft box per annotation, and a chip per anchor
55
- * cell. The chip rides a {@link StickyPortal} with `whenOff: 'clamp'`, so when its range scrolls out
56
- * of view it stays at the edge as a small marker (the position, an arrow toward the range; click
57
- * reveals it) instead of vanishing.
58
- *
59
- * @remarks
60
- * The navigator's current annotation draws last (on top) at full strength; the others dim. That is
61
- * what keeps overlapping annotations legible. Hovering a chip lifts it — and its boxes — above the
62
- * current one while the pointer stays, so a chip hidden under another can be read and reached. Annotations that share a top-left cell share one chip —
63
- * the current one's if it is among them — with a `+N` for the rest, so chips never stack.
64
- *
65
- * A prebuilt layer, not part of the sheet's default stack: a host that shows annotations injects it
66
- * through the sheet's `layers` (`propsSheet={{ layers: [<RangeAnnotationLayer key="annotations" />] }}`
67
- * on a workbook element). It reads the sheet from context and draws nothing while the workbook has no
68
- * annotations. Fed through {@link addRangeAnnotations}.
69
- */
70
- export declare const RangeAnnotationLayer: React.MemoExoticComponent<(props: RangeAnnotationLayerProps) => React.JSX.Element>;
71
- //# sourceMappingURL=RangeAnnotationLayer.d.ts.map