-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: enable logos for SK and CZ online banking (#2939)
* feat: enable logos for SK and CZ online banking * changeset * update SK currency to EUR on playgrounds
- Loading branch information
Showing
11 changed files
with
55 additions
and
8 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,5 @@ | ||
--- | ||
'@adyen/adyen-web': minor | ||
--- | ||
|
||
Feat: enable logos for SK and CZ online banking |
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 |
---|---|---|
|
@@ -26,7 +26,6 @@ const currencies = { | |
RU: "RUB", | ||
SE: "SEK", | ||
SG: "SGD", | ||
SK: "SKK", | ||
TH: "THB", | ||
TW: "TWD", | ||
US: "USD", | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,6 @@ const currencies = { | |
RU: "RUB", | ||
SE: "SEK", | ||
SG: "SGD", | ||
SK: "SKK", | ||
TH: "THB", | ||
TW: "TWD", | ||
US: "USD", | ||
|
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
24 changes: 24 additions & 0 deletions
24
packages/lib/storybook/stories/issuer-lists/OnlineBankingCZ.stories.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { MetaConfiguration, StoryConfiguration } from '../types'; | ||
import { ComponentContainer } from '../ComponentContainer'; | ||
import { IssuerListConfiguration } from '../../../src/components/helpers/IssuerListContainer/types'; | ||
import { Checkout } from '../Checkout'; | ||
import { OnlineBankingCZ } from '../../../src'; | ||
|
||
type OnlineBankingCZStory = StoryConfiguration<IssuerListConfiguration>; | ||
|
||
const meta: MetaConfiguration<IssuerListConfiguration> = { | ||
title: 'IssuerList/OnlineBankingCZ' | ||
}; | ||
|
||
export const Default: OnlineBankingCZStory = { | ||
render: ({ componentConfiguration, ...checkoutConfig }) => ( | ||
<Checkout checkoutConfig={checkoutConfig}> | ||
{checkout => <ComponentContainer element={new OnlineBankingCZ(checkout, componentConfiguration)} />} | ||
</Checkout> | ||
), | ||
args: { | ||
countryCode: 'CZ' | ||
} | ||
}; | ||
|
||
export default meta; |
24 changes: 24 additions & 0 deletions
24
packages/lib/storybook/stories/issuer-lists/OnlineBankingSK.stories.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { MetaConfiguration, StoryConfiguration } from '../types'; | ||
import { ComponentContainer } from '../ComponentContainer'; | ||
import { IssuerListConfiguration } from '../../../src/components/helpers/IssuerListContainer/types'; | ||
import { Checkout } from '../Checkout'; | ||
import { OnlineBankingSK } from '../../../src'; | ||
|
||
type OnlineBankingSKStory = StoryConfiguration<IssuerListConfiguration>; | ||
|
||
const meta: MetaConfiguration<IssuerListConfiguration> = { | ||
title: 'IssuerList/OnlineBankingSK' | ||
}; | ||
|
||
export const Default: OnlineBankingSKStory = { | ||
render: ({ componentConfiguration, ...checkoutConfig }) => ( | ||
<Checkout checkoutConfig={checkoutConfig}> | ||
{checkout => <ComponentContainer element={new OnlineBankingSK(checkout, componentConfiguration)} />} | ||
</Checkout> | ||
), | ||
args: { | ||
countryCode: 'SK' | ||
} | ||
}; | ||
|
||
export default meta; |
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 |
---|---|---|
|
@@ -27,7 +27,6 @@ const currencies = { | |
RU: 'RUB', | ||
SE: 'SEK', | ||
SG: 'SGD', | ||
SK: 'SKK', | ||
TH: 'THB', | ||
TW: 'TWD', | ||
US: 'USD', | ||
|