math-main-components 0.0.126 → 0.0.127
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.cjs.js
CHANGED
@@ -524,7 +524,7 @@ function SearchChips({ items, onChange, chipsVisible = 9 }) {
|
|
524
524
|
(showAll ? chips : chips.slice(0, chipsVisible)).map((item, index) => React__default["default"].createElement("div", { key: index, onClick: (e) => onClick(item, index), className: [styles$7.chip, item.selected ? styles$7.selected : styles$7.not_selected].join(" ") },
|
525
525
|
React__default["default"].createElement(SvgIcon, { iconName: item.selected ? "close" : "filter_list", size: "20px" }),
|
526
526
|
item.title)),
|
527
|
-
chipsVisible < chips.length && showAll ?
|
527
|
+
(chipsVisible < chips.length && showAll) ?
|
528
528
|
React__default["default"].createElement("div", { className: styles$7.show_all, onClick: () => setShowAll(false) }, "Weniger anzeigen")
|
529
529
|
:
|
530
530
|
React__default["default"].createElement("div", { className: styles$7.show_all, onClick: () => setShowAll(true) }, "Mehr anzeigen")));
|
package/dist/index.esm.js
CHANGED
@@ -516,7 +516,7 @@ function SearchChips({ items, onChange, chipsVisible = 9 }) {
|
|
516
516
|
(showAll ? chips : chips.slice(0, chipsVisible)).map((item, index) => React.createElement("div", { key: index, onClick: (e) => onClick(item, index), className: [styles$7.chip, item.selected ? styles$7.selected : styles$7.not_selected].join(" ") },
|
517
517
|
React.createElement(SvgIcon, { iconName: item.selected ? "close" : "filter_list", size: "20px" }),
|
518
518
|
item.title)),
|
519
|
-
chipsVisible < chips.length && showAll ?
|
519
|
+
(chipsVisible < chips.length && showAll) ?
|
520
520
|
React.createElement("div", { className: styles$7.show_all, onClick: () => setShowAll(false) }, "Weniger anzeigen")
|
521
521
|
:
|
522
522
|
React.createElement("div", { className: styles$7.show_all, onClick: () => setShowAll(true) }, "Mehr anzeigen")));
|