142 questions
0
votes
0
answers
31
views
PrimeNG component is not rendering
Summary
I'm having an issue with component rendering. Having and issue like on the screenshot.
Screenshot 2025-04-04 at 10 45 08
Using library of custom components with PrimeNG.
Many thanks for your ...
6
votes
1
answer
2k
views
Angular 19 and Storybook 8.4.4: Storybook still requires the standalone option
I upgraded my angular UI library to Angular 19 and storybook 8.4.4. At the time being, these are both the latest version. With Angular-cli 19, standalone components become the default choice, where ...
0
votes
0
answers
91
views
Storybook Not working for Nx Angular Library
I'm trying to migrate an angular project with Storybook into Nx. The stage I'm stuck at is migrating the UI components into a shared Nx Library. As a first step, I have successfully moved a single ...
1
vote
0
answers
149
views
Storybook v8 and Angular v18 render function type error (is not assignable to type 'ArgsStoryFn')
I have a set of stories for a component in Storybook 8.3.4 and Angular 18.2.6 that show a type error when the component includes an EventEmitter. For example:
class MyComponent {
@Output() someEvent ...
0
votes
0
answers
139
views
How to override component method from angular storybook
In the component I have a method onExample. I am trying to override the functionality of the onExample method from the storybook. As you can see below, I have tried to add the method as argTypes and ...
0
votes
0
answers
162
views
How to import storybook stories into cypress for component test with angular
I am trying to use storybook with cypress on an angular app for component testing .My need is to create stories for angular components and use them in cypress .In React we can use ComposeStories ...
2
votes
1
answer
224
views
How to run both storybook and cypress in headless mode
I am trying to use storybook and cypress for component testing with Angular framework .I am able to run test cases when storybook server and cypress are running separately but finding difficult to run ...
0
votes
0
answers
36
views
Expose Angular Kendo UI properties automatically in Storybook
I want to do something similar to what has been achieved in this article (https://www.telerik.com/blogs/how-i-built-this-kendoreact-storybook), except using Kendo Angular.
In the article the author ...
0
votes
0
answers
155
views
Is the the expermental zoneless feature of Angular supported in storybook?
I am building a new app in Angular 18 using provideExperimentalZonelessChangeDetection.
is this supported in Storybook 8.1? I keep getting a compile error when I start the server because it si ...
2
votes
2
answers
1k
views
Showcasing PrimeNG Components in Storybook: Anyone Done It? (Style Guide Inspiration)
I'm building a style guide/design system for my Angular project using PrimeNG components. I'd like to leverage Storybook to isolate, document, and showcase these components effectively.
For ...
1
vote
1
answer
55
views
ngClass doesn't work even with static classes
I am working on a library with Angular incorporating StoryBook, I tried to add a class associated with the story "Primary" but it didn't work, so I tried to add it statically and it doesn't ...
1
vote
1
answer
449
views
How to display code usaged in storybook UI?
I have an Angular storybook file for the FooComponent.
In the storybook UI, I can't seem to find the code snippet for <foo />. How can I resolve this?
Is there a configuration to display the ...
0
votes
0
answers
122
views
Can Angular Storybook Providers Dynamically Set Default Language Based on Query String?
I'm utilizing the Storybook-i18n library for internationalization support within Storybook.
Upon changing the language, it also reflects in the URL, like so: locale:en
http://localhost:4400/?path=/...
0
votes
1
answer
205
views
angular ag-grid doesn't work with storybook
I want to create a storybook for my ag-grid component. I have tried the usual way that I follow for other angular components. But this doesn't seem to work.
const meta: Meta<AgGridAngular> ={
...
0
votes
1
answer
292
views
Use scss + tailwind in Angular Storybook
The project is an Angular 15 library which is shown in Storybook 7.6.
I can't find documentation on how it works, and I especially can't get the @config "tailwind.config.js"; inclusion to ...