@eturnity/eturnity_reusable_components 7.18.0-EPDM-10335.0 → 7.18.0-EPDM-10335.1

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": "7.18.0-EPDM-10335.0",
3
+ "version": "7.18.0-EPDM-10335.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -1,26 +1,26 @@
1
1
  <template>
2
- <Wrapper
3
- v-show="!isLoading"
4
- :class="viewCardClass"
5
- :width="width"
6
- :minWidth="minWidth"
7
- >
8
- <Spinner v-if="isLoading" size="50px" :limitedToModal="true" />
9
- <CardWrapper v-else>
10
- <CardTitle :class="titleClass" >
11
- {{ $gettext(title) }}
12
- <et-popover
13
- v-if="showPopover && popoverText !== ''"
14
- :text="popoverText"
15
- ></et-popover>
16
- </CardTitle>
17
- <slot></slot>
18
- </CardWrapper>
19
- </Wrapper>
2
+ <Wrapper
3
+ v-show="!isLoading"
4
+ :class="viewCardClass"
5
+ :width="width"
6
+ :minWidth="minWidth"
7
+ >
8
+ <Spinner v-if="isLoading" size="50px" :limitedToModal="true" />
9
+ <CardWrapper v-else>
10
+ <CardTitle :class="titleClass">
11
+ {{ $gettext(title) }}
12
+ <et-popover
13
+ v-if="showPopover && popoverText !== ''"
14
+ :text="popoverText"
15
+ ></et-popover>
16
+ </CardTitle>
17
+ <slot></slot>
18
+ </CardWrapper>
19
+ </Wrapper>
20
20
  </template>
21
21
 
22
22
  <script>
23
- import styled from 'vue-styled-components'
23
+ import styled from 'vue3-styled-components'
24
24
  import Spinner from '../spinner'
25
25
 
26
26
  const WrapperProps = { width: [Number, String], minWidth: [Number, String] }
@@ -28,9 +28,10 @@ const Wrapper = styled('div', WrapperProps)`
28
28
  max-width: ${(props) => props.width};
29
29
  min-width: ${(props) => props.minWidth};
30
30
  padding: 20px;
31
- box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
31
+ box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
32
+ 0 1px 5px 0 rgba(0, 0, 0, 0.12);
32
33
  border-radius: 4px;
33
- background-color: ${props => props.theme.colors.white};
34
+ background-color: ${(props) => props.theme.colors.white};
34
35
  height: 100%;
35
36
  `
36
37
 
@@ -42,7 +43,7 @@ const CardWrapper = styled('div')`
42
43
  const CardTitle = styled('p')`
43
44
  font-size: 14px;
44
45
  line-height: 1;
45
- color: ${props => props.theme.colors.black};
46
+ color: ${(props) => props.theme.colors.black};
46
47
  font-weight: 700;
47
48
  margin-bottom: 10px;
48
49
  `
@@ -89,7 +90,7 @@ export default {
89
90
  Spinner,
90
91
  Wrapper,
91
92
  CardTitle,
92
- CardWrapper,
93
+ CardWrapper
93
94
  }
94
95
  }
95
- </script>
96
+ </script>