@basic-ui/material 1.0.0-alpha.15 → 1.0.0-alpha.16
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 +5 -6
- package/build/cjs/index.js.map +1 -1
- package/build/esm/Alert/Alert.d.ts +1 -1
- package/build/esm/Button/FilledButton.d.ts +1 -1
- package/build/esm/Button/OutlinedButton.d.ts +1 -1
- package/build/esm/Button/TransparentButton.d.ts +1 -1
- package/build/esm/Chip/ButtonChip.d.ts +1 -1
- package/build/esm/Combobox/Combobox.d.ts +7 -7
- package/build/esm/Divider/Divider.d.ts +1 -1
- package/build/esm/Link/Link.d.ts +1 -1
- package/build/esm/ListItem/ListItem.d.ts +1 -1
- package/build/esm/ListItem/ListItem.js +5 -6
- package/build/esm/ListItem/ListItem.js.map +1 -1
- package/build/esm/Menu/Menu.d.ts +4 -4
- package/build/esm/Paper/Paper.d.ts +1 -1
- package/build/esm/Select/Select.d.ts +1 -1
- package/build/esm/Select/SelectIcon.d.ts +1 -1
- package/build/esm/SelectItem/SelectItem.d.ts +1 -1
- package/build/esm/SelectionControl/SelectionControlText.d.ts +1 -1
- package/build/esm/Skeleton/Skeleton.d.ts +1 -1
- package/build/esm/Snackbar/Snackbar.d.ts +1 -1
- package/build/esm/Tab/Tab.d.ts +1 -1
- package/build/esm/Table/TableHead.d.ts +1 -1
- package/build/esm/Table/TableRow.d.ts +1 -1
- package/build/esm/TextField/FilledContainer.d.ts +1 -1
- package/build/esm/TextField/HelperText.d.ts +1 -1
- package/build/esm/TextField/Input.d.ts +1 -1
- package/build/esm/Tooltip/Tooltip.d.ts +1 -1
- package/build/tsconfig-build.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/ListItem/ListItem.tsx +5 -6
package/build/cjs/index.js
CHANGED
|
@@ -2690,7 +2690,6 @@ const ListItem = /*#__PURE__*/react$1.forwardRef(function ListItem(props, forwar
|
|
|
2690
2690
|
const selected = ariaSelectedProp || selectedProp;
|
|
2691
2691
|
const color = rippleColor || colorProp || 'primary';
|
|
2692
2692
|
const theme = useTheme();
|
|
2693
|
-
const baseOpacity = 0.12;
|
|
2694
2693
|
const hoverOpacity = 0.16;
|
|
2695
2694
|
const focusOpacity = 0.24;
|
|
2696
2695
|
return /*#__PURE__*/jsxRuntime.jsx(Box, {
|
|
@@ -2718,20 +2717,20 @@ const ListItem = /*#__PURE__*/react$1.forwardRef(function ListItem(props, forwar
|
|
|
2718
2717
|
backgroundColor: alpha('on.surface', focusOpacity)
|
|
2719
2718
|
},
|
|
2720
2719
|
':active': {
|
|
2721
|
-
backgroundColor: alpha('on.surface',
|
|
2720
|
+
backgroundColor: alpha('on.surface', focusOpacity)
|
|
2722
2721
|
},
|
|
2723
2722
|
'&[aria-selected="true"]': {
|
|
2724
|
-
backgroundColor: alpha(color,
|
|
2723
|
+
backgroundColor: alpha(color, 0.08),
|
|
2725
2724
|
color,
|
|
2726
2725
|
':hover': {
|
|
2727
|
-
backgroundColor: alpha(color, hoverOpacity
|
|
2726
|
+
backgroundColor: alpha(color, hoverOpacity)
|
|
2728
2727
|
},
|
|
2729
2728
|
':focus': {
|
|
2730
2729
|
outline: 'none',
|
|
2731
|
-
backgroundColor: alpha(color, focusOpacity
|
|
2730
|
+
backgroundColor: alpha(color, focusOpacity)
|
|
2732
2731
|
},
|
|
2733
2732
|
':active': {
|
|
2734
|
-
backgroundColor: alpha(color,
|
|
2733
|
+
backgroundColor: alpha(color, focusOpacity)
|
|
2735
2734
|
}
|
|
2736
2735
|
},
|
|
2737
2736
|
'&[data-disabled]': {
|