3743 Commits

Author SHA1 Message Date
Guilherme Ribeiro
b2a0be4341 Adding safety check when initializing ApplePay (#2212)
* fix: apple pay inside iframe

* fix: changeset
2023-06-08 14:55:16 +02:00
github-actions[bot]
a2fa99bd71 Release 5.44.0 (#2201)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-05 15:28:15 +02:00
António Ferreira
09df8a09b7 Fixes mismatched label for Selectbox (#2205)
* fixes mismatched label for selectbox

* fix getByTitle tests

* fix missing test

* add changeset
2023-06-05 15:15:50 +02:00
sponglord
90586a123a Merge pull request #2206 from Adyen/fix/prevent_double_read_of_pm_names
Prevent double readout of PM names, by a screenreader, in Dropin
2023-06-03 12:00:39 +02:00
Guilherme Ribeiro
c2ec7127f5 Payment method - CashAppPay (#2105)
* feat: initial draft

* feat: creating customer request

* feat: moved imports

* feat: fixed when payment is declined and retry happens

* feat: added missing types

* feat: added few tests

* feat: added more tests

* feat: added test for component

* feat: unsubscribing

* feat: lock file

* fix: tests

* feat: added test for ui element

* feat: more tests

* feat: cashapp custom pay button

* feat: storing payment method

* feat: showing as stored payment method

* feat: fixed tests. clean up

* feat: added test for submit

* feat: more tests

* fix: clicking on checkbox doesnt trigger cashapp + stored pm button click

* fix: issue with super.prop within async arrow function

* fix: unit tests

* feat: displaying proper labels as stored payment method

* fix: label for stored pm

* feat: redirect button label change + minor fixes

* feat: clean up code

* feat: forEach instead of map

* fix: changeset
2023-06-02 17:00:42 +02:00
nicholas
a59515aceb Prevent double readout of PM names, by a screenreader, in Dropin 2023-06-02 10:18:43 +02:00
Yu Long
01dbe7eea9 Feat: add a11y for the count down component (#2182) 2023-06-01 15:47:31 +02:00
Yu Long
4a2ddb7da5 CI: use Changesets to automate release PR creation (#2189) 2023-05-31 16:36:06 +02:00
sponglord
5006e4d302 update workflows after renaming branch master to main (#2197)
* update workflows after renaming branch master to main

* Updating README

* Testing resetting sonarcloud reference back to @master
2023-05-31 16:10:13 +02:00
António Ferreira
c38678800a Release 5.43.1 (#2194) 2023-05-30 16:23:23 +02:00
António Ferreira
bf5bfd4144 fix: Add onOrderCancel to CoreOptions (#2193)
* add onOrderCancel to CoreOptions

* fixed order type
2023-05-30 14:42:11 +02:00
sponglord
7db33ac2fe Adding extra checks on the config sent when instantiating Checkout (#2187)
* Adding extra checks on the config sent when instantiating Checkout

* Expanding error message to also suggest the merchant checks their BO config
2023-05-30 13:27:38 +02:00
Guilherme Ribeiro
9010ab108c Click to Pay - Adding safeguard check when Shopper checkout with default Card component (#2180) 2023-05-30 11:24:37 +02:00
sponglord
a68e656af2 Merge pull request #2188 from Adyen/fix/remove_aria_hidden_on_brand_icon
Remove aria-hidden attribute on brand icon
2023-05-30 10:04:08 +02:00
nicholas
02b0e0d1fb Remove aria-hidden attribute on brand icon 2023-05-24 12:51:13 +02:00
sponglord
94df490ef7 Merge pull request #2169 from Adyen/chore/set_type_on_SRPanel_comp
Set static type on SRPanel comp
2023-05-23 14:33:49 +02:00
sponglord
5050c7287f Merge pull request #2186 from Adyen/chore/bump_secured_fields_version
Bumping sf version to 4.5.0
2023-05-23 14:33:28 +02:00
nicholas
6ad61d91e7 Bumping sf version to 4.5.0 2023-05-23 11:14:32 +02:00
renovate[bot]
d9c3f91ecc chore(deps): update dependency concurrently to v8 (#2181)
* chore(deps): update dependency concurrently to v8

* fix: fixing version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com>
2023-05-22 15:53:21 +02:00
renovate[bot]
a29ee8742c chore(deps): update typescript-eslint monorepo to v5.59.1 (#2179)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-22 15:27:25 +02:00
Guilherme Ribeiro
0525b726bd Adjusting types of CoreOptions (#1987)
* feat: adjusting types

* feat: fixed more types

* feat: clean up
2023-05-19 09:42:13 -03:00
renovate[bot]
7658cc042c chore(deps): update dependency stylelint to v15.6.0 (#2175)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-19 09:41:57 -03:00
renovate[bot]
2a06f68ff3 chore(deps): update dependency webpack to v5.81.0 (#2176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-19 09:41:41 -03:00
renovate[bot]
aafc3b1239 Update dependency preact to v10.13.2 (#2048)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 13:08:58 -03:00
renovate[bot]
cf1c52c11b chore(deps): update dependency sass to v1.62.1 (#2172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 12:57:34 -03:00
renovate[bot]
7869fd64c0 chore(deps): update dependency eslint to v8.39.0 (#2171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 12:57:01 -03:00
renovate[bot]
f3514205dd chore(deps): update dependency webpack-dev-server to v4.13.3 (#2168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 14:24:58 -03:00
renovate[bot]
461cdc6f84 chore(deps): update dependency prettier to v2.8.8 (#2167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 14:24:32 -03:00
sponglord
c82141f4ea Merge pull request #2166 from Adyen/fix/Field_comp_stops_using_div_in_label
Field comp stops using div element inside the label
2023-05-16 16:54:14 +02:00
nicholas
9debce524c Set static type on SRPanel comp 2023-05-16 16:43:41 +02:00
renovate[bot]
9b24ccbafc chore(deps): update dependency webpack-cli to v5.0.2 (#2161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 11:38:27 -03:00
renovate[bot]
198be5a84e Update dependency postcss to v8.4.23 (#2160)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 11:37:56 -03:00
nicholas
c51d8d17c1 Field comp stops using div element inside the label 2023-05-16 15:37:36 +02:00
Guilherme Ribeiro
aec54490bd Release 5.43.0 (#2164) 2023-05-15 10:12:34 -03:00
Guilherme Ribeiro
35a96909a5 Click to Pay - Standalone component (#2138)
* feat: ctp folder + element

* feat: fixed pressing enter submission + catching exception on logout + removed section container

* feat: added isAvailable + hiding from dropin

* fix: fixing imports

* feat: fixed missing props

* fix: fixed imports again

* feat: css fix + unit tests

* feat: added onReady callback

* fix: unit tests

* feat: fixing sonarcloud bugs

* fix: unit test

* feat: updating wallets

* feat: adding check if ctpservice fails to be created

* fix: tests + isAvailable check

* feat: simplified format data

* fix: attempt fix sonarcloud issues

* fix: await logout
2023-05-15 09:54:10 -03:00
sponglord
3bb124d0d0 Merge pull request #2163 from Adyen/feature/add_paymentMethodVariant_to_onBinLookup
Add a paymentMethodVariants array to the object sent to the onBinLookup callback
2023-05-15 13:52:42 +02:00
António Ferreira
83b2b3585e Fixes resources not being passed to provider (#2157)
* fixes resources not being passed or provider

adds playwright tests for securefields

* add extra checks if resource is missing

* Adding extra, defensive, check to Icon

---------

Co-authored-by: nicholas <nicholas.spong@adyen.com>
2023-05-15 12:55:26 +02:00
nicholas
8ed6fc3202 Add a paymentMethodVariants array to the object sent to the onBinLookup callback 2023-05-15 11:42:06 +02:00
sponglord
39f132de7a Merge pull request #2162 from Adyen/fix/a11y_attributes_for_Sepa
Added name property to Sepa ownerName & ibanNumber fields
2023-05-15 11:28:31 +02:00
nicholas
345b747a38 Added name property to Sepa ownerName & ibanNumber fields 2023-05-15 10:16:42 +02:00
renovate[bot]
aeaa68796c Update dependency jest-mock-extended to v3.0.4 (#2159)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 10:57:30 -03:00
renovate[bot]
f31d2c863c Update dependency prettier to v2.8.7 (#2107)
* Update dependency prettier to v2.8.7

* feat: removed prettier from e2e

---------

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-05-12 10:57:14 -03:00
renovate[bot]
acfb8d84d5 Update dependency html-webpack-plugin to v5.5.1 (#2158)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 10:38:00 -03:00
Guilherme Ribeiro
d00cd8501f Sonarcloud - Unit test coverage (#2155)
* feat: attempt to scan

* feat: attempt with sonar file

* fix: another attempt

* fix: clean up

* Update sonar-project.properties

* fix: pulling history

* tes

* feat: testing file

* Delete TestFile2.ts
2023-05-12 10:02:38 -03:00
renovate[bot]
d5c212cf9d Update dependency eslint-plugin-testing-library to v5.10.3 (#2154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 09:54:24 -03:00
Yu Long
5b40f5ac0e chore: format all files with eslint and prettier (#2152) 2023-05-11 15:25:35 +02:00
Guilherme Ribeiro
e650e263a0 Update codeql-analysis.yml (#2153)
* Update codeql-analysis.yml

Upgrading CodeQL to v2 
https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/

* Update codeql-analysis.yml
2023-05-11 08:18:06 -03:00
renovate[bot]
cec40f8b26 Update dependency @types/jest to v29.5.1 (#2150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 08:09:14 -03:00
renovate[bot]
50b43e4f8a Update dependency filesize to v10.0.7 (#2146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 10:55:27 +02:00
Yu Long
bfc2dccc85 Release 5.42.1 (#2148) 2023-05-09 17:27:45 +02:00