@aragon/gov-ui-kit 1.9.0 → 1.11.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.
@@ -1,15 +1,14 @@
1
1
  import { type ComponentProps } from 'react';
2
- export type CollapsedSize = 'sm' | 'md' | 'lg';
3
2
  export interface ICollapsibleProps extends Omit<ComponentProps<'div'>, 'onToggle'> {
4
3
  /**
5
- * The initial height of the collapsible container while closed.
6
- * @default md
4
+ * Number of text lines to show while collapsed.
5
+ * @default 3
7
6
  */
8
- collapsedSize?: CollapsedSize;
7
+ collapsedLines?: number;
9
8
  /**
10
- * Custom pixel height for the collapsible container that will override collapsedSize prop if defined.
9
+ * Exact pixel height for the collapsible container that will override collapsedLines prop if defined.
11
10
  */
12
- customCollapsedHeight?: number;
11
+ collapsedPixels?: number;
13
12
  /**
14
13
  * Controlled state of the collapsible container.
15
14
  * @default false
@@ -1,2 +1,2 @@
1
1
  export { Collapsible } from './collapsible';
2
- export { type CollapsedSize, type ICollapsibleProps } from './collapsible.api';
2
+ export { type ICollapsibleProps } from './collapsible.api';
@@ -1 +1 @@
1
- export type IllustrationObjectType = 'ACTION' | 'APP' | 'ARCHIVE' | 'BOOK' | 'BUILD' | 'CHAIN' | 'DATABASE' | 'ERROR' | 'EXPLORE' | 'GAS' | 'GOAL' | 'LABELS' | 'LIGHTBULB' | 'MAGNIFYING_GLASS' | 'NOT_FOUND' | 'SECURITY' | 'SETTINGS' | 'SMART_CONTRACT' | 'SUCCESS' | 'USERS' | 'WAGMI' | 'WALLET' | 'WARNING';
1
+ export type IllustrationObjectType = 'ACTION' | 'APP' | 'ARCHIVE' | 'BOOK' | 'BUILD' | 'CHAIN' | 'DATABASE' | 'ERROR' | 'EXPLORE' | 'GAS' | 'GOAL' | 'LABELS' | 'LIGHTBULB' | 'MAGNIFYING_GLASS' | 'NOT_FOUND' | 'SECURITY' | 'SETTINGS' | 'SMART_CONTRACT' | 'SUCCESS' | 'TIMELOCK' | 'USERS' | 'WAGMI' | 'WALLET' | 'WARNING';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aragon/gov-ui-kit",
3
- "version": "1.9.0",
3
+ "version": "1.11.0",
4
4
  "description": "Implementation of the Aragon's Governance UI Kit",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/types/src/index.d.ts",