Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ebay-icon): added gradient support on server side rendering #2112

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/chilly-ghosts-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/ebayui-core": patch
---

(ebay-icon): added gradient support for server
22 changes: 19 additions & 3 deletions scripts/import-svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const skinDir = path.dirname(require.resolve("@ebay/skin/package.json"));
const svgDir = path.join(skinDir, "src/svg");
const defs = {};
const defsMap = new Map();
const defsNames = new Set();

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
Expand Down Expand Up @@ -105,7 +106,14 @@ function addIcons(component, iconMap) {
// Find matching def
for (const def of Object.keys(defs)) {
if ($symbol.html().indexOf(`url(#${def})`) > -1) {
defsMap.set(name, defToObject(defs[def]));
defsMap.set(name, {
browser: defToObject(defs[def]),
server: minify(
$.html(defs[def]),
htmlMinifierOptions,
),
});
defsNames.add(defs[def][0].name);
}
}
}
Expand Down Expand Up @@ -142,8 +150,9 @@ function generateFile(type, iconMap) {
const defPath = path.join(iconFolder, "def.ts");
const contentDef = `export function def() {
// eslint-disable-next-line max-len,quotes
return ${JSON.stringify(iconDef)};
};`;
return { server: ${JSON.stringify(iconDef.server)}, browser: ${JSON.stringify(iconDef.browser)} };
};
`;

fs.writeFileSync(defPath, `${contentDef.trim()}\n`);
}
Expand Down Expand Up @@ -223,3 +232,10 @@ Object.keys(examplesMap).forEach((componentName) => {
});
generateExamples(componentName, examplesMap[componentName]);
});

fs.writeFileSync(
path.join(outputBaseDir, `ebay-icon`, "util.ts"),
`// This file is generated by import-svg script

export const defNames = "${Array.from(defsNames).join(", ")}";\n`,
);
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-ac/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43660"}};
return { server: "<clippath id=clip0_704_43660><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43660"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-ad/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43576"}};
return { server: "<clippath id=clip0_704_43576><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43576"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-ae/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43718"}};
return { server: "<clippath id=clip0_704_43718><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43718"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-af/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43716"}};
return { server: "<clippath id=clip0_704_43716><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43716"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-ag/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43686"}};
return { server: "<clippath id=clip0_704_43686><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43686"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-ai/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43712"}};
return { server: "<clippath id=clip0_704_43712><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43712"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-al/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43587"}};
return { server: "<clippath id=clip0_704_43587><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43587"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-am/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43698"}};
return { server: "<clippath id=clip0_704_43698><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43698"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-ao/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43671"}};
return { server: "<clippath id=clip0_704_43671><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43671"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-aq/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43711"}};
return { server: "<clippath id=clip0_704_43711><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43711"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-ar/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43526"}};
return { server: "<clippath id=clip0_704_43526><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43526"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-as/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43538"}};
return { server: "<clippath id=clip0_704_43538><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43538"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-at/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43676"}};
return { server: "<clippath id=clip0_704_43676><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43676"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-au/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43591"}};
return { server: "<clippath id=clip0_704_43591><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43591"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-aw/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43668"}};
return { server: "<clippath id=clip0_704_43668><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43668"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-ax/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43704"}};
return { server: "<clippath id=clip0_704_43704><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43704"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-az/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43639"}};
return { server: "<clippath id=clip0_704_43639><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43639"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-ba/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43700"}};
return { server: "<clippath id=clip0_704_43700><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43700"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bb/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43619"}};
return { server: "<clippath id=clip0_704_43619><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43619"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bd/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43603"}};
return { server: "<clippath id=clip0_704_43603><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43603"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-be/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43504"}};
return { server: "<clippath id=clip0_704_43504><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43504"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bf/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43672"}};
return { server: "<clippath id=clip0_704_43672><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43672"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bg/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43679"}};
return { server: "<clippath id=clip0_704_43679><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43679"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bh/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43714"}};
return { server: "<clippath id=clip0_704_43714><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43714"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bi/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43585"}};
return { server: "<clippath id=clip0_704_43585><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43585"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bj/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43608"}};
return { server: "<clippath id=clip0_704_43608><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43608"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bl/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43609"}};
return { server: "<clippath id=clip0_704_43609><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43609"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bm/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43548"}};
return { server: "<clippath id=clip0_704_43548><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43548"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bn/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43675"}};
return { server: "<clippath id=clip0_704_43675><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43675"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bo/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43662"}};
return { server: "<clippath id=clip0_704_43662><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43662"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bq/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43627"}};
return { server: "<clippath id=clip0_704_43627><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43627"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-br/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43557"}};
return { server: "<clippath id=clip0_704_43557><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43557"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bs/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43664"}};
return { server: "<clippath id=clip0_704_43664><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43664"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bt/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43646"}};
return { server: "<clippath id=clip0_704_43646><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43646"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bv/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43640"}};
return { server: "<clippath id=clip0_704_43640><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43640"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-bw/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43542"}};
return { server: "<clippath id=clip0_704_43542><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43542"}} };
};
2 changes: 1 addition & 1 deletion src/components/ebay-flag/icons/ebay-flag-by/def.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function def() {
// eslint-disable-next-line max-len,quotes
return {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43715"}};
return { server: "<clippath id=clip0_704_43715><rect width=64 height=48 fill=white></rect></clippath>", browser: {"children":[{"name":"rect","attr":{"width":"64","height":"48","fill":"white"}}],"name":"clipPath","attr":{"id":"clip0_704_43715"}} };
};
Loading
Loading