github remirror/remirror @remirror/react@1.0.21

2022-01-11

Patch Changes

  • Deprecate getTheme and getThemeProps in favour of new methods getThemeVar and getThemeVarName.

    This removes a code path that used an ES6 Proxy, which cannot be polyfilled.

    getTheme((t) => t.color.primary.text) => `var(--rmr-color-primary-text)`
    
    getThemeProps((t) => t.color.primary.text) => `--rmr-color-primary-text`
    
    getThemeVar('color', 'primary', 'text') => `var(--rmr-color-primary-text)`
    
    getThemeVarName('color', 'primary', 'text') => `--rmr-color-primary-text`
    
  • Updated dependencies []:

    • @remirror/extension-react-tables@1.0.21
    • @remirror/extension-placeholder@1.0.15
    • @remirror/extension-positioner@1.1.14
    • @remirror/preset-react@1.0.16
    • @remirror/react-components@1.0.20
    • @remirror/react-core@1.0.19
    • @remirror/react-hooks@1.0.20

Don't miss a new remirror release

NewReleases is sending notifications on new releases.