@boxcustodia/library 2.0.0-alpha.14 → 2.0.0-alpha.15
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.cjs.js +1 -1
- package/dist/index.d.ts +3 -5
- package/dist/index.es.js +942 -964
- package/package.json +1 -1
- package/src/__doc__/Changelog.mdx +6 -6
- package/src/__doc__/V2.mdx +8 -9
- package/src/components/auto-complete/auto-complete.stories.tsx +0 -1
- package/src/components/button/button.stories.tsx +31 -14
- package/src/components/button/button.tsx +10 -34
- package/src/components/button/components/base-button.tsx +8 -13
- package/src/components/calendar/calendar.tsx +1 -1
- package/src/components/card/card.stories.tsx +0 -1
- package/src/components/combobox/combobox.tsx +1 -1
- package/src/components/date-picker/date-input.tsx +1 -1
- package/src/components/date-picker/date-picker.tsx +1 -1
- package/src/components/dropzone/dropzone.stories.tsx +0 -1
- package/src/components/empty/empty.stories.tsx +0 -1
- package/src/components/input/input.tsx +1 -1
- package/src/components/menu/menu.stories.tsx +0 -1
- package/src/components/number-input/number-input.tsx +4 -4
- package/src/components/pagination/pagination.stories.tsx +0 -1
- package/src/components/password/password.tsx +1 -1
- package/src/components/stepper/stepper.stories.tsx +0 -1
- package/src/components/tabs/tabs.stories.tsx +0 -1
- package/src/components/tag/tag.stories.tsx +13 -21
- package/src/components/tag/tag.tsx +1 -1
- package/src/components/timeline/timeline.stories.tsx +0 -1
- package/src/components/tree/tree.stories.tsx +0 -1
- package/src/utils/form.tsx +2 -0
package/dist/index.d.ts
CHANGED
|
@@ -389,7 +389,7 @@ export declare type BaseEntity = {
|
|
|
389
389
|
createdAt: Date;
|
|
390
390
|
};
|
|
391
391
|
|
|
392
|
-
export declare const Button: ({ variant, size, className,
|
|
392
|
+
export declare const Button: ({ variant, size, className, ...rest }: Props) => JSX.Element;
|
|
393
393
|
|
|
394
394
|
declare type ButtonOverrides = Omit<ComponentProps<typeof Button>, "onClick" | "disabled" | "render" | "children" | "nativeButton">;
|
|
395
395
|
|
|
@@ -1182,7 +1182,7 @@ export declare type ID = string | number;
|
|
|
1182
1182
|
|
|
1183
1183
|
export declare function Input({ className, nativeInput, onValueChange, ...props }: InputProps): JSX.Element;
|
|
1184
1184
|
|
|
1185
|
-
export declare const inputBaseClasses = "h-
|
|
1185
|
+
export declare const inputBaseClasses = "h-8 w-full px-3 rounded-md border border-input bg-background text-sm outline-none transition-shadow placeholder:text-muted-foreground";
|
|
1186
1186
|
|
|
1187
1187
|
export { InputPrimitive }
|
|
1188
1188
|
|
|
@@ -1700,9 +1700,7 @@ declare const progressTrackVariants: (props?: ({
|
|
|
1700
1700
|
|
|
1701
1701
|
export declare function ProgressValue({ className, ...props }: Progress_2.Value.Props): React_2.ReactElement;
|
|
1702
1702
|
|
|
1703
|
-
declare type Props = BaseButtonProps & VariantProps<typeof buttonVariants
|
|
1704
|
-
icon?: ReactElement;
|
|
1705
|
-
};
|
|
1703
|
+
declare type Props = BaseButtonProps & VariantProps<typeof buttonVariants>;
|
|
1706
1704
|
|
|
1707
1705
|
declare interface Props_2 extends ComponentProps<typeof Button_2> {
|
|
1708
1706
|
loading?: boolean;
|