@hellobetterdigitalnz/betterui 0.0.3-95 → 0.0.3-97
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/README.md +23 -23
- package/dist/Components/BetterUIProvider/BetterUIContext.d.ts +1 -0
- package/dist/Components/DataDisplay/Cards/BannerCard/BannerCard.d.ts +1 -0
- package/dist/Components/DataDisplay/Cards/PathwayCard/PathwayCard.d.ts +1 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +263 -259
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +72 -74
package/README.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
# BetterUI
|
|
2
|
-
|
|
3
|
-
A reusable Rect component library by [Hello Better](https://hellobetterdigital.com).
|
|
4
|
-
|
|
5
|
-
We at Hello Better builds many web applications using React + Typescript and headless APIs. We make use of Figma design systems and have our own component library that we have shared here.
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
|
|
9
|
-
To install simply use
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
npm install @hellobetterdigitalnz/betteru
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
or if you are using yarn
|
|
16
|
-
|
|
17
|
-
```
|
|
18
|
-
yarn add @hellobetterdigitalnz/betteru
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Using components
|
|
22
|
-
|
|
23
|
-
Components are used from the libraries root entry.
|
|
1
|
+
# BetterUI
|
|
2
|
+
|
|
3
|
+
A reusable Rect component library by [Hello Better](https://hellobetterdigital.com).
|
|
4
|
+
|
|
5
|
+
We at Hello Better builds many web applications using React + Typescript and headless APIs. We make use of Figma design systems and have our own component library that we have shared here.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
To install simply use
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
npm install @hellobetterdigitalnz/betteru
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
or if you are using yarn
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
yarn add @hellobetterdigitalnz/betteru
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Using components
|
|
22
|
+
|
|
23
|
+
Components are used from the libraries root entry.
|
|
@@ -4,6 +4,7 @@ interface BetterUIContextType {
|
|
|
4
4
|
modalStack: ReactNode[];
|
|
5
5
|
openModal: (modal: React.ReactNode) => void;
|
|
6
6
|
closeModal: () => void;
|
|
7
|
+
closeAllModals: () => void;
|
|
7
8
|
setCurtain: (value: boolean) => void;
|
|
8
9
|
}
|
|
9
10
|
declare const BetterUIContext: import("react").Context<BetterUIContextType>;
|