Skip to content

Commit

Permalink
Merge branch 'master' into hbhong/fix/TDOPS-4851-no-copy-message
Browse files Browse the repository at this point in the history
  • Loading branch information
hbhong authored Aug 2, 2023
2 parents e349b32 + fc50964 commit 688b780
Show file tree
Hide file tree
Showing 11 changed files with 82 additions and 50 deletions.
5 changes: 0 additions & 5 deletions .changeset/big-masks-relate.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-onions-remain.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @talend/react-components

## 11.1.3

### Patch Changes

- 3345262d2: fix: tokens on the Slider component and migration to typescript
- Updated dependencies [b36165add]
- @talend/design-tokens@2.8.0

## 11.1.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"dependencies": {
"@popperjs/core": "^2.11.8",
"@talend/bootstrap-theme": "^8.0.0",
"@talend/design-tokens": "^2.7.3",
"@talend/design-tokens": "^2.8.0",
"@talend/react-a11y": "^1.1.0",
"@talend/icons": "^6.58.1",
"@talend/utils": "^2.5.1",
Expand Down Expand Up @@ -113,5 +113,5 @@
"publishConfig": {
"access": "public"
},
"version": "11.1.2"
"version": "11.1.3"
}
6 changes: 6 additions & 0 deletions packages/design-tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @talend/design-tokens

## 2.8.0

### Minor Changes

- b36165add: feat: add brand & info tokens

## 2.7.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/design-tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@talend/design-tokens",
"version": "2.7.3",
"version": "2.8.0",
"description": "Talend Design Tokens",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
7 changes: 7 additions & 0 deletions packages/faceted-search/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 11.0.1

### Patch Changes

- Updated dependencies [b36165add]
- @talend/design-tokens@2.8.0

## 11.0.0

### Major Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/faceted-search/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@talend/react-faceted-search",
"version": "11.0.0",
"version": "11.0.1",
"description": "Faceted search",
"main": "lib/index.js",
"mainSrc": "src/index.js",
Expand Down Expand Up @@ -36,7 +36,7 @@
"@talend/daikon-tql-client": "^1.3.1",
"@talend/utils": "^2.5.1",
"@talend/react-bootstrap": "^1.35.2",
"@talend/design-tokens": "2.7.3",
"@talend/design-tokens": "2.8.0",
"classnames": "^2.3.2",
"date-fns": "^1.30.1",
"invariant": "^2.2.4",
Expand All @@ -51,7 +51,7 @@
"@talend/icons": "^6.58.1",
"@talend/locales-tui-components": "^9.5.0",
"@talend/locales-tui-faceted-search": "^8.1.0",
"@talend/react-components": "^11.0.0",
"@talend/react-components": "^11.1.3",
"@talend/scripts-core": "^14.0.0",
"@talend/scripts-config-react-webpack": "^15.4.1",
"babel-plugin-angularjs-annotate": "^0.10.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/theme/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @talend/bootstrap-theme

## 8.0.1

### Patch Changes

- ae4916894: Bootstrap Theme : Fix various button border issues using Design System tokens

## 8.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@
"publishConfig": {
"access": "public"
},
"version": "8.0.0"
"version": "8.0.1"
}
81 changes: 48 additions & 33 deletions packages/theme/src/theme/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,13 @@
&,
&:focus,
&:hover {
color: currentColor;
background-color: transparent;
border-color: transparent;
}

&:active,
.open > &.dropdown-toggle {
box-shadow: none;

&,
&:hover {
color: var(--t-button-color);
background-color: var(--t-button-background-color);
border-color: var(--t-button-border-color);
}
border-color: transparent;
}

&,
Expand All @@ -56,9 +48,6 @@
&:hover,
&:focus,
&.focus {
color: var(--t-button-color);
background-color: var(--t-button-background-color);
border-color: var(--t-button-border-color);
opacity: 0.54;
cursor: not-allowed;
}
Expand Down Expand Up @@ -99,16 +88,28 @@
background: tokens.$coral-color-accent-background-strong-active;
color: tokens.$coral-color-accent-text-weak-active;
}

&.disabled,
&[disabled],
&[aria-disabled='true'],
&[aria-busy='true'] {
background: tokens.$coral-color-accent-background-strong;
color: tokens.$coral-color-accent-text-weak;

&:hover {
background-color: tokens.$coral-color-accent-background-strong;
}
}
}

&-inverse {
background-color: transparent;
border: tokens.$coral-border-s-solid tokens.$coral-color-accent-border;
border-color: tokens.$coral-color-accent-border;
color: tokens.$coral-color-accent-text;

&:hover {
background: tokens.$coral-color-accent-background-weak-hover;
border: tokens.$coral-border-s-solid tokens.$coral-color-accent-border;
border-color: tokens.$coral-color-accent-border-hover;
color: tokens.$coral-color-accent-text-strong-hover;
}

Expand All @@ -117,12 +118,13 @@
color: tokens.$coral-color-accent-text-strong-active;
}

&:disabled,
&.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;
border-color: tokens.$coral-color-accent-border;
color: tokens.$coral-color-accent-text;

&:hover {
background-color: transparent;
Expand All @@ -132,12 +134,12 @@

&--secondary {
background-color: transparent;
border-color: tokens.$coral-color-accent-text;
border-color: tokens.$coral-color-accent-border;
color: tokens.$coral-color-accent-text;

&:hover {
background: tokens.$coral-color-accent-background-weak-hover;
border-color: tokens.$coral-color-accent-text;
border-color: tokens.$coral-color-accent-border-hover;
color: tokens.$coral-color-accent-text-strong-hover;
}

Expand All @@ -146,12 +148,13 @@
color: tokens.$coral-color-accent-text-strong-active;
}

&:disabled,
&.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;
border-color: tokens.$coral-color-accent-border;
color: tokens.$coral-color-accent-text;

&:hover {
background-color: transparent;
Expand All @@ -174,12 +177,12 @@
color: tokens.$coral-color-accent-text-strong-active;
}

&:disabled,
&.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;
color: tokens.$coral-color-accent-text;

&:hover {
background-color: transparent;
Expand All @@ -198,22 +201,27 @@
color: tokens.$coral-color-accent-text-strong-active;
}

&:disabled,
&.disabled,
&[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;
color: tokens.$coral-color-accent-text;

&:hover {
color: tokens.$coral-color-accent-text;
}
}
}

&.btn-danger,
&.btn--destructive {
background: tokens.$coral-color-danger-background-strong;
border: tokens.$coral-color-danger-background-strong;
border-color: tokens.$coral-color-danger-border;
color: tokens.$coral-color-danger-text-weak;

&:hover {
background: tokens.$coral-color-danger-background-strong-hover;
border-color: tokens.$coral-color-danger-border-hover;
color: tokens.$coral-color-danger-text-weak-hover;
}

Expand All @@ -222,10 +230,17 @@
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;
&[disabled],
.disabled,
&[aria-disabled='true'],
&[aria-busy='true'] {
background: tokens.$coral-color-danger-background-strong;
border-color: tokens.$coral-color-danger-border;
color: tokens.$coral-color-danger-text-weak;

&:hover {
background-color: tokens.$coral-color-danger-background-strong;
}
}
}

Expand Down

0 comments on commit 688b780

Please sign in to comment.