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

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 +54 -0
  2. package/CHANGELOG.md +21 -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} +16 -3
  8. package/dist/dts/{templating/binding-two-way.d.ts → binding/two-way.d.ts} +6 -4
  9. package/dist/dts/components/element-controller.d.ts +20 -5
  10. package/dist/dts/context.d.ts +21 -8
  11. package/dist/dts/index.d.ts +7 -2
  12. package/dist/dts/interfaces.d.ts +9 -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} +20 -10
  30. package/dist/esm/{templating/binding-two-way.js → binding/two-way.js} +14 -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 +9 -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 +1129 -222
  49. package/dist/fast-element.d.ts +125 -33
  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 -72
  55. package/docs/api-report.md +52 -48
  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": ";"
@@ -3334,11 +3803,38 @@
3334
3803
  "excerptTokens": [
3335
3804
  {
3336
3805
  "kind": "Content",
3337
- "text": "export declare type CSSTemplateTag = "
3806
+ "text": "export declare type CSSTemplateTag = "
3807
+ },
3808
+ {
3809
+ "kind": "Content",
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"
3338
3834
  },
3339
3835
  {
3340
3836
  "kind": "Content",
3341
- "text": "((strings: "
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 = "
3374
3886
  },
3375
3887
  {
3376
3888
  "kind": "Content",
3377
- "text": ") & {\n partial(strings: "
3889
+ "text": "any"
3890
+ },
3891
+ {
3892
+ "kind": "Content",
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
  {
@@ -4115,6 +4651,34 @@
4115
4651
  "parameters": [],
4116
4652
  "name": "connect"
4117
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(): "
4662
+ },
4663
+ {
4664
+ "kind": "Reference",
4665
+ "text": "ExecutionContext",
4666
+ "canonicalReference": "@microsoft/fast-element!ExecutionContext:interface"
4667
+ },
4668
+ {
4669
+ "kind": "Content",
4670
+ "text": ";"
4671
+ }
4672
+ ],
4673
+ "isOptional": false,
4674
+ "releaseTag": "Public",
4675
+ "name": "context",
4676
+ "propertyTypeTokenRange": {
4677
+ "startIndex": 1,
4678
+ "endIndex": 2
4679
+ },
4680
+ "isStatic": false
4681
+ },
4118
4682
  {
4119
4683
  "kind": "Property",
4120
4684
  "canonicalReference": "@microsoft/fast-element!ElementController#definition:member",
@@ -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",
@@ -5389,17 +6067,71 @@
5389
6067
  "members": [
5390
6068
  {
5391
6069
  "kind": "MethodSignature",
5392
- "canonicalReference": "@microsoft/fast-element!ElementView#appendTo:member(1)",
5393
- "docComment": "/**\n * Appends the view's DOM nodes to the referenced node.\n *\n * @param node - The parent node to append the view's DOM nodes to.\n */\n",
6070
+ "canonicalReference": "@microsoft/fast-element!ElementView#appendTo:member(1)",
6071
+ "docComment": "/**\n * Appends the view's DOM nodes to the referenced node.\n *\n * @param node - The parent node to append the view's DOM nodes to.\n */\n",
6072
+ "excerptTokens": [
6073
+ {
6074
+ "kind": "Content",
6075
+ "text": "appendTo(node: "
6076
+ },
6077
+ {
6078
+ "kind": "Reference",
6079
+ "text": "Node",
6080
+ "canonicalReference": "!Node:interface"
6081
+ },
6082
+ {
6083
+ "kind": "Content",
6084
+ "text": "): "
6085
+ },
6086
+ {
6087
+ "kind": "Content",
6088
+ "text": "void"
6089
+ },
6090
+ {
6091
+ "kind": "Content",
6092
+ "text": ";"
6093
+ }
6094
+ ],
6095
+ "isOptional": false,
6096
+ "returnTypeTokenRange": {
6097
+ "startIndex": 3,
6098
+ "endIndex": 4
6099
+ },
6100
+ "releaseTag": "Public",
6101
+ "overloadIndex": 1,
6102
+ "parameters": [
6103
+ {
6104
+ "parameterName": "node",
6105
+ "parameterTypeTokenRange": {
6106
+ "startIndex": 1,
6107
+ "endIndex": 2
6108
+ },
6109
+ "isOptional": false
6110
+ }
6111
+ ],
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",
5394
6118
  "excerptTokens": [
5395
6119
  {
5396
6120
  "kind": "Content",
5397
- "text": "appendTo(node: "
6121
+ "text": "onUnbind(behavior: "
6122
+ },
6123
+ {
6124
+ "kind": "Content",
6125
+ "text": "{\n unbind(controller: "
5398
6126
  },
5399
6127
  {
5400
6128
  "kind": "Reference",
5401
- "text": "Node",
5402
- "canonicalReference": "!Node:interface"
6129
+ "text": "ViewController",
6130
+ "canonicalReference": "@microsoft/fast-element!ViewController:interface"
6131
+ },
6132
+ {
6133
+ "kind": "Content",
6134
+ "text": "<TSource, TParent>): any;\n }"
5403
6135
  },
5404
6136
  {
5405
6137
  "kind": "Content",
@@ -5416,22 +6148,49 @@
5416
6148
  ],
5417
6149
  "isOptional": false,
5418
6150
  "returnTypeTokenRange": {
5419
- "startIndex": 3,
5420
- "endIndex": 4
6151
+ "startIndex": 5,
6152
+ "endIndex": 6
5421
6153
  },
5422
6154
  "releaseTag": "Public",
5423
6155
  "overloadIndex": 1,
5424
6156
  "parameters": [
5425
6157
  {
5426
- "parameterName": "node",
6158
+ "parameterName": "behavior",
5427
6159
  "parameterTypeTokenRange": {
5428
6160
  "startIndex": 1,
5429
- "endIndex": 2
6161
+ "endIndex": 4
5430
6162
  },
5431
6163
  "isOptional": false
5432
6164
  }
5433
6165
  ],
5434
- "name": "appendTo"
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
  },
@@ -12594,6 +13354,114 @@
12594
13354
  ],
12595
13355
  "name": "oneTime"
12596
13356
  },
13357
+ {
13358
+ "kind": "Function",
13359
+ "canonicalReference": "@microsoft/fast-element!oneWay:function(1)",
13360
+ "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",
13361
+ "excerptTokens": [
13362
+ {
13363
+ "kind": "Content",
13364
+ "text": "export declare function oneWay<T = "
13365
+ },
13366
+ {
13367
+ "kind": "Content",
13368
+ "text": "any"
13369
+ },
13370
+ {
13371
+ "kind": "Content",
13372
+ "text": ">(expression: "
13373
+ },
13374
+ {
13375
+ "kind": "Reference",
13376
+ "text": "Expression",
13377
+ "canonicalReference": "@microsoft/fast-element!Expression:type"
13378
+ },
13379
+ {
13380
+ "kind": "Content",
13381
+ "text": "<T>"
13382
+ },
13383
+ {
13384
+ "kind": "Content",
13385
+ "text": ", policy?: "
13386
+ },
13387
+ {
13388
+ "kind": "Reference",
13389
+ "text": "DOMPolicy",
13390
+ "canonicalReference": "@microsoft/fast-element!DOMPolicy:interface"
13391
+ },
13392
+ {
13393
+ "kind": "Content",
13394
+ "text": ", isVolatile?: "
13395
+ },
13396
+ {
13397
+ "kind": "Content",
13398
+ "text": "boolean"
13399
+ },
13400
+ {
13401
+ "kind": "Content",
13402
+ "text": "): "
13403
+ },
13404
+ {
13405
+ "kind": "Reference",
13406
+ "text": "Binding",
13407
+ "canonicalReference": "@microsoft/fast-element!Binding:class"
13408
+ },
13409
+ {
13410
+ "kind": "Content",
13411
+ "text": "<T>"
13412
+ },
13413
+ {
13414
+ "kind": "Content",
13415
+ "text": ";"
13416
+ }
13417
+ ],
13418
+ "returnTypeTokenRange": {
13419
+ "startIndex": 10,
13420
+ "endIndex": 12
13421
+ },
13422
+ "releaseTag": "Public",
13423
+ "overloadIndex": 1,
13424
+ "parameters": [
13425
+ {
13426
+ "parameterName": "expression",
13427
+ "parameterTypeTokenRange": {
13428
+ "startIndex": 3,
13429
+ "endIndex": 5
13430
+ },
13431
+ "isOptional": false
13432
+ },
13433
+ {
13434
+ "parameterName": "policy",
13435
+ "parameterTypeTokenRange": {
13436
+ "startIndex": 6,
13437
+ "endIndex": 7
13438
+ },
13439
+ "isOptional": true
13440
+ },
13441
+ {
13442
+ "parameterName": "isVolatile",
13443
+ "parameterTypeTokenRange": {
13444
+ "startIndex": 8,
13445
+ "endIndex": 9
13446
+ },
13447
+ "isOptional": true
13448
+ }
13449
+ ],
13450
+ "typeParameters": [
13451
+ {
13452
+ "typeParameterName": "T",
13453
+ "constraintTokenRange": {
13454
+ "startIndex": 0,
13455
+ "endIndex": 0
13456
+ },
13457
+ "defaultTypeTokenRange": {
13458
+ "startIndex": 1,
13459
+ "endIndex": 2
13460
+ }
13461
+ }
13462
+ ],
13463
+ "name": "oneWay"
13464
+ },
12597
13465
  {
12598
13466
  "kind": "Variable",
12599
13467
  "canonicalReference": "@microsoft/fast-element!Parser:var",
@@ -13818,6 +14686,15 @@
13818
14686
  "text": "ViewBehaviorFactory",
13819
14687
  "canonicalReference": "@microsoft/fast-element!ViewBehaviorFactory:interface"
13820
14688
  },
14689
+ {
14690
+ "kind": "Content",
14691
+ "text": ", "
14692
+ },
14693
+ {
14694
+ "kind": "Reference",
14695
+ "text": "BindingDirective",
14696
+ "canonicalReference": "@microsoft/fast-element!BindingDirective:interface"
14697
+ },
13821
14698
  {
13822
14699
  "kind": "Content",
13823
14700
  "text": " "
@@ -14140,6 +15017,10 @@
14140
15017
  {
14141
15018
  "startIndex": 5,
14142
15019
  "endIndex": 6
15020
+ },
15021
+ {
15022
+ "startIndex": 7,
15023
+ "endIndex": 8
14143
15024
  }
14144
15025
  ]
14145
15026
  },
@@ -17852,6 +18733,32 @@
17852
18733
  "endIndex": 3
17853
18734
  }
17854
18735
  },
18736
+ {
18737
+ "kind": "PropertySignature",
18738
+ "canonicalReference": "@microsoft/fast-element!View#isBound:member",
18739
+ "docComment": "/**\n * Indicates whether the controller is bound.\n */\n",
18740
+ "excerptTokens": [
18741
+ {
18742
+ "kind": "Content",
18743
+ "text": "readonly isBound: "
18744
+ },
18745
+ {
18746
+ "kind": "Content",
18747
+ "text": "boolean"
18748
+ },
18749
+ {
18750
+ "kind": "Content",
18751
+ "text": ";"
18752
+ }
18753
+ ],
18754
+ "isOptional": false,
18755
+ "releaseTag": "Public",
18756
+ "name": "isBound",
18757
+ "propertyTypeTokenRange": {
18758
+ "startIndex": 1,
18759
+ "endIndex": 2
18760
+ }
18761
+ },
17855
18762
  {
17856
18763
  "kind": "PropertySignature",
17857
18764
  "canonicalReference": "@microsoft/fast-element!View#source:member",