@@ -3230,19 +3200,27 @@
Source Code
var content = document.querySelector(cls);
content.parentNode.appendChild(content.cloneNode(true));
}
- (function() {
+ function toggleTheme() {
+ var dataset = document.body.dataset;
+ if (dataset.theme === 'light') {
+ dataset.theme = 'dark';
+ } else {
+ dataset.theme = 'light';
+ }
+ }
+ (function () {
function setDropDownMenuVisibility() {
var top = $(document).scrollTop();
var $banner = $('#banner');
var elementTop = $banner.offset().top;
var elementBottom = elementTop + $banner.height();
- $('#menu_dropdown').toggle(top >= elementBottom);
+ // $('#menu_dropdown').toggle(top >= elementBottom);
}
- $(function() {
+ $(function () {
setDropDownMenuVisibility();
- $('input[type=checkbox][data-checked]').change(function() {
+ $('input[type=checkbox][data-checked]').change(function () {
const el = $(this);
switch (el.attr('data-checked')) {
case '0':
@@ -3263,7 +3241,7 @@
Source Code
});
});
- $(window).scroll(function() {
+ $(window).scroll(function () {
var top = $(document).scrollTop();
$('.splash').css({
'background-position': '0px -' + (top / 3).toFixed(2) + 'px',
@@ -3273,15 +3251,13 @@
Source Code
setDropDownMenuVisibility();
});
- $("a[href='#']").click(function(e) {
+ $("a[href='#']").click(function (e) {
e.preventDefault();
});
var $button = $(
"
< >
",
- ).click(function() {
- var html = $(this)
- .parent()
- .html();
+ ).click(function () {
+ var html = $(this).parent().html();
html = cleanSource(html);
$('#source-modal pre').text(html);
$('#source-modal').modal();
@@ -3289,11 +3265,11 @@
Source Code
$('.bs-component [data-toggle="popover"]').popover();
$('.bs-component [data-toggle="tooltip"]').tooltip();
$('.bs-component').hover(
- function() {
+ function () {
$(this).append($button);
$button.show();
},
- function() {
+ function () {
$button.hide();
},
);
@@ -3309,7 +3285,7 @@
Source Code
lines.splice(-1, 1);
var indentSize = lines[0].length - lines[0].trim().length,
re = new RegExp(' {' + indentSize + '}');
- lines = lines.map(function(line) {
+ lines = lines.map(function (line) {
if (line.match(re)) {
line = line.substring(indentSize);
}
diff --git a/packages/theme/package.json b/packages/theme/package.json
index 2b2e8fedf15..ffa9621f34e 100644
--- a/packages/theme/package.json
+++ b/packages/theme/package.json
@@ -28,11 +28,12 @@
},
"dependencies": {
"@talend/bootstrap-sass": "^3.4.8",
+ "@talend/design-tokens": "^2.7.3",
"@talend/icons": "^6.58.1"
},
"devDependencies": {
"@talend/icons": "^6.58.1",
- "@talend/scripts-core": "^13.3.0",
+ "@talend/scripts-core": "^14.0.0",
"copy-webpack-plugin": "^10.2.4",
"css-minimizer-webpack-plugin": "^4.2.2",
"html-webpack-plugin": "^5.5.3",
@@ -43,5 +44,5 @@
"publishConfig": {
"access": "public"
},
- "version": "7.0.1"
+ "version": "8.0.0"
}
diff --git a/packages/theme/src/theme/_badges.scss b/packages/theme/src/theme/_badges.scss
new file mode 100644
index 00000000000..556b5444d95
--- /dev/null
+++ b/packages/theme/src/theme/_badges.scss
@@ -0,0 +1,12 @@
+@use '~@talend/design-tokens/lib/tokens';
+
+.badge {
+ color: tokens.$coral-color-neutral-text;
+ background-color: tokens.$coral-color-neutral-background-strong;
+}
+
+.list-group-item.active > .badge,
+.nav-pills > .active > a > .badge {
+ color: tokens.$coral-color-accent-text;
+ background-color: tokens.$coral-color-accent-background-weak;
+}
diff --git a/packages/theme/src/theme/_breadcrumbs.scss b/packages/theme/src/theme/_breadcrumbs.scss
index 97e317b2a53..fc188cfde9a 100644
--- a/packages/theme/src/theme/_breadcrumbs.scss
+++ b/packages/theme/src/theme/_breadcrumbs.scss
@@ -1,3 +1,4 @@
+@use '~@talend/design-tokens/lib/tokens';
////
/// Bootstrap breadcrumbs customization
/// @group Breadcrumbs
@@ -10,8 +11,9 @@
padding: 0 $padding-normal;
height: $breadcrumb-height;
white-space: nowrap;
- color: $breadcrumb-items-color;
+ color: tokens.$coral-color-neutral-text;
border-radius: 0;
+ background-color: tokens.$coral-color-neutral-background;
> li {
display: flex;
@@ -28,6 +30,7 @@
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
+ color: tokens.$coral-color-accent-text;
}
+ li {
@@ -38,7 +41,7 @@
margin: 0 $padding-small $padding-smaller $padding-smaller;
padding: 0 0 0 $padding-small;
transform: rotate(30deg);
- border-right: 0.1rem solid $breadcrumb-items-separator-color;
+ border-right: 0.1rem solid tokens.$coral-color-neutral-border;
height: 1.25rem;
}
}
@@ -46,7 +49,7 @@
// stylelint-disable-next-line selector-no-qualifying-type
&.active span {
font-weight: $font-weight-semi-bold;
- color: $breadcrumb-items-active-color;
+ color: tokens.$coral-color-neutral-text;
}
}
@@ -65,7 +68,7 @@
&:active,
&:active:focus,
&.active {
- color: $breadcrumb-items-color-hover;
+ color: tokens.$coral-color-accent-text-active;
background: transparent;
text-decoration: none;
}
diff --git a/packages/theme/src/theme/_buttons.scss b/packages/theme/src/theme/_buttons.scss
index 103f5eeaca2..2e76a38149b 100644
--- a/packages/theme/src/theme/_buttons.scss
+++ b/packages/theme/src/theme/_buttons.scss
@@ -3,24 +3,11 @@
/// @group Buttons
////
-:root {
- --t-button-color: currentColor;
- --t-button-background-color: transparent;
- --t-button-border-color: transparent;
+@use '@talend/design-tokens/lib/tokens';
+:root {
--t-button-padding: 0 #{$padding-normal};
--t-button-height: #{$btn-line-height - 0.2rem};
-
- --t-button-primary-color: #{$btn-primary-color};
- --t-button-primary-background: #{$btn-primary-bg};
- --t-button-primary-background--hover: #{$btn-primary-bg-hover};
- --t-button-primary-background--active: #{$btn-primary-bg-active};
-
- --t-button-secondary-background--hover: #{$lochmara100};
-
- --t-button-destructive-background: #{$btn-danger-bg};
- --t-button-destructive-background--hover: #{$btn-danger-bg-hover};
- --t-button-destructive-background--active: #{$btn-danger-bg-active};
}
.btn {
@@ -31,14 +18,15 @@
padding: var(--t-button-padding);
border: 1px solid;
box-shadow: none;
+ /* stylelint-disable-next-line declaration-property-value-disallowed-list */
transition: all 0.1s ease-out;
&,
&:focus,
&:hover {
- color: var(--t-button-color);
- background-color: var(--t-button-background-color);
- border-color: var(--t-button-border-color);
+ color: currentColor;
+ background-color: transparent;
+ border-color: transparent;
}
&:active,
@@ -77,7 +65,7 @@
}
&,
- & > span {
+ > span {
display: inline-flex;
gap: 0.5rem;
align-items: center;
@@ -98,93 +86,151 @@
&-success,
&-info,
&-warning,
- &.btn-danger,
- &--primary,
- &.btn--destructive {
- --t-button-color: var(--t-button-primary-color);
+ &--primary {
+ background: tokens.$coral-color-accent-background-strong;
+ color: tokens.$coral-color-accent-text-weak;
+
+ &:hover {
+ background: tokens.$coral-color-accent-background-strong-hover;
+ color: tokens.$coral-color-accent-text-weak-hover;
+ }
+
+ &:active {
+ background: tokens.$coral-color-accent-background-strong-active;
+ color: tokens.$coral-color-accent-text-weak-active;
+ }
}
- &-primary,
- &-success,
- &-info,
- &-warning,
- &--primary {
- --t-button-background-color: var(--t-button-primary-background);
+ &-inverse {
+ background-color: transparent;
+ border: tokens.$coral-border-s-solid tokens.$coral-color-accent-border;
+ color: tokens.$coral-color-accent-text;
&:hover {
- --t-button-background-color: var(--t-button-primary-background--hover);
+ background: tokens.$coral-color-accent-background-weak-hover;
+ border: tokens.$coral-border-s-solid tokens.$coral-color-accent-border;
+ color: tokens.$coral-color-accent-text-strong-hover;
}
&:active {
- --t-button-background-color: var(--t-button-primary-background--active);
+ background: tokens.$coral-color-accent-background-weak-active;
+ color: tokens.$coral-color-accent-text-strong-active;
+ }
+
+ &:disabled,
+ &[aria-disabled='true'],
+ &[aria-busy='true'] {
+ background: transparent;
+ border: tokens.$coral-border-s-solid tokens.$coral-color-neutral-border-disabled;
+ color: tokens.$coral-color-neutral-text-disabled;
+
+ &:hover {
+ background-color: transparent;
+ }
}
}
- &-inverse,
- &--secondary,
- &-tertiary,
- &--tertiary,
- &-link {
- --t-button-color: var(--t-button-primary-background);
+ &--secondary {
+ background-color: transparent;
+ border-color: tokens.$coral-color-accent-text;
+ color: tokens.$coral-color-accent-text;
&:hover {
- --t-button-color: var(--t-button-primary-background--hover);
+ background: tokens.$coral-color-accent-background-weak-hover;
+ border-color: tokens.$coral-color-accent-text;
+ color: tokens.$coral-color-accent-text-strong-hover;
}
&:active {
- --t-button-color: var(--t-button-primary-background--active);
+ background: tokens.$coral-color-accent-background-weak-active;
+ color: tokens.$coral-color-accent-text-strong-active;
+ }
+
+ &:disabled,
+ &[aria-disabled='true'],
+ &[aria-busy='true'] {
+ background: transparent;
+ border: tokens.$coral-border-s-solid tokens.$coral-color-neutral-border-disabled;
+ color: tokens.$coral-color-neutral-text-disabled;
+
+ &:hover {
+ background-color: transparent;
+ }
}
}
- &-inverse,
- &--secondary,
&-tertiary,
&--tertiary {
- --t-button-background-color: transparent;
+ background-color: transparent;
+ color: tokens.$coral-color-accent-text;
+
+ &:hover {
+ background: tokens.$coral-color-accent-background-weak-hover;
+ color: tokens.$coral-color-accent-text-strong-hover;
+ }
- &:hover,
&:active {
- --t-button-background-color: var(--t-button-secondary-background--hover);
+ background: tokens.$coral-color-accent-background-weak-active;
+ color: tokens.$coral-color-accent-text-strong-active;
}
- &[disabled] {
+ &:disabled,
+ &[aria-disabled='true'],
+ &[aria-busy='true'] {
+ background: transparent;
+ border: tokens.$coral-border-s-solid tokens.$coral-color-neutral-border-disabled;
+ color: tokens.$coral-color-neutral-text-disabled;
+
&:hover {
- --t-button-background-color: transparent;
+ background-color: transparent;
}
}
}
- &-inverse,
- &--secondary {
- --t-button-border-color: var(--t-button-primary-background);
- }
+ &-link {
+ color: tokens.$coral-color-accent-text;
- &.btn-danger,
- &.btn--destructive {
- --t-button-background-color: var(--t-button-destructive-background);
- --t-button-border-color: var(--t-button-destructive-background);
+ &:hover {
+ color: tokens.$coral-color-accent-text-strong-hover;
+ }
- &,
- &:hover,
&:active {
- --t-button-color: var(--t-button-primary-color);
+ color: tokens.$coral-color-accent-text-strong-active;
}
+ &:disabled,
+ &[aria-disabled='true'],
+ &[aria-busy='true'] {
+ border: tokens.$coral-border-s-solid tokens.$coral-color-neutral-border-disabled;
+ color: tokens.$coral-color-neutral-text-disabled;
+ }
+ }
+
+ &.btn-danger,
+ &.btn--destructive {
+ background: tokens.$coral-color-danger-background-strong;
+ border: tokens.$coral-color-danger-background-strong;
+ color: tokens.$coral-color-danger-text-weak;
+
&:hover {
- --t-button-background-color: var(--t-button-destructive-background--hover);
- --t-button-border-color: var(--t-button-destructive-background--hover);
+ background: tokens.$coral-color-danger-background-strong-hover;
+ color: tokens.$coral-color-danger-text-weak-hover;
}
&:active {
- --t-button-background-color: var(--t-button-destructive-background--active);
- --t-button-border-color: var(--t-button-destructive-background--active);
+ background: tokens.$coral-color-danger-background-strong-active;
+ color: tokens.$coral-color-danger-text-weak-active;
+ }
+
+ &[disabled] &:hover,
+ .disabled &:hover {
+ background: tokens.$coral-color-neutral-background-disabled;
+ color: tokens.$coral-color-neutral-text-disabled;
}
}
&-icon-text {
--t-button-padding: 0;
- --t-button-background-color: transparent;
- --t-button-border-color: transparent;
}
&-xs,
diff --git a/packages/theme/src/theme/_code.scss b/packages/theme/src/theme/_code.scss
new file mode 100644
index 00000000000..f53210b719c
--- /dev/null
+++ b/packages/theme/src/theme/_code.scss
@@ -0,0 +1,11 @@
+@use '@talend/design-tokens/lib/tokens';
+
+code {
+ color: tokens.$coral-color-danger-text-strong;
+ background-color: tokens.$coral-color-danger-background;
+}
+
+pre {
+ background-color: tokens.$coral-color-neutral-background-medium;
+ color: tokens.$coral-color-neutral-text;
+}
diff --git a/packages/theme/src/theme/_colors.scss b/packages/theme/src/theme/_colors.scss
index 1da9c17689b..f6fb700eb28 100644
--- a/packages/theme/src/theme/_colors.scss
+++ b/packages/theme/src/theme/_colors.scss
@@ -1,3 +1,4 @@
+/* stylelint-disable color-hex-case */
////
/// Talend colors
/// @group Colors
@@ -7,15 +8,15 @@
///
/// @type Color
$gray0: white;
-$gray50: #F3F3F3;
-$gray75: #E8E8E8;
-$gray100: #D2D2D2;
-$gray200: #BCBCBC;
-$gray300: #A5A5A5;
-$gray400: #8F8F8F;
+$gray50: #f3f3f3;
+$gray75: #e8e8e8;
+$gray100: #d2d2d2;
+$gray200: #bcbcbc;
+$gray300: #a5a5a5;
+$gray400: #8f8f8f;
$gray500: #797979;
$gray600: #626262;
-$gray700: #4C4C4C;
+$gray700: #4c4c4c;
$gray800: #363636;
$gray900: #202020;
$gray: $gray500;
@@ -23,45 +24,45 @@ $gray: $gray500;
/// Talend coral color
///
/// @type Color
-$coral100: #FFE1E2;
-$coral200: #FFC4C5;
-$coral300: #FFA7A9;
-$coral400: #FF8A8C;
-$coral500: #FF6D70;
-$coral600: #CC5759;
+$coral100: #ffe1e2;
+$coral200: #ffc4c5;
+$coral300: #ffa7a9;
+$coral400: #ff8a8c;
+$coral500: #ff6d70;
+$coral600: #cc5759;
$coral700: #994143;
-$coral800: #662B2C;
+$coral800: #662b2c;
$coral900: #321516;
-$coral: #FF6D70;
+$coral: #ff6d70;
/// Talend brand color
///
/// @type Color
-$russian-violet: #2C1F56;
+$russian-violet: #2c1f56;
/// Primary color, mostly used for the selected elements
/// and to draw attention to the important elements of interaction.
///
/// @type Color
-$deep-blue100: #D1D9E1;
-$deep-blue200: #A3B3C4;
-$deep-blue300: #758DA6;
+$deep-blue100: #d1d9e1;
+$deep-blue200: #a3b3c4;
+$deep-blue300: #758da6;
$deep-blue400: #476789;
-$deep-blue500: #19426C;
+$deep-blue500: #19426c;
$deep-blue600: #143456;
-$deep-blue700: #0F2740;
-$deep-blue800: #0A1A2B;
-$deep-blue900: #040D15;
+$deep-blue700: #0f2740;
+$deep-blue800: #0a1a2b;
+$deep-blue900: #040d15;
$regal-blue: $deep-blue500;
-$pale-cyan100: #CDE3F2;
-$pale-cyan200: #9BC7E6;
-$pale-cyan300: #69ACD9;
-$pale-cyan400: #3790CD;
-$pale-cyan500: #0675C1;
-$pale-cyan600: #045D9A;
+$pale-cyan100: #cde3f2;
+$pale-cyan200: #9bc7e6;
+$pale-cyan300: #69acd9;
+$pale-cyan400: #3790cd;
+$pale-cyan500: #0675c1;
+$pale-cyan600: #045d9a;
$pale-cyan700: #034673;
-$pale-cyan800: #022E4D;
+$pale-cyan800: #022e4d;
$pale-cyan900: #011726;
/// Primary color, mostly used for the selected elements
@@ -76,21 +77,21 @@ $st-tropaz: #236192;
///
/// @type Color
/// @deprecated
-$green-talend: #B6BE00;
+$green-talend: #b6be00;
/// Secondary color.
/// Used to valid/validated/validation elements.
///
/// @type Color
-$rio-grande100: #E6F1D9;
-$rio-grande200: #CDE4B3;
-$rio-grande300: #B4D78D;
-$rio-grande400: #9BCA67;
-$rio-grande500: #82BD41;
+$rio-grande100: #e6f1d9;
+$rio-grande200: #cde4b3;
+$rio-grande300: #b4d78d;
+$rio-grande400: #9bca67;
+$rio-grande500: #82bd41;
$rio-grande600: #689734;
-$rio-grande700: #4E7127;
-$rio-grande800: #344B1A;
-$rio-grande900: #19250C;
+$rio-grande700: #4e7127;
+$rio-grande800: #344b1a;
+$rio-grande900: #19250c;
$rio-grande: $rio-grande500;
/// Secondary color.
@@ -98,83 +99,83 @@ $rio-grande: $rio-grande500;
///
/// @type Color
/// @deprecated
-$scooter: #66BDFF;
+$scooter: #66bdff;
/// Secondary color.
/// Errors and to notify non-valid elements or warning information.
///
/// @type Color
/// @deprecated
-$chestnut-rose: #E96065;
+$chestnut-rose: #e96065;
/// Secondary color.
/// Used to notify invalid elements or warning information.
///
/// @type Color
-$lightning-yellow100: #FCF3DA;
-$lightning-yellow200: #FAE7B5;
-$lightning-yellow300: #F7DB90;
-$lightning-yellow400: #F5CF6B;
-$lightning-yellow500: #F3C446;
-$lightning-yellow600: #C29C38;
-$lightning-yellow700: #91752A;
-$lightning-yellow800: #614E1C;
-$lightning-yellow900: #30270D;
+$lightning-yellow100: #fcf3da;
+$lightning-yellow200: #fae7b5;
+$lightning-yellow300: #f7db90;
+$lightning-yellow400: #f5cf6b;
+$lightning-yellow500: #f3c446;
+$lightning-yellow600: #c29c38;
+$lightning-yellow700: #91752a;
+$lightning-yellow800: #614e1c;
+$lightning-yellow900: #30270d;
$lightning-yellow: $lightning-yellow500;
/// Secondary color.
///
/// @type Color
-$jaffa100: #FAE6D5;
-$jaffa200: #F6CDAC;
-$jaffa300: #F2B482;
-$jaffa400: #EE9B59;
-$jaffa500: #EA8330;
-$jaffa600: #BB6826;
-$jaffa700: #8C4E1C;
-$jaffa800: #5D3413;
-$jaffa900: #2E1A09;
+$jaffa100: #fae6d5;
+$jaffa200: #f6cdac;
+$jaffa300: #f2b482;
+$jaffa400: #ee9b59;
+$jaffa500: #ea8330;
+$jaffa600: #bb6826;
+$jaffa700: #8c4e1c;
+$jaffa800: #5d3413;
+$jaffa900: #2e1a09;
$jaffa: $jaffa500;
/// Secondary color.
///
/// @type Color
-$moody-purple100: #E0E0F5;
-$moody-purple200: #C1C1EC;
-$moody-purple300: #A3A2E3;
-$moody-purple400: #8483DA;
-$moody-purple500: #6664D1;
-$moody-purple600: #5150A7;
-$moody-purple700: #3D3C7D;
+$moody-purple100: #e0e0f5;
+$moody-purple200: #c1c1ec;
+$moody-purple300: #a3a2e3;
+$moody-purple400: #8483da;
+$moody-purple500: #6664d1;
+$moody-purple600: #5150a7;
+$moody-purple700: #3d3c7d;
$moody-purple800: #282853;
$moody-purple900: #141329;
/// Secondary color.
///
/// @type Color
-$lochmara100: #CDE3F2;
-$lochmara200: #9BC7E6;
-$lochmara300: #69ACD9;
-$lochmara400: #3790CD;
-$lochmara500: #0675C1;
-$lochmara600: #045D9A;
+$lochmara100: #cde3f2;
+$lochmara200: #9bc7e6;
+$lochmara300: #69acd9;
+$lochmara400: #3790cd;
+$lochmara500: #0675c1;
+$lochmara600: #045d9a;
$lochmara700: #034673;
-$lochmara800: #022E4D;
+$lochmara800: #022e4d;
$lochmara900: #011726;
$lochmara: $lochmara500;
/// Secondary color.
///
/// @type Color
-$pale-cyan100: #E9F5FB;
-$pale-cyan200: #D3ECF7;
-$pale-cyan300: #BDE3F4;
-$pale-cyan400: #A7DAF0;
-$pale-cyan500: #91D1ED;
-$pale-cyan600: #74A7BD;
-$pale-cyan700: #577D8E;
-$pale-cyan800: #3A535E;
-$pale-cyan900: #1D292F;
+$pale-cyan100: #e9f5fb;
+$pale-cyan200: #d3ecf7;
+$pale-cyan300: #bde3f4;
+$pale-cyan400: #a7daf0;
+$pale-cyan500: #91d1ed;
+$pale-cyan600: #74a7bd;
+$pale-cyan700: #577d8e;
+$pale-cyan800: #3a535e;
+$pale-cyan900: #1d292f;
$pale-cyan: $pale-cyan500;
/// Greyscale.
diff --git a/packages/theme/src/theme/_dropdowns.scss b/packages/theme/src/theme/_dropdowns.scss
index 16ba60c7927..e2d8ef74ce0 100644
--- a/packages/theme/src/theme/_dropdowns.scss
+++ b/packages/theme/src/theme/_dropdowns.scss
@@ -1,3 +1,5 @@
+@use '~@talend/design-tokens/lib/tokens';
+
////
/// Bootstrap dropdowns customization
/// @group Dropdowns
@@ -33,14 +35,21 @@ $dropdown-caret-up-axis: -45deg !default;
margin: 0;
padding: $padding-small 0;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.175);
+ background-color: tokens.$coral-color-neutral-background;
li > a {
+ color: tokens.$coral-color-neutral-text;
display: flex;
align-items: center;
flex-basis: 100%;
padding: calc(#{$padding-normal} / 2) $padding-large;
transition: 0.1s background-color ease-out;
+ &:hover {
+ background-color: tokens.$coral-color-neutral-background-medium;
+ color: tokens.$coral-color-neutral-text;
+ }
+
> svg:first-child {
margin-right: $padding-small;
}
diff --git a/packages/theme/src/theme/_forms.checkbox.scss b/packages/theme/src/theme/_forms.checkbox.scss
index 09492a5ccaa..fb19ea3f06b 100644
--- a/packages/theme/src/theme/_forms.checkbox.scss
+++ b/packages/theme/src/theme/_forms.checkbox.scss
@@ -1,88 +1,113 @@
-$tt-checkbox-size: 1.4rem !default;
-
-input[type='checkbox'] {
- &::before,
- &::after,
- + *::before,
- + *::after {
- width: $tt-checkbox-size;
- height: $tt-checkbox-size;
- }
-
- &::before,
- + *::before {
- background-color: var(--t-form-background-color);
- border: 1px solid var(--t-form-border-color);
- border-radius: 2px;
- }
+@use '~@talend/design-tokens/lib/tokens';
- &::after,
- + *::after {
- background-size: contain;
- }
+$tt-checkbox-size: 1.4rem !default;
+$checkmark-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03LjA1IDEgMyA1LjEuOTUgMy4wNDk1IDAgNGwzIDMgNS01LjA1TDcuMDUgMVoiIGZpbGw9IiNmZmYiLz48bWFzayBpZD0iYSIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMSIgd2lkdGg9IjgiIGhlaWdodD0iNiI+PHBhdGggZD0iTTcuMDUgMSAzIDUuMS45NSAzLjA0OTUgMCA0bDMgMyA1LTUuMDVMNy4wNSAxWiIgZmlsbD0iI2ZmZiIvPjwvbWFzaz48L3N2Zz4=');
+$checkmark-image-indeterminate: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNOCA1SDBWM2g4djJaIiBmaWxsPSIjZmZmIi8+PC9zdmc+');
- // Indeterminate Checkboxes style
- &[data-checked='1'] {
+.checkbox {
+ input[type='checkbox'] {
&::before,
- + *::before {
- background-color: var(--t-form-border-color--focus);
- border-color: var(--t-form-border-color--checked);
- }
-
&::after,
+ + *::before,
+ *::after {
- margin: 0;
width: $tt-checkbox-size;
height: $tt-checkbox-size;
- background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSIwIDAgMTIgMTIiPgogIDxyZWN0IHg9IjMiIHk9IjUiIHdpZHRoPSI2IiBoZWlnaHQ9IjIiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPgo8L3N2Zz4K');
}
- }
- &:checked {
&::before,
+ *::before {
- background-color: var(--t-form-border-color--focus);
- border-color: var(--t-form-border-color--checked);
+ background-color: tokens.$coral-color-neutral-background-medium;
+ border: 1px solid tokens.$coral-color-neutral-border;
+ border-radius: 2px;
}
&::after,
+ *::after {
- $check-mark-margin: 0.1rem;
- $check-mark-size: $tt-checkbox-size - 2 * $check-mark-margin;
- margin: $check-mark-margin;
- width: $check-mark-size;
- height: $check-mark-size;
- background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImZpbGw6IHdoaXRlIj4KCTxwYXRoIGQ9Ik02IDE0TDAgOGwxLjktMS45TDYgMTAuMiAxNC4xIDIgMTYgMy45eiI+PC9wYXRoPgo8L3N2Zz4=');
+ background-size: contain;
}
- }
- &:hover,
- + *:hover {
- &,
- &:checked {
+ // Indeterminate Checkboxes style
+ &[data-checked='1'] {
&::before,
+ *::before {
- border-color: var(--t-form-border-color--hover);
+ border-color: tokens.$coral-color-accent-border;
+ background-color: tokens.$coral-color-accent-background-strong;
+ }
+
+ &::after,
+ + *::after {
+ margin: 0;
+ width: calc(#{$tt-checkbox-size} / 2);
+ height: calc(#{$tt-checkbox-size} / 2);
+ left: calc(#{$tt-checkbox-size} / 2 - #{$tt-checkbox-size} / 4);
+ top: calc(#{$tt-checkbox-size} / 2 - #{$tt-checkbox-size} / 4);
+ background-image: none;
+ background-color: tokens.$coral-color-neutral-background;
+ mask-image: $checkmark-image-indeterminate;
}
}
- }
- &:disabled {
- &::before,
- + *::before {
- border-color: var(--t-form-border-color--disabled);
+ &:checked {
+ &::before,
+ + *::before {
+ background-color: tokens.$coral-color-accent-background-strong;
+ border-color: tokens.$coral-color-accent-border;
+ }
+
+ &::after,
+ + *::after {
+ width: calc(#{$tt-checkbox-size} / 2);
+ height: calc(#{$tt-checkbox-size} / 2);
+ left: calc(#{$tt-checkbox-size} / 2 - #{$tt-checkbox-size} / 4);
+ top: calc(#{$tt-checkbox-size} / 2 - #{$tt-checkbox-size} / 4);
+ background-image: none;
+ background-color: tokens.$coral-color-neutral-background;
+ mask-image: $checkmark-image;
+ }
}
- &[data-checked='1']::before,
- &[data-checked='1'] + *::before {
- background-color: var(--t-form-border-color--disabled);
- border-color: var(--t-form-border-color--disabled);
+ &:hover,
+ + *:hover {
+ &::before,
+ + *::before {
+ border-color: tokens.$coral-color-accent-border-hover;
+ }
+
+ &:checked {
+ &::before,
+ + *::before {
+ background-color: tokens.$coral-color-accent-background-strong-hover;
+ }
+ }
}
- &:checked::before,
- &:checked + *::before {
- background-color: var(--t-form-border-color--disabled);
- border-color: var(--t-form-border-color--disabled);
+ &:disabled {
+ &::before,
+ + *::before {
+ border-color: tokens.$coral-color-neutral-border-disabled;
+ }
+
+ &[data-checked='1']::before,
+ &[data-checked='1'] + *::before {
+ background-color: tokens.$coral-color-neutral-background-disabled;
+ border-color: tokens.$coral-color-neutral-border-disabled;
+ }
+
+ &:checked::before,
+ &:checked + *::before {
+ background-color: tokens.$coral-color-neutral-background-disabled;
+ border-color: tokens.$coral-color-neutral-border-disabled;
+ }
+
+ &:checked::after,
+ &:checked + *::after {
+ background-color: tokens.$coral-color-neutral-icon-weak;
+ }
+
+ &[data-checked='1']::after,
+ &[data-checked='1'] + *::after {
+ background-color: tokens.$coral-color-neutral-icon-weak;
+ }
}
}
}
diff --git a/packages/theme/src/theme/_forms.input.scss b/packages/theme/src/theme/_forms.input.scss
index 7c3ca0a6193..94f3922d366 100644
--- a/packages/theme/src/theme/_forms.input.scss
+++ b/packages/theme/src/theme/_forms.input.scss
@@ -1,3 +1,5 @@
+@use '~@talend/design-tokens/lib/tokens';
+
.radio input[type='radio'],
.radio-inline input[type='radio'],
.checkbox input[type='checkbox'],
@@ -12,35 +14,40 @@ input::-ms-clear {
.form-control {
padding: 0 10px;
margin-bottom: $padding-smaller;
- color: var(--t-form-color);
- background-color: var(--t-form-background-color);
- border: 1px solid var(--t-form-border-color);
+ color: tokens.$coral-color-neutral-text;
+ background-color: transparent;
+ border: tokens.$coral-border-s-solid tokens.$coral-color-neutral-border;
font-weight: normal;
box-shadow: none;
&:hover {
- border-color: var(--t-form-border-color--hover);
+ border-color: tokens.$coral-color-neutral-border-strong-hover;
}
&:focus {
border-width: 2px;
- border-color: var(--t-form-border-color--focus);
+ border-color: tokens.$coral-color-accent-border;
box-shadow: none;
}
&[disabled] {
- border-color: var(--t-form-border-color--disabled);
+ border-color: tokens.$coral-color-neutral-border-disabled;
}
+ &[disabled],
&[readonly],
&[readonly]:focus {
border-width: 0;
- color: var(--t-form-color--readonly);
- background-color: var(--t-form-background-color--readonly);
- border-color: var(--t-form-border-color--readonly);
+ color: tokens.$coral-color-neutral-text;
+ background-color: tokens.$coral-color-neutral-background-strong;
+ border-color: tokens.$coral-color-neutral-border-weak;
}
&::placeholder {
- color: var(--t-form-placeholder-color);
+ color: tokens.$coral-color-neutral-text-weak;
}
}
+
+.has-error .form-control {
+ border-color: tokens.$coral-color-danger-border;
+}
diff --git a/packages/theme/src/theme/_forms.label.scss b/packages/theme/src/theme/_forms.label.scss
index db067414472..ba7f4896449 100644
--- a/packages/theme/src/theme/_forms.label.scss
+++ b/packages/theme/src/theme/_forms.label.scss
@@ -1,7 +1,9 @@
+@use '~@talend/design-tokens/lib/tokens';
+
label {
font-size: $font-size-small;
font-weight: 600;
- color: var(--t-form-color);
+ color: tokens.$coral-color-neutral-text;
cursor: pointer;
}
@@ -11,6 +13,8 @@ label {
}
// Mandatory for being stronger than Bootstrap
+.has-success .control-label,
+.has-warning .control-label,
.has-error .help-block,
.has-error .control-label,
.has-error .radio,
@@ -21,5 +25,5 @@ label {
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label {
- color: var(--t-form-color);
+ color: tokens.$coral-color-neutral-text;
}
diff --git a/packages/theme/src/theme/_forms.legend.scss b/packages/theme/src/theme/_forms.legend.scss
index 6809745ff95..e097bc1f0ea 100644
--- a/packages/theme/src/theme/_forms.legend.scss
+++ b/packages/theme/src/theme/_forms.legend.scss
@@ -1,5 +1,8 @@
+@use '~@talend/design-tokens/lib/tokens';
+
legend {
font-size: 1.7rem;
font-weight: 700;
border-bottom: none;
+ color: tokens.$coral-color-neutral-text-weak;
}
diff --git a/packages/theme/src/theme/_forms.radio.scss b/packages/theme/src/theme/_forms.radio.scss
index 34c200c1ba4..f88ab05a3da 100644
--- a/packages/theme/src/theme/_forms.radio.scss
+++ b/packages/theme/src/theme/_forms.radio.scss
@@ -1,3 +1,5 @@
+@use '~@talend/design-tokens/lib/tokens';
+
$tt-radio-size: 1.4rem !default;
input[type='radio'] {
@@ -14,26 +16,26 @@ input[type='radio'] {
&::before,
+ *::before {
@include scale(0);
- background-color: var(--t-form-background-color);
+ background-color: tokens.$coral-color-neutral-background-medium;
z-index: 1;
}
&::after,
+ *::after {
- background-color: var(--t-form-background-color);
- border: 1px solid var(--t-form-border-color);
+ background-color: tokens.$coral-color-neutral-background-medium;
+ border: 1px solid tokens.$coral-color-neutral-border;
}
&:checked {
&::before,
+ *::before {
@include scale(0.5);
- background-color: var(--t-form-border-color--focus);
+ background-color: tokens.$coral-color-accent-border;
}
&::after,
+ *::after {
- border-color: var(--t-form-border-color--focus);
+ border-color: tokens.$coral-color-accent-border;
}
}
@@ -43,7 +45,7 @@ input[type='radio'] {
&:checked {
&::after,
+ *::after {
- border-color: var(--t-form-border-color--focus);
+ border-color: tokens.$coral-color-accent-border;
}
}
}
@@ -51,14 +53,14 @@ input[type='radio'] {
&:disabled {
&:checked::before,
&:checked + *::before {
- background-color: var(--t-form-border-color--disabled);
+ background-color: tokens.$coral-color-neutral-background-disabled;
}
&::after,
+ *::after,
&:checked::after,
&:checked + *::after {
- border-color: var(--t-form-border-color--disabled);
+ border-color: tokens.$coral-color-neutral-background-disabled;
}
}
}
diff --git a/packages/theme/src/theme/_forms.scss b/packages/theme/src/theme/_forms.scss
index 43baef6be91..9db40d0600e 100644
--- a/packages/theme/src/theme/_forms.scss
+++ b/packages/theme/src/theme/_forms.scss
@@ -1,3 +1,5 @@
+@use '~@talend/design-tokens/lib/tokens';
+
////
/// Bootstrap forms customization
/// @group Forms
@@ -66,9 +68,9 @@
@import 'forms.label';
@import 'forms.legend';
@import 'forms.select';
+@import 'forms.checkbox';
@import 'forms.switch';
@import 'forms.switch-nested';
-@import 'forms.checkbox';
@import 'forms.radio';
@import 'forms.textarea';
@@ -181,9 +183,9 @@
.has-warning &,
.has-error &,
.has-success & {
- color: $input-color;
- border-color: $input-group-addon-border-color;
- background-color: $input-group-addon-bg;
+ color: tokens.$coral-color-neutral-text;
+ border-color: tokens.$coral-color-neutral-border;
+ background-color: tokens.$coral-color-neutral-background-medium;
}
.btn {
diff --git a/packages/theme/src/theme/_forms.select.scss b/packages/theme/src/theme/_forms.select.scss
index ae7af72dbc3..b879cb92ceb 100644
--- a/packages/theme/src/theme/_forms.select.scss
+++ b/packages/theme/src/theme/_forms.select.scss
@@ -1,11 +1,12 @@
-// stylelint-disable-next-line selector-no-qualifying-type
+/* stylelint-disable selector-no-qualifying-type */
+@use '~@talend/design-tokens/lib/tokens';
+
select.form-control {
- border-color: var(--t-form-border-color);
+ border-color: tokens.$coral-color-neutral-border;
overflow: auto;
cursor: pointer;
border-radius: $input-border-radius;
- // stylelint-disable-next-line selector-no-qualifying-type
&[multiple] {
padding-top: $padding-small;
padding-bottom: $padding-small;
@@ -13,14 +14,13 @@ select.form-control {
&:hover {
&:not(:disabled) {
- border: 1px solid var(--t-form-border-color--hover);
+ border: 1px solid tokens.$coral-color-neutral-border;
}
}
- // stylelint-disable-next-line selector-no-qualifying-type
&:not([multiple]) {
appearance: none;
- background-color: var(--t-form-background-color);
+ background-color: tokens.$coral-color-neutral-background;
background-repeat: no-repeat;
background-size: $svg-xs-size;
background-position-x: calc(100% - 1rem);
@@ -28,7 +28,7 @@ select.form-control {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.6l-8-8L2.6 3 8 8.4 13.4 3 16 5.6z'%3E%3C/path%3E%3C/svg%3E");
&:disabled {
- border: 1px solid var(--t-form-border-color--disabled);
+ border: 1px solid tokens.$coral-color-neutral-border;
opacity: 0.54;
cursor: not-allowed;
}
diff --git a/packages/theme/src/theme/_forms.switch.scss b/packages/theme/src/theme/_forms.switch.scss
index 759e277e562..397ec11b2a2 100644
--- a/packages/theme/src/theme/_forms.switch.scss
+++ b/packages/theme/src/theme/_forms.switch.scss
@@ -1,3 +1,5 @@
+@use '~@talend/design-tokens/lib/tokens';
+
$switch-thumb-shadow: 0 1px 2px 0 rgba(117, 132, 149, 0.5); //$slate-gray;
$switch-thumb-shadow-focused: 0 3px 4px 0.5px rgba(0, 0, 0, 0.25);
$switch-thumb-border-disabled: 1px solid rgba(198, 198, 198, 0.3);
@@ -35,7 +37,7 @@ $switch-track-shadow-disabled: inset 2px 2px 7px 0 rgba(0, 0, 0, 0.2);
+ *::before {
width: 3.2rem;
height: 1.6rem;
- background: $gray75;
+ background: tokens.$coral-color-accent-background;
box-shadow: inset 0 0.1rem 0.3rem 0 rgba(0, 0, 0, 0.25);
}
@@ -43,25 +45,37 @@ $switch-track-shadow-disabled: inset 2px 2px 7px 0 rgba(0, 0, 0, 0.2);
margin: calc((1.2rem - 0.8rem) / 2);
width: 1.2rem;
height: 1.2rem;
- background-color: $white;
+ background-color: tokens.$coral-color-neutral-background;
+ mask-image: none;
}
&:disabled {
+ * {
- opacity: 0.54;
+ opacity: 1;
+ color: tokens.$coral-color-neutral-text-disabled;
pointer-events: none;
}
+
+ + *::before {
+ background: tokens.$coral-color-neutral-background-disabled;
+ }
+
+ &:checked {
+ + *::before {
+ background: tokens.$coral-color-neutral-background-disabled;
+ }
+ }
}
&:not(:disabled):hover {
+ *::before {
- background: $gray200;
+ background: tokens.$coral-color-accent-background-hover;
}
}
&:checked {
+ *::before {
- background: $lochmara;
+ background: tokens.$coral-color-accent-background-strong;
}
+ *::after {
diff --git a/packages/theme/src/theme/_input-groups.scss b/packages/theme/src/theme/_input-groups.scss
index cc217b505b3..b5a2ae4d460 100644
--- a/packages/theme/src/theme/_input-groups.scss
+++ b/packages/theme/src/theme/_input-groups.scss
@@ -1,3 +1,4 @@
+@use '~@talend/design-tokens/lib/tokens';
////
/// Bootstrap input groups customization
/// @group Input groups
@@ -12,6 +13,10 @@
}
&-addon {
+ background-color: tokens.$coral-color-neutral-background-medium;
+ color: tokens.$coral-color-neutral-text;
+ border-color: tokens.$coral-color-neutral-border;
+
padding-top: $input-group-addon-padding;
padding-bottom: $input-group-addon-padding;
}
diff --git a/packages/theme/src/theme/_labels.scss b/packages/theme/src/theme/_labels.scss
index 1a1102edd5b..4221e0a184e 100644
--- a/packages/theme/src/theme/_labels.scss
+++ b/packages/theme/src/theme/_labels.scss
@@ -1,14 +1,5 @@
-@mixin label-variant($color) {
- background-color: rgba($color, 0.2);
- color: shade($color, 25%);
+@use '~@talend/design-tokens/lib/tokens';
- &[href] {
- &:hover,
- &:focus {
- background-color: shade($color, 10%);
- }
- }
-}
//
// Labels
// --------------------------------------------------
@@ -44,7 +35,7 @@
a.label {
&:hover,
&:focus {
- color: $label-link-hover-color;
+ // color: $label-link-hover-color;
text-decoration: none;
cursor: pointer;
}
@@ -54,25 +45,73 @@ a.label {
// Contextual variations (linked labels get darker on :hover)
.label-default {
- @include label-variant($label-default-bg);
+ color: tokens.$coral-color-neutral-text;
+ background: tokens.$coral-color-neutral-background-strong;
+
+ &[href] {
+ &:hover,
+ &:focus {
+ background: tokens.$coral-color-neutral-background-strong;
+ }
+ }
}
.label-primary {
- @include label-variant($label-primary-bg);
+ color: tokens.$coral-color-accent-text;
+ background: tokens.$coral-color-accent-background;
+
+ &[href] {
+ &:hover,
+ &:focus {
+ background: tokens.$coral-color-accent-background;
+ }
+ }
}
.label-success {
- @include label-variant($label-success-bg);
+ color: tokens.$coral-color-success-text;
+ background: tokens.$coral-color-success-background;
+
+ &[href] {
+ &:hover,
+ &:focus {
+ background: tokens.$coral-color-success-background;
+ }
+ }
}
.label-info {
- @include label-variant($label-info-bg);
+ color: tokens.$coral-color-accent-text;
+ background: tokens.$coral-color-accent-background;
+
+ &[href] {
+ &:hover,
+ &:focus {
+ background: tokens.$coral-color-accent-background;
+ }
+ }
}
.label-warning {
- @include label-variant($label-warning-bg);
+ color: tokens.$coral-color-warning-text;
+ background: tokens.$coral-color-warning-background;
+
+ &[href] {
+ &:hover,
+ &:focus {
+ background: tokens.$coral-color-warning-background;
+ }
+ }
}
.label-danger {
- @include label-variant($label-danger-bg);
+ color: tokens.$coral-color-danger-text;
+ background: tokens.$coral-color-danger-background;
+
+ &[href] {
+ &:hover,
+ &:focus {
+ background: tokens.$coral-color-danger-background;
+ }
+ }
}
diff --git a/packages/theme/src/theme/_list-group.scss b/packages/theme/src/theme/_list-group.scss
new file mode 100644
index 00000000000..2047ed03e64
--- /dev/null
+++ b/packages/theme/src/theme/_list-group.scss
@@ -0,0 +1,25 @@
+/* stylelint-disable selector-no-qualifying-type */
+@use '~@talend/design-tokens/lib/tokens';
+
+.list-group-item {
+ background-color: tokens.$coral-color-neutral-background;
+ border-color: tokens.$coral-color-neutral-border-weak;
+}
+
+.list-group-item.active,
+.list-group-item.active:hover,
+.list-group-item.active:focus {
+ color: tokens.$coral-color-neutral-text;
+ background-color: tokens.$coral-color-neutral-background-medium;
+ border-color: tokens.$coral-color-neutral-border;
+}
+
+a.list-group-item .list-group-item-heading,
+button.list-group-item .list-group-item-heading {
+ color: tokens.$coral-color-neutral-text;
+}
+
+a.list-group-item,
+button.list-group-item {
+ color: tokens.$coral-color-neutral-text;
+}
diff --git a/packages/theme/src/theme/_modals.scss b/packages/theme/src/theme/_modals.scss
index 39e5a35acbf..4c06ae433a1 100644
--- a/packages/theme/src/theme/_modals.scss
+++ b/packages/theme/src/theme/_modals.scss
@@ -1,3 +1,5 @@
+@use '~@talend/design-tokens/lib/tokens';
+
.modal-dialog {
display: flex;
flex-direction: row;
@@ -13,13 +15,14 @@
flex-shrink: 0;
border: none; // it keeps the border-radius
border-radius: $border-radius-base;
+ background: tokens.$coral-color-neutral-background;
}
&-header {
border-top-left-radius: $border-radius-base;
border-top-right-radius: $border-radius-base;
- background-color: $modal-header-bg;
- border-color: $concrete;
+ border: none;
+ border-bottom: tokens.$coral-border-s-solid tokens.$coral-color-neutral-border-weak;
padding: {
top: $modal-title-padding-top;
bottom: $modal-title-padding-bottom;
@@ -32,17 +35,16 @@
.modal {
&-subtitle {
font-size: 14px;
- color: $dark-silver;
margin-top: 1px;
&.error {
- color: $chestnut-rose;
+ color: tokens.$coral-color-danger-text;
}
}
}
.close {
- color: $dove-gray;
+ color: tokens.$coral-color-neutral-text-weak;
opacity: 1;
}
}
@@ -50,7 +52,6 @@
&-body {
flex-grow: 1;
overflow-y: auto;
- background-color: $wild-sand;
}
&-footer {
diff --git a/packages/theme/src/theme/_navbar.scss b/packages/theme/src/theme/_navbar.scss
index 555ba921135..724b72452e5 100644
--- a/packages/theme/src/theme/_navbar.scss
+++ b/packages/theme/src/theme/_navbar.scss
@@ -1,3 +1,27 @@
+@use '~@talend/design-tokens/lib/tokens';
+
+.navbar-inverse {
+ color: tokens.$coral-color-neutral-text-inverted;
+ background: tokens.$coral-color-branding-navigation;
+}
+
+.navbar-default {
+ color: tokens.$coral-color-neutral-text;
+ background: tokens.$coral-color-neutral-background-medium;
+
+ .navbar-nav > li > a {
+ color: tokens.$coral-color-neutral-text;
+ }
+
+ .btn-link:hover,
+ .btn-link:focus,
+ .navbar-nav > li > a:hover,
+ .navbar-nav > li > a:focus {
+ color: tokens.$coral-color-neutral-text;
+ background: tokens.$coral-color-neutral-background-strong;
+ }
+}
+
.navbar {
border: none;
@@ -28,3 +52,11 @@
font-weight: normal;
}
}
+
+.navbar-default .navbar-nav > .active > a,
+.navbar-default .navbar-nav > .active > a:hover,
+.navbar-default .navbar-nav > .active > a:focus {
+ color: tokens.$coral-color-neutral-text;
+ background-color: tokens.$coral-color-neutral-background-strong;
+ // background-color: ;
+}
diff --git a/packages/theme/src/theme/_navs.scss b/packages/theme/src/theme/_navs.scss
index 430320dafd4..91207567715 100644
--- a/packages/theme/src/theme/_navs.scss
+++ b/packages/theme/src/theme/_navs.scss
@@ -1,10 +1,11 @@
/* stylelint-disable selector-no-qualifying-type */
+@use '~@talend/design-tokens/lib/tokens';
$tc-tabbar-active-border-size: 0.2rem !default;
-$tc-tabbar-active-color: $lochmara;
.nav {
.btn-link {
+ background-color: inherit;
color: inherit;
display: inline-block;
@@ -21,8 +22,8 @@ $tc-tabbar-active-color: $lochmara;
}
&-inverse {
- color: $navbar-inverse-color;
- background-color: $brand-primary;
+ color: tokens.$coral-color-accent-text-weak;
+ background-color: tokens.$coral-color-accent-background-strong;
}
&-pills {
@@ -35,16 +36,25 @@ $tc-tabbar-active-color: $lochmara;
&:hover,
&.active,
&.open {
- color: $navbar-inverse-color;
- background-color: $brand-primary-dark;
+ .btn-link {
+ color: tokens.$coral-color-accent-text-weak;
+ background-color: tokens.$coral-color-accent-background-strong;
+ }
}
&.disabled .btn {
&:focus,
&:hover {
- color: shade($navbar-inverse-color, 10);
+ // background-color: tokens.$coral-color-accent-background-weak;
+ color: tokens.$coral-color-accent-text-weak;
}
}
+
+ &.active > a,
+ &.active > a:hover,
+ &.active > a:focus {
+ background-color: tokens.$coral-color-accent-background-strong;
+ }
}
.btn.btn-link {
@@ -72,12 +82,12 @@ $tc-tabbar-active-color: $lochmara;
.btn.btn-link {
width: 100%;
text-align: left;
- background-color: transparent;
&:focus,
&:hover,
&:active {
- --t-button-color: var(--t-button-color-primary);
+ background-color: tokens.$coral-color-accent-background-strong;
+ color: tokens.$coral-color-accent-text-weak;
}
}
}
@@ -87,13 +97,18 @@ $tc-tabbar-active-color: $lochmara;
> li {
&:focus,
&:hover {
- background-color: rgba($white, 0.12);
+ background-color: tokens.$coral-color-accent-background-hover;
+
+ .btn-link:hover {
+ color: tokens.$coral-color-accent-text;
+ background-color: tokens.$coral-color-accent-background-hover;
+ }
}
&:active,
&.active,
&.open {
- background-color: rgba($white, 0.25);
+ background-color: tokens.$coral-color-accent-background-strong;
}
}
}
@@ -109,7 +124,7 @@ $tc-tabbar-active-color: $lochmara;
background: transparent;
border: none;
border-radius: 0;
- color: $black;
+ color: tokens.$coral-color-neutral-text;
margin-bottom: 0.5rem;
outline: none;
padding: $padding-smaller $padding-small;
@@ -122,14 +137,14 @@ $tc-tabbar-active-color: $lochmara;
&:hover,
&:focus {
- color: $lochmara;
+ color: tokens.$coral-color-accent-text;
}
}
&.active {
> a,
> button {
- color: $lochmara;
+ color: tokens.$coral-color-accent-text;
font-weight: $font-weight-semi-bold;
position: relative;
@@ -142,15 +157,15 @@ $tc-tabbar-active-color: $lochmara;
right: $padding-small;
bottom: 0;
- border-bottom: solid $tc-tabbar-active-border-size $lochmara;
+ border-bottom: solid $tc-tabbar-active-border-size tokens.$coral-color-accent-text;
}
&:focus {
- color: $scooter;
+ color: tokens.$coral-color-accent-text-hover;
}
&:hover {
- color: $lochmara;
+ color: tokens.$coral-color-accent-text-hover;
}
}
}
@@ -159,13 +174,13 @@ $tc-tabbar-active-color: $lochmara;
> a,
> button {
cursor: not-allowed;
- color: $black;
+ color: tokens.$coral-color-neutral-text-disabled;
opacity: 0.54;
&,
&:focus,
&:hover {
- background: transparent;
+ background-color: tokens.$coral-color-neutral-background-disabled;
border: none;
}
}
diff --git a/packages/theme/src/theme/_pager.scss b/packages/theme/src/theme/_pager.scss
new file mode 100644
index 00000000000..e0283061073
--- /dev/null
+++ b/packages/theme/src/theme/_pager.scss
@@ -0,0 +1,15 @@
+@use '~@talend/design-tokens/lib/tokens';
+
+.pager li > a,
+.pager li > span {
+ background-color: tokens.$coral-color-neutral-background;
+ border-color: tokens.$coral-color-neutral-border-weak;
+}
+
+.pager .disabled > a,
+.pager .disabled > a:hover,
+.pager .disabled > a:focus,
+.pager .disabled > span {
+ color: tokens.$coral-color-neutral-text-disabled;
+ background-color: tokens.$coral-color-neutral-background-disabled;
+}
diff --git a/packages/theme/src/theme/_pagination.scss b/packages/theme/src/theme/_pagination.scss
new file mode 100644
index 00000000000..c138f082843
--- /dev/null
+++ b/packages/theme/src/theme/_pagination.scss
@@ -0,0 +1,28 @@
+/* stylelint-disable selector-no-qualifying-type */
+@use '~@talend/design-tokens/lib/tokens';
+
+.pagination > li > a,
+.pagination > li > span {
+ color: tokens.$coral-color-accent-text;
+ border-color: tokens.$coral-color-neutral-border-weak;
+ background-color: tokens.$coral-color-neutral-background;
+}
+
+.pagination > li > a:hover,
+.pagination > li > a:focus,
+.pagination > li > span:hover,
+.pagination > li > span:focus {
+ color: tokens.$coral-color-accent-text-hover;
+ background-color: tokens.$coral-color-neutral-background-medium;
+}
+
+.pagination > .disabled > span,
+.pagination > .disabled > span:hover,
+.pagination > .disabled > span:focus,
+.pagination > .disabled > a,
+.pagination > .disabled > a:hover,
+.pagination > .disabled > a:focus {
+ color: tokens.$coral-color-neutral-text-disabled;
+ border-color: tokens.$coral-color-neutral-border-disabled;
+ background-color: tokens.$coral-color-neutral-background;
+}
diff --git a/packages/theme/src/theme/_panels.scss b/packages/theme/src/theme/_panels.scss
new file mode 100644
index 00000000000..5a64028b193
--- /dev/null
+++ b/packages/theme/src/theme/_panels.scss
@@ -0,0 +1,59 @@
+@use '~@talend/design-tokens/lib/tokens';
+
+.panel,
+.panel-default {
+ color: tokens.$coral-color-neutral-text;
+ border-color: tokens.$coral-color-neutral-border;
+ background-color: tokens.$coral-color-neutral-background;
+
+ .panel-footer,
+ .panel-heading {
+ color: tokens.$coral-color-neutral-text;
+ background-color: tokens.$coral-color-neutral-background-medium;
+ }
+}
+
+.panel-primary {
+ border-color: tokens.$coral-color-accent-border;
+
+ .panel-heading {
+ color: tokens.$coral-color-accent-text;
+ background-color: tokens.$coral-color-accent-background;
+ }
+}
+
+.panel-success {
+ border-color: tokens.$coral-color-success-border;
+
+ .panel-heading {
+ color: tokens.$coral-color-success-text;
+ background-color: tokens.$coral-color-success-background;
+ }
+}
+
+.panel-warning {
+ border-color: tokens.$coral-color-warning-border;
+
+ .panel-heading {
+ color: tokens.$coral-color-warning-text;
+ background-color: tokens.$coral-color-warning-background;
+ }
+}
+
+.panel-info {
+ border-color: tokens.$coral-color-accent-border;
+
+ .panel-heading {
+ color: tokens.$coral-color-accent-text;
+ background-color: tokens.$coral-color-accent-background;
+ }
+}
+
+.panel-danger {
+ border-color: tokens.$coral-color-danger-border;
+
+ .panel-heading {
+ color: tokens.$coral-color-danger-text;
+ background-color: tokens.$coral-color-danger-background;
+ }
+}
diff --git a/packages/theme/src/theme/_popovers.scss b/packages/theme/src/theme/_popovers.scss
new file mode 100644
index 00000000000..0662b773396
--- /dev/null
+++ b/packages/theme/src/theme/_popovers.scss
@@ -0,0 +1,39 @@
+@use '~@talend/design-tokens/lib/tokens';
+
+.popover {
+ background-color: tokens.$coral-color-neutral-background;
+ color: tokens.$coral-color-neutral-text;
+ border-color: tokens.$coral-color-neutral-border;
+}
+
+.popover.left .arrow {
+ border-left-color: tokens.$coral-color-neutral-border;
+}
+
+.popover.left .arrow::after {
+ border-left-color: tokens.$coral-color-neutral-background;
+}
+
+.popover.top .arrow {
+ border-top-color: tokens.$coral-color-neutral-border;
+}
+
+.popover.top .arrow::after {
+ border-top-color: tokens.$coral-color-neutral-background;
+}
+
+.popover.right .arrow {
+ border-right-color: tokens.$coral-color-neutral-border;
+}
+
+.popover.right .arrow::after {
+ border-right-color: tokens.$coral-color-neutral-background;
+}
+
+.popover.bottom .arrow {
+ border-bottom-color: tokens.$coral-color-neutral-border;
+}
+
+.popover.bottom .arrow::after {
+ border-bottom-color: tokens.$coral-color-neutral-background;
+}
diff --git a/packages/theme/src/theme/_tables.scss b/packages/theme/src/theme/_tables.scss
index 87a05fa8b73..1f30968f09c 100644
--- a/packages/theme/src/theme/_tables.scss
+++ b/packages/theme/src/theme/_tables.scss
@@ -1,3 +1,13 @@
+// escape following rule to ovveride bootstrap table styles
+/* stylelint-disable selector-no-qualifying-type */
+/* stylelint-disable declaration-no-important */
+@use '~@talend/design-tokens/lib/tokens';
+
+.table-striped > tbody > tr:nth-of-type(odd) {
+ background-color: tokens.$coral-color-neutral-background;
+ color: tokens.$coral-color-neutral-text;
+}
+
.table {
// Cells
> thead,
@@ -9,16 +19,89 @@
vertical-align: middle;
}
}
+
+ > tr.info {
+ td {
+ color: tokens.$coral-color-neutral-text;
+ background: tokens.$coral-color-accent-background;
+ }
+ }
+
+ > tr.success {
+ td {
+ color: tokens.$coral-color-neutral-text;
+ background: tokens.$coral-color-success-background;
+ }
+ }
+
+ > tr.danger {
+ td {
+ color: tokens.$coral-color-neutral-text;
+ background: tokens.$coral-color-danger-background;
+ }
+ }
+
+ > tr.warning {
+ td {
+ color: tokens.$coral-color-neutral-text;
+ background: tokens.$coral-color-warning-background;
+ }
+ }
+
+ > tr.active {
+ td {
+ color: tokens.$coral-color-neutral-text;
+ background: tokens.$coral-color-neutral-background-medium;
+ }
+ }
}
&-hover {
- > tbody > tr:hover {
- font-weight: 700;
+ > tbody {
+ > tr:hover {
+ font-weight: 700;
+
+ td {
+ background: tokens.$coral-color-neutral-background-medium;
+ }
+ }
+
+ > tr.info:hover {
+ td {
+ background: tokens.$coral-color-accent-background-hover;
+ }
+ }
+
+ > tr.success:hover {
+ td {
+ background: tokens.$coral-color-success-background-hover;
+ }
+ }
+
+ > tr.danger:hover {
+ td {
+ background: tokens.$coral-color-danger-background-hover;
+ }
+ }
+
+ > tr.warning:hover {
+ td {
+ background: tokens.$coral-color-warning-background-hover;
+ }
+ }
+
+ > tr.active:hover {
+ td {
+ background: tokens.$coral-color-neutral-background-strong;
+ }
+ }
}
}
}
-@-moz-document url-prefix() { /* fix Firefox only https://bugzilla.mozilla.org/show_bug.cgi?id=410959 */
+/* stylelint-disable-next-line function-url-quotes */
+@-moz-document url-prefix() {
+ /* fix Firefox only https://bugzilla.mozilla.org/show_bug.cgi?id=410959 */
.table {
border-collapse: separate !important;
border-spacing: 0;
diff --git a/packages/theme/src/theme/_tooltip.scss b/packages/theme/src/theme/_tooltip.scss
index d05f5f26b3b..2e36a726c2e 100644
--- a/packages/theme/src/theme/_tooltip.scss
+++ b/packages/theme/src/theme/_tooltip.scss
@@ -1,5 +1,25 @@
+@use '~@talend/design-tokens/lib/tokens';
+
.tooltip-inner {
overflow-wrap: break-word;
word-wrap: break-word;
text-align: left;
+ background: tokens.$coral-color-assistive-background;
+ color: tokens.$coral-color-assistive-text;
+}
+
+.tooltip.left .tooltip-arrow {
+ border-left-color: tokens.$coral-color-assistive-background;
+}
+
+.tooltip.right .tooltip-arrow {
+ border-right-color: tokens.$coral-color-assistive-background;
+}
+
+.tooltip.top .tooltip-arrow {
+ border-top-color: tokens.$coral-color-assistive-background;
+}
+
+.tooltip.bottom .tooltip-arrow {
+ border-bottom-color: tokens.$coral-color-assistive-background;
}
diff --git a/packages/theme/src/theme/_type.scss b/packages/theme/src/theme/_type.scss
index ecc87e1b071..d1e5beb2cea 100644
--- a/packages/theme/src/theme/_type.scss
+++ b/packages/theme/src/theme/_type.scss
@@ -1,12 +1,67 @@
+@use '@talend/design-tokens/lib/tokens';
+
+body {
+ color: tokens.$coral-color-neutral-text;
+ background-color: tokens.$coral-color-neutral-background;
+}
+
+h1,
+.h1 {
+ color: tokens.$coral-color-neutral-text;
+ // font: tokens.$coral-heading-l;
+}
+
h2,
.h2 {
- font-weight: $font-weight-semi-bold;
+ color: tokens.$coral-color-neutral-text;
+ // font: tokens.$coral-heading-m;
}
h3,
.h3,
h4,
.h4 {
- color: #000;
- font-weight: $font-weight-semi-bold;
+ color: tokens.$coral-color-neutral-text;
+ // font: tokens.$coral-heading-s;
+}
+
+h5,
+.h5,
+h6,
+.h6 {
+ color: tokens.$coral-color-neutral-text;
+}
+
+p,
+.p {
+ color: tokens.$coral-color-neutral-text;
+ // font: tokens.$coral-paragraph-m;
+}
+
+.text-muted {
+ color: tokens.$coral-color-neutral-text-disabled;
+}
+
+.text-primary {
+ color: tokens.$coral-color-accent-text;
+}
+
+.text-warning {
+ color: tokens.$coral-color-warning-text;
+}
+
+.text-danger {
+ color: tokens.$coral-color-danger-text;
+}
+
+.text-success {
+ color: tokens.$coral-color-success-text;
+}
+
+.text-info {
+ color: tokens.$coral-color-accent-text;
+}
+
+a {
+ color: tokens.$coral-color-accent-text;
}
diff --git a/packages/theme/src/theme/_variables.scss b/packages/theme/src/theme/_variables.scss
index c160d0aa602..8b4a509f0fb 100644
--- a/packages/theme/src/theme/_variables.scss
+++ b/packages/theme/src/theme/_variables.scss
@@ -1,3 +1,6 @@
+/* stylelint-disable color-hex-case */
+@use '~@talend/design-tokens/lib/tokens';
+
// This is a fork but try to keep it as close to the original as possible
$bootstrap-sass-asset-helper: false !default;
//
@@ -144,13 +147,13 @@ $table-condensed-cell-padding: 5px !default;
//** Default background color used for all tables.
$table-bg: transparent !default;
//** Background color used for `.table-striped`.
-$table-bg-accent: #F9F9F9 !default;
+$table-bg-accent: #f9f9f9 !default;
//** Background color used for `.table-hover`.
$table-bg-hover: $gray50 !default;
$table-bg-active: $table-bg-hover !default;
//** Border color for table and cell borders.
-$table-border-color: #DDD !default;
+$table-border-color: #ddd !default;
//== Buttons
//
@@ -240,7 +243,7 @@ $input-border-radius-large: $input-border-radius !default;
$input-border-radius-small: $input-border-radius !default;
//** Border color for inputs on focus
-$input-border-focus: #0675C1 !default;
+$input-border-focus: #0675c1 !default;
//** Placeholder text color
$input-color-placeholder: #888 !default;
@@ -256,10 +259,10 @@ $input-height-small: $input-height-base !default;
$form-group-margin-bottom: 25px !default;
$legend-color: $gray-dark !default;
-$legend-border-color: #E5E5E5 !default;
+$legend-border-color: #e5e5e5 !default;
//** Background color for textual input addons
-$input-group-addon-bg: #EAEAEA !default;
+$input-group-addon-bg: #eaeaea !default;
//** Border color for textual input addons
$input-group-addon-border-color: $input-border !default;
@@ -275,9 +278,9 @@ $dropdown-bg: $white !default;
//** Dropdown menu `border-color`.
$dropdown-border: rgba(0, 0, 0, 0.15) !default;
//** Dropdown menu `border-color` **for IE8**.
-$dropdown-fallback-border: #CCC !default;
+$dropdown-fallback-border: #ccc !default;
//** Divider color for between dropdown items.
-$dropdown-divider-bg: #E5E5E5 !default;
+$dropdown-divider-bg: #e5e5e5 !default;
//** Dropdown link text color.
$dropdown-link-color: tint($gray-base, 25) !default;
@@ -398,7 +401,7 @@ $navbar-padding-vertical: calc((#{$navbar-height} - #{$line-height-computed}) /
$navbar-collapse-max-height: 340px !default;
$navbar-default-color: #777 !default;
-$navbar-default-bg: #F8F8F8 !default;
+$navbar-default-bg: #f8f8f8 !default;
$navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
// Navbar links
@@ -407,7 +410,7 @@ $navbar-default-link-hover-color: #333 !default;
$navbar-default-link-hover-bg: transparent !default;
$navbar-default-link-active-color: $navbar-default-link-color !default;
$navbar-default-link-active-bg: rgba(0, 0, 0, 0.1) !default;
-$navbar-default-link-disabled-color: #CCC !default;
+$navbar-default-link-disabled-color: #ccc !default;
$navbar-default-link-disabled-bg: transparent !default;
// Navbar brand label
@@ -416,9 +419,9 @@ $navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%) !def
$navbar-default-brand-hover-bg: transparent !default;
// Navbar toggle
-$navbar-default-toggle-hover-bg: #DDD !default;
+$navbar-default-toggle-hover-bg: #ddd !default;
$navbar-default-toggle-icon-bar-bg: #888 !default;
-$navbar-default-toggle-border-color: #DDD !default;
+$navbar-default-toggle-border-color: #ddd !default;
//=== Inverted navbar
// Reset inverted navbar basics
@@ -457,15 +460,15 @@ $nav-disabled-link-color: $gray-light !default;
$nav-disabled-link-hover-color: $gray-light !default;
//== Tabs
-$nav-tabs-border-color: #DDD !default;
+$nav-tabs-border-color: #ddd !default;
$nav-tabs-link-hover-border-color: $gray-lighter !default;
$nav-tabs-active-link-hover-bg: $body-bg !default;
$nav-tabs-active-link-hover-color: $gray !default;
-$nav-tabs-active-link-hover-border-color: #DDD !default;
+$nav-tabs-active-link-hover-border-color: #ddd !default;
-$nav-tabs-justified-link-border-color: #DDD !default;
+$nav-tabs-justified-link-border-color: #ddd !default;
$nav-tabs-justified-active-link-border-color: $body-bg !default;
//== Pills
@@ -479,11 +482,11 @@ $nav-pills-active-link-hover-color: $white !default;
$pagination-color: $link-color !default;
$pagination-bg: $gray0 !default;
-$pagination-border: #DDD !default;
+$pagination-border: #ddd !default;
$pagination-hover-color: $link-hover-color !default;
$pagination-hover-bg: $gray-lighter !default;
-$pagination-hover-border: #DDD !default;
+$pagination-hover-border: #ddd !default;
$pagination-active-color: $gray0 !default;
$pagination-active-bg: $brand-primary !default;
@@ -491,7 +494,7 @@ $pagination-active-border: $brand-primary !default;
$pagination-disabled-color: $gray-light !default;
$pagination-disabled-bg: $gray0 !default;
-$pagination-disabled-border: #DDD !default;
+$pagination-disabled-border: #ddd !default;
//== Pager
//
@@ -567,7 +570,7 @@ $popover-max-width: 276px !default;
//** Popover border color
$popover-border-color: $shadow !default;
//** Popover fallback border color
-$popover-fallback-border-color: #CCC !default;
+$popover-fallback-border-color: #ccc !default;
//** Popover title background color
$popover-title-bg: darken($popover-bg, 3%) !default;
@@ -632,7 +635,7 @@ $modal-backdrop-bg: $black !default;
//** Modal backdrop opacity
$modal-backdrop-opacity: 0.5 !default;
//** Modal header border color
-$modal-header-border-color: #E5E5E5 !default;
+$modal-header-border-color: #e5e5e5 !default;
//** Modal footer border color
$modal-footer-border-color: transparent !default;
@@ -669,22 +672,22 @@ $alert-danger-border: $state-danger-border !default;
//##
//** Background color of the whole progress component
-$progress-bg: $gray50 !default;
+$progress-bg: tokens.$coral-color-neutral-background-strong !default;
//** Progress bar text color
-$progress-bar-color: $gray0 !default;
+$progress-bar-color: tokens.$coral-color-neutral-background !default;
//** Variable for setting rounded corners on progress bar.
$progress-border-radius: $border-radius-base !default;
//** Default progress bar color
-$progress-bar-bg: $brand-primary !default;
+$progress-bar-bg: tokens.$coral-color-accent-background-strong !default;
//** Success progress bar color
-$progress-bar-success-bg: $brand-success !default;
+$progress-bar-success-bg: tokens.$coral-color-success-background-strong !default;
//** Warning progress bar color
-$progress-bar-warning-bg: $brand-warning !default;
+$progress-bar-warning-bg: tokens.$coral-color-warning-background-strong !default;
//** Danger progress bar color
-$progress-bar-danger-bg: $brand-danger !default;
+$progress-bar-danger-bg: tokens.$coral-color-danger-background-strong !default;
//** Info progress bar color
-$progress-bar-info-bg: $brand-info !default;
+$progress-bar-info-bg: tokens.$coral-color-accent-background-strong !default;
//== List group
//
@@ -693,7 +696,7 @@ $progress-bar-info-bg: $brand-info !default;
//** Background color on `.list-group-item`
$list-group-bg: $gray0 !default;
//** `.list-group-item` border color
-$list-group-border: #DDD !default;
+$list-group-border: #ddd !default;
//** List group border radius
$list-group-border-radius: $border-radius-base !default;
@@ -730,7 +733,7 @@ $panel-footer-padding: $panel-heading-padding !default;
$panel-border-radius: $border-radius-base !default;
//** Border color for elements within panels
-$panel-inner-border: #DDD !default;
+$panel-inner-border: #ddd !default;
$panel-footer-bg: $gray50 !default;
$panel-default-text: $gray-dark !default;
@@ -766,7 +769,7 @@ $thumbnail-padding: 4px !default;
//** Thumbnail background color
$thumbnail-bg: $body-bg !default;
//** Thumbnail border color
-$thumbnail-border: #DDD !default;
+$thumbnail-border: #ddd !default;
//** Thumbnail border radius
$thumbnail-border-radius: $border-radius-base !default;
@@ -843,15 +846,15 @@ $close-text-shadow: 0 1px 0 $gray0 !default;
//
//##
-$code-color: #C7254E !default;
-$code-bg: #F9F2F4 !default;
+$code-color: #c7254e !default;
+$code-bg: #f9f2f4 !default;
$kbd-color: $gray0 !default;
$kbd-bg: #333 !default;
$pre-bg: $gray50 !default;
$pre-color: $gray-dark !default;
-$pre-border-color: #CCC !default;
+$pre-border-color: #ccc !default;
$pre-scrollable-max-height: 340px !default;
//== Type
diff --git a/packages/theme/src/theme/_wells.scss b/packages/theme/src/theme/_wells.scss
new file mode 100644
index 00000000000..555838004b7
--- /dev/null
+++ b/packages/theme/src/theme/_wells.scss
@@ -0,0 +1,11 @@
+@use '~@talend/design-tokens/lib/tokens';
+
+.well,
+.jumbotron {
+ background-color: tokens.$coral-color-neutral-background;
+}
+
+.well {
+ background-color: tokens.$coral-color-neutral-background-medium;
+ border-color: tokens.$coral-color-neutral-border-weak;
+}
diff --git a/packages/theme/src/theme/alerts.scss b/packages/theme/src/theme/alerts.scss
new file mode 100644
index 00000000000..756e861d7cb
--- /dev/null
+++ b/packages/theme/src/theme/alerts.scss
@@ -0,0 +1,41 @@
+@use '~@talend/design-tokens/lib/tokens';
+
+.alert-warning {
+ color: tokens.$coral-color-neutral-text;
+ background-color: tokens.$coral-color-warning-background;
+ border-color: tokens.$coral-color-warning-border;
+
+ .alert-link {
+ color: tokens.$coral-color-warning-text;
+ }
+}
+
+.alert-danger {
+ color: tokens.$coral-color-neutral-text;
+ background-color: tokens.$coral-color-danger-background;
+ border-color: tokens.$coral-color-danger-border;
+
+ .alert-link {
+ color: tokens.$coral-color-danger-text;
+ }
+}
+
+.alert-success {
+ color: tokens.$coral-color-neutral-text;
+ background-color: tokens.$coral-color-success-background;
+ border-color: tokens.$coral-color-success-border;
+
+ .alert-link {
+ color: tokens.$coral-color-success-text;
+ }
+}
+
+.alert-info {
+ color: tokens.$coral-color-neutral-text;
+ background-color: tokens.$coral-color-accent-background;
+ border-color: tokens.$coral-color-accent-border;
+
+ .alert-link {
+ color: tokens.$coral-color-accent-text;
+ }
+}
diff --git a/packages/theme/src/theme/theme.scss b/packages/theme/src/theme/theme.scss
index 453c6a95fe1..22259988b9a 100644
--- a/packages/theme/src/theme/theme.scss
+++ b/packages/theme/src/theme/theme.scss
@@ -8,6 +8,7 @@
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/type';
@import './type';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/code';
+@import './code';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/grid';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/tables';
@import './tables';
@@ -37,17 +38,24 @@
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/breadcrumbs';
@import './breadcrumbs';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/pagination';
+@import './pagination';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/pager';
+@import './pager';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/badges';
+@import './badges';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/jumbotron';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/thumbnails';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/alerts';
+@import './alerts';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/progress-bars';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/media';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/list-group';
+@import './list-group';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/panels';
+@import './panels';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/responsive-embed';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/wells';
+@import './wells';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/close';
// Components w/ JavaScript
@@ -56,6 +64,7 @@
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/tooltip';
@import './tooltip';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/popovers';
+@import './popovers';
@import '~@talend/bootstrap-sass/assets/stylesheets/bootstrap/carousel';
// Utility classes
diff --git a/packages/utils/package.json b/packages/utils/package.json
index 48dcc4721a5..7fe369617ff 100644
--- a/packages/utils/package.json
+++ b/packages/utils/package.json
@@ -20,7 +20,7 @@
"extends": "talend-scripts extends"
},
"devDependencies": {
- "@talend/scripts-core": "^13.3.0",
+ "@talend/scripts-core": "^14.0.0",
"cross-env": "^7.0.3"
},
"dependencies": {
diff --git a/run.js b/run.js
deleted file mode 100644
index b9c0b823874..00000000000
--- a/run.js
+++ /dev/null
@@ -1,74 +0,0 @@
-/* eslint-disable import/no-dynamic-require */
-/* eslint-disable global-require */
-/* eslint-disable no-console */
-
-const os = require('os');
-let spawn = require('child_process').spawn;
-
-if (os.platform() === 'win32') {
- /* eslint-disable-next-line import/no-extraneous-dependencies */
- spawn = require('cross-spawn');
-}
-
-/**
- * "yarn workspaces run lint:es" command has an issue with eslint which exit in error.
- * It makes the monorepository command fail and stop at the first
- * package.
- * This script let you run a script regardless the exit code.
- * node workspace-run.js SCRIPT_NAME
- *
- */
-function run(cmd, opts = {}) {
- if (opts.verbose) {
- console.log(`\n#### RUNNER: ${cmd.name} ${cmd.args.join(' ')}`);
- }
- const start = Date.now();
- return new Promise((resolve, reject) => {
- const out = spawn(cmd.name, cmd.args);
- let stdout = '';
- let stderr = '';
- out.on('error', error => {
- console.error(error);
- reject(error);
- });
- out.on('close', () => {
- resolve(stdout);
- });
- out.on('exit', code => {
- if (opts.verbose && stderr) {
- console.error(`#### RUNNER: Child Process STDERR: ${stderr}`);
- }
- if (opts.verbose && stdout) {
- console.error(`#### RUNNER: Child Process STDOUT: ${stdout}`);
- }
- if (code > 0) {
- run.exitCode += 1;
- console.error(`#### RUNNER: ${cmd.name} ${cmd.args.join(' ')} exit code ${code}`);
- reject(stderr);
- return;
- }
- const end = Date.now();
- console.log(
- `#### RUNNER: ${cmd.name} ${cmd.args.join(' ')} exit code ${code} in ${
- (end - start) / 1000
- } seconds`,
- );
- resolve(stdout);
- });
- out.stdout.on('data', data => {
- const datastr = data.toString();
- if (data && datastr) {
- stdout += datastr;
- }
- });
-
- out.stderr.on('data', data => {
- const datastr = data.toString();
- if (data && datastr) {
- stderr += data.toString();
- }
- });
- });
-}
-
-module.exports = run;
diff --git a/tools/scripts-config-react-webpack/CHANGELOG.md b/tools/scripts-config-react-webpack/CHANGELOG.md
index a78b91621bf..09922218400 100644
--- a/tools/scripts-config-react-webpack/CHANGELOG.md
+++ b/tools/scripts-config-react-webpack/CHANGELOG.md
@@ -1,5 +1,11 @@
# @talend/scripts-config-react-webpack
+## 15.4.1
+
+### Patch Changes
+
+- bfc02c4fb: fix: make the static AppLoader use design token if available
+
## 15.4.0
### Minor Changes
diff --git a/tools/scripts-config-react-webpack/config/loader.js b/tools/scripts-config-react-webpack/config/loader.js
index cc368347dfc..da37e8f71dd 100644
--- a/tools/scripts-config-react-webpack/config/loader.js
+++ b/tools/scripts-config-react-webpack/config/loader.js
@@ -12,6 +12,7 @@ body {
height: 100vh;
width: 100vw;
background: #f6f6f6;
+ background: var(--coral-color-neutral-background-medium, #f6f6f6);
}
.tc-app-loader-icon {
@@ -40,6 +41,7 @@ body {
height: 100%;
opacity: 0;
border-color: #ababab;
+ border-color: var(--coral-color-neutral-border, #ababab);
opacity: 1;
animation: app-loader-spin 5332ms cubic-bezier(.4, 0, .2, 1) infinite both;
}
diff --git a/tools/scripts-config-react-webpack/package.json b/tools/scripts-config-react-webpack/package.json
index c25780ec774..2ae380e5383 100644
--- a/tools/scripts-config-react-webpack/package.json
+++ b/tools/scripts-config-react-webpack/package.json
@@ -1,7 +1,7 @@
{
"name": "@talend/scripts-config-react-webpack",
"description": "Webpack configuration for @talend/scripts-core",
- "version": "15.4.0",
+ "version": "15.4.1",
"license": "Apache-2.0",
"main": "index.js",
"author": "Talend Frontend
",
diff --git a/tools/scripts-config-storybook-lib/.storybook-templates/preview.js b/tools/scripts-config-storybook-lib/.storybook-templates/preview.js
index 7bd3c95f999..225b5ddffb7 100644
--- a/tools/scripts-config-storybook-lib/.storybook-templates/preview.js
+++ b/tools/scripts-config-storybook-lib/.storybook-templates/preview.js
@@ -44,6 +44,17 @@ const defaultPreview = {
],
},
},
+ theme: {
+ name: 'Theme',
+ description: 'Choose a theme to apply to the design system',
+ toolbar: {
+ icon: 'paintbrush',
+ items: [
+ { value: 'light', left: '⚪️', title: 'Default theme' },
+ { value: 'dark', left: '⚫️', title: 'Dark theme' },
+ ],
+ },
+ },
},
loaders: [cmfLoader].filter(Boolean),
decorators: [
@@ -63,7 +74,8 @@ const defaultPreview = {
key: 'icons-provider-decorator'
}),
React.createElement(ThemeProvider, {
- key: 'theme-provider-decorator'
+ key: 'theme-provider-decorator',
+ theme: context.globals.theme,
}, storyElement)
];
},
diff --git a/tools/scripts-config-storybook-lib/CHANGELOG.md b/tools/scripts-config-storybook-lib/CHANGELOG.md
index 0ab8c0af088..f29a6cffc8a 100644
--- a/tools/scripts-config-storybook-lib/CHANGELOG.md
+++ b/tools/scripts-config-storybook-lib/CHANGELOG.md
@@ -1,5 +1,16 @@
# @talend/scripts-config-storybook-lib
+## 4.1.0
+
+### Minor Changes
+
+- bfc02c4fb: feat: add design token update in the toolbar
+
+### Patch Changes
+
+- Updated dependencies [bfc02c4fb]
+ - @talend/scripts-config-react-webpack@15.4.1
+
## 4.0.3
### Patch Changes
diff --git a/tools/scripts-config-storybook-lib/package.json b/tools/scripts-config-storybook-lib/package.json
index cb57b6c4a6a..c522c1c788c 100644
--- a/tools/scripts-config-storybook-lib/package.json
+++ b/tools/scripts-config-storybook-lib/package.json
@@ -1,7 +1,7 @@
{
"name": "@talend/scripts-config-storybook-lib",
"description": "Storybook configuration for @talend/scripts-core",
- "version": "4.0.3",
+ "version": "4.1.0",
"license": "Apache-2.0",
"main": "index.js",
"author": "Talend Frontend ",
@@ -30,7 +30,7 @@
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.5.16",
"@storybook/testing-library": "^0.0.13",
- "@talend/scripts-config-react-webpack": "^15.4.0",
+ "@talend/scripts-config-react-webpack": "^15.4.1",
"@talend/dynamic-cdn-webpack-plugin": "^13.0.1",
"assert": "^2.0.0",
"i18next-http-backend": "^1.4.5",
diff --git a/tools/scripts-config-stylelint/.stylelintrc.js b/tools/scripts-config-stylelint/.stylelintrc.js
index d4cf9da38d3..df6008bf6ee 100644
--- a/tools/scripts-config-stylelint/.stylelintrc.js
+++ b/tools/scripts-config-stylelint/.stylelintrc.js
@@ -2,7 +2,8 @@ module.exports = {
extends: 'stylelint-config-sass-guidelines',
rules: {
'at-rule-disallowed-list': ['debug', 'warn'],
- 'color-hex-case': 'upper',
+ // deprecated but here to help align with current prettier
+ 'color-hex-case': 'lower',
'color-named': 'always-where-possible',
'declaration-block-no-duplicate-properties': true,
'declaration-property-value-disallowed-list': {
@@ -12,7 +13,6 @@ module.exports = {
indentation: 'tab',
'function-calc-no-unspaced-operator': true,
'max-nesting-depth': 5,
- 'order/properties-alphabetical-order': null,
'scss/at-import-partial-extension-blacklist': ['scss', 'css'],
'scss/operator-no-unspaced': true,
'selector-class-pattern': ['^(?!_).*$', { resolveNestedSelectors: true }],
diff --git a/tools/scripts-config-stylelint/CHANGELOG.md b/tools/scripts-config-stylelint/CHANGELOG.md
index c9219ad4210..c29f0e3163e 100644
--- a/tools/scripts-config-stylelint/CHANGELOG.md
+++ b/tools/scripts-config-stylelint/CHANGELOG.md
@@ -1,5 +1,20 @@
# @talend/scripts-config-stylelint
+## 4.0.0
+
+### Major Changes
+
+- 8d64e97f2: chore: upgrade stylelint and rules contains breaking changes:
+
+ - stylelint from 14 to 15: https://stylelint.io/migration-guide/to-15/
+ - stylelint-config-sass-guidelines from 9 to 10 https://github.com/bjankord/stylelint-config-sass-guidelines/blob/main/CHANGELOG.md#1000
+ - stylelint-config-standard from 28 to 34 https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md#3400
+ - hexadecimal colors turn from uppercase to lowercase: https://github.com/prettier/prettier/pull/498#issuecomment-275856264
+
+ fix:
+
+ > 1:1 ✖ Unknown rule order/properties-alphabetical-order order/properties-alphabetical-order
+
## 3.0.0
### Major Changes
diff --git a/tools/scripts-config-stylelint/package.json b/tools/scripts-config-stylelint/package.json
index 39082606362..2d5c74a621c 100644
--- a/tools/scripts-config-stylelint/package.json
+++ b/tools/scripts-config-stylelint/package.json
@@ -1,7 +1,7 @@
{
"name": "@talend/scripts-config-stylelint",
"description": "Stylelint configuration for @talend/scripts-core",
- "version": "3.0.0",
+ "version": "4.0.0",
"license": "Apache-2.0",
"main": "index.js",
"author": "Talend Frontend ",
@@ -18,9 +18,9 @@
"url": "https://github.com/Talend/ui.git"
},
"dependencies": {
- "stylelint": "^14.16.1",
- "stylelint-config-sass-guidelines": "^9.0.1",
- "stylelint-config-standard": "^28.0.0"
+ "stylelint": "^15.10.1",
+ "stylelint-config-sass-guidelines": "^10.0.0",
+ "stylelint-config-standard": "^34.0.0"
},
"publishConfig": {
"access": "public"
diff --git a/tools/scripts-core/CHANGELOG.md b/tools/scripts-core/CHANGELOG.md
index 7c80a27d81f..c1fc02461f8 100644
--- a/tools/scripts-core/CHANGELOG.md
+++ b/tools/scripts-core/CHANGELOG.md
@@ -1,5 +1,11 @@
# @talend/scripts-core
+## 14.0.0
+
+### Major Changes
+
+- 40e70c055: Upgrade typescript to 5.0
+
## 13.3.0
### Minor Changes
diff --git a/tools/scripts-core/package.json b/tools/scripts-core/package.json
index 76d6641a57c..3e9158179c3 100644
--- a/tools/scripts-core/package.json
+++ b/tools/scripts-core/package.json
@@ -1,7 +1,7 @@
{
"name": "@talend/scripts-core",
"description": "Set of scripts",
- "version": "13.3.0",
+ "version": "14.0.0",
"license": "Apache-2.0",
"exports": "./src/index.js",
"type": "module",
@@ -34,7 +34,7 @@
"fs-extra": "^10.1.0",
"lodash": "^4.17.21",
"rimraf": "^3.0.2",
- "typescript": "^4.9.5",
+ "typescript": "^5.0.4",
"webpack-merge": "^5.9.0",
"yargs": "^15.4.1"
},
diff --git a/tools/scripts-yarn-workspace/CHANGELOG.md b/tools/scripts-yarn-workspace/CHANGELOG.md
index 72807007730..f8c25636041 100644
--- a/tools/scripts-yarn-workspace/CHANGELOG.md
+++ b/tools/scripts-yarn-workspace/CHANGELOG.md
@@ -1,5 +1,11 @@
# @talend/scripts-yarn-workspace
+## 1.2.0
+
+### Minor Changes
+
+- e95da98ed: feat: add lint-merge-report command
+
## 1.1.0
### Minor Changes
diff --git a/tools/scripts-yarn-workspace/README.md b/tools/scripts-yarn-workspace/README.md
index 9dbc5af7364..f48a10c3571 100644
--- a/tools/scripts-yarn-workspace/README.md
+++ b/tools/scripts-yarn-workspace/README.md
@@ -2,6 +2,9 @@
This package expose a command line useful for mono repository management.
-For example:
+To use it as usual with scripts packages: `npx talend-yarn-workspace {command} {arguments}`
-`talend-yarn-workspace run test` will run test script on every package that has this script. The output will not be verbose by default.
+| command | arguments | description |
+| ------------------- | -------------- | --------------------------------------------------------------------------------------- |
+| `run` | scriptName | run package.json script accross all packages inside your mono repository |
+| `lint-merge-report` | main pr-branch | merge all eslint-report.json and stylelint-report.json and filter on only changed files |
diff --git a/tools/scripts-yarn-workspace/package.json b/tools/scripts-yarn-workspace/package.json
index 7b37014ee72..ca1b86ff0d7 100644
--- a/tools/scripts-yarn-workspace/package.json
+++ b/tools/scripts-yarn-workspace/package.json
@@ -1,6 +1,6 @@
{
"name": "@talend/scripts-yarn-workspace",
- "version": "1.1.0",
+ "version": "1.2.0",
"description": "yarn workspace commands but more friendly",
"type": "module",
"bin": {
diff --git a/tools/scripts-yarn-workspace/src/index.js b/tools/scripts-yarn-workspace/src/index.js
index 528e435de6c..cc90e08ba4a 100755
--- a/tools/scripts-yarn-workspace/src/index.js
+++ b/tools/scripts-yarn-workspace/src/index.js
@@ -1,11 +1,13 @@
#!/usr/bin/env node
import { workspaceRun } from './workspace-run.js';
-
+import { mergeReport } from './merge-report.js';
const command = process.argv[2];
const args = process.argv.slice(3);
if (command === 'run') {
workspaceRun(args);
+} else if (command === 'lint-merge-report') {
+ mergeReport(args);
} else {
console.error(`Command ${command} not found`);
process.exit(1);
diff --git a/tools/scripts-yarn-workspace/src/merge-report.js b/tools/scripts-yarn-workspace/src/merge-report.js
new file mode 100644
index 00000000000..3889fab58ab
--- /dev/null
+++ b/tools/scripts-yarn-workspace/src/merge-report.js
@@ -0,0 +1,74 @@
+/* eslint-disable no-param-reassign */
+import fs from 'fs';
+import { run } from './run.js';
+
+const reports = ['eslint-report.json', 'stylelint-report.json'];
+
+let buff = [];
+
+function transform(item) {
+ if (item.source && !item.filePath) {
+ item.filePath = item.source;
+ delete item.source;
+ }
+ if (item.warnings && !item.messages) {
+ item.messages = item.warnings.map(w => ({
+ ...w,
+ severity: 1,
+ message: w.text,
+ ruleId: w.rule,
+ }));
+ item.warningCount = item.warnings.length;
+ delete item.warning;
+ } else if (item.messages) {
+ item.messages = item.messages.map(w => ({ ...w, severity: 1 }));
+ item.warningCount += item.errorCount;
+ item.errorCount = 0;
+ }
+ return item;
+}
+
+export function mergeReport(args) {
+ const info = run({ name: 'yarn', args: ['workspaces', '--silent', 'info'] }).then(info =>
+ JSON.parse(info),
+ );
+ //https://stackoverflow.com/questions/65944700/how-to-run-git-diff-in-github-actions
+ const diff = run({
+ name: 'git',
+ args: ['diff', '--name-only', `origin/${args[0]}`, `origin/${args[1]}`],
+ })
+ .then(out =>
+ out
+ .split('\n')
+ .map(str => str.trim())
+ .filter(Boolean),
+ )
+ .catch(e => console.error(e));
+ Promise.all([info, diff]).then(results => {
+ const [infos, files = []] = results;
+ // eslint-disable-next-line no-console
+ console.log({ files });
+ function onlyIfInDiff(lint) {
+ return !!files.find(f => lint.filePath.endsWith(`/${f}`));
+ }
+ Object.keys(infos).forEach(pkg => {
+ reports.forEach(report => {
+ const fpath = `${infos[pkg].location}/${report}`;
+ if (fs.existsSync(fpath)) {
+ try {
+ buff = buff.concat(
+ JSON.parse(fs.readFileSync(fpath)).map(transform).filter(onlyIfInDiff),
+ );
+ } catch (e) {
+ console.error(e);
+ }
+ }
+ });
+ });
+ const target = `${process.cwd()}/eslint-report.json`;
+
+ // eslint-disable-next-line no-console
+ console.log(`report merge into ${target}`);
+ fs.writeFileSync(target, JSON.stringify(buff, null, 2));
+ });
+}
diff --git a/yarn.lock b/yarn.lock
index 0acbb930816..c063b9ded83 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1656,6 +1656,21 @@
resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9"
integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==
+"@csstools/css-parser-algorithms@^2.3.0":
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.3.0.tgz#0cc3a656dc2d638370ecf6f98358973bfbd00141"
+ integrity sha512-dTKSIHHWc0zPvcS5cqGP+/TPFUJB0ekJ9dGKvMAFoNuBFhDPBt9OMGNZiIA5vTiNdGHHBeScYPXIGBMnVOahsA==
+
+"@csstools/css-tokenizer@^2.1.1":
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/@csstools/css-tokenizer/-/css-tokenizer-2.1.1.tgz#07ae11a0a06365d7ec686549db7b729bc036528e"
+ integrity sha512-GbrTj2Z8MCTUv+52GE0RbFGM527xuXZ0Xa5g0Z+YN573uveS4G0qi6WNOMyz3yrFM/jaILTTwJ0+umx81EzqfA==
+
+"@csstools/media-query-list-parser@^2.1.2":
+ version "2.1.2"
+ resolved "https://registry.yarnpkg.com/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.2.tgz#6ef642b728d30c1009bfbba3211c7e4c11302728"
+ integrity sha512-M8cFGGwl866o6++vIY7j1AKuq9v57cf+dGepScwCcbut9ypJNr4Cj+LLTWligYUZ0uyhEoJDKt5lvyBfh2L3ZQ==
+
"@csstools/postcss-cascade-layers@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@csstools/postcss-cascade-layers/-/postcss-cascade-layers-1.1.1.tgz#8a997edf97d34071dd2e37ea6022447dd9e795ad"
@@ -1762,6 +1777,11 @@
resolved "https://registry.yarnpkg.com/@csstools/selector-specificity/-/selector-specificity-2.2.0.tgz#2cbcf822bf3764c9658c4d2e568bd0c0cb748016"
integrity sha512-+OJ9konv95ClSTOJCmMZqpd5+YGsB2S+x6w3E1oaM8UuR5j8nTNHYSz8c9BEPGDOCMQYIEEGlVPj/VY64iTbGw==
+"@csstools/selector-specificity@^3.0.0":
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/@csstools/selector-specificity/-/selector-specificity-3.0.0.tgz#798622546b63847e82389e473fd67f2707d82247"
+ integrity sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==
+
"@cypress/react@^7.0.3":
version "7.0.3"
resolved "https://registry.yarnpkg.com/@cypress/react/-/react-7.0.3.tgz#e62d67c1344265ee959e99100ce237663f20abb1"
@@ -4442,7 +4462,7 @@
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca"
integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==
-"@types/minimist@^1.2.0":
+"@types/minimist@^1.2.0", "@types/minimist@^1.2.2":
version "1.2.2"
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c"
integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==
@@ -6456,12 +6476,22 @@ camelcase-keys@^6.2.2:
map-obj "^4.0.0"
quick-lru "^4.0.1"
+camelcase-keys@^7.0.0:
+ version "7.0.2"
+ resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-7.0.2.tgz#d048d8c69448745bb0de6fc4c1c52a30dfbe7252"
+ integrity sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==
+ dependencies:
+ camelcase "^6.3.0"
+ map-obj "^4.1.0"
+ quick-lru "^5.1.1"
+ type-fest "^1.2.1"
+
camelcase@^5.0.0, camelcase@^5.3.1:
version "5.3.1"
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
-camelcase@^6.0.0, camelcase@^6.2.0:
+camelcase@^6.0.0, camelcase@^6.2.0, camelcase@^6.3.0:
version "6.3.0"
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a"
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
@@ -7194,7 +7224,7 @@ cosmiconfig@^6.0.0:
path-type "^4.0.0"
yaml "^1.7.2"
-cosmiconfig@^7.0.0, cosmiconfig@^7.0.1, cosmiconfig@^7.1.0:
+cosmiconfig@^7.0.0, cosmiconfig@^7.0.1:
version "7.1.0"
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6"
integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==
@@ -7466,6 +7496,14 @@ css-tree@^1.1.2, css-tree@^1.1.3:
mdn-data "2.0.14"
source-map "^0.6.1"
+css-tree@^2.3.1:
+ version "2.3.1"
+ resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-2.3.1.tgz#10264ce1e5442e8572fc82fbe490644ff54b5c20"
+ integrity sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==
+ dependencies:
+ mdn-data "2.0.30"
+ source-map-js "^1.0.1"
+
css-unit-converter@^1.1.1:
version "1.1.2"
resolved "https://registry.yarnpkg.com/css-unit-converter/-/css-unit-converter-1.1.2.tgz#4c77f5a1954e6dbff60695ecb214e3270436ab21"
@@ -7980,6 +8018,11 @@ decamelize@^1.1.0, decamelize@^1.2.0:
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==
+decamelize@^5.0.0:
+ version "5.0.1"
+ resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-5.0.1.tgz#db11a92e58c741ef339fb0a2868d8a06a9a7b1e9"
+ integrity sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==
+
decimal.js-light@^2.4.1:
version "2.5.1"
resolved "https://registry.yarnpkg.com/decimal.js-light/-/decimal.js-light-2.5.1.tgz#134fd32508f19e208f4fb2f8dac0d2626a867934"
@@ -9387,10 +9430,10 @@ fast-glob@^2.2.6:
merge2 "^1.2.3"
micromatch "^3.1.10"
-fast-glob@^3.2.12, fast-glob@^3.2.7, fast-glob@^3.2.9:
- version "3.2.12"
- resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80"
- integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==
+fast-glob@^3.2.7, fast-glob@^3.2.9, fast-glob@^3.3.0:
+ version "3.3.0"
+ resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.0.tgz#7c40cb491e1e2ed5664749e87bfb516dbe8727c0"
+ integrity sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==
dependencies:
"@nodelib/fs.stat" "^2.0.2"
"@nodelib/fs.walk" "^1.2.3"
@@ -10596,7 +10639,7 @@ html-parse-stringify@^3.0.1:
dependencies:
void-elements "3.1.0"
-html-tags@^3.1.0, html-tags@^3.2.0:
+html-tags@^3.1.0, html-tags@^3.3.1:
version "3.3.1"
resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-3.3.1.tgz#a04026a18c882e4bba8a01a3d39cfe465d40b5ce"
integrity sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==
@@ -10880,7 +10923,7 @@ ignore@^4.0.3, ignore@^4.0.6:
resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc"
integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==
-ignore@^5.1.9, ignore@^5.2.0, ignore@^5.2.1:
+ignore@^5.1.9, ignore@^5.2.0, ignore@^5.2.4:
version "5.2.4"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324"
integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==
@@ -10926,6 +10969,11 @@ indent-string@^4.0.0:
resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251"
integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==
+indent-string@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-5.0.0.tgz#4fd2980fccaf8622d14c64d694f4cf33c81951a5"
+ integrity sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==
+
inflight@^1.0.4:
version "1.0.6"
resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
@@ -12491,10 +12539,10 @@ klona@^2.0.4:
resolved "https://registry.yarnpkg.com/klona/-/klona-2.0.6.tgz#85bffbf819c03b2f53270412420a4555ef882e22"
integrity sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==
-known-css-properties@^0.26.0:
- version "0.26.0"
- resolved "https://registry.yarnpkg.com/known-css-properties/-/known-css-properties-0.26.0.tgz#008295115abddc045a9f4ed7e2a84dc8b3a77649"
- integrity sha512-5FZRzrZzNTBruuurWpvZnvP9pum+fe0HcK8z/ooo+U+Hmp4vtbyp1/QDsqmufirXy4egGzbaH/y2uCZf+6W5Kg==
+known-css-properties@^0.27.0:
+ version "0.27.0"
+ resolved "https://registry.yarnpkg.com/known-css-properties/-/known-css-properties-0.27.0.tgz#82a9358dda5fe7f7bd12b5e7142c0a205393c0c5"
+ integrity sha512-uMCj6+hZYDoffuvAJjFAPz56E9uoowFHmTkqRtRq5WyC5Q6Cu/fTZKNQpX/RbzChBYLLl3lo8CjFZBAZXq9qFg==
language-subtag-registry@~0.3.2:
version "0.3.22"
@@ -12962,7 +13010,7 @@ map-obj@^1.0.0:
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d"
integrity sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==
-map-obj@^4.0.0:
+map-obj@^4.0.0, map-obj@^4.1.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a"
integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==
@@ -13078,6 +13126,11 @@ mdn-data@2.0.14:
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50"
integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==
+mdn-data@2.0.30:
+ version "2.0.30"
+ resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.30.tgz#ce4df6f80af6cfbe218ecd5c552ba13c4dfa08cc"
+ integrity sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==
+
mdn-data@2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.4.tgz#699b3c38ac6f1d728091a64650b65d388502fd5b"
@@ -13117,6 +13170,24 @@ memoizerific@^1.11.3:
dependencies:
map-or-similar "^1.5.0"
+meow@^10.1.5:
+ version "10.1.5"
+ resolved "https://registry.yarnpkg.com/meow/-/meow-10.1.5.tgz#be52a1d87b5f5698602b0f32875ee5940904aa7f"
+ integrity sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==
+ dependencies:
+ "@types/minimist" "^1.2.2"
+ camelcase-keys "^7.0.0"
+ decamelize "^5.0.0"
+ decamelize-keys "^1.1.0"
+ hard-rejection "^2.1.0"
+ minimist-options "4.1.0"
+ normalize-package-data "^3.0.2"
+ read-pkg-up "^8.0.0"
+ redent "^4.0.0"
+ trim-newlines "^4.0.2"
+ type-fest "^1.2.2"
+ yargs-parser "^20.2.9"
+
meow@^6.0.0:
version "6.1.1"
resolved "https://registry.yarnpkg.com/meow/-/meow-6.1.1.tgz#1ad64c4b76b2a24dfb2f635fddcadf320d251467"
@@ -13134,24 +13205,6 @@ meow@^6.0.0:
type-fest "^0.13.1"
yargs-parser "^18.1.3"
-meow@^9.0.0:
- version "9.0.0"
- resolved "https://registry.yarnpkg.com/meow/-/meow-9.0.0.tgz#cd9510bc5cac9dee7d03c73ee1f9ad959f4ea364"
- integrity sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==
- dependencies:
- "@types/minimist" "^1.2.0"
- camelcase-keys "^6.2.2"
- decamelize "^1.2.0"
- decamelize-keys "^1.1.0"
- hard-rejection "^2.1.0"
- minimist-options "4.1.0"
- normalize-package-data "^3.0.0"
- read-pkg-up "^7.0.1"
- redent "^3.0.0"
- trim-newlines "^3.0.0"
- type-fest "^0.18.0"
- yargs-parser "^20.2.3"
-
merge-descriptors@1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61"
@@ -13261,7 +13314,7 @@ min-document@^2.19.0:
dependencies:
dom-walk "^0.1.0"
-min-indent@^1.0.0:
+min-indent@^1.0.0, min-indent@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869"
integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==
@@ -13683,7 +13736,7 @@ normalize-package-data@^2.5.0:
semver "2 || 3 || 4 || 5"
validate-npm-package-license "^3.0.1"
-normalize-package-data@^3.0.0:
+normalize-package-data@^3.0.2:
version "3.0.3"
resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-3.0.3.tgz#dbcc3e2da59509a0983422884cd172eefdfa525e"
integrity sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==
@@ -14996,7 +15049,7 @@ postcss-safe-parser@^6.0.0:
resolved "https://registry.yarnpkg.com/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz#bb4c29894171a94bc5c996b9a30317ef402adaa1"
integrity sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==
-postcss-scss@^4.0.2:
+postcss-scss@^4.0.6:
version "4.0.6"
resolved "https://registry.yarnpkg.com/postcss-scss/-/postcss-scss-4.0.6.tgz#5d62a574b950a6ae12f2aa89b60d63d9e4432bfd"
integrity sha512-rLDPhJY4z/i4nVFZ27j9GqLxj1pwxE80eAzUNRMXtcpipFYIeowerzBgG3yJhMtObGEXidtIgbUpQ3eLDsf5OQ==
@@ -15008,7 +15061,7 @@ postcss-selector-not@^6.0.1:
dependencies:
postcss-selector-parser "^6.0.10"
-postcss-selector-parser@^6.0.0, postcss-selector-parser@^6.0.10, postcss-selector-parser@^6.0.11, postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.5, postcss-selector-parser@^6.0.9:
+postcss-selector-parser@^6.0.0, postcss-selector-parser@^6.0.10, postcss-selector-parser@^6.0.11, postcss-selector-parser@^6.0.13, postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.5, postcss-selector-parser@^6.0.9:
version "6.0.13"
resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz#d05d8d76b1e8e173257ef9d60b706a8e5e99bf1b"
integrity sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==
@@ -15016,11 +15069,6 @@ postcss-selector-parser@^6.0.0, postcss-selector-parser@^6.0.10, postcss-selecto
cssesc "^3.0.0"
util-deprecate "^1.0.2"
-postcss-sorting@^7.0.1:
- version "7.0.1"
- resolved "https://registry.yarnpkg.com/postcss-sorting/-/postcss-sorting-7.0.1.tgz#923b5268451cf2d93ebf8835e17a6537757049a5"
- integrity sha512-iLBFYz6VRYyLJEJsBJ8M3TCqNcckVzz4wFounSc5Oez35ogE/X+aoC5fFu103Ot7NyvjU3/xqIXn93Gp3kJk4g==
-
postcss-svgo@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-5.1.0.tgz#0a317400ced789f233a28826e77523f15857d80d"
@@ -15054,7 +15102,7 @@ postcss@^7.0.14, postcss@^7.0.26, postcss@^7.0.32, postcss@^7.0.36, postcss@^7.0
picocolors "^0.2.1"
source-map "^0.6.1"
-postcss@^8.2.14, postcss@^8.2.15, postcss@^8.3.11, postcss@^8.4.17, postcss@^8.4.19, postcss@^8.4.24:
+postcss@^8.2.14, postcss@^8.2.15, postcss@^8.4.17, postcss@^8.4.24:
version "8.4.24"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.24.tgz#f714dba9b2284be3cc07dbd2fc57ee4dc972d2df"
integrity sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==
@@ -15372,6 +15420,11 @@ quick-lru@^4.0.1:
resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f"
integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==
+quick-lru@^5.1.1:
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932"
+ integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==
+
raf@^3.4.1:
version "3.4.1"
resolved "https://registry.yarnpkg.com/raf/-/raf-3.4.1.tgz#0742e99a4a6552f445d73e3ee0328af0ff1ede39"
@@ -15858,6 +15911,15 @@ read-pkg-up@^7.0.1:
read-pkg "^5.2.0"
type-fest "^0.8.1"
+read-pkg-up@^8.0.0:
+ version "8.0.0"
+ resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-8.0.0.tgz#72f595b65e66110f43b052dd9af4de6b10534670"
+ integrity sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==
+ dependencies:
+ find-up "^5.0.0"
+ read-pkg "^6.0.0"
+ type-fest "^1.0.1"
+
read-pkg@^5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc"
@@ -15868,6 +15930,16 @@ read-pkg@^5.2.0:
parse-json "^5.0.0"
type-fest "^0.6.0"
+read-pkg@^6.0.0:
+ version "6.0.0"
+ resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-6.0.0.tgz#a67a7d6a1c2b0c3cd6aa2ea521f40c458a4a504c"
+ integrity sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==
+ dependencies:
+ "@types/normalize-package-data" "^2.4.0"
+ normalize-package-data "^3.0.2"
+ parse-json "^5.2.0"
+ type-fest "^1.0.1"
+
read-yaml-file@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/read-yaml-file/-/read-yaml-file-1.1.0.tgz#9362bbcbdc77007cc8ea4519fe1c0b821a7ce0d8"
@@ -15984,6 +16056,14 @@ redent@^3.0.0:
indent-string "^4.0.0"
strip-indent "^3.0.0"
+redent@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/redent/-/redent-4.0.0.tgz#0c0ba7caabb24257ab3bb7a4fd95dd1d5c5681f9"
+ integrity sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==
+ dependencies:
+ indent-string "^5.0.0"
+ strip-indent "^4.0.0"
+
reduce-css-calc@^2.1.8:
version "2.1.8"
resolved "https://registry.yarnpkg.com/reduce-css-calc/-/reduce-css-calc-2.1.8.tgz#7ef8761a28d614980dc0c982f772c93f7a99de03"
@@ -17162,7 +17242,7 @@ source-list-map@^2.0.1:
resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34"
integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==
-"source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.0.2:
+"source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.0.1, source-map-js@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c"
integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==
@@ -17664,6 +17744,13 @@ strip-indent@^3.0.0:
dependencies:
min-indent "^1.0.0"
+strip-indent@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-4.0.0.tgz#b41379433dd06f5eae805e21d631e07ee670d853"
+ integrity sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==
+ dependencies:
+ min-indent "^1.0.1"
+
strip-json-comments@^3.1.0, strip-json-comments@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
@@ -17731,36 +17818,27 @@ stylehacks@^5.1.1:
browserslist "^4.21.4"
postcss-selector-parser "^6.0.4"
-stylelint-config-recommended@^9.0.0:
- version "9.0.0"
- resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-9.0.0.tgz#1c9e07536a8cd875405f8ecef7314916d94e7e40"
- integrity sha512-9YQSrJq4NvvRuTbzDsWX3rrFOzOlYBmZP+o513BJN/yfEmGSr0AxdvrWs0P/ilSpVV/wisamAHu5XSk8Rcf4CQ==
+stylelint-config-recommended@^13.0.0:
+ version "13.0.0"
+ resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-13.0.0.tgz#c48a358cc46b629ea01f22db60b351f703e00597"
+ integrity sha512-EH+yRj6h3GAe/fRiyaoO2F9l9Tgg50AOFhaszyfov9v6ayXJ1IkSHwTxd7lB48FmOeSGDPLjatjO11fJpmarkQ==
-stylelint-config-sass-guidelines@^9.0.1:
- version "9.0.1"
- resolved "https://registry.yarnpkg.com/stylelint-config-sass-guidelines/-/stylelint-config-sass-guidelines-9.0.1.tgz#3114ce780f2085ba9ea5da2b7d97a1e85e968fa7"
- integrity sha512-N06PsVsrgKijQ3YT5hqKA7x3NUkgELTRI1cbWMqcYiCGG6MjzvNk6Cb5YYA1PrvrksBV76BvY9P9bAswojVMqA==
+stylelint-config-sass-guidelines@^10.0.0:
+ version "10.0.0"
+ resolved "https://registry.yarnpkg.com/stylelint-config-sass-guidelines/-/stylelint-config-sass-guidelines-10.0.0.tgz#ace99689eb6769534c9b40d62e2a8562b1ddc9f2"
+ integrity sha512-+Rr2Dd4b72CWA4qoj1Kk+y449nP/WJsrD0nzQAWkmPPIuyVcy2GMIcfNr0Z8JJOLjRvtlkKxa49FCNXMePBikQ==
dependencies:
- postcss-scss "^4.0.2"
- stylelint-order "^5.0.0"
- stylelint-scss "^4.0.0"
+ postcss-scss "^4.0.6"
+ stylelint-scss "^4.4.0"
-stylelint-config-standard@^28.0.0:
- version "28.0.0"
- resolved "https://registry.yarnpkg.com/stylelint-config-standard/-/stylelint-config-standard-28.0.0.tgz#7e1926c232631a8445eafee7b186d276d42d7b15"
- integrity sha512-q/StuowDdDmFCravzGHAwgS9pjX0bdOQUEBBDIkIWsQuYGgYz/xsO8CM6eepmIQ1fc5bKdDVimlJZ6MoOUcJ5Q==
+stylelint-config-standard@^34.0.0:
+ version "34.0.0"
+ resolved "https://registry.yarnpkg.com/stylelint-config-standard/-/stylelint-config-standard-34.0.0.tgz#309f3c48118a02aae262230c174282e40e766cf4"
+ integrity sha512-u0VSZnVyW9VSryBG2LSO+OQTjN7zF9XJaAJRX/4EwkmU0R2jYwmBSN10acqZisDitS0CLiEiGjX7+Hrq8TAhfQ==
dependencies:
- stylelint-config-recommended "^9.0.0"
+ stylelint-config-recommended "^13.0.0"
-stylelint-order@^5.0.0:
- version "5.0.0"
- resolved "https://registry.yarnpkg.com/stylelint-order/-/stylelint-order-5.0.0.tgz#abd20f6b85ac640774cbe40e70d3fe9c6fdf4400"
- integrity sha512-OWQ7pmicXufDw5BlRqzdz3fkGKJPgLyDwD1rFY3AIEfIH/LQY38Vu/85v8/up0I+VPiuGRwbc2Hg3zLAsJaiyw==
- dependencies:
- postcss "^8.3.11"
- postcss-sorting "^7.0.1"
-
-stylelint-scss@^4.0.0:
+stylelint-scss@^4.4.0:
version "4.7.0"
resolved "https://registry.yarnpkg.com/stylelint-scss/-/stylelint-scss-4.7.0.tgz#f986bf8c5a4b93eae2b67d3a3562eef822657908"
integrity sha512-TSUgIeS0H3jqDZnby1UO1Qv3poi1N8wUYIJY6D1tuUq2MN3lwp/rITVo0wD+1SWTmRm0tNmGO0b7nKInnqF6Hg==
@@ -17770,49 +17848,51 @@ stylelint-scss@^4.0.0:
postcss-selector-parser "^6.0.11"
postcss-value-parser "^4.2.0"
-stylelint@^14.16.1:
- version "14.16.1"
- resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-14.16.1.tgz#b911063530619a1bbe44c2b875fd8181ebdc742d"
- integrity sha512-ErlzR/T3hhbV+a925/gbfc3f3Fep9/bnspMiJPorfGEmcBbXdS+oo6LrVtoUZ/w9fqD6o6k7PtUlCOsCRdjX/A==
+stylelint@^15.10.1:
+ version "15.10.1"
+ resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-15.10.1.tgz#93f189958687e330c106b010cbec0c41dcae506d"
+ integrity sha512-CYkzYrCFfA/gnOR+u9kJ1PpzwG10WLVnoxHDuBA/JiwGqdM9+yx9+ou6SE/y9YHtfv1mcLo06fdadHTOx4gBZQ==
dependencies:
- "@csstools/selector-specificity" "^2.0.2"
+ "@csstools/css-parser-algorithms" "^2.3.0"
+ "@csstools/css-tokenizer" "^2.1.1"
+ "@csstools/media-query-list-parser" "^2.1.2"
+ "@csstools/selector-specificity" "^3.0.0"
balanced-match "^2.0.0"
colord "^2.9.3"
- cosmiconfig "^7.1.0"
+ cosmiconfig "^8.2.0"
css-functions-list "^3.1.0"
+ css-tree "^2.3.1"
debug "^4.3.4"
- fast-glob "^3.2.12"
+ fast-glob "^3.3.0"
fastest-levenshtein "^1.0.16"
file-entry-cache "^6.0.1"
global-modules "^2.0.0"
globby "^11.1.0"
globjoin "^0.1.4"
- html-tags "^3.2.0"
- ignore "^5.2.1"
+ html-tags "^3.3.1"
+ ignore "^5.2.4"
import-lazy "^4.0.0"
imurmurhash "^0.1.4"
is-plain-object "^5.0.0"
- known-css-properties "^0.26.0"
+ known-css-properties "^0.27.0"
mathml-tag-names "^2.1.3"
- meow "^9.0.0"
+ meow "^10.1.5"
micromatch "^4.0.5"
normalize-path "^3.0.0"
picocolors "^1.0.0"
- postcss "^8.4.19"
- postcss-media-query-parser "^0.2.3"
+ postcss "^8.4.24"
postcss-resolve-nested-selector "^0.1.1"
postcss-safe-parser "^6.0.0"
- postcss-selector-parser "^6.0.11"
+ postcss-selector-parser "^6.0.13"
postcss-value-parser "^4.2.0"
resolve-from "^5.0.0"
string-width "^4.2.3"
strip-ansi "^6.0.1"
style-search "^0.1.0"
- supports-hyperlinks "^2.3.0"
+ supports-hyperlinks "^3.0.0"
svg-tags "^1.0.0"
table "^6.8.1"
- v8-compile-cache "^2.3.0"
- write-file-atomic "^4.0.2"
+ write-file-atomic "^5.0.1"
stylis@^4.0.6:
version "4.2.0"
@@ -17864,10 +17944,10 @@ supports-color@^8.0.0, supports-color@^8.1.0, supports-color@^8.1.1:
dependencies:
has-flag "^4.0.0"
-supports-hyperlinks@^2.3.0:
- version "2.3.0"
- resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624"
- integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==
+supports-hyperlinks@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-3.0.0.tgz#c711352a5c89070779b4dad54c05a2f14b15c94b"
+ integrity sha512-QBDPHyPQDRTy9ku4URNGY5Lah8PAaXs6tAAwp55sL5WCsSW7GIfdf6W5ixfziW+t7wh3GVvHyHHyQ1ESsoRvaA==
dependencies:
has-flag "^4.0.0"
supports-color "^7.0.0"
@@ -18301,6 +18381,11 @@ trim-newlines@^3.0.0:
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144"
integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==
+trim-newlines@^4.0.2:
+ version "4.1.1"
+ resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-4.1.1.tgz#28c88deb50ed10c7ba6dc2474421904a00139125"
+ integrity sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==
+
trim-trailing-lines@^1.0.0:
version "1.1.4"
resolved "https://registry.yarnpkg.com/trim-trailing-lines/-/trim-trailing-lines-1.1.4.tgz#bd4abbec7cc880462f10b2c8b5ce1d8d1ec7c2c0"
@@ -18437,11 +18522,6 @@ type-fest@^0.13.1:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.13.1.tgz#0172cb5bce80b0bd542ea348db50c7e21834d934"
integrity sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==
-type-fest@^0.18.0:
- version "0.18.1"
- resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.18.1.tgz#db4bc151a4a2cf4eebf9add5db75508db6cc841f"
- integrity sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==
-
type-fest@^0.20.2:
version "0.20.2"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4"
@@ -18462,6 +18542,11 @@ type-fest@^0.8.1:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
+type-fest@^1.0.1, type-fest@^1.2.1, type-fest@^1.2.2:
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-1.4.0.tgz#e9fb813fe3bf1744ec359d55d1affefa76f14be1"
+ integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==
+
type-fest@^2.19.0:
version "2.19.0"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.19.0.tgz#88068015bb33036a598b952e55e9311a60fd3a9b"
@@ -18520,10 +18605,10 @@ typescript-tuple@^2.2.1:
dependencies:
typescript-compare "^0.0.2"
-typescript@^3.0.0, typescript@^4.9.5:
- version "4.9.5"
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
- integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
+typescript@^3.0.0, typescript@^5.0.4:
+ version "5.0.4"
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b"
+ integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==
ua-parser-js@^1.0.33:
version "1.0.35"
@@ -18911,7 +18996,7 @@ uuid@^8.0.0, uuid@^8.3.2:
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
-v8-compile-cache@^2.0.3, v8-compile-cache@^2.3.0:
+v8-compile-cache@^2.0.3:
version "2.3.0"
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee"
integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==
@@ -19506,6 +19591,14 @@ write-file-atomic@^4.0.2:
imurmurhash "^0.1.4"
signal-exit "^3.0.7"
+write-file-atomic@^5.0.1:
+ version "5.0.1"
+ resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-5.0.1.tgz#68df4717c55c6fa4281a7860b4c2ba0a6d2b11e7"
+ integrity sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==
+ dependencies:
+ imurmurhash "^0.1.4"
+ signal-exit "^4.0.1"
+
ws@^7.2.0, ws@^7.3.1:
version "7.5.9"
resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591"
@@ -19596,7 +19689,7 @@ yargs-parser@^18.1.2, yargs-parser@^18.1.3:
camelcase "^5.0.0"
decamelize "^1.2.0"
-yargs-parser@^20.2.2, yargs-parser@^20.2.3, yargs-parser@^20.2.9:
+yargs-parser@^20.2.2, yargs-parser@^20.2.9:
version "20.2.9"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee"
integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==