-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for multiple icon sets through subpath exports (#579)
* improve sync * make multi-entry * generate * clean up * u * fix attrs replace * Create sixty-chairs-sip.md
- Loading branch information
Showing
1,834 changed files
with
25,618 additions
and
14,484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@status-im/icons": major | ||
--- | ||
|
||
Generated each icon group separately for better correctness | ||
Added separate export paths for the following icon sets: ./12, ./16, ./20, ./social, and ./reactions. | ||
Removed Tamagui runtime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"root": true, | ||
"extends": ["@status-im/eslint-config"] | ||
"extends": ["@status-im/eslint-config"], | ||
"ignorePatterns": ["dist", "index.js", "index.es.js"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// @see https://github.com/tailwindlabs/heroicons/blob/master/react/index.esm.js | ||
export default new Proxy( | ||
{}, | ||
{ | ||
get: (_, property) => { | ||
if (property === '__esModule') { | ||
return {} | ||
} | ||
|
||
throw new Error( | ||
`Importing from \`@status-im/icons\` directly is not supported. Please import from either \`@status-im/icons/12\`, \`@status-im/icons/16\`, \`@status-im/icons/20\`, \`@status-im/icons/reactions\` or \`@status-im/icons/social\` instead.` | ||
) | ||
}, | ||
} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// @see https://github.com/tailwindlabs/heroicons/blob/master/react/index.esm.js | ||
module.exports = new Proxy( | ||
{}, | ||
{ | ||
get: (_, property) => { | ||
if (property === '__esModule') { | ||
return {} | ||
} | ||
|
||
throw new Error( | ||
`Importing from \`@status-im/icons\` directly is not supported. Please import from either \`@status-im/icons/12\`, \`@status-im/icons/16\`, \`@status-im/icons/20\`, \`@status-im/icons/reactions\`, or \`@status-im/icons/social\` instead.` | ||
) | ||
}, | ||
} | ||
) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.