@landtrustinc/design-system 1.2.39 → 1.2.41
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/README.md +5 -1
- package/dist/index.d.ts +12 -2
- package/dist/index.js +280 -260
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Design system components for LandTrust applications.
|
|
4
4
|
|
|
5
|
-
[Storybook](https://
|
|
5
|
+
[Storybook](https://design.landtrust.com)
|
|
6
6
|
|
|
7
7
|
## 📦 Installation
|
|
8
8
|
|
|
@@ -75,3 +75,7 @@ npm build
|
|
|
75
75
|
npm version patch/minor/major
|
|
76
76
|
npm publish
|
|
77
77
|
```
|
|
78
|
+
|
|
79
|
+
## 📝 TODO
|
|
80
|
+
|
|
81
|
+
- [ ] **Migrate to Changesets** - Replace manual version bumping with [Changesets](https://github.com/changesets/changesets) for automated versioning and changelog generation. This would prevent version conflicts and streamline the release process.
|
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
|
/**
|
|
@@ -1108,6 +1113,11 @@ type ContactLandownerButtonProps = {
|
|
|
1108
1113
|
* Target attribute for the link (e.g., "_blank" to open in new tab)
|
|
1109
1114
|
*/
|
|
1110
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;
|
|
1111
1121
|
/**
|
|
1112
1122
|
* Additional CSS class names
|
|
1113
1123
|
*/
|
|
@@ -2187,7 +2197,7 @@ type PackageCardProps = {
|
|
|
2187
2197
|
/**
|
|
2188
2198
|
* Starting price text
|
|
2189
2199
|
*/
|
|
2190
|
-
startingPrice
|
|
2200
|
+
startingPrice?: string;
|
|
2191
2201
|
/**
|
|
2192
2202
|
* Whether the package is favorited
|
|
2193
2203
|
*/
|