export type { CustomJsxComponentCategory, CustomJsxComponentDescriptor, CustomJsxComponentPackage, CustomJsxComponentSafety, } from "./component-descriptor"; import { customJsxDeniedComponentRegistry } from "./component-registry-denied"; import { customJsxEnabledComponentRegistry } from "./component-registry-enabled"; export const customJsxComponentRegistry = [ ...customJsxEnabledComponentRegistry, ...customJsxDeniedComponentRegistry, ] as const; export const enabledCustomJsxComponents = customJsxEnabledComponentRegistry; export const customJsxComponentByName = new Map(customJsxComponentRegistry.map((entry) => [entry.name, entry])); export const customJsxSupportedPropsByName = new Map( customJsxComponentRegistry.map((entry) => [entry.name, new Set(entry.supportedProps)]), ); export const customJsxBindableComponentNames: ReadonlySet = new Set([ "Accordion", "Autocomplete", "Calendar", "Checkbox", "Checkbox.Group", "Chip.Group", "ColorInput", "ColorPicker", "DateInput", "DatePicker", "DatePickerInput", "DateTimePicker", "HoverCard", "JsonInput", "InlineDateTimePicker", "MaskInput", "Menu", "MiniCalendar", "MonthPicker", "MonthPickerInput", "MultiSelect", "NativeSelect", "NumberInput", "Pagination", "PasswordInput", "PinInput", "Popover", "Radio.Group", "RangeSlider", "Rating", "SegmentedControl", "Select", "Slider", "Stepper", "Switch", "Switch.Group", "Tabs", "TagsInput", "TextInput", "Textarea", "TimeInput", "TimePicker", "TreeSelect", "YearPicker", "YearPickerInput", ]);