Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Nov 14, 2024
  2. Sep 13, 2024
    • Nicolò Pretto's avatar
      first iteration to scope sdk styles to our components (#47764) · e07e28ee
      Nicolò Pretto authored
      
      * 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: default avatarMahatthana (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: default avatarMahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
      Unverified
      e07e28ee
  3. Aug 09, 2024
  4. Jul 18, 2024
  5. May 21, 2024
  6. May 17, 2024
  7. May 15, 2024
    • Phoomparin Mano's avatar
      Support basic theming in interactive data tables for embedding SDK (#42411) · c16ff2be
      Phoomparin Mano authored
      * support theming in table
      
      * theme injection with hoc
      
      * reasonable default theme options
      
      * customizable text color
      
      * theming table header
      
      * table theming
      
      * change theme configuration order
      
      * apply sorted cell color directly
      
      * gutter background
      
      * remove header theming for now
      
      * fix: id column styling
      
      * id column borders
      
      * border color
      
      * add cell hover color
      
      * conditional hover color
      
      * use brand color to accent
      
      * add default theme values to unit test
      
      * cell background should default to white
      
      * update unit test
      
      * remove unused properties
      
      * remove duplicated color declaration as inner cell data styles it
      
      * remove duplicate fallback
      
      * remove unused use-embedding-theme hook
      
      * use theme color from Mantine for css variables
      
      * update defaults
      
      * inject default component theme
      
      * add notes on cell data theme
      
      * update unit tests
      
      * update unit tests
      
      * remove no-op text-brand hover color
      
      * remove no-op is sorted cell color
      Unverified
      c16ff2be
  8. May 08, 2024
  9. May 03, 2024
    • Phoomparin Mano's avatar
      Define public metabase theme and Mantine transformer for embedding SDK (#42207) · 8e96f386
      Phoomparin Mano authored
      * public metabase theme type
      
      * add tests for transforming embedding theme
      
      * export public types
      
      * load transformed theme override into theme provider
      
      * migrate font family inside theme configuration
      
      * add assertion for font family
      
      * update README to add font family in theme options
      
      * add font enum, fix tuple type and cleanup tests
      
      * color tuple argument name
      
      * use fill for colortuple
      Unverified
      8e96f386
Loading