@hkdigital/lib-core 0.5.91 → 0.5.92

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.
@@ -48,12 +48,12 @@
48
48
  !height ||
49
49
  !design ||
50
50
  !clamping
51
- // || hidden
51
+ || hidden
52
52
  ) {
53
53
  return;
54
54
  }
55
55
 
56
- console.debug(`Enable scaling [${width},${height}]`);
56
+ // console.debug(`Enable scaling [${width},${height}]`);
57
57
 
58
58
  return enableContainerScaling({
59
59
  container,
@@ -73,12 +73,8 @@
73
73
  style:left="0"
74
74
  style:width="{width}px"
75
75
  style:height="{height}px"
76
- style:visibility={hidden ? "hidden" : "visible"}
76
+ style:display={hidden ? "none" : "block"}
77
77
  >
78
78
  {@render snippet(snippetParams)}
79
79
  </div>
80
80
  {/if}
81
-
82
- <style>
83
- /* Positioning and visibility handled via inline styles */
84
- </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hkdigital/lib-core",
3
- "version": "0.5.91",
3
+ "version": "0.5.92",
4
4
  "author": {
5
5
  "name": "HKdigital",
6
6
  "url": "https://hkdigital.nl"