@genesislcap/rapid-design-system 14.251.5 → 14.252.1-alpha-ea46342.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  "type": {
13
13
  "text": "object"
14
14
  },
15
- "default": "{\n designSystemProvider,\n rapidAccordion,\n rapidAccordionItem,\n rapidActionsMenu,\n rapidAnchor,\n rapidAnchoredRegion,\n rapidAvatar,\n rapidBadge,\n rapidBanner,\n rapidBreadcrumb,\n rapidBreadcrumbItem,\n rapidButton,\n rapidCalendar,\n rapidCard,\n rapidCategorizedMultiselect,\n rapidCheckbox,\n rapidCombobox,\n rapidConnectionIndicator,\n rapidDataGrid,\n rapidDataGridCell,\n rapidDataGridRow,\n rapidDatePicker,\n rapidDialog,\n rapidDisclosure,\n rapidDivider,\n rapidDropdownMenu,\n rapidErrorBoundary,\n rapidFileUpload,\n rapidFilter,\n rapidFilterBar,\n rapidFlexLayout,\n rapidFlipper,\n rapidFlyout,\n rapidGridLayout,\n rapidGridLayoutItem,\n rapidHorizontalScroll,\n rapidIcon,\n rapidListbox,\n rapidListboxOption,\n rapidMenu,\n rapidMenuItem,\n rapidModal,\n rapidMultiselect,\n rapidNotificationListener,\n rapidNumberField,\n rapidProgress,\n rapidProgressRing,\n rapidRadio,\n rapidRadioGroup,\n rapidSchedulerCronBuilder,\n rapidSearchBar,\n rapidSearchBarCombobox,\n rapidSegmentedControl,\n rapidSegmentedItem,\n rapidSelect,\n rapidSkeleton,\n rapidSlider,\n rapidSliderLabel,\n rapidSnackbar,\n rapidStackingIcons,\n rapidStepper,\n rapidStepperTab,\n rapidStepperTabPanel,\n rapidSwitch,\n rapidSystemHealthOverlay,\n rapidTab,\n rapidTabPanel,\n rapidTabs,\n rapidTextArea,\n rapidTextField,\n rapidToast,\n rapidToolbar,\n rapidTooltip,\n rapidTreeItem,\n rapidTreeView,\n rapidUrlInput,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
15
+ "default": "{\n designSystemProvider,\n rapidAccordion,\n rapidAccordionItem,\n rapidActionsMenu,\n rapidAnchor,\n rapidAnchoredRegion,\n rapidAvatar,\n rapidBadge,\n rapidBanner,\n rapidBreadcrumb,\n rapidBreadcrumbItem,\n rapidButton,\n rapidCalendar,\n rapidCard,\n rapidCategorizedMultiselect,\n rapidCheckbox,\n rapidCombobox,\n rapidConnectionIndicator,\n rapidDataGrid,\n rapidDataGridCell,\n rapidDataGridRow,\n rapidDatePicker,\n rapidDialog,\n rapidDisclosure,\n rapidDivider,\n rapidDraggableModal,\n rapidDropdownMenu,\n rapidErrorBoundary,\n rapidFileUpload,\n rapidFilter,\n rapidFilterBar,\n rapidFlexLayout,\n rapidFlipper,\n rapidFlyout,\n rapidGridLayout,\n rapidGridLayoutItem,\n rapidHorizontalScroll,\n rapidIcon,\n rapidListbox,\n rapidListboxOption,\n rapidMenu,\n rapidMenuItem,\n rapidModal,\n rapidMultiselect,\n rapidNotificationListener,\n rapidNumberField,\n rapidProgress,\n rapidProgressRing,\n rapidRadio,\n rapidRadioGroup,\n rapidSchedulerCronBuilder,\n rapidSearchBar,\n rapidSearchBarCombobox,\n rapidSegmentedControl,\n rapidSegmentedItem,\n rapidSelect,\n rapidSkeleton,\n rapidSlider,\n rapidSliderLabel,\n rapidSnackbar,\n rapidStackingIcons,\n rapidStepper,\n rapidStepperTab,\n rapidStepperTabPanel,\n rapidSwitch,\n rapidSystemHealthOverlay,\n rapidTab,\n rapidTabPanel,\n rapidTabs,\n rapidTextArea,\n rapidTextField,\n rapidToast,\n rapidToolbar,\n rapidTooltip,\n rapidTreeItem,\n rapidTreeView,\n rapidUrlInput,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
16
16
  }
17
17
  ],
18
18
  "exports": [
@@ -284,6 +284,14 @@
284
284
  "package": "./dropdown-menu"
285
285
  }
286
286
  },
287
+ {
288
+ "kind": "js",
289
+ "name": "*",
290
+ "declaration": {
291
+ "name": "*",
292
+ "package": "./draggable-modal"
293
+ }
294
+ },
287
295
  {
288
296
  "kind": "js",
289
297
  "name": "*",
@@ -10057,223 +10065,252 @@
10057
10065
  },
10058
10066
  {
10059
10067
  "kind": "javascript-module",
10060
- "path": "src/dropdown-menu/dropdown-menu.styles.ts",
10068
+ "path": "src/draggable-modal/draggable-modal.styles.ts",
10061
10069
  "declarations": [
10062
10070
  {
10063
- "kind": "function",
10064
- "name": "rapidDropdownMenuStyles",
10065
- "return": {
10066
- "type": {
10067
- "text": "ElementStyles"
10068
- }
10069
- },
10070
- "parameters": [
10071
- {
10072
- "name": "context",
10073
- "type": {
10074
- "text": "ElementDefinitionContext"
10075
- }
10076
- },
10077
- {
10078
- "name": "definition",
10079
- "type": {
10080
- "text": "FoundationElementDefinition"
10081
- }
10082
- }
10083
- ]
10071
+ "kind": "variable",
10072
+ "name": "rapidDraggableModalStyles",
10073
+ "default": "css`\n ${rapidModalStyles}\n\n dialog .top {\n cursor: move;\n }\n`"
10084
10074
  }
10085
10075
  ],
10086
10076
  "exports": [
10087
10077
  {
10088
10078
  "kind": "js",
10089
- "name": "rapidDropdownMenuStyles",
10079
+ "name": "rapidDraggableModalStyles",
10090
10080
  "declaration": {
10091
- "name": "rapidDropdownMenuStyles",
10092
- "module": "src/dropdown-menu/dropdown-menu.styles.ts"
10081
+ "name": "rapidDraggableModalStyles",
10082
+ "module": "src/draggable-modal/draggable-modal.styles.ts"
10093
10083
  }
10094
10084
  }
10095
10085
  ]
10096
10086
  },
10097
10087
  {
10098
10088
  "kind": "javascript-module",
10099
- "path": "src/dropdown-menu/dropdown-menu.ts",
10089
+ "path": "src/draggable-modal/draggable-modal.ts",
10100
10090
  "declarations": [
10091
+ {
10092
+ "kind": "variable",
10093
+ "name": "defaultDraggableModalConfig",
10094
+ "default": "foundationConfig"
10095
+ },
10096
+ {
10097
+ "kind": "variable",
10098
+ "name": "rapidDraggableModalTemplate",
10099
+ "default": "foundationDraggableModalTemplate"
10100
+ },
10101
+ {
10102
+ "kind": "variable",
10103
+ "name": "rapidDraggableModalShadowOptions",
10104
+ "default": "foundationDraggableModalShadowOptions"
10105
+ },
10101
10106
  {
10102
10107
  "kind": "class",
10103
10108
  "description": "",
10104
- "name": "DropdownMenu",
10109
+ "name": "DraggableModal",
10105
10110
  "superclass": {
10106
- "name": "FoundationDropdownMenu",
10111
+ "name": "FoundationDraggableModal",
10107
10112
  "package": "@genesislcap/foundation-ui"
10108
10113
  },
10109
- "tagName": "%%prefix%%-dropdown-menu",
10114
+ "tagName": "%%prefix%%-draggable-modal",
10110
10115
  "customElement": true,
10111
10116
  "attributes": [
10112
10117
  {
10113
- "name": "auto-close",
10118
+ "name": "type",
10114
10119
  "type": {
10115
- "text": "boolean"
10120
+ "text": "DialogType"
10116
10121
  },
10117
- "default": "true",
10118
- "fieldName": "autoClose",
10122
+ "default": "'default'",
10123
+ "fieldName": "type",
10119
10124
  "inheritedFrom": {
10120
- "name": "DropdownMenu",
10121
- "module": "src/dropdown-menu/dropdown-menu.ts"
10125
+ "name": "DialogElement",
10126
+ "module": "src/dialog/dialog.ts"
10122
10127
  }
10123
10128
  },
10124
10129
  {
10125
- "name": "disable-button",
10130
+ "name": "position",
10126
10131
  "type": {
10127
- "text": "boolean"
10132
+ "text": "DialogPosition"
10128
10133
  },
10129
- "default": "false",
10130
- "fieldName": "disabled",
10134
+ "default": "'center'",
10135
+ "fieldName": "position",
10131
10136
  "inheritedFrom": {
10132
- "name": "DropdownMenu",
10133
- "module": "src/dropdown-menu/dropdown-menu.ts"
10137
+ "name": "DialogElement",
10138
+ "module": "src/dialog/dialog.ts"
10134
10139
  }
10135
10140
  },
10136
10141
  {
10137
- "name": "name",
10142
+ "name": "show-close-icon",
10138
10143
  "type": {
10139
- "text": "string"
10144
+ "text": "boolean"
10140
10145
  },
10141
- "default": "'Dropdown Menu'",
10142
- "fieldName": "name",
10146
+ "default": "true",
10147
+ "description": "Whether or not to show the close icon",
10148
+ "fieldName": "showCloseIcon",
10143
10149
  "inheritedFrom": {
10144
- "name": "DropdownMenu",
10145
- "module": "src/dropdown-menu/dropdown-menu.ts"
10150
+ "name": "DialogElement",
10151
+ "module": "src/dialog/dialog.ts"
10146
10152
  }
10147
- },
10153
+ }
10154
+ ],
10155
+ "members": [
10148
10156
  {
10149
- "name": "open",
10157
+ "kind": "field",
10158
+ "name": "isDragging",
10150
10159
  "type": {
10151
10160
  "text": "boolean"
10152
10161
  },
10162
+ "privacy": "public",
10153
10163
  "default": "false",
10154
- "fieldName": "open",
10155
10164
  "inheritedFrom": {
10156
- "name": "DropdownMenu",
10157
- "module": "src/dropdown-menu/dropdown-menu.ts"
10165
+ "name": "DraggableModal",
10166
+ "module": "src/draggable-modal/draggable-modal.ts"
10158
10167
  }
10159
10168
  },
10160
10169
  {
10161
- "name": "buttonAppearance",
10170
+ "kind": "field",
10171
+ "name": "offsetX",
10162
10172
  "type": {
10163
- "text": "string"
10173
+ "text": "number"
10164
10174
  },
10165
- "fieldName": "buttonAppearance",
10175
+ "privacy": "public",
10176
+ "default": "0",
10166
10177
  "inheritedFrom": {
10167
- "name": "DropdownMenu",
10168
- "module": "src/dropdown-menu/dropdown-menu.ts"
10178
+ "name": "DraggableModal",
10179
+ "module": "src/draggable-modal/draggable-modal.ts"
10169
10180
  }
10170
- }
10171
- ],
10172
- "members": [
10181
+ },
10173
10182
  {
10174
10183
  "kind": "field",
10175
- "name": "items",
10184
+ "name": "offsetY",
10176
10185
  "type": {
10177
- "text": "DropdownMenuItem[]"
10186
+ "text": "number"
10178
10187
  },
10188
+ "privacy": "public",
10189
+ "default": "0",
10179
10190
  "inheritedFrom": {
10180
- "name": "DropdownMenu",
10181
- "module": "src/dropdown-menu/dropdown-menu.ts"
10191
+ "name": "DraggableModal",
10192
+ "module": "src/draggable-modal/draggable-modal.ts"
10182
10193
  }
10183
10194
  },
10184
10195
  {
10185
10196
  "kind": "field",
10186
- "name": "autoClose",
10197
+ "name": "shadowHost",
10187
10198
  "type": {
10188
- "text": "boolean"
10199
+ "text": "HTMLElement | null"
10189
10200
  },
10190
- "default": "true",
10201
+ "privacy": "public",
10202
+ "default": "null",
10191
10203
  "inheritedFrom": {
10192
- "name": "DropdownMenu",
10193
- "module": "src/dropdown-menu/dropdown-menu.ts"
10204
+ "name": "DraggableModal",
10205
+ "module": "src/draggable-modal/draggable-modal.ts"
10194
10206
  }
10195
10207
  },
10196
10208
  {
10197
10209
  "kind": "field",
10198
- "name": "disabled",
10210
+ "name": "draggableTarget",
10199
10211
  "type": {
10200
- "text": "boolean"
10212
+ "text": "HTMLElement | null"
10201
10213
  },
10202
- "default": "false",
10214
+ "privacy": "public",
10215
+ "default": "null",
10203
10216
  "inheritedFrom": {
10204
- "name": "DropdownMenu",
10205
- "module": "src/dropdown-menu/dropdown-menu.ts"
10217
+ "name": "DraggableModal",
10218
+ "module": "src/draggable-modal/draggable-modal.ts"
10206
10219
  }
10207
10220
  },
10208
10221
  {
10209
10222
  "kind": "field",
10210
- "name": "classNames",
10223
+ "name": "onMouseMoveBound",
10211
10224
  "type": {
10212
- "text": "string"
10225
+ "text": "(event: MouseEvent) => void"
10213
10226
  },
10227
+ "privacy": "private",
10214
10228
  "inheritedFrom": {
10215
- "name": "DropdownMenu",
10216
- "module": "src/dropdown-menu/dropdown-menu.ts"
10229
+ "name": "DraggableModal",
10230
+ "module": "src/draggable-modal/draggable-modal.ts"
10217
10231
  }
10218
10232
  },
10219
10233
  {
10220
10234
  "kind": "field",
10221
- "name": "name",
10235
+ "name": "onMouseUpBound",
10222
10236
  "type": {
10223
- "text": "string"
10237
+ "text": "() => void"
10224
10238
  },
10225
- "default": "'Dropdown Menu'",
10239
+ "privacy": "private",
10226
10240
  "inheritedFrom": {
10227
- "name": "DropdownMenu",
10228
- "module": "src/dropdown-menu/dropdown-menu.ts"
10241
+ "name": "DraggableModal",
10242
+ "module": "src/draggable-modal/draggable-modal.ts"
10229
10243
  }
10230
10244
  },
10231
10245
  {
10232
10246
  "kind": "field",
10233
- "name": "open",
10247
+ "name": "onCloseCallback",
10234
10248
  "type": {
10235
- "text": "boolean"
10249
+ "text": "() => void"
10236
10250
  },
10237
- "default": "false",
10251
+ "description": "Callback to run *after* HTMLDialogElement is closed",
10238
10252
  "inheritedFrom": {
10239
- "name": "DropdownMenu",
10240
- "module": "src/dropdown-menu/dropdown-menu.ts"
10241
- }
10253
+ "name": "DialogElement",
10254
+ "module": "src/dialog/dialog.ts"
10255
+ },
10256
+ "privacy": "public"
10242
10257
  },
10243
10258
  {
10244
- "kind": "field",
10245
- "name": "buttonAppearance",
10246
- "type": {
10247
- "text": "string"
10248
- },
10259
+ "kind": "method",
10260
+ "name": "makeDraggable",
10261
+ "privacy": "private",
10249
10262
  "inheritedFrom": {
10250
- "name": "DropdownMenu",
10251
- "module": "src/dropdown-menu/dropdown-menu.ts"
10263
+ "name": "DraggableModal",
10264
+ "module": "src/draggable-modal/draggable-modal.ts"
10252
10265
  }
10253
10266
  },
10254
10267
  {
10255
- "kind": "field",
10256
- "name": "dropdownMenu",
10257
- "type": {
10258
- "text": "HTMLElement"
10268
+ "kind": "method",
10269
+ "name": "isEventTargetInDraggableTarget",
10270
+ "privacy": "private",
10271
+ "return": {
10272
+ "type": {
10273
+ "text": "boolean"
10274
+ }
10259
10275
  },
10276
+ "parameters": [
10277
+ {
10278
+ "name": "event",
10279
+ "type": {
10280
+ "text": "MouseEvent"
10281
+ }
10282
+ }
10283
+ ],
10260
10284
  "inheritedFrom": {
10261
- "name": "DropdownMenu",
10262
- "module": "src/dropdown-menu/dropdown-menu.ts"
10285
+ "name": "DraggableModal",
10286
+ "module": "src/draggable-modal/draggable-modal.ts"
10263
10287
  }
10264
10288
  },
10265
10289
  {
10266
- "kind": "field",
10267
- "name": "clickOutside",
10290
+ "kind": "method",
10291
+ "name": "isInsideSlot",
10268
10292
  "privacy": "private",
10293
+ "return": {
10294
+ "type": {
10295
+ "text": "boolean"
10296
+ }
10297
+ },
10298
+ "parameters": [
10299
+ {
10300
+ "name": "target",
10301
+ "type": {
10302
+ "text": "Node"
10303
+ }
10304
+ }
10305
+ ],
10269
10306
  "inheritedFrom": {
10270
- "name": "DropdownMenu",
10271
- "module": "src/dropdown-menu/dropdown-menu.ts"
10307
+ "name": "DraggableModal",
10308
+ "module": "src/draggable-modal/draggable-modal.ts"
10272
10309
  }
10273
10310
  },
10274
10311
  {
10275
10312
  "kind": "method",
10276
- "name": "handleClickOutside",
10313
+ "name": "onMouseDown",
10277
10314
  "privacy": "private",
10278
10315
  "parameters": [
10279
10316
  {
@@ -10284,68 +10321,676 @@
10284
10321
  }
10285
10322
  ],
10286
10323
  "inheritedFrom": {
10287
- "name": "DropdownMenu",
10288
- "module": "src/dropdown-menu/dropdown-menu.ts"
10324
+ "name": "DraggableModal",
10325
+ "module": "src/draggable-modal/draggable-modal.ts"
10289
10326
  }
10290
10327
  },
10291
10328
  {
10292
10329
  "kind": "method",
10293
- "name": "openChanged",
10294
- "privacy": "protected",
10330
+ "name": "onMouseMove",
10331
+ "privacy": "private",
10332
+ "parameters": [
10333
+ {
10334
+ "name": "event",
10335
+ "type": {
10336
+ "text": "MouseEvent"
10337
+ }
10338
+ }
10339
+ ],
10295
10340
  "inheritedFrom": {
10296
- "name": "DropdownMenu",
10297
- "module": "src/dropdown-menu/dropdown-menu.ts"
10341
+ "name": "DraggableModal",
10342
+ "module": "src/draggable-modal/draggable-modal.ts"
10298
10343
  }
10299
10344
  },
10300
10345
  {
10301
10346
  "kind": "method",
10302
- "name": "toggleDropdownMenuVisibility",
10347
+ "name": "onMouseUp",
10348
+ "privacy": "private",
10303
10349
  "inheritedFrom": {
10304
- "name": "DropdownMenu",
10305
- "module": "src/dropdown-menu/dropdown-menu.ts"
10350
+ "name": "DraggableModal",
10351
+ "module": "src/draggable-modal/draggable-modal.ts"
10306
10352
  }
10307
10353
  },
10308
10354
  {
10309
10355
  "kind": "method",
10310
- "name": "onDropdownMenuItemClick",
10356
+ "name": "removeEventListeners",
10357
+ "privacy": "private",
10311
10358
  "inheritedFrom": {
10312
- "name": "DropdownMenu",
10313
- "module": "src/dropdown-menu/dropdown-menu.ts"
10359
+ "name": "DraggableModal",
10360
+ "module": "src/draggable-modal/draggable-modal.ts"
10314
10361
  }
10315
10362
  },
10316
10363
  {
10317
- "kind": "field",
10318
- "name": "allItems",
10319
- "type": {
10320
- "text": "DropdownMenuItem[]"
10364
+ "kind": "method",
10365
+ "name": "show",
10366
+ "return": {
10367
+ "type": {
10368
+ "text": "void"
10369
+ }
10321
10370
  },
10322
- "readonly": true,
10371
+ "description": "Show the HTMLDialogElement and its contents",
10323
10372
  "inheritedFrom": {
10324
- "name": "DropdownMenu",
10325
- "module": "src/dropdown-menu/dropdown-menu.ts"
10373
+ "name": "DialogElement",
10374
+ "module": "src/dialog/dialog.ts"
10326
10375
  }
10327
10376
  },
10328
10377
  {
10329
10378
  "kind": "field",
10330
- "name": "_presentation",
10379
+ "name": "mainElement",
10331
10380
  "type": {
10332
- "text": "ComponentPresentation | null | undefined"
10381
+ "text": "HTMLDialogElement"
10333
10382
  },
10334
- "privacy": "private",
10335
- "default": "void 0",
10383
+ "description": "A reference to the dialog element\nin the component Shadow DOM.",
10336
10384
  "inheritedFrom": {
10337
- "name": "FoundationElement",
10338
- "module": "src/foundation-element/foundation-element.ts"
10385
+ "name": "DialogElement",
10386
+ "module": "src/dialog/dialog.ts"
10339
10387
  }
10340
10388
  },
10341
10389
  {
10342
10390
  "kind": "field",
10343
- "name": "$presentation",
10391
+ "name": "notification",
10344
10392
  "type": {
10345
- "text": "ComponentPresentation | null"
10393
+ "text": "NotificationStructure"
10346
10394
  },
10347
- "privacy": "public",
10348
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
10395
+ "inheritedFrom": {
10396
+ "name": "DialogElement",
10397
+ "module": "src/dialog/dialog.ts"
10398
+ }
10399
+ },
10400
+ {
10401
+ "kind": "method",
10402
+ "name": "notificationChanged",
10403
+ "inheritedFrom": {
10404
+ "name": "DialogElement",
10405
+ "module": "src/dialog/dialog.ts"
10406
+ }
10407
+ },
10408
+ {
10409
+ "kind": "field",
10410
+ "name": "type",
10411
+ "type": {
10412
+ "text": "DialogType"
10413
+ },
10414
+ "default": "'default'",
10415
+ "inheritedFrom": {
10416
+ "name": "DialogElement",
10417
+ "module": "src/dialog/dialog.ts"
10418
+ }
10419
+ },
10420
+ {
10421
+ "kind": "field",
10422
+ "name": "position",
10423
+ "type": {
10424
+ "text": "DialogPosition"
10425
+ },
10426
+ "default": "'center'",
10427
+ "inheritedFrom": {
10428
+ "name": "DialogElement",
10429
+ "module": "src/dialog/dialog.ts"
10430
+ }
10431
+ },
10432
+ {
10433
+ "kind": "field",
10434
+ "name": "showCloseIcon",
10435
+ "type": {
10436
+ "text": "boolean"
10437
+ },
10438
+ "default": "true",
10439
+ "description": "Whether or not to show the close icon",
10440
+ "inheritedFrom": {
10441
+ "name": "DialogElement",
10442
+ "module": "src/dialog/dialog.ts"
10443
+ }
10444
+ },
10445
+ {
10446
+ "kind": "field",
10447
+ "name": "onShowCallback",
10448
+ "type": {
10449
+ "text": "() => void"
10450
+ },
10451
+ "description": "Callback to run *before* HTMLDialogElement is shown",
10452
+ "inheritedFrom": {
10453
+ "name": "DialogElement",
10454
+ "module": "src/dialog/dialog.ts"
10455
+ }
10456
+ },
10457
+ {
10458
+ "kind": "field",
10459
+ "name": "open",
10460
+ "type": {
10461
+ "text": "boolean"
10462
+ },
10463
+ "description": "Determine if the dialog is showing or closed.",
10464
+ "readonly": true,
10465
+ "inheritedFrom": {
10466
+ "name": "DialogElement",
10467
+ "module": "src/dialog/dialog.ts"
10468
+ }
10469
+ },
10470
+ {
10471
+ "kind": "method",
10472
+ "name": "close",
10473
+ "return": {
10474
+ "type": {
10475
+ "text": "void"
10476
+ }
10477
+ },
10478
+ "description": "Remove the HTMLDialogElement from display",
10479
+ "inheritedFrom": {
10480
+ "name": "DialogElement",
10481
+ "module": "src/dialog/dialog.ts"
10482
+ }
10483
+ },
10484
+ {
10485
+ "kind": "method",
10486
+ "name": "dismiss",
10487
+ "privacy": "public",
10488
+ "description": "Dismiss the Dialog from display and calls the dismissing action.",
10489
+ "inheritedFrom": {
10490
+ "name": "DialogElement",
10491
+ "module": "src/dialog/dialog.ts"
10492
+ }
10493
+ },
10494
+ {
10495
+ "kind": "method",
10496
+ "name": "closeDialog",
10497
+ "privacy": "public",
10498
+ "return": {
10499
+ "type": {
10500
+ "text": "void"
10501
+ }
10502
+ },
10503
+ "description": "Dismiss the Dialog from display.",
10504
+ "inheritedFrom": {
10505
+ "name": "DialogElement",
10506
+ "module": "src/dialog/dialog.ts"
10507
+ }
10508
+ },
10509
+ {
10510
+ "kind": "field",
10511
+ "name": "_presentation",
10512
+ "type": {
10513
+ "text": "ComponentPresentation | null | undefined"
10514
+ },
10515
+ "privacy": "private",
10516
+ "default": "void 0",
10517
+ "inheritedFrom": {
10518
+ "name": "FoundationElement",
10519
+ "module": "src/foundation-element/foundation-element.ts"
10520
+ }
10521
+ },
10522
+ {
10523
+ "kind": "field",
10524
+ "name": "$presentation",
10525
+ "type": {
10526
+ "text": "ComponentPresentation | null"
10527
+ },
10528
+ "privacy": "public",
10529
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
10530
+ "inheritedFrom": {
10531
+ "name": "FoundationElement",
10532
+ "module": "src/foundation-element/foundation-element.ts"
10533
+ }
10534
+ },
10535
+ {
10536
+ "kind": "field",
10537
+ "name": "template",
10538
+ "type": {
10539
+ "text": "ElementViewTemplate | void | null"
10540
+ },
10541
+ "privacy": "public",
10542
+ "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.",
10543
+ "inheritedFrom": {
10544
+ "name": "FoundationElement",
10545
+ "module": "src/foundation-element/foundation-element.ts"
10546
+ }
10547
+ },
10548
+ {
10549
+ "kind": "method",
10550
+ "name": "templateChanged",
10551
+ "privacy": "protected",
10552
+ "return": {
10553
+ "type": {
10554
+ "text": "void"
10555
+ }
10556
+ },
10557
+ "inheritedFrom": {
10558
+ "name": "FoundationElement",
10559
+ "module": "src/foundation-element/foundation-element.ts"
10560
+ }
10561
+ },
10562
+ {
10563
+ "kind": "field",
10564
+ "name": "styles",
10565
+ "type": {
10566
+ "text": "ElementStyles | void | null"
10567
+ },
10568
+ "privacy": "public",
10569
+ "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.",
10570
+ "inheritedFrom": {
10571
+ "name": "FoundationElement",
10572
+ "module": "src/foundation-element/foundation-element.ts"
10573
+ }
10574
+ },
10575
+ {
10576
+ "kind": "method",
10577
+ "name": "stylesChanged",
10578
+ "privacy": "protected",
10579
+ "return": {
10580
+ "type": {
10581
+ "text": "void"
10582
+ }
10583
+ },
10584
+ "inheritedFrom": {
10585
+ "name": "FoundationElement",
10586
+ "module": "src/foundation-element/foundation-element.ts"
10587
+ }
10588
+ },
10589
+ {
10590
+ "kind": "method",
10591
+ "name": "compose",
10592
+ "privacy": "public",
10593
+ "static": true,
10594
+ "return": {
10595
+ "type": {
10596
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
10597
+ }
10598
+ },
10599
+ "parameters": [
10600
+ {
10601
+ "name": "this",
10602
+ "type": {
10603
+ "text": "K"
10604
+ }
10605
+ },
10606
+ {
10607
+ "name": "elementDefinition",
10608
+ "type": {
10609
+ "text": "T"
10610
+ },
10611
+ "description": "The definition of the element to create the registry\nfunction for."
10612
+ }
10613
+ ],
10614
+ "description": "Defines an element registry function with a set of element definition defaults.",
10615
+ "inheritedFrom": {
10616
+ "name": "FoundationElement",
10617
+ "module": "src/foundation-element/foundation-element.ts"
10618
+ }
10619
+ }
10620
+ ]
10621
+ },
10622
+ {
10623
+ "kind": "variable",
10624
+ "name": "rapidDraggableModal",
10625
+ "description": "The Rapid Draggable Modal",
10626
+ "privacy": "public"
10627
+ }
10628
+ ],
10629
+ "exports": [
10630
+ {
10631
+ "kind": "js",
10632
+ "name": "defaultDraggableModalConfig",
10633
+ "declaration": {
10634
+ "name": "defaultDraggableModalConfig",
10635
+ "module": "src/draggable-modal/draggable-modal.ts"
10636
+ }
10637
+ },
10638
+ {
10639
+ "kind": "js",
10640
+ "name": "rapidDraggableModalTemplate",
10641
+ "declaration": {
10642
+ "name": "rapidDraggableModalTemplate",
10643
+ "module": "src/draggable-modal/draggable-modal.ts"
10644
+ }
10645
+ },
10646
+ {
10647
+ "kind": "js",
10648
+ "name": "rapidDraggableModalShadowOptions",
10649
+ "declaration": {
10650
+ "name": "rapidDraggableModalShadowOptions",
10651
+ "module": "src/draggable-modal/draggable-modal.ts"
10652
+ }
10653
+ },
10654
+ {
10655
+ "kind": "js",
10656
+ "name": "DraggableModal",
10657
+ "declaration": {
10658
+ "name": "DraggableModal",
10659
+ "module": "src/draggable-modal/draggable-modal.ts"
10660
+ }
10661
+ },
10662
+ {
10663
+ "kind": "js",
10664
+ "name": "rapidDraggableModal",
10665
+ "declaration": {
10666
+ "name": "rapidDraggableModal",
10667
+ "module": "src/draggable-modal/draggable-modal.ts"
10668
+ }
10669
+ }
10670
+ ]
10671
+ },
10672
+ {
10673
+ "kind": "javascript-module",
10674
+ "path": "src/draggable-modal/index.ts",
10675
+ "declarations": [],
10676
+ "exports": [
10677
+ {
10678
+ "kind": "js",
10679
+ "name": "rapidDraggableModalTemplate",
10680
+ "declaration": {
10681
+ "name": "foundationDraggableModalTemplate",
10682
+ "package": "@genesislcap/foundation-ui"
10683
+ }
10684
+ },
10685
+ {
10686
+ "kind": "js",
10687
+ "name": "*",
10688
+ "declaration": {
10689
+ "name": "*",
10690
+ "package": "./draggable-modal"
10691
+ }
10692
+ },
10693
+ {
10694
+ "kind": "js",
10695
+ "name": "*",
10696
+ "declaration": {
10697
+ "name": "*",
10698
+ "package": "./draggable-modal.styles"
10699
+ }
10700
+ }
10701
+ ]
10702
+ },
10703
+ {
10704
+ "kind": "javascript-module",
10705
+ "path": "src/dropdown-menu/dropdown-menu.styles.ts",
10706
+ "declarations": [
10707
+ {
10708
+ "kind": "function",
10709
+ "name": "rapidDropdownMenuStyles",
10710
+ "return": {
10711
+ "type": {
10712
+ "text": "ElementStyles"
10713
+ }
10714
+ },
10715
+ "parameters": [
10716
+ {
10717
+ "name": "context",
10718
+ "type": {
10719
+ "text": "ElementDefinitionContext"
10720
+ }
10721
+ },
10722
+ {
10723
+ "name": "definition",
10724
+ "type": {
10725
+ "text": "FoundationElementDefinition"
10726
+ }
10727
+ }
10728
+ ]
10729
+ }
10730
+ ],
10731
+ "exports": [
10732
+ {
10733
+ "kind": "js",
10734
+ "name": "rapidDropdownMenuStyles",
10735
+ "declaration": {
10736
+ "name": "rapidDropdownMenuStyles",
10737
+ "module": "src/dropdown-menu/dropdown-menu.styles.ts"
10738
+ }
10739
+ }
10740
+ ]
10741
+ },
10742
+ {
10743
+ "kind": "javascript-module",
10744
+ "path": "src/dropdown-menu/dropdown-menu.ts",
10745
+ "declarations": [
10746
+ {
10747
+ "kind": "class",
10748
+ "description": "",
10749
+ "name": "DropdownMenu",
10750
+ "superclass": {
10751
+ "name": "FoundationDropdownMenu",
10752
+ "package": "@genesislcap/foundation-ui"
10753
+ },
10754
+ "tagName": "%%prefix%%-dropdown-menu",
10755
+ "customElement": true,
10756
+ "attributes": [
10757
+ {
10758
+ "name": "auto-close",
10759
+ "type": {
10760
+ "text": "boolean"
10761
+ },
10762
+ "default": "true",
10763
+ "fieldName": "autoClose",
10764
+ "inheritedFrom": {
10765
+ "name": "DropdownMenu",
10766
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10767
+ }
10768
+ },
10769
+ {
10770
+ "name": "disable-button",
10771
+ "type": {
10772
+ "text": "boolean"
10773
+ },
10774
+ "default": "false",
10775
+ "fieldName": "disabled",
10776
+ "inheritedFrom": {
10777
+ "name": "DropdownMenu",
10778
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10779
+ }
10780
+ },
10781
+ {
10782
+ "name": "name",
10783
+ "type": {
10784
+ "text": "string"
10785
+ },
10786
+ "default": "'Dropdown Menu'",
10787
+ "fieldName": "name",
10788
+ "inheritedFrom": {
10789
+ "name": "DropdownMenu",
10790
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10791
+ }
10792
+ },
10793
+ {
10794
+ "name": "open",
10795
+ "type": {
10796
+ "text": "boolean"
10797
+ },
10798
+ "default": "false",
10799
+ "fieldName": "open",
10800
+ "inheritedFrom": {
10801
+ "name": "DropdownMenu",
10802
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10803
+ }
10804
+ },
10805
+ {
10806
+ "name": "buttonAppearance",
10807
+ "type": {
10808
+ "text": "string"
10809
+ },
10810
+ "fieldName": "buttonAppearance",
10811
+ "inheritedFrom": {
10812
+ "name": "DropdownMenu",
10813
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10814
+ }
10815
+ }
10816
+ ],
10817
+ "members": [
10818
+ {
10819
+ "kind": "field",
10820
+ "name": "items",
10821
+ "type": {
10822
+ "text": "DropdownMenuItem[]"
10823
+ },
10824
+ "inheritedFrom": {
10825
+ "name": "DropdownMenu",
10826
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10827
+ }
10828
+ },
10829
+ {
10830
+ "kind": "field",
10831
+ "name": "autoClose",
10832
+ "type": {
10833
+ "text": "boolean"
10834
+ },
10835
+ "default": "true",
10836
+ "inheritedFrom": {
10837
+ "name": "DropdownMenu",
10838
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10839
+ }
10840
+ },
10841
+ {
10842
+ "kind": "field",
10843
+ "name": "disabled",
10844
+ "type": {
10845
+ "text": "boolean"
10846
+ },
10847
+ "default": "false",
10848
+ "inheritedFrom": {
10849
+ "name": "DropdownMenu",
10850
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10851
+ }
10852
+ },
10853
+ {
10854
+ "kind": "field",
10855
+ "name": "classNames",
10856
+ "type": {
10857
+ "text": "string"
10858
+ },
10859
+ "inheritedFrom": {
10860
+ "name": "DropdownMenu",
10861
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10862
+ }
10863
+ },
10864
+ {
10865
+ "kind": "field",
10866
+ "name": "name",
10867
+ "type": {
10868
+ "text": "string"
10869
+ },
10870
+ "default": "'Dropdown Menu'",
10871
+ "inheritedFrom": {
10872
+ "name": "DropdownMenu",
10873
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10874
+ }
10875
+ },
10876
+ {
10877
+ "kind": "field",
10878
+ "name": "open",
10879
+ "type": {
10880
+ "text": "boolean"
10881
+ },
10882
+ "default": "false",
10883
+ "inheritedFrom": {
10884
+ "name": "DropdownMenu",
10885
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10886
+ }
10887
+ },
10888
+ {
10889
+ "kind": "field",
10890
+ "name": "buttonAppearance",
10891
+ "type": {
10892
+ "text": "string"
10893
+ },
10894
+ "inheritedFrom": {
10895
+ "name": "DropdownMenu",
10896
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10897
+ }
10898
+ },
10899
+ {
10900
+ "kind": "field",
10901
+ "name": "dropdownMenu",
10902
+ "type": {
10903
+ "text": "HTMLElement"
10904
+ },
10905
+ "inheritedFrom": {
10906
+ "name": "DropdownMenu",
10907
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10908
+ }
10909
+ },
10910
+ {
10911
+ "kind": "field",
10912
+ "name": "clickOutside",
10913
+ "privacy": "private",
10914
+ "inheritedFrom": {
10915
+ "name": "DropdownMenu",
10916
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10917
+ }
10918
+ },
10919
+ {
10920
+ "kind": "method",
10921
+ "name": "handleClickOutside",
10922
+ "privacy": "private",
10923
+ "parameters": [
10924
+ {
10925
+ "name": "event",
10926
+ "type": {
10927
+ "text": "MouseEvent"
10928
+ }
10929
+ }
10930
+ ],
10931
+ "inheritedFrom": {
10932
+ "name": "DropdownMenu",
10933
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10934
+ }
10935
+ },
10936
+ {
10937
+ "kind": "method",
10938
+ "name": "openChanged",
10939
+ "privacy": "protected",
10940
+ "inheritedFrom": {
10941
+ "name": "DropdownMenu",
10942
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10943
+ }
10944
+ },
10945
+ {
10946
+ "kind": "method",
10947
+ "name": "toggleDropdownMenuVisibility",
10948
+ "inheritedFrom": {
10949
+ "name": "DropdownMenu",
10950
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10951
+ }
10952
+ },
10953
+ {
10954
+ "kind": "method",
10955
+ "name": "onDropdownMenuItemClick",
10956
+ "inheritedFrom": {
10957
+ "name": "DropdownMenu",
10958
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10959
+ }
10960
+ },
10961
+ {
10962
+ "kind": "field",
10963
+ "name": "allItems",
10964
+ "type": {
10965
+ "text": "DropdownMenuItem[]"
10966
+ },
10967
+ "readonly": true,
10968
+ "inheritedFrom": {
10969
+ "name": "DropdownMenu",
10970
+ "module": "src/dropdown-menu/dropdown-menu.ts"
10971
+ }
10972
+ },
10973
+ {
10974
+ "kind": "field",
10975
+ "name": "_presentation",
10976
+ "type": {
10977
+ "text": "ComponentPresentation | null | undefined"
10978
+ },
10979
+ "privacy": "private",
10980
+ "default": "void 0",
10981
+ "inheritedFrom": {
10982
+ "name": "FoundationElement",
10983
+ "module": "src/foundation-element/foundation-element.ts"
10984
+ }
10985
+ },
10986
+ {
10987
+ "kind": "field",
10988
+ "name": "$presentation",
10989
+ "type": {
10990
+ "text": "ComponentPresentation | null"
10991
+ },
10992
+ "privacy": "public",
10993
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
10349
10994
  "inheritedFrom": {
10350
10995
  "name": "FoundationElement",
10351
10996
  "module": "src/foundation-element/foundation-element.ts"
@@ -17160,10 +17805,10 @@
17160
17805
  "exports": [
17161
17806
  {
17162
17807
  "kind": "js",
17163
- "name": "*",
17808
+ "name": "zeroModalTemplate",
17164
17809
  "declaration": {
17165
- "name": "*",
17166
- "package": "./modal"
17810
+ "name": "foundationModalTemplate",
17811
+ "package": "@genesislcap/foundation-ui"
17167
17812
  }
17168
17813
  },
17169
17814
  {
@@ -17171,15 +17816,15 @@
17171
17816
  "name": "*",
17172
17817
  "declaration": {
17173
17818
  "name": "*",
17174
- "package": "./modal.styles"
17819
+ "package": "./modal"
17175
17820
  }
17176
17821
  },
17177
17822
  {
17178
17823
  "kind": "js",
17179
- "name": "zeroModalTemplate",
17824
+ "name": "*",
17180
17825
  "declaration": {
17181
- "name": "foundationModalTemplate",
17182
- "package": "@genesislcap/foundation-ui"
17826
+ "name": "*",
17827
+ "package": "./modal.styles"
17183
17828
  }
17184
17829
  }
17185
17830
  ]