@fangzhongya/fang-ui 0.0.35 → 0.0.36

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  $dates: 'dates';
4
4
  @include b($dates) {
5
- #{z($dates, 'date')} {
5
+ .#{z($dates, 'date')} {
6
6
  height: 100%;
7
7
  width: 100%;
8
8
  box-sizing: border-box;
@@ -64,6 +64,7 @@
64
64
  @use './edit/index.scss' as *;
65
65
  @use './input-array/index.scss' as *;
66
66
  @use './input-num/index.scss' as *;
67
+ @use './input-select/index.scss' as *;
67
68
  @use './inputs/index.scss' as *;
68
69
  @use './selects/index.scss' as *;
69
70
  @use './switchs/index.scss' as *;
@@ -62,8 +62,9 @@
62
62
  @use './checks/style/index2.scss' as *;
63
63
  @use './dates/style/index2.scss' as *;
64
64
  @use './edit/style/index.scss' as *;
65
- @use './input-array/style/index.scss' as *;
65
+ @use './input-array/style/index2.scss' as *;
66
66
  @use './input-num/style/index2.scss' as *;
67
+ @use './input-select/style/index2.scss' as *;
67
68
  @use './inputs/style/index2.scss' as *;
68
69
  @use './selects/style/index2.scss' as *;
69
70
  @use './switchs/style/index2.scss' as *;
@@ -0,0 +1,4 @@
1
+ @use 'element-plus/theme-chalk/src/input-number.scss' as *;
2
+ @use 'element-plus/theme-chalk/src/input.scss' as *;
3
+
4
+ @use '../index.scss' as *;
@@ -0,0 +1,66 @@
1
+ @use '../css/common.scss' as *;
2
+
3
+ $input-select: 'input-select';
4
+ @include b($input-select) {
5
+ &-select-icon {
6
+ margin-left: 8px;
7
+ display: inline-flex;
8
+ pointer-events: all;
9
+ align-items: center;
10
+ justify-content: center;
11
+ cursor: pointer;
12
+ transform: rotate(0);
13
+ transition: transform 0.3s;
14
+ &.is-reverse {
15
+ transform: rotate(-180deg);
16
+ }
17
+ svg {
18
+ width: 1rem;
19
+ height: 1rem;
20
+ }
21
+ }
22
+ &.is-disabled {
23
+ .#{$input-selects}-select-icon {
24
+ cursor: not-allowed;
25
+ }
26
+ }
27
+ &-popper {
28
+ padding: 6px 0 !important;
29
+ .#{$input-selects}-select {
30
+ max-height: 274px;
31
+ height: 100%;
32
+ overflow-y: auto;
33
+ .#{$input-selects}-select-ul {
34
+ list-style: none;
35
+ margin: 6px 0;
36
+ padding: 0;
37
+ box-sizing: border-box;
38
+ }
39
+ .#{$input-selects}-select-li {
40
+ padding: 0 32px 0 20px;
41
+ position: relative;
42
+ white-space: nowrap;
43
+ overflow: hidden;
44
+ text-overflow: ellipsis;
45
+ color: #606266;
46
+ height: 34px;
47
+ line-height: 34px;
48
+ box-sizing: border-box;
49
+ cursor: pointer;
50
+ &.hover,
51
+ &:hover {
52
+ background-color: #f5f7fa;
53
+ }
54
+ &.selected {
55
+ color: var(--bv-color-primary);
56
+ font-weight: 700;
57
+ }
58
+ &.is-disabled {
59
+ background-color: #ffffff;
60
+ color: #a8abb2;
61
+ cursor: not-allowed;
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
@@ -0,0 +1,4 @@
1
+ @use 'element-plus/theme-chalk/src/popover.scss' as *;
2
+ @use 'element-plus/theme-chalk/src/input.scss' as *;
3
+
4
+ @use '../index.scss' as *;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fangzhongya/fang-ui",
3
3
  "private": false,
4
- "version": "0.0.35",
4
+ "version": "0.0.36",
5
5
  "type": "module",
6
6
  "description ": "fang-ui",
7
7
  "keywords": [
@@ -49,10 +49,10 @@
49
49
  "vue-tsc": "^3.0.4",
50
50
  "vuedraggable": "4.1.0",
51
51
  "vxe-table": "4.14.8",
52
- "@fang-ui/icons": "0.0.1-0",
52
+ "@fang-ui/components": "0.0.1-0",
53
53
  "@fang-ui/directives": "0.0.1-0",
54
54
  "@fang-ui/hooks": "0.0.1-0",
55
- "@fang-ui/components": "0.0.1-0",
55
+ "@fang-ui/icons": "0.0.1-0",
56
56
  "@fang-ui/locale": "0.0.1-0",
57
57
  "@fang-ui/theme": "0.0.1-0",
58
58
  "@fang-ui/types": "0.0.1-0",