-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: move DNB icons to subfolder (with v9 compatibility) (#2200)
* Remove existing icons * Move icons lock and meta files * Remove left over PDF lock file * Change consuming imports of portal * Refactor convert script * Update index files with new subfolder path * Add icons files as tsx files in subfolder * Deal with IconPrimary externalisation * Generate index files * Omit deleting files we want to keep * Refactor related tests * Look for converted files instead of SVG sources when creating index files * Add docs/info about icons dev * Automatically find subfolders * Find outdated icons and warn * Make total count of icons better understandable * Convert script to TypeScript
- Loading branch information
1 parent
8136368
commit 942c271
Showing
1,710 changed files
with
19,237 additions
and
22,196 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
packages/dnb-design-system-portal/above_the_line_medium.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,21 @@ | ||
import _extends from "@babel/runtime/helpers/esm/extends"; | ||
|
||
var _path; | ||
|
||
import React from 'react'; | ||
|
||
const above_the_line_medium = props => React.createElement("svg", _extends({ | ||
xmlns: "http://www.w3.org/2000/svg", | ||
width: 24, | ||
height: 24, | ||
fill: "none", | ||
viewBox: "0 0 24 24" | ||
}, props), _path || (_path = React.createElement("path", { | ||
stroke: "#000", | ||
strokeLinecap: "round", | ||
strokeLinejoin: "round", | ||
strokeWidth: 1.5, | ||
d: "M12 21V9m0 0-4 4m4-4s2.243 2.047 4 4M2 3.5h2m4 0h2m4 0h2m4 0h2" | ||
}))); | ||
|
||
export default above_the_line_medium; |
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
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
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
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/dnb-eufemia/assets/icons/dnb/products_account_percent_medium.svg
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
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
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
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.