@capillarytech/blaze-ui 0.1.6-alpha.47 → 0.1.6-alpha.49

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
- popupClassName,
26
+ popOverClassName,
27
27
  allowClear = false,
28
28
  headerLabel,
29
29
  onUpload,
@@ -209,7 +209,7 @@ const CapUnifiedSelect = ({
209
209
  if (!customPopupRender) return menu;
210
210
 
211
211
  return (
212
- <div className={classnames(popupClassName, `${type}-popup-container`)}>
212
+ <div className={classnames(popOverClassName, `${type}-popup-container`)}>
213
213
  {showSearch && (
214
214
  <CapRow className={classnames("cap-unified-select-search-container")} align="middle">
215
215
  <Input
@@ -335,23 +335,25 @@ CapUnifiedSelect.propTypes = {
335
335
  popupClassName: PropTypes.string,
336
336
  showUpload: PropTypes.bool,
337
337
  onUpload: PropTypes.func,
338
+ size: PropTypes.oneOf(['s', 'm', 'l', 'xl']),
338
339
  };
339
340
 
340
341
  CapUnifiedSelect.defaultProps = {
341
342
  type: 'select',
342
- options: [],
343
343
  placeholder: 'Select an option',
344
+ searchBasedOn: 'label',
345
+ noResultCustomText: 'No results found',
346
+ noResultCustomIcon: 'warning',
347
+ options: [],
348
+ size: 'm',
344
349
  allowClear: false,
345
350
  customPopupRender: true,
346
351
  showSearch: true,
347
- searchBasedOn: 'label',
348
352
  className: '',
349
353
  popupClassName: '',
350
354
  disabled: false,
351
355
  showUpload: false,
352
356
  isError: false,
353
- noResultCustomText: 'No results found',
354
- noResultCustomIcon: 'warning',
355
357
  onUpload: () => {},
356
358
  onChange: () => {},
357
359
  onConfirm: () => {},
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.47",
4
+ "version": "0.1.6-alpha.49",
5
5
  "description": "Capillary UI component library with Ant Design v5",
6
6
  "main": "./index.js",
7
7
  "sideEffects": [