m3-svelte 4.0.0-beta.2 → 4.0.0-beta.3

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.
@@ -36,7 +36,7 @@
36
36
  gap: 0.25rem;
37
37
  }
38
38
  &.expanded {
39
- padding-top: 1.25rem;
39
+ padding-block: 1.25rem;
40
40
  min-width: 13.75rem;
41
41
  max-width: 22.5rem;
42
42
  }
@@ -61,7 +61,7 @@
61
61
  @media (100rem <= width) {
62
62
  /* Expanded */
63
63
  flex-direction: column;
64
- padding-top: 1.25rem;
64
+ padding-block: 1.25rem;
65
65
  min-width: 13.75rem;
66
66
  max-width: 22.5rem;
67
67
  }
@@ -20,10 +20,10 @@
20
20
  <button
21
21
  onclick={click}
22
22
  class="m3-container m3-font-label-medium {variant}"
23
- class:selected
23
+ disabled={selected}
24
24
  {...extra}
25
25
  >
26
- <div class="content">
26
+ <div class="content" class:selected>
27
27
  <Layer />
28
28
  <div class="icon">
29
29
  <Icon {icon} width="1.5rem" height="1.5rem" />
@@ -140,7 +140,7 @@
140
140
  }
141
141
  &.large {
142
142
  flex-direction: column;
143
- height: 4rem;
143
+ min-height: 4rem;
144
144
  padding-block: 0.375rem;
145
145
  }
146
146
  &.expanded {
@@ -221,7 +221,7 @@
221
221
  /* Large */
222
222
  flex-direction: column;
223
223
  text-align: center;
224
- height: 4rem;
224
+ min-height: 4rem;
225
225
  padding-block: 0.375rem;
226
226
 
227
227
  .content {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "m3-svelte",
3
- "version": "4.0.0-beta.2",
3
+ "version": "4.0.0-beta.3",
4
4
  "license": "Apache-2.0 OR GPL-3.0-only",
5
5
  "repository": "KTibow/m3-svelte",
6
6
  "author": {