tailwind-ux-kit 1.0.21 → 1.0.22

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 +8 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -190,6 +190,14 @@ iconContainerClass: 'bg-green-200 text-green-900 rounded-full p-2',
190
190
 
191
191
  - Horizontal & Vertical Tabs
192
192
  - Accordions
193
+ | Prop | Type | Default | Description |
194
+ | ------------------- | ----------------------------------------------- | ------- | ------------------------------------------------------------------ |
195
+ | `items` | `T[]` (`AccordionItemBase` generic) | — | Array of accordion items with id, title, content, and custom props |
196
+ | `allowMultipleOpen` | `boolean` | `false` | Allow multiple panels to be open simultaneously |
197
+ | `className` | `string` | `""` | Custom class name for the accordion container |
198
+ | `renderTitle` | `(item: T, isOpen: boolean) => React.ReactNode` | — | Custom render function for the accordion header/title |
199
+ | `renderContent` | `(item: T, isOpen: boolean) => React.ReactNode` | — | Custom render function for the accordion content |
200
+
193
201
  - FAQ Sections
194
202
 
195
203
  ### 10. Lists & Grids
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwind-ux-kit",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "main": "lib/tailwind-ux-kit.es.js",
5
5
  "module": "lib/tailwind-ux-kit.umd.js",
6
6
  "types": "lib/tailwind-ux-kit.es.d.ts",