3743 Commits

Author SHA1 Message Date
Cenk Kucukiravul
0502a06ec2 Store e2e artifacts under any circumstance (#2087)
Co-authored-by: Cenk Kucukiravul <cenk.kucukiravul@adyen.com>
2023-04-03 12:12:13 +02:00
Hehehehehe
dcafb6dd65 Enable messages component for configuring pay later in Paypal (#2055)
* feat:enable messages component for configuring pay later

* feat : make messages optional

* fix : add enableMessages prop

* fix : add unit tests

* Update defaultProps.ts

* Update utils.ts

* Update utils.ts

---------

Co-authored-by: Guilherme Ribeiro <guilherme.ribeiro@adyen.com>
2023-04-03 11:38:21 +02:00
Guilherme Ribeiro
688339c164 Fixing storedPaymentMethods check typo (#2069) 2023-04-03 10:35:18 +02:00
sponglord
03164ee20d Merge pull request #2081 from Adyen/fix/3DS2_prevent_double_callback_from_challenge
3DS2 - prevent double callback from challenge
2023-04-03 10:14:43 +02:00
sponglord
f6db31dcce Merge pull request #2083 from Adyen/feature/fieldset_comp_uses_fieldset_element
Fieldset component uses actual fieldset (and legend) elements
2023-04-03 10:14:18 +02:00
Guilherme Ribeiro
cacea924c6 ApplePay - Allow asynchronous check before ApplePay sheet is shown (#2050)
* fix: draft applepay custom submit

* feat: fix for oneClick only

* feat: clean up
2023-04-03 10:04:09 +02:00
Guilherme Ribeiro
ef65957acf ApplePay - Adding support for recurring payments (#2075)
* feat: apple pay recurring payment

* feat: shorthand for checking payment data

* fix: clean up
2023-04-03 09:50:26 +02:00
Guilherme Ribeiro
f950ff2c20 Click to Pay - Fixing config typo and adjusting network label (#2076)
* fix: typo in visa settings

* feat: hardcoding visa name
2023-04-03 09:48:21 +02:00
Guilherme Ribeiro
ece1b5bf1b ApplePay - Fixing Typescript types and Wallets playground (#2079) 2023-04-03 09:47:58 +02:00
nicholas
bd6bf6a1e8 Fieldset component uses actual fieldset (and legend) elements 2023-03-31 16:54:46 +02:00
nicholas
13d5ff6f0f 3DS2 - prevent double callback from challenge 2023-03-31 16:22:14 +02:00
renovate[bot]
d2d98f1439 Update typescript-eslint monorepo to v5.54.1 (#2066)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 14:19:49 +02:00
renovate[bot]
0235268a69 Update jest monorepo to v29.5.0 (#2067)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 14:19:20 +02:00
Guilherme Ribeiro
c5c2e2b24a Update CODEOWNERS (#2072) 2023-03-28 14:54:51 +02:00
Guilherme Ribeiro
fd87862b13 Release 5.38.0 (#2064) 2023-03-28 14:35:02 +02:00
António Ferreira
d4c0041b45 fixes double label in MBway/phoneInput (#2071) 2023-03-28 14:12:20 +02:00
sponglord
a5f9cb695d Remove labels 'for' attribute for other, not credit card, secured fields (#2070) 2023-03-28 13:28:23 +02:00
António Ferreira
8f3667efab Fix bug with disabled state appearing has button state (#2068)
* fixes select not working on keyboard

* fixes select behaviour and adds test

* fixes role access on firefox

* update e2e to use page keyboard

* fixes interaction with disabled items
2023-03-28 12:11:43 +02:00
sponglord
8e8f155b6c Merge pull request #2063 from Adyen/fix/contrast-outline-and-brand-number
Fixes contrast ratio for button outline and brand number indicator
2023-03-27 15:46:53 +02:00
António Ferreira
4f187069e7 fixes select not working on keyboard (#2060)
* fixes select not working on keyboard

* fixes select behaviour and adds test

* fixes role access on firefox

* update e2e to use page keyboard
2023-03-27 15:32:39 +02:00
sponglord
a97ab1a762 Stop creating double modules in /sessions flow (#2062)
* Stop creating double modules in /sessions flow

* Use Nullish Coalescing operator instead of ternary if statement
2023-03-27 12:27:03 +02:00
sponglord
1d02011427 Feature/small a11y fixes (#2059)
* gender field now shows visual error message

* required/aria-required added to Address inputs

* Added comment

* Don't add 'for' attributes to labels for securedFields

* Always have aria-describedby elements present in the DOM

* Renamed argument to be more semantically meaningful

* SRPanel accepts an id in its props

* Fix for unit test

* Better way to set default id prop onSRPanel
2023-03-27 12:20:30 +02:00
sponglord
1d3f11793b Merge pull request #2061 from Adyen/feature/ideal_shows_error_texts
iDeal shows errors: both as visual, text, errors and in the SRPanel
2023-03-27 12:19:56 +02:00
antoniof
c3cd0fcab2 fixes contrast ratio for button outline and brand number indicator 2023-03-24 18:45:16 +01:00
nicholas
431af31fbc ideal shows errors: both as visual, text, errors and in the SRPanel 2023-03-24 13:31:17 +01:00
Yu Long
11e62d2278 Add disclaimer config to the DonationComponent (#2049) 2023-03-22 10:04:47 +01:00
renovate[bot]
9cc0336915 Update dependency eslint to v8.35.0 (#2056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 09:45:12 +01:00
Walid Sewaify
221cd7884e ApplePay - Adding support for txVariant eftpos_australia (#2039) 2023-03-22 09:37:15 +01:00
renovate[bot]
59deb5a760 Update typescript-eslint monorepo to v5.54.0 (#2034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 09:35:15 +01:00
renovate[bot]
9a0b1e2c43 Update dependency @types/googlepay to ^0.7.0 (#2051)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 09:34:28 +01:00
renovate[bot]
9bfa82dae8 Update dependency stylelint to v15.2.0 (#2032)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 09:33:34 +01:00
Guilherme Ribeiro
434b23f849 Release 5.37.0 (#2054) 2023-03-21 16:29:55 +01:00
sponglord
d33226a814 Feature/OpenInvoice uses SRPanel (#2053)
* OpenInvoice comp uses SRPanel

* PersonalDetails & Address do not consider an input element to be in error if empty, unless the whole form is being validated

* IbanInput fields do not consider an element to be in error if empty, unless the whole form is being validated

* layout & countrySpecificLabels are optional props when setting SRMessages

* Adding mockSRContext object (needed for next phase)

* Reordered OpenInvoice comps to match markup in playground. Added switching mechanism to sho/hide them
2023-03-21 15:11:19 +01:00
António Ferreira
01cc85a3df Accessibility: Select combobox rework (#1937)
* Select combobox

* fix scroll to selected

* fix scroll to work only on keyboard movement

* fix select emit null on default

* fixes default values and selection handling

* fix shown value for select

* adds proper keyboard support, fixes phone input labels, fixes installments, fixes readonly and disabled states

* fixes comobobox click toggle

* fix click select bug
2023-03-21 15:04:10 +01:00
sponglord
6c2035bc0f Feature/SRPanel a11y improvements (#2044)
* Introducing SRPanel functionality and adding it to the Card component

* Stop propagating isCollatingErrors to securedFields

* Fixing e2e tests

* Removed isCollatingErrors from InputBase. Added SRPanel type

* Removing old ErrorPanel comp

* Temporarily restoring isCollatingErrors prop to Field types to avoid CI build errors

* Fixing playwright test

* SRPanel reads "zipcode" related error message when we have a 'partial' billingAddressSchema

* Use useEffect to create an object that exposes the setMessages fn

* Reverted last commit until I work out why it causes unit tests to fail

* Added SRPanelProvider/Context plus useSRPanelContext hook

* Changing how CardInput sets up & calls setSRMessages

* Adding aria-relevant attr to SRPanel

* Adding SRPanelProvider/Context types

* Refining SRPanelProvider/Context types

* Added optional chaining operator
2023-03-20 11:17:18 +01:00
sponglord
97cb2157ca New, more accessible, translations following a11y guidelines (#2043)
* New, more accessible, translations following a11y guidelines. Restored missing cvc error key

* Fixing playwright e2e test
2023-03-20 11:15:23 +01:00
António Ferreira
6e73d47d3d Update npm-publish.yml (#2042) 2023-03-15 12:52:34 +01:00
António Ferreira
e09898957a Update npm-publish.yml (#2041) 2023-03-15 12:30:45 +01:00
António Ferreira
f8c3550742 Release 5.36.0 (#2040) 2023-03-15 11:58:00 +01:00
António Ferreira
e3b04db1e5 Fixes ACH stored payment design (#2030)
* fix ach storedpayment design

* adds additionalInfo to dropin
* shows bankAcount last four

* adds stored ACH translations

* fixes missing translations

* Revert "fixes missing translations"

This reverts commit 20b971d4fd150d53b5e48c11653432d1d98e2d12.

* Revert "adds stored ACH translations"

This reverts commit 8a7bc001ce63cf6818bd792a2e76f68cb4a5b9f2.

* add only ach translations
2023-03-15 11:33:19 +01:00
Guilherme Ribeiro
1a3017633a Playwright - Fixing adyen-web version (#2036) 2023-03-14 14:21:41 +01:00
Guilherme Ribeiro
4d3501dca1 ApplePay - Rejecting payment with specific errors (#2027)
* feat: allowing passing custom errors for apple pay onpaymentauthorized step

* feat: passing custom error

* feat: renamed prop

* feat: clean up
2023-03-13 15:51:15 +01:00
sponglord
7b8d69a5c6 Fix/fully propagate disableIOSArrowKeys config prop (#2033)
* Passing the disableIOSArrowKeys config option to securedFields

* disableIOSArrowKeys, when passed to SFP, is either a function or null

* Fixed issue where clicking on label a 2nd time didn't shift focus
2023-03-13 15:47:47 +01:00
sponglord
a84749ec62 Merge pull request #2028 from Adyen/fix/fallback_to_non_persistent_storage
When local storage isn't available fall back to a non-persistent storage solution
2023-03-13 15:01:13 +01:00
Guilherme Ribeiro
1e4f77f2a6 PayPal - Getting payer data (#1993)
* feat: POC returning payerData on paypal onApprove

* fix: returning all data

* feat: updated poc

* feat: new changes

* feat: moved parse logic to separated file

* feat: more changes

* feat: adjusted paypal to show processing status

* fix: types for resolve/reject

* feat: handling error properly

* chore: patching order hack

* feat: removed houseNumberOrName

* fix: tests

* feat: clean up

* feat: more clean up

* fix: types
2023-03-13 14:12:34 +01:00
renovate[bot]
7abba5acac Update dependency cssnano to v5.1.15 (#2029)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-09 17:05:30 +01:00
nicholas
bfcafbebf3 When local storage isn't available e.g. when window is in incognito mode, fall back to a non-persistent storage solution 2023-03-08 17:27:50 +01:00
renovate[bot]
0d09f94074 Update dependency stylelint to v15 (#2015)
* Update dependency stylelint to v15

* feat: updated stylelint scss config

* feat: updated sass

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com>
Co-authored-by: Guilherme Ribeiro <guilhermemrr@gmail.com>
2023-03-08 16:22:30 +01:00
renovate[bot]
ad4af67340 Update jest monorepo to v29.4.3 (#2026)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 14:26:48 +01:00
Guilherme Ribeiro
3faef28af1 Updating npm-publish token (#1991)
* Updating npm-publish token

Updating npm-publish token

* Update npm-publish.yml
2023-03-08 10:07:43 +01:00