Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge #1

Merged
merged 453 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
453 commits
Select commit Hold shift + click to select a range
d0e9c66
Merge branch 'main' into issue/2839
stephanschroeter Nov 15, 2023
b514079
test(components-js): add chunks and icons links | hj | #fix-flaky-vrt
henrijoss Nov 15, 2023
06e69c7
Merge branch 'main' into housekeeping/fix-flaky-vrt
henrijoss Nov 15, 2023
db923c0
test(components-js): add button threshold config | hj | #fix-flaky-vrt
henrijoss Nov 15, 2023
90d55a1
feat(components-js): set theme and dir dynamically | hj | #fix-flaky-vrt
henrijoss Nov 15, 2023
ad5568e
test(components-js): set theme and dir with searchParams | hj | #fix-…
henrijoss Nov 15, 2023
d0e783b
fix(component-js): build error, caused by chunk splitting | sas / bh …
stephanschroeter Nov 15, 2023
c15c79a
feat(components-js): adds chunk and icon links | hj | #fix-flaky-vrt
henrijoss Nov 15, 2023
5960d59
feat(components-js): adds replace scripts for chunk and icon links | …
henrijoss Nov 15, 2023
75cc8ee
feat(components-js): add light class | hj | #fix-flaky-vrt
henrijoss Nov 15, 2023
50afc27
feat(components-js): remove appending of links | hj | #fix-flaky-vrt
henrijoss Nov 15, 2023
752eaa5
feat(components-js): update links | hj | #fix-flaky-vrt
henrijoss Nov 15, 2023
5eb929e
feat(components-js): add scripts for playwright tests | hj | #fix-fla…
henrijoss Nov 15, 2023
ce955fb
feat: add scripts for playwright vrt tests | hj | #fix-flaky-vrt
henrijoss Nov 15, 2023
7213a6b
feat(docker): extend script for other playwright vrt tests | hj | #fi…
henrijoss Nov 15, 2023
6da91b5
ci: split playwright vrt into multiple jobs | hj | #fix-flaky-vrt
henrijoss Nov 15, 2023
31fc97e
fix(component): build error for dsr components | sas / bh | #2839
stephanschroeter Nov 15, 2023
8026e57
ci: split playwright vrt into multiple jobs | hj | #fix-flaky-vrt
henrijoss Nov 15, 2023
246250c
ci: split playwright vrt into multiple jobs | hj | #fix-flaky-vrt
henrijoss Nov 15, 2023
5a723d5
test(components-js): remove processing of args | hj | #fix-flaky-vrt
henrijoss Nov 15, 2023
784444c
fix(component): build error for dsr components | sas | #2839
stephanschroeter Nov 15, 2023
5a104b4
test(component-js): update chunk size fixture | sas | #2839
stephanschroeter Nov 15, 2023
54bb874
feat(components): improve text color for select-wrapper-dropdown | sa…
stephanschroeter Nov 15, 2023
3264dcc
test(components-js): update vrt fixtures | sas | #2839
stephanschroeter Nov 15, 2023
ea3aab4
fix(components): coloring for select-wrapper-dropdown | sas | #2839
stephanschroeter Nov 15, 2023
9ab370b
feat(components-remix): add reventScrollReset={true} for route change…
tatjana-mariella Nov 16, 2023
5c0a29e
fix(components): check if top style is already set | tg | #2886
tatjana-mariella Nov 16, 2023
d95f5ca
test(components-js): update e2e test for checkbox | sas | #2839
stephanschroeter Nov 16, 2023
23653d4
test(components-js): update fixtures | hj | #fix-flaky-vrt
henrijoss Nov 16, 2023
5c33ea8
test(components-js): update e2e test for radio-button-wrapper | sas /…
stephanschroeter Nov 16, 2023
4910031
test(components-js): update e2e test for select-wrapper | sas / oh | …
stephanschroeter Nov 16, 2023
86d6746
test(components-js): update e2e test for textarea-wrapper | sas / oh …
stephanschroeter Nov 16, 2023
70b0568
test(components-js): update fixtures | hj | #fix-flaky-vrt
henrijoss Nov 16, 2023
1c9e236
test(components-js): remove unused option & change viewport only in s…
henrijoss Nov 16, 2023
6b77c4d
test(components-js): remove unused option | hj | #fix-flaky-vrt
henrijoss Nov 16, 2023
31f7c6f
test(components-js): update e2e test for text-field-wrapper | sas / o…
stephanschroeter Nov 16, 2023
dde8c93
feat(components-js): add all component/icon links | hj | #fix-flaky-vrt
henrijoss Nov 16, 2023
c67419a
feat(components-js): revert changes | hj | #fix-flaky-vrt
henrijoss Nov 16, 2023
545d773
test(components-js): update e2e test for multi-select | sas / oh | #2839
stephanschroeter Nov 16, 2023
e1068a2
feat(components-js): add threshold to print vrts | hj | #fix-flaky-vrt
henrijoss Nov 16, 2023
3bec7ec
feat(components-js): resize only in scale mode | hj | #fix-flaky-vrt
henrijoss Nov 16, 2023
cde78cf
feat(components-js): revert | hj | #fix-flaky-vrt
henrijoss Nov 16, 2023
4f92ca5
feat(components-js): update fixture | hj | #fix-flaky-vrt
henrijoss Nov 16, 2023
a07a30b
feat(components-js): update fixtures | hj | #fix-flaky-vrt
henrijoss Nov 16, 2023
c4b0858
feat(components-js): update fixtures | hj | #fix-flaky-vrt
henrijoss Nov 16, 2023
d185de1
fix(components): native select syncing issues with multi-select | sas…
stephanschroeter Nov 16, 2023
9606311
feat(components-js): update fixtures | hj | #fix-flaky-vrt
henrijoss Nov 16, 2023
c147527
Merge branch 'main' into issue/1185
denyo Nov 16, 2023
d9c8ddd
feat(components-js): update fixtures | hj | #fix-flaky-vrt
henrijoss Nov 16, 2023
212601f
Merge branch 'main' into issue/2886
tatjana-mariella Nov 16, 2023
ae1d48a
test(components-js): update e2e test for multi-select | sas / hj | #2839
stephanschroeter Nov 16, 2023
4ca93eb
test(components-js): update e2e test for pin-code | sas / hj | #2839
stephanschroeter Nov 16, 2023
82d1595
test(components-js): update e2e test for default dom | sas | #2839
stephanschroeter Nov 16, 2023
98627f7
fix(components): filter of select-wrapper gets focused after click on…
stephanschroeter Nov 16, 2023
4d8c2f2
feat(components-js): skip flaky print components | hj | #fix-flaky-vrt
henrijoss Nov 16, 2023
47702fb
Merge branch 'main' into housekeeping/fix-flaky-vrt
henrijoss Nov 16, 2023
c621a6d
test(components): update style snapshots | sas | #2839
stephanschroeter Nov 16, 2023
2881218
test(component-meta): update snapshot | sas | #2839
stephanschroeter Nov 16, 2023
c932049
test(component-js): update vrt fixtures | sas | #2839
stephanschroeter Nov 16, 2023
c35b306
feat(components-remix/-nextjs): improve modal examples | tg | #2886
tatjana-mariella Nov 16, 2023
1d8678e
fix(components): set advanced scrollLock only for mobile Safari | tg …
tatjana-mariella Nov 16, 2023
fd28016
feat(components): improve generate dsr component script | sas | #2839
stephanschroeter Nov 16, 2023
9ab9805
feat(components): improve a11y for disabled label of form fields | sa…
stephanschroeter Nov 16, 2023
515c28b
test(components-react/nextjs): update vrt fixtures | sas | #2839
stephanschroeter Nov 16, 2023
2e7fa33
fix(components): fix a11y issue | sas | #2839
stephanschroeter Nov 16, 2023
e70acdd
test(components-js): update chunk size fixture | sas | #2839
stephanschroeter Nov 16, 2023
1edfdca
test(components-react/react-ssr-wrapper): update dsr snapshots | sas …
stephanschroeter Nov 16, 2023
cd035a5
feat(storefront): sync form components theme with storefront theme | …
stephanschroeter Nov 16, 2023
4065335
Merge branch 'main' into issue/2839
stephanschroeter Nov 16, 2023
ebbbe25
fix(components): a11y issue with pin-code | sas | #2839
stephanschroeter Nov 16, 2023
f1f3352
test(components-js): update a11y snapshot for pin-code | sas | #2839
stephanschroeter Nov 16, 2023
d3d4ad0
test(components): update setScrollLock tests, add remix preventScroll…
tatjana-mariella Nov 17, 2023
eb01249
test(components-react): add e2e test | tg | #2886
tatjana-mariella Nov 17, 2023
ae83b43
test(components-react): improve e2e test | tg | #2886
tatjana-mariella Nov 17, 2023
d893e86
test(components-js): update modal e2e tests | tg | #2886
tatjana-mariella Nov 17, 2023
722e1b6
test(components-remix): add e2e test | tg | #2886
tatjana-mariella Nov 17, 2023
92a5ece
feat(components-remix/-nextjs): minor improvements | tg | #2886
tatjana-mariella Nov 20, 2023
6740ef5
test(components-js): update flyout e2e tests | tg | #2886
tatjana-mariella Nov 20, 2023
5501757
feat(components): update changelog | tg | #2886
tatjana-mariella Nov 20, 2023
58f1855
feat(components-js): optionally match light and dark playground class…
henrijoss Nov 20, 2023
859baeb
feat(components-js): replace chunk and icons links with node script |…
henrijoss Nov 20, 2023
a1ed466
fix(components-js): remove optional match | hj | #fix-flaky-vrt
henrijoss Nov 20, 2023
bd17e1f
refactor(docker/components-js): cleanup & rename scripts | hj | #fix-…
henrijoss Nov 20, 2023
8d4a986
ci: rename workflows | hj | #fix-flaky-vrt
henrijoss Nov 20, 2023
8cffa55
refactor(components-nextjs): move modal example to paged directory | …
tatjana-mariella Nov 20, 2023
197cdfe
feat(components-remix/-nextjs): use type imports | tg | #2886
tatjana-mariella Nov 20, 2023
ebc39c4
refactor(components-remix): rename example | tg | #2886
tatjana-mariella Nov 20, 2023
60cf9de
feat(utilities): combine imports | tg | #2697
tatjana-mariella Nov 20, 2023
01667d6
fix(components-js): fix regex to tweak playgrounds | hj | #fix-flaky-vrt
henrijoss Nov 20, 2023
03e5a4b
feat(components-angular): add peerDependency for rxjs | bh | #1185
denyo Nov 20, 2023
f3ad704
refactor(components-angular): use theme subscription in BaseComponent…
denyo Nov 20, 2023
0dee330
feat(components-angular): add theme injection page | bh | #1185
denyo Nov 20, 2023
c27411f
feat(components-vue): add theme injection page | bh | #1185
denyo Nov 20, 2023
b33bf8c
fix(components-vue): use global theme as fallback | bh | #1185
denyo Nov 20, 2023
3304b07
Merge branch 'main' into issue/2697
tatjana-mariella Nov 20, 2023
2919774
feat(components-react): add theme injection page | bh | #1185
denyo Nov 20, 2023
6d229e8
Merge pull request #2834 from porsche-design-system/issue/2697
tatjana-mariella Nov 20, 2023
e5cd830
feat(components-js): remove separate threshold config | hj | #fix-fla…
henrijoss Nov 20, 2023
9c9c761
feat(components-js): add default threshold | hj | #fix-flaky-vrt
henrijoss Nov 20, 2023
26e12b8
feat(components-angular): align theme injection page with other frame…
denyo Nov 20, 2023
c9fc222
feat(components-react/nextjs): add theme injection page | bh | #1185
denyo Nov 20, 2023
1e81670
test(components-angular/react/vue): adjust provider e2e tests to user…
denyo Nov 20, 2023
5b840f0
Merge branch 'main' into issue/1185
denyo Nov 20, 2023
850dd82
feat(components-js): remove threshold config | hj | #fix-flaky-vrt
henrijoss Nov 20, 2023
8316b09
feat(components-js): remove playwright filter arg | hj | #fix-flaky-vrt
henrijoss Nov 20, 2023
48e69a8
Merge branch 'main' into housekeeping/fix-flaky-vrt
henrijoss Nov 20, 2023
f201235
Merge pull request #2872 from porsche-design-system/issue/1185
denyo Nov 20, 2023
b727bff
test(components): add describe block | tg | #2886
tatjana-mariella Nov 20, 2023
718d109
refactor(components): improve docs, destructuring | tg | #2886
tatjana-mariella Nov 20, 2023
f61628c
feat(components): update changelog | tg | #2886
tatjana-mariella Nov 20, 2023
4d5c7c2
feat(components-remix/next-js): rename examples | tg | #2886
tatjana-mariella Nov 20, 2023
c1afdbc
Merge branch 'main' into issue/2886
tatjana-mariella Nov 20, 2023
28faff7
fix(components-js): adjust regex to tweak playgrounds | hj | #fix-fla…
henrijoss Nov 20, 2023
4895ac9
Merge branch 'main' into housekeeping/fix-flaky-vrt
henrijoss Nov 20, 2023
b9e24e5
fix(components-js): adjust regex to tweak playgrounds | hj | #fix-fla…
henrijoss Nov 20, 2023
1401eff
fix(components-js): adjust regex to tweak playgrounds | hj | #fix-fla…
henrijoss Nov 20, 2023
16cc80b
fix(components-js): remove old threshold and add links | hj | #fix-fl…
henrijoss Nov 20, 2023
c70901d
test(components-next-js): try to fix e2e test | tg | #2886
tatjana-mariella Nov 21, 2023
d36d3df
test(components-next-js): try to fix e2e test | tg | #2886
tatjana-mariella Nov 21, 2023
ce1674f
feat(components-angular): add tabs-bar navigation demo | bh | #2868
denyo Nov 21, 2023
347e9dd
fix(components-remix): routes | tg | #2886
tatjana-mariella Nov 21, 2023
6904bef
test(components-remix): fix e2e test | tg | #2886
tatjana-mariella Nov 21, 2023
fcaa5bb
feat(components-angular): add tabs-bar navigation alternative demo | …
denyo Nov 21, 2023
bc05d53
feat(components-js): update initialStyles | bh | #2868
denyo Nov 21, 2023
fa21f54
refactor(components-angular): reorder imports, use self closing tags …
denyo Nov 21, 2023
a874b7f
fix(components): stop mutating activeTabIndex prop of tabs-bar | bh |…
denyo Nov 21, 2023
469d665
test(components): add unit tests for tabs-bar's setTabElements() | bh…
denyo Nov 21, 2023
68fe607
fix(components): bring back 2nd condition for tabs-bar button attribu…
denyo Nov 21, 2023
8d9f854
test(components-js): update stats.json fixture | bh | #2868
denyo Nov 21, 2023
1d2971b
test(components-angular): adjust examples e2e test | bh | #2868
denyo Nov 21, 2023
6987007
test(components-angular): add e2e test for tabs-bar navigation bug | …
denyo Nov 21, 2023
b8bd788
docs(components): update changelog | bh | #2868
denyo Nov 21, 2023
a2dc3c2
feat(components): remove label-styles2.ts | sas | #2839
stephanschroeter Nov 21, 2023
114646f
feat(components): remove const for slot name of pin-code and multi-se…
stephanschroeter Nov 21, 2023
bd80f4c
test(components): functional component styles are snapshoting css rat…
stephanschroeter Nov 21, 2023
8b4b5b9
feat(components): remove html prefix for id const's | sas | #2839
stephanschroeter Nov 21, 2023
6082b45
feat(components): rename css part for select-wrapper-dropdown | sas |…
stephanschroeter Nov 21, 2023
3b156e2
feat(components): improve css selector for label:hover | sas | #2839
stephanschroeter Nov 21, 2023
f6efc2a
feat(components): make css hover selector conditional for select | sa…
stephanschroeter Nov 21, 2023
c5ed59b
feat(components): change parameter order for form-styles | sas | #2839
stephanschroeter Nov 21, 2023
8dc4060
Merge branch 'main' into issue/2839
stephanschroeter Nov 21, 2023
c5dc6f8
test(components-react/react-ssr-wrapper): update snapshots | sas | #2839
stephanschroeter Nov 21, 2023
49c638f
feat(components-js): update index.html CSP hash | sas | #2839
stephanschroeter Nov 21, 2023
cd6e8fb
test(components-js): update chunk size fixture | sas | #2839
stephanschroeter Nov 21, 2023
c264ad9
refactor(components-js): import form package | hj | #fix-flaky-vrt
henrijoss Nov 22, 2023
5480407
refactor(components-js): replace icon & chunk links as part of build …
henrijoss Nov 22, 2023
a5cef09
refactor(components-js): change import | hj | #fix-flaky-vrt
henrijoss Nov 22, 2023
3126fc1
feat(components-js): remove accidental merge changes | hj | #fix-flak…
henrijoss Nov 22, 2023
dfa991a
refactor(components-js): improve regex & add comment | hj | #fix-flak…
henrijoss Nov 22, 2023
a9bcf53
feat(components-remix): add url to routes | tg | #2886
tatjana-mariella Nov 22, 2023
3c51751
fix(components-remix): meta tag | tg | #2886
tatjana-mariella Nov 22, 2023
d422015
test(components): improve test case naming | sas / bh | #2839
stephanschroeter Nov 22, 2023
9bd4459
Merge pull request #2896 from porsche-design-system/issue/2868
denyo Nov 22, 2023
b2937ba
Merge branch 'main' into housekeeping/fix-flaky-vrt
henrijoss Nov 22, 2023
c8cf1fe
feat(components): improve internal slot naming | sas | #2839
stephanschroeter Nov 22, 2023
e3b8172
refactor(components-js/angular/storefront): rename to injectPartials …
henrijoss Nov 22, 2023
bcee795
Merge branch 'main' into housekeeping/fix-flaky-vrt
henrijoss Nov 22, 2023
524b540
Merge remote-tracking branch 'origin/housekeeping/fix-flaky-vrt' into…
henrijoss Nov 22, 2023
d6aa11c
fix(components): improve scrollLock on mobile | tg | #2886
tatjana-mariella Nov 22, 2023
9cdd789
fix(components): reset input margin for multi-select for iOS Safari 1…
stephanschroeter Nov 22, 2023
a897651
fix(components): reset input margin for select-wrapper for iOS Safari…
stephanschroeter Nov 22, 2023
96fba6f
ci: log docker resources | hj / bh | #fix-flaky-vrt
henrijoss Nov 22, 2023
2fb0b5f
ci: log docker resources | hj / bh | #fix-flaky-vrt
henrijoss Nov 22, 2023
b98d66e
feat(components-angular/storefront): revert changes | hj | #fix-flaky…
henrijoss Nov 22, 2023
c1f2061
ci: log docker resources | hj / bh | #fix-flaky-vrt
henrijoss Nov 22, 2023
0613f1b
ci: log docker resources | hj / bh | #fix-flaky-vrt
henrijoss Nov 22, 2023
aecb059
fix(components): positioning issue in Firefox for select-wrapper-drop…
stephanschroeter Nov 22, 2023
32bd4c9
ci: log docker resources | hj / bh | #fix-flaky-vrt
henrijoss Nov 22, 2023
7aa30ea
ci: log docker resources | hj / bh | #fix-flaky-vrt
henrijoss Nov 22, 2023
ed081d2
ci: log docker resources | hj / bh | #fix-flaky-vrt
henrijoss Nov 22, 2023
38fce9b
ci: log docker resources | hj / bh | #fix-flaky-vrt
henrijoss Nov 22, 2023
ba2f9eb
feat(assets): log node resources | hj / bh | #fix-flaky-vrt
henrijoss Nov 22, 2023
2be394a
feat(components-angular): revert changes | hj | #fix-flaky-vrt
henrijoss Nov 22, 2023
5fe21e4
ci: revert changes | hj | #fix-flaky-vrt
henrijoss Nov 22, 2023
0abd9b4
feat(assets): revert changes | hj | #fix-flaky-vrt
henrijoss Nov 22, 2023
1599523
feat(components-js): inject partials via node script | hj | #fix-flak…
henrijoss Nov 22, 2023
3e76c4b
test(components-js): update chunk size fixture | tg | #2886
tatjana-mariella Nov 22, 2023
481f7ce
Merge branch 'main' into issue/2886
tatjana-mariella Nov 22, 2023
d1ff4d4
feat(storefront): revert changes | hj | #fix-flaky-vrt
henrijoss Nov 22, 2023
62bccca
test(components-react/react-ssr-wrapper): update snapshots | sas | #2839
stephanschroeter Nov 22, 2023
3540134
Merge pull request #2889 from porsche-design-system/housekeeping/fix-…
henrijoss Nov 22, 2023
0938dd1
fix(components): prevent multiple runs of setScrollLock if already se…
tatjana-mariella Nov 22, 2023
15924ef
Revert "test(components-js): update chunk size fixture | tg | #2886"
tatjana-mariella Nov 22, 2023
1a34b87
Merge branch 'main' into issue/2886
tatjana-mariella Nov 22, 2023
dfba65b
Update packages/components-react/projects/nextjs/tests/e2e/helpers/pu…
tatjana-mariella Nov 22, 2023
b404de3
Update packages/components-react/projects/remix/tests/e2e/helpers/pup…
tatjana-mariella Nov 22, 2023
de10b73
feat(components-nextjs): render page via route object | tg | #2886
tatjana-mariella Nov 22, 2023
27b36db
feat(components-nextjs): align example with remix | tg | #2886
tatjana-mariella Nov 22, 2023
3f6ff5d
Merge branch 'issue/2886' of github.com:porsche-design-system/porsche…
tatjana-mariella Nov 22, 2023
cffa9de
fix(components): prevent multiple runs of setScrollLock if already se…
tatjana-mariella Nov 22, 2023
b6bde88
test(components-js): add assets mime-type test | hj | #2875
henrijoss Nov 22, 2023
f90deb5
feat(components): add -webkit-appearance css property for all relevan…
stephanschroeter Nov 22, 2023
03b9ad3
test(components-js): add e2e tests for flyout and modal for multiple …
tatjana-mariella Nov 22, 2023
a447d9f
Merge branch 'main' into issue/2839
stephanschroeter Nov 22, 2023
e08de6a
test(components-js): add assets mime-type test | hj | #2875
henrijoss Nov 22, 2023
552d8ae
feat(components): improve text-field-wrapper padding for iOS Safari 1…
stephanschroeter Nov 22, 2023
2b77dad
test(components-js): update chunk size fixture | sas | #2839
stephanschroeter Nov 22, 2023
76a6a92
test(components-js): update vrt fixture | sas | #2839
stephanschroeter Nov 22, 2023
aeb6a8f
test(components-js): add e2e tests for flyout and modal for multiple …
tatjana-mariella Nov 22, 2023
8901f62
feat(components/storefront): update changelog | hj | #2875
henrijoss Nov 22, 2023
4c0e89e
Merge pull request #2854 from porsche-design-system/issue/2839
stephanschroeter Nov 22, 2023
6922295
Merge branch 'main' into issue/2875
henrijoss Nov 22, 2023
332c3cb
Merge branch 'main' into issue/2886
tatjana-mariella Nov 23, 2023
fa9a006
Release Porsche Design System - Components (JS/Angular/React/Vue) v3.…
tatjana-mariella Nov 23, 2023
168cc8f
Revert "Release Porsche Design System - Components (JS/Angular/React/…
tatjana-mariella Nov 23, 2023
dcab0f3
test(components-nextjs/-remix): improve modal e2e tests | tg | #2886
tatjana-mariella Nov 23, 2023
6efa1cd
test(components-js): update chunk size fixture | tg | #2886
tatjana-mariella Nov 23, 2023
e12c6f9
feat(components/storefront): revert changes | hj | #2875
henrijoss Nov 23, 2023
78cb20c
test(components-js): improve test description | hj | #2875
henrijoss Nov 23, 2023
4bf933b
Release Porsche Design System - Components (JS/Angular/React/Vue) v3.…
tatjana-mariella Nov 23, 2023
311a5e4
test(components-js): add cors header test | hj | #2875
henrijoss Nov 23, 2023
af765c5
ci: extend build-and-test workflow by remix e2e tests | tg | #2886
tatjana-mariella Nov 23, 2023
0ae37ff
ci: extend build-and-test workflow by remix e2e tests | tg | #2886
tatjana-mariella Nov 23, 2023
a534e24
Merge branch 'issue/2886' of github.com:porsche-design-system/porsche…
tatjana-mariella Nov 23, 2023
e2f9897
feat(components-nextjs): minor improvements | tg | #2886
tatjana-mariella Nov 23, 2023
ff4bcb6
ci: reorder remix tests | tg | #2886
tatjana-mariella Nov 23, 2023
4595703
Merge pull request #2900 from porsche-design-system/issue/2875
henrijoss Nov 23, 2023
786b37a
Merge branch 'main' into issue/2886
tatjana-mariella Nov 23, 2023
7dbfab7
test(components-nextjs/-remix): fix flaky test | tg | #2886
tatjana-mariella Nov 23, 2023
8f8e6d1
test(components-nextjs/-remix): fix flaky test | tg | #2886
tatjana-mariella Nov 23, 2023
34e10ae
Merge pull request #2890 from porsche-design-system/issue/2886
tatjana-mariella Nov 23, 2023
862b8d4
Release Porsche Design System - Components (JS/Angular/React/Vue) v3.…
tatjana-mariella Nov 24, 2023
3ee0f2a
Merge pull request #2904 from porsche-design-system/release/component…
denyo Nov 24, 2023
bf5c3e8
feat(components): add prop submitButton | tg | #2836
tatjana-mariella Nov 27, 2023
e001efc
Merge branch 'main' into issue/2836
tatjana-mariella Nov 27, 2023
32d13d3
test(components-js): add prop submitButton examples to vrt page | tg …
tatjana-mariella Nov 27, 2023
0434168
test(components): add storefront example for prop submitButton | tg …
tatjana-mariella Nov 27, 2023
41272bb
feat(components): update changelog | tg | #2836
tatjana-mariella Nov 27, 2023
f8d8d7e
test(component-meta): update component meta snapshot | tg | #2836
tatjana-mariella Nov 27, 2023
8f8d3b8
test(components-js/-nextjs): update vrt snapshots | tg | #2836
tatjana-mariella Nov 27, 2023
bea8c47
feat(components): update changelog | tg | #2836
tatjana-mariella Nov 28, 2023
4873007
feat(components-js): adjust value of text-field-wrapper type search f…
tatjana-mariella Nov 28, 2023
43cbf25
feat(components): update submit-button storefront example | tg | #2836
tatjana-mariella Nov 28, 2023
37f3884
test(components-js/-nextjs): update vrt snapshots | tg | #2836
tatjana-mariella Nov 28, 2023
5251a55
Merge pull request #2908 from porsche-design-system/issue/2836
tatjana-mariella Nov 28, 2023
ccf4f52
fix(components): link pure alignLabel value | tg | #2871
tatjana-mariella Nov 28, 2023
feb399c
feat(components): remove border from accordion if used as a single it…
tatjana-mariella Nov 28, 2023
83def8d
feat(components-js): adjust vrt page | tg | #2871
tatjana-mariella Nov 28, 2023
f99388d
feat(components): update changelog | tg | #2871
tatjana-mariella Nov 28, 2023
e4bae20
test(components-js/-nextjs): update vrt snapshots | tg | #2871
tatjana-mariella Nov 28, 2023
ae33f1b
test(components-nextjs): update vrt snapshots | tg | #2871
tatjana-mariella Nov 28, 2023
23fe14b
test(components-react): update react-ssr-wrapper snapshot | tg | #2871
tatjana-mariella Nov 28, 2023
54c513e
refactor(components): use nested styles | tg | #2871
tatjana-mariella Nov 29, 2023
f278e27
Merge pull request #2911 from porsche-design-system/issue/2871
tatjana-mariella Nov 29, 2023
24897c1
test(components): add generic unit test for host display style | bh |…
denyo Nov 29, 2023
6149f4f
feat(components): remove !important key word from display css propert…
denyo Nov 29, 2023
5c30468
docs(components): update changelog | bh | #2810
denyo Nov 29, 2023
3673fc8
test(components-react/react-ssr-wrapper): update react-ssr-wrapper sn…
denyo Nov 29, 2023
a6f34f7
Merge pull request #2913 from porsche-design-system/issue/2810
denyo Nov 30, 2023
57e24e9
Merge branch 'local-branch' into main
chbinousamy Dec 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
59 changes: 55 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ jobs:
with:
name: components-js-vrt-puppeteer-regression
path: ./packages/components-js/tests/vrt/puppeteer/results
components-js-vrt-playwright:
name: 'Components JS VRT (Playwright)'
components-js-common-vrt-playwright-chrome:
name: 'Components JS VRT Common (Playwright Chrome)'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
Expand All @@ -182,12 +182,58 @@ jobs:
uses: ./.github/actions/docker-run-playwright
with:
entrypoint: run-test-vrt-playwright
args: --components-js
args: --components-js:chrome:common
- name: 'VRT Regression (Playwright)'
if: failure()
uses: actions/upload-artifact@v3
with:
name: components-js-vrt-common-playwright-chrome-regression
path: ./packages/components-js/tests/vrt/playwright/results
components-js-custom-states-vrt-playwright-chrome:
name: 'Components JS VRT Custom/States (Playwright Chrome)'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
- name: 'Setup and install'
uses: ./.github/actions/setup-and-install
with:
github-token: ${{ secrets.github-token }}
- name: 'Build assets, component-meta, components, components-js, shared and utilities'
uses: ./.github/actions/build-components-js
- name: 'VRT Test (Playwright)'
uses: ./.github/actions/docker-run-playwright
with:
entrypoint: run-test-vrt-playwright
args: --components-js:chrome:customAndStates
- name: 'VRT Regression (Playwright)'
if: failure()
uses: actions/upload-artifact@v3
with:
name: components-js-vrt-playwright-regression
name: components-js-vrt-custom-states-playwright-chrome-regression
path: ./packages/components-js/tests/vrt/playwright/results
components-js-vrt-playwright-safari:
name: 'Components JS VRT (Playwright Safari)'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
- name: 'Setup and install'
uses: ./.github/actions/setup-and-install
with:
github-token: ${{ secrets.github-token }}
- name: 'Build assets, component-meta, components, components-js, shared and utilities'
uses: ./.github/actions/build-components-js
- name: 'VRT Test (Playwright)'
uses: ./.github/actions/docker-run-playwright
with:
entrypoint: run-test-vrt-playwright
args: --components-js:safari
- name: 'VRT Regression (Playwright)'
if: failure()
uses: actions/upload-artifact@v3
with:
name: components-js-vrt-playwright-safari-regression
path: ./packages/components-js/tests/vrt/playwright/results
components-angular:
name: 'Components Angular'
Expand Down Expand Up @@ -292,6 +338,11 @@ jobs:
with:
entrypoint: run-build
args: --components-react
- name: 'E2E Test components-react/remix'
uses: ./.github/actions/docker-run-playwright
with:
entrypoint: run-test-e2e
args: --components-react/remix
- name: 'VRT Test components-react/remix'
uses: ./.github/actions/docker-run-playwright
with:
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.5"

services:
design-system:
image: ghcr.io/porsche-design-system/porsche-design-system/playwright:v1.39.0-focal-test
image: ghcr.io/porsche-design-system/porsche-design-system/playwright:v1.39.0-focal-test2
working_dir: /opt/porsche-design-system-app
user: "${RUN_UID}:${RUN_GID}"
ports:
Expand Down Expand Up @@ -64,7 +64,7 @@ services:
- utilities-utilities-node-modules:/opt/porsche-design-system-app/packages/utilities/projects/utilities/node_modules
- utilities-styles-node-modules:/opt/porsche-design-system-app/packages/utilities/projects/styles/node_modules
change-volume-owner:
image: ghcr.io/porsche-design-system/porsche-design-system/playwright:v1.39.0-focal-test
image: ghcr.io/porsche-design-system/porsche-design-system/playwright:v1.39.0-focal-test2
volumes:
- home:/opt/porsche-design-system-volumes/home
- monorepo-node-modules:/opt/porsche-design-system-volumes/root-node_modules
Expand Down
1 change: 1 addition & 0 deletions docker/node/bin/run-test-e2e
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if
[[ "--components-angular" == "${1}" ]] ||
[[ "--components-react" == "${1}" ]] ||
[[ "--components-react/nextjs" == "${1}" ]] ||
[[ "--components-react/remix" == "${1}" ]] ||
[[ "--components-vue" == "${1}" ]] ||
[[ "--crawler" == "${1}" ]] ||
[[ "--storefront" == "${1}" ]]
Expand Down
5 changes: 4 additions & 1 deletion docker/node/bin/run-test-vrt-playwright
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ set -o errexit
set -o pipefail

if
[[ "--components-js" == "${1}" ]]
[[ "--components-js" == "${1}" ]] ||
[[ "--components-js:safari" == "${1}" ]] ||
[[ "--components-js:chrome:customAndStates" == "${1}" ]] ||
[[ "--components-js:chrome:common" == "${1}" ]];
then
yarn test:vrt:playwright:${1:2}
fi
2 changes: 1 addition & 1 deletion docker/node/build-and-push-base-image-playwright.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

REGISTRY=ghcr.io/chbinousamy/porsche-design-system
IMAGE=playwright
TAG=v1.39.0-focal-test
TAG=v1.39.0-focal-test2

docker pull $REGISTRY/$IMAGE:latest

Expand Down
2 changes: 2 additions & 0 deletions docs/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ Angular versions used to build any of its dependent libraries.
We are now on `Angular v15` after conformation of our consuming teams. Before upgrading to a new version, ensure all
consuming teams are already on the next major.

Helpful overview: https://angular.io/guide/versions#actively-supported-versions

### Affected dependencies:

- `typescript`
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,16 @@
"test:e2e:components-angular": "yarn --cwd ./packages/components-angular test:e2e",
"test:e2e:components-react": "yarn --cwd ./packages/components-react test:e2e",
"test:e2e:components-react/nextjs": "yarn --cwd ./packages/components-react/projects/nextjs test:e2e",
"test:e2e:components-react/remix": "yarn --cwd ./packages/components-react/projects/remix test:e2e",
"test:e2e:components-vue": "yarn --cwd ./packages/components-vue test:e2e",
"test:e2e:crawler": "yarn --cwd ./packages/crawler test:e2e",
"test:e2e:storefront": "yarn --cwd ./packages/storefront test:e2e",
"test:a11y:storefront": "yarn --cwd ./packages/storefront test:a11y",
"test:vrt:puppeteer:components-js": "yarn --cwd ./packages/components-js test:vrt:puppeteer",
"test:vrt:playwright:components-js": "yarn --cwd ./packages/components-js test:vrt:playwright",
"test:vrt:playwright:components-js:chrome:common": "yarn --cwd ./packages/components-js test:vrt:playwright:chrome:common",
"test:vrt:playwright:components-js:chrome:customAndStates": "yarn --cwd ./packages/components-js test:vrt:playwright:chrome:customAndStates",
"test:vrt:playwright:components-js:safari": "yarn --cwd ./packages/components-js test:vrt:playwright:safari",
"test:vrt:components-angular": "yarn --cwd ./packages/components-angular test:vrt",
"test:vrt:components-react": "yarn --cwd ./packages/components-react test:vrt",
"test:vrt:components-react/nextjs": "yarn --cwd ./packages/components-react/projects/nextjs test:vrt",
Expand Down
23 changes: 16 additions & 7 deletions packages/component-meta/scripts/generateComponentMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,12 @@ const generateComponentMeta = (): void => {
propValue === 'true'
? true
: propValue === 'false'
? false
: // undefined values get lost in JSON.stringify, but null is allowed
propValue
?.replace(/^['"](.*)['"]$/, '$1') // propValue is a string and might contain a string wrapped in quotes since it is extracted like this
.replace(/\s+/g, ' ') // remove new lines and multiple spaces
.replace(/,( })/, '$1') || null; // remove trailing comma in original multiline objects
? false
: // undefined values get lost in JSON.stringify, but null is allowed
propValue
?.replace(/^['"](.*)['"]$/, '$1') // propValue is a string and might contain a string wrapped in quotes since it is extracted like this
.replace(/\s+/g, ' ') // remove new lines and multiple spaces
.replace(/,( })/, '$1') || null; // remove trailing comma in original multiline objects

if (typeof cleanedValue === 'string') {
if (cleanedValue.match(/^\d+$/)) {
Expand Down Expand Up @@ -470,7 +470,16 @@ const generateComponentMeta = (): void => {
}

// named slots
const namedSlots = Array.from(source.matchAll(/<slot name="([a-z]+)"/g)).map(([, slotName]) => slotName);
const namedSlots = Array.from(source.matchAll(/<slot name="((?!internal-)[a-z-]+?)"/g)).map(
([, slotName]) => slotName
);

if (source.includes('<Label')) {
namedSlots.push('label');
}
if (/<Label[\s\S]+?description/.test(source)) {
namedSlots.push('description');
}
if (source.includes('<StateMessage')) {
namedSlots.push('message');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,7 @@ exports[`should match snapshot 1`] = `
"namedSlots": [
"header",
"footer",
"sub-footer",
],
"nestedComponents": [
"p-button-pure",
Expand Down Expand Up @@ -2094,12 +2095,11 @@ exports[`should match snapshot 1`] = `
"namedSlots": [
"label",
"description",
"select",
"message",
],
"nestedComponents": [
"p-button-pure",
"p-icon",
"p-button-pure",
],
"props": {
"description": null,
Expand Down Expand Up @@ -3358,6 +3358,7 @@ exports[`should match snapshot 1`] = `
"error",
"success",
],
"submitButton": "boolean",
"theme": [
"light",
"dark",
Expand Down Expand Up @@ -3411,6 +3412,7 @@ exports[`should match snapshot 1`] = `
"showCounter": true,
"showPasswordToggle": true,
"state": "none",
"submitButton": true,
"theme": "light",
"unit": null,
"unitPosition": "prefix",
Expand Down
2 changes: 1 addition & 1 deletion packages/components-angular/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"styles": ["@porsche-design-system/shared/css/styles.css"],
"inlineStyleLanguage": "scss",
"scripts": [],
"indexTransform": "./scripts/transformIndexHtml.js"
"indexTransform": "./scripts/injectPartials.js"
},
"configurations": {
"production": {
Expand Down
4 changes: 2 additions & 2 deletions packages/components-angular/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const path = require('path');
const fs = require('fs');
const globby = require('globby');
const transformIndexHtml = require('./scripts/transformIndexHtml');
const injectPartials = require('./scripts/injectPartials');

if (process.env.CI) {
// using chrome that comes with playwright
Expand All @@ -23,7 +23,7 @@ const injectPartialsIntoKarmaContextHtml = () => {

fs.copyFileSync(filePath, backupFilePath); // create backup
const fileContent = fs.readFileSync(filePath, 'utf8');
const modifiedFileContent = transformIndexHtml({}, fileContent);
const modifiedFileContent = injectPartials({}, fileContent);
fs.writeFileSync(filePath, modifiedFileContent);
};
injectPartialsIntoKarmaContextHtml();
Expand Down
2 changes: 1 addition & 1 deletion packages/components-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@angular/platform-browser": "^15.2.10",
"@angular/platform-browser-dynamic": "^15.2.10",
"@angular/router": "^15.2.10",
"@porsche-design-system/components-angular": "3.8.0",
"@porsche-design-system/components-angular": "3.9.0",
"angular-imask": "^6.6.3",
"imask": "^7.1.3",
"rxjs": "^7.8.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@porsche-design-system/components-angular",
"version": "3.8.0",
"version": "3.9.0",
"description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
"keywords": [
"porsche",
Expand All @@ -17,12 +17,13 @@
"license": "SEE LICENSE IN LICENSE",
"homepage": "https://designsystem.porsche.com",
"dependencies": {
"@porsche-design-system/components-js": "3.8.0",
"@porsche-design-system/components-js": "3.9.0",
"tslib": "^2.6.1"
},
"peerDependencies": {
"@angular/common": ">=15.0.0 <18.0.0",
"@angular/core": ">=15.0.0 <18.0.0"
"@angular/core": ">=15.0.0 <18.0.0",
"rxjs": "^6.5.3 || ^7.4.0"
},
"exports": {
"./jsdom-polyfill": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,40 @@
import { ModuleWithProviders, NgModule, Optional } from '@angular/core';
import { DECLARATIONS } from './lib/components/barrel';
import { inject, type ModuleWithProviders, NgModule, Optional } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
import { load } from '@porsche-design-system/components-js';
import { DECLARATIONS } from './lib/components/barrel';
import type { Theme } from './lib/types';
import { THEME_TOKEN } from './utils';

export type PorscheDesignSystemModuleConfig = {
prefix?: string;
cdn?: 'auto' | 'cn';
theme?: Theme;
};

export class DefaultConfig implements PorscheDesignSystemModuleConfig {
prefix = '';
theme: 'light'; // since theme exists on almost every component, it is defined here kind of like a global prop
// other component configurations should probably go into a separate `components`, `componentProps` or `componentDefaults`
// property similar to https://mui.com/material-ui/customization/theme-components/
}

// TODO: unit tests are missing
@NgModule({
declarations: DECLARATIONS,
exports: DECLARATIONS,
providers: [
{
provide: THEME_TOKEN,
useValue: new BehaviorSubject('light'),
},
],
})
export class PorscheDesignSystemModule {
private theme$ = inject(THEME_TOKEN);

constructor(@Optional() configParam: DefaultConfig) {
const configs = (configParam || ([new DefaultConfig()] as unknown)) as PorscheDesignSystemModuleConfig[];
const configs = (configParam as unknown as DefaultConfig[]) || [new DefaultConfig()];
this.theme$.next(configs[0].theme || 'light'); // first config sets the theme
configs.forEach(load);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export { componentsReady } from '@porsche-design-system/components-js';
export * from './lib/components/barrel';
export * from './lib/types';
export { PorscheDesignSystemModule } from './porsche-design-system.module';
export type { PorscheDesignSystemModuleConfig } from './porsche-design-system.module';
export { PorscheDesignSystemModule, type PorscheDesignSystemModuleConfig } from './porsche-design-system.module';
export { THEME_TOKEN } from './utils';
export { ToastManager } from './toast-manager';
Loading
Loading