Breadcrumb && Link added new Components
This commit is contained in:
@@ -6,42 +6,46 @@ const distDir = path.resolve("dist");
|
||||
if (!fs.existsSync(distDir)) fs.mkdirSync(distDir, { recursive: true });
|
||||
|
||||
const indexJs = `/* Auto-generated by scripts/make-dist.mjs */
|
||||
export { default as Breadcrumb } from "../src/components/Breadcrumb.astro";
|
||||
export { default as Button } from "../src/components/Button.astro";
|
||||
export { default as ColorSwitcher } from "../src/components/ColorSwitcher.astro";
|
||||
export { default as DatePicker } from "../src/components/DatePicker.astro";
|
||||
export { default as DateTimePicker } from "../src/components/DateTimePicker.astro";
|
||||
export { default as Drawer } from "../src/components/Drawer.astro";
|
||||
export { default as Dropdown } from "../src/components/Dropdown.astro";
|
||||
export { default as Field } from "../src/components/Field.astro";
|
||||
export { default as FieldRow } from "../src/components/FieldRow.astro";
|
||||
export { default as FileUploader } from "../src/components/FileUploader.astro";
|
||||
export { default as Form } from "../src/components/Form.astro";
|
||||
export { default as Link } from "../src/components/Link.astro";
|
||||
export { default as MultiSelect } from "../src/components/MultiSelect.astro";
|
||||
export { default as OtpField } from "../src/components/OtpField.astro";
|
||||
export { default as PasswordField } from "../src/components/PasswordField.astro";
|
||||
export { default as ThemeSwitcher } from "../src/components/ThemeSwitcher.astro";
|
||||
export { default as TimePicker } from "../src/components/TimePicker.astro";
|
||||
export { default as Drawer } from "../src/components/Drawer.astro";
|
||||
export { default as Tooltip } from "../src/components/Tooltip.astro";
|
||||
export { cn } from "../src/utils/cn.js";
|
||||
`;
|
||||
|
||||
const indexDts = `/* Auto-generated types (lightweight) */
|
||||
/// <reference types="astro/client" />
|
||||
export const Breadcrumb: any;
|
||||
export const Button: any;
|
||||
export const ColorSwitcher: any;
|
||||
export const DatePicker: any;
|
||||
export const DateTimePicker: any;
|
||||
export const Drawer: any;
|
||||
export const Dropdown: any;
|
||||
export const Field: any;
|
||||
export const FieldRow: any;
|
||||
export const FileUploader: any;
|
||||
export const Form: any;
|
||||
export const Link: any;
|
||||
export const MultiSelect: any;
|
||||
export const OtpField: any;
|
||||
export const PasswordField: any;
|
||||
export const ThemeSwitcher: any;
|
||||
export const TimePicker: any;
|
||||
export const Drawer: any;
|
||||
export const Tooltip: any;
|
||||
export function cn(...classes: Array<string | number | false | null | undefined>): string;
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user