@skbkontur/react-ui 6.1.6 → 6.1.7-1c902.0
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/components/Checkbox/Checkbox.d.ts +5 -0
- package/components/Checkbox/Checkbox.js +42 -21
- package/components/Checkbox/Checkbox.js.map +1 -1
- package/components/Checkbox/Checkbox.mixins.d.ts +2 -0
- package/components/Checkbox/Checkbox.mixins.js +6 -0
- package/components/Checkbox/Checkbox.mixins.js.map +1 -1
- package/components/Checkbox/Checkbox.styles.d.ts +7 -0
- package/components/Checkbox/Checkbox.styles.js +23 -2
- package/components/Checkbox/Checkbox.styles.js.map +1 -1
- package/components/Group/Group.js +3 -2
- package/components/Group/Group.js.map +1 -1
- package/components/Input/Input.d.ts +1 -1
- package/components/Input/Input.js.map +1 -1
- package/components/MenuItem/MenuItem.js +1 -0
- package/components/MenuItem/MenuItem.js.map +1 -1
- package/components/MenuItem/MenuItem.styles.d.ts +1 -0
- package/components/MenuItem/MenuItem.styles.js +10 -7
- package/components/MenuItem/MenuItem.styles.js.map +1 -1
- package/components/Radio/Radio.d.ts +4 -0
- package/components/Radio/Radio.js +20 -1
- package/components/Radio/Radio.js.map +1 -1
- package/components/Radio/Radio.mixins.d.ts +2 -0
- package/components/Radio/Radio.mixins.js +6 -0
- package/components/Radio/Radio.mixins.js.map +1 -1
- package/components/Radio/Radio.styles.d.ts +6 -0
- package/components/Radio/Radio.styles.js +22 -4
- package/components/Radio/Radio.styles.js.map +1 -1
- package/components/TimePicker/TimeClockIcon.d.ts +3 -0
- package/components/TimePicker/TimeClockIcon.js +11 -0
- package/components/TimePicker/TimeClockIcon.js.map +1 -0
- package/components/TimePicker/TimePicker.d.ts +137 -0
- package/components/TimePicker/TimePicker.js +648 -0
- package/components/TimePicker/TimePicker.js.map +1 -0
- package/components/TimePicker/TimePicker.styles.d.ts +11 -0
- package/components/TimePicker/TimePicker.styles.js +36 -0
- package/components/TimePicker/TimePicker.styles.js.map +1 -0
- package/components/TimePicker/TimePickerItems.d.ts +20 -0
- package/components/TimePicker/TimePickerItems.js +108 -0
- package/components/TimePicker/TimePickerItems.js.map +1 -0
- package/components/TimePicker/TimePickerMobilePopup.d.ts +45 -0
- package/components/TimePicker/TimePickerMobilePopup.js +45 -0
- package/components/TimePicker/TimePickerMobilePopup.js.map +1 -0
- package/components/TimePicker/TimePickerPopup.d.ts +23 -0
- package/components/TimePicker/TimePickerPopup.js +18 -0
- package/components/TimePicker/TimePickerPopup.js.map +1 -0
- package/components/TimePicker/helpers/TimePicker.constants.d.ts +24 -0
- package/components/TimePicker/helpers/TimePicker.constants.js +33 -0
- package/components/TimePicker/helpers/TimePicker.constants.js.map +1 -0
- package/components/TimePicker/helpers/TimePicker.editing.d.ts +23 -0
- package/components/TimePicker/helpers/TimePicker.editing.js +101 -0
- package/components/TimePicker/helpers/TimePicker.editing.js.map +1 -0
- package/components/TimePicker/helpers/TimePicker.layout.d.ts +6 -0
- package/components/TimePicker/helpers/TimePicker.layout.js +49 -0
- package/components/TimePicker/helpers/TimePicker.layout.js.map +1 -0
- package/components/TimePicker/helpers/TimePicker.selection.d.ts +5 -0
- package/components/TimePicker/helpers/TimePicker.selection.js +23 -0
- package/components/TimePicker/helpers/TimePicker.selection.js.map +1 -0
- package/components/TimePicker/helpers/TimePicker.shared.d.ts +82 -0
- package/components/TimePicker/helpers/TimePicker.shared.js +94 -0
- package/components/TimePicker/helpers/TimePicker.shared.js.map +1 -0
- package/components/TimePicker/helpers/TimePicker.value.d.ts +59 -0
- package/components/TimePicker/helpers/TimePicker.value.js +175 -0
- package/components/TimePicker/helpers/TimePicker.value.js.map +1 -0
- package/components/TimePicker/helpers/scrollSelectedItemIntoView.d.ts +4 -0
- package/components/TimePicker/helpers/scrollSelectedItemIntoView.js +24 -0
- package/components/TimePicker/helpers/scrollSelectedItemIntoView.js.map +1 -0
- package/components/TimePicker/helpers/validateTimePicker.d.ts +8 -0
- package/components/TimePicker/helpers/validateTimePicker.js +17 -0
- package/components/TimePicker/helpers/validateTimePicker.js.map +1 -0
- package/components/TimePicker/hooks/useTimePickerDropdown.d.ts +18 -0
- package/components/TimePicker/hooks/useTimePickerDropdown.js +85 -0
- package/components/TimePicker/hooks/useTimePickerDropdown.js.map +1 -0
- package/components/TimePicker/hooks/useTimePickerSelection.d.ts +18 -0
- package/components/TimePicker/hooks/useTimePickerSelection.js +66 -0
- package/components/TimePicker/hooks/useTimePickerSelection.js.map +1 -0
- package/components/TimePicker/hooks/useTimePickerValue.d.ts +27 -0
- package/components/TimePicker/hooks/useTimePickerValue.js +76 -0
- package/components/TimePicker/hooks/useTimePickerValue.js.map +1 -0
- package/components/TimePicker/index.d.ts +2 -0
- package/components/TimePicker/index.js +2 -0
- package/components/TimePicker/index.js.map +1 -0
- package/components/TimePicker/locale/index.d.ts +4 -0
- package/components/TimePicker/locale/index.js +9 -0
- package/components/TimePicker/locale/index.js.map +1 -0
- package/components/TimePicker/locale/locales/en.d.ts +2 -0
- package/components/TimePicker/locale/locales/en.js +5 -0
- package/components/TimePicker/locale/locales/en.js.map +1 -0
- package/components/TimePicker/locale/locales/ru.d.ts +2 -0
- package/components/TimePicker/locale/locales/ru.js +5 -0
- package/components/TimePicker/locale/locales/ru.js.map +1 -0
- package/components/TimePicker/locale/types.d.ts +4 -0
- package/components/TimePicker/locale/types.js +2 -0
- package/components/TimePicker/locale/types.js.map +1 -0
- package/components/Toggle/Toggle.d.ts +5 -0
- package/components/Toggle/Toggle.js +46 -22
- package/components/Toggle/Toggle.js.map +1 -1
- package/components/Toggle/Toggle.mixins.d.ts +2 -0
- package/components/Toggle/Toggle.mixins.js +6 -0
- package/components/Toggle/Toggle.mixins.js.map +1 -1
- package/components/Toggle/Toggle.styles.d.ts +9 -0
- package/components/Toggle/Toggle.styles.js +29 -2
- package/components/Toggle/Toggle.styles.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/internal/NativeTimeInput/NativeTimeInput.d.ts +16 -0
- package/internal/NativeTimeInput/NativeTimeInput.js +25 -0
- package/internal/NativeTimeInput/NativeTimeInput.js.map +1 -0
- package/internal/NativeTimeInput/NativeTimeInput.styles.d.ts +3 -0
- package/internal/NativeTimeInput/NativeTimeInput.styles.js +15 -0
- package/internal/NativeTimeInput/NativeTimeInput.styles.js.map +1 -0
- package/internal/NativeTimeInput/NativeTimeInput.utils.d.ts +7 -0
- package/internal/NativeTimeInput/NativeTimeInput.utils.js +28 -0
- package/internal/NativeTimeInput/NativeTimeInput.utils.js.map +1 -0
- package/internal/NativeTimeInput/index.d.ts +1 -0
- package/internal/NativeTimeInput/index.js +2 -0
- package/internal/NativeTimeInput/index.js.map +1 -0
- package/internal/TimeInput/TimeFragments.d.ts +15 -0
- package/internal/TimeInput/TimeFragments.js +72 -0
- package/internal/TimeInput/TimeFragments.js.map +1 -0
- package/internal/TimeInput/TimeFragments.styles.d.ts +12 -0
- package/internal/TimeInput/TimeFragments.styles.js +43 -0
- package/internal/TimeInput/TimeFragments.styles.js.map +1 -0
- package/internal/TimeInput/TimeInput.d.ts +22 -0
- package/internal/TimeInput/TimeInput.js +103 -0
- package/internal/TimeInput/TimeInput.js.map +1 -0
- package/internal/TimeInput/TimeInput.styles.d.ts +6 -0
- package/internal/TimeInput/TimeInput.styles.js +21 -0
- package/internal/TimeInput/TimeInput.styles.js.map +1 -0
- package/internal/TimeInput/index.d.ts +1 -0
- package/internal/TimeInput/index.js +2 -0
- package/internal/TimeInput/index.js.map +1 -0
- package/internal/icons2022/TimeClockIcon/TimeClockIcon16Light.d.ts +2 -0
- package/internal/icons2022/TimeClockIcon/TimeClockIcon16Light.js +20 -0
- package/internal/icons2022/TimeClockIcon/TimeClockIcon16Light.js.map +1 -0
- package/internal/icons2022/TimeClockIcon/TimeClockIcon20Light.d.ts +2 -0
- package/internal/icons2022/TimeClockIcon/TimeClockIcon20Light.js +20 -0
- package/internal/icons2022/TimeClockIcon/TimeClockIcon20Light.js.map +1 -0
- package/internal/icons2022/TimeClockIcon/TimeClockIcon24Regular.d.ts +2 -0
- package/internal/icons2022/TimeClockIcon/TimeClockIcon24Regular.js +20 -0
- package/internal/icons2022/TimeClockIcon/TimeClockIcon24Regular.js.map +1 -0
- package/internal/themes/BasicTheme.d.ts +65 -0
- package/internal/themes/BasicTheme.js +253 -0
- package/internal/themes/BasicTheme.js.map +1 -1
- package/internal/themes/DarkTheme6_0.js +1 -0
- package/internal/themes/DarkTheme6_0.js.map +1 -1
- package/lib/locale/types.d.ts +2 -0
- package/lib/locale/types.js.map +1 -1
- package/lib/utils.d.ts +2 -0
- package/lib/utils.js +1 -0
- package/lib/utils.js.map +1 -1
- package/package.json +9 -1
|
@@ -67,6 +67,13 @@ export declare class BasicThemeClass {
|
|
|
67
67
|
static mobileMediaQuery: string;
|
|
68
68
|
static transitionDuration: string;
|
|
69
69
|
static transitionTimingFunction: string;
|
|
70
|
+
static commentFontSizeSmall: string;
|
|
71
|
+
static commentFontSizeMedium: string;
|
|
72
|
+
static commentFontSizeLarge: string;
|
|
73
|
+
static commentLineHeightSmall: string;
|
|
74
|
+
static commentLineHeightMedium: string;
|
|
75
|
+
static commentLineHeightLarge: string;
|
|
76
|
+
static commentTextColor: string;
|
|
70
77
|
static linkColor: string;
|
|
71
78
|
static linkTextDecoration: string;
|
|
72
79
|
static linkHoverColor: string;
|
|
@@ -757,6 +764,40 @@ export declare class BasicThemeClass {
|
|
|
757
764
|
static mobileCalendarCellFontSize: string;
|
|
758
765
|
static mobileCalendarGridRowSpacing: string;
|
|
759
766
|
static mobileCalendarWrapperHeight: string;
|
|
767
|
+
static timePickerItemGapSmall: string;
|
|
768
|
+
static timePickerItemGapMedium: string;
|
|
769
|
+
static timePickerItemGapLarge: string;
|
|
770
|
+
static timePickerSuffixGapSmall: string;
|
|
771
|
+
static timePickerSuffixGapMedium: string;
|
|
772
|
+
static timePickerSuffixGapLarge: string;
|
|
773
|
+
static timePickerInputMinWidthSmall: string;
|
|
774
|
+
static timePickerInputMinWidthMedium: string;
|
|
775
|
+
static timePickerInputMinWidthLarge: string;
|
|
776
|
+
static timePickerInputMinWidthWithSecondsSmall: string;
|
|
777
|
+
static timePickerInputMinWidthWithSecondsMedium: string;
|
|
778
|
+
static timePickerInputMinWidthWithSecondsLarge: string;
|
|
779
|
+
static timePickerInputMinWidthWithIconSmall: string;
|
|
780
|
+
static timePickerInputMinWidthWithIconMedium: string;
|
|
781
|
+
static timePickerInputMinWidthWithIconLarge: string;
|
|
782
|
+
static timePickerInputMinWidthWithIconAndSecondsSmall: string;
|
|
783
|
+
static timePickerInputMinWidthWithIconAndSecondsMedium: string;
|
|
784
|
+
static timePickerInputMinWidthWithIconAndSecondsLarge: string;
|
|
785
|
+
static timePickerSeparatorOffsetTopSmall: string;
|
|
786
|
+
static timePickerSeparatorOffsetTopMedium: string;
|
|
787
|
+
static timePickerSeparatorOffsetTopLarge: string;
|
|
788
|
+
static timePickerSeparatorPaddingXSmall: string;
|
|
789
|
+
static timePickerSeparatorPaddingXMedium: string;
|
|
790
|
+
static timePickerSeparatorPaddingXLarge: string;
|
|
791
|
+
static get timePickerPopupBg(): string;
|
|
792
|
+
static get timePickerPopupBorderRadius(): string;
|
|
793
|
+
static get timePickerPopupShadow(): string;
|
|
794
|
+
static get timePickerMaskColor(): string;
|
|
795
|
+
static timePickerSelectedBgColor: string;
|
|
796
|
+
static timePickerSelectedTextColor: string;
|
|
797
|
+
static get timePickerMenuOffsetY(): string;
|
|
798
|
+
static get timePickerMenuMaxHeightSmall(): string;
|
|
799
|
+
static get timePickerMenuMaxHeightMedium(): string;
|
|
800
|
+
static get timePickerMenuMaxHeightLarge(): string;
|
|
760
801
|
static rangeCalendarCellBg: string;
|
|
761
802
|
static rangeCalendarCellEndBg: string;
|
|
762
803
|
static rangeCalendarCellEndColor: string;
|
|
@@ -1067,6 +1108,13 @@ export declare class BasicThemeClass {
|
|
|
1067
1108
|
static toggleBgFocus: string;
|
|
1068
1109
|
static toggleCaptionGap: string;
|
|
1069
1110
|
static toggleButtonOffsetY: string;
|
|
1111
|
+
static get toggleCommentFontSizeSmall(): string;
|
|
1112
|
+
static get toggleCommentFontSizeMedium(): string;
|
|
1113
|
+
static get toggleCommentFontSizeLarge(): string;
|
|
1114
|
+
static get toggleCommentLineHeightSmall(): string;
|
|
1115
|
+
static get toggleCommentLineHeightMedium(): string;
|
|
1116
|
+
static get toggleCommentLineHeightLarge(): string;
|
|
1117
|
+
static get toggleCommentTextColor(): string;
|
|
1070
1118
|
static get toggleOutlineColorFocus(): string;
|
|
1071
1119
|
static toggleContainerBg: string;
|
|
1072
1120
|
static toggleHandleBg: string;
|
|
@@ -1179,6 +1227,13 @@ export declare class BasicThemeClass {
|
|
|
1179
1227
|
static checkboxBoxSizeMedium: string;
|
|
1180
1228
|
static checkboxBoxSizeLarge: string;
|
|
1181
1229
|
static checkboxCaptionGap: string;
|
|
1230
|
+
static get checkboxCommentFontSizeSmall(): string;
|
|
1231
|
+
static get checkboxCommentFontSizeMedium(): string;
|
|
1232
|
+
static get checkboxCommentFontSizeLarge(): string;
|
|
1233
|
+
static get checkboxCommentLineHeightSmall(): string;
|
|
1234
|
+
static get checkboxCommentLineHeightMedium(): string;
|
|
1235
|
+
static get checkboxCommentLineHeightLarge(): string;
|
|
1236
|
+
static get checkboxCommentTextColor(): string;
|
|
1182
1237
|
static get checkboxPaddingYSmall(): string;
|
|
1183
1238
|
static get checkboxPaddingYMedium(): string;
|
|
1184
1239
|
static get checkboxPaddingYLarge(): string;
|
|
@@ -1270,6 +1325,13 @@ export declare class BasicThemeClass {
|
|
|
1270
1325
|
static get radioLineHeightSmall(): string;
|
|
1271
1326
|
static get radioLineHeightMedium(): string;
|
|
1272
1327
|
static get radioLineHeightLarge(): string;
|
|
1328
|
+
static get radioCommentFontSizeSmall(): string;
|
|
1329
|
+
static get radioCommentFontSizeMedium(): string;
|
|
1330
|
+
static get radioCommentFontSizeLarge(): string;
|
|
1331
|
+
static get radioCommentLineHeightSmall(): string;
|
|
1332
|
+
static get radioCommentLineHeightMedium(): string;
|
|
1333
|
+
static get radioCommentLineHeightLarge(): string;
|
|
1334
|
+
static get radioCommentTextColor(): string;
|
|
1273
1335
|
static radioCaptionGap: string;
|
|
1274
1336
|
static get radioPaddingYSmall(): string;
|
|
1275
1337
|
static get radioPaddingYMedium(): string;
|
|
@@ -1295,6 +1357,9 @@ export declare class BasicThemeClass {
|
|
|
1295
1357
|
static get radioCheckedHoverBgColor(): string;
|
|
1296
1358
|
static get radioDisabledBg(): string;
|
|
1297
1359
|
static get radioDisabledShadow(): string;
|
|
1360
|
+
/**
|
|
1361
|
+
* @deprecated Не используется. Будет удалена в `7.0`.
|
|
1362
|
+
*/
|
|
1298
1363
|
static radioCaptionDisplay: string;
|
|
1299
1364
|
static radioBorderWidthCompensation: string;
|
|
1300
1365
|
static radioCircleOffsetY: string;
|
|
@@ -1364,6 +1364,74 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
1364
1364
|
enumerable: false,
|
|
1365
1365
|
configurable: true
|
|
1366
1366
|
});
|
|
1367
|
+
Object.defineProperty(BasicThemeClass, "timePickerPopupBg", {
|
|
1368
|
+
get: function () {
|
|
1369
|
+
return this.bgSecondary;
|
|
1370
|
+
},
|
|
1371
|
+
enumerable: false,
|
|
1372
|
+
configurable: true
|
|
1373
|
+
});
|
|
1374
|
+
Object.defineProperty(BasicThemeClass, "timePickerPopupBorderRadius", {
|
|
1375
|
+
get: function () {
|
|
1376
|
+
return this.menuBorderRadius;
|
|
1377
|
+
},
|
|
1378
|
+
enumerable: false,
|
|
1379
|
+
configurable: true
|
|
1380
|
+
});
|
|
1381
|
+
Object.defineProperty(BasicThemeClass, "timePickerPopupShadow", {
|
|
1382
|
+
get: function () {
|
|
1383
|
+
return this.menuShadow;
|
|
1384
|
+
},
|
|
1385
|
+
enumerable: false,
|
|
1386
|
+
configurable: true
|
|
1387
|
+
});
|
|
1388
|
+
Object.defineProperty(BasicThemeClass, "timePickerMaskColor", {
|
|
1389
|
+
get: function () {
|
|
1390
|
+
return this.placeholderColor;
|
|
1391
|
+
},
|
|
1392
|
+
enumerable: false,
|
|
1393
|
+
configurable: true
|
|
1394
|
+
});
|
|
1395
|
+
Object.defineProperty(BasicThemeClass, "timePickerMenuOffsetY", {
|
|
1396
|
+
get: function () {
|
|
1397
|
+
return "".concat(parseInt(this.menuOffsetY) - 1, "px");
|
|
1398
|
+
},
|
|
1399
|
+
enumerable: false,
|
|
1400
|
+
configurable: true
|
|
1401
|
+
});
|
|
1402
|
+
Object.defineProperty(BasicThemeClass, "timePickerMenuMaxHeightSmall", {
|
|
1403
|
+
get: function () {
|
|
1404
|
+
var timePickerVisibleItemsCount = 8;
|
|
1405
|
+
var timePickerVisibleItemsGapCount = timePickerVisibleItemsCount - 1;
|
|
1406
|
+
return "".concat((parseInt(this.menuItemLineHeightSmall) + parseInt(this.menuItemPaddingYSmall) * 2) *
|
|
1407
|
+
timePickerVisibleItemsCount +
|
|
1408
|
+
parseInt(this.menuItemGap) * timePickerVisibleItemsGapCount, "px");
|
|
1409
|
+
},
|
|
1410
|
+
enumerable: false,
|
|
1411
|
+
configurable: true
|
|
1412
|
+
});
|
|
1413
|
+
Object.defineProperty(BasicThemeClass, "timePickerMenuMaxHeightMedium", {
|
|
1414
|
+
get: function () {
|
|
1415
|
+
var timePickerVisibleItemsCount = 8;
|
|
1416
|
+
var timePickerVisibleItemsGapCount = timePickerVisibleItemsCount - 1;
|
|
1417
|
+
return "".concat((parseInt(this.menuItemLineHeightMedium) + parseInt(this.menuItemPaddingYMedium) * 2) *
|
|
1418
|
+
timePickerVisibleItemsCount +
|
|
1419
|
+
parseInt(this.menuItemGap) * timePickerVisibleItemsGapCount, "px");
|
|
1420
|
+
},
|
|
1421
|
+
enumerable: false,
|
|
1422
|
+
configurable: true
|
|
1423
|
+
});
|
|
1424
|
+
Object.defineProperty(BasicThemeClass, "timePickerMenuMaxHeightLarge", {
|
|
1425
|
+
get: function () {
|
|
1426
|
+
var timePickerVisibleItemsCount = 8;
|
|
1427
|
+
var timePickerVisibleItemsGapCount = timePickerVisibleItemsCount - 1;
|
|
1428
|
+
return "".concat((parseInt(this.menuItemLineHeightLarge) + parseInt(this.menuItemPaddingYLarge) * 2) *
|
|
1429
|
+
timePickerVisibleItemsCount +
|
|
1430
|
+
parseInt(this.menuItemGap) * timePickerVisibleItemsGapCount, "px");
|
|
1431
|
+
},
|
|
1432
|
+
enumerable: false,
|
|
1433
|
+
configurable: true
|
|
1434
|
+
});
|
|
1367
1435
|
Object.defineProperty(BasicThemeClass, "dateSelectMenuBg", {
|
|
1368
1436
|
//#endregion
|
|
1369
1437
|
//#region DateSelect
|
|
@@ -2285,6 +2353,55 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
2285
2353
|
enumerable: false,
|
|
2286
2354
|
configurable: true
|
|
2287
2355
|
});
|
|
2356
|
+
Object.defineProperty(BasicThemeClass, "toggleCommentFontSizeSmall", {
|
|
2357
|
+
get: function () {
|
|
2358
|
+
return this.commentFontSizeSmall;
|
|
2359
|
+
},
|
|
2360
|
+
enumerable: false,
|
|
2361
|
+
configurable: true
|
|
2362
|
+
});
|
|
2363
|
+
Object.defineProperty(BasicThemeClass, "toggleCommentFontSizeMedium", {
|
|
2364
|
+
get: function () {
|
|
2365
|
+
return this.commentFontSizeMedium;
|
|
2366
|
+
},
|
|
2367
|
+
enumerable: false,
|
|
2368
|
+
configurable: true
|
|
2369
|
+
});
|
|
2370
|
+
Object.defineProperty(BasicThemeClass, "toggleCommentFontSizeLarge", {
|
|
2371
|
+
get: function () {
|
|
2372
|
+
return this.commentFontSizeLarge;
|
|
2373
|
+
},
|
|
2374
|
+
enumerable: false,
|
|
2375
|
+
configurable: true
|
|
2376
|
+
});
|
|
2377
|
+
Object.defineProperty(BasicThemeClass, "toggleCommentLineHeightSmall", {
|
|
2378
|
+
get: function () {
|
|
2379
|
+
return this.commentLineHeightSmall;
|
|
2380
|
+
},
|
|
2381
|
+
enumerable: false,
|
|
2382
|
+
configurable: true
|
|
2383
|
+
});
|
|
2384
|
+
Object.defineProperty(BasicThemeClass, "toggleCommentLineHeightMedium", {
|
|
2385
|
+
get: function () {
|
|
2386
|
+
return this.commentLineHeightMedium;
|
|
2387
|
+
},
|
|
2388
|
+
enumerable: false,
|
|
2389
|
+
configurable: true
|
|
2390
|
+
});
|
|
2391
|
+
Object.defineProperty(BasicThemeClass, "toggleCommentLineHeightLarge", {
|
|
2392
|
+
get: function () {
|
|
2393
|
+
return this.commentLineHeightLarge;
|
|
2394
|
+
},
|
|
2395
|
+
enumerable: false,
|
|
2396
|
+
configurable: true
|
|
2397
|
+
});
|
|
2398
|
+
Object.defineProperty(BasicThemeClass, "toggleCommentTextColor", {
|
|
2399
|
+
get: function () {
|
|
2400
|
+
return this.commentTextColor;
|
|
2401
|
+
},
|
|
2402
|
+
enumerable: false,
|
|
2403
|
+
configurable: true
|
|
2404
|
+
});
|
|
2288
2405
|
Object.defineProperty(BasicThemeClass, "toggleOutlineColorFocus", {
|
|
2289
2406
|
get: function () {
|
|
2290
2407
|
return this.outlineColorFocus;
|
|
@@ -2599,6 +2716,55 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
2599
2716
|
enumerable: false,
|
|
2600
2717
|
configurable: true
|
|
2601
2718
|
});
|
|
2719
|
+
Object.defineProperty(BasicThemeClass, "checkboxCommentFontSizeSmall", {
|
|
2720
|
+
get: function () {
|
|
2721
|
+
return this.commentFontSizeSmall;
|
|
2722
|
+
},
|
|
2723
|
+
enumerable: false,
|
|
2724
|
+
configurable: true
|
|
2725
|
+
});
|
|
2726
|
+
Object.defineProperty(BasicThemeClass, "checkboxCommentFontSizeMedium", {
|
|
2727
|
+
get: function () {
|
|
2728
|
+
return this.commentFontSizeMedium;
|
|
2729
|
+
},
|
|
2730
|
+
enumerable: false,
|
|
2731
|
+
configurable: true
|
|
2732
|
+
});
|
|
2733
|
+
Object.defineProperty(BasicThemeClass, "checkboxCommentFontSizeLarge", {
|
|
2734
|
+
get: function () {
|
|
2735
|
+
return this.commentFontSizeLarge;
|
|
2736
|
+
},
|
|
2737
|
+
enumerable: false,
|
|
2738
|
+
configurable: true
|
|
2739
|
+
});
|
|
2740
|
+
Object.defineProperty(BasicThemeClass, "checkboxCommentLineHeightSmall", {
|
|
2741
|
+
get: function () {
|
|
2742
|
+
return this.commentLineHeightSmall;
|
|
2743
|
+
},
|
|
2744
|
+
enumerable: false,
|
|
2745
|
+
configurable: true
|
|
2746
|
+
});
|
|
2747
|
+
Object.defineProperty(BasicThemeClass, "checkboxCommentLineHeightMedium", {
|
|
2748
|
+
get: function () {
|
|
2749
|
+
return this.commentLineHeightMedium;
|
|
2750
|
+
},
|
|
2751
|
+
enumerable: false,
|
|
2752
|
+
configurable: true
|
|
2753
|
+
});
|
|
2754
|
+
Object.defineProperty(BasicThemeClass, "checkboxCommentLineHeightLarge", {
|
|
2755
|
+
get: function () {
|
|
2756
|
+
return this.commentLineHeightLarge;
|
|
2757
|
+
},
|
|
2758
|
+
enumerable: false,
|
|
2759
|
+
configurable: true
|
|
2760
|
+
});
|
|
2761
|
+
Object.defineProperty(BasicThemeClass, "checkboxCommentTextColor", {
|
|
2762
|
+
get: function () {
|
|
2763
|
+
return this.commentTextColor;
|
|
2764
|
+
},
|
|
2765
|
+
enumerable: false,
|
|
2766
|
+
configurable: true
|
|
2767
|
+
});
|
|
2602
2768
|
Object.defineProperty(BasicThemeClass, "checkboxPaddingYSmall", {
|
|
2603
2769
|
get: function () {
|
|
2604
2770
|
var controlHeight = parseInt(this.controlHeightSmall, 10) || 0;
|
|
@@ -2980,6 +3146,55 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
2980
3146
|
enumerable: false,
|
|
2981
3147
|
configurable: true
|
|
2982
3148
|
});
|
|
3149
|
+
Object.defineProperty(BasicThemeClass, "radioCommentFontSizeSmall", {
|
|
3150
|
+
get: function () {
|
|
3151
|
+
return this.commentFontSizeSmall;
|
|
3152
|
+
},
|
|
3153
|
+
enumerable: false,
|
|
3154
|
+
configurable: true
|
|
3155
|
+
});
|
|
3156
|
+
Object.defineProperty(BasicThemeClass, "radioCommentFontSizeMedium", {
|
|
3157
|
+
get: function () {
|
|
3158
|
+
return this.commentFontSizeMedium;
|
|
3159
|
+
},
|
|
3160
|
+
enumerable: false,
|
|
3161
|
+
configurable: true
|
|
3162
|
+
});
|
|
3163
|
+
Object.defineProperty(BasicThemeClass, "radioCommentFontSizeLarge", {
|
|
3164
|
+
get: function () {
|
|
3165
|
+
return this.commentFontSizeLarge;
|
|
3166
|
+
},
|
|
3167
|
+
enumerable: false,
|
|
3168
|
+
configurable: true
|
|
3169
|
+
});
|
|
3170
|
+
Object.defineProperty(BasicThemeClass, "radioCommentLineHeightSmall", {
|
|
3171
|
+
get: function () {
|
|
3172
|
+
return this.commentLineHeightSmall;
|
|
3173
|
+
},
|
|
3174
|
+
enumerable: false,
|
|
3175
|
+
configurable: true
|
|
3176
|
+
});
|
|
3177
|
+
Object.defineProperty(BasicThemeClass, "radioCommentLineHeightMedium", {
|
|
3178
|
+
get: function () {
|
|
3179
|
+
return this.commentLineHeightMedium;
|
|
3180
|
+
},
|
|
3181
|
+
enumerable: false,
|
|
3182
|
+
configurable: true
|
|
3183
|
+
});
|
|
3184
|
+
Object.defineProperty(BasicThemeClass, "radioCommentLineHeightLarge", {
|
|
3185
|
+
get: function () {
|
|
3186
|
+
return this.commentLineHeightLarge;
|
|
3187
|
+
},
|
|
3188
|
+
enumerable: false,
|
|
3189
|
+
configurable: true
|
|
3190
|
+
});
|
|
3191
|
+
Object.defineProperty(BasicThemeClass, "radioCommentTextColor", {
|
|
3192
|
+
get: function () {
|
|
3193
|
+
return this.commentTextColor;
|
|
3194
|
+
},
|
|
3195
|
+
enumerable: false,
|
|
3196
|
+
configurable: true
|
|
3197
|
+
});
|
|
2983
3198
|
Object.defineProperty(BasicThemeClass, "radioPaddingYSmall", {
|
|
2984
3199
|
get: function () {
|
|
2985
3200
|
var controlHeight = parseInt(this.controlHeightSmall, 10) || 0;
|
|
@@ -3867,6 +4082,13 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
3867
4082
|
BasicThemeClass.mobileMediaQuery = '(max-width: 576px)';
|
|
3868
4083
|
BasicThemeClass.transitionDuration = '100ms';
|
|
3869
4084
|
BasicThemeClass.transitionTimingFunction = 'cubic-bezier(0.5, 1, 0.89, 1)';
|
|
4085
|
+
BasicThemeClass.commentFontSizeSmall = '12px';
|
|
4086
|
+
BasicThemeClass.commentFontSizeMedium = '14px';
|
|
4087
|
+
BasicThemeClass.commentFontSizeLarge = '16px';
|
|
4088
|
+
BasicThemeClass.commentLineHeightSmall = '16px';
|
|
4089
|
+
BasicThemeClass.commentLineHeightMedium = '20px';
|
|
4090
|
+
BasicThemeClass.commentLineHeightLarge = '22px';
|
|
4091
|
+
BasicThemeClass.commentTextColor = colors.textNeutralSoft;
|
|
3870
4092
|
//#endregion Common variables
|
|
3871
4093
|
//#region Link
|
|
3872
4094
|
BasicThemeClass.linkColor = colors.textAccentHeavy;
|
|
@@ -4313,6 +4535,34 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
4313
4535
|
BasicThemeClass.mobileCalendarGridRowSpacing = '8px';
|
|
4314
4536
|
BasicThemeClass.mobileCalendarWrapperHeight = '304px';
|
|
4315
4537
|
//#endregion DatePicker
|
|
4538
|
+
//#region TimePicker
|
|
4539
|
+
BasicThemeClass.timePickerItemGapSmall = '8px';
|
|
4540
|
+
BasicThemeClass.timePickerItemGapMedium = '8px';
|
|
4541
|
+
BasicThemeClass.timePickerItemGapLarge = '8px';
|
|
4542
|
+
BasicThemeClass.timePickerSuffixGapSmall = '4px';
|
|
4543
|
+
BasicThemeClass.timePickerSuffixGapMedium = '6px';
|
|
4544
|
+
BasicThemeClass.timePickerSuffixGapLarge = '8px';
|
|
4545
|
+
BasicThemeClass.timePickerInputMinWidthSmall = '60px';
|
|
4546
|
+
BasicThemeClass.timePickerInputMinWidthMedium = '74px';
|
|
4547
|
+
BasicThemeClass.timePickerInputMinWidthLarge = '88px';
|
|
4548
|
+
BasicThemeClass.timePickerInputMinWidthWithSecondsSmall = '86px';
|
|
4549
|
+
BasicThemeClass.timePickerInputMinWidthWithSecondsMedium = '102px';
|
|
4550
|
+
BasicThemeClass.timePickerInputMinWidthWithSecondsLarge = '120px';
|
|
4551
|
+
BasicThemeClass.timePickerInputMinWidthWithIconSmall = '80px';
|
|
4552
|
+
BasicThemeClass.timePickerInputMinWidthWithIconMedium = '100px';
|
|
4553
|
+
BasicThemeClass.timePickerInputMinWidthWithIconLarge = '120px';
|
|
4554
|
+
BasicThemeClass.timePickerInputMinWidthWithIconAndSecondsSmall = '106px';
|
|
4555
|
+
BasicThemeClass.timePickerInputMinWidthWithIconAndSecondsMedium = '128px';
|
|
4556
|
+
BasicThemeClass.timePickerInputMinWidthWithIconAndSecondsLarge = '152px';
|
|
4557
|
+
BasicThemeClass.timePickerSeparatorOffsetTopSmall = '-1px';
|
|
4558
|
+
BasicThemeClass.timePickerSeparatorOffsetTopMedium = '-1px';
|
|
4559
|
+
BasicThemeClass.timePickerSeparatorOffsetTopLarge = '-2px';
|
|
4560
|
+
BasicThemeClass.timePickerSeparatorPaddingXSmall = '1px';
|
|
4561
|
+
BasicThemeClass.timePickerSeparatorPaddingXMedium = '2px';
|
|
4562
|
+
BasicThemeClass.timePickerSeparatorPaddingXLarge = '2px';
|
|
4563
|
+
BasicThemeClass.timePickerSelectedBgColor = '';
|
|
4564
|
+
BasicThemeClass.timePickerSelectedTextColor = '';
|
|
4565
|
+
//#endregion TimePicker
|
|
4316
4566
|
//#region DateRangePicker
|
|
4317
4567
|
BasicThemeClass.rangeCalendarCellBg = colors.shapeFaintNeutralAlpha;
|
|
4318
4568
|
BasicThemeClass.rangeCalendarCellEndBg = colors.shapeBoldAccent;
|
|
@@ -4617,6 +4867,9 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
4617
4867
|
BasicThemeClass.radioHoverShadow = 'none';
|
|
4618
4868
|
BasicThemeClass.radioActiveShadow = 'none';
|
|
4619
4869
|
BasicThemeClass.radioCheckedBorderColor = 'transparent';
|
|
4870
|
+
/**
|
|
4871
|
+
* @deprecated Не используется. Будет удалена в `7.0`.
|
|
4872
|
+
*/
|
|
4620
4873
|
BasicThemeClass.radioCaptionDisplay = 'inline-flex';
|
|
4621
4874
|
BasicThemeClass.radioBorderWidthCompensation = '0px';
|
|
4622
4875
|
BasicThemeClass.radioCircleOffsetY = '1px';
|