magneto365.ui 2.75.1-job-details.3 → 2.75.1-job-details.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.
Files changed (18) hide show
  1. package/dist/cjs/css/magneto.ui.lib.min.css +1 -1
  2. package/dist/cjs/index.js +781 -758
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/types/components/UI/organism/JobDetails/children/JobDetailsDrawer/JobDetailsDrawer.context.d.ts +3 -0
  5. package/dist/cjs/types/components/UI/organism/JobDetails/children/JobDetailsDrawer/JobDetailsDrawer.interface.d.ts +3 -0
  6. package/dist/cjs/types/components/UI/organism/JobDetails/children/JobDetailsDrawer/JobDetailsDrawerClose/JobDetailsDrawerClose.component.d.ts +2 -0
  7. package/dist/cjs/types/components/UI/organism/JobDetails/children/JobDetailsDrawer/JobDetailsDrawerClose/index.d.ts +1 -0
  8. package/dist/cjs/types/components/UI/organism/JobDetails/index.d.ts +3 -1
  9. package/dist/esm/css/magneto.ui.lib.min.css +1 -1
  10. package/dist/esm/index.js +781 -758
  11. package/dist/esm/index.js.map +1 -1
  12. package/dist/esm/types/components/UI/organism/JobDetails/children/JobDetailsDrawer/JobDetailsDrawer.context.d.ts +3 -0
  13. package/dist/esm/types/components/UI/organism/JobDetails/children/JobDetailsDrawer/JobDetailsDrawer.interface.d.ts +3 -0
  14. package/dist/esm/types/components/UI/organism/JobDetails/children/JobDetailsDrawer/JobDetailsDrawerClose/JobDetailsDrawerClose.component.d.ts +2 -0
  15. package/dist/esm/types/components/UI/organism/JobDetails/children/JobDetailsDrawer/JobDetailsDrawerClose/index.d.ts +1 -0
  16. package/dist/esm/types/components/UI/organism/JobDetails/index.d.ts +3 -1
  17. package/dist/index.d.ts +128 -124
  18. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { IJobDetailsDrawerContext } from '.';
3
+ export declare const JobDetailsDrawerContext: import("react").Context<IJobDetailsDrawerContext>;
@@ -1,2 +1,5 @@
1
1
  import { IDrawer } from '@components/UI/molecules';
2
2
  export declare type IJobDetailsDrawer = Omit<IDrawer, 'hideButton' | 'direction' | 'fit-content' | 'customPadding'>;
3
+ export interface IJobDetailsDrawerContext {
4
+ onClose: () => void;
5
+ }
@@ -0,0 +1,2 @@
1
+ declare const JobDetailsDrawerClose: (props: JSX.IntrinsicElements['button']) => JSX.Element;
2
+ export default JobDetailsDrawerClose;
@@ -0,0 +1 @@
1
+ export { default as JobDetailsDrawerClose } from './JobDetailsDrawerClose.component';
@@ -13,6 +13,8 @@ export declare const JobDetails: import("react").FC<import("./JobDetails.interfa
13
13
  SharePopover: import("react").FC<import("./children/JobDetailsAction").IJobDetailsAction.SharePopover>;
14
14
  };
15
15
  Subtitle: import("react").FC<import("./children/JobDetailsSubTitle").IJobDetailsSubTitle>;
16
- Drawer: import("react").FC<import("../JobDetailsDrawer").IJobDetailsDrawer>;
16
+ Drawer: import("react").FC<import("./children/JobDetailsDrawer").IJobDetailsDrawer> & {
17
+ Close: (props: import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => JSX.Element;
18
+ };
17
19
  Skeleton: () => JSX.Element;
18
20
  };
package/dist/index.d.ts CHANGED
@@ -14,11 +14,11 @@ import { IFilterValue as IFilterValue$1, ISetIsApplied as ISetIsApplied$1, IFilt
14
14
  import { TVacantOption as TVacantOption$1 } from '@components/UI/page';
15
15
  import { IJobsActions as IJobsActions$1, TJobActionsVariant as TJobActionsVariant$1 } from '@components/UI/molecules/JobActions';
16
16
  import * as _components_UI_molecules from '@components/UI/molecules';
17
- import { IMegaMenuCard as IMegaMenuCard$1, IFiltersRef as IFiltersRef$1, IDatePicker as IDatePicker$1, IBreadcrumbs as IBreadcrumbs$1, IUserMenuWrapperAnalystProps as IUserMenuWrapperAnalystProps$1, ISharePopover as ISharePopover$1, IJobCompanyHeader as IJobCompanyHeader$2, IJobDetailCard as IJobDetailCard$1, IJobSkillsCard as IJobSkillsCard$1, IJobApplyCard as IJobApplyCard$1, IJobFooterCard as IJobFooterCard$1, ICityDetail as ICityDetail$1, IAlertJobStatus as IAlertJobStatus$1, TJobActionsVariant as TJobActionsVariant$2, IJobsActions as IJobsActions$2, TimeLineItemStatus as TimeLineItemStatus$1, IUserMenuAnalystProps as IUserMenuAnalystProps$1, IFrequentSearch as IFrequentSearch$1, IPaginationProps as IPaginationProps$1, IEmptyResults as IEmptyResults$2, IJobCard as IJobCard$2, IHorizontalMenu as IHorizontalMenu$1, TCandidateProfile as TCandidateProfile$1, ISearchbar as ISearchbar$1, IMegaMenuSideCards as IMegaMenuSideCards$1 } from '@components/UI/molecules';
17
+ import { IMegaMenuCard as IMegaMenuCard$1, IFiltersRef as IFiltersRef$1, IDatePicker as IDatePicker$1, IBreadcrumbs as IBreadcrumbs$1, IUserMenuWrapperAnalystProps as IUserMenuWrapperAnalystProps$1, IDrawer as IDrawer$1, ISharePopover as ISharePopover$1, IJobCompanyHeader as IJobCompanyHeader$2, IJobDetailCard as IJobDetailCard$1, IJobSkillsCard as IJobSkillsCard$1, IJobApplyCard as IJobApplyCard$1, IJobFooterCard as IJobFooterCard$1, ICityDetail as ICityDetail$1, IAlertJobStatus as IAlertJobStatus$1, TJobActionsVariant as TJobActionsVariant$2, IJobsActions as IJobsActions$2, TimeLineItemStatus as TimeLineItemStatus$1, IUserMenuAnalystProps as IUserMenuAnalystProps$1, IFrequentSearch as IFrequentSearch$1, IPaginationProps as IPaginationProps$1, IEmptyResults as IEmptyResults$2, IJobCard as IJobCard$2, IHorizontalMenu as IHorizontalMenu$1, TCandidateProfile as TCandidateProfile$1, ISearchbar as ISearchbar$1, IMegaMenuSideCards as IMegaMenuSideCards$1 } from '@components/UI/molecules';
18
18
  import { IMegaMenuLink as IMegaMenuLink$1 } from '@components/UI/template/MegaMenu/MegaMenuContext.interface';
19
19
  import { IToggleButton as IToggleButton$1, IToggleButtonOnchangeValues as IToggleButtonOnchangeValues$1 } from '@components/UI/atoms/ToggleButton/ToggleButton.interface';
20
20
  import * as _components_UI_organism from '@components/UI/organism';
21
- import { IMobileDatePicker as IMobileDatePicker$1, IDatePickerComponent as IDatePickerComponent$1, IJobDetailsDrawer as IJobDetailsDrawer$1, IMobileJobDetailsDrawer as IMobileJobDetailsDrawer$1, IHeaderAnalyst as IHeaderAnalyst$1, IModalAnalyst as IModalAnalyst$1, INavMenuAnalystRegion as INavMenuAnalystRegion$1, IlistMenuUserProps as IlistMenuUserProps$1 } from '@components/UI/organism';
21
+ import { IMobileDatePicker as IMobileDatePicker$1, IDatePickerComponent as IDatePickerComponent$1, IJobDetailsDrawer as IJobDetailsDrawer$2, IMobileJobDetailsDrawer as IMobileJobDetailsDrawer$1, IHeaderAnalyst as IHeaderAnalyst$1, IModalAnalyst as IModalAnalyst$1, INavMenuAnalystRegion as INavMenuAnalystRegion$1, IlistMenuUserProps as IlistMenuUserProps$1 } from '@components/UI/organism';
22
22
  import { IListMenuText as IListMenuText$1 } from '@components/UI/molecules/ListMenuText/ListMenuText.interface';
23
23
  import { IJobCompanyHeader as IJobCompanyHeader$1 } from '@components/UI/molecules/JobCompanyHeader';
24
24
  import { ISimilarJobsCard as ISimilarJobsCard$1 } from '@components/UI/molecules/SimilarJobsCard/SimilarJobsCard.interface';
@@ -4635,6 +4635,131 @@ interface ILogoAnalyst extends ILogoComponent$1 {
4635
4635
  */
4636
4636
  declare const HeaderAnalyst: React__default.FC<IHeaderAnalyst>;
4637
4637
 
4638
+ declare type IJobDetailsDrawer$1 = Omit<IDrawer$1, 'hideButton' | 'direction' | 'fit-content' | 'customPadding'>;
4639
+
4640
+ declare const iconJobDetailsSubTitle: {
4641
+ allJobs: any;
4642
+ glass: any;
4643
+ tag: any;
4644
+ building: any;
4645
+ briefcase: any;
4646
+ };
4647
+
4648
+ interface IJobDetailsSubTitle {
4649
+ className?: string;
4650
+ icon?: keyof typeof iconJobDetailsSubTitle;
4651
+ children?: React.ReactNode;
4652
+ }
4653
+
4654
+ declare namespace IJobDetailsAction {
4655
+ interface Common {
4656
+ icon?: keyof typeof iconJobDetailsAction;
4657
+ iconSize?: number;
4658
+ iconAlt?: string;
4659
+ rounded?: boolean;
4660
+ variant?: 'transparent' | 'grey';
4661
+ }
4662
+ export type Button = React.ComponentPropsWithoutRef<'button'> & Common;
4663
+ export type Link = React.ComponentPropsWithoutRef<'a'> & Common;
4664
+ export type SharePopover = ISharePopover$1 & Common;
4665
+ export {};
4666
+ }
4667
+
4668
+ interface IJobDetailsFraudLink extends React.ComponentProps<typeof Typography$1.Link> {
4669
+ className?: string;
4670
+ children?: React.ReactNode;
4671
+ }
4672
+
4673
+ interface IJobDetailsFraud {
4674
+ className?: string;
4675
+ children?: React.ReactNode;
4676
+ renderTitle?: () => React.ReactNode;
4677
+ }
4678
+
4679
+ declare type Skill = ISkill$1 & {
4680
+ id: number | string;
4681
+ };
4682
+ interface IJobDetailsSkills {
4683
+ className?: string;
4684
+ children?: React.ReactNode;
4685
+ skills: Skill[];
4686
+ }
4687
+
4688
+ declare type Icon = 'calendar' | 'people' | 'briefcase' | 'dollar-circle' | 'location' | 'tag';
4689
+ interface Item {
4690
+ id: number | string;
4691
+ icon: Icon;
4692
+ label: React.ReactNode;
4693
+ }
4694
+ interface IJobDetailsSummary {
4695
+ items: Item[];
4696
+ className?: string;
4697
+ classNames?: {
4698
+ item?: string;
4699
+ label?: string;
4700
+ icon?: string;
4701
+ };
4702
+ children?: React.ReactNode;
4703
+ }
4704
+
4705
+ interface IJobDetailsSuggested {
4706
+ behavior?: 'showcase' | 'tab';
4707
+ classNames?: {
4708
+ container?: string;
4709
+ tag?: string;
4710
+ header?: string;
4711
+ body?: string;
4712
+ };
4713
+ tag?: React.ReactNode;
4714
+ title: React.ReactNode;
4715
+ children?: React.ReactNode;
4716
+ }
4717
+
4718
+ interface IJobDetailsHeader {
4719
+ className?: string;
4720
+ classNames?: {
4721
+ info?: string;
4722
+ title?: string;
4723
+ publishDate?: string;
4724
+ };
4725
+ title: React.ReactNode;
4726
+ publishedDate: React.ReactNode;
4727
+ children?: React.ReactNode;
4728
+ }
4729
+
4730
+ interface IJobDetails {
4731
+ renderHeader: () => React.ReactNode;
4732
+ children?: React.ReactNode;
4733
+ renderFooter?: () => React.ReactNode;
4734
+ className?: string;
4735
+ classNames?: {
4736
+ header?: string;
4737
+ body?: string;
4738
+ footer?: string;
4739
+ separator?: string;
4740
+ };
4741
+ }
4742
+
4743
+ declare const JobDetails: React$1.FC<IJobDetails> & {
4744
+ Header: React$1.FC<IJobDetailsHeader>;
4745
+ JobsSuggested: React$1.FC<IJobDetailsSuggested>;
4746
+ Summary: React$1.FC<IJobDetailsSummary>;
4747
+ Skills: React$1.FC<IJobDetailsSkills>;
4748
+ Fraud: React$1.FC<IJobDetailsFraud> & {
4749
+ Link: React$1.FC<IJobDetailsFraudLink>;
4750
+ };
4751
+ Action: {
4752
+ Button: React$1.FC<IJobDetailsAction.Button>;
4753
+ Link: React$1.FC<IJobDetailsAction.Link>;
4754
+ SharePopover: React$1.FC<IJobDetailsAction.SharePopover>;
4755
+ };
4756
+ Subtitle: React$1.FC<IJobDetailsSubTitle>;
4757
+ Drawer: React$1.FC<IJobDetailsDrawer$1> & {
4758
+ Close: (props: React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) => JSX.Element;
4759
+ };
4760
+ Skeleton: () => JSX.Element;
4761
+ };
4762
+
4638
4763
  interface ISimilarJobs {
4639
4764
  /**
4640
4765
  * this is the title in the top
@@ -4766,127 +4891,6 @@ interface IJobDetailsDrawer {
4766
4891
  */
4767
4892
  declare const JobDetailsDrawer: React__default.FC<IJobDetailsDrawer>;
4768
4893
 
4769
- declare const iconJobDetailsSubTitle: {
4770
- allJobs: any;
4771
- glass: any;
4772
- tag: any;
4773
- building: any;
4774
- briefcase: any;
4775
- };
4776
-
4777
- interface IJobDetailsSubTitle {
4778
- className?: string;
4779
- icon?: keyof typeof iconJobDetailsSubTitle;
4780
- children?: React.ReactNode;
4781
- }
4782
-
4783
- declare namespace IJobDetailsAction {
4784
- interface Common {
4785
- icon?: keyof typeof iconJobDetailsAction;
4786
- iconSize?: number;
4787
- iconAlt?: string;
4788
- rounded?: boolean;
4789
- variant?: 'transparent' | 'grey';
4790
- }
4791
- export type Button = React.ComponentPropsWithoutRef<'button'> & Common;
4792
- export type Link = React.ComponentPropsWithoutRef<'a'> & Common;
4793
- export type SharePopover = ISharePopover$1 & Common;
4794
- export {};
4795
- }
4796
-
4797
- interface IJobDetailsFraudLink extends React.ComponentProps<typeof Typography$1.Link> {
4798
- className?: string;
4799
- children?: React.ReactNode;
4800
- }
4801
-
4802
- interface IJobDetailsFraud {
4803
- className?: string;
4804
- children?: React.ReactNode;
4805
- renderTitle?: () => React.ReactNode;
4806
- }
4807
-
4808
- declare type Skill = ISkill$1 & {
4809
- id: number | string;
4810
- };
4811
- interface IJobDetailsSkills {
4812
- className?: string;
4813
- children?: React.ReactNode;
4814
- skills: Skill[];
4815
- }
4816
-
4817
- declare type Icon = 'calendar' | 'people' | 'briefcase' | 'dollar-circle' | 'location' | 'tag';
4818
- interface Item {
4819
- id: number | string;
4820
- icon: Icon;
4821
- label: React.ReactNode;
4822
- }
4823
- interface IJobDetailsSummary {
4824
- items: Item[];
4825
- className?: string;
4826
- classNames?: {
4827
- item?: string;
4828
- label?: string;
4829
- icon?: string;
4830
- };
4831
- children?: React.ReactNode;
4832
- }
4833
-
4834
- interface IJobDetailsSuggested {
4835
- behavior?: 'showcase' | 'tab';
4836
- classNames?: {
4837
- container?: string;
4838
- tag?: string;
4839
- header?: string;
4840
- body?: string;
4841
- };
4842
- tag?: React.ReactNode;
4843
- title: React.ReactNode;
4844
- children?: React.ReactNode;
4845
- }
4846
-
4847
- interface IJobDetailsHeader {
4848
- className?: string;
4849
- classNames?: {
4850
- info?: string;
4851
- title?: string;
4852
- publishDate?: string;
4853
- };
4854
- title: React.ReactNode;
4855
- publishedDate: React.ReactNode;
4856
- children?: React.ReactNode;
4857
- }
4858
-
4859
- interface IJobDetails {
4860
- renderHeader: () => React.ReactNode;
4861
- children?: React.ReactNode;
4862
- renderFooter?: () => React.ReactNode;
4863
- className?: string;
4864
- classNames?: {
4865
- header?: string;
4866
- body?: string;
4867
- footer?: string;
4868
- separator?: string;
4869
- };
4870
- }
4871
-
4872
- declare const JobDetails: React$1.FC<IJobDetails> & {
4873
- Header: React$1.FC<IJobDetailsHeader>;
4874
- JobsSuggested: React$1.FC<IJobDetailsSuggested>;
4875
- Summary: React$1.FC<IJobDetailsSummary>;
4876
- Skills: React$1.FC<IJobDetailsSkills>;
4877
- Fraud: React$1.FC<IJobDetailsFraud> & {
4878
- Link: React$1.FC<IJobDetailsFraudLink>;
4879
- };
4880
- Action: {
4881
- Button: React$1.FC<IJobDetailsAction.Button>;
4882
- Link: React$1.FC<IJobDetailsAction.Link>;
4883
- SharePopover: React$1.FC<IJobDetailsAction.SharePopover>;
4884
- };
4885
- Subtitle: React$1.FC<IJobDetailsSubTitle>;
4886
- Drawer: React$1.FC<IJobDetailsDrawer>;
4887
- Skeleton: () => JSX.Element;
4888
- };
4889
-
4890
4894
  interface IJobSuggestedCard {
4891
4895
  /**
4892
4896
  * this property sets any component
@@ -6736,7 +6740,7 @@ interface ISuggestedJobsPage {
6736
6740
  * Props for the job details drawer component.
6737
6741
  * The job details drawer shows detailed information about a selected job listing.
6738
6742
  */
6739
- jobDetailsDrawerProps: IJobDetailsDrawer$1;
6743
+ jobDetailsDrawerProps: IJobDetailsDrawer$2;
6740
6744
  /**
6741
6745
  * An array of job card props to display multiple job listings.
6742
6746
  * Each job card contains information about a single job listing.
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/W170/talenta.magneto365.ui.git"
6
6
  },
7
- "version": "2.75.1-job-details.3",
7
+ "version": "2.75.1-job-details.4",
8
8
  "description": "Magneto365 UI common components",
9
9
  "scripts": {
10
10
  "generate:tokens": "node ./.scripts/generateTokens.js",