@servicetitan/mpa-components 1.7.0 → 1.8.0

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/lib/components/campaign-actions/actions-button/campaign-actions.stories.d.ts +1 -2
  3. package/lib/components/campaign-actions/actions-button/campaign-actions.stories.d.ts.map +1 -1
  4. package/lib/components/settings/company-details/company-details-form.stories.d.ts +3 -4
  5. package/lib/components/settings/company-details/company-details-form.stories.d.ts.map +1 -1
  6. package/lib/components/settings/company-email-footer/company-email-footer.stories.d.ts +1 -1
  7. package/lib/components/settings/company-email-footer/company-email-footer.stories.d.ts.map +1 -1
  8. package/lib/components/settings/company-email-reply-to/company-email-reply-to.stories.d.ts +1 -1
  9. package/lib/components/settings/company-email-reply-to/company-email-reply-to.stories.d.ts.map +1 -1
  10. package/lib/components/settings/company-email-sender/company-email-sender.stories.d.ts +2 -2
  11. package/lib/components/settings/company-email-sender/company-email-sender.stories.d.ts.map +1 -1
  12. package/lib/components/settings/company-trade-checkbox/index.d.ts +1 -1
  13. package/lib/components/settings/company-trade-checkbox/index.d.ts.map +1 -1
  14. package/lib/components/settings/company-trades-picker/company-trades-picker.stories.d.ts +1 -2
  15. package/lib/components/settings/company-trades-picker/company-trades-picker.stories.d.ts.map +1 -1
  16. package/lib/components/settings/company-trades-picker/index.d.ts +1 -1
  17. package/lib/components/settings/company-trades-picker/index.d.ts.map +1 -1
  18. package/lib/components/settings/double-opt-in/double-opt-in.stories.d.ts +1 -1
  19. package/lib/components/settings/double-opt-in/double-opt-in.stories.d.ts.map +1 -1
  20. package/lib/components/settings/email-validation/email-validation.stories.d.ts +2 -3
  21. package/lib/components/settings/email-validation/email-validation.stories.d.ts.map +1 -1
  22. package/lib/components/settings/email-validation/index.d.ts +1 -1
  23. package/lib/components/settings/email-validation/index.d.ts.map +1 -1
  24. package/lib/components/settings/logo-picker/index.d.ts +1 -1
  25. package/lib/components/settings/logo-picker/index.d.ts.map +1 -1
  26. package/lib/components/settings/logo-picker/logo-picker.stories.d.ts +1 -2
  27. package/lib/components/settings/logo-picker/logo-picker.stories.d.ts.map +1 -1
  28. package/lib/components/settings/opt-out-message/opt-out-message.stories.d.ts +1 -1
  29. package/lib/components/settings/opt-out-message/opt-out-message.stories.d.ts.map +1 -1
  30. package/lib/components/settings/settings-section/settings-section.stories.d.ts +1 -1
  31. package/lib/components/settings/settings-section/settings-section.stories.d.ts.map +1 -1
  32. package/package.json +14 -14
  33. package/src/components/campaign-actions/action-button/action-button.module.less.d.ts +1 -1
  34. package/src/components/settings/email-preview/email-preview.module.less.d.ts +4 -4
  35. package/src/components/settings/logo-picker/logo-picker.module.less.d.ts +1 -1
  36. package/src/components/settings/opt-out-message/opt-out-message.module.less.d.ts +1 -1
  37. package/src/components/settings/result-definitions-modal/result-definitions-modal.module.less.d.ts +1 -1
  38. package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.8.0](https://github.com/servicetitan/marketing/compare/@servicetitan/mpa-components@1.7.0...@servicetitan/mpa-components@1.8.0) (2024-05-24)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **@servicetitan/mpa-components:** minor upgrade with react version ([9a31d4e](https://github.com/servicetitan/marketing/commit/9a31d4e5e0d150d21919fd1506bf2777f3cd0d70))
11
+
6
12
  # [1.7.0](https://github.com/servicetitan/marketing/compare/@servicetitan/mpa-components@1.6.0...@servicetitan/mpa-components@1.7.0) (2024-03-20)
7
13
 
8
14
  **Note:** Version bump only for package @servicetitan/mpa-components
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- export declare function CampaignActions(): JSX.Element;
1
+ export declare function CampaignActions(): import("react/jsx-runtime").JSX.Element;
3
2
  declare const _default: {
4
3
  title: string;
5
4
  component: typeof CampaignActions;
@@ -1 +1 @@
1
- {"version":3,"file":"campaign-actions.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/campaign-actions/actions-button/campaign-actions.stories.tsx"],"names":[],"mappings":";AAEA,wBAAgB,eAAe,gBAU9B;;;;;;AAED,wBAIE"}
1
+ {"version":3,"file":"campaign-actions.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/campaign-actions/actions-button/campaign-actions.stories.tsx"],"names":[],"mappings":"AAEA,wBAAgB,eAAe,4CAU9B;;;;;;AAED,wBAIE"}
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
- export declare const CompanyDetailsWithoutWebsite: (() => JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => JSX.Element>;
3
- export declare const CompanyDetails: (() => JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => JSX.Element>;
1
+ export declare const CompanyDetailsWithoutWebsite: (() => import("react/jsx-runtime").JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => import("react/jsx-runtime").JSX.Element>;
2
+ export declare const CompanyDetails: (() => import("react/jsx-runtime").JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => import("react/jsx-runtime").JSX.Element>;
4
3
  declare const _default: {
5
4
  title: string;
6
- component: (() => JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => JSX.Element>;
5
+ component: (() => import("react/jsx-runtime").JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => import("react/jsx-runtime").JSX.Element>;
7
6
  parameters: {};
8
7
  };
9
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"company-details-form.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/company-details/company-details-form.stories.tsx"],"names":[],"mappings":";AAwBA,eAAO,MAAM,4BAA4B,0GAUvC,CAAC;AAEH,eAAO,MAAM,cAAc,0GAUzB,CAAC;;;;;;AAEH,wBAIE"}
1
+ {"version":3,"file":"company-details-form.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/company-details/company-details-form.stories.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,4BAA4B,kKAUvC,CAAC;AAEH,eAAO,MAAM,cAAc,kKAUzB,CAAC;;;;;;AAEH,wBAIE"}
@@ -5,5 +5,5 @@ declare const _default: {
5
5
  parameters: {};
6
6
  };
7
7
  export default _default;
8
- export declare const CompanyEmailFooter: (() => JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => JSX.Element>;
8
+ export declare const CompanyEmailFooter: (() => import("react/jsx-runtime").JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => import("react/jsx-runtime").JSX.Element>;
9
9
  //# sourceMappingURL=company-email-footer.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"company-email-footer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/company-email-footer/company-email-footer.stories.tsx"],"names":[],"mappings":";;;;;;AAMA,wBAIE;AAWF,eAAO,MAAM,kBAAkB,0GAI7B,CAAC"}
1
+ {"version":3,"file":"company-email-footer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/company-email-footer/company-email-footer.stories.tsx"],"names":[],"mappings":";;;;;;AAMA,wBAIE;AAWF,eAAO,MAAM,kBAAkB,kKAI7B,CAAC"}
@@ -5,5 +5,5 @@ declare const _default: {
5
5
  parameters: {};
6
6
  };
7
7
  export default _default;
8
- export declare const CompanyEmailReplyTo: (() => JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => JSX.Element>;
8
+ export declare const CompanyEmailReplyTo: (() => import("react/jsx-runtime").JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => import("react/jsx-runtime").JSX.Element>;
9
9
  //# sourceMappingURL=company-email-reply-to.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"company-email-reply-to.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/company-email-reply-to/company-email-reply-to.stories.tsx"],"names":[],"mappings":";;;;;;AAMA,wBAIE;AASF,eAAO,MAAM,mBAAmB,0GAG9B,CAAC"}
1
+ {"version":3,"file":"company-email-reply-to.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/company-email-reply-to/company-email-reply-to.stories.tsx"],"names":[],"mappings":";;;;;;AAMA,wBAIE;AASF,eAAO,MAAM,mBAAmB,kKAG9B,CAAC"}
@@ -6,6 +6,6 @@ declare const _default: {
6
6
  parameters: {};
7
7
  };
8
8
  export default _default;
9
- export declare const CompanyEmailSenderCustomDomain: (() => JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => JSX.Element>;
10
- export declare const CompanyEmailSender: (() => JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => JSX.Element>;
9
+ export declare const CompanyEmailSenderCustomDomain: (() => import("react/jsx-runtime").JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => import("react/jsx-runtime").JSX.Element>;
10
+ export declare const CompanyEmailSender: (() => import("react/jsx-runtime").JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => import("react/jsx-runtime").JSX.Element>;
11
11
  //# sourceMappingURL=company-email-sender.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"company-email-sender.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/company-email-sender/company-email-sender.stories.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,kBAAkB,IAAI,MAAM,EAA4C,MAAM,GAAG,CAAC;;;;;;AAE3F,wBAIE;AAWF,eAAO,MAAM,8BAA8B,0GAM1C,CAAC;AAEF,eAAO,MAAM,kBAAkB,0GAI7B,CAAC"}
1
+ {"version":3,"file":"company-email-sender.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/company-email-sender/company-email-sender.stories.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,kBAAkB,IAAI,MAAM,EAA4C,MAAM,GAAG,CAAC;;;;;;AAE3F,wBAIE;AAWF,eAAO,MAAM,8BAA8B,kKAM1C,CAAC;AAEF,eAAO,MAAM,kBAAkB,kKAI7B,CAAC"}
@@ -6,5 +6,5 @@ export interface CompanyTradeCheckboxProps<TradesType extends string | number =
6
6
  active?: boolean;
7
7
  onClick?(item?: TradesType): void;
8
8
  }
9
- export declare function CompanyTradeCheckbox<T extends string | number = string>({ label, value, className, active, onClick, }: CompanyTradeCheckboxProps<T>): JSX.Element;
9
+ export declare function CompanyTradeCheckbox<T extends string | number = string>({ label, value, className, active, onClick, }: CompanyTradeCheckboxProps<T>): import("react/jsx-runtime").JSX.Element;
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/company-trade-checkbox/index.tsx"],"names":[],"mappings":";AAOA,MAAM,WAAW,yBAAyB,CAAC,UAAU,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM;IAClF,KAAK,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAC7B,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;CACrC;AAED,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,EACrE,KAAK,EACL,KAAK,EACL,SAAS,EACT,MAAM,EACN,OAAO,GACV,EAAE,yBAAyB,CAAC,CAAC,CAAC,eAqB9B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/company-trade-checkbox/index.tsx"],"names":[],"mappings":";AAOA,MAAM,WAAW,yBAAyB,CAAC,UAAU,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM;IAClF,KAAK,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAC7B,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;CACrC;AAED,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,EACrE,KAAK,EACL,KAAK,EACL,SAAS,EACT,MAAM,EACN,OAAO,GACV,EAAE,yBAAyB,CAAC,CAAC,CAAC,2CAqB9B"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CompanyTradesPicker as Component } from '.';
3
2
  declare const _default: {
4
3
  title: string;
@@ -6,5 +5,5 @@ declare const _default: {
6
5
  parameters: {};
7
6
  };
8
7
  export default _default;
9
- export declare function CompanyTradesPicker(): JSX.Element;
8
+ export declare function CompanyTradesPicker(): import("react/jsx-runtime").JSX.Element;
10
9
  //# sourceMappingURL=company-trades-picker.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"company-trades-picker.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/company-trades-picker/company-trades-picker.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,IAAI,SAAS,EAAS,MAAM,GAAG,CAAC;;;;;;AAE5D,wBAIE;AASF,wBAAgB,mBAAmB,gBA6DlC"}
1
+ {"version":3,"file":"company-trades-picker.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/company-trades-picker/company-trades-picker.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,IAAI,SAAS,EAAS,MAAM,GAAG,CAAC;;;;;;AAE5D,wBAIE;AASF,wBAAgB,mBAAmB,4CA6DlC"}
@@ -20,5 +20,5 @@ export interface CompanyTradesPickerProps<TradeType extends string | number = st
20
20
  columns?: number;
21
21
  onTradeChange(t?: TradeType): void;
22
22
  }
23
- export declare function CompanyTradesPicker<T extends string | number = string>({ trades, onTradeChange, layout, className, columns, title, }: CompanyTradesPickerProps<T>): JSX.Element;
23
+ export declare function CompanyTradesPicker<T extends string | number = string>({ trades, onTradeChange, layout, className, columns, title, }: CompanyTradesPickerProps<T>): import("react/jsx-runtime").JSX.Element;
24
24
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/company-trades-picker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AAG3C,OAAO,EAA0B,WAAW,EAAQ,MAAM,6BAA6B,CAAC;AAKxF,MAAM,WAAW,KAAK,CAAC,SAAS,SAAS,MAAM,GAAG,MAAM;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,SAAS,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE;QACH,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,GAAG,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACL;AAED,MAAM,WAAW,wBAAwB,CAAC,SAAS,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM;IAChF,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC;IAC3B,MAAM,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,CAAC,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CACtC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,EACpE,MAAM,EACN,aAAa,EACb,MAAM,EACN,SAAS,EACT,OAAW,EACX,KAA4B,GAC/B,EAAE,wBAAwB,CAAC,CAAC,CAAC,eAkD7B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/company-trades-picker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AAG3C,OAAO,EAA0B,WAAW,EAAQ,MAAM,6BAA6B,CAAC;AAKxF,MAAM,WAAW,KAAK,CAAC,SAAS,SAAS,MAAM,GAAG,MAAM;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,SAAS,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE;QACH,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,GAAG,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACL;AAED,MAAM,WAAW,wBAAwB,CAAC,SAAS,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM;IAChF,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC;IAC3B,MAAM,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,CAAC,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CACtC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,EACpE,MAAM,EACN,aAAa,EACb,MAAM,EACN,SAAS,EACT,OAAW,EACX,KAA4B,GAC/B,EAAE,wBAAwB,CAAC,CAAC,CAAC,2CAkD7B"}
@@ -5,5 +5,5 @@ declare const _default: {
5
5
  parameters: {};
6
6
  };
7
7
  export default _default;
8
- export declare const DoubleOptIn: (() => JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => JSX.Element>;
8
+ export declare const DoubleOptIn: (() => import("react/jsx-runtime").JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => import("react/jsx-runtime").JSX.Element>;
9
9
  //# sourceMappingURL=double-opt-in.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"double-opt-in.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/double-opt-in/double-opt-in.stories.tsx"],"names":[],"mappings":";;;;;;AAKA,wBAIE;AAaF,eAAO,MAAM,WAAW,0GAKtB,CAAC"}
1
+ {"version":3,"file":"double-opt-in.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/double-opt-in/double-opt-in.stories.tsx"],"names":[],"mappings":";;;;;;AAKA,wBAIE;AAaF,eAAO,MAAM,WAAW,kKAKtB,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare enum EmailValidationLevel {
3
2
  Low = 1,
4
3
  Medium = 2,
@@ -12,9 +11,9 @@ declare enum EmailValidationResult {
12
11
  }
13
12
  declare const _default: {
14
13
  title: string;
15
- component: ({ className, handleDownload, loading, resultGrid, setValidationRiskType, validationRiskType, }: import(".").EmailValidationProps<EmailValidationLevel, EmailValidationResult>) => JSX.Element;
14
+ component: ({ className, handleDownload, loading, resultGrid, setValidationRiskType, validationRiskType, }: import(".").EmailValidationProps<EmailValidationLevel, EmailValidationResult>) => import("react/jsx-runtime").JSX.Element;
16
15
  parameters: {};
17
16
  };
18
17
  export default _default;
19
- export declare function EmailValidation(): JSX.Element;
18
+ export declare function EmailValidation(): import("react/jsx-runtime").JSX.Element;
20
19
  //# sourceMappingURL=email-validation.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"email-validation.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/email-validation/email-validation.stories.tsx"],"names":[],"mappings":";AAMA,aAAK,oBAAoB;IACrB,GAAG,IAAI;IACP,MAAM,IAAI;IACV,IAAI,IAAI;CACX;AAED,aAAK,qBAAqB;IACtB,aAAa,IAAI;IACjB,IAAI,IAAI;IACR,KAAK,IAAI;IACT,OAAO,KAAK;CACf;;;;;;AA4CD,wBAIE;AAEF,wBAAgB,eAAe,gBAkD9B"}
1
+ {"version":3,"file":"email-validation.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/email-validation/email-validation.stories.tsx"],"names":[],"mappings":"AAMA,aAAK,oBAAoB;IACrB,GAAG,IAAI;IACP,MAAM,IAAI;IACV,IAAI,IAAI;CACX;AAED,aAAK,qBAAqB;IACtB,aAAa,IAAI;IACjB,IAAI,IAAI;IACR,KAAK,IAAI;IACT,OAAO,KAAK;CACf;;;;;;AA4CD,wBAIE;AAEF,wBAAgB,eAAe,4CAkD9B"}
@@ -27,6 +27,6 @@ interface EmailValidationHocOptions<TEmailValidationType extends string | number
27
27
  resultToTooltipText: Map<TEmailValidationResult, string>;
28
28
  TenantDateCell: FC<TableCellProps>;
29
29
  }
30
- export declare function emailValidationHoc<TEmailValidationType extends string | number = string, TEmailValidationResult extends string | number = string>({ resultToText, levelTypeMap, resultToTooltipText, levelResultMap, TenantDateCell, }: EmailValidationHocOptions<TEmailValidationType, TEmailValidationResult>): ({ className, handleDownload, loading, resultGrid, setValidationRiskType, validationRiskType, }: EmailValidationProps<TEmailValidationType, TEmailValidationResult>) => JSX.Element;
30
+ export declare function emailValidationHoc<TEmailValidationType extends string | number = string, TEmailValidationResult extends string | number = string>({ resultToText, levelTypeMap, resultToTooltipText, levelResultMap, TenantDateCell, }: EmailValidationHocOptions<TEmailValidationType, TEmailValidationResult>): ({ className, handleDownload, loading, resultGrid, setValidationRiskType, validationRiskType, }: EmailValidationProps<TEmailValidationType, TEmailValidationResult>) => import("react/jsx-runtime").JSX.Element;
31
31
  export {};
32
32
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/email-validation/index.ts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CAAC,CAAC;IACzD,cAAc,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC;CACtC;AAED,wBAAgB,kBAAkB,CAC9B,oBAAoB,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EACrD,sBAAsB,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EACzD,EACE,YAAY,EACZ,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACd,cAAc,GACjB,EAAE,yBAAyB,CAAC,oBAAoB,EAAE,sBAAsB,CAAC,oGAyBnE,qBAAqB,oBAAoB,EAAE,sBAAsB,CAAC,iBAoKxE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/email-validation/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAe,MAAM,OAAO,CAAC;AAgBxC,OAAO,EAMH,UAAU,EACV,cAAc,EACjB,MAAM,qBAAqB,CAAC;AAS7B,MAAM,WAAW,0BAA0B,CAAC,CAAC;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,EAAE,CAAC,CAAC;IACV,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CAChC;AAED,MAAM,WAAW,oBAAoB,CACjC,oBAAoB,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EACrD,sBAAsB,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM;IAEvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,UAAU,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,CAAC,CAAC;IAC3E,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;IAC1C,cAAc,IAAI,IAAI,CAAC;IACvB,qBAAqB,CAAC,IAAI,EAAE,oBAAoB,GAAG,IAAI,CAAC;CAC3D;AAED,UAAU,yBAAyB,CAC/B,oBAAoB,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EACrD,sBAAsB,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM;IAEvD,YAAY,EAAE,GAAG,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IAClD,YAAY,EAAE;QACV,IAAI,EAAE,oBAAoB,CAAC;QAC3B,MAAM,EAAE,oBAAoB,CAAC;QAC7B,GAAG,EAAE,oBAAoB,CAAC;KAC7B,CAAC;IACF,cAAc,EAAE,GAAG,CAAC,oBAAoB,EAAE,sBAAsB,EAAE,CAAC,CAAC;IACpE,mBAAmB,EAAE,GAAG,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IACzD,cAAc,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC;CACtC;AAED,wBAAgB,kBAAkB,CAC9B,oBAAoB,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EACrD,sBAAsB,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,EACzD,EACE,YAAY,EACZ,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACd,cAAc,GACjB,EAAE,yBAAyB,CAAC,oBAAoB,EAAE,sBAAsB,CAAC,oGAyBnE,qBAAqB,oBAAoB,EAAE,sBAAsB,CAAC,6CAoKxE"}
@@ -4,7 +4,7 @@ export declare const DEFAULT_MIN_DIMENSIONS: {
4
4
  width: number;
5
5
  height: number;
6
6
  };
7
- export declare const DEFAULT_LOGO_TIPS: JSX.Element;
7
+ export declare const DEFAULT_LOGO_TIPS: import("react/jsx-runtime").JSX.Element;
8
8
  export interface LogoPickerProps {
9
9
  error?: string;
10
10
  image?: File;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/logo-picker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,SAAS,EAAE,EAAE,EAAU,MAAM,OAAO,CAAC;AAgBnE,eAAO,MAAM,aAAa,MAAM,CAAC;AACjC,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AAK,CAAC,EAAE,IAAI,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAClD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,WAAW,IAAI,IAAI,CAAC;IACpB,aAAa,CAAC,IAAI,IAAI,CAAC;IACvB,UAAU,CAAC,CAAC,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE;YAAE,QAAQ,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,GAAG,IAAI,CAAC;IACzF,YAAY,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,GAAG,IAAI,CAAC;IAC3C,QAAQ,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAgN1C,CAAC"}
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  title: string;
4
3
  component: typeof LogoPicker;
5
4
  parameters: {};
6
5
  };
7
6
  export default _default;
8
- export declare function LogoPicker(): JSX.Element;
7
+ export declare function LogoPicker(): import("react/jsx-runtime").JSX.Element;
9
8
  //# sourceMappingURL=logo-picker.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logo-picker.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/logo-picker/logo-picker.stories.tsx"],"names":[],"mappings":";;;;;;AAGA,wBAIE;AAEF,wBAAgB,UAAU,gBAWzB"}
1
+ {"version":3,"file":"logo-picker.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/logo-picker/logo-picker.stories.tsx"],"names":[],"mappings":";;;;;AAGA,wBAIE;AAEF,wBAAgB,UAAU,4CAWzB"}
@@ -5,5 +5,5 @@ declare const _default: {
5
5
  parameters: {};
6
6
  };
7
7
  export default _default;
8
- export declare const OptOutMessage: (() => JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => JSX.Element>;
8
+ export declare const OptOutMessage: (() => import("react/jsx-runtime").JSX.Element) & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<() => import("react/jsx-runtime").JSX.Element>;
9
9
  //# sourceMappingURL=opt-out-message.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"opt-out-message.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/opt-out-message/opt-out-message.stories.tsx"],"names":[],"mappings":";;;;;;AAKA,wBAIE;AAeF,eAAO,MAAM,aAAa,0GAMxB,CAAC"}
1
+ {"version":3,"file":"opt-out-message.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/opt-out-message/opt-out-message.stories.tsx"],"names":[],"mappings":";;;;;;AAKA,wBAIE;AAeF,eAAO,MAAM,aAAa,kKAMxB,CAAC"}
@@ -5,5 +5,5 @@ declare const _default: {
5
5
  parameters: {};
6
6
  };
7
7
  export default _default;
8
- export declare const SettingsSection: () => JSX.Element;
8
+ export declare const SettingsSection: () => import("react/jsx-runtime").JSX.Element;
9
9
  //# sourceMappingURL=settings-section.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings-section.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/settings-section/settings-section.stories.tsx"],"names":[],"mappings":";;;;;;AAGA,wBAIE;AAEF,eAAO,MAAM,eAAe,mBAM3B,CAAC"}
1
+ {"version":3,"file":"settings-section.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/settings/settings-section/settings-section.stories.tsx"],"names":[],"mappings":";;;;;;AAGA,wBAIE;AAEF,eAAO,MAAM,eAAe,+CAM3B,CAAC"}
package/package.json CHANGED
@@ -3,26 +3,26 @@
3
3
  "repository": {
4
4
  "url": "https://github.com/servicetitan/marketing"
5
5
  },
6
- "version": "1.7.0",
6
+ "version": "1.8.0",
7
7
  "description": "",
8
8
  "main": "./lib/index.js",
9
9
  "typings": "./lib/index.d.ts",
10
10
  "peerDependencies": {
11
- "@servicetitan/confirm": "~21.4.1",
12
- "@servicetitan/design-system": "~12.10.0",
13
- "@servicetitan/form": "~22.4.4",
14
- "@servicetitan/form-state": "~22.4.4",
15
- "@servicetitan/react-ioc": "~21.10.0",
16
- "@servicetitan/tokens": "~12.1.11",
17
- "formstate": "~2.0.0",
18
- "mobx": "~6.3.2",
19
- "mobx-react": "~7.2.0",
11
+ "@servicetitan/confirm": "~26.3.0",
12
+ "@servicetitan/design-system": "~13.6.0",
13
+ "@servicetitan/form": "~26.3.0",
14
+ "@servicetitan/form-state": "~26.3.0",
15
+ "@servicetitan/react-ioc": "~23.5.2",
16
+ "@servicetitan/tokens": "~12.2.1",
17
+ "formstate": "~2.1.0",
18
+ "mobx": "6.10.2",
19
+ "mobx-react": "9.0.2",
20
20
  "moment": "~2.29.1",
21
- "react": "~17.0.2"
21
+ "react": "~18.3.1"
22
22
  },
23
23
  "devDependencies": {
24
- "@testing-library/react": "^12.0.0",
25
- "@types/history": "~4.7.7"
24
+ "@testing-library/react": "^14.0.0",
25
+ "@types/history": "4.7.9"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "restricted"
@@ -30,5 +30,5 @@
30
30
  "cli": {
31
31
  "webpack": false
32
32
  },
33
- "gitHead": "cad9531dfe493cc9db9da8ecbf1bbc793ea958fc"
33
+ "gitHead": "f9ea8fb7e8b10f8d969e7afa52ffb9bb76de07b7"
34
34
  }
@@ -1,5 +1,5 @@
1
1
  export const __esModule: true;
2
2
  export const actionButton: string;
3
- export const primary: string;
4
3
  export const focusVisible: string;
4
+ export const primary: string;
5
5
 
@@ -1,8 +1,8 @@
1
1
  export const __esModule: true;
2
- export const preview: string;
3
- export const card: string;
4
- export const title: string;
5
- export const text: string;
6
2
  export const button: string;
3
+ export const card: string;
7
4
  export const footer: string;
5
+ export const preview: string;
6
+ export const text: string;
7
+ export const title: string;
8
8
 
@@ -1,4 +1,4 @@
1
1
  export const __esModule: true;
2
- export const logoCard: string;
3
2
  export const logoAction: string;
3
+ export const logoCard: string;
4
4
 
@@ -1,5 +1,5 @@
1
1
  export const __esModule: true;
2
- export const outOutMessage: string;
3
2
  export const buttonInput: string;
4
3
  export const input: string;
4
+ export const outOutMessage: string;
5
5
 
@@ -1,5 +1,5 @@
1
1
  export const __esModule: true;
2
- export const modal: string;
3
2
  export const divider: string;
3
+ export const modal: string;
4
4
  export const wall: string;
5
5