Skip to content

Commit

Permalink
[#805] Update stylelint & stylelint config (#807)
Browse files Browse the repository at this point in the history
Fix: Updates stylelint-config-bitcrowd & stylelint

#805
  • Loading branch information
planktonic authored Jan 16, 2024
1 parent ac62105 commit 8a21d34
Show file tree
Hide file tree
Showing 6 changed files with 334 additions and 308 deletions.
3 changes: 2 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
{
"ignore": "local"
}
]
],
"at-rule-empty-line-before": null
}
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@
"storybook-addon-pseudo-states": "^1.15.5",
"storybook-zeplin": "^1.7.3",
"style-loader": "^3.3.1",
"stylelint": "^15.10.1",
"stylelint-config-bitcrowd": "^5.1.0",
"stylelint": "^16.1.0",
"stylelint-config-bitcrowd": "^6.0.0",
"typescript": "^4.7.4",
"webpack": "^5.74.0"
},
Expand All @@ -107,5 +107,6 @@
"engines": {
"node": "^18.16.0",
"npm": "^9.5.1"
}
},
"dependencies": {}
}
3 changes: 1 addition & 2 deletions scss/bitstyles/atoms/dropdown/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
max-width: 90vw;
max-height: 90vh;
margin: settings.$border-radius 0;
overflow-x: hidden;
overflow-y: auto;
overflow-x: hidden auto;
overscroll-behavior: contain;
border: settings.$border;
border-radius: settings.$border-radius;
Expand Down
5 changes: 1 addition & 4 deletions test/scss/fixtures/bitstyles-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -1866,8 +1866,7 @@ table {
max-height: 90vh;
max-width: 90vw;
min-width: 17.5rem;
overflow-x: hidden;
overflow-y: auto;
overflow-x: hidden auto;
overscroll-behavior: contain;
position: absolute;
top: 100%;
Expand Down Expand Up @@ -2090,7 +2089,6 @@ table {
z-index: var(--bscpn-z-index-overlay);
}
.bs-or-modal__overlay {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
background: rgba(var(--bscpn-color-grayscale-white-rgb), 95%);
cursor: pointer;
Expand All @@ -2108,7 +2106,6 @@ table {
}
.bs-or-modal__content {
-webkit-overflow-scrolling: touch;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
background-color: var(--bscpn-color-grayscale-white);
height: auto;
Expand Down
5 changes: 1 addition & 4 deletions test/scss/fixtures/bitstyles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2278,8 +2278,7 @@ table {
max-height: 90vh;
max-width: 90vw;
min-width: 17.5rem;
overflow-x: hidden;
overflow-y: auto;
overflow-x: hidden auto;
overscroll-behavior: contain;
position: absolute;
top: 100%;
Expand Down Expand Up @@ -2517,7 +2516,6 @@ table {
z-index: var(--bs-z-index-overlay);
}
.o-modal__overlay {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
background: rgba(var(--bs-color-grayscale-white-rgb), 95%);
cursor: pointer;
Expand All @@ -2535,7 +2533,6 @@ table {
}
.o-modal__content {
-webkit-overflow-scrolling: touch;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
background-color: var(--bs-color-grayscale-white);
height: auto;
Expand Down
Loading

0 comments on commit 8a21d34

Please sign in to comment.