@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/components/jobPost/JobPost.d.cts +1 -1
- package/dist/components/jobPost/JobPost.d.ts +1 -1
- package/dist/components/ui/MapComponent.cjs +9 -2
- package/dist/components/ui/MapComponent.cjs.map +1 -1
- package/dist/components/ui/MapComponent.d.cts +1 -1
- package/dist/components/ui/MapComponent.d.ts +1 -1
- package/dist/components/ui/MapComponent.js +9 -2
- package/dist/components/ui/MapComponent.js.map +1 -1
- package/dist/{displayText-BvUjsvAx.d.cts → displayText-C5jAFYZY.d.cts} +1 -1
- package/dist/{displayText-CDK-QDbc.d.ts → displayText-Dl2hcn02.d.ts} +1 -1
- package/dist/hooks/useDisplayText.d.cts +2 -2
- package/dist/hooks/useDisplayText.d.ts +2 -2
- package/dist/index.cjs +9 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/dist/lib/locations.d.cts +1 -1
- package/dist/lib/locations.d.ts +1 -1
- package/dist/lib/mappings.d.cts +2 -2
- package/dist/lib/mappings.d.ts +2 -2
- package/dist/services/displayText.d.cts +2 -2
- package/dist/services/displayText.d.ts +2 -2
- package/dist/types/data/job_posting_service_latest.d.cts +1 -1
- package/dist/types/data/job_posting_service_latest.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{job_posting_service_latest-Uc2AcDWn.d.cts → job_posting_service_latest-D3PatPBh.d.cts} +1 -1
- package/dist/{job_posting_service_latest-Uc2AcDWn.d.ts → job_posting_service_latest-D3PatPBh.d.ts} +1 -1
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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({
|
|
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
|
-
|
|
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
|
) }) });
|