Commit ae60a12
authored
Version Packages (#1553)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.
# Releases
## @obosbbl/[email protected]
### Patch Changes
- 751eeca: Accordion bug fixes:
- Removes a redundant role="group" that was added to the AccordionPanel
content
- Restore the accordion button text - accordion panel relation: the
accordion panel should be labelledby the text in the accordion button.
- 0954c2d: New `<ProgressBar>` component in beta, usage:
```tsx
import { UNSAFE_ProgressBar as ProgressBar } from
"@obosbbl/grunnmuren-react";
const MyProgressBar = () => (
<ProgressBar value={30} classsName="w-96" aria-label="Laster..." />
);
```
```tsx
import {
UNSAFE_ProgressBar as ProgressBar,
UNSAFE_ProgressBarValueText as ProgressBarValueText,
} from "@obosbbl/grunnmuren-react";
const MyProgressBar = () => (
<ProgressBar value={50} classsName="w-96">
<Label>Laster:</Label>
<ProgressBarValueText />
</ProgressBar>
);
```
Note that the `<ProgressBar>` does not have a natural width, so you
might have to give it an explicit `width` using the `className` prop. It
does however have a `max-width`, set to `100%`.
- b22c21e: # Bugfixes for the `<UNSAFE_Modal>` component:
- Fix bugs with controlled modals.
- Expose the `isDismissable` prop from RAC - this defaults to `true` but
can now be overridden to `false` if you wish to prevent a user from
dismissing a modal.
- Support overriding of the `z-index` of the modal overlay: a new
`zIndex` prop is added to <UNSAFE_Modal>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent b22c21e commit ae60a12
File tree
5 files changed
+39
-46
lines changed- .changeset
- packages/react
5 files changed
+39
-46
lines changedThis file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
3 | 41 | | |
4 | 42 | | |
5 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments