@automattic/jetpack-components 1.12.14 → 1.12.16
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 +11 -0
- package/build/components/admin-page/style.module.scss +2 -2
- package/build/components/icons/index.d.ts +1 -0
- package/build/components/icons/index.js +1 -0
- package/build/components/icons/style.module.scss +12 -12
- package/build/components/jetpack-footer/style.scss +2 -2
- package/build/components/pricing-table/styles.module.scss +1 -7
- package/build/components/status/index.d.ts +1 -1
- package/build/components/status/index.js +1 -1
- package/components/admin-page/style.module.scss +2 -2
- package/components/icons/index.tsx +1 -0
- package/components/icons/style.module.scss +12 -12
- package/components/jetpack-footer/style.scss +2 -2
- package/components/pricing-table/styles.module.scss +1 -7
- package/components/status/index.tsx +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
### This is a list detailing changes for the Jetpack RNA Components package releases.
|
|
4
4
|
|
|
5
|
+
## [1.12.16] - 2026-07-13
|
|
6
|
+
### Fixed
|
|
7
|
+
- Pricing table: Align the highlighted column's gradient background to the right edge of the card. [#50346]
|
|
8
|
+
|
|
9
|
+
## [1.12.15] - 2026-07-09
|
|
10
|
+
### Changed
|
|
11
|
+
- Update package dependencies. [#49272]
|
|
12
|
+
- Update WPDS design tokens to the @wordpress/theme 0.16/0.17 names (see https://github.com/WordPress/gutenberg/blob/trunk/packages/theme/CHANGELOG.md#0160-2026-06-24 ). [#49272]
|
|
13
|
+
|
|
5
14
|
## [1.12.14] - 2026-07-06
|
|
6
15
|
### Changed
|
|
7
16
|
- Update package dependencies. [#50097] [#50183] [#50212]
|
|
@@ -1868,6 +1877,8 @@
|
|
|
1868
1877
|
### Changed
|
|
1869
1878
|
- Update node version requirement to 14.16.1
|
|
1870
1879
|
|
|
1880
|
+
[1.12.16]: https://github.com/Automattic/jetpack-components/compare/1.12.15...1.12.16
|
|
1881
|
+
[1.12.15]: https://github.com/Automattic/jetpack-components/compare/1.12.14...1.12.15
|
|
1871
1882
|
[1.12.14]: https://github.com/Automattic/jetpack-components/compare/1.12.13...1.12.14
|
|
1872
1883
|
[1.12.13]: https://github.com/Automattic/jetpack-components/compare/1.12.12...1.12.13
|
|
1873
1884
|
[1.12.12]: https://github.com/Automattic/jetpack-components/compare/1.12.11...1.12.12
|
|
@@ -105,9 +105,9 @@
|
|
|
105
105
|
// We override only the bits that need to differ from those defaults.
|
|
106
106
|
float: none;
|
|
107
107
|
text-align: right;
|
|
108
|
-
background: var(--wpds-color-
|
|
108
|
+
background: var(--wpds-color-background-surface-neutral-strong, #fff);
|
|
109
109
|
font-style: italic;
|
|
110
|
-
color: var(--wpds-color-
|
|
110
|
+
color: var(--wpds-color-foreground-content-neutral-weak, #87a6bc);
|
|
111
111
|
border-bottom: none;
|
|
112
112
|
|
|
113
113
|
@media (max-width: 659px) {
|
|
@@ -2,6 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Path, SVG, G, Polygon } from '@wordpress/components';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { SocialLogo } from 'social-logos';
|
|
5
|
+
import 'social-logos/colors.css';
|
|
5
6
|
import styles from './style.module.scss';
|
|
6
7
|
/**
|
|
7
8
|
* Icon Wrapper component.
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
fill: gb.$gray-700;
|
|
14
14
|
|
|
15
15
|
&.bluesky {
|
|
16
|
-
fill: var(--color-bluesky);
|
|
16
|
+
fill: var(--jetpack-social-logo-color-bluesky);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
&.facebook {
|
|
20
|
-
fill: var(--color-facebook);
|
|
20
|
+
fill: var(--jetpack-social-logo-color-facebook);
|
|
21
21
|
// Add some specificity to override the border-radius on Jetpack settings page
|
|
22
22
|
&:global(.social-logo) {
|
|
23
23
|
border-radius: 50%;
|
|
@@ -25,27 +25,27 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&.twitter {
|
|
28
|
-
fill: var(--color-twitter);
|
|
28
|
+
fill: var(--jetpack-social-logo-color-twitter);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&.linkedin {
|
|
32
|
-
fill: var(--color-linkedin);
|
|
32
|
+
fill: var(--jetpack-social-logo-color-linkedin);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
&.tumblr {
|
|
36
|
-
fill: var(--color-tumblr);
|
|
36
|
+
fill: var(--jetpack-social-logo-color-tumblr);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
&.google {
|
|
40
|
-
fill: var(--color-
|
|
40
|
+
fill: var(--jetpack-social-logo-color-google-plus);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
&.mastodon {
|
|
44
|
-
fill: var(--color-mastodon);
|
|
44
|
+
fill: var(--jetpack-social-logo-color-mastodon);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
&.nextdoor {
|
|
48
|
-
fill: var(--color-nextdoor);
|
|
48
|
+
fill: var(--jetpack-social-logo-color-nextdoor);
|
|
49
49
|
// Add some specificity to override the border-radius on Jetpack settings page
|
|
50
50
|
&:global(.social-logo) {
|
|
51
51
|
border-radius: 50%;
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&.instagram {
|
|
56
|
-
fill: var(--color-instagram);
|
|
56
|
+
fill: var(--jetpack-social-logo-color-instagram);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
&.whatsapp {
|
|
60
|
-
fill: var(--color-whatsapp);
|
|
60
|
+
fill: var(--jetpack-social-logo-color-whatsapp);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
&.threads {
|
|
64
|
-
fill: var(--color-threads);
|
|
64
|
+
fill: var(--jetpack-social-logo-color-threads);
|
|
65
65
|
|
|
66
66
|
&:global(.social-logo) {
|
|
67
67
|
border-radius: 40%;
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&.x {
|
|
72
|
-
fill: var(--color-x);
|
|
72
|
+
fill: var(--jetpack-social-logo-color-x);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
&:any-link,
|
|
14
14
|
&[role="button"] {
|
|
15
|
-
color: var(--wpds-color-
|
|
15
|
+
color: var(--wpds-color-foreground-interactive-neutral-weak);
|
|
16
16
|
cursor: pointer;
|
|
17
17
|
text-decoration: none;
|
|
18
18
|
}
|
|
@@ -44,6 +44,6 @@ a.jetpack-footer__a8c {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
svg {
|
|
47
|
-
fill: var(--wpds-color-
|
|
47
|
+
fill: var(--wpds-color-foreground-interactive-neutral-weak);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
|
|
2
|
-
|
|
3
1
|
.container {
|
|
4
2
|
--padding: calc(var(--spacing-base) * 4);
|
|
5
3
|
--padding-horizontal: calc(var(--spacing-base) * 3);
|
|
@@ -98,11 +96,7 @@
|
|
|
98
96
|
background-image: url(./gradient.svg);
|
|
99
97
|
background-repeat: no-repeat;
|
|
100
98
|
background-size: 450px;
|
|
101
|
-
background-position-x:
|
|
102
|
-
|
|
103
|
-
@media (max-width: gb.$break-large) {
|
|
104
|
-
background-position-x: right;
|
|
105
|
-
}
|
|
99
|
+
background-position-x: right;
|
|
106
100
|
}
|
|
107
101
|
|
|
108
102
|
> :last-child {
|
|
@@ -7,7 +7,7 @@ export interface StatusProps {
|
|
|
7
7
|
/**
|
|
8
8
|
* Status component.
|
|
9
9
|
*
|
|
10
|
-
* @deprecated Inline the equivalent JSX using `Text` from `@wordpress/ui` and a small color-coded indicator span. The wrapper renders a flex container at `body-sm` size with `font-weight: 600` and a `0.666em` round indicator coloured by status using WPDS design tokens (`var(--wpds-color-
|
|
10
|
+
* @deprecated Inline the equivalent JSX using `Text` from `@wordpress/ui` and a small color-coded indicator span. The wrapper renders a flex container at `body-sm` size with `font-weight: 600` and a `0.666em` round indicator coloured by status using WPDS design tokens (`var(--wpds-color-foreground-content-success-weak)` for `active`, `--wpds-color-foreground-content-error-weak` for `error`, `--wpds-color-foreground-content-neutral-weak` for `inactive`, `--wpds-color-foreground-content-warning-weak` for `action`, `--wpds-color-foreground-content-info-weak` for `initializing`). Include a fallback hex for surfaces that don't load `@wordpress/theme/design-tokens.css` (e.g. the legacy Jetpack settings dashboard).
|
|
11
11
|
*
|
|
12
12
|
* @param {StatusProps} props - The component properties.
|
|
13
13
|
* @param {string} props.className - Optional className forwarded to the outer element.
|
|
@@ -6,7 +6,7 @@ import styles from './style.module.scss';
|
|
|
6
6
|
/**
|
|
7
7
|
* Status component.
|
|
8
8
|
*
|
|
9
|
-
* @deprecated Inline the equivalent JSX using `Text` from `@wordpress/ui` and a small color-coded indicator span. The wrapper renders a flex container at `body-sm` size with `font-weight: 600` and a `0.666em` round indicator coloured by status using WPDS design tokens (`var(--wpds-color-
|
|
9
|
+
* @deprecated Inline the equivalent JSX using `Text` from `@wordpress/ui` and a small color-coded indicator span. The wrapper renders a flex container at `body-sm` size with `font-weight: 600` and a `0.666em` round indicator coloured by status using WPDS design tokens (`var(--wpds-color-foreground-content-success-weak)` for `active`, `--wpds-color-foreground-content-error-weak` for `error`, `--wpds-color-foreground-content-neutral-weak` for `inactive`, `--wpds-color-foreground-content-warning-weak` for `action`, `--wpds-color-foreground-content-info-weak` for `initializing`). Include a fallback hex for surfaces that don't load `@wordpress/theme/design-tokens.css` (e.g. the legacy Jetpack settings dashboard).
|
|
10
10
|
*
|
|
11
11
|
* @param {StatusProps} props - The component properties.
|
|
12
12
|
* @param {string} props.className - Optional className forwarded to the outer element.
|
|
@@ -105,9 +105,9 @@
|
|
|
105
105
|
// We override only the bits that need to differ from those defaults.
|
|
106
106
|
float: none;
|
|
107
107
|
text-align: right;
|
|
108
|
-
background: var(--wpds-color-
|
|
108
|
+
background: var(--wpds-color-background-surface-neutral-strong, #fff);
|
|
109
109
|
font-style: italic;
|
|
110
|
-
color: var(--wpds-color-
|
|
110
|
+
color: var(--wpds-color-foreground-content-neutral-weak, #87a6bc);
|
|
111
111
|
border-bottom: none;
|
|
112
112
|
|
|
113
113
|
@media (max-width: 659px) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Path, SVG, G, Polygon } from '@wordpress/components';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { SocialLogo } from 'social-logos';
|
|
4
|
+
import 'social-logos/colors.css';
|
|
4
5
|
import styles from './style.module.scss';
|
|
5
6
|
import { BaseIconProps } from './types.ts';
|
|
6
7
|
import type { ComponentProps, ComponentType, FC, ReactNode } from 'react';
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
fill: gb.$gray-700;
|
|
14
14
|
|
|
15
15
|
&.bluesky {
|
|
16
|
-
fill: var(--color-bluesky);
|
|
16
|
+
fill: var(--jetpack-social-logo-color-bluesky);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
&.facebook {
|
|
20
|
-
fill: var(--color-facebook);
|
|
20
|
+
fill: var(--jetpack-social-logo-color-facebook);
|
|
21
21
|
// Add some specificity to override the border-radius on Jetpack settings page
|
|
22
22
|
&:global(.social-logo) {
|
|
23
23
|
border-radius: 50%;
|
|
@@ -25,27 +25,27 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&.twitter {
|
|
28
|
-
fill: var(--color-twitter);
|
|
28
|
+
fill: var(--jetpack-social-logo-color-twitter);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&.linkedin {
|
|
32
|
-
fill: var(--color-linkedin);
|
|
32
|
+
fill: var(--jetpack-social-logo-color-linkedin);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
&.tumblr {
|
|
36
|
-
fill: var(--color-tumblr);
|
|
36
|
+
fill: var(--jetpack-social-logo-color-tumblr);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
&.google {
|
|
40
|
-
fill: var(--color-
|
|
40
|
+
fill: var(--jetpack-social-logo-color-google-plus);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
&.mastodon {
|
|
44
|
-
fill: var(--color-mastodon);
|
|
44
|
+
fill: var(--jetpack-social-logo-color-mastodon);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
&.nextdoor {
|
|
48
|
-
fill: var(--color-nextdoor);
|
|
48
|
+
fill: var(--jetpack-social-logo-color-nextdoor);
|
|
49
49
|
// Add some specificity to override the border-radius on Jetpack settings page
|
|
50
50
|
&:global(.social-logo) {
|
|
51
51
|
border-radius: 50%;
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&.instagram {
|
|
56
|
-
fill: var(--color-instagram);
|
|
56
|
+
fill: var(--jetpack-social-logo-color-instagram);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
&.whatsapp {
|
|
60
|
-
fill: var(--color-whatsapp);
|
|
60
|
+
fill: var(--jetpack-social-logo-color-whatsapp);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
&.threads {
|
|
64
|
-
fill: var(--color-threads);
|
|
64
|
+
fill: var(--jetpack-social-logo-color-threads);
|
|
65
65
|
|
|
66
66
|
&:global(.social-logo) {
|
|
67
67
|
border-radius: 40%;
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&.x {
|
|
72
|
-
fill: var(--color-x);
|
|
72
|
+
fill: var(--jetpack-social-logo-color-x);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
&:any-link,
|
|
14
14
|
&[role="button"] {
|
|
15
|
-
color: var(--wpds-color-
|
|
15
|
+
color: var(--wpds-color-foreground-interactive-neutral-weak);
|
|
16
16
|
cursor: pointer;
|
|
17
17
|
text-decoration: none;
|
|
18
18
|
}
|
|
@@ -44,6 +44,6 @@ a.jetpack-footer__a8c {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
svg {
|
|
47
|
-
fill: var(--wpds-color-
|
|
47
|
+
fill: var(--wpds-color-foreground-interactive-neutral-weak);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
|
|
2
|
-
|
|
3
1
|
.container {
|
|
4
2
|
--padding: calc(var(--spacing-base) * 4);
|
|
5
3
|
--padding-horizontal: calc(var(--spacing-base) * 3);
|
|
@@ -98,11 +96,7 @@
|
|
|
98
96
|
background-image: url(./gradient.svg);
|
|
99
97
|
background-repeat: no-repeat;
|
|
100
98
|
background-size: 450px;
|
|
101
|
-
background-position-x:
|
|
102
|
-
|
|
103
|
-
@media (max-width: gb.$break-large) {
|
|
104
|
-
background-position-x: right;
|
|
105
|
-
}
|
|
99
|
+
background-position-x: right;
|
|
106
100
|
}
|
|
107
101
|
|
|
108
102
|
> :last-child {
|
|
@@ -13,7 +13,7 @@ export interface StatusProps {
|
|
|
13
13
|
/**
|
|
14
14
|
* Status component.
|
|
15
15
|
*
|
|
16
|
-
* @deprecated Inline the equivalent JSX using `Text` from `@wordpress/ui` and a small color-coded indicator span. The wrapper renders a flex container at `body-sm` size with `font-weight: 600` and a `0.666em` round indicator coloured by status using WPDS design tokens (`var(--wpds-color-
|
|
16
|
+
* @deprecated Inline the equivalent JSX using `Text` from `@wordpress/ui` and a small color-coded indicator span. The wrapper renders a flex container at `body-sm` size with `font-weight: 600` and a `0.666em` round indicator coloured by status using WPDS design tokens (`var(--wpds-color-foreground-content-success-weak)` for `active`, `--wpds-color-foreground-content-error-weak` for `error`, `--wpds-color-foreground-content-neutral-weak` for `inactive`, `--wpds-color-foreground-content-warning-weak` for `action`, `--wpds-color-foreground-content-info-weak` for `initializing`). Include a fallback hex for surfaces that don't load `@wordpress/theme/design-tokens.css` (e.g. the legacy Jetpack settings dashboard).
|
|
17
17
|
*
|
|
18
18
|
* @param {StatusProps} props - The component properties.
|
|
19
19
|
* @param {string} props.className - Optional className forwarded to the outer element.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-components",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.16",
|
|
4
4
|
"description": "Jetpack Components Package",
|
|
5
5
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/components/#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -74,12 +74,12 @@
|
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@automattic/format-currency": "1.0.1",
|
|
76
76
|
"@automattic/jetpack-api": "^1.0.31",
|
|
77
|
-
"@automattic/jetpack-boost-score-api": "^1.0.
|
|
77
|
+
"@automattic/jetpack-boost-score-api": "^1.0.54",
|
|
78
78
|
"@automattic/jetpack-script-data": "^0.6.5",
|
|
79
|
-
"@automattic/number-formatters": "^1.2.
|
|
79
|
+
"@automattic/number-formatters": "^1.2.6",
|
|
80
80
|
"@babel/runtime": "^7",
|
|
81
81
|
"@gravatar-com/hovercards": "0.16.0",
|
|
82
|
-
"@wordpress/admin-ui": "2.
|
|
82
|
+
"@wordpress/admin-ui": "2.5.0",
|
|
83
83
|
"@wordpress/browserslist-config": "6.50.0",
|
|
84
84
|
"@wordpress/components": "36.1.0",
|
|
85
85
|
"@wordpress/compose": "8.3.0",
|
|
@@ -87,21 +87,21 @@
|
|
|
87
87
|
"@wordpress/date": "5.50.0",
|
|
88
88
|
"@wordpress/element": "8.2.0",
|
|
89
89
|
"@wordpress/i18n": "6.23.0",
|
|
90
|
-
"@wordpress/icons": "
|
|
90
|
+
"@wordpress/icons": "15.1.0",
|
|
91
91
|
"@wordpress/notices": "5.50.0",
|
|
92
|
-
"@wordpress/theme": "0.
|
|
93
|
-
"@wordpress/ui": "0.
|
|
92
|
+
"@wordpress/theme": "0.17.0",
|
|
93
|
+
"@wordpress/ui": "0.17.0",
|
|
94
94
|
"clsx": "2.1.1",
|
|
95
95
|
"js-sha256": "0.11.1",
|
|
96
96
|
"prop-types": "^15.7.2",
|
|
97
97
|
"qrcode.react": "4.2.0",
|
|
98
98
|
"react-slider": "2.0.5",
|
|
99
|
-
"social-logos": "^3.3.
|
|
99
|
+
"social-logos": "^3.3.17",
|
|
100
100
|
"uplot": "1.6.31",
|
|
101
101
|
"uplot-react": "1.1.4"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@automattic/jetpack-base-styles": "^1.2.
|
|
104
|
+
"@automattic/jetpack-base-styles": "^1.2.9",
|
|
105
105
|
"@babel/core": "7.29.7",
|
|
106
106
|
"@jest/globals": "30.4.1",
|
|
107
107
|
"@storybook/addon-docs": "10.4.6",
|