@raspberrypifoundation/design-system-react 2.2.0-beta.1 → 2.2.0-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,11 +4,22 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## 2.2.0 Beta
8
-
9
- - Fix vulnerabilities by updating dependencies
10
- - try to export in ways that also work with webpack
11
- - add some generated typescript typings
7
+ ## [Unreleased] 2.2.0
8
+
9
+ - Modify build output to ensure CRA based projects are able to import the components correctly
10
+ - Upgrade dependencies and improve storybook loading
11
+ - Remove react-router-dom Link from the Button component, instead optionally allow it to be passed in as a prop.
12
+ To use it:
13
+ ```jsx
14
+ import { Link } from "react-router-dom";
15
+ import { Button } from "@raspberrypifoundation/design-system-react";
16
+
17
+ <Button
18
+ href="/some-path"
19
+ linkComponent={Link}
20
+ // other props
21
+ />
22
+ ```
12
23
 
13
24
  ## 2.1.0 - 2025-02-26
14
25