@onehat/ui 0.3.357 → 0.3.359
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,5 +1,6 @@
|
|
|
1
1
|
import { useState, useEffect, useRef, } from 'react';
|
|
2
2
|
import {
|
|
3
|
+
Box,
|
|
3
4
|
Column,
|
|
4
5
|
Modal,
|
|
5
6
|
Row,
|
|
@@ -328,6 +329,21 @@ export default function withFilters(WrappedComponent) {
|
|
|
328
329
|
{filterElement}
|
|
329
330
|
</Row>;
|
|
330
331
|
}
|
|
332
|
+
// add a container for each filter
|
|
333
|
+
filterElement = <Row
|
|
334
|
+
key={'filter-' + ix}
|
|
335
|
+
bg="trueGray.100"
|
|
336
|
+
px={1}
|
|
337
|
+
mx={1}
|
|
338
|
+
borderRadius={6}
|
|
339
|
+
borderLeftWidth={1}
|
|
340
|
+
borderLeftColor="#fff"
|
|
341
|
+
alignItems="center"
|
|
342
|
+
h="100%"
|
|
343
|
+
>
|
|
344
|
+
{filterElement}
|
|
345
|
+
</Row>;
|
|
346
|
+
|
|
331
347
|
filterElements.push(filterElement);
|
|
332
348
|
});
|
|
333
349
|
return filterElements;
|