@scbt-ecom/ui 0.75.2 → 0.75.3
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.
|
@@ -88,12 +88,7 @@ export declare const Uncontrolled: {
|
|
|
88
88
|
root?: string;
|
|
89
89
|
thumb?: string;
|
|
90
90
|
};
|
|
91
|
-
externalHandlers?:
|
|
92
|
-
onChange?: (value: boolean) => void;
|
|
93
|
-
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
94
|
-
onFocus?: (event: React.FocusEvent<HTMLButtonElement>) => void;
|
|
95
|
-
onBlur?: (event: React.FocusEvent<HTMLButtonElement>) => void;
|
|
96
|
-
};
|
|
91
|
+
externalHandlers?: import('./switch/Switch').ExternalHandlers;
|
|
97
92
|
invalid?: boolean;
|
|
98
93
|
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
99
94
|
RadioGroupBase: import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-radio-group').RadioGroupProps, "children"> & {
|
|
@@ -3,7 +3,7 @@ type SwitchBaseClasses = {
|
|
|
3
3
|
root?: string;
|
|
4
4
|
thumb?: string;
|
|
5
5
|
};
|
|
6
|
-
type ExternalHandlers = {
|
|
6
|
+
export type ExternalHandlers = {
|
|
7
7
|
onChange?: (value: boolean) => void;
|
|
8
8
|
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
9
9
|
onFocus?: (event: React.FocusEvent<HTMLButtonElement>) => void;
|
package/dist/widget.js
CHANGED
|
@@ -2081,7 +2081,7 @@ const Yr = ({ promises: t }) => {
|
|
|
2081
2081
|
"data-test-id": s.form,
|
|
2082
2082
|
className: d(
|
|
2083
2083
|
"border-warm-grey-200 px-4 desktop:gap-8 desktop:p-14",
|
|
2084
|
-
"relative flex flex-col gap-6 rounded-sm border py-8",
|
|
2084
|
+
"relative mx-auto flex w-max flex-col gap-6 rounded-sm border py-8",
|
|
2085
2085
|
l == null ? void 0 : l.root
|
|
2086
2086
|
),
|
|
2087
2087
|
children: [
|