@testgorilla/tgo-ui 11.6.0 → 11.7.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/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +52 -4
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +2 -2
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
- package/mcp/catalog.json +1 -1
- package/package.json +1 -1
- package/types/testgorilla-tgo-ui-components-accordion.d.ts +44 -2
package/package.json
CHANGED
|
@@ -91,21 +91,63 @@ declare class AccordionComponent {
|
|
|
91
91
|
noBackgroundColor: boolean;
|
|
92
92
|
/**
|
|
93
93
|
*
|
|
94
|
-
* Defines the toggle icon position
|
|
94
|
+
* Defines the toggle icon position. `right` keeps the icon at the trailing edge of the
|
|
95
|
+
* header, `left` moves it in front of the label. The `table` variant is the exception:
|
|
96
|
+
* its chevron is part of the row layout and always sits in front of the label.
|
|
95
97
|
*
|
|
96
98
|
* @type {boolean}
|
|
97
99
|
* @memberof AccordionComponent
|
|
98
100
|
*/
|
|
99
101
|
toggleIconPosition: ToggleIconPosition;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* Replaces the default expansion chevron with the given icon, placed according to
|
|
105
|
+
* `toggleIconPosition`.
|
|
106
|
+
*
|
|
107
|
+
* @type {IconName}
|
|
108
|
+
* @memberof AccordionComponent
|
|
109
|
+
*/
|
|
110
|
+
toggleIcon: IconName;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* Icon shown while the accordion is open. Requires `toggleIcon`.
|
|
114
|
+
* When omitted, `toggleIcon` rotates 180° instead of being swapped.
|
|
115
|
+
*
|
|
116
|
+
* @type {IconName}
|
|
117
|
+
* @memberof AccordionComponent
|
|
118
|
+
*/
|
|
119
|
+
toggleIconExpanded: IconName;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* Renders the label in bold. Don`t work on Classic theme
|
|
123
|
+
*
|
|
124
|
+
* @type {boolean}
|
|
125
|
+
* @default false
|
|
126
|
+
* @memberof AccordionComponent
|
|
127
|
+
*/
|
|
128
|
+
boldLabel: boolean;
|
|
100
129
|
closed: EventEmitter<void>;
|
|
101
130
|
opened: EventEmitter<void>;
|
|
102
131
|
constructor(defaultAppTheme: ApplicationTheme);
|
|
132
|
+
protected get isTableVariant(): boolean;
|
|
133
|
+
/** Whether the component renders the toggle icon itself instead of Material's indicator. */
|
|
134
|
+
protected get hasToggleIcon(): boolean;
|
|
135
|
+
/**
|
|
136
|
+
* The `table` variant renders its chevron as part of the row layout, so it stays in front
|
|
137
|
+
* of the label whatever `toggleIconPosition` says — unless a custom icon replaces it.
|
|
138
|
+
*/
|
|
139
|
+
protected get isToggleIconLeading(): boolean;
|
|
140
|
+
protected get hasLeadingToggleIcon(): boolean;
|
|
141
|
+
protected get hasTrailingToggleIcon(): boolean;
|
|
142
|
+
protected get resolvedToggleIcon(): IconName;
|
|
143
|
+
protected get rotatesToggleIcon(): boolean;
|
|
103
144
|
protected toggle(open: boolean): void;
|
|
104
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, [{ optional: true; }]>;
|
|
105
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "ui-accordion", never, { "label": { "alias": "label"; "required": true; }; "open": { "alias": "open"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showPremiumIcon": { "alias": "showPremiumIcon"; "required": false; }; "premiumTooltipText": { "alias": "premiumTooltipText"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "labelIcon": { "alias": "labelIcon"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "allowCustomHeader": { "alias": "allowCustomHeader"; "required": false; }; "noBackgroundColor": { "alias": "noBackgroundColor"; "required": false; }; "toggleIconPosition": { "alias": "toggleIconPosition"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, never, ["[subHeader]", "[customHeader]", "[actions]", "*"], true, never>;
|
|
146
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "ui-accordion", never, { "label": { "alias": "label"; "required": true; }; "open": { "alias": "open"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showPremiumIcon": { "alias": "showPremiumIcon"; "required": false; }; "premiumTooltipText": { "alias": "premiumTooltipText"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "labelIcon": { "alias": "labelIcon"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "allowCustomHeader": { "alias": "allowCustomHeader"; "required": false; }; "noBackgroundColor": { "alias": "noBackgroundColor"; "required": false; }; "toggleIconPosition": { "alias": "toggleIconPosition"; "required": false; }; "toggleIcon": { "alias": "toggleIcon"; "required": false; }; "toggleIconExpanded": { "alias": "toggleIconExpanded"; "required": false; }; "boldLabel": { "alias": "boldLabel"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, never, ["[subHeader]", "[customHeader]", "[actions]", "*"], true, never>;
|
|
106
147
|
static ngAcceptInputType_open: unknown;
|
|
107
148
|
static ngAcceptInputType_disabled: unknown;
|
|
108
149
|
static ngAcceptInputType_showPremiumIcon: unknown;
|
|
150
|
+
static ngAcceptInputType_boldLabel: unknown;
|
|
109
151
|
}
|
|
110
152
|
|
|
111
153
|
declare class AccordionComponentModule {
|