@genesislcap/foundation-zero 14.332.0 → 14.332.1-alpha-bc28201.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 +601 -601
  2. package/package.json +12 -12
@@ -21010,7 +21010,7 @@
21010
21010
  },
21011
21011
  {
21012
21012
  "kind": "javascript-module",
21013
- "path": "src/menu-item/index.ts",
21013
+ "path": "src/modal/index.ts",
21014
21014
  "declarations": [],
21015
21015
  "exports": [
21016
21016
  {
@@ -21018,7 +21018,7 @@
21018
21018
  "name": "*",
21019
21019
  "declaration": {
21020
21020
  "name": "*",
21021
- "package": "./menu-item"
21021
+ "package": "./modal"
21022
21022
  }
21023
21023
  },
21024
21024
  {
@@ -21026,678 +21026,526 @@
21026
21026
  "name": "*",
21027
21027
  "declaration": {
21028
21028
  "name": "*",
21029
- "package": "./menu-item.styles"
21029
+ "package": "./modal.styles"
21030
+ }
21031
+ },
21032
+ {
21033
+ "kind": "js",
21034
+ "name": "zeroModalTemplate",
21035
+ "declaration": {
21036
+ "name": "foundationModalTemplate",
21037
+ "package": "@genesislcap/foundation-ui"
21030
21038
  }
21031
21039
  }
21032
21040
  ]
21033
21041
  },
21034
21042
  {
21035
21043
  "kind": "javascript-module",
21036
- "path": "src/menu-item/menu-item.styles.ts",
21044
+ "path": "src/modal/modal.styles.ts",
21037
21045
  "declarations": [
21038
21046
  {
21039
- "kind": "function",
21040
- "name": "zeroMenuItemStyles",
21041
- "return": {
21042
- "type": {
21043
- "text": "ElementStyles"
21044
- }
21045
- },
21046
- "parameters": [
21047
- {
21048
- "name": "context",
21049
- "type": {
21050
- "text": "ElementDefinitionContext"
21051
- }
21052
- },
21053
- {
21054
- "name": "definition",
21055
- "type": {
21056
- "text": "MenuItemOptions"
21057
- }
21058
- }
21059
- ]
21047
+ "kind": "variable",
21048
+ "name": "zeroModalStyles",
21049
+ "default": "css`\n ${zeroDialogStyles}\n\n :host([draggable])::part(top) {\n cursor: move;\n }\n`"
21060
21050
  }
21061
21051
  ],
21062
21052
  "exports": [
21063
21053
  {
21064
21054
  "kind": "js",
21065
- "name": "zeroMenuItemStyles",
21055
+ "name": "zeroModalStyles",
21066
21056
  "declaration": {
21067
- "name": "zeroMenuItemStyles",
21068
- "module": "src/menu-item/menu-item.styles.ts"
21057
+ "name": "zeroModalStyles",
21058
+ "module": "src/modal/modal.styles.ts"
21069
21059
  }
21070
21060
  }
21071
21061
  ]
21072
21062
  },
21073
21063
  {
21074
21064
  "kind": "javascript-module",
21075
- "path": "src/menu-item/menu-item.ts",
21065
+ "path": "src/modal/modal.ts",
21076
21066
  "declarations": [
21077
21067
  {
21078
21068
  "kind": "variable",
21079
- "name": "zeroMenuItemShadowOptions",
21080
- "default": "foundationMenuItemShadowOptions"
21069
+ "name": "defaultModalConfig",
21070
+ "default": "foundationConfig"
21071
+ },
21072
+ {
21073
+ "kind": "variable",
21074
+ "name": "zeroModalTemplate",
21075
+ "default": "foundationModalTemplate"
21076
+ },
21077
+ {
21078
+ "kind": "variable",
21079
+ "name": "zeroModalShadowOptions",
21080
+ "default": "foundationModalShadowOptions"
21081
21081
  },
21082
21082
  {
21083
21083
  "kind": "class",
21084
21084
  "description": "",
21085
- "name": "MenuItem",
21085
+ "name": "Modal",
21086
21086
  "superclass": {
21087
- "name": "FoundationMenuItem",
21087
+ "name": "FoundationModal",
21088
21088
  "package": "@genesislcap/foundation-ui"
21089
21089
  },
21090
- "tagName": "%%prefix%%-menu-item",
21090
+ "tagName": "%%prefix%%-modal",
21091
21091
  "customElement": true,
21092
21092
  "attributes": [
21093
21093
  {
21094
21094
  "type": {
21095
21095
  "text": "boolean"
21096
21096
  },
21097
- "description": "The disabled state of the element.",
21098
- "fieldName": "disabled",
21097
+ "default": "false",
21098
+ "fieldName": "draggable",
21099
21099
  "inheritedFrom": {
21100
- "name": "MenuItem",
21101
- "module": "src/menu-item/menu-item.ts"
21100
+ "name": "Modal",
21101
+ "module": "src/modal/modal.ts"
21102
21102
  }
21103
21103
  },
21104
21104
  {
21105
- "name": "role",
21105
+ "name": "type",
21106
21106
  "type": {
21107
- "text": "MenuItemRole"
21107
+ "text": "DialogType"
21108
21108
  },
21109
- "description": "The role of the element.",
21110
- "fieldName": "role",
21109
+ "default": "'default'",
21110
+ "fieldName": "type",
21111
21111
  "inheritedFrom": {
21112
- "name": "MenuItem",
21113
- "module": "src/menu-item/menu-item.ts"
21112
+ "name": "DialogElement",
21113
+ "module": "src/dialog/dialog.ts"
21114
21114
  }
21115
- }
21116
- ],
21117
- "members": [
21115
+ },
21118
21116
  {
21119
- "kind": "field",
21120
- "name": "disabled",
21117
+ "name": "position",
21121
21118
  "type": {
21122
- "text": "boolean"
21119
+ "text": "DialogPosition"
21123
21120
  },
21124
- "privacy": "public",
21125
- "description": "The disabled state of the element.",
21121
+ "default": "'center'",
21122
+ "fieldName": "position",
21126
21123
  "inheritedFrom": {
21127
- "name": "MenuItem",
21128
- "module": "src/menu-item/menu-item.ts"
21124
+ "name": "DialogElement",
21125
+ "module": "src/dialog/dialog.ts"
21129
21126
  }
21130
21127
  },
21131
21128
  {
21132
- "kind": "field",
21133
- "name": "expanded",
21129
+ "name": "show-close-icon",
21134
21130
  "type": {
21135
21131
  "text": "boolean"
21136
21132
  },
21137
- "privacy": "public",
21138
- "description": "The expanded state of the element.",
21133
+ "default": "true",
21134
+ "description": "Whether or not to show the close icon",
21135
+ "fieldName": "showCloseIcon",
21139
21136
  "inheritedFrom": {
21140
- "name": "MenuItem",
21141
- "module": "src/menu-item/menu-item.ts"
21137
+ "name": "DialogElement",
21138
+ "module": "src/dialog/dialog.ts"
21142
21139
  }
21143
- },
21140
+ }
21141
+ ],
21142
+ "members": [
21144
21143
  {
21145
- "kind": "method",
21146
- "name": "expandedChanged",
21147
- "privacy": "private",
21148
- "return": {
21149
- "type": {
21150
- "text": "void"
21151
- }
21144
+ "kind": "field",
21145
+ "name": "isDragging",
21146
+ "type": {
21147
+ "text": "boolean"
21152
21148
  },
21153
- "parameters": [
21154
- {
21155
- "name": "oldValue",
21156
- "type": {
21157
- "text": "boolean"
21158
- }
21159
- }
21160
- ],
21149
+ "privacy": "private",
21150
+ "default": "false",
21161
21151
  "inheritedFrom": {
21162
- "name": "MenuItem",
21163
- "module": "src/menu-item/menu-item.ts"
21152
+ "name": "Modal",
21153
+ "module": "src/modal/modal.ts"
21164
21154
  }
21165
21155
  },
21166
21156
  {
21167
21157
  "kind": "field",
21168
- "name": "role",
21158
+ "name": "offsetX",
21169
21159
  "type": {
21170
- "text": "MenuItemRole"
21160
+ "text": "number"
21171
21161
  },
21172
- "privacy": "public",
21173
- "description": "The role of the element.",
21162
+ "privacy": "private",
21163
+ "default": "0",
21174
21164
  "inheritedFrom": {
21175
- "name": "MenuItem",
21176
- "module": "src/menu-item/menu-item.ts"
21165
+ "name": "Modal",
21166
+ "module": "src/modal/modal.ts"
21177
21167
  }
21178
21168
  },
21179
21169
  {
21180
21170
  "kind": "field",
21181
- "name": "checked",
21171
+ "name": "offsetY",
21182
21172
  "type": {
21183
- "text": "boolean"
21173
+ "text": "number"
21184
21174
  },
21185
- "privacy": "public",
21186
- "description": "The checked value of the element.",
21187
- "inheritedFrom": {
21188
- "name": "MenuItem",
21189
- "module": "src/menu-item/menu-item.ts"
21190
- }
21191
- },
21192
- {
21193
- "kind": "method",
21194
- "name": "checkedChanged",
21195
21175
  "privacy": "private",
21196
- "return": {
21197
- "type": {
21198
- "text": "void"
21199
- }
21200
- },
21201
- "parameters": [
21202
- {
21203
- "name": "oldValue",
21204
- "type": {
21205
- "text": "boolean"
21206
- }
21207
- },
21208
- {
21209
- "name": "newValue",
21210
- "type": {
21211
- "text": "boolean"
21212
- }
21213
- }
21214
- ],
21176
+ "default": "0",
21215
21177
  "inheritedFrom": {
21216
- "name": "MenuItem",
21217
- "module": "src/menu-item/menu-item.ts"
21178
+ "name": "Modal",
21179
+ "module": "src/modal/modal.ts"
21218
21180
  }
21219
21181
  },
21220
21182
  {
21221
21183
  "kind": "field",
21222
- "name": "focusSubmenuOnLoad",
21184
+ "name": "modalWidth",
21223
21185
  "type": {
21224
- "text": "boolean"
21186
+ "text": "number"
21225
21187
  },
21226
21188
  "privacy": "private",
21227
- "default": "false",
21189
+ "default": "0",
21228
21190
  "inheritedFrom": {
21229
- "name": "MenuItem",
21230
- "module": "src/menu-item/menu-item.ts"
21191
+ "name": "Modal",
21192
+ "module": "src/modal/modal.ts"
21231
21193
  }
21232
21194
  },
21233
21195
  {
21234
21196
  "kind": "field",
21235
- "name": "observer",
21197
+ "name": "modalHeight",
21236
21198
  "type": {
21237
- "text": "MutationObserver | undefined"
21199
+ "text": "number"
21238
21200
  },
21239
21201
  "privacy": "private",
21202
+ "default": "0",
21240
21203
  "inheritedFrom": {
21241
- "name": "MenuItem",
21242
- "module": "src/menu-item/menu-item.ts"
21204
+ "name": "Modal",
21205
+ "module": "src/modal/modal.ts"
21243
21206
  }
21244
21207
  },
21245
21208
  {
21246
- "kind": "method",
21247
- "name": "domChildren",
21248
- "privacy": "private",
21249
- "return": {
21250
- "type": {
21251
- "text": "Element[]"
21252
- }
21209
+ "kind": "field",
21210
+ "name": "onMouseDownBound",
21211
+ "type": {
21212
+ "text": "((event: MouseEvent) => void) | null"
21253
21213
  },
21254
- "description": "get an array of valid DOM children",
21214
+ "privacy": "private",
21215
+ "default": "null",
21255
21216
  "inheritedFrom": {
21256
- "name": "MenuItem",
21257
- "module": "src/menu-item/menu-item.ts"
21217
+ "name": "Modal",
21218
+ "module": "src/modal/modal.ts"
21258
21219
  }
21259
21220
  },
21260
21221
  {
21261
21222
  "kind": "field",
21262
- "name": "_presentation",
21223
+ "name": "onMouseMoveBound",
21263
21224
  "type": {
21264
- "text": "ComponentPresentation | null | undefined"
21225
+ "text": "((event: MouseEvent) => void) | null"
21265
21226
  },
21266
21227
  "privacy": "private",
21267
- "default": "void 0",
21228
+ "default": "null",
21268
21229
  "inheritedFrom": {
21269
- "name": "MenuItem",
21270
- "module": "src/menu-item/menu-item.ts"
21230
+ "name": "Modal",
21231
+ "module": "src/modal/modal.ts"
21271
21232
  }
21272
21233
  },
21273
21234
  {
21274
21235
  "kind": "field",
21275
- "name": "$presentation",
21236
+ "name": "onMouseUpBound",
21276
21237
  "type": {
21277
- "text": "ComponentPresentation | null"
21238
+ "text": "(() => void) | null"
21278
21239
  },
21279
- "privacy": "public",
21280
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
21240
+ "privacy": "private",
21241
+ "default": "null",
21281
21242
  "inheritedFrom": {
21282
- "name": "MenuItem",
21283
- "module": "src/menu-item/menu-item.ts"
21243
+ "name": "Modal",
21244
+ "module": "src/modal/modal.ts"
21284
21245
  }
21285
21246
  },
21286
21247
  {
21287
21248
  "kind": "field",
21288
- "name": "template",
21249
+ "name": "draggable",
21289
21250
  "type": {
21290
- "text": "ElementViewTemplate | void | null"
21251
+ "text": "boolean"
21291
21252
  },
21292
- "privacy": "public",
21293
- "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.",
21253
+ "default": "false",
21294
21254
  "inheritedFrom": {
21295
- "name": "MenuItem",
21296
- "module": "src/menu-item/menu-item.ts"
21255
+ "name": "Modal",
21256
+ "module": "src/modal/modal.ts"
21297
21257
  }
21298
21258
  },
21299
21259
  {
21300
21260
  "kind": "method",
21301
- "name": "templateChanged",
21302
- "privacy": "protected",
21261
+ "name": "draggableChanged",
21262
+ "parameters": [
21263
+ {
21264
+ "name": "ignore"
21265
+ },
21266
+ {
21267
+ "name": "newValue",
21268
+ "type": {
21269
+ "text": "boolean"
21270
+ }
21271
+ }
21272
+ ],
21273
+ "inheritedFrom": {
21274
+ "name": "Modal",
21275
+ "module": "src/modal/modal.ts"
21276
+ }
21277
+ },
21278
+ {
21279
+ "kind": "method",
21280
+ "name": "show",
21303
21281
  "return": {
21304
21282
  "type": {
21305
21283
  "text": "void"
21306
21284
  }
21307
21285
  },
21286
+ "description": "Show the HTMLDialogElement and its contents",
21308
21287
  "inheritedFrom": {
21309
- "name": "MenuItem",
21310
- "module": "src/menu-item/menu-item.ts"
21288
+ "name": "DialogElement",
21289
+ "module": "src/dialog/dialog.ts"
21311
21290
  }
21312
21291
  },
21313
21292
  {
21314
21293
  "kind": "field",
21315
- "name": "styles",
21294
+ "name": "onCloseCallback",
21316
21295
  "type": {
21317
- "text": "ElementStyles | void | null"
21296
+ "text": "() => void"
21318
21297
  },
21319
- "privacy": "public",
21320
- "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.",
21298
+ "description": "Callback to run *after* HTMLDialogElement is closed",
21321
21299
  "inheritedFrom": {
21322
- "name": "MenuItem",
21323
- "module": "src/menu-item/menu-item.ts"
21300
+ "name": "DialogElement",
21301
+ "module": "src/dialog/dialog.ts"
21324
21302
  }
21325
21303
  },
21326
21304
  {
21327
21305
  "kind": "method",
21328
- "name": "stylesChanged",
21329
- "privacy": "protected",
21306
+ "name": "isEventTargetInDraggableTarget",
21307
+ "privacy": "private",
21330
21308
  "return": {
21331
21309
  "type": {
21332
- "text": "void"
21310
+ "text": "boolean"
21333
21311
  }
21334
21312
  },
21313
+ "parameters": [
21314
+ {
21315
+ "name": "event",
21316
+ "type": {
21317
+ "text": "MouseEvent"
21318
+ }
21319
+ }
21320
+ ],
21335
21321
  "inheritedFrom": {
21336
- "name": "MenuItem",
21337
- "module": "src/menu-item/menu-item.ts"
21322
+ "name": "Modal",
21323
+ "module": "src/modal/modal.ts"
21338
21324
  }
21339
21325
  },
21340
21326
  {
21341
21327
  "kind": "method",
21342
- "name": "compose",
21343
- "privacy": "public",
21344
- "static": true,
21328
+ "name": "isInsideTopSlot",
21329
+ "privacy": "private",
21345
21330
  "return": {
21346
21331
  "type": {
21347
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
21332
+ "text": "boolean"
21348
21333
  }
21349
21334
  },
21350
21335
  "parameters": [
21351
21336
  {
21352
- "name": "this",
21337
+ "name": "target",
21353
21338
  "type": {
21354
- "text": "K"
21339
+ "text": "Node"
21355
21340
  }
21356
- },
21357
- {
21358
- "name": "elementDefinition",
21359
- "type": {
21360
- "text": "T"
21361
- },
21362
- "description": "The definition of the element to create the registry\nfunction for."
21363
21341
  }
21364
21342
  ],
21365
- "description": "Defines an element registry function with a set of element definition defaults.",
21366
21343
  "inheritedFrom": {
21367
- "name": "MenuItem",
21368
- "module": "src/menu-item/menu-item.ts"
21344
+ "name": "Modal",
21345
+ "module": "src/modal/modal.ts"
21369
21346
  }
21370
- }
21371
- ],
21372
- "events": [
21347
+ },
21373
21348
  {
21374
- "description": "Fires a custom 'expanded-change' event when the expanded state changes",
21375
- "name": "expanded-change",
21349
+ "kind": "method",
21350
+ "name": "onMouseDown",
21351
+ "privacy": "private",
21352
+ "parameters": [
21353
+ {
21354
+ "name": "event",
21355
+ "type": {
21356
+ "text": "MouseEvent"
21357
+ }
21358
+ }
21359
+ ],
21376
21360
  "inheritedFrom": {
21377
- "name": "MenuItem",
21378
- "module": "src/menu-item/menu-item.ts"
21361
+ "name": "Modal",
21362
+ "module": "src/modal/modal.ts"
21379
21363
  }
21380
21364
  },
21381
21365
  {
21382
- "description": "Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked",
21383
- "name": "change",
21366
+ "kind": "method",
21367
+ "name": "onMouseMove",
21368
+ "privacy": "private",
21369
+ "parameters": [
21370
+ {
21371
+ "name": "event",
21372
+ "type": {
21373
+ "text": "MouseEvent"
21374
+ }
21375
+ }
21376
+ ],
21384
21377
  "inheritedFrom": {
21385
- "name": "MenuItem",
21386
- "module": "src/menu-item/menu-item.ts"
21378
+ "name": "Modal",
21379
+ "module": "src/modal/modal.ts"
21387
21380
  }
21388
- }
21389
- ]
21390
- },
21391
- {
21392
- "kind": "variable",
21393
- "name": "zeroMenuItem",
21394
- "description": "The Zero Menu Item",
21395
- "privacy": "public"
21396
- }
21397
- ],
21398
- "exports": [
21399
- {
21400
- "kind": "js",
21401
- "name": "zeroMenuItemShadowOptions",
21402
- "declaration": {
21403
- "name": "zeroMenuItemShadowOptions",
21404
- "module": "src/menu-item/menu-item.ts"
21405
- }
21406
- },
21407
- {
21408
- "kind": "js",
21409
- "name": "MenuItem",
21410
- "declaration": {
21411
- "name": "MenuItem",
21412
- "module": "src/menu-item/menu-item.ts"
21413
- }
21414
- },
21415
- {
21416
- "kind": "js",
21417
- "name": "zeroMenuItem",
21418
- "declaration": {
21419
- "name": "zeroMenuItem",
21420
- "module": "src/menu-item/menu-item.ts"
21421
- }
21422
- }
21423
- ]
21424
- },
21425
- {
21426
- "kind": "javascript-module",
21427
- "path": "src/modal/index.ts",
21428
- "declarations": [],
21429
- "exports": [
21430
- {
21431
- "kind": "js",
21432
- "name": "*",
21433
- "declaration": {
21434
- "name": "*",
21435
- "package": "./modal"
21436
- }
21437
- },
21438
- {
21439
- "kind": "js",
21440
- "name": "*",
21441
- "declaration": {
21442
- "name": "*",
21443
- "package": "./modal.styles"
21444
- }
21445
- },
21446
- {
21447
- "kind": "js",
21448
- "name": "zeroModalTemplate",
21449
- "declaration": {
21450
- "name": "foundationModalTemplate",
21451
- "package": "@genesislcap/foundation-ui"
21452
- }
21453
- }
21454
- ]
21455
- },
21456
- {
21457
- "kind": "javascript-module",
21458
- "path": "src/modal/modal.styles.ts",
21459
- "declarations": [
21460
- {
21461
- "kind": "variable",
21462
- "name": "zeroModalStyles",
21463
- "default": "css`\n ${zeroDialogStyles}\n\n :host([draggable])::part(top) {\n cursor: move;\n }\n`"
21464
- }
21465
- ],
21466
- "exports": [
21467
- {
21468
- "kind": "js",
21469
- "name": "zeroModalStyles",
21470
- "declaration": {
21471
- "name": "zeroModalStyles",
21472
- "module": "src/modal/modal.styles.ts"
21473
- }
21474
- }
21475
- ]
21476
- },
21477
- {
21478
- "kind": "javascript-module",
21479
- "path": "src/modal/modal.ts",
21480
- "declarations": [
21481
- {
21482
- "kind": "variable",
21483
- "name": "defaultModalConfig",
21484
- "default": "foundationConfig"
21485
- },
21486
- {
21487
- "kind": "variable",
21488
- "name": "zeroModalTemplate",
21489
- "default": "foundationModalTemplate"
21490
- },
21491
- {
21492
- "kind": "variable",
21493
- "name": "zeroModalShadowOptions",
21494
- "default": "foundationModalShadowOptions"
21495
- },
21496
- {
21497
- "kind": "class",
21498
- "description": "",
21499
- "name": "Modal",
21500
- "superclass": {
21501
- "name": "FoundationModal",
21502
- "package": "@genesislcap/foundation-ui"
21503
- },
21504
- "tagName": "%%prefix%%-modal",
21505
- "customElement": true,
21506
- "attributes": [
21381
+ },
21507
21382
  {
21508
- "type": {
21509
- "text": "boolean"
21510
- },
21511
- "default": "false",
21512
- "fieldName": "draggable",
21383
+ "kind": "method",
21384
+ "name": "onMouseUp",
21385
+ "privacy": "private",
21513
21386
  "inheritedFrom": {
21514
21387
  "name": "Modal",
21515
21388
  "module": "src/modal/modal.ts"
21516
21389
  }
21517
21390
  },
21518
21391
  {
21519
- "name": "type",
21520
- "type": {
21521
- "text": "DialogType"
21522
- },
21523
- "default": "'default'",
21524
- "fieldName": "type",
21392
+ "kind": "method",
21393
+ "name": "removeDraggableEventListeners",
21394
+ "privacy": "private",
21525
21395
  "inheritedFrom": {
21526
- "name": "DialogElement",
21527
- "module": "src/dialog/dialog.ts"
21396
+ "name": "Modal",
21397
+ "module": "src/modal/modal.ts"
21528
21398
  }
21529
21399
  },
21530
21400
  {
21531
- "name": "position",
21401
+ "kind": "field",
21402
+ "name": "mainElement",
21532
21403
  "type": {
21533
- "text": "DialogPosition"
21404
+ "text": "HTMLDialogElement"
21534
21405
  },
21535
- "default": "'center'",
21536
- "fieldName": "position",
21406
+ "description": "A reference to the dialog element\nin the component Shadow DOM.",
21537
21407
  "inheritedFrom": {
21538
21408
  "name": "DialogElement",
21539
21409
  "module": "src/dialog/dialog.ts"
21540
21410
  }
21541
21411
  },
21542
21412
  {
21543
- "name": "show-close-icon",
21413
+ "kind": "field",
21414
+ "name": "topElement",
21544
21415
  "type": {
21545
- "text": "boolean"
21416
+ "text": "HTMLElement"
21546
21417
  },
21547
- "default": "true",
21548
- "description": "Whether or not to show the close icon",
21549
- "fieldName": "showCloseIcon",
21550
21418
  "inheritedFrom": {
21551
21419
  "name": "DialogElement",
21552
21420
  "module": "src/dialog/dialog.ts"
21553
21421
  }
21554
- }
21555
- ],
21556
- "members": [
21422
+ },
21557
21423
  {
21558
21424
  "kind": "field",
21559
- "name": "isDragging",
21425
+ "name": "topElementSlot",
21560
21426
  "type": {
21561
- "text": "boolean"
21427
+ "text": "HTMLSlotElement"
21562
21428
  },
21563
- "privacy": "private",
21564
- "default": "false",
21565
21429
  "inheritedFrom": {
21566
- "name": "Modal",
21567
- "module": "src/modal/modal.ts"
21430
+ "name": "DialogElement",
21431
+ "module": "src/dialog/dialog.ts"
21568
21432
  }
21569
21433
  },
21570
21434
  {
21571
21435
  "kind": "field",
21572
- "name": "offsetX",
21436
+ "name": "notification",
21573
21437
  "type": {
21574
- "text": "number"
21438
+ "text": "NotificationStructure"
21575
21439
  },
21576
- "privacy": "private",
21577
- "default": "0",
21578
21440
  "inheritedFrom": {
21579
- "name": "Modal",
21580
- "module": "src/modal/modal.ts"
21441
+ "name": "DialogElement",
21442
+ "module": "src/dialog/dialog.ts"
21581
21443
  }
21582
21444
  },
21583
21445
  {
21584
- "kind": "field",
21585
- "name": "offsetY",
21586
- "type": {
21587
- "text": "number"
21588
- },
21589
- "privacy": "private",
21590
- "default": "0",
21446
+ "kind": "method",
21447
+ "name": "notificationChanged",
21591
21448
  "inheritedFrom": {
21592
- "name": "Modal",
21593
- "module": "src/modal/modal.ts"
21449
+ "name": "DialogElement",
21450
+ "module": "src/dialog/dialog.ts"
21594
21451
  }
21595
21452
  },
21596
21453
  {
21597
21454
  "kind": "field",
21598
- "name": "modalWidth",
21455
+ "name": "type",
21599
21456
  "type": {
21600
- "text": "number"
21457
+ "text": "DialogType"
21601
21458
  },
21602
- "privacy": "private",
21603
- "default": "0",
21459
+ "default": "'default'",
21604
21460
  "inheritedFrom": {
21605
- "name": "Modal",
21606
- "module": "src/modal/modal.ts"
21461
+ "name": "DialogElement",
21462
+ "module": "src/dialog/dialog.ts"
21607
21463
  }
21608
21464
  },
21609
21465
  {
21610
21466
  "kind": "field",
21611
- "name": "modalHeight",
21467
+ "name": "position",
21612
21468
  "type": {
21613
- "text": "number"
21469
+ "text": "DialogPosition"
21614
21470
  },
21615
- "privacy": "private",
21616
- "default": "0",
21471
+ "default": "'center'",
21617
21472
  "inheritedFrom": {
21618
- "name": "Modal",
21619
- "module": "src/modal/modal.ts"
21473
+ "name": "DialogElement",
21474
+ "module": "src/dialog/dialog.ts"
21620
21475
  }
21621
21476
  },
21622
21477
  {
21623
21478
  "kind": "field",
21624
- "name": "onMouseDownBound",
21479
+ "name": "showCloseIcon",
21625
21480
  "type": {
21626
- "text": "((event: MouseEvent) => void) | null"
21481
+ "text": "boolean"
21627
21482
  },
21628
- "privacy": "private",
21629
- "default": "null",
21483
+ "default": "true",
21484
+ "description": "Whether or not to show the close icon",
21630
21485
  "inheritedFrom": {
21631
- "name": "Modal",
21632
- "module": "src/modal/modal.ts"
21486
+ "name": "DialogElement",
21487
+ "module": "src/dialog/dialog.ts"
21633
21488
  }
21634
21489
  },
21635
21490
  {
21636
21491
  "kind": "field",
21637
- "name": "onMouseMoveBound",
21492
+ "name": "onShowCallback",
21638
21493
  "type": {
21639
- "text": "((event: MouseEvent) => void) | null"
21494
+ "text": "() => void"
21640
21495
  },
21641
- "privacy": "private",
21642
- "default": "null",
21496
+ "description": "Callback to run *before* HTMLDialogElement is shown",
21643
21497
  "inheritedFrom": {
21644
- "name": "Modal",
21645
- "module": "src/modal/modal.ts"
21498
+ "name": "DialogElement",
21499
+ "module": "src/dialog/dialog.ts"
21646
21500
  }
21647
21501
  },
21648
21502
  {
21649
21503
  "kind": "field",
21650
- "name": "onMouseUpBound",
21504
+ "name": "open",
21651
21505
  "type": {
21652
- "text": "(() => void) | null"
21506
+ "text": "boolean"
21653
21507
  },
21654
- "privacy": "private",
21655
- "default": "null",
21508
+ "description": "Determine if the dialog is showing or closed.",
21509
+ "readonly": true,
21656
21510
  "inheritedFrom": {
21657
- "name": "Modal",
21658
- "module": "src/modal/modal.ts"
21511
+ "name": "DialogElement",
21512
+ "module": "src/dialog/dialog.ts"
21659
21513
  }
21660
21514
  },
21661
21515
  {
21662
- "kind": "field",
21663
- "name": "draggable",
21664
- "type": {
21665
- "text": "boolean"
21516
+ "kind": "method",
21517
+ "name": "close",
21518
+ "return": {
21519
+ "type": {
21520
+ "text": "void"
21521
+ }
21666
21522
  },
21667
- "default": "false",
21523
+ "description": "Remove the HTMLDialogElement from display",
21668
21524
  "inheritedFrom": {
21669
- "name": "Modal",
21670
- "module": "src/modal/modal.ts"
21525
+ "name": "DialogElement",
21526
+ "module": "src/dialog/dialog.ts"
21671
21527
  }
21672
21528
  },
21673
21529
  {
21674
21530
  "kind": "method",
21675
- "name": "draggableChanged",
21676
- "parameters": [
21677
- {
21678
- "name": "ignore"
21679
- },
21680
- {
21681
- "name": "newValue",
21682
- "type": {
21683
- "text": "boolean"
21684
- }
21685
- }
21686
- ],
21531
+ "name": "dismiss",
21532
+ "privacy": "public",
21533
+ "description": "Dismiss the Dialog from display and calls the dismissing action.",
21687
21534
  "inheritedFrom": {
21688
- "name": "Modal",
21689
- "module": "src/modal/modal.ts"
21535
+ "name": "DialogElement",
21536
+ "module": "src/dialog/dialog.ts"
21690
21537
  }
21691
21538
  },
21692
21539
  {
21693
21540
  "kind": "method",
21694
- "name": "show",
21541
+ "name": "closeDialog",
21542
+ "privacy": "public",
21695
21543
  "return": {
21696
21544
  "type": {
21697
21545
  "text": "void"
21698
21546
  }
21699
21547
  },
21700
- "description": "Show the HTMLDialogElement and its contents",
21548
+ "description": "Dismiss the Dialog from display.",
21701
21549
  "inheritedFrom": {
21702
21550
  "name": "DialogElement",
21703
21551
  "module": "src/dialog/dialog.ts"
@@ -21705,264 +21553,414 @@
21705
21553
  },
21706
21554
  {
21707
21555
  "kind": "field",
21708
- "name": "onCloseCallback",
21556
+ "name": "_presentation",
21709
21557
  "type": {
21710
- "text": "() => void"
21558
+ "text": "ComponentPresentation | null | undefined"
21711
21559
  },
21712
- "description": "Callback to run *after* HTMLDialogElement is closed",
21560
+ "privacy": "private",
21561
+ "default": "void 0",
21713
21562
  "inheritedFrom": {
21714
- "name": "DialogElement",
21715
- "module": "src/dialog/dialog.ts"
21563
+ "name": "FoundationElement",
21564
+ "module": "src/foundation-element/foundation-element.ts"
21716
21565
  }
21717
21566
  },
21718
21567
  {
21719
- "kind": "method",
21720
- "name": "isEventTargetInDraggableTarget",
21721
- "privacy": "private",
21722
- "return": {
21723
- "type": {
21724
- "text": "boolean"
21725
- }
21568
+ "kind": "field",
21569
+ "name": "$presentation",
21570
+ "type": {
21571
+ "text": "ComponentPresentation | null"
21726
21572
  },
21727
- "parameters": [
21728
- {
21729
- "name": "event",
21730
- "type": {
21731
- "text": "MouseEvent"
21732
- }
21733
- }
21734
- ],
21573
+ "privacy": "public",
21574
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
21735
21575
  "inheritedFrom": {
21736
- "name": "Modal",
21737
- "module": "src/modal/modal.ts"
21576
+ "name": "FoundationElement",
21577
+ "module": "src/foundation-element/foundation-element.ts"
21578
+ }
21579
+ },
21580
+ {
21581
+ "kind": "field",
21582
+ "name": "template",
21583
+ "type": {
21584
+ "text": "ElementViewTemplate | void | null"
21585
+ },
21586
+ "privacy": "public",
21587
+ "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.",
21588
+ "inheritedFrom": {
21589
+ "name": "FoundationElement",
21590
+ "module": "src/foundation-element/foundation-element.ts"
21738
21591
  }
21739
21592
  },
21740
21593
  {
21741
21594
  "kind": "method",
21742
- "name": "isInsideTopSlot",
21743
- "privacy": "private",
21595
+ "name": "templateChanged",
21596
+ "privacy": "protected",
21744
21597
  "return": {
21745
21598
  "type": {
21746
- "text": "boolean"
21599
+ "text": "void"
21747
21600
  }
21748
21601
  },
21749
- "parameters": [
21750
- {
21751
- "name": "target",
21752
- "type": {
21753
- "text": "Node"
21754
- }
21755
- }
21756
- ],
21757
21602
  "inheritedFrom": {
21758
- "name": "Modal",
21759
- "module": "src/modal/modal.ts"
21603
+ "name": "FoundationElement",
21604
+ "module": "src/foundation-element/foundation-element.ts"
21605
+ }
21606
+ },
21607
+ {
21608
+ "kind": "field",
21609
+ "name": "styles",
21610
+ "type": {
21611
+ "text": "ElementStyles | void | null"
21612
+ },
21613
+ "privacy": "public",
21614
+ "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.",
21615
+ "inheritedFrom": {
21616
+ "name": "FoundationElement",
21617
+ "module": "src/foundation-element/foundation-element.ts"
21760
21618
  }
21761
21619
  },
21762
21620
  {
21763
21621
  "kind": "method",
21764
- "name": "onMouseDown",
21765
- "privacy": "private",
21766
- "parameters": [
21767
- {
21768
- "name": "event",
21769
- "type": {
21770
- "text": "MouseEvent"
21771
- }
21622
+ "name": "stylesChanged",
21623
+ "privacy": "protected",
21624
+ "return": {
21625
+ "type": {
21626
+ "text": "void"
21772
21627
  }
21773
- ],
21628
+ },
21774
21629
  "inheritedFrom": {
21775
- "name": "Modal",
21776
- "module": "src/modal/modal.ts"
21630
+ "name": "FoundationElement",
21631
+ "module": "src/foundation-element/foundation-element.ts"
21777
21632
  }
21778
21633
  },
21779
21634
  {
21780
21635
  "kind": "method",
21781
- "name": "onMouseMove",
21782
- "privacy": "private",
21636
+ "name": "compose",
21637
+ "privacy": "public",
21638
+ "static": true,
21639
+ "return": {
21640
+ "type": {
21641
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
21642
+ }
21643
+ },
21783
21644
  "parameters": [
21784
21645
  {
21785
- "name": "event",
21646
+ "name": "this",
21786
21647
  "type": {
21787
- "text": "MouseEvent"
21648
+ "text": "K"
21788
21649
  }
21650
+ },
21651
+ {
21652
+ "name": "elementDefinition",
21653
+ "type": {
21654
+ "text": "T"
21655
+ },
21656
+ "description": "The definition of the element to create the registry\nfunction for."
21789
21657
  }
21790
21658
  ],
21659
+ "description": "Defines an element registry function with a set of element definition defaults.",
21791
21660
  "inheritedFrom": {
21792
- "name": "Modal",
21793
- "module": "src/modal/modal.ts"
21661
+ "name": "FoundationElement",
21662
+ "module": "src/foundation-element/foundation-element.ts"
21794
21663
  }
21795
- },
21664
+ }
21665
+ ]
21666
+ },
21667
+ {
21668
+ "kind": "variable",
21669
+ "name": "zeroModal",
21670
+ "description": "The Zero Modal",
21671
+ "privacy": "public"
21672
+ }
21673
+ ],
21674
+ "exports": [
21675
+ {
21676
+ "kind": "js",
21677
+ "name": "defaultModalConfig",
21678
+ "declaration": {
21679
+ "name": "defaultModalConfig",
21680
+ "module": "src/modal/modal.ts"
21681
+ }
21682
+ },
21683
+ {
21684
+ "kind": "js",
21685
+ "name": "zeroModalTemplate",
21686
+ "declaration": {
21687
+ "name": "zeroModalTemplate",
21688
+ "module": "src/modal/modal.ts"
21689
+ }
21690
+ },
21691
+ {
21692
+ "kind": "js",
21693
+ "name": "zeroModalShadowOptions",
21694
+ "declaration": {
21695
+ "name": "zeroModalShadowOptions",
21696
+ "module": "src/modal/modal.ts"
21697
+ }
21698
+ },
21699
+ {
21700
+ "kind": "js",
21701
+ "name": "Modal",
21702
+ "declaration": {
21703
+ "name": "Modal",
21704
+ "module": "src/modal/modal.ts"
21705
+ }
21706
+ },
21707
+ {
21708
+ "kind": "js",
21709
+ "name": "zeroModal",
21710
+ "declaration": {
21711
+ "name": "zeroModal",
21712
+ "module": "src/modal/modal.ts"
21713
+ }
21714
+ }
21715
+ ]
21716
+ },
21717
+ {
21718
+ "kind": "javascript-module",
21719
+ "path": "src/menu-item/index.ts",
21720
+ "declarations": [],
21721
+ "exports": [
21722
+ {
21723
+ "kind": "js",
21724
+ "name": "*",
21725
+ "declaration": {
21726
+ "name": "*",
21727
+ "package": "./menu-item"
21728
+ }
21729
+ },
21730
+ {
21731
+ "kind": "js",
21732
+ "name": "*",
21733
+ "declaration": {
21734
+ "name": "*",
21735
+ "package": "./menu-item.styles"
21736
+ }
21737
+ }
21738
+ ]
21739
+ },
21740
+ {
21741
+ "kind": "javascript-module",
21742
+ "path": "src/menu-item/menu-item.styles.ts",
21743
+ "declarations": [
21744
+ {
21745
+ "kind": "function",
21746
+ "name": "zeroMenuItemStyles",
21747
+ "return": {
21748
+ "type": {
21749
+ "text": "ElementStyles"
21750
+ }
21751
+ },
21752
+ "parameters": [
21796
21753
  {
21797
- "kind": "method",
21798
- "name": "onMouseUp",
21799
- "privacy": "private",
21800
- "inheritedFrom": {
21801
- "name": "Modal",
21802
- "module": "src/modal/modal.ts"
21754
+ "name": "context",
21755
+ "type": {
21756
+ "text": "ElementDefinitionContext"
21803
21757
  }
21804
21758
  },
21805
21759
  {
21806
- "kind": "method",
21807
- "name": "removeDraggableEventListeners",
21808
- "privacy": "private",
21809
- "inheritedFrom": {
21810
- "name": "Modal",
21811
- "module": "src/modal/modal.ts"
21760
+ "name": "definition",
21761
+ "type": {
21762
+ "text": "MenuItemOptions"
21812
21763
  }
21813
- },
21764
+ }
21765
+ ]
21766
+ }
21767
+ ],
21768
+ "exports": [
21769
+ {
21770
+ "kind": "js",
21771
+ "name": "zeroMenuItemStyles",
21772
+ "declaration": {
21773
+ "name": "zeroMenuItemStyles",
21774
+ "module": "src/menu-item/menu-item.styles.ts"
21775
+ }
21776
+ }
21777
+ ]
21778
+ },
21779
+ {
21780
+ "kind": "javascript-module",
21781
+ "path": "src/menu-item/menu-item.ts",
21782
+ "declarations": [
21783
+ {
21784
+ "kind": "variable",
21785
+ "name": "zeroMenuItemShadowOptions",
21786
+ "default": "foundationMenuItemShadowOptions"
21787
+ },
21788
+ {
21789
+ "kind": "class",
21790
+ "description": "",
21791
+ "name": "MenuItem",
21792
+ "superclass": {
21793
+ "name": "FoundationMenuItem",
21794
+ "package": "@genesislcap/foundation-ui"
21795
+ },
21796
+ "tagName": "%%prefix%%-menu-item",
21797
+ "customElement": true,
21798
+ "attributes": [
21814
21799
  {
21815
- "kind": "field",
21816
- "name": "mainElement",
21817
21800
  "type": {
21818
- "text": "HTMLDialogElement"
21801
+ "text": "boolean"
21819
21802
  },
21820
- "description": "A reference to the dialog element\nin the component Shadow DOM.",
21803
+ "description": "The disabled state of the element.",
21804
+ "fieldName": "disabled",
21821
21805
  "inheritedFrom": {
21822
- "name": "DialogElement",
21823
- "module": "src/dialog/dialog.ts"
21806
+ "name": "MenuItem",
21807
+ "module": "src/menu-item/menu-item.ts"
21824
21808
  }
21825
21809
  },
21826
21810
  {
21827
- "kind": "field",
21828
- "name": "topElement",
21811
+ "name": "role",
21829
21812
  "type": {
21830
- "text": "HTMLElement"
21813
+ "text": "MenuItemRole"
21831
21814
  },
21815
+ "description": "The role of the element.",
21816
+ "fieldName": "role",
21832
21817
  "inheritedFrom": {
21833
- "name": "DialogElement",
21834
- "module": "src/dialog/dialog.ts"
21818
+ "name": "MenuItem",
21819
+ "module": "src/menu-item/menu-item.ts"
21835
21820
  }
21836
- },
21821
+ }
21822
+ ],
21823
+ "members": [
21837
21824
  {
21838
21825
  "kind": "field",
21839
- "name": "topElementSlot",
21826
+ "name": "disabled",
21840
21827
  "type": {
21841
- "text": "HTMLSlotElement"
21828
+ "text": "boolean"
21842
21829
  },
21830
+ "privacy": "public",
21831
+ "description": "The disabled state of the element.",
21843
21832
  "inheritedFrom": {
21844
- "name": "DialogElement",
21845
- "module": "src/dialog/dialog.ts"
21833
+ "name": "MenuItem",
21834
+ "module": "src/menu-item/menu-item.ts"
21846
21835
  }
21847
21836
  },
21848
21837
  {
21849
21838
  "kind": "field",
21850
- "name": "notification",
21839
+ "name": "expanded",
21851
21840
  "type": {
21852
- "text": "NotificationStructure"
21841
+ "text": "boolean"
21853
21842
  },
21843
+ "privacy": "public",
21844
+ "description": "The expanded state of the element.",
21854
21845
  "inheritedFrom": {
21855
- "name": "DialogElement",
21856
- "module": "src/dialog/dialog.ts"
21846
+ "name": "MenuItem",
21847
+ "module": "src/menu-item/menu-item.ts"
21857
21848
  }
21858
21849
  },
21859
21850
  {
21860
21851
  "kind": "method",
21861
- "name": "notificationChanged",
21862
- "inheritedFrom": {
21863
- "name": "DialogElement",
21864
- "module": "src/dialog/dialog.ts"
21865
- }
21866
- },
21867
- {
21868
- "kind": "field",
21869
- "name": "type",
21870
- "type": {
21871
- "text": "DialogType"
21852
+ "name": "expandedChanged",
21853
+ "privacy": "private",
21854
+ "return": {
21855
+ "type": {
21856
+ "text": "void"
21857
+ }
21872
21858
  },
21873
- "default": "'default'",
21859
+ "parameters": [
21860
+ {
21861
+ "name": "oldValue",
21862
+ "type": {
21863
+ "text": "boolean"
21864
+ }
21865
+ }
21866
+ ],
21874
21867
  "inheritedFrom": {
21875
- "name": "DialogElement",
21876
- "module": "src/dialog/dialog.ts"
21868
+ "name": "MenuItem",
21869
+ "module": "src/menu-item/menu-item.ts"
21877
21870
  }
21878
21871
  },
21879
21872
  {
21880
21873
  "kind": "field",
21881
- "name": "position",
21874
+ "name": "role",
21882
21875
  "type": {
21883
- "text": "DialogPosition"
21876
+ "text": "MenuItemRole"
21884
21877
  },
21885
- "default": "'center'",
21878
+ "privacy": "public",
21879
+ "description": "The role of the element.",
21886
21880
  "inheritedFrom": {
21887
- "name": "DialogElement",
21888
- "module": "src/dialog/dialog.ts"
21881
+ "name": "MenuItem",
21882
+ "module": "src/menu-item/menu-item.ts"
21889
21883
  }
21890
21884
  },
21891
21885
  {
21892
21886
  "kind": "field",
21893
- "name": "showCloseIcon",
21887
+ "name": "checked",
21894
21888
  "type": {
21895
21889
  "text": "boolean"
21896
21890
  },
21897
- "default": "true",
21898
- "description": "Whether or not to show the close icon",
21891
+ "privacy": "public",
21892
+ "description": "The checked value of the element.",
21899
21893
  "inheritedFrom": {
21900
- "name": "DialogElement",
21901
- "module": "src/dialog/dialog.ts"
21894
+ "name": "MenuItem",
21895
+ "module": "src/menu-item/menu-item.ts"
21902
21896
  }
21903
21897
  },
21904
21898
  {
21905
- "kind": "field",
21906
- "name": "onShowCallback",
21907
- "type": {
21908
- "text": "() => void"
21899
+ "kind": "method",
21900
+ "name": "checkedChanged",
21901
+ "privacy": "private",
21902
+ "return": {
21903
+ "type": {
21904
+ "text": "void"
21905
+ }
21909
21906
  },
21910
- "description": "Callback to run *before* HTMLDialogElement is shown",
21907
+ "parameters": [
21908
+ {
21909
+ "name": "oldValue",
21910
+ "type": {
21911
+ "text": "boolean"
21912
+ }
21913
+ },
21914
+ {
21915
+ "name": "newValue",
21916
+ "type": {
21917
+ "text": "boolean"
21918
+ }
21919
+ }
21920
+ ],
21911
21921
  "inheritedFrom": {
21912
- "name": "DialogElement",
21913
- "module": "src/dialog/dialog.ts"
21922
+ "name": "MenuItem",
21923
+ "module": "src/menu-item/menu-item.ts"
21914
21924
  }
21915
21925
  },
21916
21926
  {
21917
21927
  "kind": "field",
21918
- "name": "open",
21928
+ "name": "focusSubmenuOnLoad",
21919
21929
  "type": {
21920
21930
  "text": "boolean"
21921
21931
  },
21922
- "description": "Determine if the dialog is showing or closed.",
21923
- "readonly": true,
21932
+ "privacy": "private",
21933
+ "default": "false",
21924
21934
  "inheritedFrom": {
21925
- "name": "DialogElement",
21926
- "module": "src/dialog/dialog.ts"
21935
+ "name": "MenuItem",
21936
+ "module": "src/menu-item/menu-item.ts"
21927
21937
  }
21928
21938
  },
21929
21939
  {
21930
- "kind": "method",
21931
- "name": "close",
21932
- "return": {
21933
- "type": {
21934
- "text": "void"
21935
- }
21940
+ "kind": "field",
21941
+ "name": "observer",
21942
+ "type": {
21943
+ "text": "MutationObserver | undefined"
21936
21944
  },
21937
- "description": "Remove the HTMLDialogElement from display",
21938
- "inheritedFrom": {
21939
- "name": "DialogElement",
21940
- "module": "src/dialog/dialog.ts"
21941
- }
21942
- },
21943
- {
21944
- "kind": "method",
21945
- "name": "dismiss",
21946
- "privacy": "public",
21947
- "description": "Dismiss the Dialog from display and calls the dismissing action.",
21945
+ "privacy": "private",
21948
21946
  "inheritedFrom": {
21949
- "name": "DialogElement",
21950
- "module": "src/dialog/dialog.ts"
21947
+ "name": "MenuItem",
21948
+ "module": "src/menu-item/menu-item.ts"
21951
21949
  }
21952
21950
  },
21953
21951
  {
21954
21952
  "kind": "method",
21955
- "name": "closeDialog",
21956
- "privacy": "public",
21953
+ "name": "domChildren",
21954
+ "privacy": "private",
21957
21955
  "return": {
21958
21956
  "type": {
21959
- "text": "void"
21957
+ "text": "Element[]"
21960
21958
  }
21961
21959
  },
21962
- "description": "Dismiss the Dialog from display.",
21960
+ "description": "get an array of valid DOM children",
21963
21961
  "inheritedFrom": {
21964
- "name": "DialogElement",
21965
- "module": "src/dialog/dialog.ts"
21962
+ "name": "MenuItem",
21963
+ "module": "src/menu-item/menu-item.ts"
21966
21964
  }
21967
21965
  },
21968
21966
  {
@@ -21974,8 +21972,8 @@
21974
21972
  "privacy": "private",
21975
21973
  "default": "void 0",
21976
21974
  "inheritedFrom": {
21977
- "name": "FoundationElement",
21978
- "module": "src/foundation-element/foundation-element.ts"
21975
+ "name": "MenuItem",
21976
+ "module": "src/menu-item/menu-item.ts"
21979
21977
  }
21980
21978
  },
21981
21979
  {
@@ -21987,8 +21985,8 @@
21987
21985
  "privacy": "public",
21988
21986
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
21989
21987
  "inheritedFrom": {
21990
- "name": "FoundationElement",
21991
- "module": "src/foundation-element/foundation-element.ts"
21988
+ "name": "MenuItem",
21989
+ "module": "src/menu-item/menu-item.ts"
21992
21990
  }
21993
21991
  },
21994
21992
  {
@@ -22000,8 +21998,8 @@
22000
21998
  "privacy": "public",
22001
21999
  "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.",
22002
22000
  "inheritedFrom": {
22003
- "name": "FoundationElement",
22004
- "module": "src/foundation-element/foundation-element.ts"
22001
+ "name": "MenuItem",
22002
+ "module": "src/menu-item/menu-item.ts"
22005
22003
  }
22006
22004
  },
22007
22005
  {
@@ -22014,8 +22012,8 @@
22014
22012
  }
22015
22013
  },
22016
22014
  "inheritedFrom": {
22017
- "name": "FoundationElement",
22018
- "module": "src/foundation-element/foundation-element.ts"
22015
+ "name": "MenuItem",
22016
+ "module": "src/menu-item/menu-item.ts"
22019
22017
  }
22020
22018
  },
22021
22019
  {
@@ -22027,8 +22025,8 @@
22027
22025
  "privacy": "public",
22028
22026
  "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.",
22029
22027
  "inheritedFrom": {
22030
- "name": "FoundationElement",
22031
- "module": "src/foundation-element/foundation-element.ts"
22028
+ "name": "MenuItem",
22029
+ "module": "src/menu-item/menu-item.ts"
22032
22030
  }
22033
22031
  },
22034
22032
  {
@@ -22041,8 +22039,8 @@
22041
22039
  }
22042
22040
  },
22043
22041
  "inheritedFrom": {
22044
- "name": "FoundationElement",
22045
- "module": "src/foundation-element/foundation-element.ts"
22042
+ "name": "MenuItem",
22043
+ "module": "src/menu-item/menu-item.ts"
22046
22044
  }
22047
22045
  },
22048
22046
  {
@@ -22072,58 +22070,60 @@
22072
22070
  ],
22073
22071
  "description": "Defines an element registry function with a set of element definition defaults.",
22074
22072
  "inheritedFrom": {
22075
- "name": "FoundationElement",
22076
- "module": "src/foundation-element/foundation-element.ts"
22073
+ "name": "MenuItem",
22074
+ "module": "src/menu-item/menu-item.ts"
22075
+ }
22076
+ }
22077
+ ],
22078
+ "events": [
22079
+ {
22080
+ "description": "Fires a custom 'expanded-change' event when the expanded state changes",
22081
+ "name": "expanded-change",
22082
+ "inheritedFrom": {
22083
+ "name": "MenuItem",
22084
+ "module": "src/menu-item/menu-item.ts"
22085
+ }
22086
+ },
22087
+ {
22088
+ "description": "Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked",
22089
+ "name": "change",
22090
+ "inheritedFrom": {
22091
+ "name": "MenuItem",
22092
+ "module": "src/menu-item/menu-item.ts"
22077
22093
  }
22078
22094
  }
22079
22095
  ]
22080
22096
  },
22081
22097
  {
22082
22098
  "kind": "variable",
22083
- "name": "zeroModal",
22084
- "description": "The Zero Modal",
22099
+ "name": "zeroMenuItem",
22100
+ "description": "The Zero Menu Item",
22085
22101
  "privacy": "public"
22086
22102
  }
22087
22103
  ],
22088
22104
  "exports": [
22089
22105
  {
22090
22106
  "kind": "js",
22091
- "name": "defaultModalConfig",
22092
- "declaration": {
22093
- "name": "defaultModalConfig",
22094
- "module": "src/modal/modal.ts"
22095
- }
22096
- },
22097
- {
22098
- "kind": "js",
22099
- "name": "zeroModalTemplate",
22100
- "declaration": {
22101
- "name": "zeroModalTemplate",
22102
- "module": "src/modal/modal.ts"
22103
- }
22104
- },
22105
- {
22106
- "kind": "js",
22107
- "name": "zeroModalShadowOptions",
22107
+ "name": "zeroMenuItemShadowOptions",
22108
22108
  "declaration": {
22109
- "name": "zeroModalShadowOptions",
22110
- "module": "src/modal/modal.ts"
22109
+ "name": "zeroMenuItemShadowOptions",
22110
+ "module": "src/menu-item/menu-item.ts"
22111
22111
  }
22112
22112
  },
22113
22113
  {
22114
22114
  "kind": "js",
22115
- "name": "Modal",
22115
+ "name": "MenuItem",
22116
22116
  "declaration": {
22117
- "name": "Modal",
22118
- "module": "src/modal/modal.ts"
22117
+ "name": "MenuItem",
22118
+ "module": "src/menu-item/menu-item.ts"
22119
22119
  }
22120
22120
  },
22121
22121
  {
22122
22122
  "kind": "js",
22123
- "name": "zeroModal",
22123
+ "name": "zeroMenuItem",
22124
22124
  "declaration": {
22125
- "name": "zeroModal",
22126
- "module": "src/modal/modal.ts"
22125
+ "name": "zeroMenuItem",
22126
+ "module": "src/menu-item/menu-item.ts"
22127
22127
  }
22128
22128
  }
22129
22129
  ]