Repository navigation
Releases
@chai-ui/vue@1.8.0
Patch Changes
- @chai-ui/core@1.8.0
- @chai-ui/tokens@1.8.0
@chai-ui/tokens@1.8.0
No changes in this release.
@chai-ui/svelte@1.8.0
Patch Changes
- @chai-ui/core@1.8.0
- @chai-ui/tokens@1.8.0
@chai-ui/react@1.8.0
Minor Changes
- 44339a5: A shadcn/ui registry, served at chai-ui.com/r:
npx shadcn add https://chai-ui.com/r/composer.jsonadds@chai-ui/react,@chai-ui/tokensand a thin client wrapper incomponents/chai/that loads Chai's styles with the shadcn adapter. Items:composer,result-card,media-analyzer,edit-card,side-panel,interactive-response,chai-provider,chai-theme, andimage-generation, a working page with the prompt bar and the result. The wrappers keep a place for your app's defaults; the components and their logic stay in@chai-ui/react, so updates come with npm. The registry's JSON ships in@chai-ui/reactatdist/r.
Patch Changes
- @chai-ui/core@1.8.0
- @chai-ui/tokens@1.8.0
@chai-ui/core@1.8.0
No changes in this release.
@chai-ui/vue@1.7.0
Minor Changes
-
b7d587b: Every corner now comes from a token, so a theme can change it. New radius roles:
--chai-radius-bar(the Composer and Media Analyzer, 22px),--chai-radius-card(the ResultCard and EditCard, 29px),--chai-radius-inset(14px),--chai-radius-tile(12px),--chai-radius-logo(8px),--chai-radius-bubble(18px) and--chai-radius-bubble-tail(4px). The values are the ones the components already used, so nothing looks different.@chai-ui/tokensalso exportstokenDescriptions: what each token is for, wheretokens.jsonsays. -
a060f69: New
themes/shadcn.cssin each binding, for apps built with shadcn/ui, shadcn-vue or shadcn-svelte. Import it afterstyle-without-fonts.cssand the components take on the app's colors, corners and light/dark mode from its shadcn variables (--primary,--border,--input,--radiusand the rest). The app's.darkclass switches it, and it wins overdata-chai-theme. At shadcn's default--radiusthe corners are Chai's own. Warning colors, the colors over images and video, code colors and motion stay Chai's. Without the import nothing changes.
Patch Changes
- Updated dependencies [b7d587b]
- @chai-ui/tokens@1.7.0
- @chai-ui/core@1.7.0
@chai-ui/tokens@1.7.0
Minor Changes
-
b7d587b: Every corner now comes from a token, so a theme can change it. New radius roles:
--chai-radius-bar(the Composer and Media Analyzer, 22px),--chai-radius-card(the ResultCard and EditCard, 29px),--chai-radius-inset(14px),--chai-radius-tile(12px),--chai-radius-logo(8px),--chai-radius-bubble(18px) and--chai-radius-bubble-tail(4px). The values are the ones the components already used, so nothing looks different.@chai-ui/tokensalso exportstokenDescriptions: what each token is for, wheretokens.jsonsays.
@chai-ui/svelte@1.7.0
Minor Changes
-
b7d587b: Every corner now comes from a token, so a theme can change it. New radius roles:
--chai-radius-bar(the Composer and Media Analyzer, 22px),--chai-radius-card(the ResultCard and EditCard, 29px),--chai-radius-inset(14px),--chai-radius-tile(12px),--chai-radius-logo(8px),--chai-radius-bubble(18px) and--chai-radius-bubble-tail(4px). The values are the ones the components already used, so nothing looks different.@chai-ui/tokensalso exportstokenDescriptions: what each token is for, wheretokens.jsonsays. -
a060f69: New
themes/shadcn.cssin each binding, for apps built with shadcn/ui, shadcn-vue or shadcn-svelte. Import it afterstyle-without-fonts.cssand the components take on the app's colors, corners and light/dark mode from its shadcn variables (--primary,--border,--input,--radiusand the rest). The app's.darkclass switches it, and it wins overdata-chai-theme. At shadcn's default--radiusthe corners are Chai's own. Warning colors, the colors over images and video, code colors and motion stay Chai's. Without the import nothing changes.
Patch Changes
- Updated dependencies [b7d587b]
- @chai-ui/tokens@1.7.0
- @chai-ui/core@1.7.0
@chai-ui/react@1.7.0
Minor Changes
-
b7d587b: Every corner now comes from a token, so a theme can change it. New radius roles:
--chai-radius-bar(the Composer and Media Analyzer, 22px),--chai-radius-card(the ResultCard and EditCard, 29px),--chai-radius-inset(14px),--chai-radius-tile(12px),--chai-radius-logo(8px),--chai-radius-bubble(18px) and--chai-radius-bubble-tail(4px). The values are the ones the components already used, so nothing looks different.@chai-ui/tokensalso exportstokenDescriptions: what each token is for, wheretokens.jsonsays. -
a060f69: New
themes/shadcn.cssin each binding, for apps built with shadcn/ui, shadcn-vue or shadcn-svelte. Import it afterstyle-without-fonts.cssand the components take on the app's colors, corners and light/dark mode from its shadcn variables (--primary,--border,--input,--radiusand the rest). The app's.darkclass switches it, and it wins overdata-chai-theme. At shadcn's default--radiusthe corners are Chai's own. Warning colors, the colors over images and video, code colors and motion stay Chai's. Without the import nothing changes.
Patch Changes
- Updated dependencies [b7d587b]
- @chai-ui/tokens@1.7.0
- @chai-ui/core@1.7.0
@chai-ui/core@1.7.0
No changes in this release.