opui-css 5.4.0 → 5.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.4.1 - 2026-06-11
4
+
5
+ ### Fixed
6
+
7
+ - Fixed a `@vue/compiler-sfc` compilation crash in `Avatar`.
8
+
3
9
  ## 5.4.0 - 2026-06-09
4
10
 
5
11
  - Added global control for motion that lets you enable or disable all motion with a single class `.ui-motion-on`, `.ui-motion-off`, `.ui-motion-debug`. By default it will listen to `prefers-reduced-motion`. Locally each component individually has `--_motion` variable that can be changed as well.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Open Props UI
2
2
 
3
- A CSS UI library exploring how next-gen HTML & CSS features can change the way we create components. Built on top of [Open Props](https://open-props.style/) and ships [Astro](https://astro.build/) components alongside framework-agnostic CSS.
3
+ A CSS UI library exploring how next-gen HTML & CSS features can change the way we create components. Built on top of [Open Props](https://open-props.style/) and ships HTML, [Astro](https://astro.build/) and [Vue](https://vuejs.org/) components alongside framework-agnostic CSS.
4
4
 
5
5
  - Docs: [open-props-ui.netlify.app](https://open-props-ui.netlify.app/)
6
6
  - Source: [github.com/felix-bohlin/ui](https://github.com/felix-bohlin/ui)
@@ -14,6 +14,7 @@ pnpm add opui-css open-props
14
14
  Peer dependencies:
15
15
 
16
16
  - `astro` `^6` (only required if you use the Astro components)
17
+ - `vue` `^3` (only required if you use the Vue components)
17
18
  - `open-props` `^1`
18
19
 
19
20
  ## Usage
@@ -1,10 +1,11 @@
1
- import type { HTMLAttributes, ImgHTMLAttributes, Slot } from "vue"
1
+ import type { Slot } from "vue"
2
2
  import type { Props as BaseProps } from "./types"
3
3
 
4
- export type Props = BaseProps &
5
- Pick<ImgHTMLAttributes, "alt" | "src"> & {
6
- class?: HTMLAttributes["class"]
7
- }
4
+ export type Props = BaseProps & {
5
+ alt?: string
6
+ src?: string
7
+ class?: string
8
+ }
8
9
 
9
10
  export type Slots = {
10
11
  default?: Slot
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "opui-css",
3
- "version": "5.4.0",
4
- "description": "A CSS UI library exploring next-gen HTML & CSS features. Astro components on top of Open Props.",
3
+ "version": "5.4.1",
4
+ "description": "A CSS UI library exploring next-gen HTML & CSS features. HTML, Astro & Vue components on top of Open Props.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "Felix Bohlin",