@capillarytech/blaze-ui 0.3.1 → 0.3.2-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.
@@ -403,7 +403,7 @@ const CapUnifiedSelect = ({
403
403
  </div>
404
404
  )}
405
405
 
406
- {(type === SELECT_TYPES.SELECT || type === SELECT_TYPES.TREE_SELECT) && (
406
+ {(type === SELECT_TYPES.SELECT || type === SELECT_TYPES.TREE_SELECT) && allowClear && (
407
407
  <CapRow className="cap-unified-select-tree-clear-container" onClick={handleClearAll}>
408
408
  <CapLabel className="cap-unified-select-tree-clear-label">{clearText}</CapLabel>
409
409
  </CapRow>
@@ -470,6 +470,7 @@ const CapUnifiedSelect = ({
470
470
  open={dropdownOpen}
471
471
  onOpenChange={handleDropdownVisibilityChange}
472
472
  virtual
473
+ popupMatchSelectWidth={false}
473
474
  disabled={disabled}
474
475
  filterTreeNode={false}
475
476
  listHeight={256}
@@ -149,11 +149,6 @@ export const selectStyles = css`
149
149
  height: 100%;
150
150
  .cap-unified-select-option-label{
151
151
  flex: 1;
152
- max-width: 9.286rem;
153
- overflow: hidden;
154
- text-overflow: ellipsis;
155
- white-space: nowrap;
156
- display: block;
157
152
  }
158
153
  .cap-unified-select-option-suffix{
159
154
  display: flex;
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.1",
4
+ "version": "0.3.2-alpha.1",
5
5
  "description": "Capillary UI component library with Ant Design v5",
6
6
  "main": "./index.js",
7
7
  "sideEffects": [