@matthiaskrijgsman/mat-ui 0.0.26 → 0.0.27
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 +22 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +2 -2
- package/dist/index.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -16
package/README.md
CHANGED
|
@@ -2,8 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
A React component library providing UI primitives built with React 19, Tailwind CSS v4, and Floating UI.
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
[View the components here](https://matthiaskrijgsman.github.io/mat-ui
|
|
5
|
+
## Showcase
|
|
6
|
+
[View the components here](https://matthiaskrijgsman.github.io/mat-ui/)
|
|
7
|
+
|
|
8
|
+
## Development
|
|
9
|
+
|
|
10
|
+
The repo is a pnpm workspace with two packages: the library at the repository root and the showcase Next.js app in [`site/`](site).
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
# install workspace deps
|
|
14
|
+
pnpm install
|
|
15
|
+
|
|
16
|
+
# run the showcase against the local library
|
|
17
|
+
pnpm site # → http://localhost:6006
|
|
18
|
+
|
|
19
|
+
# build the library
|
|
20
|
+
pnpm build
|
|
21
|
+
|
|
22
|
+
# build the showcase as a static site (outputs to site/out)
|
|
23
|
+
pnpm site:build
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
The showcase pulls in the library via the workspace alias (`workspace:*`), so edits under `src/` are reflected on the next dev rebuild. Deployments to GitHub Pages happen via [.github/workflows/deploy-site.yml](.github/workflows/deploy-site.yml).
|
|
7
27
|
|
|
8
28
|
## Installation
|
|
9
29
|
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import * as E from "react";
|
|
2
3
|
import qa, { createContext as rt, useRef as ye, useLayoutEffect as Pr, useEffect as be, useId as Rr, useContext as me, useInsertionEffect as Ha, useMemo as Ee, useCallback as we, Children as Ru, isValidElement as Au, useState as ue, Fragment as Ar, createElement as Vn, forwardRef as Dr, Component as Du, version as Ou, useReducer as Mu, useImperativeHandle as Iu } from "react";
|
|
3
4
|
import * as Ka from "react-dom";
|
|
@@ -12036,7 +12037,7 @@ const Ny = (e) => {
|
|
|
12036
12037
|
"div",
|
|
12037
12038
|
{
|
|
12038
12039
|
ref: x,
|
|
12039
|
-
className: "overflow-hidden shrink-0",
|
|
12040
|
+
className: "overflow-hidden shrink-0 table-header-strip",
|
|
12040
12041
|
style: { height: u },
|
|
12041
12042
|
children: /* @__PURE__ */ p.jsx(
|
|
12042
12043
|
"div",
|