@cascivo/editor 0.18.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -254,6 +254,14 @@ interface CodeEditorProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElemen
254
254
  virtualize?: boolean;
255
255
  /** Accessible label for the editor (defaults to the i18n "Code editor"). */
256
256
  label?: string;
257
+ /**
258
+ * Alias of `label` — the same invisible accessible name under the catalog's own spelling.
259
+ *
260
+ * `ariaLabel` is what the catalog calls a name nothing paints, so it is the guess an agent
261
+ * makes after reading one other component (2026-08-21 report item 1). This component
262
+ * predates the convention and shipped `label`; both work and neither is deprecated.
263
+ */
264
+ ariaLabel?: string;
257
265
  /** Called with the current value on `Mod-S` (the browser save dialog is suppressed). */
258
266
  onSave?: (value: string) => void;
259
267
  /** Extra key bindings, merged over the built-ins (user wins on the same chord). */
@@ -290,6 +298,14 @@ interface HighlightProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'
290
298
  tabSize?: number;
291
299
  /** Accessible label for the read-only code block. */
292
300
  label?: string;
301
+ /**
302
+ * Alias of `label` — the same invisible accessible name under the catalog's own spelling.
303
+ *
304
+ * `ariaLabel` is what the catalog calls a name nothing paints, so it is the guess an agent
305
+ * makes after reading one other component (2026-08-21 report item 1). This component
306
+ * predates the convention and shipped `label`; both work and neither is deprecated.
307
+ */
308
+ ariaLabel?: string;
293
309
  /** Ref to the scrollable `<pre>` (used by `CodeEditor` for scroll-sync). */
294
310
  preRef?: Ref<HTMLPreElement>;
295
311
  /** Ref to the gutter column (used by `CodeEditor` for scroll-sync). */
@@ -307,6 +323,7 @@ declare function Highlight({
307
323
  wrap,
308
324
  tabSize,
309
325
  label,
326
+ ariaLabel,
310
327
  className,
311
328
  preRef,
312
329
  gutterRef,