@majoo-ui/react 2.1.0-rc.0 → 2.1.0

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.
@@ -500,7 +500,7 @@ function HeaderMenuOption(props) {
500
500
  id: `idx-${index}`,
501
501
  label: item.Header,
502
502
  value: item.id,
503
- disabled: index === 0
503
+ disabled: index === 0 || item.disableShowHide
504
504
  }, index), row.length !== index + 1 && jsx(Separator, {})]
505
505
  }, index))
506
506
  })
@@ -541,7 +541,7 @@ function HeaderMenuOption(props) {
541
541
  id: `idx-${index}`,
542
542
  label: item.Header,
543
543
  value: item.id,
544
- disabled: index === 0
544
+ disabled: index === 0 || item.disableShowHide
545
545
  }), row.length !== index + 1 && jsx(Separator, {})]
546
546
  }, index))
547
547
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@majoo-ui/react",
3
- "version": "2.1.0-rc.0",
3
+ "version": "2.1.0",
4
4
  "main": "./index.esm.js",
5
5
  "sideEffects": [
6
6
  "*.css",
@@ -37,7 +37,7 @@
37
37
  "@floating-ui/react": "^0.19.2",
38
38
  "@majoo-ui/core": "1.32.0",
39
39
  "@majoo-ui/helpers": "1.30.9",
40
- "@majoo-ui/icons": "1.40.2",
40
+ "@majoo-ui/icons": "1.40.3",
41
41
  "@monsonjeremy/react-leaflet": "^3.2.2",
42
42
  "@radix-ui/react-accordion": "^1.0.0",
43
43
  "@radix-ui/react-alert-dialog": "^1.0.3",
@@ -1,3 +1,7 @@
1
+ .recharts-pie-sector {
2
+ outline: none;
3
+ }
4
+
1
5
  .rdw-option-wrapper {
2
6
  padding: 5px;
3
7
  min-width: 25px;
@@ -1289,7 +1293,3 @@
1289
1293
  height: 24px;
1290
1294
  }
1291
1295
  }
1292
-
1293
- .recharts-pie-sector {
1294
- outline: none;
1295
- }