sccoreui 6.4.67 → 6.4.69

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
@@ -3047,14 +3047,40 @@ button[aria-expanded="true"] {
3047
3047
  }
3048
3048
 
3049
3049
  .text_ellipsis {
3050
- display: -webkit-box;
3050
+ display: -webkit-box !important;
3051
3051
  -webkit-box-orient: vertical;
3052
3052
  -webkit-line-clamp: 1;
3053
3053
  line-clamp: 1;
3054
3054
  white-space: normal;
3055
+ word-break: break-all;
3056
+ overflow: hidden;
3057
+ }
3058
+
3059
+ .line_clamp {
3060
+ display: -webkit-box !important;
3061
+ -webkit-box-orient: vertical;
3062
+ white-space: normal;
3063
+ word-break: break-all;
3055
3064
  overflow: hidden;
3065
+ &.line_clamp_1 {
3066
+ -webkit-line-clamp: 1;
3067
+ line-clamp: 1;
3068
+ }
3069
+ &.line_clamp_1 {
3070
+ -webkit-line-clamp: 2;
3071
+ line-clamp: 2;
3072
+ }
3056
3073
  }
3057
3074
 
3075
+ // .text_ellipsis {
3076
+ // display: -webkit-box !important;
3077
+ // -webkit-box-orient: vertical;
3078
+ // -webkit-line-clamp: 1;
3079
+ // line-clamp: 1;
3080
+ // white-space: normal;
3081
+ // overflow: hidden;
3082
+ // }
3083
+
3058
3084
  // button styles
3059
3085
  // .p-button.sc_btn,
3060
3086
  // div.sc_btn {
@@ -40,7 +40,8 @@ const MultiSelectDropDown = (props) => {
40
40
  }, [props === null || props === void 0 ? void 0 : props.value]);
41
41
  const itemTemplate = (option) => {
42
42
  var _a, _b;
43
- return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `status_dropdown_item pl-6 ${(_b = (_a = option === null || option === void 0 ? void 0 : option.name) === null || _a === void 0 ? void 0 : _a.replaceAll(" ", "")) === null || _b === void 0 ? void 0 : _b.toLowerCase()}` }, { children: [(0, jsx_runtime_1.jsx)("div", { className: "status_dot", style: { background: option.color } }), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "otption_name mr-8" }, { children: option.name }))] })) }));
43
+ console.log("options", option);
44
+ return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ className: `status_dropdown_item pl-1 ${(_b = (_a = option === null || option === void 0 ? void 0 : option.name) === null || _a === void 0 ? void 0 : _a.replaceAll(" ", "")) === null || _b === void 0 ? void 0 : _b.toLowerCase()}` }, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "otption_name mr-8" }, { children: option.name })) })) }));
44
45
  };
45
46
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [props.dropdownType === "withIcon" && ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `sc_custom_multiselect flex align-items-center relative ${props.className} ${isMoreThanOne
46
47
  ? `selected_multile ${`selected_num_` + (items === null || items === void 0 ? void 0 : items.length)}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "6.4.67",
3
+ "version": "6.4.69",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",