groundfloor-react-ui 1.3.57 → 1.3.58

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/dist/index.js CHANGED
@@ -111,20 +111,27 @@
111
111
  transform: ${e};
112
112
  `}
113
113
 
114
- path {
114
+ * {
115
115
  ${({color:e})=>e&&l.css`
116
116
  fill: ${e};
117
117
  `}
118
118
  }
119
+
120
+ &:hover * {
121
+ ${({hoverColor:e})=>e&&l.css`
122
+ fill: ${e};
123
+ `}
124
+ }
125
+
119
126
  outline: none;
120
127
  border: none;
121
- &:focus: {
128
+ &:focus {
122
129
  outline: none;
123
130
  border: none;
124
131
  }
125
132
  vertical-align: initial;
126
133
  }
127
- `,Q=({icon:e,color:t,size:l,transform:a,customstyles:o,...r})=>g.default.createElement(N,E({src:Y[e],color:t,size:l,transform:a,customstyles:o},r));Q.propTypes={icon:b.default.string.isRequired,size:b.default.number,color:b.default.string,customstyles:b.default.object},Q.defaultProps={size:16,color:I.primary["primary-1"],customstyles:{}};const K=h.default.div`
134
+ `,Q=({icon:e,color:t,size:l,transform:a,customstyles:o,hoverColor:r,...c})=>g.default.createElement(N,E({src:Y[e],hoverColor:r,color:t,size:l,transform:a,customstyles:o},c));Q.propTypes={icon:b.default.string.isRequired,size:b.default.number,color:b.default.string,customstyles:b.default.object,hoverColor:b.default.string},Q.defaultProps={size:16,color:I.primary["primary-1"],hoverColor:null,customstyles:{}};const K=h.default.div`
128
135
  display: flex;
129
136
  justify-content: center;
130
137
  align-items: center;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "groundfloor-react-ui",
3
3
  "description": "Official component library for Ground Floor",
4
- "version": "1.3.57",
4
+ "version": "1.3.58",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
7
7
  "private": false,