@almadar/core 10.112.0 → 10.113.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/builders.d.ts +4 -4
- package/dist/builders.js +2 -1
- package/dist/builders.js.map +1 -1
- package/dist/{bus-BZ9ekDiD.d.ts → bus-CJ7jZVcV.d.ts} +1 -1
- package/dist/{domain-DV8lmH3r.d.ts → domain-CkvF0zvD.d.ts} +6 -5
- package/dist/{effect-B9nMpTKN.d.ts → effect-BLZKE5PN.d.ts} +26 -2
- package/dist/{entityAccess-Ak_ZvGXZ.d.ts → entityAccess-utY3tRcQ.d.ts} +2 -2
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +857 -63
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +4 -4
- package/dist/factory-runtime/index.js +2 -1
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/fixtures.d.ts +2 -2
- package/dist/i18n/index.js +1 -0
- package/dist/i18n/index.js.map +1 -1
- package/dist/{index-DmkUMeXz.d.ts → index-BiHNP9jd.d.ts} +6 -6
- package/dist/index.d.ts +13 -13
- package/dist/index.js +1079 -182
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +5 -5
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -8
- package/dist/patterns/index.d.ts +1806 -309
- package/dist/patterns/index.js +860 -73
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +858 -64
- package/dist/patterns/registry.json +858 -64
- package/dist/{schema-C-HLTS_Q.d.ts → schema-BJGPvTln.d.ts} +243 -243
- package/dist/themes/index.d.ts +1 -1
- package/dist/themes/index.js +218 -109
- package/dist/themes/index.js.map +1 -1
- package/dist/{trait-CRgDZSy_.d.ts → trait-DlZMxzEB.d.ts} +53 -53
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.js +2 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-C3nlpTDW.d.ts → types-7d7mtx4j.d.ts} +2 -2
- package/fixtures/theme-tokens/every-key.json +2 -1
- package/package.json +2 -2
- package/themes/almadar-website.json +4 -2
- package/themes/almadar.json +4 -2
- package/themes/aqua.json +4 -2
- package/themes/arabesque.json +4 -2
- package/themes/art-deco.json +4 -2
- package/themes/art-nouveau.json +4 -2
- package/themes/atelier.json +4 -2
- package/themes/bauhaus.json +4 -2
- package/themes/bloomberg-dense.json +4 -2
- package/themes/blueprint.json +4 -2
- package/themes/clay.json +4 -2
- package/themes/comic.json +4 -2
- package/themes/constructivist.json +4 -2
- package/themes/corporate.json +4 -2
- package/themes/cyberpunk.json +4 -2
- package/themes/frutiger-aero.json +4 -2
- package/themes/game-adventure.json +2 -1
- package/themes/game-rpg.json +2 -1
- package/themes/game-sci-fi.json +2 -1
- package/themes/game-ui-pack.json +2 -1
- package/themes/gazette.json +4 -2
- package/themes/glass.json +4 -2
- package/themes/gothic.json +4 -2
- package/themes/ink-wash.json +4 -2
- package/themes/kawaii.json +4 -2
- package/themes/kiosk.json +4 -2
- package/themes/linear-clean.json +4 -2
- package/themes/luxury.json +4 -2
- package/themes/mac-classic.json +4 -2
- package/themes/material.json +4 -2
- package/themes/memphis.json +4 -2
- package/themes/mid-century.json +4 -2
- package/themes/minimalist.json +4 -2
- package/themes/mudcloth.json +4 -2
- package/themes/neon.json +4 -2
- package/themes/neumorphic.json +4 -2
- package/themes/newsprint.json +4 -2
- package/themes/notion-editorial.json +4 -2
- package/themes/pixel.json +4 -2
- package/themes/prism.json +4 -2
- package/themes/retro.json +4 -2
- package/themes/risograph.json +4 -2
- package/themes/scandi.json +4 -2
- package/themes/sketch.json +4 -2
- package/themes/solarpunk.json +4 -2
- package/themes/steampunk.json +4 -2
- package/themes/swiss.json +4 -2
- package/themes/terminal.json +4 -2
- package/themes/trait-wars.json +4 -2
- package/themes/ukiyo-e.json +4 -2
- package/themes/vaporwave.json +4 -2
- package/themes/victorian.json +4 -2
- package/themes/wabi-sabi.json +4 -2
- package/themes/win95.json +4 -2
- package/themes/wireframe.json +4 -2
- package/themes/zine.json +4 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FieldValue, S as ServerReportedEffect, N as NamespacedEffectName, g as EntityRow, d as OrbitalId, T as TraitId, b as EventId, h as PatternConfig, i as ResolvedPatternProps, A as AnyPatternConfig } from './effect-
|
|
1
|
+
import { F as FieldValue, S as ServerReportedEffect, N as NamespacedEffectName, g as EntityRow, d as OrbitalId, T as TraitId, b as EventId, h as PatternConfig, i as ResolvedPatternProps, A as AnyPatternConfig } from './effect-BLZKE5PN.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { a as EventPayloadValue, b as EventPayload } from './expression-Dz84kipC.js';
|
|
4
4
|
|
|
@@ -2250,12 +2250,13 @@ type ColorTokens = {
|
|
|
2250
2250
|
surfaceHover?: string;
|
|
2251
2251
|
borderHover?: string;
|
|
2252
2252
|
placeholder?: string;
|
|
2253
|
+
scrim?: string;
|
|
2253
2254
|
};
|
|
2254
2255
|
/** Rejects the array unless it names every key of `T` — the completeness half
|
|
2255
2256
|
* of "one list, derived from the type": `satisfies readonly (keyof T)[]` stops
|
|
2256
2257
|
* a non-key, this stops a missing key. */
|
|
2257
2258
|
type KeysComplete<T, Keys extends readonly (keyof T)[]> = Exclude<keyof T, Keys[number]> extends never ? Keys : never;
|
|
2258
|
-
declare const COLOR_TOKEN_KEY_LIST: readonly ["primary", "primaryHover", "primaryForeground", "secondary", "secondaryHover", "secondaryForeground", "accent", "accentForeground", "muted", "mutedForeground", "background", "foreground", "card", "cardForeground", "surface", "border", "input", "ring", "error", "errorForeground", "success", "successForeground", "warning", "warningForeground", "info", "infoForeground", "tableHeader", "tableBorder", "tableRowHover", "surfaceHover", "borderHover", "placeholder"];
|
|
2259
|
+
declare const COLOR_TOKEN_KEY_LIST: readonly ["primary", "primaryHover", "primaryForeground", "secondary", "secondaryHover", "secondaryForeground", "accent", "accentForeground", "muted", "mutedForeground", "background", "foreground", "card", "cardForeground", "surface", "border", "input", "ring", "error", "errorForeground", "success", "successForeground", "warning", "warningForeground", "info", "infoForeground", "tableHeader", "tableBorder", "tableRowHover", "surfaceHover", "borderHover", "placeholder", "scrim"];
|
|
2259
2260
|
/** Every `ColorTokens` key, in declaration order — the ONE list. The zod twin
|
|
2260
2261
|
* below, the native theme accessors (`almadar-pattern-sync`
|
|
2261
2262
|
* `native-theme-map.ts`) and the `theme-tokens/every-key` fixture that gates
|
|
@@ -17999,13 +18000,13 @@ declare const CustomPatternDefinitionSchema: z.ZodObject<{
|
|
|
17999
18000
|
props: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18000
18001
|
}, "strip", z.ZodTypeAny, {
|
|
18001
18002
|
type: "custom";
|
|
18002
|
-
component: "label" | "
|
|
18003
|
+
component: "label" | "h3" | "h4" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h5" | "h6" | "section" | "nav" | "aside" | "main" | "footer" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
|
|
18003
18004
|
className: string;
|
|
18004
18005
|
slots?: string[] | undefined;
|
|
18005
18006
|
props?: string[] | undefined;
|
|
18006
18007
|
}, {
|
|
18007
18008
|
type: "custom";
|
|
18008
|
-
component: "label" | "
|
|
18009
|
+
component: "label" | "h3" | "h4" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h5" | "h6" | "section" | "nav" | "aside" | "main" | "footer" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
|
|
18009
18010
|
className: string;
|
|
18010
18011
|
slots?: string[] | undefined;
|
|
18011
18012
|
props?: string[] | undefined;
|
|
@@ -18022,13 +18023,13 @@ declare const CustomPatternMapSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.Z
|
|
|
18022
18023
|
props: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18023
18024
|
}, "strip", z.ZodTypeAny, {
|
|
18024
18025
|
type: "custom";
|
|
18025
|
-
component: "label" | "
|
|
18026
|
+
component: "label" | "h3" | "h4" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h5" | "h6" | "section" | "nav" | "aside" | "main" | "footer" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
|
|
18026
18027
|
className: string;
|
|
18027
18028
|
slots?: string[] | undefined;
|
|
18028
18029
|
props?: string[] | undefined;
|
|
18029
18030
|
}, {
|
|
18030
18031
|
type: "custom";
|
|
18031
|
-
component: "label" | "
|
|
18032
|
+
component: "label" | "h3" | "h4" | "header" | "form" | "article" | "button" | "input" | "h1" | "h2" | "h5" | "h6" | "section" | "nav" | "aside" | "main" | "footer" | "a" | "div" | "span" | "p" | "ul" | "ol" | "li" | "img";
|
|
18032
18033
|
className: string;
|
|
18033
18034
|
slots?: string[] | undefined;
|
|
18034
18035
|
props?: string[] | undefined;
|
|
@@ -2840,7 +2840,7 @@ type EntityData = Record<string, EntityRow[]>;
|
|
|
2840
2840
|
*
|
|
2841
2841
|
* DO NOT EDIT MANUALLY — regenerated by almadar-pattern-sync `patterns` command.
|
|
2842
2842
|
*
|
|
2843
|
-
* Generated: 2026-09-
|
|
2843
|
+
* Generated: 2026-09-30T21:06:42.879Z
|
|
2844
2844
|
* Pattern count: 252
|
|
2845
2845
|
*/
|
|
2846
2846
|
|
|
@@ -2914,6 +2914,7 @@ interface PatternPropsMap {
|
|
|
2914
2914
|
onDismiss?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
2915
2915
|
onClose?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
2916
2916
|
actions?: unknown | string | SExpr;
|
|
2917
|
+
icon?: unknown | string | SExpr;
|
|
2917
2918
|
className?: string | SExpr;
|
|
2918
2919
|
dismissEvent?: string | SExpr;
|
|
2919
2920
|
};
|
|
@@ -3684,6 +3685,7 @@ interface PatternPropsMap {
|
|
|
3684
3685
|
fields?: unknown[] | string | SExpr;
|
|
3685
3686
|
columns?: unknown[] | string | SExpr;
|
|
3686
3687
|
itemActions?: unknown[] | string | SExpr;
|
|
3688
|
+
itemClickEvent?: string | SExpr;
|
|
3687
3689
|
maxInlineActions?: number | string | SExpr;
|
|
3688
3690
|
scrollX?: boolean | string | SExpr;
|
|
3689
3691
|
cols?: number | string | SExpr;
|
|
@@ -3799,6 +3801,7 @@ interface PatternPropsMap {
|
|
|
3799
3801
|
actions?: unknown[] | string | SExpr;
|
|
3800
3802
|
maxInlineActions?: number | string | SExpr;
|
|
3801
3803
|
backAction?: PatternPropValue | string | SExpr;
|
|
3804
|
+
closeEvent?: string | SExpr;
|
|
3802
3805
|
footer?: unknown | string | SExpr;
|
|
3803
3806
|
slideOver?: boolean | string | SExpr;
|
|
3804
3807
|
fields: unknown[] | string | SExpr;
|
|
@@ -4170,6 +4173,7 @@ interface PatternPropsMap {
|
|
|
4170
4173
|
fields: unknown[] | string | SExpr;
|
|
4171
4174
|
fieldNames?: unknown[] | string | SExpr;
|
|
4172
4175
|
columns?: unknown[] | string | SExpr;
|
|
4176
|
+
itemClickEvent?: string | SExpr;
|
|
4173
4177
|
itemActions?: unknown[] | string | SExpr;
|
|
4174
4178
|
showTotal?: boolean | string | SExpr;
|
|
4175
4179
|
showAvatar?: boolean | string | SExpr;
|
|
@@ -4200,6 +4204,9 @@ interface PatternPropsMap {
|
|
|
4200
4204
|
children?: unknown | string | SExpr;
|
|
4201
4205
|
fields: unknown[] | string | SExpr;
|
|
4202
4206
|
fieldNames?: unknown[] | string | SExpr;
|
|
4207
|
+
itemClickEvent?: string | SExpr;
|
|
4208
|
+
completedField?: string | SExpr;
|
|
4209
|
+
disabledField?: string | SExpr;
|
|
4203
4210
|
};
|
|
4204
4211
|
'entity-table': {
|
|
4205
4212
|
type: 'entity-table';
|
|
@@ -4217,6 +4224,7 @@ interface PatternPropsMap {
|
|
|
4217
4224
|
entity?: PatternPropValue | unknown[] | string | SExpr;
|
|
4218
4225
|
fields: unknown[] | string | SExpr;
|
|
4219
4226
|
columns?: unknown[] | string | SExpr;
|
|
4227
|
+
itemClickEvent?: string | SExpr;
|
|
4220
4228
|
itemActions?: unknown[] | string | SExpr;
|
|
4221
4229
|
emptyIcon?: unknown | string | SExpr;
|
|
4222
4230
|
emptyTitle?: string | SExpr;
|
|
@@ -4559,6 +4567,7 @@ interface PatternPropsMap {
|
|
|
4559
4567
|
endField?: string | SExpr;
|
|
4560
4568
|
durationField?: string | SExpr;
|
|
4561
4569
|
statusField?: string | SExpr;
|
|
4570
|
+
statusColorMap?: PatternPropValue | string | SExpr;
|
|
4562
4571
|
groupField?: string | SExpr;
|
|
4563
4572
|
rangeStart?: string | unknown | SExpr;
|
|
4564
4573
|
rangeEnd?: string | unknown | SExpr;
|
|
@@ -4703,6 +4712,7 @@ interface PatternPropsMap {
|
|
|
4703
4712
|
onClick?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
4704
4713
|
onKeyDown?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
4705
4714
|
role?: string | SExpr;
|
|
4715
|
+
id?: string | SExpr;
|
|
4706
4716
|
tabIndex?: number | string | SExpr;
|
|
4707
4717
|
action?: string | SExpr;
|
|
4708
4718
|
actionPayload?: PatternPropValue | string | SExpr;
|
|
@@ -5037,6 +5047,8 @@ interface PatternPropsMap {
|
|
|
5037
5047
|
showUpload?: boolean | string | SExpr;
|
|
5038
5048
|
actions?: unknown[] | string | SExpr;
|
|
5039
5049
|
aspectRatio?: string | SExpr;
|
|
5050
|
+
srcField?: string | SExpr;
|
|
5051
|
+
captionField?: string | SExpr;
|
|
5040
5052
|
};
|
|
5041
5053
|
'menu': {
|
|
5042
5054
|
type: 'menu';
|
|
@@ -5678,6 +5690,7 @@ interface PatternPropsMap {
|
|
|
5678
5690
|
onClick?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
5679
5691
|
onKeyDown?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
5680
5692
|
role?: string | SExpr;
|
|
5693
|
+
id?: string | SExpr;
|
|
5681
5694
|
tabIndex?: number | string | SExpr;
|
|
5682
5695
|
action?: string | SExpr;
|
|
5683
5696
|
actionPayload?: PatternPropValue | string | SExpr;
|
|
@@ -6135,6 +6148,11 @@ interface PatternPropsMap {
|
|
|
6135
6148
|
className?: string | SExpr;
|
|
6136
6149
|
children?: unknown | string | SExpr;
|
|
6137
6150
|
isOccupied?: boolean | string | SExpr;
|
|
6151
|
+
onPointerDown?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
6152
|
+
onPointerUp?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
6153
|
+
onPointerCancel?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
6154
|
+
onPointerLeave?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
6155
|
+
'data-testid'?: string | SExpr;
|
|
6138
6156
|
};
|
|
6139
6157
|
'timeline': {
|
|
6140
6158
|
type: 'timeline';
|
|
@@ -6144,7 +6162,11 @@ interface PatternPropsMap {
|
|
|
6144
6162
|
entity?: PatternPropValue | unknown[] | string | SExpr;
|
|
6145
6163
|
title?: string | SExpr;
|
|
6146
6164
|
items?: unknown[] | string | SExpr;
|
|
6147
|
-
fields
|
|
6165
|
+
fields?: unknown[] | string | SExpr;
|
|
6166
|
+
titleField?: string | SExpr;
|
|
6167
|
+
descriptionField?: string | SExpr;
|
|
6168
|
+
dateField?: string | SExpr;
|
|
6169
|
+
statusField?: string | SExpr;
|
|
6148
6170
|
itemActions?: unknown[] | string | SExpr;
|
|
6149
6171
|
look?: string | SExpr;
|
|
6150
6172
|
};
|
|
@@ -6248,6 +6270,7 @@ interface PatternPropsMap {
|
|
|
6248
6270
|
id?: string | SExpr;
|
|
6249
6271
|
className?: string | SExpr;
|
|
6250
6272
|
style?: PatternPropValue | string | SExpr;
|
|
6273
|
+
role?: string | SExpr;
|
|
6251
6274
|
format?: string | SExpr;
|
|
6252
6275
|
content?: unknown | string | SExpr;
|
|
6253
6276
|
children?: unknown | string | SExpr;
|
|
@@ -6348,6 +6371,7 @@ interface PatternPropsMap {
|
|
|
6348
6371
|
onClick?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
6349
6372
|
onKeyDown?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
6350
6373
|
role?: string | SExpr;
|
|
6374
|
+
id?: string | SExpr;
|
|
6351
6375
|
tabIndex?: number | string | SExpr;
|
|
6352
6376
|
action?: string | SExpr;
|
|
6353
6377
|
actionPayload?: PatternPropValue | string | SExpr;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as OrbitalEntity } from './effect-
|
|
2
|
-
import { O as OrbitalSchema, a as OrbitalDefinition } from './schema-
|
|
1
|
+
import { O as OrbitalEntity } from './effect-BLZKE5PN.js';
|
|
2
|
+
import { O as OrbitalSchema, a as OrbitalDefinition } from './schema-BJGPvTln.js';
|
|
3
3
|
import { S as SExpr } from './expression-Dz84kipC.js';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/factory/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { k as FactorySignatureCatalog, h as FactoryParamValue, c as FactoryConfigTier, b as FactoryConfigParam, F as FactoryCallSite, j as FactorySignature, R as RuleOverlay, p as RuleOverlayEntry, o as PresentationOverlay, T as TraitOverlay, J as JsonSchema } from '../types-
|
|
2
|
-
export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, i as FactoryProvenance, l as FactorySignatureEntityField, m as FactoryTraitSignature, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, S as SchemaFieldType, q as TraitOverlayEntry, r as TraitOverlayListener } from '../types-
|
|
1
|
+
import { k as FactorySignatureCatalog, h as FactoryParamValue, c as FactoryConfigTier, b as FactoryConfigParam, F as FactoryCallSite, j as FactorySignature, R as RuleOverlay, p as RuleOverlayEntry, o as PresentationOverlay, T as TraitOverlay, J as JsonSchema } from '../types-7d7mtx4j.js';
|
|
2
|
+
export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, i as FactoryProvenance, l as FactorySignatureEntityField, m as FactoryTraitSignature, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, S as SchemaFieldType, q as TraitOverlayEntry, r as TraitOverlayListener } from '../types-7d7mtx4j.js';
|
|
3
3
|
import { J as JsonValue } from '../json-D8gmyK3l.js';
|
|
4
|
-
import { a as EntityPersistence, E as EntityField } from '../effect-
|
|
5
|
-
import { a as TraitReference } from '../trait-
|
|
4
|
+
import { a as EntityPersistence, E as EntityField } from '../effect-BLZKE5PN.js';
|
|
5
|
+
import { a as TraitReference } from '../trait-DlZMxzEB.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../expression-Dz84kipC.js';
|
|
8
8
|
|