@steroidsjs/core 3.0.32 → 3.0.33

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.
@@ -16290,6 +16290,14 @@
16290
16290
  "type": "IInputParams",
16291
16291
  "example": null
16292
16292
  },
16293
+ {
16294
+ "name": "itemProps",
16295
+ "decorators": [],
16296
+ "description": "",
16297
+ "required": true,
16298
+ "type": "any",
16299
+ "example": null
16300
+ },
16293
16301
  {
16294
16302
  "name": "itemView",
16295
16303
  "decorators": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steroidsjs/core",
3
- "version": "3.0.32",
3
+ "version": "3.0.33",
4
4
  "description": "",
5
5
  "author": "Vladimir Kozhin <hello@kozhindev.com>",
6
6
  "repository": {
@@ -71,6 +71,7 @@ export interface ICheckboxTreeFieldViewProps extends IFieldWrapperOutputProps, P
71
71
  size?: Size;
72
72
  hasOnlyLeafCheckboxes?: boolean;
73
73
  itemView: CustomView;
74
+ itemProps: CustomViewProps;
74
75
  }
75
76
  export declare const getNestedItemsIds: (item: any, groupAttribute: any, hasOnlyLeafCheckboxes?: boolean) => any[];
76
77
  declare const _default: import("../../../ui/form/Field/fieldWrapper").FieldWrapperComponent<ICheckboxTreeFieldProps>;
@@ -131,9 +131,10 @@ function CheckboxTreeField(props) {
131
131
  levelPadding: props.levelPadding,
132
132
  hasOnlyLeafCheckboxes: props.hasOnlyLeafCheckboxes,
133
133
  hasIconExpandOnly: props.hasIconExpandOnly,
134
- itemView: TreeItemView
135
- }); }, [treeItems, onItemSelect, selectedIds, renderCheckbox, props.size, props.levelPadding, props.hasOnlyLeafCheckboxes,
136
- props.hasIconExpandOnly, TreeItemView]);
134
+ itemView: TreeItemView,
135
+ itemProps: props.itemProps
136
+ }); }, [treeItems, onItemSelect, selectedIds, renderCheckbox, props.size, props.levelPadding,
137
+ props.hasOnlyLeafCheckboxes, props.hasIconExpandOnly, props.itemProps, TreeItemView]);
137
138
  return components.ui.renderView(props.view || 'form.CheckboxTreeFieldView', viewProps);
138
139
  }
139
140
  CheckboxTreeField.defaultProps = {