@genesislcap/rapid-design-system 15.84.2 → 15.84.3

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,334 +11084,726 @@
11084
11084
  },
11085
11085
  {
11086
11086
  "kind": "javascript-module",
11087
- "path": "src/dialog/dialog.styles.ts",
11087
+ "path": "src/disclosure/disclosure.styles.ts",
11088
11088
  "declarations": [
11089
11089
  {
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`"
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
+ ]
11093
11111
  }
11094
11112
  ],
11095
11113
  "exports": [
11096
11114
  {
11097
11115
  "kind": "js",
11098
- "name": "rapidDialogStyles",
11116
+ "name": "rapidDisclosureStyles",
11099
11117
  "declaration": {
11100
- "name": "rapidDialogStyles",
11101
- "module": "src/dialog/dialog.styles.ts"
11118
+ "name": "rapidDisclosureStyles",
11119
+ "module": "src/disclosure/disclosure.styles.ts"
11102
11120
  }
11103
11121
  }
11104
11122
  ]
11105
11123
  },
11106
11124
  {
11107
11125
  "kind": "javascript-module",
11108
- "path": "src/dialog/dialog.ts",
11126
+ "path": "src/disclosure/disclosure.template.ts",
11109
11127
  "declarations": [
11110
11128
  {
11111
- "kind": "variable",
11112
- "name": "defaultDialogConfig",
11113
- "default": "foundationConfig"
11114
- },
11115
- {
11116
- "kind": "variable",
11117
- "name": "rapidDialogTemplate",
11118
- "default": "foundationDialogTemplate"
11119
- },
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": [
11120
11153
  {
11121
- "kind": "variable",
11122
- "name": "rapidDialogShadowOptions",
11123
- "default": "foundationDialogShadowOptions"
11124
- },
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": [
11125
11167
  {
11126
11168
  "kind": "class",
11127
11169
  "description": "",
11128
- "name": "Dialog",
11170
+ "name": "Disclosure",
11129
11171
  "superclass": {
11130
- "name": "FoundationDialog",
11172
+ "name": "FoundationDisclosure",
11131
11173
  "package": "@genesislcap/foundation-ui"
11132
11174
  },
11133
- "tagName": "%%prefix%%-dialog",
11175
+ "tagName": "%%prefix%%-disclosure",
11134
11176
  "customElement": true,
11135
11177
  "attributes": [
11136
11178
  {
11137
- "name": "type",
11138
- "type": {
11139
- "text": "DialogType"
11140
- },
11141
- "default": "'default'",
11142
- "fieldName": "type",
11143
- "inheritedFrom": {
11144
- "name": "DialogElement",
11145
- "module": "src/dialog/dialog.ts"
11146
- }
11147
- },
11148
- {
11149
- "name": "position",
11150
- "type": {
11151
- "text": "DialogPosition"
11152
- },
11153
- "default": "'center'",
11154
- "fieldName": "position",
11155
- "inheritedFrom": {
11156
- "name": "DialogElement",
11157
- "module": "src/dialog/dialog.ts"
11158
- }
11159
- },
11160
- {
11161
- "name": "show-close-icon",
11162
11179
  "type": {
11163
11180
  "text": "boolean"
11164
11181
  },
11165
- "default": "true",
11166
- "description": "Whether or not to show the close icon",
11167
- "fieldName": "showCloseIcon",
11182
+ "description": "Determines if the element should show the extra content or not.",
11183
+ "fieldName": "expanded",
11168
11184
  "inheritedFrom": {
11169
- "name": "DialogElement",
11170
- "module": "src/dialog/dialog.ts"
11185
+ "name": "Disclosure",
11186
+ "module": "src/disclosure/disclosure.ts"
11171
11187
  }
11172
11188
  },
11173
11189
  {
11174
- "name": "resizable",
11190
+ "name": "title",
11175
11191
  "type": {
11176
- "text": "boolean"
11192
+ "text": "string"
11177
11193
  },
11178
- "default": "false",
11179
- "description": "Whether or not the dialog is resizable",
11180
- "fieldName": "resizable",
11194
+ "description": "Invoker title",
11195
+ "fieldName": "title",
11181
11196
  "inheritedFrom": {
11182
- "name": "DialogElement",
11183
- "module": "src/dialog/dialog.ts"
11197
+ "name": "Disclosure",
11198
+ "module": "src/disclosure/disclosure.ts"
11184
11199
  }
11185
- },
11200
+ }
11201
+ ],
11202
+ "members": [
11186
11203
  {
11204
+ "kind": "field",
11205
+ "name": "expanded",
11187
11206
  "type": {
11188
11207
  "text": "boolean"
11189
11208
  },
11190
- "default": "false",
11191
- "description": "Whether or not the dialog is draggable by its top region",
11192
- "fieldName": "draggable",
11209
+ "privacy": "public",
11210
+ "description": "Determines if the element should show the extra content or not.",
11193
11211
  "inheritedFrom": {
11194
- "name": "DialogElement",
11195
- "module": "src/dialog/dialog.ts"
11212
+ "name": "Disclosure",
11213
+ "module": "src/disclosure/disclosure.ts"
11196
11214
  }
11197
11215
  },
11198
11216
  {
11199
- "name": "min-width",
11217
+ "kind": "field",
11218
+ "name": "title",
11200
11219
  "type": {
11201
- "text": "number"
11202
- },
11203
- "default": "MIN_WIDTH",
11204
- "description": "Minimum width for the dialog",
11205
- "resolveInitializer": {
11206
- "module": "src/dialog/dialog.ts"
11220
+ "text": "string"
11207
11221
  },
11208
- "fieldName": "minWidth",
11222
+ "privacy": "public",
11223
+ "description": "Invoker title",
11209
11224
  "inheritedFrom": {
11210
- "name": "DialogElement",
11211
- "module": "src/dialog/dialog.ts"
11225
+ "name": "Disclosure",
11226
+ "module": "src/disclosure/disclosure.ts"
11212
11227
  }
11213
11228
  },
11214
11229
  {
11215
- "name": "min-height",
11216
- "type": {
11217
- "text": "number"
11218
- },
11219
- "default": "MIN_HEIGHT",
11220
- "description": "Minimum height for the dialog",
11221
- "resolveInitializer": {
11222
- "module": "src/dialog/dialog.ts"
11230
+ "kind": "method",
11231
+ "name": "show",
11232
+ "privacy": "public",
11233
+ "return": {
11234
+ "type": {
11235
+ "text": "void"
11236
+ }
11223
11237
  },
11224
- "fieldName": "minHeight",
11238
+ "description": "Show extra content.",
11225
11239
  "inheritedFrom": {
11226
- "name": "DialogElement",
11227
- "module": "src/dialog/dialog.ts"
11240
+ "name": "Disclosure",
11241
+ "module": "src/disclosure/disclosure.ts"
11228
11242
  }
11229
11243
  },
11230
11244
  {
11231
- "name": "initial-width",
11232
- "type": {
11233
- "text": "number | undefined"
11245
+ "kind": "method",
11246
+ "name": "hide",
11247
+ "privacy": "public",
11248
+ "return": {
11249
+ "type": {
11250
+ "text": "void"
11251
+ }
11234
11252
  },
11235
- "description": "Initial width for the dialog (cannot exceed viewport width)",
11236
- "fieldName": "initialWidth",
11253
+ "description": "Hide extra content.",
11237
11254
  "inheritedFrom": {
11238
- "name": "DialogElement",
11239
- "module": "src/dialog/dialog.ts"
11255
+ "name": "Disclosure",
11256
+ "module": "src/disclosure/disclosure.ts"
11240
11257
  }
11241
11258
  },
11242
11259
  {
11243
- "name": "initial-height",
11244
- "type": {
11245
- "text": "number | undefined"
11260
+ "kind": "method",
11261
+ "name": "toggle",
11262
+ "privacy": "public",
11263
+ "return": {
11264
+ "type": {
11265
+ "text": "void"
11266
+ }
11246
11267
  },
11247
- "description": "Initial height for the dialog (cannot exceed viewport height)",
11248
- "fieldName": "initialHeight",
11268
+ "description": "Toggle the current(expanded/collapsed) state.",
11249
11269
  "inheritedFrom": {
11250
- "name": "DialogElement",
11251
- "module": "src/dialog/dialog.ts"
11270
+ "name": "Disclosure",
11271
+ "module": "src/disclosure/disclosure.ts"
11252
11272
  }
11253
- }
11254
- ],
11255
- "members": [
11273
+ },
11256
11274
  {
11257
11275
  "kind": "method",
11258
- "name": "show",
11276
+ "name": "setup",
11277
+ "privacy": "protected",
11259
11278
  "return": {
11260
11279
  "type": {
11261
11280
  "text": "void"
11262
11281
  }
11263
11282
  },
11264
- "description": "Show the HTMLDialogElement and its contents",
11283
+ "description": "Register listener and set default disclosure mode",
11265
11284
  "inheritedFrom": {
11266
- "name": "DialogElement",
11267
- "module": "src/dialog/dialog.ts"
11285
+ "name": "Disclosure",
11286
+ "module": "src/disclosure/disclosure.ts"
11268
11287
  }
11269
11288
  },
11270
11289
  {
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.",
11290
+ "kind": "method",
11291
+ "name": "onToggle",
11292
+ "privacy": "protected",
11293
+ "description": "Update the aria attr and fire `toggle` event",
11277
11294
  "inheritedFrom": {
11278
- "name": "DialogElement",
11279
- "module": "src/dialog/dialog.ts"
11295
+ "name": "Disclosure",
11296
+ "module": "src/disclosure/disclosure.ts"
11280
11297
  }
11281
11298
  },
11282
11299
  {
11283
11300
  "kind": "field",
11284
- "name": "topElement",
11301
+ "name": "_presentation",
11285
11302
  "type": {
11286
- "text": "HTMLElement"
11303
+ "text": "ComponentPresentation | null | undefined"
11287
11304
  },
11288
- "inheritedFrom": {
11289
- "name": "DialogElement",
11290
- "module": "src/dialog/dialog.ts"
11305
+ "privacy": "private",
11306
+ "default": "void 0",
11307
+ "inheritedFrom": {
11308
+ "name": "Disclosure",
11309
+ "module": "src/disclosure/disclosure.ts"
11291
11310
  }
11292
11311
  },
11293
11312
  {
11294
11313
  "kind": "field",
11295
- "name": "topElementSlot",
11314
+ "name": "$presentation",
11296
11315
  "type": {
11297
- "text": "HTMLSlotElement"
11316
+ "text": "ComponentPresentation | null"
11298
11317
  },
11318
+ "privacy": "public",
11319
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
11299
11320
  "inheritedFrom": {
11300
- "name": "DialogElement",
11301
- "module": "src/dialog/dialog.ts"
11321
+ "name": "Disclosure",
11322
+ "module": "src/disclosure/disclosure.ts"
11302
11323
  }
11303
11324
  },
11304
11325
  {
11305
11326
  "kind": "field",
11306
- "name": "notification",
11327
+ "name": "template",
11307
11328
  "type": {
11308
- "text": "NotificationStructure"
11329
+ "text": "ElementViewTemplate | void | null"
11309
11330
  },
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.",
11310
11333
  "inheritedFrom": {
11311
- "name": "DialogElement",
11312
- "module": "src/dialog/dialog.ts"
11334
+ "name": "Disclosure",
11335
+ "module": "src/disclosure/disclosure.ts"
11313
11336
  }
11314
11337
  },
11315
11338
  {
11316
11339
  "kind": "method",
11317
- "name": "notificationChanged",
11340
+ "name": "templateChanged",
11341
+ "privacy": "protected",
11342
+ "return": {
11343
+ "type": {
11344
+ "text": "void"
11345
+ }
11346
+ },
11318
11347
  "inheritedFrom": {
11319
- "name": "DialogElement",
11320
- "module": "src/dialog/dialog.ts"
11348
+ "name": "Disclosure",
11349
+ "module": "src/disclosure/disclosure.ts"
11321
11350
  }
11322
11351
  },
11323
11352
  {
11324
11353
  "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
+ {
11325
11529
  "name": "type",
11326
11530
  "type": {
11327
11531
  "text": "DialogType"
11328
11532
  },
11329
11533
  "default": "'default'",
11534
+ "fieldName": "type",
11330
11535
  "inheritedFrom": {
11331
11536
  "name": "DialogElement",
11332
11537
  "module": "src/dialog/dialog.ts"
11333
11538
  }
11334
11539
  },
11335
11540
  {
11336
- "kind": "field",
11337
11541
  "name": "position",
11338
11542
  "type": {
11339
11543
  "text": "DialogPosition"
11340
11544
  },
11341
11545
  "default": "'center'",
11546
+ "fieldName": "position",
11342
11547
  "inheritedFrom": {
11343
11548
  "name": "DialogElement",
11344
11549
  "module": "src/dialog/dialog.ts"
11345
11550
  }
11346
11551
  },
11347
11552
  {
11348
- "kind": "field",
11349
- "name": "showCloseIcon",
11553
+ "name": "show-close-icon",
11350
11554
  "type": {
11351
11555
  "text": "boolean"
11352
11556
  },
11353
11557
  "default": "true",
11354
11558
  "description": "Whether or not to show the close icon",
11559
+ "fieldName": "showCloseIcon",
11355
11560
  "inheritedFrom": {
11356
11561
  "name": "DialogElement",
11357
11562
  "module": "src/dialog/dialog.ts"
11358
11563
  }
11359
11564
  },
11360
11565
  {
11361
- "kind": "field",
11362
11566
  "name": "resizable",
11363
11567
  "type": {
11364
11568
  "text": "boolean"
11365
11569
  },
11366
11570
  "default": "false",
11367
11571
  "description": "Whether or not the dialog is resizable",
11572
+ "fieldName": "resizable",
11368
11573
  "inheritedFrom": {
11369
11574
  "name": "DialogElement",
11370
11575
  "module": "src/dialog/dialog.ts"
11371
11576
  }
11372
11577
  },
11373
11578
  {
11374
- "kind": "field",
11375
- "name": "draggable",
11376
11579
  "type": {
11377
11580
  "text": "boolean"
11378
11581
  },
11379
11582
  "default": "false",
11380
11583
  "description": "Whether or not the dialog is draggable by its top region",
11584
+ "fieldName": "draggable",
11381
11585
  "inheritedFrom": {
11382
11586
  "name": "DialogElement",
11383
11587
  "module": "src/dialog/dialog.ts"
11384
11588
  }
11385
11589
  },
11386
11590
  {
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
- ],
11591
+ "name": "min-width",
11592
+ "type": {
11593
+ "text": "number"
11594
+ },
11595
+ "default": "MIN_WIDTH",
11596
+ "description": "Minimum width for the dialog",
11597
+ "resolveInitializer": {
11598
+ "module": "src/dialog/dialog.ts"
11599
+ },
11600
+ "fieldName": "minWidth",
11403
11601
  "inheritedFrom": {
11404
11602
  "name": "DialogElement",
11405
11603
  "module": "src/dialog/dialog.ts"
11406
11604
  }
11407
11605
  },
11408
11606
  {
11409
- "kind": "field",
11410
- "name": "minWidth",
11607
+ "name": "min-height",
11411
11608
  "type": {
11412
11609
  "text": "number"
11413
11610
  },
11414
- "default": "300",
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",
11415
11807
  "description": "Minimum width for the dialog",
11416
11808
  "inheritedFrom": {
11417
11809
  "name": "DialogElement",
@@ -11940,611 +12332,185 @@
11940
12332
  "description": "Remove the HTMLDialogElement from display",
11941
12333
  "inheritedFrom": {
11942
12334
  "name": "DialogElement",
11943
- "module": "src/dialog/dialog.ts"
11944
- }
11945
- },
11946
- {
11947
- "kind": "method",
11948
- "name": "dismiss",
11949
- "privacy": "public",
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.",
12462
- "inheritedFrom": {
12463
- "name": "Disclosure",
12464
- "module": "src/disclosure/disclosure.ts"
12335
+ "module": "src/dialog/dialog.ts"
12465
12336
  }
12466
12337
  },
12467
12338
  {
12468
- "kind": "field",
12469
- "name": "title",
12470
- "type": {
12471
- "text": "string"
12472
- },
12339
+ "kind": "method",
12340
+ "name": "dismiss",
12473
12341
  "privacy": "public",
12474
- "description": "Invoker title",
12342
+ "description": "Dismiss the Dialog from display and calls the dismissing action.",
12475
12343
  "inheritedFrom": {
12476
- "name": "Disclosure",
12477
- "module": "src/disclosure/disclosure.ts"
12344
+ "name": "DialogElement",
12345
+ "module": "src/dialog/dialog.ts"
12478
12346
  }
12479
12347
  },
12480
12348
  {
12481
12349
  "kind": "method",
12482
- "name": "show",
12350
+ "name": "closeDialog",
12483
12351
  "privacy": "public",
12484
12352
  "return": {
12485
12353
  "type": {
12486
12354
  "text": "void"
12487
12355
  }
12488
12356
  },
12489
- "description": "Show extra content.",
12357
+ "description": "Dismiss the Dialog from display.",
12490
12358
  "inheritedFrom": {
12491
- "name": "Disclosure",
12492
- "module": "src/disclosure/disclosure.ts"
12359
+ "name": "DialogElement",
12360
+ "module": "src/dialog/dialog.ts"
12493
12361
  }
12494
12362
  },
12495
12363
  {
12496
12364
  "kind": "method",
12497
- "name": "hide",
12498
- "privacy": "public",
12365
+ "name": "maximize",
12366
+ "privacy": "private",
12499
12367
  "return": {
12500
12368
  "type": {
12501
12369
  "text": "void"
12502
12370
  }
12503
12371
  },
12504
- "description": "Hide extra content.",
12372
+ "description": "Maximize the dialog to fill the viewport.",
12505
12373
  "inheritedFrom": {
12506
- "name": "Disclosure",
12507
- "module": "src/disclosure/disclosure.ts"
12374
+ "name": "DialogElement",
12375
+ "module": "src/dialog/dialog.ts"
12508
12376
  }
12509
12377
  },
12510
12378
  {
12511
12379
  "kind": "method",
12512
- "name": "toggle",
12380
+ "name": "resetSize",
12513
12381
  "privacy": "public",
12514
12382
  "return": {
12515
12383
  "type": {
12516
12384
  "text": "void"
12517
12385
  }
12518
12386
  },
12519
- "description": "Toggle the current(expanded/collapsed) state.",
12387
+ "description": "Reset the dialog to its original size and position, or maximize if not resized.",
12520
12388
  "inheritedFrom": {
12521
- "name": "Disclosure",
12522
- "module": "src/disclosure/disclosure.ts"
12389
+ "name": "DialogElement",
12390
+ "module": "src/dialog/dialog.ts"
12523
12391
  }
12524
12392
  },
12525
12393
  {
12526
12394
  "kind": "method",
12527
- "name": "setup",
12528
- "privacy": "protected",
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",
12406
+ "inheritedFrom": {
12407
+ "name": "DialogElement",
12408
+ "module": "src/dialog/dialog.ts"
12409
+ }
12410
+ },
12411
+ {
12412
+ "kind": "method",
12413
+ "name": "isEventTargetInDraggableTarget",
12414
+ "privacy": "private",
12529
12415
  "return": {
12530
12416
  "type": {
12531
- "text": "void"
12417
+ "text": "boolean"
12532
12418
  }
12533
12419
  },
12534
- "description": "Register listener and set default disclosure mode",
12420
+ "parameters": [
12421
+ {
12422
+ "name": "event",
12423
+ "type": {
12424
+ "text": "MouseEvent"
12425
+ }
12426
+ }
12427
+ ],
12535
12428
  "inheritedFrom": {
12536
- "name": "Disclosure",
12537
- "module": "src/disclosure/disclosure.ts"
12429
+ "name": "DialogElement",
12430
+ "module": "src/dialog/dialog.ts"
12538
12431
  }
12539
12432
  },
12540
12433
  {
12541
12434
  "kind": "method",
12542
- "name": "onToggle",
12543
- "privacy": "protected",
12544
- "description": "Update the aria attr and fire `toggle` event",
12435
+ "name": "isInsideTopSlot",
12436
+ "privacy": "private",
12437
+ "return": {
12438
+ "type": {
12439
+ "text": "boolean"
12440
+ }
12441
+ },
12442
+ "parameters": [
12443
+ {
12444
+ "name": "target",
12445
+ "type": {
12446
+ "text": "Node"
12447
+ }
12448
+ }
12449
+ ],
12545
12450
  "inheritedFrom": {
12546
- "name": "Disclosure",
12547
- "module": "src/disclosure/disclosure.ts"
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",
12502
+ "inheritedFrom": {
12503
+ "name": "DialogElement",
12504
+ "module": "src/dialog/dialog.ts"
12505
+ }
12506
+ },
12507
+ {
12508
+ "kind": "method",
12509
+ "name": "resetDraggableStyle",
12510
+ "privacy": "private",
12511
+ "inheritedFrom": {
12512
+ "name": "DialogElement",
12513
+ "module": "src/dialog/dialog.ts"
12548
12514
  }
12549
12515
  },
12550
12516
  {
@@ -12556,8 +12522,8 @@
12556
12522
  "privacy": "private",
12557
12523
  "default": "void 0",
12558
12524
  "inheritedFrom": {
12559
- "name": "Disclosure",
12560
- "module": "src/disclosure/disclosure.ts"
12525
+ "name": "FoundationElement",
12526
+ "module": "src/foundation-element/foundation-element.ts"
12561
12527
  }
12562
12528
  },
12563
12529
  {
@@ -12569,8 +12535,8 @@
12569
12535
  "privacy": "public",
12570
12536
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
12571
12537
  "inheritedFrom": {
12572
- "name": "Disclosure",
12573
- "module": "src/disclosure/disclosure.ts"
12538
+ "name": "FoundationElement",
12539
+ "module": "src/foundation-element/foundation-element.ts"
12574
12540
  }
12575
12541
  },
12576
12542
  {
@@ -12582,8 +12548,8 @@
12582
12548
  "privacy": "public",
12583
12549
  "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.",
12584
12550
  "inheritedFrom": {
12585
- "name": "Disclosure",
12586
- "module": "src/disclosure/disclosure.ts"
12551
+ "name": "FoundationElement",
12552
+ "module": "src/foundation-element/foundation-element.ts"
12587
12553
  }
12588
12554
  },
12589
12555
  {
@@ -12596,8 +12562,8 @@
12596
12562
  }
12597
12563
  },
12598
12564
  "inheritedFrom": {
12599
- "name": "Disclosure",
12600
- "module": "src/disclosure/disclosure.ts"
12565
+ "name": "FoundationElement",
12566
+ "module": "src/foundation-element/foundation-element.ts"
12601
12567
  }
12602
12568
  },
12603
12569
  {
@@ -12609,8 +12575,8 @@
12609
12575
  "privacy": "public",
12610
12576
  "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.",
12611
12577
  "inheritedFrom": {
12612
- "name": "Disclosure",
12613
- "module": "src/disclosure/disclosure.ts"
12578
+ "name": "FoundationElement",
12579
+ "module": "src/foundation-element/foundation-element.ts"
12614
12580
  }
12615
12581
  },
12616
12582
  {
@@ -12623,8 +12589,8 @@
12623
12589
  }
12624
12590
  },
12625
12591
  "inheritedFrom": {
12626
- "name": "Disclosure",
12627
- "module": "src/disclosure/disclosure.ts"
12592
+ "name": "FoundationElement",
12593
+ "module": "src/foundation-element/foundation-element.ts"
12628
12594
  }
12629
12595
  },
12630
12596
  {
@@ -12654,49 +12620,83 @@
12654
12620
  ],
12655
12621
  "description": "Defines an element registry function with a set of element definition defaults.",
12656
12622
  "inheritedFrom": {
12657
- "name": "Disclosure",
12658
- "module": "src/disclosure/disclosure.ts"
12623
+ "name": "FoundationElement",
12624
+ "module": "src/foundation-element/foundation-element.ts"
12659
12625
  }
12660
12626
  }
12661
12627
  ],
12662
12628
  "events": [
12663
12629
  {
12664
- "description": "fires a toggle event when the summary is toggled",
12665
- "name": "toggle",
12630
+ "description": "Fired when the dialog closes",
12631
+ "name": "close",
12666
12632
  "inheritedFrom": {
12667
- "name": "Disclosure",
12668
- "module": "src/disclosure/disclosure.ts"
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",
12640
+ "inheritedFrom": {
12641
+ "name": "Dialog",
12642
+ "module": "src/dialog/dialog.ts"
12669
12643
  }
12670
12644
  }
12671
12645
  ]
12672
12646
  },
12673
12647
  {
12674
12648
  "kind": "variable",
12675
- "name": "rapidDisclosure"
12649
+ "name": "rapidDialog",
12650
+ "description": "The Rapid Dialog",
12651
+ "privacy": "public"
12676
12652
  }
12677
12653
  ],
12678
12654
  "exports": [
12679
12655
  {
12680
12656
  "kind": "js",
12681
- "name": "Disclosure",
12657
+ "name": "defaultDialogConfig",
12682
12658
  "declaration": {
12683
- "name": "Disclosure",
12684
- "module": "src/disclosure/disclosure.ts"
12659
+ "name": "defaultDialogConfig",
12660
+ "module": "src/dialog/dialog.ts"
12685
12661
  }
12686
12662
  },
12687
12663
  {
12688
12664
  "kind": "js",
12689
- "name": "rapidDisclosure",
12665
+ "name": "rapidDialogTemplate",
12690
12666
  "declaration": {
12691
- "name": "rapidDisclosure",
12692
- "module": "src/disclosure/disclosure.ts"
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",
12682
+ "declaration": {
12683
+ "name": "Dialog",
12684
+ "module": "src/dialog/dialog.ts"
12685
+ }
12686
+ },
12687
+ {
12688
+ "kind": "js",
12689
+ "name": "rapidDialog",
12690
+ "declaration": {
12691
+ "name": "rapidDialog",
12692
+ "module": "src/dialog/dialog.ts"
12693
12693
  }
12694
12694
  }
12695
12695
  ]
12696
12696
  },
12697
12697
  {
12698
12698
  "kind": "javascript-module",
12699
- "path": "src/disclosure/index.ts",
12699
+ "path": "src/dialog/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": "./disclosure"
12707
+ "package": "./dialog"
12708
12708
  }
12709
12709
  },
12710
12710
  {
@@ -12712,15 +12712,15 @@
12712
12712
  "name": "*",
12713
12713
  "declaration": {
12714
12714
  "name": "*",
12715
- "package": "./disclosure.styles"
12715
+ "package": "./dialog.styles"
12716
12716
  }
12717
12717
  },
12718
12718
  {
12719
12719
  "kind": "js",
12720
- "name": "*",
12720
+ "name": "rapidDialogTemplate",
12721
12721
  "declaration": {
12722
- "name": "*",
12723
- "package": "./disclosure.template"
12722
+ "name": "foundationDialogTemplate",
12723
+ "package": "@genesislcap/foundation-ui"
12724
12724
  }
12725
12725
  }
12726
12726
  ]