tessl install tessl/npm-stencil--core@4.36.0A comprehensive web component compiler that transforms TypeScript and JSX code into standards-compliant web components with complete development toolchain.
Agent Success
Agent success rate when using this tile
75%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.44x
Baseline
Agent success rate without this tile
52%
A web component for displaying user profile information with reactive properties, events, and methods.
user-profile that can be used in HTML @testuserId property that reflects to an attribute and triggers re-render when changed @testdisplayMode property with values "compact" or "detailed" (defaults to "detailed") @testprofileLoaded event when profile data is loaded @testrefresh event on the host element to reload profile data @testloadProfile method that can be called externally to trigger profile loading @testuserId property and automatically calls loadProfile when it changes @test@generates
/**
* UserProfile component displays user profile information.
*
* Component requirements:
* - Custom element tag name: user-profile
* - Uses shadow DOM encapsulation
*
* Properties:
* - userId (string): User ID to display, reflected to HTML attribute
* - displayMode ('compact' | 'detailed'): Display mode, defaults to 'detailed'
*
* Events:
* - profileLoaded: Custom event emitted when profile data loads, with payload {userId: string}
*
* Methods:
* - loadProfile(): Promise<void> - Asynchronously loads profile data for current userId
*
* Behavior:
* - Automatically reloads profile when userId property changes
* - Responds to 'refresh' events fired on the component
* - Maintains internal loading state (not exposed externally)
* - Renders profile information in the specified display mode
*/
export class UserProfile {
userId: string;
displayMode: 'compact' | 'detailed';
async loadProfile(): Promise<void>;
render(): any;
}Provides Web Component compiler with decorators for component development.
@satisfied-by