@automattic/jetpack-connection 0.33.12 → 0.33.14
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,14 @@
|
|
|
2
2
|
|
|
3
3
|
### This is a list detailing changes for the Jetpack RNA Connection Component releases.
|
|
4
4
|
|
|
5
|
+
## [0.33.14] - 2024-06-10
|
|
6
|
+
### Changed
|
|
7
|
+
- Change codebase to use clsx instead of classnames. [#37708]
|
|
8
|
+
|
|
9
|
+
## [0.33.13] - 2024-06-05
|
|
10
|
+
### Changed
|
|
11
|
+
- Updated package dependencies. [#37669]
|
|
12
|
+
|
|
5
13
|
## [0.33.12] - 2024-06-03
|
|
6
14
|
### Changed
|
|
7
15
|
- Connection: Update connection ToS messaging. [#37536]
|
|
@@ -769,6 +777,8 @@
|
|
|
769
777
|
- `Main` and `ConnectUser` components added.
|
|
770
778
|
- `JetpackRestApiClient` API client added.
|
|
771
779
|
|
|
780
|
+
[0.33.14]: https://github.com/Automattic/jetpack-connection-js/compare/v0.33.13...v0.33.14
|
|
781
|
+
[0.33.13]: https://github.com/Automattic/jetpack-connection-js/compare/v0.33.12...v0.33.13
|
|
772
782
|
[0.33.12]: https://github.com/Automattic/jetpack-connection-js/compare/v0.33.11...v0.33.12
|
|
773
783
|
[0.33.11]: https://github.com/Automattic/jetpack-connection-js/compare/v0.33.10...v0.33.11
|
|
774
784
|
[0.33.10]: https://github.com/Automattic/jetpack-connection-js/compare/v0.33.9...v0.33.10
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JetpackLogo } from '@automattic/jetpack-components';
|
|
2
|
-
import
|
|
2
|
+
import clsx from 'clsx';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import ImageSlider from './image-slider';
|
|
5
5
|
import type { Props as ConnectScreenProps } from '../basic';
|
|
@@ -35,7 +35,7 @@ const ConnectScreenLayout: React.FC< Props > = ( {
|
|
|
35
35
|
|
|
36
36
|
return (
|
|
37
37
|
<div
|
|
38
|
-
className={
|
|
38
|
+
className={ clsx(
|
|
39
39
|
'jp-connection__connect-screen-layout',
|
|
40
40
|
showImageSlider ? 'jp-connection__connect-screen-layout__two-columns' : '',
|
|
41
41
|
className ? ' ' + className : ''
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from '@automattic/jetpack-components';
|
|
7
7
|
import { createInterpolateElement } from '@wordpress/element';
|
|
8
8
|
import { __ } from '@wordpress/i18n';
|
|
9
|
-
import
|
|
9
|
+
import clsx from 'clsx';
|
|
10
10
|
import debugFactory from 'debug';
|
|
11
11
|
import PropTypes from 'prop-types';
|
|
12
12
|
import React from 'react';
|
|
@@ -70,7 +70,7 @@ const ConnectScreenRequiredPlanVisual = props => {
|
|
|
70
70
|
return (
|
|
71
71
|
<ConnectScreenLayout
|
|
72
72
|
title={ title }
|
|
73
|
-
className={
|
|
73
|
+
className={ clsx(
|
|
74
74
|
'jp-connection__connect-screen-required-plan',
|
|
75
75
|
isLoading ? 'jp-connection__connect-screen-required-plan__loading' : '',
|
|
76
76
|
rna ? 'rna' : ''
|
|
@@ -6,7 +6,7 @@ import { ExternalLink, Modal } from '@wordpress/components';
|
|
|
6
6
|
import { createInterpolateElement } from '@wordpress/element';
|
|
7
7
|
import { __ } from '@wordpress/i18n';
|
|
8
8
|
import { Icon, chevronRight, external } from '@wordpress/icons';
|
|
9
|
-
import
|
|
9
|
+
import clsx from 'clsx';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import React, { useCallback, useState } from 'react';
|
|
12
12
|
/**
|
|
@@ -123,10 +123,7 @@ const ManageConnectionActionCard = ( { title, onClick = () => null, link = '#',
|
|
|
123
123
|
<div className="jp-connection__manage-dialog__action-card__card-content">
|
|
124
124
|
<a
|
|
125
125
|
href={ link }
|
|
126
|
-
className={
|
|
127
|
-
'jp-connection__manage-dialog__action-card__card-headline',
|
|
128
|
-
action
|
|
129
|
-
) }
|
|
126
|
+
className={ clsx( 'jp-connection__manage-dialog__action-card__card-headline', action ) }
|
|
130
127
|
onClick={ onClick }
|
|
131
128
|
>
|
|
132
129
|
{ title }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-connection",
|
|
3
|
-
"version": "0.33.
|
|
3
|
+
"version": "0.33.14",
|
|
4
4
|
"description": "Jetpack Connection Component",
|
|
5
5
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/connection/#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
"license": "GPL-2.0-or-later",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@automattic/jetpack-analytics": "^0.1.29",
|
|
18
|
-
"@automattic/jetpack-api": "^0.17.
|
|
19
|
-
"@automattic/jetpack-components": "^0.53.
|
|
18
|
+
"@automattic/jetpack-api": "^0.17.8",
|
|
19
|
+
"@automattic/jetpack-components": "^0.53.8",
|
|
20
20
|
"@automattic/jetpack-config": "^0.1.24",
|
|
21
|
-
"@wordpress/base-styles": "
|
|
22
|
-
"@wordpress/browserslist-config": "
|
|
23
|
-
"@wordpress/components": "
|
|
24
|
-
"@wordpress/data": "
|
|
25
|
-
"@wordpress/element": "
|
|
26
|
-
"@wordpress/i18n": "
|
|
27
|
-
"@wordpress/icons": "
|
|
28
|
-
"
|
|
21
|
+
"@wordpress/base-styles": "5.0.0",
|
|
22
|
+
"@wordpress/browserslist-config": "6.0.0",
|
|
23
|
+
"@wordpress/components": "28.0.0",
|
|
24
|
+
"@wordpress/data": "10.0.0",
|
|
25
|
+
"@wordpress/element": "6.0.0",
|
|
26
|
+
"@wordpress/i18n": "5.0.0",
|
|
27
|
+
"@wordpress/icons": "10.0.0",
|
|
28
|
+
"clsx": "2.1.1",
|
|
29
29
|
"debug": "4.3.4",
|
|
30
30
|
"prop-types": "^15.7.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@automattic/jetpack-base-styles": "^0.6.
|
|
33
|
+
"@automattic/jetpack-base-styles": "^0.6.26",
|
|
34
34
|
"@babel/core": "7.24.0",
|
|
35
35
|
"@babel/preset-react": "7.23.3",
|
|
36
36
|
"@storybook/addon-actions": "8.0.9",
|