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

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.cts CHANGED
@@ -26,7 +26,7 @@ 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';
29
+ export { j as JobPostService } from './job_posting_service_latest-D3PatPBh.cjs';
30
30
  export { c as CompanyService } from './company_service_latest-DQ5joNqO.cjs';
31
31
  export { s as SharedService } from './shared_pickle_output_latest-DUO_efBh.cjs';
32
32
  import 'react';
@@ -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-C5jAFYZY.cjs';
43
43
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -26,7 +26,7 @@ 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';
29
+ export { j as JobPostService } from './job_posting_service_latest-D3PatPBh.js';
30
30
  export { c as CompanyService } from './company_service_latest-DQ5joNqO.js';
31
31
  export { s as SharedService } from './shared_pickle_output_latest-DUO_efBh.js';
32
32
  import 'react';
@@ -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-Dl2hcn02.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
  ) }) });