@microsoft/fast-element 2.0.0-beta.21 → 2.0.0-beta.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/CHANGELOG.json +33 -0
  2. package/CHANGELOG.md +12 -1
  3. package/dist/dts/binding/binding.d.ts +49 -0
  4. package/dist/dts/binding/normalize.d.ts +9 -0
  5. package/dist/dts/binding/one-time.d.ts +11 -0
  6. package/dist/dts/binding/one-way.d.ts +20 -0
  7. package/dist/dts/{templating/binding-signal.d.ts → binding/signal.d.ts} +1 -1
  8. package/dist/dts/{templating/binding-two-way.d.ts → binding/two-way.d.ts} +3 -4
  9. package/dist/dts/components/element-controller.d.ts +20 -5
  10. package/dist/dts/context.d.ts +20 -7
  11. package/dist/dts/index.d.ts +6 -2
  12. package/dist/dts/interfaces.d.ts +4 -4
  13. package/dist/dts/metadata.d.ts +1 -0
  14. package/dist/dts/platform.d.ts +9 -1
  15. package/dist/dts/styles/css-binding-directive.d.ts +60 -0
  16. package/dist/dts/styles/css.d.ts +9 -2
  17. package/dist/dts/styles/host.d.ts +2 -5
  18. package/dist/dts/templating/{binding.d.ts → html-binding-directive.d.ts} +3 -34
  19. package/dist/dts/templating/html-directive.d.ts +3 -35
  20. package/dist/dts/templating/render.d.ts +19 -5
  21. package/dist/dts/templating/repeat.d.ts +3 -2
  22. package/dist/dts/templating/template.d.ts +2 -6
  23. package/dist/dts/templating/view.d.ts +16 -6
  24. package/dist/dts/testing/fakes.d.ts +2 -1
  25. package/dist/esm/binding/binding.js +18 -0
  26. package/dist/esm/binding/normalize.js +17 -0
  27. package/dist/esm/binding/one-time.js +21 -0
  28. package/dist/esm/binding/one-way.js +30 -0
  29. package/dist/esm/{templating/binding-signal.js → binding/signal.js} +5 -8
  30. package/dist/esm/{templating/binding-two-way.js → binding/two-way.js} +11 -15
  31. package/dist/esm/components/element-controller.js +33 -8
  32. package/dist/esm/context.js +22 -1
  33. package/dist/esm/index.js +8 -2
  34. package/dist/esm/interfaces.js +3 -3
  35. package/dist/esm/metadata.js +3 -1
  36. package/dist/esm/observation/observable.js +3 -6
  37. package/dist/esm/platform.js +9 -0
  38. package/dist/esm/styles/css-binding-directive.js +76 -0
  39. package/dist/esm/styles/css.js +14 -2
  40. package/dist/esm/templating/compiler.js +2 -1
  41. package/dist/esm/templating/{binding.js → html-binding-directive.js} +3 -70
  42. package/dist/esm/templating/html-directive.js +2 -25
  43. package/dist/esm/templating/render.js +25 -12
  44. package/dist/esm/templating/repeat.js +3 -3
  45. package/dist/esm/templating/template.js +9 -10
  46. package/dist/esm/templating/view.js +2 -6
  47. package/dist/esm/testing/fakes.js +1 -1
  48. package/dist/fast-element.api.json +1127 -342
  49. package/dist/fast-element.d.ts +125 -41
  50. package/dist/fast-element.debug.js +217 -117
  51. package/dist/fast-element.debug.min.js +1 -1
  52. package/dist/fast-element.js +217 -117
  53. package/dist/fast-element.min.js +1 -1
  54. package/dist/fast-element.untrimmed.d.ts +132 -80
  55. package/docs/api-report.md +52 -51
  56. package/package.json +5 -5
@@ -1352,114 +1352,6 @@
1352
1352
  "endIndex": 6
1353
1353
  }
1354
1354
  },
1355
- {
1356
- "kind": "Function",
1357
- "canonicalReference": "@microsoft/fast-element!bind:function(1)",
1358
- "docComment": "/**\n * Creates an standard binding.\n *\n * @param expression - The binding to refresh when changed.\n *\n * @param policy - The security policy to associate with th binding.\n *\n * @param isVolatile - Indicates whether the binding is volatile or not.\n *\n * @returns A binding configuration.\n *\n * @public\n */\n",
1359
- "excerptTokens": [
1360
- {
1361
- "kind": "Content",
1362
- "text": "export declare function bind<T = "
1363
- },
1364
- {
1365
- "kind": "Content",
1366
- "text": "any"
1367
- },
1368
- {
1369
- "kind": "Content",
1370
- "text": ">(expression: "
1371
- },
1372
- {
1373
- "kind": "Reference",
1374
- "text": "Expression",
1375
- "canonicalReference": "@microsoft/fast-element!Expression:type"
1376
- },
1377
- {
1378
- "kind": "Content",
1379
- "text": "<T>"
1380
- },
1381
- {
1382
- "kind": "Content",
1383
- "text": ", policy?: "
1384
- },
1385
- {
1386
- "kind": "Reference",
1387
- "text": "DOMPolicy",
1388
- "canonicalReference": "@microsoft/fast-element!DOMPolicy:interface"
1389
- },
1390
- {
1391
- "kind": "Content",
1392
- "text": ", isVolatile?: "
1393
- },
1394
- {
1395
- "kind": "Content",
1396
- "text": "boolean"
1397
- },
1398
- {
1399
- "kind": "Content",
1400
- "text": "): "
1401
- },
1402
- {
1403
- "kind": "Reference",
1404
- "text": "Binding",
1405
- "canonicalReference": "@microsoft/fast-element!Binding:class"
1406
- },
1407
- {
1408
- "kind": "Content",
1409
- "text": "<T>"
1410
- },
1411
- {
1412
- "kind": "Content",
1413
- "text": ";"
1414
- }
1415
- ],
1416
- "returnTypeTokenRange": {
1417
- "startIndex": 10,
1418
- "endIndex": 12
1419
- },
1420
- "releaseTag": "Public",
1421
- "overloadIndex": 1,
1422
- "parameters": [
1423
- {
1424
- "parameterName": "expression",
1425
- "parameterTypeTokenRange": {
1426
- "startIndex": 3,
1427
- "endIndex": 5
1428
- },
1429
- "isOptional": false
1430
- },
1431
- {
1432
- "parameterName": "policy",
1433
- "parameterTypeTokenRange": {
1434
- "startIndex": 6,
1435
- "endIndex": 7
1436
- },
1437
- "isOptional": true
1438
- },
1439
- {
1440
- "parameterName": "isVolatile",
1441
- "parameterTypeTokenRange": {
1442
- "startIndex": 8,
1443
- "endIndex": 9
1444
- },
1445
- "isOptional": true
1446
- }
1447
- ],
1448
- "typeParameters": [
1449
- {
1450
- "typeParameterName": "T",
1451
- "constraintTokenRange": {
1452
- "startIndex": 0,
1453
- "endIndex": 0
1454
- },
1455
- "defaultTypeTokenRange": {
1456
- "startIndex": 1,
1457
- "endIndex": 2
1458
- }
1459
- }
1460
- ],
1461
- "name": "bind"
1462
- },
1463
1355
  {
1464
1356
  "kind": "Class",
1465
1357
  "canonicalReference": "@microsoft/fast-element!Binding:class",
@@ -1608,25 +1500,25 @@
1608
1500
  {
1609
1501
  "kind": "Method",
1610
1502
  "canonicalReference": "@microsoft/fast-element!Binding#createObserver:member(1)",
1611
- "docComment": "/**\n * Creates an observer capable of notifying a subscriber when the output of a binding changes.\n *\n * @param directive - The HTML Directive to create the observer for.\n *\n * @param subscriber - The subscriber to changes in the binding.\n */\n",
1503
+ "docComment": "/**\n * Creates an observer capable of notifying a subscriber when the output of a binding changes.\n *\n * @param subscriber - The subscriber to changes in the binding.\n *\n * @param directive - The Binding directive to create the observer for.\n */\n",
1612
1504
  "excerptTokens": [
1613
1505
  {
1614
1506
  "kind": "Content",
1615
- "text": "abstract createObserver(directive: "
1507
+ "text": "abstract createObserver(subscriber: "
1616
1508
  },
1617
1509
  {
1618
1510
  "kind": "Reference",
1619
- "text": "HTMLDirective",
1620
- "canonicalReference": "@microsoft/fast-element!HTMLDirective:interface"
1511
+ "text": "Subscriber",
1512
+ "canonicalReference": "@microsoft/fast-element!Subscriber:interface"
1621
1513
  },
1622
1514
  {
1623
1515
  "kind": "Content",
1624
- "text": ", subscriber: "
1516
+ "text": ", directive: "
1625
1517
  },
1626
1518
  {
1627
1519
  "kind": "Reference",
1628
- "text": "Subscriber",
1629
- "canonicalReference": "@microsoft/fast-element!Subscriber:interface"
1520
+ "text": "BindingDirective",
1521
+ "canonicalReference": "@microsoft/fast-element!BindingDirective:interface"
1630
1522
  },
1631
1523
  {
1632
1524
  "kind": "Content",
@@ -1656,7 +1548,7 @@
1656
1548
  "overloadIndex": 1,
1657
1549
  "parameters": [
1658
1550
  {
1659
- "parameterName": "directive",
1551
+ "parameterName": "subscriber",
1660
1552
  "parameterTypeTokenRange": {
1661
1553
  "startIndex": 1,
1662
1554
  "endIndex": 2
@@ -1664,7 +1556,7 @@
1664
1556
  "isOptional": false
1665
1557
  },
1666
1558
  {
1667
- "parameterName": "subscriber",
1559
+ "parameterName": "directive",
1668
1560
  "parameterTypeTokenRange": {
1669
1561
  "startIndex": 3,
1670
1562
  "endIndex": 4
@@ -1795,6 +1687,102 @@
1795
1687
  ],
1796
1688
  "implementsTokenRanges": []
1797
1689
  },
1690
+ {
1691
+ "kind": "Interface",
1692
+ "canonicalReference": "@microsoft/fast-element!BindingDirective:interface",
1693
+ "docComment": "/**\n * The directive from which a binding originates.\n *\n * @public\n */\n",
1694
+ "excerptTokens": [
1695
+ {
1696
+ "kind": "Content",
1697
+ "text": "export interface BindingDirective "
1698
+ }
1699
+ ],
1700
+ "releaseTag": "Public",
1701
+ "name": "BindingDirective",
1702
+ "members": [
1703
+ {
1704
+ "kind": "PropertySignature",
1705
+ "canonicalReference": "@microsoft/fast-element!BindingDirective#aspectType:member",
1706
+ "docComment": "/**\n * The type of aspect to target.\n */\n",
1707
+ "excerptTokens": [
1708
+ {
1709
+ "kind": "Content",
1710
+ "text": "readonly aspectType?: "
1711
+ },
1712
+ {
1713
+ "kind": "Reference",
1714
+ "text": "DOMAspect",
1715
+ "canonicalReference": "@microsoft/fast-element!DOMAspect:type"
1716
+ },
1717
+ {
1718
+ "kind": "Content",
1719
+ "text": ";"
1720
+ }
1721
+ ],
1722
+ "isOptional": true,
1723
+ "releaseTag": "Public",
1724
+ "name": "aspectType",
1725
+ "propertyTypeTokenRange": {
1726
+ "startIndex": 1,
1727
+ "endIndex": 2
1728
+ }
1729
+ },
1730
+ {
1731
+ "kind": "PropertySignature",
1732
+ "canonicalReference": "@microsoft/fast-element!BindingDirective#dataBinding:member",
1733
+ "docComment": "/**\n * The binding.\n */\n",
1734
+ "excerptTokens": [
1735
+ {
1736
+ "kind": "Content",
1737
+ "text": "readonly dataBinding: "
1738
+ },
1739
+ {
1740
+ "kind": "Reference",
1741
+ "text": "Binding",
1742
+ "canonicalReference": "@microsoft/fast-element!Binding:class"
1743
+ },
1744
+ {
1745
+ "kind": "Content",
1746
+ "text": ";"
1747
+ }
1748
+ ],
1749
+ "isOptional": false,
1750
+ "releaseTag": "Public",
1751
+ "name": "dataBinding",
1752
+ "propertyTypeTokenRange": {
1753
+ "startIndex": 1,
1754
+ "endIndex": 2
1755
+ }
1756
+ },
1757
+ {
1758
+ "kind": "PropertySignature",
1759
+ "canonicalReference": "@microsoft/fast-element!BindingDirective#targetAspect:member",
1760
+ "docComment": "/**\n * The evaluated target aspect.\n */\n",
1761
+ "excerptTokens": [
1762
+ {
1763
+ "kind": "Content",
1764
+ "text": "readonly targetAspect?: "
1765
+ },
1766
+ {
1767
+ "kind": "Content",
1768
+ "text": "string"
1769
+ },
1770
+ {
1771
+ "kind": "Content",
1772
+ "text": ";"
1773
+ }
1774
+ ],
1775
+ "isOptional": true,
1776
+ "releaseTag": "Public",
1777
+ "name": "targetAspect",
1778
+ "propertyTypeTokenRange": {
1779
+ "startIndex": 1,
1780
+ "endIndex": 2
1781
+ }
1782
+ }
1783
+ ],
1784
+ "extendsTokenRanges": []
1785
+ },
1798
1786
  {
1799
1787
  "kind": "Variable",
1800
1788
  "canonicalReference": "@microsoft/fast-element!booleanConverter:var",
@@ -3014,26 +3002,31 @@
3014
3002
  }
3015
3003
  },
3016
3004
  {
3017
- "kind": "Function",
3018
- "canonicalReference": "@microsoft/fast-element!cssDirective:function(1)",
3019
- "docComment": "/**\n * Decorator: Defines a CSSDirective.\n *\n * @public\n */\n",
3005
+ "kind": "Class",
3006
+ "canonicalReference": "@microsoft/fast-element!CSSBindingDirective:class",
3007
+ "docComment": "/**\n * Enables bindings in CSS.\n *\n * @public\n */\n",
3020
3008
  "excerptTokens": [
3021
3009
  {
3022
3010
  "kind": "Content",
3023
- "text": "export declare function cssDirective(): "
3011
+ "text": "export declare class CSSBindingDirective implements "
3012
+ },
3013
+ {
3014
+ "kind": "Reference",
3015
+ "text": "HostBehavior",
3016
+ "canonicalReference": "@microsoft/fast-element!HostBehavior:interface"
3024
3017
  },
3025
3018
  {
3026
3019
  "kind": "Content",
3027
- "text": "(type: "
3020
+ "text": ", "
3028
3021
  },
3029
3022
  {
3030
3023
  "kind": "Reference",
3031
- "text": "Constructable",
3032
- "canonicalReference": "@microsoft/fast-element!Constructable:type"
3024
+ "text": "Subscriber",
3025
+ "canonicalReference": "@microsoft/fast-element!Subscriber:interface"
3033
3026
  },
3034
3027
  {
3035
3028
  "kind": "Content",
3036
- "text": "<"
3029
+ "text": ", "
3037
3030
  },
3038
3031
  {
3039
3032
  "kind": "Reference",
@@ -3042,58 +3035,534 @@
3042
3035
  },
3043
3036
  {
3044
3037
  "kind": "Content",
3045
- "text": ">) => void"
3038
+ "text": ", "
3046
3039
  },
3047
3040
  {
3048
- "kind": "Content",
3049
- "text": ";"
3050
- }
3051
- ],
3052
- "returnTypeTokenRange": {
3053
- "startIndex": 1,
3054
- "endIndex": 6
3055
- },
3056
- "releaseTag": "Public",
3057
- "overloadIndex": 1,
3058
- "parameters": [],
3059
- "name": "cssDirective"
3060
- },
3061
- {
3062
- "kind": "Interface",
3063
- "canonicalReference": "@microsoft/fast-element!CSSDirective:interface",
3064
- "docComment": "/**\n * Directive for use in {@link css}.\n *\n * @public\n */\n",
3065
- "excerptTokens": [
3041
+ "kind": "Reference",
3042
+ "text": "BindingDirective",
3043
+ "canonicalReference": "@microsoft/fast-element!BindingDirective:interface"
3044
+ },
3066
3045
  {
3067
3046
  "kind": "Content",
3068
- "text": "export interface CSSDirective "
3047
+ "text": " "
3069
3048
  }
3070
3049
  ],
3071
3050
  "releaseTag": "Public",
3072
- "name": "CSSDirective",
3051
+ "name": "CSSBindingDirective",
3073
3052
  "members": [
3074
3053
  {
3075
- "kind": "MethodSignature",
3076
- "canonicalReference": "@microsoft/fast-element!CSSDirective#createCSS:member(1)",
3077
- "docComment": "/**\n * Creates a CSS fragment to interpolate into the CSS document.\n *\n * @returns - the string to interpolate into CSS\n */\n",
3054
+ "kind": "Constructor",
3055
+ "canonicalReference": "@microsoft/fast-element!CSSBindingDirective:constructor(1)",
3056
+ "docComment": "/**\n * Creates an instance of CSSBindingDirective.\n *\n * @param dataBinding - The binding to use in CSS.\n *\n * @param targetAspect - The CSS property to target.\n */\n",
3078
3057
  "excerptTokens": [
3079
3058
  {
3080
3059
  "kind": "Content",
3081
- "text": "createCSS(add: "
3060
+ "text": "constructor(dataBinding: "
3082
3061
  },
3083
3062
  {
3084
3063
  "kind": "Reference",
3085
- "text": "AddBehavior",
3086
- "canonicalReference": "@microsoft/fast-element!AddBehavior:type"
3064
+ "text": "Binding",
3065
+ "canonicalReference": "@microsoft/fast-element!Binding:class"
3087
3066
  },
3088
3067
  {
3089
3068
  "kind": "Content",
3090
- "text": "): "
3069
+ "text": ", targetAspect: "
3091
3070
  },
3092
3071
  {
3093
- "kind": "Reference",
3094
- "text": "ComposableStyles",
3095
- "canonicalReference": "@microsoft/fast-element!ComposableStyles:type"
3096
- },
3072
+ "kind": "Content",
3073
+ "text": "string"
3074
+ },
3075
+ {
3076
+ "kind": "Content",
3077
+ "text": ");"
3078
+ }
3079
+ ],
3080
+ "releaseTag": "Public",
3081
+ "overloadIndex": 1,
3082
+ "parameters": [
3083
+ {
3084
+ "parameterName": "dataBinding",
3085
+ "parameterTypeTokenRange": {
3086
+ "startIndex": 1,
3087
+ "endIndex": 2
3088
+ },
3089
+ "isOptional": false
3090
+ },
3091
+ {
3092
+ "parameterName": "targetAspect",
3093
+ "parameterTypeTokenRange": {
3094
+ "startIndex": 3,
3095
+ "endIndex": 4
3096
+ },
3097
+ "isOptional": false
3098
+ }
3099
+ ]
3100
+ },
3101
+ {
3102
+ "kind": "Method",
3103
+ "canonicalReference": "@microsoft/fast-element!CSSBindingDirective#addedCallback:member(1)",
3104
+ "docComment": "/**\n * Executed when this behavior is attached to a controller.\n *\n * @param controller - Controls the behavior lifecycle.\n */\n",
3105
+ "excerptTokens": [
3106
+ {
3107
+ "kind": "Content",
3108
+ "text": "addedCallback(controller: "
3109
+ },
3110
+ {
3111
+ "kind": "Reference",
3112
+ "text": "HostController",
3113
+ "canonicalReference": "@microsoft/fast-element!HostController:interface"
3114
+ },
3115
+ {
3116
+ "kind": "Content",
3117
+ "text": "<"
3118
+ },
3119
+ {
3120
+ "kind": "Reference",
3121
+ "text": "HTMLElement",
3122
+ "canonicalReference": "!HTMLElement:interface"
3123
+ },
3124
+ {
3125
+ "kind": "Content",
3126
+ "text": " & {\n $cssBindings: "
3127
+ },
3128
+ {
3129
+ "kind": "Reference",
3130
+ "text": "Map",
3131
+ "canonicalReference": "!Map:interface"
3132
+ },
3133
+ {
3134
+ "kind": "Content",
3135
+ "text": "<"
3136
+ },
3137
+ {
3138
+ "kind": "Reference",
3139
+ "text": "CSSBindingDirective",
3140
+ "canonicalReference": "@microsoft/fast-element!CSSBindingDirective:class"
3141
+ },
3142
+ {
3143
+ "kind": "Content",
3144
+ "text": ", "
3145
+ },
3146
+ {
3147
+ "kind": "Reference",
3148
+ "text": "CSSBindingEntry",
3149
+ "canonicalReference": "@microsoft/fast-element!~CSSBindingEntry:type"
3150
+ },
3151
+ {
3152
+ "kind": "Content",
3153
+ "text": ">;\n }>"
3154
+ },
3155
+ {
3156
+ "kind": "Content",
3157
+ "text": "): "
3158
+ },
3159
+ {
3160
+ "kind": "Content",
3161
+ "text": "void"
3162
+ },
3163
+ {
3164
+ "kind": "Content",
3165
+ "text": ";"
3166
+ }
3167
+ ],
3168
+ "isOptional": false,
3169
+ "isStatic": false,
3170
+ "returnTypeTokenRange": {
3171
+ "startIndex": 12,
3172
+ "endIndex": 13
3173
+ },
3174
+ "releaseTag": "Public",
3175
+ "overloadIndex": 1,
3176
+ "parameters": [
3177
+ {
3178
+ "parameterName": "controller",
3179
+ "parameterTypeTokenRange": {
3180
+ "startIndex": 1,
3181
+ "endIndex": 11
3182
+ },
3183
+ "isOptional": false
3184
+ }
3185
+ ],
3186
+ "name": "addedCallback"
3187
+ },
3188
+ {
3189
+ "kind": "Method",
3190
+ "canonicalReference": "@microsoft/fast-element!CSSBindingDirective#connectedCallback:member(1)",
3191
+ "docComment": "/**\n * Executed when this behavior's host is connected.\n *\n * @param controller - Controls the behavior lifecycle.\n */\n",
3192
+ "excerptTokens": [
3193
+ {
3194
+ "kind": "Content",
3195
+ "text": "connectedCallback(controller: "
3196
+ },
3197
+ {
3198
+ "kind": "Reference",
3199
+ "text": "HostController",
3200
+ "canonicalReference": "@microsoft/fast-element!HostController:interface"
3201
+ },
3202
+ {
3203
+ "kind": "Content",
3204
+ "text": "<"
3205
+ },
3206
+ {
3207
+ "kind": "Reference",
3208
+ "text": "HTMLElement",
3209
+ "canonicalReference": "!HTMLElement:interface"
3210
+ },
3211
+ {
3212
+ "kind": "Content",
3213
+ "text": " & {\n $cssBindings: "
3214
+ },
3215
+ {
3216
+ "kind": "Reference",
3217
+ "text": "Map",
3218
+ "canonicalReference": "!Map:interface"
3219
+ },
3220
+ {
3221
+ "kind": "Content",
3222
+ "text": "<"
3223
+ },
3224
+ {
3225
+ "kind": "Reference",
3226
+ "text": "CSSBindingDirective",
3227
+ "canonicalReference": "@microsoft/fast-element!CSSBindingDirective:class"
3228
+ },
3229
+ {
3230
+ "kind": "Content",
3231
+ "text": ", "
3232
+ },
3233
+ {
3234
+ "kind": "Reference",
3235
+ "text": "CSSBindingEntry",
3236
+ "canonicalReference": "@microsoft/fast-element!~CSSBindingEntry:type"
3237
+ },
3238
+ {
3239
+ "kind": "Content",
3240
+ "text": ">;\n }>"
3241
+ },
3242
+ {
3243
+ "kind": "Content",
3244
+ "text": "): "
3245
+ },
3246
+ {
3247
+ "kind": "Content",
3248
+ "text": "void"
3249
+ },
3250
+ {
3251
+ "kind": "Content",
3252
+ "text": ";"
3253
+ }
3254
+ ],
3255
+ "isOptional": false,
3256
+ "isStatic": false,
3257
+ "returnTypeTokenRange": {
3258
+ "startIndex": 12,
3259
+ "endIndex": 13
3260
+ },
3261
+ "releaseTag": "Public",
3262
+ "overloadIndex": 1,
3263
+ "parameters": [
3264
+ {
3265
+ "parameterName": "controller",
3266
+ "parameterTypeTokenRange": {
3267
+ "startIndex": 1,
3268
+ "endIndex": 11
3269
+ },
3270
+ "isOptional": false
3271
+ }
3272
+ ],
3273
+ "name": "connectedCallback"
3274
+ },
3275
+ {
3276
+ "kind": "Method",
3277
+ "canonicalReference": "@microsoft/fast-element!CSSBindingDirective#createCSS:member(1)",
3278
+ "docComment": "/**\n * Creates a CSS fragment to interpolate into the CSS document.\n *\n * @returns - the string to interpolate into CSS\n */\n",
3279
+ "excerptTokens": [
3280
+ {
3281
+ "kind": "Content",
3282
+ "text": "createCSS(add: "
3283
+ },
3284
+ {
3285
+ "kind": "Reference",
3286
+ "text": "AddBehavior",
3287
+ "canonicalReference": "@microsoft/fast-element!AddBehavior:type"
3288
+ },
3289
+ {
3290
+ "kind": "Content",
3291
+ "text": "): "
3292
+ },
3293
+ {
3294
+ "kind": "Reference",
3295
+ "text": "ComposableStyles",
3296
+ "canonicalReference": "@microsoft/fast-element!ComposableStyles:type"
3297
+ },
3298
+ {
3299
+ "kind": "Content",
3300
+ "text": ";"
3301
+ }
3302
+ ],
3303
+ "isOptional": false,
3304
+ "isStatic": false,
3305
+ "returnTypeTokenRange": {
3306
+ "startIndex": 3,
3307
+ "endIndex": 4
3308
+ },
3309
+ "releaseTag": "Public",
3310
+ "overloadIndex": 1,
3311
+ "parameters": [
3312
+ {
3313
+ "parameterName": "add",
3314
+ "parameterTypeTokenRange": {
3315
+ "startIndex": 1,
3316
+ "endIndex": 2
3317
+ },
3318
+ "isOptional": false
3319
+ }
3320
+ ],
3321
+ "name": "createCSS"
3322
+ },
3323
+ {
3324
+ "kind": "Property",
3325
+ "canonicalReference": "@microsoft/fast-element!CSSBindingDirective#dataBinding:member",
3326
+ "docComment": "",
3327
+ "excerptTokens": [
3328
+ {
3329
+ "kind": "Content",
3330
+ "text": "readonly dataBinding: "
3331
+ },
3332
+ {
3333
+ "kind": "Reference",
3334
+ "text": "Binding",
3335
+ "canonicalReference": "@microsoft/fast-element!Binding:class"
3336
+ },
3337
+ {
3338
+ "kind": "Content",
3339
+ "text": ";"
3340
+ }
3341
+ ],
3342
+ "isOptional": false,
3343
+ "releaseTag": "Public",
3344
+ "name": "dataBinding",
3345
+ "propertyTypeTokenRange": {
3346
+ "startIndex": 1,
3347
+ "endIndex": 2
3348
+ },
3349
+ "isStatic": false
3350
+ },
3351
+ {
3352
+ "kind": "Method",
3353
+ "canonicalReference": "@microsoft/fast-element!CSSBindingDirective#removedCallback:member(1)",
3354
+ "docComment": "/**\n * Executed when this behavior is detached from a controller.\n *\n * @param controller - Controls the behavior lifecycle.\n */\n",
3355
+ "excerptTokens": [
3356
+ {
3357
+ "kind": "Content",
3358
+ "text": "removedCallback(controller: "
3359
+ },
3360
+ {
3361
+ "kind": "Reference",
3362
+ "text": "HostController",
3363
+ "canonicalReference": "@microsoft/fast-element!HostController:interface"
3364
+ },
3365
+ {
3366
+ "kind": "Content",
3367
+ "text": "<"
3368
+ },
3369
+ {
3370
+ "kind": "Reference",
3371
+ "text": "HTMLElement",
3372
+ "canonicalReference": "!HTMLElement:interface"
3373
+ },
3374
+ {
3375
+ "kind": "Content",
3376
+ "text": " & {\n $cssBindings: "
3377
+ },
3378
+ {
3379
+ "kind": "Reference",
3380
+ "text": "Map",
3381
+ "canonicalReference": "!Map:interface"
3382
+ },
3383
+ {
3384
+ "kind": "Content",
3385
+ "text": "<"
3386
+ },
3387
+ {
3388
+ "kind": "Reference",
3389
+ "text": "CSSBindingDirective",
3390
+ "canonicalReference": "@microsoft/fast-element!CSSBindingDirective:class"
3391
+ },
3392
+ {
3393
+ "kind": "Content",
3394
+ "text": ", "
3395
+ },
3396
+ {
3397
+ "kind": "Reference",
3398
+ "text": "CSSBindingEntry",
3399
+ "canonicalReference": "@microsoft/fast-element!~CSSBindingEntry:type"
3400
+ },
3401
+ {
3402
+ "kind": "Content",
3403
+ "text": ">;\n }>"
3404
+ },
3405
+ {
3406
+ "kind": "Content",
3407
+ "text": "): "
3408
+ },
3409
+ {
3410
+ "kind": "Content",
3411
+ "text": "void"
3412
+ },
3413
+ {
3414
+ "kind": "Content",
3415
+ "text": ";"
3416
+ }
3417
+ ],
3418
+ "isOptional": false,
3419
+ "isStatic": false,
3420
+ "returnTypeTokenRange": {
3421
+ "startIndex": 12,
3422
+ "endIndex": 13
3423
+ },
3424
+ "releaseTag": "Public",
3425
+ "overloadIndex": 1,
3426
+ "parameters": [
3427
+ {
3428
+ "parameterName": "controller",
3429
+ "parameterTypeTokenRange": {
3430
+ "startIndex": 1,
3431
+ "endIndex": 11
3432
+ },
3433
+ "isOptional": false
3434
+ }
3435
+ ],
3436
+ "name": "removedCallback"
3437
+ },
3438
+ {
3439
+ "kind": "Property",
3440
+ "canonicalReference": "@microsoft/fast-element!CSSBindingDirective#targetAspect:member",
3441
+ "docComment": "",
3442
+ "excerptTokens": [
3443
+ {
3444
+ "kind": "Content",
3445
+ "text": "readonly targetAspect: "
3446
+ },
3447
+ {
3448
+ "kind": "Content",
3449
+ "text": "string"
3450
+ },
3451
+ {
3452
+ "kind": "Content",
3453
+ "text": ";"
3454
+ }
3455
+ ],
3456
+ "isOptional": false,
3457
+ "releaseTag": "Public",
3458
+ "name": "targetAspect",
3459
+ "propertyTypeTokenRange": {
3460
+ "startIndex": 1,
3461
+ "endIndex": 2
3462
+ },
3463
+ "isStatic": false
3464
+ }
3465
+ ],
3466
+ "implementsTokenRanges": [
3467
+ {
3468
+ "startIndex": 1,
3469
+ "endIndex": 2
3470
+ },
3471
+ {
3472
+ "startIndex": 3,
3473
+ "endIndex": 4
3474
+ },
3475
+ {
3476
+ "startIndex": 5,
3477
+ "endIndex": 6
3478
+ },
3479
+ {
3480
+ "startIndex": 7,
3481
+ "endIndex": 8
3482
+ }
3483
+ ]
3484
+ },
3485
+ {
3486
+ "kind": "Function",
3487
+ "canonicalReference": "@microsoft/fast-element!cssDirective:function(1)",
3488
+ "docComment": "/**\n * Decorator: Defines a CSSDirective.\n *\n * @public\n */\n",
3489
+ "excerptTokens": [
3490
+ {
3491
+ "kind": "Content",
3492
+ "text": "export declare function cssDirective(): "
3493
+ },
3494
+ {
3495
+ "kind": "Content",
3496
+ "text": "(type: "
3497
+ },
3498
+ {
3499
+ "kind": "Reference",
3500
+ "text": "Constructable",
3501
+ "canonicalReference": "@microsoft/fast-element!Constructable:type"
3502
+ },
3503
+ {
3504
+ "kind": "Content",
3505
+ "text": "<"
3506
+ },
3507
+ {
3508
+ "kind": "Reference",
3509
+ "text": "CSSDirective",
3510
+ "canonicalReference": "@microsoft/fast-element!CSSDirective:interface"
3511
+ },
3512
+ {
3513
+ "kind": "Content",
3514
+ "text": ">) => void"
3515
+ },
3516
+ {
3517
+ "kind": "Content",
3518
+ "text": ";"
3519
+ }
3520
+ ],
3521
+ "returnTypeTokenRange": {
3522
+ "startIndex": 1,
3523
+ "endIndex": 6
3524
+ },
3525
+ "releaseTag": "Public",
3526
+ "overloadIndex": 1,
3527
+ "parameters": [],
3528
+ "name": "cssDirective"
3529
+ },
3530
+ {
3531
+ "kind": "Interface",
3532
+ "canonicalReference": "@microsoft/fast-element!CSSDirective:interface",
3533
+ "docComment": "/**\n * Directive for use in {@link css}.\n *\n * @public\n */\n",
3534
+ "excerptTokens": [
3535
+ {
3536
+ "kind": "Content",
3537
+ "text": "export interface CSSDirective "
3538
+ }
3539
+ ],
3540
+ "releaseTag": "Public",
3541
+ "name": "CSSDirective",
3542
+ "members": [
3543
+ {
3544
+ "kind": "MethodSignature",
3545
+ "canonicalReference": "@microsoft/fast-element!CSSDirective#createCSS:member(1)",
3546
+ "docComment": "/**\n * Creates a CSS fragment to interpolate into the CSS document.\n *\n * @returns - the string to interpolate into CSS\n */\n",
3547
+ "excerptTokens": [
3548
+ {
3549
+ "kind": "Content",
3550
+ "text": "createCSS(add: "
3551
+ },
3552
+ {
3553
+ "kind": "Reference",
3554
+ "text": "AddBehavior",
3555
+ "canonicalReference": "@microsoft/fast-element!AddBehavior:type"
3556
+ },
3557
+ {
3558
+ "kind": "Content",
3559
+ "text": "): "
3560
+ },
3561
+ {
3562
+ "kind": "Reference",
3563
+ "text": "ComposableStyles",
3564
+ "canonicalReference": "@microsoft/fast-element!ComposableStyles:type"
3565
+ },
3097
3566
  {
3098
3567
  "kind": "Content",
3099
3568
  "text": ";"
@@ -3338,7 +3807,34 @@
3338
3807
  },
3339
3808
  {
3340
3809
  "kind": "Content",
3341
- "text": "((strings: "
3810
+ "text": "(<TSource = any, TParent = any>(strings: "
3811
+ },
3812
+ {
3813
+ "kind": "Reference",
3814
+ "text": "TemplateStringsArray",
3815
+ "canonicalReference": "!TemplateStringsArray:interface"
3816
+ },
3817
+ {
3818
+ "kind": "Content",
3819
+ "text": ", ...values: "
3820
+ },
3821
+ {
3822
+ "kind": "Reference",
3823
+ "text": "CSSValue",
3824
+ "canonicalReference": "@microsoft/fast-element!CSSValue:type"
3825
+ },
3826
+ {
3827
+ "kind": "Content",
3828
+ "text": "<TSource, TParent>[]) => "
3829
+ },
3830
+ {
3831
+ "kind": "Reference",
3832
+ "text": "ElementStyles",
3833
+ "canonicalReference": "@microsoft/fast-element!ElementStyles:class"
3834
+ },
3835
+ {
3836
+ "kind": "Content",
3837
+ "text": ") & {\n partial<TSource = any, TParent = any>(strings: "
3342
3838
  },
3343
3839
  {
3344
3840
  "kind": "Reference",
@@ -3347,16 +3843,16 @@
3347
3843
  },
3348
3844
  {
3349
3845
  "kind": "Content",
3350
- "text": ", ...values: ("
3846
+ "text": ", ...values: "
3351
3847
  },
3352
3848
  {
3353
3849
  "kind": "Reference",
3354
- "text": "ComposableStyles",
3355
- "canonicalReference": "@microsoft/fast-element!ComposableStyles:type"
3850
+ "text": "CSSValue",
3851
+ "canonicalReference": "@microsoft/fast-element!CSSValue:type"
3356
3852
  },
3357
3853
  {
3358
3854
  "kind": "Content",
3359
- "text": " | "
3855
+ "text": "<TSource, TParent>[]): "
3360
3856
  },
3361
3857
  {
3362
3858
  "kind": "Reference",
@@ -3365,63 +3861,103 @@
3365
3861
  },
3366
3862
  {
3367
3863
  "kind": "Content",
3368
- "text": ")[]) => "
3864
+ "text": ";\n}"
3369
3865
  },
3370
3866
  {
3371
- "kind": "Reference",
3372
- "text": "ElementStyles",
3373
- "canonicalReference": "@microsoft/fast-element!ElementStyles:class"
3867
+ "kind": "Content",
3868
+ "text": ";"
3869
+ }
3870
+ ],
3871
+ "releaseTag": "Public",
3872
+ "name": "CSSTemplateTag",
3873
+ "typeTokenRange": {
3874
+ "startIndex": 1,
3875
+ "endIndex": 14
3876
+ }
3877
+ },
3878
+ {
3879
+ "kind": "TypeAlias",
3880
+ "canonicalReference": "@microsoft/fast-element!CSSValue:type",
3881
+ "docComment": "/**\n * Represents the types of values that can be interpolated into a template.\n *\n * @public\n */\n",
3882
+ "excerptTokens": [
3883
+ {
3884
+ "kind": "Content",
3885
+ "text": "export declare type CSSValue<TSource, TParent = "
3886
+ },
3887
+ {
3888
+ "kind": "Content",
3889
+ "text": "any"
3374
3890
  },
3375
3891
  {
3376
3892
  "kind": "Content",
3377
- "text": ") & {\n partial(strings: "
3893
+ "text": "> = "
3378
3894
  },
3379
3895
  {
3380
3896
  "kind": "Reference",
3381
- "text": "TemplateStringsArray",
3382
- "canonicalReference": "!TemplateStringsArray:interface"
3897
+ "text": "Expression",
3898
+ "canonicalReference": "@microsoft/fast-element!Expression:type"
3383
3899
  },
3384
3900
  {
3385
3901
  "kind": "Content",
3386
- "text": ", ...values: ("
3902
+ "text": "<TSource, any, TParent> | "
3387
3903
  },
3388
3904
  {
3389
3905
  "kind": "Reference",
3390
- "text": "ComposableStyles",
3391
- "canonicalReference": "@microsoft/fast-element!ComposableStyles:type"
3906
+ "text": "Binding",
3907
+ "canonicalReference": "@microsoft/fast-element!Binding:class"
3392
3908
  },
3393
3909
  {
3394
3910
  "kind": "Content",
3395
- "text": " | "
3911
+ "text": "<TSource, any, TParent> | "
3396
3912
  },
3397
3913
  {
3398
3914
  "kind": "Reference",
3399
- "text": "CSSDirective",
3400
- "canonicalReference": "@microsoft/fast-element!CSSDirective:interface"
3915
+ "text": "ComposableStyles",
3916
+ "canonicalReference": "@microsoft/fast-element!ComposableStyles:type"
3401
3917
  },
3402
3918
  {
3403
3919
  "kind": "Content",
3404
- "text": ")[]): "
3920
+ "text": " | "
3405
3921
  },
3406
3922
  {
3407
3923
  "kind": "Reference",
3408
3924
  "text": "CSSDirective",
3409
3925
  "canonicalReference": "@microsoft/fast-element!CSSDirective:interface"
3410
3926
  },
3411
- {
3412
- "kind": "Content",
3413
- "text": ";\n}"
3414
- },
3415
3927
  {
3416
3928
  "kind": "Content",
3417
3929
  "text": ";"
3418
3930
  }
3419
3931
  ],
3420
3932
  "releaseTag": "Public",
3421
- "name": "CSSTemplateTag",
3933
+ "name": "CSSValue",
3934
+ "typeParameters": [
3935
+ {
3936
+ "typeParameterName": "TSource",
3937
+ "constraintTokenRange": {
3938
+ "startIndex": 0,
3939
+ "endIndex": 0
3940
+ },
3941
+ "defaultTypeTokenRange": {
3942
+ "startIndex": 0,
3943
+ "endIndex": 0
3944
+ }
3945
+ },
3946
+ {
3947
+ "typeParameterName": "TParent",
3948
+ "constraintTokenRange": {
3949
+ "startIndex": 0,
3950
+ "endIndex": 0
3951
+ },
3952
+ "defaultTypeTokenRange": {
3953
+ "startIndex": 1,
3954
+ "endIndex": 2
3955
+ }
3956
+ }
3957
+ ],
3422
3958
  "typeTokenRange": {
3423
- "startIndex": 1,
3424
- "endIndex": 18
3959
+ "startIndex": 3,
3960
+ "endIndex": 10
3425
3961
  }
3426
3962
  },
3427
3963
  {
@@ -4093,11 +4629,41 @@
4093
4629
  "excerptTokens": [
4094
4630
  {
4095
4631
  "kind": "Content",
4096
- "text": "connect(): "
4632
+ "text": "connect(): "
4633
+ },
4634
+ {
4635
+ "kind": "Content",
4636
+ "text": "void"
4637
+ },
4638
+ {
4639
+ "kind": "Content",
4640
+ "text": ";"
4641
+ }
4642
+ ],
4643
+ "isOptional": false,
4644
+ "isStatic": false,
4645
+ "returnTypeTokenRange": {
4646
+ "startIndex": 1,
4647
+ "endIndex": 2
4648
+ },
4649
+ "releaseTag": "Public",
4650
+ "overloadIndex": 1,
4651
+ "parameters": [],
4652
+ "name": "connect"
4653
+ },
4654
+ {
4655
+ "kind": "Property",
4656
+ "canonicalReference": "@microsoft/fast-element!ElementController#context:member",
4657
+ "docComment": "/**\n * The context the expression is evaluated against.\n */\n",
4658
+ "excerptTokens": [
4659
+ {
4660
+ "kind": "Content",
4661
+ "text": "get context(): "
4097
4662
  },
4098
4663
  {
4099
- "kind": "Content",
4100
- "text": "void"
4664
+ "kind": "Reference",
4665
+ "text": "ExecutionContext",
4666
+ "canonicalReference": "@microsoft/fast-element!ExecutionContext:interface"
4101
4667
  },
4102
4668
  {
4103
4669
  "kind": "Content",
@@ -4105,15 +4671,13 @@
4105
4671
  }
4106
4672
  ],
4107
4673
  "isOptional": false,
4108
- "isStatic": false,
4109
- "returnTypeTokenRange": {
4674
+ "releaseTag": "Public",
4675
+ "name": "context",
4676
+ "propertyTypeTokenRange": {
4110
4677
  "startIndex": 1,
4111
4678
  "endIndex": 2
4112
4679
  },
4113
- "releaseTag": "Public",
4114
- "overloadIndex": 1,
4115
- "parameters": [],
4116
- "name": "connect"
4680
+ "isStatic": false
4117
4681
  },
4118
4682
  {
4119
4683
  "kind": "Property",
@@ -4312,6 +4876,33 @@
4312
4876
  ],
4313
4877
  "name": "forCustomElement"
4314
4878
  },
4879
+ {
4880
+ "kind": "Property",
4881
+ "canonicalReference": "@microsoft/fast-element!ElementController#isBound:member",
4882
+ "docComment": "/**\n * Indicates whether the controller is bound.\n */\n",
4883
+ "excerptTokens": [
4884
+ {
4885
+ "kind": "Content",
4886
+ "text": "get isBound(): "
4887
+ },
4888
+ {
4889
+ "kind": "Content",
4890
+ "text": "boolean"
4891
+ },
4892
+ {
4893
+ "kind": "Content",
4894
+ "text": ";"
4895
+ }
4896
+ ],
4897
+ "isOptional": false,
4898
+ "releaseTag": "Public",
4899
+ "name": "isBound",
4900
+ "propertyTypeTokenRange": {
4901
+ "startIndex": 1,
4902
+ "endIndex": 2
4903
+ },
4904
+ "isStatic": false
4905
+ },
4315
4906
  {
4316
4907
  "kind": "Property",
4317
4908
  "canonicalReference": "@microsoft/fast-element!ElementController#isConnected:member",
@@ -4462,6 +5053,61 @@
4462
5053
  ],
4463
5054
  "name": "onAttributeChangedCallback"
4464
5055
  },
5056
+ {
5057
+ "kind": "Method",
5058
+ "canonicalReference": "@microsoft/fast-element!ElementController#onUnbind:member(1)",
5059
+ "docComment": "/**\n * Registers an unbind handler with the controller.\n *\n * @param behavior - An object to call when the controller unbinds.\n */\n",
5060
+ "excerptTokens": [
5061
+ {
5062
+ "kind": "Content",
5063
+ "text": "onUnbind(behavior: "
5064
+ },
5065
+ {
5066
+ "kind": "Content",
5067
+ "text": "{\n unbind(controller: "
5068
+ },
5069
+ {
5070
+ "kind": "Reference",
5071
+ "text": "ExpressionController",
5072
+ "canonicalReference": "@microsoft/fast-element!ExpressionController:interface"
5073
+ },
5074
+ {
5075
+ "kind": "Content",
5076
+ "text": "<TElement>): any;\n }"
5077
+ },
5078
+ {
5079
+ "kind": "Content",
5080
+ "text": "): "
5081
+ },
5082
+ {
5083
+ "kind": "Content",
5084
+ "text": "void"
5085
+ },
5086
+ {
5087
+ "kind": "Content",
5088
+ "text": ";"
5089
+ }
5090
+ ],
5091
+ "isOptional": false,
5092
+ "isStatic": false,
5093
+ "returnTypeTokenRange": {
5094
+ "startIndex": 5,
5095
+ "endIndex": 6
5096
+ },
5097
+ "releaseTag": "Public",
5098
+ "overloadIndex": 1,
5099
+ "parameters": [
5100
+ {
5101
+ "parameterName": "behavior",
5102
+ "parameterTypeTokenRange": {
5103
+ "startIndex": 1,
5104
+ "endIndex": 4
5105
+ },
5106
+ "isOptional": false
5107
+ }
5108
+ ],
5109
+ "name": "onUnbind"
5110
+ },
4465
5111
  {
4466
5112
  "kind": "Method",
4467
5113
  "canonicalReference": "@microsoft/fast-element!ElementController#removeBehavior:member(1)",
@@ -4663,6 +5309,38 @@
4663
5309
  },
4664
5310
  "isStatic": false
4665
5311
  },
5312
+ {
5313
+ "kind": "Property",
5314
+ "canonicalReference": "@microsoft/fast-element!ElementController#sourceLifetime:member",
5315
+ "docComment": "/**\n * Indicates how the source's lifetime relates to the controller's lifetime.\n */\n",
5316
+ "excerptTokens": [
5317
+ {
5318
+ "kind": "Content",
5319
+ "text": "get sourceLifetime(): "
5320
+ },
5321
+ {
5322
+ "kind": "Reference",
5323
+ "text": "SourceLifetime",
5324
+ "canonicalReference": "@microsoft/fast-element!SourceLifetime:type"
5325
+ },
5326
+ {
5327
+ "kind": "Content",
5328
+ "text": " | undefined"
5329
+ },
5330
+ {
5331
+ "kind": "Content",
5332
+ "text": ";"
5333
+ }
5334
+ ],
5335
+ "isOptional": false,
5336
+ "releaseTag": "Public",
5337
+ "name": "sourceLifetime",
5338
+ "propertyTypeTokenRange": {
5339
+ "startIndex": 1,
5340
+ "endIndex": 3
5341
+ },
5342
+ "isStatic": false
5343
+ },
4666
5344
  {
4667
5345
  "kind": "Property",
4668
5346
  "canonicalReference": "@microsoft/fast-element!ElementController#template:member",
@@ -5432,6 +6110,87 @@
5432
6110
  }
5433
6111
  ],
5434
6112
  "name": "appendTo"
6113
+ },
6114
+ {
6115
+ "kind": "MethodSignature",
6116
+ "canonicalReference": "@microsoft/fast-element!ElementView#onUnbind:member(1)",
6117
+ "docComment": "/**\n * Registers an unbind handler with the controller.\n *\n * @param behavior - An object to call when the controller unbinds.\n */\n",
6118
+ "excerptTokens": [
6119
+ {
6120
+ "kind": "Content",
6121
+ "text": "onUnbind(behavior: "
6122
+ },
6123
+ {
6124
+ "kind": "Content",
6125
+ "text": "{\n unbind(controller: "
6126
+ },
6127
+ {
6128
+ "kind": "Reference",
6129
+ "text": "ViewController",
6130
+ "canonicalReference": "@microsoft/fast-element!ViewController:interface"
6131
+ },
6132
+ {
6133
+ "kind": "Content",
6134
+ "text": "<TSource, TParent>): any;\n }"
6135
+ },
6136
+ {
6137
+ "kind": "Content",
6138
+ "text": "): "
6139
+ },
6140
+ {
6141
+ "kind": "Content",
6142
+ "text": "void"
6143
+ },
6144
+ {
6145
+ "kind": "Content",
6146
+ "text": ";"
6147
+ }
6148
+ ],
6149
+ "isOptional": false,
6150
+ "returnTypeTokenRange": {
6151
+ "startIndex": 5,
6152
+ "endIndex": 6
6153
+ },
6154
+ "releaseTag": "Public",
6155
+ "overloadIndex": 1,
6156
+ "parameters": [
6157
+ {
6158
+ "parameterName": "behavior",
6159
+ "parameterTypeTokenRange": {
6160
+ "startIndex": 1,
6161
+ "endIndex": 4
6162
+ },
6163
+ "isOptional": false
6164
+ }
6165
+ ],
6166
+ "name": "onUnbind"
6167
+ },
6168
+ {
6169
+ "kind": "PropertySignature",
6170
+ "canonicalReference": "@microsoft/fast-element!ElementView#sourceLifetime:member",
6171
+ "docComment": "/**\n * Indicates how the source's lifetime relates to the controller's lifetime.\n */\n",
6172
+ "excerptTokens": [
6173
+ {
6174
+ "kind": "Content",
6175
+ "text": "readonly sourceLifetime?: "
6176
+ },
6177
+ {
6178
+ "kind": "Reference",
6179
+ "text": "SourceLifetime",
6180
+ "canonicalReference": "@microsoft/fast-element!SourceLifetime:type"
6181
+ },
6182
+ {
6183
+ "kind": "Content",
6184
+ "text": ";"
6185
+ }
6186
+ ],
6187
+ "isOptional": true,
6188
+ "releaseTag": "Public",
6189
+ "name": "sourceLifetime",
6190
+ "propertyTypeTokenRange": {
6191
+ "startIndex": 1,
6192
+ "endIndex": 2
6193
+ }
5435
6194
  }
5436
6195
  ],
5437
6196
  "extendsTokenRanges": [
@@ -8485,7 +9244,16 @@
8485
9244
  },
8486
9245
  {
8487
9246
  "kind": "Content",
8488
- "text": "> "
9247
+ "text": "> extends "
9248
+ },
9249
+ {
9250
+ "kind": "Reference",
9251
+ "text": "ExpressionController",
9252
+ "canonicalReference": "@microsoft/fast-element!ExpressionController:interface"
9253
+ },
9254
+ {
9255
+ "kind": "Content",
9256
+ "text": "<TSource> "
8489
9257
  }
8490
9258
  ],
8491
9259
  "releaseTag": "Public",
@@ -8794,35 +9562,14 @@
8794
9562
  }
8795
9563
  ],
8796
9564
  "name": "removeStyles"
8797
- },
8798
- {
8799
- "kind": "PropertySignature",
8800
- "canonicalReference": "@microsoft/fast-element!HostController#source:member",
8801
- "docComment": "/**\n * The component source.\n */\n",
8802
- "excerptTokens": [
8803
- {
8804
- "kind": "Content",
8805
- "text": "readonly source: "
8806
- },
8807
- {
8808
- "kind": "Content",
8809
- "text": "TSource"
8810
- },
8811
- {
8812
- "kind": "Content",
8813
- "text": ";"
8814
- }
8815
- ],
8816
- "isOptional": false,
8817
- "releaseTag": "Public",
8818
- "name": "source",
8819
- "propertyTypeTokenRange": {
8820
- "startIndex": 1,
8821
- "endIndex": 2
8822
- }
8823
9565
  }
8824
9566
  ],
8825
- "extendsTokenRanges": []
9567
+ "extendsTokenRanges": [
9568
+ {
9569
+ "startIndex": 3,
9570
+ "endIndex": 4
9571
+ }
9572
+ ]
8826
9573
  },
8827
9574
  {
8828
9575
  "kind": "Variable",
@@ -8887,6 +9634,15 @@
8887
9634
  "text": "Aspected",
8888
9635
  "canonicalReference": "@microsoft/fast-element!Aspected:interface"
8889
9636
  },
9637
+ {
9638
+ "kind": "Content",
9639
+ "text": ", "
9640
+ },
9641
+ {
9642
+ "kind": "Reference",
9643
+ "text": "BindingDirective",
9644
+ "canonicalReference": "@microsoft/fast-element!BindingDirective:interface"
9645
+ },
8890
9646
  {
8891
9647
  "kind": "Content",
8892
9648
  "text": " "
@@ -9240,6 +9996,10 @@
9240
9996
  {
9241
9997
  "startIndex": 7,
9242
9998
  "endIndex": 8
9999
+ },
10000
+ {
10001
+ "startIndex": 9,
10002
+ "endIndex": 10
9243
10003
  }
9244
10004
  ]
9245
10005
  },
@@ -11885,128 +12645,6 @@
11885
12645
  },
11886
12646
  "implementsTokenRanges": []
11887
12647
  },
11888
- {
11889
- "kind": "Function",
11890
- "canonicalReference": "@microsoft/fast-element!normalizeBinding:function(1)",
11891
- "docComment": "/**\n * Normalizes the input value into a binding.\n *\n * @param value - The value to create the default binding for.\n *\n * @returns A binding configuration for the provided value.\n *\n * @public\n */\n",
11892
- "excerptTokens": [
11893
- {
11894
- "kind": "Content",
11895
- "text": "export declare function normalizeBinding<TSource = "
11896
- },
11897
- {
11898
- "kind": "Content",
11899
- "text": "any"
11900
- },
11901
- {
11902
- "kind": "Content",
11903
- "text": ", TReturn = "
11904
- },
11905
- {
11906
- "kind": "Content",
11907
- "text": "any"
11908
- },
11909
- {
11910
- "kind": "Content",
11911
- "text": ", TParent = "
11912
- },
11913
- {
11914
- "kind": "Content",
11915
- "text": "any"
11916
- },
11917
- {
11918
- "kind": "Content",
11919
- "text": ">(value: "
11920
- },
11921
- {
11922
- "kind": "Reference",
11923
- "text": "Expression",
11924
- "canonicalReference": "@microsoft/fast-element!Expression:type"
11925
- },
11926
- {
11927
- "kind": "Content",
11928
- "text": "<TSource, TReturn, TParent> | "
11929
- },
11930
- {
11931
- "kind": "Reference",
11932
- "text": "Binding",
11933
- "canonicalReference": "@microsoft/fast-element!Binding:class"
11934
- },
11935
- {
11936
- "kind": "Content",
11937
- "text": "<TSource, TReturn, TParent> | {}"
11938
- },
11939
- {
11940
- "kind": "Content",
11941
- "text": "): "
11942
- },
11943
- {
11944
- "kind": "Reference",
11945
- "text": "Binding",
11946
- "canonicalReference": "@microsoft/fast-element!Binding:class"
11947
- },
11948
- {
11949
- "kind": "Content",
11950
- "text": "<TSource, TReturn, TParent>"
11951
- },
11952
- {
11953
- "kind": "Content",
11954
- "text": ";"
11955
- }
11956
- ],
11957
- "returnTypeTokenRange": {
11958
- "startIndex": 12,
11959
- "endIndex": 14
11960
- },
11961
- "releaseTag": "Public",
11962
- "overloadIndex": 1,
11963
- "parameters": [
11964
- {
11965
- "parameterName": "value",
11966
- "parameterTypeTokenRange": {
11967
- "startIndex": 7,
11968
- "endIndex": 11
11969
- },
11970
- "isOptional": false
11971
- }
11972
- ],
11973
- "typeParameters": [
11974
- {
11975
- "typeParameterName": "TSource",
11976
- "constraintTokenRange": {
11977
- "startIndex": 0,
11978
- "endIndex": 0
11979
- },
11980
- "defaultTypeTokenRange": {
11981
- "startIndex": 1,
11982
- "endIndex": 2
11983
- }
11984
- },
11985
- {
11986
- "typeParameterName": "TReturn",
11987
- "constraintTokenRange": {
11988
- "startIndex": 0,
11989
- "endIndex": 0
11990
- },
11991
- "defaultTypeTokenRange": {
11992
- "startIndex": 3,
11993
- "endIndex": 4
11994
- }
11995
- },
11996
- {
11997
- "typeParameterName": "TParent",
11998
- "constraintTokenRange": {
11999
- "startIndex": 0,
12000
- "endIndex": 0
12001
- },
12002
- "defaultTypeTokenRange": {
12003
- "startIndex": 5,
12004
- "endIndex": 6
12005
- }
12006
- }
12007
- ],
12008
- "name": "normalizeBinding"
12009
- },
12010
12648
  {
12011
12649
  "kind": "Interface",
12012
12650
  "canonicalReference": "@microsoft/fast-element!Notifier:interface",
@@ -12594,6 +13232,114 @@
12594
13232
  ],
12595
13233
  "name": "oneTime"
12596
13234
  },
13235
+ {
13236
+ "kind": "Function",
13237
+ "canonicalReference": "@microsoft/fast-element!oneWay:function(1)",
13238
+ "docComment": "/**\n * Creates an standard binding.\n *\n * @param expression - The binding to refresh when changed.\n *\n * @param policy - The security policy to associate with th binding.\n *\n * @param isVolatile - Indicates whether the binding is volatile or not.\n *\n * @returns A binding configuration.\n *\n * @public\n */\n",
13239
+ "excerptTokens": [
13240
+ {
13241
+ "kind": "Content",
13242
+ "text": "export declare function oneWay<T = "
13243
+ },
13244
+ {
13245
+ "kind": "Content",
13246
+ "text": "any"
13247
+ },
13248
+ {
13249
+ "kind": "Content",
13250
+ "text": ">(expression: "
13251
+ },
13252
+ {
13253
+ "kind": "Reference",
13254
+ "text": "Expression",
13255
+ "canonicalReference": "@microsoft/fast-element!Expression:type"
13256
+ },
13257
+ {
13258
+ "kind": "Content",
13259
+ "text": "<T>"
13260
+ },
13261
+ {
13262
+ "kind": "Content",
13263
+ "text": ", policy?: "
13264
+ },
13265
+ {
13266
+ "kind": "Reference",
13267
+ "text": "DOMPolicy",
13268
+ "canonicalReference": "@microsoft/fast-element!DOMPolicy:interface"
13269
+ },
13270
+ {
13271
+ "kind": "Content",
13272
+ "text": ", isVolatile?: "
13273
+ },
13274
+ {
13275
+ "kind": "Content",
13276
+ "text": "boolean"
13277
+ },
13278
+ {
13279
+ "kind": "Content",
13280
+ "text": "): "
13281
+ },
13282
+ {
13283
+ "kind": "Reference",
13284
+ "text": "Binding",
13285
+ "canonicalReference": "@microsoft/fast-element!Binding:class"
13286
+ },
13287
+ {
13288
+ "kind": "Content",
13289
+ "text": "<T>"
13290
+ },
13291
+ {
13292
+ "kind": "Content",
13293
+ "text": ";"
13294
+ }
13295
+ ],
13296
+ "returnTypeTokenRange": {
13297
+ "startIndex": 10,
13298
+ "endIndex": 12
13299
+ },
13300
+ "releaseTag": "Public",
13301
+ "overloadIndex": 1,
13302
+ "parameters": [
13303
+ {
13304
+ "parameterName": "expression",
13305
+ "parameterTypeTokenRange": {
13306
+ "startIndex": 3,
13307
+ "endIndex": 5
13308
+ },
13309
+ "isOptional": false
13310
+ },
13311
+ {
13312
+ "parameterName": "policy",
13313
+ "parameterTypeTokenRange": {
13314
+ "startIndex": 6,
13315
+ "endIndex": 7
13316
+ },
13317
+ "isOptional": true
13318
+ },
13319
+ {
13320
+ "parameterName": "isVolatile",
13321
+ "parameterTypeTokenRange": {
13322
+ "startIndex": 8,
13323
+ "endIndex": 9
13324
+ },
13325
+ "isOptional": true
13326
+ }
13327
+ ],
13328
+ "typeParameters": [
13329
+ {
13330
+ "typeParameterName": "T",
13331
+ "constraintTokenRange": {
13332
+ "startIndex": 0,
13333
+ "endIndex": 0
13334
+ },
13335
+ "defaultTypeTokenRange": {
13336
+ "startIndex": 1,
13337
+ "endIndex": 2
13338
+ }
13339
+ }
13340
+ ],
13341
+ "name": "oneWay"
13342
+ },
12597
13343
  {
12598
13344
  "kind": "Variable",
12599
13345
  "canonicalReference": "@microsoft/fast-element!Parser:var",
@@ -13818,6 +14564,15 @@
13818
14564
  "text": "ViewBehaviorFactory",
13819
14565
  "canonicalReference": "@microsoft/fast-element!ViewBehaviorFactory:interface"
13820
14566
  },
14567
+ {
14568
+ "kind": "Content",
14569
+ "text": ", "
14570
+ },
14571
+ {
14572
+ "kind": "Reference",
14573
+ "text": "BindingDirective",
14574
+ "canonicalReference": "@microsoft/fast-element!BindingDirective:interface"
14575
+ },
13821
14576
  {
13822
14577
  "kind": "Content",
13823
14578
  "text": " "
@@ -14140,6 +14895,10 @@
14140
14895
  {
14141
14896
  "startIndex": 5,
14142
14897
  "endIndex": 6
14898
+ },
14899
+ {
14900
+ "startIndex": 7,
14901
+ "endIndex": 8
14143
14902
  }
14144
14903
  ]
14145
14904
  },
@@ -17852,6 +18611,32 @@
17852
18611
  "endIndex": 3
17853
18612
  }
17854
18613
  },
18614
+ {
18615
+ "kind": "PropertySignature",
18616
+ "canonicalReference": "@microsoft/fast-element!View#isBound:member",
18617
+ "docComment": "/**\n * Indicates whether the controller is bound.\n */\n",
18618
+ "excerptTokens": [
18619
+ {
18620
+ "kind": "Content",
18621
+ "text": "readonly isBound: "
18622
+ },
18623
+ {
18624
+ "kind": "Content",
18625
+ "text": "boolean"
18626
+ },
18627
+ {
18628
+ "kind": "Content",
18629
+ "text": ";"
18630
+ }
18631
+ ],
18632
+ "isOptional": false,
18633
+ "releaseTag": "Public",
18634
+ "name": "isBound",
18635
+ "propertyTypeTokenRange": {
18636
+ "startIndex": 1,
18637
+ "endIndex": 2
18638
+ }
18639
+ },
17855
18640
  {
17856
18641
  "kind": "PropertySignature",
17857
18642
  "canonicalReference": "@microsoft/fast-element!View#source:member",