@eturnity/eturnity_reusable_components 1.1.18 → 1.1.21

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.18",
3
+ "version": "1.1.21",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -13,8 +13,8 @@ import styled from "vue-styled-components"
13
13
  const pageAttrs = { shouldPosition: Boolean }
14
14
  const PageContainer = styled("div", pageAttrs)`
15
15
  position: ${(props) => (props.shouldPosition ? "fixed" : "unset")};
16
- bottom: 60px;
17
- right: 60px;
16
+ bottom: 30px;
17
+ right: 30px;
18
18
  `
19
19
 
20
20
  const ButtonContainer = styled.div`
@@ -303,6 +303,8 @@ export default {
303
303
  })
304
304
  let unit = this.showLinearUnitName ? "" : this.unitName
305
305
  return input + " " + unit
306
+ } else if (!value) {
307
+ return ""
306
308
  } else {
307
309
  return numberToString({
308
310
  value: value,
@@ -15,7 +15,7 @@
15
15
  // import Modal from "@eturnity/eturnity_reusable_components/src/components/modals/modal"
16
16
  // This is a more flexible modal box, where the parent can decide how the body of the modal looks
17
17
  // To use:
18
- // <modal :isOpen="isOpen" @on-close="$emit('on-close-summary')">
18
+ // <modal :isOpen="isOpen" @on-close="$emit('on-close-summary')" :preventOutsideClose="true">
19
19
  // <div>Data....</div>
20
20
  // </modal>
21
21