Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/connectv2 with dev #315

Open
wants to merge 305 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
305 commits
Select commit Hold shift + click to select a range
92407d5
adding support for formsy forms, custom form components should be dep…
Aug 24, 2016
bd5be31
Added Connect icons, refactored components Navbar, Footer, Carousel
Aug 26, 2016
8249dfa
minor lint fix
Aug 26, 2016
f8411f3
Merge pull request #89 from appirio-tech/icons-vic
Aug 26, 2016
743c919
removing some deps and updating libraries
Aug 26, 2016
6b2eb1e
using pure render mixin to optimize rendering of formsy components
Aug 26, 2016
aeea8ae
Icons rename and export fix. (temporary...working on a solution where…
Aug 26, 2016
db824a8
Merge branch 'feature/connectv2' of https://github.com/appirio-tech/r…
Aug 26, 2016
35eb2a4
Aggregated icons in a single object
Aug 26, 2016
02d6342
fixed syntax error
Aug 26, 2016
fd5ff91
Exported newly added icons
Aug 27, 2016
11e33b8
Fixed spell mistake
Aug 27, 2016
548db04
Fixed case for IconArrowLogout
Aug 27, 2016
e80e080
Fixed spell mistake (case sensitivity)
Aug 27, 2016
58809de
Fixed style of search bar. There was white space which was overflowin…
Aug 29, 2016
ef178e6
Minor css fix for search bar dropdown
Aug 29, 2016
cdc2628
Merge branch 'feature/connectv2' of https://github.com/appirio-tech/r…
Aug 29, 2016
e1744ec
icons
Aug 29, 2016
f21b171
Added pointer cursor for tabs
Aug 29, 2016
90c642c
adding icon leave
Aug 29, 2016
812ed9d
Merge branch 'feature/connectv2' of https://github.com/appirio-tech/r…
Aug 29, 2016
591e91a
AS#173225592144711, Replace all instances of including tc-styles with…
Aug 30, 2016
4b38f81
removing pure render mixin from elements since it is causing errors
Aug 30, 2016
8419e99
fixing more form errors
Aug 30, 2016
6ebd82d
adding support for tiled radio groups
Aug 31, 2016
5c5d7e1
AS#171981620166137, Add feature picker component
Aug 31, 2016
eabd883
AS#166070325696601, Fix styles of create project screen
Aug 31, 2016
4368dae
Merge branch 'feature/connectv2' of https://github.com/appirio-tech/r…
Sep 1, 2016
b364e8b
AS#175328444802920, Update User Avatar to generate a placeholder imag…
Sep 2, 2016
4c0b7f0
AS#175328444802920, Update User Avatar to generate a placeholder imag…
Sep 2, 2016
074d633
fixing icons in tiled radio & cb group
Sep 3, 2016
cf347ed
Merge branch 'feature/connectv2' of https://github.com/appirio-tech/r…
Sep 3, 2016
84d9030
removing extra username from user dropdown
Sep 3, 2016
c9ebb23
merging updates from challenge
Sep 6, 2016
2af71ea
AS#177715475605004, Frame: replace Connect logo in nav with attached
Sep 8, 2016
fbd5628
AS#178277611234930, Fix avatar in topbar to in sync with other places…
Sep 8, 2016
8299afd
Display fix for AS#175328444802917, Style feature picker based on new…
Sep 13, 2016
3122bd9
Merge branch 'master'
Sep 13, 2016
9bc2d9b
Fix search bar typeahead and styling
mahestro Sep 13, 2016
4a842b8
Merge pull request #91 from appirio-tech/community-fixes
mahestro Sep 13, 2016
b6a0102
Project search clean up and switch button fix
mahestro Sep 14, 2016
151e331
Merge pull request #92 from appirio-tech/fix-typeahead
mahestro Sep 14, 2016
876bdfb
Redesigned radiogroup slider component.
Sep 15, 2016
cb65cd0
Merge branch 'feature/connectv2'
Sep 15, 2016
b6448f7
Console warnings cleanup for connect logo icon
Sep 19, 2016
29433dc
Navigation 2.0
mahestro Sep 19, 2016
9495bfb
Merge pull request #94 from appirio-tech/community-fixes
mahestro Sep 19, 2016
414001e
Merge branch 'feature/connectv2' of https://github.com/appirio-tech/r…
Sep 20, 2016
4b7ad22
Dropdown component - fixed up arrow
sirakovaDimitrina Sep 20, 2016
7768b16
IconUsersDelete - changed fill svg
sirakovaDimitrina Sep 21, 2016
e199f71
Update package.json
Sep 23, 2016
8ea63dc
Github issue #103 Dashboard/Project Info: add delete option
Sep 26, 2016
22ffdce
Github issue #149 Messaging: empty state for messaging tab
Sep 27, 2016
b176925
Github issue #165 Navigation: modify logged out nav to remove "Regist…
Sep 29, 2016
b77801e
Github issue #125 Feature picker || Custom feature is shown as form e…
Oct 6, 2016
02ebb13
fix for navlink norel opener and isRequired validator
Oct 7, 2016
172e0d8
Merge branch 'feature/connectv2' of https://github.com/appirio-tech/r…
Oct 7, 2016
825ce22
fixing lint error
Oct 7, 2016
242e9c2
Github issue #188 Search button is not working
Oct 7, 2016
82a113f
Github issue #193 Profile drop down won't work in IE11
Oct 7, 2016
315ecaa
Github #155 Navigation/Search: Search term gets "stuck" in search field
Oct 10, 2016
fe3f0cd
redesigned slider renderer position swap
Oct 11, 2016
ce0760d
Merge branch 'feature/connectv2' of https://github.com/appirio-tech/r…
Oct 11, 2016
ff31841
reset to original
Oct 11, 2016
3eb0a55
Merge pull request #97 from appirio-tech/design-styles
Oct 11, 2016
e9f7136
changing slider group styles
Oct 11, 2016
3755395
Fix Dropdown component styles
Oct 11, 2016
4cc8d9f
Adding connect logo beta
Oct 12, 2016
c8a6667
small fix to the beta logo
Oct 12, 2016
69a2941
Adding beta logo to index.js
Oct 12, 2016
6be4c59
index.js logo mistake fix
Oct 12, 2016
8ead3ce
index.js fixes
Oct 12, 2016
711c772
text fix on logo beta
Oct 12, 2016
73ce69f
Github issue #196 specification: last uploaded file name displayed on…
Oct 13, 2016
47a06d4
Github issue #467 Links: critical problems with view and validation
Oct 14, 2016
0c43aaa
Merge pull request #99 from appirio-tech/file-picker-clear-status-aft…
Oct 17, 2016
96ab71e
Github issue #285 after removing the search string all projects must …
Oct 18, 2016
c405eb2
Fixes connect-app/#375 - Added generic "challenges" icon component.
Oct 25, 2016
fc89668
Github issue #395 When user select the "Messages" from the list; post…
champeng Oct 26, 2016
b188d6c
Fixes #236 from connect-app
Oct 27, 2016
efea57b
Github issue #285 after removing the search string all projects must …
Nov 4, 2016
6c5d7bb
Github issue #100, Tooltip || Fix the tooltip rendering with one of p…
Dec 21, 2016
e5890f3
Github issue #101, Tooltip || Fix CSS conflict coming from Dropdown c…
Dec 21, 2016
776a122
Github issue #100, Tooltip || Fix the tooltip rendering with one of p…
Dec 21, 2016
24f5a3c
Github issue #372, [Pagination] - keep fixed pagination option displa…
Dec 27, 2016
85f516a
Github issue #372, [Pagination] - keep fixed pagination option displa…
Dec 28, 2016
49d2fbd
adding onClick support for menu items
Feb 6, 2017
81ef248
Merge pull request #110 from appirio-tech/feature/connect-metrics
parthshah Feb 7, 2017
e0def6b
Github issue #117, Display title for options of the SelectDropdown
Feb 27, 2017
6a8ff03
Merge pull request #118 from appirio-tech/feature/connectv2-selectdro…
Feb 27, 2017
214f542
Github issue #117, Display title for options of the SelectDropdown
Feb 27, 2017
a16141f
Merge pull request #119 from appirio-tech/feature/connectv2-selectdro…
Feb 27, 2017
14e13ea
Github issue#626, Dashboard link validation too restrictive
Feb 28, 2017
c2c9c7e
Merge pull request #120 from appirio-tech/feature/allow_ports_url_val…
Mar 1, 2017
4840581
Add support for autoresize textarea
ThomasKranitsas Mar 7, 2017
1fb4f13
Support .empty class for textinput & textarea without value
ThomasKranitsas Mar 7, 2017
298699e
Update TiledRadioGroup component to support disabled options
ThomasKranitsas Mar 7, 2017
1f1b7b5
Update TiledRadioGroup component to support disabled options
ThomasKranitsas Mar 7, 2017
debf577
Update TiledRadioGroup component to support disabled options
ThomasKranitsas Mar 7, 2017
7365ef6
Update TiledRadioGroup component to support disabled options
ThomasKranitsas Mar 7, 2017
27f87dd
Fix lint error
ThomasKranitsas Mar 7, 2017
fb21248
Merge pull request #126 from ThomasKranitsas/update-tileradiogroup
gondzo Mar 7, 2017
050a993
Add checkmark to selected TileRadioGroup item
ThomasKranitsas Mar 7, 2017
21764f5
Update checkmark color
ThomasKranitsas Mar 7, 2017
f7bc70f
Update checkmark style
ThomasKranitsas Mar 7, 2017
5e93308
Merge pull request #124 from ThomasKranitsas/autoresize-textarea
gondzo Mar 7, 2017
a625e16
Merge pull request #125 from ThomasKranitsas/support-empty-class
gondzo Mar 7, 2017
386bf2f
Merge pull request #127 from ThomasKranitsas/checkmark-to-tileradio
gondzo Mar 7, 2017
9f3bf47
add checkbox-item-checked class
szefkosmosu Mar 13, 2017
0b8a476
Merge pull request #131 from gondzo/checkboxCheckedClass
gondzo Mar 13, 2017
1e48e3f
fil lint error
szefkosmosu Mar 13, 2017
9e9a9d6
Merge pull request #132 from gondzo/checkboxCheckedClass
gondzo Mar 13, 2017
baba60a
fixing row number
iit2009060 Mar 14, 2017
e5a0666
Merge pull request #133 from iit2009060/issue#768
Mar 14, 2017
bd5c6f3
fixes #840
sirakovaDimitrina Mar 15, 2017
d675b87
Github issue#719, topcoder footer shown on filter page
Mar 27, 2017
3fc033c
Github issue#138, Remove console errors
Mar 27, 2017
413f6ac
Merge pull request #140 from appirio-tech/feature/misaligned_footer_a…
Mar 27, 2017
4e027ea
Merge pull request #139 from appirio-tech/feature/remove_console_errors
Mar 27, 2017
453125b
Added support for themes in TextInput component
Jun 5, 2017
9e994ab
Merge pull request #257 from appirio-tech/feature/paper-form-textbox-…
Jun 5, 2017
63e28d4
Github issue#896, Fix Tab sequence for project details form in projec…
Jun 7, 2017
0fa8702
Fixed lint errors
Jun 7, 2017
51182a7
Github issue#896, Fix Tab sequence for project details form in projec…
Jun 9, 2017
3b5a4e0
Merge pull request #262 from appirio-tech/feature/tiled-radio-keyboar…
Jun 9, 2017
61872df
prevented button text in user dropdown from breaking down in two lines
Jun 9, 2017
d791156
#906
sirakovaDimitrina Jun 13, 2017
b0ad6b2
Upgrade package to NPM 5, added version and header information for pa…
Jun 14, 2017
e52ab6f
2.0.35
Jun 14, 2017
b0b4c84
Hmm... revising version to "0.0.0" so that Travis CI doesn't do bad t…
Jun 14, 2017
052f5d0
revert version to 0.0.0
Jun 14, 2017
2752f92
Github issue#915, Update button functionality on Connect front page
Jul 6, 2017
b0e204c
Github issue#1141, required validation on checkbox-group is causing e…
Aug 24, 2017
7fd245a
Github issue#1022, 'Continue' button activates even if only 'Project …
Aug 29, 2017
b3f9261
upgrading react-components to react-router v4
Nov 9, 2017
bd70370
Fixed lint error
Nov 9, 2017
6eb5b3d
Package lock changes
Nov 9, 2017
3224269
Merge pull request #270 from appirio-tech/feature/connectv2-router-up…
Nov 9, 2017
316c110
More fix for react router upgrade
Nov 9, 2017
f2c12c7
Merge pull request #271 from appirio-tech/feature/connectv2-router-up…
Nov 9, 2017
7410804
Fixed our custom NavLink to work as expected for selected link after …
Nov 9, 2017
0cddacf
Fixed our custom NavLink to work as expected for selected link after …
Nov 9, 2017
923908d
Merge pull request #272 from appirio-tech/feature/connectv2-router-up…
Nov 9, 2017
4d70dde
Github issue#273, Validation error for custom validation is not working
Nov 21, 2017
fd30b64
Disabled lint error for ternary condition
Nov 21, 2017
264cee3
Merge pull request #274 from appirio-tech/feature/connectv2-custom-va…
Nov 27, 2017
a870d57
Tech Debt fixes for Dropdown and SelectRadioGroup
Nov 29, 2017
dfcf934
Fix #1389 clean-up 'Forms' component, which is obsoleted in connect-app
Dec 8, 2017
4055234
Merge pull request #276 from appirio-tech/tech-debt#1389
Dec 11, 2017
ac2f6c5
Merge pull request #277 from appirio-tech/feature/tech-debt-squashed
Dec 20, 2017
46420cb
Fixing issue with dropdown
Dec 20, 2017
25a38ad
Merge pull request #278 from appirio-tech/feature/tech-debt-squashed
Dec 20, 2017
82eab11
add-on Fixing issue with dropdown
Dec 20, 2017
ff0cfa0
Merge pull request #279 from appirio-tech/feature/tech-debt-squashed
Dec 20, 2017
053e6f2
Issue 1519 in connect-app. Added `noAutoclose` property to `Dropdown`…
maxceem Jan 11, 2018
d982493
Merge pull request #280 from maxceem/issue-1519-connect-app
gondzo Jan 11, 2018
dde6e2e
fixed "npm run example" by updating package-lock and adding coffescri…
maxceem Jan 12, 2018
803f570
Connect app issue 1534 - Update the user tooltip with a unified compo…
maxceem Jan 20, 2018
559a07b
removed cofeescript dependency to fix The Travis CI build
maxceem Jan 23, 2018
8b8c38c
Merge pull request #281 from maxceem/issue-1534-connect-app
gondzo Jan 27, 2018
09cef26
[#1453] Fix Project tags must be clickable and used as search term
sadathanwar17 Jan 28, 2018
dd7dd25
Update react-textarea-autosize to v.5
afrisalyp Jan 29, 2018
e3ec9ff
fixed imports to be compatible with topcoder-react-utils
maxceem Jan 30, 2018
4d9529b
added :global to all scss files
maxceem Jan 30, 2018
316ba7d
calculate on initial render.
afrisalyp Jan 30, 2018
b5c09ee
Textarea first calculate height size
afrisalyp Feb 3, 2018
6309211
textarea autosize height canged handle
afrisalyp Feb 3, 2018
b840167
Merge pull request #282 from sadathanwar17/Project_Tags_Search
gondzo Feb 4, 2018
b441efa
Merge pull request #284 from afrisalyp/feature/connectv2-textautoresize
gondzo Feb 4, 2018
8e98cb4
Merge pull request #283 from maxceem/issue-1608-connect-app
gondzo Feb 5, 2018
52deef5
update package lock
gondzo Feb 5, 2018
2850ce1
lint
gondzo Feb 5, 2018
8061728
enhanced text input with min and max if type is number
sumitdaga Mar 8, 2018
3764ab7
Merge pull request #285 from sumitdaga/issue-1744-connect-app
gondzo Mar 18, 2018
40e640c
fix for connect-app issue 1942 - Project status menu doesn't close on…
maxceem Apr 7, 2018
30f6129
Merge pull request #286 from maxceem/feature/connectv2
gondzo Apr 7, 2018
c36e3e7
blur SearchBar on Enter press to hide screen keyboard on mobile devices
maxceem Apr 30, 2018
a34675a
Merge pull request #287 from maxceem/feature/connectv2
gondzo Apr 30, 2018
dbd0ed6
fix for connect issue 1982 - show/hide tooltips on touch devices
maxceem May 1, 2018
252c8b5
Merge pull request #288 from maxceem/feature/connectv2
RishiRajSahu May 1, 2018
33de8e6
ISSUE_2188: Multiple options for radio box
meggamind Jul 28, 2018
82ab266
Merge pull request #289 from meggamind/MUTILE_OPTIONS_RADIO_BOX
gondzo Aug 2, 2018
86fe02c
issue #290 - formsy-react updated to version 0.19.5 which fixes issue…
maxceem Aug 23, 2018
ed3018e
Merge pull request #291 from maxceem/issue-290
Aug 23, 2018
6192e54
Implemented ability to add help tooltip to the TextInput next to labe…
maxceem Aug 28, 2018
799f68e
fix lint
maxceem Aug 28, 2018
fb6bb37
Merge pull request #292 from maxceem/feature/text-input-help-tooltip
Aug 28, 2018
c11daaf
fixing path of help icon
Aug 28, 2018
63e14ed
fix build error
gondzo Sep 14, 2018
74a14e5
update readme
gondzo Sep 14, 2018
998234b
new components for login flow
gondzo Sep 17, 2018
ff5b626
final fix challenge 30070946
suppermancool Sep 18, 2018
9eae7da
Merge pull request #295 from suppermancool/feature/loginFlow
gondzo Sep 18, 2018
75c24ba
finish left steps in registration/login flow
suppermancool Sep 20, 2018
c5d871a
Merge pull request #296 from suppermancool/feature/loginFlow
gondzo Sep 20, 2018
ee2f4ad
login/signup update ui
suppermancool Sep 21, 2018
bf854eb
Merge pull request #297 from suppermancool/feature/loginFlow
gondzo Sep 21, 2018
2806a4d
Remove pdf brochure link
gondzo Oct 1, 2018
a3406d3
Merge pull request #299 from appirio-tech/hotfix/removePdfBrochureLink
Oct 2, 2018
22ebf4b
fix appearing TextInput component's value next to input
maxceem Oct 4, 2018
40cfb9f
Merge pull request #300 from maxceem/hotfix/text-input-0
RishiRajSahu Oct 4, 2018
4231765
Merge pull request #298 from appirio-tech/feature/loginFlow
RishiRajSahu Oct 4, 2018
ddbd863
fix connect issue 2622 - List of steps during project creation looks …
maxceem Oct 13, 2018
125d0ad
fix colour variables after update in tc-ui
maxceem Oct 27, 2018
676ef62
Merge pull request #303 from maxceem/fix-colour-variables
Oct 28, 2018
b3e6ad8
Merge pull request #302 from maxceem/connect-issue-2622
RishiRajSahu Oct 31, 2018
6689966
Revert "fix colour variables after update in tc-ui"
RishiRajSahu Nov 2, 2018
5a44ba8
Merge pull request #304 from appirio-tech/revert-303-fix-colour-varia…
RishiRajSahu Nov 2, 2018
8194ccb
Revert "Revert "fix colour variables after update in tc-ui""
RishiRajSahu Nov 5, 2018
eadc164
Merge pull request #305 from appirio-tech/revert-304-revert-303-fix-c…
RishiRajSahu Nov 5, 2018
06096b1
Added check for presence of absolute URL
RishiRajSahu Nov 19, 2018
4d0a8b8
Fixing active slider dot in SliderRadioGroup component
Dec 3, 2018
4e1db70
Horizontal checkbox group support
Dec 17, 2018
c3bb270
Fixed style for horizontal layout of checkbox group
Dec 26, 2018
fef5117
Fixed style for horizontal layout of checkbox group
Dec 26, 2018
3973d3a
Reducing white space around read optimised text box form component
Dec 26, 2018
51f49e5
defaulting to column layout for checkbox-group type questions
Jan 3, 2019
cd11d51
New Login view for unregistered customers #2739
suppermancool Jan 9, 2019
244517c
Merge pull request #307 from suppermancool/issue-2739
RishiRajSahu Jan 10, 2019
04b4707
Support for auto filling user info for SSO user
Jan 21, 2019
edf41f9
Hiding password input for SSO login
Jan 21, 2019
4ce110a
Country selection - select by keyboard #2540
suppermancool Jan 22, 2019
010550b
Country selection dropdown should not have horizontal scroll
suppermancool Jan 22, 2019
59cb1e7
Merge pull request #308 from appirio-tech/feature/connectv2_sso_login
Jan 23, 2019
2ea1c06
https://github.com/appirio-tech/connect-app/pull/2759#pullrequestrevi…
suppermancool Jan 24, 2019
19805e6
fix fail select when search by key #2759
suppermancool Jan 24, 2019
e93e64b
fix key up/down bound issue
suppermancool Jan 24, 2019
3ede60d
Merge pull request #309 from suppermancool/issue-2540
RishiRajSahu Jan 24, 2019
37fc670
Github issue#2802, Last name is empty when user enters white space at…
Feb 6, 2019
69deb33
Valid name validation for connect registration page
Feb 8, 2019
6f94900
More fix for valid name. Used validations props to pass validator name
Feb 8, 2019
45bba08
Copy change for validation error for name
Feb 8, 2019
9a4d030
Upgrade Filestack v2 -> v3
mtwomey Feb 8, 2019
9653353
Defined => Define
Feb 12, 2019
61108a8
Add variable for Filepicker sources
mtwomey Feb 14, 2019
2363173
Merge branch 'feature/filestack-v3' into feature/connectv2
mtwomey Feb 14, 2019
39a624c
winning submission from challenge 30083737 - Topcoder Connect - Wizar…
maxceem Feb 16, 2019
8dd5ce8
export TiledCheckboxInput
maxceem Feb 23, 2019
4bcc613
winning submission from challenge 30084623 - Topcoder Connect - Wizar…
maxceem Feb 24, 2019
3b3c713
fix mutating state which led to incorrect Formzy work (for didn't rea…
maxceem Feb 24, 2019
d0a4282
fix TiledCheckboxGroup so it can got value updated from outside like …
maxceem Feb 25, 2019
96ab9a0
add "dist" folder to eslintignore so we don't pollute 'npm run lint' …
maxceem Feb 26, 2019
f289a9f
Bottom link is now clickable in WizardRight, Continue button fix in R…
akumar1503 Feb 26, 2019
0dbb8ac
+ sign appears when country is selected
akumar1503 Feb 27, 2019
dc5ef15
added + sign
akumar1503 Feb 27, 2019
34d14a2
Merge pull request #312 from maxceem/feature/connectv2
Feb 28, 2019
4389bfe
Merge pull request #313 from akumar1503/fix-2857-connect-app
RishiRajSahu Mar 5, 2019
21cb49d
Rephrased agree terms statement
RishiRajSahu Mar 6, 2019
5c03871
Merge pull request #310 from maxceem/feature/connectv2-form-redesign
Mar 8, 2019
9f5d852
Merging dev and connectv2 branches
Mar 19, 2019
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
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/
10 changes: 5 additions & 5 deletions components/Avatar/Avatar.jsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React from 'react'
import { default as ReactAvatar } from 'react-avatar'

require('./Avatar.scss')

const Avatar = ({ avatarUrl }) => {

const src = avatarUrl || require('./place-holder.svg')

const Avatar = ({ avatarUrl, userName, size }) => {
const s = size || 35
const src = !avatarUrl && !userName ? require('./place-holder.svg') : avatarUrl
return (
<div className="Avatar">
<img src={src}/>
<ReactAvatar src={ src } name={ userName } size={ s }/>
</div>
)
}
Expand Down
23 changes: 13 additions & 10 deletions components/Avatar/Avatar.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
$avatar-diameter: 35px;

.Avatar {
width : $avatar-diameter;
height : $avatar-diameter;
border-radius : 50%;
background-color: #eee;
overflow : hidden;

img {
width : 100%;
height: 100%;
:global {
.Avatar {
width : $avatar-diameter;
height : $avatar-diameter;
border-radius : 50%;
background-color: #eee;
overflow : hidden;

img {
width : 100%;
height: 100%;
}
}
}

8 changes: 4 additions & 4 deletions components/Carousel/Carousel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import classNames from 'classnames'
import React, { Component } from 'react'
import ReactDOM from 'react-dom'

import LeftArrowIcon from '../Icons/LeftArrowIcon'
import RightArrowIcon from '../Icons/RightArrowIcon'
import IconArrowMinimalLeft from '../Icons/IconArrowMinimalLeft'
import IconArrowMinimalRight from '../Icons/IconArrowMinimalRight'

export default class Carousel extends Component {
componentWillMount() {
Expand Down Expand Up @@ -107,13 +107,13 @@ export default class Carousel extends Component {
return (
<div className="Carousel">
<div className="page-down" onClick={this.handlePageDown}>
<LeftArrowIcon fill="#FFFFFF" />
<IconArrowMinimalLeft fill="#FFFFFF" />
</div>
<div className="visible-area">
{ this.props.children.map(carouselItem) }
</div>
<div className="page-up" onClick={this.handlePageUp}>
<RightArrowIcon fill="#FFFFFF" />
<IconArrowMinimalRight fill="#FFFFFF" />
</div>
</div>
)
Expand Down
77 changes: 40 additions & 37 deletions components/Carousel/Carousel.scss
Original file line number Diff line number Diff line change
@@ -1,45 +1,48 @@
@import 'topcoder/tc-includes';
@import '~tc-ui/src/styles/tc-includes';

$pager-bg-color: #737380;

.Carousel {
display: flex;
flex-direction: row;

.page-down {
width: 20px;
margin-right: 15px;
background-color: $pager-bg-color;
:global {
.Carousel {
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;

&.hidden {
display: none;
flex-direction: row;

.page-down {
width: 20px;
margin-right: 15px;
background-color: $pager-bg-color;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;

&.hidden {
display: none;
}
}
}

.page-up {
width: 20px;
background-color: $pager-bg-color;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;

&.hidden {
display: none;

.page-up {
width: 20px;
background-color: $pager-bg-color;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;

&.hidden {
display: none;
}
}
}

.visible-area {
display: flex;
flex-direction: row;
overflow: hidden;

.carousel-item:not(:first-child) {
margin-left: 30px;

.visible-area {
display: flex;
flex-direction: row;
overflow: hidden;

.carousel-item:not(:first-child) {
margin-left: 30px;
}
}
}
}
}

31 changes: 17 additions & 14 deletions components/Carousel/CarouselExamples.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
@import 'topcoder/tc-includes';
@import '~tc-ui/src/styles/tc-includes';

.Carousel {
.StandardListItem {
padding: 0px;
:global {
.Carousel {
.StandardListItem {
padding: 0px;
}
}
}

.CarouselExamples {
> p {
border: 1px solid $accent-gray;
margin: 20px 0px;

.CarouselExamples {
> p {
border: 1px solid $tc-gray-40;
margin: 20px 0px;
}
.limited-width {
width: 200px;
}
}
.limited-width {
width: 200px;
}
}
}

27 changes: 14 additions & 13 deletions components/Checkbox/Checkbox.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
@import "work/work-includes";

.Checkbox {
label {
margin-left: 10px;
:global {
.Checkbox {
label {
margin-left: 10px;
}

.icon, button {
width : 24px;
height : 24px;
/* fixing jumping issues on webkit */
outline : none;
overflow: hidden;
}
}

.icon, button {
width : 24px;
height : 24px;
/* fixing jumping issues on webkit */
outline : none;
overflow: hidden;
}
}
}
Loading