Skip to content

Commit

Permalink
Revert "chore(build): JSDoc svg to png base64" (#656)
Browse files Browse the repository at this point in the history
This reverts commit e2b1dd6.
  • Loading branch information
afc163 authored Jul 21, 2024
1 parent e2b1dd6 commit 5261ad0
Show file tree
Hide file tree
Showing 833 changed files with 836 additions and 848 deletions.
1 change: 0 additions & 1 deletion packages/icons-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
"react-dom": "^16.4.2",
"rimraf": "^3.0.0",
"styled-components": "^3.3.3",
"svg2png-wasm": "^1.4.1",
"ts-node": "^8.0.0",
"typescript": "^5.0.0"
},
Expand Down
21 changes: 5 additions & 16 deletions packages/icons-react/scripts/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ import { promisify } from 'util';
// eslint-disable-next-line import/no-extraneous-dependencies
import { template, isNil } from 'lodash';
import pkgDir from 'pkg-dir';
import { svg2png, initialize } from 'svg2png-wasm';

const writeFile = promisify(fs.writeFile);
const svg2pngWasmBgPath = path.resolve(__dirname, '../node_modules/svg2png-wasm/svg2png_wasm_bg.wasm');

interface IconDefinitionWithIdentifier extends IconDefinition {
svgIdentifier: string;
Expand All @@ -32,41 +30,32 @@ function detectRealPath(icon: IconDefinition) {
}
}

async function svg2base64(svgPath: string, size = 50) {
function svg2base64(svgPath: string, size = 50) {
const svg = fs.readFileSync(svgPath, 'utf-8');
const svgWithStyle = svg
.replace(/<svg/, `<svg width="${size}" height="${size}" fill="#cacaca"`)
// https://github.com/ant-design/ant-design-icons/blob/a02cbf8/packages/icons-svg/templates/helpers.ts#L3-L6
.replace(/\#333/g, '#1677ff')
.replace(/\#E6E6E6/ig, '#e6f4ff');

await initialize(fs.readFileSync(svg2pngWasmBgPath));
const png = await svg2png(
svgWithStyle,
{
width: size, // optional
height: size, // optional
backgroundColor: 'transparent'
},
);

return `data:image/png;base64,${Buffer.from(png).toString('base64')}`
const base64 = Buffer.from(svgWithStyle).toString('base64');
return `data:image/svg+xml;base64,${base64}`;
}

function walk<T>(
fn: (iconDef: IconDefinitionWithIdentifier) => Promise<T>,
) {
return Promise.all(
Object.keys(allIconDefs)
.map(async (svgIdentifier) => {
.map(svgIdentifier => {
const iconDef = (allIconDefs as { [id: string]: IconDefinition })[
svgIdentifier
];

const realSvgPath = detectRealPath(iconDef);
let svgBase64 = null;
if (realSvgPath) {
try { svgBase64 = await svg2base64(realSvgPath) } catch (e) { /** nothing */ }
try { svgBase64 = svg2base64(realSvgPath) } catch (e) { /** nothing */ }
}

return fn({ svgIdentifier, svgBase64, ...iconDef });
Expand Down
2 changes: 1 addition & 1 deletion packages/icons-react/src/icons/AccountBookFilled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const AccountBookFilled = (
ref: React.MutableRefObject<HTMLSpanElement>,
) => <AntdIcon {...props} ref={ref} icon={AccountBookFilledSvg} />;

/**![account-book](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAHpUlEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMovi/AfF/A+Lf6E//9E9fi2e79Iqv+Ip/zb/Bn/7pn740cIxnesVXfMXf4V8P8W/wZ3/2Z69t+7d4tt95xVd8xdfm3+BP//RPfxt4LZ5J0uu8wiu8wm/zr4P4N/izP/uz17b9Wzzb77ziK77ia/Nv8Kd/+qe/DbwWzyTpdV7hFV7ht/nXQfwb/Nmf/dlr2/4tnu13XvEVX/G1+Tf40z/9098GXotnkvQ6r/AKr/Db/OsgHuCv/uqvjo/j+FL8y14a+Gqe7a+Bj+bf5quBl+bZPhr4a/4FXdf9zcu8zMvscgXimf7qr/7q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jNS41IDAgMTAgNC41IDEwIDEwIC4xIDEuNy0uMyAzLjMtMS4xIDQuOHoiIC8+PC9zdmc+) */
const RefIcon: React.ForwardRefExoticComponent<
Omit<AntdIconProps, 'ref'> & React.RefAttributes<HTMLSpanElement>
> = React.forwardRef<HTMLSpanElement, AntdIconProps>(AccountBookFilled);
Expand Down
2 changes: 1 addition & 1 deletion packages/icons-react/src/icons/AccountBookOutlined.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const AccountBookOutlined = (
ref: React.MutableRefObject<HTMLSpanElement>,
) => <AntdIcon {...props} ref={ref} icon={AccountBookOutlinedSvg} />;

/**![account-book](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAKr0lEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMovi/AfF/A+Lf6E//9E9fi2e79Iqv+Ip/zb/Bn/7pn740cIxnesVXfMXf4V8P8W/wZ3/2Z69t+7d4tt95xVd8xdfm3+BP//RPfxt4LZ5J0uu8wiu8wm/zr4P4N/izP/uz17b9Wzzb77ziK77ia/Nv8Kd/+qe/DbwWzyTpdV7hFV7ht/nXQfwb/Nmf/dlr2/4tnu13XvEVX/G1+Tf40z/9098GXotnkvQ6r/AKr/Db/OsgHuCv/uqvjo/j+FL8y14a+Gqe7a+Bj+bf5quBl+bZPhr4a/4FXdf9zcu8zMvscgXimf7qr/7q+DiOTweO87/Dbtd1D3mZl3mZXQDxTH/2Z3/22rZ/i/9FJL3OK7zCK/w2gHimP/uzP3tt27/F/yKSXucVXuEVfhtAPNOf/dmfvbbt3+LZLgF/zfN3HHgpnu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iIgLz48L3N2Zz4=) */
const RefIcon: React.ForwardRefExoticComponent<
Omit<AntdIconProps, 'ref'> & React.RefAttributes<HTMLSpanElement>
> = React.forwardRef<HTMLSpanElement, AntdIconProps>(AccountBookOutlined);
Expand Down
2 changes: 1 addition & 1 deletion packages/icons-react/src/icons/AccountBookTwoTone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const AccountBookTwoTone = (
ref: React.MutableRefObject<HTMLSpanElement>,
) => <AntdIcon {...props} ref={ref} icon={AccountBookTwoToneSvg} />;

/**![account-book](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAKnUlEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMovi/AfF/A+Lf6LpP8WvxTEVcuvML9df8G9z4qX7pZo7xTPd8kX6Hfz3Ev8F1n+zXTvNbPJPE79z7xXpt/g2u/WT/ts1r8UwhXueeL9Zv86+D+De47pP92ml+i2eS+J17v1ivzb/BtZ/s37Z5LZ4pxOvc88X6bf51EP8G132yXzvNb/FMEr9z7xfrtfk3uPaT/ds2r8UzhXide75Yv82/DuIBHvzZPr5a81L8C5y8tOGreba/juCj+TfI5KuBl+aZBB+t4K/5F8xn/M2tn61drkA804M/28ePljwdOM7/DrsbCx5y62drF0A803Wf7NdO81v8LxLide75Yv02gHim6z7Zr53mt/hfJMTr3PPF+m0A8UzXfbJfO81v8UwSl44teDrPx3pisRx4FM8kcenYgqfzb3BpyUNsjvFMi54nzipLno9LSx5ic4xnCvE693yxfhtAPNN1n+zXTvNbPNPxDf76tz+Ol+b5+O0n8dcf/SO8NM90fIO//u2P46X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tNjUuNHYtMzMuN2g2NS40YzQuNCAwIDgtMy42IDgtOHYtMjEuM2MwLTQuNC0zLjYtOC04LThoLTQ5LjFsODkuMy0xNjQuMWMuNi0xLjIgMS0yLjUgMS0zLjguMS00LjQtMy40LTgtNy45LTh6IiBmaWxsPSIjMTY3N2ZmIiAvPjxwYXRoIGQ9Ik04ODAgMTg0SDcxMnYtNjRjMC00LjQtMy42LTgtOC04aC01NmMtNC40IDAtOCAzLjYtOCA4djY0SDM4NHYtNjRjMC00LjQtMy42LTgtOC04aC01NmMtNC40IDAtOCAzLjYtOCA4djY0SDE0NGMtMTcuNyAwLTMyIDE0LjMtMzIgMzJ2NjY0YzAgMTcuNyAxNC4zIDMyIDMyIDMyaDczNmMxNy43IDAgMzItMTQuMyAzMi0zMlYyMTZjMC0xNy43LTE0LjMtMzItMzItMzJ6bS00MCA2NTZIMTg0VjI1NmgxMjh2NDhjMCA0LjQgMy42IDggOCA4aDU2YzQuNCAwIDgtMy42IDgtOHYtNDhoMjU2djQ4YzAgNC40IDMuNiA4IDggOGg1NmM0LjQgMCA4LTMuNiA4LTh2LTQ4aDEyOHY1ODR6IiBmaWxsPSIjMTY3N2ZmIiAvPjwvc3ZnPg==) */
const RefIcon: React.ForwardRefExoticComponent<
Omit<AntdIconProps, 'ref'> & React.RefAttributes<HTMLSpanElement>
> = React.forwardRef<HTMLSpanElement, AntdIconProps>(AccountBookTwoTone);
Expand Down
Loading

0 comments on commit 5261ad0

Please sign in to comment.