@thalassic/ui 22.17.4 → 22.17.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thalassic/ui",
3
- "version": "22.17.4",
3
+ "version": "22.17.6",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/aria": "^22.0.0",
@@ -1603,11 +1603,27 @@ interface FormItemConfig {
1603
1603
  declare const DEFAULT_FORM_ITEM_CONFIG: FormItemConfig;
1604
1604
 
1605
1605
  type labelPosition = 'top' | 'start' | 'end';
1606
+ /** Context handed to a custom label template, rendered inside the form item's own `<label>`. */
1607
+ interface FormItemLabelContext {
1608
+ /** Label text of the item, `undefined` when only a template supplies the label. */
1609
+ $implicit: string | undefined;
1610
+ /** Whether the control is required and the required marker is enabled. */
1611
+ required: boolean;
1612
+ /** Optional-field text to render, `undefined` when the control is required or the text is unset. */
1613
+ optionalText: string | undefined;
1614
+ /** Whether the control is currently showing a validation error. */
1615
+ invalid: boolean;
1616
+ }
1606
1617
 
1607
1618
  declare class FormItem {
1608
1619
  private static _counter;
1609
1620
  private _config;
1610
1621
  protected control: Signal<FormControl | undefined>;
1622
+ /**
1623
+ * Content of the label, rendered inside the item's own `<label>` element so the `for` /
1624
+ * `aria-labelledby` wiring is kept. Replaces the label text and the required / optional markers.
1625
+ */
1626
+ protected readonly labelTemplate: Signal<TemplateRef<FormItemLabelContext> | undefined>;
1611
1627
  /** Stable id for the label element, linked to the control via `aria-labelledby`. */
1612
1628
  protected readonly labelId: string;
1613
1629
  /** Stable id assigned to the native control element, linked from the label via `for`. */
@@ -1633,6 +1649,9 @@ declare class FormItem {
1633
1649
  protected isInvalid: Signal<boolean>;
1634
1650
  protected showRequired: Signal<boolean>;
1635
1651
  protected showOptional: Signal<boolean>;
1652
+ /** Whether a label is rendered, from either the `label` input or a custom label template. */
1653
+ protected hasLabel: Signal<boolean>;
1654
+ protected labelContext: Signal<FormItemLabelContext>;
1636
1655
  protected labelFor: Signal<string | null>;
1637
1656
  protected hostClasses: Signal<string[]>;
1638
1657
  protected errorMessages: Signal<string[]>;
@@ -1640,7 +1659,7 @@ declare class FormItem {
1640
1659
  constructor();
1641
1660
  private _getErrorMessages;
1642
1661
  static ɵfac: i0.ɵɵFactoryDeclaration<FormItem, never>;
1643
- static ɵcmp: i0.ɵɵComponentDeclaration<FormItem, "tls-form-item", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "spread": { "alias": "spread"; "required": false; "isSignal": true; }; "reserveErrorSpace": { "alias": "reserveErrorSpace"; "required": false; "isSignal": true; }; "reserveLabelSpace": { "alias": "reserveLabelSpace"; "required": false; "isSignal": true; }; "displayErrors": { "alias": "displayErrors"; "required": false; "isSignal": true; }; "showRequiredMarker": { "alias": "showRequiredMarker"; "required": false; "isSignal": true; }; "optionalText": { "alias": "optionalText"; "required": false; "isSignal": true; }; }, {}, ["control"], ["*"], true, never>;
1662
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormItem, "tls-form-item", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "spread": { "alias": "spread"; "required": false; "isSignal": true; }; "reserveErrorSpace": { "alias": "reserveErrorSpace"; "required": false; "isSignal": true; }; "reserveLabelSpace": { "alias": "reserveLabelSpace"; "required": false; "isSignal": true; }; "displayErrors": { "alias": "displayErrors"; "required": false; "isSignal": true; }; "showRequiredMarker": { "alias": "showRequiredMarker"; "required": false; "isSignal": true; }; "optionalText": { "alias": "optionalText"; "required": false; "isSignal": true; }; }, {}, ["control", "labelTemplate"], ["*"], true, never>;
1644
1663
  }
1645
1664
 
1646
1665
  declare const FORM_ITEM_CONFIG: InjectionToken<FormItemConfig>;
@@ -2723,14 +2742,34 @@ declare class MenuItemComponent {
2723
2742
 
2724
2743
  type menuPosition = overlayPosition;
2725
2744
  type menuItemType = 'item' | 'label' | 'divider' | 'custom';
2745
+ type menuItemRole = 'menuitem' | 'menuitemradio' | 'menuitemcheckbox';
2726
2746
  interface BaseMenuItem {
2727
2747
  type: menuItemType;
2728
2748
  }
2729
2749
  interface MenuActionItem extends BaseMenuItem {
2730
2750
  type: 'item';
2731
2751
  label: string;
2752
+ /** Secondary line rendered under the label, exposed to assistive tech via `aria-describedby`. */
2753
+ description?: string;
2732
2754
  icon?: string;
2733
- shortcut?: string;
2755
+ /** Keyboard shortcut, one entry per key — each renders as its own keycap (e.g. ['⌘', 'C']). */
2756
+ shortcut?: string[];
2757
+ /**
2758
+ * ARIA role of the item. Defaults to `menuitem`. A `menuitemradio` / `menuitemcheckbox` item
2759
+ * renders a leading check indicator driven by `checked`; the consumer owns the checked state
2760
+ * (including radio-group exclusivity) and re-passes it through `items`.
2761
+ */
2762
+ role?: menuItemRole;
2763
+ /** Checked state of a `menuitemradio` / `menuitemcheckbox` item. Ignored for plain items. */
2764
+ checked?: boolean;
2765
+ /** Whether selecting the item closes the menu. Defaults to `true`. */
2766
+ closeOnSelect?: boolean;
2767
+ /**
2768
+ * Key of a `<tls-menu-item>` slot whose content replaces this item's default content
2769
+ * (check indicator, icon, label, shortcut). The menu still renders the interactive
2770
+ * wrapper with its ARIA and keyboard wiring. Takes precedence over `#itemTemplate`.
2771
+ */
2772
+ templateKey?: string;
2734
2773
  disabled?: boolean;
2735
2774
  data?: unknown;
2736
2775
  action?: () => void;
@@ -2750,6 +2789,27 @@ interface MenuCustomItem {
2750
2789
  key: string;
2751
2790
  }
2752
2791
  type MenuItemDefinition = MenuActionItem | MenuDivider | MenuLabel | MenuCustomItem;
2792
+ /** A non-label item paired with its index in the source `items` array (the index keys per-item element ids). */
2793
+ interface MenuRenderEntry {
2794
+ item: Exclude<MenuItemDefinition, MenuLabel>;
2795
+ index: number;
2796
+ }
2797
+ /**
2798
+ * A `label` item together with the run of items it introduces — everything up to
2799
+ * the next label or divider. Rendered as a `role="group"` container named after
2800
+ * the label, so assistive tech announces the section an item belongs to.
2801
+ */
2802
+ interface MenuRenderGroup {
2803
+ kind: 'group';
2804
+ label: MenuLabel;
2805
+ entries: MenuRenderEntry[];
2806
+ }
2807
+ /** An item outside any labeled section, rendered directly in the menu. */
2808
+ interface MenuRenderSingle {
2809
+ kind: 'single';
2810
+ entry: MenuRenderEntry;
2811
+ }
2812
+ type MenuRenderBlock = MenuRenderGroup | MenuRenderSingle;
2753
2813
 
2754
2814
  declare class Menu {
2755
2815
  private static _counter;
@@ -2758,6 +2818,7 @@ declare class Menu {
2758
2818
  private readonly _panelRef;
2759
2819
  protected readonly _customItems: i0.Signal<readonly MenuItemComponent[]>;
2760
2820
  protected readonly customTemplates: i0.Signal<Map<string, TemplateRef<unknown>>>;
2821
+ /** Content of every action item, rendered inside the menu-managed interactive wrapper. */
2761
2822
  protected readonly itemTemplate: i0.Signal<TemplateRef<unknown> | undefined>;
2762
2823
  protected readonly labelTemplate: i0.Signal<TemplateRef<unknown> | undefined>;
2763
2824
  protected readonly dividerTemplate: i0.Signal<TemplateRef<unknown> | undefined>;
@@ -2769,6 +2830,7 @@ declare class Menu {
2769
2830
  readonly ariaLabel: InputSignal<string | undefined>;
2770
2831
  readonly inline: InputSignalWithTransform<boolean, unknown>;
2771
2832
  private readonly _positions;
2833
+ protected readonly blocks: i0.Signal<MenuRenderBlock[]>;
2772
2834
  readonly isOpen: i0.Signal<boolean>;
2773
2835
  constructor();
2774
2836
  open(trigger: MouseEvent | HTMLElement): void;
@@ -2776,6 +2838,14 @@ declare class Menu {
2776
2838
  close(): void;
2777
2839
  toggle(trigger: MouseEvent | HTMLElement): void;
2778
2840
  protected onItemClick(item: MenuActionItem): void;
2841
+ /** Whether the item carries a checked state (`menuitemradio` / `menuitemcheckbox`). */
2842
+ protected isCheckable(item: MenuActionItem): boolean;
2843
+ /** Id of the item's label element, referenced by `aria-labelledby`. */
2844
+ protected itemLabelId(index: number): string;
2845
+ /** Id of the item's description element, referenced by `aria-describedby`. */
2846
+ protected itemDescriptionId(index: number): string;
2847
+ /** Content template for the item: its keyed slot first, the shared `#itemTemplate` otherwise. */
2848
+ protected itemContentTemplate(item: MenuActionItem): TemplateRef<unknown> | undefined;
2779
2849
  static ɵfac: i0.ɵɵFactoryDeclaration<Menu, never>;
2780
2850
  static ɵcmp: i0.ɵɵComponentDeclaration<Menu, "tls-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; }, {}, ["_customItems", "itemTemplate", "labelTemplate", "dividerTemplate", "iconTemplate"], never, true, never>;
2781
2851
  }
@@ -4277,4 +4347,4 @@ declare abstract class QuerySyncDirective {
4277
4347
  declare const provideThalassicUIConfig: (config?: tlsUiConfigProvider) => EnvironmentProviders;
4278
4348
 
4279
4349
  export { ACTIVITY_HEATMAP_CONFIG, ALERT_CONFIG, AUTOCOMPLETE_CONFIG, ActivityHeatmap, Alert, Autocomplete, BADGE_CONFIG, BREADCRUMBS_CONFIG, BUTTON_CONFIG, Badge, Breadcrumbs, Button, ButtonDirective, CALENDAR_CONFIG, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, CONFIRM_CONFIG, Calendar, CalendarAgendaView, CalendarEventItem, CalendarMonthView, CalendarTimeGrid, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, Confirm, ConfirmPanel, ConfirmService, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ACTIVITY_HEATMAP_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_AUTOCOMPLETE_CONFIG, DEFAULT_BADGE_CONFIG, DEFAULT_BREADCRUMBS_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CALENDAR_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_GROUP_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_CONFIRM_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_DRAWER_CONFIG, DEFAULT_FILE_INPUT_CONFIG, DEFAULT_FORM_CONTROL_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_HIGHLIGHT_CONFIG, DEFAULT_ICONS, DEFAULT_ICON_CONFIG, DEFAULT_IMAGE_COMPARE_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_KBD_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MARK_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_ODOMETER_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PAGINATION_QUERY_SYNC_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_PROGRESS_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_RATING_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SLIDER_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEPPER_LABELS, DEFAULT_STEP_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TABS_QUERY_SYNC_CONFIG, DEFAULT_TAB_NAV_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOAST_CONFIG, DEFAULT_TOGGLE_BUTTON_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DEFAULT_TOOLTIP_CONTENT_ATTRIBUTE, DEFAULT_VIRTUAL_SCROLL_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DateTimePicker, Dialog, DialogBody, DialogFooter, DialogHeader, DialogRef, DialogService, DialogTitleDirective, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, HIGHLIGHT_CONFIG, Highlight, ICON_CONFIG, ICON_REGISTRY, IMAGE_COMPARE_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, IconRegistry, IconService, ImageCompare, Input, InputDirective, InputNumber, KBD_CONFIG, Kbd, LOADER_CONFIG, Loader, MARK_CONFIG, MASK_TOKENS, MENU_CONFIG, MULTI_SELECT_CONFIG, Mark, MaskDirective, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, PROGRESS_CONFIG, Pagination, PaginationQuerySyncDirective, Password, PinInput, Popover, Progress, RADIO_BUTTON_CONFIG, RATING_CONFIG, RadioButton, Rating, SELECT_CONFIG, SKELETON_CONFIG, SLIDER_CONFIG, SPLITTER_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Slider, Splitter, SplitterPanel, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TAB_NAV_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_BUTTON_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, TabLinkDirective, TabNavDirective, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastOutlet, ToastService, ToggleButton, ToggleGroup, TooltipDelegateDirective, TooltipDirective, TooltipTrigger, VIRTUAL_SCROLL_CONFIG, ValueFormControl, VirtualScroll, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, provideThalassicIcons, provideThalassicUIConfig, resolveActivityLevel };
4280
- export type { ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarLabels, CalendarRange, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOpenConfig, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, HighlightConfig, HighlightSegment, IconConfig, ImageCompareConfig, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MultiSelectConfig, OdometerConfig, OdometerToken, OverlayArrowPosition, PaginationConfig, PaginationLabels, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, ProgressConfig, RadioButtonConfig, RatingConfig, RatingLabels, RatingStarContext, SelectConfig, SkeletonConfig, SliderConfig, SplitterConfig, StepConfig, StepperConfig, StepperLabels, StepperSelectEvent, SwitchConfig, TabNavConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleButtonConfig, ToggleGroupConfig, TooltipConfig, TrackBy, VirtualScrollConfig, VirtualScrollContext, acceptInput, alertColor, autocompleteFilterMode, badgeColor, badgePosition, badgeVariant, buttonColor, buttonType, buttonVariant, calendarCompact, calendarView, chipColor, chipSize, chipTemplateContext, chipVariant, color, confirmActionsAlign, confirmButton, confirmSize, controlSize, dateTimePickerMode, dialogFooterAlign, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerSide, drawerSize, errorTrigger, fileInputDragState, fileInputVariant, iconRegistry, iconRenderer, imageCompareOrientation, labelPosition, loaderSize, menuItemType, menuPosition, orientation, overlayArrowAlignment, overlayArrowSide, overlayPosition, paginationItem, pinInputType, progressActiveSegment, progressColor, radius, radiusValue, ratingColor, resolvedConfirmButton, size, sliderColor, splitterOrientation, stepperColor, stepperLabelPosition, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tableColumnCollapse, tabsHeaderAlign, tabsHeaderPosition, tabsItemsAlign, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleButtonColor, toggleButtonVariant, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition };
4350
+ export type { ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarLabels, CalendarRange, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOpenConfig, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, FormItemLabelContext, HighlightConfig, HighlightSegment, IconConfig, ImageCompareConfig, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MenuRenderBlock, MenuRenderEntry, MenuRenderGroup, MenuRenderSingle, MultiSelectConfig, OdometerConfig, OdometerToken, OverlayArrowPosition, PaginationConfig, PaginationLabels, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, ProgressConfig, RadioButtonConfig, RatingConfig, RatingLabels, RatingStarContext, SelectConfig, SkeletonConfig, SliderConfig, SplitterConfig, StepConfig, StepperConfig, StepperLabels, StepperSelectEvent, SwitchConfig, TabNavConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleButtonConfig, ToggleGroupConfig, TooltipConfig, TrackBy, VirtualScrollConfig, VirtualScrollContext, acceptInput, alertColor, autocompleteFilterMode, badgeColor, badgePosition, badgeVariant, buttonColor, buttonType, buttonVariant, calendarCompact, calendarView, chipColor, chipSize, chipTemplateContext, chipVariant, color, confirmActionsAlign, confirmButton, confirmSize, controlSize, dateTimePickerMode, dialogFooterAlign, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerSide, drawerSize, errorTrigger, fileInputDragState, fileInputVariant, iconRegistry, iconRenderer, imageCompareOrientation, labelPosition, loaderSize, menuItemRole, menuItemType, menuPosition, orientation, overlayArrowAlignment, overlayArrowSide, overlayPosition, paginationItem, pinInputType, progressActiveSegment, progressColor, radius, radiusValue, ratingColor, resolvedConfirmButton, size, sliderColor, splitterOrientation, stepperColor, stepperLabelPosition, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tableColumnCollapse, tabsHeaderAlign, tabsHeaderPosition, tabsItemsAlign, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleButtonColor, toggleButtonVariant, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition };