Skip to content

Commit

Permalink
some fixes after PR#1 and upgrade version
Browse files Browse the repository at this point in the history
  • Loading branch information
kolirt committed Apr 15, 2024
1 parent ebdf532 commit acd92f1
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 48 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ coverage
*.njsproj
*.sln
*.sw?

#bun.lockb
Binary file removed bun.lockb
Binary file not shown.
46 changes: 23 additions & 23 deletions examples/vite/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
import App from "./App.vue";
import App from './App.vue'

import { createModal } from "@kolirt/vue-modal";
import Notifications from "@kyvg/vue3-notification";
import "bootstrap/dist/css/bootstrap.min.css";
import { createApp } from "vue";
import { createModal } from '@kolirt/vue-modal'
import Notifications from '@kyvg/vue3-notification'
import 'bootstrap/dist/css/bootstrap.min.css'
import { createApp } from 'vue'

const app = createApp(App);
const app = createApp(App)

app.use(Notifications);
app.use(Notifications)

app.use(
createModal({
transitionTime: 200,
animationType: "slideDown",
modalStyle: {
padding: "5rem 2rem",
align: "center",
"z-index": 201,
},
overlayStyle: {
"background-color": "rgba(0, 0, 0, .5)",
"backdrop-filter": "blur(5px)",
"z-index": 200,
},
}),
);
createModal({
transitionTime: 200,
animationType: 'slideDown',
modalStyle: {
padding: '5rem 2rem',
align: 'center',
'z-index': 201
},
overlayStyle: {
'background-color': 'rgba(0, 0, 0, .5)',
'backdrop-filter': 'blur(5px)',
'z-index': 200
}
})
)

app.mount("#app");
app.mount('#app')
46 changes: 23 additions & 23 deletions examples/vue-cli-service/src/main.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
import { createModal } from "@kolirt/vue-modal";
import Notifications from "@kyvg/vue3-notification";
import "bootstrap/dist/css/bootstrap.min.css";
import { createApp } from "vue";
import { createModal } from '@kolirt/vue-modal'
import Notifications from '@kyvg/vue3-notification'
import 'bootstrap/dist/css/bootstrap.min.css'
import { createApp } from 'vue'

import App from "./App.vue";
import App from './App.vue'

const app = createApp(App);
const app = createApp(App)

app.use(Notifications);
app.use(Notifications)

app.use(
createModal({
transitionTime: 200,
animationType: "slideDown",
modalStyle: {
padding: "5rem 2rem",
align: "center",
"z-index": 201,
},
overlayStyle: {
"background-color": "rgba(0, 0, 0, .5)",
"backdrop-filter": "blur(5px)",
"z-index": 200,
},
}),
);
createModal({
transitionTime: 200,
animationType: 'slideDown',
modalStyle: {
padding: '5rem 2rem',
align: 'center',
'z-index': 201
},
overlayStyle: {
'background-color': 'rgba(0, 0, 0, .5)',
'backdrop-filter': 'blur(5px)',
'z-index': 200
}
})
)

app.mount("#app");
app.mount('#app')
1 change: 0 additions & 1 deletion lib/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const state = reactive<Options>({
},
overlayStyle: {
'background-color': 'rgba(0, 0, 0, 0.9)',
'backdrop-filter': 'blur(5px)',
'z-index': 200
}
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kolirt/vue-modal",
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"description": "Simple Vue3 modal package",
"author": "kolirt",
Expand Down

1 comment on commit acd92f1

@kolirt
Copy link
Owner Author

@kolirt kolirt commented on acd92f1 Apr 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1

Please sign in to comment.