@magicgol/polyjuice 0.34.2 → 0.34.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicgol/polyjuice",
3
- "version": "0.34.2",
3
+ "version": "0.34.3",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  class="d-inline-flex bg-white align-items-center px-3"
4
- :class="[classes, {'py-1': stretched}]"
4
+ :class="[classes, {'py-2': stretched}]"
5
5
  >
6
6
  <div><slot></slot></div>
7
7
  </div>
@@ -24,5 +24,6 @@ export default {
24
24
  font-family: 'Ubuntu', sans-serif;
25
25
  font-size: 1.25rem;
26
26
  font-weight: 500;
27
+ line-height: 1.1;
27
28
  }
28
29
  </style>
@@ -4,8 +4,13 @@ import {ColorItem, ColorPalette, Meta} from '@storybook/addon-docs';
4
4
 
5
5
  <ColorPalette>
6
6
  <ColorItem
7
- title="Warning"
7
+ title="Error"
8
8
  subtitle="Used for error messages"
9
+ colors={{'Cinnabar': '#ed4949'}}
10
+ />
11
+ <ColorItem
12
+ title="Warning"
13
+ subtitle="Used for warning messages"
9
14
  colors={{'Persimmon': '#ff614c'}}
10
15
  />
11
16
  <ColorItem