designertool 0.67.0 → 0.68.0

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.
@@ -360,6 +360,7 @@ export declare const useGlobal: import('pinia').StoreDefinition<"global", {
360
360
  } | undefined;
361
361
  backgroundColor?: string | undefined;
362
362
  padding?: number | undefined;
363
+ paddingY?: number | undefined;
363
364
  keepRatio?: boolean | undefined;
364
365
  style?: string | undefined;
365
366
  } | {
@@ -380,6 +381,7 @@ export declare const useGlobal: import('pinia').StoreDefinition<"global", {
380
381
  } | undefined;
381
382
  backgroundColor?: string | undefined;
382
383
  padding?: number | undefined;
384
+ paddingY?: number | undefined;
383
385
  keepRatio?: boolean | undefined;
384
386
  style?: string | undefined;
385
387
  } | {
@@ -400,6 +402,7 @@ export declare const useGlobal: import('pinia').StoreDefinition<"global", {
400
402
  } | undefined;
401
403
  backgroundColor?: string | undefined;
402
404
  padding?: number | undefined;
405
+ paddingY?: number | undefined;
403
406
  keepRatio?: boolean | undefined;
404
407
  style?: string | undefined;
405
408
  } | {
@@ -420,6 +423,7 @@ export declare const useGlobal: import('pinia').StoreDefinition<"global", {
420
423
  } | undefined;
421
424
  backgroundColor?: string | undefined;
422
425
  padding?: number | undefined;
426
+ paddingY?: number | undefined;
423
427
  keepRatio?: boolean | undefined;
424
428
  style?: string | undefined;
425
429
  } | {
@@ -440,6 +444,7 @@ export declare const useGlobal: import('pinia').StoreDefinition<"global", {
440
444
  } | undefined;
441
445
  backgroundColor?: string | undefined;
442
446
  padding?: number | undefined;
447
+ paddingY?: number | undefined;
443
448
  keepRatio?: boolean | undefined;
444
449
  style?: string | undefined;
445
450
  } | {
@@ -467,6 +472,7 @@ export declare const useGlobal: import('pinia').StoreDefinition<"global", {
467
472
  } | undefined;
468
473
  backgroundColor?: string | undefined;
469
474
  padding?: number | undefined;
475
+ paddingY?: number | undefined;
470
476
  keepRatio?: boolean | undefined;
471
477
  style?: string | undefined;
472
478
  } | {
@@ -488,6 +494,7 @@ export declare const useGlobal: import('pinia').StoreDefinition<"global", {
488
494
  } | undefined;
489
495
  backgroundColor?: string | undefined;
490
496
  padding?: number | undefined;
497
+ paddingY?: number | undefined;
491
498
  keepRatio?: boolean | undefined;
492
499
  style?: string | undefined;
493
500
  } | {
@@ -519,6 +526,7 @@ export declare const useGlobal: import('pinia').StoreDefinition<"global", {
519
526
  } | undefined;
520
527
  backgroundColor?: string | undefined;
521
528
  padding?: number | undefined;
529
+ paddingY?: number | undefined;
522
530
  keepRatio?: boolean | undefined;
523
531
  style?: string | undefined;
524
532
  } | {
@@ -544,6 +552,7 @@ export declare const useGlobal: import('pinia').StoreDefinition<"global", {
544
552
  } | undefined;
545
553
  backgroundColor?: string | undefined;
546
554
  padding?: number | undefined;
555
+ paddingY?: number | undefined;
547
556
  keepRatio?: boolean | undefined;
548
557
  style?: string | undefined;
549
558
  } | undefined;
@@ -557,6 +566,7 @@ export declare const useGlobal: import('pinia').StoreDefinition<"global", {
557
566
  border?: import('../types/items').Border;
558
567
  backgroundColor?: string;
559
568
  padding?: number;
569
+ paddingY?: number;
560
570
  };
561
571
  getElementBorder(el: Element): import('../types/items').Border;
562
572
  getElementStyle(el: Element): {
@@ -359,6 +359,7 @@ export declare const useItems: import('pinia').StoreDefinition<"items", {
359
359
  } | undefined;
360
360
  backgroundColor?: string | undefined;
361
361
  padding?: number | undefined;
362
+ paddingY?: number | undefined;
362
363
  keepRatio?: boolean | undefined;
363
364
  style?: string | undefined;
364
365
  } | {
@@ -379,6 +380,7 @@ export declare const useItems: import('pinia').StoreDefinition<"items", {
379
380
  } | undefined;
380
381
  backgroundColor?: string | undefined;
381
382
  padding?: number | undefined;
383
+ paddingY?: number | undefined;
382
384
  keepRatio?: boolean | undefined;
383
385
  style?: string | undefined;
384
386
  } | {
@@ -399,6 +401,7 @@ export declare const useItems: import('pinia').StoreDefinition<"items", {
399
401
  } | undefined;
400
402
  backgroundColor?: string | undefined;
401
403
  padding?: number | undefined;
404
+ paddingY?: number | undefined;
402
405
  keepRatio?: boolean | undefined;
403
406
  style?: string | undefined;
404
407
  } | {
@@ -419,6 +422,7 @@ export declare const useItems: import('pinia').StoreDefinition<"items", {
419
422
  } | undefined;
420
423
  backgroundColor?: string | undefined;
421
424
  padding?: number | undefined;
425
+ paddingY?: number | undefined;
422
426
  keepRatio?: boolean | undefined;
423
427
  style?: string | undefined;
424
428
  } | {
@@ -439,6 +443,7 @@ export declare const useItems: import('pinia').StoreDefinition<"items", {
439
443
  } | undefined;
440
444
  backgroundColor?: string | undefined;
441
445
  padding?: number | undefined;
446
+ paddingY?: number | undefined;
442
447
  keepRatio?: boolean | undefined;
443
448
  style?: string | undefined;
444
449
  } | {
@@ -466,6 +471,7 @@ export declare const useItems: import('pinia').StoreDefinition<"items", {
466
471
  } | undefined;
467
472
  backgroundColor?: string | undefined;
468
473
  padding?: number | undefined;
474
+ paddingY?: number | undefined;
469
475
  keepRatio?: boolean | undefined;
470
476
  style?: string | undefined;
471
477
  } | {
@@ -487,6 +493,7 @@ export declare const useItems: import('pinia').StoreDefinition<"items", {
487
493
  } | undefined;
488
494
  backgroundColor?: string | undefined;
489
495
  padding?: number | undefined;
496
+ paddingY?: number | undefined;
490
497
  keepRatio?: boolean | undefined;
491
498
  style?: string | undefined;
492
499
  } | {
@@ -518,6 +525,7 @@ export declare const useItems: import('pinia').StoreDefinition<"items", {
518
525
  } | undefined;
519
526
  backgroundColor?: string | undefined;
520
527
  padding?: number | undefined;
528
+ paddingY?: number | undefined;
521
529
  keepRatio?: boolean | undefined;
522
530
  style?: string | undefined;
523
531
  } | {
@@ -543,6 +551,7 @@ export declare const useItems: import('pinia').StoreDefinition<"items", {
543
551
  } | undefined;
544
552
  backgroundColor?: string | undefined;
545
553
  padding?: number | undefined;
554
+ paddingY?: number | undefined;
546
555
  keepRatio?: boolean | undefined;
547
556
  style?: string | undefined;
548
557
  } | undefined;
@@ -556,6 +565,7 @@ export declare const useItems: import('pinia').StoreDefinition<"items", {
556
565
  border?: Border;
557
566
  backgroundColor?: string;
558
567
  padding?: number;
568
+ paddingY?: number;
559
569
  };
560
570
  getElementBorder(el: Element): Border;
561
571
  getElementStyle(el: Element): {
@@ -17,7 +17,10 @@ export interface BaseItem {
17
17
  position: Position;
18
18
  border?: Border;
19
19
  backgroundColor?: string;
20
+ /** Horizontal padding in pt. Also the vertical padding when `paddingY` is unset (uniform / legacy). */
20
21
  padding?: number;
22
+ /** Vertical padding in pt. Unset means uniform: vertical equals `padding`. */
23
+ paddingY?: number;
21
24
  keepRatio?: boolean;
22
25
  style?: string;
23
26
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "designertool",
3
3
  "private": false,
4
- "version": "0.67.0",
4
+ "version": "0.68.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"