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__ | ||
| audio-block.tsx | ||
| button.tsx | ||
| code-block.stories.tsx | ||
| code-block.tsx | ||
| form.tsx | ||
| img.tsx | ||
| index.ts | ||
| link.tsx | ||
| music.tsx | ||
| paragraph.tsx | ||
| plugin-img.tsx | ||
| plugin-paragraph.tsx | ||
| shiki-highlight.tsx | ||
| think-block.stories.tsx | ||
| think-block.tsx | ||
| utils.ts | ||
| video-block.tsx | ||