@majoo-ui/react 1.43.0 → 1.44.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.
Files changed (39) hide show
  1. package/README.md +2 -2
  2. package/components/accordion/Accordion.d.ts +33 -0
  3. package/components/accordion/index.d.ts +1 -0
  4. package/components/devicePreview/DevicePreview.d.ts +97 -1
  5. package/components/dialog/Dialog.d.ts +398 -0
  6. package/components/dialog/index.d.ts +2 -0
  7. package/components/editableTable/EditableMobile.d.ts +1 -0
  8. package/components/editableTable/EditableTable.d.ts +207 -1
  9. package/components/form/components/InputText/InputText.d.ts +103 -0
  10. package/components/form/components/InputText/index.d.ts +1 -0
  11. package/components/heading/Heading.d.ts +99 -0
  12. package/components/heading/index.d.ts +2 -0
  13. package/components/image/index.d.ts +2 -0
  14. package/components/index.d.ts +2 -1
  15. package/components/modalDialog/ModalDialog.d.ts +810 -0
  16. package/components/modalDialog/index.d.ts +2 -0
  17. package/components/pageDialog/PageDialog.d.ts +806 -0
  18. package/components/pageDialog/index.d.ts +1 -0
  19. package/components/progressIndicator/ProgressIndicator.d.ts +12 -0
  20. package/components/progressIndicator/index.d.ts +1 -0
  21. package/components/stepWizard/index.d.ts +1 -0
  22. package/components/table/MobileTable.d.ts +15 -0
  23. package/components/table/Table.d.ts +921 -0
  24. package/components/table/index.d.ts +4 -0
  25. package/components/upload/utils/canvasPreview.d.ts +2 -0
  26. package/components/upload/utils/imgPreview.d.ts +2 -0
  27. package/config/stitches.config.d.ts +625 -0
  28. package/index.d.ts +2 -2
  29. package/index.esm.css +244 -0
  30. package/index.esm.js +51204 -12999
  31. package/index.umd.css +244 -0
  32. package/index.umd.js +62928 -24619
  33. package/layout/box/index.d.ts +1 -0
  34. package/layout/flex/index.d.ts +2 -0
  35. package/layout/index.d.ts +4 -0
  36. package/package.json +7 -18
  37. package/type/base.types.d.ts +10 -0
  38. package/type/stitches.types.d.ts +1 -0
  39. package/utils/variant.d.ts +4 -0
@@ -0,0 +1 @@
1
+ export { default as Box } from './Box';
@@ -0,0 +1,2 @@
1
+ export * from './Flex';
2
+ export { default as Flex } from './Flex';
@@ -0,0 +1,4 @@
1
+ export * from './box';
2
+ export * from './flex';
3
+ export * from './grid';
4
+ export * from './pageContainer';
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@majoo-ui/react",
3
- "version": "1.43.0",
3
+ "version": "1.44.3",
4
4
  "dependencies": {
5
- "@majoo-ui/core": "^1.31.0",
6
- "@majoo-ui/helpers": "^1.30.2",
7
- "@majoo-ui/icons": "^1.36.0",
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",
@@ -36,21 +36,10 @@
36
36
  "@floating-ui/react-dom-interactions": "^0.6.0",
37
37
  "react-color": "^2.19.3",
38
38
  "react-infinite-scroller": "^1.2.6",
39
- "react-ui-scrollspy": "^2.1.0"
39
+ "react-ui-scrollspy": "^2.1.0",
40
+ "react-image-crop": "^10.0.4"
40
41
  },
41
42
  "main": "./index.umd.js",
42
43
  "module": "./index.esm.js",
43
- "typings": "./index.d.ts",
44
- "peerDependencies": {
45
- "react": "17.0.2",
46
- "focus-trap-react": "^8.9.2",
47
- "@radix-ui/react-visually-hidden": "^0.1.4",
48
- "@radix-ui/react-portal": "^0.1.4",
49
- "react-dom": "17.0.2",
50
- "moment": "^2.29.2",
51
- "@hookform/resolvers": "^2.8.10",
52
- "react-hook-form": "^7.31.3",
53
- "yup": "^0.32.11",
54
- "@radix-ui/react-dialog": "^0.1.7"
55
- }
44
+ "typings": "./index.d.ts"
56
45
  }
@@ -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[];