Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,19 @@ on:
branches:
- next
- release-*

permissions:
contents: read # for checkout

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for trusted publishing and npm provenance
steps:
- name: Checkout
uses: actions/checkout@v5
Expand All @@ -35,5 +44,4 @@ jobs:
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.OPENEDX_SEMANTIC_RELEASE_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.OPENEDX_SEMANTIC_RELEASE_NPM_TOKEN }}
run: npx semantic-release@22
run: npx semantic-release@25
6 changes: 3 additions & 3 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 src/IconButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { OverlayTrigger } from '../Overlay';
import Tooltip from '../Tooltip';
import Icon from '../Icon';

interface Props extends React.HTMLAttributes<HTMLButtonElement> {
interface Props extends React.ButtonHTMLAttributes<HTMLButtonElement> {
/** Component that renders the icon, currently defaults to `Icon` */
iconAs?: React.ComponentType<any>,
/** Additional CSS class[es] to apply to this button */
Expand Down
2 changes: 1 addition & 1 deletion src/IconButtonToggle/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
/**
*
* @param {object} args arguments
* @param {boolean} args.activeValue the current value of the active/selected iconButton.
* @param {string} args.activeValue the current value of the active/selected iconButton.
* if not provided, none of the iconButtons will initially be active
* @param {Function} args.onChange callback to call when toggle value changes.
* Receives value of the selected toggle button.
Expand Down
Loading