@xizs/nuxt-antui 0.0.16 → 0.0.18

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,2 +1,14 @@
1
1
  @import "tailwindcss";
2
- @source "../../"
2
+ @source "../../"
3
+
4
+
5
+ @layer utilities {
6
+ .scrollbar-none {
7
+ -ms-overflow-style: none; /* IE 和 Edge */
8
+ scrollbar-width: none; /* Firefox */
9
+ }
10
+
11
+ .scrollbar-none::-webkit-scrollbar {
12
+ display: none; /* Chrome、Safari 和 Opera */
13
+ }
14
+ }
@@ -6,7 +6,7 @@
6
6
  collapsed-width="0"
7
7
  width="220px"
8
8
  :trigger="null"
9
- class="overflow-scroll"
9
+ class="overflow-scroll scrollbar-none"
10
10
  >
11
11
  <div class="text-center text-white p-2 text-lg " >
12
12
  {{props.title}}
@@ -14,7 +14,7 @@ export const NormalModal = (el) => {
14
14
  control.close = () => {
15
15
  open.value = false
16
16
  }
17
- return () => h(AConfigProvider, { locale: useAntLocale().value }, [
17
+ return () => h(AConfigProvider, { locale: useAntLocale.value }, [
18
18
  h(el, {
19
19
  open: open.value, // 等价于 v-model:open
20
20
  'onUpdate:open': (val: boolean) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xizs/nuxt-antui",
3
3
  "type": "module",
4
- "version": "0.0.16",
4
+ "version": "0.0.18",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",