@landtrustinc/design-system 1.2.38 → 1.2.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +15 -1
- package/dist/index.js +282 -259
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1091,8 +1091,13 @@ type AIResponseProps = {
|
|
|
1091
1091
|
* @default true
|
|
1092
1092
|
*/
|
|
1093
1093
|
enableCodeCopy?: boolean;
|
|
1094
|
+
/**
|
|
1095
|
+
* Callback fired when a ContactLandownerButton is displayed in the response.
|
|
1096
|
+
* Useful for analytics tracking (e.g., GTM events).
|
|
1097
|
+
*/
|
|
1098
|
+
onContactLandownerDisplay?: () => void;
|
|
1094
1099
|
};
|
|
1095
|
-
declare const AIResponse: ({ title, showTitle, showDisclaimer, showHelpfulQuestion, className, children, onHelpfulYes, onHelpfulNo, variant, onErrorRetry, helpfulDebounceMs, markdown, enableCodeCopy, }: AIResponseProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1100
|
+
declare const AIResponse: ({ title, showTitle, showDisclaimer, showHelpfulQuestion, className, children, onHelpfulYes, onHelpfulNo, variant, onErrorRetry, helpfulDebounceMs, markdown, enableCodeCopy, onContactLandownerDisplay, }: AIResponseProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1096
1101
|
|
|
1097
1102
|
type ContactLandownerButtonProps = {
|
|
1098
1103
|
/**
|
|
@@ -1104,6 +1109,15 @@ type ContactLandownerButtonProps = {
|
|
|
1104
1109
|
* @default "Contact Landowner"
|
|
1105
1110
|
*/
|
|
1106
1111
|
buttonText?: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* Target attribute for the link (e.g., "_blank" to open in new tab)
|
|
1114
|
+
*/
|
|
1115
|
+
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
1116
|
+
/**
|
|
1117
|
+
* Callback fired when the button is displayed/rendered
|
|
1118
|
+
* Useful for analytics tracking
|
|
1119
|
+
*/
|
|
1120
|
+
onDisplay?: () => void;
|
|
1107
1121
|
/**
|
|
1108
1122
|
* Additional CSS class names
|
|
1109
1123
|
*/
|