@mgdis/mg-components 6.21.0 → 6.22.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.
- package/dist/cjs/{index-CCsGMNyq.js → index-BxB20_Vw.js} +8 -0
- package/dist/cjs/{index-C2viYwrR.js → index-Dz2LAZQT.js} +329 -1789
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{mg-action-more_37.cjs.entry.js → mg-action-more_36.cjs.entry.js} +200 -242
- package/dist/cjs/mg-alert.cjs.entry.js +3 -3
- package/dist/cjs/mg-breadcrumb.cjs.entry.js +63 -0
- package/dist/cjs/mg-components.cjs.js +3 -3
- package/dist/cjs/mg-fieldset.cjs.entry.js +2 -2
- package/dist/cjs/mg-input-combobox.cjs.entry.js +4 -4
- package/dist/cjs/mg-input-file.cjs.entry.js +4 -4
- package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +40095 -15808
- package/dist/cjs/mg-loader.cjs.entry.js +3 -3
- package/dist/cjs/mg-progress.cjs.entry.js +2 -2
- package/dist/collection/assets/icons/index.js +1 -1
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/atoms/internals/mg-character-left/mg-character-left.js +1 -1
- package/dist/collection/components/atoms/internals/mg-input-title/mg-input-title.js +1 -1
- package/dist/collection/components/atoms/mg-badge/mg-badge.js +2 -1
- package/dist/collection/components/atoms/mg-button/mg-button.js +6 -3
- package/dist/collection/components/atoms/mg-card/mg-card.js +3 -2
- package/dist/collection/components/atoms/mg-divider/mg-divider.js +1 -1
- package/dist/collection/components/atoms/mg-icon/mg-icon.js +10 -6
- package/dist/collection/components/atoms/mg-tag/mg-tag.js +3 -2
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip-content/mg-tooltip-content.js +1 -1
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js +3 -2
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +5 -3
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js +2 -2
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxPaginated.js +38 -0
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.js +3 -2
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +47 -26
- package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js +13 -7
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js +3 -2
- package/dist/collection/components/molecules/inputs/mg-input-file/mg-input-file.js +4 -3
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js +9 -5
- package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +6 -4
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js +5 -3
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/custom-properties.scss +212 -0
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf.js +1 -0
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/index.js +300 -94
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.conf.js +29 -0
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js +164 -51
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +22 -8
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js +12 -7
- package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js +5 -3
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +7 -4
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js +7 -38
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.conf.js +0 -4
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.js +24 -44
- package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.js +69 -40
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.js +11 -7
- package/dist/collection/components/molecules/mg-alert/mg-alert.js +5 -3
- package/dist/collection/components/molecules/mg-breadcrumb/mg-breadcrumb.conf.js +1 -0
- package/dist/collection/components/molecules/mg-breadcrumb/mg-breadcrumb.js +93 -0
- package/dist/collection/components/molecules/mg-details/mg-details.js +1 -1
- package/dist/collection/components/molecules/mg-fieldset/mg-fieldset.js +3 -2
- package/dist/collection/components/molecules/mg-form/mg-form.js +5 -3
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js +5 -3
- package/dist/collection/components/molecules/mg-loader/mg-loader.js +1 -1
- package/dist/collection/components/molecules/mg-message/mg-message.js +6 -4
- package/dist/collection/components/molecules/mg-modal/mg-modal.js +4 -3
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.js +2 -1
- package/dist/collection/components/molecules/mg-panel/mg-panel.js +5 -3
- package/dist/collection/components/molecules/mg-popover/mg-popover-content/mg-popover-content.js +1 -1
- package/dist/collection/components/molecules/mg-popover/mg-popover.js +3 -2
- package/dist/collection/components/molecules/mg-progress/mg-progress.js +3 -2
- package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.js +3 -2
- package/dist/collection/components/molecules/mg-table/mg-table.js +41 -2
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.conf.js +0 -4
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.js +15 -34
- package/dist/collection/locales/en/messages.json +3 -0
- package/dist/collection/locales/fr/messages.json +3 -0
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/mg-action-more.js +1 -1
- package/dist/components/mg-alert.js +1 -1
- package/dist/components/mg-breadcrumb.d.ts +11 -0
- package/dist/components/mg-breadcrumb.js +1 -0
- package/dist/components/mg-card2.js +1 -1
- package/dist/components/mg-character-left2.js +1 -1
- package/dist/components/mg-details.js +1 -1
- package/dist/components/mg-divider2.js +1 -1
- package/dist/components/mg-fieldset.js +1 -1
- package/dist/components/mg-form.js +1 -1
- package/dist/components/mg-icon2.js +1 -1
- package/dist/components/mg-illustrated-message.js +1 -1
- package/dist/components/mg-input-checkbox.js +1 -1
- package/dist/components/mg-input-combobox.js +1 -1
- package/dist/components/mg-input-date.js +1 -1
- package/dist/components/mg-input-file.js +1 -1
- package/dist/components/mg-input-numeric.js +1 -1
- package/dist/components/mg-input-password.js +1 -1
- package/dist/components/mg-input-radio.js +1 -1
- package/dist/components/mg-input-rich-text-editor.js +1663 -1
- package/dist/components/mg-input-select2.js +1 -1
- package/dist/components/mg-input-text2.js +1 -1
- package/dist/components/mg-input-textarea.js +1 -1
- package/dist/components/mg-input-title2.js +1 -1
- package/dist/components/mg-input-toggle.js +1 -1
- package/dist/components/mg-input2.js +1 -1
- package/dist/components/mg-item-more2.js +1 -1
- package/dist/components/mg-loader2.js +1 -1
- package/dist/components/mg-menu-item2.js +1 -1
- package/dist/components/mg-message2.js +1 -1
- package/dist/components/mg-modal.js +1 -1
- package/dist/components/mg-panel.js +1 -1
- package/dist/components/mg-popover-content2.js +1 -1
- package/dist/components/mg-popover2.js +1 -1
- package/dist/components/mg-progress.js +1 -1
- package/dist/components/mg-skip-links.js +1 -1
- package/dist/components/mg-table.js +1 -1
- package/dist/components/mg-tabs2.js +1 -1
- package/dist/components/mg-tag.js +1 -1
- package/dist/components/mg-tooltip-content2.js +1 -1
- package/dist/components/mg-tooltip2.js +1 -1
- package/dist/esm/{index-DFwaH2hS.js → index-C3jUhxdI.js} +329 -1789
- package/dist/esm/{index-D-uaxCxH.js → index-DSEloqPn.js} +8 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{mg-action-more_37.entry.js → mg-action-more_36.entry.js} +202 -243
- package/dist/esm/mg-alert.entry.js +3 -3
- package/dist/esm/mg-breadcrumb.entry.js +61 -0
- package/dist/esm/mg-components.js +4 -4
- package/dist/esm/mg-fieldset.entry.js +2 -2
- package/dist/esm/mg-input-combobox.entry.js +4 -4
- package/dist/esm/mg-input-file.entry.js +4 -4
- package/dist/esm/mg-input-rich-text-editor.entry.js +40082 -15795
- package/dist/esm/mg-loader.entry.js +3 -3
- package/dist/esm/mg-progress.entry.js +2 -2
- package/dist/mg-components/locales/en/messages.json +3 -0
- package/dist/mg-components/locales/fr/messages.json +3 -0
- package/dist/mg-components/mg-components.esm.js +1 -1
- package/dist/mg-components/{p-6b57f249.entry.js → p-06fbdb2f.entry.js} +1 -1
- package/dist/mg-components/{p-c3d116b9.entry.js → p-188b9ca9.entry.js} +1 -1
- package/dist/mg-components/p-4667078d.entry.js +1 -0
- package/dist/mg-components/p-5a859ecf.entry.js +1658 -0
- package/dist/mg-components/p-661da56b.entry.js +1 -0
- package/dist/mg-components/{p-988c282e.entry.js → p-8e256086.entry.js} +1 -1
- package/dist/mg-components/p-C3jUhxdI.js +2 -0
- package/dist/mg-components/p-DSEloqPn.js +1 -0
- package/dist/mg-components/{p-6b655830.entry.js → p-b0b8c58f.entry.js} +1 -1
- package/dist/mg-components/{p-dd1934f4.entry.js → p-bbcef41c.entry.js} +1 -1
- package/dist/mg-components/{p-4175dcbe.entry.js → p-c1aeb277.entry.js} +1 -1
- package/dist/types/assets/icons/index.d.ts +2 -0
- package/dist/types/components/molecules/inputs/mg-input/mg-input.conf.d.ts +1 -1
- package/dist/types/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.d.ts +2 -2
- package/dist/types/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxPaginated.d.ts +8 -0
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.d.ts +16 -8
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.d.ts +15 -5
- package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf.d.ts +17 -0
- package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/editor/index.d.ts +27 -19
- package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.conf.d.ts +3 -0
- package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.d.ts +48 -14
- package/dist/types/components/molecules/inputs/mg-input-select/mg-input-select.d.ts +1 -1
- package/dist/types/components/molecules/internals/mg-item-more/mg-item-more.conf.d.ts +0 -5
- package/dist/types/components/molecules/internals/mg-item-more/mg-item-more.d.ts +1 -6
- package/dist/types/components/molecules/menus/mg-menu/mg-menu.conf.d.ts +2 -10
- package/dist/types/components/molecules/menus/mg-menu/mg-menu.d.ts +7 -7
- package/dist/types/components/molecules/menus/mg-menu-item/mg-menu-item.d.ts +12 -8
- package/dist/types/components/molecules/mg-breadcrumb/mg-breadcrumb.conf.d.ts +18 -0
- package/dist/types/components/molecules/mg-breadcrumb/mg-breadcrumb.d.ts +34 -0
- package/dist/types/components/molecules/mg-table/mg-table.d.ts +6 -0
- package/dist/types/components/molecules/mg-tabs/mg-tabs.conf.d.ts +1 -9
- package/dist/types/components/molecules/mg-tabs/mg-tabs.d.ts +4 -4
- package/dist/types/components.d.ts +617 -207
- package/dist/types/stencil-public-runtime.d.ts +52 -2
- package/ide/intellij/web-types.json +143 -55
- package/ide/vscode/css-custom-data.json +10 -2
- package/ide/vscode/html-custom-data.json +113 -34
- package/package.json +24 -23
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +0 -245
- package/dist/components/mg-input-checkbox-paginated.d.ts +0 -11
- package/dist/components/mg-input-checkbox-paginated.js +0 -1
- package/dist/components/mg-input-checkbox-paginated2.js +0 -1
- package/dist/mg-components/p-08fa327b.entry.js +0 -1
- package/dist/mg-components/p-D-uaxCxH.js +0 -1
- package/dist/mg-components/p-DFwaH2hS.js +0 -2
- package/dist/mg-components/p-a79b1f19.entry.js +0 -1
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.d.ts +0 -77
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IconType,
|
|
1
|
+
import type { IconType, SlotLabelType } from './mg-item-more.conf';
|
|
2
2
|
/**
|
|
3
3
|
* @internal
|
|
4
4
|
*/
|
|
@@ -27,11 +27,6 @@ export declare class MgItemMore {
|
|
|
27
27
|
*/
|
|
28
28
|
slotlabel?: SlotLabelType;
|
|
29
29
|
validateSlotLabel(newValue: MgItemMore['slotlabel']): void;
|
|
30
|
-
/**
|
|
31
|
-
* Define component child menu size.
|
|
32
|
-
*/
|
|
33
|
-
size?: SizeType;
|
|
34
|
-
validateSize(newValue: MgItemMore['size']): void;
|
|
35
30
|
/**
|
|
36
31
|
* Define component parent menu.
|
|
37
32
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Direction } from '../../../../types';
|
|
2
2
|
import type { MgItemMore } from '../../internals/mg-item-more/mg-item-more';
|
|
3
3
|
/**
|
|
4
4
|
* Menu direction values
|
|
@@ -7,12 +7,4 @@ export declare const directions: Record<string, Direction>;
|
|
|
7
7
|
/**
|
|
8
8
|
* ItemMore prop type
|
|
9
9
|
*/
|
|
10
|
-
export type ItemMoreType = Pick<MgItemMore, 'icon' | 'slotlabel'
|
|
11
|
-
/**
|
|
12
|
-
* List of all possibles sizes
|
|
13
|
-
*/
|
|
14
|
-
export declare const sizes: readonly ["medium", "large", "xlarge"];
|
|
15
|
-
/**
|
|
16
|
-
* item Size from sizes
|
|
17
|
-
*/
|
|
18
|
-
export type MenuSizeType = Size & (typeof sizes)[number];
|
|
10
|
+
export type ItemMoreType = Pick<MgItemMore, 'icon' | 'slotlabel'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ItemMoreType } from './mg-menu.conf';
|
|
2
2
|
import { Direction } from '../../../../types';
|
|
3
3
|
/**
|
|
4
4
|
* @slot - Menu content
|
|
@@ -26,17 +26,17 @@ export declare class MgMenu {
|
|
|
26
26
|
*/
|
|
27
27
|
direction: Direction;
|
|
28
28
|
validateDirection(newValue: MgMenu['direction']): void;
|
|
29
|
+
/**
|
|
30
|
+
* Size of the menu items
|
|
31
|
+
* @deprecated this prop is deprecated and will be removed in future releases
|
|
32
|
+
*/
|
|
33
|
+
size: never;
|
|
29
34
|
/**
|
|
30
35
|
* Customize "mg-item-more" element
|
|
31
|
-
* Used with direction: '
|
|
36
|
+
* Used with direction: 'horizontal' to manage overflow
|
|
32
37
|
*/
|
|
33
38
|
itemmore?: ItemMoreType;
|
|
34
39
|
validateItemMore(newValue: MgMenu['itemmore']): void;
|
|
35
|
-
/**
|
|
36
|
-
* Define mg-menu size
|
|
37
|
-
*/
|
|
38
|
-
size: MenuSizeType;
|
|
39
|
-
validateSize(newValue: MgMenu['size']): void;
|
|
40
40
|
/**
|
|
41
41
|
* Define mg-menu-item listener when they are loaded
|
|
42
42
|
* @param event - mg-item-loaded "item-loaded" custom event
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
2
|
import { ClassList } from '@mgdis/core-ui-helpers/dist/utils';
|
|
3
|
-
import { type MenuSizeType } from '../mg-menu/mg-menu.conf';
|
|
4
3
|
import { type MgMenuStatusType, type TargetType } from './mg-menu-item.conf';
|
|
5
4
|
import { Direction } from '../../../../types';
|
|
6
5
|
/**
|
|
@@ -15,7 +14,7 @@ export declare class MgMenuItem {
|
|
|
15
14
|
* Internal *
|
|
16
15
|
************/
|
|
17
16
|
private readonly name;
|
|
18
|
-
private readonly
|
|
17
|
+
private readonly classNavigationButton;
|
|
19
18
|
private messages;
|
|
20
19
|
private popoverIdentifier;
|
|
21
20
|
/**************
|
|
@@ -48,6 +47,11 @@ export declare class MgMenuItem {
|
|
|
48
47
|
*/
|
|
49
48
|
status?: MgMenuStatusType;
|
|
50
49
|
watchStatus(newValue: MgMenuItem['status'], oldValue?: MgMenuItem['status']): void;
|
|
50
|
+
/**
|
|
51
|
+
* Define menu-item isIcon style.
|
|
52
|
+
*/
|
|
53
|
+
isIcon?: boolean;
|
|
54
|
+
watchIsIcon(newValue: MgMenuItem['isIcon']): void;
|
|
51
55
|
/**
|
|
52
56
|
* Define menu-item content expanded.
|
|
53
57
|
*/
|
|
@@ -67,15 +71,10 @@ export declare class MgMenuItem {
|
|
|
67
71
|
/**********
|
|
68
72
|
* States *
|
|
69
73
|
*********/
|
|
70
|
-
/**
|
|
71
|
-
* Define menu-item size.
|
|
72
|
-
*/
|
|
73
|
-
size: MenuSizeType;
|
|
74
|
-
watchSize(newValue: MgMenuItem['size'], oldValue?: MgMenuItem['size']): void;
|
|
75
74
|
/**
|
|
76
75
|
* Component button classes
|
|
77
76
|
*/
|
|
78
|
-
|
|
77
|
+
classNavigationButtonClassList: ClassList;
|
|
79
78
|
/**
|
|
80
79
|
* Parent menu direction
|
|
81
80
|
*/
|
|
@@ -205,6 +204,11 @@ export declare class MgMenuItem {
|
|
|
205
204
|
* @returns promise process wich emit the 'item-updated' event
|
|
206
205
|
*/
|
|
207
206
|
componentShouldUpdate(): Promise<void>;
|
|
207
|
+
/**
|
|
208
|
+
* Render information slot or notification badge
|
|
209
|
+
* @returns HTML Element
|
|
210
|
+
*/
|
|
211
|
+
private renderInformationSlotOrNotification;
|
|
208
212
|
/**
|
|
209
213
|
* Render ineractive element
|
|
210
214
|
* @returns HTML Element
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { IconType } from '../../atoms/mg-icon/mg-icon.conf';
|
|
2
|
+
/**
|
|
3
|
+
* Breadcrumb item type
|
|
4
|
+
*/
|
|
5
|
+
export type BreadcrumbItemType = {
|
|
6
|
+
/** Displayed label (link text or current page text). Always required. */
|
|
7
|
+
label: string;
|
|
8
|
+
/**
|
|
9
|
+
* Link URL. If absent or empty, the item is rendered as current page (text only, no <a>).
|
|
10
|
+
* Last item typically has no href.
|
|
11
|
+
*/
|
|
12
|
+
href?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Icon name (mg-icon). If present, the link displays the icon instead of the text.
|
|
15
|
+
* The label is used as accessible text (aria-label or visually hidden content).
|
|
16
|
+
*/
|
|
17
|
+
icon?: IconType;
|
|
18
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { BreadcrumbItemType } from './mg-breadcrumb.conf';
|
|
2
|
+
export declare class MgBreadcrumb {
|
|
3
|
+
/************
|
|
4
|
+
* Internal *
|
|
5
|
+
************/
|
|
6
|
+
private messages;
|
|
7
|
+
/**************
|
|
8
|
+
* Decorators *
|
|
9
|
+
**************/
|
|
10
|
+
/**
|
|
11
|
+
* Get component DOM element
|
|
12
|
+
*/
|
|
13
|
+
element: HTMLMgBreadcrumbElement;
|
|
14
|
+
/**
|
|
15
|
+
* Breadcrumb items (hierarchical order: root → current page).
|
|
16
|
+
*/
|
|
17
|
+
items: BreadcrumbItemType[];
|
|
18
|
+
validateItems(newValue: MgBreadcrumb['items']): void;
|
|
19
|
+
/***********
|
|
20
|
+
* Methods *
|
|
21
|
+
**********/
|
|
22
|
+
/**
|
|
23
|
+
* Render a single breadcrumb item (link or current page)
|
|
24
|
+
* @param item - The breadcrumb item
|
|
25
|
+
* @param isLast - Whether this item is the last in the list
|
|
26
|
+
* @returns The rendered link or span element
|
|
27
|
+
*/
|
|
28
|
+
private renderItem;
|
|
29
|
+
/*************
|
|
30
|
+
* Lifecycle *
|
|
31
|
+
*************/
|
|
32
|
+
componentWillLoad(): void;
|
|
33
|
+
render(): HTMLElement;
|
|
34
|
+
}
|
|
@@ -11,6 +11,7 @@ export declare class MgTable {
|
|
|
11
11
|
private readonly componentClass;
|
|
12
12
|
private readonly componentWrapperClass;
|
|
13
13
|
private readonly classFullWidth;
|
|
14
|
+
private readonly classBorderHide;
|
|
14
15
|
private alignmentStylesheet;
|
|
15
16
|
/**************
|
|
16
17
|
* Decorators *
|
|
@@ -29,6 +30,11 @@ export declare class MgTable {
|
|
|
29
30
|
*/
|
|
30
31
|
fullWidth: boolean;
|
|
31
32
|
watchFullWidth(newValue: MgTable['fullWidth']): void;
|
|
33
|
+
/**
|
|
34
|
+
* Define if table has no outer border
|
|
35
|
+
*/
|
|
36
|
+
borderHide: boolean;
|
|
37
|
+
watchBorderHide(newValue: MgTable['borderHide']): void;
|
|
32
38
|
/**
|
|
33
39
|
* Define column properties
|
|
34
40
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Status as StatusType } from '../../../types';
|
|
2
2
|
import type { MgBadge } from '../../atoms/mg-badge/mg-badge';
|
|
3
3
|
import type { MgIcon } from '../../atoms/mg-icon/mg-icon';
|
|
4
4
|
/**
|
|
@@ -17,11 +17,3 @@ export type TabItem = {
|
|
|
17
17
|
};
|
|
18
18
|
status: StatusType;
|
|
19
19
|
};
|
|
20
|
-
/**
|
|
21
|
-
* List of all possibles sizes
|
|
22
|
-
*/
|
|
23
|
-
export declare const sizes: readonly ["medium", "large"];
|
|
24
|
-
/**
|
|
25
|
-
* Variant type from variants
|
|
26
|
-
*/
|
|
27
|
-
export type SizeType = Size & (typeof sizes)[number];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
2
|
import { ClassList } from '@mgdis/core-ui-helpers/dist/utils';
|
|
3
|
-
import { TabItem
|
|
3
|
+
import { TabItem } from './mg-tabs.conf';
|
|
4
4
|
/**
|
|
5
5
|
* @slot tab_content-n - Tab content, where `n` represents the position of the tab content. It starts at 1.
|
|
6
6
|
*/
|
|
@@ -32,10 +32,10 @@ export declare class MgTabs {
|
|
|
32
32
|
label: string;
|
|
33
33
|
validateLabel(newValue: MgTabs['label']): void;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Size of the tabs items.
|
|
36
|
+
* @deprecated this prop is deprecated and will be removed in future releases. Please use CSS custom properties to set the size of tabs items.
|
|
36
37
|
*/
|
|
37
|
-
size:
|
|
38
|
-
validateSize(newValue: MgTabs['size']): void;
|
|
38
|
+
size: never;
|
|
39
39
|
/**
|
|
40
40
|
* Tabs items
|
|
41
41
|
*/
|