sccoreui 6.2.56 → 6.2.59

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
@@ -165,6 +165,23 @@
165
165
  color: var(--_gray-300);
166
166
  }
167
167
  }
168
+ &.btn-text-primary {
169
+ background-color: var(--_base-white);
170
+ color: var(--_primary-400);
171
+ padding: 8px 14px;
172
+ border: 0 !important;
173
+ &:hover {
174
+ background-color: var(--_primary-25) !important;
175
+ color: var(--_primary-600) !important;
176
+ }
177
+ &:focus {
178
+ background-color: var(--_primary-25) !important;
179
+ color: var(--_primary-600) !important;
180
+ }
181
+ &:disabled {
182
+ color: var(--_gray-300);
183
+ }
184
+ }
168
185
  }
169
186
 
170
187
  // height and width utility classes
@@ -2273,13 +2290,13 @@ button[aria-expanded="true"] {
2273
2290
 
2274
2291
  .p-button {
2275
2292
  &.p-button-secondary {
2276
- padding: 8px 12px !important;
2293
+ padding: 8px 12px;
2277
2294
  }
2278
2295
  &.p-button-outline {
2279
- padding: 8px 12px !important;
2296
+ padding: 8px 12px;
2280
2297
  }
2281
2298
 
2282
- padding: 8px 12px !important;
2299
+ padding: 8px 12px;
2283
2300
 
2284
2301
  .p-button-label {
2285
2302
  font-weight: 600;
@@ -2349,7 +2349,7 @@ a {
2349
2349
  width: auto;
2350
2350
  transition: background-color 0.2s, color 0.2s, border-color 0.2s,
2351
2351
  box-shadow 0.2s;
2352
- border-radius: 8px;
2352
+ border-radius: 6px;
2353
2353
  border: 1px solid var(--primary-500);
2354
2354
  }
2355
2355
  .p-button:enabled:hover,
@@ -8223,12 +8223,12 @@ button:after {
8223
8223
  opacity: 0.2;
8224
8224
  }
8225
8225
  20% {
8226
- transform: scale(15, 15);
8226
+ transform: scale(20, 20);
8227
8227
  opacity: 0.2;
8228
8228
  }
8229
8229
  100% {
8230
8230
  opacity: 0.2;
8231
- transform: scale(20, 20);
8231
+ transform: scale(40, 40);
8232
8232
  }
8233
8233
  }
8234
8234
  /* @-webkit-keyframes ripple {
@@ -31,6 +31,6 @@ function Grouping() {
31
31
  const nodeTemplate = (node) => {
32
32
  return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `flex align-items-center w-full border-round block w-full p-3 text-primary-400 font-semibold ${checked && "bg-primary-25"}` }, { children: [(0, jsx_runtime_1.jsx)(checkbox_1.Checkbox, { onChange: (e) => setChecked(e.checked), checked: checked }), (0, jsx_runtime_1.jsx)("span", { children: node.label })] })));
33
33
  };
34
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(button_1.Button, { text: true, className: "h-40 text-primary-400", icon: (0, jsx_runtime_1.jsx)(svg_component_1.default, { icon: "grid-01" }), onClick: (e) => columnGroupRef.current.toggle(e) }), (0, jsx_runtime_1.jsxs)(overlaypanel_1.OverlayPanel, Object.assign({ ref: columnGroupRef, className: "column_group_overlay w-20rem" }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "p-4" }, { children: [(0, jsx_runtime_1.jsx)("h3", Object.assign({ className: "my-0" }, { children: "Grouping" })), (0, jsx_runtime_1.jsx)("p", Object.assign({ className: "my-0" }, { children: "Select any 2 grouping options only" }))] })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "p-4 border-bottom-1 border-top-1 border-gray-200 bg-gray-50" }, { children: (0, jsx_runtime_1.jsx)(inputtext_1.InputText, { placeholder: "Search by column or attribute name", className: "w-full" }) })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "w-full" }, { children: (0, jsx_runtime_1.jsx)(tree_1.Tree, { value: nodes, nodeTemplate: nodeTemplate, dragdropScope: "demo", onDragDrop: (e) => setNodes(e.value), togglerTemplate: togglerTemplate, className: "list-items" }) })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "p-4 border-top-1 border-gray-200 flex justify-content-between" }, { children: [(0, jsx_runtime_1.jsx)(button_1.Button, { text: true, label: "Remove Grouping" }), (0, jsx_runtime_1.jsx)(button_1.Button, { label: "Save Grouping", disabled: true })] }))] }))] }));
34
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(button_1.Button, { text: true, className: "h-40 text-primary-400", icon: (0, jsx_runtime_1.jsx)(svg_component_1.default, { icon: "grid-01" }), onClick: (e) => columnGroupRef.current.toggle(e) }), (0, jsx_runtime_1.jsxs)(overlaypanel_1.OverlayPanel, Object.assign({ ref: columnGroupRef, className: "column_group_overlay w-20rem" }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "p-4" }, { children: [(0, jsx_runtime_1.jsx)("h3", Object.assign({ className: "my-0" }, { children: "Grouping" })), (0, jsx_runtime_1.jsx)("p", Object.assign({ className: "my-0" }, { children: "Select any 2 grouping options only" }))] })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "p-4 border-bottom-1 border-top-1 border-gray-200 bg-gray-50" }, { children: (0, jsx_runtime_1.jsx)(inputtext_1.InputText, { placeholder: "Search by column or attribute name", className: "w-full" }) })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "w-full" }, { children: (0, jsx_runtime_1.jsx)(tree_1.Tree, { value: nodes, nodeTemplate: nodeTemplate, dragdropScope: "demo", onDragDrop: (e) => setNodes(e.value), togglerTemplate: togglerTemplate, className: "list-items" }) })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "p-4 border-top-1 border-gray-200 flex justify-content-between" }, { children: [(0, jsx_runtime_1.jsx)(button_1.Button, { label: "Remove Grouping", className: "btn-text" }), (0, jsx_runtime_1.jsx)(button_1.Button, { className: "btn-primary", label: "Save Grouping", disabled: true })] }))] }))] }));
35
35
  }
36
36
  exports.default = Grouping;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "6.2.56",
3
+ "version": "6.2.59",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",