Skip to content

Commit 69c5421

Browse files
committed
chore: Update TypeScript and ESLint versions in compile-js plugin
Refactor prompts.js and index.js Update dependencies and remove unused code Update yarn installation command to use Yarn v4.5.0 Remove unused declaration for '*.png' module Add .vscode/launch.json Add IconByVariant component to atoms Add send.svg to theme/assets/icons Update getAssetsContext.ts to handle .svg files Add '*.svg' module declaration Add language.svg to theme/assets/icons Update metro.config.js to include .svg files Update package.json dependencies Add IconByVariant component Update Example screen to use IconByVariant component Update Example screen to use IconByVariant component for buttons
1 parent 894ae3f commit 69c5421

File tree

19 files changed

+783
-362
lines changed

19 files changed

+783
-362
lines changed

.vscode/launch.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"configurations": [
3+
{
4+
"type": "radon-ide",
5+
"request": "launch",
6+
"name": "Radon IDE panel",
7+
"ios": {}
8+
}
9+
]
10+
}

template/__mocks__/getAssetsContext.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jest.mock('@/theme/assets/getAssetsContext', () =>
77
return jest.mock('@/theme/assets/images/tom.png');
88
}
99
if (type === 'icons') {
10-
return jest.mock('@/theme/assets/images/tom.svg');
10+
return jest.mock('@/theme/assets/icons/send.svg');
1111
}
1212
return key;
1313
};
@@ -17,7 +17,7 @@ jest.mock('@/theme/assets/getAssetsContext', () =>
1717
return ['images/tom.png'];
1818
}
1919
if (type === 'icons') {
20-
return ['images/tom.png'];
20+
return ['icons/send.svg'];
2121
}
2222
return [];
2323
};

template/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
declare module '*.png';

template/ios/Boilerplate.xcodeproj/project.pbxproj

Lines changed: 68 additions & 68 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)