Add nuxt-skills and update auto quotes to use new policy API structure
- Add nuxt-skills (vue, nuxt, nuxt-ui) to .claude/skills/ - Create useCustomerSelection() composable for managing insured/buyer selection - Create usePolicyApi() composable for policy API operations - Update auto quote components to use insured/buyer instead of client - Update vehicle fields: remove valorVehiculo, add market_value, requested_value, rc_limits - Make chassis_number and engine_number optional - Update auto quote types and composables to match new API structure - Update auto quote page to submit to policy API with new structure
This commit is contained in:
21
.claude/skills/nuxt-ui/components/scroll-area.md
Normal file
21
.claude/skills/nuxt-ui/components/scroll-area.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# ScrollArea
|
||||
|
||||
Creates scrollable containers with optional virtualization for large lists.
|
||||
|
||||
> Based on [Reka UI ScrollArea](https://reka-ui.com/docs/components/scroll-area)
|
||||
|
||||
## Key Props
|
||||
|
||||
- `orientation`: to control scroll direction (`'vertical'` or `'horizontal'`).
|
||||
- `items`: array of data to render within the scrollable area.
|
||||
- `virtualize`: enables performance optimization for large datasets (renders only visible items). Supports `estimateSize`, `lanes`, `gap`.
|
||||
- `as`: specifies the underlying HTML element or component (defaults to `'div'`).
|
||||
- `ui`: customization object for styling root, viewport, and items.
|
||||
|
||||
## Usage
|
||||
|
||||
```vue
|
||||
<UScrollArea
|
||||
<!-- props here -->
|
||||
/>
|
||||
```
|
||||
Reference in New Issue
Block a user