@capillarytech/creatives-library 7.4.1 → 7.4.3

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "7.4.1",
4
+ "version": "7.4.3",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -315,29 +315,27 @@ export class FTP extends React.Component {
315
315
  const headerTagElements = headerTagList.map((item, index) => (
316
316
  index !== 0 && <div className="column-selection-container">
317
317
  <CapTooltip title={item.header}>
318
- <CapSpin spinning={!tagsWithoutOptout.length}>
319
- <CapTreeSelect
320
- dropdownClassName="select-csv-col-dropdown"
321
- treeData={tagsWithoutOptout}
322
- className="select-csv-column"
323
- value={!isEmpty(item.header) ? item.header : formatMessage(messages.selectTag)}
324
- onChange={(option, label) => this.selectCsvColumn(option, label, index)}
325
- showSearch
326
- searchPlaceholder={
327
- <span className="search-placeholder-container">
328
- <StyledCapIcon type="search" className="csv-column-search-icon"/>
329
- {formatMessage(messages.search)}
330
- </span>
331
- }
332
- placeholder={formatMessage(messages.selectTag)}
333
- />
334
- <CapIcon
335
- type="close"
336
- size="m"
337
- onClick={() => this.removeCsvColumn(item)}
338
- className="remove-csv-column"
339
- />
340
- </CapSpin>
318
+ <CapTreeSelect
319
+ dropdownClassName="select-csv-col-dropdown"
320
+ treeData={tagsWithoutOptout}
321
+ className="select-csv-column"
322
+ value={!isEmpty(item.header) ? item.header : formatMessage(messages.selectTag)}
323
+ onChange={(option, label) => this.selectCsvColumn(option, label, index)}
324
+ showSearch
325
+ searchPlaceholder={
326
+ <span className="search-placeholder-container">
327
+ <StyledCapIcon type="search" className="csv-column-search-icon"/>
328
+ {formatMessage(messages.search)}
329
+ </span>
330
+ }
331
+ placeholder={formatMessage(messages.selectTag)}
332
+ />
333
+ <CapIcon
334
+ type="close"
335
+ size="m"
336
+ onClick={() => this.removeCsvColumn(item)}
337
+ className="remove-csv-column"
338
+ />
341
339
  </CapTooltip>
342
340
  </div>
343
341
  ));