Skip to content

Releases

@chai-ui/vue@1.8.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 17:55
949b158

Patch Changes

  • @chai-ui/core@1.8.0
    • @chai-ui/tokens@1.8.0

@chai-ui/tokens@1.8.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 17:55
949b158

No changes in this release.

@chai-ui/svelte@1.8.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 17:55
949b158

Patch Changes

  • @chai-ui/core@1.8.0
    • @chai-ui/tokens@1.8.0

@chai-ui/react@1.8.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 17:55
949b158

Minor Changes

  • 44339a5: A shadcn/ui registry, served at chai-ui.com/r: npx shadcn add https://chai-ui.com/r/composer.json adds @chai-ui/react, @chai-ui/tokens and a thin client wrapper in components/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, and image-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/react at dist/r.

Patch Changes

  • @chai-ui/core@1.8.0
    • @chai-ui/tokens@1.8.0

@chai-ui/core@1.8.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 17:55
949b158

No changes in this release.

@chai-ui/vue@1.7.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 22:02
43aeca3

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/tokens also exports tokenDescriptions: what each token is for, where tokens.json says.

  • a060f69: New themes/shadcn.css in each binding, for apps built with shadcn/ui, shadcn-vue or shadcn-svelte. Import it after style-without-fonts.css and the components take on the app's colors, corners and light/dark mode from its shadcn variables (--primary, --border, --input, --radius and the rest). The app's .dark class switches it, and it wins over data-chai-theme. At shadcn's default --radius the 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

Choose a tag to compare

@github-actions github-actions released this 03 Dec 22:02
43aeca3

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/tokens also exports tokenDescriptions: what each token is for, where tokens.json says.

@chai-ui/svelte@1.7.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 22:02
43aeca3

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/tokens also exports tokenDescriptions: what each token is for, where tokens.json says.

  • a060f69: New themes/shadcn.css in each binding, for apps built with shadcn/ui, shadcn-vue or shadcn-svelte. Import it after style-without-fonts.css and the components take on the app's colors, corners and light/dark mode from its shadcn variables (--primary, --border, --input, --radius and the rest). The app's .dark class switches it, and it wins over data-chai-theme. At shadcn's default --radius the 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

Choose a tag to compare

@github-actions github-actions released this 03 Dec 22:02
43aeca3

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/tokens also exports tokenDescriptions: what each token is for, where tokens.json says.

  • a060f69: New themes/shadcn.css in each binding, for apps built with shadcn/ui, shadcn-vue or shadcn-svelte. Import it after style-without-fonts.css and the components take on the app's colors, corners and light/dark mode from its shadcn variables (--primary, --border, --input, --radius and the rest). The app's .dark class switches it, and it wins over data-chai-theme. At shadcn's default --radius the 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

Choose a tag to compare

@github-actions github-actions released this 03 Dec 22:02
43aeca3

No changes in this release.