@yogiswara/honcho-editor-ui 3.1.4 → 3.1.5

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.
@@ -1,6 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Slider, Box } from '@mui/material';
3
- // I've renamed the component to HThumbSlider to match our earlier convention
4
3
  export default function HThumbSlider(props) {
5
4
  return (
6
5
  // This wrapper creates the positioning context for the shield.
@@ -10,9 +9,10 @@ export default function HThumbSlider(props) {
10
9
  left: 0,
11
10
  width: '100%',
12
11
  height: '100%',
13
- zIndex: 1, // Sits above the track (z-index 0)
12
+ zIndex: 1, // Sits above the track
14
13
  } }), _jsx(Slider, { ...props, sx: {
15
- position: 'relative',
14
+ // By NOT setting a position here, the thumb's z-index
15
+ // works within the parent Box's context.
16
16
  ...props.sx,
17
17
  } })] }));
18
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yogiswara/honcho-editor-ui",
3
- "version": "3.1.4",
3
+ "version": "3.1.5",
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",