@genesislcap/rapid-design-system 14.182.0 → 14.182.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.
- package/dist/custom-elements.json +326 -2
- package/dist/dts/base-components.d.ts +9 -0
- package/dist/dts/base-components.d.ts.map +1 -1
- package/dist/dts/notification-listener/index.d.ts +2 -0
- package/dist/dts/notification-listener/index.d.ts.map +1 -0
- package/dist/dts/notification-listener/notification-listener.d.ts +17 -0
- package/dist/dts/notification-listener/notification-listener.d.ts.map +1 -0
- package/dist/esm/base-components.js +2 -0
- package/dist/esm/notification-listener/index.js +1 -0
- package/dist/esm/notification-listener/notification-listener.js +15 -0
- package/dist/esm/snackbar/snackbar.styles.js +1 -1
- package/package.json +10 -10
|
@@ -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 rapidNumberField,\n rapidProgress,\n rapidProgressRing,\n rapidRadio,\n rapidRadioGroup,\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 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 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 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 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": [
|
|
@@ -19385,6 +19385,330 @@
|
|
|
19385
19385
|
}
|
|
19386
19386
|
]
|
|
19387
19387
|
},
|
|
19388
|
+
{
|
|
19389
|
+
"kind": "javascript-module",
|
|
19390
|
+
"path": "src/notification-listener/index.ts",
|
|
19391
|
+
"declarations": [],
|
|
19392
|
+
"exports": [
|
|
19393
|
+
{
|
|
19394
|
+
"kind": "js",
|
|
19395
|
+
"name": "*",
|
|
19396
|
+
"declaration": {
|
|
19397
|
+
"name": "*",
|
|
19398
|
+
"package": "./notification-listener"
|
|
19399
|
+
}
|
|
19400
|
+
}
|
|
19401
|
+
]
|
|
19402
|
+
},
|
|
19403
|
+
{
|
|
19404
|
+
"kind": "javascript-module",
|
|
19405
|
+
"path": "src/notification-listener/notification-listener.ts",
|
|
19406
|
+
"declarations": [
|
|
19407
|
+
{
|
|
19408
|
+
"kind": "variable",
|
|
19409
|
+
"name": "rapidErrorBoundaryShadowOptions",
|
|
19410
|
+
"type": {
|
|
19411
|
+
"text": "ShadowRootInit"
|
|
19412
|
+
},
|
|
19413
|
+
"default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
|
|
19414
|
+
},
|
|
19415
|
+
{
|
|
19416
|
+
"kind": "class",
|
|
19417
|
+
"description": "",
|
|
19418
|
+
"name": "NotificationListener",
|
|
19419
|
+
"superclass": {
|
|
19420
|
+
"name": "FoundationNotificationListener",
|
|
19421
|
+
"package": "@genesislcap/foundation-ui"
|
|
19422
|
+
},
|
|
19423
|
+
"tagName": "%%prefix%%-notification-listener",
|
|
19424
|
+
"customElement": true,
|
|
19425
|
+
"attributes": [
|
|
19426
|
+
{
|
|
19427
|
+
"name": "resource-name",
|
|
19428
|
+
"description": "The resource name holding new and existing notifications",
|
|
19429
|
+
"fieldName": "resourceName",
|
|
19430
|
+
"inheritedFrom": {
|
|
19431
|
+
"name": "NotificationListener",
|
|
19432
|
+
"module": "src/notification-listener/notification-listener.ts"
|
|
19433
|
+
}
|
|
19434
|
+
},
|
|
19435
|
+
{
|
|
19436
|
+
"name": "close-timeout",
|
|
19437
|
+
"type": {
|
|
19438
|
+
"text": "number"
|
|
19439
|
+
},
|
|
19440
|
+
"default": "0",
|
|
19441
|
+
"description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
|
|
19442
|
+
"fieldName": "closeTimeout",
|
|
19443
|
+
"inheritedFrom": {
|
|
19444
|
+
"name": "NotificationListener",
|
|
19445
|
+
"module": "src/notification-listener/notification-listener.ts"
|
|
19446
|
+
}
|
|
19447
|
+
}
|
|
19448
|
+
],
|
|
19449
|
+
"members": [
|
|
19450
|
+
{
|
|
19451
|
+
"kind": "field",
|
|
19452
|
+
"name": "notificationListener",
|
|
19453
|
+
"type": {
|
|
19454
|
+
"text": "HTMLElement"
|
|
19455
|
+
},
|
|
19456
|
+
"inheritedFrom": {
|
|
19457
|
+
"name": "NotificationListener",
|
|
19458
|
+
"module": "src/notification-listener/notification-listener.ts"
|
|
19459
|
+
}
|
|
19460
|
+
},
|
|
19461
|
+
{
|
|
19462
|
+
"kind": "field",
|
|
19463
|
+
"name": "resourceName",
|
|
19464
|
+
"description": "The resource name holding new and existing notifications",
|
|
19465
|
+
"privacy": "public",
|
|
19466
|
+
"inheritedFrom": {
|
|
19467
|
+
"name": "NotificationListener",
|
|
19468
|
+
"module": "src/notification-listener/notification-listener.ts"
|
|
19469
|
+
}
|
|
19470
|
+
},
|
|
19471
|
+
{
|
|
19472
|
+
"kind": "field",
|
|
19473
|
+
"name": "closeTimeout",
|
|
19474
|
+
"type": {
|
|
19475
|
+
"text": "number"
|
|
19476
|
+
},
|
|
19477
|
+
"default": "0",
|
|
19478
|
+
"description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
|
|
19479
|
+
"privacy": "public",
|
|
19480
|
+
"inheritedFrom": {
|
|
19481
|
+
"name": "NotificationListener",
|
|
19482
|
+
"module": "src/notification-listener/notification-listener.ts"
|
|
19483
|
+
}
|
|
19484
|
+
},
|
|
19485
|
+
{
|
|
19486
|
+
"kind": "field",
|
|
19487
|
+
"name": "toastButtons",
|
|
19488
|
+
"type": {
|
|
19489
|
+
"text": "ToastButton[]"
|
|
19490
|
+
},
|
|
19491
|
+
"default": "[]",
|
|
19492
|
+
"description": "Array of buttons for notification toasts",
|
|
19493
|
+
"privacy": "public",
|
|
19494
|
+
"inheritedFrom": {
|
|
19495
|
+
"name": "NotificationListener",
|
|
19496
|
+
"module": "src/notification-listener/notification-listener.ts"
|
|
19497
|
+
}
|
|
19498
|
+
},
|
|
19499
|
+
{
|
|
19500
|
+
"kind": "field",
|
|
19501
|
+
"name": "dataSub",
|
|
19502
|
+
"type": {
|
|
19503
|
+
"text": "Subscription"
|
|
19504
|
+
},
|
|
19505
|
+
"privacy": "protected",
|
|
19506
|
+
"inheritedFrom": {
|
|
19507
|
+
"name": "NotificationListener",
|
|
19508
|
+
"module": "src/notification-listener/notification-listener.ts"
|
|
19509
|
+
}
|
|
19510
|
+
},
|
|
19511
|
+
{
|
|
19512
|
+
"kind": "field",
|
|
19513
|
+
"name": "datasource",
|
|
19514
|
+
"type": {
|
|
19515
|
+
"text": "Datasource"
|
|
19516
|
+
},
|
|
19517
|
+
"privacy": "private",
|
|
19518
|
+
"inheritedFrom": {
|
|
19519
|
+
"name": "NotificationListener",
|
|
19520
|
+
"module": "src/notification-listener/notification-listener.ts"
|
|
19521
|
+
}
|
|
19522
|
+
},
|
|
19523
|
+
{
|
|
19524
|
+
"kind": "method",
|
|
19525
|
+
"name": "handleStreamUpdate",
|
|
19526
|
+
"privacy": "private",
|
|
19527
|
+
"return": {
|
|
19528
|
+
"type": {
|
|
19529
|
+
"text": "void"
|
|
19530
|
+
}
|
|
19531
|
+
},
|
|
19532
|
+
"parameters": [
|
|
19533
|
+
{
|
|
19534
|
+
"name": "dataServerResult",
|
|
19535
|
+
"type": {
|
|
19536
|
+
"text": "any"
|
|
19537
|
+
}
|
|
19538
|
+
}
|
|
19539
|
+
],
|
|
19540
|
+
"inheritedFrom": {
|
|
19541
|
+
"name": "NotificationListener",
|
|
19542
|
+
"module": "src/notification-listener/notification-listener.ts"
|
|
19543
|
+
}
|
|
19544
|
+
},
|
|
19545
|
+
{
|
|
19546
|
+
"kind": "method",
|
|
19547
|
+
"name": "showNotificationToast",
|
|
19548
|
+
"privacy": "protected",
|
|
19549
|
+
"return": {
|
|
19550
|
+
"type": {
|
|
19551
|
+
"text": "void"
|
|
19552
|
+
}
|
|
19553
|
+
},
|
|
19554
|
+
"parameters": [
|
|
19555
|
+
{
|
|
19556
|
+
"name": "row",
|
|
19557
|
+
"type": {
|
|
19558
|
+
"text": "NotificationDataRow"
|
|
19559
|
+
}
|
|
19560
|
+
}
|
|
19561
|
+
],
|
|
19562
|
+
"inheritedFrom": {
|
|
19563
|
+
"name": "NotificationListener",
|
|
19564
|
+
"module": "src/notification-listener/notification-listener.ts"
|
|
19565
|
+
}
|
|
19566
|
+
},
|
|
19567
|
+
{
|
|
19568
|
+
"kind": "field",
|
|
19569
|
+
"name": "_presentation",
|
|
19570
|
+
"type": {
|
|
19571
|
+
"text": "ComponentPresentation | null | undefined"
|
|
19572
|
+
},
|
|
19573
|
+
"privacy": "private",
|
|
19574
|
+
"default": "void 0",
|
|
19575
|
+
"inheritedFrom": {
|
|
19576
|
+
"name": "FoundationElement",
|
|
19577
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
19578
|
+
}
|
|
19579
|
+
},
|
|
19580
|
+
{
|
|
19581
|
+
"kind": "field",
|
|
19582
|
+
"name": "$presentation",
|
|
19583
|
+
"type": {
|
|
19584
|
+
"text": "ComponentPresentation | null"
|
|
19585
|
+
},
|
|
19586
|
+
"privacy": "public",
|
|
19587
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
19588
|
+
"inheritedFrom": {
|
|
19589
|
+
"name": "FoundationElement",
|
|
19590
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
19591
|
+
}
|
|
19592
|
+
},
|
|
19593
|
+
{
|
|
19594
|
+
"kind": "field",
|
|
19595
|
+
"name": "template",
|
|
19596
|
+
"type": {
|
|
19597
|
+
"text": "ElementViewTemplate | void | null"
|
|
19598
|
+
},
|
|
19599
|
+
"privacy": "public",
|
|
19600
|
+
"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.",
|
|
19601
|
+
"inheritedFrom": {
|
|
19602
|
+
"name": "FoundationElement",
|
|
19603
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
19604
|
+
}
|
|
19605
|
+
},
|
|
19606
|
+
{
|
|
19607
|
+
"kind": "method",
|
|
19608
|
+
"name": "templateChanged",
|
|
19609
|
+
"privacy": "protected",
|
|
19610
|
+
"return": {
|
|
19611
|
+
"type": {
|
|
19612
|
+
"text": "void"
|
|
19613
|
+
}
|
|
19614
|
+
},
|
|
19615
|
+
"inheritedFrom": {
|
|
19616
|
+
"name": "FoundationElement",
|
|
19617
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
19618
|
+
}
|
|
19619
|
+
},
|
|
19620
|
+
{
|
|
19621
|
+
"kind": "field",
|
|
19622
|
+
"name": "styles",
|
|
19623
|
+
"type": {
|
|
19624
|
+
"text": "ElementStyles | void | null"
|
|
19625
|
+
},
|
|
19626
|
+
"privacy": "public",
|
|
19627
|
+
"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.",
|
|
19628
|
+
"inheritedFrom": {
|
|
19629
|
+
"name": "FoundationElement",
|
|
19630
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
19631
|
+
}
|
|
19632
|
+
},
|
|
19633
|
+
{
|
|
19634
|
+
"kind": "method",
|
|
19635
|
+
"name": "stylesChanged",
|
|
19636
|
+
"privacy": "protected",
|
|
19637
|
+
"return": {
|
|
19638
|
+
"type": {
|
|
19639
|
+
"text": "void"
|
|
19640
|
+
}
|
|
19641
|
+
},
|
|
19642
|
+
"inheritedFrom": {
|
|
19643
|
+
"name": "FoundationElement",
|
|
19644
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
19645
|
+
}
|
|
19646
|
+
},
|
|
19647
|
+
{
|
|
19648
|
+
"kind": "method",
|
|
19649
|
+
"name": "compose",
|
|
19650
|
+
"privacy": "public",
|
|
19651
|
+
"static": true,
|
|
19652
|
+
"return": {
|
|
19653
|
+
"type": {
|
|
19654
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
19655
|
+
}
|
|
19656
|
+
},
|
|
19657
|
+
"parameters": [
|
|
19658
|
+
{
|
|
19659
|
+
"name": "this",
|
|
19660
|
+
"type": {
|
|
19661
|
+
"text": "K"
|
|
19662
|
+
}
|
|
19663
|
+
},
|
|
19664
|
+
{
|
|
19665
|
+
"name": "elementDefinition",
|
|
19666
|
+
"type": {
|
|
19667
|
+
"text": "T"
|
|
19668
|
+
},
|
|
19669
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
19670
|
+
}
|
|
19671
|
+
],
|
|
19672
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
19673
|
+
"inheritedFrom": {
|
|
19674
|
+
"name": "FoundationElement",
|
|
19675
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
19676
|
+
}
|
|
19677
|
+
}
|
|
19678
|
+
]
|
|
19679
|
+
},
|
|
19680
|
+
{
|
|
19681
|
+
"kind": "variable",
|
|
19682
|
+
"name": "rapidNotificationListener"
|
|
19683
|
+
}
|
|
19684
|
+
],
|
|
19685
|
+
"exports": [
|
|
19686
|
+
{
|
|
19687
|
+
"kind": "js",
|
|
19688
|
+
"name": "rapidErrorBoundaryShadowOptions",
|
|
19689
|
+
"declaration": {
|
|
19690
|
+
"name": "rapidErrorBoundaryShadowOptions",
|
|
19691
|
+
"module": "src/notification-listener/notification-listener.ts"
|
|
19692
|
+
}
|
|
19693
|
+
},
|
|
19694
|
+
{
|
|
19695
|
+
"kind": "js",
|
|
19696
|
+
"name": "NotificationListener",
|
|
19697
|
+
"declaration": {
|
|
19698
|
+
"name": "NotificationListener",
|
|
19699
|
+
"module": "src/notification-listener/notification-listener.ts"
|
|
19700
|
+
}
|
|
19701
|
+
},
|
|
19702
|
+
{
|
|
19703
|
+
"kind": "js",
|
|
19704
|
+
"name": "rapidNotificationListener",
|
|
19705
|
+
"declaration": {
|
|
19706
|
+
"name": "rapidNotificationListener",
|
|
19707
|
+
"module": "src/notification-listener/notification-listener.ts"
|
|
19708
|
+
}
|
|
19709
|
+
}
|
|
19710
|
+
]
|
|
19711
|
+
},
|
|
19388
19712
|
{
|
|
19389
19713
|
"kind": "javascript-module",
|
|
19390
19714
|
"path": "src/number-field/index.ts",
|
|
@@ -26264,7 +26588,7 @@
|
|
|
26264
26588
|
{
|
|
26265
26589
|
"kind": "variable",
|
|
26266
26590
|
"name": "rapidSnackbarStyles",
|
|
26267
|
-
"default": "css`\n ${foundationSnackbarStyles}\n .snackbar {\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);\n background-color: var(--neutral-layer-1);\n padding: calc((var(--design-unit) - 2) * 1px) calc(var(--design-unit) * 4px);\n }\n\n :host([type='error']) .snackbar::after {\n background-color: var(--error-color);\n }\n\n .content {\n font: var(--body-font);\n font-size: var(--type-ramp-minus-2-font-size);\n color: var(--neutral-foreground-rest);\n }\n\n .action {\n gap: calc(var(--design-unit) * 2px);\n }\n`"
|
|
26591
|
+
"default": "css`\n ${foundationSnackbarStyles}\n .snackbar {\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);\n background-color: var(--neutral-layer-1);\n padding: calc((var(--design-unit) - 2) * 1px) calc(var(--design-unit) * 4px);\n }\n\n :host([type='error']) .snackbar::after {\n background-color: var(--error-color);\n }\n\n .content {\n font-family: var(--body-font);\n font-size: var(--type-ramp-minus-2-font-size);\n color: var(--neutral-foreground-rest);\n }\n\n .action {\n gap: calc(var(--design-unit) * 2px);\n }\n`"
|
|
26268
26592
|
}
|
|
26269
26593
|
],
|
|
26270
26594
|
"exports": [
|
|
@@ -147,6 +147,15 @@ export declare const baseComponents: {
|
|
|
147
147
|
styles: import("@microsoft/fast-element").ElementStyles;
|
|
148
148
|
shadowOptions: ShadowRootInit;
|
|
149
149
|
}, typeof import("./multiselect").Multiselect>;
|
|
150
|
+
rapidNotificationListener: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
|
|
151
|
+
baseName: string;
|
|
152
|
+
template: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/foundation-ui").NotificationListener, any>;
|
|
153
|
+
shadowOptions: ShadowRootInit;
|
|
154
|
+
}>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
|
|
155
|
+
baseName: string;
|
|
156
|
+
template: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/foundation-ui").NotificationListener, any>;
|
|
157
|
+
shadowOptions: ShadowRootInit;
|
|
158
|
+
}, typeof import("./notification-listener").NotificationListener>;
|
|
150
159
|
rapidNumberField: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./number-field").NumberField>;
|
|
151
160
|
rapidProgress: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./progress").Progress>;
|
|
152
161
|
rapidProgressRing: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").ProgressRingOptions>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").ProgressRingOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AA+E5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA2EJ,SAAS,WAAW,GAAG,EAAE;CAe/C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/notification-listener/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NotificationListener as FoundationNotificationListener } from '@genesislcap/foundation-ui';
|
|
2
|
+
export declare const rapidErrorBoundaryShadowOptions: ShadowRootInit;
|
|
3
|
+
/**
|
|
4
|
+
* @tagname %%prefix%%-notification-listener
|
|
5
|
+
*/
|
|
6
|
+
export declare class NotificationListener extends FoundationNotificationListener {
|
|
7
|
+
}
|
|
8
|
+
export declare const rapidNotificationListener: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
|
|
9
|
+
baseName: string;
|
|
10
|
+
template: import("@microsoft/fast-element").ViewTemplate<FoundationNotificationListener, any>;
|
|
11
|
+
shadowOptions: ShadowRootInit;
|
|
12
|
+
}>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
|
|
13
|
+
baseName: string;
|
|
14
|
+
template: import("@microsoft/fast-element").ViewTemplate<FoundationNotificationListener, any>;
|
|
15
|
+
shadowOptions: ShadowRootInit;
|
|
16
|
+
}, typeof NotificationListener>;
|
|
17
|
+
//# sourceMappingURL=notification-listener.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-listener.d.ts","sourceRoot":"","sources":["../../../src/notification-listener/notification-listener.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,IAAI,8BAA8B,EAEvD,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,+BAA+B,EAAE,cAG7C,CAAC;AACF;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,8BAA8B;CAAG;AAE3E,eAAO,MAAM,yBAAyB;;;;;;;;+BAIpC,CAAC"}
|
|
@@ -42,6 +42,7 @@ import { rapidMenu } from './menu';
|
|
|
42
42
|
import { rapidMenuItem } from './menu-item';
|
|
43
43
|
import { rapidModal } from './modal';
|
|
44
44
|
import { rapidMultiselect } from './multiselect';
|
|
45
|
+
import { rapidNotificationListener } from './notification-listener';
|
|
45
46
|
import { rapidNumberField } from './number-field';
|
|
46
47
|
import { rapidProgress } from './progress';
|
|
47
48
|
import { rapidProgressRing } from './progress-ring';
|
|
@@ -116,6 +117,7 @@ export const baseComponents = {
|
|
|
116
117
|
rapidMenuItem,
|
|
117
118
|
rapidModal,
|
|
118
119
|
rapidMultiselect,
|
|
120
|
+
rapidNotificationListener,
|
|
119
121
|
rapidNumberField,
|
|
120
122
|
rapidProgress,
|
|
121
123
|
rapidProgressRing,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './notification-listener';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NotificationListener as FoundationNotificationListener, foundationNotificationListenerTemplate as template, } from '@genesislcap/foundation-ui';
|
|
2
|
+
export const rapidErrorBoundaryShadowOptions = {
|
|
3
|
+
mode: 'open',
|
|
4
|
+
delegatesFocus: true,
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @tagname %%prefix%%-notification-listener
|
|
8
|
+
*/
|
|
9
|
+
export class NotificationListener extends FoundationNotificationListener {
|
|
10
|
+
}
|
|
11
|
+
export const rapidNotificationListener = NotificationListener.compose({
|
|
12
|
+
baseName: 'notification-listener',
|
|
13
|
+
template,
|
|
14
|
+
shadowOptions: rapidErrorBoundaryShadowOptions,
|
|
15
|
+
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/rapid-design-system",
|
|
3
3
|
"description": "Rapid Design System",
|
|
4
|
-
"version": "14.182.
|
|
4
|
+
"version": "14.182.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^4.0.0",
|
|
32
|
-
"@genesislcap/genx": "14.182.
|
|
33
|
-
"@genesislcap/rollup-builder": "14.182.
|
|
34
|
-
"@genesislcap/ts-builder": "14.182.
|
|
35
|
-
"@genesislcap/uvu-playwright-builder": "14.182.
|
|
36
|
-
"@genesislcap/vite-builder": "14.182.
|
|
37
|
-
"@genesislcap/webpack-builder": "14.182.
|
|
32
|
+
"@genesislcap/genx": "14.182.2",
|
|
33
|
+
"@genesislcap/rollup-builder": "14.182.2",
|
|
34
|
+
"@genesislcap/ts-builder": "14.182.2",
|
|
35
|
+
"@genesislcap/uvu-playwright-builder": "14.182.2",
|
|
36
|
+
"@genesislcap/vite-builder": "14.182.2",
|
|
37
|
+
"@genesislcap/webpack-builder": "14.182.2",
|
|
38
38
|
"@storybook/addon-coverage": "^1.0.1",
|
|
39
39
|
"@storybook/addon-essentials": "^8.0.0",
|
|
40
40
|
"@storybook/addon-links": "^8.0.0",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"storybook": "^8.0.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@genesislcap/foundation-logger": "14.182.
|
|
55
|
-
"@genesislcap/foundation-ui": "14.182.
|
|
54
|
+
"@genesislcap/foundation-logger": "14.182.2",
|
|
55
|
+
"@genesislcap/foundation-ui": "14.182.2",
|
|
56
56
|
"@microsoft/fast-colors": "^5.3.1",
|
|
57
57
|
"@microsoft/fast-components": "^2.30.6",
|
|
58
58
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"access": "public"
|
|
71
71
|
},
|
|
72
72
|
"customElements": "dist/custom-elements.json",
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "797302335de36cae641850d319e01bd258f5d6fa"
|
|
74
74
|
}
|