@automattic/jetpack-components 1.3.7 → 1.3.8

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
@@ -2,6 +2,10 @@
2
2
 
3
3
  ### This is a list detailing changes for the Jetpack RNA Components package releases.
4
4
 
5
+ ## [1.3.8] - 2025-11-03
6
+ ### Added
7
+ - Add domains icon to the Gridicon component. [#45716]
8
+
5
9
  ## [1.3.7] - 2025-10-28
6
10
  ### Changed
7
11
  - Update package dependencies. [#45652]
@@ -1549,6 +1553,7 @@
1549
1553
  ### Changed
1550
1554
  - Update node version requirement to 14.16.1
1551
1555
 
1556
+ [1.3.8]: https://github.com/Automattic/jetpack-components/compare/1.3.7...1.3.8
1552
1557
  [1.3.7]: https://github.com/Automattic/jetpack-components/compare/1.3.6...1.3.7
1553
1558
  [1.3.6]: https://github.com/Automattic/jetpack-components/compare/1.3.5...1.3.6
1554
1559
  [1.3.5]: https://github.com/Automattic/jetpack-components/compare/1.3.4...1.3.5
@@ -42,34 +42,36 @@ class Gridicon extends Component {
42
42
  default:
43
43
  return '';
44
44
  case 'gridicons-audio':
45
- return __('Has audio.', 'jetpack-components');
45
+ return __('Has audio', 'jetpack-components');
46
46
  case 'gridicons-arrow-left':
47
47
  return __('Arrow left', 'jetpack-components');
48
48
  case 'gridicons-arrow-right':
49
49
  return __('Arrow right', 'jetpack-components');
50
50
  case 'gridicons-calendar':
51
- return __('Is an event.', 'jetpack-components');
51
+ return __('Is an event', 'jetpack-components');
52
52
  case 'gridicons-cart':
53
- return __('Is a product.', 'jetpack-components');
53
+ return __('Is a product', 'jetpack-components');
54
54
  case 'chevron-down':
55
55
  return __('Show filters', 'jetpack-components');
56
56
  case 'gridicons-comment':
57
- return __('Matching comment.', 'jetpack-components');
57
+ return __('Matching comment', 'jetpack-components');
58
58
  case 'gridicons-cross':
59
- return __('Close.', 'jetpack-components');
59
+ return __('Close', 'jetpack-components');
60
+ case 'gridicons-domains':
61
+ return __('Website', 'jetpack-components');
60
62
  case 'gridicons-filter':
61
- return __('Toggle search filters.', 'jetpack-components');
63
+ return __('Toggle search filters', 'jetpack-components');
62
64
  case 'gridicons-folder':
63
65
  return __('Category', 'jetpack-components');
64
66
  case 'gridicons-help-outline':
65
67
  return __('Help', 'jetpack-components');
66
68
  case 'gridicons-info':
67
69
  case 'gridicons-info-outline':
68
- return __('Information.', 'jetpack-components');
70
+ return __('Information', 'jetpack-components');
69
71
  case 'gridicons-image-multiple':
70
- return __('Has multiple images.', 'jetpack-components');
72
+ return __('Has multiple images', 'jetpack-components');
71
73
  case 'gridicons-image':
72
- return __('Has an image.', 'jetpack-components');
74
+ return __('Has an image', 'jetpack-components');
73
75
  case 'gridicons-page':
74
76
  return __('Page', 'jetpack-components');
75
77
  case 'gridicons-post':
@@ -80,7 +82,7 @@ class Gridicon extends Component {
80
82
  case 'gridicons-tag':
81
83
  return __('Tag', 'jetpack-components');
82
84
  case 'gridicons-video':
83
- return __('Has a video.', 'jetpack-components');
85
+ return __('Has a video', 'jetpack-components');
84
86
  }
85
87
  }
86
88
  renderIcon(icon) {
@@ -113,6 +115,8 @@ class Gridicon extends Component {
113
115
  return (_jsx("g", { children: _jsx("path", { d: "M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z" }) }));
114
116
  case 'gridicons-cross':
115
117
  return (_jsx("g", { children: _jsx("path", { d: "M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z" }) }));
118
+ case 'gridicons-domains':
119
+ return (_jsx("g", { children: _jsx("path", { d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm6.918 6h-3.215a49.088 49.088 0 00-.565-3.357A8.048 8.048 0 0118.918 8zm-5.904-3.928c.068.352.387 2.038.645 3.928h-3.318c.258-1.89.577-3.576.645-3.928C11.319 4.029 11.656 4 12 4s.681.029 1.014.072zM14 12c0 .598-.043 1.286-.109 2h-3.782c-.066-.714-.109-1.402-.109-2s.043-1.286.109-2h3.782c.066.714.109 1.402.109 2zM8.862 4.643A49.088 49.088 0 008.297 8H5.082a8.048 8.048 0 013.78-3.357zM4.263 10h3.821C8.033 10.668 8 11.344 8 12s.033 1.332.085 2H4.263C4.097 13.359 4 12.692 4 12s.098-1.359.263-2zm.819 6h3.215c.188 1.424.42 2.65.565 3.357A8.048 8.048 0 015.082 16zm5.904 3.928A77.282 77.282 0 0110.341 16h3.318a78.303 78.303 0 01-.645 3.928c-.333.043-.67.072-1.014.072s-.681-.029-1.014-.072zm4.152-.571c.145-.707.377-1.933.565-3.357h3.215a8.048 8.048 0 01-3.78 3.357zM19.737 14h-3.821c.051-.668.084-1.344.084-2s-.033-1.332-.085-2h3.821c.166.641.264 1.308.264 2s-.097 1.359-.263 2z" }) }));
116
120
  case 'gridicons-filter':
117
121
  return (_jsx("g", { children: _jsx("path", { d: "M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z" }) }));
118
122
  case 'gridicons-folder':
@@ -48,34 +48,36 @@ class Gridicon extends Component< GridiconProps > {
48
48
  default:
49
49
  return '';
50
50
  case 'gridicons-audio':
51
- return __( 'Has audio.', 'jetpack-components' );
51
+ return __( 'Has audio', 'jetpack-components' );
52
52
  case 'gridicons-arrow-left':
53
53
  return __( 'Arrow left', 'jetpack-components' );
54
54
  case 'gridicons-arrow-right':
55
55
  return __( 'Arrow right', 'jetpack-components' );
56
56
  case 'gridicons-calendar':
57
- return __( 'Is an event.', 'jetpack-components' );
57
+ return __( 'Is an event', 'jetpack-components' );
58
58
  case 'gridicons-cart':
59
- return __( 'Is a product.', 'jetpack-components' );
59
+ return __( 'Is a product', 'jetpack-components' );
60
60
  case 'chevron-down':
61
61
  return __( 'Show filters', 'jetpack-components' );
62
62
  case 'gridicons-comment':
63
- return __( 'Matching comment.', 'jetpack-components' );
63
+ return __( 'Matching comment', 'jetpack-components' );
64
64
  case 'gridicons-cross':
65
- return __( 'Close.', 'jetpack-components' );
65
+ return __( 'Close', 'jetpack-components' );
66
+ case 'gridicons-domains':
67
+ return __( 'Website', 'jetpack-components' );
66
68
  case 'gridicons-filter':
67
- return __( 'Toggle search filters.', 'jetpack-components' );
69
+ return __( 'Toggle search filters', 'jetpack-components' );
68
70
  case 'gridicons-folder':
69
71
  return __( 'Category', 'jetpack-components' );
70
72
  case 'gridicons-help-outline':
71
73
  return __( 'Help', 'jetpack-components' );
72
74
  case 'gridicons-info':
73
75
  case 'gridicons-info-outline':
74
- return __( 'Information.', 'jetpack-components' );
76
+ return __( 'Information', 'jetpack-components' );
75
77
  case 'gridicons-image-multiple':
76
- return __( 'Has multiple images.', 'jetpack-components' );
78
+ return __( 'Has multiple images', 'jetpack-components' );
77
79
  case 'gridicons-image':
78
- return __( 'Has an image.', 'jetpack-components' );
80
+ return __( 'Has an image', 'jetpack-components' );
79
81
  case 'gridicons-page':
80
82
  return __( 'Page', 'jetpack-components' );
81
83
  case 'gridicons-post':
@@ -86,7 +88,7 @@ class Gridicon extends Component< GridiconProps > {
86
88
  case 'gridicons-tag':
87
89
  return __( 'Tag', 'jetpack-components' );
88
90
  case 'gridicons-video':
89
- return __( 'Has a video.', 'jetpack-components' );
91
+ return __( 'Has a video', 'jetpack-components' );
90
92
  }
91
93
  }
92
94
 
@@ -172,6 +174,12 @@ class Gridicon extends Component< GridiconProps > {
172
174
  <path d="M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z" />
173
175
  </g>
174
176
  );
177
+ case 'gridicons-domains':
178
+ return (
179
+ <g>
180
+ <path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm6.918 6h-3.215a49.088 49.088 0 00-.565-3.357A8.048 8.048 0 0118.918 8zm-5.904-3.928c.068.352.387 2.038.645 3.928h-3.318c.258-1.89.577-3.576.645-3.928C11.319 4.029 11.656 4 12 4s.681.029 1.014.072zM14 12c0 .598-.043 1.286-.109 2h-3.782c-.066-.714-.109-1.402-.109-2s.043-1.286.109-2h3.782c.066.714.109 1.402.109 2zM8.862 4.643A49.088 49.088 0 008.297 8H5.082a8.048 8.048 0 013.78-3.357zM4.263 10h3.821C8.033 10.668 8 11.344 8 12s.033 1.332.085 2H4.263C4.097 13.359 4 12.692 4 12s.098-1.359.263-2zm.819 6h3.215c.188 1.424.42 2.65.565 3.357A8.048 8.048 0 015.082 16zm5.904 3.928A77.282 77.282 0 0110.341 16h3.318a78.303 78.303 0 01-.645 3.928c-.333.043-.67.072-1.014.072s-.681-.029-1.014-.072zm4.152-.571c.145-.707.377-1.933.565-3.357h3.215a8.048 8.048 0 01-3.78 3.357zM19.737 14h-3.821c.051-.668.084-1.344.084-2s-.033-1.332-.085-2h3.821c.166.641.264 1.308.264 2s-.097 1.359-.263 2z" />
181
+ </g>
182
+ );
175
183
  case 'gridicons-filter':
176
184
  return (
177
185
  <g>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-components",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "description": "Jetpack Components Package",
5
5
  "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/components/#readme",
6
6
  "bugs": {
@@ -59,7 +59,7 @@
59
59
  "prop-types": "^15.7.2",
60
60
  "qrcode.react": "4.2.0",
61
61
  "react-slider": "2.0.5",
62
- "social-logos": "^3.3.1",
62
+ "social-logos": "^3.3.2",
63
63
  "uplot": "1.6.31",
64
64
  "uplot-react": "1.1.4"
65
65
  },