datastake-daf 0.6.167 → 0.6.168

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.
@@ -11826,17 +11826,14 @@ const SearchFilters = _ref => {
11826
11826
  }), showFilter && /*#__PURE__*/jsxRuntime.jsx("div", {
11827
11827
  className: "flex flex-column",
11828
11828
  children: /*#__PURE__*/jsxRuntime.jsx(antd.Button, {
11829
- className: "ml-3 flex-1",
11829
+ className: "ml-3 flex-1 squareIconButton no-min-width",
11830
11830
  onClick: () => {
11831
11831
  setShowFilters(p => !p);
11832
11832
  },
11833
- children: /*#__PURE__*/jsxRuntime.jsx("div", {
11834
- className: "flex flex-column justify-content-center",
11835
- children: /*#__PURE__*/jsxRuntime.jsx(CustomIcon, {
11836
- name: "Filter",
11837
- width: 16,
11838
- height: 16
11839
- })
11833
+ icon: /*#__PURE__*/jsxRuntime.jsx(CustomIcon, {
11834
+ name: "Filter",
11835
+ width: 16,
11836
+ height: 16
11840
11837
  })
11841
11838
  })
11842
11839
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.167",
3
+ "version": "0.6.168",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -174,14 +174,15 @@ const SearchFilters = ({
174
174
  {showFilter && (
175
175
  <div className='flex flex-column'>
176
176
  <Button
177
- className="ml-3 flex-1"
177
+ className="ml-3 flex-1 squareIconButton no-min-width"
178
178
  onClick={() => {
179
179
  setShowFilters((p) => !p)
180
180
  }}
181
+ icon={<CustomIcon name='Filter' width={16} height={16} />}
181
182
  >
182
- <div className='flex flex-column justify-content-center'>
183
+ {/* <div className='flex flex-column justify-content-center'>
183
184
  <CustomIcon name='Filter' width={16} height={16} />
184
- </div>
185
+ </div> */}
185
186
  </Button>
186
187
  </div>
187
188
  )}