@mdtl/uikit 0.0.59 → 0.0.61
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/themes/aps/controls/configs/buttons.d.ts +5 -5
- package/dist/themes/aps/controls/configs/checkbox.d.ts +3 -0
- package/dist/themes/aps/controls/configs/radio.d.ts +3 -0
- package/dist/themes/aps/controls/shared/createCheckConfig.d.ts +3 -0
- package/dist/uikit.js +11 -9
- package/package.json +1 -1
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export declare const buttonsConfig: {
|
|
2
|
+
defaultProps: {
|
|
3
|
+
disableRipple: boolean;
|
|
4
|
+
disableFocusRipple: boolean;
|
|
5
|
+
disableTouchRipple: boolean;
|
|
6
|
+
};
|
|
2
7
|
styleOverrides: {
|
|
3
8
|
root: {
|
|
4
9
|
textTransform: string;
|
|
@@ -219,9 +224,4 @@ export declare const buttonsConfig: {
|
|
|
219
224
|
})[];
|
|
220
225
|
};
|
|
221
226
|
};
|
|
222
|
-
defaultProps: {
|
|
223
|
-
disableRipple: boolean;
|
|
224
|
-
disableFocusRipple: boolean;
|
|
225
|
-
disableTouchRipple: boolean;
|
|
226
|
-
};
|
|
227
227
|
};
|
|
@@ -2,6 +2,9 @@ import { default as React } from 'react';
|
|
|
2
2
|
export declare const checkboxConfig: {
|
|
3
3
|
defaultProps: {
|
|
4
4
|
indeterminateIcon: string | number | bigint | true | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode>>;
|
|
5
|
+
disableRipple: boolean;
|
|
6
|
+
disableFocusRipple: boolean;
|
|
7
|
+
disableTouchRipple: boolean;
|
|
5
8
|
icon: React.ReactNode;
|
|
6
9
|
checkedIcon: React.ReactNode;
|
|
7
10
|
};
|
|
@@ -2,6 +2,9 @@ import { default as React } from 'react';
|
|
|
2
2
|
export declare const radioConfig: {
|
|
3
3
|
defaultProps: {
|
|
4
4
|
indeterminateIcon: string | number | bigint | true | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode>>;
|
|
5
|
+
disableRipple: boolean;
|
|
6
|
+
disableFocusRipple: boolean;
|
|
7
|
+
disableTouchRipple: boolean;
|
|
5
8
|
icon: React.ReactNode;
|
|
6
9
|
checkedIcon: React.ReactNode;
|
|
7
10
|
};
|
|
@@ -6,6 +6,9 @@ type CheckConfig = {
|
|
|
6
6
|
export declare const createCheckConfig: ({ icon, checkedIcon, indeterminateIcon }: CheckConfig) => {
|
|
7
7
|
defaultProps: {
|
|
8
8
|
indeterminateIcon: string | number | bigint | true | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | import('react').ReactPortal | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode>>;
|
|
9
|
+
disableRipple: boolean;
|
|
10
|
+
disableFocusRipple: boolean;
|
|
11
|
+
disableTouchRipple: boolean;
|
|
9
12
|
icon: import('react').ReactNode;
|
|
10
13
|
checkedIcon: import('react').ReactNode;
|
|
11
14
|
};
|
package/dist/uikit.js
CHANGED
|
@@ -304,6 +304,11 @@ const U = {
|
|
|
304
304
|
opacity: 0.4
|
|
305
305
|
}
|
|
306
306
|
}, nf = {
|
|
307
|
+
defaultProps: {
|
|
308
|
+
disableRipple: !0,
|
|
309
|
+
disableFocusRipple: !0,
|
|
310
|
+
disableTouchRipple: !0
|
|
311
|
+
},
|
|
307
312
|
styleOverrides: {
|
|
308
313
|
root: {
|
|
309
314
|
textTransform: "none",
|
|
@@ -503,11 +508,6 @@ const U = {
|
|
|
503
508
|
}
|
|
504
509
|
]
|
|
505
510
|
}
|
|
506
|
-
},
|
|
507
|
-
defaultProps: {
|
|
508
|
-
disableRipple: !0,
|
|
509
|
-
disableFocusRipple: !0,
|
|
510
|
-
disableTouchRipple: !0
|
|
511
511
|
}
|
|
512
512
|
}, _a = {
|
|
513
513
|
defaultProps: {
|
|
@@ -4244,9 +4244,9 @@ const Im = (e) => /* @__PURE__ */ f(ht, { ...e, children: /* @__PURE__ */ f("svg
|
|
|
4244
4244
|
)
|
|
4245
4245
|
] }) }), Am = At(Dm), Ed = ({ icon: e, checkedIcon: t, indeterminateIcon: n }) => ({
|
|
4246
4246
|
defaultProps: {
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4247
|
+
disableRipple: !0,
|
|
4248
|
+
disableFocusRipple: !0,
|
|
4249
|
+
disableTouchRipple: !0,
|
|
4250
4250
|
icon: e,
|
|
4251
4251
|
checkedIcon: t,
|
|
4252
4252
|
...n && { indeterminateIcon: n }
|
|
@@ -33897,7 +33897,9 @@ const GT = (e) => /* @__PURE__ */ f(ht, { ...e, children: /* @__PURE__ */ f("svg
|
|
|
33897
33897
|
itemsPerPage: T,
|
|
33898
33898
|
reqCatchHandler: O
|
|
33899
33899
|
}) => {
|
|
33900
|
-
const [w, x] = He(!1), [C, E] = He(null), [$, D] = He(!1), [P, m] = He(""), [I, k] = He(!1), [N, B] = He(null), L = Xn(null), [A, _] = He(0), z = _p()
|
|
33900
|
+
const [w, x] = He(!1), [C, E] = He(null), [$, D] = He(!1), [P, m] = He(""), [I, k] = He(!1), [N, B] = He(null), L = Xn(null), [A, _] = He(0), z = _p();
|
|
33901
|
+
console.log("in ui: ", z);
|
|
33902
|
+
const M = wt(() => !!C && C.currentPage < C.totalPages, [C]), R = wt(() => t && P && (Array.isArray(i) ? !i.some((Y) => Y.value === P) : i?.value !== P) && !C?.data.some((Y) => Y.value === P), [t, P]), F = 2, ee = h === "xl" || h === "l" ? "m" : "s", ne = z.components?.MuiSvgIcon.variants.find((Y) => Y.props.fontSize === ee)?.style.fontSize, te = wt(
|
|
33901
33903
|
() => o2({ inputSize: h, iconsCount: F, iconSizePx: ne }),
|
|
33902
33904
|
[h, F, ne]
|
|
33903
33905
|
), Z = async (Y) => {
|