@ditojs/admin 2.9.2 → 2.9.3

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.9.2",
3
+ "version": "2.9.3",
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",
@@ -33,9 +33,9 @@
33
33
  "not ie_mob > 0"
34
34
  ],
35
35
  "dependencies": {
36
- "@ditojs/ui": "^2.9.0",
36
+ "@ditojs/ui": "^2.9.3",
37
37
  "@ditojs/utils": "^2.9.0",
38
- "@kyvg/vue3-notification": "^2.9.0",
38
+ "@kyvg/vue3-notification": "^2.9.1",
39
39
  "@lk77/vue3-color": "^3.0.6",
40
40
  "@tiptap/core": "^2.0.3",
41
41
  "@tiptap/extension-blockquote": "^2.0.3",
@@ -62,28 +62,28 @@
62
62
  "codeflask": "^1.4.1",
63
63
  "filesize": "^10.0.7",
64
64
  "filesize-parser": "^1.5.0",
65
- "focus-trap": "^7.4.0",
65
+ "focus-trap": "^7.4.1",
66
66
  "nanoid": "^4.0.2",
67
67
  "sortablejs": "^1.15.0",
68
68
  "tinycolor2": "^1.6.0",
69
69
  "tippy.js": "^6.3.7",
70
70
  "type-fest": "^3.10.0",
71
- "vue": "^3.2.47",
72
- "vue-multiselect": "^3.0.0-beta.1",
73
- "vue-router": "^4.1.6",
71
+ "vue": "^3.3.2",
72
+ "vue-multiselect": "^3.0.0-beta.2",
73
+ "vue-router": "^4.2.0",
74
74
  "vue-upload-component": "^3.1.8"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@ditojs/build": "^2.9.0",
78
- "@vitejs/plugin-vue": "^4.2.1",
79
- "@vue/compiler-sfc": "^3.2.47",
78
+ "@vitejs/plugin-vue": "^4.2.3",
79
+ "@vue/compiler-sfc": "^3.3.2",
80
80
  "pug": "^3.0.2",
81
81
  "sass": "1.62.1",
82
82
  "typescript": "^5.0.4",
83
- "vite": "^4.3.5"
83
+ "vite": "^4.3.7"
84
84
  },
85
85
  "types": "types",
86
- "gitHead": "1f8607d92bdd39d14af2a06968ca4914c2d3988f",
86
+ "gitHead": "8855fb3de01a12a456a622cc17c0c03ffdbf7eab",
87
87
  "scripts": {
88
88
  "build": "vite build",
89
89
  "watch": "yarn build --mode 'development' --watch",
@@ -5,8 +5,9 @@
5
5
  .dito-notifications__inner
6
6
  VueNotifications(
7
7
  ref="notifications"
8
- position="none"
9
8
  classes="dito-notification"
9
+ position=""
10
+ width=""
10
11
  )
11
12
  </template>
12
13
 
@@ -75,7 +76,12 @@ export default DitoComponent.component('DitoNotifications', {
75
76
  }
76
77
 
77
78
  .dito-notifications {
79
+ $notification-width: 300px;
80
+
78
81
  flex: 1;
82
+ z-index: $z-index-notifications;
83
+ box-sizing: border-box;
84
+ margin-left: $form-spacing;
79
85
  // For the `@container` rule to work:
80
86
  container-type: inline-size;
81
87
 
@@ -94,10 +100,11 @@ export default DitoComponent.component('DitoNotifications', {
94
100
  position: absolute;
95
101
  left: 0;
96
102
  top: 0;
103
+ width: $notification-width;
97
104
 
98
- @container (width < 300px) {
105
+ @container (width < #{$notification-width + $content-padding}) {
99
106
  left: unset;
100
- right: 0;
107
+ right: $content-padding;
101
108
  }
102
109
  }
103
110
 
@@ -107,7 +114,7 @@ export default DitoComponent.component('DitoNotifications', {
107
114
 
108
115
  .dito-notification {
109
116
  padding: 8px;
110
- margin: $content-padding;
117
+ margin: $content-padding 0;
111
118
  font-size: inherit;
112
119
  color: $color-white;
113
120
  border-radius: $border-radius;
@@ -119,6 +126,9 @@ export default DitoComponent.component('DitoNotifications', {
119
126
  }
120
127
 
121
128
  .notification-content {
129
+ overflow: hidden;
130
+ word-break: break-all;
131
+
122
132
  p {
123
133
  margin: 0;
124
134
 
@@ -72,6 +72,7 @@ $menu-padding: $menu-padding-ver $menu-padding-hor;
72
72
  // Z-Indices
73
73
  $z-index-dialog: 4000;
74
74
  $z-index-drag-overlay: 3000;
75
+ $z-index-notifications: 2500;
75
76
  $z-index-header: 2000;
76
77
  $z-index-tippy: 750;
77
78
  $z-index-main-buttons: 500;