app/assets/build/coco/app.js in coveragebook_components-0.5.3 vs app/assets/build/coco/app.js in coveragebook_components-0.5.4

- old
+ new

@@ -14602,11 +14602,11 @@ // ../../../package.json var package_default = { name: "coveragebook-components", type: "module", - version: "0.5.3", + version: "0.5.4", main: "index.js", repository: "git@github.com:coveragebook/coco.git", author: "Mark Perkins <mark@coveragebook.com>", license: "NO LICENSE", browserslist: [ @@ -14632,10 +14632,11 @@ "lucide-static": "^0.258.0", tailwindcss: "^3.3.0", "tippy.js": "^6.3.7" }, devDependencies: { + "@percy/cli": "^1.26.1", "alias-hq": "^6.1.0", "alpinejs-tash": "^1.0.9", autoprefixer: "^10.4.13", esbuild: "^0.17.10", "esbuild-plugin-copy": "^2.0.2", @@ -29508,18 +29509,18 @@ reader.readAsDataURL(file); } }; }); - // import-glob:/Users/mark/Projects/coveragebook/coco/app/assets/js/base|@baseComponents/**/*.js + // import-glob:/home/runner/work/coco/coco/app/assets/js/base|@baseComponents/**/*.js var modules = [button_exports, dropdown_exports, icon_exports, image_uploader_exports]; var __default = modules; // base/components.js var components_default = registerComponents(__default); - // import-glob:/Users/mark/Projects/coveragebook/coco/app/assets/js/book|@bookComponents/**/*.js + // import-glob:/home/runner/work/coco/coco/app/assets/js/book|@bookComponents/**/*.js var modules2 = []; var __default2 = modules2; // book/components.js var components_default2 = registerComponents(__default2); @@ -29696,14 +29697,22 @@ this.ready = true; }); }, undo(name, value) { this[name] = value; + this.$nextTick(() => this.updateTextareaSizes()); }, redo(name, value) { this[name] = value; + this.$nextTick(() => this.updateTextareaSizes()); }, + updateTextareaSizes() { + const inputs = this.$root.querySelectorAll( + "[data-component='app-seamless-textarea']" + ); + Array.from(inputs).forEach((el) => getData(el).onResize()); + }, handleImageDrop(event) { this.dragging = false; if (this.bgImagePicker) { this.bgImagePicker.handleExternalDrop(event); } else { @@ -32021,10 +32030,10 @@ }); } }; }); - // import-glob:/Users/mark/Projects/coveragebook/coco/app/assets/js/app|@appComponents/**/*.js + // import-glob:/home/runner/work/coco/coco/app/assets/js/app|@appComponents/**/*.js var modules3 = [nav_bar_exports, nav_drawer_exports, slide_editor_exports, alert_exports, button_group_exports, color_picker_exports, color_picker_button_exports, confirm_panel_exports, image_picker_exports, image_picker_button_exports, menu_button_exports, notice_exports, seamless_textarea_exports, snackbar_exports, system_banner_exports, toast_exports, toolbar_exports]; var __default3 = modules3; // app/components.js var components_default3 = registerComponents(__default3);