@toolbox-web/grid 2.8.1 → 2.9.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/index.js +1 -1
- package/index.js.map +1 -1
- package/lib/core/internal/dom-builder.d.ts +8 -0
- package/lib/core/types.d.ts +14 -0
- package/lib/plugins/clipboard/index.js.map +1 -1
- package/lib/plugins/column-virtualization/index.js.map +1 -1
- package/lib/plugins/context-menu/index.js.map +1 -1
- package/lib/plugins/editing/index.js.map +1 -1
- package/lib/plugins/export/index.js.map +1 -1
- package/lib/plugins/filtering/index.js.map +1 -1
- package/lib/plugins/grouping-columns/index.js.map +1 -1
- package/lib/plugins/grouping-rows/index.js.map +1 -1
- package/lib/plugins/master-detail/index.js.map +1 -1
- package/lib/plugins/multi-sort/index.js.map +1 -1
- package/lib/plugins/pinned-columns/index.js.map +1 -1
- package/lib/plugins/pinned-rows/index.js.map +1 -1
- package/lib/plugins/pivot/index.js.map +1 -1
- package/lib/plugins/print/index.js.map +1 -1
- package/lib/plugins/reorder-columns/index.js.map +1 -1
- package/lib/plugins/reorder-rows/index.js.map +1 -1
- package/lib/plugins/responsive/index.js.map +1 -1
- package/lib/plugins/row-drag-drop/index.js.map +1 -1
- package/lib/plugins/selection/index.js.map +1 -1
- package/lib/plugins/server-side/index.js.map +1 -1
- package/lib/plugins/sticky-rows/index.js.map +1 -1
- package/lib/plugins/tooltip/index.js.map +1 -1
- package/lib/plugins/tree/index.js.map +1 -1
- package/lib/plugins/undo-redo/index.js.map +1 -1
- package/lib/plugins/visibility/index.js.map +1 -1
- package/package.json +1 -1
- package/umd/grid.all.umd.js +1 -1
- package/umd/grid.all.umd.js.map +1 -1
- package/umd/grid.umd.js +1 -1
- package/umd/grid.umd.js.map +1 -1
|
@@ -42,6 +42,14 @@ export interface ShellHeaderOptions {
|
|
|
42
42
|
hasPanels: boolean;
|
|
43
43
|
isPanelOpen: boolean;
|
|
44
44
|
toolPanelIcon?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Whether to render the built-in tool panel toggle button and the
|
|
47
|
+
* adjacent separator. Independent of `hasPanels` so panels can remain
|
|
48
|
+
* registered (and openable via the public API) while the consumer
|
|
49
|
+
* supplies their own toggle button.
|
|
50
|
+
* @default true when hasPanels is true
|
|
51
|
+
*/
|
|
52
|
+
showToggle?: boolean;
|
|
45
53
|
/** Config toolbar contents with render function (pre-sorted by order) */
|
|
46
54
|
configButtons: Array<{
|
|
47
55
|
id: string;
|
package/lib/core/types.d.ts
CHANGED
|
@@ -3309,6 +3309,20 @@ export interface ShellHeaderConfig {
|
|
|
3309
3309
|
title?: string;
|
|
3310
3310
|
/** Custom toolbar content (rendered before tool panel toggle) */
|
|
3311
3311
|
toolbarContents?: ToolbarContentDefinition[];
|
|
3312
|
+
/**
|
|
3313
|
+
* Whether the grid renders its built-in tool panel toggle button
|
|
3314
|
+
* (`button.tbw-toolbar-btn[data-panel-toggle]`) and the auto-inserted
|
|
3315
|
+
* `.tbw-toolbar-separator` between custom toolbar contents and the toggle.
|
|
3316
|
+
*
|
|
3317
|
+
* Set to `false` when you want to provide your own toggle button (e.g. a
|
|
3318
|
+
* design-system button styled to match your application). Wire your button
|
|
3319
|
+
* to call {@link Grid.toggleToolPanel} (or `toggleToolPanelSection(id)` for
|
|
3320
|
+
* a specific section). All tool panels remain functional; only the
|
|
3321
|
+
* built-in toggle button and adjacent separator are suppressed.
|
|
3322
|
+
*
|
|
3323
|
+
* @default true
|
|
3324
|
+
*/
|
|
3325
|
+
toolPanelToggle?: boolean;
|
|
3312
3326
|
/**
|
|
3313
3327
|
* Light DOM header content elements (parsed from <tbw-grid-header> children).
|
|
3314
3328
|
* @internal Set by ConfigManager during merge
|