feat: establish shared color state and area interaction foundation
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import assert from "node:assert/strict";
|
||||
import fs from "node:fs";
|
||||
import * as ui from "@heroui-vue/components";
|
||||
const css = fs.readFileSync(
|
||||
new URL(import.meta.resolve("@heroui-vue/styles/css")),
|
||||
"utf8",
|
||||
);
|
||||
assert.ok(css.includes(".hv-color-area"));
|
||||
assert.ok(css.includes(".hv-color-area__thumb"));
|
||||
assert.ok(css.includes("--color-area-thumb-color"));
|
||||
assert.ok(css.includes("data-dragging"));
|
||||
// The new implementation is deliberately private until public contracts and demos land.
|
||||
assert.equal("ColorArea" in ui, false);
|
||||
assert.equal("ColorPicker" in ui, false);
|
||||
assert.equal("parseColor" in ui, false);
|
||||
console.log(
|
||||
"Color foundation tarball: staged CSS present, no public placeholder exports.",
|
||||
);
|
||||
Reference in New Issue
Block a user