Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Develop #32

Merged
merged 62 commits into from
Aug 20, 2020
Merged
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
29491f3
2885 fix
PrakashDurlabhji Jul 19, 2019
20a3077
Update variables.scss
PrakashDurlabhji Jul 21, 2019
4da7384
reset
sushilshinde Jul 23, 2019
43de437
Update variables.scss
PrakashDurlabhji Jul 23, 2019
bb10012
update color
r0hit-gupta Jul 23, 2019
7cd37a4
Merge pull request #16 from r0hit-gupta/msft86
sushilshinde Jul 24, 2019
1e126e9
Merge pull request #14 from PrakashDurlabhji/issue_2743
sushilshinde Jul 24, 2019
c7118e7
Merge pull request #10 from PrakashDurlabhji/issue_2885
sushilshinde Jul 24, 2019
075802c
adding git dist tag
sushilshinde Jul 24, 2019
07cac82
pr from https://github.com/topcoder-platform/topcoder-react-ui-kit/pu…
veshu Jul 24, 2019
9a86b80
Merge pull request #17 from veshu/qa-accessibility
sushilshinde Jul 25, 2019
9cb85d5
npm version update
sushilshinde Jul 25, 2019
587b17f
Updating npm package version to v1.0.2
sushilshinde Jul 25, 2019
e22283a
update colors
r0hit-gupta Jul 25, 2019
f520dbc
merge
r0hit-gupta Jul 25, 2019
fdfe7fd
update colors
r0hit-gupta Jul 25, 2019
bcf361f
update colors
r0hit-gupta Jul 25, 2019
25b6443
update colors
r0hit-gupta Jul 25, 2019
02145ce
Merge pull request #19 from r0hit-gupta/color-palette-fix
sushilshinde Jul 25, 2019
035ad4d
Merge pull request #9 from r0hit-gupta/msft85
sushilshinde Jul 25, 2019
8df7ee5
Update package.json
sushilshinde Jul 25, 2019
cca4341
Merge pull request #1 from topcoder-platform/qa-accessibility
PrakashDurlabhji Jul 26, 2019
1e487f4
Merge pull request #8 from r0hit-gupta/msft83
sushilshinde Jul 29, 2019
a472d23
Upgrading npm version
sushilshinde Jul 29, 2019
b10d6f4
Merge pull request #2 from topcoder-platform/qa-accessibility
PrakashDurlabhji Jul 29, 2019
92c2e46
issue 2871 fix
PrakashDurlabhji Jul 29, 2019
21dc1c8
update colors
r0hit-gupta Jul 30, 2019
318b303
Merge pull request #21 from r0hit-gupta/color-palette-fix
sushilshinde Jul 31, 2019
6d0ec22
update npm version
sushilshinde Jul 31, 2019
a597615
Merge pull request #20 from PrakashDurlabhji/issue_2871_1
sushilshinde Jul 31, 2019
05e77e6
Update npm version to 1.0.7
sushilshinde Jul 31, 2019
6c0b333
Merge pull request #3 from topcoder-platform/qa-accessibility
PrakashDurlabhji Jul 31, 2019
7194b80
Merge pull request #1 from topcoder-platform/qa-accessibility
rashmi73 Aug 1, 2019
35f7f89
issue 3184 fix
rashmi73 Aug 1, 2019
6ca6b2c
issue 2871 fix
PrakashDurlabhji Aug 2, 2019
b529092
Merge pull request #23 from rashmi73/issue_3184
sushilshinde Aug 5, 2019
f6a81c1
fixing lint
sushilshinde Aug 5, 2019
82b5280
npm ver bump
sushilshinde Aug 5, 2019
03a8b66
2871 fix
PrakashDurlabhji Aug 5, 2019
03fdcd8
Merge pull request #24 from PrakashDurlabhji/issue_2871_2
sushilshinde Aug 6, 2019
92af643
Update package.json
sushilshinde Aug 6, 2019
3278eca
Merge pull request #4 from topcoder-platform/qa-accessibility
PrakashDurlabhji Aug 11, 2019
777e23c
2871 fix
PrakashDurlabhji Aug 11, 2019
b0885f1
Merge pull request #25 from PrakashDurlabhji/issue_2871_2
sushilshinde Aug 14, 2019
4903537
bump up to v1.0.11
sushilshinde Aug 14, 2019
0ec1844
update variables based on handoff
r0hit-gupta Aug 29, 2019
ea98aea
Merge pull request #26 from r0hit-gupta/handoff-sync
sushilshinde Sep 2, 2019
1e8b42b
Update package.json
sushilshinde Sep 3, 2019
9bcc882
Added QA to track filter
luizrrodrigues Aug 5, 2020
37ea39b
Merge pull request #28 from topcoder-platform/qa-accessibility
sushilshinde Aug 6, 2020
67a0310
fix: for #4706
sushilshinde Aug 6, 2020
eb13bd4
change dist tag
sushilshinde Aug 6, 2020
c728e1d
fix: for #4706
sushilshinde Aug 6, 2020
e53b134
Change QA track color
luizrrodrigues Aug 10, 2020
fbb7eaa
Merge pull request #29 from topcoder-platform/issue-4709
sushilshinde Aug 10, 2020
9b90286
Merge pull request #27 from topcoder-platform/issue-4706
sushilshinde Aug 10, 2020
c10ed90
fix: for #4709
sushilshinde Aug 10, 2020
5362a20
QA track colors udpated
luizrrodrigues Aug 10, 2020
de203e5
Merge pull request #31 from topcoder-platform/issue-4709
sushilshinde Aug 10, 2020
38c5c2d
fix: for #4709
sushilshinde Aug 10, 2020
a0ff411
feat: V5 challenge API, resource API integration
sushilshinde Aug 18, 2020
9451a43
feat: V5 Challenge API, resource API integration
sushilshinde Aug 18, 2020
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 .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -48,4 +48,4 @@ workflows:
tags:
only: /v[0-9]+(\.[0-9]+)*/
requires:
- test
- test
2 changes: 2 additions & 0 deletions __tests__/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
@@ -15,6 +15,8 @@ Object {
"GhostButton": [Function],
"Modal": [Function],
"PrimaryButton": [Function],
"QATrackEventTag": [Function],
"QATrackTag": [Function],
"SecondaryButton": [Function],
"Tag": [Function],
}
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@
"lint:scss": "./node_modules/.bin/stylelint **/*.scss --syntax scss",
"test": "npm run lint && npm run jest"
},
"version": "0.5.10",
"version": "2.0.0",
"dependencies": {
"prop-types": "^15.6.2",
"react": "^16.4.1",
4 changes: 2 additions & 2 deletions src/shared/components/buttons/themes/danger.scss
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
@import "default";

@mixin button {
background: $tc-red-70;
background: $tc-red-110;
border-color: transparent;
color: $tc-white;
}
@@ -38,7 +38,7 @@
}

&:active {
background-color: $tc-red;
background-color: $tc-red-110;
background-image: none;
box-shadow: inset 0 1px 3px 0 rgba(71, 71, 79, 0.38);
border-color: transparent;
2 changes: 1 addition & 1 deletion src/shared/components/buttons/themes/primary.scss
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
@import "default";

@mixin button {
background: $tc-dark-blue;
background: $tc-dark-blue-110;
border-color: transparent;
color: $tc-white;
}
4 changes: 2 additions & 2 deletions src/shared/components/tags/event/data-science.scss
Original file line number Diff line number Diff line change
@@ -5,14 +5,14 @@
@import "../default";

.button {
color: $tc-orange;
color: $tc-orange-110;
background-color: $tc-orange-10;

&:active,
&:focus,
&:hover {
color: $tc-orange;
background-color: $tc-orange-10;
background-color: $tc-orange-30;
}

&:visited {
4 changes: 2 additions & 2 deletions src/shared/components/tags/event/design.scss
Original file line number Diff line number Diff line change
@@ -5,14 +5,14 @@
@import "../default";

.button {
color: $tc-light-blue;
color: $tc-dark-blue-110;
background-color: $tc-light-blue-10;

&:active,
&:focus,
&:hover {
color: $tc-light-blue;
background-color: $tc-light-blue-10;
background-color: $tc-light-blue-30;
}

&:visited {
4 changes: 2 additions & 2 deletions src/shared/components/tags/event/development.scss
Original file line number Diff line number Diff line change
@@ -5,14 +5,14 @@
@import "../default";

.button {
color: $tc-green;
color: $tc-green-110;
background-color: $tc-green-10;

&:active,
&:focus,
&:hover {
color: $tc-green;
background-color: $tc-green-10;
background-color: $tc-green-30;
}

&:visited {
21 changes: 21 additions & 0 deletions src/shared/components/tags/event/qa.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Event tag, colored with colors of qa track (purple).
*/

@import "../default";

.button {
color: $tc-purple-120;
background-color: $tc-purple-20;

&:active,
&:focus,
&:hover {
color: $tc-purple;
background-color: $tc-purple-30;
}

&:visited {
color: $tc-purple;
}
}
5 changes: 5 additions & 0 deletions src/shared/components/tags/index.jsx
Original file line number Diff line number Diff line change
@@ -6,10 +6,12 @@ import defaultTag from './default.scss';
import dataScienceTrackTag from './primary/data-science.scss';
import designTrackTag from './primary/design.scss';
import developmentTrackTag from './primary/development.scss';
import qaTrackTag from './primary/qa.scss';

import dataScienceTrackEventTag from './event/data-science.scss';
import designTrackEventTag from './event/design.scss';
import developmentTrackEventTag from './event/development.scss';
import qaTrackEventTag from './event/qa.scss';

export const Tag = themr('Tag', defaultTag)(GenericButton);

@@ -21,3 +23,6 @@ export const DesignTrackEventTag = themr('DesignTrackEventTag', designTrackEvent

export const DevelopmentTrackTag = themr('DevelopmentTrackTag', developmentTrackTag)(GenericButton);
export const DevelopmentTrackEventTag = themr('DevelopmentTrackEventTag', developmentTrackEventTag)(GenericButton);

export const QATrackTag = themr('QATrackTag', qaTrackTag)(GenericButton);
export const QATrackEventTag = themr('QATrackEventTag', qaTrackEventTag)(GenericButton);
2 changes: 1 addition & 1 deletion src/shared/components/tags/primary/data-science.scss
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
@import "../default";

.button {
background-color: $tc-orange;
background-color: $tc-orange-110;
color: $tc-white;

&:active,
2 changes: 1 addition & 1 deletion src/shared/components/tags/primary/design.scss
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
@import "../default";

.button {
background-color: $tc-light-blue;
background-color: $tc-light-blue-110;
color: $tc-white;

&:active,
2 changes: 1 addition & 1 deletion src/shared/components/tags/primary/development.scss
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
@import "../default";

.button {
background-color: $tc-green;
background-color: $tc-green-110;
color: $tc-white;

&:active,
21 changes: 21 additions & 0 deletions src/shared/components/tags/primary/qa.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Primary tag, colored with colors of qa track (purple).
*/

@import "../default";

.button {
background-color: $tc-purple-120;
color: $tc-white;

&:active,
&:focus,
&:hover {
color: $tc-white;
background-color: $tc-purple;
}

&:visited {
color: $tc-white;
}
}
59 changes: 32 additions & 27 deletions src/styles/_mixins/variables.scss
Original file line number Diff line number Diff line change
@@ -24,6 +24,7 @@ $tc-black: #151516;
$tc-gray-90: #2a2a2b;
$tc-gray-80: #404041;
$tc-gray-70: #555;
$tc-gray-75: #006dea;
$tc-gray-60: #6b6b6b;
$tc-gray-50: #808080;
$tc-gray-40: #959596;
@@ -36,31 +37,32 @@ $tc-gray-neutral-light: #fafafb;
$tc-white: #fff;

/* Accents & Shades. */
$tc-dark-blue-110: #006dea;
$tc-dark-blue-110: #006ad7;
$tc-dark-blue-105: #006feb;
$tc-dark-blue-100: #0681ff;
$tc-dark-blue-70: #55a5ff;
$tc-dark-blue-30: #cee6ff;
$tc-dark-blue-10: #f4f9ff;

/* Light Blue - design color code. */
$tc-light-blue-110: #169ed9;
$tc-light-blue-100: #26ade9;
$tc-light-blue-70: #67c5ef;
$tc-light-blue-30: #bde6f8;
$tc-light-blue-110: #0076a5;
$tc-light-blue-100: #15acec;
$tc-light-blue-70: #63c4f1;
$tc-light-blue-30: #bce6f9;
$tc-light-blue-10: #e9f6fc;

/* Warm Orange - data science color code. */
$tc-orange-110: #f26500;
$tc-orange-100: #fb7d22;
$tc-orange-70: #fda464;
$tc-orange-30: #fee3d0;
$tc-orange-110: #ba4c00;
$tc-orange-100: #fd7d00;
$tc-orange-70: #ffa45d;
$tc-orange-30: #ffe3cf;
$tc-orange-10: #fff0eb;

/* Red - used for warnings/ */
$tc-red-110: #ea1900;
$tc-red-100: #f22f24;
$tc-red-70: #ff5b52;
$tc-red-30: #ffd4d1;
$tc-red-100: #f52c14;
$tc-red-70: #ff5a4c;
$tc-red-30: #ffd4d0;
$tc-red-10: #fff4f4;

/* Yellow. */
@@ -71,25 +73,28 @@ $tc-yellow-30: #fff8ca;
$tc-yellow-10: #fffde5;

/* Greens - development color code. */
$tc-green-110: #55b000;
$tc-green-100: #60c700;
$tc-green-70: #96d957;
$tc-green-30: #cfefb2;
$tc-green-10: #effae5;
$tc-green-120: #258205;
$tc-green-110: #328732;
$tc-green-100: #5cc900;
$tc-green-70: #94db4e;
$tc-green-30: #cef0af;
$tc-green-10: #effae4;

/* Purples. */
$tc-purple-110: #9050a3;
$tc-purple-100: #9050a3;
$tc-purple-70: #b47dd6;
$tc-purple-30: #e2c7f2;
$tc-purple-120: #8231a9;
$tc-purple-110: #753488;
$tc-purple-100: #914da5;
$tc-purple-70: #b57ad8;
$tc-purple-30: #e2c6f3;
$tc-purple-20: #e6cff1;
$tc-purple-10: #f8f2fb;

/* TC Metal colors - Badges.
*
* For metals the level 100 is the base metal color; 110 is for text inside
* the metal-colored areas; and 130 is for small text inside metal-colored
* areas, for better visibility. */
$tc-gold-130: #865e07;
$tc-gold-130: #9a6d00;
$tc-gold-110: #c99014;
$tc-gold-100: #ffd84d;

@@ -99,13 +104,13 @@ $tc-silver-100: #d1d0cf;

$tc-bronze-130: #733d17;
$tc-bronze-110: #854e29;
$tc-bronze-100: #d98d64;
$tc-bronze-100: #d98f64;

/* Pastel colors, used for levels. */
$tc-pastel-green: #25c089;
$tc-pastel-blue: #666eff;
$tc-pastel-yellow: #fcb816;
$tc-pastel-crimson: #e6175c;
$tc-pastel-green: #12c188;
$tc-pastel-blue: #5656f4;
$tc-pastel-yellow: #feb900;
$tc-pastel-crimson: #e90c5a;

/* Color aliases. */