mn-angular-lib 1.0.80 → 1.0.81

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,6 +1,6 @@
1
1
  {
2
2
  "name": "mn-angular-lib",
3
- "version": "1.0.80",
3
+ "version": "1.0.81",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3"
@@ -4155,6 +4155,15 @@ type GridLayout = {
4155
4155
  type GridSkeleton = TemplateRef<unknown> | {
4156
4156
  lines: Partial<MnSkeletonProps>[];
4157
4157
  };
4158
+ /**
4159
+ * Configures an {@link import('./mn-grid.component').MnGrid}.
4160
+ *
4161
+ * Empty state (inherited from {@link MnCollectionDataSource}): provide **either**
4162
+ * a default text via `emptyMessage` / `emptyMessageKey`, **or** a whole custom
4163
+ * component/markup via `emptyTemplate`. A supplied `emptyTemplate` is rendered
4164
+ * unwrapped — it fully controls its own layout — while the text variant gets the
4165
+ * grid's default centered placeholder.
4166
+ */
4158
4167
  type GridDataSource<T> = MnCollectionDataSource<T> & {
4159
4168
  /** Template used to render each card. Receives the item as `$implicit` and `data`. */
4160
4169
  cardTemplate: TemplateRef<unknown>;