@almadar/ui 5.27.0 → 5.28.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "5.27.0",
3
+ "version": "5.28.1",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import type { TraitConfigValue } from '@almadar/core';
3
- export interface ArrayEditorProps {
4
- /** Current array value. */
5
- value: ReadonlyArray<TraitConfigValue>;
6
- /** Fired when the array changes. */
7
- onChange: (next: ReadonlyArray<TraitConfigValue>) => void;
8
- /** Additional CSS classes. */
9
- className?: string;
10
- }
11
- /**
12
- * ArrayEditor — edits a `ReadonlyArray<TraitConfigValue>` with add / remove per row.
13
- * Each row infers its editor from the element's runtime type.
14
- */
15
- export declare const ArrayEditor: React.FC<ArrayEditorProps>;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import type { TraitConfigObject } from '@almadar/core';
3
- export interface MapEditorProps {
4
- /** Current map value (object used as string-keyed map). */
5
- value: TraitConfigObject;
6
- /** Fired when an entry is added, removed, or its key/value is changed. */
7
- onChange: (next: TraitConfigObject) => void;
8
- /** Additional CSS classes. */
9
- className?: string;
10
- }
11
- /**
12
- * MapEditor — edits a `TraitConfigObject` as a dynamic key/value map.
13
- * Unlike ObjectEditor (fixed schema keys), MapEditor allows adding/removing entries
14
- * and renaming keys.
15
- */
16
- export declare const MapEditor: React.FC<MapEditorProps>;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import type { TraitConfigObject } from '@almadar/core';
3
- export interface ObjectEditorProps {
4
- /** Current object value. */
5
- value: TraitConfigObject;
6
- /** Fired when any field changes. */
7
- onChange: (next: TraitConfigObject) => void;
8
- /** Additional CSS classes. */
9
- className?: string;
10
- }
11
- /**
12
- * ObjectEditor — edits a `TraitConfigObject` showing one labeled row per key.
13
- * Keys are fixed (derived from the current object's shape).
14
- */
15
- export declare const ObjectEditor: React.FC<ObjectEditorProps>;