@bigbinary/neeto-filters-frontend 3.2.0 → 3.2.1
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/README.md +19 -0
- package/dist/index.cjs.js +9 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -1064,7 +1064,7 @@ var Block = function Block(_ref) {
|
|
|
1064
1064
|
}, /*#__PURE__*/React.createElement(Typography, {
|
|
1065
1065
|
style: "body2"
|
|
1066
1066
|
}, label, ":"), /*#__PURE__*/React.createElement(Typography, {
|
|
1067
|
-
className: "neeto-ui-text-gray-
|
|
1067
|
+
className: "neeto-ui-text-gray-600",
|
|
1068
1068
|
style: "body2"
|
|
1069
1069
|
}, ruleContent), /*#__PURE__*/React.createElement(Typography, {
|
|
1070
1070
|
style: "body2"
|
|
@@ -1489,7 +1489,9 @@ var Bar = function Bar(_ref) {
|
|
|
1489
1489
|
}), /*#__PURE__*/React.createElement("div", {
|
|
1490
1490
|
className: "neeto-filters-bar--separator"
|
|
1491
1491
|
}));
|
|
1492
|
-
}),
|
|
1492
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
1493
|
+
className: "flex items-center gap-x-2"
|
|
1494
|
+
}, isNotNil(entity) && /*#__PURE__*/React.createElement(Segment, {
|
|
1493
1495
|
childrenKeys: childrenKeys,
|
|
1494
1496
|
columns: columns,
|
|
1495
1497
|
defaultSegmentName: defaultSegmentName,
|
|
@@ -1501,7 +1503,7 @@ var Bar = function Bar(_ref) {
|
|
|
1501
1503
|
label: t("neetoFilters.common.clearFilters"),
|
|
1502
1504
|
style: "text",
|
|
1503
1505
|
onClick: handleClearAll
|
|
1504
|
-
}));
|
|
1506
|
+
})));
|
|
1505
1507
|
}();
|
|
1506
1508
|
};
|
|
1507
1509
|
|
|
@@ -2510,7 +2512,9 @@ var Pane = function Pane(_ref) {
|
|
|
2510
2512
|
style: "body2"
|
|
2511
2513
|
}, t("neetoFilters.messages.noResourcesFound", {
|
|
2512
2514
|
resources: t("neetoFilters.common.columns")
|
|
2513
|
-
})), children), /*#__PURE__*/React.createElement(Pane$1.Footer,
|
|
2515
|
+
})), children), /*#__PURE__*/React.createElement(Pane$1.Footer, {
|
|
2516
|
+
className: "gap-x-2"
|
|
2517
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
2514
2518
|
"data-cy": "neeto-filters-done-btn",
|
|
2515
2519
|
label: t("neetoFilters.common.done"),
|
|
2516
2520
|
onClick: handleClearTermAndClose
|
|
@@ -2520,7 +2524,7 @@ var Pane = function Pane(_ref) {
|
|
|
2520
2524
|
label: t("neetoFilters.common.clearFilters"),
|
|
2521
2525
|
style: "text",
|
|
2522
2526
|
onClick: handleClearAll
|
|
2523
|
-
})))
|
|
2527
|
+
})));
|
|
2524
2528
|
};
|
|
2525
2529
|
|
|
2526
2530
|
var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
|