Skip to content

Commit

Permalink
chore(deps-dev): bump markdownlint-cli2 from 0.10.0 to 0.11.0 (#4076)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump markdownlint-cli2 from 0.10.0 to 0.11.0

Bumps [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) from 0.10.0 to 0.11.0.
- [Changelog](https://github.com/DavidAnson/markdownlint-cli2/blob/main/CHANGELOG.md)
- [Commits](DavidAnson/markdownlint-cli2@v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: markdownlint-cli2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore(deps-dev): bump markdownlint-cli2 from 0.10.0 to 0.11.0

Bumps [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) from 0.10.0 to 0.11.0.
- [Changelog](https://github.com/DavidAnson/markdownlint-cli2/blob/main/CHANGELOG.md)
- [Commits](DavidAnson/markdownlint-cli2@v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: markdownlint-cli2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore: fix markdownlint violations

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and joshblack committed Dec 19, 2023
1 parent bbe58b8 commit d2724df
Show file tree
Hide file tree
Showing 9 changed files with 107 additions and 117 deletions.
10 changes: 5 additions & 5 deletions README.md
@@ -1,5 +1,5 @@
<p align="center">
<img width="300px" src="https://user-images.githubusercontent.com/4608155/127241386-f11da52d-00d9-4366-b01c-6f4c1ebcf7f2.png">
<img alt="Primer logo" width="300px" src="https://user-images.githubusercontent.com/4608155/127241386-f11da52d-00d9-4366-b01c-6f4c1ebcf7f2.png">
</p>

<h1 align="center">Primer React</h1>
Expand All @@ -8,17 +8,17 @@

<p align="center">
<a aria-label="npm package" href="https://www.npmjs.com/package/@primer/react">
<img alt="" src="https://img.shields.io/npm/v/@primer/react.svg">
<img alt="npm package" src="https://img.shields.io/npm/v/@primer/react.svg">
</a>
<a aria-label="contributors graph" href="https://github.com/primer/react/graphs/contributors">
<img src="https://img.shields.io/github/contributors/primer/react.svg">
<img alt="contributors graph" src="https://img.shields.io/github/contributors/primer/react.svg">
</a>
<a aria-label="last commit" href="https://github.com/primer/react/commits/main">
<img alt="" src=
<img alt="last commit" src=
"https://img.shields.io/github/last-commit/primer/react.svg">
</a>
<a aria-label="license" href="https://github.com/primer/react/blob/main/LICENSE">
<img src="https://img.shields.io/github/license/primer/react.svg" alt="">
<img alt="license" src="https://img.shields.io/github/license/primer/react.svg" alt="">
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion contributor-docs/adrs/adr-015-npm-workspaces.md
Expand Up @@ -80,6 +80,6 @@ The current `@primer/react` package will move to the `packages/react` package. W
- Performance from installing node modules for entire workspace
- Find workarounds in cases where legacy-peer-deps is required as an option

### Looking forward
### Explorations

- Exploration into https://nx.dev/ for build tooling as npm workspaces does not support topological script ordering
2 changes: 1 addition & 1 deletion contributor-docs/behaviors.md
Expand Up @@ -53,7 +53,7 @@ Generic behaviors provide functionality that is not specific to any single compo

Component behaviors specifically implement behaviors for components. Therefore, hooks that implement component behaviors should always return an object containing props objects to be spread across the elements that make up the component's JSX. While component behaviors do not necessarily have to be one-to-one, **a component may only use one component behavior**. Sometimes it makes sense to use the same component behavior on several components. For example: the Dialog, Popover, and PointerBox components may all use the `usePopover` component behavior.

### Examples
### Component behavior examples

- `usePopover`
- `useComboBox`
Expand Down
2 changes: 0 additions & 2 deletions contributor-docs/testing.md
Expand Up @@ -120,8 +120,6 @@ Storybook tests are authored within the components's source directory with the f

## Visual Regression Tests

### Overview

We use Playwright to run visual regression tests against our components along with automated accessibility checks. These tests are authored within the `e2e` directory and match the file pattern:
`*-test.ts`.

Expand Down
4 changes: 2 additions & 2 deletions docs/content/anchoredPosition.mdx
Expand Up @@ -113,7 +113,7 @@ The `useAnchoredPosition` hook will return two refs for the anchor element and t

Like other hooks such as `useCallback` and `useEffect`, this hook takes a dependencies array. If defined, the position will only be recalculated when one of the dependencies in this array changes. Otherwise, the position will be calculated when the component is first mounted, but never again.

### Usage
### useAnchoredPosition usage

```jsx
export const AnchoredPositionExample = () => {
Expand All @@ -138,7 +138,7 @@ export const AnchoredPositionExample = () => {
}
```
### useAnchoredPosition hook
### useAnchoredPosition
| Name | Type | Default | Description |
| :----------- | :----------------------------- | :-------: | :------------------------------------------------------------------------------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion docs/content/focusTrap.mdx
Expand Up @@ -76,7 +76,7 @@ The `useFocusTrap` hook also has an additional setting, `restoreFocusOnCleanUp`.

If you would like to use your own refs, you can pass them into the hook as part of the settings object (see the interface below).

### Usage
### useFocusTrap usage

```jsx
export const FocusTrapExample = () => {
Expand Down
72 changes: 7 additions & 65 deletions docs/content/focusZone.mdx

Large diffs are not rendered by default.

128 changes: 89 additions & 39 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
Expand Up @@ -229,7 +229,7 @@
"lint-staged": "14.0.1",
"lodash.groupby": "4.6.0",
"lodash.keyby": "4.6.0",
"markdownlint-cli2": "^0.10.0",
"markdownlint-cli2": "^0.11.0",
"markdownlint-cli2-formatter-pretty": "0.0.3",
"mdast-util-from-markdown": "2.0.0",
"mdast-util-frontmatter": "2.0.1",
Expand Down

0 comments on commit d2724df

Please sign in to comment.