@genesislcap/rapid-design-system 15.84.3 → 15.85.0-GENC-1739.2

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.
@@ -11084,726 +11084,334 @@
11084
11084
  },
11085
11085
  {
11086
11086
  "kind": "javascript-module",
11087
- "path": "src/disclosure/disclosure.styles.ts",
11087
+ "path": "src/dialog/dialog.styles.ts",
11088
11088
  "declarations": [
11089
11089
  {
11090
- "kind": "function",
11091
- "name": "rapidDisclosureStyles",
11092
- "return": {
11093
- "type": {
11094
- "text": "ElementStyles"
11095
- }
11096
- },
11097
- "parameters": [
11098
- {
11099
- "name": "context",
11100
- "type": {
11101
- "text": "ElementDefinitionContext"
11102
- }
11103
- },
11104
- {
11105
- "name": "definition",
11106
- "type": {
11107
- "text": "FoundationElementDefinition"
11108
- }
11109
- }
11110
- ]
11090
+ "kind": "variable",
11091
+ "name": "rapidDialogStyles",
11092
+ "default": "css`\n ${foundationDialogStyles}\n :host {\n font-family: var(--body-font);\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n }\n\n dialog {\n position: var(--dialog-position, fixed);\n top: 0;\n bottom: 0;\n border-radius: var(--card-corner-radius, calc(var(--control-corner-radius) * 1px));\n border: var(--card-border, calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest));\n text-align: left;\n line-height: normal;\n box-shadow: 0 2px 15px 0 rgb(0 0 0 / 35%);\n background-color: var(--dialog-background, var(--neutral-layer-1));\n }\n\n .top {\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: var(--neutral-foreground-rest);\n margin-bottom: calc(var(--design-unit) * 2px);\n font-weight: 500;\n }\n\n .bottom {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n color: var(--neutral-foreground-rest);\n gap: calc(var(--design-unit) * 2px);\n }\n\n :host slot:first-of-type {\n color: ${neutralForegroundRest};\n }\n\n ::slotted(rapid-button) {\n margin-top: calc(var(--design-unit) * 4px - 1px);\n }\n\n slot[name='top']::slotted(*) {\n margin: 0;\n font-size: var(--type-ramp-base-font-size);\n color: var(--neutral-foreground-hint);\n font-weight: 700;\n }\n\n .content-wrapper {\n min-width: var(--dialog-min-width);\n min-height: var(--dialog-min-height);\n height: fit-content;\n width: fit-content;\n max-width: var(--dialog-max-width);\n max-height: var(--dialog-max-height);\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: stretch;\n }\n\n .close-icon:hover svg {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);\n }\n\n .close-icon svg g path {\n fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);\n }\n\n .close-icon:hover svg g path {\n fill: var(--neutral-foreground-rest);\n }\n\n .close-icon:active svg {\n background-color: var(--neutral-layer-4);\n }\n\n .close-icon:active svg g path {\n fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);\n }\n\n .header-controls {\n rapid-button {\n --base-height-multiplier: 8;\n }\n\n rapid-button::part(control) {\n padding: 0 calc((8 + var(--design-unit) * 1 * var(--density)) * 1px);\n }\n }\n`"
11111
11093
  }
11112
11094
  ],
11113
11095
  "exports": [
11114
11096
  {
11115
11097
  "kind": "js",
11116
- "name": "rapidDisclosureStyles",
11098
+ "name": "rapidDialogStyles",
11117
11099
  "declaration": {
11118
- "name": "rapidDisclosureStyles",
11119
- "module": "src/disclosure/disclosure.styles.ts"
11100
+ "name": "rapidDialogStyles",
11101
+ "module": "src/dialog/dialog.styles.ts"
11120
11102
  }
11121
11103
  }
11122
11104
  ]
11123
11105
  },
11124
11106
  {
11125
11107
  "kind": "javascript-module",
11126
- "path": "src/disclosure/disclosure.template.ts",
11108
+ "path": "src/dialog/dialog.ts",
11127
11109
  "declarations": [
11128
11110
  {
11129
- "kind": "function",
11130
- "name": "rapidDisclosureTemplate",
11131
- "return": {
11132
- "type": {
11133
- "text": "ViewTemplate<Disclosure>"
11134
- }
11135
- },
11136
- "parameters": [
11137
- {
11138
- "name": "context",
11139
- "type": {
11140
- "text": "ElementDefinitionContext"
11141
- }
11142
- },
11143
- {
11144
- "name": "definition",
11145
- "type": {
11146
- "text": "FoundationElementDefinition"
11147
- }
11148
- }
11149
- ]
11150
- }
11151
- ],
11152
- "exports": [
11111
+ "kind": "variable",
11112
+ "name": "defaultDialogConfig",
11113
+ "default": "foundationConfig"
11114
+ },
11153
11115
  {
11154
- "kind": "js",
11155
- "name": "rapidDisclosureTemplate",
11156
- "declaration": {
11157
- "name": "rapidDisclosureTemplate",
11158
- "module": "src/disclosure/disclosure.template.ts"
11159
- }
11160
- }
11161
- ]
11162
- },
11163
- {
11164
- "kind": "javascript-module",
11165
- "path": "src/disclosure/disclosure.ts",
11166
- "declarations": [
11116
+ "kind": "variable",
11117
+ "name": "rapidDialogTemplate",
11118
+ "default": "foundationDialogTemplate"
11119
+ },
11120
+ {
11121
+ "kind": "variable",
11122
+ "name": "rapidDialogShadowOptions",
11123
+ "default": "foundationDialogShadowOptions"
11124
+ },
11167
11125
  {
11168
11126
  "kind": "class",
11169
11127
  "description": "",
11170
- "name": "Disclosure",
11128
+ "name": "Dialog",
11171
11129
  "superclass": {
11172
- "name": "FoundationDisclosure",
11130
+ "name": "FoundationDialog",
11173
11131
  "package": "@genesislcap/foundation-ui"
11174
11132
  },
11175
- "tagName": "%%prefix%%-disclosure",
11133
+ "tagName": "%%prefix%%-dialog",
11176
11134
  "customElement": true,
11177
11135
  "attributes": [
11178
11136
  {
11137
+ "name": "type",
11179
11138
  "type": {
11180
- "text": "boolean"
11139
+ "text": "DialogType"
11181
11140
  },
11182
- "description": "Determines if the element should show the extra content or not.",
11183
- "fieldName": "expanded",
11141
+ "default": "'default'",
11142
+ "fieldName": "type",
11184
11143
  "inheritedFrom": {
11185
- "name": "Disclosure",
11186
- "module": "src/disclosure/disclosure.ts"
11144
+ "name": "DialogElement",
11145
+ "module": "src/dialog/dialog.ts"
11187
11146
  }
11188
11147
  },
11189
11148
  {
11190
- "name": "title",
11149
+ "name": "position",
11191
11150
  "type": {
11192
- "text": "string"
11151
+ "text": "DialogPosition"
11193
11152
  },
11194
- "description": "Invoker title",
11195
- "fieldName": "title",
11153
+ "default": "'center'",
11154
+ "fieldName": "position",
11196
11155
  "inheritedFrom": {
11197
- "name": "Disclosure",
11198
- "module": "src/disclosure/disclosure.ts"
11156
+ "name": "DialogElement",
11157
+ "module": "src/dialog/dialog.ts"
11199
11158
  }
11200
- }
11201
- ],
11202
- "members": [
11159
+ },
11203
11160
  {
11204
- "kind": "field",
11205
- "name": "expanded",
11161
+ "name": "show-close-icon",
11206
11162
  "type": {
11207
11163
  "text": "boolean"
11208
11164
  },
11209
- "privacy": "public",
11210
- "description": "Determines if the element should show the extra content or not.",
11165
+ "default": "true",
11166
+ "description": "Whether or not to show the close icon",
11167
+ "fieldName": "showCloseIcon",
11211
11168
  "inheritedFrom": {
11212
- "name": "Disclosure",
11213
- "module": "src/disclosure/disclosure.ts"
11169
+ "name": "DialogElement",
11170
+ "module": "src/dialog/dialog.ts"
11214
11171
  }
11215
11172
  },
11216
11173
  {
11217
- "kind": "field",
11218
- "name": "title",
11174
+ "name": "resizable",
11219
11175
  "type": {
11220
- "text": "string"
11176
+ "text": "boolean"
11221
11177
  },
11222
- "privacy": "public",
11223
- "description": "Invoker title",
11178
+ "default": "false",
11179
+ "description": "Whether or not the dialog is resizable",
11180
+ "fieldName": "resizable",
11224
11181
  "inheritedFrom": {
11225
- "name": "Disclosure",
11226
- "module": "src/disclosure/disclosure.ts"
11182
+ "name": "DialogElement",
11183
+ "module": "src/dialog/dialog.ts"
11227
11184
  }
11228
11185
  },
11229
11186
  {
11230
- "kind": "method",
11231
- "name": "show",
11232
- "privacy": "public",
11233
- "return": {
11234
- "type": {
11235
- "text": "void"
11236
- }
11187
+ "type": {
11188
+ "text": "boolean"
11237
11189
  },
11238
- "description": "Show extra content.",
11190
+ "default": "false",
11191
+ "description": "Whether or not the dialog is draggable by its top region",
11192
+ "fieldName": "draggable",
11239
11193
  "inheritedFrom": {
11240
- "name": "Disclosure",
11241
- "module": "src/disclosure/disclosure.ts"
11194
+ "name": "DialogElement",
11195
+ "module": "src/dialog/dialog.ts"
11242
11196
  }
11243
11197
  },
11244
11198
  {
11245
- "kind": "method",
11246
- "name": "hide",
11247
- "privacy": "public",
11248
- "return": {
11249
- "type": {
11250
- "text": "void"
11251
- }
11199
+ "name": "min-width",
11200
+ "type": {
11201
+ "text": "number"
11252
11202
  },
11253
- "description": "Hide extra content.",
11203
+ "default": "MIN_WIDTH",
11204
+ "description": "Minimum width for the dialog",
11205
+ "resolveInitializer": {
11206
+ "module": "src/dialog/dialog.ts"
11207
+ },
11208
+ "fieldName": "minWidth",
11254
11209
  "inheritedFrom": {
11255
- "name": "Disclosure",
11256
- "module": "src/disclosure/disclosure.ts"
11210
+ "name": "DialogElement",
11211
+ "module": "src/dialog/dialog.ts"
11257
11212
  }
11258
11213
  },
11259
11214
  {
11260
- "kind": "method",
11261
- "name": "toggle",
11262
- "privacy": "public",
11263
- "return": {
11264
- "type": {
11265
- "text": "void"
11266
- }
11215
+ "name": "min-height",
11216
+ "type": {
11217
+ "text": "number"
11267
11218
  },
11268
- "description": "Toggle the current(expanded/collapsed) state.",
11219
+ "default": "MIN_HEIGHT",
11220
+ "description": "Minimum height for the dialog",
11221
+ "resolveInitializer": {
11222
+ "module": "src/dialog/dialog.ts"
11223
+ },
11224
+ "fieldName": "minHeight",
11269
11225
  "inheritedFrom": {
11270
- "name": "Disclosure",
11271
- "module": "src/disclosure/disclosure.ts"
11226
+ "name": "DialogElement",
11227
+ "module": "src/dialog/dialog.ts"
11228
+ }
11229
+ },
11230
+ {
11231
+ "name": "initial-width",
11232
+ "type": {
11233
+ "text": "number | undefined"
11234
+ },
11235
+ "description": "Initial width for the dialog (cannot exceed viewport width)",
11236
+ "fieldName": "initialWidth",
11237
+ "inheritedFrom": {
11238
+ "name": "DialogElement",
11239
+ "module": "src/dialog/dialog.ts"
11272
11240
  }
11273
11241
  },
11242
+ {
11243
+ "name": "initial-height",
11244
+ "type": {
11245
+ "text": "number | undefined"
11246
+ },
11247
+ "description": "Initial height for the dialog (cannot exceed viewport height)",
11248
+ "fieldName": "initialHeight",
11249
+ "inheritedFrom": {
11250
+ "name": "DialogElement",
11251
+ "module": "src/dialog/dialog.ts"
11252
+ }
11253
+ }
11254
+ ],
11255
+ "members": [
11274
11256
  {
11275
11257
  "kind": "method",
11276
- "name": "setup",
11277
- "privacy": "protected",
11258
+ "name": "show",
11278
11259
  "return": {
11279
11260
  "type": {
11280
11261
  "text": "void"
11281
11262
  }
11282
11263
  },
11283
- "description": "Register listener and set default disclosure mode",
11264
+ "description": "Show the HTMLDialogElement and its contents",
11284
11265
  "inheritedFrom": {
11285
- "name": "Disclosure",
11286
- "module": "src/disclosure/disclosure.ts"
11266
+ "name": "DialogElement",
11267
+ "module": "src/dialog/dialog.ts"
11287
11268
  }
11288
11269
  },
11289
11270
  {
11290
- "kind": "method",
11291
- "name": "onToggle",
11292
- "privacy": "protected",
11293
- "description": "Update the aria attr and fire `toggle` event",
11271
+ "kind": "field",
11272
+ "name": "mainElement",
11273
+ "type": {
11274
+ "text": "HTMLDialogElement"
11275
+ },
11276
+ "description": "A reference to the dialog element\nin the component Shadow DOM.",
11294
11277
  "inheritedFrom": {
11295
- "name": "Disclosure",
11296
- "module": "src/disclosure/disclosure.ts"
11278
+ "name": "DialogElement",
11279
+ "module": "src/dialog/dialog.ts"
11297
11280
  }
11298
11281
  },
11299
11282
  {
11300
11283
  "kind": "field",
11301
- "name": "_presentation",
11284
+ "name": "topElement",
11302
11285
  "type": {
11303
- "text": "ComponentPresentation | null | undefined"
11286
+ "text": "HTMLElement"
11304
11287
  },
11305
- "privacy": "private",
11306
- "default": "void 0",
11307
11288
  "inheritedFrom": {
11308
- "name": "Disclosure",
11309
- "module": "src/disclosure/disclosure.ts"
11289
+ "name": "DialogElement",
11290
+ "module": "src/dialog/dialog.ts"
11310
11291
  }
11311
11292
  },
11312
11293
  {
11313
11294
  "kind": "field",
11314
- "name": "$presentation",
11295
+ "name": "topElementSlot",
11315
11296
  "type": {
11316
- "text": "ComponentPresentation | null"
11297
+ "text": "HTMLSlotElement"
11317
11298
  },
11318
- "privacy": "public",
11319
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
11320
11299
  "inheritedFrom": {
11321
- "name": "Disclosure",
11322
- "module": "src/disclosure/disclosure.ts"
11300
+ "name": "DialogElement",
11301
+ "module": "src/dialog/dialog.ts"
11323
11302
  }
11324
11303
  },
11325
11304
  {
11326
11305
  "kind": "field",
11327
- "name": "template",
11306
+ "name": "notification",
11328
11307
  "type": {
11329
- "text": "ElementViewTemplate | void | null"
11308
+ "text": "NotificationStructure"
11330
11309
  },
11331
- "privacy": "public",
11332
- "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.",
11333
11310
  "inheritedFrom": {
11334
- "name": "Disclosure",
11335
- "module": "src/disclosure/disclosure.ts"
11311
+ "name": "DialogElement",
11312
+ "module": "src/dialog/dialog.ts"
11336
11313
  }
11337
11314
  },
11338
11315
  {
11339
11316
  "kind": "method",
11340
- "name": "templateChanged",
11341
- "privacy": "protected",
11342
- "return": {
11343
- "type": {
11344
- "text": "void"
11345
- }
11346
- },
11317
+ "name": "notificationChanged",
11347
11318
  "inheritedFrom": {
11348
- "name": "Disclosure",
11349
- "module": "src/disclosure/disclosure.ts"
11319
+ "name": "DialogElement",
11320
+ "module": "src/dialog/dialog.ts"
11350
11321
  }
11351
11322
  },
11352
11323
  {
11353
11324
  "kind": "field",
11354
- "name": "styles",
11355
- "type": {
11356
- "text": "ElementStyles | void | null"
11357
- },
11358
- "privacy": "public",
11359
- "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.",
11360
- "inheritedFrom": {
11361
- "name": "Disclosure",
11362
- "module": "src/disclosure/disclosure.ts"
11363
- }
11364
- },
11365
- {
11366
- "kind": "method",
11367
- "name": "stylesChanged",
11368
- "privacy": "protected",
11369
- "return": {
11370
- "type": {
11371
- "text": "void"
11372
- }
11373
- },
11374
- "inheritedFrom": {
11375
- "name": "Disclosure",
11376
- "module": "src/disclosure/disclosure.ts"
11377
- }
11378
- },
11379
- {
11380
- "kind": "method",
11381
- "name": "compose",
11382
- "privacy": "public",
11383
- "static": true,
11384
- "return": {
11385
- "type": {
11386
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
11387
- }
11388
- },
11389
- "parameters": [
11390
- {
11391
- "name": "this",
11392
- "type": {
11393
- "text": "K"
11394
- }
11395
- },
11396
- {
11397
- "name": "elementDefinition",
11398
- "type": {
11399
- "text": "T"
11400
- },
11401
- "description": "The definition of the element to create the registry\nfunction for."
11402
- }
11403
- ],
11404
- "description": "Defines an element registry function with a set of element definition defaults.",
11405
- "inheritedFrom": {
11406
- "name": "Disclosure",
11407
- "module": "src/disclosure/disclosure.ts"
11408
- }
11409
- }
11410
- ],
11411
- "events": [
11412
- {
11413
- "description": "fires a toggle event when the summary is toggled",
11414
- "name": "toggle",
11415
- "inheritedFrom": {
11416
- "name": "Disclosure",
11417
- "module": "src/disclosure/disclosure.ts"
11418
- }
11419
- }
11420
- ]
11421
- },
11422
- {
11423
- "kind": "variable",
11424
- "name": "rapidDisclosure"
11425
- }
11426
- ],
11427
- "exports": [
11428
- {
11429
- "kind": "js",
11430
- "name": "Disclosure",
11431
- "declaration": {
11432
- "name": "Disclosure",
11433
- "module": "src/disclosure/disclosure.ts"
11434
- }
11435
- },
11436
- {
11437
- "kind": "js",
11438
- "name": "rapidDisclosure",
11439
- "declaration": {
11440
- "name": "rapidDisclosure",
11441
- "module": "src/disclosure/disclosure.ts"
11442
- }
11443
- }
11444
- ]
11445
- },
11446
- {
11447
- "kind": "javascript-module",
11448
- "path": "src/disclosure/index.ts",
11449
- "declarations": [],
11450
- "exports": [
11451
- {
11452
- "kind": "js",
11453
- "name": "*",
11454
- "declaration": {
11455
- "name": "*",
11456
- "package": "./disclosure"
11457
- }
11458
- },
11459
- {
11460
- "kind": "js",
11461
- "name": "*",
11462
- "declaration": {
11463
- "name": "*",
11464
- "package": "./disclosure.styles"
11465
- }
11466
- },
11467
- {
11468
- "kind": "js",
11469
- "name": "*",
11470
- "declaration": {
11471
- "name": "*",
11472
- "package": "./disclosure.template"
11473
- }
11474
- }
11475
- ]
11476
- },
11477
- {
11478
- "kind": "javascript-module",
11479
- "path": "src/dialog/dialog.styles.ts",
11480
- "declarations": [
11481
- {
11482
- "kind": "variable",
11483
- "name": "rapidDialogStyles",
11484
- "default": "css`\n ${foundationDialogStyles}\n :host {\n font-family: var(--body-font);\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n }\n\n dialog {\n position: var(--dialog-position, fixed);\n top: 0;\n bottom: 0;\n border-radius: var(--card-corner-radius, calc(var(--control-corner-radius) * 1px));\n border: var(--card-border, calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest));\n text-align: left;\n line-height: normal;\n box-shadow: 0 2px 15px 0 rgb(0 0 0 / 35%);\n background-color: var(--dialog-background, var(--neutral-layer-1));\n }\n\n .top {\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: var(--neutral-foreground-rest);\n margin-bottom: calc(var(--design-unit) * 2px);\n font-weight: 500;\n }\n\n .bottom {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n color: var(--neutral-foreground-rest);\n gap: calc(var(--design-unit) * 2px);\n }\n\n :host slot:first-of-type {\n color: ${neutralForegroundRest};\n }\n\n ::slotted(rapid-button) {\n margin-top: calc(var(--design-unit) * 4px - 1px);\n }\n\n slot[name='top']::slotted(*) {\n margin: 0;\n font-size: var(--type-ramp-base-font-size);\n color: var(--neutral-foreground-hint);\n font-weight: 700;\n }\n\n .content-wrapper {\n min-width: var(--dialog-min-width);\n min-height: var(--dialog-min-height);\n height: fit-content;\n width: fit-content;\n max-width: var(--dialog-max-width);\n max-height: var(--dialog-max-height);\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: stretch;\n }\n\n .close-icon:hover svg {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 95%);\n }\n\n .close-icon svg g path {\n fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 50%);\n }\n\n .close-icon:hover svg g path {\n fill: var(--neutral-foreground-rest);\n }\n\n .close-icon:active svg {\n background-color: var(--neutral-layer-4);\n }\n\n .close-icon:active svg g path {\n fill: color-mix(in srgb, var(--neutral-foreground-rest), transparent 67%);\n }\n\n .header-controls {\n rapid-button {\n --base-height-multiplier: 8;\n }\n\n rapid-button::part(control) {\n padding: 0 calc((8 + var(--design-unit) * 1 * var(--density)) * 1px);\n }\n }\n`"
11485
- }
11486
- ],
11487
- "exports": [
11488
- {
11489
- "kind": "js",
11490
- "name": "rapidDialogStyles",
11491
- "declaration": {
11492
- "name": "rapidDialogStyles",
11493
- "module": "src/dialog/dialog.styles.ts"
11494
- }
11495
- }
11496
- ]
11497
- },
11498
- {
11499
- "kind": "javascript-module",
11500
- "path": "src/dialog/dialog.ts",
11501
- "declarations": [
11502
- {
11503
- "kind": "variable",
11504
- "name": "defaultDialogConfig",
11505
- "default": "foundationConfig"
11506
- },
11507
- {
11508
- "kind": "variable",
11509
- "name": "rapidDialogTemplate",
11510
- "default": "foundationDialogTemplate"
11511
- },
11512
- {
11513
- "kind": "variable",
11514
- "name": "rapidDialogShadowOptions",
11515
- "default": "foundationDialogShadowOptions"
11516
- },
11517
- {
11518
- "kind": "class",
11519
- "description": "",
11520
- "name": "Dialog",
11521
- "superclass": {
11522
- "name": "FoundationDialog",
11523
- "package": "@genesislcap/foundation-ui"
11524
- },
11525
- "tagName": "%%prefix%%-dialog",
11526
- "customElement": true,
11527
- "attributes": [
11528
- {
11529
11325
  "name": "type",
11530
11326
  "type": {
11531
11327
  "text": "DialogType"
11532
11328
  },
11533
11329
  "default": "'default'",
11534
- "fieldName": "type",
11535
11330
  "inheritedFrom": {
11536
11331
  "name": "DialogElement",
11537
11332
  "module": "src/dialog/dialog.ts"
11538
11333
  }
11539
11334
  },
11540
11335
  {
11336
+ "kind": "field",
11541
11337
  "name": "position",
11542
11338
  "type": {
11543
11339
  "text": "DialogPosition"
11544
11340
  },
11545
11341
  "default": "'center'",
11546
- "fieldName": "position",
11547
11342
  "inheritedFrom": {
11548
11343
  "name": "DialogElement",
11549
11344
  "module": "src/dialog/dialog.ts"
11550
11345
  }
11551
11346
  },
11552
11347
  {
11553
- "name": "show-close-icon",
11348
+ "kind": "field",
11349
+ "name": "showCloseIcon",
11554
11350
  "type": {
11555
11351
  "text": "boolean"
11556
11352
  },
11557
11353
  "default": "true",
11558
11354
  "description": "Whether or not to show the close icon",
11559
- "fieldName": "showCloseIcon",
11560
11355
  "inheritedFrom": {
11561
11356
  "name": "DialogElement",
11562
11357
  "module": "src/dialog/dialog.ts"
11563
11358
  }
11564
11359
  },
11565
11360
  {
11361
+ "kind": "field",
11566
11362
  "name": "resizable",
11567
11363
  "type": {
11568
11364
  "text": "boolean"
11569
11365
  },
11570
11366
  "default": "false",
11571
11367
  "description": "Whether or not the dialog is resizable",
11572
- "fieldName": "resizable",
11573
11368
  "inheritedFrom": {
11574
11369
  "name": "DialogElement",
11575
11370
  "module": "src/dialog/dialog.ts"
11576
11371
  }
11577
11372
  },
11578
11373
  {
11374
+ "kind": "field",
11375
+ "name": "draggable",
11579
11376
  "type": {
11580
11377
  "text": "boolean"
11581
11378
  },
11582
11379
  "default": "false",
11583
11380
  "description": "Whether or not the dialog is draggable by its top region",
11584
- "fieldName": "draggable",
11585
11381
  "inheritedFrom": {
11586
11382
  "name": "DialogElement",
11587
11383
  "module": "src/dialog/dialog.ts"
11588
11384
  }
11589
11385
  },
11590
11386
  {
11591
- "name": "min-width",
11387
+ "kind": "method",
11388
+ "name": "draggableChanged",
11389
+ "parameters": [
11390
+ {
11391
+ "name": "_oldValue",
11392
+ "type": {
11393
+ "text": "boolean"
11394
+ }
11395
+ },
11396
+ {
11397
+ "name": "newValue",
11398
+ "type": {
11399
+ "text": "boolean"
11400
+ }
11401
+ }
11402
+ ],
11403
+ "inheritedFrom": {
11404
+ "name": "DialogElement",
11405
+ "module": "src/dialog/dialog.ts"
11406
+ }
11407
+ },
11408
+ {
11409
+ "kind": "field",
11410
+ "name": "minWidth",
11592
11411
  "type": {
11593
11412
  "text": "number"
11594
11413
  },
11595
- "default": "MIN_WIDTH",
11596
- "description": "Minimum width for the dialog",
11597
- "resolveInitializer": {
11598
- "module": "src/dialog/dialog.ts"
11599
- },
11600
- "fieldName": "minWidth",
11601
- "inheritedFrom": {
11602
- "name": "DialogElement",
11603
- "module": "src/dialog/dialog.ts"
11604
- }
11605
- },
11606
- {
11607
- "name": "min-height",
11608
- "type": {
11609
- "text": "number"
11610
- },
11611
- "default": "MIN_HEIGHT",
11612
- "description": "Minimum height for the dialog",
11613
- "resolveInitializer": {
11614
- "module": "src/dialog/dialog.ts"
11615
- },
11616
- "fieldName": "minHeight",
11617
- "inheritedFrom": {
11618
- "name": "DialogElement",
11619
- "module": "src/dialog/dialog.ts"
11620
- }
11621
- },
11622
- {
11623
- "name": "initial-width",
11624
- "type": {
11625
- "text": "number | undefined"
11626
- },
11627
- "description": "Initial width for the dialog (cannot exceed viewport width)",
11628
- "fieldName": "initialWidth",
11629
- "inheritedFrom": {
11630
- "name": "DialogElement",
11631
- "module": "src/dialog/dialog.ts"
11632
- }
11633
- },
11634
- {
11635
- "name": "initial-height",
11636
- "type": {
11637
- "text": "number | undefined"
11638
- },
11639
- "description": "Initial height for the dialog (cannot exceed viewport height)",
11640
- "fieldName": "initialHeight",
11641
- "inheritedFrom": {
11642
- "name": "DialogElement",
11643
- "module": "src/dialog/dialog.ts"
11644
- }
11645
- }
11646
- ],
11647
- "members": [
11648
- {
11649
- "kind": "method",
11650
- "name": "show",
11651
- "return": {
11652
- "type": {
11653
- "text": "void"
11654
- }
11655
- },
11656
- "description": "Show the HTMLDialogElement and its contents",
11657
- "inheritedFrom": {
11658
- "name": "DialogElement",
11659
- "module": "src/dialog/dialog.ts"
11660
- }
11661
- },
11662
- {
11663
- "kind": "field",
11664
- "name": "mainElement",
11665
- "type": {
11666
- "text": "HTMLDialogElement"
11667
- },
11668
- "description": "A reference to the dialog element\nin the component Shadow DOM.",
11669
- "inheritedFrom": {
11670
- "name": "DialogElement",
11671
- "module": "src/dialog/dialog.ts"
11672
- }
11673
- },
11674
- {
11675
- "kind": "field",
11676
- "name": "topElement",
11677
- "type": {
11678
- "text": "HTMLElement"
11679
- },
11680
- "inheritedFrom": {
11681
- "name": "DialogElement",
11682
- "module": "src/dialog/dialog.ts"
11683
- }
11684
- },
11685
- {
11686
- "kind": "field",
11687
- "name": "topElementSlot",
11688
- "type": {
11689
- "text": "HTMLSlotElement"
11690
- },
11691
- "inheritedFrom": {
11692
- "name": "DialogElement",
11693
- "module": "src/dialog/dialog.ts"
11694
- }
11695
- },
11696
- {
11697
- "kind": "field",
11698
- "name": "notification",
11699
- "type": {
11700
- "text": "NotificationStructure"
11701
- },
11702
- "inheritedFrom": {
11703
- "name": "DialogElement",
11704
- "module": "src/dialog/dialog.ts"
11705
- }
11706
- },
11707
- {
11708
- "kind": "method",
11709
- "name": "notificationChanged",
11710
- "inheritedFrom": {
11711
- "name": "DialogElement",
11712
- "module": "src/dialog/dialog.ts"
11713
- }
11714
- },
11715
- {
11716
- "kind": "field",
11717
- "name": "type",
11718
- "type": {
11719
- "text": "DialogType"
11720
- },
11721
- "default": "'default'",
11722
- "inheritedFrom": {
11723
- "name": "DialogElement",
11724
- "module": "src/dialog/dialog.ts"
11725
- }
11726
- },
11727
- {
11728
- "kind": "field",
11729
- "name": "position",
11730
- "type": {
11731
- "text": "DialogPosition"
11732
- },
11733
- "default": "'center'",
11734
- "inheritedFrom": {
11735
- "name": "DialogElement",
11736
- "module": "src/dialog/dialog.ts"
11737
- }
11738
- },
11739
- {
11740
- "kind": "field",
11741
- "name": "showCloseIcon",
11742
- "type": {
11743
- "text": "boolean"
11744
- },
11745
- "default": "true",
11746
- "description": "Whether or not to show the close icon",
11747
- "inheritedFrom": {
11748
- "name": "DialogElement",
11749
- "module": "src/dialog/dialog.ts"
11750
- }
11751
- },
11752
- {
11753
- "kind": "field",
11754
- "name": "resizable",
11755
- "type": {
11756
- "text": "boolean"
11757
- },
11758
- "default": "false",
11759
- "description": "Whether or not the dialog is resizable",
11760
- "inheritedFrom": {
11761
- "name": "DialogElement",
11762
- "module": "src/dialog/dialog.ts"
11763
- }
11764
- },
11765
- {
11766
- "kind": "field",
11767
- "name": "draggable",
11768
- "type": {
11769
- "text": "boolean"
11770
- },
11771
- "default": "false",
11772
- "description": "Whether or not the dialog is draggable by its top region",
11773
- "inheritedFrom": {
11774
- "name": "DialogElement",
11775
- "module": "src/dialog/dialog.ts"
11776
- }
11777
- },
11778
- {
11779
- "kind": "method",
11780
- "name": "draggableChanged",
11781
- "parameters": [
11782
- {
11783
- "name": "_oldValue",
11784
- "type": {
11785
- "text": "boolean"
11786
- }
11787
- },
11788
- {
11789
- "name": "newValue",
11790
- "type": {
11791
- "text": "boolean"
11792
- }
11793
- }
11794
- ],
11795
- "inheritedFrom": {
11796
- "name": "DialogElement",
11797
- "module": "src/dialog/dialog.ts"
11798
- }
11799
- },
11800
- {
11801
- "kind": "field",
11802
- "name": "minWidth",
11803
- "type": {
11804
- "text": "number"
11805
- },
11806
- "default": "300",
11414
+ "default": "300",
11807
11415
  "description": "Minimum width for the dialog",
11808
11416
  "inheritedFrom": {
11809
11417
  "name": "DialogElement",
@@ -12339,178 +11947,604 @@
12339
11947
  "kind": "method",
12340
11948
  "name": "dismiss",
12341
11949
  "privacy": "public",
12342
- "description": "Dismiss the Dialog from display and calls the dismissing action.",
11950
+ "description": "Dismiss the Dialog from display and calls the dismissing action.",
11951
+ "inheritedFrom": {
11952
+ "name": "DialogElement",
11953
+ "module": "src/dialog/dialog.ts"
11954
+ }
11955
+ },
11956
+ {
11957
+ "kind": "method",
11958
+ "name": "closeDialog",
11959
+ "privacy": "public",
11960
+ "return": {
11961
+ "type": {
11962
+ "text": "void"
11963
+ }
11964
+ },
11965
+ "description": "Dismiss the Dialog from display.",
11966
+ "inheritedFrom": {
11967
+ "name": "DialogElement",
11968
+ "module": "src/dialog/dialog.ts"
11969
+ }
11970
+ },
11971
+ {
11972
+ "kind": "method",
11973
+ "name": "maximize",
11974
+ "privacy": "private",
11975
+ "return": {
11976
+ "type": {
11977
+ "text": "void"
11978
+ }
11979
+ },
11980
+ "description": "Maximize the dialog to fill the viewport.",
11981
+ "inheritedFrom": {
11982
+ "name": "DialogElement",
11983
+ "module": "src/dialog/dialog.ts"
11984
+ }
11985
+ },
11986
+ {
11987
+ "kind": "method",
11988
+ "name": "resetSize",
11989
+ "privacy": "public",
11990
+ "return": {
11991
+ "type": {
11992
+ "text": "void"
11993
+ }
11994
+ },
11995
+ "description": "Reset the dialog to its original size and position, or maximize if not resized.",
11996
+ "inheritedFrom": {
11997
+ "name": "DialogElement",
11998
+ "module": "src/dialog/dialog.ts"
11999
+ }
12000
+ },
12001
+ {
12002
+ "kind": "method",
12003
+ "name": "attachDragMouseDown",
12004
+ "privacy": "private",
12005
+ "inheritedFrom": {
12006
+ "name": "DialogElement",
12007
+ "module": "src/dialog/dialog.ts"
12008
+ }
12009
+ },
12010
+ {
12011
+ "kind": "method",
12012
+ "name": "detachDragMouseDown",
12013
+ "privacy": "private",
12014
+ "inheritedFrom": {
12015
+ "name": "DialogElement",
12016
+ "module": "src/dialog/dialog.ts"
12017
+ }
12018
+ },
12019
+ {
12020
+ "kind": "method",
12021
+ "name": "isEventTargetInDraggableTarget",
12022
+ "privacy": "private",
12023
+ "return": {
12024
+ "type": {
12025
+ "text": "boolean"
12026
+ }
12027
+ },
12028
+ "parameters": [
12029
+ {
12030
+ "name": "event",
12031
+ "type": {
12032
+ "text": "MouseEvent"
12033
+ }
12034
+ }
12035
+ ],
12036
+ "inheritedFrom": {
12037
+ "name": "DialogElement",
12038
+ "module": "src/dialog/dialog.ts"
12039
+ }
12040
+ },
12041
+ {
12042
+ "kind": "method",
12043
+ "name": "isInsideTopSlot",
12044
+ "privacy": "private",
12045
+ "return": {
12046
+ "type": {
12047
+ "text": "boolean"
12048
+ }
12049
+ },
12050
+ "parameters": [
12051
+ {
12052
+ "name": "target",
12053
+ "type": {
12054
+ "text": "Node"
12055
+ }
12056
+ }
12057
+ ],
12058
+ "inheritedFrom": {
12059
+ "name": "DialogElement",
12060
+ "module": "src/dialog/dialog.ts"
12061
+ }
12062
+ },
12063
+ {
12064
+ "kind": "method",
12065
+ "name": "onMouseDown",
12066
+ "privacy": "private",
12067
+ "parameters": [
12068
+ {
12069
+ "name": "event",
12070
+ "type": {
12071
+ "text": "MouseEvent"
12072
+ }
12073
+ }
12074
+ ],
12075
+ "inheritedFrom": {
12076
+ "name": "DialogElement",
12077
+ "module": "src/dialog/dialog.ts"
12078
+ }
12079
+ },
12080
+ {
12081
+ "kind": "method",
12082
+ "name": "onMouseMove",
12083
+ "privacy": "private",
12084
+ "parameters": [
12085
+ {
12086
+ "name": "event",
12087
+ "type": {
12088
+ "text": "MouseEvent"
12089
+ }
12090
+ }
12091
+ ],
12092
+ "inheritedFrom": {
12093
+ "name": "DialogElement",
12094
+ "module": "src/dialog/dialog.ts"
12095
+ }
12096
+ },
12097
+ {
12098
+ "kind": "method",
12099
+ "name": "onMouseUp",
12100
+ "privacy": "private",
12101
+ "inheritedFrom": {
12102
+ "name": "DialogElement",
12103
+ "module": "src/dialog/dialog.ts"
12104
+ }
12105
+ },
12106
+ {
12107
+ "kind": "method",
12108
+ "name": "removeDraggableEventListeners",
12109
+ "privacy": "private",
12110
+ "inheritedFrom": {
12111
+ "name": "DialogElement",
12112
+ "module": "src/dialog/dialog.ts"
12113
+ }
12114
+ },
12115
+ {
12116
+ "kind": "method",
12117
+ "name": "resetDraggableStyle",
12118
+ "privacy": "private",
12119
+ "inheritedFrom": {
12120
+ "name": "DialogElement",
12121
+ "module": "src/dialog/dialog.ts"
12122
+ }
12123
+ },
12124
+ {
12125
+ "kind": "field",
12126
+ "name": "_presentation",
12127
+ "type": {
12128
+ "text": "ComponentPresentation | null | undefined"
12129
+ },
12130
+ "privacy": "private",
12131
+ "default": "void 0",
12132
+ "inheritedFrom": {
12133
+ "name": "FoundationElement",
12134
+ "module": "src/foundation-element/foundation-element.ts"
12135
+ }
12136
+ },
12137
+ {
12138
+ "kind": "field",
12139
+ "name": "$presentation",
12140
+ "type": {
12141
+ "text": "ComponentPresentation | null"
12142
+ },
12143
+ "privacy": "public",
12144
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
12145
+ "inheritedFrom": {
12146
+ "name": "FoundationElement",
12147
+ "module": "src/foundation-element/foundation-element.ts"
12148
+ }
12149
+ },
12150
+ {
12151
+ "kind": "field",
12152
+ "name": "template",
12153
+ "type": {
12154
+ "text": "ElementViewTemplate | void | null"
12155
+ },
12156
+ "privacy": "public",
12157
+ "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.",
12158
+ "inheritedFrom": {
12159
+ "name": "FoundationElement",
12160
+ "module": "src/foundation-element/foundation-element.ts"
12161
+ }
12162
+ },
12163
+ {
12164
+ "kind": "method",
12165
+ "name": "templateChanged",
12166
+ "privacy": "protected",
12167
+ "return": {
12168
+ "type": {
12169
+ "text": "void"
12170
+ }
12171
+ },
12172
+ "inheritedFrom": {
12173
+ "name": "FoundationElement",
12174
+ "module": "src/foundation-element/foundation-element.ts"
12175
+ }
12176
+ },
12177
+ {
12178
+ "kind": "field",
12179
+ "name": "styles",
12180
+ "type": {
12181
+ "text": "ElementStyles | void | null"
12182
+ },
12183
+ "privacy": "public",
12184
+ "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.",
12185
+ "inheritedFrom": {
12186
+ "name": "FoundationElement",
12187
+ "module": "src/foundation-element/foundation-element.ts"
12188
+ }
12189
+ },
12190
+ {
12191
+ "kind": "method",
12192
+ "name": "stylesChanged",
12193
+ "privacy": "protected",
12194
+ "return": {
12195
+ "type": {
12196
+ "text": "void"
12197
+ }
12198
+ },
12199
+ "inheritedFrom": {
12200
+ "name": "FoundationElement",
12201
+ "module": "src/foundation-element/foundation-element.ts"
12202
+ }
12203
+ },
12204
+ {
12205
+ "kind": "method",
12206
+ "name": "compose",
12207
+ "privacy": "public",
12208
+ "static": true,
12209
+ "return": {
12210
+ "type": {
12211
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
12212
+ }
12213
+ },
12214
+ "parameters": [
12215
+ {
12216
+ "name": "this",
12217
+ "type": {
12218
+ "text": "K"
12219
+ }
12220
+ },
12221
+ {
12222
+ "name": "elementDefinition",
12223
+ "type": {
12224
+ "text": "T"
12225
+ },
12226
+ "description": "The definition of the element to create the registry\nfunction for."
12227
+ }
12228
+ ],
12229
+ "description": "Defines an element registry function with a set of element definition defaults.",
12230
+ "inheritedFrom": {
12231
+ "name": "FoundationElement",
12232
+ "module": "src/foundation-element/foundation-element.ts"
12233
+ }
12234
+ }
12235
+ ],
12236
+ "events": [
12237
+ {
12238
+ "description": "Fired when the dialog closes",
12239
+ "name": "close",
12240
+ "inheritedFrom": {
12241
+ "name": "Dialog",
12242
+ "module": "src/dialog/dialog.ts"
12243
+ }
12244
+ },
12245
+ {
12246
+ "description": "Fired when the dialog size changes (resizable mode). detail: `ResizeEventDetail`",
12247
+ "name": "resize",
12248
+ "inheritedFrom": {
12249
+ "name": "Dialog",
12250
+ "module": "src/dialog/dialog.ts"
12251
+ }
12252
+ }
12253
+ ]
12254
+ },
12255
+ {
12256
+ "kind": "variable",
12257
+ "name": "rapidDialog",
12258
+ "description": "The Rapid Dialog",
12259
+ "privacy": "public"
12260
+ }
12261
+ ],
12262
+ "exports": [
12263
+ {
12264
+ "kind": "js",
12265
+ "name": "defaultDialogConfig",
12266
+ "declaration": {
12267
+ "name": "defaultDialogConfig",
12268
+ "module": "src/dialog/dialog.ts"
12269
+ }
12270
+ },
12271
+ {
12272
+ "kind": "js",
12273
+ "name": "rapidDialogTemplate",
12274
+ "declaration": {
12275
+ "name": "rapidDialogTemplate",
12276
+ "module": "src/dialog/dialog.ts"
12277
+ }
12278
+ },
12279
+ {
12280
+ "kind": "js",
12281
+ "name": "rapidDialogShadowOptions",
12282
+ "declaration": {
12283
+ "name": "rapidDialogShadowOptions",
12284
+ "module": "src/dialog/dialog.ts"
12285
+ }
12286
+ },
12287
+ {
12288
+ "kind": "js",
12289
+ "name": "Dialog",
12290
+ "declaration": {
12291
+ "name": "Dialog",
12292
+ "module": "src/dialog/dialog.ts"
12293
+ }
12294
+ },
12295
+ {
12296
+ "kind": "js",
12297
+ "name": "rapidDialog",
12298
+ "declaration": {
12299
+ "name": "rapidDialog",
12300
+ "module": "src/dialog/dialog.ts"
12301
+ }
12302
+ }
12303
+ ]
12304
+ },
12305
+ {
12306
+ "kind": "javascript-module",
12307
+ "path": "src/dialog/index.ts",
12308
+ "declarations": [],
12309
+ "exports": [
12310
+ {
12311
+ "kind": "js",
12312
+ "name": "*",
12313
+ "declaration": {
12314
+ "name": "*",
12315
+ "package": "./dialog"
12316
+ }
12317
+ },
12318
+ {
12319
+ "kind": "js",
12320
+ "name": "*",
12321
+ "declaration": {
12322
+ "name": "*",
12323
+ "package": "./dialog.styles"
12324
+ }
12325
+ },
12326
+ {
12327
+ "kind": "js",
12328
+ "name": "rapidDialogTemplate",
12329
+ "declaration": {
12330
+ "name": "foundationDialogTemplate",
12331
+ "package": "@genesislcap/foundation-ui"
12332
+ }
12333
+ }
12334
+ ]
12335
+ },
12336
+ {
12337
+ "kind": "javascript-module",
12338
+ "path": "src/disclosure/disclosure.styles.ts",
12339
+ "declarations": [
12340
+ {
12341
+ "kind": "function",
12342
+ "name": "rapidDisclosureStyles",
12343
+ "return": {
12344
+ "type": {
12345
+ "text": "ElementStyles"
12346
+ }
12347
+ },
12348
+ "parameters": [
12349
+ {
12350
+ "name": "context",
12351
+ "type": {
12352
+ "text": "ElementDefinitionContext"
12353
+ }
12354
+ },
12355
+ {
12356
+ "name": "definition",
12357
+ "type": {
12358
+ "text": "FoundationElementDefinition"
12359
+ }
12360
+ }
12361
+ ]
12362
+ }
12363
+ ],
12364
+ "exports": [
12365
+ {
12366
+ "kind": "js",
12367
+ "name": "rapidDisclosureStyles",
12368
+ "declaration": {
12369
+ "name": "rapidDisclosureStyles",
12370
+ "module": "src/disclosure/disclosure.styles.ts"
12371
+ }
12372
+ }
12373
+ ]
12374
+ },
12375
+ {
12376
+ "kind": "javascript-module",
12377
+ "path": "src/disclosure/disclosure.template.ts",
12378
+ "declarations": [
12379
+ {
12380
+ "kind": "function",
12381
+ "name": "rapidDisclosureTemplate",
12382
+ "return": {
12383
+ "type": {
12384
+ "text": "ViewTemplate<Disclosure>"
12385
+ }
12386
+ },
12387
+ "parameters": [
12388
+ {
12389
+ "name": "context",
12390
+ "type": {
12391
+ "text": "ElementDefinitionContext"
12392
+ }
12393
+ },
12394
+ {
12395
+ "name": "definition",
12396
+ "type": {
12397
+ "text": "FoundationElementDefinition"
12398
+ }
12399
+ }
12400
+ ]
12401
+ }
12402
+ ],
12403
+ "exports": [
12404
+ {
12405
+ "kind": "js",
12406
+ "name": "rapidDisclosureTemplate",
12407
+ "declaration": {
12408
+ "name": "rapidDisclosureTemplate",
12409
+ "module": "src/disclosure/disclosure.template.ts"
12410
+ }
12411
+ }
12412
+ ]
12413
+ },
12414
+ {
12415
+ "kind": "javascript-module",
12416
+ "path": "src/disclosure/disclosure.ts",
12417
+ "declarations": [
12418
+ {
12419
+ "kind": "class",
12420
+ "description": "",
12421
+ "name": "Disclosure",
12422
+ "superclass": {
12423
+ "name": "FoundationDisclosure",
12424
+ "package": "@genesislcap/foundation-ui"
12425
+ },
12426
+ "tagName": "%%prefix%%-disclosure",
12427
+ "customElement": true,
12428
+ "attributes": [
12429
+ {
12430
+ "type": {
12431
+ "text": "boolean"
12432
+ },
12433
+ "description": "Determines if the element should show the extra content or not.",
12434
+ "fieldName": "expanded",
12435
+ "inheritedFrom": {
12436
+ "name": "Disclosure",
12437
+ "module": "src/disclosure/disclosure.ts"
12438
+ }
12439
+ },
12440
+ {
12441
+ "name": "title",
12442
+ "type": {
12443
+ "text": "string"
12444
+ },
12445
+ "description": "Invoker title",
12446
+ "fieldName": "title",
12447
+ "inheritedFrom": {
12448
+ "name": "Disclosure",
12449
+ "module": "src/disclosure/disclosure.ts"
12450
+ }
12451
+ }
12452
+ ],
12453
+ "members": [
12454
+ {
12455
+ "kind": "field",
12456
+ "name": "expanded",
12457
+ "type": {
12458
+ "text": "boolean"
12459
+ },
12460
+ "privacy": "public",
12461
+ "description": "Determines if the element should show the extra content or not.",
12343
12462
  "inheritedFrom": {
12344
- "name": "DialogElement",
12345
- "module": "src/dialog/dialog.ts"
12463
+ "name": "Disclosure",
12464
+ "module": "src/disclosure/disclosure.ts"
12346
12465
  }
12347
12466
  },
12348
12467
  {
12349
- "kind": "method",
12350
- "name": "closeDialog",
12351
- "privacy": "public",
12352
- "return": {
12353
- "type": {
12354
- "text": "void"
12355
- }
12468
+ "kind": "field",
12469
+ "name": "title",
12470
+ "type": {
12471
+ "text": "string"
12356
12472
  },
12357
- "description": "Dismiss the Dialog from display.",
12473
+ "privacy": "public",
12474
+ "description": "Invoker title",
12358
12475
  "inheritedFrom": {
12359
- "name": "DialogElement",
12360
- "module": "src/dialog/dialog.ts"
12476
+ "name": "Disclosure",
12477
+ "module": "src/disclosure/disclosure.ts"
12361
12478
  }
12362
12479
  },
12363
12480
  {
12364
12481
  "kind": "method",
12365
- "name": "maximize",
12366
- "privacy": "private",
12482
+ "name": "show",
12483
+ "privacy": "public",
12367
12484
  "return": {
12368
12485
  "type": {
12369
12486
  "text": "void"
12370
12487
  }
12371
12488
  },
12372
- "description": "Maximize the dialog to fill the viewport.",
12489
+ "description": "Show extra content.",
12373
12490
  "inheritedFrom": {
12374
- "name": "DialogElement",
12375
- "module": "src/dialog/dialog.ts"
12491
+ "name": "Disclosure",
12492
+ "module": "src/disclosure/disclosure.ts"
12376
12493
  }
12377
12494
  },
12378
12495
  {
12379
12496
  "kind": "method",
12380
- "name": "resetSize",
12497
+ "name": "hide",
12381
12498
  "privacy": "public",
12382
12499
  "return": {
12383
12500
  "type": {
12384
12501
  "text": "void"
12385
12502
  }
12386
12503
  },
12387
- "description": "Reset the dialog to its original size and position, or maximize if not resized.",
12388
- "inheritedFrom": {
12389
- "name": "DialogElement",
12390
- "module": "src/dialog/dialog.ts"
12391
- }
12392
- },
12393
- {
12394
- "kind": "method",
12395
- "name": "attachDragMouseDown",
12396
- "privacy": "private",
12397
- "inheritedFrom": {
12398
- "name": "DialogElement",
12399
- "module": "src/dialog/dialog.ts"
12400
- }
12401
- },
12402
- {
12403
- "kind": "method",
12404
- "name": "detachDragMouseDown",
12405
- "privacy": "private",
12504
+ "description": "Hide extra content.",
12406
12505
  "inheritedFrom": {
12407
- "name": "DialogElement",
12408
- "module": "src/dialog/dialog.ts"
12506
+ "name": "Disclosure",
12507
+ "module": "src/disclosure/disclosure.ts"
12409
12508
  }
12410
12509
  },
12411
12510
  {
12412
12511
  "kind": "method",
12413
- "name": "isEventTargetInDraggableTarget",
12414
- "privacy": "private",
12512
+ "name": "toggle",
12513
+ "privacy": "public",
12415
12514
  "return": {
12416
12515
  "type": {
12417
- "text": "boolean"
12516
+ "text": "void"
12418
12517
  }
12419
12518
  },
12420
- "parameters": [
12421
- {
12422
- "name": "event",
12423
- "type": {
12424
- "text": "MouseEvent"
12425
- }
12426
- }
12427
- ],
12519
+ "description": "Toggle the current(expanded/collapsed) state.",
12428
12520
  "inheritedFrom": {
12429
- "name": "DialogElement",
12430
- "module": "src/dialog/dialog.ts"
12521
+ "name": "Disclosure",
12522
+ "module": "src/disclosure/disclosure.ts"
12431
12523
  }
12432
12524
  },
12433
12525
  {
12434
12526
  "kind": "method",
12435
- "name": "isInsideTopSlot",
12436
- "privacy": "private",
12527
+ "name": "setup",
12528
+ "privacy": "protected",
12437
12529
  "return": {
12438
12530
  "type": {
12439
- "text": "boolean"
12531
+ "text": "void"
12440
12532
  }
12441
12533
  },
12442
- "parameters": [
12443
- {
12444
- "name": "target",
12445
- "type": {
12446
- "text": "Node"
12447
- }
12448
- }
12449
- ],
12450
- "inheritedFrom": {
12451
- "name": "DialogElement",
12452
- "module": "src/dialog/dialog.ts"
12453
- }
12454
- },
12455
- {
12456
- "kind": "method",
12457
- "name": "onMouseDown",
12458
- "privacy": "private",
12459
- "parameters": [
12460
- {
12461
- "name": "event",
12462
- "type": {
12463
- "text": "MouseEvent"
12464
- }
12465
- }
12466
- ],
12467
- "inheritedFrom": {
12468
- "name": "DialogElement",
12469
- "module": "src/dialog/dialog.ts"
12470
- }
12471
- },
12472
- {
12473
- "kind": "method",
12474
- "name": "onMouseMove",
12475
- "privacy": "private",
12476
- "parameters": [
12477
- {
12478
- "name": "event",
12479
- "type": {
12480
- "text": "MouseEvent"
12481
- }
12482
- }
12483
- ],
12484
- "inheritedFrom": {
12485
- "name": "DialogElement",
12486
- "module": "src/dialog/dialog.ts"
12487
- }
12488
- },
12489
- {
12490
- "kind": "method",
12491
- "name": "onMouseUp",
12492
- "privacy": "private",
12493
- "inheritedFrom": {
12494
- "name": "DialogElement",
12495
- "module": "src/dialog/dialog.ts"
12496
- }
12497
- },
12498
- {
12499
- "kind": "method",
12500
- "name": "removeDraggableEventListeners",
12501
- "privacy": "private",
12534
+ "description": "Register listener and set default disclosure mode",
12502
12535
  "inheritedFrom": {
12503
- "name": "DialogElement",
12504
- "module": "src/dialog/dialog.ts"
12536
+ "name": "Disclosure",
12537
+ "module": "src/disclosure/disclosure.ts"
12505
12538
  }
12506
12539
  },
12507
12540
  {
12508
12541
  "kind": "method",
12509
- "name": "resetDraggableStyle",
12510
- "privacy": "private",
12542
+ "name": "onToggle",
12543
+ "privacy": "protected",
12544
+ "description": "Update the aria attr and fire `toggle` event",
12511
12545
  "inheritedFrom": {
12512
- "name": "DialogElement",
12513
- "module": "src/dialog/dialog.ts"
12546
+ "name": "Disclosure",
12547
+ "module": "src/disclosure/disclosure.ts"
12514
12548
  }
12515
12549
  },
12516
12550
  {
@@ -12522,8 +12556,8 @@
12522
12556
  "privacy": "private",
12523
12557
  "default": "void 0",
12524
12558
  "inheritedFrom": {
12525
- "name": "FoundationElement",
12526
- "module": "src/foundation-element/foundation-element.ts"
12559
+ "name": "Disclosure",
12560
+ "module": "src/disclosure/disclosure.ts"
12527
12561
  }
12528
12562
  },
12529
12563
  {
@@ -12535,8 +12569,8 @@
12535
12569
  "privacy": "public",
12536
12570
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
12537
12571
  "inheritedFrom": {
12538
- "name": "FoundationElement",
12539
- "module": "src/foundation-element/foundation-element.ts"
12572
+ "name": "Disclosure",
12573
+ "module": "src/disclosure/disclosure.ts"
12540
12574
  }
12541
12575
  },
12542
12576
  {
@@ -12548,8 +12582,8 @@
12548
12582
  "privacy": "public",
12549
12583
  "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.",
12550
12584
  "inheritedFrom": {
12551
- "name": "FoundationElement",
12552
- "module": "src/foundation-element/foundation-element.ts"
12585
+ "name": "Disclosure",
12586
+ "module": "src/disclosure/disclosure.ts"
12553
12587
  }
12554
12588
  },
12555
12589
  {
@@ -12562,8 +12596,8 @@
12562
12596
  }
12563
12597
  },
12564
12598
  "inheritedFrom": {
12565
- "name": "FoundationElement",
12566
- "module": "src/foundation-element/foundation-element.ts"
12599
+ "name": "Disclosure",
12600
+ "module": "src/disclosure/disclosure.ts"
12567
12601
  }
12568
12602
  },
12569
12603
  {
@@ -12575,8 +12609,8 @@
12575
12609
  "privacy": "public",
12576
12610
  "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.",
12577
12611
  "inheritedFrom": {
12578
- "name": "FoundationElement",
12579
- "module": "src/foundation-element/foundation-element.ts"
12612
+ "name": "Disclosure",
12613
+ "module": "src/disclosure/disclosure.ts"
12580
12614
  }
12581
12615
  },
12582
12616
  {
@@ -12589,8 +12623,8 @@
12589
12623
  }
12590
12624
  },
12591
12625
  "inheritedFrom": {
12592
- "name": "FoundationElement",
12593
- "module": "src/foundation-element/foundation-element.ts"
12626
+ "name": "Disclosure",
12627
+ "module": "src/disclosure/disclosure.ts"
12594
12628
  }
12595
12629
  },
12596
12630
  {
@@ -12620,83 +12654,49 @@
12620
12654
  ],
12621
12655
  "description": "Defines an element registry function with a set of element definition defaults.",
12622
12656
  "inheritedFrom": {
12623
- "name": "FoundationElement",
12624
- "module": "src/foundation-element/foundation-element.ts"
12657
+ "name": "Disclosure",
12658
+ "module": "src/disclosure/disclosure.ts"
12625
12659
  }
12626
12660
  }
12627
12661
  ],
12628
12662
  "events": [
12629
12663
  {
12630
- "description": "Fired when the dialog closes",
12631
- "name": "close",
12632
- "inheritedFrom": {
12633
- "name": "Dialog",
12634
- "module": "src/dialog/dialog.ts"
12635
- }
12636
- },
12637
- {
12638
- "description": "Fired when the dialog size changes (resizable mode). detail: `ResizeEventDetail`",
12639
- "name": "resize",
12664
+ "description": "fires a toggle event when the summary is toggled",
12665
+ "name": "toggle",
12640
12666
  "inheritedFrom": {
12641
- "name": "Dialog",
12642
- "module": "src/dialog/dialog.ts"
12667
+ "name": "Disclosure",
12668
+ "module": "src/disclosure/disclosure.ts"
12643
12669
  }
12644
12670
  }
12645
12671
  ]
12646
12672
  },
12647
12673
  {
12648
12674
  "kind": "variable",
12649
- "name": "rapidDialog",
12650
- "description": "The Rapid Dialog",
12651
- "privacy": "public"
12675
+ "name": "rapidDisclosure"
12652
12676
  }
12653
12677
  ],
12654
12678
  "exports": [
12655
12679
  {
12656
12680
  "kind": "js",
12657
- "name": "defaultDialogConfig",
12658
- "declaration": {
12659
- "name": "defaultDialogConfig",
12660
- "module": "src/dialog/dialog.ts"
12661
- }
12662
- },
12663
- {
12664
- "kind": "js",
12665
- "name": "rapidDialogTemplate",
12666
- "declaration": {
12667
- "name": "rapidDialogTemplate",
12668
- "module": "src/dialog/dialog.ts"
12669
- }
12670
- },
12671
- {
12672
- "kind": "js",
12673
- "name": "rapidDialogShadowOptions",
12674
- "declaration": {
12675
- "name": "rapidDialogShadowOptions",
12676
- "module": "src/dialog/dialog.ts"
12677
- }
12678
- },
12679
- {
12680
- "kind": "js",
12681
- "name": "Dialog",
12681
+ "name": "Disclosure",
12682
12682
  "declaration": {
12683
- "name": "Dialog",
12684
- "module": "src/dialog/dialog.ts"
12683
+ "name": "Disclosure",
12684
+ "module": "src/disclosure/disclosure.ts"
12685
12685
  }
12686
12686
  },
12687
12687
  {
12688
12688
  "kind": "js",
12689
- "name": "rapidDialog",
12689
+ "name": "rapidDisclosure",
12690
12690
  "declaration": {
12691
- "name": "rapidDialog",
12692
- "module": "src/dialog/dialog.ts"
12691
+ "name": "rapidDisclosure",
12692
+ "module": "src/disclosure/disclosure.ts"
12693
12693
  }
12694
12694
  }
12695
12695
  ]
12696
12696
  },
12697
12697
  {
12698
12698
  "kind": "javascript-module",
12699
- "path": "src/dialog/index.ts",
12699
+ "path": "src/disclosure/index.ts",
12700
12700
  "declarations": [],
12701
12701
  "exports": [
12702
12702
  {
@@ -12704,7 +12704,7 @@
12704
12704
  "name": "*",
12705
12705
  "declaration": {
12706
12706
  "name": "*",
12707
- "package": "./dialog"
12707
+ "package": "./disclosure"
12708
12708
  }
12709
12709
  },
12710
12710
  {
@@ -12712,15 +12712,15 @@
12712
12712
  "name": "*",
12713
12713
  "declaration": {
12714
12714
  "name": "*",
12715
- "package": "./dialog.styles"
12715
+ "package": "./disclosure.styles"
12716
12716
  }
12717
12717
  },
12718
12718
  {
12719
12719
  "kind": "js",
12720
- "name": "rapidDialogTemplate",
12720
+ "name": "*",
12721
12721
  "declaration": {
12722
- "name": "foundationDialogTemplate",
12723
- "package": "@genesislcap/foundation-ui"
12722
+ "name": "*",
12723
+ "package": "./disclosure.template"
12724
12724
  }
12725
12725
  }
12726
12726
  ]