@npm_leadtech/legal-lib-components 5.12.4 → 5.12.6

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 +16 -12
  2. package/dist/src/components/atoms/Button/Button.js +2 -1
  3. package/dist/src/components/atoms/Button/Button.scss +18 -15
  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 +1 -0
  7. package/dist/src/components/atoms/CardPane/CardPane.tsx +0 -1
  8. package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +0 -2
  9. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +0 -4
  10. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +0 -4
  11. package/dist/src/components/atoms/DatePickerCustom/index.js.map +2 -2
  12. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +0 -3
  13. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +0 -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/GoogleButton/GoogleButton.tsx +0 -1
  20. package/dist/src/components/atoms/IconImage/IconImage.tsx +0 -1
  21. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +0 -1
  22. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +0 -1
  23. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +0 -1
  24. package/dist/src/components/atoms/InfoBox/InfoBox.tsx +0 -2
  25. package/dist/src/components/atoms/Logo/Logo.tsx +1 -2
  26. package/dist/src/components/atoms/MenuItems/MenuItems.js +0 -3
  27. package/dist/src/components/atoms/MenuItems/MenuItems.tsx +0 -3
  28. package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +0 -1
  29. package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +0 -1
  30. package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +0 -1
  31. package/dist/src/components/atoms/Radio/Radio.tsx +0 -3
  32. package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +0 -1
  33. package/dist/src/components/atoms/RichTextStrapi/useFormattedText.js +0 -1
  34. package/dist/src/components/atoms/RichTextStrapi/useFormattedText.tsx +0 -1
  35. package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +0 -4
  36. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +0 -2
  37. package/dist/src/components/atoms/TestAB/TestAB.js +0 -3
  38. package/dist/src/components/atoms/TestAB/TestAB.tsx +0 -3
  39. package/dist/src/components/atoms/TextArea/TextArea.tsx +0 -1
  40. package/dist/src/components/molecules/AccordionItem/AccordionItem.js +0 -1
  41. package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +0 -1
  42. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +0 -1
  43. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +0 -1
  44. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +0 -1
  45. package/dist/src/components/molecules/Feedback/Feedback.tsx +0 -1
  46. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +0 -1
  47. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +0 -1
  48. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +0 -2
  49. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +1 -2
  50. package/dist/src/components/molecules/Pagination/PageStepControl.js +0 -1
  51. package/dist/src/components/molecules/Pagination/PageStepControl.tsx +0 -1
  52. package/dist/src/components/molecules/Pagination/PageSteps.tsx +0 -1
  53. package/dist/src/components/molecules/Pagination/Pagination.js +0 -1
  54. package/dist/src/components/molecules/Pagination/Pagination.tsx +0 -1
  55. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +0 -2
  56. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +0 -1
  57. package/dist/src/components/molecules/PricingCard/PricingCard.js +0 -1
  58. package/dist/src/components/molecules/PricingCard/PricingCard.tsx +0 -1
  59. package/dist/src/components/molecules/Snackbar/Snackbar.js +0 -1
  60. package/dist/src/components/molecules/Snackbar/Snackbar.tsx +0 -1
  61. package/dist/src/components/molecules/TextInput/Input.js +0 -1
  62. package/dist/src/components/molecules/TextInput/Input.tsx +1 -1
  63. package/dist/src/components/molecules/TextInput/TextInput.js +0 -2
  64. package/dist/src/components/molecules/TextInput/TextInput.tsx +0 -2
  65. package/dist/src/components/molecules/TextInput/TextInputMessage.tsx +0 -1
  66. package/dist/src/components/molecules/TextInput/TextInputTooltip.tsx +0 -1
  67. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +0 -1
  68. package/dist/src/components/molecules/index.d.ts +0 -1
  69. package/dist/src/components/molecules/index.js +0 -1
  70. package/dist/src/components/molecules/index.ts +0 -1
  71. package/dist/src/components/organisms/Accordion/Accordion.context.js +0 -1
  72. package/dist/src/components/organisms/Accordion/Accordion.context.tsx +0 -1
  73. package/dist/src/components/organisms/Accordion/Accordion.js +0 -1
  74. package/dist/src/components/organisms/Accordion/Accordion.tsx +0 -1
  75. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +0 -1
  76. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +0 -1
  77. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +0 -1
  78. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +0 -1
  79. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +0 -1
  80. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +1 -0
  81. package/dist/src/components/sections/BlogSection/BlogSection.tsx +0 -1
  82. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +0 -1
  83. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +1 -1
  84. package/dist/tsconfig.build.tsbuildinfo +1 -1
  85. package/package.json +4 -2
  86. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.d.ts +0 -4
  87. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.js +0 -7
  88. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.d.ts +0 -1
  89. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.js +0 -130
  90. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.ts +0 -131
  91. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.tsx +0 -34
  92. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.d.ts +0 -9
  93. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.js +0 -1
  94. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.ts +0 -10
  95. package/dist/src/components/molecules/SubtypeDocumentCard/index.d.ts +0 -2
  96. package/dist/src/components/molecules/SubtypeDocumentCard/index.js +0 -1
  97. package/dist/src/components/molecules/SubtypeDocumentCard/index.ts +0 -2
@@ -779,6 +779,7 @@ html[data-theme=lawdistrict] .e-button.--primary-3 {
779
779
  color: var(--neutral-main);
780
780
  }
781
781
  .e-button {
782
+ display: flex;
782
783
  padding: 0.5rem 1rem;
783
784
  align-items: center;
784
785
  align-self: center;
@@ -946,16 +947,6 @@ html[data-theme=lawdistrict] .e-button.--primary-3 {
946
947
  .e-button--fluid {
947
948
  width: 100%;
948
949
  }
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
- }
959
950
  .button--secondary-3 {
960
951
  color: var(--neutral-neutral-1);
961
952
  display: flex;
@@ -990,7 +981,7 @@ html[data-theme=lawdistrict] .e-button.--primary-3 {
990
981
  .button--secondary-4:hover {
991
982
  background-color: var(--neutral-neutral-1);
992
983
  }
993
- .button--tertiary {
984
+ .button--tertiary-1 {
994
985
  font-weight: bold;
995
986
  padding: 0.5rem 1rem;
996
987
  display: inline-block;
@@ -998,12 +989,25 @@ html[data-theme=lawdistrict] .e-button.--primary-3 {
998
989
  border: none;
999
990
  background: none;
1000
991
  }
1001
- .button--tertiary:hover {
992
+ .button--tertiary-1:hover {
1002
993
  background-color: var(--button-tertiary-hover);
1003
994
  }
1004
995
  .button--small {
1005
996
  line-height: 1;
1006
997
  }
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
+ }
1007
1011
  .button--medium {
1008
1012
  line-height: 1.5;
1009
1013
  }
@@ -19,7 +19,8 @@ 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': color === 'tertiary',
22
+ 'button--tertiary-1': color === 'tertiary',
23
+ 'button--tertiary-2': color === 'tertiary2',
23
24
  '--styleless': color === 'styleless',
24
25
  '--transparent': color === 'transparent',
25
26
  '--disabled': disabled,
@@ -12,6 +12,7 @@ html[data-theme='lawdistrict'] {
12
12
  }
13
13
 
14
14
  .e-button {
15
+ display: flex;
15
16
  padding: 0.5rem 1rem;
16
17
  align-items: center;
17
18
  align-self: center;
@@ -211,20 +212,6 @@ html[data-theme='lawdistrict'] {
211
212
  &--fluid {
212
213
  width: 100%;
213
214
  }
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
- }
228
215
  }
229
216
 
230
217
  .button--secondary-3 {
@@ -269,7 +256,7 @@ html[data-theme='lawdistrict'] {
269
256
  }
270
257
  }
271
258
 
272
- .button--tertiary {
259
+ .button--tertiary-1 {
273
260
  font-weight: bold;
274
261
  padding: 0.5rem 1rem;
275
262
  display: inline-block;
@@ -286,6 +273,22 @@ html[data-theme='lawdistrict'] {
286
273
  line-height: 1;
287
274
  }
288
275
 
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
+
289
292
  .button--medium {
290
293
  line-height: 1.5;
291
294
  }
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  /* eslint-disable @typescript-eslint/strict-boolean-expressions */
3
2
  import React, { type FC } from 'react'
4
3
  import classNames from 'classnames'
@@ -48,7 +47,8 @@ const Button: FC<ButtonProps> = ({
48
47
  '--secondary-icon': color === 'secondaryIcon',
49
48
  '--secondary-icon --bold': color === 'secondaryIconBold',
50
49
  '--secondary-icon --dark': color === 'secondaryIconDark',
51
- 'button--tertiary': color === 'tertiary',
50
+ 'button--tertiary-1': color === 'tertiary',
51
+ 'button--tertiary-2': color === 'tertiary2',
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' | 'styleless' | 'transparent';
11
+ color?: 'primary' | 'primary2' | 'primary3' | 'primary4' | 'secondary' | 'secondary2' | 'secondary3' | 'secondary4' | 'secondaryIcon' | 'secondaryIconBold' | 'secondaryIconDark' | 'tertiary' | 'tertiary2' | 'styleless' | 'transparent';
12
12
  error?: boolean;
13
13
  disabled?: boolean;
14
14
  fluid?: boolean;
@@ -22,6 +22,7 @@ export interface ButtonProps {
22
22
  | 'secondaryIconBold'
23
23
  | 'secondaryIconDark'
24
24
  | 'tertiary'
25
+ | 'tertiary2'
25
26
  | 'styleless'
26
27
  | 'transparent'
27
28
  error?: 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 CardPaneInfo from './CardPaneInfo'
@@ -1,5 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
3
1
  import React, { type FC } from 'react'
4
2
 
5
3
  import { type CardPaneInfoProps } from './CardPaneProps.types'
@@ -1,8 +1,4 @@
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 */
6
2
  import DatePicker, { registerLocale } from 'react-datepicker';
7
3
  import { useState } from 'react';
8
4
  import { de } from 'date-fns/locale';
@@ -1,7 +1,3 @@
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 */
5
1
  import DatePicker, { registerLocale } from 'react-datepicker'
6
2
  import React, { type FC, useState } from 'react'
7
3
  import { de } from 'date-fns/locale'