mirror of
https://github.com/langgenius/dify.git
synced 2026-05-12 07:37:09 +08:00
SelectTrigger was a heavily styled function coupling ARIA trigger behavior with form-input appearance (input bg, size variants, built-in chevron, clearable/loading). This made it unusable for non-form contexts like WorkplaceSelector and inconsistent with DropdownMenuTrigger which is a pure re-export. - SelectTrigger is now a pure re-export of BaseSelect.Trigger (aligned with DropdownMenuTrigger pattern) - Added SelectIcon re-export for composed triggers needing chevron state - Removed SelectPrimitiveTrigger, selectTriggerVariants, contentPadding, and SelectTriggerProps - 3 form callers migrated to inline composition with className - WorkplaceSelector migrated from @headlessui/react Menu to base-ui Select with correct listbox semantics, fixing the focus ring issue Made-with: Cursor |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| model-auth | ||
| model-badge | ||
| model-icon | ||
| model-modal | ||
| model-name | ||
| model-parameter-modal | ||
| model-selector | ||
| provider-added-card | ||
| provider-icon | ||
| system-model-selector | ||
| atoms.ts | ||
| declarations.ts | ||
| derive-model-status.ts | ||
| hooks.ts | ||
| index.tsx | ||
| install-from-marketplace.tsx | ||
| supports-credits.ts | ||
| utils.ts | ||