Changelog

Changelog

The packages are released independently: @hulianui/ui provides components and @hulianui/tokens provides design-token CSS. Changes follow semantic versioning and are generated from changesets. Only published releases are listed. Work merged to the default branch but not yet released does not appear.

Current version

v0.79.0
npmGitHub Releases
  1. v0.79.0

    @hulianui/uiFeaturesFixes

    feat(paper): the figure player gains the playback capabilities, and both the controls and the presenter interface can be folded away.

    • ProcessFigure: new autoPlay starts playback once the figure scrolls into view, pauses off-screen and resumes on return. A reader who pressed pause, or who changed the state from a FigRef or a locate-stage button, takes over and autoplay stops for good; it never starts under prefers-reduced-motion: reduce. New loop starts over after the last step (stopping at the end is still the default). New speeds / defaultSpeed add speed steps, shown as a 1× button in the controls that cycles through them, with interval still the base speed. The step controls therefore gain a loop toggle and a speed button.
    • PaperFigure: new hideCaption / hideDescription drop the caption or just its second line (figure numbers keep advancing, so later figures are not renumbered); new collapsibleControls / defaultControlsCollapsed fold the control row away entirely — no leftover strip under the figure, just a "Show controls" button in the figure corner revealed on hover or keyboard focus (always visible on touch). The player stays mounted, so autoplay keeps running while the controls are hidden.
    • PaperPresenter: new hideChrome leaves only the slide on screen. "Hide interface" in the top bar folds away the title, counter, exit and pager; "Show interface" in the top-right corner brings them back at any time.
    c73f49f

    fix(code-block): the header bar gets its own background so it reads apart from the code.

    With lang, the header (language name on the left, copy and other actions on the right) used to share the code area's background (--hl-cb-bg), so on short blocks there was no telling which strip was chrome and which was content — the whole block was one shade of gray. The header now uses --hl-cb-head-bg: one step darker than the code area in light, one step lighter in dark (each theme sinks in its own direction), so the bar is obvious in both. The code area keeps its existing fill. When the block sits on a locally recolored surface, such as a dark hero, --hl-cb-bg and --hl-cb-head-bg can be overridden independently instead of only half the block changing.

    c73f49f
  2. v0.19.0

    @hulianui/tokensFeatures

    feat(tokens): adds the accent scope [data-accent-scope]. Inside the subtree only the accent hue changes (--hl-accent-hue, the OKLCH h; the brand color is 258) while lightness and chroma stay on the brand ladder. primary, primary-hover, primary-subtle, primary-border, ring, signal-brand, code-keyword, and the chart palette chart-1..6 all follow, in light mode, dark mode, and theme islands nested inside the scope. --hl-accent-hue is registered with @property as a <number>, so it can transition. Usually paired with <AccentScope hue> from @hulianui/ui.

    659f0c0
  3. v0.18.0

    @hulianui/tokensFeatures

    feat(tokens): adds a theme-aware shadow-xs (a short drop and hairline in light mode, a white inset rim in dark mode). Previously shadow-xs fell back to Tailwind's default flat black at 0.05, which is invisible in dark mode. preset-opinionated also turns off ligatures and contextual alternates for monospace text (--font-mono--font-feature-settings: "liga" 0, "calt" 0), covering font-mono and code / kbd / samp / pre. Programming fonts such as Geist Mono fold -- and >= into one glyph that overhangs to the left, eating the left padding of inline code and overlapping the previous letter. Projects that want ligatures can set it back to normal in their own @theme.

    1fa6ab0
  4. v0.17.0

    @hulianui/tokensFeatures

    feat(tokens): adds the serif font variable --hl-font-serif, mapped to --font-serif in the opinionated layer so the font-serif utility now follows it. The default matches Tailwind's serif stack exactly, so projects that do not set it render the same; Chinese text reaches the system Song face through the trailing serif generic family. The Paper body font stack becomes var(--paper-font, "STIX Two Text", "Times New Roman", var(--hl-font-serif, serif)): Latin text still uses STIX Two Text or Times New Roman first, while Chinese and fallbacks come from --hl-font-serif, so setting it also changes the Chinese serif in papers. --paper-font still replaces the whole stack.

    224952c
  5. v0.16.0

    @hulianui/tokensFeatures

    feat(paper): adds Paper, figures for papers that move with the text (first slice). Paper holds the display mode (read / print) and a figure registry, and labels sets the paper language for caption prefixes and automatic references independently of the UI language; it switches to print mode before the browser prints and back afterwards. Figure numbers come from a CSS counter, so they exist in server rendering and in print. PaperFigure takes any state value plus named presets, and its children maps state to picture. In print mode the main figure draws printState, printSubfigures expand into (a)(b)… sub-figures, and controls are not rendered. ProcessFigure explains a figure step by step; FigureStep marks which step each part belongs to. The current step is opaque, earlier steps are half transparent, and later steps are faint but not hidden. It comes with previous / next, per-step buttons, "All", and autoplay. FigRef is an in-text reference: a click switches the figure to its preset, scrolls it into view, and outlines it; without JS it is a plain anchor. Tokens add the hulian-paper-flow keyframes for flowing dashes on the current step.

    c03b065

There are 125 earlier releases. Switch to All releases to view them.