feat: initialize Vue component library and aligned documentation

This commit is contained in:
maoyingjie
2026-10-21 09:06:28 +08:00
commit 9d40dc0ecb
149 changed files with 13208 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
/* Adapted from HeroUI v3, ce90ea3. Copyright 2025 NextUI Inc.
* See third-party/HEROUI-LICENSE. Modified: hv- class prefix; Vue state adapters. */
/* Base label styles */
.hv-label {
/* Base styling */
@apply text-sm font-medium text-foreground;
}
/*
* Exclude group-level components (RadioGroup, CheckboxGroup) and radio/checkbox items
* to ensure asterisks only appear on atomic form field labels and group labels,
* not on individual options within those groups
*/
.hv-label--required,
[data-required="true"]:not([role="group"]):not([role="radiogroup"]):not(
[role="checkboxgroup"]
)
> .hv-label,
[data-required="true"]:not([data-slot="radio"]):not([data-slot="checkbox"])
> .hv-label {
@apply after:ms-0.5 after:text-danger after:content-['*'];
}
.hv-label--disabled,
[data-disabled="true"] .hv-label {
@apply status-disabled;
}
.hv-label--invalid,
[data-invalid="true"] .hv-label,
[aria-invalid="true"] .hv-label {
@apply text-danger;
}