Skip to content

Releases: raystack/apsara

v0.25.0

25 Nov 09:54
643a118
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.24.0...v0.25.0

v0.24.0

21 Nov 07:22
51485a6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.23.0...v0.24.0

v0.23.0

19 Nov 11:35
bae2a70
Compare
Choose a tag to compare

What's Changed

  • chore: mark old ThemeProvider as deprecated and export ThemeProvider from v1 by @rsbh in #175
  • Multiple fixes and refactor by @paanSinghCoder in #177
  • feat: add Flex and Text components by @rsbh in #176
  • fix: css variable name prefix by @rsbh in #178
  • feat: add empty state component by @rsbh in #179

Full Changelog: v0.22.0...v0.23.0

v0.22.0

18 Nov 10:26
d389c08
Compare
Choose a tag to compare

What's Changed

Moved the new components to raystack/v1/components by @paanSinghCoder

  • Adds below changes:
    • Button component
    • Spinner component
    • Breadcrumb component
    • Avatar component
    • Dropdown component
    • Toast component
    • New CSS variables
    • Theme provider
  • Moved the new components to raystack/v1/components . - - The old components also exists in their original places.
  • Add a file index.ts in raystack/v2 folder with exports like below:
export { Button } from './components/button'
// ... other v1 component exports
  • The index.tsx file in raystack folder exports above v2 components like below:
// old exports
...

// v1 exports
export * as v2 from "./v2"
  • All other changes that were there in v1 branch so far.
  • Add new CSS variables in raystack/v1/styles.
  • New rollup config to generate dist and dist/v1.
  • Style.css files (old and v1) are merged during build.

Migration guide

  • Update Apsara to v1.X.X to start using the new components.

  • New components should be imported like below:
    import { Button } from '@raystack/apsara/v1'

  • New components that are present in v1 are also present in old folder to avoid breaking existing code with deprecation notice.
    import { Button } from '@raystack/apsara -> This will work but throw a deprecation warning. It will be removed within next few releases.

  • Old and v1 styles are merged during the build. It has to be imported same as before in project top level:
    import "@raystack/apsara/style.css";

  • All new CSS variables have a --rs- prefix.

  • v1 components docs overwrites the old docs. This is done to discourage use of deprecated components.

  • All new components are marked with a New badge in docs along with docs for the old components which are yet to be migrated. The URL remains the same (will be updated after the release).

Known issues

  • There are a few ongoing issues with the docs. We use MDX for it and might move to Storybook in the future.

Full Changelog: v0.21.1...v0.22.0

v0.21.1

28 Oct 06:59
8277062
Compare
Choose a tag to compare

What's Changed

  • chore: Added export for Close from Popover of Radix Primitives by @neelduttahere in #165
  • feat: loading state and tooltip for specific dates in calendar component by @mahakmakharia in #166

Full Changelog: v0.21.0...v0.21.1

v0.21.0

11 Oct 06:32
4251504
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.20.4...v0.21.0

v0.20.4

11 Oct 05:35
cd0169e
Compare
Choose a tag to compare

What's Changed

  • Chore: Handle date conversion for wrong user inputs, and select text on textfield focus in date-picker by @singh-pk in #149
  • Style: Add new space vars: by @paanSinghCoder in #151
  • Fix: Fallback to full screen loader if onLoadMore is undefined by @paanSinghCoder in #158

Full Changelog: v0.20.2...v0.20.4

v0.20.2

26 Sep 11:23
52a1d2a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.20.1...v0.20.2

v0.20.3

30 Sep 08:50
c0ffd6d
Compare
Choose a tag to compare

What's Changed

  • fix: DatePicker outside click causing stale date updates by @singh-pk in #147

Full Changelog: v0.20.0...v0.20.3

v0.20.1

25 Sep 08:01
c0ffd6d
Compare
Choose a tag to compare

What's Changed

  • fix: DatePicker outside click causing stale date updates by @singh-pk in #147

Full Changelog: v0.20.0...v0.20.1