@majoo-ui/react 1.44.0 → 1.44.2
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/README.md +7 -7
- package/components/accordion/Accordion.d.ts +33 -0
- package/components/accordion/index.d.ts +1 -0
- package/components/image/index.d.ts +2 -0
- package/components/modalDialog/ModalDialog.d.ts +405 -0
- package/components/pageDialog/PageDialog.d.ts +806 -0
- package/components/pageDialog/index.d.ts +1 -0
- package/index.esm.css +244 -244
- package/index.esm.js +2287 -2046
- package/index.umd.css +244 -244
- package/index.umd.js +2418 -2182
- package/package.json +4 -4
- package/type/base.types.d.ts +10 -0
- package/type/stitches.types.d.ts +1 -0
- package/utils/variant.d.ts +4 -0
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@majoo-ui/react",
|
|
3
|
-
"version": "1.44.
|
|
3
|
+
"version": "1.44.2",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@majoo-ui/core": "^1.31.
|
|
6
|
-
"@majoo-ui/helpers": "^1.30.
|
|
7
|
-
"@majoo-ui/icons": "^1.36.
|
|
5
|
+
"@majoo-ui/core": "^1.31.1",
|
|
6
|
+
"@majoo-ui/helpers": "^1.30.4",
|
|
7
|
+
"@majoo-ui/icons": "^1.36.1",
|
|
8
8
|
"@stitches/react": "^1.2.8",
|
|
9
9
|
"@radix-ui/react-alert-dialog": "^0.1.7",
|
|
10
10
|
"@radix-ui/react-avatar": "^0.1.4",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CSS } from "../config/stitches.config";
|
|
2
|
+
export declare type BaseRadixProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Change the component to the HTML tag or custom component of the only child.
|
|
5
|
+
* This will merge the original component props with the props of the supplied element/component and change the underlying DOM node.
|
|
6
|
+
*/
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
css?: CSS;
|
|
9
|
+
};
|
|
10
|
+
export declare type BaseRadixNoCss = Omit<BaseRadixProps, 'css'>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type NumericalSizingLiteral = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CSS } from "../config/stitches.config";
|
|
2
|
+
import { NumericalSizingLiteral } from "../type/stitches.types";
|
|
3
|
+
export declare function seqNumberVariants(variantFn: (value: number) => CSS, max: number): Record<NumericalSizingLiteral, CSS>;
|
|
4
|
+
export declare const range1: (n: any, fromOne: any) => number[];
|