Skip to content

Commit

Permalink
Merge pull request #2902 from openedx/master
Browse files Browse the repository at this point in the history
sync: master to alpha
  • Loading branch information
edx-requirements-bot authored and PKulkoRaccoonGang committed Aug 1, 2024
2 parents cca8fe1 + b28ecea commit 76564af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,3 @@ jobs:
run: npm run build-docs
- name: Coverage
uses: codecov/codecov-action@v3
- name: Extract branch name
shell: bash
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
id: extract_branch
- name: Preview semantic-release version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
run: npx semantic-release --dry-run --branches=${{ steps.extract_branch.outputs.branch}}
6 changes: 4 additions & 2 deletions src/ActionRow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ A layout utility for the common use case of aligning buttons, links or text
in a row in a control bar or nav.

ActionRow assumes that its last child is the primary action and lays out actions so that the last item is in a primary location. If horizontal, the primary action sits on the right. If stacked, the primary action sits at the top of the stack (this is done via `flex-direction: column-reverse;`).

## Basic Usage

```jsx live
Expand All @@ -36,7 +37,9 @@ ActionRow can also be used with a helper component ``ActionRow.Spacer`` to inser

```jsx live
<ActionRow>
<Form.Checkbox className="flex-column flex-sm-row">Don't ask me again.</Form.Checkbox>
<Form.Checkbox className="flex-column flex-sm-row">
Don't ask me again.
</Form.Checkbox>
<ActionRow.Spacer />
<Button variant="tertiary">
Cancel
Expand All @@ -49,7 +52,6 @@ ActionRow can also be used with a helper component ``ActionRow.Spacer`` to inser
## Stacked Usage
```jsx live
<ActionRow isStacked>
<p className="x-small">
Expand Down

0 comments on commit 76564af

Please sign in to comment.