@ukic/docs 2.6.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/docs.json +128 -49
  2. package/package.json +2 -2
package/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2023-11-06T14:24:06",
2
+ "timestamp": "2023-12-08T14:47:48",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.3.0",
@@ -697,7 +697,12 @@
697
697
  "tag": "ic-badge",
698
698
  "readme": "# ic-badge\n\n\n",
699
699
  "docs": "",
700
- "docsTags": [],
700
+ "docsTags": [
701
+ {
702
+ "name": "slot",
703
+ "text": "badge-icon - Icon will be rendered inside the badge if type is set to icon."
704
+ }
705
+ ],
701
706
  "usage": {},
702
707
  "props": [
703
708
  {
@@ -969,7 +974,7 @@
969
974
  "resolved": "boolean",
970
975
  "references": {}
971
976
  },
972
- "mutable": false,
977
+ "mutable": true,
973
978
  "attr": "visible",
974
979
  "reflectToAttr": false,
975
980
  "docs": "If `true`, the badge will be displayed.",
@@ -1045,7 +1050,12 @@
1045
1050
  "events": [],
1046
1051
  "listeners": [],
1047
1052
  "styles": [],
1048
- "slots": [],
1053
+ "slots": [
1054
+ {
1055
+ "name": "badge-icon",
1056
+ "docs": "Icon will be rendered inside the badge if type is set to icon."
1057
+ }
1058
+ ],
1049
1059
  "parts": [],
1050
1060
  "dependents": [],
1051
1061
  "dependencies": [
@@ -3282,6 +3292,11 @@
3282
3292
  }
3283
3293
  ],
3284
3294
  "listeners": [
3295
+ {
3296
+ "event": "icChange",
3297
+ "capture": false,
3298
+ "passive": false
3299
+ },
3285
3300
  {
3286
3301
  "event": "icCheck",
3287
3302
  "capture": false,
@@ -4200,6 +4215,28 @@
4200
4215
  "optional": true,
4201
4216
  "required": false
4202
4217
  },
4218
+ {
4219
+ "name": "disableHeightConstraint",
4220
+ "type": "boolean",
4221
+ "complexType": {
4222
+ "original": "boolean",
4223
+ "resolved": "boolean",
4224
+ "references": {}
4225
+ },
4226
+ "mutable": false,
4227
+ "attr": "disable-height-constraint",
4228
+ "reflectToAttr": false,
4229
+ "docs": "If set to `true`, the content area max height and overflow properties are removed allowing the dialog to stretch below the fold.\nThis prop also prevents popover elements from being cut off within the content area.",
4230
+ "docsTags": [],
4231
+ "default": "false",
4232
+ "values": [
4233
+ {
4234
+ "type": "boolean"
4235
+ }
4236
+ ],
4237
+ "optional": true,
4238
+ "required": false
4239
+ },
4203
4240
  {
4204
4241
  "name": "dismissLabel",
4205
4242
  "type": "string",
@@ -4243,6 +4280,28 @@
4243
4280
  "optional": false,
4244
4281
  "required": true
4245
4282
  },
4283
+ {
4284
+ "name": "hideCloseButton",
4285
+ "type": "boolean",
4286
+ "complexType": {
4287
+ "original": "boolean",
4288
+ "resolved": "boolean",
4289
+ "references": {}
4290
+ },
4291
+ "mutable": false,
4292
+ "attr": "hide-close-button",
4293
+ "reflectToAttr": false,
4294
+ "docs": "If `true`, the close button will not be displayed.",
4295
+ "docsTags": [],
4296
+ "default": "false",
4297
+ "values": [
4298
+ {
4299
+ "type": "boolean"
4300
+ }
4301
+ ],
4302
+ "optional": true,
4303
+ "required": false
4304
+ },
4246
4305
  {
4247
4306
  "name": "label",
4248
4307
  "type": "string",
@@ -12713,6 +12772,28 @@
12713
12772
  "optional": true,
12714
12773
  "required": false
12715
12774
  },
12775
+ {
12776
+ "name": "selectOnEnter",
12777
+ "type": "boolean",
12778
+ "complexType": {
12779
+ "original": "boolean",
12780
+ "resolved": "boolean",
12781
+ "references": {}
12782
+ },
12783
+ "mutable": false,
12784
+ "attr": "select-on-enter",
12785
+ "reflectToAttr": false,
12786
+ "docs": "If `true`, the icOptionSelect event will be fired on enter instead of ArrowUp and ArrowDown.",
12787
+ "docsTags": [],
12788
+ "default": "false",
12789
+ "values": [
12790
+ {
12791
+ "type": "boolean"
12792
+ }
12793
+ ],
12794
+ "optional": true,
12795
+ "required": false
12796
+ },
12716
12797
  {
12717
12798
  "name": "showClearButton",
12718
12799
  "type": "boolean",
@@ -16243,39 +16324,7 @@
16243
16324
  "required": false
16244
16325
  }
16245
16326
  ],
16246
- "methods": [
16247
- {
16248
- "name": "setVisible",
16249
- "returns": {
16250
- "type": "Promise<HTMLElement>",
16251
- "docs": "The element that previously had focus before the toast appeared"
16252
- },
16253
- "complexType": {
16254
- "signature": "() => Promise<HTMLElement>",
16255
- "parameters": [],
16256
- "references": {
16257
- "Promise": {
16258
- "location": "global",
16259
- "id": "global::Promise"
16260
- },
16261
- "HTMLElement": {
16262
- "location": "global",
16263
- "id": "global::HTMLElement"
16264
- }
16265
- },
16266
- "return": "Promise<HTMLElement>"
16267
- },
16268
- "signature": "setVisible() => Promise<HTMLElement>",
16269
- "parameters": [],
16270
- "docs": "Used to display the individual toast",
16271
- "docsTags": [
16272
- {
16273
- "name": "returns",
16274
- "text": "The element that previously had focus before the toast appeared"
16275
- }
16276
- ]
16277
- }
16278
- ],
16327
+ "methods": [],
16279
16328
  "events": [
16280
16329
  {
16281
16330
  "event": "icDismiss",
@@ -16365,7 +16414,33 @@
16365
16414
  "docs": "",
16366
16415
  "docsTags": [],
16367
16416
  "usage": {},
16368
- "props": [],
16417
+ "props": [
16418
+ {
16419
+ "name": "openToast",
16420
+ "type": "HTMLIcToastElement",
16421
+ "complexType": {
16422
+ "original": "HTMLIcToastElement",
16423
+ "resolved": "HTMLIcToastElement",
16424
+ "references": {
16425
+ "HTMLIcToastElement": {
16426
+ "location": "global",
16427
+ "id": "global::HTMLIcToastElement"
16428
+ }
16429
+ }
16430
+ },
16431
+ "mutable": true,
16432
+ "reflectToAttr": false,
16433
+ "docs": "The toast element to be displayed.",
16434
+ "docsTags": [],
16435
+ "values": [
16436
+ {
16437
+ "type": "HTMLIcToastElement"
16438
+ }
16439
+ ],
16440
+ "optional": false,
16441
+ "required": false
16442
+ }
16443
+ ],
16369
16444
  "methods": [
16370
16445
  {
16371
16446
  "name": "setVisible",
@@ -16377,13 +16452,8 @@
16377
16452
  "signature": "(toast: HTMLIcToastElement) => Promise<void>",
16378
16453
  "parameters": [
16379
16454
  {
16380
- "tags": [
16381
- {
16382
- "name": "param",
16383
- "text": "toast The toast element being requested to display"
16384
- }
16385
- ],
16386
- "text": "The toast element being requested to display"
16455
+ "tags": [],
16456
+ "text": ""
16387
16457
  }
16388
16458
  ],
16389
16459
  "references": {
@@ -16400,13 +16470,14 @@
16400
16470
  },
16401
16471
  "signature": "setVisible(toast: HTMLIcToastElement) => Promise<void>",
16402
16472
  "parameters": [],
16403
- "docs": "Handles setting the visibility of various toasts based on what is already visible",
16473
+ "docs": "",
16404
16474
  "docsTags": [
16405
16475
  {
16406
- "name": "param",
16407
- "text": "toast The toast element being requested to display"
16476
+ "name": "deprecated",
16477
+ "text": "Use openToast prop to display toast instead."
16408
16478
  }
16409
- ]
16479
+ ],
16480
+ "deprecation": "Use openToast prop to display toast instead."
16410
16481
  }
16411
16482
  ],
16412
16483
  "events": [],
@@ -16693,6 +16764,10 @@
16693
16764
  "name": "slot",
16694
16765
  "text": "app-title - Handle routing by nesting a route in the app title."
16695
16766
  },
16767
+ {
16768
+ "name": "slot",
16769
+ "text": "short-app-title - Handle routing by nesting a route in the short app title (to be displayed in place of app title on small screen sizes)."
16770
+ },
16696
16771
  {
16697
16772
  "name": "slot",
16698
16773
  "text": "search - Content will be rendered in search area to left of buttons."
@@ -16928,6 +17003,10 @@
16928
17003
  "name": "search",
16929
17004
  "docs": "Content will be rendered in search area to left of buttons."
16930
17005
  },
17006
+ {
17007
+ "name": "short-app-title",
17008
+ "docs": "Handle routing by nesting a route in the short app title (to be displayed in place of app title on small screen sizes)."
17009
+ },
16931
17010
  {
16932
17011
  "name": "toggle-icon",
16933
17012
  "docs": "Icon to be displayed on the button to toggle search slot content on smaller devices"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "mi6",
3
3
  "name": "@ukic/docs",
4
- "version": "2.6.0",
4
+ "version": "2.8.0",
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": "c4b3058fa6214a35f235af25250c85c7f8aeb9da"
21
+ "gitHead": "a26d1fa51a4723de8c43302ee54dc897700a0b0a"
22
22
  }