@yogiswara/honcho-editor-ui 3.1.11 → 3.1.12

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.
@@ -124,21 +124,22 @@ export default function HSliderColorMobile(props) {
124
124
  }, onDoubleClick: tempInput.handleDoubleClick }), _jsx(Slider, { sx: {
125
125
  width: "100%",
126
126
  color: colors.surface,
127
- zIndex: 2, // Ensure slider thumb is on top
127
+ // ❌ REMOVE zIndex from the slider root. Let it be the bottom layer.
128
128
  '& .MuiSlider-rail': {
129
129
  background: tempGradient,
130
130
  opacity: 1,
131
- pointerEvents: 'none', // ✅ ADD THIS BACK
131
+ pointerEvents: 'none',
132
132
  },
133
133
  '& .MuiSlider-track': {
134
134
  background: 'transparent',
135
135
  border: 'none',
136
- pointerEvents: 'none', // ✅ ADD THIS BACK
136
+ pointerEvents: 'none',
137
137
  },
138
138
  '& .MuiSlider-thumb': {
139
139
  boxShadow: 'none',
140
140
  pointerEvents: 'auto',
141
141
  touchAction: 'none',
142
+ zIndex: 2, // ✅ ADD zIndex to the thumb ONLY to place it on top
142
143
  }
143
144
  }, slotProps: { thumb: { ref: tempSliderRef } }, size: "small", value: props.tempScore, step: 1, min: -100, max: 100, onChange: (_event, newValue) => props.setTempScore("tempScore", newValue) })] }), _jsxs(Stack, { direction: "row", justifyContent: "space-between", alignItems: "center", sx: { pt: '10px', pb: '0px', '&:focus-within .MuiFilledInput-input': focusedInputStyle }, children: [_jsx(Typography, { sx: { ...typography.bodyMedium, color: colors.surface, userSelect: 'none' }, onDoubleClick: tintInput.handleDoubleClick, children: "Tint" }), _jsx(Typography, { sx: {
144
145
  ...typography.bodyMedium, // Use your standard typography
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yogiswara/honcho-editor-ui",
3
- "version": "3.1.11",
3
+ "version": "3.1.12",
4
4
  "description": "A complete UI component library for the Honcho photo editor.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",