najm-kit 2.1.54 → 2.1.56

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.1.55
4
+
5
+ - Honor `showIcon` on NTable `select` and `combobox` filters. The leading filter icon is still shown by default; pass `showIcon: false` on a filter to hide it.
6
+
3
7
  ## 2.1.54
4
8
 
5
9
  - Added controlled remote-search and loading-state props to `ComboboxInput` and `FormInput type="combobox"` while preserving client filtering by default.
package/dist/index.mjs CHANGED
@@ -13538,7 +13538,7 @@ function RenderFilter({ filter, mobilePrimary = false }) {
13538
13538
  searchPlaceholder: filter.searchPlaceholder,
13539
13539
  emptyMessage: filter.emptyMessage,
13540
13540
  icon: "filter",
13541
- showIcon: true,
13541
+ showIcon: filter.showIcon ?? true,
13542
13542
  disabled: filter.disabled,
13543
13543
  bordered,
13544
13544
  className: "w-full"
@@ -13553,7 +13553,7 @@ function RenderFilter({ filter, mobilePrimary = false }) {
13553
13553
  items: filter.options || [],
13554
13554
  placeholder: filter.placeholder,
13555
13555
  icon: "filter",
13556
- showIcon: true,
13556
+ showIcon: filter.showIcon ?? true,
13557
13557
  disabled: filter.disabled,
13558
13558
  bordered,
13559
13559
  className: "w-full"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "najm-kit",
3
- "version": "2.1.54",
3
+ "version": "2.1.56",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Reusable React UI component package for Najm framework",