@skbkontur/react-ui 6.0.8 → 6.1.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/CHANGELOG.md +26 -0
- package/components/Autocomplete/Autocomplete.js +15 -4
- package/components/Autocomplete/Autocomplete.js.map +1 -1
- package/components/Button/Button.d.ts +1 -1
- package/components/Button/Button.js +5 -4
- package/components/Button/Button.js.map +1 -1
- package/components/Calendar/CalendarDay.js +3 -0
- package/components/Calendar/CalendarDay.js.map +1 -1
- package/components/Calendar/DayCellView.styles.d.ts +1 -0
- package/components/Calendar/DayCellView.styles.js +6 -3
- package/components/Calendar/DayCellView.styles.js.map +1 -1
- package/components/DatePicker/MobilePicker.js +1 -1
- package/components/DatePicker/MobilePicker.js.map +1 -1
- package/components/DateRangePicker/DateRangePicker.js +1 -1
- package/components/DateRangePicker/DateRangePicker.js.map +1 -1
- package/components/FxInput/FxInputRestoreBtn.js +1 -1
- package/components/FxInput/FxInputRestoreBtn.js.map +1 -1
- package/components/Input/Input.d.ts +19 -1
- package/components/Input/Input.js +10 -3
- package/components/Input/Input.js.map +1 -1
- package/components/Input/InputLayout/InputLayout.d.ts +3 -1
- package/components/Input/InputLayout/InputLayout.js +5 -2
- package/components/Input/InputLayout/InputLayout.js.map +1 -1
- package/components/Input/InputLayout/InputLayout.styles.d.ts +6 -0
- package/components/Input/InputLayout/InputLayout.styles.js +19 -1
- package/components/Input/InputLayout/InputLayout.styles.js.map +1 -1
- package/components/Input/InputLayout/InputLayoutAside.d.ts +2 -0
- package/components/Input/InputLayout/InputLayoutAside.js +2 -2
- package/components/Input/InputLayout/InputLayoutAside.js.map +1 -1
- package/components/Input/InputLayout/InputLayoutAsideCounter.d.ts +11 -0
- package/components/Input/InputLayout/InputLayoutAsideCounter.js +74 -0
- package/components/Input/InputLayout/InputLayoutAsideCounter.js.map +1 -0
- package/components/Loader/Loader.d.ts +12 -4
- package/components/Loader/Loader.js +18 -7
- package/components/Loader/Loader.js.map +1 -1
- package/components/MenuItem/MenuItem.d.ts +1 -0
- package/components/MenuItem/MenuItem.js +17 -1
- package/components/MenuItem/MenuItem.js.map +1 -1
- package/components/MenuItem/MenuItem.styles.d.ts +3 -0
- package/components/MenuItem/MenuItem.styles.js +25 -16
- package/components/MenuItem/MenuItem.styles.js.map +1 -1
- package/components/Select/Select.js +11 -1
- package/components/Select/Select.js.map +1 -1
- package/components/SingleToast/SingleToast.d.ts +9 -6
- package/components/SingleToast/SingleToast.js +9 -6
- package/components/SingleToast/SingleToast.js.map +1 -1
- package/components/Spinner/Spinner.d.ts +23 -33
- package/components/Spinner/Spinner.js +23 -19
- package/components/Spinner/Spinner.js.map +1 -1
- package/components/Spinner/Spinner.styles.d.ts +0 -3
- package/components/Spinner/Spinner.styles.js +6 -15
- package/components/Spinner/Spinner.styles.js.map +1 -1
- package/components/Switcher/Switcher.js +1 -0
- package/components/Switcher/Switcher.js.map +1 -1
- package/components/Textarea/Textarea.js +1 -1
- package/components/Textarea/Textarea.js.map +1 -1
- package/components/Textarea/Textarea.styles.d.ts +1 -0
- package/components/Textarea/Textarea.styles.js +7 -4
- package/components/Textarea/Textarea.styles.js.map +1 -1
- package/components/Textarea/TextareaCounter.d.ts +2 -0
- package/components/Textarea/TextareaCounter.js +22 -4
- package/components/Textarea/TextareaCounter.js.map +1 -1
- package/components/Toast/Toast.d.ts +13 -14
- package/components/Toast/Toast.js +3 -3
- package/components/Toast/Toast.js.map +1 -1
- package/components/Toast/ToastView.d.ts +8 -5
- package/components/Toast/ToastView.js +28 -8
- package/components/Toast/ToastView.js.map +1 -1
- package/components/Toast/ToastView.styles.d.ts +7 -0
- package/components/Toast/ToastView.styles.js +30 -8
- package/components/Toast/ToastView.styles.js.map +1 -1
- package/components/TokenInput/TokenInput.d.ts +18 -2
- package/components/TokenInput/TokenInput.js +236 -79
- package/components/TokenInput/TokenInput.js.map +1 -1
- package/components/TokenInput/TokenInput.styles.d.ts +1 -0
- package/components/TokenInput/TokenInput.styles.js +12 -9
- package/components/TokenInput/TokenInput.styles.js.map +1 -1
- package/components/TokenInput/TokenInputMenu.d.ts +2 -1
- package/components/TokenInput/TokenInputMenu.js +1 -1
- package/components/TokenInput/TokenInputMenu.js.map +1 -1
- package/components/TokenInput/TokenInputMobileMenu.d.ts +25 -0
- package/components/TokenInput/TokenInputMobileMenu.js +40 -0
- package/components/TokenInput/TokenInputMobileMenu.js.map +1 -0
- package/components/TokenInput/TokenInputReducer.d.ts +2 -0
- package/components/TokenInput/TokenInputReducer.js +14 -0
- package/components/TokenInput/TokenInputReducer.js.map +1 -1
- package/components/Tooltip/Tooltip.d.ts +4 -0
- package/components/Tooltip/Tooltip.js +50 -11
- package/components/Tooltip/Tooltip.js.map +1 -1
- package/internal/CloseButtonIcon/CloseButtonIcon.js +1 -1
- package/internal/CloseButtonIcon/CloseButtonIcon.js.map +1 -1
- package/internal/CommonWrapper/CommonWrapper.js +5 -0
- package/internal/CommonWrapper/CommonWrapper.js.map +1 -1
- package/internal/CustomComboBox/ComboBoxMenu.js +1 -1
- package/internal/CustomComboBox/ComboBoxMenu.js.map +1 -1
- package/internal/CustomComboBox/ComboBoxView.js +13 -2
- package/internal/CustomComboBox/ComboBoxView.js.map +1 -1
- package/internal/InputLikeText/InputLikeText.d.ts +1 -1
- package/internal/InputLikeText/InputLikeText.js.map +1 -1
- package/internal/Menu/Menu.js +3 -0
- package/internal/Menu/Menu.js.map +1 -1
- package/internal/Menu/Menu.styles.d.ts +1 -0
- package/internal/Menu/Menu.styles.js +13 -10
- package/internal/Menu/Menu.styles.js.map +1 -1
- package/internal/MenuMessage/MenuMessage.js +17 -1
- package/internal/MenuMessage/MenuMessage.js.map +1 -1
- package/internal/MenuMessage/MenuMessage.styles.d.ts +3 -0
- package/internal/MenuMessage/MenuMessage.styles.js +13 -4
- package/internal/MenuMessage/MenuMessage.styles.js.map +1 -1
- package/internal/MobilePopup/MobilePopup.d.ts +8 -0
- package/internal/MobilePopup/MobilePopup.js +34 -11
- package/internal/MobilePopup/MobilePopup.js.map +1 -1
- package/internal/MobilePopup/MobilePopup.styles.d.ts +7 -0
- package/internal/MobilePopup/MobilePopup.styles.js +34 -10
- package/internal/MobilePopup/MobilePopup.styles.js.map +1 -1
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.d.ts +8 -1
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.js +18 -1
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.js.map +1 -1
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.d.ts +3 -0
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.js +14 -4
- package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.js.map +1 -1
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.d.ts +4 -0
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.js +48 -11
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.js.map +1 -1
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.d.ts +6 -0
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.js +28 -8
- package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.js.map +1 -1
- package/internal/Popup/Popup.d.ts +9 -3
- package/internal/Popup/Popup.js +117 -15
- package/internal/Popup/Popup.js.map +1 -1
- package/internal/Popup/Popup.styles.js +1 -1
- package/internal/Popup/Popup.styles.js.map +1 -1
- package/internal/Popup/PopupHelper.d.ts +4 -0
- package/internal/Popup/PopupHelper.js +8 -0
- package/internal/Popup/PopupHelper.js.map +1 -1
- package/internal/Popup/PopupPin.d.ts +19 -4
- package/internal/Popup/PopupPin.js +109 -8
- package/internal/Popup/PopupPin.js.map +1 -1
- package/internal/Popup/PopupPin.styles.d.ts +2 -0
- package/internal/Popup/PopupPin.styles.js +11 -5
- package/internal/Popup/PopupPin.styles.js.map +1 -1
- package/internal/SpinnerIcon/SpinnerIcon.d.ts +3 -3
- package/internal/SpinnerIcon/SpinnerIcon.js +4 -4
- package/internal/SpinnerIcon/SpinnerIcon.js.map +1 -1
- package/internal/icons2022/LoadingIcon.js +1 -1
- package/internal/icons2022/LoadingIcon.js.map +1 -1
- package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Light.d.ts +2 -0
- package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Light.js +21 -0
- package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Light.js.map +1 -0
- package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon20Regular.d.ts +2 -0
- package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon20Regular.js +21 -0
- package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon20Regular.js.map +1 -0
- package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon24Regular.d.ts +2 -0
- package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon24Regular.js +21 -0
- package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon24Regular.js.map +1 -0
- package/internal/themes/BasicTheme.d.ts +83 -4
- package/internal/themes/BasicTheme.js +186 -5
- package/internal/themes/BasicTheme.js.map +1 -1
- package/internal/themes/DarkTheme6_1.d.ts +1 -0
- package/internal/themes/DarkTheme6_1.js +41 -0
- package/internal/themes/DarkTheme6_1.js.map +1 -0
- package/internal/themes/LightTheme6_1.d.ts +1 -0
- package/internal/themes/LightTheme6_1.js +39 -0
- package/internal/themes/LightTheme6_1.js.map +1 -0
- package/lib/theming/themes/DarkTheme.d.ts +1 -0
- package/lib/theming/themes/DarkTheme.js +3 -1
- package/lib/theming/themes/DarkTheme.js.map +1 -1
- package/lib/theming/themes/LightTheme.d.ts +1 -0
- package/lib/theming/themes/LightTheme.js +3 -1
- package/lib/theming/themes/LightTheme.js.map +1 -1
- package/package.json +1 -1
|
@@ -691,7 +691,13 @@ export declare class BasicThemeClass {
|
|
|
691
691
|
static toastCloseColorError: string;
|
|
692
692
|
static toastCloseHoverColor: string;
|
|
693
693
|
static toastCloseHoverColorError: string;
|
|
694
|
+
/**
|
|
695
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
696
|
+
* @see {@link toastCloseBtnSide} */
|
|
694
697
|
static toastCloseSize: string;
|
|
698
|
+
static toastCloseBtnSide: string;
|
|
699
|
+
static mobileToastTop: string;
|
|
700
|
+
static get mobileToastFontSize(): string;
|
|
695
701
|
static dropdownMenuBorderColorTransition: string;
|
|
696
702
|
static get dropdownMenuHoverBorderColor(): string;
|
|
697
703
|
static get dropdownMenuOffsetY(): string;
|
|
@@ -762,9 +768,27 @@ export declare class BasicThemeClass {
|
|
|
762
768
|
static menuItemCommentOpacityHover: string;
|
|
763
769
|
static get menuItemCommentColorHover(): string;
|
|
764
770
|
static menuItemDisplay: string;
|
|
765
|
-
static
|
|
766
|
-
static
|
|
771
|
+
static mobileMenuItemPaddingLarge: string;
|
|
772
|
+
static mobileMenuItemPaddingMedium: string;
|
|
773
|
+
static mobileMenuItemPaddingSmall: string;
|
|
774
|
+
static get mobileMenuItemLineHeightLarge(): string;
|
|
775
|
+
static get mobileMenuItemLineHeightMedium(): string;
|
|
776
|
+
static get mobileMenuItemLineHeightSmall(): string;
|
|
777
|
+
static get mobileMenuItemFontSizeLarge(): string;
|
|
778
|
+
static get mobileMenuItemFontSizeMedium(): string;
|
|
779
|
+
static get mobileMenuItemFontSizeSmall(): string;
|
|
780
|
+
/**
|
|
781
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
782
|
+
* @see {@link mobileMenuItemFontSizeLarge} */
|
|
767
783
|
static get menuItemFontSizeMobile(): string;
|
|
784
|
+
/**
|
|
785
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
786
|
+
* @see {@link mobileMenuItemLineHeightLarge} */
|
|
787
|
+
static get menuItemLineHeightMobile(): string;
|
|
788
|
+
/**
|
|
789
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
790
|
+
* @see {@link mobileMenuItemPaddingLarge} */
|
|
791
|
+
static menuItemPaddingMobile: string;
|
|
768
792
|
static get menuItemDisabledColor(): string;
|
|
769
793
|
static menuItemDisabledBg: string;
|
|
770
794
|
static get menuMessageTextColor(): string;
|
|
@@ -772,9 +796,27 @@ export declare class BasicThemeClass {
|
|
|
772
796
|
static get menuMessagePaddingY(): string;
|
|
773
797
|
static get menuMessagePaddingX(): string;
|
|
774
798
|
static get menuMessageDisplay(): string;
|
|
775
|
-
|
|
776
|
-
|
|
799
|
+
/**
|
|
800
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
801
|
+
* @see {@link mobileMenuMessageFontSizeLarge} */
|
|
777
802
|
static get menuMessageFontSizeMobile(): string;
|
|
803
|
+
/**
|
|
804
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
805
|
+
* @see {@link mobileMenuMessageLineHeightLarge} */
|
|
806
|
+
static get menuMessageLineHeightMobile(): string;
|
|
807
|
+
/**
|
|
808
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
809
|
+
* @see {@link mobileMenuMessagePaddingLarge} */
|
|
810
|
+
static get menuMessagePaddingMobile(): string;
|
|
811
|
+
static get mobileMenuMessagePaddingLarge(): string;
|
|
812
|
+
static get mobileMenuMessagePaddingMedium(): string;
|
|
813
|
+
static get mobileMenuMessagePaddingSmall(): string;
|
|
814
|
+
static get mobileMenuMessageLineHeightLarge(): string;
|
|
815
|
+
static get mobileMenuMessageLineHeightMedium(): string;
|
|
816
|
+
static get mobileMenuMessageLineHeightSmall(): string;
|
|
817
|
+
static get mobileMenuMessageFontSizeLarge(): string;
|
|
818
|
+
static get mobileMenuMessageFontSizeMedium(): string;
|
|
819
|
+
static get mobileMenuMessageFontSizeSmall(): string;
|
|
778
820
|
static get menuMessageFontSizeSmall(): string;
|
|
779
821
|
static get menuMessageFontSizeMedium(): string;
|
|
780
822
|
static get menuMessageFontSizeLarge(): string;
|
|
@@ -903,6 +945,7 @@ export declare class BasicThemeClass {
|
|
|
903
945
|
static popupPinOffsetY: string;
|
|
904
946
|
static popupMargin: string;
|
|
905
947
|
static popupPinSize: string;
|
|
948
|
+
static popupViewportSidePadding: string;
|
|
906
949
|
static popupMenuMenuOffsetY: string;
|
|
907
950
|
static get inputTextColor(): string;
|
|
908
951
|
static inputShadow: string;
|
|
@@ -957,6 +1000,13 @@ export declare class BasicThemeClass {
|
|
|
957
1000
|
static get inputPlaceholderColorLight(): string;
|
|
958
1001
|
static inputBlinkColor: string;
|
|
959
1002
|
static inputColorScheme: string;
|
|
1003
|
+
static inputCounterColor: string;
|
|
1004
|
+
static get inputCounterColorError(): string;
|
|
1005
|
+
static inputCounterMarginLeftSmall: string;
|
|
1006
|
+
static inputCounterMarginLeftMedium: string;
|
|
1007
|
+
static inputCounterMarginLeftLarge: string;
|
|
1008
|
+
static inputCounterHelpIconColor: string;
|
|
1009
|
+
static inputCounterHelpMarginLeft: string;
|
|
960
1010
|
static get checkboxFontSizeSmall(): string;
|
|
961
1011
|
static get checkboxFontSizeMedium(): string;
|
|
962
1012
|
static get checkboxFontSizeLarge(): string;
|
|
@@ -1037,6 +1087,9 @@ export declare class BasicThemeClass {
|
|
|
1037
1087
|
static get textareaDisabledBorderColor(): string;
|
|
1038
1088
|
static textareaCounterColor: string;
|
|
1039
1089
|
static textareaCounterBg: string;
|
|
1090
|
+
static textareaCounterBorderRadius: string;
|
|
1091
|
+
static textareaCounterPaddingY: string;
|
|
1092
|
+
static textareaCounterPaddingX: string;
|
|
1040
1093
|
static get textareaCounterErrorColor(): string;
|
|
1041
1094
|
static textareaCounterHelpIconColor: string;
|
|
1042
1095
|
static textareaMargin: string;
|
|
@@ -1123,8 +1176,17 @@ export declare class BasicThemeClass {
|
|
|
1123
1176
|
static spinnerCaptionGapSmall: string;
|
|
1124
1177
|
static spinnerCaptionGapMedium: string;
|
|
1125
1178
|
static spinnerCaptionGapLarge: string;
|
|
1179
|
+
/**
|
|
1180
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
1181
|
+
* @see {@link spinnerCaptionGapSmall} */
|
|
1126
1182
|
static spinnerCaptionMarginSmall: string;
|
|
1183
|
+
/**
|
|
1184
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
1185
|
+
* @see {@link spinnerCaptionGapSmall} */
|
|
1127
1186
|
static spinnerCaptionMarginMedium: string;
|
|
1187
|
+
/**
|
|
1188
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
1189
|
+
* @see {@link spinnerCaptionGapSmall} */
|
|
1128
1190
|
static spinnerCaptionMarginLarge: string;
|
|
1129
1191
|
static switcherBorderRadius: string;
|
|
1130
1192
|
static get switcherTextColor(): string;
|
|
@@ -1159,7 +1221,24 @@ export declare class BasicThemeClass {
|
|
|
1159
1221
|
static get switcherButtonCheckedDisabledShadow(): string;
|
|
1160
1222
|
static mobilePopupTopPadding: string;
|
|
1161
1223
|
static mobilePopupContainerBottomPadding: string;
|
|
1224
|
+
/**
|
|
1225
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
1226
|
+
* @see {@link mobilePopupHeaderPaddingLarge} */
|
|
1162
1227
|
static mobilePopupHeaderPadding: string;
|
|
1228
|
+
static mobilePopupPositionX: string;
|
|
1229
|
+
static mobilePopupPositionY: string;
|
|
1230
|
+
static mobilePopupPaddingSmall: string;
|
|
1231
|
+
static mobilePopupPaddingMedium: string;
|
|
1232
|
+
static mobilePopupPaddingLarge: string;
|
|
1233
|
+
static mobilePopupHeaderPaddingSmall: string;
|
|
1234
|
+
static mobilePopupHeaderPaddingMedium: string;
|
|
1235
|
+
static mobilePopupHeaderPaddingLarge: string;
|
|
1236
|
+
static mobilePopupFooterPaddingSmall: string;
|
|
1237
|
+
static mobilePopupFooterPaddingMedium: string;
|
|
1238
|
+
static mobilePopupFooterPaddingLarge: string;
|
|
1239
|
+
/**
|
|
1240
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
1241
|
+
* @see {@link mobilePopupFooterPaddingLarge} */
|
|
1163
1242
|
static mobilePopupFooterPadding: string;
|
|
1164
1243
|
static mobilePopupContainerBorderRadius: string;
|
|
1165
1244
|
static get mobilePopupHeaderFontSize(): string;
|
|
@@ -1451,6 +1451,13 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
1451
1451
|
enumerable: false,
|
|
1452
1452
|
configurable: true
|
|
1453
1453
|
});
|
|
1454
|
+
Object.defineProperty(BasicThemeClass, "mobileToastFontSize", {
|
|
1455
|
+
get: function () {
|
|
1456
|
+
return this.fontSizeMedium;
|
|
1457
|
+
},
|
|
1458
|
+
enumerable: false,
|
|
1459
|
+
configurable: true
|
|
1460
|
+
});
|
|
1454
1461
|
Object.defineProperty(BasicThemeClass, "dropdownMenuHoverBorderColor", {
|
|
1455
1462
|
get: function () {
|
|
1456
1463
|
return this.btnDefaultHoverBorderColor;
|
|
@@ -1713,20 +1720,68 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
1713
1720
|
enumerable: false,
|
|
1714
1721
|
configurable: true
|
|
1715
1722
|
});
|
|
1716
|
-
Object.defineProperty(BasicThemeClass, "
|
|
1723
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuItemLineHeightLarge", {
|
|
1717
1724
|
get: function () {
|
|
1718
1725
|
return this.lineHeightMobile;
|
|
1719
1726
|
},
|
|
1720
1727
|
enumerable: false,
|
|
1721
1728
|
configurable: true
|
|
1722
1729
|
});
|
|
1730
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuItemLineHeightMedium", {
|
|
1731
|
+
get: function () {
|
|
1732
|
+
return this.lineHeightMobile;
|
|
1733
|
+
},
|
|
1734
|
+
enumerable: false,
|
|
1735
|
+
configurable: true
|
|
1736
|
+
});
|
|
1737
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuItemLineHeightSmall", {
|
|
1738
|
+
get: function () {
|
|
1739
|
+
return this.lineHeightMobile;
|
|
1740
|
+
},
|
|
1741
|
+
enumerable: false,
|
|
1742
|
+
configurable: true
|
|
1743
|
+
});
|
|
1744
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuItemFontSizeLarge", {
|
|
1745
|
+
get: function () {
|
|
1746
|
+
return this.fontSizeLarge;
|
|
1747
|
+
},
|
|
1748
|
+
enumerable: false,
|
|
1749
|
+
configurable: true
|
|
1750
|
+
});
|
|
1751
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuItemFontSizeMedium", {
|
|
1752
|
+
get: function () {
|
|
1753
|
+
return this.fontSizeMedium;
|
|
1754
|
+
},
|
|
1755
|
+
enumerable: false,
|
|
1756
|
+
configurable: true
|
|
1757
|
+
});
|
|
1758
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuItemFontSizeSmall", {
|
|
1759
|
+
get: function () {
|
|
1760
|
+
return this.fontSizeSmall;
|
|
1761
|
+
},
|
|
1762
|
+
enumerable: false,
|
|
1763
|
+
configurable: true
|
|
1764
|
+
});
|
|
1723
1765
|
Object.defineProperty(BasicThemeClass, "menuItemFontSizeMobile", {
|
|
1766
|
+
/**
|
|
1767
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
1768
|
+
* @see {@link mobileMenuItemFontSizeLarge} */
|
|
1724
1769
|
get: function () {
|
|
1725
1770
|
return this.fontSizeMobile;
|
|
1726
1771
|
},
|
|
1727
1772
|
enumerable: false,
|
|
1728
1773
|
configurable: true
|
|
1729
1774
|
});
|
|
1775
|
+
Object.defineProperty(BasicThemeClass, "menuItemLineHeightMobile", {
|
|
1776
|
+
/**
|
|
1777
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
1778
|
+
* @see {@link mobileMenuItemLineHeightLarge} */
|
|
1779
|
+
get: function () {
|
|
1780
|
+
return this.lineHeightMobile;
|
|
1781
|
+
},
|
|
1782
|
+
enumerable: false,
|
|
1783
|
+
configurable: true
|
|
1784
|
+
});
|
|
1730
1785
|
Object.defineProperty(BasicThemeClass, "menuItemDisabledColor", {
|
|
1731
1786
|
get: function () {
|
|
1732
1787
|
return this.textColorDisabled;
|
|
@@ -1770,23 +1825,95 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
1770
1825
|
enumerable: false,
|
|
1771
1826
|
configurable: true
|
|
1772
1827
|
});
|
|
1773
|
-
Object.defineProperty(BasicThemeClass, "
|
|
1828
|
+
Object.defineProperty(BasicThemeClass, "menuMessageFontSizeMobile", {
|
|
1829
|
+
/**
|
|
1830
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
1831
|
+
* @see {@link mobileMenuMessageFontSizeLarge} */
|
|
1774
1832
|
get: function () {
|
|
1775
|
-
return this.
|
|
1833
|
+
return this.menuItemFontSizeMobile;
|
|
1776
1834
|
},
|
|
1777
1835
|
enumerable: false,
|
|
1778
1836
|
configurable: true
|
|
1779
1837
|
});
|
|
1780
1838
|
Object.defineProperty(BasicThemeClass, "menuMessageLineHeightMobile", {
|
|
1839
|
+
/**
|
|
1840
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
1841
|
+
* @see {@link mobileMenuMessageLineHeightLarge} */
|
|
1781
1842
|
get: function () {
|
|
1782
1843
|
return this.menuItemLineHeightMobile;
|
|
1783
1844
|
},
|
|
1784
1845
|
enumerable: false,
|
|
1785
1846
|
configurable: true
|
|
1786
1847
|
});
|
|
1787
|
-
Object.defineProperty(BasicThemeClass, "
|
|
1848
|
+
Object.defineProperty(BasicThemeClass, "menuMessagePaddingMobile", {
|
|
1849
|
+
/**
|
|
1850
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
1851
|
+
* @see {@link mobileMenuMessagePaddingLarge} */
|
|
1788
1852
|
get: function () {
|
|
1789
|
-
return this.
|
|
1853
|
+
return this.menuItemPaddingMobile;
|
|
1854
|
+
},
|
|
1855
|
+
enumerable: false,
|
|
1856
|
+
configurable: true
|
|
1857
|
+
});
|
|
1858
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuMessagePaddingLarge", {
|
|
1859
|
+
get: function () {
|
|
1860
|
+
return this.mobileMenuItemPaddingLarge;
|
|
1861
|
+
},
|
|
1862
|
+
enumerable: false,
|
|
1863
|
+
configurable: true
|
|
1864
|
+
});
|
|
1865
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuMessagePaddingMedium", {
|
|
1866
|
+
get: function () {
|
|
1867
|
+
return this.mobileMenuItemPaddingMedium;
|
|
1868
|
+
},
|
|
1869
|
+
enumerable: false,
|
|
1870
|
+
configurable: true
|
|
1871
|
+
});
|
|
1872
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuMessagePaddingSmall", {
|
|
1873
|
+
get: function () {
|
|
1874
|
+
return this.mobileMenuItemPaddingSmall;
|
|
1875
|
+
},
|
|
1876
|
+
enumerable: false,
|
|
1877
|
+
configurable: true
|
|
1878
|
+
});
|
|
1879
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuMessageLineHeightLarge", {
|
|
1880
|
+
get: function () {
|
|
1881
|
+
return this.menuItemLineHeightLarge;
|
|
1882
|
+
},
|
|
1883
|
+
enumerable: false,
|
|
1884
|
+
configurable: true
|
|
1885
|
+
});
|
|
1886
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuMessageLineHeightMedium", {
|
|
1887
|
+
get: function () {
|
|
1888
|
+
return this.menuItemLineHeightMedium;
|
|
1889
|
+
},
|
|
1890
|
+
enumerable: false,
|
|
1891
|
+
configurable: true
|
|
1892
|
+
});
|
|
1893
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuMessageLineHeightSmall", {
|
|
1894
|
+
get: function () {
|
|
1895
|
+
return this.menuItemLineHeightSmall;
|
|
1896
|
+
},
|
|
1897
|
+
enumerable: false,
|
|
1898
|
+
configurable: true
|
|
1899
|
+
});
|
|
1900
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuMessageFontSizeLarge", {
|
|
1901
|
+
get: function () {
|
|
1902
|
+
return this.mobileMenuItemFontSizeLarge;
|
|
1903
|
+
},
|
|
1904
|
+
enumerable: false,
|
|
1905
|
+
configurable: true
|
|
1906
|
+
});
|
|
1907
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuMessageFontSizeMedium", {
|
|
1908
|
+
get: function () {
|
|
1909
|
+
return this.mobileMenuItemFontSizeMedium;
|
|
1910
|
+
},
|
|
1911
|
+
enumerable: false,
|
|
1912
|
+
configurable: true
|
|
1913
|
+
});
|
|
1914
|
+
Object.defineProperty(BasicThemeClass, "mobileMenuMessageFontSizeSmall", {
|
|
1915
|
+
get: function () {
|
|
1916
|
+
return this.mobileMenuItemFontSizeSmall;
|
|
1790
1917
|
},
|
|
1791
1918
|
enumerable: false,
|
|
1792
1919
|
configurable: true
|
|
@@ -2334,6 +2461,13 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
2334
2461
|
enumerable: false,
|
|
2335
2462
|
configurable: true
|
|
2336
2463
|
});
|
|
2464
|
+
Object.defineProperty(BasicThemeClass, "inputCounterColorError", {
|
|
2465
|
+
get: function () {
|
|
2466
|
+
return this.errorText;
|
|
2467
|
+
},
|
|
2468
|
+
enumerable: false,
|
|
2469
|
+
configurable: true
|
|
2470
|
+
});
|
|
2337
2471
|
Object.defineProperty(BasicThemeClass, "checkboxFontSizeSmall", {
|
|
2338
2472
|
//#endregion Input
|
|
2339
2473
|
//#region Checkbox
|
|
@@ -4092,7 +4226,12 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
4092
4226
|
BasicThemeClass.toastCloseColorError = colors.textConstSoftWhite;
|
|
4093
4227
|
BasicThemeClass.toastCloseHoverColor = colors.textInvertedNeutralHeavy;
|
|
4094
4228
|
BasicThemeClass.toastCloseHoverColorError = colors.textConstHeavyWhite;
|
|
4229
|
+
/**
|
|
4230
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
4231
|
+
* @see {@link toastCloseBtnSide} */
|
|
4095
4232
|
BasicThemeClass.toastCloseSize = '16px';
|
|
4233
|
+
BasicThemeClass.toastCloseBtnSide = '40px';
|
|
4234
|
+
BasicThemeClass.mobileToastTop = '16px';
|
|
4096
4235
|
//#endregion Toast
|
|
4097
4236
|
//#region Dropdown
|
|
4098
4237
|
BasicThemeClass.dropdownMenuBorderColorTransition = '';
|
|
@@ -4128,6 +4267,12 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
4128
4267
|
BasicThemeClass.menuItemCommentOpacity = '1';
|
|
4129
4268
|
BasicThemeClass.menuItemCommentOpacityHover = '0.6';
|
|
4130
4269
|
BasicThemeClass.menuItemDisplay = 'block';
|
|
4270
|
+
BasicThemeClass.mobileMenuItemPaddingLarge = '12px 16px';
|
|
4271
|
+
BasicThemeClass.mobileMenuItemPaddingMedium = '9px 12px';
|
|
4272
|
+
BasicThemeClass.mobileMenuItemPaddingSmall = '6px 8px';
|
|
4273
|
+
/**
|
|
4274
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
4275
|
+
* @see {@link mobileMenuItemPaddingLarge} */
|
|
4131
4276
|
BasicThemeClass.menuItemPaddingMobile = '12px 16px';
|
|
4132
4277
|
BasicThemeClass.menuItemDisabledBg = 'transparent';
|
|
4133
4278
|
BasicThemeClass.menuItemGap = '1px';
|
|
@@ -4224,6 +4369,7 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
4224
4369
|
BasicThemeClass.popupPinOffsetY = '16px';
|
|
4225
4370
|
BasicThemeClass.popupMargin = '10px';
|
|
4226
4371
|
BasicThemeClass.popupPinSize = '8px';
|
|
4372
|
+
BasicThemeClass.popupViewportSidePadding = '16px';
|
|
4227
4373
|
BasicThemeClass.popupMenuMenuOffsetY = '0px';
|
|
4228
4374
|
BasicThemeClass.inputShadow = 'none';
|
|
4229
4375
|
BasicThemeClass.inputBg = colors.shapeOtherField;
|
|
@@ -4248,6 +4394,12 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
4248
4394
|
BasicThemeClass.inputBorderColorHover = colors.lineNeutralPaleHover;
|
|
4249
4395
|
BasicThemeClass.inputBlinkColor = colors.shapeFaintNeutralAlpha;
|
|
4250
4396
|
BasicThemeClass.inputColorScheme = 'light';
|
|
4397
|
+
BasicThemeClass.inputCounterColor = colors.textNeutralSoft;
|
|
4398
|
+
BasicThemeClass.inputCounterMarginLeftSmall = '4px';
|
|
4399
|
+
BasicThemeClass.inputCounterMarginLeftMedium = '6px';
|
|
4400
|
+
BasicThemeClass.inputCounterMarginLeftLarge = '8px';
|
|
4401
|
+
BasicThemeClass.inputCounterHelpIconColor = colors.textNeutralSoft;
|
|
4402
|
+
BasicThemeClass.inputCounterHelpMarginLeft = '4px';
|
|
4251
4403
|
BasicThemeClass.checkboxBoxSizeSmall = '16px';
|
|
4252
4404
|
BasicThemeClass.checkboxBoxSizeMedium = '20px';
|
|
4253
4405
|
BasicThemeClass.checkboxBoxSizeLarge = '24px';
|
|
@@ -4281,6 +4433,9 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
4281
4433
|
BasicThemeClass.textareaBorderTopColor = colors.lineNeutralPale;
|
|
4282
4434
|
BasicThemeClass.textareaCounterColor = colors.textNeutralSoft;
|
|
4283
4435
|
BasicThemeClass.textareaCounterBg = 'transparent';
|
|
4436
|
+
BasicThemeClass.textareaCounterBorderRadius = '4px';
|
|
4437
|
+
BasicThemeClass.textareaCounterPaddingY = '2px';
|
|
4438
|
+
BasicThemeClass.textareaCounterPaddingX = '4px';
|
|
4284
4439
|
BasicThemeClass.textareaCounterHelpIconColor = colors.textNeutralHeavy;
|
|
4285
4440
|
BasicThemeClass.textareaMargin = '0px'; // обнуление вертикального браузерного margin в firefox
|
|
4286
4441
|
BasicThemeClass.textareaVerticalAlign = 'top';
|
|
@@ -4319,8 +4474,17 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
4319
4474
|
BasicThemeClass.spinnerCaptionGapSmall = '6px';
|
|
4320
4475
|
BasicThemeClass.spinnerCaptionGapMedium = '-4px';
|
|
4321
4476
|
BasicThemeClass.spinnerCaptionGapLarge = '-3px';
|
|
4477
|
+
/**
|
|
4478
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
4479
|
+
* @see {@link spinnerCaptionGapSmall} */
|
|
4322
4480
|
BasicThemeClass.spinnerCaptionMarginSmall = '0 0 0 6px';
|
|
4481
|
+
/**
|
|
4482
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
4483
|
+
* @see {@link spinnerCaptionGapSmall} */
|
|
4323
4484
|
BasicThemeClass.spinnerCaptionMarginMedium = '0 0 0 6px';
|
|
4485
|
+
/**
|
|
4486
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
4487
|
+
* @see {@link spinnerCaptionGapSmall} */
|
|
4324
4488
|
BasicThemeClass.spinnerCaptionMarginLarge = '0 0 0 6px';
|
|
4325
4489
|
//#endregion
|
|
4326
4490
|
//#region Switcher
|
|
@@ -4333,7 +4497,24 @@ var BasicThemeClass = /** @class */ (function () {
|
|
|
4333
4497
|
//#region MobilePopup
|
|
4334
4498
|
BasicThemeClass.mobilePopupTopPadding = '80px';
|
|
4335
4499
|
BasicThemeClass.mobilePopupContainerBottomPadding = '8px';
|
|
4500
|
+
/**
|
|
4501
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
4502
|
+
* @see {@link mobilePopupHeaderPaddingLarge} */
|
|
4336
4503
|
BasicThemeClass.mobilePopupHeaderPadding = '16px 16px 8px 16px';
|
|
4504
|
+
BasicThemeClass.mobilePopupPositionX = '16px';
|
|
4505
|
+
BasicThemeClass.mobilePopupPositionY = '16px';
|
|
4506
|
+
BasicThemeClass.mobilePopupPaddingSmall = '6px';
|
|
4507
|
+
BasicThemeClass.mobilePopupPaddingMedium = '6px';
|
|
4508
|
+
BasicThemeClass.mobilePopupPaddingLarge = '8px';
|
|
4509
|
+
BasicThemeClass.mobilePopupHeaderPaddingSmall = '6px 8px 4px 14px';
|
|
4510
|
+
BasicThemeClass.mobilePopupHeaderPaddingMedium = '8px 12px 6px 18px';
|
|
4511
|
+
BasicThemeClass.mobilePopupHeaderPaddingLarge = '12px 16px 8px 24px';
|
|
4512
|
+
BasicThemeClass.mobilePopupFooterPaddingSmall = '0 6px 6px';
|
|
4513
|
+
BasicThemeClass.mobilePopupFooterPaddingMedium = '0 6px 6px';
|
|
4514
|
+
BasicThemeClass.mobilePopupFooterPaddingLarge = '0 8px 8px';
|
|
4515
|
+
/**
|
|
4516
|
+
* @deprecated Не работает с версии `6.1` и будет удалена в `7.0`.
|
|
4517
|
+
* @see {@link mobilePopupFooterPaddingLarge} */
|
|
4337
4518
|
BasicThemeClass.mobilePopupFooterPadding = '16px 16px 16px 16px';
|
|
4338
4519
|
BasicThemeClass.mobilePopupContainerBorderRadius = '16px';
|
|
4339
4520
|
BasicThemeClass.mobilePopupHeaderFontWeight = '500';
|