mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
docs(accordion): use better mock data
This commit is contained in:
parent
d7add290d9
commit
09511cc528
1 changed files with 67 additions and 48 deletions
|
@ -13,28 +13,30 @@ components: ["Accordion", "AccordionItem", "AccordionSkeleton"]
|
||||||
### Default
|
### Default
|
||||||
|
|
||||||
<Accordion>
|
<Accordion>
|
||||||
<AccordionItem title="Title 1">
|
<AccordionItem title="Natural Language Classifier">
|
||||||
Content 1
|
<p>Natural Language Classifier uses advanced natural language processing and machine learning techniques to create custom classification models. Users train their data and the service predicts the appropriate category for the inputted text.
|
||||||
|
</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 2">
|
<AccordionItem title="Natural Language Understanding">
|
||||||
Content 2
|
Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more.
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 3">
|
<AccordionItem title="Language Translator">
|
||||||
Content 3
|
<p>Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
### Chevron aligned left
|
### Chevron aligned left
|
||||||
|
|
||||||
<Accordion align="start">
|
<Accordion align="start">
|
||||||
<AccordionItem title="Title 1">
|
<AccordionItem title="Natural Language Classifier">
|
||||||
Content 1
|
<p>Natural Language Classifier uses advanced natural language processing and machine learning techniques to create custom classification models. Users train their data and the service predicts the appropriate category for the inputted text.
|
||||||
|
</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 2">
|
<AccordionItem title="Natural Language Understanding">
|
||||||
Content 2
|
Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more.
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 3">
|
<AccordionItem title="Language Translator">
|
||||||
Content 3
|
<p>Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
|
@ -42,84 +44,101 @@ components: ["Accordion", "AccordionItem", "AccordionSkeleton"]
|
||||||
|
|
||||||
<Accordion>
|
<Accordion>
|
||||||
<AccordionItem>
|
<AccordionItem>
|
||||||
<h5 slot="title" style="color: red;">Custom title slot</h5>
|
<div slot="title">
|
||||||
Content 1
|
<h5>Natural Language Classifier</h5>
|
||||||
|
<div>AI / Machine Learning</div>
|
||||||
|
</div>
|
||||||
|
<p>Natural Language Classifier uses advanced natural language processing and machine learning techniques to create custom classification models. Users train their data and the service predicts the appropriate category for the inputted text.
|
||||||
|
</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 2">
|
<AccordionItem>
|
||||||
Content 2
|
<div slot="title">
|
||||||
|
<h5>Natural Language Understanding</h5>
|
||||||
|
<div>AI / Machine Learning</div>
|
||||||
|
</div>
|
||||||
|
Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more.
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 3">
|
<AccordionItem>
|
||||||
Content 3
|
<div slot="title">
|
||||||
|
<h5>Language Translator</h5>
|
||||||
|
<div>AI / Machine Learning</div>
|
||||||
|
</div>
|
||||||
|
<p>Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
### First item open
|
### First item open
|
||||||
|
|
||||||
<Accordion>
|
<Accordion>
|
||||||
<AccordionItem title="Title 1" open>
|
<AccordionItem open title="Natural Language Classifier">
|
||||||
Content 1
|
<p>Natural Language Classifier uses advanced natural language processing and machine learning techniques to create custom classification models. Users train their data and the service predicts the appropriate category for the inputted text.
|
||||||
|
</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 2">
|
<AccordionItem title="Natural Language Understanding">
|
||||||
Content 2
|
Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more.
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 3">
|
<AccordionItem title="Language Translator">
|
||||||
Content 3
|
<p>Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
### Extra-large size
|
### Extra-large size
|
||||||
|
|
||||||
<Accordion size="xl">
|
<Accordion size="xl">
|
||||||
<AccordionItem title="Title 1">
|
<AccordionItem title="Natural Language Classifier">
|
||||||
Content 1
|
<p>Natural Language Classifier uses advanced natural language processing and machine learning techniques to create custom classification models. Users train their data and the service predicts the appropriate category for the inputted text.
|
||||||
|
</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 2">
|
<AccordionItem title="Natural Language Understanding">
|
||||||
Content 2
|
Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more.
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 3">
|
<AccordionItem title="Language Translator">
|
||||||
Content 3
|
<p>Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
### Small size
|
### Small size
|
||||||
|
|
||||||
<Accordion size="sm">
|
<Accordion size="sm">
|
||||||
<AccordionItem title="Title 1">
|
<AccordionItem title="Natural Language Classifier">
|
||||||
Content 1
|
<p>Natural Language Classifier uses advanced natural language processing and machine learning techniques to create custom classification models. Users train their data and the service predicts the appropriate category for the inputted text.
|
||||||
|
</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 2">
|
<AccordionItem title="Natural Language Understanding">
|
||||||
Content 2
|
Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more.
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 3">
|
<AccordionItem title="Language Translator">
|
||||||
Content 3
|
<p>Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
### Disabled
|
### Disabled
|
||||||
|
|
||||||
<Accordion disabled>
|
<Accordion disabled>
|
||||||
<AccordionItem title="Title 1">
|
<AccordionItem title="Natural Language Classifier">
|
||||||
Content 1
|
<p>Natural Language Classifier uses advanced natural language processing and machine learning techniques to create custom classification models. Users train their data and the service predicts the appropriate category for the inputted text.
|
||||||
|
</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 2">
|
<AccordionItem title="Natural Language Understanding">
|
||||||
Content 2
|
Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more.
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 3">
|
<AccordionItem title="Language Translator">
|
||||||
Content 3
|
<p>Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
### Disabled (item)
|
### Disabled (item)
|
||||||
|
|
||||||
<Accordion>
|
<Accordion>
|
||||||
<AccordionItem disabled title="Title 1">
|
<AccordionItem disabled title="Natural Language Classifier">
|
||||||
Content 1
|
<p>Natural Language Classifier uses advanced natural language processing and machine learning techniques to create custom classification models. Users train their data and the service predicts the appropriate category for the inputted text.
|
||||||
|
</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 2">
|
<AccordionItem title="Natural Language Understanding">
|
||||||
Content 2
|
Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more.
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
<AccordionItem title="Title 3">
|
<AccordionItem title="Language Translator">
|
||||||
Content 3
|
<p>Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.</p>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue