@hortiview/shared-components 1.1.2 → 1.2.0

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.
@@ -78,6 +78,27 @@ export type TableLayoutProps<T> = {
78
78
  * the column that will be used as the subtitle of the card in the card view
79
79
  */
80
80
  cardSubTitleColumn?: keyof T;
81
+ /**
82
+ * a translation string for the page label in the pagination component
83
+ * this is only used if the pagination prop is set to true
84
+ * @example pageTranslation='Page'
85
+ * @default 'Page'
86
+ */
87
+ pageTranslation?: string;
88
+ /**
89
+ * a translation string for the page of label in the pagination component
90
+ * this is only used if the pagination prop is set to true
91
+ * @example pagOfTranslation='of'
92
+ * @default 'of'
93
+ */
94
+ pageOfTranslation?: string;
95
+ /**
96
+ * a translation string for the rows per page label in the pagination component
97
+ * this is only used if the pagination prop is set to true
98
+ * @example rowsPerPageTranslation='Rows per page'
99
+ * @default 'Rows per page'
100
+ */
101
+ rowsPerPageTranslation?: string;
81
102
  };
82
103
  /**
83
104
  * Props for the CellTemplate component {@link CellTemplate}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hortiview/shared-components",
3
3
  "description": "This is a shared component library. It should used in the HortiView platform and its modules.",
4
- "version": "1.1.2",
4
+ "version": "1.2.0",
5
5
  "type": "module",
6
6
  "repository": "https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared",
7
7
  "author": "Falk Menge <falk.menge.ext@bayer.com>",