mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 20:27:15 +01:00
Some checks failed
dependency freshness / dependencies on newest stable (push) Waiting to run
file length / file-length (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
palette drift / palette (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
web_ui tests / test (push) Has been cancelled
RangeSlider.astro + <range-slider> replace the React component. Pure helpers, tokens.css and range-slider.css are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWYdwRAtMg7ki6TKxuU
13 lines
644 B
TypeScript
13 lines
644 B
TypeScript
/**
|
|
* The shared web token + component layer.
|
|
*
|
|
* Only the pure helpers live here, so this entry point is safe to import in
|
|
* Astro frontmatter (no DOM at module load). The component is imported by path:
|
|
* `import RangeSlider from "@kuhyx/web-ui/RangeSlider.astro";` in frontmatter,
|
|
* `import "@kuhyx/web-ui/range-slider";` in a client script, and the CSS as
|
|
* `import "@kuhyx/web-ui/tokens.css";`.
|
|
*/
|
|
export { clamp01, fractionFromPointer, nth, quantileValue, valueQuantile } from "./quantile.ts";
|
|
export { keyTarget, steppedValue } from "./stepped-value.ts";
|
|
export { fuzzyMatch } from "./text.ts";
|
|
//# sourceMappingURL=index.d.ts.map
|