webcake-ui-kit 1.3.7 → 1.3.9

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": "webcake-ui-kit",
3
- "version": "1.3.7",
3
+ "version": "1.3.9",
4
4
  "description": "UI Kit for Vue 2 && 3 - Pure Options API",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -69,14 +69,11 @@ function open(config) {
69
69
  const vm = ensureContainer()
70
70
  if (!vm) return function () {}
71
71
 
72
- // Per-call placement/offset override (applied before add so the container
73
- // is positioned correctly when the message enters).
74
- if (config.placement != null || config.offset != null) {
75
- vm.configure({
76
- placement: config.placement,
77
- offset: config.offset
78
- })
79
- }
72
+ // Always resolve placement/offset — per-call value wins, falls back to globalConfig.
73
+ vm.configure({
74
+ placement: config.placement != null ? config.placement : globalConfig.placement,
75
+ offset: config.offset != null ? config.offset : globalConfig.offset
76
+ })
80
77
 
81
78
  const type = config.type || 'info'
82
79
  const duration = config.duration !== undefined ? config.duration : type === 'loading' ? 0 : globalConfig.duration
@@ -1495,6 +1495,7 @@ export { default as WkiStore } from './Store.vue'
1495
1495
  export { default as WkiStretchHorizontal } from './StretchHorizontal.vue'
1496
1496
  export { default as WkiStretchVertical } from './StretchVertical.vue'
1497
1497
  export { default as WkiStrikethrough } from './Strikethrough.vue'
1498
+ export { default as WkiLineThrough } from './Strikethrough.vue'
1498
1499
  export { default as WkiSubscript } from './Subscript.vue'
1499
1500
  export { default as WkiSun } from './Sun.vue'
1500
1501
  export { default as WkiSunDim } from './SunDim.vue'