Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
8609f50
A workaround related to issue #411
birdofpreyru Sep 6, 2017
afd972d
Fixes #430
birdofpreyru Sep 6, 2017
9ff4bb3
Removes hard-coded width from SMP
birdofpreyru Sep 6, 2017
a456bac
Fix: SVG icon for lock images in challenge detail page's tabs
birdofpreyru Sep 7, 2017
6fda195
Fix: SVG image for check-mark icon
birdofpreyru Sep 7, 2017
e8ecbeb
Demo page for loading indicators
birdofpreyru Sep 7, 2017
43020b8
Fix: A prop-type check error + better check of challenge ID in routes
birdofpreyru Sep 7, 2017
e5d7d37
Fix: No key on registration "Deadline Card"
birdofpreyru Sep 7, 2017
c46f028
Fix: Challenge filtering by dates
birdofpreyru Sep 7, 2017
96cec86
issue-377
Sep 7, 2017
2f21b8c
update qa community settings for group access
ajefts Sep 7, 2017
f7285f8
Merge pull request #443 from topcoder-platform/tony-faq-updates
ajefts Sep 7, 2017
3c6ca95
update group config
ajefts Sep 7, 2017
569d6db
Merge pull request #444 from topcoder-platform/tony-faq-updates
ajefts Sep 7, 2017
483f11e
Preparing switching of communities to the new challenge details page
birdofpreyru Sep 8, 2017
2c75862
Merge branch 'develop' into issue-377
birdofpreyru Sep 8, 2017
99cc1b1
Mock for challenge terms service
birdofpreyru Sep 8, 2017
038f9ec
Minor update of challenge terms mock + Minor update of the app's docu…
birdofpreyru Sep 9, 2017
df5fd18
Added first version of Coding Standards document
birdofpreyru Sep 10, 2017
b2265c0
Added background of mock DocuSign page
birdofpreyru Sep 10, 2017
af3baa0
Update of dependencies
birdofpreyru Sep 11, 2017
5c50fd4
Optimization of global styles setup
birdofpreyru Sep 11, 2017
2b1b7d9
Disables un-safe CSS optimizations in prod
birdofpreyru Sep 11, 2017
2acb447
F2F: Make Submissions Management Page responsive to the window size
birdofpreyru Sep 11, 2017
bc68244
Additional fix from ronakkaria
birdofpreyru Sep 11, 2017
cd45474
Small correction of previous commit
birdofpreyru Sep 11, 2017
07ed245
Fix of react-css-themr example
birdofpreyru Sep 11, 2017
1da39f3
Removes jstimezonedetect and stylefmt dependencies
birdofpreyru Sep 11, 2017
8b409fe
Adds Blockchain community
birdofpreyru Sep 12, 2017
57dc78b
Some fixes of Blockchain community routing
birdofpreyru Sep 12, 2017
66c3116
Hides Blockchain community's Challenge Listing from non-registered vi…
birdofpreyru Sep 12, 2017
9ed1f48
Fixes a bug in the previous commit
birdofpreyru Sep 12, 2017
3aa351d
Update README.md
sushilshinde Sep 13, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .exchange-rates.cache
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"disclaimer":"Usage subject to terms: https://openexchangerates.org/terms","license":"https://openexchangerates.org/license","timestamp":1504695600,"base":"USD","rates":{"AED":3.672779,"AFN":68.2505,"ALL":111.5,"AMD":476.96,"ANG":1.776133,"AOA":165.9215,"ARS":17.241,"AUD":1.254317,"AWG":1.794996,"AZN":1.7,"BAM":1.6387,"BBD":2,"BDT":81.268068,"BGN":1.639175,"BHD":0.377014,"BIF":1740.130974,"BMD":1,"BND":1.351895,"BOB":6.959844,"BRL":3.1172,"BSD":1,"BTC":0.000217484975,"BTN":64.108622,"BWP":10.084257,"BYN":1.925217,"BZD":2.011269,"CAD":1.239168,"CDF":1550.480769,"CHF":0.955242,"CLF":0.02317,"CLP":623.059006,"CNH":6.538132,"CNY":6.527375,"COP":2927.93,"CRC":574.39,"CUC":1,"CUP":25.5,"CVE":92.9,"CZK":21.889847,"DJF":178.77,"DKK":6.236562,"DOP":47.571395,"DZD":110.934635,"EGP":17.6687,"ERN":15.343155,"ETB":23.363073,"EUR":0.838304,"FJD":2.008905,"FKP":0.766493,"GBP":0.766493,"GEL":2.481325,"GGP":0.766493,"GHS":4.41,"GIP":0.766493,"GMD":46.075,"GNF":8955.3,"GTQ":7.277677,"GYD":205.722855,"HKD":7.824661,"HNL":23.339155,"HRK":6.230858,"HTG":62.899277,"HUF":256.838255,"IDR":13333.249227,"ILS":3.56109,"IMP":0.766493,"INR":64.1155,"IQD":1165.45,"IRR":33225.5,"ISK":106.326128,"JEP":0.766493,"JMD":127.640593,"JOD":0.709001,"JPY":108.85236939,"KES":103.266953,"KGS":68.494341,"KHR":4038.15,"KMF":413.45,"KPW":900,"KRW":1135.1775,"KWD":0.301489,"KYD":0.831324,"KZT":340.273398,"LAK":8272.1,"LBP":1503.25,"LKR":152.66,"LRD":116.871332,"LSL":12.911059,"LYD":1.359554,"MAD":9.3557,"MDL":17.719587,"MGA":2946.05,"MKD":51.665,"MMK":1355.55,"MNT":2433.207222,"MOP":8.042734,"MRO":364.2,"MUR":33.022,"MVR":15.404937,"MWK":725.5,"MXN":17.8827,"MYR":4.234957,"MZN":61.43,"NAD":12.9375,"NGN":359,"NIO":30.008984,"NOK":7.78973,"NPR":102.338153,"NZD":1.386693,"OMR":0.384977,"PAB":1,"PEN":3.237605,"PGK":3.187598,"PHP":51.116,"PKR":105.157108,"PLN":3.55799,"PYG":5718.954248,"QAR":3.689998,"RON":3.8558,"RSD":100.308668,"RUB":57.468767,"RWF":841.116784,"SAR":3.750123,"SBD":7.725799,"SCR":13.719944,"SDG":6.662159,"SEK":7.964289,"SGD":1.352082,"SHP":0.766493,"SLL":7537.33542,"SOS":576.828119,"SRD":7.438,"SSP":124.9609,"STD":20574.971847,"SVC":8.729131,"SYP":515,"SZL":12.92429,"THB":33.149,"TJS":8.789387,"TMT":3.50998,"TND":2.445803,"TOP":2.201704,"TRY":3.444792,"TTD":6.725713,"TWD":30.087,"TZS":2241.05,"UAH":25.938714,"UGX":3592.75,"USD":1,"UYU":28.781259,"UZS":8081.95,"VEF":10.09029,"VND":22732.614564,"VUV":103.774063,"WST":2.492203,"XAF":549.891587,"XAG":0.05568549,"XAU":0.00074693,"XCD":2.70255,"XDR":0.705231,"XOF":549.891587,"XPD":0.00103628,"XPF":100.036315,"XPT":0.00099099,"YER":250.48907,"ZAR":12.933169,"ZMW":9.125,"ZWL":322.355011}}
{"disclaimer":"Usage subject to terms: https://openexchangerates.org/terms","license":"https://openexchangerates.org/license","timestamp":1505206800,"base":"USD","rates":{"AED":3.673058,"AFN":68.72675,"ALL":111.531389,"AMD":480.095,"ANG":1.788001,"AOA":165.9215,"ARS":17.1325,"AUD":1.245465,"AWG":1.7965,"AZN":1.7,"BAM":1.635829,"BBD":2,"BDT":82.462679,"BGN":1.634334,"BHD":0.377119,"BIF":1751.4,"BMD":1,"BND":1.345455,"BOB":7.005362,"BRL":3.102798,"BSD":1,"BTC":0.000231975022,"BTN":63.935477,"BWP":10.083696,"BYN":1.930583,"BZD":2.0245,"CAD":1.211814,"CDF":1562.881563,"CHF":0.956875,"CLF":0.02315,"CLP":623.059006,"CNH":6.542497,"CNY":6.53625,"COP":2918.68,"CRC":580.015,"CUC":1,"CUP":25.5,"CVE":92.45,"CZK":21.826572,"DJF":178.77,"DKK":6.221366,"DOP":47.855552,"DZD":111.171,"EGP":17.6613,"ERN":15.33154,"ETB":23.707367,"EUR":0.83627,"FJD":2.006049,"FKP":0.75369,"GBP":0.75369,"GEL":2.4577,"GGP":0.75369,"GHS":4.434224,"GIP":0.75369,"GMD":46.1,"GNF":9003.55,"GTQ":7.325494,"GYD":208.905526,"HKD":7.8137,"HNL":23.491844,"HRK":6.223419,"HTG":63.692126,"HUF":256.551,"IDR":13191.943326,"ILS":3.528092,"IMP":0.75369,"INR":64.005,"IQD":1172.1,"IRR":33276.5,"ISK":106.53,"JEP":0.75369,"JMD":128.468141,"JOD":0.708801,"JPY":109.71247508,"KES":102.801361,"KGS":68.539494,"KHR":4067.5,"KMF":411.164675,"KPW":900,"KRW":1128.43,"KWD":0.301407,"KYD":0.836945,"KZT":339.21,"LAK":8322.55,"LBP":1509.637443,"LKR":153.361485,"LRD":117.002232,"LSL":12.9536,"LYD":1.358616,"MAD":9.338,"MDL":17.689816,"MGA":2962.75,"MKD":51.525,"MMK":1358.4,"MNT":2441.517475,"MOP":8.082378,"MRO":365.575,"MUR":33.2325,"MVR":15.409873,"MWK":725.003277,"MXN":17.729,"MYR":4.206454,"MZN":61.168857,"NAD":12.9536,"NGN":361.08,"NIO":30.350097,"NOK":7.847559,"NPR":102.688849,"NZD":1.368246,"OMR":0.384984,"PAB":1,"PEN":3.228906,"PGK":3.208312,"PHP":50.915,"PKR":105.83,"PLN":3.554991,"PYG":5681.9,"QAR":3.714996,"RON":3.846093,"RSD":99.89435,"RUB":57.54745,"RWF":834.34,"SAR":3.7504,"SBD":7.766352,"SCR":13.54984,"SDG":6.70546,"SEK":7.975132,"SGD":1.345969,"SHP":0.75369,"SLL":7537.841265,"SOS":579.965,"SRD":7.438,"SSP":125.2496,"STD":20473.244362,"SVC":8.788235,"SYP":515,"SZL":12.95736,"THB":33.113,"TJS":8.848051,"TMT":3.50998,"TND":2.419595,"TOP":2.210602,"TRY":3.432433,"TTD":6.809439,"TWD":30.034,"TZS":2237.8,"UAH":26.128295,"UGX":3610.7,"USD":1,"UYU":28.939864,"UZS":8133.25,"VEF":10.11485,"VND":22742.153404,"VUV":103.323044,"WST":2.498181,"XAF":548.557367,"XAG":0.05619578,"XAU":0.00075386,"XCD":2.70255,"XDR":0.701262,"XOF":548.557367,"XPD":0.00106501,"XPF":99.793594,"XPT":0.00101318,"YER":250.294142,"ZAR":12.948425,"ZMW":9.300326,"ZWL":322.355011}}
32 changes: 23 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,30 @@
![Dev Build Status](https://img.shields.io/circleci/project/github/topcoder-platform/community-app/develop.svg?label=develop)
![Master Build Status](https://img.shields.io/circleci/project/github/topcoder-platform/community-app/master.svg?label=master)

# Topcoder Community App
New version of Topcoder Community website.

### Knowledgebase
- [Challenge Terms - Mocking for Testing and Development](docs/challenge-terms.md)
- [Code Splitting](docs/code-splitting.md)
- [Coding Standards](docs/coding-standards.md)
- [How to Add a New Topcoder Community?](docs/how-to-add-a-new-topcoder-community.md)
- [How To Deep-Link (Correct Use of URL Query Params Within The App)](docs/how-to-deep-link.md)
- [Why Reducer Factories and How to Use Them?](docs/why-reducer-factories-and-how-to-use-them.md)

### Misc Development Notes

- [Challenge Listing - Notes from winning submission](docs/challenge-listing-notes.md)
- [Leaderboard - Notes from the winning submission](docs/leaderboard-notes.md)

### .exchange-rates.cache

Often you may note that the file named `.exchange-rates.cache`, located in the root folder of the app, got updated without you touching it. In such case, please, don't hesitate to keep and commit its updated version. It is a cache of real-world currency exchange rates. Keeping it up-to-date, and preserving between restarts of the app (no matter in which mode) saves a lot of calls to [https://openexchangerates.com](https://openexchangerates.com), thus allowing us to stay within the limits of their free plan.

In case of merge conflicts, just commit the version of cache file that has a more recent `timestamp` among its data fields.

If you need any operations related to currency conversions, pay attention to the `/src/shared/services/money.js` service.

### Deployment and Execution

*Disclaimer:* Current instructions are biased towards Ubuntu 16.04. Hovewer, similar recipies should work for other OS. Should you encounter and overcome any tricky issues on other OS, you are welcome to add notes/hints into this file.
Expand Down Expand Up @@ -33,7 +55,7 @@ New version of Topcoder Community website.
- `$ npm start` To run the App in normal mode. The frontend will be served from `/build` folder. The Topcoder backend to use will be chosen depending on `NODE_ENV` value;
- `$ npm run dev` To run the App with development tools. In this case the frontend is build in memory by server and uses dev tools like redux-devtools. The Topcoder backend to use will be chosen depending on `NODE_ENV` value. This demands dev dependencies installed at the firts step.

If you run the App locally against development Topcoder backend you should access the App as `local.topcoder-dev.com:3000`. Prior doing this you should add into your `/etc/hosts` the line `127.0.0.1 local.topcoder-dev.com:3000`. To login into development Topcoder backend use `accounts.topcoder-dev.com/members` to login. Log out at `www.topcoder-dev.com`, or just wipe out auth cookies.
If you run the App locally against development Topcoder backend you should access the App as `local.topcoder-dev.com:3000`. Prior doing this you should add into your `/etc/hosts` the line `127.0.0.1 local.topcoder-dev.com`. To login into development Topcoder backend use `accounts.topcoder-dev.com/members` to login. Log out at `www.topcoder-dev.com`, or just wipe out auth cookies.

If you run the App locally against production Topcoder backend you should run it at the port 80 and access the App as `local.topcoder.com`. Prior doing this you should add into your `/etc/hosts` the line `127.0.0.1 local.topcoder.com`. The easiest way to allow the App to listen at the port 80 on Ubuntu 16.04 is (no guarantees, how safe is it):
- `$ sudo apt install libcap2-bin`;
Expand Down Expand Up @@ -61,14 +83,6 @@ It is intended that Wipro community is accessed as `wipro.topcoder-dev.com` in d

We use [https://logentries.com](https://logentries.com) to track the logs. Log Entries API token should be provided via the `LOG_ENTRIES_TOKEN` environment variable, which will override the default values set in `/config/default.json` (sample account for local setup testing), and in `/config/production.json` (empty token) - with empty token Log Entries will not be used.

### Development Notes
- [Challenge Listing - Notes from winning submission](docs/challenge-listing-notes.md)
- [**Code Splitting**](docs/code-splitting.md)
- [**How to Add a New Topcoder Community?**](docs/how-to-add-a-new-topcoder-community.md)
- [**How To Deep-Link (Correct Use of URL Query Params Within The App)**](docs/how-to-deep-link.md)
- [Leaderboard - Notes from the winning submission](docs/leaderboard-notes.md)
- [**Why Reducer Factories and How to Use Them?**](docs/why-reducer-factories-and-how-to-use-them.md)

### Current Status

*Note:* Server-side rendering is supported. It means, if you go to `/src/server/App.jsx` and remove the line `<_script type="application/javascript" src="/bundle.js"></script>`, which loads JS bundle in the page, when you start the App and load any page, you'll still see a properly rendered page (without any interactivity). It means that loading of JS bundle and initialization of ReactJS do not block the proper rendering of the page.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ exports[`Matches shallow shapshot 2`] = `
<div
className="src-shared-components-Dashboard-MyChallenges-ChallengeLinks-___style__icon___3IZGz src-shared-components-Dashboard-MyChallenges-ChallengeLinks-___style__registrants-icon___tm0l6"
/>
<p />
<p>
0
</p>
</a>
<a
className="src-shared-components-Dashboard-MyChallenges-ChallengeLinks-___style__submissions___3TDly"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,9 @@ exports[`Matches shallow shapshot 7`] = `
<span>
Role:
</span>
<span />
<span>

</span>
</p>
</div>
</div>
Expand Down Expand Up @@ -669,7 +671,9 @@ exports[`Matches shallow shapshot 8`] = `
<span>
Role:
</span>
<span />
<span>

</span>
</p>
</header>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ exports[`Matches shallow shapshot 1`] = `
</a>
<p
className="src-shared-components-Dashboard-Program-___IosCard__subtrack-color___2axPS"
/>
>

</p>
</div>
<div
className="src-shared-components-Dashboard-Program-___IosCard__challenge-links___2nxNN"
Expand Down Expand Up @@ -101,7 +103,9 @@ exports[`Matches shallow shapshot 2`] = `
</a>
<p
className="src-shared-components-Dashboard-Program-___IosCard__subtrack-color___2axPS"
/>
>

</p>
</div>
<div
className="src-shared-components-Dashboard-Program-___IosCard__challenge-links___2nxNN"
Expand Down Expand Up @@ -195,7 +199,9 @@ exports[`Matches shallow shapshot 3`] = `
</a>
<p
className="src-shared-components-Dashboard-Program-___IosCard__subtrack-color___2axPS"
/>
>

</p>
</div>
<div
className="src-shared-components-Dashboard-Program-___IosCard__challenge-links___2nxNN"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exports[`Matches shallow shapshot 1`] = `
Starts in
<span>
1d
1d
1d
</span>
</p>
<div
Expand Down Expand Up @@ -85,7 +85,7 @@ exports[`Matches shallow shapshot 2`] = `
Starts in
<span>
1d
1d
1d
</span>
</p>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ exports[`Matches shallow shapshot 1`] = `
<p
className="src-shared-components-Dashboard-SubtrackStats-___styles__subtrack___2TXRB"
title=""
/>
>

</p>
<p
className="src-shared-components-Dashboard-SubtrackStats-___styles__rating___9uUVx"
style={
Expand Down Expand Up @@ -54,7 +56,9 @@ exports[`Matches shallow shapshot 1`] = `
<p
className="src-shared-components-Dashboard-SubtrackStats-___styles__subtrack___2TXRB"
title=""
/>
>

</p>
<p
className="src-shared-components-Dashboard-SubtrackStats-___styles__rating___9uUVx"
style={
Expand Down Expand Up @@ -97,7 +101,9 @@ exports[`Matches shallow shapshot 1`] = `
<p
className="src-shared-components-Dashboard-SubtrackStats-___styles__subtrack___2TXRB"
title=""
/>
>

</p>
<p
className="src-shared-components-Dashboard-SubtrackStats-___styles__rating___9uUVx"
style={
Expand Down Expand Up @@ -128,7 +134,9 @@ exports[`Matches shallow shapshot 1`] = `
<p
className="src-shared-components-Dashboard-SubtrackStats-___styles__subtrack___2TXRB"
title=""
/>
>

</p>
<p
className="src-shared-components-Dashboard-SubtrackStats-___styles__rating___9uUVx"
style={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,14 @@ exports[`Matches shallow shapshot 1`] = `
</td>
<td
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-challenges___29htm"
/>
>
0
</td>
<td
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-points___10Lis"
/>
>
0
</td>
</tr>
<tr>
<td
Expand Down Expand Up @@ -133,10 +137,14 @@ exports[`Matches shallow shapshot 1`] = `
</td>
<td
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-challenges___29htm"
/>
>
0
</td>
<td
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-points___10Lis"
/>
>
0
</td>
</tr>
<tr>
<td
Expand Down Expand Up @@ -186,10 +194,14 @@ exports[`Matches shallow shapshot 1`] = `
</td>
<td
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-challenges___29htm"
/>
>
0
</td>
<td
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-points___10Lis"
/>
>
0
</td>
</tr>
<tr>
<td
Expand Down Expand Up @@ -239,10 +251,14 @@ exports[`Matches shallow shapshot 1`] = `
</td>
<td
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-challenges___29htm"
/>
>
0
</td>
<td
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__col-points___10Lis"
/>
>
0
</td>
</tr>
</tbody>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ exports[`Snapshot match 1`] = `
>
<p
className="src-shared-components-SubmissionManagement-ScreeningDetails-___styles__status-title___3HTbG"
/>
>

</p>
</div>
<p>
Your submission has been received, and will be evaluated during Review phase.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ exports[`Snapshot match 6`] = `
>
<span
className="src-shared-components-SubmissionManagement-ScreeningStatus-___styles__status___1CCjJ"
/>
>

</span>
<span
className="src-shared-components-SubmissionManagement-ScreeningStatus-___styles__warning___6tSHD"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ exports[`Snapshot match 1`] = `
>
Invalid date
</td>
<td>
<div
className="src-shared-components-SubmissionManagement-Submission-___styles__action-col___2M1RY"
>
<td
className="src-shared-components-SubmissionManagement-Submission-___styles__action-col___2M1RY"
>
<div>
<a
href={undefined}
>
Expand Down Expand Up @@ -72,10 +72,10 @@ exports[`Snapshot match 2`] = `
>
Invalid date
</td>
<td>
<div
className="src-shared-components-SubmissionManagement-Submission-___styles__action-col___2M1RY"
>
<td
className="src-shared-components-SubmissionManagement-Submission-___styles__action-col___2M1RY"
>
<div>
<a
href={undefined}
>
Expand Down
16 changes: 16 additions & 0 deletions __tests__/shared/components/__snapshots__/Content.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,14 @@ exports[`Matches shallow shapshot 1`] = `
Separate Topcoder Communities
</h3>
<ul>
<li>
<Link
replace={false}
to="/community/blockchain/home"
>
Blockchain Community
</Link>
</li>
<li>
<Link
replace={false}
Expand Down Expand Up @@ -357,6 +365,14 @@ exports[`Matches shallow shapshot 1`] = `
</Link>
- A simple showcase of the fonts included into this repo, and the test of their proper inclusion into the bundle;
</li>
<li>
<Link
replace={false}
to="/examples/loading-indicators"
>
Loading Indicators
</Link>
</li>
<li>
<Link
replace={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ exports[`Matches shallow shapshot 1`] = `
noResultsText="No results found"
onBlurResetsInput={true}
onCloseResetsInput={true}
openAfterFocus={false}
optionComponent={[Function]}
pageSize={5}
placeholder="Select..."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ exports[`Matches shallow shapshot 1`] = `
hideKeyboardShortcutsPanel={false}
horizontalMargin={0}
initialVisibleMonth={null}
inputIconPosition="before"
isDayBlocked={[Function]}
isDayHighlighted={[Function]}
isOutsideRange={[Function]}
Expand All @@ -33,6 +34,7 @@ exports[`Matches shallow shapshot 1`] = `
onFocusChange={[Function]}
onNextMonthClick={[Function]}
onPrevMonthClick={[Function]}
openDirection="down"
orientation="horizontal"
phrases={
Object {
Expand All @@ -49,7 +51,7 @@ exports[`Matches shallow shapshot 1`] = `
"jumpToNextMonth": "Move forward to switch to the next month",
"jumpToPrevMonth": "Move backward to switch to the previous month",
"keyboardNavigationInstructions": "Press the down arrow key to interact with the calendar and
select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",
select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",
"keyboardShortcuts": "Keyboard Shortcuts",
"leftArrowRightArrow": "Right and left arrow keys",
"moveFocusByOneDay": "Move backward (left) and forward (right) by one day",
Expand Down Expand Up @@ -77,6 +79,7 @@ exports[`Matches shallow shapshot 1`] = `
startDate={null}
startDateId="startDate"
startDatePlaceholderText="Start Date"
weekDayFormat="dd"
withFullScreenPortal={false}
withPortal={false}
/>
Expand Down
Loading