social-logos 3.1.15 → 3.1.17
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 +8 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [3.1.17] - 2025-01-09
|
|
2
|
+
### Fixed
|
|
3
|
+
- Removed .module entry for it being a commonjs package [#40867]
|
|
4
|
+
|
|
5
|
+
## [3.1.16] - 2025-01-06
|
|
6
|
+
### Changed
|
|
7
|
+
- Updated package dependencies. [#40796] [#40798] [#40831]
|
|
8
|
+
|
|
9
|
+
### Deprecated
|
|
10
|
+
- Default import is now deprecated in favor of named import and will be removed in future.
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Fixed package.json exports to expose built in types [#40801]
|
|
14
|
+
|
|
1
15
|
## [3.1.15] - 2024-12-16
|
|
2
16
|
### Changed
|
|
3
17
|
- Internal updates.
|
|
@@ -184,6 +198,8 @@
|
|
|
184
198
|
|
|
185
199
|
- Build: Refactored (aligned build system with Gridicons).
|
|
186
200
|
|
|
201
|
+
[3.1.17]: https://github.com/Automattic/social-logos/compare/v3.1.16...v3.1.17
|
|
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,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "social-logos",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.17",
|
|
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
|
+
"types": "build/react/index.d.ts",
|
|
9
11
|
"exports": {
|
|
10
12
|
".": "./build/react/index.js",
|
|
11
|
-
"./svg-sprite
|
|
13
|
+
"./svg-sprite/*": "./build/svg-sprite/social-logos.svg",
|
|
12
14
|
"./font/*": "./build/font/*"
|
|
13
15
|
},
|
|
14
16
|
"peerDependencies": {
|
|
@@ -27,11 +29,11 @@
|
|
|
27
29
|
"react-dom": "18.3.1"
|
|
28
30
|
},
|
|
29
31
|
"devDependencies": {
|
|
30
|
-
"@types/react": "18.3.
|
|
31
|
-
"@types/react-dom": "18.3.
|
|
32
|
-
"glob": "
|
|
32
|
+
"@types/react": "18.3.18",
|
|
33
|
+
"@types/react-dom": "18.3.5",
|
|
34
|
+
"glob": "11.0.0",
|
|
33
35
|
"svg2ttf": "^6.0.3",
|
|
34
|
-
"svgicons2svgfont": "^
|
|
36
|
+
"svgicons2svgfont": "^15.0.0",
|
|
35
37
|
"svgo": "^3.3.2",
|
|
36
38
|
"svgstore": "^3.0.1",
|
|
37
39
|
"typescript": "5.0.4",
|