@capillarytech/blaze-ui 0.1.6-alpha.50 → 0.1.6-alpha.51

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.
@@ -23,7 +23,7 @@ const CapUnifiedSelect = ({
23
23
  style,
24
24
  isError = false,
25
25
  errorMessage,
26
- popOverClassName,
26
+ popoverClassName,
27
27
  allowClear = false,
28
28
  headerLabel,
29
29
  onUpload,
@@ -153,10 +153,11 @@ const CapUnifiedSelect = ({
153
153
  const displayValue = dropdownOpen ? tempValue : value;
154
154
  return isMulti && Array.isArray(displayValue) && displayValue?.length > 1 ? (
155
155
  <>
156
- <span>+{displayValue.length - 1} more <CapIcon type="down" size="s" /></span>
156
+ <span>+{displayValue.length - 1} more </span>
157
+ <CapIcon type={`${dropdownOpen ? 'up' : 'down'}`} size="s" />
157
158
  </>
158
159
  ) : (
159
- <CapIcon type="down" size="s" />
160
+ <CapIcon type={`${dropdownOpen ? 'up' : 'down'}`} size="s" />
160
161
  );
161
162
  }, [isMulti, value, tempValue, dropdownOpen]);
162
163
 
@@ -209,7 +210,7 @@ const CapUnifiedSelect = ({
209
210
  if (!customPopupRender) return menu;
210
211
 
211
212
  return (
212
- <div className={classnames(popOverClassName, `${type}-popup-container`)}>
213
+ <div className={classnames(popoverClassName, `${type}-popup-container`)}>
213
214
  {showSearch && (
214
215
  <CapRow className={classnames("cap-unified-select-search-container")} align="middle">
215
216
  <Input
@@ -269,7 +270,7 @@ const CapUnifiedSelect = ({
269
270
  )}
270
271
  </div>
271
272
  );
272
- }, [customPopupRender, popOverClassName, type, showSearch, searchText, isMulti, showUpload, currentItems?.length, allSelected, className, noResultCustomText, onUpload, handleSelectAll, handleConfirm, handleCancel]);
273
+ }, [customPopupRender, popoverClassName, type, showSearch, searchText, isMulti, showUpload, currentItems?.length, allSelected, className, noResultCustomText, onUpload, handleSelectAll, handleConfirm, handleCancel]);
273
274
 
274
275
  return (
275
276
  <>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/blaze-ui",
3
3
  "author": "Capillary Technologies",
4
- "version": "0.1.6-alpha.50",
4
+ "version": "0.1.6-alpha.51",
5
5
  "description": "Capillary UI component library with Ant Design v5",
6
6
  "main": "./index.js",
7
7
  "sideEffects": [