Skip to content

Commit e63028c

Browse files
authored
Merge branch 'develop' into feat/focus-first-match
2 parents df68ee2 + 2212020 commit e63028c

28 files changed

+331
-91
lines changed

.all-contributorsrc

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@
240240
"avatar_url": "https://avatars1.githubusercontent.com/u/5932031?v=4",
241241
"profile": "https://github.com/stoberov",
242242
"contributions": [
243-
"code",
244243
"bug"
245244
]
246245
},
@@ -283,6 +282,81 @@
283282
"bug",
284283
"code"
285284
]
285+
},
286+
{
287+
"login": "isuscbrmid",
288+
"name": "Jesus Cabrera Gonzalez",
289+
"avatar_url": "https://avatars3.githubusercontent.com/u/20484267?v=4",
290+
"profile": "https://github.com/isuscbrmid",
291+
"contributions": [
292+
"code"
293+
]
294+
},
295+
{
296+
"login": "MJRuskin",
297+
"name": "MJRuskin",
298+
"avatar_url": "https://avatars2.githubusercontent.com/u/27359753?v=4",
299+
"profile": "https://github.com/MJRuskin",
300+
"contributions": [
301+
"code"
302+
]
303+
},
304+
{
305+
"login": "akarshjairaj",
306+
"name": "akarshjairaj",
307+
"avatar_url": "https://avatars1.githubusercontent.com/u/64946671?v=4",
308+
"profile": "https://github.com/akarshjairaj",
309+
"contributions": [
310+
"code"
311+
]
312+
},
313+
{
314+
"login": "berdyshev",
315+
"name": "Artem Berdyshev",
316+
"avatar_url": "https://avatars1.githubusercontent.com/u/539090?v=4",
317+
"profile": "https://github.com/berdyshev",
318+
"contributions": [
319+
"code",
320+
"bug"
321+
]
322+
},
323+
{
324+
"login": "m4theushw",
325+
"name": "Matheus Wichman",
326+
"avatar_url": "https://avatars3.githubusercontent.com/u/42154031?v=4",
327+
"profile": "https://matheushw.com/",
328+
"contributions": [
329+
"code"
330+
]
331+
},
332+
{
333+
"login": "aarce-uncharted",
334+
"name": "aarce-uncharted",
335+
"avatar_url": "https://avatars1.githubusercontent.com/u/60662654?v=4",
336+
"profile": "https://github.com/aarce-uncharted",
337+
"contributions": [
338+
"code"
339+
]
340+
},
341+
{
342+
"login": "osmancode",
343+
"name": "Mohamad Othman",
344+
"avatar_url": "https://avatars0.githubusercontent.com/u/1795294?v=4",
345+
"profile": "http://osmancode.me",
346+
"contributions": [
347+
"code",
348+
"ideas"
349+
]
350+
},
351+
{
352+
"login": "smurfs2549",
353+
"name": "kathleenlu",
354+
"avatar_url": "https://avatars3.githubusercontent.com/u/8286468?v=4",
355+
"profile": "https://github.com/smurfs2549",
356+
"contributions": [
357+
"code",
358+
"bug"
359+
]
286360
}
287361
],
288362
"contributorsPerLine": 7,

.github/prlint.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
node-version: 12.x
1919
- run: yarn install --ignore-engines
2020
- run: yarn lint:nofix
21+
- run: yarn test
2122
# 💀💀💀💀cannot run coveralls since GH won't pass COVERALLS_REPO_TOKEN to forks; so any PRs from external contributors would fail
2223
# - run: yarn coveralls
2324
# env:

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,4 @@ jobs:
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2323
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
24-
run: |
25-
yarn add semantic-release
26-
yarn semantic-release
24+
run: npx semantic-release

.github/workflows/semantic-pr.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Semantic Pull Request
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
jobs:
11+
prlint:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
18+
- name: semantic-pull-request
19+
uses: amannn/action-semantic-pull-request@v1.2.0
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jspm_packages
3434
.npm
3535
.npmrc
3636

37+
# NPM lockfile
38+
package-lock.json
39+
3740
# Optional REPL history
3841
.node_repl_history
3942

README.md

Lines changed: 23 additions & 50 deletions
Large diffs are not rendered by default.

__snapshots__/src/index.test.js.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Generated by [AVA](https://ava.li).
1919
clientId="rdts"
2020
onTrigger={Function {}}
2121
showDropdown={true}
22+
tabIndex={0}
2223
tags={[]}
2324
texts={{}}
2425
>
@@ -30,6 +31,7 @@ Generated by [AVA](https://ava.li).
3031
>
3132
<Input
3233
clientId="rdts"
34+
inlineSearchInput={false}
3335
inputRef={Function inputRef {}}
3436
onBlur={Function {}}
3537
onFocus={Function {}}
@@ -188,6 +190,7 @@ Generated by [AVA](https://ava.li).
188190
clientId="rdts"
189191
onTrigger={Function {}}
190192
showDropdown={true}
193+
tabIndex={0}
191194
tags={[]}
192195
texts={{}}
193196
>
@@ -203,6 +206,7 @@ Generated by [AVA](https://ava.li).
203206
>
204207
<Input
205208
clientId="rdts"
209+
inlineSearchInput={true}
206210
inputRef={Function inputRef {}}
207211
onBlur={Function {}}
208212
onFocus={Function {}}
@@ -357,6 +361,7 @@ Generated by [AVA](https://ava.li).
357361
disabled={true}
358362
onTrigger={Function {}}
359363
showDropdown={false}
364+
tabIndex={0}
360365
tags={[]}
361366
texts={{}}
362367
>
@@ -370,6 +375,7 @@ Generated by [AVA](https://ava.li).
370375
<Input
371376
clientId="rdts"
372377
disabled={true}
378+
inlineSearchInput={false}
373379
inputRef={Function inputRef {}}
374380
onBlur={Function {}}
375381
onFocus={Function {}}
@@ -459,10 +465,12 @@ Generated by [AVA](https://ava.li).
459465
id="rdts"
460466
inlineSearchInput={false}
461467
mode="radioSelect"
468+
onAction={Function onAction {}}
462469
onBlur={Function onBlur {}}
463470
onChange={Function onChange {}}
464471
onFocus={Function onFocus {}}
465472
showDropdown="default"
473+
tabIndex={0}
466474
texts={{}}
467475
>
468476
<div
@@ -477,6 +485,7 @@ Generated by [AVA](https://ava.li).
477485
mode="radioSelect"
478486
onTrigger={Function {}}
479487
showDropdown={false}
488+
tabIndex={0}
480489
tags={[]}
481490
texts={{}}
482491
>
@@ -505,6 +514,7 @@ Generated by [AVA](https://ava.li).
505514
>
506515
<Input
507516
clientId="rdts"
517+
inlineSearchInput={false}
508518
inputRef={Function inputRef {}}
509519
mode="radioSelect"
510520
onBlur={Function {}}
@@ -609,10 +619,12 @@ Generated by [AVA](https://ava.li).
609619
}
610620
id="rdts"
611621
inlineSearchInput={false}
622+
onAction={Function onAction {}}
612623
onBlur={Function onBlur {}}
613624
onChange={Function onChange {}}
614625
onFocus={Function onFocus {}}
615626
showDropdown="default"
627+
tabIndex={0}
616628
texts={{}}
617629
>
618630
<div
@@ -626,6 +638,7 @@ Generated by [AVA](https://ava.li).
626638
clientId="rdts"
627639
onTrigger={Function {}}
628640
showDropdown={false}
641+
tabIndex={0}
629642
tags={[]}
630643
texts={{}}
631644
>
@@ -653,6 +666,7 @@ Generated by [AVA](https://ava.li).
653666
>
654667
<Input
655668
clientId="rdts"
669+
inlineSearchInput={false}
656670
inputRef={Function inputRef {}}
657671
onBlur={Function {}}
658672
onFocus={Function {}}
@@ -695,6 +709,7 @@ Generated by [AVA](https://ava.li).
695709
clientId="rdts"
696710
onTrigger={Function {}}
697711
showDropdown={true}
712+
tabIndex={0}
698713
tags={[]}
699714
texts={{}}
700715
>
@@ -706,6 +721,7 @@ Generated by [AVA](https://ava.li).
706721
>
707722
<Input
708723
clientId="rdts"
724+
inlineSearchInput={false}
709725
inputRef={Function inputRef {}}
710726
onBlur={Function {}}
711727
onFocus={Function {}}
88 Bytes
Binary file not shown.

__snapshots__/src/input/index.test.js.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ The actual snapshot is saved in `index.test.js.snap`.
44

55
Generated by [AVA](https://ava.li).
66

7+
## renders inline search placeholder
8+
9+
> Snapshot 1
10+
11+
<input
12+
className="search"
13+
onChange={Function {}}
14+
placeholder="Search something"
15+
type="text"
16+
/>
17+
718
## renders input
819

920
> Snapshot 1

0 commit comments

Comments
 (0)