sccoreui 6.2.64 → 6.2.66

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
@@ -47,29 +47,29 @@
47
47
  --grey-bg: #101828;
48
48
  --border-none: border-none;
49
49
  --box-shadow-none: none;
50
- --_primary-800: #0e184f;
51
- --_primary-700: #111c5b;
52
- --_primary-600: #132067;
53
- --_primary-500: #162578;
54
- --_primary-400: #243dc6;
55
- --_primary-300: #d0d5dd;
56
- --_primary-100: #ced4f6;
57
- --_primary-200: #8794db;
58
- --_primary-50: #e2e5fa;
59
- --_primary-25: #f5f6fd;
60
-
61
- --_gray-700: #344054;
62
- --_gray-800: #1d2939;
63
- --_gray-200: #eaecf0;
64
- --_gray-300: #d0d5dd;
65
- --_gray-50: #f9fafb;
66
- --_base-white: #fff;
67
-
68
- --_text-secondary-600: #475467;
69
- --_outline-800: #1d2939;
70
- --_outline-200: #eaecf0;
71
- --_outline-300: #d0d5dd;
72
- --_outline-50: #f9fafb;
50
+ // --_primary-800: #0e184f;
51
+ // --_primary-700: #111c5b;
52
+ // --_primary-600: #132067;
53
+ // --_primary-500: #162578;
54
+ // --_primary-400: #243dc6;
55
+ // --_primary-300: #d0d5dd;
56
+ // --_primary-100: #ced4f6;
57
+ // --_primary-200: #8794db;
58
+ // --_primary-50: #e2e5fa;
59
+ // --_primary-25: #f5f6fd;
60
+
61
+ // --_gray-700: #344054;
62
+ // --_gray-800: #1d2939;
63
+ // --_gray-200: #eaecf0;
64
+ // --_gray-300: #d0d5dd;
65
+ // --_gray-50: #f9fafb;
66
+ // --_base-white: #fff;
67
+
68
+ // --_text-secondary-600: #475467;
69
+ // --_outline-800: #1d2939;
70
+ // --_outline-200: #eaecf0;
71
+ // --_outline-300: #d0d5dd;
72
+ // --_outline-50: #f9fafb;
73
73
  --_base-white: #fff;
74
74
  }
75
75
 
@@ -97,90 +97,90 @@
97
97
  .p-button {
98
98
  border: 0 !important;
99
99
  &.btn-primary {
100
- background-color: var(--_primary-500);
100
+ background-color: var(--primary-500);
101
101
  color: var(--_base-white);
102
102
  padding: 8px 14px;
103
103
  &:hover {
104
- background-color: var(--_primary-700);
104
+ background-color: var(--primary-700);
105
105
  }
106
106
  &:focus {
107
- background-color: var(--_primary-700);
107
+ background-color: var(--primary-700);
108
108
  }
109
109
  &:disabled {
110
- background-color: var(--_primary-200);
110
+ background-color: var(--primary-200);
111
111
  color: var(--_base-white);
112
112
  }
113
113
  }
114
114
 
115
115
  &.btn-outline {
116
- background-color: var(--base-white);
117
- color: var(--_gray-600);
118
- border: 1px solid var(--_gray-300) !important;
116
+ background-color: var(--_base-white);
117
+ color: var(--gray-600);
118
+ border: 1px solid var(--gray-300) !important;
119
119
  padding: 6px 12px;
120
120
  &:hover {
121
- background-color: var(--_gray-50) !important;
122
- color: var(--_gray-700) !important;
121
+ background-color: var(--gray-50) !important;
122
+ color: var(--gray-700) !important;
123
123
  }
124
124
  &:focus {
125
125
  background-color: var(--gray-50);
126
126
  }
127
127
  &:disabled {
128
- background-color: var(--_gray-200);
128
+ background-color: var(--gray-200);
129
129
  color: var(--_base-white);
130
130
  }
131
131
  }
132
132
 
133
133
  &.btn-secondary {
134
- background-color: var(--_primary-50);
135
- color: var(--_primary-500);
134
+ background-color: var(--primary-50);
135
+ color: var(--primary-500);
136
136
  padding: 8px 14px;
137
137
  &:hover {
138
- background-color: var(--_primary-100) !important;
139
- color: var(--_primary-800) !important;
138
+ background-color: var(--primary-100) !important;
139
+ color: var(--primary-800) !important;
140
140
  }
141
141
  &:focus {
142
- background-color: var(--_primary-100);
142
+ background-color: var(--primary-100);
143
143
  }
144
144
  &:disabled {
145
- background-color: var(--_primary-50);
146
- color: var(--_gray-300);
145
+ background-color: var(--primary-50);
146
+ color: var(--gray-300);
147
147
  }
148
148
  }
149
149
 
150
150
  &.btn-text {
151
151
  background-color: var(--_base-white);
152
- color: var(--_gray-600);
152
+ color: var(--gray-600);
153
153
  padding: 8px 14px;
154
154
  border: 0 !important;
155
155
  &:hover {
156
- background-color: var(--_gray-50) !important;
157
- color: var(--_gray-700) !important;
156
+ background-color: var(--gray-50) !important;
157
+ color: var(--gray-700) !important;
158
158
  }
159
159
  &:focus {
160
- background-color: var(--_gray-50);
161
- color: var(--_gray-700);
160
+ background-color: var(--gray-50);
161
+ color: var(--gray-700);
162
162
  border: 0px !important;
163
163
  }
164
164
  &:disabled {
165
- background-color: var(--_primary-50) !important;
166
- color: var(--_gray-300);
165
+ background-color: var(--primary-50) !important;
166
+ color: var(--gray-300);
167
167
  }
168
168
  }
169
169
  &.btn-text-primary {
170
170
  background-color: var(--_base-white);
171
- color: var(--_primary-400);
171
+ color: var(--primary-400);
172
172
  padding: 8px 14px;
173
173
  border: 0 !important;
174
174
  &:hover {
175
- background-color: var(--_primary-25) !important;
176
- color: var(--_primary-600) !important;
175
+ background-color: var(--primary-25) !important;
176
+ color: var(--primary-600) !important;
177
177
  }
178
178
  &:focus {
179
- background-color: var(--_primary-25) !important;
180
- color: var(--_primary-600) !important;
179
+ background-color: var(--primary-25) !important;
180
+ color: var(--primary-600) !important;
181
181
  }
182
182
  &:disabled {
183
- color: var(--_gray-300);
183
+ color: var(--gray-300);
184
184
  }
185
185
  }
186
186
  }
@@ -111,9 +111,7 @@ onChange, footeTemplate, headerTemplate, labelIcon, labelIconPos, label, labelIc
111
111
  ? listBoxclassName
112
112
  : "w-16rem border-none "} `, filterPlaceholder: filterPlaceholder ? filterPlaceholder : "" }), footeTemplate && (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: footeTemplate() })] }))),
113
113
  },
114
- ] }), !showChips ? ((0, jsx_runtime_1.jsx)(button_1.Button, { type: "button", className: `list_box_button focus:shadow-none p-0 h-max h-auto p-0 mx-2 ${buttonClassName}`, link: link ? true : false, icon: labelIcon ? labelIcon : "", size: labelIconSize ? labelIconSize : "", iconPos: labelIconPos ? labelIconPos : "", label: label, onClick: (event) => optionsMenuRef.current.toggle(event) })) : ((0, jsx_runtime_1.jsxs)("ul", Object.assign({ className: `pl-0 grid row-gap-2 list_box_chips gap-2 ${chipsParentClassName}` }, { children: [(0, jsx_runtime_1.jsx)("li", Object.assign({ className: `cursor-pointer min-w-max mx-2 max-w-max px-2 ${buttonClassName}` }, { children: (0, jsx_runtime_1.jsx)(button_1.Button, { type: "button",
115
- // className={`list_box_button focus:shadow-none p-0 h-max h-auto mx-2`}
116
- link: link ? true : false, icon: labelIcon ? labelIcon : "", size: labelIconSize ? labelIconSize : "", iconPos: labelIconPos ? labelIconPos : "", label: label, onClick: (event) => optionsMenuRef.current.toggle(event), "aria-controls": "popup_menu_right", "aria-haspopup": true, ref: buttonRef, className: "btn-text-primary" }) })), selectedItems &&
114
+ ] }), !showChips ? ((0, jsx_runtime_1.jsx)(button_1.Button, { type: "button", className: `list_box_button focus:shadow-none p-0 h-max h-auto p-0 mx-2 ${buttonClassName}`, link: link ? true : false, icon: labelIcon ? labelIcon : "", size: labelIconSize ? labelIconSize : "", iconPos: labelIconPos ? labelIconPos : "", label: label, onClick: (event) => optionsMenuRef.current.toggle(event) })) : ((0, jsx_runtime_1.jsxs)("ul", Object.assign({ className: `pl-0 grid row-gap-2 list_box_chips ${chipsParentClassName}` }, { children: [(0, jsx_runtime_1.jsx)("li", Object.assign({ className: `cursor-pointer min-w-max mx-2 max-w-max ${buttonClassName}` }, { children: (0, jsx_runtime_1.jsx)(button_1.Button, { type: "button", className: `list_box_button focus:shadow-none p-0 h-max h-auto mx-2`, link: link ? true : false, icon: labelIcon ? labelIcon : "", size: labelIconSize ? labelIconSize : "", iconPos: labelIconPos ? labelIconPos : "", label: label, onClick: (event) => optionsMenuRef.current.toggle(event), "aria-controls": "popup_menu_right", "aria-haspopup": true, ref: buttonRef }) })), selectedItems &&
117
115
  (selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.map((item, index) => {
118
116
  var _a, _b;
119
117
  return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: isDraggable !== undefined ? ((0, jsx_runtime_1.jsx)("li", Object.assign({ draggable: isDraggable, onDragStart: (e) => handleDragStart(e, index), onDragOver: (e) => handleDragOver(e), onDrop: (e) => handleDrop(e, index), className: `${chipClassName ? chipClassName : ""} cursor-pointer min-w-max mx-2 max-w-max p-1 flex align-items-center bg-gray-50 text-gray-700 text-base border-1 border-gray-300 border-round-lg ${showRemoveIcon ? "pr-6 relative" : ""}` }, { children: chipTemplate ? (chipTemplate(item)) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)("div", { children: [" ", typeof item === "object"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "6.2.64",
3
+ "version": "6.2.66",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",