@apexcura/ui-components 0.0.16-Beta55 → 0.0.16-Beta56
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 +1 -8
- package/dist/index.mjs +1 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -780,6 +780,7 @@ var Sidebar = (props) => {
|
|
|
780
780
|
const [collapsed, setCollapsed] = (0, import_react16.useState)(false);
|
|
781
781
|
const [selectedIndex, setSelectedIndex] = (0, import_react16.useState)(null);
|
|
782
782
|
const handleChange = (item, index) => {
|
|
783
|
+
console.log("item--------", item);
|
|
783
784
|
setSelectedIndex(index);
|
|
784
785
|
if (props.onChange) {
|
|
785
786
|
props.onChange(item);
|
|
@@ -821,14 +822,6 @@ var Sidebar = (props) => {
|
|
|
821
822
|
return /* @__PURE__ */ import_react16.default.createElement(import_antd11.Layout, { style: { minHeight: "100vh" } }, /* @__PURE__ */ import_react16.default.createElement(
|
|
822
823
|
Sider,
|
|
823
824
|
{
|
|
824
|
-
style: {
|
|
825
|
-
overflow: "auto",
|
|
826
|
-
height: "100vh",
|
|
827
|
-
position: "fixed",
|
|
828
|
-
left: 0,
|
|
829
|
-
top: 0,
|
|
830
|
-
bottom: 0
|
|
831
|
-
},
|
|
832
825
|
theme: "light",
|
|
833
826
|
collapsible: true,
|
|
834
827
|
collapsed,
|
package/dist/index.mjs
CHANGED
|
@@ -709,6 +709,7 @@ var Sidebar = (props) => {
|
|
|
709
709
|
const [collapsed, setCollapsed] = useState5(false);
|
|
710
710
|
const [selectedIndex, setSelectedIndex] = useState5(null);
|
|
711
711
|
const handleChange = (item, index) => {
|
|
712
|
+
console.log("item--------", item);
|
|
712
713
|
setSelectedIndex(index);
|
|
713
714
|
if (props.onChange) {
|
|
714
715
|
props.onChange(item);
|
|
@@ -750,14 +751,6 @@ var Sidebar = (props) => {
|
|
|
750
751
|
return /* @__PURE__ */ React15.createElement(Layout, { style: { minHeight: "100vh" } }, /* @__PURE__ */ React15.createElement(
|
|
751
752
|
Sider,
|
|
752
753
|
{
|
|
753
|
-
style: {
|
|
754
|
-
overflow: "auto",
|
|
755
|
-
height: "100vh",
|
|
756
|
-
position: "fixed",
|
|
757
|
-
left: 0,
|
|
758
|
-
top: 0,
|
|
759
|
-
bottom: 0
|
|
760
|
-
},
|
|
761
754
|
theme: "light",
|
|
762
755
|
collapsible: true,
|
|
763
756
|
collapsed,
|