@donkit-ai/design-system 1.1.9 → 1.1.10

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/dist/index.d.ts +3 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -246,12 +246,13 @@ export declare function P3(props: ParagraphProps): JSX.Element;
246
246
 
247
247
  // ─── Accordion ────────────────────────────────────────────────────────────
248
248
 
249
- export interface AccordionProps extends HTMLAttributes<HTMLDivElement> {
249
+ export interface AccordionProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'onChange'> {
250
250
  children?: ReactNode;
251
- title: string;
251
+ title: ReactNode;
252
252
  defaultExpanded?: boolean;
253
253
  expanded?: boolean;
254
254
  onToggle?: (expanded: boolean) => void;
255
+ onChange?: (expanded: boolean) => void;
255
256
  padding?: 's' | 'm' | 'l';
256
257
  }
257
258
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@donkit-ai/design-system",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "Donkit Design System - minimal design tokens and React components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",