Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions customize/custom-scripts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
- SearchBarEntry: `search-bar-entry`
- SearchBarEntryMobile: `search-bar-entry-mobile`
- SearchInput: `search-input`
- Sidebar: `sidebar`

Check warning on line 91 in customize/custom-scripts.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

customize/custom-scripts.mdx#L91

Use 'sidebars?' instead of 'Sidebar'.
- SidebarContent: `sidebar-content`
- TableOfContents: `table-of-contents`
- TableOfContentsContent: `table-of-contents-content`
Expand All @@ -107,7 +107,7 @@
- APISectionHeading: `api-section-heading`
- APISectionHeadingSubtitle: `api-section-heading-subtitle`
- APISectionHeadingTitle: `api-section-heading-title`
- Callout: `callout`

Check warning on line 110 in customize/custom-scripts.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

customize/custom-scripts.mdx#L110

Use 'callouts?' instead of 'Callout'.
- Card: `card`
- CardGroup: `card-group`
- ChatAssistantSheet: `chat-assistant-sheet`
Expand All @@ -126,7 +126,7 @@
- DropdownItemDescription: `nav-dropdown-item-description`
- DropdownItemIcon: `nav-dropdown-item-icon`
- Expandable: `expandable`
- Eyebrow: `eyebrow`

Check warning on line 129 in customize/custom-scripts.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

customize/custom-scripts.mdx#L129

Use 'eyebrow' instead of 'Eyebrow'.
- FeedbackToolbar: `feedback-toolbar`
- Field: `field`
- Frame: `frame`
Expand Down Expand Up @@ -186,6 +186,14 @@
- Primary header button: `[data-component-name="primary-header-button"]` — Sequoia theme only
- Theme toggle: `[data-component-name="theme-toggle"]`

Component part (`data-component-part`):

Use `data-component-part` to target sub-elements within a component.

- Contact support button: `[data-component-part="contact-support-button"]` — the `<a>` wrapper around the contact support link in the assistant panel
- Contact support icon: `[data-component-part="contact-support-icon"]` — the `<span>` wrapping the icon
- Contact support text: `[data-component-part="contact-support-text"]` — the `<p>` element containing the label

Badge attributes:

- Badge: `[data-badge]`
Expand Down
8 changes: 8 additions & 0 deletions es/customize/custom-scripts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,14 @@ Mintlify cuenta con un conjunto de identificadores y selectores comunes para ayu
- Botón principal del encabezado: `[data-component-name="primary-header-button"]` — solo en el tema Sequoia
- Interruptor de tema: `[data-component-name="theme-toggle"]`

Parte de componente (`data-component-part`):

Usa `data-component-part` para apuntar a sub-elementos dentro de un componente.

- Botón de contacto de soporte: `[data-component-part="contact-support-button"]` — el wrapper `<a>` alrededor del enlace de contacto de soporte en el panel del asistente
- Icono de contacto de soporte: `[data-component-part="contact-support-icon"]` — el `<span>` que envuelve el icono
- Texto de contacto de soporte: `[data-component-part="contact-support-text"]` — el elemento `<p>` que contiene la etiqueta

Atributos de Badge:

- Badge: `[data-badge]`
Expand Down
8 changes: 8 additions & 0 deletions fr/customize/custom-scripts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,14 @@ Mintlify propose un ensemble d’identifiants et de sélecteurs courants pour vo
- Bouton principal de l'en-tête : `[data-component-name="primary-header-button"]` — thème Sequoia uniquement
- Bascule de thème : `[data-component-name="theme-toggle"]`

Partie de composant (`data-component-part`) :

Utilisez `data-component-part` pour cibler les sous-éléments d'un composant.

- Bouton de contact support : `[data-component-part="contact-support-button"]` — le wrapper `<a>` autour du lien de contact support dans le panneau assistant
- Icône de contact support : `[data-component-part="contact-support-icon"]` — le `<span>` englobant l'icône
- Texte de contact support : `[data-component-part="contact-support-text"]` — l'élément `<p>` contenant le libellé

Attributs Badge :

- Badge : `[data-badge]`
Expand Down
8 changes: 8 additions & 0 deletions zh/customize/custom-scripts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,14 @@ Mintlify 提供了一组常用的标识符和选择器,帮助你为 UI 中的
- 主要头部按钮: `[data-component-name="primary-header-button"]` — 仅限 Sequoia 主题
- 主题切换开关: `[data-component-name="theme-toggle"]`

组件部分 (`data-component-part`):

使用 `data-component-part` 来定位组件内的子元素。

- 联系支持按钮: `[data-component-part="contact-support-button"]` — 助手面板中联系支持链接的 `<a>` 包装器
- 联系支持图标: `[data-component-part="contact-support-icon"]` — 包裹图标的 `<span>`
- 联系支持文本: `[data-component-part="contact-support-text"]` — 包含标签的 `<p>` 元素

Badge 属性:

- Badge: `[data-badge]`
Expand Down
Loading