@eturnity/eturnity_reusable_components 7.51.16-EPDM-10609.11 → 7.51.16-EPDM-10609.12

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": "@eturnity/eturnity_reusable_components",
3
- "version": "7.51.16-EPDM-10609.11",
3
+ "version": "7.51.16-EPDM-10609.12",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -99,8 +99,7 @@
99
99
  props.image ? 'drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1))' : 'none'};
100
100
  `
101
101
 
102
- const pageContainerAttrs = { type: String }
103
- const PageContainer = styled('div', pageContainerAttrs)`
102
+ const PageContainer = styled('div')`
104
103
  display: ${(props) => (props.type === 'dot' ? 'unset' : 'inline-block')};
105
104
  position: relative;
106
105
  `
@@ -115,8 +114,7 @@
115
114
  height: auto;
116
115
  `
117
116
 
118
- const dotAttrs = { color: String }
119
- const Dot = styled('div', dotAttrs)`
117
+ const Dot = styled('div')`
120
118
  width: 5px;
121
119
  height: 5px;
122
120
  background-color: ${(props) => props.color};
@@ -129,10 +127,10 @@
129
127
  IconComponent,
130
128
  TextOverlay,
131
129
  Arrow,
130
+ Dot,
132
131
  PageContainer,
133
132
  TextWrapper,
134
133
  OverlayImage,
135
- Dot,
136
134
  },
137
135
  props: {
138
136
  text: {