@xaypay/tui 0.0.119 → 0.0.121

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 (180) hide show
  1. package/dist/index.es.js +3983 -4344
  2. package/dist/index.js +3982 -4345
  3. package/package.json +1 -1
  4. package/tui.config.js +1 -1
  5. package/.eslintrc.js +0 -30
  6. package/.husky/pre-commit +0 -4
  7. package/.prettierrc +0 -10
  8. package/.storybook/main.js +0 -48
  9. package/.storybook/preview.js +0 -9
  10. package/rollup.config.js +0 -37
  11. package/src/assets/attach.svg +0 -4
  12. package/src/assets/delete.svg +0 -4
  13. package/src/assets/down-arrow.svg +0 -4
  14. package/src/assets/figma-image.png +0 -0
  15. package/src/assets/heart-filled.svg +0 -17
  16. package/src/assets/heart-outline.svg +0 -14
  17. package/src/assets/like-filled.svg +0 -21
  18. package/src/assets/like-outline.svg +0 -21
  19. package/src/assets/minus.svg +0 -4
  20. package/src/assets/pdf.svg +0 -3
  21. package/src/assets/plus.svg +0 -4
  22. package/src/assets/range-arrow-default.svg +0 -19
  23. package/src/assets/range-arrow-error.svg +0 -19
  24. package/src/assets/range-arrow-success.svg +0 -19
  25. package/src/assets/star-filled.svg +0 -21
  26. package/src/assets/star-outline.svg +0 -5
  27. package/src/assets/table-settings-icon.svg +0 -3
  28. package/src/assets/up-arrow.svg +0 -4
  29. package/src/assets_old/icons/Read Me.txt +0 -7
  30. package/src/assets_old/icons/demo-files/demo.css +0 -152
  31. package/src/assets_old/icons/demo-files/demo.js +0 -28
  32. package/src/assets_old/icons/demo.html +0 -192
  33. package/src/assets_old/icons/fonts/icomoon.eot +0 -0
  34. package/src/assets_old/icons/fonts/icomoon.svg +0 -21
  35. package/src/assets_old/icons/fonts/icomoon.ttf +0 -0
  36. package/src/assets_old/icons/fonts/icomoon.woff +0 -0
  37. package/src/assets_old/icons/selection.json +0 -1
  38. package/src/assets_old/icons/style.css +0 -58
  39. package/src/components/autocomplate/autocomplate.module.css +0 -95
  40. package/src/components/autocomplate/autocomplate.stories.js +0 -35
  41. package/src/components/autocomplate/index.js +0 -164
  42. package/src/components/button/button.stories.js +0 -13
  43. package/src/components/button/index.js +0 -187
  44. package/src/components/captcha/captcha.module.css +0 -74
  45. package/src/components/captcha/captcha.stories.js +0 -21
  46. package/src/components/captcha/index.js +0 -158
  47. package/src/components/checkbox/checkbox.module.css +0 -0
  48. package/src/components/checkbox/checkbox.stories.js +0 -76
  49. package/src/components/checkbox/index.js +0 -120
  50. package/src/components/file/file.module.css +0 -114
  51. package/src/components/file/file.stories.js +0 -20
  52. package/src/components/file/index.js +0 -138
  53. package/src/components/icon/Active.js +0 -20
  54. package/src/components/icon/Arrow.js +0 -19
  55. package/src/components/icon/Cancel.js +0 -19
  56. package/src/components/icon/CaptchaArrowDown.js +0 -19
  57. package/src/components/icon/CaptchaArrowUp.js +0 -19
  58. package/src/components/icon/CheckboxChecked.js +0 -21
  59. package/src/components/icon/CheckboxUnchecked.js +0 -21
  60. package/src/components/icon/Close.js +0 -19
  61. package/src/components/icon/CloseIcon.js +0 -19
  62. package/src/components/icon/CloseSlide.js +0 -19
  63. package/src/components/icon/DeActive.js +0 -20
  64. package/src/components/icon/DeleteComponent.js +0 -20
  65. package/src/components/icon/Done.js +0 -19
  66. package/src/components/icon/Dots.js +0 -19
  67. package/src/components/icon/DownArrow.js +0 -20
  68. package/src/components/icon/HeartFilled.js +0 -25
  69. package/src/components/icon/HeartOutline.js +0 -25
  70. package/src/components/icon/Heic.js +0 -21
  71. package/src/components/icon/Icon.js +0 -11
  72. package/src/components/icon/ListItemDelete.js +0 -19
  73. package/src/components/icon/ListItemJpeg.js +0 -21
  74. package/src/components/icon/ListItemJpg.js +0 -21
  75. package/src/components/icon/ListItemPdf.js +0 -21
  76. package/src/components/icon/ListItemPng.js +0 -21
  77. package/src/components/icon/Next.js +0 -20
  78. package/src/components/icon/Nextarrow.js +0 -19
  79. package/src/components/icon/PDF.js +0 -19
  80. package/src/components/icon/Prev.js +0 -20
  81. package/src/components/icon/RangeArrowDefault.js +0 -43
  82. package/src/components/icon/RangeArrowError.js +0 -43
  83. package/src/components/icon/RangeArrowSuccess.js +0 -43
  84. package/src/components/icon/Reject.js +0 -19
  85. package/src/components/icon/RemoveFile.js +0 -20
  86. package/src/components/icon/Required.js +0 -19
  87. package/src/components/icon/ToasterClose.js +0 -19
  88. package/src/components/icon/ToasterError.js +0 -19
  89. package/src/components/icon/ToasterInfo.js +0 -19
  90. package/src/components/icon/ToasterSuccess.js +0 -19
  91. package/src/components/icon/ToasterWarning.js +0 -19
  92. package/src/components/icon/Tooltip.js +0 -19
  93. package/src/components/icon/UpArrow.js +0 -20
  94. package/src/components/icon/Upload.js +0 -25
  95. package/src/components/icon/Wrong.js +0 -21
  96. package/src/components/icon/Zoom.js +0 -21
  97. package/src/components/icon/index.js +0 -0
  98. package/src/components/input/index.js +0 -688
  99. package/src/components/input/input.module.css +0 -51
  100. package/src/components/input/input.stories.js +0 -26
  101. package/src/components/modal/index.js +0 -436
  102. package/src/components/modal/modal.module.css +0 -22
  103. package/src/components/modal/modal.stories.js +0 -88
  104. package/src/components/newAutocomplete/NewAutocomplete.stories.js +0 -102
  105. package/src/components/newAutocomplete/autocomplete.module.css +0 -4
  106. package/src/components/newAutocomplete/index.js +0 -592
  107. package/src/components/newFile/fileItem.js +0 -281
  108. package/src/components/newFile/index.js +0 -731
  109. package/src/components/newFile/newFile.stories.js +0 -93
  110. package/src/components/pagination/index.js +0 -234
  111. package/src/components/pagination/pagination.module.css +0 -93
  112. package/src/components/pagination/pagination.stories.js +0 -371
  113. package/src/components/pagination/paginationRange.js +0 -45
  114. package/src/components/radio/index.js +0 -236
  115. package/src/components/radio/radio.module.css +0 -59
  116. package/src/components/radio/radio.stories.js +0 -59
  117. package/src/components/select/index.js +0 -534
  118. package/src/components/select/select.module.css +0 -93
  119. package/src/components/select/select.stories.js +0 -39
  120. package/src/components/singleCheckbox/Checkbox.js +0 -84
  121. package/src/components/singleCheckbox/index.js +0 -65
  122. package/src/components/singleCheckbox/singleCheckbox.stories.js +0 -24
  123. package/src/components/stepper/index.js +0 -45
  124. package/src/components/stepper/stepper.module.css +0 -57
  125. package/src/components/stepper/stepper.stories.js +0 -17
  126. package/src/components/table/index.js +0 -789
  127. package/src/components/table/table.module.css +0 -63
  128. package/src/components/table/table.stories.js +0 -497
  129. package/src/components/table/td.js +0 -429
  130. package/src/components/table/th.js +0 -103
  131. package/src/components/textarea/index.js +0 -285
  132. package/src/components/textarea/textarea.module.css +0 -25
  133. package/src/components/textarea/textarea.stories.js +0 -56
  134. package/src/components/toaster/Toast.js +0 -203
  135. package/src/components/toaster/index.js +0 -131
  136. package/src/components/toaster/toaster.module.css +0 -201
  137. package/src/components/toaster/toaster.stories.js +0 -593
  138. package/src/components/tooltip/index.js +0 -156
  139. package/src/components/tooltip/tooltip.module.css +0 -46
  140. package/src/components/tooltip/tooltip.stories.js +0 -30
  141. package/src/components/typography/index.js +0 -124
  142. package/src/components/typography/typography.module.css +0 -57
  143. package/src/components/typography/typography.stories.js +0 -22
  144. package/src/index.js +0 -19
  145. package/src/stories/Introduction.stories.mdx +0 -210
  146. package/src/stories/assets/code-brackets.svg +0 -1
  147. package/src/stories/assets/colors.svg +0 -1
  148. package/src/stories/assets/comments.svg +0 -1
  149. package/src/stories/assets/direction.svg +0 -1
  150. package/src/stories/assets/flow.svg +0 -1
  151. package/src/stories/assets/plugin.svg +0 -1
  152. package/src/stories/assets/repo.svg +0 -1
  153. package/src/stories/assets/stackalt.svg +0 -1
  154. package/src/stories/changelog.stories.mdx +0 -172
  155. package/src/stories/configuration.stories.mdx +0 -715
  156. package/src/stories/documentation.stories.mdx +0 -118
  157. package/src/stories/static/autocomplete-usage.png +0 -0
  158. package/src/stories/static/button-usage-icon.png +0 -0
  159. package/src/stories/static/button-usage.png +0 -0
  160. package/src/stories/static/captcha-usage.png +0 -0
  161. package/src/stories/static/checkbox-group-usage-2.png +0 -0
  162. package/src/stories/static/checkbox-group-usage.png +0 -0
  163. package/src/stories/static/file-single-usage.png +0 -0
  164. package/src/stories/static/file-usage.png +0 -0
  165. package/src/stories/static/input-usage.png +0 -0
  166. package/src/stories/static/modal-usage.png +0 -0
  167. package/src/stories/static/radio-usage.png +0 -0
  168. package/src/stories/static/select-usage.png +0 -0
  169. package/src/stories/static/table-body-data-structure-first-part-usage.png +0 -0
  170. package/src/stories/static/table-body-data-structure-second-part-usage.png +0 -0
  171. package/src/stories/static/table-body-data-structure-third-part-usage.png +0 -0
  172. package/src/stories/static/table-component-usage.png +0 -0
  173. package/src/stories/static/table-header-data-structure-usage.png +0 -0
  174. package/src/stories/static/table-new-data-structure-usage.png +0 -0
  175. package/src/stories/static/textarea-usage.png +0 -0
  176. package/src/stories/static/toaster-container-usage.png +0 -0
  177. package/src/stories/static/toaster-usage.png +0 -0
  178. package/src/stories/static/tooltip-usage.png +0 -0
  179. package/src/stories/usage.stories.mdx +0 -201
  180. package/src/utils/index.js +0 -29
@@ -1,114 +0,0 @@
1
- .file-form-wrap {
2
- position: relative;
3
- }
4
- .file-form {
5
- position: relative;
6
- display: flex;
7
- flex-direction: column;
8
- justify-content: space-between;
9
- align-items: center;
10
- background: #FBFBFB;
11
- border: 2px dashed;
12
- border-radius: 6px;
13
- width: 100%;
14
- height: 190px;
15
- padding: 4px 0;
16
- cursor: pointer;
17
- overflow: hidden;
18
- }
19
- .file-form-wrap:before {
20
- content: '';
21
- position: absolute;
22
- top: 0;
23
- left: 0;
24
- width: 100%;
25
- height: 100%;
26
- background: rgba(60, 57, 62, 0.4);
27
- z-index: 1;
28
- opacity: 0;
29
- transition: opacity 240ms;
30
- border-radius: 6px;
31
- pointer-events: none;
32
- }
33
- .file-form-wrap.active:hover:before {
34
- opacity: 1;
35
- pointer-events: unset;
36
- }
37
- .file-form-wrap.active:hover .delete-upload-icon {
38
- opacity: 1;
39
- }
40
- .file-form-inner-upload {
41
- display: flex;
42
- flex-direction: column;
43
- justify-content: space-between;
44
- align-items: center;
45
- padding-top: 48px;
46
- padding-bottom: 16px;
47
- }
48
- .file-form-inner-upload > img {
49
- margin-bottom: 14px;
50
- display: block;
51
- }
52
- .upload-info {
53
- margin-bottom: 40px;
54
- max-width: 150px;
55
- text-align: center;
56
- }
57
- .upload-info-txt {
58
- color: #0DA574;
59
- }
60
- .file-form.default {
61
- border-color: #D1D1D1;
62
- }
63
- .file-form.error {
64
- border-color: #EE0000 !important;
65
- }
66
- .file-form.accept {
67
- border-color: #00236A;
68
- }
69
- .delete-upload-icon {
70
- position: absolute;
71
- display: flex;
72
- align-items: center;
73
- justify-content: center;
74
- width: 26px;
75
- height: 26px;
76
- right: 10px;
77
- top: 10px;
78
- background: #ffffff;
79
- border-radius: 6px;
80
- z-index: 11;
81
- cursor: pointer;
82
- opacity: 0;
83
- transition: opacity 240ms;
84
- }
85
- .delete-upload-icon > i {
86
- color: #00236A;
87
- font-size: 16px;
88
- }
89
- .upload-file-content {
90
- position: relative;
91
- width: 100%;
92
- height: 100%;
93
- max-height: 190px;
94
- display: flex;
95
- align-items: center;
96
- justify-content: center;
97
- overflow: hidden;
98
- }
99
- .upload-file-content > img {
100
- display: block;
101
- width: 27.8rem;
102
- height: auto;
103
- max-height: 95%;
104
- object-fit: contain;
105
- }
106
- .file-form-title {
107
- margin-bottom: 10px;
108
- max-width: 390px;
109
- word-break: break-all;
110
- }
111
- .file-form-wrap {
112
- position: relative;
113
- transform: translate3d(0,0,0);
114
- }
@@ -1,20 +0,0 @@
1
- import React from 'react'
2
- import { File } from './index'
3
-
4
- export default {
5
- component: File,
6
- title: 'Components/File',
7
- }
8
-
9
- const Template = (args) => <File {...args} />
10
-
11
- export const Default = Template.bind({})
12
- Default.args = {
13
- label: 'ssa',
14
- onChange: (_) => _,
15
- defaultData: {
16
- url: 'https://images.pexels.com/photos/753626/pexels-photo-753626.jpeg?auto=compress&cs=tinysrgb&w=1600',
17
- type: 'image/png',
18
- },
19
- name: 'sss',
20
- }
@@ -1,138 +0,0 @@
1
- import React, { useState } from 'react'
2
- import PropTypes from 'prop-types'
3
- import classnames from 'classnames'
4
-
5
- import PDF from './../icon/PDF'
6
- import SvgRequired from './../icon/Required'
7
-
8
- import styles from './file.module.css'
9
-
10
- export const File = ({
11
- name,
12
- label,
13
- maxSize,
14
- required,
15
- disabled,
16
- onChange,
17
- defaultData,
18
- errorMessage,
19
- fileExtensions,
20
- }) => {
21
- const [error, setError] = useState('')
22
- const [fileName, setFileName] = useState('no selected file')
23
- const [image, setImage] = useState(
24
- defaultData ? (defaultData.type != 'application/pdf' ? defaultData.url : 'pdf') : null
25
- )
26
-
27
- const handleCheckFile = (e) => {
28
- const file = e.target.files
29
-
30
- if (file[0]) {
31
- if (file[0].size <= maxSize * Math.pow(2, 20)) {
32
- if (fileExtensions.includes(file[0].type.split('/')[1])) {
33
- if (file[0].type === 'application/pdf') {
34
- setError('')
35
- onChange({ file })
36
- setImage('pdf')
37
- } else {
38
- setError('')
39
- onChange({ file })
40
- setFileName(file[0].name)
41
- setImage(URL.createObjectURL(file[0]))
42
- }
43
- } else {
44
- setImage(null)
45
- setError('ֆայլի սխալ ֆորմատ')
46
- setFileName('no selected file')
47
- }
48
- } else {
49
- setImage(null)
50
- setError('առավելագույն ծավալ')
51
- setFileName('no selected file')
52
- }
53
- } else {
54
- setImage(null)
55
- setError('Ֆայլը ընտրված չէ')
56
- setFileName('no selected file')
57
- }
58
- }
59
-
60
- const handleRemoveFile = () => {
61
- setImage(null)
62
- onChange({ target: null })
63
- setFileName('no selected file')
64
- document.querySelector(`.${name}`).value = ''
65
- }
66
-
67
- return (
68
- <>
69
- <p className={`${styles['file-form-title']} ile-form-title-rem`}>
70
- {label}
71
- {required && (
72
- <sup>
73
- <SvgRequired />
74
- </sup>
75
- )}
76
- </p>
77
- <div
78
- className={classnames(`${styles['file-form-wrap']} file-form-wrap-rem`, image ? styles['active'] : '')}
79
- >
80
- <div
81
- className={`${styles['file-form']} file-form-rem ${error || errorMessage ? styles['error'] : ''}`}
82
- onClick={() => document.querySelector(`.${name}`).click()}
83
- >
84
- <input
85
- hidden
86
- type="file"
87
- className={name}
88
- disabled={disabled}
89
- onChange={(e) => handleCheckFile(e)}
90
- />
91
- {image ? (
92
- <div className={`${styles['upload-file-content']} upload-file-content-rem`}>
93
- {image === 'pdf' ? <PDF /> : <img src={image} alt={fileName} />}
94
- </div>
95
- ) : (
96
- <div className={`${styles['file-form-inner-upload']} ile-form-inner-upload-rem`}>
97
- <img src="../../assets/upload.svg" alt="" />
98
- <span className={`${styles['upload-info']} upload-info-rem`}>
99
- <span className={`${styles['upload-info-txt']} upload-info-txt-rem`}>Բեռնել</span>
100
- </span>
101
- <span className={`${styles['upload-info-size']} upload-info-size-rem`}>
102
- Առավելագույնը {maxSize}ՄԲ ( {fileExtensions.toString().split(',').join(', ')} )
103
- </span>
104
- </div>
105
- )}
106
- </div>
107
- {!disabled && (
108
- <div
109
- className={`${styles['delete-upload-icon']} delete-upload-icon-rem`}
110
- onClick={handleRemoveFile}
111
- >
112
- <i className="icon-delete" />
113
- </div>
114
- )}
115
-
116
- {error || errorMessage ? <span style={{ color: 'red' }}>{error || errorMessage}</span> : null}
117
- </div>
118
- </>
119
- )
120
- }
121
-
122
- File.propTypes = {
123
- label: PropTypes.string,
124
- required: PropTypes.bool,
125
- disabled: PropTypes.bool,
126
- onChange: PropTypes.func,
127
- maxSize: PropTypes.number,
128
- className: PropTypes.string,
129
- errorMessage: PropTypes.string,
130
- defaultData: PropTypes.object,
131
- fileExtensions: PropTypes.arrayOf(PropTypes.string),
132
- }
133
-
134
- File.defaultProps = {
135
- maxSize: 5,
136
- required: false,
137
- fileExtensions: ['jpg', 'jpeg', 'png', 'pdf'],
138
- }
@@ -1,20 +0,0 @@
1
- import * as React from 'react'
2
- const SvgActive = ({ title, titleId, ...props }) => (
3
- <svg
4
- width="32"
5
- height="32"
6
- viewBox="0 0 32 32"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <rect width={32} height={32} rx={6} fill="#00236A" />
14
- <path
15
- d="M8.5 14a2.5 2.5 0 1 1 0 5.001A2.5 2.5 0 0 1 8.5 14Zm7.5 0a2.5 2.5 0 1 1 0 5.001A2.5 2.5 0 0 1 16 14Zm7.5 0a2.5 2.5 0 1 1 0 5.001 2.5 2.5 0 0 1 0-5.001Z"
16
- fill="#fff"
17
- />
18
- </svg>
19
- )
20
- export default SvgActive
@@ -1,19 +0,0 @@
1
- import * as React from 'react'
2
- const SvgArrow = ({ title, titleId, fillColor, ...props }) => (
3
- <svg
4
- width="15"
5
- height="9"
6
- viewBox="0 0 15 9"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <path
14
- d="M7.988 8a.997.997 0 0 1-.64-.23l-5.989-5a1.002 1.002 0 0 1 .548-1.767.998.998 0 0 1 .73.227l5.35 4.48 5.351-4.32a.997.997 0 0 1 1.408.15 1 1 0 0 1-.14 1.46l-5.99 4.83a.997.997 0 0 1-.628.17Z"
15
- fill={fillColor ? fillColor : '#3C393E'}
16
- />
17
- </svg>
18
- )
19
- export default SvgArrow
@@ -1,19 +0,0 @@
1
- import * as React from 'react'
2
- const SvgCancel = ({ title, titleId, ...props }) => (
3
- <svg
4
- width="16"
5
- height="16"
6
- viewBox="0 0 16 16"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <path
14
- d="M8 0C3.589 0 0 3.589 0 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8Zm2.896 10.027a.615.615 0 1 1-.87.87L8 8.87l-2.027 2.027a.615.615 0 0 1-.87-.87L7.13 8 5.103 5.973a.615.615 0 0 1 .87-.87L8 7.13l2.027-2.027a.616.616 0 0 1 .87.87L8.87 8l2.027 2.027Z"
15
- fill="#E00"
16
- />
17
- </svg>
18
- )
19
- export default SvgCancel
@@ -1,19 +0,0 @@
1
- import * as React from 'react'
2
- const SvgCaptchaArrowDown = ({ title, titleId, fillColor, ...props }) => (
3
- <svg
4
- width="12"
5
- height="15"
6
- viewBox="0 0 12 15"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <path
14
- d="M6 0.00146537C5.77271 0.00146539 5.55473 0.0936418 5.39402 0.257718C5.2333 0.421795 5.14301 0.64433 5.14301 0.876368L5.14301 11.013L1.46482 7.25615C1.38514 7.17481 1.29055 7.11028 1.18644 7.06626C1.08233 7.02224 0.970753 6.99958 0.85807 6.99958C0.745386 6.99958 0.633807 7.02224 0.529701 7.06626C0.425595 7.11028 0.331002 7.17481 0.251322 7.25616C0.171643 7.3375 0.108438 7.43407 0.0653156 7.54035C0.0221934 7.64663 -5.45598e-07 7.76055 -5.35541e-07 7.87559C-5.25484e-07 7.99063 0.0221934 8.10454 0.0653157 8.21082C0.108438 8.3171 0.171643 8.41367 0.251322 8.49502L5.39325 13.7444C5.47286 13.8259 5.56743 13.8905 5.67155 13.9347C5.77566 13.9788 5.88728 14.0015 6 14.0015C6.11272 14.0015 6.22434 13.9788 6.32846 13.9347C6.43257 13.8905 6.52714 13.8259 6.60675 13.7444L11.7487 8.49502C11.9096 8.33073 12 8.10792 12 7.87559C12 7.64325 11.9096 7.42044 11.7487 7.25615C11.5878 7.09187 11.3695 6.99958 11.1419 6.99958C10.9144 6.99958 10.6961 7.09187 10.5352 7.25615L6.85699 11.013L6.85699 0.876368C6.85699 0.64433 6.7667 0.421794 6.60598 0.257718C6.44526 0.0936418 6.22729 0.00146535 6 0.00146537Z"
15
- fill={fillColor ? fillColor : '#00236A'}
16
- />
17
- </svg>
18
- )
19
- export default SvgCaptchaArrowDown
@@ -1,19 +0,0 @@
1
- import * as React from 'react'
2
- const SvgCaptchaArrowUp = ({ title, titleId, fillColor, ...props }) => (
3
- <svg
4
- width="12"
5
- height="15"
6
- viewBox="0 0 12 15"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <path
14
- d="M6 14.9988C6.22729 14.9988 6.44527 14.9066 6.60598 14.7425C6.7667 14.5785 6.85699 14.3559 6.85699 14.1239L6.85699 3.98726L10.5352 7.74409C10.6149 7.82543 10.7095 7.88996 10.8136 7.93398C10.9177 7.97801 11.0292 8.00067 11.1419 8.00067C11.2546 8.00067 11.3662 7.97801 11.4703 7.93398C11.5744 7.88996 11.669 7.82543 11.7487 7.74409C11.8284 7.66274 11.8916 7.56617 11.9347 7.45989C11.9778 7.35361 12 7.2397 12 7.12466C12 7.00962 11.9778 6.89571 11.9347 6.78943C11.8916 6.68314 11.8284 6.58657 11.7487 6.50523L6.60675 1.25581C6.52714 1.17434 6.43257 1.1097 6.32845 1.06559C6.22434 1.02148 6.11272 0.998779 6 0.998779C5.88728 0.998779 5.77566 1.02148 5.67154 1.06559C5.56743 1.1097 5.47286 1.17434 5.39325 1.25581L0.251323 6.50523C0.0904038 6.66951 0 6.89233 0 7.12466C0 7.35699 0.0904038 7.57981 0.251323 7.74409C0.412243 7.90837 0.630497 8.00067 0.858071 8.00067C1.08565 8.00067 1.3039 7.90837 1.46482 7.74409L5.14301 3.98726L5.14301 14.1239C5.14301 14.3559 5.2333 14.5785 5.39402 14.7425C5.55473 14.9066 5.77271 14.9988 6 14.9988Z"
15
- fill={fillColor ? fillColor : '#00236A'}
16
- />
17
- </svg>
18
- )
19
- export default SvgCaptchaArrowUp
@@ -1,21 +0,0 @@
1
- import * as React from 'react'
2
- const SvgCheckboxChecked = ({ title, titleId, fillColor, ...props }) => (
3
- <svg
4
- width="16"
5
- height="16"
6
- viewBox="0 0 16 16"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <path
14
- fillRule="evenodd"
15
- clipRule="evenodd"
16
- d="M12.8 0H3.2A3.2 3.2 0 0 0 0 3.2v9.6A3.2 3.2 0 0 0 3.2 16h9.6a3.2 3.2 0 0 0 3.2-3.2V3.2A3.2 3.2 0 0 0 12.8 0ZM6.85 10.966c.068.023.14.034.218.034.078 0 .151-.011.219-.034a.515.515 0 0 0 .19-.114l5.363-4.94A.496.496 0 0 0 13 5.53a.496.496 0 0 0-.16-.382.589.589 0 0 0-.415-.148.59.59 0 0 0-.416.148l-4.94 4.55-2.085-1.92a.579.579 0 0 0-.408-.147.579.579 0 0 0-.408.148A.52.52 0 0 0 4 8.16a.476.476 0 0 0 .154.383l2.506 2.308a.515.515 0 0 0 .19.114Z"
17
- fill={fillColor ? fillColor : '#00236A'}
18
- />
19
- </svg>
20
- )
21
- export default SvgCheckboxChecked
@@ -1,21 +0,0 @@
1
- import * as React from 'react'
2
- const SvgCheckboxUnchecked = ({ title, titleId, fillColor, ...props }) => (
3
- <svg
4
- width="16"
5
- height="16"
6
- viewBox="0 0 16 16"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <path
14
- fillRule="evenodd"
15
- clipRule="evenodd"
16
- d="M3.2 0h9.6A3.2 3.2 0 0 1 16 3.2v9.6a3.2 3.2 0 0 1-3.2 3.2H3.2A3.2 3.2 0 0 1 0 12.8V3.2A3.2 3.2 0 0 1 3.2 0Zm0 1.6a1.6 1.6 0 0 0-1.6 1.6v9.6a1.6 1.6 0 0 0 1.6 1.6h9.6a1.6 1.6 0 0 0 1.6-1.6V3.2a1.6 1.6 0 0 0-1.6-1.6H3.2Z"
17
- fill={fillColor ? fillColor : '#D1D1D1'}
18
- />
19
- </svg>
20
- )
21
- export default SvgCheckboxUnchecked
@@ -1,19 +0,0 @@
1
- import * as React from 'react'
2
- const SvgClose = ({ title, titleId, fillColor, ...props }) => (
3
- <svg
4
- width="18"
5
- height="18"
6
- viewBox="0 0 18 18"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <path
14
- d="m10.47 8.95 7.29-7.29A1 1 0 0 0 16.35.25L9.06 7.54 1.77.24A1 1 0 0 0 .36 1.65l7.29 7.3-7.3 7.29a.999.999 0 1 0 1.41 1.41l7.3-7.29 7.29 7.29a1 1 0 0 0 1.41-1.41l-7.29-7.29Z"
15
- fill={fillColor ? fillColor : '#3C393E'}
16
- />
17
- </svg>
18
- )
19
- export default SvgClose
@@ -1,19 +0,0 @@
1
- import * as React from 'react'
2
- const SvgCloseIcon = ({ title, titleId, fillColor, ...props }) => (
3
- <svg
4
- width="14"
5
- height="14"
6
- viewBox="0 0 14 14"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <path
14
- d="m12.425.241.006-.005a.95.95 0 0 1 1.34 1.34l-.005.006-5.38 5.38 5.38 5.38.005.007a.95.95 0 0 1-1.34 1.34l-.006-.005-5.38-5.38-5.378 5.37a.951.951 0 1 1-1.34-1.341l5.377-5.37-5.38-5.388-.005-.006a.95.95 0 0 1 1.34-1.34l.006.005 5.38 5.387 5.38-5.38Z"
15
- fill={fillColor ? fillColor : '#3C393E'}
16
- />
17
- </svg>
18
- )
19
- export default SvgCloseIcon
@@ -1,19 +0,0 @@
1
- import * as React from 'react'
2
- const SvgCloseSlide = ({ title, titleId, ...props }) => (
3
- <svg
4
- width="18"
5
- height="18"
6
- viewBox="0 0 18 18"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <path
14
- d="m10.47 8.95 7.29-7.29A1 1 0 0 0 16.35.25L9.06 7.54 1.77.24A1 1 0 0 0 .36 1.65l7.29 7.3-7.3 7.29a.999.999 0 1 0 1.41 1.41l7.3-7.29 7.29 7.29a1 1 0 0 0 1.41-1.41l-7.29-7.29Z"
15
- fill="#fff"
16
- />
17
- </svg>
18
- )
19
- export default SvgCloseSlide
@@ -1,20 +0,0 @@
1
- import * as React from 'react'
2
- const SvgDeActive = ({ title, titleId, ...props }) => (
3
- <svg
4
- width="32"
5
- height="32"
6
- viewBox="0 0 32 32"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <rect x={0.5} y={0.5} width={31} height={31} rx={5.5} fill="#FBFBFB" stroke="#EEE" />
14
- <path
15
- d="M8.5 14a2.5 2.5 0 1 1 0 5.001A2.5 2.5 0 0 1 8.5 14Zm7.5 0a2.5 2.5 0 1 1 0 5.001A2.5 2.5 0 0 1 16 14Zm7.5 0a2.5 2.5 0 1 1 0 5.001 2.5 2.5 0 0 1 0-5.001Z"
16
- fill="#D1D1D1"
17
- />
18
- </svg>
19
- )
20
- export default SvgDeActive
@@ -1,20 +0,0 @@
1
- import * as React from 'react'
2
- const SvgDeleteComponent = ({ title, titleId, fillColor, ...props }) => (
3
- <svg
4
- width="26"
5
- height="26"
6
- viewBox="0 0 26 26"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <rect x={0.5} y={0.5} width={25} height={25} rx={5.5} stroke="#D1D1D1" />
14
- <path
15
- d="M13 4c.822 0 1.611.296 2.206.826s.95 1.255.99 2.024l.005.15h4c.204 0 .4.073.548.205.148.13.238.31.25.501a.72.72 0 0 1-.185.525.817.817 0 0 1-.52.264l-.093.005h-.68l-.943 10.915a2.75 2.75 0 0 1-.957 1.84 3.114 3.114 0 0 1-2.034.745h-5.173c-.754 0-1.48-.266-2.034-.745a2.75 2.75 0 0 1-.957-1.84L6.478 8.5H5.8a.831.831 0 0 1-.531-.19.736.736 0 0 1-.263-.472L5 7.75c0-.184.072-.361.202-.498a.818.818 0 0 1 .504-.247L5.8 7h4c0-.796.337-1.559.938-2.121A3.312 3.312 0 0 1 13 4Zm-1.8 6.938a.623.623 0 0 0-.394.138.553.553 0 0 0-.2.348l-.006.076v6l.006.076c.02.135.09.258.2.348.11.09.25.138.394.138.145 0 .285-.049.395-.138.109-.09.18-.213.2-.348l.005-.076v-6l-.005-.076a.553.553 0 0 0-.2-.348.624.624 0 0 0-.395-.139Zm3.6 0a.623.623 0 0 0-.394.138.553.553 0 0 0-.2.348l-.005.076v6l.005.076c.02.135.091.258.2.348.11.09.25.138.394.138.145 0 .286-.049.395-.138.11-.09.18-.213.2-.348l.006-.076v-6l-.006-.076a.553.553 0 0 0-.2-.348.624.624 0 0 0-.395-.139ZM13 5.5a1.66 1.66 0 0 0-1.088.4c-.296.257-.477.61-.508.987L11.4 7h3.2l-.003-.112a1.465 1.465 0 0 0-.508-.988A1.66 1.66 0 0 0 13 5.5Z"
16
- fill={fillColor ? fillColor : '#E00'}
17
- />
18
- </svg>
19
- )
20
- export default SvgDeleteComponent
@@ -1,19 +0,0 @@
1
- import * as React from 'react'
2
- const SvgDone = ({ title, titleId, ...props }) => (
3
- <svg
4
- width="16"
5
- height="14"
6
- viewBox="0 0 16 14"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <path
14
- d="M15.072 8.307c0-.017-.004-.033-.004-.05 0-.02.004-.04.004-.06v.11Zm-.402-3.692h-4.235a.922.922 0 0 1-.656-.274.944.944 0 0 1-.272-.664v-1.8c0-.509-.204-.995-.565-1.349a1.843 1.843 0 0 0-1.35-.527.913.913 0 0 0-.62.293.934.934 0 0 0-.247.645v1.876c0 1.331-1.855 2.27-1.855 3.208v6.002a.93.93 0 0 0 .493.829l.575.31A6.89 6.89 0 0 0 9.226 14h3.59c.352 0 .69-.142.94-.394.249-.252.389-.595.389-.952v-.124a1.343 1.343 0 0 0-.155-.619c.384-.245.618-.673.619-1.134v-.358c0-.364-.146-.712-.405-.965.403-.126.714-.453.822-.865a1.25 1.25 0 0 0-.287-1.165c.34-.017.66-.166.895-.415.234-.249.365-.58.366-.924v-.124c0-.357-.14-.7-.39-.952a1.322 1.322 0 0 0-.94-.394ZM3.71 5.32v7.508c0 .13-.104.234-.232.235H.232A.233.233 0 0 1 0 12.827V5.319c0-.062.024-.122.068-.166a.23.23 0 0 1 .164-.068h3.246a.23.23 0 0 1 .164.068.236.236 0 0 1 .068.166ZM2.55 10.95a.708.708 0 0 0-.203-.498.691.691 0 0 0-.984 0 .708.708 0 0 0 0 .996.692.692 0 0 0 .984 0 .708.708 0 0 0 .204-.498Z"
15
- fill="#0DA574"
16
- />
17
- </svg>
18
- )
19
- export default SvgDone
@@ -1,19 +0,0 @@
1
- import * as React from 'react'
2
- const SvgDots = ({ title, titleId, fillColor, ...props }) => (
3
- <svg
4
- width="11"
5
- height="3"
6
- viewBox="0 0 11 3"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <path
14
- d="M.23 1.136C.23.742.326.464.518.304c.192-.16.421-.24.688-.24.277 0 .512.08.704.24.203.16.304.438.304.832 0 .384-.101.662-.304.832-.192.17-.427.256-.704.256a1 1 0 0 1-.688-.256C.326 1.798.23 1.52.23 1.136Zm4.281 0c0-.394.096-.672.288-.832.192-.16.422-.24.688-.24.278 0 .512.08.704.24.203.16.304.438.304.832 0 .384-.101.662-.304.832-.192.17-.426.256-.704.256a1 1 0 0 1-.688-.256c-.192-.17-.288-.448-.288-.832Zm4.282 0c0-.394.096-.672.288-.832.192-.16.421-.24.688-.24.277 0 .512.08.704.24.202.16.304.438.304.832 0 .384-.102.662-.304.832-.192.17-.427.256-.704.256a1 1 0 0 1-.688-.256c-.192-.17-.288-.448-.288-.832Z"
15
- fill={fillColor ? fillColor : '#3C393E'}
16
- />
17
- </svg>
18
- )
19
- export default SvgDots
@@ -1,20 +0,0 @@
1
- import * as React from 'react'
2
- const SvgDownArrow = ({ title, titleId, ...props }) => (
3
- <svg
4
- width="21"
5
- height="21"
6
- viewBox="0 0 21 21"
7
- fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- aria-labelledby={titleId}
10
- {...props}
11
- >
12
- {title ? <title id={titleId}>{title}</title> : null}
13
- <rect x={0.5} y={0.5} width={20} height={20} rx={0.5} fill="#fff" stroke="#EEE" />
14
- <path
15
- d="M10.491 13.998a.745.745 0 0 1-.502-.197L5.283 9.517a.912.912 0 0 1-.102-1.208.767.767 0 0 1 .532-.305c.208-.021.414.049.574.194l4.204 3.838 4.204-3.7a.765.765 0 0 1 .272-.157.721.721 0 0 1 .599.07c.09.054.17.127.235.215a.88.88 0 0 1 .16.303.933.933 0 0 1-.06.683.841.841 0 0 1-.21.264l-4.706 4.138a.735.735 0 0 1-.494.146Z"
16
- fill="#3C393E"
17
- />
18
- </svg>
19
- )
20
- export default SvgDownArrow
@@ -1,25 +0,0 @@
1
- import * as React from 'react'
2
-
3
- const SvgHeartFilled = ({ title, titleId, fillColor, ...props }) => (
4
- <svg
5
- xmlns="http://www.w3.org/2000/svg"
6
- width="1em"
7
- height="1em"
8
- viewBox="0 0 511.626 511.627"
9
- style={{
10
- enableBackground: 'new 0 0 511.626 511.627',
11
- }}
12
- xmlSpace="preserve"
13
- role="img"
14
- aria-labelledby={titleId}
15
- {...props}
16
- >
17
- {title ? <title id={titleId}>{title}</title> : null}
18
- <path
19
- d="M475.366 71.951c-24.175-23.606-57.575-35.404-100.215-35.404-11.8 0-23.843 2.046-36.117 6.136-12.279 4.093-23.702 9.615-34.256 16.562-10.568 6.945-19.65 13.467-27.269 19.556a263.828 263.828 0 0 0-21.696 19.414 264.184 264.184 0 0 0-21.698-19.414c-7.616-6.089-16.702-12.607-27.268-19.556-10.564-6.95-21.985-12.468-34.261-16.562-12.275-4.089-24.316-6.136-36.116-6.136-42.637 0-76.039 11.801-100.211 35.404C12.087 95.552 0 128.288 0 170.162c0 12.753 2.24 25.889 6.711 39.398 4.471 13.514 9.566 25.031 15.275 34.546 5.708 9.514 12.181 18.796 19.414 27.837 7.233 9.042 12.519 15.27 15.846 18.699 3.33 3.422 5.948 5.899 7.851 7.419L243.25 469.937c3.427 3.429 7.614 5.144 12.562 5.144s9.138-1.715 12.563-5.137l177.87-171.307c43.588-43.583 65.38-86.41 65.38-128.475.001-41.874-12.088-74.61-36.259-98.211z"
20
- fill={fillColor ? fillColor : 'currentColor'}
21
- />
22
- </svg>
23
- )
24
-
25
- export default SvgHeartFilled
@@ -1,25 +0,0 @@
1
- import * as React from 'react'
2
-
3
- const SvgHeartOutline = ({ title, titleId, fillColor, ...props }) => (
4
- <svg
5
- xmlns="http://www.w3.org/2000/svg"
6
- viewBox="0 0 471.701 471.701"
7
- style={{
8
- enableBackground: 'new 0 0 471.701 471.701',
9
- }}
10
- xmlSpace="preserve"
11
- width="1em"
12
- height="1em"
13
- role="img"
14
- aria-labelledby={titleId}
15
- {...props}
16
- >
17
- {title ? <title id={titleId}>{title}</title> : null}
18
- <path
19
- d="M433.601 67.001c-24.7-24.7-57.4-38.2-92.3-38.2s-67.7 13.6-92.4 38.3l-12.9 12.9-13.1-13.1c-24.7-24.7-57.6-38.4-92.5-38.4-34.8 0-67.6 13.6-92.2 38.2-24.7 24.7-38.3 57.5-38.2 92.4 0 34.9 13.7 67.6 38.4 92.3l187.8 187.8c2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-3.9l188.2-187.5c24.7-24.7 38.3-57.5 38.3-92.4.1-34.9-13.4-67.7-38.1-92.4zm-19.2 165.7-178.7 178-178.3-178.3c-19.6-19.6-30.4-45.6-30.4-73.3s10.7-53.7 30.3-73.2c19.5-19.5 45.5-30.3 73.1-30.3 27.7 0 53.8 10.8 73.4 30.4l22.6 22.6c5.3 5.3 13.8 5.3 19.1 0l22.4-22.4c19.6-19.6 45.7-30.4 73.3-30.4 27.6 0 53.6 10.8 73.2 30.3 19.6 19.6 30.3 45.6 30.3 73.3.1 27.7-10.7 53.7-30.3 73.3z"
20
- fill={fillColor ? fillColor : 'currentColor'}
21
- />
22
- </svg>
23
- )
24
-
25
- export default SvgHeartOutline