@ditojs/admin 2.42.1 → 2.43.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.42.1",
3
+ "version": "2.43.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",
@@ -39,55 +39,55 @@
39
39
  "not ie_mob > 0"
40
40
  ],
41
41
  "dependencies": {
42
- "@ditojs/ui": "^2.42.1",
43
- "@ditojs/utils": "^2.42.1",
42
+ "@ditojs/ui": "^2.43.0",
43
+ "@ditojs/utils": "^2.43.0",
44
44
  "@kyvg/vue3-notification": "^3.4.1",
45
45
  "@lk77/vue3-color": "^3.0.6",
46
- "@tiptap/core": "^2.11.0",
47
- "@tiptap/extension-blockquote": "^2.11.0",
48
- "@tiptap/extension-bold": "^2.11.0",
49
- "@tiptap/extension-bullet-list": "^2.11.0",
50
- "@tiptap/extension-code": "^2.11.0",
51
- "@tiptap/extension-code-block": "^2.11.0",
52
- "@tiptap/extension-document": "^2.11.0",
53
- "@tiptap/extension-hard-break": "^2.11.0",
54
- "@tiptap/extension-heading": "^2.11.0",
55
- "@tiptap/extension-history": "^2.11.0",
56
- "@tiptap/extension-horizontal-rule": "^2.11.0",
57
- "@tiptap/extension-italic": "^2.11.0",
58
- "@tiptap/extension-link": "^2.11.0",
59
- "@tiptap/extension-list-item": "^2.11.0",
60
- "@tiptap/extension-ordered-list": "^2.11.0",
61
- "@tiptap/extension-paragraph": "^2.11.0",
62
- "@tiptap/extension-strike": "^2.11.0",
63
- "@tiptap/extension-subscript": "^2.11.0",
64
- "@tiptap/extension-superscript": "^2.11.0",
65
- "@tiptap/extension-text": "^2.11.0",
66
- "@tiptap/extension-text-style": "^2.11.0",
67
- "@tiptap/extension-underline": "^2.11.0",
68
- "@tiptap/pm": "^2.11.0",
69
- "@tiptap/vue-3": "^2.11.0",
70
- "@vueuse/integrations": "^12.3.0",
46
+ "@tiptap/core": "^2.11.3",
47
+ "@tiptap/extension-blockquote": "^2.11.3",
48
+ "@tiptap/extension-bold": "^2.11.3",
49
+ "@tiptap/extension-bullet-list": "^2.11.3",
50
+ "@tiptap/extension-code": "^2.11.3",
51
+ "@tiptap/extension-code-block": "^2.11.3",
52
+ "@tiptap/extension-document": "^2.11.3",
53
+ "@tiptap/extension-hard-break": "^2.11.3",
54
+ "@tiptap/extension-heading": "^2.11.3",
55
+ "@tiptap/extension-history": "^2.11.3",
56
+ "@tiptap/extension-horizontal-rule": "^2.11.3",
57
+ "@tiptap/extension-italic": "^2.11.3",
58
+ "@tiptap/extension-link": "^2.11.3",
59
+ "@tiptap/extension-list-item": "^2.11.3",
60
+ "@tiptap/extension-ordered-list": "^2.11.3",
61
+ "@tiptap/extension-paragraph": "^2.11.3",
62
+ "@tiptap/extension-strike": "^2.11.3",
63
+ "@tiptap/extension-subscript": "^2.11.3",
64
+ "@tiptap/extension-superscript": "^2.11.3",
65
+ "@tiptap/extension-text": "^2.11.3",
66
+ "@tiptap/extension-text-style": "^2.11.3",
67
+ "@tiptap/extension-underline": "^2.11.3",
68
+ "@tiptap/pm": "^2.11.3",
69
+ "@tiptap/vue-3": "^2.11.3",
70
+ "@vueuse/integrations": "^12.5.0",
71
71
  "codeflask": "^1.4.1",
72
72
  "filesize": "^10.1.6",
73
73
  "filesize-parser": "^1.5.1",
74
- "focus-trap": "^7.6.2",
74
+ "focus-trap": "^7.6.4",
75
75
  "nanoid": "^5.0.9",
76
76
  "sortablejs": "^1.15.6",
77
77
  "tinycolor2": "^1.6.0",
78
78
  "tippy.js": "^6.3.7",
79
79
  "tiptap-footnotes": "^2.0.3",
80
- "type-fest": "^4.31.0",
80
+ "type-fest": "^4.33.0",
81
81
  "vue": "^3.5.13",
82
- "vue-multiselect": "^3.1.0",
82
+ "vue-multiselect": "^3.2.0",
83
83
  "vue-router": "^4.5.0",
84
84
  "vue-upload-component": "^3.1.17"
85
85
  },
86
86
  "devDependencies": {
87
- "@ditojs/build": "^2.42.1",
88
- "typescript": "^5.7.2",
89
- "vite": "^6.0.7"
87
+ "@ditojs/build": "^2.43.0",
88
+ "typescript": "^5.7.3",
89
+ "vite": "^6.0.11"
90
90
  },
91
91
  "types": "types",
92
- "gitHead": "9cff900dd34edc92b1f57619e938f2ec7eb99f67"
92
+ "gitHead": "d24c0baf4d4f3156f5803cff71a6f13c3085037f"
93
93
  }
@@ -320,9 +320,9 @@ export default {
320
320
 
321
321
  collapsible: getSchemaAccessor('collapsible', {
322
322
  type: Boolean,
323
- default: null, // so that `??` below can do its thing:
323
+ default: false,
324
324
  get(collapsible) {
325
- return this.isInlined && !!(collapsible ?? this.collapsed !== null)
325
+ return collapsible && this.isInlined
326
326
  }
327
327
  }),
328
328
 
@@ -329,14 +329,13 @@ $tag-line-height: 1em;
329
329
  }
330
330
 
331
331
  &__select {
332
- width: 0;
333
- margin-right: calc($select-arrow-width / 2);
332
+ width: $select-arrow-width;
334
333
 
335
334
  &::before {
336
335
  @include arrow($select-arrow-size);
337
336
 
338
337
  bottom: $select-arrow-bottom;
339
- right: calc(-1 * $select-arrow-size / 2);
338
+ right: $select-arrow-right;
340
339
  }
341
340
  }
342
341
 
@@ -38,10 +38,7 @@ export default DitoTypeComponent.register('section', {
38
38
 
39
39
  collapsible: getSchemaAccessor('collapsible', {
40
40
  type: Boolean,
41
- default: null, // so that `??` below can do its thing:
42
- get(collapsible) {
43
- return !!(collapsible ?? this.collapsed !== null)
44
- }
41
+ default: false
45
42
  }),
46
43
 
47
44
  collapsed: getSchemaAccessor('collapsed', {
@@ -74,9 +74,6 @@ export default DitoTypeComponent.register('select', {
74
74
  <style lang="scss">
75
75
  @import '../styles/_imports';
76
76
 
77
- // TODO: Move to dito-ui
78
- $select-arrow-right: calc(($select-arrow-width - $select-arrow-size) / 2);
79
-
80
77
  .dito-select {
81
78
  display: inline-flex;
82
79
  position: relative;
@@ -98,7 +95,7 @@ $select-arrow-right: calc(($select-arrow-width - $select-arrow-size) / 2);
98
95
 
99
96
  position: absolute;
100
97
  bottom: $select-arrow-bottom;
101
- right: calc(#{$select-arrow-right} + #{$border-width});
98
+ right: $select-arrow-right;
102
99
  }
103
100
  }
104
101