@npm_leadtech/legal-lib-components 5.12.6 → 5.12.7

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 (97) hide show
  1. package/dist/css/styles.css +12 -16
  2. package/dist/src/components/atoms/Button/Button.js +1 -2
  3. package/dist/src/components/atoms/Button/Button.scss +15 -18
  4. package/dist/src/components/atoms/Button/Button.tsx +2 -2
  5. package/dist/src/components/atoms/Button/ButtonProps.types.d.ts +1 -1
  6. package/dist/src/components/atoms/Button/ButtonProps.types.ts +0 -1
  7. package/dist/src/components/atoms/CardPane/CardPane.tsx +1 -0
  8. package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +2 -0
  9. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +4 -0
  10. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +4 -0
  11. package/dist/src/components/atoms/DatePickerCustom/index.js.map +2 -2
  12. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +3 -0
  13. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +4 -0
  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/GoogleButton/GoogleButton.tsx +1 -0
  20. package/dist/src/components/atoms/IconImage/IconImage.tsx +1 -0
  21. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +1 -0
  22. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +1 -0
  23. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +1 -0
  24. package/dist/src/components/atoms/InfoBox/InfoBox.tsx +2 -0
  25. package/dist/src/components/atoms/Logo/Logo.tsx +2 -1
  26. package/dist/src/components/atoms/MenuItems/MenuItems.js +3 -0
  27. package/dist/src/components/atoms/MenuItems/MenuItems.tsx +3 -0
  28. package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +1 -0
  29. package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +1 -0
  30. package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +1 -0
  31. package/dist/src/components/atoms/Radio/Radio.tsx +3 -0
  32. package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +1 -0
  33. package/dist/src/components/atoms/RichTextStrapi/useFormattedText.js +1 -0
  34. package/dist/src/components/atoms/RichTextStrapi/useFormattedText.tsx +1 -0
  35. package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +4 -0
  36. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +2 -0
  37. package/dist/src/components/atoms/TestAB/TestAB.js +3 -0
  38. package/dist/src/components/atoms/TestAB/TestAB.tsx +3 -0
  39. package/dist/src/components/atoms/TextArea/TextArea.tsx +1 -0
  40. package/dist/src/components/molecules/AccordionItem/AccordionItem.js +1 -0
  41. package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +1 -0
  42. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +1 -0
  43. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +1 -0
  44. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +1 -0
  45. package/dist/src/components/molecules/Feedback/Feedback.tsx +1 -0
  46. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +1 -0
  47. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +1 -0
  48. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +2 -0
  49. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +2 -1
  50. package/dist/src/components/molecules/Pagination/PageStepControl.js +1 -0
  51. package/dist/src/components/molecules/Pagination/PageStepControl.tsx +1 -0
  52. package/dist/src/components/molecules/Pagination/PageSteps.tsx +1 -0
  53. package/dist/src/components/molecules/Pagination/Pagination.js +1 -0
  54. package/dist/src/components/molecules/Pagination/Pagination.tsx +1 -0
  55. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +2 -0
  56. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +1 -0
  57. package/dist/src/components/molecules/PricingCard/PricingCard.js +1 -0
  58. package/dist/src/components/molecules/PricingCard/PricingCard.tsx +1 -0
  59. package/dist/src/components/molecules/Snackbar/Snackbar.js +1 -0
  60. package/dist/src/components/molecules/Snackbar/Snackbar.tsx +1 -0
  61. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.d.ts +4 -0
  62. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.js +7 -0
  63. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.d.ts +1 -0
  64. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.js +130 -0
  65. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.ts +131 -0
  66. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.tsx +34 -0
  67. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.d.ts +9 -0
  68. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.js +1 -0
  69. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.ts +10 -0
  70. package/dist/src/components/molecules/SubtypeDocumentCard/index.d.ts +2 -0
  71. package/dist/src/components/molecules/SubtypeDocumentCard/index.js +1 -0
  72. package/dist/src/components/molecules/SubtypeDocumentCard/index.ts +2 -0
  73. package/dist/src/components/molecules/TextInput/Input.js +1 -0
  74. package/dist/src/components/molecules/TextInput/Input.tsx +1 -1
  75. package/dist/src/components/molecules/TextInput/TextInput.js +2 -0
  76. package/dist/src/components/molecules/TextInput/TextInput.tsx +2 -0
  77. package/dist/src/components/molecules/TextInput/TextInputMessage.tsx +1 -0
  78. package/dist/src/components/molecules/TextInput/TextInputTooltip.tsx +1 -0
  79. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +1 -0
  80. package/dist/src/components/molecules/index.d.ts +1 -0
  81. package/dist/src/components/molecules/index.js +1 -0
  82. package/dist/src/components/molecules/index.ts +1 -0
  83. package/dist/src/components/organisms/Accordion/Accordion.context.js +1 -0
  84. package/dist/src/components/organisms/Accordion/Accordion.context.tsx +1 -0
  85. package/dist/src/components/organisms/Accordion/Accordion.js +1 -0
  86. package/dist/src/components/organisms/Accordion/Accordion.tsx +1 -0
  87. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +1 -0
  88. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +1 -0
  89. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +1 -0
  90. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +1 -0
  91. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +1 -0
  92. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +0 -1
  93. package/dist/src/components/sections/BlogSection/BlogSection.tsx +1 -0
  94. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +1 -0
  95. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +1 -1
  96. package/dist/tsconfig.build.tsbuildinfo +1 -1
  97. package/package.json +2 -4
@@ -779,7 +779,6 @@ html[data-theme=lawdistrict] .e-button.--primary-3 {
779
779
  color: var(--neutral-main);
780
780
  }
781
781
  .e-button {
782
- display: flex;
783
782
  padding: 0.5rem 1rem;
784
783
  align-items: center;
785
784
  align-self: center;
@@ -947,6 +946,16 @@ html[data-theme=lawdistrict] .e-button.--primary-3 {
947
946
  .e-button--fluid {
948
947
  width: 100%;
949
948
  }
949
+ .e-button.create-doc-button {
950
+ border: none;
951
+ }
952
+ .e-button.download-icon::before {
953
+ content: "";
954
+ width: 1rem;
955
+ height: 1rem;
956
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMC4wMjc1IDcuNDIyNzlMOC43MjIyMiA4Ljg3MzA3VjEuODA1NTdDOC43MjIyMiAxLjQwNjY5IDguMzk4ODcgMS4wODMzNCA4IDEuMDgzMzRDNy42MDExMyAxLjA4MzM0IDcuMjc3NzggMS40MDY2OSA3LjI3Nzc4IDEuODA1NTdWOC44NzMwN0w1Ljk3MjQ5IDcuNDIyNzlDNS42NzA1OCA3LjA4NzM1IDUuMTQ0NDIgNy4wODc4NSA0Ljg0MzE2IDcuNDIzODhDNC41ODQ2NSA3LjcxMjIxIDQuNTg0NjUgOC4xNDg5MiA0Ljg0MzE2IDguNDM3MjVMNy4yNTU0MyAxMS4xMjc5QzcuNjUyODUgMTEuNTcxMSA4LjM0NzE1IDExLjU3MTEgOC43NDQ1NyAxMS4xMjc5TDExLjE1NjggOC40MzcyNUMxMS40MTUzIDguMTQ4OTIgMTEuNDE1MyA3LjcxMjIxIDExLjE1NjggNy40MjM4OEMxMC44NTU2IDcuMDg3ODUgMTAuMzI5NCA3LjA4NzM1IDEwLjAyNzUgNy40MjI3OVpNMTMuMDU1NiA5LjA1NTU2QzEzLjA1NTYgOC42NTY2OSAxMy4zNzg5IDguMzMzMzQgMTMuNzc3OCA4LjMzMzM0QzE0LjE3NjcgOC4zMzMzNCAxNC41IDguNjU2NjkgMTQuNSA5LjA1NTU2VjE0LjU4MzNDMTQuNSAxNS4xMzU2IDE0LjA1MjMgMTUuNTgzMyAxMy41IDE1LjU4MzNIMi41QzEuOTQ3NzIgMTUuNTgzMyAxLjUgMTUuMTM1NiAxLjUgMTQuNTgzM1Y5LjA1NTU2QzEuNSA4LjY1NjY5IDEuODIzMzUgOC4zMzMzNCAyLjIyMjIyIDguMzMzMzRDMi42MjEwOSA4LjMzMzM0IDIuOTQ0NDQgOC42NTY2OSAyLjk0NDQ0IDkuMDU1NTdWMTMuOTcyMkgxMy4wNTU2VjkuMDU1NTZaIiBmaWxsPSIjM0Q0MDQyIi8+Cjwvc3ZnPgo=);
957
+ margin-right: 0.5rem;
958
+ }
950
959
  .button--secondary-3 {
951
960
  color: var(--neutral-neutral-1);
952
961
  display: flex;
@@ -981,7 +990,7 @@ html[data-theme=lawdistrict] .e-button.--primary-3 {
981
990
  .button--secondary-4:hover {
982
991
  background-color: var(--neutral-neutral-1);
983
992
  }
984
- .button--tertiary-1 {
993
+ .button--tertiary {
985
994
  font-weight: bold;
986
995
  padding: 0.5rem 1rem;
987
996
  display: inline-block;
@@ -989,25 +998,12 @@ html[data-theme=lawdistrict] .e-button.--primary-3 {
989
998
  border: none;
990
999
  background: none;
991
1000
  }
992
- .button--tertiary-1:hover {
1001
+ .button--tertiary:hover {
993
1002
  background-color: var(--button-tertiary-hover);
994
1003
  }
995
1004
  .button--small {
996
1005
  line-height: 1;
997
1006
  }
998
- .button--tertiary-2 {
999
- background-color: transparent;
1000
- border: 1px solid var(--neutral-neutral-3);
1001
- color: var(--button-secondary);
1002
- font-weight: bold;
1003
- padding: 0.3rem 0.5rem;
1004
- }
1005
- .button--tertiary-2:hover {
1006
- background-color: var(--button-secondary-hover);
1007
- }
1008
- .button--small {
1009
- line-height: 1;
1010
- }
1011
1007
  .button--medium {
1012
1008
  line-height: 1.5;
1013
1009
  }
@@ -19,8 +19,7 @@ const Button = ({ label, dataQa, labelMobile, link, LinkComponent = null, noLink
19
19
  '--secondary-icon': color === 'secondaryIcon',
20
20
  '--secondary-icon --bold': color === 'secondaryIconBold',
21
21
  '--secondary-icon --dark': color === 'secondaryIconDark',
22
- 'button--tertiary-1': color === 'tertiary',
23
- 'button--tertiary-2': color === 'tertiary2',
22
+ 'button--tertiary': color === 'tertiary',
24
23
  '--styleless': color === 'styleless',
25
24
  '--transparent': color === 'transparent',
26
25
  '--disabled': disabled,
@@ -12,7 +12,6 @@ html[data-theme='lawdistrict'] {
12
12
  }
13
13
 
14
14
  .e-button {
15
- display: flex;
16
15
  padding: 0.5rem 1rem;
17
16
  align-items: center;
18
17
  align-self: center;
@@ -212,6 +211,20 @@ html[data-theme='lawdistrict'] {
212
211
  &--fluid {
213
212
  width: 100%;
214
213
  }
214
+
215
+ &.create-doc-button {
216
+ border: none;
217
+ }
218
+
219
+ &.download-icon {
220
+ &::before {
221
+ content: '';
222
+ width: 1rem;
223
+ height: 1rem;
224
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMC4wMjc1IDcuNDIyNzlMOC43MjIyMiA4Ljg3MzA3VjEuODA1NTdDOC43MjIyMiAxLjQwNjY5IDguMzk4ODcgMS4wODMzNCA4IDEuMDgzMzRDNy42MDExMyAxLjA4MzM0IDcuMjc3NzggMS40MDY2OSA3LjI3Nzc4IDEuODA1NTdWOC44NzMwN0w1Ljk3MjQ5IDcuNDIyNzlDNS42NzA1OCA3LjA4NzM1IDUuMTQ0NDIgNy4wODc4NSA0Ljg0MzE2IDcuNDIzODhDNC41ODQ2NSA3LjcxMjIxIDQuNTg0NjUgOC4xNDg5MiA0Ljg0MzE2IDguNDM3MjVMNy4yNTU0MyAxMS4xMjc5QzcuNjUyODUgMTEuNTcxMSA4LjM0NzE1IDExLjU3MTEgOC43NDQ1NyAxMS4xMjc5TDExLjE1NjggOC40MzcyNUMxMS40MTUzIDguMTQ4OTIgMTEuNDE1MyA3LjcxMjIxIDExLjE1NjggNy40MjM4OEMxMC44NTU2IDcuMDg3ODUgMTAuMzI5NCA3LjA4NzM1IDEwLjAyNzUgNy40MjI3OVpNMTMuMDU1NiA5LjA1NTU2QzEzLjA1NTYgOC42NTY2OSAxMy4zNzg5IDguMzMzMzQgMTMuNzc3OCA4LjMzMzM0QzE0LjE3NjcgOC4zMzMzNCAxNC41IDguNjU2NjkgMTQuNSA5LjA1NTU2VjE0LjU4MzNDMTQuNSAxNS4xMzU2IDE0LjA1MjMgMTUuNTgzMyAxMy41IDE1LjU4MzNIMi41QzEuOTQ3NzIgMTUuNTgzMyAxLjUgMTUuMTM1NiAxLjUgMTQuNTgzM1Y5LjA1NTU2QzEuNSA4LjY1NjY5IDEuODIzMzUgOC4zMzMzNCAyLjIyMjIyIDguMzMzMzRDMi42MjEwOSA4LjMzMzM0IDIuOTQ0NDQgOC42NTY2OSAyLjk0NDQ0IDkuMDU1NTdWMTMuOTcyMkgxMy4wNTU2VjkuMDU1NTZaIiBmaWxsPSIjM0Q0MDQyIi8+Cjwvc3ZnPgo=');
225
+ margin-right: 0.5rem;
226
+ }
227
+ }
215
228
  }
216
229
 
217
230
  .button--secondary-3 {
@@ -256,7 +269,7 @@ html[data-theme='lawdistrict'] {
256
269
  }
257
270
  }
258
271
 
259
- .button--tertiary-1 {
272
+ .button--tertiary {
260
273
  font-weight: bold;
261
274
  padding: 0.5rem 1rem;
262
275
  display: inline-block;
@@ -273,22 +286,6 @@ html[data-theme='lawdistrict'] {
273
286
  line-height: 1;
274
287
  }
275
288
 
276
- .button--tertiary-2 {
277
- background-color: transparent;
278
- border: 1px solid get-color(neutral, neutral-3);
279
- color: var(--button-secondary);
280
- font-weight: bold;
281
- padding: 0.3rem 0.5rem;
282
-
283
- &:hover {
284
- background-color: var(--button-secondary-hover);
285
- }
286
- }
287
-
288
- .button--small {
289
- line-height: 1;
290
- }
291
-
292
289
  .button--medium {
293
290
  line-height: 1.5;
294
291
  }
@@ -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'
@@ -47,8 +48,7 @@ const Button: FC<ButtonProps> = ({
47
48
  '--secondary-icon': color === 'secondaryIcon',
48
49
  '--secondary-icon --bold': color === 'secondaryIconBold',
49
50
  '--secondary-icon --dark': color === 'secondaryIconDark',
50
- 'button--tertiary-1': color === 'tertiary',
51
- 'button--tertiary-2': color === 'tertiary2',
51
+ 'button--tertiary': color === 'tertiary',
52
52
  '--styleless': color === 'styleless',
53
53
  '--transparent': color === 'transparent',
54
54
  '--disabled': disabled,
@@ -8,7 +8,7 @@ export interface ButtonProps {
8
8
  noLinkNoFunc?: boolean;
9
9
  onClick?: (functionParameters?: any) => void;
10
10
  functionParameters?: any;
11
- color?: 'primary' | 'primary2' | 'primary3' | 'primary4' | 'secondary' | 'secondary2' | 'secondary3' | 'secondary4' | 'secondaryIcon' | 'secondaryIconBold' | 'secondaryIconDark' | 'tertiary' | 'tertiary2' | 'styleless' | 'transparent';
11
+ color?: 'primary' | 'primary2' | 'primary3' | 'primary4' | 'secondary' | 'secondary2' | 'secondary3' | 'secondary4' | 'secondaryIcon' | 'secondaryIconBold' | 'secondaryIconDark' | 'tertiary' | 'styleless' | 'transparent';
12
12
  error?: boolean;
13
13
  disabled?: boolean;
14
14
  fluid?: boolean;
@@ -22,7 +22,6 @@ export interface ButtonProps {
22
22
  | 'secondaryIconBold'
23
23
  | 'secondaryIconDark'
24
24
  | 'tertiary'
25
- | 'tertiary2'
26
25
  | 'styleless'
27
26
  | 'transparent'
28
27
  error?: boolean
@@ -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,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'