@yunlefun/vue 0.0.8-beta.2 → 0.0.8-beta.4
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.
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
</nav>
|
|
6
|
-
</div>
|
|
2
|
+
<nav class="ylf-bottom-menu mx-auto flex justify-between">
|
|
3
|
+
<slot />
|
|
4
|
+
</nav>
|
|
7
5
|
</template>
|
|
6
|
+
|
|
7
|
+
<style>
|
|
8
|
+
.ylf-bottom-menu {
|
|
9
|
+
background-color: var(--ylf-bottom-menu-c-bg, #fff);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.dark .ylf-bottom-menu {
|
|
13
|
+
background-color: var(--ylf-bottom-menu-c-bg, #222);
|
|
14
|
+
}
|
|
15
|
+
</style>
|
|
@@ -37,16 +37,9 @@ const emit = defineEmits(['click'])
|
|
|
37
37
|
<style lang="scss">
|
|
38
38
|
.ylf-bottom-menu-item {
|
|
39
39
|
color: var(--ylf-c-text, black);
|
|
40
|
-
background-color: var(--ylf-bottom-menu-c-bg, #fff);
|
|
41
40
|
|
|
42
41
|
&.active {
|
|
43
42
|
color: var(--ylf-c-primary, dodgerblue);
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
|
-
|
|
47
|
-
.dark {
|
|
48
|
-
.ylf-bottom-menu-item {
|
|
49
|
-
--ylf-bottom-menu-c-bg: #222;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
45
|
</style>
|
package/components/YlfCard.vue
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
class="flex
|
|
4
|
-
|
|
5
|
-
shadow hover:shadow-md
|
|
3
|
+
class="flex items-center justify-center bg-white p-2 dark:bg-gray-800"
|
|
4
|
+
|
|
5
|
+
rounded shadow transition hover:shadow-md
|
|
6
6
|
>
|
|
7
7
|
<slot />
|
|
8
8
|
</div>
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
const node_path = require('node:path');
|
|
4
4
|
const node_url = require('node:url');
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
7
|
+
const _dirname = typeof __dirname !== "undefined" ? __dirname : node_path.dirname(node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href))));
|
|
7
8
|
const componentsDir = node_path.resolve(_dirname, "../components");
|
|
8
9
|
|
|
9
10
|
exports._dirname = _dirname;
|