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.es.js +190 -183
- package/dist/index.js +10 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -111,20 +111,27 @@
|
|
|
111
111
|
transform: ${e};
|
|
112
112
|
`}
|
|
113
113
|
|
|
114
|
-
|
|
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,...
|
|
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;
|