datastake-daf 0.6.166 → 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
  })]
@@ -15271,12 +15268,12 @@ function Widget(_ref) {
15271
15268
  className: "squareIconButton no-min-width",
15272
15269
  icon: /*#__PURE__*/jsxRuntime.jsx(CustomIcon, {
15273
15270
  name: "Filter",
15274
- width: 12,
15275
- height: 12
15271
+ width: 16,
15272
+ height: 16
15276
15273
  }),
15277
15274
  style: {
15278
- height: '25px',
15279
- width: '25px'
15275
+ height: '32px',
15276
+ width: '32px'
15280
15277
  },
15281
15278
  onClick: () => setShowFilters(p => !p)
15282
15279
  })
@@ -15285,17 +15282,17 @@ function Widget(_ref) {
15285
15282
  children: /*#__PURE__*/jsxRuntime.jsx(antd.Button, {
15286
15283
  className: "squareIconButton no-min-width",
15287
15284
  style: {
15288
- height: '25px',
15289
- width: '25px'
15285
+ height: '32px',
15286
+ width: '32px'
15290
15287
  },
15291
15288
  onClick: handleCollapseToggle,
15292
15289
  icon: isCollapsed ? /*#__PURE__*/jsxRuntime.jsx(Icons.RightOutlined, {
15293
15290
  style: {
15294
- width: 12
15291
+ width: 16
15295
15292
  }
15296
15293
  }) : /*#__PURE__*/jsxRuntime.jsx(Icons.DownOutlined, {
15297
15294
  style: {
15298
- width: 12
15295
+ width: 16
15299
15296
  }
15300
15297
  })
15301
15298
  })
@@ -15307,12 +15304,12 @@ function Widget(_ref) {
15307
15304
  children: /*#__PURE__*/jsxRuntime.jsx(antd.Button, {
15308
15305
  className: "squareIconButton no-min-width",
15309
15306
  style: {
15310
- height: '25px',
15311
- width: '25px'
15307
+ height: '32px',
15308
+ width: '32px'
15312
15309
  },
15313
15310
  icon: !isExpanded ? /*#__PURE__*/jsxRuntime.jsx(Icons.RightOutlined, {
15314
15311
  style: {
15315
- width: 10,
15312
+ width: 16,
15316
15313
  paddingTop: "4px"
15317
15314
  }
15318
15315
  }) :
@@ -15321,7 +15318,7 @@ function Widget(_ref) {
15321
15318
  //<MinusOutlined style={{ width: 10 }} />
15322
15319
  jsxRuntime.jsx(Icons.DownOutlined, {
15323
15320
  style: {
15324
- width: 10,
15321
+ width: 16,
15325
15322
  paddingTop: "4px"
15326
15323
  }
15327
15324
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.166",
3
+ "version": "0.6.168",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -99,11 +99,11 @@ export default function Widget({
99
99
  icon={
100
100
  <CustomIcon
101
101
  name="Filter"
102
- width={12}
103
- height={12}
102
+ width={16}
103
+ height={16}
104
104
  />
105
105
  }
106
- style={{height: '25px', width: '25px'}}
106
+ style={{height: '32px', width: '32px'}}
107
107
  onClick={() => setShowFilters((p) => !p)}
108
108
  />
109
109
  </div>
@@ -115,13 +115,13 @@ export default function Widget({
115
115
  <div className="flex justify-content-end">
116
116
  <Button
117
117
  className="squareIconButton no-min-width"
118
- style={{height: '25px', width: '25px'}}
118
+ style={{height: '32px', width: '32px'}}
119
119
  onClick={handleCollapseToggle}
120
120
  icon={
121
121
  isCollapsed ? (
122
- <RightOutlined style={{ width: 12 }} />
122
+ <RightOutlined style={{ width: 16 }} />
123
123
  ) : (
124
- <DownOutlined style={{ width: 12 }} />
124
+ <DownOutlined style={{ width: 16 }} />
125
125
  )
126
126
  }
127
127
  />
@@ -139,17 +139,17 @@ export default function Widget({
139
139
  <div className="flex flex-column" {...getToggleProps()}>
140
140
  <Button
141
141
  className="squareIconButton no-min-width"
142
- style={{height: '25px', width: '25px'}}
142
+ style={{height: '32px', width: '32px'}}
143
143
  icon={
144
144
  !isExpanded ? (
145
145
  <RightOutlined
146
- style={{ width: 10, paddingTop: "4px" }}
146
+ style={{ width: 16, paddingTop: "4px" }}
147
147
  />
148
148
  ) : (
149
149
  //<PlusOutlined style={{width: 10}} />
150
150
  //<MinusOutlined style={{ width: 10 }} />
151
151
  <DownOutlined
152
- style={{ width: 10, paddingTop: "4px" }}
152
+ style={{ width: 16, paddingTop: "4px" }}
153
153
  />
154
154
  )
155
155
  }
@@ -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
  )}