@photoroom/ui 0.1.543 → 0.1.545

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.543",
3
+ "version": "0.1.545",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [
package/theme.css CHANGED
@@ -21,26 +21,27 @@
21
21
  @theme inline {
22
22
  /* Base */
23
23
  --color-black: var(--color-black);
24
- --color-black-alpha-1: var(--color-black-alpha-1);
25
- --color-black-alpha-2: var(--color-black-alpha-2);
26
- --color-black-alpha-3: var(--color-black-alpha-3);
27
- --color-black-alpha-4: var(--color-black-alpha-4);
28
- --color-black-alpha-5: var(--color-black-alpha-5);
29
- --color-black-alpha-6: var(--color-black-alpha-6);
30
- --color-black-alpha-7: var(--color-black-alpha-7);
31
- --color-black-alpha-8: var(--color-black-alpha-8);
24
+ --color-black-alpha-100: var(--color-black-alpha-100);
25
+ --color-black-alpha-200: var(--color-black-alpha-200);
26
+ --color-black-alpha-300: var(--color-black-alpha-300);
27
+ --color-black-alpha-400: var(--color-black-alpha-400);
28
+ --color-black-alpha-500: var(--color-black-alpha-500);
29
+ --color-black-alpha-600: var(--color-black-alpha-600);
30
+ --color-black-alpha-700: var(--color-black-alpha-700);
31
+ --color-black-alpha-800: var(--color-black-alpha-800);
32
+ --color-black-alpha-900: var(--color-black-alpha-900);
32
33
  --color-white: var(--color-white);
33
34
  --color-white-1: var(--color-white-1);
34
35
  --color-white-2: var(--color-white-2);
35
- --color-white-alpha-1: var(--color-white-alpha-1);
36
- --color-white-alpha-2: var(--color-white-alpha-2);
37
- --color-white-alpha-3: var(--color-white-alpha-3);
38
- --color-white-alpha-4: var(--color-white-alpha-4);
39
- --color-white-alpha-5: var(--color-white-alpha-5);
40
- --color-white-alpha-6: var(--color-white-alpha-6);
41
- --color-white-alpha-7: var(--color-white-alpha-7);
42
- --color-white-alpha-8: var(--color-white-alpha-8);
43
- --color-white-alpha-9: var(--color-white-alpha-9);
36
+ --color-white-alpha-100: var(--color-white-alpha-100);
37
+ --color-white-alpha-200: var(--color-white-alpha-200);
38
+ --color-white-alpha-300: var(--color-white-alpha-300);
39
+ --color-white-alpha-400: var(--color-white-alpha-400);
40
+ --color-white-alpha-500: var(--color-white-alpha-500);
41
+ --color-white-alpha-600: var(--color-white-alpha-600);
42
+ --color-white-alpha-700: var(--color-white-alpha-700);
43
+ --color-white-alpha-800: var(--color-white-alpha-800);
44
+ --color-white-alpha-900: var(--color-white-alpha-900);
44
45
 
45
46
  /* Neutral */
46
47
  --color-neutral-0: var(--color-neutral-0);
@@ -59,6 +60,7 @@
59
60
  --color-neutral-alpha-300: var(--color-neutral-alpha-300);
60
61
  --color-neutral-alpha-400: var(--color-neutral-alpha-400);
61
62
  --color-neutral-alpha-500: var(--color-neutral-alpha-500);
63
+ --color-neutral-alpha-600: var(--color-neutral-alpha-600);
62
64
 
63
65
  /* Sand */
64
66
  --color-sand-50: var(--color-sand-50);
@@ -78,17 +80,17 @@
78
80
  --color-positive-400: var(--color-positive-400);
79
81
  --color-positive-500: var(--color-positive-500);
80
82
  --color-positive-600: var(--color-positive-600);
81
- --color-positive-alpha-1: var(--color-positive-alpha-1);
82
- --color-positive-alpha-2: var(--color-positive-alpha-2);
83
- --color-positive-alpha-3: var(--color-positive-alpha-3);
83
+ --color-positive-alpha-100: var(--color-positive-alpha-100);
84
+ --color-positive-alpha-200: var(--color-positive-alpha-200);
85
+ --color-positive-alpha-300: var(--color-positive-alpha-300);
84
86
 
85
87
  /* Negative */
86
88
  --color-negative-400: var(--color-negative-400);
87
89
  --color-negative-500: var(--color-negative-500);
88
90
  --color-negative-600: var(--color-negative-600);
89
- --color-negative-alpha-1: var(--color-negative-alpha-1);
90
- --color-negative-alpha-2: var(--color-negative-alpha-2);
91
- --color-negative-alpha-3: var(--color-negative-alpha-3);
91
+ --color-negative-alpha-100: var(--color-negative-alpha-100);
92
+ --color-negative-alpha-200: var(--color-negative-alpha-200);
93
+ --color-negative-alpha-300: var(--color-negative-alpha-300);
92
94
 
93
95
  /* Magic accent */
94
96
  --color-magic-accent-400: var(--color-magic-accent-400);
@@ -389,69 +391,6 @@
389
391
  --animate-nav-content-fade-out: nav-content-fade-out 450ms cubic-bezier(0.16, 1, 0.3, 1);
390
392
  }
391
393
 
392
- /*
393
- * Content-to-edge spacing tokens (used only by the @utility blocks below)
394
- * https://www.figma.com/file/cHgANa7dtzDDGXk7dKuAOQ/Design-system?node-id=11366-12472
395
- */
396
- @theme {
397
- --content-edge-150: 4px;
398
- --content-edge-200: 5px;
399
- --content-edge-250: 6px;
400
- --content-edge-300: 7px;
401
- --content-edge-350: 8px;
402
- --content-edge-400: 10px;
403
- --content-edge-450: 11px;
404
- --content-edge-500: 12px;
405
- --content-edge-550: 13px;
406
- --content-edge-600: 14px;
407
- --content-edge-650: 16px;
408
- --content-edge-700: 17px;
409
- --content-edge-750: 18px;
410
- --content-edge-800: 19px;
411
-
412
- --content-edge-spacious-200: 6px;
413
- --content-edge-spacious-250: 8px;
414
- --content-edge-spacious-300: 10px;
415
- --content-edge-spacious-350: 11px;
416
- --content-edge-spacious-400: 13px;
417
- --content-edge-spacious-450: 14px;
418
- --content-edge-spacious-500: 16px;
419
- --content-edge-spacious-550: 18px;
420
- --content-edge-spacious-600: 19px;
421
- --content-edge-spacious-650: 21px;
422
- --content-edge-spacious-700: 22px;
423
- --content-edge-spacious-750: 24px;
424
- --content-edge-spacious-800: 26px;
425
-
426
- --icon-edge-200: 4px;
427
- --icon-edge-250: 5px;
428
- --icon-edge-300: 6px;
429
- --icon-edge-350: 6px;
430
- --icon-edge-400: 8px;
431
- --icon-edge-450: 9px;
432
- --icon-edge-500: 10px;
433
- --icon-edge-550: 11px;
434
- --icon-edge-600: 12px;
435
- --icon-edge-650: 13px;
436
- --icon-edge-700: 14px;
437
- --icon-edge-750: 15px;
438
- --icon-edge-800: 16px;
439
-
440
- --icon-edge-spacious-200: 5px;
441
- --icon-edge-spacious-250: 7px;
442
- --icon-edge-spacious-300: 9px;
443
- --icon-edge-spacious-350: 9px;
444
- --icon-edge-spacious-400: 11px;
445
- --icon-edge-spacious-450: 12px;
446
- --icon-edge-spacious-500: 14px;
447
- --icon-edge-spacious-550: 16px;
448
- --icon-edge-spacious-600: 17px;
449
- --icon-edge-spacious-650: 18px;
450
- --icon-edge-spacious-700: 19px;
451
- --icon-edge-spacious-750: 21px;
452
- --icon-edge-spacious-800: 23px;
453
- }
454
-
455
394
  /*
456
395
  * Custom utilities (replaces src/plugins/transitions.js)
457
396
  * https://www.figma.com/design/cHgANa7dtzDDGXk7dKuAOQ/Prism?node-id=62868-23303&m=dev
@@ -461,29 +400,6 @@
461
400
  transition-duration: 200ms;
462
401
  }
463
402
 
464
- /*
465
- * Icon offset utilities (replaces src/plugins/icon-offset.js)
466
- * https://www.figma.com/file/cHgANa7dtzDDGXk7dKuAOQ/Design-system?node-id=11366-12440
467
- */
468
- @utility icon-offset-200 {
469
- margin-left: -1.2px;
470
- }
471
- @utility icon-offset-300 {
472
- margin-left: -1.4px;
473
- }
474
- @utility icon-offset-400 {
475
- margin-left: -1.7px;
476
- }
477
- @utility icon-offset-500 {
478
- margin-left: -2px;
479
- }
480
- @utility icon-offset-600 {
481
- margin-left: -2.4px;
482
- }
483
- @utility icon-offset-700 {
484
- margin-left: -2.9px;
485
- }
486
-
487
403
  /*
488
404
  * Icon size utilities (replaces src/plugins/icon-size.js)
489
405
  * https://www.figma.com/file/cHgANa7dtzDDGXk7dKuAOQ/Design-system?node-id=11366-12716
@@ -676,56 +592,6 @@
676
592
  background-size: 28px 28px;
677
593
  }
678
594
 
679
- /*
680
- * Text-to-leading utilities (replaces src/plugins/text-to-leading.js)
681
- * https://www.figma.com/file/cHgANa7dtzDDGXk7dKuAOQ/Design-system?node-id=11366-12592
682
- */
683
- @utility text-to-leading-300 {
684
- margin-inline-start: 6px;
685
- }
686
- @utility text-to-leading-400 {
687
- margin-inline-start: 7px;
688
- }
689
- @utility text-to-leading-500 {
690
- margin-inline-start: 8px;
691
- }
692
- @utility text-to-leading-600 {
693
- margin-inline-start: 10px;
694
- }
695
- @utility text-to-leading-700 {
696
- margin-inline-start: 12px;
697
- }
698
- @utility text-to-leading-compact-300 {
699
- margin-inline-start: 3px;
700
- }
701
- @utility text-to-leading-compact-400 {
702
- margin-inline-start: 3.3px;
703
- }
704
- @utility text-to-leading-compact-500 {
705
- margin-inline-start: 4px;
706
- }
707
- @utility text-to-leading-compact-600 {
708
- margin-inline-start: 5px;
709
- }
710
- @utility text-to-leading-compact-700 {
711
- margin-inline-start: 6px;
712
- }
713
- @utility text-to-leading-spacious-300 {
714
- margin-inline-start: 8px;
715
- }
716
- @utility text-to-leading-spacious-400 {
717
- margin-inline-start: 10px;
718
- }
719
- @utility text-to-leading-spacious-500 {
720
- margin-inline-start: 12px;
721
- }
722
- @utility text-to-leading-spacious-600 {
723
- margin-inline-start: 14px;
724
- }
725
- @utility text-to-leading-spacious-700 {
726
- margin-inline-start: 17px;
727
- }
728
-
729
595
  /*
730
596
  * Misc design-system utilities (replaces src/plugins/misc.js)
731
597
  * https://www.figma.com/file/cHgANa7dtzDDGXk7dKuAOQ/Design-system?node-id=20464-7406
@@ -828,70 +694,6 @@
828
694
  color: transparent;
829
695
  }
830
696
 
831
- /* Content to edge (replaces src/plugins/content-to-edge.js) */
832
- @utility content-to-edge-pl-* {
833
- padding-left: --value(--content-edge-*);
834
- }
835
- @utility content-to-edge-pr-* {
836
- padding-right: --value(--content-edge-*);
837
- }
838
- @utility content-to-edge-ps-* {
839
- padding-inline-start: --value(--content-edge-*);
840
- }
841
- @utility content-to-edge-pe-* {
842
- padding-inline-end: --value(--content-edge-*);
843
- }
844
- @utility content-to-edge-px-* {
845
- padding-inline: --value(--content-edge-*);
846
- }
847
- @utility content-to-edge-py-* {
848
- padding-block: --value(--content-edge-*);
849
- }
850
- @utility content-to-edge-spacious-pl-* {
851
- padding-left: --value(--content-edge-spacious-*);
852
- }
853
- @utility content-to-edge-spacious-pr-* {
854
- padding-right: --value(--content-edge-spacious-*);
855
- }
856
- @utility content-to-edge-spacious-px-* {
857
- padding-inline: --value(--content-edge-spacious-*);
858
- }
859
- @utility content-to-edge-spacious-ps-* {
860
- padding-inline-start: --value(--content-edge-spacious-*);
861
- }
862
- @utility content-to-edge-spacious-pe-* {
863
- padding-inline-end: --value(--content-edge-spacious-*);
864
- }
865
-
866
- /* Icon to edge (replaces src/plugins/icon-to-edge.js) */
867
- @utility icon-to-edge-pl-* {
868
- padding-left: --value(--icon-edge-*);
869
- }
870
- @utility icon-to-edge-pr-* {
871
- padding-right: --value(--icon-edge-*);
872
- }
873
- @utility icon-to-edge-ps-* {
874
- padding-inline-start: --value(--icon-edge-*);
875
- }
876
- @utility icon-to-edge-pe-* {
877
- padding-inline-end: --value(--icon-edge-*);
878
- }
879
- @utility icon-to-edge-py-* {
880
- padding-block: --value(--icon-edge-*);
881
- }
882
- @utility icon-to-edge-spacious-pl-* {
883
- padding-left: --value(--icon-edge-spacious-*);
884
- }
885
- @utility icon-to-edge-spacious-pr-* {
886
- padding-right: --value(--icon-edge-spacious-*);
887
- }
888
- @utility icon-to-edge-spacious-ps-* {
889
- padding-inline-start: --value(--icon-edge-spacious-*);
890
- }
891
- @utility icon-to-edge-spacious-pe-* {
892
- padding-inline-end: --value(--icon-edge-spacious-*);
893
- }
894
-
895
697
  /*
896
698
  * Size utilities (replaces src/plugins/size.js)
897
699
  * https://www.figma.com/file/cHgANa7dtzDDGXk7dKuAOQ/Design-system?node-id=16712-19165