@cgi-learning-hub/ui 1.14.0 → 1.15.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "1.14.0",
3
+ "version": "1.15.0",
4
4
  "description": "React component library for Hub's design system, built on Material UI with custom and extended components.",
5
5
  "keywords": [
6
6
  "cgi-learning-hub",
@@ -21,7 +21,13 @@
21
21
  "import": "./dist/index.es.js",
22
22
  "require": "./dist/index.cjs.js"
23
23
  },
24
- "./index.css": "./dist/ui.css"
24
+ "./tiptap": {
25
+ "types": "./dist/tiptap/index.d.ts",
26
+ "import": "./dist/tiptap/index.es.js",
27
+ "require": "./dist/tiptap/index.cjs.js"
28
+ },
29
+ "./index.css": "./dist/ui.css",
30
+ "./tiptap/styles.css": "./dist/tiptap/styles.css"
25
31
  },
26
32
  "main": "dist/index.cjs.js",
27
33
  "module": "dist/index.es.js",
@@ -34,30 +40,46 @@
34
40
  ],
35
41
  "sideEffects": false,
36
42
  "dependencies": {
37
- "@mui/icons-material": "9.1.1",
38
- "@mui/lab": "9.0.0-beta.5",
43
+ "@mui/icons-material": "9.4.0",
44
+ "@mui/lab": "9.0.0-beta.9",
39
45
  "@mui/system": "^9",
40
- "@mui/x-date-pickers": "9.5.0",
41
- "@mui/x-tree-view": "9.4.0",
46
+ "@mui/x-date-pickers": "9.12.0",
47
+ "@mui/x-tree-view": "9.12.0",
42
48
  "@uiw/color-convert": "2.10.3",
43
49
  "@uiw/react-color-circle": "2.10.3",
44
- "dayjs": "1.11.21",
45
- "react-dropzone": "15.0.0"
50
+ "clsx": "2.1.1",
51
+ "dayjs": "1.11.23",
52
+ "react-dropzone": "20.1.1"
46
53
  },
47
54
  "peerDependencies": {
48
55
  "@emotion/react": "^11",
49
56
  "@emotion/styled": "^11",
50
57
  "@mui/material": "^9",
58
+ "@tiptap/pm": "^3",
59
+ "@tiptap/react": "^3",
51
60
  "react": "^18 || ^19",
52
61
  "react-dom": "^18 || ^19"
53
62
  },
63
+ "peerDependenciesMeta": {
64
+ "@tiptap/pm": {
65
+ "optional": true
66
+ },
67
+ "@tiptap/react": {
68
+ "optional": true
69
+ }
70
+ },
54
71
  "devDependencies": {
72
+ "@base-ui/react": "^1",
55
73
  "@reduxjs/toolkit": "^2",
56
74
  "@types/react": "^19",
57
- "@types/react-dom": "^19"
75
+ "@types/react-dom": "^19",
76
+ "class-variance-authority": "^0",
77
+ "sass-embedded": "^1"
58
78
  },
59
79
  "scripts": {
60
- "build": "vite build",
80
+ "build:js": "vite build",
81
+ "build:css": "sass src/tiptap/styles/index.scss dist/tiptap/styles.css --no-source-map",
82
+ "build": "pnpm run build:js && pnpm run build:css",
61
83
  "watch": "vite build --watch"
62
84
  }
63
85
  }