carbon-components-angular 5.22.1 → 5.23.1
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/docs/documentation/components/PopoverContent.html +215 -11
- package/docs/documentation/components/Toggletip.html +842 -459
- package/docs/documentation/components/Tooltip.html +1056 -606
- package/docs/documentation/components/TooltipDefinition.html +977 -538
- package/docs/documentation/coverage.html +20 -20
- package/docs/documentation/dependencies.html +3 -1
- package/docs/documentation/directives/PopoverContainer.html +1017 -636
- package/docs/documentation/images/coverage-badge-documentation.svg +1 -1
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/miscellaneous/typealiases.html +21 -0
- package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ComboBoxModule.html +4 -4
- package/docs/documentation/modules/ContentSwitcherModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ContentSwitcherModule.html +4 -4
- package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +7 -7
- package/docs/documentation/modules/DatePickerInputModule.html +7 -7
- package/docs/documentation/modules/DatePickerModule/dependencies.svg +57 -53
- package/docs/documentation/modules/DatePickerModule.html +57 -53
- package/docs/documentation/modules/DialogModule/dependencies.svg +34 -34
- package/docs/documentation/modules/DialogModule.html +34 -34
- package/docs/documentation/modules/GridModule/dependencies.svg +60 -60
- package/docs/documentation/modules/GridModule.html +60 -60
- package/docs/documentation/modules/LoadingModule/dependencies.svg +4 -4
- package/docs/documentation/modules/LoadingModule.html +4 -4
- package/docs/documentation/modules/NFormsModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NFormsModule.html +4 -4
- package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NumberModule.html +4 -4
- package/docs/documentation/modules/ProgressIndicatorModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ProgressIndicatorModule.html +4 -4
- package/docs/documentation/modules/RadioModule/dependencies.svg +4 -4
- package/docs/documentation/modules/RadioModule.html +4 -4
- package/docs/documentation/modules/SearchModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SearchModule.html +4 -4
- package/docs/documentation/modules/SelectModule/dependencies.svg +58 -58
- package/docs/documentation/modules/SelectModule.html +58 -58
- package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SliderModule.html +4 -4
- package/docs/documentation/modules/StructuredListModule/dependencies.svg +66 -66
- package/docs/documentation/modules/StructuredListModule.html +66 -66
- package/docs/documentation/modules/TabsModule/dependencies.svg +69 -69
- package/docs/documentation/modules/TabsModule.html +69 -69
- package/docs/documentation/modules/TagModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TagModule.html +4 -4
- package/docs/documentation/modules/ThemeModule/dependencies.svg +13 -13
- package/docs/documentation/modules/ThemeModule.html +13 -13
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TimePickerModule.html +4 -4
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +45 -49
- package/docs/documentation/modules/TimePickerSelectModule.html +45 -49
- package/docs/documentation/modules/ToggleModule/dependencies.svg +44 -40
- package/docs/documentation/modules/ToggleModule.html +44 -40
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ToggletipModule.html +4 -4
- package/docs/documentation/modules/TooltipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TooltipModule.html +4 -4
- package/docs/documentation.json +1583 -809
- package/docs/storybook/1562.1e6a79b6.iframe.bundle.js +1 -0
- package/docs/storybook/4578.0721a3f2.iframe.bundle.js +1 -0
- package/docs/storybook/iframe.html +2 -2
- package/docs/storybook/index.json +1 -1
- package/docs/storybook/main.058586e7.iframe.bundle.js +1 -0
- package/docs/storybook/main.css +1156 -571
- package/docs/storybook/popover-popover-stories.a91784a3.iframe.bundle.js +1 -0
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/runtime~main.e62f61de.iframe.bundle.js +1 -0
- package/docs/storybook/stories.json +1 -1
- package/docs/storybook/toggletip-toggletip-stories.7265233d.iframe.bundle.js +1 -0
- package/docs/storybook/tooltip-definition-tooptip-stories.af07fda0.iframe.bundle.js +1 -0
- package/docs/storybook/tooltip-tooltip-stories.18664f1b.iframe.bundle.js +1 -0
- package/esm2020/popover/popover-content.component.mjs +33 -13
- package/esm2020/popover/popover.directive.mjs +215 -96
- package/esm2020/toggletip/toggletip.component.mjs +8 -6
- package/esm2020/tooltip/definition-tooptip.component.mjs +14 -15
- package/esm2020/tooltip/tooltip.component.mjs +13 -8
- package/fesm2015/carbon-components-angular-popover.mjs +247 -107
- package/fesm2015/carbon-components-angular-popover.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-toggletip.mjs +7 -5
- package/fesm2015/carbon-components-angular-toggletip.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-tooltip.mjs +25 -21
- package/fesm2015/carbon-components-angular-tooltip.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-popover.mjs +246 -107
- package/fesm2020/carbon-components-angular-popover.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-toggletip.mjs +7 -5
- package/fesm2020/carbon-components-angular-toggletip.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-tooltip.mjs +25 -21
- package/fesm2020/carbon-components-angular-tooltip.mjs.map +1 -1
- package/package.json +3 -2
- package/popover/popover-content.component.d.ts +7 -1
- package/popover/popover.directive.d.ts +74 -29
- package/toggletip/toggletip.component.d.ts +6 -5
- package/tooltip/definition-tooptip.component.d.ts +7 -8
- package/tooltip/tooltip.component.d.ts +6 -3
- package/docs/storybook/4578.93dc52a7.iframe.bundle.js +0 -1
- package/docs/storybook/main.f61a9bb7.iframe.bundle.js +0 -1
- package/docs/storybook/popover-popover-stories.cc1684df.iframe.bundle.js +0 -1
- package/docs/storybook/runtime~main.6a22a4e9.iframe.bundle.js +0 -1
- package/docs/storybook/toggletip-toggletip-stories.22e37008.iframe.bundle.js +0 -1
- package/docs/storybook/tooltip-definition-tooptip-stories.2e1a211c.iframe.bundle.js +0 -1
- package/docs/storybook/tooltip-tooltip-stories.6a4a1383.iframe.bundle.js +0 -1
package/docs/documentation.json
CHANGED
|
@@ -14834,12 +14834,12 @@
|
|
|
14834
14834
|
},
|
|
14835
14835
|
{
|
|
14836
14836
|
"name": "PopoverContainer",
|
|
14837
|
-
"id": "directive-PopoverContainer-
|
|
14837
|
+
"id": "directive-PopoverContainer-752c04e41e3e90474efc0f00a23fa0777a9dfce8961b78493bae4986846a4ce726356c69a5ea4ba2468d9a052f23b4b817e80792411e55683e490708a9e4fcd4",
|
|
14838
14838
|
"file": "src/popover/popover.directive.ts",
|
|
14839
14839
|
"type": "directive",
|
|
14840
|
-
"description": "
|
|
14841
|
-
"rawdescription": "\n
|
|
14842
|
-
"sourceCode": "import {\n\tChangeDetectorRef,\n\tDirective,\n\tEventEmitter,\n\tHostBinding,\n\tInput,\n\tOutput\n} from \"@angular/core\";\n\n
|
|
14840
|
+
"description": "",
|
|
14841
|
+
"rawdescription": "\n",
|
|
14842
|
+
"sourceCode": "import {\n\tAfterViewInit,\n\tChangeDetectorRef,\n\tDirective,\n\tElementRef,\n\tEventEmitter,\n\tHostBinding,\n\tInput,\n\tNgZone,\n\tOnChanges,\n\tOnDestroy,\n\tOutput,\n\tRenderer2,\n\tSimpleChanges\n} from \"@angular/core\";\nimport {\n\tarrow,\n\tautoUpdate,\n\tcomputePosition,\n\tflip,\n\toffset,\n\tPlacement\n} from \"@floating-ui/dom\";\n\n// Deprecated popover alignments\ntype oldPlacement = \"top-left\"\n\t| \"top-right\"\n\t| \"bottom-left\"\n\t| \"bottom-right\"\n\t| \"left-bottom\"\n\t| \"left-top\"\n\t| \"right-bottom\"\n\t| \"right-top\";\n\n@Directive({\n\tselector: \"[cdsPopover], [ibmPopover]\"\n})\nexport class PopoverContainer implements AfterViewInit, OnChanges, OnDestroy {\n\t/**\n\t * Set alignment of popover\n\t * As of v5, `oldPlacements` are now deprecated in favor of Placements\n\t *\n\t * When `autoAlign` is set to `true`, alignment may change for best placement\n\t */\n\t@Input() set align(alignment: oldPlacement | Placement) {\n\t\t// If alignment is not passed, the default value will be `undefined`.\n\t\tif (!alignment) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst previousAlignment = this._align;\n\t\tswitch (alignment) {\n\t\t\tcase \"top-left\":\n\t\t\t\tthis._align = \"top-start\";\n\t\t\t\tbreak;\n\t\t\tcase \"top-right\":\n\t\t\t\tthis._align = \"top-end\";\n\t\t\t\tbreak;\n\t\t\tcase \"bottom-left\":\n\t\t\t\tthis._align = \"bottom-start\";\n\t\t\t\tbreak;\n\t\t\tcase \"bottom-right\":\n\t\t\t\tthis._align = \"bottom-end\";\n\t\t\t\tbreak;\n\t\t\tcase \"left-top\":\n\t\t\t\tthis._align = \"left-start\";\n\t\t\t\tbreak;\n\t\t\tcase \"left-bottom\":\n\t\t\t\tthis._align = \"left-end\";\n\t\t\t\tbreak;\n\t\t\tcase \"right-top\":\n\t\t\t\tthis._align = \"right-start\";\n\t\t\t\tbreak;\n\t\t\tcase \"right-bottom\":\n\t\t\t\tthis._align = \"right-end\";\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tthis._align = alignment as Placement;\n\t\t\t\tbreak;\n\t\t}\n\t\tthis.updateAlignmentClass(this._align, previousAlignment);\n\t}\n\n\t_align: Placement = \"bottom\";\n\treadonly alignmentClassPrefix = \"cds--popover--\";\n\n\t/**\n\t * Emits an event when the dialog is closed\n\t */\n\t@Output() onClose: EventEmitter<Event> = new EventEmitter();\n\t/**\n\t * Emits an event when the dialog is opened\n\t */\n\t@Output() onOpen: EventEmitter<Event> = new EventEmitter();\n\t/**\n\t * Emits an event when the state of `isOpen` changes. Allows `isOpen` to be double bound\n\t */\n\t@Output() isOpenChange = new EventEmitter<boolean>();\n\t/**\n\t * Show caret at the alignment position\n\t */\n\t@HostBinding(\"class.cds--popover--caret\") @Input() caret = true;\n\t/**\n\t * Enable drop shadow around the popover container\n\t */\n\t@HostBinding(\"class.cds--popover--drop-shadow\") @Input() dropShadow = true;\n\t/**\n\t * Enable high contrast for popover container\n\t */\n\t@HostBinding(\"class.cds--popover--high-contrast\") @Input() highContrast = false;\n\t/**\n\t * **Experimental**: Use floating-ui to position the tooltip\n\t * This is not toggleable - should be assigned once\n\t */\n\t@HostBinding(\"class.cds--popover--auto-align\") @Input() autoAlign = false;\n\t@HostBinding(\"class.cds--popover-container\") containerClass = true;\n\t@Input() @HostBinding(\"class.cds--popover--open\") isOpen = false;\n\n\tprotected popoverContentRef: HTMLElement;\n\tprotected caretRef: HTMLElement;\n\tprotected caretOffset: number;\n\tprotected caretHeight: number;\n\tprotected unmountFloatingElement: Function;\n\n\tconstructor(\n\t\tprotected elementRef: ElementRef,\n\t\tprotected ngZone: NgZone,\n\t\tprotected renderer: Renderer2,\n\t\tprotected changeDetectorRef: ChangeDetectorRef\n\t) {}\n\n\t/**\n\t * Handles emitting open/close event\n\t * @param open - Is the popover container open\n\t * @param event - Event\n\t */\n\thandleChange(open: boolean, event?: Event) {\n\t\t// We only emit the event when parameter has an event to keep existing behavior\n\t\tif ((this.isOpen !== open) && event) {\n\t\t\tthis.isOpenChange.emit(open);\n\t\t}\n\n\t\tif (open) {\n\t\t\tif (event) {\n\t\t\t\tthis.onOpen.emit(event);\n\t\t\t}\n\n\t\t\t// when auto alignment is enabled, use auto update to set the placement for the element\n\t\t\tif (this.autoAlign) {\n\t\t\t\tif (this.caretRef) {\n\t\t\t\t\t// Get caret offset/height property\n\t\t\t\t\t// Getting computed styles once every open, otherwise expensive.\n\t\t\t\t\tconst computedStyle = getComputedStyle(this.caretRef);\n\t\t\t\t\tconst offset = computedStyle.getPropertyValue(\"--cds-popover-offset\");\n\t\t\t\t\tconst height = computedStyle.getPropertyValue(\"--cds-popover-caret-height\");\n\t\t\t\t\tthis.caretOffset = (offset?.includes(\"px\") ? Number(offset.split(\"px\", 1)[0]) : Number(offset.split(\"rem\", 1)[0]) * 16) || 10;\n\t\t\t\t\tthis.caretHeight = (height?.includes(\"px\") ? Number(height.split(\"px\", 1)[0]) : Number(height.split(\"rem\", 1)[0]) * 16) || 6;\n\t\t\t\t}\n\t\t\t\tif (this.elementRef.nativeElement && this.popoverContentRef) {\n\t\t\t\t\tthis.unmountFloatingElement = autoUpdate(\n\t\t\t\t\t\tthis.elementRef.nativeElement,\n\t\t\t\t\t\tthis.popoverContentRef,\n\t\t\t\t\t\tthis.recomputePosition.bind(this)\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tthis.cleanUp();\n\t\t\tif (event) {\n\t\t\t\tthis.onClose.emit(event);\n\t\t\t}\n\t\t}\n\t\tthis.isOpen = open;\n\t\tthis.changeDetectorRef.markForCheck();\n\t}\n\n\troundByDPR(value) {\n\t\tconst dpr = window.devicePixelRatio || 1;\n\t\treturn Math.round(value * dpr) / dpr;\n\t}\n\n\t/**\n\t * Compute position of tooltip when autoAlign is enabled\n\t */\n\trecomputePosition() {\n\t\t// Run outside of angular zone to avoid unnecessary change detection and rely on floating-ui\n\t\tthis.ngZone.runOutsideAngular(async () => {\n\t\t\tconst { x, y, placement, middlewareData } = await computePosition(\n\t\t\t\tthis.elementRef.nativeElement,\n\t\t\t\tthis.popoverContentRef,\n\t\t\t\t{\n\t\t\t\t\tplacement: this._align,\n\t\t\t\t\tstrategy: \"fixed\",\n\t\t\t\t\tmiddleware: [\n\t\t\t\t\t\toffset(this.caretOffset),\n\t\t\t\t\t\tflip({ fallbackAxisSideDirection: \"start\" }),\n\t\t\t\t\t\tarrow({ element: this.caretRef })\n\t\t\t\t\t]\n\t\t\t\t});\n\n\t\t\tconst previousAlignment = this._align;\n\t\t\tthis._align = placement;\n\t\t\tthis.updateAlignmentClass(this._align, previousAlignment);\n\n\t\t\t// Using CSSOM to manipulate CSS to avoid content security policy inline-src\n\t\t\t// https://github.com/w3c/webappsec-csp/issues/212\n\t\t\tObject.assign(this.popoverContentRef.style, {\n\t\t\t\tposition: \"fixed\",\n\t\t\t\ttop: \"0\",\n\t\t\t\tleft: \"0\",\n\t\t\t\t// Using transform instead of top/left position to improve performance\n\t\t\t\ttransform: `translate(${this.roundByDPR(x)}px,${this.roundByDPR(y)}px)`\n\t\t\t});\n\n\t\t\tif (middlewareData.arrow) {\n\t\t\t\tconst { x: arrowX, y: arrowY } = middlewareData.arrow;\n\n\t\t\t\tconst staticSide = {\n\t\t\t\t\ttop: \"bottom\",\n\t\t\t\t\tright: \"left\",\n\t\t\t\t\tbottom: \"top\",\n\t\t\t\t\tleft: \"right\"\n\t\t\t\t}[placement.split(\"-\")[0]];\n\n\t\t\t\tthis.caretRef.style.left = arrowX != null ? `${arrowX}px` : \"\";\n\t\t\t\tthis.caretRef.style.top = arrowY != null ? `${arrowY}px` : \"\";\n\t\t\t\tthis.caretRef.style.right = \"\";\n\t\t\t\tthis.caretRef.style.bottom = \"\";\n\n\t\t\t\tif (staticSide) {\n\t\t\t\t\tthis.caretRef.style[staticSide] = `${-this.caretHeight}px`;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\n\t/**\n\t * Close the popover and reopen it with updated values without emitting an event\n\t * @param changes\n\t */\n\tngOnChanges(changes: SimpleChanges): void {\n\t\t// Close and reopen the popover, handle alignment/programmatic open/close\n\t\tconst originalState = this.isOpen;\n\t\tthis.handleChange(false);\n\n\t\t// Ignore first change since content is not initialized\n\t\tif (changes.autoAlign && !changes.autoAlign.firstChange) {\n\t\t\t// Reset the inline styles\n\t\t\tthis.popoverContentRef = this.elementRef.nativeElement.querySelector(\".cds--popover-content\");\n\t\t\tthis.popoverContentRef.setAttribute(\"style\", \"\");\n\t\t\tthis.caretRef = this.elementRef.nativeElement.querySelector(\"span.cds--popover-caret\");\n\t\t}\n\n\t\tthis.handleChange(originalState);\n\t}\n\n\t/**\n\t * Handle initialization of element\n\t */\n\tngAfterViewInit(): void {\n\t\tthis.initializeReferences();\n\t}\n\n\tinitializeReferences(): void {\n\t\tthis.updateAlignmentClass(this._align);\n\n\t\t// Initialize html references since they will not change and are required for popover components\n\t\tthis.popoverContentRef = this.elementRef.nativeElement.querySelector(\".cds--popover-content\");\n\t\tthis.caretRef = this.elementRef.nativeElement.querySelector(\"span.cds--popover-caret\");\n\n\t\t// Handle initial isOpen\n\t\tthis.handleChange(this.isOpen);\n\t}\n\n\t/**\n\t * Clean up\n\t */\n\tngOnDestroy(): void {\n\t\tthis.cleanUp();\n\t}\n\n\t/**\n\t * Clean up `autoUpdate` if auto alignment is enabled\n\t */\n\tcleanUp() {\n\t\tif (this.unmountFloatingElement) {\n\t\t\tthis.unmountFloatingElement();\n\t\t}\n\t\tthis.unmountFloatingElement = undefined;\n\t}\n\n\t/**\n\t * Replace existing previous alignment class with new\n\t * @param previousAlignment\n\t */\n\tupdateAlignmentClass(newAlignment: string, previousAlignment?: string) {\n\t\tif (this.elementRef.nativeElement && previousAlignment !== newAlignment) {\n\t\t\tconst regexp = new RegExp(\"right|top|left|bottom\");\n\t\t\t// Since we are constantly switching, it's safer to delete all matching class names\n\t\t\tthis.elementRef.nativeElement.classList.forEach(className => {\n\t\t\t\tif (regexp.test(className)) {\n\t\t\t\t\tthis.renderer.removeClass(this.elementRef.nativeElement, `${className}`);\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis.renderer.addClass(this.elementRef.nativeElement, `${this.alignmentClassPrefix}${newAlignment}`);\n\t\t}\n\t}\n}\n",
|
|
14843
14843
|
"selector": "[cdsPopover], [ibmPopover]",
|
|
14844
14844
|
"providers": [],
|
|
14845
14845
|
"hostDirectives": [],
|
|
@@ -14847,11 +14847,23 @@
|
|
|
14847
14847
|
"inputsClass": [
|
|
14848
14848
|
{
|
|
14849
14849
|
"name": "align",
|
|
14850
|
-
"defaultValue": "\"bottom\"",
|
|
14851
14850
|
"deprecated": false,
|
|
14852
14851
|
"deprecationMessage": "",
|
|
14853
|
-
"
|
|
14854
|
-
"
|
|
14852
|
+
"rawdescription": "\n\nSet alignment of popover\nAs of v5, `oldPlacements` are now deprecated in favor of Placements\n\nWhen `autoAlign` is set to `true`, alignment may change for best placement\n",
|
|
14853
|
+
"description": "<p>Set alignment of popover\nAs of v5, <code>oldPlacements</code> are now deprecated in favor of Placements</p>\n<p>When <code>autoAlign</code> is set to <code>true</code>, alignment may change for best placement</p>\n",
|
|
14854
|
+
"line": 45,
|
|
14855
|
+
"type": "oldPlacement | Placement",
|
|
14856
|
+
"decorators": []
|
|
14857
|
+
},
|
|
14858
|
+
{
|
|
14859
|
+
"name": "autoAlign",
|
|
14860
|
+
"defaultValue": "false",
|
|
14861
|
+
"deprecated": false,
|
|
14862
|
+
"deprecationMessage": "",
|
|
14863
|
+
"rawdescription": "\n\n**Experimental**: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once\n",
|
|
14864
|
+
"description": "<p><strong>Experimental</strong>: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once</p>\n",
|
|
14865
|
+
"line": 115,
|
|
14866
|
+
"type": "boolean",
|
|
14855
14867
|
"decorators": []
|
|
14856
14868
|
},
|
|
14857
14869
|
{
|
|
@@ -14859,7 +14871,9 @@
|
|
|
14859
14871
|
"defaultValue": "true",
|
|
14860
14872
|
"deprecated": false,
|
|
14861
14873
|
"deprecationMessage": "",
|
|
14862
|
-
"
|
|
14874
|
+
"rawdescription": "\n\nShow caret at the alignment position\n",
|
|
14875
|
+
"description": "<p>Show caret at the alignment position</p>\n",
|
|
14876
|
+
"line": 102,
|
|
14863
14877
|
"type": "boolean",
|
|
14864
14878
|
"decorators": []
|
|
14865
14879
|
},
|
|
@@ -14868,7 +14882,9 @@
|
|
|
14868
14882
|
"defaultValue": "true",
|
|
14869
14883
|
"deprecated": false,
|
|
14870
14884
|
"deprecationMessage": "",
|
|
14871
|
-
"
|
|
14885
|
+
"rawdescription": "\n\nEnable drop shadow around the popover container\n",
|
|
14886
|
+
"description": "<p>Enable drop shadow around the popover container</p>\n",
|
|
14887
|
+
"line": 106,
|
|
14872
14888
|
"type": "boolean",
|
|
14873
14889
|
"decorators": []
|
|
14874
14890
|
},
|
|
@@ -14877,7 +14893,9 @@
|
|
|
14877
14893
|
"defaultValue": "false",
|
|
14878
14894
|
"deprecated": false,
|
|
14879
14895
|
"deprecationMessage": "",
|
|
14880
|
-
"
|
|
14896
|
+
"rawdescription": "\n\nEnable high contrast for popover container\n",
|
|
14897
|
+
"description": "<p>Enable high contrast for popover container</p>\n",
|
|
14898
|
+
"line": 110,
|
|
14881
14899
|
"type": "boolean",
|
|
14882
14900
|
"decorators": []
|
|
14883
14901
|
},
|
|
@@ -14886,7 +14904,7 @@
|
|
|
14886
14904
|
"defaultValue": "false",
|
|
14887
14905
|
"deprecated": false,
|
|
14888
14906
|
"deprecationMessage": "",
|
|
14889
|
-
"line":
|
|
14907
|
+
"line": 117,
|
|
14890
14908
|
"type": "boolean",
|
|
14891
14909
|
"decorators": []
|
|
14892
14910
|
}
|
|
@@ -14899,7 +14917,7 @@
|
|
|
14899
14917
|
"deprecationMessage": "",
|
|
14900
14918
|
"rawdescription": "\n\nEmits an event when the state of `isOpen` changes. Allows `isOpen` to be double bound\n",
|
|
14901
14919
|
"description": "<p>Emits an event when the state of <code>isOpen</code> changes. Allows <code>isOpen</code> to be double bound</p>\n",
|
|
14902
|
-
"line":
|
|
14920
|
+
"line": 98,
|
|
14903
14921
|
"type": "EventEmitter"
|
|
14904
14922
|
},
|
|
14905
14923
|
{
|
|
@@ -14909,7 +14927,7 @@
|
|
|
14909
14927
|
"deprecationMessage": "",
|
|
14910
14928
|
"rawdescription": "\n\nEmits an event when the dialog is closed\n",
|
|
14911
14929
|
"description": "<p>Emits an event when the dialog is closed</p>\n",
|
|
14912
|
-
"line":
|
|
14930
|
+
"line": 90,
|
|
14913
14931
|
"type": "EventEmitter<Event>"
|
|
14914
14932
|
},
|
|
14915
14933
|
{
|
|
@@ -14919,7 +14937,7 @@
|
|
|
14919
14937
|
"deprecationMessage": "",
|
|
14920
14938
|
"rawdescription": "\n\nEmits an event when the dialog is opened\n",
|
|
14921
14939
|
"description": "<p>Emits an event when the dialog is opened</p>\n",
|
|
14922
|
-
"line":
|
|
14940
|
+
"line": 94,
|
|
14923
14941
|
"type": "EventEmitter<Event>"
|
|
14924
14942
|
}
|
|
14925
14943
|
],
|
|
@@ -14927,113 +14945,40 @@
|
|
|
14927
14945
|
"deprecationMessage": "",
|
|
14928
14946
|
"hostBindings": [
|
|
14929
14947
|
{
|
|
14930
|
-
"name": "class.cds--popover
|
|
14931
|
-
"
|
|
14932
|
-
"deprecationMessage": "",
|
|
14933
|
-
"line": 37,
|
|
14934
|
-
"type": "boolean",
|
|
14935
|
-
"decorators": []
|
|
14936
|
-
},
|
|
14937
|
-
{
|
|
14938
|
-
"name": "class.cds--popover--bottom-left",
|
|
14939
|
-
"deprecated": false,
|
|
14940
|
-
"deprecationMessage": "",
|
|
14941
|
-
"line": 41,
|
|
14942
|
-
"type": "boolean",
|
|
14943
|
-
"decorators": []
|
|
14944
|
-
},
|
|
14945
|
-
{
|
|
14946
|
-
"name": "class.cds--popover--bottom-right",
|
|
14947
|
-
"deprecated": false,
|
|
14948
|
-
"deprecationMessage": "",
|
|
14949
|
-
"line": 45,
|
|
14950
|
-
"type": "boolean",
|
|
14951
|
-
"decorators": []
|
|
14952
|
-
},
|
|
14953
|
-
{
|
|
14954
|
-
"name": "class.cds--popover--left",
|
|
14955
|
-
"deprecated": false,
|
|
14956
|
-
"deprecationMessage": "",
|
|
14957
|
-
"line": 50,
|
|
14958
|
-
"type": "boolean",
|
|
14959
|
-
"decorators": []
|
|
14960
|
-
},
|
|
14961
|
-
{
|
|
14962
|
-
"name": "class.cds--popover--left-bottom",
|
|
14963
|
-
"deprecated": false,
|
|
14964
|
-
"deprecationMessage": "",
|
|
14965
|
-
"line": 58,
|
|
14966
|
-
"type": "boolean",
|
|
14967
|
-
"decorators": []
|
|
14968
|
-
},
|
|
14969
|
-
{
|
|
14970
|
-
"name": "class.cds--popover--left-top",
|
|
14971
|
-
"deprecated": false,
|
|
14972
|
-
"deprecationMessage": "",
|
|
14973
|
-
"line": 54,
|
|
14974
|
-
"type": "boolean",
|
|
14975
|
-
"decorators": []
|
|
14976
|
-
},
|
|
14977
|
-
{
|
|
14978
|
-
"name": "class.cds--popover--right",
|
|
14979
|
-
"deprecated": false,
|
|
14980
|
-
"deprecationMessage": "",
|
|
14981
|
-
"line": 63,
|
|
14982
|
-
"type": "boolean",
|
|
14983
|
-
"decorators": []
|
|
14984
|
-
},
|
|
14985
|
-
{
|
|
14986
|
-
"name": "class.cds--popover--right-bottom",
|
|
14987
|
-
"deprecated": false,
|
|
14988
|
-
"deprecationMessage": "",
|
|
14989
|
-
"line": 71,
|
|
14990
|
-
"type": "boolean",
|
|
14991
|
-
"decorators": []
|
|
14992
|
-
},
|
|
14993
|
-
{
|
|
14994
|
-
"name": "class.cds--popover--right-top",
|
|
14995
|
-
"deprecated": false,
|
|
14996
|
-
"deprecationMessage": "",
|
|
14997
|
-
"line": 67,
|
|
14998
|
-
"type": "boolean",
|
|
14999
|
-
"decorators": []
|
|
15000
|
-
},
|
|
15001
|
-
{
|
|
15002
|
-
"name": "class.cds--popover--top",
|
|
14948
|
+
"name": "class.cds--popover-container",
|
|
14949
|
+
"defaultValue": "true",
|
|
15003
14950
|
"deprecated": false,
|
|
15004
14951
|
"deprecationMessage": "",
|
|
15005
|
-
"line":
|
|
14952
|
+
"line": 116,
|
|
15006
14953
|
"type": "boolean",
|
|
15007
14954
|
"decorators": []
|
|
15008
|
-
}
|
|
14955
|
+
}
|
|
14956
|
+
],
|
|
14957
|
+
"hostListeners": [],
|
|
14958
|
+
"propertiesClass": [
|
|
15009
14959
|
{
|
|
15010
|
-
"name": "
|
|
14960
|
+
"name": "_align",
|
|
14961
|
+
"defaultValue": "\"bottom\"",
|
|
15011
14962
|
"deprecated": false,
|
|
15012
14963
|
"deprecationMessage": "",
|
|
15013
|
-
"
|
|
15014
|
-
"
|
|
15015
|
-
"
|
|
14964
|
+
"type": "Placement",
|
|
14965
|
+
"optional": false,
|
|
14966
|
+
"description": "",
|
|
14967
|
+
"line": 84
|
|
15016
14968
|
},
|
|
15017
14969
|
{
|
|
15018
|
-
"name": "
|
|
14970
|
+
"name": "alignmentClassPrefix",
|
|
14971
|
+
"defaultValue": "\"cds--popover--\"",
|
|
15019
14972
|
"deprecated": false,
|
|
15020
14973
|
"deprecationMessage": "",
|
|
15021
|
-
"
|
|
15022
|
-
"
|
|
15023
|
-
"
|
|
14974
|
+
"type": "string",
|
|
14975
|
+
"optional": false,
|
|
14976
|
+
"description": "",
|
|
14977
|
+
"line": 85,
|
|
14978
|
+
"modifierKind": [
|
|
14979
|
+
146
|
|
14980
|
+
]
|
|
15024
14981
|
},
|
|
15025
|
-
{
|
|
15026
|
-
"name": "class.cds--popover-container",
|
|
15027
|
-
"defaultValue": "true",
|
|
15028
|
-
"deprecated": false,
|
|
15029
|
-
"deprecationMessage": "",
|
|
15030
|
-
"line": 93,
|
|
15031
|
-
"type": "boolean",
|
|
15032
|
-
"decorators": []
|
|
15033
|
-
}
|
|
15034
|
-
],
|
|
15035
|
-
"hostListeners": [],
|
|
15036
|
-
"propertiesClass": [
|
|
15037
14982
|
{
|
|
15038
14983
|
"name": "containerClass",
|
|
15039
14984
|
"defaultValue": "true",
|
|
@@ -15042,7 +14987,7 @@
|
|
|
15042
14987
|
"type": "",
|
|
15043
14988
|
"optional": false,
|
|
15044
14989
|
"description": "",
|
|
15045
|
-
"line":
|
|
14990
|
+
"line": 116,
|
|
15046
14991
|
"decorators": [
|
|
15047
14992
|
{
|
|
15048
14993
|
"name": "HostBinding",
|
|
@@ -15055,6 +15000,18 @@
|
|
|
15055
15000
|
}
|
|
15056
15001
|
],
|
|
15057
15002
|
"methodsClass": [
|
|
15003
|
+
{
|
|
15004
|
+
"name": "cleanUp",
|
|
15005
|
+
"args": [],
|
|
15006
|
+
"optional": false,
|
|
15007
|
+
"returnType": "void",
|
|
15008
|
+
"typeParameters": [],
|
|
15009
|
+
"line": 285,
|
|
15010
|
+
"deprecated": false,
|
|
15011
|
+
"deprecationMessage": "",
|
|
15012
|
+
"rawdescription": "\n\nClean up `autoUpdate` if auto alignment is enabled\n",
|
|
15013
|
+
"description": "<p>Clean up <code>autoUpdate</code> if auto alignment is enabled</p>\n"
|
|
15014
|
+
},
|
|
15058
15015
|
{
|
|
15059
15016
|
"name": "handleChange",
|
|
15060
15017
|
"args": [
|
|
@@ -15068,43 +15025,212 @@
|
|
|
15068
15025
|
"name": "event",
|
|
15069
15026
|
"type": "Event",
|
|
15070
15027
|
"deprecated": false,
|
|
15071
|
-
"deprecationMessage": ""
|
|
15028
|
+
"deprecationMessage": "",
|
|
15029
|
+
"optional": true
|
|
15072
15030
|
}
|
|
15073
15031
|
],
|
|
15074
15032
|
"optional": false,
|
|
15075
15033
|
"returnType": "void",
|
|
15076
15034
|
"typeParameters": [],
|
|
15077
|
-
"line":
|
|
15035
|
+
"line": 137,
|
|
15078
15036
|
"deprecated": false,
|
|
15079
15037
|
"deprecationMessage": "",
|
|
15038
|
+
"rawdescription": "\n\nHandles emitting open/close event\n",
|
|
15039
|
+
"description": "<p>Handles emitting open/close event</p>\n",
|
|
15080
15040
|
"jsdoctags": [
|
|
15081
15041
|
{
|
|
15082
|
-
"name":
|
|
15042
|
+
"name": {
|
|
15043
|
+
"pos": 3305,
|
|
15044
|
+
"end": 3309,
|
|
15045
|
+
"flags": 8421376,
|
|
15046
|
+
"modifierFlagsCache": 0,
|
|
15047
|
+
"transformFlags": 0,
|
|
15048
|
+
"kind": 79,
|
|
15049
|
+
"escapedText": "open"
|
|
15050
|
+
},
|
|
15083
15051
|
"type": "boolean",
|
|
15084
15052
|
"deprecated": false,
|
|
15085
15053
|
"deprecationMessage": "",
|
|
15054
|
+
"tagName": {
|
|
15055
|
+
"pos": 3299,
|
|
15056
|
+
"end": 3304,
|
|
15057
|
+
"flags": 8421376,
|
|
15058
|
+
"modifierFlagsCache": 0,
|
|
15059
|
+
"transformFlags": 0,
|
|
15060
|
+
"kind": 79,
|
|
15061
|
+
"escapedText": "param"
|
|
15062
|
+
},
|
|
15063
|
+
"comment": "<ul>\n<li>Is the popover container open</li>\n</ul>\n"
|
|
15064
|
+
},
|
|
15065
|
+
{
|
|
15066
|
+
"name": {
|
|
15067
|
+
"pos": 3353,
|
|
15068
|
+
"end": 3358,
|
|
15069
|
+
"flags": 8421376,
|
|
15070
|
+
"modifierFlagsCache": 0,
|
|
15071
|
+
"transformFlags": 0,
|
|
15072
|
+
"kind": 79,
|
|
15073
|
+
"escapedText": "event"
|
|
15074
|
+
},
|
|
15075
|
+
"type": "Event",
|
|
15076
|
+
"deprecated": false,
|
|
15077
|
+
"deprecationMessage": "",
|
|
15078
|
+
"optional": true,
|
|
15079
|
+
"tagName": {
|
|
15080
|
+
"pos": 3347,
|
|
15081
|
+
"end": 3352,
|
|
15082
|
+
"flags": 8421376,
|
|
15083
|
+
"modifierFlagsCache": 0,
|
|
15084
|
+
"transformFlags": 0,
|
|
15085
|
+
"kind": 79,
|
|
15086
|
+
"escapedText": "param"
|
|
15087
|
+
},
|
|
15088
|
+
"comment": "<ul>\n<li>Event</li>\n</ul>\n"
|
|
15089
|
+
}
|
|
15090
|
+
]
|
|
15091
|
+
},
|
|
15092
|
+
{
|
|
15093
|
+
"name": "initializeReferences",
|
|
15094
|
+
"args": [],
|
|
15095
|
+
"optional": false,
|
|
15096
|
+
"returnType": "void",
|
|
15097
|
+
"typeParameters": [],
|
|
15098
|
+
"line": 264,
|
|
15099
|
+
"deprecated": false,
|
|
15100
|
+
"deprecationMessage": ""
|
|
15101
|
+
},
|
|
15102
|
+
{
|
|
15103
|
+
"name": "recomputePosition",
|
|
15104
|
+
"args": [],
|
|
15105
|
+
"optional": false,
|
|
15106
|
+
"returnType": "void",
|
|
15107
|
+
"typeParameters": [],
|
|
15108
|
+
"line": 185,
|
|
15109
|
+
"deprecated": false,
|
|
15110
|
+
"deprecationMessage": "",
|
|
15111
|
+
"rawdescription": "\n\nCompute position of tooltip when autoAlign is enabled\n",
|
|
15112
|
+
"description": "<p>Compute position of tooltip when autoAlign is enabled</p>\n"
|
|
15113
|
+
},
|
|
15114
|
+
{
|
|
15115
|
+
"name": "roundByDPR",
|
|
15116
|
+
"args": [
|
|
15117
|
+
{
|
|
15118
|
+
"name": "value",
|
|
15119
|
+
"type": "",
|
|
15120
|
+
"deprecated": false,
|
|
15121
|
+
"deprecationMessage": ""
|
|
15122
|
+
}
|
|
15123
|
+
],
|
|
15124
|
+
"optional": false,
|
|
15125
|
+
"returnType": "number",
|
|
15126
|
+
"typeParameters": [],
|
|
15127
|
+
"line": 177,
|
|
15128
|
+
"deprecated": false,
|
|
15129
|
+
"deprecationMessage": "",
|
|
15130
|
+
"jsdoctags": [
|
|
15131
|
+
{
|
|
15132
|
+
"name": "value",
|
|
15133
|
+
"type": "",
|
|
15134
|
+
"deprecated": false,
|
|
15135
|
+
"deprecationMessage": "",
|
|
15086
15136
|
"tagName": {
|
|
15087
15137
|
"text": "param"
|
|
15088
15138
|
}
|
|
15139
|
+
}
|
|
15140
|
+
]
|
|
15141
|
+
},
|
|
15142
|
+
{
|
|
15143
|
+
"name": "updateAlignmentClass",
|
|
15144
|
+
"args": [
|
|
15145
|
+
{
|
|
15146
|
+
"name": "newAlignment",
|
|
15147
|
+
"type": "string",
|
|
15148
|
+
"deprecated": false,
|
|
15149
|
+
"deprecationMessage": ""
|
|
15089
15150
|
},
|
|
15090
15151
|
{
|
|
15091
|
-
"name": "
|
|
15092
|
-
"type": "
|
|
15152
|
+
"name": "previousAlignment",
|
|
15153
|
+
"type": "string",
|
|
15154
|
+
"deprecated": false,
|
|
15155
|
+
"deprecationMessage": "",
|
|
15156
|
+
"optional": true
|
|
15157
|
+
}
|
|
15158
|
+
],
|
|
15159
|
+
"optional": false,
|
|
15160
|
+
"returnType": "void",
|
|
15161
|
+
"typeParameters": [],
|
|
15162
|
+
"line": 296,
|
|
15163
|
+
"deprecated": false,
|
|
15164
|
+
"deprecationMessage": "",
|
|
15165
|
+
"rawdescription": "\n\nReplace existing previous alignment class with new\n",
|
|
15166
|
+
"description": "<p>Replace existing previous alignment class with new</p>\n",
|
|
15167
|
+
"jsdoctags": [
|
|
15168
|
+
{
|
|
15169
|
+
"name": "newAlignment",
|
|
15170
|
+
"type": "string",
|
|
15093
15171
|
"deprecated": false,
|
|
15094
15172
|
"deprecationMessage": "",
|
|
15095
15173
|
"tagName": {
|
|
15096
15174
|
"text": "param"
|
|
15097
15175
|
}
|
|
15176
|
+
},
|
|
15177
|
+
{
|
|
15178
|
+
"name": {
|
|
15179
|
+
"pos": 8148,
|
|
15180
|
+
"end": 8165,
|
|
15181
|
+
"flags": 8421376,
|
|
15182
|
+
"modifierFlagsCache": 0,
|
|
15183
|
+
"transformFlags": 0,
|
|
15184
|
+
"kind": 79,
|
|
15185
|
+
"escapedText": "previousAlignment"
|
|
15186
|
+
},
|
|
15187
|
+
"type": "string",
|
|
15188
|
+
"deprecated": false,
|
|
15189
|
+
"deprecationMessage": "",
|
|
15190
|
+
"optional": true,
|
|
15191
|
+
"tagName": {
|
|
15192
|
+
"pos": 8142,
|
|
15193
|
+
"end": 8147,
|
|
15194
|
+
"flags": 8421376,
|
|
15195
|
+
"modifierFlagsCache": 0,
|
|
15196
|
+
"transformFlags": 0,
|
|
15197
|
+
"kind": 79,
|
|
15198
|
+
"escapedText": "param"
|
|
15199
|
+
},
|
|
15200
|
+
"comment": ""
|
|
15098
15201
|
}
|
|
15099
15202
|
]
|
|
15100
15203
|
}
|
|
15101
15204
|
],
|
|
15205
|
+
"implements": [
|
|
15206
|
+
"AfterViewInit",
|
|
15207
|
+
"OnChanges",
|
|
15208
|
+
"OnDestroy"
|
|
15209
|
+
],
|
|
15102
15210
|
"constructorObj": {
|
|
15103
15211
|
"name": "constructor",
|
|
15104
15212
|
"description": "",
|
|
15105
15213
|
"deprecated": false,
|
|
15106
15214
|
"deprecationMessage": "",
|
|
15107
15215
|
"args": [
|
|
15216
|
+
{
|
|
15217
|
+
"name": "elementRef",
|
|
15218
|
+
"type": "ElementRef",
|
|
15219
|
+
"deprecated": false,
|
|
15220
|
+
"deprecationMessage": ""
|
|
15221
|
+
},
|
|
15222
|
+
{
|
|
15223
|
+
"name": "ngZone",
|
|
15224
|
+
"type": "NgZone",
|
|
15225
|
+
"deprecated": false,
|
|
15226
|
+
"deprecationMessage": ""
|
|
15227
|
+
},
|
|
15228
|
+
{
|
|
15229
|
+
"name": "renderer",
|
|
15230
|
+
"type": "Renderer2",
|
|
15231
|
+
"deprecated": false,
|
|
15232
|
+
"deprecationMessage": ""
|
|
15233
|
+
},
|
|
15108
15234
|
{
|
|
15109
15235
|
"name": "changeDetectorRef",
|
|
15110
15236
|
"type": "ChangeDetectorRef",
|
|
@@ -15112,8 +15238,35 @@
|
|
|
15112
15238
|
"deprecationMessage": ""
|
|
15113
15239
|
}
|
|
15114
15240
|
],
|
|
15115
|
-
"line":
|
|
15241
|
+
"line": 123,
|
|
15116
15242
|
"jsdoctags": [
|
|
15243
|
+
{
|
|
15244
|
+
"name": "elementRef",
|
|
15245
|
+
"type": "ElementRef",
|
|
15246
|
+
"deprecated": false,
|
|
15247
|
+
"deprecationMessage": "",
|
|
15248
|
+
"tagName": {
|
|
15249
|
+
"text": "param"
|
|
15250
|
+
}
|
|
15251
|
+
},
|
|
15252
|
+
{
|
|
15253
|
+
"name": "ngZone",
|
|
15254
|
+
"type": "NgZone",
|
|
15255
|
+
"deprecated": false,
|
|
15256
|
+
"deprecationMessage": "",
|
|
15257
|
+
"tagName": {
|
|
15258
|
+
"text": "param"
|
|
15259
|
+
}
|
|
15260
|
+
},
|
|
15261
|
+
{
|
|
15262
|
+
"name": "renderer",
|
|
15263
|
+
"type": "Renderer2",
|
|
15264
|
+
"deprecated": false,
|
|
15265
|
+
"deprecationMessage": "",
|
|
15266
|
+
"tagName": {
|
|
15267
|
+
"text": "param"
|
|
15268
|
+
}
|
|
15269
|
+
},
|
|
15117
15270
|
{
|
|
15118
15271
|
"name": "changeDetectorRef",
|
|
15119
15272
|
"type": "ChangeDetectorRef",
|
|
@@ -15126,112 +15279,36 @@
|
|
|
15126
15279
|
]
|
|
15127
15280
|
},
|
|
15128
15281
|
"accessors": {
|
|
15129
|
-
"
|
|
15130
|
-
"name": "
|
|
15131
|
-
"
|
|
15132
|
-
"name": "
|
|
15133
|
-
"type": "",
|
|
15134
|
-
"
|
|
15135
|
-
"
|
|
15136
|
-
|
|
15137
|
-
|
|
15138
|
-
|
|
15139
|
-
|
|
15140
|
-
|
|
15141
|
-
|
|
15142
|
-
|
|
15143
|
-
|
|
15144
|
-
"
|
|
15145
|
-
|
|
15146
|
-
|
|
15147
|
-
|
|
15148
|
-
|
|
15149
|
-
|
|
15150
|
-
|
|
15151
|
-
|
|
15152
|
-
|
|
15153
|
-
|
|
15154
|
-
|
|
15155
|
-
|
|
15156
|
-
|
|
15157
|
-
|
|
15158
|
-
|
|
15159
|
-
"name": "alignmentBottomClass",
|
|
15160
|
-
"type": "",
|
|
15161
|
-
"returnType": "",
|
|
15162
|
-
"line": 37
|
|
15163
|
-
}
|
|
15164
|
-
},
|
|
15165
|
-
"alignmentBottomLeftClass": {
|
|
15166
|
-
"name": "alignmentBottomLeftClass",
|
|
15167
|
-
"getSignature": {
|
|
15168
|
-
"name": "alignmentBottomLeftClass",
|
|
15169
|
-
"type": "",
|
|
15170
|
-
"returnType": "",
|
|
15171
|
-
"line": 41
|
|
15172
|
-
}
|
|
15173
|
-
},
|
|
15174
|
-
"alignmentBottomRightClass": {
|
|
15175
|
-
"name": "alignmentBottomRightClass",
|
|
15176
|
-
"getSignature": {
|
|
15177
|
-
"name": "alignmentBottomRightClass",
|
|
15178
|
-
"type": "",
|
|
15179
|
-
"returnType": "",
|
|
15180
|
-
"line": 45
|
|
15181
|
-
}
|
|
15182
|
-
},
|
|
15183
|
-
"alignmentLeftClass": {
|
|
15184
|
-
"name": "alignmentLeftClass",
|
|
15185
|
-
"getSignature": {
|
|
15186
|
-
"name": "alignmentLeftClass",
|
|
15187
|
-
"type": "",
|
|
15188
|
-
"returnType": "",
|
|
15189
|
-
"line": 50
|
|
15190
|
-
}
|
|
15191
|
-
},
|
|
15192
|
-
"alignmentLeftTopClass": {
|
|
15193
|
-
"name": "alignmentLeftTopClass",
|
|
15194
|
-
"getSignature": {
|
|
15195
|
-
"name": "alignmentLeftTopClass",
|
|
15196
|
-
"type": "",
|
|
15197
|
-
"returnType": "",
|
|
15198
|
-
"line": 54
|
|
15199
|
-
}
|
|
15200
|
-
},
|
|
15201
|
-
"alignmentLeftBottomClass": {
|
|
15202
|
-
"name": "alignmentLeftBottomClass",
|
|
15203
|
-
"getSignature": {
|
|
15204
|
-
"name": "alignmentLeftBottomClass",
|
|
15205
|
-
"type": "",
|
|
15206
|
-
"returnType": "",
|
|
15207
|
-
"line": 58
|
|
15208
|
-
}
|
|
15209
|
-
},
|
|
15210
|
-
"alignmentRightClass": {
|
|
15211
|
-
"name": "alignmentRightClass",
|
|
15212
|
-
"getSignature": {
|
|
15213
|
-
"name": "alignmentRightClass",
|
|
15214
|
-
"type": "",
|
|
15215
|
-
"returnType": "",
|
|
15216
|
-
"line": 63
|
|
15217
|
-
}
|
|
15218
|
-
},
|
|
15219
|
-
"alignmentRightTopClass": {
|
|
15220
|
-
"name": "alignmentRightTopClass",
|
|
15221
|
-
"getSignature": {
|
|
15222
|
-
"name": "alignmentRightTopClass",
|
|
15223
|
-
"type": "",
|
|
15224
|
-
"returnType": "",
|
|
15225
|
-
"line": 67
|
|
15226
|
-
}
|
|
15227
|
-
},
|
|
15228
|
-
"alignmentRightBottomClass": {
|
|
15229
|
-
"name": "alignmentRightBottomClass",
|
|
15230
|
-
"getSignature": {
|
|
15231
|
-
"name": "alignmentRightBottomClass",
|
|
15232
|
-
"type": "",
|
|
15233
|
-
"returnType": "",
|
|
15234
|
-
"line": 71
|
|
15282
|
+
"align": {
|
|
15283
|
+
"name": "align",
|
|
15284
|
+
"setSignature": {
|
|
15285
|
+
"name": "align",
|
|
15286
|
+
"type": "void",
|
|
15287
|
+
"deprecated": false,
|
|
15288
|
+
"deprecationMessage": "",
|
|
15289
|
+
"args": [
|
|
15290
|
+
{
|
|
15291
|
+
"name": "alignment",
|
|
15292
|
+
"type": "oldPlacement | Placement",
|
|
15293
|
+
"deprecated": false,
|
|
15294
|
+
"deprecationMessage": ""
|
|
15295
|
+
}
|
|
15296
|
+
],
|
|
15297
|
+
"returnType": "void",
|
|
15298
|
+
"line": 45,
|
|
15299
|
+
"rawdescription": "\n\nSet alignment of popover\nAs of v5, `oldPlacements` are now deprecated in favor of Placements\n\nWhen `autoAlign` is set to `true`, alignment may change for best placement\n",
|
|
15300
|
+
"description": "<p>Set alignment of popover\nAs of v5, <code>oldPlacements</code> are now deprecated in favor of Placements</p>\n<p>When <code>autoAlign</code> is set to <code>true</code>, alignment may change for best placement</p>\n",
|
|
15301
|
+
"jsdoctags": [
|
|
15302
|
+
{
|
|
15303
|
+
"name": "alignment",
|
|
15304
|
+
"type": "oldPlacement | Placement",
|
|
15305
|
+
"deprecated": false,
|
|
15306
|
+
"deprecationMessage": "",
|
|
15307
|
+
"tagName": {
|
|
15308
|
+
"text": "param"
|
|
15309
|
+
}
|
|
15310
|
+
}
|
|
15311
|
+
]
|
|
15235
15312
|
}
|
|
15236
15313
|
}
|
|
15237
15314
|
}
|
|
@@ -41586,7 +41663,7 @@
|
|
|
41586
41663
|
},
|
|
41587
41664
|
{
|
|
41588
41665
|
"name": "PopoverContent",
|
|
41589
|
-
"id": "component-PopoverContent-
|
|
41666
|
+
"id": "component-PopoverContent-370ccf7e0693b627376bd78b0e1d493337a002f0f83eba7a1e5cdc4b1902c4d284d297a44dea189280beb1cc30e09a1b3618b52712b57e645db9510f19f6d1d4",
|
|
41590
41667
|
"file": "src/popover/popover-content.component.ts",
|
|
41591
41668
|
"encapsulation": [],
|
|
41592
41669
|
"entryComponents": [],
|
|
@@ -41596,13 +41673,23 @@
|
|
|
41596
41673
|
"selector": "cds-popover-content, ibm-popover-content",
|
|
41597
41674
|
"styleUrls": [],
|
|
41598
41675
|
"styles": [],
|
|
41599
|
-
"template": "<span class=\"cds--popover-content\">\n\t<ng-content></ng-content>\n</span>\n<span class=\"cds--popover-caret\"></span>\n\t",
|
|
41676
|
+
"template": "<span class=\"cds--popover-content\" #content>\n\t<div>\n\t\t<ng-content></ng-content>\n\t</div>\n\t<span *ngIf=\"autoAlign\" class=\"cds--popover-caret cds--popover--auto-align\"></span>\n</span>\n<span *ngIf=\"!autoAlign\" class=\"cds--popover-caret\"></span>\n\t",
|
|
41600
41677
|
"templateUrl": [],
|
|
41601
41678
|
"viewProviders": [],
|
|
41602
41679
|
"hostDirectives": [],
|
|
41603
41680
|
"inputsClass": [],
|
|
41604
41681
|
"outputsClass": [],
|
|
41605
41682
|
"propertiesClass": [
|
|
41683
|
+
{
|
|
41684
|
+
"name": "autoAlign",
|
|
41685
|
+
"defaultValue": "false",
|
|
41686
|
+
"deprecated": false,
|
|
41687
|
+
"deprecationMessage": "",
|
|
41688
|
+
"type": "",
|
|
41689
|
+
"optional": false,
|
|
41690
|
+
"description": "",
|
|
41691
|
+
"line": 28
|
|
41692
|
+
},
|
|
41606
41693
|
{
|
|
41607
41694
|
"name": "popoverClass",
|
|
41608
41695
|
"defaultValue": "true",
|
|
@@ -41611,7 +41698,7 @@
|
|
|
41611
41698
|
"type": "",
|
|
41612
41699
|
"optional": false,
|
|
41613
41700
|
"description": "",
|
|
41614
|
-
"line":
|
|
41701
|
+
"line": 26,
|
|
41615
41702
|
"decorators": [
|
|
41616
41703
|
{
|
|
41617
41704
|
"name": "HostBinding",
|
|
@@ -41621,6 +41708,24 @@
|
|
|
41621
41708
|
"modifierKind": [
|
|
41622
41709
|
167
|
|
41623
41710
|
]
|
|
41711
|
+
},
|
|
41712
|
+
{
|
|
41713
|
+
"name": "popoverContent",
|
|
41714
|
+
"deprecated": false,
|
|
41715
|
+
"deprecationMessage": "",
|
|
41716
|
+
"type": "ElementRef",
|
|
41717
|
+
"optional": false,
|
|
41718
|
+
"description": "",
|
|
41719
|
+
"line": 27,
|
|
41720
|
+
"decorators": [
|
|
41721
|
+
{
|
|
41722
|
+
"name": "ViewChild",
|
|
41723
|
+
"stringifiedArguments": "'content'"
|
|
41724
|
+
}
|
|
41725
|
+
],
|
|
41726
|
+
"modifierKind": [
|
|
41727
|
+
167
|
|
41728
|
+
]
|
|
41624
41729
|
}
|
|
41625
41730
|
],
|
|
41626
41731
|
"methodsClass": [],
|
|
@@ -41632,7 +41737,7 @@
|
|
|
41632
41737
|
"defaultValue": "true",
|
|
41633
41738
|
"deprecated": false,
|
|
41634
41739
|
"deprecationMessage": "",
|
|
41635
|
-
"line":
|
|
41740
|
+
"line": 26,
|
|
41636
41741
|
"type": "boolean",
|
|
41637
41742
|
"decorators": []
|
|
41638
41743
|
}
|
|
@@ -41643,10 +41748,39 @@
|
|
|
41643
41748
|
"description": "<p><a href=\"../../?path=/story/components-popover--basic\">See demo</a></p>\n",
|
|
41644
41749
|
"rawdescription": "\n\n[See demo](../../?path=/story/components-popover--basic)\n",
|
|
41645
41750
|
"type": "component",
|
|
41646
|
-
"sourceCode": "import {
|
|
41751
|
+
"sourceCode": "import {\n\tComponent,\n\tHostBinding,\n\tViewChild,\n\tElementRef,\n\tAfterViewInit,\n\tChangeDetectorRef\n} from \"@angular/core\";\n\n/**\n * [See demo](../../?path=/story/components-popover--basic)\n */\n@Component({\n\tselector: \"cds-popover-content, ibm-popover-content\",\n\ttemplate: `\n\t\t<span class=\"cds--popover-content\" #content>\n\t\t\t<div>\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</div>\n\t\t\t<span *ngIf=\"autoAlign\" class=\"cds--popover-caret cds--popover--auto-align\"></span>\n\t\t</span>\n\t\t<span *ngIf=\"!autoAlign\" class=\"cds--popover-caret\"></span>\n\t`\n})\nexport class PopoverContent implements AfterViewInit {\n\t@HostBinding(\"class.cds--popover\") popoverClass = true;\n\t@ViewChild(\"content\") popoverContent: ElementRef;\n\tautoAlign = false;\n\n\tconstructor(private changeDetectorRef: ChangeDetectorRef) {}\n\n\tngAfterViewInit(): void {\n\t\tif (this.popoverContent) {\n\t\t\t// Check we are in a popover with autoAlign enabled\n\t\t\tthis.autoAlign = !!this.popoverContent.nativeElement.closest(\".cds--popover--auto-align\");\n\t\t\t// Run change detection manually to resolve ExpressionHasChanged\n\t\t\tthis.changeDetectorRef.detectChanges();\n\t\t}\n\t}\n}\n",
|
|
41647
41752
|
"assetsDirs": [],
|
|
41648
41753
|
"styleUrlsData": "",
|
|
41649
|
-
"stylesData": ""
|
|
41754
|
+
"stylesData": "",
|
|
41755
|
+
"constructorObj": {
|
|
41756
|
+
"name": "constructor",
|
|
41757
|
+
"description": "",
|
|
41758
|
+
"deprecated": false,
|
|
41759
|
+
"deprecationMessage": "",
|
|
41760
|
+
"args": [
|
|
41761
|
+
{
|
|
41762
|
+
"name": "changeDetectorRef",
|
|
41763
|
+
"type": "ChangeDetectorRef",
|
|
41764
|
+
"deprecated": false,
|
|
41765
|
+
"deprecationMessage": ""
|
|
41766
|
+
}
|
|
41767
|
+
],
|
|
41768
|
+
"line": 28,
|
|
41769
|
+
"jsdoctags": [
|
|
41770
|
+
{
|
|
41771
|
+
"name": "changeDetectorRef",
|
|
41772
|
+
"type": "ChangeDetectorRef",
|
|
41773
|
+
"deprecated": false,
|
|
41774
|
+
"deprecationMessage": "",
|
|
41775
|
+
"tagName": {
|
|
41776
|
+
"text": "param"
|
|
41777
|
+
}
|
|
41778
|
+
}
|
|
41779
|
+
]
|
|
41780
|
+
},
|
|
41781
|
+
"implements": [
|
|
41782
|
+
"AfterViewInit"
|
|
41783
|
+
]
|
|
41650
41784
|
},
|
|
41651
41785
|
{
|
|
41652
41786
|
"name": "ProgressBar",
|
|
@@ -62352,7 +62486,7 @@
|
|
|
62352
62486
|
},
|
|
62353
62487
|
{
|
|
62354
62488
|
"name": "Toggletip",
|
|
62355
|
-
"id": "component-Toggletip-
|
|
62489
|
+
"id": "component-Toggletip-07aef5302fcaea2f170b867309fd3c7c93c23e86e861dab234f504f1baaa840a690e581118dc03032077bc7caaa21d0d22a852fbca3dfb75dbfbbc8f9a659b7d",
|
|
62356
62490
|
"file": "src/toggletip/toggletip.component.ts",
|
|
62357
62491
|
"changeDetection": "ChangeDetectionStrategy.OnPush",
|
|
62358
62492
|
"encapsulation": [],
|
|
@@ -62373,7 +62507,7 @@
|
|
|
62373
62507
|
"defaultValue": "`tooltip-${Toggletip.toggletipCounter++}`",
|
|
62374
62508
|
"deprecated": false,
|
|
62375
62509
|
"deprecationMessage": "",
|
|
62376
|
-
"line":
|
|
62510
|
+
"line": 40,
|
|
62377
62511
|
"type": "string",
|
|
62378
62512
|
"decorators": []
|
|
62379
62513
|
},
|
|
@@ -62382,7 +62516,7 @@
|
|
|
62382
62516
|
"defaultValue": "false",
|
|
62383
62517
|
"deprecated": false,
|
|
62384
62518
|
"deprecationMessage": "",
|
|
62385
|
-
"line":
|
|
62519
|
+
"line": 43,
|
|
62386
62520
|
"type": "boolean",
|
|
62387
62521
|
"decorators": [],
|
|
62388
62522
|
"inheritance": {
|
|
@@ -62391,11 +62525,26 @@
|
|
|
62391
62525
|
},
|
|
62392
62526
|
{
|
|
62393
62527
|
"name": "align",
|
|
62394
|
-
"defaultValue": "\"bottom\"",
|
|
62395
62528
|
"deprecated": false,
|
|
62396
62529
|
"deprecationMessage": "",
|
|
62397
|
-
"
|
|
62398
|
-
"
|
|
62530
|
+
"rawdescription": "\n\nSet alignment of popover\nAs of v5, `oldPlacements` are now deprecated in favor of Placements\n\nWhen `autoAlign` is set to `true`, alignment may change for best placement\n",
|
|
62531
|
+
"description": "<p>Set alignment of popover\nAs of v5, <code>oldPlacements</code> are now deprecated in favor of Placements</p>\n<p>When <code>autoAlign</code> is set to <code>true</code>, alignment may change for best placement</p>\n",
|
|
62532
|
+
"line": 45,
|
|
62533
|
+
"type": "oldPlacement | Placement",
|
|
62534
|
+
"decorators": [],
|
|
62535
|
+
"inheritance": {
|
|
62536
|
+
"file": "PopoverContainer"
|
|
62537
|
+
}
|
|
62538
|
+
},
|
|
62539
|
+
{
|
|
62540
|
+
"name": "autoAlign",
|
|
62541
|
+
"defaultValue": "false",
|
|
62542
|
+
"deprecated": false,
|
|
62543
|
+
"deprecationMessage": "",
|
|
62544
|
+
"rawdescription": "\n\n**Experimental**: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once\n",
|
|
62545
|
+
"description": "<p><strong>Experimental</strong>: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once</p>\n",
|
|
62546
|
+
"line": 115,
|
|
62547
|
+
"type": "boolean",
|
|
62399
62548
|
"decorators": [],
|
|
62400
62549
|
"inheritance": {
|
|
62401
62550
|
"file": "PopoverContainer"
|
|
@@ -62406,7 +62555,9 @@
|
|
|
62406
62555
|
"defaultValue": "true",
|
|
62407
62556
|
"deprecated": false,
|
|
62408
62557
|
"deprecationMessage": "",
|
|
62409
|
-
"
|
|
62558
|
+
"rawdescription": "\n\nShow caret at the alignment position\n",
|
|
62559
|
+
"description": "<p>Show caret at the alignment position</p>\n",
|
|
62560
|
+
"line": 102,
|
|
62410
62561
|
"type": "boolean",
|
|
62411
62562
|
"decorators": [],
|
|
62412
62563
|
"inheritance": {
|
|
@@ -62418,7 +62569,9 @@
|
|
|
62418
62569
|
"defaultValue": "true",
|
|
62419
62570
|
"deprecated": false,
|
|
62420
62571
|
"deprecationMessage": "",
|
|
62421
|
-
"
|
|
62572
|
+
"rawdescription": "\n\nEnable drop shadow around the popover container\n",
|
|
62573
|
+
"description": "<p>Enable drop shadow around the popover container</p>\n",
|
|
62574
|
+
"line": 106,
|
|
62422
62575
|
"type": "boolean",
|
|
62423
62576
|
"decorators": [],
|
|
62424
62577
|
"inheritance": {
|
|
@@ -62430,7 +62583,9 @@
|
|
|
62430
62583
|
"defaultValue": "false",
|
|
62431
62584
|
"deprecated": false,
|
|
62432
62585
|
"deprecationMessage": "",
|
|
62433
|
-
"
|
|
62586
|
+
"rawdescription": "\n\nEnable high contrast for popover container\n",
|
|
62587
|
+
"description": "<p>Enable high contrast for popover container</p>\n",
|
|
62588
|
+
"line": 110,
|
|
62434
62589
|
"type": "boolean",
|
|
62435
62590
|
"decorators": [],
|
|
62436
62591
|
"inheritance": {
|
|
@@ -62446,7 +62601,7 @@
|
|
|
62446
62601
|
"deprecationMessage": "",
|
|
62447
62602
|
"rawdescription": "\n\nEmits an event when the state of `isOpen` changes. Allows `isOpen` to be double bound\n",
|
|
62448
62603
|
"description": "<p>Emits an event when the state of <code>isOpen</code> changes. Allows <code>isOpen</code> to be double bound</p>\n",
|
|
62449
|
-
"line":
|
|
62604
|
+
"line": 98,
|
|
62450
62605
|
"type": "EventEmitter",
|
|
62451
62606
|
"inheritance": {
|
|
62452
62607
|
"file": "PopoverContainer"
|
|
@@ -62459,7 +62614,7 @@
|
|
|
62459
62614
|
"deprecationMessage": "",
|
|
62460
62615
|
"rawdescription": "\n\nEmits an event when the dialog is closed\n",
|
|
62461
62616
|
"description": "<p>Emits an event when the dialog is closed</p>\n",
|
|
62462
|
-
"line":
|
|
62617
|
+
"line": 90,
|
|
62463
62618
|
"type": "EventEmitter<Event>",
|
|
62464
62619
|
"inheritance": {
|
|
62465
62620
|
"file": "PopoverContainer"
|
|
@@ -62472,7 +62627,7 @@
|
|
|
62472
62627
|
"deprecationMessage": "",
|
|
62473
62628
|
"rawdescription": "\n\nEmits an event when the dialog is opened\n",
|
|
62474
62629
|
"description": "<p>Emits an event when the dialog is opened</p>\n",
|
|
62475
|
-
"line":
|
|
62630
|
+
"line": 94,
|
|
62476
62631
|
"type": "EventEmitter<Event>",
|
|
62477
62632
|
"inheritance": {
|
|
62478
62633
|
"file": "PopoverContainer"
|
|
@@ -62487,7 +62642,7 @@
|
|
|
62487
62642
|
"type": "ElementRef",
|
|
62488
62643
|
"optional": false,
|
|
62489
62644
|
"description": "",
|
|
62490
|
-
"line":
|
|
62645
|
+
"line": 45,
|
|
62491
62646
|
"decorators": [
|
|
62492
62647
|
{
|
|
62493
62648
|
"name": "ContentChild",
|
|
@@ -62506,7 +62661,7 @@
|
|
|
62506
62661
|
"type": "",
|
|
62507
62662
|
"optional": false,
|
|
62508
62663
|
"description": "",
|
|
62509
|
-
"line":
|
|
62664
|
+
"line": 47
|
|
62510
62665
|
},
|
|
62511
62666
|
{
|
|
62512
62667
|
"name": "toggletipClass",
|
|
@@ -62516,7 +62671,7 @@
|
|
|
62516
62671
|
"type": "",
|
|
62517
62672
|
"optional": false,
|
|
62518
62673
|
"description": "",
|
|
62519
|
-
"line":
|
|
62674
|
+
"line": 42,
|
|
62520
62675
|
"decorators": [
|
|
62521
62676
|
{
|
|
62522
62677
|
"name": "HostBinding",
|
|
@@ -62535,11 +62690,40 @@
|
|
|
62535
62690
|
"type": "number",
|
|
62536
62691
|
"optional": false,
|
|
62537
62692
|
"description": "",
|
|
62538
|
-
"line":
|
|
62693
|
+
"line": 38,
|
|
62539
62694
|
"modifierKind": [
|
|
62540
62695
|
124
|
|
62541
62696
|
]
|
|
62542
62697
|
},
|
|
62698
|
+
{
|
|
62699
|
+
"name": "_align",
|
|
62700
|
+
"defaultValue": "\"bottom\"",
|
|
62701
|
+
"deprecated": false,
|
|
62702
|
+
"deprecationMessage": "",
|
|
62703
|
+
"type": "Placement",
|
|
62704
|
+
"optional": false,
|
|
62705
|
+
"description": "",
|
|
62706
|
+
"line": 84,
|
|
62707
|
+
"inheritance": {
|
|
62708
|
+
"file": "PopoverContainer"
|
|
62709
|
+
}
|
|
62710
|
+
},
|
|
62711
|
+
{
|
|
62712
|
+
"name": "alignmentClassPrefix",
|
|
62713
|
+
"defaultValue": "\"cds--popover--\"",
|
|
62714
|
+
"deprecated": false,
|
|
62715
|
+
"deprecationMessage": "",
|
|
62716
|
+
"type": "string",
|
|
62717
|
+
"optional": false,
|
|
62718
|
+
"description": "",
|
|
62719
|
+
"line": 85,
|
|
62720
|
+
"modifierKind": [
|
|
62721
|
+
146
|
|
62722
|
+
],
|
|
62723
|
+
"inheritance": {
|
|
62724
|
+
"file": "PopoverContainer"
|
|
62725
|
+
}
|
|
62726
|
+
},
|
|
62543
62727
|
{
|
|
62544
62728
|
"name": "containerClass",
|
|
62545
62729
|
"defaultValue": "true",
|
|
@@ -62548,7 +62732,7 @@
|
|
|
62548
62732
|
"type": "",
|
|
62549
62733
|
"optional": false,
|
|
62550
62734
|
"description": "",
|
|
62551
|
-
"line":
|
|
62735
|
+
"line": 116,
|
|
62552
62736
|
"decorators": [
|
|
62553
62737
|
{
|
|
62554
62738
|
"name": "HostBinding",
|
|
@@ -62577,7 +62761,7 @@
|
|
|
62577
62761
|
"optional": false,
|
|
62578
62762
|
"returnType": "void",
|
|
62579
62763
|
"typeParameters": [],
|
|
62580
|
-
"line":
|
|
62764
|
+
"line": 95,
|
|
62581
62765
|
"deprecated": false,
|
|
62582
62766
|
"deprecationMessage": "",
|
|
62583
62767
|
"jsdoctags": [
|
|
@@ -62605,7 +62789,7 @@
|
|
|
62605
62789
|
"optional": false,
|
|
62606
62790
|
"returnType": "void",
|
|
62607
62791
|
"typeParameters": [],
|
|
62608
|
-
"line":
|
|
62792
|
+
"line": 88,
|
|
62609
62793
|
"deprecated": false,
|
|
62610
62794
|
"deprecationMessage": "",
|
|
62611
62795
|
"decorators": [
|
|
@@ -62629,6 +62813,21 @@
|
|
|
62629
62813
|
}
|
|
62630
62814
|
]
|
|
62631
62815
|
},
|
|
62816
|
+
{
|
|
62817
|
+
"name": "cleanUp",
|
|
62818
|
+
"args": [],
|
|
62819
|
+
"optional": false,
|
|
62820
|
+
"returnType": "void",
|
|
62821
|
+
"typeParameters": [],
|
|
62822
|
+
"line": 285,
|
|
62823
|
+
"deprecated": false,
|
|
62824
|
+
"deprecationMessage": "",
|
|
62825
|
+
"rawdescription": "\n\nClean up `autoUpdate` if auto alignment is enabled\n",
|
|
62826
|
+
"description": "<p>Clean up <code>autoUpdate</code> if auto alignment is enabled</p>\n",
|
|
62827
|
+
"inheritance": {
|
|
62828
|
+
"file": "PopoverContainer"
|
|
62829
|
+
}
|
|
62830
|
+
},
|
|
62632
62831
|
{
|
|
62633
62832
|
"name": "handleChange",
|
|
62634
62833
|
"args": [
|
|
@@ -62642,190 +62841,216 @@
|
|
|
62642
62841
|
"name": "event",
|
|
62643
62842
|
"type": "Event",
|
|
62644
62843
|
"deprecated": false,
|
|
62645
|
-
"deprecationMessage": ""
|
|
62844
|
+
"deprecationMessage": "",
|
|
62845
|
+
"optional": true
|
|
62646
62846
|
}
|
|
62647
62847
|
],
|
|
62648
62848
|
"optional": false,
|
|
62649
62849
|
"returnType": "void",
|
|
62650
62850
|
"typeParameters": [],
|
|
62651
|
-
"line":
|
|
62851
|
+
"line": 137,
|
|
62652
62852
|
"deprecated": false,
|
|
62653
62853
|
"deprecationMessage": "",
|
|
62854
|
+
"rawdescription": "\n\nHandles emitting open/close event\n",
|
|
62855
|
+
"description": "<p>Handles emitting open/close event</p>\n",
|
|
62654
62856
|
"jsdoctags": [
|
|
62655
62857
|
{
|
|
62656
|
-
"name":
|
|
62858
|
+
"name": {
|
|
62859
|
+
"pos": 3305,
|
|
62860
|
+
"end": 3309,
|
|
62861
|
+
"flags": 8421376,
|
|
62862
|
+
"modifierFlagsCache": 0,
|
|
62863
|
+
"transformFlags": 0,
|
|
62864
|
+
"kind": 79,
|
|
62865
|
+
"escapedText": "open"
|
|
62866
|
+
},
|
|
62657
62867
|
"type": "boolean",
|
|
62658
62868
|
"deprecated": false,
|
|
62659
62869
|
"deprecationMessage": "",
|
|
62660
62870
|
"tagName": {
|
|
62661
|
-
"
|
|
62662
|
-
|
|
62871
|
+
"pos": 3299,
|
|
62872
|
+
"end": 3304,
|
|
62873
|
+
"flags": 8421376,
|
|
62874
|
+
"modifierFlagsCache": 0,
|
|
62875
|
+
"transformFlags": 0,
|
|
62876
|
+
"kind": 79,
|
|
62877
|
+
"escapedText": "param"
|
|
62878
|
+
},
|
|
62879
|
+
"comment": "<ul>\n<li>Is the popover container open</li>\n</ul>\n"
|
|
62663
62880
|
},
|
|
62664
62881
|
{
|
|
62665
|
-
"name":
|
|
62882
|
+
"name": {
|
|
62883
|
+
"pos": 3353,
|
|
62884
|
+
"end": 3358,
|
|
62885
|
+
"flags": 8421376,
|
|
62886
|
+
"modifierFlagsCache": 0,
|
|
62887
|
+
"transformFlags": 0,
|
|
62888
|
+
"kind": 79,
|
|
62889
|
+
"escapedText": "event"
|
|
62890
|
+
},
|
|
62666
62891
|
"type": "Event",
|
|
62667
62892
|
"deprecated": false,
|
|
62668
62893
|
"deprecationMessage": "",
|
|
62894
|
+
"optional": true,
|
|
62669
62895
|
"tagName": {
|
|
62670
|
-
"
|
|
62671
|
-
|
|
62896
|
+
"pos": 3347,
|
|
62897
|
+
"end": 3352,
|
|
62898
|
+
"flags": 8421376,
|
|
62899
|
+
"modifierFlagsCache": 0,
|
|
62900
|
+
"transformFlags": 0,
|
|
62901
|
+
"kind": 79,
|
|
62902
|
+
"escapedText": "param"
|
|
62903
|
+
},
|
|
62904
|
+
"comment": "<ul>\n<li>Event</li>\n</ul>\n"
|
|
62672
62905
|
}
|
|
62673
62906
|
],
|
|
62674
62907
|
"inheritance": {
|
|
62675
62908
|
"file": "PopoverContainer"
|
|
62676
62909
|
}
|
|
62677
|
-
}
|
|
62678
|
-
],
|
|
62679
|
-
"deprecated": false,
|
|
62680
|
-
"deprecationMessage": "",
|
|
62681
|
-
"hostBindings": [
|
|
62682
|
-
{
|
|
62683
|
-
"name": "class.cds--toggletip",
|
|
62684
|
-
"defaultValue": "true",
|
|
62685
|
-
"deprecated": false,
|
|
62686
|
-
"deprecationMessage": "",
|
|
62687
|
-
"line": 41,
|
|
62688
|
-
"type": "boolean",
|
|
62689
|
-
"decorators": []
|
|
62690
|
-
},
|
|
62691
|
-
{
|
|
62692
|
-
"name": "class.cds--popover--bottom",
|
|
62693
|
-
"deprecated": false,
|
|
62694
|
-
"deprecationMessage": "",
|
|
62695
|
-
"line": 37,
|
|
62696
|
-
"type": "boolean",
|
|
62697
|
-
"decorators": [],
|
|
62698
|
-
"inheritance": {
|
|
62699
|
-
"file": "PopoverContainer"
|
|
62700
|
-
}
|
|
62701
|
-
},
|
|
62702
|
-
{
|
|
62703
|
-
"name": "class.cds--popover--bottom-left",
|
|
62704
|
-
"deprecated": false,
|
|
62705
|
-
"deprecationMessage": "",
|
|
62706
|
-
"line": 41,
|
|
62707
|
-
"type": "boolean",
|
|
62708
|
-
"decorators": [],
|
|
62709
|
-
"inheritance": {
|
|
62710
|
-
"file": "PopoverContainer"
|
|
62711
|
-
}
|
|
62712
|
-
},
|
|
62713
|
-
{
|
|
62714
|
-
"name": "class.cds--popover--bottom-right",
|
|
62715
|
-
"deprecated": false,
|
|
62716
|
-
"deprecationMessage": "",
|
|
62717
|
-
"line": 45,
|
|
62718
|
-
"type": "boolean",
|
|
62719
|
-
"decorators": [],
|
|
62720
|
-
"inheritance": {
|
|
62721
|
-
"file": "PopoverContainer"
|
|
62722
|
-
}
|
|
62723
|
-
},
|
|
62724
|
-
{
|
|
62725
|
-
"name": "class.cds--popover--left",
|
|
62726
|
-
"deprecated": false,
|
|
62727
|
-
"deprecationMessage": "",
|
|
62728
|
-
"line": 50,
|
|
62729
|
-
"type": "boolean",
|
|
62730
|
-
"decorators": [],
|
|
62731
|
-
"inheritance": {
|
|
62732
|
-
"file": "PopoverContainer"
|
|
62733
|
-
}
|
|
62734
|
-
},
|
|
62735
|
-
{
|
|
62736
|
-
"name": "class.cds--popover--left-bottom",
|
|
62737
|
-
"deprecated": false,
|
|
62738
|
-
"deprecationMessage": "",
|
|
62739
|
-
"line": 58,
|
|
62740
|
-
"type": "boolean",
|
|
62741
|
-
"decorators": [],
|
|
62742
|
-
"inheritance": {
|
|
62743
|
-
"file": "PopoverContainer"
|
|
62744
|
-
}
|
|
62745
62910
|
},
|
|
62746
62911
|
{
|
|
62747
|
-
"name": "
|
|
62748
|
-
"
|
|
62749
|
-
"
|
|
62750
|
-
"
|
|
62751
|
-
"
|
|
62752
|
-
"
|
|
62753
|
-
"inheritance": {
|
|
62754
|
-
"file": "PopoverContainer"
|
|
62755
|
-
}
|
|
62756
|
-
},
|
|
62757
|
-
{
|
|
62758
|
-
"name": "class.cds--popover--right",
|
|
62759
|
-
"deprecated": false,
|
|
62760
|
-
"deprecationMessage": "",
|
|
62761
|
-
"line": 63,
|
|
62762
|
-
"type": "boolean",
|
|
62763
|
-
"decorators": [],
|
|
62764
|
-
"inheritance": {
|
|
62765
|
-
"file": "PopoverContainer"
|
|
62766
|
-
}
|
|
62767
|
-
},
|
|
62768
|
-
{
|
|
62769
|
-
"name": "class.cds--popover--right-bottom",
|
|
62912
|
+
"name": "initializeReferences",
|
|
62913
|
+
"args": [],
|
|
62914
|
+
"optional": false,
|
|
62915
|
+
"returnType": "void",
|
|
62916
|
+
"typeParameters": [],
|
|
62917
|
+
"line": 264,
|
|
62770
62918
|
"deprecated": false,
|
|
62771
62919
|
"deprecationMessage": "",
|
|
62772
|
-
"line": 71,
|
|
62773
|
-
"type": "boolean",
|
|
62774
|
-
"decorators": [],
|
|
62775
62920
|
"inheritance": {
|
|
62776
62921
|
"file": "PopoverContainer"
|
|
62777
62922
|
}
|
|
62778
62923
|
},
|
|
62779
62924
|
{
|
|
62780
|
-
"name": "
|
|
62925
|
+
"name": "recomputePosition",
|
|
62926
|
+
"args": [],
|
|
62927
|
+
"optional": false,
|
|
62928
|
+
"returnType": "void",
|
|
62929
|
+
"typeParameters": [],
|
|
62930
|
+
"line": 185,
|
|
62781
62931
|
"deprecated": false,
|
|
62782
62932
|
"deprecationMessage": "",
|
|
62783
|
-
"
|
|
62784
|
-
"
|
|
62785
|
-
"decorators": [],
|
|
62933
|
+
"rawdescription": "\n\nCompute position of tooltip when autoAlign is enabled\n",
|
|
62934
|
+
"description": "<p>Compute position of tooltip when autoAlign is enabled</p>\n",
|
|
62786
62935
|
"inheritance": {
|
|
62787
62936
|
"file": "PopoverContainer"
|
|
62788
62937
|
}
|
|
62789
62938
|
},
|
|
62790
62939
|
{
|
|
62791
|
-
"name": "
|
|
62940
|
+
"name": "roundByDPR",
|
|
62941
|
+
"args": [
|
|
62942
|
+
{
|
|
62943
|
+
"name": "value",
|
|
62944
|
+
"type": "",
|
|
62945
|
+
"deprecated": false,
|
|
62946
|
+
"deprecationMessage": ""
|
|
62947
|
+
}
|
|
62948
|
+
],
|
|
62949
|
+
"optional": false,
|
|
62950
|
+
"returnType": "number",
|
|
62951
|
+
"typeParameters": [],
|
|
62952
|
+
"line": 177,
|
|
62792
62953
|
"deprecated": false,
|
|
62793
62954
|
"deprecationMessage": "",
|
|
62794
|
-
"
|
|
62795
|
-
|
|
62796
|
-
|
|
62955
|
+
"jsdoctags": [
|
|
62956
|
+
{
|
|
62957
|
+
"name": "value",
|
|
62958
|
+
"type": "",
|
|
62959
|
+
"deprecated": false,
|
|
62960
|
+
"deprecationMessage": "",
|
|
62961
|
+
"tagName": {
|
|
62962
|
+
"text": "param"
|
|
62963
|
+
}
|
|
62964
|
+
}
|
|
62965
|
+
],
|
|
62797
62966
|
"inheritance": {
|
|
62798
62967
|
"file": "PopoverContainer"
|
|
62799
62968
|
}
|
|
62800
62969
|
},
|
|
62801
62970
|
{
|
|
62802
|
-
"name": "
|
|
62971
|
+
"name": "updateAlignmentClass",
|
|
62972
|
+
"args": [
|
|
62973
|
+
{
|
|
62974
|
+
"name": "newAlignment",
|
|
62975
|
+
"type": "string",
|
|
62976
|
+
"deprecated": false,
|
|
62977
|
+
"deprecationMessage": ""
|
|
62978
|
+
},
|
|
62979
|
+
{
|
|
62980
|
+
"name": "previousAlignment",
|
|
62981
|
+
"type": "string",
|
|
62982
|
+
"deprecated": false,
|
|
62983
|
+
"deprecationMessage": "",
|
|
62984
|
+
"optional": true
|
|
62985
|
+
}
|
|
62986
|
+
],
|
|
62987
|
+
"optional": false,
|
|
62988
|
+
"returnType": "void",
|
|
62989
|
+
"typeParameters": [],
|
|
62990
|
+
"line": 296,
|
|
62803
62991
|
"deprecated": false,
|
|
62804
62992
|
"deprecationMessage": "",
|
|
62805
|
-
"
|
|
62806
|
-
"
|
|
62807
|
-
"
|
|
62993
|
+
"rawdescription": "\n\nReplace existing previous alignment class with new\n",
|
|
62994
|
+
"description": "<p>Replace existing previous alignment class with new</p>\n",
|
|
62995
|
+
"jsdoctags": [
|
|
62996
|
+
{
|
|
62997
|
+
"name": "newAlignment",
|
|
62998
|
+
"type": "string",
|
|
62999
|
+
"deprecated": false,
|
|
63000
|
+
"deprecationMessage": "",
|
|
63001
|
+
"tagName": {
|
|
63002
|
+
"text": "param"
|
|
63003
|
+
}
|
|
63004
|
+
},
|
|
63005
|
+
{
|
|
63006
|
+
"name": {
|
|
63007
|
+
"pos": 8148,
|
|
63008
|
+
"end": 8165,
|
|
63009
|
+
"flags": 8421376,
|
|
63010
|
+
"modifierFlagsCache": 0,
|
|
63011
|
+
"transformFlags": 0,
|
|
63012
|
+
"kind": 79,
|
|
63013
|
+
"escapedText": "previousAlignment"
|
|
63014
|
+
},
|
|
63015
|
+
"type": "string",
|
|
63016
|
+
"deprecated": false,
|
|
63017
|
+
"deprecationMessage": "",
|
|
63018
|
+
"optional": true,
|
|
63019
|
+
"tagName": {
|
|
63020
|
+
"pos": 8142,
|
|
63021
|
+
"end": 8147,
|
|
63022
|
+
"flags": 8421376,
|
|
63023
|
+
"modifierFlagsCache": 0,
|
|
63024
|
+
"transformFlags": 0,
|
|
63025
|
+
"kind": 79,
|
|
63026
|
+
"escapedText": "param"
|
|
63027
|
+
},
|
|
63028
|
+
"comment": ""
|
|
63029
|
+
}
|
|
63030
|
+
],
|
|
62808
63031
|
"inheritance": {
|
|
62809
63032
|
"file": "PopoverContainer"
|
|
62810
63033
|
}
|
|
62811
|
-
}
|
|
63034
|
+
}
|
|
63035
|
+
],
|
|
63036
|
+
"deprecated": false,
|
|
63037
|
+
"deprecationMessage": "",
|
|
63038
|
+
"hostBindings": [
|
|
62812
63039
|
{
|
|
62813
|
-
"name": "class.cds--
|
|
63040
|
+
"name": "class.cds--toggletip",
|
|
63041
|
+
"defaultValue": "true",
|
|
62814
63042
|
"deprecated": false,
|
|
62815
63043
|
"deprecationMessage": "",
|
|
62816
|
-
"line":
|
|
63044
|
+
"line": 42,
|
|
62817
63045
|
"type": "boolean",
|
|
62818
|
-
"decorators": []
|
|
62819
|
-
"inheritance": {
|
|
62820
|
-
"file": "PopoverContainer"
|
|
62821
|
-
}
|
|
63046
|
+
"decorators": []
|
|
62822
63047
|
},
|
|
62823
63048
|
{
|
|
62824
63049
|
"name": "class.cds--popover-container",
|
|
62825
63050
|
"defaultValue": "true",
|
|
62826
63051
|
"deprecated": false,
|
|
62827
63052
|
"deprecationMessage": "",
|
|
62828
|
-
"line":
|
|
63053
|
+
"line": 116,
|
|
62829
63054
|
"type": "boolean",
|
|
62830
63055
|
"decorators": [],
|
|
62831
63056
|
"inheritance": {
|
|
@@ -62849,7 +63074,7 @@
|
|
|
62849
63074
|
],
|
|
62850
63075
|
"deprecated": false,
|
|
62851
63076
|
"deprecationMessage": "",
|
|
62852
|
-
"line":
|
|
63077
|
+
"line": 88
|
|
62853
63078
|
}
|
|
62854
63079
|
],
|
|
62855
63080
|
"standalone": false,
|
|
@@ -62857,7 +63082,7 @@
|
|
|
62857
63082
|
"description": "<p>Get started with importing the module:</p>\n<div><pre class=\"line-numbers\"><code class=\"language-typescript\">import { ToggletipModule } from 'carbon-components-angular';</code></pre></div><p><a href=\"../../?path=/story/components-toggletip--basic\">See demo</a></p>\n",
|
|
62858
63083
|
"rawdescription": "\n\nGet started with importing the module:\n\n```typescript\nimport { ToggletipModule } from 'carbon-components-angular';\n```\n\n[See demo](../../?path=/story/components-toggletip--basic)\n",
|
|
62859
63084
|
"type": "component",
|
|
62860
|
-
"sourceCode": "import {\n\tAfterViewInit,\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tContentChild,\n\tElementRef,\n\tHostBinding,\n\tHostListener,\n\tInput,\n\tRenderer2\n} from \"@angular/core\";\nimport { fromEvent } from \"rxjs\";\nimport { PopoverContainer } from \"carbon-components-angular/popover\";\nimport { ToggletipButton } from \"./toggletip-button.directive\";\n\n/**\n * Get started with importing the module:\n *\n * ```typescript\n * import { ToggletipModule } from 'carbon-components-angular';\n * ```\n *\n * [See demo](../../?path=/story/components-toggletip--basic)\n */\n@Component({\n\tselector: \"cds-toggletip, ibm-toggletip\",\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<ng-content select=\"[cdsToggletipButton]\"></ng-content>\n\t\t<cds-popover-content>\n\t\t\t<ng-content select=\"[cdsToggletipContent]\"></ng-content>\n\t\t</cds-popover-content>\n\t`\n})\nexport class Toggletip extends PopoverContainer implements AfterViewInit {\n\tstatic toggletipCounter = 0;\n\n\t@Input() id = `tooltip-${Toggletip.toggletipCounter++}`;\n\n\t@HostBinding(\"class.cds--toggletip\") toggletipClass = true;\n\t@HostBinding(\"class.cds--toggletip--open\") @Input() isOpen = false;\n\n\t@ContentChild(ToggletipButton, { read: ElementRef }) btn!: ElementRef;\n\n\tdocumentClick = this.handleFocusOut.bind(this);\n\n\tconstructor(
|
|
63085
|
+
"sourceCode": "import {\n\tAfterViewInit,\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tContentChild,\n\tElementRef,\n\tHostBinding,\n\tHostListener,\n\tInput,\n\tNgZone,\n\tRenderer2\n} from \"@angular/core\";\nimport { fromEvent } from \"rxjs\";\nimport { PopoverContainer } from \"carbon-components-angular/popover\";\nimport { ToggletipButton } from \"./toggletip-button.directive\";\n\n/**\n * Get started with importing the module:\n *\n * ```typescript\n * import { ToggletipModule } from 'carbon-components-angular';\n * ```\n *\n * [See demo](../../?path=/story/components-toggletip--basic)\n */\n@Component({\n\tselector: \"cds-toggletip, ibm-toggletip\",\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<ng-content select=\"[cdsToggletipButton]\"></ng-content>\n\t\t<cds-popover-content>\n\t\t\t<ng-content select=\"[cdsToggletipContent]\"></ng-content>\n\t\t</cds-popover-content>\n\t`\n})\nexport class Toggletip extends PopoverContainer implements AfterViewInit {\n\tstatic toggletipCounter = 0;\n\n\t@Input() id = `tooltip-${Toggletip.toggletipCounter++}`;\n\n\t@HostBinding(\"class.cds--toggletip\") toggletipClass = true;\n\t@HostBinding(\"class.cds--toggletip--open\") @Input() isOpen = false;\n\n\t@ContentChild(ToggletipButton, { read: ElementRef }) btn!: ElementRef;\n\n\tdocumentClick = this.handleFocusOut.bind(this);\n\n\tconstructor(\n\t\tprotected hostElement: ElementRef,\n\t\tprotected ngZone: NgZone,\n\t\tprotected renderer: Renderer2,\n\t\tprotected changeDetectorRef: ChangeDetectorRef\n\t) {\n\t\tsuper(hostElement, ngZone, renderer, changeDetectorRef);\n\t\tthis.highContrast = true;\n\t\tthis.dropShadow = false;\n\t}\n\n\tngAfterViewInit(): void {\n\t\tthis.initializeReferences();\n\n\t\t// Listen for click events on trigger\n\t\tfromEvent(this.btn.nativeElement, \"click\")\n\t\t\t.subscribe((event: Event) => {\n\t\t\t\t// Add/Remove event listener based on isOpen to improve performance when there\n\t\t\t\t// are a lot of toggletips\n\t\t\t\tif (this.isOpen) {\n\t\t\t\t\tdocument.removeEventListener(\"click\", this.documentClick);\n\t\t\t\t} else {\n\t\t\t\t\tdocument.addEventListener(\"click\", this.documentClick);\n\t\t\t\t}\n\n\t\t\t\tthis.handleExpansion(!this.isOpen, event);\n\t\t\t});\n\n\t\t// Toggletip is open on initial render, add 'click' event listener to document so users can close\n\t\tif (this.isOpen) {\n\t\t\tdocument.addEventListener(\"click\", this.documentClick);\n\t\t}\n\n\t\tif (this.btn) {\n\t\t\tthis.renderer.setAttribute(this.btn.nativeElement, \"aria-controls\", this.id);\n\t\t}\n\t}\n\n\t@HostListener(\"keyup\", [\"$event\"])\n\thostkeys(event: KeyboardEvent) {\n\t\tif (open && event.key === \"Escape\") {\n\t\t\tevent.stopPropagation();\n\t\t\tthis.handleExpansion(false, event);\n\t\t}\n\t}\n\n\thandleFocusOut(event) {\n\t\tif (!this.hostElement.nativeElement.contains(event.target)) {\n\t\t\tthis.handleExpansion(false, event);\n\t\t}\n\t}\n\n\tprivate handleExpansion(state = false, event: Event) {\n\t\tthis.handleChange(state, event);\n\t\tif (this.btn) {\n\t\t\tthis.renderer.setAttribute(this.btn.nativeElement, \"aria-expanded\", this.isOpen.toString());\n\t\t}\n\t}\n}\n",
|
|
62861
63086
|
"assetsDirs": [],
|
|
62862
63087
|
"styleUrlsData": "",
|
|
62863
63088
|
"stylesData": "",
|
|
@@ -62873,6 +63098,12 @@
|
|
|
62873
63098
|
"deprecated": false,
|
|
62874
63099
|
"deprecationMessage": ""
|
|
62875
63100
|
},
|
|
63101
|
+
{
|
|
63102
|
+
"name": "ngZone",
|
|
63103
|
+
"type": "NgZone",
|
|
63104
|
+
"deprecated": false,
|
|
63105
|
+
"deprecationMessage": ""
|
|
63106
|
+
},
|
|
62876
63107
|
{
|
|
62877
63108
|
"name": "renderer",
|
|
62878
63109
|
"type": "Renderer2",
|
|
@@ -62880,13 +63111,13 @@
|
|
|
62880
63111
|
"deprecationMessage": ""
|
|
62881
63112
|
},
|
|
62882
63113
|
{
|
|
62883
|
-
"name": "
|
|
63114
|
+
"name": "changeDetectorRef",
|
|
62884
63115
|
"type": "ChangeDetectorRef",
|
|
62885
63116
|
"deprecated": false,
|
|
62886
63117
|
"deprecationMessage": ""
|
|
62887
63118
|
}
|
|
62888
63119
|
],
|
|
62889
|
-
"line":
|
|
63120
|
+
"line": 47,
|
|
62890
63121
|
"jsdoctags": [
|
|
62891
63122
|
{
|
|
62892
63123
|
"name": "hostElement",
|
|
@@ -62897,6 +63128,15 @@
|
|
|
62897
63128
|
"text": "param"
|
|
62898
63129
|
}
|
|
62899
63130
|
},
|
|
63131
|
+
{
|
|
63132
|
+
"name": "ngZone",
|
|
63133
|
+
"type": "NgZone",
|
|
63134
|
+
"deprecated": false,
|
|
63135
|
+
"deprecationMessage": "",
|
|
63136
|
+
"tagName": {
|
|
63137
|
+
"text": "param"
|
|
63138
|
+
}
|
|
63139
|
+
},
|
|
62900
63140
|
{
|
|
62901
63141
|
"name": "renderer",
|
|
62902
63142
|
"type": "Renderer2",
|
|
@@ -62907,7 +63147,7 @@
|
|
|
62907
63147
|
}
|
|
62908
63148
|
},
|
|
62909
63149
|
{
|
|
62910
|
-
"name": "
|
|
63150
|
+
"name": "changeDetectorRef",
|
|
62911
63151
|
"type": "ChangeDetectorRef",
|
|
62912
63152
|
"deprecated": false,
|
|
62913
63153
|
"deprecationMessage": "",
|
|
@@ -62924,7 +63164,7 @@
|
|
|
62924
63164
|
},
|
|
62925
63165
|
{
|
|
62926
63166
|
"name": "Tooltip",
|
|
62927
|
-
"id": "component-Tooltip-
|
|
63167
|
+
"id": "component-Tooltip-2a115ad9bdda7bb6365ae6c9e0c90dc5c7ffd93bebb4dc37938aec4f377077e2db1e7a6d222fe5a29c5fadb802bed62afd2afc74592a2e1843e4afb217ddd12e",
|
|
62928
63168
|
"file": "src/tooltip/tooltip.component.ts",
|
|
62929
63169
|
"changeDetection": "ChangeDetectionStrategy.OnPush",
|
|
62930
63170
|
"encapsulation": [],
|
|
@@ -62935,7 +63175,7 @@
|
|
|
62935
63175
|
"selector": "cds-tooltip, ibm-tooltip",
|
|
62936
63176
|
"styleUrls": [],
|
|
62937
63177
|
"styles": [],
|
|
62938
|
-
"template": "<span #contentWrapper>\n\t<ng-content></ng-content>\n</span>\n<span\n\t*ngIf=\"description\"\n\tclass=\"cds--popover\"\n\t[id]=\"id\"\n\t[attr.aria-hidden]=\"!isOpen\"\n\trole=\"tooltip\">\n\t<ng-container *ngIf=\"!disabled\">\n\t\t<span class=\"cds--popover-content cds--tooltip-content\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(description)\">{{description}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(description)\" [ngTemplateOutlet]=\"description\"></ng-template>\n\t\t</span>\n\t\t<span class=\"cds--popover-caret\"></span>\n\t</ng-container>\n</span>\n\t",
|
|
63178
|
+
"template": "<span #contentWrapper>\n\t<ng-content></ng-content>\n</span>\n<span\n\t*ngIf=\"description\"\n\tclass=\"cds--popover\"\n\t[id]=\"id\"\n\t[attr.aria-hidden]=\"!isOpen\"\n\trole=\"tooltip\">\n\t<ng-container *ngIf=\"!disabled\">\n\t\t<span class=\"cds--popover-content cds--tooltip-content\">\n\t\t\t<ng-container *ngIf=\"!isTemplate(description)\">{{description}}</ng-container>\n\t\t\t<ng-template *ngIf=\"isTemplate(description)\" [ngTemplateOutlet]=\"description\"></ng-template>\n\t\t\t<span *ngIf=\"autoAlign\" class=\"cds--popover-caret cds--popover--auto-align\"></span>\n\t\t</span>\n\t\t<span *ngIf=\"!autoAlign\" class=\"cds--popover-caret\"></span>\n\t</ng-container>\n</span>\n\t",
|
|
62939
63179
|
"templateUrl": [],
|
|
62940
63180
|
"viewProviders": [],
|
|
62941
63181
|
"hostDirectives": [],
|
|
@@ -62946,7 +63186,7 @@
|
|
|
62946
63186
|
"deprecationMessage": "",
|
|
62947
63187
|
"rawdescription": "\n\nThe string or template content to be exposed by the tooltip.\n",
|
|
62948
63188
|
"description": "<p>The string or template content to be exposed by the tooltip.</p>\n",
|
|
62949
|
-
"line":
|
|
63189
|
+
"line": 71,
|
|
62950
63190
|
"type": "string | TemplateRef<any>",
|
|
62951
63191
|
"decorators": []
|
|
62952
63192
|
},
|
|
@@ -62957,7 +63197,7 @@
|
|
|
62957
63197
|
"deprecationMessage": "",
|
|
62958
63198
|
"rawdescription": "\n\nPrevent tooltip from showing, used by icon button\n",
|
|
62959
63199
|
"description": "<p>Prevent tooltip from showing, used by icon button</p>\n",
|
|
62960
|
-
"line":
|
|
63200
|
+
"line": 67,
|
|
62961
63201
|
"type": "boolean",
|
|
62962
63202
|
"decorators": []
|
|
62963
63203
|
},
|
|
@@ -62968,7 +63208,7 @@
|
|
|
62968
63208
|
"deprecationMessage": "",
|
|
62969
63209
|
"rawdescription": "\n\nSet delay before tooltip is shown\n",
|
|
62970
63210
|
"description": "<p>Set delay before tooltip is shown</p>\n",
|
|
62971
|
-
"line":
|
|
63211
|
+
"line": 59,
|
|
62972
63212
|
"type": "number",
|
|
62973
63213
|
"decorators": []
|
|
62974
63214
|
},
|
|
@@ -62977,7 +63217,7 @@
|
|
|
62977
63217
|
"defaultValue": "`tooltip-${Tooltip.tooltipCount++}`",
|
|
62978
63218
|
"deprecated": false,
|
|
62979
63219
|
"deprecationMessage": "",
|
|
62980
|
-
"line":
|
|
63220
|
+
"line": 55,
|
|
62981
63221
|
"type": "string",
|
|
62982
63222
|
"decorators": []
|
|
62983
63223
|
},
|
|
@@ -62988,17 +63228,32 @@
|
|
|
62988
63228
|
"deprecationMessage": "",
|
|
62989
63229
|
"rawdescription": "\n\nSet delay when tooltip disappears\n",
|
|
62990
63230
|
"description": "<p>Set delay when tooltip disappears</p>\n",
|
|
62991
|
-
"line":
|
|
63231
|
+
"line": 63,
|
|
62992
63232
|
"type": "number",
|
|
62993
63233
|
"decorators": []
|
|
62994
63234
|
},
|
|
62995
63235
|
{
|
|
62996
63236
|
"name": "align",
|
|
62997
|
-
"defaultValue": "\"bottom\"",
|
|
62998
63237
|
"deprecated": false,
|
|
62999
63238
|
"deprecationMessage": "",
|
|
63000
|
-
"
|
|
63001
|
-
"
|
|
63239
|
+
"rawdescription": "\n\nSet alignment of popover\nAs of v5, `oldPlacements` are now deprecated in favor of Placements\n\nWhen `autoAlign` is set to `true`, alignment may change for best placement\n",
|
|
63240
|
+
"description": "<p>Set alignment of popover\nAs of v5, <code>oldPlacements</code> are now deprecated in favor of Placements</p>\n<p>When <code>autoAlign</code> is set to <code>true</code>, alignment may change for best placement</p>\n",
|
|
63241
|
+
"line": 45,
|
|
63242
|
+
"type": "oldPlacement | Placement",
|
|
63243
|
+
"decorators": [],
|
|
63244
|
+
"inheritance": {
|
|
63245
|
+
"file": "PopoverContainer"
|
|
63246
|
+
}
|
|
63247
|
+
},
|
|
63248
|
+
{
|
|
63249
|
+
"name": "autoAlign",
|
|
63250
|
+
"defaultValue": "false",
|
|
63251
|
+
"deprecated": false,
|
|
63252
|
+
"deprecationMessage": "",
|
|
63253
|
+
"rawdescription": "\n\n**Experimental**: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once\n",
|
|
63254
|
+
"description": "<p><strong>Experimental</strong>: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once</p>\n",
|
|
63255
|
+
"line": 115,
|
|
63256
|
+
"type": "boolean",
|
|
63002
63257
|
"decorators": [],
|
|
63003
63258
|
"inheritance": {
|
|
63004
63259
|
"file": "PopoverContainer"
|
|
@@ -63009,7 +63264,9 @@
|
|
|
63009
63264
|
"defaultValue": "true",
|
|
63010
63265
|
"deprecated": false,
|
|
63011
63266
|
"deprecationMessage": "",
|
|
63012
|
-
"
|
|
63267
|
+
"rawdescription": "\n\nShow caret at the alignment position\n",
|
|
63268
|
+
"description": "<p>Show caret at the alignment position</p>\n",
|
|
63269
|
+
"line": 102,
|
|
63013
63270
|
"type": "boolean",
|
|
63014
63271
|
"decorators": [],
|
|
63015
63272
|
"inheritance": {
|
|
@@ -63021,7 +63278,9 @@
|
|
|
63021
63278
|
"defaultValue": "true",
|
|
63022
63279
|
"deprecated": false,
|
|
63023
63280
|
"deprecationMessage": "",
|
|
63024
|
-
"
|
|
63281
|
+
"rawdescription": "\n\nEnable drop shadow around the popover container\n",
|
|
63282
|
+
"description": "<p>Enable drop shadow around the popover container</p>\n",
|
|
63283
|
+
"line": 106,
|
|
63025
63284
|
"type": "boolean",
|
|
63026
63285
|
"decorators": [],
|
|
63027
63286
|
"inheritance": {
|
|
@@ -63033,7 +63292,9 @@
|
|
|
63033
63292
|
"defaultValue": "false",
|
|
63034
63293
|
"deprecated": false,
|
|
63035
63294
|
"deprecationMessage": "",
|
|
63036
|
-
"
|
|
63295
|
+
"rawdescription": "\n\nEnable high contrast for popover container\n",
|
|
63296
|
+
"description": "<p>Enable high contrast for popover container</p>\n",
|
|
63297
|
+
"line": 110,
|
|
63037
63298
|
"type": "boolean",
|
|
63038
63299
|
"decorators": [],
|
|
63039
63300
|
"inheritance": {
|
|
@@ -63045,7 +63306,7 @@
|
|
|
63045
63306
|
"defaultValue": "false",
|
|
63046
63307
|
"deprecated": false,
|
|
63047
63308
|
"deprecationMessage": "",
|
|
63048
|
-
"line":
|
|
63309
|
+
"line": 117,
|
|
63049
63310
|
"type": "boolean",
|
|
63050
63311
|
"decorators": [],
|
|
63051
63312
|
"inheritance": {
|
|
@@ -63061,7 +63322,7 @@
|
|
|
63061
63322
|
"deprecationMessage": "",
|
|
63062
63323
|
"rawdescription": "\n\nEmits an event when the state of `isOpen` changes. Allows `isOpen` to be double bound\n",
|
|
63063
63324
|
"description": "<p>Emits an event when the state of <code>isOpen</code> changes. Allows <code>isOpen</code> to be double bound</p>\n",
|
|
63064
|
-
"line":
|
|
63325
|
+
"line": 98,
|
|
63065
63326
|
"type": "EventEmitter",
|
|
63066
63327
|
"inheritance": {
|
|
63067
63328
|
"file": "PopoverContainer"
|
|
@@ -63074,7 +63335,7 @@
|
|
|
63074
63335
|
"deprecationMessage": "",
|
|
63075
63336
|
"rawdescription": "\n\nEmits an event when the dialog is closed\n",
|
|
63076
63337
|
"description": "<p>Emits an event when the dialog is closed</p>\n",
|
|
63077
|
-
"line":
|
|
63338
|
+
"line": 90,
|
|
63078
63339
|
"type": "EventEmitter<Event>",
|
|
63079
63340
|
"inheritance": {
|
|
63080
63341
|
"file": "PopoverContainer"
|
|
@@ -63087,7 +63348,7 @@
|
|
|
63087
63348
|
"deprecationMessage": "",
|
|
63088
63349
|
"rawdescription": "\n\nEmits an event when the dialog is opened\n",
|
|
63089
63350
|
"description": "<p>Emits an event when the dialog is opened</p>\n",
|
|
63090
|
-
"line":
|
|
63351
|
+
"line": 94,
|
|
63091
63352
|
"type": "EventEmitter<Event>",
|
|
63092
63353
|
"inheritance": {
|
|
63093
63354
|
"file": "PopoverContainer"
|
|
@@ -63103,7 +63364,7 @@
|
|
|
63103
63364
|
"type": "",
|
|
63104
63365
|
"optional": false,
|
|
63105
63366
|
"description": "",
|
|
63106
|
-
"line":
|
|
63367
|
+
"line": 53,
|
|
63107
63368
|
"decorators": [
|
|
63108
63369
|
{
|
|
63109
63370
|
"name": "HostBinding",
|
|
@@ -63122,7 +63383,7 @@
|
|
|
63122
63383
|
"type": "number",
|
|
63123
63384
|
"optional": false,
|
|
63124
63385
|
"description": "",
|
|
63125
|
-
"line":
|
|
63386
|
+
"line": 51,
|
|
63126
63387
|
"modifierKind": [
|
|
63127
63388
|
124
|
|
63128
63389
|
]
|
|
@@ -63134,7 +63395,7 @@
|
|
|
63134
63395
|
"type": "ElementRef<HTMLSpanElement>",
|
|
63135
63396
|
"optional": false,
|
|
63136
63397
|
"description": "",
|
|
63137
|
-
"line":
|
|
63398
|
+
"line": 73,
|
|
63138
63399
|
"decorators": [
|
|
63139
63400
|
{
|
|
63140
63401
|
"name": "ViewChild",
|
|
@@ -63145,6 +63406,35 @@
|
|
|
63145
63406
|
167
|
|
63146
63407
|
]
|
|
63147
63408
|
},
|
|
63409
|
+
{
|
|
63410
|
+
"name": "_align",
|
|
63411
|
+
"defaultValue": "\"bottom\"",
|
|
63412
|
+
"deprecated": false,
|
|
63413
|
+
"deprecationMessage": "",
|
|
63414
|
+
"type": "Placement",
|
|
63415
|
+
"optional": false,
|
|
63416
|
+
"description": "",
|
|
63417
|
+
"line": 84,
|
|
63418
|
+
"inheritance": {
|
|
63419
|
+
"file": "PopoverContainer"
|
|
63420
|
+
}
|
|
63421
|
+
},
|
|
63422
|
+
{
|
|
63423
|
+
"name": "alignmentClassPrefix",
|
|
63424
|
+
"defaultValue": "\"cds--popover--\"",
|
|
63425
|
+
"deprecated": false,
|
|
63426
|
+
"deprecationMessage": "",
|
|
63427
|
+
"type": "string",
|
|
63428
|
+
"optional": false,
|
|
63429
|
+
"description": "",
|
|
63430
|
+
"line": 85,
|
|
63431
|
+
"modifierKind": [
|
|
63432
|
+
146
|
|
63433
|
+
],
|
|
63434
|
+
"inheritance": {
|
|
63435
|
+
"file": "PopoverContainer"
|
|
63436
|
+
}
|
|
63437
|
+
},
|
|
63148
63438
|
{
|
|
63149
63439
|
"name": "containerClass",
|
|
63150
63440
|
"defaultValue": "true",
|
|
@@ -63153,7 +63443,7 @@
|
|
|
63153
63443
|
"type": "",
|
|
63154
63444
|
"optional": false,
|
|
63155
63445
|
"description": "",
|
|
63156
|
-
"line":
|
|
63446
|
+
"line": 116,
|
|
63157
63447
|
"decorators": [
|
|
63158
63448
|
{
|
|
63159
63449
|
"name": "HostBinding",
|
|
@@ -63182,7 +63472,7 @@
|
|
|
63182
63472
|
"optional": false,
|
|
63183
63473
|
"returnType": "void",
|
|
63184
63474
|
"typeParameters": [],
|
|
63185
|
-
"line":
|
|
63475
|
+
"line": 110,
|
|
63186
63476
|
"deprecated": false,
|
|
63187
63477
|
"deprecationMessage": "",
|
|
63188
63478
|
"decorators": [
|
|
@@ -63219,7 +63509,7 @@
|
|
|
63219
63509
|
"optional": false,
|
|
63220
63510
|
"returnType": "void",
|
|
63221
63511
|
"typeParameters": [],
|
|
63222
|
-
"line":
|
|
63512
|
+
"line": 115,
|
|
63223
63513
|
"deprecated": false,
|
|
63224
63514
|
"deprecationMessage": "",
|
|
63225
63515
|
"decorators": [
|
|
@@ -63256,7 +63546,7 @@
|
|
|
63256
63546
|
"optional": false,
|
|
63257
63547
|
"returnType": "void",
|
|
63258
63548
|
"typeParameters": [],
|
|
63259
|
-
"line":
|
|
63549
|
+
"line": 101,
|
|
63260
63550
|
"deprecated": false,
|
|
63261
63551
|
"deprecationMessage": "",
|
|
63262
63552
|
"decorators": [
|
|
@@ -63293,7 +63583,7 @@
|
|
|
63293
63583
|
"optional": false,
|
|
63294
63584
|
"returnType": "boolean",
|
|
63295
63585
|
"typeParameters": [],
|
|
63296
|
-
"line":
|
|
63586
|
+
"line": 119,
|
|
63297
63587
|
"deprecated": false,
|
|
63298
63588
|
"deprecationMessage": "",
|
|
63299
63589
|
"jsdoctags": [
|
|
@@ -63321,7 +63611,7 @@
|
|
|
63321
63611
|
"optional": false,
|
|
63322
63612
|
"returnType": "void",
|
|
63323
63613
|
"typeParameters": [],
|
|
63324
|
-
"line":
|
|
63614
|
+
"line": 87,
|
|
63325
63615
|
"deprecated": false,
|
|
63326
63616
|
"deprecationMessage": "",
|
|
63327
63617
|
"decorators": [
|
|
@@ -63358,7 +63648,7 @@
|
|
|
63358
63648
|
"optional": false,
|
|
63359
63649
|
"returnType": "void",
|
|
63360
63650
|
"typeParameters": [],
|
|
63361
|
-
"line":
|
|
63651
|
+
"line": 94,
|
|
63362
63652
|
"deprecated": false,
|
|
63363
63653
|
"deprecationMessage": "",
|
|
63364
63654
|
"decorators": [
|
|
@@ -63382,6 +63672,21 @@
|
|
|
63382
63672
|
}
|
|
63383
63673
|
]
|
|
63384
63674
|
},
|
|
63675
|
+
{
|
|
63676
|
+
"name": "cleanUp",
|
|
63677
|
+
"args": [],
|
|
63678
|
+
"optional": false,
|
|
63679
|
+
"returnType": "void",
|
|
63680
|
+
"typeParameters": [],
|
|
63681
|
+
"line": 285,
|
|
63682
|
+
"deprecated": false,
|
|
63683
|
+
"deprecationMessage": "",
|
|
63684
|
+
"rawdescription": "\n\nClean up `autoUpdate` if auto alignment is enabled\n",
|
|
63685
|
+
"description": "<p>Clean up <code>autoUpdate</code> if auto alignment is enabled</p>\n",
|
|
63686
|
+
"inheritance": {
|
|
63687
|
+
"file": "PopoverContainer"
|
|
63688
|
+
}
|
|
63689
|
+
},
|
|
63385
63690
|
{
|
|
63386
63691
|
"name": "handleChange",
|
|
63387
63692
|
"args": [
|
|
@@ -63395,190 +63700,216 @@
|
|
|
63395
63700
|
"name": "event",
|
|
63396
63701
|
"type": "Event",
|
|
63397
63702
|
"deprecated": false,
|
|
63398
|
-
"deprecationMessage": ""
|
|
63703
|
+
"deprecationMessage": "",
|
|
63704
|
+
"optional": true
|
|
63399
63705
|
}
|
|
63400
63706
|
],
|
|
63401
63707
|
"optional": false,
|
|
63402
63708
|
"returnType": "void",
|
|
63403
63709
|
"typeParameters": [],
|
|
63404
|
-
"line":
|
|
63710
|
+
"line": 137,
|
|
63405
63711
|
"deprecated": false,
|
|
63406
63712
|
"deprecationMessage": "",
|
|
63713
|
+
"rawdescription": "\n\nHandles emitting open/close event\n",
|
|
63714
|
+
"description": "<p>Handles emitting open/close event</p>\n",
|
|
63407
63715
|
"jsdoctags": [
|
|
63408
63716
|
{
|
|
63409
|
-
"name":
|
|
63717
|
+
"name": {
|
|
63718
|
+
"pos": 3305,
|
|
63719
|
+
"end": 3309,
|
|
63720
|
+
"flags": 8421376,
|
|
63721
|
+
"modifierFlagsCache": 0,
|
|
63722
|
+
"transformFlags": 0,
|
|
63723
|
+
"kind": 79,
|
|
63724
|
+
"escapedText": "open"
|
|
63725
|
+
},
|
|
63410
63726
|
"type": "boolean",
|
|
63411
63727
|
"deprecated": false,
|
|
63412
63728
|
"deprecationMessage": "",
|
|
63413
63729
|
"tagName": {
|
|
63414
|
-
"
|
|
63415
|
-
|
|
63730
|
+
"pos": 3299,
|
|
63731
|
+
"end": 3304,
|
|
63732
|
+
"flags": 8421376,
|
|
63733
|
+
"modifierFlagsCache": 0,
|
|
63734
|
+
"transformFlags": 0,
|
|
63735
|
+
"kind": 79,
|
|
63736
|
+
"escapedText": "param"
|
|
63737
|
+
},
|
|
63738
|
+
"comment": "<ul>\n<li>Is the popover container open</li>\n</ul>\n"
|
|
63416
63739
|
},
|
|
63417
63740
|
{
|
|
63418
|
-
"name":
|
|
63741
|
+
"name": {
|
|
63742
|
+
"pos": 3353,
|
|
63743
|
+
"end": 3358,
|
|
63744
|
+
"flags": 8421376,
|
|
63745
|
+
"modifierFlagsCache": 0,
|
|
63746
|
+
"transformFlags": 0,
|
|
63747
|
+
"kind": 79,
|
|
63748
|
+
"escapedText": "event"
|
|
63749
|
+
},
|
|
63419
63750
|
"type": "Event",
|
|
63420
63751
|
"deprecated": false,
|
|
63421
63752
|
"deprecationMessage": "",
|
|
63753
|
+
"optional": true,
|
|
63422
63754
|
"tagName": {
|
|
63423
|
-
"
|
|
63424
|
-
|
|
63755
|
+
"pos": 3347,
|
|
63756
|
+
"end": 3352,
|
|
63757
|
+
"flags": 8421376,
|
|
63758
|
+
"modifierFlagsCache": 0,
|
|
63759
|
+
"transformFlags": 0,
|
|
63760
|
+
"kind": 79,
|
|
63761
|
+
"escapedText": "param"
|
|
63762
|
+
},
|
|
63763
|
+
"comment": "<ul>\n<li>Event</li>\n</ul>\n"
|
|
63425
63764
|
}
|
|
63426
63765
|
],
|
|
63427
63766
|
"inheritance": {
|
|
63428
63767
|
"file": "PopoverContainer"
|
|
63429
63768
|
}
|
|
63430
|
-
}
|
|
63431
|
-
],
|
|
63432
|
-
"deprecated": false,
|
|
63433
|
-
"deprecationMessage": "",
|
|
63434
|
-
"hostBindings": [
|
|
63435
|
-
{
|
|
63436
|
-
"name": "class.cds--tooltip",
|
|
63437
|
-
"defaultValue": "true",
|
|
63438
|
-
"deprecated": false,
|
|
63439
|
-
"deprecationMessage": "",
|
|
63440
|
-
"line": 50,
|
|
63441
|
-
"type": "boolean",
|
|
63442
|
-
"decorators": []
|
|
63443
|
-
},
|
|
63444
|
-
{
|
|
63445
|
-
"name": "class.cds--popover--bottom",
|
|
63446
|
-
"deprecated": false,
|
|
63447
|
-
"deprecationMessage": "",
|
|
63448
|
-
"line": 37,
|
|
63449
|
-
"type": "boolean",
|
|
63450
|
-
"decorators": [],
|
|
63451
|
-
"inheritance": {
|
|
63452
|
-
"file": "PopoverContainer"
|
|
63453
|
-
}
|
|
63454
|
-
},
|
|
63455
|
-
{
|
|
63456
|
-
"name": "class.cds--popover--bottom-left",
|
|
63457
|
-
"deprecated": false,
|
|
63458
|
-
"deprecationMessage": "",
|
|
63459
|
-
"line": 41,
|
|
63460
|
-
"type": "boolean",
|
|
63461
|
-
"decorators": [],
|
|
63462
|
-
"inheritance": {
|
|
63463
|
-
"file": "PopoverContainer"
|
|
63464
|
-
}
|
|
63465
|
-
},
|
|
63466
|
-
{
|
|
63467
|
-
"name": "class.cds--popover--bottom-right",
|
|
63468
|
-
"deprecated": false,
|
|
63469
|
-
"deprecationMessage": "",
|
|
63470
|
-
"line": 45,
|
|
63471
|
-
"type": "boolean",
|
|
63472
|
-
"decorators": [],
|
|
63473
|
-
"inheritance": {
|
|
63474
|
-
"file": "PopoverContainer"
|
|
63475
|
-
}
|
|
63476
63769
|
},
|
|
63477
63770
|
{
|
|
63478
|
-
"name": "
|
|
63479
|
-
"
|
|
63480
|
-
"
|
|
63481
|
-
"
|
|
63482
|
-
"
|
|
63483
|
-
"
|
|
63484
|
-
"inheritance": {
|
|
63485
|
-
"file": "PopoverContainer"
|
|
63486
|
-
}
|
|
63487
|
-
},
|
|
63488
|
-
{
|
|
63489
|
-
"name": "class.cds--popover--left-bottom",
|
|
63490
|
-
"deprecated": false,
|
|
63491
|
-
"deprecationMessage": "",
|
|
63492
|
-
"line": 58,
|
|
63493
|
-
"type": "boolean",
|
|
63494
|
-
"decorators": [],
|
|
63495
|
-
"inheritance": {
|
|
63496
|
-
"file": "PopoverContainer"
|
|
63497
|
-
}
|
|
63498
|
-
},
|
|
63499
|
-
{
|
|
63500
|
-
"name": "class.cds--popover--left-top",
|
|
63501
|
-
"deprecated": false,
|
|
63502
|
-
"deprecationMessage": "",
|
|
63503
|
-
"line": 54,
|
|
63504
|
-
"type": "boolean",
|
|
63505
|
-
"decorators": [],
|
|
63506
|
-
"inheritance": {
|
|
63507
|
-
"file": "PopoverContainer"
|
|
63508
|
-
}
|
|
63509
|
-
},
|
|
63510
|
-
{
|
|
63511
|
-
"name": "class.cds--popover--right",
|
|
63512
|
-
"deprecated": false,
|
|
63513
|
-
"deprecationMessage": "",
|
|
63514
|
-
"line": 63,
|
|
63515
|
-
"type": "boolean",
|
|
63516
|
-
"decorators": [],
|
|
63517
|
-
"inheritance": {
|
|
63518
|
-
"file": "PopoverContainer"
|
|
63519
|
-
}
|
|
63520
|
-
},
|
|
63521
|
-
{
|
|
63522
|
-
"name": "class.cds--popover--right-bottom",
|
|
63771
|
+
"name": "initializeReferences",
|
|
63772
|
+
"args": [],
|
|
63773
|
+
"optional": false,
|
|
63774
|
+
"returnType": "void",
|
|
63775
|
+
"typeParameters": [],
|
|
63776
|
+
"line": 264,
|
|
63523
63777
|
"deprecated": false,
|
|
63524
63778
|
"deprecationMessage": "",
|
|
63525
|
-
"line": 71,
|
|
63526
|
-
"type": "boolean",
|
|
63527
|
-
"decorators": [],
|
|
63528
63779
|
"inheritance": {
|
|
63529
63780
|
"file": "PopoverContainer"
|
|
63530
63781
|
}
|
|
63531
63782
|
},
|
|
63532
63783
|
{
|
|
63533
|
-
"name": "
|
|
63784
|
+
"name": "recomputePosition",
|
|
63785
|
+
"args": [],
|
|
63786
|
+
"optional": false,
|
|
63787
|
+
"returnType": "void",
|
|
63788
|
+
"typeParameters": [],
|
|
63789
|
+
"line": 185,
|
|
63534
63790
|
"deprecated": false,
|
|
63535
63791
|
"deprecationMessage": "",
|
|
63536
|
-
"
|
|
63537
|
-
"
|
|
63538
|
-
"decorators": [],
|
|
63792
|
+
"rawdescription": "\n\nCompute position of tooltip when autoAlign is enabled\n",
|
|
63793
|
+
"description": "<p>Compute position of tooltip when autoAlign is enabled</p>\n",
|
|
63539
63794
|
"inheritance": {
|
|
63540
63795
|
"file": "PopoverContainer"
|
|
63541
63796
|
}
|
|
63542
63797
|
},
|
|
63543
63798
|
{
|
|
63544
|
-
"name": "
|
|
63799
|
+
"name": "roundByDPR",
|
|
63800
|
+
"args": [
|
|
63801
|
+
{
|
|
63802
|
+
"name": "value",
|
|
63803
|
+
"type": "",
|
|
63804
|
+
"deprecated": false,
|
|
63805
|
+
"deprecationMessage": ""
|
|
63806
|
+
}
|
|
63807
|
+
],
|
|
63808
|
+
"optional": false,
|
|
63809
|
+
"returnType": "number",
|
|
63810
|
+
"typeParameters": [],
|
|
63811
|
+
"line": 177,
|
|
63545
63812
|
"deprecated": false,
|
|
63546
63813
|
"deprecationMessage": "",
|
|
63547
|
-
"
|
|
63548
|
-
|
|
63549
|
-
|
|
63814
|
+
"jsdoctags": [
|
|
63815
|
+
{
|
|
63816
|
+
"name": "value",
|
|
63817
|
+
"type": "",
|
|
63818
|
+
"deprecated": false,
|
|
63819
|
+
"deprecationMessage": "",
|
|
63820
|
+
"tagName": {
|
|
63821
|
+
"text": "param"
|
|
63822
|
+
}
|
|
63823
|
+
}
|
|
63824
|
+
],
|
|
63550
63825
|
"inheritance": {
|
|
63551
63826
|
"file": "PopoverContainer"
|
|
63552
63827
|
}
|
|
63553
63828
|
},
|
|
63554
63829
|
{
|
|
63555
|
-
"name": "
|
|
63830
|
+
"name": "updateAlignmentClass",
|
|
63831
|
+
"args": [
|
|
63832
|
+
{
|
|
63833
|
+
"name": "newAlignment",
|
|
63834
|
+
"type": "string",
|
|
63835
|
+
"deprecated": false,
|
|
63836
|
+
"deprecationMessage": ""
|
|
63837
|
+
},
|
|
63838
|
+
{
|
|
63839
|
+
"name": "previousAlignment",
|
|
63840
|
+
"type": "string",
|
|
63841
|
+
"deprecated": false,
|
|
63842
|
+
"deprecationMessage": "",
|
|
63843
|
+
"optional": true
|
|
63844
|
+
}
|
|
63845
|
+
],
|
|
63846
|
+
"optional": false,
|
|
63847
|
+
"returnType": "void",
|
|
63848
|
+
"typeParameters": [],
|
|
63849
|
+
"line": 296,
|
|
63556
63850
|
"deprecated": false,
|
|
63557
63851
|
"deprecationMessage": "",
|
|
63558
|
-
"
|
|
63559
|
-
"
|
|
63560
|
-
"
|
|
63852
|
+
"rawdescription": "\n\nReplace existing previous alignment class with new\n",
|
|
63853
|
+
"description": "<p>Replace existing previous alignment class with new</p>\n",
|
|
63854
|
+
"jsdoctags": [
|
|
63855
|
+
{
|
|
63856
|
+
"name": "newAlignment",
|
|
63857
|
+
"type": "string",
|
|
63858
|
+
"deprecated": false,
|
|
63859
|
+
"deprecationMessage": "",
|
|
63860
|
+
"tagName": {
|
|
63861
|
+
"text": "param"
|
|
63862
|
+
}
|
|
63863
|
+
},
|
|
63864
|
+
{
|
|
63865
|
+
"name": {
|
|
63866
|
+
"pos": 8148,
|
|
63867
|
+
"end": 8165,
|
|
63868
|
+
"flags": 8421376,
|
|
63869
|
+
"modifierFlagsCache": 0,
|
|
63870
|
+
"transformFlags": 0,
|
|
63871
|
+
"kind": 79,
|
|
63872
|
+
"escapedText": "previousAlignment"
|
|
63873
|
+
},
|
|
63874
|
+
"type": "string",
|
|
63875
|
+
"deprecated": false,
|
|
63876
|
+
"deprecationMessage": "",
|
|
63877
|
+
"optional": true,
|
|
63878
|
+
"tagName": {
|
|
63879
|
+
"pos": 8142,
|
|
63880
|
+
"end": 8147,
|
|
63881
|
+
"flags": 8421376,
|
|
63882
|
+
"modifierFlagsCache": 0,
|
|
63883
|
+
"transformFlags": 0,
|
|
63884
|
+
"kind": 79,
|
|
63885
|
+
"escapedText": "param"
|
|
63886
|
+
},
|
|
63887
|
+
"comment": ""
|
|
63888
|
+
}
|
|
63889
|
+
],
|
|
63561
63890
|
"inheritance": {
|
|
63562
63891
|
"file": "PopoverContainer"
|
|
63563
63892
|
}
|
|
63564
|
-
}
|
|
63893
|
+
}
|
|
63894
|
+
],
|
|
63895
|
+
"deprecated": false,
|
|
63896
|
+
"deprecationMessage": "",
|
|
63897
|
+
"hostBindings": [
|
|
63565
63898
|
{
|
|
63566
|
-
"name": "class.cds--
|
|
63899
|
+
"name": "class.cds--tooltip",
|
|
63900
|
+
"defaultValue": "true",
|
|
63567
63901
|
"deprecated": false,
|
|
63568
63902
|
"deprecationMessage": "",
|
|
63569
|
-
"line":
|
|
63903
|
+
"line": 53,
|
|
63570
63904
|
"type": "boolean",
|
|
63571
|
-
"decorators": []
|
|
63572
|
-
"inheritance": {
|
|
63573
|
-
"file": "PopoverContainer"
|
|
63574
|
-
}
|
|
63905
|
+
"decorators": []
|
|
63575
63906
|
},
|
|
63576
63907
|
{
|
|
63577
63908
|
"name": "class.cds--popover-container",
|
|
63578
63909
|
"defaultValue": "true",
|
|
63579
63910
|
"deprecated": false,
|
|
63580
63911
|
"deprecationMessage": "",
|
|
63581
|
-
"line":
|
|
63912
|
+
"line": 116,
|
|
63582
63913
|
"type": "boolean",
|
|
63583
63914
|
"decorators": [],
|
|
63584
63915
|
"inheritance": {
|
|
@@ -63602,7 +63933,7 @@
|
|
|
63602
63933
|
],
|
|
63603
63934
|
"deprecated": false,
|
|
63604
63935
|
"deprecationMessage": "",
|
|
63605
|
-
"line":
|
|
63936
|
+
"line": 110
|
|
63606
63937
|
},
|
|
63607
63938
|
{
|
|
63608
63939
|
"name": "focusout",
|
|
@@ -63619,7 +63950,7 @@
|
|
|
63619
63950
|
],
|
|
63620
63951
|
"deprecated": false,
|
|
63621
63952
|
"deprecationMessage": "",
|
|
63622
|
-
"line":
|
|
63953
|
+
"line": 115
|
|
63623
63954
|
},
|
|
63624
63955
|
{
|
|
63625
63956
|
"name": "keyup",
|
|
@@ -63636,7 +63967,7 @@
|
|
|
63636
63967
|
],
|
|
63637
63968
|
"deprecated": false,
|
|
63638
63969
|
"deprecationMessage": "",
|
|
63639
|
-
"line":
|
|
63970
|
+
"line": 101
|
|
63640
63971
|
},
|
|
63641
63972
|
{
|
|
63642
63973
|
"name": "mouseenter",
|
|
@@ -63653,7 +63984,7 @@
|
|
|
63653
63984
|
],
|
|
63654
63985
|
"deprecated": false,
|
|
63655
63986
|
"deprecationMessage": "",
|
|
63656
|
-
"line":
|
|
63987
|
+
"line": 87
|
|
63657
63988
|
},
|
|
63658
63989
|
{
|
|
63659
63990
|
"name": "mouseleave",
|
|
@@ -63670,7 +64001,7 @@
|
|
|
63670
64001
|
],
|
|
63671
64002
|
"deprecated": false,
|
|
63672
64003
|
"deprecationMessage": "",
|
|
63673
|
-
"line":
|
|
64004
|
+
"line": 94
|
|
63674
64005
|
}
|
|
63675
64006
|
],
|
|
63676
64007
|
"standalone": false,
|
|
@@ -63678,7 +64009,7 @@
|
|
|
63678
64009
|
"description": "<p>Get started with importing the module:</p>\n<div><pre class=\"line-numbers\"><code class=\"language-typescript\">import { TooltipModule } from 'carbon-components-angular';</code></pre></div><p><a href=\"../../?path=/story/components-tooltip--basic\">See demo</a></p>\n",
|
|
63679
64010
|
"rawdescription": "\n\nGet started with importing the module:\n\n```typescript\nimport { TooltipModule } from 'carbon-components-angular';\n```\n\n[See demo](../../?path=/story/components-tooltip--basic)\n",
|
|
63680
64011
|
"type": "component",
|
|
63681
|
-
"sourceCode": "import {\n\tAfterContentChecked,\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tElementRef,\n\tHostBinding,\n\tHostListener,\n\tInput,\n\tTemplateRef,\n\tViewChild\n} from \"@angular/core\";\nimport { PopoverContainer } from \"carbon-components-angular/popover\";\n\n/**\n * Get started with importing the module:\n *\n * ```typescript\n * import { TooltipModule } from 'carbon-components-angular';\n * ```\n *\n * [See demo](../../?path=/story/components-tooltip--basic)\n */\n@Component({\n\tselector: \"cds-tooltip, ibm-tooltip\",\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<span #contentWrapper>\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t<span\n\t\t\t*ngIf=\"description\"\n\t\t\tclass=\"cds--popover\"\n\t\t\t[id]=\"id\"\n\t\t\t[attr.aria-hidden]=\"!isOpen\"\n\t\t\trole=\"tooltip\">\n\t\t\t<ng-container *ngIf=\"!disabled\">\n\t\t\t\t<span class=\"cds--popover-content cds--tooltip-content\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(description)\">{{description}}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(description)\" [ngTemplateOutlet]=\"description\"></ng-template>\n\t\t\t\t</span>\n\t\t\t\t<span class=\"cds--popover-caret\"></span>\n\t\t\t</ng-container>\n\t\t</span>\n\t`\n})\nexport class Tooltip extends PopoverContainer implements AfterContentChecked {\n\tstatic tooltipCount = 0;\n\n\t@HostBinding(\"class.cds--tooltip\") tooltipClass = true;\n\n\t@Input() id = `tooltip-${Tooltip.tooltipCount++}`;\n\t/**\n\t * Set delay before tooltip is shown\n\t */\n\t@Input() enterDelayMs = 100;\n\t/**\n\t * Set delay when tooltip disappears\n\t */\n\t@Input() leaveDelayMs = 300;\n\t/**\n\t * Prevent tooltip from showing, used by icon button\n\t */\n\t@Input() disabled = false;\n\t/**\n\t * The string or template content to be exposed by the tooltip.\n\t */\n\t@Input() description: string | TemplateRef<any>;\n\n\t@ViewChild(\"contentWrapper\") wrapper: ElementRef<HTMLSpanElement>;\n\n\tconstructor(
|
|
64012
|
+
"sourceCode": "import {\n\tAfterContentChecked,\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tElementRef,\n\tHostBinding,\n\tHostListener,\n\tInput,\n\tNgZone,\n\tRenderer2,\n\tTemplateRef,\n\tViewChild\n} from \"@angular/core\";\nimport { PopoverContainer } from \"carbon-components-angular/popover\";\n\n/**\n * Get started with importing the module:\n *\n * ```typescript\n * import { TooltipModule } from 'carbon-components-angular';\n * ```\n *\n * [See demo](../../?path=/story/components-tooltip--basic)\n */\n@Component({\n\tselector: \"cds-tooltip, ibm-tooltip\",\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<span #contentWrapper>\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t<span\n\t\t\t*ngIf=\"description\"\n\t\t\tclass=\"cds--popover\"\n\t\t\t[id]=\"id\"\n\t\t\t[attr.aria-hidden]=\"!isOpen\"\n\t\t\trole=\"tooltip\">\n\t\t\t<ng-container *ngIf=\"!disabled\">\n\t\t\t\t<span class=\"cds--popover-content cds--tooltip-content\">\n\t\t\t\t\t<ng-container *ngIf=\"!isTemplate(description)\">{{description}}</ng-container>\n\t\t\t\t\t<ng-template *ngIf=\"isTemplate(description)\" [ngTemplateOutlet]=\"description\"></ng-template>\n\t\t\t\t\t<span *ngIf=\"autoAlign\" class=\"cds--popover-caret cds--popover--auto-align\"></span>\n\t\t\t\t</span>\n\t\t\t\t<span *ngIf=\"!autoAlign\" class=\"cds--popover-caret\"></span>\n\t\t\t</ng-container>\n\t\t</span>\n\t`\n})\nexport class Tooltip extends PopoverContainer implements AfterContentChecked {\n\tstatic tooltipCount = 0;\n\n\t@HostBinding(\"class.cds--tooltip\") tooltipClass = true;\n\n\t@Input() id = `tooltip-${Tooltip.tooltipCount++}`;\n\t/**\n\t * Set delay before tooltip is shown\n\t */\n\t@Input() enterDelayMs = 100;\n\t/**\n\t * Set delay when tooltip disappears\n\t */\n\t@Input() leaveDelayMs = 300;\n\t/**\n\t * Prevent tooltip from showing, used by icon button\n\t */\n\t@Input() disabled = false;\n\t/**\n\t * The string or template content to be exposed by the tooltip.\n\t */\n\t@Input() description: string | TemplateRef<any>;\n\n\t@ViewChild(\"contentWrapper\") wrapper: ElementRef<HTMLSpanElement>;\n\n\tconstructor(\n\t\tprotected elementRef: ElementRef,\n\t\tprotected ngZone: NgZone,\n\t\tprotected renderer: Renderer2,\n\t\tprotected changeDetectorRef: ChangeDetectorRef\n\t) {\n\t\tsuper(elementRef, ngZone, renderer, changeDetectorRef);\n\t\tthis.highContrast = true;\n\t\tthis.dropShadow = false;\n\t}\n\n\t@HostListener(\"mouseenter\", [\"$event\"])\n\tmouseenter(event) {\n\t\tsetTimeout(() => {\n\t\t\tthis.handleChange(true, event);\n\t\t}, this.enterDelayMs);\n\t}\n\n\t@HostListener(\"mouseleave\", [\"$event\"])\n\tmouseleave(event) {\n\t\tsetTimeout(() => {\n\t\t\tthis.handleChange(false, event);\n\t\t}, this.leaveDelayMs);\n\t}\n\n\t@HostListener(\"keyup\", [\"$event\"])\n\thostkeys(event: KeyboardEvent) {\n\t\tif (open && event.key === \"Escape\") {\n\t\t\tevent.stopPropagation();\n\t\t\tthis.handleChange(false, event);\n\t\t}\n\t}\n\n\t// We are not focusing on entire popover, only the trigger\n\t@HostListener(\"focusin\", [\"$event\"])\n\thandleFocus(event: Event) {\n\t\tthis.handleChange(true, event);\n\t}\n\n\t@HostListener(\"focusout\", [\"$event\"])\n\thandleFocusOut(event: Event) {\n\t\tthis.handleChange(false, event);\n\t}\n\n\tisTemplate(value) {\n\t\treturn value instanceof TemplateRef;\n\t}\n\n\t/**\n\t * Check for any changes in the projected content & apply accessibility attribute if needed\n\t */\n\tngAfterContentChecked() {\n\t\tif (this.wrapper) {\n\t\t\tconst buttonElement = this.wrapper.nativeElement.querySelector(\"button\");\n\t\t\tif (buttonElement && !buttonElement.getAttribute(\"aria-labelledby\")) {\n\t\t\t\tbuttonElement.setAttribute(\"aria-labelledby\", this.id);\n\t\t\t}\n\t\t}\n\t}\n}\n",
|
|
63682
64013
|
"assetsDirs": [],
|
|
63683
64014
|
"styleUrlsData": "",
|
|
63684
64015
|
"stylesData": "",
|
|
@@ -63689,16 +64020,61 @@
|
|
|
63689
64020
|
"deprecationMessage": "",
|
|
63690
64021
|
"args": [
|
|
63691
64022
|
{
|
|
63692
|
-
"name": "
|
|
64023
|
+
"name": "elementRef",
|
|
64024
|
+
"type": "ElementRef",
|
|
64025
|
+
"deprecated": false,
|
|
64026
|
+
"deprecationMessage": ""
|
|
64027
|
+
},
|
|
64028
|
+
{
|
|
64029
|
+
"name": "ngZone",
|
|
64030
|
+
"type": "NgZone",
|
|
64031
|
+
"deprecated": false,
|
|
64032
|
+
"deprecationMessage": ""
|
|
64033
|
+
},
|
|
64034
|
+
{
|
|
64035
|
+
"name": "renderer",
|
|
64036
|
+
"type": "Renderer2",
|
|
64037
|
+
"deprecated": false,
|
|
64038
|
+
"deprecationMessage": ""
|
|
64039
|
+
},
|
|
64040
|
+
{
|
|
64041
|
+
"name": "changeDetectorRef",
|
|
63693
64042
|
"type": "ChangeDetectorRef",
|
|
63694
64043
|
"deprecated": false,
|
|
63695
64044
|
"deprecationMessage": ""
|
|
63696
64045
|
}
|
|
63697
64046
|
],
|
|
63698
|
-
"line":
|
|
64047
|
+
"line": 73,
|
|
63699
64048
|
"jsdoctags": [
|
|
63700
64049
|
{
|
|
63701
|
-
"name": "
|
|
64050
|
+
"name": "elementRef",
|
|
64051
|
+
"type": "ElementRef",
|
|
64052
|
+
"deprecated": false,
|
|
64053
|
+
"deprecationMessage": "",
|
|
64054
|
+
"tagName": {
|
|
64055
|
+
"text": "param"
|
|
64056
|
+
}
|
|
64057
|
+
},
|
|
64058
|
+
{
|
|
64059
|
+
"name": "ngZone",
|
|
64060
|
+
"type": "NgZone",
|
|
64061
|
+
"deprecated": false,
|
|
64062
|
+
"deprecationMessage": "",
|
|
64063
|
+
"tagName": {
|
|
64064
|
+
"text": "param"
|
|
64065
|
+
}
|
|
64066
|
+
},
|
|
64067
|
+
{
|
|
64068
|
+
"name": "renderer",
|
|
64069
|
+
"type": "Renderer2",
|
|
64070
|
+
"deprecated": false,
|
|
64071
|
+
"deprecationMessage": "",
|
|
64072
|
+
"tagName": {
|
|
64073
|
+
"text": "param"
|
|
64074
|
+
}
|
|
64075
|
+
},
|
|
64076
|
+
{
|
|
64077
|
+
"name": "changeDetectorRef",
|
|
63702
64078
|
"type": "ChangeDetectorRef",
|
|
63703
64079
|
"deprecated": false,
|
|
63704
64080
|
"deprecationMessage": "",
|
|
@@ -63715,7 +64091,7 @@
|
|
|
63715
64091
|
},
|
|
63716
64092
|
{
|
|
63717
64093
|
"name": "TooltipDefinition",
|
|
63718
|
-
"id": "component-TooltipDefinition-
|
|
64094
|
+
"id": "component-TooltipDefinition-e84783f408396ee38f0daff25f4a69407aef2bab6644a56db4c95be605c982e6d0299c3101f9fcfc75977f7e0dfa2ad26d06036b6bd5e4f9e529084080ca1e65",
|
|
63719
64095
|
"file": "src/tooltip/definition-tooptip.component.ts",
|
|
63720
64096
|
"changeDetection": "ChangeDetectionStrategy.OnPush",
|
|
63721
64097
|
"encapsulation": [],
|
|
@@ -63726,32 +64102,18 @@
|
|
|
63726
64102
|
"selector": "cds-tooltip-definition, ibm-tooltip-definition",
|
|
63727
64103
|
"styleUrls": [],
|
|
63728
64104
|
"styles": [],
|
|
63729
|
-
"template": "<button\n\tclass=\"cds--definition-term\"\n\t[attr.aria-controls]=\"id\"\n\t[attr.aria-expanded]=\"isOpen\"\n\t(blur)=\"onBlur($event)\"\n\t(click)=\"onClick($event)\"\n\ttype=\"button\">\n\t<ng-content></ng-content>\n</button>\n<span\n\t*ngIf=\"description\"\n\tclass=\"cds--popover\"\n\t[id]=\"id\"\n\t[attr.aria-hidden]=\"isOpen\"\n\trole=\"tooltip\">\n\t<span class=\"cds--popover-content cds--definition-tooltip\">\n\t\t<ng-container *ngIf=\"!isTemplate(description)\">{{description}}</ng-container>\n\t\t<ng-template *ngIf=\"isTemplate(description)\" [ngTemplateOutlet]=\"description\"></ng-template>\n\t</span>\n\t<span class=\"cds--popover-caret\"></span>\n</span>\n\t",
|
|
64105
|
+
"template": "<button\n\tclass=\"cds--definition-term\"\n\t[attr.aria-controls]=\"id\"\n\t[attr.aria-expanded]=\"isOpen\"\n\t(blur)=\"onBlur($event)\"\n\t(click)=\"onClick($event)\"\n\ttype=\"button\">\n\t<ng-content></ng-content>\n</button>\n<span\n\t*ngIf=\"description\"\n\tclass=\"cds--popover\"\n\t[id]=\"id\"\n\t[attr.aria-hidden]=\"isOpen\"\n\trole=\"tooltip\">\n\t<span class=\"cds--popover-content cds--definition-tooltip\">\n\t\t<ng-container *ngIf=\"!isTemplate(description)\">{{description}}</ng-container>\n\t\t<ng-template *ngIf=\"isTemplate(description)\" [ngTemplateOutlet]=\"description\"></ng-template>\n\t\t<span *ngIf=\"autoAlign\" class=\"cds--popover-caret cds--popover--auto-align\"></span>\n\t</span>\n\t<span *ngIf=\"!autoAlign\" class=\"cds--popover-caret\"></span>\n</span>\n\t",
|
|
63730
64106
|
"templateUrl": [],
|
|
63731
64107
|
"viewProviders": [],
|
|
63732
64108
|
"hostDirectives": [],
|
|
63733
64109
|
"inputsClass": [
|
|
63734
|
-
{
|
|
63735
|
-
"name": "align",
|
|
63736
|
-
"defaultValue": "\"bottom\"",
|
|
63737
|
-
"deprecated": false,
|
|
63738
|
-
"deprecationMessage": "",
|
|
63739
|
-
"rawdescription": "\n\nOverride alignment options\n",
|
|
63740
|
-
"description": "<p>Override alignment options</p>\n",
|
|
63741
|
-
"line": 55,
|
|
63742
|
-
"type": "\"top\" | \"top-left\" | \"top-right\" | \"bottom\" | \"bottom-left\" | \"bottom-right\"",
|
|
63743
|
-
"decorators": [],
|
|
63744
|
-
"inheritance": {
|
|
63745
|
-
"file": "PopoverContainer"
|
|
63746
|
-
}
|
|
63747
|
-
},
|
|
63748
64110
|
{
|
|
63749
64111
|
"name": "description",
|
|
63750
64112
|
"deprecated": false,
|
|
63751
64113
|
"deprecationMessage": "",
|
|
63752
64114
|
"rawdescription": "\n\nThe string or template content to be exposed by the tooltip.\n",
|
|
63753
64115
|
"description": "<p>The string or template content to be exposed by the tooltip.</p>\n",
|
|
63754
|
-
"line":
|
|
64116
|
+
"line": 59,
|
|
63755
64117
|
"type": "string | TemplateRef<any>",
|
|
63756
64118
|
"decorators": []
|
|
63757
64119
|
},
|
|
@@ -63760,16 +64122,45 @@
|
|
|
63760
64122
|
"defaultValue": "`tooltip-definition-${TooltipDefinition.tooltipCount++}`",
|
|
63761
64123
|
"deprecated": false,
|
|
63762
64124
|
"deprecationMessage": "",
|
|
63763
|
-
"line":
|
|
64125
|
+
"line": 54,
|
|
63764
64126
|
"type": "string",
|
|
63765
64127
|
"decorators": []
|
|
63766
64128
|
},
|
|
64129
|
+
{
|
|
64130
|
+
"name": "align",
|
|
64131
|
+
"deprecated": false,
|
|
64132
|
+
"deprecationMessage": "",
|
|
64133
|
+
"rawdescription": "\n\nSet alignment of popover\nAs of v5, `oldPlacements` are now deprecated in favor of Placements\n\nWhen `autoAlign` is set to `true`, alignment may change for best placement\n",
|
|
64134
|
+
"description": "<p>Set alignment of popover\nAs of v5, <code>oldPlacements</code> are now deprecated in favor of Placements</p>\n<p>When <code>autoAlign</code> is set to <code>true</code>, alignment may change for best placement</p>\n",
|
|
64135
|
+
"line": 45,
|
|
64136
|
+
"type": "oldPlacement | Placement",
|
|
64137
|
+
"decorators": [],
|
|
64138
|
+
"inheritance": {
|
|
64139
|
+
"file": "PopoverContainer"
|
|
64140
|
+
}
|
|
64141
|
+
},
|
|
64142
|
+
{
|
|
64143
|
+
"name": "autoAlign",
|
|
64144
|
+
"defaultValue": "false",
|
|
64145
|
+
"deprecated": false,
|
|
64146
|
+
"deprecationMessage": "",
|
|
64147
|
+
"rawdescription": "\n\n**Experimental**: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once\n",
|
|
64148
|
+
"description": "<p><strong>Experimental</strong>: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once</p>\n",
|
|
64149
|
+
"line": 115,
|
|
64150
|
+
"type": "boolean",
|
|
64151
|
+
"decorators": [],
|
|
64152
|
+
"inheritance": {
|
|
64153
|
+
"file": "PopoverContainer"
|
|
64154
|
+
}
|
|
64155
|
+
},
|
|
63767
64156
|
{
|
|
63768
64157
|
"name": "caret",
|
|
63769
64158
|
"defaultValue": "true",
|
|
63770
64159
|
"deprecated": false,
|
|
63771
64160
|
"deprecationMessage": "",
|
|
63772
|
-
"
|
|
64161
|
+
"rawdescription": "\n\nShow caret at the alignment position\n",
|
|
64162
|
+
"description": "<p>Show caret at the alignment position</p>\n",
|
|
64163
|
+
"line": 102,
|
|
63773
64164
|
"type": "boolean",
|
|
63774
64165
|
"decorators": [],
|
|
63775
64166
|
"inheritance": {
|
|
@@ -63781,7 +64172,9 @@
|
|
|
63781
64172
|
"defaultValue": "true",
|
|
63782
64173
|
"deprecated": false,
|
|
63783
64174
|
"deprecationMessage": "",
|
|
63784
|
-
"
|
|
64175
|
+
"rawdescription": "\n\nEnable drop shadow around the popover container\n",
|
|
64176
|
+
"description": "<p>Enable drop shadow around the popover container</p>\n",
|
|
64177
|
+
"line": 106,
|
|
63785
64178
|
"type": "boolean",
|
|
63786
64179
|
"decorators": [],
|
|
63787
64180
|
"inheritance": {
|
|
@@ -63793,7 +64186,9 @@
|
|
|
63793
64186
|
"defaultValue": "false",
|
|
63794
64187
|
"deprecated": false,
|
|
63795
64188
|
"deprecationMessage": "",
|
|
63796
|
-
"
|
|
64189
|
+
"rawdescription": "\n\nEnable high contrast for popover container\n",
|
|
64190
|
+
"description": "<p>Enable high contrast for popover container</p>\n",
|
|
64191
|
+
"line": 110,
|
|
63797
64192
|
"type": "boolean",
|
|
63798
64193
|
"decorators": [],
|
|
63799
64194
|
"inheritance": {
|
|
@@ -63805,7 +64200,7 @@
|
|
|
63805
64200
|
"defaultValue": "false",
|
|
63806
64201
|
"deprecated": false,
|
|
63807
64202
|
"deprecationMessage": "",
|
|
63808
|
-
"line":
|
|
64203
|
+
"line": 117,
|
|
63809
64204
|
"type": "boolean",
|
|
63810
64205
|
"decorators": [],
|
|
63811
64206
|
"inheritance": {
|
|
@@ -63821,7 +64216,7 @@
|
|
|
63821
64216
|
"deprecationMessage": "",
|
|
63822
64217
|
"rawdescription": "\n\nEmits an event when the state of `isOpen` changes. Allows `isOpen` to be double bound\n",
|
|
63823
64218
|
"description": "<p>Emits an event when the state of <code>isOpen</code> changes. Allows <code>isOpen</code> to be double bound</p>\n",
|
|
63824
|
-
"line":
|
|
64219
|
+
"line": 98,
|
|
63825
64220
|
"type": "EventEmitter",
|
|
63826
64221
|
"inheritance": {
|
|
63827
64222
|
"file": "PopoverContainer"
|
|
@@ -63834,7 +64229,7 @@
|
|
|
63834
64229
|
"deprecationMessage": "",
|
|
63835
64230
|
"rawdescription": "\n\nEmits an event when the dialog is closed\n",
|
|
63836
64231
|
"description": "<p>Emits an event when the dialog is closed</p>\n",
|
|
63837
|
-
"line":
|
|
64232
|
+
"line": 90,
|
|
63838
64233
|
"type": "EventEmitter<Event>",
|
|
63839
64234
|
"inheritance": {
|
|
63840
64235
|
"file": "PopoverContainer"
|
|
@@ -63847,7 +64242,7 @@
|
|
|
63847
64242
|
"deprecationMessage": "",
|
|
63848
64243
|
"rawdescription": "\n\nEmits an event when the dialog is opened\n",
|
|
63849
64244
|
"description": "<p>Emits an event when the dialog is opened</p>\n",
|
|
63850
|
-
"line":
|
|
64245
|
+
"line": 94,
|
|
63851
64246
|
"type": "EventEmitter<Event>",
|
|
63852
64247
|
"inheritance": {
|
|
63853
64248
|
"file": "PopoverContainer"
|
|
@@ -63863,11 +64258,40 @@
|
|
|
63863
64258
|
"type": "number",
|
|
63864
64259
|
"optional": false,
|
|
63865
64260
|
"description": "",
|
|
63866
|
-
"line":
|
|
64261
|
+
"line": 52,
|
|
63867
64262
|
"modifierKind": [
|
|
63868
64263
|
124
|
|
63869
64264
|
]
|
|
63870
64265
|
},
|
|
64266
|
+
{
|
|
64267
|
+
"name": "_align",
|
|
64268
|
+
"defaultValue": "\"bottom\"",
|
|
64269
|
+
"deprecated": false,
|
|
64270
|
+
"deprecationMessage": "",
|
|
64271
|
+
"type": "Placement",
|
|
64272
|
+
"optional": false,
|
|
64273
|
+
"description": "",
|
|
64274
|
+
"line": 84,
|
|
64275
|
+
"inheritance": {
|
|
64276
|
+
"file": "PopoverContainer"
|
|
64277
|
+
}
|
|
64278
|
+
},
|
|
64279
|
+
{
|
|
64280
|
+
"name": "alignmentClassPrefix",
|
|
64281
|
+
"defaultValue": "\"cds--popover--\"",
|
|
64282
|
+
"deprecated": false,
|
|
64283
|
+
"deprecationMessage": "",
|
|
64284
|
+
"type": "string",
|
|
64285
|
+
"optional": false,
|
|
64286
|
+
"description": "",
|
|
64287
|
+
"line": 85,
|
|
64288
|
+
"modifierKind": [
|
|
64289
|
+
146
|
|
64290
|
+
],
|
|
64291
|
+
"inheritance": {
|
|
64292
|
+
"file": "PopoverContainer"
|
|
64293
|
+
}
|
|
64294
|
+
},
|
|
63871
64295
|
{
|
|
63872
64296
|
"name": "containerClass",
|
|
63873
64297
|
"defaultValue": "true",
|
|
@@ -63876,7 +64300,7 @@
|
|
|
63876
64300
|
"type": "",
|
|
63877
64301
|
"optional": false,
|
|
63878
64302
|
"description": "",
|
|
63879
|
-
"line":
|
|
64303
|
+
"line": 116,
|
|
63880
64304
|
"decorators": [
|
|
63881
64305
|
{
|
|
63882
64306
|
"name": "HostBinding",
|
|
@@ -63905,7 +64329,7 @@
|
|
|
63905
64329
|
"optional": false,
|
|
63906
64330
|
"returnType": "void",
|
|
63907
64331
|
"typeParameters": [],
|
|
63908
|
-
"line":
|
|
64332
|
+
"line": 81,
|
|
63909
64333
|
"deprecated": false,
|
|
63910
64334
|
"deprecationMessage": "",
|
|
63911
64335
|
"decorators": [
|
|
@@ -63942,7 +64366,7 @@
|
|
|
63942
64366
|
"optional": false,
|
|
63943
64367
|
"returnType": "boolean",
|
|
63944
64368
|
"typeParameters": [],
|
|
63945
|
-
"line":
|
|
64369
|
+
"line": 93,
|
|
63946
64370
|
"deprecated": false,
|
|
63947
64371
|
"deprecationMessage": "",
|
|
63948
64372
|
"modifierKind": [
|
|
@@ -63973,7 +64397,7 @@
|
|
|
63973
64397
|
"optional": false,
|
|
63974
64398
|
"returnType": "void",
|
|
63975
64399
|
"typeParameters": [],
|
|
63976
|
-
"line":
|
|
64400
|
+
"line": 89,
|
|
63977
64401
|
"deprecated": false,
|
|
63978
64402
|
"deprecationMessage": "",
|
|
63979
64403
|
"decorators": [
|
|
@@ -64010,7 +64434,7 @@
|
|
|
64010
64434
|
"optional": false,
|
|
64011
64435
|
"returnType": "void",
|
|
64012
64436
|
"typeParameters": [],
|
|
64013
|
-
"line":
|
|
64437
|
+
"line": 72,
|
|
64014
64438
|
"deprecated": false,
|
|
64015
64439
|
"deprecationMessage": "",
|
|
64016
64440
|
"jsdoctags": [
|
|
@@ -64038,7 +64462,7 @@
|
|
|
64038
64462
|
"optional": false,
|
|
64039
64463
|
"returnType": "void",
|
|
64040
64464
|
"typeParameters": [],
|
|
64041
|
-
"line":
|
|
64465
|
+
"line": 76,
|
|
64042
64466
|
"deprecated": false,
|
|
64043
64467
|
"deprecationMessage": "",
|
|
64044
64468
|
"jsdoctags": [
|
|
@@ -64053,6 +64477,21 @@
|
|
|
64053
64477
|
}
|
|
64054
64478
|
]
|
|
64055
64479
|
},
|
|
64480
|
+
{
|
|
64481
|
+
"name": "cleanUp",
|
|
64482
|
+
"args": [],
|
|
64483
|
+
"optional": false,
|
|
64484
|
+
"returnType": "void",
|
|
64485
|
+
"typeParameters": [],
|
|
64486
|
+
"line": 285,
|
|
64487
|
+
"deprecated": false,
|
|
64488
|
+
"deprecationMessage": "",
|
|
64489
|
+
"rawdescription": "\n\nClean up `autoUpdate` if auto alignment is enabled\n",
|
|
64490
|
+
"description": "<p>Clean up <code>autoUpdate</code> if auto alignment is enabled</p>\n",
|
|
64491
|
+
"inheritance": {
|
|
64492
|
+
"file": "PopoverContainer"
|
|
64493
|
+
}
|
|
64494
|
+
},
|
|
64056
64495
|
{
|
|
64057
64496
|
"name": "handleChange",
|
|
64058
64497
|
"args": [
|
|
@@ -64066,181 +64505,207 @@
|
|
|
64066
64505
|
"name": "event",
|
|
64067
64506
|
"type": "Event",
|
|
64068
64507
|
"deprecated": false,
|
|
64069
|
-
"deprecationMessage": ""
|
|
64508
|
+
"deprecationMessage": "",
|
|
64509
|
+
"optional": true
|
|
64070
64510
|
}
|
|
64071
64511
|
],
|
|
64072
64512
|
"optional": false,
|
|
64073
64513
|
"returnType": "void",
|
|
64074
64514
|
"typeParameters": [],
|
|
64075
|
-
"line":
|
|
64515
|
+
"line": 137,
|
|
64076
64516
|
"deprecated": false,
|
|
64077
64517
|
"deprecationMessage": "",
|
|
64518
|
+
"rawdescription": "\n\nHandles emitting open/close event\n",
|
|
64519
|
+
"description": "<p>Handles emitting open/close event</p>\n",
|
|
64078
64520
|
"jsdoctags": [
|
|
64079
64521
|
{
|
|
64080
|
-
"name":
|
|
64522
|
+
"name": {
|
|
64523
|
+
"pos": 3305,
|
|
64524
|
+
"end": 3309,
|
|
64525
|
+
"flags": 8421376,
|
|
64526
|
+
"modifierFlagsCache": 0,
|
|
64527
|
+
"transformFlags": 0,
|
|
64528
|
+
"kind": 79,
|
|
64529
|
+
"escapedText": "open"
|
|
64530
|
+
},
|
|
64081
64531
|
"type": "boolean",
|
|
64082
64532
|
"deprecated": false,
|
|
64083
64533
|
"deprecationMessage": "",
|
|
64084
64534
|
"tagName": {
|
|
64085
|
-
"
|
|
64086
|
-
|
|
64535
|
+
"pos": 3299,
|
|
64536
|
+
"end": 3304,
|
|
64537
|
+
"flags": 8421376,
|
|
64538
|
+
"modifierFlagsCache": 0,
|
|
64539
|
+
"transformFlags": 0,
|
|
64540
|
+
"kind": 79,
|
|
64541
|
+
"escapedText": "param"
|
|
64542
|
+
},
|
|
64543
|
+
"comment": "<ul>\n<li>Is the popover container open</li>\n</ul>\n"
|
|
64087
64544
|
},
|
|
64088
64545
|
{
|
|
64089
|
-
"name":
|
|
64546
|
+
"name": {
|
|
64547
|
+
"pos": 3353,
|
|
64548
|
+
"end": 3358,
|
|
64549
|
+
"flags": 8421376,
|
|
64550
|
+
"modifierFlagsCache": 0,
|
|
64551
|
+
"transformFlags": 0,
|
|
64552
|
+
"kind": 79,
|
|
64553
|
+
"escapedText": "event"
|
|
64554
|
+
},
|
|
64090
64555
|
"type": "Event",
|
|
64091
64556
|
"deprecated": false,
|
|
64092
64557
|
"deprecationMessage": "",
|
|
64558
|
+
"optional": true,
|
|
64093
64559
|
"tagName": {
|
|
64094
|
-
"
|
|
64095
|
-
|
|
64560
|
+
"pos": 3347,
|
|
64561
|
+
"end": 3352,
|
|
64562
|
+
"flags": 8421376,
|
|
64563
|
+
"modifierFlagsCache": 0,
|
|
64564
|
+
"transformFlags": 0,
|
|
64565
|
+
"kind": 79,
|
|
64566
|
+
"escapedText": "param"
|
|
64567
|
+
},
|
|
64568
|
+
"comment": "<ul>\n<li>Event</li>\n</ul>\n"
|
|
64096
64569
|
}
|
|
64097
64570
|
],
|
|
64098
64571
|
"inheritance": {
|
|
64099
64572
|
"file": "PopoverContainer"
|
|
64100
64573
|
}
|
|
64101
|
-
}
|
|
64102
|
-
],
|
|
64103
|
-
"deprecated": false,
|
|
64104
|
-
"deprecationMessage": "",
|
|
64105
|
-
"hostBindings": [
|
|
64106
|
-
{
|
|
64107
|
-
"name": "class.cds--popover--bottom",
|
|
64108
|
-
"deprecated": false,
|
|
64109
|
-
"deprecationMessage": "",
|
|
64110
|
-
"line": 37,
|
|
64111
|
-
"type": "boolean",
|
|
64112
|
-
"decorators": [],
|
|
64113
|
-
"inheritance": {
|
|
64114
|
-
"file": "PopoverContainer"
|
|
64115
|
-
}
|
|
64116
64574
|
},
|
|
64117
64575
|
{
|
|
64118
|
-
"name": "
|
|
64119
|
-
"
|
|
64120
|
-
"
|
|
64121
|
-
"
|
|
64122
|
-
"
|
|
64123
|
-
"
|
|
64124
|
-
"inheritance": {
|
|
64125
|
-
"file": "PopoverContainer"
|
|
64126
|
-
}
|
|
64127
|
-
},
|
|
64128
|
-
{
|
|
64129
|
-
"name": "class.cds--popover--bottom-right",
|
|
64130
|
-
"deprecated": false,
|
|
64131
|
-
"deprecationMessage": "",
|
|
64132
|
-
"line": 45,
|
|
64133
|
-
"type": "boolean",
|
|
64134
|
-
"decorators": [],
|
|
64135
|
-
"inheritance": {
|
|
64136
|
-
"file": "PopoverContainer"
|
|
64137
|
-
}
|
|
64138
|
-
},
|
|
64139
|
-
{
|
|
64140
|
-
"name": "class.cds--popover--left",
|
|
64141
|
-
"deprecated": false,
|
|
64142
|
-
"deprecationMessage": "",
|
|
64143
|
-
"line": 50,
|
|
64144
|
-
"type": "boolean",
|
|
64145
|
-
"decorators": [],
|
|
64146
|
-
"inheritance": {
|
|
64147
|
-
"file": "PopoverContainer"
|
|
64148
|
-
}
|
|
64149
|
-
},
|
|
64150
|
-
{
|
|
64151
|
-
"name": "class.cds--popover--left-bottom",
|
|
64152
|
-
"deprecated": false,
|
|
64153
|
-
"deprecationMessage": "",
|
|
64154
|
-
"line": 58,
|
|
64155
|
-
"type": "boolean",
|
|
64156
|
-
"decorators": [],
|
|
64157
|
-
"inheritance": {
|
|
64158
|
-
"file": "PopoverContainer"
|
|
64159
|
-
}
|
|
64160
|
-
},
|
|
64161
|
-
{
|
|
64162
|
-
"name": "class.cds--popover--left-top",
|
|
64163
|
-
"deprecated": false,
|
|
64164
|
-
"deprecationMessage": "",
|
|
64165
|
-
"line": 54,
|
|
64166
|
-
"type": "boolean",
|
|
64167
|
-
"decorators": [],
|
|
64168
|
-
"inheritance": {
|
|
64169
|
-
"file": "PopoverContainer"
|
|
64170
|
-
}
|
|
64171
|
-
},
|
|
64172
|
-
{
|
|
64173
|
-
"name": "class.cds--popover--right",
|
|
64174
|
-
"deprecated": false,
|
|
64175
|
-
"deprecationMessage": "",
|
|
64176
|
-
"line": 63,
|
|
64177
|
-
"type": "boolean",
|
|
64178
|
-
"decorators": [],
|
|
64179
|
-
"inheritance": {
|
|
64180
|
-
"file": "PopoverContainer"
|
|
64181
|
-
}
|
|
64182
|
-
},
|
|
64183
|
-
{
|
|
64184
|
-
"name": "class.cds--popover--right-bottom",
|
|
64185
|
-
"deprecated": false,
|
|
64186
|
-
"deprecationMessage": "",
|
|
64187
|
-
"line": 71,
|
|
64188
|
-
"type": "boolean",
|
|
64189
|
-
"decorators": [],
|
|
64190
|
-
"inheritance": {
|
|
64191
|
-
"file": "PopoverContainer"
|
|
64192
|
-
}
|
|
64193
|
-
},
|
|
64194
|
-
{
|
|
64195
|
-
"name": "class.cds--popover--right-top",
|
|
64576
|
+
"name": "initializeReferences",
|
|
64577
|
+
"args": [],
|
|
64578
|
+
"optional": false,
|
|
64579
|
+
"returnType": "void",
|
|
64580
|
+
"typeParameters": [],
|
|
64581
|
+
"line": 264,
|
|
64196
64582
|
"deprecated": false,
|
|
64197
64583
|
"deprecationMessage": "",
|
|
64198
|
-
"line": 67,
|
|
64199
|
-
"type": "boolean",
|
|
64200
|
-
"decorators": [],
|
|
64201
64584
|
"inheritance": {
|
|
64202
64585
|
"file": "PopoverContainer"
|
|
64203
64586
|
}
|
|
64204
64587
|
},
|
|
64205
64588
|
{
|
|
64206
|
-
"name": "
|
|
64589
|
+
"name": "recomputePosition",
|
|
64590
|
+
"args": [],
|
|
64591
|
+
"optional": false,
|
|
64592
|
+
"returnType": "void",
|
|
64593
|
+
"typeParameters": [],
|
|
64594
|
+
"line": 185,
|
|
64207
64595
|
"deprecated": false,
|
|
64208
64596
|
"deprecationMessage": "",
|
|
64209
|
-
"
|
|
64210
|
-
"
|
|
64211
|
-
"decorators": [],
|
|
64597
|
+
"rawdescription": "\n\nCompute position of tooltip when autoAlign is enabled\n",
|
|
64598
|
+
"description": "<p>Compute position of tooltip when autoAlign is enabled</p>\n",
|
|
64212
64599
|
"inheritance": {
|
|
64213
64600
|
"file": "PopoverContainer"
|
|
64214
64601
|
}
|
|
64215
64602
|
},
|
|
64216
64603
|
{
|
|
64217
|
-
"name": "
|
|
64604
|
+
"name": "roundByDPR",
|
|
64605
|
+
"args": [
|
|
64606
|
+
{
|
|
64607
|
+
"name": "value",
|
|
64608
|
+
"type": "",
|
|
64609
|
+
"deprecated": false,
|
|
64610
|
+
"deprecationMessage": ""
|
|
64611
|
+
}
|
|
64612
|
+
],
|
|
64613
|
+
"optional": false,
|
|
64614
|
+
"returnType": "number",
|
|
64615
|
+
"typeParameters": [],
|
|
64616
|
+
"line": 177,
|
|
64218
64617
|
"deprecated": false,
|
|
64219
64618
|
"deprecationMessage": "",
|
|
64220
|
-
"
|
|
64221
|
-
|
|
64222
|
-
|
|
64619
|
+
"jsdoctags": [
|
|
64620
|
+
{
|
|
64621
|
+
"name": "value",
|
|
64622
|
+
"type": "",
|
|
64623
|
+
"deprecated": false,
|
|
64624
|
+
"deprecationMessage": "",
|
|
64625
|
+
"tagName": {
|
|
64626
|
+
"text": "param"
|
|
64627
|
+
}
|
|
64628
|
+
}
|
|
64629
|
+
],
|
|
64223
64630
|
"inheritance": {
|
|
64224
64631
|
"file": "PopoverContainer"
|
|
64225
64632
|
}
|
|
64226
64633
|
},
|
|
64227
64634
|
{
|
|
64228
|
-
"name": "
|
|
64635
|
+
"name": "updateAlignmentClass",
|
|
64636
|
+
"args": [
|
|
64637
|
+
{
|
|
64638
|
+
"name": "newAlignment",
|
|
64639
|
+
"type": "string",
|
|
64640
|
+
"deprecated": false,
|
|
64641
|
+
"deprecationMessage": ""
|
|
64642
|
+
},
|
|
64643
|
+
{
|
|
64644
|
+
"name": "previousAlignment",
|
|
64645
|
+
"type": "string",
|
|
64646
|
+
"deprecated": false,
|
|
64647
|
+
"deprecationMessage": "",
|
|
64648
|
+
"optional": true
|
|
64649
|
+
}
|
|
64650
|
+
],
|
|
64651
|
+
"optional": false,
|
|
64652
|
+
"returnType": "void",
|
|
64653
|
+
"typeParameters": [],
|
|
64654
|
+
"line": 296,
|
|
64229
64655
|
"deprecated": false,
|
|
64230
64656
|
"deprecationMessage": "",
|
|
64231
|
-
"
|
|
64232
|
-
"
|
|
64233
|
-
"
|
|
64657
|
+
"rawdescription": "\n\nReplace existing previous alignment class with new\n",
|
|
64658
|
+
"description": "<p>Replace existing previous alignment class with new</p>\n",
|
|
64659
|
+
"jsdoctags": [
|
|
64660
|
+
{
|
|
64661
|
+
"name": "newAlignment",
|
|
64662
|
+
"type": "string",
|
|
64663
|
+
"deprecated": false,
|
|
64664
|
+
"deprecationMessage": "",
|
|
64665
|
+
"tagName": {
|
|
64666
|
+
"text": "param"
|
|
64667
|
+
}
|
|
64668
|
+
},
|
|
64669
|
+
{
|
|
64670
|
+
"name": {
|
|
64671
|
+
"pos": 8148,
|
|
64672
|
+
"end": 8165,
|
|
64673
|
+
"flags": 8421376,
|
|
64674
|
+
"modifierFlagsCache": 0,
|
|
64675
|
+
"transformFlags": 0,
|
|
64676
|
+
"kind": 79,
|
|
64677
|
+
"escapedText": "previousAlignment"
|
|
64678
|
+
},
|
|
64679
|
+
"type": "string",
|
|
64680
|
+
"deprecated": false,
|
|
64681
|
+
"deprecationMessage": "",
|
|
64682
|
+
"optional": true,
|
|
64683
|
+
"tagName": {
|
|
64684
|
+
"pos": 8142,
|
|
64685
|
+
"end": 8147,
|
|
64686
|
+
"flags": 8421376,
|
|
64687
|
+
"modifierFlagsCache": 0,
|
|
64688
|
+
"transformFlags": 0,
|
|
64689
|
+
"kind": 79,
|
|
64690
|
+
"escapedText": "param"
|
|
64691
|
+
},
|
|
64692
|
+
"comment": ""
|
|
64693
|
+
}
|
|
64694
|
+
],
|
|
64234
64695
|
"inheritance": {
|
|
64235
64696
|
"file": "PopoverContainer"
|
|
64236
64697
|
}
|
|
64237
|
-
}
|
|
64698
|
+
}
|
|
64699
|
+
],
|
|
64700
|
+
"deprecated": false,
|
|
64701
|
+
"deprecationMessage": "",
|
|
64702
|
+
"hostBindings": [
|
|
64238
64703
|
{
|
|
64239
64704
|
"name": "class.cds--popover-container",
|
|
64240
64705
|
"defaultValue": "true",
|
|
64241
64706
|
"deprecated": false,
|
|
64242
64707
|
"deprecationMessage": "",
|
|
64243
|
-
"line":
|
|
64708
|
+
"line": 116,
|
|
64244
64709
|
"type": "boolean",
|
|
64245
64710
|
"decorators": [],
|
|
64246
64711
|
"inheritance": {
|
|
@@ -64264,7 +64729,7 @@
|
|
|
64264
64729
|
],
|
|
64265
64730
|
"deprecated": false,
|
|
64266
64731
|
"deprecationMessage": "",
|
|
64267
|
-
"line":
|
|
64732
|
+
"line": 81
|
|
64268
64733
|
},
|
|
64269
64734
|
{
|
|
64270
64735
|
"name": "mouseleave",
|
|
@@ -64281,7 +64746,7 @@
|
|
|
64281
64746
|
],
|
|
64282
64747
|
"deprecated": false,
|
|
64283
64748
|
"deprecationMessage": "",
|
|
64284
|
-
"line":
|
|
64749
|
+
"line": 89
|
|
64285
64750
|
}
|
|
64286
64751
|
],
|
|
64287
64752
|
"standalone": false,
|
|
@@ -64289,7 +64754,7 @@
|
|
|
64289
64754
|
"description": "<p>Get started with importing the module:</p>\n<div><pre class=\"line-numbers\"><code class=\"language-typescript\">import { TooltipModule } from 'carbon-components-angular';</code></pre></div><p><a href=\"../../?path=/story/components-tooltip-definition--basic\">See demo</a></p>\n",
|
|
64290
64755
|
"rawdescription": "\n\nGet started with importing the module:\n\n```typescript\nimport { TooltipModule } from 'carbon-components-angular';\n```\n\n[See demo](../../?path=/story/components-tooltip-definition--basic)\n",
|
|
64291
64756
|
"type": "component",
|
|
64292
|
-
"sourceCode": "import {\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tHostListener,\n\tInput,\n\tTemplateRef\n} from \"@angular/core\";\nimport { PopoverContainer } from \"carbon-components-angular/popover\";\n\n/**\n * Get started with importing the module:\n *\n * ```typescript\n * import { TooltipModule } from 'carbon-components-angular';\n * ```\n *\n * [See demo](../../?path=/story/components-tooltip-definition--basic)\n */\n@Component({\n\tselector: \"cds-tooltip-definition, ibm-tooltip-definition\",\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<button\n\t\t\tclass=\"cds--definition-term\"\n\t\t\t[attr.aria-controls]=\"id\"\n\t\t\t[attr.aria-expanded]=\"isOpen\"\n\t\t\t(blur)=\"onBlur($event)\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\ttype=\"button\">\n\t\t\t<ng-content></ng-content>\n\t\t</button>\n\t\t<span\n\t\t\t*ngIf=\"description\"\n\t\t\tclass=\"cds--popover\"\n\t\t\t[id]=\"id\"\n\t\t\t[attr.aria-hidden]=\"isOpen\"\n\t\t\trole=\"tooltip\">\n\t\t\t<span class=\"cds--popover-content cds--definition-tooltip\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(description)\">{{description}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(description)\" [ngTemplateOutlet]=\"description\"></ng-template>\n\t\t\t</span>\n\t\t\t<span class=\"cds--popover-caret\"></span>\n\t\t</span>\n\t`\n})\nexport class TooltipDefinition extends PopoverContainer {\n\tstatic tooltipCount = 0;\n\n\t@Input() id = `tooltip-definition-${TooltipDefinition.tooltipCount++}`;\n\n\t/**\n\t *
|
|
64757
|
+
"sourceCode": "import {\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tElementRef,\n\tHostListener,\n\tInput,\n\tNgZone,\n\tRenderer2,\n\tTemplateRef\n} from \"@angular/core\";\nimport { PopoverContainer } from \"carbon-components-angular/popover\";\n\n/**\n * Get started with importing the module:\n *\n * ```typescript\n * import { TooltipModule } from 'carbon-components-angular';\n * ```\n *\n * [See demo](../../?path=/story/components-tooltip-definition--basic)\n */\n@Component({\n\tselector: \"cds-tooltip-definition, ibm-tooltip-definition\",\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<button\n\t\t\tclass=\"cds--definition-term\"\n\t\t\t[attr.aria-controls]=\"id\"\n\t\t\t[attr.aria-expanded]=\"isOpen\"\n\t\t\t(blur)=\"onBlur($event)\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\ttype=\"button\">\n\t\t\t<ng-content></ng-content>\n\t\t</button>\n\t\t<span\n\t\t\t*ngIf=\"description\"\n\t\t\tclass=\"cds--popover\"\n\t\t\t[id]=\"id\"\n\t\t\t[attr.aria-hidden]=\"isOpen\"\n\t\t\trole=\"tooltip\">\n\t\t\t<span class=\"cds--popover-content cds--definition-tooltip\">\n\t\t\t\t<ng-container *ngIf=\"!isTemplate(description)\">{{description}}</ng-container>\n\t\t\t\t<ng-template *ngIf=\"isTemplate(description)\" [ngTemplateOutlet]=\"description\"></ng-template>\n\t\t\t\t<span *ngIf=\"autoAlign\" class=\"cds--popover-caret cds--popover--auto-align\"></span>\n\t\t\t</span>\n\t\t\t<span *ngIf=\"!autoAlign\" class=\"cds--popover-caret\"></span>\n\t\t</span>\n\t`\n})\nexport class TooltipDefinition extends PopoverContainer {\n\tstatic tooltipCount = 0;\n\n\t@Input() id = `tooltip-definition-${TooltipDefinition.tooltipCount++}`;\n\n\t/**\n\t * The string or template content to be exposed by the tooltip.\n\t */\n\t@Input() description: string | TemplateRef<any>;\n\n\tconstructor(\n\t\tprotected elementRef: ElementRef,\n\t\tprotected ngZone: NgZone,\n\t\tprotected renderer: Renderer2,\n\t\tprotected changeDetectorRef: ChangeDetectorRef\n\t) {\n\t\tsuper(elementRef, ngZone, renderer, changeDetectorRef);\n\t\tthis.highContrast = true;\n\t\tthis.dropShadow = false;\n\t}\n\n\tonBlur(event: Event) {\n\t\tthis.handleChange(false, event);\n\t}\n\n\tonClick(event: Event) {\n\t\tthis.handleChange(!this.isOpen, event);\n\t}\n\n\t@HostListener(\"keyup\", [\"$event\"])\n\thostkeys(event: KeyboardEvent) {\n\t\tif (this.isOpen && event.key === \"Escape\") {\n\t\t\tevent.stopPropagation();\n\t\t\tthis.handleChange(false, event);\n\t\t}\n\t}\n\n\t@HostListener(\"mouseleave\", [\"$event\"])\n\tmouseleave(event) {\n\t\tthis.handleChange(false, event);\n\t}\n\n\tpublic isTemplate(value) {\n\t\treturn value instanceof TemplateRef;\n\t}\n}\n",
|
|
64293
64758
|
"assetsDirs": [],
|
|
64294
64759
|
"styleUrlsData": "",
|
|
64295
64760
|
"stylesData": "",
|
|
@@ -64300,16 +64765,61 @@
|
|
|
64300
64765
|
"deprecationMessage": "",
|
|
64301
64766
|
"args": [
|
|
64302
64767
|
{
|
|
64303
|
-
"name": "
|
|
64768
|
+
"name": "elementRef",
|
|
64769
|
+
"type": "ElementRef",
|
|
64770
|
+
"deprecated": false,
|
|
64771
|
+
"deprecationMessage": ""
|
|
64772
|
+
},
|
|
64773
|
+
{
|
|
64774
|
+
"name": "ngZone",
|
|
64775
|
+
"type": "NgZone",
|
|
64776
|
+
"deprecated": false,
|
|
64777
|
+
"deprecationMessage": ""
|
|
64778
|
+
},
|
|
64779
|
+
{
|
|
64780
|
+
"name": "renderer",
|
|
64781
|
+
"type": "Renderer2",
|
|
64782
|
+
"deprecated": false,
|
|
64783
|
+
"deprecationMessage": ""
|
|
64784
|
+
},
|
|
64785
|
+
{
|
|
64786
|
+
"name": "changeDetectorRef",
|
|
64304
64787
|
"type": "ChangeDetectorRef",
|
|
64305
64788
|
"deprecated": false,
|
|
64306
64789
|
"deprecationMessage": ""
|
|
64307
64790
|
}
|
|
64308
64791
|
],
|
|
64309
|
-
"line":
|
|
64792
|
+
"line": 59,
|
|
64310
64793
|
"jsdoctags": [
|
|
64311
64794
|
{
|
|
64312
|
-
"name": "
|
|
64795
|
+
"name": "elementRef",
|
|
64796
|
+
"type": "ElementRef",
|
|
64797
|
+
"deprecated": false,
|
|
64798
|
+
"deprecationMessage": "",
|
|
64799
|
+
"tagName": {
|
|
64800
|
+
"text": "param"
|
|
64801
|
+
}
|
|
64802
|
+
},
|
|
64803
|
+
{
|
|
64804
|
+
"name": "ngZone",
|
|
64805
|
+
"type": "NgZone",
|
|
64806
|
+
"deprecated": false,
|
|
64807
|
+
"deprecationMessage": "",
|
|
64808
|
+
"tagName": {
|
|
64809
|
+
"text": "param"
|
|
64810
|
+
}
|
|
64811
|
+
},
|
|
64812
|
+
{
|
|
64813
|
+
"name": "renderer",
|
|
64814
|
+
"type": "Renderer2",
|
|
64815
|
+
"deprecated": false,
|
|
64816
|
+
"deprecationMessage": "",
|
|
64817
|
+
"tagName": {
|
|
64818
|
+
"text": "param"
|
|
64819
|
+
}
|
|
64820
|
+
},
|
|
64821
|
+
{
|
|
64822
|
+
"name": "changeDetectorRef",
|
|
64313
64823
|
"type": "ChangeDetectorRef",
|
|
64314
64824
|
"deprecated": false,
|
|
64315
64825
|
"deprecationMessage": "",
|
|
@@ -68826,6 +69336,46 @@
|
|
|
68826
69336
|
"type": "object",
|
|
68827
69337
|
"defaultValue": "{\n\tprovide: AnimationFrameServiceSingleton,\n\tdeps: [[new Optional(), new SkipSelf(), AnimationFrameServiceSingleton], NgZone],\n\tuseFactory: ANIMATION_FRAME_SERVICE_SINGLETON_PROVIDER_FACTORY\n}"
|
|
68828
69338
|
},
|
|
69339
|
+
{
|
|
69340
|
+
"name": "AutoAlignTemplate",
|
|
69341
|
+
"ctype": "miscellaneous",
|
|
69342
|
+
"subtype": "variable",
|
|
69343
|
+
"file": "src/popover/popover.stories.ts",
|
|
69344
|
+
"deprecated": false,
|
|
69345
|
+
"deprecationMessage": "",
|
|
69346
|
+
"type": "",
|
|
69347
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"height:3000px\">\n\t\t\tScrolling will update the position of the popover:\n\t\t\t<div style=\"position: absolute; top: 500px; left: 500px;\">\n\t\t\t\t<div\n\t\t\t\t\tcdsPopover\n\t\t\t\t\t[isOpen]=\"isOpen\"\n\t\t\t\t\t[dropShadow]=\"dropShadow\"\n\t\t\t\t\t[align]=\"align\"\n\t\t\t\t\t[caret]=\"caret\"\n\t\t\t\t\t[highContrast]=\"highContrast\"\n\t\t\t\t\t[autoAlign]=\"autoAlign\"\n\t\t\t\t\t(onOpen)=\"onOpen($event)\"\n\t\t\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t\t\t(isOpenChange)=\"isOpenChange($event)\">\n\t\t\t\t\t<div class=\"popover-trigger\">\n\t\t\t\t\t\t<svg preserveAspectRatio=\"xMidYMid meet\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 32 32\">\n\t\t\t\t\t\t\t<path d=\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</div>\n\t\t\t\t\t<cds-popover-content>\n\t\t\t\t\t\t<div style=\"padding: 1rem\">\n\t\t\t\t\t\t\t<p class=\"popover-title\">Available storage</p>\n\t\t\t\t\t\t\t<p class=\"popover-content\">This server has 150GB of block storage remaining</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</cds-popover-content>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t`,\n\tstyles: [`\n\t\t.popover-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t\t.popover-title {\n\t\t\tfont-size: var(--cds-heading-compact-01-font-size);\n\t\t\tfont-weight: var(--cds-heading-compact-01-font-weight);\n\t\t\tline-height: var(--cds-heading-compact-01-line-height);\n\t\t\tmargin-bottom: 0.125rem;\n\t\t}\n\t\t.popover-content {\n\t\t\tfont-size: var(--cds-body-compact-01-font-size);\n\t\t\tfont-weight: var(--cds-body-compact-01-font-weight);\n\t\t\tline-height: var(--cds-body-compact-01-line-height);\n\t\t\tmargin-bottom: 0.125rem;\n\t\t}\n\t`]\n})"
|
|
69348
|
+
},
|
|
69349
|
+
{
|
|
69350
|
+
"name": "AutoAlignTemplate",
|
|
69351
|
+
"ctype": "miscellaneous",
|
|
69352
|
+
"subtype": "variable",
|
|
69353
|
+
"file": "src/toggletip/toggletip.stories.ts",
|
|
69354
|
+
"deprecated": false,
|
|
69355
|
+
"deprecationMessage": "",
|
|
69356
|
+
"type": "",
|
|
69357
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"height:3000px\">\n\t\t\tScrolling will update the position of the popover:\n\t\t\t<div style=\"position: absolute; top: 500px; left: 500px;\">\n\t\t\t<span cdsToggletipLabel>Toggletip label</span>\n\t\t\t\t<cds-toggletip\n\t\t\t\t\t[isOpen]=\"isOpen\"\n\t\t\t\t\t[align]=\"align\"\n\t\t\t\t\t[autoAlign]=\"true\"\n\t\t\t\t\t(isOpenChange)=\"isOpenChange($event)\"\n\t\t\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t\t\t(onOpen)=\"onOpen($event)\">\n\t\t\t\t\t<button cdsToggletipButton>\n\t\t\t\t\t\t<svg preserveAspectRatio=\"xMidYMid meet\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 32 32\">\n\t\t\t\t\t\t\t<path d=\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<div cdsToggletipContent>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\tLorem ipsum dolor sit amet, di os consectetur adipiscing elit, sed\n\t\t\t\t\t\t\tdo eiusmod tempor incididunt ut fsil labore et dolore magna aliqua.\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<div cdsToggletipAction>\n\t\t\t\t\t\t\t<a href=\"#\" cdsLink>Link action</a>\n\t\t\t\t\t\t\t<button cdsButton size=\"sm\">Some button</button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</cds-toggletip>\n\t\t\t</div>\n\t\t</div>\n\t`,\n\tstyles: [`\n\t\t.tooltip-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t\tcursor: pointer;\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t`]\n})"
|
|
69358
|
+
},
|
|
69359
|
+
{
|
|
69360
|
+
"name": "AutoAlignTemplate",
|
|
69361
|
+
"ctype": "miscellaneous",
|
|
69362
|
+
"subtype": "variable",
|
|
69363
|
+
"file": "src/tooltip/definition-tooptip.stories.ts",
|
|
69364
|
+
"deprecated": false,
|
|
69365
|
+
"deprecationMessage": "",
|
|
69366
|
+
"type": "",
|
|
69367
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"height:3000px\">\n\t\t\tScrolling will update the position of the popover:\n\t\t\t<div style=\"position: absolute; top: 500px; left: 500px;\">\n\t\t\t\t<p>Custom domains direct requests for your apps in this Cloud Foundry organization to a\n\t\t\t\t<cds-tooltip-definition\n\t\t\t\t\t[isOpen]=\"isOpen\"\n\t\t\t\t\t[caret]=\"caret\"\n\t\t\t\t\t[align]=\"align\"\n\t\t\t\t\t[autoAlign]=\"true\"\n\t\t\t\t\t(onOpen)=\"onOpen($event)\"\n\t\t\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t\t\t(isOpenChange)=\"isOpenChange($event)\"\n\t\t\t\t\t[description]=\"description\">\n\t\t\t\t\tURL\n\t\t\t\t</cds-tooltip-definition>\n\t\t\t\tthat you own. A custom domain can be a shared domain, a shared subdomain, or a shared domain and host.</p>\n\t\t\t</div>\n\t\t</div>\n\t`,\n\tstyles: [`\n\t\t.tooltip-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t\tcursor: pointer;\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t`]\n})"
|
|
69368
|
+
},
|
|
69369
|
+
{
|
|
69370
|
+
"name": "AutoAlignTemplate",
|
|
69371
|
+
"ctype": "miscellaneous",
|
|
69372
|
+
"subtype": "variable",
|
|
69373
|
+
"file": "src/tooltip/tooltip.stories.ts",
|
|
69374
|
+
"deprecated": false,
|
|
69375
|
+
"deprecationMessage": "",
|
|
69376
|
+
"type": "",
|
|
69377
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"height:3000px\">\n\t\t\tScrolling will update the position of the popover:\n\t\t\t<div style=\"position: absolute; top: 500px; left: 500px;\">\n\t\t\t\t<cds-tooltip\n\t\t\t\t\t[isOpen]=\"isOpen\"\n\t\t\t\t\t[caret]=\"caret\"\n\t\t\t\t\t[align]=\"align\"\n\t\t\t\t\t[autoAlign]=\"true\"\n\t\t\t\t\t(onOpen)=\"onOpen($event)\"\n\t\t\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t\t\t(isOpenChange)=\"isOpenChange($event)\"\n\t\t\t\t\t[description]=\"description\">\n\t\t\t\t\t<button type=\"button\" class=\"tooltip-trigger\">\n\t\t\t\t\t\t<svg preserveAspectRatio=\"xMidYMid meet\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 32 32\">\n\t\t\t\t\t\t\t<path d=\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</button>\n\t\t\t\t</cds-tooltip>\n\t\t\t</div>\n\t\t</div>\n\t`,\n\tstyles: [`\n\t\t.tooltip-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t\tcursor: pointer;\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t`]\n})"
|
|
69378
|
+
},
|
|
68829
69379
|
{
|
|
68830
69380
|
"name": "basic",
|
|
68831
69381
|
"ctype": "miscellaneous",
|
|
@@ -72006,7 +72556,7 @@
|
|
|
72006
72556
|
"deprecated": false,
|
|
72007
72557
|
"deprecationMessage": "",
|
|
72008
72558
|
"type": "",
|
|
72009
|
-
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<p>Custom domains direct requests for your apps in this Cloud Foundry organization to a\n\t\t<cds-tooltip-definition\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[caret]=\"caret\"\n\t\t\t[align]=\"align\"\n\t\t\t(onOpen)=\"onOpen($event)\"\n\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t(isOpenChange)=\"isOpenChange($event)\"\n\t\t\t[description]=\"description\">\n\t\t\tURL\n\t\t</cds-tooltip-definition>\n\t\tthat you own. A custom domain can be a shared domain, a shared subdomain, or a shared domain and host.</p>\n\t`,\n\tstyles: [`\n\t\t.tooltip-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t\tcursor: pointer;\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t`]\n})"
|
|
72559
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"height:3000px\">\n\t\t\tScrolling will update the position of the popover:\n\t\t\t<div style=\"position: absolute; top: 500px; left: 500px;\">\n\t\t\t\t<p>Custom domains direct requests for your apps in this Cloud Foundry organization to a\n\t\t\t\t<cds-tooltip-definition\n\t\t\t\t\t[isOpen]=\"isOpen\"\n\t\t\t\t\t[caret]=\"caret\"\n\t\t\t\t\t[align]=\"align\"\n\t\t\t\t\t(onOpen)=\"onOpen($event)\"\n\t\t\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t\t\t(isOpenChange)=\"isOpenChange($event)\"\n\t\t\t\t\t[description]=\"description\">\n\t\t\t\t\tURL\n\t\t\t\t</cds-tooltip-definition>\n\t\t\t\tthat you own. A custom domain can be a shared domain, a shared subdomain, or a shared domain and host.</p>\n\t\t\t</div>\n\t\t</div>\n\t`,\n\tstyles: [`\n\t\t.tooltip-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t\tcursor: pointer;\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t`]\n})"
|
|
72010
72560
|
},
|
|
72011
72561
|
{
|
|
72012
72562
|
"name": "Template",
|
|
@@ -72290,6 +72840,46 @@
|
|
|
72290
72840
|
"type": "",
|
|
72291
72841
|
"defaultValue": "() => ({\n\ttemplate: `\n\t\t<ng-template #action let-item>\n\t\t\t<button\n\t\t\t\tibmButton=\"ghost\"\n\t\t\t\taria-label=\"Action\"\n\t\t\t\ticonOnly=\"true\">\n\t\t\t\t<svg ibmIcon=\"subtract--alt\" size=\"16\" class=\"cds--btn__icon\"></svg>\n\t\t\t</button>\n\t\t</ng-template>\n\t\t<cds-contained-list label=\"List title\">\n\t\t\t<cds-contained-list-item [action]=\"action\">List item</cds-contained-list-item>\n\t\t\t<cds-contained-list-item [action]=\"action\">List item</cds-contained-list-item>\n\t\t\t<cds-contained-list-item [action]=\"action\">List item</cds-contained-list-item>\n\t\t\t<cds-contained-list-item [action]=\"action\">List item</cds-contained-list-item>\n\t\t</cds-contained-list>\n\t`\n})"
|
|
72292
72842
|
},
|
|
72843
|
+
{
|
|
72844
|
+
"name": "WithAutoAlign",
|
|
72845
|
+
"ctype": "miscellaneous",
|
|
72846
|
+
"subtype": "variable",
|
|
72847
|
+
"file": "src/popover/popover.stories.ts",
|
|
72848
|
+
"deprecated": false,
|
|
72849
|
+
"deprecationMessage": "",
|
|
72850
|
+
"type": "",
|
|
72851
|
+
"defaultValue": "AutoAlignTemplate.bind({})"
|
|
72852
|
+
},
|
|
72853
|
+
{
|
|
72854
|
+
"name": "WithAutoAlign",
|
|
72855
|
+
"ctype": "miscellaneous",
|
|
72856
|
+
"subtype": "variable",
|
|
72857
|
+
"file": "src/toggletip/toggletip.stories.ts",
|
|
72858
|
+
"deprecated": false,
|
|
72859
|
+
"deprecationMessage": "",
|
|
72860
|
+
"type": "",
|
|
72861
|
+
"defaultValue": "AutoAlignTemplate.bind({})"
|
|
72862
|
+
},
|
|
72863
|
+
{
|
|
72864
|
+
"name": "WithAutoAlign",
|
|
72865
|
+
"ctype": "miscellaneous",
|
|
72866
|
+
"subtype": "variable",
|
|
72867
|
+
"file": "src/tooltip/definition-tooptip.stories.ts",
|
|
72868
|
+
"deprecated": false,
|
|
72869
|
+
"deprecationMessage": "",
|
|
72870
|
+
"type": "",
|
|
72871
|
+
"defaultValue": "AutoAlignTemplate.bind({})"
|
|
72872
|
+
},
|
|
72873
|
+
{
|
|
72874
|
+
"name": "WithAutoAlign",
|
|
72875
|
+
"ctype": "miscellaneous",
|
|
72876
|
+
"subtype": "variable",
|
|
72877
|
+
"file": "src/tooltip/tooltip.stories.ts",
|
|
72878
|
+
"deprecated": false,
|
|
72879
|
+
"deprecationMessage": "",
|
|
72880
|
+
"type": "",
|
|
72881
|
+
"defaultValue": "AutoAlignTemplate.bind({})"
|
|
72882
|
+
},
|
|
72293
72883
|
{
|
|
72294
72884
|
"name": "WithDataTable",
|
|
72295
72885
|
"ctype": "miscellaneous",
|
|
@@ -73883,6 +74473,17 @@
|
|
|
73883
74473
|
"description": "",
|
|
73884
74474
|
"kind": 189
|
|
73885
74475
|
},
|
|
74476
|
+
{
|
|
74477
|
+
"name": "oldPlacement",
|
|
74478
|
+
"ctype": "miscellaneous",
|
|
74479
|
+
"subtype": "typealias",
|
|
74480
|
+
"rawtype": "\"top-left\" | \"top-right\" | \"bottom-left\" | \"bottom-right\" | \"left-bottom\" | \"left-top\" | \"right-bottom\" | \"right-top\"",
|
|
74481
|
+
"file": "src/popover/popover.directive.ts",
|
|
74482
|
+
"deprecated": false,
|
|
74483
|
+
"deprecationMessage": "",
|
|
74484
|
+
"description": "",
|
|
74485
|
+
"kind": 189
|
|
74486
|
+
},
|
|
73886
74487
|
{
|
|
73887
74488
|
"name": "SortType",
|
|
73888
74489
|
"ctype": "miscellaneous",
|
|
@@ -74777,6 +75378,194 @@
|
|
|
74777
75378
|
"defaultValue": "{\n\tprovide: DocumentService,\n\tdeps: [[new Optional(), new SkipSelf(), DocumentService]],\n\tuseFactory: DOCUMENT_SERVICE_PROVIDER_FACTORY\n}"
|
|
74778
75379
|
}
|
|
74779
75380
|
],
|
|
75381
|
+
"src/popover/popover.stories.ts": [
|
|
75382
|
+
{
|
|
75383
|
+
"name": "AutoAlignTemplate",
|
|
75384
|
+
"ctype": "miscellaneous",
|
|
75385
|
+
"subtype": "variable",
|
|
75386
|
+
"file": "src/popover/popover.stories.ts",
|
|
75387
|
+
"deprecated": false,
|
|
75388
|
+
"deprecationMessage": "",
|
|
75389
|
+
"type": "",
|
|
75390
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"height:3000px\">\n\t\t\tScrolling will update the position of the popover:\n\t\t\t<div style=\"position: absolute; top: 500px; left: 500px;\">\n\t\t\t\t<div\n\t\t\t\t\tcdsPopover\n\t\t\t\t\t[isOpen]=\"isOpen\"\n\t\t\t\t\t[dropShadow]=\"dropShadow\"\n\t\t\t\t\t[align]=\"align\"\n\t\t\t\t\t[caret]=\"caret\"\n\t\t\t\t\t[highContrast]=\"highContrast\"\n\t\t\t\t\t[autoAlign]=\"autoAlign\"\n\t\t\t\t\t(onOpen)=\"onOpen($event)\"\n\t\t\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t\t\t(isOpenChange)=\"isOpenChange($event)\">\n\t\t\t\t\t<div class=\"popover-trigger\">\n\t\t\t\t\t\t<svg preserveAspectRatio=\"xMidYMid meet\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 32 32\">\n\t\t\t\t\t\t\t<path d=\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</div>\n\t\t\t\t\t<cds-popover-content>\n\t\t\t\t\t\t<div style=\"padding: 1rem\">\n\t\t\t\t\t\t\t<p class=\"popover-title\">Available storage</p>\n\t\t\t\t\t\t\t<p class=\"popover-content\">This server has 150GB of block storage remaining</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</cds-popover-content>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t`,\n\tstyles: [`\n\t\t.popover-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t\t.popover-title {\n\t\t\tfont-size: var(--cds-heading-compact-01-font-size);\n\t\t\tfont-weight: var(--cds-heading-compact-01-font-weight);\n\t\t\tline-height: var(--cds-heading-compact-01-line-height);\n\t\t\tmargin-bottom: 0.125rem;\n\t\t}\n\t\t.popover-content {\n\t\t\tfont-size: var(--cds-body-compact-01-font-size);\n\t\t\tfont-weight: var(--cds-body-compact-01-font-weight);\n\t\t\tline-height: var(--cds-body-compact-01-line-height);\n\t\t\tmargin-bottom: 0.125rem;\n\t\t}\n\t`]\n})"
|
|
75391
|
+
},
|
|
75392
|
+
{
|
|
75393
|
+
"name": "Basic",
|
|
75394
|
+
"ctype": "miscellaneous",
|
|
75395
|
+
"subtype": "variable",
|
|
75396
|
+
"file": "src/popover/popover.stories.ts",
|
|
75397
|
+
"deprecated": false,
|
|
75398
|
+
"deprecationMessage": "",
|
|
75399
|
+
"type": "",
|
|
75400
|
+
"defaultValue": "Template.bind({})"
|
|
75401
|
+
},
|
|
75402
|
+
{
|
|
75403
|
+
"name": "Template",
|
|
75404
|
+
"ctype": "miscellaneous",
|
|
75405
|
+
"subtype": "variable",
|
|
75406
|
+
"file": "src/popover/popover.stories.ts",
|
|
75407
|
+
"deprecated": false,
|
|
75408
|
+
"deprecationMessage": "",
|
|
75409
|
+
"type": "",
|
|
75410
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div\n\t\t\tcdsPopover\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[dropShadow]=\"dropShadow\"\n\t\t\t[align]=\"align\"\n\t\t\t[caret]=\"caret\"\n\t\t\t[highContrast]=\"highContrast\"\n\t\t\t(onOpen)=\"onOpen($event)\"\n\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t(isOpenChange)=\"isOpenChange($event)\">\n\t\t\t<div class=\"popover-trigger\">\n\t\t\t\t<svg preserveAspectRatio=\"xMidYMid meet\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 32 32\">\n\t\t\t\t\t<path d=\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\"></path>\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t\t<cds-popover-content>\n\t\t\t\t<div style=\"padding: 1rem\">\n\t\t\t\t\t<p class=\"popover-title\">Available storage</p>\n\t\t\t\t\t<p class=\"popover-content\">This server has 150GB of block storage remaining</p>\n\t\t\t\t</div>\n\t\t\t</cds-popover-content>\n\t\t</div>\n\t`,\n\tstyles: [`\n\t\t.popover-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t\t.popover-title {\n\t\t\tfont-size: var(--cds-heading-compact-01-font-size);\n\t\t\tfont-weight: var(--cds-heading-compact-01-font-weight);\n\t\t\tline-height: var(--cds-heading-compact-01-line-height);\n\t\t\tmargin-bottom: 0.125rem;\n\t\t}\n\t\t.popover-content {\n\t\t\tfont-size: var(--cds-body-compact-01-font-size);\n\t\t\tfont-weight: var(--cds-body-compact-01-font-weight);\n\t\t\tline-height: var(--cds-body-compact-01-line-height);\n\t\t\tmargin-bottom: 0.125rem;\n\t\t}\n\t`]\n})"
|
|
75411
|
+
},
|
|
75412
|
+
{
|
|
75413
|
+
"name": "WithAutoAlign",
|
|
75414
|
+
"ctype": "miscellaneous",
|
|
75415
|
+
"subtype": "variable",
|
|
75416
|
+
"file": "src/popover/popover.stories.ts",
|
|
75417
|
+
"deprecated": false,
|
|
75418
|
+
"deprecationMessage": "",
|
|
75419
|
+
"type": "",
|
|
75420
|
+
"defaultValue": "AutoAlignTemplate.bind({})"
|
|
75421
|
+
}
|
|
75422
|
+
],
|
|
75423
|
+
"src/toggletip/toggletip.stories.ts": [
|
|
75424
|
+
{
|
|
75425
|
+
"name": "AutoAlignTemplate",
|
|
75426
|
+
"ctype": "miscellaneous",
|
|
75427
|
+
"subtype": "variable",
|
|
75428
|
+
"file": "src/toggletip/toggletip.stories.ts",
|
|
75429
|
+
"deprecated": false,
|
|
75430
|
+
"deprecationMessage": "",
|
|
75431
|
+
"type": "",
|
|
75432
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"height:3000px\">\n\t\t\tScrolling will update the position of the popover:\n\t\t\t<div style=\"position: absolute; top: 500px; left: 500px;\">\n\t\t\t<span cdsToggletipLabel>Toggletip label</span>\n\t\t\t\t<cds-toggletip\n\t\t\t\t\t[isOpen]=\"isOpen\"\n\t\t\t\t\t[align]=\"align\"\n\t\t\t\t\t[autoAlign]=\"true\"\n\t\t\t\t\t(isOpenChange)=\"isOpenChange($event)\"\n\t\t\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t\t\t(onOpen)=\"onOpen($event)\">\n\t\t\t\t\t<button cdsToggletipButton>\n\t\t\t\t\t\t<svg preserveAspectRatio=\"xMidYMid meet\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 32 32\">\n\t\t\t\t\t\t\t<path d=\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</button>\n\t\t\t\t\t<div cdsToggletipContent>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\tLorem ipsum dolor sit amet, di os consectetur adipiscing elit, sed\n\t\t\t\t\t\t\tdo eiusmod tempor incididunt ut fsil labore et dolore magna aliqua.\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<div cdsToggletipAction>\n\t\t\t\t\t\t\t<a href=\"#\" cdsLink>Link action</a>\n\t\t\t\t\t\t\t<button cdsButton size=\"sm\">Some button</button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</cds-toggletip>\n\t\t\t</div>\n\t\t</div>\n\t`,\n\tstyles: [`\n\t\t.tooltip-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t\tcursor: pointer;\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t`]\n})"
|
|
75433
|
+
},
|
|
75434
|
+
{
|
|
75435
|
+
"name": "Basic",
|
|
75436
|
+
"ctype": "miscellaneous",
|
|
75437
|
+
"subtype": "variable",
|
|
75438
|
+
"file": "src/toggletip/toggletip.stories.ts",
|
|
75439
|
+
"deprecated": false,
|
|
75440
|
+
"deprecationMessage": "",
|
|
75441
|
+
"type": "",
|
|
75442
|
+
"defaultValue": "Template.bind({})"
|
|
75443
|
+
},
|
|
75444
|
+
{
|
|
75445
|
+
"name": "Template",
|
|
75446
|
+
"ctype": "miscellaneous",
|
|
75447
|
+
"subtype": "variable",
|
|
75448
|
+
"file": "src/toggletip/toggletip.stories.ts",
|
|
75449
|
+
"deprecated": false,
|
|
75450
|
+
"deprecationMessage": "",
|
|
75451
|
+
"type": "",
|
|
75452
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<span cdsToggletipLabel>Toggletip label</span>\n\t\t<cds-toggletip\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[align]=\"align\"\n\t\t\t(isOpenChange)=\"isOpenChange($event)\"\n\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t(onOpen)=\"onOpen($event)\">\n\t\t\t<button cdsToggletipButton>\n\t\t\t\t<svg preserveAspectRatio=\"xMidYMid meet\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 32 32\">\n\t\t\t\t\t<path d=\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\"></path>\n\t\t\t\t</svg>\n\t\t\t</button>\n\t\t\t<div cdsToggletipContent>\n\t\t\t\t<p>\n\t\t\t\t\tLorem ipsum dolor sit amet, di os consectetur adipiscing elit, sed\n\t\t\t\t\tdo eiusmod tempor incididunt ut fsil labore et dolore magna aliqua.\n\t\t\t\t</p>\n\t\t\t\t<div cdsToggletipAction>\n\t\t\t\t\t<a href=\"#\" cdsLink>Link action</a>\n\t\t\t\t\t<button cdsButton size=\"sm\">Some button</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</cds-toggletip>\n\t`,\n\tstyles: [`\n\t\t.tooltip-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t\tcursor: pointer;\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t`]\n})"
|
|
75453
|
+
},
|
|
75454
|
+
{
|
|
75455
|
+
"name": "WithAutoAlign",
|
|
75456
|
+
"ctype": "miscellaneous",
|
|
75457
|
+
"subtype": "variable",
|
|
75458
|
+
"file": "src/toggletip/toggletip.stories.ts",
|
|
75459
|
+
"deprecated": false,
|
|
75460
|
+
"deprecationMessage": "",
|
|
75461
|
+
"type": "",
|
|
75462
|
+
"defaultValue": "AutoAlignTemplate.bind({})"
|
|
75463
|
+
}
|
|
75464
|
+
],
|
|
75465
|
+
"src/tooltip/definition-tooptip.stories.ts": [
|
|
75466
|
+
{
|
|
75467
|
+
"name": "AutoAlignTemplate",
|
|
75468
|
+
"ctype": "miscellaneous",
|
|
75469
|
+
"subtype": "variable",
|
|
75470
|
+
"file": "src/tooltip/definition-tooptip.stories.ts",
|
|
75471
|
+
"deprecated": false,
|
|
75472
|
+
"deprecationMessage": "",
|
|
75473
|
+
"type": "",
|
|
75474
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"height:3000px\">\n\t\t\tScrolling will update the position of the popover:\n\t\t\t<div style=\"position: absolute; top: 500px; left: 500px;\">\n\t\t\t\t<p>Custom domains direct requests for your apps in this Cloud Foundry organization to a\n\t\t\t\t<cds-tooltip-definition\n\t\t\t\t\t[isOpen]=\"isOpen\"\n\t\t\t\t\t[caret]=\"caret\"\n\t\t\t\t\t[align]=\"align\"\n\t\t\t\t\t[autoAlign]=\"true\"\n\t\t\t\t\t(onOpen)=\"onOpen($event)\"\n\t\t\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t\t\t(isOpenChange)=\"isOpenChange($event)\"\n\t\t\t\t\t[description]=\"description\">\n\t\t\t\t\tURL\n\t\t\t\t</cds-tooltip-definition>\n\t\t\t\tthat you own. A custom domain can be a shared domain, a shared subdomain, or a shared domain and host.</p>\n\t\t\t</div>\n\t\t</div>\n\t`,\n\tstyles: [`\n\t\t.tooltip-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t\tcursor: pointer;\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t`]\n})"
|
|
75475
|
+
},
|
|
75476
|
+
{
|
|
75477
|
+
"name": "Basic",
|
|
75478
|
+
"ctype": "miscellaneous",
|
|
75479
|
+
"subtype": "variable",
|
|
75480
|
+
"file": "src/tooltip/definition-tooptip.stories.ts",
|
|
75481
|
+
"deprecated": false,
|
|
75482
|
+
"deprecationMessage": "",
|
|
75483
|
+
"type": "",
|
|
75484
|
+
"defaultValue": "Template.bind({})"
|
|
75485
|
+
},
|
|
75486
|
+
{
|
|
75487
|
+
"name": "Template",
|
|
75488
|
+
"ctype": "miscellaneous",
|
|
75489
|
+
"subtype": "variable",
|
|
75490
|
+
"file": "src/tooltip/definition-tooptip.stories.ts",
|
|
75491
|
+
"deprecated": false,
|
|
75492
|
+
"deprecationMessage": "",
|
|
75493
|
+
"type": "",
|
|
75494
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"height:3000px\">\n\t\t\tScrolling will update the position of the popover:\n\t\t\t<div style=\"position: absolute; top: 500px; left: 500px;\">\n\t\t\t\t<p>Custom domains direct requests for your apps in this Cloud Foundry organization to a\n\t\t\t\t<cds-tooltip-definition\n\t\t\t\t\t[isOpen]=\"isOpen\"\n\t\t\t\t\t[caret]=\"caret\"\n\t\t\t\t\t[align]=\"align\"\n\t\t\t\t\t(onOpen)=\"onOpen($event)\"\n\t\t\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t\t\t(isOpenChange)=\"isOpenChange($event)\"\n\t\t\t\t\t[description]=\"description\">\n\t\t\t\t\tURL\n\t\t\t\t</cds-tooltip-definition>\n\t\t\t\tthat you own. A custom domain can be a shared domain, a shared subdomain, or a shared domain and host.</p>\n\t\t\t</div>\n\t\t</div>\n\t`,\n\tstyles: [`\n\t\t.tooltip-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t\tcursor: pointer;\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t`]\n})"
|
|
75495
|
+
},
|
|
75496
|
+
{
|
|
75497
|
+
"name": "WithAutoAlign",
|
|
75498
|
+
"ctype": "miscellaneous",
|
|
75499
|
+
"subtype": "variable",
|
|
75500
|
+
"file": "src/tooltip/definition-tooptip.stories.ts",
|
|
75501
|
+
"deprecated": false,
|
|
75502
|
+
"deprecationMessage": "",
|
|
75503
|
+
"type": "",
|
|
75504
|
+
"defaultValue": "AutoAlignTemplate.bind({})"
|
|
75505
|
+
}
|
|
75506
|
+
],
|
|
75507
|
+
"src/tooltip/tooltip.stories.ts": [
|
|
75508
|
+
{
|
|
75509
|
+
"name": "AutoAlignTemplate",
|
|
75510
|
+
"ctype": "miscellaneous",
|
|
75511
|
+
"subtype": "variable",
|
|
75512
|
+
"file": "src/tooltip/tooltip.stories.ts",
|
|
75513
|
+
"deprecated": false,
|
|
75514
|
+
"deprecationMessage": "",
|
|
75515
|
+
"type": "",
|
|
75516
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"height:3000px\">\n\t\t\tScrolling will update the position of the popover:\n\t\t\t<div style=\"position: absolute; top: 500px; left: 500px;\">\n\t\t\t\t<cds-tooltip\n\t\t\t\t\t[isOpen]=\"isOpen\"\n\t\t\t\t\t[caret]=\"caret\"\n\t\t\t\t\t[align]=\"align\"\n\t\t\t\t\t[autoAlign]=\"true\"\n\t\t\t\t\t(onOpen)=\"onOpen($event)\"\n\t\t\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t\t\t(isOpenChange)=\"isOpenChange($event)\"\n\t\t\t\t\t[description]=\"description\">\n\t\t\t\t\t<button type=\"button\" class=\"tooltip-trigger\">\n\t\t\t\t\t\t<svg preserveAspectRatio=\"xMidYMid meet\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 32 32\">\n\t\t\t\t\t\t\t<path d=\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\"></path>\n\t\t\t\t\t\t</svg>\n\t\t\t\t\t</button>\n\t\t\t\t</cds-tooltip>\n\t\t\t</div>\n\t\t</div>\n\t`,\n\tstyles: [`\n\t\t.tooltip-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t\tcursor: pointer;\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t`]\n})"
|
|
75517
|
+
},
|
|
75518
|
+
{
|
|
75519
|
+
"name": "Basic",
|
|
75520
|
+
"ctype": "miscellaneous",
|
|
75521
|
+
"subtype": "variable",
|
|
75522
|
+
"file": "src/tooltip/tooltip.stories.ts",
|
|
75523
|
+
"deprecated": false,
|
|
75524
|
+
"deprecationMessage": "",
|
|
75525
|
+
"type": "",
|
|
75526
|
+
"defaultValue": "Template.bind({})"
|
|
75527
|
+
},
|
|
75528
|
+
{
|
|
75529
|
+
"name": "Ellipses",
|
|
75530
|
+
"ctype": "miscellaneous",
|
|
75531
|
+
"subtype": "variable",
|
|
75532
|
+
"file": "src/tooltip/tooltip.stories.ts",
|
|
75533
|
+
"deprecated": false,
|
|
75534
|
+
"deprecationMessage": "",
|
|
75535
|
+
"type": "",
|
|
75536
|
+
"defaultValue": "EllipsesTemplate.bind({})"
|
|
75537
|
+
},
|
|
75538
|
+
{
|
|
75539
|
+
"name": "EllipsesTemplate",
|
|
75540
|
+
"ctype": "miscellaneous",
|
|
75541
|
+
"subtype": "variable",
|
|
75542
|
+
"file": "src/tooltip/tooltip.stories.ts",
|
|
75543
|
+
"deprecated": false,
|
|
75544
|
+
"deprecationMessage": "",
|
|
75545
|
+
"type": "",
|
|
75546
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tooltip\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[caret]=\"caret\"\n\t\t\t[align]=\"align\"\n\t\t\tdescription=\"Tooltip for ellipsis because I can and I am really really long\">\n\t\t\t<span class=\"overflowText\">\n\t\t\t\tTooltip for ellipsis because I can and I am really really long\n\t\t\t</span>\n\t\t</cds-tooltip>\n\t`,\n\tstyles: [`\n\t\t.overflowText {\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\twidth: 100px;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t`]\n})"
|
|
75547
|
+
},
|
|
75548
|
+
{
|
|
75549
|
+
"name": "Template",
|
|
75550
|
+
"ctype": "miscellaneous",
|
|
75551
|
+
"subtype": "variable",
|
|
75552
|
+
"file": "src/tooltip/tooltip.stories.ts",
|
|
75553
|
+
"deprecated": false,
|
|
75554
|
+
"deprecationMessage": "",
|
|
75555
|
+
"type": "",
|
|
75556
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tooltip\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[caret]=\"caret\"\n\t\t\t[align]=\"align\"\n\t\t\t(onOpen)=\"onOpen($event)\"\n\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t(isOpenChange)=\"isOpenChange($event)\"\n\t\t\t[description]=\"description\">\n\t\t\t<button type=\"button\" class=\"tooltip-trigger\">\n\t\t\t\t<svg preserveAspectRatio=\"xMidYMid meet\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 32 32\">\n\t\t\t\t\t<path d=\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\"></path>\n\t\t\t\t</svg>\n\t\t\t</button>\n\t\t</cds-tooltip>\n\t`,\n\tstyles: [`\n\t\t.tooltip-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t\tcursor: pointer;\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t`]\n})"
|
|
75557
|
+
},
|
|
75558
|
+
{
|
|
75559
|
+
"name": "WithAutoAlign",
|
|
75560
|
+
"ctype": "miscellaneous",
|
|
75561
|
+
"subtype": "variable",
|
|
75562
|
+
"file": "src/tooltip/tooltip.stories.ts",
|
|
75563
|
+
"deprecated": false,
|
|
75564
|
+
"deprecationMessage": "",
|
|
75565
|
+
"type": "",
|
|
75566
|
+
"defaultValue": "AutoAlignTemplate.bind({})"
|
|
75567
|
+
}
|
|
75568
|
+
],
|
|
74780
75569
|
"src/contained-list/contained-list.stories.ts": [
|
|
74781
75570
|
{
|
|
74782
75571
|
"name": "basic",
|
|
@@ -76492,28 +77281,6 @@
|
|
|
76492
77281
|
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<!--\n\t\tapp-* components are for demo purposes only.\n\t\tYou can create your own implementation by using the component source found at:\n\t\thttps://github.com/IBM/carbon-components-angular/tree/master/src/pagination/stories/pagination.component.ts\n\t\t-->\n\t\t<app-pagination\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[pageInputDisabled]=\"pageInputDisabled\"\n\t\t\t[pagesUnknown]=\"pagesUnknown\"\n\t\t\t[totalDataLength]=\"totalDataLength\"\n\t\t\t[showPageInput]=\"showPageInput\"\n\t\t\t[skeleton]=\"skeleton\">\n\t\t</app-pagination>\n\t`\n})"
|
|
76493
77282
|
}
|
|
76494
77283
|
],
|
|
76495
|
-
"src/popover/popover.stories.ts": [
|
|
76496
|
-
{
|
|
76497
|
-
"name": "Basic",
|
|
76498
|
-
"ctype": "miscellaneous",
|
|
76499
|
-
"subtype": "variable",
|
|
76500
|
-
"file": "src/popover/popover.stories.ts",
|
|
76501
|
-
"deprecated": false,
|
|
76502
|
-
"deprecationMessage": "",
|
|
76503
|
-
"type": "",
|
|
76504
|
-
"defaultValue": "Template.bind({})"
|
|
76505
|
-
},
|
|
76506
|
-
{
|
|
76507
|
-
"name": "Template",
|
|
76508
|
-
"ctype": "miscellaneous",
|
|
76509
|
-
"subtype": "variable",
|
|
76510
|
-
"file": "src/popover/popover.stories.ts",
|
|
76511
|
-
"deprecated": false,
|
|
76512
|
-
"deprecationMessage": "",
|
|
76513
|
-
"type": "",
|
|
76514
|
-
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div\n\t\t\tcdsPopover\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[dropShadow]=\"dropShadow\"\n\t\t\t[align]=\"align\"\n\t\t\t[caret]=\"caret\"\n\t\t\t[highContrast]=\"highContrast\"\n\t\t\t(onOpen)=\"onOpen($event)\"\n\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t(isOpenChange)=\"isOpenChange($event)\">\n\t\t\t<div class=\"popover-trigger\">\n\t\t\t\t<svg preserveAspectRatio=\"xMidYMid meet\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 32 32\">\n\t\t\t\t\t<path d=\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\"></path>\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t\t<cds-popover-content>\n\t\t\t\t<div style=\"padding: 1rem\">\n\t\t\t\t\t<p class=\"popover-title\">Available storage</p>\n\t\t\t\t\t<p class=\"popover-content\">This server has 150GB of block storage remaining</p>\n\t\t\t\t</div>\n\t\t\t</cds-popover-content>\n\t\t</div>\n\t`,\n\tstyles: [`\n\t\t.popover-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t\t.popover-title {\n\t\t\tfont-size: var(--cds-heading-compact-01-font-size);\n\t\t\tfont-weight: var(--cds-heading-compact-01-font-weight);\n\t\t\tline-height: var(--cds-heading-compact-01-line-height);\n\t\t\tmargin-bottom: 0.125rem;\n\t\t}\n\t\t.popover-content {\n\t\t\tfont-size: var(--cds-body-compact-01-font-size);\n\t\t\tfont-weight: var(--cds-body-compact-01-font-weight);\n\t\t\tline-height: var(--cds-body-compact-01-line-height);\n\t\t\tmargin-bottom: 0.125rem;\n\t\t}\n\t`]\n})"
|
|
76515
|
-
}
|
|
76516
|
-
],
|
|
76517
77284
|
"src/progress-bar/progress-bar.stories.ts": [
|
|
76518
77285
|
{
|
|
76519
77286
|
"name": "Basic",
|
|
@@ -77600,92 +78367,6 @@
|
|
|
77600
78367
|
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-toggle\n\t\t\t[skeleton]=\"skeleton\"\n\t\t\t[label]=\"label\"\n\t\t\t[hideLabel]=\"hideLabel\"\n\t\t\t[onText]=\"onText\"\n\t\t\t[offText]=\"offText\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[checked]=\"checked\"\n\t\t\t(checkedChange)=\"onChange($event)\"\n\t\t\t[size]=\"size\">\n\t\t</cds-toggle>\n\t`\n})"
|
|
77601
78368
|
}
|
|
77602
78369
|
],
|
|
77603
|
-
"src/toggletip/toggletip.stories.ts": [
|
|
77604
|
-
{
|
|
77605
|
-
"name": "Basic",
|
|
77606
|
-
"ctype": "miscellaneous",
|
|
77607
|
-
"subtype": "variable",
|
|
77608
|
-
"file": "src/toggletip/toggletip.stories.ts",
|
|
77609
|
-
"deprecated": false,
|
|
77610
|
-
"deprecationMessage": "",
|
|
77611
|
-
"type": "",
|
|
77612
|
-
"defaultValue": "Template.bind({})"
|
|
77613
|
-
},
|
|
77614
|
-
{
|
|
77615
|
-
"name": "Template",
|
|
77616
|
-
"ctype": "miscellaneous",
|
|
77617
|
-
"subtype": "variable",
|
|
77618
|
-
"file": "src/toggletip/toggletip.stories.ts",
|
|
77619
|
-
"deprecated": false,
|
|
77620
|
-
"deprecationMessage": "",
|
|
77621
|
-
"type": "",
|
|
77622
|
-
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<span cdsToggletipLabel>Toggletip label</span>\n\t\t<cds-toggletip\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[align]=\"align\"\n\t\t\t(isOpenChange)=\"isOpenChange($event)\"\n\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t(onOpen)=\"onOpen($event)\">\n\t\t\t<button cdsToggletipButton>\n\t\t\t\t<svg preserveAspectRatio=\"xMidYMid meet\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 32 32\">\n\t\t\t\t\t<path d=\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\"></path>\n\t\t\t\t</svg>\n\t\t\t</button>\n\t\t\t<div cdsToggletipContent>\n\t\t\t\t<p>\n\t\t\t\t\tLorem ipsum dolor sit amet, di os consectetur adipiscing elit, sed\n\t\t\t\t\tdo eiusmod tempor incididunt ut fsil labore et dolore magna aliqua.\n\t\t\t\t</p>\n\t\t\t\t<div cdsToggletipAction>\n\t\t\t\t\t<a href=\"#\" cdsLink>Link action</a>\n\t\t\t\t\t<button cdsButton size=\"sm\">Some button</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</cds-toggletip>\n\t`,\n\tstyles: [`\n\t\t.tooltip-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t\tcursor: pointer;\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t`]\n})"
|
|
77623
|
-
}
|
|
77624
|
-
],
|
|
77625
|
-
"src/tooltip/definition-tooptip.stories.ts": [
|
|
77626
|
-
{
|
|
77627
|
-
"name": "Basic",
|
|
77628
|
-
"ctype": "miscellaneous",
|
|
77629
|
-
"subtype": "variable",
|
|
77630
|
-
"file": "src/tooltip/definition-tooptip.stories.ts",
|
|
77631
|
-
"deprecated": false,
|
|
77632
|
-
"deprecationMessage": "",
|
|
77633
|
-
"type": "",
|
|
77634
|
-
"defaultValue": "Template.bind({})"
|
|
77635
|
-
},
|
|
77636
|
-
{
|
|
77637
|
-
"name": "Template",
|
|
77638
|
-
"ctype": "miscellaneous",
|
|
77639
|
-
"subtype": "variable",
|
|
77640
|
-
"file": "src/tooltip/definition-tooptip.stories.ts",
|
|
77641
|
-
"deprecated": false,
|
|
77642
|
-
"deprecationMessage": "",
|
|
77643
|
-
"type": "",
|
|
77644
|
-
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<p>Custom domains direct requests for your apps in this Cloud Foundry organization to a\n\t\t<cds-tooltip-definition\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[caret]=\"caret\"\n\t\t\t[align]=\"align\"\n\t\t\t(onOpen)=\"onOpen($event)\"\n\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t(isOpenChange)=\"isOpenChange($event)\"\n\t\t\t[description]=\"description\">\n\t\t\tURL\n\t\t</cds-tooltip-definition>\n\t\tthat you own. A custom domain can be a shared domain, a shared subdomain, or a shared domain and host.</p>\n\t`,\n\tstyles: [`\n\t\t.tooltip-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t\tcursor: pointer;\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t`]\n})"
|
|
77645
|
-
}
|
|
77646
|
-
],
|
|
77647
|
-
"src/tooltip/tooltip.stories.ts": [
|
|
77648
|
-
{
|
|
77649
|
-
"name": "Basic",
|
|
77650
|
-
"ctype": "miscellaneous",
|
|
77651
|
-
"subtype": "variable",
|
|
77652
|
-
"file": "src/tooltip/tooltip.stories.ts",
|
|
77653
|
-
"deprecated": false,
|
|
77654
|
-
"deprecationMessage": "",
|
|
77655
|
-
"type": "",
|
|
77656
|
-
"defaultValue": "Template.bind({})"
|
|
77657
|
-
},
|
|
77658
|
-
{
|
|
77659
|
-
"name": "Ellipses",
|
|
77660
|
-
"ctype": "miscellaneous",
|
|
77661
|
-
"subtype": "variable",
|
|
77662
|
-
"file": "src/tooltip/tooltip.stories.ts",
|
|
77663
|
-
"deprecated": false,
|
|
77664
|
-
"deprecationMessage": "",
|
|
77665
|
-
"type": "",
|
|
77666
|
-
"defaultValue": "EllipsesTemplate.bind({})"
|
|
77667
|
-
},
|
|
77668
|
-
{
|
|
77669
|
-
"name": "EllipsesTemplate",
|
|
77670
|
-
"ctype": "miscellaneous",
|
|
77671
|
-
"subtype": "variable",
|
|
77672
|
-
"file": "src/tooltip/tooltip.stories.ts",
|
|
77673
|
-
"deprecated": false,
|
|
77674
|
-
"deprecationMessage": "",
|
|
77675
|
-
"type": "",
|
|
77676
|
-
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tooltip\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[caret]=\"caret\"\n\t\t\t[align]=\"align\"\n\t\t\tdescription=\"Tooltip for ellipsis because I can and I am really really long\">\n\t\t\t<span class=\"overflowText\">\n\t\t\t\tTooltip for ellipsis because I can and I am really really long\n\t\t\t</span>\n\t\t</cds-tooltip>\n\t`,\n\tstyles: [`\n\t\t.overflowText {\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\twidth: 100px;\n\t\t\tdisplay: inline-block;\n\t\t}\n\t`]\n})"
|
|
77677
|
-
},
|
|
77678
|
-
{
|
|
77679
|
-
"name": "Template",
|
|
77680
|
-
"ctype": "miscellaneous",
|
|
77681
|
-
"subtype": "variable",
|
|
77682
|
-
"file": "src/tooltip/tooltip.stories.ts",
|
|
77683
|
-
"deprecated": false,
|
|
77684
|
-
"deprecationMessage": "",
|
|
77685
|
-
"type": "",
|
|
77686
|
-
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-tooltip\n\t\t\t[isOpen]=\"isOpen\"\n\t\t\t[caret]=\"caret\"\n\t\t\t[align]=\"align\"\n\t\t\t(onOpen)=\"onOpen($event)\"\n\t\t\t(onClose)=\"onClose($event)\"\n\t\t\t(isOpenChange)=\"isOpenChange($event)\"\n\t\t\t[description]=\"description\">\n\t\t\t<button type=\"button\" class=\"tooltip-trigger\">\n\t\t\t\t<svg preserveAspectRatio=\"xMidYMid meet\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 32 32\">\n\t\t\t\t\t<path d=\"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z\"></path>\n\t\t\t\t</svg>\n\t\t\t</button>\n\t\t</cds-tooltip>\n\t`,\n\tstyles: [`\n\t\t.tooltip-trigger {\n\t\t\tbox-sizing: border-box;\n\t\t\tmargin: 0;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t\twidth: 2rem;\n\t\t\theight: 2rem;\n\t\t\tbackground: white;\n\t\t\tborder: 1px solid var(--cds-border-subtle);\n\t\t\tcursor: pointer;\n\t\t}\n\t\tsvg { fill: var(--cds-background-inverse); }\n\t`]\n})"
|
|
77687
|
-
}
|
|
77688
|
-
],
|
|
77689
78370
|
"src/treeview/treeview.stories.ts": [
|
|
77690
78371
|
{
|
|
77691
78372
|
"name": "Basic",
|
|
@@ -80004,6 +80685,19 @@
|
|
|
80004
80685
|
"kind": 189
|
|
80005
80686
|
}
|
|
80006
80687
|
],
|
|
80688
|
+
"src/popover/popover.directive.ts": [
|
|
80689
|
+
{
|
|
80690
|
+
"name": "oldPlacement",
|
|
80691
|
+
"ctype": "miscellaneous",
|
|
80692
|
+
"subtype": "typealias",
|
|
80693
|
+
"rawtype": "\"top-left\" | \"top-right\" | \"bottom-left\" | \"bottom-right\" | \"left-bottom\" | \"left-top\" | \"right-bottom\" | \"right-top\"",
|
|
80694
|
+
"file": "src/popover/popover.directive.ts",
|
|
80695
|
+
"deprecated": false,
|
|
80696
|
+
"deprecationMessage": "",
|
|
80697
|
+
"description": "",
|
|
80698
|
+
"kind": 189
|
|
80699
|
+
}
|
|
80700
|
+
],
|
|
80007
80701
|
"src/table/table-header-item.class.ts": [
|
|
80008
80702
|
{
|
|
80009
80703
|
"name": "SortType",
|
|
@@ -83855,17 +84549,27 @@
|
|
|
83855
84549
|
"type": "component",
|
|
83856
84550
|
"linktype": "component",
|
|
83857
84551
|
"name": "PopoverContent",
|
|
83858
|
-
"coveragePercent":
|
|
83859
|
-
"coverageCount": "1/
|
|
83860
|
-
"status": "
|
|
84552
|
+
"coveragePercent": 16,
|
|
84553
|
+
"coverageCount": "1/6",
|
|
84554
|
+
"status": "low"
|
|
83861
84555
|
},
|
|
83862
84556
|
{
|
|
83863
84557
|
"filePath": "src/popover/popover.directive.ts",
|
|
83864
84558
|
"type": "directive",
|
|
83865
84559
|
"linktype": "directive",
|
|
83866
84560
|
"name": "PopoverContainer",
|
|
83867
|
-
"coveragePercent":
|
|
83868
|
-
"coverageCount": "
|
|
84561
|
+
"coveragePercent": 57,
|
|
84562
|
+
"coverageCount": "12/21",
|
|
84563
|
+
"status": "good"
|
|
84564
|
+
},
|
|
84565
|
+
{
|
|
84566
|
+
"filePath": "src/popover/popover.stories.ts",
|
|
84567
|
+
"type": "variable",
|
|
84568
|
+
"linktype": "miscellaneous",
|
|
84569
|
+
"linksubtype": "variable",
|
|
84570
|
+
"name": "AutoAlignTemplate",
|
|
84571
|
+
"coveragePercent": 0,
|
|
84572
|
+
"coverageCount": "0/1",
|
|
83869
84573
|
"status": "low"
|
|
83870
84574
|
},
|
|
83871
84575
|
{
|
|
@@ -83888,6 +84592,16 @@
|
|
|
83888
84592
|
"coverageCount": "0/1",
|
|
83889
84593
|
"status": "low"
|
|
83890
84594
|
},
|
|
84595
|
+
{
|
|
84596
|
+
"filePath": "src/popover/popover.stories.ts",
|
|
84597
|
+
"type": "variable",
|
|
84598
|
+
"linktype": "miscellaneous",
|
|
84599
|
+
"linksubtype": "variable",
|
|
84600
|
+
"name": "WithAutoAlign",
|
|
84601
|
+
"coveragePercent": 0,
|
|
84602
|
+
"coverageCount": "0/1",
|
|
84603
|
+
"status": "low"
|
|
84604
|
+
},
|
|
83891
84605
|
{
|
|
83892
84606
|
"filePath": "src/progress-bar/progress-bar.component.ts",
|
|
83893
84607
|
"type": "component",
|
|
@@ -85852,8 +86566,18 @@
|
|
|
85852
86566
|
"type": "component",
|
|
85853
86567
|
"linktype": "component",
|
|
85854
86568
|
"name": "Toggletip",
|
|
85855
|
-
"coveragePercent":
|
|
85856
|
-
"coverageCount": "
|
|
86569
|
+
"coveragePercent": 43,
|
|
86570
|
+
"coverageCount": "13/30",
|
|
86571
|
+
"status": "medium"
|
|
86572
|
+
},
|
|
86573
|
+
{
|
|
86574
|
+
"filePath": "src/toggletip/toggletip.stories.ts",
|
|
86575
|
+
"type": "variable",
|
|
86576
|
+
"linktype": "miscellaneous",
|
|
86577
|
+
"linksubtype": "variable",
|
|
86578
|
+
"name": "AutoAlignTemplate",
|
|
86579
|
+
"coveragePercent": 0,
|
|
86580
|
+
"coverageCount": "0/1",
|
|
85857
86581
|
"status": "low"
|
|
85858
86582
|
},
|
|
85859
86583
|
{
|
|
@@ -85876,13 +86600,33 @@
|
|
|
85876
86600
|
"coverageCount": "0/1",
|
|
85877
86601
|
"status": "low"
|
|
85878
86602
|
},
|
|
86603
|
+
{
|
|
86604
|
+
"filePath": "src/toggletip/toggletip.stories.ts",
|
|
86605
|
+
"type": "variable",
|
|
86606
|
+
"linktype": "miscellaneous",
|
|
86607
|
+
"linksubtype": "variable",
|
|
86608
|
+
"name": "WithAutoAlign",
|
|
86609
|
+
"coveragePercent": 0,
|
|
86610
|
+
"coverageCount": "0/1",
|
|
86611
|
+
"status": "low"
|
|
86612
|
+
},
|
|
85879
86613
|
{
|
|
85880
86614
|
"filePath": "src/tooltip/definition-tooptip.component.ts",
|
|
85881
86615
|
"type": "component",
|
|
85882
86616
|
"linktype": "component",
|
|
85883
86617
|
"name": "TooltipDefinition",
|
|
85884
|
-
"coveragePercent":
|
|
85885
|
-
"coverageCount": "
|
|
86618
|
+
"coveragePercent": 45,
|
|
86619
|
+
"coverageCount": "14/31",
|
|
86620
|
+
"status": "medium"
|
|
86621
|
+
},
|
|
86622
|
+
{
|
|
86623
|
+
"filePath": "src/tooltip/definition-tooptip.stories.ts",
|
|
86624
|
+
"type": "variable",
|
|
86625
|
+
"linktype": "miscellaneous",
|
|
86626
|
+
"linksubtype": "variable",
|
|
86627
|
+
"name": "AutoAlignTemplate",
|
|
86628
|
+
"coveragePercent": 0,
|
|
86629
|
+
"coverageCount": "0/1",
|
|
85886
86630
|
"status": "low"
|
|
85887
86631
|
},
|
|
85888
86632
|
{
|
|
@@ -85905,14 +86649,24 @@
|
|
|
85905
86649
|
"coverageCount": "0/1",
|
|
85906
86650
|
"status": "low"
|
|
85907
86651
|
},
|
|
86652
|
+
{
|
|
86653
|
+
"filePath": "src/tooltip/definition-tooptip.stories.ts",
|
|
86654
|
+
"type": "variable",
|
|
86655
|
+
"linktype": "miscellaneous",
|
|
86656
|
+
"linksubtype": "variable",
|
|
86657
|
+
"name": "WithAutoAlign",
|
|
86658
|
+
"coveragePercent": 0,
|
|
86659
|
+
"coverageCount": "0/1",
|
|
86660
|
+
"status": "low"
|
|
86661
|
+
},
|
|
85908
86662
|
{
|
|
85909
86663
|
"filePath": "src/tooltip/tooltip.component.ts",
|
|
85910
86664
|
"type": "component",
|
|
85911
86665
|
"linktype": "component",
|
|
85912
86666
|
"name": "Tooltip",
|
|
85913
|
-
"coveragePercent":
|
|
85914
|
-
"coverageCount": "
|
|
85915
|
-
"status": "
|
|
86667
|
+
"coveragePercent": 41,
|
|
86668
|
+
"coverageCount": "17/41",
|
|
86669
|
+
"status": "medium"
|
|
85916
86670
|
},
|
|
85917
86671
|
{
|
|
85918
86672
|
"filePath": "src/tooltip/tooltip.interface.ts",
|
|
@@ -85933,6 +86687,16 @@
|
|
|
85933
86687
|
"coverageCount": "1/1",
|
|
85934
86688
|
"status": "very-good"
|
|
85935
86689
|
},
|
|
86690
|
+
{
|
|
86691
|
+
"filePath": "src/tooltip/tooltip.stories.ts",
|
|
86692
|
+
"type": "variable",
|
|
86693
|
+
"linktype": "miscellaneous",
|
|
86694
|
+
"linksubtype": "variable",
|
|
86695
|
+
"name": "AutoAlignTemplate",
|
|
86696
|
+
"coveragePercent": 0,
|
|
86697
|
+
"coverageCount": "0/1",
|
|
86698
|
+
"status": "low"
|
|
86699
|
+
},
|
|
85936
86700
|
{
|
|
85937
86701
|
"filePath": "src/tooltip/tooltip.stories.ts",
|
|
85938
86702
|
"type": "variable",
|
|
@@ -85973,6 +86737,16 @@
|
|
|
85973
86737
|
"coverageCount": "0/1",
|
|
85974
86738
|
"status": "low"
|
|
85975
86739
|
},
|
|
86740
|
+
{
|
|
86741
|
+
"filePath": "src/tooltip/tooltip.stories.ts",
|
|
86742
|
+
"type": "variable",
|
|
86743
|
+
"linktype": "miscellaneous",
|
|
86744
|
+
"linksubtype": "variable",
|
|
86745
|
+
"name": "WithAutoAlign",
|
|
86746
|
+
"coveragePercent": 0,
|
|
86747
|
+
"coverageCount": "0/1",
|
|
86748
|
+
"status": "low"
|
|
86749
|
+
},
|
|
85976
86750
|
{
|
|
85977
86751
|
"filePath": "src/treeview/stories/app-treeview-icons.component.ts",
|
|
85978
86752
|
"type": "component",
|