@ukic/docs 2.11.0 → 2.12.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 +57 -53
  2. package/package.json +2 -2
package/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-05-10T14:30:05",
2
+ "timestamp": "2024-05-30T13:05:50",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.10.0",
@@ -2146,10 +2146,10 @@
2146
2146
  },
2147
2147
  {
2148
2148
  "name": "variant",
2149
- "type": "\"destructive\" | \"icon\" | \"primary\" | \"secondary\" | \"tertiary\"",
2149
+ "type": "\"destructive\" | \"icon\" | \"icon-destructive\" | \"icon-primary\" | \"icon-secondary\" | \"icon-tertiary\" | \"primary\" | \"secondary\" | \"tertiary\"",
2150
2150
  "complexType": {
2151
2151
  "original": "IcButtonVariants",
2152
- "resolved": "\"destructive\" | \"icon\" | \"primary\" | \"secondary\" | \"tertiary\"",
2152
+ "resolved": "\"destructive\" | \"icon\" | \"icon-destructive\" | \"icon-primary\" | \"icon-secondary\" | \"icon-tertiary\" | \"primary\" | \"secondary\" | \"tertiary\"",
2153
2153
  "references": {
2154
2154
  "IcButtonVariants": {
2155
2155
  "location": "import",
@@ -2173,6 +2173,22 @@
2173
2173
  "value": "icon",
2174
2174
  "type": "string"
2175
2175
  },
2176
+ {
2177
+ "value": "icon-destructive",
2178
+ "type": "string"
2179
+ },
2180
+ {
2181
+ "value": "icon-primary",
2182
+ "type": "string"
2183
+ },
2184
+ {
2185
+ "value": "icon-secondary",
2186
+ "type": "string"
2187
+ },
2188
+ {
2189
+ "value": "icon-tertiary",
2190
+ "type": "string"
2191
+ },
2176
2192
  {
2177
2193
  "value": "primary",
2178
2194
  "type": "string"
@@ -3105,6 +3121,28 @@
3105
3121
  "optional": false,
3106
3122
  "required": false
3107
3123
  },
3124
+ {
3125
+ "name": "hideLabel",
3126
+ "type": "boolean",
3127
+ "complexType": {
3128
+ "original": "boolean",
3129
+ "resolved": "boolean",
3130
+ "references": {}
3131
+ },
3132
+ "mutable": false,
3133
+ "attr": "hide-label",
3134
+ "reflectToAttr": false,
3135
+ "docs": "If `true`, the label will be hidden and the required label value will be applied as an aria-label.",
3136
+ "docsTags": [],
3137
+ "default": "false",
3138
+ "values": [
3139
+ {
3140
+ "type": "boolean"
3141
+ }
3142
+ ],
3143
+ "optional": false,
3144
+ "required": false
3145
+ },
3108
3146
  {
3109
3147
  "name": "indeterminate",
3110
3148
  "type": "boolean",
@@ -4693,7 +4731,7 @@
4693
4731
  }
4694
4732
  ],
4695
4733
  "optional": false,
4696
- "required": true
4734
+ "required": false
4697
4735
  },
4698
4736
  {
4699
4737
  "name": "hideCloseButton",
@@ -5979,7 +6017,7 @@
5979
6017
  }
5980
6018
  ],
5981
6019
  "optional": false,
5982
- "required": true
6020
+ "required": false
5983
6021
  },
5984
6022
  {
5985
6023
  "name": "secondaryHeading",
@@ -8945,6 +8983,10 @@
8945
8983
  {
8946
8984
  "name": "slot",
8947
8985
  "text": "badge - Badge component overlaying the top right of the icon."
8986
+ },
8987
+ {
8988
+ "name": "slot",
8989
+ "text": "icon - Content will be displayed to the left of the label for expanded navigation items, and in replacement of the label for collapsed navigation items."
8948
8990
  }
8949
8991
  ],
8950
8992
  "usage": {},
@@ -9205,6 +9247,10 @@
9205
9247
  {
9206
9248
  "name": "badge",
9207
9249
  "docs": "Badge component overlaying the top right of the icon."
9250
+ },
9251
+ {
9252
+ "name": "icon",
9253
+ "docs": "Content will be displayed to the left of the label for expanded navigation items, and in replacement of the label for collapsed navigation items."
9208
9254
  }
9209
9255
  ],
9210
9256
  "parts": [
@@ -10097,6 +10143,7 @@
10097
10143
  "reflectToAttr": false,
10098
10144
  "docs": "The appearance of the pagination, e.g. dark, light or the default.",
10099
10145
  "docsTags": [],
10146
+ "default": "\"default\"",
10100
10147
  "values": [
10101
10148
  {
10102
10149
  "value": "dark",
@@ -10114,28 +10161,6 @@
10114
10161
  "optional": false,
10115
10162
  "required": false
10116
10163
  },
10117
- {
10118
- "name": "ariaOverride",
10119
- "type": "boolean",
10120
- "complexType": {
10121
- "original": "boolean",
10122
- "resolved": "boolean",
10123
- "references": {}
10124
- },
10125
- "mutable": false,
10126
- "attr": "aria-override",
10127
- "reflectToAttr": false,
10128
- "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.",
10129
- "docsTags": [],
10130
- "default": "false",
10131
- "values": [
10132
- {
10133
- "type": "boolean"
10134
- }
10135
- ],
10136
- "optional": false,
10137
- "required": false
10138
- },
10139
10164
  {
10140
10165
  "name": "disabled",
10141
10166
  "type": "boolean",
@@ -10171,7 +10196,7 @@
10171
10196
  "reflectToAttr": false,
10172
10197
  "docs": "The label for the pagination item (applicable when simple pagination is being used).",
10173
10198
  "docsTags": [],
10174
- "default": "\"Page \"",
10199
+ "default": "\"Page\"",
10175
10200
  "values": [
10176
10201
  {
10177
10202
  "type": "string"
@@ -10201,27 +10226,6 @@
10201
10226
  "optional": false,
10202
10227
  "required": false
10203
10228
  },
10204
- {
10205
- "name": "pages",
10206
- "type": "number",
10207
- "complexType": {
10208
- "original": "number",
10209
- "resolved": "number",
10210
- "references": {}
10211
- },
10212
- "mutable": false,
10213
- "attr": "pages",
10214
- "reflectToAttr": false,
10215
- "docs": "The total number of pages.",
10216
- "docsTags": [],
10217
- "values": [
10218
- {
10219
- "type": "number"
10220
- }
10221
- ],
10222
- "optional": false,
10223
- "required": false
10224
- },
10225
10229
  {
10226
10230
  "name": "selected",
10227
10231
  "type": "boolean",
@@ -14133,7 +14137,7 @@
14133
14137
  "mutable": false,
14134
14138
  "attr": "announced",
14135
14139
  "reflectToAttr": false,
14136
- "docs": "If `true`, role='status' is added to the component and it will act as an 'aria-live' region.",
14140
+ "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.",
14137
14141
  "docsTags": [],
14138
14142
  "default": "false",
14139
14143
  "values": [
@@ -18040,7 +18044,7 @@
18040
18044
  "docsTags": [
18041
18045
  {
18042
18046
  "name": "slot",
18043
- "text": "app-icon - Content will be rendered to left of app title."
18047
+ "text": "app-icon - Content will be rendered to left of app title. Anything that is slotted here will be hidden from screen readers."
18044
18048
  },
18045
18049
  {
18046
18050
  "name": "slot",
@@ -18327,7 +18331,7 @@
18327
18331
  "slots": [
18328
18332
  {
18329
18333
  "name": "app-icon",
18330
- "docs": "Content will be rendered to left of app title."
18334
+ "docs": "Content will be rendered to left of app title. Anything that is slotted here will be hidden from screen readers."
18331
18335
  },
18332
18336
  {
18333
18337
  "name": "app-title",
@@ -18856,7 +18860,7 @@
18856
18860
  "path": "src/components/ic-button/ic-button.types.ts"
18857
18861
  },
18858
18862
  "src/components/ic-button/ic-button.types.ts::IcButtonVariants": {
18859
- "declaration": "export type IcButtonVariants =\n | \"primary\"\n | \"secondary\"\n | \"tertiary\"\n | \"icon\"\n | \"destructive\";",
18863
+ "declaration": "export type IcButtonVariants =\n | \"primary\"\n | \"secondary\"\n | \"tertiary\"\n | \"destructive\"\n | \"icon\"\n | \"icon-primary\"\n | \"icon-secondary\"\n | \"icon-tertiary\"\n | \"icon-destructive\";",
18860
18864
  "docstring": "",
18861
18865
  "path": "src/components/ic-button/ic-button.types.ts"
18862
18866
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "mi6",
3
3
  "name": "@ukic/docs",
4
- "version": "2.11.0",
4
+ "version": "2.12.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": "bee9250acbbeec465702a621ad5a68bf74cd91f4"
21
+ "gitHead": "d514f0b7ea02cad6e1f5f13aba34b7e8a3c162dd"
22
22
  }