sprint-asia-custom-component 0.1.178 → 0.1.179

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/dist/index.js CHANGED
@@ -29035,10 +29035,13 @@
29035
29035
  as: React.Fragment
29036
29036
  }, /*#__PURE__*/React__default["default"].createElement(_t, {
29037
29037
  as: "div",
29038
- className: "relative z-[1001]",
29038
+ className: "relative",
29039
29039
  initialFocus: cancelButtonRef,
29040
29040
  onClose: () => props.onClose(),
29041
- static: true
29041
+ static: true,
29042
+ style: {
29043
+ zIndex: 1001
29044
+ }
29042
29045
  }, /*#__PURE__*/React__default["default"].createElement(qe.Child, {
29043
29046
  as: React.Fragment,
29044
29047
  enter: "ease-out duration-300",
@@ -29099,10 +29102,13 @@
29099
29102
  as: React.Fragment
29100
29103
  }, /*#__PURE__*/React__default["default"].createElement(_t, {
29101
29104
  as: "div",
29102
- className: "relative z-[1001]",
29105
+ className: "relative",
29103
29106
  initialFocus: cancelButtonRef,
29104
29107
  onClose: () => props.onClose(),
29105
- static: true
29108
+ static: true,
29109
+ style: {
29110
+ zIndex: 1001
29111
+ }
29106
29112
  }, /*#__PURE__*/React__default["default"].createElement(qe.Child, {
29107
29113
  as: React.Fragment,
29108
29114
  enter: "ease-out duration-300",
@@ -44475,10 +44481,13 @@
44475
44481
  as: React.Fragment
44476
44482
  }, /*#__PURE__*/React__default["default"].createElement(_t, {
44477
44483
  as: "div",
44478
- className: "fixed inset-0 overflow-y-auto z-[1001]",
44484
+ className: "fixed inset-0 overflow-y-auto",
44479
44485
  initialFocus: cancelButtonRef,
44480
44486
  onClose: () => {},
44481
- static: false
44487
+ static: false,
44488
+ style: {
44489
+ zIndex: 1001
44490
+ }
44482
44491
  }, /*#__PURE__*/React__default["default"].createElement(qe.Child, {
44483
44492
  as: React.Fragment,
44484
44493
  enter: "ease-out duration-300",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sprint-asia-custom-component",
3
3
  "main": "dist/index.js",
4
- "version": "0.1.178",
4
+ "version": "0.1.179",
5
5
  "private": false,
6
6
  "dependencies": {
7
7
  "@headlessui/react": "^1.7.18",
@@ -14,10 +14,11 @@ const ModalLoading = (props) => {
14
14
  <Transition.Root show={props.isOpen} as={Fragment}>
15
15
  <Dialog
16
16
  as="div"
17
- className="relative z-[1001]"
17
+ className="relative"
18
18
  initialFocus={cancelButtonRef}
19
19
  onClose={() => props.onClose()}
20
20
  static={true}
21
+ style={{ zIndex: 1001 }}
21
22
  >
22
23
  <Transition.Child
23
24
  as={Fragment}
@@ -15,10 +15,11 @@ const ModalResult = (props) => {
15
15
  <Transition.Root show={props.isOpen} as={Fragment}>
16
16
  <Dialog
17
17
  as="div"
18
- className="relative z-[1001]"
18
+ className="relative"
19
19
  initialFocus={cancelButtonRef}
20
20
  onClose={() => props.onClose()}
21
21
  static={true}
22
+ style={{ zIndex: 1001 }}
22
23
  >
23
24
  <Transition.Child
24
25
  as={Fragment}
@@ -48,10 +48,11 @@ const ModalState = ({
48
48
  <Transition.Root show={isOpen} as={Fragment}>
49
49
  <Dialog
50
50
  as="div"
51
- className="fixed inset-0 overflow-y-auto z-[1001]"
51
+ className="fixed inset-0 overflow-y-auto"
52
52
  initialFocus={cancelButtonRef}
53
53
  onClose={() => {}}
54
54
  static={false}
55
+ style={{ zIndex: 1001 }}
55
56
  >
56
57
  <Transition.Child
57
58
  as={Fragment}