merge: integrate reviewed M30-M32 with NumberField Slider and migration lessons

This commit is contained in:
maoyingjie
2026-10-23 13:55:44 +08:00
84 changed files with 5673 additions and 10 deletions
+19
View File
@@ -0,0 +1,19 @@
import {
type InputOTPProps,
type PaginationProps,
type HeaderProps,
} from "@heroui-vue/components";
const input: InputOTPProps = {
maxLength: 4,
modelValue: "1234",
variant: "secondary",
};
const pager: PaginationProps = { size: "sm" };
const heading: HeaderProps = { as: "header" };
// @ts-expect-error public OTP values are strings
const wrongModel: InputOTPProps = { maxLength: 4, modelValue: 1234 };
// @ts-expect-error unsupported OTP variant
const wrongVariant: InputOTPProps = { maxLength: 4, variant: "ghost" };
// @ts-expect-error Pagination has a fixed size set
const wrongSize: PaginationProps = { size: "xl" };
void [input, pager, heading, wrongModel, wrongVariant, wrongSize];