labellife-design-tool 2.4.4 → 2.4.6
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/cjs/canvas/workspace.js +63 -14
- package/dist/cjs/canvas/workspace.js.map +1 -1
- package/dist/cjs/index.js +179 -154
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/model/store.js +5 -0
- package/dist/cjs/model/store.js.map +1 -1
- package/dist/cjs/side-panel/index.js +67 -131
- package/dist/cjs/side-panel/index.js.map +1 -1
- package/dist/cjs/side-panel/side-panel.js +67 -131
- package/dist/cjs/side-panel/side-panel.js.map +1 -1
- package/dist/cjs/toolbar/toolbar.js +57 -13
- package/dist/cjs/toolbar/toolbar.js.map +1 -1
- package/dist/esm/canvas/workspace.js +63 -14
- package/dist/esm/canvas/workspace.js.map +1 -1
- package/dist/esm/index.js +179 -154
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/model/store.js +5 -0
- package/dist/esm/model/store.js.map +1 -1
- package/dist/esm/side-panel/index.js +67 -131
- package/dist/esm/side-panel/index.js.map +1 -1
- package/dist/esm/side-panel/side-panel.js +67 -131
- package/dist/esm/side-panel/side-panel.js.map +1 -1
- package/dist/esm/toolbar/toolbar.js +57 -13
- package/dist/esm/toolbar/toolbar.js.map +1 -1
- package/package.json +1 -1
|
@@ -456,46 +456,21 @@ var addTextToCanvas = function addTextToCanvas(store, opts) {
|
|
|
456
456
|
};
|
|
457
457
|
|
|
458
458
|
// ── Predefined text templates (json = element data, preview = thumbnail image) ──
|
|
459
|
-
var TEXT_TEMPLATES = [
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
},
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
},
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
},
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
},
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
}, {
|
|
475
|
-
json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-modern-minamalistic-simple.json',
|
|
476
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-modern-minamalistic-simple.png'
|
|
477
|
-
}, {
|
|
478
|
-
json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-party-invitation.json',
|
|
479
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-party-invitation.png'
|
|
480
|
-
}, {
|
|
481
|
-
json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-price-package-corporate-list.json',
|
|
482
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-price-package-corporate-list.png'
|
|
483
|
-
}, {
|
|
484
|
-
json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-quote-contemporary.json',
|
|
485
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-quote-contemporary.png'
|
|
486
|
-
}, {
|
|
487
|
-
json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-quote-quotation-motivation-inspiring.json',
|
|
488
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-quote-quotation-motivation-inspiring.png'
|
|
489
|
-
}, {
|
|
490
|
-
json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-romantic-handwrittern-cursive-elegant-celebration.json',
|
|
491
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-romantic-handwrittern-cursive-elegant-celebration.png'
|
|
492
|
-
}, {
|
|
493
|
-
json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-sale-fashion-brand.json',
|
|
494
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-sale-fashion-brand.png'
|
|
495
|
-
}, {
|
|
496
|
-
json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-sassy-fun-feminine.json',
|
|
497
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-sassy-fun-feminine.png'
|
|
498
|
-
}, {
|
|
459
|
+
var TEXT_TEMPLATES = [
|
|
460
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-adventure-fun-cursive.json', preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-adventure-fun-cursive.png' },
|
|
461
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-celebration-birthday-cursive-handwritting.json', preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-celebration-birthday-cursive-handwritting.png' },
|
|
462
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-corporate-business-clean-simple-modern.json', preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-corporate-business-clean-simple-modern.png' },
|
|
463
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-corporate-hiring-simple-clean-modern.json', preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-corporate-hiring-simple-clean-modern.png' },
|
|
464
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-fashion-sale-brand-clothes.json', preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-fashion-sale-brand-clothes.png' },
|
|
465
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-modern-minamalistic-simple.json', preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-modern-minamalistic-simple.png' },
|
|
466
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-party-invitation.json', preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-party-invitation.png' },
|
|
467
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-price-package-corporate-list.json', preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-price-package-corporate-list.png' },
|
|
468
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-quote-contemporary.json', preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-quote-contemporary.png' },
|
|
469
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-quote-quotation-motivation-inspiring.json', preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-quote-quotation-motivation-inspiring.png' },
|
|
470
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-romantic-handwrittern-cursive-elegant-celebration.json', preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-romantic-handwrittern-cursive-elegant-celebration.png' },
|
|
471
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-sale-fashion-brand.json', preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-sale-fashion-brand.png' },
|
|
472
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-sassy-fun-feminine.json', preview: 'https://api.polotno.com/text-templates/2021-06-01-text-plain-sassy-fun-feminine.png' },
|
|
473
|
+
{
|
|
499
474
|
json: 'https://api.polotno.com/text-templates/2021-06-02-text-color-ancient-old-roman-decorative.json',
|
|
500
475
|
preview: 'https://api.polotno.com/text-templates/2021-06-02-text-color-ancient-old-roman-decorative.png'
|
|
501
476
|
}, {
|
|
@@ -504,67 +479,42 @@ var TEXT_TEMPLATES = [{
|
|
|
504
479
|
}, {
|
|
505
480
|
json: 'https://api.polotno.com/text-templates/2021-06-02-text-color-beautiful-decorative-love-elgant-cursive-emotion-famenine.json',
|
|
506
481
|
preview: 'https://api.polotno.com/text-templates/2021-06-02-text-color-beautiful-decorative-love-elgant-cursive-emotion-famenine.png'
|
|
507
|
-
},
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
}, {
|
|
482
|
+
},
|
|
483
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-02-text-color-buy-corporate-urgent-now-marketing.json', preview: 'https://api.polotno.com/text-templates/2021-06-02-text-color-buy-corporate-urgent-now-marketing.png' },
|
|
484
|
+
{
|
|
511
485
|
json: 'https://api.polotno.com/text-templates/2021-06-02-text-color-classic-west-cowboy-wildwest-country-classic.json',
|
|
512
486
|
preview: 'https://api.polotno.com/text-templates/2021-06-02-text-color-classic-west-cowboy-wildwest-country-classic.png'
|
|
513
|
-
},
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
},
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
}, {
|
|
520
|
-
json: 'https://api.polotno.com/text-templates/2021-06-02-text-color-marry-christmas-celebration.json',
|
|
521
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-02-text-color-marry-christmas-celebration.png'
|
|
522
|
-
}, {
|
|
523
|
-
json: 'https://api.polotno.com/text-templates/2021-06-02-text-color-motivating-motivational-inspiring-inspirational-decorative.json',
|
|
524
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-02-text-color-motivating-motivational-inspiring-inspirational-decorative.png'
|
|
525
|
-
}, {
|
|
487
|
+
},
|
|
488
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-02-text-color-future-ftureistic-trendy-funky-fun-cool.json', preview: 'https://api.polotno.com/text-templates/2021-06-02-text-color-future-ftureistic-trendy-funky-fun-cool.png' },
|
|
489
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-02-text-color-halloween-celeration-horror-spooky.json', preview: 'https://api.polotno.com/text-templates/2021-06-02-text-color-halloween-celeration-horror-spooky.png' },
|
|
490
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-02-text-color-marry-christmas-celebration.json', preview: 'https://api.polotno.com/text-templates/2021-06-02-text-color-marry-christmas-celebration.png' },
|
|
491
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-02-text-color-motivating-motivational-inspiring-inspirational-decorative.json', preview: 'https://api.polotno.com/text-templates/2021-06-02-text-color-motivating-motivational-inspiring-inspirational-decorative.png' },
|
|
492
|
+
{
|
|
526
493
|
json: 'https://api.polotno.com/text-templates/2021-06-02-text-color-motivation-inspiration-cursive-decorative.json',
|
|
527
494
|
preview: 'https://api.polotno.com/text-templates/2021-06-02-text-color-motivation-inspiration-cursive-decorative.png'
|
|
528
|
-
},
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
},
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
json: 'https://api.polotno.com/text-templates/2021-06-02-text-plain-data-stat-statistics-numeric-figures-reports-charts.json',
|
|
536
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-02-text-plain-data-stat-statistics-numeric-figures-reports-charts.png'
|
|
537
|
-
}, {
|
|
538
|
-
json: 'https://api.polotno.com/text-templates/2021-06-02-text-plain-list-colum-modern-point-fact.json',
|
|
539
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-02-text-plain-list-colum-modern-point-fact.png'
|
|
540
|
-
}, {
|
|
541
|
-
json: 'https://api.polotno.com/text-templates/2021-06-02-text-plain-recipe-food-list.json',
|
|
542
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-02-text-plain-recipe-food-list.png'
|
|
543
|
-
}, {
|
|
495
|
+
},
|
|
496
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-02-text-color-orange-fruity-fruit-food-fuun-happy.json', preview: 'https://api.polotno.com/text-templates/2021-06-02-text-color-orange-fruity-fruit-food-fuun-happy.png' },
|
|
497
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-02-text-color-romantic-elegant-love.json', preview: 'https://api.polotno.com/text-templates/2021-06-02-text-color-romantic-elegant-love.png' },
|
|
498
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-02-text-plain-data-stat-statistics-numeric-figures-reports-charts.json', preview: 'https://api.polotno.com/text-templates/2021-06-02-text-plain-data-stat-statistics-numeric-figures-reports-charts.png' },
|
|
499
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-02-text-plain-list-colum-modern-point-fact.json', preview: 'https://api.polotno.com/text-templates/2021-06-02-text-plain-list-colum-modern-point-fact.png' },
|
|
500
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-02-text-plain-recipe-food-list.json', preview: 'https://api.polotno.com/text-templates/2021-06-02-text-plain-recipe-food-list.png' },
|
|
501
|
+
{
|
|
544
502
|
json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-ancient-medieval-old-roman-kind-royal.json',
|
|
545
503
|
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-ancient-medieval-old-roman-kind-royal.png'
|
|
546
504
|
}, {
|
|
547
505
|
json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-anonymous-mystery-suspense.json',
|
|
548
506
|
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-anonymous-mystery-suspense.png'
|
|
549
|
-
},
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-colorful-color-fun-beads-game-themed-videogames.json',
|
|
554
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-colorful-color-fun-beads-game-themed-videogames.png'
|
|
555
|
-
}, {
|
|
507
|
+
},
|
|
508
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-autumn-red-orange-season-cursive-decorative.json', preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-autumn-red-orange-season-cursive-decorative.png' },
|
|
509
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-colorful-color-fun-beads-game-themed-videogames.json', preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-colorful-color-fun-beads-game-themed-videogames.png' },
|
|
510
|
+
{
|
|
556
511
|
json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-decorative-hollow-effect.json',
|
|
557
512
|
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-decorative-hollow-effect.png'
|
|
558
|
-
},
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
},
|
|
562
|
-
|
|
563
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-fairytale-fanatcy-magic-magical.png'
|
|
564
|
-
}, {
|
|
565
|
-
json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-happy-easter-festive-holiday.json',
|
|
566
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-happy-easter-festive-holiday.png'
|
|
567
|
-
}, {
|
|
513
|
+
},
|
|
514
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-decorative-message-line-lineart.json', preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-decorative-message-line-lineart.png' },
|
|
515
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-fairytale-fanatcy-magic-magical.json', preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-fairytale-fanatcy-magic-magical.png' },
|
|
516
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-happy-easter-festive-holiday.json', preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-happy-easter-festive-holiday.png' },
|
|
517
|
+
{
|
|
568
518
|
json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-happy-fun-joy-celebration.json',
|
|
569
519
|
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-happy-fun-joy-celebration.png'
|
|
570
520
|
}, {
|
|
@@ -573,64 +523,48 @@ var TEXT_TEMPLATES = [{
|
|
|
573
523
|
}, {
|
|
574
524
|
json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-inivitation-rsvp-event-celebration-weeding.json',
|
|
575
525
|
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-inivitation-rsvp-event-celebration-weeding.png'
|
|
576
|
-
},
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
}, {
|
|
526
|
+
},
|
|
527
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-motivation-hope-never-giveup-win-wivtory-cool-funky.json', preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-motivation-hope-never-giveup-win-wivtory-cool-funky.png' },
|
|
528
|
+
{
|
|
580
529
|
json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-murder-horror-scary-temed-holloween-haunted-suspence.json',
|
|
581
530
|
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-murder-horror-scary-temed-holloween-haunted-suspence.png'
|
|
582
531
|
}, {
|
|
583
532
|
json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-music-simple-straight-jazzy-simple.json',
|
|
584
533
|
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-music-simple-straight-jazzy-simple.png'
|
|
585
|
-
},
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
},
|
|
589
|
-
|
|
590
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-save-the-date-celebration-calander-inviation-event.png'
|
|
591
|
-
}, {
|
|
592
|
-
json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-save-the-date-invitation-party-invited-cool-.json',
|
|
593
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-save-the-date-invitation-party-invited-cool-.png'
|
|
594
|
-
}, {
|
|
534
|
+
},
|
|
535
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-numeric-number-figure-chalk-written-writting.json', preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-numeric-number-figure-chalk-written-writting.png' },
|
|
536
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-save-the-date-celebration-calander-inviation-event.json', preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-save-the-date-celebration-calander-inviation-event.png' },
|
|
537
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-save-the-date-invitation-party-invited-cool-.json', preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-save-the-date-invitation-party-invited-cool-.png' },
|
|
538
|
+
{
|
|
595
539
|
json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-signature-sign-elegant-royal.json',
|
|
596
540
|
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-signature-sign-elegant-royal.png'
|
|
597
|
-
},
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-summer-sunny-hot-sea-season.json',
|
|
602
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-summer-sunny-hot-sea-season.png'
|
|
603
|
-
}, {
|
|
541
|
+
},
|
|
542
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-spring-season-nature-leaf-flower-decorative.json', preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-spring-season-nature-leaf-flower-decorative.png' },
|
|
543
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-summer-sunny-hot-sea-season.json', preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-summer-sunny-hot-sea-season.png' },
|
|
544
|
+
{
|
|
604
545
|
json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-treandu-cool-funky-hip.json',
|
|
605
546
|
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-treandu-cool-funky-hip.png'
|
|
606
|
-
},
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
},
|
|
610
|
-
|
|
611
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-winter-cold-wonderland-decorative-season.png'
|
|
612
|
-
}, {
|
|
613
|
-
json: 'https://api.polotno.com/text-templates/2021-06-05-text-color-alert-sale-brand-clearance-shop-now-sjopping-discount.json',
|
|
614
|
-
preview: 'https://api.polotno.com/text-templates/2021-06-05-text-color-alert-sale-brand-clearance-shop-now-sjopping-discount.png'
|
|
615
|
-
}, {
|
|
547
|
+
},
|
|
548
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-what-when-where-column-fun-cool-question.json', preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-what-when-where-column-fun-cool-question.png' },
|
|
549
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-04-text-color-winter-cold-wonderland-decorative-season.json', preview: 'https://api.polotno.com/text-templates/2021-06-04-text-color-winter-cold-wonderland-decorative-season.png' },
|
|
550
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-05-text-color-alert-sale-brand-clearance-shop-now-sjopping-discount.json', preview: 'https://api.polotno.com/text-templates/2021-06-05-text-color-alert-sale-brand-clearance-shop-now-sjopping-discount.png' },
|
|
551
|
+
{
|
|
616
552
|
json: 'https://api.polotno.com/text-templates/2021-06-05-text-color-chalk-drawing-chalkboard-pencil-marker-color-fill-hand-drawn-drawing.json',
|
|
617
553
|
preview: 'https://api.polotno.com/text-templates/2021-06-05-text-color-chalk-drawing-chalkboard-pencil-marker-color-fill-hand-drawn-drawing.png'
|
|
618
554
|
}, {
|
|
619
555
|
json: 'https://api.polotno.com/text-templates/2021-06-05-text-color-code-matrix-numbers-numeric-data-sale.json',
|
|
620
556
|
preview: 'https://api.polotno.com/text-templates/2021-06-05-text-color-code-matrix-numbers-numeric-data-sale.png'
|
|
621
|
-
},
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
}, {
|
|
557
|
+
},
|
|
558
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-05-text-color-fun-cool-cartoon-animated-game.json', preview: 'https://api.polotno.com/text-templates/2021-06-05-text-color-fun-cool-cartoon-animated-game.png' },
|
|
559
|
+
{
|
|
625
560
|
json: 'https://api.polotno.com/text-templates/2021-06-05-text-color-funky-cool-hashtag-young-fun.json',
|
|
626
561
|
preview: 'https://api.polotno.com/text-templates/2021-06-05-text-color-funky-cool-hashtag-young-fun.png'
|
|
627
562
|
}, {
|
|
628
563
|
json: 'https://api.polotno.com/text-templates/2021-06-05-text-color-instagram-tag-tagging-cool-unique.json',
|
|
629
564
|
preview: 'https://api.polotno.com/text-templates/2021-06-05-text-color-instagram-tag-tagging-cool-unique.png'
|
|
630
|
-
},
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
}, {
|
|
565
|
+
},
|
|
566
|
+
// { json: 'https://api.polotno.com/text-templates/2021-06-05-text-color-s-sle-black-friday-shopping-buy.json', preview: 'https://api.polotno.com/text-templates/2021-06-05-text-color-s-sle-black-friday-shopping-buy.png' },
|
|
567
|
+
{
|
|
634
568
|
json: 'https://api.polotno.com/text-templates/2021-06-05-text-color-speed-fast-run-running-cool-themed-cartoon-lines-waves-move-movement.json',
|
|
635
569
|
preview: 'https://api.polotno.com/text-templates/2021-06-05-text-color-speed-fast-run-running-cool-themed-cartoon-lines-waves-move-movement.png'
|
|
636
570
|
}, {
|
|
@@ -3976,8 +3910,10 @@ var ImageMaskPanel = observer(function (_ref) {
|
|
|
3976
3910
|
});
|
|
3977
3911
|
ImageMaskPanel.displayName = 'ImageMaskPanel';
|
|
3978
3912
|
|
|
3979
|
-
// Cover-fit
|
|
3980
|
-
//
|
|
3913
|
+
// Cover-fit SIZE (no cropping) for an image of natural size over a box of given size.
|
|
3914
|
+
// The image is scaled to the smallest size that fully covers the box, preserving aspect
|
|
3915
|
+
// ratio — one dimension matches the box, the other is larger and overflows the box
|
|
3916
|
+
// (centered overflow on both sides).
|
|
3981
3917
|
|
|
3982
3918
|
// Minimum scale at which the image (rendered at naturalWidth*scale x naturalHeight*scale)
|
|
3983
3919
|
// still fully covers rect.
|