Skip to content

Wicara 0.8.0 - Alpha 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@resir014 resir014 released this 09 Dec 04:42
· 147 commits to next since this release
v0.8.0-canary.0
8ce0767

Introducing a new alpha release of Wicara! This new release sees various major changes as a foundation to help shape the future of Wicara past this minor release.

Installation

Wicara 0.8 requires styled-components v4+. First, install the next version of the core Wicara package and styled-components.

# yarn
$ yarn add styled-components @wicara/core@next

# npm
$ npm install --save styled-components @wicara/core@next

Then, you will need to apply the style resets + theme provider. Wrap your app inside the WicaraReset to use the resets and ThemeProvider component provided by Wicara.

import { WicaraReset } from '@wicara/core';

export default function MyApp({ children }) {
  return <WicaraReset>{children}</WicaraReset>;
}

New features

  • Rewritten from the ground up using styled-components and styled-system.
  • New foundational components for improved flexibility and composability.
  • Simplified to just 2 components: @wicara/core for all core components and @wicara/fonts for additional fonts.
    • Code-splitting is still available since we still publish an ES Module version of the package.
  • Revamped many of the components inside.

Docs

Read the README on the next branch for detailed installation + usage guides. We also provide a completely-updated documentation on Storybook here. Open the "Notes" tab for guide on the corresponding component.

Migration guide

We're planning to write a detailed migration guide as we continue work on the alpha of Wicara 0.8. Stay tuned!