bri-components 1.1.5 → 1.1.6

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.
Files changed (43) hide show
  1. package/lib/0.bri-components.min.js +1 -1
  2. package/lib/1.bri-components.min.js +1 -1
  3. package/lib/2.bri-components.min.js +1 -1
  4. package/lib/4.bri-components.min.js +1 -1
  5. package/lib/5.bri-components.min.js +1 -1
  6. package/lib/6.bri-components.min.js +1 -1
  7. package/lib/7.bri-components.min.js +1 -1
  8. package/lib/bri-components.min.js +5 -5
  9. package/package.json +1 -1
  10. package/src/components/controls/base/DshCascader/DshCascader.vue +3 -0
  11. package/src/components/controls/base/DshSelect.vue +8 -6
  12. package/src/components/controls/base/DshSwitch.vue +45 -87
  13. package/src/components/form/DshDefaultSearch.vue +1 -1
  14. package/src/components/form/DshForm.vue +4 -0
  15. package/src/components/small/BriButton.vue +2 -2
  16. package/src/components/small/DshButtons.vue +28 -2
  17. package/src/components/small/DshIcons.vue +1 -1
  18. package/src/components/unit/DshFormItem.vue +2 -2
  19. package/src/styles/common/control.less +11 -7
  20. package/src/styles/components/controls/base/DshCascader.less +110 -0
  21. package/src/styles/components/controls/base/DshSwitch.less +37 -0
  22. package/src/styles/components/form/DshDefaultSearch.less +41 -9
  23. package/src/styles/components/index.less +19 -18
  24. package/src/styles/components/small/BriButton.less +34 -2
  25. package/src/styles/components/unit/DshFormItem.less +1 -2
  26. package/src/styles/components/controls/DshCascader.less +0 -95
  27. /package/src/styles/components/controls/{BriInputs.less → base/BriInputs.less} +0 -0
  28. /package/src/styles/components/controls/{BriUpload.less → base/BriUpload.less} +0 -0
  29. /package/src/styles/components/controls/{DshCheckbox.less → base/DshCheckbox.less} +0 -0
  30. /package/src/styles/components/controls/{DshCoordinates.less → base/DshCoordinates.less} +0 -0
  31. /package/src/styles/components/controls/{DshDate.less → base/DshDate.less} +0 -0
  32. /package/src/styles/components/controls/{DshDaterange.less → base/DshDaterange.less} +0 -0
  33. /package/src/styles/components/controls/{DshDivider.less → base/DshDivider.less} +0 -0
  34. /package/src/styles/components/controls/{DshEditor.less → base/DshEditor.less} +0 -0
  35. /package/src/styles/components/controls/{DshInput.less → base/DshInput.less} +0 -0
  36. /package/src/styles/components/controls/{DshNumber.less → base/DshNumber.less} +0 -0
  37. /package/src/styles/components/controls/{DshNumberange.less → base/DshNumberange.less} +0 -0
  38. /package/src/styles/components/controls/{DshSelect.less → base/DshSelect.less} +0 -0
  39. /package/src/styles/components/controls/{InfoCascader.less → base/InfoCascader.less} +0 -0
  40. /package/src/styles/components/controls/{BriLabels.less → senior/BriLabels.less} +0 -0
  41. /package/src/styles/components/controls/{DshPackage.less → senior/DshPackage.less} +0 -0
  42. /package/src/styles/components/controls/{cascaderTable.less → senior/cascaderTable.less} +0 -0
  43. /package/src/styles/components/controls/{flatTable.less → senior/flatTable.less} +0 -0
@@ -100,11 +100,15 @@
100
100
  }
101
101
  .ivu-btn-linkText {
102
102
  color: @themeColor;
103
+ padding: 0px;
104
+ height: @textHeight;
103
105
  &:hover {
104
106
  background-color: transparent;
107
+ color: @theme-hover;
105
108
  }
106
109
  &:active {
107
110
  background-color: transparent;
111
+ color: @theme-active;
108
112
  }
109
113
  &[disabled] {
110
114
  color: @theme-disabled;
@@ -152,6 +156,7 @@
152
156
  }
153
157
  }
154
158
  }
159
+
155
160
  .ivu-btn-default, .ivu-btn-dashed {
156
161
  color: @textColor;
157
162
  border-color: @btnCancelBg;
@@ -176,6 +181,33 @@
176
181
  }
177
182
  }
178
183
  }
184
+
185
+ .ivu-btn-primaryLine {
186
+ color: @themeColor;
187
+ border-color: @themeColor;
188
+ background-color: #fff;
189
+ &:hover {
190
+ background-color: #fff;
191
+ border-color: @btnBgclick;
192
+ color: @btnBgHover;
193
+ }
194
+ &:active {
195
+ background-color: #fff;
196
+ border-color: @btnBgclick;
197
+ color: @btnBgclick;
198
+ }
199
+ &[disabled] {
200
+ background-color: #fff;
201
+ border-color: @btnBgDisabled;
202
+ color: @btnBgDisabled;
203
+ &:hover, &:active {
204
+ background-color: #fff;
205
+ border-color: @btnBgDisabled;
206
+ color: @btnBgDisabled;
207
+ }
208
+ }
209
+ }
210
+
179
211
  .ivu-btn-errorLine {
180
212
  color: @btnWarningBg;
181
213
  border-color: @btnWarningBg;
@@ -190,11 +222,11 @@
190
222
  color: @btnWarningBgClick;
191
223
  }
192
224
  &[disabled] {
193
- background-color: @btnCancelBg;
225
+ background-color: #fff;
194
226
  border-color: @btnWarningBgDisabled;
195
227
  color: @btnWarningBgDisabled;
196
228
  &:hover, &:active {
197
- background-color: @btnCancelBg;
229
+ background-color: #fff;
198
230
  border-color: @btnWarningBgDisabled;
199
231
  color: @btnWarningBgDisabled;
200
232
  }
@@ -20,11 +20,10 @@
20
20
  }
21
21
 
22
22
  &-label {
23
- padding: 5px 0px 5px;
24
23
  min-width: 0px;
24
+ padding: 5px 0px 5px;
25
25
  line-height: 20px;
26
26
  font-size: @smallSize;
27
- margin-bottom: 3px;
28
27
  display: flex;
29
28
  align-items: center;
30
29
 
@@ -1,95 +0,0 @@
1
- .DshCascader {
2
- width: 100%;
3
-
4
- #input-content () {
5
- .hasdata {
6
- width: 100%;
7
- height: 100%;
8
- padding: 2px 8px;
9
- display: flex;
10
- justify-content: space-between;
11
- align-items: center;
12
- .bri-scrollbar3();
13
- overflow-y: hidden;
14
-
15
- .DshTags {
16
- display: flex;
17
- white-space: nowrap;
18
- }
19
- }
20
-
21
- &-nodata {
22
- display: inline-block;
23
- padding: 2px 8px;
24
- color: @placeholderColor;
25
- }
26
- }
27
-
28
- &-multiple {
29
- width: 100%;
30
-
31
- &-input {
32
- #input-content();
33
- }
34
- }
35
-
36
- &-custom {
37
- &-input {
38
- #input-content();
39
-
40
- .hasdata {
41
- &-text {
42
- .dsh-ellipsis();
43
- }
44
-
45
- &-clear {
46
- margin-left: 5px;
47
- }
48
- }
49
- }
50
- }
51
-
52
- &-single {
53
- width: 100%;
54
- }
55
-
56
- &-show {
57
- #input-content();
58
-
59
- .hasdata {
60
- &-multiple {}
61
-
62
- &-single {
63
- .dsh-ellipsis();
64
- }
65
- }
66
- }
67
-
68
- &-multiplerow {
69
- height: 70px;
70
-
71
- .hasdata {
72
- overflow-y: auto;
73
-
74
- .DshTags {
75
- flex-wrap: wrap;
76
- }
77
- }
78
- }
79
- }
80
-
81
- .ivu-cascader {
82
- &-label {
83
- padding-right: 24px;
84
- }
85
-
86
- &-transfer {
87
- max-height: 400px !important;
88
-
89
- .ivu-cascader-menu {
90
- max-height: 400px;
91
- height: auto;
92
- max-width: 300px;
93
- }
94
- }
95
- }