@almadar/ui 5.122.14 → 5.124.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/{TraitProvider-YkK6tXDw.d.cts → TraitProvider-Ch79cUcb.d.cts} +6 -1
- package/dist/{TraitProvider-YkK6tXDw.d.ts → TraitProvider-Ch79cUcb.d.ts} +6 -1
- package/dist/{UserContext-bziZwgFL.d.cts → UserContext-BKckAUv7.d.cts} +5 -5
- package/dist/{UserContext-bziZwgFL.d.ts → UserContext-BKckAUv7.d.ts} +5 -5
- package/dist/avl/index.cjs +354 -234
- package/dist/avl/index.js +356 -236
- package/dist/components/index.cjs +273 -198
- package/dist/components/index.d.cts +18 -12
- package/dist/components/index.d.ts +18 -12
- package/dist/components/index.js +273 -198
- package/dist/context/index.cjs +34 -66
- package/dist/context/index.d.cts +1 -1
- package/dist/context/index.d.ts +1 -1
- package/dist/context/index.js +34 -66
- package/dist/hooks/index.cjs +8 -0
- package/dist/hooks/index.js +8 -0
- package/dist/lib/drawable/three/index.cjs +6 -0
- package/dist/lib/drawable/three/index.js +6 -0
- package/dist/marketing/index.cjs +7 -0
- package/dist/marketing/index.js +7 -0
- package/dist/providers/index.cjs +343 -217
- package/dist/providers/index.d.cts +6 -6
- package/dist/providers/index.d.ts +6 -6
- package/dist/providers/index.js +343 -217
- package/dist/runtime/index.cjs +347 -227
- package/dist/runtime/index.d.cts +4 -2
- package/dist/runtime/index.d.ts +4 -2
- package/dist/runtime/index.js +349 -229
- package/package.json +8 -7
- package/themes/_contract.md +2 -0
- package/themes/almadar-website.css +3 -3
- package/themes/almadar.css +4 -4
- package/themes/bloomberg-dense.css +2 -2
- package/themes/clay.css +417 -0
- package/themes/corporate.css +411 -0
- package/themes/game-adventure.css +3 -3
- package/themes/game-rpg.css +2 -2
- package/themes/game-sci-fi.css +1 -1
- package/themes/game-ui-pack.css +2 -2
- package/themes/gazette.css +2 -2
- package/themes/glass.css +428 -0
- package/themes/index.css +9 -13
- package/themes/kiosk.css +5 -5
- package/themes/linear-clean.css +1 -1
- package/themes/minimalist.css +2 -2
- package/themes/neon.css +3 -3
- package/themes/notion-editorial.css +1 -1
- package/themes/prism.css +3 -3
- package/themes/retro.css +410 -0
- package/themes/terminal.css +1 -1
- package/themes/trait-wars.css +8 -8
- package/themes/wireframe.css +2 -2
- package/themes/arctic.css +0 -235
- package/themes/copper.css +0 -235
- package/themes/ember.css +0 -238
- package/themes/forest.css +0 -238
- package/themes/lavender.css +0 -233
- package/themes/midnight.css +0 -234
- package/themes/ocean.css +0 -238
- package/themes/rose.css +0 -233
- package/themes/sand.css +0 -234
- package/themes/slate.css +0 -233
- package/themes/sunset.css +0 -238
|
@@ -1104,7 +1104,8 @@ declare const TextHighlight: React__default.FC<TextHighlightProps>;
|
|
|
1104
1104
|
*/
|
|
1105
1105
|
|
|
1106
1106
|
type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "heading" | "subheading" | "body1" | "body2" | "body" | "caption" | "overline" | "small" | "large" | "label";
|
|
1107
|
-
|
|
1107
|
+
/** `none` = no size override — the variant's baked size applies. */
|
|
1108
|
+
type TypographySize = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
1108
1109
|
interface TypographyProps {
|
|
1109
1110
|
/** Typography variant */
|
|
1110
1111
|
variant?: TypographyVariant;
|
|
@@ -1114,8 +1115,8 @@ interface TypographyProps {
|
|
|
1114
1115
|
color?: "primary" | "secondary" | "muted" | "error" | "success" | "warning" | "inherit";
|
|
1115
1116
|
/** Text alignment */
|
|
1116
1117
|
align?: "left" | "center" | "right";
|
|
1117
|
-
/** Font weight override */
|
|
1118
|
-
weight?: "light" | "normal" | "medium" | "semibold" | "bold";
|
|
1118
|
+
/** Font weight override — `none` = no override, the variant's baked weight applies */
|
|
1119
|
+
weight?: "none" | "light" | "normal" | "medium" | "semibold" | "bold";
|
|
1119
1120
|
/** Font size override */
|
|
1120
1121
|
size?: TypographySize;
|
|
1121
1122
|
/** Truncate with ellipsis (single line) */
|
|
@@ -4005,6 +4006,10 @@ interface FilterGroupProps {
|
|
|
4005
4006
|
isLoading?: boolean;
|
|
4006
4007
|
/** Layer 2 visual treatment — orthogonal to the semantic variant. */
|
|
4007
4008
|
look?: FilterGroupLook;
|
|
4009
|
+
/** Declarative filter event — emits UI:{event} via eventBus on filter change (alongside canonical UI:FILTER) */
|
|
4010
|
+
event?: EventKey;
|
|
4011
|
+
/** Declarative clear event — emits UI:{clearEvent} via eventBus on clear-all (alongside canonical UI:CLEAR_FILTERS) */
|
|
4012
|
+
clearEvent?: EventKey;
|
|
4008
4013
|
}
|
|
4009
4014
|
/**
|
|
4010
4015
|
* FilterGroup - Renders filter controls for entity data
|
|
@@ -4683,11 +4688,8 @@ interface SearchInputProps extends Omit<React__default.InputHTMLAttributes<HTMLI
|
|
|
4683
4688
|
* Additional CSS classes
|
|
4684
4689
|
*/
|
|
4685
4690
|
className?: string;
|
|
4686
|
-
/**
|
|
4687
|
-
|
|
4688
|
-
* This is metadata used by the trait generator, not by the component.
|
|
4689
|
-
*/
|
|
4690
|
-
event?: string;
|
|
4691
|
+
/** Declarative search event — emits UI:{event} via eventBus on query submit (alongside canonical UI:SEARCH) */
|
|
4692
|
+
event?: EventKey;
|
|
4691
4693
|
/**
|
|
4692
4694
|
* Entity type for context-aware search.
|
|
4693
4695
|
* When provided, search events include entity context.
|
|
@@ -6321,8 +6323,12 @@ interface DataGridField {
|
|
|
6321
6323
|
interface DataGridItemAction {
|
|
6322
6324
|
/** Button label */
|
|
6323
6325
|
label: string;
|
|
6324
|
-
/** Event name to emit (dispatched as UI:{event} with { row: itemData })
|
|
6325
|
-
|
|
6326
|
+
/** Event name to emit (dispatched as UI:{event} with { row: itemData }).
|
|
6327
|
+
* Optional when `navigatesTo` is set — a navigating action never emits. */
|
|
6328
|
+
event?: EventKey;
|
|
6329
|
+
/** Route to navigate to instead of emitting — `{{row.field}}`
|
|
6330
|
+
* placeholders interpolate from the item row (CardGrid's contract). */
|
|
6331
|
+
navigatesTo?: string;
|
|
6326
6332
|
/** Lucide icon name or component */
|
|
6327
6333
|
icon?: IconInput;
|
|
6328
6334
|
/** Button variant */
|
|
@@ -6379,8 +6385,8 @@ interface DataGridProps extends DataDndProps {
|
|
|
6379
6385
|
loadMoreEvent?: EventKey;
|
|
6380
6386
|
/** Whether more items are available for infinite scroll */
|
|
6381
6387
|
hasMore?: boolean;
|
|
6382
|
-
/** Render prop for custom per-card content. When provided, `fields`
|
|
6383
|
-
* `itemActions`
|
|
6388
|
+
/** Render prop for custom per-card content. When provided, `fields` are
|
|
6389
|
+
* ignored; `itemActions` render as a footer beneath the custom content. */
|
|
6384
6390
|
children?: (item: EntityRow, index: number) => React__default.ReactNode;
|
|
6385
6391
|
/**
|
|
6386
6392
|
* Per-item render function (schema-level alias for children render prop).
|
|
@@ -1104,7 +1104,8 @@ declare const TextHighlight: React__default.FC<TextHighlightProps>;
|
|
|
1104
1104
|
*/
|
|
1105
1105
|
|
|
1106
1106
|
type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "heading" | "subheading" | "body1" | "body2" | "body" | "caption" | "overline" | "small" | "large" | "label";
|
|
1107
|
-
|
|
1107
|
+
/** `none` = no size override — the variant's baked size applies. */
|
|
1108
|
+
type TypographySize = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
1108
1109
|
interface TypographyProps {
|
|
1109
1110
|
/** Typography variant */
|
|
1110
1111
|
variant?: TypographyVariant;
|
|
@@ -1114,8 +1115,8 @@ interface TypographyProps {
|
|
|
1114
1115
|
color?: "primary" | "secondary" | "muted" | "error" | "success" | "warning" | "inherit";
|
|
1115
1116
|
/** Text alignment */
|
|
1116
1117
|
align?: "left" | "center" | "right";
|
|
1117
|
-
/** Font weight override */
|
|
1118
|
-
weight?: "light" | "normal" | "medium" | "semibold" | "bold";
|
|
1118
|
+
/** Font weight override — `none` = no override, the variant's baked weight applies */
|
|
1119
|
+
weight?: "none" | "light" | "normal" | "medium" | "semibold" | "bold";
|
|
1119
1120
|
/** Font size override */
|
|
1120
1121
|
size?: TypographySize;
|
|
1121
1122
|
/** Truncate with ellipsis (single line) */
|
|
@@ -4005,6 +4006,10 @@ interface FilterGroupProps {
|
|
|
4005
4006
|
isLoading?: boolean;
|
|
4006
4007
|
/** Layer 2 visual treatment — orthogonal to the semantic variant. */
|
|
4007
4008
|
look?: FilterGroupLook;
|
|
4009
|
+
/** Declarative filter event — emits UI:{event} via eventBus on filter change (alongside canonical UI:FILTER) */
|
|
4010
|
+
event?: EventKey;
|
|
4011
|
+
/** Declarative clear event — emits UI:{clearEvent} via eventBus on clear-all (alongside canonical UI:CLEAR_FILTERS) */
|
|
4012
|
+
clearEvent?: EventKey;
|
|
4008
4013
|
}
|
|
4009
4014
|
/**
|
|
4010
4015
|
* FilterGroup - Renders filter controls for entity data
|
|
@@ -4683,11 +4688,8 @@ interface SearchInputProps extends Omit<React__default.InputHTMLAttributes<HTMLI
|
|
|
4683
4688
|
* Additional CSS classes
|
|
4684
4689
|
*/
|
|
4685
4690
|
className?: string;
|
|
4686
|
-
/**
|
|
4687
|
-
|
|
4688
|
-
* This is metadata used by the trait generator, not by the component.
|
|
4689
|
-
*/
|
|
4690
|
-
event?: string;
|
|
4691
|
+
/** Declarative search event — emits UI:{event} via eventBus on query submit (alongside canonical UI:SEARCH) */
|
|
4692
|
+
event?: EventKey;
|
|
4691
4693
|
/**
|
|
4692
4694
|
* Entity type for context-aware search.
|
|
4693
4695
|
* When provided, search events include entity context.
|
|
@@ -6321,8 +6323,12 @@ interface DataGridField {
|
|
|
6321
6323
|
interface DataGridItemAction {
|
|
6322
6324
|
/** Button label */
|
|
6323
6325
|
label: string;
|
|
6324
|
-
/** Event name to emit (dispatched as UI:{event} with { row: itemData })
|
|
6325
|
-
|
|
6326
|
+
/** Event name to emit (dispatched as UI:{event} with { row: itemData }).
|
|
6327
|
+
* Optional when `navigatesTo` is set — a navigating action never emits. */
|
|
6328
|
+
event?: EventKey;
|
|
6329
|
+
/** Route to navigate to instead of emitting — `{{row.field}}`
|
|
6330
|
+
* placeholders interpolate from the item row (CardGrid's contract). */
|
|
6331
|
+
navigatesTo?: string;
|
|
6326
6332
|
/** Lucide icon name or component */
|
|
6327
6333
|
icon?: IconInput;
|
|
6328
6334
|
/** Button variant */
|
|
@@ -6379,8 +6385,8 @@ interface DataGridProps extends DataDndProps {
|
|
|
6379
6385
|
loadMoreEvent?: EventKey;
|
|
6380
6386
|
/** Whether more items are available for infinite scroll */
|
|
6381
6387
|
hasMore?: boolean;
|
|
6382
|
-
/** Render prop for custom per-card content. When provided, `fields`
|
|
6383
|
-
* `itemActions`
|
|
6388
|
+
/** Render prop for custom per-card content. When provided, `fields` are
|
|
6389
|
+
* ignored; `itemActions` render as a footer beneath the custom content. */
|
|
6384
6390
|
children?: (item: EntityRow, index: number) => React__default.ReactNode;
|
|
6385
6391
|
/**
|
|
6386
6392
|
* Per-item render function (schema-level alias for children render prop).
|