Skip to content

Commit

Permalink
Bump stylelint from 15.10.3 to 15.11.0 (#605)
Browse files Browse the repository at this point in the history
* Bump stylelint from 15.10.3 to 15.11.0

Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.10.3 to 15.11.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint@15.10.3...15.11.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix linter issues.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Görtz <mail@marcgoertz.de>
  • Loading branch information
dependabot[bot] and mrcgrtz committed Dec 8, 2023
1 parent 8d0f575 commit 7eee31e
Show file tree
Hide file tree
Showing 7 changed files with 329 additions and 79 deletions.
131 changes: 89 additions & 42 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"react-dom": "^18.2.0",
"storybook": "^7.6.2",
"styled-components": "^6.1.0",
"stylelint": "^15.10.3",
"stylelint": "^15.11.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylis": "^4.3.0",
Expand Down
3 changes: 1 addition & 2 deletions src/chat/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ const Time = styled.time<{$isMe: boolean}>`
display: none;
position: absolute;
inset-block-start: 100%;
inset-inline-start: ${(p) => (p.$isMe ? '' : '0.666667em')};
inset-inline-end: ${(p) => (p.$isMe ? '0.666667em' : '')};
inset-inline: ${(p) => (p.$isMe ? 'auto 0.666667em' : '0.666667em auto')};
margin-block-start: 0.25em;
text-align: ${(p) => (p.$isMe ? 'end' : 'start')};
font-size: 0.75rem;
Expand Down
4 changes: 2 additions & 2 deletions src/chat/tests/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ exports[`<Chat /> renders a full-featured chat 1`] = `
display: none;
position: absolute;
inset-block-start: 100%;
inset-inline-start: 0.666667em;
inset-inline: 0.666667em auto;
margin-block-start: 0.25em;
text-align: start;
font-size: 0.75rem;
Expand All @@ -156,7 +156,7 @@ exports[`<Chat /> renders a full-featured chat 1`] = `
display: none;
position: absolute;
inset-block-start: 100%;
inset-inline-end: 0.666667em;
inset-inline: auto 0.666667em;
margin-block-start: 0.25em;
text-align: end;
font-size: 0.75rem;
Expand Down
22 changes: 14 additions & 8 deletions src/hamburger-button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,13 @@ type Props = {

const Input = styled.input<{$position: Position}>`
position: absolute;
inset-block-start: ${(p) => p.$position.blockStart ?? ''};
inset-block-end: ${(p) => p.$position.blockEnd ?? ''};
inset-inline-start: ${(p) => p.$position.inlineStart ?? ''};
inset-inline-end: ${(p) => p.$position.inlineEnd ?? ''};
inset: ${(p) =>
[
p.$position.blockStart ?? 'auto',
p.$position.inlineEnd ?? 'auto',
p.$position.blockEnd ?? 'auto',
p.$position.inlineStart ?? 'auto',
].join(' ')};
inline-size: 1px;
block-size: 1px;
clip: rect(1px, 1px, 1px, 1px);
Expand All @@ -39,10 +42,13 @@ const Input = styled.input<{$position: Position}>`

const Hamburger = styled.label<{$position: Position}>`
position: absolute;
inset-block-start: ${(p) => p.$position.blockStart ?? ''};
inset-block-end: ${(p) => p.$position.blockEnd ?? ''};
inset-inline-start: ${(p) => p.$position.inlineStart ?? ''};
inset-inline-end: ${(p) => p.$position.inlineEnd ?? ''};
inset: ${(p) =>
[
p.$position.blockStart ?? 'auto',
p.$position.inlineEnd ?? 'auto',
p.$position.blockEnd ?? 'auto',
p.$position.inlineStart ?? 'auto',
].join(' ')};
z-index: 1;
inline-size: 2em;
block-size: 1.5em;
Expand Down
Loading

0 comments on commit 7eee31e

Please sign in to comment.