@matthiaskrijgsman/mat-ui 0.0.10 → 0.0.12

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
@@ -0,0 +1,30 @@
1
+ # mat-ui
2
+
3
+ A React component library providing UI primitives built with React 19, Tailwind CSS v4, and Floating UI.
4
+
5
+ ## Storybook
6
+ [View the components here](https://matthiaskrijgsman.github.io/mat-ui/?path=/docs/index--docs)
7
+
8
+ ## Installation
9
+
10
+ ```bash
11
+ pnpm install @matthiaskrijgsman/mat-ui
12
+ ```
13
+
14
+ ### Styles
15
+
16
+ Import the mat-ui stylesheet in your CSS entry file:
17
+
18
+ ```css
19
+ @import "@matthiaskrijgsman/mat-ui/style";
20
+ ```
21
+
22
+ ## Usage
23
+
24
+ ```tsx
25
+ import { Button } from "@matthiaskrijgsman/mat-ui";
26
+
27
+ function App() {
28
+ return <Button variant={'primary'}>Click me</Button>;
29
+ }
30
+ ```
@@ -0,0 +1,12 @@
1
+ import * as React from "react";
2
+ export type SidebarModalProps = {
3
+ open: boolean;
4
+ className?: string;
5
+ onDismiss?: () => void;
6
+ enableDismissOnOutsideClick?: boolean;
7
+ enableDismissOnEscKey?: boolean;
8
+ enableDismissButton?: boolean;
9
+ children?: React.ReactNode;
10
+ maxWidth?: number;
11
+ };
12
+ export declare const SidebarModal: (props: SidebarModalProps) => import("react/jsx-runtime").JSX.Element;
package/dist/index.d.ts CHANGED
@@ -23,6 +23,7 @@ export { Panel } from "./components/Panel.tsx";
23
23
  export { Divider } from "./components/Divider.tsx";
24
24
  export { Tooltip } from "./components/Tooltip.tsx";
25
25
  export { Modal } from "./components/Modal.tsx";
26
+ export { SidebarModal } from "./components/SidebarModal.tsx";
26
27
  export { Badge } from "./components/Badge.tsx";
27
28
  export { BadgeColor } from "./components/BadgeColors.tsx";
28
29
  export { TabButtons } from "./components/TabButtons.tsx";