@optiaxiom/proteus 0.1.16 → 0.1.18

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.
@@ -18,7 +18,7 @@ var definitions = {
18
18
  "const": "start"
19
19
  },
20
20
  {
21
- $ref: "#/definitions/ProteusValue"
21
+ $ref: "#/definitions/ProteusExpression"
22
22
  }
23
23
  ],
24
24
  description: "Set the element's `align-items` CSS property"
@@ -41,7 +41,7 @@ var definitions = {
41
41
  "const": "start"
42
42
  },
43
43
  {
44
- $ref: "#/definitions/ProteusValue"
44
+ $ref: "#/definitions/ProteusExpression"
45
45
  }
46
46
  ],
47
47
  description: "Set the element's `align-self` CSS property"
@@ -58,7 +58,7 @@ var definitions = {
58
58
  "const": "spin"
59
59
  },
60
60
  {
61
- $ref: "#/definitions/ProteusValue"
61
+ $ref: "#/definitions/ProteusExpression"
62
62
  }
63
63
  ],
64
64
  description: "Animate element with CSS animations"
@@ -69,7 +69,7 @@ var definitions = {
69
69
  "const": "gradient.opal"
70
70
  },
71
71
  {
72
- $ref: "#/definitions/ProteusValue"
72
+ $ref: "#/definitions/ProteusExpression"
73
73
  }
74
74
  ],
75
75
  description: "Set the element's `background-image` CSS property"
@@ -197,7 +197,7 @@ var definitions = {
197
197
  "const": "current"
198
198
  },
199
199
  {
200
- $ref: "#/definitions/ProteusValue"
200
+ $ref: "#/definitions/ProteusExpression"
201
201
  }
202
202
  ],
203
203
  description: "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`."
@@ -214,7 +214,7 @@ var definitions = {
214
214
  "const": "1"
215
215
  },
216
216
  {
217
- $ref: "#/definitions/ProteusValue"
217
+ $ref: "#/definitions/ProteusExpression"
218
218
  }
219
219
  ],
220
220
  description: "Set the element's `border-width` CSS property"
@@ -231,7 +231,7 @@ var definitions = {
231
231
  "const": "1"
232
232
  },
233
233
  {
234
- $ref: "#/definitions/ProteusValue"
234
+ $ref: "#/definitions/ProteusExpression"
235
235
  }
236
236
  ],
237
237
  description: "Set the element's `border-bottom-width` CSS property"
@@ -281,7 +281,7 @@ var definitions = {
281
281
  "const": "current"
282
282
  },
283
283
  {
284
- $ref: "#/definitions/ProteusValue"
284
+ $ref: "#/definitions/ProteusExpression"
285
285
  }
286
286
  ],
287
287
  description: "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`."
@@ -298,7 +298,7 @@ var definitions = {
298
298
  "const": "1"
299
299
  },
300
300
  {
301
- $ref: "#/definitions/ProteusValue"
301
+ $ref: "#/definitions/ProteusExpression"
302
302
  }
303
303
  ],
304
304
  description: "Set the element's `border-left-width` CSS property"
@@ -315,7 +315,7 @@ var definitions = {
315
315
  "const": "1"
316
316
  },
317
317
  {
318
- $ref: "#/definitions/ProteusValue"
318
+ $ref: "#/definitions/ProteusExpression"
319
319
  }
320
320
  ],
321
321
  description: "Set the element's `border-right-width` CSS property"
@@ -332,7 +332,7 @@ var definitions = {
332
332
  "const": "1"
333
333
  },
334
334
  {
335
- $ref: "#/definitions/ProteusValue"
335
+ $ref: "#/definitions/ProteusExpression"
336
336
  }
337
337
  ],
338
338
  description: "Set the element's `border-top-width` CSS property"
@@ -448,7 +448,7 @@ var definitions = {
448
448
  "const": "current"
449
449
  },
450
450
  {
451
- $ref: "#/definitions/ProteusValue"
451
+ $ref: "#/definitions/ProteusExpression"
452
452
  }
453
453
  ],
454
454
  description: "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`."
@@ -465,7 +465,7 @@ var definitions = {
465
465
  "const": "text"
466
466
  },
467
467
  {
468
- $ref: "#/definitions/ProteusValue"
468
+ $ref: "#/definitions/ProteusExpression"
469
469
  }
470
470
  ],
471
471
  description: "Set the element's `cursor` CSS property"
@@ -503,7 +503,7 @@ var definitions = {
503
503
  "const": "inline-flex"
504
504
  },
505
505
  {
506
- $ref: "#/definitions/ProteusValue"
506
+ $ref: "#/definitions/ProteusExpression"
507
507
  }
508
508
  ],
509
509
  description: "Set the element's `display` CSS property"
@@ -523,7 +523,7 @@ var definitions = {
523
523
  "const": "1"
524
524
  },
525
525
  {
526
- $ref: "#/definitions/ProteusValue"
526
+ $ref: "#/definitions/ProteusExpression"
527
527
  }
528
528
  ],
529
529
  description: "Set the element's `flex` CSS property"
@@ -543,7 +543,7 @@ var definitions = {
543
543
  "const": "row-reverse"
544
544
  },
545
545
  {
546
- $ref: "#/definitions/ProteusValue"
546
+ $ref: "#/definitions/ProteusExpression"
547
547
  }
548
548
  ],
549
549
  description: "Set the element's `flex-direction` CSS property"
@@ -557,7 +557,7 @@ var definitions = {
557
557
  "const": "wrap"
558
558
  },
559
559
  {
560
- $ref: "#/definitions/ProteusValue"
560
+ $ref: "#/definitions/ProteusExpression"
561
561
  }
562
562
  ],
563
563
  description: "Set the element's `flex-wrap` CSS property"
@@ -571,7 +571,7 @@ var definitions = {
571
571
  "const": "sans"
572
572
  },
573
573
  {
574
- $ref: "#/definitions/ProteusValue"
574
+ $ref: "#/definitions/ProteusExpression"
575
575
  }
576
576
  ],
577
577
  description: "Set the element's font family. Only accepts predefined fontFamily tokens."
@@ -606,7 +606,7 @@ var definitions = {
606
606
  "const": "4xl"
607
607
  },
608
608
  {
609
- $ref: "#/definitions/ProteusValue"
609
+ $ref: "#/definitions/ProteusExpression"
610
610
  }
611
611
  ],
612
612
  description: "Set the element's font size and line height (both properties are set together). Only accepts predefined fontSize tokens."
@@ -629,7 +629,7 @@ var definitions = {
629
629
  "const": "700"
630
630
  },
631
631
  {
632
- $ref: "#/definitions/ProteusValue"
632
+ $ref: "#/definitions/ProteusExpression"
633
633
  }
634
634
  ],
635
635
  description: "Set the element's `font-weight` CSS property"
@@ -682,7 +682,7 @@ var definitions = {
682
682
  "const": "64"
683
683
  },
684
684
  {
685
- $ref: "#/definitions/ProteusValue"
685
+ $ref: "#/definitions/ProteusExpression"
686
686
  }
687
687
  ],
688
688
  description: "Set the element's `gap` CSS property"
@@ -693,7 +693,7 @@ var definitions = {
693
693
  "const": "fr"
694
694
  },
695
695
  {
696
- $ref: "#/definitions/ProteusValue"
696
+ $ref: "#/definitions/ProteusExpression"
697
697
  }
698
698
  ],
699
699
  description: "Set the element's `grid-auto-rows` CSS property"
@@ -713,7 +713,7 @@ var definitions = {
713
713
  "const": "3"
714
714
  },
715
715
  {
716
- $ref: "#/definitions/ProteusValue"
716
+ $ref: "#/definitions/ProteusExpression"
717
717
  }
718
718
  ],
719
719
  description: "Set the element's size across grid columns"
@@ -733,7 +733,7 @@ var definitions = {
733
733
  "const": "3"
734
734
  },
735
735
  {
736
- $ref: "#/definitions/ProteusValue"
736
+ $ref: "#/definitions/ProteusExpression"
737
737
  }
738
738
  ],
739
739
  description: "Control number of columns in a grid layout"
@@ -834,7 +834,7 @@ var definitions = {
834
834
  "const": "min"
835
835
  },
836
836
  {
837
- $ref: "#/definitions/ProteusValue"
837
+ $ref: "#/definitions/ProteusExpression"
838
838
  }
839
839
  ],
840
840
  description: "Set the element's height. Only accepts predefined size tokens."
@@ -872,7 +872,7 @@ var definitions = {
872
872
  "const": "start"
873
873
  },
874
874
  {
875
- $ref: "#/definitions/ProteusValue"
875
+ $ref: "#/definitions/ProteusExpression"
876
876
  }
877
877
  ],
878
878
  description: "Set the element's `justify-content` CSS property"
@@ -895,7 +895,7 @@ var definitions = {
895
895
  "const": "start"
896
896
  },
897
897
  {
898
- $ref: "#/definitions/ProteusValue"
898
+ $ref: "#/definitions/ProteusExpression"
899
899
  }
900
900
  ],
901
901
  description: "Set the element's `justify-items` CSS property"
@@ -951,7 +951,7 @@ var definitions = {
951
951
  "const": "64"
952
952
  },
953
953
  {
954
- $ref: "#/definitions/ProteusValue"
954
+ $ref: "#/definitions/ProteusExpression"
955
955
  }
956
956
  ],
957
957
  description: "Set the element's margin on all sides. Only accepts predefined spacing tokens."
@@ -974,7 +974,7 @@ var definitions = {
974
974
  "const": "full"
975
975
  },
976
976
  {
977
- $ref: "#/definitions/ProteusValue"
977
+ $ref: "#/definitions/ProteusExpression"
978
978
  }
979
979
  ],
980
980
  description: "Set the element's maximum height. Only accepts predefined maxSize tokens."
@@ -997,7 +997,7 @@ var definitions = {
997
997
  "const": "full"
998
998
  },
999
999
  {
1000
- $ref: "#/definitions/ProteusValue"
1000
+ $ref: "#/definitions/ProteusExpression"
1001
1001
  }
1002
1002
  ],
1003
1003
  description: "Set the element's maximum width. Only accepts predefined maxSize tokens."
@@ -1053,7 +1053,7 @@ var definitions = {
1053
1053
  "const": "64"
1054
1054
  },
1055
1055
  {
1056
- $ref: "#/definitions/ProteusValue"
1056
+ $ref: "#/definitions/ProteusExpression"
1057
1057
  }
1058
1058
  ],
1059
1059
  description: "Set the element's bottom margin. Only accepts predefined spacing tokens."
@@ -1109,7 +1109,7 @@ var definitions = {
1109
1109
  "const": "64"
1110
1110
  },
1111
1111
  {
1112
- $ref: "#/definitions/ProteusValue"
1112
+ $ref: "#/definitions/ProteusExpression"
1113
1113
  }
1114
1114
  ],
1115
1115
  description: "Set the element's left margin. Only accepts predefined spacing tokens."
@@ -1165,7 +1165,7 @@ var definitions = {
1165
1165
  "const": "64"
1166
1166
  },
1167
1167
  {
1168
- $ref: "#/definitions/ProteusValue"
1168
+ $ref: "#/definitions/ProteusExpression"
1169
1169
  }
1170
1170
  ],
1171
1171
  description: "Set the element's right margin. Only accepts predefined spacing tokens."
@@ -1221,7 +1221,7 @@ var definitions = {
1221
1221
  "const": "64"
1222
1222
  },
1223
1223
  {
1224
- $ref: "#/definitions/ProteusValue"
1224
+ $ref: "#/definitions/ProteusExpression"
1225
1225
  }
1226
1226
  ],
1227
1227
  description: "Set the element's top margin. Only accepts predefined spacing tokens."
@@ -1277,7 +1277,7 @@ var definitions = {
1277
1277
  "const": "64"
1278
1278
  },
1279
1279
  {
1280
- $ref: "#/definitions/ProteusValue"
1280
+ $ref: "#/definitions/ProteusExpression"
1281
1281
  }
1282
1282
  ],
1283
1283
  description: "Set the element's left and right margin. Only accepts predefined spacing tokens."
@@ -1333,7 +1333,7 @@ var definitions = {
1333
1333
  "const": "64"
1334
1334
  },
1335
1335
  {
1336
- $ref: "#/definitions/ProteusValue"
1336
+ $ref: "#/definitions/ProteusExpression"
1337
1337
  }
1338
1338
  ],
1339
1339
  description: "Set the element's top and bottom margin. Only accepts predefined spacing tokens."
@@ -1353,7 +1353,7 @@ var definitions = {
1353
1353
  "const": "cover"
1354
1354
  },
1355
1355
  {
1356
- $ref: "#/definitions/ProteusValue"
1356
+ $ref: "#/definitions/ProteusExpression"
1357
1357
  }
1358
1358
  ],
1359
1359
  description: "Set the element's `object-fit` CSS property"
@@ -1370,7 +1370,7 @@ var definitions = {
1370
1370
  "const": "visible"
1371
1371
  },
1372
1372
  {
1373
- $ref: "#/definitions/ProteusValue"
1373
+ $ref: "#/definitions/ProteusExpression"
1374
1374
  }
1375
1375
  ],
1376
1376
  description: "Set the element's `overflow` CSS property"
@@ -1387,7 +1387,7 @@ var definitions = {
1387
1387
  "const": "visible"
1388
1388
  },
1389
1389
  {
1390
- $ref: "#/definitions/ProteusValue"
1390
+ $ref: "#/definitions/ProteusExpression"
1391
1391
  }
1392
1392
  ],
1393
1393
  description: "Set the element's `overflow-x` CSS property"
@@ -1404,7 +1404,7 @@ var definitions = {
1404
1404
  "const": "visible"
1405
1405
  },
1406
1406
  {
1407
- $ref: "#/definitions/ProteusValue"
1407
+ $ref: "#/definitions/ProteusExpression"
1408
1408
  }
1409
1409
  ],
1410
1410
  description: "Set the element's `overflow-y` CSS property"
@@ -1457,7 +1457,7 @@ var definitions = {
1457
1457
  "const": "64"
1458
1458
  },
1459
1459
  {
1460
- $ref: "#/definitions/ProteusValue"
1460
+ $ref: "#/definitions/ProteusExpression"
1461
1461
  }
1462
1462
  ],
1463
1463
  description: "Set the element's padding on all sides. Only accepts predefined spacing tokens."
@@ -1510,7 +1510,7 @@ var definitions = {
1510
1510
  "const": "64"
1511
1511
  },
1512
1512
  {
1513
- $ref: "#/definitions/ProteusValue"
1513
+ $ref: "#/definitions/ProteusExpression"
1514
1514
  }
1515
1515
  ],
1516
1516
  description: "Set the element's bottom padding. Only accepts predefined spacing tokens."
@@ -1563,7 +1563,7 @@ var definitions = {
1563
1563
  "const": "64"
1564
1564
  },
1565
1565
  {
1566
- $ref: "#/definitions/ProteusValue"
1566
+ $ref: "#/definitions/ProteusExpression"
1567
1567
  }
1568
1568
  ],
1569
1569
  description: "Set the element's left padding. Only accepts predefined spacing tokens."
@@ -1574,7 +1574,7 @@ var definitions = {
1574
1574
  "const": "center"
1575
1575
  },
1576
1576
  {
1577
- $ref: "#/definitions/ProteusValue"
1577
+ $ref: "#/definitions/ProteusExpression"
1578
1578
  }
1579
1579
  ],
1580
1580
  description: "Set the element's `place-items` CSS property"
@@ -1588,7 +1588,7 @@ var definitions = {
1588
1588
  "const": "auto"
1589
1589
  },
1590
1590
  {
1591
- $ref: "#/definitions/ProteusValue"
1591
+ $ref: "#/definitions/ProteusExpression"
1592
1592
  }
1593
1593
  ],
1594
1594
  description: "Set the element's `pointer-events` CSS property"
@@ -1641,7 +1641,7 @@ var definitions = {
1641
1641
  "const": "64"
1642
1642
  },
1643
1643
  {
1644
- $ref: "#/definitions/ProteusValue"
1644
+ $ref: "#/definitions/ProteusExpression"
1645
1645
  }
1646
1646
  ],
1647
1647
  description: "Set the element's right padding. Only accepts predefined spacing tokens."
@@ -1694,7 +1694,7 @@ var definitions = {
1694
1694
  "const": "64"
1695
1695
  },
1696
1696
  {
1697
- $ref: "#/definitions/ProteusValue"
1697
+ $ref: "#/definitions/ProteusExpression"
1698
1698
  }
1699
1699
  ],
1700
1700
  description: "Set the element's top padding. Only accepts predefined spacing tokens."
@@ -1747,7 +1747,7 @@ var definitions = {
1747
1747
  "const": "64"
1748
1748
  },
1749
1749
  {
1750
- $ref: "#/definitions/ProteusValue"
1750
+ $ref: "#/definitions/ProteusExpression"
1751
1751
  }
1752
1752
  ],
1753
1753
  description: "Set the element's left and right padding. Only accepts predefined spacing tokens."
@@ -1800,7 +1800,7 @@ var definitions = {
1800
1800
  "const": "64"
1801
1801
  },
1802
1802
  {
1803
- $ref: "#/definitions/ProteusValue"
1803
+ $ref: "#/definitions/ProteusExpression"
1804
1804
  }
1805
1805
  ],
1806
1806
  description: "Set the element's top and bottom padding. Only accepts predefined spacing tokens."
@@ -1832,7 +1832,7 @@ var definitions = {
1832
1832
  "const": "full"
1833
1833
  },
1834
1834
  {
1835
- $ref: "#/definitions/ProteusValue"
1835
+ $ref: "#/definitions/ProteusExpression"
1836
1836
  }
1837
1837
  ],
1838
1838
  description: "Set the element's border radius. Only accepts predefined borderRadius tokens."
@@ -1855,7 +1855,7 @@ var definitions = {
1855
1855
  "const": "xl"
1856
1856
  },
1857
1857
  {
1858
- $ref: "#/definitions/ProteusValue"
1858
+ $ref: "#/definitions/ProteusExpression"
1859
1859
  }
1860
1860
  ],
1861
1861
  description: "Set the element's box shadow. Only accepts predefined boxShadow tokens."
@@ -1956,7 +1956,7 @@ var definitions = {
1956
1956
  "const": "min"
1957
1957
  },
1958
1958
  {
1959
- $ref: "#/definitions/ProteusValue"
1959
+ $ref: "#/definitions/ProteusExpression"
1960
1960
  }
1961
1961
  ],
1962
1962
  description: "Set the element's width and height. Only accepts predefined size tokens.\n\nWhen width and height are the same, use `size` instead of setting both\n`w` and `h` separately (e.g., prefer `size=\"24\"` over `w=\"24\" h=\"24\"`)."
@@ -1976,7 +1976,7 @@ var definitions = {
1976
1976
  "const": "justify"
1977
1977
  },
1978
1978
  {
1979
- $ref: "#/definitions/ProteusValue"
1979
+ $ref: "#/definitions/ProteusExpression"
1980
1980
  }
1981
1981
  ],
1982
1982
  description: "Set the element's `text-align` CSS property"
@@ -1993,7 +1993,7 @@ var definitions = {
1993
1993
  "const": "uppercase"
1994
1994
  },
1995
1995
  {
1996
- $ref: "#/definitions/ProteusValue"
1996
+ $ref: "#/definitions/ProteusExpression"
1997
1997
  }
1998
1998
  ],
1999
1999
  description: "Set the element's `text-transform` CSS property"
@@ -2016,7 +2016,7 @@ var definitions = {
2016
2016
  "const": "colors"
2017
2017
  },
2018
2018
  {
2019
- $ref: "#/definitions/ProteusValue"
2019
+ $ref: "#/definitions/ProteusExpression"
2020
2020
  }
2021
2021
  ],
2022
2022
  description: "Control which CSS properties should transition"
@@ -2117,7 +2117,7 @@ var definitions = {
2117
2117
  "const": "min"
2118
2118
  },
2119
2119
  {
2120
- $ref: "#/definitions/ProteusValue"
2120
+ $ref: "#/definitions/ProteusExpression"
2121
2121
  }
2122
2122
  ],
2123
2123
  description: "Set the element's width. Only accepts predefined size tokens."
@@ -2128,7 +2128,7 @@ var definitions = {
2128
2128
  "const": "nowrap"
2129
2129
  },
2130
2130
  {
2131
- $ref: "#/definitions/ProteusValue"
2131
+ $ref: "#/definitions/ProteusExpression"
2132
2132
  }
2133
2133
  ],
2134
2134
  description: "Set the element's `white-space` CSS property"
@@ -2160,7 +2160,7 @@ var definitions = {
2160
2160
  "const": "30"
2161
2161
  },
2162
2162
  {
2163
- $ref: "#/definitions/ProteusValue"
2163
+ $ref: "#/definitions/ProteusExpression"
2164
2164
  }
2165
2165
  ],
2166
2166
  description: "Set the element's stacking order. Only accepts predefined zIndex tokens (e.g., popover, toast, tooltip) or numeric values (0, 10, 20, 30, auto)."
@@ -2186,6 +2186,9 @@ var definitions = {
2186
2186
  {
2187
2187
  type: "null"
2188
2188
  },
2189
+ {
2190
+ $ref: "#/definitions/ProteusMapIndex"
2191
+ },
2189
2192
  {
2190
2193
  $ref: "#/definitions/ProteusValue"
2191
2194
  }
@@ -2220,6 +2223,9 @@ var definitions = {
2220
2223
  {
2221
2224
  type: "null"
2222
2225
  },
2226
+ {
2227
+ $ref: "#/definitions/ProteusMapIndex"
2228
+ },
2223
2229
  {
2224
2230
  $ref: "#/definitions/ProteusValue"
2225
2231
  }
@@ -2254,6 +2260,9 @@ var definitions = {
2254
2260
  {
2255
2261
  type: "null"
2256
2262
  },
2263
+ {
2264
+ $ref: "#/definitions/ProteusMapIndex"
2265
+ },
2257
2266
  {
2258
2267
  $ref: "#/definitions/ProteusValue"
2259
2268
  }
@@ -2288,6 +2297,9 @@ var definitions = {
2288
2297
  {
2289
2298
  type: "null"
2290
2299
  },
2300
+ {
2301
+ $ref: "#/definitions/ProteusMapIndex"
2302
+ },
2291
2303
  {
2292
2304
  $ref: "#/definitions/ProteusValue"
2293
2305
  }
@@ -2322,6 +2334,9 @@ var definitions = {
2322
2334
  {
2323
2335
  type: "null"
2324
2336
  },
2337
+ {
2338
+ $ref: "#/definitions/ProteusMapIndex"
2339
+ },
2325
2340
  {
2326
2341
  $ref: "#/definitions/ProteusValue"
2327
2342
  }
@@ -2356,6 +2371,9 @@ var definitions = {
2356
2371
  {
2357
2372
  type: "null"
2358
2373
  },
2374
+ {
2375
+ $ref: "#/definitions/ProteusMapIndex"
2376
+ },
2359
2377
  {
2360
2378
  $ref: "#/definitions/ProteusValue"
2361
2379
  }
@@ -2388,6 +2406,9 @@ var definitions = {
2388
2406
  {
2389
2407
  type: "null"
2390
2408
  },
2409
+ {
2410
+ $ref: "#/definitions/ProteusMapIndex"
2411
+ },
2391
2412
  {
2392
2413
  $ref: "#/definitions/ProteusValue"
2393
2414
  }
@@ -2417,6 +2438,9 @@ var definitions = {
2417
2438
  {
2418
2439
  type: "null"
2419
2440
  },
2441
+ {
2442
+ $ref: "#/definitions/ProteusMapIndex"
2443
+ },
2420
2444
  {
2421
2445
  $ref: "#/definitions/ProteusValue"
2422
2446
  }
@@ -2727,6 +2751,9 @@ var definitions = {
2727
2751
  {
2728
2752
  $ref: "#/definitions/ProteusMap"
2729
2753
  },
2754
+ {
2755
+ $ref: "#/definitions/ProteusMapIndex"
2756
+ },
2730
2757
  {
2731
2758
  $ref: "#/definitions/ProteusQuestion"
2732
2759
  },
@@ -2789,10 +2816,7 @@ var definitions = {
2789
2816
  message: {
2790
2817
  anyOf: [
2791
2818
  {
2792
- $ref: "#/definitions/ProteusMap"
2793
- },
2794
- {
2795
- $ref: "#/definitions/ProteusValue"
2819
+ $ref: "#/definitions/ProteusExpression"
2796
2820
  },
2797
2821
  {
2798
2822
  type: "string"
@@ -2818,10 +2842,7 @@ var definitions = {
2818
2842
  url: {
2819
2843
  anyOf: [
2820
2844
  {
2821
- $ref: "#/definitions/ProteusMap"
2822
- },
2823
- {
2824
- $ref: "#/definitions/ProteusValue"
2845
+ $ref: "#/definitions/ProteusExpression"
2825
2846
  },
2826
2847
  {
2827
2848
  type: "string"
@@ -2839,6 +2860,23 @@ var definitions = {
2839
2860
  ],
2840
2861
  description: "Handler for user interactions - a server-side interaction call, client-side message, or client-side component action"
2841
2862
  },
2863
+ ProteusExpression: {
2864
+ anyOf: [
2865
+ {
2866
+ $ref: "#/definitions/ProteusMap"
2867
+ },
2868
+ {
2869
+ $ref: "#/definitions/ProteusMapIndex"
2870
+ },
2871
+ {
2872
+ $ref: "#/definitions/ProteusShow"
2873
+ },
2874
+ {
2875
+ $ref: "#/definitions/ProteusValue"
2876
+ }
2877
+ ],
2878
+ description: "A dynamic Proteus expression that resolves to a value at render time."
2879
+ },
2842
2880
  ProteusNode: {
2843
2881
  anyOf: [
2844
2882
  {
@@ -2910,7 +2948,7 @@ var definitions = {
2910
2948
  ".*": {
2911
2949
  anyOf: [
2912
2950
  {
2913
- $ref: "#/definitions/ProteusValue"
2951
+ $ref: "#/definitions/ProteusExpression"
2914
2952
  },
2915
2953
  {
2916
2954
  items: {
@@ -2978,7 +3016,7 @@ var definitions = {
2978
3016
  "const": "primary-opal"
2979
3017
  },
2980
3018
  {
2981
- $ref: "#/definitions/ProteusValue"
3019
+ $ref: "#/definitions/ProteusExpression"
2982
3020
  }
2983
3021
  ],
2984
3022
  description: "Control the appearance by selecting between the different button types."
@@ -3151,7 +3189,7 @@ var definitions = {
3151
3189
  "const": "submit"
3152
3190
  },
3153
3191
  {
3154
- $ref: "#/definitions/ProteusValue"
3192
+ $ref: "#/definitions/ProteusExpression"
3155
3193
  }
3156
3194
  ],
3157
3195
  description: "The default behavior of the button."
@@ -3229,7 +3267,7 @@ var definitions = {
3229
3267
  "const": "neutral"
3230
3268
  },
3231
3269
  {
3232
- $ref: "#/definitions/ProteusValue"
3270
+ $ref: "#/definitions/ProteusExpression"
3233
3271
  }
3234
3272
  ],
3235
3273
  description: "Control the avatar fallback background and text colors."
@@ -3252,7 +3290,7 @@ var definitions = {
3252
3290
  "const": "user"
3253
3291
  },
3254
3292
  {
3255
- $ref: "#/definitions/ProteusValue"
3293
+ $ref: "#/definitions/ProteusExpression"
3256
3294
  }
3257
3295
  ],
3258
3296
  description: "The fallback icon to display when no name or image is given."
@@ -3329,7 +3367,7 @@ var definitions = {
3329
3367
  type: "string"
3330
3368
  },
3331
3369
  {
3332
- $ref: "#/definitions/ProteusValue"
3370
+ $ref: "#/definitions/ProteusExpression"
3333
3371
  }
3334
3372
  ],
3335
3373
  description: "Use name to generate initials to show inside the avatar."
@@ -3403,7 +3441,7 @@ var definitions = {
3403
3441
  "const": "2xs"
3404
3442
  },
3405
3443
  {
3406
- $ref: "#/definitions/ProteusValue"
3444
+ $ref: "#/definitions/ProteusExpression"
3407
3445
  }
3408
3446
  ],
3409
3447
  description: "Control the size of the avatar."
@@ -3414,7 +3452,7 @@ var definitions = {
3414
3452
  type: "string"
3415
3453
  },
3416
3454
  {
3417
- $ref: "#/definitions/ProteusValue"
3455
+ $ref: "#/definitions/ProteusExpression"
3418
3456
  }
3419
3457
  ],
3420
3458
  description: "Render the image inside the avatar."
@@ -3555,7 +3593,7 @@ var definitions = {
3555
3593
  "const": "primary"
3556
3594
  },
3557
3595
  {
3558
- $ref: "#/definitions/ProteusValue"
3596
+ $ref: "#/definitions/ProteusExpression"
3559
3597
  }
3560
3598
  ],
3561
3599
  description: "Control the appearance by selecting between the different badge types."
@@ -4186,7 +4224,7 @@ var definitions = {
4186
4224
  "const": "3"
4187
4225
  },
4188
4226
  {
4189
- $ref: "#/definitions/ProteusValue"
4227
+ $ref: "#/definitions/ProteusExpression"
4190
4228
  }
4191
4229
  ],
4192
4230
  description: "Truncate the text at specific number of lines."
@@ -4387,7 +4425,7 @@ var definitions = {
4387
4425
  type: "string"
4388
4426
  },
4389
4427
  {
4390
- $ref: "#/definitions/ProteusValue"
4428
+ $ref: "#/definitions/ProteusExpression"
4391
4429
  }
4392
4430
  ],
4393
4431
  description: "The link href."
@@ -4536,13 +4574,13 @@ var definitions = {
4536
4574
  type: "array"
4537
4575
  },
4538
4576
  {
4539
- $ref: "#/definitions/ProteusValue"
4577
+ $ref: "#/definitions/ProteusExpression"
4540
4578
  },
4541
4579
  {
4542
4580
  $ref: "#/definitions/ProteusZip"
4543
4581
  }
4544
4582
  ],
4545
- description: "Chart data records, either inline, a ProteusValue reference, or a ProteusZip transformation"
4583
+ description: "Chart data records, either inline, a ProteusExpression, or a ProteusZip transformation"
4546
4584
  },
4547
4585
  series: {
4548
4586
  description: "Data series configuration",
@@ -4694,7 +4732,7 @@ var definitions = {
4694
4732
  type: "array"
4695
4733
  },
4696
4734
  {
4697
- $ref: "#/definitions/ProteusValue"
4735
+ $ref: "#/definitions/ProteusExpression"
4698
4736
  },
4699
4737
  {
4700
4738
  $ref: "#/definitions/ProteusZip"
@@ -4891,7 +4929,7 @@ var definitions = {
4891
4929
  type: "boolean"
4892
4930
  },
4893
4931
  {
4894
- $ref: "#/definitions/ProteusValue"
4932
+ $ref: "#/definitions/ProteusExpression"
4895
4933
  }
4896
4934
  ],
4897
4935
  description: "Display an asterisk for required inputs."
@@ -4962,7 +5000,7 @@ var definitions = {
4962
5000
  "const": "start"
4963
5001
  },
4964
5002
  {
4965
- $ref: "#/definitions/ProteusValue"
5003
+ $ref: "#/definitions/ProteusExpression"
4966
5004
  }
4967
5005
  ],
4968
5006
  description: "Set the element's `align-items` CSS property. Defaults to `center` when\n`flexDirection='row'`, and `stretch` when `flexDirection='column'`."
@@ -5027,7 +5065,7 @@ var definitions = {
5027
5065
  "const": "row-reverse"
5028
5066
  },
5029
5067
  {
5030
- $ref: "#/definitions/ProteusValue"
5068
+ $ref: "#/definitions/ProteusExpression"
5031
5069
  }
5032
5070
  ],
5033
5071
  description: "Set the element's `flex-direction` CSS property.\n\nDefault: 'row' (CSS standard)"
@@ -5276,7 +5314,7 @@ var definitions = {
5276
5314
  "const": "3"
5277
5315
  },
5278
5316
  {
5279
- $ref: "#/definitions/ProteusValue"
5317
+ $ref: "#/definitions/ProteusExpression"
5280
5318
  }
5281
5319
  ],
5282
5320
  description: "Heading level (1-4) that controls both the semantic HTML tag and font size.\n- `level=\"1\"`: renders `<h1>` with `fontSize=\"4xl\"` (default)\n- `level=\"2\"`: renders `<h2>` with `fontSize=\"3xl\"`\n- `level=\"3\"`: renders `<h3>` with `fontSize=\"2xl\"`\n- `level=\"4\"`: renders `<h4>` with `fontSize=\"xl\"`\n\nUse `asChild` to decouple the semantic level from visual appearance."
@@ -5756,7 +5794,7 @@ var definitions = {
5756
5794
  alt: {
5757
5795
  anyOf: [
5758
5796
  {
5759
- $ref: "#/definitions/ProteusValue"
5797
+ $ref: "#/definitions/ProteusExpression"
5760
5798
  },
5761
5799
  {
5762
5800
  type: "string"
@@ -5767,7 +5805,7 @@ var definitions = {
5767
5805
  src: {
5768
5806
  anyOf: [
5769
5807
  {
5770
- $ref: "#/definitions/ProteusValue"
5808
+ $ref: "#/definitions/ProteusExpression"
5771
5809
  },
5772
5810
  {
5773
5811
  type: "string"
@@ -5805,7 +5843,7 @@ var definitions = {
5805
5843
  downloadAll: {
5806
5844
  anyOf: [
5807
5845
  {
5808
- $ref: "#/definitions/ProteusValue"
5846
+ $ref: "#/definitions/ProteusExpression"
5809
5847
  },
5810
5848
  {
5811
5849
  type: "string"
@@ -5841,7 +5879,7 @@ var definitions = {
5841
5879
  type: "array"
5842
5880
  },
5843
5881
  {
5844
- $ref: "#/definitions/ProteusValue"
5882
+ $ref: "#/definitions/ProteusExpression"
5845
5883
  }
5846
5884
  ],
5847
5885
  description: "Array of image data to display in the carousel"
@@ -5849,7 +5887,7 @@ var definitions = {
5849
5887
  title: {
5850
5888
  anyOf: [
5851
5889
  {
5852
- $ref: "#/definitions/ProteusValue"
5890
+ $ref: "#/definitions/ProteusExpression"
5853
5891
  },
5854
5892
  {
5855
5893
  type: "string"
@@ -5903,7 +5941,7 @@ var definitions = {
5903
5941
  "const": "default"
5904
5942
  },
5905
5943
  {
5906
- $ref: "#/definitions/ProteusValue"
5944
+ $ref: "#/definitions/ProteusExpression"
5907
5945
  }
5908
5946
  ],
5909
5947
  description: "Control the appearance of the input."
@@ -5914,7 +5952,7 @@ var definitions = {
5914
5952
  type: "boolean"
5915
5953
  },
5916
5954
  {
5917
- $ref: "#/definitions/ProteusValue"
5955
+ $ref: "#/definitions/ProteusExpression"
5918
5956
  }
5919
5957
  ],
5920
5958
  description: "Whether the input should be focused on mount."
@@ -6024,7 +6062,7 @@ var definitions = {
6024
6062
  type: "string"
6025
6063
  },
6026
6064
  {
6027
- $ref: "#/definitions/ProteusValue"
6065
+ $ref: "#/definitions/ProteusExpression"
6028
6066
  }
6029
6067
  ],
6030
6068
  description: "The name of the form control element."
@@ -6056,7 +6094,7 @@ var definitions = {
6056
6094
  type: "string"
6057
6095
  },
6058
6096
  {
6059
- $ref: "#/definitions/ProteusValue"
6097
+ $ref: "#/definitions/ProteusExpression"
6060
6098
  }
6061
6099
  ],
6062
6100
  description: "The placeholder text to use when control has no value."
@@ -6085,7 +6123,7 @@ var definitions = {
6085
6123
  type: "boolean"
6086
6124
  },
6087
6125
  {
6088
- $ref: "#/definitions/ProteusValue"
6126
+ $ref: "#/definitions/ProteusExpression"
6089
6127
  }
6090
6128
  ],
6091
6129
  description: "Whether selecting this input is required."
@@ -6177,7 +6215,7 @@ var definitions = {
6177
6215
  type: "string"
6178
6216
  },
6179
6217
  {
6180
- $ref: "#/definitions/ProteusValue"
6218
+ $ref: "#/definitions/ProteusExpression"
6181
6219
  }
6182
6220
  ],
6183
6221
  description: "The input type."
@@ -6294,7 +6332,7 @@ var definitions = {
6294
6332
  type: "string"
6295
6333
  },
6296
6334
  {
6297
- $ref: "#/definitions/ProteusValue"
6335
+ $ref: "#/definitions/ProteusExpression"
6298
6336
  }
6299
6337
  ],
6300
6338
  description: "The link href."
@@ -6439,6 +6477,23 @@ var definitions = {
6439
6477
  ],
6440
6478
  type: "object"
6441
6479
  },
6480
+ ProteusMapIndex: {
6481
+ additionalProperties: false,
6482
+ examples: [
6483
+ {
6484
+ $type: "MapIndex"
6485
+ }
6486
+ ],
6487
+ properties: {
6488
+ $type: {
6489
+ "const": "MapIndex"
6490
+ }
6491
+ },
6492
+ required: [
6493
+ "$type"
6494
+ ],
6495
+ type: "object"
6496
+ },
6442
6497
  ProteusQuestion: {
6443
6498
  additionalProperties: false,
6444
6499
  properties: {
@@ -6446,7 +6501,7 @@ var definitions = {
6446
6501
  "const": "Question"
6447
6502
  },
6448
6503
  questions: {
6449
- $ref: "#/definitions/ProteusValue",
6504
+ $ref: "#/definitions/ProteusExpression",
6450
6505
  description: "Array of questions data"
6451
6506
  }
6452
6507
  },
@@ -6589,7 +6644,7 @@ var definitions = {
6589
6644
  type: "number"
6590
6645
  },
6591
6646
  {
6592
- $ref: "#/definitions/ProteusValue"
6647
+ $ref: "#/definitions/ProteusExpression"
6593
6648
  }
6594
6649
  ],
6595
6650
  description: "The maximum value for the range."
@@ -6609,7 +6664,7 @@ var definitions = {
6609
6664
  type: "number"
6610
6665
  },
6611
6666
  {
6612
- $ref: "#/definitions/ProteusValue"
6667
+ $ref: "#/definitions/ProteusExpression"
6613
6668
  }
6614
6669
  ],
6615
6670
  description: "The minimum value for the range."
@@ -6680,7 +6735,7 @@ var definitions = {
6680
6735
  type: "number"
6681
6736
  },
6682
6737
  {
6683
- $ref: "#/definitions/ProteusValue"
6738
+ $ref: "#/definitions/ProteusExpression"
6684
6739
  }
6685
6740
  ],
6686
6741
  description: "The stepping interval for the range."
@@ -6749,7 +6804,7 @@ var definitions = {
6749
6804
  type: "string"
6750
6805
  },
6751
6806
  {
6752
- $ref: "#/definitions/ProteusValue"
6807
+ $ref: "#/definitions/ProteusExpression"
6753
6808
  }
6754
6809
  ],
6755
6810
  description: "The name of the inner select element."
@@ -6782,7 +6837,7 @@ var definitions = {
6782
6837
  type: "boolean"
6783
6838
  },
6784
6839
  {
6785
- $ref: "#/definitions/ProteusValue"
6840
+ $ref: "#/definitions/ProteusExpression"
6786
6841
  }
6787
6842
  ],
6788
6843
  description: "Whether the select value is required."
@@ -7527,7 +7582,7 @@ var definitions = {
7527
7582
  type: "string"
7528
7583
  },
7529
7584
  {
7530
- $ref: "#/definitions/ProteusValue"
7585
+ $ref: "#/definitions/ProteusExpression"
7531
7586
  }
7532
7587
  ],
7533
7588
  description: "The name of the form control element."
@@ -7577,7 +7632,7 @@ var definitions = {
7577
7632
  type: "boolean"
7578
7633
  },
7579
7634
  {
7580
- $ref: "#/definitions/ProteusValue"
7635
+ $ref: "#/definitions/ProteusExpression"
7581
7636
  }
7582
7637
  ],
7583
7638
  description: "Whether selecting this input is required."
@@ -7723,7 +7778,7 @@ var definitions = {
7723
7778
  "const": "3"
7724
7779
  },
7725
7780
  {
7726
- $ref: "#/definitions/ProteusValue"
7781
+ $ref: "#/definitions/ProteusExpression"
7727
7782
  }
7728
7783
  ],
7729
7784
  description: "Truncate the text at specific number of lines."
@@ -7818,7 +7873,7 @@ var definitions = {
7818
7873
  type: "boolean"
7819
7874
  },
7820
7875
  {
7821
- $ref: "#/definitions/ProteusValue"
7876
+ $ref: "#/definitions/ProteusExpression"
7822
7877
  }
7823
7878
  ],
7824
7879
  description: "Whether to truncate the text and add an ellipsis at the end."
@@ -7956,7 +8011,7 @@ var definitions = {
7956
8011
  "const": 5
7957
8012
  },
7958
8013
  {
7959
- $ref: "#/definitions/ProteusValue"
8014
+ $ref: "#/definitions/ProteusExpression"
7960
8015
  }
7961
8016
  ],
7962
8017
  description: "Limits the height of the textarea when `resize=auto` is used."
@@ -7988,7 +8043,7 @@ var definitions = {
7988
8043
  type: "string"
7989
8044
  },
7990
8045
  {
7991
- $ref: "#/definitions/ProteusValue"
8046
+ $ref: "#/definitions/ProteusExpression"
7992
8047
  }
7993
8048
  ],
7994
8049
  description: "The name of the form control element."
@@ -8020,7 +8075,7 @@ var definitions = {
8020
8075
  type: "string"
8021
8076
  },
8022
8077
  {
8023
- $ref: "#/definitions/ProteusValue"
8078
+ $ref: "#/definitions/ProteusExpression"
8024
8079
  }
8025
8080
  ],
8026
8081
  description: "The placeholder text to use when control has no value."
@@ -8049,7 +8104,7 @@ var definitions = {
8049
8104
  type: "boolean"
8050
8105
  },
8051
8106
  {
8052
- $ref: "#/definitions/ProteusValue"
8107
+ $ref: "#/definitions/ProteusExpression"
8053
8108
  }
8054
8109
  ],
8055
8110
  description: "Whether selecting this input is required."
@@ -8066,7 +8121,7 @@ var definitions = {
8066
8121
  "const": "vertical"
8067
8122
  },
8068
8123
  {
8069
- $ref: "#/definitions/ProteusValue"
8124
+ $ref: "#/definitions/ProteusExpression"
8070
8125
  }
8071
8126
  ],
8072
8127
  description: "Control whether resizing mode is manual, automatic, or disabled."
@@ -8080,7 +8135,7 @@ var definitions = {
8080
8135
  type: "number"
8081
8136
  },
8082
8137
  {
8083
- $ref: "#/definitions/ProteusValue"
8138
+ $ref: "#/definitions/ProteusExpression"
8084
8139
  }
8085
8140
  ],
8086
8141
  description: "The number of rows to display."
@@ -8169,7 +8224,7 @@ var definitions = {
8169
8224
  type: "string"
8170
8225
  },
8171
8226
  {
8172
- $ref: "#/definitions/ProteusValue"
8227
+ $ref: "#/definitions/ProteusExpression"
8173
8228
  }
8174
8229
  ],
8175
8230
  description: "The date to display. Can be a `Date` object or an ISO 8601 string."
@@ -8294,7 +8349,7 @@ var definitions = {
8294
8349
  type: "boolean"
8295
8350
  },
8296
8351
  {
8297
- $ref: "#/definitions/ProteusValue"
8352
+ $ref: "#/definitions/ProteusExpression"
8298
8353
  }
8299
8354
  ],
8300
8355
  description: "Whether to show the date part of the value. Defaults to `true`."
@@ -8305,7 +8360,7 @@ var definitions = {
8305
8360
  type: "boolean"
8306
8361
  },
8307
8362
  {
8308
- $ref: "#/definitions/ProteusValue"
8363
+ $ref: "#/definitions/ProteusExpression"
8309
8364
  }
8310
8365
  ],
8311
8366
  description: "Whether to show the time part of the value. Defaults to `false`."