Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![React Glaze - Liquid glass for React](apps/demo/public/brand/readme-banner.png)](https://react-glaze.vercel.app/)
[![React Glaze - Liquid glass for React](apps/demo/public/brand/readme-banner.png)](https://react-glaze.app/)

[Website](https://react-glaze.vercel.app/) · [Playground](https://react-glaze.vercel.app/playground) · [Showcase](https://react-glaze.vercel.app/showcase) · [npm](https://www.npmjs.com/package/react-glaze)
[Website](https://react-glaze.app/) · [Playground](https://react-glaze.app/playground) · [Showcase](https://react-glaze.app/showcase) · [npm](https://www.npmjs.com/package/react-glaze)

A configurable React 19 component that refracts the page behind your content. Use a native button, link or ordinary wrapper, keep your own CSS, and adjust the material, shape and optional pointer-driven rim light.

Expand Down
2 changes: 1 addition & 1 deletion apps/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"next": "16.3.4",
"react": "19.2.8",
"react-dom": "19.2.8",
"react-glaze": "0.1.1"
"react-glaze": "0.1.2"
},
"devDependencies": {
"@types/node": "^20",
Expand Down
2 changes: 1 addition & 1 deletion apps/demo/src/lib/seo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Metadata, ResolvedMetadata } from "next";

export const SITE_URL = "https://react-glaze.vercel.app";
export const SITE_URL = "https://react-glaze.app";
export const SITE_NAME = "React Glaze";
export const REPOSITORY_URL = "https://github.com/Stianlars1/react-glaze";
export const PACKAGE_URL = "https://www.npmjs.com/package/react-glaze";
Expand Down
6 changes: 3 additions & 3 deletions apps/demo/tests/analytics.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ test("pageviews and custom events exclude playground configuration and URL fragm
for (const type of ["pageview", "event"]) {
const event = {
type,
url: "https://react-glaze.vercel.app/playground?config=%7B%22background%22%3A%22private%22%7D&utm_source=github&config=second#preview",
url: "https://react-glaze.app/playground?config=%7B%22background%22%3A%22private%22%7D&utm_source=github&config=second#preview",
};
assert.deepEqual(redactAnalyticsUrl(event), {
type,
url: "https://react-glaze.vercel.app/playground?utm_source=github",
url: "https://react-glaze.app/playground?utm_source=github",
});
assert.match(event.url, /private/);
}
});

test("ordinary route URLs are preserved", () => {
for (const path of ["/", "/playground", "/showcase"]) {
const event = { type: "pageview", url: `https://react-glaze.vercel.app${path}` };
const event = { type: "pageview", url: `https://react-glaze.app${path}` };
assert.deepEqual(redactAnalyticsUrl(event), event);
}
});
12 changes: 6 additions & 6 deletions apps/demo/tests/seo.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ test("route canonicals and the sitemap agree on the three query-free production
const routes = ["/", "/playground", "/showcase"];
const urls = routes.map((route) => pageMetadata(route).alternates.canonical);
assert.deepEqual(urls, [
"https://react-glaze.vercel.app",
"https://react-glaze.vercel.app/playground",
"https://react-glaze.vercel.app/showcase",
"https://react-glaze.app",
"https://react-glaze.app/playground",
"https://react-glaze.app/showcase",
]);
assert.deepEqual(sitemap().map(({ url }) => url), urls);
for (const route of routes) {
Expand All @@ -30,10 +30,10 @@ test("child metadata preserves native file image URLs, dimensions and alt text f
assert.equal(Object.hasOwn(pageMetadata("/").twitter, "images"), false);
const parent = {
openGraph: {
images: [{ url: "https://react-glaze.vercel.app/opengraph-image.png?build-hash", width: 1200, height: 630, alt: "React Glaze" }],
images: [{ url: "https://react-glaze.app/opengraph-image.png?build-hash", width: 1200, height: 630, alt: "React Glaze" }],
},
twitter: {
images: [{ url: "https://react-glaze.vercel.app/twitter-image.png?build-hash", alt: "React Glaze" }],
images: [{ url: "https://react-glaze.app/twitter-image.png?build-hash", alt: "React Glaze" }],
},
};
for (const route of ["/playground", "/showcase"]) {
Expand All @@ -55,6 +55,6 @@ test("project structured data identifies its public source and icon without inve
assert.equal(graph.find((node) => node["@type"] === "WebSite").alternateName, "react-glaze");
const source = graph.find((node) => node["@type"] === "SoftwareSourceCode");
assert.equal(source.codeRepository, "https://github.com/Stianlars1/react-glaze");
assert.equal(source.image, "https://react-glaze.vercel.app/brand/icon-512.png");
assert.equal(source.image, "https://react-glaze.app/brand/icon-512.png");
assert.doesNotMatch(JSON.stringify(siteStructuredData), /"(?:aggregateRating|review|ratingValue|reviewCount|offers)"/);
});
2 changes: 1 addition & 1 deletion docs/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The library is the `packages/react` workspace. The root and demo app stay private. Releases use ordinary numeric versions, such as `0.1.0` and `0.2.0`, and the npm `latest` dist-tag. Users install with `npm install react-glaze`.

1. Update the package version and refresh the root lockfile when needed. Keep the demo pinned to an existing published version until the new release is available. Review the public README and compatibility limits. Check the packed metadata: `homepage` must point to `https://react-glaze.vercel.app/`, while `repository` and `bugs` point to GitHub. After publication, verify both the README banner and the Homepage link on npm.
1. Update the package version and refresh the root lockfile when needed. Keep the demo pinned to an existing published version until the new release is available. Review the public README and compatibility limits. Check the packed metadata: `homepage` must point to `https://react-glaze.app/`, while `repository` and `bugs` point to GitHub. After publication, verify both the README banner and the Homepage link on npm.
2. Run `pnpm install --frozen-lockfile` and `pnpm check` from a clean checkout.
3. Run `pnpm pack:local`. Inspect its archive manifest and install that exact tarball in an independent React application. Check public import, SSR and the relevant browser behavior.
4. Commit the reviewed source and wait for CI. Authenticate with npm locally; never commit a token.
Expand Down
4 changes: 2 additions & 2 deletions packages/react/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![React Glaze - Liquid glass for React](https://react-glaze.vercel.app/brand/readme-banner.png)](https://react-glaze.vercel.app/)
[![React Glaze - Liquid glass for React](https://react-glaze.app/brand/readme-banner.png)](https://react-glaze.app/)

[Website](https://react-glaze.vercel.app/) · [Playground](https://react-glaze.vercel.app/playground) · [Showcase](https://react-glaze.vercel.app/showcase) · [npm](https://www.npmjs.com/package/react-glaze)
[Website](https://react-glaze.app/) · [Playground](https://react-glaze.app/playground) · [Showcase](https://react-glaze.app/showcase) · [npm](https://www.npmjs.com/package/react-glaze)

One configurable component for React 19 / Next.js, licensed under [MIT](LICENSE). This is an experimental library. The rounded surface is new; the optical lens, physical material values and studio lighting derive from the pinned Drawn To reference. See [third-party notices](THIRD-PARTY-NOTICES.md).

Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-glaze",
"version": "0.1.1",
"version": "0.1.2",
"type": "module",
"license": "MIT",
"description": "Liquid glass for React. A configurable wrapper with automatic background refraction and optional pointer-driven rim lighting.",
Expand Down Expand Up @@ -34,7 +34,7 @@
"url": "git+https://github.com/Stianlars1/react-glaze.git",
"directory": "packages/react"
},
"homepage": "https://react-glaze.vercel.app/",
"homepage": "https://react-glaze.app/",
"bugs": {
"url": "https://github.com/Stianlars1/react-glaze/issues"
},
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading