@ukic/docs 2.8.0 → 2.9.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.
Files changed (3) hide show
  1. package/docs.d.ts +1 -21
  2. package/docs.json +253 -39
  3. package/package.json +2 -2
package/docs.d.ts CHANGED
@@ -60,30 +60,10 @@ interface ComponentCompilerEventComplexType {
60
60
  }
61
61
  interface ComponentCompilerMethodComplexType {
62
62
  signature: string;
63
- parameters: CompilerJsDoc[];
63
+ parameters: JsonDocMethodParameter[];
64
64
  references: ComponentCompilerTypeReferences;
65
65
  return: string;
66
66
  }
67
- interface CompilerJsDoc {
68
- /**
69
- * The text associated with the JSDoc
70
- */
71
- text: string;
72
- /**
73
- * Tags included in the JSDoc
74
- */
75
- tags: CompilerJsDocTagInfo[];
76
- }
77
- interface CompilerJsDocTagInfo {
78
- /**
79
- * The name of the tag - e.g. `@deprecated`
80
- */
81
- name: string;
82
- /**
83
- * Additional text that is associated with the tag - e.g. `@deprecated use v2 of this API`
84
- */
85
- text?: string;
86
- }
87
67
  /**
88
68
  * The Type Library holds information about the types which are used in a
89
69
  * Stencil project. During compilation, Stencil gathers information about the
package/docs.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "timestamp": "2023-12-08T14:47:48",
2
+ "timestamp": "2024-01-22T11:57:10",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.3.0",
6
- "typescriptVersion": "5.1.6"
5
+ "version": "4.9.0",
6
+ "typescriptVersion": "5.2.2"
7
7
  },
8
8
  "components": [
9
9
  {
@@ -1204,6 +1204,43 @@
1204
1204
  "docsTags": [],
1205
1205
  "usage": {},
1206
1206
  "props": [
1207
+ {
1208
+ "name": "appearance",
1209
+ "type": "\"dark\" | \"default\" | \"light\"",
1210
+ "complexType": {
1211
+ "original": "IcThemeForeground",
1212
+ "resolved": "\"dark\" | \"default\" | \"light\"",
1213
+ "references": {
1214
+ "IcThemeForeground": {
1215
+ "location": "import",
1216
+ "path": "../../utils/types",
1217
+ "id": "src/utils/types.ts::IcThemeForeground"
1218
+ }
1219
+ }
1220
+ },
1221
+ "mutable": false,
1222
+ "attr": "appearance",
1223
+ "reflectToAttr": false,
1224
+ "docs": "The appearance of the breadcrumb group.",
1225
+ "docsTags": [],
1226
+ "default": "\"default\"",
1227
+ "values": [
1228
+ {
1229
+ "value": "dark",
1230
+ "type": "string"
1231
+ },
1232
+ {
1233
+ "value": "default",
1234
+ "type": "string"
1235
+ },
1236
+ {
1237
+ "value": "light",
1238
+ "type": "string"
1239
+ }
1240
+ ],
1241
+ "optional": false,
1242
+ "required": false
1243
+ },
1207
1244
  {
1208
1245
  "name": "backBreadcrumbOnly",
1209
1246
  "type": "boolean",
@@ -1400,6 +1437,50 @@
1400
1437
  "optional": true,
1401
1438
  "required": false
1402
1439
  },
1440
+ {
1441
+ "name": "dropdown",
1442
+ "type": "boolean",
1443
+ "complexType": {
1444
+ "original": "boolean",
1445
+ "resolved": "boolean",
1446
+ "references": {}
1447
+ },
1448
+ "mutable": false,
1449
+ "attr": "dropdown",
1450
+ "reflectToAttr": false,
1451
+ "docs": "If `true`, the button will show a dropdown icon.",
1452
+ "docsTags": [],
1453
+ "default": "false",
1454
+ "values": [
1455
+ {
1456
+ "type": "boolean"
1457
+ }
1458
+ ],
1459
+ "optional": true,
1460
+ "required": false
1461
+ },
1462
+ {
1463
+ "name": "dropdownExpanded",
1464
+ "type": "boolean",
1465
+ "complexType": {
1466
+ "original": "boolean",
1467
+ "resolved": "boolean",
1468
+ "references": {}
1469
+ },
1470
+ "mutable": true,
1471
+ "attr": "dropdown-expanded",
1472
+ "reflectToAttr": true,
1473
+ "docs": "If `true`, the aria-expanded value will be set to true. This is only applied if the dropdown prop is also true.",
1474
+ "docsTags": [],
1475
+ "default": "false",
1476
+ "values": [
1477
+ {
1478
+ "type": "boolean"
1479
+ }
1480
+ ],
1481
+ "optional": true,
1482
+ "required": false
1483
+ },
1403
1484
  {
1404
1485
  "name": "form",
1405
1486
  "type": "string",
@@ -1790,6 +1871,28 @@
1790
1871
  "optional": true,
1791
1872
  "required": false
1792
1873
  },
1874
+ {
1875
+ "name": "transparentBackground",
1876
+ "type": "boolean",
1877
+ "complexType": {
1878
+ "original": "boolean",
1879
+ "resolved": "boolean",
1880
+ "references": {}
1881
+ },
1882
+ "mutable": false,
1883
+ "attr": "transparent-background",
1884
+ "reflectToAttr": false,
1885
+ "docs": "If `true`, the secondary variant of button will have a transparent background rather than white.",
1886
+ "docsTags": [],
1887
+ "default": "true",
1888
+ "values": [
1889
+ {
1890
+ "type": "boolean"
1891
+ }
1892
+ ],
1893
+ "optional": true,
1894
+ "required": false
1895
+ },
1793
1896
  {
1794
1897
  "name": "type",
1795
1898
  "type": "\"button\" | \"reset\" | \"submit\"",
@@ -3482,6 +3585,28 @@
3482
3585
  "optional": true,
3483
3586
  "required": false
3484
3587
  },
3588
+ {
3589
+ "name": "transparentBackground",
3590
+ "type": "boolean",
3591
+ "complexType": {
3592
+ "original": "boolean",
3593
+ "resolved": "boolean",
3594
+ "references": {}
3595
+ },
3596
+ "mutable": false,
3597
+ "attr": "transparent-background",
3598
+ "reflectToAttr": false,
3599
+ "docs": "If `true`, the outlined variant of chip will have a transparent background rather than white.",
3600
+ "docsTags": [],
3601
+ "default": "true",
3602
+ "values": [
3603
+ {
3604
+ "type": "boolean"
3605
+ }
3606
+ ],
3607
+ "optional": true,
3608
+ "required": false
3609
+ },
3485
3610
  {
3486
3611
  "name": "variant",
3487
3612
  "type": "\"filled\" | \"outlined\"",
@@ -7233,7 +7358,12 @@
7233
7358
  }
7234
7359
  ],
7235
7360
  "slots": [],
7236
- "parts": [],
7361
+ "parts": [
7362
+ {
7363
+ "name": "ic-loading-container",
7364
+ "docs": ""
7365
+ }
7366
+ ],
7237
7367
  "dependents": [
7238
7368
  "ic-button",
7239
7369
  "ic-menu",
@@ -7635,13 +7765,9 @@
7635
7765
  "signature": "(event: KeyboardEvent) => Promise<void>",
7636
7766
  "parameters": [
7637
7767
  {
7638
- "tags": [
7639
- {
7640
- "name": "param",
7641
- "text": "event - keyboard event"
7642
- }
7643
- ],
7644
- "text": "- keyboard event"
7768
+ "name": "event",
7769
+ "type": "KeyboardEvent",
7770
+ "docs": "The keyboard event which is available when handleKeyboardOpen is invoked."
7645
7771
  }
7646
7772
  ],
7647
7773
  "references": {
@@ -7657,12 +7783,18 @@
7657
7783
  "return": "Promise<void>"
7658
7784
  },
7659
7785
  "signature": "handleKeyboardOpen(event: KeyboardEvent) => Promise<void>",
7660
- "parameters": [],
7786
+ "parameters": [
7787
+ {
7788
+ "name": "event",
7789
+ "type": "KeyboardEvent",
7790
+ "docs": "The keyboard event which is available when handleKeyboardOpen is invoked."
7791
+ }
7792
+ ],
7661
7793
  "docs": "Used alongside activationType\nIf menu is opened via keyboard navigation (i.e. Enter, ArrowUp or ArrowDown), emit optionSelect custom event.",
7662
7794
  "docsTags": [
7663
7795
  {
7664
7796
  "name": "param",
7665
- "text": "event - keyboard event"
7797
+ "text": "event The keyboard event which is available when handleKeyboardOpen is invoked."
7666
7798
  }
7667
7799
  ]
7668
7800
  }
@@ -9552,8 +9684,9 @@
9552
9684
  "signature": "(page: number) => Promise<void>",
9553
9685
  "parameters": [
9554
9686
  {
9555
- "tags": [],
9556
- "text": ""
9687
+ "name": "page",
9688
+ "type": "number",
9689
+ "docs": "The page number to set as the current page"
9557
9690
  }
9558
9691
  ],
9559
9692
  "references": {
@@ -9565,9 +9698,20 @@
9565
9698
  "return": "Promise<void>"
9566
9699
  },
9567
9700
  "signature": "setCurrentPage(page: number) => Promise<void>",
9568
- "parameters": [],
9701
+ "parameters": [
9702
+ {
9703
+ "name": "page",
9704
+ "type": "number",
9705
+ "docs": "The page number to set as the current page"
9706
+ }
9707
+ ],
9569
9708
  "docs": "Sets the currently displayed page.",
9570
- "docsTags": []
9709
+ "docsTags": [
9710
+ {
9711
+ "name": "param",
9712
+ "text": "page The page number to set as the current page"
9713
+ }
9714
+ ]
9571
9715
  }
9572
9716
  ],
9573
9717
  "events": [
@@ -9935,7 +10079,22 @@
9935
10079
  }
9936
10080
  ],
9937
10081
  "methods": [],
9938
- "events": [],
10082
+ "events": [
10083
+ {
10084
+ "event": "icPopoverClosed",
10085
+ "detail": "void",
10086
+ "bubbles": true,
10087
+ "complexType": {
10088
+ "original": "void",
10089
+ "resolved": "void",
10090
+ "references": {}
10091
+ },
10092
+ "cancelable": true,
10093
+ "composed": true,
10094
+ "docs": "Emitted when the popover menu is closed.",
10095
+ "docsTags": []
10096
+ }
10097
+ ],
9939
10098
  "listeners": [
9940
10099
  {
9941
10100
  "event": "handleMenuItemClick",
@@ -13433,7 +13592,28 @@
13433
13592
  }
13434
13593
  ],
13435
13594
  "methods": [],
13436
- "events": [],
13595
+ "events": [
13596
+ {
13597
+ "event": "sideNavExpanded",
13598
+ "detail": "IcExpandedDetail",
13599
+ "bubbles": true,
13600
+ "complexType": {
13601
+ "original": "IcExpandedDetail",
13602
+ "resolved": "IcExpandedDetail",
13603
+ "references": {
13604
+ "IcExpandedDetail": {
13605
+ "location": "import",
13606
+ "path": "./ic-side-navigation.types",
13607
+ "id": "src/components/ic-side-navigation/ic-side-navigation.types.ts::IcExpandedDetail"
13608
+ }
13609
+ }
13610
+ },
13611
+ "cancelable": true,
13612
+ "composed": true,
13613
+ "docs": "Emitted when the side navigation is collapsed and expanded.",
13614
+ "docsTags": []
13615
+ }
13616
+ ],
13437
13617
  "listeners": [
13438
13618
  {
13439
13619
  "event": "themeChange",
@@ -16452,8 +16632,9 @@
16452
16632
  "signature": "(toast: HTMLIcToastElement) => Promise<void>",
16453
16633
  "parameters": [
16454
16634
  {
16455
- "tags": [],
16456
- "text": ""
16635
+ "name": "toast",
16636
+ "type": "HTMLIcToastElement",
16637
+ "docs": "The toast component to display"
16457
16638
  }
16458
16639
  ],
16459
16640
  "references": {
@@ -16469,12 +16650,22 @@
16469
16650
  "return": "Promise<void>"
16470
16651
  },
16471
16652
  "signature": "setVisible(toast: HTMLIcToastElement) => Promise<void>",
16472
- "parameters": [],
16653
+ "parameters": [
16654
+ {
16655
+ "name": "toast",
16656
+ "type": "HTMLIcToastElement",
16657
+ "docs": "The toast component to display"
16658
+ }
16659
+ ],
16473
16660
  "docs": "",
16474
16661
  "docsTags": [
16475
16662
  {
16476
16663
  "name": "deprecated",
16477
16664
  "text": "Use openToast prop to display toast instead."
16665
+ },
16666
+ {
16667
+ "name": "param",
16668
+ "text": "toast The toast component to display"
16478
16669
  }
16479
16670
  ],
16480
16671
  "deprecation": "Use openToast prop to display toast instead."
@@ -16585,7 +16776,7 @@
16585
16776
  "mutable": true,
16586
16777
  "attr": "placement",
16587
16778
  "reflectToAttr": false,
16588
- "docs": "The position of the tool-tip in relation to the parent element.",
16779
+ "docs": "The position of the tooltip in relation to the parent element.",
16589
16780
  "docsTags": [],
16590
16781
  "default": "\"bottom\"",
16591
16782
  "values": [
@@ -16674,22 +16865,14 @@
16674
16865
  "signature": "(show: boolean, persistTooltip?: boolean) => Promise<void>",
16675
16866
  "parameters": [
16676
16867
  {
16677
- "tags": [
16678
- {
16679
- "name": "param",
16680
- "text": "show Whether to show or hide the tooltip"
16681
- }
16682
- ],
16683
- "text": "Whether to show or hide the tooltip"
16868
+ "name": "show",
16869
+ "type": "boolean",
16870
+ "docs": "Whether to show or hide the tooltip"
16684
16871
  },
16685
16872
  {
16686
- "tags": [
16687
- {
16688
- "name": "param",
16689
- "text": "persistTooltip Whether the tooltip should stay on the screen when actions are performed that would previously dismiss the tooltip, such as on hover"
16690
- }
16691
- ],
16692
- "text": "Whether the tooltip should stay on the screen when actions are performed that would previously dismiss the tooltip, such as on hover"
16873
+ "name": "persistTooltip",
16874
+ "type": "boolean",
16875
+ "docs": "Whether the tooltip should stay on the screen when actions are performed that would previously dismiss the tooltip, such as on hover"
16693
16876
  }
16694
16877
  ],
16695
16878
  "references": {
@@ -16701,7 +16884,18 @@
16701
16884
  "return": "Promise<void>"
16702
16885
  },
16703
16886
  "signature": "displayTooltip(show: boolean, persistTooltip?: boolean) => Promise<void>",
16704
- "parameters": [],
16887
+ "parameters": [
16888
+ {
16889
+ "name": "show",
16890
+ "type": "boolean",
16891
+ "docs": "Whether to show or hide the tooltip"
16892
+ },
16893
+ {
16894
+ "name": "persistTooltip",
16895
+ "type": "boolean",
16896
+ "docs": "Whether the tooltip should stay on the screen when actions are performed that would previously dismiss the tooltip, such as on hover"
16897
+ }
16898
+ ],
16705
16899
  "docs": "Method to programmatically show/hide the tooltip without needing to interact with an anchor element",
16706
16900
  "docsTags": [
16707
16901
  {
@@ -16957,7 +17151,22 @@
16957
17151
  }
16958
17152
  ],
16959
17153
  "methods": [],
16960
- "events": [],
17154
+ "events": [
17155
+ {
17156
+ "event": "topNavResized",
17157
+ "detail": "{ size: number; }",
17158
+ "bubbles": true,
17159
+ "complexType": {
17160
+ "original": "{ size: number }",
17161
+ "resolved": "{ size: number; }",
17162
+ "references": {}
17163
+ },
17164
+ "cancelable": true,
17165
+ "composed": true,
17166
+ "docs": "Emitted when the top navigation is resized.",
17167
+ "docsTags": []
17168
+ }
17169
+ ],
16961
17170
  "listeners": [
16962
17171
  {
16963
17172
  "event": "icNavigationMenuClose",
@@ -17648,6 +17857,11 @@
17648
17857
  "docstring": "",
17649
17858
  "path": "src/components/ic-menu-item/ic-menu-item.types.ts"
17650
17859
  },
17860
+ "src/components/ic-side-navigation/ic-side-navigation.types.ts::IcExpandedDetail": {
17861
+ "declaration": "export interface IcExpandedDetail {\n sideNavExpanded: boolean;\n sideNavMobile: boolean;\n}",
17862
+ "docstring": "",
17863
+ "path": "src/components/ic-side-navigation/ic-side-navigation.types.ts"
17864
+ },
17651
17865
  "src/components/ic-pagination/ic-pagination.types.ts::IcPaginationTypes": {
17652
17866
  "declaration": "export type IcPaginationTypes = \"simple\" | \"complex\";",
17653
17867
  "docstring": "",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "mi6",
3
3
  "name": "@ukic/docs",
4
- "version": "2.8.0",
4
+ "version": "2.9.1",
5
5
  "description": "API documentation for @ukic components",
6
6
  "main": "docs.json",
7
7
  "types": "docs.d.ts",
@@ -18,5 +18,5 @@
18
18
  "email": "icds@gchq.gov.uk"
19
19
  },
20
20
  "license": "MIT",
21
- "gitHead": "a26d1fa51a4723de8c43302ee54dc897700a0b0a"
21
+ "gitHead": "d5a95835136923d7ccf2990b32bd5972535aef7d"
22
22
  }