@northslopetech/altitude-ui 2.0.2 → 2.0.5
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/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +394 -327
- package/dist/index.mjs +394 -325
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -24,7 +24,9 @@ interface TypographyProps extends React.HTMLAttributes<HTMLElement>, VariantProp
|
|
|
24
24
|
}
|
|
25
25
|
declare const Typography: React.ForwardRefExoticComponent<TypographyProps & React.RefAttributes<HTMLElement>>;
|
|
26
26
|
|
|
27
|
-
declare const selectTriggerVariants: (props?:
|
|
27
|
+
declare const selectTriggerVariants: (props?: ({
|
|
28
|
+
width?: "default" | "compact" | "fill" | null | undefined;
|
|
29
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
28
30
|
declare const selectContentVariants: (props?: ({
|
|
29
31
|
position?: "popper" | "item-aligned" | null | undefined;
|
|
30
32
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -34,6 +36,7 @@ declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.Selec
|
|
|
34
36
|
interface SelectTriggerProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, VariantProps<typeof selectTriggerVariants> {
|
|
35
37
|
className?: string;
|
|
36
38
|
children?: React.ReactNode;
|
|
39
|
+
width?: "default" | "fill" | "compact";
|
|
37
40
|
}
|
|
38
41
|
declare const SelectTrigger: React.ForwardRefExoticComponent<SelectTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
39
42
|
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -57,7 +60,6 @@ interface FormFieldProps {
|
|
|
57
60
|
}
|
|
58
61
|
declare const FormField: React.ForwardRefExoticComponent<FormFieldProps & React.RefAttributes<HTMLDivElement>>;
|
|
59
62
|
|
|
60
|
-
declare const datePickerTriggerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
61
63
|
interface DatePickerProps {
|
|
62
64
|
value?: Date;
|
|
63
65
|
onValueChange?: (date: Date | undefined) => void;
|
|
@@ -66,7 +68,7 @@ interface DatePickerProps {
|
|
|
66
68
|
placeholder?: string;
|
|
67
69
|
className?: string;
|
|
68
70
|
}
|
|
69
|
-
declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<
|
|
71
|
+
declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLInputElement>>;
|
|
70
72
|
|
|
71
73
|
declare const uploadVariants: (props?: ({
|
|
72
74
|
state?: "default" | "error" | "dragOver" | "uploading" | "success" | null | undefined;
|
|
@@ -102,6 +104,7 @@ interface BaseInputProps extends VariantProps<typeof inputVariants> {
|
|
|
102
104
|
className?: string;
|
|
103
105
|
style?: React.CSSProperties;
|
|
104
106
|
onClear?: () => void;
|
|
107
|
+
showClear?: boolean;
|
|
105
108
|
}
|
|
106
109
|
interface InputFieldProps extends BaseInputProps, Omit<React.InputHTMLAttributes<HTMLInputElement>, "style"> {
|
|
107
110
|
variant?: "input";
|
|
@@ -130,9 +133,6 @@ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttri
|
|
|
130
133
|
declare const tabsVariants: (props?: ({
|
|
131
134
|
variant?: "default" | null | undefined;
|
|
132
135
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
133
|
-
declare const tabsListVariants: (props?: ({
|
|
134
|
-
variant?: "default" | null | undefined;
|
|
135
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
136
136
|
interface TabsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
137
137
|
value: string;
|
|
138
138
|
onValueChange: (value: string) => void;
|
|
@@ -152,4 +152,4 @@ interface TabsContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
152
152
|
}
|
|
153
153
|
declare const TabsContent: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
154
154
|
|
|
155
|
-
export { Badge, type BadgeProps, Button, type ButtonProps, Checkbox, type CheckboxProps, DatePicker, type DatePickerProps, FormField, type FormFieldProps, TypedInput as Input, type InputFieldProps, type InputProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, type TextareaFieldProps, Typography, type TypographyProps, Upload, type UploadProps, badgeVariants, buttonVariants, checkboxVariants,
|
|
155
|
+
export { Badge, type BadgeProps, Button, type ButtonProps, Checkbox, type CheckboxProps, DatePicker, type DatePickerProps, FormField, type FormFieldProps, TypedInput as Input, type InputFieldProps, type InputProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, type TextareaFieldProps, Typography, type TypographyProps, Upload, type UploadProps, badgeVariants, buttonVariants, checkboxVariants, inputVariants, selectTriggerVariants, tabsVariants, typographyVariants, uploadVariants };
|
package/dist/index.d.ts
CHANGED
|
@@ -24,7 +24,9 @@ interface TypographyProps extends React.HTMLAttributes<HTMLElement>, VariantProp
|
|
|
24
24
|
}
|
|
25
25
|
declare const Typography: React.ForwardRefExoticComponent<TypographyProps & React.RefAttributes<HTMLElement>>;
|
|
26
26
|
|
|
27
|
-
declare const selectTriggerVariants: (props?:
|
|
27
|
+
declare const selectTriggerVariants: (props?: ({
|
|
28
|
+
width?: "default" | "compact" | "fill" | null | undefined;
|
|
29
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
28
30
|
declare const selectContentVariants: (props?: ({
|
|
29
31
|
position?: "popper" | "item-aligned" | null | undefined;
|
|
30
32
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -34,6 +36,7 @@ declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.Selec
|
|
|
34
36
|
interface SelectTriggerProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, VariantProps<typeof selectTriggerVariants> {
|
|
35
37
|
className?: string;
|
|
36
38
|
children?: React.ReactNode;
|
|
39
|
+
width?: "default" | "fill" | "compact";
|
|
37
40
|
}
|
|
38
41
|
declare const SelectTrigger: React.ForwardRefExoticComponent<SelectTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
39
42
|
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -57,7 +60,6 @@ interface FormFieldProps {
|
|
|
57
60
|
}
|
|
58
61
|
declare const FormField: React.ForwardRefExoticComponent<FormFieldProps & React.RefAttributes<HTMLDivElement>>;
|
|
59
62
|
|
|
60
|
-
declare const datePickerTriggerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
61
63
|
interface DatePickerProps {
|
|
62
64
|
value?: Date;
|
|
63
65
|
onValueChange?: (date: Date | undefined) => void;
|
|
@@ -66,7 +68,7 @@ interface DatePickerProps {
|
|
|
66
68
|
placeholder?: string;
|
|
67
69
|
className?: string;
|
|
68
70
|
}
|
|
69
|
-
declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<
|
|
71
|
+
declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLInputElement>>;
|
|
70
72
|
|
|
71
73
|
declare const uploadVariants: (props?: ({
|
|
72
74
|
state?: "default" | "error" | "dragOver" | "uploading" | "success" | null | undefined;
|
|
@@ -102,6 +104,7 @@ interface BaseInputProps extends VariantProps<typeof inputVariants> {
|
|
|
102
104
|
className?: string;
|
|
103
105
|
style?: React.CSSProperties;
|
|
104
106
|
onClear?: () => void;
|
|
107
|
+
showClear?: boolean;
|
|
105
108
|
}
|
|
106
109
|
interface InputFieldProps extends BaseInputProps, Omit<React.InputHTMLAttributes<HTMLInputElement>, "style"> {
|
|
107
110
|
variant?: "input";
|
|
@@ -130,9 +133,6 @@ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttri
|
|
|
130
133
|
declare const tabsVariants: (props?: ({
|
|
131
134
|
variant?: "default" | null | undefined;
|
|
132
135
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
133
|
-
declare const tabsListVariants: (props?: ({
|
|
134
|
-
variant?: "default" | null | undefined;
|
|
135
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
136
136
|
interface TabsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
137
137
|
value: string;
|
|
138
138
|
onValueChange: (value: string) => void;
|
|
@@ -152,4 +152,4 @@ interface TabsContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
152
152
|
}
|
|
153
153
|
declare const TabsContent: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
154
154
|
|
|
155
|
-
export { Badge, type BadgeProps, Button, type ButtonProps, Checkbox, type CheckboxProps, DatePicker, type DatePickerProps, FormField, type FormFieldProps, TypedInput as Input, type InputFieldProps, type InputProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, type TextareaFieldProps, Typography, type TypographyProps, Upload, type UploadProps, badgeVariants, buttonVariants, checkboxVariants,
|
|
155
|
+
export { Badge, type BadgeProps, Button, type ButtonProps, Checkbox, type CheckboxProps, DatePicker, type DatePickerProps, FormField, type FormFieldProps, TypedInput as Input, type InputFieldProps, type InputProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, type TextareaFieldProps, Typography, type TypographyProps, Upload, type UploadProps, badgeVariants, buttonVariants, checkboxVariants, inputVariants, selectTriggerVariants, tabsVariants, typographyVariants, uploadVariants };
|