-
Notifications
You must be signed in to change notification settings - Fork 8
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
COM-85: Refactor Theming of Picker Components #1471
COM-85: Refactor Theming of Picker Components #1471
Conversation
Before importing `@emotion/styled` the following typescript error would occur when defining some styled-components, e.g. `Root` in `packages/admin/admin-date-time/src/dateRangePicker/DateRangePicker.slots.ts`: ```error TS2742: The inferred type of 'Root' cannot be named without a reference to '.pnpm/@emotion+styled@11.10.5_@babel+core@7.20.12_@emotion+react@11.9.3_@types+react@17.0.53_react@17.0.2/node_modules/@emotion/styled'. This is likely not portable. A type annotation is necessary. ```
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.
It would be better to have smaller PRs for separate components.
packages/admin/admin-color-picker/src/PreviewIndicatorColorProps.ts
Outdated
Show resolved
Hide resolved
Sorry, yes I agree. In this case it was a bit difficult, because they all used |
…ColorPicker.slots.ts`
No description provided.