@nubisco/ui 1.60.1 → 1.61.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/components/DataTable.d.ts +15 -0
- package/dist/components/DataTable.vue.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +7 -2
- package/dist/index.mjs.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +1 -1
|
@@ -100,6 +100,21 @@ export interface IDataTableProps<T = Record<string, unknown>> {
|
|
|
100
100
|
stickyHeader?: boolean
|
|
101
101
|
/** Alternating row background (Carbon "zebra"). Default false. */
|
|
102
102
|
zebra?: boolean
|
|
103
|
+
/**
|
|
104
|
+
* Fill the parent's height and scroll internally: the toolbar and `#footer`
|
|
105
|
+
* stay pinned, the header stays sticky, and only the body scrolls. Lets a
|
|
106
|
+
* bounded layout host the table with no table-specific CSS on your side.
|
|
107
|
+
*
|
|
108
|
+
* Requires an ancestor that bounds the height, i.e. a flex column with
|
|
109
|
+
* `min-height: 0`. NbShell's content row (`.nb-shell__content-row`, which is
|
|
110
|
+
* `flex: 1; min-height: 0; overflow: hidden`) already qualifies, so a table
|
|
111
|
+
* placed directly in `#content` works. Any unbounded wrapper in between (a
|
|
112
|
+
* plain `<div>` that grows to fit its content) defeats it, and the page
|
|
113
|
+
* scrolls instead of the body.
|
|
114
|
+
*
|
|
115
|
+
* @default false
|
|
116
|
+
*/
|
|
117
|
+
fill?: boolean
|
|
103
118
|
/** Optional toolbar title. */
|
|
104
119
|
title?: string
|
|
105
120
|
/** Optional toolbar sub-text under the title. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../src/components/DataTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../src/components/DataTable.vue"],"names":[],"mappings":"AAw8BA,OAAO,KAAK,E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