@hilum/ui 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -4
- package/dist/chunk-J2QQDUF4.js +204 -0
- package/dist/chunk-J2QQDUF4.js.map +1 -0
- package/dist/create-theme.d.ts +27 -0
- package/dist/create-theme.js +172 -0
- package/dist/create-theme.js.map +1 -0
- package/dist/fonts/instrument-serif-latin-400-italic.woff2 +0 -0
- package/dist/fonts/instrument-serif-latin-400-normal.woff2 +0 -0
- package/dist/fonts/instrument-serif-latin-ext-400-italic.woff2 +0 -0
- package/dist/fonts/instrument-serif-latin-ext-400-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/dist/fonts.css +74 -0
- package/dist/index.d.ts +21 -8
- package/dist/index.js +393 -381
- package/dist/index.js.map +1 -1
- package/dist/tokens.css +59 -50
- package/dist/tokens.d.ts +46 -38
- package/dist/tokens.js +1 -191
- package/dist/tokens.js.map +1 -1
- package/llms.txt +1514 -0
- package/package.json +13 -4
- package/src/components/accordion.tsx +5 -5
- package/src/components/action-panel.tsx +6 -6
- package/src/components/activity-feed.tsx +4 -4
- package/src/components/alert-dialog.tsx +3 -3
- package/src/components/alert.tsx +4 -4
- package/src/components/avatar-stack.tsx +2 -2
- package/src/components/avatar.tsx +2 -2
- package/src/components/badge.tsx +6 -5
- package/src/components/breadcrumb.tsx +5 -5
- package/src/components/button-group.tsx +4 -4
- package/src/components/button.tsx +6 -5
- package/src/components/calendar.tsx +7 -7
- package/src/components/card-heading.tsx +3 -3
- package/src/components/card.tsx +3 -3
- package/src/components/chart.tsx +11 -11
- package/src/components/checkbox.tsx +1 -1
- package/src/components/color-input.tsx +7 -7
- package/src/components/color-picker.tsx +5 -5
- package/src/components/combobox.tsx +10 -10
- package/src/components/command-palette.tsx +11 -11
- package/src/components/command.tsx +13 -13
- package/src/components/context-menu.tsx +15 -16
- package/src/components/data-table.tsx +6 -6
- package/src/components/date-picker.tsx +9 -4
- package/src/components/description-list.tsx +8 -8
- package/src/components/dialog.tsx +3 -3
- package/src/components/drawer.tsx +5 -5
- package/src/components/dropdown-menu.tsx +15 -16
- package/src/components/empty-state.tsx +3 -3
- package/src/components/field.tsx +13 -6
- package/src/components/grid-list.tsx +12 -12
- package/src/components/hover-card.tsx +1 -1
- package/src/components/input-group.tsx +8 -8
- package/src/components/input-number.tsx +7 -7
- package/src/components/input-otp.tsx +3 -3
- package/src/components/input.tsx +5 -4
- package/src/components/kbd.tsx +1 -1
- package/src/components/label.tsx +1 -1
- package/src/components/menubar.tsx +21 -22
- package/src/components/native-select.tsx +4 -4
- package/src/components/navigation-menu.tsx +10 -10
- package/src/components/notification.tsx +10 -10
- package/src/components/page-heading.tsx +8 -8
- package/src/components/pagination.tsx +1 -1
- package/src/components/progress.tsx +1 -1
- package/src/components/property-row.tsx +1 -1
- package/src/components/radio-card.tsx +6 -6
- package/src/components/radio-group.tsx +3 -3
- package/src/components/resizable.tsx +3 -3
- package/src/components/scroll-area.tsx +1 -1
- package/src/components/section-heading.tsx +3 -3
- package/src/components/select.tsx +11 -11
- package/src/components/separator.tsx +1 -1
- package/src/components/sheet.tsx +3 -3
- package/src/components/sidebar.tsx +19 -19
- package/src/components/skeleton.tsx +1 -1
- package/src/components/slider.tsx +1 -1
- package/src/components/sonner.tsx +5 -5
- package/src/components/stacked-list.tsx +4 -4
- package/src/components/stat-card.tsx +6 -6
- package/src/components/steps.tsx +13 -12
- package/src/components/switch.tsx +1 -1
- package/src/components/table.tsx +9 -9
- package/src/components/tabs.tsx +2 -2
- package/src/components/textarea.tsx +4 -4
- package/src/components/toggle.tsx +8 -8
- package/src/components/tooltip.tsx +1 -1
- package/src/index.ts +3 -2
- package/src/tokens/tokens.ts +54 -40
package/dist/index.d.ts
CHANGED
|
@@ -138,6 +138,9 @@ declare const badgeVariants: (props?: ({
|
|
|
138
138
|
interface BadgeProps extends React$1.ComponentProps<"span">, VariantProps<typeof badgeVariants> {
|
|
139
139
|
}
|
|
140
140
|
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
141
|
+
declare namespace Badge {
|
|
142
|
+
var displayName: string;
|
|
143
|
+
}
|
|
141
144
|
|
|
142
145
|
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLElement> & React$1.HTMLAttributes<HTMLElement> & {
|
|
143
146
|
separator?: React$1.ReactNode;
|
|
@@ -173,6 +176,9 @@ interface ButtonProps extends React$1.ComponentProps<"button">, VariantProps<typ
|
|
|
173
176
|
asChild?: boolean;
|
|
174
177
|
}
|
|
175
178
|
declare function Button({ className, variant, size, asChild, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
179
|
+
declare namespace Button {
|
|
180
|
+
var displayName: string;
|
|
181
|
+
}
|
|
176
182
|
|
|
177
183
|
type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
|
|
178
184
|
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
@@ -225,12 +231,12 @@ declare function CarouselPrevious({ className, variant, size, ...props }: React$
|
|
|
225
231
|
declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
226
232
|
|
|
227
233
|
declare const CHART_COLORS: {
|
|
228
|
-
primary:
|
|
229
|
-
secondary:
|
|
230
|
-
tertiary:
|
|
231
|
-
muted:
|
|
232
|
-
subtle:
|
|
233
|
-
dark:
|
|
234
|
+
primary: "#C100F1";
|
|
235
|
+
secondary: "#CDEA19";
|
|
236
|
+
tertiary: "#FFF5BF";
|
|
237
|
+
muted: "#a3a3a3";
|
|
238
|
+
subtle: "#e5e5e5";
|
|
239
|
+
dark: "#171717";
|
|
234
240
|
};
|
|
235
241
|
interface ChartContainerProps {
|
|
236
242
|
children: React$1.ReactNode;
|
|
@@ -381,7 +387,7 @@ declare function DataTable<TData>({ columns, data, searchKey, searchPlaceholder,
|
|
|
381
387
|
|
|
382
388
|
declare const formatDate: (date: Date) => string;
|
|
383
389
|
interface DatePickerProps {
|
|
384
|
-
value?: Date;
|
|
390
|
+
value?: Date | undefined;
|
|
385
391
|
onChange?: (date: Date | undefined) => void;
|
|
386
392
|
placeholder?: string;
|
|
387
393
|
disabled?: boolean;
|
|
@@ -488,8 +494,12 @@ interface FieldProps {
|
|
|
488
494
|
cornerHint?: string;
|
|
489
495
|
className?: string;
|
|
490
496
|
children: React$1.ReactNode;
|
|
497
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
498
|
+
}
|
|
499
|
+
declare function Field({ label, htmlFor, hint, error, required, cornerHint, className, children, ref, }: FieldProps): react_jsx_runtime.JSX.Element;
|
|
500
|
+
declare namespace Field {
|
|
501
|
+
var displayName: string;
|
|
491
502
|
}
|
|
492
|
-
declare function Field({ label, htmlFor, hint, error, required, cornerHint, className, children, }: FieldProps): react_jsx_runtime.JSX.Element;
|
|
493
503
|
|
|
494
504
|
interface GridListProps {
|
|
495
505
|
children: React$1.ReactNode;
|
|
@@ -588,6 +598,9 @@ declare const InputOTPSlot: React$1.ForwardRefExoticComponent<React$1.HTMLAttrib
|
|
|
588
598
|
declare const InputOTPSeparator: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
589
599
|
|
|
590
600
|
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
601
|
+
declare namespace Input {
|
|
602
|
+
var displayName: string;
|
|
603
|
+
}
|
|
591
604
|
|
|
592
605
|
declare const Kbd: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
593
606
|
|