@webitel/ui-sdk 1.0.1 → 1.0.2

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -102,11 +102,6 @@
102
102
  </script>
103
103
 
104
104
  <style lang="scss" scoped>
105
- .wt-label {
106
- margin-bottom: var(--label-margin);
107
- cursor: text;
108
- }
109
-
110
105
  .wt-datepicker__calendar-icon {
111
106
  position: absolute;
112
107
  top: var(--spacing-xs);
@@ -163,11 +163,6 @@
163
163
  position: relative;
164
164
  }
165
165
 
166
- .wt-label {
167
- margin-bottom: var(--label-margin);
168
- cursor: text;
169
- }
170
-
171
166
  .wt-datetimepicker__preview {
172
167
  position: relative;
173
168
  cursor: text;
@@ -246,9 +246,6 @@ export default {
246
246
  }
247
247
 
248
248
  .wt-label {
249
- margin-bottom: var(--label-margin);
250
- cursor: text;
251
-
252
249
  .wt-input:hover &,
253
250
  .wt-input:focus-within & {
254
251
  color: var(--form-label--hover-color);
@@ -59,6 +59,7 @@ export default {
59
59
  align-items: center;
60
60
  color: var(--form-label-color);
61
61
  transition: var(--transition);
62
+ cursor: text;
62
63
 
63
64
  &--outline {
64
65
  color: var(--form-outline-label-color);
@@ -74,7 +75,9 @@ export default {
74
75
  }
75
76
 
76
77
  .wt-label__hint {
78
+ cursor: pointer;
77
79
  margin-left: var(--spacing-xs);
80
+
78
81
  ::v-deep {
79
82
  .wt-tooltip {
80
83
  width: max-content; // experimental css property
@@ -283,9 +283,6 @@ export default {
283
283
  }
284
284
 
285
285
  .wt-label {
286
- margin-bottom: var(--label-margin);
287
- cursor: text;
288
-
289
286
  .wt-select:hover &,
290
287
  .wt-select:focus-within & {
291
288
  color: var(--form-label--hover-color);
@@ -153,11 +153,6 @@ export default {
153
153
  width: 100%;
154
154
  }
155
155
 
156
- .wt-label {
157
- margin-bottom: var(--label-margin);
158
- cursor: text;
159
- }
160
-
161
156
  // increase specificity
162
157
  .wt-tags-input .wt-tags-input__tags-input {
163
158
  width: 100%;
@@ -119,9 +119,6 @@
119
119
  }
120
120
 
121
121
  .wt-label {
122
- margin-bottom: var(--label-margin);
123
- cursor: text;
124
-
125
122
  .wt-textarea:hover &,
126
123
  .wt-textarea:focus-within & {
127
124
  color: var(--form-label--hover-color);
@@ -137,8 +137,6 @@ import validationMixin from '../../../mixins/validationMixin/validationMixin';
137
137
 
138
138
  .wt-label {
139
139
  text-align: center;
140
- margin-bottom: var(--label-margin);
141
- cursor: text;
142
140
 
143
141
  .wt-time-input:hover &,
144
142
  .wt-time-input:focus-within & {
@@ -146,9 +146,6 @@ export default {
146
146
  }
147
147
 
148
148
  .wt-label {
149
- margin-bottom: var(--label-margin);
150
- cursor: text;
151
-
152
149
  .wt-timepicker:hover &,
153
150
  .wt-timepicker:focus-within & {
154
151
  color: var(--form-label--hover-color);
@@ -1,5 +1,4 @@
1
1
 
2
2
  :root {
3
- --label-margin: 10px;
4
3
  --label--invalid-color: var(--false-color);
5
4
  }