@optimizely-opal/opal-tools-sdk 0.1.8-dev → 0.1.10-dev

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/proteus.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * DO NOT MODIFY - This file is auto-generated from proteus-document-spec.json
4
4
  * Run 'npm run generate:proteus' to regenerate
5
5
  */
6
- export type OpalProteusDocumentSpecification = ProteusAction | ProteusAtomicCondition | ProteusCancelAction | ProteusCondition | ProteusDocument | ProteusElement | ProteusEventHandler | ProteusField | ProteusGroup | ProteusHeading | ProteusImage | ProteusInput | ProteusLink | ProteusMap | ProteusNode | ProteusRange | ProteusSelect | ProteusSelectContent | ProteusSelectTrigger | ProteusSeparator | ProteusShow | ProteusText | ProteusTextarea | ProteusValue;
6
+ export type OpalProteusDocumentSpecification = ProteusAction | ProteusAtomicCondition | ProteusBadge | ProteusCancelAction | ProteusChart | ProteusCondition | ProteusDataTable | ProteusDocument | ProteusElement | ProteusEventHandler | ProteusField | ProteusGroup | ProteusHeading | ProteusImage | ProteusInput | ProteusLink | ProteusMap | ProteusNode | ProteusRange | ProteusSelect | ProteusSelectContent | ProteusSelectTrigger | ProteusSeparator | ProteusShow | ProteusText | ProteusTextarea | ProteusTime | ProteusValue;
7
7
  export interface ProteusAction {
8
8
  $type: "Action";
9
9
  alignItems?: SprinklePropAlignItems;
@@ -12,7 +12,7 @@ export interface ProteusAction {
12
12
  /**
13
13
  * Control the appearance by selecting between the different button types.
14
14
  */
15
- appearance?: "danger" | "danger-outline" | "default" | "default-opal" | "inverse" | "primary" | "primary-opal" | "subtle";
15
+ appearance?: "danger" | "danger-outline" | "default" | "default-opal" | "inverse" | "primary" | "primary-opal" | "subtle" | ProteusValue;
16
16
  backgroundImage?: SprinklePropBackgroundImage;
17
17
  bg?: SprinklePropBg;
18
18
  border?: SprinklePropBorder;
@@ -60,6 +60,15 @@ export interface ProteusAction {
60
60
  * Name of registered tool to call
61
61
  */
62
62
  tool: string;
63
+ } | {
64
+ /**
65
+ * The action type
66
+ */
67
+ action: "download";
68
+ /**
69
+ * URL to download
70
+ */
71
+ url: string;
63
72
  };
64
73
  overflow?: SprinklePropOverflow;
65
74
  overflowX?: SprinklePropOverflowX;
@@ -157,6 +166,71 @@ export type ProteusAtomicCondition = {
157
166
  */
158
167
  "!!": boolean | null | number | ProteusValue | string;
159
168
  };
169
+ export interface ProteusBadge {
170
+ $type: "Badge";
171
+ alignItems?: SprinklePropAlignItems;
172
+ alignSelf?: SprinklePropAlignSelf;
173
+ animation?: SprinklePropAnimation;
174
+ backgroundImage?: SprinklePropBackgroundImage;
175
+ bg?: SprinklePropBg;
176
+ border?: SprinklePropBorder;
177
+ borderB?: SprinklePropBorderB;
178
+ borderColor?: SprinklePropBorderColor;
179
+ borderL?: SprinklePropBorderL;
180
+ borderR?: SprinklePropBorderR;
181
+ borderT?: SprinklePropBorderT;
182
+ children?: ProteusNode;
183
+ color?: SprinklePropColor;
184
+ cursor?: SprinklePropCursor;
185
+ display?: SprinklePropDisplay;
186
+ flex?: SprinklePropFlex;
187
+ flexDirection?: SprinklePropFlexDirection;
188
+ flexWrap?: SprinklePropFlexWrap;
189
+ fontFamily?: SprinklePropFontFamily;
190
+ fontSize?: SprinklePropFontSize;
191
+ fontWeight?: SprinklePropFontWeight;
192
+ gap?: SprinklePropGap;
193
+ gridColumn?: SprinklePropGridColumn;
194
+ gridTemplateColumns?: SprinklePropGridTemplateColumns;
195
+ h?: SprinklePropH;
196
+ /**
197
+ * Control the appearance by selecting between the different badge types.
198
+ */
199
+ intent?: "danger" | "information" | "neutral" | "primary" | "success" | "warning" | ProteusValue;
200
+ justifyContent?: SprinklePropJustifyContent;
201
+ justifyItems?: SprinklePropJustifyItems;
202
+ m?: SprinklePropM;
203
+ maxH?: SprinklePropMaxH;
204
+ maxW?: SprinklePropMaxW;
205
+ mb?: SprinklePropMb;
206
+ ml?: SprinklePropMl;
207
+ mr?: SprinklePropMr;
208
+ mt?: SprinklePropMt;
209
+ mx?: SprinklePropMx;
210
+ my?: SprinklePropMy;
211
+ objectFit?: SprinklePropObjectFit;
212
+ overflow?: SprinklePropOverflow;
213
+ overflowX?: SprinklePropOverflowX;
214
+ overflowY?: SprinklePropOverflowY;
215
+ p?: SprinklePropP;
216
+ pb?: SprinklePropPb;
217
+ pl?: SprinklePropPl;
218
+ placeItems?: SprinklePropPlaceItems;
219
+ pointerEvents?: SprinklePropPointerEvents;
220
+ pr?: SprinklePropPr;
221
+ pt?: SprinklePropPt;
222
+ px?: SprinklePropPx;
223
+ py?: SprinklePropPy;
224
+ rounded?: SprinklePropRounded;
225
+ shadow?: SprinklePropShadow;
226
+ size?: SprinklePropSize;
227
+ textAlign?: SprinklePropTextAlign;
228
+ textTransform?: SprinklePropTextTransform;
229
+ transition?: SprinklePropTransition;
230
+ w?: SprinklePropW;
231
+ whiteSpace?: SprinklePropWhiteSpace;
232
+ z?: SprinklePropZ;
233
+ }
160
234
  export interface ProteusCancelAction {
161
235
  $type: "CancelAction";
162
236
  alignItems?: SprinklePropAlignItems;
@@ -221,6 +295,44 @@ export interface ProteusCancelAction {
221
295
  whiteSpace?: SprinklePropWhiteSpace;
222
296
  z?: SprinklePropZ;
223
297
  }
298
+ export interface ProteusChart {
299
+ $type: "Chart";
300
+ /**
301
+ * Chart data records, either inline or a ProteusValue reference
302
+ */
303
+ data?: ProteusValue | {
304
+ [k: string]: undefined | unknown;
305
+ }[];
306
+ /**
307
+ * Data series configuration
308
+ */
309
+ series?: {
310
+ /**
311
+ * Series color
312
+ */
313
+ color?: string;
314
+ /**
315
+ * Key in data records for this series
316
+ */
317
+ dataKey: string;
318
+ /**
319
+ * Key in data records for pre-formatted labels displayed above bars
320
+ */
321
+ labelKey?: string;
322
+ /**
323
+ * Display name for legend
324
+ */
325
+ name?: string;
326
+ }[];
327
+ /**
328
+ * Chart type
329
+ */
330
+ type?: "bar";
331
+ /**
332
+ * Key in data records for x-axis labels
333
+ */
334
+ xAxisKey?: string;
335
+ }
224
336
  /**
225
337
  * Condition for Show component. Can be a comparison operator, logical AND, or logical OR. Supports nesting.
226
338
  */
@@ -249,40 +361,62 @@ export type ProteusCondition = ProteusAtomicCondition | {
249
361
  })[]
250
362
  ];
251
363
  };
364
+ export interface ProteusDataTable {
365
+ $type: "DataTable";
366
+ /**
367
+ * Column definitions
368
+ */
369
+ columns?: {
370
+ /**
371
+ * Key in data objects
372
+ */
373
+ accessorKey: string;
374
+ /**
375
+ * Column header text
376
+ */
377
+ header: string;
378
+ }[];
379
+ data?: ProteusValue | {
380
+ [k: string]: undefined | unknown;
381
+ }[];
382
+ }
252
383
  export interface ProteusDocument {
253
384
  $type: "Document";
254
385
  /**
255
386
  * Actions available for this document
256
387
  */
257
- actions?: ProteusNode;
388
+ actions?: (boolean | null | number | ProteusElement | string)[] | boolean | null | number | ProteusElement | string;
258
389
  /**
259
- * A visual representation of the application
390
+ * URL or data URI for the application icon (e.g., 'https://example.com/icon.png' or 'data:image/svg+xml,...'). Rendered as an <img> element.
260
391
  */
261
392
  appIcon?: string;
262
393
  /**
263
394
  * The official name of the application
264
395
  */
265
- appName: string;
396
+ appName?: string;
266
397
  /**
267
398
  * If true, hides chat prompt and forces user interaction with document. User can press ESC or close to abandon.
268
399
  */
269
400
  blocking?: boolean;
270
- body: ProteusNode;
271
401
  /**
272
- * A brief description or tagline that provides additional context about the Proteus document's purpose.
402
+ * A Proteus node can be a string, number, boolean, null, a single element, or an array of these types (similar to ReactNode)
403
+ */
404
+ body: (boolean | null | number | ProteusElement | string)[] | boolean | null | number | ProteusElement | string;
405
+ /**
406
+ * A Proteus node can be a string, number, boolean, null, a single element, or an array of these types (similar to ReactNode)
273
407
  */
274
- subtitle?: string;
408
+ subtitle?: (boolean | null | number | ProteusElement | string)[] | boolean | null | number | ProteusElement | string;
275
409
  /**
276
- * A concise heading that encapsulates the essence of the Proteus document's content or intended action.
410
+ * A Proteus node can be a string, number, boolean, null, a single element, or an array of these types (similar to ReactNode)
277
411
  */
278
- title: string;
412
+ title: (boolean | null | number | ProteusElement | string)[] | boolean | null | number | ProteusElement | string;
279
413
  }
280
414
  /**
281
415
  * A single Proteus UI component element identified by its $type discriminator
282
416
  */
283
- export type ProteusElement = ProteusAction | ProteusCancelAction | ProteusField | ProteusGroup | ProteusHeading | ProteusImage | ProteusInput | ProteusLink | ProteusMap | ProteusRange | ProteusSelect | ProteusSelectContent | ProteusSelectTrigger | ProteusSeparator | ProteusShow | ProteusText | ProteusTextarea | ProteusValue;
417
+ export type ProteusElement = ProteusAction | ProteusBadge | ProteusCancelAction | ProteusChart | ProteusDataTable | ProteusField | ProteusGroup | ProteusHeading | ProteusImage | ProteusInput | ProteusLink | ProteusMap | ProteusRange | ProteusSelect | ProteusSelectContent | ProteusSelectTrigger | ProteusSeparator | ProteusShow | ProteusText | ProteusTextarea | ProteusTime | ProteusValue;
284
418
  /**
285
- * Handler for user interactions - either a server-side tool call or client-side message
419
+ * Handler for user interactions - a server-side tool call, client-side message, or client-side component action
286
420
  */
287
421
  export type ProteusEventHandler = {
288
422
  /**
@@ -294,6 +428,15 @@ export type ProteusEventHandler = {
294
428
  * Name of registered tool to call
295
429
  */
296
430
  tool: string;
431
+ } | {
432
+ /**
433
+ * The action type
434
+ */
435
+ action: "download";
436
+ /**
437
+ * URL to download
438
+ */
439
+ url: string;
297
440
  };
298
441
  export interface ProteusField {
299
442
  $type: "Field";
@@ -361,7 +504,7 @@ export interface ProteusField {
361
504
  /**
362
505
  * Display an asterisk for required inputs.
363
506
  */
364
- required?: boolean;
507
+ required?: boolean | ProteusValue;
365
508
  rounded?: SprinklePropRounded;
366
509
  shadow?: SprinklePropShadow;
367
510
  size?: SprinklePropSize;
@@ -378,7 +521,7 @@ export interface ProteusGroup {
378
521
  * Set the element's `align-items` CSS property. Defaults to `center` when
379
522
  * `flexDirection='row'`, and `stretch` when `flexDirection='column'`.
380
523
  */
381
- alignItems?: "center" | "end" | "normal" | "start" | "stretch";
524
+ alignItems?: "center" | "end" | "normal" | "start" | "stretch" | ProteusValue;
382
525
  alignSelf?: SprinklePropAlignSelf;
383
526
  animation?: SprinklePropAnimation;
384
527
  backgroundImage?: SprinklePropBackgroundImage;
@@ -399,7 +542,7 @@ export interface ProteusGroup {
399
542
  *
400
543
  * Default: 'row' (CSS standard)
401
544
  */
402
- flexDirection?: "column" | "column-reverse" | "row" | "row-reverse";
545
+ flexDirection?: "column" | "column-reverse" | "row" | "row-reverse" | ProteusValue;
403
546
  flexWrap?: SprinklePropFlexWrap;
404
547
  fontFamily?: SprinklePropFontFamily;
405
548
  fontSize?: SprinklePropFontSize;
@@ -480,7 +623,7 @@ export interface ProteusHeading {
480
623
  *
481
624
  * Use `asChild` to decouple the semantic level from visual appearance.
482
625
  */
483
- level?: "1" | "2" | "3" | "4";
626
+ level?: "1" | "2" | "3" | "4" | ProteusValue;
484
627
  m?: SprinklePropM;
485
628
  maxH?: SprinklePropMaxH;
486
629
  maxW?: SprinklePropMaxW;
@@ -520,7 +663,7 @@ export interface ProteusImage {
520
663
  /**
521
664
  * Alternative text for the image
522
665
  */
523
- alt?: string;
666
+ alt?: ProteusValue | string;
524
667
  animation?: SprinklePropAnimation;
525
668
  backgroundImage?: SprinklePropBackgroundImage;
526
669
  bg?: SprinklePropBg;
@@ -573,7 +716,7 @@ export interface ProteusImage {
573
716
  /**
574
717
  * The image source URL
575
718
  */
576
- src?: string;
719
+ src?: ProteusValue | string;
577
720
  textAlign?: SprinklePropTextAlign;
578
721
  textTransform?: SprinklePropTextTransform;
579
722
  transition?: SprinklePropTransition;
@@ -597,7 +740,7 @@ export interface ProteusInput {
597
740
  /**
598
741
  * Control the appearance of the input.
599
742
  */
600
- appearance?: "default" | "number";
743
+ appearance?: "default" | "number" | ProteusValue;
601
744
  backgroundImage?: SprinklePropBackgroundImage;
602
745
  bg?: SprinklePropBg;
603
746
  border?: SprinklePropBorder;
@@ -633,7 +776,7 @@ export interface ProteusInput {
633
776
  /**
634
777
  * The name of the form control element.
635
778
  */
636
- name?: string;
779
+ name?: ProteusValue | string;
637
780
  objectFit?: SprinklePropObjectFit;
638
781
  overflow?: SprinklePropOverflow;
639
782
  overflowX?: SprinklePropOverflowX;
@@ -644,7 +787,7 @@ export interface ProteusInput {
644
787
  /**
645
788
  * The placeholder text to use when control has no value.
646
789
  */
647
- placeholder?: string;
790
+ placeholder?: ProteusValue | string;
648
791
  placeItems?: SprinklePropPlaceItems;
649
792
  pointerEvents?: SprinklePropPointerEvents;
650
793
  pr?: SprinklePropPr;
@@ -659,7 +802,7 @@ export interface ProteusInput {
659
802
  /**
660
803
  * The input type.
661
804
  */
662
- type?: "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week" | string;
805
+ type?: "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week" | ProteusValue | string;
663
806
  w?: SprinklePropW;
664
807
  whiteSpace?: SprinklePropWhiteSpace;
665
808
  z?: SprinklePropZ;
@@ -694,7 +837,7 @@ export interface ProteusLink {
694
837
  /**
695
838
  * The link href.
696
839
  */
697
- href?: string;
840
+ href?: ProteusValue | string;
698
841
  justifyContent?: SprinklePropJustifyContent;
699
842
  justifyItems?: SprinklePropJustifyItems;
700
843
  m?: SprinklePropM;
@@ -732,13 +875,11 @@ export interface ProteusLink {
732
875
  export interface ProteusMap {
733
876
  $type: "Map";
734
877
  /**
735
- * Template object to render for each item in the array. Value paths are relative to current item.
878
+ * A Proteus node can be a string, number, boolean, null, a single element, or an array of these types (similar to ReactNode)
736
879
  */
737
- children?: {
738
- [k: string]: undefined | unknown;
739
- };
880
+ children?: (boolean | null | number | ProteusElement | string)[] | boolean | null | number | ProteusElement | string;
740
881
  /**
741
- * JSON pointer path to array (e.g., '/questions')
882
+ * JSON pointer path to the source array in the data (e.g., '/results')
742
883
  */
743
884
  path: string;
744
885
  }
@@ -791,14 +932,14 @@ export interface ProteusRange {
791
932
  /**
792
933
  * The maximum value for the range.
793
934
  */
794
- max?: number;
935
+ max?: number | ProteusValue;
795
936
  maxH?: SprinklePropMaxH;
796
937
  maxW?: SprinklePropMaxW;
797
938
  mb?: SprinklePropMb;
798
939
  /**
799
940
  * The minimum value for the range.
800
941
  */
801
- min?: number;
942
+ min?: number | ProteusValue;
802
943
  ml?: SprinklePropMl;
803
944
  mr?: SprinklePropMr;
804
945
  mt?: SprinklePropMt;
@@ -822,7 +963,7 @@ export interface ProteusRange {
822
963
  /**
823
964
  * The stepping interval for the range.
824
965
  */
825
- step?: number;
966
+ step?: number | ProteusValue;
826
967
  textAlign?: SprinklePropTextAlign;
827
968
  textTransform?: SprinklePropTextTransform;
828
969
  transition?: SprinklePropTransition;
@@ -836,7 +977,7 @@ export interface ProteusSelect {
836
977
  /**
837
978
  * The name of the inner select element.
838
979
  */
839
- name?: string;
980
+ name?: ProteusValue | string;
840
981
  /**
841
982
  * The select items/options we want to render.
842
983
  */
@@ -1070,6 +1211,10 @@ export interface ProteusText {
1070
1211
  h?: SprinklePropH;
1071
1212
  justifyContent?: SprinklePropJustifyContent;
1072
1213
  justifyItems?: SprinklePropJustifyItems;
1214
+ /**
1215
+ * Truncate the text at specific number of lines.
1216
+ */
1217
+ lineClamp?: "1" | "2" | "3" | "4" | ProteusValue;
1073
1218
  m?: SprinklePropM;
1074
1219
  maxH?: SprinklePropMaxH;
1075
1220
  maxW?: SprinklePropMaxW;
@@ -1098,6 +1243,10 @@ export interface ProteusText {
1098
1243
  textAlign?: SprinklePropTextAlign;
1099
1244
  textTransform?: SprinklePropTextTransform;
1100
1245
  transition?: SprinklePropTransition;
1246
+ /**
1247
+ * Whether to truncate the text and add an ellipsis at the end.
1248
+ */
1249
+ truncate?: boolean | ProteusValue;
1101
1250
  w?: SprinklePropW;
1102
1251
  whiteSpace?: SprinklePropWhiteSpace;
1103
1252
  z?: SprinklePropZ;
@@ -1135,7 +1284,7 @@ export interface ProteusTextarea {
1135
1284
  /**
1136
1285
  * Limits the height of the textarea when `resize=auto` is used.
1137
1286
  */
1138
- maxRows?: 1 | 2 | 3 | 4 | 5;
1287
+ maxRows?: 1 | 2 | 3 | 4 | 5 | ProteusValue;
1139
1288
  maxW?: SprinklePropMaxW;
1140
1289
  mb?: SprinklePropMb;
1141
1290
  ml?: SprinklePropMl;
@@ -1146,7 +1295,7 @@ export interface ProteusTextarea {
1146
1295
  /**
1147
1296
  * The name of the form control element.
1148
1297
  */
1149
- name?: string;
1298
+ name?: ProteusValue | string;
1150
1299
  objectFit?: SprinklePropObjectFit;
1151
1300
  overflow?: SprinklePropOverflow;
1152
1301
  overflowX?: SprinklePropOverflowX;
@@ -1157,7 +1306,7 @@ export interface ProteusTextarea {
1157
1306
  /**
1158
1307
  * The placeholder text to use when control has no value.
1159
1308
  */
1160
- placeholder?: string;
1309
+ placeholder?: ProteusValue | string;
1161
1310
  placeItems?: SprinklePropPlaceItems;
1162
1311
  pointerEvents?: SprinklePropPointerEvents;
1163
1312
  pr?: SprinklePropPr;
@@ -1167,13 +1316,85 @@ export interface ProteusTextarea {
1167
1316
  /**
1168
1317
  * Control whether resizing mode is manual, automatic, or disabled.
1169
1318
  */
1170
- resize?: "auto" | "none" | "vertical";
1319
+ resize?: "auto" | "none" | "vertical" | ProteusValue;
1171
1320
  rounded?: SprinklePropRounded;
1172
1321
  /**
1173
1322
  * The number of rows to display.
1174
1323
  */
1175
- rows?: number;
1324
+ rows?: number | ProteusValue;
1325
+ shadow?: SprinklePropShadow;
1326
+ textAlign?: SprinklePropTextAlign;
1327
+ textTransform?: SprinklePropTextTransform;
1328
+ transition?: SprinklePropTransition;
1329
+ w?: SprinklePropW;
1330
+ whiteSpace?: SprinklePropWhiteSpace;
1331
+ z?: SprinklePropZ;
1332
+ }
1333
+ export interface ProteusTime {
1334
+ $type: "Time";
1335
+ alignItems?: SprinklePropAlignItems;
1336
+ alignSelf?: SprinklePropAlignSelf;
1337
+ animation?: SprinklePropAnimation;
1338
+ backgroundImage?: SprinklePropBackgroundImage;
1339
+ bg?: SprinklePropBg;
1340
+ border?: SprinklePropBorder;
1341
+ borderB?: SprinklePropBorderB;
1342
+ borderColor?: SprinklePropBorderColor;
1343
+ borderL?: SprinklePropBorderL;
1344
+ borderR?: SprinklePropBorderR;
1345
+ borderT?: SprinklePropBorderT;
1346
+ color?: SprinklePropColor;
1347
+ cursor?: SprinklePropCursor;
1348
+ /**
1349
+ * The date to display. Can be a `Date` object or an ISO 8601 string.
1350
+ */
1351
+ date: ProteusValue | string;
1352
+ display?: SprinklePropDisplay;
1353
+ flex?: SprinklePropFlex;
1354
+ flexDirection?: SprinklePropFlexDirection;
1355
+ flexWrap?: SprinklePropFlexWrap;
1356
+ fontFamily?: SprinklePropFontFamily;
1357
+ fontSize?: SprinklePropFontSize;
1358
+ fontWeight?: SprinklePropFontWeight;
1359
+ gap?: SprinklePropGap;
1360
+ gridColumn?: SprinklePropGridColumn;
1361
+ gridTemplateColumns?: SprinklePropGridTemplateColumns;
1362
+ h?: SprinklePropH;
1363
+ justifyContent?: SprinklePropJustifyContent;
1364
+ justifyItems?: SprinklePropJustifyItems;
1365
+ m?: SprinklePropM;
1366
+ maxH?: SprinklePropMaxH;
1367
+ maxW?: SprinklePropMaxW;
1368
+ mb?: SprinklePropMb;
1369
+ ml?: SprinklePropMl;
1370
+ mr?: SprinklePropMr;
1371
+ mt?: SprinklePropMt;
1372
+ mx?: SprinklePropMx;
1373
+ my?: SprinklePropMy;
1374
+ objectFit?: SprinklePropObjectFit;
1375
+ overflow?: SprinklePropOverflow;
1376
+ overflowX?: SprinklePropOverflowX;
1377
+ overflowY?: SprinklePropOverflowY;
1378
+ p?: SprinklePropP;
1379
+ pb?: SprinklePropPb;
1380
+ pl?: SprinklePropPl;
1381
+ placeItems?: SprinklePropPlaceItems;
1382
+ pointerEvents?: SprinklePropPointerEvents;
1383
+ pr?: SprinklePropPr;
1384
+ pt?: SprinklePropPt;
1385
+ px?: SprinklePropPx;
1386
+ py?: SprinklePropPy;
1387
+ rounded?: SprinklePropRounded;
1176
1388
  shadow?: SprinklePropShadow;
1389
+ /**
1390
+ * Whether to show the date part of the value. Defaults to `true`.
1391
+ */
1392
+ showDate?: boolean | ProteusValue;
1393
+ /**
1394
+ * Whether to show the time part of the value. Defaults to `false`.
1395
+ */
1396
+ showTime?: boolean | ProteusValue;
1397
+ size?: SprinklePropSize;
1177
1398
  textAlign?: SprinklePropTextAlign;
1178
1399
  textTransform?: SprinklePropTextTransform;
1179
1400
  transition?: SprinklePropTransition;
@@ -1184,241 +1405,241 @@ export interface ProteusTextarea {
1184
1405
  export interface ProteusValue {
1185
1406
  $type: "Value";
1186
1407
  /**
1187
- * JSON pointer path to value (e.g., '/question', '/options/0/label')
1408
+ * Path to a value in the data. Absolute paths start with '/' and resolve from the root (e.g., '/title', '/options/0/label'). Inside a Map template, paths without a leading '/' are relative to the current item (e.g., 'title' resolves to each item's 'title' field).
1188
1409
  */
1189
1410
  path: string;
1190
1411
  }
1191
1412
  /**
1192
1413
  * Set the element's `align-items` CSS property
1193
1414
  */
1194
- export type SprinklePropAlignItems = "center" | "end" | "normal" | "start" | "stretch";
1415
+ export type SprinklePropAlignItems = "center" | "end" | "normal" | "start" | "stretch" | ProteusValue;
1195
1416
  /**
1196
1417
  * Set the element's `align-self` CSS property
1197
1418
  */
1198
- export type SprinklePropAlignSelf = "center" | "end" | "normal" | "start" | "stretch";
1419
+ export type SprinklePropAlignSelf = "center" | "end" | "normal" | "start" | "stretch" | ProteusValue;
1199
1420
  /**
1200
1421
  * Animate element with CSS animations
1201
1422
  */
1202
- export type SprinklePropAnimation = "ping" | "pulse" | "spin";
1423
+ export type SprinklePropAnimation = "ping" | "pulse" | "spin" | ProteusValue;
1203
1424
  /**
1204
1425
  * Set the element's `background-image` CSS property
1205
1426
  */
1206
- export type SprinklePropBackgroundImage = "gradient.opal";
1427
+ export type SprinklePropBackgroundImage = "gradient.opal" | ProteusValue;
1207
1428
  /**
1208
1429
  * Set the element's background color. Only accepts predefined color tokens starting with `bg.` (e.g., `bg.default`, `bg.accent`, `bg.error`), or the special values `current` and `transparent`.
1209
1430
  */
1210
- export type SprinklePropBg = "bg.accent" | "bg.accent.hovered" | "bg.accent.light" | "bg.accent.pressed" | "bg.accent.subtle" | "bg.avatar.neutral" | "bg.avatar.purple" | "bg.default" | "bg.default.hovered" | "bg.default.inverse" | "bg.default.inverse.hovered" | "bg.default.inverse.pressed" | "bg.default.pressed" | "bg.error" | "bg.error.hovered" | "bg.error.light" | "bg.error.pressed" | "bg.error.subtle" | "bg.error.subtlest" | "bg.information" | "bg.information.light" | "bg.information.subtle" | "bg.overlay" | "bg.page" | "bg.secondary" | "bg.secondary.hovered" | "bg.spinner.default" | "bg.spinner.inverse" | "bg.success" | "bg.success.hovered" | "bg.success.light" | "bg.success.subtle" | "bg.tertiary" | "bg.tertiary.hovered" | "bg.warning" | "bg.warning.hovered" | "bg.warning.light" | "bg.warning.subtle" | "current" | "transparent";
1431
+ export type SprinklePropBg = "bg.accent" | "bg.accent.hovered" | "bg.accent.light" | "bg.accent.pressed" | "bg.accent.subtle" | "bg.avatar.neutral" | "bg.avatar.purple" | "bg.default" | "bg.default.hovered" | "bg.default.inverse" | "bg.default.inverse.hovered" | "bg.default.inverse.pressed" | "bg.default.pressed" | "bg.error" | "bg.error.hovered" | "bg.error.light" | "bg.error.pressed" | "bg.error.subtle" | "bg.error.subtlest" | "bg.information" | "bg.information.light" | "bg.information.subtle" | "bg.overlay" | "bg.page" | "bg.secondary" | "bg.secondary.hovered" | "bg.spinner.default" | "bg.spinner.inverse" | "bg.success" | "bg.success.hovered" | "bg.success.light" | "bg.success.subtle" | "bg.tertiary" | "bg.tertiary.hovered" | "bg.warning" | "bg.warning.hovered" | "bg.warning.light" | "bg.warning.subtle" | "current" | "transparent" | ProteusValue;
1211
1432
  /**
1212
1433
  * Set the element's `border-width` CSS property
1213
1434
  */
1214
- export type SprinklePropBorder = "0" | "1" | "2";
1435
+ export type SprinklePropBorder = "0" | "1" | "2" | ProteusValue;
1215
1436
  /**
1216
1437
  * Set the element's `border-bottom-width` CSS property
1217
1438
  */
1218
- export type SprinklePropBorderB = "0" | "1" | "2";
1439
+ export type SprinklePropBorderB = "0" | "1" | "2" | ProteusValue;
1219
1440
  /**
1220
1441
  * Set the element's border color. Only accepts predefined color tokens starting with `border.` (e.g., `border.default`, `border.accent`, `border.error`), or the special values `current` and `transparent`.
1221
1442
  */
1222
- export type SprinklePropBorderColor = "border.accent" | "border.control" | "border.control.hovered" | "border.default" | "border.disabled" | "border.error" | "border.focus" | "border.focus.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "current" | "transparent";
1443
+ export type SprinklePropBorderColor = "border.accent" | "border.control" | "border.control.hovered" | "border.default" | "border.disabled" | "border.error" | "border.focus" | "border.focus.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "current" | "transparent" | ProteusValue;
1223
1444
  /**
1224
1445
  * Set the element's `border-left-width` CSS property
1225
1446
  */
1226
- export type SprinklePropBorderL = "0" | "1" | "2";
1447
+ export type SprinklePropBorderL = "0" | "1" | "2" | ProteusValue;
1227
1448
  /**
1228
1449
  * Set the element's `border-right-width` CSS property
1229
1450
  */
1230
- export type SprinklePropBorderR = "0" | "1" | "2";
1451
+ export type SprinklePropBorderR = "0" | "1" | "2" | ProteusValue;
1231
1452
  /**
1232
1453
  * Set the element's `border-top-width` CSS property
1233
1454
  */
1234
- export type SprinklePropBorderT = "0" | "1" | "2";
1455
+ export type SprinklePropBorderT = "0" | "1" | "2" | ProteusValue;
1235
1456
  /**
1236
1457
  * Set the element's text color. Only accepts predefined color tokens starting with `fg.` (e.g., `fg.default`, `fg.accent`, `fg.error`), or the special values `current` and `transparent`.
1237
1458
  */
1238
- export type SprinklePropColor = "current" | "fg.accent" | "fg.accent.hovered" | "fg.accent.strong" | "fg.avatar.neutral" | "fg.avatar.purple" | "fg.default" | "fg.default.inverse" | "fg.disabled" | "fg.error" | "fg.error.hovered" | "fg.error.light" | "fg.error.strong" | "fg.information" | "fg.information.light" | "fg.information.strong" | "fg.link.default" | "fg.link.default.hovered" | "fg.link.inverse" | "fg.link.subtle" | "fg.link.visited" | "fg.secondary" | "fg.spinner.default" | "fg.spinner.inverse" | "fg.success" | "fg.success.hovered" | "fg.success.light" | "fg.success.strong" | "fg.tertiary" | "fg.warning" | "fg.warning.hovered" | "fg.warning.inverse" | "fg.warning.light" | "fg.warning.strong" | "fg.white" | "transparent";
1459
+ export type SprinklePropColor = "current" | "fg.accent" | "fg.accent.hovered" | "fg.accent.strong" | "fg.avatar.neutral" | "fg.avatar.purple" | "fg.default" | "fg.default.inverse" | "fg.disabled" | "fg.error" | "fg.error.hovered" | "fg.error.light" | "fg.error.strong" | "fg.information" | "fg.information.light" | "fg.information.strong" | "fg.link.default" | "fg.link.default.hovered" | "fg.link.inverse" | "fg.link.subtle" | "fg.link.visited" | "fg.secondary" | "fg.spinner.default" | "fg.spinner.inverse" | "fg.success" | "fg.success.hovered" | "fg.success.light" | "fg.success.strong" | "fg.tertiary" | "fg.warning" | "fg.warning.hovered" | "fg.warning.inverse" | "fg.warning.light" | "fg.warning.strong" | "fg.white" | "transparent" | ProteusValue;
1239
1460
  /**
1240
1461
  * Set the element's `cursor` CSS property
1241
1462
  */
1242
- export type SprinklePropCursor = "default" | "pointer" | "text";
1463
+ export type SprinklePropCursor = "default" | "pointer" | "text" | ProteusValue;
1243
1464
  /**
1244
1465
  * Set the element's `display` CSS property
1245
1466
  */
1246
- export type SprinklePropDisplay = "block" | "flex" | "grid" | "inline" | "inline-block" | "inline-flex" | "none" | "table" | "table-cell" | "table-row";
1467
+ export type SprinklePropDisplay = "block" | "flex" | "grid" | "inline" | "inline-block" | "inline-flex" | "none" | "table" | "table-cell" | "table-row" | ProteusValue;
1247
1468
  /**
1248
1469
  * Set the element's `flex` CSS property
1249
1470
  */
1250
- export type SprinklePropFlex = "1" | "auto" | "initial" | "none";
1471
+ export type SprinklePropFlex = "1" | "auto" | "initial" | "none" | ProteusValue;
1251
1472
  /**
1252
1473
  * Set the element's `flex-direction` CSS property
1253
1474
  */
1254
- export type SprinklePropFlexDirection = "column" | "column-reverse" | "row" | "row-reverse";
1475
+ export type SprinklePropFlexDirection = "column" | "column-reverse" | "row" | "row-reverse" | ProteusValue;
1255
1476
  /**
1256
1477
  * Set the element's `flex-wrap` CSS property
1257
1478
  */
1258
- export type SprinklePropFlexWrap = "nowrap" | "wrap";
1479
+ export type SprinklePropFlexWrap = "nowrap" | "wrap" | ProteusValue;
1259
1480
  /**
1260
1481
  * Set the element's font family. Only accepts predefined fontFamily tokens.
1261
1482
  */
1262
- export type SprinklePropFontFamily = "mono" | "sans";
1483
+ export type SprinklePropFontFamily = "mono" | "sans" | ProteusValue;
1263
1484
  /**
1264
1485
  * Set the element's font size and line height (both properties are set together). Only accepts predefined fontSize tokens.
1265
1486
  */
1266
- export type SprinklePropFontSize = "2xl" | "3xl" | "4xl" | "inherit" | "lg" | "md" | "sm" | "xl" | "xs";
1487
+ export type SprinklePropFontSize = "2xl" | "3xl" | "4xl" | "inherit" | "lg" | "md" | "sm" | "xl" | "xs" | ProteusValue;
1267
1488
  /**
1268
1489
  * Set the element's `font-weight` CSS property
1269
1490
  */
1270
- export type SprinklePropFontWeight = "400" | "500" | "600" | "700" | "inherit";
1491
+ export type SprinklePropFontWeight = "400" | "500" | "600" | "700" | "inherit" | ProteusValue;
1271
1492
  /**
1272
1493
  * Set the element's `gap` CSS property
1273
1494
  */
1274
- export type SprinklePropGap = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
1495
+ export type SprinklePropGap = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | ProteusValue;
1275
1496
  /**
1276
1497
  * Set the element's size across grid columns
1277
1498
  */
1278
- export type SprinklePropGridColumn = "1" | "2" | "3" | "4";
1499
+ export type SprinklePropGridColumn = "1" | "2" | "3" | "4" | ProteusValue;
1279
1500
  /**
1280
1501
  * Control number of columns in a grid layout
1281
1502
  */
1282
- export type SprinklePropGridTemplateColumns = "1" | "2" | "3" | "4";
1503
+ export type SprinklePropGridTemplateColumns = "1" | "2" | "3" | "4" | ProteusValue;
1283
1504
  /**
1284
1505
  * Set the element's height. Only accepts predefined size tokens.
1285
1506
  */
1286
- export type SprinklePropH = "0" | "1/2" | "1/3" | "1/4" | "2/3" | "2xs" | "3/4" | "3xl" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "56" | "64" | "80" | "224" | "384" | "auto" | "fit" | "full" | "lg" | "max" | "md" | "min" | "sm" | "xl" | "xs";
1507
+ export type SprinklePropH = "0" | "1/2" | "1/3" | "1/4" | "2/3" | "2xs" | "3/4" | "3xl" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "56" | "64" | "80" | "224" | "384" | "auto" | "fit" | "full" | "lg" | "max" | "md" | "min" | "sm" | "xl" | "xs" | ProteusValue;
1287
1508
  /**
1288
1509
  * Set the element's `justify-content` CSS property
1289
1510
  */
1290
- export type SprinklePropJustifyContent = "center" | "end" | "flex-end" | "flex-start" | "normal" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch";
1511
+ export type SprinklePropJustifyContent = "center" | "end" | "flex-end" | "flex-start" | "normal" | "space-around" | "space-between" | "space-evenly" | "start" | "stretch" | ProteusValue;
1291
1512
  /**
1292
1513
  * Set the element's `justify-items` CSS property
1293
1514
  */
1294
- export type SprinklePropJustifyItems = "center" | "end" | "normal" | "start" | "stretch";
1515
+ export type SprinklePropJustifyItems = "center" | "end" | "normal" | "start" | "stretch" | ProteusValue;
1295
1516
  /**
1296
1517
  * Set the element's margin on all sides. Only accepts predefined spacing tokens.
1297
1518
  */
1298
- export type SprinklePropM = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto";
1519
+ export type SprinklePropM = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | ProteusValue;
1299
1520
  /**
1300
1521
  * Set the element's maximum height. Only accepts predefined maxSize tokens.
1301
1522
  */
1302
- export type SprinklePropMaxH = "full" | "lg" | "md" | "sm" | "xs";
1523
+ export type SprinklePropMaxH = "full" | "lg" | "md" | "sm" | "xs" | ProteusValue;
1303
1524
  /**
1304
1525
  * Set the element's maximum width. Only accepts predefined maxSize tokens.
1305
1526
  */
1306
- export type SprinklePropMaxW = "full" | "lg" | "md" | "sm" | "xs";
1527
+ export type SprinklePropMaxW = "full" | "lg" | "md" | "sm" | "xs" | ProteusValue;
1307
1528
  /**
1308
1529
  * Set the element's bottom margin. Only accepts predefined spacing tokens.
1309
1530
  */
1310
- export type SprinklePropMb = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto";
1531
+ export type SprinklePropMb = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | ProteusValue;
1311
1532
  /**
1312
1533
  * Set the element's left margin. Only accepts predefined spacing tokens.
1313
1534
  */
1314
- export type SprinklePropMl = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto";
1535
+ export type SprinklePropMl = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | ProteusValue;
1315
1536
  /**
1316
1537
  * Set the element's right margin. Only accepts predefined spacing tokens.
1317
1538
  */
1318
- export type SprinklePropMr = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto";
1539
+ export type SprinklePropMr = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | ProteusValue;
1319
1540
  /**
1320
1541
  * Set the element's top margin. Only accepts predefined spacing tokens.
1321
1542
  */
1322
- export type SprinklePropMt = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto";
1543
+ export type SprinklePropMt = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | ProteusValue;
1323
1544
  /**
1324
1545
  * Set the element's left and right margin. Only accepts predefined spacing tokens.
1325
1546
  */
1326
- export type SprinklePropMx = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto";
1547
+ export type SprinklePropMx = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | ProteusValue;
1327
1548
  /**
1328
1549
  * Set the element's top and bottom margin. Only accepts predefined spacing tokens.
1329
1550
  */
1330
- export type SprinklePropMy = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto";
1551
+ export type SprinklePropMy = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "auto" | ProteusValue;
1331
1552
  /**
1332
1553
  * Set the element's `object-fit` CSS property
1333
1554
  */
1334
- export type SprinklePropObjectFit = "contain" | "cover" | "fill" | "none";
1555
+ export type SprinklePropObjectFit = "contain" | "cover" | "fill" | "none" | ProteusValue;
1335
1556
  /**
1336
1557
  * Set the element's `overflow` CSS property
1337
1558
  */
1338
- export type SprinklePropOverflow = "auto" | "hidden" | "visible";
1559
+ export type SprinklePropOverflow = "auto" | "hidden" | "visible" | ProteusValue;
1339
1560
  /**
1340
1561
  * Set the element's `overflow-x` CSS property
1341
1562
  */
1342
- export type SprinklePropOverflowX = "auto" | "hidden" | "visible";
1563
+ export type SprinklePropOverflowX = "auto" | "hidden" | "visible" | ProteusValue;
1343
1564
  /**
1344
1565
  * Set the element's `overflow-y` CSS property
1345
1566
  */
1346
- export type SprinklePropOverflowY = "auto" | "hidden" | "visible";
1567
+ export type SprinklePropOverflowY = "auto" | "hidden" | "visible" | ProteusValue;
1347
1568
  /**
1348
1569
  * Set the element's padding on all sides. Only accepts predefined spacing tokens.
1349
1570
  */
1350
- export type SprinklePropP = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
1571
+ export type SprinklePropP = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | ProteusValue;
1351
1572
  /**
1352
1573
  * Set the element's bottom padding. Only accepts predefined spacing tokens.
1353
1574
  */
1354
- export type SprinklePropPb = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
1575
+ export type SprinklePropPb = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | ProteusValue;
1355
1576
  /**
1356
1577
  * Set the element's left padding. Only accepts predefined spacing tokens.
1357
1578
  */
1358
- export type SprinklePropPl = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
1579
+ export type SprinklePropPl = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | ProteusValue;
1359
1580
  /**
1360
1581
  * Set the element's `place-items` CSS property
1361
1582
  */
1362
- export type SprinklePropPlaceItems = "center";
1583
+ export type SprinklePropPlaceItems = "center" | ProteusValue;
1363
1584
  /**
1364
1585
  * Set the element's `pointer-events` CSS property
1365
1586
  */
1366
- export type SprinklePropPointerEvents = "auto" | "none";
1587
+ export type SprinklePropPointerEvents = "auto" | "none" | ProteusValue;
1367
1588
  /**
1368
1589
  * Set the element's right padding. Only accepts predefined spacing tokens.
1369
1590
  */
1370
- export type SprinklePropPr = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
1591
+ export type SprinklePropPr = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | ProteusValue;
1371
1592
  /**
1372
1593
  * Set the element's top padding. Only accepts predefined spacing tokens.
1373
1594
  */
1374
- export type SprinklePropPt = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
1595
+ export type SprinklePropPt = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | ProteusValue;
1375
1596
  /**
1376
1597
  * Set the element's left and right padding. Only accepts predefined spacing tokens.
1377
1598
  */
1378
- export type SprinklePropPx = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
1599
+ export type SprinklePropPx = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | ProteusValue;
1379
1600
  /**
1380
1601
  * Set the element's top and bottom padding. Only accepts predefined spacing tokens.
1381
1602
  */
1382
- export type SprinklePropPy = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80";
1603
+ export type SprinklePropPy = "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | ProteusValue;
1383
1604
  /**
1384
1605
  * Set the element's border radius. Only accepts predefined borderRadius tokens.
1385
1606
  */
1386
- export type SprinklePropRounded = "full" | "inherit" | "lg" | "md" | "none" | "sm" | "xl" | "xs";
1607
+ export type SprinklePropRounded = "full" | "inherit" | "lg" | "md" | "none" | "sm" | "xl" | "xs" | ProteusValue;
1387
1608
  /**
1388
1609
  * Set the element's box shadow. Only accepts predefined boxShadow tokens.
1389
1610
  */
1390
- export type SprinklePropShadow = "lg" | "md" | "none" | "sm" | "xl";
1611
+ export type SprinklePropShadow = "lg" | "md" | "none" | "sm" | "xl" | ProteusValue;
1391
1612
  /**
1392
1613
  * Set the element's width and height. Only accepts predefined size tokens.
1393
1614
  *
1394
1615
  * When width and height are the same, use `size` instead of setting both
1395
1616
  * `w` and `h` separately (e.g., prefer `size="24"` over `w="24" h="24"`).
1396
1617
  */
1397
- export type SprinklePropSize = "0" | "1/2" | "1/3" | "1/4" | "2/3" | "2xs" | "3/4" | "3xl" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "56" | "64" | "80" | "224" | "384" | "auto" | "fit" | "full" | "lg" | "max" | "md" | "min" | "sm" | "xl" | "xs";
1618
+ export type SprinklePropSize = "0" | "1/2" | "1/3" | "1/4" | "2/3" | "2xs" | "3/4" | "3xl" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "56" | "64" | "80" | "224" | "384" | "auto" | "fit" | "full" | "lg" | "max" | "md" | "min" | "sm" | "xl" | "xs" | ProteusValue;
1398
1619
  /**
1399
1620
  * Set the element's `text-align` CSS property
1400
1621
  */
1401
- export type SprinklePropTextAlign = "center" | "end" | "justify" | "start";
1622
+ export type SprinklePropTextAlign = "center" | "end" | "justify" | "start" | ProteusValue;
1402
1623
  /**
1403
1624
  * Set the element's `text-transform` CSS property
1404
1625
  */
1405
- export type SprinklePropTextTransform = "capitalize" | "none" | "uppercase";
1626
+ export type SprinklePropTextTransform = "capitalize" | "none" | "uppercase" | ProteusValue;
1406
1627
  /**
1407
1628
  * Control which CSS properties should transition
1408
1629
  */
1409
- export type SprinklePropTransition = "all" | "colors" | "none" | "opacity" | "transform";
1630
+ export type SprinklePropTransition = "all" | "colors" | "none" | "opacity" | "transform" | ProteusValue;
1410
1631
  /**
1411
1632
  * Set the element's width. Only accepts predefined size tokens.
1412
1633
  */
1413
- export type SprinklePropW = "0" | "1/2" | "1/3" | "1/4" | "2/3" | "2xs" | "3/4" | "3xl" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "56" | "64" | "80" | "224" | "384" | "auto" | "fit" | "full" | "lg" | "max" | "md" | "min" | "sm" | "xl" | "xs";
1634
+ export type SprinklePropW = "0" | "1/2" | "1/3" | "1/4" | "2/3" | "2xs" | "3/4" | "3xl" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "56" | "64" | "80" | "224" | "384" | "auto" | "fit" | "full" | "lg" | "max" | "md" | "min" | "sm" | "xl" | "xs" | ProteusValue;
1414
1635
  /**
1415
1636
  * Set the element's `white-space` CSS property
1416
1637
  */
1417
- export type SprinklePropWhiteSpace = "nowrap";
1638
+ export type SprinklePropWhiteSpace = "nowrap" | ProteusValue;
1418
1639
  /**
1419
1640
  * Set the element's stacking order. Only accepts predefined zIndex tokens (e.g., popover, toast, tooltip) or numeric values (0, 10, 20, 30, auto).
1420
1641
  */
1421
- export type SprinklePropZ = "0" | "10" | "20" | "30" | "auto" | "popover" | "toast" | "tooltip";
1642
+ export type SprinklePropZ = "0" | "10" | "20" | "30" | "auto" | "popover" | "toast" | "tooltip" | ProteusValue;
1422
1643
  /**
1423
1644
  * Builder namespace for Adaptive UI Document components.
1424
1645
  *
@@ -1429,7 +1650,10 @@ export type SprinklePropZ = "0" | "10" | "20" | "30" | "auto" | "popover" | "toa
1429
1650
  */
1430
1651
  export declare const UI: {
1431
1652
  Action: (props: Omit<ProteusAction, "$type">) => ProteusAction;
1653
+ Badge: (props: Omit<ProteusBadge, "$type">) => ProteusBadge;
1432
1654
  CancelAction: (props: Omit<ProteusCancelAction, "$type">) => ProteusCancelAction;
1655
+ Chart: (props: Omit<ProteusChart, "$type">) => ProteusChart;
1656
+ DataTable: (props: Omit<ProteusDataTable, "$type">) => ProteusDataTable;
1433
1657
  Document: (props: Omit<ProteusDocument, "$type">) => ProteusDocument;
1434
1658
  Field: (props: Omit<ProteusField, "$type">) => ProteusField;
1435
1659
  Group: (props: Omit<ProteusGroup, "$type">) => ProteusGroup;
@@ -1447,5 +1671,6 @@ export declare const UI: {
1447
1671
  Show: (props: Omit<ProteusShow, "$type">) => ProteusShow;
1448
1672
  Text: (props: Omit<ProteusText, "$type">) => ProteusText;
1449
1673
  Textarea: (props: Omit<ProteusTextarea, "$type">) => ProteusTextarea;
1674
+ Time: (props: Omit<ProteusTime, "$type">) => ProteusTime;
1450
1675
  Value: (props: Omit<ProteusValue, "$type">) => ProteusValue;
1451
1676
  };