@next-degree/pickle-shared-js 0.9.2 → 0.9.4
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/README.md +4 -2
- package/dist/components/jobPost/JobPost.cjs +2 -0
- package/dist/components/jobPost/JobPost.cjs.map +1 -1
- package/dist/components/jobPost/JobPost.d.cts +3 -2
- package/dist/components/jobPost/JobPost.d.ts +3 -2
- package/dist/components/jobPost/JobPost.js +2 -0
- 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/primitives/radio-group.cjs +2 -2
- package/dist/components/primitives/radio-group.cjs.map +1 -1
- package/dist/components/primitives/radio-group.js +4 -2
- package/dist/components/primitives/radio-group.js.map +1 -1
- package/dist/components/ui/Checkbox.cjs +1 -1
- package/dist/components/ui/Checkbox.cjs.map +1 -1
- package/dist/components/ui/Checkbox.js +1 -1
- package/dist/components/ui/Checkbox.js.map +1 -1
- package/dist/components/ui/Combobox.cjs +1 -1
- package/dist/components/ui/Combobox.cjs.map +1 -1
- package/dist/components/ui/Combobox.js +1 -1
- package/dist/components/ui/Combobox.js.map +1 -1
- package/dist/components/ui/DatePicker.cjs +7 -5
- package/dist/components/ui/DatePicker.cjs.map +1 -1
- package/dist/components/ui/DatePicker.d.cts +4 -0
- package/dist/components/ui/DatePicker.d.ts +4 -0
- package/dist/components/ui/DatePicker.js +7 -5
- package/dist/components/ui/DatePicker.js.map +1 -1
- package/dist/components/ui/ListItem.cjs +1 -1
- package/dist/components/ui/ListItem.cjs.map +1 -1
- package/dist/components/ui/ListItem.js +1 -1
- package/dist/components/ui/ListItem.js.map +1 -1
- package/dist/components/ui/Radio.cjs +2 -2
- package/dist/components/ui/Radio.cjs.map +1 -1
- package/dist/components/ui/Radio.js +4 -2
- package/dist/components/ui/Radio.js.map +1 -1
- package/dist/components/ui/Switch.cjs.map +1 -1
- package/dist/components/ui/Switch.js.map +1 -1
- package/dist/{displayText-ca_ofoAC.d.cts → displayText-B5n9hDm3.d.cts} +2 -2
- package/dist/{displayText-eoAHqSNz.d.ts → displayText-Byd8i1xM.d.ts} +2 -2
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- package/dist/index.cjs +11 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +14 -8
- package/dist/index.js.map +1 -1
- package/dist/lib/locations.d.cts +2 -2
- package/dist/lib/locations.d.ts +2 -2
- 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/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/package.json +1 -1
- package/dist/{job_posting_service_latest-BOVbz68F.d.cts → job_posting_service_latest-D9T7gVhJ.d.cts} +5 -5
- package/dist/{job_posting_service_latest-BOVbz68F.d.ts → job_posting_service_latest-D9T7gVhJ.d.ts} +5 -5
- package/dist/{shared_pickle_output_latest-DKOmTyYk.d.cts → shared_pickle_output_latest-CXBCG04N.d.cts} +4 -4
- package/dist/{shared_pickle_output_latest-DKOmTyYk.d.ts → shared_pickle_output_latest-CXBCG04N.d.ts} +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -31,8 +31,8 @@ export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.cjs';
|
|
|
31
31
|
export { useDisplayText } from './hooks/useDisplayText.cjs';
|
|
32
32
|
export { useWindowHistory } from './hooks/useWindowHistory.cjs';
|
|
33
33
|
export { c as CompanyService } from './company_service_latest-CRQFzMep.cjs';
|
|
34
|
-
export { j as JobPostService } from './job_posting_service_latest-
|
|
35
|
-
export { s as SharedService } from './shared_pickle_output_latest-
|
|
34
|
+
export { j as JobPostService } from './job_posting_service_latest-D9T7gVhJ.cjs';
|
|
35
|
+
export { s as SharedService } from './shared_pickle_output_latest-CXBCG04N.cjs';
|
|
36
36
|
import 'cva/types';
|
|
37
37
|
import 'react/jsx-runtime';
|
|
38
38
|
import 'cva';
|
|
@@ -46,5 +46,5 @@ import '@radix-ui/react-radio-group';
|
|
|
46
46
|
import 'next/link';
|
|
47
47
|
import 'clsx';
|
|
48
48
|
import './lib/icons.cjs';
|
|
49
|
-
import './displayText-
|
|
49
|
+
import './displayText-B5n9hDm3.cjs';
|
|
50
50
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.js';
|
|
|
31
31
|
export { useDisplayText } from './hooks/useDisplayText.js';
|
|
32
32
|
export { useWindowHistory } from './hooks/useWindowHistory.js';
|
|
33
33
|
export { c as CompanyService } from './company_service_latest-CRQFzMep.js';
|
|
34
|
-
export { j as JobPostService } from './job_posting_service_latest-
|
|
35
|
-
export { s as SharedService } from './shared_pickle_output_latest-
|
|
34
|
+
export { j as JobPostService } from './job_posting_service_latest-D9T7gVhJ.js';
|
|
35
|
+
export { s as SharedService } from './shared_pickle_output_latest-CXBCG04N.js';
|
|
36
36
|
import 'cva/types';
|
|
37
37
|
import 'react/jsx-runtime';
|
|
38
38
|
import 'cva';
|
|
@@ -46,5 +46,5 @@ import '@radix-ui/react-radio-group';
|
|
|
46
46
|
import 'next/link';
|
|
47
47
|
import 'clsx';
|
|
48
48
|
import './lib/icons.js';
|
|
49
|
-
import './displayText-
|
|
49
|
+
import './displayText-Byd8i1xM.js';
|
|
50
50
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -244,7 +244,7 @@ var CheckboxToggle = forwardRef3(({ className, ...props }, ref) => /* @__PURE__
|
|
|
244
244
|
"data-[state=indeterminate]:bg-green-80",
|
|
245
245
|
"data-[state=checked]:text-white",
|
|
246
246
|
"data-[state=indeterminate]:text-primary-foreground",
|
|
247
|
-
props.disabled && "data-[state=checked]:
|
|
247
|
+
props.disabled && "bg-grey-20 data-[state=checked]:bg-grey-20 data-[state=checked]:text-foreground",
|
|
248
248
|
className
|
|
249
249
|
),
|
|
250
250
|
...props,
|
|
@@ -1331,7 +1331,9 @@ import { forwardRef as forwardRef14 } from "react";
|
|
|
1331
1331
|
|
|
1332
1332
|
// src/components/primitives/radio-group.tsx
|
|
1333
1333
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
1334
|
-
import {
|
|
1334
|
+
import {
|
|
1335
|
+
forwardRef as forwardRef13
|
|
1336
|
+
} from "react";
|
|
1335
1337
|
import { jsx as jsx21, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1336
1338
|
var RadioGroup = forwardRef13(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(RadioGroupPrimitive.Root, { className, ...props, ref }));
|
|
1337
1339
|
RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
|
|
@@ -1342,7 +1344,7 @@ var RadioGroupItem = forwardRef13(({ className, children, ...props }, ref) => {
|
|
|
1342
1344
|
{
|
|
1343
1345
|
ref,
|
|
1344
1346
|
className: cn(
|
|
1345
|
-
"
|
|
1347
|
+
"peer aspect-square h-4 rounded-full border border-grey-10 shadow outline outline-1 outline-offset-2 outline-transparent focus:outline-none focus:outline-purple-100 focus-visible:ring-1 focus-visible:ring-ring active:border-green-80 disabled:cursor-not-allowed disabled:opacity-50 group-hover:border-grey-20 data-[state=checked]:border-4 data-[disabled]:border-grey-20 data-[state=checked]:border-green-90 data-[disabled]:bg-grey-10 data-[state=checked]:group-hover:border-green-80",
|
|
1346
1348
|
className
|
|
1347
1349
|
),
|
|
1348
1350
|
...props
|
|
@@ -1874,7 +1876,7 @@ Calendar.displayName = "Calendar";
|
|
|
1874
1876
|
// src/components/ui/DatePicker.tsx
|
|
1875
1877
|
import { jsx as jsx31, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1876
1878
|
var DatePicker = forwardRef20(
|
|
1877
|
-
({ label, description, required, classNames, value, onChange, error }, ref) => {
|
|
1879
|
+
({ label, description, required, classNames, value, onChange, error, id, testId }, ref) => {
|
|
1878
1880
|
const [date, setDate] = useState6(null);
|
|
1879
1881
|
useEffect6(() => {
|
|
1880
1882
|
setDate(value ?? null);
|
|
@@ -1884,7 +1886,7 @@ var DatePicker = forwardRef20(
|
|
|
1884
1886
|
onChange?.(dateSelected);
|
|
1885
1887
|
setDate(dateSelected);
|
|
1886
1888
|
};
|
|
1887
|
-
return /* @__PURE__ */ jsxs18("div", { className: cn("flex w-auto flex-col gap-1"), children: [
|
|
1889
|
+
return /* @__PURE__ */ jsxs18("div", { id, className: cn("flex w-auto flex-col gap-1"), children: [
|
|
1888
1890
|
label && /* @__PURE__ */ jsx31(
|
|
1889
1891
|
Label_default,
|
|
1890
1892
|
{
|
|
@@ -1895,7 +1897,7 @@ var DatePicker = forwardRef20(
|
|
|
1895
1897
|
}
|
|
1896
1898
|
),
|
|
1897
1899
|
/* @__PURE__ */ jsxs18(Popover, { children: [
|
|
1898
|
-
/* @__PURE__ */ jsx31(PopoverTrigger, { children: /* @__PURE__ */ jsxs18("div", { className: cn(datePickerStyle()), children: [
|
|
1900
|
+
/* @__PURE__ */ jsx31(PopoverTrigger, { "data-testid": testId, children: /* @__PURE__ */ jsxs18("div", { className: cn(datePickerStyle(), classNames?.input), children: [
|
|
1899
1901
|
/* @__PURE__ */ jsx31(CalendarIcon, { size: 16 }),
|
|
1900
1902
|
date ? format(date, "MM/dd/yyyy") : "Select a date"
|
|
1901
1903
|
] }) }),
|
|
@@ -1906,7 +1908,8 @@ var DatePicker = forwardRef20(
|
|
|
1906
1908
|
selected: date || void 0,
|
|
1907
1909
|
onSelect: handleDateSelect,
|
|
1908
1910
|
captionLayout: "dropdown",
|
|
1909
|
-
showOutsideDays: true
|
|
1911
|
+
showOutsideDays: true,
|
|
1912
|
+
className: classNames?.calendar
|
|
1910
1913
|
}
|
|
1911
1914
|
) })
|
|
1912
1915
|
] }),
|
|
@@ -1942,7 +1945,8 @@ var datePickerStyle = cva10([
|
|
|
1942
1945
|
"[&::-webkit-search-results-decoration]:appearance-none",
|
|
1943
1946
|
"[&::-ms-clear]:display-none",
|
|
1944
1947
|
"[&::-ms-reveal]:display-none",
|
|
1945
|
-
"text-grey-80 border"
|
|
1948
|
+
"text-grey-80 border",
|
|
1949
|
+
"font-normal"
|
|
1946
1950
|
]);
|
|
1947
1951
|
|
|
1948
1952
|
// src/components/company/CompanyBenefits.tsx
|
|
@@ -2885,6 +2889,7 @@ function JobPost({
|
|
|
2885
2889
|
bannerSrc,
|
|
2886
2890
|
avatarSrc,
|
|
2887
2891
|
standalone,
|
|
2892
|
+
avatarHref,
|
|
2888
2893
|
fallbackHref,
|
|
2889
2894
|
actions
|
|
2890
2895
|
}) {
|
|
@@ -2941,6 +2946,7 @@ function JobPost({
|
|
|
2941
2946
|
subtitles: [job.hiringOrganization?.companyName ?? "", `Posted ${formattedDate}`],
|
|
2942
2947
|
actions,
|
|
2943
2948
|
standalone,
|
|
2949
|
+
avatarHref,
|
|
2944
2950
|
backFallbackHref: fallbackHref,
|
|
2945
2951
|
tags
|
|
2946
2952
|
}
|