playbook_ui 14.3.2.pre.alpha.play1472newicons3773 → 14.3.2.pre.alpha.revert3614PBNTR455ganttchartPOC3783
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/_playbook.scss +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/Components/SortIconButton.tsx +4 -23
- data/app/pb_kits/playbook/pb_contact/_contact.tsx +5 -17
- data/app/pb_kits/playbook/pb_contact/contact.html.erb +6 -14
- data/app/pb_kits/playbook/pb_contact/contact.rb +0 -4
- data/app/pb_kits/playbook/pb_contact/contact.test.js +1 -1
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +3 -4
- data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +1 -1
- data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +0 -4
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +3 -6
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_inline.html.erb +1 -1
- data/app/pb_kits/playbook/pb_date_picker/sass_partials/_header_styles.scss +2 -6
- data/app/pb_kits/playbook/pb_map/_map_controls.tsx +1 -7
- data/app/pb_kits/playbook/pb_passphrase/_passphrase.tsx +2 -10
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.tsx +5 -12
- data/app/pb_kits/playbook/pb_select/_select.tsx +2 -5
- data/app/pb_kits/playbook/pb_select/select.html.erb +1 -1
- data/app/pb_kits/playbook/pb_select/select.rb +0 -4
- data/app/pb_kits/playbook/utilities/icons/allicons.tsx +0 -123
- data/dist/chunks/_typeahead-XnxVauwE.js +22 -0
- data/dist/chunks/_weekday_stacked--VyK5ouD.js +45 -0
- data/dist/chunks/lib-CxRZxMI4.js +16 -0
- data/dist/chunks/{pb_form_validation-CA0nEXlG.js → pb_form_validation-9nbXdKfX.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/menu.yml +0 -4
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +6 -14
- data/app/pb_kits/playbook/pb_gantt_chart/_gantt_chart.scss +0 -3
- data/app/pb_kits/playbook/pb_gantt_chart/_gantt_chart.tsx +0 -72
- data/app/pb_kits/playbook/pb_gantt_chart/docs/_gantt_chart_default.jsx +0 -53
- data/app/pb_kits/playbook/pb_gantt_chart/docs/example.yml +0 -7
- data/app/pb_kits/playbook/pb_gantt_chart/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_gantt_chart/gantt_chart.test.jsx +0 -19
- data/app/pb_kits/playbook/utilities/icons/angle-down.svg +0 -3
- data/app/pb_kits/playbook/utilities/icons/envelope.svg +0 -3
- data/dist/chunks/_typeahead-C7opsM-6.js +0 -22
- data/dist/chunks/_weekday_stacked-Bhq2bj8p.js +0 -45
- data/dist/chunks/lib-ACUFk6Hu.js +0 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44a1b715f38abf804f16fe8d5877cf7829d9e3493f2ba70ec42508655c5fb734
|
4
|
+
data.tar.gz: c3879cfb3ab0e8d7302c935920ff4f4207ae68c73fd3bee02aaad3c1243e6d08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e444509f6fa5fa213075ecf733c1a6cab6cbe98ff46df6b9eb9448e88abe19b37b57de290ac0856138e93d53208063397d05f9db362748e02e156a0f3cd7c96
|
7
|
+
data.tar.gz: ff447403d410e13307f1f0c2efbad43f6cccddcbc85be9df612c89fe58c861892f53b2cc70567b5258409c7abd6273207888b345762067a6ffe0f1f46373240e
|
@@ -4,7 +4,6 @@ import { Header } from "@tanstack/react-table"
|
|
4
4
|
import { GenericObject } from "../../types"
|
5
5
|
|
6
6
|
import Icon from "../../pb_icon/_icon"
|
7
|
-
import { getAllIcons } from "../../utilities/icons/allicons"
|
8
7
|
|
9
8
|
import { displayIcon } from "../Utilities/IconHelpers"
|
10
9
|
|
@@ -12,39 +11,21 @@ type SortIconButtonProps = {
|
|
12
11
|
header: Header<GenericObject, unknown>
|
13
12
|
sortIcon?: string | string[]
|
14
13
|
}
|
15
|
-
|
16
14
|
export const SortIconButton = ({ header, sortIcon }: SortIconButtonProps) => {
|
17
15
|
|
18
|
-
const firstIcon = displayIcon(sortIcon)[0]
|
19
|
-
const secondIcon = displayIcon(sortIcon)[1]
|
20
|
-
const upIcon = getAllIcons()["arrowUpShortWide"].icon as unknown as { [key: string]: SVGElement }
|
21
|
-
const downIcon = getAllIcons()["arrowDownShortWide"].icon as unknown as { [key: string]: SVGElement }
|
22
|
-
|
23
16
|
return (
|
24
17
|
<>
|
25
18
|
{header.column.getIsSorted() === "desc" ? (
|
26
19
|
<div className="sort-button-icon"
|
27
|
-
key={
|
20
|
+
key={displayIcon(sortIcon)[0]}
|
28
21
|
>
|
29
|
-
|
30
|
-
<Icon
|
31
|
-
className="svg-inline--fa"
|
32
|
-
customIcon={upIcon}
|
33
|
-
/> ) : (
|
34
|
-
<Icon icon={firstIcon} />
|
35
|
-
)}
|
22
|
+
<Icon icon={displayIcon(sortIcon)[0]} />
|
36
23
|
</div>
|
37
24
|
) : (
|
38
25
|
<div className="sort-button-icon"
|
39
|
-
key={
|
26
|
+
key={displayIcon(sortIcon)[1]}
|
40
27
|
>
|
41
|
-
|
42
|
-
<Icon
|
43
|
-
className="svg-inline--fa"
|
44
|
-
customIcon={downIcon}
|
45
|
-
/> ) : (
|
46
|
-
<Icon icon={secondIcon} />
|
47
|
-
)}
|
28
|
+
<Icon icon={displayIcon(sortIcon)[1]} />
|
48
29
|
</div>
|
49
30
|
)}
|
50
31
|
</>
|
@@ -7,7 +7,6 @@ import { globalProps } from '../utilities/globalProps'
|
|
7
7
|
import Body from '../pb_body/_body'
|
8
8
|
import Caption from '../pb_caption/_caption'
|
9
9
|
import Icon from '../pb_icon/_icon'
|
10
|
-
import { getAllIcons } from "../utilities/icons/allicons"
|
11
10
|
|
12
11
|
const contactTypeMap: { [key: string]: string } = {
|
13
12
|
'cell': 'mobile',
|
@@ -19,8 +18,6 @@ const contactTypeMap: { [key: string]: string } = {
|
|
19
18
|
'wrong-phone': 'phone-slash',
|
20
19
|
}
|
21
20
|
|
22
|
-
const envelopeIcon = getAllIcons()["envelope"].icon as unknown as { [key: string]: SVGElement }
|
23
|
-
|
24
21
|
const formatContact = (contactString: string, contactType: string) => {
|
25
22
|
if (contactType === 'email') return contactString
|
26
23
|
|
@@ -94,20 +91,11 @@ const Contact = (props: ContactProps): React.ReactElement => {
|
|
94
91
|
dark={dark}
|
95
92
|
tag="span"
|
96
93
|
>
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
fixedWidth
|
103
|
-
/>
|
104
|
-
) : (
|
105
|
-
<Icon
|
106
|
-
dark={dark}
|
107
|
-
fixedWidth
|
108
|
-
icon={contactTypeMap[contactType] || 'phone'}
|
109
|
-
/>
|
110
|
-
)}
|
94
|
+
<Icon
|
95
|
+
dark={dark}
|
96
|
+
fixedWidth
|
97
|
+
icon={contactTypeMap[contactType] || 'phone'}
|
98
|
+
/>
|
111
99
|
{` ${formatContact(contactValue, contactType)} `}
|
112
100
|
{contactDetail && (
|
113
101
|
<Caption
|
@@ -4,20 +4,12 @@
|
|
4
4
|
classname: "pb_contact_kit",
|
5
5
|
color: "light",
|
6
6
|
dark: object.dark
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}) %>
|
14
|
-
<% else %>
|
15
|
-
<%= pb_rails("icon", props: {
|
16
|
-
icon: object.contact_icon,
|
17
|
-
fixed_width: true,
|
18
|
-
dark: object.dark
|
19
|
-
}) %>
|
20
|
-
<% end %>
|
7
|
+
}) do %>
|
8
|
+
<%= pb_rails("icon", props: {
|
9
|
+
icon: object.contact_icon,
|
10
|
+
fixed_width: true,
|
11
|
+
dark: object.dark
|
12
|
+
}) %>
|
21
13
|
<%= object.formatted_contact_value if object.contact_value %>
|
22
14
|
|
23
15
|
<%= pb_rails("caption", props: {
|
@@ -79,7 +79,7 @@ test('returns correct icon', () => {
|
|
79
79
|
expect(screen.getByTestId('test-home').querySelector('.pb_icon_kit')).toHaveClass('fa-phone')
|
80
80
|
expect(screen.getByTestId('test-work').querySelector('.pb_icon_kit')).toHaveClass('fa-phone-office')
|
81
81
|
expect(screen.getByTestId('test-work-cell').querySelector('.pb_icon_kit')).toHaveClass('fa-phone-laptop')
|
82
|
-
expect(screen.getByTestId('test-email').querySelector('.
|
82
|
+
expect(screen.getByTestId('test-email').querySelector('.pb_icon_kit')).toHaveClass('fa-envelope')
|
83
83
|
expect(screen.getByTestId('test-wrong-phone').querySelector('.pb_icon_kit')).toHaveClass('fa-phone-slash')
|
84
84
|
expect(screen.getByTestId('test-wrong-type').querySelector('.pb_icon_kit')).toHaveClass('fa-phone')
|
85
85
|
expect(screen.getByTestId('test-extension').querySelector('.pb_icon_kit')).toHaveClass('fa-phone-plus')
|
@@ -3,7 +3,6 @@ import classnames from 'classnames'
|
|
3
3
|
|
4
4
|
import { buildAriaProps, buildCss, buildDataProps, buildHtmlProps } from '../utilities/props'
|
5
5
|
import { deprecatedProps, globalProps, GlobalProps } from '../utilities/globalProps'
|
6
|
-
import { getAllIcons } from "../utilities/icons/allicons"
|
7
6
|
|
8
7
|
import datePickerHelper from './date_picker_helper'
|
9
8
|
import Icon from '../pb_icon/_icon'
|
@@ -162,7 +161,7 @@ useEffect(() => {
|
|
162
161
|
}
|
163
162
|
return base
|
164
163
|
}
|
165
|
-
|
164
|
+
|
166
165
|
|
167
166
|
return (
|
168
167
|
<div
|
@@ -232,8 +231,8 @@ useEffect(() => {
|
|
232
231
|
id={`${pickerId}-angle-down`}
|
233
232
|
>
|
234
233
|
<Icon
|
235
|
-
className="angle_down_icon
|
236
|
-
|
234
|
+
className="angle_down_icon"
|
235
|
+
icon="angle-down"
|
237
236
|
/>
|
238
237
|
</div>
|
239
238
|
</div>
|
@@ -5,9 +5,6 @@ import monthSelectPlugin from 'flatpickr/dist/plugins/monthSelect'
|
|
5
5
|
import weekSelect from "flatpickr/dist/plugins/weekSelect/weekSelect"
|
6
6
|
import timeSelectPlugin from './plugins/timeSelect'
|
7
7
|
import quickPickPlugin from './plugins/quickPick'
|
8
|
-
import { getAllIcons } from '../utilities/icons/allicons';
|
9
|
-
|
10
|
-
const angleDown = getAllIcons().angleDown.string
|
11
8
|
|
12
9
|
const getPositionElement = (element: string | Element) => {
|
13
10
|
return (typeof element === 'string') ? document.querySelectorAll(element)[0] : element
|
@@ -259,10 +256,10 @@ const datePickerHelper = (config: DatePickerConfig, scrollContainer: string | HT
|
|
259
256
|
})
|
260
257
|
}
|
261
258
|
|
262
|
-
// Adding dropdown icons to year and month
|
263
|
-
dropdown.insertAdjacentHTML('afterend',
|
259
|
+
// Adding dropdown icons to year and month selects
|
260
|
+
dropdown.insertAdjacentHTML('afterend', '<i class="far fa-angle-down year-dropdown-icon" id="test-id"></i>')
|
264
261
|
if (picker.monthElements[0].parentElement) {
|
265
|
-
return picker.monthElements[0].insertAdjacentHTML('afterend',
|
262
|
+
return picker.monthElements[0].insertAdjacentHTML('afterend', '<i class="far fa-angle-down month-dropdown-icon"></i>')}
|
266
263
|
// if (picker.weekElements[0].parentElement){
|
267
264
|
// return picker.weekElements[0].insertAdjacentHTML('afterend', '<i class="far fa-angle-down year-dropdown-icon" id="test-id"></i>')
|
268
265
|
// }
|
@@ -76,11 +76,7 @@
|
|
76
76
|
pointer-events: none;
|
77
77
|
color: $text_lt_light;
|
78
78
|
}
|
79
|
-
|
80
|
-
width: 16px;
|
81
|
-
margin-top: 6px;
|
82
|
-
margin-left: -2px;
|
83
|
-
}
|
79
|
+
|
84
80
|
// Left - Right Arrow Styling
|
85
81
|
.flatpickr-prev-month {
|
86
82
|
display: flex;
|
@@ -117,4 +113,4 @@
|
|
117
113
|
}
|
118
114
|
}
|
119
115
|
}
|
120
|
-
}
|
116
|
+
}
|
@@ -2,7 +2,6 @@ import React from "react";
|
|
2
2
|
import Button from "../pb_button/_button";
|
3
3
|
import Icon from "../pb_icon/_icon";
|
4
4
|
import Flex from "../pb_flex/_flex";
|
5
|
-
import { getAllIcons } from "../utilities/icons/allicons"
|
6
5
|
|
7
6
|
type MapControlTypes = {
|
8
7
|
zoomBtns?: boolean,
|
@@ -13,8 +12,6 @@ type MapControlTypes = {
|
|
13
12
|
children?: React.ReactNode | React.ReactNode[]
|
14
13
|
}
|
15
14
|
|
16
|
-
const eyeIcon = getAllIcons()["eye"]
|
17
|
-
|
18
15
|
const MapControls = ({
|
19
16
|
zoomBtns,
|
20
17
|
zoomInClick,
|
@@ -45,10 +42,7 @@ const MapControls = ({
|
|
45
42
|
<Button className="map-flyto-button"
|
46
43
|
onClick={flyToClick}
|
47
44
|
>
|
48
|
-
<Icon
|
49
|
-
className="svg-inline--fa"
|
50
|
-
customIcon={eyeIcon.icon as unknown as { [key: string]: SVGElement }}
|
51
|
-
/>
|
45
|
+
<Icon icon="eye" />
|
52
46
|
</Button>
|
53
47
|
) : null}
|
54
48
|
</>
|
@@ -12,7 +12,6 @@ import Icon from '../pb_icon/_icon'
|
|
12
12
|
import PbReactPopover from '../pb_popover/_popover'
|
13
13
|
import TextInput from '../pb_text_input/_text_input'
|
14
14
|
import { GenericObject } from "../types"
|
15
|
-
import { getAllIcons } from "../utilities/icons/allicons"
|
16
15
|
|
17
16
|
type PassphraseProps = {
|
18
17
|
aria?: { [key: string]: string },
|
@@ -97,9 +96,6 @@ const Passphrase = (props: PassphraseProps): React.ReactElement => {
|
|
97
96
|
/>
|
98
97
|
)
|
99
98
|
|
100
|
-
const shieldIcon = getAllIcons()["shieldCheck"]
|
101
|
-
const eyeIcon = getAllIcons()["eye"]
|
102
|
-
|
103
99
|
return (
|
104
100
|
<div
|
105
101
|
{...ariaProps}
|
@@ -139,8 +135,7 @@ const Passphrase = (props: PassphraseProps): React.ReactElement => {
|
|
139
135
|
size="xs"
|
140
136
|
>
|
141
137
|
<Icon
|
142
|
-
|
143
|
-
customIcon={shieldIcon.icon as unknown as { [key: string]: SVGElement }}
|
138
|
+
icon="shield-check"
|
144
139
|
marginRight="xs"
|
145
140
|
/>
|
146
141
|
{tip}
|
@@ -178,10 +173,7 @@ const Passphrase = (props: PassphraseProps): React.ReactElement => {
|
|
178
173
|
color="light"
|
179
174
|
dark={dark}
|
180
175
|
>
|
181
|
-
|
182
|
-
className="svg-inline--fa"
|
183
|
-
customIcon={eyeIcon.icon as unknown as { [key: string]: SVGElement }}
|
184
|
-
/>
|
176
|
+
<Icon icon="eye" />
|
185
177
|
</Body>
|
186
178
|
</span>
|
187
179
|
</div>
|
@@ -1,7 +1,5 @@
|
|
1
1
|
import React, { useState } from 'react'
|
2
2
|
|
3
|
-
import { getAllIcons } from "../../utilities/icons/allicons"
|
4
|
-
|
5
3
|
import Flex from '../../pb_flex/_flex'
|
6
4
|
import PbReactPopover from '../../pb_popover/_popover'
|
7
5
|
import Button from '../../pb_button/_button'
|
@@ -67,7 +65,6 @@ const toolbarDropdownItems = [
|
|
67
65
|
},
|
68
66
|
]
|
69
67
|
|
70
|
-
const angleDown = getAllIcons()["angleDown"].icon as unknown as { [key: string]: SVGElement }
|
71
68
|
|
72
69
|
const handleTogglePopover = () => {
|
73
70
|
setShowPopover(!showPopover)
|
@@ -95,10 +92,8 @@ for (const { text, isActive, icon } of toolbarDropdownItems) {
|
|
95
92
|
<Flex className={showPopover ? "fa-flip-vertical" : ""}
|
96
93
|
display="inline_flex"
|
97
94
|
>
|
98
|
-
<Icon
|
99
|
-
|
100
|
-
customIcon={angleDown}
|
101
|
-
fixedWidth
|
95
|
+
<Icon fixedWidth
|
96
|
+
icon="angle-down"
|
102
97
|
margin-left="xs"
|
103
98
|
/>
|
104
99
|
</Flex>
|
@@ -130,10 +125,8 @@ const popoverReference = (
|
|
130
125
|
<Flex className={showPopover ? "fa-flip-vertical" : ""}
|
131
126
|
display="inline_flex"
|
132
127
|
>
|
133
|
-
<Icon
|
134
|
-
|
135
|
-
customIcon={angleDown}
|
136
|
-
fixedWidth
|
128
|
+
<Icon fixedWidth
|
129
|
+
icon="angle-down"
|
137
130
|
margin-left="xs"
|
138
131
|
/>
|
139
132
|
</Flex>
|
@@ -176,4 +169,4 @@ const popoverReference = (
|
|
176
169
|
)
|
177
170
|
}
|
178
171
|
|
179
|
-
export default ToolbarDropdown
|
172
|
+
export default ToolbarDropdown
|
@@ -4,7 +4,6 @@ import classnames from 'classnames'
|
|
4
4
|
import { buildAriaProps, buildCss, buildDataProps, buildHtmlProps } from '../utilities/props'
|
5
5
|
import { globalProps, GlobalProps, domSafeProps } from '../utilities/globalProps'
|
6
6
|
import type { InputCallback } from '../types'
|
7
|
-
import { getAllIcons } from "../utilities/icons/allicons"
|
8
7
|
|
9
8
|
import Body from '../pb_body/_body'
|
10
9
|
import Caption from '../pb_caption/_caption'
|
@@ -91,8 +90,6 @@ const Select = ({
|
|
91
90
|
compactClass
|
92
91
|
);
|
93
92
|
|
94
|
-
const angleDown = getAllIcons()["angleDown"].icon as unknown as { [key: string]: SVGElement }
|
95
|
-
|
96
93
|
const selectWrapperClass = classnames(buildCss('pb_select_kit_wrapper'), { error }, className)
|
97
94
|
const selectBody =(() =>{
|
98
95
|
if (children) return children
|
@@ -137,9 +134,9 @@ const Select = ({
|
|
137
134
|
{selectBody}
|
138
135
|
{ multiple !== true ?
|
139
136
|
<Icon
|
140
|
-
className="pb_select_kit_caret
|
141
|
-
customIcon={angleDown}
|
137
|
+
className="pb_select_kit_caret"
|
142
138
|
fixedWidth
|
139
|
+
icon="angle-down"
|
143
140
|
/>
|
144
141
|
:
|
145
142
|
null
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<%= pb_rails("body", props: { status: "negative", text: object.error }) %>
|
27
27
|
<% end %>
|
28
28
|
<% if object.multiple != true %>
|
29
|
-
<%= pb_rails("icon", props: {
|
29
|
+
<%= pb_rails("icon", props: { icon: "angle-down", fixed_width: true, classname: "pb_select_kit_caret"}) %>
|
30
30
|
<% end %>
|
31
31
|
</label>
|
32
32
|
<% end %>
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import ReactDOMServer from 'react-dom/server';
|
3
2
|
|
4
3
|
const spinner = (
|
5
4
|
<svg
|
@@ -44,109 +43,6 @@ const times = (
|
|
44
43
|
</svg>
|
45
44
|
)
|
46
45
|
|
47
|
-
const shieldCheck = (
|
48
|
-
<svg
|
49
|
-
fill="none"
|
50
|
-
height="25"
|
51
|
-
viewBox="0 0 30 25"
|
52
|
-
width="30"
|
53
|
-
xmlns="http://www.w3.org/2000/svg"
|
54
|
-
>
|
55
|
-
<g clipPath="url(#clip0_3501_2627)">
|
56
|
-
<path
|
57
|
-
d="M23.613 6.22616C19.2319 5.05738 16.2038 3.57683 14.9994 2.93168C13.795 3.57684 10.7668 5.05738 6.38579 6.22616C6.49648 10.1825 7.36742 13.3152 8.82039 15.769C10.2812 18.2361 12.3678 20.0807 14.9994 21.3944C17.6301 20.0812 19.7161 18.2374 21.1769 15.7716C22.6308 13.3174 23.5022 10.1839 23.613 6.22616ZM14.2526 0.775118C14.7176 0.512911 15.2824 0.51361 15.7463 0.775204C16.4986 1.19938 19.7418 2.92765 24.7399 4.19445C25.4023 4.36236 25.8799 4.96401 25.8736 5.66282C25.8329 10.1987 24.8831 13.9298 23.1127 16.9184C21.3379 19.9142 18.7794 22.0943 15.64 23.5849C15.235 23.7772 14.7638 23.7773 14.3587 23.5849C11.2184 22.0938 8.65916 19.9128 6.88434 16.9154C5.11385 13.9254 4.16463 10.1924 4.12506 5.65388C4.11862 4.91506 4.64477 4.35024 5.26787 4.19218C10.2611 2.92549 13.5011 1.19889 14.2526 0.775118ZM11.685 11.1425C11.2467 10.7022 10.5344 10.7006 10.094 11.139C9.65373 11.5774 9.65215 12.2897 10.0905 12.73L12.7278 15.379C13.3123 15.9661 14.2621 15.9682 14.8491 15.3837L19.8781 10.377C20.3184 9.93866 20.32 9.22635 19.8816 8.78604C19.4432 8.34573 18.7309 8.34415 18.2906 8.78251L13.7932 13.26L11.685 11.1425Z"
|
58
|
-
fill="#242B42"
|
59
|
-
/>
|
60
|
-
</g>
|
61
|
-
<defs>
|
62
|
-
<clipPath id="clip0_3501_2627">
|
63
|
-
<rect
|
64
|
-
fill="white"
|
65
|
-
height="24"
|
66
|
-
transform="translate(0 0.142883)"
|
67
|
-
width="30"
|
68
|
-
/>
|
69
|
-
</clipPath>
|
70
|
-
</defs>
|
71
|
-
</svg>
|
72
|
-
)
|
73
|
-
|
74
|
-
const eye = (
|
75
|
-
<svg
|
76
|
-
fill="none"
|
77
|
-
height="1.5em"
|
78
|
-
viewBox="0 0 30 24"
|
79
|
-
width="1.5em"
|
80
|
-
xmlns="http://www.w3.org/2000/svg"
|
81
|
-
>
|
82
|
-
<path
|
83
|
-
clipRule="evenodd"
|
84
|
-
d="M15.063 1.393c-4.268 0-7.06 1.76-9.073 3.89C5.002 6.33 4.206 7.46 3.522 8.475l-.395.589c-.526.787-.97 1.454-1.424 1.994a1.521 1.521 0 00-.045 1.902c.303.396.634.893 1.005 1.45 2.092 3.136 5.466 8.197 12.4 8.197 7.192 0 10.277-4.932 12.237-8.066.385-.615.727-1.161 1.047-1.587a1.524 1.524 0 00-.049-1.895c-.459-.548-.906-1.23-1.436-2.037l-.001-.001-.354-.539c-.672-1.014-1.453-2.145-2.425-3.192-1.984-2.135-4.75-3.897-9.02-3.897zM4.703 13.376c-.313-.46-.616-.906-.917-1.323a35.29 35.29 0 001.245-1.788l.357-.533c.67-.995 1.383-1.998 2.238-2.904C9.3 5.056 11.53 3.643 15.063 3.643c3.53 0 5.728 1.41 7.37 3.178.84.905 1.538 1.907 2.197 2.903l.324.492v.001c.417.635.837 1.276 1.265 1.84a43.715 43.715 0 00-1.021 1.551c-1.99 3.115-4.311 6.749-10.135 6.749-5.613 0-8.22-3.833-10.36-6.981zm10.35 2.638a3.946 3.946 0 10-.243-7.885c.168.23.243.602.243 1.204a3.187 3.187 0 01-3.188 3.188 3.83 3.83 0 01-.739-.056 3.947 3.947 0 003.927 3.549zm0 2.25a6.196 6.196 0 100-12.393 6.196 6.196 0 000 12.393z"
|
85
|
-
fill="#242B42"
|
86
|
-
/>
|
87
|
-
</svg>
|
88
|
-
)
|
89
|
-
|
90
|
-
const envelope = (
|
91
|
-
<svg
|
92
|
-
fill="none"
|
93
|
-
height="1.5em"
|
94
|
-
viewBox="0 0 30 25"
|
95
|
-
width="1.5em"
|
96
|
-
xmlns="http://www.w3.org/2000/svg"
|
97
|
-
>
|
98
|
-
<path
|
99
|
-
d="M5.625 6.286c0-.207.168-.375.375-.375h18c.207 0 .375.168.375.375v1.636L15 13.95 5.625 7.922V6.286zm-2.25 2.232V18.286A2.625 2.625 0 006 20.91h18a2.625 2.625 0 002.625-2.625V8.553 6.286A2.625 2.625 0 0024 3.66H6a2.625 2.625 0 00-2.625 2.625v2.232zm21 2.079v7.689a.375.375 0 01-.375.375H6a.375.375 0 01-.375-.375v-7.69l8.564 5.508a1.5 1.5 0 001.622 0l8.564-5.507z"
|
100
|
-
fill="#242B42"
|
101
|
-
/>
|
102
|
-
</svg>
|
103
|
-
)
|
104
|
-
|
105
|
-
const arrowUpShortWide = (
|
106
|
-
<svg
|
107
|
-
fill="none"
|
108
|
-
height="1.5em"
|
109
|
-
viewBox="0 0 30 25"
|
110
|
-
width="1.5em"
|
111
|
-
xmlns="http://www.w3.org/2000/svg"
|
112
|
-
>
|
113
|
-
<path
|
114
|
-
d="M3.44 8.724a1.125 1.125 0 11-1.59-1.59l4.235-4.236a1.5 1.5 0 012.12 0l4.236 4.235a1.125 1.125 0 01-1.591 1.591l-2.58-2.58V21.43a1.125 1.125 0 01-2.25 0V6.145l-2.58 2.58zM14.25 20.68c0-.622.504-1.125 1.125-1.125h12a1.125 1.125 0 110 2.25h-12a1.125 1.125 0 01-1.125-1.125zm1.125-6.63a1.125 1.125 0 000 2.25h9a1.125 1.125 0 100-2.25h-9zm-1.125-4.37c0-.622.504-1.125 1.125-1.125h6a1.125 1.125 0 110 2.25h-6a1.125 1.125 0 01-1.125-1.125zm1.125-6.625a1.125 1.125 0 000 2.25h3a1.125 1.125 0 100-2.25h-3z"
|
115
|
-
fill="#242B42"
|
116
|
-
/>
|
117
|
-
</svg>
|
118
|
-
)
|
119
|
-
|
120
|
-
const arrowDownShortWide = (
|
121
|
-
<svg
|
122
|
-
fill="none"
|
123
|
-
height="1.5em"
|
124
|
-
viewBox="0 0 30 25"
|
125
|
-
width="1.5em"
|
126
|
-
xmlns="http://www.w3.org/2000/svg"
|
127
|
-
>
|
128
|
-
<path
|
129
|
-
d="M8.27 3.857a1.125 1.125 0 00-2.25 0v15.284l-2.58-2.58a1.125 1.125 0 10-1.59 1.592l4.235 4.235a1.5 1.5 0 002.12 0l4.236-4.235a1.125 1.125 0 10-1.591-1.591l-2.58 2.58V3.856zm5.98 17.25c0-.621.504-1.125 1.125-1.125h12a1.125 1.125 0 110 2.25h-12a1.125 1.125 0 01-1.125-1.125zm1.125-6.63a1.125 1.125 0 000 2.25h8.25a1.125 1.125 0 100-2.25h-8.25zm-1.125-4.37c0-.621.504-1.125 1.125-1.125h5.25a1.125 1.125 0 110 2.25h-5.25a1.125 1.125 0 01-1.125-1.125zm1.125-6.625a1.125 1.125 0 000 2.25h1.5a1.125 1.125 0 100-2.25h-1.5z"
|
130
|
-
fill="#242B42"
|
131
|
-
/>
|
132
|
-
</svg>
|
133
|
-
)
|
134
|
-
|
135
|
-
const angleDown = (
|
136
|
-
<svg
|
137
|
-
fill="none"
|
138
|
-
height="1.5em"
|
139
|
-
viewBox="0 0 30 24"
|
140
|
-
width="1.5em"
|
141
|
-
xmlns="http://www.w3.org/2000/svg"
|
142
|
-
>
|
143
|
-
<path
|
144
|
-
d="M6.543 7.69a1.125 1.125 0 011.59.034L15 14.884l6.866-7.16A1.125 1.125 0 1123.49 9.28l-7.407 7.725a1.5 1.5 0 01-2.166 0L6.51 9.281a1.125 1.125 0 01.033-1.59z"
|
145
|
-
fill="#242B42"
|
146
|
-
/>
|
147
|
-
</svg>
|
148
|
-
)
|
149
|
-
|
150
46
|
export const getAllIcons = () => {
|
151
47
|
|
152
48
|
return {
|
@@ -158,25 +54,6 @@ export const getAllIcons = () => {
|
|
158
54
|
},
|
159
55
|
times: {
|
160
56
|
icon: times
|
161
|
-
},
|
162
|
-
shieldCheck: {
|
163
|
-
icon: shieldCheck
|
164
|
-
},
|
165
|
-
eye: {
|
166
|
-
icon: eye
|
167
|
-
},
|
168
|
-
envelope: {
|
169
|
-
icon: envelope
|
170
|
-
},
|
171
|
-
arrowUpShortWide: {
|
172
|
-
icon: arrowUpShortWide
|
173
|
-
},
|
174
|
-
arrowDownShortWide: {
|
175
|
-
icon: arrowDownShortWide
|
176
|
-
},
|
177
|
-
angleDown: {
|
178
|
-
icon: angleDown,
|
179
|
-
string: ReactDOMServer.renderToStaticMarkup(angleDown)
|
180
57
|
}
|
181
58
|
}
|
182
59
|
}
|