@elaraai/east-ui 1.0.82 → 1.0.84

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.
Files changed (198) hide show
  1. package/dist/src/charts/chart/index.d.ts +7 -4
  2. package/dist/src/charts/chart/index.d.ts.map +1 -1
  3. package/dist/src/charts/chart/index.js +3 -1
  4. package/dist/src/charts/chart/index.js.map +1 -1
  5. package/dist/src/collections/library/index.d.ts +1182 -37
  6. package/dist/src/collections/library/index.d.ts.map +1 -1
  7. package/dist/src/collections/library/index.js +191 -13
  8. package/dist/src/collections/library/index.js.map +1 -1
  9. package/dist/src/collections/library/types.d.ts +376 -180
  10. package/dist/src/collections/library/types.d.ts.map +1 -1
  11. package/dist/src/collections/library/types.js +188 -91
  12. package/dist/src/collections/library/types.js.map +1 -1
  13. package/dist/src/collections/plan/root.d.ts.map +1 -1
  14. package/dist/src/collections/plan/root.js +5 -30
  15. package/dist/src/collections/plan/root.js.map +1 -1
  16. package/dist/src/component.d.ts +490 -11
  17. package/dist/src/component.d.ts.map +1 -1
  18. package/dist/src/component.js +17 -3
  19. package/dist/src/component.js.map +1 -1
  20. package/dist/src/contracts/drag.d.ts.map +1 -1
  21. package/dist/src/contracts/drag.js +1 -0
  22. package/dist/src/contracts/drag.js.map +1 -1
  23. package/dist/src/contracts/editing.d.ts +19 -0
  24. package/dist/src/contracts/editing.d.ts.map +1 -1
  25. package/dist/src/contracts/editing.js +31 -1
  26. package/dist/src/contracts/editing.js.map +1 -1
  27. package/dist/src/display/bar-strip/index.d.ts +39 -6
  28. package/dist/src/display/bar-strip/index.d.ts.map +1 -1
  29. package/dist/src/display/bar-strip/index.js +16 -38
  30. package/dist/src/display/bar-strip/index.js.map +1 -1
  31. package/dist/src/display/bar-strip/types.d.ts +17 -1
  32. package/dist/src/display/bar-strip/types.d.ts.map +1 -1
  33. package/dist/src/display/bar-strip/types.js.map +1 -1
  34. package/dist/src/feedback/status/index.d.ts +10 -2
  35. package/dist/src/feedback/status/index.d.ts.map +1 -1
  36. package/dist/src/feedback/status/index.js +8 -3
  37. package/dist/src/feedback/status/index.js.map +1 -1
  38. package/dist/src/index.d.ts +2 -1
  39. package/dist/src/index.d.ts.map +1 -1
  40. package/dist/src/index.js +1 -1
  41. package/dist/src/index.js.map +1 -1
  42. package/dist/src/internal.d.ts +2 -1
  43. package/dist/src/internal.d.ts.map +1 -1
  44. package/dist/src/internal.js +1 -1
  45. package/dist/src/internal.js.map +1 -1
  46. package/dist/src/layout/dock/index.d.ts +58 -16
  47. package/dist/src/layout/dock/index.d.ts.map +1 -1
  48. package/dist/src/layout/dock/index.js +48 -13
  49. package/dist/src/layout/dock/index.js.map +1 -1
  50. package/dist/src/layout/dock/types.d.ts +62 -10
  51. package/dist/src/layout/dock/types.d.ts.map +1 -1
  52. package/dist/src/layout/dock/types.js +21 -4
  53. package/dist/src/layout/dock/types.js.map +1 -1
  54. package/dist/src/layout/index.d.ts +1 -0
  55. package/dist/src/layout/index.d.ts.map +1 -1
  56. package/dist/src/layout/index.js +1 -0
  57. package/dist/src/layout/index.js.map +1 -1
  58. package/dist/src/layout/snap-grid/index.d.ts +1291 -0
  59. package/dist/src/layout/snap-grid/index.d.ts.map +1 -0
  60. package/dist/src/layout/snap-grid/index.js +510 -0
  61. package/dist/src/layout/snap-grid/index.js.map +1 -0
  62. package/dist/src/layout/snap-grid/types.d.ts +1046 -0
  63. package/dist/src/layout/snap-grid/types.d.ts.map +1 -0
  64. package/dist/src/layout/snap-grid/types.js +371 -0
  65. package/dist/src/layout/snap-grid/types.js.map +1 -0
  66. package/dist/src/navigation/app/index.d.ts +15 -0
  67. package/dist/src/navigation/app/index.d.ts.map +1 -1
  68. package/dist/src/navigation/app/index.js +2 -2
  69. package/dist/src/navigation/app/index.js.map +1 -1
  70. package/dist/src/navigation/nav-list/index.d.ts +5 -3
  71. package/dist/src/navigation/nav-list/index.d.ts.map +1 -1
  72. package/dist/src/navigation/nav-list/index.js +5 -3
  73. package/dist/src/navigation/nav-list/index.js.map +1 -1
  74. package/dist/src/overlays/action-bar/index.d.ts +9 -0
  75. package/dist/src/overlays/action-bar/index.d.ts.map +1 -1
  76. package/dist/src/overlays/action-bar/index.js +11 -1
  77. package/dist/src/overlays/action-bar/index.js.map +1 -1
  78. package/dist/src/overlays/action-bar/types.d.ts +11 -7
  79. package/dist/src/overlays/action-bar/types.d.ts.map +1 -1
  80. package/dist/src/overlays/action-bar/types.js +8 -1
  81. package/dist/src/overlays/action-bar/types.js.map +1 -1
  82. package/dist/src/overlays/dialog/index.d.ts +16 -0
  83. package/dist/src/overlays/dialog/index.d.ts.map +1 -1
  84. package/dist/src/overlays/dialog/index.js +18 -0
  85. package/dist/src/overlays/dialog/index.js.map +1 -1
  86. package/dist/src/overlays/dialog/types.d.ts +18 -11
  87. package/dist/src/overlays/dialog/types.d.ts.map +1 -1
  88. package/dist/src/overlays/dialog/types.js +12 -0
  89. package/dist/src/overlays/dialog/types.js.map +1 -1
  90. package/dist/src/overlays/drawer/index.d.ts +12 -0
  91. package/dist/src/overlays/drawer/index.d.ts.map +1 -1
  92. package/dist/src/overlays/drawer/index.js +14 -0
  93. package/dist/src/overlays/drawer/index.js.map +1 -1
  94. package/dist/src/overlays/drawer/types.d.ts +13 -1
  95. package/dist/src/overlays/drawer/types.d.ts.map +1 -1
  96. package/dist/src/overlays/drawer/types.js +12 -0
  97. package/dist/src/overlays/drawer/types.js.map +1 -1
  98. package/dist/src/overlays/hover-card/index.d.ts +9 -0
  99. package/dist/src/overlays/hover-card/index.d.ts.map +1 -1
  100. package/dist/src/overlays/hover-card/index.js +12 -1
  101. package/dist/src/overlays/hover-card/index.js.map +1 -1
  102. package/dist/src/overlays/hover-card/types.d.ts +9 -1
  103. package/dist/src/overlays/hover-card/types.d.ts.map +1 -1
  104. package/dist/src/overlays/hover-card/types.js +8 -0
  105. package/dist/src/overlays/hover-card/types.js.map +1 -1
  106. package/dist/src/overlays/popover/index.d.ts +15 -0
  107. package/dist/src/overlays/popover/index.d.ts.map +1 -1
  108. package/dist/src/overlays/popover/index.js +19 -1
  109. package/dist/src/overlays/popover/index.js.map +1 -1
  110. package/dist/src/overlays/popover/types.d.ts +19 -5
  111. package/dist/src/overlays/popover/types.d.ts.map +1 -1
  112. package/dist/src/overlays/popover/types.js +14 -0
  113. package/dist/src/overlays/popover/types.js.map +1 -1
  114. package/dist/src/overlays/toggle-tip/index.d.ts +9 -0
  115. package/dist/src/overlays/toggle-tip/index.d.ts.map +1 -1
  116. package/dist/src/overlays/toggle-tip/index.js +12 -1
  117. package/dist/src/overlays/toggle-tip/index.js.map +1 -1
  118. package/dist/src/overlays/toggle-tip/types.d.ts +9 -1
  119. package/dist/src/overlays/toggle-tip/types.d.ts.map +1 -1
  120. package/dist/src/overlays/toggle-tip/types.js +8 -0
  121. package/dist/src/overlays/toggle-tip/types.js.map +1 -1
  122. package/dist/src/runtime/collections/library.d.ts +10 -6
  123. package/dist/src/runtime/collections/library.d.ts.map +1 -1
  124. package/dist/src/runtime/collections/library.js +10 -6
  125. package/dist/src/runtime/collections/library.js.map +1 -1
  126. package/dist/src/runtime/display/bar-strip.d.ts +38 -10
  127. package/dist/src/runtime/display/bar-strip.d.ts.map +1 -1
  128. package/dist/src/runtime/display/bar-strip.js +12 -34
  129. package/dist/src/runtime/display/bar-strip.js.map +1 -1
  130. package/dist/src/runtime/feedback/status.d.ts +4 -2
  131. package/dist/src/runtime/feedback/status.d.ts.map +1 -1
  132. package/dist/src/runtime/feedback/status.js +4 -2
  133. package/dist/src/runtime/feedback/status.js.map +1 -1
  134. package/dist/src/runtime/layout/dock.d.ts +13 -8
  135. package/dist/src/runtime/layout/dock.d.ts.map +1 -1
  136. package/dist/src/runtime/layout/dock.js +13 -8
  137. package/dist/src/runtime/layout/dock.js.map +1 -1
  138. package/dist/src/runtime/layout/index.d.ts +1 -0
  139. package/dist/src/runtime/layout/index.d.ts.map +1 -1
  140. package/dist/src/runtime/layout/index.js +1 -0
  141. package/dist/src/runtime/layout/index.js.map +1 -1
  142. package/dist/src/runtime/layout/snap-grid.d.ts +68 -0
  143. package/dist/src/runtime/layout/snap-grid.d.ts.map +1 -0
  144. package/dist/src/runtime/layout/snap-grid.js +44 -0
  145. package/dist/src/runtime/layout/snap-grid.js.map +1 -0
  146. package/dist/src/runtime/navigation/app.d.ts +3 -1
  147. package/dist/src/runtime/navigation/app.d.ts.map +1 -1
  148. package/dist/src/runtime/navigation/app.js +3 -1
  149. package/dist/src/runtime/navigation/app.js.map +1 -1
  150. package/dist/test/collections/library.examples.d.ts +28 -0
  151. package/dist/test/collections/library.examples.d.ts.map +1 -1
  152. package/dist/test/collections/library.examples.js +183 -3
  153. package/dist/test/collections/library.examples.js.map +1 -1
  154. package/dist/test/display/bar-strip.examples.d.ts +6 -0
  155. package/dist/test/display/bar-strip.examples.d.ts.map +1 -1
  156. package/dist/test/display/bar-strip.examples.js +24 -1
  157. package/dist/test/display/bar-strip.examples.js.map +1 -1
  158. package/dist/test/feedback/status.examples.d.ts +1 -0
  159. package/dist/test/feedback/status.examples.d.ts.map +1 -1
  160. package/dist/test/feedback/status.examples.js +8 -0
  161. package/dist/test/feedback/status.examples.js.map +1 -1
  162. package/dist/test/layout/dock.examples.d.ts +14 -0
  163. package/dist/test/layout/dock.examples.d.ts.map +1 -1
  164. package/dist/test/layout/dock.examples.js +35 -0
  165. package/dist/test/layout/dock.examples.js.map +1 -1
  166. package/dist/test/layout/snap-grid.examples.d.ts +4 -0
  167. package/dist/test/layout/snap-grid.examples.d.ts.map +1 -0
  168. package/dist/test/layout/snap-grid.examples.js +252 -0
  169. package/dist/test/layout/snap-grid.examples.js.map +1 -0
  170. package/dist/test/navigation/app.examples.d.ts +6 -0
  171. package/dist/test/navigation/app.examples.d.ts.map +1 -1
  172. package/dist/test/navigation/app.examples.js +37 -2
  173. package/dist/test/navigation/app.examples.js.map +1 -1
  174. package/dist/test/navigation/nav-list.examples.d.ts +1 -0
  175. package/dist/test/navigation/nav-list.examples.d.ts.map +1 -1
  176. package/dist/test/navigation/nav-list.examples.js +21 -1
  177. package/dist/test/navigation/nav-list.examples.js.map +1 -1
  178. package/dist/test/overlays/dialog.examples.d.ts +1 -0
  179. package/dist/test/overlays/dialog.examples.d.ts.map +1 -1
  180. package/dist/test/overlays/dialog.examples.js +11 -0
  181. package/dist/test/overlays/dialog.examples.js.map +1 -1
  182. package/dist/test/overlays/drawer.examples.d.ts +1 -0
  183. package/dist/test/overlays/drawer.examples.d.ts.map +1 -1
  184. package/dist/test/overlays/drawer.examples.js +12 -0
  185. package/dist/test/overlays/drawer.examples.js.map +1 -1
  186. package/dist/test/overlays/hover-card.examples.d.ts +1 -0
  187. package/dist/test/overlays/hover-card.examples.d.ts.map +1 -1
  188. package/dist/test/overlays/hover-card.examples.js +10 -0
  189. package/dist/test/overlays/hover-card.examples.js.map +1 -1
  190. package/dist/test/overlays/popover.examples.d.ts +1 -0
  191. package/dist/test/overlays/popover.examples.d.ts.map +1 -1
  192. package/dist/test/overlays/popover.examples.js +12 -2
  193. package/dist/test/overlays/popover.examples.js.map +1 -1
  194. package/dist/test/overlays/toggle-tip.examples.d.ts +1 -0
  195. package/dist/test/overlays/toggle-tip.examples.d.ts.map +1 -1
  196. package/dist/test/overlays/toggle-tip.examples.js +11 -1
  197. package/dist/test/overlays/toggle-tip.examples.js.map +1 -1
  198. package/package.json +4 -4
@@ -2,17 +2,20 @@
2
2
  * Copyright (c) 2025 Elara AI Pty Ltd
3
3
  * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
4
  */
5
- import { ArrayType, BooleanType, DictType, FloatType, NullType, OptionType, StringType, StructType, VariantType, FunctionType, type SubtypeExprOrValue } from "@elaraai/east";
5
+ import { ArrayType, BooleanType, DictType, FloatType, IntegerType, NullType, OptionType, StringType, StructType, VariantType, FunctionType, type SubtypeExprOrValue } from "@elaraai/east";
6
6
  /**
7
- * Status pill on a Library card.
7
+ * A Library card's status.
8
8
  *
9
9
  * @remarks
10
10
  * The card's availability/assignment state (`ON ROSTER`, `AT CAP`,
11
- * `PTO MAR 4–8`, `IN SERVICE`), rendered as a small pill in the card's top
12
- * right using the standard status tone set.
11
+ * `PTO MAR 4–8`, `IN SERVICE`), in the standard status tone set. A compact
12
+ * card draws it as a small pill in its top right; a gallery card draws it as
13
+ * `<Status>` does — a dot and the word, the dot open when `ring` is set.
13
14
  *
14
15
  * @property label - Pill text (rendered uppercase)
15
16
  * @property tone - Standard status tone
17
+ * @property ring - The dot drawn open, a state not reached yet (a draft never
18
+ * published); a gallery card's, which a compact card's pill has none of
16
19
  */
17
20
  export declare const LibraryStatusType: StructType<{
18
21
  /** Pill text (rendered uppercase) */
@@ -25,11 +28,59 @@ export declare const LibraryStatusType: StructType<{
25
28
  readonly info: NullType;
26
29
  readonly neutral: NullType;
27
30
  }>;
31
+ /** The dot drawn open — a gallery card's */
32
+ readonly ring: BooleanType;
28
33
  }>;
29
34
  /**
30
35
  * Type representing Library card status values.
31
36
  */
32
37
  export type LibraryStatusType = typeof LibraryStatusType;
38
+ /**
39
+ * A glyph at a Library card's right edge — a lock on something fixed, a dot
40
+ * for a status.
41
+ *
42
+ * @remarks
43
+ * Drawn in the card's quiet ink, or the brand ink while the card is placed,
44
+ * unless it carries a tone.
45
+ *
46
+ * @property icon - Font Awesome solid icon name
47
+ * @property label - What the glyph says, for assistive technology and the tooltip
48
+ * @property tone - Optional status tone that colours the glyph
49
+ */
50
+ export declare const LibraryGlyphType: StructType<{
51
+ /** Font Awesome solid icon name */
52
+ readonly icon: StringType;
53
+ /** What the glyph says, for assistive technology and the tooltip */
54
+ readonly label: StringType;
55
+ /** Optional status tone that colours the glyph */
56
+ readonly tone: OptionType<VariantType<{
57
+ readonly success: NullType;
58
+ readonly warning: NullType;
59
+ readonly danger: NullType;
60
+ readonly info: NullType;
61
+ readonly neutral: NullType;
62
+ }>>;
63
+ }>;
64
+ /**
65
+ * Type representing a Library card's trailing glyph.
66
+ */
67
+ export type LibraryGlyphType = typeof LibraryGlyphType;
68
+ /**
69
+ * What the Library calls its items — "Search 47 components…".
70
+ *
71
+ * @property singular - One item ("component")
72
+ * @property plural - Any other count ("components")
73
+ */
74
+ export declare const LibraryNounType: StructType<{
75
+ /** One item ("component") */
76
+ readonly singular: StringType;
77
+ /** Any other count ("components") */
78
+ readonly plural: StringType;
79
+ }>;
80
+ /**
81
+ * Type representing the Library's noun.
82
+ */
83
+ export type LibraryNounType = typeof LibraryNounType;
33
84
  /**
34
85
  * A secondary dimension's value on one card.
35
86
  *
@@ -63,33 +114,89 @@ export declare const LibraryDimValueType: VariantType<{
63
114
  */
64
115
  export type LibraryDimValueType = typeof LibraryDimValueType;
65
116
  /**
66
- * A resolved Library card.
117
+ * How a Library draws its cards.
67
118
  *
68
- * @remarks
69
- * Produced by the `item` accessor plus the dimension / group / search
70
- * accessors at authoring time — the renderer never sees the host's row type.
119
+ * @property compact - A line per card: the grip, the icon tile, the name over
120
+ * its meta line, and any status and glyph at the right — the palette a
121
+ * surface drags from
122
+ * @property gallery - A large card per item: its media, then its name and
123
+ * status, its meta line, and a foot holding a byline and an action — the
124
+ * library a person browses
125
+ */
126
+ export declare const LibraryVariantType: VariantType<{
127
+ readonly compact: NullType;
128
+ readonly gallery: NullType;
129
+ }>;
130
+ /**
131
+ * Type representing how a Library draws its cards.
132
+ */
133
+ export type LibraryVariantType = typeof LibraryVariantType;
134
+ /** Literal shorthand for {@link LibraryVariantType}. */
135
+ export type LibraryVariantLiteral = "compact" | "gallery";
136
+ /**
137
+ * How a gallery lays its cards out.
138
+ *
139
+ * @property grid - Cards across the style's `columns`, fewer as the Library
140
+ * narrows, and one on a phone
141
+ * @property list - A card per row, its media at the start
142
+ */
143
+ export declare const LibraryLayoutType: VariantType<{
144
+ readonly grid: NullType;
145
+ readonly list: NullType;
146
+ }>;
147
+ /**
148
+ * Type representing how a gallery lays its cards out.
149
+ */
150
+ export type LibraryLayoutType = typeof LibraryLayoutType;
151
+ /** Literal shorthand for {@link LibraryLayoutType}. */
152
+ export type LibraryLayoutLiteral = "grid" | "list";
153
+ /**
154
+ * Where a gallery card's media sits, in the grid layout.
155
+ *
156
+ * @property top - Above the face, the style's `mediaSize` tall
157
+ * @property start - At the face's start, the style's `mediaSize` wide
158
+ */
159
+ export declare const LibraryMediaPlacementType: VariantType<{
160
+ readonly top: NullType;
161
+ readonly start: NullType;
162
+ }>;
163
+ /**
164
+ * Type representing where a gallery card's media sits.
165
+ */
166
+ export type LibraryMediaPlacementType = typeof LibraryMediaPlacementType;
167
+ /** Literal shorthand for {@link LibraryMediaPlacementType}. */
168
+ export type LibraryMediaPlacementLiteral = "top" | "start";
169
+ /**
170
+ * The card face, over its media's type — the per-item fields produced by the
171
+ * `item` accessor, before the factory merges in dimensions, group placements,
172
+ * and search text.
173
+ *
174
+ * @typeParam C - The media's type
175
+ * @param content - The media's type — the recursion node in the inline arm,
176
+ * `UIComponentType` in `Library.Types.CardFace`
177
+ * @returns The card face struct
71
178
  *
72
179
  * @property key - Item identity; carried by `LibraryRef` when dragged
73
180
  * @property label - Primary identity line
74
- * @property sublabel - Optional muted second line (role / class)
181
+ * @property sublabel - Optional muted second line
75
182
  * @property icon - Optional Font Awesome solid icon name
76
- * @property status - Optional status pill
183
+ * @property status - Optional status
184
+ * @property trailing - Optional glyph at the card's right edge — a gallery
185
+ * card's foot's end
77
186
  * @property draggable - Whether the card can start a drag
78
- * @property filtered - Whether the card renders de-emphasised (dimmed, drag disabled) — the `Slice.partition` "keep the excluded" feed
79
- * @property search - Optional filter text (card hides when unmatched)
80
- * @property groups - Group value per group-by option key
81
- * @property dims - Secondary dimension value per dimension key
187
+ * @property filtered - Whether the card renders de-emphasised (dimmed, drag disabled)
188
+ * @property placed - Whether the card shows its placed state
189
+ * @property media - A gallery card's media: any UI component
190
+ * @property avatar - A gallery card's byline avatar: the name whose initials it shows
191
+ * @property byline - A gallery card's byline: the line in its foot, after the avatar
192
+ * @property action - A gallery card's action: a label in the link voice at its
193
+ * foot's end, which a click on the card follows
82
194
  */
83
- export declare const LibraryItemType: StructType<{
84
- /** Item identity; carried by `LibraryRef` when dragged */
195
+ export declare function LibraryCardFaceOf<const C>(content: C): StructType<{
85
196
  readonly key: StringType;
86
- /** Primary identity line */
87
197
  readonly label: StringType;
88
- /** Optional muted second line (role / class) */
89
198
  readonly sublabel: OptionType<StringType>;
90
- /** Optional Font Awesome solid icon name */
91
199
  readonly icon: OptionType<StringType>;
92
- /** Optional status pill */
93
200
  readonly status: OptionType<StructType<{
94
201
  /** Pill text (rendered uppercase) */
95
202
  readonly label: StringType;
@@ -101,16 +208,53 @@ export declare const LibraryItemType: StructType<{
101
208
  readonly info: NullType;
102
209
  readonly neutral: NullType;
103
210
  }>;
211
+ /** The dot drawn open — a gallery card's */
212
+ readonly ring: BooleanType;
213
+ }>>;
214
+ readonly trailing: OptionType<StructType<{
215
+ /** Font Awesome solid icon name */
216
+ readonly icon: StringType;
217
+ /** What the glyph says, for assistive technology and the tooltip */
218
+ readonly label: StringType;
219
+ /** Optional status tone that colours the glyph */
220
+ readonly tone: OptionType<VariantType<{
221
+ readonly success: NullType;
222
+ readonly warning: NullType;
223
+ readonly danger: NullType;
224
+ readonly info: NullType;
225
+ readonly neutral: NullType;
226
+ }>>;
104
227
  }>>;
105
- /** Whether the card can start a drag */
106
228
  readonly draggable: BooleanType;
107
- /** Whether the card renders de-emphasised (dimmed, drag disabled) */
108
229
  readonly filtered: BooleanType;
109
- /** Optional filter text (card hides when unmatched) */
230
+ readonly placed: BooleanType;
231
+ readonly media: OptionType<C>;
232
+ readonly avatar: OptionType<StringType>;
233
+ readonly byline: OptionType<StringType>;
234
+ readonly action: OptionType<StringType>;
235
+ }>;
236
+ /**
237
+ * A resolved Library card, over its media's type.
238
+ *
239
+ * @remarks
240
+ * Produced by the `item` accessor plus the dimension / group / search
241
+ * accessors at authoring time — the renderer never sees the host's row type.
242
+ * The face's fields ({@link LibraryCardFaceOf}), then:
243
+ *
244
+ * @typeParam C - The media's type
245
+ * @param content - The media's type — the recursion node in the inline arm,
246
+ * `UIComponentType` in `Library.Types.Item`
247
+ * @returns The card struct
248
+ *
249
+ * @property search - Optional filter text (card hides when unmatched)
250
+ * @property groups - Group value per group-by option key
251
+ * @property facets - The values the card holds per filter key
252
+ * @property dims - Secondary dimension value per dimension key
253
+ */
254
+ export declare function LibraryItemOf<const C>(content: C): StructType<{
110
255
  readonly search: OptionType<StringType>;
111
- /** Group value per group-by option key */
112
256
  readonly groups: DictType<StringType, StringType>;
113
- /** Secondary dimension value per dimension key */
257
+ readonly facets: DictType<StringType, ArrayType<StringType>>;
114
258
  readonly dims: DictType<StringType, VariantType<{
115
259
  /** Utilisation bar with optional right-aligned text */
116
260
  readonly meter: StructType<{
@@ -126,34 +270,10 @@ export declare const LibraryItemType: StructType<{
126
270
  /** A muted caption line */
127
271
  readonly text: StringType;
128
272
  }>>;
129
- }>;
130
- /**
131
- * Type representing resolved Library cards.
132
- */
133
- export type LibraryItemType = typeof LibraryItemType;
134
- /**
135
- * The card face — the per-item fields produced by the `item` accessor
136
- * (via `Library.card`), before the factory merges in dimensions, group
137
- * placements, and search text.
138
- *
139
- * @property key - Item identity; carried by `LibraryRef` when dragged
140
- * @property label - Primary identity line
141
- * @property sublabel - Optional muted second line
142
- * @property icon - Optional Font Awesome solid icon name
143
- * @property status - Optional status pill
144
- * @property draggable - Whether the card can start a drag
145
- * @property filtered - Whether the card renders de-emphasised (dimmed, drag disabled)
146
- */
147
- export declare const LibraryCardFaceType: StructType<{
148
- /** Item identity; carried by `LibraryRef` when dragged */
149
273
  readonly key: StringType;
150
- /** Primary identity line */
151
274
  readonly label: StringType;
152
- /** Optional muted second line */
153
275
  readonly sublabel: OptionType<StringType>;
154
- /** Optional Font Awesome solid icon name */
155
276
  readonly icon: OptionType<StringType>;
156
- /** Optional status pill */
157
277
  readonly status: OptionType<StructType<{
158
278
  /** Pill text (rendered uppercase) */
159
279
  readonly label: StringType;
@@ -165,16 +285,31 @@ export declare const LibraryCardFaceType: StructType<{
165
285
  readonly info: NullType;
166
286
  readonly neutral: NullType;
167
287
  }>;
288
+ /** The dot drawn open — a gallery card's */
289
+ readonly ring: BooleanType;
290
+ }>>;
291
+ readonly trailing: OptionType<StructType<{
292
+ /** Font Awesome solid icon name */
293
+ readonly icon: StringType;
294
+ /** What the glyph says, for assistive technology and the tooltip */
295
+ readonly label: StringType;
296
+ /** Optional status tone that colours the glyph */
297
+ readonly tone: OptionType<VariantType<{
298
+ readonly success: NullType;
299
+ readonly warning: NullType;
300
+ readonly danger: NullType;
301
+ readonly info: NullType;
302
+ readonly neutral: NullType;
303
+ }>>;
168
304
  }>>;
169
- /** Whether the card can start a drag */
170
305
  readonly draggable: BooleanType;
171
- /** Whether the card renders de-emphasised (dimmed, drag disabled) */
172
306
  readonly filtered: BooleanType;
307
+ readonly placed: BooleanType;
308
+ readonly media: OptionType<C>;
309
+ readonly avatar: OptionType<StringType>;
310
+ readonly byline: OptionType<StringType>;
311
+ readonly action: OptionType<StringType>;
173
312
  }>;
174
- /**
175
- * Type representing card face values.
176
- */
177
- export type LibraryCardFaceType = typeof LibraryCardFaceType;
178
313
  /**
179
314
  * Toolbar metadata for one group-by option.
180
315
  *
@@ -219,7 +354,10 @@ export type LibraryDimMetaType = typeof LibraryDimMetaType;
219
354
  *
220
355
  * @property height - Optional CSS height (e.g. `"480px"`, `"100%"`)
221
356
  * @property maxHeight - Optional CSS max-height
222
- * @property virtualization - Whether rows virtualize inside the scroll region (default `true`)
357
+ * @property virtualization - Whether rows virtualize inside the scroll region (default `true`); a gallery mounts every card
358
+ * @property columns - A gallery's cards across, in the grid layout
359
+ * @property mediaPlacement - Where a gallery card's media sits in the grid layout
360
+ * @property mediaSize - A gallery card's media height, placed on top, or width, placed at the start — a CSS length
223
361
  */
224
362
  export declare const LibraryStyleType: StructType<{
225
363
  /** Optional CSS height (e.g. `"480px"`, `"100%"`) */
@@ -228,6 +366,15 @@ export declare const LibraryStyleType: StructType<{
228
366
  readonly maxHeight: OptionType<StringType>;
229
367
  /** Whether rows virtualize inside the scroll region (default `true`) */
230
368
  readonly virtualization: OptionType<BooleanType>;
369
+ /** A gallery's cards across, in the grid layout */
370
+ readonly columns: OptionType<IntegerType>;
371
+ /** Where a gallery card's media sits in the grid layout */
372
+ readonly mediaPlacement: OptionType<VariantType<{
373
+ readonly top: NullType;
374
+ readonly start: NullType;
375
+ }>>;
376
+ /** A gallery card's media height (top) or width (start) — a CSS length */
377
+ readonly mediaSize: OptionType<StringType>;
231
378
  }>;
232
379
  /**
233
380
  * Type representing Library layout style values.
@@ -239,24 +386,39 @@ export type LibraryStyleType = typeof LibraryStyleType;
239
386
  * @property height - Optional CSS height (e.g. `"480px"`, `"100%"`); constraining it makes the card grid the Library's own scroll region
240
387
  * @property maxHeight - Optional CSS max-height
241
388
  * @property virtualization - Whether rows virtualize inside the scroll region (default `true`; set `false` to always mount every card)
389
+ * @property columns - A gallery's cards across, in the grid layout (default 3)
390
+ * @property mediaPlacement - Where a gallery card's media sits in the grid layout (default `"top"`)
391
+ * @property mediaSize - A gallery card's media height, placed on top, or width, placed at the start
242
392
  */
243
393
  export interface LibraryStyle {
244
394
  /** Uniform sizing (#320): bound the Library — a CSS length — a bare number (`"320"`), `"fill"` (fill the parent box), a percentage, `calc(...)`, or explicit `px` (`"480px"`, `"100%"`); constraining it makes the card grid the Library's own scroll region */
245
395
  height?: SubtypeExprOrValue<StringType>;
246
396
  /** Uniform sizing (#320): max-height cap — a pixel `number` or CSS length */
247
397
  maxHeight?: SubtypeExprOrValue<StringType>;
248
- /** Whether rows virtualize inside the scroll region (default `true`; set `false` to always mount every card) */
398
+ /** Whether rows virtualize inside the scroll region (default `true`; set `false` to always mount every card). A gallery mounts every card. */
249
399
  virtualization?: SubtypeExprOrValue<BooleanType>;
400
+ /** A gallery's cards across, in the grid layout (default 3); a narrower Library holds fewer, and a phone one. */
401
+ columns?: SubtypeExprOrValue<IntegerType>;
402
+ /** Where a gallery card's media sits in the grid layout: `"top"` (the default), above the face, or `"start"`, at its start. The list layout puts it at the start. */
403
+ mediaPlacement?: LibraryMediaPlacementLiteral;
404
+ /** A gallery card's media height, placed on top, or width, placed at the start — a CSS length. */
405
+ mediaSize?: SubtypeExprOrValue<StringType>;
250
406
  }
251
407
  /**
252
- * East StructType for the Library component.
408
+ * The Library component's value, over its cards' media type.
253
409
  *
254
410
  * @remarks
255
411
  * A draggable palette of things that get assigned onto grid surfaces
256
412
  * (Roster, Blend): people, assets, vehicles, rooms. Declares the DnD
257
413
  * **source** role under `id`; targets connect by listing that id in their
258
414
  * `sources`. Pure source — it never receives drops, except as the
259
- * return-to-palette sink for its connected targets.
415
+ * return-to-palette sink for its connected targets. A gallery draws the same
416
+ * cards large, each with its media.
417
+ *
418
+ * @typeParam C - The cards' media type
419
+ * @param content - The cards' media type — the recursion node in the inline
420
+ * arm, `UIComponentType` in `Library.Types.Library`
421
+ * @returns The root struct
260
422
  *
261
423
  * @property id - DnD source identity
262
424
  * @property hint - Optional header-right caption (absent ⇒ no header band)
@@ -265,28 +427,45 @@ export interface LibraryStyle {
265
427
  * @property groupSummaries - Right-aligned group-head summary text per group-by option key, per group value
266
428
  * @property dimOptions - SECONDARY dimension toggles (empty = no toggle toolbar)
267
429
  * @property defaultDimensions - Initially-visible dimension keys
430
+ * @property filterOptions - The Filter menu's facets (empty = no Filter menu)
268
431
  * @property searchable - Whether the search input renders
269
- * @property addLabel - Optional footer action label
432
+ * @property noun - Optional name for the items ("Search 47 components…")
433
+ * @property addLabel - Optional footer action label — a gallery's dashed last card
270
434
  * @property onAdd - Optional footer action callback
435
+ * @property onCardClick - Optional callback fired with a card's key when it is clicked
271
436
  * @property slice - Optional slice chrome (bound handle + rail affordances)
272
- * @property style - Optional layout style (height / maxHeight / virtualization)
437
+ * @property style - Optional layout style (height / maxHeight / virtualization, and a gallery's columns and media)
438
+ * @property variant - How the cards are drawn; `none` is compact
439
+ * @property layout - How a gallery lays its cards out; `none` is the grid
440
+ * @property toolbar - Whether the Library draws its toolbar row — `false` for
441
+ * a host whose one toolbar serves several libraries
273
442
  */
274
- export declare const LibraryRootType: StructType<{
275
- /** DnD source identity */
443
+ export declare function LibraryRootOf<const C>(content: C): StructType<{
276
444
  readonly id: StringType;
277
- /** Optional header-right caption (absent ⇒ no header band) */
278
445
  readonly hint: OptionType<StringType>;
279
- /** The resolved cards */
280
446
  readonly items: ArrayType<StructType<{
281
- /** Item identity; carried by `LibraryRef` when dragged */
447
+ readonly search: OptionType<StringType>;
448
+ readonly groups: DictType<StringType, StringType>;
449
+ readonly facets: DictType<StringType, ArrayType<StringType>>;
450
+ readonly dims: DictType<StringType, VariantType<{
451
+ /** Utilisation bar with optional right-aligned text */
452
+ readonly meter: StructType<{
453
+ /** Current value */
454
+ readonly value: FloatType;
455
+ /** Full-scale value */
456
+ readonly max: FloatType;
457
+ /** Optional right-aligned text (e.g. `38h`) */
458
+ readonly text: OptionType<StringType>;
459
+ }>;
460
+ /** A row of small chips */
461
+ readonly chips: ArrayType<StringType>;
462
+ /** A muted caption line */
463
+ readonly text: StringType;
464
+ }>>;
282
465
  readonly key: StringType;
283
- /** Primary identity line */
284
466
  readonly label: StringType;
285
- /** Optional muted second line (role / class) */
286
467
  readonly sublabel: OptionType<StringType>;
287
- /** Optional Font Awesome solid icon name */
288
468
  readonly icon: OptionType<StringType>;
289
- /** Optional status pill */
290
469
  readonly status: OptionType<StructType<{
291
470
  /** Pill text (rendered uppercase) */
292
471
  readonly label: StringType;
@@ -298,57 +477,61 @@ export declare const LibraryRootType: StructType<{
298
477
  readonly info: NullType;
299
478
  readonly neutral: NullType;
300
479
  }>;
480
+ /** The dot drawn open — a gallery card's */
481
+ readonly ring: BooleanType;
482
+ }>>;
483
+ readonly trailing: OptionType<StructType<{
484
+ /** Font Awesome solid icon name */
485
+ readonly icon: StringType;
486
+ /** What the glyph says, for assistive technology and the tooltip */
487
+ readonly label: StringType;
488
+ /** Optional status tone that colours the glyph */
489
+ readonly tone: OptionType<VariantType<{
490
+ readonly success: NullType;
491
+ readonly warning: NullType;
492
+ readonly danger: NullType;
493
+ readonly info: NullType;
494
+ readonly neutral: NullType;
495
+ }>>;
301
496
  }>>;
302
- /** Whether the card can start a drag */
303
497
  readonly draggable: BooleanType;
304
- /** Whether the card renders de-emphasised (dimmed, drag disabled) */
305
498
  readonly filtered: BooleanType;
306
- /** Optional filter text (card hides when unmatched) */
307
- readonly search: OptionType<StringType>;
308
- /** Group value per group-by option key */
309
- readonly groups: DictType<StringType, StringType>;
310
- /** Secondary dimension value per dimension key */
311
- readonly dims: DictType<StringType, VariantType<{
312
- /** Utilisation bar with optional right-aligned text */
313
- readonly meter: StructType<{
314
- /** Current value */
315
- readonly value: FloatType;
316
- /** Full-scale value */
317
- readonly max: FloatType;
318
- /** Optional right-aligned text (e.g. `38h`) */
319
- readonly text: OptionType<StringType>;
320
- }>;
321
- /** A row of small chips */
322
- readonly chips: ArrayType<StringType>;
323
- /** A muted caption line */
324
- readonly text: StringType;
325
- }>>;
499
+ readonly placed: BooleanType;
500
+ readonly media: OptionType<C>;
501
+ readonly avatar: OptionType<StringType>;
502
+ readonly byline: OptionType<StringType>;
503
+ readonly action: OptionType<StringType>;
326
504
  }>>;
327
- /** GROUP BY toolbar options (empty = no grouping toolbar) */
328
505
  readonly groupOptions: ArrayType<StructType<{
329
506
  /** Option identity (matches each card's `groups` key) */
330
507
  readonly key: StringType;
331
508
  /** Segment label in the GROUP BY toolbar */
332
509
  readonly label: StringType;
333
510
  }>>;
334
- /** Right-aligned group-head summary text per group-by option key, per group value */
335
511
  readonly groupSummaries: DictType<StringType, DictType<StringType, StringType>>;
336
- /** SECONDARY dimension toggles (empty = no toggle toolbar) */
337
512
  readonly dimOptions: ArrayType<StructType<{
338
513
  /** Dimension identity (matches each card's `dims` key) */
339
514
  readonly key: StringType;
340
515
  /** Toggle label in the SECONDARY toolbar */
341
516
  readonly label: StringType;
342
517
  }>>;
343
- /** Initially-visible dimension keys */
344
518
  readonly defaultDimensions: ArrayType<StringType>;
345
- /** Whether the search input renders */
519
+ readonly filterOptions: ArrayType<StructType<{
520
+ /** Option identity (matches each card's `groups` key) */
521
+ readonly key: StringType;
522
+ /** Segment label in the GROUP BY toolbar */
523
+ readonly label: StringType;
524
+ }>>;
346
525
  readonly searchable: BooleanType;
347
- /** Optional footer action label */
526
+ readonly noun: OptionType<StructType<{
527
+ /** One item ("component") */
528
+ readonly singular: StringType;
529
+ /** Any other count ("components") */
530
+ readonly plural: StringType;
531
+ }>>;
348
532
  readonly addLabel: OptionType<StringType>;
349
- /** Optional footer action callback */
350
533
  readonly onAdd: OptionType<FunctionType<[], NullType>>;
351
- /** Optional slice chrome (bound handle + rail affordances) */
534
+ readonly onCardClick: OptionType<FunctionType<[StringType], NullType>>;
352
535
  readonly slice: OptionType<StructType<{
353
536
  readonly slice: StructType<{
354
537
  readonly key: StringType;
@@ -366,8 +549,8 @@ export declare const LibraryRootType: StructType<{
366
549
  readonly ytd: NullType;
367
550
  }>;
368
551
  readonly integer: StructType<{
369
- readonly from: import("@elaraai/east").IntegerType;
370
- readonly to: import("@elaraai/east").IntegerType;
552
+ readonly from: IntegerType;
553
+ readonly to: IntegerType;
371
554
  }>;
372
555
  readonly float: StructType<{
373
556
  readonly from: FloatType;
@@ -397,13 +580,13 @@ export declare const LibraryRootType: StructType<{
397
580
  readonly integer: StructType<{
398
581
  readonly fieldId: StringType;
399
582
  readonly op: VariantType<{
400
- readonly eq: import("@elaraai/east").IntegerType;
401
- readonly neq: import("@elaraai/east").IntegerType;
402
- readonly lt: import("@elaraai/east").IntegerType;
403
- readonly lte: import("@elaraai/east").IntegerType;
404
- readonly gt: import("@elaraai/east").IntegerType;
405
- readonly gte: import("@elaraai/east").IntegerType;
406
- readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
583
+ readonly eq: IntegerType;
584
+ readonly neq: IntegerType;
585
+ readonly lt: IntegerType;
586
+ readonly lte: IntegerType;
587
+ readonly gt: IntegerType;
588
+ readonly gte: IntegerType;
589
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
407
590
  }>;
408
591
  }>;
409
592
  readonly float: StructType<{
@@ -455,13 +638,13 @@ export declare const LibraryRootType: StructType<{
455
638
  readonly integer: StructType<{
456
639
  readonly fieldId: StringType;
457
640
  readonly op: VariantType<{
458
- readonly eq: import("@elaraai/east").IntegerType;
459
- readonly neq: import("@elaraai/east").IntegerType;
460
- readonly lt: import("@elaraai/east").IntegerType;
461
- readonly lte: import("@elaraai/east").IntegerType;
462
- readonly gt: import("@elaraai/east").IntegerType;
463
- readonly gte: import("@elaraai/east").IntegerType;
464
- readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
641
+ readonly eq: IntegerType;
642
+ readonly neq: IntegerType;
643
+ readonly lt: IntegerType;
644
+ readonly lte: IntegerType;
645
+ readonly gt: IntegerType;
646
+ readonly gte: IntegerType;
647
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
465
648
  }>;
466
649
  }>;
467
650
  readonly float: StructType<{
@@ -496,11 +679,11 @@ export declare const LibraryRootType: StructType<{
496
679
  readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
497
680
  readonly breakdown: OptionType<StructType<{
498
681
  readonly fieldId: StringType;
499
- readonly limit: OptionType<import("@elaraai/east").IntegerType>;
682
+ readonly limit: OptionType<IntegerType>;
500
683
  }>>;
501
684
  readonly search: OptionType<StringType>;
502
685
  readonly visible: OptionType<import("@elaraai/east").SetType<StringType>>;
503
- readonly selectedIndex: OptionType<import("@elaraai/east").IntegerType>;
686
+ readonly selectedIndex: OptionType<IntegerType>;
504
687
  readonly resolution: OptionType<VariantType<{
505
688
  readonly auto: NullType;
506
689
  readonly hour: NullType;
@@ -525,8 +708,8 @@ export declare const LibraryRootType: StructType<{
525
708
  readonly ytd: NullType;
526
709
  }>;
527
710
  readonly integer: StructType<{
528
- readonly from: import("@elaraai/east").IntegerType;
529
- readonly to: import("@elaraai/east").IntegerType;
711
+ readonly from: IntegerType;
712
+ readonly to: IntegerType;
530
713
  }>;
531
714
  readonly float: StructType<{
532
715
  readonly from: FloatType;
@@ -556,13 +739,13 @@ export declare const LibraryRootType: StructType<{
556
739
  readonly integer: StructType<{
557
740
  readonly fieldId: StringType;
558
741
  readonly op: VariantType<{
559
- readonly eq: import("@elaraai/east").IntegerType;
560
- readonly neq: import("@elaraai/east").IntegerType;
561
- readonly lt: import("@elaraai/east").IntegerType;
562
- readonly lte: import("@elaraai/east").IntegerType;
563
- readonly gt: import("@elaraai/east").IntegerType;
564
- readonly gte: import("@elaraai/east").IntegerType;
565
- readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
742
+ readonly eq: IntegerType;
743
+ readonly neq: IntegerType;
744
+ readonly lt: IntegerType;
745
+ readonly lte: IntegerType;
746
+ readonly gt: IntegerType;
747
+ readonly gte: IntegerType;
748
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
566
749
  }>;
567
750
  }>;
568
751
  readonly float: StructType<{
@@ -614,13 +797,13 @@ export declare const LibraryRootType: StructType<{
614
797
  readonly integer: StructType<{
615
798
  readonly fieldId: StringType;
616
799
  readonly op: VariantType<{
617
- readonly eq: import("@elaraai/east").IntegerType;
618
- readonly neq: import("@elaraai/east").IntegerType;
619
- readonly lt: import("@elaraai/east").IntegerType;
620
- readonly lte: import("@elaraai/east").IntegerType;
621
- readonly gt: import("@elaraai/east").IntegerType;
622
- readonly gte: import("@elaraai/east").IntegerType;
623
- readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
800
+ readonly eq: IntegerType;
801
+ readonly neq: IntegerType;
802
+ readonly lt: IntegerType;
803
+ readonly lte: IntegerType;
804
+ readonly gt: IntegerType;
805
+ readonly gte: IntegerType;
806
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
624
807
  }>;
625
808
  }>;
626
809
  readonly float: StructType<{
@@ -655,11 +838,11 @@ export declare const LibraryRootType: StructType<{
655
838
  readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
656
839
  readonly breakdown: OptionType<StructType<{
657
840
  readonly fieldId: StringType;
658
- readonly limit: OptionType<import("@elaraai/east").IntegerType>;
841
+ readonly limit: OptionType<IntegerType>;
659
842
  }>>;
660
843
  readonly search: OptionType<StringType>;
661
844
  readonly visible: OptionType<import("@elaraai/east").SetType<StringType>>;
662
- readonly selectedIndex: OptionType<import("@elaraai/east").IntegerType>;
845
+ readonly selectedIndex: OptionType<IntegerType>;
663
846
  readonly resolution: OptionType<VariantType<{
664
847
  readonly auto: NullType;
665
848
  readonly hour: NullType;
@@ -683,8 +866,8 @@ export declare const LibraryRootType: StructType<{
683
866
  readonly ytd: NullType;
684
867
  }>;
685
868
  readonly integer: StructType<{
686
- readonly from: import("@elaraai/east").IntegerType;
687
- readonly to: import("@elaraai/east").IntegerType;
869
+ readonly from: IntegerType;
870
+ readonly to: IntegerType;
688
871
  }>;
689
872
  readonly float: StructType<{
690
873
  readonly from: FloatType;
@@ -714,13 +897,13 @@ export declare const LibraryRootType: StructType<{
714
897
  readonly integer: StructType<{
715
898
  readonly fieldId: StringType;
716
899
  readonly op: VariantType<{
717
- readonly eq: import("@elaraai/east").IntegerType;
718
- readonly neq: import("@elaraai/east").IntegerType;
719
- readonly lt: import("@elaraai/east").IntegerType;
720
- readonly lte: import("@elaraai/east").IntegerType;
721
- readonly gt: import("@elaraai/east").IntegerType;
722
- readonly gte: import("@elaraai/east").IntegerType;
723
- readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
900
+ readonly eq: IntegerType;
901
+ readonly neq: IntegerType;
902
+ readonly lt: IntegerType;
903
+ readonly lte: IntegerType;
904
+ readonly gt: IntegerType;
905
+ readonly gte: IntegerType;
906
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
724
907
  }>;
725
908
  }>;
726
909
  readonly float: StructType<{
@@ -750,7 +933,7 @@ export declare const LibraryRootType: StructType<{
750
933
  }>;
751
934
  }>;
752
935
  }>], NullType>;
753
- readonly removeFilter: FunctionType<[import("@elaraai/east").IntegerType], NullType>;
936
+ readonly removeFilter: FunctionType<[IntegerType], NullType>;
754
937
  readonly clearFilters: FunctionType<[], NullType>;
755
938
  readonly defineCohort: FunctionType<[StructType<{
756
939
  readonly id: StringType;
@@ -774,13 +957,13 @@ export declare const LibraryRootType: StructType<{
774
957
  readonly integer: StructType<{
775
958
  readonly fieldId: StringType;
776
959
  readonly op: VariantType<{
777
- readonly eq: import("@elaraai/east").IntegerType;
778
- readonly neq: import("@elaraai/east").IntegerType;
779
- readonly lt: import("@elaraai/east").IntegerType;
780
- readonly lte: import("@elaraai/east").IntegerType;
781
- readonly gt: import("@elaraai/east").IntegerType;
782
- readonly gte: import("@elaraai/east").IntegerType;
783
- readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
960
+ readonly eq: IntegerType;
961
+ readonly neq: IntegerType;
962
+ readonly lt: IntegerType;
963
+ readonly lte: IntegerType;
964
+ readonly gt: IntegerType;
965
+ readonly gte: IntegerType;
966
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
784
967
  }>;
785
968
  }>;
786
969
  readonly float: StructType<{
@@ -834,13 +1017,13 @@ export declare const LibraryRootType: StructType<{
834
1017
  readonly integer: StructType<{
835
1018
  readonly fieldId: StringType;
836
1019
  readonly op: VariantType<{
837
- readonly eq: import("@elaraai/east").IntegerType;
838
- readonly neq: import("@elaraai/east").IntegerType;
839
- readonly lt: import("@elaraai/east").IntegerType;
840
- readonly lte: import("@elaraai/east").IntegerType;
841
- readonly gt: import("@elaraai/east").IntegerType;
842
- readonly gte: import("@elaraai/east").IntegerType;
843
- readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
1020
+ readonly eq: IntegerType;
1021
+ readonly neq: IntegerType;
1022
+ readonly lt: IntegerType;
1023
+ readonly lte: IntegerType;
1024
+ readonly gt: IntegerType;
1025
+ readonly gte: IntegerType;
1026
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
844
1027
  }>;
845
1028
  }>;
846
1029
  readonly float: StructType<{
@@ -876,13 +1059,13 @@ export declare const LibraryRootType: StructType<{
876
1059
  readonly toggleCohort: FunctionType<[StringType], NullType>;
877
1060
  readonly setBreakdown: FunctionType<[OptionType<StructType<{
878
1061
  readonly fieldId: StringType;
879
- readonly limit: OptionType<import("@elaraai/east").IntegerType>;
1062
+ readonly limit: OptionType<IntegerType>;
880
1063
  }>>], NullType>;
881
1064
  readonly setSearch: FunctionType<[OptionType<StringType>], NullType>;
882
1065
  readonly setVisible: FunctionType<[OptionType<import("@elaraai/east").SetType<StringType>>], NullType>;
883
- readonly select: FunctionType<[OptionType<import("@elaraai/east").IntegerType>], NullType>;
1066
+ readonly select: FunctionType<[OptionType<IntegerType>], NullType>;
884
1067
  readonly isActive: FunctionType<[], BooleanType>;
885
- readonly activeCount: FunctionType<[], import("@elaraai/east").IntegerType>;
1068
+ readonly activeCount: FunctionType<[], IntegerType>;
886
1069
  readonly dimensions: FunctionType<[], ArrayType<StructType<{
887
1070
  readonly fieldId: StringType;
888
1071
  readonly label: StringType;
@@ -907,11 +1090,11 @@ export declare const LibraryRootType: StructType<{
907
1090
  }>>>;
908
1091
  readonly searchFieldIds: FunctionType<[], ArrayType<StringType>>;
909
1092
  readonly rangeFieldId: FunctionType<[], OptionType<StringType>>;
910
- readonly totalCount: FunctionType<[], import("@elaraai/east").IntegerType>;
911
- readonly resultCount: FunctionType<[], import("@elaraai/east").IntegerType>;
1093
+ readonly totalCount: FunctionType<[], IntegerType>;
1094
+ readonly resultCount: FunctionType<[], IntegerType>;
912
1095
  readonly groups: FunctionType<[], ArrayType<StructType<{
913
1096
  readonly key: StringType;
914
- readonly count: import("@elaraai/east").IntegerType;
1097
+ readonly count: IntegerType;
915
1098
  readonly color: StringType;
916
1099
  }>>>;
917
1100
  readonly series: FunctionType<[StringType, StringType], ArrayType<StructType<{
@@ -933,7 +1116,7 @@ export declare const LibraryRootType: StructType<{
933
1116
  readonly label: StringType;
934
1117
  readonly meta: OptionType<StringType>;
935
1118
  }>>>;
936
- readonly cohortCounts: FunctionType<[], DictType<StringType, import("@elaraai/east").IntegerType>>;
1119
+ readonly cohortCounts: FunctionType<[], DictType<StringType, IntegerType>>;
937
1120
  readonly toggleFilter: FunctionType<[VariantType<{
938
1121
  readonly string: StructType<{
939
1122
  readonly fieldId: StringType;
@@ -953,13 +1136,13 @@ export declare const LibraryRootType: StructType<{
953
1136
  readonly integer: StructType<{
954
1137
  readonly fieldId: StringType;
955
1138
  readonly op: VariantType<{
956
- readonly eq: import("@elaraai/east").IntegerType;
957
- readonly neq: import("@elaraai/east").IntegerType;
958
- readonly lt: import("@elaraai/east").IntegerType;
959
- readonly lte: import("@elaraai/east").IntegerType;
960
- readonly gt: import("@elaraai/east").IntegerType;
961
- readonly gte: import("@elaraai/east").IntegerType;
962
- readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
1139
+ readonly eq: IntegerType;
1140
+ readonly neq: IntegerType;
1141
+ readonly lt: IntegerType;
1142
+ readonly lte: IntegerType;
1143
+ readonly gt: IntegerType;
1144
+ readonly gte: IntegerType;
1145
+ readonly in: import("@elaraai/east").SetType<IntegerType>;
963
1146
  }>;
964
1147
  }>;
965
1148
  readonly float: StructType<{
@@ -991,7 +1174,7 @@ export declare const LibraryRootType: StructType<{
991
1174
  }>], NullType>;
992
1175
  readonly facetGroups: FunctionType<[], ArrayType<StructType<{
993
1176
  readonly key: StringType;
994
- readonly count: import("@elaraai/east").IntegerType;
1177
+ readonly count: IntegerType;
995
1178
  readonly color: StringType;
996
1179
  }>>>;
997
1180
  readonly setResolution: FunctionType<[OptionType<VariantType<{
@@ -1017,7 +1200,6 @@ export declare const LibraryRootType: StructType<{
1017
1200
  readonly summary: NullType;
1018
1201
  }>>;
1019
1202
  }>>;
1020
- /** Optional layout style (height / maxHeight / virtualization) */
1021
1203
  readonly style: OptionType<StructType<{
1022
1204
  /** Optional CSS height (e.g. `"480px"`, `"100%"`) */
1023
1205
  readonly height: OptionType<StringType>;
@@ -1025,10 +1207,24 @@ export declare const LibraryRootType: StructType<{
1025
1207
  readonly maxHeight: OptionType<StringType>;
1026
1208
  /** Whether rows virtualize inside the scroll region (default `true`) */
1027
1209
  readonly virtualization: OptionType<BooleanType>;
1210
+ /** A gallery's cards across, in the grid layout */
1211
+ readonly columns: OptionType<IntegerType>;
1212
+ /** Where a gallery card's media sits in the grid layout */
1213
+ readonly mediaPlacement: OptionType<VariantType<{
1214
+ readonly top: NullType;
1215
+ readonly start: NullType;
1216
+ }>>;
1217
+ /** A gallery card's media height (top) or width (start) — a CSS length */
1218
+ readonly mediaSize: OptionType<StringType>;
1028
1219
  }>>;
1220
+ readonly variant: OptionType<VariantType<{
1221
+ readonly compact: NullType;
1222
+ readonly gallery: NullType;
1223
+ }>>;
1224
+ readonly layout: OptionType<VariantType<{
1225
+ readonly grid: NullType;
1226
+ readonly list: NullType;
1227
+ }>>;
1228
+ readonly toolbar: BooleanType;
1029
1229
  }>;
1030
- /**
1031
- * Type representing the Library component.
1032
- */
1033
- export type LibraryRootType = typeof LibraryRootType;
1034
1230
  //# sourceMappingURL=types.d.ts.map