@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 +16 -5
- package/dist/design-system-react.js +1359 -0
- package/dist/design-system-react.umd.cjs +24 -0
- package/package.json +37 -35
- package/dist/rpf-design-system-react.cjs +0 -35
- package/dist/rpf-design-system-react.js +0 -2747
- package/dist/types/components/Accordion/index.d.ts +0 -16
- package/dist/types/components/Alert/index.d.ts +0 -24
- package/dist/types/components/Button/index.d.ts +0 -36
- package/dist/types/components/Form/CheckboxInput/index.d.ts +0 -26
- package/dist/types/components/Form/Fieldset/index.d.ts +0 -20
- package/dist/types/components/Form/InputField/index.d.ts +0 -20
- package/dist/types/components/Form/InputLabel/index.d.ts +0 -16
- package/dist/types/components/Form/RadioInput/index.d.ts +0 -24
- package/dist/types/components/Form/SearchInput/index.d.ts +0 -26
- package/dist/types/components/Form/SelectInput/index.d.ts +0 -30
- package/dist/types/components/Form/TextInput/index.d.ts +0 -26
- package/dist/types/components/Form/TextareaInput/index.d.ts +0 -28
- package/dist/types/components/ProgressBar/index.d.ts +0 -12
- package/dist/types/components/Table/BodyCell/index.d.ts +0 -10
- package/dist/types/components/Table/HeaderCell/index.d.ts +0 -12
- package/dist/types/components/Table/Table/index.d.ts +0 -14
- package/dist/types/components/Tag/index.d.ts +0 -18
- package/dist/types/index.d.ts +0 -17
- /package/dist/{rpf-design-system-react.css → design-system-react.css} +0 -0
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
|
|
8
|
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
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
|
|