-
Notifications
You must be signed in to change notification settings - Fork 32
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
chore: removes replaceHydrationFunction #2671
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
packages/dnb-eufemia/src/components/autocomplete/Autocomplete.js
Outdated
Show resolved
Hide resolved
9ede80d
to
c369e77
Compare
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit f1a1808:
|
c369e77
to
773d8a3
Compare
packages/dnb-eufemia/src/components/autocomplete/Autocomplete.js
Outdated
Show resolved
Hide resolved
d9c9312
to
790d932
Compare
790d932
to
e50aac7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No more changes than that? Nice 💎
e50aac7
to
1b00764
Compare
1b00764
to
0c8accb
Compare
0c8accb
to
26a0ccf
Compare
26a0ccf
to
556a13e
Compare
Yes, its probably again the useMedia hook. We need to make a fix there! |
I think for this specific component |
0dae141
to
b9a24d7
Compare
b9a24d7
to
b65950f
Compare
code = code.replace(/\s+data-visual-test="[^"]*"/g, '') // remove test data | ||
code = code.replace(/ +{\.+visualTestProp.*}\n/g, '') // remove test data | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⏰ TODO: I'll probably end up reverting this, or finding a better way of realizing the same as above. ⏰
40c8ef8
to
25df6fd
Compare
3bb6635
to
4a6b9dc
Compare
packages/dnb-eufemia/src/shared/__tests__/VisibilityByTheme.test.tsx
Outdated
Show resolved
Hide resolved
4a6b9dc
to
3343e01
Compare
78688c6
to
f1a1808
Compare
## [10.19.0](v10.18.0...v10.19.0) (2024-01-22) ### 🐛 Bug Fixes * **Autocomplete:** replace existing aria-live handling with the AriaLive component ([#3258](#3258)) ([0ec06ca](0ec06ca)) * **Breadcrumb:** fix rehydration disturbance ([#3254](#3254)) ([dcf3a8b](dcf3a8b)), closes [#2762](#2762) [#2671](#2671) * **DrawerList:** update original data when data prop changes ([#3247](#3247)) ([d1b03c2](d1b03c2)) * **Field:** show error state without error object if parent FieldBlock has error ([#3225](#3225)) ([35fe238](35fe238)), closes [#2958](#2958) * **Flex.Container:** ensure rowGap=false has effect ([#3242](#3242)) ([e18ddfd](e18ddfd)) * **forms:** rename `contents` to `content` ([#3257](#3257)) ([2c9a397](2c9a397)) * **Input:** should not clear input value with escape key ([#3235](#3235)) ([979b3e3](979b3e3)) * **PhoneNumber:** handle pattern, schema and validator with country code ([#3249](#3249)) ([ed115d5](ed115d5)) * **Table.Accordion:** prevent accordion from opening on label click ([#3228](#3228)) ([ee5014f](ee5014f)) * **Textarea:** correct outline to be inset ([#3237](#3237)) ([6433470](6433470)) ### ✨ Features * **AriaLive:** add new component ([#3217](#3217)) ([7c79a54](7c79a54)) * **Flex:** add `line-framed` to divider ([#3244](#3244)) ([1aa3338](1aa3338)), closes [#3242](#3242) [#3245](#3245) * **forms:** add labelDescription prop to fields (`labelSecondary` got removed) ([#3251](#3251)) ([00c278c](00c278c)), closes [#3209](#3209) [#3252](#3252) * **NumberUtils.format:** Only return object if returnAria: true ([#3262](#3262)) ([ca4315f](ca4315f)) * **Section:** add support for backgroundColor=transparent ([#3255](#3255)) ([07e1545](07e1545)) * **Textarea:** add characterCounter ([#3210](#3210)) ([5c9dde9](5c9dde9)), closes [#3217](#3217) * **TextCounter:** add new fragment used in Textarea ([#3250](#3250)) ([3093c28](3093c28)), closes [#3210](#3210)
f1a1808
to
8bab4f9
Compare
8bab4f9
to
f429be3
Compare
As part of supporting React v18(#2481)
replaceHydrationFunction
was added to combat some issues related to SSR in our portal. This PR removes this again.Related ticket: https://jira.tech.dnb.no/browse/EDS-476