@webitel/ui-sdk 23.12.86 → 23.12.88

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": "23.12.86",
3
+ "version": "23.12.88",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -118,8 +118,37 @@ export default {
118
118
  &--disabled {
119
119
  pointer-events: none;
120
120
  }
121
+ .wt-time-input__input {
122
+ @extend %typo-body-1;
123
+
124
+ display: block;
125
+ width: 100%;
126
+ box-sizing: border-box;
127
+ padding: var(--input-padding);
128
+ border: var(--input-border);
129
+ border-color: var(--wt-text-field-input-border-color);
130
+ border-radius: var(--border-radius);
131
+ color: var(--wt-text-field-text-color);
132
+ background: transparent;
133
+ transition: var(--transition);
134
+
135
+ .wt-time-input--invalid &,
136
+ .wt-time-input--invalid:hover & {
137
+ @include wt-placeholder('error');
138
+ color: var(--wt-text-field-error-text-color);
139
+ border-color: var(--wt-text-field-input-border-error-color);
140
+ outline: none; // prevent outline overlapping false color
141
+ }
142
+
143
+ .wt-time-input--disabled & {
144
+ @include wt-placeholder('disabled');
145
+ border-color: var(--wt-text-field-input-border-disabled-color);
146
+ background: var(--wt-text-field-input-background-disabled-color);
147
+ }
148
+ }
121
149
  }
122
150
 
151
+
123
152
  .wt-time-input__wrapper {
124
153
  position: relative;
125
154
  }
@@ -127,31 +156,4 @@ export default {
127
156
  .wt-label {
128
157
  text-align: center;
129
158
  }
130
-
131
- .wt-time-input__input {
132
- @extend %typo-body-1;
133
-
134
- display: block;
135
- width: 100%;
136
- box-sizing: border-box;
137
- padding: var(--input-padding);
138
- border: var(--input-border);
139
- border-color: var(--wt-text-field-input-border-color);
140
- border-radius: var(--border-radius);
141
- transition: var(--transition);
142
-
143
- .wt-time-input--invalid &,
144
- .wt-time-input--invalid:hover & {
145
- @include wt-placeholder('error');
146
- color: var(--wt-text-field-error-text-color);
147
- border-color: var(--wt-text-field-input-border-error-color);
148
- outline: none; // prevent outline overlapping false color
149
- }
150
-
151
- .wt-time-input--disabled & {
152
- @include wt-placeholder('disabled');
153
- border-color: var(--wt-text-field-input-border-disabled-color);
154
- background: var(--wt-text-field-input-background-disabled-color);
155
- }
156
- }
157
159
  </style>