@lvl99dotcom/paintcanvas 0.3.0 → 0.3.1
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.
- package/dist/lib/classes/PaintCanvas/index.js +2 -1
- package/dist/package.js +1 -1
- package/dist/ui/elements/PaintCanvas/index.js +9 -0
- package/dist/ui/elements/PcBrushConfig/index.js +1 -0
- package/dist/ui/elements/PcBrushMenu/index.js +2 -1
- package/dist/ui/elements/PcButton/index.js +1 -0
- package/dist/ui/elements/PcDialog/index.js +1 -0
- package/dist/ui/elements/PcIconToggle/index.js +1 -0
- package/dist/ui/elements/PcThemePicker/index.js +1 -0
- package/dist/ui/elements/PcToast/index.js +1 -0
- package/package.json +1 -1
|
@@ -13,8 +13,9 @@ import Layer, { createOffscreenCanvas } from "../Layer/index.js";
|
|
|
13
13
|
import LayerAutosave from "../LayerAutosave/index.js";
|
|
14
14
|
import { brushPresets, eraserPresets } from "../../brushes/index.js";
|
|
15
15
|
import { BUILT_IN_AUTHOR, UNKNOWN_AUTHOR, authorHandle } from "../../brushes/authors/index.js";
|
|
16
|
-
import
|
|
16
|
+
import "../../presets/index.js";
|
|
17
17
|
import CustomPresets from "../CustomPresets/index.js";
|
|
18
|
+
import { BRUSH_PRESET_FILE_FORMAT } from "../../presets/schema.js";
|
|
18
19
|
import InputSettings from "../InputSettings/index.js";
|
|
19
20
|
import ExternalSheets from "../ExternalSheets/index.js";
|
|
20
21
|
import PatchSender from "../../messages/PatchSender/index.js";
|
package/dist/package.js
CHANGED
|
@@ -10,6 +10,15 @@ import { isOwnAuthor } from "../../../lib/brushes/authors/index.js";
|
|
|
10
10
|
import { renderScreenshot, saveFile, screenshotName } from "../../../lib/rendering/screenshot/index.js";
|
|
11
11
|
import { DEFAULT_SIDE_MODES, STATE_EVENT, parseSideModes, sideModeFor } from "../../layout/index.js";
|
|
12
12
|
import { hasToolSettings } from "../PcToolSettings/index.js";
|
|
13
|
+
import "../PcPanel/index.js";
|
|
14
|
+
import "../PcToolbar/index.js";
|
|
15
|
+
import "../PcCanvas/index.js";
|
|
16
|
+
import "../PcCanvasMap/index.js";
|
|
17
|
+
import "../PcBrushMenu/index.js";
|
|
18
|
+
import "../PcLayersMenu/index.js";
|
|
19
|
+
import "../PcBrushConfig/index.js";
|
|
20
|
+
import "../PcStats/index.js";
|
|
21
|
+
import "../PcDialog/index.js";
|
|
13
22
|
import { html, nothing, unsafeCSS } from "lit";
|
|
14
23
|
// src/ui/elements/PaintCanvas/index.ts
|
|
15
24
|
/** No space kept clear */
|
|
@@ -2,6 +2,7 @@ import style_default from "./style.js";
|
|
|
2
2
|
import { ICON_CONTROLS_CSS, PILLS_CSS, WINDOWS_CSS } from "../../styles/index.js";
|
|
3
3
|
import { iconLabel } from "../../icons/index.js";
|
|
4
4
|
import { PcElement, defineElement } from "../../base/index.js";
|
|
5
|
+
import "../PcBrushTest/index.js";
|
|
5
6
|
import { SmoothingType } from "../../../lib/brushes/types/index.js";
|
|
6
7
|
import { PARAM_LIMITS, VARIATION_SOURCES, readRange, toggleSource, writeRange } from "../../../lib/brushes/configRanges/index.js";
|
|
7
8
|
import { SHAPE_ERRORS, ShapeImageError, readClipboardShape, readShapeImage } from "../../../lib/brushes/shapeImage/index.js";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import style_default from "./style.js";
|
|
2
|
+
import { BRUSH_PRESET_FILE_FORMAT } from "../../../lib/presets/schema.js";
|
|
2
3
|
import { NO_TEXT_SELECTION_CSS, PILLS_CSS, WINDOWS_CSS } from "../../styles/index.js";
|
|
3
4
|
import { PcElement, defineElement } from "../../base/index.js";
|
|
4
5
|
import ChangeController from "../../ChangeController/index.js";
|
|
5
6
|
import { groupPresetsByAuthor } from "../../../lib/brushes/authors/index.js";
|
|
6
|
-
import
|
|
7
|
+
import "../../../lib/presets/index.js";
|
|
7
8
|
import { PRESET_FILE_ERRORS, PresetFileError, exportPresetFile, parsePresetFile, presetFileName } from "../../../lib/brushes/presetFile/index.js";
|
|
8
9
|
import { svgCursor } from "../../../lib/rendering/cursors/index.js";
|
|
9
10
|
import { JSON_FILE_TYPE, saveFile } from "../../../lib/rendering/screenshot/index.js";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ICON_CONTROLS_CSS } from "../../styles/index.js";
|
|
2
2
|
import { PcElement, defineElement, emit } from "../../base/index.js";
|
|
3
|
+
import "../PcButtonGroup/index.js";
|
|
3
4
|
import { css, html, unsafeCSS } from "lit";
|
|
4
5
|
// src/ui/elements/PcThemePicker/index.ts
|
|
5
6
|
/** The themes to pick from: light, dark, or following the device (auto) */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PcElement, defineElement, emit } from "../../base/index.js";
|
|
2
|
+
import "../PcButton/index.js";
|
|
2
3
|
import { css, html, nothing } from "lit";
|
|
3
4
|
// src/ui/elements/PcToast/index.ts
|
|
4
5
|
/** How long a toast shows before dismissing itself, unless told otherwise (milliseconds) */
|