pebble-web 3.0.0-alpha.0 → 3.0.0-alpha.1
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.
- package/dist/components/typings/Button.d.ts +1 -0
- package/dist/components/typings/Calendar.d.ts +1 -0
- package/dist/components/typings/CheckboxGroup.d.ts +1 -0
- package/dist/components/typings/Control.d.ts +1 -0
- package/dist/components/typings/DateInput.d.ts +1 -0
- package/dist/components/typings/Dropdown.d.ts +1 -0
- package/dist/components/typings/Input.d.ts +1 -0
- package/dist/components/typings/Loader.d.ts +1 -0
- package/dist/components/typings/Message.d.ts +1 -0
- package/dist/components/typings/OptionGroup.d.ts +1 -0
- package/dist/components/typings/OptionGroupCheckBox.d.ts +1 -0
- package/dist/components/typings/OptionGroupRadio.d.ts +1 -0
- package/dist/components/typings/PhoneNumberInput.d.ts +1 -0
- package/dist/components/typings/PopUp.d.ts +1 -0
- package/dist/components/typings/RadioGroup.d.ts +1 -0
- package/dist/components/typings/Search.d.ts +1 -0
- package/dist/components/typings/SecondaryInput.d.ts +1 -0
- package/dist/components/typings/Select.d.ts +1 -0
- package/dist/components/typings/Text.d.ts +1 -0
- package/dist/components/typings/Typeahead.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/pebble-web.dev.js +401 -179
- package/dist/pebble-web.dev.js.map +1 -1
- package/dist/pebble-web.es.dev.js +283 -85
- package/dist/pebble-web.es.dev.js.map +1 -1
- package/dist/pebble-web.es.js +277 -79
- package/dist/pebble-web.es.js.map +1 -1
- package/dist/pebble-web.js +395 -173
- package/dist/pebble-web.js.map +1 -1
- package/dist/pebble-web.module.dev.js +390 -180
- package/dist/pebble-web.module.dev.js.map +1 -1
- package/dist/pebble-web.module.js +384 -174
- package/dist/pebble-web.module.js.map +1 -1
- package/dist/pebble-web.umd.dev.js +409 -181
- package/dist/pebble-web.umd.dev.js.map +1 -1
- package/dist/pebble-web.umd.js +403 -175
- package/dist/pebble-web.umd.js.map +1 -1
- package/dist/utils/animation.d.ts +2 -19
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/testIds.d.ts +65 -0
- package/dist/utils/useragent/index.d.ts +1 -2
- package/package.json +3 -4
- package/src/components/Button.tsx +3 -1
- package/src/components/Calendar.tsx +28 -4
- package/src/components/CheckboxGroup.tsx +13 -3
- package/src/components/DateInput.tsx +3 -1
- package/src/components/DropDown.tsx +3 -1
- package/src/components/Input.tsx +15 -3
- package/src/components/Loader.tsx +3 -1
- package/src/components/Logo.tsx +22 -15
- package/src/components/Message.tsx +3 -1
- package/src/components/NativeDateInput.tsx +2 -1
- package/src/components/OptionGroupCheckBox.tsx +14 -2
- package/src/components/PhoneNumberInput.tsx +7 -1
- package/src/components/PopUp.tsx +7 -1
- package/src/components/RadioGroup.tsx +24 -4
- package/src/components/Search.tsx +3 -1
- package/src/components/SecondaryInput.tsx +9 -2
- package/src/components/Select.tsx +13 -1
- package/src/components/Tabs.tsx +1 -1
- package/src/components/Text.tsx +7 -2
- package/src/components/TimePicker.tsx +2 -2
- package/src/components/Toast.tsx +2 -2
- package/src/components/TypeAhead.tsx +14 -3
- package/src/components/__tests__/__snapshots__/checkboxGroup.test.tsx.snap +88 -0
- package/src/components/__tests__/__snapshots__/logo.test.tsx.snap +55 -12
- package/src/components/__tests__/__snapshots__/optionGroup.test.tsx.snap +0 -3
- package/src/components/__tests__/__snapshots__/select.test.tsx.snap +3 -0
- package/src/components/__tests__/__snapshots__/timepicker.test.tsx.snap +18 -18
- package/src/components/__tests__/calendar.test.tsx +6 -24
- package/src/components/__tests__/checkboxGroup.test.tsx +39 -8
- package/src/components/__tests__/select.test.tsx +19 -30
- package/src/components/__tests__/timepicker.test.tsx +4 -14
- package/src/components/shared/Control.tsx +3 -1
- package/src/components/shared/MountTransition.tsx +7 -3
- package/src/components/shared/OptionGroup.tsx +23 -5
- package/src/components/typings/Button.ts +1 -0
- package/src/components/typings/Calendar.ts +1 -0
- package/src/components/typings/CheckboxGroup.ts +1 -0
- package/src/components/typings/Control.ts +1 -0
- package/src/components/typings/DateInput.ts +1 -0
- package/src/components/typings/Dropdown.ts +1 -0
- package/src/components/typings/Input.ts +1 -0
- package/src/components/typings/Loader.ts +1 -0
- package/src/components/typings/Message.ts +1 -0
- package/src/components/typings/OptionGroup.ts +1 -0
- package/src/components/typings/OptionGroupCheckBox.ts +1 -0
- package/src/components/typings/OptionGroupRadio.ts +1 -0
- package/src/components/typings/PhoneNumberInput.ts +1 -0
- package/src/components/typings/PopUp.ts +1 -0
- package/src/components/typings/RadioGroup.ts +1 -0
- package/src/components/typings/Search.ts +1 -0
- package/src/components/typings/SecondaryInput.ts +1 -0
- package/src/components/typings/Select.ts +1 -0
- package/src/components/typings/Text.ts +1 -0
- package/src/components/typings/Typeahead.ts +1 -0
- package/src/index.ts +1 -0
- package/src/utils/animation.ts +3 -3
- package/src/utils/index.ts +1 -0
- package/src/utils/testIds.ts +119 -0
- package/src/utils/useragent/index.tsx +1 -1
- package/src/.DS_Store +0 -0
|
@@ -27,7 +27,8 @@ class Search extends React.PureComponent<SearchProps> {
|
|
|
27
27
|
className,
|
|
28
28
|
clearable,
|
|
29
29
|
value,
|
|
30
|
-
loading
|
|
30
|
+
loading,
|
|
31
|
+
testId
|
|
31
32
|
} = this.props;
|
|
32
33
|
|
|
33
34
|
const wrapperClassName = cx(searchWrapperStyle, {
|
|
@@ -50,6 +51,7 @@ class Search extends React.PureComponent<SearchProps> {
|
|
|
50
51
|
ref={this.searchInputRef}
|
|
51
52
|
value={value}
|
|
52
53
|
{...inputProps}
|
|
54
|
+
data-testid={testId}
|
|
53
55
|
/>
|
|
54
56
|
{loading && <Loader scale={0.4} color={colors.violet.base} />}
|
|
55
57
|
{clearable && (
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
messageStyle,
|
|
13
13
|
placeholderStyle
|
|
14
14
|
} from "./styles/SecondaryInput.styles";
|
|
15
|
+
import { getMessageTestId } from "../utils/testIds";
|
|
15
16
|
import {
|
|
16
17
|
SecondaryInputProps,
|
|
17
18
|
SecondaryInputState
|
|
@@ -76,7 +77,8 @@ export default class SecondaryInput extends React.PureComponent<
|
|
|
76
77
|
message,
|
|
77
78
|
readOnly,
|
|
78
79
|
loading,
|
|
79
|
-
className
|
|
80
|
+
className,
|
|
81
|
+
testId
|
|
80
82
|
} = this.props;
|
|
81
83
|
const { isFocused } = this.state;
|
|
82
84
|
|
|
@@ -119,7 +121,11 @@ export default class SecondaryInput extends React.PureComponent<
|
|
|
119
121
|
onFocus={this.addFocus}
|
|
120
122
|
onBlur={this.removeFocus}
|
|
121
123
|
>
|
|
122
|
-
<input
|
|
124
|
+
<input
|
|
125
|
+
{..._inputProps}
|
|
126
|
+
{...this.props.inputProps}
|
|
127
|
+
data-testid={testId}
|
|
128
|
+
/>
|
|
123
129
|
<label className={placeholderClassName}>
|
|
124
130
|
{placeholder}
|
|
125
131
|
{required && (
|
|
@@ -134,6 +140,7 @@ export default class SecondaryInput extends React.PureComponent<
|
|
|
134
140
|
{_message && (
|
|
135
141
|
<div
|
|
136
142
|
className={messageStyle}
|
|
143
|
+
data-testid={testId ? getMessageTestId(testId) : undefined}
|
|
137
144
|
style={{ color: getColor(errorMessage, successMessage) }}
|
|
138
145
|
>
|
|
139
146
|
{_message}
|
|
@@ -16,6 +16,7 @@ import DropDown from "./DropDown";
|
|
|
16
16
|
import Input from "./Input";
|
|
17
17
|
import OptionGroupCheckBox from "./OptionGroupCheckBox";
|
|
18
18
|
import OptionGroupRadio from "./OptionGroupRadio";
|
|
19
|
+
import { getSelectInputTestIds, getTestIds } from "../utils/testIds";
|
|
19
20
|
|
|
20
21
|
function noop() {}
|
|
21
22
|
|
|
@@ -34,9 +35,17 @@ function Select<OptionType>(props: SelectProps<OptionType>) {
|
|
|
34
35
|
disabled,
|
|
35
36
|
isSelected,
|
|
36
37
|
placement,
|
|
37
|
-
modifiers
|
|
38
|
+
modifiers,
|
|
39
|
+
testId
|
|
38
40
|
} = props;
|
|
39
41
|
|
|
42
|
+
const singleSelectTestIds = getTestIds(testId, id =>
|
|
43
|
+
getSelectInputTestIds(id, false)
|
|
44
|
+
);
|
|
45
|
+
const multiSelectTestIds = getTestIds(testId, id =>
|
|
46
|
+
getSelectInputTestIds(id, true)
|
|
47
|
+
);
|
|
48
|
+
|
|
40
49
|
return (
|
|
41
50
|
<div
|
|
42
51
|
className={cx(selectWrapper, className, {
|
|
@@ -68,6 +77,7 @@ function Select<OptionType>(props: SelectProps<OptionType>) {
|
|
|
68
77
|
onDropdownToggle(isOpen);
|
|
69
78
|
}
|
|
70
79
|
}
|
|
80
|
+
data-testid={singleSelectTestIds.inputId}
|
|
71
81
|
>
|
|
72
82
|
<Input
|
|
73
83
|
className={selectInputWrapper}
|
|
@@ -153,6 +163,7 @@ function Select<OptionType>(props: SelectProps<OptionType>) {
|
|
|
153
163
|
})
|
|
154
164
|
}
|
|
155
165
|
{...commonProps}
|
|
166
|
+
testId={multiSelectTestIds.optionGroupId}
|
|
156
167
|
>
|
|
157
168
|
{children}
|
|
158
169
|
</OptionGroupCheckBox>
|
|
@@ -167,6 +178,7 @@ function Select<OptionType>(props: SelectProps<OptionType>) {
|
|
|
167
178
|
toggle();
|
|
168
179
|
}}
|
|
169
180
|
{...commonProps}
|
|
181
|
+
testId={singleSelectTestIds.optionGroupId}
|
|
170
182
|
>
|
|
171
183
|
{children}
|
|
172
184
|
</OptionGroupRadio>
|
package/src/components/Tabs.tsx
CHANGED
package/src/components/Text.tsx
CHANGED
|
@@ -7,14 +7,19 @@ const Text: React.FunctionComponent<TextProps> = ({
|
|
|
7
7
|
typography,
|
|
8
8
|
color = colors.gray.darker,
|
|
9
9
|
children,
|
|
10
|
-
className
|
|
10
|
+
className,
|
|
11
|
+
testId
|
|
11
12
|
}) => {
|
|
12
13
|
const _className = css({
|
|
13
14
|
...typography,
|
|
14
15
|
color
|
|
15
16
|
});
|
|
16
17
|
|
|
17
|
-
return
|
|
18
|
+
return (
|
|
19
|
+
<span className={cx(_className, className)} data-testid={testId}>
|
|
20
|
+
{children}
|
|
21
|
+
</span>
|
|
22
|
+
);
|
|
18
23
|
};
|
|
19
24
|
|
|
20
25
|
export default Text;
|
|
@@ -78,7 +78,7 @@ const TimePicker: React.FunctionComponent<TimePickerProps> = props => {
|
|
|
78
78
|
toggleDropdown();
|
|
79
79
|
}}
|
|
80
80
|
className={buttonStyle}
|
|
81
|
-
data-
|
|
81
|
+
data-testid="hour-label"
|
|
82
82
|
>
|
|
83
83
|
<span className={css({ marginRight: "15px" })}>
|
|
84
84
|
{selectedHour !== undefined
|
|
@@ -128,7 +128,7 @@ const TimePicker: React.FunctionComponent<TimePickerProps> = props => {
|
|
|
128
128
|
toggleDropdown();
|
|
129
129
|
}}
|
|
130
130
|
className={buttonStyle}
|
|
131
|
-
data-
|
|
131
|
+
data-testid="minute-label"
|
|
132
132
|
>
|
|
133
133
|
<span className={css({ marginRight: "15px" })}>
|
|
134
134
|
{selectedMinute !== undefined
|
package/src/components/Toast.tsx
CHANGED
|
@@ -124,12 +124,12 @@ class Toast extends React.PureComponent<ToastProps, ToastState> {
|
|
|
124
124
|
};
|
|
125
125
|
|
|
126
126
|
componentDidMount() {
|
|
127
|
-
emitter.on<EventType>("showToast", this.show);
|
|
127
|
+
emitter.on<EventType>("showToast", e => e && this.show(e));
|
|
128
128
|
emitter.on<EventType>("hideToast", this.hide);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
componentWillUnmount() {
|
|
132
|
-
emitter.off<EventType>("showToast", this.show);
|
|
132
|
+
emitter.off<EventType>("showToast", e => e && this.show(e));
|
|
133
133
|
emitter.off("hideToast", this.hide);
|
|
134
134
|
}
|
|
135
135
|
|
|
@@ -12,6 +12,7 @@ import OutsideClick from "./OutsideClick";
|
|
|
12
12
|
import OptionGroupRadio from "./OptionGroupRadio";
|
|
13
13
|
import { animated } from "react-spring";
|
|
14
14
|
import MountTransition from "./shared/MountTransition";
|
|
15
|
+
import { getTestIds, getTypeaheadTestIds } from "../utils/testIds";
|
|
15
16
|
|
|
16
17
|
function defaultSearchBox<OptionType>(
|
|
17
18
|
{ registerChange, onFocus, value }: SearchBoxArgs,
|
|
@@ -44,6 +45,7 @@ function defaultSearchBox<OptionType>(
|
|
|
44
45
|
loading={props.loading}
|
|
45
46
|
required={props.required}
|
|
46
47
|
disabled={props.disabled}
|
|
48
|
+
testId={props.testId}
|
|
47
49
|
/>
|
|
48
50
|
);
|
|
49
51
|
}
|
|
@@ -97,9 +99,12 @@ export default class TypeAhead<OptionType> extends React.PureComponent<
|
|
|
97
99
|
className,
|
|
98
100
|
searchBox = defaultSearchBox,
|
|
99
101
|
dropdownClassName,
|
|
100
|
-
children
|
|
102
|
+
children,
|
|
103
|
+
testId
|
|
101
104
|
} = this.props;
|
|
102
105
|
|
|
106
|
+
const testIds = getTestIds(testId, getTypeaheadTestIds);
|
|
107
|
+
|
|
103
108
|
const { showSuggestions, value } = this.state;
|
|
104
109
|
|
|
105
110
|
return (
|
|
@@ -118,7 +123,10 @@ export default class TypeAhead<OptionType> extends React.PureComponent<
|
|
|
118
123
|
onFocus: this.onFocus,
|
|
119
124
|
value
|
|
120
125
|
},
|
|
121
|
-
|
|
126
|
+
{
|
|
127
|
+
...this.props,
|
|
128
|
+
testId: testIds.searchBoxId
|
|
129
|
+
}
|
|
122
130
|
)}
|
|
123
131
|
|
|
124
132
|
<MountTransition visible={showSuggestions}>
|
|
@@ -127,7 +135,10 @@ export default class TypeAhead<OptionType> extends React.PureComponent<
|
|
|
127
135
|
style={transitionStyles}
|
|
128
136
|
className={cx(optionsWrapper, dropdownClassName)}
|
|
129
137
|
>
|
|
130
|
-
<OptionGroupRadio
|
|
138
|
+
<OptionGroupRadio
|
|
139
|
+
onChange={this.onSelect}
|
|
140
|
+
testId={testIds.optionGroupId}
|
|
141
|
+
>
|
|
131
142
|
{children}
|
|
132
143
|
</OptionGroupRadio>
|
|
133
144
|
</animated.div>
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`CheckboxGroup snapshot 1`] = `
|
|
4
|
+
.emotion-0 {
|
|
5
|
+
margin-right: 10px;
|
|
6
|
+
font-size: 16px;
|
|
7
|
+
padding-top: 2px;
|
|
8
|
+
height: 18px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.emotion-1 {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
display: -webkit-box;
|
|
14
|
+
display: -webkit-flex;
|
|
15
|
+
display: -ms-flexbox;
|
|
16
|
+
display: flex;
|
|
17
|
+
outline: none;
|
|
18
|
+
padding: 10px 0;
|
|
19
|
+
position: relative;
|
|
20
|
+
-webkit-align-items: center;
|
|
21
|
+
-webkit-box-align: center;
|
|
22
|
+
-ms-flex-align: center;
|
|
23
|
+
align-items: center;
|
|
24
|
+
font-weight: 400;
|
|
25
|
+
color: #101721;
|
|
26
|
+
font-size: 14px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.emotion-1[data-disabled='true'] {
|
|
30
|
+
cursor: not-allowed;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.emotion-1[data-disabled='true'] .i {
|
|
34
|
+
color: #E0E0E0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
<div
|
|
38
|
+
aria-label="test"
|
|
39
|
+
role="checkboxgroup"
|
|
40
|
+
>
|
|
41
|
+
<div
|
|
42
|
+
aria-checked={false}
|
|
43
|
+
className="emotion-1"
|
|
44
|
+
data-testid="checkbox-group-0"
|
|
45
|
+
onClick={[Function]}
|
|
46
|
+
role="checkbox"
|
|
47
|
+
tabIndex={-1}
|
|
48
|
+
>
|
|
49
|
+
<div
|
|
50
|
+
className="emotion-0"
|
|
51
|
+
>
|
|
52
|
+
<i
|
|
53
|
+
className="pi pi-checkbox-unselected"
|
|
54
|
+
style={
|
|
55
|
+
Object {
|
|
56
|
+
"color": "#E0E0E0",
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
/>
|
|
60
|
+
</div>
|
|
61
|
+
|
|
62
|
+
I am a checkbox
|
|
63
|
+
</div>
|
|
64
|
+
<div
|
|
65
|
+
aria-checked={true}
|
|
66
|
+
className="emotion-1"
|
|
67
|
+
data-testid="checkbox-group-1"
|
|
68
|
+
onClick={[Function]}
|
|
69
|
+
role="checkbox"
|
|
70
|
+
tabIndex={0}
|
|
71
|
+
>
|
|
72
|
+
<div
|
|
73
|
+
className="emotion-0"
|
|
74
|
+
>
|
|
75
|
+
<i
|
|
76
|
+
className="pi pi-checkbox-selected"
|
|
77
|
+
style={
|
|
78
|
+
Object {
|
|
79
|
+
"color": "#6161FF",
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
/>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
I am a checkbox
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
`;
|
|
@@ -10,24 +10,67 @@ exports[`Logo snapshot 1`] = `
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
version="1.1"
|
|
13
|
-
viewBox="0 0
|
|
13
|
+
viewBox="0 0 896 240"
|
|
14
14
|
xmlSpace="preserve"
|
|
15
|
-
|
|
15
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
16
16
|
>
|
|
17
17
|
<path
|
|
18
|
-
|
|
19
|
-
d="M168.92 65.96l-66.1-64.85v100.61h17.39V40.78l66.11 64.56V4.73h-17.4v61.23zm446.77-18.51L653.4 4.73h-20.6l-41.04 46.48V4.73h-17.4v96.99h17.4V73.34L604 59.84l30.19 41.88h20.33l-38.83-54.27zM422.66 2.92c-27.78 0-50.31 22.53-50.31 50.31s22.52 50.3 50.31 50.3c27.78 0 50.3-22.52 50.3-50.3s-22.52-50.31-50.3-50.31zm0 84.84c-19.05 0-34.54-15.49-34.54-34.53s15.49-34.54 34.54-34.54c19.04 0 34.54 15.49 34.54 34.54 0 19.04-15.5 34.53-34.54 34.53zM0 101.72h18.38L27 82.93h41.75l8.63 18.79h18.51L48.02 0 0 101.72zM33.55 67.9l14.32-31.58L62.21 67.9H33.55zm159.61 33.82h18.37l8.62-18.79h41.75l8.62 18.79h18.51L241.16 0l-48 101.72zm33.53-33.82l14.33-31.58 14.33 31.58h-28.66zm138.43-32.42c0-8.76-3.07-16-9.19-21.84-6.12-5.99-13.5-8.91-22.26-8.91h-37.71v96.99h17.4V67.21h17.25l20.73 34.51h19.62l-23.51-38.68c10.57-4.46 17.67-14.89 17.67-27.56zm-33.25 16.15h-18.51V20.46h19.9c8.34 0 14.6 6.4 14.6 15.31 0 9.32-6.54 15.86-15.99 15.86zm197.61-32.94c9.22 0 17.9 3.59 24.42 10.12l11.15-11.15c-9.82-9.83-22.7-14.74-35.57-14.74-12.87 0-25.75 4.91-35.56 14.74-19.65 19.64-19.65 51.49 0 71.14 9.82 9.82 22.69 14.73 35.56 14.73 12.87 0 25.75-4.91 35.57-14.73L553.9 77.65c-6.52 6.52-15.2 10.11-24.42 10.11-9.23 0-17.89-3.59-24.42-10.11-13.46-13.46-13.46-35.37 0-48.84 6.53-6.52 15.2-10.12 24.42-10.12z"
|
|
18
|
+
d="M724.793 25.5855C737.421 25.5855 749.287 30.5009 758.217 39.4306L773.482 24.1653C760.041 10.7247 742.412 3.9979 724.793 3.9979C707.167 3.9979 689.548 10.7247 676.104 24.1653C649.213 51.0595 649.213 94.6559 676.104 121.55C689.548 134.997 707.167 141.718 724.793 141.718C742.412 141.718 760.041 134.997 773.482 121.55L758.217 106.282C749.287 115.211 737.421 120.127 724.793 120.127C712.164 120.127 700.292 115.211 691.369 106.282C672.938 87.8567 672.938 57.862 691.369 39.4306C700.292 30.5009 712.164 25.5855 724.793 25.5855ZM454.269 70.6648H428.936V27.9989H456.173C467.598 27.9989 476.175 36.7608 476.175 48.9553C476.175 61.7153 467.223 70.6648 454.269 70.6648ZM499.795 48.574C499.795 36.5735 495.603 26.6639 487.219 18.668C478.842 10.4748 468.748 6.47692 456.741 6.47692H405.123V139.238H428.936V91.9992H452.549L480.936 139.238H507.798L475.6 86.2818C490.076 80.1928 499.795 65.9106 499.795 48.574ZM310.299 92.9528L329.921 49.7214L349.542 92.9528H310.299ZM264.398 139.238H289.54L301.346 113.525H358.495L370.302 139.238H395.634L330.108 -0.000120201L264.398 139.238ZM578.561 120.127C552.499 120.127 531.292 98.9234 531.292 72.8609C531.292 46.7919 552.499 25.5855 578.561 25.5855C604.63 25.5855 625.836 46.7919 625.836 72.8609C625.836 98.9234 604.63 120.127 578.561 120.127ZM578.561 3.9979C540.528 3.9979 509.705 34.8243 509.705 72.8609C509.705 110.888 540.528 141.718 578.561 141.718C616.594 141.718 647.424 110.888 647.424 72.8609C647.424 34.8243 616.594 3.9979 578.561 3.9979ZM842.789 64.9504L894.414 6.47692H866.221L810.029 70.096V6.47692H786.216V139.238H810.029V100.383L826.797 81.909L868.128 139.238H895.933L842.789 64.9504ZM231.211 90.2831L140.73 1.5221V139.238H164.544V55.8104L255.018 144.19V6.47692H231.211"
|
|
20
19
|
/>
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
<path
|
|
21
|
+
d="M0 175.342H895.934V169.516H0V175.342Z"
|
|
22
|
+
/>
|
|
23
|
+
<path
|
|
24
|
+
d="M123.257 205.481H131.5L140.374 229.384L149.244 205.481H157.289L143.566 239.661H136.981"
|
|
25
|
+
/>
|
|
26
|
+
<path
|
|
27
|
+
d="M185.313 225.215L180.802 214.207L176.295 225.215H185.313ZM177.459 205.241H184.34L198.889 239.418H191.08L187.98 231.807H173.628L170.525 239.418H162.91"
|
|
28
|
+
/>
|
|
29
|
+
<path
|
|
30
|
+
d="M210.792 205.481H218.255V232.632H235.178V239.421H210.792"
|
|
31
|
+
/>
|
|
32
|
+
<path
|
|
33
|
+
d="M261.157 239.951C256.6 239.951 253.013 238.691 250.396 236.17C247.779 233.648 246.467 229.887 246.467 224.876V205.478H253.933V224.679C253.933 227.46 254.578 229.555 255.873 230.959C257.165 232.363 258.957 233.066 261.252 233.066C263.55 233.066 265.342 232.386 266.634 231.034C267.923 229.67 268.577 227.638 268.577 224.922V205.478H276.041V224.633C276.041 227.217 275.689 229.463 274.998 231.37C274.301 233.28 273.308 234.871 272.016 236.144C270.724 237.422 269.156 238.373 267.311 239.007C265.47 239.635 263.419 239.951 261.157 239.951Z"
|
|
34
|
+
/>
|
|
35
|
+
<path
|
|
36
|
+
d="M291.032 205.481H316.581V212.126H298.4V219.011H314.401V225.649H298.4V232.78H316.825V239.421H291.032"
|
|
37
|
+
/>
|
|
38
|
+
<path
|
|
39
|
+
d="M342.69 239.905C340.106 239.905 337.567 239.458 335.082 238.57C332.59 237.682 330.328 236.318 328.292 234.477L332.705 229.193C334.253 230.449 335.848 231.455 337.482 232.195C339.109 232.941 340.898 233.309 342.835 233.309C344.386 233.309 345.59 233.03 346.445 232.464C347.303 231.896 347.737 231.113 347.737 230.11V230.015C347.737 229.528 347.641 229.101 347.467 228.729C347.286 228.358 346.948 228.009 346.445 227.687C345.945 227.365 345.251 227.039 344.36 226.717C343.476 226.395 342.322 226.057 340.898 225.698C339.182 225.281 337.633 224.81 336.242 224.294C334.855 223.778 333.671 223.14 332.705 222.377C331.728 221.618 330.982 220.674 330.449 219.537C329.917 218.412 329.647 217.005 329.647 215.325V215.226C329.647 213.678 329.936 212.274 330.518 211.035C331.094 209.785 331.903 208.717 332.945 207.809C333.99 206.905 335.24 206.208 336.69 205.725C338.136 205.245 339.734 204.995 341.48 204.995C343.965 204.995 346.257 205.366 348.338 206.109C350.423 206.859 352.34 207.924 354.079 209.312L350.202 214.94C348.683 213.901 347.201 213.086 345.744 212.488C344.291 211.889 342.834 211.59 341.381 211.59C339.928 211.59 338.837 211.88 338.11 212.438C337.38 213.007 337.018 213.708 337.018 214.549V214.648C337.018 215.197 337.12 215.67 337.334 216.075C337.544 216.482 337.923 216.844 338.472 217.166C339.024 217.488 339.774 217.797 340.727 218.087C341.677 218.379 342.884 218.721 344.34 219.106C346.05 219.556 347.582 220.066 348.92 220.632C350.262 221.2 351.393 221.874 352.313 222.67C353.234 223.462 353.928 224.386 354.398 225.455C354.865 226.523 355.105 227.802 355.105 229.285V229.387C355.105 231.067 354.799 232.553 354.187 233.868C353.576 235.177 352.724 236.275 351.636 237.169C350.541 238.057 349.239 238.731 347.727 239.201C346.208 239.671 344.534 239.905 342.69 239.905Z"
|
|
40
|
+
/>
|
|
41
|
+
<path
|
|
42
|
+
d="M406.346 233.119C407.835 233.119 409.206 232.842 410.469 232.29C411.728 231.744 412.8 230.988 413.691 230.012C414.578 229.042 415.272 227.92 415.775 226.642C416.275 225.369 416.528 224.001 416.528 222.545V222.45C416.528 220.993 416.275 219.625 415.775 218.33C415.272 217.038 414.562 215.904 413.641 214.94C412.718 213.967 411.629 213.198 410.37 212.632C409.108 212.07 407.733 211.787 406.247 211.787C404.728 211.787 403.347 212.057 402.104 212.609C400.858 213.162 399.793 213.914 398.905 214.888C398.014 215.858 397.321 216.979 396.821 218.258C396.315 219.533 396.065 220.901 396.065 222.358V222.45C396.065 223.906 396.315 225.28 396.821 226.572C397.321 227.865 398.031 228.996 398.951 229.966C399.872 230.932 400.957 231.702 402.203 232.267C403.446 232.836 404.827 233.119 406.346 233.119ZM406.247 240C403.63 240 401.22 239.54 399.027 238.619C396.828 237.698 394.927 236.452 393.329 234.884C391.728 233.316 390.485 231.475 389.594 229.361C388.707 227.24 388.266 224.975 388.266 222.545V222.45C388.266 220.026 388.713 217.755 389.617 215.641C390.522 213.52 391.778 211.659 393.379 210.061C394.98 208.46 396.883 207.204 399.096 206.28C401.309 205.36 403.729 204.903 406.346 204.903C408.963 204.903 411.373 205.36 413.569 206.28C415.769 207.204 417.666 208.447 419.267 210.015C420.865 211.583 422.107 213.421 422.998 215.539C423.886 217.659 424.333 219.931 424.333 222.358V222.45C424.333 224.876 423.88 227.141 422.972 229.262C422.068 231.379 420.819 233.24 419.217 234.838C417.62 236.436 415.709 237.698 413.497 238.619C411.281 239.54 408.867 240 406.247 240Z"
|
|
43
|
+
/>
|
|
44
|
+
<path
|
|
45
|
+
d="M433.024 205.481H441.263L450.137 229.384L459.011 205.481H467.056L453.333 239.661H446.744"
|
|
46
|
+
/>
|
|
47
|
+
<path
|
|
48
|
+
d="M478.931 205.481H504.484V212.126H486.299V219.011H502.298V225.649H486.299V232.78H504.721V239.421H478.931"
|
|
49
|
+
/>
|
|
50
|
+
<path
|
|
51
|
+
d="M533.882 221.966C535.724 221.966 537.137 221.536 538.127 220.665C539.11 219.797 539.603 218.633 539.603 217.189V217.094C539.603 215.486 539.087 214.283 538.051 213.477C537.016 212.675 535.579 212.271 533.738 212.271H526.32V221.966H533.882ZM518.851 205.481H534.366C538.666 205.481 541.964 206.632 544.255 208.924C546.192 210.867 547.169 213.454 547.169 216.683V216.778C547.169 219.527 546.494 221.769 545.153 223.489C543.812 225.225 542.059 226.494 539.893 227.299L548.181 239.421H539.462L532.186 228.555H526.32V239.421H518.851"
|
|
52
|
+
/>
|
|
53
|
+
<path
|
|
54
|
+
d="M579.113 205.481H587.356L596.226 229.384L605.103 205.481H613.149L599.425 239.661H592.833"
|
|
55
|
+
/>
|
|
56
|
+
<path
|
|
57
|
+
d="M641.169 225.215L636.661 214.207L632.154 225.215H641.169ZM633.314 205.241H640.199L654.744 239.418H646.939L643.835 231.807H629.487L626.384 239.418H618.769"
|
|
58
|
+
/>
|
|
59
|
+
<path
|
|
60
|
+
d="M666.645 205.481H674.111V232.632H691.033V239.421H666.645"
|
|
61
|
+
/>
|
|
62
|
+
<path
|
|
63
|
+
d="M717.016 239.951C712.459 239.951 708.872 238.691 706.248 236.17C703.634 233.648 702.326 229.887 702.326 224.876V205.478H709.789V224.679C709.789 227.46 710.437 229.555 711.732 230.959C713.018 232.363 714.819 233.066 717.111 233.066C719.406 233.066 721.201 232.386 722.493 231.034C723.782 229.67 724.433 227.638 724.433 224.922V205.478H731.893V224.633C731.893 227.217 731.548 229.463 730.854 231.37C730.16 233.28 729.167 234.871 727.872 236.144C726.58 237.422 725.012 238.373 723.17 239.007C721.329 239.635 719.278 239.951 717.016 239.951Z"
|
|
64
|
+
/>
|
|
65
|
+
<path
|
|
66
|
+
d="M746.888 205.481H772.437V212.126H754.256V219.011H770.254V225.649H754.256V232.78H772.681V239.421H746.888"
|
|
67
|
+
/>
|
|
68
|
+
<path
|
|
69
|
+
d="M46.0351 92.9268L65.7915 49.7053L85.5545 92.9268H46.0351ZM0.0288086 139.239H25.3449L37.0824 113.614H94.1982L105.926 139.239H131.242L65.7915 0.000163794"
|
|
27
70
|
/>
|
|
28
71
|
<path
|
|
29
|
-
|
|
30
|
-
|
|
72
|
+
d="M77.562 25.0368L65.7916 0.000163794L0.0322266 139.239H25.3549L77.562 25.0368Z"
|
|
73
|
+
fill="#A84D98"
|
|
31
74
|
/>
|
|
32
75
|
</svg>
|
|
33
76
|
`;
|
|
@@ -81,7 +81,6 @@ exports[`Component: OptionGroup default snapshot 1`] = `
|
|
|
81
81
|
|
|
82
82
|
<div
|
|
83
83
|
className="emotion-24"
|
|
84
|
-
data-test-id="optiongroup"
|
|
85
84
|
role="radiogroup"
|
|
86
85
|
style={
|
|
87
86
|
Object {
|
|
@@ -715,7 +714,6 @@ Array [
|
|
|
715
714
|
<div
|
|
716
715
|
aria-label="Search"
|
|
717
716
|
className="emotion-36"
|
|
718
|
-
data-test-id="optiongroup"
|
|
719
717
|
role="group"
|
|
720
718
|
style={
|
|
721
719
|
Object {
|
|
@@ -1380,7 +1378,6 @@ Array [
|
|
|
1380
1378
|
<div
|
|
1381
1379
|
aria-label="Search"
|
|
1382
1380
|
className="emotion-24"
|
|
1383
|
-
data-test-id="optiongroup"
|
|
1384
1381
|
role="radiogroup"
|
|
1385
1382
|
style={
|
|
1386
1383
|
Object {
|
|
@@ -172,6 +172,7 @@ exports[`Component: Select multi-select: snapshot 1`] = `
|
|
|
172
172
|
>
|
|
173
173
|
<div
|
|
174
174
|
className="emotion-6"
|
|
175
|
+
data-testid="test-multi-select-input"
|
|
175
176
|
onClick={[Function]}
|
|
176
177
|
>
|
|
177
178
|
<div
|
|
@@ -386,6 +387,7 @@ exports[`Component: Select single-select with searchbox: snapshot 1`] = `
|
|
|
386
387
|
>
|
|
387
388
|
<div
|
|
388
389
|
className="emotion-6"
|
|
390
|
+
data-testid="test-single-select-input"
|
|
389
391
|
onClick={[Function]}
|
|
390
392
|
>
|
|
391
393
|
<div
|
|
@@ -600,6 +602,7 @@ exports[`Component: Select single-select: snapshot 1`] = `
|
|
|
600
602
|
>
|
|
601
603
|
<div
|
|
602
604
|
className="emotion-6"
|
|
605
|
+
data-testid="test-single-select-input"
|
|
603
606
|
onClick={[Function]}
|
|
604
607
|
>
|
|
605
608
|
<div
|
|
@@ -70,7 +70,7 @@ exports[`TimePicker { selectedHour: 1, selectedMinute: 0 } 1`] = `
|
|
|
70
70
|
>
|
|
71
71
|
<div
|
|
72
72
|
className="emotion-2"
|
|
73
|
-
data-
|
|
73
|
+
data-testid="hour-label"
|
|
74
74
|
onClick={[Function]}
|
|
75
75
|
>
|
|
76
76
|
<span
|
|
@@ -109,7 +109,7 @@ exports[`TimePicker { selectedHour: 1, selectedMinute: 0 } 1`] = `
|
|
|
109
109
|
>
|
|
110
110
|
<div
|
|
111
111
|
className="emotion-2"
|
|
112
|
-
data-
|
|
112
|
+
data-testid="minute-label"
|
|
113
113
|
onClick={[Function]}
|
|
114
114
|
>
|
|
115
115
|
<span
|
|
@@ -201,7 +201,7 @@ exports[`TimePicker { selectedHour: 1, selectedMinute: 15 } 1`] = `
|
|
|
201
201
|
>
|
|
202
202
|
<div
|
|
203
203
|
className="emotion-2"
|
|
204
|
-
data-
|
|
204
|
+
data-testid="hour-label"
|
|
205
205
|
onClick={[Function]}
|
|
206
206
|
>
|
|
207
207
|
<span
|
|
@@ -240,7 +240,7 @@ exports[`TimePicker { selectedHour: 1, selectedMinute: 15 } 1`] = `
|
|
|
240
240
|
>
|
|
241
241
|
<div
|
|
242
242
|
className="emotion-2"
|
|
243
|
-
data-
|
|
243
|
+
data-testid="minute-label"
|
|
244
244
|
onClick={[Function]}
|
|
245
245
|
>
|
|
246
246
|
<span
|
|
@@ -332,7 +332,7 @@ exports[`TimePicker { selectedHour: 1, selectedMinute: undefined } 1`] = `
|
|
|
332
332
|
>
|
|
333
333
|
<div
|
|
334
334
|
className="emotion-2"
|
|
335
|
-
data-
|
|
335
|
+
data-testid="hour-label"
|
|
336
336
|
onClick={[Function]}
|
|
337
337
|
>
|
|
338
338
|
<span
|
|
@@ -371,7 +371,7 @@ exports[`TimePicker { selectedHour: 1, selectedMinute: undefined } 1`] = `
|
|
|
371
371
|
>
|
|
372
372
|
<div
|
|
373
373
|
className="emotion-2"
|
|
374
|
-
data-
|
|
374
|
+
data-testid="minute-label"
|
|
375
375
|
onClick={[Function]}
|
|
376
376
|
>
|
|
377
377
|
<span
|
|
@@ -463,7 +463,7 @@ exports[`TimePicker { selectedHour: 12, selectedMinute: 0 } 1`] = `
|
|
|
463
463
|
>
|
|
464
464
|
<div
|
|
465
465
|
className="emotion-2"
|
|
466
|
-
data-
|
|
466
|
+
data-testid="hour-label"
|
|
467
467
|
onClick={[Function]}
|
|
468
468
|
>
|
|
469
469
|
<span
|
|
@@ -502,7 +502,7 @@ exports[`TimePicker { selectedHour: 12, selectedMinute: 0 } 1`] = `
|
|
|
502
502
|
>
|
|
503
503
|
<div
|
|
504
504
|
className="emotion-2"
|
|
505
|
-
data-
|
|
505
|
+
data-testid="minute-label"
|
|
506
506
|
onClick={[Function]}
|
|
507
507
|
>
|
|
508
508
|
<span
|
|
@@ -594,7 +594,7 @@ exports[`TimePicker { selectedHour: 12, selectedMinute: 15 } 1`] = `
|
|
|
594
594
|
>
|
|
595
595
|
<div
|
|
596
596
|
className="emotion-2"
|
|
597
|
-
data-
|
|
597
|
+
data-testid="hour-label"
|
|
598
598
|
onClick={[Function]}
|
|
599
599
|
>
|
|
600
600
|
<span
|
|
@@ -633,7 +633,7 @@ exports[`TimePicker { selectedHour: 12, selectedMinute: 15 } 1`] = `
|
|
|
633
633
|
>
|
|
634
634
|
<div
|
|
635
635
|
className="emotion-2"
|
|
636
|
-
data-
|
|
636
|
+
data-testid="minute-label"
|
|
637
637
|
onClick={[Function]}
|
|
638
638
|
>
|
|
639
639
|
<span
|
|
@@ -725,7 +725,7 @@ exports[`TimePicker { selectedHour: 12, selectedMinute: undefined } 1`] = `
|
|
|
725
725
|
>
|
|
726
726
|
<div
|
|
727
727
|
className="emotion-2"
|
|
728
|
-
data-
|
|
728
|
+
data-testid="hour-label"
|
|
729
729
|
onClick={[Function]}
|
|
730
730
|
>
|
|
731
731
|
<span
|
|
@@ -764,7 +764,7 @@ exports[`TimePicker { selectedHour: 12, selectedMinute: undefined } 1`] = `
|
|
|
764
764
|
>
|
|
765
765
|
<div
|
|
766
766
|
className="emotion-2"
|
|
767
|
-
data-
|
|
767
|
+
data-testid="minute-label"
|
|
768
768
|
onClick={[Function]}
|
|
769
769
|
>
|
|
770
770
|
<span
|
|
@@ -856,7 +856,7 @@ exports[`TimePicker { selectedHour: undefined, selectedMinute: 0 } 1`] = `
|
|
|
856
856
|
>
|
|
857
857
|
<div
|
|
858
858
|
className="emotion-2"
|
|
859
|
-
data-
|
|
859
|
+
data-testid="hour-label"
|
|
860
860
|
onClick={[Function]}
|
|
861
861
|
>
|
|
862
862
|
<span
|
|
@@ -895,7 +895,7 @@ exports[`TimePicker { selectedHour: undefined, selectedMinute: 0 } 1`] = `
|
|
|
895
895
|
>
|
|
896
896
|
<div
|
|
897
897
|
className="emotion-2"
|
|
898
|
-
data-
|
|
898
|
+
data-testid="minute-label"
|
|
899
899
|
onClick={[Function]}
|
|
900
900
|
>
|
|
901
901
|
<span
|
|
@@ -987,7 +987,7 @@ exports[`TimePicker { selectedHour: undefined, selectedMinute: 15 } 1`] = `
|
|
|
987
987
|
>
|
|
988
988
|
<div
|
|
989
989
|
className="emotion-2"
|
|
990
|
-
data-
|
|
990
|
+
data-testid="hour-label"
|
|
991
991
|
onClick={[Function]}
|
|
992
992
|
>
|
|
993
993
|
<span
|
|
@@ -1026,7 +1026,7 @@ exports[`TimePicker { selectedHour: undefined, selectedMinute: 15 } 1`] = `
|
|
|
1026
1026
|
>
|
|
1027
1027
|
<div
|
|
1028
1028
|
className="emotion-2"
|
|
1029
|
-
data-
|
|
1029
|
+
data-testid="minute-label"
|
|
1030
1030
|
onClick={[Function]}
|
|
1031
1031
|
>
|
|
1032
1032
|
<span
|
|
@@ -1117,7 +1117,7 @@ exports[`TimePicker { selectedHour: undefined, selectedMinute: undefined } 1`] =
|
|
|
1117
1117
|
>
|
|
1118
1118
|
<div
|
|
1119
1119
|
className="emotion-2"
|
|
1120
|
-
data-
|
|
1120
|
+
data-testid="hour-label"
|
|
1121
1121
|
onClick={[Function]}
|
|
1122
1122
|
>
|
|
1123
1123
|
<span
|
|
@@ -1156,7 +1156,7 @@ exports[`TimePicker { selectedHour: undefined, selectedMinute: undefined } 1`] =
|
|
|
1156
1156
|
>
|
|
1157
1157
|
<div
|
|
1158
1158
|
className="emotion-2"
|
|
1159
|
-
data-
|
|
1159
|
+
data-testid="minute-label"
|
|
1160
1160
|
onClick={[Function]}
|
|
1161
1161
|
>
|
|
1162
1162
|
<span
|