@magicgol/polyjuice 0.34.1 → 0.34.4
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/components/components/traffic-light/TrafficLight.vue +1 -1
- package/src/components/modal/selection-box/SelectionBox.vue +7 -3
- package/src/components/typography/h1/HeadingOne.vue +1 -0
- package/src/components/typography/paragraph/Paragraph.vue +1 -1
- package/src/documentation/Alert.stories.mdx +6 -1
package/package.json
CHANGED
@@ -3,14 +3,18 @@
|
|
3
3
|
:class="classes"
|
4
4
|
>
|
5
5
|
<div
|
6
|
-
|
6
|
+
v-if="expanded"
|
7
|
+
class="mg-selection-box-curtain h-25 w-100 position-fixed"
|
7
8
|
@click="onClickOutside"
|
8
9
|
></div>
|
9
10
|
<div class="mg-selection-box-content fixed-bottom px-3 py-2">
|
10
11
|
<div class="d-flex flex-column bg-white rounded w-100 h-100 px-3 py-2">
|
11
12
|
<div class="mg-selection-box-title text-uppercase text-center"><slot></slot></div>
|
12
13
|
<div><slot name="summary"></slot></div>
|
13
|
-
<div
|
14
|
+
<div
|
15
|
+
class="flex-fill"
|
16
|
+
v-if="expanded"
|
17
|
+
><slot name="detail"></slot></div>
|
14
18
|
<div class="d-flex align-items-center mt-2">
|
15
19
|
<div class="w-50 text-center">
|
16
20
|
<slot name="cancel"></slot>
|
@@ -97,7 +101,7 @@ export default {
|
|
97
101
|
width: 100%;
|
98
102
|
|
99
103
|
.mg-selection-box-content {
|
100
|
-
height:
|
104
|
+
height: 75%;
|
101
105
|
}
|
102
106
|
}
|
103
107
|
}
|
@@ -4,8 +4,13 @@ import {ColorItem, ColorPalette, Meta} from '@storybook/addon-docs';
|
|
4
4
|
|
5
5
|
<ColorPalette>
|
6
6
|
<ColorItem
|
7
|
-
title="
|
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
|