@mgdis/mg-components 6.21.0 → 6.22.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 (158) hide show
  1. package/dist/cjs/{index-CCsGMNyq.js → index-BxB20_Vw.js} +8 -0
  2. package/dist/cjs/index-C2viYwrR.js +4 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/mg-action-more_37.cjs.entry.js +116 -137
  5. package/dist/cjs/mg-alert.cjs.entry.js +1 -1
  6. package/dist/cjs/mg-breadcrumb.cjs.entry.js +63 -0
  7. package/dist/cjs/mg-components.cjs.js +1 -1
  8. package/dist/cjs/mg-fieldset.cjs.entry.js +1 -1
  9. package/dist/cjs/mg-input-combobox.cjs.entry.js +3 -3
  10. package/dist/cjs/mg-input-file.cjs.entry.js +3 -3
  11. package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +40071 -15808
  12. package/dist/cjs/mg-loader.cjs.entry.js +2 -2
  13. package/dist/cjs/mg-progress.cjs.entry.js +1 -1
  14. package/dist/collection/assets/icons/index.js +1 -1
  15. package/dist/collection/collection-manifest.json +2 -1
  16. package/dist/collection/components/atoms/internals/mg-character-left/mg-character-left.js +1 -1
  17. package/dist/collection/components/atoms/internals/mg-input-title/mg-input-title.js +1 -1
  18. package/dist/collection/components/atoms/mg-card/mg-card.js +1 -1
  19. package/dist/collection/components/atoms/mg-divider/mg-divider.js +1 -1
  20. package/dist/collection/components/atoms/mg-icon/mg-icon.js +2 -2
  21. package/dist/collection/components/atoms/mg-tag/mg-tag.js +1 -1
  22. package/dist/collection/components/atoms/mg-tooltip/mg-tooltip-content/mg-tooltip-content.js +1 -1
  23. package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js +1 -1
  24. package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +1 -1
  25. package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.js +2 -2
  26. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +1 -1
  27. package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +1 -1
  28. package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js +1 -1
  29. package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js +1 -1
  30. package/dist/collection/components/molecules/inputs/mg-input-file/mg-input-file.js +2 -2
  31. package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js +1 -1
  32. package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +2 -2
  33. package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js +1 -1
  34. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/custom-properties.scss +212 -0
  35. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf.js +1 -0
  36. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/editor/index.js +300 -94
  37. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.conf.js +29 -0
  38. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js +160 -50
  39. package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +1 -1
  40. package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js +2 -2
  41. package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js +1 -1
  42. package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +1 -1
  43. package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js +3 -36
  44. package/dist/collection/components/molecules/menus/mg-menu/mg-menu.conf.js +0 -4
  45. package/dist/collection/components/molecules/menus/mg-menu/mg-menu.js +21 -43
  46. package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.js +65 -38
  47. package/dist/collection/components/molecules/mg-action-more/mg-action-more.js +1 -1
  48. package/dist/collection/components/molecules/mg-breadcrumb/mg-breadcrumb.conf.js +1 -0
  49. package/dist/collection/components/molecules/mg-breadcrumb/mg-breadcrumb.js +92 -0
  50. package/dist/collection/components/molecules/mg-details/mg-details.js +1 -1
  51. package/dist/collection/components/molecules/mg-fieldset/mg-fieldset.js +1 -1
  52. package/dist/collection/components/molecules/mg-form/mg-form.js +1 -1
  53. package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js +1 -1
  54. package/dist/collection/components/molecules/mg-loader/mg-loader.js +1 -1
  55. package/dist/collection/components/molecules/mg-message/mg-message.js +2 -2
  56. package/dist/collection/components/molecules/mg-modal/mg-modal.js +2 -2
  57. package/dist/collection/components/molecules/mg-panel/mg-panel.js +1 -1
  58. package/dist/collection/components/molecules/mg-popover/mg-popover-content/mg-popover-content.js +1 -1
  59. package/dist/collection/components/molecules/mg-popover/mg-popover.js +1 -1
  60. package/dist/collection/components/molecules/mg-progress/mg-progress.js +1 -1
  61. package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.js +1 -1
  62. package/dist/collection/components/molecules/mg-table/mg-table.js +37 -0
  63. package/dist/collection/components/molecules/mg-tabs/mg-tabs.conf.js +0 -4
  64. package/dist/collection/components/molecules/mg-tabs/mg-tabs.js +13 -33
  65. package/dist/collection/locales/en/messages.json +3 -0
  66. package/dist/collection/locales/fr/messages.json +3 -0
  67. package/dist/components/index3.js +1 -1
  68. package/dist/components/mg-action-more.js +1 -1
  69. package/dist/components/mg-breadcrumb.d.ts +11 -0
  70. package/dist/components/mg-breadcrumb.js +1 -0
  71. package/dist/components/mg-card2.js +1 -1
  72. package/dist/components/mg-character-left2.js +1 -1
  73. package/dist/components/mg-details.js +1 -1
  74. package/dist/components/mg-divider2.js +1 -1
  75. package/dist/components/mg-fieldset.js +1 -1
  76. package/dist/components/mg-form.js +1 -1
  77. package/dist/components/mg-icon2.js +1 -1
  78. package/dist/components/mg-illustrated-message.js +1 -1
  79. package/dist/components/mg-input-checkbox-paginated2.js +1 -1
  80. package/dist/components/mg-input-checkbox.js +1 -1
  81. package/dist/components/mg-input-combobox.js +1 -1
  82. package/dist/components/mg-input-date.js +1 -1
  83. package/dist/components/mg-input-file.js +1 -1
  84. package/dist/components/mg-input-numeric.js +1 -1
  85. package/dist/components/mg-input-password.js +1 -1
  86. package/dist/components/mg-input-radio.js +1 -1
  87. package/dist/components/mg-input-rich-text-editor.js +1663 -1
  88. package/dist/components/mg-input-select2.js +1 -1
  89. package/dist/components/mg-input-text2.js +1 -1
  90. package/dist/components/mg-input-textarea.js +1 -1
  91. package/dist/components/mg-input-title2.js +1 -1
  92. package/dist/components/mg-input-toggle.js +1 -1
  93. package/dist/components/mg-input2.js +1 -1
  94. package/dist/components/mg-item-more2.js +1 -1
  95. package/dist/components/mg-loader2.js +1 -1
  96. package/dist/components/mg-menu-item2.js +1 -1
  97. package/dist/components/mg-message2.js +1 -1
  98. package/dist/components/mg-modal.js +1 -1
  99. package/dist/components/mg-panel.js +1 -1
  100. package/dist/components/mg-popover-content2.js +1 -1
  101. package/dist/components/mg-popover2.js +1 -1
  102. package/dist/components/mg-progress.js +1 -1
  103. package/dist/components/mg-skip-links.js +1 -1
  104. package/dist/components/mg-table.js +1 -1
  105. package/dist/components/mg-tabs2.js +1 -1
  106. package/dist/components/mg-tag.js +1 -1
  107. package/dist/components/mg-tooltip-content2.js +1 -1
  108. package/dist/components/mg-tooltip2.js +1 -1
  109. package/dist/esm/index-DFwaH2hS.js +4 -0
  110. package/dist/esm/{index-D-uaxCxH.js → index-DSEloqPn.js} +8 -0
  111. package/dist/esm/loader.js +1 -1
  112. package/dist/esm/mg-action-more_37.entry.js +116 -137
  113. package/dist/esm/mg-alert.entry.js +1 -1
  114. package/dist/esm/mg-breadcrumb.entry.js +61 -0
  115. package/dist/esm/mg-components.js +1 -1
  116. package/dist/esm/mg-fieldset.entry.js +1 -1
  117. package/dist/esm/mg-input-combobox.entry.js +3 -3
  118. package/dist/esm/mg-input-file.entry.js +3 -3
  119. package/dist/esm/mg-input-rich-text-editor.entry.js +40057 -15794
  120. package/dist/esm/mg-loader.entry.js +2 -2
  121. package/dist/esm/mg-progress.entry.js +1 -1
  122. package/dist/mg-components/locales/en/messages.json +3 -0
  123. package/dist/mg-components/locales/fr/messages.json +3 -0
  124. package/dist/mg-components/mg-components.esm.js +1 -1
  125. package/dist/mg-components/p-0482eb9f.entry.js +1 -0
  126. package/dist/mg-components/{p-6b57f249.entry.js → p-2ee92f38.entry.js} +1 -1
  127. package/dist/mg-components/{p-c3d116b9.entry.js → p-3b653226.entry.js} +1 -1
  128. package/dist/mg-components/{p-dd1934f4.entry.js → p-5745fbea.entry.js} +1 -1
  129. package/dist/mg-components/p-DSEloqPn.js +1 -0
  130. package/dist/mg-components/{p-988c282e.entry.js → p-adec7fcc.entry.js} +1 -1
  131. package/dist/mg-components/p-c63f97f0.entry.js +1658 -0
  132. package/dist/mg-components/{p-4175dcbe.entry.js → p-c8c8cfc1.entry.js} +1 -1
  133. package/dist/mg-components/{p-6b655830.entry.js → p-cc793586.entry.js} +1 -1
  134. package/dist/mg-components/p-d5e69c95.entry.js +1 -0
  135. package/dist/types/assets/icons/index.d.ts +2 -0
  136. package/dist/types/components/molecules/inputs/mg-input/mg-input.conf.d.ts +1 -1
  137. package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf.d.ts +17 -0
  138. package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/editor/index.d.ts +27 -19
  139. package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.conf.d.ts +3 -0
  140. package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.d.ts +48 -14
  141. package/dist/types/components/molecules/internals/mg-item-more/mg-item-more.conf.d.ts +0 -5
  142. package/dist/types/components/molecules/internals/mg-item-more/mg-item-more.d.ts +1 -6
  143. package/dist/types/components/molecules/menus/mg-menu/mg-menu.conf.d.ts +2 -10
  144. package/dist/types/components/molecules/menus/mg-menu/mg-menu.d.ts +7 -7
  145. package/dist/types/components/molecules/menus/mg-menu-item/mg-menu-item.d.ts +12 -8
  146. package/dist/types/components/molecules/mg-breadcrumb/mg-breadcrumb.conf.d.ts +18 -0
  147. package/dist/types/components/molecules/mg-breadcrumb/mg-breadcrumb.d.ts +34 -0
  148. package/dist/types/components/molecules/mg-table/mg-table.d.ts +6 -0
  149. package/dist/types/components/molecules/mg-tabs/mg-tabs.conf.d.ts +1 -9
  150. package/dist/types/components/molecules/mg-tabs/mg-tabs.d.ts +4 -4
  151. package/dist/types/components.d.ts +93 -38
  152. package/ide/intellij/web-types.json +139 -51
  153. package/ide/vscode/css-custom-data.json +10 -2
  154. package/ide/vscode/html-custom-data.json +111 -32
  155. package/package.json +20 -19
  156. package/dist/mg-components/p-08fa327b.entry.js +0 -1
  157. package/dist/mg-components/p-D-uaxCxH.js +0 -1
  158. package/dist/mg-components/p-a79b1f19.entry.js +0 -1
@@ -8,6 +8,7 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { MgActionMoreButtonType, MgActionMoreDividerType, MgActionMoreIconType, MgActionMoreItemType } from "./components/molecules/mg-action-more/mg-action-more.conf";
9
9
  import { VariantStyleType, VariantType } from "./components/molecules/mg-alert/mg-alert.conf";
10
10
  import { BadgeVariantType } from "./components/atoms/mg-badge/mg-badge.conf";
11
+ import { BreadcrumbItemType } from "./components/molecules/mg-breadcrumb/mg-breadcrumb.conf";
11
12
  import { ButtonType, SizeType, VariantType as VariantType1 } from "./components/atoms/mg-button/mg-button.conf";
12
13
  import { RadiusSizeType } from "./components/atoms/mg-card/mg-card.conf";
13
14
  import { labelHeading, TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
@@ -19,12 +20,13 @@ import { Direction, Option, Option as ToggleOption } from "./types";
19
20
  import { RequestMappingType, ResponseMappingType } from "./components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf";
20
21
  import { Format, NumericType } from "./components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf";
21
22
  import { RadioOption } from "./components/molecules/inputs/mg-input-radio/mg-input-radio.conf";
22
- import { EditorOptionsType } from "./components/molecules/inputs/mg-input-rich-text-editor/editor";
23
+ import { ButtonsOption } from "./components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf";
24
+ import { SanitizerOptions } from "@mgdis/sanitize-html";
23
25
  import { SelectOption } from "./components/molecules/inputs/mg-input-select/mg-input-select.conf";
24
26
  import { OptionType, TextType } from "./components/molecules/inputs/mg-input-text/mg-input-text.conf";
25
27
  import { IconType as IconType1 } from "./components";
26
- import { IconType as IconType2, SizeType as SizeType1, SlotLabelType } from "./components/molecules/internals/mg-item-more/mg-item-more.conf";
27
- import { ItemMoreType, MenuSizeType } from "./components/molecules/menus/mg-menu/mg-menu.conf";
28
+ import { IconType as IconType2, SlotLabelType } from "./components/molecules/internals/mg-item-more/mg-item-more.conf";
29
+ import { ItemMoreType } from "./components/molecules/menus/mg-menu/mg-menu.conf";
28
30
  import { MgMenuStatusType, TargetType } from "./components/molecules/menus/mg-menu-item/mg-menu-item.conf";
29
31
  import { VariantStyleType as VariantStyleType1, VariantType as VariantType2 } from "./components/molecules/mg-message/mg-message.conf";
30
32
  import { DialogRoleType } from "./components/molecules/mg-modal/mg-modal.conf";
@@ -34,11 +36,12 @@ import { Placement } from "@popperjs/core";
34
36
  import { AriaRoleType as AriaRoleType1 } from "./components/molecules/mg-progress/mg-progress.conf";
35
37
  import { SkipLink } from "./components/molecules/mg-skip-links/mg-skip-links.conf";
36
38
  import { ColumnsType, TableSizeType } from "./components/molecules/mg-table/mg-table.conf";
37
- import { SizeType as SizeType2, TabItem } from "./components/molecules/mg-tabs/mg-tabs.conf";
39
+ import { TabItem } from "./components/molecules/mg-tabs/mg-tabs.conf";
38
40
  import { TagVariantType } from "./components/atoms/mg-tag/mg-tag.conf";
39
41
  export { MgActionMoreButtonType, MgActionMoreDividerType, MgActionMoreIconType, MgActionMoreItemType } from "./components/molecules/mg-action-more/mg-action-more.conf";
40
42
  export { VariantStyleType, VariantType } from "./components/molecules/mg-alert/mg-alert.conf";
41
43
  export { BadgeVariantType } from "./components/atoms/mg-badge/mg-badge.conf";
44
+ export { BreadcrumbItemType } from "./components/molecules/mg-breadcrumb/mg-breadcrumb.conf";
42
45
  export { ButtonType, SizeType, VariantType as VariantType1 } from "./components/atoms/mg-button/mg-button.conf";
43
46
  export { RadiusSizeType } from "./components/atoms/mg-card/mg-card.conf";
44
47
  export { labelHeading, TooltipPosition, Width } from "./components/molecules/inputs/mg-input/mg-input.conf";
@@ -50,12 +53,13 @@ export { Direction, Option, Option as ToggleOption } from "./types";
50
53
  export { RequestMappingType, ResponseMappingType } from "./components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf";
51
54
  export { Format, NumericType } from "./components/molecules/inputs/mg-input-numeric/mg-input-numeric.conf";
52
55
  export { RadioOption } from "./components/molecules/inputs/mg-input-radio/mg-input-radio.conf";
53
- export { EditorOptionsType } from "./components/molecules/inputs/mg-input-rich-text-editor/editor";
56
+ export { ButtonsOption } from "./components/molecules/inputs/mg-input-rich-text-editor/editor/editor.conf";
57
+ export { SanitizerOptions } from "@mgdis/sanitize-html";
54
58
  export { SelectOption } from "./components/molecules/inputs/mg-input-select/mg-input-select.conf";
55
59
  export { OptionType, TextType } from "./components/molecules/inputs/mg-input-text/mg-input-text.conf";
56
60
  export { IconType as IconType1 } from "./components";
57
- export { IconType as IconType2, SizeType as SizeType1, SlotLabelType } from "./components/molecules/internals/mg-item-more/mg-item-more.conf";
58
- export { ItemMoreType, MenuSizeType } from "./components/molecules/menus/mg-menu/mg-menu.conf";
61
+ export { IconType as IconType2, SlotLabelType } from "./components/molecules/internals/mg-item-more/mg-item-more.conf";
62
+ export { ItemMoreType } from "./components/molecules/menus/mg-menu/mg-menu.conf";
59
63
  export { MgMenuStatusType, TargetType } from "./components/molecules/menus/mg-menu-item/mg-menu-item.conf";
60
64
  export { VariantStyleType as VariantStyleType1, VariantType as VariantType2 } from "./components/molecules/mg-message/mg-message.conf";
61
65
  export { DialogRoleType } from "./components/molecules/mg-modal/mg-modal.conf";
@@ -65,7 +69,7 @@ export { Placement } from "@popperjs/core";
65
69
  export { AriaRoleType as AriaRoleType1 } from "./components/molecules/mg-progress/mg-progress.conf";
66
70
  export { SkipLink } from "./components/molecules/mg-skip-links/mg-skip-links.conf";
67
71
  export { ColumnsType, TableSizeType } from "./components/molecules/mg-table/mg-table.conf";
68
- export { SizeType as SizeType2, TabItem } from "./components/molecules/mg-tabs/mg-tabs.conf";
72
+ export { TabItem } from "./components/molecules/mg-tabs/mg-tabs.conf";
69
73
  export { TagVariantType } from "./components/atoms/mg-tag/mg-tag.conf";
70
74
  export namespace Components {
71
75
  interface MgActionMore {
@@ -124,6 +128,12 @@ export namespace Components {
124
128
  */
125
129
  "variant"?: BadgeVariantType;
126
130
  }
131
+ interface MgBreadcrumb {
132
+ /**
133
+ * Breadcrumb items (hierarchical order: root → current page).
134
+ */
135
+ "items": BreadcrumbItemType[];
136
+ }
127
137
  interface MgButton {
128
138
  /**
129
139
  * Option to set input disable on click, in order to prevent multi-click. Parent component have to remove the attribute 'disabled' when the process ends.
@@ -1212,8 +1222,8 @@ export namespace Components {
1212
1222
  */
1213
1223
  "displayError": () => Promise<void>;
1214
1224
  /**
1215
- * Get editor content in HTML format
1216
- * @returns HTML content of the editor
1225
+ * Get editor content as HTML
1226
+ * @returns HTML content of the editor (sanitized)
1217
1227
  */
1218
1228
  "getEditorHTML": () => Promise<string>;
1219
1229
  /**
@@ -1248,9 +1258,14 @@ export namespace Components {
1248
1258
  */
1249
1259
  "labelOnTop": boolean;
1250
1260
  /**
1251
- * Editor modules configuration
1261
+ * Editor modules configuration. Must be passed as an array (e.g. modules=['bold', 'italic', '|', 'ul', 'ol']). Use `|` for a separator/divider in the toolbar. Available modules: - **Text formatting**: `bold`, `italic`, `underline`, `strikethrough`, `eraser` - **Lists**: `ul` (unordered list), `ol` (ordered list) - **Text positioning**: `superscript`, `subscript` - **Colors**: `brush` (text color/background) - **Media**: `link`, `image`, `file` - **Tables**: `table` - **History**: `undo`, `redo` - **Other**: `print`, `source` (HTML source editor)
1262
+ */
1263
+ "modules"?: ButtonsOption;
1264
+ /**
1265
+ * Input name If not set the value equals the identifier
1266
+ * @default this.identifier
1252
1267
  */
1253
- "modules"?: EditorOptionsType['modules'];
1268
+ "name": string;
1254
1269
  /**
1255
1270
  * Define input pattern to validate Please refer to the Pattern section in the input documentation for detailed information on using regular expressions in components.
1256
1271
  */
@@ -1278,10 +1293,14 @@ export namespace Components {
1278
1293
  */
1279
1294
  "reset": () => Promise<void>;
1280
1295
  /**
1281
- * Define the number of visible text lines for the control
1296
+ * Define the number of visible text lines for the editor. Impacts the editor height. Content can grow beyond this minimum.
1282
1297
  * @default 5
1283
1298
  */
1284
1299
  "rows": number;
1300
+ /**
1301
+ * Sanitizer configuration in native format. Use disallowTags (array of tag names) and/or disallowAttributes (object mapping tag names to string arrays). Use "*" as tag key to disallow attributes on all tags.
1302
+ */
1303
+ "sanitizerOptions"?: SanitizerOptions;
1285
1304
  /**
1286
1305
  * Set an error and display a custom error message. This method can be used to set the component's error state from its context by passing a boolean value to the `valid` parameter. It must be paired with an error message to display for the given context. When used to set validity to `false`, you should use this method again to reset the validity to `true`.
1287
1306
  * @param valid - value indicating the validity
@@ -1768,10 +1787,6 @@ export namespace Components {
1768
1787
  * @default { icon: 'ellipsis-vertical' }
1769
1788
  */
1770
1789
  "icon"?: IconType2;
1771
- /**
1772
- * Define component child menu size.
1773
- */
1774
- "size"?: SizeType1;
1775
1790
  /**
1776
1791
  * Define slot label element
1777
1792
  * @default { display: false }
@@ -1796,7 +1811,7 @@ export namespace Components {
1796
1811
  */
1797
1812
  "direction": Direction;
1798
1813
  /**
1799
- * Customize "mg-item-more" element Used with direction: 'vertical' to manage overflow
1814
+ * Customize "mg-item-more" element Used with direction: 'horizontal' to manage overflow
1800
1815
  */
1801
1816
  "itemmore"?: ItemMoreType;
1802
1817
  /**
@@ -1804,10 +1819,10 @@ export namespace Components {
1804
1819
  */
1805
1820
  "label": string;
1806
1821
  /**
1807
- * Define mg-menu size
1808
- * @default 'medium'
1822
+ * Size of the menu items
1823
+ * @deprecated this prop is deprecated and will be removed in future releases
1809
1824
  */
1810
- "size": MenuSizeType;
1825
+ "size": never;
1811
1826
  }
1812
1827
  interface MgMenuItem {
1813
1828
  /**
@@ -1824,6 +1839,11 @@ export namespace Components {
1824
1839
  * @default createID('mg-menu-item')
1825
1840
  */
1826
1841
  "identifier": string;
1842
+ /**
1843
+ * Define menu-item isIcon style.
1844
+ * @default false
1845
+ */
1846
+ "isIcon"?: boolean;
1827
1847
  /**
1828
1848
  * Define menu-item status.
1829
1849
  * @default 'visible'
@@ -2028,6 +2048,11 @@ export namespace Components {
2028
2048
  "links": SkipLink[];
2029
2049
  }
2030
2050
  interface MgTable {
2051
+ /**
2052
+ * Define if table has no outer border
2053
+ * @default false
2054
+ */
2055
+ "borderHide": boolean;
2031
2056
  /**
2032
2057
  * Define column properties
2033
2058
  */
@@ -2062,10 +2087,10 @@ export namespace Components {
2062
2087
  */
2063
2088
  "label": string;
2064
2089
  /**
2065
- * Define tabs size
2066
- * @default 'medium'
2090
+ * Size of the tabs items.
2091
+ * @deprecated this prop is deprecated and will be removed in future releases. Please use CSS custom properties to set the size of tabs items.
2067
2092
  */
2068
- "size": SizeType2;
2093
+ "size": never;
2069
2094
  }
2070
2095
  interface MgTag {
2071
2096
  /**
@@ -2245,6 +2270,12 @@ declare global {
2245
2270
  prototype: HTMLMgBadgeElement;
2246
2271
  new (): HTMLMgBadgeElement;
2247
2272
  };
2273
+ interface HTMLMgBreadcrumbElement extends Components.MgBreadcrumb, HTMLStencilElement {
2274
+ }
2275
+ var HTMLMgBreadcrumbElement: {
2276
+ prototype: HTMLMgBreadcrumbElement;
2277
+ new (): HTMLMgBreadcrumbElement;
2278
+ };
2248
2279
  interface HTMLMgButtonElementEventMap {
2249
2280
  "disabled-change": HTMLMgButtonElement['disabled'];
2250
2281
  }
@@ -2773,6 +2804,7 @@ declare global {
2773
2804
  "mg-action-more": HTMLMgActionMoreElement;
2774
2805
  "mg-alert": HTMLMgAlertElement;
2775
2806
  "mg-badge": HTMLMgBadgeElement;
2807
+ "mg-breadcrumb": HTMLMgBreadcrumbElement;
2776
2808
  "mg-button": HTMLMgButtonElement;
2777
2809
  "mg-card": HTMLMgCardElement;
2778
2810
  "mg-character-left": HTMLMgCharacterLeftElement;
@@ -2885,6 +2917,12 @@ declare namespace LocalJSX {
2885
2917
  */
2886
2918
  "variant"?: BadgeVariantType;
2887
2919
  }
2920
+ interface MgBreadcrumb {
2921
+ /**
2922
+ * Breadcrumb items (hierarchical order: root → current page).
2923
+ */
2924
+ "items": BreadcrumbItemType[];
2925
+ }
2888
2926
  interface MgButton {
2889
2927
  /**
2890
2928
  * Option to set input disable on click, in order to prevent multi-click. Parent component have to remove the attribute 'disabled' when the process ends.
@@ -3929,9 +3967,14 @@ declare namespace LocalJSX {
3929
3967
  */
3930
3968
  "labelOnTop"?: boolean;
3931
3969
  /**
3932
- * Editor modules configuration
3970
+ * Editor modules configuration. Must be passed as an array (e.g. modules=['bold', 'italic', '|', 'ul', 'ol']). Use `|` for a separator/divider in the toolbar. Available modules: - **Text formatting**: `bold`, `italic`, `underline`, `strikethrough`, `eraser` - **Lists**: `ul` (unordered list), `ol` (ordered list) - **Text positioning**: `superscript`, `subscript` - **Colors**: `brush` (text color/background) - **Media**: `link`, `image`, `file` - **Tables**: `table` - **History**: `undo`, `redo` - **Other**: `print`, `source` (HTML source editor)
3971
+ */
3972
+ "modules"?: ButtonsOption;
3973
+ /**
3974
+ * Input name If not set the value equals the identifier
3975
+ * @default this.identifier
3933
3976
  */
3934
- "modules"?: EditorOptionsType['modules'];
3977
+ "name"?: string;
3935
3978
  /**
3936
3979
  * Emited event when checking validity
3937
3980
  */
@@ -3963,10 +4006,14 @@ declare namespace LocalJSX {
3963
4006
  */
3964
4007
  "required"?: boolean;
3965
4008
  /**
3966
- * Define the number of visible text lines for the control
4009
+ * Define the number of visible text lines for the editor. Impacts the editor height. Content can grow beyond this minimum.
3967
4010
  * @default 5
3968
4011
  */
3969
4012
  "rows"?: number;
4013
+ /**
4014
+ * Sanitizer configuration in native format. Use disallowTags (array of tag names) and/or disallowAttributes (object mapping tag names to string arrays). Use "*" as tag key to disallow attributes on all tags.
4015
+ */
4016
+ "sanitizerOptions"?: SanitizerOptions;
3970
4017
  /**
3971
4018
  * Add a tooltip message next to the input
3972
4019
  */
@@ -4403,10 +4450,6 @@ declare namespace LocalJSX {
4403
4450
  * @default { icon: 'ellipsis-vertical' }
4404
4451
  */
4405
4452
  "icon"?: IconType2;
4406
- /**
4407
- * Define component child menu size.
4408
- */
4409
- "size"?: SizeType1;
4410
4453
  /**
4411
4454
  * Define slot label element
4412
4455
  * @default { display: false }
@@ -4431,7 +4474,7 @@ declare namespace LocalJSX {
4431
4474
  */
4432
4475
  "direction"?: Direction;
4433
4476
  /**
4434
- * Customize "mg-item-more" element Used with direction: 'vertical' to manage overflow
4477
+ * Customize "mg-item-more" element Used with direction: 'horizontal' to manage overflow
4435
4478
  */
4436
4479
  "itemmore"?: ItemMoreType;
4437
4480
  /**
@@ -4439,10 +4482,10 @@ declare namespace LocalJSX {
4439
4482
  */
4440
4483
  "label": string;
4441
4484
  /**
4442
- * Define mg-menu size
4443
- * @default 'medium'
4485
+ * Size of the menu items
4486
+ * @deprecated this prop is deprecated and will be removed in future releases
4444
4487
  */
4445
- "size"?: MenuSizeType;
4488
+ "size"?: never;
4446
4489
  }
4447
4490
  interface MgMenuItem {
4448
4491
  /**
@@ -4459,6 +4502,11 @@ declare namespace LocalJSX {
4459
4502
  * @default createID('mg-menu-item')
4460
4503
  */
4461
4504
  "identifier"?: string;
4505
+ /**
4506
+ * Define menu-item isIcon style.
4507
+ * @default false
4508
+ */
4509
+ "isIcon"?: boolean;
4462
4510
  /**
4463
4511
  * Emited event when item is loaded
4464
4512
  */
@@ -4711,6 +4759,11 @@ declare namespace LocalJSX {
4711
4759
  "onGo-to-anchor"?: (event: MgSkipLinksCustomEvent<string>) => void;
4712
4760
  }
4713
4761
  interface MgTable {
4762
+ /**
4763
+ * Define if table has no outer border
4764
+ * @default false
4765
+ */
4766
+ "borderHide"?: boolean;
4714
4767
  /**
4715
4768
  * Define column properties
4716
4769
  */
@@ -4749,10 +4802,10 @@ declare namespace LocalJSX {
4749
4802
  */
4750
4803
  "onActive-tab-change"?: (event: MgTabsCustomEvent<HTMLMgTabsElement['activeTab']>) => void;
4751
4804
  /**
4752
- * Define tabs size
4753
- * @default 'medium'
4805
+ * Size of the tabs items.
4806
+ * @deprecated this prop is deprecated and will be removed in future releases. Please use CSS custom properties to set the size of tabs items.
4754
4807
  */
4755
- "size"?: SizeType2;
4808
+ "size"?: never;
4756
4809
  }
4757
4810
  interface MgTag {
4758
4811
  /**
@@ -4807,6 +4860,7 @@ declare namespace LocalJSX {
4807
4860
  "mg-action-more": MgActionMore;
4808
4861
  "mg-alert": MgAlert;
4809
4862
  "mg-badge": MgBadge;
4863
+ "mg-breadcrumb": MgBreadcrumb;
4810
4864
  "mg-button": MgButton;
4811
4865
  "mg-card": MgCard;
4812
4866
  "mg-character-left": MgCharacterLeft;
@@ -4857,6 +4911,7 @@ declare module "@stencil/core" {
4857
4911
  "mg-action-more": LocalJSX.MgActionMore & JSXBase.HTMLAttributes<HTMLMgActionMoreElement>;
4858
4912
  "mg-alert": LocalJSX.MgAlert & JSXBase.HTMLAttributes<HTMLMgAlertElement>;
4859
4913
  "mg-badge": LocalJSX.MgBadge & JSXBase.HTMLAttributes<HTMLMgBadgeElement>;
4914
+ "mg-breadcrumb": LocalJSX.MgBreadcrumb & JSXBase.HTMLAttributes<HTMLMgBreadcrumbElement>;
4860
4915
  "mg-button": LocalJSX.MgButton & JSXBase.HTMLAttributes<HTMLMgButtonElement>;
4861
4916
  "mg-card": LocalJSX.MgCard & JSXBase.HTMLAttributes<HTMLMgCardElement>;
4862
4917
  "mg-character-left": LocalJSX.MgCharacterLeft & JSXBase.HTMLAttributes<HTMLMgCharacterLeftElement>;