Skip to content

Commit

Permalink
fix dir bug
Browse files Browse the repository at this point in the history
  • Loading branch information
parsagholipour committed Oct 4, 2022
1 parent 8dafbbd commit e376a64
Show file tree
Hide file tree
Showing 9 changed files with 239 additions and 234 deletions.
432 changes: 218 additions & 214 deletions dist/Sharee.2e0cb60d.js → dist/Sharee.05d84ac2.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/sharee-react.js.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useRef as n, useEffect as u } from "react";
import { S as o } from "./Sharee.2e0cb60d.js";
import { S as o } from "./Sharee.05d84ac2.js";
import { jsx as f } from "react/jsx-runtime";
import "lodash.merge";
function m(e) {
Expand Down
2 changes: 1 addition & 1 deletion dist/sharee-vue.js.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineComponent as a, ref as r, onMounted as s, onUnmounted as u, openBlock as p, createElementBlock as i } from "vue";
import { S as c } from "./Sharee.2e0cb60d.js";
import { S as c } from "./Sharee.05d84ac2.js";
import "lodash.merge";
const _ = /* @__PURE__ */ a({
__name: "Sharee",
Expand Down
2 changes: 1 addition & 1 deletion dist/sharee.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { S as a } from "./Sharee.2e0cb60d.js";
import { S as a } from "./Sharee.05d84ac2.js";
import "lodash.merge";
export {
a as default
Expand Down
20 changes: 10 additions & 10 deletions dist/sharee.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sharee",
"private": false,
"version": "1.0.9",
"version": "1.0.10",
"browser": "./dist/sharee.min.js",
"main": "./dist/build.js",
"module": "./dist/build.js",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/styles/style-fixed.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
.sharee__fixed.sharee__position__bottom-right {
bottom: 10vh;
right: 0;
direction: ltr!important;
direction: rtl!important;
}


Expand Down
9 changes: 5 additions & 4 deletions src/vue/Sharee.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,24 @@ import Lang from "../common/Lang";
interface ShareeOptions {
lang?: LangName;
langs?: {[key: string]: Lang};
langs?: { [key: string]: Lang };
onLoad?: Function;
drivers?: string[];
showTransitionDuration?: string;
shareLink?: string;
shareText?: string;
ripple?: boolean;
mode?: 'dropdown'|'dropdownRow'|'dropdownGrid'|'text'|'normal'|'fixed';
mode?: 'dropdown' | 'dropdownRow' | 'dropdownGrid' | 'text' | 'normal' | 'fixed';
modeOptions?: any
}
const props = defineProps<ShareeOptions>()
console.log(props)
const shareeEl = ref<HTMLElement|null>(null)
const sharee = ref<Sharee|null>(null)
const shareeEl = ref<HTMLElement | null>(null)
const sharee = ref<Sharee | null>(null)
onMounted(() => {
// @ts-ignore
sharee.value = new Sharee(shareeEl.value!, props)
})
Expand Down

0 comments on commit e376a64

Please sign in to comment.