@orangelogic/design-system 4.68.0 → 5.0.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "4.68.0",
4
+ "version": "5.0.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -188,6 +188,7 @@ export default class Cx3dViewer extends CortexElement {
188
188
  private handleMouseDown;
189
189
  private handleMouseUp;
190
190
  private handleKeydown;
191
+ private handleClick;
191
192
  handleFullscreenChange(): void;
192
193
  handleShowInspectorChange(): void;
193
194
  /**
@@ -10,7 +10,7 @@ import { default as CxSpace } from '../../../../../atoms/src/components/space/sp
10
10
  import { default as CxTypography } from '../../../../../atoms/src/components/typography/typography.ts';
11
11
  import { default as CortexElement } from '../../../../../base/src/cortex-element.ts';
12
12
  import { PdfViewerAnnotationMode } from '../../../../../types/src/pdf-viewer-toolbar';
13
- import { CSSResultGroup, TemplateResult } from 'lit';
13
+ import { CSSResultGroup, PropertyValues, TemplateResult } from 'lit';
14
14
  /**
15
15
  * @summary The "Draw" control of the PDF viewer toolbar: a dropdown to pick a
16
16
  * shape tool (Draw / Square / Circle / Arrow) and tune its parameters (color,
@@ -55,7 +55,6 @@ export default class CxPdfViewerAnnotationDraw extends CortexElement {
55
55
  * tell a click on another toolbar tool from one on the page/canvas outside it.
56
56
  */
57
57
  private get toolbarHost();
58
- runFirstUpdated(): void;
59
58
  runConnectedCallback(): void;
60
59
  disconnectedCallback(): void;
61
60
  /**
@@ -63,20 +62,13 @@ export default class CxPdfViewerAnnotationDraw extends CortexElement {
63
62
  * the palette. Presses inside this control or on the page/canvas are ignored.
64
63
  */
65
64
  private handleDocumentPointerDown;
66
- handleActiveModeChange(): void;
65
+ protected willUpdate(changedProperties: PropertyValues<this>): void;
66
+ private handleActiveModeChange;
67
67
  /**
68
- * Sync the dropdown's dismiss boundary to the active tool: widen it to the
69
- * whole document while drawing so canvas clicks can't dismiss the palette;
70
- * restore the default otherwise so outside clicks and Escape dismiss it.
71
- */
72
- private syncDismissBoundary;
73
- private handleTriggerClick;
74
- /**
75
- * Switch back to `none`, closing the palette. `#stoppingDraw` stops the cx-hide
76
- * handler from re-opening it while `none` round-trips through the parent.
68
+ * Switch back to `none`, closing the palette. `#stoppingDraw` marks it as a
69
+ * deliberate exit while `none` round-trips through the parent.
77
70
  */
78
71
  private stopDrawing;
79
- private handleDropdownHide;
80
72
  private handleShapeSelect;
81
73
  private handleColorChange;
82
74
  private handleThicknessChange;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "4.68.0",
4
+ "version": "5.0.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -42,12 +42,12 @@ import "./details.DSgp6VAD.js";
42
42
  import "./dialog.D0oTJWFf.js";
43
43
  import "./divider.CqSNZCU8.js";
44
44
  import "./diff.Bmdpmpvo.js";
45
- import "./dot-pagination.C1C6NG8d.js";
46
45
  import "./drawer.BsKzYqKe.js";
47
46
  import "./progress-bar.CynVLLnY.js";
48
47
  import "./document-viewer.L77oYyOp.js";
49
48
  import "./image.-lgb634-.js";
50
49
  import "./skeleton.BtwugOTG.js";
50
+ import "./dot-pagination.C1C6NG8d.js";
51
51
  import "./dot-status.BATg_Fn-.js";
52
52
  import "./e-chart.DKFAToIc.js";
53
53
  import "./element-clamp.CGq-62gg.js";