@cleen/ui 0.1.229 → 0.1.230

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/dist/index.d.ts CHANGED
@@ -1688,6 +1688,7 @@ interface CollapsibleSection {
1688
1688
  interface CollapsibleProps extends ComponentProps<'div'> {
1689
1689
  sections: CollapsibleSection[];
1690
1690
  defaultOpenIndex?: number | null;
1691
+ allowExpandAll?: boolean;
1691
1692
  classNames?: {
1692
1693
  container?: string;
1693
1694
  section?: string;
@@ -1712,6 +1713,8 @@ interface CollapsibleProps extends ComponentProps<'div'> {
1712
1713
  * - Use `defaultOpenIndex` to pre-open a specific section on mount; pass `null` (default) to start
1713
1714
  * fully collapsed.
1714
1715
  * - Only one section can be open at a time; clicking an open section closes it.
1716
+ * - Pass `allowExpandAll` to render every section expanded by default and let sections be opened
1717
+ * and closed independently; `defaultOpenIndex` is ignored in this mode.
1715
1718
  * - Sections without `items` act as plain clickable rows and do not show a chevron.
1716
1719
  * - Accepts `classNames` and `styles` to customize: `container`, `section`, `sectionHeader`,
1717
1720
  * `sectionBody`, `item`.