Changeset 3819485
- Timestamp:
- 11/24/2026 01:27:35 AM (less than one hour ago)
- Location:
- printblob
- Files:
-
- 8 added
- 8 deleted
- 14 edited
- 1 copied
-
tags/1.7.13 (copied) (copied from printblob/trunk )
-
tags/1.7.13/build/designer/block.json (modified) (1 diff)
-
tags/1.7.13/build/designer/view.361730ee18b08e05.asset.php (added)
-
tags/1.7.13/build/designer/view.361730ee18b08e05.js (added)
-
tags/1.7.13/build/designer/view.8ca2284ccbcb7a6e-rtl.css (added)
-
tags/1.7.13/build/designer/view.8ca2284ccbcb7a6e.css (added)
-
tags/1.7.13/build/designer/view.cdcdd7571d14bcc7.asset.php (deleted)
-
tags/1.7.13/build/designer/view.cdcdd7571d14bcc7.js (deleted)
-
tags/1.7.13/build/designer/view.f3d6e11ce1099052-rtl.css (deleted)
-
tags/1.7.13/build/designer/view.f3d6e11ce1099052.css (deleted)
-
tags/1.7.13/build/files.json (modified) (2 diffs)
-
tags/1.7.13/languages/printblob.pot (modified) (2 diffs)
-
tags/1.7.13/printblob.php (modified) (1 diff)
-
tags/1.7.13/readme.txt (modified) (2 diffs)
-
tags/1.7.13/src/designer/app/follow.ts (modified) (2 diffs)
-
tags/1.7.13/src/designer/view.scss (modified) (5 diffs)
-
trunk/build/designer/block.json (modified) (1 diff)
-
trunk/build/designer/view.361730ee18b08e05.asset.php (added)
-
trunk/build/designer/view.361730ee18b08e05.js (added)
-
trunk/build/designer/view.8ca2284ccbcb7a6e-rtl.css (added)
-
trunk/build/designer/view.8ca2284ccbcb7a6e.css (added)
-
trunk/build/designer/view.cdcdd7571d14bcc7.asset.php (deleted)
-
trunk/build/designer/view.cdcdd7571d14bcc7.js (deleted)
-
trunk/build/designer/view.f3d6e11ce1099052-rtl.css (deleted)
-
trunk/build/designer/view.f3d6e11ce1099052.css (deleted)
-
trunk/build/files.json (modified) (2 diffs)
-
trunk/languages/printblob.pot (modified) (2 diffs)
-
trunk/printblob.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/designer/app/follow.ts (modified) (2 diffs)
-
trunk/src/designer/view.scss (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
printblob/tags/1.7.13/build/designer/block.json
r3817549 r3819485 44 44 "textdomain": "printblob", 45 45 "editorScript": "file:./index.9895673ad76b3df3.js", 46 "viewScript": "file:./view. cdcdd7571d14bcc7.js",46 "viewScript": "file:./view.361730ee18b08e05.js", 47 47 "editorStyle": "file:./index.6031821f928bebf4.css", 48 48 "render": "file:./render.php" -
printblob/tags/1.7.13/build/files.json
r3817549 r3819485 1 1 { 2 "build": " a297d6bcbf06663b",2 "build": "2aadcda5acc9a5e3", 3 3 "files": { 4 4 "admin/admin.css": "admin/admin.31d5f5d3c271bbf6.css", … … 17 17 "designer/ordered.js": "designer/ordered.9aca089b067170c2.js", 18 18 "designer/print-files.js": "designer/print-files.d4b578762ae7e063.js", 19 "designer/view.css": "designer/view. f3d6e11ce1099052.css",20 "designer/view.js": "designer/view. cdcdd7571d14bcc7.js",19 "designer/view.css": "designer/view.8ca2284ccbcb7a6e.css", 20 "designer/view.js": "designer/view.361730ee18b08e05.js", 21 21 "printblob-pdf.js": "printblob-pdf.32158e13e470b3d6.js", 22 22 "printblob-text.js": "printblob-text.e5314e5533f8245c.js", -
printblob/tags/1.7.13/languages/printblob.pot
r3817549 r3819485 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: PrintBlob – Free Custom T-Shirt Designer & Product Customizer for WooCommerce 1.7.1 2\n"5 "Project-Id-Version: PrintBlob – Free Custom T-Shirt Designer & Product Customizer for WooCommerce 1.7.13\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/printblob\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-11-2 2T23:59:57+00:00\n"12 "POT-Creation-Date: 2026-11-23T09:28:15+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" -
printblob/tags/1.7.13/printblob.php
r3817549 r3819485 4 4 * Plugin URI: https://printblob.com/ 5 5 * Description: Customers design their own t-shirt print — photos, logos and text — see it on the t-shirt, and order it through WooCommerce with the design and its preview kept with the order. 6 * Version: 1.7.1 26 * Version: 1.7.13 7 7 * Requires at least: 7.0 8 8 * Requires PHP: 7.4 -
printblob/tags/1.7.13/readme.txt
r3817549 r3819485 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1.7.1 27 Stable tag: 1.7.13 8 8 License: GPL-2.0-or-later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 137 137 138 138 == Changelog == 139 140 = 1.7.13 = 141 * A side's tab shows its print dot larger, clear of the tab's rounded corner however round the theme makes its buttons, and the end of every tab keeps the dot's room, so a side's name never runs under it. 142 * Under a header that sticks to the top of the window once the page scrolls, the picture stays just under the header, no longer as far below it as the header stood before it stuck. 139 143 140 144 = 1.7.12 = -
printblob/tags/1.7.13/src/designer/app/follow.ts
r3800317 r3819485 27 27 } 28 28 29 export interface PinnedBar { 30 position: string; 31 stick: string; 32 top: number; 33 bottom: number; 34 height: number; 35 } 36 37 export function barBottom(bar: PinnedBar, viewTop: number, pinned: number): number { 38 const stick = Number.parseFloat(bar.stick); 39 if (bar.position === 'sticky' && Number.isFinite(stick)) { 40 return viewTop + stick + bar.height; 41 } 42 return Math.max(bar.bottom, Math.max(bar.top, pinned) + bar.height); 43 } 44 29 45 function pinnedOver(x: number, top: number, designer: Element): number { 30 46 const host = seenAs(designer); … … 47 63 } 48 64 const box = bar?.getBoundingClientRect(); 49 const bottom = box ? Math.max(box.bottom, Math.max(box.top, pinned) + box.height) : 0; 65 const style = bar && getComputedStyle(bar); 66 const bottom = 67 box && style ? barBottom({ position: style.position, stick: style.top, top: box.top, bottom: box.bottom, height: box.height }, top, pinned) : 0; 50 68 if (!bar || bottom <= pinned || bottom - top > window.innerHeight / 2) { 51 69 break; -
printblob/tags/1.7.13/src/designer/view.scss
r3817549 r3819485 1 @use 'sass:math'; 1 2 @use 'sass:selector'; 2 3 @function rems($count) { … … 209 210 display: none; 210 211 } 212 $dot-size: rems(0.625); 213 $dot-curve: rems(0.25); 214 $dot-edge: rems(0.375); 215 @function dot-inset($corner) { 216 $diagonal: math.div(1, math.sqrt(2)); 217 @return max(#{$dot-edge}, calc(#{$corner} * #{1 - $diagonal} + (#{$dot-curve} + #{$dot-size} / 2) * #{$diagonal} - #{$dot-size} / 2)); 218 } 211 219 .printblob-designer__sides { 212 220 --printblob-side-pad: #{rems(0.75)}; 221 --printblob-side-pad-end: max(var(--printblob-side-pad), calc(#{dot-inset(min(var(--printblob-radius), rems(1.25)))} + #{$dot-size} + #{rems(0.125)})); 213 222 --printblob-sides: 1; 214 223 container: printblob-sides / inline-size; … … 248 257 min-width: auto; 249 258 min-height: rems(2.5); 250 padding: rems(0.4) var(--printblob-side-pad );259 padding: rems(0.4) var(--printblob-side-pad-end) rems(0.4) var(--printblob-side-pad); 251 260 border: 0; 252 261 border-radius: var(--printblob-radius); … … 254 263 font-size: clamp( 255 264 #{rems(0.75)}, 256 calc(((100cqi - #{rems(0.5)} - (var(--printblob-sides) - 1) * #{rems(0.25)}) / var(--printblob-sides) - 2 * var(--printblob-side-pad)) / 4.5), 265 calc( 266 ( 267 (100cqi - #{rems(0.5)} - (var(--printblob-sides) - 1) * #{rems(0.25)}) / var(--printblob-sides) - var(--printblob-side-pad) - 268 var(--printblob-side-pad-end) 269 ) / 270 4.5 271 ), 257 272 #{rems(0.9375)} 258 273 ); … … 343 358 .printblob-designer__side-dot { 344 359 position: absolute; 345 top: rems(0.3); 346 right: rems(0.3); 347 width: 8px; 348 height: 8px; 349 border-radius: 50%; 350 background: var(--printblob-cobalt); 360 top: 0; 361 right: 0; 362 height: 100%; 363 aspect-ratio: 1; 364 pointer-events: none; 365 366 &::after { 367 content: ''; 368 position: absolute; 369 top: dot-inset(min(var(--printblob-radius), 50%)); 370 right: dot-inset(min(var(--printblob-radius), 50%)); 371 width: $dot-size; 372 height: $dot-size; 373 border-radius: 50%; 374 background: var(--printblob-cobalt); 375 } 351 376 352 377 &:not(.is-shown) { -
printblob/trunk/build/designer/block.json
r3817549 r3819485 44 44 "textdomain": "printblob", 45 45 "editorScript": "file:./index.9895673ad76b3df3.js", 46 "viewScript": "file:./view. cdcdd7571d14bcc7.js",46 "viewScript": "file:./view.361730ee18b08e05.js", 47 47 "editorStyle": "file:./index.6031821f928bebf4.css", 48 48 "render": "file:./render.php" -
printblob/trunk/build/files.json
r3817549 r3819485 1 1 { 2 "build": " a297d6bcbf06663b",2 "build": "2aadcda5acc9a5e3", 3 3 "files": { 4 4 "admin/admin.css": "admin/admin.31d5f5d3c271bbf6.css", … … 17 17 "designer/ordered.js": "designer/ordered.9aca089b067170c2.js", 18 18 "designer/print-files.js": "designer/print-files.d4b578762ae7e063.js", 19 "designer/view.css": "designer/view. f3d6e11ce1099052.css",20 "designer/view.js": "designer/view. cdcdd7571d14bcc7.js",19 "designer/view.css": "designer/view.8ca2284ccbcb7a6e.css", 20 "designer/view.js": "designer/view.361730ee18b08e05.js", 21 21 "printblob-pdf.js": "printblob-pdf.32158e13e470b3d6.js", 22 22 "printblob-text.js": "printblob-text.e5314e5533f8245c.js", -
printblob/trunk/languages/printblob.pot
r3817549 r3819485 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: PrintBlob – Free Custom T-Shirt Designer & Product Customizer for WooCommerce 1.7.1 2\n"5 "Project-Id-Version: PrintBlob – Free Custom T-Shirt Designer & Product Customizer for WooCommerce 1.7.13\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/printblob\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-11-2 2T23:59:57+00:00\n"12 "POT-Creation-Date: 2026-11-23T09:28:15+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" -
printblob/trunk/printblob.php
r3817549 r3819485 4 4 * Plugin URI: https://printblob.com/ 5 5 * Description: Customers design their own t-shirt print — photos, logos and text — see it on the t-shirt, and order it through WooCommerce with the design and its preview kept with the order. 6 * Version: 1.7.1 26 * Version: 1.7.13 7 7 * Requires at least: 7.0 8 8 * Requires PHP: 7.4 -
printblob/trunk/readme.txt
r3817549 r3819485 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1.7.1 27 Stable tag: 1.7.13 8 8 License: GPL-2.0-or-later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 137 137 138 138 == Changelog == 139 140 = 1.7.13 = 141 * A side's tab shows its print dot larger, clear of the tab's rounded corner however round the theme makes its buttons, and the end of every tab keeps the dot's room, so a side's name never runs under it. 142 * Under a header that sticks to the top of the window once the page scrolls, the picture stays just under the header, no longer as far below it as the header stood before it stuck. 139 143 140 144 = 1.7.12 = -
printblob/trunk/src/designer/app/follow.ts
r3800317 r3819485 27 27 } 28 28 29 export interface PinnedBar { 30 position: string; 31 stick: string; 32 top: number; 33 bottom: number; 34 height: number; 35 } 36 37 export function barBottom(bar: PinnedBar, viewTop: number, pinned: number): number { 38 const stick = Number.parseFloat(bar.stick); 39 if (bar.position === 'sticky' && Number.isFinite(stick)) { 40 return viewTop + stick + bar.height; 41 } 42 return Math.max(bar.bottom, Math.max(bar.top, pinned) + bar.height); 43 } 44 29 45 function pinnedOver(x: number, top: number, designer: Element): number { 30 46 const host = seenAs(designer); … … 47 63 } 48 64 const box = bar?.getBoundingClientRect(); 49 const bottom = box ? Math.max(box.bottom, Math.max(box.top, pinned) + box.height) : 0; 65 const style = bar && getComputedStyle(bar); 66 const bottom = 67 box && style ? barBottom({ position: style.position, stick: style.top, top: box.top, bottom: box.bottom, height: box.height }, top, pinned) : 0; 50 68 if (!bar || bottom <= pinned || bottom - top > window.innerHeight / 2) { 51 69 break; -
printblob/trunk/src/designer/view.scss
r3817549 r3819485 1 @use 'sass:math'; 1 2 @use 'sass:selector'; 2 3 @function rems($count) { … … 209 210 display: none; 210 211 } 212 $dot-size: rems(0.625); 213 $dot-curve: rems(0.25); 214 $dot-edge: rems(0.375); 215 @function dot-inset($corner) { 216 $diagonal: math.div(1, math.sqrt(2)); 217 @return max(#{$dot-edge}, calc(#{$corner} * #{1 - $diagonal} + (#{$dot-curve} + #{$dot-size} / 2) * #{$diagonal} - #{$dot-size} / 2)); 218 } 211 219 .printblob-designer__sides { 212 220 --printblob-side-pad: #{rems(0.75)}; 221 --printblob-side-pad-end: max(var(--printblob-side-pad), calc(#{dot-inset(min(var(--printblob-radius), rems(1.25)))} + #{$dot-size} + #{rems(0.125)})); 213 222 --printblob-sides: 1; 214 223 container: printblob-sides / inline-size; … … 248 257 min-width: auto; 249 258 min-height: rems(2.5); 250 padding: rems(0.4) var(--printblob-side-pad );259 padding: rems(0.4) var(--printblob-side-pad-end) rems(0.4) var(--printblob-side-pad); 251 260 border: 0; 252 261 border-radius: var(--printblob-radius); … … 254 263 font-size: clamp( 255 264 #{rems(0.75)}, 256 calc(((100cqi - #{rems(0.5)} - (var(--printblob-sides) - 1) * #{rems(0.25)}) / var(--printblob-sides) - 2 * var(--printblob-side-pad)) / 4.5), 265 calc( 266 ( 267 (100cqi - #{rems(0.5)} - (var(--printblob-sides) - 1) * #{rems(0.25)}) / var(--printblob-sides) - var(--printblob-side-pad) - 268 var(--printblob-side-pad-end) 269 ) / 270 4.5 271 ), 257 272 #{rems(0.9375)} 258 273 ); … … 343 358 .printblob-designer__side-dot { 344 359 position: absolute; 345 top: rems(0.3); 346 right: rems(0.3); 347 width: 8px; 348 height: 8px; 349 border-radius: 50%; 350 background: var(--printblob-cobalt); 360 top: 0; 361 right: 0; 362 height: 100%; 363 aspect-ratio: 1; 364 pointer-events: none; 365 366 &::after { 367 content: ''; 368 position: absolute; 369 top: dot-inset(min(var(--printblob-radius), 50%)); 370 right: dot-inset(min(var(--printblob-radius), 50%)); 371 width: $dot-size; 372 height: $dot-size; 373 border-radius: 50%; 374 background: var(--printblob-cobalt); 375 } 351 376 352 377 &:not(.is-shown) {
Note:
See TracChangeset
for help on using the changeset viewer.