Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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":1505476800,"base":"USD","rates":{"AED":3.672973,"AFN":68.53875,"ALL":111.73,"AMD":478.45,"ANG":1.779153,"AOA":165.9215,"ARS":16.991,"AUD":1.247669,"AWG":1.795251,"AZN":1.7,"BAM":1.635738,"BBD":2,"BDT":80.748286,"BGN":1.636866,"BHD":0.377182,"BIF":1744.7,"BMD":1,"BND":1.344435,"BOB":6.961525,"BRL":3.119496,"BSD":1,"BTC":0.000332933814,"BTN":64.115874,"BWP":10.18401,"BYN":1.938447,"BZD":2.014757,"CAD":1.214515,"CDF":1562.881563,"CHF":0.960965,"CLF":0.02319,"CLP":624.585,"CNH":6.548744,"CNY":6.544708,"COP":2897.85,"CRC":576.58,"CUC":1,"CUP":25.5,"CVE":92.875,"CZK":21.82455,"DJF":178.76,"DKK":6.226904,"DOP":47.249072,"DZD":111.064167,"EGP":17.649,"ERN":15.342579,"ETB":23.436764,"EUR":0.836853,"FJD":2.011699,"FKP":0.737039,"GBP":0.737039,"GEL":2.462425,"GGP":0.737039,"GHS":4.432711,"GIP":0.737039,"GMD":46.125,"GNF":8958.4,"GTQ":7.290084,"GYD":207.965254,"HKD":7.81631,"HNL":23.386311,"HRK":6.257973,"HTG":63.022754,"HUF":258.53643,"IDR":13245.494062,"ILS":3.521825,"IMP":0.737039,"INR":64.095,"IQD":1167.5,"IRR":33310,"ISK":105.869261,"JEP":0.737039,"JMD":130.718525,"JOD":0.709001,"JPY":111.24616667,"KES":102.89,"KGS":68.643776,"KHR":4053.25,"KMF":413.765225,"KPW":900,"KRW":1130.8775,"KWD":0.301312,"KYD":0.832879,"KZT":339.45,"LAK":8284.8,"LBP":1507.45,"LKR":152.844139,"LRD":117.074294,"LSL":13.189412,"LYD":1.361315,"MAD":9.346,"MDL":17.619678,"MGA":2964.6,"MKD":51.51098,"MMK":1356.4,"MNT":2453.879163,"MOP":8.046782,"MRO":364.805,"MUR":33.435,"MVR":15.409873,"MWK":725.54,"MXN":17.69335,"MYR":4.189799,"MZN":61.31,"NAD":13.19125,"NGN":359.787233,"NIO":30.350347,"NOK":7.818863,"NPR":102.528085,"NZD":1.373359,"OMR":0.384928,"PAB":1,"PEN":3.23699,"PGK":3.19319,"PHP":51.3075,"PKR":105.338422,"PLN":3.576407,"PYG":5651.15,"QAR":3.705007,"RON":3.848964,"RSD":99.74475,"RUB":57.6456,"RWF":831.045,"SAR":3.750774,"SBD":7.734844,"SCR":13.58249,"SDG":6.673154,"SEK":7.952538,"SGD":1.344,"SHP":0.737039,"SLL":7538.529905,"SOS":578.390064,"SRD":7.438,"SSP":125.881,"STD":20535.146277,"SVC":8.74534,"SYP":514.99999,"SZL":13.18534,"THB":33.09125,"TJS":8.792897,"TMT":3.504979,"TND":2.445204,"TOP":2.217942,"TRY":3.440186,"TTD":6.743577,"TWD":30.062,"TZS":2243.1,"UAH":26.190843,"UGX":3593.3,"USD":1,"UYU":28.993638,"UZS":8087.8,"VEF":9.985022,"VND":22753.894861,"VUV":103.676756,"WST":2.509453,"XAF":548.939628,"XAG":0.05661072,"XAU":0.00075623,"XCD":2.70255,"XDR":0.704516,"XOF":548.939628,"XPD":0.00107946,"XPF":99.863135,"XPT":0.00102682,"YER":250.306642,"ZAR":13.17867,"ZMW":9.3882,"ZWL":322.355011}}
{"disclaimer":"Usage subject to terms: https://openexchangerates.org/terms","license":"https://openexchangerates.org/license","timestamp":1505736000,"base":"USD","rates":{"AED":3.673158,"AFN":68.5815,"ALL":111.8,"AMD":477.790313,"ANG":1.778804,"AOA":165.9215,"ARS":16.9755,"AUD":1.25125,"AWG":1.795504,"AZN":1.7,"BAM":1.634564,"BBD":2,"BDT":80.672708,"BGN":1.636335,"BHD":0.377082,"BIF":1741.930974,"BMD":1,"BND":1.34545,"BOB":6.960491,"BRL":3.109108,"BSD":1,"BTC":0.000253264491,"BTN":64.116668,"BWP":10.145655,"BYN":1.937212,"BZD":2.014389,"CAD":1.220886,"CDF":1562.881563,"CHF":0.959897,"CLF":0.02317,"CLP":624.3,"CNH":6.573772,"CNY":6.567823,"COP":2895.45,"CRC":576.47,"CUC":1,"CUP":25.5,"CVE":92.5,"CZK":21.844736,"DJF":178.57,"DKK":6.230533,"DOP":47.218414,"DZD":111.31,"EGP":17.657,"ERN":15.33,"ETB":23.555095,"EUR":0.837253,"FJD":2.021499,"FKP":0.738416,"GBP":0.738416,"GEL":2.4678,"GGP":0.738416,"GHS":4.389404,"GIP":0.738416,"GMD":45.875,"GNF":8956.4,"GTQ":7.288462,"GYD":207.825,"HKD":7.816553,"HNL":23.374343,"HRK":6.263403,"HTG":62.980903,"HUF":259.437857,"IDR":13250.485412,"ILS":3.522186,"IMP":0.738416,"INR":64.13575,"IQD":1165.334957,"IRR":33322.5,"ISK":106.536883,"JEP":0.738416,"JMD":130.80781,"JOD":0.7085,"JPY":111.36808333,"KES":103.163661,"KGS":68.5084,"KHR":4056.35,"KMF":412.198944,"KPW":900,"KRW":1127.07,"KWD":0.301343,"KYD":0.832734,"KZT":340.315,"LAK":8280.05,"LBP":1506.95,"LKR":153.01,"LRD":117.002232,"LSL":13.175459,"LYD":1.361065,"MAD":9.344244,"MDL":17.643449,"MGA":2988,"MKD":51.51,"MMK":1345.1,"MNT":2459.426676,"MOP":8.045534,"MRO":364.77,"MUR":33.434,"MVR":15.450233,"MWK":725.38,"MXN":17.68575,"MYR":4.186467,"MZN":61.32,"NAD":13.176312,"NGN":359.885566,"NIO":30.345231,"NOK":7.824174,"NPR":102.523085,"NZD":1.372936,"OMR":0.384999,"PAB":1,"PEN":3.250448,"PGK":3.237256,"PHP":51.254,"PKR":105.279978,"PLN":3.5905,"PYG":5655.55,"QAR":3.6391,"RON":3.8506,"RSD":99.645,"RUB":57.747,"RWF":830.004133,"SAR":3.7509,"SBD":7.830881,"SCR":13.550608,"SDG":6.672493,"SEK":7.970225,"SGD":1.346251,"SHP":0.738416,"SLL":7562.5,"SOS":577.104786,"SRD":7.438,"SSP":126.0479,"STD":20503.299805,"SVC":8.743343,"SYP":515.10499,"SZL":13.181602,"THB":33.090672,"TJS":8.79211,"TMT":3.50998,"TND":2.439804,"TOP":2.232925,"TRY":3.4586,"TTD":6.74155,"TWD":30.098212,"TZS":2244.6,"UAH":26.142754,"UGX":3593.6,"USD":1,"UYU":28.997418,"UZS":8086.95,"VEF":9.985022,"VND":22727.933333,"VUV":104.754453,"WST":2.500057,"XAF":549.202101,"XAG":0.05731152,"XAU":0.00076117,"XCD":2.70255,"XDR":0.702343,"XOF":549.202101,"XPD":0.00107202,"XPF":99.910884,"XPT":0.00103467,"YER":250.319142,"ZAR":13.207619,"ZMW":9.628588,"ZWL":322.355011}}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ This App already contains:
- Node-Config;
- React;
- React CSS Modules (via Babel plugin);
- [react-css-themr](https://github.com/javivelasco/react-css-themr);
- [react-css-super-themr](https://github.com/birdofpreyru/react-css-super-themr);
- React Router;
- Redux with Flux Standard Actions, redux-promise middleware, support of server-side rendering, and DevTools for dev environment;
- SCSS support;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,16 @@ exports[`Matches shallow shapshot 1`] = `
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__leaderboard-avatar___3Ly7x"
>
<ThemedAvatar
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
customStyles={null}
mapThemrProps={[Function]}
theme={
Object {
"avatar": "src-shared-components-Leaderboard-___avatarStyles__default___1bHTz",
}
}
themePriority="adhoc-context-default"
url="some.fake.string"
/>
</span>
Expand Down Expand Up @@ -102,14 +104,16 @@ exports[`Matches shallow shapshot 1`] = `
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__leaderboard-avatar___3Ly7x"
>
<ThemedAvatar
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
customStyles={null}
mapThemrProps={[Function]}
theme={
Object {
"avatar": "src-shared-components-Leaderboard-___avatarStyles__default___1bHTz",
}
}
themePriority="adhoc-context-default"
url="some.fake.string"
/>
</span>
Expand Down Expand Up @@ -159,14 +163,16 @@ exports[`Matches shallow shapshot 1`] = `
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__leaderboard-avatar___3Ly7x"
>
<ThemedAvatar
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
customStyles={null}
mapThemrProps={[Function]}
theme={
Object {
"avatar": "src-shared-components-Leaderboard-___avatarStyles__default___1bHTz",
}
}
themePriority="adhoc-context-default"
url="some.fake.string"
/>
</span>
Expand Down Expand Up @@ -216,14 +222,16 @@ exports[`Matches shallow shapshot 1`] = `
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__leaderboard-avatar___3Ly7x"
>
<ThemedAvatar
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
customStyles={null}
mapThemrProps={[Function]}
theme={
Object {
"avatar": "src-shared-components-Leaderboard-___avatarStyles__default___1bHTz",
}
}
themePriority="adhoc-context-default"
url="https://www.topcoder-dev.com/assets/a.jpg"
/>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ exports[`Matches shallow shapshot 2`] = `
className="src-shared-components-Leaderboard-Podium-___styles__Podium___2rb4T"
>
<ThemedLoadingIndicator
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
mapThemrProps={[Function]}
themePriority="adhoc-context-default"
/>
</div>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ exports[`Matches shallow shapshot 1`] = `
className="src-shared-components-Leaderboard-PodiumSpot-___styles__leaderboard-avatar___2Aea7"
>
<ThemedAvatar
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
customStyles={null}
mapThemrProps={[Function]}
theme={
Object {
"avatar": "src-shared-components-Leaderboard-___avatarStyles__gold___1KUGN",
}
}
themePriority="adhoc-context-default"
url="some.fake.string"
/>
</span>
Expand Down Expand Up @@ -55,14 +57,16 @@ exports[`Matches shallow shapshot 2`] = `
className="src-shared-components-Leaderboard-PodiumSpot-___styles__leaderboard-avatar___2Aea7"
>
<ThemedAvatar
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
customStyles={null}
mapThemrProps={[Function]}
theme={
Object {
"avatar": "src-shared-components-Leaderboard-___avatarStyles__gold___1KUGN",
}
}
themePriority="adhoc-context-default"
url="https://www.topcoder-dev.com/assets/a.jpg"
/>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -469,14 +469,16 @@ exports[`Render with specified profile 1`] = `
className="src-shared-components-TopcoderHeader-___style__avatar___3BqbY"
>
<ThemedAvatar
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
customStyles={null}
mapThemrProps={[Function]}
theme={
Object {
"avatar": "",
}
}
themePriority="adhoc-context-default"
url={null}
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ exports[`Snapshot match 1`] = `
href="/members/username"
>
<ThemedAvatar
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
customStyles={null}
mapThemrProps={[Function]}
theme={
Object {
"avatar": "",
}
}
themePriority="adhoc-context-default"
url={null}
/>
<span
Expand Down
4 changes: 2 additions & 2 deletions __tests__/shared/components/__snapshots__/Avatar.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ exports[`Matches shallow shapshot 3`] = `
customStyles={null}
theme={
Object {
"avatar": "src-shared-components-Avatar-___style__avatar___3QhkH test-style",
"avatar": "test-style src-shared-components-Avatar-___style__avatar___3QhkH",
}
}
url={null}
Expand All @@ -41,7 +41,7 @@ exports[`Matches shallow shapshot 4`] = `
customStyles={null}
theme={
Object {
"avatar": "src-shared-components-Avatar-___style__avatar___3QhkH test-style",
"avatar": "test-style src-shared-components-Avatar-___style__avatar___3QhkH",
}
}
url="some-fake-string"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`renders correctly 1`] = `
<img
alt="Loading..."
className="src-shared-components-LoadingIndicator-___styles__style___3RNHL"
src="/images/2f402d440d802a10b7672b75897c47a5.gif"
/>
<svg
className="src-shared-components-LoadingIndicator-___styles__container___V7JxF"
viewBox="0 0 64 64"
>
<circle
className="src-shared-components-LoadingIndicator-___styles__circle1___hEgvY"
cx="32"
cy="32"
r="28"
/>
<circle
className="src-shared-components-LoadingIndicator-___styles__circle2___2-o58"
cx="32"
cy="32"
r="6"
/>
</svg>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -105,36 +105,42 @@ exports[`Matches shallow shapshot shapshot 2`] = `
className="src-shared-components-challenge-listing-Filters-___ChallengeFilters__filter-switch-with-label___21Ups"
>
<ThemedSwitchWithLabel
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
enabled={false}
labelAfter=""
labelBefore="Design"
mapThemrProps={[Function]}
onSwitch={[Function]}
themePriority="adhoc-context-default"
/>
</span>
<span
className="src-shared-components-challenge-listing-Filters-___ChallengeFilters__filter-switch-with-label___21Ups"
>
<ThemedSwitchWithLabel
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
enabled={false}
labelAfter=""
labelBefore="Development"
mapThemrProps={[Function]}
onSwitch={[Function]}
themePriority="adhoc-context-default"
/>
</span>
<span
className="src-shared-components-challenge-listing-Filters-___ChallengeFilters__filter-switch-with-label___21Ups"
>
<ThemedSwitchWithLabel
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
enabled={false}
labelAfter=""
labelBefore="Data Science"
mapThemrProps={[Function]}
onSwitch={[Function]}
themePriority="adhoc-context-default"
/>
</span>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ exports[`Matches shallow shapshot 1`] = `
"upArrowDownArrow": "up and down arrow keys",
}
}
readOnly={false}
readOnly={true}
renderCalendarInfo={null}
renderDay={null}
renderMonth={null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ exports[`Matches shallow shapshot 1`] = `
id="date-range-picker"
numberOfMonths={1}
onDatesChange={[Function]}
readOnly={true}
startDate={undefined}
/>
</div>
Expand All @@ -143,6 +144,7 @@ exports[`Matches shallow shapshot 1`] = `
id="date-range-picker"
numberOfMonths={2}
onDatesChange={[Function]}
readOnly={true}
startDate={undefined}
/>
</div>
Expand Down Expand Up @@ -274,6 +276,7 @@ exports[`Matches shallow shapshot 2`] = `
id="date-range-picker"
numberOfMonths={1}
onDatesChange={[Function]}
readOnly={true}
startDate={undefined}
/>
</div>
Expand All @@ -290,6 +293,7 @@ exports[`Matches shallow shapshot 2`] = `
id="date-range-picker"
numberOfMonths={2}
onDatesChange={[Function]}
readOnly={true}
startDate={undefined}
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,25 @@ exports[`Matches shallow shapshot 1`] = `
Default theme
</h3>
<ThemedThemableComponent
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
mapThemrProps={[Function]}
themePriority="adhoc-context-default"
/>
<h3>
Default theme + Parent-provided styling
</h3>
<ThemedThemableComponent
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
mapThemrProps={[Function]}
theme={
Object {
"box": "src-shared-components-examples-Themr-___style__box___2VpH5",
"text": "src-shared-components-examples-Themr-___style__text___3B1uO",
}
}
themePriority="adhoc-context-default"
/>
<h3>
Default theme + Context styling
Expand All @@ -40,8 +44,10 @@ exports[`Matches shallow shapshot 1`] = `
}
>
<ThemedThemableComponent
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
mapThemrProps={[Function]}
themePriority="adhoc-context-default"
/>
</ThemeProvider>
<h3>
Expand All @@ -58,14 +64,16 @@ exports[`Matches shallow shapshot 1`] = `
}
>
<ThemedThemableComponent
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
mapThemrProps={[Function]}
theme={
Object {
"box": "src-shared-components-examples-Themr-___style__box___2VpH5",
"text": "src-shared-components-examples-Themr-___style__text___3B1uO",
}
}
themePriority="adhoc-context-default"
/>
</ThemeProvider>
<h3>
Expand All @@ -78,8 +86,10 @@ exports[`Matches shallow shapshot 1`] = `
theme={Object {}}
>
<ThemedThemableComponent
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
mapThemrProps={[Function]}
themePriority="adhoc-context-default"
/>
</ThemeProvider>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ exports[`Snapshot match 1`] = `
}
>
<ThemedAccordionItem
composeTheme="deeply"
composeAdhocTheme="deeply"
composeContextTheme="softly"
isOpen={false}
mapThemrProps={[Function]}
onTitleClick={[Function]}
theme={Object {}}
themePriority="adhoc-context-default"
title="Test title"
>
<div>
Expand Down
Loading