@foris/avocado-suite 1.8.26 → 1.10.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/dist/avocado-suite.es.js +9711 -9587
- package/dist/avocado-suite.umd.js +148 -148
- package/dist/components/header-navigation/HeaderNavigation.d.ts +40 -0
- package/dist/components/header-navigation/HeaderNavigation.test.d.ts +0 -0
- package/dist/components/header-navigation/index.d.ts +2 -0
- package/dist/components/menu/Menu.d.ts +2 -0
- package/dist/components/pager/pager.types.d.ts +8 -3
- package/dist/components/table/components/table-desktop/TableDesktop.test.d.ts +0 -0
- package/dist/components/table/components/table-desktop-head/TableDesktopHead.d.ts +2 -1
- package/dist/index.d.ts +3 -1
- package/dist/style.css +1 -1
- package/dist/types/table.types.d.ts +12 -0
- package/package.json +2 -2
|
@@ -197,4 +197,16 @@ export interface TableProps {
|
|
|
197
197
|
* @param newSort - The new sorting configuration.
|
|
198
198
|
*/
|
|
199
199
|
onSortChange?: (newSort: TableSort) => void;
|
|
200
|
+
/**
|
|
201
|
+
* Constrains the desktop scroll container height (e.g. `"400px"`, `"60vh"`).
|
|
202
|
+
* Ignored on mobile where the table renders as cards.
|
|
203
|
+
*/
|
|
204
|
+
maxHeight?: string | number;
|
|
205
|
+
/**
|
|
206
|
+
* When true, keeps the desktop table header visible while scrolling inside
|
|
207
|
+
* the scroll container. Requires a bounded height (`maxHeight` or a
|
|
208
|
+
* constrained parent). Ignored on mobile.
|
|
209
|
+
* @default false
|
|
210
|
+
*/
|
|
211
|
+
stickyHeader?: boolean;
|
|
200
212
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foris/avocado-suite",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"react-toastify": "9.0.3",
|
|
36
36
|
"remark-gfm": "4.0.1",
|
|
37
37
|
"zustand": "4.5.4",
|
|
38
|
-
"@foris/avocado-core": "1.3.
|
|
38
|
+
"@foris/avocado-core": "1.3.3",
|
|
39
39
|
"@foris/avocado-icons": "1.17.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|