@ditojs/admin 2.49.1 → 2.51.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": "@ditojs/admin",
3
- "version": "2.49.1",
3
+ "version": "2.51.0",
4
4
  "type": "module",
5
5
  "description": "Dito.js Admin is a schema based admin interface for Dito.js Server, featuring auto-generated views and forms and built with Vue.js",
6
6
  "repository": "https://github.com/ditojs/dito/tree/master/packages/admin",
@@ -8,8 +8,10 @@
8
8
  "license": "MIT",
9
9
  "module": "./dist/dito-admin.es.js",
10
10
  "main": "./dist/dito-admin.umd.js",
11
+ "types": "./types/index.d.ts",
11
12
  "exports": {
12
13
  ".": {
14
+ "types": "./types/index.d.ts",
13
15
  "import": "./dist/dito-admin.es.js",
14
16
  "require": "./dist/dito-admin.umd.js"
15
17
  },
@@ -23,7 +25,8 @@
23
25
  "types/"
24
26
  ],
25
27
  "scripts": {
26
- "build": "vite build",
28
+ "vite": "node --disable-warning=DEP0040 $(yarn bin vite)",
29
+ "build": "yarn vite build",
27
30
  "watch": "yarn build --mode 'development' --watch",
28
31
  "prepare": "yarn build",
29
32
  "types": "tsc --noEmit types/index.d.ts"
@@ -39,8 +42,8 @@
39
42
  "not ie_mob > 0"
40
43
  ],
41
44
  "dependencies": {
42
- "@ditojs/ui": "^2.49.1",
43
- "@ditojs/utils": "^2.49.0",
45
+ "@ditojs/ui": "^2.51.0",
46
+ "@ditojs/utils": "^2.51.0",
44
47
  "@kyvg/vue3-notification": "^3.4.1",
45
48
  "@lk77/vue3-color": "^3.0.6",
46
49
  "@tiptap/core": "^2.12.0",
@@ -67,7 +70,7 @@
67
70
  "@tiptap/extension-underline": "^2.12.0",
68
71
  "@tiptap/pm": "^2.12.0",
69
72
  "@tiptap/vue-3": "^2.12.0",
70
- "@vueuse/integrations": "^13.1.0",
73
+ "@vueuse/integrations": "^13.2.0",
71
74
  "codeflask": "^1.4.1",
72
75
  "filesize": "^10.1.6",
73
76
  "filesize-parser": "^1.5.1",
@@ -84,10 +87,9 @@
84
87
  "vue-upload-component": "^3.1.17"
85
88
  },
86
89
  "devDependencies": {
87
- "@ditojs/build": "^2.49.1",
90
+ "@ditojs/build": "^2.51.0",
88
91
  "typescript": "^5.8.3",
89
92
  "vite": "^6.3.5"
90
93
  },
91
- "types": "types",
92
- "gitHead": "45e0fcf6cc3616b095ad32928cba034198b01ba0"
94
+ "gitHead": "0b8f114647510db71c50be9fdc331297b1e726ab"
93
95
  }
@@ -186,7 +186,7 @@ export default DitoComponent.component('DitoDialog', {
186
186
  justify-content: center;
187
187
  // Prevent scrolling of the page behind the dialog:
188
188
  overflow: hidden;
189
- background: rgba(0, 0, 0, 0.2);
189
+ background: rgb(0, 0, 0, 0.2);
190
190
 
191
191
  &__focus-trap {
192
192
  display: flex;
@@ -202,7 +202,7 @@ export default DitoComponent.component('DitoDialog', {
202
202
  border-radius: $border-radius;
203
203
  max-width: var(--width, 480px);
204
204
  max-height: 100%;
205
- box-shadow: 0 20px 60px -2px rgba(27, 33, 58, 0.4);
205
+ box-shadow: 0 20px 60px -2px rgb(27, 33, 58, 0.4);
206
206
  }
207
207
  }
208
208
 
@@ -151,7 +151,7 @@ export default DitoComponent.component('DitoMenu', {
151
151
  }
152
152
 
153
153
  &:hover {
154
- background: rgba(255, 255, 255, 0.5);
154
+ background: rgb(255, 255, 255, 0.5);
155
155
  }
156
156
 
157
157
  &.dito-active {
@@ -481,7 +481,7 @@ function addRoutes(router, routes) {
481
481
  width: 100%;
482
482
  height: 100%;
483
483
  z-index: $z-index-drag-overlay;
484
- background: rgba(0, 0, 0, 0.25);
484
+ background: rgb(0, 0, 0, 0.25);
485
485
  pointer-events: none;
486
486
  backdrop-filter: blur(8px);
487
487
  }
@@ -492,7 +492,7 @@ function addRoutes(router, routes) {
492
492
  background: $content-color-background;
493
493
  border-radius: $border-radius;
494
494
  z-index: $z-index-drag-overlay + 1;
495
- filter: drop-shadow(0 4px 8px rgba(0, 0, 0, var(--shadow-alpha)));
495
+ filter: drop-shadow(0 4px 8px rgb(0, 0, 0, var(--shadow-alpha)));
496
496
  }
497
497
 
498
498
  .dito-drag-enter-active,