@hortiview/shared-components 1.11.0 → 1.12.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.
- package/CHANGELOG.md +10 -0
- package/dist/assets/GenericTable.css +1 -1
- package/dist/components/GenericTable/GenericTable.d.ts +4 -1
- package/dist/components/GenericTable/GenericTable.js +1588 -1575
- package/dist/components/GenericTable/GenericTableService.js +13 -12
- package/dist/components/SearchBar/SearchBar.d.ts +4 -14
- package/dist/components/SearchBar/SearchBar.js +13 -12
- package/dist/types/GenericTable.d.ts +15 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [1.12.0](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v1.11.0...v1.12.0) (2025-06-02)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* add fullWidth prop to SearchBar component for customizable width ([8ac95ad](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/8ac95ad120740a15d33083d31a6ed32dad600eba))
|
|
6
|
+
|
|
7
|
+
### Code Refactoring
|
|
8
|
+
|
|
9
|
+
* add additional props tableActionPosition, tableElevationLevel to generic table ([e095294](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/e095294e3438f9908b98ffeebca5ecc00aced161))
|
|
10
|
+
|
|
1
11
|
## [1.11.0](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v1.10.0...v1.11.0) (2025-05-28)
|
|
2
12
|
|
|
3
13
|
### Features
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._topBar_1tmb3_1 [class*=lmnt-table__top-bar__title]{display:none}._filterBar_1tmb3_5{padding:1rem;width:inherit!important}._start_1tmb3_10{padding-top:0;padding-bottom:0}._emptyTable_1tmb3_15{height:16rem}[class*=mnt-pagination][class*=mdc-data-table__pagination]{border-top:1px solid var(--lmnt-theme-on-secondary-stroke)}._elevation_1tmb3_23{border-radius:.4rem;width:100%}._table_1tmb3_28,._table_1tmb3_28 [class*=mdc-data-table__table-container]{border-radius:.4rem}._noBorder_1tmb3_36{border:none}
|
|
@@ -57,6 +57,9 @@ import { TableLayoutProps } from '../../types/GenericTable';
|
|
|
57
57
|
* @param pageTranslation translation for the pagination text 'Page'
|
|
58
58
|
* @param pageOfTranslation translation for the pagination text 'of'
|
|
59
59
|
* @param rowsPerPageTranslation translation for the pagination text 'Rows per page'
|
|
60
|
+
* @param tableActionPosition position of the table actions, can be 'start' or 'end'
|
|
61
|
+
* @param tableElevationLevel elevation level of the table
|
|
62
|
+
* @param tableLayout layout of the table, can be 'standard' or 'flex'
|
|
60
63
|
* @returns a table based on a given type and data
|
|
61
64
|
*/
|
|
62
|
-
export declare const GenericTable: <T>({ data, hiddenColumns, order, cellTemplates, tableActions, noContentText, headerTranslation, pagination, getRowActions, customColumnWidth, title, cardTitleColumn, cardSubTitleColumn, pageTranslation, pageOfTranslation, rowsPerPageTranslation, }: TableLayoutProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
export declare const GenericTable: <T>({ data, hiddenColumns, order, cellTemplates, tableActions, noContentText, headerTranslation, pagination, getRowActions, customColumnWidth, title, cardTitleColumn, cardSubTitleColumn, pageTranslation, pageOfTranslation, rowsPerPageTranslation, tableActionPosition, tableElevationLevel, tableLayout, }: TableLayoutProps<T>) => import("react/jsx-runtime").JSX.Element;
|