Skip to content

Commit

Permalink
Merge branch 'main' into rbplatges
Browse files Browse the repository at this point in the history
  • Loading branch information
Gururajj77 authored Dec 11, 2024
2 parents ec24238 + a7db8ec commit 3f7e1a4
Show file tree
Hide file tree
Showing 48 changed files with 1,876 additions and 966 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import '@carbon/web-components/es/components/button/index.js';

// More on how to set up stories at: https://storybook.js.org/docs/web-components/writing-stories/introduction
export default {
title: 'Components/Chat/Card',
title: 'Components/Core/Card',
component: 'clabs-chat-card',
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { html } from 'lit';

// More on how to set up stories at: https://storybook.js.org/docs/web-components/writing-stories/introduction
export default {
title: 'Components/Chat/Carousel',
title: 'Components/Core/Carousel',
};

const carouselExamples = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
import '../chartElement';
import { html } from 'lit';
import complexExamples from './examples2.json';
import otherExamples from './examples3.json';

// More on how to set up stories at: https://storybook.js.org/docs/web-components/writing-stories/introduction
export default {
title: 'Components/Chart',
title: 'Components/Experimental/Chart',
component: 'clabs-chat-chart',
};

Expand Down Expand Up @@ -386,6 +387,26 @@ export const ComplexExamples = {
`,
};

export const FacetingTest = {
/**
* Renders the template for Showcase Storybook
* @returns {TemplateResult<1>}
*/
render: () =>
html`
${otherExamples.map(
(item) =>
html` <h4>${item.name}</h4>
<clabs-chat-chart
container-height="600px"
container-width="800px"
debug-mode
content="${JSON.stringify(item.spec)}">
</clabs-chat-chart>`
)}
`,
};

export const RepeatingLayerCharts = {
/**
* Renders the template for Showcase Storybook
Expand Down
Loading

0 comments on commit 3f7e1a4

Please sign in to comment.