@ultraviolet/form 1.2.3 → 1.3.0
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.
|
@@ -13,7 +13,8 @@ const Submit = _ref => {
|
|
|
13
13
|
size,
|
|
14
14
|
variant = 'filled',
|
|
15
15
|
sentiment = 'primary',
|
|
16
|
-
tooltip
|
|
16
|
+
tooltip,
|
|
17
|
+
fullWidth
|
|
17
18
|
} = _ref;
|
|
18
19
|
const {
|
|
19
20
|
invalid,
|
|
@@ -42,6 +43,7 @@ const Submit = _ref => {
|
|
|
42
43
|
variant: variant,
|
|
43
44
|
sentiment: sentiment,
|
|
44
45
|
tooltip: tooltip,
|
|
46
|
+
fullWidth: fullWidth,
|
|
45
47
|
children: children
|
|
46
48
|
});
|
|
47
49
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -634,8 +634,9 @@ type SubmitProps = {
|
|
|
634
634
|
variant?: ComponentProps<typeof Button>['variant'];
|
|
635
635
|
sentiment?: ComponentProps<typeof Button>['sentiment'];
|
|
636
636
|
tooltip?: ComponentProps<typeof Button>['tooltip'];
|
|
637
|
+
fullWidth?: ComponentProps<typeof Button>['fullWidth'];
|
|
637
638
|
};
|
|
638
|
-
declare const Submit: ({ children, className, disabled, icon, iconPosition, size, variant, sentiment, tooltip, }: SubmitProps) => JSX.Element;
|
|
639
|
+
declare const Submit: ({ children, className, disabled, icon, iconPosition, size, variant, sentiment, tooltip, fullWidth, }: SubmitProps) => JSX.Element;
|
|
639
640
|
|
|
640
641
|
type UseValidationParams<FieldValue = unknown> = {
|
|
641
642
|
validators: ValidatorObject<FieldValue>[];
|