@next-degree/pickle-shared-js 0.12.5 → 0.12.7
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/{company_service_sanity-CCbS8ElX.d.cts → company_service_sanity-2J1ZuUnu.d.cts} +271 -271
- package/dist/{company_service_sanity-B1Xg7ISJ.d.ts → company_service_sanity-KaAGfnNV.d.ts} +271 -271
- package/dist/components/jobCard/JobLocation.d.cts +1 -1
- package/dist/components/jobCard/JobLocation.d.ts +1 -1
- package/dist/components/jobPost/JobHeader.cjs +1 -1
- package/dist/components/jobPost/JobHeader.cjs.map +1 -1
- package/dist/components/jobPost/JobHeader.js +1 -1
- package/dist/components/jobPost/JobHeader.js.map +1 -1
- package/dist/components/jobPost/JobPost.cjs +1 -1
- package/dist/components/jobPost/JobPost.cjs.map +1 -1
- package/dist/components/jobPost/JobPost.d.cts +1 -1
- package/dist/components/jobPost/JobPost.d.ts +1 -1
- package/dist/components/jobPost/JobPost.js +1 -1
- package/dist/components/jobPost/JobPost.js.map +1 -1
- package/dist/components/primitives/command.d.cts +3 -3
- package/dist/components/primitives/command.d.ts +3 -3
- package/dist/components/primitives/input-otp.d.cts +2 -2
- package/dist/components/primitives/input-otp.d.ts +2 -2
- package/dist/components/ui/Select.cjs +19 -6
- package/dist/components/ui/Select.cjs.map +1 -1
- package/dist/components/ui/Select.d.cts +10 -2
- package/dist/components/ui/Select.d.ts +10 -2
- package/dist/components/ui/Select.js +19 -6
- package/dist/components/ui/Select.js.map +1 -1
- package/dist/{displayText-Ck0qovrl.d.cts → displayText-DW0qiJqh.d.cts} +2 -2
- package/dist/{displayText-ClDGmi1J.d.ts → displayText-DahwdHdi.d.ts} +2 -2
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- package/dist/index.cjs +20 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +20 -7
- package/dist/index.js.map +1 -1
- package/dist/{job_posting_service_latest-DfX8Y4gB.d.cts → job_posting_service_latest-C_TEBzCf.d.cts} +184 -184
- package/dist/{job_posting_service_latest-DfX8Y4gB.d.ts → job_posting_service_latest-C_TEBzCf.d.ts} +184 -184
- package/dist/{job_posting_service_latest-Bk53vj02.d.cts → job_posting_service_latest-DdgK8Nnz.d.cts} +184 -184
- package/dist/{job_posting_service_latest-Bk53vj02.d.ts → job_posting_service_latest-DdgK8Nnz.d.ts} +184 -184
- package/dist/{job_posting_service_sanity-C6aPb8kp.d.ts → job_posting_service_sanity-BKo9TBDT.d.ts} +395 -395
- package/dist/{job_posting_service_sanity-BSxLNte3.d.cts → job_posting_service_sanity-BNq-Am9N.d.cts} +395 -395
- package/dist/lib/locations.d.cts +3 -3
- package/dist/lib/locations.d.ts +3 -3
- package/dist/lib/mappings.d.cts +3 -3
- package/dist/lib/mappings.d.ts +3 -3
- package/dist/lib/salaryRange.d.cts +1 -1
- package/dist/lib/salaryRange.d.ts +1 -1
- package/dist/services/displayText.d.cts +3 -3
- package/dist/services/displayText.d.ts +3 -3
- package/dist/styles/globals.css +24 -0
- package/dist/styles/globals.css.map +1 -1
- package/dist/types/data/company_service_latest.d.cts +1 -1
- package/dist/types/data/company_service_latest.d.ts +1 -1
- 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/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
- package/dist/types/index.d.cts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/types/latest/company_service_latest.d.cts +1 -1
- package/dist/types/latest/company_service_latest.d.ts +1 -1
- package/dist/types/latest/custom/company_service_sanity.d.cts +3 -3
- package/dist/types/latest/custom/company_service_sanity.d.ts +3 -3
- package/dist/types/latest/custom/job_posting_service_sanity.d.cts +3 -3
- package/dist/types/latest/custom/job_posting_service_sanity.d.ts +3 -3
- package/dist/types/latest/job_posting_service_latest.d.cts +1 -1
- package/dist/types/latest/job_posting_service_latest.d.ts +1 -1
- package/dist/types/latest/shared_pickle_output_latest.d.cts +1 -1
- package/dist/types/latest/shared_pickle_output_latest.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{company_service_latest-CVgoQ8Mc.d.cts → company_service_latest-C7Moeufo.d.cts} +174 -174
- package/dist/{company_service_latest-CVgoQ8Mc.d.ts → company_service_latest-C7Moeufo.d.ts} +174 -174
- package/dist/{company_service_latest-oWEnaiRd.d.cts → company_service_latest-CITz7F53.d.cts} +174 -174
- package/dist/{company_service_latest-oWEnaiRd.d.ts → company_service_latest-CITz7F53.d.ts} +174 -174
- package/dist/{shared_pickle_output_latest-BjRRmT8R.d.cts → shared_pickle_output_latest-CXBCG04N.d.cts} +15 -15
- package/dist/{shared_pickle_output_latest-BjRRmT8R.d.ts → shared_pickle_output_latest-CXBCG04N.d.ts} +15 -15
- package/dist/{shared_pickle_output_latest-BVF7Zh2H.d.cts → shared_pickle_output_latest-CtvHTPeX.d.cts} +15 -15
- package/dist/{shared_pickle_output_latest-BVF7Zh2H.d.ts → shared_pickle_output_latest-CtvHTPeX.d.ts} +15 -15
package/dist/index.d.cts
CHANGED
|
@@ -34,24 +34,25 @@ export { BackButton } from './components/buttons/BackButton.cjs';
|
|
|
34
34
|
export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.cjs';
|
|
35
35
|
export { useDisplayText } from './hooks/useDisplayText.cjs';
|
|
36
36
|
export { useWindowHistory } from './hooks/useWindowHistory.cjs';
|
|
37
|
-
export { c as CompanyService } from './company_service_latest-
|
|
38
|
-
export { j as JobPostService } from './job_posting_service_latest-
|
|
39
|
-
export { s as SharedService } from './shared_pickle_output_latest-
|
|
37
|
+
export { c as CompanyService } from './company_service_latest-CITz7F53.cjs';
|
|
38
|
+
export { j as JobPostService } from './job_posting_service_latest-C_TEBzCf.cjs';
|
|
39
|
+
export { s as SharedService } from './shared_pickle_output_latest-CXBCG04N.cjs';
|
|
40
40
|
import 'cva/types';
|
|
41
41
|
import 'react/jsx-runtime';
|
|
42
42
|
import 'cva';
|
|
43
43
|
import 'react';
|
|
44
44
|
import 'lucide-react';
|
|
45
45
|
import '@googlemaps/google-maps-services-js';
|
|
46
|
+
import '@radix-ui/react-select';
|
|
46
47
|
import '@radix-ui/react-checkbox';
|
|
47
48
|
import '@radix-ui/react-switch';
|
|
48
49
|
import './components/primitives/radio-group.cjs';
|
|
49
50
|
import '@radix-ui/react-radio-group';
|
|
50
51
|
import 'next/link';
|
|
51
52
|
import '@radix-ui/react-tabs';
|
|
52
|
-
import './shared_pickle_output_latest-
|
|
53
|
+
import './shared_pickle_output_latest-CtvHTPeX.cjs';
|
|
53
54
|
import 'zod';
|
|
54
55
|
import 'clsx';
|
|
55
56
|
import './lib/icons.cjs';
|
|
56
|
-
import './job_posting_service_latest-
|
|
57
|
-
import './displayText-
|
|
57
|
+
import './job_posting_service_latest-DdgK8Nnz.cjs';
|
|
58
|
+
import './displayText-DW0qiJqh.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -34,24 +34,25 @@ export { BackButton } from './components/buttons/BackButton.js';
|
|
|
34
34
|
export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.js';
|
|
35
35
|
export { useDisplayText } from './hooks/useDisplayText.js';
|
|
36
36
|
export { useWindowHistory } from './hooks/useWindowHistory.js';
|
|
37
|
-
export { c as CompanyService } from './company_service_latest-
|
|
38
|
-
export { j as JobPostService } from './job_posting_service_latest-
|
|
39
|
-
export { s as SharedService } from './shared_pickle_output_latest-
|
|
37
|
+
export { c as CompanyService } from './company_service_latest-CITz7F53.js';
|
|
38
|
+
export { j as JobPostService } from './job_posting_service_latest-C_TEBzCf.js';
|
|
39
|
+
export { s as SharedService } from './shared_pickle_output_latest-CXBCG04N.js';
|
|
40
40
|
import 'cva/types';
|
|
41
41
|
import 'react/jsx-runtime';
|
|
42
42
|
import 'cva';
|
|
43
43
|
import 'react';
|
|
44
44
|
import 'lucide-react';
|
|
45
45
|
import '@googlemaps/google-maps-services-js';
|
|
46
|
+
import '@radix-ui/react-select';
|
|
46
47
|
import '@radix-ui/react-checkbox';
|
|
47
48
|
import '@radix-ui/react-switch';
|
|
48
49
|
import './components/primitives/radio-group.js';
|
|
49
50
|
import '@radix-ui/react-radio-group';
|
|
50
51
|
import 'next/link';
|
|
51
52
|
import '@radix-ui/react-tabs';
|
|
52
|
-
import './shared_pickle_output_latest-
|
|
53
|
+
import './shared_pickle_output_latest-CtvHTPeX.js';
|
|
53
54
|
import 'zod';
|
|
54
55
|
import 'clsx';
|
|
55
56
|
import './lib/icons.js';
|
|
56
|
-
import './job_posting_service_latest-
|
|
57
|
-
import './displayText-
|
|
57
|
+
import './job_posting_service_latest-DdgK8Nnz.js';
|
|
58
|
+
import './displayText-DahwdHdi.js';
|
package/dist/index.js
CHANGED
|
@@ -718,6 +718,7 @@ var Select = forwardRef7(
|
|
|
718
718
|
multiselect,
|
|
719
719
|
description,
|
|
720
720
|
classNames,
|
|
721
|
+
dropdownAlign = "start",
|
|
721
722
|
error,
|
|
722
723
|
id,
|
|
723
724
|
children: footer,
|
|
@@ -805,8 +806,13 @@ var Select = forwardRef7(
|
|
|
805
806
|
SelectPrimitive.Content,
|
|
806
807
|
{
|
|
807
808
|
hideWhenDetached: true,
|
|
808
|
-
className:
|
|
809
|
+
className: cn(
|
|
810
|
+
"z-10 max-h-[var(--radix-select-content-available-height)] overflow-hidden rounded-md bg-white py-2 shadow-lg",
|
|
811
|
+
"w-[var(--radix-select-trigger-width)] min-w-[var(--radix-select-trigger-width)]",
|
|
812
|
+
classNames?.content
|
|
813
|
+
),
|
|
809
814
|
position: "popper",
|
|
815
|
+
align: dropdownAlign,
|
|
810
816
|
sideOffset: 4,
|
|
811
817
|
onPointerDownOutside: toggleOpen,
|
|
812
818
|
onKeyDown: closeOnEscape,
|
|
@@ -835,23 +841,30 @@ var Select = forwardRef7(
|
|
|
835
841
|
),
|
|
836
842
|
/* @__PURE__ */ jsx13(Separator, {})
|
|
837
843
|
] }),
|
|
838
|
-
options?.map(({ id: id2, title, value: value2 }) => /* @__PURE__ */ jsxs8(
|
|
844
|
+
options?.map(({ id: id2, title, value: value2, description: description2 }) => /* @__PURE__ */ jsxs8(
|
|
839
845
|
SelectPrimitive.Item,
|
|
840
846
|
{
|
|
841
847
|
value: value2,
|
|
842
|
-
className:
|
|
848
|
+
className: cn(
|
|
849
|
+
"group relative cursor-pointer px-4 py-2 text-left text-sm hover:bg-purple-50 focus:bg-purple-50 focus:outline-none data-[state=checked]:bg-purple-50 data-[state=checked]:pr-10 data-[state=checked]:text-purple-100",
|
|
850
|
+
classNames?.item
|
|
851
|
+
),
|
|
843
852
|
"data-state": selected.includes(value2) ? "checked" : "unchecked",
|
|
844
853
|
onKeyDown: (e) => setValueOnEnter(e, value2),
|
|
845
854
|
onClick: () => handleChange(value2),
|
|
846
855
|
children: [
|
|
847
|
-
/* @__PURE__ */ jsx13(SelectPrimitive.ItemText, { children: title }),
|
|
848
856
|
/* @__PURE__ */ jsx13(
|
|
849
857
|
CheckIcon2,
|
|
850
858
|
{
|
|
851
|
-
className:
|
|
859
|
+
className: cn(
|
|
860
|
+
"absolute inset-y-0 right-3 my-auto hidden w-6 text-purple-100 group-data-[state=checked]:block",
|
|
861
|
+
classNames?.checkmark
|
|
862
|
+
),
|
|
852
863
|
size: 16
|
|
853
864
|
}
|
|
854
|
-
)
|
|
865
|
+
),
|
|
866
|
+
/* @__PURE__ */ jsx13(SelectPrimitive.ItemText, { children: title }),
|
|
867
|
+
description2 && /* @__PURE__ */ jsx13("span", { className: "block text-sm text-grey-70", children: description2 })
|
|
855
868
|
]
|
|
856
869
|
},
|
|
857
870
|
id2
|
|
@@ -2871,7 +2884,7 @@ function JobHeader({
|
|
|
2871
2884
|
/* @__PURE__ */ jsx40("span", { children: label })
|
|
2872
2885
|
]
|
|
2873
2886
|
},
|
|
2874
|
-
name
|
|
2887
|
+
`${name}-${label}`
|
|
2875
2888
|
))
|
|
2876
2889
|
}
|
|
2877
2890
|
)
|