@motor-hero/ui-kit 0.43.0 → 0.44.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@motor-hero/ui-kit",
3
- "version": "0.43.0",
3
+ "version": "0.44.0",
4
4
  "description": "Componentes React reutilizáveis para o ecossistema MotorHero — shadcn/ui + Tailwind CSS v4",
5
5
  "author": "MotorHero",
6
6
  "license": "UNLICENSED",
@@ -11,6 +11,9 @@ export interface ComboboxOption {
11
11
  value: string;
12
12
  label: string;
13
13
  disabled?: boolean;
14
+ /** Optional leading decoration rendered before the label (icon, colored
15
+ * dot) — purely visual, doesn't affect filtering/matching. */
16
+ icon?: React.ReactNode;
14
17
  }
15
18
 
16
19
  export interface ComboboxProps {
@@ -198,6 +201,7 @@ export function Combobox({
198
201
  value === option.value ? "opacity-100" : "opacity-0",
199
202
  )}
200
203
  />
204
+ {option.icon}
201
205
  <span className="truncate">{option.label}</span>
202
206
  </CommandPrimitive.Item>
203
207
  ))}