gi-component 0.0.12 → 0.0.13

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,7 +1,7 @@
1
1
  {
2
2
  "name": "gi-component",
3
3
  "type": "module",
4
- "version": "0.0.12",
4
+ "version": "0.0.13",
5
5
  "description": "Vue3中基于Element Plus二次封装基础组件库",
6
6
  "author": "lin",
7
7
  "license": "MIT",
@@ -48,7 +48,8 @@ const props = withDefaults(defineProps<DialogProps>(), {
48
48
  okText: '确认',
49
49
  cancelText: '取消',
50
50
  width: 'calc(100% - 20px)',
51
- alignCenter: true
51
+ alignCenter: true,
52
+ lockScroll: true
52
53
  })
53
54
 
54
55
  defineSlots<{
@@ -17,21 +17,6 @@ const { b } = useBemClass()
17
17
  margin-left: 0;
18
18
  }
19
19
 
20
- :deep(.el-select__wrapper) {
21
- box-shadow: none;
22
- border: 1px solid var(--el-border-color);
23
-
24
- &.is-focused {
25
- box-shadow: none;
26
- border-color: var(--el-color-primary);
27
- }
28
-
29
- &.is-hovering:not(.is-focused) {
30
- box-shadow: none;
31
- border-color: var(--el-border-color-hover);
32
- }
33
- }
34
-
35
20
  .#{a.$prefix}-input-group {
36
21
  display: flex;
37
22
 
@@ -51,7 +36,8 @@ const { b } = useBemClass()
51
36
  > :deep(*:not(:first-child):not(:last-child)) {
52
37
  border-radius: 0;
53
38
 
54
- .el-input__wrapper {
39
+ .el-input__wrapper,
40
+ .el-select__wrapper {
55
41
  border-radius: 0;
56
42
  }
57
43
  }
@@ -83,6 +69,7 @@ const { b } = useBemClass()
83
69
  }
84
70
 
85
71
  > :deep(*) {
72
+
86
73
  .el-input__wrapper.is-focus,
87
74
  .el-select__wrapper.is-focused {
88
75
  z-index: 2;