@ukic/canary-docs 2.0.0-canary.21 → 2.0.0-canary.23
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/docs.json +129 -8
- package/package.json +2 -2
package/docs.json
CHANGED
|
@@ -752,7 +752,7 @@
|
|
|
752
752
|
"reflectToAttr": false,
|
|
753
753
|
"docs": "Sets the props for the built-in pagination bar. If the `pagination-bar` slot is used then this prop is ignored.",
|
|
754
754
|
"docsTags": [],
|
|
755
|
-
"default": "{\n itemsPerPageOptions: [\n { label: \"10\", value: \"10\" },\n { label: \"25\", value: \"25\" },\n { label: \"50\", value: \"50\" },\n ],\n rangeLabelType: \"page\",\n type: \"simple\",\n showItemsPerPageControl: true,\n showGoToPageControl: true,\n alignment: \"right\",\n appearance: \"default\",\n itemLabel: \"Item\",\n pageLabel: \"Page\",\n hideRangeLabel: false,\n }",
|
|
755
|
+
"default": "{\n itemsPerPageOptions: [\n { label: \"10\", value: \"10\" },\n { label: \"25\", value: \"25\" },\n { label: \"50\", value: \"50\" },\n ],\n rangeLabelType: \"page\",\n type: \"simple\",\n showItemsPerPageControl: true,\n showGoToPageControl: true,\n alignment: \"right\",\n appearance: \"default\",\n itemLabel: \"Item\",\n pageLabel: \"Page\",\n hideRangeLabel: false,\n hideAllFromItemsPerPage: false,\n }",
|
|
756
756
|
"values": [
|
|
757
757
|
{
|
|
758
758
|
"type": "IcPaginationBarOptions"
|
|
@@ -1679,6 +1679,28 @@
|
|
|
1679
1679
|
"optional": false,
|
|
1680
1680
|
"required": false
|
|
1681
1681
|
},
|
|
1682
|
+
{
|
|
1683
|
+
"name": "hideLabel",
|
|
1684
|
+
"type": "boolean",
|
|
1685
|
+
"complexType": {
|
|
1686
|
+
"original": "boolean",
|
|
1687
|
+
"resolved": "boolean",
|
|
1688
|
+
"references": {}
|
|
1689
|
+
},
|
|
1690
|
+
"mutable": false,
|
|
1691
|
+
"attr": "hide-label",
|
|
1692
|
+
"reflectToAttr": false,
|
|
1693
|
+
"docs": "If `true`, the label will be visually hidden, but will still be read out by screen readers.",
|
|
1694
|
+
"docsTags": [],
|
|
1695
|
+
"default": "false",
|
|
1696
|
+
"values": [
|
|
1697
|
+
{
|
|
1698
|
+
"type": "boolean"
|
|
1699
|
+
}
|
|
1700
|
+
],
|
|
1701
|
+
"optional": true,
|
|
1702
|
+
"required": false
|
|
1703
|
+
},
|
|
1682
1704
|
{
|
|
1683
1705
|
"name": "inputId",
|
|
1684
1706
|
"type": "string",
|
|
@@ -2383,6 +2405,28 @@
|
|
|
2383
2405
|
"optional": false,
|
|
2384
2406
|
"required": false
|
|
2385
2407
|
},
|
|
2408
|
+
{
|
|
2409
|
+
"name": "hideLabel",
|
|
2410
|
+
"type": "boolean",
|
|
2411
|
+
"complexType": {
|
|
2412
|
+
"original": "boolean",
|
|
2413
|
+
"resolved": "boolean",
|
|
2414
|
+
"references": {}
|
|
2415
|
+
},
|
|
2416
|
+
"mutable": false,
|
|
2417
|
+
"attr": "hide-label",
|
|
2418
|
+
"reflectToAttr": false,
|
|
2419
|
+
"docs": "If `true`, the label will be visually hidden, but the required label will still be read out by screen readers.",
|
|
2420
|
+
"docsTags": [],
|
|
2421
|
+
"default": "false",
|
|
2422
|
+
"values": [
|
|
2423
|
+
{
|
|
2424
|
+
"type": "boolean"
|
|
2425
|
+
}
|
|
2426
|
+
],
|
|
2427
|
+
"optional": true,
|
|
2428
|
+
"required": false
|
|
2429
|
+
},
|
|
2386
2430
|
{
|
|
2387
2431
|
"name": "inputId",
|
|
2388
2432
|
"type": "string",
|
|
@@ -3468,6 +3512,50 @@
|
|
|
3468
3512
|
"optional": true,
|
|
3469
3513
|
"required": false
|
|
3470
3514
|
},
|
|
3515
|
+
{
|
|
3516
|
+
"name": "currentPage",
|
|
3517
|
+
"type": "number",
|
|
3518
|
+
"complexType": {
|
|
3519
|
+
"original": "number",
|
|
3520
|
+
"resolved": "number",
|
|
3521
|
+
"references": {}
|
|
3522
|
+
},
|
|
3523
|
+
"mutable": false,
|
|
3524
|
+
"attr": "current-page",
|
|
3525
|
+
"reflectToAttr": false,
|
|
3526
|
+
"docs": "The current page number to be displayed on the pagination bar.",
|
|
3527
|
+
"docsTags": [],
|
|
3528
|
+
"default": "1",
|
|
3529
|
+
"values": [
|
|
3530
|
+
{
|
|
3531
|
+
"type": "number"
|
|
3532
|
+
}
|
|
3533
|
+
],
|
|
3534
|
+
"optional": true,
|
|
3535
|
+
"required": false
|
|
3536
|
+
},
|
|
3537
|
+
{
|
|
3538
|
+
"name": "hideAllFromItemsPerPage",
|
|
3539
|
+
"type": "boolean",
|
|
3540
|
+
"complexType": {
|
|
3541
|
+
"original": "boolean",
|
|
3542
|
+
"resolved": "boolean",
|
|
3543
|
+
"references": {}
|
|
3544
|
+
},
|
|
3545
|
+
"mutable": false,
|
|
3546
|
+
"attr": "hide-all-from-items-per-page",
|
|
3547
|
+
"reflectToAttr": false,
|
|
3548
|
+
"docs": "If `true`, the 'All' option will be hidden from the 'items per page' select input.",
|
|
3549
|
+
"docsTags": [],
|
|
3550
|
+
"default": "false",
|
|
3551
|
+
"values": [
|
|
3552
|
+
{
|
|
3553
|
+
"type": "boolean"
|
|
3554
|
+
}
|
|
3555
|
+
],
|
|
3556
|
+
"optional": true,
|
|
3557
|
+
"required": false
|
|
3558
|
+
},
|
|
3471
3559
|
{
|
|
3472
3560
|
"name": "hideRangeLabel",
|
|
3473
3561
|
"type": "boolean",
|
|
@@ -3522,7 +3610,7 @@
|
|
|
3522
3610
|
},
|
|
3523
3611
|
"mutable": false,
|
|
3524
3612
|
"reflectToAttr": false,
|
|
3525
|
-
"docs": "The options which will be displayed for 'items per page' select input.
|
|
3613
|
+
"docs": "The options which will be displayed for 'items per page' select input.",
|
|
3526
3614
|
"docsTags": [],
|
|
3527
3615
|
"values": [
|
|
3528
3616
|
{
|
|
@@ -3704,16 +3792,22 @@
|
|
|
3704
3792
|
},
|
|
3705
3793
|
{
|
|
3706
3794
|
"event": "icPageChange",
|
|
3707
|
-
"detail": "
|
|
3795
|
+
"detail": "IcPageChangeEventDetail",
|
|
3708
3796
|
"bubbles": true,
|
|
3709
3797
|
"complexType": {
|
|
3710
|
-
"original": "
|
|
3711
|
-
"resolved": "
|
|
3712
|
-
"references": {
|
|
3798
|
+
"original": "IcPageChangeEventDetail",
|
|
3799
|
+
"resolved": "IcPageChangeEventDetail",
|
|
3800
|
+
"references": {
|
|
3801
|
+
"IcPageChangeEventDetail": {
|
|
3802
|
+
"location": "import",
|
|
3803
|
+
"path": "./ic-pagination-bar.types",
|
|
3804
|
+
"id": "src/components/ic-pagination-bar/ic-pagination-bar.types.ts::IcPageChangeEventDetail"
|
|
3805
|
+
}
|
|
3806
|
+
}
|
|
3713
3807
|
},
|
|
3714
3808
|
"cancelable": true,
|
|
3715
3809
|
"composed": true,
|
|
3716
|
-
"docs": "Emitted when a page is navigated to via the 'go to' input.",
|
|
3810
|
+
"docs": "Emitted when a page is navigated to via the 'go to' input.\nThe `detail` property contains `value` (i.e. the page number) and a `fromItemsPerPage` flag to indicate if the event was triggered by the `icItemsPerPageChange` event also occurring.",
|
|
3717
3811
|
"docsTags": []
|
|
3718
3812
|
}
|
|
3719
3813
|
],
|
|
@@ -4916,6 +5010,28 @@
|
|
|
4916
5010
|
"optional": true,
|
|
4917
5011
|
"required": false
|
|
4918
5012
|
},
|
|
5013
|
+
{
|
|
5014
|
+
"name": "expanded",
|
|
5015
|
+
"type": "boolean",
|
|
5016
|
+
"complexType": {
|
|
5017
|
+
"original": "boolean",
|
|
5018
|
+
"resolved": "boolean",
|
|
5019
|
+
"references": {}
|
|
5020
|
+
},
|
|
5021
|
+
"mutable": true,
|
|
5022
|
+
"attr": "expanded",
|
|
5023
|
+
"reflectToAttr": false,
|
|
5024
|
+
"docs": "If `true`, the tree item appears in the expanded state.",
|
|
5025
|
+
"docsTags": [],
|
|
5026
|
+
"default": "false",
|
|
5027
|
+
"values": [
|
|
5028
|
+
{
|
|
5029
|
+
"type": "boolean"
|
|
5030
|
+
}
|
|
5031
|
+
],
|
|
5032
|
+
"optional": false,
|
|
5033
|
+
"required": false
|
|
5034
|
+
},
|
|
4919
5035
|
{
|
|
4920
5036
|
"name": "href",
|
|
4921
5037
|
"type": "string",
|
|
@@ -5368,7 +5484,7 @@
|
|
|
5368
5484
|
"path": "../web-components/dist/types/utils/types.d.ts"
|
|
5369
5485
|
},
|
|
5370
5486
|
"src/utils/types.ts::IcPaginationBarOptions": {
|
|
5371
|
-
"declaration": "export interface IcPaginationBarOptions {\n itemsPerPageOptions?: { label: string; value: string }[];\n rangeLabelType?: IcPaginationLabelTypes;\n type?: IcPaginationTypes;\n showItemsPerPageControl?: boolean;\n showGoToPageControl?: boolean;\n alignment?: IcPaginationAlignmentOptions;\n appearance?: IcThemeForeground;\n itemLabel?: string;\n pageLabel?: string;\n hideRangeLabel?: boolean;\n}",
|
|
5487
|
+
"declaration": "export interface IcPaginationBarOptions {\n itemsPerPageOptions?: { label: string; value: string }[];\n rangeLabelType?: IcPaginationLabelTypes;\n type?: IcPaginationTypes;\n showItemsPerPageControl?: boolean;\n showGoToPageControl?: boolean;\n alignment?: IcPaginationAlignmentOptions;\n appearance?: IcThemeForeground;\n itemLabel?: string;\n pageLabel?: string;\n hideRangeLabel?: boolean;\n hideAllFromItemsPerPage?: boolean;\n}",
|
|
5372
5488
|
"docstring": "",
|
|
5373
5489
|
"path": "src/utils/types.ts"
|
|
5374
5490
|
},
|
|
@@ -5407,6 +5523,11 @@
|
|
|
5407
5523
|
"docstring": "",
|
|
5408
5524
|
"path": "../web-components/dist/types/components/ic-pagination/ic-pagination.types.d.ts"
|
|
5409
5525
|
},
|
|
5526
|
+
"src/components/ic-pagination-bar/ic-pagination-bar.types.ts::IcPageChangeEventDetail": {
|
|
5527
|
+
"declaration": "export interface IcPageChangeEventDetail {\n value: number;\n fromItemsPerPage?: boolean;\n}",
|
|
5528
|
+
"docstring": "",
|
|
5529
|
+
"path": "src/components/ic-pagination-bar/ic-pagination-bar.types.ts"
|
|
5530
|
+
},
|
|
5410
5531
|
"src/components/ic-data-table/ic-data-table.types.tsx::IcDensityUpdateEventDetail": {
|
|
5411
5532
|
"declaration": "export interface IcDensityUpdateEventDetail {\n value: IcDataTableDensityOptions;\n}",
|
|
5412
5533
|
"docstring": "",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "mi6",
|
|
3
3
|
"name": "@ukic/canary-docs",
|
|
4
|
-
"version": "2.0.0-canary.
|
|
4
|
+
"version": "2.0.0-canary.23",
|
|
5
5
|
"description": "API documentation for @ukic canary 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": "
|
|
21
|
+
"gitHead": "895517389cf1b33e002f4b72661792fd74ee4cbb"
|
|
22
22
|
}
|