sccoreui 6.2.92 → 6.2.94

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.js CHANGED
@@ -4,6 +4,6 @@ const jsx_runtime_1 = require("react/jsx-runtime");
4
4
  require("./App.scss");
5
5
  // import Home from "./pages/home";
6
6
  const App = () => {
7
- return ((0, jsx_runtime_1.jsx)("div", {}));
7
+ return (0, jsx_runtime_1.jsx)("div", {});
8
8
  };
9
9
  exports.default = App;
package/dist/App.scss CHANGED
@@ -833,7 +833,8 @@ div:has(ul.date_filter) .p-datepicker-footer {
833
833
 
834
834
  .errorField {
835
835
  color: var(--red-500);
836
- height: 20px;
836
+ height: auto;
837
+ line-height: 20px;
837
838
  }
838
839
 
839
840
  .full_form_field {
@@ -2314,10 +2315,6 @@ button[aria-expanded="true"] {
2314
2315
  display: none !important;
2315
2316
  }
2316
2317
 
2317
- .ag-row-hover {
2318
- background-color: var(--primary-25) !important;
2319
- }
2320
-
2321
2318
  .ag-ltr .ag-cell-focus:not(.ag-cell-range-selected):focus-within {
2322
2319
  border: 0;
2323
2320
  border-color: initial;
@@ -2362,7 +2359,7 @@ button[aria-expanded="true"] {
2362
2359
  }
2363
2360
 
2364
2361
  .error_description {
2365
- width: 750px;
2362
+ // width: 750px;
2366
2363
  }
2367
2364
 
2368
2365
  .rounded_btn {
@@ -2375,6 +2372,15 @@ button[aria-expanded="true"] {
2375
2372
  }
2376
2373
  }
2377
2374
 
2375
+ .ag-grid-container {
2376
+ &:has(.web-cards) {
2377
+ .grid-header {
2378
+ position: sticky;
2379
+ top: 0;
2380
+ }
2381
+ }
2382
+ }
2383
+
2378
2384
  .p-button {
2379
2385
  &.p-button-secondary {
2380
2386
  padding: 8px 12px;
@@ -2583,6 +2589,10 @@ button[aria-expanded="true"] {
2583
2589
  height: 38px;
2584
2590
  }
2585
2591
 
2592
+ .border-round-6 {
2593
+ border-radius: 6px !important;
2594
+ }
2595
+
2586
2596
  // loader styles
2587
2597
  .loader-wrapper {
2588
2598
  width: 60px;
@@ -1074,11 +1074,13 @@ a {
1074
1074
  height: 20px;
1075
1075
  width: 20px;
1076
1076
  padding-top: 0px;
1077
+ transition: rotate 0.4s ease-in-out;
1077
1078
  }
1078
1079
 
1079
1080
  .p-inputgroup > .p-dropdown .p-dropdown-trigger {
1080
1081
  width: 1rem;
1081
1082
  padding-top: 0px;
1083
+ transition: rotate 0.4s ease-in-out;
1082
1084
  }
1083
1085
  .p-dropdown .p-dropdown-clear-icon {
1084
1086
  color: #6c757d;
@@ -8134,6 +8136,7 @@ a {
8134
8136
  font-size: 14px;
8135
8137
  line-height: 20px;
8136
8138
  color: var(--gray-800);
8139
+ transition: rotate 0.4s ease-in-out;
8137
8140
  }
8138
8141
 
8139
8142
  .p-paginator .p-paginator-prev .pi.pi-angle-left {
@@ -8374,6 +8377,10 @@ input[type="number"]::-webkit-outer-spin-button {
8374
8377
  rotate: 180deg;
8375
8378
  }
8376
8379
 
8380
+ .p-dropdown-trigger {
8381
+ transition: rotate 0.4s ease-in-out;
8382
+ }
8383
+
8377
8384
  .p-dropdown-item.p-highlight {
8378
8385
  display: flex;
8379
8386
  align-items: center;
@@ -8601,6 +8608,7 @@ input[type="number"]::-webkit-outer-spin-button {
8601
8608
  }
8602
8609
  .p-paginator > .p-dropdown > .p-dropdown-trigger {
8603
8610
  padding-top: 0px;
8611
+ transition: rotate 0.4s ease-in-out;
8604
8612
  }
8605
8613
  .p-paginator > .p-dropdown {
8606
8614
  display: flex;
@@ -8641,6 +8649,7 @@ input[type="number"]::-webkit-outer-spin-button {
8641
8649
  }
8642
8650
  .p-dropdown-badge > .p-dropdown-trigger {
8643
8651
  padding-top: 2px;
8652
+ transition: rotate 0.4s ease-in-out;
8644
8653
  }
8645
8654
 
8646
8655
  /* Input components changes classes for styling the input components */
@@ -8748,6 +8757,7 @@ input[type="number"]::-webkit-outer-spin-button {
8748
8757
 
8749
8758
  .p-dropdown-xl.p-dropdown .p-dropdown-trigger {
8750
8759
  padding-top: 0px;
8760
+ transition: rotate 0.4s ease-in-out;
8751
8761
  }
8752
8762
 
8753
8763
  .tab-view-bg-dark.p-tabview-nav-container.p-tabview-nav-content {
@@ -29,9 +29,9 @@ function AdvancedFeatures({ props }) {
29
29
  const AdvanceFilterWrapper = () => {
30
30
  return AdvancedFilter && (0, jsx_runtime_1.jsx)(AdvancedFilter, {});
31
31
  };
32
- return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (props === null || props === void 0 ? void 0 : props.editMode) ? ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex align-items-center justify-content-between py-3 px-4" }, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: "flex align-items-center gap-3" }, { children: isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayEditHeading) &&
32
+ return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (props === null || props === void 0 ? void 0 : props.editMode) ? ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `flex align-items-center justify-content-between py-3 px-4 bg-white grid-header` }, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: "flex align-items-center gap-3" }, { children: isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayEditHeading) &&
33
33
  (props === null || props === void 0 ? void 0 : props.EditHeadingDetails) && (0, jsx_runtime_1.jsx)(EditDetails, {}) })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "flex align-items-center gap-3" }, { children: isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySearch) && ((0, jsx_runtime_1.jsx)(gridS_search_1.default, {})) })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex align-items-center gap-3" }, { children: [isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySidePanel) && ((0, jsx_runtime_1.jsx)(hide_column_1.default, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayBulkEdit) &&
34
- (props === null || props === void 0 ? void 0 : props.BulkEditComponent) && (0, jsx_runtime_1.jsx)(BulkEdit, {}), (props === null || props === void 0 ? void 0 : props.editMode) && (0, jsx_runtime_1.jsx)(bulk_edit_action_1.default, { props: props })] }))] }))) : ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex align-items-center justify-content-between py-3 px-4" }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex align-items-center gap-3" }, { children: [isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySearch) && ((0, jsx_runtime_1.jsx)(global_search_1.default, { searchPlaceHolder: props === null || props === void 0 ? void 0 : props.placeholder })), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayFilter) && ((0, jsx_runtime_1.jsx)(table_filter_1.default, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayAdvancedFilter) && ((0, jsx_runtime_1.jsx)(AdvanceFilterWrapper, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayRowGroupingElement) && (0, jsx_runtime_1.jsx)(column_group_1.default, { dataFromProps: props })] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex align-items-center gap-3" }, { children: [isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySidePanel) && ((0, jsx_runtime_1.jsx)(hide_column_1.default, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayGridViewListView) && (0, jsx_runtime_1.jsx)(grid_view_list_view_1.default, {}), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayRemoveItems) && ((0, jsx_runtime_1.jsx)(remove_items_1.default, { removeCallBack: props.removeCallBack })), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayBulkEdit) &&
34
+ (props === null || props === void 0 ? void 0 : props.BulkEditComponent) && (0, jsx_runtime_1.jsx)(BulkEdit, {}), (props === null || props === void 0 ? void 0 : props.editMode) && (0, jsx_runtime_1.jsx)(bulk_edit_action_1.default, { props: props })] }))] }))) : ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `flex align-items-center justify-content-between py-3 px-4 bg-white grid-header` }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex align-items-center gap-3" }, { children: [isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySearch) && ((0, jsx_runtime_1.jsx)(global_search_1.default, { searchPlaceHolder: props === null || props === void 0 ? void 0 : props.placeholder })), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayFilter) && ((0, jsx_runtime_1.jsx)(table_filter_1.default, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayAdvancedFilter) && ((0, jsx_runtime_1.jsx)(AdvanceFilterWrapper, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayRowGroupingElement) && (0, jsx_runtime_1.jsx)(column_group_1.default, { dataFromProps: props })] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex align-items-center gap-3" }, { children: [isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySidePanel) && ((0, jsx_runtime_1.jsx)(hide_column_1.default, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayGridViewListView) && (0, jsx_runtime_1.jsx)(grid_view_list_view_1.default, {}), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayRemoveItems) && ((0, jsx_runtime_1.jsx)(remove_items_1.default, { removeCallBack: props.removeCallBack })), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayBulkEdit) &&
35
35
  (props === null || props === void 0 ? void 0 : props.BulkEditComponent) && (0, jsx_runtime_1.jsx)(BulkEdit, {}), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayBulkAction) &&
36
36
  (props === null || props === void 0 ? void 0 : props.bulkActionComponent) && ((0, jsx_runtime_1.jsx)(BulkAction, { checkBoxSelection: featureDetails.checkBoxSelection })), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayRefresh) && ((0, jsx_runtime_1.jsx)(refresh_grid_1.default, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySort) && (0, jsx_runtime_1.jsx)(custom_sort_1.default, {}), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayRecords) && ((0, jsx_runtime_1.jsx)(record_detail_1.default, {}))] }))] }))) }));
37
37
  }
@@ -8,7 +8,7 @@ const context_provider_1 = require("../context-provider");
8
8
  const svg_component_1 = tslib_1.__importDefault(require("../../../directives/svg-component"));
9
9
  const GridViewListView = () => {
10
10
  const { gridViewFun, gridView } = (0, react_1.useContext)(context_provider_1.FeatureContext);
11
- return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex border-1 border-gray-300 border-round-sm" }, { children: [(0, jsx_runtime_1.jsx)(button_1.Button, { className: `border-round-sm border-noround-right sc_icon_hover ${!gridView
11
+ return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex border-1 border-gray-300 border-round-6" }, { children: [(0, jsx_runtime_1.jsx)(button_1.Button, { className: `border-round-sm border-noround-right sc_icon_hover ${!gridView
12
12
  ? "focus:shadow-none"
13
13
  : "bg-primary-50 focus:shadow-none border-right-1 border-gray-300"} `, icon: (0, jsx_runtime_1.jsx)(svg_component_1.default, { icon: "grid-01", color: !gridView ? "text-gray-600" : "text-primary-400", size: 18 }), outlined: true, onClick: () => gridViewFun(true), title: "Grid View" }), (0, jsx_runtime_1.jsx)(button_1.Button, { title: "List View", className: `sc_icon_hover border-round-sm border-noround-left border-left-none ${!gridView
14
14
  ? "bg-primary-50 focus:shadow-none"
@@ -164,7 +164,7 @@ const TableFilter = () => {
164
164
  });
165
165
  setAllFieldsFilled(isAllFieldsFilled && enbleApply);
166
166
  }, [conditionsArray, enbleApply]);
167
- return (0, utilComponents_1.skeletonLoding)() ? ((0, jsx_runtime_1.jsx)(FeatureSkeleton_1.default, {})) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `cursor-pointer filter-btn-grid font-semibold hover:bg-primary-25 sc_icon_hover flex align-items-center gap-2 border-round-lg ${isDisabled && "disabled"} ${isOverlayOpened ||
167
+ return (0, utilComponents_1.skeletonLoding)() ? ((0, jsx_runtime_1.jsx)(FeatureSkeleton_1.default, {})) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `cursor-pointer filter-btn-grid font-semibold hover:bg-primary-25 sc_icon_hover flex align-items-center gap-2 border-round-6 ${isDisabled && "disabled"} ${isOverlayOpened ||
168
168
  (globalFilters === null || globalFilters === void 0 ? void 0 : globalFilters.filter((each) => each.isActive).length) >= 1
169
169
  ? "bg-primary-50"
170
170
  : "bg-white"}`, title: "Apply Filters" }, { children: [(0, jsx_runtime_1.jsx)("div", { id: "advancedFilterParent", className: "hidden" }), (0, jsx_runtime_1.jsxs)("span", Object.assign({ onClick: (e) => !isDisabled && onClickFilter(e), className: "flex zoom_animate", id: "advance-filter-id" }, { children: [(0, jsx_runtime_1.jsx)(svg_component_1.default, { icon: "filter-lines", size: 18, color: isOverlayOpened ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "6.2.92",
3
+ "version": "6.2.94",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",