@servicetitan/onboarding-ui 1.16.0 → 1.17.1

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 (53) hide show
  1. package/CHANGELOG.md +223 -0
  2. package/dist/address-suggestion-popover/components/address-suggestion-popover.d.ts.map +1 -1
  3. package/dist/address-suggestion-popover/components/address-suggestion-popover.js +14 -35
  4. package/dist/address-suggestion-popover/components/address-suggestion-popover.js.map +1 -1
  5. package/dist/address-suggestion-popover/index.js +2 -14
  6. package/dist/address-suggestion-popover/index.js.map +1 -1
  7. package/dist/address-suggestion-popover/utils/google-geocoder-suggestions-provider.js +1 -5
  8. package/dist/address-suggestion-popover/utils/google-geocoder-suggestions-provider.js.map +1 -1
  9. package/dist/address-suggestion-popover/utils/index.js +1 -13
  10. package/dist/address-suggestion-popover/utils/index.js.map +1 -1
  11. package/dist/company-profile/components/company-profile-form.js +13 -19
  12. package/dist/company-profile/components/company-profile-form.js.map +1 -1
  13. package/dist/company-profile/components/country-dropdown-input.js +5 -8
  14. package/dist/company-profile/components/country-dropdown-input.js.map +1 -1
  15. package/dist/company-profile/components/state-and-province-dropdown-input.js +7 -10
  16. package/dist/company-profile/components/state-and-province-dropdown-input.js.map +1 -1
  17. package/dist/company-profile/index.js +6 -18
  18. package/dist/company-profile/index.js.map +1 -1
  19. package/dist/company-profile/stores/__mocks__/company-profile-form-mock-data.js +3 -6
  20. package/dist/company-profile/stores/__mocks__/company-profile-form-mock-data.js.map +1 -1
  21. package/dist/company-profile/stores/company-profile-form.store.js +33 -36
  22. package/dist/company-profile/stores/company-profile-form.store.js.map +1 -1
  23. package/dist/company-profile/utils/validators.js +1 -5
  24. package/dist/company-profile/utils/validators.js.map +1 -1
  25. package/dist/contentful/contentful.api.js +2 -5
  26. package/dist/contentful/contentful.api.js.map +1 -1
  27. package/dist/contentful/contentful.data.store.js +7 -13
  28. package/dist/contentful/contentful.data.store.js.map +1 -1
  29. package/dist/contentful/document-to-react-component.js +9 -13
  30. package/dist/contentful/document-to-react-component.js.map +1 -1
  31. package/dist/contentful/index.js +7 -19
  32. package/dist/contentful/index.js.map +1 -1
  33. package/dist/contentful/interfaces.js +1 -2
  34. package/dist/contentful/marketing-carousel.store.js +22 -28
  35. package/dist/contentful/marketing-carousel.store.js.map +1 -1
  36. package/dist/contentful/page-contentful.store.js +18 -21
  37. package/dist/contentful/page-contentful.store.js.map +1 -1
  38. package/dist/contentful/utils.js +7 -15
  39. package/dist/contentful/utils.js.map +1 -1
  40. package/dist/hooks/index.js +1 -13
  41. package/dist/hooks/index.js.map +1 -1
  42. package/dist/hooks/use-scroll-to-error/index.js +1 -13
  43. package/dist/hooks/use-scroll-to-error/index.js.map +1 -1
  44. package/dist/hooks/use-scroll-to-error/use-scroll-to-error.js +5 -9
  45. package/dist/hooks/use-scroll-to-error/use-scroll-to-error.js.map +1 -1
  46. package/dist/index.js +4 -16
  47. package/dist/index.js.map +1 -1
  48. package/dist/utils/collection-helpers.js +1 -5
  49. package/dist/utils/collection-helpers.js.map +1 -1
  50. package/dist/utils/index.js +1 -13
  51. package/dist/utils/index.js.map +1 -1
  52. package/package.json +3 -3
  53. package/src/address-suggestion-popover/components/address-suggestion-popover.tsx +1 -0
@@ -1,25 +1,17 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isOxPermissionsEntry = exports.isDescriptionEntry = exports.isHeaderEntry = exports.isTextEntry = exports.isContentContainerEntry = void 0;
4
1
  const isEntryTypeOf = (entry, type) => entry.sys.contentType.sys.id === type;
5
- const isContentContainerEntry = (entry) => {
2
+ export const isContentContainerEntry = (entry) => {
6
3
  return isEntryTypeOf(entry, 'serviceTitanContentContainer');
7
4
  };
8
- exports.isContentContainerEntry = isContentContainerEntry;
9
- const isTextEntry = (entry) => {
5
+ export const isTextEntry = (entry) => {
10
6
  return isEntryTypeOf(entry, 'serviceTitanText');
11
7
  };
12
- exports.isTextEntry = isTextEntry;
13
- const isHeaderEntry = (entry) => {
14
- return (0, exports.isTextEntry)(entry) && entry.fields.codeId.endsWith('-header');
8
+ export const isHeaderEntry = (entry) => {
9
+ return isTextEntry(entry) && entry.fields.codeId.endsWith('-header');
15
10
  };
16
- exports.isHeaderEntry = isHeaderEntry;
17
- const isDescriptionEntry = (entry) => {
18
- return (0, exports.isTextEntry)(entry) && entry.fields.codeId.endsWith('-description');
11
+ export const isDescriptionEntry = (entry) => {
12
+ return isTextEntry(entry) && entry.fields.codeId.endsWith('-description');
19
13
  };
20
- exports.isDescriptionEntry = isDescriptionEntry;
21
- const isOxPermissionsEntry = (entry) => {
14
+ export const isOxPermissionsEntry = (entry) => {
22
15
  return isEntryTypeOf(entry, 'oxPermission');
23
16
  };
24
- exports.isOxPermissionsEntry = isOxPermissionsEntry;
25
17
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/contentful/utils.ts"],"names":[],"mappings":";;;AAEA,MAAM,aAAa,GAAG,CAAC,KAAqB,EAAE,IAAY,EAAE,EAAE,CAC1D,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC;AAEnC,MAAM,uBAAuB,GAAG,CACnC,KAAqB,EACiB,EAAE;IACxC,OAAO,aAAa,CAAC,KAAK,EAAE,8BAA8B,CAAC,CAAC;AAChE,CAAC,CAAC;AAJW,QAAA,uBAAuB,2BAIlC;AAEK,MAAM,WAAW,GAAG,CAAC,KAAqB,EAAmC,EAAE;IAClF,OAAO,aAAa,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC;AACpD,CAAC,CAAC;AAFW,QAAA,WAAW,eAEtB;AAEK,MAAM,aAAa,GAAG,CAAC,KAAqB,EAAmC,EAAE;IACpF,OAAO,IAAA,mBAAW,EAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AACzE,CAAC,CAAC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AC,cAAc,CAAC,CAAC;AAC9E,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,KAAqB,EAAsC,EAAE;IAC9F,OAAO,aAAa,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC;AAChD,CAAC,CAAC"}
@@ -1,14 +1,2 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./use-scroll-to-error"), exports);
1
+ export * from './use-scroll-to-error';
14
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wDAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -1,14 +1,2 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./use-scroll-to-error"), exports);
1
+ export * from './use-scroll-to-error';
14
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/use-scroll-to-error/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wDAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/use-scroll-to-error/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
@@ -1,16 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useScrollToError = exports.errorClassNamesDefault = void 0;
4
- const react_1 = require("react");
5
- exports.errorClassNamesDefault = [
1
+ import { useCallback, useRef } from 'react';
2
+ export const errorClassNamesDefault = [
6
3
  '.Banner--critical',
7
4
  '.error-warning',
8
5
  '.error',
9
6
  '.FormField--error',
10
7
  ];
11
- const useScrollToError = (errorClassNames = exports.errorClassNamesDefault) => {
12
- const ref = (0, react_1.useRef)(null);
13
- const scrollToErrorHandler = (0, react_1.useCallback)(() => {
8
+ export const useScrollToError = (errorClassNames = errorClassNamesDefault) => {
9
+ const ref = useRef(null);
10
+ const scrollToErrorHandler = useCallback(() => {
14
11
  setTimeout(() => {
15
12
  if (ref.current) {
16
13
  for (const errorClassName of errorClassNames) {
@@ -28,5 +25,4 @@ const useScrollToError = (errorClassNames = exports.errorClassNamesDefault) => {
28
25
  }, [errorClassNames]);
29
26
  return [ref, scrollToErrorHandler];
30
27
  };
31
- exports.useScrollToError = useScrollToError;
32
28
  //# sourceMappingURL=use-scroll-to-error.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-scroll-to-error.js","sourceRoot":"","sources":["../../../src/hooks/use-scroll-to-error/use-scroll-to-error.ts"],"names":[],"mappings":";;;AAAA,iCAAuD;AAE1C,QAAA,sBAAsB,GAAG;IAClC,mBAAmB;IACnB,gBAAgB;IAChB,QAAQ;IACR,mBAAmB;CACtB,CAAC;AAEK,MAAM,gB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K,MAAM,cAAc,IAAI,eAAe,EAAE;oBAC1C,MAAM,KAAK,GAAG,GAAG,CAAC,OAAQ,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;oBACzD,IAAI,KAAK,EAAE;wBACP,KAAK,CAAC,cAAc,CAAC;4BACjB,KAAK,EAAE,QAAQ;4BACf,QAAQ,EAAE,QAAQ;yBACrB,CAAC,CAAC;wBACH,MAAM;qBACT;iBACJ;aACJ;QACL,CAAC,EAAE,CAAC,CAAC,CAAC;IACV,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;IACtB,OAAO,CAAC,GAAG,EAAE,oBAAoB,CAAC,CAAC;AACvC,CAAC,CAAC"}
package/dist/index.js CHANGED
@@ -1,17 +1,5 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./company-profile"), exports);
14
- __exportStar(require("./address-suggestion-popover"), exports);
15
- __exportStar(require("./hooks"), exports);
16
- __exportStar(require("./utils"), exports);
1
+ export * from './company-profile';
2
+ export * from './address-suggestion-popover';
3
+ export * from './hooks';
4
+ export * from './utils';
17
5
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAkC;AAClC,+DAA6C;AAC7C,0CAAwB;AACxB,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -1,8 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.arrayToMap = void 0;
4
- const arrayToMap = (array, keySelector) => {
1
+ export const arrayToMap = (array, keySelector) => {
5
2
  return new Map((array !== null && array !== void 0 ? array : []).map(item => [keySelector(item), item]));
6
3
  };
7
- exports.arrayToMap = arrayToMap;
8
4
  //# sourceMappingURL=collection-helpers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"collection-helpers.js","sourceRoot":"","sources":["../../src/utils/collection-helpers.ts"],"names":[],"mappings":";;;AAAO,MAAM,UAAU,GAAG,CAAO,KAAsB,EAAE,WAA2B,EAAE,EAAE;IACpF,OAAO,IAAI,GAAG,CAAO,CAAC,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;AAC/E,CAAC,CAAC;AAFW,QAAA,UAAU,cAErB"}
1
+ {"version":3,"file":"collection-helpers.js","sourceRoot":"","sources":["../../src/utils/collection-helpers.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAO,KAAsB,EAAE,WAA2B,EAAE,EAAE;IACpF,OAAO,IAAI,GAAG,CAAO,CAAC,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;AAC/E,CAAC,CAAC"}
@@ -1,14 +1,2 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./collection-helpers"), exports);
1
+ export * from './collection-helpers';
14
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/onboarding-ui",
3
- "version": "1.16.0",
3
+ "version": "1.17.1",
4
4
  "description": "Shared components between servicetitan monolith and Onboarding",
5
5
  "repository": {
6
6
  "type": "git",
@@ -51,7 +51,7 @@
51
51
  "dependencies": {
52
52
  "@contentful/rich-text-react-renderer": "^15.6.2",
53
53
  "@contentful/rich-text-types": "^15.7.0",
54
- "@servicetitan/react-hooks": "^2.6.0",
54
+ "@servicetitan/react-hooks": "^2.7.0",
55
55
  "@types/google.maps": "^3.45.6",
56
56
  "classnames": "~2.3.1",
57
57
  "contentful-resolve-response": "^1.3.0",
@@ -68,5 +68,5 @@
68
68
  "less": true,
69
69
  "webpack": false
70
70
  },
71
- "gitHead": "c7ad5d5adaf18bf3e67cda4f4d616bd986b63b66"
71
+ "gitHead": "95353485da31143047ad9b538d74fd5bf3167f6e"
72
72
  }
@@ -25,6 +25,7 @@ export interface AddressSuggestionResult {
25
25
  export const countryValues = new Map([
26
26
  ['us', 'USA'],
27
27
  ['can', 'Canada'],
28
+ ['ca', 'Canada'],
28
29
  ]);
29
30
 
30
31
  const withVerifiedCountryValue = (address: AddressModel): AddressModel => {