@capillarytech/blaze-ui 0.3.2 → 0.3.3-alpha.1

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.
@@ -385,6 +385,7 @@ const CapUnifiedSelect = ({
385
385
  size="small"
386
386
  className="cap-unified-select-confirm-button"
387
387
  onClick={handleConfirm}
388
+ disabled={selectedLeafCount === 0}
388
389
  >
389
390
  Confirm
390
391
  </Button>
@@ -338,9 +338,16 @@ export const selectStyles = css`
338
338
  padding-left: ${styledVars.SPACING_08};
339
339
  align-items: center;
340
340
  .cap-unified-select-confirm-button {
341
- background-color: ${styledVars.CAP_GREEN01};
341
+ background-color: ${styledVars.CAP_PRIMARY.base};
342
342
  height: 2.286rem;
343
343
  width: 6.714rem;
344
+ color: ${ styledVars.CAP_WHITE };
345
+ &:hover {
346
+ background-color: ${styledVars.CAP_PRIMARY.hover};
347
+ }
348
+ &:disabled {
349
+ background-color: ${styledVars.CAP_PRIMARY.disabled};};
350
+ }
344
351
  }
345
352
  .cap-unified-select-cancel-button {
346
353
  border: transparent;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/blaze-ui",
3
3
  "author": "Capillary Technologies",
4
- "version": "0.3.2",
4
+ "version": "0.3.3-alpha.1",
5
5
  "description": "Capillary UI component library with Ant Design v5",
6
6
  "main": "./index.js",
7
7
  "sideEffects": [