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:
24
.claude/skills/nuxt-ui/components/checkbox.md
Normal file
24
.claude/skills/nuxt-ui/components/checkbox.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Checkbox
|
||||
|
||||
An input element to toggle between checked and unchecked states.
|
||||
|
||||
> Based on [Reka UI Checkbox](https://reka-ui.com/docs/components/checkbox)
|
||||
|
||||
## Key Props
|
||||
|
||||
- `label`: to set the label of the Checkbox.
|
||||
- `description`: to set the description of the Checkbox.
|
||||
- `icon`: to set the icon of the Checkbox when it is checked.
|
||||
- `color`: to change the color of the Checkbox.
|
||||
- `variant`: to change the variant of the Checkbox.
|
||||
- `size`: to change the size of the Checkbox.
|
||||
- `indicator`: to change the position or hide the indicator.
|
||||
- `disabled`: to disable the Checkbox.
|
||||
|
||||
## Usage
|
||||
|
||||
```vue
|
||||
<UCheckbox
|
||||
<!-- props here -->
|
||||
/>
|
||||
```
|
||||
Reference in New Issue
Block a user