@onsvisual/svelte-components 0.1.2 → 0.1.4

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.
@@ -2,8 +2,8 @@
2
2
  /** @typedef {typeof __propDef.events} OnsLogoEvents */
3
3
  /** @typedef {typeof __propDef.slots} OnsLogoSlots */
4
4
  export default class OnsLogo extends SvelteComponentTyped<{
5
- width?: string;
6
- height?: string;
5
+ width?: any;
6
+ height?: any;
7
7
  compact?: boolean;
8
8
  className?: string;
9
9
  }, {
@@ -16,8 +16,8 @@ export type OnsLogoSlots = typeof __propDef.slots;
16
16
  import { SvelteComponentTyped } from "svelte";
17
17
  declare const __propDef: {
18
18
  props: {
19
- width?: string;
20
- height?: string;
19
+ width?: any;
20
+ height?: any;
21
21
  compact?: boolean;
22
22
  className?: string;
23
23
  };
@@ -194,8 +194,8 @@
194
194
  <svg
195
195
  class="ons-footer__ogl-img"
196
196
  xmlns="http://www.w3.org/2000/svg"
197
- width="60px"
198
- height="24px"
197
+ width="60"
198
+ height="24"
199
199
  viewBox="0 0 60 24"
200
200
  focusable="false"
201
201
  aria-hidden="true"
@@ -8,8 +8,8 @@
8
8
 
9
9
  export let compact = false;
10
10
  export let className = "ons-svg-logo";
11
- export let width = "auto";
12
- export let height = "auto";
11
+ export let width = null;
12
+ export let height = null;
13
13
  </script>
14
14
 
15
15
  {#if !compact}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onsvisual/svelte-components",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "homepage": "https://onsvisual.github.io/svelte-components",