Releases: raystack/apsara
v0.29.1
What's Changed
- Fix: Callout css override by @paanSinghCoder in #247
- Fix: Imports and remove unnecessary deprecate by @paanSinghCoder in #249
- Fix: Tooltip asChild to false by @paanSinghCoder in #251
Full Changelog: v0.29.0...v0.29.1
v0.29.0
What's Changed
New components
- Feat/image v1 by @paanSinghCoder in #237
- Feat/list v1 by @paanSinghCoder in #233
- Feat/separator v1 by @paanSinghCoder in #239
- Feat/link v1 new by @paanSinghCoder in #241
- Feat: filter chip v1 by @paanSinghCoder in #231
- Feat/container v1 by @paanSinghCoder in #245
Other fixes and chores
- Feat: pull request and issue templates by @paanSinghCoder in #234
- Fix: calendar css and button docs by @paanSinghCoder in #242
- Fix/calendar v1 css fixes by @paanSinghCoder in #244
- Fix(calendar): default trigger text alignment by @paanSinghCoder in #246
- Refactor: sort imports by @paanSinghCoder in #235
- Chore: rename deprecation warning by @paanSinghCoder in #240
Full Changelog: v0.28.0...v0.29.0
v0.28.0
BREAKING CHANGE
What's Changed
- Fix: Button v1 props by @paanSinghCoder in #236 - BREAKING CHANGE
- Feat: Add new calendar by @paanSinghCoder in #193
- Feat: Inputfield chip v1 by @paanSinghCoder in #232
- Feat: Search v1 by @paanSinghCoder in #229
- Feat: Sidepanel v1 by @paanSinghCoder in #223
- Fix: Avatar colors by @paanSinghCoder in #227
- Chore: Move React in packages/raystack from devDependencies to dependencies by @singh-pk in #238
- Chore: Mark old components deprecated and delete old doc by @paanSinghCoder in #230
Full Changelog: v0.27.1...v0.28.0
v0.27.0
What's Changed
New components
- Feat/icon-button v1 by @paanSinghCoder in #202
- Feat/radio v1 by @paanSinghCoder in #200
- Feat: add announcement bar component by @rsbh in #205
- Feat/slider v1 by @paanSinghCoder in #207
- Feat/switch v1 by @paanSinghCoder in #198
- Feat/indicator v1 by @paanSinghCoder in #204
- Feat/text area v1 by @paanSinghCoder in #201
- Feat/tooltip v1 by @paanSinghCoder in #206
- Feat/callout v1 by @paanSinghCoder in #209
- Feat/tabs v1 by @paanSinghCoder in #222
Other changes/Bug fixes
- Feat: Change cursor styling by @paanSinghCoder in #203
- Tests: add spinner test cases by @paanSinghCoder in #197
- Fix: duplicate export by @rsbh in #214
- Fix: comment error by @paanSinghCoder in #215
- Fix/comment flex by @paanSinghCoder in #216
- Chore: rename spinner by @paanSinghCoder in #219
- Refactor/rename files v1 by @paanSinghCoder in #221
- Fix: trigger spinner v1 name change on Github by @paanSinghCoder in #220
- Fix: Flicker input by @paanSinghCoder in #218
Full Changelog: v0.26.2...v0.27.0
v0.26.2
What's Changed
- Fix: Minor css variable fix
- Chore: Deprecate old components and interfaces
Full Changelog: v0.26.0...v0.26.2
v0.26.0
What's Changed
- Feat: Add Eslint import sorter by @paanSinghCoder in #187
- Feat: Input field v1 by @paanSinghCoder in #191
- Feat: Badge v1 by @paanSinghCoder in #194
- Feat: Chip v1 by @paanSinghCoder in #195
- Feat: Setup Jest and react-testing-library by @paanSinghCoder in #196
Full Changelog: v0.25.0...v0.26.0
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
🎉 Major release
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