sketchmark 2.1.4 → 2.1.5

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 (2) hide show
  1. package/bin/editor-ui.cjs +11 -11
  2. package/package.json +1 -1
package/bin/editor-ui.cjs CHANGED
@@ -686,7 +686,7 @@ function renderInspector() {
686
686
  const element = findElement(selectedId);
687
687
  const exportPanel = renderExportPanel();
688
688
  if (!element) {
689
- inspector.innerHTML = exportPanel + "<div class='muted'>Select an element.</div>";
689
+ inspector.innerHTML = "<div class='muted'>Select an element.</div>" + exportPanel;
690
690
  bindPanelStates(inspector);
691
691
  bindExportButtons();
692
692
  return;
@@ -753,20 +753,20 @@ function renderInspector() {
753
753
  paintRows +
754
754
  paintHint;
755
755
  const contentRows = pathRows + textRows + sourceRows;
756
- const keyframeRows =
757
- "<div class='row'><label>Time<input id='kfTime' type='number' step='0.05' value='" + currentTime.toFixed(2) + "'></label><div></div></div>" +
756
+ const keyframeRows =
757
+ "<div class='row'><label>Time<input id='kfTime' type='number' step='0.05' value='" + currentTime.toFixed(2) + "'></label><div></div></div>" +
758
758
  "<p class='tiny'>Changing sidebar values updates keyframes at the current time.</p>" +
759
759
  "<p class='tiny'>Interpolation curves are edited from timeline badges.</p>" +
760
- "<p class='tiny'>Drag to move. Use the square to scale and the round handle to rotate.</p>";
760
+ "<p class='tiny'>Drag to move. Use the square to scale and the round handle to rotate.</p>";
761
761
  inspector.innerHTML =
762
- exportPanel +
763
762
  panelDetails("inspector-selected", "Selected", selectedRows, { defaultOpen: true, meta: element.type }) +
764
- panelDetails("inspector-transform", "Transform", transformRows, { defaultOpen: false }) +
765
- panelDetails("inspector-appearance", "Appearance", appearanceRows, { defaultOpen: false }) +
766
- (contentRows ? panelDetails("inspector-content", "Path / Content", contentRows, { defaultOpen: false }) : "") +
767
- (supportsEffects ? panelDetails("inspector-effects", "Effects", effectsRows, { defaultOpen: false }) : "") +
768
- (structuredPaintRows ? panelDetails("inspector-structured-paint", "Structured Paint", structuredPaintRows, { defaultOpen: false }) : "") +
769
- panelDetails("inspector-keyframe", "Keyframe", keyframeRows, { defaultOpen: false });
763
+ panelDetails("inspector-transform", "Transform", transformRows, { defaultOpen: false }) +
764
+ panelDetails("inspector-appearance", "Appearance", appearanceRows, { defaultOpen: false }) +
765
+ (contentRows ? panelDetails("inspector-content", "Path / Content", contentRows, { defaultOpen: false }) : "") +
766
+ (supportsEffects ? panelDetails("inspector-effects", "Effects", effectsRows, { defaultOpen: false }) : "") +
767
+ (structuredPaintRows ? panelDetails("inspector-structured-paint", "Structured Paint", structuredPaintRows, { defaultOpen: false }) : "") +
768
+ panelDetails("inspector-keyframe", "Keyframe", keyframeRows, { defaultOpen: false }) +
769
+ exportPanel;
770
770
  bindPanelStates(inspector);
771
771
  bindExportButtons();
772
772
  if (supportsPaint) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sketchmark",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "description": "Render kernel for Sketchmark visual documents.",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",