@automattic/launchpad 1.1.4 → 1.1.5

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/checklist-item/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,cAAc,CAAC;AAEtB,UAAU,KAAK;IACd,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,IAAI,EAAE,IAAI,CAAC;IACX,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,aAAa,EAAE,EAAE,CAAE,KAAK,CA+H7B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,EAQzB,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/checklist-item/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,cAAc,CAAC;AAEtB,UAAU,KAAK;IACd,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,IAAI,EAAE,IAAI,CAAC;IACX,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,aAAa,EAAE,EAAE,CAAE,KAAK,CA8I7B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,EAQzB,CAAC;AAEF,eAAe,aAAa,CAAC"}
package/jest.config.js CHANGED
@@ -1,5 +1,4 @@
1
1
  module.exports = {
2
2
  preset: '../../test/packages/jest-preset.js',
3
3
  testEnvironment: 'jsdom',
4
- transformIgnorePatterns: [ 'node_modules/(?!gridicons)(?!.*\\.svg)' ],
5
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/launchpad",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Launchpad components.",
5
5
  "homepage": "https://github.com/Automattic/wp-calypso",
6
6
  "license": "GPL-2.0-or-later",
@@ -40,12 +40,12 @@
40
40
  "dependencies": {
41
41
  "@automattic/calypso-analytics": "^1.1.3",
42
42
  "@automattic/calypso-config": "^1.0.0-alpha.0",
43
- "@automattic/components": "^3.0.0",
43
+ "@automattic/components": "^3.0.2",
44
44
  "@automattic/data-stores": "^3.1.2",
45
45
  "@automattic/i18n-utils": "^1.2.3",
46
46
  "@automattic/typography": "^1.0.0",
47
47
  "@automattic/viewport": "^1.1.0",
48
- "@tanstack/react-query": "^5.15.5",
48
+ "@tanstack/react-query": "^5.83.0",
49
49
  "@wordpress/base-styles": "^5.23.0",
50
50
  "@wordpress/components": "^29.9.0",
51
51
  "@wordpress/icons": "^10.23.0",
@@ -60,23 +60,38 @@ const ChecklistItem: FC< Props > = ( {
60
60
  const taskTitle = typeof title === 'string' ? title : String( title );
61
61
 
62
62
  if ( completed ) {
63
- /* translators: %s: Task title */
64
- return sprintf( __( 'Completed: %s', 'launchpad' ), taskTitle );
63
+ return sprintf(
64
+ /* translators: %s: Task title */
65
+ __( 'Completed: %s', 'launchpad' ),
66
+ taskTitle
67
+ );
65
68
  }
66
69
  if ( disabled ) {
67
- /* translators: %s: Task title */
68
- return sprintf( __( 'Not available yet: %s', 'launchpad' ), taskTitle );
70
+ return sprintf(
71
+ /* translators: %s: Task title */
72
+ __( 'Not available yet: %s', 'launchpad' ),
73
+ taskTitle
74
+ );
69
75
  }
70
76
  if ( isClickable ) {
71
77
  if ( isPrimaryAction ) {
72
- /* translators: %s: Task title */
73
- return sprintf( __( 'Start task: %s', 'launchpad' ), taskTitle );
78
+ return sprintf(
79
+ /* translators: %s: Task title */
80
+ __( 'Start task: %s', 'launchpad' ),
81
+ taskTitle
82
+ );
74
83
  }
75
- /* translators: %s: Task title in lowercase */
76
- return sprintf( __( 'Select to %s', 'launchpad' ), taskTitle.toLowerCase() );
84
+ return sprintf(
85
+ /* translators: %s: Task title in lowercase */
86
+ __( 'Select to %s', 'launchpad' ),
87
+ taskTitle.toLowerCase()
88
+ );
77
89
  }
78
- /* translators: %s: Task title */
79
- return sprintf( __( 'To do: %s', 'launchpad' ), taskTitle );
90
+ return sprintf(
91
+ /* translators: %s: Task title */
92
+ __( 'To do: %s', 'launchpad' ),
93
+ taskTitle
94
+ );
80
95
  };
81
96
 
82
97
  return (