@farm-investimentos/front-mfe-components-vue3 0.0.10 → 0.0.11

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.10",
3
+ "version": "0.0.11",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -74,7 +74,7 @@ export const NoFooter = () => ({
74
74
  methods: {
75
75
  openDialog() {
76
76
  this.$dialog
77
- .confirm(
77
+ .alert(
78
78
  {
79
79
  title: 'Dialog title - No footer',
80
80
  body: 'Dialog content for notifications without footer (must be closed programmatically)',
@@ -4,7 +4,7 @@ export default function (modal: HTMLElement, options: IDialogPromptOptions) {
4
4
  const style = options.alert ? 'color: var(--farm-error-base)!important' : '';
5
5
  const header = document.createElement('div');
6
6
  header.className = 'farm-modal--header';
7
- header.innerHTML = `<header>
7
+ header.innerHTML = `<header class="farm-dialog-header">
8
8
  <p class="farm-typography farm-typography--sm farm-typography--weight-600 farm-caption farm-caption--semiBold" style="${style}">
9
9
  ${options.title}
10
10
  </p>