Questions tagged [carbon-components]

9 questions
3
votes
1 answer

How to add a left panel right next to a component using carbon components?

I have a Sveltekit app and for my home route I want to display a table based on carbon components. I want to filter the data displayed in the table by adding a left panel right next to the table. I'm basically looking for their example but I don't…
1
vote
1 answer

How to access the cells display text ( instead of value ) inside a Carbon DataTable?

I have a Sveltekit project using Carbon components. Given an example table based on objects { title: string; priceInEuros: number | null; link: string; } that should display the following Price column, sortable, with german locale Title column with…
1
vote
0 answers

SassError: unidentified variable $carbon--theme--g100;

Im following a tutorial for a portfolio react app, and I'm having trouble with the carbon theme compliling so I can run it. I tried using different themes, such as g90 and g10, but it's still the same error. I also looked into my layout, and there…
maxdj2k
  • 13
  • 6
1
vote
1 answer

How do I prevent stylesheets imported for svelte carbon components to be applied globally?

I want to use the DatePicker from carbon-components-svelte, unfortunately, the styles from carbon-components are applied globally and some of my own styles break. According to carbon-components-svelte documentation "you can reduce the size of the…
1
vote
1 answer

Table is broken when using stickyHeader true (Angular + carbon design)

I'm using datatable from carbon design on my angular 13 app. I'm also using the theme grey90. On the datatable I'm using the expansion, to show more information to the user. Everything works fine when stickyheader is set to false Table with…
Florencia Cames
  • 361
  • 1
  • 9
1
vote
2 answers

Svelte - Carbon component import breaks debugging

I've setup a Svelte and Electron that uses Carbon Components. I have it working for the most part, but I'm stuck at debugging. Here's a sample component I'm using for testing: