Heading
```
--------------------------------
### ListItemText Component API
Source: https://rocket.ixigo.com/iui-docs/guide/components/list
Details the properties available for the ListItemText component. It includes information on deprecated props and the component used for the root node.
```APIDOC
ListItemText:
Properties:
disabled:
Description: @deprecated use `disabled` prop on `ListItem` instead
Type: boolean
Default: -
as:
Description: The component used for the root node.
Type: elementType
Default: -
```
--------------------------------
### Transition Lifecycle Callbacks
Source: https://rocket.ixigo.com/iui-docs/guide/components/transitions
Defines the TypeScript types for transition lifecycle callbacks, allowing custom logic execution before, during, and after enter/exit transitions.
```typescript
type TransitionProps = {
/**
* Transition lifecycle callbacks
*/ onEnter?:()=>void; // Called before enter transition starts
onEntering?:()=>void; // Called while enter transition is executing
onEntered?:()=>void; // Called after enter transition completes
onExit?:()=>void; // Called before exit transition starts
onExiting?:()=>void; // Called while exit transition is executing
onExited?:()=>void; // Called after exit transition completes
};
```
--------------------------------
### Icons Changelog - Version 1.1.2
Source: https://rocket.ixigo.com/iui-docs/guide/changelog/icons
Details patch changes for version 1.1.2 of the @ixigo/icons package. This update includes bug fixes related to icon styling.
```APIDOC
## @ixigo/icons Changelog
### Version 1.1.2
#### Patch Changes
* **Bug Fixes**
* Fixed InfoCircleIcon to have consistent stroke and fill colors.
* Commit: a8c5510
```
--------------------------------
### IconButton Component API
Source: https://rocket.ixigo.com/iui-docs/guide/components/button
Documentation for the iui IconButton component, outlining its specific properties for size, color, variant, and layout adjustments. Suitable for icon-only buttons.
```APIDOC
IconButton:
Props:
size: "base" | "sm" | "md" | "lg" | "xl" - The size of the IconButton. (Default: 'base')
color: "neutral" | "brand" | "subbrand" | "new" | "success" | "warning" | "critical" | "selection" | "info" - The color palette to use for the IconButton. (Default: 'neutral')
variant: "flat" | "outlined" | "soft" | "solid" | "moderate" - The visual variant of the IconButton. (Default: '-')
radius: "full" | "auto" - By default radius is decided by size prop. (Default: '-')
edge: false | "start" | "end" - If true, the icon button will use negative margin to offset padding at the given edge to align with other contents. (Default: false)
asChild: boolean - To compose buttons functionally onto alternative element types or your own React components.
disableRipple: boolean - Disable ripple effect.
```
--------------------------------
### Add Tailwind CSS Peer Dependency and ListItem Role
Source: https://rocket.ixigo.com/iui-docs/guide/changelog/iui
Integrates Tailwind CSS as a peer dependency with a minimum version requirement of `>=3.4.9`. The ListItem component has been updated to include the `listitem` role for improved accessibility.
```javascript
Added `tailwindcss` as a peer dependency with version `>=3.4.9`.
* Added `listitem` role to the `ListItem` component.
```
--------------------------------
### Button: New Size/Color, Adornment Props, asChild
Source: https://rocket.ixigo.com/iui-docs/guide/changelog/iui
Adds 'xl' size and 'neutral' color to the Button component, adjusts outline border width, and improves icon handling by preferring `startAdornment` and `endAdornment` props over children. The `asChild` prop allows composition with other components.
```javascript
Button:
* `xl` size and `neutral` color added
* Adjusted border width for outlined variant
* Icons passed as children to buttons now automatically adjust to the appropriate size based on the button size, reducing the need for manual size management
* prefer `startAdornment` and `endAdornment` props to add icons to the start and end of the button instead of passing them as children
* use asChild prop to compose buttons with other components
```
--------------------------------
### Typography: Semantic HTML Mapping
Source: https://rocket.ixigo.com/iui-docs/guide/components/typography
Explains the default mapping of Typography variants to semantic HTML elements. This ensures accessibility and proper document structure by default, with options to override.
```APIDOC
Semantic HTML Mapping:
Typography Variant | Default HTML Element
---|---
h1-h6 | -
body-* |
button-*, overline-* |
```
--------------------------------
### IconButton Rewrite: New Props and Structure
Source: https://rocket.ixigo.com/iui-docs/guide/changelog/iui
The IconButton component has been significantly rewritten to support new properties including `asChild`, `size` (sm, md, lg, xl), `color`, `variant`, and `radius`. The `startIcon` and `endIcon` props are removed, and the import/export structure is updated for better modularity.
```javascript
IconButton
* Rewrote `IconButton` component to support new properties:
* `asChild`: If true, the component will render its children directly as root.
* `size`: The size of the `IconButton` with options `sm`, `md`, `lg`, and `xl`.
* `color`: The color palette to use for the `IconButton`.
* `variant`: The visual variant of the `IconButton`.
* `radius`: By default it's auto and size based, but can be set to `full`.
* Removed `startIcon` and `endIcon` properties from `IconButton`.
* Updated the import/export structure for `IconButton`:
* recommended to use named export for every component if available
```
--------------------------------
### Icons Changelog - Version 1.1.1
Source: https://rocket.ixigo.com/iui-docs/guide/changelog/icons
Details patch changes for version 1.1.1 of the @ixigo/icons package. This update focuses on design improvements for existing icons.
```APIDOC
### Version 1.1.1
#### Patch Changes
* Update Info Circle Filled icon with improved design and better visual clarity.
* Commit: 4f95695
```
--------------------------------
### Dialog Component: Forward Transition Props
Source: https://rocket.ixigo.com/iui-docs/guide/changelog/iui
This snippet demonstrates how to pass `transitionProps` to the Dialog component. These props are forwarded to the underlying `TransitionComponent`, enabling customization of transition behaviors such as `onExited` and `timeout`.
```jsx
{}, timeout:{ enter:200, exit:195}}}>{children}
```
--------------------------------
### ListItem Props
Source: https://rocket.ixigo.com/iui-docs/guide/components/list
Defines the properties available for the ListItem component, including their types, default values, and descriptions.
```APIDOC
ListItem:
Props:
as:
Description: The element to render as root of the component. the element type to be used for the ListItem root element
Type: elementType
Default: li
size:
Description: based on the size it applies some classes only to the root element and child elements may increase or decrease their size accordingly
Type: "lg" | "sm"
Default: "sm"
disabled:
Description: disables interactivity of the ListItem
Type: boolean
Default: -
className:
Description: className to be applied to the ListItem root element
Type: string
Default: -
disablePadding:
Description: it removes the padding from the ListItem and as of now it removes gap between child items as well
Type: boolean
Default: false
alignItems:
Description: aligns the children to the start, center or end of the ListItem vertically
Type: "center" | "start"
Default: 'center
```
--------------------------------
### IUI Timeline Component API Changes
Source: https://rocket.ixigo.com/iui-docs/guide/changelog/iui
Details changes to the IUI Timeline component, focusing on prop updates and rendering logic. These updates enhance flexibility and simplify usage.
```APIDOC
TimelineContent:
Props:
label: ReactNode | Accepts ReactNode for flexible label content.
subText: ReactNode | Accepts ReactNode for flexible sub-text content.
Changes:
- Enhanced `TimelineContent` to accept ReactNode for `label` and `subText` props.
- Simplified child component rendering by removing automatic `itemIndex` and `totalItems` prop injection.
Separator Component:
Changes:
- Fixed layout issues with the Separator component.
```
--------------------------------
### Backdrop Component Props
Source: https://rocket.ixigo.com/iui-docs/guide/components/backdrop
Defines the configurable properties for the Backdrop component. These props control the appearance and behavior of the backdrop, such as its visibility, styling, and transition effects.
```APIDOC
Backdrop Component Properties:
className: string
Description: CSS class name applied to the backdrop root element.
Default Value: -
open: boolean (Required)
Description: If true, the backdrop is visible.
Default Value: -
invisible: boolean
Description: If true, the backdrop is invisible. Useful for popovers and select menus.
Default Value: -
TransitionComponent: elementType
Description: Allows providing a custom component to override the default transitioning of the Backdrop.
Default Value: Fade
```
--------------------------------
### Typography Component Props Reference
Source: https://rocket.ixigo.com/iui-docs/guide/components/typography
Details the properties available for the Typography component, including their types, default values, and descriptions. This table outlines how to customize font styles, semantic rendering, and apply additional classes.
```APIDOC
Typography Component Props:
Property | Description | Type | Default Value
---|---|---|---
as | The element to render as root of the component. The component used for the root node. | elementType | -
variant | Applies the theme typography styles. | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "display" | "body-lg" | "body-md" | "body-sm" | "body-xs" | "body-2xs" | "overline" | "overline-sm" | "button-md" | "button-sm" | "button-lg" | 'body-sm'
fontWeight | The font-weight of the content. | "normal" | "medium" | "semibold" | "bold" | "extrabold" | -
className | Applies additional classes to the element | string | -
```
--------------------------------
### Backdrop: Custom Transition
Source: https://rocket.ixigo.com/iui-docs/guide/components/backdrop
Shows how to use a custom transition component with the Backdrop. By default, it uses a Fade transition, but you can provide your own component and pass transition properties via TransitionProps.
```javascript
const CustomTransitionBackdrop = () => {
return (
Content with custom transition
);
};
```
--------------------------------
### Typography: Override Rendering with 'as' Prop
Source: https://rocket.ixigo.com/iui-docs/guide/components/typography
Demonstrates how to use the `as` prop on the Typography component to render text styled with a specific variant but using a different HTML element. This allows for semantic flexibility while maintaining visual consistency.
```jsx
Styled as h1, rendered as div
```