Skip to content

Commit

Permalink
Merge pull request #27 from BouyguesTelecom/add/tabIndex
Browse files Browse the repository at this point in the history
💅 Fix some subtility
  • Loading branch information
JulienMora authored Apr 26, 2024
2 parents af4a17e + 1f77213 commit 3474767
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 11 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion packages/assets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trilogy-ds/assets",
"version": "0.0.1-beta.10",
"version": "0.0.1-beta.11",
"description": "Trilogy assets include all Open Source Fonts & Icons",
"author": "Bouygues Telecom",
"type": "module",
Expand Down
1 change: 1 addition & 0 deletions packages/react/components/accordion/item/AccordionItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ const AccordionItem = ({

return (
<article
tabIndex={0}
aria-disabled={disabled}
data-testid={id}
className={classes}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trilogy-ds/react",
"version": "0.0.1-beta.10",
"version": "0.0.1-beta.11",
"type": "module",
"author": "Bouygues Telecom",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/react/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "0.0.1-beta.10"
export const version = "0.0.1-beta.11"
5 changes: 5 additions & 0 deletions packages/styles/framework/src/components/_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
padding-top: 0 !important;
}

&:focus-visible {
outline: 2px solid getColor('main');
outline-offset: 2px;
}

&.is-active > .accordion-header:first-child, [data-accordion-toggle]:checked ~ .accordion-header {
font-weight: bold;

Expand Down
2 changes: 1 addition & 1 deletion packages/styles/framework/src/elements/_progress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $progressbar-small: 5px;
-moz-appearance: none;
-webkit-appearance: none;

background-color: getBGColor('font');
background-color: getBGColor('hovered');

&::-webkit-progress-bar {
background-color: getBGColor('font');
Expand Down
2 changes: 1 addition & 1 deletion packages/styles/framework/src/elements/_tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ $tag-delete-margin: 1px !default;

.tag {
align-items: center;
background-color: getBGColor('font');
background-color: getBGColor('neutral-dark');
border-radius: $tag-radius;
color: getColor('font');
display: inline-flex;
Expand Down
1 change: 1 addition & 0 deletions packages/styles/framework/src/utilities/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@
border: 1px solid getBGColor('font');
border-radius: 8px;
box-sizing: border-box;
background-color: getColor('background');

&:before {
top: 16px;
Expand Down
2 changes: 1 addition & 1 deletion packages/styles/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trilogy-ds/styles",
"version": "0.0.1-beta.10",
"version": "0.0.1-beta.11",
"author": "Bouygues Telecom",
"license": "UNLICENSED",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/vanilla/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trilogy-ds/vanilla",
"version": "0.0.1-beta.10",
"version": "0.0.1-beta.11",
"author": "Bouygues Telecom",
"main": "lib/trilogy-ds-vanilla.js",
"scripts": {
Expand Down

0 comments on commit 3474767

Please sign in to comment.