@demos-europe/demosplan-ui 0.7.0 → 0.8.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.
Binary file
package/CHANGELOG.md CHANGED
@@ -4,6 +4,18 @@ Since v0.0.10, this Changelog is formatted according to the [Common Changelog][c
4
4
 
5
5
  ## UNRELEASED
6
6
 
7
+ ## v0.8.0 - 2026-2-4
8
+
9
+ ### Fixed
10
+ - ([#1432](https://github.com/demos-europe/demosplan-ui/pull/1432)) DpTextArea: Add missing tooltip prop ([@hwiem](https://github.com/hwiem))
11
+ - ([#1433](https://github.com/demos-europe/demosplan-ui/pull/1433)) Validation: Add missing exports ([@hwiem](https://github.com/hwiem))
12
+
13
+ ## v0.7.1 - 2026-1-29
14
+
15
+ ### Fixed
16
+
17
+ - ([#1431](https://github.com/demos-europe/demosplan-ui/pull/1431)) preventEditing.js: Allow keys to navigate with keyboard([@riechedemos](https://github.com/riechedemos))
18
+
7
19
  ## v0.7.0 - 2026-1-19
8
20
 
9
21
  _This release includes changes previously released in v0.5.9-hotfix.1 through v0.5.9-hotfix.4._
@@ -22972,8 +22972,8 @@ const WH = C2.extend({
22972
22972
  handlePaste() {
22973
22973
  return !0;
22974
22974
  },
22975
- handleKeyDown() {
22976
- return !0;
22975
+ handleKeyDown(t, e) {
22976
+ return !["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Shift", "Control", "Meta", "Tab"].includes(e.key);
22977
22977
  },
22978
22978
  handleDOMEvents: {
22979
22979
  drop(t, e) {
@@ -37574,6 +37574,11 @@ const NY = /* @__PURE__ */ ae(wK, [["render", kK]]), AK = {
37574
37574
  required: !1,
37575
37575
  default: !1
37576
37576
  },
37577
+ tooltip: {
37578
+ type: String,
37579
+ required: !1,
37580
+ default: ""
37581
+ },
37577
37582
  value: {
37578
37583
  type: String,
37579
37584
  required: !1,
@@ -41359,6 +41364,7 @@ export {
41359
41364
  AY as dpValidate,
41360
41365
  W8 as dpValidateMixin,
41361
41366
  bW as dpValidateMultiselectDirective,
41367
+ cn as errorClass,
41362
41368
  Y8 as exactlengthHint,
41363
41369
  GJ as externalApi,
41364
41370
  zJ as formatBytes,
@@ -41385,6 +41391,7 @@ export {
41385
41391
  Bn as prefixClassMixin,
41386
41392
  UJ as resistFingerprintingDuckTest,
41387
41393
  zY as sanitizeHtml,
41394
+ um as scrollToVisibleElement,
41388
41395
  zu as sessionStorageMixin,
41389
41396
  jJ as sortAlphabetically,
41390
41397
  ev as tableSelectAllItems,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@demos-europe/demosplan-ui",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "license": "MIT",
5
5
  "description": "Vue components, Vue directives, Design Token and Scss files to build interfaces for demosPlan.",
6
6
  "main": "./dist/demosplan-ui.mjs",
@@ -16,11 +16,13 @@ export default Extension.create({
16
16
  handlePaste() {
17
17
  return true
18
18
  },
19
- handleKeyDown() {
20
- return true
21
- },
19
+ handleKeyDown(view, event) {
20
+ // Allow arrow keys, shift, control/command, and tab for text selection and navigation
21
+ const allowedKeys = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Shift', 'Control', 'Meta', 'Tab']
22
+ return !(allowedKeys.includes(event.key))}
23
+ ,
22
24
  handleDOMEvents: {
23
- drop (_view, event) {
25
+ drop(_view, event) {
24
26
  event.preventDefault()
25
27
 
26
28
  return true
@@ -115,6 +115,12 @@ export default {
115
115
  default: false,
116
116
  },
117
117
 
118
+ tooltip: {
119
+ type: String,
120
+ required: false,
121
+ default: '',
122
+ },
123
+
118
124
  value: {
119
125
  type: String,
120
126
  required: false,
@@ -11,6 +11,8 @@ import validateInput from './utils/validateInputField'
11
11
  import validateMultiselect from './utils/validateMultiselect'
12
12
  import validateTiptap from './utils/validateTiptap'
13
13
 
14
+ export { errorClass, scrollToVisibleElement } from './utils/helpers'
15
+
14
16
  export {
15
17
  assignHandlerForTrigger,
16
18
  assignHandlersForInputs,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ * Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ * Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ * Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ * Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ * Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ * Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ * Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ * Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ * Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ * Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ * Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ // Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
 
5
5
 
6
6
  $dp-box-shadow-xl: 0 0 16px rgb(0 0 0 / 20%), 0 0 3px rgb(0 0 0 / 50%) !default;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ // Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
 
5
5
 
6
6
  $dp-breakpoints-xl: 1400px;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ // Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
 
5
5
 
6
6
  $dp-color-highlight-contrast: $dp-color-white !default;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ // Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
 
5
5
 
6
6
  $dp-color-11-11: #313695;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ // Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
 
5
5
 
6
6
  $dp-color-magenta-dark-2: #650324 !default;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ // Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
 
5
5
 
6
6
  $dp-color-background-medium: $dp-color-neutral-light-3 !default;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ // Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
 
5
5
 
6
6
  $dp-font-size-7: 50px !default;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ // Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
 
5
5
 
6
6
  $dp-rounded-full: 9999px;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ // Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
 
5
5
 
6
6
  $dp-space-1_5: 9px;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 19 Jan 2026 17:18:03 GMT
3
+ // Generated on Wed, 04 Feb 2026 13:59:12 GMT
4
4
 
5
5
 
6
6
  $dp-z-ultimate: 10000;