Files
ppeasy_vg12/resources/js/components/ui/index.ts
T
2026-10-09 08:21:06 +02:00

35 lines
1.7 KiB
TypeScript

/**
* The Vanguard UI kit.
*
* Thin, fully owned wrappers over Reka UI primitives. Reka supplies focus
* management, keyboard interaction and ARIA wiring; everything visual is plain
* Tailwind in these files, so an application built on Vanguard restyles a
* component by editing it rather than fighting a theme layer.
*
* This barrel is also what plugin bundles receive as `Vanguard.ui`, so they can
* render Vanguard-styled controls without bundling their own copies.
*/
// Not a primitive, but plugin pages have to render inside the host chrome and
// this barrel is the plugin facing surface.
export { default as AppLayout } from '../../layouts/AppLayout.vue';
export { default as Button } from './Button.vue';
export { default as Checkbox } from './Checkbox.vue';
// Re-exported from outside ui/ so plugin bundles can draw charts without
// bundling their own copy of Chart.js.
export { default as LineChart } from '../LineChart.vue';
export { default as ConfirmHost } from './ConfirmHost.vue';
export { default as Dialog } from './Dialog.vue';
export { default as Input } from './Input.vue';
export { default as Menu } from './Menu.vue';
export { default as MenuItem } from './MenuItem.vue';
export { default as MenuSeparator } from './MenuSeparator.vue';
export { default as Message } from './Message.vue';
export { default as Pagination } from './Pagination.vue';
export { default as PasswordInput } from './PasswordInput.vue';
export { default as Select } from './Select.vue';
export { default as Switch } from './Switch.vue';
export { default as Tabs } from './Tabs.vue';
export { default as Textarea } from './Textarea.vue';
export { default as ToastHost } from './ToastHost.vue';
export { default as Tooltip } from './Tooltip.vue';