@onsvisual/svelte-components 0.0.31 → 0.0.33

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.
@@ -13,7 +13,7 @@
13
13
  * Adds an exclamation mark icon
14
14
  * @type {boolean}
15
15
  */
16
- export let important = mode !== "warning";
16
+ export let important = mode === "warning";
17
17
 
18
18
  $: style =
19
19
  mode === "success"
@@ -37,9 +37,7 @@
37
37
  <div class="ons-panel__body">
38
38
  <div class="default-line-height" class:ons-u-fs-r="{mode !== 'warning'}">
39
39
  {#if title}<p><strong>{title}</strong></p>{/if}
40
- <p class="ons-u-mb-no">
41
- <slot />
42
- </p>
40
+ <slot />
43
41
  </div>
44
42
  </div>
45
43
  </div>
@@ -56,4 +54,7 @@
56
54
  color: rgb(0, 60, 87) !important;
57
55
  -webkit-text-decoration: underline solid rgb(0, 60, 87) 2px !important;
58
56
  text-decoration: underline solid rgb(0, 60, 87) 2px !important;
57
+ }
58
+ :global(.ons-panel__body p:last-of-type) {
59
+ margin-bottom: 0;
59
60
  }</style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onsvisual/svelte-components",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "homepage": "https://onsvisual.github.io/svelte-components",