@plumeria/headlessui 21.2.6 → 22.0.0

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.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,9 +3,9 @@
3
3
  ![License](https://img.shields.io/badge/License-MIT-10B981)
4
4
  ![npm](https://img.shields.io/npm/v/@plumeria/headlessui?&color=10B981)
5
5
 
6
- A curated set of essential headless primitives, built on [Radix UI](https://www.radix-ui.com/) and designed to work seamlessly with Plumeria's `classStyle` abstraction layer.
6
+ A curated set of essential headless primitives, built on [Radix UI](https://www.radix-ui.com/) and designed to work seamlessly with Plumeria's `sx` abstraction layer.
7
7
 
8
- Each component is a pure passthrough — it forwards refs and spreads props onto the underlying Radix primitive. `classStyle` is compiled to `className`/`style` at the call site before the component runs, so no Plumeria-specific logic is needed inside the components.
8
+ Each component is a pure passthrough — it forwards refs and spreads props onto the underlying Radix primitive. `sx` is compiled to `className`/`style` at the call site before the component runs, so no Plumeria-specific logic is needed inside the components.
9
9
 
10
10
  ## Documentation
11
11
 
@@ -52,14 +52,14 @@ const styles = css.create({
52
52
  });
53
53
 
54
54
  export const FAQ = () => (
55
- <Accordion type="single" collapsible classStyle={styles.root}>
55
+ <Accordion type="single" collapsible sx={styles.root}>
56
56
  <Accordion.Item value="item-1">
57
57
  <Accordion.Header>
58
- <Accordion.Trigger classStyle={styles.trigger}>
58
+ <Accordion.Trigger sx={styles.trigger}>
59
59
  Is it accessible?
60
60
  </Accordion.Trigger>
61
61
  </Accordion.Header>
62
- <Accordion.Content classStyle={styles.content}>
62
+ <Accordion.Content sx={styles.content}>
63
63
  Yes. It adheres to the WAI-ARIA design pattern.
64
64
  </Accordion.Content>
65
65
  </Accordion.Item>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/headlessui",
3
- "version": "21.2.6",
3
+ "version": "22.0.0",
4
4
  "description": "Headless UI components wrapper for Plumeria based on Radix UI",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",