@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
@@ -3,7 +3,6 @@
3
3
  "components/atoms/mg-badge/mg-badge.js",
4
4
  "components/atoms/mg-button/mg-button.js",
5
5
  "components/atoms/mg-icon/mg-icon.js",
6
- "components/molecules/menus/mg-menu/mg-menu.js",
7
6
  "components/molecules/internals/mg-item-more/mg-item-more.js",
8
7
  "components/molecules/menus/mg-menu-item/mg-menu-item.js",
9
8
  "components/atoms/internals/mg-character-left/mg-character-left.js",
@@ -27,8 +26,10 @@
27
26
  "components/molecules/inputs/mg-input-text/mg-input-text.js",
28
27
  "components/molecules/inputs/mg-input-textarea/mg-input-textarea.js",
29
28
  "components/molecules/inputs/mg-input-toggle/mg-input-toggle.js",
29
+ "components/molecules/menus/mg-menu/mg-menu.js",
30
30
  "components/molecules/mg-action-more/mg-action-more.js",
31
31
  "components/molecules/mg-alert/mg-alert.js",
32
+ "components/molecules/mg-breadcrumb/mg-breadcrumb.js",
32
33
  "components/molecules/mg-details/mg-details.js",
33
34
  "components/molecules/mg-fieldset/mg-fieldset.js",
34
35
  "components/molecules/mg-form/mg-form.js",
@@ -37,7 +37,7 @@ export class MgCharacterLeft {
37
37
  * @returns HTML Element
38
38
  */
39
39
  render() {
40
- return (h("span", { key: '22f23b636aaebc8857e4efa2fdb87a85977c59bf', id: this.identifier, "aria-live": "polite" }, h("span", { key: '55addb97bc00800b1ec644b0eff68e779a03528a', "aria-hidden": "true" }, this.maxlength - this.characters.length, "/", this.maxlength), h("span", { key: 'd5bd60b48b6a02cdaff4166f14e4ea6cf921f749', class: "mg-u-visually-hidden" }, this.messages.nbCharLeft.replace('{counter}', this.maxlength - this.characters.length))));
40
+ return (h("span", { key: '41b489eafc25e9fe2e32b54a72542090d79e1052', id: this.identifier, "aria-live": "polite" }, h("span", { key: 'c9dd3eb15ebc866333d4e911e1a560cac1c07ef7', "aria-hidden": "true" }, this.maxlength - this.characters.length, "/", this.maxlength), h("span", { key: '0e4664f577b8db68f0355fc92f9df251f945dedd', class: "mg-u-visually-hidden" }, this.messages.nbCharLeft.replace('{counter}', this.maxlength - this.characters.length))));
41
41
  }
42
42
  static get is() { return "mg-character-left"; }
43
43
  static get encapsulation() { return "scoped"; }
@@ -42,7 +42,7 @@ export class MgInputTitle {
42
42
  render() {
43
43
  const TagName = this.readonly ? 'span' : this.tagName;
44
44
  // \u00A0 represent a  
45
- return (h(TagName, { key: '860f74509c87626d4af51641f0f48db99fa194b0', class: "mg-c-input-title", htmlFor: !this.isLegend && this.identifier, id: this.isLegend ? `${this.identifier}-title` : undefined }, h("slot", { key: '5eb0ca4d7f4061c0cff01e2de3adb9c98c42955a' }), this.required && !this.readonly && (h("span", { key: '0637de0d0dca9b7f87c9bb04fd44eadc6d0606cc', class: "mg-c-input-title__required" }, "\u00A0", h("span", { key: 'b5736467e3fd759eeabe9cf8ee6ed3cf73b8ebfc', class: "mg-u-is-asterisk" }, "*")))));
45
+ return (h(TagName, { key: 'd61ed048e1b2bb124281eb4067894d9a35abf778', class: "mg-c-input-title", htmlFor: !this.isLegend && this.identifier, id: this.isLegend ? `${this.identifier}-title` : undefined }, h("slot", { key: '3bad02b10f8e9bb536c5eba9bf85d4b4967a9d97' }), this.required && !this.readonly && (h("span", { key: 'f0fd90a79f4449a1a3b7ec76a3eeb96bcc2e4ee6', class: "mg-c-input-title__required" }, "\u00A0", h("span", { key: '7ea29cfc494c5c5c2b65b62ea27caee5a41062ca', class: "mg-u-is-asterisk" }, "*")))));
46
46
  }
47
47
  static get is() { return "mg-input-title"; }
48
48
  static get encapsulation() { return "scoped"; }
@@ -50,7 +50,7 @@ export class MgCard {
50
50
  * @returns HTML Element
51
51
  */
52
52
  render() {
53
- return (h("div", { key: '6f83c5f7f9e0aacf502e407450cfdf039635a1f1', class: this.classCollection.join() }, h("slot", { key: '6bf8c02d3c3c9d0719e45af96b41f54289e31961' })));
53
+ return (h("div", { key: 'fe5eff1e1d7c533cd533e27d3fb070a4e57194a8', class: this.classCollection.join() }, h("slot", { key: 'ca27dc4039d7bcaa21284714b7820de257625009' })));
54
54
  }
55
55
  static get is() { return "mg-card"; }
56
56
  static get encapsulation() { return "shadow"; }
@@ -14,7 +14,7 @@ export class MgDivider {
14
14
  * @returns HTML Element
15
15
  */
16
16
  render() {
17
- return (h("div", { key: '60b987cb329c6db14c2cc4a665e7f32b2696a3ee', class: {
17
+ return (h("div", { key: 'a1b0e3b95ed9f52febab9f8d50b4053d1c13f7fb', class: {
18
18
  'mg-c-divider': true,
19
19
  'mg-c-divider--full-width': this.fullWidth,
20
20
  } }));
@@ -28,7 +28,7 @@ export class MgIcon {
28
28
  svgContainer.innerHTML = icons[icon];
29
29
  this.element.shadowRoot.append(svgContainer.firstChild);
30
30
  svgContainer.remove();
31
- // update svg attributes
31
+ // Update svg attributes
32
32
  this.svg = this.element.shadowRoot.querySelector('svg');
33
33
  this.svg.setAttribute('aria-hidden', 'true');
34
34
  this.svg.setAttribute('focusable', 'false');
@@ -144,7 +144,7 @@ export class MgIcon {
144
144
  "mutable": false,
145
145
  "complexType": {
146
146
  "original": "IconType",
147
- "resolved": "\"address-card\" | \"address-card-outline\" | \"align-center\" | \"align-justify\" | \"align-left\" | \"align-right\" | \"api\" | \"archive\" | \"archive-outline\" | \"arrow-clock\" | \"arrow-down\" | \"arrow-down-a-z\" | \"arrow-down-right\" | \"arrow-left\" | \"arrow-right\" | \"arrow-rotate\" | \"arrow-rotate-backward\" | \"arrow-up\" | \"arrow-up-right\" | \"arrow-up-right-square\" | \"arrow-up-z-a\" | \"arrows-compare\" | \"arrows-right-down\" | \"arrows-right-left\" | \"arrows-rotate\" | \"arrows-rotate-backward\" | \"arrows-up-down\" | \"ban\" | \"bell\" | \"bell-outline\" | \"book\" | \"book-outline\" | \"briefcase\" | \"briefcase-outline\" | \"building\" | \"building-outline\" | \"calculator\" | \"calculator-outline\" | \"calendar\" | \"calendar-euro\" | \"calendar-euro-outline\" | \"calendar-outline\" | \"check\" | \"check-circle\" | \"check-circle-outline\" | \"chevron-down\" | \"chevron-down-circle\" | \"chevron-left\" | \"chevron-left-circle\" | \"chevron-right\" | \"chevron-right-circle\" | \"chevron-up\" | \"chevron-up-circle\" | \"circle\" | \"clock\" | \"clock-outline\" | \"code-square-outline\" | \"cog\" | \"cog-outline\" | \"comment\" | \"comment-exclamation\" | \"comment-exclamation-outline\" | \"comment-outline\" | \"comment-question\" | \"comment-question-outline\" | \"comment-sms\" | \"comment-sms-outline\" | \"conversation\" | \"conversation-outline\" | \"copy\" | \"copy-file\" | \"copy-file-outline\" | \"copy-outline\" | \"credit-card\" | \"cross\" | \"cross-circle\" | \"cross-circle-outline\" | \"dashboard\" | \"dashboard-outline\" | \"download\" | \"earth\" | \"earth-outline\" | \"ellipsis\" | \"ellipsis-vertical\" | \"euro\" | \"euro-circle\" | \"exclamation-circle\" | \"exclamation-circle-outline\" | \"exclamation-stamp\" | \"exclamation-triangle\" | \"exclamation-triangle-outline\" | \"eye\" | \"eye-outline\" | \"eye-slash\" | \"eye-slash-outline\" | \"fax\" | \"fax-outline\" | \"file\" | \"file-cog\" | \"file-cog-outline\" | \"file-download\" | \"file-download-outline\" | \"file-excel\" | \"file-excel-outline\" | \"file-outline\" | \"file-pdf\" | \"file-pdf-outline\" | \"file-text\" | \"file-text-outline\" | \"file-upload\" | \"file-upload-outline\" | \"file-word\" | \"file-word-outline\" | \"filter\" | \"filter-outline\" | \"floppy-disk\" | \"floppy-disk-checked\" | \"floppy-disk-checked-outline\" | \"floppy-disk-outline\" | \"folder\" | \"folder-check\" | \"folder-check-outline\" | \"folder-lines\" | \"folder-lines-outline\" | \"folder-link\" | \"folder-link-outline\" | \"folder-outline\" | \"folder-star\" | \"folder-star-outline\" | \"folders\" | \"folders-outline\" | \"gavel\" | \"gavel-outline\" | \"graduation-cap\" | \"graduation-cap-outline\" | \"hand-euro\" | \"hand-euro-outline\" | \"hand-up\" | \"history\" | \"home\" | \"home-outline\" | \"info-circle\" | \"info-circle-outline\" | \"interrogation-circle\" | \"interrogation-circle-outline\" | \"key\" | \"laptop\" | \"layers\" | \"life-ring\" | \"lines-rectangle\" | \"lines-rectangle-outline\" | \"link\" | \"list\" | \"loader\" | \"location\" | \"location-outline\" | \"lock\" | \"lock-outline\" | \"log-in\" | \"log-out\" | \"magnifying-glass\" | \"mail\" | \"mail-open\" | \"mail-open-outline\" | \"mail-outline\" | \"messages-square\" | \"messages-square-outline\" | \"mobile\" | \"mobile-outline\" | \"notes\" | \"notes-outline\" | \"paper-plane\" | \"paper-plane-outline\" | \"paper-plane-slash\" | \"paper-plane-slash-outline\" | \"paperclip\" | \"pen\" | \"pen-circle\" | \"pen-fancy\" | \"pen-fancy-files-outline\" | \"pen-fancy-outline\" | \"pen-outline\" | \"phone\" | \"phone-outline\" | \"picture\" | \"picture-outline\" | \"play-circle\" | \"plus\" | \"plus-circle\" | \"plus-circle-outline\" | \"share\" | \"share-outline\" | \"shuffle\" | \"sidebar-arrow-left\" | \"sidebar-arrow-right\" | \"sitemap\" | \"sliders\" | \"sliders-outline\" | \"squares\" | \"star\" | \"star-outline\" | \"table\" | \"tag\" | \"tag-outline\" | \"tags\" | \"tags-outline\" | \"thumb-down\" | \"thumb-down-outline\" | \"thumb-up\" | \"thumb-up-outline\" | \"thumbtack\" | \"thumbtack-outline\" | \"trash\" | \"trash-outline\" | \"universal-access\" | \"universal-access-outline\" | \"unlink\" | \"unlock\" | \"unlock-outline\" | \"upload\" | \"user\" | \"user-circle\" | \"user-group\" | \"user-group-outline\" | \"user-lock\" | \"user-outline\" | \"user-pen-fancy-outline\" | \"user-plus\" | \"user-question-outline\" | \"user-shield\" | \"user-shield-outline\" | \"users\" | \"users-outline\" | \"wallet\" | \"wallet-outline\"",
147
+ "resolved": "\"address-card\" | \"address-card-outline\" | \"align-center\" | \"align-justify\" | \"align-left\" | \"align-right\" | \"api\" | \"archive\" | \"archive-outline\" | \"arrow-clock\" | \"arrow-down\" | \"arrow-down-a-z\" | \"arrow-down-right\" | \"arrow-left\" | \"arrow-right\" | \"arrow-rotate\" | \"arrow-rotate-backward\" | \"arrow-up\" | \"arrow-up-right\" | \"arrow-up-right-square\" | \"arrow-up-z-a\" | \"arrows-compare\" | \"arrows-right-down\" | \"arrows-right-left\" | \"arrows-rotate\" | \"arrows-rotate-backward\" | \"arrows-up-down\" | \"ban\" | \"bell\" | \"bell-outline\" | \"book\" | \"book-outline\" | \"briefcase\" | \"briefcase-outline\" | \"building\" | \"building-outline\" | \"calculator\" | \"calculator-outline\" | \"calendar\" | \"calendar-euro\" | \"calendar-euro-outline\" | \"calendar-outline\" | \"check\" | \"check-circle\" | \"check-circle-outline\" | \"chevron-down\" | \"chevron-down-circle\" | \"chevron-left\" | \"chevron-left-circle\" | \"chevron-right\" | \"chevron-right-circle\" | \"chevron-up\" | \"chevron-up-circle\" | \"circle\" | \"clock\" | \"clock-outline\" | \"code-square-outline\" | \"cog\" | \"cog-outline\" | \"comment\" | \"comment-exclamation\" | \"comment-exclamation-outline\" | \"comment-outline\" | \"comment-question\" | \"comment-question-outline\" | \"comment-sms\" | \"comment-sms-outline\" | \"conversation\" | \"conversation-outline\" | \"copy\" | \"copy-file\" | \"copy-file-outline\" | \"copy-outline\" | \"credit-card\" | \"cross\" | \"cross-circle\" | \"cross-circle-outline\" | \"dashboard\" | \"dashboard-outline\" | \"download\" | \"earth\" | \"earth-outline\" | \"ellipsis\" | \"ellipsis-vertical\" | \"euro\" | \"euro-circle\" | \"exclamation-circle\" | \"exclamation-circle-outline\" | \"exclamation-stamp\" | \"exclamation-triangle\" | \"exclamation-triangle-outline\" | \"eye\" | \"eye-outline\" | \"eye-slash\" | \"eye-slash-outline\" | \"fax\" | \"fax-outline\" | \"file\" | \"file-cog\" | \"file-cog-outline\" | \"file-download\" | \"file-download-outline\" | \"file-excel\" | \"file-excel-outline\" | \"file-outline\" | \"file-pdf\" | \"file-pdf-outline\" | \"file-text\" | \"file-text-outline\" | \"file-upload\" | \"file-upload-outline\" | \"file-word\" | \"file-word-outline\" | \"filter\" | \"filter-outline\" | \"floppy-disk\" | \"floppy-disk-checked\" | \"floppy-disk-checked-outline\" | \"floppy-disk-outline\" | \"folder\" | \"folder-check\" | \"folder-check-outline\" | \"folder-lines\" | \"folder-lines-outline\" | \"folder-link\" | \"folder-link-outline\" | \"folder-outline\" | \"folder-star\" | \"folder-star-outline\" | \"folders\" | \"folders-outline\" | \"gavel\" | \"gavel-outline\" | \"graduation-cap\" | \"graduation-cap-outline\" | \"hand-euro\" | \"hand-euro-outline\" | \"hand-up\" | \"history\" | \"home\" | \"home-outline\" | \"info-circle\" | \"info-circle-outline\" | \"interrogation-circle\" | \"interrogation-circle-outline\" | \"key\" | \"laptop\" | \"layers\" | \"life-ring\" | \"lines-rectangle\" | \"lines-rectangle-outline\" | \"link\" | \"list\" | \"loader\" | \"location\" | \"location-outline\" | \"lock\" | \"lock-outline\" | \"log-in\" | \"log-out\" | \"magnifying-glass\" | \"mail\" | \"mail-open\" | \"mail-open-outline\" | \"mail-outline\" | \"messages-square\" | \"messages-square-outline\" | \"mobile\" | \"mobile-outline\" | \"notes\" | \"notes-outline\" | \"paper-plane\" | \"paper-plane-outline\" | \"paper-plane-slash\" | \"paper-plane-slash-outline\" | \"paperclip\" | \"pause\" | \"pause-outline\" | \"pen\" | \"pen-circle\" | \"pen-fancy\" | \"pen-fancy-files-outline\" | \"pen-fancy-outline\" | \"pen-outline\" | \"phone\" | \"phone-outline\" | \"picture\" | \"picture-outline\" | \"play-circle\" | \"plus\" | \"plus-circle\" | \"plus-circle-outline\" | \"share\" | \"share-outline\" | \"shuffle\" | \"sidebar-arrow-left\" | \"sidebar-arrow-right\" | \"sitemap\" | \"sliders\" | \"sliders-outline\" | \"squares\" | \"star\" | \"star-outline\" | \"table\" | \"tag\" | \"tag-outline\" | \"tags\" | \"tags-outline\" | \"thumb-down\" | \"thumb-down-outline\" | \"thumb-up\" | \"thumb-up-outline\" | \"thumbtack\" | \"thumbtack-outline\" | \"trash\" | \"trash-outline\" | \"universal-access\" | \"universal-access-outline\" | \"unlink\" | \"unlock\" | \"unlock-outline\" | \"upload\" | \"user\" | \"user-circle\" | \"user-group\" | \"user-group-outline\" | \"user-lock\" | \"user-outline\" | \"user-pen-fancy-outline\" | \"user-plus\" | \"user-question-outline\" | \"user-shield\" | \"user-shield-outline\" | \"users\" | \"users-outline\" | \"wallet\" | \"wallet-outline\"",
148
148
  "references": {
149
149
  "IconType": {
150
150
  "location": "import",
@@ -84,7 +84,7 @@ export class MgTag {
84
84
  * @returns HTML Element
85
85
  */
86
86
  render() {
87
- return (h("span", { key: '8edd72c80d7179fdb5c1c37caeaecb54c086df8c', class: this.classCollection.join() }, h("slot", { key: 'e6bf4574a943f83856a6a61cba480d54ff153cb3' })));
87
+ return (h("span", { key: '3604851191691e002f8f7a701e37abe0059238e3', class: this.classCollection.join() }, h("slot", { key: 'c51e18e61908772878f380d1ae798e5e5f43ca02' })));
88
88
  }
89
89
  static get is() { return "mg-tag"; }
90
90
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,7 @@ export class MgTooltipContent {
11
11
  * @returns HTML Element
12
12
  */
13
13
  render() {
14
- return (h(Host, { key: '2221de3ca0ef7c9d6e46e24b19c69007fababf81', role: "tooltip" }, h("span", { key: '9e14f7f5b3f5e5060ed9f42e8d7259b17575168e', innerHTML: this.message, class: "mg-tooltip-content__message" }), h("slot", { key: 'bc083567d77e8f4ffccee98b96036ba8ac494fb6', name: "arrow" })));
14
+ return (h(Host, { key: 'efe7a2b2622713929caf9a2e114e7a1267643f5e', role: "tooltip" }, h("span", { key: '00f0066cfa058e55a88533f8b6daaa8ab283b29c', innerHTML: this.message, class: "mg-tooltip-content__message" }), h("slot", { key: 'fd952c4db7b77b54591bf2c58012096579de45c2', name: "arrow" })));
15
15
  }
16
16
  static get is() { return "mg-tooltip-content"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -364,7 +364,7 @@ export class MgTooltip {
364
364
  * @returns HTML Element
365
365
  */
366
366
  render() {
367
- return (h(Host, { key: '1f5ee653d58185c2ab15b213ad323adaabca605f' }, h("slot", { key: 'd0c615db4429e84a295d01269c268f9239da85c5' }), h("slot", { key: 'e6c6deb2f94ab883da2a62fa53cb299f5ec83a06', name: "content" })));
367
+ return (h(Host, { key: '8d1a0690f0b44381de181c2ea1f9e4c883a1af57' }, h("slot", { key: 'ae45df312e6a251a72b8ace11eb154c5ad13b4ae' }), h("slot", { key: 'fdbb17e42291cd785ff188df14029bcd59ba4c13', name: "content" })));
368
368
  }
369
369
  static get is() { return "mg-tooltip"; }
370
370
  static get encapsulation() { return "shadow"; }
@@ -339,7 +339,7 @@ export class MgInput {
339
339
  */
340
340
  render() {
341
341
  const isGroup = this.isFieldset && !this.isReadonly;
342
- return (h(Host, { key: 'fbab18280a709407c83f324127e8de6cbb05fe7c', class: this.element.classList.toString(), role: isGroup ? 'group' : undefined, "aria-labelledby": isGroup ? `${this.identifier}-title` : undefined }, h("div", { key: 'ac0924c244b9fa87d02e659a5710ee93d12a202f', class: { 'mg-c-input__title': true, 'mg-u-visually-hidden': this.labelHide } }, h("slot", { key: 'c825af33ba0a6c209d02d6487422347f7d8acfed', name: this.slotLabel }), this.tooltip && (this.tooltipPosition === 'label' || this.labelOnTop) && !this.labelHide && this.renderTooltip()), h("div", { key: '805e1eedfdea132f3ea4fd11da761810a3d7c939', class: "mg-c-input__input-container" }, this.inputContainerElements())));
342
+ return (h(Host, { key: 'a1db280d19eead30e7ae27eb6e395e58b35baa63', class: this.element.classList.toString(), role: isGroup ? 'group' : undefined, "aria-labelledby": isGroup ? `${this.identifier}-title` : undefined }, h("div", { key: '282f5776a9269272507f3e00f5dce690c9a604f4', class: { 'mg-c-input__title': true, 'mg-u-visually-hidden': this.labelHide } }, h("slot", { key: 'b122979a159912d9c34bb024021257f9f88e6ff4', name: this.slotLabel }), this.tooltip && (this.tooltipPosition === 'label' || this.labelOnTop) && !this.labelHide && this.renderTooltip()), h("div", { key: '098d3a7329fa0b5f37534fdf2df89e0468dcbe2a', class: "mg-c-input__input-container" }, this.inputContainerElements())));
343
343
  }
344
344
  static get is() { return "mg-input"; }
345
345
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
4
4
  * @param props - MgInputCheckboxList Interface Props
5
5
  * @returns input template
6
6
  */
7
- export const MgInputCheckboxList = (props) => (h("ul", { class: "mg-c-input__input-group-container", role: "list", "aria-labelledby": props.labelledby, id: props.id }, props.checkboxes.map(input => {
7
+ export const MgInputCheckboxList = (props) => (h("div", { class: "mg-c-input__input-group-container", "aria-labelledby": props.labelledby, id: props.id }, props.checkboxes.map(input => {
8
8
  var _a, _b;
9
- return (h("li", { key: input._id, class: { 'mg-c-input__input-group': true, 'mg-c-input__input-group--disabled': props.disabled || input.disabled } }, h("input", { type: "checkbox", id: input._id, name: props.name, value: (_a = input.value) === null || _a === void 0 ? void 0 : _a.toString(), checked: Boolean(input.value), required: input.required, "aria-invalid": ((_b = props.invalid) === null || _b === void 0 ? void 0 : _b.toString()) || 'false', disabled: props.disabled || input.disabled, indeterminate: input.value === null, onInput: input._handleInput, onBlur: input._handleBlur, onKeyDown: input._handleKeydown }), h("label", { htmlFor: input._id }, input.title)));
9
+ return (h("div", { key: input._id, class: { 'mg-c-input__input-group': true, 'mg-c-input__input-group--disabled': props.disabled || input.disabled } }, h("input", { type: "checkbox", id: input._id, name: props.name, value: (_a = input.value) === null || _a === void 0 ? void 0 : _a.toString(), checked: Boolean(input.value), required: input.required, "aria-invalid": ((_b = props.invalid) === null || _b === void 0 ? void 0 : _b.toString()) || 'false', disabled: props.disabled || input.disabled, indeterminate: input.value === null, onInput: input._handleInput, onBlur: input._handleBlur, onKeyDown: input._handleKeydown }), h("label", { htmlFor: input._id }, input.title)));
10
10
  })));
@@ -76,7 +76,7 @@ export class MgInputCheckboxPaginated {
76
76
  render() {
77
77
  const listId = formatID(this.messages.label);
78
78
  const tabId = 'tab-info';
79
- return (h(Host, { key: '233ab4fca3f4a3121bc60650ac2f8ae06d47e6e5' }, h("slot", { key: '7d1af8c712928c06953743fc5c182e51d9a6256b', name: "header-action" }), h("div", { key: '95641bd218e36422a6b5b4ead8dd5498e8ac5fa4', class: "mg-c-input__tabs-content" }, h("p", { key: '34814dd1afc9f871cd032500b931e692d63cbd25', id: tabId, class: { 'mg-c-input__popover-info': true, 'mg-u-visually-hidden': this.items.length !== 0 }, "aria-live": this.items.length !== 0 ? 'polite' : undefined }, this.items.length === 0 ? this.messages.noValue : this.messages.values.replace('{count}', this.items.length.toString())), this.items.length > 0 && (h(MgInputCheckboxList, { key: '621077f291a401737157ad0cd9b9348537ef8bdc', checkboxes: this.items, labelledby: tabId, id: listId, disabled: this.disabled, name: this.name, invalid: this.invalid })), this.hasNext() && (h("mg-button", { key: "load-more", variant: "flat", class: "mg-c-input__load-more", tabIndex: -1, "full-width": true, onClick: this.handleLoadMore, "aria-controls": listId }, h("mg-icon", { key: 'cb00bbeb1575475b184cc9623db6c4cefc56c26a', icon: "chevron-down" }), this.messages.showMore)))));
79
+ return (h(Host, { key: 'ce0fe4a842cc21f7f981b6a9286d592c2c28819b' }, h("slot", { key: '683c26f98e76262c565613529c76e7f3b27efbc5', name: "header-action" }), h("div", { key: 'eb9e9bfa54a467b44f4e90a8575ae8b1fe40ea10', class: "mg-c-input__tabs-content" }, h("p", { key: '6eeb40f89a0cc0b8ea0837f44babe8cd440ced0f', id: tabId, class: { 'mg-c-input__popover-info': true, 'mg-u-visually-hidden': this.items.length !== 0 }, "aria-live": this.items.length !== 0 ? 'polite' : undefined }, this.items.length === 0 ? this.messages.noValue : this.messages.values.replace('{count}', this.items.length.toString())), this.items.length > 0 && (h(MgInputCheckboxList, { key: '1625b0bdbb1de6ef0c55850e3a08a2cf322da317', checkboxes: this.items, labelledby: tabId, id: listId, disabled: this.disabled, name: this.name, invalid: this.invalid })), this.hasNext() && (h("mg-button", { key: "load-more", variant: "flat", class: "mg-c-input__load-more", tabIndex: -1, "full-width": true, onClick: this.handleLoadMore, "aria-controls": listId }, h("mg-icon", { key: '8f10cc6152899cf869023ff1c465763e9a05d7b6', icon: "chevron-down" }), this.messages.showMore)))));
80
80
  }
81
81
  static get is() { return "mg-input-checkbox-paginated"; }
82
82
  static get encapsulation() { return "scoped"; }
@@ -578,7 +578,7 @@ export class MgInputCheckbox {
578
578
  else {
579
579
  inputContent = this.renderCheckboxMulti();
580
580
  }
581
- return (h("mg-input", { key: '5addea288b5c87fec33a56449d14f861aefd465d', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: !this.readonly ? this.required : undefined, tooltip: this.tooltip, tooltipPosition: this.readonly && readonlyValue.length === 0 ? 'label' : this.tooltipPosition, helpText: !this.readonly ? this.helpText : undefined, errorMessage: !this.readonly ? this.errorMessage : undefined }, inputContent));
581
+ return (h("mg-input", { key: 'c5797a119a653c27004a171b7b79be7d4504800d', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: !this.readonly ? this.required : undefined, tooltip: this.tooltip, tooltipPosition: this.readonly && readonlyValue.length === 0 ? 'label' : this.tooltipPosition, helpText: !this.readonly ? this.helpText : undefined, errorMessage: !this.readonly ? this.errorMessage : undefined }, inputContent));
582
582
  }
583
583
  static get is() { return "mg-input-checkbox"; }
584
584
  static get encapsulation() { return "shadow"; }
@@ -758,7 +758,7 @@ export class MgInputCombobox {
758
758
  else {
759
759
  activeDescendant = (_e = this.value) === null || _e === void 0 ? void 0 : _e.value;
760
760
  }
761
- return (h("mg-input", { key: 'ee8222484fa6546a422eb724fdea67402644c0cc', label: this.label, identifier: this.identifier, class: this.classCollection.classes.join(' '), ariaDescribedbyIDs: popoverContent && popoverContent !== 'list' ? popoverContent : undefined, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (readonlyValue && h("b", { class: "mg-c-input__readonly-value" }, readonlyValue)) : (h("mg-popover", { identifier: this.popoverId, placement: "bottom-start", display: this.popoverDisplay, "arrow-hide": true, style: {
761
+ return (h("mg-input", { key: 'd16350f2e21e492932e7264c076454a249e1f5f2', label: this.label, identifier: this.identifier, class: this.classCollection.classes.join(' '), ariaDescribedbyIDs: popoverContent && popoverContent !== 'list' ? popoverContent : undefined, labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (readonlyValue && h("b", { class: "mg-c-input__readonly-value" }, readonlyValue)) : (h("mg-popover", { identifier: this.popoverId, placement: "bottom-start", display: this.popoverDisplay, "arrow-hide": true, style: {
762
762
  '--mg-c-input-list-width': ((_f = this.input) === null || _f === void 0 ? void 0 : _f.offsetWidth) > 0 ? `${this.input.offsetWidth}px` : undefined,
763
763
  }, "data-fallback-placement": "bottom-end", "onDisplay-change": this.handlePopoverDisplay }, h("div", { class: "mg-c-input__input-group-container" }, h("mg-icon", { icon: "magnifying-glass" }), h("input", { type: "text", role: "combobox", class: "mg-c-input__box mg-c-input__box--width", value: this.filter, id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.popoverDisplay.toString(), "aria-controls": listId, "aria-invalid": (this.invalid === true).toString(), "aria-activedescendant": formatID(activeDescendant), onInput: this.handleFilterInput, onBlur: this.handleFilterBlur, onFocus: this.handleFilterFocus, onKeyDown: this.handleFilterKeydown, ref: (el) => {
764
764
  if (el !== null)
@@ -357,7 +357,7 @@ export class MgInputDate {
357
357
  * @returns HTML Element
358
358
  */
359
359
  render() {
360
- return (h("mg-input", { key: '1428f0f9f11d829ec8d3ed507c8690d63839ff17', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === null ? 'label' : this.tooltipPosition, helpText: this.formatHelpText(this.helpText), errorMessage: this.errorMessage }, this.readonly ? (this.value && h("b", { class: "mg-c-input__readonly-value" }, localeDate(this.value, this.locale))) : (h("input", { type: "date", class: "mg-c-input__box", min: this.min, max: this.max, value: this.value, id: this.identifier, name: this.name, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
360
+ return (h("mg-input", { key: '53d23a27355884d3b3ac996188f619ad325d58b6', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === null ? 'label' : this.tooltipPosition, helpText: this.formatHelpText(this.helpText), errorMessage: this.errorMessage }, this.readonly ? (this.value && h("b", { class: "mg-c-input__readonly-value" }, localeDate(this.value, this.locale))) : (h("input", { type: "date", class: "mg-c-input__box", min: this.min, max: this.max, value: this.value, id: this.identifier, name: this.name, disabled: this.disabled, required: this.required, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
361
361
  if (el !== null)
362
362
  this.input = el;
363
363
  } }))));
@@ -332,9 +332,9 @@ export class MgInputFile {
332
332
  * @returns HTML Element
333
333
  */
334
334
  render() {
335
- return (h("mg-input", { key: '3bcbf416c083d857aac2ad556bb2a218fe9ef82f', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, h("div", { key: '88fafc6fd4a84c05a545c0083193e2ee0db54bfb', class: "mg-c-input__file-container" }, h("input", { key: 'ad1d14bc95390d5db56191ebff0d092ed5478183', name: this.name, id: this.identifier, class: "mg-u-visually-hidden", type: "file", multiple: this.multiple === true, capture: this.capture, accept: this.accept, disabled: this.disabled, required: this.files.length === 0 && this.required, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onChange: this.handleInputChange, "aria-invalid": (this.invalid === true).toString(), ref: (el) => {
335
+ return (h("mg-input", { key: '48337d8e0a059dbea60c4bfa152468429b37b897', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, h("div", { key: 'b0a67412ce2a054ce84f001efe01156bfce001a1', class: "mg-c-input__file-container" }, h("input", { key: '0585b37ac4da8e5b29b94c04a298cfd8451016c9', name: this.name, id: this.identifier, class: "mg-u-visually-hidden", type: "file", multiple: this.multiple === true, capture: this.capture, accept: this.accept, disabled: this.disabled, required: this.files.length === 0 && this.required, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onChange: this.handleInputChange, "aria-invalid": (this.invalid === true).toString(), ref: (el) => {
336
336
  this.inputElement = el;
337
- } }), h("mg-button", { key: 'ace59bb90e27f924ce85e96abd277e752c75b6b8', variant: "secondary", class: "mg-c-input__file-button", type: "button", disabled: this.disabled, onClick: this.handleButtonClick, onBlur: this.handleButtonBlur, tabindex: "-1", ref: (el) => {
337
+ } }), h("mg-button", { key: '0c71ea34375f60a357ad2aa38353c7acafc1091a', variant: "secondary", class: "mg-c-input__file-button", type: "button", disabled: this.disabled, onClick: this.handleButtonClick, onBlur: this.handleButtonBlur, tabindex: "-1", ref: (el) => {
338
338
  this.fileButtonElement = el;
339
339
  } }, this.messages.input.file.browse), this.renderFiles())));
340
340
  }
@@ -460,7 +460,7 @@ export class MgInputNumeric {
460
460
  * @returns HTML Element
461
461
  */
462
462
  render() {
463
- return (h("mg-input", { key: 'b158c0ec7f43ee02bbdbb275c169876fcdff92ac', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.formatHelpText(this.helpText), errorMessage: this.errorMessage }, this.readonly
463
+ return (h("mg-input", { key: '4529f67fe43372530d723e8e8a7a6c44f5057bbd', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.formatHelpText(this.helpText), errorMessage: this.errorMessage }, this.readonly
464
464
  ? this.readonlyValue && this.renderReadonly()
465
465
  : [
466
466
  h("input", { key: "input", type: "text", class: "mg-c-input__box mg-c-input__box--width", value: this.displayValue(), id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, autocomplete: "off", "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, ref: (el) => {
@@ -248,10 +248,10 @@ export class MgInputPassword {
248
248
  * @returns HTML Element
249
249
  */
250
250
  render() {
251
- return (h("mg-input", { key: '403d92641197b3ad397a0db527944dba4137f83a', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (this.value !== undefined && h("b", { class: "mg-c-input__readonly-value" }, '•'.repeat(this.value.length))) : (h("span", { class: "mg-c-input__input-group" }, h("input", { type: this.displayPassword ? 'text' : 'password', class: "mg-c-input__box mg-c-input__box--width", value: this.value, id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, maxlength: this.maxlength, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, ref: (el) => {
251
+ return (h("mg-input", { key: '7154d79c2c609f47ae7c9542cffd1c92d26ce383', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && this.value === undefined ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (this.value !== undefined && h("b", { class: "mg-c-input__readonly-value" }, '•'.repeat(this.value.length))) : (h("span", { class: "mg-c-input__input-group" }, h("input", { type: this.displayPassword ? 'text' : 'password', class: "mg-c-input__box mg-c-input__box--width", value: this.value, id: this.identifier, name: this.name, placeholder: this.placeholder, title: this.placeholder, disabled: this.disabled, required: this.required, maxlength: this.maxlength, "aria-invalid": (this.invalid === true).toString(), onInput: this.handleInput, onBlur: this.handleBlur, ref: (el) => {
252
252
  if (el !== null)
253
253
  this.input = el;
254
- } }), h("mg-button", { label: this.messages.input.password[this.displayPassword ? 'hide' : 'display'], disabled: this.disabled, variant: "flat", class: "mg-c-input__append-button", "is-icon": true, onClick: this.toggleDisplayPassword, "aria-controls": this.identifier }, h("mg-icon", { class: "mg-c-input__input-icon", icon: this.displayPassword ? 'eye-slash' : 'eye' }))))));
254
+ } }), h("mg-button", { label: this.messages.input.password[this.displayPassword ? 'hide' : 'display'], disabled: this.disabled, variant: "flat", class: "mg-c-input__append-button", "is-icon": true, onClick: this.toggleDisplayPassword, "aria-controls": this.identifier }, h("mg-icon", { class: "mg-c-input__input-icon", icon: (this.displayPassword ? 'eye-slash' : 'eye') }))))));
255
255
  }
256
256
  static get is() { return "mg-input-password"; }
257
257
  static get encapsulation() { return "shadow"; }
@@ -284,7 +284,7 @@ export class MgInputRadio {
284
284
  * @returns HTML Element
285
285
  */
286
286
  render() {
287
- return (h("mg-input", { key: '8d26edd50d44fbba4fee5fa6ef36aa3c455b1e5b', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && !this.value ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (this.readonlyValue && h("b", { class: "mg-c-input__readonly-value" }, this.readonlyValue)) : (h("ul", { class: "mg-c-input__input-group-container", role: "list" }, this.options.map((input, index) => (h("li", { key: input.title, class: { 'mg-c-input__input-group': true, 'mg-c-input__input-group--disabled': this.disabled || input.disabled } }, h("input", { type: "radio", id: this.identifier + '_' + index, name: this.identifier, value: index, checked: JSON.stringify(this.value) === JSON.stringify(this.options[index].value), disabled: this.disabled || input.disabled, required: this.required, onBlur: this.handleBlur, onInput: this.handleInput, ref: (el) => {
287
+ return (h("mg-input", { key: 'bdeb5a98bc7f4567beb293c1fcf4f99169089fa6', label: this.label, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: this.required, tooltip: this.tooltip, tooltipPosition: this.readonly && !this.value ? 'label' : this.tooltipPosition, helpText: this.helpText, errorMessage: this.errorMessage }, this.readonly ? (this.readonlyValue && h("b", { class: "mg-c-input__readonly-value" }, this.readonlyValue)) : (h("div", { class: "mg-c-input__input-group-container" }, this.options.map((input, index) => (h("div", { key: input.title, class: { 'mg-c-input__input-group': true, 'mg-c-input__input-group--disabled': this.disabled || input.disabled } }, h("input", { type: "radio", id: this.identifier + '_' + index, name: this.identifier, value: index, checked: JSON.stringify(this.value) === JSON.stringify(this.options[index].value), disabled: this.disabled || input.disabled, required: this.required, onBlur: this.handleBlur, onInput: this.handleInput, ref: (el) => {
288
288
  if (el !== null)
289
289
  this.inputs[index] = el;
290
290
  } }), h("label", { htmlFor: this.identifier + '_' + index }, input.title))))))));
@@ -0,0 +1,212 @@
1
+ :host {
2
+ /**
3
+ * Colors - Base
4
+ */
5
+ --jd-color-white: rgb(255 255 255);
6
+ --jd-color-dark: rgb(76 76 76);
7
+ --jd-color-default: var(--jd-color-dark);
8
+ --jd-color-gray: rgb(218 218 218);
9
+ --jd-color-gray-dark: rgb(165 165 165);
10
+ --jd-color-red: rgb(255 59 59);
11
+ --jd-color-blue: rgb(181 214 253);
12
+ --jd-color-light-blue: rgb(181 214 253 / 50%);
13
+ --jd-color-light-red: rgb(255 59 59 / 40%);
14
+ --jd-color-error: var(--jd-color-red);
15
+
16
+ /**
17
+ * Colors - Background
18
+ */
19
+ --jd-color-background-default: var(--jd-color-white);
20
+ --jd-color-background-light-gray: rgb(245 245 246);
21
+ --jd-color-background-gray: var(--jd-color-gray);
22
+ --jd-color-background-gray-hover: rgb(248 248 248);
23
+ --jd-color-background-active: rgb(33 150 243);
24
+ --jd-color-background-button-hover: rgb(236 235 233);
25
+ --jd-color-background-button-hover-opacity30: rgb(234 234 234 / 30%);
26
+ --jd-color-background-button-hover-opacity40: rgb(219 219 219 / 40%);
27
+ --jd-color-background-button-hover-opacity60: rgb(219 219 219 / 60%);
28
+ --jd-color-background-filebrowser-folders: rgb(248 249 250);
29
+ --jd-color-background-progress: rgb(185 31 31);
30
+ --jd-color-background-selection: rgb(181 214 253);
31
+ --jd-color-background-selection-opacity50: rgb(181 214 253 / 99.5%);
32
+ --jd-color-panel: rgb(249 249 249);
33
+ --jd-color-source-area: rgb(50 50 50);
34
+ --jd-info-background: rgb(233 233 233);
35
+
36
+ /**
37
+ * Colors - Border
38
+ */
39
+ --jd-color-border: var(--jd-color-gray);
40
+ --jd-color-border-dark: var(--jd-color-dark);
41
+ --jd-color-border-active: rgb(181 181 181);
42
+ --jd-color-border-selected: rgb(30 136 229);
43
+ --jd-color-separator: var(--jd-color-border);
44
+ --jd-color-resizer: rgb(200 200 200);
45
+
46
+ /**
47
+ * Colors - Text
48
+ */
49
+ --jd-color-text: rgb(34 34 34);
50
+ --jd-color-text-icons: rgb(0 0 0 / 75%);
51
+ --jd-color-text-selection: var(--jd-color-white);
52
+ --jd-color-icon: var(--jd-color-dark);
53
+ --jd-color-label: var(--jd-color-gray-dark);
54
+ --jd-color-placeholder: var(--jd-color-gray-dark);
55
+ --jd-color-folder-title: rgb(177 177 177);
56
+ --jd-color-selection: var(--jd-color-dark);
57
+
58
+ /**
59
+ * Colors - Button
60
+ */
61
+ --jd-color-button-background-hover: rgb(220 220 220);
62
+ --jd-color-button-background-hover-opacity40: rgb(219 219 219 / 40%);
63
+ --jd-color-button-background-hover-opacity60: rgb(219 219 219 / 60%);
64
+
65
+ /**
66
+ * Colors - Selection
67
+ */
68
+ --jd-color-selection-area: rgb(189 189 189);
69
+ --jd-color-table-cell-background-hover: rgb(0 0 0 / 5%);
70
+
71
+ /**
72
+ * Colors - Dark mode
73
+ */
74
+ --jd-dark-background-color: rgb(87 87 87);
75
+ --jd-dark-background-darknes: rgb(53 53 53);
76
+ --jd-dark-background-ligher: rgb(192 192 192);
77
+ --jd-dark-border-color: rgb(68 68 68);
78
+ --jd-dark-color-border-selected: rgb(21 47 95);
79
+ --jd-dark-icon-color: rgb(192 192 192);
80
+ --jd-dark-text-color: rgb(209 204 204);
81
+ --jd-dark-text-color-opacity50: rgb(206 206 206 / 50%);
82
+ --jd-dark-text-color-opacity80: rgb(206 206 206 / 80%);
83
+ --jd-dark-toolbar-color: rgb(95 92 92);
84
+ --jd-dark-toolbar-seperator-color1: rgb(81 81 81 / 41%);
85
+ --jd-dark-toolbar-seperator-color2: rgb(104 103 103);
86
+ --jd-dark-toolbar-seperator-color3: rgb(105 105 105 / 75%);
87
+ --jd-dark-toolbar-seperator-color-opacity80: rgb(105 105 105 / 80%);
88
+
89
+ /**
90
+ * Colors - Special
91
+ */
92
+ --jd-color-picker-cell-size: 2.4rem;
93
+ --jd-image-editor-resizer-border-color: rgb(5 255 0);
94
+ --jd-image-editor-resizer-target-bg-color: rgb(140 120 120);
95
+ --jd-image-editor-resizer-target-border-color: rgb(56 56 56);
96
+ --jd-resizer-border-color: rgb(152 193 241);
97
+ --jd-resizer-handle-color: rgb(91 164 243);
98
+ --jd-resizer-handle-hover-color: rgb(83 126 187);
99
+
100
+ /**
101
+ * Colors - Em (Alert/Message)
102
+ */
103
+ --jd-em-color-bg: rgb(207 226 255);
104
+ --jd-em-color-border: rgb(182 212 254);
105
+ --jd-em-color-color: rgb(8 66 152);
106
+
107
+ /**
108
+ * Sizes - Buttons
109
+ */
110
+ --jd-button-icon-size: 1.4rem;
111
+ --jd-button-trigger-size: 1.4rem;
112
+ --jd-button-df-size: calc((var(--jd-button-icon-size) - 0.4rem) * 2);
113
+ --jd-button-size: calc(var(--jd-button-icon-size) + var(--jd-button-df-size) + var(--jd-margin-v) * 2);
114
+
115
+ /**
116
+ * Sizes - Icons
117
+ */
118
+ --jd-icon-size: 1.2rem;
119
+ --jd-icon-loader-size: 4.8rem;
120
+
121
+ /**
122
+ * Sizes - Height
123
+ */
124
+ --jd-height: 1.8rem;
125
+ --jd-height-element-default: 1.8rem;
126
+ --jd-height-search: 3rem;
127
+ --jd-input-height: 3.2rem;
128
+ --jd-switche-height: 3.2rem;
129
+ --jd-viewer-height: 2.4rem;
130
+
131
+ /**
132
+ * Sizes - Width
133
+ */
134
+ --jd-width-default: 18rem;
135
+ --jd-width-element-default: 1.8rem;
136
+ --jd-width-input-min: var(--jd-width-default);
137
+ --jd-width-search: 32rem;
138
+ --jd-width-search-count-box: 15%;
139
+ --jd-width-search-input-box: 60%;
140
+ --jd-viewer-width: 7rem;
141
+ --jd-switche-width: 6rem;
142
+ --jd-col-size: 15rem;
143
+ --jd-first-column: 31%;
144
+ --jd-image-editor-resizer-target-size: padding-default;
145
+
146
+ /**
147
+ * Sizes - Spacing
148
+ */
149
+ --jd-padding-default: 0.8rem;
150
+ --jd-margin-v: 0.2rem;
151
+ --jd-switche-slider-margin: 0.4rem;
152
+ --jd-em-padding: calc(1rem / 2) 1rem;
153
+
154
+ /**
155
+ * Sizes - Other
156
+ */
157
+ --jd-resizer-handle-size: 1rem;
158
+ --jd-switche-slider-size: calc(var(--jd-switche-height) - var(--jd-switche-slider-margin) * 2);
159
+ --jd-cols: 4;
160
+
161
+ /**
162
+ * Border and radius
163
+ */
164
+ --jd-border-radius-default: 0.3rem;
165
+ --jd-em-border-radius: 0.375rem;
166
+
167
+ /**
168
+ * Font
169
+ */
170
+ --jd-font-default: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, oxygen-sans, ubuntu, cantarell, 'Helvetica Neue', sans-serif;
171
+ --jd-font-size-default: 1.4rem;
172
+ --jd-font-size-small: 1.1rem;
173
+ --jd-em-font-size: 1rem;
174
+
175
+ /**
176
+ * Shadow
177
+ */
178
+ --jd-box-shadow-1: 0 0.8rem 1.6rem rgb(0 0 0 / 19%);
179
+ --jd-box-shadow-blur: 1.6rem;
180
+ --jd-box-shadow-tabs: 0 0.2rem 0.4rem rgb(0 0 0 / 10%);
181
+ --jd-popup-box-shadow: 0 0.4rem 0.1rem -0.2rem rgb(76 76 76 / 20%), 0 0.3rem 0.3rem 0 rgb(76 76 76 / 15%), 0 0.1rem 0.4rem 0 rgb(76 76 76 / 13%);
182
+ --jd-popup-max-height: max(50vh, 35rem);
183
+ --jd-focus-input-box-shadow: 0 0 0 0.05rem rgb(0 123 255 / 25%);
184
+
185
+ /**
186
+ * Z-index
187
+ */
188
+ --jd-z-index-dialog: 20000004;
189
+ --jd-z-index-dialog-overlay: 20000003;
190
+ --jd-z-index-popup: 10000001;
191
+ --jd-z-index-full-size: 100000;
192
+ --jd-z-index-context-menu: 30000005;
193
+ --jd-z-index-tooltip: 30000006;
194
+
195
+ /**
196
+ * Animation and transition
197
+ */
198
+ --jd-anl-color-new-line: var(--jd-color-border);
199
+ --jd-anl-handle-offset: calc(100% - var(--jd-anl-handle-size));
200
+ --jd-anl-handle-size: 2rem;
201
+ --jd-timeout-button-active: 0.1s;
202
+ --jd-transform-button-active: 0.95;
203
+
204
+ /**
205
+ * Tooltip
206
+ */
207
+ --jd-tooltip-color: rgb(255 255 255);
208
+ --jd-tooltip-background-color: rgb(0 0 0 / 70%);
209
+ --jd-tooltip-sfx-shadow: rgb(0 0 0 / 15%);
210
+ --jd-tooltip-border-width: 0;
211
+ --jd-tooltip-border-color: rgb(229 229 229);
212
+ }