@ukic/canary-web-components 2.0.0-canary.26 → 2.0.0-canary.27
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-table.cjs.entry.js +5 -3
- package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-empty-state_2.cjs.entry.js +15 -9
- package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +6 -6
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +18 -12
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +14 -27
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +68 -145
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +5 -13
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +9 -10
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +3 -1
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.css +5 -1
- package/dist/collection/components/ic-data-table/ic-data-table.js +4 -2
- package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
- package/dist/collection/components/ic-data-table/story-data.js +46 -5
- package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +46 -14
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.types.js +2 -0
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.types.js.map +1 -0
- package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js +20 -2
- package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js.map +1 -1
- package/dist/components/ic-alert2.js +1 -1
- package/dist/components/ic-alert2.js.map +1 -1
- package/dist/components/ic-data-table.js +5 -3
- package/dist/components/ic-data-table.js.map +1 -1
- package/dist/components/ic-pagination-bar2.js +18 -10
- package/dist/components/ic-pagination-bar2.js.map +1 -1
- package/dist/components/ic-popover-menu.js +20 -13
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-search-bar.js +14 -27
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select2.js +5 -5
- package/dist/components/ic-select2.js.map +1 -1
- package/dist/components/ic-tab-context.js +68 -145
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-panel.js +6 -17
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +9 -10
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +1 -1
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-typography2.js +3 -1
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-05ae9a59.entry.js +2 -0
- package/dist/core/p-05ae9a59.entry.js.map +1 -0
- package/dist/core/{p-989310a8.entry.js → p-0cf856e4.entry.js} +2 -2
- package/dist/core/p-0cf856e4.entry.js.map +1 -0
- package/dist/core/{p-2ee5d3fb.entry.js → p-34b333de.entry.js} +2 -2
- package/dist/core/p-34b333de.entry.js.map +1 -0
- package/dist/core/{p-6b1fcf87.entry.js → p-383ba7e8.entry.js} +2 -2
- package/dist/core/p-383ba7e8.entry.js.map +1 -0
- package/dist/core/p-6ca98c5d.entry.js +2 -0
- package/dist/core/p-6ca98c5d.entry.js.map +1 -0
- package/dist/core/{p-0ec04c16.entry.js → p-a7331e7c.entry.js} +2 -2
- package/dist/core/p-a7331e7c.entry.js.map +1 -0
- package/dist/core/p-b535c802.entry.js +2 -0
- package/dist/core/p-b535c802.entry.js.map +1 -0
- package/dist/core/{p-fa77211d.entry.js → p-cb156309.entry.js} +2 -2
- package/dist/core/p-cb156309.entry.js.map +1 -0
- package/dist/core/p-e50af3df.entry.js +2 -0
- package/dist/core/p-e50af3df.entry.js.map +1 -0
- package/dist/core/p-fc007ce4.entry.js +2 -0
- package/dist/core/p-fc007ce4.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/ic-alert.entry.js +1 -1
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-data-table.entry.js +5 -3
- package/dist/esm/ic-data-table.entry.js.map +1 -1
- package/dist/esm/ic-empty-state_2.entry.js +15 -9
- package/dist/esm/ic-empty-state_2.entry.js.map +1 -1
- package/dist/esm/ic-pagination_4.entry.js +6 -6
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +18 -12
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +14 -27
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +68 -145
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +5 -13
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +9 -10
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +3 -1
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-data-table/story-data.d.ts +15 -0
- package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +9 -4
- package/dist/types/components/ic-pagination-bar/ic-pagination-bar.types.d.ts +4 -0
- package/dist/types/components.d.ts +13 -3
- package/hydrate/index.js +150 -233
- package/package.json +3 -3
- package/dist/core/p-0ec04c16.entry.js.map +0 -1
- package/dist/core/p-216fbd5e.entry.js +0 -2
- package/dist/core/p-216fbd5e.entry.js.map +0 -1
- package/dist/core/p-2ee5d3fb.entry.js.map +0 -1
- package/dist/core/p-3ba4335c.entry.js +0 -2
- package/dist/core/p-3ba4335c.entry.js.map +0 -1
- package/dist/core/p-40e5fa80.entry.js +0 -2
- package/dist/core/p-40e5fa80.entry.js.map +0 -1
- package/dist/core/p-6af080d3.entry.js +0 -2
- package/dist/core/p-6af080d3.entry.js.map +0 -1
- package/dist/core/p-6b1fcf87.entry.js.map +0 -1
- package/dist/core/p-989310a8.entry.js.map +0 -1
- package/dist/core/p-c98ce508.entry.js +0 -2
- package/dist/core/p-c98ce508.entry.js.map +0 -1
- package/dist/core/p-fa77211d.entry.js.map +0 -1
@@ -306,6 +306,21 @@ export declare const DATA_REACT_ELEMENTS: ({
|
|
306
306
|
jobTitle: string;
|
307
307
|
address: string;
|
308
308
|
})[];
|
309
|
+
export declare const DATA_REACT_ELEMENTS_WITH_ICONS: ({
|
310
|
+
firstName: {
|
311
|
+
data: string;
|
312
|
+
href: string;
|
313
|
+
icon: string;
|
314
|
+
};
|
315
|
+
age: number;
|
316
|
+
jobTitle: string;
|
317
|
+
address: string;
|
318
|
+
} | {
|
319
|
+
firstName: string;
|
320
|
+
age: number;
|
321
|
+
jobTitle: string;
|
322
|
+
address: string;
|
323
|
+
})[];
|
309
324
|
export declare const createDataTableElement: (caption: string, columns?: IcDataTableColumnObject[], data?: object[]) => HTMLIcDataTableElement;
|
310
325
|
export declare const Basic: () => HTMLIcDataTableElement;
|
311
326
|
export declare const DataTableSizing: () => HTMLElement;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
2
2
|
import { IcThemeForeground } from "@ukic/web-components/dist/types/interface";
|
3
|
+
import { IcPageChangeEventDetail } from "./ic-pagination-bar.types";
|
3
4
|
import { IcPaginationAlignmentOptions, IcPaginationLabelTypes, IcPaginationTypes } from "@ukic/web-components/dist/types/components/ic-pagination/ic-pagination.types";
|
4
5
|
export declare class PaginationBar {
|
5
6
|
private PAGE_INPUT_FIELD_ID;
|
@@ -13,7 +14,7 @@ export declare class PaginationBar {
|
|
13
14
|
el: HTMLIcPaginationBarElement;
|
14
15
|
capitalizedItemLabel: string;
|
15
16
|
capitalizedPageLabel: string;
|
16
|
-
|
17
|
+
activePage: number;
|
17
18
|
displayedItemsPerPageOptions?: {
|
18
19
|
label: string;
|
19
20
|
value: string;
|
@@ -36,6 +37,11 @@ export declare class PaginationBar {
|
|
36
37
|
* Sets the styling for the items in the pagination bar.
|
37
38
|
*/
|
38
39
|
appearance?: IcThemeForeground;
|
40
|
+
/**
|
41
|
+
* The current page number to be displayed on the pagination bar.
|
42
|
+
*/
|
43
|
+
currentPage?: number;
|
44
|
+
watchPageNumberHandler(): void;
|
39
45
|
/**
|
40
46
|
* The text which will be used in place of 'Item' on the pagination bar.
|
41
47
|
*/
|
@@ -87,10 +93,9 @@ export declare class PaginationBar {
|
|
87
93
|
watchTotalItemsHandler(): void;
|
88
94
|
/**
|
89
95
|
* Emitted when a page is navigated to via the 'go to' input.
|
96
|
+
* The `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.
|
90
97
|
*/
|
91
|
-
icPageChange: EventEmitter<
|
92
|
-
value: number;
|
93
|
-
}>;
|
98
|
+
icPageChange: EventEmitter<IcPageChangeEventDetail>;
|
94
99
|
/**
|
95
100
|
* Emitted when the items per page option is changed.
|
96
101
|
*/
|
@@ -12,6 +12,7 @@ import { IcDateFormat, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcSea
|
|
12
12
|
import { IcMenuChangeEventDetail, IcMenuOptionIdEventDetail, IcOptionSelectEventDetail, IcSearchBarSearchModes } from "@ukic/web-components/dist/types/components";
|
13
13
|
import { IcPaginationAlignmentOptions, IcPaginationLabelTypes, IcPaginationTypes } from "@ukic/web-components/dist/types/components/ic-pagination/ic-pagination.types";
|
14
14
|
import { IcThemeForeground } from "@ukic/web-components/dist/types/interface";
|
15
|
+
import { IcPageChangeEventDetail } from "./components/ic-pagination-bar/ic-pagination-bar.types";
|
15
16
|
export { IcCardSizes } from "./components/ic-card-horizontal/ic-card-horizontal.types";
|
16
17
|
export { IcDataTableColumnObject, IcDataTableDataType, IcDataTableDensityOptions, IcDataTableRowHeights, IcDataTableSortOrderOptions, IcDataTableTruncationTypes, IcDensityUpdateEventDetail, IcSortEventDetail } from "./components/ic-data-table/ic-data-table.types";
|
17
18
|
export { IcActivationTypes, IcMenuOption, IcThemeForegroundNoDefault } from "@ukic/web-components/dist/types/utils/types";
|
@@ -19,6 +20,7 @@ export { IcDateFormat, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcSea
|
|
19
20
|
export { IcMenuChangeEventDetail, IcMenuOptionIdEventDetail, IcOptionSelectEventDetail, IcSearchBarSearchModes } from "@ukic/web-components/dist/types/components";
|
20
21
|
export { IcPaginationAlignmentOptions, IcPaginationLabelTypes, IcPaginationTypes } from "@ukic/web-components/dist/types/components/ic-pagination/ic-pagination.types";
|
21
22
|
export { IcThemeForeground } from "@ukic/web-components/dist/types/interface";
|
23
|
+
export { IcPageChangeEventDetail } from "./components/ic-pagination-bar/ic-pagination-bar.types";
|
22
24
|
export namespace Components {
|
23
25
|
interface IcCardHorizontal {
|
24
26
|
/**
|
@@ -498,6 +500,10 @@ export namespace Components {
|
|
498
500
|
* Sets the styling for the items in the pagination bar.
|
499
501
|
*/
|
500
502
|
"appearance"?: IcThemeForeground;
|
503
|
+
/**
|
504
|
+
* The current page number to be displayed on the pagination bar.
|
505
|
+
*/
|
506
|
+
"currentPage"?: number;
|
501
507
|
/**
|
502
508
|
* If `true`, the number of total items and current item range or number of total pages and current page will be hidden.
|
503
509
|
*/
|
@@ -883,7 +889,7 @@ declare global {
|
|
883
889
|
new (): HTMLIcMenuWithMultiElement;
|
884
890
|
};
|
885
891
|
interface HTMLIcPaginationBarElementEventMap {
|
886
|
-
"icPageChange":
|
892
|
+
"icPageChange": IcPageChangeEventDetail;
|
887
893
|
"icItemsPerPageChange": { value: number };
|
888
894
|
}
|
889
895
|
interface HTMLIcPaginationBarElement extends Components.IcPaginationBar, HTMLStencilElement {
|
@@ -1439,6 +1445,10 @@ declare namespace LocalJSX {
|
|
1439
1445
|
* Sets the styling for the items in the pagination bar.
|
1440
1446
|
*/
|
1441
1447
|
"appearance"?: IcThemeForeground;
|
1448
|
+
/**
|
1449
|
+
* The current page number to be displayed on the pagination bar.
|
1450
|
+
*/
|
1451
|
+
"currentPage"?: number;
|
1442
1452
|
/**
|
1443
1453
|
* If `true`, the number of total items and current item range or number of total pages and current page will be hidden.
|
1444
1454
|
*/
|
@@ -1459,9 +1469,9 @@ declare namespace LocalJSX {
|
|
1459
1469
|
*/
|
1460
1470
|
"onIcItemsPerPageChange"?: (event: IcPaginationBarCustomEvent<{ value: number }>) => void;
|
1461
1471
|
/**
|
1462
|
-
* Emitted when a page is navigated to via the 'go to' input.
|
1472
|
+
* Emitted when a page is navigated to via the 'go to' input. The `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.
|
1463
1473
|
*/
|
1464
|
-
"onIcPageChange"?: (event: IcPaginationBarCustomEvent<
|
1474
|
+
"onIcPageChange"?: (event: IcPaginationBarCustomEvent<IcPageChangeEventDetail>) => void;
|
1465
1475
|
/**
|
1466
1476
|
* The text which will be used in place of 'Page' on the pagination bar.
|
1467
1477
|
*/
|