Skip to content

Latest commit

 

History

History
243 lines (126 loc) · 9.92 KB

CHANGELOG.md

File metadata and controls

243 lines (126 loc) · 9.92 KB

@weave-design/theme-context-v1.0.0 (2023-02-22)

Bug Fixes

  • behavior: refactor context to eliminate childContextTypes errors (fcffd31)
  • change default theme LightGray -> WebLight (7d50a68)
  • Forcing semantic release by editing readmes (d39b61f)
  • manually bump version (169213d)
  • move theme-data to peer dependency (151e178)
  • security update for create-react-context (6bb8edf)
  • throws role missing warning when getting roles only (2c4bbf6)
  • unit testing (29a1a1b)
  • Update README usage (b1db70d)

Code Refactoring

  • Major Release - React 17 Upgrade (2523711)

Features

  • add React18 support move namespace (53a8785)
  • console warn about use of deprecated roles (5b85653)
  • make light gray the default theme (21b9da2)
  • update theme-data peerDep (f35fce7)
  • updating peer dependencies release (0a8a2b6)
  • use createContext from React (8a283ef)

Reverts

  • "Revert "Revert "feat : Migrate all repository to React v17.0 """ (bf78986)

BREAKING CHANGES

  • This release includes upgrading to React 17 and all associated libraries. The components have also had structural changes, utilizing stateless components and hooks. There should be no change in look or behavior of components. The code usage is the same so if you’re already on react 17 you can bump the version directly. If you’re on an old version of react you’ll need to upgrade your project’s react first to 17 and then the HIG components. This upgrade also means no more fixes for the react 15 version but it will still be available for download from NPM. You can fork the repo and make fixes with the older version if there is something critical past this release date.
  • web light replaced as the default theme, to get that theme back pass that theme from theme-data as via the value prop with ThemeContext.Provider
  • If you would like to continue using the HIG Light Gray theme now that it's no longer the default, you will need to specify that theme when you initialize the ThemeContext.Provider. For instance
import HIGLightTheme from "@hig/theme-data/build/json/lightGrayMediumDensityTheme/theme.json";

// ...

<ThemeContext.Provider value={HIGLightTheme}>
  <ThemeContext.Consumer>
    // ...
  </ThemeContext.Consumer>
</ThemeContext.Provider>

Features

  • update theme-data peerDep (f35fce7)

Features

  • use createContext from React (8a283ef)

Features

  • updating peer dependencies release (0a8a2b6)

Code Refactoring

  • Major Release - React 17 Upgrade (2523711)

BREAKING CHANGES

  • This release includes upgrading to React 17 and all associated libraries. The components have also had structural changes, utilizing stateless components and hooks. There should be no change in look or behavior of components. The code usage is the same so if you’re already on react 17 you can bump the version directly. If you’re on an old version of react you’ll need to upgrade your project’s react first to 17 and then the HIG components. This upgrade also means no more fixes for the react 15 version but it will still be available for download from NPM. You can fork the repo and make fixes with the older version if there is something critical past this release date.

Bug Fixes

  • Forcing semantic release by editing readmes (d39b61f)

Reverts

  • "Revert "Revert "feat : Migrate all repository to React v17.0 """ (bf78986)

Bug Fixes

Bug Fixes

  • security update for create-react-context (6bb8edf)

Features

  • make light gray the default theme (21b9da2)

BREAKING CHANGES

  • web light replaced as the default theme, to get that theme back pass that theme from theme-data as via the value prop with ThemeContext.Provider

Bug Fixes

  • move theme-data to peer dependency (151e178)

Bug Fixes

  • throws role missing warning when getting roles only (2c4bbf6)

Bug Fixes

Features

  • console warn about use of deprecated roles (5b85653)

Bug Fixes

  • change default theme LightGray -> WebLight (7d50a68)

BREAKING CHANGES

  • If you would like to continue using the HIG Light Gray theme now that it's no longer the default, you will need to specify that theme when you initialize the ThemeContext.Provider. For instance
import HIGLightTheme from "@hig/theme-data/build/json/lightGrayMediumDensityTheme/theme.json";

// ...

<ThemeContext.Provider value={HIGLightTheme}>
  <ThemeContext.Consumer>
    // ...
  </ThemeContext.Consumer>
</ThemeContext.Provider>

Bug Fixes

@hig/theme-context-v1.0.0 (2018-10-30)

Bug Fixes

  • behavior: refactor context to eliminate childContextTypes errors (fcffd31)

@hig/themes-v0.4.0 (2018-09-26)

Features

  • Change theme data keys to non capitalized camel case (4693f7d)
  • Migrate all abbreviation tokens to uppercase (6a30ba5)

@hig/themes-v0.3.0 (2018-07-26)

Features

  • publish low and high density themes (ebe4b71)

@hig/themes-v0.2.1 (2018-07-19)

Bug Fixes

  • package: upgrade @hig/theme-data-poc to fix failed imports (0afb8f8)

@hig/themes-v0.2.0 (2018-07-18)

Features

  • themability: add exploratory themable components (7e3d70b)
  • themability: ThemeContext provides theme data (4778ea5)

@hig/themes-v0.1.3 (2018-07-06)

Bug Fixes

  • bundle: include dependency CSS (f5a4a62)

@hig/themes-v0.1.2 (2018-06-20)

Bug Fixes

  • bundle: Fix package bundles (a1b479d)