@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 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>;
@@ -1,3 +1,4 @@
1
1
  import BannerCardInterface from "./BannerCardInterface.tsx";
2
+ import './banner-card.scss';
2
3
  declare const BannerCard: (props: BannerCardInterface) => import("react/jsx-runtime").JSX.Element;
3
4
  export default BannerCard;
@@ -1,3 +1,4 @@
1
1
  import PathwayCardProps from "./PathwayCardProps";
2
+ import './pathway-card.scss';
2
3
  declare const PathwayCard: (props: PathwayCardProps) => import("react/jsx-runtime").JSX.Element;
3
4
  export default PathwayCard;