@eturnity/eturnity_reusable_components 1.1.62 → 1.1.65

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "1.1.62",
3
+ "version": "1.1.65",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -36,7 +36,6 @@
36
36
  import styled from "vue-styled-components"
37
37
 
38
38
  const ComponentWrapper = styled.div`
39
- display: inline-block;
40
39
  min-height: 18px;
41
40
  `
42
41
 
@@ -224,7 +224,6 @@ const LabelContainer = styled("div", labelAttrs)`
224
224
  props.hasInfoMessage ? "auto 1fr" : "auto"};
225
225
  grid-gap: 12px;
226
226
  align-items: center;
227
- margin-bottom: 12px;
228
227
  `
229
228
 
230
229
  export default {
@@ -6,7 +6,11 @@
6
6
  >
7
7
  <modal-container @click.stop>
8
8
  <spinner v-if="isLoading" size="50px" :fullWidth="true" />
9
- <close-button @click.native="onCloseModal()" class="close" />
9
+ <close-button
10
+ v-if="!hideClose"
11
+ @click.native="onCloseModal()"
12
+ class="close"
13
+ />
10
14
  <slot />
11
15
  </modal-container>
12
16
  </page-wrapper>
@@ -16,7 +20,7 @@
16
20
  // import Modal from "@eturnity/eturnity_reusable_components/src/components/modals/modal"
17
21
  // This is a more flexible modal box, where the parent can decide how the body of the modal looks
18
22
  // To use:
19
- // <modal :isOpen="isOpen" @on-close="$emit('on-close-summary')" :preventOutsideClose="true" :isLoading="true">
23
+ // <modal :isOpen="isOpen" @on-close="$emit('on-close-summary')" :preventOutsideClose="true" :isLoading="true" :hideClose="true">
20
24
  // <div>Data....</div>
21
25
  // </modal>
22
26
 
@@ -109,6 +113,10 @@ export default {
109
113
  required: false,
110
114
  default: false,
111
115
  },
116
+ hideClose: {
117
+ required: false,
118
+ default: false,
119
+ },
112
120
  },
113
121
  methods: {
114
122
  onCloseModal() {