@ditojs/admin 2.83.0 → 2.84.1

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.83.0",
3
+ "version": "2.84.1",
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",
@@ -42,8 +42,8 @@
42
42
  "not ie_mob > 0"
43
43
  ],
44
44
  "dependencies": {
45
- "@ditojs/ui": "^2.83.0",
46
- "@ditojs/utils": "^2.83.0",
45
+ "@ditojs/ui": "^2.84.0",
46
+ "@ditojs/utils": "^2.84.0",
47
47
  "@kyvg/vue3-notification": "^3.4.2",
48
48
  "@lk77/vue3-color": "^3.0.6",
49
49
  "@tiptap/core": "^3.20.0",
@@ -83,15 +83,15 @@
83
83
  "tippy.js": "^6.3.7",
84
84
  "tiptap-footnotes": "^3.0.1",
85
85
  "type-fest": "^5.4.4",
86
- "vue": "^3.5.28",
86
+ "vue": "^3.5.29",
87
87
  "vue-multiselect": "^3.4.0",
88
88
  "vue-router": "^5.0.3",
89
89
  "vue-upload-component": "^3.1.17"
90
90
  },
91
91
  "devDependencies": {
92
- "@ditojs/build": "^2.83.0",
92
+ "@ditojs/build": "^2.84.0",
93
93
  "typescript": "^5.9.3",
94
94
  "vite": "^7.3.1"
95
95
  },
96
- "gitHead": "276e6adff5ae8e8b607aec5a1e0740fec8ca7e52"
96
+ "gitHead": "2087c12d2af181bf72af0d2e525788fa6d460c47"
97
97
  }
@@ -8,7 +8,7 @@
8
8
  li(
9
9
  v-for="(label, value) of items"
10
10
  )
11
- a(
11
+ a.dito-pulldown__item(
12
12
  @mousedown.stop="onPulldownMouseDown(value)"
13
13
  @mouseup="onPulldownMouseUp(value)"
14
14
  ) {{ label }}
@@ -218,6 +218,7 @@ export default DitoTypeComponent.register('multiselect', {
218
218
  onAddTag(tag) {
219
219
  const option = this.addTagOption(tag)
220
220
  if (option) {
221
+ this.value ??= []
221
222
  this.value.push(this.getValueForOption(option))
222
223
  }
223
224
  },
@@ -383,9 +384,11 @@ $tag-line-height: 1em;
383
384
  padding: $input-padding;
384
385
 
385
386
  &::after {
386
- // Instruction text for options
387
- padding: $input-padding;
388
- line-height: $tag-line-height;
387
+ // Instruction text for options (e.g. "Press enter to add new tag")
388
+ position: static;
389
+ height: auto;
390
+ line-height: inherit;
391
+ padding-left: $input-padding-hor;
389
392
  }
390
393
 
391
394
  // Only show the highlight once the pulldown has received mouse or
@@ -401,8 +404,6 @@ $tag-line-height: 1em;
401
404
 
402
405
  &--highlight {
403
406
  &::after {
404
- display: block;
405
- position: absolute;
406
407
  background: transparent;
407
408
  color: $color-white;
408
409
  }