mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
feat(accordion)!: integrate Accordion
with v11 (#1947)
This commit is contained in:
parent
e8b9472acd
commit
0e8909ae59
10 changed files with 261 additions and 456 deletions
|
@ -1,188 +1,8 @@
|
|||
<script lang="ts">
|
||||
import { Accordion, AccordionItem } from "../types";
|
||||
import { Accordion, AccordionItem, AccordionSkeleton } from "../types";
|
||||
</script>
|
||||
|
||||
<Accordion>
|
||||
<AccordionItem title="Natural Language Classifier">
|
||||
<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 title="Natural Language Understanding">
|
||||
<p>
|
||||
Analyze text to extract meta-data from content such as concepts, entities,
|
||||
emotion, relations, sentiment and more.
|
||||
</p>
|
||||
</AccordionItem>
|
||||
<AccordionItem title="Language Translator">
|
||||
<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>
|
||||
</Accordion>
|
||||
|
||||
<Accordion align="start">
|
||||
<AccordionItem title="Natural Language Classifier">
|
||||
<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 title="Natural Language Understanding">
|
||||
<p>
|
||||
Analyze text to extract meta-data from content such as concepts, entities,
|
||||
emotion, relations, sentiment and more.
|
||||
</p>
|
||||
</AccordionItem>
|
||||
<AccordionItem title="Language Translator">
|
||||
<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>
|
||||
</Accordion>
|
||||
|
||||
<Accordion>
|
||||
<AccordionItem>
|
||||
<div slot="title">
|
||||
<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>
|
||||
<div slot="title">
|
||||
<h5>Natural Language Understanding</h5>
|
||||
<div>AI / Machine Learning</div>
|
||||
</div>
|
||||
<p>
|
||||
Analyze text to extract meta-data from content such as concepts, entities,
|
||||
emotion, relations, sentiment and more.
|
||||
</p>
|
||||
</AccordionItem>
|
||||
<AccordionItem>
|
||||
<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>
|
||||
</Accordion>
|
||||
|
||||
<Accordion>
|
||||
<AccordionItem open title="Natural Language Classifier">
|
||||
<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 title="Natural Language Understanding">
|
||||
<p>
|
||||
Analyze text to extract meta-data from content such as concepts, entities,
|
||||
emotion, relations, sentiment and more.
|
||||
</p>
|
||||
</AccordionItem>
|
||||
<AccordionItem title="Language Translator">
|
||||
<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>
|
||||
</Accordion>
|
||||
|
||||
<Accordion size="lg">
|
||||
<AccordionItem title="Natural Language Classifier">
|
||||
<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 title="Natural Language Understanding">
|
||||
<p>
|
||||
Analyze text to extract meta-data from content such as concepts, entities,
|
||||
emotion, relations, sentiment and more.
|
||||
</p>
|
||||
</AccordionItem>
|
||||
<AccordionItem title="Language Translator">
|
||||
<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>
|
||||
</Accordion>
|
||||
|
||||
<Accordion size="sm">
|
||||
<AccordionItem title="Natural Language Classifier">
|
||||
<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 title="Natural Language Understanding">
|
||||
<p>
|
||||
Analyze text to extract meta-data from content such as concepts, entities,
|
||||
emotion, relations, sentiment and more.
|
||||
</p>
|
||||
</AccordionItem>
|
||||
<AccordionItem title="Language Translator">
|
||||
<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>
|
||||
</Accordion>
|
||||
|
||||
<Accordion disabled>
|
||||
<AccordionItem title="Natural Language Classifier">
|
||||
<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 title="Natural Language Understanding">
|
||||
<p>
|
||||
Analyze text to extract meta-data from content such as concepts, entities,
|
||||
emotion, relations, sentiment and more.
|
||||
</p>
|
||||
</AccordionItem>
|
||||
<AccordionItem title="Language Translator">
|
||||
<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>
|
||||
</Accordion>
|
||||
|
||||
<Accordion>
|
||||
<Accordion size="lg" flush align="end">
|
||||
<AccordionItem disabled title="Natural Language Classifier">
|
||||
<p>
|
||||
Natural Language Classifier uses advanced natural language processing and
|
||||
|
@ -192,10 +12,10 @@
|
|||
</p>
|
||||
</AccordionItem>
|
||||
<AccordionItem title="Natural Language Understanding">
|
||||
<p>
|
||||
Analyze text to extract meta-data from content such as concepts, entities,
|
||||
emotion, relations, sentiment and more.
|
||||
</p>
|
||||
<svelte:fragment slot="title">
|
||||
<h6>Natural Language Understanding</h6>
|
||||
<div>AI / Machine Learning</div>
|
||||
</svelte:fragment>
|
||||
</AccordionItem>
|
||||
<AccordionItem title="Language Translator">
|
||||
<p>
|
||||
|
@ -206,14 +26,6 @@
|
|||
</AccordionItem>
|
||||
</Accordion>
|
||||
|
||||
<Accordion skeleton />
|
||||
|
||||
<Accordion skeleton align="start" />
|
||||
|
||||
<Accordion skeleton count="{3}" />
|
||||
|
||||
<Accordion skeleton open="{false}" />
|
||||
|
||||
<Accordion skeleton size="lg" />
|
||||
|
||||
<Accordion skeleton size="sm" />
|
||||
<AccordionSkeleton align="start" count="{3}" open size="lg"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue