qlu-20-ui-library 1.7.3 → 1.7.5

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 (151) hide show
  1. package/dist/build/qlu-20-ui-library.cjs +66 -66
  2. package/dist/build/qlu-20-ui-library.js +11601 -11379
  3. package/dist/components/AdvanceFilterJobTitleV2/index.d.ts +2 -1
  4. package/dist/components/AssignmentBreadCrumb/index.d.ts +2 -1
  5. package/dist/components/AssignmentCreationCard/index.d.ts +2 -1
  6. package/dist/components/AssignmentIdealProfileSelectionCard/DynamicEducationCard/index.d.ts +2 -1
  7. package/dist/components/AssignmentIdealProfileSelectionCard/DynamicExperienceCard/index.d.ts +2 -1
  8. package/dist/components/AssignmentIdealProfileSelectionCard/NotesProspectiveList/index.d.ts +2 -1
  9. package/dist/components/AssignmentIdealProfileSelectionCard/ProfileCard/index.d.ts +2 -1
  10. package/dist/components/AssignmentIdealProfileSelectionCard/ProfileIstSection/index.d.ts +2 -1
  11. package/dist/components/AssignmentIdealProfileSelectionCard/ProfileSecondSection/index.d.ts +2 -1
  12. package/dist/components/AssignmentIdealProfileSelectionCard/index.d.ts +2 -1
  13. package/dist/components/BadgeWithCount/index.d.ts +2 -1
  14. package/dist/components/BusinessUnitView/BusinessUnitViewTabsComponent/BusinessUnitViewTabsComponent.d.ts +2 -1
  15. package/dist/components/ChatDropDown/index.d.ts +4 -1
  16. package/dist/components/CheckboxComponent/index.d.ts +1 -0
  17. package/dist/components/ChevronDropDown/index.d.ts +4 -1
  18. package/dist/components/ClickableText/index.d.ts +2 -1
  19. package/dist/components/ColoredButton/index.d.ts +2 -1
  20. package/dist/components/CompanyDetailsCard/index.d.ts +2 -1
  21. package/dist/components/CompanyLikePillSelectable/index.d.ts +2 -1
  22. package/dist/components/CompanyLogoPillSelectable/index.d.ts +2 -1
  23. package/dist/components/CompanyView/CompanyViewHeader/index.d.ts +1 -0
  24. package/dist/components/CompanyView/CompanyViewTabsComponent/index.d.ts +1 -0
  25. package/dist/components/DropDownButton/index.d.ts +2 -1
  26. package/dist/components/FilterAndSortDropdown/index.d.ts +2 -1
  27. package/dist/components/InputField/index.d.ts +3 -1
  28. package/dist/components/InputFieldWithSvg/index.d.ts +2 -1
  29. package/dist/components/NumberInputField/index.d.ts +2 -1
  30. package/dist/components/PersonView/PersonViewBody/index.d.ts +1 -0
  31. package/dist/components/PersonView/PersonViewExperienceCard/index.d.ts +1 -0
  32. package/dist/components/PersonView/PersonViewExperienceDetails/index.d.ts +1 -0
  33. package/dist/components/PersonView/PersonViewHeader/index.d.ts +1 -0
  34. package/dist/components/PersonView/PersonViewSummary/index.d.ts +2 -1
  35. package/dist/components/PersonView/PersonViewTabsComponent/index.d.ts +1 -0
  36. package/dist/components/PrimaryButton/index.d.ts +2 -1
  37. package/dist/components/PromptField/index.d.ts +2 -1
  38. package/dist/components/SearchFilterButton/index.d.ts +2 -1
  39. package/dist/components/SearchFilterSideDrawer/SaveSearch/index.d.ts +2 -1
  40. package/dist/components/Select/index.d.ts +2 -1
  41. package/dist/components/SelectDropDown/index.d.ts +2 -1
  42. package/dist/components/SelectItem/index.d.ts +3 -2
  43. package/dist/components/SelectablePill/index.d.ts +2 -1
  44. package/dist/components/Svg/Box.d.ts +6 -0
  45. package/dist/components/SwitchLarge/index.d.ts +2 -1
  46. package/dist/components/TableNameCell/index.d.ts +2 -1
  47. package/dist/components/TablePagination/index.d.ts +1 -0
  48. package/dist/components/Tabs/index.d.ts +2 -1
  49. package/dist/components/TertiaryButton/index.d.ts +2 -1
  50. package/dist/components/ToggleComponent/index.d.ts +1 -0
  51. package/dist/types/components/AdvanceFilterJobTitleV2/index.d.ts +2 -1
  52. package/dist/types/components/AdvanceFilterJobTitleV2/index.js +3 -3
  53. package/dist/types/components/AssignmentBreadCrumb/index.d.ts +2 -1
  54. package/dist/types/components/AssignmentBreadCrumb/index.js +2 -2
  55. package/dist/types/components/AssignmentCreationCard/index.d.ts +2 -1
  56. package/dist/types/components/AssignmentCreationCard/index.js +4 -3
  57. package/dist/types/components/AssignmentIdealProfileSelectionCard/DynamicEducationCard/index.d.ts +2 -1
  58. package/dist/types/components/AssignmentIdealProfileSelectionCard/DynamicEducationCard/index.js +2 -2
  59. package/dist/types/components/AssignmentIdealProfileSelectionCard/DynamicExperienceCard/index.d.ts +2 -1
  60. package/dist/types/components/AssignmentIdealProfileSelectionCard/DynamicExperienceCard/index.js +2 -2
  61. package/dist/types/components/AssignmentIdealProfileSelectionCard/NotesProspectiveList/index.d.ts +2 -1
  62. package/dist/types/components/AssignmentIdealProfileSelectionCard/NotesProspectiveList/index.js +2 -2
  63. package/dist/types/components/AssignmentIdealProfileSelectionCard/ProfileCard/index.d.ts +2 -1
  64. package/dist/types/components/AssignmentIdealProfileSelectionCard/ProfileCard/index.js +2 -2
  65. package/dist/types/components/AssignmentIdealProfileSelectionCard/ProfileIstSection/index.d.ts +2 -1
  66. package/dist/types/components/AssignmentIdealProfileSelectionCard/ProfileIstSection/index.js +2 -2
  67. package/dist/types/components/AssignmentIdealProfileSelectionCard/ProfileSecondSection/index.d.ts +2 -1
  68. package/dist/types/components/AssignmentIdealProfileSelectionCard/ProfileSecondSection/index.js +2 -2
  69. package/dist/types/components/AssignmentIdealProfileSelectionCard/index.d.ts +2 -1
  70. package/dist/types/components/AssignmentIdealProfileSelectionCard/index.js +2 -2
  71. package/dist/types/components/BadgeWithCount/index.d.ts +2 -1
  72. package/dist/types/components/BadgeWithCount/index.js +2 -2
  73. package/dist/types/components/BusinessUnitView/BusinessUnitViewTabsComponent/BusinessUnitViewTabsComponent.d.ts +2 -1
  74. package/dist/types/components/BusinessUnitView/BusinessUnitViewTabsComponent/BusinessUnitViewTabsComponent.js +2 -2
  75. package/dist/types/components/ChatDropDown/index.d.ts +4 -1
  76. package/dist/types/components/ChatDropDown/index.js +4 -4
  77. package/dist/types/components/CheckboxComponent/index.d.ts +1 -0
  78. package/dist/types/components/CheckboxComponent/index.js +2 -2
  79. package/dist/types/components/ChevronDropDown/index.d.ts +4 -1
  80. package/dist/types/components/ChevronDropDown/index.js +10 -3
  81. package/dist/types/components/ClickableText/index.d.ts +2 -1
  82. package/dist/types/components/ClickableText/index.js +2 -2
  83. package/dist/types/components/ColoredButton/index.d.ts +2 -1
  84. package/dist/types/components/ColoredButton/index.js +2 -2
  85. package/dist/types/components/CompanyDetailsCard/index.d.ts +2 -1
  86. package/dist/types/components/CompanyDetailsCard/index.js +3 -3
  87. package/dist/types/components/CompanyLikePillSelectable/index.d.ts +2 -1
  88. package/dist/types/components/CompanyLikePillSelectable/index.js +2 -2
  89. package/dist/types/components/CompanyLogoPillSelectable/index.d.ts +2 -1
  90. package/dist/types/components/CompanyLogoPillSelectable/index.js +2 -2
  91. package/dist/types/components/CompanyView/CompanyViewHeader/index.d.ts +1 -0
  92. package/dist/types/components/CompanyView/CompanyViewHeader/index.js +3 -3
  93. package/dist/types/components/CompanyView/CompanyViewTabsComponent/index.d.ts +1 -0
  94. package/dist/types/components/CompanyView/CompanyViewTabsComponent/index.js +4 -2
  95. package/dist/types/components/ContinuousRangeComponent/ContinuousRangeComponent.js +2 -2
  96. package/dist/types/components/DropDownButton/index.d.ts +2 -1
  97. package/dist/types/components/DropDownButton/index.js +2 -2
  98. package/dist/types/components/FilterAndSortDropdown/index.d.ts +2 -1
  99. package/dist/types/components/FilterAndSortDropdown/index.js +5 -5
  100. package/dist/types/components/GetSvgIcon/index.js +2 -1
  101. package/dist/types/components/InputField/index.d.ts +3 -1
  102. package/dist/types/components/InputField/index.js +2 -2
  103. package/dist/types/components/InputFieldWithSvg/index.d.ts +2 -1
  104. package/dist/types/components/InputFieldWithSvg/index.js +3 -3
  105. package/dist/types/components/NumberInputField/index.d.ts +2 -1
  106. package/dist/types/components/NumberInputField/index.js +2 -2
  107. package/dist/types/components/PersonView/PersonViewBody/index.d.ts +1 -0
  108. package/dist/types/components/PersonView/PersonViewBody/index.js +2 -2
  109. package/dist/types/components/PersonView/PersonViewExperienceCard/index.d.ts +1 -0
  110. package/dist/types/components/PersonView/PersonViewExperienceCard/index.js +2 -2
  111. package/dist/types/components/PersonView/PersonViewExperienceDetails/index.d.ts +1 -0
  112. package/dist/types/components/PersonView/PersonViewExperienceDetails/index.js +3 -3
  113. package/dist/types/components/PersonView/PersonViewHeader/index.d.ts +1 -0
  114. package/dist/types/components/PersonView/PersonViewHeader/index.js +3 -3
  115. package/dist/types/components/PersonView/PersonViewSummary/index.d.ts +2 -1
  116. package/dist/types/components/PersonView/PersonViewSummary/index.js +4 -4
  117. package/dist/types/components/PersonView/PersonViewTabsComponent/index.d.ts +1 -0
  118. package/dist/types/components/PersonView/PersonViewTabsComponent/index.js +4 -2
  119. package/dist/types/components/PrimaryButton/index.d.ts +2 -1
  120. package/dist/types/components/PrimaryButton/index.js +2 -2
  121. package/dist/types/components/PromptField/index.d.ts +2 -1
  122. package/dist/types/components/PromptField/index.js +2 -2
  123. package/dist/types/components/SearchFilterButton/index.d.ts +2 -1
  124. package/dist/types/components/SearchFilterButton/index.js +2 -2
  125. package/dist/types/components/SearchFilterSideDrawer/SaveSearch/index.d.ts +2 -1
  126. package/dist/types/components/SearchFilterSideDrawer/SaveSearch/index.js +7 -4
  127. package/dist/types/components/Select/index.d.ts +2 -1
  128. package/dist/types/components/Select/index.js +2 -2
  129. package/dist/types/components/SelectDropDown/index.d.ts +2 -1
  130. package/dist/types/components/SelectDropDown/index.js +2 -2
  131. package/dist/types/components/SelectItem/index.d.ts +3 -2
  132. package/dist/types/components/SelectItem/index.js +3 -3
  133. package/dist/types/components/SelectablePill/index.d.ts +2 -1
  134. package/dist/types/components/SelectablePill/index.js +3 -3
  135. package/dist/types/components/Svg/Box.d.ts +6 -0
  136. package/dist/types/components/Svg/Box.js +5 -0
  137. package/dist/types/components/SwitchLarge/index.d.ts +2 -1
  138. package/dist/types/components/SwitchLarge/index.js +4 -2
  139. package/dist/types/components/TableNameCell/index.d.ts +2 -1
  140. package/dist/types/components/TableNameCell/index.js +2 -2
  141. package/dist/types/components/TablePagination/index.d.ts +1 -0
  142. package/dist/types/components/TablePagination/index.js +2 -2
  143. package/dist/types/components/Tabs/index.d.ts +2 -1
  144. package/dist/types/components/Tabs/index.js +2 -2
  145. package/dist/types/components/TertiaryButton/index.d.ts +2 -1
  146. package/dist/types/components/TertiaryButton/index.js +2 -2
  147. package/dist/types/components/ToggleComponent/index.d.ts +1 -0
  148. package/dist/types/components/ToggleComponent/index.js +2 -2
  149. package/dist/types/types.d.ts +1 -1
  150. package/dist/types.d.ts +1 -1
  151. package/package.json +1 -1
@@ -2,8 +2,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ClickableText, EllipsisText, GetSvgIcon, Loader, Tooltip, } from "../..";
3
3
  import SearchTimer from "./SearchTimer";
4
4
  import "./style.scss";
5
- const SavedSearches = ({ titles, isLoading = false, onTitleClick = () => { }, onDeleteClick = () => { }, remainingTime = 0, showMore = false, handleMoreClick = () => { }, isDisabled = false, handleBack = () => { }, }) => {
6
- const shouldShowTimer = (title) => (title.searchType === "nameGen" || title.searchType === "external" || title.searchType === "massUpdate") &&
5
+ const SavedSearches = ({ titles, isLoading = false, onTitleClick = () => { }, onDeleteClick = () => { }, remainingTime = 0, showMore = false, handleMoreClick = () => { }, isDisabled = false, handleBack = () => { }, dataCy, }) => {
6
+ const shouldShowTimer = (title) => (title.searchType === "nameGen" ||
7
+ title.searchType === "external" ||
8
+ title.searchType === "massUpdate") &&
7
9
  !title.isCompleted;
8
10
  const handleTitleClick = (title) => (_event) => {
9
11
  onTitleClick(title);
@@ -11,7 +13,8 @@ const SavedSearches = ({ titles, isLoading = false, onTitleClick = () => { }, on
11
13
  const handleDeleteClick = (title) => (_event) => {
12
14
  onDeleteClick(title);
13
15
  };
14
- return (_jsxs("div", { className: "savedSearches", children: [_jsxs("div", { children: [_jsxs("div", { children: [_jsx("button", { type: "button", onClick: handleBack, children: _jsx(GetSvgIcon, { iconType: "chevronLeft", iconSize: "24" }) }), _jsx("h3", { children: "Saved Searches" })] }), _jsxs("div", { children: [titles.map((title, index) => (_jsxs("div", { children: [_jsxs("div", { children: [_jsxs("button", { type: "button", className: "btn-Title", onClick: handleTitleClick(title), children: [title.searchType === "external" && (_jsx(Tooltip, { toolTipPosition: "bottom", content: "Search More", children: _jsx(GetSvgIcon, { iconType: "globeSearch", iconSize: "24" }) })), title.searchType === "massUpdate" && (_jsx(Tooltip, { toolTipPosition: "bottom", content: "Mass Update", children: _jsx(GetSvgIcon, { iconType: "refresh", iconSize: "24" }) })), title.searchType === "nameGen" && (_jsx(Tooltip, { toolTipPosition: "bottom", content: "Search Builder", children: _jsx(GetSvgIcon, { iconType: "sparkles", iconSize: "24" }) })), title.searchType !== "nameGen" &&
15
- title.searchType !== "external" && title.searchType !== "massUpdate" && (_jsx(Tooltip, { toolTipPosition: "bottom", content: "Basic Search", children: _jsx(GetSvgIcon, { iconType: "search", iconSize: "24" }) })), _jsx(EllipsisText, { toolTipPosition: "bottom", maxWidth: `${shouldShowTimer(title) || title.isLoading ? 208 : 264}px`, children: title.name }), shouldShowTimer(title) && (_jsx(SearchTimer, { remainingTime: remainingTime ?? 0 }))] }), title.isLoading && _jsx(Loader, { width: "18", height: "18" })] }), _jsx("button", { type: "button", className: "btn-Delete", onClick: handleDeleteClick(title), children: _jsx(GetSvgIcon, { iconType: "delete", iconSize: "18" }) })] }, index))), isLoading && (_jsx("span", { className: "loader", children: _jsx(Loader, { width: "20", height: "20" }) })), _jsx("div", { className: "loadMore", children: showMore && (_jsx(ClickableText, { text: "Load More", colorVariant: "gray", onClick: handleMoreClick, disabled: isDisabled, sizeVariant: "sm" })) })] })] }), _jsx("div", { className: "resultWrapper", children: _jsx(ClickableText, { text: "Back to results", colorVariant: "orange", onClick: handleBack, disabled: isDisabled, sizeVariant: "base" }) })] }));
16
+ return (_jsxs("div", { className: "savedSearches", children: [_jsxs("div", { children: [_jsxs("div", { children: [_jsx("button", { type: "button", onClick: handleBack, "data-cy": `${dataCy}-back-arrow`, children: _jsx(GetSvgIcon, { iconType: "chevronLeft", iconSize: "24" }) }), _jsx("h3", { children: "Saved Searches" })] }), _jsxs("div", { children: [titles.map((title, index) => (_jsxs("div", { children: [_jsxs("div", { children: [_jsxs("button", { type: "button", className: "btn-Title", onClick: handleTitleClick(title), "data-cy": `${dataCy}-select`, children: [title.searchType === "external" && (_jsx(Tooltip, { toolTipPosition: "bottom", content: "Search More", children: _jsx(GetSvgIcon, { iconType: "globeSearch", iconSize: "24" }) })), title.searchType === "massUpdate" && (_jsx(Tooltip, { toolTipPosition: "bottom", content: "Mass Update", children: _jsx(GetSvgIcon, { iconType: "refresh", iconSize: "24" }) })), title.searchType === "nameGen" && (_jsx(Tooltip, { toolTipPosition: "bottom", content: "Search Builder", children: _jsx(GetSvgIcon, { iconType: "sparkles", iconSize: "24" }) })), title.searchType !== "nameGen" &&
17
+ title.searchType !== "external" &&
18
+ title.searchType !== "massUpdate" && (_jsx(Tooltip, { toolTipPosition: "bottom", content: "Basic Search", children: _jsx(GetSvgIcon, { iconType: "search", iconSize: "24" }) })), _jsx(EllipsisText, { toolTipPosition: "bottom", maxWidth: `${shouldShowTimer(title) || title.isLoading ? 208 : 264}px`, children: title.name }), shouldShowTimer(title) && (_jsx(SearchTimer, { remainingTime: remainingTime ?? 0 }))] }), title.isLoading && _jsx(Loader, { width: "18", height: "18" })] }), _jsx("button", { type: "button", className: "btn-Delete", onClick: handleDeleteClick(title), "data-cy": `${dataCy}-delete`, children: _jsx(GetSvgIcon, { iconType: "delete", iconSize: "18" }) })] }, index))), isLoading && (_jsx("span", { className: "loader", children: _jsx(Loader, { width: "20", height: "20" }) })), _jsx("div", { className: "loadMore", children: showMore && (_jsx(ClickableText, { text: "Load More", colorVariant: "gray", onClick: handleMoreClick, disabled: isDisabled, sizeVariant: "sm", dataCy: `${dataCy}-load-more` })) })] })] }), _jsx("div", { className: "resultWrapper", children: _jsx(ClickableText, { text: "Back to results", colorVariant: "orange", onClick: handleBack, disabled: isDisabled, sizeVariant: "base", dataCy: `${dataCy}-back` }) })] }));
16
19
  };
17
20
  export default SavedSearches;
@@ -17,11 +17,12 @@ type SelectProps = {
17
17
  className?: string;
18
18
  containerStyles?: React.CSSProperties;
19
19
  renderContent?: () => ReactNode;
20
+ dataCy?: string;
20
21
  };
21
22
  export declare const SelectContext: React.Context<{
22
23
  value: string;
23
24
  onChange: (value: string) => void;
24
25
  setShowMenu: (value: boolean) => void;
25
26
  }>;
26
- 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;
27
+ 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;
27
28
  export default Select;
@@ -4,7 +4,7 @@ import { GetSvgIcon } from "..";
4
4
  import "./style.scss";
5
5
  import clsx from "clsx";
6
6
  export const SelectContext = createContext({ value: "", onChange: () => { }, setShowMenu: () => { } });
7
- function Select({ value, onChange, children, iconType = "bell", disabled = false, menuPosition = "left", showIconRight = false, showIconLeft = false, iconSizeLeft = "16", iconSizeRight = "16", colorStyling = "gray", maxWidth = "200px", className, containerStyles = {}, renderContent, }) {
7
+ function Select({ value, onChange, children, iconType = "bell", disabled = false, menuPosition = "left", showIconRight = false, showIconLeft = false, iconSizeLeft = "16", iconSizeRight = "16", colorStyling = "gray", maxWidth = "200px", className, containerStyles = {}, renderContent, dataCy, }) {
8
8
  // ================================== children validation ================================== //
9
9
  React.Children.forEach(children, (child) => {
10
10
  if (React.isValidElement(child)) {
@@ -56,7 +56,7 @@ function Select({ value, onChange, children, iconType = "bell", disabled = false
56
56
  const toggleMenuShow = () => {
57
57
  setShowMenu((prevState) => !prevState);
58
58
  };
59
- return (_jsxs("div", { style: { ...containerStyles }, className: `${containerCLSX}`, children: [_jsxs("button", { type: "button", className: buttonClassName, onClick: toggleMenuShow, ref: dropContainerRef, disabled: disabled, children: [showIconLeft && (_jsx("div", { className: "leftIcon", children: _jsx(GetSvgIcon, { iconType: iconType, iconSize: iconSizeLeft }) })), _jsx("span", { style: {
59
+ return (_jsxs("div", { style: { ...containerStyles }, className: `${containerCLSX}`, children: [_jsxs("button", { type: "button", className: buttonClassName, onClick: toggleMenuShow, ref: dropContainerRef, disabled: disabled, "data-cy": dataCy, children: [showIconLeft && (_jsx("div", { className: "leftIcon", children: _jsx(GetSvgIcon, { iconType: iconType, iconSize: iconSizeLeft }) })), _jsx("span", { style: {
60
60
  textOverflow: "ellipsis",
61
61
  maxWidth: maxWidth,
62
62
  marginRight: "24px",
@@ -8,7 +8,8 @@ interface SelectDropDown {
8
8
  isAllSelected: boolean;
9
9
  isDisabled?: boolean;
10
10
  tooltipContent?: string;
11
+ dataCy?: string;
11
12
  hideSelectedText?: boolean;
12
13
  }
13
- declare const SelectDropDown: ({ onApplyClick, selectedCount, showCancel, onCancelClick, totalCount, isAllSelected, isDisabled, tooltipContent, hideSelectedText, }: SelectDropDown) => import("react/jsx-runtime").JSX.Element;
14
+ declare const SelectDropDown: ({ onApplyClick, selectedCount, showCancel, onCancelClick, totalCount, isAllSelected, isDisabled, tooltipContent, dataCy, hideSelectedText, }: SelectDropDown) => import("react/jsx-runtime").JSX.Element;
14
15
  export default SelectDropDown;
@@ -5,7 +5,7 @@ import "./style.scss";
5
5
  import SearchCheckboxComponent from "../SearchCheckboxComponent";
6
6
  import { v4 as uuidv4 } from "uuid";
7
7
  import clsx from "clsx";
8
- const SelectDropDown = ({ onApplyClick, selectedCount = 0, showCancel = true, onCancelClick = () => false, totalCount = 10, isAllSelected, isDisabled, tooltipContent, hideSelectedText = false, }) => {
8
+ const SelectDropDown = ({ onApplyClick, selectedCount = 0, showCancel = true, onCancelClick = () => false, totalCount = 10, isAllSelected, isDisabled, tooltipContent, dataCy, hideSelectedText = false, }) => {
9
9
  const [listShow, setListShow] = useState(false);
10
10
  const [topRange, setTopRange] = useState(selectedCount);
11
11
  const dropdownRef = useRef(null);
@@ -70,6 +70,6 @@ const SelectDropDown = ({ onApplyClick, selectedCount = 0, showCancel = true, on
70
70
  "selectDropDown--dropdown-list-show": listShow,
71
71
  "selectDropDown--dropdown-list-hide": !listShow,
72
72
  });
73
- return (_jsx(Tooltip, { content: tooltipContent, toolTipPosition: "top", isDisabled: !tooltipContent, children: _jsx("div", { className: "selectDropDown--container", children: _jsxs("span", { className: "selectDropDown--dropdown", children: [_jsxs("button", { onClick: toggleListShow, disabled: isDisabled, className: "selectDropDown--btn--dropdown", ref: selectContainerRef, children: [_jsx(SearchCheckboxComponent, { sizeVariant: "base", checked: false, onClick: handleCheckboxClick, isAllSelected: isAllSelected, isSubsetSelected: !isAllSelected && selectedCount > 0, isDisabled: isDisabled }), selectedCount > 0 && (_jsxs("p", { children: [selectedCount, " ", !hideSelectedText && "selected"] })), _jsx("span", { children: _jsx(GetSvgIcon, { iconType: "arrowDown", iconSize: "16" }) })] }), _jsx("dialog", { id: uuidv4(), ref: dropdownRef, className: "dropdownContainer", children: _jsxs("ul", { className: dropDownListClassName, children: [_jsx("li", { onClick: handleSelectAllClick, children: "Select All" }), _jsxs("li", { children: ["Select Top", _jsx("span", { className: "space", children: listShow && (_jsx(NumberInputField, { initialNumber: String(topRange), handleChange: handleChange, props: { style: { width: "70px", maxWidth: "70px" } } })) })] }), _jsx("span", { className: "apply", children: _jsx(PrimaryButton, { text: "Apply", colorVariant: "orange", onClick: handleApply, isDisabled: topRange < 0 }) }), showCancel && (_jsx("span", { className: "cancel", children: _jsx(TertiaryButton, { text: "Clear Selection", onClick: handleCancel }) }))] }) })] }) }) }));
73
+ return (_jsx(Tooltip, { content: tooltipContent, toolTipPosition: "top", isDisabled: !tooltipContent, children: _jsx("div", { className: "selectDropDown--container", "data-cy": dataCy, children: _jsxs("span", { className: "selectDropDown--dropdown", children: [_jsxs("button", { onClick: toggleListShow, disabled: isDisabled, className: "selectDropDown--btn--dropdown", ref: selectContainerRef, children: [_jsx(SearchCheckboxComponent, { sizeVariant: "base", checked: false, onClick: handleCheckboxClick, isAllSelected: isAllSelected, isSubsetSelected: !isAllSelected && selectedCount > 0, isDisabled: isDisabled }), selectedCount > 0 && (_jsxs("p", { children: [selectedCount, " ", !hideSelectedText && "selected"] })), _jsx("span", { children: _jsx(GetSvgIcon, { iconType: "arrowDown", iconSize: "16" }) })] }), _jsx("dialog", { id: uuidv4(), ref: dropdownRef, className: "dropdownContainer", children: _jsxs("ul", { className: dropDownListClassName, children: [_jsx("li", { onClick: handleSelectAllClick, "data-cy": `${dataCy}-select-all`, children: "Select All" }), _jsxs("li", { children: ["Select Top", _jsx("span", { className: "space", children: listShow && (_jsx(NumberInputField, { initialNumber: String(topRange), handleChange: handleChange, props: { style: { width: "70px", maxWidth: "70px" } }, dataCy: `${dataCy}-input` })) })] }), _jsx("span", { className: "apply", children: _jsx(PrimaryButton, { text: "Apply", colorVariant: "orange", onClick: handleApply, isDisabled: topRange < 0, dataCy: `${dataCy}-apply` }) }), showCancel && (_jsx("span", { className: "cancel", children: _jsx(TertiaryButton, { text: "Clear Selection", onClick: handleCancel, dataCy: `${dataCy}-clear-selection` }) }))] }) })] }) }) }));
74
74
  };
75
75
  export default SelectDropDown;
@@ -1,9 +1,10 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from "react";
2
2
  import "./style.scss";
3
- type SelectItemProps = ComponentPropsWithoutRef<'button'> & {
3
+ type SelectItemProps = ComponentPropsWithoutRef<"button"> & {
4
4
  itemValue: string;
5
5
  children?: ReactNode;
6
6
  className?: string;
7
+ dataCy?: string;
7
8
  };
8
- declare function SelectItem({ itemValue, children, className, ...props }: SelectItemProps): import("react/jsx-runtime").JSX.Element;
9
+ declare function SelectItem({ itemValue, children, className, dataCy, ...props }: SelectItemProps): import("react/jsx-runtime").JSX.Element;
9
10
  export default SelectItem;
@@ -3,11 +3,11 @@ import { useContext } from "react";
3
3
  import { SelectContext } from "../Select";
4
4
  import "./style.scss";
5
5
  import clsx from "clsx";
6
- function SelectItem({ itemValue, children, className = "", ...props }) {
6
+ function SelectItem({ itemValue, children, className = "", dataCy, ...props }) {
7
7
  const { onChange, setShowMenu, value } = useContext(SelectContext);
8
8
  const areValuesEqual = itemValue === value;
9
9
  const selectItemCLSX = clsx({
10
- "selectItemDropdown": true,
10
+ selectItemDropdown: true,
11
11
  "selectItemDropdown-Active": areValuesEqual,
12
12
  "selectItemDropdown-NonActive": !areValuesEqual,
13
13
  [`${className}`]: true,
@@ -18,7 +18,7 @@ function SelectItem({ itemValue, children, className = "", ...props }) {
18
18
  }
19
19
  setShowMenu(false);
20
20
  };
21
- return (_jsx("button", { className: selectItemCLSX, onClick: optionClick, ...props, children: children || itemValue }));
21
+ return (_jsx("button", { className: selectItemCLSX, onClick: optionClick, "data-cy": dataCy, ...props, children: children || itemValue }));
22
22
  }
23
23
  Object.defineProperty(SelectItem, "selectItemComponent", {
24
24
  value: true,
@@ -12,6 +12,7 @@ type SelectablePillProps = ComponentPropsWithRef<"button"> & {
12
12
  onEnter?: () => void;
13
13
  onLeave?: () => void;
14
14
  isDisabled?: boolean;
15
+ dataCy?: string;
15
16
  };
16
- declare const SelectablePill: ({ id, text, onSelect, onExclude, variant, highlight, onEnter, onLeave, isDisabled, iconPath, ...props }: SelectablePillProps) => import("react/jsx-runtime").JSX.Element;
17
+ declare const SelectablePill: ({ id, text, onSelect, onExclude, variant, highlight, onEnter, onLeave, isDisabled, iconPath, dataCy, ...props }: SelectablePillProps) => import("react/jsx-runtime").JSX.Element;
17
18
  export default SelectablePill;
@@ -5,7 +5,7 @@ import GetSvgIcon from "../GetSvgIcon";
5
5
  import CircularIcon from "../CircularIcon";
6
6
  import EllipsisText from "../EllipsisText";
7
7
  import Tooltip from "../Tooltip";
8
- const SelectablePill = ({ id, text, onSelect, onExclude, variant = "unselected", highlight = false, onEnter = () => { }, onLeave = () => { }, isDisabled = false, iconPath, ...props }) => {
8
+ const SelectablePill = ({ id, text, onSelect, onExclude, variant = "unselected", highlight = false, onEnter = () => { }, onLeave = () => { }, isDisabled = false, iconPath, dataCy, ...props }) => {
9
9
  const className = clsx({
10
10
  "selectablePill--Generic": true,
11
11
  "selectablePill--Selected": variant === "selected",
@@ -22,9 +22,9 @@ const SelectablePill = ({ id, text, onSelect, onExclude, variant = "unselected",
22
22
  "selectablePill--Exclude": true,
23
23
  "selectablePill--ExcludeSelected": variant === "excluded",
24
24
  });
25
- return (_jsxs("button", { id: id, disabled: isDisabled, className: className, ...props, onMouseEnter: onEnter, onMouseLeave: onLeave, onClick: onSelect, children: [!!iconPath && (_jsx("span", { className: "selectablePill--logoSVG", children: _jsx(CircularIcon, { iconSize: "24", errorImageContainerSize: "34", iconPath: iconPath, altImageType: "company" }) })), _jsx(EllipsisText, { maxWidth: "330px", toolTipPosition: "bottom", children: text }), _jsxs("div", { className: "selectablePill--ActionButton", children: [_jsx(Tooltip, { content: "Include", children: _jsx("button", { className: includeButton, children: _jsx(GetSvgIcon, { iconType: "tick", iconSize: "24" }) }) }), _jsx(Tooltip, { content: "Exclude", children: _jsx("button", { className: excludeButton, onClick: (e) => {
25
+ return (_jsxs("button", { id: id, disabled: isDisabled, className: className, ...props, onMouseEnter: onEnter, onMouseLeave: onLeave, onClick: onSelect, "data-cy": dataCy, children: [!!iconPath && (_jsx("span", { className: "selectablePill--logoSVG", children: _jsx(CircularIcon, { iconSize: "24", errorImageContainerSize: "34", iconPath: iconPath, altImageType: "company" }) })), _jsx(EllipsisText, { maxWidth: "330px", toolTipPosition: "bottom", children: text }), _jsxs("div", { className: "selectablePill--ActionButton", children: [_jsx(Tooltip, { content: "Include", children: _jsx("button", { className: includeButton, "data-cy": `${dataCy}-include`, children: _jsx(GetSvgIcon, { iconType: "tick", iconSize: "24" }) }) }), _jsx(Tooltip, { content: "Exclude", children: _jsx("button", { className: excludeButton, onClick: (e) => {
26
26
  e.stopPropagation();
27
27
  onExclude(e);
28
- }, children: _jsx(GetSvgIcon, { iconType: "notAllowed", iconSize: "24" }) }) })] })] }));
28
+ }, "data-cy": `${dataCy}-exclude`, children: _jsx(GetSvgIcon, { iconType: "notAllowed", iconSize: "24" }) }) })] })] }));
29
29
  };
30
30
  export default SelectablePill;
@@ -0,0 +1,6 @@
1
+ interface BoxProps {
2
+ width?: string;
3
+ height?: string;
4
+ }
5
+ declare const Box: ({ width, height }: BoxProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default Box;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ const Box = ({ width = "20", height = "20" }) => {
3
+ return (_jsxs("svg", { width: width, height: height, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsxs("g", { "clip-path": "url(#clip0_15980_26871)", children: [_jsx("path", { d: "M15.75 11.9999V5.99987C15.7497 5.73682 15.6803 5.47847 15.5487 5.25074C15.417 5.023 15.2278 4.83389 15 4.70237L9.75 1.70237C9.52197 1.57071 9.2633 1.5014 9 1.5014C8.7367 1.5014 8.47803 1.57071 8.25 1.70237L3 4.70237C2.7722 4.83389 2.58299 5.023 2.45135 5.25074C2.31971 5.47847 2.25027 5.73682 2.25 5.99987V11.9999C2.25027 12.2629 2.31971 12.5213 2.45135 12.749C2.58299 12.9767 2.7722 13.1658 3 13.2974L8.25 16.2974C8.47803 16.429 8.7367 16.4983 9 16.4983C9.2633 16.4983 9.52197 16.429 9.75 16.2974L15 13.2974C15.2278 13.1658 15.417 12.9767 15.5487 12.749C15.6803 12.5213 15.7497 12.2629 15.75 11.9999Z", stroke: "#ADADAD", "stroke-linecap": "round", "stroke-linejoin": "round" }), _jsx("path", { d: "M2.45312 5.21985L9.00062 9.00735L15.5481 5.21985", stroke: "#ADADAD", "stroke-linecap": "round", "stroke-linejoin": "round" }), _jsx("path", { d: "M9 16.5599V8.99988", stroke: "#ADADAD", "stroke-linecap": "round", "stroke-linejoin": "round" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_15980_26871", children: _jsx("rect", { width: width, height: height, fill: "white" }) }) })] }));
4
+ };
5
+ export default Box;
@@ -10,6 +10,7 @@ interface SwitchProps {
10
10
  }
11
11
  interface SwitchLargeProps {
12
12
  switches: [SwitchProps, SwitchProps];
13
+ dataCy?: string;
13
14
  }
14
- declare const SwitchLarge: ({ switches }: SwitchLargeProps) => import("react/jsx-runtime").JSX.Element;
15
+ declare const SwitchLarge: ({ switches, dataCy }: SwitchLargeProps) => import("react/jsx-runtime").JSX.Element;
15
16
  export default SwitchLarge;
@@ -2,7 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import "./style.scss";
3
3
  import GetSvgIcon from "../GetSvgIcon";
4
4
  import { Tooltip } from "..";
5
- const SwitchLarge = ({ switches }) => {
6
- return (_jsx("div", { className: "switchLarge", children: switches.map((s, index) => (_jsx(Tooltip, { content: s.name, children: _jsxs("button", { className: `${s.isActive ? "active" : ""}`, onClick: s.onClick, children: [s.text && !s.iconType && (_jsx("span", { className: "switchButtonText", children: s.text })), s.iconType && _jsx(GetSvgIcon, { iconType: s.iconType, iconSize: "16" })] }, index) }))) }));
5
+ const SwitchLarge = ({ switches, dataCy }) => {
6
+ return (_jsx("div", { className: "switchLarge", children: switches.map((s, index) => (_jsx(Tooltip, { content: s.name, children: _jsxs("button", { className: `${s.isActive ? "active" : ""}`, onClick: s.onClick, "data-cy": s.text
7
+ ? `${dataCy}-${s.text?.toLowerCase()}`
8
+ : `${dataCy}-${s.name?.toLowerCase()}`, children: [s.text && !s.iconType && (_jsx("span", { className: "switchButtonText", children: s.text })), s.iconType && _jsx(GetSvgIcon, { iconType: s.iconType, iconSize: "16" })] }, index) }))) }));
7
9
  };
8
10
  export default SwitchLarge;
@@ -10,6 +10,7 @@ type TableNameCellProps = {
10
10
  iconKey?: string;
11
11
  altImageType?: string;
12
12
  metaContent?: ReactNode;
13
+ dataCy?: string;
13
14
  };
14
- declare const TableNameCell: ({ index, isSelected, onCheckClick, onNameClick, name, iconPath, iconKey, altImageType, metaContent, }: TableNameCellProps) => import("react/jsx-runtime").JSX.Element;
15
+ declare const TableNameCell: ({ index, isSelected, onCheckClick, onNameClick, name, iconPath, iconKey, altImageType, metaContent, dataCy, }: TableNameCellProps) => import("react/jsx-runtime").JSX.Element;
15
16
  export default TableNameCell;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { CheckboxComponent, PersonCompanyNameClickable, RectangularIcon, } from "..";
3
3
  import "./styles.scss";
4
- const TableNameCell = ({ index, isSelected, onCheckClick, onNameClick, name, iconPath, iconKey, altImageType = "profile", metaContent, }) => {
5
- return (_jsxs("div", { className: "tableNameCell", children: [_jsx("p", { children: index }), _jsx(CheckboxComponent, { sizeVariant: "xs", checked: isSelected, onClick: onCheckClick }), _jsx(RectangularIcon, { iconPath: iconPath, iconSize: "40", borderRadius: "6", altImageType: altImageType }, iconKey), _jsxs("span", { className: "nameContainer", children: [_jsx(PersonCompanyNameClickable, { text: name, onClick: onNameClick }), metaContent] })] }));
4
+ const TableNameCell = ({ index, isSelected, onCheckClick, onNameClick, name, iconPath, iconKey, altImageType = "profile", metaContent, dataCy, }) => {
5
+ return (_jsxs("div", { className: "tableNameCell", "data-cy": dataCy, children: [_jsx("p", { children: index }), _jsx(CheckboxComponent, { sizeVariant: "xs", checked: isSelected, onClick: onCheckClick }), _jsx(RectangularIcon, { iconPath: iconPath, iconSize: "40", borderRadius: "6", altImageType: altImageType }, iconKey), _jsxs("span", { className: "nameContainer", children: [_jsx(PersonCompanyNameClickable, { text: name, onClick: onNameClick }), metaContent] })] }));
6
6
  };
7
7
  export default TableNameCell;
@@ -11,6 +11,7 @@ interface TablePaginationProps {
11
11
  onPageNumberClick: (pageNumber: number) => void;
12
12
  totalPages: number;
13
13
  buttonsDisabled?: boolean;
14
+ dataCy?: string;
14
15
  }
15
16
  declare const TablePagination: React.FC<TablePaginationProps>;
16
17
  export default TablePagination;
@@ -2,12 +2,12 @@ import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "react/jsx-run
2
2
  import { useEffect, useState } from "react";
3
3
  import "./style.scss";
4
4
  import clsx from "clsx";
5
- const TablePagination = ({ totalCount = 50, lowerCap = 1, upperCap = 25, currentPage = 1, totalPages, onPrevClick = () => { }, onNextClick = () => { }, onPageNumberClick = () => { }, buttonsDisabled = false, }) => {
5
+ const TablePagination = ({ totalCount = 50, lowerCap = 1, upperCap = 25, currentPage = 1, totalPages, onPrevClick = () => { }, onNextClick = () => { }, onPageNumberClick = () => { }, buttonsDisabled = false, dataCy, }) => {
6
6
  const [all, setAll] = useState(totalPages < 8 ? true : false);
7
7
  useEffect(() => {
8
8
  setAll(totalPages < 8 ? true : false);
9
9
  }, [totalPages]);
10
- return (_jsxs("div", { className: "tablePagination", children: [_jsxs("p", { children: [" ", lowerCap, "-", upperCap, " of ", totalCount, " "] }), _jsxs("span", { className: "tablePagination-ButtonGroup", children: [_jsx("button", { className: currentPage === 1 || buttonsDisabled ? "disable-cursor" : "", onClick: onPrevClick, disabled: currentPage === 1 || buttonsDisabled, children: "Previous" }), all &&
10
+ return (_jsxs("div", { className: "tablePagination", "data-cy": dataCy, children: [_jsxs("p", { children: [" ", lowerCap, "-", upperCap, " of ", totalCount, " "] }), _jsxs("span", { className: "tablePagination-ButtonGroup", children: [_jsx("button", { className: currentPage === 1 || buttonsDisabled ? "disable-cursor" : "", onClick: onPrevClick, disabled: currentPage === 1 || buttonsDisabled, children: "Previous" }), all &&
11
11
  totalPages < 8 &&
12
12
  Array.from({ length: totalPages }, (_, index) => index + 1).map((button, index) => {
13
13
  return (_jsx("button", { disabled: buttonsDisabled, className: clsx({
@@ -10,6 +10,7 @@ interface TabsProps {
10
10
  onSelect: (tab: string) => void;
11
11
  selectedTab: string;
12
12
  children?: ReactNode;
13
+ dataCyArray?: string[];
13
14
  }
14
- declare const Tabs: ({ tabs, onSelect, selectedTab, children }: TabsProps) => import("react/jsx-runtime").JSX.Element;
15
+ declare const Tabs: ({ tabs, onSelect, selectedTab, dataCyArray, children, }: TabsProps) => import("react/jsx-runtime").JSX.Element;
15
16
  export default Tabs;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import "./style.scss";
3
3
  import clsx from "clsx";
4
- const Tabs = ({ tabs, onSelect, selectedTab, children }) => {
4
+ const Tabs = ({ tabs, onSelect, selectedTab, dataCyArray = [], children, }) => {
5
5
  const getClassName = (className, tab) => {
6
6
  return clsx({
7
7
  [`${className}--Generic`]: true,
@@ -14,6 +14,6 @@ const Tabs = ({ tabs, onSelect, selectedTab, children }) => {
14
14
  }
15
15
  return count.toString().padStart(2, "0");
16
16
  };
17
- return (_jsxs("div", { className: "tabs", children: [_jsx("div", { className: "tabsNav", children: tabs.map((tab) => (_jsxs("button", { className: getClassName("tabsNavItem", tab.title), onClick: () => onSelect(tab.title), children: [tab.title, Boolean(tab.count) && (_jsx("p", { className: getClassName("tabsNavItem-Number", tab.title), children: formatCount(tab.count ?? 0) }))] }, tab.id))) }), children] }));
17
+ return (_jsxs("div", { className: "tabs", children: [_jsx("div", { className: "tabsNav", children: tabs.map((tab, index) => (_jsxs("button", { className: getClassName("tabsNavItem", tab.title), onClick: () => onSelect(tab.title), "data-cy": dataCyArray[index] ?? "", children: [tab.title, Boolean(tab.count) && (_jsx("p", { className: getClassName("tabsNavItem-Number", tab.title), children: formatCount(tab.count ?? 0) }))] }, tab.id))) }), children] }));
18
18
  };
19
19
  export default Tabs;
@@ -7,6 +7,7 @@ interface TertiaryButtonProps {
7
7
  isDisabled?: boolean;
8
8
  onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
9
9
  children?: ReactNode;
10
+ dataCy?: string;
10
11
  }
11
- declare const TertiaryButton: ({ text, tertiaryButtonClassName, sizeVariant, isDisabled, onClick, children, }: TertiaryButtonProps) => import("react/jsx-runtime").JSX.Element;
12
+ declare const TertiaryButton: ({ text, tertiaryButtonClassName, sizeVariant, isDisabled, onClick, children, dataCy, }: TertiaryButtonProps) => import("react/jsx-runtime").JSX.Element;
12
13
  export default TertiaryButton;
@@ -3,12 +3,12 @@ import clsx from "clsx";
3
3
  import "./style.scss";
4
4
  const TertiaryButton = ({ text = "Button text", tertiaryButtonClassName = "", sizeVariant = "xs",
5
5
  // colorVariant = 'orange',
6
- isDisabled = false, onClick, children, }) => {
6
+ isDisabled = false, onClick, children, dataCy, }) => {
7
7
  const className = clsx({
8
8
  tertiaryButtonGeneric: true,
9
9
  [`${sizeVariant}Size--TertiaryButton`]: true,
10
10
  // [`${colorVariant}--TertiaryButton`]: true
11
11
  });
12
- return (_jsx("button", { type: "button", className: `${className} ${tertiaryButtonClassName}`, disabled: isDisabled, onClick: onClick, children: children ? children : text }));
12
+ return (_jsx("button", { type: "button", className: `${className} ${tertiaryButtonClassName}`, disabled: isDisabled, onClick: onClick, "data-cy": dataCy, children: children ? children : text }));
13
13
  };
14
14
  export default TertiaryButton;
@@ -4,6 +4,7 @@ type Props = {
4
4
  initialState: boolean;
5
5
  sizeVariant?: "sm" | "base";
6
6
  onClick: () => void;
7
+ dataCy?: string;
7
8
  };
8
9
  declare const ToggleComponent: React.FC<Props>;
9
10
  export default ToggleComponent;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useEffect, useState } from "react";
3
3
  import "./style.scss";
4
- const ToggleComponent = ({ initialState, onClick, sizeVariant = "base", }) => {
4
+ const ToggleComponent = ({ initialState, onClick, sizeVariant = "base", dataCy, }) => {
5
5
  const [isOn, setIsOn] = useState(initialState);
6
6
  useEffect(() => {
7
7
  setIsOn(initialState);
@@ -10,6 +10,6 @@ const ToggleComponent = ({ initialState, onClick, sizeVariant = "base", }) => {
10
10
  setIsOn(!isOn);
11
11
  onClick();
12
12
  };
13
- return (_jsx("div", { className: `${sizeVariant === "sm" ? "smSizeToggle" : "toggle"} ${isOn ? "on" : "off"}`, onClick: handleToggle, children: _jsx("div", { className: sizeVariant === "sm" ? "smSizeToggle-switch" : "toggle-switch" }) }));
13
+ return (_jsx("div", { className: `${sizeVariant === "sm" ? "smSizeToggle" : "toggle"} ${isOn ? "on" : "off"}`, onClick: handleToggle, "data-cy": dataCy, children: _jsx("div", { className: sizeVariant === "sm" ? "smSizeToggle-switch" : "toggle-switch" }) }));
14
14
  };
15
15
  export default ToggleComponent;
@@ -4,7 +4,7 @@ import { companyLineChartFinancialTabProp } from "./components/CompanyLineChartF
4
4
  import { IProduct } from "./components/CompanyProductsTab";
5
5
  import { ICompetitor } from "./components/CompetitorsCompanyTab";
6
6
  import { Education, Experience } from "./components/PeopleCard/interface";
7
- export type IconType = "checkList" | "abstractCircle" | "seo" | "abstractGeometric" | "penEdit" | "plus" | "cross" | "thumb" | "clock" | "tick" | "linkedinLogo" | "searchArrow" | "excalamationCircle" | "edit" | "delete" | "chatOneBallon" | "qluLogo" | "gear" | "home" | "paperPlaneUpRight" | "search" | "chat" | "briefcase" | "barGraph" | "book" | "company" | "dollarBriefcase" | "industry" | "jobTitle" | "location" | "strategyPath" | "tools" | "employees" | "management" | "cheveronDown" | "cheveronUp" | "passTick" | "arrowLeft" | "arrowRight" | "doNotInclude" | "tickCircle" | "phone" | "email" | "eye" | "eyeOff" | "congratulations" | "heart" | "questionMark" | "officeBuilding" | "calendar" | "notes" | "kebab" | "star" | "filterFunel" | "sortUpDownArrows" | "download" | "sparkles" | "writeNotes" | "undo" | "emailSend" | "copy" | "openLink" | "internalUser" | "bell" | "graduationHat" | "link" | "user" | "password" | "emailDisconnected" | "bolt" | "images" | "information" | "inviteUser" | "list" | "table" | "arrowDown" | "arrowUp" | "chevronLeft" | "chevronRight" | "radio" | "like" | "unlike" | "refresh" | "emailRound" | "globeSearch" | "groupIcon" | "jD" | "hiringCompany" | "sampleProfiles" | "matchingProfile" | "clipBoard" | "sortascending" | "sortdescending" | "exclamation" | "refresh-ccw" | "hourglass" | "outlook" | "menu-alt" | "simpler-tick" | "menu-extended" | "umberalla" | "sidebar" | "paperClip" | "adjustment" | "document" | "file" | "google" | "enter" | "key" | "cornerDown" | "pdf" | "notAllowed" | "pause" | "resume" | "university" | "userClock" | "ascendingOrder" | "descendingOrder" | "tickVerification" | "copied" | "archive" | "additionalInformation" | "checkCircle" | "companyClock" | "companyOwnership" | "cutBriefcase";
7
+ export type IconType = "checkList" | "abstractCircle" | "seo" | "abstractGeometric" | "penEdit" | "plus" | "cross" | "thumb" | "clock" | "tick" | "linkedinLogo" | "searchArrow" | "excalamationCircle" | "edit" | "delete" | "chatOneBallon" | "qluLogo" | "gear" | "home" | "paperPlaneUpRight" | "search" | "chat" | "briefcase" | "barGraph" | "book" | "company" | "dollarBriefcase" | "industry" | "jobTitle" | "location" | "strategyPath" | "tools" | "employees" | "management" | "cheveronDown" | "cheveronUp" | "passTick" | "arrowLeft" | "arrowRight" | "doNotInclude" | "tickCircle" | "phone" | "email" | "eye" | "eyeOff" | "congratulations" | "heart" | "questionMark" | "officeBuilding" | "calendar" | "notes" | "kebab" | "star" | "filterFunel" | "sortUpDownArrows" | "download" | "sparkles" | "writeNotes" | "undo" | "emailSend" | "copy" | "openLink" | "internalUser" | "bell" | "graduationHat" | "link" | "user" | "password" | "emailDisconnected" | "bolt" | "images" | "information" | "inviteUser" | "list" | "table" | "arrowDown" | "arrowUp" | "chevronLeft" | "chevronRight" | "radio" | "like" | "unlike" | "refresh" | "emailRound" | "globeSearch" | "groupIcon" | "jD" | "hiringCompany" | "sampleProfiles" | "matchingProfile" | "clipBoard" | "sortascending" | "sortdescending" | "exclamation" | "refresh-ccw" | "hourglass" | "outlook" | "menu-alt" | "simpler-tick" | "menu-extended" | "umberalla" | "sidebar" | "paperClip" | "adjustment" | "document" | "file" | "google" | "enter" | "key" | "cornerDown" | "pdf" | "notAllowed" | "pause" | "resume" | "university" | "userClock" | "ascendingOrder" | "descendingOrder" | "tickVerification" | "copied" | "archive" | "additionalInformation" | "checkCircle" | "companyClock" | "companyOwnership" | "cutBriefcase" | "box";
8
8
  export type SelectedUnselectedErrorVariant = "selected" | "excluded" | "unselected" | "error";
9
9
  export type IconSize = "2" | "4" | "6" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "22" | "24" | "26" | "28" | "30" | "32" | "34" | "36" | "38" | "40" | "44" | "48" | "52" | "56" | "58" | "64" | "72" | "80" | "88" | "120" | "280";
10
10
  export type TopNavbarButtonTypes = "Home" | "Chat" | "Search" | "Assignments" | "Campaigns" | "Settings";
package/dist/types.d.ts CHANGED
@@ -4,7 +4,7 @@ import { companyLineChartFinancialTabProp } from "./components/CompanyLineChartF
4
4
  import { IProduct } from "./components/CompanyProductsTab";
5
5
  import { ICompetitor } from "./components/CompetitorsCompanyTab";
6
6
  import { Education, Experience } from "./components/PeopleCard/interface";
7
- export type IconType = "checkList" | "abstractCircle" | "seo" | "abstractGeometric" | "penEdit" | "plus" | "cross" | "thumb" | "clock" | "tick" | "linkedinLogo" | "searchArrow" | "excalamationCircle" | "edit" | "delete" | "chatOneBallon" | "qluLogo" | "gear" | "home" | "paperPlaneUpRight" | "search" | "chat" | "briefcase" | "barGraph" | "book" | "company" | "dollarBriefcase" | "industry" | "jobTitle" | "location" | "strategyPath" | "tools" | "employees" | "management" | "cheveronDown" | "cheveronUp" | "passTick" | "arrowLeft" | "arrowRight" | "doNotInclude" | "tickCircle" | "phone" | "email" | "eye" | "eyeOff" | "congratulations" | "heart" | "questionMark" | "officeBuilding" | "calendar" | "notes" | "kebab" | "star" | "filterFunel" | "sortUpDownArrows" | "download" | "sparkles" | "writeNotes" | "undo" | "emailSend" | "copy" | "openLink" | "internalUser" | "bell" | "graduationHat" | "link" | "user" | "password" | "emailDisconnected" | "bolt" | "images" | "information" | "inviteUser" | "list" | "table" | "arrowDown" | "arrowUp" | "chevronLeft" | "chevronRight" | "radio" | "like" | "unlike" | "refresh" | "emailRound" | "globeSearch" | "groupIcon" | "jD" | "hiringCompany" | "sampleProfiles" | "matchingProfile" | "clipBoard" | "sortascending" | "sortdescending" | "exclamation" | "refresh-ccw" | "hourglass" | "outlook" | "menu-alt" | "simpler-tick" | "menu-extended" | "umberalla" | "sidebar" | "paperClip" | "adjustment" | "document" | "file" | "google" | "enter" | "key" | "cornerDown" | "pdf" | "notAllowed" | "pause" | "resume" | "university" | "userClock" | "ascendingOrder" | "descendingOrder" | "tickVerification" | "copied" | "archive" | "additionalInformation" | "checkCircle" | "companyClock" | "companyOwnership" | "cutBriefcase";
7
+ export type IconType = "checkList" | "abstractCircle" | "seo" | "abstractGeometric" | "penEdit" | "plus" | "cross" | "thumb" | "clock" | "tick" | "linkedinLogo" | "searchArrow" | "excalamationCircle" | "edit" | "delete" | "chatOneBallon" | "qluLogo" | "gear" | "home" | "paperPlaneUpRight" | "search" | "chat" | "briefcase" | "barGraph" | "book" | "company" | "dollarBriefcase" | "industry" | "jobTitle" | "location" | "strategyPath" | "tools" | "employees" | "management" | "cheveronDown" | "cheveronUp" | "passTick" | "arrowLeft" | "arrowRight" | "doNotInclude" | "tickCircle" | "phone" | "email" | "eye" | "eyeOff" | "congratulations" | "heart" | "questionMark" | "officeBuilding" | "calendar" | "notes" | "kebab" | "star" | "filterFunel" | "sortUpDownArrows" | "download" | "sparkles" | "writeNotes" | "undo" | "emailSend" | "copy" | "openLink" | "internalUser" | "bell" | "graduationHat" | "link" | "user" | "password" | "emailDisconnected" | "bolt" | "images" | "information" | "inviteUser" | "list" | "table" | "arrowDown" | "arrowUp" | "chevronLeft" | "chevronRight" | "radio" | "like" | "unlike" | "refresh" | "emailRound" | "globeSearch" | "groupIcon" | "jD" | "hiringCompany" | "sampleProfiles" | "matchingProfile" | "clipBoard" | "sortascending" | "sortdescending" | "exclamation" | "refresh-ccw" | "hourglass" | "outlook" | "menu-alt" | "simpler-tick" | "menu-extended" | "umberalla" | "sidebar" | "paperClip" | "adjustment" | "document" | "file" | "google" | "enter" | "key" | "cornerDown" | "pdf" | "notAllowed" | "pause" | "resume" | "university" | "userClock" | "ascendingOrder" | "descendingOrder" | "tickVerification" | "copied" | "archive" | "additionalInformation" | "checkCircle" | "companyClock" | "companyOwnership" | "cutBriefcase" | "box";
8
8
  export type SelectedUnselectedErrorVariant = "selected" | "excluded" | "unselected" | "error";
9
9
  export type IconSize = "2" | "4" | "6" | "8" | "10" | "12" | "14" | "16" | "18" | "20" | "22" | "24" | "26" | "28" | "30" | "32" | "34" | "36" | "38" | "40" | "44" | "48" | "52" | "56" | "58" | "64" | "72" | "80" | "88" | "120" | "280";
10
10
  export type TopNavbarButtonTypes = "Home" | "Chat" | "Search" | "Assignments" | "Campaigns" | "Settings";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qlu-20-ui-library",
3
- "version": "1.7.3",
3
+ "version": "1.7.5",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",