funuicss 3.3.5 → 3.3.6

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,5 @@
1
1
  {
2
- "version": "3.3.5",
2
+ "version": "3.3.6",
3
3
  "name": "funuicss",
4
4
  "description": "React and Next.js component UI Library for creating Easy and good looking websites with fewer lines of code. Elevate your web development experience with our cutting-edge React/Next.js component UI Library. Craft stunning websites effortlessly, boasting both seamless functionality and aesthetic appeal—all achieved with minimal lines of code. Unleash the power of simplicity and style in your projects!",
5
5
  "main": "index.js",
package/ui/table/Table.js CHANGED
@@ -188,13 +188,14 @@ function Table(_a) {
188
188
  data && filterableFields ?
189
189
  React.createElement("div", { className: "col width-200-max" },
190
190
  React.createElement(RowFlex_1.default, { gap: 0.7 },
191
- React.createElement(Select_1.default, { value: selectedField || '', onChange: function (e) { return handleFieldChange(e); }, options: __spreadArray([
192
- { text: '🔍 Filter', value: '' },
193
- { text: 'All*', value: '' }
194
- ], (filterableFields || []).map(function (field) { return ({
195
- text: field,
196
- value: field
197
- }); }), true) }),
191
+ !selectedField &&
192
+ React.createElement(Select_1.default, { value: selectedField || '', onChange: function (e) { return handleFieldChange(e); }, options: __spreadArray([
193
+ { text: '🔍 Filter', value: '' },
194
+ { text: 'All*', value: '' }
195
+ ], (filterableFields || []).map(function (field) { return ({
196
+ text: field,
197
+ value: field
198
+ }); }), true) }),
198
199
  selectedField && (React.createElement(Select_1.default, { funcss: "width-200-max", value: selectedValue || '', onChange: function (e) {
199
200
  if (e === 'clear_all') {
200
201
  setSelectedField('');