m3-svelte 5.1.0 → 5.1.1

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.
@@ -61,6 +61,7 @@
61
61
  {:else}
62
62
  {@const { variant = "filled", square = false, iconType = "none", children, ...extra } = props}
63
63
  <button
64
+ type={"onclick" in extra ? "button" : undefined}
64
65
  class="m3-container m3-font-label-large {variant} icon-{iconType}"
65
66
  class:square
66
67
  {...extra}
@@ -17,9 +17,9 @@
17
17
  </script>
18
18
 
19
19
  <button
20
- {disabled}
21
- class="item m3-font-body-small"
22
20
  type="button"
21
+ class="item m3-font-body-small"
22
+ {disabled}
23
23
  class:today
24
24
  class:selected
25
25
  {onclick}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "m3-svelte",
3
- "version": "5.1.0",
3
+ "version": "5.1.1",
4
4
  "license": "Apache-2.0 OR GPL-3.0-only",
5
5
  "repository": "KTibow/m3-svelte",
6
6
  "author": {