From 22d7f8df719851c90fe06bf2db9192b2d0045895 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Mon, 20 Apr 2026 16:35:43 +0000 Subject: [PATCH] docs: Add contact support button data-component-part selectors Generated-By: mintlify-agent --- customize/custom-scripts.mdx | 8 ++++++++ es/customize/custom-scripts.mdx | 8 ++++++++ fr/customize/custom-scripts.mdx | 8 ++++++++ zh/customize/custom-scripts.mdx | 8 ++++++++ 4 files changed, 32 insertions(+) diff --git a/customize/custom-scripts.mdx b/customize/custom-scripts.mdx index 8a1e21065..e91436b8d 100644 --- a/customize/custom-scripts.mdx +++ b/customize/custom-scripts.mdx @@ -186,6 +186,14 @@ Mintlify has a set of common identifiers and selectors to help you tag important - 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 `` wrapper around the contact support link in the assistant panel + - Contact support icon: `[data-component-part="contact-support-icon"]` — the `` wrapping the icon + - Contact support text: `[data-component-part="contact-support-text"]` — the `

` element containing the label + Badge attributes: - Badge: `[data-badge]` diff --git a/es/customize/custom-scripts.mdx b/es/customize/custom-scripts.mdx index 8b05da18b..ddf2f9587 100644 --- a/es/customize/custom-scripts.mdx +++ b/es/customize/custom-scripts.mdx @@ -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 `` alrededor del enlace de contacto de soporte en el panel del asistente + - Icono de contacto de soporte: `[data-component-part="contact-support-icon"]` — el `` que envuelve el icono + - Texto de contacto de soporte: `[data-component-part="contact-support-text"]` — el elemento `

` que contiene la etiqueta + Atributos de Badge: - Badge: `[data-badge]` diff --git a/fr/customize/custom-scripts.mdx b/fr/customize/custom-scripts.mdx index b702e97cd..106b84be6 100644 --- a/fr/customize/custom-scripts.mdx +++ b/fr/customize/custom-scripts.mdx @@ -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 `` autour du lien de contact support dans le panneau assistant + - Icône de contact support : `[data-component-part="contact-support-icon"]` — le `` englobant l'icône + - Texte de contact support : `[data-component-part="contact-support-text"]` — l'élément `

` contenant le libellé + Attributs Badge : - Badge : `[data-badge]` diff --git a/zh/customize/custom-scripts.mdx b/zh/customize/custom-scripts.mdx index cd39878bc..7a386910e 100644 --- a/zh/customize/custom-scripts.mdx +++ b/zh/customize/custom-scripts.mdx @@ -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"]` — 助手面板中联系支持链接的 `` 包装器 + - 联系支持图标: `[data-component-part="contact-support-icon"]` — 包裹图标的 `` + - 联系支持文本: `[data-component-part="contact-support-text"]` — 包含标签的 `

` 元素 + Badge 属性: - Badge: `[data-badge]`