@automattic/social-previews 3.3.2 → 3.3.4

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/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.3.4] - 2026-07-06
9
+ ### Changed
10
+ - Update package dependencies. [#50097] [#50183]
11
+
12
+ ## [3.3.3] - 2026-06-29
13
+ ### Changed
14
+ - Update dependencies. [#50004]
15
+
8
16
  ## [3.3.2] - 2026-06-26
9
17
  ### Changed
10
18
  - Update dependencies. [#49464]
@@ -225,6 +233,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
225
233
 
226
234
  - Initial release after extracting from Calypso.
227
235
 
236
+ [3.3.4]: https://github.com/Automattic/social-previews/compare/v3.3.3...v3.3.4
237
+ [3.3.3]: https://github.com/Automattic/social-previews/compare/v3.3.2...v3.3.3
228
238
  [3.3.2]: https://github.com/Automattic/social-previews/compare/v3.3.1...v3.3.2
229
239
  [3.3.1]: https://github.com/Automattic/social-previews/compare/v3.3.0...v3.3.1
230
240
  [3.3.0]: https://github.com/Automattic/social-previews/compare/v3.2.5...v3.3.0
package/dist/style.css CHANGED
@@ -154,7 +154,7 @@
154
154
  overflow-wrap: break-word;
155
155
  }
156
156
  .twitter-preview__container .twitter-preview__content .twitter-preview__media {
157
- border-radius: 15px; /* stylelint-disable-line scales/radii */
157
+ border-radius: 15px;
158
158
  overflow: hidden;
159
159
  display: grid;
160
160
  gap: 2px;
@@ -210,7 +210,7 @@
210
210
  margin-bottom: 12px;
211
211
  overflow: hidden;
212
212
  border: 1px solid #e1e8ed;
213
- border-radius: 12px; /* stylelint-disable-line scales/radii */
213
+ border-radius: 12px;
214
214
  }
215
215
  .twitter-preview__container .twitter-preview__content .twitter-preview__card .twitter-preview__card-summary {
216
216
  display: grid;
@@ -390,7 +390,6 @@
390
390
  object-fit: cover;
391
391
  width: 100%;
392
392
  }
393
- /* stylelint-disable-next-line scales/radii */
394
393
  .tumblr-preview__post-icon {
395
394
  display: flex;
396
395
  align-items: center;
@@ -438,7 +437,6 @@
438
437
  width: 18px;
439
438
  height: 4px;
440
439
  }
441
- /* stylelint-disable-next-line scales/radii */
442
440
  .tumblr-preview__post-actions {
443
441
  margin-top: 0.25rem;
444
442
  padding: 0 1.25rem;
@@ -479,7 +477,6 @@
479
477
  display: flex;
480
478
  align-items: center;
481
479
  }
482
- /* stylelint-disable-next-line scales/radii */
483
480
  .tumblr-preview__post-header {
484
481
  display: flex;
485
482
  justify-content: space-between;
@@ -493,7 +490,6 @@
493
490
  font-weight: 700;
494
491
  line-height: 1.5;
495
492
  }
496
- /* stylelint-disable-next-line scales/radii */
497
493
  .tumblr-preview__section.social-preview__section {
498
494
  width: clamp(200px, 100%, 604px + 1.25rem);
499
495
  }
@@ -537,7 +533,6 @@
537
533
  .tumblr-preview__title {
538
534
  margin: 0 0 1rem 0;
539
535
  padding: 0 1.25rem;
540
- /* stylelint-disable-next-line scales/font-sizes */
541
536
  font-size: 1.625rem;
542
537
  font-weight: 400;
543
538
  line-height: 1.3;
@@ -671,7 +666,6 @@
671
666
  padding: 0;
672
667
  color: #65676b;
673
668
  list-style-type: none;
674
- /* stylelint-disable-next-line scales/font-sizes */
675
669
  font-size: 0.9375rem;
676
670
  font-weight: 600;
677
671
  line-height: 1.33;
@@ -706,7 +700,6 @@
706
700
 
707
701
  .facebook-preview__post-header-name {
708
702
  color: #050505;
709
- /* stylelint-disable-next-line scales/font-sizes */
710
703
  font-size: 0.9375rem;
711
704
  font-weight: 600;
712
705
  line-height: 1.33;
@@ -719,7 +712,6 @@
719
712
  }
720
713
 
721
714
  .facebook-preview__post-header-time {
722
- /* stylelint-disable-next-line scales/font-sizes */
723
715
  font-size: 0.8125rem;
724
716
  line-height: 1.23;
725
717
  }
@@ -756,7 +748,6 @@
756
748
  margin: 0;
757
749
  padding: 0 1rem 1rem;
758
750
  color: #050505;
759
- /* stylelint-disable-next-line scales/font-sizes */
760
751
  font-size: 0.9375rem;
761
752
  line-height: 1.33;
762
753
  overflow-wrap: break-word;
@@ -798,7 +789,6 @@
798
789
  .facebook-preview__url {
799
790
  margin-bottom: 0.25rem;
800
791
  color: #65676b;
801
- /* stylelint-disable-next-line scales/font-sizes */
802
792
  font-size: 0.8125rem;
803
793
  line-height: 1;
804
794
  text-transform: uppercase;
@@ -806,7 +796,6 @@
806
796
 
807
797
  .facebook-preview__title {
808
798
  margin: 0.25rem 0 0.125rem;
809
- /* stylelint-disable-next-line scales/font-sizes */
810
799
  font-size: 0.9444rem;
811
800
  font-weight: 600;
812
801
  line-height: 1.18;
@@ -814,7 +803,6 @@
814
803
 
815
804
  .facebook-preview__description {
816
805
  color: #65676b;
817
- /* stylelint-disable-next-line scales/font-sizes */
818
806
  font-size: 0.9375rem;
819
807
  line-height: 1.33;
820
808
  }
@@ -966,7 +954,6 @@
966
954
 
967
955
  .mastodon-preview__card-title {
968
956
  color: #282c37;
969
- /* stylelint-disable-next-line scales/font-sizes */
970
957
  font-size: 1.187rem;
971
958
  font-weight: 700;
972
959
  line-height: 1.4;
@@ -990,7 +977,6 @@
990
977
  justify-content: space-between;
991
978
  align-items: start;
992
979
  margin-bottom: 0.625rem;
993
- /* stylelint-disable-next-line scales/font-sizes */
994
980
  font-size: 0.9375rem;
995
981
  line-height: 1.47;
996
982
  }
@@ -1032,7 +1018,6 @@
1032
1018
  border: 1px solid #c0cdd9;
1033
1019
  color: #444b5d;
1034
1020
  font-family: "mastodon-font-sans-serif", sans-serif;
1035
- /* stylelint-disable-next-line scales/font-sizes */
1036
1021
  font-size: 0.9375rem;
1037
1022
  line-height: 1.47;
1038
1023
  }
@@ -1341,7 +1326,6 @@
1341
1326
  gap: 0.5rem;
1342
1327
  max-width: max-content;
1343
1328
  margin-bottom: 0.625rem;
1344
- /* stylelint-disable-next-line scales/font-sizes */
1345
1329
  font-size: 0.9375rem;
1346
1330
  line-height: 1.47;
1347
1331
  }
@@ -1396,7 +1380,6 @@
1396
1380
  border-radius: 8px;
1397
1381
  color: #444b5d;
1398
1382
  font-family: "bluesky-font-sans-serif", sans-serif;
1399
- /* stylelint-disable-next-line scales/font-sizes */
1400
1383
  font-size: 0.9375rem;
1401
1384
  line-height: 1.47;
1402
1385
  }
@@ -1428,7 +1411,6 @@
1428
1411
  width: 100%;
1429
1412
  object-fit: cover;
1430
1413
  }
1431
- /* stylelint-disable scales/radii */
1432
1414
  .threads-preview {
1433
1415
  padding: 20px;
1434
1416
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/social-previews",
3
- "version": "3.3.2",
3
+ "version": "3.3.4",
4
4
  "description": "A suite of components to generate previews for a post for both social and search engines.",
5
5
  "keywords": [
6
6
  "wordpress",
@@ -39,9 +39,9 @@
39
39
  "typecheck": "tsgo --noEmit"
40
40
  },
41
41
  "dependencies": {
42
- "@wordpress/components": "35.0.1",
43
- "@wordpress/element": "8.0.1",
44
- "@wordpress/i18n": "6.21.1",
42
+ "@wordpress/components": "36.1.0",
43
+ "@wordpress/element": "8.2.0",
44
+ "@wordpress/i18n": "6.23.0",
45
45
  "clsx": "2.1.1"
46
46
  },
47
47
  "devDependencies": {