playbook_ui 14.1.0.pre.alpha.pbntr373enablekitsforradio3595 → 14.1.0
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 -2
- data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +3 -3
- data/app/pb_kits/playbook/pb_advanced_table/advanced_table.html.erb +1 -1
- data/app/pb_kits/playbook/pb_badge/_badge.scss +0 -9
- data/app/pb_kits/playbook/pb_badge/_badge.tsx +3 -8
- data/app/pb_kits/playbook/pb_badge/badge.rb +1 -1
- data/app/pb_kits/playbook/pb_badge/badge.test.js +11 -17
- data/app/pb_kits/playbook/pb_badge/docs/_badge_notification.html.erb +0 -13
- data/app/pb_kits/playbook/pb_badge/docs/_badge_notification.jsx +12 -31
- data/app/pb_kits/playbook/pb_button/_button.tsx +1 -4
- data/app/pb_kits/playbook/pb_button/button.html.erb +1 -1
- data/app/pb_kits/playbook/pb_button/button.rb +0 -4
- data/app/pb_kits/playbook/pb_date_time/dateTime.test.js +2 -2
- data/app/pb_kits/playbook/pb_dialog/_close_icon.tsx +1 -5
- data/app/pb_kits/playbook/pb_dialog/_dialog.tsx +1 -3
- data/app/pb_kits/playbook/pb_dialog/dialog.test.jsx +1 -20
- data/app/pb_kits/playbook/pb_dialog/dialog_header.html.erb +1 -1
- data/app/pb_kits/playbook/pb_dialog/dialog_header.rb +0 -4
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_default.jsx +5 -1
- data/app/pb_kits/playbook/pb_dialog/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_dialog/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_filter/filter.rb +1 -1
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +0 -1
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.scss +25 -43
- data/app/pb_kits/playbook/pb_form_pill/_form_pill.tsx +2 -6
- data/app/pb_kits/playbook/pb_form_pill/docs/example.yml +2 -2
- data/app/pb_kits/playbook/pb_form_pill/form_pill.html.erb +4 -4
- data/app/pb_kits/playbook/pb_form_pill/form_pill.rb +0 -4
- data/app/pb_kits/playbook/pb_icon/_icon.tsx +1 -1
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +2 -0
- data/app/pb_kits/playbook/pb_pagination/_pagination.scss +13 -49
- data/app/pb_kits/playbook/pb_pagination/docs/example.yml +1 -3
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.scss +7 -0
- data/app/pb_kits/playbook/pb_popover/_popover.tsx +5 -10
- data/app/pb_kits/playbook/pb_radio/_radio.scss +2 -2
- data/app/pb_kits/playbook/pb_radio/_radio.tsx +50 -100
- data/app/pb_kits/playbook/pb_radio/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_radio/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/_tiptap_styles.scss +76 -50
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/index.js +1 -2
- data/app/pb_kits/playbook/pb_star_rating/index.js +41 -78
- data/app/pb_kits/playbook/pb_star_rating/star_rating.html.erb +2 -4
- data/app/pb_kits/playbook/pb_star_rating/star_rating.rb +0 -17
- data/app/pb_kits/playbook/pb_star_rating/subcomponents/_star_rating_display.tsx +2 -0
- data/app/pb_kits/playbook/pb_star_rating/subcomponents/_star_rating_interactive.tsx +1 -0
- data/app/pb_kits/playbook/pb_time/_time.tsx +8 -12
- data/app/pb_kits/playbook/pb_time/time.html.erb +3 -3
- data/app/pb_kits/playbook/pb_time/time.rb +0 -4
- data/app/pb_kits/playbook/utilities/globalPropNames.mjs +0 -1
- data/app/pb_kits/playbook/utilities/globalProps.ts +3 -20
- data/dist/chunks/_typeahead-D6PRvP-1.js +22 -0
- data/dist/chunks/_weekday_stacked-DbdEuIzh.js +45 -0
- data/dist/chunks/lazysizes-DHz07jlL.js +1 -0
- data/dist/chunks/{lib-DErGXNy3.js → lib-BE0Z3F7x.js} +2 -2
- data/dist/chunks/{pb_form_validation-BC6kh7Hu.js → pb_form_validation-TzZQ0Flx.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/classnames.rb +0 -1
- data/lib/playbook/spacing.rb +2 -31
- data/lib/playbook/version.rb +2 -2
- metadata +13 -36
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_loading.jsx +0 -46
- 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/pb_pagination/_pagination.tsx +0 -164
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_default.jsx +0 -19
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_default_react.md +0 -1
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change.jsx +0 -62
- data/app/pb_kits/playbook/pb_pagination/docs/_pagination_page_change_react.md +0 -1
- data/app/pb_kits/playbook/pb_pagination/docs/data.js +0 -23
- data/app/pb_kits/playbook/pb_pagination/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_radio/docs/_radio_children.jsx +0 -51
- data/app/pb_kits/playbook/pb_rich_text_editor/_previewer_mixin.scss +0 -132
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_preview.jsx +0 -73
- data/app/pb_kits/playbook/tokens/_container.scss +0 -21
- data/app/pb_kits/playbook/utilities/_min_width.scss +0 -45
- data/app/pb_kits/playbook/utilities/icons/allicons.tsx +0 -59
- data/app/pb_kits/playbook/utilities/icons/clock.svg +0 -9
- data/app/pb_kits/playbook/utilities/icons/spinner.svg +0 -3
- data/app/pb_kits/playbook/utilities/icons/times.svg +0 -3
- data/dist/chunks/_typeahead-CTLaD81v.js +0 -22
- data/dist/chunks/_weekday_stacked-U-4S3-tB.js +0 -45
- data/dist/chunks/lazysizes-B7xYodB-.js +0 -1
- /data/app/pb_kits/playbook/pb_pagination/docs/{_pagination_default_rails.md → _pagination_default.md} +0 -0
@@ -1,62 +0,0 @@
|
|
1
|
-
import React, { useState } from "react";
|
2
|
-
import { Table, Pagination } from 'playbook-ui'
|
3
|
-
|
4
|
-
|
5
|
-
import { data } from "./data";
|
6
|
-
|
7
|
-
const PaginationPageChange = (props) => {
|
8
|
-
|
9
|
-
const [activePage, setActivePage] = useState(1);
|
10
|
-
const rowsPerPage = 3;
|
11
|
-
const totalPages = Math.ceil(data.length / rowsPerPage);
|
12
|
-
|
13
|
-
const onPageChange = (pageNumber) => {
|
14
|
-
setActivePage(pageNumber);
|
15
|
-
};
|
16
|
-
|
17
|
-
const currentData = data.slice(
|
18
|
-
(activePage - 1) * rowsPerPage,
|
19
|
-
activePage * rowsPerPage
|
20
|
-
);
|
21
|
-
|
22
|
-
|
23
|
-
return (
|
24
|
-
<div className="App">
|
25
|
-
<Table
|
26
|
-
marginBottom="xs"
|
27
|
-
responsive="none"
|
28
|
-
size="sm"
|
29
|
-
{...props}
|
30
|
-
>
|
31
|
-
<Table.Head>
|
32
|
-
<Table.Row>
|
33
|
-
<Table.Header>{"Column 1"}</Table.Header>
|
34
|
-
<Table.Header>{"Column 2"}</Table.Header>
|
35
|
-
<Table.Header>{"Column 3"}</Table.Header>
|
36
|
-
<Table.Header>{"Column 4"}</Table.Header>
|
37
|
-
<Table.Header>{"Column 5"}</Table.Header>
|
38
|
-
</Table.Row>
|
39
|
-
</Table.Head>
|
40
|
-
<Table.Body>
|
41
|
-
{currentData.map((row, index) => (
|
42
|
-
<Table.Row key={index}>
|
43
|
-
{row.map((cell, cellIndex) => (
|
44
|
-
<Table.Cell key={cellIndex}>{cell}</Table.Cell>
|
45
|
-
))}
|
46
|
-
</Table.Row>
|
47
|
-
))}
|
48
|
-
</Table.Body>
|
49
|
-
</Table>
|
50
|
-
|
51
|
-
<Pagination
|
52
|
-
current={1}
|
53
|
-
onChange={onPageChange}
|
54
|
-
range={5}
|
55
|
-
total={totalPages}
|
56
|
-
{...props}
|
57
|
-
/>
|
58
|
-
</div>
|
59
|
-
)
|
60
|
-
}
|
61
|
-
|
62
|
-
export default PaginationPageChange
|
@@ -1 +0,0 @@
|
|
1
|
-
You can use the `onChange` prop to control the data of your table. This prop is callback function that will allow you control the state.
|
@@ -1,23 +0,0 @@
|
|
1
|
-
export const data = [
|
2
|
-
["Value 1", "Value 2", "Value 3", "Value 4", "Value 5"],
|
3
|
-
["Value 6", "Value 7", "Value 8", "Value 9", "Value 10"],
|
4
|
-
["Value 11", "Value 12", "Value 13", "Value 14", "Value 15"],
|
5
|
-
["Value 16", "Value 17", "Value 18", "Value 19", "Value 20"],
|
6
|
-
["Value 21", "Value 22", "Value 23", "Value 24", "Value 25"],
|
7
|
-
["Value 26", "Value 27", "Value 28", "Value 29", "Value 30"],
|
8
|
-
["Value 31", "Value 32", "Value 33", "Value 34", "Value 35"],
|
9
|
-
["Value 36", "Value 37", "Value 38", "Value 39", "Value 40"],
|
10
|
-
["Value 41", "Value 42", "Value 43", "Value 44", "Value 45"],
|
11
|
-
["Value 46", "Value 47", "Value 48", "Value 49", "Value 50"],
|
12
|
-
["Value 51", "Value 52", "Value 53", "Value 54", "Value 55"],
|
13
|
-
["Value 56", "Value 57", "Value 58", "Value 59", "Value 60"],
|
14
|
-
["Value 61", "Value 62", "Value 63", "Value 64", "Value 65"],
|
15
|
-
["Value 66", "Value 67", "Value 68", "Value 69", "Value 70"],
|
16
|
-
["Value 71", "Value 72", "Value 73", "Value 74", "Value 75"],
|
17
|
-
["Value 76", "Value 77", "Value 78", "Value 79", "Value 80"],
|
18
|
-
["Value 81", "Value 82", "Value 83", "Value 84", "Value 85"],
|
19
|
-
["Value 86", "Value 87", "Value 88", "Value 89", "Value 90"],
|
20
|
-
["Value 91", "Value 92", "Value 93", "Value 94", "Value 95"],
|
21
|
-
["Value 96", "Value 97", "Value 98", "Value 99", "Value 100"],
|
22
|
-
];
|
23
|
-
|
@@ -1,51 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import Radio from '../_radio'
|
3
|
-
import Typeahead from '../../pb_typeahead/_typeahead'
|
4
|
-
import Dropdown from '../../pb_dropdown/_dropdown'
|
5
|
-
import Title from '../../pb_title/_title'
|
6
|
-
|
7
|
-
const RadioChildren = (props) => {
|
8
|
-
|
9
|
-
|
10
|
-
const options = [
|
11
|
-
{ label: 'Orange', value: '#FFA500' },
|
12
|
-
{ label: 'Red', value: '#FF0000' },
|
13
|
-
{ label: 'Green', value: '#00FF00' },
|
14
|
-
{ label: 'Blue', value: '#0000FF' },
|
15
|
-
]
|
16
|
-
|
17
|
-
return (
|
18
|
-
<div>
|
19
|
-
<Radio
|
20
|
-
label="Power"
|
21
|
-
name="Group2"
|
22
|
-
tabIndex={0}
|
23
|
-
value="Power"
|
24
|
-
{...props}
|
25
|
-
>
|
26
|
-
<Dropdown options={options}/>
|
27
|
-
</Radio>
|
28
|
-
<br />
|
29
|
-
<Radio
|
30
|
-
defaultChecked={false}
|
31
|
-
label="Nitro"
|
32
|
-
name="Group2"
|
33
|
-
value="Nitro"
|
34
|
-
{...props}
|
35
|
-
>
|
36
|
-
<Typeahead options={options} />
|
37
|
-
</Radio>
|
38
|
-
<br />
|
39
|
-
<Radio
|
40
|
-
defaultChecked={false}
|
41
|
-
label="Google"
|
42
|
-
name="Group2"
|
43
|
-
value="Google"
|
44
|
-
{...props}
|
45
|
-
>
|
46
|
-
<Title text="Custom Typography" />
|
47
|
-
</Radio>
|
48
|
-
</div>
|
49
|
-
)
|
50
|
-
}
|
51
|
-
export default RadioChildren
|
@@ -1,132 +0,0 @@
|
|
1
|
-
@import "../tokens/border_radius";
|
2
|
-
@import "../tokens/colors";
|
3
|
-
@import "../tokens/spacing";
|
4
|
-
@import "../tokens/typography";
|
5
|
-
|
6
|
-
@mixin preview_first_child {
|
7
|
-
:first-child {
|
8
|
-
margin-top: 0;
|
9
|
-
}
|
10
|
-
}
|
11
|
-
|
12
|
-
@mixin preview_p {
|
13
|
-
margin: 1rem 0 0 0;
|
14
|
-
min-height: 1rem;
|
15
|
-
}
|
16
|
-
|
17
|
-
@mixin preview_code {
|
18
|
-
font-family: monospace;
|
19
|
-
background: $bg_light;
|
20
|
-
padding: 0.1rem 0.3rem;
|
21
|
-
box-shadow: 0 2px 10px $shadow;
|
22
|
-
border-radius: 0.25rem;
|
23
|
-
overflow: hidden;
|
24
|
-
}
|
25
|
-
|
26
|
-
@mixin preview_pre_codeblock {
|
27
|
-
display: inline-block;
|
28
|
-
width: 100%;
|
29
|
-
vertical-align: top;
|
30
|
-
font-family: monospace;
|
31
|
-
font-size: 0.9em;
|
32
|
-
padding: 0.5em;
|
33
|
-
overflow-x: auto;
|
34
|
-
background: $bg_dark;
|
35
|
-
padding: $space_sm;
|
36
|
-
border-radius: $border_rad_heaviest;
|
37
|
-
margin: 1.5rem 0 2rem 0;
|
38
|
-
|
39
|
-
code {
|
40
|
-
background: transparent !important;
|
41
|
-
box-shadow: none;
|
42
|
-
border: 0;
|
43
|
-
color: #faf6e4;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
@mixin preview_a {
|
48
|
-
color: $primary;
|
49
|
-
border-bottom: 1px solid $primary;
|
50
|
-
&:hover {
|
51
|
-
color: $text_lt_default;
|
52
|
-
border-bottom: 1px solid $text_lt_default;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
|
56
|
-
@mixin preview_blockquote {
|
57
|
-
font-size: $font_larger;
|
58
|
-
padding: $space_sm $space_md;
|
59
|
-
font-style: italic;
|
60
|
-
margin: 1rem 0 0 0;
|
61
|
-
p {
|
62
|
-
margin: 0;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
|
-
@mixin preview_h1 {
|
67
|
-
font-size: $text_largest;
|
68
|
-
line-height: $text_larger;
|
69
|
-
font-weight: $bolder;
|
70
|
-
letter-spacing: $lspace_tight;
|
71
|
-
margin: 2.1rem 0 0 0;
|
72
|
-
}
|
73
|
-
|
74
|
-
@mixin preview_h2 {
|
75
|
-
font-size: $text_larger;
|
76
|
-
line-height: $text_larger;
|
77
|
-
font-weight: $bolder;
|
78
|
-
letter-spacing: $lspace_tight;
|
79
|
-
margin: 1.9rem 0 0 0;
|
80
|
-
}
|
81
|
-
|
82
|
-
@mixin preview_h3 {
|
83
|
-
font-size: $text_large;
|
84
|
-
line-height: $text_large;
|
85
|
-
font-weight: $bolder;
|
86
|
-
letter-spacing: $lspace_tight;
|
87
|
-
margin: 1.7rem 0 0 0;
|
88
|
-
}
|
89
|
-
|
90
|
-
@mixin preview_smaller_headings {
|
91
|
-
font-size: $text_base;
|
92
|
-
line-height: $text_base;
|
93
|
-
letter-spacing: $lspace_tight;
|
94
|
-
font-weight: $bolder;
|
95
|
-
margin: 1rem 0 0 0;
|
96
|
-
}
|
97
|
-
|
98
|
-
@mixin preview_hr {
|
99
|
-
margin: 2.2rem 0;
|
100
|
-
box-sizing: content-box;
|
101
|
-
overflow: hidden;
|
102
|
-
background: transparent;
|
103
|
-
border-bottom: 1px solid $transparent;
|
104
|
-
height: 1px;
|
105
|
-
padding: 0;
|
106
|
-
background-color: $border_light;
|
107
|
-
border: 0;
|
108
|
-
}
|
109
|
-
|
110
|
-
@mixin preview_ol {
|
111
|
-
margin: 1rem 0 0 0;
|
112
|
-
padding-left: $space_md;
|
113
|
-
list-style: decimal;
|
114
|
-
li {
|
115
|
-
margin: 2px 0;
|
116
|
-
p {
|
117
|
-
margin: 0;
|
118
|
-
}
|
119
|
-
}
|
120
|
-
}
|
121
|
-
|
122
|
-
@mixin preview_ul {
|
123
|
-
list-style-position: disc;
|
124
|
-
margin: 1rem 0 0 0;
|
125
|
-
padding-left: $space_md;
|
126
|
-
li {
|
127
|
-
margin: 2px 0;
|
128
|
-
p {
|
129
|
-
margin: 0;
|
130
|
-
}
|
131
|
-
}
|
132
|
-
}
|
@@ -1,73 +0,0 @@
|
|
1
|
-
import React, { useState } from 'react'
|
2
|
-
import { Button, Card, RichTextEditor } from 'playbook-ui'
|
3
|
-
import { useEditor, EditorContent } from "@tiptap/react"
|
4
|
-
import StarterKit from "@tiptap/starter-kit"
|
5
|
-
import Link from '@tiptap/extension-link'
|
6
|
-
|
7
|
-
|
8
|
-
const RichTextEditorAdvancedPreview = (props) => {
|
9
|
-
|
10
|
-
const editor = useEditor({
|
11
|
-
extensions: [
|
12
|
-
StarterKit,
|
13
|
-
Link
|
14
|
-
],
|
15
|
-
content: "Add text here, format it, and press \"Preview Output\" to see what your stylized output will look like on the page."
|
16
|
-
})
|
17
|
-
|
18
|
-
const [showPreview, setShowPreview] = useState(false)
|
19
|
-
const [previewText, setPreviewText] = useState(<div />)
|
20
|
-
|
21
|
-
const handleChange = () => {
|
22
|
-
if (editor) {
|
23
|
-
setPreviewText(editor.getHTML())
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
const handleClick = () => {
|
28
|
-
handleChange()
|
29
|
-
setShowPreview(true)
|
30
|
-
}
|
31
|
-
if (!editor) {
|
32
|
-
return null
|
33
|
-
}
|
34
|
-
|
35
|
-
|
36
|
-
return (
|
37
|
-
<div>
|
38
|
-
<RichTextEditor
|
39
|
-
advancedEditor={editor}
|
40
|
-
id="content-advanced-preview-editor"
|
41
|
-
onChange={handleChange}
|
42
|
-
{...props}
|
43
|
-
>
|
44
|
-
<EditorContent editor={editor}/>
|
45
|
-
</RichTextEditor>
|
46
|
-
{showPreview && (
|
47
|
-
<Card
|
48
|
-
marginTop="md"
|
49
|
-
maxWidth="md"
|
50
|
-
>
|
51
|
-
<div
|
52
|
-
className="tiptap-content"
|
53
|
-
// eslint-disable-next-line react/no-danger
|
54
|
-
dangerouslySetInnerHTML={{ __html: previewText }}
|
55
|
-
id="advanced-preview-content"
|
56
|
-
/>
|
57
|
-
</Card>
|
58
|
-
)}
|
59
|
-
{!showPreview && (
|
60
|
-
<div />
|
61
|
-
)}
|
62
|
-
<Button
|
63
|
-
id="preview-button"
|
64
|
-
marginTop="md"
|
65
|
-
onClick={handleClick}
|
66
|
-
text="Preview Output"
|
67
|
-
variant="secondary"
|
68
|
-
/>
|
69
|
-
</div>
|
70
|
-
)
|
71
|
-
}
|
72
|
-
|
73
|
-
export default RichTextEditorAdvancedPreview
|
@@ -1,21 +0,0 @@
|
|
1
|
-
$container_0: 0% !default;
|
2
|
-
$container_xxs: 320px !default;
|
3
|
-
$container_xs: 360px !default;
|
4
|
-
$container_sm: 540px !default;
|
5
|
-
$container_md: 720px !default;
|
6
|
-
$container_lg: 960px !default;
|
7
|
-
$container_xl: 1140px !default;
|
8
|
-
$container_xxl: 1320px !default;
|
9
|
-
$container_100: 100% !default;
|
10
|
-
$containers: (
|
11
|
-
container_0: $container_0,
|
12
|
-
container_xxs: $container_xxs,
|
13
|
-
container_xs: $container_xs,
|
14
|
-
container_sm: $container_sm,
|
15
|
-
container_md: $container_md,
|
16
|
-
container_lg: $container_lg,
|
17
|
-
container_xl: $container_xl,
|
18
|
-
container_xxl: $container_xxl,
|
19
|
-
container_100: $container_100,
|
20
|
-
none: 0,
|
21
|
-
);
|
@@ -1,45 +0,0 @@
|
|
1
|
-
@import "../tokens/container";
|
2
|
-
|
3
|
-
.min_width_0 {
|
4
|
-
min-width: map-get($containers, 'none');
|
5
|
-
}
|
6
|
-
|
7
|
-
.min_with_0_percent {
|
8
|
-
min-width: $container_0;
|
9
|
-
}
|
10
|
-
|
11
|
-
.min_width_xxs {
|
12
|
-
min-width: $container_xxs;
|
13
|
-
}
|
14
|
-
|
15
|
-
.min_width_xs {
|
16
|
-
min-width: $container_xs;
|
17
|
-
}
|
18
|
-
|
19
|
-
.min_width_sm {
|
20
|
-
min-width: $container_sm;
|
21
|
-
}
|
22
|
-
|
23
|
-
.min_width_md {
|
24
|
-
min-width: $container_md;
|
25
|
-
}
|
26
|
-
|
27
|
-
.min_width_lg {
|
28
|
-
min-width: $container_lg;
|
29
|
-
}
|
30
|
-
|
31
|
-
.min_width_xl {
|
32
|
-
min-width: $container_xl;
|
33
|
-
}
|
34
|
-
|
35
|
-
.min_width_xxl {
|
36
|
-
min-width: $container_xxl;
|
37
|
-
}
|
38
|
-
|
39
|
-
.min_width_100_percent {
|
40
|
-
min-width: $container_100;
|
41
|
-
}
|
42
|
-
|
43
|
-
.minwidth-resize {
|
44
|
-
resize: horizontal;
|
45
|
-
}
|
@@ -1,59 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
|
3
|
-
const spinner = (
|
4
|
-
<svg
|
5
|
-
fill="none"
|
6
|
-
height="25"
|
7
|
-
viewBox="0 0 31 25"
|
8
|
-
width="31"
|
9
|
-
xmlns="http://www.w3.org/2000/svg"
|
10
|
-
>
|
11
|
-
<path d="M17.4043 1.85547C17.4043 2.69922 16.7012 3.35547 15.9043 3.35547C15.0605 3.35547 14.4043 2.69922 14.4043 1.85547C14.4043 1.05859 15.0605 0.355469 15.9043 0.355469C16.7012 0.355469 17.4043 1.05859 17.4043 1.85547ZM17.4043 22.8555C17.4043 23.6992 16.7012 24.3555 15.9043 24.3555C15.0605 24.3555 14.4043 23.6992 14.4043 22.8555C14.4043 22.0586 15.0605 21.3555 15.9043 21.3555C16.7012 21.3555 17.4043 22.0586 17.4043 22.8555ZM24.9043 12.3555C24.9043 11.5586 25.5605 10.8555 26.4043 10.8555C27.2012 10.8555 27.9043 11.5586 27.9043 12.3555C27.9043 13.1992 27.2012 13.8555 26.4043 13.8555C25.5605 13.8555 24.9043 13.1992 24.9043 12.3555ZM5.4043 13.8555C4.56055 13.8555 3.9043 13.1992 3.9043 12.3555C3.9043 11.5586 4.56055 10.8555 5.4043 10.8555C6.20117 10.8555 6.9043 11.5586 6.9043 12.3555C6.9043 13.1992 6.20117 13.8555 5.4043 13.8555ZM7.41992 20.8398C6.81055 20.2773 6.81055 19.3398 7.41992 18.7305C7.98242 18.168 8.91992 18.168 9.5293 18.7305C10.0918 19.3398 10.0918 20.2773 9.5293 20.8398C8.91992 21.4492 7.98242 21.4492 7.41992 20.8398ZM22.2324 20.8398C21.8574 20.5117 21.6699 19.9023 21.8105 19.3867C21.9512 18.8711 22.373 18.4492 22.8887 18.3086C23.4043 18.168 24.0137 18.3555 24.3887 18.7305C24.7637 19.1055 24.9512 19.668 24.8105 20.2305C24.6699 20.7461 24.248 21.168 23.7324 21.3086C23.1699 21.4492 22.6074 21.2617 22.2324 20.8398ZM7.41992 3.87109C7.98242 3.30859 8.91992 3.30859 9.5293 3.87109C10.0918 4.48047 10.0918 5.41797 9.5293 6.02734C8.91992 6.58984 7.98242 6.58984 7.41992 6.02734C6.81055 5.41797 6.81055 4.48047 7.41992 3.87109Z"
|
12
|
-
fill="#242B42"
|
13
|
-
/>
|
14
|
-
</svg>
|
15
|
-
)
|
16
|
-
|
17
|
-
const clock = (
|
18
|
-
<svg
|
19
|
-
fill="none"
|
20
|
-
height="25"
|
21
|
-
viewBox="0 0 31 25"
|
22
|
-
width="31"
|
23
|
-
xmlns="http://www.w3.org/2000/svg"
|
24
|
-
>
|
25
|
-
<path d="M25.1221 12C25.1221 8.53125 23.2471 5.34375 20.2471 3.5625C17.2002 1.82812 13.4971 1.82812 10.4971 3.5625C7.4502 5.34375 5.62207 8.53125 5.62207 12C5.62207 15.5156 7.4502 18.7031 10.4971 20.4844C13.4971 22.2188 17.2002 22.2188 20.2471 20.4844C23.2471 18.7031 25.1221 15.5156 25.1221 12ZM3.37207 12C3.37207 7.73438 5.62207 3.79688 9.37207 1.64062C13.0752 -0.515625 17.6221 -0.515625 21.3721 1.64062C25.0752 3.79688 27.3721 7.73438 27.3721 12C27.3721 16.3125 25.0752 20.25 21.3721 22.4062C17.6221 24.5625 13.0752 24.5625 9.37207 22.4062C5.62207 20.25 3.37207 16.3125 3.37207 12ZM14.2471 5.625C14.2471 5.01562 14.7158 4.5 15.3721 4.5C15.9814 4.5 16.4971 5.01562 16.4971 5.625V11.4375L20.4814 14.0625C20.9971 14.4375 21.1377 15.1406 20.8096 15.6562C20.4346 16.1719 19.7314 16.3125 19.2158 15.9375L14.7158 12.9375C14.4346 12.75 14.2471 12.375 14.2471 12V5.625Z"
|
26
|
-
fill="#242B42"
|
27
|
-
/>
|
28
|
-
</svg>
|
29
|
-
)
|
30
|
-
|
31
|
-
const times = (
|
32
|
-
<svg
|
33
|
-
fill="none"
|
34
|
-
height="25"
|
35
|
-
viewBox="0 0 31 25"
|
36
|
-
width="31"
|
37
|
-
xmlns="http://www.w3.org/2000/svg"
|
38
|
-
>
|
39
|
-
<path
|
40
|
-
d="M23.0762 6.77734L17.4512 12.4023L23.0293 17.9805C23.498 18.4023 23.498 19.1055 23.0293 19.5273C22.6074 19.9961 21.9043 19.9961 21.4824 19.5273L15.8574 13.9492L10.2793 19.5273C9.85742 19.9961 9.1543 19.9961 8.73242 19.5273C8.26367 19.1055 8.26367 18.4023 8.73242 17.9336L14.3105 12.3555L8.73242 6.77734C8.26367 6.35547 8.26367 5.65234 8.73242 5.18359C9.1543 4.76172 9.85742 4.76172 10.3262 5.18359L15.9043 10.8086L21.4824 5.23047C21.9043 4.76172 22.6074 4.76172 23.0762 5.23047C23.498 5.65234 23.498 6.35547 23.0762 6.77734Z"
|
41
|
-
fill="#242B42"
|
42
|
-
/>
|
43
|
-
</svg>
|
44
|
-
)
|
45
|
-
|
46
|
-
export const getAllIcons = () => {
|
47
|
-
|
48
|
-
return {
|
49
|
-
clock: {
|
50
|
-
icon: clock
|
51
|
-
},
|
52
|
-
spinner: {
|
53
|
-
icon: spinner
|
54
|
-
},
|
55
|
-
times: {
|
56
|
-
icon: times
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
<svg
|
2
|
-
fill="none"
|
3
|
-
height="25"
|
4
|
-
viewBox="0 0 31 25"
|
5
|
-
width="31"
|
6
|
-
xmlns="http://www.w3.org/2000/svg"
|
7
|
-
>
|
8
|
-
<path d="M25.1221 12C25.1221 8.53125 23.2471 5.34375 20.2471 3.5625C17.2002 1.82812 13.4971 1.82812 10.4971 3.5625C7.4502 5.34375 5.62207 8.53125 5.62207 12C5.62207 15.5156 7.4502 18.7031 10.4971 20.4844C13.4971 22.2188 17.2002 22.2188 20.2471 20.4844C23.2471 18.7031 25.1221 15.5156 25.1221 12ZM3.37207 12C3.37207 7.73438 5.62207 3.79688 9.37207 1.64062C13.0752 -0.515625 17.6221 -0.515625 21.3721 1.64062C25.0752 3.79688 27.3721 7.73438 27.3721 12C27.3721 16.3125 25.0752 20.25 21.3721 22.4062C17.6221 24.5625 13.0752 24.5625 9.37207 22.4062C5.62207 20.25 3.37207 16.3125 3.37207 12ZM14.2471 5.625C14.2471 5.01562 14.7158 4.5 15.3721 4.5C15.9814 4.5 16.4971 5.01562 16.4971 5.625V11.4375L20.4814 14.0625C20.9971 14.4375 21.1377 15.1406 20.8096 15.6562C20.4346 16.1719 19.7314 16.3125 19.2158 15.9375L14.7158 12.9375C14.4346 12.75 14.2471 12.375 14.2471 12V5.625Z" fill="#242B42" />
|
9
|
-
</svg>
|
@@ -1,3 +0,0 @@
|
|
1
|
-
<svg width="31" height="25" viewBox="0 0 31 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
-
<path d="M17.4043 1.85547C17.4043 2.69922 16.7012 3.35547 15.9043 3.35547C15.0605 3.35547 14.4043 2.69922 14.4043 1.85547C14.4043 1.05859 15.0605 0.355469 15.9043 0.355469C16.7012 0.355469 17.4043 1.05859 17.4043 1.85547ZM17.4043 22.8555C17.4043 23.6992 16.7012 24.3555 15.9043 24.3555C15.0605 24.3555 14.4043 23.6992 14.4043 22.8555C14.4043 22.0586 15.0605 21.3555 15.9043 21.3555C16.7012 21.3555 17.4043 22.0586 17.4043 22.8555ZM24.9043 12.3555C24.9043 11.5586 25.5605 10.8555 26.4043 10.8555C27.2012 10.8555 27.9043 11.5586 27.9043 12.3555C27.9043 13.1992 27.2012 13.8555 26.4043 13.8555C25.5605 13.8555 24.9043 13.1992 24.9043 12.3555ZM5.4043 13.8555C4.56055 13.8555 3.9043 13.1992 3.9043 12.3555C3.9043 11.5586 4.56055 10.8555 5.4043 10.8555C6.20117 10.8555 6.9043 11.5586 6.9043 12.3555C6.9043 13.1992 6.20117 13.8555 5.4043 13.8555ZM7.41992 20.8398C6.81055 20.2773 6.81055 19.3398 7.41992 18.7305C7.98242 18.168 8.91992 18.168 9.5293 18.7305C10.0918 19.3398 10.0918 20.2773 9.5293 20.8398C8.91992 21.4492 7.98242 21.4492 7.41992 20.8398ZM22.2324 20.8398C21.8574 20.5117 21.6699 19.9023 21.8105 19.3867C21.9512 18.8711 22.373 18.4492 22.8887 18.3086C23.4043 18.168 24.0137 18.3555 24.3887 18.7305C24.7637 19.1055 24.9512 19.668 24.8105 20.2305C24.6699 20.7461 24.248 21.168 23.7324 21.3086C23.1699 21.4492 22.6074 21.2617 22.2324 20.8398ZM7.41992 3.87109C7.98242 3.30859 8.91992 3.30859 9.5293 3.87109C10.0918 4.48047 10.0918 5.41797 9.5293 6.02734C8.91992 6.58984 7.98242 6.58984 7.41992 6.02734C6.81055 5.41797 6.81055 4.48047 7.41992 3.87109Z" fill="#242B42"/>
|
3
|
-
</svg>
|
@@ -1,3 +0,0 @@
|
|
1
|
-
<svg width="31" height="25" viewBox="0 0 31 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
-
<path d="M23.0762 6.77734L17.4512 12.4023L23.0293 17.9805C23.498 18.4023 23.498 19.1055 23.0293 19.5273C22.6074 19.9961 21.9043 19.9961 21.4824 19.5273L15.8574 13.9492L10.2793 19.5273C9.85742 19.9961 9.1543 19.9961 8.73242 19.5273C8.26367 19.1055 8.26367 18.4023 8.73242 17.9336L14.3105 12.3555L8.73242 6.77734C8.26367 6.35547 8.26367 5.65234 8.73242 5.18359C9.1543 4.76172 9.85742 4.76172 10.3262 5.18359L15.9043 10.8086L21.4824 5.23047C21.9043 4.76172 22.6074 4.76172 23.0762 5.23047C23.498 5.65234 23.498 6.35547 23.0762 6.77734Z" fill="#242B42"/>
|
3
|
-
</svg>
|