@mgdis/mg-components 5.26.0 → 5.27.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.
- package/dist/cjs/{index-c585c382.js → index-1d560837.js} +97 -81
- package/dist/cjs/index-1d560837.js.map +1 -0
- package/dist/cjs/{index-0a2783ee.js → index-7072369e.js} +17 -5
- package/dist/cjs/index-7072369e.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{mg-action-more_34.cjs.entry.js → mg-action-more_35.cjs.entry.js} +613 -694
- package/dist/cjs/mg-action-more_35.cjs.entry.js.map +1 -0
- package/dist/cjs/mg-components.cjs.js +3 -3
- package/dist/cjs/mg-components.cjs.js.map +1 -1
- package/dist/cjs/mg-item-more.cjs.entry.js +7 -6
- package/dist/cjs/mg-item-more.cjs.entry.js.map +1 -1
- package/dist/cjs/mg-loader.cjs.entry.js +3 -3
- package/dist/cjs/mg-loader.cjs.entry.js.map +1 -1
- package/dist/collection/assets/icons/index.js +1 -206
- package/dist/collection/assets/icons/index.js.map +1 -1
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/atoms/mg-badge/mg-badge.js +2 -2
- package/dist/collection/components/atoms/mg-badge/mg-badge.js.map +1 -1
- package/dist/collection/components/atoms/mg-button/mg-button.js +6 -6
- package/dist/collection/components/atoms/mg-button/mg-button.js.map +1 -1
- package/dist/collection/components/atoms/mg-card/mg-card.js +2 -2
- package/dist/collection/components/atoms/mg-card/mg-card.js.map +1 -1
- package/dist/collection/components/atoms/mg-character-left/mg-character-left.js +2 -2
- package/dist/collection/components/atoms/mg-character-left/mg-character-left.js.map +1 -1
- package/dist/collection/components/atoms/mg-divider/mg-divider.js +1 -1
- package/dist/collection/components/atoms/mg-icon/mg-icon.conf.js.map +1 -1
- package/dist/collection/components/atoms/mg-icon/mg-icon.js +13 -8
- package/dist/collection/components/atoms/mg-icon/mg-icon.js.map +1 -1
- package/dist/collection/components/atoms/mg-input-title/mg-input-title.js +3 -3
- package/dist/collection/components/atoms/mg-input-title/mg-input-title.js.map +1 -1
- package/dist/collection/components/atoms/mg-tag/mg-tag.js +3 -3
- package/dist/collection/components/atoms/mg-tag/mg-tag.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.conf.js +21 -0
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.conf.js.map +1 -0
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +509 -0
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js.map +1 -0
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js +1 -5
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +7 -7
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +67 -45
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js +31 -13
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js +48 -18
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +54 -15
- package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js +40 -8
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +44 -13
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js +63 -24
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js +47 -15
- package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js.map +1 -1
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +30 -21
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js.map +1 -1
- package/dist/collection/components/molecules/menu/mg-menu/mg-menu.js +3 -3
- package/dist/collection/components/molecules/menu/mg-menu/mg-menu.js.map +1 -1
- package/dist/collection/components/molecules/menu/mg-menu-item/mg-menu-item.conf.js +4 -0
- package/dist/collection/components/molecules/menu/mg-menu-item/mg-menu-item.conf.js.map +1 -1
- package/dist/collection/components/molecules/menu/mg-menu-item/mg-menu-item.js +43 -7
- package/dist/collection/components/molecules/menu/mg-menu-item/mg-menu-item.js.map +1 -1
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.conf.js.map +1 -1
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.js +41 -41
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.js.map +1 -1
- package/dist/collection/components/molecules/mg-details/mg-details.js +1 -1
- package/dist/collection/components/molecules/mg-form/mg-form.js +4 -4
- package/dist/collection/components/molecules/mg-form/mg-form.js.map +1 -1
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js +3 -3
- package/dist/collection/components/molecules/mg-item-more/mg-item-more.conf.js.map +1 -1
- package/dist/collection/components/molecules/mg-item-more/mg-item-more.js +12 -11
- package/dist/collection/components/molecules/mg-item-more/mg-item-more.js.map +1 -1
- package/dist/collection/components/molecules/mg-loader/mg-loader.js +3 -3
- package/dist/collection/components/molecules/mg-loader/mg-loader.js.map +1 -1
- package/dist/collection/components/molecules/mg-message/mg-message.js +3 -3
- package/dist/collection/components/molecules/mg-message/mg-message.js.map +1 -1
- package/dist/collection/components/molecules/mg-modal/mg-modal.js +2 -2
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.js +4 -4
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.js.map +1 -1
- package/dist/collection/components/molecules/mg-panel/mg-panel.js +4 -4
- package/dist/collection/components/molecules/mg-panel/mg-panel.js.map +1 -1
- 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 +2 -2
- package/dist/collection/components/molecules/mg-popover/mg-popover.js.map +1 -1
- package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.js +1 -1
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.js +1 -1
- package/dist/collection/locales/en/messages.json +10 -3
- package/dist/collection/locales/fr/messages.json +10 -3
- package/dist/collection/locales/index.conf.js +2 -0
- package/dist/collection/locales/index.conf.js.map +1 -0
- package/dist/collection/utils/playwright.fixture.js +1 -1
- package/dist/collection/utils/playwright.fixture.js.map +1 -1
- package/dist/components/index.es.js +12 -12
- package/dist/components/index.es.js.map +1 -1
- package/dist/components/index2.js +24 -8
- package/dist/components/index2.js.map +1 -1
- package/dist/components/mg-action-more.js +15 -15
- package/dist/components/mg-action-more.js.map +1 -1
- package/dist/components/mg-badge2.js +1 -1
- package/dist/components/mg-badge2.js.map +1 -1
- package/dist/components/mg-button2.js +1 -1
- package/dist/components/mg-button2.js.map +1 -1
- package/dist/components/mg-card2.js +2 -2
- package/dist/components/mg-card2.js.map +1 -1
- package/dist/components/mg-character-left2.js +1 -1
- package/dist/components/mg-character-left2.js.map +1 -1
- package/dist/components/mg-details.js +1 -1
- package/dist/components/mg-divider.js +1 -1
- package/dist/components/mg-form.js +1 -1
- package/dist/components/mg-form.js.map +1 -1
- package/dist/components/mg-icon2.js +4 -416
- package/dist/components/mg-icon2.js.map +1 -1
- package/dist/components/mg-illustrated-message.js +3 -3
- package/dist/components/mg-input-checkbox-paginated2.js +13 -11
- package/dist/components/mg-input-checkbox-paginated2.js.map +1 -1
- package/dist/components/mg-input-checkbox.js +71 -49
- package/dist/components/mg-input-checkbox.js.map +1 -1
- package/dist/components/mg-input-date.js +29 -11
- package/dist/components/mg-input-date.js.map +1 -1
- package/dist/components/mg-input-numeric.js +41 -12
- package/dist/components/mg-input-numeric.js.map +1 -1
- package/dist/components/mg-input-password.js +56 -12
- package/dist/components/mg-input-password.js.map +1 -1
- package/dist/components/mg-input-radio.js +41 -10
- package/dist/components/mg-input-radio.js.map +1 -1
- package/dist/components/mg-input-select2.js +42 -12
- package/dist/components/mg-input-select2.js.map +1 -1
- package/dist/components/mg-input-text2.js +50 -18
- package/dist/components/mg-input-text2.js.map +1 -1
- package/dist/components/mg-input-textarea.js +44 -13
- package/dist/components/mg-input-textarea.js.map +1 -1
- package/dist/components/mg-input-title2.js +1 -1
- package/dist/components/mg-input-title2.js.map +1 -1
- package/dist/components/mg-input-toggle.js +35 -22
- package/dist/components/mg-input-toggle.js.map +1 -1
- package/dist/components/mg-input.d.ts +11 -0
- package/dist/components/mg-input.js +8 -0
- package/dist/components/mg-input.js.map +1 -0
- package/dist/components/mg-input2.js +352 -0
- package/dist/components/mg-input2.js.map +1 -0
- package/dist/components/mg-item-more.js +7 -6
- package/dist/components/mg-item-more.js.map +1 -1
- package/dist/components/mg-loader.js +1 -1
- package/dist/components/mg-loader.js.map +1 -1
- package/dist/components/mg-menu-item2.js +21 -4
- package/dist/components/mg-menu-item2.js.map +1 -1
- package/dist/components/mg-menu2.js +1 -1
- package/dist/components/mg-menu2.js.map +1 -1
- package/dist/components/mg-message.js +1 -1
- package/dist/components/mg-message.js.map +1 -1
- package/dist/components/mg-modal.js +3 -3
- package/dist/components/mg-modal.js.map +1 -1
- package/dist/components/mg-pagination2.js +12 -6
- package/dist/components/mg-pagination2.js.map +1 -1
- package/dist/components/mg-panel.js +15 -9
- package/dist/components/mg-panel.js.map +1 -1
- package/dist/components/mg-popover-content2.js +1 -1
- package/dist/components/mg-popover2.js +2 -2
- package/dist/components/mg-popover2.js.map +1 -1
- package/dist/components/mg-skip-links.js +1 -1
- package/dist/components/mg-tabs.js +1 -1
- package/dist/components/mg-tag.js +1 -1
- package/dist/components/mg-tag.js.map +1 -1
- package/dist/esm/{index-bb17de92.js → index-445fc2a0.js} +97 -81
- package/dist/esm/index-445fc2a0.js.map +1 -0
- package/dist/esm/{index-ad78ece7.js → index-629a42c7.js} +17 -5
- package/dist/esm/index-629a42c7.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{mg-action-more_34.entry.js → mg-action-more_35.entry.js} +613 -695
- package/dist/esm/mg-action-more_35.entry.js.map +1 -0
- package/dist/esm/mg-components.js +4 -4
- package/dist/esm/mg-components.js.map +1 -1
- package/dist/esm/mg-item-more.entry.js +7 -6
- package/dist/esm/mg-item-more.entry.js.map +1 -1
- package/dist/esm/mg-loader.entry.js +3 -3
- package/dist/esm/mg-loader.entry.js.map +1 -1
- package/dist/mg-components/locales/en/messages.json +10 -3
- package/dist/mg-components/locales/fr/messages.json +10 -3
- package/dist/mg-components/mg-components.esm.js +1 -1
- package/dist/mg-components/mg-components.esm.js.map +1 -1
- package/dist/mg-components/p-3ebe6845.js +2 -0
- package/dist/mg-components/p-3ebe6845.js.map +1 -0
- package/dist/mg-components/{p-2db8355d.entry.js → p-6735e4b2.entry.js} +2 -2
- package/dist/mg-components/p-6735e4b2.entry.js.map +1 -0
- package/dist/mg-components/p-9dfaa41f.js +3 -0
- package/dist/mg-components/p-9dfaa41f.js.map +1 -0
- package/dist/mg-components/p-b3e0f7b3.entry.js +2 -0
- package/dist/mg-components/p-b3e0f7b3.entry.js.map +1 -0
- package/dist/mg-components/{p-d80b844d.entry.js → p-fe347f48.entry.js} +2 -2
- package/dist/mg-components/{p-d80b844d.entry.js.map → p-fe347f48.entry.js.map} +1 -1
- package/dist/types/components/atoms/mg-badge/mg-badge.d.ts +1 -1
- package/dist/types/components/atoms/mg-button/mg-button.d.ts +5 -5
- package/dist/types/components/atoms/mg-card/mg-card.d.ts +1 -1
- package/dist/types/components/atoms/mg-character-left/mg-character-left.d.ts +1 -1
- package/dist/types/components/atoms/mg-icon/mg-icon.conf.d.ts +5 -0
- package/dist/types/components/atoms/mg-icon/mg-icon.d.ts +3 -3
- package/dist/types/components/atoms/mg-input-title/mg-input-title.d.ts +2 -2
- package/dist/types/components/atoms/mg-tag/mg-tag.d.ts +2 -2
- package/dist/types/components/molecules/inputs/mg-input/mg-input.conf.d.ts +35 -0
- package/dist/types/components/molecules/inputs/mg-input/mg-input.d.ts +139 -0
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.d.ts +5 -5
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.d.ts +3 -5
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.d.ts +13 -12
- package/dist/types/components/molecules/inputs/mg-input-date/mg-input-date.d.ts +8 -6
- package/dist/types/components/molecules/inputs/mg-input-numeric/mg-input-numeric.d.ts +12 -9
- package/dist/types/components/molecules/inputs/mg-input-password/mg-input-password.d.ts +16 -5
- package/dist/types/components/molecules/inputs/mg-input-radio/mg-input-radio.d.ts +7 -3
- package/dist/types/components/molecules/inputs/mg-input-select/mg-input-select.d.ts +7 -4
- package/dist/types/components/molecules/inputs/mg-input-text/mg-input-text.d.ts +18 -12
- package/dist/types/components/molecules/inputs/mg-input-textarea/mg-input-textarea.d.ts +12 -9
- package/dist/types/components/molecules/inputs/mg-input-toggle/mg-input-toggle.d.ts +12 -12
- package/dist/types/components/molecules/menu/mg-menu/mg-menu.d.ts +1 -1
- package/dist/types/components/molecules/menu/mg-menu-item/mg-menu-item.conf.d.ts +8 -0
- package/dist/types/components/molecules/menu/mg-menu-item/mg-menu-item.d.ts +10 -5
- package/dist/types/components/molecules/mg-action-more/mg-action-more.conf.d.ts +7 -16
- package/dist/types/components/molecules/mg-action-more/mg-action-more.d.ts +9 -9
- package/dist/types/components/molecules/mg-form/mg-form.d.ts +3 -3
- package/dist/types/components/molecules/mg-item-more/mg-item-more.conf.d.ts +3 -12
- package/dist/types/components/molecules/mg-item-more/mg-item-more.d.ts +4 -3
- package/dist/types/components/molecules/mg-loader/mg-loader.d.ts +2 -2
- package/dist/types/components/molecules/mg-message/mg-message.d.ts +2 -2
- package/dist/types/components/molecules/mg-pagination/mg-pagination.d.ts +2 -2
- package/dist/types/components/molecules/mg-panel/mg-panel.d.ts +3 -3
- package/dist/types/components/molecules/mg-popover/mg-popover.d.ts +1 -1
- package/dist/types/components.d.ts +203 -92
- package/dist/types/locales/index.conf.d.ts +4 -0
- package/ide/intellij/web-types.json +243 -18
- package/ide/vscode/html-custom-data.json +2766 -1332
- package/package.json +23 -27
- package/dist/cjs/index-0a2783ee.js.map +0 -1
- package/dist/cjs/index-c585c382.js.map +0 -1
- package/dist/cjs/mg-action-more_34.cjs.entry.js.map +0 -1
- package/dist/collection/components/molecules/inputs/MgInput.conf.js +0 -14
- package/dist/collection/components/molecules/inputs/MgInput.conf.js.map +0 -1
- package/dist/collection/components/molecules/inputs/MgInput.js +0 -125
- package/dist/collection/components/molecules/inputs/MgInput.js.map +0 -1
- package/dist/collection/utils/playwright.e2e.test.utils.js +0 -100
- package/dist/collection/utils/playwright.e2e.test.utils.js.map +0 -1
- package/dist/components/MgInput.js +0 -155
- package/dist/components/MgInput.js.map +0 -1
- package/dist/esm/index-ad78ece7.js.map +0 -1
- package/dist/esm/index-bb17de92.js.map +0 -1
- package/dist/esm/mg-action-more_34.entry.js.map +0 -1
- package/dist/mg-components/p-2db8355d.entry.js.map +0 -1
- package/dist/mg-components/p-95653110.entry.js +0 -2
- package/dist/mg-components/p-95653110.entry.js.map +0 -1
- package/dist/mg-components/p-bc62d75e.js +0 -3
- package/dist/mg-components/p-bc62d75e.js.map +0 -1
- package/dist/mg-components/p-d41aa78b.js +0 -2
- package/dist/mg-components/p-d41aa78b.js.map +0 -1
- package/dist/types/components/molecules/inputs/MgInput.conf.d.ts +0 -46
- package/dist/types/components/molecules/inputs/MgInput.d.ts +0 -13
|
@@ -10,17 +10,18 @@ import { BadgeVariantType } from "./components/atoms/mg-badge/mg-badge.conf";
|
|
|
10
10
|
import { ButtonType, VariantType } from "./components/atoms/mg-button/mg-button.conf";
|
|
11
11
|
import { VariantStyleType, VariantType as VariantType1 } from "./components/atoms/mg-card/mg-card.conf";
|
|
12
12
|
import { AriaRoleType, RequiredMessageStatusType } from "./components/molecules/mg-form/mg-form.conf";
|
|
13
|
-
import { IconSizeType, IconVariantStyleType, IconVariantType } from "./components/atoms/mg-icon/mg-icon.conf";
|
|
13
|
+
import { IconSizeType, IconType, IconVariantStyleType, IconVariantType } from "./components/atoms/mg-icon/mg-icon.conf";
|
|
14
|
+
import { TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
|
|
14
15
|
import { CheckboxItem, CheckboxType, CheckboxValue, SectionKind } from "./components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf";
|
|
15
|
-
import { TooltipPosition, Width } from "./components/molecules/inputs/MgInput.conf";
|
|
16
16
|
import { Format, NumericType } from "./components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf";
|
|
17
17
|
import { RadioOption } from "./components/molecules/inputs/mg-input-radio/mg-input-radio.conf";
|
|
18
18
|
import { SelectOption } from "./components/molecules/inputs/mg-input-select/mg-input-select.conf";
|
|
19
19
|
import { TextType } from "./components/molecules/inputs/mg-input-text/mg-input-text.conf";
|
|
20
|
+
import { IconType as IconType1 } from "./components";
|
|
20
21
|
import { ToggleValue } from "./components/molecules/inputs/mg-input-toggle/mg-input-toggle.conf";
|
|
21
|
-
import { IconType, SizeType, SlotLabelType } from "./components/molecules/mg-item-more/mg-item-more.conf";
|
|
22
|
+
import { IconType as IconType2, SizeType, SlotLabelType } from "./components/molecules/mg-item-more/mg-item-more.conf";
|
|
22
23
|
import { Direction, ItemMoreType, MenuSizeType } from "./components/molecules/menu/mg-menu/mg-menu.conf";
|
|
23
|
-
import { Status } from "./components/molecules/menu/mg-menu-item/mg-menu-item.conf";
|
|
24
|
+
import { Status, TargetType } from "./components/molecules/menu/mg-menu-item/mg-menu-item.conf";
|
|
24
25
|
import { VariantType as VariantType2 } from "./components/molecules/mg-message/mg-message.conf";
|
|
25
26
|
import { DialogRoleType } from "./components/molecules/mg-modal/mg-modal.conf";
|
|
26
27
|
import { ExpandToggleDisplayType, TitlePositionType } from "./components/molecules/mg-panel/mg-panel.conf";
|
|
@@ -33,17 +34,18 @@ export { BadgeVariantType } from "./components/atoms/mg-badge/mg-badge.conf";
|
|
|
33
34
|
export { ButtonType, VariantType } from "./components/atoms/mg-button/mg-button.conf";
|
|
34
35
|
export { VariantStyleType, VariantType as VariantType1 } from "./components/atoms/mg-card/mg-card.conf";
|
|
35
36
|
export { AriaRoleType, RequiredMessageStatusType } from "./components/molecules/mg-form/mg-form.conf";
|
|
36
|
-
export { IconSizeType, IconVariantStyleType, IconVariantType } from "./components/atoms/mg-icon/mg-icon.conf";
|
|
37
|
+
export { IconSizeType, IconType, IconVariantStyleType, IconVariantType } from "./components/atoms/mg-icon/mg-icon.conf";
|
|
38
|
+
export { TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
|
|
37
39
|
export { CheckboxItem, CheckboxType, CheckboxValue, SectionKind } from "./components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf";
|
|
38
|
-
export { TooltipPosition, Width } from "./components/molecules/inputs/MgInput.conf";
|
|
39
40
|
export { Format, NumericType } from "./components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf";
|
|
40
41
|
export { RadioOption } from "./components/molecules/inputs/mg-input-radio/mg-input-radio.conf";
|
|
41
42
|
export { SelectOption } from "./components/molecules/inputs/mg-input-select/mg-input-select.conf";
|
|
42
43
|
export { TextType } from "./components/molecules/inputs/mg-input-text/mg-input-text.conf";
|
|
44
|
+
export { IconType as IconType1 } from "./components";
|
|
43
45
|
export { ToggleValue } from "./components/molecules/inputs/mg-input-toggle/mg-input-toggle.conf";
|
|
44
|
-
export { IconType, SizeType, SlotLabelType } from "./components/molecules/mg-item-more/mg-item-more.conf";
|
|
46
|
+
export { IconType as IconType2, SizeType, SlotLabelType } from "./components/molecules/mg-item-more/mg-item-more.conf";
|
|
45
47
|
export { Direction, ItemMoreType, MenuSizeType } from "./components/molecules/menu/mg-menu/mg-menu.conf";
|
|
46
|
-
export { Status } from "./components/molecules/menu/mg-menu-item/mg-menu-item.conf";
|
|
48
|
+
export { Status, TargetType } from "./components/molecules/menu/mg-menu-item/mg-menu-item.conf";
|
|
47
49
|
export { VariantType as VariantType2 } from "./components/molecules/mg-message/mg-message.conf";
|
|
48
50
|
export { DialogRoleType } from "./components/molecules/mg-modal/mg-modal.conf";
|
|
49
51
|
export { ExpandToggleDisplayType, TitlePositionType } from "./components/molecules/mg-panel/mg-panel.conf";
|
|
@@ -56,15 +58,15 @@ export namespace Components {
|
|
|
56
58
|
/**
|
|
57
59
|
* Define button properties
|
|
58
60
|
*/
|
|
59
|
-
"button"
|
|
61
|
+
"button"?: MgActionMoreButtonType;
|
|
60
62
|
/**
|
|
61
63
|
* Define if chevron is display
|
|
62
64
|
*/
|
|
63
|
-
"displayChevron"
|
|
65
|
+
"displayChevron"?: boolean;
|
|
64
66
|
/**
|
|
65
67
|
* Define displayed icon
|
|
66
68
|
*/
|
|
67
|
-
"icon"
|
|
69
|
+
"icon"?: MgActionMoreIconType;
|
|
68
70
|
/**
|
|
69
71
|
* Define the menu-items elements
|
|
70
72
|
*/
|
|
@@ -78,7 +80,7 @@ export namespace Components {
|
|
|
78
80
|
/**
|
|
79
81
|
* Define if button is using outline style
|
|
80
82
|
*/
|
|
81
|
-
"outline"
|
|
83
|
+
"outline"?: boolean;
|
|
82
84
|
/**
|
|
83
85
|
* Badge value
|
|
84
86
|
*/
|
|
@@ -96,11 +98,11 @@ export namespace Components {
|
|
|
96
98
|
/**
|
|
97
99
|
* Disable button
|
|
98
100
|
*/
|
|
99
|
-
"disabled"
|
|
101
|
+
"disabled"?: boolean;
|
|
100
102
|
/**
|
|
101
103
|
* Define form id to attach button with. If this attribute is not set, the <button> is associated with its ancestor <form> element.
|
|
102
104
|
*/
|
|
103
|
-
"form"
|
|
105
|
+
"form"?: string;
|
|
104
106
|
/**
|
|
105
107
|
* Set button to full-width
|
|
106
108
|
*/
|
|
@@ -108,7 +110,7 @@ export namespace Components {
|
|
|
108
110
|
/**
|
|
109
111
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
110
112
|
*/
|
|
111
|
-
"identifier"
|
|
113
|
+
"identifier"?: string;
|
|
112
114
|
/**
|
|
113
115
|
* Define if button is round. Used for icon button.
|
|
114
116
|
*/
|
|
@@ -116,11 +118,11 @@ export namespace Components {
|
|
|
116
118
|
/**
|
|
117
119
|
* aria-label In case button text is not explicit enough
|
|
118
120
|
*/
|
|
119
|
-
"label"
|
|
121
|
+
"label"?: string;
|
|
120
122
|
/**
|
|
121
123
|
* Define button type
|
|
122
124
|
*/
|
|
123
|
-
"type"
|
|
125
|
+
"type"?: ButtonType;
|
|
124
126
|
/**
|
|
125
127
|
* Define button variant
|
|
126
128
|
*/
|
|
@@ -144,7 +146,7 @@ export namespace Components {
|
|
|
144
146
|
/**
|
|
145
147
|
* Sets an `id` attribute. Needed by the input for accessibility `aria-decribedby`.
|
|
146
148
|
*/
|
|
147
|
-
"identifier"
|
|
149
|
+
"identifier"?: string;
|
|
148
150
|
/**
|
|
149
151
|
* Add maximum length
|
|
150
152
|
*/
|
|
@@ -178,7 +180,7 @@ export namespace Components {
|
|
|
178
180
|
/**
|
|
179
181
|
* Define `<form/>` element aria role see more about aria roles use case: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles
|
|
180
182
|
*/
|
|
181
|
-
"ariaRole"
|
|
183
|
+
"ariaRole"?: AriaRoleType;
|
|
182
184
|
/**
|
|
183
185
|
* Define if form is disabled
|
|
184
186
|
*/
|
|
@@ -198,7 +200,7 @@ export namespace Components {
|
|
|
198
200
|
/**
|
|
199
201
|
* Define if slotted mg-component's label are displayed on top
|
|
200
202
|
*/
|
|
201
|
-
"labelOnTop"
|
|
203
|
+
"labelOnTop"?: boolean;
|
|
202
204
|
/**
|
|
203
205
|
* Input name If not set the value equals the identifier
|
|
204
206
|
*/
|
|
@@ -210,7 +212,7 @@ export namespace Components {
|
|
|
210
212
|
/**
|
|
211
213
|
* Define when required message is display. When it is unset, component use it internal logic to manage "required message" help text display. When you set the prop to `default`, you override the component internal logique to torce it display "required message" help text. When you set the prop to `hide`, it will prevent the rendering of the message in the component's DOM. As **this element is an accessibility requirement in the view**, you **MUST*** re-implement this message on your own and display it when your form contains required inputs.
|
|
212
214
|
*/
|
|
213
|
-
"requiredMessage"
|
|
215
|
+
"requiredMessage"?: RequiredMessageStatusType;
|
|
214
216
|
/**
|
|
215
217
|
* Define form valid state
|
|
216
218
|
*/
|
|
@@ -220,7 +222,7 @@ export namespace Components {
|
|
|
220
222
|
/**
|
|
221
223
|
* Icon to display.
|
|
222
224
|
*/
|
|
223
|
-
"icon":
|
|
225
|
+
"icon": IconType;
|
|
224
226
|
/**
|
|
225
227
|
* Define icon size
|
|
226
228
|
*/
|
|
@@ -232,7 +234,7 @@ export namespace Components {
|
|
|
232
234
|
/**
|
|
233
235
|
* Define icon variant color
|
|
234
236
|
*/
|
|
235
|
-
"variant"
|
|
237
|
+
"variant"?: IconVariantType;
|
|
236
238
|
/**
|
|
237
239
|
* Define icon color variant style Add a color to the icon based on variant color with given style 'full': Used to set a circular background with variant soft color and icon variant color 'background': Used to set a circular background with variant soft color 'icon': Used to set a color only to the icon
|
|
238
240
|
*/
|
|
@@ -248,6 +250,52 @@ export namespace Components {
|
|
|
248
250
|
*/
|
|
249
251
|
"size": 'regular' | 'small';
|
|
250
252
|
}
|
|
253
|
+
interface MgInput {
|
|
254
|
+
/**
|
|
255
|
+
* Define aria-describedby ids to link with
|
|
256
|
+
*/
|
|
257
|
+
"ariaDescribedbyIDs": string[];
|
|
258
|
+
/**
|
|
259
|
+
* Define error message to display
|
|
260
|
+
*/
|
|
261
|
+
"errorMessage"?: string;
|
|
262
|
+
/**
|
|
263
|
+
* Define help text to display
|
|
264
|
+
*/
|
|
265
|
+
"helpText"?: string;
|
|
266
|
+
/**
|
|
267
|
+
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
268
|
+
*/
|
|
269
|
+
"identifier": string;
|
|
270
|
+
/**
|
|
271
|
+
* Define input label
|
|
272
|
+
*/
|
|
273
|
+
"label": string;
|
|
274
|
+
/**
|
|
275
|
+
* Define if label is visible
|
|
276
|
+
*/
|
|
277
|
+
"labelHide": boolean;
|
|
278
|
+
/**
|
|
279
|
+
* Define if label is displayed on top
|
|
280
|
+
*/
|
|
281
|
+
"labelOnTop"?: boolean;
|
|
282
|
+
/**
|
|
283
|
+
* Defines value to display in readonly mode
|
|
284
|
+
*/
|
|
285
|
+
"readonlyValue": string | string[];
|
|
286
|
+
/**
|
|
287
|
+
* Define if input is required
|
|
288
|
+
*/
|
|
289
|
+
"required": boolean;
|
|
290
|
+
/**
|
|
291
|
+
* Add a tooltip message next to the input
|
|
292
|
+
*/
|
|
293
|
+
"tooltip"?: string;
|
|
294
|
+
/**
|
|
295
|
+
* Define tooltip position
|
|
296
|
+
*/
|
|
297
|
+
"tooltipPosition": TooltipPosition;
|
|
298
|
+
}
|
|
251
299
|
interface MgInputCheckbox {
|
|
252
300
|
/**
|
|
253
301
|
* Define if input is disabled
|
|
@@ -260,11 +308,11 @@ export namespace Components {
|
|
|
260
308
|
/**
|
|
261
309
|
* Display selected values list in "multi" type This prop is only applied with prop type "multi" or when an "unset" mode render a "multi" type.
|
|
262
310
|
*/
|
|
263
|
-
"displaySelectedValues"
|
|
311
|
+
"displaySelectedValues"?: boolean;
|
|
264
312
|
/**
|
|
265
313
|
* Add a help text under the input, usually expected data format and example
|
|
266
314
|
*/
|
|
267
|
-
"helpText"
|
|
315
|
+
"helpText"?: string;
|
|
268
316
|
/**
|
|
269
317
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
270
318
|
*/
|
|
@@ -288,7 +336,7 @@ export namespace Components {
|
|
|
288
336
|
/**
|
|
289
337
|
* Define if label is displayed on top
|
|
290
338
|
*/
|
|
291
|
-
"labelOnTop"
|
|
339
|
+
"labelOnTop"?: boolean;
|
|
292
340
|
/**
|
|
293
341
|
* Define input name If not set the value equals the identifier
|
|
294
342
|
*/
|
|
@@ -310,7 +358,7 @@ export namespace Components {
|
|
|
310
358
|
/**
|
|
311
359
|
* Add a tooltip message next to the input
|
|
312
360
|
*/
|
|
313
|
-
"tooltip"
|
|
361
|
+
"tooltip"?: string;
|
|
314
362
|
/**
|
|
315
363
|
* Define tooltip position
|
|
316
364
|
*/
|
|
@@ -343,11 +391,11 @@ export namespace Components {
|
|
|
343
391
|
/**
|
|
344
392
|
* Define if mg-input-checkbox-list is disabled
|
|
345
393
|
*/
|
|
346
|
-
"disabled"
|
|
394
|
+
"disabled"?: boolean;
|
|
347
395
|
/**
|
|
348
396
|
* Define mg-input-checkbox input invalid
|
|
349
397
|
*/
|
|
350
|
-
"invalid"
|
|
398
|
+
"invalid"?: boolean;
|
|
351
399
|
/**
|
|
352
400
|
* Define component message
|
|
353
401
|
*/
|
|
@@ -355,15 +403,15 @@ export namespace Components {
|
|
|
355
403
|
/**
|
|
356
404
|
* Define mg-input-checkbox input name
|
|
357
405
|
*/
|
|
358
|
-
"name"
|
|
406
|
+
"name"?: string;
|
|
359
407
|
/**
|
|
360
408
|
* Define if mg-input-checkbox-list is readonly
|
|
361
409
|
*/
|
|
362
|
-
"readonly"
|
|
410
|
+
"readonly"?: boolean;
|
|
363
411
|
/**
|
|
364
412
|
* Define section kind
|
|
365
413
|
*/
|
|
366
|
-
"sectionKind"
|
|
414
|
+
"sectionKind"?: SectionKind;
|
|
367
415
|
}
|
|
368
416
|
interface MgInputDate {
|
|
369
417
|
/**
|
|
@@ -377,7 +425,7 @@ export namespace Components {
|
|
|
377
425
|
/**
|
|
378
426
|
* Add a help text under the input, usually expected data format and example Available string variables: - `{pattern}`: render innerHTML pattern based on system - `{date}`: render innerText date with a pattern base format. - `{defaultHelpText}`: render default `helpText` usefull to concat helpText local with your custom text. ex: `Input use {pattern} pattern` as `helpText` prop value will be render as `Input use mm/dd/yyyy pattern`
|
|
379
427
|
*/
|
|
380
|
-
"helpText"
|
|
428
|
+
"helpText"?: string;
|
|
381
429
|
/**
|
|
382
430
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
383
431
|
*/
|
|
@@ -397,15 +445,15 @@ export namespace Components {
|
|
|
397
445
|
/**
|
|
398
446
|
* Define if label is displayed on top
|
|
399
447
|
*/
|
|
400
|
-
"labelOnTop"
|
|
448
|
+
"labelOnTop"?: boolean;
|
|
401
449
|
/**
|
|
402
450
|
* Define input maximum date format: yyyy-mm-dd
|
|
403
451
|
*/
|
|
404
|
-
"max"
|
|
452
|
+
"max"?: string;
|
|
405
453
|
/**
|
|
406
454
|
* Define input minimum date format: yyyy-mm-dd
|
|
407
455
|
*/
|
|
408
|
-
"min"
|
|
456
|
+
"min"?: string;
|
|
409
457
|
/**
|
|
410
458
|
* Input name If not set the value equals the identifier
|
|
411
459
|
*/
|
|
@@ -427,7 +475,7 @@ export namespace Components {
|
|
|
427
475
|
/**
|
|
428
476
|
* Add a tooltip message next to the input
|
|
429
477
|
*/
|
|
430
|
-
"tooltip"
|
|
478
|
+
"tooltip"?: string;
|
|
431
479
|
/**
|
|
432
480
|
* Define tooltip position
|
|
433
481
|
*/
|
|
@@ -465,7 +513,7 @@ export namespace Components {
|
|
|
465
513
|
/**
|
|
466
514
|
* Add a help text under the input, usually expected data format and example
|
|
467
515
|
*/
|
|
468
|
-
"helpText"
|
|
516
|
+
"helpText"?: string;
|
|
469
517
|
/**
|
|
470
518
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
471
519
|
*/
|
|
@@ -489,19 +537,19 @@ export namespace Components {
|
|
|
489
537
|
/**
|
|
490
538
|
* Define if label is displayed on top
|
|
491
539
|
*/
|
|
492
|
-
"labelOnTop"
|
|
540
|
+
"labelOnTop"?: boolean;
|
|
493
541
|
/**
|
|
494
542
|
* Maximum value
|
|
495
543
|
*/
|
|
496
|
-
"max"
|
|
544
|
+
"max"?: number;
|
|
497
545
|
/**
|
|
498
546
|
* Define input width
|
|
499
547
|
*/
|
|
500
|
-
"mgWidth"
|
|
548
|
+
"mgWidth"?: Width;
|
|
501
549
|
/**
|
|
502
550
|
* Minimum value
|
|
503
551
|
*/
|
|
504
|
-
"min"
|
|
552
|
+
"min"?: number;
|
|
505
553
|
/**
|
|
506
554
|
* Input name If not set the value equals the identifier
|
|
507
555
|
*/
|
|
@@ -509,7 +557,7 @@ export namespace Components {
|
|
|
509
557
|
/**
|
|
510
558
|
* Input placeholder. It should be a word or short phrase that demonstrates the expected type of data, not a replacement for labels or help text.
|
|
511
559
|
*/
|
|
512
|
-
"placeholder"
|
|
560
|
+
"placeholder"?: string;
|
|
513
561
|
/**
|
|
514
562
|
* Define if input is readonly
|
|
515
563
|
*/
|
|
@@ -527,7 +575,7 @@ export namespace Components {
|
|
|
527
575
|
/**
|
|
528
576
|
* Add a tooltip message next to the input
|
|
529
577
|
*/
|
|
530
|
-
"tooltip"
|
|
578
|
+
"tooltip"?: string;
|
|
531
579
|
/**
|
|
532
580
|
* Define tooltip position
|
|
533
581
|
*/
|
|
@@ -557,7 +605,7 @@ export namespace Components {
|
|
|
557
605
|
/**
|
|
558
606
|
* Add a help text under the input, usually expected data format and example
|
|
559
607
|
*/
|
|
560
|
-
"helpText"
|
|
608
|
+
"helpText"?: string;
|
|
561
609
|
/**
|
|
562
610
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
563
611
|
*/
|
|
@@ -577,7 +625,7 @@ export namespace Components {
|
|
|
577
625
|
/**
|
|
578
626
|
* Define if label is displayed on top
|
|
579
627
|
*/
|
|
580
|
-
"labelOnTop"
|
|
628
|
+
"labelOnTop"?: boolean;
|
|
581
629
|
/**
|
|
582
630
|
* Define input width
|
|
583
631
|
*/
|
|
@@ -589,7 +637,7 @@ export namespace Components {
|
|
|
589
637
|
/**
|
|
590
638
|
* Input placeholder. It should be a word or short phrase that demonstrates the expected type of data, not a replacement for labels or help text.
|
|
591
639
|
*/
|
|
592
|
-
"placeholder"
|
|
640
|
+
"placeholder"?: string;
|
|
593
641
|
/**
|
|
594
642
|
* Define if input is readonly
|
|
595
643
|
*/
|
|
@@ -607,7 +655,7 @@ export namespace Components {
|
|
|
607
655
|
/**
|
|
608
656
|
* Add a tooltip message next to the input
|
|
609
657
|
*/
|
|
610
|
-
"tooltip"
|
|
658
|
+
"tooltip"?: string;
|
|
611
659
|
/**
|
|
612
660
|
* Define tooltip position
|
|
613
661
|
*/
|
|
@@ -633,7 +681,7 @@ export namespace Components {
|
|
|
633
681
|
/**
|
|
634
682
|
* Add a help text under the input, usually expected data format and example
|
|
635
683
|
*/
|
|
636
|
-
"helpText"
|
|
684
|
+
"helpText"?: string;
|
|
637
685
|
/**
|
|
638
686
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
639
687
|
*/
|
|
@@ -683,7 +731,7 @@ export namespace Components {
|
|
|
683
731
|
/**
|
|
684
732
|
* Add a tooltip message next to the input
|
|
685
733
|
*/
|
|
686
|
-
"tooltip"
|
|
734
|
+
"tooltip"?: string;
|
|
687
735
|
/**
|
|
688
736
|
* Define tooltip position
|
|
689
737
|
*/
|
|
@@ -709,7 +757,7 @@ export namespace Components {
|
|
|
709
757
|
/**
|
|
710
758
|
* Add a help text under the input, usually expected data format and example
|
|
711
759
|
*/
|
|
712
|
-
"helpText"
|
|
760
|
+
"helpText"?: string;
|
|
713
761
|
/**
|
|
714
762
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
715
763
|
*/
|
|
@@ -733,7 +781,7 @@ export namespace Components {
|
|
|
733
781
|
/**
|
|
734
782
|
* Define if label is displayed on top
|
|
735
783
|
*/
|
|
736
|
-
"labelOnTop"
|
|
784
|
+
"labelOnTop"?: boolean;
|
|
737
785
|
/**
|
|
738
786
|
* Define input width
|
|
739
787
|
*/
|
|
@@ -771,7 +819,7 @@ export namespace Components {
|
|
|
771
819
|
/**
|
|
772
820
|
* Add a tooltip message next to the input
|
|
773
821
|
*/
|
|
774
|
-
"tooltip"
|
|
822
|
+
"tooltip"?: string;
|
|
775
823
|
/**
|
|
776
824
|
* Define tooltip position
|
|
777
825
|
*/
|
|
@@ -805,11 +853,11 @@ export namespace Components {
|
|
|
805
853
|
/**
|
|
806
854
|
* Add a help text under the input, usually expected data format and example
|
|
807
855
|
*/
|
|
808
|
-
"helpText"
|
|
856
|
+
"helpText"?: string;
|
|
809
857
|
/**
|
|
810
858
|
* Input icon
|
|
811
859
|
*/
|
|
812
|
-
"icon"
|
|
860
|
+
"icon"?: IconType1;
|
|
813
861
|
/**
|
|
814
862
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
815
863
|
*/
|
|
@@ -829,7 +877,7 @@ export namespace Components {
|
|
|
829
877
|
/**
|
|
830
878
|
* Define if label is displayed on top
|
|
831
879
|
*/
|
|
832
|
-
"labelOnTop"
|
|
880
|
+
"labelOnTop"?: boolean;
|
|
833
881
|
/**
|
|
834
882
|
* Input max length
|
|
835
883
|
*/
|
|
@@ -845,15 +893,15 @@ export namespace Components {
|
|
|
845
893
|
/**
|
|
846
894
|
* Define input pattern to validate Please refer to the Pattern section in the input documentation for detailed information on using regular expressions in components.
|
|
847
895
|
*/
|
|
848
|
-
"pattern"
|
|
896
|
+
"pattern"?: string;
|
|
849
897
|
/**
|
|
850
898
|
* Define input pattern error message
|
|
851
899
|
*/
|
|
852
|
-
"patternErrorMessage"
|
|
900
|
+
"patternErrorMessage"?: string;
|
|
853
901
|
/**
|
|
854
902
|
* Input placeholder. It should be a word or short phrase that demonstrates the expected type of data, not a replacement for labels or help text.
|
|
855
903
|
*/
|
|
856
|
-
"placeholder"
|
|
904
|
+
"placeholder"?: string;
|
|
857
905
|
/**
|
|
858
906
|
* Define if input is readonly
|
|
859
907
|
*/
|
|
@@ -875,7 +923,7 @@ export namespace Components {
|
|
|
875
923
|
/**
|
|
876
924
|
* Add a tooltip message next to the input
|
|
877
925
|
*/
|
|
878
|
-
"tooltip"
|
|
926
|
+
"tooltip"?: string;
|
|
879
927
|
/**
|
|
880
928
|
* Define tooltip position
|
|
881
929
|
*/
|
|
@@ -909,7 +957,7 @@ export namespace Components {
|
|
|
909
957
|
/**
|
|
910
958
|
* Add a help text under the input, usually expected data format and example
|
|
911
959
|
*/
|
|
912
|
-
"helpText"
|
|
960
|
+
"helpText"?: string;
|
|
913
961
|
/**
|
|
914
962
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
915
963
|
*/
|
|
@@ -929,7 +977,7 @@ export namespace Components {
|
|
|
929
977
|
/**
|
|
930
978
|
* Define if label is displayed on top
|
|
931
979
|
*/
|
|
932
|
-
"labelOnTop"
|
|
980
|
+
"labelOnTop"?: boolean;
|
|
933
981
|
/**
|
|
934
982
|
* Input max length
|
|
935
983
|
*/
|
|
@@ -945,15 +993,15 @@ export namespace Components {
|
|
|
945
993
|
/**
|
|
946
994
|
* Define input pattern to validate Please refer to the Pattern section in the input documentation for detailed information on using regular expressions in components.
|
|
947
995
|
*/
|
|
948
|
-
"pattern"
|
|
996
|
+
"pattern"?: string;
|
|
949
997
|
/**
|
|
950
998
|
* Define input pattern error message
|
|
951
999
|
*/
|
|
952
|
-
"patternErrorMessage"
|
|
1000
|
+
"patternErrorMessage"?: string;
|
|
953
1001
|
/**
|
|
954
1002
|
* Input placeholder. It should be a word or short phrase that demonstrates the expected type of data, not a replacement for labels or help text.
|
|
955
1003
|
*/
|
|
956
|
-
"placeholder"
|
|
1004
|
+
"placeholder"?: string;
|
|
957
1005
|
/**
|
|
958
1006
|
* Define if input is readonly
|
|
959
1007
|
*/
|
|
@@ -979,7 +1027,7 @@ export namespace Components {
|
|
|
979
1027
|
/**
|
|
980
1028
|
* Add a tooltip message next to the input
|
|
981
1029
|
*/
|
|
982
|
-
"tooltip"
|
|
1030
|
+
"tooltip"?: string;
|
|
983
1031
|
/**
|
|
984
1032
|
* Define tooltip position
|
|
985
1033
|
*/
|
|
@@ -1005,11 +1053,11 @@ export namespace Components {
|
|
|
1005
1053
|
/**
|
|
1006
1054
|
* If input is required an asterisk is added at the end of the label
|
|
1007
1055
|
*/
|
|
1008
|
-
"readonly"
|
|
1056
|
+
"readonly"?: boolean;
|
|
1009
1057
|
/**
|
|
1010
1058
|
* If input is required an asterisk is added at the end of the label
|
|
1011
1059
|
*/
|
|
1012
|
-
"required"
|
|
1060
|
+
"required"?: boolean;
|
|
1013
1061
|
}
|
|
1014
1062
|
interface MgInputToggle {
|
|
1015
1063
|
/**
|
|
@@ -1019,7 +1067,7 @@ export namespace Components {
|
|
|
1019
1067
|
/**
|
|
1020
1068
|
* Add a help text under the input, usually expected data format and example
|
|
1021
1069
|
*/
|
|
1022
|
-
"helpText"
|
|
1070
|
+
"helpText"?: string;
|
|
1023
1071
|
/**
|
|
1024
1072
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
1025
1073
|
*/
|
|
@@ -1047,7 +1095,7 @@ export namespace Components {
|
|
|
1047
1095
|
/**
|
|
1048
1096
|
* Define if label is displayed on top
|
|
1049
1097
|
*/
|
|
1050
|
-
"labelOnTop"
|
|
1098
|
+
"labelOnTop"?: boolean;
|
|
1051
1099
|
/**
|
|
1052
1100
|
* Input name If not set the value equals the identifier
|
|
1053
1101
|
*/
|
|
@@ -1065,7 +1113,7 @@ export namespace Components {
|
|
|
1065
1113
|
/**
|
|
1066
1114
|
* Add a tooltip message next to the input
|
|
1067
1115
|
*/
|
|
1068
|
-
"tooltip"
|
|
1116
|
+
"tooltip"?: string;
|
|
1069
1117
|
/**
|
|
1070
1118
|
* Define tooltip position
|
|
1071
1119
|
*/
|
|
@@ -1079,25 +1127,25 @@ export namespace Components {
|
|
|
1079
1127
|
/**
|
|
1080
1128
|
* Define icon
|
|
1081
1129
|
*/
|
|
1082
|
-
"icon"
|
|
1130
|
+
"icon"?: IconType2;
|
|
1083
1131
|
/**
|
|
1084
1132
|
* Define component child menu size.
|
|
1085
1133
|
*/
|
|
1086
|
-
"size"
|
|
1134
|
+
"size"?: SizeType;
|
|
1087
1135
|
/**
|
|
1088
1136
|
* Define slot label element
|
|
1089
1137
|
*/
|
|
1090
|
-
"slotlabel"
|
|
1138
|
+
"slotlabel"?: SlotLabelType;
|
|
1091
1139
|
}
|
|
1092
1140
|
interface MgLoader {
|
|
1093
1141
|
/**
|
|
1094
1142
|
* Override loader message
|
|
1095
1143
|
*/
|
|
1096
|
-
"message"
|
|
1144
|
+
"message"?: string;
|
|
1097
1145
|
/**
|
|
1098
1146
|
* Hide message
|
|
1099
1147
|
*/
|
|
1100
|
-
"messageHide"
|
|
1148
|
+
"messageHide"?: boolean;
|
|
1101
1149
|
}
|
|
1102
1150
|
interface MgMenu {
|
|
1103
1151
|
/**
|
|
@@ -1107,7 +1155,7 @@ export namespace Components {
|
|
|
1107
1155
|
/**
|
|
1108
1156
|
* Customize "mg-item-more" element Used with direction: 'vertical' to manage overflow
|
|
1109
1157
|
*/
|
|
1110
|
-
"itemmore"
|
|
1158
|
+
"itemmore"?: ItemMoreType;
|
|
1111
1159
|
/**
|
|
1112
1160
|
* Menu label. Include short menu description. Required for accessibility
|
|
1113
1161
|
*/
|
|
@@ -1121,11 +1169,11 @@ export namespace Components {
|
|
|
1121
1169
|
/**
|
|
1122
1170
|
* Define menu-item content expanded.
|
|
1123
1171
|
*/
|
|
1124
|
-
"expanded"
|
|
1172
|
+
"expanded"?: boolean;
|
|
1125
1173
|
/**
|
|
1126
1174
|
* Define menu-item href when defined menu-item contain an anchor instead of button
|
|
1127
1175
|
*/
|
|
1128
|
-
"href"
|
|
1176
|
+
"href"?: string;
|
|
1129
1177
|
/**
|
|
1130
1178
|
* Identifier is used to control mg-popover
|
|
1131
1179
|
*/
|
|
@@ -1133,7 +1181,11 @@ export namespace Components {
|
|
|
1133
1181
|
/**
|
|
1134
1182
|
* Define menu-item status.
|
|
1135
1183
|
*/
|
|
1136
|
-
"status"
|
|
1184
|
+
"status"?: Status;
|
|
1185
|
+
/**
|
|
1186
|
+
* Define target type
|
|
1187
|
+
*/
|
|
1188
|
+
"target"?: TargetType;
|
|
1137
1189
|
}
|
|
1138
1190
|
interface MgMessage {
|
|
1139
1191
|
/**
|
|
@@ -1143,7 +1195,7 @@ export namespace Components {
|
|
|
1143
1195
|
/**
|
|
1144
1196
|
* Add a delay to hide/close message when it passed Value is defined in seconds and must greater than 2 seconds (PDA9-314 RG-06)
|
|
1145
1197
|
*/
|
|
1146
|
-
"delay"
|
|
1198
|
+
"delay"?: number;
|
|
1147
1199
|
/**
|
|
1148
1200
|
* Define if message is hidden
|
|
1149
1201
|
*/
|
|
@@ -1155,7 +1207,7 @@ export namespace Components {
|
|
|
1155
1207
|
/**
|
|
1156
1208
|
* Define if aria role is unset For a11y reasons, `<mg-message />` was design for `alert` needs with attached semantic role: `status`, `alert`. By toggle this props to `true`, you can unset the role to benefit from the template without any semantic role. Be careful to set the mode according to the context needs.
|
|
1157
1209
|
*/
|
|
1158
|
-
"noAriaRole"
|
|
1210
|
+
"noAriaRole"?: boolean;
|
|
1159
1211
|
/**
|
|
1160
1212
|
* Message variant
|
|
1161
1213
|
*/
|
|
@@ -1191,11 +1243,11 @@ export namespace Components {
|
|
|
1191
1243
|
/**
|
|
1192
1244
|
* Hide navigation label
|
|
1193
1245
|
*/
|
|
1194
|
-
"hideNavigationLabels"
|
|
1246
|
+
"hideNavigationLabels"?: boolean;
|
|
1195
1247
|
/**
|
|
1196
1248
|
* Hide select input
|
|
1197
1249
|
*/
|
|
1198
|
-
"hidePageCount"
|
|
1250
|
+
"hidePageCount"?: boolean;
|
|
1199
1251
|
/**
|
|
1200
1252
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js) If not set, it will be created.
|
|
1201
1253
|
*/
|
|
@@ -1213,7 +1265,7 @@ export namespace Components {
|
|
|
1213
1265
|
/**
|
|
1214
1266
|
* Disable possibility to toggle expand
|
|
1215
1267
|
*/
|
|
1216
|
-
"expandToggleDisabled"
|
|
1268
|
+
"expandToggleDisabled"?: boolean;
|
|
1217
1269
|
/**
|
|
1218
1270
|
* Define expand toggle button display
|
|
1219
1271
|
*/
|
|
@@ -1237,11 +1289,11 @@ export namespace Components {
|
|
|
1237
1289
|
/**
|
|
1238
1290
|
* Panel title pattern
|
|
1239
1291
|
*/
|
|
1240
|
-
"titlePattern"
|
|
1292
|
+
"titlePattern"?: string;
|
|
1241
1293
|
/**
|
|
1242
1294
|
* Panel title pattern error message
|
|
1243
1295
|
*/
|
|
1244
|
-
"titlePatternErrorMessage"
|
|
1296
|
+
"titlePatternErrorMessage"?: string;
|
|
1245
1297
|
/**
|
|
1246
1298
|
* Define title position
|
|
1247
1299
|
*/
|
|
@@ -1311,11 +1363,11 @@ export namespace Components {
|
|
|
1311
1363
|
/**
|
|
1312
1364
|
* Define if tag is using outline style
|
|
1313
1365
|
*/
|
|
1314
|
-
"outline"
|
|
1366
|
+
"outline"?: boolean;
|
|
1315
1367
|
/**
|
|
1316
1368
|
* Define if tag is using soft style
|
|
1317
1369
|
*/
|
|
1318
|
-
"soft"
|
|
1370
|
+
"soft"?: boolean;
|
|
1319
1371
|
/**
|
|
1320
1372
|
* Define tag variant
|
|
1321
1373
|
*/
|
|
@@ -1533,6 +1585,12 @@ declare global {
|
|
|
1533
1585
|
prototype: HTMLMgIllustratedMessageElement;
|
|
1534
1586
|
new (): HTMLMgIllustratedMessageElement;
|
|
1535
1587
|
};
|
|
1588
|
+
interface HTMLMgInputElement extends Components.MgInput, HTMLStencilElement {
|
|
1589
|
+
}
|
|
1590
|
+
var HTMLMgInputElement: {
|
|
1591
|
+
prototype: HTMLMgInputElement;
|
|
1592
|
+
new (): HTMLMgInputElement;
|
|
1593
|
+
};
|
|
1536
1594
|
interface HTMLMgInputCheckboxElementEventMap {
|
|
1537
1595
|
"value-change": HTMLMgInputCheckboxElement['value'];
|
|
1538
1596
|
"input-valid": HTMLMgInputCheckboxElement['valid'];
|
|
@@ -1925,6 +1983,7 @@ declare global {
|
|
|
1925
1983
|
"mg-form": HTMLMgFormElement;
|
|
1926
1984
|
"mg-icon": HTMLMgIconElement;
|
|
1927
1985
|
"mg-illustrated-message": HTMLMgIllustratedMessageElement;
|
|
1986
|
+
"mg-input": HTMLMgInputElement;
|
|
1928
1987
|
"mg-input-checkbox": HTMLMgInputCheckboxElement;
|
|
1929
1988
|
"mg-input-checkbox-paginated": HTMLMgInputCheckboxPaginatedElement;
|
|
1930
1989
|
"mg-input-date": HTMLMgInputDateElement;
|
|
@@ -2134,7 +2193,7 @@ declare namespace LocalJSX {
|
|
|
2134
2193
|
/**
|
|
2135
2194
|
* Icon to display.
|
|
2136
2195
|
*/
|
|
2137
|
-
"icon":
|
|
2196
|
+
"icon": IconType;
|
|
2138
2197
|
/**
|
|
2139
2198
|
* Define icon size
|
|
2140
2199
|
*/
|
|
@@ -2162,6 +2221,52 @@ declare namespace LocalJSX {
|
|
|
2162
2221
|
*/
|
|
2163
2222
|
"size"?: 'regular' | 'small';
|
|
2164
2223
|
}
|
|
2224
|
+
interface MgInput {
|
|
2225
|
+
/**
|
|
2226
|
+
* Define aria-describedby ids to link with
|
|
2227
|
+
*/
|
|
2228
|
+
"ariaDescribedbyIDs"?: string[];
|
|
2229
|
+
/**
|
|
2230
|
+
* Define error message to display
|
|
2231
|
+
*/
|
|
2232
|
+
"errorMessage"?: string;
|
|
2233
|
+
/**
|
|
2234
|
+
* Define help text to display
|
|
2235
|
+
*/
|
|
2236
|
+
"helpText"?: string;
|
|
2237
|
+
/**
|
|
2238
|
+
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
2239
|
+
*/
|
|
2240
|
+
"identifier": string;
|
|
2241
|
+
/**
|
|
2242
|
+
* Define input label
|
|
2243
|
+
*/
|
|
2244
|
+
"label": string;
|
|
2245
|
+
/**
|
|
2246
|
+
* Define if label is visible
|
|
2247
|
+
*/
|
|
2248
|
+
"labelHide"?: boolean;
|
|
2249
|
+
/**
|
|
2250
|
+
* Define if label is displayed on top
|
|
2251
|
+
*/
|
|
2252
|
+
"labelOnTop"?: boolean;
|
|
2253
|
+
/**
|
|
2254
|
+
* Defines value to display in readonly mode
|
|
2255
|
+
*/
|
|
2256
|
+
"readonlyValue"?: string | string[];
|
|
2257
|
+
/**
|
|
2258
|
+
* Define if input is required
|
|
2259
|
+
*/
|
|
2260
|
+
"required"?: boolean;
|
|
2261
|
+
/**
|
|
2262
|
+
* Add a tooltip message next to the input
|
|
2263
|
+
*/
|
|
2264
|
+
"tooltip"?: string;
|
|
2265
|
+
/**
|
|
2266
|
+
* Define tooltip position
|
|
2267
|
+
*/
|
|
2268
|
+
"tooltipPosition"?: TooltipPosition;
|
|
2269
|
+
}
|
|
2165
2270
|
interface MgInputCheckbox {
|
|
2166
2271
|
/**
|
|
2167
2272
|
* Define if input is disabled
|
|
@@ -2711,7 +2816,7 @@ declare namespace LocalJSX {
|
|
|
2711
2816
|
/**
|
|
2712
2817
|
* Input icon
|
|
2713
2818
|
*/
|
|
2714
|
-
"icon"?:
|
|
2819
|
+
"icon"?: IconType1;
|
|
2715
2820
|
/**
|
|
2716
2821
|
* Identifier is used for the element ID (id is a reserved prop in Stencil.js)
|
|
2717
2822
|
*/
|
|
@@ -2979,7 +3084,7 @@ declare namespace LocalJSX {
|
|
|
2979
3084
|
/**
|
|
2980
3085
|
* Define icon
|
|
2981
3086
|
*/
|
|
2982
|
-
"icon"?:
|
|
3087
|
+
"icon"?: IconType2;
|
|
2983
3088
|
/**
|
|
2984
3089
|
* Define component child menu size.
|
|
2985
3090
|
*/
|
|
@@ -3042,6 +3147,10 @@ declare namespace LocalJSX {
|
|
|
3042
3147
|
* Define menu-item status.
|
|
3043
3148
|
*/
|
|
3044
3149
|
"status"?: Status;
|
|
3150
|
+
/**
|
|
3151
|
+
* Define target type
|
|
3152
|
+
*/
|
|
3153
|
+
"target"?: TargetType;
|
|
3045
3154
|
}
|
|
3046
3155
|
interface MgMessage {
|
|
3047
3156
|
/**
|
|
@@ -3312,6 +3421,7 @@ declare namespace LocalJSX {
|
|
|
3312
3421
|
"mg-form": MgForm;
|
|
3313
3422
|
"mg-icon": MgIcon;
|
|
3314
3423
|
"mg-illustrated-message": MgIllustratedMessage;
|
|
3424
|
+
"mg-input": MgInput;
|
|
3315
3425
|
"mg-input-checkbox": MgInputCheckbox;
|
|
3316
3426
|
"mg-input-checkbox-paginated": MgInputCheckboxPaginated;
|
|
3317
3427
|
"mg-input-date": MgInputDate;
|
|
@@ -3354,6 +3464,7 @@ declare module "@stencil/core" {
|
|
|
3354
3464
|
"mg-form": LocalJSX.MgForm & JSXBase.HTMLAttributes<HTMLMgFormElement>;
|
|
3355
3465
|
"mg-icon": LocalJSX.MgIcon & JSXBase.HTMLAttributes<HTMLMgIconElement>;
|
|
3356
3466
|
"mg-illustrated-message": LocalJSX.MgIllustratedMessage & JSXBase.HTMLAttributes<HTMLMgIllustratedMessageElement>;
|
|
3467
|
+
"mg-input": LocalJSX.MgInput & JSXBase.HTMLAttributes<HTMLMgInputElement>;
|
|
3357
3468
|
"mg-input-checkbox": LocalJSX.MgInputCheckbox & JSXBase.HTMLAttributes<HTMLMgInputCheckboxElement>;
|
|
3358
3469
|
/**
|
|
3359
3470
|
* Internal component use to manage sections instances
|