-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1cc5194
commit e13fc48
Showing
1,110 changed files
with
1,206 additions
and
1,165 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
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* Tools we want to reuse | ||
* | ||
*/ | ||
|
||
// export type AsyncForEachArray = Array<unknown> | ||
export type AsyncForEachCallback<TBase> = ( | ||
item: Array<TBase>[number], | ||
i: number, | ||
array: Array<TBase> | ||
) => unknown | ||
|
||
export async function asyncForEach<TBase>( | ||
array: Array<TBase>, | ||
callback: AsyncForEachCallback<TBase> | ||
) { | ||
let res = [] | ||
for (let i = 0, l = array.length; i < l; ++i) { | ||
const cur = await callback(array[i] as typeof array[number], i, array) | ||
if (typeof cur !== 'undefined') { | ||
res = res.concat(cur) | ||
} | ||
} | ||
return res | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/dnb-eufemia/src/components/icon/__tests__/test-files/index.ts
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
2 changes: 1 addition & 1 deletion
2
packages/dnb-eufemia/src/components/icon/__tests__/test-files/question.tsx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/above_the_line' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/above_the_line_medium' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/account' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/account_card' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/account_card_medium' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/account_in' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/account_in_medium' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/account_medium' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/account_out' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/account_out_medium' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/account_percent' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/account_percent_medium' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/add' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/add_circled' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/add_circled_medium' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/add_medium' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/ainvoice' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/ainvoice_medium' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/ambulance' | ||
export default icon |
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,4 @@ | ||
/** This file is auto generated by convertSvgToJsx.js */ | ||
/** This file is auto generated by convertSvgToJsx.ts */ | ||
|
||
import icon from './dnb/ambulance_medium' | ||
export default icon |
Oops, something went wrong.