Skip to content

Commit ae60a12

Browse files
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 &lt;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

5 files changed

+39
-46
lines changed

.changeset/funny-months-lick.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/petite-buttons-knock.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

.changeset/polite-moments-love.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/react/CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# @obosbbl/grunnmuren-react
22

3+
## 3.3.1
4+
5+
### Patch Changes
6+
7+
- 751eeca: Accordion bug fixes:
8+
- Removes a redundant role="group" that was added to the AccordionPanel content
9+
- Restore the accordion button text - accordion panel relation: the accordion panel should be labelledby the text in the accordion button.
10+
- 0954c2d: New `<ProgressBar>` component in beta, usage:
11+
12+
```tsx
13+
import { UNSAFE_ProgressBar as ProgressBar } from "@obosbbl/grunnmuren-react";
14+
15+
const MyProgressBar = () => (
16+
<ProgressBar value={30} classsName="w-96" aria-label="Laster..." />
17+
);
18+
```
19+
20+
```tsx
21+
import {
22+
UNSAFE_ProgressBar as ProgressBar,
23+
UNSAFE_ProgressBarValueText as ProgressBarValueText,
24+
} from "@obosbbl/grunnmuren-react";
25+
26+
const MyProgressBar = () => (
27+
<ProgressBar value={50} classsName="w-96">
28+
<Label>Laster:</Label>
29+
<ProgressBarValueText />
30+
</ProgressBar>
31+
);
32+
```
33+
34+
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%`.
35+
36+
- b22c21e: # Bugfixes for the `<UNSAFE_Modal>` component:
37+
- Fix bugs with controlled modals.
38+
- 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.
39+
- Support overriding of the `z-index` of the modal overlay: a new `zIndex` prop is added to <UNSAFE_Modal>
40+
341
## 3.3.0
442

543
### Minor Changes

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@obosbbl/grunnmuren-react",
3-
"version": "3.3.0",
3+
"version": "3.3.1",
44
"description": "Grunnmuren components in React",
55
"repository": {
66
"url": "https://github.com/code-obos/grunnmuren"

0 commit comments

Comments
 (0)