You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/__tests__/snapshot-tests/__snapshots__/documenter.test.ts.snap
+109-7Lines changed: 109 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8916,6 +8916,9 @@ It contains the following:
8916
8916
- \`title\` (string) - Specifies the text displayed at the top of the preference.
8917
8917
- \`description\` (string) - Specifies the description displayed below the title.
8918
8918
- \`options\` - Specifies an array of options for reordering and visible content selection.
8919
+
- \`groups\` - (Optional) Specifies an array of column group definitions for multi-level content display. Each group contains:
8920
+
- \`id\` (string) - A unique identifier for the group.
8921
+
- \`label\` (string) - The text displayed as the group label.
8919
8922
- \`enableColumnFiltering\` (boolean) - Adds a columns filter.
8920
8923
- \`liveAnnouncementDndStarted\` ((position: number, total: number) => string) - (Optional) Adds a message to be announced by screen readers when an option is picked.
8921
8924
- \`liveAnnouncementDndDiscarded\` (string) - (Optional) Adds a message to be announced by screen readers when a reordering action is canceled.
@@ -8929,7 +8932,17 @@ Each option contains the following:
8929
8932
- \`label\` (string) - Specifies a short description of the content.
8930
8933
- \`alwaysVisible\` (boolean) - (Optional) Determines whether the visibility is always on and therefore cannot be toggled. This is set to \`false\` by default.
8931
8934
8932
-
You must provide an ordered list of the items to display in the \`preferences.contentDisplay\` property.",
8935
+
You must provide an ordered list of the items to display in the \`preferences.contentDisplay\` property.
8936
+
Each content display item is one of the following:
8937
+
- \`ContentDisplayColumn\` - Represents a single column.
8938
+
- \`type\` ('column') - (Optional) Identifies the entry as a column. Defaults to \`'column'\` when omitted.
8939
+
- \`id\` (string) - The column identifier.
8940
+
- \`visible\` (boolean) - Whether the column is visible.
8941
+
- \`ContentDisplayGroup\` - Represents a column group.
8942
+
- \`type\` ('group') - Identifies the entry as a group.
8943
+
- \`id\` (string) - The group identifier.
8944
+
- \`visible\` (boolean) - Whether the group is visible.
8945
+
- \`children\` (ReadonlyArray<ContentDisplayItem>) - The columns or nested groups within this group.",
0 commit comments