@medixdeck/ui 0.1.16 → 0.1.18

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.
Binary file
@@ -19,4 +19,4 @@
19
19
  "type": "image/png"
20
20
  }
21
21
  ]
22
- }
22
+ }
package/dist/sw.js CHANGED
@@ -1,12 +1,12 @@
1
- self.addEventListener("install", (e) => {
1
+ self.addEventListener('install', (e) => {
2
2
  self.skipWaiting();
3
3
  });
4
4
 
5
- self.addEventListener("activate", (e) => {
5
+ self.addEventListener('activate', (e) => {
6
6
  e.waitUntil(clients.claim());
7
7
  });
8
8
 
9
- self.addEventListener("fetch", (e) => {
9
+ self.addEventListener('fetch', (e) => {
10
10
  // A simple empty fetch handler is enough to satisfy the PWA criteria
11
11
  // for the browser to fire the beforeinstallprompt event.
12
12
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medixdeck/ui",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "MedixDeck shared UI component library — built with Chakra UI v3 and Vite",
5
5
  "author": "MedixDeck Team",
6
6
  "license": "MIT",
@@ -35,8 +35,13 @@
35
35
  "build:watch": "vite build --watch",
36
36
  "preview": "vite preview",
37
37
  "type-check": "tsc --noEmit",
38
- "lint": "eslint lib --ext .ts,.tsx",
38
+ "lint": "eslint .",
39
+ "lint:fix": "eslint . --fix",
40
+ "format": "prettier --write .",
41
+ "format:check": "prettier --check .",
39
42
  "pack:check": "npm pack --dry-run",
43
+ "prepare": "husky",
44
+ "release": "npm version patch && npm publish",
40
45
  "prepublishOnly": "npm run build",
41
46
  "storybook": "storybook dev -p 6006",
42
47
  "build-storybook": "storybook build",
@@ -47,11 +52,39 @@
47
52
  "@chakra-ui/react": ">=3.0.0",
48
53
  "framer-motion": ">=11.0.0",
49
54
  "react": ">=18.0.0",
50
- "react-dom": ">=18.0.0"
55
+ "react-dom": ">=18.0.0",
56
+ "@tiptap/react": ">=3.0.0",
57
+ "@tiptap/pm": ">=3.0.0",
58
+ "@tiptap/starter-kit": ">=3.0.0",
59
+ "@tiptap/extension-link": ">=3.0.0",
60
+ "@tiptap/extension-underline": ">=3.0.0",
61
+ "@tiptap/extension-text-align": ">=3.0.0",
62
+ "@tiptap/extension-placeholder": ">=3.0.0"
51
63
  },
52
64
  "peerDependenciesMeta": {
53
65
  "framer-motion": {
54
66
  "optional": true
67
+ },
68
+ "@tiptap/react": {
69
+ "optional": true
70
+ },
71
+ "@tiptap/pm": {
72
+ "optional": true
73
+ },
74
+ "@tiptap/starter-kit": {
75
+ "optional": true
76
+ },
77
+ "@tiptap/extension-link": {
78
+ "optional": true
79
+ },
80
+ "@tiptap/extension-underline": {
81
+ "optional": true
82
+ },
83
+ "@tiptap/extension-text-align": {
84
+ "optional": true
85
+ },
86
+ "@tiptap/extension-placeholder": {
87
+ "optional": true
55
88
  }
56
89
  },
57
90
  "devDependencies": {
@@ -69,21 +102,35 @@
69
102
  "@types/testing-library__jest-dom": "^5.14.9",
70
103
  "@vitejs/plugin-react": "^4.3.0",
71
104
  "eslint": "^9.25.1",
105
+ "eslint-config-prettier": "^10.1.8",
106
+ "eslint-import-resolver-typescript": "^4.4.5",
107
+ "eslint-plugin-import-x": "^4.16.2",
72
108
  "globals": "^16.0.0",
73
109
  "happy-dom": "^20.9.0",
110
+ "husky": "^9.1.7",
111
+ "prettier": "^3.8.3",
74
112
  "react-icons": "^5.6.0",
75
113
  "storybook": "^8.6.18",
76
114
  "typescript": "^5.5.0",
77
- "typescript-eslint": "^8.30.1",
115
+ "typescript-eslint": "^8.60.1",
78
116
  "vite": "^6.0.0",
79
117
  "vite-plugin-dts": "^4.3.0",
80
- "vitest": "^4.1.4"
118
+ "vitest": "^4.1.4",
119
+ "@tiptap/extension-link": "^3.29.1",
120
+ "@tiptap/extension-placeholder": "^3.29.1",
121
+ "@tiptap/extension-text-align": "^3.29.1",
122
+ "@tiptap/extension-underline": "^3.29.1",
123
+ "@tiptap/pm": "^3.29.1",
124
+ "@tiptap/react": "^3.29.1",
125
+ "@tiptap/starter-kit": "^3.29.1"
81
126
  },
82
127
  "dependencies": {
83
128
  "framer-motion": ">=11.0.0",
129
+ "isomorphic-dompurify": "^3.16.0",
84
130
  "next-themes": "^0.4.4",
85
131
  "react-cookie-consent": "^10.0.1",
86
- "react-country-flag": "^3.1.0"
132
+ "react-country-flag": "^3.1.0",
133
+ "react-markdown": "^10.1.0"
87
134
  },
88
135
  "keywords": [
89
136
  "medixdeck",
@@ -101,4 +148,4 @@
101
148
  "publishConfig": {
102
149
  "access": "public"
103
150
  }
104
- }
151
+ }