@blueking/bk-user-selector 0.0.6 → 0.0.8

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/vue3/vue3.css CHANGED
@@ -1,4 +1,66 @@
1
- .user-tag[data-v-203c36cb] {
1
+ .me-tag[data-v-887b7c44] {
2
+ display: inline-flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ background-color: #e1ecff;
6
+ color: #4d4f56;
7
+ border-radius: 50%;
8
+ padding: 0 8px;
9
+ height: 24px;
10
+ width: 24px;
11
+ cursor: pointer;
12
+ font-size: 12px;
13
+ position: absolute;
14
+ right: 8px;
15
+ top: 50%;
16
+ transform: translateY(-50%);
17
+ z-index: 1;
18
+ }
19
+ .me-tag[data-v-887b7c44]:hover {
20
+ background-color: #cddffe;
21
+ color: #3a84ff;
22
+ }
23
+ .me-tag.disabled[data-v-887b7c44] {
24
+ background-color: #f0f1f5;
25
+ color: #c4c6cc;
26
+ cursor: not-allowed;
27
+ }.dropdown-content[data-v-c68dfcac] {
28
+ min-height: 40px;
29
+ max-height: 300px;
30
+ overflow-y: auto;
31
+ padding: 5px 0;
32
+ }
33
+ .dropdown-content .no-data[data-v-c68dfcac] {
34
+ padding: 10px;
35
+ text-align: center;
36
+ color: #979ba5;
37
+ }
38
+ .dropdown-content .user-group .group-header[data-v-c68dfcac] {
39
+ padding: 8px 12px;
40
+ color: #979ba5;
41
+ display: flex;
42
+ align-items: center;
43
+ }
44
+ .dropdown-content .user-group .group-header .group-count[data-v-c68dfcac] {
45
+ margin-left: 4px;
46
+ }
47
+ .dropdown-content .user-option[data-v-c68dfcac] {
48
+ padding: 8px 12px;
49
+ cursor: pointer;
50
+ display: flex;
51
+ align-items: center;
52
+ height: 32px;
53
+ }
54
+ .dropdown-content .user-option[data-v-c68dfcac]:hover {
55
+ background-color: #f5f7fa;
56
+ }
57
+ .dropdown-content .user-option .tenant-name[data-v-c68dfcac] {
58
+ color: #f59500;
59
+ margin-left: 4px;
60
+ padding: 0 4px;
61
+ }.bk-user-selector-popover.bk-popover.bk-pop2-content {
62
+ padding: 0;
63
+ }.user-tag[data-v-203c36cb] {
2
64
  margin-right: 4px;
3
65
  }
4
66
  .user-tag.draggable[data-v-203c36cb] {
@@ -20,113 +82,58 @@
20
82
  white-space: nowrap;
21
83
  padding: 0 3px;
22
84
  border-radius: 2px;
23
- }.bk-user-selector-popover.bk-popover.bk-pop2-content {
24
- padding: 0;
25
- }.multiple-selector[data-v-50540b99] {
85
+ }.multiple-selector[data-v-a09f11c3] {
26
86
  position: relative;
27
87
  width: 100%;
28
88
  }
29
- .multiple-selector .tags-container[data-v-50540b99] {
89
+ .multiple-selector .tags-container[data-v-a09f11c3] {
30
90
  min-height: 32px;
31
91
  border: 1px solid #dcdee5;
32
92
  border-radius: 2px;
33
- padding: 1px 4px;
93
+ padding: 1px 10px 1px 8px;
34
94
  transition: all 0.2s ease;
35
95
  background-color: #fff;
36
96
  }
37
- .multiple-selector .tags-container.focused[data-v-50540b99] {
97
+ .multiple-selector .tags-container.focused[data-v-a09f11c3] {
38
98
  border-color: #3a84ff;
39
99
  box-shadow: 0 0 0 2px rgba(58, 132, 255, 0.1);
40
100
  }
41
- .multiple-selector .tags-container.collapsed[data-v-50540b99] {
101
+ .multiple-selector .tags-container.collapsed[data-v-a09f11c3] {
42
102
  display: flex;
43
103
  flex-wrap: wrap;
44
104
  align-items: center;
45
105
  }
46
- .multiple-selector .tag-list[data-v-50540b99] {
106
+ .multiple-selector .tag-list[data-v-a09f11c3] {
47
107
  display: flex;
48
108
  flex-wrap: wrap;
49
109
  align-items: center;
50
110
  }
51
- .multiple-selector .tag-wrapper[data-v-50540b99] {
111
+ .multiple-selector .tag-wrapper[data-v-a09f11c3] {
52
112
  display: inline-flex;
53
113
  align-items: center;
54
114
  max-width: 100%;
55
115
  }
56
- .multiple-selector .search-input[data-v-50540b99] {
116
+ .multiple-selector .search-input[data-v-a09f11c3] {
57
117
  outline: none;
58
118
  border: none;
59
119
  height: 28px;
60
120
  min-width: 10px;
61
121
  background: transparent;
62
122
  }
63
- .multiple-selector .search-input[data-v-50540b99]::placeholder {
123
+ .multiple-selector .search-input[data-v-a09f11c3]::placeholder {
64
124
  color: #c4c6cc;
65
125
  }
66
- .multiple-selector .search-input.inline[data-v-50540b99] {
126
+ .multiple-selector .search-input.inline[data-v-a09f11c3] {
67
127
  min-width: 10px;
68
128
  }
69
- .multiple-selector .search-input.last[data-v-50540b99], .multiple-selector .search-input.collapsed[data-v-50540b99] {
129
+ .multiple-selector .search-input.last[data-v-a09f11c3], .multiple-selector .search-input.collapsed[data-v-a09f11c3] {
70
130
  flex: 1;
71
131
  min-width: 60px;
72
- }
73
- .dropdown-content[data-v-50540b99] {
74
- min-height: 40px;
75
- max-height: 300px;
76
- overflow-y: auto;
77
- padding: 5px 0;
78
- }
79
- .dropdown-content .no-data[data-v-50540b99] {
80
- padding: 10px;
81
- text-align: center;
82
- color: #979ba5;
83
- }
84
- .dropdown-content .user-option[data-v-50540b99] {
85
- padding: 8px 12px;
86
- cursor: pointer;
87
- display: flex;
88
- align-items: center;
89
- height: 32px;
90
- }
91
- .dropdown-content .user-option[data-v-50540b99]:hover {
92
- background-color: #f5f7fa;
93
- }
94
- .dropdown-content .user-option .tenant-name[data-v-50540b99] {
95
- color: #f59500;
96
- margin-left: 4px;
97
- padding: 0 4px;
98
- }
99
- .me-tag[data-v-50540b99] {
100
- display: inline-flex;
101
- align-items: center;
102
- justify-content: center;
103
- background-color: #e1ecff;
104
- color: #4d4f56;
105
- border-radius: 50%;
106
- padding: 0 8px;
107
- height: 24px;
108
- width: 24px;
109
- cursor: pointer;
110
- font-size: 12px;
111
- position: absolute;
112
- right: 8px;
113
- top: 50%;
114
- transform: translateY(-50%);
115
- z-index: 1;
116
- }
117
- .me-tag[data-v-50540b99]:hover {
118
- background-color: #cddffe;
119
- color: #3a84ff;
120
- }
121
- .me-tag.disabled[data-v-50540b99] {
122
- background-color: #f0f1f5;
123
- color: #c4c6cc;
124
- cursor: not-allowed;
125
- }.single-selector[data-v-308925e9] {
132
+ }.single-selector[data-v-8b8dd0fd] {
126
133
  position: relative;
127
134
  width: 100%;
128
135
  }
129
- .input-container[data-v-308925e9] {
136
+ .input-container[data-v-8b8dd0fd] {
130
137
  position: relative;
131
138
  display: flex;
132
139
  align-items: center;
@@ -136,21 +143,21 @@
136
143
  padding: 0 8px;
137
144
  background-color: #fff;
138
145
  }
139
- .input-container[data-v-308925e9]:focus-within {
146
+ .input-container[data-v-8b8dd0fd]:focus-within {
140
147
  border-color: #3a84ff;
141
148
  box-shadow: 0 0 0 2px rgba(58, 132, 255, 0.1);
142
149
  }
143
- .search-input[data-v-308925e9] {
150
+ .search-input[data-v-8b8dd0fd] {
144
151
  flex: 1;
145
152
  outline: none;
146
153
  border: none;
147
154
  height: 30px;
148
155
  background: transparent;
149
156
  }
150
- .search-input[data-v-308925e9]::placeholder {
157
+ .search-input[data-v-8b8dd0fd]::placeholder {
151
158
  color: #c4c6cc;
152
159
  }
153
- .selected-user[data-v-308925e9] {
160
+ .selected-user[data-v-8b8dd0fd] {
154
161
  display: inline-flex;
155
162
  align-items: center;
156
163
  background-color: #f0f1f5;
@@ -160,68 +167,15 @@
160
167
  height: 24px;
161
168
  max-width: calc(100% - 32px);
162
169
  }
163
- .selected-user .tenant-name[data-v-308925e9] {
170
+ .selected-user .tenant-name[data-v-8b8dd0fd] {
164
171
  color: #f59500;
165
172
  margin-left: 4px;
166
173
  }
167
- .selected-user .close-icon[data-v-308925e9] {
174
+ .selected-user .close-icon[data-v-8b8dd0fd] {
168
175
  margin-left: 4px;
169
176
  cursor: pointer;
170
177
  font-style: normal;
171
- }
172
- .dropdown-content[data-v-308925e9] {
173
- min-height: 40px;
174
- max-height: 300px;
175
- overflow-y: auto;
176
- padding: 5px 0;
177
- }
178
- .dropdown-content .no-data[data-v-308925e9] {
179
- padding: 10px;
180
- text-align: center;
181
- color: #979ba5;
182
- }
183
- .dropdown-content .user-option[data-v-308925e9] {
184
- padding: 8px 12px;
185
- cursor: pointer;
186
- display: flex;
187
- align-items: center;
188
- height: 32px;
189
- }
190
- .dropdown-content .user-option[data-v-308925e9]:hover {
191
- background-color: #f5f7fa;
192
- }
193
- .dropdown-content .user-option .tenant-name[data-v-308925e9] {
194
- color: #f59500;
195
- margin-left: 4px;
196
- padding: 0 4px;
197
- }
198
- .me-tag[data-v-308925e9] {
199
- display: inline-flex;
200
- align-items: center;
201
- justify-content: center;
202
- background-color: #e1ecff;
203
- color: #4d4f56;
204
- border-radius: 50%;
205
- padding: 0 8px;
206
- height: 24px;
207
- width: 24px;
208
- cursor: pointer;
209
- font-size: 12px;
210
- position: absolute;
211
- right: 8px;
212
- top: 50%;
213
- transform: translateY(-50%);
214
- z-index: 1;
215
- }
216
- .me-tag[data-v-308925e9]:hover {
217
- background-color: #cddffe;
218
- color: #3a84ff;
219
- }
220
- .me-tag.disabled[data-v-308925e9] {
221
- background-color: #f0f1f5;
222
- color: #c4c6cc;
223
- cursor: not-allowed;
224
- }.bk-user-selector[data-v-fe084750] {
178
+ }.bk-user-selector[data-v-bc7b4ccd] {
225
179
  width: 100%;
226
180
  position: relative;
227
181
  font-size: 12px;