revdev-components 0.62.0 → 0.63.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.
Files changed (2) hide show
  1. package/build/index.js +4 -4
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -5183,22 +5183,22 @@ var AlfaNavigator = function (_a) {
5183
5183
  var allOptions = rootOption ? __spreadArray([rootOption], options, true) : options;
5184
5184
  return isMobile ? allOptions.slice(options.length - 1) : allOptions;
5185
5185
  }, [rootOption, options, isMobile]);
5186
- return (innerOptions.length && (React.createElement("div", { className: classNames(s$1.root, className) }, innerOptions.map(function (_a, index) {
5186
+ return innerOptions.length ? (React.createElement("div", { className: classNames(s$1.root, className) }, innerOptions.map(function (_a, index) {
5187
5187
  var href = _a.href, label = _a.label;
5188
5188
  return (React.createElement(React.Fragment, { key: index },
5189
5189
  index > 0 ? React.createElement("span", null, "\u203A") : null,
5190
5190
  React.createElement(AppLink, { className: classNames(s$1.step, stepClassName), href: href }, label)));
5191
- }))));
5191
+ }))) : null;
5192
5192
  };
5193
5193
 
5194
5194
  var s = {"root":"index-module_root__UuWET","link":"index-module_link__qD-Ss"};
5195
5195
 
5196
5196
  var AlfaAttributor = function (_a) {
5197
5197
  var className = _a.className, options = _a.options;
5198
- return (options.length && (React.createElement("div", { className: classNames(s.root, className) }, options.map(function (_a, i) {
5198
+ return options.length ? (React.createElement("div", { className: classNames(s.root, className) }, options.map(function (_a, i) {
5199
5199
  var icon = _a.icon, label = _a.label, href = _a.href;
5200
5200
  return (React.createElement(IconDivision, { key: i, icon: icon }, href ? (React.createElement(AppLink, { className: s.link, href: href }, label)) : (label)));
5201
- }))));
5201
+ }))) : null;
5202
5202
  };
5203
5203
 
5204
5204
  exports.AlfaAttributor = AlfaAttributor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.62.0",
3
+ "version": "0.63.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {