@genesislcap/foundation-ui 14.147.1-alpha-e3b7ca7.0 → 14.148.0

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 (2) hide show
  1. package/dist/custom-elements.json +698 -698
  2. package/package.json +15 -15
@@ -9048,11 +9048,11 @@
9048
9048
  },
9049
9049
  {
9050
9050
  "kind": "javascript-module",
9051
- "path": "src/data-grid-cell/data-grid-cell.styles.ts",
9051
+ "path": "src/data-grid/data-grid.styles.ts",
9052
9052
  "declarations": [
9053
9053
  {
9054
9054
  "kind": "function",
9055
- "name": "foundationDataGridCellStyles",
9055
+ "name": "foundationDataGridStyles",
9056
9056
  "return": {
9057
9057
  "type": {
9058
9058
  "text": "ElementStyles"
@@ -9077,98 +9077,159 @@
9077
9077
  "exports": [
9078
9078
  {
9079
9079
  "kind": "js",
9080
- "name": "foundationDataGridCellStyles",
9080
+ "name": "foundationDataGridStyles",
9081
9081
  "declaration": {
9082
- "name": "foundationDataGridCellStyles",
9083
- "module": "src/data-grid-cell/data-grid-cell.styles.ts"
9082
+ "name": "foundationDataGridStyles",
9083
+ "module": "src/data-grid/data-grid.styles.ts"
9084
9084
  }
9085
9085
  }
9086
9086
  ]
9087
9087
  },
9088
9088
  {
9089
9089
  "kind": "javascript-module",
9090
- "path": "src/data-grid-cell/data-grid.cell.ts",
9090
+ "path": "src/data-grid/data-grid.template.ts",
9091
+ "declarations": [
9092
+ {
9093
+ "kind": "function",
9094
+ "name": "foundationDataGridTemplate",
9095
+ "return": {
9096
+ "type": {
9097
+ "text": "ViewTemplate<DataGrid>"
9098
+ }
9099
+ },
9100
+ "parameters": [
9101
+ {
9102
+ "name": "context",
9103
+ "type": {
9104
+ "text": "ElementDefinitionContext"
9105
+ }
9106
+ },
9107
+ {
9108
+ "name": "definition",
9109
+ "type": {
9110
+ "text": "FoundationElementDefinition"
9111
+ }
9112
+ }
9113
+ ]
9114
+ }
9115
+ ],
9116
+ "exports": [
9117
+ {
9118
+ "kind": "js",
9119
+ "name": "foundationDataGridTemplate",
9120
+ "declaration": {
9121
+ "name": "foundationDataGridTemplate",
9122
+ "module": "src/data-grid/data-grid.template.ts"
9123
+ }
9124
+ }
9125
+ ]
9126
+ },
9127
+ {
9128
+ "kind": "javascript-module",
9129
+ "path": "src/data-grid/data-grid.ts",
9091
9130
  "declarations": [
9092
9131
  {
9093
9132
  "kind": "class",
9094
9133
  "description": "",
9095
- "name": "DataGridCell",
9134
+ "name": "DataGrid",
9096
9135
  "superclass": {
9097
- "name": "FASTDataGridCell",
9136
+ "name": "FASTDataGrid",
9098
9137
  "package": "@microsoft/fast-components"
9099
9138
  },
9100
- "tagName": "%%prefix%%-data-grid-cell",
9139
+ "tagName": "%%prefix%%-data-grid",
9101
9140
  "customElement": true,
9102
9141
  "attributes": [
9103
9142
  {
9104
- "name": "cell-type",
9143
+ "name": "no-tabbing",
9105
9144
  "type": {
9106
- "text": "DataGridCellTypes"
9145
+ "text": "boolean"
9107
9146
  },
9108
- "description": "The type of cell",
9109
- "fieldName": "cellType",
9147
+ "default": "false",
9148
+ "description": "When true the component will not add itself to the tab queue.\nDefault is false.",
9149
+ "fieldName": "noTabbing",
9110
9150
  "inheritedFrom": {
9111
- "name": "DataGridCell",
9112
- "module": "src/data-grid/data-grid-cell.ts"
9151
+ "name": "DataGrid",
9152
+ "module": "src/data-grid/data-grid.ts"
9113
9153
  }
9114
9154
  },
9115
9155
  {
9116
- "name": "grid-column",
9156
+ "name": "generate-header",
9157
+ "type": {
9158
+ "text": "GenerateHeaderOptions"
9159
+ },
9160
+ "description": "Whether the grid should automatically generate a header row and its type",
9161
+ "fieldName": "generateHeader",
9162
+ "inheritedFrom": {
9163
+ "name": "DataGrid",
9164
+ "module": "src/data-grid/data-grid.ts"
9165
+ }
9166
+ },
9167
+ {
9168
+ "name": "grid-template-columns",
9117
9169
  "type": {
9118
9170
  "text": "string"
9119
9171
  },
9120
- "description": "The column index of the cell.\nThis will be applied to the css grid-column-index value\napplied to the cell",
9121
- "fieldName": "gridColumn",
9172
+ "description": "String that gets applied to the the css gridTemplateColumns attribute of child rows",
9173
+ "fieldName": "gridTemplateColumns",
9122
9174
  "inheritedFrom": {
9123
- "name": "DataGridCell",
9124
- "module": "src/data-grid/data-grid-cell.ts"
9175
+ "name": "DataGrid",
9176
+ "module": "src/data-grid/data-grid.ts"
9125
9177
  }
9126
9178
  }
9127
9179
  ],
9128
9180
  "members": [
9129
9181
  {
9130
9182
  "kind": "field",
9131
- "name": "cellType",
9132
- "type": {
9133
- "text": "DataGridCellTypes"
9134
- },
9183
+ "name": "generateColumns",
9135
9184
  "privacy": "public",
9136
- "description": "The type of cell",
9185
+ "static": true,
9186
+ "description": "generates a basic column definition by examining sample row data",
9137
9187
  "inheritedFrom": {
9138
- "name": "DataGridCell",
9139
- "module": "src/data-grid/data-grid-cell.ts"
9188
+ "name": "DataGrid",
9189
+ "module": "src/data-grid/data-grid.ts"
9140
9190
  }
9141
9191
  },
9142
9192
  {
9143
9193
  "kind": "method",
9144
- "name": "cellTypeChanged",
9194
+ "name": "generateTemplateColumns",
9145
9195
  "privacy": "private",
9196
+ "static": true,
9146
9197
  "return": {
9147
9198
  "type": {
9148
- "text": "void"
9199
+ "text": "string"
9149
9200
  }
9150
9201
  },
9202
+ "parameters": [
9203
+ {
9204
+ "name": "columnDefinitions",
9205
+ "type": {
9206
+ "text": "ColumnDefinition[]"
9207
+ }
9208
+ }
9209
+ ],
9210
+ "description": "generates a gridTemplateColumns based on columndata array",
9151
9211
  "inheritedFrom": {
9152
- "name": "DataGridCell",
9153
- "module": "src/data-grid/data-grid-cell.ts"
9212
+ "name": "DataGrid",
9213
+ "module": "src/data-grid/data-grid.ts"
9154
9214
  }
9155
9215
  },
9156
9216
  {
9157
9217
  "kind": "field",
9158
- "name": "gridColumn",
9218
+ "name": "noTabbing",
9159
9219
  "type": {
9160
- "text": "string"
9220
+ "text": "boolean"
9161
9221
  },
9162
9222
  "privacy": "public",
9163
- "description": "The column index of the cell.\nThis will be applied to the css grid-column-index value\napplied to the cell",
9223
+ "default": "false",
9224
+ "description": "When true the component will not add itself to the tab queue.\nDefault is false.",
9164
9225
  "inheritedFrom": {
9165
- "name": "DataGridCell",
9166
- "module": "src/data-grid/data-grid-cell.ts"
9226
+ "name": "DataGrid",
9227
+ "module": "src/data-grid/data-grid.ts"
9167
9228
  }
9168
9229
  },
9169
9230
  {
9170
9231
  "kind": "method",
9171
- "name": "gridColumnChanged",
9232
+ "name": "noTabbingChanged",
9172
9233
  "privacy": "private",
9173
9234
  "return": {
9174
9235
  "type": {
@@ -9176,161 +9237,190 @@
9176
9237
  }
9177
9238
  },
9178
9239
  "inheritedFrom": {
9179
- "name": "DataGridCell",
9180
- "module": "src/data-grid/data-grid-cell.ts"
9240
+ "name": "DataGrid",
9241
+ "module": "src/data-grid/data-grid.ts"
9181
9242
  }
9182
9243
  },
9183
9244
  {
9184
9245
  "kind": "field",
9185
- "name": "rowData",
9246
+ "name": "generateHeader",
9186
9247
  "type": {
9187
- "text": "object | null"
9248
+ "text": "GenerateHeaderOptions"
9188
9249
  },
9189
9250
  "privacy": "public",
9190
- "default": "null",
9191
- "description": "The base data for the parent row",
9251
+ "description": "Whether the grid should automatically generate a header row and its type",
9192
9252
  "inheritedFrom": {
9193
- "name": "DataGridCell",
9194
- "module": "src/data-grid/data-grid-cell.ts"
9253
+ "name": "DataGrid",
9254
+ "module": "src/data-grid/data-grid.ts"
9255
+ }
9256
+ },
9257
+ {
9258
+ "kind": "method",
9259
+ "name": "generateHeaderChanged",
9260
+ "privacy": "private",
9261
+ "return": {
9262
+ "type": {
9263
+ "text": "void"
9264
+ }
9265
+ },
9266
+ "inheritedFrom": {
9267
+ "name": "DataGrid",
9268
+ "module": "src/data-grid/data-grid.ts"
9195
9269
  }
9196
9270
  },
9197
9271
  {
9198
9272
  "kind": "field",
9199
- "name": "columnDefinition",
9273
+ "name": "gridTemplateColumns",
9200
9274
  "type": {
9201
- "text": "ColumnDefinition | null"
9275
+ "text": "string"
9202
9276
  },
9203
9277
  "privacy": "public",
9204
- "default": "null",
9205
- "description": "The base data for the column",
9278
+ "description": "String that gets applied to the the css gridTemplateColumns attribute of child rows",
9206
9279
  "inheritedFrom": {
9207
- "name": "DataGridCell",
9208
- "module": "src/data-grid/data-grid-cell.ts"
9280
+ "name": "DataGrid",
9281
+ "module": "src/data-grid/data-grid.ts"
9209
9282
  }
9210
9283
  },
9211
9284
  {
9212
9285
  "kind": "method",
9213
- "name": "columnDefinitionChanged",
9286
+ "name": "gridTemplateColumnsChanged",
9214
9287
  "privacy": "private",
9215
9288
  "return": {
9216
9289
  "type": {
9217
9290
  "text": "void"
9218
9291
  }
9219
9292
  },
9220
- "parameters": [
9221
- {
9222
- "name": "oldValue",
9223
- "type": {
9224
- "text": "ColumnDefinition | null"
9225
- }
9226
- },
9227
- {
9228
- "name": "newValue",
9229
- "type": {
9230
- "text": "ColumnDefinition | null"
9231
- }
9232
- }
9233
- ],
9234
9293
  "inheritedFrom": {
9235
- "name": "DataGridCell",
9236
- "module": "src/data-grid/data-grid-cell.ts"
9294
+ "name": "DataGrid",
9295
+ "module": "src/data-grid/data-grid.ts"
9237
9296
  }
9238
9297
  },
9239
9298
  {
9240
9299
  "kind": "field",
9241
- "name": "isActiveCell",
9300
+ "name": "rowsData",
9242
9301
  "type": {
9243
- "text": "boolean"
9302
+ "text": "object[]"
9244
9303
  },
9304
+ "privacy": "public",
9305
+ "default": "[]",
9306
+ "description": "The data being displayed in the grid",
9307
+ "inheritedFrom": {
9308
+ "name": "DataGrid",
9309
+ "module": "src/data-grid/data-grid.ts"
9310
+ }
9311
+ },
9312
+ {
9313
+ "kind": "method",
9314
+ "name": "rowsDataChanged",
9245
9315
  "privacy": "private",
9246
- "default": "false",
9316
+ "return": {
9317
+ "type": {
9318
+ "text": "void"
9319
+ }
9320
+ },
9247
9321
  "inheritedFrom": {
9248
- "name": "DataGridCell",
9249
- "module": "src/data-grid/data-grid-cell.ts"
9322
+ "name": "DataGrid",
9323
+ "module": "src/data-grid/data-grid.ts"
9250
9324
  }
9251
9325
  },
9252
9326
  {
9253
9327
  "kind": "field",
9254
- "name": "customCellView",
9328
+ "name": "columnDefinitions",
9255
9329
  "type": {
9256
- "text": "HTMLView | null"
9330
+ "text": "ColumnDefinition[] | null"
9257
9331
  },
9258
- "privacy": "private",
9332
+ "privacy": "public",
9259
9333
  "default": "null",
9334
+ "description": "The column definitions of the grid",
9260
9335
  "inheritedFrom": {
9261
- "name": "DataGridCell",
9262
- "module": "src/data-grid/data-grid-cell.ts"
9336
+ "name": "DataGrid",
9337
+ "module": "src/data-grid/data-grid.ts"
9263
9338
  }
9264
9339
  },
9265
9340
  {
9266
9341
  "kind": "method",
9267
- "name": "handleFocusin",
9268
- "privacy": "public",
9342
+ "name": "columnDefinitionsChanged",
9343
+ "privacy": "private",
9269
9344
  "return": {
9270
9345
  "type": {
9271
9346
  "text": "void"
9272
9347
  }
9273
9348
  },
9274
- "parameters": [
9275
- {
9276
- "name": "e",
9277
- "type": {
9278
- "text": "FocusEvent"
9279
- }
9280
- }
9281
- ],
9282
9349
  "inheritedFrom": {
9283
- "name": "DataGridCell",
9284
- "module": "src/data-grid/data-grid-cell.ts"
9350
+ "name": "DataGrid",
9351
+ "module": "src/data-grid/data-grid.ts"
9285
9352
  }
9286
9353
  },
9287
9354
  {
9288
- "kind": "method",
9289
- "name": "handleFocusout",
9355
+ "kind": "field",
9356
+ "name": "rowItemTemplate",
9357
+ "type": {
9358
+ "text": "ViewTemplate"
9359
+ },
9290
9360
  "privacy": "public",
9291
- "return": {
9292
- "type": {
9293
- "text": "void"
9294
- }
9361
+ "description": "The template to use for the programmatic generation of rows",
9362
+ "inheritedFrom": {
9363
+ "name": "DataGrid",
9364
+ "module": "src/data-grid/data-grid.ts"
9365
+ }
9366
+ },
9367
+ {
9368
+ "kind": "field",
9369
+ "name": "cellItemTemplate",
9370
+ "type": {
9371
+ "text": "ViewTemplate | undefined"
9295
9372
  },
9296
- "parameters": [
9297
- {
9298
- "name": "e",
9299
- "type": {
9300
- "text": "FocusEvent"
9301
- }
9302
- }
9303
- ],
9373
+ "privacy": "public",
9374
+ "description": "The template used to render cells in generated rows.",
9304
9375
  "inheritedFrom": {
9305
- "name": "DataGridCell",
9306
- "module": "src/data-grid/data-grid-cell.ts"
9376
+ "name": "DataGrid",
9377
+ "module": "src/data-grid/data-grid.ts"
9307
9378
  }
9308
9379
  },
9309
9380
  {
9310
- "kind": "method",
9311
- "name": "handleKeydown",
9381
+ "kind": "field",
9382
+ "name": "headerCellItemTemplate",
9383
+ "type": {
9384
+ "text": "ViewTemplate | undefined"
9385
+ },
9312
9386
  "privacy": "public",
9387
+ "description": "The template used to render header cells in generated rows.",
9388
+ "inheritedFrom": {
9389
+ "name": "DataGrid",
9390
+ "module": "src/data-grid/data-grid.ts"
9391
+ }
9392
+ },
9393
+ {
9394
+ "kind": "method",
9395
+ "name": "headerCellItemTemplateChanged",
9396
+ "privacy": "private",
9313
9397
  "return": {
9314
9398
  "type": {
9315
9399
  "text": "void"
9316
9400
  }
9317
9401
  },
9318
- "parameters": [
9319
- {
9320
- "name": "e",
9321
- "type": {
9322
- "text": "KeyboardEvent"
9323
- }
9324
- }
9325
- ],
9326
9402
  "inheritedFrom": {
9327
- "name": "DataGridCell",
9328
- "module": "src/data-grid/data-grid-cell.ts"
9403
+ "name": "DataGrid",
9404
+ "module": "src/data-grid/data-grid.ts"
9405
+ }
9406
+ },
9407
+ {
9408
+ "kind": "field",
9409
+ "name": "focusRowIndex",
9410
+ "type": {
9411
+ "text": "number"
9412
+ },
9413
+ "privacy": "public",
9414
+ "default": "0",
9415
+ "description": "The index of the row that will receive focus the next time the\ngrid is focused. This value changes as focus moves to different\nrows within the grid. Changing this value when focus is already\nwithin the grid moves focus to the specified row.",
9416
+ "inheritedFrom": {
9417
+ "name": "DataGrid",
9418
+ "module": "src/data-grid/data-grid.ts"
9329
9419
  }
9330
9420
  },
9331
9421
  {
9332
9422
  "kind": "method",
9333
- "name": "updateCellView",
9423
+ "name": "focusRowIndexChanged",
9334
9424
  "privacy": "private",
9335
9425
  "return": {
9336
9426
  "type": {
@@ -9338,13 +9428,27 @@
9338
9428
  }
9339
9429
  },
9340
9430
  "inheritedFrom": {
9341
- "name": "DataGridCell",
9342
- "module": "src/data-grid/data-grid-cell.ts"
9431
+ "name": "DataGrid",
9432
+ "module": "src/data-grid/data-grid.ts"
9433
+ }
9434
+ },
9435
+ {
9436
+ "kind": "field",
9437
+ "name": "focusColumnIndex",
9438
+ "type": {
9439
+ "text": "number"
9440
+ },
9441
+ "privacy": "public",
9442
+ "default": "0",
9443
+ "description": "The index of the column that will receive focus the next time the\ngrid is focused. This value changes as focus moves to different rows\nwithin the grid. Changing this value when focus is already within\nthe grid moves focus to the specified column.",
9444
+ "inheritedFrom": {
9445
+ "name": "DataGrid",
9446
+ "module": "src/data-grid/data-grid.ts"
9343
9447
  }
9344
9448
  },
9345
9449
  {
9346
9450
  "kind": "method",
9347
- "name": "disconnectCellView",
9451
+ "name": "focusColumnIndexChanged",
9348
9452
  "privacy": "private",
9349
9453
  "return": {
9350
9454
  "type": {
@@ -9352,145 +9456,332 @@
9352
9456
  }
9353
9457
  },
9354
9458
  "inheritedFrom": {
9355
- "name": "DataGridCell",
9356
- "module": "src/data-grid/data-grid-cell.ts"
9459
+ "name": "DataGrid",
9460
+ "module": "src/data-grid/data-grid.ts"
9357
9461
  }
9358
9462
  },
9359
9463
  {
9360
9464
  "kind": "field",
9361
- "name": "updateCellStyle",
9465
+ "name": "rowElementTag",
9466
+ "type": {
9467
+ "text": "string"
9468
+ },
9469
+ "privacy": "public",
9470
+ "description": "Set by the component templates.",
9471
+ "inheritedFrom": {
9472
+ "name": "DataGrid",
9473
+ "module": "src/data-grid/data-grid.ts"
9474
+ }
9475
+ },
9476
+ {
9477
+ "kind": "field",
9478
+ "name": "rowsRepeatBehavior",
9479
+ "type": {
9480
+ "text": "RepeatBehavior | null"
9481
+ },
9362
9482
  "privacy": "private",
9363
9483
  "inheritedFrom": {
9364
- "name": "DataGridCell",
9365
- "module": "src/data-grid/data-grid-cell.ts"
9484
+ "name": "DataGrid",
9485
+ "module": "src/data-grid/data-grid.ts"
9366
9486
  }
9367
9487
  },
9368
9488
  {
9369
9489
  "kind": "field",
9370
- "name": "_presentation",
9490
+ "name": "rowsPlaceholder",
9371
9491
  "type": {
9372
- "text": "ComponentPresentation | null | undefined"
9492
+ "text": "Node | null"
9373
9493
  },
9374
9494
  "privacy": "private",
9375
- "default": "void 0",
9495
+ "default": "null",
9376
9496
  "inheritedFrom": {
9377
- "name": "FoundationElement",
9378
- "module": "src/foundation-element/foundation-element.ts"
9497
+ "name": "DataGrid",
9498
+ "module": "src/data-grid/data-grid.ts"
9379
9499
  }
9380
9500
  },
9381
9501
  {
9382
9502
  "kind": "field",
9383
- "name": "$presentation",
9503
+ "name": "generatedHeader",
9384
9504
  "type": {
9385
- "text": "ComponentPresentation | null"
9505
+ "text": "DataGridRow | null"
9386
9506
  },
9387
- "privacy": "public",
9388
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
9507
+ "privacy": "private",
9508
+ "default": "null",
9389
9509
  "inheritedFrom": {
9390
- "name": "FoundationElement",
9391
- "module": "src/foundation-element/foundation-element.ts"
9510
+ "name": "DataGrid",
9511
+ "module": "src/data-grid/data-grid.ts"
9392
9512
  }
9393
9513
  },
9394
9514
  {
9395
9515
  "kind": "field",
9396
- "name": "template",
9516
+ "name": "isUpdatingFocus",
9397
9517
  "type": {
9398
- "text": "ElementViewTemplate | void | null"
9518
+ "text": "boolean"
9399
9519
  },
9400
- "privacy": "public",
9401
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
9520
+ "privacy": "private",
9521
+ "default": "false",
9402
9522
  "inheritedFrom": {
9403
- "name": "FoundationElement",
9404
- "module": "src/foundation-element/foundation-element.ts"
9523
+ "name": "DataGrid",
9524
+ "module": "src/data-grid/data-grid.ts"
9405
9525
  }
9406
9526
  },
9407
9527
  {
9408
- "kind": "method",
9409
- "name": "templateChanged",
9410
- "privacy": "protected",
9411
- "return": {
9412
- "type": {
9413
- "text": "void"
9414
- }
9528
+ "kind": "field",
9529
+ "name": "pendingFocusUpdate",
9530
+ "type": {
9531
+ "text": "boolean"
9415
9532
  },
9533
+ "privacy": "private",
9534
+ "default": "false",
9416
9535
  "inheritedFrom": {
9417
- "name": "FoundationElement",
9418
- "module": "src/foundation-element/foundation-element.ts"
9536
+ "name": "DataGrid",
9537
+ "module": "src/data-grid/data-grid.ts"
9419
9538
  }
9420
9539
  },
9421
9540
  {
9422
9541
  "kind": "field",
9423
- "name": "styles",
9542
+ "name": "observer",
9424
9543
  "type": {
9425
- "text": "ElementStyles | void | null"
9544
+ "text": "MutationObserver"
9426
9545
  },
9427
- "privacy": "public",
9428
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
9546
+ "privacy": "private",
9429
9547
  "inheritedFrom": {
9430
- "name": "FoundationElement",
9431
- "module": "src/foundation-element/foundation-element.ts"
9548
+ "name": "DataGrid",
9549
+ "module": "src/data-grid/data-grid.ts"
9550
+ }
9551
+ },
9552
+ {
9553
+ "kind": "field",
9554
+ "name": "rowindexUpdateQueued",
9555
+ "type": {
9556
+ "text": "boolean"
9557
+ },
9558
+ "privacy": "private",
9559
+ "default": "false",
9560
+ "inheritedFrom": {
9561
+ "name": "DataGrid",
9562
+ "module": "src/data-grid/data-grid.ts"
9563
+ }
9564
+ },
9565
+ {
9566
+ "kind": "field",
9567
+ "name": "columnDefinitionsStale",
9568
+ "type": {
9569
+ "text": "boolean"
9570
+ },
9571
+ "privacy": "private",
9572
+ "default": "true",
9573
+ "inheritedFrom": {
9574
+ "name": "DataGrid",
9575
+ "module": "src/data-grid/data-grid.ts"
9576
+ }
9577
+ },
9578
+ {
9579
+ "kind": "field",
9580
+ "name": "generatedGridTemplateColumns",
9581
+ "type": {
9582
+ "text": "string"
9583
+ },
9584
+ "privacy": "private",
9585
+ "default": "\"\"",
9586
+ "inheritedFrom": {
9587
+ "name": "DataGrid",
9588
+ "module": "src/data-grid/data-grid.ts"
9589
+ }
9590
+ },
9591
+ {
9592
+ "kind": "field",
9593
+ "name": "focusOnCell",
9594
+ "privacy": "private",
9595
+ "inheritedFrom": {
9596
+ "name": "DataGrid",
9597
+ "module": "src/data-grid/data-grid.ts"
9432
9598
  }
9433
9599
  },
9434
9600
  {
9435
9601
  "kind": "method",
9436
- "name": "stylesChanged",
9437
- "privacy": "protected",
9602
+ "name": "queueFocusUpdate",
9603
+ "privacy": "private",
9438
9604
  "return": {
9439
9605
  "type": {
9440
9606
  "text": "void"
9441
9607
  }
9442
9608
  },
9443
9609
  "inheritedFrom": {
9444
- "name": "FoundationElement",
9445
- "module": "src/foundation-element/foundation-element.ts"
9610
+ "name": "DataGrid",
9611
+ "module": "src/data-grid/data-grid.ts"
9446
9612
  }
9447
9613
  },
9448
9614
  {
9449
9615
  "kind": "method",
9450
- "name": "compose",
9451
- "privacy": "public",
9452
- "static": true,
9616
+ "name": "updateFocus",
9617
+ "privacy": "private",
9453
9618
  "return": {
9454
9619
  "type": {
9455
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
9620
+ "text": "void"
9456
9621
  }
9457
9622
  },
9458
- "parameters": [
9459
- {
9460
- "name": "this",
9461
- "type": {
9462
- "text": "K"
9463
- }
9464
- },
9465
- {
9466
- "name": "elementDefinition",
9467
- "type": {
9468
- "text": "T"
9469
- },
9470
- "description": "The definition of the element to create the registry\nfunction for."
9623
+ "inheritedFrom": {
9624
+ "name": "DataGrid",
9625
+ "module": "src/data-grid/data-grid.ts"
9626
+ }
9627
+ },
9628
+ {
9629
+ "kind": "method",
9630
+ "name": "toggleGeneratedHeader",
9631
+ "privacy": "private",
9632
+ "return": {
9633
+ "type": {
9634
+ "text": "void"
9471
9635
  }
9472
- ],
9473
- "description": "Defines an element registry function with a set of element definition defaults.",
9636
+ },
9637
+ "inheritedFrom": {
9638
+ "name": "DataGrid",
9639
+ "module": "src/data-grid/data-grid.ts"
9640
+ }
9641
+ },
9642
+ {
9643
+ "kind": "field",
9644
+ "name": "onChildListChange",
9645
+ "privacy": "private",
9646
+ "inheritedFrom": {
9647
+ "name": "DataGrid",
9648
+ "module": "src/data-grid/data-grid.ts"
9649
+ }
9650
+ },
9651
+ {
9652
+ "kind": "field",
9653
+ "name": "queueRowIndexUpdate",
9654
+ "privacy": "private",
9655
+ "inheritedFrom": {
9656
+ "name": "DataGrid",
9657
+ "module": "src/data-grid/data-grid.ts"
9658
+ }
9659
+ },
9660
+ {
9661
+ "kind": "field",
9662
+ "name": "updateRowIndexes",
9663
+ "privacy": "private",
9664
+ "inheritedFrom": {
9665
+ "name": "DataGrid",
9666
+ "module": "src/data-grid/data-grid.ts"
9667
+ }
9668
+ },
9669
+ {
9670
+ "kind": "field",
9671
+ "name": "_presentation",
9672
+ "type": {
9673
+ "text": "ComponentPresentation | null | undefined"
9674
+ },
9675
+ "privacy": "private",
9676
+ "default": "void 0",
9474
9677
  "inheritedFrom": {
9475
9678
  "name": "FoundationElement",
9476
9679
  "module": "src/foundation-element/foundation-element.ts"
9477
9680
  }
9478
- }
9479
- ],
9480
- "events": [
9681
+ },
9481
9682
  {
9482
- "description": "Fires a custom 'cell-focused' event when focus is on the cell or its contents",
9483
- "name": "cell-focused",
9683
+ "kind": "field",
9684
+ "name": "$presentation",
9685
+ "type": {
9686
+ "text": "ComponentPresentation | null"
9687
+ },
9688
+ "privacy": "public",
9689
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
9484
9690
  "inheritedFrom": {
9485
- "name": "DataGridCell",
9486
- "module": "src/data-grid/data-grid-cell.ts"
9691
+ "name": "FoundationElement",
9692
+ "module": "src/foundation-element/foundation-element.ts"
9693
+ }
9694
+ },
9695
+ {
9696
+ "kind": "field",
9697
+ "name": "template",
9698
+ "type": {
9699
+ "text": "ElementViewTemplate | void | null"
9700
+ },
9701
+ "privacy": "public",
9702
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
9703
+ "inheritedFrom": {
9704
+ "name": "FoundationElement",
9705
+ "module": "src/foundation-element/foundation-element.ts"
9706
+ }
9707
+ },
9708
+ {
9709
+ "kind": "method",
9710
+ "name": "templateChanged",
9711
+ "privacy": "protected",
9712
+ "return": {
9713
+ "type": {
9714
+ "text": "void"
9715
+ }
9716
+ },
9717
+ "inheritedFrom": {
9718
+ "name": "FoundationElement",
9719
+ "module": "src/foundation-element/foundation-element.ts"
9720
+ }
9721
+ },
9722
+ {
9723
+ "kind": "field",
9724
+ "name": "styles",
9725
+ "type": {
9726
+ "text": "ElementStyles | void | null"
9727
+ },
9728
+ "privacy": "public",
9729
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
9730
+ "inheritedFrom": {
9731
+ "name": "FoundationElement",
9732
+ "module": "src/foundation-element/foundation-element.ts"
9733
+ }
9734
+ },
9735
+ {
9736
+ "kind": "method",
9737
+ "name": "stylesChanged",
9738
+ "privacy": "protected",
9739
+ "return": {
9740
+ "type": {
9741
+ "text": "void"
9742
+ }
9743
+ },
9744
+ "inheritedFrom": {
9745
+ "name": "FoundationElement",
9746
+ "module": "src/foundation-element/foundation-element.ts"
9747
+ }
9748
+ },
9749
+ {
9750
+ "kind": "method",
9751
+ "name": "compose",
9752
+ "privacy": "public",
9753
+ "static": true,
9754
+ "return": {
9755
+ "type": {
9756
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
9757
+ }
9758
+ },
9759
+ "parameters": [
9760
+ {
9761
+ "name": "this",
9762
+ "type": {
9763
+ "text": "K"
9764
+ }
9765
+ },
9766
+ {
9767
+ "name": "elementDefinition",
9768
+ "type": {
9769
+ "text": "T"
9770
+ },
9771
+ "description": "The definition of the element to create the registry\nfunction for."
9772
+ }
9773
+ ],
9774
+ "description": "Defines an element registry function with a set of element definition defaults.",
9775
+ "inheritedFrom": {
9776
+ "name": "FoundationElement",
9777
+ "module": "src/foundation-element/foundation-element.ts"
9487
9778
  }
9488
9779
  }
9489
9780
  ]
9490
9781
  },
9491
9782
  {
9492
9783
  "kind": "variable",
9493
- "name": "foundationDataGridCellShadowOptions",
9784
+ "name": "foundationDataGridShadowOptions",
9494
9785
  "type": {
9495
9786
  "text": "ShadowRootInit"
9496
9787
  },
@@ -9498,7 +9789,7 @@
9498
9789
  },
9499
9790
  {
9500
9791
  "kind": "variable",
9501
- "name": "defaultDataGridCellConfig",
9792
+ "name": "defaultDataGridConfig",
9502
9793
  "type": {
9503
9794
  "text": "object"
9504
9795
  },
@@ -9506,57 +9797,49 @@
9506
9797
  },
9507
9798
  {
9508
9799
  "kind": "variable",
9509
- "name": "foundationDataGridCell",
9510
- "description": "The Foundation Data Grid Cell Element.",
9800
+ "name": "foundationDataGrid",
9801
+ "description": "The Foundation Data Grid Element.",
9511
9802
  "privacy": "public"
9512
9803
  }
9513
9804
  ],
9514
9805
  "exports": [
9515
9806
  {
9516
9807
  "kind": "js",
9517
- "name": "foundationDataGridCellTemplate",
9518
- "declaration": {
9519
- "name": "dataGridCellTemplate",
9520
- "package": "@microsoft/fast-foundation"
9521
- }
9522
- },
9523
- {
9524
- "kind": "js",
9525
- "name": "DataGridCell",
9808
+ "name": "DataGrid",
9526
9809
  "declaration": {
9527
- "name": "DataGridCell",
9528
- "module": "src/data-grid-cell/data-grid.cell.ts"
9810
+ "name": "DataGrid",
9811
+ "module": "src/data-grid/data-grid.ts"
9529
9812
  }
9530
9813
  },
9531
9814
  {
9532
9815
  "kind": "js",
9533
- "name": "foundationDataGridCellShadowOptions",
9816
+ "name": "foundationDataGridShadowOptions",
9534
9817
  "declaration": {
9535
- "name": "foundationDataGridCellShadowOptions",
9536
- "module": "src/data-grid-cell/data-grid.cell.ts"
9818
+ "name": "foundationDataGridShadowOptions",
9819
+ "module": "src/data-grid/data-grid.ts"
9537
9820
  }
9538
9821
  },
9539
9822
  {
9540
9823
  "kind": "js",
9541
- "name": "defaultDataGridCellConfig",
9824
+ "name": "defaultDataGridConfig",
9542
9825
  "declaration": {
9543
- "name": "defaultDataGridCellConfig",
9544
- "module": "src/data-grid-cell/data-grid.cell.ts"
9826
+ "name": "defaultDataGridConfig",
9827
+ "module": "src/data-grid/data-grid.ts"
9545
9828
  }
9546
9829
  },
9547
9830
  {
9548
9831
  "kind": "js",
9549
- "name": "foundationDataGridCell",
9832
+ "name": "foundationDataGrid",
9550
9833
  "declaration": {
9551
- "name": "foundationDataGridCell",
9552
- "module": "src/data-grid-cell/data-grid.cell.ts"
9834
+ "name": "foundationDataGrid",
9835
+ "module": "src/data-grid/data-grid.ts"
9553
9836
  }
9554
9837
  }
9555
9838
  ]
9556
9839
  },
9557
9840
  {
9558
9841
  "kind": "javascript-module",
9559
- "path": "src/data-grid-cell/index.ts",
9842
+ "path": "src/data-grid/index.ts",
9560
9843
  "declarations": [],
9561
9844
  "exports": [
9562
9845
  {
@@ -9564,7 +9847,7 @@
9564
9847
  "name": "*",
9565
9848
  "declaration": {
9566
9849
  "name": "*",
9567
- "package": "./data-grid.cell"
9850
+ "package": "./data-grid.template"
9568
9851
  }
9569
9852
  },
9570
9853
  {
@@ -9572,18 +9855,26 @@
9572
9855
  "name": "*",
9573
9856
  "declaration": {
9574
9857
  "name": "*",
9575
- "package": "./data-grid-cell.styles"
9858
+ "package": "./data-grid.styles"
9859
+ }
9860
+ },
9861
+ {
9862
+ "kind": "js",
9863
+ "name": "*",
9864
+ "declaration": {
9865
+ "name": "*",
9866
+ "package": "./data-grid"
9576
9867
  }
9577
9868
  }
9578
9869
  ]
9579
9870
  },
9580
9871
  {
9581
9872
  "kind": "javascript-module",
9582
- "path": "src/data-grid/data-grid.styles.ts",
9873
+ "path": "src/data-grid-cell/data-grid-cell.styles.ts",
9583
9874
  "declarations": [
9584
9875
  {
9585
9876
  "kind": "function",
9586
- "name": "foundationDataGridStyles",
9877
+ "name": "foundationDataGridCellStyles",
9587
9878
  "return": {
9588
9879
  "type": {
9589
9880
  "text": "ElementStyles"
@@ -9608,378 +9899,71 @@
9608
9899
  "exports": [
9609
9900
  {
9610
9901
  "kind": "js",
9611
- "name": "foundationDataGridStyles",
9902
+ "name": "foundationDataGridCellStyles",
9612
9903
  "declaration": {
9613
- "name": "foundationDataGridStyles",
9614
- "module": "src/data-grid/data-grid.styles.ts"
9904
+ "name": "foundationDataGridCellStyles",
9905
+ "module": "src/data-grid-cell/data-grid-cell.styles.ts"
9615
9906
  }
9616
9907
  }
9617
9908
  ]
9618
9909
  },
9619
9910
  {
9620
9911
  "kind": "javascript-module",
9621
- "path": "src/data-grid/data-grid.template.ts",
9912
+ "path": "src/data-grid-cell/data-grid.cell.ts",
9622
9913
  "declarations": [
9623
9914
  {
9624
- "kind": "function",
9625
- "name": "foundationDataGridTemplate",
9626
- "return": {
9627
- "type": {
9628
- "text": "ViewTemplate<DataGrid>"
9629
- }
9915
+ "kind": "class",
9916
+ "description": "",
9917
+ "name": "DataGridCell",
9918
+ "superclass": {
9919
+ "name": "FASTDataGridCell",
9920
+ "package": "@microsoft/fast-components"
9630
9921
  },
9631
- "parameters": [
9922
+ "tagName": "%%prefix%%-data-grid-cell",
9923
+ "customElement": true,
9924
+ "attributes": [
9632
9925
  {
9633
- "name": "context",
9926
+ "name": "cell-type",
9634
9927
  "type": {
9635
- "text": "ElementDefinitionContext"
9928
+ "text": "DataGridCellTypes"
9929
+ },
9930
+ "description": "The type of cell",
9931
+ "fieldName": "cellType",
9932
+ "inheritedFrom": {
9933
+ "name": "DataGridCell",
9934
+ "module": "src/data-grid/data-grid-cell.ts"
9636
9935
  }
9637
9936
  },
9638
9937
  {
9639
- "name": "definition",
9640
- "type": {
9641
- "text": "FoundationElementDefinition"
9642
- }
9643
- }
9644
- ]
9645
- }
9646
- ],
9647
- "exports": [
9648
- {
9649
- "kind": "js",
9650
- "name": "foundationDataGridTemplate",
9651
- "declaration": {
9652
- "name": "foundationDataGridTemplate",
9653
- "module": "src/data-grid/data-grid.template.ts"
9654
- }
9655
- }
9656
- ]
9657
- },
9658
- {
9659
- "kind": "javascript-module",
9660
- "path": "src/data-grid/data-grid.ts",
9661
- "declarations": [
9662
- {
9663
- "kind": "class",
9664
- "description": "",
9665
- "name": "DataGrid",
9666
- "superclass": {
9667
- "name": "FASTDataGrid",
9668
- "package": "@microsoft/fast-components"
9669
- },
9670
- "tagName": "%%prefix%%-data-grid",
9671
- "customElement": true,
9672
- "attributes": [
9673
- {
9674
- "name": "no-tabbing",
9675
- "type": {
9676
- "text": "boolean"
9677
- },
9678
- "default": "false",
9679
- "description": "When true the component will not add itself to the tab queue.\nDefault is false.",
9680
- "fieldName": "noTabbing",
9681
- "inheritedFrom": {
9682
- "name": "DataGrid",
9683
- "module": "src/data-grid/data-grid.ts"
9684
- }
9685
- },
9686
- {
9687
- "name": "generate-header",
9688
- "type": {
9689
- "text": "GenerateHeaderOptions"
9690
- },
9691
- "description": "Whether the grid should automatically generate a header row and its type",
9692
- "fieldName": "generateHeader",
9693
- "inheritedFrom": {
9694
- "name": "DataGrid",
9695
- "module": "src/data-grid/data-grid.ts"
9696
- }
9697
- },
9698
- {
9699
- "name": "grid-template-columns",
9938
+ "name": "grid-column",
9700
9939
  "type": {
9701
9940
  "text": "string"
9702
9941
  },
9703
- "description": "String that gets applied to the the css gridTemplateColumns attribute of child rows",
9704
- "fieldName": "gridTemplateColumns",
9942
+ "description": "The column index of the cell.\nThis will be applied to the css grid-column-index value\napplied to the cell",
9943
+ "fieldName": "gridColumn",
9705
9944
  "inheritedFrom": {
9706
- "name": "DataGrid",
9707
- "module": "src/data-grid/data-grid.ts"
9945
+ "name": "DataGridCell",
9946
+ "module": "src/data-grid/data-grid-cell.ts"
9708
9947
  }
9709
9948
  }
9710
9949
  ],
9711
9950
  "members": [
9712
9951
  {
9713
9952
  "kind": "field",
9714
- "name": "generateColumns",
9715
- "privacy": "public",
9716
- "static": true,
9717
- "description": "generates a basic column definition by examining sample row data",
9718
- "inheritedFrom": {
9719
- "name": "DataGrid",
9720
- "module": "src/data-grid/data-grid.ts"
9721
- }
9722
- },
9723
- {
9724
- "kind": "method",
9725
- "name": "generateTemplateColumns",
9726
- "privacy": "private",
9727
- "static": true,
9728
- "return": {
9729
- "type": {
9730
- "text": "string"
9731
- }
9732
- },
9733
- "parameters": [
9734
- {
9735
- "name": "columnDefinitions",
9736
- "type": {
9737
- "text": "ColumnDefinition[]"
9738
- }
9739
- }
9740
- ],
9741
- "description": "generates a gridTemplateColumns based on columndata array",
9742
- "inheritedFrom": {
9743
- "name": "DataGrid",
9744
- "module": "src/data-grid/data-grid.ts"
9745
- }
9746
- },
9747
- {
9748
- "kind": "field",
9749
- "name": "noTabbing",
9750
- "type": {
9751
- "text": "boolean"
9752
- },
9753
- "privacy": "public",
9754
- "default": "false",
9755
- "description": "When true the component will not add itself to the tab queue.\nDefault is false.",
9756
- "inheritedFrom": {
9757
- "name": "DataGrid",
9758
- "module": "src/data-grid/data-grid.ts"
9759
- }
9760
- },
9761
- {
9762
- "kind": "method",
9763
- "name": "noTabbingChanged",
9764
- "privacy": "private",
9765
- "return": {
9766
- "type": {
9767
- "text": "void"
9768
- }
9769
- },
9770
- "inheritedFrom": {
9771
- "name": "DataGrid",
9772
- "module": "src/data-grid/data-grid.ts"
9773
- }
9774
- },
9775
- {
9776
- "kind": "field",
9777
- "name": "generateHeader",
9778
- "type": {
9779
- "text": "GenerateHeaderOptions"
9780
- },
9781
- "privacy": "public",
9782
- "description": "Whether the grid should automatically generate a header row and its type",
9783
- "inheritedFrom": {
9784
- "name": "DataGrid",
9785
- "module": "src/data-grid/data-grid.ts"
9786
- }
9787
- },
9788
- {
9789
- "kind": "method",
9790
- "name": "generateHeaderChanged",
9791
- "privacy": "private",
9792
- "return": {
9793
- "type": {
9794
- "text": "void"
9795
- }
9796
- },
9797
- "inheritedFrom": {
9798
- "name": "DataGrid",
9799
- "module": "src/data-grid/data-grid.ts"
9800
- }
9801
- },
9802
- {
9803
- "kind": "field",
9804
- "name": "gridTemplateColumns",
9805
- "type": {
9806
- "text": "string"
9807
- },
9808
- "privacy": "public",
9809
- "description": "String that gets applied to the the css gridTemplateColumns attribute of child rows",
9810
- "inheritedFrom": {
9811
- "name": "DataGrid",
9812
- "module": "src/data-grid/data-grid.ts"
9813
- }
9814
- },
9815
- {
9816
- "kind": "method",
9817
- "name": "gridTemplateColumnsChanged",
9818
- "privacy": "private",
9819
- "return": {
9820
- "type": {
9821
- "text": "void"
9822
- }
9823
- },
9824
- "inheritedFrom": {
9825
- "name": "DataGrid",
9826
- "module": "src/data-grid/data-grid.ts"
9827
- }
9828
- },
9829
- {
9830
- "kind": "field",
9831
- "name": "rowsData",
9832
- "type": {
9833
- "text": "object[]"
9834
- },
9835
- "privacy": "public",
9836
- "default": "[]",
9837
- "description": "The data being displayed in the grid",
9838
- "inheritedFrom": {
9839
- "name": "DataGrid",
9840
- "module": "src/data-grid/data-grid.ts"
9841
- }
9842
- },
9843
- {
9844
- "kind": "method",
9845
- "name": "rowsDataChanged",
9846
- "privacy": "private",
9847
- "return": {
9848
- "type": {
9849
- "text": "void"
9850
- }
9851
- },
9852
- "inheritedFrom": {
9853
- "name": "DataGrid",
9854
- "module": "src/data-grid/data-grid.ts"
9855
- }
9856
- },
9857
- {
9858
- "kind": "field",
9859
- "name": "columnDefinitions",
9860
- "type": {
9861
- "text": "ColumnDefinition[] | null"
9862
- },
9863
- "privacy": "public",
9864
- "default": "null",
9865
- "description": "The column definitions of the grid",
9866
- "inheritedFrom": {
9867
- "name": "DataGrid",
9868
- "module": "src/data-grid/data-grid.ts"
9869
- }
9870
- },
9871
- {
9872
- "kind": "method",
9873
- "name": "columnDefinitionsChanged",
9874
- "privacy": "private",
9875
- "return": {
9876
- "type": {
9877
- "text": "void"
9878
- }
9879
- },
9880
- "inheritedFrom": {
9881
- "name": "DataGrid",
9882
- "module": "src/data-grid/data-grid.ts"
9883
- }
9884
- },
9885
- {
9886
- "kind": "field",
9887
- "name": "rowItemTemplate",
9888
- "type": {
9889
- "text": "ViewTemplate"
9890
- },
9891
- "privacy": "public",
9892
- "description": "The template to use for the programmatic generation of rows",
9893
- "inheritedFrom": {
9894
- "name": "DataGrid",
9895
- "module": "src/data-grid/data-grid.ts"
9896
- }
9897
- },
9898
- {
9899
- "kind": "field",
9900
- "name": "cellItemTemplate",
9901
- "type": {
9902
- "text": "ViewTemplate | undefined"
9903
- },
9904
- "privacy": "public",
9905
- "description": "The template used to render cells in generated rows.",
9906
- "inheritedFrom": {
9907
- "name": "DataGrid",
9908
- "module": "src/data-grid/data-grid.ts"
9909
- }
9910
- },
9911
- {
9912
- "kind": "field",
9913
- "name": "headerCellItemTemplate",
9914
- "type": {
9915
- "text": "ViewTemplate | undefined"
9916
- },
9917
- "privacy": "public",
9918
- "description": "The template used to render header cells in generated rows.",
9919
- "inheritedFrom": {
9920
- "name": "DataGrid",
9921
- "module": "src/data-grid/data-grid.ts"
9922
- }
9923
- },
9924
- {
9925
- "kind": "method",
9926
- "name": "headerCellItemTemplateChanged",
9927
- "privacy": "private",
9928
- "return": {
9929
- "type": {
9930
- "text": "void"
9931
- }
9932
- },
9933
- "inheritedFrom": {
9934
- "name": "DataGrid",
9935
- "module": "src/data-grid/data-grid.ts"
9936
- }
9937
- },
9938
- {
9939
- "kind": "field",
9940
- "name": "focusRowIndex",
9941
- "type": {
9942
- "text": "number"
9943
- },
9944
- "privacy": "public",
9945
- "default": "0",
9946
- "description": "The index of the row that will receive focus the next time the\ngrid is focused. This value changes as focus moves to different\nrows within the grid. Changing this value when focus is already\nwithin the grid moves focus to the specified row.",
9947
- "inheritedFrom": {
9948
- "name": "DataGrid",
9949
- "module": "src/data-grid/data-grid.ts"
9950
- }
9951
- },
9952
- {
9953
- "kind": "method",
9954
- "name": "focusRowIndexChanged",
9955
- "privacy": "private",
9956
- "return": {
9957
- "type": {
9958
- "text": "void"
9959
- }
9960
- },
9961
- "inheritedFrom": {
9962
- "name": "DataGrid",
9963
- "module": "src/data-grid/data-grid.ts"
9964
- }
9965
- },
9966
- {
9967
- "kind": "field",
9968
- "name": "focusColumnIndex",
9953
+ "name": "cellType",
9969
9954
  "type": {
9970
- "text": "number"
9955
+ "text": "DataGridCellTypes"
9971
9956
  },
9972
9957
  "privacy": "public",
9973
- "default": "0",
9974
- "description": "The index of the column that will receive focus the next time the\ngrid is focused. This value changes as focus moves to different rows\nwithin the grid. Changing this value when focus is already within\nthe grid moves focus to the specified column.",
9958
+ "description": "The type of cell",
9975
9959
  "inheritedFrom": {
9976
- "name": "DataGrid",
9977
- "module": "src/data-grid/data-grid.ts"
9960
+ "name": "DataGridCell",
9961
+ "module": "src/data-grid/data-grid-cell.ts"
9978
9962
  }
9979
9963
  },
9980
9964
  {
9981
9965
  "kind": "method",
9982
- "name": "focusColumnIndexChanged",
9966
+ "name": "cellTypeChanged",
9983
9967
  "privacy": "private",
9984
9968
  "return": {
9985
9969
  "type": {
@@ -9987,214 +9971,220 @@
9987
9971
  }
9988
9972
  },
9989
9973
  "inheritedFrom": {
9990
- "name": "DataGrid",
9991
- "module": "src/data-grid/data-grid.ts"
9992
- }
9993
- },
9994
- {
9995
- "kind": "field",
9996
- "name": "rowElementTag",
9997
- "type": {
9998
- "text": "string"
9999
- },
10000
- "privacy": "public",
10001
- "description": "Set by the component templates.",
10002
- "inheritedFrom": {
10003
- "name": "DataGrid",
10004
- "module": "src/data-grid/data-grid.ts"
10005
- }
10006
- },
10007
- {
10008
- "kind": "field",
10009
- "name": "rowsRepeatBehavior",
10010
- "type": {
10011
- "text": "RepeatBehavior | null"
10012
- },
10013
- "privacy": "private",
10014
- "inheritedFrom": {
10015
- "name": "DataGrid",
10016
- "module": "src/data-grid/data-grid.ts"
10017
- }
10018
- },
10019
- {
10020
- "kind": "field",
10021
- "name": "rowsPlaceholder",
10022
- "type": {
10023
- "text": "Node | null"
10024
- },
10025
- "privacy": "private",
10026
- "default": "null",
10027
- "inheritedFrom": {
10028
- "name": "DataGrid",
10029
- "module": "src/data-grid/data-grid.ts"
9974
+ "name": "DataGridCell",
9975
+ "module": "src/data-grid/data-grid-cell.ts"
10030
9976
  }
10031
9977
  },
10032
9978
  {
10033
9979
  "kind": "field",
10034
- "name": "generatedHeader",
9980
+ "name": "gridColumn",
10035
9981
  "type": {
10036
- "text": "DataGridRow | null"
9982
+ "text": "string"
10037
9983
  },
10038
- "privacy": "private",
10039
- "default": "null",
9984
+ "privacy": "public",
9985
+ "description": "The column index of the cell.\nThis will be applied to the css grid-column-index value\napplied to the cell",
10040
9986
  "inheritedFrom": {
10041
- "name": "DataGrid",
10042
- "module": "src/data-grid/data-grid.ts"
9987
+ "name": "DataGridCell",
9988
+ "module": "src/data-grid/data-grid-cell.ts"
10043
9989
  }
10044
9990
  },
10045
9991
  {
10046
- "kind": "field",
10047
- "name": "isUpdatingFocus",
10048
- "type": {
10049
- "text": "boolean"
10050
- },
9992
+ "kind": "method",
9993
+ "name": "gridColumnChanged",
10051
9994
  "privacy": "private",
10052
- "default": "false",
9995
+ "return": {
9996
+ "type": {
9997
+ "text": "void"
9998
+ }
9999
+ },
10053
10000
  "inheritedFrom": {
10054
- "name": "DataGrid",
10055
- "module": "src/data-grid/data-grid.ts"
10001
+ "name": "DataGridCell",
10002
+ "module": "src/data-grid/data-grid-cell.ts"
10056
10003
  }
10057
10004
  },
10058
10005
  {
10059
10006
  "kind": "field",
10060
- "name": "pendingFocusUpdate",
10007
+ "name": "rowData",
10061
10008
  "type": {
10062
- "text": "boolean"
10009
+ "text": "object | null"
10063
10010
  },
10064
- "privacy": "private",
10065
- "default": "false",
10011
+ "privacy": "public",
10012
+ "default": "null",
10013
+ "description": "The base data for the parent row",
10066
10014
  "inheritedFrom": {
10067
- "name": "DataGrid",
10068
- "module": "src/data-grid/data-grid.ts"
10015
+ "name": "DataGridCell",
10016
+ "module": "src/data-grid/data-grid-cell.ts"
10069
10017
  }
10070
10018
  },
10071
10019
  {
10072
10020
  "kind": "field",
10073
- "name": "observer",
10021
+ "name": "columnDefinition",
10074
10022
  "type": {
10075
- "text": "MutationObserver"
10023
+ "text": "ColumnDefinition | null"
10076
10024
  },
10077
- "privacy": "private",
10025
+ "privacy": "public",
10026
+ "default": "null",
10027
+ "description": "The base data for the column",
10078
10028
  "inheritedFrom": {
10079
- "name": "DataGrid",
10080
- "module": "src/data-grid/data-grid.ts"
10029
+ "name": "DataGridCell",
10030
+ "module": "src/data-grid/data-grid-cell.ts"
10081
10031
  }
10082
10032
  },
10083
10033
  {
10084
- "kind": "field",
10085
- "name": "rowindexUpdateQueued",
10086
- "type": {
10087
- "text": "boolean"
10088
- },
10034
+ "kind": "method",
10035
+ "name": "columnDefinitionChanged",
10089
10036
  "privacy": "private",
10090
- "default": "false",
10037
+ "return": {
10038
+ "type": {
10039
+ "text": "void"
10040
+ }
10041
+ },
10042
+ "parameters": [
10043
+ {
10044
+ "name": "oldValue",
10045
+ "type": {
10046
+ "text": "ColumnDefinition | null"
10047
+ }
10048
+ },
10049
+ {
10050
+ "name": "newValue",
10051
+ "type": {
10052
+ "text": "ColumnDefinition | null"
10053
+ }
10054
+ }
10055
+ ],
10091
10056
  "inheritedFrom": {
10092
- "name": "DataGrid",
10093
- "module": "src/data-grid/data-grid.ts"
10057
+ "name": "DataGridCell",
10058
+ "module": "src/data-grid/data-grid-cell.ts"
10094
10059
  }
10095
10060
  },
10096
10061
  {
10097
10062
  "kind": "field",
10098
- "name": "columnDefinitionsStale",
10063
+ "name": "isActiveCell",
10099
10064
  "type": {
10100
10065
  "text": "boolean"
10101
10066
  },
10102
10067
  "privacy": "private",
10103
- "default": "true",
10068
+ "default": "false",
10104
10069
  "inheritedFrom": {
10105
- "name": "DataGrid",
10106
- "module": "src/data-grid/data-grid.ts"
10070
+ "name": "DataGridCell",
10071
+ "module": "src/data-grid/data-grid-cell.ts"
10107
10072
  }
10108
10073
  },
10109
10074
  {
10110
10075
  "kind": "field",
10111
- "name": "generatedGridTemplateColumns",
10076
+ "name": "customCellView",
10112
10077
  "type": {
10113
- "text": "string"
10078
+ "text": "HTMLView | null"
10114
10079
  },
10115
10080
  "privacy": "private",
10116
- "default": "\"\"",
10117
- "inheritedFrom": {
10118
- "name": "DataGrid",
10119
- "module": "src/data-grid/data-grid.ts"
10120
- }
10121
- },
10122
- {
10123
- "kind": "field",
10124
- "name": "focusOnCell",
10125
- "privacy": "private",
10081
+ "default": "null",
10126
10082
  "inheritedFrom": {
10127
- "name": "DataGrid",
10128
- "module": "src/data-grid/data-grid.ts"
10083
+ "name": "DataGridCell",
10084
+ "module": "src/data-grid/data-grid-cell.ts"
10129
10085
  }
10130
10086
  },
10131
10087
  {
10132
10088
  "kind": "method",
10133
- "name": "queueFocusUpdate",
10134
- "privacy": "private",
10089
+ "name": "handleFocusin",
10090
+ "privacy": "public",
10135
10091
  "return": {
10136
10092
  "type": {
10137
10093
  "text": "void"
10138
10094
  }
10139
10095
  },
10096
+ "parameters": [
10097
+ {
10098
+ "name": "e",
10099
+ "type": {
10100
+ "text": "FocusEvent"
10101
+ }
10102
+ }
10103
+ ],
10140
10104
  "inheritedFrom": {
10141
- "name": "DataGrid",
10142
- "module": "src/data-grid/data-grid.ts"
10105
+ "name": "DataGridCell",
10106
+ "module": "src/data-grid/data-grid-cell.ts"
10143
10107
  }
10144
10108
  },
10145
10109
  {
10146
10110
  "kind": "method",
10147
- "name": "updateFocus",
10148
- "privacy": "private",
10111
+ "name": "handleFocusout",
10112
+ "privacy": "public",
10149
10113
  "return": {
10150
10114
  "type": {
10151
10115
  "text": "void"
10152
10116
  }
10153
10117
  },
10118
+ "parameters": [
10119
+ {
10120
+ "name": "e",
10121
+ "type": {
10122
+ "text": "FocusEvent"
10123
+ }
10124
+ }
10125
+ ],
10154
10126
  "inheritedFrom": {
10155
- "name": "DataGrid",
10156
- "module": "src/data-grid/data-grid.ts"
10127
+ "name": "DataGridCell",
10128
+ "module": "src/data-grid/data-grid-cell.ts"
10157
10129
  }
10158
10130
  },
10159
10131
  {
10160
10132
  "kind": "method",
10161
- "name": "toggleGeneratedHeader",
10162
- "privacy": "private",
10133
+ "name": "handleKeydown",
10134
+ "privacy": "public",
10163
10135
  "return": {
10164
10136
  "type": {
10165
10137
  "text": "void"
10166
10138
  }
10167
10139
  },
10140
+ "parameters": [
10141
+ {
10142
+ "name": "e",
10143
+ "type": {
10144
+ "text": "KeyboardEvent"
10145
+ }
10146
+ }
10147
+ ],
10168
10148
  "inheritedFrom": {
10169
- "name": "DataGrid",
10170
- "module": "src/data-grid/data-grid.ts"
10149
+ "name": "DataGridCell",
10150
+ "module": "src/data-grid/data-grid-cell.ts"
10171
10151
  }
10172
10152
  },
10173
10153
  {
10174
- "kind": "field",
10175
- "name": "onChildListChange",
10154
+ "kind": "method",
10155
+ "name": "updateCellView",
10176
10156
  "privacy": "private",
10157
+ "return": {
10158
+ "type": {
10159
+ "text": "void"
10160
+ }
10161
+ },
10177
10162
  "inheritedFrom": {
10178
- "name": "DataGrid",
10179
- "module": "src/data-grid/data-grid.ts"
10163
+ "name": "DataGridCell",
10164
+ "module": "src/data-grid/data-grid-cell.ts"
10180
10165
  }
10181
10166
  },
10182
10167
  {
10183
- "kind": "field",
10184
- "name": "queueRowIndexUpdate",
10168
+ "kind": "method",
10169
+ "name": "disconnectCellView",
10185
10170
  "privacy": "private",
10171
+ "return": {
10172
+ "type": {
10173
+ "text": "void"
10174
+ }
10175
+ },
10186
10176
  "inheritedFrom": {
10187
- "name": "DataGrid",
10188
- "module": "src/data-grid/data-grid.ts"
10177
+ "name": "DataGridCell",
10178
+ "module": "src/data-grid/data-grid-cell.ts"
10189
10179
  }
10190
10180
  },
10191
10181
  {
10192
10182
  "kind": "field",
10193
- "name": "updateRowIndexes",
10183
+ "name": "updateCellStyle",
10194
10184
  "privacy": "private",
10195
10185
  "inheritedFrom": {
10196
- "name": "DataGrid",
10197
- "module": "src/data-grid/data-grid.ts"
10186
+ "name": "DataGridCell",
10187
+ "module": "src/data-grid/data-grid-cell.ts"
10198
10188
  }
10199
10189
  },
10200
10190
  {
@@ -10308,11 +10298,21 @@
10308
10298
  "module": "src/foundation-element/foundation-element.ts"
10309
10299
  }
10310
10300
  }
10301
+ ],
10302
+ "events": [
10303
+ {
10304
+ "description": "Fires a custom 'cell-focused' event when focus is on the cell or its contents",
10305
+ "name": "cell-focused",
10306
+ "inheritedFrom": {
10307
+ "name": "DataGridCell",
10308
+ "module": "src/data-grid/data-grid-cell.ts"
10309
+ }
10310
+ }
10311
10311
  ]
10312
10312
  },
10313
10313
  {
10314
10314
  "kind": "variable",
10315
- "name": "foundationDataGridShadowOptions",
10315
+ "name": "foundationDataGridCellShadowOptions",
10316
10316
  "type": {
10317
10317
  "text": "ShadowRootInit"
10318
10318
  },
@@ -10320,7 +10320,7 @@
10320
10320
  },
10321
10321
  {
10322
10322
  "kind": "variable",
10323
- "name": "defaultDataGridConfig",
10323
+ "name": "defaultDataGridCellConfig",
10324
10324
  "type": {
10325
10325
  "text": "object"
10326
10326
  },
@@ -10328,49 +10328,57 @@
10328
10328
  },
10329
10329
  {
10330
10330
  "kind": "variable",
10331
- "name": "foundationDataGrid",
10332
- "description": "The Foundation Data Grid Element.",
10331
+ "name": "foundationDataGridCell",
10332
+ "description": "The Foundation Data Grid Cell Element.",
10333
10333
  "privacy": "public"
10334
10334
  }
10335
10335
  ],
10336
10336
  "exports": [
10337
10337
  {
10338
10338
  "kind": "js",
10339
- "name": "DataGrid",
10339
+ "name": "foundationDataGridCellTemplate",
10340
10340
  "declaration": {
10341
- "name": "DataGrid",
10342
- "module": "src/data-grid/data-grid.ts"
10341
+ "name": "dataGridCellTemplate",
10342
+ "package": "@microsoft/fast-foundation"
10343
10343
  }
10344
10344
  },
10345
10345
  {
10346
10346
  "kind": "js",
10347
- "name": "foundationDataGridShadowOptions",
10347
+ "name": "DataGridCell",
10348
10348
  "declaration": {
10349
- "name": "foundationDataGridShadowOptions",
10350
- "module": "src/data-grid/data-grid.ts"
10349
+ "name": "DataGridCell",
10350
+ "module": "src/data-grid-cell/data-grid.cell.ts"
10351
10351
  }
10352
10352
  },
10353
10353
  {
10354
10354
  "kind": "js",
10355
- "name": "defaultDataGridConfig",
10355
+ "name": "foundationDataGridCellShadowOptions",
10356
10356
  "declaration": {
10357
- "name": "defaultDataGridConfig",
10358
- "module": "src/data-grid/data-grid.ts"
10357
+ "name": "foundationDataGridCellShadowOptions",
10358
+ "module": "src/data-grid-cell/data-grid.cell.ts"
10359
10359
  }
10360
10360
  },
10361
10361
  {
10362
10362
  "kind": "js",
10363
- "name": "foundationDataGrid",
10363
+ "name": "defaultDataGridCellConfig",
10364
10364
  "declaration": {
10365
- "name": "foundationDataGrid",
10366
- "module": "src/data-grid/data-grid.ts"
10365
+ "name": "defaultDataGridCellConfig",
10366
+ "module": "src/data-grid-cell/data-grid.cell.ts"
10367
+ }
10368
+ },
10369
+ {
10370
+ "kind": "js",
10371
+ "name": "foundationDataGridCell",
10372
+ "declaration": {
10373
+ "name": "foundationDataGridCell",
10374
+ "module": "src/data-grid-cell/data-grid.cell.ts"
10367
10375
  }
10368
10376
  }
10369
10377
  ]
10370
10378
  },
10371
10379
  {
10372
10380
  "kind": "javascript-module",
10373
- "path": "src/data-grid/index.ts",
10381
+ "path": "src/data-grid-cell/index.ts",
10374
10382
  "declarations": [],
10375
10383
  "exports": [
10376
10384
  {
@@ -10378,15 +10386,7 @@
10378
10386
  "name": "*",
10379
10387
  "declaration": {
10380
10388
  "name": "*",
10381
- "package": "./data-grid.template"
10382
- }
10383
- },
10384
- {
10385
- "kind": "js",
10386
- "name": "*",
10387
- "declaration": {
10388
- "name": "*",
10389
- "package": "./data-grid.styles"
10389
+ "package": "./data-grid.cell"
10390
10390
  }
10391
10391
  },
10392
10392
  {
@@ -10394,7 +10394,7 @@
10394
10394
  "name": "*",
10395
10395
  "declaration": {
10396
10396
  "name": "*",
10397
- "package": "./data-grid"
10397
+ "package": "./data-grid-cell.styles"
10398
10398
  }
10399
10399
  }
10400
10400
  ]