@npm_leadtech/legal-lib-components 5.0.2 → 5.1.0

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 (154) hide show
  1. package/dist/css/styles.css +17 -0
  2. package/dist/src/components/atoms/Button/Button.tsx +0 -1
  3. package/dist/src/components/atoms/Button/ButtonProps.types.ts +0 -1
  4. package/dist/src/components/atoms/ButtonIcon/ButtonIconProps.types.ts +0 -1
  5. package/dist/src/components/atoms/CardPane/CardPane.tsx +0 -1
  6. package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +0 -2
  7. package/dist/src/components/atoms/Checkbox/CheckboxProps.types.ts +0 -1
  8. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +0 -4
  9. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +0 -4
  10. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustomProps.types.ts +0 -1
  11. package/dist/src/components/atoms/DatePickerCustom/index.js.map +2 -2
  12. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +1 -3
  13. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +1 -4
  14. package/dist/src/components/atoms/Disclaimer/Disclaimer.js +0 -1
  15. package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +0 -1
  16. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +0 -1
  17. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +0 -1
  18. package/dist/src/components/atoms/Divider/Divider.tsx +0 -2
  19. package/dist/src/components/atoms/Divider/DividerProps.types.ts +0 -1
  20. package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +0 -1
  21. package/dist/src/components/atoms/IconImage/IconImage.tsx +0 -1
  22. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +0 -1
  23. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +0 -1
  24. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +0 -1
  25. package/dist/src/components/atoms/InfoBox/InfoBox.tsx +1 -2
  26. package/dist/src/components/atoms/InfoBox/InfoBoxProps.types.ts +0 -1
  27. package/dist/src/components/atoms/Logo/Logo.tsx +0 -3
  28. package/dist/src/components/atoms/LogoText/LogoTextProps.types.ts +0 -1
  29. package/dist/src/components/atoms/MenuItems/MenuItemProps.types.ts +0 -1
  30. package/dist/src/components/atoms/MenuItems/MenuItems.js +0 -4
  31. package/dist/src/components/atoms/MenuItems/MenuItems.tsx +0 -4
  32. package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +0 -1
  33. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.js +1 -1
  34. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.tsx +1 -1
  35. package/dist/src/components/atoms/NavMenuItem/NavMenuItemProps.d.ts +2 -2
  36. package/dist/src/components/atoms/NavMenuItem/NavMenuItemProps.ts +2 -2
  37. package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +0 -1
  38. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.js +1 -1
  39. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.tsx +1 -1
  40. package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +0 -1
  41. package/dist/src/components/atoms/ProgressBar/ProgressBarProps.types.ts +0 -1
  42. package/dist/src/components/atoms/Radio/Radio.js +1 -1
  43. package/dist/src/components/atoms/Radio/Radio.tsx +2 -4
  44. package/dist/src/components/atoms/Radio/RadioProps.types.d.ts +2 -2
  45. package/dist/src/components/atoms/Radio/RadioProps.types.ts +1 -1
  46. package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +0 -1
  47. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.tsx +2 -0
  48. package/dist/src/components/atoms/RichTextStrapi/useFormattedText.js +0 -1
  49. package/dist/src/components/atoms/RichTextStrapi/useFormattedText.tsx +0 -1
  50. package/dist/src/components/atoms/SearchSelect/SearchSelect.js +2 -2
  51. package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +3 -8
  52. package/dist/src/components/atoms/SearchSelect/SearchSelectProps.types.ts +0 -1
  53. package/dist/src/components/atoms/SidemenuTab/SideMenuTabProps.types.ts +0 -1
  54. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +0 -2
  55. package/dist/src/components/atoms/Tag/Tag.scss +4 -0
  56. package/dist/src/components/atoms/TestAB/TestAB.js +1 -4
  57. package/dist/src/components/atoms/TestAB/TestAB.tsx +1 -5
  58. package/dist/src/components/atoms/TextArea/TextArea.tsx +0 -1
  59. package/dist/src/components/atoms/Tooltip/TooltipProps.types.d.ts +1 -1
  60. package/dist/src/components/atoms/Tooltip/TooltipProps.types.ts +1 -2
  61. package/dist/src/components/atoms/WideInfoBar/WideInfoBar.d.ts +1 -1
  62. package/dist/src/components/atoms/WideInfoBar/WideInfoBar.tsx +1 -1
  63. package/dist/src/components/molecules/AccordionItem/AccordionItem.d.ts +1 -2
  64. package/dist/src/components/molecules/AccordionItem/AccordionItem.js +3 -2
  65. package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +4 -3
  66. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.js +1 -1
  67. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.tsx +1 -1
  68. package/dist/src/components/molecules/BaseBoxList/BaseBoxListProps.types.ts +0 -1
  69. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +0 -1
  70. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +1 -2
  71. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +1 -2
  72. package/dist/src/components/molecules/BottomOverlay/BottomOverlayProps.types.ts +0 -1
  73. package/dist/src/components/molecules/BoxForm/BoxFormProps.types.ts +0 -1
  74. package/dist/src/components/molecules/Breadcrumb/BreadcrumbProps.types.d.ts +2 -2
  75. package/dist/src/components/molecules/Breadcrumb/BreadcrumbProps.types.ts +1 -1
  76. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +0 -1
  77. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +0 -1
  78. package/dist/src/components/molecules/Feedback/Feedback.js +1 -1
  79. package/dist/src/components/molecules/Feedback/Feedback.tsx +1 -2
  80. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +0 -1
  81. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +0 -1
  82. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +0 -2
  83. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +0 -2
  84. package/dist/src/components/molecules/Pagination/PageStepControl.js +0 -1
  85. package/dist/src/components/molecules/Pagination/PageStepControl.tsx +0 -1
  86. package/dist/src/components/molecules/Pagination/PageSteps.tsx +0 -1
  87. package/dist/src/components/molecules/Pagination/Pagination.js +0 -1
  88. package/dist/src/components/molecules/Pagination/Pagination.tsx +0 -1
  89. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +0 -2
  90. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +0 -1
  91. package/dist/src/components/molecules/PricingCard/PricingCard.js +2 -3
  92. package/dist/src/components/molecules/PricingCard/PricingCard.tsx +3 -4
  93. package/dist/src/components/molecules/PricingCard/PricingCardProps.types.ts +0 -1
  94. package/dist/src/components/molecules/Snackbar/Snackbar.js +0 -1
  95. package/dist/src/components/molecules/Snackbar/Snackbar.tsx +0 -1
  96. package/dist/src/components/molecules/Snackbar/SnackbarProps.types.ts +0 -1
  97. package/dist/src/components/molecules/TextInput/Input.js +0 -2
  98. package/dist/src/components/molecules/TextInput/Input.tsx +0 -2
  99. package/dist/src/components/molecules/TextInput/TextInput.js +2 -4
  100. package/dist/src/components/molecules/TextInput/TextInput.tsx +2 -3
  101. package/dist/src/components/molecules/TextInput/TextInputMessage.tsx +0 -1
  102. package/dist/src/components/molecules/TextInput/TextInputProps.types.ts +0 -1
  103. package/dist/src/components/molecules/TextInput/TextInputTooltip.tsx +0 -1
  104. package/dist/src/components/molecules/TooltipMenu/TooltipMenuProps.types.d.ts +2 -2
  105. package/dist/src/components/molecules/TooltipMenu/TooltipMenuProps.types.ts +2 -2
  106. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +0 -1
  107. package/dist/src/components/organisms/Accordion/Accordion.context.d.ts +1 -1
  108. package/dist/src/components/organisms/Accordion/Accordion.context.js +0 -2
  109. package/dist/src/components/organisms/Accordion/Accordion.context.tsx +2 -4
  110. package/dist/src/components/organisms/Accordion/Accordion.d.ts +1 -2
  111. package/dist/src/components/organisms/Accordion/Accordion.js +0 -1
  112. package/dist/src/components/organisms/Accordion/Accordion.tsx +1 -2
  113. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +0 -1
  114. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.d.ts +4 -0
  115. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.js +6 -0
  116. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.scss +61 -0
  117. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.tsx +29 -0
  118. package/dist/src/components/organisms/CardFunctionality/CardFunctionalityProps.d.ts +9 -0
  119. package/dist/src/components/organisms/CardFunctionality/CardFunctionalityProps.js +1 -0
  120. package/dist/src/components/organisms/CardFunctionality/CardFunctionalityProps.ts +10 -0
  121. package/dist/src/components/organisms/CardFunctionality/index.d.ts +2 -0
  122. package/dist/src/components/organisms/CardFunctionality/index.js +2 -0
  123. package/dist/src/components/organisms/CardFunctionality/index.ts +2 -0
  124. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +0 -1
  125. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.ts +0 -1
  126. package/dist/src/components/organisms/index.d.ts +1 -1
  127. package/dist/src/components/organisms/index.js +1 -1
  128. package/dist/src/components/organisms/index.ts +1 -1
  129. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +0 -1
  130. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPageProps.types.ts +0 -1
  131. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPageProps.types.ts +0 -1
  132. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +0 -1
  133. package/dist/src/components/sections/AsideMenuSection/AsideMenuSectionProps.d.ts +2 -2
  134. package/dist/src/components/sections/AsideMenuSection/AsideMenuSectionProps.ts +2 -2
  135. package/dist/src/components/sections/BlogSection/BlogSection.tsx +0 -1
  136. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.d.ts +3 -0
  137. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.js +8 -0
  138. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.scss +15 -0
  139. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx +17 -0
  140. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSectionProps.d.ts +4 -0
  141. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSectionProps.js +1 -0
  142. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSectionProps.ts +5 -0
  143. package/dist/src/components/sections/FunctionalityCardsSection/index.d.ts +2 -0
  144. package/dist/src/components/sections/FunctionalityCardsSection/index.js +2 -0
  145. package/dist/src/components/sections/FunctionalityCardsSection/index.ts +2 -0
  146. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +0 -1
  147. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +1 -0
  148. package/dist/src/components/sections/index.d.ts +1 -0
  149. package/dist/src/components/sections/index.js +1 -0
  150. package/dist/src/components/sections/index.ts +1 -0
  151. package/dist/src/custom.d.ts +0 -1
  152. package/dist/src/globalStyles/styles.scss +1 -0
  153. package/dist/tsconfig.build.tsbuildinfo +1 -1
  154. package/package.json +36 -35
@@ -1,7 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/no-unsafe-member-access */
3
- /* eslint-disable @typescript-eslint/no-unsafe-argument */
4
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
+ /* eslint-disable @typescript-eslint/strict-boolean-expressions */
5
3
  /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
6
4
  /* eslint-disable jsx-a11y/click-events-have-key-events */
7
5
  import { useCallback, useEffect, useRef, useState } from 'react';
@@ -1,7 +1,4 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-member-access */
2
- /* eslint-disable @typescript-eslint/no-unsafe-argument */
3
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
4
-
1
+ /* eslint-disable @typescript-eslint/strict-boolean-expressions */
5
2
  /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
6
3
  /* eslint-disable jsx-a11y/click-events-have-key-events */
7
4
  import React, { type FC, useCallback, useEffect, useRef, useState } from 'react'
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
3
2
  import React from 'react';
4
3
  // import './Disclaimer.scss'
5
4
  const Disclaimer = ({ givenClass, text, disclaimerLinks = false, complexCopyRight, complexCopyRightMobile, simpleCopyRight }) => {
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type DisclaimerProps } from './DisclaimerProps.types'
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
3
2
  import React from 'react';
4
3
  import { Button } from '../Button';
5
4
  import { ChevronRight } from '../../../../images/componentsSvg/ChevronRight';
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  import React from 'react'
3
2
 
4
3
  import { Button } from '../Button'
@@ -1,5 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
- /* eslint-disable @typescript-eslint/no-unsafe-member-access */
3
1
  import React, { type FC } from 'react'
4
2
 
5
3
  import { type DividerProps } from './DividerProps.types'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
1
  export interface DividerProps {
3
2
  text?: string
4
3
  image?: any
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type GoogleButtonProps } from './GoogleButtonProps.types'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type IconImageProps } from './IconImageProps.types'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type IconSvgURLWithThemeColorProps } from './IconSvgURLWithThemeColorProps.types'
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
3
2
  import React from 'react';
4
3
  // import './IconTextInfoSection.scss'
5
4
  export const IconTextInfoSection = ({ items, classnames = '' }) => {
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
1
  import React from 'react'
3
2
 
4
3
  import { type IconTextInfoSectionProps } from './IconTextInfoSection.types'
@@ -1,5 +1,4 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
-
1
+ /* eslint-disable @typescript-eslint/strict-boolean-expressions */
3
2
  import React, { type FC } from 'react'
4
3
 
5
4
  import { type InfoBoxProps } from './InfoBoxProps.types'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
1
  export interface InfoBoxProps {
3
2
  children: any
4
3
  type?: string
@@ -1,6 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
- /* eslint-disable @typescript-eslint/no-unsafe-member-access */
3
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
4
1
  import React, { type FC } from 'react'
5
2
 
6
3
  import { type LogoProps } from './LogoProps.types'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
1
  export interface LogoTextProps {
3
2
  logo?: string
4
3
  children?: any
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
1
  export interface MenuItemProps {
3
2
  spacing?: boolean
4
3
  hasBullets?: boolean
@@ -1,8 +1,4 @@
1
1
  import { jsxs as _jsxs, Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
3
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
4
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
5
- /* eslint-disable @typescript-eslint/no-unused-expressions */
6
2
  /* eslint-disable jsx-a11y/click-events-have-key-events */
7
3
  /* eslint-disable @typescript-eslint/strict-boolean-expressions */
8
4
  import { useState } from 'react';
@@ -1,7 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
3
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
4
- /* eslint-disable @typescript-eslint/no-unused-expressions */
5
1
  /* eslint-disable jsx-a11y/click-events-have-key-events */
6
2
  /* eslint-disable @typescript-eslint/strict-boolean-expressions */
7
3
  import React, { type FC, useState } from 'react'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type MessageInformationProps } from './MessageInformationProps.types'
@@ -4,7 +4,7 @@ import { getCategoryIcons } from '../../../utils/getCategoryIcons';
4
4
  export const MoreDocsItem = ({ title, description, slug, icon = null }) => {
5
5
  return (_jsxs("div", { className: 'more-docs-item', onClick: () => {
6
6
  window.location.href = slug;
7
- }, "data-qa": title.replace(/\s/g, '_'), role: 'button', onKeyUp: (event) => {
7
+ }, "data-qa": `${title.replace(/\s/g, '_')}`, role: 'button', onKeyUp: (event) => {
8
8
  if (event.key === 'Enter' || event.key === ' ') {
9
9
  window.location.href = slug;
10
10
  }
@@ -11,7 +11,7 @@ export const MoreDocsItem: React.FC<MoreDocsItemProps> = ({ title, description,
11
11
  onClick={() => {
12
12
  window.location.href = slug
13
13
  }}
14
- data-qa={title.replace(/\s/g, '_')}
14
+ data-qa={`${title.replace(/\s/g, '_')}`}
15
15
  role='button'
16
16
  onKeyUp={(event) => {
17
17
  if (event.key === 'Enter' || event.key === ' ') {
@@ -1,8 +1,8 @@
1
1
  import { type ButtonProps } from '../Button';
2
2
  export interface NavMenuItemProps {
3
3
  mainButton: ButtonProps;
4
- items?: {
4
+ items?: Array<{
5
5
  key: string;
6
6
  props: ButtonProps;
7
- }[];
7
+ }>;
8
8
  }
@@ -2,8 +2,8 @@ import { type ButtonProps } from '../Button'
2
2
 
3
3
  export interface NavMenuItemProps {
4
4
  mainButton: ButtonProps
5
- items?: {
5
+ items?: Array<{
6
6
  key: string
7
7
  props: ButtonProps
8
- }[]
8
+ }>
9
9
  }
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type PaypalButtonProps } from './PaypalButtonProps.types'
@@ -3,5 +3,5 @@ import { ChevronRight24px } from '../../../../images/componentsSvg/ChevronRight2
3
3
  import { getCategoryIcons } from '../../../utils/getCategoryIcons';
4
4
  // import './PopularDocsItem.scss'
5
5
  export const PopularDocsItem = ({ title, description, slug, icon = null }) => {
6
- return (_jsxs("a", { className: 'popular-docs-item', href: slug, "data-qa": title.replace(/\s/g, '_'), children: [_jsx("div", { className: 'category-icon', children: icon ?? getCategoryIcons(description, 35, 30) }), _jsxs("div", { className: 'texts', children: [_jsx("div", { children: _jsx("strong", { children: title }) }), _jsx("p", { className: 'description', children: description })] }), _jsx("div", { className: 'icon-left', children: _jsx(ChevronRight24px, {}) })] }));
6
+ return (_jsxs("a", { className: 'popular-docs-item', href: slug, "data-qa": `${title.replace(/\s/g, '_')}`, children: [_jsx("div", { className: 'category-icon', children: icon ?? getCategoryIcons(description, 35, 30) }), _jsxs("div", { className: 'texts', children: [_jsx("div", { children: _jsx("strong", { children: title }) }), _jsx("p", { className: 'description', children: description })] }), _jsx("div", { className: 'icon-left', children: _jsx(ChevronRight24px, {}) })] }));
7
7
  };
@@ -7,7 +7,7 @@ import { getCategoryIcons } from '../../../utils/getCategoryIcons'
7
7
 
8
8
  export const PopularDocsItem: React.FC<PopularDocsItemProps> = ({ title, description, slug, icon = null }) => {
9
9
  return (
10
- <a className='popular-docs-item' href={slug} data-qa={title.replace(/\s/g, '_')}>
10
+ <a className='popular-docs-item' href={slug} data-qa={`${title.replace(/\s/g, '_')}`}>
11
11
  <div className='category-icon'>{icon ?? getCategoryIcons(description, 35, 30)}</div>
12
12
  <div className='texts'>
13
13
  <div>
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type ProgressBarProps } from './ProgressBarProps.types'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
1
  export interface ProgressBarProps {
3
2
  currentStep: number
4
3
  allSteps: any[]
@@ -13,7 +13,7 @@ const Radio = (props) => {
13
13
  .join(' ');
14
14
  const classNames = `e-radio ${props.class} ${!props.validate ? '--is-invalid' : ''} ${!props.isValidGroup ? '--group-invalid' : ''} ${additionalClassNames}`;
15
15
  const TooltipObject = props.tooltip ? _jsx("p", { className: 'tooltip-form sans-serif --small', children: props.tooltip }) : '';
16
- return (_jsxs("div", { className: classNames, children: [_jsx("label", { htmlFor: props.name, className: 'radio-group__label', children: props.label }), _jsx("div", { className: 'e-radio__inner', children: props.items?.map((radio) => {
16
+ return (_jsxs("div", { className: `${classNames}`, children: [_jsx("label", { htmlFor: props.name, className: 'radio-group__label', children: props.label }), _jsx("div", { className: 'e-radio__inner', children: props.items?.map((radio) => {
17
17
  return (_jsx("div", { className: `radio-item-container ${radio.value === props.value ? 'active' : ''}`, children: _jsxs("label", { className: 'e-radio-label', children: [radio.iconName !== undefined && radio.iconName !== '' && (_jsx(IconImage, { givenClass: 'radio-icon', iconName: radio.iconName })), _jsx("input", { type: 'radio', className: 'radio-item-input', id: `${props.name}_${radio.value}`, name: props.name, onChange: props.onChange, value: radio.value, checked: radio.value === props.value, disabled: props.disabled }), _jsx("label", { className: 'e-radio-label__label', htmlFor: `${props.name}_${radio.value}`, "data-qa": `${props.name}_${radio.value}`, children: radio.label }), _jsx("div", { children: props.help })] }, radio.value) }, radio.value));
18
18
  }) }), TooltipObject] }));
19
19
  };
@@ -1,6 +1,4 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-return */
2
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
3
-
1
+ /* eslint-disable @typescript-eslint/strict-boolean-expressions */
4
2
  import React, { type FC } from 'react'
5
3
 
6
4
  import IconImage from '../IconImage/IconImage'
@@ -25,7 +23,7 @@ const Radio: FC<RadioProps> = (props) => {
25
23
  const TooltipObject = props.tooltip ? <p className='tooltip-form sans-serif --small'>{props.tooltip}</p> : ''
26
24
 
27
25
  return (
28
- <div className={classNames}>
26
+ <div className={`${classNames}`}>
29
27
  <label htmlFor={props.name} className='radio-group__label'>
30
28
  {props.label}
31
29
  </label>
@@ -9,10 +9,10 @@ export interface RadioProps {
9
9
  validate?: boolean;
10
10
  isValidGroup?: boolean;
11
11
  disabled?: boolean;
12
- items?: {
12
+ items?: Array<{
13
13
  value: string;
14
14
  label: string;
15
15
  iconName?: string;
16
- }[];
16
+ }>;
17
17
  onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
18
18
  }
@@ -9,6 +9,6 @@ export interface RadioProps {
9
9
  validate?: boolean
10
10
  isValidGroup?: boolean
11
11
  disabled?: boolean
12
- items?: { value: string; label: string; iconName?: string }[]
12
+ items?: Array<{ value: string; label: string; iconName?: string }>
13
13
  onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void
14
14
  }
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-empty-function */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type RemoveButtonProps } from './RemoveButtonProps.types'
@@ -1,3 +1,5 @@
1
+ /* eslint-disable jsx-a11y/click-events-have-key-events */
2
+ /* eslint-disable jsx-a11y/no-static-element-interactions */
1
3
  import React, { type FC } from 'react'
2
4
 
3
5
  import { type RichTextStrapiProps } from './RichTextStrapiProps'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  import React from 'react';
3
2
  import { getDateFormatMMMMYYYY } from '../../../utils/getDateFormatMMMMYYYY';
4
3
  import { replaceAll } from '../../../utils/replaceAll';
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  import React from 'react'
3
2
 
4
3
  import { type RichTextMedia } from './RichTextMedia'
@@ -28,7 +28,7 @@ const SearchSelect = (props) => {
28
28
  const classnames = classNames({
29
29
  'e-searchselect': true,
30
30
  '--is-invalid': !props.validate,
31
- [customClass]: props.customClass,
31
+ [`${customClass}`]: props.customClass,
32
32
  '--group-invalid': !props.isValidGroup
33
33
  });
34
34
  const handleChange = (selectedOption) => {
@@ -41,7 +41,7 @@ const SearchSelect = (props) => {
41
41
  props.onChange(selectObject);
42
42
  };
43
43
  const TooltipObject = props.tooltip && typeof props.tooltip === 'string' ? (_jsx("p", { className: 'tooltip-form sans-serif --small', children: props.tooltip })) : ('');
44
- return (_jsxs(_Fragment, { children: [props.label && (_jsx("div", { className: 'e-searchselect__inner', children: _jsx("label", { className: 'searchselect__label', children: props.label }) })), _jsxs("div", { className: `${classnames} ${props.width ? 'width' : ''}`, "data-qa": props.dataQA ?? props.name, children: [TooltipObject, _jsxs("span", { className: 'e-searchselect--error sans-serif --small', children: [_jsx("img", { src: error, alt: props.errorMessage, width: '24', height: '24' }), props.errorMessage] }), _jsx(Select, { styles: {
44
+ return (_jsxs(_Fragment, { children: [props.label && (_jsx("div", { className: 'e-searchselect__inner', children: _jsx("label", { className: 'searchselect__label', children: props.label }) })), _jsxs("div", { className: `${classnames} ${props.width ? 'width' : ''}`, "data-qa": `${props.dataQA ?? props.name}`, children: [TooltipObject, _jsxs("span", { className: 'e-searchselect--error sans-serif --small', children: [_jsx("img", { src: error, alt: props.errorMessage, width: '24', height: '24' }), props.errorMessage] }), _jsx(Select, { styles: {
45
45
  control: (baseStyles, state) => {
46
46
  return {
47
47
  ...baseStyles,
@@ -1,9 +1,4 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-member-access */
2
- /* eslint-disable @typescript-eslint/no-unsafe-call */
3
- /* eslint-disable @typescript-eslint/no-explicit-any */
4
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
5
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
6
-
1
+ /* eslint-disable @typescript-eslint/strict-boolean-expressions */
7
2
  import React, { type FC } from 'react'
8
3
  import Select from 'react-select'
9
4
 
@@ -38,7 +33,7 @@ const SearchSelect: FC<SearchSelectProps> = (props) => {
38
33
  const classnames = classNames({
39
34
  'e-searchselect': true,
40
35
  '--is-invalid': !props.validate,
41
- [customClass]: props.customClass,
36
+ [`${customClass}`]: props.customClass,
42
37
  '--group-invalid': !props.isValidGroup
43
38
  })
44
39
 
@@ -66,7 +61,7 @@ const SearchSelect: FC<SearchSelectProps> = (props) => {
66
61
  <label className='searchselect__label'>{props.label}</label>
67
62
  </div>
68
63
  )}
69
- <div className={`${classnames} ${props.width ? 'width' : ''}`} data-qa={props.dataQA ?? props.name}>
64
+ <div className={`${classnames} ${props.width ? 'width' : ''}`} data-qa={`${props.dataQA ?? props.name}`}>
70
65
  {TooltipObject}
71
66
  <span className='e-searchselect--error sans-serif --small'>
72
67
  <img src={error} alt={props.errorMessage} width='24' height='24' />
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
1
  import { type MenuPlacement } from './SearchSelect'
3
2
 
4
3
  type DefaultValue = Record<string, string | null | undefined>
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
1
  import { type MouseEventHandler } from 'react'
3
2
 
4
3
  export interface SideMenuTabProps {
@@ -1,5 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-member-access */
2
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
3
1
  import React from 'react'
4
2
  import classNames from 'classnames'
5
3
 
@@ -12,6 +12,10 @@
12
12
 
13
13
  .icon {
14
14
  display: flex;
15
+
16
+ .icon-svg-with-theme-color {
17
+ background-color: get-color(secondary, main-dark-2);
18
+ }
15
19
  }
16
20
 
17
21
  .text {
@@ -1,7 +1,4 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
- /* eslint-disable @typescript-eslint/no-unsafe-call */
3
- /* eslint-disable @typescript-eslint/no-unsafe-member-access */
4
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
1
+ /* eslint-disable @typescript-eslint/strict-boolean-expressions */
5
2
  import PropTypes from 'prop-types';
6
3
  /**
7
4
  * @param {string} props.id, jira task number
@@ -1,8 +1,4 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
- /* eslint-disable @typescript-eslint/no-unsafe-call */
3
- /* eslint-disable @typescript-eslint/no-unsafe-member-access */
4
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
5
-
1
+ /* eslint-disable @typescript-eslint/strict-boolean-expressions */
6
2
  import PropTypes from 'prop-types'
7
3
 
8
4
  /**
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type TextAreaProps } from './TextAreaProps.types'
@@ -9,7 +9,7 @@ export interface TooltipProps {
9
9
  position?: 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'auto' | 'auto-start' | 'auto-end';
10
10
  trigger?: 'click' | 'focus' | 'focusin' | 'mouseenter' | 'mouseenter focus' | 'mouseenter click' | 'manual' | 'hover';
11
11
  content?: any;
12
- children?: React.ReactElement;
12
+ children?: React.ReactElement<any>;
13
13
  onClick?: () => void;
14
14
  onClickOutside?: () => void;
15
15
  }
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
1
  export interface TooltipProps {
3
2
  maxWidth?: number | string
4
3
  visible?: boolean
@@ -25,7 +24,7 @@ export interface TooltipProps {
25
24
  | 'auto-end'
26
25
  trigger?: 'click' | 'focus' | 'focusin' | 'mouseenter' | 'mouseenter focus' | 'mouseenter click' | 'manual' | 'hover'
27
26
  content?: any
28
- children?: React.ReactElement
27
+ children?: React.ReactElement<any>
29
28
  onClick?: () => void
30
29
  onClickOutside?: () => void
31
30
  }
@@ -1,6 +1,6 @@
1
1
  import React, { type FC } from 'react';
2
2
  interface WideInfoBarProps {
3
- children?: React.ReactElement;
3
+ children?: React.ReactElement<any>;
4
4
  color?: 'green';
5
5
  }
6
6
  declare const WideInfoBar: FC<WideInfoBarProps>;
@@ -3,7 +3,7 @@ import React, { type FC } from 'react'
3
3
  // import './WideInfoBar.scss'
4
4
 
5
5
  interface WideInfoBarProps {
6
- children?: React.ReactElement
6
+ children?: React.ReactElement<any>
7
7
  color?: 'green'
8
8
  }
9
9
 
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
1
  import { type AccordionItemProps } from './AccordionItemProps.types';
3
- export declare const AccordionItem: ({ accordionRightContent, children, defaultHeightItem, index, isOpen, onClick, title }: AccordionItemProps) => React.JSX.Element;
2
+ export declare const AccordionItem: ({ accordionRightContent, children, defaultHeightItem, index, isOpen, onClick, title }: AccordionItemProps) => JSX.Element;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
3
- /* eslint-disable @typescript-eslint/no-unused-expressions */
2
+ /* eslint-disable @typescript-eslint/strict-boolean-expressions */
3
+ /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
4
+ /* eslint-disable jsx-a11y/click-events-have-key-events */
4
5
  import { useEffect, useRef } from 'react';
5
6
  import { useDispatchDataAccordionItem, useStateDataAccordionItem } from '../../organisms/Accordion/Accordion.context';
6
7
  // import './AccordionItem.scss'
@@ -1,5 +1,6 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
- /* eslint-disable @typescript-eslint/no-unused-expressions */
1
+ /* eslint-disable @typescript-eslint/strict-boolean-expressions */
2
+ /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
3
+ /* eslint-disable jsx-a11y/click-events-have-key-events */
3
4
  import React, { useEffect, useRef } from 'react'
4
5
  import { useDispatchDataAccordionItem, useStateDataAccordionItem } from '../../organisms/Accordion/Accordion.context'
5
6
 
@@ -15,7 +16,7 @@ export const AccordionItem = ({
15
16
  isOpen,
16
17
  onClick,
17
18
  title
18
- }: AccordionItemProps): React.JSX.Element => {
19
+ }: AccordionItemProps): JSX.Element => {
19
20
  const contenReftHeight = useRef<HTMLInputElement>(null)
20
21
  const { state } = useStateDataAccordionItem(index)
21
22
  const { dispatch } = useDispatchDataAccordionItem()
@@ -3,7 +3,7 @@ import { DocumentTag } from '../../atoms';
3
3
  import { SymbolDoc } from '../../../../images/componentsSvg/SymbolDoc';
4
4
  // import './AlsoKnownAs.scss'
5
5
  const AlsoKnownAs = ({ title = '', documents = [] }) => {
6
- if (documents.length === 0)
6
+ if (documents?.length === 0)
7
7
  return null;
8
8
  return (_jsxs("div", { className: 'also-known-as', children: [_jsxs("p", { className: 'title', children: [_jsx(SymbolDoc, {}), _jsx("span", { className: 'text', children: title })] }), documents.map((item) => (_jsx(DocumentTag, { text: item }, item)))] }));
9
9
  };
@@ -6,7 +6,7 @@ import { SymbolDoc } from '../../../../images/componentsSvg/SymbolDoc'
6
6
  // import './AlsoKnownAs.scss'
7
7
 
8
8
  const AlsoKnownAs: FC<AlsoKnownAsProps> = ({ title = '', documents = [] }) => {
9
- if (documents.length === 0) return null
9
+ if (documents?.length === 0) return null
10
10
 
11
11
  return (
12
12
  <div className='also-known-as'>
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
1
  export interface BaseBoxListProps {
3
2
  givenClass?: string
4
3
  padded?: boolean
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { Button, RichTextInner } from '../../atoms'
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/no-unused-vars */
3
2
  import { useEffect, useRef, useState } from 'react';
4
3
  import { useSwipeable } from 'react-swipeable';
5
4
  // import './BottomOverlay.scss'
@@ -24,7 +23,7 @@ const BottomOverlay = ({ givenClass, header, body, open = false, onClose, footer
24
23
  const handleScroll = (event) => {
25
24
  setScrollingDown(true);
26
25
  const targetElement = event.target;
27
- if (targetElement.scrollTop === 0) {
26
+ if (targetElement?.scrollTop === 0) {
28
27
  setScrollingDown(false);
29
28
  }
30
29
  };
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unused-vars */
2
1
  import React, { type FC, useEffect, useRef, useState } from 'react'
3
2
  import { useSwipeable } from 'react-swipeable'
4
3
 
@@ -29,7 +28,7 @@ const BottomOverlay: FC<BottomOverlayProps> = ({ givenClass, header, body, open
29
28
  setScrollingDown(true)
30
29
 
31
30
  const targetElement = event.target as HTMLElement
32
- if (targetElement.scrollTop === 0) {
31
+ if (targetElement?.scrollTop === 0) {
33
32
  setScrollingDown(false)
34
33
  }
35
34
  }
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
1
  export interface BottomOverlayProps {
3
2
  givenClass?: string
4
3
  header?: any
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
1
  import { type ButtonProps } from '../../atoms'
3
2
 
4
3
  export interface BoxFormProps {
@@ -1,6 +1,6 @@
1
1
  export interface BreadcrumbProps {
2
- crumbs: {
2
+ crumbs: Array<{
3
3
  text: string;
4
4
  url?: string;
5
- }[];
5
+ }>;
6
6
  }
@@ -1,3 +1,3 @@
1
1
  export interface BreadcrumbProps {
2
- crumbs: { text: string; url?: string }[]
2
+ crumbs: Array<{ text: string; url?: string }>
3
3
  }
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
3
2
  import { useEffect, useRef, useState } from 'react';
4
3
  import { MessageInformation } from '../../atoms';
5
4
  import classNames from 'classnames';