@eturnity/eturnity_reusable_components 1.2.15 → 1.2.16

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.2.15",
3
+ "version": "1.2.16",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
package/src/App.vue CHANGED
@@ -47,28 +47,11 @@
47
47
  @input-change="onInputChange($event)"
48
48
  />
49
49
  <br />
50
- <page-subtitle text="My Subtitle" infoText="My info Text" />
51
- <spinner size="30px" />
52
- <checkbox
53
- label="Do you accept the Terms?"
54
- :isChecked="true"
55
- size="small"
56
- :isDisabled="false"
57
- />
58
- <external-button text="Click me!" minWidth="500px" />
59
- <icon name="Battery" />
60
- <icon name="Bubble" color="red" hoveredColor="blue" size="60px" />
61
- <icon name="Call" color="red" hoveredColor="blue" size="60px" />
62
- <icon name="Camera" color="yellow" hoveredColor="green" size="60px" />
63
- <icon name="House" color="red" hoveredColor="blue" size="20px" />
64
- <icon name="House" color="red" hoveredColor="blue" size="40px" />
65
- <icon name="House" color="red" hoveredColor="blue" size="80px" />
66
- <icon name="House" color="red" hoveredColor="blue" size="120px" />
67
- <icon name="Area_Active" color="red" hoveredColor="blue" size="150px" />
68
- <icon name="Area_Active" color="red" hoveredColor="blue" size="120px" />
69
- <icon name="Area_Active" color="red" hoveredColor="blue" size="80px" />
70
- <icon name="Area_Active" color="red" hoveredColor="blue" size="40px" />
71
- <collection />
50
+
51
+ <icon name="info" color="red" size="50px" />
52
+ <icon name="info" color="#F00" size="50px" />
53
+ <icon name="info" color="blue1" size="50px" />
54
+ <icon name="info" color="#00F" size="50px" />
72
55
  </page-container>
73
56
  </ThemeProvider>
74
57
  </template>
@@ -77,9 +60,7 @@
77
60
  import { ThemeProvider } from 'vue-styled-components'
78
61
  import theme from './assets/theme'
79
62
  import styled from 'vue-styled-components'
80
- import MainTable from '@/components/tables/mainTable'
81
- import ThreeDots from '@/components/threeDots'
82
- import Toggle from '@/components/inputs/toggle'
63
+ import icon from '@/components/icon'
83
64
  import InputNumber from '@/components/inputs/inputNumber'
84
65
  import Checkbox from '@/components/inputs/checkbox'
85
66
  import PageSubtitle from '@/components/pageSubtitle'
@@ -102,12 +83,9 @@ export default {
102
83
  ThreeDots,
103
84
  Toggle,
104
85
  InputNumber,
105
- PageSubtitle,
106
- Spinner,
107
- Checkbox,
108
- ExternalButton,
109
- collection,
110
- icon
86
+ icon,
87
+ infoText,
88
+ InputAnnexContainer
111
89
  // TableDropdown,
112
90
  },
113
91
  data() {
@@ -37,7 +37,8 @@ const IconImage = styled('div', IconImageProps)`
37
37
  height: ${(props) => props.size};
38
38
  }
39
39
  svg > path {
40
- ${(props) => props.color && `fill: ${props.color};`}
40
+ ${(props) =>
41
+ props.color && `fill: ${props.theme.colors[props.color] || props.color};`}
41
42
  }
42
43
  &:hover > svg > path {
43
44
  ${(props) => props.hoveredColor && `fill: ${props.hoveredColor};`}