@signal24/vue-foundation 4.29.7 → 4.30.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@signal24/vue-foundation",
3
3
  "type": "module",
4
- "version": "4.29.7",
4
+ "version": "4.30.0",
5
5
  "description": "Common components, directives, and helpers for Vue 3 apps",
6
6
  "module": "./dist/vue-foundation.es.js",
7
7
  "exports": {
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "currency.js": "^2.0.4",
36
36
  "mark.js": "^8.11.1",
37
- "uuid": "^11.1.0"
37
+ "uuid": "^13.0.0"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@signal24/openapi-client-codegen": "^2.1.1",
@@ -43,37 +43,37 @@
43
43
  "vue": "^3.4.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@eslint/js": "9.30.1",
47
- "@nabla/vite-plugin-eslint": "^2.0.5",
48
- "@signal24/openapi-client-codegen": "^2.6.0",
46
+ "@eslint/js": "9.39.1",
47
+ "@nabla/vite-plugin-eslint": "^2.0.6",
48
+ "@signal24/openapi-client-codegen": "^2.6.2",
49
49
  "@tsconfig/node22": "^22.0.2",
50
- "@types/jsdom": "^21.1.7",
50
+ "@types/jsdom": "^27.0.0",
51
51
  "@types/lodash": "^4.17.20",
52
52
  "@types/mark.js": "^8",
53
- "@types/node": "^24.0.10",
54
- "@types/uuid": "^10.0.0",
55
- "@vitejs/plugin-vue": "^6.0.0",
53
+ "@types/node": "^24.10.0",
54
+ "@types/uuid": "^11.0.0",
55
+ "@vitejs/plugin-vue": "^6.0.1",
56
56
  "@vue/eslint-config-prettier": "^10.2.0",
57
- "@vue/eslint-config-typescript": "^14.5.1",
57
+ "@vue/eslint-config-typescript": "^14.6.0",
58
58
  "@vue/test-utils": "^2.4.6",
59
- "@vue/tsconfig": "^0.7.0",
59
+ "@vue/tsconfig": "^0.8.1",
60
60
  "date-fns": "^4.1.0",
61
- "eslint": "9.30.1",
61
+ "eslint": "9.39.1",
62
62
  "eslint-plugin-simple-import-sort": "^12.1.1",
63
- "eslint-plugin-unused-imports": "^4.1.4",
64
- "eslint-plugin-vue": "^10.2.0",
65
- "jsdom": "^26.1.0",
63
+ "eslint-plugin-unused-imports": "^4.3.0",
64
+ "eslint-plugin-vue": "^10.5.1",
65
+ "jsdom": "^27.1.0",
66
66
  "lodash": "^4.17.21",
67
67
  "prettier": "^3.6.2",
68
- "sass": "^1.89.2",
69
- "start-server-and-test": "^2.0.12",
70
- "type-fest": "^4.41.0",
71
- "typescript": "~5.8",
72
- "typescript-eslint": "^8.35.1",
73
- "vite": "^7.0.0",
74
- "vitest": "^3.2.4",
75
- "vue": "^3.5.17",
76
- "vue-tsc": "^3.0.0"
68
+ "sass": "^1.93.3",
69
+ "start-server-and-test": "^2.1.2",
70
+ "type-fest": "^5.2.0",
71
+ "typescript": "~5.9",
72
+ "typescript-eslint": "^8.46.3",
73
+ "vite": "^7.2.1",
74
+ "vitest": "^4.0.7",
75
+ "vue": "^3.5.23",
76
+ "vue-tsc": "^3.1.3"
77
77
  },
78
78
  "packageManager": "yarn@4.9.2"
79
79
  }
@@ -148,7 +148,7 @@ export function dismissOverlayInjectionByInternalInstance(instance: ComponentInt
148
148
  export function dismissOverlayInjectionByVnode(vnode: VNode) {
149
149
  const injectionIdx = OverlayInjections.findIndex(i => i.vnode.component === vnode.component);
150
150
  if (injectionIdx >= 0) {
151
- OverlayInjections[injectionIdx].props.callback();
151
+ OverlayInjections[injectionIdx]!.props.callback();
152
152
  return true;
153
153
  }
154
154
  return false;
@@ -157,7 +157,7 @@ export function dismissOverlayInjectionByVnode(vnode: VNode) {
157
157
  export function dismissOverlayInjectionById(id: string) {
158
158
  const injectionIdx = OverlayInjections.findIndex(i => i.id === id);
159
159
  if (injectionIdx >= 0) {
160
- OverlayInjections[injectionIdx].props.callback();
160
+ OverlayInjections[injectionIdx]!.props.callback();
161
161
  return true;
162
162
  }
163
163
  return false;
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <Modal :class="['vf-alert', ...(classes ?? [])]">
2
+ <Modal :class="['vf-alert', ...(classes ?? [])]" scrolls>
3
3
  <template v-if="title" #header>
4
4
  {{ title }}
5
5
  </template>
@@ -423,7 +423,7 @@ function setHighlightedOptionKey(useFirstItemAsFallback?: boolean) {
423
423
  if (selectedOption.value) {
424
424
  highlightedOptionKey.value = getOptionKey(selectedOption.value);
425
425
  } else if (useFirstItemAsFallback) {
426
- highlightedOptionKey.value = effectiveOptions.value?.[0].key ?? NullSymbol;
426
+ highlightedOptionKey.value = effectiveOptions.value?.[0]?.key ?? NullSymbol;
427
427
  } else if (props.nullTitle) {
428
428
  highlightedOptionKey.value = NullSymbol;
429
429
  }
@@ -485,7 +485,7 @@ function teleportOptionsContainer() {
485
485
 
486
486
  for (let key in styles) {
487
487
  if (!/^(font|text)/.test(key)) continue;
488
- optionsEl.style[key] = styles[key];
488
+ optionsEl.style[key] = styles[key]!;
489
489
  }
490
490
 
491
491
  optionsEl.style.top = targetTop + 'px';
@@ -527,7 +527,7 @@ function incrementHighlightedOption(increment: number) {
527
527
 
528
528
  if (highlightedOptionIdx == targetOptionIdx) return;
529
529
 
530
- highlightedOptionKey.value = effectiveOptions.value[targetOptionIdx].key;
530
+ highlightedOptionKey.value = effectiveOptions.value[targetOptionIdx]!.key;
531
531
 
532
532
  const containerEl = optionsContainer.value!;
533
533
  const targetOptionEl = containerEl?.querySelectorAll('.option')[targetOptionIdx] as HTMLElement;