@eturnity/eturnity_reusable_components 7.35.2-EPDM-11386.0 → 7.35.2-EPDM-11386.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.35.2-EPDM-11386.0",
3
+ "version": "7.35.2-EPDM-11386.1",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
package/src/App.vue CHANGED
@@ -1,14 +1,21 @@
1
1
  <template>
2
- <ThemeProvider :style="{ height: '100%' }" :theme="getTheme()" />
2
+ <div>
3
+ ccninfnci
4
+ <!-- <ThemeProvider :style="{ height: '100%' }" :theme="getTheme()" /> -->
5
+ test
6
+ <IconCollection color="red" />
7
+ </div>
3
8
  </template>
4
9
 
5
10
  <script>
6
- import { ThemeProvider } from 'vue3-styled-components'
11
+ // import { ThemeProvider } from 'vue3-styled-components'
12
+ import IconCollection from './components/icon/iconCollection.vue'
7
13
  import theme from './assets/theme'
8
14
  export default {
9
15
  name: 'App',
10
16
  components: {
11
- ThemeProvider,
17
+ // ThemeProvider,
18
+ IconCollection,
12
19
  },
13
20
  methods: {
14
21
  getTheme() {
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="29" height="29" fill="#333" viewBox="0 0 29 29"><path d="m10.5 14 4-8 4 8z"/><path class='fix' fill="#ccc" d="m10.5 16 4 8 4-8z"/></svg>
@@ -111,10 +111,10 @@
111
111
  props.backgroundColor ? props.backgroundColor : 'transparent'};
112
112
  padding: ${(props) => (props.backgroundColor ? '3px' : '0')};
113
113
  }
114
- svg path {
114
+ svg path:not(.fix) {
115
115
  ${({ theme, color }) => color && `fill: ${theme.colors[color] || color};`}
116
116
  }
117
- &:hover svg path {
117
+ &:hover svg path:not(.fix) {
118
118
  ${({ theme, hoveredColor }) =>
119
119
  hoveredColor && `fill: ${theme.colors[hoveredColor] || hoveredColor};`}
120
120
  }