3743 Commits

Author SHA1 Message Date
Guilherme Ribeiro
b04a130a96 GooglePay Express - Adding examples to Storybook (#2279)
* feat: draft google express

* feat: more changes

* feat: more changes

* feat: googlepay express story

* fix: lint

* fix: disabled some fields

* Update GooglePayExpress.stories.tsx
2023-08-04 14:50:43 +02:00
Guilherme Ribeiro
517841d5f2 feat: applepay express example (#2283) 2023-08-04 14:50:32 +02:00
Yu Long
464e729d3b chore: upgrade Storybook and Vite (#2285) 2023-08-04 10:22:31 +02:00
António Ferreira
ecb78cb977 fixes missing results codes (#2284) 2023-08-01 16:19:21 +02:00
renovate[bot]
fe1b8a9b18 chore(deps): update dependency lint-staged to v13.2.3 (#2277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 15:55:39 +02:00
github-actions[bot]
0fa9d1e38b [ci] release main (#2280)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-31 14:32:31 +02:00
Yu Long
30b91a5b60 feat(trustly): add description (#2276) 2023-07-31 14:25:57 +02:00
renovate[bot]
ef0c612b9b chore(deps): update dependency @changesets/cli to v2.26.2 (#2268)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-25 15:22:38 +02:00
github-actions[bot]
aeca2f4295 [ci] release main (#2275)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-24 16:56:16 +02:00
António Ferreira
2e7adb0d2e Fixes HTML markup on some divs and spans (#2270)
* fixes HTML markup on some div and span

* add changeset
2023-07-24 16:44:15 +02:00
renovate[bot]
fa3e9c17b0 chore(deps): update dependency postcss to v8.4.24 (#2263)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-18 14:29:11 +02:00
github-actions[bot]
707122387d [ci] release main (#2264)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-17 14:10:31 +02:00
Yu Long
8712f6dace Fix: Klarna widget to make drop-in clickable after loaded (#2258) 2023-07-17 13:55:53 +02:00
Yu Long
fb39e18f0e fix: Core update function also updates payment methods list (#2266) 2023-07-14 15:20:39 +02:00
Guilherme Ribeiro
968aa2afc1 Click to Pay - Adding timeout to initialization requests (#2265)
* feat: added timeout to certain requests

* feat: clean up

* fix: clean up

* fix: another clean up

* feat: increased timeou

* fix: changeset
2023-07-14 14:58:07 +02:00
António Ferreira
56db1adbaf Removes arialabelledby from PaymentMethodItem (#2261)
* fixes paymentmethoditem arialabelby

* adds changeset
2023-07-12 16:31:53 +02:00
Yu Long
256a93235b fix: work around to fix changeset (#2260) 2023-07-12 11:40:00 +02:00
renovate[bot]
6deb0c3144 chore(deps): update dependency @types/jest to v29.5.2 (#2257)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 10:18:22 +02:00
Guilherme Ribeiro
f189f4eede Adding Storybook as dev playground (#1934)
* feat: draft

* feat: cleaned up

* feat: converted some files to ts

* fix: redirect result + typescript

* feat: cleaned up server

* feat: adding some stories

* feat: more changes

* feat: small adjustments

* feat: removed docs. cleaned preview

* feat: cleanup

* feat: clean up types

* feat: adding to window object

* feat: global loaders

* feat: added type to loaded checkout

* feat: storybook 7 + vite

* feat: cleanup deps not used by vite or storybook

* feat: removing unused import

* Update main.ts

* feat: webpack5

* feat: attempt to update packages

* refactor: move storybook to lib

* refactor: use rollup.dev.config.js

* refactor: redirect story fix and add a11y check

* refactor: rename story

* refactor: split rollup config

* refactor(storybook-config): use dev rollup config

* remove playground-storybook folder

* some fix

* run storybook https

* rebase main resolve conflicts

* add mirrored rollup dev plugins to vite

* correct postcss.config.js path

* fix returnUrl

* refactor: remove unused code and add types

* feat: cleaning up

---------

Co-authored-by: Yu Long <longyu901009@gmail.com>
2023-07-11 16:16:36 +02:00
renovate[bot]
f5af3e1f5f chore(deps): update dependency stylelint to v15.10.1 [security] (#2255)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-10 16:19:16 +02:00
github-actions[bot]
24bac0cf35 [ci] release main (#2247)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-10 14:25:55 +02:00
António Ferreira
8736b76598 fix misisng changesets for a11y PRs (#2256) 2023-07-10 14:08:07 +02:00
António Ferreira
c462338a62 fixes alt text for card brands (#2253) 2023-07-10 12:42:03 +02:00
sponglord
12b9356a50 Feature/render iframe labels as divs (#2251)
* Render labels for Card iframes as divs with aria-hidden="true"

* Improved comment in env.default
2023-07-10 12:40:50 +02:00
Yu Long
7a00584804 fix: autofocus the qr code subtitle (#2246) 2023-07-07 14:55:10 +02:00
sponglord
d571d916e9 Feature/field without implicit association (#2243)
* Field without implicit association

* if Field config prop, useLabelElement=false, instead of a label element it renders nothing, by default

* Field passes addContextualElement prop on to children. Checkbox can use this to not add an aria-describedby

* Fixed one e2e test that fails due to changes with Field module

* Fixed some e2e tests that were failing for reasons not related to this PR

* Undo accidental commits

* Added missing name prop on deprecated PhoneInput component

* Adding changeset file
2023-07-05 11:42:04 +02:00
Yu Long
8ce43d1be5 refactor: sr panel and provider type definitions (#2217) 2023-07-04 17:23:12 +02:00
github-actions[bot]
36d3bd95be [ci] release main (#2245)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-03 13:42:27 +02:00
Yu Long
f3249570c2 feat: add form instruction (#2241) 2023-07-03 13:06:57 +02:00
Yu Long
c34fdfbffc fix: put the NODE_ENV back in the package.json (#2242) 2023-06-29 13:30:11 +02:00
github-actions[bot]
347424d3e9 [ci] Release main (#2227)
* [ci] release main

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: António Ferreira <m1aw@users.noreply.github.com>
2023-06-28 11:40:05 +02:00
António Ferreira
ed59983725 Updates languages for addressLookup and QR code (#2239)
* updates languages for addressLookup and QR code

* change + to be in the code

* fix error.va.sf-cc-cvc.02

* add changeset
2023-06-28 11:05:31 +02:00
sponglord
78de2ef838 Merge pull request #2240 from gcatanese/contact-support-link
Correct link
2023-06-28 11:00:07 +02:00
Beppe Catanese
e6ad4ebcf6 Correct link 2023-06-28 07:44:22 +02:00
sponglord
70aea2fa4b Merge pull request #2238 from Adyen/fix/add_changeset_for_3DS2_fix
Adding changeset file
2023-06-26 17:32:17 +02:00
Yu Long
6143add567 Fix: update sr panel on payment status for dropin and QR count down (#2236) 2023-06-26 16:46:37 +02:00
nicholas
6388351854 Adding changeset file 2023-06-26 16:17:09 +02:00
sponglord
f0cb34e99a Merge pull request #2231 from sarobrien/main
feat: remove threeDSServerTransID check in challenge component
2023-06-26 12:25:19 +02:00
vagrant
4f167b4553 feat: remove threeDSServerTransID check in challenge component 2023-06-21 07:57:23 -05:00
Guilherme Ribeiro
86709679e3 Fix for passing amount and currency to telemetry (#2219)
* feat: fixed analytis

* fix: removing log

* feat: changeset
2023-06-20 09:43:54 +02:00
Yu Long
adf4b6b1f5 refactor: split rollup config (#2222) 2023-06-19 17:07:54 +02:00
sponglord
76f04e70af Merge pull request #2224 from Adyen/changeset-release/main
[ci] Release main
2023-06-19 11:30:42 +02:00
github-actions[bot]
2ba6d9d34f [ci] release main 2023-06-16 08:22:11 +00:00
Guilherme Ribeiro
6e60d24f48 PayPal - Adding isExpress flag (#2220) 2023-06-16 10:21:09 +02:00
github-actions[bot]
d6c658d770 [ci] release main (#2214)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-14 16:56:15 +02:00
António Ferreira
b283a98f7e feature: onAddressLookup (#2151)
* adds initial work for onAddressLookup

* adds onSelect functionality

* Update dependency filesize to v10.0.7 (#2146)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency @types/jest to v29.5.1 (#2150)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* 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

* chore: format all files with eslint and prettier (#2152)

* Update dependency eslint-plugin-testing-library to v5.10.3 (#2154)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* 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

* Update dependency html-webpack-plugin to v5.5.1 (#2158)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* 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>

* Update dependency jest-mock-extended to v3.0.4 (#2159)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Added name property to Sepa ownerName & ibanNumber fields

* 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>

* Add a paymentMethodVariants array to the object sent to the onBinLookup callback

* 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

* Release 5.43.0 (#2164)

* Update dependency postcss to v8.4.23 (#2160)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency webpack-cli to v5.0.2 (#2161)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Field comp stops using div element inside the label

* chore(deps): update dependency prettier to v2.8.8 (#2167)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency webpack-dev-server to v4.13.3 (#2168)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint to v8.39.0 (#2171)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency sass to v1.62.1 (#2172)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency preact to v10.13.2 (#2048)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency webpack to v5.81.0 (#2176)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency stylelint to v15.6.0 (#2175)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Adjusting types of CoreOptions (#1987)

* feat: adjusting types

* feat: fixed more types

* feat: clean up

* chore(deps): update typescript-eslint monorepo to v5.59.1 (#2179)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* 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>

* Bumping sf version to 4.5.0

* Set static type on SRPanel comp

* Remove aria-hidden attribute on brand icon

* Click to Pay - Adding safeguard check when Shopper checkout with default Card component (#2180)

* 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

* fix: Add onOrderCancel to CoreOptions (#2193)

* add onOrderCancel to CoreOptions

* fixed order type

* finilizes the UI design of address lookup

* finalized implementation of address lookup

* fix build

* fix data setting issue

* fix validation not triggering

* fix edge cases for invalid lists

* cleans list on select

* cleaned up playground

* adds changeset

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Guilherme Ribeiro <guilhermemrr@gmail.com>
Co-authored-by: Yu Long <longyu901009@gmail.com>
Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com>
Co-authored-by: nicholas <nicholas.spong@adyen.com>
2023-06-14 16:29:29 +02:00
Guilherme Ribeiro
e59c0fa2c7 Typescript - Disabling stripInternal feature (#2213)
* fix: not letting internals be removed

* fix: added changeset. removed property
2023-06-13 13:14:32 +02:00
Yu Long
85d98530d9 fix(gift-card): inconsistency custom logo display (#2215) 2023-06-12 10:59:42 +02:00
Yu Long
33fb6e1e21 fix: change meal voucher label Pin to Security code (#2210) 2023-06-12 10:42:49 +02:00
sponglord
5782f16413 Feature/improve brazilian postcode validation (#2211)
* Better regex & error message for validation/formatting of Brazilian post codes

* added changeset file

* Switch to String.substring to calculate maxlengths for post code formats. Fixed e2e tests
2023-06-09 19:04:34 +02:00