@npm_leadtech/legal-lib-components 7.22.10 → 7.22.12

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 (70) hide show
  1. package/dist/css/styles.css +3 -0
  2. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.js +1 -1
  3. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.ts +1 -1
  4. package/dist/src/components/atoms/DropdownInput/DropdownInput.d.ts +1 -1
  5. package/dist/src/components/atoms/DropdownInput/DropdownInput.js +5 -7
  6. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.js +36 -43
  7. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.ts +37 -43
  8. package/dist/src/components/atoms/DropdownInput/DropdownInput.tsx +51 -50
  9. package/dist/src/components/atoms/DropdownInput/DropdownInputProps.types.d.ts +0 -1
  10. package/dist/src/components/atoms/DropdownInput/DropdownInputProps.types.ts +0 -1
  11. package/dist/src/components/molecules/SearchBar/SearchBar.js +29 -17
  12. package/dist/src/components/molecules/SearchBar/SearchBar.styled.js +55 -4
  13. package/dist/src/components/molecules/SearchBar/SearchBar.styled.ts +55 -4
  14. package/dist/src/components/molecules/SearchBar/SearchBar.tsx +61 -31
  15. package/dist/src/components/molecules/TextInput/Input.d.ts +1 -0
  16. package/dist/src/components/molecules/TextInput/Input.js +4 -5
  17. package/dist/src/components/molecules/TextInput/Input.tsx +8 -7
  18. package/dist/src/components/molecules/TextInput/TextInput.js +2 -2
  19. package/dist/src/components/molecules/TextInput/TextInput.scss +4 -0
  20. package/dist/src/components/molecules/TextInput/TextInput.tsx +3 -1
  21. package/dist/src/components/molecules/TextInput/TextInputProps.types.d.ts +1 -0
  22. package/dist/src/components/molecules/TextInput/TextInputProps.types.ts +1 -0
  23. package/dist/src/components/organisms/VisibleEnvVariables/VisibleEnvVariables.d.ts +4 -0
  24. package/dist/src/components/organisms/VisibleEnvVariables/VisibleEnvVariables.js +6 -0
  25. package/dist/src/components/organisms/VisibleEnvVariables/VisibleEnvVariables.styled.d.ts +1 -0
  26. package/dist/src/components/organisms/VisibleEnvVariables/VisibleEnvVariables.styled.js +13 -0
  27. package/dist/src/components/organisms/VisibleEnvVariables/VisibleEnvVariables.styled.ts +14 -0
  28. package/dist/src/components/organisms/VisibleEnvVariables/VisibleEnvVariables.tsx +18 -0
  29. package/dist/src/components/organisms/VisibleEnvVariables/VisibleEnvVariablesProps.types.d.ts +3 -0
  30. package/dist/src/components/organisms/VisibleEnvVariables/VisibleEnvVariablesProps.types.ts +3 -0
  31. package/dist/src/components/organisms/VisibleEnvVariables/index.d.ts +2 -0
  32. package/dist/src/components/organisms/VisibleEnvVariables/index.js +1 -0
  33. package/dist/src/components/organisms/VisibleEnvVariables/index.ts +2 -0
  34. package/dist/src/components/organisms/index.d.ts +1 -0
  35. package/dist/src/components/organisms/index.js +1 -0
  36. package/dist/src/components/organisms/index.ts +1 -0
  37. package/dist/tsconfig.build.tsbuildinfo +1 -1
  38. package/package.json +2 -1
  39. package/dist/images/componentsSvg/CloseIcon.d.ts +0 -6
  40. package/dist/images/componentsSvg/CloseIcon.js +0 -2
  41. package/dist/images/componentsSvg/CloseIcon.tsx +0 -14
  42. package/dist/images/svg/close-grey-24px.svg +0 -3
  43. package/dist/images/svg/search_24px.svg +0 -3
  44. package/dist/src/components/molecules/DesktopSearchBar/DesktopSearchBar.d.ts +0 -8
  45. package/dist/src/components/molecules/DesktopSearchBar/DesktopSearchBar.js +0 -44
  46. package/dist/src/components/molecules/DesktopSearchBar/DesktopSearchBar.styled.d.ts +0 -1
  47. package/dist/src/components/molecules/DesktopSearchBar/DesktopSearchBar.styled.js +0 -48
  48. package/dist/src/components/molecules/DesktopSearchBar/DesktopSearchBar.styled.ts +0 -49
  49. package/dist/src/components/molecules/DesktopSearchBar/DesktopSearchBar.tsx +0 -77
  50. package/dist/src/components/molecules/DesktopSearchBar/DesktopSearchBarProps.types.d.ts +0 -37
  51. package/dist/src/components/molecules/DesktopSearchBar/DesktopSearchBarProps.types.ts +0 -40
  52. package/dist/src/components/molecules/DesktopSearchBar/index.d.ts +0 -2
  53. package/dist/src/components/molecules/DesktopSearchBar/index.js +0 -1
  54. package/dist/src/components/molecules/DesktopSearchBar/index.ts +0 -2
  55. package/dist/src/components/molecules/MobileSearchBar/MobileSearchBar.d.ts +0 -3
  56. package/dist/src/components/molecules/MobileSearchBar/MobileSearchBar.js +0 -38
  57. package/dist/src/components/molecules/MobileSearchBar/MobileSearchBar.styled.d.ts +0 -1
  58. package/dist/src/components/molecules/MobileSearchBar/MobileSearchBar.styled.js +0 -16
  59. package/dist/src/components/molecules/MobileSearchBar/MobileSearchBar.styled.ts +0 -17
  60. package/dist/src/components/molecules/MobileSearchBar/MobileSearchBar.tsx +0 -55
  61. package/dist/src/components/molecules/MobileSearchBar/MobileSearchBarProps.types.d.ts +0 -37
  62. package/dist/src/components/molecules/MobileSearchBar/MobileSearchBarProps.types.js +0 -1
  63. package/dist/src/components/molecules/MobileSearchBar/MobileSearchBarProps.types.ts +0 -40
  64. package/dist/src/components/molecules/MobileSearchBar/index.d.ts +0 -2
  65. package/dist/src/components/molecules/MobileSearchBar/index.js +0 -1
  66. package/dist/src/components/molecules/MobileSearchBar/index.ts +0 -2
  67. package/dist/src/hooks/useSearchFunction.d.ts +0 -10
  68. package/dist/src/hooks/useSearchFunction.js +0 -28
  69. package/dist/src/hooks/useSearchFunction.tsx +0 -63
  70. /package/dist/src/components/{molecules/DesktopSearchBar/DesktopSearchBarProps.types.js → organisms/VisibleEnvVariables/VisibleEnvVariablesProps.types.js} +0 -0
@@ -1,42 +1,72 @@
1
- /* eslint-disable jsx-a11y/click-events-have-key-events */
2
- /* eslint-disable jsx-a11y/no-static-element-interactions */
3
- /* eslint-disable jsx-a11y/anchor-is-valid */
4
1
  import React, { useState } from 'react'
5
- import { DesktopSearchBar } from '../DesktopSearchBar'
6
- import { MobileSearchBar } from '../MobileSearchBar'
2
+
3
+ import { DropdownInput } from '../../atoms/DropdownInput/DropdownInput'
4
+ import { SearchIcon } from '../../../../images/componentsSvg/SearchIcon'
5
+ import { useWindowSize } from '../../../hooks/useWindowSize'
6
+
7
7
  import { type SearchBarProps } from './SearchBarProps.types'
8
8
  import { SearchBarStyled } from './SearchBar.styled'
9
- import search from '../../../../images/svg/search_24px.svg'
10
9
 
11
- export const SearchBar: React.FC<SearchBarProps> = (props) => {
12
- const [isModalOpen, setIsModalOpen] = useState(false)
10
+ export const SearchBar: React.FC<SearchBarProps> = ({ products, searchBarTexts, routes, handleResultClick }) => {
11
+ const [results, setResults] = useState<React.JSX.Element[]>([])
13
12
 
14
- const closeModal = () => setIsModalOpen(false)
13
+ const windowSize = useWindowSize()
14
+ const _placeholder = windowSize.width === null || windowSize.width >= 720 ? '' : searchBarTexts.placeholder
15
+ const searchFunction = (text: string): void => {
16
+ const searchTerm = text.toLowerCase()
17
+
18
+ const productsFiltered = products.filter((item) => item.linkText.toLowerCase().includes(searchTerm))
19
+ const results = productsFiltered
20
+ .map((item) => {
21
+ const product = item.linkText
22
+ const preMatch = product.slice(0, product.toLowerCase().indexOf(searchTerm))
23
+ const match = product.slice(product.toLowerCase().indexOf(searchTerm), preMatch.length + searchTerm.length)
24
+ const postMatch = product.slice(product.toLowerCase().indexOf(searchTerm) + searchTerm.length, product.length)
25
+ const link = item.categoryUrl ? `${item.categoryUrl}/${item.slug}` : item.slug
26
+ return (
27
+ <li key={searchBarTexts.title} className='dropdown_input__item'>
28
+ <a
29
+ href={routes.CUSTOM_URL_FROM_TARGET_ADDRESS(link)}
30
+ className='dropdown_input__link'
31
+ key={item.linkText}
32
+ onClick={(e) => {
33
+ e.preventDefault()
34
+ handleResultClick(product, routes.CUSTOM_URL_FROM_TARGET_ADDRESS(link))
35
+ }}
36
+ title={product}
37
+ >
38
+ {preMatch}
39
+ <strong className='dropdown_input__link__emphasis'>{match}</strong>
40
+ {postMatch}
41
+ </a>
42
+ </li>
43
+ )
44
+ })
45
+ .slice(0, 9)
46
+
47
+ results.push(
48
+ <li key={searchBarTexts.title} className='dropdown_input__item'>
49
+ <a className='dropdown_input__link--all' title={searchBarTexts.title} href={routes.LEGAL_DOCUMENTS}>
50
+ {searchBarTexts.title}
51
+ </a>
52
+ </li>
53
+ )
54
+
55
+ setResults(results)
56
+ }
15
57
 
16
58
  return (
17
59
  <SearchBarStyled>
18
- <div style={{ position: 'relative', display: 'flex' }}>
19
- <a
20
- onClick={() => setIsModalOpen(true)}
21
- style={{
22
- cursor: 'pointer',
23
- width: '20px',
24
- height: '20px'
25
- }}
26
- className='search-icon-container'
27
- >
28
- <img
29
- src={search}
30
- alt='search-icon-primary'
31
- style={{
32
- width: '100%',
33
- height: '100%'
34
- }}
35
- />
36
- </a>
37
- <DesktopSearchBar {...props} isOpen={isModalOpen} onClose={closeModal} />
38
- <MobileSearchBar {...props} />
39
- </div>
60
+ <DropdownInput
61
+ name='search'
62
+ className='search'
63
+ placeholder={_placeholder}
64
+ icon={<SearchIcon />}
65
+ onChange={(text: string) => {
66
+ searchFunction(text)
67
+ }}
68
+ results={results}
69
+ />
40
70
  </SearchBarStyled>
41
71
  )
42
72
  }
@@ -14,6 +14,7 @@ interface InputProps {
14
14
  onKeyDown: (e: React.KeyboardEvent<HTMLInputElement>) => void;
15
15
  onKeyUp: (e: React.KeyboardEvent<HTMLInputElement>) => void;
16
16
  country: string;
17
+ currrencySymbol?: string;
17
18
  }
18
19
  export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
19
20
  export {};
@@ -1,11 +1,9 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React, { useState } from 'react';
3
- import currencyEuro from '../../../../images/svg/currencyDE.svg';
4
- import currencyOthers from '../../../../images/svg/currencyUS.svg';
5
3
  import eyeCloseIcon from '../../../../images/svg/eye-close.svg';
6
4
  import eyeIcon from '../../../../images/svg/eye-24-px.svg';
7
5
  import percent from '../../../../images/svg/percent.svg';
8
- export const Input = React.forwardRef(({ value, name, placeholder, className, onChange, onClick, onBlur, onKeyDown, onKeyUp, disabled, type = 'text', maxLength, country, prefix }, ref) => {
6
+ export const Input = React.forwardRef(({ value, name, placeholder, className, onChange, onClick, onBlur, onKeyDown, onKeyUp, disabled, type = 'text', maxLength, country, prefix, currrencySymbol }, ref) => {
9
7
  const [hidden, setHidden] = useState(true);
10
8
  const showPassword = () => {
11
9
  if (value !== null)
@@ -25,12 +23,13 @@ export const Input = React.forwardRef(({ value, name, placeholder, className, on
25
23
  else if (isPercent) {
26
24
  finalClassName += ' has-percent-suffix';
27
25
  }
28
- return (_jsxs(_Fragment, { children: [isCurrency && !!prefix && otherCurrency && (_jsx("div", { className: 'input-icon-currency-prefix', children: _jsx("img", { src: currencyOthers, alt: 'currency' }) })), _jsx("input", { type: !hidden && type === 'password' ? 'text' : type, name: name, id: name, className: finalClassName, maxLength: maxLength, placeholder: placeholder, onChange: onChange, onClick: onClick, onKeyDown: onKeyDown, onKeyUp: onKeyUp, onBlur: onBlur, value: value, "data-qa": name, disabled: disabled, ref: ref }), type === 'password' && (_jsx("button", { type: 'button', className: 'input-icon-password-button', onClick: showPassword, onKeyDown: (e) => {
26
+ return (_jsxs(_Fragment, { children: [isCurrency && !!prefix && otherCurrency && currrencySymbol && (_jsx("div", { className: 'input-icon-currency-prefix', children: _jsx("span", { children: currrencySymbol }) })), _jsx("input", { type: !hidden && type === 'password' ? 'text' : type, name: name, id: name, className: finalClassName, maxLength: maxLength, placeholder: placeholder, onChange: onChange, onClick: onClick, onKeyDown: onKeyDown, onKeyUp: onKeyUp, onBlur: onBlur, value: value, "data-qa": name, disabled: disabled, ref: ref }), type === 'password' && (_jsx("button", { type: 'button', className: 'input-icon-password-button', onClick: showPassword, onKeyDown: (e) => {
29
27
  if (e.key === 'Enter')
30
28
  showPassword();
31
29
  }, children: _jsx("img", { src: hidden ? eyeIcon : eyeCloseIcon, alt: '' }) })), isCurrency
32
30
  ? !!prefix &&
33
- euro && (_jsx("div", { className: 'input-icon-currency-suffix', children: _jsx("img", { src: currencyEuro, alt: 'currency' }) }))
31
+ euro &&
32
+ currrencySymbol && (_jsx("div", { className: 'input-icon-currency-suffix', children: _jsx("span", { children: currrencySymbol }) }))
34
33
  : isPercent && (_jsx("div", { className: 'input-icon-percent-suffix', children: _jsx("img", { src: percent, alt: 'percent' }) }))] }));
35
34
  });
36
35
  Input.displayName = 'Input';
@@ -1,7 +1,5 @@
1
1
  import React, { useState } from 'react'
2
2
 
3
- import currencyEuro from '../../../../images/svg/currencyDE.svg'
4
- import currencyOthers from '../../../../images/svg/currencyUS.svg'
5
3
  import eyeCloseIcon from '../../../../images/svg/eye-close.svg'
6
4
  import eyeIcon from '../../../../images/svg/eye-24-px.svg'
7
5
  import percent from '../../../../images/svg/percent.svg'
@@ -21,6 +19,7 @@ interface InputProps {
21
19
  onKeyDown: (e: React.KeyboardEvent<HTMLInputElement>) => void
22
20
  onKeyUp: (e: React.KeyboardEvent<HTMLInputElement>) => void
23
21
  country: string
22
+ currrencySymbol?: string
24
23
  }
25
24
 
26
25
  export const Input = React.forwardRef<HTMLInputElement, InputProps>(
@@ -39,7 +38,8 @@ export const Input = React.forwardRef<HTMLInputElement, InputProps>(
39
38
  type = 'text',
40
39
  maxLength,
41
40
  country,
42
- prefix
41
+ prefix,
42
+ currrencySymbol
43
43
  }: InputProps,
44
44
  ref
45
45
  ) => {
@@ -66,9 +66,9 @@ export const Input = React.forwardRef<HTMLInputElement, InputProps>(
66
66
 
67
67
  return (
68
68
  <>
69
- {isCurrency && !!prefix && otherCurrency && (
69
+ {isCurrency && !!prefix && otherCurrency && currrencySymbol && (
70
70
  <div className='input-icon-currency-prefix'>
71
- <img src={currencyOthers} alt='currency' />
71
+ <span>{currrencySymbol}</span>
72
72
  </div>
73
73
  )}
74
74
  <input
@@ -102,9 +102,10 @@ export const Input = React.forwardRef<HTMLInputElement, InputProps>(
102
102
  )}
103
103
  {isCurrency
104
104
  ? !!prefix &&
105
- euro && (
105
+ euro &&
106
+ currrencySymbol && (
106
107
  <div className='input-icon-currency-suffix'>
107
- <img src={currencyEuro} alt='currency' />
108
+ <span>{currrencySymbol}</span>
108
109
  </div>
109
110
  )
110
111
  : isPercent && (
@@ -6,7 +6,7 @@ import { Input } from './Input';
6
6
  import { TextInputLabel } from './TextInputLabel';
7
7
  import { TextInputMessage } from './TextInputMessage';
8
8
  import { TextInputTooltip } from './TextInputTooltip';
9
- const TextInput = React.forwardRef(({ label, value, validate = true, isValidGroup = true, format = undefined, name, placeholder, onChange, onClick, onBlur, onKeyDown, onKeyUp, prefix = '', disabled, type = 'text', maxLength, errorMessage = '', notes, dialogMenuTip, tooltip = '', givenClass = '', children, country }, ref) => {
9
+ const TextInput = React.forwardRef(({ label, value, validate = true, isValidGroup = true, format = undefined, name, placeholder, onChange, onClick, onBlur, onKeyDown, onKeyUp, prefix = '', disabled, type = 'text', maxLength, errorMessage = '', notes, dialogMenuTip, tooltip = '', givenClass = '', children, country, currrencySymbol }, ref) => {
10
10
  const classnames = classNames('e-text', {
11
11
  [givenClass]: givenClass,
12
12
  'e-text--is-invalid': !validate,
@@ -26,7 +26,7 @@ const TextInput = React.forwardRef(({ label, value, validate = true, isValidGrou
26
26
  if (Boolean(format) && type !== 'number' && type !== 'tel') {
27
27
  return (_jsx(NumericFormat, { name: name, id: name, placeholder: placeholder, className: 'e-text-input', onChange: onChange, onClick: onClick, value: value, "data-qa": name, disabled: disabled, maxLength: maxLength, onBlur: onBlur }));
28
28
  }
29
- return (_jsx(Input, { name: name ?? '', type: type, prefix: prefix, placeholder: placeholder ?? '', className: 'e-text-input', onChange: handleChange, onClick: onClick ?? (() => { }), value: value, "data-qa": name, disabled: disabled ?? false, maxLength: maxLength, onBlur: onBlur ?? (() => { }), ref: ref, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, country: country }));
29
+ return (_jsx(Input, { name: name ?? '', type: type, prefix: prefix, placeholder: placeholder ?? '', className: 'e-text-input', onChange: handleChange, onClick: onClick ?? (() => { }), value: value, "data-qa": name, disabled: disabled ?? false, maxLength: maxLength, onBlur: onBlur ?? (() => { }), ref: ref, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, country: country, currrencySymbol: currrencySymbol }));
30
30
  };
31
31
  return (_jsxs("div", { className: classnames, children: [Boolean(children) && _jsx("div", { className: 'e-text__children', children: children }), _jsx(TextInputTooltip, { tooltip: tooltip }), _jsx(TextInputMessage, { errorMessage: errorMessage, validate: validate }), renderInput(), _jsx(TextInputLabel, { label: label, htmlFor: name, notes: notes, dialogMenuTip: dialogMenuTip })] }));
32
32
  });
@@ -161,6 +161,10 @@
161
161
  width: 50%;
162
162
  }
163
163
 
164
+ .tooltip-form {
165
+ grid-row: 3;
166
+ }
167
+
164
168
  .has-currency-prefix {
165
169
  padding-left: 2rem;
166
170
  grid-column: 1;
@@ -33,7 +33,8 @@ const TextInput = React.forwardRef<HTMLInputElement, TextInputProps>(
33
33
  tooltip = '',
34
34
  givenClass = '',
35
35
  children,
36
- country
36
+ country,
37
+ currrencySymbol
37
38
  }: TextInputProps,
38
39
  ref
39
40
  ) => {
@@ -93,6 +94,7 @@ const TextInput = React.forwardRef<HTMLInputElement, TextInputProps>(
93
94
  onKeyDown={handleKeyDown}
94
95
  onKeyUp={handleKeyUp}
95
96
  country={country}
97
+ currrencySymbol={currrencySymbol}
96
98
  />
97
99
  )
98
100
  }
@@ -23,4 +23,5 @@ export interface TextInputProps {
23
23
  prefix?: string;
24
24
  children?: React.ReactNode;
25
25
  country: string;
26
+ currrencySymbol?: string;
26
27
  }
@@ -24,4 +24,5 @@ export interface TextInputProps {
24
24
  prefix?: string
25
25
  children?: React.ReactNode
26
26
  country: string
27
+ currrencySymbol?: string
27
28
  }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { VisibleVariablesProps } from './VisibleEnvVariablesProps.types';
3
+ declare const VisibleEnvVariables: React.FC<VisibleVariablesProps>;
4
+ export default VisibleEnvVariables;
@@ -0,0 +1,6 @@
1
+ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
+ import { VariablesList } from './VisibleEnvVariables.styled';
3
+ const VisibleEnvVariables = ({ variables }) => {
4
+ return (_jsx(VariablesList, { className: 'stage-variables', children: Object.entries(variables).map(([key, value]) => (_jsxs("li", { children: [_jsxs("strong", { className: 'stage-variable-name', children: [key, ": "] }), _jsx("span", { className: 'stage-variable-value', children: value })] }, key))) }));
5
+ };
6
+ export default VisibleEnvVariables;
@@ -0,0 +1 @@
1
+ export declare const VariablesList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
@@ -0,0 +1,13 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const VariablesList = styled.ul `
4
+ display: flex;
5
+ flex-direction: row;
6
+ justify-content: space-around;
7
+ align-items: center;
8
+ flex-wrap: wrap;
9
+ @media ${device['mobile']} {
10
+ flex-direction: column;
11
+ align-items: flex-start;
12
+ }
13
+ `;
@@ -0,0 +1,14 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const VariablesList = styled.ul`
5
+ display: flex;
6
+ flex-direction: row;
7
+ justify-content: space-around;
8
+ align-items: center;
9
+ flex-wrap: wrap;
10
+ @media ${device['mobile']} {
11
+ flex-direction: column;
12
+ align-items: flex-start;
13
+ }
14
+ `
@@ -0,0 +1,18 @@
1
+ import React from 'react'
2
+ import { VariablesList } from './VisibleEnvVariables.styled'
3
+ import { VisibleVariablesProps } from './VisibleEnvVariablesProps.types'
4
+
5
+ const VisibleEnvVariables: React.FC<VisibleVariablesProps> = ({ variables }) => {
6
+ return (
7
+ <VariablesList className='stage-variables'>
8
+ {Object.entries(variables).map(([key, value]) => (
9
+ <li key={key}>
10
+ <strong className='stage-variable-name'>{key}: </strong>
11
+ <span className='stage-variable-value'>{value}</span>
12
+ </li>
13
+ ))}
14
+ </VariablesList>
15
+ )
16
+ }
17
+
18
+ export default VisibleEnvVariables
@@ -0,0 +1,3 @@
1
+ export interface VisibleVariablesProps {
2
+ variables: Record<string, string>;
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface VisibleVariablesProps {
2
+ variables: Record<string, string>
3
+ }
@@ -0,0 +1,2 @@
1
+ export { default as VisibleEnvVariables } from './VisibleEnvVariables';
2
+ export { type VisibleVariablesProps } from './VisibleEnvVariablesProps.types';
@@ -0,0 +1 @@
1
+ export { default as VisibleEnvVariables } from './VisibleEnvVariables';
@@ -0,0 +1,2 @@
1
+ export { default as VisibleEnvVariables } from './VisibleEnvVariables'
2
+ export { type VisibleVariablesProps } from './VisibleEnvVariablesProps.types'
@@ -35,3 +35,4 @@ export * from './HowWeHelp';
35
35
  export * from './MobileMenu';
36
36
  export * from './MobilePanel';
37
37
  export * from './DesktopMenu';
38
+ export * from './VisibleEnvVariables';
@@ -35,3 +35,4 @@ export * from './HowWeHelp';
35
35
  export * from './MobileMenu';
36
36
  export * from './MobilePanel';
37
37
  export * from './DesktopMenu';
38
+ export * from './VisibleEnvVariables';
@@ -35,3 +35,4 @@ export * from './HowWeHelp'
35
35
  export * from './MobileMenu'
36
36
  export * from './MobilePanel'
37
37
  export * from './DesktopMenu'
38
+ export * from './VisibleEnvVariables'