@firecms/ui 3.0.0-canary.98 → 3.0.0-canary.99

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@firecms/ui",
3
3
  "type": "module",
4
- "version": "3.0.0-canary.98",
4
+ "version": "3.0.0-canary.99",
5
5
  "description": "Awesome Firebase/Firestore-based headless open-source CMS",
6
6
  "funding": {
7
7
  "url": "https://github.com/sponsors/firecmsco"
@@ -102,7 +102,7 @@
102
102
  "src",
103
103
  "tailwind.config.js"
104
104
  ],
105
- "gitHead": "757ce15d87c8e591c93871872acaef6c0468a1d9",
105
+ "gitHead": "57720a20bac7f08765325b988d340b1fa8942852",
106
106
  "publishConfig": {
107
107
  "access": "public"
108
108
  }
@@ -50,10 +50,15 @@ export const Icon = React.forwardRef<HTMLSpanElement, IconProps & { iconKey: str
50
50
 
51
51
  return <span
52
52
  ref={ref} // Attach the ref to the span
53
+ style={{
54
+ fontSize: `${sizeInPx}px`,
55
+ display: "block",
56
+ ...style
57
+ }}
53
58
  className={
54
59
  cls("material-icons",
55
60
  color ? colorClassesMapping[color] : "",
56
- // "select-none",
61
+ "select-none",
57
62
  className)}
58
63
  onClick={onClick}>{iconKey}</span>
59
64
  });