qlu-20-ui-library 1.7.3 → 1.7.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/dist/build/qlu-20-ui-library.cjs +53 -53
- package/dist/build/qlu-20-ui-library.js +4277 -4056
- package/dist/components/AdvanceFilterJobTitleV2/index.d.ts +2 -1
- package/dist/components/AssignmentBreadCrumb/index.d.ts +2 -1
- package/dist/components/AssignmentCreationCard/index.d.ts +2 -1
- package/dist/components/AssignmentIdealProfileSelectionCard/DynamicEducationCard/index.d.ts +2 -1
- package/dist/components/AssignmentIdealProfileSelectionCard/DynamicExperienceCard/index.d.ts +2 -1
- package/dist/components/AssignmentIdealProfileSelectionCard/NotesProspectiveList/index.d.ts +2 -1
- package/dist/components/AssignmentIdealProfileSelectionCard/ProfileCard/index.d.ts +2 -1
- package/dist/components/AssignmentIdealProfileSelectionCard/ProfileIstSection/index.d.ts +2 -1
- package/dist/components/AssignmentIdealProfileSelectionCard/ProfileSecondSection/index.d.ts +2 -1
- package/dist/components/AssignmentIdealProfileSelectionCard/index.d.ts +2 -1
- package/dist/components/BadgeWithCount/index.d.ts +2 -1
- package/dist/components/BusinessUnitView/BusinessUnitViewTabsComponent/BusinessUnitViewTabsComponent.d.ts +2 -1
- package/dist/components/ChatDropDown/index.d.ts +4 -1
- package/dist/components/CheckboxComponent/index.d.ts +1 -0
- package/dist/components/ChevronDropDown/index.d.ts +4 -1
- package/dist/components/ClickableText/index.d.ts +2 -1
- package/dist/components/ColoredButton/index.d.ts +2 -1
- package/dist/components/CompanyDetailsCard/index.d.ts +2 -1
- package/dist/components/CompanyLikePillSelectable/index.d.ts +2 -1
- package/dist/components/CompanyLogoPillSelectable/index.d.ts +2 -1
- package/dist/components/CompanyView/CompanyViewHeader/index.d.ts +1 -0
- package/dist/components/CompanyView/CompanyViewTabsComponent/index.d.ts +1 -0
- package/dist/components/DropDownButton/index.d.ts +2 -1
- package/dist/components/FilterAndSortDropdown/index.d.ts +2 -1
- package/dist/components/InputField/index.d.ts +3 -1
- package/dist/components/InputFieldWithSvg/index.d.ts +2 -1
- package/dist/components/NumberInputField/index.d.ts +2 -1
- package/dist/components/PersonView/PersonViewBody/index.d.ts +1 -0
- package/dist/components/PersonView/PersonViewExperienceCard/index.d.ts +1 -0
- package/dist/components/PersonView/PersonViewExperienceDetails/index.d.ts +1 -0
- package/dist/components/PersonView/PersonViewHeader/index.d.ts +1 -0
- package/dist/components/PersonView/PersonViewSummary/index.d.ts +2 -1
- package/dist/components/PersonView/PersonViewTabsComponent/index.d.ts +1 -0
- package/dist/components/PrimaryButton/index.d.ts +2 -1
- package/dist/components/PromptField/index.d.ts +2 -1
- package/dist/components/SearchFilterButton/index.d.ts +2 -1
- package/dist/components/SearchFilterSideDrawer/SaveSearch/index.d.ts +2 -1
- package/dist/components/Select/index.d.ts +2 -1
- package/dist/components/SelectDropDown/index.d.ts +2 -1
- package/dist/components/SelectItem/index.d.ts +3 -2
- package/dist/components/SelectablePill/index.d.ts +2 -1
- package/dist/components/SwitchLarge/index.d.ts +2 -1
- package/dist/components/TableNameCell/index.d.ts +2 -1
- package/dist/components/TablePagination/index.d.ts +1 -0
- package/dist/components/Tabs/index.d.ts +2 -1
- package/dist/components/TertiaryButton/index.d.ts +2 -1
- package/dist/components/ToggleComponent/index.d.ts +1 -0
- package/dist/types/components/AdvanceFilterJobTitleV2/index.d.ts +2 -1
- package/dist/types/components/AdvanceFilterJobTitleV2/index.js +3 -3
- package/dist/types/components/AssignmentBreadCrumb/index.d.ts +2 -1
- package/dist/types/components/AssignmentBreadCrumb/index.js +2 -2
- package/dist/types/components/AssignmentCreationCard/index.d.ts +2 -1
- package/dist/types/components/AssignmentCreationCard/index.js +4 -3
- package/dist/types/components/AssignmentIdealProfileSelectionCard/DynamicEducationCard/index.d.ts +2 -1
- package/dist/types/components/AssignmentIdealProfileSelectionCard/DynamicEducationCard/index.js +2 -2
- package/dist/types/components/AssignmentIdealProfileSelectionCard/DynamicExperienceCard/index.d.ts +2 -1
- package/dist/types/components/AssignmentIdealProfileSelectionCard/DynamicExperienceCard/index.js +2 -2
- package/dist/types/components/AssignmentIdealProfileSelectionCard/NotesProspectiveList/index.d.ts +2 -1
- package/dist/types/components/AssignmentIdealProfileSelectionCard/NotesProspectiveList/index.js +2 -2
- package/dist/types/components/AssignmentIdealProfileSelectionCard/ProfileCard/index.d.ts +2 -1
- package/dist/types/components/AssignmentIdealProfileSelectionCard/ProfileCard/index.js +2 -2
- package/dist/types/components/AssignmentIdealProfileSelectionCard/ProfileIstSection/index.d.ts +2 -1
- package/dist/types/components/AssignmentIdealProfileSelectionCard/ProfileIstSection/index.js +2 -2
- package/dist/types/components/AssignmentIdealProfileSelectionCard/ProfileSecondSection/index.d.ts +2 -1
- package/dist/types/components/AssignmentIdealProfileSelectionCard/ProfileSecondSection/index.js +2 -2
- package/dist/types/components/AssignmentIdealProfileSelectionCard/index.d.ts +2 -1
- package/dist/types/components/AssignmentIdealProfileSelectionCard/index.js +2 -2
- package/dist/types/components/BadgeWithCount/index.d.ts +2 -1
- package/dist/types/components/BadgeWithCount/index.js +2 -2
- package/dist/types/components/BusinessUnitView/BusinessUnitViewTabsComponent/BusinessUnitViewTabsComponent.d.ts +2 -1
- package/dist/types/components/BusinessUnitView/BusinessUnitViewTabsComponent/BusinessUnitViewTabsComponent.js +2 -2
- package/dist/types/components/ChatDropDown/index.d.ts +4 -1
- package/dist/types/components/ChatDropDown/index.js +4 -4
- package/dist/types/components/CheckboxComponent/index.d.ts +1 -0
- package/dist/types/components/CheckboxComponent/index.js +2 -2
- package/dist/types/components/ChevronDropDown/index.d.ts +4 -1
- package/dist/types/components/ChevronDropDown/index.js +10 -3
- package/dist/types/components/ClickableText/index.d.ts +2 -1
- package/dist/types/components/ClickableText/index.js +2 -2
- package/dist/types/components/ColoredButton/index.d.ts +2 -1
- package/dist/types/components/ColoredButton/index.js +2 -2
- package/dist/types/components/CompanyDetailsCard/index.d.ts +2 -1
- package/dist/types/components/CompanyDetailsCard/index.js +3 -3
- package/dist/types/components/CompanyLikePillSelectable/index.d.ts +2 -1
- package/dist/types/components/CompanyLikePillSelectable/index.js +2 -2
- package/dist/types/components/CompanyLogoPillSelectable/index.d.ts +2 -1
- package/dist/types/components/CompanyLogoPillSelectable/index.js +2 -2
- package/dist/types/components/CompanyView/CompanyViewHeader/index.d.ts +1 -0
- package/dist/types/components/CompanyView/CompanyViewHeader/index.js +3 -3
- package/dist/types/components/CompanyView/CompanyViewTabsComponent/index.d.ts +1 -0
- package/dist/types/components/CompanyView/CompanyViewTabsComponent/index.js +4 -2
- package/dist/types/components/DropDownButton/index.d.ts +2 -1
- package/dist/types/components/DropDownButton/index.js +2 -2
- package/dist/types/components/FilterAndSortDropdown/index.d.ts +2 -1
- package/dist/types/components/FilterAndSortDropdown/index.js +5 -5
- package/dist/types/components/InputField/index.d.ts +3 -1
- package/dist/types/components/InputField/index.js +2 -2
- package/dist/types/components/InputFieldWithSvg/index.d.ts +2 -1
- package/dist/types/components/InputFieldWithSvg/index.js +3 -3
- package/dist/types/components/NumberInputField/index.d.ts +2 -1
- package/dist/types/components/NumberInputField/index.js +2 -2
- package/dist/types/components/PersonView/PersonViewBody/index.d.ts +1 -0
- package/dist/types/components/PersonView/PersonViewBody/index.js +2 -2
- package/dist/types/components/PersonView/PersonViewExperienceCard/index.d.ts +1 -0
- package/dist/types/components/PersonView/PersonViewExperienceCard/index.js +2 -2
- package/dist/types/components/PersonView/PersonViewExperienceDetails/index.d.ts +1 -0
- package/dist/types/components/PersonView/PersonViewExperienceDetails/index.js +3 -3
- package/dist/types/components/PersonView/PersonViewHeader/index.d.ts +1 -0
- package/dist/types/components/PersonView/PersonViewHeader/index.js +3 -3
- package/dist/types/components/PersonView/PersonViewSummary/index.d.ts +2 -1
- package/dist/types/components/PersonView/PersonViewSummary/index.js +4 -4
- package/dist/types/components/PersonView/PersonViewTabsComponent/index.d.ts +1 -0
- package/dist/types/components/PersonView/PersonViewTabsComponent/index.js +4 -2
- package/dist/types/components/PrimaryButton/index.d.ts +2 -1
- package/dist/types/components/PrimaryButton/index.js +2 -2
- package/dist/types/components/PromptField/index.d.ts +2 -1
- package/dist/types/components/PromptField/index.js +2 -2
- package/dist/types/components/SearchFilterButton/index.d.ts +2 -1
- package/dist/types/components/SearchFilterButton/index.js +2 -2
- package/dist/types/components/SearchFilterSideDrawer/SaveSearch/index.d.ts +2 -1
- package/dist/types/components/SearchFilterSideDrawer/SaveSearch/index.js +7 -4
- package/dist/types/components/Select/index.d.ts +2 -1
- package/dist/types/components/Select/index.js +2 -2
- package/dist/types/components/SelectDropDown/index.d.ts +2 -1
- package/dist/types/components/SelectDropDown/index.js +2 -2
- package/dist/types/components/SelectItem/index.d.ts +3 -2
- package/dist/types/components/SelectItem/index.js +3 -3
- package/dist/types/components/SelectablePill/index.d.ts +2 -1
- package/dist/types/components/SelectablePill/index.js +3 -3
- package/dist/types/components/SwitchLarge/index.d.ts +2 -1
- package/dist/types/components/SwitchLarge/index.js +4 -2
- package/dist/types/components/TableNameCell/index.d.ts +2 -1
- package/dist/types/components/TableNameCell/index.js +2 -2
- package/dist/types/components/TablePagination/index.d.ts +1 -0
- package/dist/types/components/TablePagination/index.js +2 -2
- package/dist/types/components/Tabs/index.d.ts +2 -1
- package/dist/types/components/Tabs/index.js +2 -2
- package/dist/types/components/TertiaryButton/index.d.ts +2 -1
- package/dist/types/components/TertiaryButton/index.js +2 -2
- package/dist/types/components/ToggleComponent/index.d.ts +1 -0
- package/dist/types/components/ToggleComponent/index.js +2 -2
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ interface AdvanceFilterJobTitleV2Props {
|
|
|
8
8
|
applyToAllOnClick: (value: RangeObject) => void;
|
|
9
9
|
truncateTitleLength?: number;
|
|
10
10
|
showApplyToAll?: boolean;
|
|
11
|
+
dataCy?: string;
|
|
11
12
|
}
|
|
12
|
-
declare const AdvanceFilterJobTitleV2: ({ setMaxValue, setMinValue, searchForPillText, crossOnClick, applyToAllOnClick, getRange, showApplyToAll, }: AdvanceFilterJobTitleV2Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const AdvanceFilterJobTitleV2: ({ setMaxValue, setMinValue, searchForPillText, crossOnClick, applyToAllOnClick, getRange, showApplyToAll, dataCy, }: AdvanceFilterJobTitleV2Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default AdvanceFilterJobTitleV2;
|
|
@@ -8,6 +8,7 @@ interface AssignmentBreadCrumbProps {
|
|
|
8
8
|
handleClick: (tab: string) => void;
|
|
9
9
|
selectedTab: string;
|
|
10
10
|
handleArchiveClick: () => void;
|
|
11
|
+
dataCy?: string;
|
|
11
12
|
}
|
|
12
|
-
declare const AssignmentBreadCrumb: ({ breadCrumbItems, archivedCount, handleArchiveClick, selectedTab, handleClick, }: AssignmentBreadCrumbProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const AssignmentBreadCrumb: ({ breadCrumbItems, archivedCount, handleArchiveClick, selectedTab, handleClick, dataCy, }: AssignmentBreadCrumbProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default AssignmentBreadCrumb;
|
|
@@ -7,6 +7,7 @@ interface AssignmentCreationProps {
|
|
|
7
7
|
isLoading: boolean;
|
|
8
8
|
isAdmin?: boolean;
|
|
9
9
|
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
10
|
+
dataCy?: string;
|
|
10
11
|
}
|
|
11
|
-
declare const AssignmentCreation: ({ assigneeName, assigneeMail, iconType, isLoading, isAdmin, onClick, }: AssignmentCreationProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const AssignmentCreation: ({ assigneeName, assigneeMail, iconType, isLoading, isAdmin, onClick, dataCy, }: AssignmentCreationProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
export default AssignmentCreation;
|
|
@@ -8,6 +8,7 @@ interface EducationCardProps {
|
|
|
8
8
|
interface DynamicEducationCardProps {
|
|
9
9
|
educations: EducationCardProps[];
|
|
10
10
|
initialItemsToShow: number;
|
|
11
|
+
dataCy?: string;
|
|
11
12
|
}
|
|
12
|
-
declare const DynamicEducationCard: ({ educations, initialItemsToShow, }: DynamicEducationCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const DynamicEducationCard: ({ educations, initialItemsToShow, dataCy, }: DynamicEducationCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default DynamicEducationCard;
|
package/dist/components/AssignmentIdealProfileSelectionCard/DynamicExperienceCard/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ interface DynamicExperienceCardProps {
|
|
|
14
14
|
experiences: ExperienceCardProps[];
|
|
15
15
|
initialItemsToShow: number;
|
|
16
16
|
onCompanyClick: (universalName: string, urn: string) => void;
|
|
17
|
+
dataCy?: string;
|
|
17
18
|
}
|
|
18
|
-
declare const DynamicExperienceCardList: ({ experiences, initialItemsToShow, onCompanyClick, }: DynamicExperienceCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare const DynamicExperienceCardList: ({ experiences, initialItemsToShow, onCompanyClick, dataCy, }: DynamicExperienceCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
20
|
export default DynamicExperienceCardList;
|
|
@@ -2,6 +2,7 @@ import { ProfileNote } from "..";
|
|
|
2
2
|
interface NoteProspectiveCardListProps {
|
|
3
3
|
notes: ProfileNote[];
|
|
4
4
|
onNotesViewAllClick: () => void;
|
|
5
|
+
dataCy?: string;
|
|
5
6
|
}
|
|
6
|
-
declare const NoteProspectiveCardList: ({ notes, onNotesViewAllClick, }: NoteProspectiveCardListProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const NoteProspectiveCardList: ({ notes, onNotesViewAllClick, dataCy, }: NoteProspectiveCardListProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export default NoteProspectiveCardList;
|
|
@@ -10,6 +10,7 @@ interface ChatClickableCardProps {
|
|
|
10
10
|
recentCompany?: string;
|
|
11
11
|
location?: string;
|
|
12
12
|
onViewProfileButtonClick: () => void;
|
|
13
|
+
dataCy?: string;
|
|
13
14
|
}
|
|
14
|
-
declare const ProfileCard: ({ iconPath, iconSize, name, designation, universalName, urn, recentCompany, location, onViewProfileButtonClick, onCompanyNameClick, }: ChatClickableCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare const ProfileCard: ({ iconPath, iconSize, name, designation, universalName, urn, recentCompany, location, onViewProfileButtonClick, onCompanyNameClick, dataCy, }: ChatClickableCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
16
|
export default ProfileCard;
|
|
@@ -24,6 +24,7 @@ interface ProfileCardIstSectionProps {
|
|
|
24
24
|
isPaused: boolean;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
+
dataCy?: string;
|
|
27
28
|
}
|
|
28
|
-
declare const ProfileCardIstSection: ({ profileIconPath, profileIconSize, personName, personDesignation, personRecentCompany, companyLocation, onNotesViewAllClick, onViewProfileButtonClick, universalName, urn, onCompanyNameClick, notes, campaign, onCampaignClick, }: ProfileCardIstSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
declare const ProfileCardIstSection: ({ profileIconPath, profileIconSize, personName, personDesignation, personRecentCompany, companyLocation, onNotesViewAllClick, onViewProfileButtonClick, universalName, urn, onCompanyNameClick, notes, campaign, onCampaignClick, dataCy, }: ProfileCardIstSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
30
|
export default ProfileCardIstSection;
|
|
@@ -26,6 +26,7 @@ interface ProfileCardSecondSectionProps {
|
|
|
26
26
|
experiencesList: ExperienceList[];
|
|
27
27
|
educationsList: EducationList[];
|
|
28
28
|
onExpoerienceCompanyClick: (universalName: string, urn: string) => void;
|
|
29
|
+
dataCy?: string;
|
|
29
30
|
}
|
|
30
|
-
declare const ProfileCardSecondSection: ({ initialExperienceShow, initialEducationShow, experiencesList, educationsList, onExpoerienceCompanyClick, }: ProfileCardSecondSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
declare const ProfileCardSecondSection: ({ initialExperienceShow, initialEducationShow, experiencesList, educationsList, onExpoerienceCompanyClick, dataCy, }: ProfileCardSecondSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
32
|
export default ProfileCardSecondSection;
|
|
@@ -48,6 +48,7 @@ export interface AssignmentIdealProfileCardProps {
|
|
|
48
48
|
isPaused: boolean;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
+
dataCy?: string;
|
|
51
52
|
}
|
|
52
|
-
declare const AssignmentIdealProfileCard: ({ profileIndex, id, profileIconPath, profileIconSize, personName, personDesignation, personRecentCompany, recentCompanyUniversalName, recentCompanyUrn, companyLocation, notes, onCheckboxSelected, onNotesViewAllClick, initialExperienceShow, initialEducationShow, skillsMissingList, skillsMatchingList, industryMissingList, industryMatchingList, experiencesList, educationsList, onViewDetailsClick, onCompanyClick, handleStarClick, starSelected, checkSelected, isStarIconShown, onCampaignClick, campaign, }: AssignmentIdealProfileCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
declare const AssignmentIdealProfileCard: ({ profileIndex, id, profileIconPath, profileIconSize, personName, personDesignation, personRecentCompany, recentCompanyUniversalName, recentCompanyUrn, companyLocation, notes, onCheckboxSelected, onNotesViewAllClick, initialExperienceShow, initialEducationShow, skillsMissingList, skillsMatchingList, industryMissingList, industryMatchingList, experiencesList, educationsList, onViewDetailsClick, onCompanyClick, handleStarClick, starSelected, checkSelected, isStarIconShown, onCampaignClick, campaign, dataCy, }: AssignmentIdealProfileCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
53
54
|
export default AssignmentIdealProfileCard;
|
|
@@ -7,6 +7,7 @@ type BadgeWithCountProps = {
|
|
|
7
7
|
iconType?: IconType;
|
|
8
8
|
iconSize?: IconSize;
|
|
9
9
|
onClick?: () => void;
|
|
10
|
+
dataCy?: string;
|
|
10
11
|
};
|
|
11
|
-
declare const BadgeWithCount: ({ count, iconSize, iconType, toolTipPosition, toolTipContent, onClick, }: BadgeWithCountProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
+
declare const BadgeWithCount: ({ count, iconSize, iconType, toolTipPosition, toolTipContent, onClick, dataCy, }: BadgeWithCountProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
13
|
export default BadgeWithCount;
|
|
@@ -5,6 +5,7 @@ type BusinessUnitViewTabsComponentProps = {
|
|
|
5
5
|
}>;
|
|
6
6
|
activeTab: BusinessUnitViewTabTypes;
|
|
7
7
|
onClick: (tabName: BusinessUnitViewTabTypes) => void;
|
|
8
|
+
dataCy?: string;
|
|
8
9
|
};
|
|
9
|
-
declare function BusinessUnitViewTabsComponent({ tabs, activeTab, onClick, }: BusinessUnitViewTabsComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function BusinessUnitViewTabsComponent({ tabs, activeTab, onClick, dataCy, }: BusinessUnitViewTabsComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export default BusinessUnitViewTabsComponent;
|
|
@@ -15,8 +15,11 @@ interface ChatDropDownProps<T extends {
|
|
|
15
15
|
handleOptionClick: (option: T) => void;
|
|
16
16
|
handleInputChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
17
17
|
renderProps?: (props: T) => React.ReactElement;
|
|
18
|
+
dataCyInput?: string;
|
|
19
|
+
dataCySuggestion?: string;
|
|
20
|
+
dataCyCreate?: string;
|
|
18
21
|
}
|
|
19
22
|
declare const ChatDropDown: <T extends {
|
|
20
23
|
label: string;
|
|
21
|
-
}>({ value, isCreateShown, zIndex, placeholder, showSearchIcon, filteredOptions, isLoading, isReadOnly, showNoResults, handleCreateClick, handleOptionClick, handleInputChange, renderProps, }: ChatDropDownProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
}>({ value, isCreateShown, zIndex, placeholder, showSearchIcon, filteredOptions, isLoading, isReadOnly, showNoResults, dataCyInput, dataCySuggestion, dataCyCreate, handleCreateClick, handleOptionClick, handleInputChange, renderProps, }: ChatDropDownProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
22
25
|
export default ChatDropDown;
|
|
@@ -2,6 +2,9 @@ interface ChevronDropDownProps {
|
|
|
2
2
|
dropdownItemList: string[];
|
|
3
3
|
onLabelClick: (value: string) => void;
|
|
4
4
|
name: string;
|
|
5
|
+
dataCyDropdown?: string;
|
|
6
|
+
dataCyChangePass?: string;
|
|
7
|
+
dataCySignout?: string;
|
|
5
8
|
}
|
|
6
|
-
declare const ChevronDropDown: ({ dropdownItemList, onLabelClick, name, }: ChevronDropDownProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const ChevronDropDown: ({ dropdownItemList, onLabelClick, name, dataCyDropdown, dataCyChangePass, dataCySignout, }: ChevronDropDownProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
10
|
export default ChevronDropDown;
|
|
@@ -11,6 +11,7 @@ interface ClickableTextProps {
|
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
props?: any;
|
|
13
13
|
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
14
|
+
dataCy?: string;
|
|
14
15
|
}
|
|
15
|
-
declare const ClickableText: ({ text, showIcon, iconOnLeft, iconType, sizeVariant, colorVariant, iconSize, props, disabled, onClick, }: ClickableTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare const ClickableText: ({ text, showIcon, iconOnLeft, iconType, sizeVariant, colorVariant, iconSize, props, disabled, onClick, dataCy, }: ClickableTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
17
|
export default ClickableText;
|
|
@@ -5,6 +5,7 @@ interface ColoredButtonProps {
|
|
|
5
5
|
colorVariant: "orange" | "green" | "teal" | "socialTwitter";
|
|
6
6
|
isDisabled?: boolean;
|
|
7
7
|
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
8
|
+
dataCy?: string;
|
|
8
9
|
}
|
|
9
|
-
declare const ColoredButton: ({ text, sizeVariant, colorVariant, isDisabled, onClick, }: ColoredButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const ColoredButton: ({ text, sizeVariant, colorVariant, isDisabled, onClick, dataCy, }: ColoredButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export default ColoredButton;
|
|
@@ -4,6 +4,7 @@ interface CompanyDetailsCardProps {
|
|
|
4
4
|
viewMore: () => void;
|
|
5
5
|
descriptionCollapseCount?: number;
|
|
6
6
|
intialHeight?: string;
|
|
7
|
+
dataCy?: string;
|
|
7
8
|
}
|
|
8
|
-
declare const CompanyDetailsCard: ({ company, descriptionCollapseCount, viewMore, intialHeight, }: CompanyDetailsCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const CompanyDetailsCard: ({ company, descriptionCollapseCount, viewMore, intialHeight, dataCy, }: CompanyDetailsCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export default CompanyDetailsCard;
|
|
@@ -9,6 +9,7 @@ interface CompanyLikePillSelectableProps {
|
|
|
9
9
|
onEnter?: () => void;
|
|
10
10
|
onLeave?: () => void;
|
|
11
11
|
isDisabled?: boolean;
|
|
12
|
+
dataCy?: string;
|
|
12
13
|
}
|
|
13
|
-
declare const CompanyLikePillSelectable: ({ id, text, onClick, isSelected, props, highlight, onEnter, onLeave, isDisabled, }: CompanyLikePillSelectableProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const CompanyLikePillSelectable: ({ id, text, onClick, isSelected, props, highlight, onEnter, onLeave, isDisabled, dataCy, }: CompanyLikePillSelectableProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export default CompanyLikePillSelectable;
|
|
@@ -9,6 +9,7 @@ interface CompanyLogoPillSelectableProps {
|
|
|
9
9
|
isHoverShown?: boolean;
|
|
10
10
|
props?: object;
|
|
11
11
|
variant: SelectedUnselectedErrorVariant;
|
|
12
|
+
dataCy?: string;
|
|
12
13
|
}
|
|
13
|
-
declare const CompanyLogoPillSelectable: ({ text, variant, onClick, picturePath, props, svgType, isHoverShown, children, }: CompanyLogoPillSelectableProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const CompanyLogoPillSelectable: ({ text, variant, onClick, picturePath, props, svgType, isHoverShown, children, dataCy, }: CompanyLogoPillSelectableProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export default CompanyLogoPillSelectable;
|
|
@@ -6,6 +6,7 @@ interface CompanyViewTabsComponentProps {
|
|
|
6
6
|
}[];
|
|
7
7
|
activeCompanyViewTab: CompanyViewTabsTypes;
|
|
8
8
|
onClick: (tabName: CompanyViewTabsTypes) => void;
|
|
9
|
+
dataCy?: string;
|
|
9
10
|
}
|
|
10
11
|
declare const CompanyViewTabsComponent: React.FC<CompanyViewTabsComponentProps>;
|
|
11
12
|
export default CompanyViewTabsComponent;
|
|
@@ -10,6 +10,7 @@ interface DropDownButtonProps {
|
|
|
10
10
|
iconType?: IconType;
|
|
11
11
|
showIcon?: boolean;
|
|
12
12
|
colorStyling?: "gray" | "tertiaryGray";
|
|
13
|
+
dataCy?: string;
|
|
13
14
|
}
|
|
14
|
-
declare const DropDownButton: ({ dropDownText, children, dropdownRight, maxWidth, textEllipses, disabled, iconType, showIcon, colorStyling, }: DropDownButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare const DropDownButton: ({ dropDownText, children, dropdownRight, maxWidth, textEllipses, disabled, iconType, showIcon, colorStyling, dataCy, }: DropDownButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
16
|
export default DropDownButton;
|
|
@@ -8,6 +8,7 @@ interface FilterAndSortDropdownProps {
|
|
|
8
8
|
onLabelClick: (value: string) => void;
|
|
9
9
|
showHeading?: boolean;
|
|
10
10
|
showComingSoon?: boolean;
|
|
11
|
+
dataCy?: string;
|
|
11
12
|
}
|
|
12
|
-
declare const FilterAndSortDropdown: ({ iconType, usageTypeText, filterDropdownItemList, isolateFilterDropdowns, disabledButtons, onLabelClick, showHeading, showComingSoon, }: FilterAndSortDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const FilterAndSortDropdown: ({ iconType, usageTypeText, filterDropdownItemList, isolateFilterDropdowns, disabledButtons, onLabelClick, showHeading, showComingSoon, dataCy, }: FilterAndSortDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default FilterAndSortDropdown;
|
|
@@ -13,6 +13,8 @@ interface InputFieldProps {
|
|
|
13
13
|
register?: any;
|
|
14
14
|
name?: string;
|
|
15
15
|
autoComplete?: string;
|
|
16
|
+
dataCyInput?: string;
|
|
17
|
+
dataCyToggle?: string;
|
|
16
18
|
}
|
|
17
|
-
declare const InputField: ({ id, value, type, placeholder, style, disabled, errorState, props, onChangeHandler, errorMessage, name, register, autoComplete, }: InputFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare const InputField: ({ id, value, type, placeholder, style, disabled, errorState, props, onChangeHandler, errorMessage, name, register, autoComplete, dataCyInput, dataCyToggle, }: InputFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
20
|
export default InputField;
|
|
@@ -7,6 +7,7 @@ interface InputFieldWithSvgProps {
|
|
|
7
7
|
onChange: (value: string) => void;
|
|
8
8
|
handleOnFocus?: () => void;
|
|
9
9
|
onEnter?: () => void;
|
|
10
|
+
dataCy?: string;
|
|
10
11
|
}
|
|
11
|
-
declare const InputFieldWithSvg: ({ placeholder, iconType, iconSize, showIconOnLeft, onChange, handleOnFocus, onEnter, }: InputFieldWithSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const InputFieldWithSvg: ({ placeholder, iconType, iconSize, showIconOnLeft, onChange, handleOnFocus, onEnter, dataCy, }: InputFieldWithSvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
export default InputFieldWithSvg;
|
|
@@ -9,6 +9,7 @@ interface NumberInputFieldProps {
|
|
|
9
9
|
handleChange?: (value: number) => void;
|
|
10
10
|
onFocus?: () => void;
|
|
11
11
|
onBlur?: () => void;
|
|
12
|
+
dataCy?: string;
|
|
12
13
|
}
|
|
13
|
-
declare const NumberInputField: ({ onFocus, onBlur, initialNumber, unit, props, placeholder, isDisabled, isIncrementDisabled, isDecrementDisabled, handleChange, }: NumberInputFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const NumberInputField: ({ onFocus, onBlur, initialNumber, unit, props, placeholder, isDisabled, isIncrementDisabled, isDecrementDisabled, handleChange, dataCy, }: NumberInputFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export default NumberInputField;
|
|
@@ -10,6 +10,7 @@ interface PersonViewExperienceCardProps {
|
|
|
10
10
|
companyExp: PersonExperiencePayloadTypes;
|
|
11
11
|
isNoSkillsOrIndustries: boolean;
|
|
12
12
|
isSummaryView?: boolean;
|
|
13
|
+
dataCy?: string;
|
|
13
14
|
}
|
|
14
15
|
declare const PersonViewExperienceCard: React.FC<PersonViewExperienceCardProps>;
|
|
15
16
|
export default PersonViewExperienceCard;
|
|
@@ -23,6 +23,7 @@ interface PersonViewHeaderProps {
|
|
|
23
23
|
createOrUpdateQuestRequest?: React.ReactNode;
|
|
24
24
|
viewInQuestButton?: React.ReactNode;
|
|
25
25
|
markFakeButton?: React.ReactNode;
|
|
26
|
+
dataCy?: string;
|
|
26
27
|
}
|
|
27
28
|
declare const PersonViewHeader: React.FC<PersonViewHeaderProps>;
|
|
28
29
|
export default PersonViewHeader;
|
|
@@ -12,7 +12,8 @@ interface PersonViewSummaryProps {
|
|
|
12
12
|
filterSkills: string[];
|
|
13
13
|
isExpIndustriesLoading?: boolean;
|
|
14
14
|
scrollToEducation?: boolean;
|
|
15
|
+
dataCy?: string;
|
|
15
16
|
isSummaryView?: boolean;
|
|
16
17
|
}
|
|
17
|
-
declare const PersonViewSummary: ({ about, experience, totalExperience, education, onCompanyNameClick, industries, isIndustryLoading, filterIndustries, filterSkills, isExpIndustriesLoading, scrollToEducation, isSummaryView, }: PersonViewSummaryProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare const PersonViewSummary: ({ about, experience, totalExperience, education, onCompanyNameClick, industries, isIndustryLoading, filterIndustries, filterSkills, isExpIndustriesLoading, scrollToEducation, dataCy, isSummaryView, }: PersonViewSummaryProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
19
|
export default PersonViewSummary;
|
|
@@ -6,6 +6,7 @@ interface PersonViewTabsComponentProps {
|
|
|
6
6
|
}[];
|
|
7
7
|
activePersonViewTab: PersonViewTabsTypes;
|
|
8
8
|
onClick: (tabName: PersonViewTabsTypes) => void;
|
|
9
|
+
dataCy?: string;
|
|
9
10
|
}
|
|
10
11
|
declare const PersonViewTabsComponent: React.FC<PersonViewTabsComponentProps>;
|
|
11
12
|
export default PersonViewTabsComponent;
|
|
@@ -8,6 +8,7 @@ interface PrimaryButtonProps extends ComponentPropsWithoutRef<"button"> {
|
|
|
8
8
|
isDisabled?: boolean;
|
|
9
9
|
width?: string;
|
|
10
10
|
children?: ReactNode;
|
|
11
|
+
dataCy?: string;
|
|
11
12
|
}
|
|
12
|
-
declare const PrimaryButton: ({ type, text, primaryButtonClassName, sizeVariant, colorVariant, isDisabled, children, ...props }: PrimaryButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const PrimaryButton: ({ type, text, primaryButtonClassName, sizeVariant, colorVariant, isDisabled, dataCy, children, ...props }: PrimaryButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default PrimaryButton;
|
|
@@ -6,6 +6,7 @@ interface PromptFieldProps {
|
|
|
6
6
|
onSubmit: (message: string) => void;
|
|
7
7
|
setValue: (value: string) => void;
|
|
8
8
|
value: string;
|
|
9
|
+
dataCy?: string;
|
|
9
10
|
}
|
|
10
|
-
declare const PromptField: ({ placeholderText, isDisabled, isLoading, isReadOnly, onSubmit, value, setValue, }: PromptFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const PromptField: ({ placeholderText, isDisabled, isLoading, isReadOnly, onSubmit, value, setValue, dataCy, }: PromptFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export default PromptField;
|
|
@@ -8,6 +8,7 @@ interface SearchFilterButtonProps {
|
|
|
8
8
|
filterIconRight?: IconType;
|
|
9
9
|
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
10
10
|
onCancelClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
11
|
+
dataCy?: string;
|
|
11
12
|
}
|
|
12
|
-
declare const SearchFilterButton: ({ filterText, filterCount, filterIcon, isFilterLoading, filterIconRight, onClick, onCancelClick, }: SearchFilterButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const SearchFilterButton: ({ filterText, filterCount, filterIcon, isFilterLoading, filterIconRight, onClick, onCancelClick, dataCy, }: SearchFilterButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default SearchFilterButton;
|
|
@@ -9,6 +9,7 @@ interface SaveSearchProps {
|
|
|
9
9
|
handleMoreClick: () => void;
|
|
10
10
|
isDisabled: boolean;
|
|
11
11
|
handleBack: () => void;
|
|
12
|
+
dataCy?: string;
|
|
12
13
|
}
|
|
13
|
-
declare const SavedSearches: ({ titles, isLoading, onTitleClick, onDeleteClick, remainingTime, showMore, handleMoreClick, isDisabled, handleBack, }: SaveSearchProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const SavedSearches: ({ titles, isLoading, onTitleClick, onDeleteClick, remainingTime, showMore, handleMoreClick, isDisabled, handleBack, dataCy, }: SaveSearchProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export default SavedSearches;
|
|
@@ -16,11 +16,12 @@ type SelectProps = {
|
|
|
16
16
|
className?: string;
|
|
17
17
|
containerStyles?: React.CSSProperties;
|
|
18
18
|
renderContent?: () => ReactNode;
|
|
19
|
+
dataCy?: string;
|
|
19
20
|
};
|
|
20
21
|
export declare const SelectContext: React.Context<{
|
|
21
22
|
value: string;
|
|
22
23
|
onChange: (value: string) => void;
|
|
23
24
|
setShowMenu: (value: boolean) => void;
|
|
24
25
|
}>;
|
|
25
|
-
declare function Select({ value, onChange, children, iconType, disabled, menuPosition, showIconRight, showIconLeft, iconSizeLeft, iconSizeRight, colorStyling, maxWidth, className, containerStyles, renderContent, }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
declare function Select({ value, onChange, children, iconType, disabled, menuPosition, showIconRight, showIconLeft, iconSizeLeft, iconSizeRight, colorStyling, maxWidth, className, containerStyles, renderContent, dataCy, }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
26
27
|
export default Select;
|
|
@@ -7,7 +7,8 @@ interface SelectDropDown {
|
|
|
7
7
|
isAllSelected: boolean;
|
|
8
8
|
isDisabled?: boolean;
|
|
9
9
|
tooltipContent?: string;
|
|
10
|
+
dataCy?: string;
|
|
10
11
|
hideSelectedText?: boolean;
|
|
11
12
|
}
|
|
12
|
-
declare const SelectDropDown: ({ onApplyClick, selectedCount, showCancel, onCancelClick, totalCount, isAllSelected, isDisabled, tooltipContent, hideSelectedText, }: SelectDropDown) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const SelectDropDown: ({ onApplyClick, selectedCount, showCancel, onCancelClick, totalCount, isAllSelected, isDisabled, tooltipContent, dataCy, hideSelectedText, }: SelectDropDown) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default SelectDropDown;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
2
|
-
type SelectItemProps = ComponentPropsWithoutRef<
|
|
2
|
+
type SelectItemProps = ComponentPropsWithoutRef<"button"> & {
|
|
3
3
|
itemValue: string;
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
className?: string;
|
|
6
|
+
dataCy?: string;
|
|
6
7
|
};
|
|
7
|
-
declare function SelectItem({ itemValue, children, className, ...props }: SelectItemProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function SelectItem({ itemValue, children, className, dataCy, ...props }: SelectItemProps): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export default SelectItem;
|
|
@@ -11,6 +11,7 @@ type SelectablePillProps = ComponentPropsWithRef<"button"> & {
|
|
|
11
11
|
onEnter?: () => void;
|
|
12
12
|
onLeave?: () => void;
|
|
13
13
|
isDisabled?: boolean;
|
|
14
|
+
dataCy?: string;
|
|
14
15
|
};
|
|
15
|
-
declare const SelectablePill: ({ id, text, onSelect, onExclude, variant, highlight, onEnter, onLeave, isDisabled, iconPath, ...props }: SelectablePillProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare const SelectablePill: ({ id, text, onSelect, onExclude, variant, highlight, onEnter, onLeave, isDisabled, iconPath, dataCy, ...props }: SelectablePillProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
17
|
export default SelectablePill;
|
|
@@ -9,6 +9,7 @@ interface SwitchProps {
|
|
|
9
9
|
}
|
|
10
10
|
interface SwitchLargeProps {
|
|
11
11
|
switches: [SwitchProps, SwitchProps];
|
|
12
|
+
dataCy?: string;
|
|
12
13
|
}
|
|
13
|
-
declare const SwitchLarge: ({ switches }: SwitchLargeProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const SwitchLarge: ({ switches, dataCy }: SwitchLargeProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export default SwitchLarge;
|
|
@@ -9,6 +9,7 @@ type TableNameCellProps = {
|
|
|
9
9
|
iconKey?: string;
|
|
10
10
|
altImageType?: string;
|
|
11
11
|
metaContent?: ReactNode;
|
|
12
|
+
dataCy?: string;
|
|
12
13
|
};
|
|
13
|
-
declare const TableNameCell: ({ index, isSelected, onCheckClick, onNameClick, name, iconPath, iconKey, altImageType, metaContent, }: TableNameCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const TableNameCell: ({ index, isSelected, onCheckClick, onNameClick, name, iconPath, iconKey, altImageType, metaContent, dataCy, }: TableNameCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export default TableNameCell;
|
|
@@ -10,6 +10,7 @@ interface TablePaginationProps {
|
|
|
10
10
|
onPageNumberClick: (pageNumber: number) => void;
|
|
11
11
|
totalPages: number;
|
|
12
12
|
buttonsDisabled?: boolean;
|
|
13
|
+
dataCy?: string;
|
|
13
14
|
}
|
|
14
15
|
declare const TablePagination: React.FC<TablePaginationProps>;
|
|
15
16
|
export default TablePagination;
|
|
@@ -9,6 +9,7 @@ interface TabsProps {
|
|
|
9
9
|
onSelect: (tab: string) => void;
|
|
10
10
|
selectedTab: string;
|
|
11
11
|
children?: ReactNode;
|
|
12
|
+
dataCyArray?: string[];
|
|
12
13
|
}
|
|
13
|
-
declare const Tabs: ({ tabs, onSelect, selectedTab, children }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const Tabs: ({ tabs, onSelect, selectedTab, dataCyArray, children, }: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export default Tabs;
|
|
@@ -6,6 +6,7 @@ interface TertiaryButtonProps {
|
|
|
6
6
|
isDisabled?: boolean;
|
|
7
7
|
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
8
8
|
children?: ReactNode;
|
|
9
|
+
dataCy?: string;
|
|
9
10
|
}
|
|
10
|
-
declare const TertiaryButton: ({ text, tertiaryButtonClassName, sizeVariant, isDisabled, onClick, children, }: TertiaryButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const TertiaryButton: ({ text, tertiaryButtonClassName, sizeVariant, isDisabled, onClick, children, dataCy, }: TertiaryButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export default TertiaryButton;
|
|
@@ -9,6 +9,7 @@ interface AdvanceFilterJobTitleV2Props {
|
|
|
9
9
|
applyToAllOnClick: (value: RangeObject) => void;
|
|
10
10
|
truncateTitleLength?: number;
|
|
11
11
|
showApplyToAll?: boolean;
|
|
12
|
+
dataCy?: string;
|
|
12
13
|
}
|
|
13
|
-
declare const AdvanceFilterJobTitleV2: ({ setMaxValue, setMinValue, searchForPillText, crossOnClick, applyToAllOnClick, getRange, showApplyToAll, }: AdvanceFilterJobTitleV2Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const AdvanceFilterJobTitleV2: ({ setMaxValue, setMinValue, searchForPillText, crossOnClick, applyToAllOnClick, getRange, showApplyToAll, dataCy, }: AdvanceFilterJobTitleV2Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export default AdvanceFilterJobTitleV2;
|
|
@@ -5,9 +5,9 @@ import { convertTo10KFormat } from "../../utils";
|
|
|
5
5
|
import EllipsisText from "../EllipsisText";
|
|
6
6
|
import "./style.scss";
|
|
7
7
|
import { useState } from "react";
|
|
8
|
-
const AdvanceFilterJobTitleV2 = ({ setMaxValue = 500, setMinValue = 0, searchForPillText = "Cheif Executive Osa asd asd sad sas sdfsdf sdf sdfsd fds f asdasd sad saafficer", crossOnClick, applyToAllOnClick, getRange = () => { }, showApplyToAll = true, }) => {
|
|
8
|
+
const AdvanceFilterJobTitleV2 = ({ setMaxValue = 500, setMinValue = 0, searchForPillText = "Cheif Executive Osa asd asd sad sas sdfsdf sdf sdfsd fds f asdasd sad saafficer", crossOnClick, applyToAllOnClick, getRange = () => { }, showApplyToAll = true, dataCy, }) => {
|
|
9
9
|
const [hasBeenChanged, setHasBeenChanged] = useState(false);
|
|
10
|
-
return (_jsx("div", { style: { width: "100%" }, children: _jsxs("div", { className: "advanceFilterJobTitleV2--Generic", children: [_jsxs("div", { children: [_jsx(EllipsisText, { children: searchForPillText }), _jsx("button", { onClick: crossOnClick, children: _jsx(GetSvgIcon, { iconType: "delete", iconSize: "24" }) })] }), _jsxs("div", { className: clsx({
|
|
10
|
+
return (_jsx("div", { style: { width: "100%" }, children: _jsxs("div", { className: "advanceFilterJobTitleV2--Generic", children: [_jsxs("div", { children: [_jsx(EllipsisText, { children: searchForPillText }), _jsx("button", { onClick: crossOnClick, "data-cy": `${dataCy}-delete`, children: _jsx(GetSvgIcon, { iconType: "delete", iconSize: "24" }) })] }), _jsxs("div", { className: clsx({
|
|
11
11
|
"advanceFilterJobTitleV2-SliderContainer--Justified": showApplyToAll,
|
|
12
12
|
"advanceFilterJobTitleV2-SliderContainer--Gapped": !showApplyToAll,
|
|
13
13
|
}), children: [_jsx(RangeComponent, { minValue: setMinValue, maxValue: setMaxValue, getRange: (value) => {
|
|
@@ -19,7 +19,7 @@ const AdvanceFilterJobTitleV2 = ({ setMaxValue = 500, setMinValue = 0, searchFor
|
|
|
19
19
|
minRange: setMinValue,
|
|
20
20
|
maxRange: setMaxValue,
|
|
21
21
|
});
|
|
22
|
-
}, showIcon: false, sizeVariant: "sm", text: "Apply to all", colorVariant: hasBeenChanged ? "orange" : "gray" }))] })] }) }));
|
|
22
|
+
}, showIcon: false, sizeVariant: "sm", text: "Apply to all", colorVariant: hasBeenChanged ? "orange" : "gray", dataCy: `${dataCy}-apply-to-all` }))] })] }) }));
|
|
23
23
|
};
|
|
24
24
|
//
|
|
25
25
|
export default AdvanceFilterJobTitleV2;
|
|
@@ -8,6 +8,7 @@ interface AssignmentBreadCrumbProps {
|
|
|
8
8
|
handleClick: (tab: string) => void;
|
|
9
9
|
selectedTab: string;
|
|
10
10
|
handleArchiveClick: () => void;
|
|
11
|
+
dataCy?: string;
|
|
11
12
|
}
|
|
12
|
-
declare const AssignmentBreadCrumb: ({ breadCrumbItems, archivedCount, handleArchiveClick, selectedTab, handleClick, }: AssignmentBreadCrumbProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const AssignmentBreadCrumb: ({ breadCrumbItems, archivedCount, handleArchiveClick, selectedTab, handleClick, dataCy, }: AssignmentBreadCrumbProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default AssignmentBreadCrumb;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import styles from "./style.module.scss";
|
|
4
|
-
const AssignmentBreadCrumb = ({ breadCrumbItems = [{ label: "New", count: 3 }], archivedCount, handleArchiveClick = () => { }, selectedTab, handleClick = (_tab) => { }, }) => {
|
|
4
|
+
const AssignmentBreadCrumb = ({ breadCrumbItems = [{ label: "New", count: 3 }], archivedCount, handleArchiveClick = () => { }, selectedTab, handleClick = (_tab) => { }, dataCy, }) => {
|
|
5
5
|
const getBreadCrumbClassName = (tab) => {
|
|
6
6
|
const isSelected = selectedTab === tab;
|
|
7
7
|
return clsx({
|
|
@@ -13,7 +13,7 @@ const AssignmentBreadCrumb = ({ breadCrumbItems = [{ label: "New", count: 3 }],
|
|
|
13
13
|
[styles.archivedButton]: selectedTab !== "Archived",
|
|
14
14
|
[styles.archivedButtonSelected]: selectedTab === "Archived",
|
|
15
15
|
});
|
|
16
|
-
return (_jsxs("div", { className: styles.assignmentBreadCrumb, children: [_jsx("span", { className: styles.breadCrumbBar, children: breadCrumbItems.map((item, index) => (_jsxs("button", { className: getBreadCrumbClassName(item.label), onClick: () => handleClick(item.label), disabled: item.label === selectedTab, children: [_jsxs("div", { className: styles.breadCrumbContent, children: [item.label, _jsx("p", { className: styles.tabCount, children: item.count })] }), _jsx("div", {})] }, index))) }), _jsx("button", { className: archiveButtonClassName, onClick: handleArchiveClick, children: _jsxs("div", { className: styles.breadCrumbContent, children: ["Archived", _jsx("p", { className: styles.tabCount, children: archivedCount })] }) })] }));
|
|
16
|
+
return (_jsxs("div", { className: styles.assignmentBreadCrumb, children: [_jsx("span", { className: styles.breadCrumbBar, children: breadCrumbItems.map((item, index) => (_jsxs("button", { className: getBreadCrumbClassName(item.label), onClick: () => handleClick(item.label), disabled: item.label === selectedTab, "data-cy": `${dataCy}-${item.label.toLowerCase()}`, children: [_jsxs("div", { className: styles.breadCrumbContent, children: [item.label, _jsx("p", { className: styles.tabCount, children: item.count })] }), _jsx("div", {})] }, index))) }), _jsx("button", { className: archiveButtonClassName, onClick: handleArchiveClick, "data-cy": `${dataCy}-archived`, children: _jsxs("div", { className: styles.breadCrumbContent, children: ["Archived", _jsx("p", { className: styles.tabCount, children: archivedCount })] }) })] }));
|
|
17
17
|
};
|
|
18
18
|
//
|
|
19
19
|
export default AssignmentBreadCrumb;
|
|
@@ -8,6 +8,7 @@ interface AssignmentCreationProps {
|
|
|
8
8
|
isLoading: boolean;
|
|
9
9
|
isAdmin?: boolean;
|
|
10
10
|
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
11
|
+
dataCy?: string;
|
|
11
12
|
}
|
|
12
|
-
declare const AssignmentCreation: ({ assigneeName, assigneeMail, iconType, isLoading, isAdmin, onClick, }: AssignmentCreationProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const AssignmentCreation: ({ assigneeName, assigneeMail, iconType, isLoading, isAdmin, onClick, dataCy, }: AssignmentCreationProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default AssignmentCreation;
|
|
@@ -2,22 +2,23 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import "./style.scss";
|
|
3
3
|
import { getInitials } from "../../utils";
|
|
4
4
|
import { BadgeNonClickable, EllipsisText, IconButton, Loader } from "..";
|
|
5
|
-
const RenderAddOrRemoveButton = ({ isAdmin = false, isLoading = false, iconType = "plus", onClick, }) => {
|
|
5
|
+
const RenderAddOrRemoveButton = ({ isAdmin = false, isLoading = false, iconType = "plus", onClick, dataCy, }) => {
|
|
6
6
|
if (isAdmin) {
|
|
7
7
|
return null;
|
|
8
8
|
}
|
|
9
9
|
else if (isLoading) {
|
|
10
10
|
return _jsx(Loader, { height: "36", width: "36" });
|
|
11
11
|
}
|
|
12
|
-
return (_jsx(IconButton, { shape: "circular", color: "gray", variant: "tertiary", iconType: iconType, onClick: onClick, sizeVariant: "xs" }));
|
|
12
|
+
return (_jsx(IconButton, { shape: "circular", color: "gray", variant: "tertiary", iconType: iconType, onClick: onClick, sizeVariant: "xs", "data-cy": `${dataCy}-${iconType.toLowerCase()}` }));
|
|
13
13
|
};
|
|
14
|
-
const AssignmentCreation = ({ assigneeName, assigneeMail, iconType = "plus", isLoading = false, isAdmin = false, onClick, }) => {
|
|
14
|
+
const AssignmentCreation = ({ assigneeName, assigneeMail, iconType = "plus", isLoading = false, isAdmin = false, onClick, dataCy, }) => {
|
|
15
15
|
const invalidName = !assigneeName || !assigneeName.trim();
|
|
16
16
|
return (_jsxs("div", { className: `assignmentCreation ${iconType}`, children: [_jsx("div", { className: "addTribeMemberCard--Initials", children: invalidName ? "U" : getInitials(assigneeName).toUpperCase() }), _jsxs("span", { className: "addTribeMemberCard--TextAndButton", children: [_jsxs("span", { className: "addTribeMemberCard--Details", children: [_jsx("span", { className: "addTribeMemberCard--Name", children: _jsx(EllipsisText, { maxWidth: "100%", children: assigneeName }) }), _jsx("span", { className: "addTribeMemberCard--Mail", children: _jsx(EllipsisText, { maxWidth: "100%", children: assigneeMail }) }), isAdmin && (_jsx(BadgeNonClickable, { showIcon: false, text: "Owner", variant: "neutral" }))] }), RenderAddOrRemoveButton({
|
|
17
17
|
iconType,
|
|
18
18
|
isAdmin,
|
|
19
19
|
isLoading,
|
|
20
20
|
onClick,
|
|
21
|
+
dataCy,
|
|
21
22
|
})] })] }));
|
|
22
23
|
};
|
|
23
24
|
export default AssignmentCreation;
|