hamzus-ui 0.0.40 → 0.0.41

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": "hamzus-ui",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "svelte": "index.js",
@@ -6,6 +6,7 @@
6
6
  export let desabled = false;
7
7
  export let onClick = undefined;
8
8
  export let label = '';
9
+ export let type = 'button';
9
10
  export let avoidRipple = false;
10
11
  // local var
11
12
  let button;
@@ -42,7 +43,7 @@
42
43
  }
43
44
  </script>
44
45
 
45
- <button bind:this={button} on:click={handleClick} on:mousedown={createRipple} class="button h4" class:desabled class:loading {...$$restProps}>
46
+ <button bind:this={button} on:click={handleClick} on:mousedown={createRipple} class="button h4" class:desabled class:loading {...$$restProps} {type}>
46
47
  {#if label}
47
48
  <h4>{label}</h4>
48
49
  {:else}