carbon-components-angular 5.23.3 → 5.24.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/button/base-icon-button.component.d.ts +6 -1
- package/docs/documentation/components/BaseIconButton.html +43 -2
- package/docs/documentation/components/CodeSnippet.html +45 -2
- package/docs/documentation/components/HeaderAction.html +45 -2
- package/docs/documentation/components/IconButton.html +74 -29
- package/docs/documentation/components/Tooltip.html +63 -29
- package/docs/documentation/components/TooltipDefinition.html +52 -18
- package/docs/documentation/coverage.html +16 -16
- package/docs/documentation/js/search/search_index.js +2 -2
- 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 +53 -57
- package/docs/documentation/modules/DatePickerModule.html +53 -57
- 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/TilesModule/dependencies.svg +100 -100
- package/docs/documentation/modules/TilesModule.html +100 -100
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +42 -38
- package/docs/documentation/modules/TimePickerModule.html +42 -38
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +7 -7
- package/docs/documentation/modules/TimePickerSelectModule.html +7 -7
- 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 +28 -28
- package/docs/documentation/modules/TooltipModule.html +28 -28
- package/docs/documentation/modules/UIShellModule/dependencies.svg +4 -4
- package/docs/documentation/modules/UIShellModule.html +4 -4
- package/docs/documentation.json +236 -103
- package/docs/storybook/4578.17249a24.iframe.bundle.js +1 -0
- package/docs/storybook/{button-icon-button-stories.fe454546.iframe.bundle.js → button-icon-button-stories.59d7496a.iframe.bundle.js} +1 -1
- package/docs/storybook/iframe.html +2 -2
- package/docs/storybook/index.json +1 -1
- package/docs/storybook/main.9d694b47.iframe.bundle.js +1 -0
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/{runtime~main.307461f0.iframe.bundle.js → runtime~main.1f3e45b2.iframe.bundle.js} +1 -1
- package/docs/storybook/stories.json +1 -1
- package/docs/storybook/tooltip-definition-tooptip-stories.d4d53243.iframe.bundle.js +1 -0
- package/docs/storybook/tooltip-tooltip-stories.fafd3535.iframe.bundle.js +1 -0
- package/esm2020/button/base-icon-button.component.mjs +9 -2
- package/esm2020/button/icon-button.component.mjs +4 -2
- package/esm2020/tooltip/definition-tooptip.component.mjs +6 -4
- package/esm2020/tooltip/tooltip.component.mjs +6 -4
- package/fesm2015/carbon-components-angular-button.mjs +11 -2
- package/fesm2015/carbon-components-angular-button.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-tooltip.mjs +10 -6
- package/fesm2015/carbon-components-angular-tooltip.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-button.mjs +11 -2
- package/fesm2020/carbon-components-angular-button.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-tooltip.mjs +10 -6
- package/fesm2020/carbon-components-angular-tooltip.mjs.map +1 -1
- package/package.json +1 -1
- package/tooltip/definition-tooptip.component.d.ts +5 -1
- package/tooltip/tooltip.component.d.ts +5 -1
- package/docs/storybook/4578.0721a3f2.iframe.bundle.js +0 -1
- package/docs/storybook/main.6483d603.iframe.bundle.js +0 -1
- package/docs/storybook/tooltip-definition-tooptip-stories.af07fda0.iframe.bundle.js +0 -1
- package/docs/storybook/tooltip-tooltip-stories.18664f1b.iframe.bundle.js +0 -1
package/docs/documentation.json
CHANGED
|
@@ -19152,7 +19152,7 @@
|
|
|
19152
19152
|
},
|
|
19153
19153
|
{
|
|
19154
19154
|
"name": "BaseIconButton",
|
|
19155
|
-
"id": "component-BaseIconButton-
|
|
19155
|
+
"id": "component-BaseIconButton-77320a539d11df15c9cb5571f9c9d27fcc37267e8409207c56d2ad54688ab81ce690c41acb6b40aa3db648a7b449c2a92435fce701b979c3de693c5ffaa5f1ff",
|
|
19156
19156
|
"file": "src/button/base-icon-button.component.ts",
|
|
19157
19157
|
"encapsulation": [],
|
|
19158
19158
|
"entryComponents": [],
|
|
@@ -19177,6 +19177,17 @@
|
|
|
19177
19177
|
"type": "\"top\" | \"top-left\" | \"top-right\" | \"bottom\" | \"bottom-left\" | \"bottom-right\" | \"left\" | \"left-bottom\" | \"left-top\" | \"right\" | \"right-bottom\" | \"right-top\"",
|
|
19178
19178
|
"decorators": []
|
|
19179
19179
|
},
|
|
19180
|
+
{
|
|
19181
|
+
"name": "autoAlign",
|
|
19182
|
+
"defaultValue": "false",
|
|
19183
|
+
"deprecated": false,
|
|
19184
|
+
"deprecationMessage": "",
|
|
19185
|
+
"rawdescription": "\n\n**Experimental**: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once\n",
|
|
19186
|
+
"description": "<p><strong>Experimental</strong>: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once</p>\n",
|
|
19187
|
+
"line": 40,
|
|
19188
|
+
"type": "boolean",
|
|
19189
|
+
"decorators": []
|
|
19190
|
+
},
|
|
19180
19191
|
{
|
|
19181
19192
|
"name": "caret",
|
|
19182
19193
|
"defaultValue": "true",
|
|
@@ -19206,7 +19217,7 @@
|
|
|
19206
19217
|
"deprecationMessage": "",
|
|
19207
19218
|
"rawdescription": "\n\nSet delay before tooltip is shown\n",
|
|
19208
19219
|
"description": "<p>Set delay before tooltip is shown</p>\n",
|
|
19209
|
-
"line":
|
|
19220
|
+
"line": 44,
|
|
19210
19221
|
"type": "number",
|
|
19211
19222
|
"decorators": []
|
|
19212
19223
|
},
|
|
@@ -19239,7 +19250,7 @@
|
|
|
19239
19250
|
"deprecationMessage": "",
|
|
19240
19251
|
"rawdescription": "\n\nSet delay when tooltip disappears\n",
|
|
19241
19252
|
"description": "<p>Set delay when tooltip disappears</p>\n",
|
|
19242
|
-
"line":
|
|
19253
|
+
"line": 48,
|
|
19243
19254
|
"type": "number",
|
|
19244
19255
|
"decorators": []
|
|
19245
19256
|
}
|
|
@@ -19256,7 +19267,7 @@
|
|
|
19256
19267
|
"description": "<p>Base button with common input properties for configuring icon button.\nExtend class to inherit @Input meta data</p>\n<p>Used by pagination nav icon button, code snippet, etc.</p>\n",
|
|
19257
19268
|
"rawdescription": "\n\nBase button with common input properties for configuring icon button.\nExtend class to inherit @Input meta data\n\nUsed by pagination nav icon button, code snippet, etc.\n",
|
|
19258
19269
|
"type": "component",
|
|
19259
|
-
"sourceCode": "import { Component, Input } from \"@angular/core\";\n\n/**\n * Base button with common input properties for configuring icon button.\n * Extend class to inherit @Input meta data\n *\n * Used by pagination nav icon button, code snippet, etc.\n */\n@Component({\n\ttemplate: \"\"\n})\nexport class BaseIconButton {\n\t/**\n\t * Set to `false` to hide caret\n\t */\n\t@Input() caret = true;\n\t/**\n\t * Set to `false` to hide shadow\n\t */\n\t@Input() dropShadow = true;\n\t/**\n\t * Set to `true` to enable high contrast\n\t */\n\t@Input() highContrast = true;\n\t/**\n\t * Set to `true` to have the popover open by default\n\t */\n\t@Input() isOpen = false;\n\t/**\n\t * Set popover alignment\n\t */\n\t@Input() align: \"top\" | \"top-left\" | \"top-right\" |\n\t\t\"bottom\" | \"bottom-left\" | \"bottom-right\" |\n\t\t\"left\" | \"left-bottom\" | \"left-top\" |\n\t\t\"right\" | \"right-bottom\" | \"right-top\" = \"bottom\";\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}\n",
|
|
19270
|
+
"sourceCode": "import { Component, Input } from \"@angular/core\";\n\n/**\n * Base button with common input properties for configuring icon button.\n * Extend class to inherit @Input meta data\n *\n * Used by pagination nav icon button, code snippet, etc.\n */\n@Component({\n\ttemplate: \"\"\n})\nexport class BaseIconButton {\n\t/**\n\t * Set to `false` to hide caret\n\t */\n\t@Input() caret = true;\n\t/**\n\t * Set to `false` to hide shadow\n\t */\n\t@Input() dropShadow = true;\n\t/**\n\t * Set to `true` to enable high contrast\n\t */\n\t@Input() highContrast = true;\n\t/**\n\t * Set to `true` to have the popover open by default\n\t */\n\t@Input() isOpen = false;\n\t/**\n\t * Set popover alignment\n\t */\n\t@Input() align: \"top\" | \"top-left\" | \"top-right\" |\n\t\t\"bottom\" | \"bottom-left\" | \"bottom-right\" |\n\t\t\"left\" | \"left-bottom\" | \"left-top\" |\n\t\t\"right\" | \"right-bottom\" | \"right-top\" = \"bottom\";\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@Input() autoAlign = false;\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}\n",
|
|
19260
19271
|
"assetsDirs": [],
|
|
19261
19272
|
"styleUrlsData": "",
|
|
19262
19273
|
"stylesData": ""
|
|
@@ -21624,6 +21635,20 @@
|
|
|
21624
21635
|
"file": "BaseIconButton"
|
|
21625
21636
|
}
|
|
21626
21637
|
},
|
|
21638
|
+
{
|
|
21639
|
+
"name": "autoAlign",
|
|
21640
|
+
"defaultValue": "false",
|
|
21641
|
+
"deprecated": false,
|
|
21642
|
+
"deprecationMessage": "",
|
|
21643
|
+
"rawdescription": "\n\n**Experimental**: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once\n",
|
|
21644
|
+
"description": "<p><strong>Experimental</strong>: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once</p>\n",
|
|
21645
|
+
"line": 40,
|
|
21646
|
+
"type": "boolean",
|
|
21647
|
+
"decorators": [],
|
|
21648
|
+
"inheritance": {
|
|
21649
|
+
"file": "BaseIconButton"
|
|
21650
|
+
}
|
|
21651
|
+
},
|
|
21627
21652
|
{
|
|
21628
21653
|
"name": "caret",
|
|
21629
21654
|
"defaultValue": "true",
|
|
@@ -21659,7 +21684,7 @@
|
|
|
21659
21684
|
"deprecationMessage": "",
|
|
21660
21685
|
"rawdescription": "\n\nSet delay before tooltip is shown\n",
|
|
21661
21686
|
"description": "<p>Set delay before tooltip is shown</p>\n",
|
|
21662
|
-
"line":
|
|
21687
|
+
"line": 44,
|
|
21663
21688
|
"type": "number",
|
|
21664
21689
|
"decorators": [],
|
|
21665
21690
|
"inheritance": {
|
|
@@ -21701,7 +21726,7 @@
|
|
|
21701
21726
|
"deprecationMessage": "",
|
|
21702
21727
|
"rawdescription": "\n\nSet delay when tooltip disappears\n",
|
|
21703
21728
|
"description": "<p>Set delay when tooltip disappears</p>\n",
|
|
21704
|
-
"line":
|
|
21729
|
+
"line": 48,
|
|
21705
21730
|
"type": "number",
|
|
21706
21731
|
"decorators": [],
|
|
21707
21732
|
"inheritance": {
|
|
@@ -32201,6 +32226,20 @@
|
|
|
32201
32226
|
"file": "BaseIconButton"
|
|
32202
32227
|
}
|
|
32203
32228
|
},
|
|
32229
|
+
{
|
|
32230
|
+
"name": "autoAlign",
|
|
32231
|
+
"defaultValue": "false",
|
|
32232
|
+
"deprecated": false,
|
|
32233
|
+
"deprecationMessage": "",
|
|
32234
|
+
"rawdescription": "\n\n**Experimental**: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once\n",
|
|
32235
|
+
"description": "<p><strong>Experimental</strong>: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once</p>\n",
|
|
32236
|
+
"line": 40,
|
|
32237
|
+
"type": "boolean",
|
|
32238
|
+
"decorators": [],
|
|
32239
|
+
"inheritance": {
|
|
32240
|
+
"file": "BaseIconButton"
|
|
32241
|
+
}
|
|
32242
|
+
},
|
|
32204
32243
|
{
|
|
32205
32244
|
"name": "caret",
|
|
32206
32245
|
"defaultValue": "true",
|
|
@@ -32236,7 +32275,7 @@
|
|
|
32236
32275
|
"deprecationMessage": "",
|
|
32237
32276
|
"rawdescription": "\n\nSet delay before tooltip is shown\n",
|
|
32238
32277
|
"description": "<p>Set delay before tooltip is shown</p>\n",
|
|
32239
|
-
"line":
|
|
32278
|
+
"line": 44,
|
|
32240
32279
|
"type": "number",
|
|
32241
32280
|
"decorators": [],
|
|
32242
32281
|
"inheritance": {
|
|
@@ -32278,7 +32317,7 @@
|
|
|
32278
32317
|
"deprecationMessage": "",
|
|
32279
32318
|
"rawdescription": "\n\nSet delay when tooltip disappears\n",
|
|
32280
32319
|
"description": "<p>Set delay when tooltip disappears</p>\n",
|
|
32281
|
-
"line":
|
|
32320
|
+
"line": 48,
|
|
32282
32321
|
"type": "number",
|
|
32283
32322
|
"decorators": [],
|
|
32284
32323
|
"inheritance": {
|
|
@@ -33181,7 +33220,7 @@
|
|
|
33181
33220
|
},
|
|
33182
33221
|
{
|
|
33183
33222
|
"name": "IconButton",
|
|
33184
|
-
"id": "component-IconButton-
|
|
33223
|
+
"id": "component-IconButton-51758ccc9548e4288883169b57e7512220d12ca16445c4ff51c7084ae4ed320f3b06fa92fa97371db2f37ae1f7207df0e9f0fe205c83199eccd69b4a6c1a8f59",
|
|
33185
33224
|
"file": "src/button/icon-button.component.ts",
|
|
33186
33225
|
"encapsulation": [],
|
|
33187
33226
|
"entryComponents": [],
|
|
@@ -33191,7 +33230,7 @@
|
|
|
33191
33230
|
"selector": "cds-icon-button, ibm-icon-button",
|
|
33192
33231
|
"styleUrls": [],
|
|
33193
33232
|
"styles": [],
|
|
33194
|
-
"template": "<cds-tooltip\n\tclass=\"cds--icon-tooltip\"\n\t[description]=\"description\"\n\t[disabled]=\"disabled\"\n\t[caret]=\"caret\"\n\t[dropShadow]=\"dropShadow\"\n\t[highContrast]=\"highContrast\"\n\t[isOpen]=\"isOpen\"\n\t[align]=\"align\"\n\t[enterDelayMs]=\"enterDelayMs\"\n\t[leaveDelayMs]=\"leaveDelayMs\"\n\t(click)=\"emitClickEvent($event, 'tooltip')\">\n\t<button\n\t\t#button\n\t\t[id]=\"buttonId\"\n\t\t[disabled]=\"disabled\"\n\t\t[attr.type]=\"type\"\n\t\t[iconOnly]=\"true\"\n\t\t[ngClass]=\"buttonNgClass\"\n\t\t[cdsButton]=\"kind\"\n\t\t[size]=\"size\"\n\t\t[isExpressive]=\"isExpressive\"\n\t\t(click)=\"emitClickEvent($event)\"\n\t\t(focus)=\"focus.emit($event)\"\n\t\t(blur)=\"blur.emit($event)\">\n\t\t<ng-content></ng-content>\n\t</button>\n</cds-tooltip>\n",
|
|
33233
|
+
"template": "<cds-tooltip\n\tclass=\"cds--icon-tooltip\"\n\t[description]=\"description\"\n\t[disabled]=\"disabled\"\n\t[caret]=\"caret\"\n\t[dropShadow]=\"dropShadow\"\n\t[highContrast]=\"highContrast\"\n\t[isOpen]=\"isOpen\"\n\t[align]=\"align\"\n\t[autoAlign]=\"autoAlign\"\n\t[enterDelayMs]=\"enterDelayMs\"\n\t[leaveDelayMs]=\"leaveDelayMs\"\n\t(click)=\"emitClickEvent($event, 'tooltip')\">\n\t<button\n\t\t#button\n\t\t[id]=\"buttonId\"\n\t\t[disabled]=\"disabled\"\n\t\t[attr.type]=\"type\"\n\t\t[iconOnly]=\"true\"\n\t\t[ngClass]=\"buttonNgClass\"\n\t\t[cdsButton]=\"kind\"\n\t\t[size]=\"size\"\n\t\t[isExpressive]=\"isExpressive\"\n\t\t(click)=\"emitClickEvent($event)\"\n\t\t(focus)=\"focus.emit($event)\"\n\t\t(blur)=\"blur.emit($event)\">\n\t\t<ng-content></ng-content>\n\t</button>\n</cds-tooltip>\n",
|
|
33195
33234
|
"templateUrl": [],
|
|
33196
33235
|
"viewProviders": [],
|
|
33197
33236
|
"hostDirectives": [],
|
|
@@ -33202,15 +33241,15 @@
|
|
|
33202
33241
|
"deprecationMessage": "",
|
|
33203
33242
|
"jsdoctags": [
|
|
33204
33243
|
{
|
|
33205
|
-
"pos":
|
|
33206
|
-
"end":
|
|
33244
|
+
"pos": 1607,
|
|
33245
|
+
"end": 1813,
|
|
33207
33246
|
"flags": 8421376,
|
|
33208
33247
|
"modifierFlagsCache": 0,
|
|
33209
33248
|
"transformFlags": 0,
|
|
33210
33249
|
"kind": 344,
|
|
33211
33250
|
"tagName": {
|
|
33212
|
-
"pos":
|
|
33213
|
-
"end":
|
|
33251
|
+
"pos": 1608,
|
|
33252
|
+
"end": 1613,
|
|
33214
33253
|
"flags": 8421376,
|
|
33215
33254
|
"modifierFlagsCache": 0,
|
|
33216
33255
|
"transformFlags": 0,
|
|
@@ -33219,8 +33258,8 @@
|
|
|
33219
33258
|
},
|
|
33220
33259
|
"comment": "<p>: { [key: string]: string\nUser can pass additional button attributes if component property does not already exist\nKey is the attribute name & value is the attribute value for the button</p>\n",
|
|
33221
33260
|
"name": {
|
|
33222
|
-
"pos":
|
|
33223
|
-
"end":
|
|
33261
|
+
"pos": 1614,
|
|
33262
|
+
"end": 1617,
|
|
33224
33263
|
"flags": 8421376,
|
|
33225
33264
|
"modifierFlagsCache": 0,
|
|
33226
33265
|
"transformFlags": 0,
|
|
@@ -33231,7 +33270,7 @@
|
|
|
33231
33270
|
"isBracketed": false
|
|
33232
33271
|
}
|
|
33233
33272
|
],
|
|
33234
|
-
"line":
|
|
33273
|
+
"line": 75,
|
|
33235
33274
|
"type": "literal type",
|
|
33236
33275
|
"decorators": []
|
|
33237
33276
|
},
|
|
@@ -33242,7 +33281,7 @@
|
|
|
33242
33281
|
"deprecationMessage": "",
|
|
33243
33282
|
"rawdescription": "\n\nOverride id\n",
|
|
33244
33283
|
"description": "<p>Override id</p>\n",
|
|
33245
|
-
"line":
|
|
33284
|
+
"line": 101,
|
|
33246
33285
|
"type": "string",
|
|
33247
33286
|
"decorators": []
|
|
33248
33287
|
},
|
|
@@ -33252,7 +33291,7 @@
|
|
|
33252
33291
|
"deprecationMessage": "",
|
|
33253
33292
|
"rawdescription": "\n\nPass global carbon classes to icon button\n",
|
|
33254
33293
|
"description": "<p>Pass global carbon classes to icon button</p>\n",
|
|
33255
|
-
"line":
|
|
33294
|
+
"line": 62,
|
|
33256
33295
|
"type": "literal type",
|
|
33257
33296
|
"decorators": []
|
|
33258
33297
|
},
|
|
@@ -33262,7 +33301,7 @@
|
|
|
33262
33301
|
"deprecationMessage": "",
|
|
33263
33302
|
"rawdescription": "\n\nThe string or template content to be exposed by the tooltip.\n",
|
|
33264
33303
|
"description": "<p>The string or template content to be exposed by the tooltip.</p>\n",
|
|
33265
|
-
"line":
|
|
33304
|
+
"line": 125,
|
|
33266
33305
|
"type": "string | TemplateRef<any>",
|
|
33267
33306
|
"decorators": []
|
|
33268
33307
|
},
|
|
@@ -33273,7 +33312,7 @@
|
|
|
33273
33312
|
"deprecationMessage": "",
|
|
33274
33313
|
"rawdescription": "\n\nSet to `true` to disable button\n",
|
|
33275
33314
|
"description": "<p>Set to <code>true</code> to disable button</p>\n",
|
|
33276
|
-
"line":
|
|
33315
|
+
"line": 121,
|
|
33277
33316
|
"type": "boolean",
|
|
33278
33317
|
"decorators": []
|
|
33279
33318
|
},
|
|
@@ -33284,7 +33323,7 @@
|
|
|
33284
33323
|
"deprecationMessage": "",
|
|
33285
33324
|
"rawdescription": "\n\nSet to `true` to make button expressive\n",
|
|
33286
33325
|
"description": "<p>Set to <code>true</code> to make button expressive</p>\n",
|
|
33287
|
-
"line":
|
|
33326
|
+
"line": 117,
|
|
33288
33327
|
"type": "boolean",
|
|
33289
33328
|
"decorators": []
|
|
33290
33329
|
},
|
|
@@ -33295,7 +33334,7 @@
|
|
|
33295
33334
|
"deprecationMessage": "",
|
|
33296
33335
|
"rawdescription": "\n\nSets the button type.\n",
|
|
33297
33336
|
"description": "<p>Sets the button type.</p>\n",
|
|
33298
|
-
"line":
|
|
33337
|
+
"line": 105,
|
|
33299
33338
|
"type": "ButtonType",
|
|
33300
33339
|
"decorators": []
|
|
33301
33340
|
},
|
|
@@ -33306,7 +33345,7 @@
|
|
|
33306
33345
|
"deprecationMessage": "",
|
|
33307
33346
|
"rawdescription": "\n\nSpecify the size of the button.\n",
|
|
33308
33347
|
"description": "<p>Specify the size of the button.</p>\n",
|
|
33309
|
-
"line":
|
|
33348
|
+
"line": 109,
|
|
33310
33349
|
"type": "ButtonSize",
|
|
33311
33350
|
"decorators": []
|
|
33312
33351
|
},
|
|
@@ -33317,7 +33356,7 @@
|
|
|
33317
33356
|
"deprecationMessage": "",
|
|
33318
33357
|
"rawdescription": "\n\nSet button type, `button` by default\n",
|
|
33319
33358
|
"description": "<p>Set button type, <code>button</code> by default</p>\n",
|
|
33320
|
-
"line":
|
|
33359
|
+
"line": 113,
|
|
33321
33360
|
"type": "string",
|
|
33322
33361
|
"decorators": []
|
|
33323
33362
|
},
|
|
@@ -33335,6 +33374,20 @@
|
|
|
33335
33374
|
"file": "BaseIconButton"
|
|
33336
33375
|
}
|
|
33337
33376
|
},
|
|
33377
|
+
{
|
|
33378
|
+
"name": "autoAlign",
|
|
33379
|
+
"defaultValue": "false",
|
|
33380
|
+
"deprecated": false,
|
|
33381
|
+
"deprecationMessage": "",
|
|
33382
|
+
"rawdescription": "\n\n**Experimental**: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once\n",
|
|
33383
|
+
"description": "<p><strong>Experimental</strong>: Use floating-ui to position the tooltip\nThis is not toggleable - should be assigned once</p>\n",
|
|
33384
|
+
"line": 40,
|
|
33385
|
+
"type": "boolean",
|
|
33386
|
+
"decorators": [],
|
|
33387
|
+
"inheritance": {
|
|
33388
|
+
"file": "BaseIconButton"
|
|
33389
|
+
}
|
|
33390
|
+
},
|
|
33338
33391
|
{
|
|
33339
33392
|
"name": "caret",
|
|
33340
33393
|
"defaultValue": "true",
|
|
@@ -33370,7 +33423,7 @@
|
|
|
33370
33423
|
"deprecationMessage": "",
|
|
33371
33424
|
"rawdescription": "\n\nSet delay before tooltip is shown\n",
|
|
33372
33425
|
"description": "<p>Set delay before tooltip is shown</p>\n",
|
|
33373
|
-
"line":
|
|
33426
|
+
"line": 44,
|
|
33374
33427
|
"type": "number",
|
|
33375
33428
|
"decorators": [],
|
|
33376
33429
|
"inheritance": {
|
|
@@ -33412,7 +33465,7 @@
|
|
|
33412
33465
|
"deprecationMessage": "",
|
|
33413
33466
|
"rawdescription": "\n\nSet delay when tooltip disappears\n",
|
|
33414
33467
|
"description": "<p>Set delay when tooltip disappears</p>\n",
|
|
33415
|
-
"line":
|
|
33468
|
+
"line": 48,
|
|
33416
33469
|
"type": "number",
|
|
33417
33470
|
"decorators": [],
|
|
33418
33471
|
"inheritance": {
|
|
@@ -33426,7 +33479,7 @@
|
|
|
33426
33479
|
"defaultValue": "new EventEmitter<Event>()",
|
|
33427
33480
|
"deprecated": false,
|
|
33428
33481
|
"deprecationMessage": "",
|
|
33429
|
-
"line":
|
|
33482
|
+
"line": 132,
|
|
33430
33483
|
"type": "EventEmitter"
|
|
33431
33484
|
},
|
|
33432
33485
|
{
|
|
@@ -33436,7 +33489,7 @@
|
|
|
33436
33489
|
"deprecationMessage": "",
|
|
33437
33490
|
"rawdescription": "\n\nCommon button events\n",
|
|
33438
33491
|
"description": "<p>Common button events</p>\n",
|
|
33439
|
-
"line":
|
|
33492
|
+
"line": 130,
|
|
33440
33493
|
"type": "EventEmitter"
|
|
33441
33494
|
},
|
|
33442
33495
|
{
|
|
@@ -33444,7 +33497,7 @@
|
|
|
33444
33497
|
"defaultValue": "new EventEmitter<Event>()",
|
|
33445
33498
|
"deprecated": false,
|
|
33446
33499
|
"deprecationMessage": "",
|
|
33447
|
-
"line":
|
|
33500
|
+
"line": 131,
|
|
33448
33501
|
"type": "EventEmitter"
|
|
33449
33502
|
},
|
|
33450
33503
|
{
|
|
@@ -33454,7 +33507,7 @@
|
|
|
33454
33507
|
"deprecationMessage": "",
|
|
33455
33508
|
"rawdescription": "\n\nEvent to emit when click event is fired from tooltip\n",
|
|
33456
33509
|
"description": "<p>Event to emit when click event is fired from tooltip</p>\n",
|
|
33457
|
-
"line":
|
|
33510
|
+
"line": 136,
|
|
33458
33511
|
"type": "EventEmitter"
|
|
33459
33512
|
}
|
|
33460
33513
|
],
|
|
@@ -33466,7 +33519,7 @@
|
|
|
33466
33519
|
"type": "ElementRef",
|
|
33467
33520
|
"optional": false,
|
|
33468
33521
|
"description": "",
|
|
33469
|
-
"line":
|
|
33522
|
+
"line": 96,
|
|
33470
33523
|
"decorators": [
|
|
33471
33524
|
{
|
|
33472
33525
|
"name": "ViewChild",
|
|
@@ -33485,7 +33538,7 @@
|
|
|
33485
33538
|
"type": "number",
|
|
33486
33539
|
"optional": false,
|
|
33487
33540
|
"description": "",
|
|
33488
|
-
"line":
|
|
33541
|
+
"line": 94,
|
|
33489
33542
|
"modifierKind": [
|
|
33490
33543
|
124
|
|
33491
33544
|
]
|
|
@@ -33512,7 +33565,7 @@
|
|
|
33512
33565
|
"optional": false,
|
|
33513
33566
|
"returnType": "void",
|
|
33514
33567
|
"typeParameters": [],
|
|
33515
|
-
"line":
|
|
33568
|
+
"line": 154,
|
|
33516
33569
|
"deprecated": false,
|
|
33517
33570
|
"deprecationMessage": "",
|
|
33518
33571
|
"rawdescription": "\n\nStop propogation of click event\nElse double fires (click) event\n",
|
|
@@ -33549,7 +33602,7 @@
|
|
|
33549
33602
|
"description": "<p>Get started with importing the module:</p>\n<div><pre class=\"line-numbers\"><code class=\"language-typescript\">import { ButtonModule } from 'carbon-components-angular';</code></pre></div><p><a href=\"../../?path=/story/components-button-icon-button--basic\">See demo</a></p>\n",
|
|
33550
33603
|
"rawdescription": "\n\nGet started with importing the module:\n\n```typescript\nimport { ButtonModule } from 'carbon-components-angular';\n```\n\n[See demo](../../?path=/story/components-button-icon-button--basic)\n",
|
|
33551
33604
|
"type": "component",
|
|
33552
|
-
"sourceCode": "import {\n\tAfterViewInit,\n\tComponent,\n\tElementRef,\n\tEventEmitter,\n\tInput,\n\tOutput,\n\tRenderer2,\n\tTemplateRef,\n\tViewChild\n} from \"@angular/core\";\nimport { BaseIconButton } from \"./base-icon-button.component\";\nimport { ButtonSize, ButtonType } from \"./button.types\";\n\n/**\n * Get started with importing the module:\n *\n * ```typescript\n * import { ButtonModule } from 'carbon-components-angular';\n * ```\n *\n * [See demo](../../?path=/story/components-button-icon-button--basic)\n */\n@Component({\n\tselector: \"cds-icon-button, ibm-icon-button\",\n\ttemplate: `\n\t<cds-tooltip\n\t\tclass=\"cds--icon-tooltip\"\n\t\t[description]=\"description\"\n\t\t[disabled]=\"disabled\"\n\t\t[caret]=\"caret\"\n\t\t[dropShadow]=\"dropShadow\"\n\t\t[highContrast]=\"highContrast\"\n\t\t[isOpen]=\"isOpen\"\n\t\t[align]=\"align\"\n\t\t[enterDelayMs]=\"enterDelayMs\"\n\t\t[leaveDelayMs]=\"leaveDelayMs\"\n\t\t(click)=\"emitClickEvent($event, 'tooltip')\">\n\t\t<button\n\t\t\t#button\n\t\t\t[id]=\"buttonId\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[attr.type]=\"type\"\n\t\t\t[iconOnly]=\"true\"\n\t\t\t[ngClass]=\"buttonNgClass\"\n\t\t\t[cdsButton]=\"kind\"\n\t\t\t[size]=\"size\"\n\t\t\t[isExpressive]=\"isExpressive\"\n\t\t\t(click)=\"emitClickEvent($event)\"\n\t\t\t(focus)=\"focus.emit($event)\"\n\t\t\t(blur)=\"blur.emit($event)\">\n\t\t\t<ng-content></ng-content>\n\t\t</button>\n\t</cds-tooltip>\n\t`\n})\nexport class IconButton extends BaseIconButton implements AfterViewInit {\n\t/**\n\t * Pass global carbon classes to icon button\n\t */\n\t@Input() set buttonNgClass(obj: { [key: string]: boolean }) {\n\t\tthis.classList = Object.assign({ \"cds--btn--disabled\": this.disabled }, obj);\n\t}\n\n\tget buttonNgClass() {\n\t\treturn this.classList;\n\t}\n\n\t/**\n\t * @param obj: { [key: string]: string\n\t * User can pass additional button attributes if component property does not already exist\n\t * Key is the attribute name & value is the attribute value for the button\n\t */\n\t@Input() set buttonAttributes(obj: { [key: string]: string }) {\n\t\tif (this.button) {\n\t\t\t// Remove old attributes\n\t\t\tObject.keys(this.attributeList).forEach((key: string) => {\n\t\t\t\tthis.renderer.removeAttribute(this.button.nativeElement, key);\n\t\t\t});\n\t\t\t// Set new attributes\n\t\t\tObject.keys(obj).forEach((key: string) => {\n\t\t\t\tthis.renderer.setAttribute(this.button.nativeElement, key, obj[key]);\n\t\t\t});\n\t\t}\n\t\t// Set new attributes\n\t\tthis.attributeList = obj;\n\t}\n\n\tget buttonAttributes() {\n\t\treturn this.buttonAttributes;\n\t}\n\n\tstatic iconButtonCounter = 0;\n\n\t@ViewChild(\"button\") button: ElementRef;\n\n\t/**\n\t * Override id\n\t */\n\t@Input() buttonId = `icon-btn-${IconButton.iconButtonCounter++}`;\n\t/**\n\t * Sets the button type.\n\t */\n\t@Input() kind: ButtonType = \"primary\";\n\t/**\n\t * Specify the size of the button.\n\t */\n\t@Input() size: ButtonSize = \"lg\";\n\t/**\n\t * Set button type, `button` by default\n\t */\n\t@Input() type = \"button\";\n\t/**\n\t * Set to `true` to make button expressive\n\t */\n\t@Input() isExpressive = false;\n\t/**\n\t * Set to `true` to disable 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/**\n\t * Common button events\n\t */\n\t@Output() click = new EventEmitter<Event>();\n\t@Output() focus = new EventEmitter<Event>();\n\t@Output() blur = new EventEmitter<Event>();\n\t/**\n\t * Event to emit when click event is fired from tooltip\n\t */\n\t@Output() tooltipClick = new EventEmitter<Event>();\n\n\tprivate classList: { [key: string]: boolean } = {};\n\tprivate attributeList: { [key: string]: string } = {};\n\n\tconstructor(private renderer: Renderer2) {\n\t\tsuper();\n\t}\n\n\tngAfterViewInit(): void {\n\t\t// Set attributes once element is found\n\t\tthis.buttonAttributes = this.attributeList;\n\t}\n\n\t/**\n\t * Stop propogation of click event\n\t * Else double fires (click) event\n\t */\n\temitClickEvent(event, element: \"tooltip\" | \"button\" = \"button\") {\n\t\tevent.preventDefault();\n\t\tevent.stopPropagation();\n\t\t// Prevents (click) event from bubbling since it would appear user clicked the `button`\n\t\tif (element === \"tooltip\") {\n\t\t\tthis.tooltipClick.emit(event);\n\t\t\treturn;\n\t\t}\n\t\tthis.click.emit(event);\n\t}\n}\n",
|
|
33605
|
+
"sourceCode": "import {\n\tAfterViewInit,\n\tComponent,\n\tElementRef,\n\tEventEmitter,\n\tInput,\n\tOutput,\n\tRenderer2,\n\tTemplateRef,\n\tViewChild\n} from \"@angular/core\";\nimport { BaseIconButton } from \"./base-icon-button.component\";\nimport { ButtonSize, ButtonType } from \"./button.types\";\n\n/**\n * Get started with importing the module:\n *\n * ```typescript\n * import { ButtonModule } from 'carbon-components-angular';\n * ```\n *\n * [See demo](../../?path=/story/components-button-icon-button--basic)\n */\n@Component({\n\tselector: \"cds-icon-button, ibm-icon-button\",\n\ttemplate: `\n\t<cds-tooltip\n\t\tclass=\"cds--icon-tooltip\"\n\t\t[description]=\"description\"\n\t\t[disabled]=\"disabled\"\n\t\t[caret]=\"caret\"\n\t\t[dropShadow]=\"dropShadow\"\n\t\t[highContrast]=\"highContrast\"\n\t\t[isOpen]=\"isOpen\"\n\t\t[align]=\"align\"\n\t\t[autoAlign]=\"autoAlign\"\n\t\t[enterDelayMs]=\"enterDelayMs\"\n\t\t[leaveDelayMs]=\"leaveDelayMs\"\n\t\t(click)=\"emitClickEvent($event, 'tooltip')\">\n\t\t<button\n\t\t\t#button\n\t\t\t[id]=\"buttonId\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[attr.type]=\"type\"\n\t\t\t[iconOnly]=\"true\"\n\t\t\t[ngClass]=\"buttonNgClass\"\n\t\t\t[cdsButton]=\"kind\"\n\t\t\t[size]=\"size\"\n\t\t\t[isExpressive]=\"isExpressive\"\n\t\t\t(click)=\"emitClickEvent($event)\"\n\t\t\t(focus)=\"focus.emit($event)\"\n\t\t\t(blur)=\"blur.emit($event)\">\n\t\t\t<ng-content></ng-content>\n\t\t</button>\n\t</cds-tooltip>\n\t`\n})\nexport class IconButton extends BaseIconButton implements AfterViewInit {\n\t/**\n\t * Pass global carbon classes to icon button\n\t */\n\t@Input() set buttonNgClass(obj: { [key: string]: boolean }) {\n\t\tthis.classList = Object.assign({ \"cds--btn--disabled\": this.disabled }, obj);\n\t}\n\n\tget buttonNgClass() {\n\t\treturn this.classList;\n\t}\n\n\t/**\n\t * @param obj: { [key: string]: string\n\t * User can pass additional button attributes if component property does not already exist\n\t * Key is the attribute name & value is the attribute value for the button\n\t */\n\t@Input() set buttonAttributes(obj: { [key: string]: string }) {\n\t\tif (this.button) {\n\t\t\t// Remove old attributes\n\t\t\tObject.keys(this.attributeList).forEach((key: string) => {\n\t\t\t\tthis.renderer.removeAttribute(this.button.nativeElement, key);\n\t\t\t});\n\t\t\t// Set new attributes\n\t\t\tObject.keys(obj).forEach((key: string) => {\n\t\t\t\tthis.renderer.setAttribute(this.button.nativeElement, key, obj[key]);\n\t\t\t});\n\t\t}\n\t\t// Set new attributes\n\t\tthis.attributeList = obj;\n\t}\n\n\tget buttonAttributes() {\n\t\treturn this.buttonAttributes;\n\t}\n\n\tstatic iconButtonCounter = 0;\n\n\t@ViewChild(\"button\") button: ElementRef;\n\n\t/**\n\t * Override id\n\t */\n\t@Input() buttonId = `icon-btn-${IconButton.iconButtonCounter++}`;\n\t/**\n\t * Sets the button type.\n\t */\n\t@Input() kind: ButtonType = \"primary\";\n\t/**\n\t * Specify the size of the button.\n\t */\n\t@Input() size: ButtonSize = \"lg\";\n\t/**\n\t * Set button type, `button` by default\n\t */\n\t@Input() type = \"button\";\n\t/**\n\t * Set to `true` to make button expressive\n\t */\n\t@Input() isExpressive = false;\n\t/**\n\t * Set to `true` to disable 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/**\n\t * Common button events\n\t */\n\t@Output() click = new EventEmitter<Event>();\n\t@Output() focus = new EventEmitter<Event>();\n\t@Output() blur = new EventEmitter<Event>();\n\t/**\n\t * Event to emit when click event is fired from tooltip\n\t */\n\t@Output() tooltipClick = new EventEmitter<Event>();\n\n\tprivate classList: { [key: string]: boolean } = {};\n\tprivate attributeList: { [key: string]: string } = {};\n\n\tconstructor(private renderer: Renderer2) {\n\t\tsuper();\n\t}\n\n\tngAfterViewInit(): void {\n\t\t// Set attributes once element is found\n\t\tthis.buttonAttributes = this.attributeList;\n\t}\n\n\t/**\n\t * Stop propogation of click event\n\t * Else double fires (click) event\n\t */\n\temitClickEvent(event, element: \"tooltip\" | \"button\" = \"button\") {\n\t\tevent.preventDefault();\n\t\tevent.stopPropagation();\n\t\t// Prevents (click) event from bubbling since it would appear user clicked the `button`\n\t\tif (element === \"tooltip\") {\n\t\t\tthis.tooltipClick.emit(event);\n\t\t\treturn;\n\t\t}\n\t\tthis.click.emit(event);\n\t}\n}\n",
|
|
33553
33606
|
"assetsDirs": [],
|
|
33554
33607
|
"styleUrlsData": "",
|
|
33555
33608
|
"stylesData": "",
|
|
@@ -33566,7 +33619,7 @@
|
|
|
33566
33619
|
"deprecationMessage": ""
|
|
33567
33620
|
}
|
|
33568
33621
|
],
|
|
33569
|
-
"line":
|
|
33622
|
+
"line": 139,
|
|
33570
33623
|
"jsdoctags": [
|
|
33571
33624
|
{
|
|
33572
33625
|
"name": "renderer",
|
|
@@ -33600,7 +33653,7 @@
|
|
|
33600
33653
|
}
|
|
33601
33654
|
],
|
|
33602
33655
|
"returnType": "void",
|
|
33603
|
-
"line":
|
|
33656
|
+
"line": 62,
|
|
33604
33657
|
"rawdescription": "\n\nPass global carbon classes to icon button\n",
|
|
33605
33658
|
"description": "<p>Pass global carbon classes to icon button</p>\n",
|
|
33606
33659
|
"jsdoctags": [
|
|
@@ -33619,7 +33672,7 @@
|
|
|
33619
33672
|
"name": "buttonNgClass",
|
|
33620
33673
|
"type": "",
|
|
33621
33674
|
"returnType": "",
|
|
33622
|
-
"line":
|
|
33675
|
+
"line": 66
|
|
33623
33676
|
}
|
|
33624
33677
|
},
|
|
33625
33678
|
"buttonAttributes": {
|
|
@@ -33638,14 +33691,14 @@
|
|
|
33638
33691
|
}
|
|
33639
33692
|
],
|
|
33640
33693
|
"returnType": "void",
|
|
33641
|
-
"line":
|
|
33694
|
+
"line": 75,
|
|
33642
33695
|
"rawdescription": "\n\nUser can pass additional button attributes if component property does not already exist\nKey is the attribute name & value is the attribute value for the button\n",
|
|
33643
33696
|
"description": "<p>User can pass additional button attributes if component property does not already exist\nKey is the attribute name & value is the attribute value for the button</p>\n",
|
|
33644
33697
|
"jsdoctags": [
|
|
33645
33698
|
{
|
|
33646
33699
|
"name": {
|
|
33647
|
-
"pos":
|
|
33648
|
-
"end":
|
|
33700
|
+
"pos": 1614,
|
|
33701
|
+
"end": 1617,
|
|
33649
33702
|
"flags": 8421376,
|
|
33650
33703
|
"modifierFlagsCache": 0,
|
|
33651
33704
|
"transformFlags": 0,
|
|
@@ -33656,8 +33709,8 @@
|
|
|
33656
33709
|
"deprecated": false,
|
|
33657
33710
|
"deprecationMessage": "",
|
|
33658
33711
|
"tagName": {
|
|
33659
|
-
"pos":
|
|
33660
|
-
"end":
|
|
33712
|
+
"pos": 1608,
|
|
33713
|
+
"end": 1613,
|
|
33661
33714
|
"flags": 8421376,
|
|
33662
33715
|
"modifierFlagsCache": 0,
|
|
33663
33716
|
"transformFlags": 0,
|
|
@@ -33672,7 +33725,7 @@
|
|
|
33672
33725
|
"name": "buttonAttributes",
|
|
33673
33726
|
"type": "",
|
|
33674
33727
|
"returnType": "",
|
|
33675
|
-
"line":
|
|
33728
|
+
"line": 90
|
|
33676
33729
|
}
|
|
33677
33730
|
}
|
|
33678
33731
|
}
|
|
@@ -63164,7 +63217,7 @@
|
|
|
63164
63217
|
},
|
|
63165
63218
|
{
|
|
63166
63219
|
"name": "Tooltip",
|
|
63167
|
-
"id": "component-Tooltip-
|
|
63220
|
+
"id": "component-Tooltip-b05f70d91e0b1e4e7996f80176a7fa35743d84f421794ac0b0bcbd9890bea0f7563afa1aee0c07f0759c6d4d618679d25249ddcff9135e610623d85138f11f7d",
|
|
63168
63221
|
"file": "src/tooltip/tooltip.component.ts",
|
|
63169
63222
|
"changeDetection": "ChangeDetectionStrategy.OnPush",
|
|
63170
63223
|
"encapsulation": [],
|
|
@@ -63175,7 +63228,7 @@
|
|
|
63175
63228
|
"selector": "cds-tooltip, ibm-tooltip",
|
|
63176
63229
|
"styleUrls": [],
|
|
63177
63230
|
"styles": [],
|
|
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",
|
|
63231
|
+
"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\" [ngTemplateOutletContext]=\"{ $implicit: templateContext }\"></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",
|
|
63179
63232
|
"templateUrl": [],
|
|
63180
63233
|
"viewProviders": [],
|
|
63181
63234
|
"hostDirectives": [],
|
|
@@ -63232,6 +63285,16 @@
|
|
|
63232
63285
|
"type": "number",
|
|
63233
63286
|
"decorators": []
|
|
63234
63287
|
},
|
|
63288
|
+
{
|
|
63289
|
+
"name": "templateContext",
|
|
63290
|
+
"deprecated": false,
|
|
63291
|
+
"deprecationMessage": "",
|
|
63292
|
+
"rawdescription": "\n\nOptional data for templates passed as implicit context\n",
|
|
63293
|
+
"description": "<p>Optional data for templates passed as implicit context</p>\n",
|
|
63294
|
+
"line": 75,
|
|
63295
|
+
"type": "any",
|
|
63296
|
+
"decorators": []
|
|
63297
|
+
},
|
|
63235
63298
|
{
|
|
63236
63299
|
"name": "align",
|
|
63237
63300
|
"deprecated": false,
|
|
@@ -63395,7 +63458,7 @@
|
|
|
63395
63458
|
"type": "ElementRef<HTMLSpanElement>",
|
|
63396
63459
|
"optional": false,
|
|
63397
63460
|
"description": "",
|
|
63398
|
-
"line":
|
|
63461
|
+
"line": 77,
|
|
63399
63462
|
"decorators": [
|
|
63400
63463
|
{
|
|
63401
63464
|
"name": "ViewChild",
|
|
@@ -63472,7 +63535,7 @@
|
|
|
63472
63535
|
"optional": false,
|
|
63473
63536
|
"returnType": "void",
|
|
63474
63537
|
"typeParameters": [],
|
|
63475
|
-
"line":
|
|
63538
|
+
"line": 114,
|
|
63476
63539
|
"deprecated": false,
|
|
63477
63540
|
"deprecationMessage": "",
|
|
63478
63541
|
"decorators": [
|
|
@@ -63509,7 +63572,7 @@
|
|
|
63509
63572
|
"optional": false,
|
|
63510
63573
|
"returnType": "void",
|
|
63511
63574
|
"typeParameters": [],
|
|
63512
|
-
"line":
|
|
63575
|
+
"line": 119,
|
|
63513
63576
|
"deprecated": false,
|
|
63514
63577
|
"deprecationMessage": "",
|
|
63515
63578
|
"decorators": [
|
|
@@ -63546,7 +63609,7 @@
|
|
|
63546
63609
|
"optional": false,
|
|
63547
63610
|
"returnType": "void",
|
|
63548
63611
|
"typeParameters": [],
|
|
63549
|
-
"line":
|
|
63612
|
+
"line": 105,
|
|
63550
63613
|
"deprecated": false,
|
|
63551
63614
|
"deprecationMessage": "",
|
|
63552
63615
|
"decorators": [
|
|
@@ -63583,7 +63646,7 @@
|
|
|
63583
63646
|
"optional": false,
|
|
63584
63647
|
"returnType": "boolean",
|
|
63585
63648
|
"typeParameters": [],
|
|
63586
|
-
"line":
|
|
63649
|
+
"line": 123,
|
|
63587
63650
|
"deprecated": false,
|
|
63588
63651
|
"deprecationMessage": "",
|
|
63589
63652
|
"jsdoctags": [
|
|
@@ -63611,7 +63674,7 @@
|
|
|
63611
63674
|
"optional": false,
|
|
63612
63675
|
"returnType": "void",
|
|
63613
63676
|
"typeParameters": [],
|
|
63614
|
-
"line":
|
|
63677
|
+
"line": 91,
|
|
63615
63678
|
"deprecated": false,
|
|
63616
63679
|
"deprecationMessage": "",
|
|
63617
63680
|
"decorators": [
|
|
@@ -63648,7 +63711,7 @@
|
|
|
63648
63711
|
"optional": false,
|
|
63649
63712
|
"returnType": "void",
|
|
63650
63713
|
"typeParameters": [],
|
|
63651
|
-
"line":
|
|
63714
|
+
"line": 98,
|
|
63652
63715
|
"deprecated": false,
|
|
63653
63716
|
"deprecationMessage": "",
|
|
63654
63717
|
"decorators": [
|
|
@@ -63933,7 +63996,7 @@
|
|
|
63933
63996
|
],
|
|
63934
63997
|
"deprecated": false,
|
|
63935
63998
|
"deprecationMessage": "",
|
|
63936
|
-
"line":
|
|
63999
|
+
"line": 114
|
|
63937
64000
|
},
|
|
63938
64001
|
{
|
|
63939
64002
|
"name": "focusout",
|
|
@@ -63950,7 +64013,7 @@
|
|
|
63950
64013
|
],
|
|
63951
64014
|
"deprecated": false,
|
|
63952
64015
|
"deprecationMessage": "",
|
|
63953
|
-
"line":
|
|
64016
|
+
"line": 119
|
|
63954
64017
|
},
|
|
63955
64018
|
{
|
|
63956
64019
|
"name": "keyup",
|
|
@@ -63967,7 +64030,7 @@
|
|
|
63967
64030
|
],
|
|
63968
64031
|
"deprecated": false,
|
|
63969
64032
|
"deprecationMessage": "",
|
|
63970
|
-
"line":
|
|
64033
|
+
"line": 105
|
|
63971
64034
|
},
|
|
63972
64035
|
{
|
|
63973
64036
|
"name": "mouseenter",
|
|
@@ -63984,7 +64047,7 @@
|
|
|
63984
64047
|
],
|
|
63985
64048
|
"deprecated": false,
|
|
63986
64049
|
"deprecationMessage": "",
|
|
63987
|
-
"line":
|
|
64050
|
+
"line": 91
|
|
63988
64051
|
},
|
|
63989
64052
|
{
|
|
63990
64053
|
"name": "mouseleave",
|
|
@@ -64001,7 +64064,7 @@
|
|
|
64001
64064
|
],
|
|
64002
64065
|
"deprecated": false,
|
|
64003
64066
|
"deprecationMessage": "",
|
|
64004
|
-
"line":
|
|
64067
|
+
"line": 98
|
|
64005
64068
|
}
|
|
64006
64069
|
],
|
|
64007
64070
|
"standalone": false,
|
|
@@ -64009,7 +64072,7 @@
|
|
|
64009
64072
|
"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",
|
|
64010
64073
|
"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",
|
|
64011
64074
|
"type": "component",
|
|
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",
|
|
64075
|
+
"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\" [ngTemplateOutletContext]=\"{ $implicit: templateContext }\"></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\t/**\n\t * Optional data for templates passed as implicit context\n\t */\n\t@Input() templateContext: 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",
|
|
64013
64076
|
"assetsDirs": [],
|
|
64014
64077
|
"styleUrlsData": "",
|
|
64015
64078
|
"stylesData": "",
|
|
@@ -64044,7 +64107,7 @@
|
|
|
64044
64107
|
"deprecationMessage": ""
|
|
64045
64108
|
}
|
|
64046
64109
|
],
|
|
64047
|
-
"line":
|
|
64110
|
+
"line": 77,
|
|
64048
64111
|
"jsdoctags": [
|
|
64049
64112
|
{
|
|
64050
64113
|
"name": "elementRef",
|
|
@@ -64091,7 +64154,7 @@
|
|
|
64091
64154
|
},
|
|
64092
64155
|
{
|
|
64093
64156
|
"name": "TooltipDefinition",
|
|
64094
|
-
"id": "component-TooltipDefinition-
|
|
64157
|
+
"id": "component-TooltipDefinition-497ddf91eb2cc40f47373ab8f5b2a360a01346eed31f64a9e6f25d4b96c646a0318b773a06ca987b7f96f518e9c37fbf380f9edfcce919c0a5ee220b32836c08",
|
|
64095
64158
|
"file": "src/tooltip/definition-tooptip.component.ts",
|
|
64096
64159
|
"changeDetection": "ChangeDetectionStrategy.OnPush",
|
|
64097
64160
|
"encapsulation": [],
|
|
@@ -64102,7 +64165,7 @@
|
|
|
64102
64165
|
"selector": "cds-tooltip-definition, ibm-tooltip-definition",
|
|
64103
64166
|
"styleUrls": [],
|
|
64104
64167
|
"styles": [],
|
|
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",
|
|
64168
|
+
"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\" [ngTemplateOutletContext]=\"{ $implicit: templateContext }\"></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",
|
|
64106
64169
|
"templateUrl": [],
|
|
64107
64170
|
"viewProviders": [],
|
|
64108
64171
|
"hostDirectives": [],
|
|
@@ -64126,6 +64189,16 @@
|
|
|
64126
64189
|
"type": "string",
|
|
64127
64190
|
"decorators": []
|
|
64128
64191
|
},
|
|
64192
|
+
{
|
|
64193
|
+
"name": "templateContext",
|
|
64194
|
+
"deprecated": false,
|
|
64195
|
+
"deprecationMessage": "",
|
|
64196
|
+
"rawdescription": "\n\nOptional data for templates passed as implicit context\n",
|
|
64197
|
+
"description": "<p>Optional data for templates passed as implicit context</p>\n",
|
|
64198
|
+
"line": 63,
|
|
64199
|
+
"type": "any",
|
|
64200
|
+
"decorators": []
|
|
64201
|
+
},
|
|
64129
64202
|
{
|
|
64130
64203
|
"name": "align",
|
|
64131
64204
|
"deprecated": false,
|
|
@@ -64329,7 +64402,7 @@
|
|
|
64329
64402
|
"optional": false,
|
|
64330
64403
|
"returnType": "void",
|
|
64331
64404
|
"typeParameters": [],
|
|
64332
|
-
"line":
|
|
64405
|
+
"line": 85,
|
|
64333
64406
|
"deprecated": false,
|
|
64334
64407
|
"deprecationMessage": "",
|
|
64335
64408
|
"decorators": [
|
|
@@ -64366,7 +64439,7 @@
|
|
|
64366
64439
|
"optional": false,
|
|
64367
64440
|
"returnType": "boolean",
|
|
64368
64441
|
"typeParameters": [],
|
|
64369
|
-
"line":
|
|
64442
|
+
"line": 97,
|
|
64370
64443
|
"deprecated": false,
|
|
64371
64444
|
"deprecationMessage": "",
|
|
64372
64445
|
"modifierKind": [
|
|
@@ -64397,7 +64470,7 @@
|
|
|
64397
64470
|
"optional": false,
|
|
64398
64471
|
"returnType": "void",
|
|
64399
64472
|
"typeParameters": [],
|
|
64400
|
-
"line":
|
|
64473
|
+
"line": 93,
|
|
64401
64474
|
"deprecated": false,
|
|
64402
64475
|
"deprecationMessage": "",
|
|
64403
64476
|
"decorators": [
|
|
@@ -64434,7 +64507,7 @@
|
|
|
64434
64507
|
"optional": false,
|
|
64435
64508
|
"returnType": "void",
|
|
64436
64509
|
"typeParameters": [],
|
|
64437
|
-
"line":
|
|
64510
|
+
"line": 76,
|
|
64438
64511
|
"deprecated": false,
|
|
64439
64512
|
"deprecationMessage": "",
|
|
64440
64513
|
"jsdoctags": [
|
|
@@ -64462,7 +64535,7 @@
|
|
|
64462
64535
|
"optional": false,
|
|
64463
64536
|
"returnType": "void",
|
|
64464
64537
|
"typeParameters": [],
|
|
64465
|
-
"line":
|
|
64538
|
+
"line": 80,
|
|
64466
64539
|
"deprecated": false,
|
|
64467
64540
|
"deprecationMessage": "",
|
|
64468
64541
|
"jsdoctags": [
|
|
@@ -64729,7 +64802,7 @@
|
|
|
64729
64802
|
],
|
|
64730
64803
|
"deprecated": false,
|
|
64731
64804
|
"deprecationMessage": "",
|
|
64732
|
-
"line":
|
|
64805
|
+
"line": 85
|
|
64733
64806
|
},
|
|
64734
64807
|
{
|
|
64735
64808
|
"name": "mouseleave",
|
|
@@ -64746,7 +64819,7 @@
|
|
|
64746
64819
|
],
|
|
64747
64820
|
"deprecated": false,
|
|
64748
64821
|
"deprecationMessage": "",
|
|
64749
|
-
"line":
|
|
64822
|
+
"line": 93
|
|
64750
64823
|
}
|
|
64751
64824
|
],
|
|
64752
64825
|
"standalone": false,
|
|
@@ -64754,7 +64827,7 @@
|
|
|
64754
64827
|
"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",
|
|
64755
64828
|
"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",
|
|
64756
64829
|
"type": "component",
|
|
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",
|
|
64830
|
+
"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\" [ngTemplateOutletContext]=\"{ $implicit: templateContext }\"></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\t/**\n\t * Optional data for templates passed as implicit context\n\t */\n\t@Input() templateContext: 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",
|
|
64758
64831
|
"assetsDirs": [],
|
|
64759
64832
|
"styleUrlsData": "",
|
|
64760
64833
|
"stylesData": "",
|
|
@@ -64789,7 +64862,7 @@
|
|
|
64789
64862
|
"deprecationMessage": ""
|
|
64790
64863
|
}
|
|
64791
64864
|
],
|
|
64792
|
-
"line":
|
|
64865
|
+
"line": 63,
|
|
64793
64866
|
"jsdoctags": [
|
|
64794
64867
|
{
|
|
64795
64868
|
"name": "elementRef",
|
|
@@ -69336,6 +69409,16 @@
|
|
|
69336
69409
|
"type": "object",
|
|
69337
69410
|
"defaultValue": "{\n\tprovide: AnimationFrameServiceSingleton,\n\tdeps: [[new Optional(), new SkipSelf(), AnimationFrameServiceSingleton], NgZone],\n\tuseFactory: ANIMATION_FRAME_SERVICE_SINGLETON_PROVIDER_FACTORY\n}"
|
|
69338
69411
|
},
|
|
69412
|
+
{
|
|
69413
|
+
"name": "AutoAlignTemplate",
|
|
69414
|
+
"ctype": "miscellaneous",
|
|
69415
|
+
"subtype": "variable",
|
|
69416
|
+
"file": "src/button/icon-button.stories.ts",
|
|
69417
|
+
"deprecated": false,
|
|
69418
|
+
"deprecationMessage": "",
|
|
69419
|
+
"type": "",
|
|
69420
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"height:3000px\">\n\t\t\tScrolling will update the position of the tooltip:\n\t\t\t<div style=\"position: absolute; top: 500px; left: 500px;\">\n\t\t\t\t<cds-icon-button\n\t\t\t\t\tbuttonId=\"icon-btn1\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t[kind]=\"kind\"\n\t\t\t\t\t[size]=\"size\"\n\t\t\t\t\t[align]=\"align\"\n\t\t\t\t\t[autoAlign]=\"autoAlign\"\n\t\t\t\t\t[isOpen]=\"isOpen\"\n\t\t\t\t\t[buttonNgClass]=\"buttonNgClass\"\n\t\t\t\t\t[buttonAttributes]=\"buttonAttributes\"\n\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t[description]=\"description\"\n\t\t\t\t\t(click)=\"onClick($event)\"\n\t\t\t\t\t(mouseenter)=\"onMouseEnter($event)\"\n\t\t\t\t\t(mouseleave)=\"onMouseleave($event)\"\n\t\t\t\t\t(focus)=\"onFocus($event)\"\n\t\t\t\t\t(blur)=\"onBlur($event)\">\n\t\t\t\t\t<svg class=\"cds--btn__icon\" cdsIcon=\"copy\" size=\"16\"></svg>\n\t\t\t\t</cds-icon-button>\n\t\t\t</div>\n\t\t</div>\n\t`\n})"
|
|
69421
|
+
},
|
|
69339
69422
|
{
|
|
69340
69423
|
"name": "AutoAlignTemplate",
|
|
69341
69424
|
"ctype": "miscellaneous",
|
|
@@ -72840,6 +72923,16 @@
|
|
|
72840
72923
|
"type": "",
|
|
72841
72924
|
"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})"
|
|
72842
72925
|
},
|
|
72926
|
+
{
|
|
72927
|
+
"name": "WithAutoAlign",
|
|
72928
|
+
"ctype": "miscellaneous",
|
|
72929
|
+
"subtype": "variable",
|
|
72930
|
+
"file": "src/button/icon-button.stories.ts",
|
|
72931
|
+
"deprecated": false,
|
|
72932
|
+
"deprecationMessage": "",
|
|
72933
|
+
"type": "",
|
|
72934
|
+
"defaultValue": "AutoAlignTemplate.bind({})"
|
|
72935
|
+
},
|
|
72843
72936
|
{
|
|
72844
72937
|
"name": "WithAutoAlign",
|
|
72845
72938
|
"ctype": "miscellaneous",
|
|
@@ -75378,6 +75471,48 @@
|
|
|
75378
75471
|
"defaultValue": "{\n\tprovide: DocumentService,\n\tdeps: [[new Optional(), new SkipSelf(), DocumentService]],\n\tuseFactory: DOCUMENT_SERVICE_PROVIDER_FACTORY\n}"
|
|
75379
75472
|
}
|
|
75380
75473
|
],
|
|
75474
|
+
"src/button/icon-button.stories.ts": [
|
|
75475
|
+
{
|
|
75476
|
+
"name": "AutoAlignTemplate",
|
|
75477
|
+
"ctype": "miscellaneous",
|
|
75478
|
+
"subtype": "variable",
|
|
75479
|
+
"file": "src/button/icon-button.stories.ts",
|
|
75480
|
+
"deprecated": false,
|
|
75481
|
+
"deprecationMessage": "",
|
|
75482
|
+
"type": "",
|
|
75483
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<div style=\"height:3000px\">\n\t\t\tScrolling will update the position of the tooltip:\n\t\t\t<div style=\"position: absolute; top: 500px; left: 500px;\">\n\t\t\t\t<cds-icon-button\n\t\t\t\t\tbuttonId=\"icon-btn1\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t[kind]=\"kind\"\n\t\t\t\t\t[size]=\"size\"\n\t\t\t\t\t[align]=\"align\"\n\t\t\t\t\t[autoAlign]=\"autoAlign\"\n\t\t\t\t\t[isOpen]=\"isOpen\"\n\t\t\t\t\t[buttonNgClass]=\"buttonNgClass\"\n\t\t\t\t\t[buttonAttributes]=\"buttonAttributes\"\n\t\t\t\t\t[disabled]=\"disabled\"\n\t\t\t\t\t[description]=\"description\"\n\t\t\t\t\t(click)=\"onClick($event)\"\n\t\t\t\t\t(mouseenter)=\"onMouseEnter($event)\"\n\t\t\t\t\t(mouseleave)=\"onMouseleave($event)\"\n\t\t\t\t\t(focus)=\"onFocus($event)\"\n\t\t\t\t\t(blur)=\"onBlur($event)\">\n\t\t\t\t\t<svg class=\"cds--btn__icon\" cdsIcon=\"copy\" size=\"16\"></svg>\n\t\t\t\t</cds-icon-button>\n\t\t\t</div>\n\t\t</div>\n\t`\n})"
|
|
75484
|
+
},
|
|
75485
|
+
{
|
|
75486
|
+
"name": "Basic",
|
|
75487
|
+
"ctype": "miscellaneous",
|
|
75488
|
+
"subtype": "variable",
|
|
75489
|
+
"file": "src/button/icon-button.stories.ts",
|
|
75490
|
+
"deprecated": false,
|
|
75491
|
+
"deprecationMessage": "",
|
|
75492
|
+
"type": "",
|
|
75493
|
+
"defaultValue": "Template.bind({})"
|
|
75494
|
+
},
|
|
75495
|
+
{
|
|
75496
|
+
"name": "Template",
|
|
75497
|
+
"ctype": "miscellaneous",
|
|
75498
|
+
"subtype": "variable",
|
|
75499
|
+
"file": "src/button/icon-button.stories.ts",
|
|
75500
|
+
"deprecated": false,
|
|
75501
|
+
"deprecationMessage": "",
|
|
75502
|
+
"type": "",
|
|
75503
|
+
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-icon-button\n\t\t\tbuttonId=\"icon-btn1\"\n\t\t\ttype=\"button\"\n\t\t\t[kind]=\"kind\"\n\t\t\t[size]=\"size\"\n\t\t\t[align]=\"align\"\n\t\t\t[buttonNgClass]=\"buttonNgClass\"\n\t\t\t[buttonAttributes]=\"buttonAttributes\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\tdescription=\"Icon Description\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\t(mouseenter)=\"onMouseEnter($event)\"\n\t\t\t(mouseleave)=\"onMouseleave($event)\"\n\t\t\t(focus)=\"onFocus($event)\"\n\t\t\t(blur)=\"onBlur($event)\">\n\t\t\t<svg class=\"cds--btn__icon\" cdsIcon=\"copy\" size=\"16\"></svg>\n\t\t</cds-icon-button>\n\t`\n})"
|
|
75504
|
+
},
|
|
75505
|
+
{
|
|
75506
|
+
"name": "WithAutoAlign",
|
|
75507
|
+
"ctype": "miscellaneous",
|
|
75508
|
+
"subtype": "variable",
|
|
75509
|
+
"file": "src/button/icon-button.stories.ts",
|
|
75510
|
+
"deprecated": false,
|
|
75511
|
+
"deprecationMessage": "",
|
|
75512
|
+
"type": "",
|
|
75513
|
+
"defaultValue": "AutoAlignTemplate.bind({})"
|
|
75514
|
+
}
|
|
75515
|
+
],
|
|
75381
75516
|
"src/popover/popover.stories.ts": [
|
|
75382
75517
|
{
|
|
75383
75518
|
"name": "AutoAlignTemplate",
|
|
@@ -76015,28 +76150,6 @@
|
|
|
76015
76150
|
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<button\n\t\t\t[cdsButton]=\"kind\"\n\t\t\t[size]=\"size\"\n\t\t\t[isExpressive]=\"isExpressive\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\t(mouseenter)=\"onMouseEnter($event)\"\n\t\t\t(mouseleave)=\"onMouseleave($event)\"\n\t\t\t(focus)=\"onFocus($event)\"\n\t\t\t(blur)=\"onBlur($event)\">\n\t\t\tWith icon\n\t\t\t<svg class=\"cds--btn__icon\" cdsIcon=\"add\" size=\"16\"></svg>\n\t\t</button>\n\t`\n})"
|
|
76016
76151
|
}
|
|
76017
76152
|
],
|
|
76018
|
-
"src/button/icon-button.stories.ts": [
|
|
76019
|
-
{
|
|
76020
|
-
"name": "Basic",
|
|
76021
|
-
"ctype": "miscellaneous",
|
|
76022
|
-
"subtype": "variable",
|
|
76023
|
-
"file": "src/button/icon-button.stories.ts",
|
|
76024
|
-
"deprecated": false,
|
|
76025
|
-
"deprecationMessage": "",
|
|
76026
|
-
"type": "",
|
|
76027
|
-
"defaultValue": "Template.bind({})"
|
|
76028
|
-
},
|
|
76029
|
-
{
|
|
76030
|
-
"name": "Template",
|
|
76031
|
-
"ctype": "miscellaneous",
|
|
76032
|
-
"subtype": "variable",
|
|
76033
|
-
"file": "src/button/icon-button.stories.ts",
|
|
76034
|
-
"deprecated": false,
|
|
76035
|
-
"deprecationMessage": "",
|
|
76036
|
-
"type": "",
|
|
76037
|
-
"defaultValue": "(args) => ({\n\tprops: args,\n\ttemplate: `\n\t\t<cds-icon-button\n\t\t\tbuttonId=\"icon-btn1\"\n\t\t\ttype=\"button\"\n\t\t\t[kind]=\"kind\"\n\t\t\t[size]=\"size\"\n\t\t\t[align]=\"align\"\n\t\t\t[buttonNgClass]=\"buttonNgClass\"\n\t\t\t[buttonAttributes]=\"buttonAttributes\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\tdescription=\"Icon Description\"\n\t\t\t(click)=\"onClick($event)\"\n\t\t\t(mouseenter)=\"onMouseEnter($event)\"\n\t\t\t(mouseleave)=\"onMouseleave($event)\"\n\t\t\t(focus)=\"onFocus($event)\"\n\t\t\t(blur)=\"onBlur($event)\">\n\t\t\t<svg class=\"cds--btn__icon\" cdsIcon=\"copy\" size=\"16\"></svg>\n\t\t</cds-icon-button>\n\t`\n})"
|
|
76038
|
-
}
|
|
76039
|
-
],
|
|
76040
76153
|
"src/checkbox/checkbox.stories.ts": [
|
|
76041
76154
|
{
|
|
76042
76155
|
"name": "Basic",
|
|
@@ -81034,7 +81147,7 @@
|
|
|
81034
81147
|
"linktype": "component",
|
|
81035
81148
|
"name": "BaseIconButton",
|
|
81036
81149
|
"coveragePercent": 100,
|
|
81037
|
-
"coverageCount": "
|
|
81150
|
+
"coverageCount": "9/9",
|
|
81038
81151
|
"status": "very-good"
|
|
81039
81152
|
},
|
|
81040
81153
|
{
|
|
@@ -81121,9 +81234,19 @@
|
|
|
81121
81234
|
"linktype": "component",
|
|
81122
81235
|
"name": "IconButton",
|
|
81123
81236
|
"coveragePercent": 76,
|
|
81124
|
-
"coverageCount": "
|
|
81237
|
+
"coverageCount": "20/26",
|
|
81125
81238
|
"status": "very-good"
|
|
81126
81239
|
},
|
|
81240
|
+
{
|
|
81241
|
+
"filePath": "src/button/icon-button.stories.ts",
|
|
81242
|
+
"type": "variable",
|
|
81243
|
+
"linktype": "miscellaneous",
|
|
81244
|
+
"linksubtype": "variable",
|
|
81245
|
+
"name": "AutoAlignTemplate",
|
|
81246
|
+
"coveragePercent": 0,
|
|
81247
|
+
"coverageCount": "0/1",
|
|
81248
|
+
"status": "low"
|
|
81249
|
+
},
|
|
81127
81250
|
{
|
|
81128
81251
|
"filePath": "src/button/icon-button.stories.ts",
|
|
81129
81252
|
"type": "variable",
|
|
@@ -81144,6 +81267,16 @@
|
|
|
81144
81267
|
"coverageCount": "0/1",
|
|
81145
81268
|
"status": "low"
|
|
81146
81269
|
},
|
|
81270
|
+
{
|
|
81271
|
+
"filePath": "src/button/icon-button.stories.ts",
|
|
81272
|
+
"type": "variable",
|
|
81273
|
+
"linktype": "miscellaneous",
|
|
81274
|
+
"linksubtype": "variable",
|
|
81275
|
+
"name": "WithAutoAlign",
|
|
81276
|
+
"coveragePercent": 0,
|
|
81277
|
+
"coverageCount": "0/1",
|
|
81278
|
+
"status": "low"
|
|
81279
|
+
},
|
|
81147
81280
|
{
|
|
81148
81281
|
"filePath": "src/checkbox/checkbox-exported-tests.ts",
|
|
81149
81282
|
"type": "class",
|
|
@@ -81246,8 +81379,8 @@
|
|
|
81246
81379
|
"type": "component",
|
|
81247
81380
|
"linktype": "component",
|
|
81248
81381
|
"name": "CodeSnippet",
|
|
81249
|
-
"coveragePercent":
|
|
81250
|
-
"coverageCount": "
|
|
81382
|
+
"coveragePercent": 45,
|
|
81383
|
+
"coverageCount": "21/46",
|
|
81251
81384
|
"status": "medium"
|
|
81252
81385
|
},
|
|
81253
81386
|
{
|
|
@@ -86615,8 +86748,8 @@
|
|
|
86615
86748
|
"type": "component",
|
|
86616
86749
|
"linktype": "component",
|
|
86617
86750
|
"name": "TooltipDefinition",
|
|
86618
|
-
"coveragePercent":
|
|
86619
|
-
"coverageCount": "
|
|
86751
|
+
"coveragePercent": 46,
|
|
86752
|
+
"coverageCount": "15/32",
|
|
86620
86753
|
"status": "medium"
|
|
86621
86754
|
},
|
|
86622
86755
|
{
|
|
@@ -86664,8 +86797,8 @@
|
|
|
86664
86797
|
"type": "component",
|
|
86665
86798
|
"linktype": "component",
|
|
86666
86799
|
"name": "Tooltip",
|
|
86667
|
-
"coveragePercent":
|
|
86668
|
-
"coverageCount": "
|
|
86800
|
+
"coveragePercent": 42,
|
|
86801
|
+
"coverageCount": "18/42",
|
|
86669
86802
|
"status": "medium"
|
|
86670
86803
|
},
|
|
86671
86804
|
{
|
|
@@ -86876,8 +87009,8 @@
|
|
|
86876
87009
|
"type": "component",
|
|
86877
87010
|
"linktype": "component",
|
|
86878
87011
|
"name": "HeaderAction",
|
|
86879
|
-
"coveragePercent":
|
|
86880
|
-
"coverageCount": "
|
|
87012
|
+
"coveragePercent": 93,
|
|
87013
|
+
"coverageCount": "14/15",
|
|
86881
87014
|
"status": "very-good"
|
|
86882
87015
|
},
|
|
86883
87016
|
{
|