@mgdis/mg-components 5.25.2 → 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.
Files changed (256) hide show
  1. package/dist/cjs/{index-f699ee11.js → index-1d560837.js} +105 -89
  2. package/dist/cjs/index-1d560837.js.map +1 -0
  3. package/dist/cjs/{index-0256ee6d.js → index-7072369e.js} +17 -5
  4. package/dist/cjs/index-7072369e.js.map +1 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/{mg-action-more_34.cjs.entry.js → mg-action-more_35.cjs.entry.js} +693 -774
  7. package/dist/cjs/mg-action-more_35.cjs.entry.js.map +1 -0
  8. package/dist/cjs/mg-components.cjs.js +3 -3
  9. package/dist/cjs/mg-components.cjs.js.map +1 -1
  10. package/dist/cjs/mg-item-more.cjs.entry.js +8 -7
  11. package/dist/cjs/mg-item-more.cjs.entry.js.map +1 -1
  12. package/dist/cjs/mg-loader.cjs.entry.js +4 -4
  13. package/dist/cjs/mg-loader.cjs.entry.js.map +1 -1
  14. package/dist/collection/assets/icons/index.js +1 -206
  15. package/dist/collection/assets/icons/index.js.map +1 -1
  16. package/dist/collection/collection-manifest.json +4 -3
  17. package/dist/collection/components/atoms/mg-badge/mg-badge.js +2 -2
  18. package/dist/collection/components/atoms/mg-badge/mg-badge.js.map +1 -1
  19. package/dist/collection/components/atoms/mg-button/mg-button.js +6 -6
  20. package/dist/collection/components/atoms/mg-button/mg-button.js.map +1 -1
  21. package/dist/collection/components/atoms/mg-card/mg-card.js +2 -2
  22. package/dist/collection/components/atoms/mg-card/mg-card.js.map +1 -1
  23. package/dist/collection/components/atoms/mg-character-left/mg-character-left.js +2 -2
  24. package/dist/collection/components/atoms/mg-character-left/mg-character-left.js.map +1 -1
  25. package/dist/collection/components/atoms/mg-divider/mg-divider.js +1 -1
  26. package/dist/collection/components/atoms/mg-icon/mg-icon.conf.js.map +1 -1
  27. package/dist/collection/components/atoms/mg-icon/mg-icon.js +13 -8
  28. package/dist/collection/components/atoms/mg-icon/mg-icon.js.map +1 -1
  29. package/dist/collection/components/atoms/mg-input-title/mg-input-title.js +3 -3
  30. package/dist/collection/components/atoms/mg-input-title/mg-input-title.js.map +1 -1
  31. package/dist/collection/components/atoms/mg-tag/mg-tag.js +3 -3
  32. package/dist/collection/components/atoms/mg-tag/mg-tag.js.map +1 -1
  33. package/dist/collection/components/molecules/inputs/mg-input/mg-input.conf.js +21 -0
  34. package/dist/collection/components/molecules/inputs/mg-input/mg-input.conf.js.map +1 -0
  35. package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +509 -0
  36. package/dist/collection/components/molecules/inputs/mg-input/mg-input.js.map +1 -0
  37. package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js +1 -5
  38. package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js.map +1 -1
  39. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +7 -7
  40. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js.map +1 -1
  41. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.js.map +1 -1
  42. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +67 -45
  43. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js.map +1 -1
  44. package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js +31 -13
  45. package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js.map +1 -1
  46. package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js +48 -18
  47. package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js.map +1 -1
  48. package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +54 -15
  49. package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js.map +1 -1
  50. package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js +40 -8
  51. package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js.map +1 -1
  52. package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +44 -13
  53. package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js.map +1 -1
  54. package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js +63 -24
  55. package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js.map +1 -1
  56. package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js +47 -15
  57. package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js.map +1 -1
  58. package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +30 -21
  59. package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js.map +1 -1
  60. package/dist/collection/components/molecules/menu/mg-menu/mg-menu.js +3 -3
  61. package/dist/collection/components/molecules/menu/mg-menu/mg-menu.js.map +1 -1
  62. package/dist/collection/components/molecules/menu/mg-menu-item/mg-menu-item.conf.js +4 -0
  63. package/dist/collection/components/molecules/menu/mg-menu-item/mg-menu-item.conf.js.map +1 -1
  64. package/dist/collection/components/molecules/menu/mg-menu-item/mg-menu-item.js +43 -7
  65. package/dist/collection/components/molecules/menu/mg-menu-item/mg-menu-item.js.map +1 -1
  66. package/dist/collection/components/molecules/mg-action-more/mg-action-more.conf.js.map +1 -1
  67. package/dist/collection/components/molecules/mg-action-more/mg-action-more.js +41 -41
  68. package/dist/collection/components/molecules/mg-action-more/mg-action-more.js.map +1 -1
  69. package/dist/collection/components/molecules/mg-details/mg-details.js +1 -1
  70. package/dist/collection/components/molecules/mg-form/mg-form.js +4 -4
  71. package/dist/collection/components/molecules/mg-form/mg-form.js.map +1 -1
  72. package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js +3 -3
  73. package/dist/collection/components/molecules/mg-item-more/mg-item-more.conf.js.map +1 -1
  74. package/dist/collection/components/molecules/mg-item-more/mg-item-more.js +12 -11
  75. package/dist/collection/components/molecules/mg-item-more/mg-item-more.js.map +1 -1
  76. package/dist/collection/components/molecules/mg-loader/mg-loader.js +3 -3
  77. package/dist/collection/components/molecules/mg-loader/mg-loader.js.map +1 -1
  78. package/dist/collection/components/molecules/mg-message/mg-message.js +3 -3
  79. package/dist/collection/components/molecules/mg-message/mg-message.js.map +1 -1
  80. package/dist/collection/components/molecules/mg-modal/mg-modal.js +2 -2
  81. package/dist/collection/components/molecules/mg-pagination/mg-pagination.js +4 -4
  82. package/dist/collection/components/molecules/mg-pagination/mg-pagination.js.map +1 -1
  83. package/dist/collection/components/molecules/mg-panel/mg-panel.js +4 -4
  84. package/dist/collection/components/molecules/mg-panel/mg-panel.js.map +1 -1
  85. package/dist/collection/components/molecules/mg-popover/mg-popover-content/mg-popover-content.js +1 -1
  86. package/dist/collection/components/molecules/mg-popover/mg-popover.js +2 -2
  87. package/dist/collection/components/molecules/mg-popover/mg-popover.js.map +1 -1
  88. package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.js +1 -1
  89. package/dist/collection/components/molecules/mg-tabs/mg-tabs.js +1 -1
  90. package/dist/collection/locales/en/messages.json +10 -3
  91. package/dist/collection/locales/fr/messages.json +10 -3
  92. package/dist/collection/locales/index.conf.js +2 -0
  93. package/dist/collection/locales/index.conf.js.map +1 -0
  94. package/dist/collection/utils/playwright.fixture.js +1 -1
  95. package/dist/collection/utils/playwright.fixture.js.map +1 -1
  96. package/dist/components/index.es.js +28 -28
  97. package/dist/components/index.es.js.map +1 -1
  98. package/dist/components/index2.js +26 -10
  99. package/dist/components/index2.js.map +1 -1
  100. package/dist/components/mg-action-more.js +16 -16
  101. package/dist/components/mg-action-more.js.map +1 -1
  102. package/dist/components/mg-badge2.js +3 -3
  103. package/dist/components/mg-badge2.js.map +1 -1
  104. package/dist/components/mg-button2.js +5 -5
  105. package/dist/components/mg-button2.js.map +1 -1
  106. package/dist/components/mg-card2.js +4 -4
  107. package/dist/components/mg-card2.js.map +1 -1
  108. package/dist/components/mg-character-left2.js +1 -1
  109. package/dist/components/mg-character-left2.js.map +1 -1
  110. package/dist/components/mg-details.js +3 -3
  111. package/dist/components/mg-divider.js +1 -1
  112. package/dist/components/mg-form.js +4 -4
  113. package/dist/components/mg-form.js.map +1 -1
  114. package/dist/components/mg-icon2.js +6 -418
  115. package/dist/components/mg-icon2.js.map +1 -1
  116. package/dist/components/mg-illustrated-message.js +5 -5
  117. package/dist/components/mg-input-checkbox-paginated2.js +13 -11
  118. package/dist/components/mg-input-checkbox-paginated2.js.map +1 -1
  119. package/dist/components/mg-input-checkbox.js +74 -52
  120. package/dist/components/mg-input-checkbox.js.map +1 -1
  121. package/dist/components/mg-input-date.js +39 -21
  122. package/dist/components/mg-input-date.js.map +1 -1
  123. package/dist/components/mg-input-numeric.js +46 -17
  124. package/dist/components/mg-input-numeric.js.map +1 -1
  125. package/dist/components/mg-input-password.js +59 -15
  126. package/dist/components/mg-input-password.js.map +1 -1
  127. package/dist/components/mg-input-radio.js +44 -13
  128. package/dist/components/mg-input-radio.js.map +1 -1
  129. package/dist/components/mg-input-select2.js +48 -18
  130. package/dist/components/mg-input-select2.js.map +1 -1
  131. package/dist/components/mg-input-text2.js +56 -24
  132. package/dist/components/mg-input-text2.js.map +1 -1
  133. package/dist/components/mg-input-textarea.js +50 -19
  134. package/dist/components/mg-input-textarea.js.map +1 -1
  135. package/dist/components/mg-input-title2.js +3 -3
  136. package/dist/components/mg-input-title2.js.map +1 -1
  137. package/dist/components/mg-input-toggle.js +39 -26
  138. package/dist/components/mg-input-toggle.js.map +1 -1
  139. package/dist/components/mg-input.d.ts +11 -0
  140. package/dist/components/mg-input.js +8 -0
  141. package/dist/components/mg-input.js.map +1 -0
  142. package/dist/components/mg-input2.js +352 -0
  143. package/dist/components/mg-input2.js.map +1 -0
  144. package/dist/components/mg-item-more.js +8 -7
  145. package/dist/components/mg-item-more.js.map +1 -1
  146. package/dist/components/mg-loader.js +3 -3
  147. package/dist/components/mg-loader.js.map +1 -1
  148. package/dist/components/mg-menu-item2.js +25 -8
  149. package/dist/components/mg-menu-item2.js.map +1 -1
  150. package/dist/components/mg-menu2.js +1 -1
  151. package/dist/components/mg-menu2.js.map +1 -1
  152. package/dist/components/mg-message.js +4 -4
  153. package/dist/components/mg-message.js.map +1 -1
  154. package/dist/components/mg-modal.js +9 -9
  155. package/dist/components/mg-modal.js.map +1 -1
  156. package/dist/components/mg-pagination2.js +14 -8
  157. package/dist/components/mg-pagination2.js.map +1 -1
  158. package/dist/components/mg-panel.js +19 -13
  159. package/dist/components/mg-panel.js.map +1 -1
  160. package/dist/components/mg-popover-content2.js +4 -4
  161. package/dist/components/mg-popover2.js +5 -5
  162. package/dist/components/mg-popover2.js.map +1 -1
  163. package/dist/components/mg-skip-links.js +3 -3
  164. package/dist/components/mg-tabs.js +7 -7
  165. package/dist/components/mg-tag.js +4 -4
  166. package/dist/components/mg-tag.js.map +1 -1
  167. package/dist/components/mg-tooltip2.js +6 -6
  168. package/dist/esm/{index-d2fc6ec0.js → index-445fc2a0.js} +99 -83
  169. package/dist/esm/index-445fc2a0.js.map +1 -0
  170. package/dist/esm/{index-4ad17402.js → index-629a42c7.js} +17 -5
  171. package/dist/esm/index-629a42c7.js.map +1 -0
  172. package/dist/esm/loader.js +3 -3
  173. package/dist/esm/{mg-action-more_34.entry.js → mg-action-more_35.entry.js} +693 -775
  174. package/dist/esm/mg-action-more_35.entry.js.map +1 -0
  175. package/dist/esm/mg-components.js +4 -4
  176. package/dist/esm/mg-components.js.map +1 -1
  177. package/dist/esm/mg-item-more.entry.js +8 -7
  178. package/dist/esm/mg-item-more.entry.js.map +1 -1
  179. package/dist/esm/mg-loader.entry.js +4 -4
  180. package/dist/esm/mg-loader.entry.js.map +1 -1
  181. package/dist/mg-components/locales/en/messages.json +10 -3
  182. package/dist/mg-components/locales/fr/messages.json +10 -3
  183. package/dist/mg-components/mg-components.esm.js +1 -1
  184. package/dist/mg-components/mg-components.esm.js.map +1 -1
  185. package/dist/mg-components/p-3ebe6845.js +2 -0
  186. package/dist/mg-components/p-3ebe6845.js.map +1 -0
  187. package/dist/mg-components/{p-568c9ea9.entry.js → p-6735e4b2.entry.js} +2 -2
  188. package/dist/mg-components/p-6735e4b2.entry.js.map +1 -0
  189. package/dist/mg-components/p-9dfaa41f.js +3 -0
  190. package/dist/mg-components/p-9dfaa41f.js.map +1 -0
  191. package/dist/mg-components/p-b3e0f7b3.entry.js +2 -0
  192. package/dist/mg-components/p-b3e0f7b3.entry.js.map +1 -0
  193. package/dist/mg-components/{p-22f575c5.entry.js → p-fe347f48.entry.js} +2 -2
  194. package/dist/mg-components/{p-22f575c5.entry.js.map → p-fe347f48.entry.js.map} +1 -1
  195. package/dist/types/components/atoms/mg-badge/mg-badge.d.ts +2 -2
  196. package/dist/types/components/atoms/mg-button/mg-button.d.ts +5 -5
  197. package/dist/types/components/atoms/mg-card/mg-card.d.ts +1 -1
  198. package/dist/types/components/atoms/mg-character-left/mg-character-left.d.ts +1 -1
  199. package/dist/types/components/atoms/mg-icon/mg-icon.conf.d.ts +5 -0
  200. package/dist/types/components/atoms/mg-icon/mg-icon.d.ts +3 -3
  201. package/dist/types/components/atoms/mg-input-title/mg-input-title.d.ts +2 -2
  202. package/dist/types/components/atoms/mg-tag/mg-tag.d.ts +2 -2
  203. package/dist/types/components/molecules/inputs/mg-input/mg-input.conf.d.ts +35 -0
  204. package/dist/types/components/molecules/inputs/mg-input/mg-input.d.ts +139 -0
  205. package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.d.ts +5 -5
  206. package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.d.ts +3 -5
  207. package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.d.ts +13 -12
  208. package/dist/types/components/molecules/inputs/mg-input-date/mg-input-date.d.ts +8 -6
  209. package/dist/types/components/molecules/inputs/mg-input-numeric/mg-input-numeric.d.ts +12 -9
  210. package/dist/types/components/molecules/inputs/mg-input-password/mg-input-password.d.ts +16 -5
  211. package/dist/types/components/molecules/inputs/mg-input-radio/mg-input-radio.d.ts +7 -3
  212. package/dist/types/components/molecules/inputs/mg-input-select/mg-input-select.d.ts +7 -4
  213. package/dist/types/components/molecules/inputs/mg-input-text/mg-input-text.d.ts +18 -12
  214. package/dist/types/components/molecules/inputs/mg-input-textarea/mg-input-textarea.d.ts +12 -9
  215. package/dist/types/components/molecules/inputs/mg-input-toggle/mg-input-toggle.d.ts +12 -12
  216. package/dist/types/components/molecules/menu/mg-menu/mg-menu.d.ts +1 -1
  217. package/dist/types/components/molecules/menu/mg-menu-item/mg-menu-item.conf.d.ts +8 -0
  218. package/dist/types/components/molecules/menu/mg-menu-item/mg-menu-item.d.ts +10 -5
  219. package/dist/types/components/molecules/mg-action-more/mg-action-more.conf.d.ts +7 -16
  220. package/dist/types/components/molecules/mg-action-more/mg-action-more.d.ts +9 -9
  221. package/dist/types/components/molecules/mg-form/mg-form.d.ts +3 -3
  222. package/dist/types/components/molecules/mg-item-more/mg-item-more.conf.d.ts +3 -12
  223. package/dist/types/components/molecules/mg-item-more/mg-item-more.d.ts +4 -3
  224. package/dist/types/components/molecules/mg-loader/mg-loader.d.ts +2 -2
  225. package/dist/types/components/molecules/mg-message/mg-message.d.ts +2 -2
  226. package/dist/types/components/molecules/mg-pagination/mg-pagination.d.ts +2 -2
  227. package/dist/types/components/molecules/mg-panel/mg-panel.d.ts +3 -3
  228. package/dist/types/components/molecules/mg-popover/mg-popover.d.ts +1 -1
  229. package/dist/types/components.d.ts +205 -94
  230. package/dist/types/locales/index.conf.d.ts +4 -0
  231. package/ide/intellij/web-types.json +6035 -0
  232. package/ide/vscode/html-custom-data.json +6517 -0
  233. package/package.json +33 -30
  234. package/dist/cjs/index-0256ee6d.js.map +0 -1
  235. package/dist/cjs/index-f699ee11.js.map +0 -1
  236. package/dist/cjs/mg-action-more_34.cjs.entry.js.map +0 -1
  237. package/dist/collection/components/molecules/inputs/MgInput.conf.js +0 -14
  238. package/dist/collection/components/molecules/inputs/MgInput.conf.js.map +0 -1
  239. package/dist/collection/components/molecules/inputs/MgInput.js +0 -125
  240. package/dist/collection/components/molecules/inputs/MgInput.js.map +0 -1
  241. package/dist/collection/utils/playwright.e2e.test.utils.js +0 -100
  242. package/dist/collection/utils/playwright.e2e.test.utils.js.map +0 -1
  243. package/dist/components/MgInput.js +0 -155
  244. package/dist/components/MgInput.js.map +0 -1
  245. package/dist/esm/index-4ad17402.js.map +0 -1
  246. package/dist/esm/index-d2fc6ec0.js.map +0 -1
  247. package/dist/esm/mg-action-more_34.entry.js.map +0 -1
  248. package/dist/mg-components/p-29b5a514.js +0 -2
  249. package/dist/mg-components/p-29b5a514.js.map +0 -1
  250. package/dist/mg-components/p-568c9ea9.entry.js.map +0 -1
  251. package/dist/mg-components/p-57614d95.entry.js +0 -2
  252. package/dist/mg-components/p-57614d95.entry.js.map +0 -1
  253. package/dist/mg-components/p-f761ebcd.js +0 -3
  254. package/dist/mg-components/p-f761ebcd.js.map +0 -1
  255. package/dist/types/components/molecules/inputs/MgInput.conf.d.ts +0 -46
  256. 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": MgActionMoreButtonType;
61
+ "button"?: MgActionMoreButtonType;
60
62
  /**
61
63
  * Define if chevron is display
62
64
  */
63
- "displayChevron": boolean;
65
+ "displayChevron"?: boolean;
64
66
  /**
65
67
  * Define displayed icon
66
68
  */
67
- "icon": MgActionMoreIconType;
69
+ "icon"?: MgActionMoreIconType;
68
70
  /**
69
71
  * Define the menu-items elements
70
72
  */
@@ -78,13 +80,13 @@ export namespace Components {
78
80
  /**
79
81
  * Define if button is using outline style
80
82
  */
81
- "outline": boolean;
83
+ "outline"?: boolean;
82
84
  /**
83
85
  * Badge value
84
86
  */
85
87
  "value": string | number;
86
88
  /**
87
- * Define button variant
89
+ * Define badge variant
88
90
  */
89
91
  "variant"?: BadgeVariantType;
90
92
  }
@@ -96,11 +98,11 @@ export namespace Components {
96
98
  /**
97
99
  * Disable button
98
100
  */
99
- "disabled": boolean;
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": string;
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": string;
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": string;
121
+ "label"?: string;
120
122
  /**
121
123
  * Define button type
122
124
  */
123
- "type": ButtonType;
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": string;
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": AriaRoleType;
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": boolean;
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": RequiredMessageStatusType;
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": string;
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": IconVariantType;
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": boolean;
311
+ "displaySelectedValues"?: boolean;
264
312
  /**
265
313
  * Add a help text under the input, usually expected data format and example
266
314
  */
267
- "helpText": string;
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": boolean;
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": string;
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": boolean;
394
+ "disabled"?: boolean;
347
395
  /**
348
396
  * Define mg-input-checkbox input invalid
349
397
  */
350
- "invalid": boolean;
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": string;
406
+ "name"?: string;
359
407
  /**
360
408
  * Define if mg-input-checkbox-list is readonly
361
409
  */
362
- "readonly": boolean;
410
+ "readonly"?: boolean;
363
411
  /**
364
412
  * Define section kind
365
413
  */
366
- "sectionKind": 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": string;
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": boolean;
448
+ "labelOnTop"?: boolean;
401
449
  /**
402
450
  * Define input maximum date format: yyyy-mm-dd
403
451
  */
404
- "max": string;
452
+ "max"?: string;
405
453
  /**
406
454
  * Define input minimum date format: yyyy-mm-dd
407
455
  */
408
- "min": string;
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": string;
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": string;
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": boolean;
540
+ "labelOnTop"?: boolean;
493
541
  /**
494
542
  * Maximum value
495
543
  */
496
- "max": number;
544
+ "max"?: number;
497
545
  /**
498
546
  * Define input width
499
547
  */
500
- "mgWidth": Width;
548
+ "mgWidth"?: Width;
501
549
  /**
502
550
  * Minimum value
503
551
  */
504
- "min": number;
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": string;
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": string;
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": string;
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": boolean;
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": string;
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": string;
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": string;
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": string;
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": string;
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": boolean;
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": string;
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": string;
856
+ "helpText"?: string;
809
857
  /**
810
858
  * Input icon
811
859
  */
812
- "icon": string;
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": boolean;
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": string;
896
+ "pattern"?: string;
849
897
  /**
850
898
  * Define input pattern error message
851
899
  */
852
- "patternErrorMessage": string;
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": string;
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": string;
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": string;
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": boolean;
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": string;
996
+ "pattern"?: string;
949
997
  /**
950
998
  * Define input pattern error message
951
999
  */
952
- "patternErrorMessage": string;
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": string;
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": string;
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": boolean;
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": boolean;
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": string;
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": boolean;
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": string;
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": IconType;
1130
+ "icon"?: IconType2;
1083
1131
  /**
1084
1132
  * Define component child menu size.
1085
1133
  */
1086
- "size": SizeType;
1134
+ "size"?: SizeType;
1087
1135
  /**
1088
1136
  * Define slot label element
1089
1137
  */
1090
- "slotlabel": SlotLabelType;
1138
+ "slotlabel"?: SlotLabelType;
1091
1139
  }
1092
1140
  interface MgLoader {
1093
1141
  /**
1094
1142
  * Override loader message
1095
1143
  */
1096
- "message": string;
1144
+ "message"?: string;
1097
1145
  /**
1098
1146
  * Hide message
1099
1147
  */
1100
- "messageHide": boolean;
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": ItemMoreType;
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": boolean;
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": string;
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": 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": number;
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": boolean;
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": boolean;
1246
+ "hideNavigationLabels"?: boolean;
1195
1247
  /**
1196
1248
  * Hide select input
1197
1249
  */
1198
- "hidePageCount": boolean;
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": boolean;
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": string;
1292
+ "titlePattern"?: string;
1241
1293
  /**
1242
1294
  * Panel title pattern error message
1243
1295
  */
1244
- "titlePatternErrorMessage": string;
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": boolean;
1366
+ "outline"?: boolean;
1315
1367
  /**
1316
1368
  * Define if tag is using soft style
1317
1369
  */
1318
- "soft": boolean;
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;
@@ -1986,7 +2045,7 @@ declare namespace LocalJSX {
1986
2045
  */
1987
2046
  "value": string | number;
1988
2047
  /**
1989
- * Define button variant
2048
+ * Define badge variant
1990
2049
  */
1991
2050
  "variant"?: BadgeVariantType;
1992
2051
  }
@@ -2134,7 +2193,7 @@ declare namespace LocalJSX {
2134
2193
  /**
2135
2194
  * Icon to display.
2136
2195
  */
2137
- "icon": string;
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"?: string;
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"?: IconType;
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