Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

docs(theming): document theme classes for AlertDialog, CheckboxList, PowerSearch (#3976)

Joeye82deeb3fafd
diff --git a/packages/core/src/AlertDialog/AlertDialog.doc.mjs b/packages/core/src/AlertDialog/AlertDialog.doc.mjs
index 3d95111a18..4b88dd96ee 100644
--- a/packages/core/src/AlertDialog/AlertDialog.doc.mjs
+++ b/packages/core/src/AlertDialog/AlertDialog.doc.mjs
@@ -113,6 +113,11 @@ export const docs = {
components: [
{name: 'useImperativeAlertDialog'},
],
+ theming: {
+ targets: [
+ {className: 'astryx-alert-dialog'},
+ ],
+ },
};
/** @type {import('../docs-types').TranslationDoc} */
diff --git a/packages/core/src/CheckboxList/CheckboxList.doc.mjs b/packages/core/src/CheckboxList/CheckboxList.doc.mjs
index b9816040ca..950171170e 100644
--- a/packages/core/src/CheckboxList/CheckboxList.doc.mjs
+++ b/packages/core/src/CheckboxList/CheckboxList.doc.mjs
@@ -108,6 +108,11 @@ export const docs = {
{ guidance: false, description: 'Wrap a disabled CheckboxList in Tooltip to explain why it is disabled; disabled controls swallow the hover events the wrapper needs. Use the disabledMessage prop instead.' },
],
},
+ theming: {
+ targets: [
+ {className: 'astryx-checkbox-list'},
+ ],
+ },
};
/** @type {import('../docs-types').TranslationDoc} */
diff --git a/packages/core/src/PowerSearch/PowerSearch.doc.mjs b/packages/core/src/PowerSearch/PowerSearch.doc.mjs
index 792c294b61..93d4e6a55f 100644
--- a/packages/core/src/PowerSearch/PowerSearch.doc.mjs
+++ b/packages/core/src/PowerSearch/PowerSearch.doc.mjs
@@ -145,6 +145,11 @@ export const docs = {
{ guidance: false, description: 'Wrap a disabled PowerSearch in Tooltip to explain why it is disabled; disabled controls swallow the hover events the wrapper needs. Use the disabledMessage prop instead.' },
],
},
+ theming: {
+ targets: [
+ {className: 'astryx-power-search'},
+ ],
+ },
};
// -------------------------------------------------------