@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.
- package/LICENSE +21 -21
- package/README.md +188 -99
- package/dist/_redirects +1 -0
- package/dist/index.cjs +159 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +364 -146
- package/dist/index.js +17005 -6899
- package/dist/index.js.map +1 -1
- package/dist/logos/logo-blue.png +0 -0
- package/dist/manifest.json +1 -1
- package/dist/sw.js +3 -3
- package/package.json +54 -7
|
Binary file
|
package/dist/manifest.json
CHANGED
package/dist/sw.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
self.addEventListener(
|
|
1
|
+
self.addEventListener('install', (e) => {
|
|
2
2
|
self.skipWaiting();
|
|
3
3
|
});
|
|
4
4
|
|
|
5
|
-
self.addEventListener(
|
|
5
|
+
self.addEventListener('activate', (e) => {
|
|
6
6
|
e.waitUntil(clients.claim());
|
|
7
7
|
});
|
|
8
8
|
|
|
9
|
-
self.addEventListener(
|
|
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.
|
|
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
|
|
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.
|
|
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
|
+
}
|