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

@editora/ui-core

Latest version: v0.8.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: ajaykr089
3 Stars
0 Forks
20 Versions
2.3K Downloads
TypeScript Repo language

Scan summary

@editora/ui-core was last scanned on 28 Nov 2026 at version 0.8.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 20 versions; the latest 3 were published within 5 days (24–28 Nov 2026).
  • Findings: No rules fired in version 0.8.0.
  • Downloads: 2,341 downloads.

Versions

20 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.8.0 LATEST 28 Nov 2026 No rules fired
0.7.0 27 Nov 2026 No rules fired
0.6.3 24 Nov 2026 No rules fired
0.6.2 21 Nov 2026 Not shown
0.6.1 17 Nov 2026 Not shown

No rules fired in 0.8.0

Findings

Findings for v0.8.0. 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.8.0; other versions have their own rules, not their own score.

README

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

Features

  • A broad catalog. Inputs and forms, pickers, tables, tabs, menus, dialogs, drawers, charts, a calendar and a Gantt planner: the full list.
  • Standard custom elements. Use them from any framework, or with no framework and no build step.
  • Forms that validate. <ui-form> collects the values of the controls inside it, validates them and reports submit, invalid and dirty-change.
  • Promise-based dialogs. await dialogs.confirm({...}) instead of wiring open/close state.
  • Themeable with design tokens, for the whole page or for one element.
  • Positioning helpers for menus, popovers and tooltips: flip, shift and fit to the viewport.
  • Typed, and every component is also available on its own, so you can ship only the ones you use (measured below).

What's new

0.4.0 (2026-11-07)

  • ui-form shows errors from a server response: setErrors({ email: 'Already registered' }), clearErrors(), getErrors(). The first field with an error is focused.
  • ui-data-table for server-driven screens: server-side with total-rows, hidden-columns, and rows with data-href that open as links.
  • Charts include their data as a table for screen readers; show-table shows it on screen.
  • Fixes: pagination-id works when the pager comes after the table, a file's Retry button retries only that file (new retryUpload(file)), focus stays on the first field with an error, and ui-switch toggles on element.click() and assistive-technology activation.

0.3.0 (2026-11-07)

  • Behaviour change: Input, Textarea, Select, Checkbox, Switch, RadioGroup, PasswordField, NumberField, Slider and MultiSelect are form-associated: their values are in the form's FormData, form.reset() restores them, and an empty required field now blocks a native submit (add novalidate to validate in JavaScript). Enter in a text field submits its form.
  • Behaviour change: built-in icons load on first use instead of being bundled into every component (a Button entry went from 55.9 KB to 8.9 KB gzipped). Call loadIcons() at startup or in tests to have them ready, or register only the icons you use with addIcons().
  • @editora/ui-core/preload.css stops server-rendered pages from jumping while the components load.
  • One cancelable navigate event for Sidebar, Breadcrumb, Tabs and Pagination links; Tabs take href, Pagination href-template.
  • ui-layout variant="shell" app frame with an off-canvas sidebar on narrow screens; app-wide density from the theme; description-position="below"; your own <input slot="input"> in Input and PasswordField for password managers.
  • Fixes: focus traps in Dialog and Drawer reach the fields inside them, missing numeric attributes keep their defaults (toasts showed 1 at a time, tooltips opened with no delay, textareas had 0 rows), sliders without max no longer clamp to 0, Dialog puts a single dialog in the accessibility tree, and dark surfaces follow the brand colour.

Every change, with details: CHANGELOG.md and GitHub Releases.

Install

npm install @editora/ui-core

Quick start

With a bundler, import the package once to register the elements: import '@editora/ui-core';.

With no build step, map the package to a CDN and import it in a module script:

<script type="importmap">
  {
    "imports": {
      "@editora/ui-core": "https://cdn.jsdelivr.net/npm/@editora/ui-core/dist/index.esm.js",
      "@editora/icons": "https://cdn.jsdelivr.net/npm/@editora/icons/dist/index.esm.js"
    }
  }
</script>
<script type="module">
  import '@editora/ui-core';
</script>

<ui-field label="Email" description="Work email" required>
  <ui-input name="email" type="email" placeholder="you@company.com" clearable></ui-input>
</ui-field>

<ui-button variant="primary">Save</ui-button>

The examples below assume @editora/ui-core resolves, through a bundler or the import map above.

The picture at the top of this page is made of these elements:

<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start">
  <div style="display: grid; gap: 16px">
    <ui-field label="Project name" description="Shown in the sidebar">
      <ui-input placeholder="Untitled" clearable></ui-input>
    </ui-field>

    <div style="display: flex; gap: 8px; flex-wrap: wrap">
      <ui-button variant="primary">Save</ui-button>
      <ui-button variant="secondary">Cancel</ui-button>
      <ui-button variant="ghost">Skip</ui-button>
      <ui-button variant="danger">Delete</ui-button>
    </div>

    <div style="display: flex; gap: 8px; align-items: center">
      <ui-badge tone="success" text="Live"></ui-badge>
      <ui-badge tone="warning" text="Review"></ui-badge>
      <ui-badge tone="danger" text="Failed"></ui-badge>
      <ui-avatar initials="AM" size="md"></ui-avatar>
      <ui-avatar initials="JK" size="md"></ui-avatar>
    </div>

    <ui-alert title="Heads up" description="Your trial ends in 3 days." tone="warning"></ui-alert>
  </div>

  <div style="display: grid; gap: 16px">
    <ui-switch checked label="Email notifications" description="A summary every Monday"></ui-switch>
    <ui-checkbox checked>Remember me</ui-checkbox>
    <ui-progress value="64"></ui-progress>
    <ui-date-picker label="Start date" clearable></ui-date-picker>
  </div>
</div>

<script type="module">
  import '@editora/ui-core';
</script>

Import only what you use

import '@editora/ui-core' registers every component. Each component also has its own entry, named after its tag without the ui- prefix, and registers just that element:

import '@editora/ui-core/button';
import '@editora/ui-core/input';
import '@editora/ui-core/date-picker';

Bundle sizes, measured with esbuild (minified ES modules):

Import Size
@editora/ui-core (everything) 2.4 MB (493 KB gzipped)
@editora/ui-core/button 165 KB (54 KB gzipped)
button, input and date-picker together 296 KB (85 KB gzipped)

Forms

<ui-form> finds the named controls inside it, so you do not wire up each field:

<ui-form id="profileForm" autosave guard-unsaved>
  <ui-field label="Full name" required>
    <ui-input name="fullName" required></ui-input>
  </ui-field>
  <ui-field label="Email" required>
    <ui-input name="email" type="email" required></ui-input>
  </ui-field>
  <ui-button variant="primary" type="submit">Save</ui-button>
</ui-form>

<script type="module">
  import '@editora/ui-core';
  const form = document.getElementById('profileForm');

  form.addEventListener('submit', (e) => console.log('values', e.detail.values));
  form.addEventListener('invalid', (e) => console.log('errors', e.detail.errors));
  form.addEventListener('dirty-change', (e) => console.log('dirty?', e.detail.dirty));
</script>
Event event.detail
submit { values }: fired when the form is valid.
invalid { errors }: the error message of each invalid field.
dirty-change { dirty }: whether the values differ from the starting values.
autosave { values, dirty }: with the autosave attribute, fired once the values have stopped changing for autosave-delay milliseconds (800 by default) and differ from the starting values. Save your draft in the handler.

A button with type="submit" or type="reset" inside the form submits or resets it. The form also has submit(), validate(), getValues() and reset() methods. guard-unsaved warns before the page is left with unsaved changes.

Data tables

A table in <ui-data-table> gets sorting, selection and paging; a <ui-pagination> with a matching id is the pager:

<ui-data-table id="usersTable" sortable selectable page-size="2" pagination-id="usersPager">
  <table>
    <thead>
      <tr>
        <th data-key="id">ID</th>
        <th data-key="name">Name</th>
        <th data-key="role">Role</th>
      </tr>
    </thead>
    <tbody>
      <tr><td>1</td><td>Asha</td><td>Admin</td></tr>
      <tr><td>2</td><td>Marco</td><td>Editor</td></tr>
      <tr><td>3</td><td>Lena</td><td>Viewer</td></tr>
      <tr><td>4</td><td>Tariq</td><td>Editor</td></tr>
    </tbody>
  </table>
</ui-data-table>

<ui-pagination id="usersPager"></ui-pagination>

<script type="module">
  import '@editora/ui-core';
</script>

For long tables, virtualize renders only the rows that are on screen.

Gantt chart

<ui-gantt> is a planning timeline: tasks, summary rows and milestones, dependencies, baselines, critical tasks, drag and resize, and a toolbar for zoom, filter and sort. Give it tasks and links as JSON:

<ui-gantt id="releasePlan" zoom="week" sort="start" bar-variant="soft"></ui-gantt>

<script type="module">
  import '@editora/ui-core';

  const gantt = document.getElementById('releasePlan');

  gantt.setAttribute('tasks', JSON.stringify([
    {
      id: 'api',
      label: 'API contracts',
      start: '2026-02-10',
      end: '2026-02-24',
      progress: 62,
      baselineStart: '2026-02-07',
      baselineEnd: '2026-02-21',
      critical: true
    },
    {
      id: 'qa',
      label: 'QA sign-off',
      start: '2026-02-27',
      type: 'milestone',
      tone: 'success'
    }
  ]));

  gantt.setAttribute('links', JSON.stringify([
    { id: 'api-qa', source: 'api', target: 'qa', type: 'e2s' }
  ]));

  gantt.addEventListener('taskchange', (event) => console.log('task changed', event.detail));
  gantt.addEventListener('taskdelete', (event) => console.log('delete task', event.detail.id));
  gantt.addEventListener('linkselect', (event) => console.log('dependency selected', event.detail));
</script>

That is the whole setup for a basic chart. The rest of this section builds on it.

A full planner

This one turns on most of the features at once: a two-level time header, weekends and a holiday shaded, parents that follow their children, scheduling that pushes the tasks after one you move, the critical path, dependencies you draw by dragging, and a date the host refuses to let slip. The chart draws what it is given and reports what the user does; the plan lives in your code, so every edit arrives as an event and you decide whether to keep it.

<ui-gantt
  id="planner"
  zoom="week"
  week-start="1"
  bar-variant="soft"
  columns='["label", "assignee", "start", "end", "progress"]'
  non-working-days
  auto-summary
  cascade
  schedule="auto"
  critical-path
  linkable
  creatable
></ui-gantt>

<script type="module">
  import '@editora/ui-core';

  const planner = document.getElementById('planner');
  const day = (offset) => {
    const date = new Date();
    date.setHours(0, 0, 0, 0);
    date.setDate(date.getDate() + offset);
    return date;
  };

  // The chart draws what it is given and reports what the user does; the plan lives here.
  let tasks = [
    { id: 'discovery', label: 'Discovery', type: 'summary' },
    { id: 'research', label: 'User research', parent: 'discovery', start: day(-21), end: day(-12), progress: 100, assignee: 'Mina', baselineStart: day(-21), baselineEnd: day(-13) },
    { id: 'interviews', label: 'Interviews', parent: 'discovery', start: day(-12), end: day(-5), progress: 100, assignee: 'Jonas' },
    { id: 'scope', label: 'Scope signed off', parent: 'discovery', start: day(-5), type: 'milestone', tone: 'success' },
    { id: 'build', label: 'Build', type: 'summary' },
    { id: 'api', label: 'API and data model', parent: 'build', start: day(-4), end: day(10), progress: 70, assignee: 'Priya' },
    {
      id: 'ui',
      label: 'Planner UI',
      parent: 'build',
      start: day(-2),
      end: day(18),
      progress: 45,
      assignee: 'Tomás',
      segments: [{ start: day(-2), end: day(5) }, { start: day(8), end: day(18) }]
    },
    { id: 'integration', label: 'Integration', parent: 'build', start: day(18), end: day(26), progress: 0, assignee: 'Priya' },
    { id: 'launch', label: 'Launch', type: 'summary' },
    { id: 'qa', label: 'QA and fixes', parent: 'launch', start: day(26), end: day(33), assignee: 'Aiko' },
    { id: 'beta', label: 'Beta', parent: 'launch', start: day(33), end: day(40), assignee: 'Aiko' },
    { id: 'release', label: 'Release', parent: 'launch', start: day(40), type: 'milestone', tone: 'danger' },
    { id: 'docs', label: 'Write the docs', start: day(30), end: day(38), progress: 20, assignee: 'Sam' }
  ];
  let links = [
    { id: 'l1', source: 'research', target: 'interviews' },
    { id: 'l2', source: 'interviews', target: 'scope' },
    { id: 'l3', source: 'scope', target: 'api', lag: 1 },
    { id: 'l4', source: 'scope', target: 'ui', type: 's2s', lag: 3 },
    { id: 'l5', source: 'api', target: 'integration' },
    { id: 'l6', source: 'ui', target: 'integration' },
    { id: 'l7', source: 'integration', target: 'qa' },
    { id: 'l8', source: 'qa', target: 'beta' },
    { id: 'l9', source: 'beta', target: 'release' },
    { id: 'l10', source: 'beta', target: 'docs' } // docs are planned before beta ends: drawn red
  ];
  const sync = () => {
    planner.tasks = tasks;
    planner.links = links;
  };
  planner.holidays = [{ date: day(12), label: 'Founders day' }];
  const patch = (id, changes) => {
    tasks = tasks.map((task) => (task.id === id ? { ...task, ...changes } : task));
  };
  sync();

  // Keep the release date: refuse any change that would push it.
  planner.addEventListener('beforetaskchange', (event) => {
    if (event.detail.affected.some((change) => change.id === 'release')) event.preventDefault();
  });
  planner.addEventListener('taskchange', ({ detail }) => {
    patch(detail.id, { start: detail.start, end: detail.end });
    sync();
  });
  planner.addEventListener('taskrename', ({ detail }) => {
    patch(detail.id, { label: detail.label });
    sync();
  });
  planner.addEventListener('taskcreate', ({ detail }) => {
    const id = `task-${tasks.length + 1}`;
    tasks = [...tasks, { id, label: 'New task', start: detail.start, end: detail.end, parent: detail.parent }];
    sync();
    planner.scrollToTask(id);
  });
  planner.addEventListener('linkcreate', ({ detail }) => {
    links = [...links, { id: `l${links.length + 1}`, ...detail }];
    sync();
  });
  planner.addEventListener('linkdelete', ({ detail }) => {
    links = links.filter((link) => link.id !== detail.id);
    sync();
  });
</script>

The red bars are the critical path (critical-path), the red dashed arrow is a dependency that is already broken (Write the docs is planned before Beta ends), the grey strip under User research is its baseline, and the dots on Beta are the handles linkable adds.

Timeline and display

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 @editora/ui-core

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

CVE

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

Frame 2085668439 (1)
Group 1261154229