@npm_leadtech/legal-lib-components 5.1.2 → 5.2.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 (159) hide show
  1. package/dist/css/styles.css +9 -27
  2. package/dist/src/components/atoms/Button/Button.tsx +1 -0
  3. package/dist/src/components/atoms/Button/ButtonProps.types.ts +1 -0
  4. package/dist/src/components/atoms/ButtonIcon/ButtonIconProps.types.ts +1 -0
  5. package/dist/src/components/atoms/CardPane/CardPane.tsx +1 -0
  6. package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +2 -0
  7. package/dist/src/components/atoms/Checkbox/CheckboxProps.types.ts +1 -0
  8. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +4 -0
  9. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +4 -0
  10. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustomProps.types.ts +1 -0
  11. package/dist/src/components/atoms/DatePickerCustom/index.js.map +2 -2
  12. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +3 -1
  13. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +4 -1
  14. package/dist/src/components/atoms/Disclaimer/Disclaimer.js +1 -0
  15. package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +1 -0
  16. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +1 -0
  17. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +1 -0
  18. package/dist/src/components/atoms/Divider/Divider.tsx +2 -0
  19. package/dist/src/components/atoms/Divider/DividerProps.types.ts +1 -0
  20. package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +1 -0
  21. package/dist/src/components/atoms/IconImage/IconImage.tsx +1 -0
  22. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +1 -0
  23. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +1 -0
  24. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +1 -0
  25. package/dist/src/components/atoms/InfoBox/InfoBox.tsx +2 -1
  26. package/dist/src/components/atoms/InfoBox/InfoBoxProps.types.ts +1 -0
  27. package/dist/src/components/atoms/Logo/Logo.tsx +3 -0
  28. package/dist/src/components/atoms/LogoText/LogoTextProps.types.ts +1 -0
  29. package/dist/src/components/atoms/MenuItems/MenuItemProps.types.ts +1 -0
  30. package/dist/src/components/atoms/MenuItems/MenuItems.js +4 -0
  31. package/dist/src/components/atoms/MenuItems/MenuItems.tsx +4 -0
  32. package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +1 -0
  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 +1 -0
  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 +1 -0
  41. package/dist/src/components/atoms/ProgressBar/ProgressBarProps.types.ts +1 -0
  42. package/dist/src/components/atoms/Radio/Radio.js +1 -1
  43. package/dist/src/components/atoms/Radio/Radio.tsx +4 -2
  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 +1 -0
  47. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.tsx +0 -2
  48. package/dist/src/components/atoms/RichTextStrapi/useFormattedText.js +1 -0
  49. package/dist/src/components/atoms/RichTextStrapi/useFormattedText.tsx +1 -0
  50. package/dist/src/components/atoms/SearchSelect/SearchSelect.js +2 -2
  51. package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +8 -3
  52. package/dist/src/components/atoms/SearchSelect/SearchSelectProps.types.ts +1 -0
  53. package/dist/src/components/atoms/SidemenuTab/SideMenuTabProps.types.ts +1 -0
  54. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +2 -0
  55. package/dist/src/components/atoms/Tag/Tag.scss +0 -4
  56. package/dist/src/components/atoms/TestAB/TestAB.js +4 -1
  57. package/dist/src/components/atoms/TestAB/TestAB.tsx +5 -1
  58. package/dist/src/components/atoms/TextArea/TextArea.tsx +1 -0
  59. package/dist/src/components/atoms/Tooltip/TooltipProps.types.d.ts +1 -1
  60. package/dist/src/components/atoms/Tooltip/TooltipProps.types.ts +2 -1
  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 +2 -1
  64. package/dist/src/components/molecules/AccordionItem/AccordionItem.js +2 -3
  65. package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +3 -4
  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 +1 -0
  69. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +1 -0
  70. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +2 -1
  71. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +2 -1
  72. package/dist/src/components/molecules/BottomOverlay/BottomOverlayProps.types.ts +1 -0
  73. package/dist/src/components/molecules/BoxForm/BoxFormProps.types.ts +1 -0
  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 +1 -0
  77. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +1 -0
  78. package/dist/src/components/molecules/Feedback/Feedback.js +1 -1
  79. package/dist/src/components/molecules/Feedback/Feedback.tsx +2 -1
  80. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +1 -0
  81. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +1 -0
  82. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +2 -0
  83. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +2 -0
  84. package/dist/src/components/molecules/Pagination/PageStepControl.js +1 -0
  85. package/dist/src/components/molecules/Pagination/PageStepControl.tsx +1 -0
  86. package/dist/src/components/molecules/Pagination/PageSteps.tsx +1 -0
  87. package/dist/src/components/molecules/Pagination/Pagination.js +1 -0
  88. package/dist/src/components/molecules/Pagination/Pagination.tsx +1 -0
  89. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +2 -0
  90. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +1 -0
  91. package/dist/src/components/molecules/PricingCard/PricingCard.js +3 -2
  92. package/dist/src/components/molecules/PricingCard/PricingCard.tsx +4 -3
  93. package/dist/src/components/molecules/PricingCard/PricingCardProps.types.ts +1 -0
  94. package/dist/src/components/molecules/Snackbar/Snackbar.js +1 -0
  95. package/dist/src/components/molecules/Snackbar/Snackbar.tsx +1 -0
  96. package/dist/src/components/molecules/Snackbar/SnackbarProps.types.ts +1 -0
  97. package/dist/src/components/molecules/TextInput/Input.js +2 -0
  98. package/dist/src/components/molecules/TextInput/Input.tsx +2 -0
  99. package/dist/src/components/molecules/TextInput/TextInput.js +4 -2
  100. package/dist/src/components/molecules/TextInput/TextInput.tsx +3 -2
  101. package/dist/src/components/molecules/TextInput/TextInputMessage.tsx +1 -0
  102. package/dist/src/components/molecules/TextInput/TextInputProps.types.ts +1 -0
  103. package/dist/src/components/molecules/TextInput/TextInputTooltip.tsx +1 -0
  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 +1 -0
  107. package/dist/src/components/organisms/Accordion/Accordion.context.d.ts +1 -1
  108. package/dist/src/components/organisms/Accordion/Accordion.context.js +2 -0
  109. package/dist/src/components/organisms/Accordion/Accordion.context.tsx +4 -2
  110. package/dist/src/components/organisms/Accordion/Accordion.d.ts +2 -1
  111. package/dist/src/components/organisms/Accordion/Accordion.js +1 -0
  112. package/dist/src/components/organisms/Accordion/Accordion.tsx +2 -1
  113. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +1 -0
  114. package/dist/src/components/organisms/CardFuncionality/CardFuncionality.d.ts +3 -0
  115. package/dist/src/components/organisms/CardFuncionality/CardFuncionality.js +6 -0
  116. package/dist/src/components/organisms/{CardFunctionality/CardFunctionality.scss → CardFuncionality/CardFuncionality.scss} +2 -3
  117. package/dist/src/components/organisms/{CardFunctionality/CardFunctionality.tsx → CardFuncionality/CardFuncionality.tsx} +4 -4
  118. package/dist/src/components/organisms/{CardFunctionality/CardFunctionalityProps.d.ts → CardFuncionality/CardFuncionalityProps.d.ts} +1 -2
  119. package/dist/src/components/organisms/{CardFunctionality/CardFunctionalityProps.ts → CardFuncionality/CardFuncionalityProps.ts} +1 -2
  120. package/dist/src/components/organisms/CardFuncionality/index.d.ts +2 -0
  121. package/dist/src/components/organisms/CardFuncionality/index.js +2 -0
  122. package/dist/src/components/organisms/CardFuncionality/index.ts +2 -0
  123. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +1 -0
  124. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.ts +1 -0
  125. package/dist/src/components/organisms/index.d.ts +1 -1
  126. package/dist/src/components/organisms/index.js +1 -1
  127. package/dist/src/components/organisms/index.ts +1 -1
  128. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +1 -0
  129. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPageProps.types.ts +1 -0
  130. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPageProps.types.ts +1 -0
  131. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +1 -0
  132. package/dist/src/components/sections/AsideMenuSection/AsideMenuSectionProps.d.ts +2 -2
  133. package/dist/src/components/sections/AsideMenuSection/AsideMenuSectionProps.ts +2 -2
  134. package/dist/src/components/sections/BlogSection/BlogSection.tsx +1 -0
  135. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +1 -0
  136. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +0 -1
  137. package/dist/src/components/sections/index.d.ts +0 -1
  138. package/dist/src/components/sections/index.js +0 -1
  139. package/dist/src/components/sections/index.ts +0 -1
  140. package/dist/src/custom.d.ts +1 -0
  141. package/dist/src/globalStyles/styles.scss +1 -2
  142. package/dist/tsconfig.build.tsbuildinfo +1 -1
  143. package/package.json +35 -36
  144. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.d.ts +0 -3
  145. package/dist/src/components/organisms/CardFunctionality/CardFunctionality.js +0 -6
  146. package/dist/src/components/organisms/CardFunctionality/index.d.ts +0 -2
  147. package/dist/src/components/organisms/CardFunctionality/index.js +0 -2
  148. package/dist/src/components/organisms/CardFunctionality/index.ts +0 -2
  149. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.d.ts +0 -3
  150. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.js +0 -8
  151. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.scss +0 -15
  152. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx +0 -17
  153. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSectionProps.d.ts +0 -4
  154. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSectionProps.js +0 -1
  155. package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSectionProps.ts +0 -5
  156. package/dist/src/components/sections/FunctionalityCardsSection/index.d.ts +0 -2
  157. package/dist/src/components/sections/FunctionalityCardsSection/index.js +0 -2
  158. package/dist/src/components/sections/FunctionalityCardsSection/index.ts +0 -2
  159. /package/dist/src/components/organisms/{CardFunctionality/CardFunctionalityProps.js → CardFuncionality/CardFuncionalityProps.js} +0 -0
@@ -4079,9 +4079,6 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
4079
4079
  .tag .icon {
4080
4080
  display: flex;
4081
4081
  }
4082
- .tag .icon .icon-svg-with-theme-color {
4083
- background-color: var(--secondary-main-dark-2);
4084
- }
4085
4082
  .tag .text {
4086
4083
  color: var(--neutral-neutral-1);
4087
4084
  font-size: 12px;
@@ -6648,7 +6645,7 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
6648
6645
  color: var(--primary-main-light-1);
6649
6646
  font-weight: 400 !important;
6650
6647
  }
6651
- .card-functionality {
6648
+ .card-funcionality {
6652
6649
  border-radius: 4px;
6653
6650
  box-shadow: 0 0.25rem 0.5rem 0 rgba(var(--primary-main-dark-1-rgb), 0.2);
6654
6651
  display: flex;
@@ -6656,32 +6653,31 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
6656
6653
  gap: 1rem;
6657
6654
  padding: 1em;
6658
6655
  }
6659
- .card-functionality .content-tags {
6656
+ .card-funcionality .content-tags {
6660
6657
  display: flex;
6661
6658
  flex-direction: column;
6662
6659
  gap: 1rem;
6663
6660
  }
6664
- .card-functionality .content-tags .content {
6661
+ .card-funcionality .content-tags .content {
6665
6662
  display: flex;
6666
6663
  flex-direction: column;
6667
6664
  gap: 0.5rem;
6668
6665
  }
6669
- .card-functionality .content-tags .content .header {
6666
+ .card-funcionality .content-tags .content .header {
6670
6667
  display: flex;
6671
6668
  align-items: center;
6672
6669
  gap: 10px;
6673
- flex-direction: row;
6674
6670
  }
6675
- .card-functionality .content-tags .content .header .icon {
6671
+ .card-funcionality .content-tags .content .header .icon {
6676
6672
  padding: 2px;
6677
6673
  border-radius: 4px;
6678
6674
  background: var(--primary-main-light-5);
6679
6675
  }
6680
- .card-functionality .content-tags .content .header .title {
6676
+ .card-funcionality .content-tags .content .header .title {
6681
6677
  color: var(--neutral-neutral-1);
6682
6678
  font-weight: 700;
6683
6679
  }
6684
- .card-functionality .content-tags .content .text {
6680
+ .card-funcionality .content-tags .content .text {
6685
6681
  overflow: hidden;
6686
6682
  color: var(--neutral-neutral-1);
6687
6683
  font-size: 14px;
@@ -6690,12 +6686,12 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
6690
6686
  line-clamp: 2;
6691
6687
  -webkit-box-orient: vertical;
6692
6688
  }
6693
- .card-functionality .content-tags .tags {
6689
+ .card-funcionality .content-tags .tags {
6694
6690
  display: flex;
6695
6691
  gap: 2rem;
6696
6692
  flex-wrap: wrap;
6697
6693
  }
6698
- .card-functionality .cta-card {
6694
+ .card-funcionality .cta-card {
6699
6695
  align-self: flex-start;
6700
6696
  margin-top: 0;
6701
6697
  }
@@ -7741,19 +7737,6 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
7741
7737
  .features-ratafia-section__wrapper__children img {
7742
7738
  width: 100%;
7743
7739
  }
7744
- .functionality-cards {
7745
- display: flex;
7746
- flex-direction: column;
7747
- gap: 1rem;
7748
- margin-bottom: 2rem;
7749
- width: 100%;
7750
- }
7751
- @media (min-width: 960px) {
7752
- .functionality-cards {
7753
- flex-direction: row;
7754
- width: 50%;
7755
- }
7756
- }
7757
7740
  .guidelines-section {
7758
7741
  display: flex;
7759
7742
  flex-direction: column;
@@ -8331,7 +8314,6 @@ html[data-theme=lawdistrict] .document-status.--is-new .icon {
8331
8314
  .whyLawDistrictSection {
8332
8315
  text-align: center;
8333
8316
  background-color: var(--neutral-neutral-6);
8334
- margin-bottom: 3rem;
8335
8317
  width: 100%;
8336
8318
  padding-bottom: 2rem;
8337
8319
  display: flex;
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  /* eslint-disable @typescript-eslint/strict-boolean-expressions */
2
3
  import React, { type FC } from 'react'
3
4
  import classNames from 'classnames'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
1
2
  export interface ButtonProps {
2
3
  label: string
3
4
  dataQa: string
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
1
2
  export interface ButtonIconProps {
2
3
  dataQa?: string
3
4
  link?: string
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  import CardPaneInfo from './CardPaneInfo'
@@ -1,3 +1,5 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
1
3
  import React, { type FC } from 'react'
2
4
 
3
5
  import { type CardPaneInfoProps } from './CardPaneProps.types'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
1
2
  export interface CheckboxProps {
2
3
  dataQa: string
3
4
  id?: string
@@ -1,4 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
3
+ /* eslint-disable @typescript-eslint/restrict-plus-operands */
4
+ /* eslint-disable @typescript-eslint/no-unsafe-argument */
5
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
6
  import DatePicker, { registerLocale } from 'react-datepicker';
3
7
  import { useState } from 'react';
4
8
  import { de } from 'date-fns/locale';
@@ -1,3 +1,7 @@
1
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
+ /* eslint-disable @typescript-eslint/restrict-plus-operands */
3
+ /* eslint-disable @typescript-eslint/no-unsafe-argument */
4
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
1
5
  import DatePicker, { registerLocale } from 'react-datepicker'
2
6
  import React, { type FC, useState } from 'react'
3
7
  import { de } from 'date-fns/locale'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
1
2
  export interface DatePickerCustomProps {
2
3
  id?: string
3
4
  name?: string