@basic-ui/material 1.0.0-alpha.6 → 1.0.0-alpha.7
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/build/cjs/index.js +7 -9
- package/build/cjs/index.js.map +1 -1
- package/build/esm/NavRail/NavRailItem.js +10 -1
- package/build/esm/NavRail/NavRailItem.js.map +1 -1
- package/build/esm/Ripple/useRippleSurface.d.ts +1 -1
- package/build/esm/Ripple/useRippleSurface.js +7 -9
- package/build/esm/Ripple/useRippleSurface.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/NavRail/NavRailItem.tsx +13 -7
- package/src/Ripple/useRippleSurface.ts +7 -9
package/build/cjs/index.js
CHANGED
|
@@ -1337,15 +1337,13 @@ function useRippleSurface(opts = {}) {
|
|
|
1337
1337
|
disabled
|
|
1338
1338
|
}, rippleProps));
|
|
1339
1339
|
const css$1 = react$1.useMemo(() => _extends__default['default']({
|
|
1340
|
-
'
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
WebkitTapHighlightColor: 'transparent'
|
|
1348
|
-
},
|
|
1340
|
+
overflow: 'hidden',
|
|
1341
|
+
position: 'relative',
|
|
1342
|
+
cursor: 'pointer',
|
|
1343
|
+
// fix overflow: hidden + borderRadius in Safari
|
|
1344
|
+
// https://gist.github.com/ayamflow/b602ab436ac9f05660d9c15190f4fd7b#gistcomment-2359479
|
|
1345
|
+
willChange: 'transform,opacity',
|
|
1346
|
+
WebkitTapHighlightColor: 'transparent',
|
|
1349
1347
|
// ripple overlay
|
|
1350
1348
|
'&::before': {
|
|
1351
1349
|
backgroundColor: rippleColor,
|