monto-email-block-socials 0.0.1 → 0.0.2
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.
|
@@ -94,23 +94,23 @@ export const SocialsPropsDefaults = {
|
|
|
94
94
|
// };
|
|
95
95
|
// 导入所有文件夹的 base64 数据
|
|
96
96
|
// @ts-ignore
|
|
97
|
-
import { iconBase64Map as circularDarkMap } from '
|
|
97
|
+
import { iconBase64Map as circularDarkMap } from './png/circular-dark/index';
|
|
98
98
|
// @ts-ignore
|
|
99
|
-
import { iconBase64Map as circularDynamicColorMap } from '
|
|
99
|
+
import { iconBase64Map as circularDynamicColorMap } from './png/circular-dynamic-color/index';
|
|
100
100
|
// @ts-ignore
|
|
101
|
-
import { iconBase64Map as circularLightMap } from '
|
|
101
|
+
import { iconBase64Map as circularLightMap } from './png/circular-light/index';
|
|
102
102
|
// @ts-ignore
|
|
103
|
-
import { iconBase64Map as circularOutlineColorMap } from '
|
|
103
|
+
import { iconBase64Map as circularOutlineColorMap } from './png/circular-outline-color/index';
|
|
104
104
|
// @ts-ignore
|
|
105
|
-
import { iconBase64Map as circularOutlineDarkMap } from '
|
|
105
|
+
import { iconBase64Map as circularOutlineDarkMap } from './png/circular-outline-dark/index';
|
|
106
106
|
// @ts-ignore
|
|
107
|
-
import { iconBase64Map as circularOutlineLightMap } from '
|
|
107
|
+
import { iconBase64Map as circularOutlineLightMap } from './png/circular-outline-light/index';
|
|
108
108
|
// @ts-ignore
|
|
109
|
-
import { iconBase64Map as glyphDarkMap } from '
|
|
109
|
+
import { iconBase64Map as glyphDarkMap } from './png/glyph-dark/index';
|
|
110
110
|
// @ts-ignore
|
|
111
|
-
import { iconBase64Map as glyphLightMap } from '
|
|
111
|
+
import { iconBase64Map as glyphLightMap } from './png/glyph-light/index';
|
|
112
112
|
// @ts-ignore
|
|
113
|
-
import { iconBase64Map as standardMap } from '
|
|
113
|
+
import { iconBase64Map as standardMap } from './png/standard/index';
|
|
114
114
|
// 映射图标样式到 base64 数据
|
|
115
115
|
const iconStyleToBase64Map = {
|
|
116
116
|
'no-border-black': glyphDarkMap, // 根据 ICON_STYLE_TO_DIR 映射
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monto-email-block-socials",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "monto-email compatible socials component.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "npx tsc",
|
|
19
|
+
"build": "npx tsc && mv dist/src/index.js dist/index.js && mv dist/src/index.d.ts dist/index.d.ts && mv dist/src/index.js.map dist/index.js.map 2>/dev/null || true && mv dist/src/index.d.ts.map dist/index.d.ts.map 2>/dev/null || true && rm -rf dist/src && sed -i '' 's|\\.\\./png/|\\./png/|g' dist/index.js",
|
|
20
20
|
"prepublishOnly": "npm run build",
|
|
21
21
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
22
22
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|