Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@adea-ai/ui

Latest version: v0.162.10

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: andrewmf
1 Stars
0 Forks
380 Versions
40.0K Downloads
TypeScript Repo language

Scan summary

@adea-ai/ui was last scanned on 26 Nov 2026 at version 0.162.10. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 380 versions; the latest 5 were published on 26 Nov 2026.
  • Findings: No rules fired in version 0.162.10.
  • Downloads: 40,015 downloads.

Versions

380 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.162.10 LATEST 26 Nov 2026 No rules fired
0.162.9 26 Nov 2026 No rules fired
0.162.8 26 Nov 2026 No rules fired
0.162.7 26 Nov 2026 Not shown
0.162.6 26 Nov 2026 Not shown

No rules fired in 0.162.10

Findings

Findings for v0.162.10. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.162.10; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@adea-ai/ui

The shared Solid component library for Adea and Cortana. Applications retain their domain compositions, persistence, services, and native capabilities.

bun add @adea-ai/ui

Built on Solid 2, Tailwind v4 and ui-sdk. solid-js and @solidjs/web are peers, and the two heavy optional peers (chart.js, embla-carousel) are marked optional so installing the library does not drag in a charting or carousel engine you never use.

Contents

  • Getting started and entry points
  • Theming and fonts
  • Components: forms and navigation, catalog browser, composer, transcript, split layout, scene controls
  • Package checks
  • Adding a component and reviewing it

Getting started

Import the stylesheet and wrap your app in the provider.

import { ThemeProvider } from '@adea-ai/ui/components/theme'
import '@adea-ai/ui/globals.css'

export function App() {
  return (
    <ThemeProvider>
      <YourApp />
    </ThemeProvider>
  )
}

ThemeProvider is what applies a theme, an accent and a typeface, and what persists the choice. Without it you get the two default variants and nothing else.

Tailwind ignores dependency directories by default. Register the component directories your application uses in its stylesheet, relative to that stylesheet:

@import 'tailwindcss';
@import '@adea-ai/ui/theme.css';
@import '@adea-ai/ui/base.css';
@import '@adea-ai/ui/appearance-font-settings.css'; /* optional: shared font roles and Appearance controls */
@source '../node_modules/@adea-ai/ui/src/components/ui/button';

globals.css combines Tailwind, base styles, and theme tokens. Fonts require a separate explicit @adea-ai/ui/fonts.css import. The packed-artifact gate expands all component and library export conditions and rejects leaked story/test files, including declaration output.

Entry points

Folder subpaths such as @adea-ai/ui/components/ui/button resolve the folder's public index under the types, Solid source, development, and compiled conditions. The package includes source for Solid compilation and Tailwind discovery, and compiled JavaScript plus declarations for other supported consumers. License and donor notices travel in dist/LICENSE and dist/NOTICE.

For shortcut labels in server-side or other non-UI code, import platformModifierKey from @adea-ai/ui/components/ui/kbd/platform-modifier. This entry does not load the keyboard components; the keyboard folder entry continues to export the same helper for component consumers.

Charts and carousels are exported only from their subpaths, so root imports work without their optional peers:

import { Button } from '@adea-ai/ui'
import { LineChart } from '@adea-ai/ui/components/ui/chart'
import { Carousel, CarouselSlide } from '@adea-ai/ui/components/ui/carousel'

Install chart.js for charts, or embla-carousel for carousels. Their helpers and types live on the same subpaths.

Split-layout tree imports

Scoped persistence decoders can import MAX_LAYOUT_LEAVES, MAX_LAYOUT_DEPTH, MIN_SPLIT_RATIO, MAX_SPLIT_RATIO, listLeaves, countLeaves, layoutDepth, and the opaque tree types from @adea-ai/ui/components/layout/split-layout/tree. This read-only entry has no UI runtime, renderer, or pane-editing dependencies. The existing /model entry re-exports the same functions and types for compatibility. Use /model for split, close, move, resize, and undo operations; use the component entry when rendering the layout.

Theming

The catalogue is 34 themes across two appearances, grouped into families. The provider takes an initial selection and every axis is a plain value:

<ThemeProvider
  initial={{
    appearance: 'system', // 'light' | 'dark' | 'system'
    lightThemeId: 'adea-light',
    darkThemeId: 'adea-dark',
    accent: 'theme', // or 'violet' | 'blue' | 'green' | 'amber' | 'cyan' | 'pink',
    //                    or a theme-carried accent such as 'ansi-blue'
    fonts: {
      ui: { family: 'system', size: 14 },
      content: { family: 'system', size: 14 },
      code: { family: 'system', size: 12 },
    },
  }}
>
Axis Values How it is applied
Appearance light, dark, system a dark class plus color-scheme on <html>
Theme any of the 34 catalogue ids the variant's tokens, written as custom properties on <html>
Accent theme (follow the variant), one of six presets, or an accent the theme pair carries (ansi-blue…) a data-accent attribute on <html>, plus the resolved roles as custom properties
Fonts UI, content and code family ids from the shared catalogue; sizes from 10–32px Stable data-*-font ids plus resolved --font-* family and pixel-size properties

Older single-font font preferences remain readable and migrate their family to the UI axis; new preferences store fonts with one family and size per axis. Canonical size properties stay in pixels for native editor integrations; the shared text tokens use rem-relative ratios so browser root-text enlargement still scales UI, prose, keyboard keys and code.

Read and change the current selection with useTheme():

const { selection, resolvedAppearance, setSelection, themes, themeAccents } = useTheme()
setSelection({ accent: 'amber' })

themeAccents() lists the accents the selected light/dark theme pair carries itself (@adea-ai/themes' themeAccentPresets): the palette's own blue, magenta, cyan and green, offered only when both themes clear the catalogue's accent floors. Their ids are role-shaped, so ansi-blue follows a theme switch to the new theme's blue; a slot the new pair cannot offer falls back to the theme's own primary. The primary grid is the theme default plus five standard presets; Violet remains available under Additional colors, and theme accents have their own group.

Two components ship for the settings surface: AppearancePanel is the whole appearance view, and ThemeToggle is the light/dark switch on its own.

SettingsLayout composes a controlled vertical tab root, grouped SettingsNavigation, and a scrollable panel viewport. Supply the selected value, onChange, navigation groups, and matching TabsContent panels. The host owns URL or preference updates and panel content; below 48rem of viewport width the rail becomes a horizontal, scrollable strip of tabs above the panels (groups in order, Left/Right keys, aria-orientation="horizontal"), and navigationLayout="rail" | "strip" pins one shape at every width. The layout reports repeated activation through onReselect and reveals the selected row on either axis by default. Use SettingsNavigation directly when you already own the surrounding tabs composition; it follows the enclosing Tabs orientation. Shared tabs associate panels with custom trigger IDs in browser and server renders; an explicit panel aria-labelledby takes precedence. Independent tab roots keep their associations separate.

Controlled appearance mode

ThemeModeToggle provides the shared light/dark/system selector for hosts that own their preference provider and storage. Pass mode and onModeChange; the control owns roving keyboard focus, pressed state and explanatory tooltips. It does not require or mount the shared ThemeProvider. ThemeToggle retains its existing provider-bound API.

Controlled appearance editor

AppearanceEditor and AppearancePopover retain the accepted Zeron-derived System/Light/Dark miniature cards, independent light/dark theme rows, palette swatches, default/preset/custom accent choices and Theme default/Frosted/Opaque surface choices. The popup supports live host preview and Save/Cancel/Reset; ui-sdk provides radio navigation, selection, dismissal and focus restoration. Since its menus prevent Tab, the theme row carries Tab and Shift+Tab through the enclosing dialog's focus order. DropdownMenuContent.portalMount keeps the theme menu within its enclosing modal's accessible subtree.

Supply canonical AdeaTheme previews and AdeaThemeRecord choices. themeRecords/themeRecordById export those records, and appearancePreviewThemes({ lightThemeId, darkThemeId, accent }) resolves a draft's ids and accent, a preset or a theme-carried accent, into the two preview themes, exactly as ThemeProvider would apply them; withAccent is the overlay on its own. builtinThemes is the shadcn projection a document is painted with, not an editor input. Pass themeAccentOptions, themeAccentsFor(lightThemeId, darkThemeId), to offer the accents the previewed pair carries after the presets; the editor itself loads no catalogue or normalization. Hosts own saved-ID recovery, validation, draft snapshots, System appearance resolution, native transparency, live application tokens, Save persistence and restoration on Cancel/dismissal. saving, saveDisabledReason, recoveryNotice, customAccentError, and surfaceCapability expose those outcomes; an unavailable import or Frosted capability stays visibly unavailable. App-specific persisted versions and the legacy translucent value need an app-owned adapter to the editor's theme surface selection. The library does not silently migrate stored preferences.

A host recomposes the editor through props, never by forking it. Every option keeps the default below, so an existing consumer renders as before:

Prop Default What it changes
fontSettingsPlacement inline end closes the option list with the typefaces, after Glass, Reduce transparency and Theme library.
accentEntryStyle swatches labels renders every choice as a named chip. row draws the presets as circles in one equally spaced line (it holds at 320px, where the grid wraps) and turns Custom into a button that opens the native colour selector: only a chosen colour changes the draft.
showThemeDefaultAccent true false drops the leading "Theme default" entry, for a host whose default accent already is a preset.
showCustomAccentCaption true false drops the "Custom" caption over the swatches style's custom chip. No effect on labels or row.
showModeIcons false A sun, moon or monitor glyph beside each mode card's label.
triggerVariant (popover) ghost toolbar holds the pressed rung while the sheet is open and repeats the palette glyph in the tooltip, like the other toolbar actions.

customAccentValue seeds the native selector (row) and the draft the swatches Custom chip commits; hand it your starting colour.

Avoiding the flash

A themed app has to know the appearance before the first paint, or it paints once in the wrong mode. themeScript emits the inline script that does it:

<head>
  <script innerHTML={themeScript('my-app-appearance')} />
</head>

Pass the same key to ThemeProvider as storageKey, and the two agree.

Fonts

Font preference roles and font assets are separate opt-ins. Import appearance-font-settings.css after the theme and base styles to enable the shared UI/content/code projections and utilities. globals.css does not import font assets; import fonts.css explicitly when those faces are wanted:

@import '@adea-ai/ui/theme.css';
@import '@adea-ai/ui/base.css';
@import '@adea-ai/ui/appearance-font-settings.css';
@import '@adea-ai/ui/fonts.css'; /* omit to bring your own */

appearance-font-settings.css defaults --font-ui, --font-content and --font-code to System and scales each text role. Import it after theme.css and base.css, then apply settings with the shared runtime or prepaint helper; the helper resolves catalogue ids to family tokens and writes canonical pixel sizes. This stylesheet does not load any font files. The font-ui-size, font-content-size and font-code-size entries in the token gallery are runtime-projected properties: applyAppearanceFontSettings and fontSettingsBootstrapScript write their pixel values from normalized font settings. They are not fixed declarations in the theme stylesheet. --font-sans and --font-mono remain compatibility aliases for UI and code. The shared projection and prepaint helpers are exported from @adea-ai/ui/lib/appearance-font-settings; hosts can normalize persisted ids, apply the shared data attributes, resolve family ids through the published --font-family-* tokens, and reuse the same bootstrap snippet without duplicating catalogue rules. For versioned host preferences, pass the expected version as the bootstrap helper's second argument. Only an exact version match is applied before paint; missing or unsupported records use the System defaults. Omitting the argument retains the unversioned helper behavior. Each UI, Content and Code chooser keeps the complete font catalogue, and Code uses the exact selected catalogue family. Choose a Mono option when you want a monospace face; System uses the platform's monospace counterpart for Code.

Forms and navigation

Use NativeSelect for a compact list of known choices that should keep native keyboard, form submission, option, and label behavior:

import { NativeSelect } from '@adea-ai/ui/components/ui/native-select'
import { Label } from '@adea-ai/ui/components/ui/label'

<Label for="relationship-kind">Relationship kind</Label>
<NativeSelect
  id="relationship-kind"
  name="relationshipKind"
  value={kind()}
  onChange={handleChange}
  options={[
    { value: 'all', label: 'All relationships' },
    { value: 'derived', label: 'Derived' },
  ]}
/>

NativeSelect renders a real <select> and passes native props and children through. Use value with onChange for a controlled selection, or defaultValue to initialize an uncontrolled one. Use Select for searchable, runtime, or longer lists that need a custom popover.

InputControl is the styled native input without suggestion-list behavior. Use Input when a form should offer native datalist suggestions; custom values remain valid and submit unchanged. The library owns the datalist and unique association; a suggestion does not restrict the submitted value. Native required, pattern, form, event, and ref props still apply to the input.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @adea-ai/ui

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229