social-logos 3.1.15 → 3.1.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 +16 -0
- package/README.md +1 -1
- package/build/react/index.d.ts +6 -1
- package/build/react/index.js +7 -3
- package/package.json +9 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [3.1.16] - 2025-01-06
|
|
2
|
+
### Changed
|
|
3
|
+
- Updated package dependencies. [#40796] [#40798] [#40831]
|
|
4
|
+
|
|
5
|
+
### Deprecated
|
|
6
|
+
- Default import is now deprecated in favor of named import and will be removed in future.
|
|
7
|
+
|
|
8
|
+
```diff
|
|
9
|
+
- import SocialLogos from 'social-logos';
|
|
10
|
+
+ import { SocialLogo } from 'social-logos';
|
|
11
|
+
``` [#40801]
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- Fixed package.json exports to expose built in types [#40801]
|
|
15
|
+
|
|
1
16
|
## [3.1.15] - 2024-12-16
|
|
2
17
|
### Changed
|
|
3
18
|
- Internal updates.
|
|
@@ -184,6 +199,7 @@
|
|
|
184
199
|
|
|
185
200
|
- Build: Refactored (aligned build system with Gridicons).
|
|
186
201
|
|
|
202
|
+
[3.1.16]: https://github.com/Automattic/social-logos/compare/v3.1.15...v3.1.16
|
|
187
203
|
[3.1.15]: https://github.com/Automattic/social-logos/compare/v3.1.14...v3.1.15
|
|
188
204
|
[3.1.14]: https://github.com/Automattic/social-logos/compare/v3.1.13...v3.1.14
|
|
189
205
|
[3.1.13]: https://github.com/Automattic/social-logos/compare/v3.1.12...v3.1.13
|
package/README.md
CHANGED
package/build/react/index.d.ts
CHANGED
|
@@ -2,5 +2,10 @@
|
|
|
2
2
|
* Export components.
|
|
3
3
|
*/
|
|
4
4
|
export * from './social-logo';
|
|
5
|
-
|
|
5
|
+
import { SocialLogo } from './social-logo';
|
|
6
6
|
export { SocialLogoData } from './social-logo-data';
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Use named import instead - `import { SocialLogo } from 'social-logos';`
|
|
9
|
+
*/
|
|
10
|
+
declare const DeprecatedDefaultImport: typeof SocialLogo;
|
|
11
|
+
export default DeprecatedDefaultImport;
|
package/build/react/index.js
CHANGED
|
@@ -14,12 +14,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.SocialLogoData =
|
|
17
|
+
exports.SocialLogoData = void 0;
|
|
18
18
|
/**
|
|
19
19
|
* Export components.
|
|
20
20
|
*/
|
|
21
21
|
__exportStar(require("./social-logo"), exports);
|
|
22
|
-
|
|
23
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return social_logo_1.SocialLogo; } });
|
|
22
|
+
const social_logo_1 = require("./social-logo");
|
|
24
23
|
var social_logo_data_1 = require("./social-logo-data");
|
|
25
24
|
Object.defineProperty(exports, "SocialLogoData", { enumerable: true, get: function () { return social_logo_data_1.SocialLogoData; } });
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Use named import instead - `import { SocialLogo } from 'social-logos';`
|
|
27
|
+
*/
|
|
28
|
+
const DeprecatedDefaultImport = social_logo_1.SocialLogo;
|
|
29
|
+
exports.default = DeprecatedDefaultImport;
|
package/package.json
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "social-logos",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.16",
|
|
4
4
|
"description": "A repository of all the social logos used on WordPress.com.",
|
|
5
5
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/social-logos/",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/Automattic/jetpack/labels/[JS Package] Social Logos"
|
|
8
8
|
},
|
|
9
|
+
"main": "build/react/index.js",
|
|
10
|
+
"module": "build/react/index.js",
|
|
11
|
+
"types": "build/react/index.d.ts",
|
|
9
12
|
"exports": {
|
|
10
13
|
".": "./build/react/index.js",
|
|
11
|
-
"./svg-sprite
|
|
14
|
+
"./svg-sprite/*": "./build/svg-sprite/*",
|
|
12
15
|
"./font/*": "./build/font/*"
|
|
13
16
|
},
|
|
14
17
|
"peerDependencies": {
|
|
@@ -27,11 +30,11 @@
|
|
|
27
30
|
"react-dom": "18.3.1"
|
|
28
31
|
},
|
|
29
32
|
"devDependencies": {
|
|
30
|
-
"@types/react": "18.3.
|
|
31
|
-
"@types/react-dom": "18.3.
|
|
32
|
-
"glob": "
|
|
33
|
+
"@types/react": "18.3.18",
|
|
34
|
+
"@types/react-dom": "18.3.5",
|
|
35
|
+
"glob": "11.0.0",
|
|
33
36
|
"svg2ttf": "^6.0.3",
|
|
34
|
-
"svgicons2svgfont": "^
|
|
37
|
+
"svgicons2svgfont": "^15.0.0",
|
|
35
38
|
"svgo": "^3.3.2",
|
|
36
39
|
"svgstore": "^3.0.1",
|
|
37
40
|
"typescript": "5.0.4",
|