diff --git a/docs/src/components/Preview.svelte b/docs/src/components/Preview.svelte index fda63086..f608f59f 100644 --- a/docs/src/components/Preview.svelte +++ b/docs/src/components/Preview.svelte @@ -62,6 +62,10 @@ color: #3ddbd9; /* teal 30 */ } + .token.function { + color: #9ef0f0; + } + .token.token.language-javascript, .token.attr-value { color: #d4bbff; /* purple 30 */ diff --git a/docs/src/pages/components/Accordion.svx b/docs/src/pages/components/Accordion.svx index bcf9340d..9a653bd9 100644 --- a/docs/src/pages/components/Accordion.svx +++ b/docs/src/pages/components/Accordion.svx @@ -13,28 +13,30 @@ components: ["Accordion", "AccordionItem", "AccordionSkeleton"] ### Default - - Content 1 + +

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. +

- - Content 2 + + Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more. - - Content 3 + +

Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.

### Chevron aligned left - - Content 1 + +

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. +

- - Content 2 + + Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more. - - Content 3 + +

Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.

@@ -42,84 +44,101 @@ components: ["Accordion", "AccordionItem", "AccordionSkeleton"] -
Custom title slot
- Content 1 +
+
Natural Language Classifier
+
AI / Machine Learning
+
+

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. +

- - Content 2 + +
+
Natural Language Understanding
+
AI / Machine Learning
+
+ Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more.
- - Content 3 + +
+
Language Translator
+
AI / Machine Learning
+
+

Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.

### First item open - - Content 1 + +

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. +

- - Content 2 + + Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more. - - Content 3 + +

Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.

### Extra-large size - - Content 1 + +

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. +

- - Content 2 + + Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more. - - Content 3 + +

Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.

### Small size - - Content 1 + +

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. +

- - Content 2 + + Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more. - - Content 3 + +

Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.

### Disabled - - Content 1 + +

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. +

- - Content 2 + + Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more. - - Content 3 + +

Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.

### Disabled (item) - - Content 1 + +

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. +

- - Content 2 + + Analyze text to extract meta-data from content such as concepts, entities, emotion, relations, sentiment and more. - - Content 3 + +

Translate text, documents, and websites from one language to another. Create industry or region-specific translations via the service's customization capability.

diff --git a/docs/src/pages/components/Breadcrumb.svx b/docs/src/pages/components/Breadcrumb.svx index c642eca6..d6d3c17b 100644 --- a/docs/src/pages/components/Breadcrumb.svx +++ b/docs/src/pages/components/Breadcrumb.svx @@ -10,6 +10,8 @@ components: ["Breadcrumb", "BreadcrumbItem"] import Preview from "../../components/Preview.svelte"; +See the [Breadcrumbs recipe](/recipes/Breadcrumbs) for building a reusable breadcrumbs component. + ### Default diff --git a/docs/src/pages/components/CodeSnippet.svx b/docs/src/pages/components/CodeSnippet.svx index 7b6c8252..0eaffda1 100644 --- a/docs/src/pages/components/CodeSnippet.svx +++ b/docs/src/pages/components/CodeSnippet.svx @@ -45,12 +45,18 @@ let comment = ` -### Wrap text +### Wrapped text -Note that `wrapText` only applies to the `"multi"` type. +`wrapText` only applies to the `"multi"` type. ### Skeleton - \ No newline at end of file +The default skeleton type is `"single"`. + + + +### Skeleton (multi-line) + + \ No newline at end of file diff --git a/docs/src/pages/components/ContentSwitcher.svx b/docs/src/pages/components/ContentSwitcher.svx index 0b6a5e50..3dc212f8 100644 --- a/docs/src/pages/components/ContentSwitcher.svx +++ b/docs/src/pages/components/ContentSwitcher.svx @@ -4,24 +4,31 @@ components: ["ContentSwitcher", "Switch"] ### Default - - - + + + + +### Initial selected index + + + + + ### Light variant - - - + + ### Custom switch slot @@ -29,31 +36,33 @@ components: ["ContentSwitcher", "Switch"]
- Third section -
+ Latest news + +
+ +
+ Trending +
-
### Extra-large size - - - + + ### Small size - - - + + ### Disabled - - + + \ No newline at end of file diff --git a/docs/src/pages/components/InlineLoading.svx b/docs/src/pages/components/InlineLoading.svx index e4dbe5d4..d4066455 100644 --- a/docs/src/pages/components/InlineLoading.svx +++ b/docs/src/pages/components/InlineLoading.svx @@ -13,7 +13,11 @@ ### Status states - - - - \ No newline at end of file + + + + + +### UX example + + \ No newline at end of file diff --git a/docs/src/pages/components/Search.svx b/docs/src/pages/components/Search.svx index 8a10cf35..b155abce 100644 --- a/docs/src/pages/components/Search.svx +++ b/docs/src/pages/components/Search.svx @@ -5,6 +5,8 @@ ### Default +The `Search` component is extra-large by default. There are [large](#large-size) and [small](#small-size) size variants. + ### Default value diff --git a/docs/src/pages/framed/InlineLoading/InlineLoadingUx.svelte b/docs/src/pages/framed/InlineLoading/InlineLoadingUx.svelte new file mode 100644 index 00000000..fdaeb6bc --- /dev/null +++ b/docs/src/pages/framed/InlineLoading/InlineLoadingUx.svelte @@ -0,0 +1,50 @@ + + + + + {#if state !== 'dormant'} + + {:else} + + {/if} +