cb7d0b83a8
## PR description This PR: - Creates a TypeScript-based extractor that discovers all exported twenty-ui components by scanning barrel files, extracting props/slots/events via ts-morph type analysis, and generating the remote DOM bindings automatically. - Adds a new ESLint rule which enforces all *Props types in twenty-ui components to be exported, which is required for the extractor to discover component prop types. Existing twenty-ui components are updated to comply with this rule. - Extends the remote DOM generation to support slots, per-component events, forwardRef wrappers, and richer property types (array, object, function) ## Edge cases to fix in another PR - Icons cannot be rendered inside buttons - IconButtons throw an error when mounted - MenuItems are not displayed correctly - MenuItemNavigate throws on click ## Video Demo https://github.com/user-attachments/assets/c2ed67cf-6a15-4896-9fec-e83fac0e862b
23 lines
1.0 KiB
TypeScript
23 lines
1.0 KiB
TypeScript
/*
|
|
* _____ _
|
|
*|_ _|_ _____ _ __ | |_ _ _
|
|
* | | \ \ /\ / / _ \ '_ \| __| | | | Auto-generated file
|
|
* | | \ V V / __/ | | | |_| |_| | Any edits to this will be overridden
|
|
* |_| \_/\_/ \___|_| |_|\__|\__, |
|
|
* |___/
|
|
*/
|
|
|
|
export type { AvatarChipProps } from './avatar-chip/AvatarChip';
|
|
export { AvatarChip } from './avatar-chip/AvatarChip';
|
|
export type { MultipleAvatarChipProps } from './avatar-chip/MultipleAvatarChip';
|
|
export { MultipleAvatarChip } from './avatar-chip/MultipleAvatarChip';
|
|
export type { ChipProps } from './chip/Chip';
|
|
export { ChipSize, ChipAccent, ChipVariant, Chip } from './chip/Chip';
|
|
export { LINK_CHIP_CLICK_OUTSIDE_ID } from './chip/constants/LinkChipClickOutsideId';
|
|
export type { LinkChipProps } from './chip/LinkChip';
|
|
export { LinkChip } from './chip/LinkChip';
|
|
export type { PillProps } from './Pill/Pill';
|
|
export { Pill } from './Pill/Pill';
|
|
export type { TagColor, TagProps } from './tag/Tag';
|
|
export { Tag } from './tag/Tag';
|