@hkdigital/lib-sveltekit 0.1.37 → 0.1.39

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.
@@ -78,12 +78,12 @@
78
78
  const availWidth = windowWidth - marginLeft - marginRight;
79
79
  const availHeight = windowHeight - marginTop - marginBottom;
80
80
 
81
- console.log('GameBox margins:', {
82
- marginLeft,
83
- marginRight,
84
- marginTop,
85
- marginBottom
86
- });
81
+ // console.debug('GameBox margins:', {
82
+ // marginLeft,
83
+ // marginRight,
84
+ // marginTop,
85
+ // marginBottom
86
+ // });
87
87
 
88
88
  let gameAspect;
89
89
 
@@ -171,7 +171,7 @@
171
171
  </script>
172
172
 
173
173
  <div
174
- data-image="box"
174
+ data-component="image-box"
175
175
  bind:this={containerElem}
176
176
  class="{base} {bg} {aspect} {overflow} {width} {height} {classes}"
177
177
  style:--fit={fit}
@@ -193,7 +193,7 @@
193
193
  </div>
194
194
 
195
195
  <style>
196
- [data-image='box'] {
196
+ [data-component='image-box'] {
197
197
  max-width: 100%;
198
198
  max-height: 100%;
199
199
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hkdigital/lib-sveltekit",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "author": {
5
5
  "name": "HKdigital",
6
6
  "url": "https://hkdigital.nl"