revdev-components 0.267.0 → 0.268.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.
package/build/index.js CHANGED
@@ -2378,16 +2378,20 @@ var IconDivision = function (props) {
2378
2378
 
2379
2379
  var ContentHeader2 = function (_a) {
2380
2380
  var icon = _a.icon, children = _a.children, className = _a.className;
2381
- var content = React.createElement("h2", { className: classNames(s$K.root, className) }, children);
2382
- return icon ? React.createElement(IconDivision, { icon: icon }, content) : content;
2381
+ var content = React.useMemo(function () {
2382
+ return icon ? React.createElement(IconDivision, { icon: icon }, children) : children;
2383
+ }, [icon, className, children]);
2384
+ return React.createElement("h2", { className: classNames(s$K.root, className) }, content);
2383
2385
  };
2384
2386
 
2385
2387
  var s$H = {"root":"index-module_root__WKOaj"};
2386
2388
 
2387
2389
  var ContentHeader3 = function (_a) {
2388
2390
  var icon = _a.icon, children = _a.children, className = _a.className;
2389
- var content = React.createElement("h3", { className: classNames(s$H.root, className) }, children);
2390
- return icon ? React.createElement(IconDivision, { icon: icon }, content) : content;
2391
+ var content = React.useMemo(function () {
2392
+ return icon ? React.createElement(IconDivision, { icon: icon }, children) : children;
2393
+ }, [icon, className, children]);
2394
+ return React.createElement("h3", { className: classNames(s$H.root, className) }, content);
2391
2395
  };
2392
2396
 
2393
2397
  var s$G = {"root":"index-module_root__Fq-q1"};
package/build/styles.css CHANGED
@@ -846,7 +846,6 @@ body {
846
846
  box-shadow: 0 0 5px var(--borderColor);
847
847
  }
848
848
  .index-module_root__selected__lMaF3 {
849
- font-weight: 600;
850
849
  background: #f4f4f5;
851
850
  }
852
851
  .index-module_root__BZ01K {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.267.0",
3
+ "version": "0.268.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {