@ukic/docs 2.10.4 → 2.11.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 (2) hide show
  1. package/docs.json +85 -58
  2. package/package.json +2 -2
package/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-04-18T12:10:30",
2
+ "timestamp": "2024-05-29T14:10:07",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.10.0",
@@ -204,7 +204,12 @@
204
204
  "tag": "ic-accordion-group",
205
205
  "readme": "# ic-accordion-title\n\n\n",
206
206
  "docs": "",
207
- "docsTags": [],
207
+ "docsTags": [
208
+ {
209
+ "name": "slot",
210
+ "text": "group-title - Content is placed as the accordion group title."
211
+ }
212
+ ],
208
213
  "usage": {},
209
214
  "props": [
210
215
  {
@@ -403,7 +408,12 @@
403
408
  }
404
409
  ],
405
410
  "styles": [],
406
- "slots": [],
411
+ "slots": [
412
+ {
413
+ "name": "group-title",
414
+ "docs": "Content is placed as the accordion group title."
415
+ }
416
+ ],
407
417
  "parts": [],
408
418
  "dependents": [],
409
419
  "dependencies": [
@@ -712,6 +722,39 @@
712
722
  ],
713
723
  "optional": false,
714
724
  "required": true
725
+ },
726
+ {
727
+ "name": "variant",
728
+ "type": "\"default\" | \"icon\"",
729
+ "complexType": {
730
+ "original": "IcBackToTopVariants",
731
+ "resolved": "\"default\" | \"icon\"",
732
+ "references": {
733
+ "IcBackToTopVariants": {
734
+ "location": "import",
735
+ "path": "./ic-back-to-top.types",
736
+ "id": "src/components/ic-back-to-top/ic-back-to-top.types.ts::IcBackToTopVariants"
737
+ }
738
+ }
739
+ },
740
+ "mutable": false,
741
+ "attr": "variant",
742
+ "reflectToAttr": false,
743
+ "docs": "The variant of the button to render",
744
+ "docsTags": [],
745
+ "default": "\"default\"",
746
+ "values": [
747
+ {
748
+ "value": "default",
749
+ "type": "string"
750
+ },
751
+ {
752
+ "value": "icon",
753
+ "type": "string"
754
+ }
755
+ ],
756
+ "optional": false,
757
+ "required": false
715
758
  }
716
759
  ],
717
760
  "methods": [],
@@ -728,10 +771,15 @@
728
771
  "parts": [],
729
772
  "dependents": [],
730
773
  "dependencies": [
731
- "ic-typography"
774
+ "ic-typography",
775
+ "ic-tooltip"
732
776
  ],
733
777
  "dependencyGraph": {
734
778
  "ic-back-to-top": [
779
+ "ic-typography",
780
+ "ic-tooltip"
781
+ ],
782
+ "ic-tooltip": [
735
783
  "ic-typography"
736
784
  ]
737
785
  }
@@ -4645,7 +4693,7 @@
4645
4693
  }
4646
4694
  ],
4647
4695
  "optional": false,
4648
- "required": true
4696
+ "required": false
4649
4697
  },
4650
4698
  {
4651
4699
  "name": "hideCloseButton",
@@ -5931,7 +5979,7 @@
5931
5979
  }
5932
5980
  ],
5933
5981
  "optional": false,
5934
- "required": true
5982
+ "required": false
5935
5983
  },
5936
5984
  {
5937
5985
  "name": "secondaryHeading",
@@ -10049,6 +10097,7 @@
10049
10097
  "reflectToAttr": false,
10050
10098
  "docs": "The appearance of the pagination, e.g. dark, light or the default.",
10051
10099
  "docsTags": [],
10100
+ "default": "\"default\"",
10052
10101
  "values": [
10053
10102
  {
10054
10103
  "value": "dark",
@@ -10066,28 +10115,6 @@
10066
10115
  "optional": false,
10067
10116
  "required": false
10068
10117
  },
10069
- {
10070
- "name": "ariaOverride",
10071
- "type": "boolean",
10072
- "complexType": {
10073
- "original": "boolean",
10074
- "resolved": "boolean",
10075
- "references": {}
10076
- },
10077
- "mutable": false,
10078
- "attr": "aria-override",
10079
- "reflectToAttr": false,
10080
- "docs": "If true the aria-label will be set to `Page X of Y`, where X is the current page and Y is the page count.",
10081
- "docsTags": [],
10082
- "default": "false",
10083
- "values": [
10084
- {
10085
- "type": "boolean"
10086
- }
10087
- ],
10088
- "optional": false,
10089
- "required": false
10090
- },
10091
10118
  {
10092
10119
  "name": "disabled",
10093
10120
  "type": "boolean",
@@ -10123,7 +10150,7 @@
10123
10150
  "reflectToAttr": false,
10124
10151
  "docs": "The label for the pagination item (applicable when simple pagination is being used).",
10125
10152
  "docsTags": [],
10126
- "default": "\"Page \"",
10153
+ "default": "\"Page\"",
10127
10154
  "values": [
10128
10155
  {
10129
10156
  "type": "string"
@@ -10153,27 +10180,6 @@
10153
10180
  "optional": false,
10154
10181
  "required": false
10155
10182
  },
10156
- {
10157
- "name": "pages",
10158
- "type": "number",
10159
- "complexType": {
10160
- "original": "number",
10161
- "resolved": "number",
10162
- "references": {}
10163
- },
10164
- "mutable": false,
10165
- "attr": "pages",
10166
- "reflectToAttr": false,
10167
- "docs": "The total number of pages.",
10168
- "docsTags": [],
10169
- "values": [
10170
- {
10171
- "type": "number"
10172
- }
10173
- ],
10174
- "optional": false,
10175
- "required": false
10176
- },
10177
10183
  {
10178
10184
  "name": "selected",
10179
10185
  "type": "boolean",
@@ -14085,7 +14091,7 @@
14085
14091
  "mutable": false,
14086
14092
  "attr": "announced",
14087
14093
  "reflectToAttr": false,
14088
- "docs": "If `true`, role='status' is added to the component and it will act as an 'aria-live' region.",
14094
+ "docs": "If `true`, role='status' is added to the component and it will act as an 'aria-live' region.\nScreen readers will announce changes to the `label`, but not the initial value.",
14089
14095
  "docsTags": [],
14090
14096
  "default": "false",
14091
14097
  "values": [
@@ -16622,11 +16628,17 @@
16622
16628
  "props": [
16623
16629
  {
16624
16630
  "name": "color",
16625
- "type": "string",
16631
+ "type": "`#${string}` | `rgb(${string})` | `rgba(${string})`",
16626
16632
  "complexType": {
16627
- "original": "string",
16628
- "resolved": "string",
16629
- "references": {}
16633
+ "original": "IcColor",
16634
+ "resolved": "`#${string}` | `rgb(${string})` | `rgba(${string})`",
16635
+ "references": {
16636
+ "IcColor": {
16637
+ "location": "import",
16638
+ "path": "../../utils/types",
16639
+ "id": "src/utils/types.ts::IcColor"
16640
+ }
16641
+ }
16630
16642
  },
16631
16643
  "mutable": false,
16632
16644
  "attr": "color",
@@ -16636,7 +16648,13 @@
16636
16648
  "default": "null",
16637
16649
  "values": [
16638
16650
  {
16639
- "type": "string"
16651
+ "type": "`#${string}`"
16652
+ },
16653
+ {
16654
+ "type": "`rgb(${string})`"
16655
+ },
16656
+ {
16657
+ "type": "`rgba(${string})`"
16640
16658
  }
16641
16659
  ],
16642
16660
  "optional": true,
@@ -17941,6 +17959,7 @@
17941
17959
  "slots": [],
17942
17960
  "parts": [],
17943
17961
  "dependents": [
17962
+ "ic-back-to-top",
17944
17963
  "ic-button",
17945
17964
  "ic-card",
17946
17965
  "ic-chip",
@@ -17953,6 +17972,9 @@
17953
17972
  "ic-tooltip": [
17954
17973
  "ic-typography"
17955
17974
  ],
17975
+ "ic-back-to-top": [
17976
+ "ic-tooltip"
17977
+ ],
17956
17978
  "ic-button": [
17957
17979
  "ic-tooltip"
17958
17980
  ],
@@ -17976,7 +17998,7 @@
17976
17998
  "docsTags": [
17977
17999
  {
17978
18000
  "name": "slot",
17979
- "text": "app-icon - Content will be rendered to left of app title."
18001
+ "text": "app-icon - Content will be rendered to left of app title. Anything that is slotted here will be hidden from screen readers."
17980
18002
  },
17981
18003
  {
17982
18004
  "name": "slot",
@@ -18263,7 +18285,7 @@
18263
18285
  "slots": [
18264
18286
  {
18265
18287
  "name": "app-icon",
18266
- "docs": "Content will be rendered to left of app title."
18288
+ "docs": "Content will be rendered to left of app title. Anything that is slotted here will be hidden from screen readers."
18267
18289
  },
18268
18290
  {
18269
18291
  "name": "app-title",
@@ -18741,6 +18763,11 @@
18741
18763
  "docstring": "",
18742
18764
  "path": "src/utils/types.ts"
18743
18765
  },
18766
+ "src/components/ic-back-to-top/ic-back-to-top.types.ts::IcBackToTopVariants": {
18767
+ "declaration": "export type IcBackToTopVariants = \"default\" | \"icon\";",
18768
+ "docstring": "",
18769
+ "path": "src/components/ic-back-to-top/ic-back-to-top.types.ts"
18770
+ },
18744
18771
  "src/components/ic-classification-banner/ic-classification-banner.types.tsx::IcProtectiveMarkings": {
18745
18772
  "declaration": "export type IcProtectiveMarkings =\n | \"default\"\n | \"official\"\n | \"official-sensitive\"\n | \"secret\"\n | \"top-secret\";",
18746
18773
  "docstring": "",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "mi6",
3
3
  "name": "@ukic/docs",
4
- "version": "2.10.4",
4
+ "version": "2.11.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": "5441c917fd593f7797ace93dc674a78006abb775"
21
+ "gitHead": "5dd43dde5edbcd9f62e6fa706e762fd95ff19935"
22
22
  }