@farm-investimentos/front-mfe-components-vue3 0.0.12 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farm-investimentos/front-mfe-components-vue3",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,6 +17,7 @@ export interface IDialogPromptConfiguration {
17
17
  const dialog = {
18
18
  container: null,
19
19
  confirm: (options: IDialogPromptOptions, configuration: IDialogPromptConfiguration) => {
20
+
20
21
  const { container, modal } = bootstrap();
21
22
  dialog.container = container;
22
23
 
@@ -25,6 +26,7 @@ const dialog = {
25
26
  const zIndex = calculateMainZindex() + 1;
26
27
 
27
28
  const content = document.createElement('div');
29
+ container.style.zIndex = zIndex;
28
30
  content.className = 'farm-modal--content';
29
31
  content.innerHTML = `<div style="margin-top: 64px; margin-bottom: ${
30
32
  configuration.removeFooter ? 24 : 84
@@ -12,14 +12,14 @@ export default function (
12
12
  footer.innerHTML = `<div class="farm-dialog__footer">
13
13
  ${
14
14
  configuration.cancelText
15
- ? `<button type="button" size="default" class="farm-btn farm-btn--primary farm-btn--variation-base farm-btn--plain farm-btn__cancel">
15
+ ? `<button size="default" class="farm-btn farm-btn--primary farm-btn--variation-base farm-btn--plain farm-btn__cancel">
16
16
  <span class="farm-btn__content">
17
17
  ${configuration.cancelText || 'Confirmar'}
18
18
  </span>
19
19
  </button> `
20
20
  : ''
21
21
  }
22
- <button type="button" size="default" title="Confirmar" class="farm-btn farm-btn--${
22
+ <button size="default" title="Confirmar" class="farm-btn farm-btn--${
23
23
  options.alert ? 'error' : 'primary'
24
24
  } farm-btn--variation-base farm-btn__confirm">
25
25
  <span class="farm-btn__content">