@mgdis/mg-components 6.18.0 → 6.20.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 (82) hide show
  1. package/dist/cjs/{index-DCZEYvlH.js → index-Bp6wZzau.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/mg-action-more_37.cjs.entry.js +90 -120
  4. package/dist/cjs/mg-alert.cjs.entry.js +1 -1
  5. package/dist/cjs/mg-components.cjs.js +2 -2
  6. package/dist/cjs/mg-fieldset.cjs.entry.js +2 -2
  7. package/dist/cjs/mg-input-combobox.cjs.entry.js +39 -38
  8. package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +4 -8
  9. package/dist/cjs/{mg-input.conf-HYIzRsy7.js → mg-input.conf-D7jmj_lh.js} +2 -0
  10. package/dist/cjs/mg-loader.cjs.entry.js +1 -1
  11. package/dist/cjs/mg-progress.cjs.entry.js +1 -1
  12. package/dist/collection/assets/icons/index.js +1 -1
  13. package/dist/collection/components/atoms/mg-icon/mg-icon.js +1 -1
  14. package/dist/collection/components/molecules/inputs/mg-input/mg-input.conf.js +1 -0
  15. package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js +36 -35
  16. package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js +2 -6
  17. package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js +17 -16
  18. package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js +5 -21
  19. package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +72 -84
  20. package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js +1 -1
  21. package/dist/collection/components/molecules/mg-action-more/mg-action-more.js +1 -1
  22. package/dist/components/mg-card2.js +1 -1
  23. package/dist/components/mg-icon2.js +1 -1
  24. package/dist/components/mg-illustrated-message.js +1 -1
  25. package/dist/components/mg-input-checkbox.js +1 -1
  26. package/dist/components/mg-input-combobox.js +38 -37
  27. package/dist/components/mg-input-date.js +1 -1
  28. package/dist/components/mg-input-numeric.js +1 -1
  29. package/dist/components/mg-input-password.js +1 -1
  30. package/dist/components/mg-input-rich-text-editor.js +2 -6
  31. package/dist/components/mg-input-select2.js +1 -1
  32. package/dist/components/mg-input-text2.js +16 -16
  33. package/dist/components/mg-input-textarea.js +6 -22
  34. package/dist/components/mg-input-toggle.js +60 -75
  35. package/dist/components/mg-input2.js +3 -2
  36. package/dist/components/mg-message2.js +1 -1
  37. package/dist/components/mg-modal.js +1 -1
  38. package/dist/components/mg-panel.js +1 -1
  39. package/dist/components/mg-popover-content2.js +1 -1
  40. package/dist/components/mg-popover2.js +1 -1
  41. package/dist/esm/{index-T6kOJXP1.js → index-BluNKQ3L.js} +1 -1
  42. package/dist/esm/loader.js +3 -3
  43. package/dist/esm/mg-action-more_37.entry.js +90 -120
  44. package/dist/esm/mg-alert.entry.js +1 -1
  45. package/dist/esm/mg-components.js +3 -3
  46. package/dist/esm/mg-fieldset.entry.js +2 -2
  47. package/dist/esm/mg-input-combobox.entry.js +40 -39
  48. package/dist/esm/mg-input-rich-text-editor.entry.js +4 -8
  49. package/dist/esm/{mg-input.conf-D9V2v4n2.js → mg-input.conf-DDnrE1hD.js} +2 -1
  50. package/dist/esm/mg-loader.entry.js +1 -1
  51. package/dist/esm/mg-progress.entry.js +1 -1
  52. package/dist/mg-components/mg-components.css +1 -1
  53. package/dist/mg-components/mg-components.esm.js +1 -1
  54. package/dist/mg-components/{p-f2cddd52.entry.js → p-016bd291.entry.js} +1 -1
  55. package/dist/mg-components/{p-f6afaeb8.entry.js → p-186a6139.entry.js} +1 -1
  56. package/dist/mg-components/p-7132bca1.entry.js +1 -0
  57. package/dist/mg-components/{p-952288bd.entry.js → p-916dfb6d.entry.js} +1 -1
  58. package/dist/mg-components/p-BluNKQ3L.js +2 -0
  59. package/dist/mg-components/p-DDnrE1hD.js +1 -0
  60. package/dist/mg-components/p-cd061b38.entry.js +1 -0
  61. package/dist/mg-components/{p-5abc77cd.entry.js → p-d2c72f09.entry.js} +1 -1
  62. package/dist/mg-components/{p-92e5e5a6.entry.js → p-d5a276eb.entry.js} +1 -1
  63. package/dist/types/assets/icons/index.d.ts +9 -0
  64. package/dist/types/components/molecules/inputs/mg-input/mg-input.conf.d.ts +1 -0
  65. package/dist/types/components/molecules/inputs/mg-input-combobox/mg-input-combobox.conf.d.ts +1 -0
  66. package/dist/types/components/molecules/inputs/mg-input-combobox/mg-input-combobox.d.ts +4 -5
  67. package/dist/types/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.d.ts +0 -1
  68. package/dist/types/components/molecules/inputs/mg-input-text/mg-input-text.d.ts +1 -5
  69. package/dist/types/components/molecules/inputs/mg-input-textarea/mg-input-textarea.d.ts +0 -6
  70. package/dist/types/components/molecules/inputs/mg-input-toggle/mg-input-toggle.d.ts +13 -16
  71. package/dist/types/components.d.ts +6 -8
  72. package/ide/intellij/web-types.json +35 -28
  73. package/ide/vscode/css-custom-data.json +19 -3
  74. package/ide/vscode/custom.css-data.json +425 -0
  75. package/ide/vscode/html-custom-data.json +60 -6
  76. package/package.json +21 -21
  77. package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.conf.js +0 -1
  78. package/dist/mg-components/p-2bab89c2.entry.js +0 -1
  79. package/dist/mg-components/p-7d2e43b2.entry.js +0 -1
  80. package/dist/mg-components/p-D9V2v4n2.js +0 -1
  81. package/dist/mg-components/p-T6kOJXP1.js +0 -2
  82. package/dist/types/components/molecules/inputs/mg-input-toggle/mg-input-toggle.conf.d.ts +0 -8
@@ -6,7 +6,7 @@ import { classDisabled, classReadonly } from "../mg-input/mg-input.conf";
6
6
  * @param option - radio option
7
7
  * @returns toggle option type is valid
8
8
  */
9
- const isOption = (option) => typeof option === 'object' && typeof option.title === 'string' && option.value !== undefined;
9
+ const isOption = (option) => typeof option === 'object' && typeof option.title === 'string';
10
10
  /**
11
11
  * @slot item-1 - Left option toggle content
12
12
  * @slot item-2 - Right option toggle content
@@ -56,10 +56,6 @@ export class MgInputToggle {
56
56
  * Component classes
57
57
  */
58
58
  this.classCollection = new ClassList(['mg-c-input--toggle']);
59
- /**
60
- * Checked internal value
61
- */
62
- this.checked = false;
63
59
  /**
64
60
  * Set input error message
65
61
  * @param errorMessage - errorMessage override
@@ -73,10 +69,11 @@ export class MgInputToggle {
73
69
  }
74
70
  };
75
71
  /**
76
- * Change checked value
72
+ * Handle switch button to update value
77
73
  */
78
- this.toggleChecked = () => {
79
- this.checked = !this.checked;
74
+ this.handleSwitchButton = () => {
75
+ const currentOptionIndex = this.getCurrentOptionIndex(this.value);
76
+ this.value = this.options[currentOptionIndex === 0 ? 1 : 0].value;
80
77
  };
81
78
  /**
82
79
  * Slots validation
@@ -114,24 +111,51 @@ export class MgInputToggle {
114
111
  * @param checked - checked item
115
112
  * @returns toggle value
116
113
  */
117
- this.getCheckedItem = (checked) => {
118
- var _a;
119
- if (((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) === 2) {
120
- return this.options[checked ? 1 : 0];
121
- }
122
- else {
123
- return null;
124
- }
114
+ this.getCurrentOptionIndex = (value) => {
115
+ return this.options.findIndex(option => toString(option.value) === toString(value)) === 1 ? 1 : 0;
116
+ };
117
+ /**
118
+ * Check if value is checked
119
+ * @param value - toggle value
120
+ * @returns truthy if value is checked
121
+ */
122
+ this.isChecked = (value) => {
123
+ return this.getCurrentOptionIndex(value) === 1;
125
124
  };
126
125
  }
127
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
128
- handleValue(newValue) {
129
- // Swich to the right option
130
- this.setChecked();
131
- // Emit value-change event
132
- this.valueChange.emit(newValue);
126
+ watchValue(newValue, oldValue) {
127
+ // A "true" attribute can be represented by an empty string
128
+ // We need to convert it to a boolean true value
129
+ if (newValue === '') {
130
+ this.value = true;
131
+ // Return early to prevent infinite loop
132
+ return;
133
+ }
134
+ // https://stenciljs.com/docs/properties
135
+ // According to the Stencil documentation, when a prop is declared as `any`, boolean values can be bound as boolean attributes.
136
+ // However, depending on the integration context (e.g., Vue.js), they may also be interpreted as string attributes.
137
+ // To avoid incorrect type interpretation when a boolean is received as a string,
138
+ // we normalize the value and convert it to a proper boolean before internal use.
139
+ else if (['true', 'false'].includes(newValue) && this.options.every(option => typeof option.value === 'boolean')) {
140
+ this.value = newValue === 'true';
141
+ // Return early to prevent infinite loop
142
+ return;
143
+ }
144
+ if (this.isChecked(newValue)) {
145
+ this.classCollection.add(this.classIsActive);
146
+ }
147
+ else {
148
+ this.classCollection.delete(this.classIsActive);
149
+ }
150
+ // when value is reassigned programmatically from previous `watchValue` call
151
+ // `oldValue` can be a string while `newValue` is boolean or vice versa
152
+ // so we need to compare them as strings to prevent infinite loop and unnecessary event emission
153
+ if (toString(newValue) !== toString(oldValue)) {
154
+ // Emit value-change event
155
+ this.valueChange.emit(newValue);
156
+ }
133
157
  }
134
- validateItems(newValue) {
158
+ watchItems(newValue) {
135
159
  if (typeof newValue === 'object' && this.items.length !== 2) {
136
160
  throw new Error(`<mg-input-toggle> prop "items" require 2 items. Passed value: ${toString(newValue)}.`);
137
161
  }
@@ -144,7 +168,7 @@ export class MgInputToggle {
144
168
  this.options = newValue;
145
169
  }
146
170
  else {
147
- throw new Error(`<mg-input-toggle> prop "items" is required and all items must be the same type: ToggleValue. Passed value: ${toString(newValue)}.`);
171
+ throw new Error(`<mg-input-toggle> prop "items" is required and all items must be the same type: ToggleOption. Passed value: ${toString(newValue)}.`);
148
172
  }
149
173
  }
150
174
  watchIsOnOff(newValue) {
@@ -177,15 +201,6 @@ export class MgInputToggle {
177
201
  else
178
202
  this.classCollection.delete(classDisabled);
179
203
  }
180
- handleChecked(newValue) {
181
- // style
182
- if (newValue)
183
- this.classCollection.add(this.classIsActive);
184
- else
185
- this.classCollection.delete(this.classIsActive);
186
- // update value
187
- this.value = this.getCheckedItem(newValue).value;
188
- }
189
204
  /**
190
205
  * Set focus on input.
191
206
  */
@@ -220,7 +235,6 @@ export class MgInputToggle {
220
235
  async reset() {
221
236
  if (!this.readonly) {
222
237
  this.value = this.options[0].value;
223
- this.setChecked();
224
238
  // Use `Promise` as requested for stencil method
225
239
  // Use `requestAnimationFrame` to ensure:
226
240
  // - DOM is fully updated before validation
@@ -235,28 +249,6 @@ export class MgInputToggle {
235
249
  });
236
250
  }
237
251
  }
238
- /**
239
- * set checked state
240
- */
241
- setChecked() {
242
- const optionTrueValueIndex = this.options.map(option => option.value).findIndex(value => value === true);
243
- if ([0, 1].includes(optionTrueValueIndex)) {
244
- // has "value" props type is not a boolean, it is bind/render as an attributes/props
245
- // true props will be represent by "true" string so we convert it has boolean
246
- // true attribute will be represent by "" string so we convert it has boolean
247
- // https://stenciljs.com/docs/properties
248
- if (['', 'true'].includes(this.value) && this.options.find(option => option.value) !== undefined) {
249
- this.value = true;
250
- }
251
- // when options are boolean values and ordered as [true,false] instead [false,true]
252
- // we need to reversed the checked value logic
253
- const selectedValue = this.value === this.options[optionTrueValueIndex].value;
254
- this.checked = optionTrueValueIndex === 0 ? !selectedValue : selectedValue;
255
- }
256
- else {
257
- this.checked = this.value === this.options[1].value;
258
- }
259
- }
260
252
  /*************
261
253
  * Lifecycle *
262
254
  *************/
@@ -264,13 +256,9 @@ export class MgInputToggle {
264
256
  * Check if component props are well configured on init
265
257
  */
266
258
  componentWillLoad() {
267
- // Check items format
268
- this.validateItems(this.items);
269
- // Check slots
259
+ this.watchItems(this.items);
270
260
  this.validateSlots();
271
- // init checked value
272
- this.setChecked();
273
- // apply handler
261
+ this.watchValue(this.value);
274
262
  this.watchIsIcon(this.isIcon);
275
263
  this.watchIsOnOff(this.isOnOff);
276
264
  this.watchReadonly(this.readonly);
@@ -281,8 +269,8 @@ export class MgInputToggle {
281
269
  * @returns HTML Element
282
270
  */
283
271
  render() {
284
- const checkedItem = this.getCheckedItem(this.checked);
285
- return (h("mg-input", { key: '4d87ed13bbd3d3a54303c21001247e1251417326', label: this.label, helpText: this.helpText, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: undefined, tooltip: this.tooltip, tooltipPosition: this.tooltipPosition, errorMessage: this.errorMessage }, this.readonly ? (checkedItem && h("b", { class: "mg-c-input__readonly-value" }, checkedItem.title)) : (h("button", { type: "button", role: "switch", "aria-checked": this.checked.toString(), "aria-readonly": this.disabled || this.readonly, id: this.identifier, class: "mg-c-input__button-toggle", disabled: this.disabled || this.readonly, onClick: this.toggleChecked, ref: el => {
272
+ const currentOption = this.options[this.getCurrentOptionIndex(this.value)];
273
+ return (h("mg-input", { key: '7e4a6a75069f6f3c0c49a5989f0b4e7a56954efc', label: this.label, helpText: this.helpText, identifier: this.identifier, class: this.classCollection.join(), labelOnTop: this.labelOnTop, labelHide: this.labelHide, required: undefined, tooltip: this.tooltip, tooltipPosition: this.tooltipPosition, errorMessage: this.errorMessage }, this.readonly ? (currentOption && h("b", { class: "mg-c-input__readonly-value" }, currentOption.title)) : (h("button", { type: "button", role: "switch", "aria-checked": this.isChecked(this.value).toString(), "aria-readonly": this.disabled || this.readonly, id: this.identifier, class: "mg-c-input__button-toggle", disabled: this.disabled || this.readonly, onClick: this.handleSwitchButton, ref: el => {
286
274
  if (el !== null)
287
275
  this.button = el;
288
276
  } }, h("span", { "aria-hidden": "true", class: "mg-c-input__toggle-item-container" }, h("slot", { name: "item-1" })), h("span", { "aria-hidden": "true", class: "mg-c-input__toggle-item-container" }, h("slot", { name: "item-2" }))))));
@@ -302,12 +290,18 @@ export class MgInputToggle {
302
290
  static get properties() {
303
291
  return {
304
292
  "value": {
305
- "type": "any",
293
+ "type": "unknown",
306
294
  "mutable": true,
307
295
  "complexType": {
308
- "original": "any",
309
- "resolved": "any",
310
- "references": {}
296
+ "original": "ToggleOption['value']",
297
+ "resolved": "unknown",
298
+ "references": {
299
+ "ToggleOption": {
300
+ "location": "import",
301
+ "path": "../../../../types",
302
+ "id": "src/types/index.ts::Option"
303
+ }
304
+ }
311
305
  },
312
306
  "required": false,
313
307
  "optional": false,
@@ -316,21 +310,19 @@ export class MgInputToggle {
316
310
  "text": "Component value"
317
311
  },
318
312
  "getter": false,
319
- "setter": false,
320
- "reflect": false,
321
- "attribute": "value"
313
+ "setter": false
322
314
  },
323
315
  "items": {
324
316
  "type": "unknown",
325
317
  "mutable": false,
326
318
  "complexType": {
327
- "original": "string[] | ToggleValue[]",
328
- "resolved": "ToggleValue[] | string[]",
319
+ "original": "string[] | ToggleOption[]",
320
+ "resolved": "Option[] | string[]",
329
321
  "references": {
330
- "ToggleValue": {
322
+ "ToggleOption": {
331
323
  "location": "import",
332
- "path": "./mg-input-toggle.conf",
333
- "id": "src/components/molecules/inputs/mg-input-toggle/mg-input-toggle.conf.ts::ToggleValue"
324
+ "path": "../../../../types",
325
+ "id": "src/types/index.ts::Option"
334
326
  }
335
327
  }
336
328
  },
@@ -592,8 +584,7 @@ export class MgInputToggle {
592
584
  "classCollection": {},
593
585
  "options": {},
594
586
  "errorMessage": {},
595
- "valid": {},
596
- "checked": {}
587
+ "valid": {}
597
588
  };
598
589
  }
599
590
  static get events() {
@@ -609,7 +600,7 @@ export class MgInputToggle {
609
600
  },
610
601
  "complexType": {
611
602
  "original": "HTMLMgInputToggleElement['value']",
612
- "resolved": "any",
603
+ "resolved": "unknown",
613
604
  "references": {
614
605
  "HTMLMgInputToggleElement": {
615
606
  "location": "global",
@@ -707,10 +698,10 @@ export class MgInputToggle {
707
698
  static get watchers() {
708
699
  return [{
709
700
  "propName": "value",
710
- "methodName": "handleValue"
701
+ "methodName": "watchValue"
711
702
  }, {
712
703
  "propName": "items",
713
- "methodName": "validateItems"
704
+ "methodName": "watchItems"
714
705
  }, {
715
706
  "propName": "isOnOff",
716
707
  "methodName": "watchIsOnOff"
@@ -723,9 +714,6 @@ export class MgInputToggle {
723
714
  }, {
724
715
  "propName": "disabled",
725
716
  "methodName": "watchDisabled"
726
- }, {
727
- "propName": "checked",
728
- "methodName": "handleChecked"
729
717
  }];
730
718
  }
731
719
  }
@@ -104,7 +104,7 @@ export class MgItemMore {
104
104
  "mutable": false,
105
105
  "complexType": {
106
106
  "original": "IconType",
107
- "resolved": "{ icon: \"filter\" | \"link\" | \"picture\" | \"table\" | \"circle\" | \"download\" | \"key\" | \"list\" | \"copy\" | \"history\" | \"location\" | \"loader\" | \"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-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\" | \"clock\" | \"clock-outline\" | \"code-square-outline\" | \"cog\" | \"cog-outline\" | \"comment\" | \"comment-exclamation\" | \"comment-exclamation-outline\" | \"comment-outline\" | \"comment-question\" | \"comment-question-outline\" | \"comment-sms\" | \"conversation\" | \"conversation-outline\" | \"copy-file\" | \"copy-file-outline\" | \"copy-outline\" | \"credit-card\" | \"cross\" | \"cross-circle\" | \"cross-circle-outline\" | \"dashboard\" | \"dashboard-outline\" | \"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-download\" | \"file-excel\" | \"file-excel-outline\" | \"file-outline\" | \"file-pdf\" | \"file-pdf-outline\" | \"file-text\" | \"file-text-outline\" | \"file-upload\" | \"file-word\" | \"file-word-outline\" | \"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\" | \"folders\" | \"folders-outline\" | \"gavel\" | \"gavel-outline\" | \"graduation-cap\" | \"graduation-cap-outline\" | \"hand-euro\" | \"hand-euro-outline\" | \"hand-up\" | \"home\" | \"home-outline\" | \"info-circle\" | \"info-circle-outline\" | \"interrogation-circle\" | \"interrogation-circle-outline\" | \"laptop\" | \"layers\" | \"life-ring\" | \"lines-rectangle\" | \"lines-rectangle-outline\" | \"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-outline\" | \"play-circle\" | \"plus\" | \"plus-circle\" | \"share\" | \"share-outline\" | \"shuffle\" | \"sitemap\" | \"sliders\" | \"sliders-outline\" | \"squares\" | \"star\" | \"star-outline\" | \"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\"; }",
107
+ "resolved": "{ icon: \"filter\" | \"link\" | \"picture\" | \"table\" | \"circle\" | \"download\" | \"key\" | \"list\" | \"copy\" | \"history\" | \"location\" | \"loader\" | \"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\" | \"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-file\" | \"copy-file-outline\" | \"copy-outline\" | \"credit-card\" | \"cross\" | \"cross-circle\" | \"cross-circle-outline\" | \"dashboard\" | \"dashboard-outline\" | \"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-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\" | \"home\" | \"home-outline\" | \"info-circle\" | \"info-circle-outline\" | \"interrogation-circle\" | \"interrogation-circle-outline\" | \"laptop\" | \"layers\" | \"life-ring\" | \"lines-rectangle\" | \"lines-rectangle-outline\" | \"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-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\" | \"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\"; }",
108
108
  "references": {
109
109
  "IconType": {
110
110
  "location": "import",
@@ -195,7 +195,7 @@ export class MgActionMore {
195
195
  "mutable": true,
196
196
  "complexType": {
197
197
  "original": "MgActionMoreIconType",
198
- "resolved": "{ icon: \"filter\" | \"link\" | \"picture\" | \"table\" | \"circle\" | \"download\" | \"key\" | \"list\" | \"copy\" | \"history\" | \"location\" | \"loader\" | \"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-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\" | \"clock\" | \"clock-outline\" | \"code-square-outline\" | \"cog\" | \"cog-outline\" | \"comment\" | \"comment-exclamation\" | \"comment-exclamation-outline\" | \"comment-outline\" | \"comment-question\" | \"comment-question-outline\" | \"comment-sms\" | \"conversation\" | \"conversation-outline\" | \"copy-file\" | \"copy-file-outline\" | \"copy-outline\" | \"credit-card\" | \"cross\" | \"cross-circle\" | \"cross-circle-outline\" | \"dashboard\" | \"dashboard-outline\" | \"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-download\" | \"file-excel\" | \"file-excel-outline\" | \"file-outline\" | \"file-pdf\" | \"file-pdf-outline\" | \"file-text\" | \"file-text-outline\" | \"file-upload\" | \"file-word\" | \"file-word-outline\" | \"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\" | \"folders\" | \"folders-outline\" | \"gavel\" | \"gavel-outline\" | \"graduation-cap\" | \"graduation-cap-outline\" | \"hand-euro\" | \"hand-euro-outline\" | \"hand-up\" | \"home\" | \"home-outline\" | \"info-circle\" | \"info-circle-outline\" | \"interrogation-circle\" | \"interrogation-circle-outline\" | \"laptop\" | \"layers\" | \"life-ring\" | \"lines-rectangle\" | \"lines-rectangle-outline\" | \"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-outline\" | \"play-circle\" | \"plus\" | \"plus-circle\" | \"share\" | \"share-outline\" | \"shuffle\" | \"sitemap\" | \"sliders\" | \"sliders-outline\" | \"squares\" | \"star\" | \"star-outline\" | \"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\"; }",
198
+ "resolved": "{ icon: \"filter\" | \"link\" | \"picture\" | \"table\" | \"circle\" | \"download\" | \"key\" | \"list\" | \"copy\" | \"history\" | \"location\" | \"loader\" | \"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\" | \"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-file\" | \"copy-file-outline\" | \"copy-outline\" | \"credit-card\" | \"cross\" | \"cross-circle\" | \"cross-circle-outline\" | \"dashboard\" | \"dashboard-outline\" | \"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-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\" | \"home\" | \"home-outline\" | \"info-circle\" | \"info-circle-outline\" | \"interrogation-circle\" | \"interrogation-circle-outline\" | \"laptop\" | \"layers\" | \"life-ring\" | \"lines-rectangle\" | \"lines-rectangle-outline\" | \"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-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\" | \"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\"; }",
199
199
  "references": {
200
200
  "MgActionMoreIconType": {
201
201
  "location": "import",
@@ -6,7 +6,7 @@ import { C as ClassList } from './index2.js';
6
6
  */
7
7
  const radiusSizes = ['xsmall', 'small', 'medium'];
8
8
 
9
- const mgCardCss = "/*!\n * @prop --mg-c-card-overflow: Defines the overflow property for the card. Unset by default, fallback on `--mg-c-card-overflow-default`.\n * @prop --mg-c-card-overflow-default: Defines the default overflow property for the card. Unset by default.\n * @prop --mg-c-card-min-width: Defines the min-width property for the card. Unset by default.\n * @prop --mg-c-card-max-width: Defines the max-width property for the card. Unset by default.\n * @prop --mg-c-card-spacing: Defines the padding property for the card. Unset by default, fallback on `--mg-c-card-spacing-default`.\n * @prop --mg-c-card-spacing-default: Defines the default padding property for the card. Default value: `--mg-b-size-16`.\n * @prop --mg-c-card-border: Defines the border property for the card. Unset by default, fallback on `--mg-c-card-border-default`.\n * @prop --mg-c-card-border-default: Defines the default border property for the card. Default value: `var(--mg-b-size-border) solid var(--mg-b-color-neutral-30)`.\n * @prop --mg-c-card-border-radius: Defines the border radius property for the card. Unset by default, fallback on `--mg-c-card-border-radius-default`.\n * @prop --mg-c-card-border-radius-default: Defines the default border radius property for the card. Default value: `--mg-b-size-12`.\n * @prop --mg-c-card-color-background: Defines the background property for the card. Unset by default, fallback on `--mg-c-card-color-background-default`.\n * @prop --mg-c-card-color-background-default: Defines the default background property for the card. Default value: `--mg-b-color-light`.\n * @prop --mg-c-card-box-shadow: Defines the box shadow property for the card. Unset by default, fallback on `--mg-c-card-box-shadow-default`.\n * @prop --mg-c-card-box-shadow-default: Defines the default box shadow property for the card. Default value: `--mg-b-box-shadow`.\n */.mg-c-card{position:relative;z-index:inherit;overflow:var(--mg-c-card-overflow, var(--mg-c-card-overflow-default));width:100%;min-width:var(--mg-c-card-min-width);max-width:var(--mg-c-card-max-width);box-sizing:border-box;padding:var(--mg-c-card-spacing, var(--mg-c-card-spacing-default));border:var(--mg-c-card-border, var(--mg-c-card-border-default));border-radius:var(--mg-c-card-border-radius, var(--mg-c-card-border-radius-default));background:var(--mg-c-card-color-background, var(--mg-c-card-color-background-default))}.mg-c-card ::slotted(*:not(mg-panel,mg-message,mg-modal)){--mg-c-card-border:var(--mg-c-card-border-default);--mg-c-card-spacing:var(--mg-c-card-spacing-default);--mg-c-card-border-radius:var(--mg-c-card-border-radius-default);--mg-c-card-color-background:var(--mg-c-card-color-background-default);--mg-c-card-box-shadow:var(--mg-c-card-box-shadow-default);--mg-c-card-max-width:unset;--mg-c-card-min-width:unset}.mg-c-card.mg-c-card--shadow{--mg-c-card-border:var(--mg-b-color-neutral-20);box-shadow:var(--mg-c-card-box-shadow, var(--mg-c-card-box-shadow-default))}.mg-c-card.mg-c-card--radius-xsmall{--mg-c-card-border-radius:var(--mg-b-size-4)}.mg-c-card.mg-c-card--radius-small{--mg-c-card-border-radius:var(--mg-b-size-8)}";
9
+ const mgCardCss = "/*!\n * @prop --mg-c-card-overflow: Defines the overflow property for the card. Unset by default, fallback on `--mg-c-card-overflow-default`.\n * @prop --mg-c-card-overflow-default: Defines the default overflow property for the card. Unset by default.\n * @prop --mg-c-card-min-width: Defines the min-width property for the card. Unset by default.\n * @prop --mg-c-card-max-width: Defines the max-width property for the card. Unset by default.\n * @prop --mg-c-card-max-height: Defines the max-height property for the card. Unset by default.\n * @prop --mg-c-card-spacing: Defines the padding property for the card. Unset by default, fallback on `--mg-c-card-spacing-default`.\n * @prop --mg-c-card-spacing-default: Defines the default padding property for the card. Default value: `--mg-b-size-16`.\n * @prop --mg-c-card-border: Defines the border property for the card. Unset by default, fallback on `--mg-c-card-border-default`.\n * @prop --mg-c-card-border-default: Defines the default border property for the card. Default value: `var(--mg-b-size-border) solid var(--mg-b-color-neutral-30)`.\n * @prop --mg-c-card-border-radius: Defines the border radius property for the card. Unset by default, fallback on `--mg-c-card-border-radius-default`.\n * @prop --mg-c-card-border-radius-default: Defines the default border radius property for the card. Default value: `--mg-b-size-12`.\n * @prop --mg-c-card-color-background: Defines the background property for the card. Unset by default, fallback on `--mg-c-card-color-background-default`.\n * @prop --mg-c-card-color-background-default: Defines the default background property for the card. Default value: `--mg-b-color-light`.\n * @prop --mg-c-card-box-shadow: Defines the box shadow property for the card. Unset by default, fallback on `--mg-c-card-box-shadow-default`.\n * @prop --mg-c-card-box-shadow-default: Defines the default box shadow property for the card. Default value: `--mg-b-box-shadow`.\n */.mg-c-card{position:relative;z-index:inherit;overflow:var(--mg-c-card-overflow, var(--mg-c-card-overflow-default));width:100%;min-width:var(--mg-c-card-min-width);max-width:var(--mg-c-card-max-width);max-height:var(--mg-c-card-max-height);box-sizing:border-box;padding:var(--mg-c-card-spacing, var(--mg-c-card-spacing-default));border:var(--mg-c-card-border, var(--mg-c-card-border-default));border-radius:var(--mg-c-card-border-radius, var(--mg-c-card-border-radius-default));background:var(--mg-c-card-color-background, var(--mg-c-card-color-background-default))}.mg-c-card ::slotted(*:not(mg-panel,mg-message,mg-modal)){--mg-c-card-border:var(--mg-c-card-border-default);--mg-c-card-spacing:var(--mg-c-card-spacing-default);--mg-c-card-border-radius:var(--mg-c-card-border-radius-default);--mg-c-card-color-background:var(--mg-c-card-color-background-default);--mg-c-card-box-shadow:var(--mg-c-card-box-shadow-default);--mg-c-card-max-width:unset;--mg-c-card-min-width:unset;--mg-c-card-max-height:unset;--mg-c-card-overflow:var(--mg-c-card-overflow-default)}.mg-c-card.mg-c-card--shadow{--mg-c-card-border:var(--mg-b-color-neutral-20);box-shadow:var(--mg-c-card-box-shadow, var(--mg-c-card-box-shadow-default))}.mg-c-card.mg-c-card--radius-xsmall{--mg-c-card-border-radius:var(--mg-b-size-4)}.mg-c-card.mg-c-card--radius-small{--mg-c-card-border-radius:var(--mg-b-size-8)}";
10
10
 
11
11
  const MgCard = /*@__PURE__*/ proxyCustomElement(class MgCard extends HTMLElement {
12
12
  constructor(registerHost) {