@webitel/ui-sdk 3.1.72 → 3.1.74

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": "3.1.72",
3
+ "version": "3.1.74",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -159,23 +159,33 @@ const isDateTime = props.mode === 'datetime';
159
159
  pointer-events: none;
160
160
  }
161
161
 
162
+ .dp__month_year_select,
163
+ .dp__cell_inner {
164
+ @extend %typo-body-2;
165
+ }
166
+
162
167
  // reset right/left arrow hover
163
168
  .dp__inner_nav:hover {
164
169
  background: inherit;
165
170
  }
166
171
 
167
172
  .dp__menu {
173
+ min-width: 196px;
168
174
  border-radius: var(--border-radius);
169
175
  box-shadow: var(--elevation-10);
170
176
  }
171
177
 
178
+ .dp__calendar_header_item {
179
+ @extend %typo-subtitle-2;
180
+ }
181
+
172
182
  .dp__calendar_header_separator {
173
183
  background: var(--secondary-color);
174
184
  }
175
185
 
176
186
  .dp__calendar_header,
177
187
  .dp__calendar_row {
178
- gap: var(--spacing-xs);
188
+ gap: var(--spacing-3xs);
179
189
  }
180
190
 
181
191
  // switch to time view
@@ -204,9 +214,9 @@ const isDateTime = props.mode === 'datetime';
204
214
  }
205
215
 
206
216
  .datepicker__timepicker {
207
- display: flex;
208
- align-items: center;
209
- justify-content: center;
217
+ display: grid;
218
+ grid-template-columns: 1fr 1fr;
210
219
  gap: var(--spacing-xs);
220
+ margin: 0 var(--spacing-xs);
211
221
  }
212
222
  </style>
@@ -16,7 +16,7 @@
16
16
  :disabled="disabled"
17
17
  @input="inputHandler"
18
18
  >
19
- <wt-icon :icon="radioIcon"></wt-icon>
19
+ <wt-icon class="wt-radio__icon" :icon="radioIcon"></wt-icon>
20
20
  <!-- @slot Custom input label -->
21
21
  <slot name="label" v-bind="{ label, isChecked, disabled }">
22
22
  <div v-if="label" class="wt-radio__label">{{ label }}</div>
@@ -109,6 +109,10 @@
109
109
  pointer-events: none;
110
110
  }
111
111
 
112
+ .wt-radio__icon {
113
+ flex: 0 0 var(--icon-md-size);
114
+ }
115
+
112
116
  .wt-radio:hover {
113
117
  .wt-radio__label {
114
118
  color: var(--form-label--hover-color);
@@ -6,24 +6,24 @@
6
6
 
7
7
  /*Sizing*/
8
8
  --dp-button-heigh: 32px; /*Size for buttons in overlays*/
9
- --dp-month-year-row-height: 32px; /*Height of the month-year select row*/
10
- --dp-month-year-row-button-size: 32px; /*Specific height for the next/previous buttons*/
9
+ --dp-month-year-row-height: 24px; /*Height of the month-year select row*/
10
+ --dp-month-year-row-button-size: 24px; /*Specific height for the next/previous buttons*/
11
11
  --dp-button-icon-height: var(--icon-md-size); /*Icon sizing in buttons*/
12
- --dp-cell-size: 32px; /*Width and height of calendar cell*/
12
+ --dp-cell-size: 24px; /*Width and height of calendar cell*/
13
13
  --dp-cell-padding: var(--spacing-2xs); /*Padding in the cell*/
14
14
  --dp-common-padding: var(--spacing-xs); /*Common padding used*/
15
15
  --dp-input-icon-padding: calc(var(--icon-md-size) + 2 * var(--spacing-xs)); /*Padding on the left side of the input if icon is present*/
16
16
  --dp-input-padding: calc(var(--spacing-xs) - 1px) calc(var(--icon-md-size) + 2 * var(--spacing-xs)); /*Padding in the input*/
17
17
  //--dp-menu-min-width: 260px; /*Adjust the min width of the menu*/
18
18
  --dp-action-buttons-padding: 2px 5px; /*Adjust padding for the action buttons in action row*/
19
- --dp-row-maring: var(--spacing-xs); /*Adjust the spacing between rows in the calendar*/
19
+ --dp-row-maring: var(--spacing-3xs); /*Adjust the spacing between rows in the calendar*/
20
20
  --dp-calendar-header-cell-padding: 0.5rem; /*Adjust padding in calendar header cells*/
21
21
  --dp-two-calendars-spacing: 10px; /*Space between multiple calendars*/
22
22
  --dp-overlay-col-padding: 3px; /*Padding in the overlay column*/
23
- --dp-time-inc-dec-button-size: 32px; /*Sizing for arrow buttons in the time picker*/
23
+ --dp-time-inc-dec-button-size: 24px; /*Sizing for arrow buttons in the time picker*/
24
24
 
25
25
  /*Font sizes*/
26
- --dp-font-size: 14px; /*Default font-size*/
26
+ --dp-font-size: 12px; /*Default font-size*/
27
27
  --dp-preview-font-size: 12px; /*Font size of the date preview in the action row*/
28
28
  --dp-time-font-size: 12px; /*Font size in the time picker*/
29
29