@next-degree/pickle-shared-js 0.6.44 → 0.6.46

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 (61) hide show
  1. package/dist/{company_service_latest-DQ5joNqO.d.cts → company_service_latest-B7KhyYDc.d.cts} +149 -23
  2. package/dist/{company_service_latest-DQ5joNqO.d.ts → company_service_latest-B7KhyYDc.d.ts} +149 -23
  3. package/dist/components/jobPost/JobPost.cjs +6 -4
  4. package/dist/components/jobPost/JobPost.cjs.map +1 -1
  5. package/dist/components/jobPost/JobPost.d.cts +1 -1
  6. package/dist/components/jobPost/JobPost.d.ts +1 -1
  7. package/dist/components/jobPost/JobPost.js +6 -4
  8. package/dist/components/jobPost/JobPost.js.map +1 -1
  9. package/dist/components/primitives/command.d.cts +3 -3
  10. package/dist/components/primitives/command.d.ts +3 -3
  11. package/dist/components/ui/MapComponent.cjs +9 -2
  12. package/dist/components/ui/MapComponent.cjs.map +1 -1
  13. package/dist/components/ui/MapComponent.d.cts +1 -1
  14. package/dist/components/ui/MapComponent.d.ts +1 -1
  15. package/dist/components/ui/MapComponent.js +9 -2
  16. package/dist/components/ui/MapComponent.js.map +1 -1
  17. package/dist/{displayText-CDK-QDbc.d.ts → displayText-D8JK59Z-.d.ts} +2 -2
  18. package/dist/{displayText-BvUjsvAx.d.cts → displayText-DT2bYICS.d.cts} +2 -2
  19. package/dist/hooks/useDisplayText.d.cts +3 -3
  20. package/dist/hooks/useDisplayText.d.ts +3 -3
  21. package/dist/index.cjs +17 -8
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.d.cts +4 -4
  24. package/dist/index.d.ts +4 -4
  25. package/dist/index.js +17 -8
  26. package/dist/index.js.map +1 -1
  27. package/dist/{job_posting_service_latest-Uc2AcDWn.d.cts → job_posting_service_latest-RgzWsEdh.d.cts} +172 -34
  28. package/dist/{job_posting_service_latest-Uc2AcDWn.d.ts → job_posting_service_latest-RgzWsEdh.d.ts} +172 -34
  29. package/dist/lib/locations.d.cts +2 -2
  30. package/dist/lib/locations.d.ts +2 -2
  31. package/dist/lib/mappings.d.cts +3 -3
  32. package/dist/lib/mappings.d.ts +3 -3
  33. package/dist/lib/salaryRange.cjs +4 -2
  34. package/dist/lib/salaryRange.cjs.map +1 -1
  35. package/dist/lib/salaryRange.d.cts +1 -1
  36. package/dist/lib/salaryRange.d.ts +1 -1
  37. package/dist/lib/salaryRange.js +4 -2
  38. package/dist/lib/salaryRange.js.map +1 -1
  39. package/dist/services/displayText.d.cts +3 -3
  40. package/dist/services/displayText.d.ts +3 -3
  41. package/dist/{shared_pickle_output_latest-DUO_efBh.d.cts → shared_pickle_output_latest-D8viuRLi.d.cts} +20 -4
  42. package/dist/{shared_pickle_output_latest-DUO_efBh.d.ts → shared_pickle_output_latest-D8viuRLi.d.ts} +20 -4
  43. package/dist/types/data/company_service_latest.cjs +6 -4
  44. package/dist/types/data/company_service_latest.cjs.map +1 -1
  45. package/dist/types/data/company_service_latest.d.cts +1 -1
  46. package/dist/types/data/company_service_latest.d.ts +1 -1
  47. package/dist/types/data/company_service_latest.js +6 -4
  48. package/dist/types/data/company_service_latest.js.map +1 -1
  49. package/dist/types/data/job_posting_service_latest.cjs +6 -4
  50. package/dist/types/data/job_posting_service_latest.cjs.map +1 -1
  51. package/dist/types/data/job_posting_service_latest.d.cts +1 -1
  52. package/dist/types/data/job_posting_service_latest.d.ts +1 -1
  53. package/dist/types/data/job_posting_service_latest.js +6 -4
  54. package/dist/types/data/job_posting_service_latest.js.map +1 -1
  55. package/dist/types/data/shared_pickle_output_latest.cjs +4 -2
  56. package/dist/types/data/shared_pickle_output_latest.cjs.map +1 -1
  57. package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
  58. package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
  59. package/dist/types/data/shared_pickle_output_latest.js +4 -2
  60. package/dist/types/data/shared_pickle_output_latest.js.map +1 -1
  61. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -26,9 +26,9 @@ export { BackButton } from './components/buttons/BackButton.cjs';
26
26
  export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.cjs';
27
27
  export { useDisplayText } from './hooks/useDisplayText.cjs';
28
28
  export { useWindowHistory } from './hooks/useWindowHistory.cjs';
29
- export { j as JobPostService } from './job_posting_service_latest-Uc2AcDWn.cjs';
30
- export { c as CompanyService } from './company_service_latest-DQ5joNqO.cjs';
31
- export { s as SharedService } from './shared_pickle_output_latest-DUO_efBh.cjs';
29
+ export { j as JobPostService } from './job_posting_service_latest-RgzWsEdh.cjs';
30
+ export { c as CompanyService } from './company_service_latest-B7KhyYDc.cjs';
31
+ export { s as SharedService } from './shared_pickle_output_latest-D8viuRLi.cjs';
32
32
  import 'react';
33
33
  import 'cva/types';
34
34
  import 'react/jsx-runtime';
@@ -39,5 +39,5 @@ import '@googlemaps/google-maps-services-js';
39
39
  import 'next/link';
40
40
  import 'clsx';
41
41
  import './lib/icons.cjs';
42
- import './displayText-BvUjsvAx.cjs';
42
+ import './displayText-DT2bYICS.cjs';
43
43
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -26,9 +26,9 @@ export { BackButton } from './components/buttons/BackButton.js';
26
26
  export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.js';
27
27
  export { useDisplayText } from './hooks/useDisplayText.js';
28
28
  export { useWindowHistory } from './hooks/useWindowHistory.js';
29
- export { j as JobPostService } from './job_posting_service_latest-Uc2AcDWn.js';
30
- export { c as CompanyService } from './company_service_latest-DQ5joNqO.js';
31
- export { s as SharedService } from './shared_pickle_output_latest-DUO_efBh.js';
29
+ export { j as JobPostService } from './job_posting_service_latest-RgzWsEdh.js';
30
+ export { c as CompanyService } from './company_service_latest-B7KhyYDc.js';
31
+ export { s as SharedService } from './shared_pickle_output_latest-D8viuRLi.js';
32
32
  import 'react';
33
33
  import 'cva/types';
34
34
  import 'react/jsx-runtime';
@@ -39,5 +39,5 @@ import '@googlemaps/google-maps-services-js';
39
39
  import 'next/link';
40
40
  import 'clsx';
41
41
  import './lib/icons.js';
42
- import './displayText-CDK-QDbc.js';
42
+ import './displayText-D8JK59Z-.js';
43
43
  import 'zod';
package/dist/index.js CHANGED
@@ -501,17 +501,24 @@ var Input_default = Input;
501
501
  // src/components/ui/MapComponent.tsx
502
502
  import { APIProvider, Map, AdvancedMarker, Pin } from "@vis.gl/react-google-maps";
503
503
  import { jsx as jsx10 } from "react/jsx-runtime";
504
- function MapComponent({ apiKey, mapId, position, className, zoom = 15 }) {
504
+ function MapComponent({
505
+ apiKey,
506
+ mapId,
507
+ position,
508
+ className,
509
+ zoom = 15
510
+ }) {
505
511
  const defaultPosition = { lat: 40.715021, lng: -74.00459 };
506
512
  const defaultZoom = 11;
507
513
  return /* @__PURE__ */ jsx10(APIProvider, { apiKey, children: /* @__PURE__ */ jsx10("div", { className: cn("h-screen max-w-full", className), children: /* @__PURE__ */ jsx10(
508
514
  Map,
509
515
  {
510
- zoom: position ? zoom : defaultZoom,
516
+ defaultZoom: position ? zoom : defaultZoom,
511
517
  center: position || defaultPosition,
512
518
  mapId,
513
519
  keyboardShortcuts: false,
514
520
  disableDefaultUI: true,
521
+ zoomControl: true,
515
522
  children: position && /* @__PURE__ */ jsx10(AdvancedMarker, { position, children: /* @__PURE__ */ jsx10(Pin, { background: "#0B5441", borderColor: "#EBFDF1", glyphColor: "#D4F500" }) })
516
523
  }
517
524
  ) }) });
@@ -1893,8 +1900,10 @@ var postalAddressSchema = z.object({
1893
1900
  addressCountry: z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
1894
1901
  addressRegion: z.optional(z.string()).describe("The region in which the locality is, and which is in the country."),
1895
1902
  addressLocality: z.optional(z.string()).describe("The locality in which the street address is, and which is in the region. In the US this would be city."),
1896
- streetAddress: z.optional(z.string()).describe("The street address within the locality."),
1897
- postalCode: z.optional(z.string()).describe("The postal code")
1903
+ streetAddress: z.optional(z.string()).describe("The street name of the address within the locality."),
1904
+ streetNumber: z.optional(z.string()).describe("The house of building number within the street."),
1905
+ postalCode: z.optional(z.string()).describe("The postal code"),
1906
+ description: z.optional(z.string()).describe("A descriptive string containing the full address.")
1898
1907
  });
1899
1908
  var placeSchema = z.object({
1900
1909
  version: z.literal("1.0.0").default("1.0.0"),
@@ -2524,7 +2533,7 @@ function JobPost({
2524
2533
  CompanyTake,
2525
2534
  {
2526
2535
  avatarSrc,
2527
- content: job.hiringOrganization?.companyNDG?.companyNDGTake
2536
+ content: job.hiringOrganization?.companyNdg?.companyNdgTake
2528
2537
  }
2529
2538
  ),
2530
2539
  /* @__PURE__ */ jsx31(
@@ -2533,7 +2542,7 @@ function JobPost({
2533
2542
  name: job.hiringOrganization?.companyName ?? "",
2534
2543
  how: job.hiringOrganization?.companyPhilosophy?.companyHow,
2535
2544
  mission: job.hiringOrganization?.companyPhilosophy?.companyMission,
2536
- wow: job.hiringOrganization?.companyNDG?.companyWow,
2545
+ wow: job.hiringOrganization?.companyNdg?.companyWow,
2537
2546
  website: job.hiringOrganization?.companyWebsite
2538
2547
  }
2539
2548
  ),
@@ -2659,7 +2668,7 @@ var companyNdgSchema = z2.object({
2659
2668
  version: z2.literal("1.0.0").default("1.0.0"),
2660
2669
  type: z2.string().describe("Document type used for schema"),
2661
2670
  companyWow: z2.optional(z2.string()).describe("What is the wow of this company?"),
2662
- companyNDGTake: z2.optional(z2.string()).describe("What is the NDG POV on this company?"),
2671
+ companyNdgTake: z2.optional(z2.string()).describe("What is the NDG POV on this company?"),
2663
2672
  companyBestFit: z2.optional(z2.array(z2.string())),
2664
2673
  companyInterests: z2.optional(z2.array(z2.string()))
2665
2674
  });
@@ -2695,7 +2704,7 @@ var companySchema = z2.object({
2695
2704
  brandColor: z2.optional(z2.string()).describe("The brand color of the company"),
2696
2705
  companyCareers: z2.optional(companyCareersSchema).describe("Career Specific Information for the company."),
2697
2706
  companyPhilosophy: z2.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
2698
- companyNDG: z2.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
2707
+ companyNdg: z2.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
2699
2708
  foundingInfo: z2.optional(foundingInformationSchema),
2700
2709
  headquartersLocation: z2.optional(placeSchema),
2701
2710
  employeeEstimate: z2.optional(z2.string()),