mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 00:12:39 +00:00
17 lines
1.0 KiB
TypeScript
17 lines
1.0 KiB
TypeScript
// The names `require('@plugin-host/ui')` hands a plugin, and the kit's
|
|
// version. Kept apart from the components so a background frame
|
|
// (background-kit.ts) can offer the same names without loading them;
|
|
// plugin-ui-kit.test.ts checks this list against the kit.
|
|
|
|
/** Bumped when a component is added or its props change in a way plugins can see. */
|
|
export const KIT_VERSION = 2;
|
|
|
|
export const KIT_NAMES: readonly string[] = Object.freeze([
|
|
'Alert', 'Badge', 'BarButton', 'Breadcrumbs', 'Button', 'Card', 'Checkbox', 'Chip', 'ColorDot', 'Combobox',
|
|
'DetailHeading', 'DetailList', 'DetailRow', 'DialogButtons', 'DiffView', 'Divider', 'EmptyState', 'Field',
|
|
'FileIcon', 'Heading', 'Icon', 'InfoBar', 'Input', 'KIT_VERSION', 'Link', 'LinkButton', 'List', 'ListRow',
|
|
'Loading', 'Page', 'PageHeader', 'Panel', 'ProgressBar', 'Row', 'RowAction', 'SearchInput', 'Section',
|
|
'Segmented', 'Select', 'SettingRow', 'SidebarEmpty', 'SidebarRow', 'Spinner', 'Stack', 'Switch', 'Tabs',
|
|
'Text', 'Textarea', 'Toolbar', 'ToolbarButton', 'ToolbarSpacer', 'useSlotProps',
|
|
]);
|