react-cheminfo 0.132.0 → 0.133.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.
Files changed (198) hide show
  1. package/lib/drawing/captionEditor/CaptionEditor.d.ts +3 -3
  2. package/lib/drawing/captionEditor/CaptionEditor.d.ts.map +1 -1
  3. package/lib/drawing/captionEditor/CaptionEditor.js +8 -4
  4. package/lib/drawing/captionEditor/CaptionEditor.js.map +1 -1
  5. package/lib/drawing/captionEditor/CaptionToolbar.d.ts +4 -2
  6. package/lib/drawing/captionEditor/CaptionToolbar.d.ts.map +1 -1
  7. package/lib/drawing/captionEditor/CaptionToolbar.js +6 -4
  8. package/lib/drawing/captionEditor/CaptionToolbar.js.map +1 -1
  9. package/lib/drawing/captionEditor/index.d.ts +2 -0
  10. package/lib/drawing/captionEditor/index.d.ts.map +1 -1
  11. package/lib/drawing/captionEditor/index.js +1 -0
  12. package/lib/drawing/captionEditor/index.js.map +1 -1
  13. package/lib/drawing/captionEditor/toolbarInView.d.ts +40 -0
  14. package/lib/drawing/captionEditor/toolbarInView.d.ts.map +1 -0
  15. package/lib/drawing/captionEditor/toolbarInView.js +53 -0
  16. package/lib/drawing/captionEditor/toolbarInView.js.map +1 -0
  17. package/lib/drawing/core/camera.d.ts +2 -0
  18. package/lib/drawing/core/camera.d.ts.map +1 -1
  19. package/lib/drawing/core/camera.js +2 -0
  20. package/lib/drawing/core/camera.js.map +1 -1
  21. package/lib/drawing/core/index.d.ts +1 -1
  22. package/lib/drawing/core/index.d.ts.map +1 -1
  23. package/lib/drawing/core/index.js +1 -1
  24. package/lib/drawing/core/index.js.map +1 -1
  25. package/lib/drawing/render/index.d.ts +1 -1
  26. package/lib/drawing/render/index.d.ts.map +1 -1
  27. package/lib/drawing/render/index.js +1 -1
  28. package/lib/drawing/render/index.js.map +1 -1
  29. package/lib/drawing/render/pageGrid.d.ts +16 -0
  30. package/lib/drawing/render/pageGrid.d.ts.map +1 -1
  31. package/lib/drawing/render/pageGrid.js +28 -10
  32. package/lib/drawing/render/pageGrid.js.map +1 -1
  33. package/lib/drawing/ui/PageField.d.ts +29 -0
  34. package/lib/drawing/ui/PageField.d.ts.map +1 -0
  35. package/lib/drawing/ui/PageField.js +38 -0
  36. package/lib/drawing/ui/PageField.js.map +1 -0
  37. package/lib/drawing/ui/PageGrid.d.ts +20 -0
  38. package/lib/drawing/ui/PageGrid.d.ts.map +1 -0
  39. package/lib/drawing/ui/PageGrid.js +26 -0
  40. package/lib/drawing/ui/PageGrid.js.map +1 -0
  41. package/lib/drawing/ui/PageSideInput.d.ts +28 -0
  42. package/lib/drawing/ui/PageSideInput.d.ts.map +1 -0
  43. package/lib/drawing/ui/PageSideInput.js +47 -0
  44. package/lib/drawing/ui/PageSideInput.js.map +1 -0
  45. package/lib/drawing/ui/PageToolbar.d.ts +16 -0
  46. package/lib/drawing/ui/PageToolbar.d.ts.map +1 -0
  47. package/lib/drawing/ui/PageToolbar.js +16 -0
  48. package/lib/drawing/ui/PageToolbar.js.map +1 -0
  49. package/lib/drawing/ui/PrintSheets.d.ts +32 -0
  50. package/lib/drawing/ui/PrintSheets.d.ts.map +1 -0
  51. package/lib/drawing/ui/PrintSheets.js +17 -0
  52. package/lib/drawing/ui/PrintSheets.js.map +1 -0
  53. package/lib/drawing/ui/TextToolIcon.d.ts +19 -0
  54. package/lib/drawing/ui/TextToolIcon.d.ts.map +1 -0
  55. package/lib/drawing/ui/TextToolIcon.js +21 -0
  56. package/lib/drawing/ui/TextToolIcon.js.map +1 -0
  57. package/lib/drawing/ui/ZoomControl.d.ts +25 -0
  58. package/lib/drawing/ui/ZoomControl.d.ts.map +1 -0
  59. package/lib/drawing/ui/ZoomControl.js +27 -0
  60. package/lib/drawing/ui/ZoomControl.js.map +1 -0
  61. package/lib/drawing/ui/index.d.ts +10 -0
  62. package/lib/drawing/ui/index.d.ts.map +1 -1
  63. package/lib/drawing/ui/index.js +7 -0
  64. package/lib/drawing/ui/index.js.map +1 -1
  65. package/lib/guide/ui/EmptyGuide.d.ts +5 -2
  66. package/lib/guide/ui/EmptyGuide.d.ts.map +1 -1
  67. package/lib/guide/ui/EmptyGuide.js +8 -3
  68. package/lib/guide/ui/EmptyGuide.js.map +1 -1
  69. package/lib/guide/ui/GuideFigures.d.ts +6 -0
  70. package/lib/guide/ui/GuideFigures.d.ts.map +1 -1
  71. package/lib/guide/ui/GuideFigures.js +5 -5
  72. package/lib/guide/ui/GuideFigures.js.map +1 -1
  73. package/lib/mass/core/index.d.ts +1 -0
  74. package/lib/mass/core/index.d.ts.map +1 -1
  75. package/lib/mass/core/index.js +1 -0
  76. package/lib/mass/core/index.js.map +1 -1
  77. package/lib/mass/core/massDomain.d.ts.map +1 -1
  78. package/lib/mass/core/massDomain.js +9 -5
  79. package/lib/mass/core/massDomain.js.map +1 -1
  80. package/lib/mass/core/massSpectrum.d.ts +9 -0
  81. package/lib/mass/core/massSpectrum.d.ts.map +1 -1
  82. package/lib/mass/core/massSpectrum.js.map +1 -1
  83. package/lib/mass/core/verticalScale.d.ts +30 -0
  84. package/lib/mass/core/verticalScale.d.ts.map +1 -0
  85. package/lib/mass/core/verticalScale.js +40 -0
  86. package/lib/mass/core/verticalScale.js.map +1 -0
  87. package/lib/mass/ui/MassChart.d.ts.map +1 -1
  88. package/lib/mass/ui/MassChart.js +4 -38
  89. package/lib/mass/ui/MassChart.js.map +1 -1
  90. package/lib/mass/ui/massChartLayers.d.ts +31 -0
  91. package/lib/mass/ui/massChartLayers.d.ts.map +1 -0
  92. package/lib/mass/ui/massChartLayers.js +57 -0
  93. package/lib/mass/ui/massChartLayers.js.map +1 -0
  94. package/lib/structure/core/index.d.ts +1 -1
  95. package/lib/structure/core/index.d.ts.map +1 -1
  96. package/lib/structure/core/index.js.map +1 -1
  97. package/lib/structure/core/structurePicture.d.ts +32 -1
  98. package/lib/structure/core/structurePicture.d.ts.map +1 -1
  99. package/lib/structure/core/structurePicture.js +29 -2
  100. package/lib/structure/core/structurePicture.js.map +1 -1
  101. package/lib/structure/ui/StructureEditor.d.ts +2 -1
  102. package/lib/structure/ui/StructureEditor.d.ts.map +1 -1
  103. package/lib/structure/ui/StructureEditor.js +9 -3
  104. package/lib/structure/ui/StructureEditor.js.map +1 -1
  105. package/lib/structure/ui/StructureEditorGuide.d.ts +15 -0
  106. package/lib/structure/ui/StructureEditorGuide.d.ts.map +1 -0
  107. package/lib/structure/ui/StructureEditorGuide.js +26 -0
  108. package/lib/structure/ui/StructureEditorGuide.js.map +1 -0
  109. package/lib/structure/ui/structureEditorProps.d.ts +11 -1
  110. package/lib/structure/ui/structureEditorProps.d.ts.map +1 -1
  111. package/lib/structure/ui/useCanvasPress.d.ts +23 -0
  112. package/lib/structure/ui/useCanvasPress.d.ts.map +1 -0
  113. package/lib/structure/ui/useCanvasPress.js +53 -0
  114. package/lib/structure/ui/useCanvasPress.js.map +1 -0
  115. package/lib/xps/core/detectFormat.d.ts +6 -0
  116. package/lib/xps/core/detectFormat.d.ts.map +1 -1
  117. package/lib/xps/core/detectFormat.js +8 -0
  118. package/lib/xps/core/detectFormat.js.map +1 -1
  119. package/lib/xps/core/xpsEditorApi.d.ts +16 -0
  120. package/lib/xps/core/xpsEditorApi.d.ts.map +1 -1
  121. package/lib/xps/ui/XpsCanvas.d.ts +10 -1
  122. package/lib/xps/ui/XpsCanvas.d.ts.map +1 -1
  123. package/lib/xps/ui/XpsCanvas.js +14 -3
  124. package/lib/xps/ui/XpsCanvas.js.map +1 -1
  125. package/lib/xps/ui/XpsChart.d.ts.map +1 -1
  126. package/lib/xps/ui/XpsChart.js +12 -43
  127. package/lib/xps/ui/XpsChart.js.map +1 -1
  128. package/lib/xps/ui/XpsEditor.d.ts +8 -0
  129. package/lib/xps/ui/XpsEditor.d.ts.map +1 -1
  130. package/lib/xps/ui/XpsEditor.js +2 -2
  131. package/lib/xps/ui/XpsEditor.js.map +1 -1
  132. package/lib/xps/ui/XpsShell.d.ts +5 -0
  133. package/lib/xps/ui/XpsShell.d.ts.map +1 -1
  134. package/lib/xps/ui/XpsShell.js +18 -4
  135. package/lib/xps/ui/XpsShell.js.map +1 -1
  136. package/lib/xps/ui/dropEvents.d.ts +8 -1
  137. package/lib/xps/ui/dropEvents.d.ts.map +1 -1
  138. package/lib/xps/ui/dropEvents.js +15 -1
  139. package/lib/xps/ui/dropEvents.js.map +1 -1
  140. package/lib/xps/ui/useSpectrumDrop.d.ts +6 -0
  141. package/lib/xps/ui/useSpectrumDrop.d.ts.map +1 -1
  142. package/lib/xps/ui/useSpectrumDrop.js +1 -1
  143. package/lib/xps/ui/useSpectrumDrop.js.map +1 -1
  144. package/lib/xps/ui/useXpsEditorHandle.d.ts +4 -1
  145. package/lib/xps/ui/useXpsEditorHandle.d.ts.map +1 -1
  146. package/lib/xps/ui/useXpsEditorHandle.js +6 -2
  147. package/lib/xps/ui/useXpsEditorHandle.js.map +1 -1
  148. package/lib/xps/ui/useXpsReadout.d.ts +43 -0
  149. package/lib/xps/ui/useXpsReadout.d.ts.map +1 -0
  150. package/lib/xps/ui/useXpsReadout.js +59 -0
  151. package/lib/xps/ui/useXpsReadout.js.map +1 -0
  152. package/lib/xps/ui/xpsChartProps.d.ts +9 -0
  153. package/lib/xps/ui/xpsChartProps.d.ts.map +1 -1
  154. package/package.json +1 -1
  155. package/src/drawing/captionEditor/CaptionEditor.tsx +8 -3
  156. package/src/drawing/captionEditor/CaptionToolbar.tsx +18 -2
  157. package/src/drawing/captionEditor/index.ts +2 -0
  158. package/src/drawing/captionEditor/toolbarInView.ts +73 -0
  159. package/src/drawing/core/camera.ts +3 -0
  160. package/src/drawing/core/index.ts +1 -0
  161. package/src/drawing/render/index.ts +2 -0
  162. package/src/drawing/render/pageGrid.ts +29 -11
  163. package/src/drawing/ui/PageField.tsx +104 -0
  164. package/src/drawing/ui/PageGrid.tsx +48 -0
  165. package/src/drawing/ui/PageSideInput.tsx +81 -0
  166. package/src/drawing/ui/PageToolbar.tsx +45 -0
  167. package/src/drawing/ui/PrintSheets.tsx +57 -0
  168. package/src/drawing/ui/TextToolIcon.tsx +48 -0
  169. package/src/drawing/ui/ZoomControl.tsx +112 -0
  170. package/src/drawing/ui/index.ts +10 -0
  171. package/src/guide/ui/EmptyGuide.tsx +20 -13
  172. package/src/guide/ui/GuideFigures.tsx +15 -4
  173. package/src/mass/core/index.ts +1 -0
  174. package/src/mass/core/massDomain.ts +9 -3
  175. package/src/mass/core/massSpectrum.ts +9 -0
  176. package/src/mass/core/verticalScale.ts +48 -0
  177. package/src/mass/ui/MassChart.tsx +12 -43
  178. package/src/mass/ui/massChartLayers.ts +66 -0
  179. package/src/structure/core/index.ts +1 -0
  180. package/src/structure/core/structurePicture.ts +78 -4
  181. package/src/structure/ui/StructureEditor.tsx +13 -2
  182. package/src/structure/ui/StructureEditorGuide.tsx +35 -0
  183. package/src/structure/ui/structureEditorProps.ts +11 -1
  184. package/src/structure/ui/useCanvasPress.ts +69 -0
  185. package/src/xps/core/detectFormat.ts +9 -0
  186. package/src/xps/core/xpsEditorApi.ts +16 -0
  187. package/src/xps/ui/XpsCanvas.tsx +26 -3
  188. package/src/xps/ui/XpsChart.tsx +12 -56
  189. package/src/xps/ui/XpsEditor.tsx +10 -0
  190. package/src/xps/ui/XpsShell.tsx +37 -7
  191. package/src/xps/ui/dropEvents.ts +16 -1
  192. package/src/xps/ui/useSpectrumDrop.ts +7 -1
  193. package/src/xps/ui/useXpsEditorHandle.ts +12 -2
  194. package/src/xps/ui/useXpsReadout.ts +104 -0
  195. package/src/xps/ui/xpsChartProps.ts +9 -0
  196. package/styles/caption-editor.css +15 -1
  197. package/styles/chrome.css +130 -9
  198. package/styles/drawing.css +100 -0
package/styles/chrome.css CHANGED
@@ -2553,18 +2553,14 @@ span.taxon-lineage__name {
2553
2553
  /*
2554
2554
  What a tool shows while it holds nothing: `<EmptyGuide>`. Grey on purpose, so
2555
2555
  it reads as the empty space saying how to start and never as content. The
2556
- pointer goes through it to the tool, except on a link or a figure that can be
2557
- clicked, so a first stroke can start on the words.
2556
+ pointer goes through it to the tool, except on what can be clicked or typed
2557
+ in, so a first stroke can start on the words.
2558
2558
  */
2559
2559
  .empty-guide {
2560
2560
  position: absolute;
2561
- display: flex;
2562
- flex-direction: column;
2563
- padding: 12px 20px;
2564
2561
  color: var(--text-muted);
2565
2562
  container-type: size;
2566
2563
  font-size: 12.5px;
2567
- gap: 10px;
2568
2564
  inset: 0;
2569
2565
  line-height: 1.4;
2570
2566
  overflow: hidden;
@@ -2574,15 +2570,40 @@ span.taxon-lineage__name {
2574
2570
  animation: empty-guide-in 240ms ease-out 120ms both;
2575
2571
  }
2576
2572
 
2573
+ /* Laid out inside the box that is measured, so a small box can tighten it. */
2574
+ .empty-guide__body {
2575
+ display: flex;
2576
+ height: 100%;
2577
+ box-sizing: border-box;
2578
+ flex-direction: column;
2579
+ padding: 12px 20px;
2580
+ gap: 10px;
2581
+ }
2582
+
2577
2583
  .empty-guide a,
2578
2584
  .empty-guide button {
2579
2585
  color: inherit;
2580
- pointer-events: auto;
2581
2586
  text-decoration: underline;
2582
2587
  text-decoration-color: var(--border-strong);
2583
2588
  text-underline-offset: 2px;
2584
2589
  }
2585
2590
 
2591
+ /* Whatever can be clicked or typed in takes the pointer: a link, a button, a
2592
+ capsule or a tab drawn as one, a field and the label that ticks a box. */
2593
+ .empty-guide a,
2594
+ .empty-guide button,
2595
+ .empty-guide label,
2596
+ .empty-guide input,
2597
+ .empty-guide select,
2598
+ .empty-guide textarea,
2599
+ .empty-guide [role='button'],
2600
+ .empty-guide [role='checkbox'],
2601
+ .empty-guide [role='radio'],
2602
+ .empty-guide [role='switch'],
2603
+ .empty-guide [role='tab'] {
2604
+ pointer-events: auto;
2605
+ }
2606
+
2586
2607
  .empty-guide a:hover,
2587
2608
  .empty-guide button:hover {
2588
2609
  color: var(--accent);
@@ -2721,6 +2742,34 @@ button.empty-guide__figure:focus-visible img {
2721
2742
  opacity: 1;
2722
2743
  }
2723
2744
 
2745
+ /* A figure's name, one line under it, read before the faint picture is. */
2746
+ .empty-guide__label {
2747
+ overflow: hidden;
2748
+ flex: none;
2749
+ margin-top: 4px;
2750
+ color: var(--text-muted);
2751
+ font-size: 12.5px;
2752
+ font-weight: 600;
2753
+ text-align: center;
2754
+ text-overflow: ellipsis;
2755
+ white-space: nowrap;
2756
+ }
2757
+
2758
+ /* A named figure sits on its name, whatever room is left above it. */
2759
+ .empty-guide__figure:has(> .empty-guide__label) img {
2760
+ object-position: 50% 100%;
2761
+ }
2762
+
2763
+ /* A name is not a link: the figure it names is what is clicked. */
2764
+ .empty-guide button.empty-guide__figure {
2765
+ text-decoration: none;
2766
+ }
2767
+
2768
+ button.empty-guide__figure:hover .empty-guide__label,
2769
+ button.empty-guide__figure:focus-visible .empty-guide__label {
2770
+ color: var(--accent);
2771
+ }
2772
+
2724
2773
  .empty-guide__hint {
2725
2774
  display: flex;
2726
2775
  flex: none;
@@ -2740,14 +2789,86 @@ button.empty-guide__figure:focus-visible img {
2740
2789
  animation: empty-guide-in 400ms ease-out both;
2741
2790
  }
2742
2791
 
2743
- /* On a narrow or a short view the words take the whole of it: a picture the
2744
- size of a stamp shows nothing, and leaves its caption floating. */
2792
+ /* A small view — half an editor, a short window — keeps its figures: the help
2793
+ says each section's title and its first line, the buttons shrink, and the
2794
+ figures take what is left, never less than a third of the height. */
2745
2795
  @container (max-width: 640px) or (max-height: 520px) {
2796
+ .empty-guide__body {
2797
+ padding: 8px 12px;
2798
+ font-size: 12px;
2799
+ gap: 6px;
2800
+ line-height: 1.35;
2801
+ }
2802
+
2803
+ /* One row of sections, as many as the width holds: a section that would
2804
+ wrap is left out whole rather than cut through a line. */
2805
+ .empty-guide__help {
2806
+ min-height: 0;
2807
+ flex: 0 1 auto;
2808
+ gap: 0 16px;
2809
+ grid-auto-rows: 0;
2810
+ grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
2811
+ grid-template-rows: auto;
2812
+ overflow: hidden;
2813
+ }
2814
+
2815
+ .empty-guide__title {
2816
+ margin-bottom: 1px;
2817
+ font-size: 12px;
2818
+ }
2819
+
2820
+ .empty-guide__section > :nth-child(n + 3),
2821
+ .empty-guide__help .shortcut-list__row:nth-child(n + 4) {
2822
+ display: none;
2823
+ }
2824
+
2825
+ .empty-guide__section p {
2826
+ margin: 0;
2827
+ }
2828
+
2829
+ .empty-guide__start {
2830
+ gap: 6px 10px;
2831
+ }
2832
+
2833
+ .empty-guide button.empty-guide__action {
2834
+ min-height: 34px;
2835
+ padding: 0 14px;
2836
+ font-size: 13.5px;
2837
+ gap: 6px;
2838
+ }
2839
+
2840
+ .empty-guide__figures-title {
2841
+ font-size: 13px;
2842
+ }
2843
+
2844
+ .empty-guide__figures:not(:empty) {
2845
+ min-height: 33cqh;
2846
+ }
2847
+
2848
+ .empty-guide__stack {
2849
+ gap: 6px;
2850
+ }
2851
+
2852
+ .empty-guide__label {
2853
+ margin-top: 2px;
2854
+ font-size: 12px;
2855
+ }
2856
+ }
2857
+
2858
+ /* A phone-sized view takes the words alone: a picture the size of a stamp
2859
+ shows nothing, and leaves its caption floating. */
2860
+ @container (max-width: 440px) or (max-height: 300px) {
2746
2861
  .empty-guide__figures,
2747
2862
  .empty-guide__figures-title {
2748
2863
  display: none;
2749
2864
  }
2750
2865
 
2866
+ /* With no figures to make room for, every section is said. */
2867
+ .empty-guide__help {
2868
+ gap: 4px 16px;
2869
+ grid-auto-rows: auto;
2870
+ }
2871
+
2751
2872
  /* First, or a help taller than the view would push the buttons out of it. */
2752
2873
  .empty-guide__start {
2753
2874
  order: -1;
@@ -30,6 +30,21 @@
30
30
  stroke: var(--border-strong);
31
31
  }
32
32
 
33
+ /* The lines `PageGrid` draws between the sheets of a drawing, and the number
34
+ each sheet prints under. */
35
+ .draw-sheet {
36
+ fill: none;
37
+ pointer-events: none;
38
+ stroke: var(--border-strong);
39
+ stroke-dasharray: 6 4;
40
+ vector-effect: non-scaling-stroke;
41
+ }
42
+
43
+ .draw-sheet__number {
44
+ fill: var(--text-faint);
45
+ pointer-events: none;
46
+ }
47
+
33
48
  /* What `PageMask` hides around a page shown alone, and its edge. */
34
49
  .draw-page-mask {
35
50
  fill: var(--surface-sunken);
@@ -179,3 +194,88 @@
179
194
  color: var(--text-faint);
180
195
  font-style: italic;
181
196
  }
197
+
198
+ /* `ZoomControl`, at the right of an editor's status bar. */
199
+ .zoom-control {
200
+ display: inline-flex;
201
+ flex: none;
202
+ align-items: center;
203
+ gap: 4px;
204
+ }
205
+
206
+ /* Blueprint's slider is 40px tall for its labels; without them the 16px handle
207
+ is the whole of it, and the status bar keeps its height. */
208
+ .zoom-control .bp6-slider {
209
+ width: 120px;
210
+ min-width: 120px;
211
+ height: 16px;
212
+ }
213
+
214
+ /* As wide at 25 % as at 1600 %, so what stands beside it does not move. */
215
+ .zoom-control .zoom-control__level {
216
+ min-width: 92px;
217
+ }
218
+
219
+ @media (width < 640px) {
220
+ .zoom-control .bp6-slider {
221
+ display: none;
222
+ }
223
+ }
224
+
225
+ /* `PageField`: the orientation, then a page's width × height in centimetres. */
226
+ .page-field__orientation {
227
+ margin-top: 4px;
228
+ }
229
+
230
+ .page-field__size {
231
+ display: flex;
232
+ align-items: center;
233
+ margin-top: 4px;
234
+ gap: 6px;
235
+ }
236
+
237
+ .page-field__size .bp6-input-group {
238
+ width: 5rem;
239
+ }
240
+
241
+ .page-field__unit {
242
+ color: var(--text-muted);
243
+ font-size: 0.8125rem;
244
+ }
245
+
246
+ /* `PrintSheets`: on paper the editor gives way to the figure it holds, at the
247
+ size it was laid out at and shrunk only when it would not fit the page. */
248
+ .draw-print {
249
+ display: none;
250
+ }
251
+
252
+ @media print {
253
+ .draw-print {
254
+ display: flex;
255
+ justify-content: center;
256
+ }
257
+
258
+ .draw-print__figure {
259
+ width: auto;
260
+ height: auto;
261
+ max-width: 100%;
262
+ max-height: 100vh;
263
+ }
264
+
265
+ /* A grid of sheets: the paper is the sheet, so each one fills a sheet of
266
+ paper and nothing is shrunk. */
267
+ .draw-print--sheets {
268
+ display: block;
269
+ }
270
+
271
+ .draw-print--sheets .draw-print__figure {
272
+ display: block;
273
+ max-width: none;
274
+ max-height: none;
275
+ break-after: page;
276
+ }
277
+
278
+ .draw-print--sheets .draw-print__figure:last-child {
279
+ break-after: auto;
280
+ }
281
+ }