@majoo-ui/react 1.63.3 → 2.0.1
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/ModalDialog.esm.js +2669 -0
- package/Separator.esm.js +3002 -0
- package/charts.d.ts +1 -0
- package/charts.esm.js +1453 -0
- package/editor.d.ts +1 -0
- package/editor.esm.js +264 -0
- package/index.esm.css +245 -245
- package/index.esm.js +38781 -49120
- package/map.d.ts +1 -0
- package/map.esm.js +734 -0
- package/package.json +23 -3
- package/src/charts.d.ts +10 -0
- package/src/components/index.d.ts +0 -5
- package/src/editor.d.ts +7 -0
- package/src/map.d.ts +9 -0
- package/stitches.config.esm.js +2284 -0
- package/useMediaQuery.esm.js +19 -0
package/package.json
CHANGED
|
@@ -1,13 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@majoo-ui/react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"main": "./index.esm.js",
|
|
5
|
+
"sideEffects": [
|
|
6
|
+
"*.css",
|
|
7
|
+
"./index.esm.js",
|
|
8
|
+
"./map.esm.js",
|
|
9
|
+
"./stitches.config.esm.js"
|
|
10
|
+
],
|
|
5
11
|
"exports": {
|
|
12
|
+
"./index.esm.css": "./index.esm.css",
|
|
13
|
+
"./package.json": "./package.json",
|
|
6
14
|
".": {
|
|
7
15
|
"import": "./index.esm.js",
|
|
8
16
|
"types": "./index.d.ts"
|
|
9
17
|
},
|
|
10
|
-
"./
|
|
18
|
+
"./charts": {
|
|
19
|
+
"import": "./charts.esm.js",
|
|
20
|
+
"types": "./charts.d.ts"
|
|
21
|
+
},
|
|
22
|
+
"./editor": {
|
|
23
|
+
"import": "./editor.esm.js",
|
|
24
|
+
"types": "./editor.d.ts"
|
|
25
|
+
},
|
|
26
|
+
"./map": {
|
|
27
|
+
"import": "./map.esm.js",
|
|
28
|
+
"types": "./map.d.ts"
|
|
29
|
+
}
|
|
11
30
|
},
|
|
12
31
|
"typings": "./index.d.ts",
|
|
13
32
|
"peerDependencies": {
|
|
@@ -18,7 +37,7 @@
|
|
|
18
37
|
"@floating-ui/react": "^0.19.2",
|
|
19
38
|
"@majoo-ui/core": "1.32.0",
|
|
20
39
|
"@majoo-ui/helpers": "1.30.9",
|
|
21
|
-
"@majoo-ui/icons": "1.40.
|
|
40
|
+
"@majoo-ui/icons": "1.40.2",
|
|
22
41
|
"@monsonjeremy/react-leaflet": "^3.2.2",
|
|
23
42
|
"@radix-ui/react-accordion": "^1.0.0",
|
|
24
43
|
"@radix-ui/react-alert-dialog": "^1.0.3",
|
|
@@ -66,5 +85,6 @@
|
|
|
66
85
|
"recharts": "^2.1.9",
|
|
67
86
|
"axios": "1.6.0"
|
|
68
87
|
},
|
|
88
|
+
"module": "./index.esm.js",
|
|
69
89
|
"types": "./index.d.ts"
|
|
70
90
|
}
|
package/src/charts.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Subpath entry: `@majoo-ui/react/charts`
|
|
3
|
+
*
|
|
4
|
+
* Kept out of the package root so that `recharts` (~111 KB gz) is only pulled into a
|
|
5
|
+
* consumer's bundle when a chart is actually imported. Importing anything from the
|
|
6
|
+
* root entry — including `MajooProvider` — must not reach this file.
|
|
7
|
+
*/
|
|
8
|
+
export * from './components/chart';
|
|
9
|
+
export * from './components/barChart';
|
|
10
|
+
export * from './components/pieChart';
|
|
@@ -41,13 +41,8 @@ export * from './editableTable';
|
|
|
41
41
|
export * from './loadingBar';
|
|
42
42
|
export * from './progressIndicator';
|
|
43
43
|
export * from './link';
|
|
44
|
-
export * from './mapPicker';
|
|
45
|
-
export * from './chart';
|
|
46
44
|
export * from './checkboxTable';
|
|
47
|
-
export * from './contentEditor';
|
|
48
45
|
export * from './contextMenu';
|
|
49
46
|
export * from './skeleton';
|
|
50
47
|
export * from './tagList';
|
|
51
|
-
export * from './barChart';
|
|
52
|
-
export * from './pieChart';
|
|
53
48
|
export * from './scrollSync';
|
package/src/editor.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Subpath entry: `@majoo-ui/react/editor`
|
|
3
|
+
*
|
|
4
|
+
* Kept out of the package root so that `draft-js` + `react-draft-wysiwyg` (~122 KB gz)
|
|
5
|
+
* are only pulled into a consumer's bundle when the editor is actually imported.
|
|
6
|
+
*/
|
|
7
|
+
export * from './components/contentEditor';
|
package/src/map.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Subpath entry: `@majoo-ui/react/map`
|
|
3
|
+
*
|
|
4
|
+
* Kept out of the package root so that `leaflet` + `@monsonjeremy/react-leaflet`
|
|
5
|
+
* (~43 KB gz) are only pulled into a consumer's bundle when a map is actually
|
|
6
|
+
* imported. This entry also owns the Leaflet CSS and the default-icon patch, which
|
|
7
|
+
* are module-level side effects — see `MapPicker.tsx`.
|
|
8
|
+
*/
|
|
9
|
+
export * from './components/mapPicker';
|