sccoreui 6.1.39 → 6.1.41

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/App.scss CHANGED
@@ -1971,6 +1971,8 @@ button[aria-expanded="true"] {
1971
1971
  border-color: initial;
1972
1972
  }
1973
1973
 
1974
+
1975
+
1974
1976
  .ag-ltr .ag-cell {
1975
1977
  display: flex;
1976
1978
  align-items: center;
@@ -2273,8 +2275,8 @@ button[aria-expanded="true"] {
2273
2275
  }
2274
2276
 
2275
2277
  .edited-record {
2276
- background-color: #33cc3344;
2278
+ background-color:var(--primary-50);
2277
2279
  }
2278
2280
  .non-editable {
2279
- background-color: #2244cc44;
2281
+ background-color: var(--gray-100);
2280
2282
  }
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const button_1 = require("primereact/button");
4
5
  function BulkEditAction({ props }) {
5
6
  var _a, _b;
6
7
  const { dynamicText } = props;
@@ -14,6 +15,6 @@ function BulkEditAction({ props }) {
14
15
  return;
15
16
  props === null || props === void 0 ? void 0 : props.discardBulkEdit();
16
17
  };
17
- return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex " }, { children: [(0, jsx_runtime_1.jsx)("button", Object.assign({ className: "bg-white", onClick: onDiscard }, { children: ((_a = dynamicText === null || dynamicText === void 0 ? void 0 : dynamicText.bulkEditAction) === null || _a === void 0 ? void 0 : _a.discard) || "Discard" })), (0, jsx_runtime_1.jsx)("button", Object.assign({ className: "bg-white", onClick: onSave }, { children: ((_b = dynamicText === null || dynamicText === void 0 ? void 0 : dynamicText.bulkEditAction) === null || _b === void 0 ? void 0 : _b.save) || "Save Changes" }))] })));
18
+ return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex align-items-center gap-3" }, { children: [(0, jsx_runtime_1.jsx)(button_1.Button, { className: "text-base font-semibold", text: true, onClick: onDiscard, label: ((_a = dynamicText === null || dynamicText === void 0 ? void 0 : dynamicText.bulkEditAction) === null || _a === void 0 ? void 0 : _a.discard) || "Discard" }), (0, jsx_runtime_1.jsx)(button_1.Button, { className: "text-base font-semibold", onClick: onSave, label: ((_b = dynamicText === null || dynamicText === void 0 ? void 0 : dynamicText.bulkEditAction) === null || _b === void 0 ? void 0 : _b.save) || "Update Changes" })] })));
18
19
  }
19
20
  exports.default = BulkEditAction;
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
3
4
  const jsx_runtime_1 = require("react/jsx-runtime");
4
5
  const react_1 = require("react");
5
6
  const context_provider_1 = require("../context-provider");
7
+ const inputtext_1 = require("primereact/inputtext");
8
+ const svg_component_1 = tslib_1.__importDefault(require("../../../directives/svg-component"));
6
9
  function GridSearch() {
7
10
  const { gridApi } = (0, react_1.useContext)(context_provider_1.FeatureContext);
8
11
  const onFilterTextBoxChanged = (0, react_1.useCallback)(() => {
@@ -11,6 +14,6 @@ function GridSearch() {
11
14
  (_a = gridApi === null || gridApi === void 0 ? void 0 : gridApi.current.api) === null || _a === void 0 ? void 0 : _a.setGridOption("quickFilterText", document.getElementById("filter-text-box").value);
12
15
  }
13
16
  }, []);
14
- return ((0, jsx_runtime_1.jsx)("input", { type: "text", id: "filter-text-box", placeholder: "Search...", onInput: onFilterTextBoxChanged }));
17
+ return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "p-input-icon-left p-input-icon-right w-20rem" }, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ className: "p-input-prefix" }, { children: (0, jsx_runtime_1.jsx)(svg_component_1.default, { icon: "search-md", size: 20 }) })), (0, jsx_runtime_1.jsx)(inputtext_1.InputText, { type: "text", id: "filter-text-box", placeholder: "Search", onInput: onFilterTextBoxChanged, className: "text-lg font-normal text-gray-500 hover:text-gray-900 lh-40 w-full" })] })));
15
18
  }
16
19
  exports.default = GridSearch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "6.1.39",
3
+ "version": "6.1.41",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",