@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.
@@ -17,7 +17,7 @@ var definitions = {
17
17
  "const": "start"
18
18
  },
19
19
  {
20
- $ref: "#/definitions/ProteusValue"
20
+ $ref: "#/definitions/ProteusExpression"
21
21
  }
22
22
  ],
23
23
  description: "Set the element's `align-items` CSS property"
@@ -40,7 +40,7 @@ var definitions = {
40
40
  "const": "start"
41
41
  },
42
42
  {
43
- $ref: "#/definitions/ProteusValue"
43
+ $ref: "#/definitions/ProteusExpression"
44
44
  }
45
45
  ],
46
46
  description: "Set the element's `align-self` CSS property"
@@ -57,7 +57,7 @@ var definitions = {
57
57
  "const": "spin"
58
58
  },
59
59
  {
60
- $ref: "#/definitions/ProteusValue"
60
+ $ref: "#/definitions/ProteusExpression"
61
61
  }
62
62
  ],
63
63
  description: "Animate element with CSS animations"
@@ -68,7 +68,7 @@ var definitions = {
68
68
  "const": "gradient.opal"
69
69
  },
70
70
  {
71
- $ref: "#/definitions/ProteusValue"
71
+ $ref: "#/definitions/ProteusExpression"
72
72
  }
73
73
  ],
74
74
  description: "Set the element's `background-image` CSS property"
@@ -196,7 +196,7 @@ var definitions = {
196
196
  "const": "current"
197
197
  },
198
198
  {
199
- $ref: "#/definitions/ProteusValue"
199
+ $ref: "#/definitions/ProteusExpression"
200
200
  }
201
201
  ],
202
202
  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`."
@@ -213,7 +213,7 @@ var definitions = {
213
213
  "const": "1"
214
214
  },
215
215
  {
216
- $ref: "#/definitions/ProteusValue"
216
+ $ref: "#/definitions/ProteusExpression"
217
217
  }
218
218
  ],
219
219
  description: "Set the element's `border-width` CSS property"
@@ -230,7 +230,7 @@ var definitions = {
230
230
  "const": "1"
231
231
  },
232
232
  {
233
- $ref: "#/definitions/ProteusValue"
233
+ $ref: "#/definitions/ProteusExpression"
234
234
  }
235
235
  ],
236
236
  description: "Set the element's `border-bottom-width` CSS property"
@@ -280,7 +280,7 @@ var definitions = {
280
280
  "const": "current"
281
281
  },
282
282
  {
283
- $ref: "#/definitions/ProteusValue"
283
+ $ref: "#/definitions/ProteusExpression"
284
284
  }
285
285
  ],
286
286
  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`."
@@ -297,7 +297,7 @@ var definitions = {
297
297
  "const": "1"
298
298
  },
299
299
  {
300
- $ref: "#/definitions/ProteusValue"
300
+ $ref: "#/definitions/ProteusExpression"
301
301
  }
302
302
  ],
303
303
  description: "Set the element's `border-left-width` CSS property"
@@ -314,7 +314,7 @@ var definitions = {
314
314
  "const": "1"
315
315
  },
316
316
  {
317
- $ref: "#/definitions/ProteusValue"
317
+ $ref: "#/definitions/ProteusExpression"
318
318
  }
319
319
  ],
320
320
  description: "Set the element's `border-right-width` CSS property"
@@ -331,7 +331,7 @@ var definitions = {
331
331
  "const": "1"
332
332
  },
333
333
  {
334
- $ref: "#/definitions/ProteusValue"
334
+ $ref: "#/definitions/ProteusExpression"
335
335
  }
336
336
  ],
337
337
  description: "Set the element's `border-top-width` CSS property"
@@ -447,7 +447,7 @@ var definitions = {
447
447
  "const": "current"
448
448
  },
449
449
  {
450
- $ref: "#/definitions/ProteusValue"
450
+ $ref: "#/definitions/ProteusExpression"
451
451
  }
452
452
  ],
453
453
  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`."
@@ -464,7 +464,7 @@ var definitions = {
464
464
  "const": "text"
465
465
  },
466
466
  {
467
- $ref: "#/definitions/ProteusValue"
467
+ $ref: "#/definitions/ProteusExpression"
468
468
  }
469
469
  ],
470
470
  description: "Set the element's `cursor` CSS property"
@@ -502,7 +502,7 @@ var definitions = {
502
502
  "const": "inline-flex"
503
503
  },
504
504
  {
505
- $ref: "#/definitions/ProteusValue"
505
+ $ref: "#/definitions/ProteusExpression"
506
506
  }
507
507
  ],
508
508
  description: "Set the element's `display` CSS property"
@@ -522,7 +522,7 @@ var definitions = {
522
522
  "const": "1"
523
523
  },
524
524
  {
525
- $ref: "#/definitions/ProteusValue"
525
+ $ref: "#/definitions/ProteusExpression"
526
526
  }
527
527
  ],
528
528
  description: "Set the element's `flex` CSS property"
@@ -542,7 +542,7 @@ var definitions = {
542
542
  "const": "row-reverse"
543
543
  },
544
544
  {
545
- $ref: "#/definitions/ProteusValue"
545
+ $ref: "#/definitions/ProteusExpression"
546
546
  }
547
547
  ],
548
548
  description: "Set the element's `flex-direction` CSS property"
@@ -556,7 +556,7 @@ var definitions = {
556
556
  "const": "wrap"
557
557
  },
558
558
  {
559
- $ref: "#/definitions/ProteusValue"
559
+ $ref: "#/definitions/ProteusExpression"
560
560
  }
561
561
  ],
562
562
  description: "Set the element's `flex-wrap` CSS property"
@@ -570,7 +570,7 @@ var definitions = {
570
570
  "const": "sans"
571
571
  },
572
572
  {
573
- $ref: "#/definitions/ProteusValue"
573
+ $ref: "#/definitions/ProteusExpression"
574
574
  }
575
575
  ],
576
576
  description: "Set the element's font family. Only accepts predefined fontFamily tokens."
@@ -605,7 +605,7 @@ var definitions = {
605
605
  "const": "4xl"
606
606
  },
607
607
  {
608
- $ref: "#/definitions/ProteusValue"
608
+ $ref: "#/definitions/ProteusExpression"
609
609
  }
610
610
  ],
611
611
  description: "Set the element's font size and line height (both properties are set together). Only accepts predefined fontSize tokens."
@@ -628,7 +628,7 @@ var definitions = {
628
628
  "const": "700"
629
629
  },
630
630
  {
631
- $ref: "#/definitions/ProteusValue"
631
+ $ref: "#/definitions/ProteusExpression"
632
632
  }
633
633
  ],
634
634
  description: "Set the element's `font-weight` CSS property"
@@ -681,7 +681,7 @@ var definitions = {
681
681
  "const": "64"
682
682
  },
683
683
  {
684
- $ref: "#/definitions/ProteusValue"
684
+ $ref: "#/definitions/ProteusExpression"
685
685
  }
686
686
  ],
687
687
  description: "Set the element's `gap` CSS property"
@@ -692,7 +692,7 @@ var definitions = {
692
692
  "const": "fr"
693
693
  },
694
694
  {
695
- $ref: "#/definitions/ProteusValue"
695
+ $ref: "#/definitions/ProteusExpression"
696
696
  }
697
697
  ],
698
698
  description: "Set the element's `grid-auto-rows` CSS property"
@@ -712,7 +712,7 @@ var definitions = {
712
712
  "const": "3"
713
713
  },
714
714
  {
715
- $ref: "#/definitions/ProteusValue"
715
+ $ref: "#/definitions/ProteusExpression"
716
716
  }
717
717
  ],
718
718
  description: "Set the element's size across grid columns"
@@ -732,7 +732,7 @@ var definitions = {
732
732
  "const": "3"
733
733
  },
734
734
  {
735
- $ref: "#/definitions/ProteusValue"
735
+ $ref: "#/definitions/ProteusExpression"
736
736
  }
737
737
  ],
738
738
  description: "Control number of columns in a grid layout"
@@ -833,7 +833,7 @@ var definitions = {
833
833
  "const": "min"
834
834
  },
835
835
  {
836
- $ref: "#/definitions/ProteusValue"
836
+ $ref: "#/definitions/ProteusExpression"
837
837
  }
838
838
  ],
839
839
  description: "Set the element's height. Only accepts predefined size tokens."
@@ -871,7 +871,7 @@ var definitions = {
871
871
  "const": "start"
872
872
  },
873
873
  {
874
- $ref: "#/definitions/ProteusValue"
874
+ $ref: "#/definitions/ProteusExpression"
875
875
  }
876
876
  ],
877
877
  description: "Set the element's `justify-content` CSS property"
@@ -894,7 +894,7 @@ var definitions = {
894
894
  "const": "start"
895
895
  },
896
896
  {
897
- $ref: "#/definitions/ProteusValue"
897
+ $ref: "#/definitions/ProteusExpression"
898
898
  }
899
899
  ],
900
900
  description: "Set the element's `justify-items` CSS property"
@@ -950,7 +950,7 @@ var definitions = {
950
950
  "const": "64"
951
951
  },
952
952
  {
953
- $ref: "#/definitions/ProteusValue"
953
+ $ref: "#/definitions/ProteusExpression"
954
954
  }
955
955
  ],
956
956
  description: "Set the element's margin on all sides. Only accepts predefined spacing tokens."
@@ -973,7 +973,7 @@ var definitions = {
973
973
  "const": "full"
974
974
  },
975
975
  {
976
- $ref: "#/definitions/ProteusValue"
976
+ $ref: "#/definitions/ProteusExpression"
977
977
  }
978
978
  ],
979
979
  description: "Set the element's maximum height. Only accepts predefined maxSize tokens."
@@ -996,7 +996,7 @@ var definitions = {
996
996
  "const": "full"
997
997
  },
998
998
  {
999
- $ref: "#/definitions/ProteusValue"
999
+ $ref: "#/definitions/ProteusExpression"
1000
1000
  }
1001
1001
  ],
1002
1002
  description: "Set the element's maximum width. Only accepts predefined maxSize tokens."
@@ -1052,7 +1052,7 @@ var definitions = {
1052
1052
  "const": "64"
1053
1053
  },
1054
1054
  {
1055
- $ref: "#/definitions/ProteusValue"
1055
+ $ref: "#/definitions/ProteusExpression"
1056
1056
  }
1057
1057
  ],
1058
1058
  description: "Set the element's bottom margin. Only accepts predefined spacing tokens."
@@ -1108,7 +1108,7 @@ var definitions = {
1108
1108
  "const": "64"
1109
1109
  },
1110
1110
  {
1111
- $ref: "#/definitions/ProteusValue"
1111
+ $ref: "#/definitions/ProteusExpression"
1112
1112
  }
1113
1113
  ],
1114
1114
  description: "Set the element's left margin. Only accepts predefined spacing tokens."
@@ -1164,7 +1164,7 @@ var definitions = {
1164
1164
  "const": "64"
1165
1165
  },
1166
1166
  {
1167
- $ref: "#/definitions/ProteusValue"
1167
+ $ref: "#/definitions/ProteusExpression"
1168
1168
  }
1169
1169
  ],
1170
1170
  description: "Set the element's right margin. Only accepts predefined spacing tokens."
@@ -1220,7 +1220,7 @@ var definitions = {
1220
1220
  "const": "64"
1221
1221
  },
1222
1222
  {
1223
- $ref: "#/definitions/ProteusValue"
1223
+ $ref: "#/definitions/ProteusExpression"
1224
1224
  }
1225
1225
  ],
1226
1226
  description: "Set the element's top margin. Only accepts predefined spacing tokens."
@@ -1276,7 +1276,7 @@ var definitions = {
1276
1276
  "const": "64"
1277
1277
  },
1278
1278
  {
1279
- $ref: "#/definitions/ProteusValue"
1279
+ $ref: "#/definitions/ProteusExpression"
1280
1280
  }
1281
1281
  ],
1282
1282
  description: "Set the element's left and right margin. Only accepts predefined spacing tokens."
@@ -1332,7 +1332,7 @@ var definitions = {
1332
1332
  "const": "64"
1333
1333
  },
1334
1334
  {
1335
- $ref: "#/definitions/ProteusValue"
1335
+ $ref: "#/definitions/ProteusExpression"
1336
1336
  }
1337
1337
  ],
1338
1338
  description: "Set the element's top and bottom margin. Only accepts predefined spacing tokens."
@@ -1352,7 +1352,7 @@ var definitions = {
1352
1352
  "const": "cover"
1353
1353
  },
1354
1354
  {
1355
- $ref: "#/definitions/ProteusValue"
1355
+ $ref: "#/definitions/ProteusExpression"
1356
1356
  }
1357
1357
  ],
1358
1358
  description: "Set the element's `object-fit` CSS property"
@@ -1369,7 +1369,7 @@ var definitions = {
1369
1369
  "const": "visible"
1370
1370
  },
1371
1371
  {
1372
- $ref: "#/definitions/ProteusValue"
1372
+ $ref: "#/definitions/ProteusExpression"
1373
1373
  }
1374
1374
  ],
1375
1375
  description: "Set the element's `overflow` CSS property"
@@ -1386,7 +1386,7 @@ var definitions = {
1386
1386
  "const": "visible"
1387
1387
  },
1388
1388
  {
1389
- $ref: "#/definitions/ProteusValue"
1389
+ $ref: "#/definitions/ProteusExpression"
1390
1390
  }
1391
1391
  ],
1392
1392
  description: "Set the element's `overflow-x` CSS property"
@@ -1403,7 +1403,7 @@ var definitions = {
1403
1403
  "const": "visible"
1404
1404
  },
1405
1405
  {
1406
- $ref: "#/definitions/ProteusValue"
1406
+ $ref: "#/definitions/ProteusExpression"
1407
1407
  }
1408
1408
  ],
1409
1409
  description: "Set the element's `overflow-y` CSS property"
@@ -1456,7 +1456,7 @@ var definitions = {
1456
1456
  "const": "64"
1457
1457
  },
1458
1458
  {
1459
- $ref: "#/definitions/ProteusValue"
1459
+ $ref: "#/definitions/ProteusExpression"
1460
1460
  }
1461
1461
  ],
1462
1462
  description: "Set the element's padding on all sides. Only accepts predefined spacing tokens."
@@ -1509,7 +1509,7 @@ var definitions = {
1509
1509
  "const": "64"
1510
1510
  },
1511
1511
  {
1512
- $ref: "#/definitions/ProteusValue"
1512
+ $ref: "#/definitions/ProteusExpression"
1513
1513
  }
1514
1514
  ],
1515
1515
  description: "Set the element's bottom padding. Only accepts predefined spacing tokens."
@@ -1562,7 +1562,7 @@ var definitions = {
1562
1562
  "const": "64"
1563
1563
  },
1564
1564
  {
1565
- $ref: "#/definitions/ProteusValue"
1565
+ $ref: "#/definitions/ProteusExpression"
1566
1566
  }
1567
1567
  ],
1568
1568
  description: "Set the element's left padding. Only accepts predefined spacing tokens."
@@ -1573,7 +1573,7 @@ var definitions = {
1573
1573
  "const": "center"
1574
1574
  },
1575
1575
  {
1576
- $ref: "#/definitions/ProteusValue"
1576
+ $ref: "#/definitions/ProteusExpression"
1577
1577
  }
1578
1578
  ],
1579
1579
  description: "Set the element's `place-items` CSS property"
@@ -1587,7 +1587,7 @@ var definitions = {
1587
1587
  "const": "auto"
1588
1588
  },
1589
1589
  {
1590
- $ref: "#/definitions/ProteusValue"
1590
+ $ref: "#/definitions/ProteusExpression"
1591
1591
  }
1592
1592
  ],
1593
1593
  description: "Set the element's `pointer-events` CSS property"
@@ -1640,7 +1640,7 @@ var definitions = {
1640
1640
  "const": "64"
1641
1641
  },
1642
1642
  {
1643
- $ref: "#/definitions/ProteusValue"
1643
+ $ref: "#/definitions/ProteusExpression"
1644
1644
  }
1645
1645
  ],
1646
1646
  description: "Set the element's right padding. Only accepts predefined spacing tokens."
@@ -1693,7 +1693,7 @@ var definitions = {
1693
1693
  "const": "64"
1694
1694
  },
1695
1695
  {
1696
- $ref: "#/definitions/ProteusValue"
1696
+ $ref: "#/definitions/ProteusExpression"
1697
1697
  }
1698
1698
  ],
1699
1699
  description: "Set the element's top padding. Only accepts predefined spacing tokens."
@@ -1746,7 +1746,7 @@ var definitions = {
1746
1746
  "const": "64"
1747
1747
  },
1748
1748
  {
1749
- $ref: "#/definitions/ProteusValue"
1749
+ $ref: "#/definitions/ProteusExpression"
1750
1750
  }
1751
1751
  ],
1752
1752
  description: "Set the element's left and right padding. Only accepts predefined spacing tokens."
@@ -1799,7 +1799,7 @@ var definitions = {
1799
1799
  "const": "64"
1800
1800
  },
1801
1801
  {
1802
- $ref: "#/definitions/ProteusValue"
1802
+ $ref: "#/definitions/ProteusExpression"
1803
1803
  }
1804
1804
  ],
1805
1805
  description: "Set the element's top and bottom padding. Only accepts predefined spacing tokens."
@@ -1831,7 +1831,7 @@ var definitions = {
1831
1831
  "const": "full"
1832
1832
  },
1833
1833
  {
1834
- $ref: "#/definitions/ProteusValue"
1834
+ $ref: "#/definitions/ProteusExpression"
1835
1835
  }
1836
1836
  ],
1837
1837
  description: "Set the element's border radius. Only accepts predefined borderRadius tokens."
@@ -1854,7 +1854,7 @@ var definitions = {
1854
1854
  "const": "xl"
1855
1855
  },
1856
1856
  {
1857
- $ref: "#/definitions/ProteusValue"
1857
+ $ref: "#/definitions/ProteusExpression"
1858
1858
  }
1859
1859
  ],
1860
1860
  description: "Set the element's box shadow. Only accepts predefined boxShadow tokens."
@@ -1955,7 +1955,7 @@ var definitions = {
1955
1955
  "const": "min"
1956
1956
  },
1957
1957
  {
1958
- $ref: "#/definitions/ProteusValue"
1958
+ $ref: "#/definitions/ProteusExpression"
1959
1959
  }
1960
1960
  ],
1961
1961
  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\"`)."
@@ -1975,7 +1975,7 @@ var definitions = {
1975
1975
  "const": "justify"
1976
1976
  },
1977
1977
  {
1978
- $ref: "#/definitions/ProteusValue"
1978
+ $ref: "#/definitions/ProteusExpression"
1979
1979
  }
1980
1980
  ],
1981
1981
  description: "Set the element's `text-align` CSS property"
@@ -1992,7 +1992,7 @@ var definitions = {
1992
1992
  "const": "uppercase"
1993
1993
  },
1994
1994
  {
1995
- $ref: "#/definitions/ProteusValue"
1995
+ $ref: "#/definitions/ProteusExpression"
1996
1996
  }
1997
1997
  ],
1998
1998
  description: "Set the element's `text-transform` CSS property"
@@ -2015,7 +2015,7 @@ var definitions = {
2015
2015
  "const": "colors"
2016
2016
  },
2017
2017
  {
2018
- $ref: "#/definitions/ProteusValue"
2018
+ $ref: "#/definitions/ProteusExpression"
2019
2019
  }
2020
2020
  ],
2021
2021
  description: "Control which CSS properties should transition"
@@ -2116,7 +2116,7 @@ var definitions = {
2116
2116
  "const": "min"
2117
2117
  },
2118
2118
  {
2119
- $ref: "#/definitions/ProteusValue"
2119
+ $ref: "#/definitions/ProteusExpression"
2120
2120
  }
2121
2121
  ],
2122
2122
  description: "Set the element's width. Only accepts predefined size tokens."
@@ -2127,7 +2127,7 @@ var definitions = {
2127
2127
  "const": "nowrap"
2128
2128
  },
2129
2129
  {
2130
- $ref: "#/definitions/ProteusValue"
2130
+ $ref: "#/definitions/ProteusExpression"
2131
2131
  }
2132
2132
  ],
2133
2133
  description: "Set the element's `white-space` CSS property"
@@ -2159,7 +2159,7 @@ var definitions = {
2159
2159
  "const": "30"
2160
2160
  },
2161
2161
  {
2162
- $ref: "#/definitions/ProteusValue"
2162
+ $ref: "#/definitions/ProteusExpression"
2163
2163
  }
2164
2164
  ],
2165
2165
  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)."
@@ -2184,6 +2184,9 @@ var definitions = {
2184
2184
  {
2185
2185
  type: "null"
2186
2186
  },
2187
+ {
2188
+ $ref: "#/definitions/ProteusMapIndex"
2189
+ },
2187
2190
  {
2188
2191
  $ref: "#/definitions/ProteusValue"
2189
2192
  }
@@ -2217,6 +2220,9 @@ var definitions = {
2217
2220
  {
2218
2221
  type: "null"
2219
2222
  },
2223
+ {
2224
+ $ref: "#/definitions/ProteusMapIndex"
2225
+ },
2220
2226
  {
2221
2227
  $ref: "#/definitions/ProteusValue"
2222
2228
  }
@@ -2250,6 +2256,9 @@ var definitions = {
2250
2256
  {
2251
2257
  type: "null"
2252
2258
  },
2259
+ {
2260
+ $ref: "#/definitions/ProteusMapIndex"
2261
+ },
2253
2262
  {
2254
2263
  $ref: "#/definitions/ProteusValue"
2255
2264
  }
@@ -2283,6 +2292,9 @@ var definitions = {
2283
2292
  {
2284
2293
  type: "null"
2285
2294
  },
2295
+ {
2296
+ $ref: "#/definitions/ProteusMapIndex"
2297
+ },
2286
2298
  {
2287
2299
  $ref: "#/definitions/ProteusValue"
2288
2300
  }
@@ -2316,6 +2328,9 @@ var definitions = {
2316
2328
  {
2317
2329
  type: "null"
2318
2330
  },
2331
+ {
2332
+ $ref: "#/definitions/ProteusMapIndex"
2333
+ },
2319
2334
  {
2320
2335
  $ref: "#/definitions/ProteusValue"
2321
2336
  }
@@ -2349,6 +2364,9 @@ var definitions = {
2349
2364
  {
2350
2365
  type: "null"
2351
2366
  },
2367
+ {
2368
+ $ref: "#/definitions/ProteusMapIndex"
2369
+ },
2352
2370
  {
2353
2371
  $ref: "#/definitions/ProteusValue"
2354
2372
  }
@@ -2380,6 +2398,9 @@ var definitions = {
2380
2398
  {
2381
2399
  type: "null"
2382
2400
  },
2401
+ {
2402
+ $ref: "#/definitions/ProteusMapIndex"
2403
+ },
2383
2404
  {
2384
2405
  $ref: "#/definitions/ProteusValue"
2385
2406
  }
@@ -2408,6 +2429,9 @@ var definitions = {
2408
2429
  {
2409
2430
  type: "null"
2410
2431
  },
2432
+ {
2433
+ $ref: "#/definitions/ProteusMapIndex"
2434
+ },
2411
2435
  {
2412
2436
  $ref: "#/definitions/ProteusValue"
2413
2437
  }
@@ -2715,6 +2739,9 @@ var definitions = {
2715
2739
  {
2716
2740
  $ref: "#/definitions/ProteusMap"
2717
2741
  },
2742
+ {
2743
+ $ref: "#/definitions/ProteusMapIndex"
2744
+ },
2718
2745
  {
2719
2746
  $ref: "#/definitions/ProteusQuestion"
2720
2747
  },
@@ -2775,10 +2802,7 @@ var definitions = {
2775
2802
  message: {
2776
2803
  anyOf: [
2777
2804
  {
2778
- $ref: "#/definitions/ProteusMap"
2779
- },
2780
- {
2781
- $ref: "#/definitions/ProteusValue"
2805
+ $ref: "#/definitions/ProteusExpression"
2782
2806
  },
2783
2807
  {
2784
2808
  type: "string"
@@ -2803,10 +2827,7 @@ var definitions = {
2803
2827
  url: {
2804
2828
  anyOf: [
2805
2829
  {
2806
- $ref: "#/definitions/ProteusMap"
2807
- },
2808
- {
2809
- $ref: "#/definitions/ProteusValue"
2830
+ $ref: "#/definitions/ProteusExpression"
2810
2831
  },
2811
2832
  {
2812
2833
  type: "string"
@@ -2824,6 +2845,23 @@ var definitions = {
2824
2845
  ],
2825
2846
  description: "Handler for user interactions - a server-side interaction call, client-side message, or client-side component action"
2826
2847
  },
2848
+ ProteusExpression: {
2849
+ anyOf: [
2850
+ {
2851
+ $ref: "#/definitions/ProteusMap"
2852
+ },
2853
+ {
2854
+ $ref: "#/definitions/ProteusMapIndex"
2855
+ },
2856
+ {
2857
+ $ref: "#/definitions/ProteusShow"
2858
+ },
2859
+ {
2860
+ $ref: "#/definitions/ProteusValue"
2861
+ }
2862
+ ],
2863
+ description: "A dynamic Proteus expression that resolves to a value at render time."
2864
+ },
2827
2865
  ProteusNode: {
2828
2866
  anyOf: [
2829
2867
  {
@@ -2893,7 +2931,7 @@ var definitions = {
2893
2931
  ".*": {
2894
2932
  anyOf: [
2895
2933
  {
2896
- $ref: "#/definitions/ProteusValue"
2934
+ $ref: "#/definitions/ProteusExpression"
2897
2935
  },
2898
2936
  {
2899
2937
  items: {
@@ -2960,7 +2998,7 @@ var definitions = {
2960
2998
  "const": "primary-opal"
2961
2999
  },
2962
3000
  {
2963
- $ref: "#/definitions/ProteusValue"
3001
+ $ref: "#/definitions/ProteusExpression"
2964
3002
  }
2965
3003
  ],
2966
3004
  description: "Control the appearance by selecting between the different button types."
@@ -3133,7 +3171,7 @@ var definitions = {
3133
3171
  "const": "submit"
3134
3172
  },
3135
3173
  {
3136
- $ref: "#/definitions/ProteusValue"
3174
+ $ref: "#/definitions/ProteusExpression"
3137
3175
  }
3138
3176
  ],
3139
3177
  description: "The default behavior of the button."
@@ -3210,7 +3248,7 @@ var definitions = {
3210
3248
  "const": "neutral"
3211
3249
  },
3212
3250
  {
3213
- $ref: "#/definitions/ProteusValue"
3251
+ $ref: "#/definitions/ProteusExpression"
3214
3252
  }
3215
3253
  ],
3216
3254
  description: "Control the avatar fallback background and text colors."
@@ -3233,7 +3271,7 @@ var definitions = {
3233
3271
  "const": "user"
3234
3272
  },
3235
3273
  {
3236
- $ref: "#/definitions/ProteusValue"
3274
+ $ref: "#/definitions/ProteusExpression"
3237
3275
  }
3238
3276
  ],
3239
3277
  description: "The fallback icon to display when no name or image is given."
@@ -3310,7 +3348,7 @@ var definitions = {
3310
3348
  type: "string"
3311
3349
  },
3312
3350
  {
3313
- $ref: "#/definitions/ProteusValue"
3351
+ $ref: "#/definitions/ProteusExpression"
3314
3352
  }
3315
3353
  ],
3316
3354
  description: "Use name to generate initials to show inside the avatar."
@@ -3384,7 +3422,7 @@ var definitions = {
3384
3422
  "const": "2xs"
3385
3423
  },
3386
3424
  {
3387
- $ref: "#/definitions/ProteusValue"
3425
+ $ref: "#/definitions/ProteusExpression"
3388
3426
  }
3389
3427
  ],
3390
3428
  description: "Control the size of the avatar."
@@ -3395,7 +3433,7 @@ var definitions = {
3395
3433
  type: "string"
3396
3434
  },
3397
3435
  {
3398
- $ref: "#/definitions/ProteusValue"
3436
+ $ref: "#/definitions/ProteusExpression"
3399
3437
  }
3400
3438
  ],
3401
3439
  description: "Render the image inside the avatar."
@@ -3535,7 +3573,7 @@ var definitions = {
3535
3573
  "const": "primary"
3536
3574
  },
3537
3575
  {
3538
- $ref: "#/definitions/ProteusValue"
3576
+ $ref: "#/definitions/ProteusExpression"
3539
3577
  }
3540
3578
  ],
3541
3579
  description: "Control the appearance by selecting between the different badge types."
@@ -4163,7 +4201,7 @@ var definitions = {
4163
4201
  "const": "3"
4164
4202
  },
4165
4203
  {
4166
- $ref: "#/definitions/ProteusValue"
4204
+ $ref: "#/definitions/ProteusExpression"
4167
4205
  }
4168
4206
  ],
4169
4207
  description: "Truncate the text at specific number of lines."
@@ -4363,7 +4401,7 @@ var definitions = {
4363
4401
  type: "string"
4364
4402
  },
4365
4403
  {
4366
- $ref: "#/definitions/ProteusValue"
4404
+ $ref: "#/definitions/ProteusExpression"
4367
4405
  }
4368
4406
  ],
4369
4407
  description: "The link href."
@@ -4511,13 +4549,13 @@ var definitions = {
4511
4549
  type: "array"
4512
4550
  },
4513
4551
  {
4514
- $ref: "#/definitions/ProteusValue"
4552
+ $ref: "#/definitions/ProteusExpression"
4515
4553
  },
4516
4554
  {
4517
4555
  $ref: "#/definitions/ProteusZip"
4518
4556
  }
4519
4557
  ],
4520
- description: "Chart data records, either inline, a ProteusValue reference, or a ProteusZip transformation"
4558
+ description: "Chart data records, either inline, a ProteusExpression, or a ProteusZip transformation"
4521
4559
  },
4522
4560
  series: {
4523
4561
  description: "Data series configuration",
@@ -4665,7 +4703,7 @@ var definitions = {
4665
4703
  type: "array"
4666
4704
  },
4667
4705
  {
4668
- $ref: "#/definitions/ProteusValue"
4706
+ $ref: "#/definitions/ProteusExpression"
4669
4707
  },
4670
4708
  {
4671
4709
  $ref: "#/definitions/ProteusZip"
@@ -4861,7 +4899,7 @@ var definitions = {
4861
4899
  type: "boolean"
4862
4900
  },
4863
4901
  {
4864
- $ref: "#/definitions/ProteusValue"
4902
+ $ref: "#/definitions/ProteusExpression"
4865
4903
  }
4866
4904
  ],
4867
4905
  description: "Display an asterisk for required inputs."
@@ -4931,7 +4969,7 @@ var definitions = {
4931
4969
  "const": "start"
4932
4970
  },
4933
4971
  {
4934
- $ref: "#/definitions/ProteusValue"
4972
+ $ref: "#/definitions/ProteusExpression"
4935
4973
  }
4936
4974
  ],
4937
4975
  description: "Set the element's `align-items` CSS property. Defaults to `center` when\n`flexDirection='row'`, and `stretch` when `flexDirection='column'`."
@@ -4996,7 +5034,7 @@ var definitions = {
4996
5034
  "const": "row-reverse"
4997
5035
  },
4998
5036
  {
4999
- $ref: "#/definitions/ProteusValue"
5037
+ $ref: "#/definitions/ProteusExpression"
5000
5038
  }
5001
5039
  ],
5002
5040
  description: "Set the element's `flex-direction` CSS property.\n\nDefault: 'row' (CSS standard)"
@@ -5244,7 +5282,7 @@ var definitions = {
5244
5282
  "const": "3"
5245
5283
  },
5246
5284
  {
5247
- $ref: "#/definitions/ProteusValue"
5285
+ $ref: "#/definitions/ProteusExpression"
5248
5286
  }
5249
5287
  ],
5250
5288
  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."
@@ -5722,7 +5760,7 @@ var definitions = {
5722
5760
  alt: {
5723
5761
  anyOf: [
5724
5762
  {
5725
- $ref: "#/definitions/ProteusValue"
5763
+ $ref: "#/definitions/ProteusExpression"
5726
5764
  },
5727
5765
  {
5728
5766
  type: "string"
@@ -5733,7 +5771,7 @@ var definitions = {
5733
5771
  src: {
5734
5772
  anyOf: [
5735
5773
  {
5736
- $ref: "#/definitions/ProteusValue"
5774
+ $ref: "#/definitions/ProteusExpression"
5737
5775
  },
5738
5776
  {
5739
5777
  type: "string"
@@ -5770,7 +5808,7 @@ var definitions = {
5770
5808
  downloadAll: {
5771
5809
  anyOf: [
5772
5810
  {
5773
- $ref: "#/definitions/ProteusValue"
5811
+ $ref: "#/definitions/ProteusExpression"
5774
5812
  },
5775
5813
  {
5776
5814
  type: "string"
@@ -5805,7 +5843,7 @@ var definitions = {
5805
5843
  type: "array"
5806
5844
  },
5807
5845
  {
5808
- $ref: "#/definitions/ProteusValue"
5846
+ $ref: "#/definitions/ProteusExpression"
5809
5847
  }
5810
5848
  ],
5811
5849
  description: "Array of image data to display in the carousel"
@@ -5813,7 +5851,7 @@ var definitions = {
5813
5851
  title: {
5814
5852
  anyOf: [
5815
5853
  {
5816
- $ref: "#/definitions/ProteusValue"
5854
+ $ref: "#/definitions/ProteusExpression"
5817
5855
  },
5818
5856
  {
5819
5857
  type: "string"
@@ -5866,7 +5904,7 @@ var definitions = {
5866
5904
  "const": "default"
5867
5905
  },
5868
5906
  {
5869
- $ref: "#/definitions/ProteusValue"
5907
+ $ref: "#/definitions/ProteusExpression"
5870
5908
  }
5871
5909
  ],
5872
5910
  description: "Control the appearance of the input."
@@ -5877,7 +5915,7 @@ var definitions = {
5877
5915
  type: "boolean"
5878
5916
  },
5879
5917
  {
5880
- $ref: "#/definitions/ProteusValue"
5918
+ $ref: "#/definitions/ProteusExpression"
5881
5919
  }
5882
5920
  ],
5883
5921
  description: "Whether the input should be focused on mount."
@@ -5987,7 +6025,7 @@ var definitions = {
5987
6025
  type: "string"
5988
6026
  },
5989
6027
  {
5990
- $ref: "#/definitions/ProteusValue"
6028
+ $ref: "#/definitions/ProteusExpression"
5991
6029
  }
5992
6030
  ],
5993
6031
  description: "The name of the form control element."
@@ -6019,7 +6057,7 @@ var definitions = {
6019
6057
  type: "string"
6020
6058
  },
6021
6059
  {
6022
- $ref: "#/definitions/ProteusValue"
6060
+ $ref: "#/definitions/ProteusExpression"
6023
6061
  }
6024
6062
  ],
6025
6063
  description: "The placeholder text to use when control has no value."
@@ -6048,7 +6086,7 @@ var definitions = {
6048
6086
  type: "boolean"
6049
6087
  },
6050
6088
  {
6051
- $ref: "#/definitions/ProteusValue"
6089
+ $ref: "#/definitions/ProteusExpression"
6052
6090
  }
6053
6091
  ],
6054
6092
  description: "Whether selecting this input is required."
@@ -6140,7 +6178,7 @@ var definitions = {
6140
6178
  type: "string"
6141
6179
  },
6142
6180
  {
6143
- $ref: "#/definitions/ProteusValue"
6181
+ $ref: "#/definitions/ProteusExpression"
6144
6182
  }
6145
6183
  ],
6146
6184
  description: "The input type."
@@ -6256,7 +6294,7 @@ var definitions = {
6256
6294
  type: "string"
6257
6295
  },
6258
6296
  {
6259
- $ref: "#/definitions/ProteusValue"
6297
+ $ref: "#/definitions/ProteusExpression"
6260
6298
  }
6261
6299
  ],
6262
6300
  description: "The link href."
@@ -6400,13 +6438,29 @@ var definitions = {
6400
6438
  ],
6401
6439
  type: "object"
6402
6440
  },
6441
+ ProteusMapIndex: {
6442
+ examples: [
6443
+ {
6444
+ $type: "MapIndex"
6445
+ }
6446
+ ],
6447
+ properties: {
6448
+ $type: {
6449
+ "const": "MapIndex"
6450
+ }
6451
+ },
6452
+ required: [
6453
+ "$type"
6454
+ ],
6455
+ type: "object"
6456
+ },
6403
6457
  ProteusQuestion: {
6404
6458
  properties: {
6405
6459
  $type: {
6406
6460
  "const": "Question"
6407
6461
  },
6408
6462
  questions: {
6409
- $ref: "#/definitions/ProteusValue",
6463
+ $ref: "#/definitions/ProteusExpression",
6410
6464
  description: "Array of questions data"
6411
6465
  }
6412
6466
  },
@@ -6547,7 +6601,7 @@ var definitions = {
6547
6601
  type: "number"
6548
6602
  },
6549
6603
  {
6550
- $ref: "#/definitions/ProteusValue"
6604
+ $ref: "#/definitions/ProteusExpression"
6551
6605
  }
6552
6606
  ],
6553
6607
  description: "The maximum value for the range."
@@ -6567,7 +6621,7 @@ var definitions = {
6567
6621
  type: "number"
6568
6622
  },
6569
6623
  {
6570
- $ref: "#/definitions/ProteusValue"
6624
+ $ref: "#/definitions/ProteusExpression"
6571
6625
  }
6572
6626
  ],
6573
6627
  description: "The minimum value for the range."
@@ -6638,7 +6692,7 @@ var definitions = {
6638
6692
  type: "number"
6639
6693
  },
6640
6694
  {
6641
- $ref: "#/definitions/ProteusValue"
6695
+ $ref: "#/definitions/ProteusExpression"
6642
6696
  }
6643
6697
  ],
6644
6698
  description: "The stepping interval for the range."
@@ -6706,7 +6760,7 @@ var definitions = {
6706
6760
  type: "string"
6707
6761
  },
6708
6762
  {
6709
- $ref: "#/definitions/ProteusValue"
6763
+ $ref: "#/definitions/ProteusExpression"
6710
6764
  }
6711
6765
  ],
6712
6766
  description: "The name of the inner select element."
@@ -6738,7 +6792,7 @@ var definitions = {
6738
6792
  type: "boolean"
6739
6793
  },
6740
6794
  {
6741
- $ref: "#/definitions/ProteusValue"
6795
+ $ref: "#/definitions/ProteusExpression"
6742
6796
  }
6743
6797
  ],
6744
6798
  description: "Whether the select value is required."
@@ -7478,7 +7532,7 @@ var definitions = {
7478
7532
  type: "string"
7479
7533
  },
7480
7534
  {
7481
- $ref: "#/definitions/ProteusValue"
7535
+ $ref: "#/definitions/ProteusExpression"
7482
7536
  }
7483
7537
  ],
7484
7538
  description: "The name of the form control element."
@@ -7528,7 +7582,7 @@ var definitions = {
7528
7582
  type: "boolean"
7529
7583
  },
7530
7584
  {
7531
- $ref: "#/definitions/ProteusValue"
7585
+ $ref: "#/definitions/ProteusExpression"
7532
7586
  }
7533
7587
  ],
7534
7588
  description: "Whether selecting this input is required."
@@ -7673,7 +7727,7 @@ var definitions = {
7673
7727
  "const": "3"
7674
7728
  },
7675
7729
  {
7676
- $ref: "#/definitions/ProteusValue"
7730
+ $ref: "#/definitions/ProteusExpression"
7677
7731
  }
7678
7732
  ],
7679
7733
  description: "Truncate the text at specific number of lines."
@@ -7768,7 +7822,7 @@ var definitions = {
7768
7822
  type: "boolean"
7769
7823
  },
7770
7824
  {
7771
- $ref: "#/definitions/ProteusValue"
7825
+ $ref: "#/definitions/ProteusExpression"
7772
7826
  }
7773
7827
  ],
7774
7828
  description: "Whether to truncate the text and add an ellipsis at the end."
@@ -7905,7 +7959,7 @@ var definitions = {
7905
7959
  "const": 5
7906
7960
  },
7907
7961
  {
7908
- $ref: "#/definitions/ProteusValue"
7962
+ $ref: "#/definitions/ProteusExpression"
7909
7963
  }
7910
7964
  ],
7911
7965
  description: "Limits the height of the textarea when `resize=auto` is used."
@@ -7937,7 +7991,7 @@ var definitions = {
7937
7991
  type: "string"
7938
7992
  },
7939
7993
  {
7940
- $ref: "#/definitions/ProteusValue"
7994
+ $ref: "#/definitions/ProteusExpression"
7941
7995
  }
7942
7996
  ],
7943
7997
  description: "The name of the form control element."
@@ -7969,7 +8023,7 @@ var definitions = {
7969
8023
  type: "string"
7970
8024
  },
7971
8025
  {
7972
- $ref: "#/definitions/ProteusValue"
8026
+ $ref: "#/definitions/ProteusExpression"
7973
8027
  }
7974
8028
  ],
7975
8029
  description: "The placeholder text to use when control has no value."
@@ -7998,7 +8052,7 @@ var definitions = {
7998
8052
  type: "boolean"
7999
8053
  },
8000
8054
  {
8001
- $ref: "#/definitions/ProteusValue"
8055
+ $ref: "#/definitions/ProteusExpression"
8002
8056
  }
8003
8057
  ],
8004
8058
  description: "Whether selecting this input is required."
@@ -8015,7 +8069,7 @@ var definitions = {
8015
8069
  "const": "vertical"
8016
8070
  },
8017
8071
  {
8018
- $ref: "#/definitions/ProteusValue"
8072
+ $ref: "#/definitions/ProteusExpression"
8019
8073
  }
8020
8074
  ],
8021
8075
  description: "Control whether resizing mode is manual, automatic, or disabled."
@@ -8029,7 +8083,7 @@ var definitions = {
8029
8083
  type: "number"
8030
8084
  },
8031
8085
  {
8032
- $ref: "#/definitions/ProteusValue"
8086
+ $ref: "#/definitions/ProteusExpression"
8033
8087
  }
8034
8088
  ],
8035
8089
  description: "The number of rows to display."
@@ -8117,7 +8171,7 @@ var definitions = {
8117
8171
  type: "string"
8118
8172
  },
8119
8173
  {
8120
- $ref: "#/definitions/ProteusValue"
8174
+ $ref: "#/definitions/ProteusExpression"
8121
8175
  }
8122
8176
  ],
8123
8177
  description: "The date to display. Can be a `Date` object or an ISO 8601 string."
@@ -8242,7 +8296,7 @@ var definitions = {
8242
8296
  type: "boolean"
8243
8297
  },
8244
8298
  {
8245
- $ref: "#/definitions/ProteusValue"
8299
+ $ref: "#/definitions/ProteusExpression"
8246
8300
  }
8247
8301
  ],
8248
8302
  description: "Whether to show the date part of the value. Defaults to `true`."
@@ -8253,7 +8307,7 @@ var definitions = {
8253
8307
  type: "boolean"
8254
8308
  },
8255
8309
  {
8256
- $ref: "#/definitions/ProteusValue"
8310
+ $ref: "#/definitions/ProteusExpression"
8257
8311
  }
8258
8312
  ],
8259
8313
  description: "Whether to show the time part of the value. Defaults to `false`."