Releases: raystack/apsara
v0.25.0
What's Changed
- chore: Update doc heading and CSS changes by @paanSinghCoder in #184
- feat: add className props to Datatable toolbar by @rsbh in #185
- fix: imports and rename by @paanSinghCoder in #188
- chore: match style for breadcrumb by @paanSinghCoder in #186
- fix: ts definition for v0 import by @rsbh in #189
- chore: match style for breadcrumb by @paanSinghCoder in #190
Full Changelog: v0.24.0...v0.25.0
v0.24.0
What's Changed
- Feat: Add new Checkbox v1 by @paanSinghCoder in #182
- Fix: Prevent node_modules to publish to npm by @paanSinghCoder in #180
- Chore: Add types in export subpath by @rsbh in #181
- Fix: Typings fix by @paanSinghCoder in #183
Full Changelog: v0.23.0...v0.24.0
v0.23.0
What's Changed
- chore: mark old
ThemeProvider
as deprecated and exportThemeProvider
from v1 by @rsbh in #175 - Multiple fixes and refactor by @paanSinghCoder in #177
- feat: add
Flex
andText
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
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
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
What's Changed
- feat: blur effect on the overlay of dialog component by @mahakmakharia in #157
New Contributors
- @mahakmakharia made their first contribution in #157
Full Changelog: v0.20.4...v0.21.0
v0.20.4
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
What's Changed
- Feat: Option to pass classes for trigger and content in the Tooltip by @neelduttahere in #148
- Feat: Add clsx @neelduttahere in #148
Full Changelog: v0.20.1...v0.20.2