-
- Downloads
first iteration to scope sdk styles to our components (#47764)
* first iteration to scope sdk styles to our components * basic css reset for buttons * clean up duplicated css * make sdk components use instance font if no font is passed * cleanin up and remove defaultProps not needed * fix tests * adds EMBEDDING_SDK_PORTAL_CONTAINER_ELEMENT_ID * Update enterprise/frontend/src/embedding-sdk/components/public/MetabaseProvider.tsx * Update enterprise/frontend/src/embedding-sdk/components/public/MetabaseProvider.tsx Co-authored-by:Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> * fix import * prettier --write * we don't need theme.fontFamily, added a comment * rename EMBEDDING_SDK_PORTAL_CONTAINER_ELEMENT_ID to EMBEDDING_SDK_PORTAL_ROOT_ELEMENT_ID * fix unit test --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
Showing
- enterprise/frontend/src/embedding-sdk/components/private/AppInitializeController.tsx 0 additions, 36 deletions...edding-sdk/components/private/AppInitializeController.tsx
- enterprise/frontend/src/embedding-sdk/components/private/PublicComponentStylesWrapper.tsx 23 additions, 0 deletions...g-sdk/components/private/PublicComponentStylesWrapper.tsx
- enterprise/frontend/src/embedding-sdk/components/private/SdkGlobalFontsStyles.tsx 36 additions, 0 deletions...embedding-sdk/components/private/SdkGlobalFontsStyles.tsx
- enterprise/frontend/src/embedding-sdk/components/private/SdkGlobalStylesWrapper.tsx 0 additions, 54 deletions...bedding-sdk/components/private/SdkGlobalStylesWrapper.tsx
- enterprise/frontend/src/embedding-sdk/components/private/SdkGlobalStylesWrapper.unit.spec.tsx 0 additions, 61 deletions...k/components/private/SdkGlobalStylesWrapper.unit.spec.tsx
- enterprise/frontend/src/embedding-sdk/components/private/SdkThemeProvider.tsx 5 additions, 4 deletions...src/embedding-sdk/components/private/SdkThemeProvider.tsx
- enterprise/frontend/src/embedding-sdk/components/public/MetabaseProvider.tsx 37 additions, 16 deletions.../src/embedding-sdk/components/public/MetabaseProvider.tsx
- enterprise/frontend/src/embedding-sdk/config.ts 1 addition, 0 deletionsenterprise/frontend/src/embedding-sdk/config.ts
- enterprise/frontend/src/embedding-sdk/lib/theme/default-component-theme.ts 27 additions, 2 deletions...nd/src/embedding-sdk/lib/theme/default-component-theme.ts
- enterprise/frontend/src/embedding-sdk/lib/theme/get-embedding-theme.ts 5 additions, 5 deletions...ontend/src/embedding-sdk/lib/theme/get-embedding-theme.ts
- enterprise/frontend/src/embedding-sdk/lib/theme/get-embedding-theme.unit.spec.ts 12 additions, 9 deletions.../embedding-sdk/lib/theme/get-embedding-theme.unit.spec.ts
- frontend/src/metabase/components/Popover/TippyPopover.tsx 3 additions, 2 deletionsfrontend/src/metabase/components/Popover/TippyPopover.tsx
- frontend/src/metabase/core/components/Tooltip/Tooltip.tsx 3 additions, 2 deletionsfrontend/src/metabase/core/components/Tooltip/Tooltip.tsx
- frontend/src/metabase/visualizations/components/TableInteractive/TableInteractive.jsx 2 additions, 2 deletions...izations/components/TableInteractive/TableInteractive.jsx
- frontend/test/__support__/ui.tsx 7 additions, 5 deletionsfrontend/test/__support__/ui.tsx
Loading
Please register or sign in to comment